x86
stringlengths 122
99k
| arm
stringlengths 122
86.4k
|
---|---|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function format_numeric_locale
_format_numeric_locale: ## @format_numeric_locale
.cfi_startproc
## %bb.0:
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
leaq L_.str(%rip), %rsi
callq _strspn
movl %eax, %r14d
movq %rbx, %rdi
callq _strlen
cmpl %eax, %r14d
jne LBB0_13
## %bb.1:
movq %rbx, %rdi
callq _strlen
movl %eax, %r14d
movq %rbx, %rdi
callq _additional_numeric_locale_len
subl %eax, %r14d
leal 1(%r14), %edi
callq _pg_malloc
movq %rax, %r15
movq %rbx, %rdi
callq _integer_digits
testl %eax, %eax
js LBB0_2
## %bb.3:
movl %eax, %r12d
movq _groupdigits@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movzbl (%rbx), %eax
movb %al, (%r15)
je LBB0_4
## %bb.5:
movq %r14, -48(%rbp) ## 8-byte Spill
movl %r12d, %eax
incl %r12d
cltd
idivl %ecx
testl %edx, %edx
cmovel %ecx, %edx
movl $1, %r13d
movl $1, %r14d
jmp LBB0_6
.p2align 4, 0x90
LBB0_8: ## in Loop: Header=BB0_6 Depth=1
movzbl (%rbx,%r14), %eax
movslq %r13d, %rcx
incl %r13d
movb %al, (%r15,%rcx)
incq %r14
cmpq %r14, %r12
je LBB0_9
LBB0_6: ## =>This Inner Loop Header: Depth=1
decl %edx
jne LBB0_8
## %bb.7: ## in Loop: Header=BB0_6 Depth=1
movslq %r13d, %r13
leaq (%r15,%r13), %rdi
movq _thousands_sep@GOTPCREL(%rip), %rax
movq (%rax), %rsi
callq _strcpy
movq _thousands_sep@GOTPCREL(%rip), %rax
movq (%rax), %rdi
callq _strlen
addl %eax, %r13d
movq _groupdigits@GOTPCREL(%rip), %rax
movl (%rax), %edx
jmp LBB0_8
LBB0_13:
movq %rbx, %rdi
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _pg_strdup ## TAILCALL
LBB0_9:
movq -48(%rbp), %r14 ## 8-byte Reload
jmp LBB0_10
LBB0_2:
xorl %r12d, %r12d
xorl %r13d, %r13d
jmp LBB0_10
LBB0_4:
movl $1, %r12d
movl $1, %r13d
LBB0_10:
movl %r12d, %eax
cmpb $46, (%rbx,%rax)
jne LBB0_12
## %bb.11:
movslq %r13d, %r13
leaq (%r15,%r13), %rdi
movq _decimal_point@GOTPCREL(%rip), %rax
movq (%rax), %rsi
callq _strcpy
movq _decimal_point@GOTPCREL(%rip), %rax
movq (%rax), %rdi
callq _strlen
addl %eax, %r13d
incl %r12d
LBB0_12:
movslq %r13d, %rax
movq %r15, %rdi
addq %rax, %rdi
movslq %r12d, %rax
addq %rax, %rbx
movq %rbx, %rsi
callq _strcpy
movq %r15, %rdi
callq _strlen
xorl %edi, %edi
cmpl %r14d, %eax
setle %dil
callq _Assert
movq %r15, %rax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "0123456789+-.eE"
.comm _groupdigits,4,2 ## @groupdigits
.comm _thousands_sep,8,3 ## @thousands_sep
.comm _decimal_point,8,3 ## @decimal_point
.no_dead_strip _format_numeric_locale
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function format_numeric_locale
_format_numeric_locale: ; @format_numeric_locale
.cfi_startproc
; %bb.0:
stp x28, x27, [sp, #-96]! ; 16-byte Folded Spill
stp x26, x25, [sp, #16] ; 16-byte Folded Spill
stp x24, x23, [sp, #32] ; 16-byte Folded Spill
stp x22, x21, [sp, #48] ; 16-byte Folded Spill
stp x20, x19, [sp, #64] ; 16-byte Folded Spill
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
mov x19, x0
Lloh0:
adrp x1, l_.str@PAGE
Lloh1:
add x1, x1, l_.str@PAGEOFF
bl _strspn
mov x20, x0
mov x0, x19
bl _strlen
cmp w20, w0
b.ne LBB0_7
; %bb.1:
mov x0, x19
bl _strlen
mov x20, x0
mov x0, x19
bl _additional_numeric_locale_len
sub w21, w20, w0
add w0, w21, #1
bl _pg_malloc
mov x20, x0
mov x0, x19
bl _integer_digits
tbnz w0, #31, LBB0_8
; %bb.2:
Lloh2:
adrp x24, _groupdigits@GOTPAGE
Lloh3:
ldr x24, [x24, _groupdigits@GOTPAGEOFF]
ldr w8, [x24]
ldrb w9, [x19]
strb w9, [x20]
cbz w0, LBB0_9
; %bb.3:
add w22, w0, #1
sdiv w9, w0, w8
msub w9, w9, w8, w0
cmp w9, #0
csel w8, w8, w9, eq
add x25, x19, #1
sub x26, x22, #1
mov w23, #1 ; =0x1
Lloh4:
adrp x27, _thousands_sep@GOTPAGE
Lloh5:
ldr x27, [x27, _thousands_sep@GOTPAGEOFF]
b LBB0_5
LBB0_4: ; in Loop: Header=BB0_5 Depth=1
ldrb w9, [x25], #1
strb w9, [x20, w23, sxtw]
add w23, w23, #1
subs x26, x26, #1
b.eq LBB0_10
LBB0_5: ; =>This Inner Loop Header: Depth=1
subs w8, w8, #1
b.ne LBB0_4
; %bb.6: ; in Loop: Header=BB0_5 Depth=1
add x0, x20, w23, sxtw
ldr x1, [x27]
bl _strcpy
ldr x0, [x27]
bl _strlen
add w23, w0, w23
ldr w8, [x24]
b LBB0_4
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
b _pg_strdup
LBB0_8:
mov w22, #0 ; =0x0
mov w23, #0 ; =0x0
b LBB0_10
LBB0_9:
mov w22, #1 ; =0x1
mov w23, #1 ; =0x1
LBB0_10:
ldrb w8, [x19, w22, uxtw]
cmp w8, #46
b.ne LBB0_12
; %bb.11:
add x0, x20, w23, sxtw
Lloh6:
adrp x24, _decimal_point@GOTPAGE
Lloh7:
ldr x24, [x24, _decimal_point@GOTPAGEOFF]
ldr x1, [x24]
bl _strcpy
ldr x0, [x24]
bl _strlen
add w23, w0, w23
add w22, w22, #1
LBB0_12:
add x0, x20, w23, sxtw
add x1, x19, w22, sxtw
bl _strcpy
mov x0, x20
bl _strlen
cmp w0, w21
cset w0, le
bl _Assert
mov x0, x20
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
ldp x24, x23, [sp, #32] ; 16-byte Folded Reload
ldp x26, x25, [sp, #16] ; 16-byte Folded Reload
ldp x28, x27, [sp], #96 ; 16-byte Folded Reload
ret
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh4, Lloh5
.loh AdrpLdrGot Lloh6, Lloh7
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "0123456789+-.eE"
.comm _groupdigits,4,2 ; @groupdigits
.comm _thousands_sep,8,3 ; @thousands_sep
.comm _decimal_point,8,3 ; @decimal_point
.no_dead_strip _format_numeric_locale
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function tomoyo_environ
_tomoyo_environ: ## @tomoyo_environ
.cfi_startproc
## %bb.0:
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, %r12
movq 32(%rdi), %r14
movq $0, -64(%rbp)
movq (%r14), %rax
movq %rax, -96(%rbp) ## 8-byte Spill
movq _PAGE_SIZE@GOTPCREL(%rip), %rax
movq (%rax), %rbx
movl 8(%r14), %eax
movl %eax, -48(%rbp) ## 4-byte Spill
movl 12(%r14), %r13d
movq _ENOMEM@GOTPCREL(%rip), %rax
movl (%rax), %r15d
movq _TOMOYO_MAC_ENVIRON@GOTPCREL(%rip), %rax
movl (%rax), %edx
movl %edx, 24(%rdi)
movq 16(%rdi), %rax
movl 4(%rax), %esi
movl %esi, 8(%rdi)
movl (%rax), %edi
callq _tomoyo_get_mode
movq %rax, (%r12)
testq %rax, %rax
setne %al
testl %r13d, %r13d
setne %cl
andb %al, %cl
xorl %eax, %eax
cmpb $1, %cl
jne LBB0_48
## %bb.1:
negl %r15d
movl %r15d, -52(%rbp) ## 4-byte Spill
movq _TOMOYO_EXEC_TMPSIZE@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq _GFP_NOFS@GOTPCREL(%rip), %rax
movl (%rax), %esi
callq _kzalloc
movq %rax, -80(%rbp) ## 8-byte Spill
xorl %edx, %edx
testq %rax, %rax
je LBB0_2
## %bb.3:
movq -96(%rbp), %rsi ## 8-byte Reload
movq %rsi, %rax
orq %rbx, %rax
shrq $32, %rax
movq %r12, -88(%rbp) ## 8-byte Spill
movl %r13d, -68(%rbp) ## 4-byte Spill
je LBB0_4
## %bb.5:
movq %rsi, %rax
xorl %edx, %edx
divq %rbx
jmp LBB0_6
LBB0_2:
xorl %edi, %edi
movl -52(%rbp), %r15d ## 4-byte Reload
jmp LBB0_47
LBB0_4:
movl %esi, %eax
xorl %edx, %edx
divl %ebx
## kill: def $edx killed $edx def $rdx
LBB0_6:
movl -52(%rbp), %r15d ## 4-byte Reload
movl -48(%rbp), %r9d ## 4-byte Reload
xorl %r13d, %r13d
LBB0_7: ## =>This Loop Header: Depth=1
## Child Loop BB0_8 Depth 2
## Child Loop BB0_9 Depth 3
## Child Loop BB0_15 Depth 4
## Child Loop BB0_20 Depth 4
## Child Loop BB0_26 Depth 3
## Child Loop BB0_29 Depth 4
## Child Loop BB0_30 Depth 5
movl %edx, %ebx
LBB0_8: ## Parent Loop BB0_7 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB0_9 Depth 3
## Child Loop BB0_15 Depth 4
## Child Loop BB0_20 Depth 4
## Child Loop BB0_26 Depth 3
## Child Loop BB0_29 Depth 4
## Child Loop BB0_30 Depth 5
## kill: def $r13d killed $r13d killed $r13 def $r13
movq %r13, -48(%rbp) ## 8-byte Spill
movl %r9d, %r12d
LBB0_9: ## Parent Loop BB0_7 Depth=1
## Parent Loop BB0_8 Depth=2
## => This Loop Header: Depth=3
## Child Loop BB0_15 Depth 4
## Child Loop BB0_20 Depth 4
movq _ENOMEM@GOTPCREL(%rip), %rax
movl (%rax), %eax
addl %r15d, %eax
jne LBB0_46
## %bb.10: ## in Loop: Header=BB0_9 Depth=3
movq %r14, %rdi
leaq -64(%rbp), %rdx
movl %r15d, %r13d
movq %rsi, %r15
callq _tomoyo_dump_page
movq %r15, %rdx
movl %r13d, %r15d
testl %eax, %eax
je LBB0_46
## %bb.11: ## in Loop: Header=BB0_9 Depth=3
movq _PAGE_SIZE@GOTPCREL(%rip), %rax
movq (%rax), %rcx
movslq %ebx, %rax
movq %rcx, %r13
subq %rax, %r13
addq %rdx, %r13
testl %r12d, %r12d
je LBB0_13
## %bb.12: ## in Loop: Header=BB0_9 Depth=3
cmpq %rax, %rcx
jbe LBB0_13
LBB0_19: ## in Loop: Header=BB0_9 Depth=3
movq %r13, %rsi
movq -64(%rbp), %rdx
leaq 1(%rax), %r8
.p2align 4, 0x90
LBB0_20: ## Parent Loop BB0_7 Depth=1
## Parent Loop BB0_8 Depth=2
## Parent Loop BB0_9 Depth=3
## => This Inner Loop Header: Depth=4
xorl %edi, %edi
cmpb $0, -1(%rdx,%r8)
sete %dil
incl %eax
subl %edi, %r12d
je LBB0_22
## %bb.21: ## in Loop: Header=BB0_20 Depth=4
leaq 1(%r8), %rdi
cmpq %r8, %rcx
movq %rdi, %r8
ja LBB0_20
LBB0_22: ## in Loop: Header=BB0_9 Depth=3
xorl %ebx, %ebx
movl $0, %r9d
testl %r12d, %r12d
jne LBB0_9
jmp LBB0_25
.p2align 4, 0x90
LBB0_13: ## in Loop: Header=BB0_9 Depth=3
testl %r12d, %r12d
je LBB0_14
.p2align 4, 0x90
LBB0_15: ## Parent Loop BB0_7 Depth=1
## Parent Loop BB0_8 Depth=2
## Parent Loop BB0_9 Depth=3
## => This Inner Loop Header: Depth=4
movq _ENOMEM@GOTPCREL(%rip), %rax
movl (%rax), %eax
addl %r15d, %eax
jne LBB0_46
## %bb.16: ## in Loop: Header=BB0_15 Depth=4
movq %r14, %rdi
movq %r13, %rsi
leaq -64(%rbp), %rdx
callq _tomoyo_dump_page
testl %eax, %eax
je LBB0_46
## %bb.17: ## in Loop: Header=BB0_15 Depth=4
testl %r12d, %r12d
setne %al
movq _PAGE_SIZE@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
addq %rcx, %r13
testq %rcx, %rcx
setne %dl
andb %al, %dl
cmpb $1, %dl
je LBB0_18
## %bb.23: ## in Loop: Header=BB0_15 Depth=4
testl %r12d, %r12d
jne LBB0_15
jmp LBB0_24
LBB0_18: ## in Loop: Header=BB0_9 Depth=3
xorl %eax, %eax
jmp LBB0_19
LBB0_24: ## in Loop: Header=BB0_8 Depth=2
xorl %eax, %eax
movq %r13, %rsi
movl %r12d, %r9d
LBB0_25: ## in Loop: Header=BB0_8 Depth=2
movslq %eax, %r12
movq -80(%rbp), %r8 ## 8-byte Reload
movq -48(%rbp), %rdx ## 8-byte Reload
LBB0_26: ## Parent Loop BB0_7 Depth=1
## Parent Loop BB0_8 Depth=2
## => This Loop Header: Depth=3
## Child Loop BB0_29 Depth 4
## Child Loop BB0_30 Depth 5
movq _PAGE_SIZE@GOTPCREL(%rip), %rax
cmpq %r12, (%rax)
jb LBB0_27
## %bb.28: ## in Loop: Header=BB0_26 Depth=3
movl %edx, %r13d
LBB0_29: ## Parent Loop BB0_7 Depth=1
## Parent Loop BB0_8 Depth=2
## Parent Loop BB0_26 Depth=3
## => This Loop Header: Depth=4
## Child Loop BB0_30 Depth 5
movslq %r13d, %rax
movq _TOMOYO_EXEC_TMPSIZE@GOTPCREL(%rip), %rdi
.p2align 4, 0x90
LBB0_30: ## Parent Loop BB0_7 Depth=1
## Parent Loop BB0_8 Depth=2
## Parent Loop BB0_26 Depth=3
## Parent Loop BB0_29 Depth=4
## => This Inner Loop Header: Depth=5
movq -64(%rbp), %rcx
movzbl (%rcx,%r12), %ecx
testl %ecx, %ecx
je LBB0_40
## %bb.31: ## in Loop: Header=BB0_30 Depth=5
movl (%rdi), %edx
addl $-10, %edx
cmpl %edx, %r13d
jl LBB0_32
## %bb.38: ## in Loop: Header=BB0_30 Depth=5
incq %r12
movb $0, (%r8,%rax)
movq _PAGE_SIZE@GOTPCREL(%rip), %rcx
cmpq %r12, (%rcx)
jae LBB0_30
jmp LBB0_39
LBB0_32: ## in Loop: Header=BB0_29 Depth=4
cmpl $92, %ecx
je LBB0_44
## %bb.33: ## in Loop: Header=BB0_29 Depth=4
cmpl $61, %ecx
jne LBB0_35
## %bb.34: ## in Loop: Header=BB0_29 Depth=4
incl %r13d
movb $0, (%r8,%rax)
jmp LBB0_45
LBB0_44: ## in Loop: Header=BB0_29 Depth=4
movw $23644, (%r8,%rax) ## imm = 0x5C5C
addl $2, %r13d
jmp LBB0_45
LBB0_35: ## in Loop: Header=BB0_29 Depth=4
leal -33(%rcx), %edx
cmpb $93, %dl
ja LBB0_37
## %bb.36: ## in Loop: Header=BB0_29 Depth=4
incl %r13d
movb %cl, (%r8,%rax)
jmp LBB0_45
LBB0_37: ## in Loop: Header=BB0_29 Depth=4
movb $92, (%r8,%rax)
movl %ecx, %edx
shrb $6, %dl
orb $-48, %dl
movb %dl, 1(%r8,%rax)
movl %ecx, %edx
shrb $3, %dl
orb $7, %dl
addb $48, %dl
movb %dl, 2(%r8,%rax)
andb $7, %cl
orb $48, %cl
addl $4, %r13d
movb %cl, 3(%r8,%rax)
LBB0_45: ## in Loop: Header=BB0_29 Depth=4
incq %r12
xorl %ebx, %ebx
movq _PAGE_SIZE@GOTPCREL(%rip), %rax
cmpq %r12, (%rax)
jae LBB0_29
jmp LBB0_8
LBB0_40: ## in Loop: Header=BB0_26 Depth=3
movl %r9d, -48(%rbp) ## 4-byte Spill
movq %rsi, %rbx
movb $0, (%r8,%rax)
movq -88(%rbp), %rdi ## 8-byte Reload
movq %r8, %rsi
callq _tomoyo_env_perm
testq %rax, %rax
jne LBB0_41
## %bb.42: ## in Loop: Header=BB0_26 Depth=3
incq %r12
xorl %edx, %edx
decl -68(%rbp) ## 4-byte Folded Spill
movq -80(%rbp), %r8 ## 8-byte Reload
movq %rbx, %rsi
movl -48(%rbp), %r9d ## 4-byte Reload
jne LBB0_26
jmp LBB0_43
LBB0_39: ## in Loop: Header=BB0_8 Depth=2
xorl %ebx, %ebx
jmp LBB0_8
LBB0_14: ## in Loop: Header=BB0_8 Depth=2
movq %r13, %rsi
movl %r12d, %r9d
movl %ebx, %eax
jmp LBB0_25
LBB0_27: ## in Loop: Header=BB0_7 Depth=1
movl %edx, %r13d
xorl %edx, %edx
jmp LBB0_7
LBB0_41: ## in Loop: Header=BB0_7 Depth=1
xorl %edx, %edx
xorl %r15d, %r15d
movq _EPERM@GOTPCREL(%rip), %rax
subl (%rax), %r15d
movq %rbx, %rsi
movl -48(%rbp), %r9d ## 4-byte Reload
jmp LBB0_7
LBB0_43: ## in Loop: Header=BB0_7 Depth=1
movl $0, -68(%rbp) ## 4-byte Folded Spill
xorl %r15d, %r15d
jmp LBB0_7
LBB0_46:
movq -64(%rbp), %rdi
movq -88(%rbp), %r12 ## 8-byte Reload
xorl %edx, %edx
LBB0_47:
movq (%r12), %rax
movq _TOMOYO_CONFIG_ENFORCING@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
cmovel %r15d, %edx
movq %rdx, %rbx
callq _kfree
movq -80(%rbp), %rdi ## 8-byte Reload
callq _kfree
movq %rbx, %rax
LBB0_48:
## kill: def $eax killed $eax killed $rax
addq $56, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _PAGE_SIZE,8,3 ## @PAGE_SIZE
.comm _ENOMEM,4,2 ## @ENOMEM
.comm _TOMOYO_MAC_ENVIRON,4,2 ## @TOMOYO_MAC_ENVIRON
.comm _TOMOYO_EXEC_TMPSIZE,4,2 ## @TOMOYO_EXEC_TMPSIZE
.comm _GFP_NOFS,4,2 ## @GFP_NOFS
.comm _EPERM,4,2 ## @EPERM
.comm _TOMOYO_CONFIG_ENFORCING,8,3 ## @TOMOYO_CONFIG_ENFORCING
.no_dead_strip _tomoyo_environ
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function tomoyo_environ
_tomoyo_environ: ; @tomoyo_environ
.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, x0
ldr x20, [x0, #32]
str xzr, [sp, #24]
ldr x21, [x20]
Lloh0:
adrp x23, _PAGE_SIZE@GOTPAGE
Lloh1:
ldr x23, [x23, _PAGE_SIZE@GOTPAGEOFF]
ldr x22, [x23]
ldp w28, w26, [x20, #8]
Lloh2:
adrp x24, _ENOMEM@GOTPAGE
Lloh3:
ldr x24, [x24, _ENOMEM@GOTPAGEOFF]
ldr w25, [x24]
Lloh4:
adrp x8, _TOMOYO_MAC_ENVIRON@GOTPAGE
Lloh5:
ldr x8, [x8, _TOMOYO_MAC_ENVIRON@GOTPAGEOFF]
Lloh6:
ldr w2, [x8]
str w2, [x0, #24]
ldr x8, [x0, #16]
ldp w0, w1, [x8]
str w1, [x19, #8]
bl _tomoyo_get_mode
str x0, [x19]
cmp x0, #0
ccmp w26, #0, #4, ne
b.ne LBB0_2
; %bb.1:
mov w19, #0 ; =0x0
b LBB0_45
LBB0_2:
str w26, [sp, #12] ; 4-byte Folded Spill
neg w26, w25
Lloh7:
adrp x8, _TOMOYO_EXEC_TMPSIZE@GOTPAGE
Lloh8:
ldr x8, [x8, _TOMOYO_EXEC_TMPSIZE@GOTPAGEOFF]
Lloh9:
ldr w0, [x8]
Lloh10:
adrp x8, _GFP_NOFS@GOTPAGE
Lloh11:
ldr x8, [x8, _GFP_NOFS@GOTPAGEOFF]
Lloh12:
ldr w1, [x8]
bl _kzalloc
str x0, [sp, #16] ; 8-byte Folded Spill
cbz x0, LBB0_44
; %bb.3:
mov w25, #0 ; =0x0
udiv x8, x21, x22
msub w22, w8, w22, w21
LBB0_4: ; =>This Loop Header: Depth=1
; Child Loop BB0_5 Depth 2
; Child Loop BB0_6 Depth 3
; Child Loop BB0_15 Depth 4
; Child Loop BB0_11 Depth 4
; Child Loop BB0_22 Depth 3
; Child Loop BB0_24 Depth 4
; Child Loop BB0_25 Depth 5
mov x27, x22
LBB0_5: ; Parent Loop BB0_4 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB0_6 Depth 3
; Child Loop BB0_15 Depth 4
; Child Loop BB0_11 Depth 4
; Child Loop BB0_22 Depth 3
; Child Loop BB0_24 Depth 4
; Child Loop BB0_25 Depth 5
mov x22, x25
mov x25, x28
LBB0_6: ; Parent Loop BB0_4 Depth=1
; Parent Loop BB0_5 Depth=2
; => This Loop Header: Depth=3
; Child Loop BB0_15 Depth 4
; Child Loop BB0_11 Depth 4
ldr w8, [x24]
cmn w26, w8
b.ne LBB0_43
; %bb.7: ; in Loop: Header=BB0_6 Depth=3
add x2, sp, #24
mov x0, x20
mov x1, x21
bl _tomoyo_dump_page
cbz w0, LBB0_43
; %bb.8: ; in Loop: Header=BB0_6 Depth=3
ldr x9, [x23]
sxtw x8, w27
subs x10, x9, x8
add x21, x10, x21
cbz w25, LBB0_13
; %bb.9: ; in Loop: Header=BB0_6 Depth=3
b.ls LBB0_13
LBB0_10: ; in Loop: Header=BB0_6 Depth=3
ldr x10, [sp, #24]
add x10, x10, x8
add x11, x8, #1
LBB0_11: ; Parent Loop BB0_4 Depth=1
; Parent Loop BB0_5 Depth=2
; Parent Loop BB0_6 Depth=3
; => This Inner Loop Header: Depth=4
ldrb w12, [x10], #1
cmp w12, #0
cset w12, eq
sub w25, w25, w12
add w8, w8, #1
cmp w25, #0
ccmp x9, x11, #0, ne
add x11, x11, #1
b.hi LBB0_11
; %bb.12: ; in Loop: Header=BB0_6 Depth=3
mov w27, #0 ; =0x0
mov w28, #0 ; =0x0
cbnz w25, LBB0_6
b LBB0_21
LBB0_13: ; in Loop: Header=BB0_6 Depth=3
cbnz w25, LBB0_15
b LBB0_39
LBB0_14: ; in Loop: Header=BB0_15 Depth=4
cbz w25, LBB0_20
LBB0_15: ; Parent Loop BB0_4 Depth=1
; Parent Loop BB0_5 Depth=2
; Parent Loop BB0_6 Depth=3
; => This Inner Loop Header: Depth=4
ldr w8, [x24]
cmn w26, w8
b.ne LBB0_43
; %bb.16: ; in Loop: Header=BB0_15 Depth=4
add x2, sp, #24
mov x0, x20
mov x1, x21
bl _tomoyo_dump_page
cbz w0, LBB0_43
; %bb.17: ; in Loop: Header=BB0_15 Depth=4
ldr x9, [x23]
add x21, x9, x21
cbz w25, LBB0_14
; %bb.18: ; in Loop: Header=BB0_15 Depth=4
cbz x9, LBB0_14
; %bb.19: ; in Loop: Header=BB0_6 Depth=3
mov x8, #0 ; =0x0
b LBB0_10
LBB0_20: ; in Loop: Header=BB0_5 Depth=2
mov w8, #0 ; =0x0
mov x28, x25
LBB0_21: ; in Loop: Header=BB0_5 Depth=2
; kill: def $w8 killed $w8 killed $x8 def $x8
sxtw x8, w8
LBB0_22: ; Parent Loop BB0_4 Depth=1
; Parent Loop BB0_5 Depth=2
; => This Loop Header: Depth=3
; Child Loop BB0_24 Depth 4
; Child Loop BB0_25 Depth 5
ldr x9, [x23]
mov x25, x22
cmp x9, x8
b.lo LBB0_40
; %bb.23: ; in Loop: Header=BB0_22 Depth=3
Lloh13:
adrp x12, _TOMOYO_EXEC_TMPSIZE@GOTPAGE
Lloh14:
ldr x12, [x12, _TOMOYO_EXEC_TMPSIZE@GOTPAGEOFF]
LBB0_24: ; Parent Loop BB0_4 Depth=1
; Parent Loop BB0_5 Depth=2
; Parent Loop BB0_22 Depth=3
; => This Loop Header: Depth=4
; Child Loop BB0_25 Depth 5
ldr x9, [sp, #16] ; 8-byte Folded Reload
add x9, x9, w25, sxtw
LBB0_25: ; Parent Loop BB0_4 Depth=1
; Parent Loop BB0_5 Depth=2
; Parent Loop BB0_22 Depth=3
; Parent Loop BB0_24 Depth=4
; => This Inner Loop Header: Depth=5
ldr x10, [sp, #24]
add x27, x8, #1
ldrb w10, [x10, x8]
cbz w10, LBB0_36
; %bb.26: ; in Loop: Header=BB0_25 Depth=5
ldr w11, [x12]
sub w11, w11, #10
cmp w25, w11
b.lt LBB0_28
; %bb.27: ; in Loop: Header=BB0_25 Depth=5
strb wzr, [x9]
ldr x10, [x23]
mov x8, x27
cmp x10, x27
b.hs LBB0_25
b LBB0_38
LBB0_28: ; in Loop: Header=BB0_24 Depth=4
cmp w10, #92
b.eq LBB0_31
; %bb.29: ; in Loop: Header=BB0_24 Depth=4
cmp w10, #61
b.ne LBB0_32
; %bb.30: ; in Loop: Header=BB0_24 Depth=4
add w25, w25, #1
strb wzr, [x9]
b LBB0_35
LBB0_31: ; in Loop: Header=BB0_24 Depth=4
mov w10, #23644 ; =0x5c5c
strh w10, [x9]
add w25, w25, #2
b LBB0_35
LBB0_32: ; in Loop: Header=BB0_24 Depth=4
sub w11, w10, #33
cmp w11, #93
b.hi LBB0_34
; %bb.33: ; in Loop: Header=BB0_24 Depth=4
add w25, w25, #1
strb w10, [x9]
b LBB0_35
LBB0_34: ; in Loop: Header=BB0_24 Depth=4
mov w11, #92 ; =0x5c
strb w11, [x9]
mov w11, #208 ; =0xd0
orr w11, w11, w10, lsr #6
strb w11, [x9, #1]
lsr w11, w10, #3
orr w11, w11, #0x7
add w11, w11, #48
strb w11, [x9, #2]
mov w11, #48 ; =0x30
bfxil w11, w10, #0, #3
add w25, w25, #4
strb w11, [x9, #3]
LBB0_35: ; in Loop: Header=BB0_24 Depth=4
add x8, x8, #1
ldr x9, [x23]
cmp x9, x8
b.hs LBB0_24
b LBB0_38
LBB0_36: ; in Loop: Header=BB0_22 Depth=3
strb wzr, [x9]
mov x0, x19
ldr x1, [sp, #16] ; 8-byte Folded Reload
bl _tomoyo_env_perm
mov w22, #0 ; =0x0
cbnz x0, LBB0_41
; %bb.37: ; in Loop: Header=BB0_22 Depth=3
mov x8, x27
ldr w9, [sp, #12] ; 4-byte Folded Reload
subs w9, w9, #1
str w9, [sp, #12] ; 4-byte Folded Spill
b.ne LBB0_22
b LBB0_42
LBB0_38: ; in Loop: Header=BB0_5 Depth=2
mov w27, #0 ; =0x0
b LBB0_5
LBB0_39: ; in Loop: Header=BB0_5 Depth=2
mov x28, x25
mov x8, x27
b LBB0_21
LBB0_40: ; in Loop: Header=BB0_4 Depth=1
mov w22, #0 ; =0x0
b LBB0_4
LBB0_41: ; in Loop: Header=BB0_4 Depth=1
Lloh15:
adrp x8, _EPERM@GOTPAGE
Lloh16:
ldr x8, [x8, _EPERM@GOTPAGEOFF]
Lloh17:
ldr w8, [x8]
neg w26, w8
b LBB0_4
LBB0_42: ; in Loop: Header=BB0_4 Depth=1
str w22, [sp, #12] ; 4-byte Folded Spill
mov x26, x22
b LBB0_4
LBB0_43:
ldr x0, [sp, #24]
LBB0_44:
ldr x8, [x19]
Lloh18:
adrp x9, _TOMOYO_CONFIG_ENFORCING@GOTPAGE
Lloh19:
ldr x9, [x9, _TOMOYO_CONFIG_ENFORCING@GOTPAGEOFF]
Lloh20:
ldr x9, [x9]
cmp x8, x9
csel w19, w26, wzr, eq
bl _kfree
ldr x0, [sp, #16] ; 8-byte Folded Reload
bl _kfree
LBB0_45:
mov x0, x19
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 Lloh4, Lloh5, Lloh6
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12
.loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9
.loh AdrpLdrGot Lloh13, Lloh14
.loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17
.loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh20
.cfi_endproc
; -- End function
.comm _PAGE_SIZE,8,3 ; @PAGE_SIZE
.comm _ENOMEM,4,2 ; @ENOMEM
.comm _TOMOYO_MAC_ENVIRON,4,2 ; @TOMOYO_MAC_ENVIRON
.comm _TOMOYO_EXEC_TMPSIZE,4,2 ; @TOMOYO_EXEC_TMPSIZE
.comm _GFP_NOFS,4,2 ; @GFP_NOFS
.comm _EPERM,4,2 ; @EPERM
.comm _TOMOYO_CONFIG_ENFORCING,8,3 ; @TOMOYO_CONFIG_ENFORCING
.no_dead_strip _tomoyo_environ
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _RC5_32_set_key ## -- Begin function RC5_32_set_key
.p2align 4, 0x90
_RC5_32_set_key: ## @RC5_32_set_key
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $296, %rsp ## imm = 0x128
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
xorl %eax, %eax
cmpl $255, %esi
jg LBB0_17
## %bb.1:
movl %ecx, %r14d
movq %rdx, %r15
movl %esi, %r13d
movq _RC5_16_ROUNDS@GOTPCREL(%rip), %rax
movl (%rax), %eax
cmpl %ecx, %eax
jne LBB0_4
## %bb.2:
movq _RC5_12_ROUNDS@GOTPCREL(%rip), %rcx
cmpl %r14d, (%rcx)
je LBB0_5
## %bb.3:
movq _RC5_8_ROUNDS@GOTPCREL(%rip), %rcx
cmpl %r14d, (%rcx)
je LBB0_5
LBB0_4:
movl %eax, %r14d
LBB0_5:
movl %r14d, (%rdi)
movq 8(%rdi), %rax
movq %rax, -320(%rbp) ## 8-byte Spill
xorl %ebx, %ebx
cmpl $8, %r13d
jl LBB0_8
## %bb.6:
leal -8(%r13), %r12d
xorl %ebx, %ebx
.p2align 4, 0x90
LBB0_7: ## =>This Inner Loop Header: Depth=1
movq %r15, %rdi
callq _c2l
movq %r15, %rdi
callq _c2l
addl $8, %ebx
cmpl %r12d, %ebx
jle LBB0_7
LBB0_8:
cmpl %r13d, %ebx
je LBB0_10
## %bb.9:
movl %r13d, %ecx
andl $7, %ecx
movq %r15, %rdi
callq _c2ln
LBB0_10:
leal 3(%r13), %eax
addl $6, %r13d
testl %eax, %eax
cmovnsl %eax, %r13d
sarl $2, %r13d
leal 2(,%r14,2), %r9d
movq _RC5_32_P@GOTPCREL(%rip), %rax
movl (%rax), %eax
movq -320(%rbp), %r8 ## 8-byte Reload
movl %eax, (%r8)
testl %r9d, %r9d
jle LBB0_13
## %bb.11:
movl (%r8), %eax
movl %r9d, %ecx
xorl %edx, %edx
movq _RC5_32_Q@GOTPCREL(%rip), %rsi
movq _RC5_32_MASK@GOTPCREL(%rip), %rdi
.p2align 4, 0x90
LBB0_12: ## =>This Inner Loop Header: Depth=1
addl (%rsi), %eax
andl (%rdi), %eax
movl %eax, 4(%r8,%rdx,4)
addl (%rsi), %eax
andl (%rdi), %eax
movl %eax, 8(%r8,%rdx,4)
addq $2, %rdx
cmpq %rdx, %rcx
jne LBB0_12
LBB0_13:
cmpl %r13d, %r9d
movl %r13d, %eax
cmovgl %r9d, %eax
testl %eax, %eax
jle LBB0_16
## %bb.14:
leal (%rax,%rax,2), %ecx
cmpl $2, %ecx
movl $1, %eax
cmovll %eax, %ecx
movq %r13, -328(%rbp) ## 8-byte Spill
xorl %r13d, %r13d
xorl %r12d, %r12d
xorl %r14d, %r14d
xorl %r15d, %r15d
movl %r9d, -308(%rbp) ## 4-byte Spill
movq -320(%rbp), %rbx ## 8-byte Reload
.p2align 4, 0x90
LBB0_15: ## =>This Inner Loop Header: Depth=1
movl %ecx, -312(%rbp) ## 4-byte Spill
movslq %r12d, %r12
addl %r15d, %r14d
addl (%rbx,%r12,4), %r14d
movq _RC5_32_MASK@GOTPCREL(%rip), %rax
andl (%rax), %r14d
movl %r14d, %edi
movl $3, %esi
callq _ROTATE_l32
movl %eax, %r14d
movl %eax, (%rbx,%r12,4)
addl %eax, %r15d
movslq %r13d, %r13
movl -304(%rbp,%r13,4), %edi
addl %r15d, %edi
movq _RC5_32_MASK@GOTPCREL(%rip), %rax
andl (%rax), %edi
movl %r15d, %esi
callq _ROTATE_l32
movl -312(%rbp), %ecx ## 4-byte Reload
movl -308(%rbp), %r9d ## 4-byte Reload
movl %eax, %r15d
movl %eax, -304(%rbp,%r13,4)
incl %r12d
cmpl %r9d, %r12d
movl $0, %eax
cmovgel %eax, %r12d
incl %r13d
cmpl -328(%rbp), %r13d ## 4-byte Folded Reload
cmovgel %eax, %r13d
decl %ecx
jne LBB0_15
LBB0_16:
movl $1, %eax
LBB0_17:
movq ___stack_chk_guard@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
cmpq -48(%rbp), %rcx
jne LBB0_19
## %bb.18:
addq $296, %rsp ## imm = 0x128
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_19:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.comm _RC5_16_ROUNDS,4,2 ## @RC5_16_ROUNDS
.comm _RC5_12_ROUNDS,4,2 ## @RC5_12_ROUNDS
.comm _RC5_8_ROUNDS,4,2 ## @RC5_8_ROUNDS
.comm _RC5_32_P,4,2 ## @RC5_32_P
.comm _RC5_32_Q,4,2 ## @RC5_32_Q
.comm _RC5_32_MASK,4,2 ## @RC5_32_MASK
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _RC5_32_set_key ; -- Begin function RC5_32_set_key
.p2align 2
_RC5_32_set_key: ; @RC5_32_set_key
.cfi_startproc
; %bb.0:
sub sp, sp, #368
stp x28, x27, [sp, #272] ; 16-byte Folded Spill
stp x26, x25, [sp, #288] ; 16-byte Folded Spill
stp x24, x23, [sp, #304] ; 16-byte Folded Spill
stp x22, x21, [sp, #320] ; 16-byte Folded Spill
stp x20, x19, [sp, #336] ; 16-byte Folded Spill
stp x29, x30, [sp, #352] ; 16-byte Folded Spill
add x29, sp, #352
.cfi_def_cfa w29, 16
.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, #-96]
cmp w1, #255
b.le LBB0_2
; %bb.1:
mov w0, #0 ; =0x0
b LBB0_16
LBB0_2:
mov x19, x3
mov x21, x2
mov x20, x1
Lloh3:
adrp x8, _RC5_16_ROUNDS@GOTPAGE
Lloh4:
ldr x8, [x8, _RC5_16_ROUNDS@GOTPAGEOFF]
Lloh5:
ldr w8, [x8]
cmp w8, w3
b.ne LBB0_4
; %bb.3:
Lloh6:
adrp x9, _RC5_12_ROUNDS@GOTPAGE
Lloh7:
ldr x9, [x9, _RC5_12_ROUNDS@GOTPAGEOFF]
Lloh8:
ldr w9, [x9]
Lloh9:
adrp x10, _RC5_8_ROUNDS@GOTPAGE
Lloh10:
ldr x10, [x10, _RC5_8_ROUNDS@GOTPAGEOFF]
Lloh11:
ldr w10, [x10]
cmp w9, w19
ccmp w10, w19, #4, ne
b.eq LBB0_5
LBB0_4:
mov x19, x8
LBB0_5:
str w19, [x0]
ldr x22, [x0, #8]
mov w24, #0 ; =0x0
subs w23, w20, #8
b.lt LBB0_7
LBB0_6: ; =>This Inner Loop Header: Depth=1
mov x0, x21
bl _c2l
mov x0, x21
bl _c2l
add w24, w24, #8
cmp w24, w23
b.le LBB0_6
LBB0_7:
cmp w24, w20
b.eq LBB0_9
; %bb.8:
and w3, w20, #0x7
mov x0, x21
bl _c2ln
LBB0_9:
adds w8, w20, #3
add w9, w20, #6
csel w8, w9, w8, lt
asr w21, w8, #2
lsl w8, w19, #1
Lloh12:
adrp x9, _RC5_32_P@GOTPAGE
Lloh13:
ldr x9, [x9, _RC5_32_P@GOTPAGEOFF]
add w23, w8, #2
Lloh14:
ldr w8, [x9]
str w8, [x22]
Lloh15:
adrp x24, _RC5_32_MASK@GOTPAGE
Lloh16:
ldr x24, [x24, _RC5_32_MASK@GOTPAGEOFF]
cmp w23, #1
b.lt LBB0_12
; %bb.10:
mov x8, x22
ldr w9, [x8], #4
Lloh17:
adrp x10, _RC5_32_Q@GOTPAGE
Lloh18:
ldr x10, [x10, _RC5_32_Q@GOTPAGEOFF]
mov x11, x23
LBB0_11: ; =>This Inner Loop Header: Depth=1
ldr w12, [x10]
ldr w13, [x24]
add w9, w12, w9
and w9, w9, w13
str w9, [x8], #4
subs x11, x11, #1
b.ne LBB0_11
LBB0_12:
cmp w23, w21
csel w8, w23, w21, gt
cmp w8, #1
b.lt LBB0_15
; %bb.13:
mov w25, #0 ; =0x0
mov w26, #0 ; =0x0
mov w19, #0 ; =0x0
mov w20, #0 ; =0x0
add w8, w8, w8, lsl #1
cmp w8, #1
csinc w27, w8, wzr, gt
mov x28, sp
LBB0_14: ; =>This Inner Loop Header: Depth=1
ldr w8, [x22, w26, sxtw #2]
add w9, w19, w20
add w8, w9, w8
ldr w9, [x24]
and w0, w8, w9
mov w1, #3 ; =0x3
bl _ROTATE_l32
mov x19, x0
str w0, [x22, w26, sxtw #2]
ldr w8, [x28, w25, sxtw #2]
add w1, w0, w20
add w8, w1, w8
ldr w9, [x24]
and w0, w8, w9
bl _ROTATE_l32
mov x20, x0
str w0, [x28, w25, sxtw #2]
add w8, w26, #1
cmp w8, w23
csinc w26, wzr, w26, ge
add w8, w25, #1
cmp w8, w21
csinc w25, wzr, w25, ge
subs w27, w27, #1
b.ne LBB0_14
LBB0_15:
mov w0, #1 ; =0x1
LBB0_16:
ldur x8, [x29, #-96]
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_18
; %bb.17:
ldp x29, x30, [sp, #352] ; 16-byte Folded Reload
ldp x20, x19, [sp, #336] ; 16-byte Folded Reload
ldp x22, x21, [sp, #320] ; 16-byte Folded Reload
ldp x24, x23, [sp, #304] ; 16-byte Folded Reload
ldp x26, x25, [sp, #288] ; 16-byte Folded Reload
ldp x28, x27, [sp, #272] ; 16-byte Folded Reload
add sp, sp, #368
ret
LBB0_18:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGot Lloh15, Lloh16
.loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14
.loh AdrpLdrGot Lloh17, Lloh18
.loh AdrpLdrGotLdr Lloh19, Lloh20, Lloh21
.cfi_endproc
; -- End function
.comm _RC5_16_ROUNDS,4,2 ; @RC5_16_ROUNDS
.comm _RC5_12_ROUNDS,4,2 ; @RC5_12_ROUNDS
.comm _RC5_8_ROUNDS,4,2 ; @RC5_8_ROUNDS
.comm _RC5_32_P,4,2 ; @RC5_32_P
.comm _RC5_32_Q,4,2 ; @RC5_32_Q
.comm _RC5_32_MASK,4,2 ; @RC5_32_MASK
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function DxSetupOutput
_DxSetupOutput: ## @DxSetupOutput
.cfi_startproc
## %bb.0:
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 (%rdi), %r12
movl $0, -44(%rbp)
leaq -44(%rbp), %r15
xorl %r13d, %r13d
jmp LBB0_1
.p2align 4, 0x90
LBB0_4: ## in Loop: Header=BB0_1 Depth=1
decl %r13d
LBB0_1: ## =>This Inner Loop Header: Depth=1
movl 4(%r12), %edi
movq 8(%rbx), %rsi
movl %r13d, %edx
movq %r15, %rcx
callq _ID3D11VideoDevice_CheckVideoDecoderFormat
movl %eax, %edi
callq _SUCCEEDED
testq %rax, %rax
je LBB0_4
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
cmpl $0, -44(%rbp)
je LBB0_4
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
movl %r13d, %edi
callq _DxgiFormatToStr
movq %r14, %rdi
leaq L_.str(%rip), %rsi
movl %eax, %edx
xorl %eax, %eax
callq _msg_Dbg
jmp LBB0_4
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "format %s is supported for output"
.comm _VLC_EGENERIC,4,2 ## @VLC_EGENERIC
.comm _DXGI_FORMAT_P016,4,2 ## @DXGI_FORMAT_P016
.comm _DXGI_FORMAT_P010,4,2 ## @DXGI_FORMAT_P010
.comm _DXGI_FORMAT_NV12,4,2 ## @DXGI_FORMAT_NV12
.comm _DXGI_FORMAT_420_OPAQUE,4,2 ## @DXGI_FORMAT_420_OPAQUE
.comm _DXGI_FORMAT_UNKNOWN,4,2 ## @DXGI_FORMAT_UNKNOWN
.comm _D3D11_FORMAT_SUPPORT_SHADER_LOAD,4,2 ## @D3D11_FORMAT_SUPPORT_SHADER_LOAD
.comm _VLC_SUCCESS,4,2 ## @VLC_SUCCESS
.comm _D3D11_FORMAT_SUPPORT_VIDEO_PROCESSOR_INPUT,4,2 ## @D3D11_FORMAT_SUPPORT_VIDEO_PROCESSOR_INPUT
.no_dead_strip _DxSetupOutput
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function DxSetupOutput
_DxSetupOutput: ; @DxSetupOutput
.cfi_startproc
; %bb.0:
sub sp, sp, #80
stp x24, x23, [sp, #16] ; 16-byte Folded Spill
stp x22, x21, [sp, #32] ; 16-byte Folded Spill
stp x20, x19, [sp, #48] ; 16-byte Folded Spill
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov x19, x1
mov x20, x0
mov w21, #0 ; =0x0
ldr x23, [x0]
str wzr, [sp, #12]
Lloh0:
adrp x22, l_.str@PAGE
Lloh1:
add x22, x22, l_.str@PAGEOFF
b LBB0_2
LBB0_1: ; in Loop: Header=BB0_2 Depth=1
sub w21, w21, #1
LBB0_2: ; =>This Inner Loop Header: Depth=1
ldr w0, [x23, #4]
ldr x1, [x19, #8]
add x3, sp, #12
mov x2, x21
bl _ID3D11VideoDevice_CheckVideoDecoderFormat
bl _SUCCEEDED
ldr w8, [sp, #12]
cmp x0, #0
ccmp w8, #0, #4, ne
b.eq LBB0_1
; %bb.3: ; in Loop: Header=BB0_2 Depth=1
mov x0, x21
bl _DxgiFormatToStr
; kill: def $w0 killed $w0 def $x0
str x0, [sp]
mov x0, x20
mov x1, x22
bl _msg_Dbg
b LBB0_1
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "format %s is supported for output"
.comm _VLC_EGENERIC,4,2 ; @VLC_EGENERIC
.comm _DXGI_FORMAT_P016,4,2 ; @DXGI_FORMAT_P016
.comm _DXGI_FORMAT_P010,4,2 ; @DXGI_FORMAT_P010
.comm _DXGI_FORMAT_NV12,4,2 ; @DXGI_FORMAT_NV12
.comm _DXGI_FORMAT_420_OPAQUE,4,2 ; @DXGI_FORMAT_420_OPAQUE
.comm _DXGI_FORMAT_UNKNOWN,4,2 ; @DXGI_FORMAT_UNKNOWN
.comm _D3D11_FORMAT_SUPPORT_SHADER_LOAD,4,2 ; @D3D11_FORMAT_SUPPORT_SHADER_LOAD
.comm _VLC_SUCCESS,4,2 ; @VLC_SUCCESS
.comm _D3D11_FORMAT_SUPPORT_VIDEO_PROCESSOR_INPUT,4,2 ; @D3D11_FORMAT_SUPPORT_VIDEO_PROCESSOR_INPUT
.no_dead_strip _DxSetupOutput
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function pch_uart_hal_read
_pch_uart_hal_read: ## @pch_uart_hal_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
subq $24, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %edx, %r15d
movq %rsi, -56(%rbp) ## 8-byte Spill
movq %rdi, %r14
leaq 8(%rdi), %rax
movq %rax, -48(%rbp) ## 8-byte Spill
movq (%rdi), %rdi
movq _UART_LSR@GOTPCREL(%rip), %rbx
subq (%rbx), %rdi
callq _ioread8
movq (%rbx), %rdi
addq (%r14), %rdi
callq _ioread8
movl %eax, %r13d
movslq %r15d, %rbx
xorl %r12d, %r12d
jmp LBB0_1
.p2align 4, 0x90
LBB0_5: ## in Loop: Header=BB0_1 Depth=1
movq -56(%rbp), %rax ## 8-byte Reload
movb %r15b, (%rax,%r12)
incq %r12
movq _UART_LSR@GOTPCREL(%rip), %rax
movq (%rax), %rdi
addq (%r14), %rdi
callq _ioread8
movl %eax, %r13d
LBB0_1: ## =>This Inner Loop Header: Depth=1
cmpq %rbx, %r12
jl LBB0_3
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movq _UART_LSR_DR@GOTPCREL(%rip), %rax
movl (%rax), %eax
movq _UART_LSR_BI@GOTPCREL(%rip), %rcx
orl (%rcx), %eax
orl %r13d, %eax
je LBB0_6
LBB0_3: ## in Loop: Header=BB0_1 Depth=1
movq _PCH_UART_RBR@GOTPCREL(%rip), %rax
movq (%rax), %rdi
addq (%r14), %rdi
callq _ioread8
movl %eax, %r15d
movq _UART_LSR_BI@GOTPCREL(%rip), %rax
testl %r13d, (%rax)
je LBB0_5
## %bb.4: ## in Loop: Header=BB0_1 Depth=1
incl 16(%r14)
movq -48(%rbp), %rdi ## 8-byte Reload
callq _uart_handle_break
testq %rax, %rax
je LBB0_5
LBB0_6:
movl %r12d, %eax
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _UART_LSR,8,3 ## @UART_LSR
.comm _UART_LSR_DR,4,2 ## @UART_LSR_DR
.comm _UART_LSR_BI,4,2 ## @UART_LSR_BI
.comm _PCH_UART_RBR,8,3 ## @PCH_UART_RBR
.no_dead_strip _pch_uart_hal_read
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function pch_uart_hal_read
_pch_uart_hal_read: ; @pch_uart_hal_read
.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 x24, x2
mov x19, x1
mov x20, x0
ldr x8, [x0]
Lloh0:
adrp x22, _UART_LSR@GOTPAGE
Lloh1:
ldr x22, [x22, _UART_LSR@GOTPAGEOFF]
ldr x9, [x22]
sub x0, x8, x9
bl _ioread8
mov x21, x20
ldr x8, [x21], #8
ldr x9, [x22]
add x0, x9, x8
bl _ioread8
mov x23, x0
mov x25, #0 ; =0x0
sxtw x26, w24
Lloh2:
adrp x27, _PCH_UART_RBR@GOTPAGE
Lloh3:
ldr x27, [x27, _PCH_UART_RBR@GOTPAGEOFF]
Lloh4:
adrp x28, _UART_LSR_BI@GOTPAGE
Lloh5:
ldr x28, [x28, _UART_LSR_BI@GOTPAGEOFF]
b LBB0_2
LBB0_1: ; in Loop: Header=BB0_2 Depth=1
add x22, x25, #1
strb w24, [x19, x25]
ldr x8, [x20]
Lloh6:
adrp x9, _UART_LSR@GOTPAGE
Lloh7:
ldr x9, [x9, _UART_LSR@GOTPAGEOFF]
Lloh8:
ldr x9, [x9]
add x0, x9, x8
bl _ioread8
mov x23, x0
mov x25, x22
LBB0_2: ; =>This Inner Loop Header: Depth=1
cmp x25, x26
b.lt LBB0_4
; %bb.3: ; in Loop: Header=BB0_2 Depth=1
Lloh9:
adrp x8, _UART_LSR_DR@GOTPAGE
Lloh10:
ldr x8, [x8, _UART_LSR_DR@GOTPAGEOFF]
Lloh11:
ldr w8, [x8]
ldr w9, [x28]
orr w8, w8, w9
orr w8, w8, w23
cbz w8, LBB0_6
LBB0_4: ; in Loop: Header=BB0_2 Depth=1
ldr x8, [x20]
ldr x9, [x27]
add x0, x9, x8
bl _ioread8
mov x24, x0
ldr w8, [x28]
tst w8, w23
b.eq LBB0_1
; %bb.5: ; in Loop: Header=BB0_2 Depth=1
ldr w8, [x20, #16]
add w8, w8, #1
str w8, [x20, #16]
mov x0, x21
bl _uart_handle_break
cbz x0, LBB0_1
LBB0_6:
mov x0, x25
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
ldp x24, x23, [sp, #32] ; 16-byte Folded Reload
ldp x26, x25, [sp, #16] ; 16-byte Folded Reload
ldp x28, x27, [sp], #96 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh4, Lloh5
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.cfi_endproc
; -- End function
.comm _UART_LSR,8,3 ; @UART_LSR
.comm _UART_LSR_DR,4,2 ; @UART_LSR_DR
.comm _UART_LSR_BI,4,2 ; @UART_LSR_BI
.comm _PCH_UART_RBR,8,3 ; @PCH_UART_RBR
.no_dead_strip _pch_uart_hal_read
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function fts5SegIterReverseInitPage
_fts5SegIterReverseInitPage: ## @fts5SegIterReverseInitPage
.cfi_startproc
## %bb.0:
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, %rbx
movq %rdi, -64(%rbp) ## 8-byte Spill
movq 8(%rdi), %rax
movl (%rax), %eax
movl %eax, -48(%rbp) ## 4-byte Spill
movq 32(%rsi), %rdi
movl (%rdi), %eax
movl (%rsi), %r13d
movl 4(%rsi), %ecx
movq 8(%rdi), %r14
cmpl %ecx, %eax
cmovll %eax, %ecx
movl %ecx, -44(%rbp) ## 4-byte Spill
callq _ASSERT_SZLEAF_OK
xorl %r12d, %r12d
movq %r14, -80(%rbp) ## 8-byte Spill
jmp LBB0_1
.p2align 4, 0x90
LBB0_12: ## in Loop: Header=BB0_1 Depth=1
addl %r14d, %r13d
movl (%rbx), %ecx
movl %ecx, (%rax,%r12,4)
incq %r12
movl %r13d, (%rbx)
movq -80(%rbp), %r14 ## 8-byte Reload
LBB0_1: ## =>This Inner Loop Header: Depth=1
movq $0, -72(%rbp)
movl -48(%rbp), %eax ## 4-byte Reload
movq _FTS5_DETAIL_NONE@GOTPCREL(%rip), %rcx
cmpl (%rcx), %eax
jne LBB0_5
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
cmpl -44(%rbp), %r13d ## 4-byte Folded Reload
jg LBB0_6
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
movslq %r13d, %rax
cmpq $0, (%r14,%rax,8)
jne LBB0_6
## %bb.4: ## in Loop: Header=BB0_1 Depth=1
cmpq $0, -8(%r14,%rax,8)
leal -1(%r13), %eax
cmovel %r13d, %eax
movl %eax, %r13d
jmp LBB0_6
.p2align 4, 0x90
LBB0_5: ## in Loop: Header=BB0_1 Depth=1
movslq %r13d, %rax
leaq (%r14,%rax,8), %rdi
leaq -52(%rbp), %rsi
leaq -84(%rbp), %rdx
callq _fts5GetPoslistSize
addl %r13d, %eax
addl -52(%rbp), %eax
movl %eax, %r13d
LBB0_6: ## in Loop: Header=BB0_1 Depth=1
cmpl -44(%rbp), %r13d ## 4-byte Folded Reload
jge LBB0_10
## %bb.7: ## in Loop: Header=BB0_1 Depth=1
movslq %r13d, %rax
leaq (%r14,%rax,8), %rdi
leaq -72(%rbp), %rsi
callq _fts5GetVarint
movl -72(%rbp), %ecx
addl %ecx, 28(%rbx)
movq %rax, %r14
movslq 8(%rbx), %r15
movq 16(%rbx), %rax
cmpq %r15, %r12
jl LBB0_12
## %bb.8: ## in Loop: Header=BB0_1 Depth=1
leal -32(,%r15,4), %esi
movq %rax, %rdi
callq _sqlite3_realloc64
testq %rax, %rax
je LBB0_9
## %bb.11: ## in Loop: Header=BB0_1 Depth=1
addl $-8, %r15d
movq %rax, 16(%rbx)
movl %r15d, 8(%rbx)
jmp LBB0_12
LBB0_9:
movq _SQLITE_NOMEM@GOTPCREL(%rip), %rax
movl (%rax), %eax
movq -64(%rbp), %rcx ## 8-byte Reload
movl %eax, (%rcx)
LBB0_10:
movl %r12d, 24(%rbx)
movq -64(%rbp), %rdi ## 8-byte Reload
movq %rbx, %rsi
callq _fts5SegIterLoadNPos
addq $56, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _FTS5_DETAIL_NONE,4,2 ## @FTS5_DETAIL_NONE
.comm _SQLITE_NOMEM,4,2 ## @SQLITE_NOMEM
.no_dead_strip _fts5SegIterReverseInitPage
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function fts5SegIterReverseInitPage
_fts5SegIterReverseInitPage: ; @fts5SegIterReverseInitPage
.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
ldr x8, [x0, #8]
ldr w22, [x8]
ldr x0, [x1, #32]
ldr w8, [x0]
ldr x23, [x0, #8]
ldp w24, w9, [x1]
cmp w8, w9
csel w26, w8, w9, lt
bl _ASSERT_SZLEAF_OK
mov x25, #0 ; =0x0
Lloh0:
adrp x27, _FTS5_DETAIL_NONE@GOTPAGE
Lloh1:
ldr x27, [x27, _FTS5_DETAIL_NONE@GOTPAGEOFF]
b LBB0_2
LBB0_1: ; in Loop: Header=BB0_2 Depth=1
add w24, w24, w21
ldr w8, [x19]
str w8, [x0, x25, lsl #2]
add x25, x25, #1
str w24, [x19]
LBB0_2: ; =>This Inner Loop Header: Depth=1
str xzr, [sp, #8]
ldr w8, [x27]
cmp w22, w8
b.ne LBB0_6
; %bb.3: ; in Loop: Header=BB0_2 Depth=1
cmp w24, w26
b.gt LBB0_7
; %bb.4: ; in Loop: Header=BB0_2 Depth=1
ldr x8, [x23, w24, sxtw #3]
cbnz x8, LBB0_7
; %bb.5: ; in Loop: Header=BB0_2 Depth=1
sxtw x8, w24
sub x8, x8, #1
ldr x9, [x23, x8, lsl #3]
cmp x9, #0
csel w24, w24, w8, eq
b LBB0_7
LBB0_6: ; in Loop: Header=BB0_2 Depth=1
add x0, x23, w24, sxtw #3
add x1, sp, #4
mov x2, sp
bl _fts5GetPoslistSize
ldr w8, [sp, #4]
add w9, w24, w0
add w24, w9, w8
LBB0_7: ; in Loop: Header=BB0_2 Depth=1
cmp w24, w26
b.ge LBB0_12
; %bb.8: ; in Loop: Header=BB0_2 Depth=1
add x0, x23, w24, sxtw #3
add x1, sp, #8
bl _fts5GetVarint
mov x21, x0
ldr w8, [sp, #8]
ldr w9, [x19, #28]
add w8, w9, w8
str w8, [x19, #28]
ldrsw x8, [x19, #8]
ldr x0, [x19, #16]
cmp x25, x8
b.lt LBB0_1
; %bb.9: ; in Loop: Header=BB0_2 Depth=1
sub w28, w8, #8
lsl w1, w28, #2
bl _sqlite3_realloc64
cbz x0, LBB0_11
; %bb.10: ; in Loop: Header=BB0_2 Depth=1
str x0, [x19, #16]
str w28, [x19, #8]
b LBB0_1
LBB0_11:
Lloh2:
adrp x8, _SQLITE_NOMEM@GOTPAGE
Lloh3:
ldr x8, [x8, _SQLITE_NOMEM@GOTPAGEOFF]
Lloh4:
ldr w8, [x8]
str w8, [x20]
LBB0_12:
str w25, [x19, #24]
mov x0, x20
mov x1, x19
bl _fts5SegIterLoadNPos
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 Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.cfi_endproc
; -- End function
.comm _FTS5_DETAIL_NONE,4,2 ; @FTS5_DETAIL_NONE
.comm _SQLITE_NOMEM,4,2 ; @SQLITE_NOMEM
.no_dead_strip _fts5SegIterReverseInitPage
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _unpackA ## -- Begin function unpackA
.p2align 4, 0x90
_unpackA: ## @unpackA
.cfi_startproc
## %bb.0:
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
## kill: def $esi killed $esi def $rsi
movq %rdi, %rbx
movl %esi, %eax
shll $3, %eax
cltq
imulq $-1840700269, %rax, %rax ## imm = 0x92492493
shrq $32, %rax
leal (%rax,%rsi,8), %ecx
movl %ecx, %eax
shrl $31, %eax
sarl $2, %ecx
addl %eax, %ecx
movq %rcx, -56(%rbp) ## 8-byte Spill
movl $8, %r13d
.p2align 4, 0x90
LBB0_1: ## =>This Inner Loop Header: Depth=1
leal -8(%r13), %r12d
movzbl 1(%rbx,%r12), %eax
movb %al, -41(%rbp) ## 1-byte Spill
movzbl 2(%rbx,%r12), %eax
movb %al, -42(%rbp) ## 1-byte Spill
movzbl 3(%rbx,%r12), %eax
movb %al, -43(%rbp) ## 1-byte Spill
movzbl 4(%rbx,%r12), %eax
movb %al, -44(%rbp) ## 1-byte Spill
movzbl 5(%rbx,%r12), %eax
movb %al, -45(%rbp) ## 1-byte Spill
movzbl 6(%rbx,%r12), %eax
movb %al, -46(%rbp) ## 1-byte Spill
movzbl 7(%rbx,%r12), %eax
movb %al, -47(%rbp) ## 1-byte Spill
leal -1(%r13), %r14d
addq %rbx, %r14
movl %r13d, %r15d
addq %rbx, %r15
movq -56(%rbp), %rax ## 8-byte Reload
leal (%rax,%r13), %esi
addl $-16, %esi
xorl %edi, %edi
callq _MAX
movq %r14, %rdi
movq %r15, %rsi
movl %eax, %edx
callq _bcopy
leal -9(%r13), %eax
movzbl -41(%rbp), %ecx ## 1-byte Folded Reload
movb %cl, (%rbx,%rax)
leal -7(%r13), %eax
movzbl -42(%rbp), %ecx ## 1-byte Folded Reload
movb %cl, (%rbx,%r12)
leal -6(%r13), %ecx
movzbl -43(%rbp), %edx ## 1-byte Folded Reload
movb %dl, (%rbx,%rax)
leal -5(%r13), %eax
movzbl -44(%rbp), %edx ## 1-byte Folded Reload
movb %dl, (%rbx,%rcx)
leal -4(%r13), %ecx
movzbl -45(%rbp), %edx ## 1-byte Folded Reload
movb %dl, (%rbx,%rax)
leal -3(%r13), %eax
movzbl -46(%rbp), %edx ## 1-byte Folded Reload
movb %dl, (%rbx,%rcx)
movzbl -47(%rbp), %ecx ## 1-byte Folded Reload
movb %cl, (%rbx,%rax)
leal 6(%r13), %eax
addl $-2, %r13d
cmpl -56(%rbp), %r13d ## 4-byte Folded Reload
movl %eax, %r13d
jbe LBB0_1
## %bb.2:
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 _unpackA ; -- Begin function unpackA
.p2align 2
_unpackA: ; @unpackA
.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
lsl w8, w1, #3
mov w9, #9363 ; =0x2493
movk w9, #37449, lsl #16
smull x9, w8, w9
lsr x9, x9, #32
add w8, w9, w8
asr w9, w8, #2
add w8, w9, w8, lsr #31
str w8, [sp] ; 4-byte Folded Spill
mov w22, #8 ; =0x8
mov w28, w8
LBB0_1: ; =>This Inner Loop Header: Depth=1
sub w8, w22, #8
add x23, x19, x8
ldrb w24, [x23, #1]
ldrb w9, [x23, #2]
ldrb w26, [x23, #3]
ldrb w27, [x23, #4]
ldrb w8, [x23, #5]
str w8, [sp, #4] ; 4-byte Folded Spill
ldrb w8, [x23, #6]
stp w8, w9, [sp, #8] ; 8-byte Folded Spill
sub w25, w22, #1
add x20, x19, w22, uxtw
add w8, w28, w22
sub w1, w8, #16
ldrb w21, [x23, #7]
mov w0, #0 ; =0x0
bl _MAX
mov x2, x0
add x0, x19, x25
mov x1, x20
bl _bcopy
sub w8, w22, #9
strb w24, [x19, w8, uxtw]
sub w8, w22, #7
sub w9, w22, #6
strb w26, [x19, w8, uxtw]
sub w8, w22, #5
strb w27, [x19, w9, uxtw]
sub w9, w22, #4
ldr w10, [sp, #12] ; 4-byte Folded Reload
strb w10, [x23]
ldp w11, w10, [sp, #4] ; 8-byte Folded Reload
strb w11, [x19, w8, uxtw]
sub w8, w22, #3
strb w10, [x19, w9, uxtw]
sub w9, w22, #2
strb w21, [x19, w8, uxtw]
add w22, w22, #6
cmp w9, w28
b.ls LBB0_1
; %bb.2:
ldp x29, x30, [sp, #96] ; 16-byte Folded Reload
ldp x20, x19, [sp, #80] ; 16-byte Folded Reload
ldp x22, x21, [sp, #64] ; 16-byte Folded Reload
ldp x24, x23, [sp, #48] ; 16-byte Folded Reload
ldp x26, x25, [sp, #32] ; 16-byte Folded Reload
ldp x28, x27, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #112
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function mapper_ssf2_w
_mapper_ssf2_w: ## @mapper_ssf2_w
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
shll $2, %edi
orl $56, %edi
movq _cart@GOTPCREL(%rip), %rax
movq (%rax), %rax
shll $19, %esi
movslq %esi, %rcx
leaq (%rax,%rcx,4), %rdx
movq _m68k@GOTPCREL(%rip), %rsi
movq (%rsi), %rsi
movslq %edi, %rdi
movq %rdx, (%rsi,%rdi,8)
leaq 262144(%rax,%rcx,4), %rdx
movq %rdx, 8(%rsi,%rdi,8)
leaq 524288(%rax,%rcx,4), %rdx
movq %rdx, 16(%rsi,%rdi,8)
leaq 786432(%rax,%rcx,4), %rdx
movq %rdx, 24(%rsi,%rdi,8)
leaq 1048576(%rax,%rcx,4), %rdx
movq %rdx, 32(%rsi,%rdi,8)
leaq 1310720(%rax,%rcx,4), %rdx
movq %rdx, 40(%rsi,%rdi,8)
leaq 1572864(%rax,%rcx,4), %rdx
movq %rdx, 48(%rsi,%rdi,8)
leaq 1835008(%rax,%rcx,4), %rdx
movq %rdx, 56(%rsi,%rdi,8)
leaq (%rax,%rcx,4), %rax
addq $2097152, %rax ## imm = 0x200000
movq %rax, 64(%rsi,%rdi,8)
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _cart,8,3 ## @cart
.comm _m68k,8,3 ## @m68k
.no_dead_strip _mapper_ssf2_w
.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 mapper_ssf2_w
lCPI0_0:
.quad 262144 ; 0x40000
.quad 524288 ; 0x80000
lCPI0_1:
.quad 786432 ; 0xc0000
.quad 1048576 ; 0x100000
.section __TEXT,__text,regular,pure_instructions
.p2align 2
_mapper_ssf2_w: ; @mapper_ssf2_w
.cfi_startproc
; %bb.0:
lsl w8, w0, #2
orr w8, w8, #0x38
Lloh0:
adrp x9, _cart@GOTPAGE
Lloh1:
ldr x9, [x9, _cart@GOTPAGEOFF]
Lloh2:
ldr x9, [x9]
lsl w10, w1, #19
add x9, x9, w10, sxtw #2
Lloh3:
adrp x10, _m68k@GOTPAGE
Lloh4:
ldr x10, [x10, _m68k@GOTPAGEOFF]
Lloh5:
ldr x10, [x10]
add x8, x10, w8, sxtw #3
str x9, [x8]
dup.2d v0, x9
Lloh6:
adrp x10, lCPI0_0@PAGE
Lloh7:
ldr q1, [x10, lCPI0_0@PAGEOFF]
add.2d v1, v0, v1
Lloh8:
adrp x10, lCPI0_1@PAGE
Lloh9:
ldr q2, [x10, lCPI0_1@PAGEOFF]
add.2d v0, v0, v2
stur q0, [x8, #24]
stur q1, [x8, #8]
add x10, x9, #320, lsl #12 ; =1310720
add x11, x9, #384, lsl #12 ; =1572864
stp x10, x11, [x8, #40]
add x10, x9, #448, lsl #12 ; =1835008
add x9, x9, #512, lsl #12 ; =2097152
stp x10, x9, [x8, #56]
ret
.loh AdrpLdr Lloh8, Lloh9
.loh AdrpAdrp Lloh6, Lloh8
.loh AdrpLdr Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _cart,8,3 ; @cart
.comm _m68k,8,3 ; @m68k
.no_dead_strip _mapper_ssf2_w
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function roff_setstrn
_roff_setstrn: ## @roff_setstrn
.cfi_startproc
## %bb.0:
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 %r9d, -44(%rbp) ## 4-byte Spill
movq %r8, %r15
movq %rcx, %r12
movq %rdx, %r14
movq %rsi, %r13
movq %rdi, -56(%rbp) ## 8-byte Spill
movq (%rdi), %rbx
jmp LBB0_1
.p2align 4, 0x90
LBB0_4: ## in Loop: Header=BB0_1 Depth=1
movq 16(%rbx), %rbx
LBB0_1: ## =>This Inner Loop Header: Depth=1
testq %rbx, %rbx
je LBB0_5
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
cmpq %r14, 24(%rbx)
jne LBB0_4
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
movl 32(%rbx), %edi
movq %r13, %rsi
movq %r14, %rdx
callq _strncmp
testq %rax, %rax
jne LBB0_4
## %bb.6:
movl -44(%rbp), %r13d ## 4-byte Reload
testl %r13d, %r13d
jne LBB0_8
## %bb.7:
movq (%rbx), %rdi
callq _free
xorps %xmm0, %xmm0
movups %xmm0, (%rbx)
jmp LBB0_8
LBB0_5:
movl $40, %edi
callq _mandoc_malloc
movq %rax, %rbx
movq %r13, %rdi
movq %r14, %rsi
callq _mandoc_strndup
movl %eax, 32(%rbx)
movq %r14, 24(%rbx)
xorps %xmm0, %xmm0
movups %xmm0, (%rbx)
movq -56(%rbp), %rcx ## 8-byte Reload
movq (%rcx), %rax
movq %rax, 16(%rbx)
movq %rbx, (%rcx)
movl -44(%rbp), %r13d ## 4-byte Reload
LBB0_8:
testq %r12, %r12
je LBB0_20
## %bb.9:
xorl %esi, %esi
cmpl $2, %r13d
setge %sil
notq %rsi
addq %r15, %rsi
movq (%rbx), %rdi
testq %rdi, %rdi
je LBB0_10
## %bb.11:
movq 8(%rbx), %r14
addq %r14, %rsi
callq _mandoc_realloc
movq %rax, (%rbx)
movslq %r14d, %rcx
jmp LBB0_12
LBB0_10:
movq %rsi, %rdi
callq _mandoc_malloc
movq %rax, (%rbx)
movb $0, (%rax)
movq (%rbx), %rax
xorl %ecx, %ecx
LBB0_12:
addq %rcx, %rax
testl %r15d, %r15d
jle LBB0_17
## %bb.13:
xorl %ecx, %ecx
jmp LBB0_14
.p2align 4, 0x90
LBB0_16: ## in Loop: Header=BB0_14 Depth=1
incl %ecx
movb %sil, (%rax)
incq %rax
cmpl %r15d, %ecx
jge LBB0_17
LBB0_14: ## =>This Inner Loop Header: Depth=1
movslq %ecx, %rdx
movzbl (%r12,%rdx), %esi
cmpb $92, %sil
jne LBB0_16
## %bb.15: ## in Loop: Header=BB0_14 Depth=1
leaq 1(%rdx), %rcx
cmpb $92, 1(%r12,%rdx)
cmovel %ecx, %edx
movslq %edx, %rcx
movzbl (%r12,%rcx), %esi
movl %edx, %ecx
jmp LBB0_16
LBB0_17:
cmpl $2, %r13d
jl LBB0_19
## %bb.18:
movb $10, (%rax)
incq %rax
LBB0_19:
movb $0, (%rax)
subl (%rbx), %eax
cltq
movq %rax, 8(%rbx)
LBB0_20:
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _roff_setstrn
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function roff_setstrn
_roff_setstrn: ; @roff_setstrn
.cfi_startproc
; %bb.0:
stp x26, x25, [sp, #-80]! ; 16-byte Folded Spill
stp x24, x23, [sp, #16] ; 16-byte Folded Spill
stp x22, x21, [sp, #32] ; 16-byte Folded Spill
stp x20, x19, [sp, #48] ; 16-byte Folded Spill
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
mov x20, x5
mov x21, x4
mov x22, x3
mov x24, x2
mov x25, x1
mov x23, x0
ldr x19, [x0]
cbnz x19, LBB0_6
LBB0_1:
mov w0, #40 ; =0x28
bl _mandoc_malloc
mov x19, x0
mov x0, x25
mov x1, x24
bl _mandoc_strndup
str w0, [x19, #32]
stp xzr, xzr, [x19]
ldr x8, [x23]
stp x8, x24, [x19, #16]
str x19, [x23]
LBB0_2:
cbz x22, LBB0_19
; %bb.3:
cmp w20, #1
mov x8, #-2 ; =0xfffffffffffffffe
cinc x8, x8, le
add x0, x8, x21
ldr x8, [x19]
cbz x8, LBB0_10
; %bb.4:
ldr x23, [x19, #8]
add x1, x23, x0
mov x0, x8
bl _mandoc_realloc
str x0, [x19]
sxtw x8, w23
b LBB0_11
LBB0_5: ; in Loop: Header=BB0_6 Depth=1
ldr x19, [x19, #16]
cbz x19, LBB0_1
LBB0_6: ; =>This Inner Loop Header: Depth=1
ldr x8, [x19, #24]
cmp x8, x24
b.ne LBB0_5
; %bb.7: ; in Loop: Header=BB0_6 Depth=1
ldr w0, [x19, #32]
mov x1, x25
mov x2, x24
bl _strncmp
cbnz x0, LBB0_5
; %bb.8:
cbnz w20, LBB0_2
; %bb.9:
ldr x0, [x19]
bl _free
stp xzr, xzr, [x19]
b LBB0_2
LBB0_10:
bl _mandoc_malloc
mov x8, #0 ; =0x0
str x0, [x19]
strb wzr, [x0]
ldr x0, [x19]
LBB0_11:
add x8, x0, x8
cmp w21, #1
b.lt LBB0_16
; %bb.12:
mov w9, #0 ; =0x0
b LBB0_14
LBB0_13: ; in Loop: Header=BB0_14 Depth=1
add w9, w9, #1
strb w10, [x8], #1
cmp w9, w21
b.ge LBB0_16
LBB0_14: ; =>This Inner Loop Header: Depth=1
sxtw x11, w9
ldrb w10, [x22, x11]
cmp w10, #92
b.ne LBB0_13
; %bb.15: ; in Loop: Header=BB0_14 Depth=1
add x10, x11, #1
ldrb w11, [x22, x10]
cmp w11, #92
csel w9, w10, w9, eq
ldrb w10, [x22, w9, sxtw]
b LBB0_13
LBB0_16:
cmp w20, #1
b.le LBB0_18
; %bb.17:
mov w9, #10 ; =0xa
strb w9, [x8], #1
LBB0_18:
strb wzr, [x8]
ldr w9, [x19]
sub w8, w8, w9
sxtw x8, w8
str x8, [x19, #8]
LBB0_19:
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
ldp x24, x23, [sp, #16] ; 16-byte Folded Reload
ldp x26, x25, [sp], #80 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.no_dead_strip _roff_setstrn
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function spa_vdev_remove_aux
_spa_vdev_remove_aux: ## @spa_vdev_remove_aux
.cfi_startproc
## %bb.0:
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, %r13
movl %ecx, %ebx
movq %rdx, %r15
movq %rsi, %r14
movq %rdi, -72(%rbp) ## 8-byte Spill
cmpl $2, %ecx
jl LBB0_2
## %bb.1:
leal 8(,%rbx,8), %edi
movq _KM_SLEEP@GOTPCREL(%rip), %rax
movl (%rax), %esi
callq _kmem_alloc
movq %rax, %r12
jmp LBB0_3
LBB0_2:
xorl %r12d, %r12d
testl %ebx, %ebx
js LBB0_8
LBB0_3:
movq %r14, -56(%rbp) ## 8-byte Spill
movq %r12, -48(%rbp) ## 8-byte Spill
movq %rbx, -64(%rbp) ## 8-byte Spill
movl %ebx, %r12d
xorl %r14d, %r14d
xorl %ebx, %ebx
jmp LBB0_4
.p2align 4, 0x90
LBB0_6: ## in Loop: Header=BB0_4 Depth=1
decq %r14
cmpq %r12, %r14
jg LBB0_7
LBB0_4: ## =>This Inner Loop Header: Depth=1
movq (%r15,%r14,8), %rdi
cmpq %r13, %rdi
je LBB0_6
## %bb.5: ## in Loop: Header=BB0_4 Depth=1
movslq %ebx, %rax
incl %ebx
movq -48(%rbp), %rcx ## 8-byte Reload
leaq (%rcx,%rax,8), %rsi
movq _KM_SLEEP@GOTPCREL(%rip), %rax
movl (%rax), %edx
callq _nvlist_dup
xorl %edi, %edi
testq %rax, %rax
sete %dil
callq _VERIFY
jmp LBB0_6
LBB0_7:
movq -48(%rbp), %r12 ## 8-byte Reload
movq -64(%rbp), %rbx ## 8-byte Reload
movq -56(%rbp), %r14 ## 8-byte Reload
LBB0_8:
movq _DATA_TYPE_NVLIST_ARRAY@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq -72(%rbp), %r13 ## 8-byte Reload
movq %r13, %rdi
movq %r14, %rsi
callq _nvlist_remove
xorl %edi, %edi
testq %rax, %rax
sete %dil
callq _VERIFY
leal -1(%rbx), %r15d
movq %r13, %rdi
movq %r14, %rsi
movq %r12, %rdx
movl %r15d, %ecx
callq _nvlist_add_nvlist_array
xorl %edi, %edi
testq %rax, %rax
sete %dil
callq _VERIFY
cmpl $2, %ebx
jl LBB0_12
## %bb.9:
movl %r15d, %ebx
xorl %r14d, %r14d
.p2align 4, 0x90
LBB0_10: ## =>This Inner Loop Header: Depth=1
movq (%r12,%r14,8), %rdi
callq _nvlist_free
incq %r14
cmpq %r14, %rbx
jne LBB0_10
## %bb.11:
shll $3, %r15d
movq %r12, %rdi
movl %r15d, %esi
addq $40, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _kmem_free ## TAILCALL
LBB0_12:
addq $40, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _KM_SLEEP,4,2 ## @KM_SLEEP
.comm _DATA_TYPE_NVLIST_ARRAY,4,2 ## @DATA_TYPE_NVLIST_ARRAY
.no_dead_strip _spa_vdev_remove_aux
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function spa_vdev_remove_aux
_spa_vdev_remove_aux: ; @spa_vdev_remove_aux
.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 x23, x4
mov x20, x3
mov x24, x2
mov x21, x1
mov x22, x0
Lloh0:
adrp x25, _KM_SLEEP@GOTPAGE
Lloh1:
ldr x25, [x25, _KM_SLEEP@GOTPAGEOFF]
cmp w3, #2
b.lt LBB0_2
; %bb.1:
lsl w8, w20, #3
ldr w1, [x25]
add w0, w8, #8
bl _kmem_alloc
mov x19, x0
b LBB0_3
LBB0_2:
mov x19, #0 ; =0x0
tbnz w20, #31, LBB0_7
LBB0_3:
mov x26, #0 ; =0x0
mov w8, #0 ; =0x0
mov w27, w20
b LBB0_5
LBB0_4: ; in Loop: Header=BB0_5 Depth=1
sub x26, x26, #1
cmp x26, x27
b.gt LBB0_7
LBB0_5: ; =>This Inner Loop Header: Depth=1
ldr x0, [x24, x26, lsl #3]
cmp x0, x23
b.eq LBB0_4
; %bb.6: ; in Loop: Header=BB0_5 Depth=1
add w28, w8, #1
add x1, x19, w8, sxtw #3
ldr w2, [x25]
bl _nvlist_dup
cmp x0, #0
cset w0, eq
bl _VERIFY
mov x8, x28
b LBB0_4
LBB0_7:
Lloh2:
adrp x8, _DATA_TYPE_NVLIST_ARRAY@GOTPAGE
Lloh3:
ldr x8, [x8, _DATA_TYPE_NVLIST_ARRAY@GOTPAGEOFF]
Lloh4:
ldr w2, [x8]
mov x0, x22
mov x1, x21
bl _nvlist_remove
cmp x0, #0
cset w0, eq
bl _VERIFY
sub w23, w20, #1
mov x0, x22
mov x1, x21
mov x2, x19
mov x3, x23
bl _nvlist_add_nvlist_array
cmp x0, #0
cset w0, eq
bl _VERIFY
cmp w20, #2
b.lt LBB0_11
; %bb.8:
mov x20, #0 ; =0x0
ubfiz x21, x23, #3, #32
LBB0_9: ; =>This Inner Loop Header: Depth=1
ldr x0, [x19, x20]
bl _nvlist_free
add x20, x20, #8
cmp x21, x20
b.ne LBB0_9
; %bb.10:
lsl w1, w23, #3
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
b _kmem_free
LBB0_11:
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
ldp x24, x23, [sp, #32] ; 16-byte Folded Reload
ldp x26, x25, [sp, #16] ; 16-byte Folded Reload
ldp x28, x27, [sp], #96 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.cfi_endproc
; -- End function
.comm _KM_SLEEP,4,2 ; @KM_SLEEP
.comm _DATA_TYPE_NVLIST_ARRAY,4,2 ; @DATA_TYPE_NVLIST_ARRAY
.no_dead_strip _spa_vdev_remove_aux
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function ssl_write_client_key_exchange
_ssl_write_client_key_exchange: ## @ssl_write_client_key_exchange
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
leaq L_.str(%rip), %rsi
movl $2, %edi
callq _MBEDTLS_SSL_DEBUG_MSG
leaq L_.str.1(%rip), %rsi
movl $1, %edi
callq _MBEDTLS_SSL_DEBUG_MSG
movq _MBEDTLS_ERR_SSL_INTERNAL_ERROR@GOTPCREL(%rip), %rax
movl (%rax), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "=> write client key exchange"
L_.str.1: ## @.str.1
.asciz "should never happen"
.comm _MBEDTLS_ERR_SSL_INTERNAL_ERROR,4,2 ## @MBEDTLS_ERR_SSL_INTERNAL_ERROR
.comm _MBEDTLS_ERR_SSL_BUFFER_TOO_SMALL,4,2 ## @MBEDTLS_ERR_SSL_BUFFER_TOO_SMALL
.comm _MBEDTLS_ERR_SSL_PRIVATE_KEY_REQUIRED,4,2 ## @MBEDTLS_ERR_SSL_PRIVATE_KEY_REQUIRED
.comm _MBEDTLS_KEY_EXCHANGE_DHE_PSK,8,3 ## @MBEDTLS_KEY_EXCHANGE_DHE_PSK
.comm _MBEDTLS_KEY_EXCHANGE_DHE_RSA,8,3 ## @MBEDTLS_KEY_EXCHANGE_DHE_RSA
.comm _MBEDTLS_KEY_EXCHANGE_ECDHE_ECDSA,8,3 ## @MBEDTLS_KEY_EXCHANGE_ECDHE_ECDSA
.comm _MBEDTLS_KEY_EXCHANGE_ECDHE_PSK,8,3 ## @MBEDTLS_KEY_EXCHANGE_ECDHE_PSK
.comm _MBEDTLS_KEY_EXCHANGE_ECDHE_RSA,8,3 ## @MBEDTLS_KEY_EXCHANGE_ECDHE_RSA
.comm _MBEDTLS_KEY_EXCHANGE_ECDH_ECDSA,8,3 ## @MBEDTLS_KEY_EXCHANGE_ECDH_ECDSA
.comm _MBEDTLS_KEY_EXCHANGE_ECDH_RSA,8,3 ## @MBEDTLS_KEY_EXCHANGE_ECDH_RSA
.comm _MBEDTLS_KEY_EXCHANGE_ECJPAKE,8,3 ## @MBEDTLS_KEY_EXCHANGE_ECJPAKE
.comm _MBEDTLS_KEY_EXCHANGE_PSK,8,3 ## @MBEDTLS_KEY_EXCHANGE_PSK
.comm _MBEDTLS_KEY_EXCHANGE_RSA,8,3 ## @MBEDTLS_KEY_EXCHANGE_RSA
.comm _MBEDTLS_KEY_EXCHANGE_RSA_PSK,8,3 ## @MBEDTLS_KEY_EXCHANGE_RSA_PSK
.comm _MBEDTLS_MPI_MAX_SIZE,4,2 ## @MBEDTLS_MPI_MAX_SIZE
.comm _MBEDTLS_PREMASTER_SIZE,4,2 ## @MBEDTLS_PREMASTER_SIZE
.comm _MBEDTLS_SSL_HS_CLIENT_KEY_EXCHANGE,1,0 ## @MBEDTLS_SSL_HS_CLIENT_KEY_EXCHANGE
.comm _MBEDTLS_SSL_MAX_CONTENT_LEN,8,3 ## @MBEDTLS_SSL_MAX_CONTENT_LEN
.comm _MBEDTLS_SSL_MSG_HANDSHAKE,4,2 ## @MBEDTLS_SSL_MSG_HANDSHAKE
.no_dead_strip _ssl_write_client_key_exchange
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function ssl_write_client_key_exchange
_ssl_write_client_key_exchange: ; @ssl_write_client_key_exchange
.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 x1, l_.str@PAGE
Lloh1:
add x1, x1, l_.str@PAGEOFF
mov w0, #2 ; =0x2
bl _MBEDTLS_SSL_DEBUG_MSG
Lloh2:
adrp x1, l_.str.1@PAGE
Lloh3:
add x1, x1, l_.str.1@PAGEOFF
mov w0, #1 ; =0x1
bl _MBEDTLS_SSL_DEBUG_MSG
Lloh4:
adrp x8, _MBEDTLS_ERR_SSL_INTERNAL_ERROR@GOTPAGE
Lloh5:
ldr x8, [x8, _MBEDTLS_ERR_SSL_INTERNAL_ERROR@GOTPAGEOFF]
Lloh6:
ldr w0, [x8]
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh4, Lloh5, Lloh6
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "=> write client key exchange"
l_.str.1: ; @.str.1
.asciz "should never happen"
.comm _MBEDTLS_ERR_SSL_INTERNAL_ERROR,4,2 ; @MBEDTLS_ERR_SSL_INTERNAL_ERROR
.comm _MBEDTLS_ERR_SSL_BUFFER_TOO_SMALL,4,2 ; @MBEDTLS_ERR_SSL_BUFFER_TOO_SMALL
.comm _MBEDTLS_ERR_SSL_PRIVATE_KEY_REQUIRED,4,2 ; @MBEDTLS_ERR_SSL_PRIVATE_KEY_REQUIRED
.comm _MBEDTLS_KEY_EXCHANGE_DHE_PSK,8,3 ; @MBEDTLS_KEY_EXCHANGE_DHE_PSK
.comm _MBEDTLS_KEY_EXCHANGE_DHE_RSA,8,3 ; @MBEDTLS_KEY_EXCHANGE_DHE_RSA
.comm _MBEDTLS_KEY_EXCHANGE_ECDHE_ECDSA,8,3 ; @MBEDTLS_KEY_EXCHANGE_ECDHE_ECDSA
.comm _MBEDTLS_KEY_EXCHANGE_ECDHE_PSK,8,3 ; @MBEDTLS_KEY_EXCHANGE_ECDHE_PSK
.comm _MBEDTLS_KEY_EXCHANGE_ECDHE_RSA,8,3 ; @MBEDTLS_KEY_EXCHANGE_ECDHE_RSA
.comm _MBEDTLS_KEY_EXCHANGE_ECDH_ECDSA,8,3 ; @MBEDTLS_KEY_EXCHANGE_ECDH_ECDSA
.comm _MBEDTLS_KEY_EXCHANGE_ECDH_RSA,8,3 ; @MBEDTLS_KEY_EXCHANGE_ECDH_RSA
.comm _MBEDTLS_KEY_EXCHANGE_ECJPAKE,8,3 ; @MBEDTLS_KEY_EXCHANGE_ECJPAKE
.comm _MBEDTLS_KEY_EXCHANGE_PSK,8,3 ; @MBEDTLS_KEY_EXCHANGE_PSK
.comm _MBEDTLS_KEY_EXCHANGE_RSA,8,3 ; @MBEDTLS_KEY_EXCHANGE_RSA
.comm _MBEDTLS_KEY_EXCHANGE_RSA_PSK,8,3 ; @MBEDTLS_KEY_EXCHANGE_RSA_PSK
.comm _MBEDTLS_MPI_MAX_SIZE,4,2 ; @MBEDTLS_MPI_MAX_SIZE
.comm _MBEDTLS_PREMASTER_SIZE,4,2 ; @MBEDTLS_PREMASTER_SIZE
.comm _MBEDTLS_SSL_HS_CLIENT_KEY_EXCHANGE,1,0 ; @MBEDTLS_SSL_HS_CLIENT_KEY_EXCHANGE
.comm _MBEDTLS_SSL_MAX_CONTENT_LEN,8,3 ; @MBEDTLS_SSL_MAX_CONTENT_LEN
.comm _MBEDTLS_SSL_MSG_HANDSHAKE,4,2 ; @MBEDTLS_SSL_MSG_HANDSHAKE
.no_dead_strip _ssl_write_client_key_exchange
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function oplgdt
_oplgdt: ## @oplgdt
.cfi_startproc
## %bb.0:
movl $-1, %eax
cmpl $1, (%rdx)
jne LBB0_4
## %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_MEMORY@GOTPCREL(%rip), %rdx
movl (%rdx), %edx
orl (%rcx), %edx
je LBB0_3
## %bb.2:
movabsq $64424509441, %rax ## imm = 0xF00000001
movq %rax, -4(%rsi)
movq 8(%rcx), %rax
movl (%rax), %eax
orl $16, %eax
movl %eax, (%rsi)
movl $1, %eax
LBB0_3:
popq %rbp
LBB0_4:
retq
.cfi_endproc
## -- End function
.comm _OT_MEMORY,4,2 ## @OT_MEMORY
.no_dead_strip _oplgdt
.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 oplgdt
lCPI0_0:
.long 1 ; 0x1
.long 15 ; 0xf
.section __TEXT,__text,regular,pure_instructions
.p2align 2
_oplgdt: ; @oplgdt
.cfi_startproc
; %bb.0:
ldr w8, [x2]
cmp w8, #1
b.ne LBB0_3
; %bb.1:
ldr x8, [x2, #8]
ldr w9, [x8]
Lloh0:
adrp x10, _OT_MEMORY@GOTPAGE
Lloh1:
ldr x10, [x10, _OT_MEMORY@GOTPAGEOFF]
Lloh2:
ldr w10, [x10]
orr w9, w10, w9
cbz w9, LBB0_3
; %bb.2:
Lloh3:
adrp x9, lCPI0_0@PAGE
Lloh4:
ldr d0, [x9, lCPI0_0@PAGEOFF]
stur d0, [x1, #-4]
ldr x8, [x8, #8]
ldr w8, [x8]
orr w8, w8, #0x10
str w8, [x1]
mov w0, #1 ; =0x1
ret
LBB0_3:
mov w0, #-1 ; =0xffffffff
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdr Lloh3, Lloh4
.cfi_endproc
; -- End function
.comm _OT_MEMORY,4,2 ; @OT_MEMORY
.no_dead_strip _oplgdt
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function lzx_read_lens
_lzx_read_lens: ## @lzx_read_lens
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
subq $16, %rsp
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq %r8, %rbx
movups (%r8), %xmm0
movaps %xmm0, -32(%rbp) ## 16-byte Spill
movl $4, %esi
callq _READ_BITS
movq _PRETREE@GOTPCREL(%rip), %r14
movl (%r14), %edi
callq _LENTABLE
movl $4, %esi
callq _READ_BITS
movl (%r14), %edi
callq _LENTABLE
movl $4, %esi
callq _READ_BITS
movl (%r14), %edi
callq _LENTABLE
movl $4, %esi
callq _READ_BITS
movl (%r14), %edi
callq _LENTABLE
movl $4, %esi
callq _READ_BITS
movl (%r14), %edi
callq _LENTABLE
movl $4, %esi
callq _READ_BITS
movl (%r14), %edi
callq _LENTABLE
movl $4, %esi
callq _READ_BITS
movl (%r14), %edi
callq _LENTABLE
movl $4, %esi
callq _READ_BITS
movl (%r14), %edi
callq _LENTABLE
movl $4, %esi
callq _READ_BITS
movl (%r14), %edi
callq _LENTABLE
movl $4, %esi
callq _READ_BITS
movl (%r14), %edi
callq _LENTABLE
movl $4, %esi
callq _READ_BITS
movl (%r14), %edi
callq _LENTABLE
movl $4, %esi
callq _READ_BITS
movl (%r14), %edi
callq _LENTABLE
movl $4, %esi
callq _READ_BITS
movl (%r14), %edi
callq _LENTABLE
movl $4, %esi
callq _READ_BITS
movl (%r14), %edi
callq _LENTABLE
movl $4, %esi
callq _READ_BITS
movl (%r14), %edi
callq _LENTABLE
movl $4, %esi
callq _READ_BITS
movl (%r14), %edi
callq _LENTABLE
movl $4, %esi
callq _READ_BITS
movl (%r14), %edi
callq _LENTABLE
movl $4, %esi
callq _READ_BITS
movl (%r14), %edi
callq _LENTABLE
movl $4, %esi
callq _READ_BITS
movl (%r14), %edi
callq _LENTABLE
movl $4, %esi
callq _READ_BITS
movl (%r14), %edi
callq _LENTABLE
movl (%r14), %edi
callq _BUILD_TABLE
movaps -32(%rbp), %xmm0 ## 16-byte Reload
movups %xmm0, (%rbx)
xorl %eax, %eax
addq $16, %rsp
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _PRETREE,4,2 ## @PRETREE
.no_dead_strip _lzx_read_lens
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function lzx_read_lens
_lzx_read_lens: ; @lzx_read_lens
.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
mov x19, x4
ldr x20, [x4, #8]
ldr d8, [x4]
mov w1, #4 ; =0x4
bl _READ_BITS
Lloh0:
adrp x21, _PRETREE@GOTPAGE
Lloh1:
ldr x21, [x21, _PRETREE@GOTPAGEOFF]
ldr w0, [x21]
bl _LENTABLE
mov w1, #4 ; =0x4
bl _READ_BITS
ldr w0, [x21]
bl _LENTABLE
mov w1, #4 ; =0x4
bl _READ_BITS
ldr w0, [x21]
bl _LENTABLE
mov w1, #4 ; =0x4
bl _READ_BITS
ldr w0, [x21]
bl _LENTABLE
mov w1, #4 ; =0x4
bl _READ_BITS
ldr w0, [x21]
bl _LENTABLE
mov w1, #4 ; =0x4
bl _READ_BITS
ldr w0, [x21]
bl _LENTABLE
mov w1, #4 ; =0x4
bl _READ_BITS
ldr w0, [x21]
bl _LENTABLE
mov w1, #4 ; =0x4
bl _READ_BITS
ldr w0, [x21]
bl _LENTABLE
mov w1, #4 ; =0x4
bl _READ_BITS
ldr w0, [x21]
bl _LENTABLE
mov w1, #4 ; =0x4
bl _READ_BITS
ldr w0, [x21]
bl _LENTABLE
mov w1, #4 ; =0x4
bl _READ_BITS
ldr w0, [x21]
bl _LENTABLE
mov w1, #4 ; =0x4
bl _READ_BITS
ldr w0, [x21]
bl _LENTABLE
mov w1, #4 ; =0x4
bl _READ_BITS
ldr w0, [x21]
bl _LENTABLE
mov w1, #4 ; =0x4
bl _READ_BITS
ldr w0, [x21]
bl _LENTABLE
mov w1, #4 ; =0x4
bl _READ_BITS
ldr w0, [x21]
bl _LENTABLE
mov w1, #4 ; =0x4
bl _READ_BITS
ldr w0, [x21]
bl _LENTABLE
mov w1, #4 ; =0x4
bl _READ_BITS
ldr w0, [x21]
bl _LENTABLE
mov w1, #4 ; =0x4
bl _READ_BITS
ldr w0, [x21]
bl _LENTABLE
mov w1, #4 ; =0x4
bl _READ_BITS
ldr w0, [x21]
bl _LENTABLE
mov w1, #4 ; =0x4
bl _READ_BITS
ldr w0, [x21]
bl _LENTABLE
ldr w0, [x21]
bl _BUILD_TABLE
str d8, [x19]
str x20, [x19, #8]
mov w0, #0 ; =0x0
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp d9, d8, [sp], #64 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _PRETREE,4,2 ; @PRETREE
.no_dead_strip _lzx_read_lens
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function drm_dp_encode_sideband_reply
_drm_dp_encode_sideband_reply: ## @drm_dp_encode_sideband_reply
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq (%rsi), %rax
movl (%rdi), %ecx
movl 4(%rdi), %edx
shll $7, %ecx
movzbl %cl, %ecx
andl $127, %edx
orl %ecx, %edx
movl %edx, (%rax)
movl $-1, 8(%rsi)
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _drm_dp_encode_sideband_reply
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function drm_dp_encode_sideband_reply
_drm_dp_encode_sideband_reply: ; @drm_dp_encode_sideband_reply
.cfi_startproc
; %bb.0:
ldr x8, [x1]
ldp w9, w10, [x0]
and w10, w10, #0x7f
bfi w10, w9, #7, #1
str w10, [x8]
mov w8, #-1 ; =0xffffffff
str w8, [x1, #8]
ret
.cfi_endproc
; -- End function
.no_dead_strip _drm_dp_encode_sideband_reply
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function recv_data
_recv_data: ## @recv_data
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $24, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdx, %rbx
movq %rsi, -56(%rbp) ## 8-byte Spill
movq %rdi, %r15
leaq 16(%rdi), %r12
xorl %r13d, %r13d
LBB0_1: ## =>This Loop Header: Depth=1
## Child Loop BB0_5 Depth 2
## Child Loop BB0_3 Depth 2
## Child Loop BB0_7 Depth 2
movslq %r13d, %r14
cmpq %rbx, %r14
jae LBB0_3
.p2align 4, 0x90
LBB0_5: ## Parent Loop BB0_1 Depth=1
## => This Inner Loop Header: Depth=2
movq %r15, %rdi
callq _get_burstcount
testl %eax, %eax
jg LBB0_6
## %bb.2: ## in Loop: Header=BB0_5 Depth=2
cmpq %rbx, %r14
jb LBB0_5
LBB0_3: ## Parent Loop BB0_1 Depth=1
## => This Inner Loop Header: Depth=2
movq _TPM_STS_VALID@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq _TPM_STS_DATA_AVAIL@GOTPCREL(%rip), %rax
orl (%rax), %esi
movl 20(%r15), %edx
movq %r15, %rdi
movq %r12, %rcx
callq _wait_for_tpm_stat
testq %rax, %rax
jne LBB0_9
## %bb.4: ## in Loop: Header=BB0_3 Depth=2
movq %r15, %rdi
callq _get_burstcount
cmpq %rbx, %r14
jb LBB0_5
jmp LBB0_3
.p2align 4, 0x90
LBB0_6: ## in Loop: Header=BB0_1 Depth=1
movq %r12, -48(%rbp) ## 8-byte Spill
movq -56(%rbp), %r12 ## 8-byte Reload
.p2align 4, 0x90
LBB0_7: ## Parent Loop BB0_1 Depth=1
## => This Inner Loop Header: Depth=2
movq 8(%r15), %r13
movl (%r15), %edi
callq _TPM_DATA_FIFO
addq %rax, %r13
movq %r13, %rdi
callq _ioread8
movl %eax, (%r12,%r14,4)
incq %r14
cmpq %rbx, %r14
jb LBB0_7
## %bb.8: ## in Loop: Header=BB0_1 Depth=1
movl %r14d, %r13d
movq -48(%rbp), %r12 ## 8-byte Reload
jmp LBB0_1
LBB0_9:
movl %r13d, %eax
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _TPM_STS_DATA_AVAIL,4,2 ## @TPM_STS_DATA_AVAIL
.comm _TPM_STS_VALID,4,2 ## @TPM_STS_VALID
.no_dead_strip _recv_data
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function recv_data
_recv_data: ; @recv_data
.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
mov w8, #0 ; =0x0
Lloh0:
adrp x23, _TPM_STS_DATA_AVAIL@GOTPAGE
Lloh1:
ldr x23, [x23, _TPM_STS_DATA_AVAIL@GOTPAGEOFF]
Lloh2:
adrp x24, _TPM_STS_VALID@GOTPAGE
Lloh3:
ldr x24, [x24, _TPM_STS_VALID@GOTPAGEOFF]
LBB0_1: ; =>This Loop Header: Depth=1
; Child Loop BB0_2 Depth 2
; Child Loop BB0_4 Depth 2
; Child Loop BB0_6 Depth 2
sxtw x22, w8
cmp x22, x19
b.hs LBB0_4
LBB0_2: ; Parent Loop BB0_1 Depth=1
; => This Inner Loop Header: Depth=2
mov x0, x21
bl _get_burstcount
cmp w0, #1
b.ge LBB0_6
; %bb.3: ; in Loop: Header=BB0_2 Depth=2
cmp x22, x19
b.lo LBB0_2
LBB0_4: ; Parent Loop BB0_1 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [x23]
ldr w9, [x24]
ldr w2, [x21, #20]
orr w1, w9, w8
add x3, x21, #16
mov x0, x21
bl _wait_for_tpm_stat
cbnz x0, LBB0_8
; %bb.5: ; in Loop: Header=BB0_4 Depth=2
mov x0, x21
bl _get_burstcount
cmp x22, x19
b.lo LBB0_2
b LBB0_4
LBB0_6: ; Parent Loop BB0_1 Depth=1
; => This Inner Loop Header: Depth=2
ldr x25, [x21, #8]
ldr w0, [x21]
bl _TPM_DATA_FIFO
add x0, x0, x25
bl _ioread8
add x8, x22, #1
str w0, [x20, x22, lsl #2]
mov x22, x8
cmp x8, x19
b.lo LBB0_6
; %bb.7: ; in Loop: Header=BB0_1 Depth=1
; kill: def $w8 killed $w8 killed $x8 def $x8
b LBB0_1
LBB0_8:
mov x0, x22
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
ldp x24, x23, [sp, #16] ; 16-byte Folded Reload
ldp x26, x25, [sp], #80 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _TPM_STS_DATA_AVAIL,4,2 ; @TPM_STS_DATA_AVAIL
.comm _TPM_STS_VALID,4,2 ; @TPM_STS_VALID
.no_dead_strip _recv_data
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function _bt_vacuum_one_page
__bt_vacuum_one_page: ## @_bt_vacuum_one_page
.cfi_startproc
## %bb.0:
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, -60(%rbp) ## 4-byte Spill
movl %esi, %ebx
movl %edi, -52(%rbp) ## 4-byte Spill
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
movq _MaxOffsetNumber@GOTPCREL(%rip), %rax
movl (%rax), %eax
shlq $3, %rax
callq ____chkstk_darwin
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq %rsp, %r12
movl %ebx, -56(%rbp) ## 4-byte Spill
movl %ebx, %edi
callq _BufferGetPage
movl %eax, %r13d
movl %eax, %edi
callq _PageGetSpecialPointer
movl %eax, %ebx
movl %eax, %edi
callq _P_ISLEAF
movl %eax, %edi
callq _Assert
movl %ebx, %edi
callq _P_FIRSTDATAKEY
movq %rax, %r15
movl %r13d, %edi
callq _PageGetMaxOffsetNumber
xorl %ebx, %ebx
cmpq %rax, %r15
jg LBB0_6
## %bb.1:
movq %rax, %r14
xorl %ebx, %ebx
jmp LBB0_2
.p2align 4, 0x90
LBB0_4: ## in Loop: Header=BB0_2 Depth=1
movq %r15, %rdi
callq _OffsetNumberNext
movq %rax, %r15
cmpq %r14, %rax
jg LBB0_5
LBB0_2: ## =>This Inner Loop Header: Depth=1
movl %r13d, %edi
movq %r15, %rsi
callq _PageGetItemId
movl %eax, %edi
callq _ItemIdIsDead
testq %rax, %rax
je LBB0_4
## %bb.3: ## in Loop: Header=BB0_2 Depth=1
movslq %ebx, %rax
incl %ebx
movq %r15, (%r12,%rax,8)
jmp LBB0_4
LBB0_5:
testl %ebx, %ebx
js LBB0_7
LBB0_6:
movl -52(%rbp), %edi ## 4-byte Reload
movl -56(%rbp), %esi ## 4-byte Reload
movq %r12, %rdx
movl %ebx, %ecx
movl -60(%rbp), %r8d ## 4-byte Reload
callq __bt_delitems_delete
LBB0_7:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB0_9
## %bb.8:
leaq -40(%rbp), %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_9:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.comm _MaxOffsetNumber,4,2 ## @MaxOffsetNumber
.no_dead_strip __bt_vacuum_one_page
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function _bt_vacuum_one_page
__bt_vacuum_one_page: ; @_bt_vacuum_one_page
.cfi_startproc
; %bb.0:
stp x26, x25, [sp, #-80]! ; 16-byte Folded Spill
stp x24, x23, [sp, #16] ; 16-byte Folded Spill
stp x22, x21, [sp, #32] ; 16-byte Folded Spill
stp x20, x19, [sp, #48] ; 16-byte Folded Spill
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
sub sp, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
mov x19, x2
mov x20, x1
mov x21, x0
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
stur x8, [x29, #-72]
Lloh3:
adrp x8, _MaxOffsetNumber@GOTPAGE
Lloh4:
ldr x8, [x8, _MaxOffsetNumber@GOTPAGEOFF]
Lloh5:
ldr w8, [x8]
lsl x8, x8, #3
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, #0xffffffff0
sub x22, x9, x8
mov sp, x22
mov x0, x1
bl _BufferGetPage
mov x23, x0
bl _PageGetSpecialPointer
mov x24, x0
bl _P_ISLEAF
bl _Assert
mov x0, x24
bl _P_FIRSTDATAKEY
mov x25, x0
mov x0, x23
bl _PageGetMaxOffsetNumber
cmp x25, x0
b.le LBB0_2
; %bb.1:
mov w24, #0 ; =0x0
b LBB0_7
LBB0_2:
mov x26, x0
mov w24, #0 ; =0x0
b LBB0_4
LBB0_3: ; in Loop: Header=BB0_4 Depth=1
mov x0, x25
bl _OffsetNumberNext
mov x25, x0
cmp x0, x26
b.gt LBB0_6
LBB0_4: ; =>This Inner Loop Header: Depth=1
mov x0, x23
mov x1, x25
bl _PageGetItemId
bl _ItemIdIsDead
cbz x0, LBB0_3
; %bb.5: ; in Loop: Header=BB0_4 Depth=1
str x25, [x22, w24, sxtw #3]
add w24, w24, #1
b LBB0_3
LBB0_6:
tbnz w24, #31, LBB0_8
LBB0_7:
mov x0, x21
mov x1, x20
mov x2, x22
mov x3, x24
mov x4, x19
bl __bt_delitems_delete
LBB0_8:
ldur x8, [x29, #-72]
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_10
; %bb.9:
sub sp, x29, #64
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
ldp x24, x23, [sp, #16] ; 16-byte Folded Reload
ldp x26, x25, [sp], #80 ; 16-byte Folded Reload
ret
LBB0_10:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.loh AdrpLdrGot Lloh6, Lloh7
.cfi_endproc
; -- End function
.comm _MaxOffsetNumber,4,2 ; @MaxOffsetNumber
.no_dead_strip __bt_vacuum_one_page
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function go7007_usb_i2c_master_xfer
_go7007_usb_i2c_master_xfer: ## @go7007_usb_i2c_master_xfer
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $56, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %edx, %ebx
movq %rsi, %r15
callq _i2c_get_adapdata
movq 8(%rax), %rdx
xorl %r12d, %r12d
movq _STATUS_SHUTDOWN@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rdx
jne LBB0_2
## %bb.1:
movq _ENODEV@GOTPCREL(%rip), %rax
subl (%rax), %r12d
movl %r12d, %ebx
jmp LBB0_17
LBB0_2:
movq 16(%rax), %r14
movq %rax, -72(%rbp) ## 8-byte Spill
movq (%rax), %r13
movq _EIO@GOTPCREL(%rip), %rax
subl (%rax), %r12d
movq %r14, %rdi
callq _mutex_lock
testl %ebx, %ebx
jle LBB0_16
## %bb.3:
movl %r12d, -44(%rbp) ## 4-byte Spill
movq %r14, -56(%rbp) ## 8-byte Spill
leaq 12(%r13), %rax
movq %rax, -64(%rbp) ## 8-byte Spill
leaq 4(%r13), %rax
movq %rax, -80(%rbp) ## 8-byte Spill
xorl %r14d, %r14d
jmp LBB0_4
.p2align 4, 0x90
LBB0_14: ## in Loop: Header=BB0_4 Depth=1
leal -1(%r12), %r14d
cmpl %ebx, %r12d
jg LBB0_15
LBB0_4: ## =>This Inner Loop Header: Depth=1
leal 1(%r14), %r12d
movslq %r14d, %rax
cmpl %ebx, %r12d
jge LBB0_5
## %bb.18: ## in Loop: Header=BB0_4 Depth=1
movl $1, (%r13)
leaq (%rax,%rax,2), %r14
movl 8(%r15,%r14,8), %eax
incl %eax
movl %eax, 4(%r13)
movl (%r15,%r14,8), %eax
addl %eax, %eax
movl %eax, 8(%r13)
movq 16(%r15,%r14,8), %rsi
movl 8(%r15,%r14,8), %edx
movq -64(%rbp), %rdi ## 8-byte Reload
callq _memcpy
movslq 8(%r15,%r14,8), %rax
movslq %r12d, %rcx
leaq (%rcx,%rcx,2), %rcx
movl 8(%r15,%rcx,8), %ecx
leal 4(%rax), %r9d
movl %ecx, 12(%r13,%rax,4)
jmp LBB0_9
.p2align 4, 0x90
LBB0_5: ## in Loop: Header=BB0_4 Depth=1
leaq (%rax,%rax,2), %rax
leaq (%r15,%rax,8), %r12
movq _I2C_M_RD@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
testl %ecx, 4(%r15,%rax,8)
je LBB0_7
## %bb.6: ## in Loop: Header=BB0_4 Depth=1
movabsq $4294967297, %rax ## imm = 0x100000001
movq %rax, (%r13)
movl (%r12), %eax
addl %eax, %eax
movl %eax, 8(%r13)
movl 8(%r12), %eax
movl %eax, 12(%r13)
movl $4, %r9d
jmp LBB0_8
LBB0_7: ## in Loop: Header=BB0_4 Depth=1
movl $0, (%r13)
movl 8(%r12), %eax
incl %eax
movl %eax, 4(%r13)
movl (%r12), %eax
addl %eax, %eax
movl %eax, 8(%r13)
movq 16(%r12), %rsi
movl 8(%r12), %edx
movq -64(%rbp), %rdi ## 8-byte Reload
callq _memcpy
movslq 8(%r12), %rax
leal 4(%rax), %r9d
movl $0, 12(%r13,%rax,4)
LBB0_8: ## in Loop: Header=BB0_4 Depth=1
movl %r14d, %r12d
LBB0_9: ## in Loop: Header=BB0_4 Depth=1
movl $0, (%rsp)
movq -72(%rbp), %rdi ## 8-byte Reload
movl $36, %esi
xorl %edx, %edx
xorl %ecx, %ecx
movq %r13, %r8
callq _go7007_usb_vendor_request
testq %rax, %rax
js LBB0_10
## %bb.11: ## in Loop: Header=BB0_4 Depth=1
movslq %r12d, %rax
leaq (%rax,%rax,2), %rax
movq _I2C_M_RD@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
testl %ecx, 4(%r15,%rax,8)
je LBB0_14
## %bb.12: ## in Loop: Header=BB0_4 Depth=1
leaq (%r15,%rax,8), %r14
movl 8(%r14), %edx
incl %edx
movq %r13, %rdi
xorl %esi, %esi
callq _memset
movl 8(%r14), %r9d
incl %r9d
movl $1, (%rsp)
movq -72(%rbp), %rdi ## 8-byte Reload
movl $37, %esi
xorl %edx, %edx
xorl %ecx, %ecx
movq %r13, %r8
callq _go7007_usb_vendor_request
testq %rax, %rax
js LBB0_10
## %bb.13: ## in Loop: Header=BB0_4 Depth=1
movq 16(%r14), %rdi
movl 8(%r14), %edx
movq -80(%rbp), %rsi ## 8-byte Reload
callq _memcpy
jmp LBB0_14
LBB0_10:
movl -44(%rbp), %ebx ## 4-byte Reload
LBB0_15:
movq -56(%rbp), %r14 ## 8-byte Reload
LBB0_16:
movq %r14, %rdi
callq _mutex_unlock
LBB0_17:
movl %ebx, %eax
addq $56, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _EIO,4,2 ## @EIO
.comm _STATUS_SHUTDOWN,8,3 ## @STATUS_SHUTDOWN
.comm _ENODEV,4,2 ## @ENODEV
.comm _I2C_M_RD,4,2 ## @I2C_M_RD
.no_dead_strip _go7007_usb_i2c_master_xfer
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function go7007_usb_i2c_master_xfer
_go7007_usb_i2c_master_xfer: ; @go7007_usb_i2c_master_xfer
.cfi_startproc
; %bb.0:
sub sp, sp, #128
stp d9, d8, [sp, #16] ; 16-byte Folded Spill
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
.cfi_offset b8, -104
.cfi_offset b9, -112
mov x19, x2
mov x21, x1
bl _i2c_get_adapdata
ldr x8, [x0, #8]
Lloh0:
adrp x9, _STATUS_SHUTDOWN@GOTPAGE
Lloh1:
ldr x9, [x9, _STATUS_SHUTDOWN@GOTPAGEOFF]
Lloh2:
ldr x9, [x9]
cmp x8, x9
b.ne LBB0_2
; %bb.1:
Lloh3:
adrp x8, _ENODEV@GOTPAGE
Lloh4:
ldr x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh5:
ldr w8, [x8]
neg w19, w8
b LBB0_17
LBB0_2:
mov x22, x0
ldr x20, [x0, #16]
ldr x23, [x0]
Lloh6:
adrp x8, _EIO@GOTPAGE
Lloh7:
ldr x8, [x8, _EIO@GOTPAGEOFF]
Lloh8:
ldr w24, [x8]
mov x0, x20
bl _mutex_lock
cmp w19, #1
b.lt LBB0_16
; %bb.3:
mov w26, #0 ; =0x0
neg w8, w24
str w8, [sp, #12] ; 4-byte Folded Spill
add x24, x23, #12
movi.2s v8, #1
mov w27, #24 ; =0x18
Lloh9:
adrp x28, _I2C_M_RD@GOTPAGE
Lloh10:
ldr x28, [x28, _I2C_M_RD@GOTPAGEOFF]
b LBB0_5
LBB0_4: ; in Loop: Header=BB0_5 Depth=1
sub w26, w25, #1
cmp w25, w19
b.gt LBB0_16
LBB0_5: ; =>This Inner Loop Header: Depth=1
sxtw x8, w26
add x25, x8, #1
cmp w25, w19
b.ge LBB0_7
; %bb.6: ; in Loop: Header=BB0_5 Depth=1
mov w9, #1 ; =0x1
str w9, [x23]
smaddl x26, w8, w27, x21
ldr w8, [x26, #8]
add w8, w8, #1
str w8, [x23, #4]
ldr w8, [x26]
lsl w8, w8, #1
str w8, [x23, #8]
ldr x1, [x26, #16]
ldr w2, [x26, #8]
mov x0, x24
bl _memcpy
ldrsw x8, [x26, #8]
madd x9, x25, x27, x21
ldr w9, [x9, #8]
add w5, w8, #4
str w9, [x24, x8, lsl #2]
b LBB0_11
LBB0_7: ; in Loop: Header=BB0_5 Depth=1
smaddl x25, w8, w27, x21
ldr w8, [x25, #4]
ldr w9, [x28]
tst w9, w8
b.eq LBB0_9
; %bb.8: ; in Loop: Header=BB0_5 Depth=1
str d8, [x23]
ldr w8, [x25]
lsl w8, w8, #1
str w8, [x23, #8]
ldr w8, [x25, #8]
str w8, [x23, #12]
mov w5, #4 ; =0x4
b LBB0_10
LBB0_9: ; in Loop: Header=BB0_5 Depth=1
str wzr, [x23]
ldr w8, [x25, #8]
add w8, w8, #1
str w8, [x23, #4]
ldr w8, [x25]
lsl w8, w8, #1
str w8, [x23, #8]
ldr x1, [x25, #16]
ldr w2, [x25, #8]
mov x0, x24
bl _memcpy
ldrsw x8, [x25, #8]
add w5, w8, #4
str wzr, [x24, x8, lsl #2]
LBB0_10: ; in Loop: Header=BB0_5 Depth=1
mov x25, x26
LBB0_11: ; in Loop: Header=BB0_5 Depth=1
mov x0, x22
mov w1, #36 ; =0x24
mov w2, #0 ; =0x0
mov w3, #0 ; =0x0
mov x4, x23
mov w6, #0 ; =0x0
bl _go7007_usb_vendor_request
tbnz x0, #63, LBB0_15
; %bb.12: ; in Loop: Header=BB0_5 Depth=1
smaddl x26, w25, w27, x21
ldr w8, [x26, #4]
ldr w9, [x28]
tst w9, w8
b.eq LBB0_4
; %bb.13: ; in Loop: Header=BB0_5 Depth=1
ldr w8, [x26, #8]
add w2, w8, #1
mov x0, x23
mov w1, #0 ; =0x0
bl _memset
ldr w8, [x26, #8]
add w5, w8, #1
mov x0, x22
mov w1, #37 ; =0x25
mov w2, #0 ; =0x0
mov w3, #0 ; =0x0
mov x4, x23
mov w6, #1 ; =0x1
bl _go7007_usb_vendor_request
tbnz x0, #63, LBB0_15
; %bb.14: ; in Loop: Header=BB0_5 Depth=1
ldr x0, [x26, #16]
ldr w2, [x26, #8]
add x1, x23, #4
bl _memcpy
b LBB0_4
LBB0_15:
ldr w19, [sp, #12] ; 4-byte Folded Reload
LBB0_16:
mov x0, x20
bl _mutex_unlock
LBB0_17:
mov x0, x19
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
ldp d9, d8, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #128
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGot Lloh9, Lloh10
.cfi_endproc
; -- End function
.comm _EIO,4,2 ; @EIO
.comm _STATUS_SHUTDOWN,8,3 ; @STATUS_SHUTDOWN
.comm _ENODEV,4,2 ; @ENODEV
.comm _I2C_M_RD,4,2 ; @I2C_M_RD
.no_dead_strip _go7007_usb_i2c_master_xfer
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function TextLoad
_TextLoad: ## @TextLoad
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %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, %r15
movq %rdi, -48(%rbp) ## 8-byte Spill
xorl %r13d, %r13d
movq _INT_MAX@GOTPCREL(%rip), %rbx
xorl %r14d, %r14d
.p2align 4, 0x90
LBB0_1: ## =>This Inner Loop Header: Depth=1
movq %r15, %rdi
callq _vlc_stream_ReadLine
movq %rax, %r12
testq %rax, %rax
je LBB0_3
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movslq (%rbx), %rax
shrq $3, %rax
cmpq %rax, %r13
jae LBB0_5
LBB0_3: ## in Loop: Header=BB0_1 Depth=1
leaq -8(,%r13,8), %rsi
movq %r14, %rdi
callq _realloc
testq %rax, %rax
je LBB0_5
## %bb.4: ## in Loop: Header=BB0_1 Depth=1
movq %r12, (%rax,%r13,8)
incq %r13
movq %rax, %r14
jmp LBB0_1
LBB0_5:
movq %r12, %rdi
callq _free
movq -48(%rbp), %rax ## 8-byte Reload
movq %r13, (%rax)
movq $0, 16(%rax)
movq %r14, 8(%rax)
movq _VLC_SUCCESS@GOTPCREL(%rip), %rax
movl (%rax), %eax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _INT_MAX,4,2 ## @INT_MAX
.comm _VLC_SUCCESS,4,2 ## @VLC_SUCCESS
.no_dead_strip _TextLoad
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function TextLoad
_TextLoad: ; @TextLoad
.cfi_startproc
; %bb.0:
stp 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, x1
mov x19, x0
mov x23, #0 ; =0x0
mov x20, #0 ; =0x0
Lloh0:
adrp x24, _INT_MAX@GOTPAGE
Lloh1:
ldr x24, [x24, _INT_MAX@GOTPAGEOFF]
LBB0_1: ; =>This Inner Loop Header: Depth=1
mov x0, x21
bl _vlc_stream_ReadLine
mov x22, x0
cbz x0, LBB0_3
; %bb.2: ; in Loop: Header=BB0_1 Depth=1
ldrsw x8, [x24]
cmp x23, x8, lsr #3
b.hs LBB0_5
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
lsl x8, x23, #3
sub x1, x8, #8
mov x0, x20
bl _realloc
cbz x0, LBB0_5
; %bb.4: ; in Loop: Header=BB0_1 Depth=1
str x22, [x0, x23, lsl #3]
add x23, x23, #1
mov x20, x0
b LBB0_1
LBB0_5:
mov x0, x22
bl _free
stp x20, xzr, [x19, #8]
str x23, [x19]
Lloh2:
adrp x8, _VLC_SUCCESS@GOTPAGE
Lloh3:
ldr x8, [x8, _VLC_SUCCESS@GOTPAGEOFF]
Lloh4:
ldr w0, [x8]
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.cfi_endproc
; -- End function
.comm _INT_MAX,4,2 ; @INT_MAX
.comm _VLC_SUCCESS,4,2 ; @VLC_SUCCESS
.no_dead_strip _TextLoad
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function qsynth_read_variable
_qsynth_read_variable: ## @qsynth_read_variable
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl $0, (%rsi)
xorl %eax, %eax
xorl %ecx, %ecx
.p2align 4, 0x90
LBB0_1: ## =>This Inner Loop Header: Depth=1
shll $7, %ecx
movl (%rdi,%rax,4), %edx
andl $127, %edx
subl %edx, %ecx
movl %ecx, (%rsi)
testb $-128, (%rdi,%rax,4)
leaq -1(%rax), %rax
jne LBB0_1
## %bb.2:
## kill: def $eax killed $eax killed $rax
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _qsynth_read_variable
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function qsynth_read_variable
_qsynth_read_variable: ; @qsynth_read_variable
.cfi_startproc
; %bb.0:
mov x8, #0 ; =0x0
mov w9, #0 ; =0x0
str wzr, [x1]
LBB0_1: ; =>This Inner Loop Header: Depth=1
lsl w9, w9, #7
ldr w10, [x0, x8, lsl #2]
and w10, w10, #0x7f
sub w9, w9, w10
str w9, [x1]
ldr w10, [x0, x8, lsl #2]
sub x8, x8, #1
tbnz w10, #7, LBB0_1
; %bb.2:
mov x0, x8
ret
.cfi_endproc
; -- End function
.no_dead_strip _qsynth_read_variable
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _nouveau_hwmon_init ## -- Begin function nouveau_hwmon_init
.p2align 4, 0x90
_nouveau_hwmon_init: ## @nouveau_hwmon_init
.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
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _ENOMEM,4,2 ## @ENOMEM
.comm _GFP_KERNEL,4,2 ## @GFP_KERNEL
.comm _N_ATTR_GROUPS,4,2 ## @N_ATTR_GROUPS
.comm _nouveau_chip_info,4,2 ## @nouveau_chip_info
.comm _pwm_fan_sensor_group,4,2 ## @pwm_fan_sensor_group
.comm _temp1_auto_point_sensor_group,4,2 ## @temp1_auto_point_sensor_group
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _nouveau_hwmon_init ; -- Begin function nouveau_hwmon_init
.p2align 2
_nouveau_hwmon_init: ; @nouveau_hwmon_init
.cfi_startproc
; %bb.0:
mov w0, #0 ; =0x0
ret
.cfi_endproc
; -- End function
.comm _ENOMEM,4,2 ; @ENOMEM
.comm _GFP_KERNEL,4,2 ; @GFP_KERNEL
.comm _N_ATTR_GROUPS,4,2 ; @N_ATTR_GROUPS
.comm _nouveau_chip_info,4,2 ; @nouveau_chip_info
.comm _pwm_fan_sensor_group,4,2 ; @pwm_fan_sensor_group
.comm _temp1_auto_point_sensor_group,4,2 ; @temp1_auto_point_sensor_group
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function myri10ge_get_ethtool_stats
_myri10ge_get_ethtool_stats: ## @myri10ge_get_ethtool_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
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, %r15
callq _netdev_priv
movq %rax, %rbx
leaq -44(%rbp), %r12
xorl %r13d, %r13d
movq %r12, %rdi
xorl %esi, %esi
movl $4, %edx
callq _memset
movq %r15, %rdi
movq %r12, %rsi
callq _myri10ge_get_stats
movq _MYRI10GE_NET_STATS_LEN@GOTPCREL(%rip), %rax
cmpl $0, (%rax)
jle LBB0_3
## %bb.1:
movl -44(%rbp), %ecx
xorl %r13d, %r13d
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
movl %ecx, (%r14,%r13,4)
incq %r13
movslq (%rax), %rdx
cmpq %rdx, %r13
jl LBB0_2
LBB0_3:
movl 96(%rbx), %eax
movl %eax, (%r14,%r13,4)
movq 88(%rbx), %rax
movl (%rax), %eax
movl %eax, 4(%r14,%r13,4)
movups 56(%rbx), %xmm0
movups 72(%rbx), %xmm1
shufps $34, %xmm0, %xmm1 ## xmm1 = xmm1[2,0],xmm0[2,0]
movups %xmm1, 8(%r14,%r13,4)
movl 48(%rbx), %eax
movl %eax, 24(%r14,%r13,4)
movl 40(%rbx), %eax
movl %eax, 28(%r14,%r13,4)
movl 32(%rbx), %eax
movl %eax, 32(%r14,%r13,4)
movl 16(%rbx), %eax
movl %eax, 36(%r14,%r13,4)
movq 8(%rbx), %r15
movq 72(%r15), %rax
movl 44(%rax), %edi
callq _ntohl
movl %eax, 40(%r14,%r13,4)
movq 72(%r15), %rax
movl 40(%rax), %edi
callq _ntohl
movl %eax, 44(%r14,%r13,4)
movq 72(%r15), %rax
movl 36(%rax), %edi
callq _ntohl
movl %eax, 48(%r14,%r13,4)
movq 72(%r15), %rax
movl 32(%rax), %edi
callq _ntohl
movl %eax, 52(%r14,%r13,4)
movq 72(%r15), %rax
movl 28(%rax), %edi
callq _ntohl
movl %eax, 56(%r14,%r13,4)
movq 72(%r15), %rax
movl 24(%rax), %edi
callq _ntohl
movl %eax, 60(%r14,%r13,4)
movq 72(%r15), %rax
movl 20(%rax), %edi
callq _ntohl
movl %eax, 64(%r14,%r13,4)
movq 72(%r15), %rax
movl 16(%rax), %edi
callq _ntohl
movl %eax, 68(%r14,%r13,4)
movq 72(%r15), %rax
movl 12(%rax), %edi
callq _ntohl
movl %eax, 72(%r14,%r13,4)
movq 72(%r15), %rax
movl 8(%rax), %edi
callq _ntohl
movl %eax, 76(%r14,%r13,4)
movq 72(%r15), %rax
movl 4(%rax), %edi
callq _ntohl
movl %eax, 80(%r14,%r13,4)
movq 72(%r15), %rax
movl (%rax), %edi
callq _ntohl
movl %eax, 84(%r14,%r13,4)
cmpl $0, (%rbx)
jle LBB0_6
## %bb.4:
movq 8(%rbx), %rax
leaq (%r14,%r13,4), %rcx
addq $124, %rcx
xorl %edx, %edx
.p2align 4, 0x90
LBB0_5: ## =>This Inner Loop Header: Depth=1
movl %edx, -36(%rcx)
movups 24(%rax), %xmm0
movups 40(%rax), %xmm1
shufps $34, %xmm0, %xmm1 ## xmm1 = xmm1[2,0],xmm0[2,0]
movups %xmm1, -32(%rcx)
movl 64(%rax), %esi
movl %esi, -16(%rcx)
movl 56(%rax), %esi
movl %esi, -12(%rcx)
movl 16(%rax), %esi
movl %esi, -8(%rcx)
movl 8(%rax), %esi
movl %esi, -4(%rcx)
movl (%rax), %esi
movl %esi, (%rcx)
incq %rdx
movslq (%rbx), %rsi
addq $88, %rax
addq $40, %rcx
cmpq %rsi, %rdx
jl LBB0_5
LBB0_6:
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _MYRI10GE_NET_STATS_LEN,4,2 ## @MYRI10GE_NET_STATS_LEN
.no_dead_strip _myri10ge_get_ethtool_stats
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function myri10ge_get_ethtool_stats
_myri10ge_get_ethtool_stats: ; @myri10ge_get_ethtool_stats
.cfi_startproc
; %bb.0:
sub sp, sp, #64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x20, x2
mov x21, x0
bl _netdev_priv
mov x19, x0
add x0, sp, #12
mov w1, #0 ; =0x0
mov w2, #4 ; =0x4
bl _memset
add x1, sp, #12
mov x0, x21
bl _myri10ge_get_stats
Lloh0:
adrp x8, _MYRI10GE_NET_STATS_LEN@GOTPAGE
Lloh1:
ldr x8, [x8, _MYRI10GE_NET_STATS_LEN@GOTPAGEOFF]
ldr w9, [x8]
cmp w9, #1
b.lt LBB0_3
; %bb.1:
mov x9, #0 ; =0x0
ldr w10, [sp, #12]
LBB0_2: ; =>This Inner Loop Header: Depth=1
str w10, [x20, x9, lsl #2]
add x9, x9, #1
ldrsw x11, [x8]
cmp x9, x11
b.lt LBB0_2
b LBB0_4
LBB0_3:
mov x9, #0 ; =0x0
LBB0_4:
add x20, x20, x9, lsl #2
ldp x9, x8, [x19, #88]
ldr x9, [x9]
stp w8, w9, [x20]
ldur q0, [x19, #72]
ldur q1, [x19, #56]
uzp1.4s v0, v1, v0
rev64.4s v0, v0
ext.16b v0, v0, v0, #8
stur q0, [x20, #8]
ldp x9, x8, [x19, #40]
ldr x10, [x19, #32]
stp w8, w9, [x20, #24]
ldp x21, x8, [x19, #8]
stp w10, w8, [x20, #32]
ldr x8, [x21, #72]
ldr w0, [x8, #44]
bl _ntohl
str w0, [x20, #40]
ldr x8, [x21, #72]
ldr w0, [x8, #40]
bl _ntohl
str w0, [x20, #44]
ldr x8, [x21, #72]
ldr w0, [x8, #36]
bl _ntohl
str w0, [x20, #48]
ldr x8, [x21, #72]
ldr w0, [x8, #32]
bl _ntohl
str w0, [x20, #52]
ldr x8, [x21, #72]
ldr w0, [x8, #28]
bl _ntohl
str w0, [x20, #56]
ldr x8, [x21, #72]
ldr w0, [x8, #24]
bl _ntohl
str w0, [x20, #60]
ldr x8, [x21, #72]
ldr w0, [x8, #20]
bl _ntohl
str w0, [x20, #64]
ldr x8, [x21, #72]
ldr w0, [x8, #16]
bl _ntohl
str w0, [x20, #68]
ldr x8, [x21, #72]
ldr w0, [x8, #12]
bl _ntohl
str w0, [x20, #72]
ldr x8, [x21, #72]
ldr w0, [x8, #8]
bl _ntohl
str w0, [x20, #76]
ldr x8, [x21, #72]
ldr w0, [x8, #4]
bl _ntohl
str w0, [x20, #80]
ldr x8, [x21, #72]
ldr w0, [x8]
bl _ntohl
str w0, [x20, #84]
ldr w8, [x19]
cmp w8, #1
b.lt LBB0_7
; %bb.5:
mov x8, #0 ; =0x0
ldr x9, [x19, #8]
add x10, x20, #124
LBB0_6: ; =>This Inner Loop Header: Depth=1
ldp x12, x11, [x9, #56]
stp w11, w12, [x10, #-16]
ldp x12, x11, [x9, #8]
ldr x13, [x9]
stp w11, w12, [x10, #-8]
stur w8, [x10, #-36]
ldur q0, [x9, #40]
ldur q1, [x9, #24]
uzp1.4s v0, v1, v0
rev64.4s v0, v0
ext.16b v0, v0, v0, #8
stur q0, [x10, #-32]
str w13, [x10], #40
add x8, x8, #1
ldrsw x11, [x19]
add x9, x9, #88
cmp x8, x11
b.lt 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
add sp, sp, #64
ret
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _MYRI10GE_NET_STATS_LEN,4,2 ; @MYRI10GE_NET_STATS_LEN
.no_dead_strip _myri10ge_get_ethtool_stats
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function aout_FiltersPipelineCreate
_aout_FiltersPipelineCreate: ## @aout_FiltersPipelineCreate
.cfi_startproc
## %bb.0:
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 $136, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %r9, %r12
movq %r8, %r14
movl %ecx, -72(%rbp) ## 4-byte Spill
movq %rdx, %rbx
movq %rsi, -48(%rbp) ## 8-byte Spill
movq %rdi, %r15
leaq L_.str(%rip), %rsi
movq %r8, %rdx
movq %r9, %rcx
callq _aout_FormatsPrint
movl (%rbx), %r13d
movq 32(%r14), %rax
movq %rax, -80(%rbp)
movups (%r14), %xmm0
movups 16(%r14), %xmm1
movaps %xmm1, -96(%rbp)
movaps %xmm0, -112(%rbp)
leaq -112(%rbp), %rdi
callq _AOUT_FMT_LINEAR
testl %eax, %eax
je LBB0_8
## %bb.1:
movq %r15, -64(%rbp) ## 8-byte Spill
movq %rbx, -168(%rbp) ## 8-byte Spill
movl -72(%rbp), %ebx ## 4-byte Reload
movl %ebx, %edx
subl %r13d, %edx
movq -48(%rbp), %rax ## 8-byte Reload
leaq (%rax,%r13,8), %rdi
movq (%r14), %rax
cmpq (%r12), %rax
movq %r12, %r15
movq %r13, %rcx
movq %rdi, -48(%rbp) ## 8-byte Spill
je LBB0_3
## %bb.2:
movq 8(%r14), %rax
cmpq 8(%r15), %rax
jne LBB0_4
LBB0_3:
movq 16(%r14), %rax
xorl %r8d, %r8d
cmpq 16(%r15), %rax
je LBB0_17
LBB0_4:
movq _VLC_CODEC_FL32@GOTPCREL(%rip), %rax
movq (%rax), %rsi
xorl %eax, %eax
cmpq %rsi, -88(%rbp)
jne LBB0_9
LBB0_5:
movl %edx, %r12d
cmpl %edx, %eax
je LBB0_25
## %bb.6:
movl %edx, %r13d
movq %rcx, -72(%rbp) ## 8-byte Spill
movl %eax, -52(%rbp) ## 4-byte Spill
movl 16(%rbp), %r12d
movups -88(%rbp), %xmm0
movups %xmm0, -136(%rbp)
movq 16(%r15), %rax
movq %rax, -144(%rbp)
movups (%r15), %xmm0
movaps %xmm0, -160(%rbp)
leaq -160(%rbp), %rdi
callq _aout_FormatPrepare
movq 16(%r14), %rax
cmpq 16(%r15), %rax
leaq L_.str.5(%rip), %rax
leaq L_.str.4(%rip), %r14
cmoveq %rax, %r14
movq $0, -120(%rbp)
testl %r12d, %r12d
je LBB0_12
## %bb.7:
leaq L_.str.6(%rip), %rsi
leaq -120(%rbp), %rdi
callq _config_ChainParseOptions
movq -120(%rbp), %rax
jmp LBB0_13
LBB0_8:
leaq L_.str.1(%rip), %rsi
movq %r15, %rdi
xorl %eax, %eax
callq _msg_Err
movl $-1, %eax
jmp LBB0_31
LBB0_9:
xorl %r12d, %r12d
cmpl %ecx, %ebx
je LBB0_25
## %bb.10:
movl %edx, -52(%rbp) ## 4-byte Spill
movq %rcx, %r13
movq %r15, %r12
leaq -112(%rbp), %rdx
movq -64(%rbp), %r15 ## 8-byte Reload
movq %r15, %rdi
callq _TryFormat
testq %rax, %rax
je LBB0_33
## %bb.11:
leaq L_.str.2(%rip), %rsi
leaq L_.str.3(%rip), %rdx
movq %r15, %rdi
xorl %eax, %eax
callq _msg_Err
xorl %esi, %esi
jmp LBB0_26
LBB0_12:
xorl %eax, %eax
LBB0_13:
movq -48(%rbp), %r12 ## 8-byte Reload
leaq -112(%rbp), %r8
leaq -160(%rbp), %r9
movq -64(%rbp), %rdi ## 8-byte Reload
xorl %esi, %esi
movq %r14, %rdx
xorl %ecx, %ecx
pushq $1
pushq %rax
callq _CreateFilter
addq $16, %rsp
movq %rax, %r14
movq -120(%rbp), %rdi
testq %rdi, %rdi
je LBB0_15
## %bb.14:
callq _config_ChainDestroy
LBB0_15:
testq %r14, %r14
je LBB0_32
## %bb.16:
movq -128(%rbp), %rax
movq %rax, -80(%rbp)
movaps -160(%rbp), %xmm0
movaps -144(%rbp), %xmm1
movaps %xmm1, -96(%rbp)
movaps %xmm0, -112(%rbp)
movl -52(%rbp), %r8d ## 4-byte Reload
movl %r8d, %eax
incl %r8d
movq %r12, %rdi
movq %r14, (%r12,%rax,8)
movq -72(%rbp), %rcx ## 8-byte Reload
movl %r13d, %edx
LBB0_17:
movq 32(%r15), %rax
cmpq %rax, -80(%rbp)
je LBB0_21
## %bb.18:
movl %edx, %r12d
cmpl %edx, %r8d
je LBB0_25
## %bb.19:
movl %edx, %r13d
movq %rcx, -72(%rbp) ## 8-byte Spill
movq %r15, %r12
movl %r8d, %r14d
movaps -112(%rbp), %xmm0
movaps -96(%rbp), %xmm1
movaps %xmm1, -144(%rbp)
movaps %xmm0, -160(%rbp)
movq %rax, -128(%rbp)
leaq -112(%rbp), %rsi
leaq -160(%rbp), %rdx
movq -64(%rbp), %r15 ## 8-byte Reload
movq %r15, %rdi
callq _FindConverter
testq %rax, %rax
je LBB0_34
## %bb.20:
movq -128(%rbp), %rcx
movq %rcx, -80(%rbp)
movaps -160(%rbp), %xmm0
movaps -144(%rbp), %xmm1
movaps %xmm1, -96(%rbp)
movaps %xmm0, -112(%rbp)
movl %r14d, %r8d
movl %r14d, %ecx
incl %r8d
movq -48(%rbp), %rdi ## 8-byte Reload
movq %rax, (%rdi,%rcx,8)
movq %r12, %r15
movq -72(%rbp), %rcx ## 8-byte Reload
movl %r13d, %edx
LBB0_21:
movq 24(%r15), %rsi
cmpq %rsi, -88(%rbp)
jne LBB0_23
## %bb.22:
movl %r8d, %r15d
movq -168(%rbp), %r14 ## 8-byte Reload
jmp LBB0_30
LBB0_23:
cmpl %ecx, %ebx
jne LBB0_28
## %bb.24:
movl %r8d, %r12d
LBB0_25:
leaq L_.str.11(%rip), %rsi
movq -64(%rbp), %rbx ## 8-byte Reload
movq %rbx, %rdi
xorl %eax, %eax
movl %edx, %r15d
callq _msg_Err
leaq L_.str.12(%rip), %rdi
callq __
movl %eax, %r14d
leaq L_.str.13(%rip), %rdi
callq __
movq %rbx, %rdi
movl %r14d, %esi
movl %eax, %edx
movl %r15d, %ecx
callq _vlc_dialog_display_error
movl %r12d, %esi
LBB0_26:
movq -48(%rbp), %rdi ## 8-byte Reload
LBB0_27:
callq _aout_FiltersPipelineDestroy
movl $-1, %eax
jmp LBB0_31
LBB0_28:
movl %r8d, %r15d
movq %rdi, %r12
leaq -112(%rbp), %rdx
movq -64(%rbp), %rbx ## 8-byte Reload
movq %rbx, %rdi
callq _TryFormat
testq %rax, %rax
movq -168(%rbp), %r14 ## 8-byte Reload
je LBB0_35
## %bb.29:
movl %r15d, %ecx
incl %r15d
movq %rax, (%r12,%rcx,8)
LBB0_30:
leaq L_.str.10(%rip), %rsi
movq -64(%rbp), %rdi ## 8-byte Reload
callq _msg_Dbg
addl %r15d, (%r14)
xorl %eax, %eax
LBB0_31:
addq $136, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_32:
leaq L_.str.2(%rip), %rsi
leaq L_.str.7(%rip), %rdx
movq -64(%rbp), %rdi ## 8-byte Reload
xorl %eax, %eax
callq _msg_Err
movq %r12, %rdi
movl -52(%rbp), %esi ## 4-byte Reload
jmp LBB0_27
LBB0_33:
movq -48(%rbp), %rax ## 8-byte Reload
movq $0, (%rax)
movl $1, %eax
movq %r12, %r15
movq %r13, %rcx
movl -52(%rbp), %edx ## 4-byte Reload
jmp LBB0_5
LBB0_34:
leaq L_.str.2(%rip), %rsi
leaq L_.str.8(%rip), %rdx
movq %r15, %rdi
xorl %eax, %eax
callq _msg_Err
movq -48(%rbp), %rdi ## 8-byte Reload
movl %r14d, %esi
jmp LBB0_27
LBB0_35:
leaq L_.str.2(%rip), %rsi
leaq L_.str.9(%rip), %rdx
movq %rbx, %rdi
xorl %eax, %eax
callq _msg_Err
movq %r12, %rdi
movl %r15d, %esi
jmp LBB0_27
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "conversion:"
L_.str.1: ## @.str.1
.asciz "Can't convert non linear input"
.comm _VLC_CODEC_FL32,8,3 ## @VLC_CODEC_FL32
L_.str.2: ## @.str.2
.asciz "cannot find %s for conversion pipeline"
L_.str.3: ## @.str.3
.asciz "pre-mix converter"
L_.str.4: ## @.str.4
.asciz "audio renderer"
L_.str.5: ## @.str.5
.asciz "audio converter"
L_.str.6: ## @.str.6
.asciz "{headphones=true}"
L_.str.7: ## @.str.7
.asciz "remixer"
L_.str.8: ## @.str.8
.asciz "resampler"
L_.str.9: ## @.str.9
.asciz "post-mix converter"
L_.str.10: ## @.str.10
.asciz "conversion pipeline complete"
L_.str.11: ## @.str.11
.asciz "maximum of %u conversion filters reached"
L_.str.12: ## @.str.12
.asciz "Audio filtering failed"
L_.str.13: ## @.str.13
.asciz "The maximum number of filters (%u) was reached."
.no_dead_strip _aout_FiltersPipelineCreate
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function aout_FiltersPipelineCreate
_aout_FiltersPipelineCreate: ; @aout_FiltersPipelineCreate
.cfi_startproc
; %bb.0:
sub sp, sp, #224
stp x28, x27, [sp, #128] ; 16-byte Folded Spill
stp x26, x25, [sp, #144] ; 16-byte Folded Spill
stp x24, x23, [sp, #160] ; 16-byte Folded Spill
stp x22, x21, [sp, #176] ; 16-byte Folded Spill
stp x20, x19, [sp, #192] ; 16-byte Folded Spill
stp x29, x30, [sp, #208] ; 16-byte Folded Spill
add x29, sp, #208
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
mov x26, x6
mov x24, x5
mov x27, x4
mov x23, x3
mov x21, x2
mov x20, x1
mov x19, x0
Lloh0:
adrp x1, l_.str@PAGE
Lloh1:
add x1, x1, l_.str@PAGEOFF
mov x2, x4
mov x3, x5
bl _aout_FormatsPrint
ldr w28, [x21]
ldp q0, q1, [x27]
stp q0, q1, [sp, #80]
ldr x8, [x27, #32]
str x8, [sp, #112]
add x0, sp, #80
bl _AOUT_FMT_LINEAR
cbz w0, LBB0_10
; %bb.1:
sub w22, w23, w28
add x25, x20, x28, lsl #3
ldr x8, [x27]
ldr x9, [x24]
cmp x8, x9
b.eq LBB0_3
; %bb.2:
ldr x8, [x27, #8]
ldr x9, [x24, #8]
cmp x8, x9
b.ne LBB0_5
LBB0_3:
ldr x8, [x27, #16]
ldr x9, [x24, #16]
cmp x8, x9
b.ne LBB0_5
; %bb.4:
mov w20, #0 ; =0x0
b LBB0_20
LBB0_5:
ldr x8, [sp, #104]
Lloh2:
adrp x9, _VLC_CODEC_FL32@GOTPAGE
Lloh3:
ldr x9, [x9, _VLC_CODEC_FL32@GOTPAGEOFF]
Lloh4:
ldr x1, [x9]
cmp x8, x1
b.ne LBB0_11
; %bb.6:
str x25, [sp, #16] ; 8-byte Folded Spill
mov w20, #0 ; =0x0
LBB0_7:
mov x25, x22
cmp w20, w22
b.eq LBB0_27
; %bb.8:
ldur q0, [sp, #104]
stur q0, [sp, #56]
ldr x8, [x24, #16]
str x8, [sp, #48]
ldr q0, [x24]
str q0, [sp, #32]
add x0, sp, #32
bl _aout_FormatPrepare
ldr x8, [x27, #16]
Lloh5:
adrp x9, l_.str.4@PAGE
Lloh6:
add x9, x9, l_.str.4@PAGEOFF
ldr x10, [x24, #16]
Lloh7:
adrp x11, l_.str.5@PAGE
Lloh8:
add x11, x11, l_.str.5@PAGEOFF
cmp x8, x10
csel x27, x11, x9, eq
str xzr, [sp, #24]
cbz w26, LBB0_15
; %bb.9:
Lloh9:
adrp x1, l_.str.6@PAGE
Lloh10:
add x1, x1, l_.str.6@PAGEOFF
add x0, sp, #24
bl _config_ChainParseOptions
ldr x6, [sp, #24]
b LBB0_16
LBB0_10:
Lloh11:
adrp x1, l_.str.1@PAGE
Lloh12:
add x1, x1, l_.str.1@PAGEOFF
mov x0, x19
bl _msg_Err
mov w0, #-1 ; =0xffffffff
b LBB0_33
LBB0_11:
cmp w23, w28
b.ne LBB0_13
; %bb.12:
str x25, [sp, #16] ; 8-byte Folded Spill
mov w25, #0 ; =0x0
b LBB0_27
LBB0_13:
add x2, sp, #80
mov x0, x19
bl _TryFormat
cbz x0, LBB0_35
; %bb.14:
Lloh13:
adrp x8, l_.str.3@PAGE
Lloh14:
add x8, x8, l_.str.3@PAGEOFF
str x8, [sp]
Lloh15:
adrp x1, l_.str.2@PAGE
Lloh16:
add x1, x1, l_.str.2@PAGEOFF
mov x0, x19
bl _msg_Err
mov w20, #0 ; =0x0
b LBB0_29
LBB0_15:
mov x6, #0 ; =0x0
LBB0_16:
ldr x25, [sp, #16] ; 8-byte Folded Reload
add x4, sp, #80
add x5, sp, #32
mov x0, x19
mov x1, #0 ; =0x0
mov x2, x27
mov x3, #0 ; =0x0
mov w7, #1 ; =0x1
bl _CreateFilter
mov x26, x0
ldr x0, [sp, #24]
cbz x0, LBB0_18
; %bb.17:
bl _config_ChainDestroy
LBB0_18:
cbz x26, LBB0_34
; %bb.19:
ldp q0, q1, [sp, #32]
stp q0, q1, [sp, #80]
ldr x8, [sp, #64]
str x8, [sp, #112]
str x26, [x25, w20, uxtw #3]
add w20, w20, #1
LBB0_20:
ldr x9, [sp, #112]
ldr x8, [x24, #32]
cmp x9, x8
b.eq LBB0_24
; %bb.21:
str x25, [sp, #16] ; 8-byte Folded Spill
mov x25, x22
cmp w20, w22
b.eq LBB0_27
; %bb.22:
ldp q0, q1, [sp, #80]
stp q0, q1, [sp, #32]
str x8, [sp, #64]
add x1, sp, #80
add x2, sp, #32
mov x0, x19
bl _FindConverter
cbz x0, LBB0_36
; %bb.23:
ldp q0, q1, [sp, #32]
stp q0, q1, [sp, #80]
ldr x8, [sp, #64]
str x8, [sp, #112]
ldr x25, [sp, #16] ; 8-byte Folded Reload
str x0, [x25, w20, uxtw #3]
add w20, w20, #1
LBB0_24:
ldr x8, [sp, #104]
ldr x1, [x24, #24]
cmp x8, x1
b.eq LBB0_32
; %bb.25:
cmp w23, w28
b.ne LBB0_30
; %bb.26:
str x25, [sp, #16] ; 8-byte Folded Spill
mov x25, x20
LBB0_27:
str x22, [sp]
Lloh17:
adrp x1, l_.str.11@PAGE
Lloh18:
add x1, x1, l_.str.11@PAGEOFF
mov x0, x19
bl _msg_Err
Lloh19:
adrp x0, l_.str.12@PAGE
Lloh20:
add x0, x0, l_.str.12@PAGEOFF
bl __
mov x21, x0
Lloh21:
adrp x0, l_.str.13@PAGE
Lloh22:
add x0, x0, l_.str.13@PAGEOFF
bl __
mov x2, x0
mov x0, x19
mov x1, x21
mov x3, x22
bl _vlc_dialog_display_error
mov x20, x25
LBB0_28:
ldr x25, [sp, #16] ; 8-byte Folded Reload
LBB0_29:
mov x0, x25
mov x1, x20
bl _aout_FiltersPipelineDestroy
mov w0, #-1 ; =0xffffffff
b LBB0_33
LBB0_30:
add x2, sp, #80
mov x0, x19
bl _TryFormat
cbz x0, LBB0_37
; %bb.31:
str x0, [x25, w20, uxtw #3]
add w20, w20, #1
LBB0_32:
Lloh23:
adrp x1, l_.str.10@PAGE
Lloh24:
add x1, x1, l_.str.10@PAGEOFF
mov x0, x19
bl _msg_Dbg
mov w0, #0 ; =0x0
ldr w8, [x21]
add w8, w8, w20
str w8, [x21]
LBB0_33:
ldp x29, x30, [sp, #208] ; 16-byte Folded Reload
ldp x20, x19, [sp, #192] ; 16-byte Folded Reload
ldp x22, x21, [sp, #176] ; 16-byte Folded Reload
ldp x24, x23, [sp, #160] ; 16-byte Folded Reload
ldp x26, x25, [sp, #144] ; 16-byte Folded Reload
ldp x28, x27, [sp, #128] ; 16-byte Folded Reload
add sp, sp, #224
ret
LBB0_34:
Lloh25:
adrp x8, l_.str.7@PAGE
Lloh26:
add x8, x8, l_.str.7@PAGEOFF
b LBB0_38
LBB0_35:
str x25, [sp, #16] ; 8-byte Folded Spill
str xzr, [x25]
mov w20, #1 ; =0x1
b LBB0_7
LBB0_36:
Lloh27:
adrp x8, l_.str.8@PAGE
Lloh28:
add x8, x8, l_.str.8@PAGEOFF
str x8, [sp]
Lloh29:
adrp x1, l_.str.2@PAGE
Lloh30:
add x1, x1, l_.str.2@PAGEOFF
mov x0, x19
bl _msg_Err
b LBB0_28
LBB0_37:
Lloh31:
adrp x8, l_.str.9@PAGE
Lloh32:
add x8, x8, l_.str.9@PAGEOFF
LBB0_38:
str x8, [sp]
Lloh33:
adrp x1, l_.str.2@PAGE
Lloh34:
add x1, x1, l_.str.2@PAGEOFF
mov x0, x19
bl _msg_Err
b LBB0_29
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpAdd Lloh7, Lloh8
.loh AdrpAdd Lloh5, Lloh6
.loh AdrpAdd Lloh9, Lloh10
.loh AdrpAdd Lloh11, Lloh12
.loh AdrpAdd Lloh15, Lloh16
.loh AdrpAdd Lloh13, Lloh14
.loh AdrpAdd Lloh21, Lloh22
.loh AdrpAdd Lloh19, Lloh20
.loh AdrpAdd Lloh17, Lloh18
.loh AdrpAdd Lloh23, Lloh24
.loh AdrpAdd Lloh25, Lloh26
.loh AdrpAdd Lloh29, Lloh30
.loh AdrpAdd Lloh27, Lloh28
.loh AdrpAdd Lloh31, Lloh32
.loh AdrpAdd Lloh33, Lloh34
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "conversion:"
l_.str.1: ; @.str.1
.asciz "Can't convert non linear input"
.comm _VLC_CODEC_FL32,8,3 ; @VLC_CODEC_FL32
l_.str.2: ; @.str.2
.asciz "cannot find %s for conversion pipeline"
l_.str.3: ; @.str.3
.asciz "pre-mix converter"
l_.str.4: ; @.str.4
.asciz "audio renderer"
l_.str.5: ; @.str.5
.asciz "audio converter"
l_.str.6: ; @.str.6
.asciz "{headphones=true}"
l_.str.7: ; @.str.7
.asciz "remixer"
l_.str.8: ; @.str.8
.asciz "resampler"
l_.str.9: ; @.str.9
.asciz "post-mix converter"
l_.str.10: ; @.str.10
.asciz "conversion pipeline complete"
l_.str.11: ; @.str.11
.asciz "maximum of %u conversion filters reached"
l_.str.12: ; @.str.12
.asciz "Audio filtering failed"
l_.str.13: ; @.str.13
.asciz "The maximum number of filters (%u) was reached."
.no_dead_strip _aout_FiltersPipelineCreate
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function parse_cc_stream_mapstring
_parse_cc_stream_mapstring: ## @parse_cc_stream_mapstring
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $40, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %r15
movq (%rdi), %r12
movq $0, -64(%rbp)
movq $0, -80(%rbp)
movq (%r12), %rdi
callq _av_strdup
movq %rax, -72(%rbp)
testq %rax, %rax
je LBB0_37
## %bb.1:
leaq L_.str(%rip), %rsi
leaq -64(%rbp), %rdx
movq %rax, %rdi
callq _av_strtok
testq %rax, %rax
je LBB0_4
## %bb.2:
leaq L_.str(%rip), %rbx
leaq -64(%rbp), %r14
.p2align 4, 0x90
LBB0_3: ## =>This Inner Loop Header: Depth=1
incl 8(%r12)
xorl %edi, %edi
movq %rbx, %rsi
movq %r14, %rdx
callq _av_strtok
testq %rax, %rax
jne LBB0_3
LBB0_4:
leaq -72(%rbp), %rdi
callq _av_freep
movl 8(%r12), %eax
shll $3, %eax
leal (%rax,%rax,2), %edi
callq _av_mallocz
movq %rax, 16(%r12)
testq %rax, %rax
je LBB0_5
## %bb.7:
movq (%r12), %rdi
movq %rdi, -72(%rbp)
leaq L_.str(%rip), %rsi
leaq -64(%rbp), %rdx
callq _av_strtok
testq %rax, %rax
je LBB0_8
## %bb.9:
movq %rax, %rdi
movq %r15, -48(%rbp) ## 8-byte Spill
xorl %r14d, %r14d
leaq -56(%rbp), %r13
LBB0_10: ## =>This Loop Header: Depth=1
## Child Loop BB0_16 Depth 2
movq $0, -72(%rbp)
movslq 8(%r12), %rax
cmpq %rax, %r14
jge LBB0_30
## %bb.11: ## in Loop: Header=BB0_10 Depth=1
leaq (%r14,%r14,2), %r15
shlq $3, %r15
addq 16(%r12), %r15
.p2align 4, 0x90
LBB0_16: ## Parent Loop BB0_10 Depth=1
## => This Inner Loop Header: Depth=2
leaq L_.str.1(%rip), %rsi
leaq -80(%rbp), %rdx
callq _av_strtok
movq %rax, %rbx
testq %rax, %rax
je LBB0_17
## %bb.12: ## in Loop: Header=BB0_16 Depth=2
movq %rbx, %rdi
leaq L_.str.2(%rip), %rsi
movq %r13, %rdx
callq _av_strstart
testq %rax, %rax
je LBB0_20
## %bb.13: ## in Loop: Header=BB0_16 Depth=2
movq -56(%rbp), %rdi
callq _av_strdup
movq %rax, 8(%r15)
testq %rax, %rax
jne LBB0_15
jmp LBB0_5
.p2align 4, 0x90
LBB0_20: ## in Loop: Header=BB0_16 Depth=2
movq %rbx, %rdi
leaq L_.str.3(%rip), %rsi
movq %r13, %rdx
callq _av_strstart
testq %rax, %rax
je LBB0_22
## %bb.21: ## in Loop: Header=BB0_16 Depth=2
movq -56(%rbp), %rdi
callq _av_strdup
movq %rax, (%r15)
testq %rax, %rax
jne LBB0_15
jmp LBB0_5
LBB0_22: ## in Loop: Header=BB0_16 Depth=2
movq %rbx, %rdi
leaq L_.str.4(%rip), %rsi
movq %r13, %rdx
callq _av_strstart
testq %rax, %rax
je LBB0_24
## %bb.23: ## in Loop: Header=BB0_16 Depth=2
movq -56(%rbp), %rdi
callq _av_strdup
movq %rax, 16(%r15)
testq %rax, %rax
je LBB0_5
.p2align 4, 0x90
LBB0_15: ## in Loop: Header=BB0_16 Depth=2
xorl %edi, %edi
jmp LBB0_16
.p2align 4, 0x90
LBB0_17: ## in Loop: Header=BB0_10 Depth=1
cmpq $0, 8(%r15)
je LBB0_19
## %bb.18: ## in Loop: Header=BB0_10 Depth=1
movq (%r15), %rdi
testq %rdi, %rdi
je LBB0_19
## %bb.26: ## in Loop: Header=BB0_10 Depth=1
leaq L_.str.7(%rip), %rsi
movq %r13, %rdx
callq _av_strstart
testq %rax, %rax
je LBB0_31
## %bb.27: ## in Loop: Header=BB0_10 Depth=1
movq -56(%rbp), %rdi
callq _atoi
## kill: def $eax killed $eax def $rax
leal -5(%rax), %ecx
cmpl $-5, %ecx
ja LBB0_35
jmp LBB0_28
LBB0_31: ## in Loop: Header=BB0_10 Depth=1
movq (%r15), %rdi
leaq L_.str.9(%rip), %rsi
movq %r13, %rdx
callq _av_strstart
testq %rax, %rax
je LBB0_34
## %bb.32: ## in Loop: Header=BB0_10 Depth=1
movq -56(%rbp), %rdi
callq _atoi
## kill: def $eax killed $eax def $rax
leal -64(%rax), %ecx
cmpl $-64, %ecx
jbe LBB0_33
LBB0_35: ## in Loop: Header=BB0_10 Depth=1
incq %r14
movq -72(%rbp), %rdi
leaq L_.str(%rip), %rsi
leaq -64(%rbp), %rdx
callq _av_strtok
movq %rax, %rdi
xorl %eax, %eax
testq %rdi, %rdi
jne LBB0_10
jmp LBB0_36
LBB0_5:
movq _ENOMEM@GOTPCREL(%rip), %rax
LBB0_6:
movl (%rax), %edi
callq _AVERROR
jmp LBB0_36
LBB0_37:
movq _ENOMEM@GOTPCREL(%rip), %rax
movl (%rax), %edi
addq $40, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _AVERROR ## TAILCALL
LBB0_8:
xorl %eax, %eax
LBB0_36:
addq $40, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_24:
movq _AV_LOG_ERROR@GOTPCREL(%rip), %rax
movl (%rax), %esi
leaq L_.str.5(%rip), %rdx
movq -48(%rbp), %rdi ## 8-byte Reload
movq %rbx, %rcx
LBB0_25:
xorl %eax, %eax
callq _av_log
movq _EINVAL@GOTPCREL(%rip), %rax
jmp LBB0_6
LBB0_19:
movq _AV_LOG_ERROR@GOTPCREL(%rip), %rax
movl (%rax), %esi
leaq L_.str.6(%rip), %rdx
movq -48(%rbp), %rdi ## 8-byte Reload
xorl %eax, %eax
callq _av_log
movq _EINVAL@GOTPCREL(%rip), %rax
jmp LBB0_6
LBB0_28:
movq _AV_LOG_ERROR@GOTPCREL(%rip), %rcx
movl (%rcx), %esi
movq (%r15), %r8
leaq L_.str.8(%rip), %rdx
jmp LBB0_29
LBB0_34:
movq _AV_LOG_ERROR@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq (%r15), %rcx
leaq L_.str.11(%rip), %rdx
movq -48(%rbp), %rdi ## 8-byte Reload
jmp LBB0_25
LBB0_33:
movq _AV_LOG_ERROR@GOTPCREL(%rip), %rcx
movl (%rcx), %esi
movq (%r15), %r8
leaq L_.str.10(%rip), %rdx
LBB0_29:
movq -48(%rbp), %rdi ## 8-byte Reload
movl %eax, %ecx
xorl %eax, %eax
callq _av_log
LBB0_30:
movq _EINVAL@GOTPCREL(%rip), %rax
jmp LBB0_6
.cfi_endproc
## -- End function
.comm _ENOMEM,4,2 ## @ENOMEM
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz " \t"
.comm _EINVAL,4,2 ## @EINVAL
L_.str.1: ## @.str.1
.asciz ","
L_.str.2: ## @.str.2
.asciz "ccgroup:"
L_.str.3: ## @.str.3
.asciz "instreamid:"
L_.str.4: ## @.str.4
.asciz "language:"
.comm _AV_LOG_ERROR,4,2 ## @AV_LOG_ERROR
L_.str.5: ## @.str.5
.asciz "Invalid keyval %s\n"
L_.str.6: ## @.str.6
.asciz "Insufficient parameters in cc stream map string\n"
L_.str.7: ## @.str.7
.asciz "CC"
L_.str.8: ## @.str.8
.asciz "Invalid instream ID CC index %d in %s, range 1-4\n"
L_.str.9: ## @.str.9
.asciz "SERVICE"
L_.str.10: ## @.str.10
.asciz "Invalid instream ID SERVICE index %d in %s, range 1-63 \n"
L_.str.11: ## @.str.11
.asciz "Invalid instream ID %s, supported are CCn or SERIVICEn\n"
.no_dead_strip _parse_cc_stream_mapstring
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function parse_cc_stream_mapstring
_parse_cc_stream_mapstring: ; @parse_cc_stream_mapstring
.cfi_startproc
; %bb.0:
sub sp, sp, #144
stp x28, x27, [sp, #48] ; 16-byte Folded Spill
stp x26, x25, [sp, #64] ; 16-byte Folded Spill
stp x24, x23, [sp, #80] ; 16-byte Folded Spill
stp x22, x21, [sp, #96] ; 16-byte Folded Spill
stp x20, x19, [sp, #112] ; 16-byte Folded Spill
stp x29, x30, [sp, #128] ; 16-byte Folded Spill
add x29, sp, #128
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
mov x19, x0
ldr x28, [x0]
stp xzr, xzr, [sp, #24]
ldr x0, [x28]
bl _av_strdup
str x0, [sp, #40]
cbz x0, LBB0_26
; %bb.1:
Lloh0:
adrp x1, l_.str@PAGE
Lloh1:
add x1, x1, l_.str@PAGEOFF
add x2, sp, #32
bl _av_strtok
cbz x0, LBB0_4
; %bb.2:
Lloh2:
adrp x20, l_.str@PAGE
Lloh3:
add x20, x20, l_.str@PAGEOFF
LBB0_3: ; =>This Inner Loop Header: Depth=1
ldr w8, [x28, #8]
add w8, w8, #1
str w8, [x28, #8]
add x2, sp, #32
mov x0, #0 ; =0x0
mov x1, x20
bl _av_strtok
cbnz x0, LBB0_3
LBB0_4:
add x0, sp, #40
bl _av_freep
ldr w8, [x28, #8]
add w8, w8, w8, lsl #1
lsl w0, w8, #3
bl _av_mallocz
str x0, [x28, #16]
cbz x0, LBB0_24
; %bb.5:
ldr x0, [x28]
str x0, [sp, #40]
Lloh4:
adrp x1, l_.str@PAGE
Lloh5:
add x1, x1, l_.str@PAGEOFF
add x2, sp, #32
bl _av_strtok
cbz x0, LBB0_27
; %bb.6:
mov x22, #0 ; =0x0
mov w23, #24 ; =0x18
Lloh6:
adrp x20, l_.str.1@PAGE
Lloh7:
add x20, x20, l_.str.1@PAGEOFF
Lloh8:
adrp x24, l_.str.2@PAGE
Lloh9:
add x24, x24, l_.str.2@PAGEOFF
Lloh10:
adrp x25, l_.str.3@PAGE
Lloh11:
add x25, x25, l_.str.3@PAGEOFF
Lloh12:
adrp x26, l_.str.4@PAGE
Lloh13:
add x26, x26, l_.str.4@PAGEOFF
LBB0_7: ; =>This Loop Header: Depth=1
; Child Loop BB0_11 Depth 2
str xzr, [sp, #40]
ldrsw x8, [x28, #8]
cmp x22, x8
b.ge LBB0_35
; %bb.8: ; in Loop: Header=BB0_7 Depth=1
ldr x8, [x28, #16]
madd x21, x22, x23, x8
add x2, sp, #24
b LBB0_11
LBB0_9: ; in Loop: Header=BB0_11 Depth=2
ldr x0, [sp, #16]
bl _av_strdup
str x0, [x21, #8]
cbz x0, LBB0_24
LBB0_10: ; in Loop: Header=BB0_11 Depth=2
add x2, sp, #24
mov x0, #0 ; =0x0
LBB0_11: ; Parent Loop BB0_7 Depth=1
; => This Inner Loop Header: Depth=2
mov x1, x20
bl _av_strtok
mov x27, x0
cbz x0, LBB0_17
; %bb.12: ; in Loop: Header=BB0_11 Depth=2
add x2, sp, #16
mov x0, x27
mov x1, x24
bl _av_strstart
cbnz x0, LBB0_9
; %bb.13: ; in Loop: Header=BB0_11 Depth=2
add x2, sp, #16
mov x0, x27
mov x1, x25
bl _av_strstart
cbz x0, LBB0_15
; %bb.14: ; in Loop: Header=BB0_11 Depth=2
ldr x0, [sp, #16]
bl _av_strdup
str x0, [x21]
cbnz x0, LBB0_10
b LBB0_24
LBB0_15: ; in Loop: Header=BB0_11 Depth=2
add x2, sp, #16
mov x0, x27
mov x1, x26
bl _av_strstart
cbz x0, LBB0_29
; %bb.16: ; in Loop: Header=BB0_11 Depth=2
ldr x0, [sp, #16]
bl _av_strdup
str x0, [x21, #16]
cbnz x0, LBB0_10
b LBB0_24
LBB0_17: ; in Loop: Header=BB0_7 Depth=1
ldr x8, [x21, #8]
cbz x8, LBB0_30
; %bb.18: ; in Loop: Header=BB0_7 Depth=1
ldr x0, [x21]
cbz x0, LBB0_30
; %bb.19: ; in Loop: Header=BB0_7 Depth=1
add x2, sp, #16
Lloh14:
adrp x1, l_.str.7@PAGE
Lloh15:
add x1, x1, l_.str.7@PAGEOFF
bl _av_strstart
cbz x0, LBB0_21
; %bb.20: ; in Loop: Header=BB0_7 Depth=1
ldr x0, [sp, #16]
bl _atoi
; kill: def $w0 killed $w0 def $x0
sub w8, w0, #5
cmn w8, #5
b.hi LBB0_23
b LBB0_31
LBB0_21: ; in Loop: Header=BB0_7 Depth=1
ldr x0, [x21]
add x2, sp, #16
Lloh16:
adrp x1, l_.str.9@PAGE
Lloh17:
add x1, x1, l_.str.9@PAGEOFF
bl _av_strstart
cbz x0, LBB0_32
; %bb.22: ; in Loop: Header=BB0_7 Depth=1
ldr x0, [sp, #16]
bl _atoi
; kill: def $w0 killed $w0 def $x0
sub w8, w0, #64
cmn w8, #64
b.ls LBB0_33
LBB0_23: ; in Loop: Header=BB0_7 Depth=1
add x22, x22, #1
ldr x0, [sp, #40]
add x2, sp, #32
Lloh18:
adrp x1, l_.str@PAGE
Lloh19:
add x1, x1, l_.str@PAGEOFF
bl _av_strtok
mov w1, #0 ; =0x0
cbnz x0, LBB0_7
b LBB0_28
LBB0_24:
Lloh20:
adrp x8, _ENOMEM@GOTPAGE
Lloh21:
ldr x8, [x8, _ENOMEM@GOTPAGEOFF]
LBB0_25:
ldr w0, [x8]
bl _AVERROR
mov x1, x0
b LBB0_28
LBB0_26:
Lloh22:
adrp x8, _ENOMEM@GOTPAGE
Lloh23:
ldr x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh24:
ldr w0, [x8]
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
b _AVERROR
LBB0_27:
mov w1, #0 ; =0x0
LBB0_28:
mov x0, x1
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_29:
Lloh25:
adrp x8, _AV_LOG_ERROR@GOTPAGE
Lloh26:
ldr x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh27:
ldr w1, [x8]
str x27, [sp]
Lloh28:
adrp x2, l_.str.5@PAGE
Lloh29:
add x2, x2, l_.str.5@PAGEOFF
b LBB0_34
LBB0_30:
Lloh30:
adrp x8, _AV_LOG_ERROR@GOTPAGE
Lloh31:
ldr x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh32:
ldr w1, [x8]
Lloh33:
adrp x2, l_.str.6@PAGE
Lloh34:
add x2, x2, l_.str.6@PAGEOFF
b LBB0_34
LBB0_31:
Lloh35:
adrp x8, _AV_LOG_ERROR@GOTPAGE
Lloh36:
ldr x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh37:
ldr w1, [x8]
ldr x8, [x21]
stp x0, x8, [sp]
Lloh38:
adrp x2, l_.str.8@PAGE
Lloh39:
add x2, x2, l_.str.8@PAGEOFF
b LBB0_34
LBB0_32:
Lloh40:
adrp x8, _AV_LOG_ERROR@GOTPAGE
Lloh41:
ldr x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh42:
ldr w1, [x8]
ldr x8, [x21]
str x8, [sp]
Lloh43:
adrp x2, l_.str.11@PAGE
Lloh44:
add x2, x2, l_.str.11@PAGEOFF
b LBB0_34
LBB0_33:
Lloh45:
adrp x8, _AV_LOG_ERROR@GOTPAGE
Lloh46:
ldr x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh47:
ldr w1, [x8]
ldr x8, [x21]
stp x0, x8, [sp]
Lloh48:
adrp x2, l_.str.10@PAGE
Lloh49:
add x2, x2, l_.str.10@PAGEOFF
LBB0_34:
mov x0, x19
bl _av_log
LBB0_35:
Lloh50:
adrp x8, _EINVAL@GOTPAGE
Lloh51:
ldr x8, [x8, _EINVAL@GOTPAGEOFF]
b LBB0_25
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh12, Lloh13
.loh AdrpAdd Lloh10, Lloh11
.loh AdrpAdd Lloh8, Lloh9
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpAdd Lloh14, Lloh15
.loh AdrpAdd Lloh16, Lloh17
.loh AdrpAdd Lloh18, Lloh19
.loh AdrpLdrGot Lloh20, Lloh21
.loh AdrpLdrGotLdr Lloh22, Lloh23, Lloh24
.loh AdrpAdd Lloh28, Lloh29
.loh AdrpLdrGotLdr Lloh25, Lloh26, Lloh27
.loh AdrpAdd Lloh33, Lloh34
.loh AdrpLdrGotLdr Lloh30, Lloh31, Lloh32
.loh AdrpAdd Lloh38, Lloh39
.loh AdrpLdrGotLdr Lloh35, Lloh36, Lloh37
.loh AdrpAdd Lloh43, Lloh44
.loh AdrpLdrGotLdr Lloh40, Lloh41, Lloh42
.loh AdrpAdd Lloh48, Lloh49
.loh AdrpLdrGotLdr Lloh45, Lloh46, Lloh47
.loh AdrpLdrGot Lloh50, Lloh51
.cfi_endproc
; -- End function
.comm _ENOMEM,4,2 ; @ENOMEM
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz " \t"
.comm _EINVAL,4,2 ; @EINVAL
l_.str.1: ; @.str.1
.asciz ","
l_.str.2: ; @.str.2
.asciz "ccgroup:"
l_.str.3: ; @.str.3
.asciz "instreamid:"
l_.str.4: ; @.str.4
.asciz "language:"
.comm _AV_LOG_ERROR,4,2 ; @AV_LOG_ERROR
l_.str.5: ; @.str.5
.asciz "Invalid keyval %s\n"
l_.str.6: ; @.str.6
.asciz "Insufficient parameters in cc stream map string\n"
l_.str.7: ; @.str.7
.asciz "CC"
l_.str.8: ; @.str.8
.asciz "Invalid instream ID CC index %d in %s, range 1-4\n"
l_.str.9: ; @.str.9
.asciz "SERVICE"
l_.str.10: ; @.str.10
.asciz "Invalid instream ID SERVICE index %d in %s, range 1-63 \n"
l_.str.11: ; @.str.11
.asciz "Invalid instream ID %s, supported are CCn or SERIVICEn\n"
.no_dead_strip _parse_cc_stream_mapstring
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function multadd
_multadd: ## @multadd
.cfi_startproc
## %bb.0:
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, %rax
movslq (%rsi), %r12
cmpl $2, %r12d
movl $1, %r8d
cmovgel %r12d, %r8d
movq 8(%rsi), %rsi
cmpq $2, %r12
jge LBB0_2
## %bb.1:
## implicit-def: $r11d
movq %rsi, %r9
jmp LBB0_4
LBB0_2:
movl %r8d, %r10d
andl $2147483646, %r10d ## imm = 0x7FFFFFFE
movq %rsi, %r9
.p2align 4, 0x90
LBB0_3: ## =>This Inner Loop Header: Depth=1
movl (%r9), %r11d
imull %edx, %r11d
addl %ecx, %r11d
movzwl %r11w, %ecx
movl %r11d, %ebx
sarl $16, %ebx
movl %ecx, (%r9)
movl 4(%r9), %r11d
imull %edx, %r11d
addl %ebx, %r11d
movl %r11d, %ecx
sarl $16, %ecx
movzwl %r11w, %ebx
movl %ebx, 4(%r9)
addq $8, %r9
addl $-2, %r10d
jne LBB0_3
LBB0_4:
testb $1, %r8b
je LBB0_6
## %bb.5:
imull (%r9), %edx
addl %ecx, %edx
movl %edx, %ecx
sarl $16, %ecx
movzwl %dx, %r8d
movl %r8d, (%r9)
movl %edx, %r11d
LBB0_6:
cmpl $65536, %r11d ## imm = 0x10000
jb LBB0_10
## %bb.7:
cmpl 16(%rax), %r12d
jl LBB0_9
## %bb.8:
movq 24(%rax), %rsi
incq %rsi
movq %rdi, %rbx
movq %rax, %r14
movl %ecx, %r13d
callq _Balloc
movq %rax, %r15
movq %rax, %rdi
movq %r14, %rsi
callq _Bcopy
movq %rbx, %rdi
movq %r14, %rsi
callq _Bfree
movl %r13d, %ecx
movq 8(%r15), %rsi
movq %r15, %rax
LBB0_9:
leal 1(%r12), %edx
movl %ecx, (%rsi,%r12,4)
movl %edx, (%rax)
LBB0_10:
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _FFFFFFFF,4,2 ## @FFFFFFFF
.no_dead_strip _multadd
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function multadd
_multadd: ; @multadd
.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 x9, #0 ; =0x0
ldrsw x22, [x1]
ldr x8, [x1, #8]
cmp w22, #1
csinc w10, w22, wzr, gt
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr w11, [x8, x9, lsl #2]
madd w11, w11, w2, w3
asr w3, w11, #16
and w12, w11, #0xffff
str w12, [x8, x9, lsl #2]
add x9, x9, #1
cmp w10, w9
b.ne LBB0_1
; %bb.2:
cmp w11, #16, lsl #12 ; =65536
b.lo LBB0_6
; %bb.3:
ldr w9, [x1, #16]
cmp w22, w9
b.lt LBB0_5
; %bb.4:
ldr x8, [x1, #24]
mov x19, x1
add x1, x8, #1
mov x20, x0
mov x23, x3
bl _Balloc
mov x21, x0
mov x1, x19
bl _Bcopy
mov x0, x20
mov x1, x19
bl _Bfree
mov x3, x23
ldr x8, [x21, #8]
mov x1, x21
LBB0_5:
add w9, w22, #1
str w3, [x8, x22, lsl #2]
str w9, [x1]
LBB0_6:
mov x0, x1
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
.comm _FFFFFFFF,4,2 ; @FFFFFFFF
.no_dead_strip _multadd
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _mlx4_qp_attach_common ## -- Begin function mlx4_qp_attach_common
.p2align 4, 0x90
_mlx4_qp_attach_common: ## @mlx4_qp_attach_common
.cfi_startproc
## %bb.0:
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 %r9d, -96(%rbp) ## 4-byte Spill
movl %r8d, -68(%rbp) ## 4-byte Spill
movl %ecx, -88(%rbp) ## 4-byte Spill
movq %rdx, %r15
movq %rsi, -64(%rbp) ## 8-byte Spill
movq %rdi, %r12
callq _mlx4_priv
movq %rax, %r13
movl $-1, -44(%rbp)
movl 20(%r15), %ebx
movq %r12, %rdi
callq _mlx4_alloc_cmd_mailbox
movq %rax, %r14
movq %rax, %rdi
callq _IS_ERR
testq %rax, %rax
je LBB0_2
## %bb.1:
movq %r14, %rdi
addq $104, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _PTR_ERR ## TAILCALL
LBB0_2:
movq (%r14), %rax
movq %rax, -112(%rbp) ## 8-byte Spill
movq %r13, -128(%rbp) ## 8-byte Spill
movq %r13, %rdi
callq _mutex_lock
leaq -44(%rbp), %rax
movq %rax, (%rsp)
leaq -100(%rbp), %r9
movq %r12, -80(%rbp) ## 8-byte Spill
movq %r12, %rdi
movl %ebx, -116(%rbp) ## 4-byte Spill
movl %ebx, %esi
movq %r15, %rdx
movl -68(%rbp), %ecx ## 4-byte Reload
movq %r14, %r8
callq _find_entry
testl %eax, %eax
je LBB0_4
## %bb.3:
movl %eax, %r13d
xorl %r12d, %r12d
xorl %edi, %edi
movq -64(%rbp), %r15 ## 8-byte Reload
movq -80(%rbp), %rbx ## 8-byte Reload
jmp LBB0_21
LBB0_4:
movq %r15, %rax
movl -44(%rbp), %r15d
cmpl $-1, %r15d
je LBB0_6
## %bb.5:
movl %r15d, -92(%rbp) ## 4-byte Spill
movq -112(%rbp), %r13 ## 8-byte Reload
movq 8(%r13), %rdi
callq _be32_to_cpu
movl $0, -56(%rbp) ## 4-byte Folded Spill
movq -80(%rbp), %rbx ## 8-byte Reload
jmp LBB0_8
LBB0_6:
movq %rax, -56(%rbp) ## 8-byte Spill
movq -128(%rbp), %rax ## 8-byte Reload
leaq 4(%rax), %rdi
callq _mlx4_bitmap_alloc
movl %eax, -44(%rbp)
cmpl $-1, %eax
movq -80(%rbp), %rbx ## 8-byte Reload
je LBB0_19
## %bb.7:
movl %r15d, -92(%rbp) ## 4-byte Spill
addl (%rbx), %eax
movl %eax, -44(%rbp)
movq -112(%rbp), %r13 ## 8-byte Reload
movq %r13, %rdi
xorl %esi, %esi
movl $32, %edx
callq _memset
movl 24(%r13), %edi
movq -56(%rbp), %rsi ## 8-byte Reload
movl $16, %edx
callq _memcpy
movl $1, -56(%rbp) ## 4-byte Folded Spill
LBB0_8:
movl -88(%rbp), %r15d ## 4-byte Reload
movq 8(%r13), %rdi
callq _be32_to_cpu
## kill: def $eax killed $eax def $rax
andl $16777215, %eax ## imm = 0xFFFFFF
cmpl 4(%rbx), %eax
jne LBB0_11
## %bb.9:
movl -44(%rbp), %edx
leaq L_.str.1(%rip), %rsi
xorl %r13d, %r13d
movq %rbx, %rdi
xorl %eax, %eax
callq _mlx4_err
movq _ENOMEM@GOTPCREL(%rip), %rax
subl (%rax), %r13d
LBB0_10:
movl -56(%rbp), %edi ## 4-byte Reload
movl %edi, %r12d
jmp LBB0_20
LBB0_11:
movq %r14, -88(%rbp) ## 8-byte Spill
movq %rax, -136(%rbp) ## 8-byte Spill
leal 1(%rax), %r13d
xorl %r12d, %r12d
movq _MGM_QPN_MASK@GOTPCREL(%rip), %r14
movq -112(%rbp), %rbx ## 8-byte Reload
.p2align 4, 0x90
LBB0_12: ## =>This Inner Loop Header: Depth=1
movq 16(%rbx), %rax
movq (%rax,%r12,8), %rdi
callq _be32_to_cpu
movl (%r14), %edx
andl %edx, %eax
movq -64(%rbp), %rcx ## 8-byte Reload
movl (%rcx), %ecx
cmpl %ecx, %eax
je LBB0_18
## %bb.13: ## in Loop: Header=BB0_12 Depth=1
incq %r12
cmpq %r12, %r13
jne LBB0_12
## %bb.14:
movl %r15d, %esi
movl -92(%rbp), %r15d ## 4-byte Reload
notl %r15d
andl %ecx, %edx
movq _MGM_BLCK_LB_BIT@GOTPCREL(%rip), %rax
movzbl (%rax), %ecx
movl $1, %r12d
movl $1, %edi
shll %cl, %edi
testl %esi, %esi
cmovel %esi, %edi
orl %edx, %edi
callq _cpu_to_be32
movq 16(%rbx), %rcx
movl -136(%rbp), %edx ## 4-byte Reload
movq %rax, (%rcx,%rdx,8)
movl -68(%rbp), %edi ## 4-byte Reload
shll $30, %edi
orl %r13d, %edi
callq _cpu_to_be32
movq %rax, 8(%rbx)
movl -44(%rbp), %esi
movq -80(%rbp), %rbx ## 8-byte Reload
movq %rbx, %rdi
movq -88(%rbp), %r14 ## 8-byte Reload
movq %r14, %rdx
callq _mlx4_WRITE_ENTRY
orl %eax, %r15d
jne LBB0_31
## %bb.15:
movl -100(%rbp), %esi
movq %rbx, %rdi
movq %r14, %rdx
callq _mlx4_READ_ENTRY
testl %eax, %eax
jne LBB0_17
## %bb.16:
movl -44(%rbp), %edi
shll $6, %edi
callq _cpu_to_be32
movq -112(%rbp), %rcx ## 8-byte Reload
movq %rax, (%rcx)
movl -100(%rbp), %esi
movq %rbx, %rdi
movq %r14, %rdx
callq _mlx4_WRITE_ENTRY
LBB0_17:
movl %eax, %r13d
movq -64(%rbp), %r15 ## 8-byte Reload
movl -56(%rbp), %edi ## 4-byte Reload
jmp LBB0_21
LBB0_18:
leaq L_.str.2(%rip), %rsi
movq -80(%rbp), %rbx ## 8-byte Reload
movq %rbx, %rdi
movl %eax, %edx
callq _mlx4_dbg
xorl %r13d, %r13d
movl -56(%rbp), %edi ## 4-byte Reload
movl %edi, %r12d
movq -64(%rbp), %r15 ## 8-byte Reload
movq -88(%rbp), %r14 ## 8-byte Reload
jmp LBB0_21
LBB0_19:
leaq L_.str(%rip), %rsi
movq %rbx, %rdi
xorl %eax, %eax
callq _mlx4_err
xorl %edi, %edi
movq _ENOMEM@GOTPCREL(%rip), %rax
xorl %r13d, %r13d
subl (%rax), %r13d
movl $1, %r12d
LBB0_20:
movq -64(%rbp), %r15 ## 8-byte Reload
LBB0_21:
movq _MLX4_PROT_ETH@GOTPCREL(%rip), %rax
movl -68(%rbp), %ecx ## 4-byte Reload
cmpl %ecx, (%rax)
sete %al
movl -44(%rbp), %ecx
cmpl $-1, %ecx
setne %dl
orb %al, %dl
cmpb $1, %dl
movl -116(%rbp), %esi ## 4-byte Reload
jne LBB0_26
## %bb.22:
movl (%r15), %r8d
testl %edi, %edi
je LBB0_24
## %bb.23:
movq %rbx, %rdi
movl -96(%rbp), %edx ## 4-byte Reload
callq _new_steering_entry
jmp LBB0_25
LBB0_24:
movq %rbx, %rdi
movl -96(%rbp), %edx ## 4-byte Reload
callq _existing_steering_entry
LBB0_25:
movl %eax, %r13d
LBB0_26:
testl %r13d, %r13d
setne %al
andb %al, %r12b
movl -44(%rbp), %edx
cmpl $-1, %edx
setne %al
andb %r12b, %al
cmpb $1, %al
movq -128(%rbp), %r15 ## 8-byte Reload
jne LBB0_30
## %bb.27:
movl (%rbx), %ecx
cmpl %ecx, %edx
jge LBB0_29
## %bb.28:
leaq L_.str.3(%rip), %rsi
movq %rbx, %rdi
callq _mlx4_warn
jmp LBB0_30
LBB0_29:
movq %r15, %rdi
addq $4, %rdi
addl %edx, %ecx
movq _MLX4_USE_RR@GOTPCREL(%rip), %rax
movl (%rax), %edx
movl %ecx, %esi
callq _mlx4_bitmap_free
LBB0_30:
movq %r15, %rdi
callq _mutex_unlock
movq %rbx, %rdi
movq %r14, %rsi
callq _mlx4_free_cmd_mailbox
movl %r13d, %eax
addq $104, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_31:
movl %eax, %r13d
jmp LBB0_10
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "No AMGM entries left\n"
.comm _ENOMEM,4,2 ## @ENOMEM
L_.str.1: ## @.str.1
.asciz "MGM at index %x is full\n"
.comm _MGM_QPN_MASK,4,2 ## @MGM_QPN_MASK
L_.str.2: ## @.str.2
.asciz "QP %06x already a member of MGM\n"
.comm _MGM_BLCK_LB_BIT,4,2 ## @MGM_BLCK_LB_BIT
.comm _MLX4_PROT_ETH,4,2 ## @MLX4_PROT_ETH
L_.str.3: ## @.str.3
.asciz "Got AMGM index %d < %d\n"
.comm _MLX4_USE_RR,4,2 ## @MLX4_USE_RR
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _mlx4_qp_attach_common ; -- Begin function mlx4_qp_attach_common
.p2align 2
_mlx4_qp_attach_common: ; @mlx4_qp_attach_common
.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 x23, x5
mov x25, x4
mov x27, x3
mov x22, x2
mov x24, x1
mov x19, x0
bl _mlx4_priv
mov x20, x0
mov w8, #-1 ; =0xffffffff
str w8, [sp, #44]
ldr w28, [x22, #20]
mov x0, x19
bl _mlx4_alloc_cmd_mailbox
mov x21, x0
bl _IS_ERR
cbz x0, LBB0_2
; %bb.1:
mov x0, x21
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
b _PTR_ERR
LBB0_2:
ldr x26, [x21]
mov x0, x20
bl _mutex_lock
add x5, sp, #40
add x6, sp, #44
mov x0, x19
str w28, [sp, #36] ; 4-byte Folded Spill
mov x1, x28
mov x2, x22
mov x3, x25
mov x4, x21
bl _find_entry
cbz w0, LBB0_4
; %bb.3:
mov x28, x0
mov w26, #0 ; =0x0
mov w22, #0 ; =0x0
b LBB0_21
LBB0_4:
ldr w28, [sp, #44]
cmn w28, #1
b.eq LBB0_6
; %bb.5:
ldr x0, [x26, #8]
bl _be32_to_cpu
mov w22, #0 ; =0x0
b LBB0_8
LBB0_6:
add x0, x20, #4
bl _mlx4_bitmap_alloc
str w0, [sp, #44]
cmn w0, #1
b.eq LBB0_19
; %bb.7:
ldr w8, [x19]
add w8, w8, w0
str w8, [sp, #44]
mov x0, x26
mov w1, #0 ; =0x0
mov w2, #32 ; =0x20
bl _memset
ldr w0, [x26, #24]
mov x1, x22
mov w2, #16 ; =0x10
bl _memcpy
mov w22, #1 ; =0x1
LBB0_8:
ldr x0, [x26, #8]
bl _be32_to_cpu
; kill: def $w0 killed $w0 def $x0
and w9, w0, #0xffffff
ldr w8, [x19, #4]
cmp w9, w8
b.ne LBB0_10
; %bb.9:
ldr w8, [sp, #44]
str x8, [sp]
Lloh0:
adrp x1, l_.str.1@PAGE
Lloh1:
add x1, x1, l_.str.1@PAGEOFF
mov x0, x19
bl _mlx4_err
Lloh2:
adrp x8, _ENOMEM@GOTPAGE
Lloh3:
ldr x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh4:
ldr w8, [x8]
neg w28, w8
mov x26, x22
b LBB0_21
LBB0_10:
stp w28, w23, [sp, #24] ; 8-byte Folded Spill
str w22, [sp, #32] ; 4-byte Folded Spill
mov x22, #0 ; =0x0
add w8, w9, #1
stp w8, w9, [sp, #16] ; 8-byte Folded Spill
and x8, x0, #0xffffff
lsl x8, x8, #3
add x28, x8, #8
Lloh5:
adrp x23, _MGM_QPN_MASK@GOTPAGE
Lloh6:
ldr x23, [x23, _MGM_QPN_MASK@GOTPAGEOFF]
LBB0_11: ; =>This Inner Loop Header: Depth=1
ldr x8, [x26, #16]
ldr x0, [x8, x22]
bl _be32_to_cpu
ldr w8, [x23]
and w2, w8, w0
ldr w9, [x24]
cmp w2, w9
b.eq LBB0_18
; %bb.12: ; in Loop: Header=BB0_11 Depth=1
add x22, x22, #8
cmp x28, x22
b.ne LBB0_11
; %bb.13:
Lloh7:
adrp x10, _MGM_BLCK_LB_BIT@GOTPAGE
Lloh8:
ldr x10, [x10, _MGM_BLCK_LB_BIT@GOTPAGEOFF]
and w8, w8, w9
Lloh9:
ldr w9, [x10]
mov w10, #1 ; =0x1
lsl w9, w10, w9
cmp w27, #0
csel w9, wzr, w9, eq
orr w0, w8, w9
bl _cpu_to_be32
ldr x8, [x26, #16]
ldr w9, [sp, #20] ; 4-byte Folded Reload
str x0, [x8, w9, uxtw #3]
ldr w8, [sp, #16] ; 4-byte Folded Reload
orr w0, w8, w25, lsl #30
bl _cpu_to_be32
str x0, [x26, #8]
ldr w1, [sp, #44]
mov x0, x19
mov x2, x21
bl _mlx4_WRITE_ENTRY
mov x28, x0
ldp w8, w23, [sp, #24] ; 8-byte Folded Reload
cmn w8, #1
b.ne LBB0_34
; %bb.14:
ldr w22, [sp, #32] ; 4-byte Folded Reload
cbnz w28, LBB0_33
; %bb.15:
ldr w1, [sp, #40]
mov x0, x19
mov x2, x21
bl _mlx4_READ_ENTRY
cbnz w0, LBB0_17
; %bb.16:
ldr w8, [sp, #44]
lsl w0, w8, #6
bl _cpu_to_be32
str x0, [x26]
ldr w1, [sp, #40]
mov x0, x19
mov x2, x21
bl _mlx4_WRITE_ENTRY
LBB0_17:
mov x28, x0
b LBB0_20
LBB0_18:
Lloh10:
adrp x1, l_.str.2@PAGE
Lloh11:
add x1, x1, l_.str.2@PAGEOFF
mov x0, x19
bl _mlx4_dbg
mov w28, #0 ; =0x0
ldp w23, w22, [sp, #28] ; 8-byte Folded Reload
mov x26, x22
b LBB0_21
LBB0_19:
Lloh12:
adrp x1, l_.str@PAGE
Lloh13:
add x1, x1, l_.str@PAGEOFF
mov x0, x19
bl _mlx4_err
mov w22, #0 ; =0x0
Lloh14:
adrp x8, _ENOMEM@GOTPAGE
Lloh15:
ldr x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh16:
ldr w8, [x8]
neg w28, w8
LBB0_20:
mov w26, #1 ; =0x1
LBB0_21:
Lloh17:
adrp x8, _MLX4_PROT_ETH@GOTPAGE
Lloh18:
ldr x8, [x8, _MLX4_PROT_ETH@GOTPAGEOFF]
Lloh19:
ldr w8, [x8]
ldr w3, [sp, #44]
cmp w8, w25
ccmn w3, #1, #0, ne
b.eq LBB0_26
; %bb.22:
ldr w4, [x24]
mov x0, x19
cbz w22, LBB0_24
; %bb.23:
ldr w1, [sp, #36] ; 4-byte Folded Reload
mov x2, x23
bl _new_steering_entry
b LBB0_25
LBB0_24:
ldr w1, [sp, #36] ; 4-byte Folded Reload
mov x2, x23
bl _existing_steering_entry
LBB0_25:
mov x28, x0
LBB0_26:
cbz w26, LBB0_32
; %bb.27:
cbz w28, LBB0_32
; %bb.28:
ldr w2, [sp, #44]
cmn w2, #1
b.eq LBB0_32
; %bb.29:
ldr w3, [x19]
cmp w2, w3
b.ge LBB0_31
; %bb.30:
Lloh20:
adrp x1, l_.str.3@PAGE
Lloh21:
add x1, x1, l_.str.3@PAGEOFF
mov x0, x19
bl _mlx4_warn
b LBB0_32
LBB0_31:
Lloh22:
adrp x8, _MLX4_USE_RR@GOTPAGE
Lloh23:
ldr x8, [x8, _MLX4_USE_RR@GOTPAGEOFF]
Lloh24:
ldr w8, [x8]
add x0, x20, #4
add w1, w3, w2
mov x2, x8
bl _mlx4_bitmap_free
LBB0_32:
mov x0, x20
bl _mutex_unlock
mov x0, x19
mov x1, x21
bl _mlx4_free_cmd_mailbox
mov x0, x28
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_33:
mov x26, x22
b LBB0_21
LBB0_34:
ldr w22, [sp, #32] ; 4-byte Folded Reload
mov x26, x22
b LBB0_21
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpLdrGot Lloh5, Lloh6
.loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9
.loh AdrpAdd Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16
.loh AdrpAdd Lloh12, Lloh13
.loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19
.loh AdrpAdd Lloh20, Lloh21
.loh AdrpLdrGotLdr Lloh22, Lloh23, Lloh24
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "No AMGM entries left\n"
.comm _ENOMEM,4,2 ; @ENOMEM
l_.str.1: ; @.str.1
.asciz "MGM at index %x is full\n"
.comm _MGM_QPN_MASK,4,2 ; @MGM_QPN_MASK
l_.str.2: ; @.str.2
.asciz "QP %06x already a member of MGM\n"
.comm _MGM_BLCK_LB_BIT,4,2 ; @MGM_BLCK_LB_BIT
.comm _MLX4_PROT_ETH,4,2 ; @MLX4_PROT_ETH
l_.str.3: ; @.str.3
.asciz "Got AMGM index %d < %d\n"
.comm _MLX4_USE_RR,4,2 ; @MLX4_USE_RR
.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 DrawSpritesHiAS
LCPI0_0:
.space 16,127
.section __TEXT,__text,regular,pure_instructions
.p2align 4, 0x90
_DrawSpritesHiAS: ## @DrawSpritesHiAS
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $40, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %esi, -48(%rbp) ## 4-byte Spill
movq %rdi, -64(%rbp) ## 8-byte Spill
movzbl (%rdi), %edx
andq $127, %rdx
je LBB0_23
## %bb.1:
movq _PDRAW_SPR_LO_ON_HI@GOTPCREL(%rip), %rax
movl (%rax), %eax
movq _rendstatus@GOTPCREL(%rip), %rcx
orl %eax, (%rcx)
incq %rdx
movq %rdx, -72(%rbp) ## 8-byte Spill
xorl %ecx, %ecx
movl $0, -44(%rbp) ## 4-byte Folded Spill
jmp LBB0_2
.p2align 4, 0x90
LBB0_20: ## in Loop: Header=BB0_2 Depth=1
movq -80(%rbp), %rcx ## 8-byte Reload
incq %rcx
cmpq -72(%rbp), %rcx ## 8-byte Folded Reload
je LBB0_21
LBB0_2: ## =>This Loop Header: Depth=1
## Child Loop BB0_17 Depth 2
movq -64(%rbp), %rax ## 8-byte Reload
movq %rcx, -80(%rbp) ## 8-byte Spill
movzbl 3(%rax,%rcx), %edx
leal (%rdx,%rdx), %ecx
movq _HighPreSpr@GOTPCREL(%rip), %rax
movq (%rax), %rax
movzbl %cl, %ecx
leal (,%rcx,4), %esi
movq %rax, %rdi
subq %rsi, %rdi
movl 4(%rdi), %r15d
movl %r15d, %r12d
shrl $9, %r12d
andl $48, %r12d
testw %r15w, %r15w
js LBB0_3
## %bb.9: ## in Loop: Header=BB0_2 Depth=1
movq _TileFlipAS_onlymark@GOTPCREL(%rip), %rsi
movq %rsi, -56(%rbp) ## 8-byte Spill
testl $2048, %r15d ## imm = 0x800
jne LBB0_12
## %bb.10: ## in Loop: Header=BB0_2 Depth=1
movq _TileNormAS_onlymark@GOTPCREL(%rip), %rsi
jmp LBB0_11
.p2align 4, 0x90
LBB0_3: ## in Loop: Header=BB0_2 Depth=1
cmpl $0, -48(%rbp) ## 4-byte Folded Reload
jne LBB0_5
## %bb.4: ## in Loop: Header=BB0_2 Depth=1
cmpl $48, %r12d
je LBB0_5
## %bb.7: ## in Loop: Header=BB0_2 Depth=1
movq _TileFlipAS@GOTPCREL(%rip), %rdx
movq %rdx, -56(%rbp) ## 8-byte Spill
testl $2048, %r15d ## imm = 0x800
jne LBB0_15
## %bb.8: ## in Loop: Header=BB0_2 Depth=1
movq _TileNormAS@GOTPCREL(%rip), %rdx
movq %rdx, -56(%rbp) ## 8-byte Spill
jmp LBB0_15
.p2align 4, 0x90
LBB0_5: ## in Loop: Header=BB0_2 Depth=1
movq _TileFlipAS_noop@GOTPCREL(%rip), %rsi
movq %rsi, -56(%rbp) ## 8-byte Spill
testl $2048, %r15d ## imm = 0x800
jne LBB0_12
## %bb.6: ## in Loop: Header=BB0_2 Depth=1
movq _TileNormAS_noop@GOTPCREL(%rip), %rsi
LBB0_11: ## in Loop: Header=BB0_2 Depth=1
movq %rsi, -56(%rbp) ## 8-byte Spill
LBB0_12: ## in Loop: Header=BB0_2 Depth=1
cmpl $0, -48(%rbp) ## 4-byte Folded Reload
je LBB0_15
## %bb.13: ## in Loop: Header=BB0_2 Depth=1
cmpl $48, %r12d
jne LBB0_15
## %bb.14: ## in Loop: Header=BB0_2 Depth=1
andb $127, %dl
movl -44(%rbp), %edi ## 4-byte Reload
movslq %edi, %rsi
incl %edi
movl %edi, -44(%rbp) ## 4-byte Spill
movq -64(%rbp), %rdi ## 8-byte Reload
movb %dl, 3(%rdi,%rsi)
LBB0_15: ## in Loop: Header=BB0_2 Depth=1
negq %rcx
movl (%rax,%rcx,4), %ecx
movl %ecx, %eax
shrl $24, %eax
andl $7, %eax
movl %eax, %ebx
negl %ebx
testl $2048, %r15d ## imm = 0x800
cmovel %eax, %ebx
cmpl $268435456, %ecx ## imm = 0x10000000
jb LBB0_20
## %bb.16: ## in Loop: Header=BB0_2 Depth=1
shll $4, %ebx
orl $128, %r12d
movl %r15d, %edx
shll $20, %edx
sarl $31, %edx
movl %ecx, %r14d
sarl $28, %r14d
leal 2047(%r14), %esi
imull %eax, %esi
andl %edx, %esi
addl %r15d, %esi
movq _DrawScanline@GOTPCREL(%rip), %rdx
movl (%rdx), %edx
movswl %cx, %ecx
subl %ecx, %edx
testl $4096, %r15d ## imm = 0x1000
movl %edx, %ecx
notl %ecx
leal (%rcx,%rax,8), %eax
cmovel %edx, %eax
movl %eax, %ecx
shrl $3, %ecx
addl %esi, %ecx
shll $4, %ecx
andl $32752, %ecx ## imm = 0x7FF0
andl $7, %eax
leal (%rcx,%rax,2), %r13d
sarl $16, %r15d
jmp LBB0_17
.p2align 4, 0x90
LBB0_19: ## in Loop: Header=BB0_17 Depth=2
addl %ebx, %r13d
addl $8, %r15d
decl %r14d
je LBB0_20
LBB0_17: ## Parent Loop BB0_2 Depth=1
## => This Inner Loop Header: Depth=2
leal -328(%r15), %eax
cmpl $-327, %eax ## imm = 0xFEB9
jb LBB0_19
## %bb.18: ## in Loop: Header=BB0_17 Depth=2
andl $32767, %r13d ## imm = 0x7FFF
movl %r15d, %edi
movl %r13d, %esi
movl %r12d, %edx
callq *-56(%rbp) ## 8-byte Folded Reload
jmp LBB0_19
LBB0_21:
cmpl $0, -48(%rbp) ## 4-byte Folded Reload
je LBB0_23
## %bb.22:
movq _SPRL_MAY_HAVE_OP@GOTPCREL(%rip), %rax
movzbl (%rax), %eax
movq -64(%rbp), %rcx ## 8-byte Reload
testb %al, 1(%rcx)
je LBB0_23
## %bb.24:
movq _HighCol@GOTPCREL(%rip), %rax
movq (%rax), %rax
movaps LCPI0_0(%rip), %xmm0 ## xmm0 = [2139062143,2139062143,2139062143,2139062143]
movups 8(%rax), %xmm1
movups 24(%rax), %xmm2
movups 40(%rax), %xmm3
movups 56(%rax), %xmm4
andps %xmm0, %xmm1
movups %xmm1, 8(%rax)
andps %xmm0, %xmm2
movups %xmm2, 24(%rax)
andps %xmm0, %xmm3
movups %xmm3, 40(%rax)
andps %xmm0, %xmm4
movups %xmm4, 56(%rax)
movups 72(%rax), %xmm1
andps %xmm0, %xmm1
movups %xmm1, 72(%rax)
movups 88(%rax), %xmm1
andps %xmm0, %xmm1
movups %xmm1, 88(%rax)
movups 104(%rax), %xmm1
andps %xmm0, %xmm1
movups %xmm1, 104(%rax)
movups 120(%rax), %xmm1
andps %xmm0, %xmm1
movups %xmm1, 120(%rax)
movups 136(%rax), %xmm1
andps %xmm0, %xmm1
movups %xmm1, 136(%rax)
movups 152(%rax), %xmm1
andps %xmm0, %xmm1
movups %xmm1, 152(%rax)
movups 168(%rax), %xmm1
andps %xmm0, %xmm1
movups %xmm1, 168(%rax)
movups 184(%rax), %xmm1
andps %xmm0, %xmm1
movups %xmm1, 184(%rax)
movups 200(%rax), %xmm1
andps %xmm0, %xmm1
movups %xmm1, 200(%rax)
movups 216(%rax), %xmm1
andps %xmm0, %xmm1
movups %xmm1, 216(%rax)
movups 232(%rax), %xmm1
andps %xmm0, %xmm1
movups %xmm1, 232(%rax)
movups 248(%rax), %xmm1
andps %xmm0, %xmm1
movups %xmm1, 248(%rax)
movups 264(%rax), %xmm1
andps %xmm0, %xmm1
movups %xmm1, 264(%rax)
movups 280(%rax), %xmm1
andps %xmm0, %xmm1
movups %xmm1, 280(%rax)
movups 296(%rax), %xmm1
andps %xmm0, %xmm1
movups %xmm1, 296(%rax)
movups 312(%rax), %xmm1
andps %xmm0, %xmm1
movups %xmm1, 312(%rax)
movq -64(%rbp), %rdi ## 8-byte Reload
movl -44(%rbp), %eax ## 4-byte Reload
movb %al, (%rdi)
addq $40, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _DrawSpritesSHi ## TAILCALL
LBB0_23:
addq $40, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _PDRAW_SPR_LO_ON_HI,4,2 ## @PDRAW_SPR_LO_ON_HI
.comm _rendstatus,4,2 ## @rendstatus
.comm _HighPreSpr,8,3 ## @HighPreSpr
.comm _DrawScanline,4,2 ## @DrawScanline
.comm _SPRL_MAY_HAVE_OP,1,0 ## @SPRL_MAY_HAVE_OP
.comm _HighCol,8,3 ## @HighCol
.no_dead_strip _DrawSpritesHiAS
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function DrawSpritesHiAS
_DrawSpritesHiAS: ; @DrawSpritesHiAS
.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
ldrb w8, [x0]
and x8, x8, #0x7f
cbz w8, LBB0_19
; %bb.1:
mov x20, x1
mov x24, #0 ; =0x0
str wzr, [sp, #12] ; 4-byte Folded Spill
Lloh0:
adrp x9, _PDRAW_SPR_LO_ON_HI@GOTPAGE
Lloh1:
ldr x9, [x9, _PDRAW_SPR_LO_ON_HI@GOTPAGEOFF]
Lloh2:
ldr w9, [x9]
Lloh3:
adrp x10, _rendstatus@GOTPAGE
Lloh4:
ldr x10, [x10, _rendstatus@GOTPAGEOFF]
ldr w11, [x10]
orr w9, w11, w9
str w9, [x10]
str x0, [sp] ; 8-byte Folded Spill
add x25, x0, #3
add x26, x8, #1
b LBB0_3
LBB0_2: ; in Loop: Header=BB0_3 Depth=1
add x24, x24, #1
cmp x24, x26
b.eq LBB0_16
LBB0_3: ; =>This Loop Header: Depth=1
; Child Loop BB0_14 Depth 2
ldrb w10, [x25, x24]
Lloh5:
adrp x8, _HighPreSpr@GOTPAGE
Lloh6:
ldr x8, [x8, _HighPreSpr@GOTPAGEOFF]
Lloh7:
ldr x8, [x8]
ubfiz x9, x10, #1, #7
sub x9, x8, x9, lsl #2
ldr w8, [x9, #4]
lsr w11, w8, #9
and w19, w11, #0x30
tbnz w8, #15, LBB0_5
; %bb.4: ; in Loop: Header=BB0_3 Depth=1
tst w8, #0x800
Lloh8:
adrp x11, _TileFlipAS_onlymark@GOTPAGE
Lloh9:
ldr x11, [x11, _TileFlipAS_onlymark@GOTPAGEOFF]
Lloh10:
adrp x12, _TileNormAS_onlymark@GOTPAGE
Lloh11:
ldr x12, [x12, _TileNormAS_onlymark@GOTPAGEOFF]
csel x28, x12, x11, eq
cbnz w20, LBB0_9
b LBB0_11
LBB0_5: ; in Loop: Header=BB0_3 Depth=1
cbnz w20, LBB0_8
; %bb.6: ; in Loop: Header=BB0_3 Depth=1
cmp w19, #48
b.eq LBB0_8
; %bb.7: ; in Loop: Header=BB0_3 Depth=1
tst w8, #0x800
Lloh12:
adrp x10, _TileFlipAS@GOTPAGE
Lloh13:
ldr x10, [x10, _TileFlipAS@GOTPAGEOFF]
Lloh14:
adrp x11, _TileNormAS@GOTPAGE
Lloh15:
ldr x11, [x11, _TileNormAS@GOTPAGEOFF]
csel x28, x11, x10, eq
b LBB0_11
LBB0_8: ; in Loop: Header=BB0_3 Depth=1
tst w8, #0x800
Lloh16:
adrp x11, _TileFlipAS_noop@GOTPAGE
Lloh17:
ldr x11, [x11, _TileFlipAS_noop@GOTPAGEOFF]
Lloh18:
adrp x12, _TileNormAS_noop@GOTPAGE
Lloh19:
ldr x12, [x12, _TileNormAS_noop@GOTPAGEOFF]
csel x28, x12, x11, eq
cbz w20, LBB0_11
LBB0_9: ; in Loop: Header=BB0_3 Depth=1
cmp w19, #48
b.ne LBB0_11
; %bb.10: ; in Loop: Header=BB0_3 Depth=1
and w10, w10, #0x7f
ldr w11, [sp, #12] ; 4-byte Folded Reload
strb w10, [x25, w11, sxtw]
add w10, w11, #1
str w10, [sp, #12] ; 4-byte Folded Spill
LBB0_11: ; in Loop: Header=BB0_3 Depth=1
ldr w10, [x9]
ubfx w9, w10, #24, #3
tst w8, #0x800
cneg w11, w9, ne
lsr w12, w10, #28
cbz w12, LBB0_2
; %bb.12: ; in Loop: Header=BB0_3 Depth=1
lsl w27, w11, #4
lsl w11, w8, #20
asr w23, w10, #28
add w12, w23, #2047
mul w12, w9, w12
and w11, w12, w11, asr #31
add w11, w11, w8
Lloh20:
adrp x12, _DrawScanline@GOTPAGE
Lloh21:
ldr x12, [x12, _DrawScanline@GOTPAGEOFF]
Lloh22:
ldr w12, [x12]
sub w10, w12, w10, sxth
mvn w12, w10
add w9, w12, w9, lsl #3
tst w8, #0x1000
csel w9, w10, w9, eq
add w10, w11, w9, lsr #3
ubfiz w21, w9, #1, #3
bfi w21, w10, #4, #11
asr w22, w8, #16
b LBB0_14
LBB0_13: ; in Loop: Header=BB0_14 Depth=2
add w22, w22, #8
add w21, w21, w27
subs w23, w23, #1
b.eq LBB0_2
LBB0_14: ; Parent Loop BB0_3 Depth=1
; => This Inner Loop Header: Depth=2
sub w8, w22, #328
cmn w8, #327
b.lo LBB0_13
; %bb.15: ; in Loop: Header=BB0_14 Depth=2
and w21, w21, #0x7fff
orr w2, w19, #0x80
mov x0, x22
mov x1, x21
blr x28
b LBB0_13
LBB0_16:
ldr x0, [sp] ; 8-byte Folded Reload
cbz w20, LBB0_19
; %bb.17:
ldrb w8, [x0, #1]
Lloh23:
adrp x9, _SPRL_MAY_HAVE_OP@GOTPAGE
Lloh24:
ldr x9, [x9, _SPRL_MAY_HAVE_OP@GOTPAGEOFF]
ldrb w9, [x9]
tst w9, w8
b.eq LBB0_19
; %bb.18:
Lloh25:
adrp x8, _HighCol@GOTPAGE
Lloh26:
ldr x8, [x8, _HighCol@GOTPAGEOFF]
Lloh27:
ldr x8, [x8]
ldr q1, [x8, #8]!
ldp q3, q2, [x8, #16]
movi.16b v0, #127
and.16b v3, v3, v0
ldp q4, q5, [x8, #48]
and.16b v4, v4, v0
and.16b v2, v2, v0
and.16b v1, v1, v0
stp q2, q4, [x8, #32]
stp q1, q3, [x8]
ldp q2, q1, [x8, #80]
and.16b v2, v2, v0
and.16b v3, v5, v0
ldp q4, q5, [x8, #112]
and.16b v4, v4, v0
and.16b v1, v1, v0
stp q1, q4, [x8, #96]
stp q3, q2, [x8, #64]
ldp q2, q1, [x8, #144]
and.16b v2, v2, v0
and.16b v3, v5, v0
ldp q4, q5, [x8, #176]
and.16b v4, v4, v0
and.16b v1, v1, v0
stp q1, q4, [x8, #160]
stp q3, q2, [x8, #128]
ldp q2, q1, [x8, #208]
and.16b v2, v2, v0
and.16b v3, v5, v0
ldp q4, q5, [x8, #240]
and.16b v4, v4, v0
and.16b v1, v1, v0
stp q1, q4, [x8, #224]
stp q3, q2, [x8, #192]
ldp q2, q1, [x8, #288]
ldr q3, [x8, #272]
and.16b v3, v3, v0
and.16b v4, v5, v0
and.16b v1, v1, v0
and.16b v0, v2, v0
stp q0, q1, [x8, #288]
stp q4, q3, [x8, #256]
ldr w8, [sp, #12] ; 4-byte Folded Reload
strb w8, [x0]
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 _DrawSpritesSHi
LBB0_19:
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 Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.loh AdrpLdrGot Lloh10, Lloh11
.loh AdrpLdrGot Lloh8, Lloh9
.loh AdrpLdrGot Lloh14, Lloh15
.loh AdrpLdrGot Lloh12, Lloh13
.loh AdrpLdrGot Lloh18, Lloh19
.loh AdrpLdrGot Lloh16, Lloh17
.loh AdrpLdrGotLdr Lloh20, Lloh21, Lloh22
.loh AdrpLdrGot Lloh23, Lloh24
.loh AdrpLdrGotLdr Lloh25, Lloh26, Lloh27
.cfi_endproc
; -- End function
.comm _PDRAW_SPR_LO_ON_HI,4,2 ; @PDRAW_SPR_LO_ON_HI
.comm _rendstatus,4,2 ; @rendstatus
.comm _HighPreSpr,8,3 ; @HighPreSpr
.comm _DrawScanline,4,2 ; @DrawScanline
.comm _SPRL_MAY_HAVE_OP,1,0 ; @SPRL_MAY_HAVE_OP
.comm _HighCol,8,3 ; @HighCol
.no_dead_strip _DrawSpritesHiAS
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function convert_64_bit_to_byte_array
_convert_64_bit_to_byte_array: ## @convert_64_bit_to_byte_array
.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
movl %edi, %eax
orl $255, %eax
movl %eax, (%rsi)
sarl $8, %edi
addq $-4, %rsi
jmp LBB0_1
.cfi_endproc
## -- End function
.no_dead_strip _convert_64_bit_to_byte_array
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function convert_64_bit_to_byte_array
_convert_64_bit_to_byte_array: ; @convert_64_bit_to_byte_array
.cfi_startproc
; %bb.0:
LBB0_1: ; =>This Inner Loop Header: Depth=1
orr w8, w0, #0xff
str w8, [x1], #-4
asr w0, w0, #8
b LBB0_1
.cfi_endproc
; -- End function
.no_dead_strip _convert_64_bit_to_byte_array
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function put_line
_put_line: ## @put_line
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $24, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rcx, -56(%rbp) ## 8-byte Spill
movl %edx, %r14d
movl %esi, %edx
movq %rdi, %rsi
leaq -44(%rbp), %rdi
callq _init_put_bits
testl %r14d, %r14d
jle LBB0_8
## %bb.1:
movl $-1, %r15d
xorl %r13d, %r13d
leaq -44(%rbp), %r12
jmp LBB0_2
.p2align 4, 0x90
LBB0_5: ## in Loop: Header=BB0_2 Depth=1
movl %eax, %esi
testl %eax, %eax
je LBB0_7
LBB0_6: ## in Loop: Header=BB0_2 Depth=1
movq %r12, %rdi
movl %r15d, %edx
callq _put_sbits
LBB0_7: ## in Loop: Header=BB0_2 Depth=1
decq %r13
subl -48(%rbp), %r14d ## 4-byte Folded Reload
testl %r14d, %r14d
jle LBB0_8
LBB0_2: ## =>This Loop Header: Depth=1
## Child Loop BB0_4 Depth 2
movq -56(%rbp), %rax ## 8-byte Reload
movl (%rax,%r13,4), %eax
notl %r15d
cmpl $17, %eax
movl %eax, -48(%rbp) ## 4-byte Spill
jl LBB0_5
## %bb.3: ## in Loop: Header=BB0_2 Depth=1
movl %eax, %ebx
.p2align 4, 0x90
LBB0_4: ## Parent Loop BB0_2 Depth=1
## => This Inner Loop Header: Depth=2
movq %r12, %rdi
movl $16, %esi
movl %r15d, %edx
callq _put_sbits
leal -16(%rbx), %esi
cmpl $32, %ebx
movl %esi, %ebx
ja LBB0_4
jmp LBB0_6
LBB0_8:
leaq -44(%rbp), %rdi
callq _flush_put_bits
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _put_line
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function put_line
_put_line: ; @put_line
.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, x3
mov x20, x2
mov x2, x1
mov x1, x0
add x0, sp, #12
bl _init_put_bits
cmp w20, #1
b.lt LBB0_8
; %bb.1:
mov x22, #0 ; =0x0
mov w21, #-1 ; =0xffffffff
b LBB0_5
LBB0_2: ; in Loop: Header=BB0_5 Depth=1
mov x1, x23
cbz w23, LBB0_4
LBB0_3: ; in Loop: Header=BB0_5 Depth=1
add x0, sp, #12
mov x2, x21
bl _put_sbits
LBB0_4: ; in Loop: Header=BB0_5 Depth=1
sub x22, x22, #1
subs w20, w20, w23
b.le LBB0_8
LBB0_5: ; =>This Loop Header: Depth=1
; Child Loop BB0_7 Depth 2
ldr w23, [x19, x22, lsl #2]
mvn w21, w21
cmp w23, #17
b.lt LBB0_2
; %bb.6: ; in Loop: Header=BB0_5 Depth=1
mov x24, x23
LBB0_7: ; Parent Loop BB0_5 Depth=1
; => This Inner Loop Header: Depth=2
add x0, sp, #12
mov w1, #16 ; =0x10
mov x2, x21
bl _put_sbits
sub w1, w24, #16
cmp w24, #32
mov x24, x1
b.hi LBB0_7
b LBB0_3
LBB0_8:
add x0, sp, #12
bl _flush_put_bits
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
ldp x24, x23, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #80
ret
.cfi_endproc
; -- End function
.no_dead_strip _put_line
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _allocpage ## -- Begin function allocpage
.p2align 4, 0x90
_allocpage: ## @allocpage
.cfi_startproc
## %bb.0:
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 _FreeList@GOTPCREL(%rip), %rcx
movq (%rcx), %rax
testq %rax, %rax
je LBB0_1
## %bb.7:
movq _PpcPageTable@GOTPCREL(%rip), %rdx
cmpq (%rdx), %rax
je LBB0_8
## %bb.10:
movq (%rax), %rdx
movq %rdx, (%rcx)
movq _MMU_ADDR_RESERVED@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
movq %rcx, (%rax)
jmp LBB0_15
LBB0_1:
movq _NextPage@GOTPCREL(%rip), %rbx
movl (%rbx), %edi
callq _mmuisfreepage
testl %eax, %eax
jne LBB0_5
## %bb.2:
movq _RamSize@GOTPCREL(%rip), %r14
.p2align 4, 0x90
LBB0_3: ## =>This Inner Loop Header: Depth=1
movl (%rbx), %r15d
movl (%r14), %edi
callq _PPC_PAGE_NUMBER
cmpl %eax, %r15d
jge LBB0_5
## %bb.4: ## in Loop: Header=BB0_3 Depth=1
movl (%rbx), %edi
decl %edi
movl %edi, (%rbx)
callq _mmuisfreepage
testl %eax, %eax
je LBB0_3
LBB0_5:
movl (%rbx), %r14d
movq _RamSize@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _PPC_PAGE_NUMBER
cmpl %eax, %r14d
jle LBB0_11
## %bb.6:
xorl %eax, %eax
jmp LBB0_15
LBB0_8:
leaq L_.str(%rip), %rdi
xorl %eax, %eax
callq _fmtout
.p2align 4, 0x90
LBB0_9: ## =>This Inner Loop Header: Depth=1
jmp LBB0_9
LBB0_11:
movslq (%rbx), %rsi
cmpq $47, %rsi
jg LBB0_14
## %bb.12:
leaq L_.str.1(%rip), %rdi
## kill: def $esi killed $esi killed $rsi
xorl %eax, %eax
callq _fmtout
.p2align 4, 0x90
LBB0_13: ## =>This Inner Loop Header: Depth=1
jmp LBB0_13
LBB0_14:
movq _MMU_ADDR_RESERVED@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq _PpcPageTable@GOTPCREL(%rip), %rcx
movq (%rcx), %rdx
movq %rax, (%rdx,%rsi,8)
movq %rsi, %rax
shlq $3, %rax
leal 1(%rsi), %edx
movl %edx, (%rbx)
addq (%rcx), %rax
LBB0_15:
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _FreeList,8,3 ## @FreeList
.comm _PpcPageTable,8,3 ## @PpcPageTable
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Problem! FreeList: page 0 is free\n"
.comm _MMU_ADDR_RESERVED,8,3 ## @MMU_ADDR_RESERVED
.comm _NextPage,4,2 ## @NextPage
.comm _RamSize,4,2 ## @RamSize
L_.str.1: ## @.str.1
.asciz "Problem! NextPage is low (%x)\n"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _allocpage ; -- Begin function allocpage
.p2align 2
_allocpage: ; @allocpage
.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
Lloh0:
adrp x8, _FreeList@GOTPAGE
Lloh1:
ldr x8, [x8, _FreeList@GOTPAGEOFF]
ldr x0, [x8]
cbz x0, LBB0_3
; %bb.1:
Lloh2:
adrp x9, _PpcPageTable@GOTPAGE
Lloh3:
ldr x9, [x9, _PpcPageTable@GOTPAGEOFF]
Lloh4:
ldr x9, [x9]
cmp x0, x9
b.eq LBB0_9
; %bb.2:
ldr x9, [x0]
str x9, [x8]
Lloh5:
adrp x8, _MMU_ADDR_RESERVED@GOTPAGE
Lloh6:
ldr x8, [x8, _MMU_ADDR_RESERVED@GOTPAGEOFF]
Lloh7:
ldr x8, [x8]
str x8, [x0]
b LBB0_15
LBB0_3:
Lloh8:
adrp x19, _NextPage@GOTPAGE
Lloh9:
ldr x19, [x19, _NextPage@GOTPAGEOFF]
ldr w0, [x19]
bl _mmuisfreepage
cbnz w0, LBB0_7
; %bb.4:
Lloh10:
adrp x20, _RamSize@GOTPAGE
Lloh11:
ldr x20, [x20, _RamSize@GOTPAGEOFF]
LBB0_5: ; =>This Inner Loop Header: Depth=1
ldr w21, [x19]
ldr w0, [x20]
bl _PPC_PAGE_NUMBER
cmp w21, w0
b.ge LBB0_7
; %bb.6: ; in Loop: Header=BB0_5 Depth=1
ldr w8, [x19]
sub w0, w8, #1
str w0, [x19]
bl _mmuisfreepage
cbz w0, LBB0_5
LBB0_7:
ldr w20, [x19]
Lloh12:
adrp x8, _RamSize@GOTPAGE
Lloh13:
ldr x8, [x8, _RamSize@GOTPAGEOFF]
Lloh14:
ldr w0, [x8]
bl _PPC_PAGE_NUMBER
cmp w20, w0
b.le LBB0_11
; %bb.8:
mov x0, #0 ; =0x0
b LBB0_15
LBB0_9:
Lloh15:
adrp x0, l_.str@PAGE
Lloh16:
add x0, x0, l_.str@PAGEOFF
bl _fmtout
LBB0_10: ; =>This Inner Loop Header: Depth=1
b LBB0_10
LBB0_11:
ldr w8, [x19]
cmp w8, #47
b.gt LBB0_14
; %bb.12:
str x8, [sp]
Lloh17:
adrp x0, l_.str.1@PAGE
Lloh18:
add x0, x0, l_.str.1@PAGEOFF
bl _fmtout
LBB0_13: ; =>This Inner Loop Header: Depth=1
b LBB0_13
LBB0_14:
Lloh19:
adrp x9, _MMU_ADDR_RESERVED@GOTPAGE
Lloh20:
ldr x9, [x9, _MMU_ADDR_RESERVED@GOTPAGEOFF]
Lloh21:
ldr x9, [x9]
Lloh22:
adrp x10, _PpcPageTable@GOTPAGE
Lloh23:
ldr x10, [x10, _PpcPageTable@GOTPAGEOFF]
ldr x11, [x10]
lsl x12, x8, #3
str x9, [x11, x12]
ldr x9, [x10]
add w8, w8, #1
str w8, [x19]
add x0, x9, x12
LBB0_15:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #64
ret
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.loh AdrpLdrGot Lloh8, Lloh9
.loh AdrpLdrGot Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14
.loh AdrpAdd Lloh15, Lloh16
.loh AdrpAdd Lloh17, Lloh18
.loh AdrpLdrGot Lloh22, Lloh23
.loh AdrpLdrGotLdr Lloh19, Lloh20, Lloh21
.cfi_endproc
; -- End function
.comm _FreeList,8,3 ; @FreeList
.comm _PpcPageTable,8,3 ; @PpcPageTable
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Problem! FreeList: page 0 is free\n"
.comm _MMU_ADDR_RESERVED,8,3 ; @MMU_ADDR_RESERVED
.comm _NextPage,4,2 ; @NextPage
.comm _RamSize,4,2 ; @RamSize
l_.str.1: ; @.str.1
.asciz "Problem! NextPage is low (%x)\n"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function h264_remove_emulation_prevention_bytes
_h264_remove_emulation_prevention_bytes: ## @h264_remove_emulation_prevention_bytes
.cfi_startproc
## %bb.0:
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 (%rdi), %ecx
andl $31, %ecx
movq _NAL_UNIT_PREFIX@GOTPCREL(%rip), %rax
movl (%rax), %edx
xorl %ecx, %edx
movq _NAL_UNIT_EXTENSION@GOTPCREL(%rip), %rax
xorl (%rax), %ecx
movl %esi, %r14d
xorl %eax, %eax
orl %edx, %ecx
sete %al
decl %eax
orl $2, %eax
leal 2(%rax), %r12d
cmpl %esi, %r12d
jge LBB0_10
## %bb.1:
movq %rdi, %rbx
cltq
movl (%rdi,%rax,4), %edx
movl 4(%rdi,%rax,4), %eax
jmp LBB0_2
.p2align 4, 0x90
LBB0_8: ## in Loop: Header=BB0_2 Depth=1
incl %r12d
LBB0_9: ## in Loop: Header=BB0_2 Depth=1
movl %eax, %edx
movl %ecx, %eax
cmpl %r14d, %r12d
jge LBB0_10
LBB0_2: ## =>This Inner Loop Header: Depth=1
movslq %r12d, %rsi
movl (%rbx,%rsi,4), %ecx
testl %edx, %edx
jne LBB0_8
## %bb.3: ## in Loop: Header=BB0_2 Depth=1
testl %eax, %eax
jne LBB0_8
## %bb.4: ## in Loop: Header=BB0_2 Depth=1
cmpl $3, %ecx
jne LBB0_8
## %bb.5: ## in Loop: Header=BB0_2 Depth=1
decl %r14d
movl %r14d, %edx
subl %r12d, %edx
je LBB0_6
## %bb.7: ## in Loop: Header=BB0_2 Depth=1
leaq (%rbx,%rsi,4), %r15
leaq 4(%r15), %rsi
movq %r15, %rdi
callq _memmove
movl (%r15), %ecx
xorl %eax, %eax
jmp LBB0_9
LBB0_6:
movl %r12d, %r14d
LBB0_10:
movl %r14d, %eax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _NAL_UNIT_PREFIX,4,2 ## @NAL_UNIT_PREFIX
.comm _NAL_UNIT_EXTENSION,4,2 ## @NAL_UNIT_EXTENSION
.no_dead_strip _h264_remove_emulation_prevention_bytes
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function h264_remove_emulation_prevention_bytes
_h264_remove_emulation_prevention_bytes: ; @h264_remove_emulation_prevention_bytes
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x1
ldr w8, [x0]
and w8, w8, #0x1f
Lloh0:
adrp x9, _NAL_UNIT_PREFIX@GOTPAGE
Lloh1:
ldr x9, [x9, _NAL_UNIT_PREFIX@GOTPAGEOFF]
Lloh2:
ldr w9, [x9]
Lloh3:
adrp x10, _NAL_UNIT_EXTENSION@GOTPAGE
Lloh4:
ldr x10, [x10, _NAL_UNIT_EXTENSION@GOTPAGEOFF]
Lloh5:
ldr w10, [x10]
cmp w8, w10
ccmp w8, w9, #0, eq
mov w8, #2 ; =0x2
csinv w8, w8, wzr, eq
add w22, w8, #2
cmp w22, w1
b.ge LBB0_10
; %bb.1:
mov x20, x0
add x8, x0, w8, sxtw #2
ldp w10, w8, [x8]
b LBB0_4
LBB0_2: ; in Loop: Header=BB0_4 Depth=1
add w22, w22, #1
LBB0_3: ; in Loop: Header=BB0_4 Depth=1
mov x10, x8
mov x8, x9
cmp w22, w19
b.ge LBB0_10
LBB0_4: ; =>This Inner Loop Header: Depth=1
add x21, x20, w22, sxtw #2
ldr w9, [x21]
cbnz w10, LBB0_2
; %bb.5: ; in Loop: Header=BB0_4 Depth=1
cbnz w8, LBB0_2
; %bb.6: ; in Loop: Header=BB0_4 Depth=1
cmp w9, #3
b.ne LBB0_2
; %bb.7: ; in Loop: Header=BB0_4 Depth=1
sub w19, w19, #1
subs w2, w19, w22
b.eq LBB0_9
; %bb.8: ; in Loop: Header=BB0_4 Depth=1
add x1, x21, #4
mov x0, x21
bl _memmove
mov w8, #0 ; =0x0
ldr w9, [x21]
b LBB0_3
LBB0_9:
mov x19, x22
LBB0_10:
mov x0, x19
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _NAL_UNIT_PREFIX,4,2 ; @NAL_UNIT_PREFIX
.comm _NAL_UNIT_EXTENSION,4,2 ; @NAL_UNIT_EXTENSION
.no_dead_strip _h264_remove_emulation_prevention_bytes
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _android_pno_start ## -- Begin function android_pno_start
.p2align 4, 0x90
_android_pno_start: ## @android_pno_start
.cfi_startproc
## %bb.0:
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 %rsi, %r12
movq %rsp, -72(%rbp) ## 8-byte Spill
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
movq %rdi, -64(%rbp) ## 8-byte Spill
movq 8(%rdi), %rax
movq %rax, -56(%rbp) ## 8-byte Spill
movq _WEXT_PNO_MAX_COMMAND_SIZE@GOTPCREL(%rip), %rax
movl (%rax), %eax
movq %rax, -80(%rbp) ## 8-byte Spill
callq ____chkstk_darwin
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq %rsp, %r15
movq _WEXT_PNOSETUP_HEADER_SIZE@GOTPCREL(%rip), %rax
movslq (%rax), %r14
movq _WEXT_PNOSETUP_HEADER@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %r15, %rdi
movl %r14d, %edx
callq _os_memcpy
movq _WEXT_PNO_TLV_VERSION@GOTPCREL(%rip), %rax
movzbl (%rax), %eax
movb %al, -1(%r15,%r14)
movq _WEXT_PNO_TLV_SUBVERSION@GOTPCREL(%rip), %rax
movzbl (%rax), %eax
movb %al, (%r15,%r14)
movq _WEXT_PNO_TLV_RESERVED@GOTPCREL(%rip), %rax
movzbl (%rax), %eax
leal 2(%r14), %ebx
movb %al, 1(%r15,%r14)
xorl %r14d, %r14d
.p2align 4, 0x90
LBB0_1: ## =>This Inner Loop Header: Depth=1
movq _WEXT_PNO_AMOUNT@GOTPCREL(%rip), %rax
movslq (%rax), %rax
movslq %ebx, %r13
cmpq %rax, %r14
jle LBB0_6
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
cmpq %r14, (%r12)
jbe LBB0_3
LBB0_6: ## in Loop: Header=BB0_1 Depth=1
leal 1(%rbx), %eax
movl %eax, %ecx
movq _WEXT_PNO_SSID_HEADER_SIZE@GOTPCREL(%rip), %rdx
subl (%rdx), %ecx
movq _MAX_SSID_LEN@GOTPCREL(%rip), %rdx
addl (%rdx), %ecx
movq _WEXT_PNO_NONSSID_SECTIONS_SIZE@GOTPCREL(%rip), %rdx
addl (%rdx), %ecx
cmpl -80(%rbp), %ecx ## 4-byte Folded Reload
jge LBB0_4
## %bb.7: ## in Loop: Header=BB0_1 Depth=1
movq _MSG_DEBUG@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq 8(%r12), %rax
movl 4(%rax,%r14,8), %edx
movsbl (%rax,%r14,8), %ecx
leaq L_.str(%rip), %rsi
callq _wpa_hexdump_ascii
movq _WEXT_PNO_SSID_SECTION@GOTPCREL(%rip), %rax
movzbl (%rax), %eax
movb %al, (%r15,%r13)
movq 8(%r12), %rax
movsbl (%rax,%r14,8), %edx
movb %dl, 1(%r15,%r13)
leaq (%r15,%r13), %rdi
addq $2, %rdi
movl 4(%rax,%r14,8), %esi
callq _os_memcpy
movq 8(%r12), %rax
movsbl (%rax,%r14,8), %eax
addl %eax, %ebx
addl $2, %ebx
incq %r14
jmp LBB0_1
LBB0_3:
incl %ebx
movl %ebx, %eax
LBB0_4:
movq _WEXT_PNO_SCAN_INTERVAL_SECTION@GOTPCREL(%rip), %rcx
movzbl (%rcx), %ecx
movb %cl, (%r15,%r13)
movslq %eax, %rbx
leaq (%r15,%rbx), %rdi
movq _WEXT_PNO_SCAN_INTERVAL_LENGTH@GOTPCREL(%rip), %r12
movq (%r12), %rsi
incq %rsi
movq _WEXT_PNO_SCAN_INTERVAL@GOTPCREL(%rip), %rax
movl (%rax), %ecx
leaq L_.str.1(%rip), %r14
movq %r14, %rdx
callq _os_snprintf
addl (%r12), %ebx
movq _WEXT_PNO_REPEAT_SECTION@GOTPCREL(%rip), %rax
movzbl (%rax), %eax
movslq %ebx, %rbx
movb %al, (%r15,%rbx)
leaq (%r15,%rbx), %rdi
incq %rdi
movq _WEXT_PNO_REPEAT_LENGTH@GOTPCREL(%rip), %r12
movq (%r12), %rsi
incq %rsi
movq _WEXT_PNO_REPEAT@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movq %r14, %rdx
callq _os_snprintf
movl (%r12), %eax
movl %ebx, %r12d
addl %eax, %r12d
addl %ebx, %eax
incl %eax
movq _WEXT_PNO_MAX_REPEAT_SECTION@GOTPCREL(%rip), %rcx
movzbl (%rcx), %ecx
cltq
movb %cl, (%r15,%rax)
leaq (%r15,%rax), %rdi
incq %rdi
movq _WEXT_PNO_MAX_REPEAT_LENGTH@GOTPCREL(%rip), %rbx
movq (%rbx), %rsi
incq %rsi
movq _WEXT_PNO_MAX_REPEAT@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movq %r14, %rdx
callq _os_snprintf
movl (%rbx), %eax
leal (%rax,%r12), %ebx
addl $3, %ebx
leaq -144(%rbp), %r14
movq %r14, %rdi
xorl %esi, %esi
movl $32, %edx
callq _memset
leaq -112(%rbp), %r12
movq %r12, %rdi
xorl %esi, %esi
movl $32, %edx
callq _memset
movl -120(%rbp), %edi
movq -64(%rbp), %r13 ## 8-byte Reload
movl (%r13), %esi
movq _IFNAMSIZ@GOTPCREL(%rip), %rax
movl (%rax), %edx
callq _os_strlcpy
movq %r15, -112(%rbp)
movl %ebx, -104(%rbp)
movl %ebx, -100(%rbp)
movq %r12, -128(%rbp)
movq -56(%rbp), %r15 ## 8-byte Reload
movq (%r15), %rax
movl (%rax), %edi
movq _SIOCDEVPRIVATE@GOTPCREL(%rip), %rax
movq (%rax), %rsi
incq %rsi
movq %r14, %rdx
callq _ioctl
testl %eax, %eax
js LBB0_5
## %bb.8:
movq _drv_errors@GOTPCREL(%rip), %rax
movq $0, (%rax)
leaq L_.str.3(%rip), %rsi
movq %r13, %rdi
callq _android_priv_cmd
jmp LBB0_9
LBB0_5:
movq _MSG_ERROR@GOTPCREL(%rip), %rcx
movl (%rcx), %edi
leaq L_.str.2(%rip), %rsi
movl %eax, %edx
movl %eax, %ebx
callq _wpa_printf
movq %r15, %rdi
callq _wpa_driver_send_hang_msg
movl %ebx, %eax
LBB0_9:
movq -72(%rbp), %rsp ## 8-byte Reload
movq ___stack_chk_guard@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
cmpq -48(%rbp), %rcx
jne LBB0_11
## %bb.10:
leaq -40(%rbp), %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_11:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.comm _WEXT_PNO_MAX_COMMAND_SIZE,4,2 ## @WEXT_PNO_MAX_COMMAND_SIZE
.comm _WEXT_PNOSETUP_HEADER_SIZE,4,2 ## @WEXT_PNOSETUP_HEADER_SIZE
.comm _WEXT_PNOSETUP_HEADER,4,2 ## @WEXT_PNOSETUP_HEADER
.comm _WEXT_PNO_TLV_PREFIX,1,0 ## @WEXT_PNO_TLV_PREFIX
.comm _WEXT_PNO_TLV_VERSION,1,0 ## @WEXT_PNO_TLV_VERSION
.comm _WEXT_PNO_TLV_SUBVERSION,1,0 ## @WEXT_PNO_TLV_SUBVERSION
.comm _WEXT_PNO_TLV_RESERVED,1,0 ## @WEXT_PNO_TLV_RESERVED
.comm _WEXT_PNO_AMOUNT,4,2 ## @WEXT_PNO_AMOUNT
.comm _WEXT_PNO_SSID_HEADER_SIZE,4,2 ## @WEXT_PNO_SSID_HEADER_SIZE
.comm _MAX_SSID_LEN,4,2 ## @MAX_SSID_LEN
.comm _WEXT_PNO_NONSSID_SECTIONS_SIZE,4,2 ## @WEXT_PNO_NONSSID_SECTIONS_SIZE
.comm _MSG_DEBUG,4,2 ## @MSG_DEBUG
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "For PNO Scan"
.comm _WEXT_PNO_SSID_SECTION,1,0 ## @WEXT_PNO_SSID_SECTION
.comm _WEXT_PNO_SCAN_INTERVAL_SECTION,1,0 ## @WEXT_PNO_SCAN_INTERVAL_SECTION
.comm _WEXT_PNO_SCAN_INTERVAL_LENGTH,8,3 ## @WEXT_PNO_SCAN_INTERVAL_LENGTH
L_.str.1: ## @.str.1
.asciz "%x"
.comm _WEXT_PNO_SCAN_INTERVAL,4,2 ## @WEXT_PNO_SCAN_INTERVAL
.comm _WEXT_PNO_REPEAT_SECTION,1,0 ## @WEXT_PNO_REPEAT_SECTION
.comm _WEXT_PNO_REPEAT_LENGTH,8,3 ## @WEXT_PNO_REPEAT_LENGTH
.comm _WEXT_PNO_REPEAT,4,2 ## @WEXT_PNO_REPEAT
.comm _WEXT_PNO_MAX_REPEAT_SECTION,1,0 ## @WEXT_PNO_MAX_REPEAT_SECTION
.comm _WEXT_PNO_MAX_REPEAT_LENGTH,8,3 ## @WEXT_PNO_MAX_REPEAT_LENGTH
.comm _WEXT_PNO_MAX_REPEAT,4,2 ## @WEXT_PNO_MAX_REPEAT
.comm _IFNAMSIZ,4,2 ## @IFNAMSIZ
.comm _SIOCDEVPRIVATE,8,3 ## @SIOCDEVPRIVATE
.comm _MSG_ERROR,4,2 ## @MSG_ERROR
L_.str.2: ## @.str.2
.asciz "ioctl[SIOCSIWPRIV] (pnosetup): %d"
.comm _drv_errors,8,3 ## @drv_errors
L_.str.3: ## @.str.3
.asciz "PNOFORCE 1"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _android_pno_start ; -- Begin function android_pno_start
.p2align 2
_android_pno_start: ; @android_pno_start
.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, #96
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
mov x22, x1
mov x8, sp
stur x8, [x29, #-160] ; 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 x8, [x0, #8]
stp x0, x8, [x29, #-176] ; 16-byte Folded Spill
Lloh3:
adrp x8, _WEXT_PNO_MAX_COMMAND_SIZE@GOTPAGE
Lloh4:
ldr x8, [x8, _WEXT_PNO_MAX_COMMAND_SIZE@GOTPAGEOFF]
Lloh5:
ldr w23, [x8]
mov x9, x23
Lloh6:
adrp x16, ___chkstk_darwin@GOTPAGE
Lloh7:
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
mov x8, sp
add x9, x23, #15
and x9, x9, #0x1fffffff0
sub x21, x8, x9
mov sp, x21
Lloh8:
adrp x8, _WEXT_PNOSETUP_HEADER_SIZE@GOTPAGE
Lloh9:
ldr x8, [x8, _WEXT_PNOSETUP_HEADER_SIZE@GOTPAGEOFF]
Lloh10:
ldrsw x24, [x8]
Lloh11:
adrp x8, _WEXT_PNOSETUP_HEADER@GOTPAGE
Lloh12:
ldr x8, [x8, _WEXT_PNOSETUP_HEADER@GOTPAGEOFF]
Lloh13:
ldr w1, [x8]
mov x0, x21
mov x2, x24
bl _os_memcpy
mov x26, #0 ; =0x0
mov x27, #0 ; =0x0
add x8, x21, x24
Lloh14:
adrp x9, _WEXT_PNO_TLV_VERSION@GOTPAGE
Lloh15:
ldr x9, [x9, _WEXT_PNO_TLV_VERSION@GOTPAGEOFF]
ldrb w9, [x9]
sturb w9, [x8, #-1]
Lloh16:
adrp x9, _WEXT_PNO_TLV_SUBVERSION@GOTPAGE
Lloh17:
ldr x9, [x9, _WEXT_PNO_TLV_SUBVERSION@GOTPAGEOFF]
ldrb w9, [x9]
Lloh18:
adrp x10, _WEXT_PNO_TLV_RESERVED@GOTPAGE
Lloh19:
ldr x10, [x10, _WEXT_PNO_TLV_RESERVED@GOTPAGEOFF]
strb w9, [x8]
ldrb w9, [x10]
add w28, w24, #2
strb w9, [x8, #1]
Lloh20:
adrp x19, _WEXT_PNO_NONSSID_SECTIONS_SIZE@GOTPAGE
Lloh21:
ldr x19, [x19, _WEXT_PNO_NONSSID_SECTIONS_SIZE@GOTPAGEOFF]
Lloh22:
adrp x24, l_.str@PAGE
Lloh23:
add x24, x24, l_.str@PAGEOFF
Lloh24:
adrp x25, _WEXT_PNO_SSID_SECTION@GOTPAGE
Lloh25:
ldr x25, [x25, _WEXT_PNO_SSID_SECTION@GOTPAGEOFF]
LBB0_1: ; =>This Inner Loop Header: Depth=1
Lloh26:
adrp x8, _WEXT_PNO_AMOUNT@GOTPAGE
Lloh27:
ldr x8, [x8, _WEXT_PNO_AMOUNT@GOTPAGEOFF]
Lloh28:
ldrsw x8, [x8]
cmp x27, x8
b.le LBB0_3
; %bb.2: ; in Loop: Header=BB0_1 Depth=1
ldr x8, [x22]
cmp x8, x27
b.ls LBB0_5
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
Lloh29:
adrp x8, _WEXT_PNO_SSID_HEADER_SIZE@GOTPAGE
Lloh30:
ldr x8, [x8, _WEXT_PNO_SSID_HEADER_SIZE@GOTPAGEOFF]
Lloh31:
ldr w8, [x8]
Lloh32:
adrp x9, _MAX_SSID_LEN@GOTPAGE
Lloh33:
ldr x9, [x9, _MAX_SSID_LEN@GOTPAGEOFF]
Lloh34:
ldr w9, [x9]
ldr w10, [x19]
add w20, w28, #1
sub w8, w20, w8
add w9, w9, w10
add w8, w8, w9
cmp w8, w23
b.ge LBB0_6
; %bb.4: ; in Loop: Header=BB0_1 Depth=1
Lloh35:
adrp x8, _MSG_DEBUG@GOTPAGE
Lloh36:
ldr x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh37:
ldr w0, [x8]
ldr x8, [x22, #8]
add x8, x8, x26
ldr w2, [x8, #4]
ldrsb w3, [x8]
mov x1, x24
bl _wpa_hexdump_ascii
ldrb w8, [x25]
sxtw x9, w28
add x10, x21, x9
strb w8, [x10]
ldr x8, [x22, #8]
add x8, x8, x26
ldrsb w2, [x8]
add x20, x9, #2
strb w2, [x10, #1]
ldr w1, [x8, #4]
add x0, x21, x20
bl _os_memcpy
ldr x8, [x22, #8]
ldrsb w8, [x8, x26]
add w28, w20, w8
add x27, x27, #1
add x26, x26, #8
b LBB0_1
LBB0_5:
add w20, w28, #1
LBB0_6:
Lloh38:
adrp x8, _WEXT_PNO_SCAN_INTERVAL_SECTION@GOTPAGE
Lloh39:
ldr x8, [x8, _WEXT_PNO_SCAN_INTERVAL_SECTION@GOTPAGEOFF]
ldrb w8, [x8]
strb w8, [x21, w28, sxtw]
add x0, x21, w20, sxtw
Lloh40:
adrp x19, _WEXT_PNO_SCAN_INTERVAL_LENGTH@GOTPAGE
Lloh41:
ldr x19, [x19, _WEXT_PNO_SCAN_INTERVAL_LENGTH@GOTPAGEOFF]
ldr x8, [x19]
Lloh42:
adrp x9, _WEXT_PNO_SCAN_INTERVAL@GOTPAGE
Lloh43:
ldr x9, [x9, _WEXT_PNO_SCAN_INTERVAL@GOTPAGEOFF]
Lloh44:
ldr w3, [x9]
Lloh45:
adrp x22, l_.str.1@PAGE
Lloh46:
add x22, x22, l_.str.1@PAGEOFF
add x1, x8, #1
mov x2, x22
bl _os_snprintf
ldr w8, [x19]
Lloh47:
adrp x9, _WEXT_PNO_REPEAT_SECTION@GOTPAGE
Lloh48:
ldr x9, [x9, _WEXT_PNO_REPEAT_SECTION@GOTPAGEOFF]
add w8, w20, w8
ldrb w9, [x9]
sxtw x8, w8
add x19, x8, #1
strb w9, [x21, x8]
Lloh49:
adrp x20, _WEXT_PNO_REPEAT_LENGTH@GOTPAGE
Lloh50:
ldr x20, [x20, _WEXT_PNO_REPEAT_LENGTH@GOTPAGEOFF]
ldr x8, [x20]
Lloh51:
adrp x9, _WEXT_PNO_REPEAT@GOTPAGE
Lloh52:
ldr x9, [x9, _WEXT_PNO_REPEAT@GOTPAGEOFF]
Lloh53:
ldr w3, [x9]
add x0, x21, x19
add x1, x8, #1
mov x2, x22
bl _os_snprintf
ldr w8, [x20]
add w19, w19, w8
Lloh54:
adrp x8, _WEXT_PNO_MAX_REPEAT_SECTION@GOTPAGE
Lloh55:
ldr x8, [x8, _WEXT_PNO_MAX_REPEAT_SECTION@GOTPAGEOFF]
ldrb w8, [x8]
add x0, x21, w19, sxtw
strb w8, [x0], #1
Lloh56:
adrp x20, _WEXT_PNO_MAX_REPEAT_LENGTH@GOTPAGE
Lloh57:
ldr x20, [x20, _WEXT_PNO_MAX_REPEAT_LENGTH@GOTPAGEOFF]
ldr x8, [x20]
Lloh58:
adrp x9, _WEXT_PNO_MAX_REPEAT@GOTPAGE
Lloh59:
ldr x9, [x9, _WEXT_PNO_MAX_REPEAT@GOTPAGEOFF]
Lloh60:
ldr w3, [x9]
add x1, x8, #1
mov x2, x22
bl _os_snprintf
ldr w8, [x20]
add w8, w19, w8
add w19, w8, #2
sub x0, x29, #120
mov w1, #0 ; =0x0
mov w2, #32 ; =0x20
bl _memset
sub x20, x29, #152
sub x0, x29, #152
mov w1, #0 ; =0x0
mov w2, #32 ; =0x20
bl _memset
ldur w0, [x29, #-96]
ldur x22, [x29, #-176] ; 8-byte Folded Reload
ldr w1, [x22]
Lloh61:
adrp x8, _IFNAMSIZ@GOTPAGE
Lloh62:
ldr x8, [x8, _IFNAMSIZ@GOTPAGEOFF]
Lloh63:
ldr w2, [x8]
bl _os_strlcpy
stur x21, [x29, #-152]
stp w19, w19, [x29, #-144]
stur x20, [x29, #-104]
ldur x19, [x29, #-168] ; 8-byte Folded Reload
ldr x8, [x19]
ldr w0, [x8]
Lloh64:
adrp x8, _SIOCDEVPRIVATE@GOTPAGE
Lloh65:
ldr x8, [x8, _SIOCDEVPRIVATE@GOTPAGEOFF]
Lloh66:
ldr x8, [x8]
add x1, x8, #1
sub x2, x29, #120
bl _ioctl
tbnz w0, #31, LBB0_8
; %bb.7:
Lloh67:
adrp x8, _drv_errors@GOTPAGE
Lloh68:
ldr x8, [x8, _drv_errors@GOTPAGEOFF]
Lloh69:
str xzr, [x8]
Lloh70:
adrp x1, l_.str.3@PAGE
Lloh71:
add x1, x1, l_.str.3@PAGEOFF
mov x0, x22
bl _android_priv_cmd
b LBB0_9
LBB0_8:
Lloh72:
adrp x8, _MSG_ERROR@GOTPAGE
Lloh73:
ldr x8, [x8, _MSG_ERROR@GOTPAGEOFF]
Lloh74:
ldr w8, [x8]
Lloh75:
adrp x1, l_.str.2@PAGE
Lloh76:
add x1, x1, l_.str.2@PAGEOFF
mov x20, x0
mov x0, x8
mov x2, x20
bl _wpa_printf
mov x0, x19
bl _wpa_driver_send_hang_msg
mov x0, x20
LBB0_9:
ldur x8, [x29, #-160] ; 8-byte Folded Reload
mov sp, x8
ldur x8, [x29, #-88]
Lloh77:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh78:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh79:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_11
; %bb.10:
sub sp, x29, #80
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
ldp x24, x23, [sp, #32] ; 16-byte Folded Reload
ldp x26, x25, [sp, #16] ; 16-byte Folded Reload
ldp x28, x27, [sp], #96 ; 16-byte Folded Reload
ret
LBB0_11:
bl ___stack_chk_fail
.loh AdrpLdrGot Lloh24, Lloh25
.loh AdrpAdd Lloh22, Lloh23
.loh AdrpLdrGot Lloh20, Lloh21
.loh AdrpLdrGot Lloh18, Lloh19
.loh AdrpLdrGot Lloh16, Lloh17
.loh AdrpLdrGot Lloh14, Lloh15
.loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh26, Lloh27, Lloh28
.loh AdrpLdrGotLdr Lloh32, Lloh33, Lloh34
.loh AdrpLdrGotLdr Lloh29, Lloh30, Lloh31
.loh AdrpLdrGotLdr Lloh35, Lloh36, Lloh37
.loh AdrpLdrGotLdr Lloh64, Lloh65, Lloh66
.loh AdrpLdrGotLdr Lloh61, Lloh62, Lloh63
.loh AdrpLdrGotLdr Lloh58, Lloh59, Lloh60
.loh AdrpLdrGot Lloh56, Lloh57
.loh AdrpLdrGot Lloh54, Lloh55
.loh AdrpLdrGotLdr Lloh51, Lloh52, Lloh53
.loh AdrpLdrGot Lloh49, Lloh50
.loh AdrpLdrGot Lloh47, Lloh48
.loh AdrpAdd Lloh45, Lloh46
.loh AdrpLdrGotLdr Lloh42, Lloh43, Lloh44
.loh AdrpLdrGot Lloh40, Lloh41
.loh AdrpLdrGot Lloh38, Lloh39
.loh AdrpAdd Lloh70, Lloh71
.loh AdrpLdrGotStr Lloh67, Lloh68, Lloh69
.loh AdrpAdd Lloh75, Lloh76
.loh AdrpLdrGotLdr Lloh72, Lloh73, Lloh74
.loh AdrpLdrGotLdr Lloh77, Lloh78, Lloh79
.loh AdrpLdrGot Lloh6, Lloh7
.cfi_endproc
; -- End function
.comm _WEXT_PNO_MAX_COMMAND_SIZE,4,2 ; @WEXT_PNO_MAX_COMMAND_SIZE
.comm _WEXT_PNOSETUP_HEADER_SIZE,4,2 ; @WEXT_PNOSETUP_HEADER_SIZE
.comm _WEXT_PNOSETUP_HEADER,4,2 ; @WEXT_PNOSETUP_HEADER
.comm _WEXT_PNO_TLV_PREFIX,1,0 ; @WEXT_PNO_TLV_PREFIX
.comm _WEXT_PNO_TLV_VERSION,1,0 ; @WEXT_PNO_TLV_VERSION
.comm _WEXT_PNO_TLV_SUBVERSION,1,0 ; @WEXT_PNO_TLV_SUBVERSION
.comm _WEXT_PNO_TLV_RESERVED,1,0 ; @WEXT_PNO_TLV_RESERVED
.comm _WEXT_PNO_AMOUNT,4,2 ; @WEXT_PNO_AMOUNT
.comm _WEXT_PNO_SSID_HEADER_SIZE,4,2 ; @WEXT_PNO_SSID_HEADER_SIZE
.comm _MAX_SSID_LEN,4,2 ; @MAX_SSID_LEN
.comm _WEXT_PNO_NONSSID_SECTIONS_SIZE,4,2 ; @WEXT_PNO_NONSSID_SECTIONS_SIZE
.comm _MSG_DEBUG,4,2 ; @MSG_DEBUG
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "For PNO Scan"
.comm _WEXT_PNO_SSID_SECTION,1,0 ; @WEXT_PNO_SSID_SECTION
.comm _WEXT_PNO_SCAN_INTERVAL_SECTION,1,0 ; @WEXT_PNO_SCAN_INTERVAL_SECTION
.comm _WEXT_PNO_SCAN_INTERVAL_LENGTH,8,3 ; @WEXT_PNO_SCAN_INTERVAL_LENGTH
l_.str.1: ; @.str.1
.asciz "%x"
.comm _WEXT_PNO_SCAN_INTERVAL,4,2 ; @WEXT_PNO_SCAN_INTERVAL
.comm _WEXT_PNO_REPEAT_SECTION,1,0 ; @WEXT_PNO_REPEAT_SECTION
.comm _WEXT_PNO_REPEAT_LENGTH,8,3 ; @WEXT_PNO_REPEAT_LENGTH
.comm _WEXT_PNO_REPEAT,4,2 ; @WEXT_PNO_REPEAT
.comm _WEXT_PNO_MAX_REPEAT_SECTION,1,0 ; @WEXT_PNO_MAX_REPEAT_SECTION
.comm _WEXT_PNO_MAX_REPEAT_LENGTH,8,3 ; @WEXT_PNO_MAX_REPEAT_LENGTH
.comm _WEXT_PNO_MAX_REPEAT,4,2 ; @WEXT_PNO_MAX_REPEAT
.comm _IFNAMSIZ,4,2 ; @IFNAMSIZ
.comm _SIOCDEVPRIVATE,8,3 ; @SIOCDEVPRIVATE
.comm _MSG_ERROR,4,2 ; @MSG_ERROR
l_.str.2: ; @.str.2
.asciz "ioctl[SIOCSIWPRIV] (pnosetup): %d"
.comm _drv_errors,8,3 ; @drv_errors
l_.str.3: ; @.str.3
.asciz "PNOFORCE 1"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function opfnstsw
_opfnstsw: ## @opfnstsw
.cfi_startproc
## %bb.0:
movl $-1, %eax
cmpl $1, (%rdx)
jne LBB0_5
## %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
movl (%rcx), %edx
movq _OT_MEMORY@GOTPCREL(%rip), %rdi
testl %edx, (%rdi)
jne LBB0_3
## %bb.2:
movq _OT_WORD@GOTPCREL(%rip), %rdi
testl %edx, (%rdi)
je LBB0_4
LBB0_3:
movl $221, (%rsi)
movq 8(%rcx), %rax
movl (%rax), %eax
orl $56, %eax
movl %eax, -4(%rsi)
xorl %eax, %eax
LBB0_4:
popq %rbp
LBB0_5:
retq
.cfi_endproc
## -- End function
.comm _OT_MEMORY,4,2 ## @OT_MEMORY
.comm _OT_WORD,4,2 ## @OT_WORD
.comm _OT_GPREG,4,2 ## @OT_GPREG
.comm _X86R_AX,4,2 ## @X86R_AX
.no_dead_strip _opfnstsw
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function opfnstsw
_opfnstsw: ; @opfnstsw
.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_MEMORY@GOTPAGE
Lloh1:
ldr x10, [x10, _OT_MEMORY@GOTPAGEOFF]
Lloh2:
ldr w10, [x10]
tst w10, w9
b.ne LBB0_3
; %bb.2:
Lloh3:
adrp x10, _OT_WORD@GOTPAGE
Lloh4:
ldr x10, [x10, _OT_WORD@GOTPAGEOFF]
Lloh5:
ldr w10, [x10]
tst w10, w9
b.eq LBB0_4
LBB0_3:
mov w0, #0 ; =0x0
mov w9, #221 ; =0xdd
str w9, [x1]
ldr x8, [x8, #8]
ldr w8, [x8]
orr w8, w8, #0x38
stur w8, [x1, #-4]
ret
LBB0_4:
mov w0, #-1 ; =0xffffffff
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.cfi_endproc
; -- End function
.comm _OT_MEMORY,4,2 ; @OT_MEMORY
.comm _OT_WORD,4,2 ; @OT_WORD
.comm _OT_GPREG,4,2 ; @OT_GPREG
.comm _X86R_AX,4,2 ; @X86R_AX
.no_dead_strip _opfnstsw
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _h2o_append_to_null_terminated_list ## -- Begin function h2o_append_to_null_terminated_list
.p2align 4, 0x90
_h2o_append_to_null_terminated_list: ## @h2o_append_to_null_terminated_list
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %r14
movq %rdi, %rbx
movq (%rdi), %rdi
movq $-8, %r15
.p2align 4, 0x90
LBB0_1: ## =>This Inner Loop Header: Depth=1
cmpq $0, 8(%rdi,%r15)
leaq -8(%r15), %r15
je LBB0_1
## %bb.2:
movq %r15, %rsi
callq _h2o_mem_realloc
movq %rax, (%rbx)
movq %r14, 16(%rax,%r15)
movq (%rbx), %rax
movq $0, 24(%rax,%r15)
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _h2o_append_to_null_terminated_list ; -- Begin function h2o_append_to_null_terminated_list
.p2align 2
_h2o_append_to_null_terminated_list: ; @h2o_append_to_null_terminated_list
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x20, x1
mov x19, x0
mov x21, #0 ; =0x0
ldr x0, [x0]
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr x8, [x0, x21]
sub x21, x21, #8
cbz x8, LBB0_1
; %bb.2:
sub x1, x21, #8
bl _h2o_mem_realloc
str x0, [x19]
add x8, x0, x21
str x20, [x8, #8]
ldr x8, [x19]
add x8, x8, x21
str xzr, [x8, #16]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _sqlite3TestHexToBin ## -- Begin function sqlite3TestHexToBin
.p2align 4, 0x90
_sqlite3TestHexToBin: ## @sqlite3TestHexToBin
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
testl %esi, %esi
jle LBB0_1
## %bb.2:
movl %esi, %ecx
xorl %esi, %esi
movl $1, %r9d
leaq l___const.sqlite3TestHexToBin.aMap(%rip), %r8
xorl %eax, %eax
jmp LBB0_3
.p2align 4, 0x90
LBB0_6: ## in Loop: Header=BB0_3 Depth=1
decb %r10b
leal 1(%r11), %eax
orb (%rdx,%r11), %r10b
movl $1, %r9d
LBB0_7: ## in Loop: Header=BB0_3 Depth=1
movb %r10b, (%rdx,%r11)
incq %rsi
cmpq %rsi, %rcx
je LBB0_8
LBB0_3: ## =>This Inner Loop Header: Depth=1
movzbl (%rdi,%rsi), %r10d
movzbl (%r10,%r8), %r10d
testb %r10b, %r10b
je LBB0_8
## %bb.4: ## in Loop: Header=BB0_3 Depth=1
movslq %eax, %r11
testl %r9d, %r9d
je LBB0_6
## %bb.5: ## in Loop: Header=BB0_3 Depth=1
shlb $4, %r10b
addb $-16, %r10b
xorl %r9d, %r9d
jmp LBB0_7
LBB0_8:
popq %rbp
retq
LBB0_1:
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__const
.p2align 4, 0x0 ## @__const.sqlite3TestHexToBin.aMap
l___const.sqlite3TestHexToBin.aMap:
.ascii "\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\001\002\003\004\005\006\007\b\t\n\000\000\000\000\000\000\000\013\f\r\016\017\020\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\013\f\r\016\017\020"
.space 153
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _sqlite3TestHexToBin ; -- Begin function sqlite3TestHexToBin
.p2align 2
_sqlite3TestHexToBin: ; @sqlite3TestHexToBin
.cfi_startproc
; %bb.0:
cmp w1, #1
b.lt LBB0_7
; %bb.1:
mov w10, #0 ; =0x0
mov w9, w1
mov w12, #1 ; =0x1
Lloh0:
adrp x11, l___const.sqlite3TestHexToBin.aMap@PAGE
Lloh1:
add x11, x11, l___const.sqlite3TestHexToBin.aMap@PAGEOFF
b LBB0_4
LBB0_2: ; in Loop: Header=BB0_4 Depth=1
sub w12, w8, #1
add w8, w10, #1
ldrb w13, [x2, w10, sxtw]
orr w13, w13, w12
mov w12, #1 ; =0x1
LBB0_3: ; in Loop: Header=BB0_4 Depth=1
strb w13, [x2, w10, sxtw]
mov x10, x8
subs x9, x9, #1
b.eq LBB0_8
LBB0_4: ; =>This Inner Loop Header: Depth=1
ldrb w8, [x0], #1
ldrb w8, [x11, x8]
cbz w8, LBB0_9
; %bb.5: ; in Loop: Header=BB0_4 Depth=1
cbz w12, LBB0_2
; %bb.6: ; in Loop: Header=BB0_4 Depth=1
mov w12, #0 ; =0x0
lsl w8, w8, #4
sub w13, w8, #16
mov x8, x10
b LBB0_3
LBB0_7:
mov w8, #0 ; =0x0
LBB0_8:
mov x0, x8
ret
LBB0_9:
mov x0, x10
ret
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__const
l___const.sqlite3TestHexToBin.aMap: ; @__const.sqlite3TestHexToBin.aMap
.ascii "\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\001\002\003\004\005\006\007\b\t\n\000\000\000\000\000\000\000\013\f\r\016\017\020\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\013\f\r\016\017\020"
.space 153
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _prepare_to_write_split_index ## -- Begin function prepare_to_write_split_index
.p2align 4, 0x90
_prepare_to_write_split_index: ## @prepare_to_write_split_index
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $24, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %rbx
callq _init_split_index
movq %rax, %r14
movl $0, -44(%rbp) ## 4-byte Folded Spill
xorl %eax, %eax
callq _ewah_new
movq %rax, 32(%r14)
xorl %eax, %eax
callq _ewah_new
movq %rax, 24(%r14)
movq 16(%r14), %rcx
movl (%rbx), %eax
testq %rcx, %rcx
je LBB0_33
## %bb.1:
testl %eax, %eax
jle LBB0_12
## %bb.2:
movl $1, %r15d
jmp LBB0_3
.p2align 4, 0x90
LBB0_19: ## in Loop: Header=BB0_3 Depth=1
movl $0, (%r13)
LBB0_26: ## in Loop: Header=BB0_3 Depth=1
movslq (%rbx), %rax
decq %r15
cmpq %rax, %r15
jg LBB0_11
LBB0_3: ## =>This Inner Loop Header: Depth=1
movq 8(%rbx), %rax
movq -8(%rax,%r15,8), %r13
movl (%r13), %esi
testl %esi, %esi
je LBB0_26
## %bb.4: ## in Loop: Header=BB0_3 Depth=1
movq 16(%r14), %rax
movl (%rax), %edx
cmpl %edx, %esi
jle LBB0_6
## %bb.5: ## in Loop: Header=BB0_3 Depth=1
leaq L_.str(%rip), %rdi
callq _BUG
movq 16(%r14), %rax
movl (%r13), %esi
LBB0_6: ## in Loop: Header=BB0_3 Depth=1
movl 4(%r13), %ecx
movq _CE_MATCHED@GOTPCREL(%rip), %rdx
orl (%rdx), %ecx
movl %ecx, 4(%r13)
movq 8(%rax), %rax
movslq %esi, %rdx
movq 8(%rax,%rdx,8), %r12
cmpq %r12, %r13
je LBB0_7
## %bb.17: ## in Loop: Header=BB0_3 Depth=1
movq 8(%r13), %rax
cmpq 8(%r12), %rax
jne LBB0_19
## %bb.18: ## in Loop: Header=BB0_3 Depth=1
movl 20(%r13), %edi
movl 20(%r12), %esi
callq _strcmp
testq %rax, %rax
jne LBB0_19
## %bb.20: ## in Loop: Header=BB0_3 Depth=1
movq _CE_UPDATE_IN_BASE@GOTPCREL(%rip), %rax
movl (%rax), %eax
testl %eax, 4(%r13)
jne LBB0_25
## %bb.21: ## in Loop: Header=BB0_3 Depth=1
movq %r13, %rdi
callq _ce_uptodate
testl %eax, %eax
je LBB0_22
LBB0_23: ## in Loop: Header=BB0_3 Depth=1
movq %r13, %rdi
movq %r12, %rsi
callq _compare_ce_content
testq %rax, %rax
jne LBB0_24
jmp LBB0_25
.p2align 4, 0x90
LBB0_7: ## in Loop: Header=BB0_3 Depth=1
movq _CE_UPDATE_IN_BASE@GOTPCREL(%rip), %rax
orl (%rax), %ecx
jne LBB0_26
## %bb.8: ## in Loop: Header=BB0_3 Depth=1
movq %r13, %rdi
callq _ce_uptodate
testl %eax, %eax
jne LBB0_26
## %bb.9: ## in Loop: Header=BB0_3 Depth=1
movq %rbx, %rdi
movq %r13, %rsi
callq _is_racy_timestamp
testq %rax, %rax
je LBB0_26
## %bb.10: ## in Loop: Header=BB0_3 Depth=1
movq _CE_UPDATE_IN_BASE@GOTPCREL(%rip), %rax
movl (%rax), %eax
orl %eax, 4(%r13)
jmp LBB0_26
LBB0_22: ## in Loop: Header=BB0_3 Depth=1
movq %rbx, %rdi
movq %r13, %rsi
callq _is_racy_timestamp
testq %rax, %rax
je LBB0_23
LBB0_24: ## in Loop: Header=BB0_3 Depth=1
movq _CE_UPDATE_IN_BASE@GOTPCREL(%rip), %rax
movl (%rax), %eax
orl %eax, 4(%r13)
LBB0_25: ## in Loop: Header=BB0_3 Depth=1
movq %r12, %rdi
callq _discard_cache_entry
movq 16(%r14), %rax
movq 8(%rax), %rax
movslq (%r13), %rcx
movq %r13, -8(%rax,%rcx,8)
jmp LBB0_26
LBB0_11:
movq 16(%r14), %rcx
LBB0_12:
cmpl $0, (%rcx)
jle LBB0_33
## %bb.13:
xorl %r12d, %r12d
movq _CE_REMOVE@GOTPCREL(%rip), %r15
movl $0, -44(%rbp) ## 4-byte Folded Spill
jmp LBB0_14
.p2align 4, 0x90
LBB0_31: ## in Loop: Header=BB0_14 Depth=1
incq %r12
movq 16(%r14), %rcx
movslq (%rcx), %rax
cmpq %rax, %r12
jge LBB0_32
LBB0_14: ## =>This Inner Loop Header: Depth=1
movq 8(%rcx), %rax
movq (%rax,%r12,8), %r13
movl 4(%r13), %eax
testl %eax, (%r15)
je LBB0_15
LBB0_16: ## in Loop: Header=BB0_14 Depth=1
movq 32(%r14), %rdi
movl %r12d, %esi
callq _ewah_set
LBB0_29: ## in Loop: Header=BB0_14 Depth=1
addq $16, %r13
movq %r13, %rdi
callq _is_null_oid
testq %rax, %rax
je LBB0_31
## %bb.30: ## in Loop: Header=BB0_14 Depth=1
movl $1, 4(%rbx)
jmp LBB0_31
.p2align 4, 0x90
LBB0_15: ## in Loop: Header=BB0_14 Depth=1
movq _CE_MATCHED@GOTPCREL(%rip), %rcx
testl %eax, (%rcx)
je LBB0_16
## %bb.27: ## in Loop: Header=BB0_14 Depth=1
movq _CE_UPDATE_IN_BASE@GOTPCREL(%rip), %rcx
testl %eax, (%rcx)
je LBB0_29
## %bb.28: ## in Loop: Header=BB0_14 Depth=1
movq 24(%r14), %rdi
movl %r12d, %esi
callq _ewah_set
movq _CE_STRIP_NAME@GOTPCREL(%rip), %rax
movl (%rax), %eax
orl %eax, 4(%r13)
movl -44(%rbp), %esi ## 4-byte Reload
incl %esi
xorl %edi, %edi
movl %esi, -44(%rbp) ## 4-byte Spill
xorl %edx, %edx
callq _ALLOC_GROW
jmp LBB0_29
LBB0_32:
movl (%rbx), %eax
LBB0_33:
testl %eax, %eax
jle LBB0_40
## %bb.34:
xorl %r15d, %r15d
movq _CE_REMOVE@GOTPCREL(%rip), %r13
movq _CE_MATCHED@GOTPCREL(%rip), %rsi
movq %rbx, -56(%rbp) ## 8-byte Spill
jmp LBB0_35
.p2align 4, 0x90
LBB0_37: ## in Loop: Header=BB0_35 Depth=1
movl 4(%r12), %ecx
testl %ecx, (%r13)
je LBB0_38
LBB0_39: ## in Loop: Header=BB0_35 Depth=1
movl (%rsi), %ecx
notl %ecx
andl %ecx, 4(%r12)
incq %r15
movslq %eax, %rcx
cmpq %rcx, %r15
jge LBB0_40
LBB0_35: ## =>This Inner Loop Header: Depth=1
movq 8(%rbx), %rcx
movq (%rcx,%r15,8), %r12
cmpq $0, 16(%r14)
je LBB0_37
## %bb.36: ## in Loop: Header=BB0_35 Depth=1
cmpl $0, (%r12)
jne LBB0_39
jmp LBB0_37
.p2align 4, 0x90
LBB0_38: ## in Loop: Header=BB0_35 Depth=1
xorl %edi, %edi
movq _CE_STRIP_NAME@GOTPCREL(%rip), %rax
testl %ecx, (%rax)
sete %dil
movq %r14, %rbx
movq %rsi, %r14
callq _assert
movl -44(%rbp), %esi ## 4-byte Reload
incl %esi
xorl %edi, %edi
movl %esi, -44(%rbp) ## 4-byte Spill
xorl %edx, %edx
callq _ALLOC_GROW
movq %r14, %rsi
movq %rbx, %r14
movq -56(%rbp), %rbx ## 8-byte Reload
movl (%rbx), %eax
jmp LBB0_39
LBB0_40:
movq 8(%rbx), %rcx
movq %rcx, 8(%r14)
movl %eax, (%r14)
movq $0, 8(%rbx)
movl -44(%rbp), %eax ## 4-byte Reload
movl %eax, (%rbx)
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "ce refers to a shared ce at %d, which is beyond the shared index size %d"
.comm _CE_MATCHED,4,2 ## @CE_MATCHED
.comm _CE_UPDATE_IN_BASE,4,2 ## @CE_UPDATE_IN_BASE
.comm _CE_REMOVE,4,2 ## @CE_REMOVE
.comm _CE_STRIP_NAME,4,2 ## @CE_STRIP_NAME
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _prepare_to_write_split_index ; -- Begin function prepare_to_write_split_index
.p2align 2
_prepare_to_write_split_index: ; @prepare_to_write_split_index
.cfi_startproc
; %bb.0:
stp x28, x27, [sp, #-96]! ; 16-byte Folded Spill
stp x26, x25, [sp, #16] ; 16-byte Folded Spill
stp x24, x23, [sp, #32] ; 16-byte Folded Spill
stp x22, x21, [sp, #48] ; 16-byte Folded Spill
stp x20, x19, [sp, #64] ; 16-byte Folded Spill
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
mov x19, x0
bl _init_split_index
mov x20, x0
bl _ewah_new
str x0, [x20, #32]
bl _ewah_new
str x0, [x20, #24]
ldr x9, [x20, #16]
ldr w8, [x19]
Lloh0:
adrp x24, _CE_REMOVE@GOTPAGE
Lloh1:
ldr x24, [x24, _CE_REMOVE@GOTPAGEOFF]
Lloh2:
adrp x25, _CE_STRIP_NAME@GOTPAGE
Lloh3:
ldr x25, [x25, _CE_STRIP_NAME@GOTPAGEOFF]
Lloh4:
adrp x26, _CE_MATCHED@GOTPAGE
Lloh5:
ldr x26, [x26, _CE_MATCHED@GOTPAGEOFF]
cbz x9, LBB0_32
; %bb.1:
Lloh6:
adrp x27, _CE_UPDATE_IN_BASE@GOTPAGE
Lloh7:
ldr x27, [x27, _CE_UPDATE_IN_BASE@GOTPAGEOFF]
cmp w8, #1
b.lt LBB0_22
; %bb.2:
mov x28, #0 ; =0x0
Lloh8:
adrp x21, l_.str@PAGE
Lloh9:
add x21, x21, l_.str@PAGEOFF
b LBB0_5
LBB0_3: ; in Loop: Header=BB0_5 Depth=1
str wzr, [x22]
LBB0_4: ; in Loop: Header=BB0_5 Depth=1
sub x9, x28, #1
ldrsw x8, [x19]
cmp x28, x8
mov x28, x9
b.gt LBB0_21
LBB0_5: ; =>This Inner Loop Header: Depth=1
ldr x8, [x19, #8]
ldr x22, [x8, x28, lsl #3]
ldr w1, [x22]
cbz w1, LBB0_4
; %bb.6: ; in Loop: Header=BB0_5 Depth=1
ldr x8, [x20, #16]
ldr w2, [x8]
cmp w1, w2
b.le LBB0_8
; %bb.7: ; in Loop: Header=BB0_5 Depth=1
mov x0, x21
bl _BUG
ldr x8, [x20, #16]
ldr w1, [x22]
LBB0_8: ; in Loop: Header=BB0_5 Depth=1
ldr w9, [x26]
ldr w10, [x22, #4]
orr w9, w10, w9
str w9, [x22, #4]
ldr x8, [x8, #8]
add x8, x8, w1, sxtw #3
ldr x23, [x8, #8]
cmp x22, x23
b.eq LBB0_14
; %bb.9: ; in Loop: Header=BB0_5 Depth=1
ldr x8, [x22, #8]
ldr x9, [x23, #8]
cmp x8, x9
b.ne LBB0_3
; %bb.10: ; in Loop: Header=BB0_5 Depth=1
ldr w0, [x22, #20]
ldr w1, [x23, #20]
bl _strcmp
cbnz x0, LBB0_3
; %bb.11: ; in Loop: Header=BB0_5 Depth=1
ldr w8, [x22, #4]
ldr w9, [x27]
tst w9, w8
b.ne LBB0_20
; %bb.12: ; in Loop: Header=BB0_5 Depth=1
mov x0, x22
bl _ce_uptodate
cbz w0, LBB0_18
LBB0_13: ; in Loop: Header=BB0_5 Depth=1
mov x0, x22
mov x1, x23
bl _compare_ce_content
cbnz x0, LBB0_19
b LBB0_20
LBB0_14: ; in Loop: Header=BB0_5 Depth=1
ldr w8, [x27]
orr w8, w8, w9
cbnz w8, LBB0_4
; %bb.15: ; in Loop: Header=BB0_5 Depth=1
mov x0, x22
bl _ce_uptodate
cbnz w0, LBB0_4
; %bb.16: ; in Loop: Header=BB0_5 Depth=1
mov x0, x19
mov x1, x22
bl _is_racy_timestamp
cbz x0, LBB0_4
; %bb.17: ; in Loop: Header=BB0_5 Depth=1
ldr w8, [x27]
ldr w9, [x22, #4]
orr w8, w9, w8
str w8, [x22, #4]
b LBB0_4
LBB0_18: ; in Loop: Header=BB0_5 Depth=1
mov x0, x19
mov x1, x22
bl _is_racy_timestamp
cbz x0, LBB0_13
LBB0_19: ; in Loop: Header=BB0_5 Depth=1
ldr w8, [x27]
ldr w9, [x22, #4]
orr w8, w9, w8
str w8, [x22, #4]
LBB0_20: ; in Loop: Header=BB0_5 Depth=1
mov x0, x23
bl _discard_cache_entry
ldr x8, [x20, #16]
ldr x8, [x8, #8]
ldrsw x9, [x22]
add x8, x8, x9, lsl #3
stur x22, [x8, #-8]
b LBB0_4
LBB0_21:
ldr x9, [x20, #16]
LBB0_22:
ldr w10, [x9]
cmp w10, #1
b.lt LBB0_32
; %bb.23:
mov x22, #0 ; =0x0
mov w21, #0 ; =0x0
mov w23, #1 ; =0x1
b LBB0_25
LBB0_24: ; in Loop: Header=BB0_25 Depth=1
add x22, x22, #1
ldr x9, [x20, #16]
ldrsw x8, [x9]
cmp x22, x8
b.ge LBB0_33
LBB0_25: ; =>This Inner Loop Header: Depth=1
ldr x8, [x9, #8]
ldr x28, [x8, x22, lsl #3]
ldr w8, [x28, #4]
ldr w9, [x24]
tst w9, w8
b.eq LBB0_29
LBB0_26: ; in Loop: Header=BB0_25 Depth=1
ldr x0, [x20, #32]
mov x1, x22
bl _ewah_set
LBB0_27: ; in Loop: Header=BB0_25 Depth=1
add x0, x28, #16
bl _is_null_oid
cbz x0, LBB0_24
; %bb.28: ; in Loop: Header=BB0_25 Depth=1
str w23, [x19, #4]
b LBB0_24
LBB0_29: ; in Loop: Header=BB0_25 Depth=1
ldr w9, [x26]
tst w9, w8
b.eq LBB0_26
; %bb.30: ; in Loop: Header=BB0_25 Depth=1
ldr w9, [x27]
tst w9, w8
b.eq LBB0_27
; %bb.31: ; in Loop: Header=BB0_25 Depth=1
ldr x0, [x20, #24]
mov x1, x22
bl _ewah_set
ldr w8, [x25]
ldr w9, [x28, #4]
orr w8, w9, w8
str w8, [x28, #4]
add w21, w21, #1
mov x0, #0 ; =0x0
mov x1, x21
mov w2, #0 ; =0x0
bl _ALLOC_GROW
b LBB0_27
LBB0_32:
mov w21, #0 ; =0x0
cmp w8, #1
b.ge LBB0_34
b LBB0_40
LBB0_33:
ldr w8, [x19]
cmp w8, #1
b.lt LBB0_40
LBB0_34:
mov x22, #0 ; =0x0
b LBB0_37
LBB0_35: ; in Loop: Header=BB0_37 Depth=1
ldr w9, [x23, #4]
ldr w10, [x24]
tst w10, w9
b.eq LBB0_39
LBB0_36: ; in Loop: Header=BB0_37 Depth=1
ldr w9, [x26]
ldr w10, [x23, #4]
bic w9, w10, w9
str w9, [x23, #4]
add x22, x22, #1
cmp x22, w8, sxtw
b.ge LBB0_40
LBB0_37: ; =>This Inner Loop Header: Depth=1
ldr x9, [x19, #8]
ldr x23, [x9, x22, lsl #3]
ldr x9, [x20, #16]
cbz x9, LBB0_35
; %bb.38: ; in Loop: Header=BB0_37 Depth=1
ldr w9, [x23]
cbnz w9, LBB0_36
b LBB0_35
LBB0_39: ; in Loop: Header=BB0_37 Depth=1
ldr w8, [x25]
tst w8, w9
cset w0, eq
bl _assert
add w21, w21, #1
mov x0, #0 ; =0x0
mov x1, x21
mov w2, #0 ; =0x0
bl _ALLOC_GROW
ldr w8, [x19]
b LBB0_36
LBB0_40:
ldr x9, [x19, #8]
str x9, [x20, #8]
str w8, [x20]
str xzr, [x19, #8]
str w21, [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 Lloh4, Lloh5
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGot Lloh6, Lloh7
.loh AdrpAdd Lloh8, Lloh9
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "ce refers to a shared ce at %d, which is beyond the shared index size %d"
.comm _CE_MATCHED,4,2 ; @CE_MATCHED
.comm _CE_UPDATE_IN_BASE,4,2 ; @CE_UPDATE_IN_BASE
.comm _CE_REMOVE,4,2 ; @CE_REMOVE
.comm _CE_STRIP_NAME,4,2 ; @CE_STRIP_NAME
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function get_token
_get_token: ## @get_token
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
cmpb $0, (%rdi)
je LBB0_1
## %bb.2:
xorl %eax, %eax
.p2align 4, 0x90
LBB0_3: ## =>This Inner Loop Header: Depth=1
cmpb $0, 1(%rdi,%rax)
leaq 1(%rax), %rax
jne LBB0_3
jmp LBB0_4
LBB0_1:
xorl %eax, %eax
LBB0_4:
movb $0, (%rsi)
## kill: def $eax killed $eax killed $rax
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _EL_STATUS,4,2 ## @EL_STATUS
.no_dead_strip _get_token
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function get_token
_get_token: ; @get_token
.cfi_startproc
; %bb.0:
ldrb w9, [x0]
cbz w9, LBB0_4
; %bb.1:
mov x8, x0
mov x0, #0 ; =0x0
add x8, x8, #1
LBB0_2: ; =>This Inner Loop Header: Depth=1
ldrb w9, [x8, x0]
add x0, x0, #1
cbnz w9, LBB0_2
; %bb.3:
strb wzr, [x1]
; kill: def $w0 killed $w0 killed $x0
ret
LBB0_4:
mov w0, #0 ; =0x0
strb wzr, [x1]
; kill: def $w0 killed $w0 killed $x0
ret
.cfi_endproc
; -- End function
.comm _EL_STATUS,4,2 ; @EL_STATUS
.no_dead_strip _get_token
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.section __TEXT,__literal4,4byte_literals
.p2align 2, 0x0 ## -- Begin function S_PaintChannelFrom16_scalar
LCPI0_0:
.long 0x3f800000 ## float 1
.section __TEXT,__literal16,16byte_literals
.p2align 4, 0x0
LCPI0_1:
.long 0x80000000 ## float -0
.long 0x80000000 ## float -0
.long 0x80000000 ## float -0
.long 0x80000000 ## float -0
.section __TEXT,__text,regular,pure_instructions
.p2align 4, 0x90
_S_PaintChannelFrom16_scalar: ## @S_PaintChannelFrom16_scalar
.cfi_startproc
## %bb.0:
## kill: def $edx killed $edx def $rdx
movl (%rsi), %r9d
testl %r9d, %r9d
jle LBB0_26
## %bb.1:
movl %ecx, %eax
movq 16(%rdi), %r11
testq %r11, %r11
je LBB0_3
## %bb.2:
imull (%rdi), %eax
LBB0_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
movq _paintbuffer@GOTPCREL(%rip), %rbx
cmpl $2, %r9d
sete %cl
shll %cl, %eax
movq 8(%rsi), %r10
movq _SND_CHUNK_SIZE@GOTPCREL(%rip), %rcx
movl (%rcx), %r14d
movq %r10, %rsi
cmpl %r14d, %eax
jl LBB0_6
.p2align 4, 0x90
LBB0_4: ## =>This Inner Loop Header: Depth=1
movq 8(%rsi), %rsi
subl %r14d, %eax
testq %rsi, %rsi
cmoveq %r10, %rsi
cmpl %r14d, %eax
jge LBB0_4
LBB0_6:
movq (%rbx), %rbx
movslq %r8d, %r14
testq %r11, %r11
je LBB0_8
## %bb.7:
movss 4(%rdi), %xmm0 ## xmm0 = mem[0],zero,zero,zero
ucomiss LCPI0_0(%rip), %xmm0
jne LBB0_15
jp LBB0_15
LBB0_8:
testl %edx, %edx
js LBB0_25
## %bb.9:
movq _snd_vol@GOTPCREL(%rip), %r8
movl (%r8), %r8d
movl 8(%rdi), %r10d
imull %r8d, %r10d
imull 12(%rdi), %r8d
movq (%rsi), %rdi
incl %edx
leaq (%rbx,%r14,8), %r11
addq $4, %r11
xorl %ebx, %ebx
jmp LBB0_10
.p2align 4, 0x90
LBB0_14: ## in Loop: Header=BB0_10 Depth=1
incq %rbx
movl %r14d, %eax
cmpq %rbx, %rdx
je LBB0_25
LBB0_10: ## =>This Inner Loop Header: Depth=1
leal 1(%rax), %r14d
movslq %eax, %r15
movswl (%rdi,%r15,2), %r15d
movl %r10d, %r12d
imull %r15d, %r12d
sarl $8, %r12d
addl %r12d, -4(%r11,%rbx,8)
cmpl $2, %r9d
jne LBB0_12
## %bb.11: ## in Loop: Header=BB0_10 Depth=1
addl $2, %eax
movslq %r14d, %r14
movswl (%rdi,%r14,2), %r15d
movl %eax, %r14d
LBB0_12: ## in Loop: Header=BB0_10 Depth=1
imull %r8d, %r15d
sarl $8, %r15d
addl %r15d, (%r11,%rbx,8)
cmpl (%rcx), %r14d
jne LBB0_14
## %bb.13: ## in Loop: Header=BB0_10 Depth=1
movq 8(%rsi), %rsi
movq (%rsi), %rdi
xorl %r14d, %r14d
jmp LBB0_14
LBB0_15:
testl %edx, %edx
jle LBB0_25
## %bb.16:
movq 8(%rdi), %xmm2 ## xmm2 = mem[0],zero
movq _snd_vol@GOTPCREL(%rip), %rdi
movd (%rdi), %xmm1 ## xmm1 = mem[0],zero,zero,zero
pshufd $80, %xmm1, %xmm3 ## xmm3 = xmm1[0,0,1,1]
xorps %xmm1, %xmm1
cvtsi2ss %eax, %xmm1
pmulld %xmm2, %xmm3
cvtsi2ss %r9d, %xmm4
leaq (%rbx,%r14,8), %rdi
cvtdq2ps %xmm3, %xmm2
xorps LCPI0_1(%rip), %xmm0
movq (%rsi), %rbx
movl %edx, %r8d
xorl %r11d, %r11d
mulss %xmm4, %xmm0
jmp LBB0_17
.p2align 4, 0x90
LBB0_24: ## in Loop: Header=BB0_17 Depth=1
shll $8, %eax
cltd
idivl %r9d
xorps %xmm4, %xmm4
cvtsi2ss %eax, %xmm4
mulps %xmm2, %xmm3
movsldup %xmm4, %xmm4 ## xmm4 = xmm4[0,0,2,2]
divps %xmm4, %xmm3
movsd (%rdi,%r11,8), %xmm4 ## xmm4 = mem[0],zero
cvtdq2ps %xmm4, %xmm4
addps %xmm3, %xmm4
cvttps2dq %xmm4, %xmm3
movlps %xmm3, (%rdi,%r11,8)
incq %r11
cmpq %r8, %r11
je LBB0_25
LBB0_17: ## =>This Loop Header: Depth=1
## Child Loop BB0_19 Depth 2
cvttss2si %xmm1, %edx
addss %xmm0, %xmm1
cvttss2si %xmm1, %r14d
xorps %xmm3, %xmm3
movl %r14d, %eax
subl %edx, %eax
jle LBB0_24
## %bb.18: ## in Loop: Header=BB0_17 Depth=1
movl (%rcx), %r15d
xorps %xmm4, %xmm4
cvtsi2ss %r15d, %xmm4
leal -1(%r15), %r12d
jmp LBB0_19
.p2align 4, 0x90
LBB0_23: ## in Loop: Header=BB0_19 Depth=2
insertps $16, %xmm6, %xmm5 ## xmm5 = xmm5[0],xmm6[0],xmm5[2,3]
addps %xmm5, %xmm3
addl %r9d, %edx
cmpl %r14d, %edx
jge LBB0_24
LBB0_19: ## Parent Loop BB0_17 Depth=1
## => This Inner Loop Header: Depth=2
cmpl %edx, %r15d
jne LBB0_21
## %bb.20: ## in Loop: Header=BB0_19 Depth=2
movq 8(%rsi), %rsi
testq %rsi, %rsi
cmoveq %r10, %rsi
movq (%rsi), %rbx
subss %xmm4, %xmm1
LBB0_21: ## in Loop: Header=BB0_19 Depth=2
movl %r12d, %r13d
andl %edx, %r13d
movslq %r13d, %r13
movswl (%rbx,%r13,2), %r13d
xorps %xmm5, %xmm5
cvtsi2ss %r13d, %xmm5
movaps %xmm5, %xmm6
cmpl $2, %r9d
jne LBB0_23
## %bb.22: ## in Loop: Header=BB0_19 Depth=2
leal 1(%rdx), %r13d
andl %r12d, %r13d
movslq %r13d, %r13
movswl (%rbx,%r13,2), %r13d
xorps %xmm6, %xmm6
cvtsi2ss %r13d, %xmm6
jmp LBB0_23
LBB0_25:
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
LBB0_26:
retq
.cfi_endproc
## -- End function
.comm _paintbuffer,8,3 ## @paintbuffer
.comm _SND_CHUNK_SIZE,4,2 ## @SND_CHUNK_SIZE
.comm _snd_vol,4,2 ## @snd_vol
.no_dead_strip _S_PaintChannelFrom16_scalar
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function S_PaintChannelFrom16_scalar
_S_PaintChannelFrom16_scalar: ; @S_PaintChannelFrom16_scalar
.cfi_startproc
; %bb.0:
; kill: def $w4 killed $w4 def $x4
ldr w8, [x1]
cmp w8, #1
b.lt LBB0_25
; %bb.1:
ldr x13, [x0, #16]
cbz x13, LBB0_3
; %bb.2:
ldr w9, [x0]
mul w3, w9, w3
LBB0_3:
Lloh0:
adrp x14, _paintbuffer@GOTPAGE
Lloh1:
ldr x14, [x14, _paintbuffer@GOTPAGEOFF]
cmp w8, #2
cset w9, eq
lsl w12, w3, w9
ldr x11, [x1, #8]
Lloh2:
adrp x9, _SND_CHUNK_SIZE@GOTPAGE
Lloh3:
ldr x9, [x9, _SND_CHUNK_SIZE@GOTPAGEOFF]
ldr w15, [x9]
mov x10, x11
cmp w12, w15
b.lt LBB0_5
LBB0_4: ; =>This Inner Loop Header: Depth=1
ldr x10, [x10, #8]
cmp x10, #0
csel x10, x11, x10, eq
sub w12, w12, w15
cmp w12, w15
b.ge LBB0_4
LBB0_5:
ldr x16, [x14]
cbz x13, LBB0_7
; %bb.6:
ldr s3, [x0, #4]
fmov s0, #1.00000000
fcmp s3, s0
b.ne LBB0_15
LBB0_7:
tbnz w2, #31, LBB0_25
; %bb.8:
sxtw x17, w4
Lloh4:
adrp x11, _snd_vol@GOTPAGE
Lloh5:
ldr x11, [x11, _snd_vol@GOTPAGEOFF]
Lloh6:
ldr w13, [x11]
ldp w11, w14, [x0, #8]
mul w11, w13, w11
mul w13, w14, w13
ldr x15, [x10]
add w14, w2, #1
add x16, x16, x17, lsl #3
add x16, x16, #4
b LBB0_10
LBB0_9: ; in Loop: Header=BB0_10 Depth=1
add x16, x16, #8
subs x14, x14, #1
b.eq LBB0_25
LBB0_10: ; =>This Inner Loop Header: Depth=1
sxtw x0, w12
ldrsh w17, [x15, w12, sxtw #1]
add x0, x0, #1
mul w1, w11, w17
ldur w2, [x16, #-4]
add w1, w2, w1, asr #8
stur w1, [x16, #-4]
cmp w8, #2
b.ne LBB0_12
; %bb.11: ; in Loop: Header=BB0_10 Depth=1
add w12, w12, #2
ldrsh w17, [x15, x0, lsl #1]
b LBB0_13
LBB0_12: ; in Loop: Header=BB0_10 Depth=1
mov x12, x0
LBB0_13: ; in Loop: Header=BB0_10 Depth=1
mul w17, w13, w17
ldr w0, [x16]
add w17, w0, w17, asr #8
str w17, [x16]
ldr w17, [x9]
cmp w12, w17
b.ne LBB0_9
; %bb.14: ; in Loop: Header=BB0_10 Depth=1
mov w12, #0 ; =0x0
ldr x10, [x10, #8]
ldr x15, [x10]
b LBB0_9
LBB0_15:
cmp w2, #1
b.lt LBB0_25
; %bb.16:
mov x13, #0 ; =0x0
add x14, x16, w4, sxtw #3
Lloh7:
adrp x15, _snd_vol@GOTPAGE
Lloh8:
ldr x15, [x15, _snd_vol@GOTPAGEOFF]
ldr d0, [x0, #8]
ld1r.2s { v1 }, [x15]
mul.2s v0, v0, v1
scvtf.2s v0, v0
ldr x15, [x10]
scvtf s1, w12
scvtf s2, w8
fneg s3, s3
mov w12, w2
b LBB0_18
LBB0_17: ; in Loop: Header=BB0_18 Depth=1
lsl w16, w16, #8
sdiv w16, w16, w8
scvtf s5, w16
fmul.2s v4, v4, v0
dup.2s v5, v5[0]
fdiv.2s v4, v4, v5
ldr d5, [x14, x13, lsl #3]
scvtf.2s v5, v5
fadd.2s v4, v4, v5
fcvtzs.2s v4, v4
str d4, [x14, x13, lsl #3]
add x13, x13, #1
cmp x13, x12
b.eq LBB0_25
LBB0_18: ; =>This Loop Header: Depth=1
; Child Loop BB0_21 Depth 2
fcvtzs w17, s1
fmadd s1, s3, s2, s1
fcvtzs w0, s1
movi d4, #0000000000000000
subs w16, w0, w17
b.le LBB0_17
; %bb.19: ; in Loop: Header=BB0_18 Depth=1
ldr w1, [x9]
scvtf s5, w1
sub w2, w1, #1
b LBB0_21
LBB0_20: ; in Loop: Header=BB0_21 Depth=2
mov.s v6[1], v7[0]
fadd.2s v4, v4, v6
add w17, w17, w8
cmp w17, w0
b.ge LBB0_17
LBB0_21: ; Parent Loop BB0_18 Depth=1
; => This Inner Loop Header: Depth=2
cmp w1, w17
b.ne LBB0_23
; %bb.22: ; in Loop: Header=BB0_21 Depth=2
ldr x10, [x10, #8]
cmp x10, #0
csel x10, x11, x10, eq
ldr x15, [x10]
fsub s1, s1, s5
LBB0_23: ; in Loop: Header=BB0_21 Depth=2
and w3, w2, w17
ldr h6, [x15, w3, sxtw #1]
sshll.4s v6, v6, #0
scvtf s6, s6
fmov s7, s6
cmp w8, #2
b.ne LBB0_20
; %bb.24: ; in Loop: Header=BB0_21 Depth=2
add w3, w17, #1
and w3, w2, w3
ldr h7, [x15, w3, sxtw #1]
sshll.4s v7, v7, #0
scvtf s7, s7
b LBB0_20
LBB0_25:
ret
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh4, Lloh5, Lloh6
.loh AdrpLdrGot Lloh7, Lloh8
.cfi_endproc
; -- End function
.comm _paintbuffer,8,3 ; @paintbuffer
.comm _SND_CHUNK_SIZE,4,2 ; @SND_CHUNK_SIZE
.comm _snd_vol,4,2 ; @snd_vol
.no_dead_strip _S_PaintChannelFrom16_scalar
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _ParseCmdLine ## -- Begin function ParseCmdLine
.p2align 4, 0x90
_ParseCmdLine: ## @ParseCmdLine
.cfi_startproc
## %bb.0:
testq %rdi, %rdi
je LBB0_1
## %bb.5:
xorl %eax, %eax
jmp _NullToken ## TAILCALL
LBB0_1:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
xorl %edi, %edi
callq _NewListFast
movq %rax, %rbx
xorl %edi, %edi
callq _StrSize
leaq 32(%rax), %rdi
callq _Malloc
movq %rax, %r14
xorl %edi, %edi
callq _StrLen
movq %r14, %rdi
callq _Free
movl $16, %edi
callq _ZeroMalloc
movq %rax, %r14
movq %rbx, %rdi
callq _LIST_NUM
## kill: def $eax killed $eax def $rax
movl %eax, (%r14)
leal (,%rax,8), %edi
callq _ZeroMalloc
movq %rax, 8(%r14)
cmpl $0, (%r14)
je LBB0_4
## %bb.2:
xorl %r15d, %r15d
.p2align 4, 0x90
LBB0_3: ## =>This Inner Loop Header: Depth=1
movq %rbx, %rdi
movq %r15, %rsi
callq _LIST_DATA
movq 8(%r14), %rcx
movl %eax, (%rcx,%r15,4)
incq %r15
movslq (%r14), %rax
cmpq %rax, %r15
jb LBB0_3
LBB0_4:
movq %rbx, %rdi
callq _ReleaseList
movq %r14, %rax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _ParseCmdLine ; -- Begin function ParseCmdLine
.p2align 2
_ParseCmdLine: ; @ParseCmdLine
.cfi_startproc
; %bb.0:
cbz x0, LBB0_2
; %bb.1:
b _NullToken
LBB0_2:
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 _NewListFast
mov x19, x0
mov x0, #0 ; =0x0
bl _StrSize
add x0, x0, #32
bl _Malloc
mov x20, x0
mov x0, #0 ; =0x0
bl _StrLen
mov x0, x20
bl _Free
mov w0, #16 ; =0x10
bl _ZeroMalloc
mov x20, x0
mov x0, x19
bl _LIST_NUM
str w0, [x20]
lsl w0, w0, #3
bl _ZeroMalloc
str x0, [x20, #8]
ldr w8, [x20]
cbz w8, LBB0_5
; %bb.3:
mov x21, #0 ; =0x0
LBB0_4: ; =>This Inner Loop Header: Depth=1
mov x0, x19
mov x1, x21
bl _LIST_DATA
ldr x8, [x20, #8]
str w0, [x8, x21, lsl #2]
add x21, x21, #1
ldrsw x8, [x20]
cmp x21, x8
b.lo LBB0_4
LBB0_5:
mov x0, x19
bl _ReleaseList
mov x0, x20
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _EVP_DecodeUpdate ## -- Begin function EVP_DecodeUpdate
.p2align 4, 0x90
_EVP_DecodeUpdate: ## @EVP_DecodeUpdate
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $88, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rcx, -120(%rbp) ## 8-byte Spill
movq %rsi, -88(%rbp) ## 8-byte Spill
movslq (%rdi), %r12
xorl %ecx, %ecx
movq %rdi, -80(%rbp) ## 8-byte Spill
movq 8(%rdi), %rax
movq %rax, -64(%rbp) ## 8-byte Spill
movl $0, %r14d
testq %r12, %r12
jle LBB0_4
## %bb.1:
movq -64(%rbp), %rax ## 8-byte Reload
cmpb $61, 1(%rax,%r12)
jne LBB0_4
## %bb.2:
movl $1, %r14d
cmpl $1, %r12d
je LBB0_4
## %bb.3:
xorl %r14d, %r14d
movq -64(%rbp), %rax ## 8-byte Reload
cmpb $61, -2(%rax,%r12)
sete %r14b
incl %r14d
LBB0_4:
testl %r8d, %r8d
je LBB0_7
## %bb.5:
movq _EVP_ENCODE_CTX_USE_SRP_ALPHABET@GOTPCREL(%rip), %rax
movl (%rax), %eax
movq -80(%rbp), %rcx ## 8-byte Reload
orl 16(%rcx), %eax
jne LBB0_8
## %bb.6:
movq _data_ascii2bin@GOTPCREL(%rip), %rax
jmp LBB0_9
LBB0_7:
xorl %esi, %esi
jmp LBB0_43
LBB0_8:
movq _srpdata_ascii2bin@GOTPCREL(%rip), %rax
LBB0_9:
movq %rdx, -56(%rbp) ## 8-byte Spill
testl %r8d, %r8d
jle LBB0_28
## %bb.10:
movq (%rax), %rax
movq %rax, -112(%rbp) ## 8-byte Spill
movl %r8d, %eax
movq %rax, -96(%rbp) ## 8-byte Spill
xorl %ebx, %ebx
xorl %r15d, %r15d
movl $0, -44(%rbp) ## 4-byte Folded Spill
movl %r8d, -68(%rbp) ## 4-byte Spill
jmp LBB0_13
.p2align 4, 0x90
LBB0_11: ## in Loop: Header=BB0_13 Depth=1
movl -68(%rbp), %r8d ## 4-byte Reload
LBB0_12: ## in Loop: Header=BB0_13 Depth=1
incq %rbx
cmpl %r8d, %ebx
setge %r15b
cmpl %ebx, -96(%rbp) ## 4-byte Folded Reload
je LBB0_32
LBB0_13: ## =>This Inner Loop Header: Depth=1
movq %r15, -104(%rbp) ## 8-byte Spill
movq %r12, %r15
movq -120(%rbp), %rax ## 8-byte Reload
movzbl (%rax,%rbx), %r13d
movzbl %r13b, %edi
movq -112(%rbp), %rsi ## 8-byte Reload
callq _conv_ascii2bin
movl %eax, %r12d
movq _B64_ERROR@GOTPCREL(%rip), %rax
cmpl (%rax), %r12d
je LBB0_29
## %bb.14: ## in Loop: Header=BB0_13 Depth=1
cmpb $61, %r13b
jne LBB0_16
## %bb.15: ## in Loop: Header=BB0_13 Depth=1
incl %r14d
jmp LBB0_18
.p2align 4, 0x90
LBB0_16: ## in Loop: Header=BB0_13 Depth=1
testl %r14d, %r14d
jle LBB0_27
## %bb.17: ## in Loop: Header=BB0_13 Depth=1
movl %r12d, %edi
callq _B64_BASE64
testq %rax, %rax
jne LBB0_29
LBB0_18: ## in Loop: Header=BB0_13 Depth=1
cmpl $2, %r14d
jg LBB0_29
LBB0_19: ## in Loop: Header=BB0_13 Depth=1
movq _B64_EOF@GOTPCREL(%rip), %rax
cmpl (%rax), %r12d
je LBB0_31
## %bb.20: ## in Loop: Header=BB0_13 Depth=1
movl %r12d, %edi
callq _B64_BASE64
movq %r15, %r12
testq %rax, %rax
je LBB0_23
## %bb.21: ## in Loop: Header=BB0_13 Depth=1
cmpl $63, %r12d
jg LBB0_30
## %bb.22: ## in Loop: Header=BB0_13 Depth=1
xorl %edi, %edi
cmpl $8, %r12d
setl %dil
callq _OPENSSL_assert
movslq %r12d, %rax
incl %r12d
movq -64(%rbp), %rcx ## 8-byte Reload
movb %r13b, (%rcx,%rax)
LBB0_23: ## in Loop: Header=BB0_13 Depth=1
cmpl $64, %r12d
jne LBB0_11
## %bb.24: ## in Loop: Header=BB0_13 Depth=1
movq -80(%rbp), %rdi ## 8-byte Reload
movq -88(%rbp), %rsi ## 8-byte Reload
movq -64(%rbp), %rdx ## 8-byte Reload
movl $64, %ecx
callq _evp_decodeblock_int
xorl %r12d, %r12d
testl %eax, %eax
js LBB0_30
## %bb.25: ## in Loop: Header=BB0_13 Depth=1
subl %r14d, %eax
movl -68(%rbp), %r8d ## 4-byte Reload
jl LBB0_30
## %bb.26: ## in Loop: Header=BB0_13 Depth=1
addl %eax, -44(%rbp) ## 4-byte Folded Spill
cltq
addq %rax, -88(%rbp) ## 8-byte Folded Spill
xorl %r12d, %r12d
jmp LBB0_12
LBB0_27: ## in Loop: Header=BB0_13 Depth=1
xorl %r14d, %r14d
jmp LBB0_19
LBB0_28:
movb $1, %r15b
movl $0, -44(%rbp) ## 4-byte Folded Spill
jmp LBB0_32
LBB0_29:
movq -56(%rbp), %rdx ## 8-byte Reload
movl -44(%rbp), %esi ## 4-byte Reload
movq %r15, %r12
jmp LBB0_42
LBB0_30:
movq -56(%rbp), %rdx ## 8-byte Reload
jmp LBB0_41
LBB0_31:
movq %r15, %r12
movq -104(%rbp), %r15 ## 8-byte Reload
LBB0_32:
testl %r12d, %r12d
movq -56(%rbp), %rdx ## 8-byte Reload
jle LBB0_35
## %bb.33:
testb $3, %r12b
movl -44(%rbp), %esi ## 4-byte Reload
je LBB0_36
## %bb.34:
movl $-1, %ecx
testb $1, %r15b
jne LBB0_39
jmp LBB0_43
LBB0_35:
movl -44(%rbp), %esi ## 4-byte Reload
jmp LBB0_39
LBB0_36:
movq %rdx, %rbx
movq -80(%rbp), %rdi ## 8-byte Reload
movq -88(%rbp), %rsi ## 8-byte Reload
movq -64(%rbp), %rdx ## 8-byte Reload
movl %r12d, %ecx
callq _evp_decodeblock_int
xorl %r12d, %r12d
testl %eax, %eax
js LBB0_40
## %bb.37:
cmpl %eax, %r14d
movq %rbx, %rdx
jg LBB0_41
## %bb.38:
movl -44(%rbp), %esi ## 4-byte Reload
subl %r14d, %esi
addl %eax, %esi
xorl %r12d, %r12d
LBB0_39:
testl %r12d, %r12d
setne %al
testl %r14d, %r14d
sete %cl
orb %al, %cl
andb %cl, %r15b
movzbl %r15b, %ecx
jmp LBB0_43
LBB0_40:
movq %rbx, %rdx
LBB0_41:
movl -44(%rbp), %esi ## 4-byte Reload
LBB0_42:
movl $-1, %ecx
LBB0_43:
movl %esi, (%rdx)
movq -80(%rbp), %rax ## 8-byte Reload
movl %r12d, (%rax)
movl %ecx, %eax
addq $88, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _EVP_ENCODE_CTX_USE_SRP_ALPHABET,4,2 ## @EVP_ENCODE_CTX_USE_SRP_ALPHABET
.comm _srpdata_ascii2bin,8,3 ## @srpdata_ascii2bin
.comm _data_ascii2bin,8,3 ## @data_ascii2bin
.comm _B64_ERROR,4,2 ## @B64_ERROR
.comm _B64_EOF,4,2 ## @B64_EOF
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _EVP_DecodeUpdate ; -- Begin function EVP_DecodeUpdate
.p2align 2
_EVP_DecodeUpdate: ; @EVP_DecodeUpdate
.cfi_startproc
; %bb.0:
sub sp, sp, #144
stp x28, x27, [sp, #48] ; 16-byte Folded Spill
stp x26, x25, [sp, #64] ; 16-byte Folded Spill
stp x24, x23, [sp, #80] ; 16-byte Folded Spill
stp x22, x21, [sp, #96] ; 16-byte Folded Spill
stp x20, x19, [sp, #112] ; 16-byte Folded Spill
stp x29, x30, [sp, #128] ; 16-byte Folded Spill
add x29, sp, #128
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
mov x20, x4
mov x25, x3
mov x28, x1
ldr w21, [x0]
str x0, [sp, #32] ; 8-byte Folded Spill
ldr x22, [x0, #8]
cmp w21, #1
b.lt LBB0_4
; %bb.1:
add x8, x22, x21
ldrb w9, [x8, #1]
cmp w9, #61
b.ne LBB0_24
; %bb.2:
mov w19, #1 ; =0x1
cmp w21, #1
b.eq LBB0_5
; %bb.3:
ldurb w8, [x8, #-2]
cmp w8, #61
cinc w19, w19, eq
cbnz w20, LBB0_6
b LBB0_25
LBB0_4:
mov w19, #0 ; =0x0
LBB0_5:
cbz w20, LBB0_25
LBB0_6:
str x2, [sp, #8] ; 8-byte Folded Spill
ldr x8, [sp, #32] ; 8-byte Folded Reload
ldr w8, [x8, #16]
Lloh0:
adrp x9, _EVP_ENCODE_CTX_USE_SRP_ALPHABET@GOTPAGE
Lloh1:
ldr x9, [x9, _EVP_ENCODE_CTX_USE_SRP_ALPHABET@GOTPAGEOFF]
Lloh2:
ldr w9, [x9]
Lloh3:
adrp x10, _data_ascii2bin@GOTPAGE
Lloh4:
ldr x10, [x10, _data_ascii2bin@GOTPAGEOFF]
orr w8, w9, w8
Lloh5:
adrp x9, _srpdata_ascii2bin@GOTPAGE
Lloh6:
ldr x9, [x9, _srpdata_ascii2bin@GOTPAGEOFF]
cmp w8, #0
csel x8, x10, x9, eq
cmp w20, #1
b.lt LBB0_26
; %bb.7:
mov w26, #0 ; =0x0
str wzr, [sp, #44] ; 4-byte Folded Spill
ldr x8, [x8]
str x8, [sp, #24] ; 8-byte Folded Spill
mov w23, #1 ; =0x1
mov x24, x20
b LBB0_10
LBB0_8: ; in Loop: Header=BB0_10 Depth=1
mov w21, #0 ; =0x0
ldr w9, [sp, #44] ; 4-byte Folded Reload
add w9, w8, w9
str w9, [sp, #44] ; 4-byte Folded Spill
add x28, x28, w8, sxtw
LBB0_9: ; in Loop: Header=BB0_10 Depth=1
cmp w23, w20
cset w26, ge
add w23, w23, #1
subs w24, w24, #1
b.eq LBB0_27
LBB0_10: ; =>This Inner Loop Header: Depth=1
ldrb w27, [x25], #1
mov x0, x27
ldr x1, [sp, #24] ; 8-byte Folded Reload
bl _conv_ascii2bin
Lloh7:
adrp x8, _B64_ERROR@GOTPAGE
Lloh8:
ldr x8, [x8, _B64_ERROR@GOTPAGEOFF]
Lloh9:
ldr w8, [x8]
cmp w0, w8
b.eq LBB0_31
; %bb.11: ; in Loop: Header=BB0_10 Depth=1
cmp w27, #61
b.ne LBB0_13
; %bb.12: ; in Loop: Header=BB0_10 Depth=1
add w19, w19, #1
b LBB0_15
LBB0_13: ; in Loop: Header=BB0_10 Depth=1
cmp w19, #1
b.lt LBB0_23
; %bb.14: ; in Loop: Header=BB0_10 Depth=1
str x21, [sp, #16] ; 8-byte Folded Spill
mov x21, x22
mov x22, x26
mov x26, x19
mov x19, x28
mov x28, x0
bl _B64_BASE64
mov x8, x0
mov x0, x28
mov x28, x19
mov x19, x26
mov x26, x22
mov x22, x21
ldr x21, [sp, #16] ; 8-byte Folded Reload
cbnz x8, LBB0_31
LBB0_15: ; in Loop: Header=BB0_10 Depth=1
cmp w19, #2
b.gt LBB0_31
LBB0_16: ; in Loop: Header=BB0_10 Depth=1
Lloh10:
adrp x8, _B64_EOF@GOTPAGE
Lloh11:
ldr x8, [x8, _B64_EOF@GOTPAGEOFF]
Lloh12:
ldr w8, [x8]
cmp w0, w8
b.eq LBB0_27
; %bb.17: ; in Loop: Header=BB0_10 Depth=1
bl _B64_BASE64
cbz x0, LBB0_20
; %bb.18: ; in Loop: Header=BB0_10 Depth=1
cmp w21, #63
b.gt LBB0_31
; %bb.19: ; in Loop: Header=BB0_10 Depth=1
cmp w21, #8
cset w0, lt
bl _OPENSSL_assert
strb w27, [x22, w21, sxtw]
add w8, w21, #1
mov x21, x8
LBB0_20: ; in Loop: Header=BB0_10 Depth=1
cmp w21, #64
b.ne LBB0_9
; %bb.21: ; in Loop: Header=BB0_10 Depth=1
ldr x0, [sp, #32] ; 8-byte Folded Reload
mov x1, x28
mov x2, x22
mov w3, #64 ; =0x40
bl _evp_decodeblock_int
mov x8, x0
mov w0, #-1 ; =0xffffffff
tbnz w8, #31, LBB0_39
; %bb.22: ; in Loop: Header=BB0_10 Depth=1
subs w8, w8, w19
b.ge LBB0_8
b LBB0_39
LBB0_23: ; in Loop: Header=BB0_10 Depth=1
mov w19, #0 ; =0x0
b LBB0_16
LBB0_24:
mov w19, #0 ; =0x0
cbnz w20, LBB0_6
LBB0_25:
mov w0, #0 ; =0x0
str wzr, [sp, #44] ; 4-byte Folded Spill
b LBB0_37
LBB0_26:
str wzr, [sp, #44] ; 4-byte Folded Spill
mov w26, #1 ; =0x1
LBB0_27:
cmp w21, #1
b.lt LBB0_32
; %bb.28:
tst w21, #0x3
ldr x2, [sp, #8] ; 8-byte Folded Reload
b.eq LBB0_33
; %bb.29:
tbnz w26, #0, LBB0_36
; %bb.30:
mov w0, #-1 ; =0xffffffff
b LBB0_37
LBB0_31:
mov w0, #-1 ; =0xffffffff
ldr x2, [sp, #8] ; 8-byte Folded Reload
b LBB0_37
LBB0_32:
ldr x2, [sp, #8] ; 8-byte Folded Reload
b LBB0_36
LBB0_33:
mov x23, x2
ldr x0, [sp, #32] ; 8-byte Folded Reload
mov x1, x28
mov x2, x22
mov x3, x21
bl _evp_decodeblock_int
mov x8, x0
mov w21, #0 ; =0x0
mov w0, #-1 ; =0xffffffff
tbnz w8, #31, LBB0_38
; %bb.34:
cmp w19, w8
b.gt LBB0_38
; %bb.35:
mov w21, #0 ; =0x0
ldr w9, [sp, #44] ; 4-byte Folded Reload
sub w9, w9, w19
add w8, w9, w8
str w8, [sp, #44] ; 4-byte Folded Spill
mov x2, x23
LBB0_36:
cmp w19, #0
ccmp w21, #0, #0, ne
cset w8, ne
and w0, w26, w8
LBB0_37:
ldr w8, [sp, #44] ; 4-byte Folded Reload
str w8, [x2]
ldr x8, [sp, #32] ; 8-byte Folded Reload
str w21, [x8]
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_38:
mov x2, x23
b LBB0_37
LBB0_39:
mov w21, #0 ; =0x0
ldr x2, [sp, #8] ; 8-byte Folded Reload
b LBB0_37
.loh AdrpLdrGot Lloh5, Lloh6
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9
.loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12
.cfi_endproc
; -- End function
.comm _EVP_ENCODE_CTX_USE_SRP_ALPHABET,4,2 ; @EVP_ENCODE_CTX_USE_SRP_ALPHABET
.comm _srpdata_ascii2bin,8,3 ; @srpdata_ascii2bin
.comm _data_ascii2bin,8,3 ; @data_ascii2bin
.comm _B64_ERROR,4,2 ; @B64_ERROR
.comm _B64_EOF,4,2 ; @B64_EOF
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _ngx_hash_add_key ## -- Begin function ngx_hash_add_key
.p2align 4, 0x90
_ngx_hash_add_key: ## @ngx_hash_add_key
.cfi_startproc
## %bb.0:
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 %ecx, %r13d
movq %rdi, -56(%rbp) ## 8-byte Spill
movq %rsi, -48(%rbp) ## 8-byte Spill
movl (%rsi), %r12d
movq _NGX_HASH_WILDCARD_KEY@GOTPCREL(%rip), %rax
testl %ecx, (%rax)
je LBB0_30
## %bb.1:
testl %r12d, %r12d
js LBB0_9
## %bb.2:
movq %rdx, %r14
movq -48(%rbp), %rax ## 8-byte Reload
movq 8(%rax), %rdx
xorl %eax, %eax
movq _NGX_DECLINED@GOTPCREL(%rip), %r9
movabsq $-4294967296, %rsi ## imm = 0xFFFFFFFF00000000
xorl %edi, %edi
xorl %ecx, %ecx
jmp LBB0_5
.p2align 4, 0x90
LBB0_3: ## in Loop: Header=BB0_5 Depth=1
cmpb $46, -1(%rdx,%rdi)
je LBB0_51
LBB0_4: ## in Loop: Header=BB0_5 Depth=1
decq %rdi
addq %rsi, %rax
cmpq %r12, %rdi
jg LBB0_10
LBB0_5: ## =>This Inner Loop Header: Depth=1
movzbl (%rdx,%rdi), %r8d
cmpl $42, %r8d
je LBB0_8
## %bb.6: ## in Loop: Header=BB0_5 Depth=1
cmpl $46, %r8d
je LBB0_3
## %bb.7: ## in Loop: Header=BB0_5 Depth=1
testl %r8d, %r8d
jne LBB0_4
jmp LBB0_51
.p2align 4, 0x90
LBB0_8: ## in Loop: Header=BB0_5 Depth=1
testl %ecx, %ecx
movl $1, %ecx
jle LBB0_4
jmp LBB0_51
LBB0_9:
movq %r12, %r15
movq %rdx, -96(%rbp) ## 8-byte Spill
jmp LBB0_35
LBB0_10:
cmpl $2, %r12d
movq %r14, %rdx
jl LBB0_29
## %bb.11:
movq -48(%rbp), %rsi ## 8-byte Reload
movq 8(%rsi), %rdi
movzbl (%rdi), %ebx
cmpb $46, %bl
jne LBB0_22
## %bb.12:
movl $1, %eax
LBB0_13:
xorl %r15d, %r15d
LBB0_14:
movl %eax, %ecx
movq %rcx, -104(%rbp) ## 8-byte Spill
addq %rcx, %rdi
movl %r12d, %r13d
subl %eax, %r13d
movq %rdi, %rsi
movl %r13d, %edx
callq _ngx_hash_strlow
cltd
movq -56(%rbp), %rcx ## 8-byte Reload
idivl (%rcx)
cmpb $46, %bl
movq %r14, -96(%rbp) ## 8-byte Spill
movl %edx, -76(%rbp) ## 4-byte Spill
jne LBB0_57
## %bb.15:
movl %r15d, -88(%rbp) ## 4-byte Spill
movq -56(%rbp), %r15 ## 8-byte Reload
movq 56(%r15), %rdi
movslq %edx, %rsi
shlq $4, %rsi
leaq (%rdi,%rsi), %rax
movq 8(%rdi,%rsi), %rbx
testq %rbx, %rbx
movq %rsi, -64(%rbp) ## 8-byte Spill
je LBB0_52
## %bb.16:
movq %r12, %r15
cmpl $0, (%rax)
jle LBB0_54
## %bb.17:
movslq %r13d, %rax
movq %rax, -72(%rbp) ## 8-byte Spill
addq $8, %rbx
xorl %r12d, %r12d
movq _NGX_BUSY@GOTPCREL(%rip), %r14
jmp LBB0_19
.p2align 4, 0x90
LBB0_18: ## in Loop: Header=BB0_19 Depth=1
incq %r12
movslq (%rdi,%rsi), %rax
addq $16, %rbx
cmpq %rax, %r12
jge LBB0_54
LBB0_19: ## =>This Inner Loop Header: Depth=1
cmpl -8(%rbx), %r13d
jne LBB0_18
## %bb.20: ## in Loop: Header=BB0_19 Depth=1
movq -48(%rbp), %rax ## 8-byte Reload
movq 8(%rax), %rdi
incq %rdi
movq (%rbx), %rsi
movq -72(%rbp), %rdx ## 8-byte Reload
callq _ngx_strncmp
testq %rax, %rax
je LBB0_88
## %bb.21: ## in Loop: Header=BB0_19 Depth=1
movq -56(%rbp), %rax ## 8-byte Reload
movq 56(%rax), %rdi
movq -64(%rbp), %rsi ## 8-byte Reload
jmp LBB0_18
LBB0_22:
cmpl $2, %r12d
je LBB0_29
## %bb.23:
cmpb $42, %bl
jne LBB0_26
## %bb.24:
cmpb $46, 1(%rdi)
jne LBB0_26
## %bb.25:
movl $2, %eax
jmp LBB0_13
LBB0_26:
sarq $32, %rax
cmpb $46, -2(%rdi,%rax)
jne LBB0_29
## %bb.27:
cmpb $42, -1(%rdi,%rax)
jne LBB0_29
## %bb.28:
addl $-2, %r12d
xorl %eax, %eax
movb $1, %r15b
jmp LBB0_14
LBB0_29:
testl %ecx, %ecx
jne LBB0_51
LBB0_30:
movq %rdx, -96(%rbp) ## 8-byte Spill
movq %r12, %r15
testl %r12d, %r12d
jle LBB0_35
## %bb.31:
xorl %ebx, %ebx
movq _NGX_HASH_READONLY_KEY@GOTPCREL(%rip), %r12
xorl %eax, %eax
movq -48(%rbp), %r14 ## 8-byte Reload
jmp LBB0_33
.p2align 4, 0x90
LBB0_32: ## in Loop: Header=BB0_33 Depth=1
movsbl (%rcx,%rbx), %esi
movl %eax, %edi
callq _ngx_hash
incq %rbx
cmpq %rbx, %r15
je LBB0_36
LBB0_33: ## =>This Inner Loop Header: Depth=1
movq 8(%r14), %rcx
testl %r13d, (%r12)
jne LBB0_32
## %bb.34: ## in Loop: Header=BB0_33 Depth=1
movsbl (%rcx,%rbx), %edi
movl %eax, %r14d
callq _ngx_tolower
movl %eax, %ecx
movl %r14d, %eax
movq -48(%rbp), %r14 ## 8-byte Reload
movq 8(%r14), %rdx
movb %cl, (%rdx,%rbx)
movq 8(%r14), %rcx
jmp LBB0_32
LBB0_35:
xorl %eax, %eax
movq -48(%rbp), %r14 ## 8-byte Reload
LBB0_36:
cltd
movq -56(%rbp), %rbx ## 8-byte Reload
idivl (%rbx)
movq 56(%rbx), %rdi
movslq %edx, %r13
shlq $4, %r13
leaq (%rdi,%r13), %rax
movq 8(%rdi,%r13), %r12
testq %r12, %r12
je LBB0_43
## %bb.37:
cmpl $0, (%rax)
jle LBB0_45
## %bb.38:
cmpl (%r12), %r15d
jne LBB0_45
## %bb.39:
movslq %r15d, %rax
movq %rax, -64(%rbp) ## 8-byte Spill
addq $16, %r12
xorl %ebx, %ebx
.p2align 4, 0x90
LBB0_40: ## =>This Inner Loop Header: Depth=1
movq 8(%r14), %rdi
movq -8(%r12), %rsi
movq -64(%rbp), %rdx ## 8-byte Reload
callq _ngx_strncmp
testq %rax, %rax
je LBB0_50
## %bb.41: ## in Loop: Header=BB0_40 Depth=1
incq %rbx
movq -56(%rbp), %rax ## 8-byte Reload
movq 56(%rax), %rdi
movslq (%rdi,%r13), %rax
cmpq %rax, %rbx
jge LBB0_45
## %bb.42: ## in Loop: Header=BB0_40 Depth=1
leaq 16(%r12), %rax
cmpl (%r12), %r15d
movq %rax, %r12
je LBB0_40
jmp LBB0_45
LBB0_43:
movl 4(%rbx), %esi
movq %rax, %rdi
movl $4, %edx
movl $16, %ecx
callq _ngx_array_init
movq _NGX_OK@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jne LBB0_49
## %bb.44:
movq 56(%rbx), %rdi
LBB0_45:
addq %r13, %rdi
callq _ngx_array_push
movq _NGX_ERROR@GOTPCREL(%rip), %r9
testq %rax, %rax
je LBB0_51
## %bb.46:
movups (%r14), %xmm0
movups %xmm0, (%rax)
movq -56(%rbp), %rdi ## 8-byte Reload
addq $64, %rdi
movq %r9, %rbx
callq _ngx_array_push
movq %rbx, %r9
testq %rax, %rax
movq -96(%rbp), %r14 ## 8-byte Reload
je LBB0_51
## %bb.47:
movq %rax, %rbx
movq -48(%rbp), %rax ## 8-byte Reload
movups (%rax), %xmm0
movups %xmm0, 16(%rbx)
movq 8(%rax), %rdi
movl %r15d, %esi
callq _ngx_hash_key
LBB0_48:
movq %rax, 8(%rbx)
movq %r14, (%rbx)
movq _NGX_OK@GOTPCREL(%rip), %r9
jmp LBB0_51
LBB0_50:
movq _NGX_BUSY@GOTPCREL(%rip), %r9
jmp LBB0_51
LBB0_52:
movl 4(%r15), %esi
movq %rax, %rdi
movl $4, %edx
movl $16, %ecx
callq _ngx_array_init
movq _NGX_OK@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jne LBB0_49
## %bb.53:
movq %r15, %rax
movq %r12, %r15
movq 56(%rax), %rdi
movq -64(%rbp), %rsi ## 8-byte Reload
LBB0_54:
addq %rsi, %rdi
callq _ngx_array_push
movq _NGX_ERROR@GOTPCREL(%rip), %r9
testq %rax, %rax
je LBB0_51
## %bb.55:
movq %rax, %rbx
movq %r15, %r12
leal -1(%r15), %esi
movl %esi, (%rax)
movq -56(%rbp), %rax ## 8-byte Reload
movl 4(%rax), %edi
movq %r9, %r14
callq _ngx_pnalloc
movq %r14, %r9
movq %rax, 8(%rbx)
testq %rax, %rax
je LBB0_51
## %bb.56:
movq -48(%rbp), %rcx ## 8-byte Reload
movq 8(%rcx), %rsi
incq %rsi
movslq (%rbx), %rdx
movq %rax, %rdi
callq _ngx_memcpy
movl -88(%rbp), %r15d ## 4-byte Reload
LBB0_57:
testb %r15b, %r15b
je LBB0_60
## %bb.58:
incl %r12d
movq -56(%rbp), %rbx ## 8-byte Reload
movl 4(%rbx), %edi
movl %r12d, %esi
callq _ngx_pnalloc
testq %rax, %rax
je LBB0_49
## %bb.59:
movq %rax, %rcx
movq -48(%rbp), %rax ## 8-byte Reload
movq 8(%rax), %rsi
movq %rcx, -64(%rbp) ## 8-byte Spill
movq %rcx, %rdi
movl %r12d, %edx
callq _ngx_cpystrn
movl $8, %eax
movl $16, %ecx
jmp LBB0_75
LBB0_60:
movq -56(%rbp), %rbx ## 8-byte Reload
movl 4(%rbx), %edi
movl %r12d, %esi
callq _ngx_pnalloc
testq %rax, %rax
je LBB0_49
## %bb.61:
movl %r12d, %ecx
decl %ecx
movq %rax, -64(%rbp) ## 8-byte Spill
je LBB0_73
## %bb.62:
movslq %ecx, %rbx
xorl %r15d, %r15d
movq %r12, -72(%rbp) ## 8-byte Spill
## kill: def $r12d killed $r12d killed $r12
xorl %r13d, %r13d
movq -48(%rbp), %rcx ## 8-byte Reload
jmp LBB0_65
LBB0_63: ## in Loop: Header=BB0_65 Depth=1
incq %r13
LBB0_64: ## in Loop: Header=BB0_65 Depth=1
decl %r12d
decq %rbx
je LBB0_67
LBB0_65: ## =>This Inner Loop Header: Depth=1
movq 8(%rcx), %rsi
cmpb $46, (%rsi,%rbx)
jne LBB0_63
## %bb.66: ## in Loop: Header=BB0_65 Depth=1
movslq %r15d, %r14
movq -64(%rbp), %rax ## 8-byte Reload
leaq (%rax,%r14), %rdi
movslq %r12d, %rax
addq %rax, %rsi
movq %r13, %rdx
callq _ngx_memcpy
movq -64(%rbp), %rax ## 8-byte Reload
movl %r14d, %edx
addl %r13d, %edx
leal (%r14,%r13), %r15d
incl %r15d
movq -48(%rbp), %rcx ## 8-byte Reload
movslq %edx, %rdx
movb $46, (%rax,%rdx)
xorl %r13d, %r13d
jmp LBB0_64
LBB0_67:
testq %r13, %r13
je LBB0_69
## %bb.68:
movslq %r15d, %r15
movq -64(%rbp), %rdi ## 8-byte Reload
addq %r15, %rdi
movq 8(%rcx), %rsi
incq %rsi
movq %r13, %rdx
callq _ngx_memcpy
movq -64(%rbp), %rax ## 8-byte Reload
addl %r13d, %r15d
LBB0_69:
movq -72(%rbp), %r12 ## 8-byte Reload
movq -56(%rbp), %rbx ## 8-byte Reload
jmp LBB0_74
LBB0_73:
xorl %r15d, %r15d
LBB0_74:
movslq %r15d, %rcx
movb $0, (%rax,%rcx)
movl $32, %eax
movl $40, %ecx
LBB0_75:
movq %rcx, -88(%rbp) ## 8-byte Spill
movl -76(%rbp), %ecx ## 4-byte Reload
movq %r12, -72(%rbp) ## 8-byte Spill
movq (%rbx,%rax), %rax
movslq %ecx, %rcx
shlq $4, %rcx
leaq (%rax,%rcx), %rdi
movq %rbx, %rdx
movq 8(%rax,%rcx), %rbx
testq %rbx, %rbx
movq %rdi, %r15
je LBB0_82
## %bb.76:
movl (%rdi), %eax
testl %eax, %eax
jle LBB0_83
## %bb.77:
movq -72(%rbp), %rcx ## 8-byte Reload
## kill: def $ecx killed $ecx killed $rcx
subl -104(%rbp), %ecx ## 4-byte Folded Reload
movslq %ecx, %r13
addq $8, %rbx
xorl %r12d, %r12d
movq _NGX_BUSY@GOTPCREL(%rip), %r14
jmp LBB0_79
LBB0_78: ## in Loop: Header=BB0_79 Depth=1
incq %r12
movslq %eax, %rcx
addq $16, %rbx
cmpq %rcx, %r12
jge LBB0_83
LBB0_79: ## =>This Inner Loop Header: Depth=1
cmpl -8(%rbx), %r13d
jne LBB0_78
## %bb.80: ## in Loop: Header=BB0_79 Depth=1
movq -48(%rbp), %rax ## 8-byte Reload
movq 8(%rax), %rdi
addq -104(%rbp), %rdi ## 8-byte Folded Reload
movq (%rbx), %rsi
movq %r13, %rdx
callq _ngx_strncmp
testq %rax, %rax
je LBB0_88
## %bb.81: ## in Loop: Header=BB0_79 Depth=1
movq %r15, %rdi
movl (%r15), %eax
jmp LBB0_78
LBB0_82:
movl 4(%rdx), %esi
movq %r15, %rdi
movl $4, %edx
movl $16, %ecx
callq _ngx_array_init
movq %r15, %rdi
movq _NGX_OK@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jne LBB0_49
LBB0_83:
callq _ngx_array_push
movq _NGX_ERROR@GOTPCREL(%rip), %r9
testq %rax, %rax
je LBB0_51
## %bb.84:
movq %rax, %rbx
movq -72(%rbp), %r15 ## 8-byte Reload
movl %r15d, %esi
movq -104(%rbp), %r13 ## 8-byte Reload
subl %r13d, %esi
movl %esi, (%rax)
movq -56(%rbp), %r12 ## 8-byte Reload
movl 4(%r12), %edi
callq _ngx_pnalloc
movq %rax, 8(%rbx)
testq %rax, %rax
je LBB0_49
## %bb.85:
addq -88(%rbp), %r12 ## 8-byte Folded Reload
movq -48(%rbp), %rcx ## 8-byte Reload
addq 8(%rcx), %r13
movslq (%rbx), %rdx
movq %rax, %rdi
movq %r13, %rsi
callq _ngx_memcpy
movq %r12, %rdi
callq _ngx_array_push
testq %rax, %rax
movq -96(%rbp), %r14 ## 8-byte Reload
movq _NGX_ERROR@GOTPCREL(%rip), %r9
je LBB0_51
## %bb.86:
movq %rax, %rbx
decl %r15d
movl %r15d, 16(%rax)
movq -64(%rbp), %rax ## 8-byte Reload
movq %rax, 24(%rbx)
xorl %eax, %eax
jmp LBB0_48
LBB0_49:
movq _NGX_ERROR@GOTPCREL(%rip), %r9
LBB0_51:
movq (%r9), %rax
addq $72, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_88:
movq %r14, %r9
jmp LBB0_51
.cfi_endproc
## -- End function
.comm _NGX_HASH_WILDCARD_KEY,4,2 ## @NGX_HASH_WILDCARD_KEY
.comm _NGX_DECLINED,8,3 ## @NGX_DECLINED
.comm _NGX_HASH_READONLY_KEY,4,2 ## @NGX_HASH_READONLY_KEY
.comm _NGX_BUSY,8,3 ## @NGX_BUSY
.comm _NGX_OK,8,3 ## @NGX_OK
.comm _NGX_ERROR,8,3 ## @NGX_ERROR
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _ngx_hash_add_key ; -- Begin function ngx_hash_add_key
.p2align 2
_ngx_hash_add_key: ; @ngx_hash_add_key
.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 x23, x3
mov x19, x2
mov x22, x1
mov x21, x0
ldr w20, [x1]
Lloh0:
adrp x8, _NGX_HASH_WILDCARD_KEY@GOTPAGE
Lloh1:
ldr x8, [x8, _NGX_HASH_WILDCARD_KEY@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
tst w8, w3
b.eq LBB0_30
; %bb.1:
tbnz w20, #31, LBB0_35
; %bb.2:
mov x9, #0 ; =0x0
mov x10, #0 ; =0x0
mov w8, #0 ; =0x0
ldr x11, [x22, #8]
Lloh3:
adrp x27, _NGX_DECLINED@GOTPAGE
Lloh4:
ldr x27, [x27, _NGX_DECLINED@GOTPAGEOFF]
mov x12, #-4294967296 ; =0xffffffff00000000
b LBB0_5
LBB0_3: ; in Loop: Header=BB0_5 Depth=1
ldurb w13, [x11, #-1]
cmp w13, #46
b.eq LBB0_81
LBB0_4: ; in Loop: Header=BB0_5 Depth=1
sub x10, x10, #1
sub x11, x11, #1
add x9, x9, x12
cmp x10, x20
b.gt LBB0_10
LBB0_5: ; =>This Inner Loop Header: Depth=1
ldrb w13, [x11]
cmp w13, #42
b.eq LBB0_8
; %bb.6: ; in Loop: Header=BB0_5 Depth=1
cmp w13, #46
b.eq LBB0_3
; %bb.7: ; in Loop: Header=BB0_5 Depth=1
cbnz w13, LBB0_4
b LBB0_81
LBB0_8: ; in Loop: Header=BB0_5 Depth=1
cmp w8, #0
b.gt LBB0_81
; %bb.9: ; in Loop: Header=BB0_5 Depth=1
mov w8, #1 ; =0x1
b LBB0_4
LBB0_10:
cmp w20, #2
b.lt LBB0_28
; %bb.11:
ldr x10, [x22, #8]
ldrb w24, [x10]
cmp w24, #46
b.ne LBB0_21
; %bb.12:
mov w27, #0 ; =0x0
mov w8, #1 ; =0x1
LBB0_13:
mov w25, w8
sub w23, w20, w8
add x0, x10, x25
add x1, x10, x25
mov x2, x23
bl _ngx_hash_strlow
ldr w8, [x21]
sdiv w9, w0, w8
msub w26, w9, w8, w0
cmp w24, #46
b.ne LBB0_54
; %bb.14:
ldr x8, [x21, #56]
sxtw x9, w26
str x9, [sp, #16] ; 8-byte Folded Spill
add x0, x8, w26, sxtw #4
ldr x9, [x0, #8]
cbz x9, LBB0_49
; %bb.15:
str w27, [sp, #4] ; 4-byte Folded Spill
str x25, [sp, #24] ; 8-byte Folded Spill
ldr w10, [x0]
cmp w10, #1
str x26, [sp, #8] ; 8-byte Folded Spill
b.lt LBB0_51
; %bb.16:
mov x26, #0 ; =0x0
sxtw x24, w23
add x28, x9, #8
Lloh5:
adrp x27, _NGX_BUSY@GOTPAGE
Lloh6:
ldr x27, [x27, _NGX_BUSY@GOTPAGEOFF]
ldr x9, [sp, #16] ; 8-byte Folded Reload
lsl x25, x9, #4
b LBB0_18
LBB0_17: ; in Loop: Header=BB0_18 Depth=1
add x26, x26, #1
ldrsw x9, [x8, x25]
add x28, x28, #16
cmp x26, x9
b.ge LBB0_51
LBB0_18: ; =>This Inner Loop Header: Depth=1
ldur w9, [x28, #-8]
cmp w23, w9
b.ne LBB0_17
; %bb.19: ; in Loop: Header=BB0_18 Depth=1
ldr x8, [x22, #8]
ldr x1, [x28]
add x0, x8, #1
mov x2, x24
bl _ngx_strncmp
cbz x0, LBB0_81
; %bb.20: ; in Loop: Header=BB0_18 Depth=1
ldr x8, [x21, #56]
b LBB0_17
LBB0_21:
subs w11, w20, #2
b.eq LBB0_28
; %bb.22:
cmp w24, #42
b.ne LBB0_25
; %bb.23:
ldrb w12, [x10, #1]
cmp w12, #46
b.ne LBB0_25
; %bb.24:
mov w27, #0 ; =0x0
mov w8, #2 ; =0x2
b LBB0_13
LBB0_25:
add x9, x10, x9, asr #32
ldurb w12, [x9, #-2]
cmp w12, #46
b.ne LBB0_28
; %bb.26:
ldurb w9, [x9, #-1]
cmp w9, #42
b.ne LBB0_28
; %bb.27:
mov w8, #0 ; =0x0
mov w27, #1 ; =0x1
mov x20, x11
b LBB0_13
LBB0_28:
cbz w8, LBB0_30
; %bb.29:
Lloh7:
adrp x27, _NGX_DECLINED@GOTPAGE
Lloh8:
ldr x27, [x27, _NGX_DECLINED@GOTPAGEOFF]
b LBB0_81
LBB0_30:
cmp w20, #1
b.lt LBB0_35
; %bb.31:
mov x24, #0 ; =0x0
mov w0, #0 ; =0x0
Lloh9:
adrp x25, _NGX_HASH_READONLY_KEY@GOTPAGE
Lloh10:
ldr x25, [x25, _NGX_HASH_READONLY_KEY@GOTPAGEOFF]
b LBB0_33
LBB0_32: ; in Loop: Header=BB0_33 Depth=1
ldrsb w1, [x8, x24]
bl _ngx_hash
add x24, x24, #1
cmp x20, x24
b.eq LBB0_36
LBB0_33: ; =>This Inner Loop Header: Depth=1
ldr w9, [x25]
ldr x8, [x22, #8]
tst w9, w23
b.ne LBB0_32
; %bb.34: ; in Loop: Header=BB0_33 Depth=1
ldrsb w8, [x8, x24]
mov x26, x0
mov x0, x8
bl _ngx_tolower
mov x8, x0
mov x0, x26
ldr x9, [x22, #8]
strb w8, [x9, x24]
ldr x8, [x22, #8]
b LBB0_32
LBB0_35:
mov w0, #0 ; =0x0
LBB0_36:
ldr w8, [x21]
sdiv w9, w0, w8
msub w9, w9, w8, w0
ldr x8, [x21, #56]
sxtw x24, w9
add x0, x8, w9, sxtw #4
ldr x9, [x0, #8]
cbz x9, LBB0_43
; %bb.37:
ldr w10, [x0]
cmp w10, #1
b.lt LBB0_45
; %bb.38:
ldr w10, [x9]
cmp w20, w10
b.ne LBB0_45
; %bb.39:
mov x25, #0 ; =0x0
sxtw x23, w20
add x26, x9, #16
Lloh11:
adrp x27, _NGX_BUSY@GOTPAGE
Lloh12:
ldr x27, [x27, _NGX_BUSY@GOTPAGEOFF]
lsl x28, x24, #4
LBB0_40: ; =>This Inner Loop Header: Depth=1
ldr x0, [x22, #8]
ldur x1, [x26, #-8]
mov x2, x23
bl _ngx_strncmp
cbz x0, LBB0_81
; %bb.41: ; in Loop: Header=BB0_40 Depth=1
add x25, x25, #1
ldr x8, [x21, #56]
ldrsw x9, [x8, x28]
cmp x25, x9
b.ge LBB0_45
; %bb.42: ; in Loop: Header=BB0_40 Depth=1
ldr w9, [x26], #16
cmp w20, w9
b.eq LBB0_40
b LBB0_45
LBB0_43:
ldr w1, [x21, #4]
mov w2, #4 ; =0x4
mov w3, #16 ; =0x10
bl _ngx_array_init
Lloh13:
adrp x8, _NGX_OK@GOTPAGE
Lloh14:
ldr x8, [x8, _NGX_OK@GOTPAGEOFF]
Lloh15:
ldr x8, [x8]
cmp x0, x8
b.ne LBB0_80
; %bb.44:
ldr x8, [x21, #56]
LBB0_45:
add x0, x8, x24, lsl #4
bl _ngx_array_push
cbz x0, LBB0_80
; %bb.46:
ldr q0, [x22]
str q0, [x0]
add x0, x21, #64
bl _ngx_array_push
cbz x0, LBB0_80
; %bb.47:
mov x21, x0
ldr q0, [x22]
str q0, [x0, #16]
ldr x0, [x22, #8]
mov x1, x20
bl _ngx_hash_key
LBB0_48:
stp x19, x0, [x21]
Lloh16:
adrp x27, _NGX_OK@GOTPAGE
Lloh17:
ldr x27, [x27, _NGX_OK@GOTPAGEOFF]
b LBB0_81
LBB0_49:
ldr w1, [x21, #4]
mov w2, #4 ; =0x4
mov w3, #16 ; =0x10
bl _ngx_array_init
Lloh18:
adrp x8, _NGX_OK@GOTPAGE
Lloh19:
ldr x8, [x8, _NGX_OK@GOTPAGEOFF]
Lloh20:
ldr x8, [x8]
cmp x0, x8
b.ne LBB0_80
; %bb.50:
str w27, [sp, #4] ; 4-byte Folded Spill
str x26, [sp, #8] ; 8-byte Folded Spill
str x25, [sp, #24] ; 8-byte Folded Spill
ldr x8, [x21, #56]
LBB0_51:
ldr x9, [sp, #16] ; 8-byte Folded Reload
add x0, x8, x9, lsl #4
bl _ngx_array_push
ldr x25, [sp, #24] ; 8-byte Folded Reload
ldr w27, [sp, #4] ; 4-byte Folded Reload
cbz x0, LBB0_80
; %bb.52:
mov x23, x0
sub w1, w20, #1
str w1, [x0]
ldr w0, [x21, #4]
bl _ngx_pnalloc
str x0, [x23, #8]
cbz x0, LBB0_80
; %bb.53:
ldr x8, [x22, #8]
ldrsw x2, [x23]
add x1, x8, #1
bl _ngx_memcpy
ldr x26, [sp, #8] ; 8-byte Folded Reload
LBB0_54:
tbz w27, #0, LBB0_57
; %bb.55:
add w20, w20, #1
ldr w0, [x21, #4]
mov x1, x20
bl _ngx_pnalloc
cbz x0, LBB0_80
; %bb.56:
mov x23, x0
str x25, [sp, #24] ; 8-byte Folded Spill
ldr x1, [x22, #8]
mov x2, x20
bl _ngx_cpystrn
mov w8, #8 ; =0x8
mov w9, #16 ; =0x10
b LBB0_68
LBB0_57:
ldr w0, [x21, #4]
mov x1, x20
bl _ngx_pnalloc
cbz x0, LBB0_80
; %bb.58:
mov x23, x0
str x25, [sp, #24] ; 8-byte Folded Spill
subs w8, w20, #1
b.eq LBB0_66
; %bb.59:
str x26, [sp, #8] ; 8-byte Folded Spill
mov w25, #0 ; =0x0
mov x24, #0 ; =0x0
sxtw x27, w8
mov w28, #46 ; =0x2e
mov x26, x20
b LBB0_62
LBB0_60: ; in Loop: Header=BB0_62 Depth=1
add x24, x24, #1
LBB0_61: ; in Loop: Header=BB0_62 Depth=1
sub w26, w26, #1
sub x27, x27, #1
cbz x27, LBB0_64
LBB0_62: ; =>This Inner Loop Header: Depth=1
ldr x8, [x22, #8]
ldrb w9, [x8, x27]
cmp w9, #46
b.ne LBB0_60
; %bb.63: ; in Loop: Header=BB0_62 Depth=1
add x0, x23, w25, sxtw
add x1, x8, w26, sxtw
mov x2, x24
bl _ngx_memcpy
add w8, w25, w24
mov x24, #0 ; =0x0
add w25, w8, #1
strb w28, [x23, w8, sxtw]
b LBB0_61
LBB0_64:
ldr x26, [sp, #8] ; 8-byte Folded Reload
cbz x24, LBB0_67
; %bb.65:
add x0, x23, w25, sxtw
ldr x8, [x22, #8]
add x1, x8, #1
mov x2, x24
bl _ngx_memcpy
add w25, w25, w24
b LBB0_67
LBB0_66:
mov w25, #0 ; =0x0
LBB0_67:
strb wzr, [x23, w25, sxtw]
mov w8, #32 ; =0x20
mov w9, #40 ; =0x28
LBB0_68:
str x9, [sp, #16] ; 8-byte Folded Spill
ldr x8, [x21, x8]
add x24, x8, w26, sxtw #4
ldr x9, [x24, #8]
cbz x9, LBB0_75
; %bb.69:
ldr w8, [x24]
cmp w8, #1
b.lt LBB0_76
; %bb.70:
mov x26, #0 ; =0x0
ldr x10, [sp, #24] ; 8-byte Folded Reload
sub w10, w20, w10
sxtw x25, w10
add x28, x9, #8
Lloh21:
adrp x27, _NGX_BUSY@GOTPAGE
Lloh22:
ldr x27, [x27, _NGX_BUSY@GOTPAGEOFF]
b LBB0_72
LBB0_71: ; in Loop: Header=BB0_72 Depth=1
add x26, x26, #1
add x28, x28, #16
cmp x26, w8, sxtw
b.ge LBB0_76
LBB0_72: ; =>This Inner Loop Header: Depth=1
ldur w9, [x28, #-8]
cmp w25, w9
b.ne LBB0_71
; %bb.73: ; in Loop: Header=BB0_72 Depth=1
ldr x8, [x22, #8]
ldr x1, [x28]
ldr x9, [sp, #24] ; 8-byte Folded Reload
add x0, x8, x9
mov x2, x25
bl _ngx_strncmp
cbz x0, LBB0_81
; %bb.74: ; in Loop: Header=BB0_72 Depth=1
ldr w8, [x24]
b LBB0_71
LBB0_75:
ldr w1, [x21, #4]
mov x0, x24
mov w2, #4 ; =0x4
mov w3, #16 ; =0x10
bl _ngx_array_init
Lloh23:
adrp x8, _NGX_OK@GOTPAGE
Lloh24:
ldr x8, [x8, _NGX_OK@GOTPAGEOFF]
Lloh25:
ldr x8, [x8]
cmp x0, x8
b.ne LBB0_80
LBB0_76:
mov x0, x24
bl _ngx_array_push
cbz x0, LBB0_80
; %bb.77:
mov x24, x0
ldr x25, [sp, #24] ; 8-byte Folded Reload
sub w1, w20, w25
str w1, [x0]
ldr w0, [x21, #4]
bl _ngx_pnalloc
str x0, [x24, #8]
cbz x0, LBB0_80
; %bb.78:
ldr x8, [x22, #8]
ldrsw x2, [x24]
add x1, x8, x25
bl _ngx_memcpy
ldr x8, [sp, #16] ; 8-byte Folded Reload
add x0, x21, x8
bl _ngx_array_push
cbz x0, LBB0_80
; %bb.79:
mov x21, x0
mov x0, #0 ; =0x0
sub w8, w20, #1
str w8, [x21, #16]
str x23, [x21, #24]
b LBB0_48
LBB0_80:
Lloh26:
adrp x27, _NGX_ERROR@GOTPAGE
Lloh27:
ldr x27, [x27, _NGX_ERROR@GOTPAGEOFF]
LBB0_81:
ldr x0, [x27]
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 AdrpLdrGot Lloh3, Lloh4
.loh AdrpLdrGot Lloh5, Lloh6
.loh AdrpLdrGot Lloh7, Lloh8
.loh AdrpLdrGot Lloh9, Lloh10
.loh AdrpLdrGot Lloh11, Lloh12
.loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh15
.loh AdrpLdrGot Lloh16, Lloh17
.loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh20
.loh AdrpLdrGot Lloh21, Lloh22
.loh AdrpLdrGotLdr Lloh23, Lloh24, Lloh25
.loh AdrpLdrGot Lloh26, Lloh27
.cfi_endproc
; -- End function
.comm _NGX_HASH_WILDCARD_KEY,4,2 ; @NGX_HASH_WILDCARD_KEY
.comm _NGX_DECLINED,8,3 ; @NGX_DECLINED
.comm _NGX_HASH_READONLY_KEY,4,2 ; @NGX_HASH_READONLY_KEY
.comm _NGX_BUSY,8,3 ; @NGX_BUSY
.comm _NGX_OK,8,3 ; @NGX_OK
.comm _NGX_ERROR,8,3 ; @NGX_ERROR
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function digit_gen_mix_grisu2
_digit_gen_mix_grisu2: ## @digit_gen_mix_grisu2
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _digit_gen_mix_grisu2
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function digit_gen_mix_grisu2
_digit_gen_mix_grisu2: ; @digit_gen_mix_grisu2
.cfi_startproc
; %bb.0:
ret
.cfi_endproc
; -- End function
.no_dead_strip _digit_gen_mix_grisu2
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function cp_get_ethtool_stats
_cp_get_ethtool_stats: ## @cp_get_ethtool_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 $24, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdx, %r14
callq _netdev_priv
movq %rax, %rbx
movq (%rax), %rdi
movq _GFP_KERNEL@GOTPCREL(%rip), %rax
movl (%rax), %ecx
leaq -48(%rbp), %rdx
movl $52, %esi
callq _dma_alloc_coherent
testq %rax, %rax
je LBB0_6
## %bb.1:
movq %rax, %r15
movq %rbx, -64(%rbp) ## 8-byte Spill
movq _StatsAddr@GOTPCREL(%rip), %rbx
movq (%rbx), %rdi
addq $4, %rdi
callq _cpw32
movq (%rbx), %rax
movq %rax, -56(%rbp) ## 8-byte Spill
movl -48(%rbp), %r13d
movl $32, %edi
callq _DMA_BIT_MASK
orl %eax, %r13d
movq _DumpStats@GOTPCREL(%rip), %r12
orl (%r12), %r13d
movq -56(%rbp), %rdi ## 8-byte Reload
movl %r13d, %esi
callq _cpw32
movq (%rbx), %rdi
callq _cpr32
movl $1001, %r13d ## imm = 0x3E9
jmp LBB0_2
.p2align 4, 0x90
LBB0_4: ## in Loop: Header=BB0_2 Depth=1
decl %r13d
je LBB0_5
LBB0_2: ## =>This Inner Loop Header: Depth=1
movq (%rbx), %rdi
callq _cpr32
testl %eax, (%r12)
je LBB0_4
## %bb.3: ## in Loop: Header=BB0_2 Depth=1
movl $10, %edi
callq _udelay
jmp LBB0_4
LBB0_5:
movq (%rbx), %rdi
xorl %esi, %esi
callq _cpw32
movq (%rbx), %rdi
addq $4, %rdi
xorl %esi, %esi
callq _cpw32
movq (%rbx), %rdi
callq _cpr32
movl 48(%r15), %edi
callq _le64_to_cpu
movl %eax, (%r14)
movl 44(%r15), %edi
callq _le64_to_cpu
movl %eax, 4(%r14)
movl 40(%r15), %edi
callq _le64_to_cpu
movl %eax, 8(%r14)
movl 36(%r15), %edi
callq _le32_to_cpu
movl %eax, 12(%r14)
movl 32(%r15), %edi
callq _le16_to_cpu
movl %eax, 16(%r14)
movl 28(%r15), %edi
callq _le16_to_cpu
movl %eax, 20(%r14)
movl 24(%r15), %edi
callq _le32_to_cpu
movl %eax, 24(%r14)
movl 20(%r15), %edi
callq _le32_to_cpu
movl %eax, 28(%r14)
movl 16(%r15), %edi
callq _le64_to_cpu
movl %eax, 32(%r14)
movl 12(%r15), %edi
callq _le64_to_cpu
movl %eax, 36(%r14)
movl 8(%r15), %edi
callq _le32_to_cpu
movl %eax, 40(%r14)
movl 4(%r15), %edi
callq _le16_to_cpu
movl %eax, 44(%r14)
movl (%r15), %edi
callq _le16_to_cpu
movl %eax, 48(%r14)
movq -64(%rbp), %rbx ## 8-byte Reload
movl 8(%rbx), %eax
movl %eax, 52(%r14)
movq _CP_NUM_STATS@GOTPCREL(%rip), %rax
xorl %edi, %edi
cmpl $14, (%rax)
setne %dil
callq _BUG_ON
movq (%rbx), %rdi
movq -48(%rbp), %rcx
movl $52, %esi
movq %r15, %rdx
callq _dma_free_coherent
LBB0_6:
addq $24, %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 _StatsAddr,8,3 ## @StatsAddr
.comm _DumpStats,4,2 ## @DumpStats
.comm _CP_NUM_STATS,4,2 ## @CP_NUM_STATS
.no_dead_strip _cp_get_ethtool_stats
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function cp_get_ethtool_stats
_cp_get_ethtool_stats: ; @cp_get_ethtool_stats
.cfi_startproc
; %bb.0:
sub sp, sp, #80
stp x24, x23, [sp, #16] ; 16-byte Folded Spill
stp x22, x21, [sp, #32] ; 16-byte Folded Spill
stp x20, x19, [sp, #48] ; 16-byte Folded Spill
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov x20, x2
bl _netdev_priv
mov x19, x0
ldr x0, [x0]
Lloh0:
adrp x8, _GFP_KERNEL@GOTPAGE
Lloh1:
ldr x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
ldr w3, [x8]
add x2, sp, #8
mov w1, #52 ; =0x34
bl _dma_alloc_coherent
cbz x0, LBB0_6
; %bb.1:
mov x21, x0
Lloh3:
adrp x23, _StatsAddr@GOTPAGE
Lloh4:
ldr x23, [x23, _StatsAddr@GOTPAGEOFF]
ldr x8, [x23]
add x0, x8, #4
bl _cpw32
ldr x22, [x23]
ldr w24, [sp, #8]
mov w0, #32 ; =0x20
bl _DMA_BIT_MASK
orr w8, w0, w24
Lloh5:
adrp x24, _DumpStats@GOTPAGE
Lloh6:
ldr x24, [x24, _DumpStats@GOTPAGEOFF]
ldr w9, [x24]
orr w1, w8, w9
mov x0, x22
bl _cpw32
ldr x0, [x23]
bl _cpr32
mov w22, #1001 ; =0x3e9
b LBB0_3
LBB0_2: ; in Loop: Header=BB0_3 Depth=1
subs w22, w22, #1
b.eq LBB0_5
LBB0_3: ; =>This Inner Loop Header: Depth=1
ldr x0, [x23]
bl _cpr32
ldr w8, [x24]
tst w8, w0
b.eq LBB0_2
; %bb.4: ; in Loop: Header=BB0_3 Depth=1
mov w0, #10 ; =0xa
bl _udelay
b LBB0_2
LBB0_5:
ldr x0, [x23]
mov w1, #0 ; =0x0
bl _cpw32
ldr x8, [x23]
add x0, x8, #4
mov w1, #0 ; =0x0
bl _cpw32
ldr x0, [x23]
bl _cpr32
ldr w0, [x21, #48]
bl _le64_to_cpu
str w0, [x20]
ldr w0, [x21, #44]
bl _le64_to_cpu
str w0, [x20, #4]
ldr w0, [x21, #40]
bl _le64_to_cpu
str w0, [x20, #8]
ldr w0, [x21, #36]
bl _le32_to_cpu
str w0, [x20, #12]
ldr w0, [x21, #32]
bl _le16_to_cpu
str w0, [x20, #16]
ldr w0, [x21, #28]
bl _le16_to_cpu
str w0, [x20, #20]
ldr w0, [x21, #24]
bl _le32_to_cpu
str w0, [x20, #24]
ldr w0, [x21, #20]
bl _le32_to_cpu
str w0, [x20, #28]
ldr w0, [x21, #16]
bl _le64_to_cpu
str w0, [x20, #32]
ldr w0, [x21, #12]
bl _le64_to_cpu
str w0, [x20, #36]
ldr w0, [x21, #8]
bl _le32_to_cpu
str w0, [x20, #40]
ldr w0, [x21, #4]
bl _le16_to_cpu
str w0, [x20, #44]
ldr w0, [x21]
bl _le16_to_cpu
str w0, [x20, #48]
ldr w8, [x19, #8]
str w8, [x20, #52]
Lloh7:
adrp x8, _CP_NUM_STATS@GOTPAGE
Lloh8:
ldr x8, [x8, _CP_NUM_STATS@GOTPAGEOFF]
Lloh9:
ldr w8, [x8]
cmp w8, #14
cset w0, ne
bl _BUG_ON
ldr x0, [x19]
ldr x3, [sp, #8]
mov w1, #52 ; =0x34
mov x2, x21
bl _dma_free_coherent
LBB0_6:
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
ldp x24, x23, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #80
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGot Lloh5, Lloh6
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9
.cfi_endproc
; -- End function
.comm _GFP_KERNEL,4,2 ; @GFP_KERNEL
.comm _StatsAddr,8,3 ; @StatsAddr
.comm _DumpStats,4,2 ; @DumpStats
.comm _CP_NUM_STATS,4,2 ; @CP_NUM_STATS
.no_dead_strip _cp_get_ethtool_stats
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function sprd_i2c_master_xfer
_sprd_i2c_master_xfer: ## @sprd_i2c_master_xfer
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %edx, %r12d
movq %rsi, %r14
movq %rdi, %r15
movq (%rdi), %r13
movl (%r13), %edi
callq _pm_runtime_get_sync
testl %eax, %eax
js LBB0_1
## %bb.2:
movl $1, %ebx
cmpl $2, %r12d
jl LBB0_4
.p2align 4, 0x90
LBB0_3: ## =>This Inner Loop Header: Depth=1
movq %r15, %rdi
movq %r14, %rsi
xorl %edx, %edx
callq _sprd_i2c_handle_msg
decl %ebx
addq $-4, %r14
testl %eax, %eax
je LBB0_3
jmp LBB0_5
LBB0_1:
movl %eax, %ebx
jmp LBB0_6
LBB0_4:
movq %r15, %rdi
movq %r14, %rsi
movl $1, %edx
callq _sprd_i2c_handle_msg
LBB0_5:
movl %eax, %r14d
movl (%r13), %edi
callq _pm_runtime_mark_last_busy
movl (%r13), %edi
callq _pm_runtime_put_autosuspend
testl %r14d, %r14d
cmovsl %r14d, %ebx
LBB0_6:
movl %ebx, %eax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _sprd_i2c_master_xfer
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function sprd_i2c_master_xfer
_sprd_i2c_master_xfer: ; @sprd_i2c_master_xfer
.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
ldr x22, [x0]
ldr w0, [x22]
bl _pm_runtime_get_sync
tbnz w0, #31, LBB0_6
; %bb.1:
cmp w21, #2
b.lt LBB0_4
; %bb.2:
mov w21, #1 ; =0x1
LBB0_3: ; =>This Inner Loop Header: Depth=1
mov x0, x20
mov x1, x19
mov w2, #0 ; =0x0
bl _sprd_i2c_handle_msg
sub w21, w21, #1
sub x19, x19, #4
cbz w0, LBB0_3
b LBB0_5
LBB0_4:
mov w21, #1 ; =0x1
mov x0, x20
mov x1, x19
mov w2, #1 ; =0x1
bl _sprd_i2c_handle_msg
LBB0_5:
mov x19, x0
ldr w0, [x22]
bl _pm_runtime_mark_last_busy
ldr w0, [x22]
bl _pm_runtime_put_autosuspend
cmp w19, #0
csel w0, w19, w21, lt
LBB0_6:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.no_dead_strip _sprd_i2c_master_xfer
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function change_item
_change_item: ## @change_item
.cfi_startproc
## %bb.0:
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, %r12d
movl %ecx, -68(%rbp) ## 4-byte Spill
movq %rdx, %r14
movl %esi, %ebx
movq %rdi, %r15
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
xorl %edi, %edi
testq %r15, %r15
setne %dil
callq _assert
xorl %edi, %edi
testq %r14, %r14
setg %dil
callq _assert
movq %r14, %rdi
callq _fits
xorl %r13d, %r13d
testl %eax, %eax
je LBB0_23
## %bb.1:
movq _import_only_mode@GOTPCREL(%rip), %rax
cmpq $0, (%rax)
jne LBB0_22
## %bb.2:
movl %r12d, -80(%rbp) ## 4-byte Spill
movl %r12d, (%rsp)
leaq L_.str(%rip), %rsi
movl $4, %edi
movq %r15, %rdx
movl %ebx, -72(%rbp) ## 4-byte Spill
movl %ebx, %ecx
movq %r14, %r8
movl -68(%rbp), %r9d ## 4-byte Reload
callq _vkprintf
movq %r14, %rdi
callq _get_idx_item
movq %rax, %rbx
testq %rax, %rax
je LBB0_4
## %bb.3:
movq _mod_items@GOTPCREL(%rip), %rax
incl (%rax)
movq _FLAG_DELETED@GOTPCREL(%rip), %rax
movl (%rax), %eax
orl %eax, (%rbx)
movq %rbx, %rdi
xorl %esi, %esi
callq _get_index_item_words_ptr
movq %rbx, %rdi
movq %rax, %rsi
callq _item_clear_wordlist
LBB0_4:
movq _ONLY_FIND@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %r14, %rdi
callq _get_item_f
testq %rax, %rax
je LBB0_8
## %bb.5:
movq %rax, %r12
movq _FLAG_DELETED@GOTPCREL(%rip), %rax
movl (%rax), %eax
testl %eax, (%r12)
je LBB0_7
## %bb.6:
movq _del_items@GOTPCREL(%rip), %rcx
decl (%rcx)
xorl %eax, (%r12)
LBB0_7:
movq %r12, %rsi
addq $8, %rsi
movq %r12, %rdi
callq _item_clear_wordlist
jmp LBB0_9
LBB0_8:
movq _ADD_NOT_FOUND_ITEM@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %r14, %rdi
callq _get_item_f
movq %rax, %r12
testq %rax, %rax
je LBB0_23
LBB0_9:
testq %rbx, %rbx
je LBB0_11
## %bb.10:
movq %r12, %rdi
movq %rbx, %rsi
callq _move_item_rates
LBB0_11:
movl -68(%rbp), %eax ## 4-byte Reload
movl %eax, -64(%rbp)
movl -80(%rbp), %eax ## 4-byte Reload
movl %eax, -60(%rbp)
movq _creation_date@GOTPCREL(%rip), %rax
cmpl $0, (%rax)
je LBB0_14
## %bb.12:
testb $4, 4(%r12)
jne LBB0_13
LBB0_14:
leaq -52(%rbp), %rax
movq %rax, -80(%rbp) ## 8-byte Spill
movq _now@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, -56(%rbp)
movl $3, -68(%rbp) ## 4-byte Folded Spill
jmp LBB0_15
LBB0_13:
leaq -56(%rbp), %rax
movq %rax, -80(%rbp) ## 8-byte Spill
movl $-1, -68(%rbp) ## 4-byte Folded Spill
LBB0_15:
movl -72(%rbp), %ebx ## 4-byte Reload
xorl %eax, %eax
callq _clear_cur_wordlist
movq _universal@GOTPCREL(%rip), %rax
movl (%rax), %edx
movq _Q@GOTPCREL(%rip), %r13
movq (%r13), %rcx
movq _tag_owner@GOTPCREL(%rip), %rax
movl (%rax), %r9d
movq %r14, (%rsp)
movq %r15, %rdi
movl %ebx, %esi
movl $65536, %r8d ## imm = 0x10000
callq _extract_words
movl %eax, %r14d
testl %eax, %eax
js LBB0_18
## %bb.16:
leal 1(%r14), %r15d
xorl %ebx, %ebx
.p2align 4, 0x90
LBB0_17: ## =>This Inner Loop Header: Depth=1
movq (%r13), %rax
movl (%rax,%rbx,8), %edx
movl 4(%rax,%rbx,8), %esi
movq %r12, %rdi
callq _item_add_word
incq %rbx
cmpq %rbx, %r15
jne LBB0_17
LBB0_18:
movq _cur_wordlist_head@GOTPCREL(%rip), %rax
movl (%rax), %eax
movl %eax, 8(%r12)
movq _wordfreqs_enabled@GOTPCREL(%rip), %rax
cmpq $0, (%rax)
je LBB0_19
## %bb.20:
movq (%r13), %rdi
movl %r14d, %esi
callq _evaluate_uniq_words_count
movq -80(%rbp), %rcx ## 8-byte Reload
movl %eax, (%rcx)
movl -68(%rbp), %esi ## 4-byte Reload
orl $8192, %esi ## imm = 0x2000
jmp LBB0_21
LBB0_19:
movl -68(%rbp), %esi ## 4-byte Reload
LBB0_21:
leaq -64(%rbp), %rdx
movq %r12, %rdi
callq _set_multiple_rates_item
LBB0_22:
movl $1, %r13d
LBB0_23:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB0_25
## %bb.24:
movl %r13d, %eax
addq $56, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_25:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.comm _import_only_mode,8,3 ## @import_only_mode
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "change_item: text=%s, len = %d, item_id = %016llx, rate = %d, rate2 = %d\n"
.comm _mod_items,4,2 ## @mod_items
.comm _FLAG_DELETED,4,2 ## @FLAG_DELETED
.comm _ONLY_FIND,4,2 ## @ONLY_FIND
.comm _del_items,4,2 ## @del_items
.comm _ADD_NOT_FOUND_ITEM,4,2 ## @ADD_NOT_FOUND_ITEM
.comm _creation_date,4,2 ## @creation_date
.comm _now,4,2 ## @now
.comm _universal,4,2 ## @universal
.comm _Q,8,3 ## @Q
.comm _tag_owner,4,2 ## @tag_owner
.comm _cur_wordlist_head,4,2 ## @cur_wordlist_head
.comm _wordfreqs_enabled,8,3 ## @wordfreqs_enabled
.no_dead_strip _change_item
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function change_item
_change_item: ; @change_item
.cfi_startproc
; %bb.0:
sub sp, sp, #112
stp x26, x25, [sp, #32] ; 16-byte Folded Spill
stp x24, x23, [sp, #48] ; 16-byte Folded Spill
stp x22, x21, [sp, #64] ; 16-byte Folded Spill
stp x20, x19, [sp, #80] ; 16-byte Folded Spill
stp x29, x30, [sp, #96] ; 16-byte Folded Spill
add x29, sp, #96
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
mov x23, x4
mov x24, x3
mov x19, x2
mov x20, x1
mov x21, x0
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
str x8, [sp, #24]
cmp x0, #0
cset w0, ne
bl _assert
cmp x19, #0
cset w0, gt
bl _assert
mov x0, x19
bl _fits
cbz w0, LBB0_22
; %bb.1:
Lloh3:
adrp x8, _import_only_mode@GOTPAGE
Lloh4:
ldr x8, [x8, _import_only_mode@GOTPAGEOFF]
Lloh5:
ldr x8, [x8]
cbnz x8, LBB0_21
; %bb.2:
Lloh6:
adrp x1, l_.str@PAGE
Lloh7:
add x1, x1, l_.str@PAGEOFF
mov w0, #4 ; =0x4
mov x2, x21
mov x3, x20
mov x4, x19
mov x5, x24
mov x6, x23
bl _vkprintf
mov x0, x19
bl _get_idx_item
mov x25, x0
Lloh8:
adrp x26, _FLAG_DELETED@GOTPAGE
Lloh9:
ldr x26, [x26, _FLAG_DELETED@GOTPAGEOFF]
cbz x0, LBB0_4
; %bb.3:
Lloh10:
adrp x8, _mod_items@GOTPAGE
Lloh11:
ldr x8, [x8, _mod_items@GOTPAGEOFF]
ldr w9, [x8]
add w9, w9, #1
str w9, [x8]
ldr w8, [x26]
ldr w9, [x25]
orr w8, w9, w8
str w8, [x25]
mov x0, x25
mov w1, #0 ; =0x0
bl _get_index_item_words_ptr
mov x1, x0
mov x0, x25
bl _item_clear_wordlist
LBB0_4:
Lloh12:
adrp x8, _ONLY_FIND@GOTPAGE
Lloh13:
ldr x8, [x8, _ONLY_FIND@GOTPAGEOFF]
Lloh14:
ldr w1, [x8]
mov x0, x19
bl _get_item_f
cbz x0, LBB0_8
; %bb.5:
mov x22, x0
ldr w9, [x0]
ldr w8, [x26]
tst w8, w9
b.eq LBB0_7
; %bb.6:
Lloh15:
adrp x9, _del_items@GOTPAGE
Lloh16:
ldr x9, [x9, _del_items@GOTPAGEOFF]
ldr w10, [x9]
sub w10, w10, #1
str w10, [x9]
ldr w9, [x22]
eor w8, w9, w8
str w8, [x22]
LBB0_7:
add x1, x22, #8
mov x0, x22
bl _item_clear_wordlist
b LBB0_9
LBB0_8:
Lloh17:
adrp x8, _ADD_NOT_FOUND_ITEM@GOTPAGE
Lloh18:
ldr x8, [x8, _ADD_NOT_FOUND_ITEM@GOTPAGEOFF]
Lloh19:
ldr w1, [x8]
mov x0, x19
bl _get_item_f
mov x22, x0
cbz x0, LBB0_22
LBB0_9:
cbz x25, LBB0_11
; %bb.10:
mov x0, x22
mov x1, x25
bl _move_item_rates
LBB0_11:
add x8, sp, #8
stp w24, w23, [sp, #8]
Lloh20:
adrp x9, _creation_date@GOTPAGE
Lloh21:
ldr x9, [x9, _creation_date@GOTPAGEOFF]
Lloh22:
ldr w9, [x9]
cbz w9, LBB0_13
; %bb.12:
ldrb w9, [x22, #4]
tbnz w9, #2, LBB0_14
LBB0_13:
add x24, x8, #12
Lloh23:
adrp x8, _now@GOTPAGE
Lloh24:
ldr x8, [x8, _now@GOTPAGEOFF]
Lloh25:
ldr w8, [x8]
str w8, [sp, #16]
mov w23, #3 ; =0x3
b LBB0_15
LBB0_14:
add x24, x8, #8
mov w23, #-1 ; =0xffffffff
LBB0_15:
bl _clear_cur_wordlist
Lloh26:
adrp x8, _universal@GOTPAGE
Lloh27:
ldr x8, [x8, _universal@GOTPAGEOFF]
Lloh28:
ldr w2, [x8]
Lloh29:
adrp x25, _Q@GOTPAGE
Lloh30:
ldr x25, [x25, _Q@GOTPAGEOFF]
ldr x3, [x25]
Lloh31:
adrp x8, _tag_owner@GOTPAGE
Lloh32:
ldr x8, [x8, _tag_owner@GOTPAGEOFF]
Lloh33:
ldr w5, [x8]
mov x0, x21
mov x1, x20
mov w4, #65536 ; =0x10000
mov x6, x19
bl _extract_words
mov x19, x0
tbnz w0, #31, LBB0_18
; %bb.16:
mov x20, #0 ; =0x0
add w8, w19, #1
ubfiz x21, x8, #3, #32
LBB0_17: ; =>This Inner Loop Header: Depth=1
ldr x8, [x25]
add x8, x8, x20
ldp w2, w1, [x8]
mov x0, x22
bl _item_add_word
add x20, x20, #8
cmp x21, x20
b.ne LBB0_17
LBB0_18:
Lloh34:
adrp x8, _cur_wordlist_head@GOTPAGE
Lloh35:
ldr x8, [x8, _cur_wordlist_head@GOTPAGEOFF]
Lloh36:
ldr w8, [x8]
str w8, [x22, #8]
Lloh37:
adrp x8, _wordfreqs_enabled@GOTPAGE
Lloh38:
ldr x8, [x8, _wordfreqs_enabled@GOTPAGEOFF]
Lloh39:
ldr x8, [x8]
cbz x8, LBB0_20
; %bb.19:
ldr x0, [x25]
mov x1, x19
bl _evaluate_uniq_words_count
str w0, [x24]
orr w23, w23, #0x2000
LBB0_20:
add x2, sp, #8
mov x0, x22
mov x1, x23
bl _set_multiple_rates_item
LBB0_21:
mov w0, #1 ; =0x1
LBB0_22:
ldr x8, [sp, #24]
Lloh40:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh41:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh42:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_24
; %bb.23:
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_24:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGot Lloh8, Lloh9
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpLdrGot Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14
.loh AdrpLdrGot Lloh15, Lloh16
.loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19
.loh AdrpLdrGotLdr Lloh20, Lloh21, Lloh22
.loh AdrpLdrGotLdr Lloh23, Lloh24, Lloh25
.loh AdrpLdrGotLdr Lloh31, Lloh32, Lloh33
.loh AdrpLdrGot Lloh29, Lloh30
.loh AdrpLdrGotLdr Lloh26, Lloh27, Lloh28
.loh AdrpLdrGotLdr Lloh37, Lloh38, Lloh39
.loh AdrpLdrGotLdr Lloh34, Lloh35, Lloh36
.loh AdrpLdrGotLdr Lloh40, Lloh41, Lloh42
.cfi_endproc
; -- End function
.comm _import_only_mode,8,3 ; @import_only_mode
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "change_item: text=%s, len = %d, item_id = %016llx, rate = %d, rate2 = %d\n"
.comm _mod_items,4,2 ; @mod_items
.comm _FLAG_DELETED,4,2 ; @FLAG_DELETED
.comm _ONLY_FIND,4,2 ; @ONLY_FIND
.comm _del_items,4,2 ; @del_items
.comm _ADD_NOT_FOUND_ITEM,4,2 ; @ADD_NOT_FOUND_ITEM
.comm _creation_date,4,2 ; @creation_date
.comm _now,4,2 ; @now
.comm _universal,4,2 ; @universal
.comm _Q,8,3 ; @Q
.comm _tag_owner,4,2 ; @tag_owner
.comm _cur_wordlist_head,4,2 ; @cur_wordlist_head
.comm _wordfreqs_enabled,8,3 ; @wordfreqs_enabled
.no_dead_strip _change_item
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function shm_decode_mode
_shm_decode_mode: ## @shm_decode_mode
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _S_IRUSR@GOTPCREL(%rip), %rax
testl %edi, (%rax)
movl $45, %eax
movl $114, %ecx
cmovel %eax, %ecx
movb %cl, (%rsi)
movq _S_IWUSR@GOTPCREL(%rip), %rcx
testl %edi, (%rcx)
movl $119, %ecx
cmovel %eax, %ecx
movb %cl, -1(%rsi)
movq _S_IXUSR@GOTPCREL(%rip), %rcx
testl %edi, (%rcx)
movl $120, %ecx
cmovel %eax, %ecx
movb %cl, (%rsi)
movq _S_IRGRP@GOTPCREL(%rip), %rcx
testl %edi, (%rcx)
movl $114, %ecx
movl $114, %edx
cmovel %eax, %edx
movb %dl, 1(%rsi)
movq _S_IWGRP@GOTPCREL(%rip), %rdx
testl %edi, (%rdx)
movl $119, %edx
movl $119, %r8d
cmovel %eax, %r8d
movb %r8b, 2(%rsi)
movq _S_IXGRP@GOTPCREL(%rip), %r8
testl %edi, (%r8)
movl $120, %r8d
movl $120, %r9d
cmovel %eax, %r9d
movb %r9b, 3(%rsi)
movq _S_IROTH@GOTPCREL(%rip), %r9
testl %edi, (%r9)
cmovel %eax, %ecx
movb %cl, 4(%rsi)
movq _S_IWOTH@GOTPCREL(%rip), %rcx
testl %edi, (%rcx)
cmovel %eax, %edx
movb %dl, 5(%rsi)
movq _S_IXOTH@GOTPCREL(%rip), %rcx
testl %edi, (%rcx)
cmovel %eax, %r8d
movb %r8b, 6(%rsi)
movb $0, 7(%rsi)
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _S_IRUSR,4,2 ## @S_IRUSR
.comm _S_IWUSR,4,2 ## @S_IWUSR
.comm _S_IXUSR,4,2 ## @S_IXUSR
.comm _S_IRGRP,4,2 ## @S_IRGRP
.comm _S_IWGRP,4,2 ## @S_IWGRP
.comm _S_IXGRP,4,2 ## @S_IXGRP
.comm _S_IROTH,4,2 ## @S_IROTH
.comm _S_IWOTH,4,2 ## @S_IWOTH
.comm _S_IXOTH,4,2 ## @S_IXOTH
.no_dead_strip _shm_decode_mode
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function shm_decode_mode
_shm_decode_mode: ; @shm_decode_mode
.cfi_startproc
; %bb.0:
Lloh0:
adrp x8, _S_IRUSR@GOTPAGE
Lloh1:
ldr x8, [x8, _S_IRUSR@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
tst w8, w0
mov w8, #114 ; =0x72
mov w9, #45 ; =0x2d
csel w10, w9, w8, eq
strb w10, [x1]
Lloh3:
adrp x10, _S_IWUSR@GOTPAGE
Lloh4:
ldr x10, [x10, _S_IWUSR@GOTPAGEOFF]
Lloh5:
ldr w10, [x10]
tst w10, w0
mov w10, #119 ; =0x77
csel w11, w9, w10, eq
sturb w11, [x1, #-1]
Lloh6:
adrp x11, _S_IXUSR@GOTPAGE
Lloh7:
ldr x11, [x11, _S_IXUSR@GOTPAGEOFF]
Lloh8:
ldr w11, [x11]
tst w11, w0
mov w11, #120 ; =0x78
csel w12, w9, w11, eq
Lloh9:
adrp x13, _S_IRGRP@GOTPAGE
Lloh10:
ldr x13, [x13, _S_IRGRP@GOTPAGEOFF]
strb w12, [x1]
Lloh11:
ldr w12, [x13]
tst w12, w0
csel w12, w9, w8, eq
Lloh12:
adrp x13, _S_IWGRP@GOTPAGE
Lloh13:
ldr x13, [x13, _S_IWGRP@GOTPAGEOFF]
strb w12, [x1, #1]
Lloh14:
ldr w12, [x13]
tst w12, w0
csel w12, w9, w10, eq
Lloh15:
adrp x13, _S_IXGRP@GOTPAGE
Lloh16:
ldr x13, [x13, _S_IXGRP@GOTPAGEOFF]
strb w12, [x1, #2]
Lloh17:
ldr w12, [x13]
tst w12, w0
csel w12, w9, w11, eq
Lloh18:
adrp x13, _S_IROTH@GOTPAGE
Lloh19:
ldr x13, [x13, _S_IROTH@GOTPAGEOFF]
strb w12, [x1, #3]
Lloh20:
ldr w12, [x13]
tst w12, w0
csel w8, w9, w8, eq
Lloh21:
adrp x12, _S_IWOTH@GOTPAGE
Lloh22:
ldr x12, [x12, _S_IWOTH@GOTPAGEOFF]
strb w8, [x1, #4]
Lloh23:
ldr w8, [x12]
tst w8, w0
csel w8, w9, w10, eq
Lloh24:
adrp x10, _S_IXOTH@GOTPAGE
Lloh25:
ldr x10, [x10, _S_IXOTH@GOTPAGEOFF]
strb w8, [x1, #5]
Lloh26:
ldr w8, [x10]
tst w8, w0
csel w8, w9, w11, eq
strb w8, [x1, #6]
strb wzr, [x1, #7]
ret
.loh AdrpLdrGotLdr Lloh24, Lloh25, Lloh26
.loh AdrpLdrGotLdr Lloh21, Lloh22, Lloh23
.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
.cfi_endproc
; -- End function
.comm _S_IRUSR,4,2 ; @S_IRUSR
.comm _S_IWUSR,4,2 ; @S_IWUSR
.comm _S_IXUSR,4,2 ; @S_IXUSR
.comm _S_IRGRP,4,2 ; @S_IRGRP
.comm _S_IWGRP,4,2 ; @S_IWGRP
.comm _S_IXGRP,4,2 ; @S_IXGRP
.comm _S_IROTH,4,2 ; @S_IROTH
.comm _S_IWOTH,4,2 ; @S_IWOTH
.comm _S_IXOTH,4,2 ; @S_IXOTH
.no_dead_strip _shm_decode_mode
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function extra_decode_ctrl14
_extra_decode_ctrl14: ## @extra_decode_ctrl14
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _MIDI_CMD_CONTROL@GOTPCREL(%rip), %rax
movl (%rax), %r8d
orl (%rcx), %r8d
orb $15, %r8b
movl 4(%rcx), %r9d
cmpl $31, %r9d
jg LBB0_9
## %bb.1:
cmpl $3, %edx
jle LBB0_13
## %bb.2:
cmpl $6, %edx
jb LBB0_13
## %bb.3:
cmpq $0, 8(%rdi)
jne LBB0_13
## %bb.4:
xorl %edx, %edx
cmpb %r8b, (%rdi)
je LBB0_6
## %bb.5:
movb %r8b, (%rdi)
movb %r8b, (%rsi)
movl 4(%rcx), %r9d
movl $1, %edx
LBB0_6:
movl %edx, %eax
movb %r9b, (%rsi,%rax)
movl 8(%rcx), %r9d
shrl $7, %r9d
andb $127, %r9b
movb %r9b, 1(%rsi,%rax)
orq $2, %rax
cmpq $0, 8(%rdi)
je LBB0_8
## %bb.7:
addl $3, %edx
movb %r8b, (%rsi,%rax)
movl %edx, %eax
LBB0_8:
movzbl 4(%rcx), %edx
addb $-32, %dl
movl %eax, %edi
movb %dl, (%rsi,%rdi)
movzbl 8(%rcx), %ecx
andb $127, %cl
addl $2, %eax
movb %cl, 1(%rsi,%rdi)
## kill: def $eax killed $eax killed $rax
popq %rbp
retq
LBB0_9:
cmpl $1, %edx
jle LBB0_13
## %bb.10:
cmpb %r8b, (%rdi)
jne LBB0_12
## %bb.11:
cmpq $0, 8(%rdi)
je LBB0_16
LBB0_12:
cmpl $2, %edx
jne LBB0_15
LBB0_13:
movq _ENOMEM@GOTPCREL(%rip), %rcx
xorl %eax, %eax
subl (%rcx), %eax
## kill: def $eax killed $eax killed $rax
popq %rbp
retq
LBB0_15:
movb %r8b, (%rdi)
movb %r8b, (%rsi)
movl 4(%rcx), %r9d
movl $1, %eax
jmp LBB0_17
LBB0_16:
xorl %eax, %eax
LBB0_17:
andb $127, %r9b
movl %eax, %edx
movb %r9b, (%rsi,%rdx)
movzbl 8(%rcx), %ecx
andb $127, %cl
orl $2, %eax
movb %cl, 1(%rsi,%rdx)
## kill: def $eax killed $eax killed $rax
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _MIDI_CMD_CONTROL,4,2 ## @MIDI_CMD_CONTROL
.comm _ENOMEM,4,2 ## @ENOMEM
.no_dead_strip _extra_decode_ctrl14
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function extra_decode_ctrl14
_extra_decode_ctrl14: ; @extra_decode_ctrl14
.cfi_startproc
; %bb.0:
Lloh0:
adrp x8, _MIDI_CMD_CONTROL@GOTPAGE
Lloh1:
ldr x8, [x8, _MIDI_CMD_CONTROL@GOTPAGEOFF]
ldrb w8, [x8]
ldrb w9, [x3]
orr w8, w8, w9
orr w8, w8, #0xf
ldr w9, [x3, #4]
cmp w9, #31
b.gt LBB0_6
; %bb.1:
cmp w2, #3
b.le LBB0_10
; %bb.2:
cmp w2, #6
b.lo LBB0_10
; %bb.3:
ldr x10, [x0, #8]
cbnz x10, LBB0_10
; %bb.4:
ldrb w10, [x0]
cmp w10, w8
b.ne LBB0_12
; %bb.5:
mov w10, #0 ; =0x0
b LBB0_13
LBB0_6:
cmp w2, #1
b.le LBB0_10
; %bb.7:
ldrb w10, [x0]
cmp w10, w8
b.ne LBB0_9
; %bb.8:
ldr x10, [x0, #8]
cbz x10, LBB0_16
LBB0_9:
cmp w2, #2
b.ne LBB0_11
LBB0_10:
Lloh2:
adrp x8, _ENOMEM@GOTPAGE
Lloh3:
ldr x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh4:
ldr w8, [x8]
neg w0, w8
ret
LBB0_11:
strb w8, [x0]
strb w8, [x1]
ldr w9, [x3, #4]
mov w8, #1 ; =0x1
b LBB0_17
LBB0_12:
strb w8, [x0]
strb w8, [x1]
ldr w9, [x3, #4]
mov w10, #1 ; =0x1
LBB0_13:
mov w11, w10
add x12, x1, x11
strb w9, [x12]
ldr w9, [x3, #8]
ubfx w13, w9, #7, #7
orr x9, x11, #0x2
strb w13, [x12, #1]
ldr x11, [x0, #8]
cbz x11, LBB0_15
; %bb.14:
strb w8, [x1, x9]
add w8, w10, #3
mov x9, x8
LBB0_15:
ldrb w8, [x3, #4]
sub w8, w8, #32
add x10, x1, w9, uxtw
strb w8, [x10]
ldrb w8, [x3, #8]
and w8, w8, #0x7f
add w0, w9, #2
strb w8, [x10, #1]
ret
LBB0_16:
mov w8, #0 ; =0x0
LBB0_17:
and w9, w9, #0x7f
add x10, x1, w8, uxtw
strb w9, [x10]
ldrb w9, [x3, #8]
and w9, w9, #0x7f
orr w0, w8, #0x2
strb w9, [x10, #1]
ret
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.cfi_endproc
; -- End function
.comm _MIDI_CMD_CONTROL,4,2 ; @MIDI_CMD_CONTROL
.comm _ENOMEM,4,2 ; @ENOMEM
.no_dead_strip _extra_decode_ctrl14
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _convert_hevc_nal_units ## -- Begin function convert_hevc_nal_units
.p2align 4, 0x90
_convert_hevc_nal_units: ## @convert_hevc_nal_units
.cfi_startproc
## %bb.0:
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 %rcx, -80(%rbp) ## 8-byte Spill
movq %rdx, -72(%rbp) ## 8-byte Spill
movl $-1, %ebx
cmpq $4, %rsi
jb LBB0_25
## %bb.1:
movq %rdi, %r13
cmpl $0, (%rdi)
jne LBB0_4
## %bb.2:
cmpl $0, 4(%r13)
jne LBB0_4
## %bb.3:
cmpl $2, 8(%r13)
jl LBB0_25
LBB0_4:
movq %rsi, %rax
negq %rax
cmpq $22, %rax
jg LBB0_6
LBB0_5:
leaq L_.str(%rip), %rdi
callq _ALOGE
jmp LBB0_25
LBB0_6:
testq %r9, %r9
je LBB0_8
## %bb.7:
movl 84(%r13), %eax
andl $3, %eax
incq %rax
movq %rax, (%r9)
LBB0_8:
movl 80(%r13), %eax
xorl %ecx, %ecx
movl %eax, -44(%rbp) ## 4-byte Spill
testl %eax, %eax
js LBB0_24
## %bb.9:
movq %r8, -56(%rbp) ## 8-byte Spill
shlq $2, %rsi
movq %r13, %r12
subq %rsi, %r12
addq $84, %r13
xorl %r15d, %r15d
LBB0_10: ## =>This Loop Header: Depth=1
## Child Loop BB0_13 Depth 2
movq %r12, %rax
subq %r13, %rax
cmpq $8, %rax
jle LBB0_5
## %bb.11: ## in Loop: Header=BB0_10 Depth=1
movq %rcx, -64(%rbp) ## 8-byte Spill
movl 4(%r13), %ebx
shll $8, %ebx
orl 8(%r13), %ebx
addq $12, %r13
testl %ebx, %ebx
jle LBB0_22
## %bb.12: ## in Loop: Header=BB0_10 Depth=1
movl %r15d, %eax
.p2align 4, 0x90
LBB0_13: ## Parent Loop BB0_10 Depth=1
## => This Inner Loop Header: Depth=2
movq %r12, %rcx
subq %r13, %rcx
cmpq $4, %rcx
jle LBB0_14
## %bb.16: ## in Loop: Header=BB0_13 Depth=2
movl (%r13), %edx
shll $8, %edx
orl 4(%r13), %edx
js LBB0_18
## %bb.17: ## in Loop: Header=BB0_13 Depth=2
addq $8, %r13
movq %r12, %rcx
subq %r13, %rcx
sarq $2, %rcx
movl %edx, %r14d
cmpq %r14, %rcx
jl LBB0_18
## %bb.19: ## in Loop: Header=BB0_13 Depth=2
leal (%rdx,%rax), %r15d
addl $4, %r15d
cmpq -80(%rbp), %r15 ## 8-byte Folded Reload
ja LBB0_20
## %bb.21: ## in Loop: Header=BB0_13 Depth=2
leal 4(%rax), %ecx
movl %eax, %esi
movq -72(%rbp), %r8 ## 8-byte Reload
movl $0, (%r8,%rsi,4)
cltq
movq $0, 4(%r8,%rax,4)
movl $1, 12(%r8,%rax,4)
movl %ecx, %eax
leaq (%r8,%rax,4), %rdi
movq %r13, %rsi
## kill: def $edx killed $edx killed $rdx
callq _memcpy
leaq (%r13,%r14,4), %r13
movl %r15d, %eax
decl %ebx
jne LBB0_13
LBB0_22: ## in Loop: Header=BB0_10 Depth=1
movq -64(%rbp), %rcx ## 8-byte Reload
leal 1(%rcx), %eax
cmpl -44(%rbp), %ecx ## 4-byte Folded Reload
movl %eax, %ecx
movl $-1, %ebx
jne LBB0_10
## %bb.23:
movl %r15d, %ecx
movq -56(%rbp), %r8 ## 8-byte Reload
LBB0_24:
movq %rcx, (%r8)
xorl %ebx, %ebx
jmp LBB0_25
LBB0_18:
leaq L_.str.1(%rip), %rdi
jmp LBB0_15
LBB0_14:
leaq L_.str(%rip), %rdi
jmp LBB0_15
LBB0_20:
leaq L_.str.2(%rip), %rdi
LBB0_15:
callq _ALOGE
movl $-1, %ebx
LBB0_25:
movl %ebx, %eax
addq $40, %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 "Input Metadata too small"
L_.str.1: ## @.str.1
.asciz "NAL unit size does not match Input Metadata size"
L_.str.2: ## @.str.2
.asciz "Output buffer too small"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _convert_hevc_nal_units ; -- Begin function convert_hevc_nal_units
.p2align 2
_convert_hevc_nal_units: ; @convert_hevc_nal_units
.cfi_startproc
; %bb.0:
cmp x1, #4
b.hs LBB0_2
; %bb.1:
mov w0, #-1 ; =0xffffffff
ret
LBB0_2:
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
ldr w8, [x0]
cbnz w8, LBB0_5
; %bb.3:
ldr w8, [x0, #4]
cbnz w8, LBB0_5
; %bb.4:
ldr w8, [x0, #8]
cmp w8, #2
b.lt LBB0_8
LBB0_5:
neg x8, x1
cmp x8, #22
b.gt LBB0_10
LBB0_6:
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
LBB0_7:
bl _ALOGE
LBB0_8:
mov w0, #-1 ; =0xffffffff
LBB0_9:
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_10:
cbz x5, LBB0_12
; %bb.11:
ldr w8, [x0, #84]
and x8, x8, #0x3
add x8, x8, #1
str x8, [x5]
LBB0_12:
ldr w8, [x0, #80]
str w8, [sp, #12] ; 4-byte Folded Spill
tbnz w8, #31, LBB0_24
; %bb.13:
mov w25, #0 ; =0x0
mov w28, #0 ; =0x0
add x8, x0, #84
mov w26, #1 ; =0x1
sub x27, x0, x1, lsl #2
LBB0_14: ; =>This Loop Header: Depth=1
; Child Loop BB0_17 Depth 2
sub x9, x27, x8
cmp x9, #8
b.le LBB0_6
; %bb.15: ; in Loop: Header=BB0_14 Depth=1
ldp w9, w10, [x8, #4]
orr w24, w10, w9, lsl #8
add x8, x8, #12
cmp w24, #1
b.lt LBB0_22
; %bb.16: ; in Loop: Header=BB0_14 Depth=1
mov x9, x28
LBB0_17: ; Parent Loop BB0_14 Depth=1
; => This Inner Loop Header: Depth=2
sub x10, x27, x8
cmp x10, #4
b.le LBB0_6
; %bb.18: ; in Loop: Header=BB0_17 Depth=2
ldp w10, w11, [x8]
orr w22, w11, w10, lsl #8
tbnz w22, #31, LBB0_26
; %bb.19: ; in Loop: Header=BB0_17 Depth=2
add x23, x8, #8
sub x8, x27, x23
cmp x22, x8, asr #2
b.gt LBB0_26
; %bb.20: ; in Loop: Header=BB0_17 Depth=2
add w8, w9, #4
add w28, w22, w8
cmp x28, x20
b.hi LBB0_27
; %bb.21: ; in Loop: Header=BB0_17 Depth=2
str wzr, [x21, w9, uxtw #2]
add x9, x21, w9, sxtw #2
stp wzr, wzr, [x9, #4]
str w26, [x9, #12]
add x0, x21, w8, uxtw #2
mov x1, x23
mov x2, x22
bl _memcpy
add x8, x23, x22, lsl #2
mov x9, x28
subs w24, w24, #1
b.ne LBB0_17
LBB0_22: ; in Loop: Header=BB0_14 Depth=1
add w9, w25, #1
ldr w10, [sp, #12] ; 4-byte Folded Reload
cmp w25, w10
mov x25, x9
b.ne LBB0_14
; %bb.23:
mov w8, w28
b LBB0_25
LBB0_24:
mov x8, #0 ; =0x0
LBB0_25:
mov w0, #0 ; =0x0
str x8, [x19]
b LBB0_9
LBB0_26:
Lloh2:
adrp x0, l_.str.1@PAGE
Lloh3:
add x0, x0, l_.str.1@PAGEOFF
b LBB0_7
LBB0_27:
Lloh4:
adrp x0, l_.str.2@PAGE
Lloh5:
add x0, x0, l_.str.2@PAGEOFF
b LBB0_7
.loh AdrpAdd Lloh0, Lloh1
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpAdd Lloh4, Lloh5
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Input Metadata too small"
l_.str.1: ; @.str.1
.asciz "NAL unit size does not match Input Metadata size"
l_.str.2: ; @.str.2
.asciz "Output buffer too small"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _NET_GetLocalAddress ## -- Begin function NET_GetLocalAddress
.p2align 4, 0x90
_NET_GetLocalAddress: ## @NET_GetLocalAddress
.cfi_startproc
## %bb.0:
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 $264, %rsp ## imm = 0x108
.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)
leaq -304(%rbp), %rdi
movl $256, %esi ## imm = 0x100
callq _gethostname
cmpl $-1, %eax
je LBB0_11
## %bb.1:
leaq -304(%rbp), %rdi
callq _gethostbyname
testq %rax, %rax
je LBB0_11
## %bb.2:
movq %rax, %rbx
movl 24(%rax), %esi
leaq L_.str(%rip), %rdi
xorl %eax, %eax
callq _Com_Printf
movq (%rbx), %rax
movq (%rax), %rsi
testq %rsi, %rsi
je LBB0_5
## %bb.3:
movl $8, %r15d
leaq L_.str.1(%rip), %r14
.p2align 4, 0x90
LBB0_4: ## =>This Inner Loop Header: Depth=1
movq %r14, %rdi
xorl %eax, %eax
callq _Com_Printf
movq (%rbx), %rax
movq (%rax,%r15), %rsi
addq $8, %r15
testq %rsi, %rsi
jne LBB0_4
LBB0_5:
movq 8(%rbx), %rax
movq _AF_INET@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jne LBB0_11
## %bb.6:
movq 16(%rbx), %rax
movq _numIP@GOTPCREL(%rip), %r12
movq $1, (%r12)
movq (%rax), %r14
testq %r14, %r14
je LBB0_11
## %bb.7:
movq _MAX_IPS@GOTPCREL(%rip), %rax
cmpq $2, (%rax)
jb LBB0_11
## %bb.8:
movl $1, %r13d
.p2align 4, 0x90
LBB0_9: ## =>This Inner Loop Header: Depth=1
movl (%r14), %r15d
movl %r15d, %edi
callq _ntohl
movq _localIP@GOTPCREL(%rip), %rdi
movq (%rdi), %rcx
movq (%rcx,%r13,8), %rcx
movb %r15b, (%rcx)
movzbl 1(%r14), %ecx
movq (%rdi), %rdx
movq (%r12), %rsi
movq (%rdx,%rsi,8), %rdx
movb %cl, 1(%rdx)
movzbl 2(%r14), %ecx
movq (%rdi), %rdx
movq (%r12), %rsi
movq (%rdx,%rsi,8), %rdx
movb %cl, 2(%rdx)
movzbl 3(%r14), %ecx
movq (%rdi), %rdx
movq (%r12), %rsi
movq (%rdx,%rsi,8), %rdx
movb %cl, 3(%rdx)
movl %eax, %edx
movzbl %ah, %ecx
movzbl %al, %r8d
movl %eax, %esi
sarl $24, %esi
orl $255, %esi
shrl $16, %edx
movzbl %dl, %edx
leaq L_.str.2(%rip), %rdi
xorl %eax, %eax
callq _Com_Printf
movq 16(%rbx), %rax
movq (%r12), %rcx
leaq 1(%rcx), %r13
movq %r13, (%r12)
movq (%rax,%rcx,8), %r14
testq %r14, %r14
je LBB0_11
## %bb.10: ## in Loop: Header=BB0_9 Depth=1
movq _MAX_IPS@GOTPCREL(%rip), %rax
cmpq (%rax), %r13
jb LBB0_9
LBB0_11:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB0_13
## %bb.12:
addq $264, %rsp ## imm = 0x108
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_13:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Hostname: %s\n"
L_.str.1: ## @.str.1
.asciz "Alias: %s\n"
.comm _AF_INET,8,3 ## @AF_INET
.comm _numIP,8,3 ## @numIP
.comm _MAX_IPS,8,3 ## @MAX_IPS
.comm _localIP,8,3 ## @localIP
L_.str.2: ## @.str.2
.asciz "IP: %i.%i.%i.%i\n"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _NET_GetLocalAddress ; -- Begin function NET_GetLocalAddress
.p2align 2
_NET_GetLocalAddress: ; @NET_GetLocalAddress
.cfi_startproc
; %bb.0:
sub sp, sp, #400
stp x28, x27, [sp, #304] ; 16-byte Folded Spill
stp x26, x25, [sp, #320] ; 16-byte Folded Spill
stp x24, x23, [sp, #336] ; 16-byte Folded Spill
stp x22, x21, [sp, #352] ; 16-byte Folded Spill
stp x20, x19, [sp, #368] ; 16-byte Folded Spill
stp x29, x30, [sp, #384] ; 16-byte Folded Spill
add x29, sp, #384
.cfi_def_cfa w29, 16
.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]
add x0, sp, #40
mov w1, #256 ; =0x100
bl _gethostname
cmn w0, #1
b.eq LBB0_10
; %bb.1:
add x0, sp, #40
bl _gethostbyname
cbz x0, LBB0_10
; %bb.2:
mov x19, x0
ldr w8, [x0, #24]
str x8, [sp]
Lloh3:
adrp x0, l_.str@PAGE
Lloh4:
add x0, x0, l_.str@PAGEOFF
bl _Com_Printf
ldr x8, [x19]
ldr x8, [x8]
cbz x8, LBB0_5
; %bb.3:
mov w21, #8 ; =0x8
Lloh5:
adrp x20, l_.str.1@PAGE
Lloh6:
add x20, x20, l_.str.1@PAGEOFF
LBB0_4: ; =>This Inner Loop Header: Depth=1
str x8, [sp]
mov x0, x20
bl _Com_Printf
ldr x8, [x19]
ldr x8, [x8, x21]
add x21, x21, #8
cbnz x8, LBB0_4
LBB0_5:
ldr x8, [x19, #8]
Lloh7:
adrp x9, _AF_INET@GOTPAGE
Lloh8:
ldr x9, [x9, _AF_INET@GOTPAGEOFF]
Lloh9:
ldr x9, [x9]
cmp x8, x9
b.ne LBB0_10
; %bb.6:
ldr x8, [x19, #16]
Lloh10:
adrp x22, _numIP@GOTPAGE
Lloh11:
ldr x22, [x22, _numIP@GOTPAGEOFF]
mov w9, #1 ; =0x1
str x9, [x22]
ldr x25, [x8]
Lloh12:
adrp x23, _MAX_IPS@GOTPAGE
Lloh13:
ldr x23, [x23, _MAX_IPS@GOTPAGEOFF]
ldr x8, [x23]
cmp x25, #0
ccmp x8, #2, #0, ne
b.lo LBB0_10
; %bb.7:
mov w26, #1 ; =0x1
Lloh14:
adrp x24, _localIP@GOTPAGE
Lloh15:
ldr x24, [x24, _localIP@GOTPAGEOFF]
Lloh16:
adrp x20, l_.str.2@PAGE
Lloh17:
add x20, x20, l_.str.2@PAGEOFF
LBB0_8: ; =>This Inner Loop Header: Depth=1
ldr w21, [x25]
mov x0, x21
bl _ntohl
ldr x8, [x24]
ldr x8, [x8, x26, lsl #3]
strb w21, [x8]
ldrb w8, [x25, #1]
ldr x9, [x24]
ldr x10, [x22]
ldr x9, [x9, x10, lsl #3]
strb w8, [x9, #1]
ldrb w8, [x25, #2]
ldr x9, [x24]
ldr x10, [x22]
ldr x9, [x9, x10, lsl #3]
strb w8, [x9, #2]
ldr x8, [x24]
ldr x9, [x22]
ldr x8, [x8, x9, lsl #3]
asr w9, w0, #24
ldrb w10, [x25, #3]
strb w10, [x8, #3]
orr w8, w9, #0xff
ubfx w9, w0, #16, #8
ubfx w10, w0, #8, #8
and w11, w0, #0xff
stp x10, x11, [sp, #16]
stp x8, x9, [sp]
mov x0, x20
bl _Com_Printf
ldr x8, [x19, #16]
ldr x9, [x22]
add x26, x9, #1
str x26, [x22]
ldr x25, [x8, x9, lsl #3]
cbz x25, LBB0_10
; %bb.9: ; in Loop: Header=BB0_8 Depth=1
ldr x8, [x23]
cmp x26, x8
b.lo LBB0_8
LBB0_10:
ldur x8, [x29, #-88]
Lloh18:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh19:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh20:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_12
; %bb.11:
ldp x29, x30, [sp, #384] ; 16-byte Folded Reload
ldp x20, x19, [sp, #368] ; 16-byte Folded Reload
ldp x22, x21, [sp, #352] ; 16-byte Folded Reload
ldp x24, x23, [sp, #336] ; 16-byte Folded Reload
ldp x26, x25, [sp, #320] ; 16-byte Folded Reload
ldp x28, x27, [sp, #304] ; 16-byte Folded Reload
add sp, sp, #400
ret
LBB0_12:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpAdd Lloh5, Lloh6
.loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9
.loh AdrpLdrGot Lloh12, Lloh13
.loh AdrpLdrGot Lloh10, Lloh11
.loh AdrpAdd Lloh16, Lloh17
.loh AdrpLdrGot Lloh14, Lloh15
.loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh20
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Hostname: %s\n"
l_.str.1: ; @.str.1
.asciz "Alias: %s\n"
.comm _AF_INET,8,3 ; @AF_INET
.comm _numIP,8,3 ; @numIP
.comm _MAX_IPS,8,3 ; @MAX_IPS
.comm _localIP,8,3 ; @localIP
l_.str.2: ; @.str.2
.asciz "IP: %i.%i.%i.%i\n"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _perf_pmu__find_map ## -- Begin function perf_pmu__find_map
.p2align 4, 0x90
_perf_pmu__find_map: ## @perf_pmu__find_map
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %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
callq _perf_pmu__getcpuid
testq %rax, %rax
je LBB0_1
## %bb.2:
movq %rax, %rbx
movl $8, %r15d
movq _pmu_events_map@GOTPCREL(%rip), %r12
xorl %r14d, %r14d
.p2align 4, 0x90
LBB0_3: ## =>This Inner Loop Header: Depth=1
movq (%r12), %r13
cmpl $0, -4(%r13,%r15)
je LBB0_6
## %bb.4: ## in Loop: Header=BB0_3 Depth=1
movl -8(%r13,%r15), %edi
movq %rbx, %rsi
callq _strcmp_cpuid_str
addq $-8, %r15
testl %eax, %eax
jne LBB0_3
## %bb.5:
addq %r15, %r13
movq %r13, %r14
LBB0_6:
movq %rbx, %rdi
callq _free
jmp LBB0_7
LBB0_1:
xorl %r14d, %r14d
LBB0_7:
movq %r14, %rax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _pmu_events_map,8,3 ## @pmu_events_map
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _perf_pmu__find_map ; -- Begin function perf_pmu__find_map
.p2align 2
_perf_pmu__find_map: ; @perf_pmu__find_map
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
bl _perf_pmu__getcpuid
cbz x0, LBB0_5
; %bb.1:
mov x19, x0
mov x20, #0 ; =0x0
Lloh0:
adrp x21, _pmu_events_map@GOTPAGE
Lloh1:
ldr x21, [x21, _pmu_events_map@GOTPAGEOFF]
LBB0_2: ; =>This Inner Loop Header: Depth=1
ldr x22, [x21]
add x8, x22, x20
ldr w8, [x8, #4]
cbz w8, LBB0_6
; %bb.3: ; in Loop: Header=BB0_2 Depth=1
ldr w0, [x22, x20]
mov x1, x19
bl _strcmp_cpuid_str
sub x20, x20, #8
cbnz w0, LBB0_2
; %bb.4:
add x8, x22, x20
add x20, x8, #8
b LBB0_7
LBB0_5:
mov x20, #0 ; =0x0
b LBB0_8
LBB0_6:
mov x20, #0 ; =0x0
LBB0_7:
mov x0, x19
bl _free
LBB0_8:
mov x0, x20
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _pmu_events_map,8,3 ; @pmu_events_map
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function add_sorted
_add_sorted: ## @add_sorted
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
testl %edx, %edx
jle LBB0_9
## %bb.1:
testl %r8d, %r8d
jne LBB0_2
## %bb.3:
movq _INT_MAX@GOTPCREL(%rip), %rax
jmp LBB0_4
LBB0_9:
xorl %eax, %eax
popq %rbp
retq
LBB0_2:
movq _INT_MIN@GOTPCREL(%rip), %rax
LBB0_4:
movl (%rax), %eax
jmp LBB0_5
.p2align 4, 0x90
LBB0_7: ## in Loop: Header=BB0_5 Depth=1
movq %rdx, (%rdi)
movl %r9d, %eax
LBB0_8: ## in Loop: Header=BB0_5 Depth=1
addq $-8, %rsi
LBB0_5: ## =>This Inner Loop Header: Depth=1
movq (%rsi), %rdx
movl (%rdx), %r9d
xorl %r10d, %r10d
cmpl %ecx, %r9d
setg %r10b
cmpl %r8d, %r10d
jne LBB0_7
## %bb.6: ## in Loop: Header=BB0_5 Depth=1
xorl %r10d, %r10d
cmpl %eax, %r9d
setl %r10b
cmpl %r8d, %r10d
jne LBB0_7
jmp LBB0_8
.cfi_endproc
## -- End function
.comm _INT_MIN,4,2 ## @INT_MIN
.comm _INT_MAX,4,2 ## @INT_MAX
.no_dead_strip _add_sorted
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function add_sorted
_add_sorted: ; @add_sorted
.cfi_startproc
; %bb.0:
cmp w2, #1
b.lt LBB0_6
; %bb.1:
Lloh0:
adrp x8, _INT_MAX@GOTPAGE
Lloh1:
ldr x8, [x8, _INT_MAX@GOTPAGEOFF]
Lloh2:
adrp x9, _INT_MIN@GOTPAGE
Lloh3:
ldr x9, [x9, _INT_MIN@GOTPAGEOFF]
cmp w4, #0
csel x8, x8, x9, eq
ldr w8, [x8]
b LBB0_4
LBB0_2: ; in Loop: Header=BB0_4 Depth=1
str x9, [x0]
mov x8, x10
LBB0_3: ; in Loop: Header=BB0_4 Depth=1
sub x1, x1, #8
LBB0_4: ; =>This Inner Loop Header: Depth=1
ldr x9, [x1]
ldr w10, [x9]
cmp w10, w3
cset w11, gt
cmp w11, w4
b.ne LBB0_2
; %bb.5: ; in Loop: Header=BB0_4 Depth=1
cmp w10, w8
cset w11, lt
cmp w11, w4
b.ne LBB0_2
b LBB0_3
LBB0_6:
mov w0, #0 ; =0x0
ret
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _INT_MIN,4,2 ; @INT_MIN
.comm _INT_MAX,4,2 ; @INT_MAX
.no_dead_strip _add_sorted
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _next_service_by_instance ## -- Begin function next_service_by_instance
.p2align 4, 0x90
_next_service_by_instance: ## @next_service_by_instance
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdx, %rbx
movq %rdi, %r14
movl (%rdx), %r15d
movq _service_spinlock@GOTPCREL(%rip), %rdi
callq _spin_lock
cmpl (%r14), %r15d
jle LBB0_2
## %bb.1:
xorl %r14d, %r14d
jmp LBB0_3
LBB0_2:
movslq %r15d, %rax
movq 8(%r14), %rcx
decl %r15d
movq (%rcx,%rax,8), %r14
xorl %edi, %edi
cmpq $0, 16(%r14)
sete %dil
callq _WARN_ON
incq 16(%r14)
LBB0_3:
movq _service_spinlock@GOTPCREL(%rip), %rdi
callq _spin_unlock
movl %r15d, (%rbx)
movq %r14, %rax
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _service_spinlock,4,2 ## @service_spinlock
.comm _VCHIQ_SRVSTATE_FREE,8,3 ## @VCHIQ_SRVSTATE_FREE
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _next_service_by_instance ; -- Begin function next_service_by_instance
.p2align 2
_next_service_by_instance: ; @next_service_by_instance
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x2
mov x20, x0
ldr w21, [x2]
Lloh0:
adrp x0, _service_spinlock@GOTPAGE
Lloh1:
ldr x0, [x0, _service_spinlock@GOTPAGEOFF]
bl _spin_lock
ldr w8, [x20]
cmp w21, w8
b.le LBB0_2
; %bb.1:
mov x20, #0 ; =0x0
b LBB0_3
LBB0_2:
ldr x8, [x20, #8]
sub w22, w21, #1
ldr x20, [x8, w21, sxtw #3]
ldr x8, [x20, #16]
cmp x8, #0
cset w0, eq
bl _WARN_ON
ldr x8, [x20, #16]
add x8, x8, #1
str x8, [x20, #16]
mov x21, x22
LBB0_3:
Lloh2:
adrp x0, _service_spinlock@GOTPAGE
Lloh3:
ldr x0, [x0, _service_spinlock@GOTPAGEOFF]
bl _spin_unlock
str w21, [x19]
mov x0, x20
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGot Lloh2, Lloh3
.cfi_endproc
; -- End function
.comm _service_spinlock,4,2 ; @service_spinlock
.comm _VCHIQ_SRVSTATE_FREE,8,3 ; @VCHIQ_SRVSTATE_FREE
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function print_insn
_print_insn: ## @print_insn
.cfi_startproc
## %bb.0:
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
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -40(%rbp)
movq _output_opcode@GOTPCREL(%rip), %rax
movq (%rax), %rax
movl (%rax), %eax
rorl $16, %eax
movl %eax, -48(%rbp)
movq _instruction@GOTPCREL(%rip), %rax
movq (%rax), %rax
movl (%rax), %r12d
leal (%r12,%r12), %edi
callq _frag_more
movq %rax, %rbx
movq _relocatable@GOTPCREL(%rip), %rax
cmpq $0, (%rax)
movq (%r14), %rsi
jne LBB0_2
## %bb.1:
movq _BFD_RELOC_NONE@GOTPCREL(%rip), %rax
cmpq (%rax), %rsi
je LBB0_5
LBB0_2:
movq _stdoutput@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _bfd_reloc_type_lookup
testq %rax, %rax
je LBB0_13
## %bb.3:
movq %rax, %r15
movq %rax, %rdi
callq _bfd_get_reloc_size
## kill: def $eax killed $eax def $rax
leal -5(%rax), %ecx
cmpl $-5, %ecx
jbe LBB0_13
## %bb.4:
movq _frag_now@GOTPCREL(%rip), %rcx
movq (%rcx), %rdi
movslq (%rdi), %rcx
movq %rbx, %rsi
subq %rcx, %rsi
movl (%r15), %r8d
movq (%r14), %r9
addq $8, %r14
movl %eax, %edx
movq %r14, %rcx
callq _fix_new_exp
LBB0_5:
xorl %eax, %eax
callq _frag_now_fix
andl $1, %eax
movq _frag_now@GOTPCREL(%rip), %r14
movq (%r14), %rcx
cmpl $0, 4(%rcx)
je LBB0_8
## %bb.6:
cmpl %eax, 8(%rcx)
je LBB0_8
## %bb.7:
leaq L_.str(%rip), %rdi
movl %eax, %r15d
callq __
movl %eax, %edi
callq _as_bad
movl %r15d, %eax
movq (%r14), %rcx
LBB0_8:
movl %eax, 8(%rcx)
movl $1, 4(%rcx)
testq %r12, %r12
je LBB0_11
## %bb.9:
addq %r12, %r12
xorl %r14d, %r14d
.p2align 4, 0x90
LBB0_10: ## =>This Inner Loop Header: Depth=1
leaq (%rbx,%r14), %rdi
movzwl -48(%rbp,%r14), %esi
movl $2, %edx
callq _md_number_to_chars
addq $2, %r14
cmpq %r14, %r12
jne LBB0_10
LBB0_11:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -40(%rbp), %rax
jne LBB0_14
## %bb.12:
addq $16, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
LBB0_13:
xorl %eax, %eax
callq _abort
LBB0_14:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.comm _output_opcode,8,3 ## @output_opcode
.comm _instruction,8,3 ## @instruction
.comm _relocatable,8,3 ## @relocatable
.comm _BFD_RELOC_NONE,8,3 ## @BFD_RELOC_NONE
.comm _stdoutput,4,2 ## @stdoutput
.comm _frag_now,8,3 ## @frag_now
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "instruction address is not a multiple of 2"
.no_dead_strip _print_insn
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function print_insn
_print_insn: ; @print_insn
.cfi_startproc
; %bb.0:
sub sp, sp, #80
stp x24, x23, [sp, #16] ; 16-byte Folded Spill
stp x22, x21, [sp, #32] ; 16-byte Folded Spill
stp x20, x19, [sp, #48] ; 16-byte Folded Spill
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
mov x20, x0
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
str x8, [sp, #8]
Lloh3:
adrp x8, _output_opcode@GOTPAGE
Lloh4:
ldr x8, [x8, _output_opcode@GOTPAGEOFF]
Lloh5:
ldr x8, [x8]
ldr w8, [x8]
ror w8, w8, #16
str w8, [sp]
Lloh6:
adrp x8, _instruction@GOTPAGE
Lloh7:
ldr x8, [x8, _instruction@GOTPAGEOFF]
Lloh8:
ldr x8, [x8]
ldr w22, [x8]
lsl w0, w22, #1
bl _frag_more
mov x19, x0
Lloh9:
adrp x8, _relocatable@GOTPAGE
Lloh10:
ldr x8, [x8, _relocatable@GOTPAGEOFF]
Lloh11:
ldr x8, [x8]
Lloh12:
adrp x9, _BFD_RELOC_NONE@GOTPAGE
Lloh13:
ldr x9, [x9, _BFD_RELOC_NONE@GOTPAGEOFF]
ldr x1, [x20]
Lloh14:
ldr x9, [x9]
cmp x8, #0
ccmp x1, x9, #0, eq
Lloh15:
adrp x23, _frag_now@GOTPAGE
Lloh16:
ldr x23, [x23, _frag_now@GOTPAGEOFF]
b.eq LBB0_4
; %bb.1:
Lloh17:
adrp x8, _stdoutput@GOTPAGE
Lloh18:
ldr x8, [x8, _stdoutput@GOTPAGEOFF]
Lloh19:
ldr w0, [x8]
bl _bfd_reloc_type_lookup
cbz x0, LBB0_12
; %bb.2:
mov x21, x0
bl _bfd_get_reloc_size
sub w8, w0, #5
cmn w8, #5
b.ls LBB0_12
; %bb.3:
mov x2, x0
ldr x0, [x23]
ldrsw x8, [x0]
sub x1, x19, x8
ldr w4, [x21]
ldr x5, [x20], #8
mov x3, x20
bl _fix_new_exp
LBB0_4:
bl _frag_now_fix
and w20, w0, #0x1
ldr x8, [x23]
ldr w9, [x8, #4]
cbz w9, LBB0_7
; %bb.5:
ldr w9, [x8, #8]
cmp w9, w20
b.eq LBB0_7
; %bb.6:
Lloh20:
adrp x0, l_.str@PAGE
Lloh21:
add x0, x0, l_.str@PAGEOFF
bl __
bl _as_bad
ldr x8, [x23]
LBB0_7:
mov w9, #1 ; =0x1
stp w9, w20, [x8, #4]
cbz w22, LBB0_10
; %bb.8:
mov x20, sp
LBB0_9: ; =>This Inner Loop Header: Depth=1
ldrh w1, [x20], #2
mov x0, x19
mov w2, #2 ; =0x2
bl _md_number_to_chars
add x19, x19, #2
subs x22, x22, #1
b.ne LBB0_9
LBB0_10:
ldr x8, [sp, #8]
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_13
; %bb.11:
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
ldp x24, x23, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #80
ret
LBB0_12:
bl _abort
LBB0_13:
bl ___stack_chk_fail
.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 AdrpAdd Lloh20, Lloh21
.loh AdrpLdrGotLdr Lloh22, Lloh23, Lloh24
.cfi_endproc
; -- End function
.comm _output_opcode,8,3 ; @output_opcode
.comm _instruction,8,3 ; @instruction
.comm _relocatable,8,3 ; @relocatable
.comm _BFD_RELOC_NONE,8,3 ; @BFD_RELOC_NONE
.comm _stdoutput,4,2 ; @stdoutput
.comm _frag_now,8,3 ; @frag_now
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "instruction address is not a multiple of 2"
.no_dead_strip _print_insn
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function ecp_precompute_comb
_ecp_precompute_comb: ## @ecp_precompute_comb
.cfi_startproc
## %bb.0:
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 %r8, %r13
movl %ecx, %ebx
movq %rdx, %r15
movq %rsi, %r12
movq %rdi, -56(%rbp) ## 8-byte Spill
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
movq _COMB_MAX_PRE@GOTPCREL(%rip), %rax
movl (%rax), %eax
decl %eax
shlq $3, %rax
callq ____chkstk_darwin
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq %rsp, %r14
movq %r12, -80(%rbp) ## 8-byte Spill
movq %r12, %rdi
movq %r15, %rsi
callq _mbedtls_ecp_copy
movl %eax, %edi
callq _MBEDTLS_MPI_CHK
movq -56(%rbp), %rdi ## 8-byte Reload
decl %ebx
movl $1, %r12d
movl $1, %eax
movl %ebx, %ecx
shll %cl, %eax
movl %eax, -60(%rbp) ## 4-byte Spill
movl %ebx, -72(%rbp) ## 4-byte Spill
testl %ebx, %ebx
movq %r14, -96(%rbp) ## 8-byte Spill
je LBB0_13
## %bb.1:
xorl %ecx, %ecx
movq -56(%rbp), %r14 ## 8-byte Reload
.p2align 4, 0x90
LBB0_2: ## =>This Loop Header: Depth=1
## Child Loop BB0_3 Depth 2
movq %rcx, -88(%rbp) ## 8-byte Spill
movl %r12d, %eax
shlq $2, %rax
movq -80(%rbp), %rcx ## 8-byte Reload
movq %rcx, %r15
subq %rax, %r15
movl %r12d, %eax
shrl %eax
leaq (%rcx,%rax,4), %rsi
movq %r15, %rdi
callq _mbedtls_ecp_copy
movl %eax, %edi
callq _MBEDTLS_MPI_CHK
xorl %ebx, %ebx
.p2align 4, 0x90
LBB0_3: ## Parent Loop BB0_2 Depth=1
## => This Inner Loop Header: Depth=2
movq %r14, %rdi
movq %r15, %rsi
movq %r15, %rdx
callq _ecp_double_jac
movl %eax, %edi
callq _MBEDTLS_MPI_CHK
incq %rbx
cmpq %r13, %rbx
jbe LBB0_3
## %bb.4: ## in Loop: Header=BB0_2 Depth=1
movq -88(%rbp), %rcx ## 8-byte Reload
movzbl %cl, %eax
incb %cl
movq -96(%rbp), %rsi ## 8-byte Reload
movq %r15, (%rsi,%rax,8)
addl %r12d, %r12d
movzbl %r12b, %r12d
cmpl -60(%rbp), %r12d ## 4-byte Folded Reload
jb LBB0_2
## %bb.5:
movzbl %cl, %edx
movq -56(%rbp), %rdi ## 8-byte Reload
callq _ecp_normalize_jac_many
movl %eax, %edi
callq _MBEDTLS_MPI_CHK
cmpl $0, -72(%rbp) ## 4-byte Folded Reload
je LBB0_6
## %bb.7:
movq -80(%rbp), %rax ## 8-byte Reload
addq $-4, %rax
movq %rax, -104(%rbp) ## 8-byte Spill
movb $1, %al
xorl %r14d, %r14d
jmp LBB0_8
.p2align 4, 0x90
LBB0_9: ## in Loop: Header=BB0_8 Depth=1
movl %r14d, %ebx
LBB0_12: ## in Loop: Header=BB0_8 Depth=1
movq -72(%rbp), %rax ## 8-byte Reload
addl %eax, %eax
movzbl %al, %ecx
movl %ebx, %r14d
cmpl %ecx, -60(%rbp) ## 4-byte Folded Reload
jbe LBB0_14
LBB0_8: ## =>This Loop Header: Depth=1
## Child Loop BB0_11 Depth 2
movzbl %al, %r13d
testb %r13b, %r13b
movq %r13, -72(%rbp) ## 8-byte Spill
je LBB0_9
## %bb.10: ## in Loop: Header=BB0_8 Depth=1
leal (,%r13,4), %r12d
movq -80(%rbp), %rax ## 8-byte Reload
addq %r12, %rax
movq %rax, -88(%rbp) ## 8-byte Spill
movq -104(%rbp), %rax ## 8-byte Reload
addq %rax, %r12
leaq (%rax,%r13,8), %r15
.p2align 4, 0x90
LBB0_11: ## Parent Loop BB0_8 Depth=1
## => This Inner Loop Header: Depth=2
movq -56(%rbp), %rdi ## 8-byte Reload
movq %r15, %rsi
movq %r12, %rdx
movq -88(%rbp), %rcx ## 8-byte Reload
callq _ecp_add_mixed
movl %eax, %edi
callq _MBEDTLS_MPI_CHK
leal 1(%r14), %ebx
addq $-4, %r12
movzbl %r14b, %eax
movq -96(%rbp), %rcx ## 8-byte Reload
movq %r15, (%rcx,%rax,8)
addq $-4, %r15
movl %ebx, %r14d
decq %r13
jne LBB0_11
jmp LBB0_12
LBB0_13:
xorl %ebx, %ebx
movq %r14, %rsi
xorl %edx, %edx
callq _ecp_normalize_jac_many
movl %eax, %edi
callq _MBEDTLS_MPI_CHK
jmp LBB0_14
LBB0_6:
xorl %ebx, %ebx
LBB0_14:
movzbl %bl, %edx
movq -56(%rbp), %rdi ## 8-byte Reload
movq -96(%rbp), %rsi ## 8-byte Reload
callq _ecp_normalize_jac_many
movl %eax, %edi
callq _MBEDTLS_MPI_CHK
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB0_16
## %bb.15:
leaq -40(%rbp), %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_16:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.comm _COMB_MAX_PRE,4,2 ## @COMB_MAX_PRE
.no_dead_strip _ecp_precompute_comb
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function ecp_precompute_comb
_ecp_precompute_comb: ; @ecp_precompute_comb
.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 x22, x4
mov x23, x3
mov x21, x1
mov x19, x0
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
Lloh3:
adrp x9, _COMB_MAX_PRE@GOTPAGE
Lloh4:
ldr x9, [x9, _COMB_MAX_PRE@GOTPAGEOFF]
stur x8, [x29, #-88]
Lloh5:
ldr w8, [x9]
sub w8, w8, #1
ubfiz x9, x8, #3, #32
add x8, x9, #15
and x8, x8, #0xffffffff0
Lloh6:
adrp x16, ___chkstk_darwin@GOTPAGE
Lloh7:
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
mov x9, sp
sub x20, x9, x8
mov sp, x20
mov x0, x1
mov x1, x2
bl _mbedtls_ecp_copy
bl _MBEDTLS_MPI_CHK
subs w25, w23, #1
b.eq LBB0_12
; %bb.1:
mov w26, #0 ; =0x0
mov w8, #1 ; =0x1
lsl w24, w8, w25
mov w27, #1 ; =0x1
LBB0_2: ; =>This Loop Header: Depth=1
; Child Loop BB0_3 Depth 2
sub x23, x21, w27, uxtw #2
lsr w8, w27, #1
add x1, x21, w8, uxtw #2
mov x0, x23
bl _mbedtls_ecp_copy
bl _MBEDTLS_MPI_CHK
mov x28, #0 ; =0x0
LBB0_3: ; Parent Loop BB0_2 Depth=1
; => This Inner Loop Header: Depth=2
mov x0, x19
mov x1, x23
mov x2, x23
bl _ecp_double_jac
bl _MBEDTLS_MPI_CHK
add x28, x28, #1
cmp x28, x22
b.ls LBB0_3
; %bb.4: ; in Loop: Header=BB0_2 Depth=1
add w8, w26, #1
and x9, x26, #0xff
str x23, [x20, x9, lsl #3]
ubfiz w27, w27, #1, #7
mov x26, x8
cmp w27, w24
b.lo LBB0_2
; %bb.5:
and w2, w8, #0xff
mov x0, x19
mov x1, x20
bl _ecp_normalize_jac_many
bl _MBEDTLS_MPI_CHK
cbz w25, LBB0_13
; %bb.6:
mov w26, #0 ; =0x0
sub x8, x21, #4
stur x8, [x29, #-96] ; 8-byte Folded Spill
mov w9, #1 ; =0x1
b LBB0_9
LBB0_7: ; in Loop: Header=BB0_9 Depth=1
mov x8, x26
LBB0_8: ; in Loop: Header=BB0_9 Depth=1
lsl w9, w25, #1
and w10, w9, #0xfe
mov x26, x8
cmp w24, w10
b.ls LBB0_14
LBB0_9: ; =>This Loop Header: Depth=1
; Child Loop BB0_11 Depth 2
and x25, x9, #0xff
tst w9, #0xff
b.eq LBB0_7
; %bb.10: ; in Loop: Header=BB0_9 Depth=1
lsl x28, x25, #2
ldur x8, [x29, #-96] ; 8-byte Folded Reload
add x22, x8, x28
add x23, x8, x25, lsl #3
mov x27, x25
LBB0_11: ; Parent Loop BB0_9 Depth=1
; => This Inner Loop Header: Depth=2
sub x27, x27, #1
add x3, x21, x28
mov x0, x19
mov x1, x23
mov x2, x22
bl _ecp_add_mixed
bl _MBEDTLS_MPI_CHK
add w8, w26, #1
and x9, x26, #0xff
str x23, [x20, x9, lsl #3]
sub x22, x22, #4
sub x23, x23, #4
mov x26, x8
cbnz x27, LBB0_11
b LBB0_8
LBB0_12:
mov x0, x19
mov x1, x20
mov w2, #0 ; =0x0
bl _ecp_normalize_jac_many
bl _MBEDTLS_MPI_CHK
LBB0_13:
mov w8, #0 ; =0x0
LBB0_14:
and w2, w8, #0xff
mov x0, x19
mov x1, x20
bl _ecp_normalize_jac_many
bl _MBEDTLS_MPI_CHK
ldur x8, [x29, #-88]
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_16
; %bb.15:
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_16:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.loh AdrpLdrGot Lloh6, Lloh7
.cfi_endproc
; -- End function
.comm _COMB_MAX_PRE,4,2 ; @COMB_MAX_PRE
.no_dead_strip _ecp_precompute_comb
.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_phy_fill_stats
_mlx5e_grp_phy_fill_stats: ## @mlx5e_grp_phy_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 $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, %r13
movq %rdi, %r14
movq 8(%rdi), %r12
movq _ppcnt_reg@GOTPCREL(%rip), %rax
movl (%rax), %edi
movl 4(%r14), %esi
movq _counter_set@GOTPCREL(%rip), %rax
movl (%rax), %edx
callq _MLX5_GET
movslq %ebx, %rcx
incl %ebx
movl %eax, (%r13,%rcx,4)
movq _ppcnt_statistical_group@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %r12, %rdi
callq _MLX5_CAP_PCAM_FEATURE
testq %rax, %rax
je LBB0_10
## %bb.1:
movq _NUM_PPORT_PHY_STATISTICAL_COUNTERS@GOTPCREL(%rip), %r15
cmpl $0, (%r15)
js LBB0_5
## %bb.2:
movq %r12, -56(%rbp) ## 8-byte Spill
movl %ebx, -44(%rbp) ## 4-byte Spill
movslq %ebx, %rax
movq %r13, -64(%rbp) ## 8-byte Spill
leaq (,%rax,4), %r12
addq %r13, %r12
xorl %r13d, %r13d
movq _pport_phy_statistical_stats_desc@GOTPCREL(%rip), %rbx
.p2align 4, 0x90
LBB0_3: ## =>This Inner Loop Header: Depth=1
movl (%rbx), %esi
movq %r14, %rdi
movl %r13d, %edx
callq _MLX5E_READ_CTR64_BE
movl %eax, (%r12,%r13,4)
incq %r13
leal -1(%r13), %eax
cmpl (%r15), %eax
jl LBB0_3
## %bb.4:
movl -44(%rbp), %ebx ## 4-byte Reload
addl %r13d, %ebx
movq -64(%rbp), %r13 ## 8-byte Reload
movq -56(%rbp), %r12 ## 8-byte Reload
LBB0_5:
movq _per_lane_error_counters@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %r12, %rdi
callq _MLX5_CAP_PCAM_FEATURE
testq %rax, %rax
je LBB0_10
## %bb.6:
movq _NUM_PPORT_PHY_STATISTICAL_PER_LANE_COUNTERS@GOTPCREL(%rip), %r12
cmpl $0, (%r12)
jle LBB0_10
## %bb.7:
movl %ebx, -44(%rbp) ## 4-byte Spill
movslq %ebx, %rax
leaq (%r13,%rax,4), %r13
xorl %r15d, %r15d
movq _pport_phy_statistical_err_lanes_stats_desc@GOTPCREL(%rip), %rbx
.p2align 4, 0x90
LBB0_8: ## =>This Inner Loop Header: Depth=1
movl (%rbx), %esi
movq %r14, %rdi
movl %r15d, %edx
callq _MLX5E_READ_CTR64_BE
movl %eax, (%r13,%r15,4)
incq %r15
cmpl (%r12), %r15d
jl LBB0_8
## %bb.9:
movl -44(%rbp), %ebx ## 4-byte Reload
addl %r15d, %ebx
LBB0_10:
movl %ebx, %eax
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _ppcnt_reg,4,2 ## @ppcnt_reg
.comm _counter_set,4,2 ## @counter_set
.comm _ppcnt_statistical_group,4,2 ## @ppcnt_statistical_group
.comm _NUM_PPORT_PHY_STATISTICAL_COUNTERS,4,2 ## @NUM_PPORT_PHY_STATISTICAL_COUNTERS
.comm _pport_phy_statistical_stats_desc,4,2 ## @pport_phy_statistical_stats_desc
.comm _per_lane_error_counters,4,2 ## @per_lane_error_counters
.comm _NUM_PPORT_PHY_STATISTICAL_PER_LANE_COUNTERS,4,2 ## @NUM_PPORT_PHY_STATISTICAL_PER_LANE_COUNTERS
.comm _pport_phy_statistical_err_lanes_stats_desc,4,2 ## @pport_phy_statistical_err_lanes_stats_desc
.no_dead_strip _mlx5e_grp_phy_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_phy_fill_stats
_mlx5e_grp_phy_fill_stats: ; @mlx5e_grp_phy_fill_stats
.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 x23, x2
mov x21, x1
mov x19, x0
Lloh0:
adrp x8, _ppcnt_reg@GOTPAGE
Lloh1:
ldr x8, [x8, _ppcnt_reg@GOTPAGEOFF]
ldr x22, [x0, #8]
Lloh2:
ldr w0, [x8]
ldr w1, [x19, #4]
Lloh3:
adrp x8, _counter_set@GOTPAGE
Lloh4:
ldr x8, [x8, _counter_set@GOTPAGEOFF]
Lloh5:
ldr w2, [x8]
bl _MLX5_GET
add w20, w23, #1
str w0, [x21, w23, sxtw #2]
Lloh6:
adrp x8, _ppcnt_statistical_group@GOTPAGE
Lloh7:
ldr x8, [x8, _ppcnt_statistical_group@GOTPAGEOFF]
Lloh8:
ldr w1, [x8]
mov x0, x22
bl _MLX5_CAP_PCAM_FEATURE
cbz x0, LBB0_8
; %bb.1:
Lloh9:
adrp x24, _NUM_PPORT_PHY_STATISTICAL_COUNTERS@GOTPAGE
Lloh10:
ldr x24, [x24, _NUM_PPORT_PHY_STATISTICAL_COUNTERS@GOTPAGEOFF]
ldr w8, [x24]
tbnz w8, #31, LBB0_4
; %bb.2:
add x25, x21, w20, sxtw #2
mov w23, #-1 ; =0xffffffff
Lloh11:
adrp x26, _pport_phy_statistical_stats_desc@GOTPAGE
Lloh12:
ldr x26, [x26, _pport_phy_statistical_stats_desc@GOTPAGEOFF]
LBB0_3: ; =>This Inner Loop Header: Depth=1
add w23, w23, #1
ldr w1, [x26]
mov x0, x19
mov x2, x23
bl _MLX5E_READ_CTR64_BE
str w0, [x25], #4
ldr w8, [x24]
add w20, w20, #1
cmp w23, w8
b.lt LBB0_3
LBB0_4:
Lloh13:
adrp x8, _per_lane_error_counters@GOTPAGE
Lloh14:
ldr x8, [x8, _per_lane_error_counters@GOTPAGEOFF]
Lloh15:
ldr w1, [x8]
mov x0, x22
bl _MLX5_CAP_PCAM_FEATURE
Lloh16:
adrp x23, _NUM_PPORT_PHY_STATISTICAL_PER_LANE_COUNTERS@GOTPAGE
Lloh17:
ldr x23, [x23, _NUM_PPORT_PHY_STATISTICAL_PER_LANE_COUNTERS@GOTPAGEOFF]
ldr w8, [x23]
cmp x0, #0
ccmp w8, #1, #8, ne
b.lt LBB0_8
; %bb.5:
mov x22, #0 ; =0x0
add x21, x21, w20, sxtw #2
Lloh18:
adrp x24, _pport_phy_statistical_err_lanes_stats_desc@GOTPAGE
Lloh19:
ldr x24, [x24, _pport_phy_statistical_err_lanes_stats_desc@GOTPAGEOFF]
LBB0_6: ; =>This Inner Loop Header: Depth=1
ldr w1, [x24]
mov x0, x19
mov x2, x22
bl _MLX5E_READ_CTR64_BE
str w0, [x21, x22, lsl #2]
ldr w8, [x23]
add x22, x22, #1
cmp w22, w8
b.lt LBB0_6
; %bb.7:
add w20, w20, w22
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
ldp x26, x25, [sp], #80 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGot Lloh9, Lloh10
.loh AdrpLdrGot Lloh11, Lloh12
.loh AdrpLdrGot Lloh16, Lloh17
.loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh15
.loh AdrpLdrGot Lloh18, Lloh19
.cfi_endproc
; -- End function
.comm _ppcnt_reg,4,2 ; @ppcnt_reg
.comm _counter_set,4,2 ; @counter_set
.comm _ppcnt_statistical_group,4,2 ; @ppcnt_statistical_group
.comm _NUM_PPORT_PHY_STATISTICAL_COUNTERS,4,2 ; @NUM_PPORT_PHY_STATISTICAL_COUNTERS
.comm _pport_phy_statistical_stats_desc,4,2 ; @pport_phy_statistical_stats_desc
.comm _per_lane_error_counters,4,2 ; @per_lane_error_counters
.comm _NUM_PPORT_PHY_STATISTICAL_PER_LANE_COUNTERS,4,2 ; @NUM_PPORT_PHY_STATISTICAL_PER_LANE_COUNTERS
.comm _pport_phy_statistical_err_lanes_stats_desc,4,2 ; @pport_phy_statistical_err_lanes_stats_desc
.no_dead_strip _mlx5e_grp_phy_fill_stats
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function XdsStringUtf8
_XdsStringUtf8: ## @XdsStringUtf8
.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_1
## %bb.2:
movl (%rsi), %eax
leal -42(%rax), %ecx
cmpl $84, %ecx
ja LBB0_15
## %bb.3:
leaq LJTI0_0(%rip), %rdx
movslq (%rdx,%rcx,4), %rcx
addq %rdx, %rcx
jmpq *%rcx
LBB0_4:
movw $-24125, (%rdi) ## imm = 0xA1C3
jmp LBB0_13
LBB0_1:
xorl %eax, %eax
jmp LBB0_14
LBB0_6:
movw $-21053, (%rdi) ## imm = 0xADC3
jmp LBB0_13
LBB0_9:
movw $-22589, (%rdi) ## imm = 0xA7C3
jmp LBB0_13
LBB0_5:
movw $-22077, (%rdi) ## imm = 0xA9C3
jmp LBB0_13
LBB0_10:
movw $-18493, (%rdi) ## imm = 0xB7C3
jmp LBB0_13
LBB0_11:
movw $-28221, (%rdi) ## imm = 0x91C3
jmp LBB0_13
LBB0_7:
movw $-19517, (%rdi) ## imm = 0xB3C3
jmp LBB0_13
LBB0_8:
movw $-17725, (%rdi) ## imm = 0xBAC3
jmp LBB0_13
LBB0_12:
movw $-20029, (%rdi) ## imm = 0xB1C3
LBB0_13:
movl $2, %eax
LBB0_14:
movb $0, (%rdi,%rax)
popq %rbp
retq
LBB0_15:
movb %al, (%rdi)
movl $1, %eax
jmp LBB0_14
.cfi_endproc
.p2align 2, 0x90
.data_region jt32
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.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
LJTI0_0:
.long L0_0_set_4
.long L0_0_set_15
.long L0_0_set_15
.long L0_0_set_15
.long L0_0_set_15
.long L0_0_set_15
.long L0_0_set_15
.long L0_0_set_15
.long L0_0_set_15
.long L0_0_set_15
.long L0_0_set_15
.long L0_0_set_15
.long L0_0_set_15
.long L0_0_set_15
.long L0_0_set_15
.long L0_0_set_15
.long L0_0_set_15
.long L0_0_set_15
.long L0_0_set_15
.long L0_0_set_15
.long L0_0_set_15
.long L0_0_set_15
.long L0_0_set_15
.long L0_0_set_15
.long L0_0_set_15
.long L0_0_set_15
.long L0_0_set_15
.long L0_0_set_15
.long L0_0_set_15
.long L0_0_set_15
.long L0_0_set_15
.long L0_0_set_15
.long L0_0_set_15
.long L0_0_set_15
.long L0_0_set_15
.long L0_0_set_15
.long L0_0_set_15
.long L0_0_set_15
.long L0_0_set_15
.long L0_0_set_15
.long L0_0_set_15
.long L0_0_set_15
.long L0_0_set_15
.long L0_0_set_15
.long L0_0_set_15
.long L0_0_set_15
.long L0_0_set_15
.long L0_0_set_15
.long L0_0_set_15
.long L0_0_set_15
.long L0_0_set_5
.long L0_0_set_15
.long L0_0_set_6
.long L0_0_set_7
.long L0_0_set_8
.long L0_0_set_15
.long L0_0_set_15
.long L0_0_set_15
.long L0_0_set_15
.long L0_0_set_15
.long L0_0_set_15
.long L0_0_set_15
.long L0_0_set_15
.long L0_0_set_15
.long L0_0_set_15
.long L0_0_set_15
.long L0_0_set_15
.long L0_0_set_15
.long L0_0_set_15
.long L0_0_set_15
.long L0_0_set_15
.long L0_0_set_15
.long L0_0_set_15
.long L0_0_set_15
.long L0_0_set_15
.long L0_0_set_15
.long L0_0_set_15
.long L0_0_set_15
.long L0_0_set_15
.long L0_0_set_15
.long L0_0_set_15
.long L0_0_set_9
.long L0_0_set_10
.long L0_0_set_11
.long L0_0_set_12
.end_data_region
## -- End function
.no_dead_strip _XdsStringUtf8
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function XdsStringUtf8
_XdsStringUtf8: ; @XdsStringUtf8
.cfi_startproc
; %bb.0:
cbz x2, LBB0_7
; %bb.1:
ldr w8, [x1]
cmp w8, #95
b.le LBB0_8
; %bb.2:
cmp w8, #123
b.le LBB0_15
; %bb.3:
cmp w8, #124
b.eq LBB0_20
; %bb.4:
cmp w8, #125
b.eq LBB0_22
; %bb.5:
cmp w8, #126
b.ne LBB0_24
; %bb.6:
mov w8, #45507 ; =0xb1c3
b LBB0_23
LBB0_7:
strb wzr, [x0, xzr]
ret
LBB0_8:
cmp w8, #93
b.gt LBB0_12
; %bb.9:
cmp w8, #42
b.eq LBB0_18
; %bb.10:
cmp w8, #92
b.ne LBB0_24
; %bb.11:
mov w8, #43459 ; =0xa9c3
b LBB0_23
LBB0_12:
cmp w8, #94
b.eq LBB0_19
; %bb.13:
cmp w8, #95
b.ne LBB0_24
; %bb.14:
mov w8, #46019 ; =0xb3c3
b LBB0_23
LBB0_15:
cmp w8, #96
b.eq LBB0_21
; %bb.16:
cmp w8, #123
b.ne LBB0_24
; %bb.17:
mov w8, #42947 ; =0xa7c3
b LBB0_23
LBB0_18:
mov w8, #41411 ; =0xa1c3
b LBB0_23
LBB0_19:
mov w8, #44483 ; =0xadc3
b LBB0_23
LBB0_20:
mov w8, #47043 ; =0xb7c3
b LBB0_23
LBB0_21:
mov w8, #47811 ; =0xbac3
b LBB0_23
LBB0_22:
mov w8, #37315 ; =0x91c3
LBB0_23:
strh w8, [x0]
mov w8, #2 ; =0x2
strb wzr, [x0, x8]
ret
LBB0_24:
strb w8, [x0]
mov w8, #1 ; =0x1
strb wzr, [x0, x8]
ret
.cfi_endproc
; -- End function
.no_dead_strip _XdsStringUtf8
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _CG_LoadingItem ## -- Begin function CG_LoadingItem
.p2align 4, 0x90
_CG_LoadingItem: ## @CG_LoadingItem
.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 _bg_itemlist@GOTPCREL(%rip), %rax
movq (%rax), %rax
movslq %edi, %rcx
shlq $4, %rcx
leaq (%rax,%rcx), %rbx
movq 8(%rax,%rcx), %rdi
testq %rdi, %rdi
jne LBB0_2
## %bb.1:
movq _loadingItemIconCount@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq _MAX_LOADING_ITEM_ICONS@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jge LBB0_3
LBB0_2:
callq _trap_R_RegisterShaderNoMip
movq _loadingItemIcons@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
movq _loadingItemIconCount@GOTPCREL(%rip), %rdx
movq (%rdx), %rsi
leaq -1(%rsi), %rdi
movq %rdi, (%rdx)
movl %eax, (%rcx,%rsi,4)
LBB0_3:
movl (%rbx), %edi
addq $8, %rsp
popq %rbx
popq %rbp
jmp _CG_LoadingString ## TAILCALL
.cfi_endproc
## -- End function
.comm _bg_itemlist,8,3 ## @bg_itemlist
.comm _loadingItemIconCount,8,3 ## @loadingItemIconCount
.comm _MAX_LOADING_ITEM_ICONS,8,3 ## @MAX_LOADING_ITEM_ICONS
.comm _loadingItemIcons,8,3 ## @loadingItemIcons
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _CG_LoadingItem ; -- Begin function CG_LoadingItem
.p2align 2
_CG_LoadingItem: ; @CG_LoadingItem
.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, _bg_itemlist@GOTPAGE
Lloh1:
ldr x8, [x8, _bg_itemlist@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
add x19, x8, w0, sxtw #4
ldr x0, [x19, #8]
Lloh3:
adrp x20, _loadingItemIconCount@GOTPAGE
Lloh4:
ldr x20, [x20, _loadingItemIconCount@GOTPAGEOFF]
cbnz x0, LBB0_2
; %bb.1:
ldr x8, [x20]
Lloh5:
adrp x9, _MAX_LOADING_ITEM_ICONS@GOTPAGE
Lloh6:
ldr x9, [x9, _MAX_LOADING_ITEM_ICONS@GOTPAGEOFF]
Lloh7:
ldr x9, [x9]
cmp x8, x9
b.ge LBB0_3
LBB0_2:
bl _trap_R_RegisterShaderNoMip
Lloh8:
adrp x8, _loadingItemIcons@GOTPAGE
Lloh9:
ldr x8, [x8, _loadingItemIcons@GOTPAGEOFF]
Lloh10:
ldr x8, [x8]
ldr x9, [x20]
sub x10, x9, #1
str x10, [x20]
str w0, [x8, x9, lsl #2]
LBB0_3:
ldr w0, [x19]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _CG_LoadingString
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.cfi_endproc
; -- End function
.comm _bg_itemlist,8,3 ; @bg_itemlist
.comm _loadingItemIconCount,8,3 ; @loadingItemIconCount
.comm _MAX_LOADING_ITEM_ICONS,8,3 ; @MAX_LOADING_ITEM_ICONS
.comm _loadingItemIcons,8,3 ; @loadingItemIcons
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function pdc20621_ata_pkt
_pdc20621_ata_pkt: ## @pdc20621_ata_pkt
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %ecx, %r14d
movq %rdx, %rbx
movl %esi, %r15d
movq _PDC_20621_DIMM_BASE@GOTPCREL(%rip), %rax
movq _PDC_DIMM_WINDOW_STEP@GOTPCREL(%rip), %rcx
movl (%rcx), %r13d
imull %r14d, %r13d
addl (%rax), %r13d
movq %rdi, %r12
movq _PDC_DIMM_APKT_PRD@GOTPCREL(%rip), %rax
addl (%rax), %r13d
leaq L_.str(%rip), %rdi
movl %r13d, %esi
movl %r13d, %edx
callq _VPRINTK
movq %r12, %rdi
movq _PDC_DIMM_ATA_PKT@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movq (%r12), %rax
movq _ATA_PROT_DMA@GOTPCREL(%rip), %rdx
cmpq (%rdx), %rax
jne LBB0_3
## %bb.1:
movq _ATA_TFLAG_WRITE@GOTPCREL(%rip), %rdx
movl (%rdx), %edx
orl 8(%rdi), %edx
je LBB0_2
LBB0_3:
movq _ATA_PROT_NODATA@GOTPCREL(%rip), %rdx
movq (%rdx), %rdx
cmpq %rdx, %rax
jne LBB0_5
## %bb.4:
movq _PDC_PKT_NODATA@GOTPCREL(%rip), %rdx
movl (%rdx), %edx
movl %ecx, %r12d
incl %r12d
movl %edx, (%rbx,%rcx,4)
movq %rax, %rdx
jmp LBB0_6
LBB0_5:
leal 1(%rcx), %r12d
movl $0, (%rbx,%rcx,4)
jmp LBB0_6
LBB0_2:
movq _PDC_PKT_READ@GOTPCREL(%rip), %rdx
movl (%rdx), %edx
leal -1(%rcx), %r12d
movl %edx, (%rbx,%rcx,4)
movq _ATA_PROT_NODATA@GOTPCREL(%rip), %rcx
movq (%rcx), %rdx
LBB0_6:
leal 1(%r12), %ecx
movl %r12d, %esi
movl $0, (%rbx,%rsi,4)
incl %r14d
leal 2(%r12), %esi
movl %r14d, (%rbx,%rcx,4)
movl $255, (%rbx,%rsi,4)
cmpq %rdx, %rax
jne LBB0_8
## %bb.7:
xorl %eax, %eax
jmp LBB0_9
LBB0_8:
movq %rdi, %r14
movl %r13d, %edi
callq _cpu_to_le32
movq %r14, %rdi
LBB0_9:
leal 3(%r12), %ecx
shrl $2, %ecx
movq %rax, (%rbx,%rcx,8)
movq $0, 8(%rbx,%rcx,8)
movq _ATA_DEVICE_OBS@GOTPCREL(%rip), %rax
testl %r15d, %r15d
je LBB0_11
## %bb.10:
movq _ATA_DEV1@GOTPCREL(%rip), %rcx
movl (%rcx), %r15d
LBB0_11:
orl (%rax), %r15d
leal 11(%r12), %eax
movq _PDC_PKT_CLEAR_BSY@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
movq _ATA_REG_DEVICE@GOTPCREL(%rip), %rdx
orl (%rdx), %ecx
orl $32, %ecx
leal 12(%r12), %edx
movl %ecx, (%rbx,%rax,4)
leal 13(%r12), %eax
movl %r15d, (%rbx,%rdx,4)
movq _PDC_REG_DEVCTL@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
orl $32, %ecx
leal 14(%r12), %edx
movl %ecx, (%rbx,%rax,4)
movl 12(%rdi), %eax
addl $15, %r12d
movl %eax, (%rbx,%rdx,4)
movl %r12d, %eax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _PDC_20621_DIMM_BASE,4,2 ## @PDC_20621_DIMM_BASE
.comm _PDC_DIMM_WINDOW_STEP,4,2 ## @PDC_DIMM_WINDOW_STEP
.comm _PDC_DIMM_APKT_PRD,4,2 ## @PDC_DIMM_APKT_PRD
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "ENTER, dimm_sg == 0x%x, %d\n"
.comm _PDC_DIMM_ATA_PKT,4,2 ## @PDC_DIMM_ATA_PKT
.comm _ATA_PROT_DMA,8,3 ## @ATA_PROT_DMA
.comm _ATA_TFLAG_WRITE,4,2 ## @ATA_TFLAG_WRITE
.comm _PDC_PKT_READ,4,2 ## @PDC_PKT_READ
.comm _ATA_PROT_NODATA,8,3 ## @ATA_PROT_NODATA
.comm _PDC_PKT_NODATA,4,2 ## @PDC_PKT_NODATA
.comm _ATA_DEVICE_OBS,4,2 ## @ATA_DEVICE_OBS
.comm _ATA_DEV1,4,2 ## @ATA_DEV1
.comm _PDC_PKT_CLEAR_BSY,4,2 ## @PDC_PKT_CLEAR_BSY
.comm _ATA_REG_DEVICE,4,2 ## @ATA_REG_DEVICE
.comm _PDC_REG_DEVCTL,4,2 ## @PDC_REG_DEVCTL
.no_dead_strip _pdc20621_ata_pkt
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function pdc20621_ata_pkt
_pdc20621_ata_pkt: ; @pdc20621_ata_pkt
.cfi_startproc
; %bb.0:
stp x26, x25, [sp, #-80]! ; 16-byte Folded Spill
stp x24, x23, [sp, #16] ; 16-byte Folded Spill
stp x22, x21, [sp, #32] ; 16-byte Folded Spill
stp x20, x19, [sp, #48] ; 16-byte Folded Spill
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
mov x22, x3
mov x19, x2
mov x21, x1
mov x20, x0
Lloh0:
adrp x8, _PDC_20621_DIMM_BASE@GOTPAGE
Lloh1:
ldr x8, [x8, _PDC_20621_DIMM_BASE@GOTPAGEOFF]
Lloh2:
adrp x9, _PDC_DIMM_WINDOW_STEP@GOTPAGE
Lloh3:
ldr x9, [x9, _PDC_DIMM_WINDOW_STEP@GOTPAGEOFF]
Lloh4:
ldr w8, [x8]
Lloh5:
ldr w9, [x9]
madd w24, w9, w3, w8
Lloh6:
adrp x8, _PDC_DIMM_APKT_PRD@GOTPAGE
Lloh7:
ldr x8, [x8, _PDC_DIMM_APKT_PRD@GOTPAGEOFF]
Lloh8:
ldr w25, [x8]
Lloh9:
adrp x0, l_.str@PAGE
Lloh10:
add x0, x0, l_.str@PAGEOFF
add w1, w24, w25
add w2, w24, w25
bl _VPRINTK
Lloh11:
adrp x8, _PDC_DIMM_ATA_PKT@GOTPAGE
Lloh12:
ldr x8, [x8, _PDC_DIMM_ATA_PKT@GOTPAGEOFF]
Lloh13:
ldr w9, [x8]
ldr x8, [x20]
Lloh14:
adrp x10, _ATA_PROT_DMA@GOTPAGE
Lloh15:
ldr x10, [x10, _ATA_PROT_DMA@GOTPAGEOFF]
Lloh16:
ldr x10, [x10]
cmp x8, x10
b.ne LBB0_2
; %bb.1:
ldr w10, [x20, #8]
Lloh17:
adrp x11, _ATA_TFLAG_WRITE@GOTPAGE
Lloh18:
ldr x11, [x11, _ATA_TFLAG_WRITE@GOTPAGEOFF]
Lloh19:
ldr w11, [x11]
orr w10, w11, w10
cbz w10, LBB0_5
LBB0_2:
Lloh20:
adrp x10, _ATA_PROT_NODATA@GOTPAGE
Lloh21:
ldr x10, [x10, _ATA_PROT_NODATA@GOTPAGEOFF]
Lloh22:
ldr x10, [x10]
cmp x8, x10
b.ne LBB0_4
; %bb.3:
Lloh23:
adrp x10, _PDC_PKT_NODATA@GOTPAGE
Lloh24:
ldr x10, [x10, _PDC_PKT_NODATA@GOTPAGEOFF]
Lloh25:
ldr w10, [x10]
add w23, w9, #1
str w10, [x19, x9, lsl #2]
mov x10, x8
b LBB0_6
LBB0_4:
add w23, w9, #1
str wzr, [x19, x9, lsl #2]
b LBB0_6
LBB0_5:
Lloh26:
adrp x10, _PDC_PKT_READ@GOTPAGE
Lloh27:
ldr x10, [x10, _PDC_PKT_READ@GOTPAGEOFF]
Lloh28:
ldr w10, [x10]
sub w23, w9, #1
str w10, [x19, x9, lsl #2]
Lloh29:
adrp x9, _ATA_PROT_NODATA@GOTPAGE
Lloh30:
ldr x9, [x9, _ATA_PROT_NODATA@GOTPAGEOFF]
Lloh31:
ldr x10, [x9]
LBB0_6:
add w9, w23, #1
str wzr, [x19, w23, uxtw #2]
add w11, w22, #1
add w12, w23, #2
str w11, [x19, w9, uxtw #2]
mov w9, #255 ; =0xff
str w9, [x19, w12, uxtw #2]
cmp x8, x10
b.ne LBB0_8
; %bb.7:
mov x0, #0 ; =0x0
b LBB0_9
LBB0_8:
add w0, w24, w25
bl _cpu_to_le32
LBB0_9:
add w8, w23, #3
lsr w8, w8, #2
add x8, x19, w8, uxtw #3
stp x0, xzr, [x8]
Lloh32:
adrp x8, _ATA_DEVICE_OBS@GOTPAGE
Lloh33:
ldr x8, [x8, _ATA_DEVICE_OBS@GOTPAGEOFF]
Lloh34:
ldr w8, [x8]
Lloh35:
adrp x9, _ATA_DEV1@GOTPAGE
Lloh36:
ldr x9, [x9, _ATA_DEV1@GOTPAGEOFF]
Lloh37:
ldr w9, [x9]
cmp w21, #0
csel w9, wzr, w9, eq
orr w8, w9, w8
Lloh38:
adrp x9, _PDC_PKT_CLEAR_BSY@GOTPAGE
Lloh39:
ldr x9, [x9, _PDC_PKT_CLEAR_BSY@GOTPAGEOFF]
add w10, w23, #11
Lloh40:
ldr w9, [x9]
Lloh41:
adrp x11, _ATA_REG_DEVICE@GOTPAGE
Lloh42:
ldr x11, [x11, _ATA_REG_DEVICE@GOTPAGEOFF]
Lloh43:
ldr w11, [x11]
orr w9, w9, w11
orr w9, w9, #0x20
add w11, w23, #12
str w9, [x19, w10, uxtw #2]
str w8, [x19, w11, uxtw #2]
add w8, w23, #13
Lloh44:
adrp x9, _PDC_REG_DEVCTL@GOTPAGE
Lloh45:
ldr x9, [x9, _PDC_REG_DEVCTL@GOTPAGEOFF]
Lloh46:
ldr w9, [x9]
orr w9, w9, #0x20
add w10, w23, #14
str w9, [x19, w8, uxtw #2]
ldr w8, [x20, #12]
str w8, [x19, w10, uxtw #2]
add w0, w23, #15
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
ldp x24, x23, [sp, #16] ; 16-byte Folded Reload
ldp x26, x25, [sp], #80 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16
.loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13
.loh AdrpAdd Lloh9, Lloh10
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh4
.loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19
.loh AdrpLdrGotLdr Lloh20, Lloh21, Lloh22
.loh AdrpLdrGotLdr Lloh23, Lloh24, Lloh25
.loh AdrpLdrGotLdr Lloh29, Lloh30, Lloh31
.loh AdrpLdrGotLdr Lloh26, Lloh27, Lloh28
.loh AdrpLdrGotLdr Lloh44, Lloh45, Lloh46
.loh AdrpLdrGotLdr Lloh41, Lloh42, Lloh43
.loh AdrpLdrGotLdr Lloh38, Lloh39, Lloh40
.loh AdrpLdrGotLdr Lloh35, Lloh36, Lloh37
.loh AdrpLdrGotLdr Lloh32, Lloh33, Lloh34
.cfi_endproc
; -- End function
.comm _PDC_20621_DIMM_BASE,4,2 ; @PDC_20621_DIMM_BASE
.comm _PDC_DIMM_WINDOW_STEP,4,2 ; @PDC_DIMM_WINDOW_STEP
.comm _PDC_DIMM_APKT_PRD,4,2 ; @PDC_DIMM_APKT_PRD
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "ENTER, dimm_sg == 0x%x, %d\n"
.comm _PDC_DIMM_ATA_PKT,4,2 ; @PDC_DIMM_ATA_PKT
.comm _ATA_PROT_DMA,8,3 ; @ATA_PROT_DMA
.comm _ATA_TFLAG_WRITE,4,2 ; @ATA_TFLAG_WRITE
.comm _PDC_PKT_READ,4,2 ; @PDC_PKT_READ
.comm _ATA_PROT_NODATA,8,3 ; @ATA_PROT_NODATA
.comm _PDC_PKT_NODATA,4,2 ; @PDC_PKT_NODATA
.comm _ATA_DEVICE_OBS,4,2 ; @ATA_DEVICE_OBS
.comm _ATA_DEV1,4,2 ; @ATA_DEV1
.comm _PDC_PKT_CLEAR_BSY,4,2 ; @PDC_PKT_CLEAR_BSY
.comm _ATA_REG_DEVICE,4,2 ; @ATA_REG_DEVICE
.comm _PDC_REG_DEVCTL,4,2 ; @PDC_REG_DEVCTL
.no_dead_strip _pdc20621_ata_pkt
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _strsplit_by_space ## -- Begin function strsplit_by_space
.p2align 4, 0x90
_strsplit_by_space: ## @strsplit_by_space
.cfi_startproc
## %bb.0:
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
testq %rdi, %rdi
je LBB0_2
## %bb.1:
cmpb $0, (%r14)
je LBB0_14
LBB0_2:
movl $64, %edi
callq _malloc
xorl %edx, %edx
testq %rax, %rax
je LBB0_16
## %bb.3:
movq %rax, %rcx
movl $8, %r15d
LBB0_4: ## =>This Loop Header: Depth=1
## Child Loop BB0_5 Depth 2
movq %rcx, %rax
leaq -1(%r14), %r12
.p2align 4, 0x90
LBB0_5: ## Parent Loop BB0_4 Depth=1
## => This Inner Loop Header: Depth=2
movzbl 1(%r12), %ecx
testl %ecx, %ecx
je LBB0_11
## %bb.6: ## in Loop: Header=BB0_5 Depth=2
cmpl $32, %ecx
je LBB0_8
## %bb.7: ## in Loop: Header=BB0_5 Depth=2
incq %r12
jmp LBB0_5
.p2align 4, 0x90
LBB0_8: ## in Loop: Header=BB0_4 Depth=1
movb $0, 1(%r12)
movl %edx, %ecx
incl %edx
movq %r14, (%rax,%rcx,8)
movq %rax, %rcx
movq %r12, %r14
cmpl %r15d, %edx
jne LBB0_4
## %bb.9: ## in Loop: Header=BB0_4 Depth=1
leal (%r15,%r15), %r13d
movl %r15d, %esi
shll $4, %esi
movq %rax, %rdi
movq %rax, %r14
callq _realloc
movq %rax, %rcx
movq %r14, %rdi
movl %r15d, %edx
movl %r13d, %r15d
movq %r12, %r14
testq %rax, %rax
jne LBB0_4
## %bb.10:
callq _free
jmp LBB0_16
LBB0_11:
movl %edx, %ecx
movq %r14, (%rax,%rcx,8)
testq %rbx, %rbx
je LBB0_17
## %bb.12:
incl %edx
movl %edx, (%rbx)
jmp LBB0_17
LBB0_14:
testq %rbx, %rbx
je LBB0_16
## %bb.15:
movl $0, (%rbx)
LBB0_16:
xorl %eax, %eax
LBB0_17:
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 _strsplit_by_space ; -- Begin function strsplit_by_space
.p2align 2
_strsplit_by_space: ; @strsplit_by_space
.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
cbz x0, LBB0_2
; %bb.1:
ldrb w8, [x20]
cbz w8, LBB0_12
LBB0_2:
mov w0, #64 ; =0x40
bl _malloc
cbz x0, LBB0_14
; %bb.3:
mov x8, x0
mov w9, #0 ; =0x0
mov w21, #8 ; =0x8
LBB0_4: ; =>This Loop Header: Depth=1
; Child Loop BB0_5 Depth 2
mov x0, x8
sub x22, x20, #1
ldrb w8, [x22, #1]
cbz w8, LBB0_10
LBB0_5: ; Parent Loop BB0_4 Depth=1
; => This Inner Loop Header: Depth=2
cmp w8, #32
b.eq LBB0_7
; %bb.6: ; in Loop: Header=BB0_5 Depth=2
add x22, x22, #1
ldrb w8, [x22, #1]
cbnz w8, LBB0_5
b LBB0_10
LBB0_7: ; in Loop: Header=BB0_4 Depth=1
strb wzr, [x22, #1]
str x20, [x0, w9, uxtw #3]
add w10, w9, #1
mov x8, x0
mov x9, x10
mov x20, x22
cmp w10, w21
b.ne LBB0_4
; %bb.8: ; in Loop: Header=BB0_4 Depth=1
lsl w23, w21, #1
lsl w1, w21, #4
mov x20, x0
bl _realloc
mov x8, x0
mov x0, x20
mov x9, x21
mov x21, x23
mov x20, x22
cbnz x8, LBB0_4
; %bb.9:
bl _free
mov x0, #0 ; =0x0
b LBB0_14
LBB0_10:
str x20, [x0, w9, uxtw #3]
cbz x19, LBB0_14
; %bb.11:
add w8, w9, #1
str w8, [x19]
b LBB0_14
LBB0_12:
mov x0, #0 ; =0x0
cbz x19, LBB0_14
; %bb.13:
str wzr, [x19]
LBB0_14:
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 zend_do_inherit_interfaces
_zend_do_inherit_interfaces: ## @zend_do_inherit_interfaces
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %r14
movq %rdi, %rbx
movslq (%rsi), %r12
movslq (%rdi), %r15
movq _ZEND_INTERNAL_CLASS@GOTPCREL(%rip), %rax
movq 8(%rdi), %rcx
movq 16(%rdi), %rdi
leal (%r15,%r12), %esi
shll $3, %esi
cmpq (%rax), %rcx
jne LBB0_2
## %bb.1:
callq _realloc
jmp LBB0_3
LBB0_2:
callq _erealloc
LBB0_3:
movq %rax, 16(%rbx)
testl %r12d, %r12d
je LBB0_12
## %bb.4:
leal 1(%r15), %eax
jmp LBB0_5
.p2align 4, 0x90
LBB0_11: ## in Loop: Header=BB0_5 Depth=1
incq %r12
je LBB0_12
LBB0_5: ## =>This Loop Header: Depth=1
## Child Loop BB0_7 Depth 2
movq 16(%r14), %rcx
movq 8(%rcx,%r12,8), %rcx
movl $0, %edx
testl %r15d, %r15d
js LBB0_9
## %bb.6: ## in Loop: Header=BB0_5 Depth=1
movq 16(%rbx), %rsi
xorl %edx, %edx
.p2align 4, 0x90
LBB0_7: ## Parent Loop BB0_5 Depth=1
## => This Inner Loop Header: Depth=2
cmpq %rcx, (%rsi,%rdx,8)
je LBB0_9
## %bb.8: ## in Loop: Header=BB0_7 Depth=2
incq %rdx
cmpq %rdx, %rax
jne LBB0_7
jmp LBB0_11
.p2align 4, 0x90
LBB0_9: ## in Loop: Header=BB0_5 Depth=1
cmpl %r15d, %edx
jne LBB0_11
## %bb.10: ## in Loop: Header=BB0_5 Depth=1
movq 16(%rbx), %rdx
movslq (%rbx), %rsi
leal 1(%rsi), %edi
movl %edi, (%rbx)
movq %rcx, (%rdx,%rsi,8)
jmp LBB0_11
LBB0_12:
movq _ZEND_ACC_RESOLVED_INTERFACES@GOTPCREL(%rip), %rax
movl (%rax), %eax
orl %eax, 24(%rbx)
cmpl (%rbx), %r15d
jge LBB0_14
.p2align 4, 0x90
LBB0_13: ## =>This Inner Loop Header: Depth=1
movq 16(%rbx), %rax
movq (%rax,%r15,8), %rsi
incq %r15
movq %rbx, %rdi
callq _do_implement_interface
movslq (%rbx), %rax
cmpq %rax, %r15
jl LBB0_13
LBB0_14:
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _ZEND_INTERNAL_CLASS,8,3 ## @ZEND_INTERNAL_CLASS
.comm _ZEND_ACC_RESOLVED_INTERFACES,4,2 ## @ZEND_ACC_RESOLVED_INTERFACES
.no_dead_strip _zend_do_inherit_interfaces
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function zend_do_inherit_interfaces
_zend_do_inherit_interfaces: ; @zend_do_inherit_interfaces
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x20, x1
mov x19, x0
ldrsw x22, [x1]
ldrsw x21, [x0]
Lloh0:
adrp x8, _ZEND_INTERNAL_CLASS@GOTPAGE
Lloh1:
ldr x8, [x8, _ZEND_INTERNAL_CLASS@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
ldp x9, x0, [x0, #8]
add w10, w21, w22
lsl w1, w10, #3
cmp x9, x8
b.ne LBB0_2
; %bb.1:
bl _realloc
str x0, [x19, #16]
cbnz w22, LBB0_3
b LBB0_12
LBB0_2:
bl _erealloc
str x0, [x19, #16]
cbz w22, LBB0_12
LBB0_3:
add w8, w21, #1
b LBB0_5
LBB0_4: ; in Loop: Header=BB0_5 Depth=1
cbz x22, LBB0_12
LBB0_5: ; =>This Loop Header: Depth=1
; Child Loop BB0_7 Depth 2
add x22, x22, #1
ldr x9, [x20, #16]
ldr x9, [x9, x22, lsl #3]
tbnz w21, #31, LBB0_9
; %bb.6: ; in Loop: Header=BB0_5 Depth=1
mov x10, #0 ; =0x0
ldr x11, [x19, #16]
LBB0_7: ; Parent Loop BB0_5 Depth=1
; => This Inner Loop Header: Depth=2
ldr x12, [x11, x10, lsl #3]
cmp x12, x9
b.eq LBB0_10
; %bb.8: ; in Loop: Header=BB0_7 Depth=2
add x10, x10, #1
cmp x8, x10
b.ne LBB0_7
b LBB0_4
LBB0_9: ; in Loop: Header=BB0_5 Depth=1
mov w10, #0 ; =0x0
LBB0_10: ; in Loop: Header=BB0_5 Depth=1
cmp w10, w21
b.ne LBB0_4
; %bb.11: ; in Loop: Header=BB0_5 Depth=1
ldr x10, [x19, #16]
ldrsw x11, [x19]
add w12, w11, #1
str w12, [x19]
str x9, [x10, x11, lsl #3]
b LBB0_4
LBB0_12:
Lloh3:
adrp x8, _ZEND_ACC_RESOLVED_INTERFACES@GOTPAGE
Lloh4:
ldr x8, [x8, _ZEND_ACC_RESOLVED_INTERFACES@GOTPAGEOFF]
Lloh5:
ldr w8, [x8]
ldr w9, [x19, #24]
orr w8, w9, w8
str w8, [x19, #24]
ldr w8, [x19]
cmp w21, w8
b.ge LBB0_14
LBB0_13: ; =>This Inner Loop Header: Depth=1
ldr x8, [x19, #16]
add x20, x21, #1
ldr x1, [x8, x21, lsl #3]
mov x0, x19
bl _do_implement_interface
ldrsw x8, [x19]
mov x21, x20
cmp x20, x8
b.lt LBB0_13
LBB0_14:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.cfi_endproc
; -- End function
.comm _ZEND_INTERNAL_CLASS,8,3 ; @ZEND_INTERNAL_CLASS
.comm _ZEND_ACC_RESOLVED_INTERFACES,4,2 ; @ZEND_ACC_RESOLVED_INTERFACES
.no_dead_strip _zend_do_inherit_interfaces
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _util_replace_whitespace ## -- Begin function util_replace_whitespace
.p2align 4, 0x90
_util_replace_whitespace: ## @util_replace_whitespace
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdx, %r14
movq %rsi, %rbx
movq %rdi, %r15
callq _assert
movq %rbx, -48(%rbp) ## 8-byte Spill
movq %rbx, %rdi
callq _assert
movq _WHITESPACE@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %r15, %rdi
callq _strspn
movq %rax, %r12
xorl %ebx, %ebx
xorl %r13d, %r13d
jmp LBB0_1
LBB0_7: ## in Loop: Header=BB0_1 Depth=1
movq -48(%rbp), %rcx ## 8-byte Reload
LBB0_10: ## in Loop: Header=BB0_1 Depth=1
movzbl (%r15,%r12), %eax
movb %al, (%rcx,%r13)
incq %r13
xorl %ecx, %ecx
LBB0_11: ## in Loop: Header=BB0_1 Depth=1
incq %r12
movl %ecx, %ebx
LBB0_1: ## =>This Inner Loop Header: Depth=1
cmpq %r14, %r13
jbe LBB0_2
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
cmpq %r14, %r12
jae LBB0_12
## %bb.4: ## in Loop: Header=BB0_1 Depth=1
movzbl (%r15,%r12), %eax
testb %al, %al
jne LBB0_5
jmp LBB0_12
.p2align 4, 0x90
LBB0_2: ## in Loop: Header=BB0_1 Depth=1
movzbl (%r15,%r12), %eax
LBB0_5: ## in Loop: Header=BB0_1 Depth=1
movsbl %al, %edi
callq _isspace
movl $1, %ecx
testq %rax, %rax
jne LBB0_11
## %bb.6: ## in Loop: Header=BB0_1 Depth=1
testl %ebx, %ebx
je LBB0_7
## %bb.8: ## in Loop: Header=BB0_1 Depth=1
leaq -1(%r13), %rax
cmpq %r14, %rax
jae LBB0_12
## %bb.9: ## in Loop: Header=BB0_1 Depth=1
movq -48(%rbp), %rcx ## 8-byte Reload
movb $95, (%rcx,%r13)
incq %r13
jmp LBB0_10
LBB0_12:
movq -48(%rbp), %rax ## 8-byte Reload
movb $0, (%rax,%r13)
movq %r13, %rax
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _WHITESPACE,4,2 ## @WHITESPACE
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _util_replace_whitespace ; -- Begin function util_replace_whitespace
.p2align 2
_util_replace_whitespace: ; @util_replace_whitespace
.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, x1
mov x21, x0
bl _assert
mov x0, x19
bl _assert
Lloh0:
adrp x8, _WHITESPACE@GOTPAGE
Lloh1:
ldr x8, [x8, _WHITESPACE@GOTPAGEOFF]
Lloh2:
ldr w1, [x8]
mov x0, x21
bl _strspn
mov x22, x0
mov w25, #0 ; =0x0
mov x23, #0 ; =0x0
mov w24, #95 ; =0x5f
cmp x23, x20
b.hi LBB0_2
LBB0_1:
ldrb w8, [x21, x22]
b LBB0_4
LBB0_2:
cmp x22, x20
b.hs LBB0_11
; %bb.3:
ldrb w8, [x21, x22]
cbz w8, LBB0_11
LBB0_4:
sxtb w0, w8
bl _isspace
cbz x0, LBB0_6
; %bb.5:
mov w25, #1 ; =0x1
b LBB0_10
LBB0_6:
cbz w25, LBB0_9
; %bb.7:
sub x8, x23, #1
cmp x8, x20
b.hs LBB0_11
; %bb.8:
strb w24, [x19, x23]
add x23, x23, #1
LBB0_9:
mov w25, #0 ; =0x0
ldrb w8, [x21, x22]
strb w8, [x19, x23]
add x23, x23, #1
LBB0_10:
add x22, x22, #1
cmp x23, x20
b.ls LBB0_1
b LBB0_2
LBB0_11:
strb wzr, [x19, x23]
mov x0, x23
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
ldp x20, x19, [sp, #48] ; 16-byte Folded Reload
ldp x22, x21, [sp, #32] ; 16-byte Folded Reload
ldp x24, x23, [sp, #16] ; 16-byte Folded Reload
ldp x26, x25, [sp], #80 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _WHITESPACE,4,2 ; @WHITESPACE
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function decode_drc_channel_exclusions
_decode_drc_channel_exclusions: ## @decode_drc_channel_exclusions
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
.cfi_offset %rbx, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %rbx
movq %rdi, %r14
xorl %r15d, %r15d
.p2align 4, 0x90
LBB0_1: ## =>This Inner Loop Header: Depth=1
movq %rbx, %rdi
callq _get_bits1
movq (%r14), %rcx
movq %rax, (%rcx,%r15)
addq $8, %r15
jmp LBB0_1
.cfi_endproc
## -- End function
.comm _MAX_CHANNELS,4,2 ## @MAX_CHANNELS
.no_dead_strip _decode_drc_channel_exclusions
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function decode_drc_channel_exclusions
_decode_drc_channel_exclusions: ; @decode_drc_channel_exclusions
.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
mov x21, #0 ; =0x0
LBB0_1: ; =>This Inner Loop Header: Depth=1
mov x0, x19
bl _get_bits1
ldr x8, [x20]
str x0, [x8, x21]
add x21, x21, #8
b LBB0_1
.cfi_endproc
; -- End function
.comm _MAX_CHANNELS,4,2 ; @MAX_CHANNELS
.no_dead_strip _decode_drc_channel_exclusions
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _ip22_nvram_read ## -- Begin function ip22_nvram_read
.p2align 4, 0x90
_ip22_nvram_read: ## @ip22_nvram_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 %rbx
pushq %rax
.cfi_offset %rbx, -24
movl %edi, %ebx
xorl %eax, %eax
callq _ip22_is_fullhouse
testq %rax, %rax
je LBB0_1
## %bb.2:
movq _hpc3c0@GOTPCREL(%rip), %rax
movq (%rax), %rdi
addq $8, %rdi
movl %ebx, %esi
addq $8, %rsp
popq %rbx
popq %rbp
jmp _ip22_eeprom_read ## TAILCALL
LBB0_1:
addl %ebx, %ebx
movq _hpc3c0@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq (%rax), %rax
movslq %ebx, %rcx
movzwl -4(%rax,%rcx,4), %eax
orl $65280, %eax ## imm = 0xFF00
addq $8, %rsp
popq %rbx
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _hpc3c0,8,3 ## @hpc3c0
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _ip22_nvram_read ; -- Begin function ip22_nvram_read
.p2align 2
_ip22_nvram_read: ; @ip22_nvram_read
.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 _ip22_is_fullhouse
Lloh0:
adrp x8, _hpc3c0@GOTPAGE
Lloh1:
ldr x8, [x8, _hpc3c0@GOTPAGEOFF]
cbz x0, LBB0_2
; %bb.1:
ldr x8, [x8]
add x0, x8, #8
mov x1, x19
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
b _ip22_eeprom_read
LBB0_2:
lsl w9, w19, #1
ldr x8, [x8]
ldr x8, [x8]
add x8, x8, w9, sxtw #2
ldurh w8, [x8, #-4]
orr w0, w8, #0xff00
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _hpc3c0,8,3 ; @hpc3c0
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function opretf
_opretf: ## @opretf
.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
movl (%rax), %edx
movq _OT_CONSTANT@GOTPCREL(%rip), %rcx
testl %edx, (%rcx)
je LBB0_2
## %bb.1:
movl 8(%rax), %ecx
imull 4(%rax), %ecx
movl %ecx, -4(%rsi)
sarl $8, %ecx
jmp LBB0_3
LBB0_2:
movq _OT_UNKNOWN@GOTPCREL(%rip), %rdi
xorl %eax, %eax
movl $203, %ecx
cmpl (%rdi), %edx
jne LBB0_4
LBB0_3:
movl %ecx, (%rsi)
movl $1, %eax
LBB0_4:
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _OT_CONSTANT,4,2 ## @OT_CONSTANT
.comm _OT_UNKNOWN,4,2 ## @OT_UNKNOWN
.no_dead_strip _opretf
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function opretf
_opretf: ; @opretf
.cfi_startproc
; %bb.0:
ldr x8, [x2]
ldr w9, [x8]
Lloh0:
adrp x10, _OT_CONSTANT@GOTPAGE
Lloh1:
ldr x10, [x10, _OT_CONSTANT@GOTPAGEOFF]
Lloh2:
ldr w10, [x10]
tst w10, w9
b.eq LBB0_2
; %bb.1:
ldp w9, w8, [x8, #4]
mul w8, w8, w9
stur w8, [x1, #-4]
asr w8, w8, #8
b LBB0_4
LBB0_2:
Lloh3:
adrp x8, _OT_UNKNOWN@GOTPAGE
Lloh4:
ldr x8, [x8, _OT_UNKNOWN@GOTPAGEOFF]
Lloh5:
ldr w8, [x8]
cmp w9, w8
b.ne LBB0_5
; %bb.3:
mov w8, #203 ; =0xcb
LBB0_4:
str w8, [x1]
mov w0, #1 ; =0x1
ret
LBB0_5:
mov w0, #0 ; =0x0
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.cfi_endproc
; -- End function
.comm _OT_CONSTANT,4,2 ; @OT_CONSTANT
.comm _OT_UNKNOWN,4,2 ; @OT_UNKNOWN
.no_dead_strip _opretf
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function walk_constant_heap_clamped
_walk_constant_heap_clamped: ## @walk_constant_heap_clamped
.cfi_startproc
## %bb.0:
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 %rcx, %r15
movq 8(%rcx), %rax
movq %r9, -72(%rbp) ## 8-byte Spill
cmpq %r9, 16(%rax)
jle LBB0_16
## %bb.1:
movq %r8, %r14
movq %rsi, %rcx
movl 24(%rax), %eax
movq %rdx, -64(%rbp) ## 8-byte Spill
movl (%rdx,%rax,4), %esi
movq %rcx, -56(%rbp) ## 8-byte Spill
leaq (%rcx,%rax,4), %rdx
movq %rdi, -48(%rbp) ## 8-byte Spill
callq _apply_clamped_constant
movb $-127, (%r14)
movl $1, %eax
xorl %r13d, %r13d
jmp LBB0_2
.p2align 4, 0x90
LBB0_12: ## in Loop: Header=BB0_2 Depth=1
shrl %eax
decl %r13d
LBB0_13: ## in Loop: Header=BB0_2 Depth=1
movl %eax, %r12d
LBB0_14: ## in Loop: Header=BB0_2 Depth=1
movl %r12d, %eax
testl %r13d, %r13d
js LBB0_15
LBB0_2: ## =>This Inner Loop Header: Depth=1
movl %r13d, %ebx
movzbl (%r14,%rbx), %ecx
cmpl $130, %ecx
je LBB0_12
## %bb.3: ## in Loop: Header=BB0_2 Depth=1
cmpl $129, %ecx
je LBB0_9
## %bb.4: ## in Loop: Header=BB0_2 Depth=1
cmpl $128, %ecx
jne LBB0_13
## %bb.5: ## in Loop: Header=BB0_2 Depth=1
movl (%r15), %ecx
leal (%rax,%rax), %r12d
LBB0_6: ## in Loop: Header=BB0_2 Depth=1
orl $1, %r12d
cmpl %ecx, %r12d
jae LBB0_12
## %bb.7: ## in Loop: Header=BB0_2 Depth=1
movq 8(%r15), %rcx
movl %r12d, %edx
shlq $4, %rdx
movq -72(%rbp), %rsi ## 8-byte Reload
cmpq %rsi, (%rcx,%rdx)
jle LBB0_12
## %bb.8: ## in Loop: Header=BB0_2 Depth=1
addq %rdx, %rcx
movl 8(%rcx), %eax
movq -64(%rbp), %rcx ## 8-byte Reload
movl (%rcx,%rax,4), %esi
movq -56(%rbp), %rcx ## 8-byte Reload
leaq (%rcx,%rax,4), %rdx
movq -48(%rbp), %rdi ## 8-byte Reload
callq _apply_clamped_constant
movb $-126, (%r14,%rbx)
movb $-127, 1(%r14,%rbx)
incq %rbx
movl %ebx, %r13d
jmp LBB0_14
.p2align 4, 0x90
LBB0_9: ## in Loop: Header=BB0_2 Depth=1
leal (%rax,%rax), %r12d
movl (%r15), %ecx
movq 8(%r15), %rdx
cmpl %ecx, %r12d
jb LBB0_11
## %bb.10: ## in Loop: Header=BB0_2 Depth=1
movq %r12, %rsi
shlq $4, %rsi
movq -72(%rbp), %rdi ## 8-byte Reload
cmpq %rdi, (%rdx,%rsi)
jle LBB0_6
LBB0_11: ## in Loop: Header=BB0_2 Depth=1
movq %r12, %rax
shlq $4, %rax
movl 8(%rdx,%rax), %eax
movq -64(%rbp), %rcx ## 8-byte Reload
movl (%rcx,%rax,4), %esi
movq -56(%rbp), %rcx ## 8-byte Reload
leaq (%rcx,%rax,4), %rdx
movq -48(%rbp), %rdi ## 8-byte Reload
callq _apply_clamped_constant
movslq %r13d, %r13
movb $-128, (%r14,%rbx)
movb $-127, -1(%r14,%r13)
decq %r13
jmp LBB0_14
LBB0_16:
addq $40, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_15:
leaq L_.str(%rip), %rdi
addq $40, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _checkGLcall ## TAILCALL
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "walk_constant_heap_clamped()"
.no_dead_strip _walk_constant_heap_clamped
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function walk_constant_heap_clamped
_walk_constant_heap_clamped: ; @walk_constant_heap_clamped
.cfi_startproc
; %bb.0:
ldr x8, [x3, #8]
ldr x9, [x8, #16]
cmp x9, x5
b.le LBB0_16
; %bb.1:
stp x28, x27, [sp, #-96]! ; 16-byte Folded Spill
stp x26, x25, [sp, #16] ; 16-byte Folded Spill
stp x24, x23, [sp, #32] ; 16-byte Folded Spill
stp x22, x21, [sp, #48] ; 16-byte Folded Spill
stp x20, x19, [sp, #64] ; 16-byte Folded Spill
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
mov x19, x5
mov x20, x4
mov x21, x3
mov x22, x2
mov x23, x1
mov x24, x0
ldr w8, [x8, #24]
lsl x8, x8, #2
ldr w1, [x2, x8]
add x2, x23, x8
bl _apply_clamped_constant
mov w28, #0 ; =0x0
mov w25, #129 ; =0x81
strb w25, [x20]
mov w8, #1 ; =0x1
b LBB0_4
LBB0_2: ; in Loop: Header=BB0_4 Depth=1
lsr w27, w8, #1
sub w28, w28, #1
LBB0_3: ; in Loop: Header=BB0_4 Depth=1
mov x8, x27
tbnz w28, #31, LBB0_17
LBB0_4: ; =>This Inner Loop Header: Depth=1
mov w26, w28
ldrb w9, [x20, x26]
cmp w9, #130
b.eq LBB0_2
; %bb.5: ; in Loop: Header=BB0_4 Depth=1
cmp w9, #129
b.eq LBB0_11
; %bb.6: ; in Loop: Header=BB0_4 Depth=1
cmp w9, #128
b.ne LBB0_15
; %bb.7: ; in Loop: Header=BB0_4 Depth=1
ldr w9, [x21]
lsl w27, w8, #1
LBB0_8: ; in Loop: Header=BB0_4 Depth=1
orr w27, w27, #0x1
cmp w27, w9
b.hs LBB0_2
; %bb.9: ; in Loop: Header=BB0_4 Depth=1
ldr x9, [x21, #8]
add x9, x9, w27, uxtw #4
ldr x10, [x9]
cmp x10, x19
b.le LBB0_2
; %bb.10: ; in Loop: Header=BB0_4 Depth=1
ldr w8, [x9, #8]
lsl x8, x8, #2
ldr w1, [x22, x8]
add x2, x23, x8
mov x0, x24
bl _apply_clamped_constant
add x28, x26, #1
mov w8, #130 ; =0x82
b LBB0_14
LBB0_11: ; in Loop: Header=BB0_4 Depth=1
lsl w27, w8, #1
ldr w9, [x21]
ldr x10, [x21, #8]
cmp w27, w9
b.lo LBB0_13
; %bb.12: ; in Loop: Header=BB0_4 Depth=1
lsl x11, x27, #4
ldr x11, [x10, x11]
cmp x11, x19
b.le LBB0_8
LBB0_13: ; in Loop: Header=BB0_4 Depth=1
add x8, x10, x27, lsl #4
ldr w8, [x8, #8]
lsl x8, x8, #2
ldr w1, [x22, x8]
add x2, x23, x8
mov x0, x24
bl _apply_clamped_constant
sxtw x8, w28
sub x28, x8, #1
mov w8, #128 ; =0x80
LBB0_14: ; in Loop: Header=BB0_4 Depth=1
strb w8, [x20, x26]
strb w25, [x20, x28]
; kill: def $w28 killed $w28 killed $x28 def $x28
b LBB0_3
LBB0_15: ; in Loop: Header=BB0_4 Depth=1
mov x27, x8
b LBB0_3
LBB0_16:
ret
LBB0_17:
Lloh0:
adrp x0, l_.str@PAGE
Lloh1:
add x0, x0, l_.str@PAGEOFF
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 _checkGLcall
.loh AdrpAdd Lloh0, Lloh1
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "walk_constant_heap_clamped()"
.no_dead_strip _walk_constant_heap_clamped
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _handle_uart_irq ## -- Begin function handle_uart_irq
.p2align 4, 0x90
_handle_uart_irq: ## @handle_uart_irq
.cfi_startproc
## %bb.0:
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 _AUX_MU_IIR_REG@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _get32
andl $6, %eax
cmpl $2, %eax
jne LBB0_7
## %bb.1:
movq _AUX_MU_LSR_REG@GOTPCREL(%rip), %rbx
movl (%rbx), %edi
callq _get32
testb $32, %al
jne LBB0_2
LBB0_7:
addq $8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_2:
movq _rd_buffer_index@GOTPCREL(%rip), %r14
movq _wr_buffer_index@GOTPCREL(%rip), %r15
movq _AUX_MU_IO_REG@GOTPCREL(%rip), %r13
movq _BUFFER_SIZE@GOTPCREL(%rip), %r12
jmp LBB0_3
.p2align 4, 0x90
LBB0_6: ## in Loop: Header=BB0_3 Depth=1
movl (%rbx), %edi
callq _get32
testb $32, %al
je LBB0_7
LBB0_3: ## =>This Inner Loop Header: Depth=1
movq (%r14), %rax
cmpq (%r15), %rax
je LBB0_6
## %bb.4: ## in Loop: Header=BB0_3 Depth=1
movq _buffer@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
leaq 1(%rax), %rdx
movq %rdx, (%r14)
movsbl (%rcx,%rax), %esi
movl (%r13), %edi
callq _put32
movq (%r14), %rax
cmpq (%r12), %rax
jne LBB0_6
## %bb.5: ## in Loop: Header=BB0_3 Depth=1
movq $0, (%r14)
jmp LBB0_6
.cfi_endproc
## -- End function
.comm _AUX_MU_IIR_REG,4,2 ## @AUX_MU_IIR_REG
.comm _AUX_MU_LSR_REG,4,2 ## @AUX_MU_LSR_REG
.comm _AUX_MU_IO_REG,4,2 ## @AUX_MU_IO_REG
.comm _buffer,8,3 ## @buffer
.comm _wr_buffer_index,8,3 ## @wr_buffer_index
.comm _BUFFER_SIZE,8,3 ## @BUFFER_SIZE
.comm _rd_buffer_index,8,3 ## @rd_buffer_index
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _handle_uart_irq ; -- Begin function handle_uart_irq
.p2align 2
_handle_uart_irq: ; @handle_uart_irq
.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, _AUX_MU_IIR_REG@GOTPAGE
Lloh1:
ldr x8, [x8, _AUX_MU_IIR_REG@GOTPAGEOFF]
Lloh2:
ldr w0, [x8]
bl _get32
and w8, w0, #0x6
cmp w8, #2
b.ne LBB0_2
; %bb.1:
Lloh3:
adrp x19, _AUX_MU_LSR_REG@GOTPAGE
Lloh4:
ldr x19, [x19, _AUX_MU_LSR_REG@GOTPAGEOFF]
ldr w0, [x19]
bl _get32
tbnz w0, #5, LBB0_3
LBB0_2:
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:
Lloh5:
adrp x20, _rd_buffer_index@GOTPAGE
Lloh6:
ldr x20, [x20, _rd_buffer_index@GOTPAGEOFF]
Lloh7:
adrp x21, _wr_buffer_index@GOTPAGE
Lloh8:
ldr x21, [x21, _wr_buffer_index@GOTPAGEOFF]
Lloh9:
adrp x22, _buffer@GOTPAGE
Lloh10:
ldr x22, [x22, _buffer@GOTPAGEOFF]
Lloh11:
adrp x23, _AUX_MU_IO_REG@GOTPAGE
Lloh12:
ldr x23, [x23, _AUX_MU_IO_REG@GOTPAGEOFF]
Lloh13:
adrp x24, _BUFFER_SIZE@GOTPAGE
Lloh14:
ldr x24, [x24, _BUFFER_SIZE@GOTPAGEOFF]
b LBB0_5
LBB0_4: ; in Loop: Header=BB0_5 Depth=1
ldr w0, [x19]
bl _get32
tbz w0, #5, LBB0_2
LBB0_5: ; =>This Inner Loop Header: Depth=1
ldr x8, [x20]
ldr x9, [x21]
cmp x8, x9
b.eq LBB0_4
; %bb.6: ; in Loop: Header=BB0_5 Depth=1
ldr x9, [x22]
add x10, x8, #1
str x10, [x20]
ldrsb w1, [x9, x8]
ldr w0, [x23]
bl _put32
ldr x8, [x20]
ldr x9, [x24]
cmp x8, x9
b.ne LBB0_4
; %bb.7: ; in Loop: Header=BB0_5 Depth=1
str xzr, [x20]
b LBB0_4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpLdrGot Lloh13, Lloh14
.loh AdrpLdrGot Lloh11, Lloh12
.loh AdrpLdrGot Lloh9, Lloh10
.loh AdrpLdrGot Lloh7, Lloh8
.loh AdrpLdrGot Lloh5, Lloh6
.cfi_endproc
; -- End function
.comm _AUX_MU_IIR_REG,4,2 ; @AUX_MU_IIR_REG
.comm _AUX_MU_LSR_REG,4,2 ; @AUX_MU_LSR_REG
.comm _AUX_MU_IO_REG,4,2 ; @AUX_MU_IO_REG
.comm _buffer,8,3 ; @buffer
.comm _wr_buffer_index,8,3 ; @wr_buffer_index
.comm _BUFFER_SIZE,8,3 ; @BUFFER_SIZE
.comm _rd_buffer_index,8,3 ; @rd_buffer_index
.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 $56, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %r8, -56(%rbp) ## 8-byte Spill
movq %rcx, -48(%rbp) ## 8-byte Spill
movl %edi, %r15d
movq %rsi, -88(%rbp)
addq %rsi, %rdx
movq %rdx, -80(%rbp)
movl $8, -72(%rbp)
xorl %r14d, %r14d
leaq -88(%rbp), %r12
leaq -64(%rbp), %r13
xorl %ebx, %ebx
.p2align 4, 0x90
LBB0_1: ## =>This Inner Loop Header: Depth=1
movq %r12, %rdi
movl %r15d, %esi
movq %r13, %rdx
callq _golombset_decode_value
testq %rax, %rax
jne LBB0_1
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movq -56(%rbp), %rax ## 8-byte Reload
cmpq (%rax), %r14
je LBB0_4
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
movq -64(%rbp), %rax
leaq (%rax,%rbx), %rcx
movq -48(%rbp), %rdx ## 8-byte Reload
movq %rcx, (%rdx,%r14,8)
decq %r14
addq %rax, %rbx
incq %rbx
jmp LBB0_1
LBB0_4:
movl $-1, %eax
addq $56, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.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
mov x22, #0 ; =0x0
mov x23, #0 ; =0x0
add x8, x1, x2
stp x1, x8, [sp, #8]
mov w8, #8 ; =0x8
str w8, [sp, #24]
LBB0_1: ; =>This Inner Loop Header: Depth=1
add x0, sp, #8
mov x2, sp
mov x1, x21
bl _golombset_decode_value
cbnz x0, LBB0_1
; %bb.2: ; in Loop: Header=BB0_1 Depth=1
ldr x8, [x19]
cmp x22, x8
b.eq LBB0_4
; %bb.3: ; in Loop: Header=BB0_1 Depth=1
ldr x8, [sp]
add x8, x8, x23
str x8, [x20, x22, lsl #3]
sub x22, x22, #1
add x23, x8, #1
b LBB0_1
LBB0_4:
mov w0, #-1 ; =0xffffffff
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
.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
.section __TEXT,__literal16,16byte_literals
.p2align 4, 0x0 ## -- Begin function ixgbe_get_ethtool_stats
LCPI0_0:
.space 16
.section __TEXT,__text,regular,pure_instructions
.p2align 4, 0x90
_ixgbe_get_ethtool_stats: ## @ixgbe_get_ethtool_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 $24, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdx, %rbx
movq %rdi, %r12
callq _netdev_priv
movq %rax, %r14
movq %rax, %rdi
callq _ixgbe_update_stats
leaq -60(%rbp), %rsi
movq %r12, %rdi
callq _dev_get_stats
movq _IXGBE_GLOBAL_STATS_LEN@GOTPCREL(%rip), %rax
cmpl $0, (%rax)
js LBB0_5
## %bb.1:
movq _ixgbe_gstrings_stats@GOTPCREL(%rip), %rax
movq (%rax), %rax
addq $8, %rax
jmp LBB0_2
.p2align 4, 0x90
LBB0_12: ## in Loop: Header=BB0_2 Depth=1
movslq (%rax), %rcx
movq (%r14,%rcx), %rcx
LBB0_13: ## in Loop: Header=BB0_2 Depth=1
movq %rcx, (%rbx)
LBB0_14: ## in Loop: Header=BB0_2 Depth=1
addq $-8, %rbx
addq $-12, %rax
LBB0_2: ## =>This Inner Loop Header: Depth=1
movl -8(%rax), %ecx
cmpl $128, %ecx
je LBB0_14
## %bb.3: ## in Loop: Header=BB0_2 Depth=1
cmpl $129, %ecx
je LBB0_12
## %bb.4: ## in Loop: Header=BB0_2 Depth=1
xorl %ecx, %ecx
jmp LBB0_13
LBB0_5:
movl (%r12), %eax
xorl %r13d, %r13d
testl %eax, %eax
jle LBB0_6
## %bb.15:
xorl %edx, %edx
movq %r12, -56(%rbp) ## 8-byte Spill
jmp LBB0_16
.p2align 4, 0x90
LBB0_37: ## in Loop: Header=BB0_16 Depth=1
xorps %xmm0, %xmm0
movups %xmm0, (%rbx,%r13,8)
LBB0_20: ## in Loop: Header=BB0_16 Depth=1
addq $2, %r13
incq %rdx
movslq %eax, %rcx
cmpq %rcx, %rdx
jge LBB0_6
LBB0_16: ## =>This Loop Header: Depth=1
## Child Loop BB0_18 Depth 2
movq 40(%r14), %rcx
movq (%rcx,%rdx,8), %r15
testq %r15, %r15
je LBB0_37
## %bb.17: ## in Loop: Header=BB0_16 Depth=1
movq %rdx, -48(%rbp) ## 8-byte Spill
leaq 16(%r15), %r12
.p2align 4, 0x90
LBB0_18: ## Parent Loop BB0_16 Depth=1
## => This Inner Loop Header: Depth=2
movq %r12, %rdi
callq _u64_stats_fetch_begin_irq
movq 8(%r15), %rcx
movq %rcx, (%rbx,%r13,8)
movq (%r15), %rcx
movq %rcx, 8(%rbx,%r13,8)
movq %r12, %rdi
movl %eax, %esi
callq _u64_stats_fetch_retry_irq
testq %rax, %rax
jne LBB0_18
## %bb.19: ## in Loop: Header=BB0_16 Depth=1
movq -56(%rbp), %r12 ## 8-byte Reload
movl (%r12), %eax
movq -48(%rbp), %rdx ## 8-byte Reload
jmp LBB0_20
LBB0_6:
movq _IXGBE_NUM_RX_QUEUES@GOTPCREL(%rip), %rax
movl (%rax), %eax
testl %eax, %eax
jle LBB0_21
## %bb.7:
movslq %r13d, %r13
xorl %edx, %edx
jmp LBB0_8
.p2align 4, 0x90
LBB0_28: ## in Loop: Header=BB0_8 Depth=1
xorps %xmm0, %xmm0
movups %xmm0, (%rbx,%r13,8)
LBB0_29: ## in Loop: Header=BB0_8 Depth=1
addq $2, %r13
incq %rdx
movslq %eax, %rcx
cmpq %rcx, %rdx
jge LBB0_21
LBB0_8: ## =>This Loop Header: Depth=1
## Child Loop BB0_10 Depth 2
movq 32(%r14), %rcx
movq (%rcx,%rdx,8), %r12
testq %r12, %r12
je LBB0_28
## %bb.9: ## in Loop: Header=BB0_8 Depth=1
movq %rdx, -48(%rbp) ## 8-byte Spill
leaq 16(%r12), %r15
.p2align 4, 0x90
LBB0_10: ## Parent Loop BB0_8 Depth=1
## => This Inner Loop Header: Depth=2
movq %r15, %rdi
callq _u64_stats_fetch_begin_irq
movq 8(%r12), %rcx
movq %rcx, (%rbx,%r13,8)
movq (%r12), %rcx
movq %rcx, 8(%rbx,%r13,8)
movq %r15, %rdi
movl %eax, %esi
callq _u64_stats_fetch_retry_irq
testq %rax, %rax
jne LBB0_10
## %bb.11: ## in Loop: Header=BB0_8 Depth=1
movq _IXGBE_NUM_RX_QUEUES@GOTPCREL(%rip), %rax
movl (%rax), %eax
movq -48(%rbp), %rdx ## 8-byte Reload
jmp LBB0_29
LBB0_21:
movq _IXGBE_MAX_PACKET_BUFFERS@GOTPCREL(%rip), %rax
movslq (%rax), %rax
testq %rax, %rax
jle LBB0_36
## %bb.22:
movq 16(%r14), %rsi
movq 24(%r14), %rdi
movslq %r13d, %rdx
movq %rax, %rcx
decq %rcx
je LBB0_23
## %bb.30:
movl %eax, %r9d
andl $2147483646, %r9d ## imm = 0x7FFFFFFE
xorl %r8d, %r8d
.p2align 4, 0x90
LBB0_31: ## =>This Inner Loop Header: Depth=1
movq (%rdi,%r8,8), %r10
movq %r10, (%rbx,%rdx,8)
movq (%rsi,%r8,8), %r10
movq %r10, 8(%rbx,%rdx,8)
movq 8(%rdi,%r8,8), %r10
movq %r10, 16(%rbx,%rdx,8)
movq 8(%rsi,%r8,8), %r10
movq %r10, 24(%rbx,%rdx,8)
addq $4, %rdx
addq $2, %r8
cmpq %r8, %r9
jne LBB0_31
## %bb.24:
testb $1, %al
je LBB0_26
LBB0_25:
movq (%rdi,%r8,8), %rdi
movq %rdi, (%rbx,%rdx,8)
movq (%rsi,%r8,8), %rsi
movq %rsi, 8(%rbx,%rdx,8)
addq $2, %rdx
LBB0_26:
movq (%r14), %rsi
movq 8(%r14), %rdi
movslq %edx, %rdx
testq %rcx, %rcx
je LBB0_27
## %bb.32:
movl %eax, %r8d
andl $2147483646, %r8d ## imm = 0x7FFFFFFE
xorl %ecx, %ecx
.p2align 4, 0x90
LBB0_33: ## =>This Inner Loop Header: Depth=1
movq (%rdi,%rcx,8), %r9
movq %r9, (%rbx,%rdx,8)
movq (%rsi,%rcx,8), %r9
movq %r9, 8(%rbx,%rdx,8)
movq 8(%rdi,%rcx,8), %r9
movq %r9, 16(%rbx,%rdx,8)
movq 8(%rsi,%rcx,8), %r9
movq %r9, 24(%rbx,%rdx,8)
addq $4, %rdx
addq $2, %rcx
cmpq %rcx, %r8
jne LBB0_33
## %bb.34:
testb $1, %al
je LBB0_36
LBB0_35:
movq (%rdi,%rcx,8), %rax
movq %rax, (%rbx,%rdx,8)
movq (%rsi,%rcx,8), %rax
movq %rax, 8(%rbx,%rdx,8)
LBB0_36:
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_23:
xorl %r8d, %r8d
testb $1, %al
jne LBB0_25
jmp LBB0_26
LBB0_27:
xorl %ecx, %ecx
testb $1, %al
jne LBB0_35
jmp LBB0_36
.cfi_endproc
## -- End function
.comm _IXGBE_GLOBAL_STATS_LEN,4,2 ## @IXGBE_GLOBAL_STATS_LEN
.comm _ixgbe_gstrings_stats,8,3 ## @ixgbe_gstrings_stats
.comm _IXGBE_NUM_RX_QUEUES,4,2 ## @IXGBE_NUM_RX_QUEUES
.comm _IXGBE_MAX_PACKET_BUFFERS,4,2 ## @IXGBE_MAX_PACKET_BUFFERS
.no_dead_strip _ixgbe_get_ethtool_stats
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function ixgbe_get_ethtool_stats
_ixgbe_get_ethtool_stats: ; @ixgbe_get_ethtool_stats
.cfi_startproc
; %bb.0:
sub sp, sp, #96
stp x26, x25, [sp, #16] ; 16-byte Folded Spill
stp x24, x23, [sp, #32] ; 16-byte Folded Spill
stp x22, x21, [sp, #48] ; 16-byte Folded Spill
stp x20, x19, [sp, #64] ; 16-byte Folded Spill
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
mov x19, x2
mov x21, x0
bl _netdev_priv
mov x20, x0
bl _ixgbe_update_stats
add x1, sp, #12
mov x0, x21
bl _dev_get_stats
Lloh0:
adrp x8, _IXGBE_GLOBAL_STATS_LEN@GOTPAGE
Lloh1:
ldr x8, [x8, _IXGBE_GLOBAL_STATS_LEN@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
tbnz w8, #31, LBB0_8
; %bb.1:
Lloh3:
adrp x8, _ixgbe_gstrings_stats@GOTPAGE
Lloh4:
ldr x8, [x8, _ixgbe_gstrings_stats@GOTPAGEOFF]
Lloh5:
ldr x8, [x8]
add x8, x8, #8
b LBB0_5
LBB0_2: ; in Loop: Header=BB0_5 Depth=1
ldrsw x9, [x8]
ldr x9, [x20, x9]
LBB0_3: ; in Loop: Header=BB0_5 Depth=1
str x9, [x19]
LBB0_4: ; in Loop: Header=BB0_5 Depth=1
sub x19, x19, #8
sub x8, x8, #12
LBB0_5: ; =>This Inner Loop Header: Depth=1
ldur w9, [x8, #-8]
cmp w9, #128
b.eq LBB0_4
; %bb.6: ; in Loop: Header=BB0_5 Depth=1
cmp w9, #129
b.eq LBB0_2
; %bb.7: ; in Loop: Header=BB0_5 Depth=1
mov x9, #0 ; =0x0
b LBB0_3
LBB0_8:
ldr w8, [x21]
cmp w8, #1
b.lt LBB0_17
; %bb.9:
mov x22, #0 ; =0x0
mov x23, #0 ; =0x0
b LBB0_12
LBB0_10: ; in Loop: Header=BB0_12 Depth=1
add x9, x19, x22, lsl #3
stp xzr, xzr, [x9]
LBB0_11: ; in Loop: Header=BB0_12 Depth=1
add x22, x22, #2
add x23, x23, #1
cmp x23, w8, sxtw
b.ge LBB0_16
LBB0_12: ; =>This Loop Header: Depth=1
; Child Loop BB0_14 Depth 2
ldr x9, [x20, #40]
ldr x24, [x9, x23, lsl #3]
cbz x24, LBB0_10
; %bb.13: ; in Loop: Header=BB0_12 Depth=1
add x25, x19, x22, lsl #3
LBB0_14: ; Parent Loop BB0_12 Depth=1
; => This Inner Loop Header: Depth=2
add x0, x24, #16
bl _u64_stats_fetch_begin_irq
mov x1, x0
ldr x8, [x24, #8]
str x8, [x25]
ldr x8, [x24]
str x8, [x25, #8]
add x0, x24, #16
bl _u64_stats_fetch_retry_irq
cbnz x0, LBB0_14
; %bb.15: ; in Loop: Header=BB0_12 Depth=1
ldr w8, [x21]
b LBB0_11
LBB0_16:
mov x23, x22
b LBB0_18
LBB0_17:
mov w23, #0 ; =0x0
LBB0_18:
Lloh6:
adrp x21, _IXGBE_NUM_RX_QUEUES@GOTPAGE
Lloh7:
ldr x21, [x21, _IXGBE_NUM_RX_QUEUES@GOTPAGEOFF]
ldr w8, [x21]
cmp w8, #1
b.lt LBB0_27
; %bb.19:
mov x22, #0 ; =0x0
; kill: def $w23 killed $w23 killed $x23 def $x23
sxtw x23, w23
b LBB0_22
LBB0_20: ; in Loop: Header=BB0_22 Depth=1
add x9, x19, x23, lsl #3
stp xzr, xzr, [x9]
LBB0_21: ; in Loop: Header=BB0_22 Depth=1
add x23, x23, #2
add x22, x22, #1
cmp x22, w8, sxtw
b.ge LBB0_26
LBB0_22: ; =>This Loop Header: Depth=1
; Child Loop BB0_24 Depth 2
ldr x9, [x20, #32]
ldr x24, [x9, x22, lsl #3]
cbz x24, LBB0_20
; %bb.23: ; in Loop: Header=BB0_22 Depth=1
add x25, x19, x23, lsl #3
LBB0_24: ; Parent Loop BB0_22 Depth=1
; => This Inner Loop Header: Depth=2
add x0, x24, #16
bl _u64_stats_fetch_begin_irq
mov x1, x0
ldr x8, [x24, #8]
str x8, [x25]
ldr x8, [x24]
str x8, [x25, #8]
add x0, x24, #16
bl _u64_stats_fetch_retry_irq
cbnz x0, LBB0_24
; %bb.25: ; in Loop: Header=BB0_22 Depth=1
ldr w8, [x21]
b LBB0_21
LBB0_26:
; kill: def $w23 killed $w23 killed $x23 def $x23
LBB0_27:
Lloh8:
adrp x8, _IXGBE_MAX_PACKET_BUFFERS@GOTPAGE
Lloh9:
ldr x8, [x8, _IXGBE_MAX_PACKET_BUFFERS@GOTPAGEOFF]
Lloh10:
ldr w8, [x8]
cmp w8, #1
b.lt LBB0_36
; %bb.28:
ldp x12, x11, [x20, #16]
sxtw x10, w23
lsl x9, x8, #3
cmp w8, #9
b.hi LBB0_37
; %bb.29:
mov x13, #0 ; =0x0
LBB0_30:
sub x14, x8, x13
add x15, x19, x10, lsl #3
add x15, x15, #8
lsl x16, x13, #3
add x12, x12, x16
add x11, x11, x16
add x10, x10, x8, lsl #1
sub x10, x10, x13, lsl #1
LBB0_31: ; =>This Inner Loop Header: Depth=1
ldr x13, [x11], #8
stur x13, [x15, #-8]
ldr x13, [x12], #8
str x13, [x15], #16
subs x14, x14, #1
b.ne LBB0_31
LBB0_32:
ldp x12, x11, [x20]
sxtw x14, w10
cmp w8, #9
b.hi LBB0_42
; %bb.33:
mov x13, #0 ; =0x0
LBB0_34:
add x9, x19, x14, lsl #3
add x9, x9, #8
lsl x14, x13, #3
add x10, x12, x14
add x11, x11, x14
sub x8, x8, x13
LBB0_35: ; =>This Inner Loop Header: Depth=1
ldr x12, [x11], #8
stur x12, [x9, #-8]
ldr x12, [x10], #8
str x12, [x9], #16
subs x8, x8, #1
b.ne LBB0_35
LBB0_36:
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
ldp x24, x23, [sp, #32] ; 16-byte Folded Reload
ldp x26, x25, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #96
ret
LBB0_37:
mov x13, #0 ; =0x0
add x15, x19, x10, lsl #3
add x16, x15, x8, lsl #4
add x17, x11, x9
add x14, x12, x9
cmp x15, x14
ccmp x12, x16, #2, lo
cset w14, lo
cmp x11, x16
ccmp x15, x17, #2, lo
b.lo LBB0_30
; %bb.38:
tbnz w14, #0, LBB0_30
; %bb.39:
and x13, x8, #0x7ffffffc
add x10, x10, x13, lsl #1
add x14, x11, #16
add x15, x15, #32
add x16, x12, #16
mov x17, x13
LBB0_40: ; =>This Inner Loop Header: Depth=1
ldp q0, q2, [x14, #-16]
ldp q1, q3, [x16, #-16]
sub x0, x15, #32
st2.2d { v0, v1 }, [x0]
st2.2d { v2, v3 }, [x15]
add x14, x14, #32
add x15, x15, #64
add x16, x16, #32
subs x17, x17, #4
b.ne LBB0_40
; %bb.41:
cmp x13, x8
b.ne LBB0_30
b LBB0_32
LBB0_42:
mov x13, #0 ; =0x0
lsl x10, x10, #32
add x10, x19, x10, asr #29
add x15, x10, x8, lsl #4
add x16, x11, x9
add x9, x12, x9
cmp x10, x9
ccmp x12, x15, #2, lo
cset w9, lo
cmp x11, x15
ccmp x10, x16, #2, lo
b.lo LBB0_34
; %bb.43:
tbnz w9, #0, LBB0_34
; %bb.44:
and x13, x8, #0x7ffffffc
add x9, x14, x13, lsl #1
add x10, x11, #16
add x14, x19, x14, lsl #3
add x14, x14, #32
add x15, x12, #16
mov x16, x13
LBB0_45: ; =>This Inner Loop Header: Depth=1
ldp q0, q2, [x10, #-16]
ldp q1, q3, [x15, #-16]
sub x17, x14, #32
st2.2d { v0, v1 }, [x17]
st2.2d { v2, v3 }, [x14]
add x10, x10, #32
add x14, x14, #64
add x15, x15, #32
subs x16, x16, #4
b.ne LBB0_45
; %bb.46:
mov x14, x9
cmp x13, x8
b.ne LBB0_34
b LBB0_36
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGot Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.cfi_endproc
; -- End function
.comm _IXGBE_GLOBAL_STATS_LEN,4,2 ; @IXGBE_GLOBAL_STATS_LEN
.comm _ixgbe_gstrings_stats,8,3 ; @ixgbe_gstrings_stats
.comm _IXGBE_NUM_RX_QUEUES,4,2 ; @IXGBE_NUM_RX_QUEUES
.comm _IXGBE_MAX_PACKET_BUFFERS,4,2 ; @IXGBE_MAX_PACKET_BUFFERS
.no_dead_strip _ixgbe_get_ethtool_stats
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _fz_bidi_resolve_paragraphs ## -- Begin function fz_bidi_resolve_paragraphs
.p2align 4, 0x90
_fz_bidi_resolve_paragraphs: ## @fz_bidi_resolve_paragraphs
.cfi_startproc
## %bb.0:
## kill: def $esi killed $esi def $rsi
testl %esi, %esi
js LBB0_1
## %bb.2:
movq _BDI_B@GOTPCREL(%rip), %rax
movq (%rax), %rcx
leal 1(%rsi), %eax
xorl %edx, %edx
.p2align 4, 0x90
LBB0_3: ## =>This Inner Loop Header: Depth=1
cmpq %rcx, (%rdi,%rdx,8)
je LBB0_5
## %bb.4: ## in Loop: Header=BB0_3 Depth=1
incq %rdx
cmpq %rdx, %rax
jne LBB0_3
jmp LBB0_6
LBB0_1:
xorl %eax, %eax
jmp LBB0_6
LBB0_5:
movl %edx, %eax
LBB0_6:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
cmpl %esi, %eax
jge LBB0_9
## %bb.7:
movl %eax, %ecx
movq (%rdi,%rcx,8), %rdx
movq _BDI_B@GOTPCREL(%rip), %rsi
cmpq (%rsi), %rdx
jne LBB0_9
## %bb.8:
movq _BDI_BN@GOTPCREL(%rip), %rdx
movq (%rdx), %rdx
incl %eax
movq %rdx, (%rdi,%rcx,8)
LBB0_9:
## kill: def $eax killed $eax killed $rax
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _BDI_B,8,3 ## @BDI_B
.comm _BDI_BN,8,3 ## @BDI_BN
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _fz_bidi_resolve_paragraphs ; -- Begin function fz_bidi_resolve_paragraphs
.p2align 2
_fz_bidi_resolve_paragraphs: ; @fz_bidi_resolve_paragraphs
.cfi_startproc
; %bb.0:
Lloh0:
adrp x9, _BDI_B@GOTPAGE
Lloh1:
ldr x9, [x9, _BDI_B@GOTPAGEOFF]
tbnz w1, #31, LBB0_4
; %bb.1:
mov x10, #0 ; =0x0
ldr x11, [x9]
add w8, w1, #1
LBB0_2: ; =>This Inner Loop Header: Depth=1
ldr x12, [x0, x10, lsl #3]
cmp x12, x11
b.eq LBB0_7
; %bb.3: ; in Loop: Header=BB0_2 Depth=1
add x10, x10, #1
cmp x8, x10
b.ne LBB0_2
b LBB0_5
LBB0_4:
mov w8, #0 ; =0x0
LBB0_5:
cmp w8, w1
b.lt LBB0_8
LBB0_6:
mov x0, x8
ret
LBB0_7:
mov x8, x10
cmp w8, w1
b.ge LBB0_6
LBB0_8:
ldr x10, [x0, w8, uxtw #3]
ldr x9, [x9]
cmp x10, x9
b.ne LBB0_6
; %bb.9:
Lloh2:
adrp x9, _BDI_BN@GOTPAGE
Lloh3:
ldr x9, [x9, _BDI_BN@GOTPAGEOFF]
Lloh4:
ldr x9, [x9]
str x9, [x0, w8, uxtw #3]
add w8, w8, #1
; kill: def $w8 killed $w8 def $x8
mov x0, x8
ret
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.cfi_endproc
; -- End function
.comm _BDI_B,8,3 ; @BDI_B
.comm _BDI_BN,8,3 ; @BDI_BN
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function add_guc_variable
_add_guc_variable: ## @add_guc_variable
.cfi_startproc
## %bb.0:
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 _num_guc_variables@GOTPCREL(%rip), %r14
movl (%r14), %ecx
movq _size_guc_variables@GOTPCREL(%rip), %r15
movl (%r15), %eax
cmpl %eax, %ecx
jle LBB0_1
## %bb.2:
leal 3(%rax), %r12d
testl %eax, %eax
cmovnsl %eax, %r12d
sarl $2, %r12d
addl %eax, %r12d
je LBB0_3
## %bb.4:
movq _guc_variables@GOTPCREL(%rip), %rax
movq (%rax), %rax
leal (,%r12,8), %edx
movl %esi, %edi
movq %rax, %rsi
callq _guc_realloc
testq %rax, %rax
je LBB0_6
LBB0_7:
movq _guc_variables@GOTPCREL(%rip), %rcx
movq %rax, (%rcx)
movl %r12d, (%r15)
movl (%r14), %ecx
jmp LBB0_8
LBB0_1:
movq _guc_variables@GOTPCREL(%rip), %rax
movq (%rax), %rax
LBB0_8:
leal -1(%rcx), %esi
movl %esi, (%r14)
movslq %ecx, %rcx
movq %rbx, (%rax,%rcx,8)
movq _guc_variables@GOTPCREL(%rip), %rax
movq (%rax), %rdi
movq _guc_var_compare@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movl $8, %edx
callq _qsort
movl $1, %eax
LBB0_9:
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
LBB0_3:
movl %esi, %edi
movl $800, %esi ## imm = 0x320
callq _guc_malloc
movl $100, %r12d
testq %rax, %rax
jne LBB0_7
LBB0_6:
xorl %eax, %eax
jmp LBB0_9
.cfi_endproc
## -- End function
.comm _num_guc_variables,4,2 ## @num_guc_variables
.comm _size_guc_variables,4,2 ## @size_guc_variables
.comm _guc_variables,8,3 ## @guc_variables
.comm _guc_var_compare,4,2 ## @guc_var_compare
.no_dead_strip _add_guc_variable
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function add_guc_variable
_add_guc_variable: ; @add_guc_variable
.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 x20, _num_guc_variables@GOTPAGE
Lloh1:
ldr x20, [x20, _num_guc_variables@GOTPAGEOFF]
ldr w8, [x20]
Lloh2:
adrp x22, _size_guc_variables@GOTPAGE
Lloh3:
ldr x22, [x22, _size_guc_variables@GOTPAGEOFF]
ldr w9, [x22]
Lloh4:
adrp x21, _guc_variables@GOTPAGE
Lloh5:
ldr x21, [x21, _guc_variables@GOTPAGEOFF]
cmp w8, w9
b.le LBB0_3
; %bb.1:
add w8, w9, #3
cmp w9, #0
csel w8, w8, w9, lt
adds w23, w9, w8, asr #2
b.eq LBB0_4
; %bb.2:
ldr x8, [x21]
lsl w2, w23, #3
mov x0, x1
mov x1, x8
bl _guc_realloc
cbnz x0, LBB0_5
b LBB0_7
LBB0_3:
ldr x0, [x21]
b LBB0_6
LBB0_4:
mov x0, x1
mov w1, #800 ; =0x320
bl _guc_malloc
mov w23, #100 ; =0x64
cbz x0, LBB0_7
LBB0_5:
str x0, [x21]
str w23, [x22]
ldr w8, [x20]
LBB0_6:
sub w1, w8, #1
str w1, [x20]
str x19, [x0, w8, sxtw #3]
ldr x0, [x21]
Lloh6:
adrp x8, _guc_var_compare@GOTPAGE
Lloh7:
ldr x8, [x8, _guc_var_compare@GOTPAGEOFF]
Lloh8:
ldr w3, [x8]
mov w2, #8 ; =0x8
bl _qsort
mov w0, #1 ; =0x1
LBB0_7:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
ldp x20, x19, [sp, #32] ; 16-byte Folded Reload
ldp x22, x21, [sp, #16] ; 16-byte Folded Reload
ldp x24, x23, [sp], #64 ; 16-byte Folded Reload
ret
.loh AdrpLdrGot Lloh4, Lloh5
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.cfi_endproc
; -- End function
.comm _num_guc_variables,4,2 ; @num_guc_variables
.comm _size_guc_variables,4,2 ; @size_guc_variables
.comm _guc_variables,8,3 ; @guc_variables
.comm _guc_var_compare,4,2 ; @guc_var_compare
.no_dead_strip _add_guc_variable
.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
movl %esi, (%r14)
leaq L_.str.1(%rip), %rdi
xorl %r15d, %r15d
xorl %eax, %eax
callq _TRACE
cmpl $0, -44(%rbp)
js LBB0_10
## %bb.5:
movl $4, %r12d
xorl %r13d, %r13d
xorl %r15d, %r15d
jmp LBB0_6
.p2align 4, 0x90
LBB0_8: ## in Loop: Header=BB0_6 Depth=1
leaq L_.str.3(%rip), %rdi
movl %r13d, %esi
movl %r15d, %edx
xorl %eax, %eax
callq _TRACE
movq -56(%rbp), %rax
movl -4(%rax,%r12), %eax
movq 8(%r14), %rcx
movslq %r15d, %rdx
incl %r15d
movl %eax, (%rcx,%rdx,4)
LBB0_9: ## in Loop: Header=BB0_6 Depth=1
decq %r13
movslq -44(%rbp), %rax
addq $-12, %r12
cmpq %rax, %r13
jg LBB0_10
LBB0_6: ## =>This Inner Loop Header: Depth=1
leaq L_.str.2(%rip), %rdi
movl %r13d, %esi
xorl %eax, %eax
callq _TRACE
testl %ebx, %ebx
je LBB0_8
## %bb.7: ## in Loop: Header=BB0_6 Depth=1
movl -48(%rbp), %edi
movq -56(%rbp), %rsi
addq %r12, %rsi
callq _isLoopback
testl %eax, %eax
jne LBB0_9
jmp LBB0_8
LBB0_1:
xorl %r14d, %r14d
jmp LBB0_13
LBB0_10:
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]
tbnz w8, #31, LBB0_11
; %bb.4:
mov x25, #0 ; =0x0
mov x21, #0 ; =0x0
mov w24, #0 ; =0x0
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_7
LBB0_5: ; in Loop: Header=BB0_7 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
LBB0_6: ; in Loop: Header=BB0_7 Depth=1
sub x21, x21, #1
ldrsw x8, [sp, #44]
sub x25, x25, #12
cmp x21, x8
b.gt LBB0_12
LBB0_7: ; =>This Inner Loop Header: Depth=1
mov x0, x22
mov x1, x21
bl _TRACE
cbz w19, LBB0_5
; %bb.8: ; in Loop: Header=BB0_7 Depth=1
ldr w0, [sp, #28]
ldr x8, [sp, #32]
add x8, x8, x25
add x1, x8, #4
bl _isLoopback
cbnz w0, LBB0_6
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
.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 _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, %r13d
leal 1(%r13), %r15d
movl %r15d, %edi
callq _heap_alloc
testq %rax, %rax
je LBB0_10
## %bb.1:
movq %rax, %r14
movq %rax, %rdi
movq %rbx, %rsi
movl %r15d, %edx
callq _memcpy
cmpl $-1, %r13d
jl LBB0_4
## %bb.2:
addl $2, %r13d
xorl %r15d, %r15d
.p2align 4, 0x90
LBB0_3: ## =>This Inner Loop Header: Depth=1
movsbl (%r14,%r15), %edi
callq _tolower
movb %al, (%r14,%r15)
incq %r15
cmpq %r15, %r13
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 x23, x0
add w0, w0, #1
bl _heap_alloc
cbz x0, LBB0_10
; %bb.1:
mov x19, x0
add w2, w23, #1
mov x1, x20
bl _memcpy
cmn w23, #1
b.lt LBB0_4
; %bb.2:
add w23, w23, #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 opvmon
_opvmon: ## @opvmon
.cfi_startproc
## %bb.0:
movl $-1, %eax
cmpl $1, (%rdx)
jne LBB0_4
## %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_MEMORY@GOTPCREL(%rip), %rdx
movl (%rdx), %edx
orl (%rcx), %edx
je LBB0_3
## %bb.2:
movabsq $854698491919, %rax ## imm = 0xC70000000F
movq %rax, -4(%rsi)
movq 8(%rcx), %rax
movl (%rax), %eax
orl $48, %eax
movl %eax, 4(%rsi)
movl $2, %eax
LBB0_3:
popq %rbp
LBB0_4:
retq
.cfi_endproc
## -- End function
.comm _OT_MEMORY,4,2 ## @OT_MEMORY
.comm _OT_QWORD,4,2 ## @OT_QWORD
.no_dead_strip _opvmon
.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 opvmon
lCPI0_0:
.long 15 ; 0xf
.long 199 ; 0xc7
.section __TEXT,__text,regular,pure_instructions
.p2align 2
_opvmon: ; @opvmon
.cfi_startproc
; %bb.0:
ldr w8, [x2]
cmp w8, #1
b.ne LBB0_3
; %bb.1:
ldr x8, [x2, #8]
ldr w9, [x8]
Lloh0:
adrp x10, _OT_MEMORY@GOTPAGE
Lloh1:
ldr x10, [x10, _OT_MEMORY@GOTPAGEOFF]
Lloh2:
ldr w10, [x10]
orr w9, w10, w9
cbz w9, LBB0_3
; %bb.2:
Lloh3:
adrp x9, lCPI0_0@PAGE
Lloh4:
ldr d0, [x9, lCPI0_0@PAGEOFF]
stur d0, [x1, #-4]
ldr x8, [x8, #8]
ldr w8, [x8]
orr w8, w8, #0x30
str w8, [x1, #4]
mov w0, #2 ; =0x2
ret
LBB0_3:
mov w0, #-1 ; =0xffffffff
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdr Lloh3, Lloh4
.cfi_endproc
; -- End function
.comm _OT_MEMORY,4,2 ; @OT_MEMORY
.comm _OT_QWORD,4,2 ; @OT_QWORD
.no_dead_strip _opvmon
.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 _gen_function_fetch ## -- Begin function gen_function_fetch
.p2align 4, 0x90
_gen_function_fetch: ## @gen_function_fetch
.cfi_startproc
## %bb.0:
movl $-1, %eax
cmpl $11, %esi
jl LBB0_2
## %bb.1:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _tlcomb_fetch_type@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, (%rdi)
movq _tlsub_ret_ok@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rdi)
xorl %esi, %esi
callq _IP_dup
movq _fIP@GOTPCREL(%rip), %rcx
movl %eax, (%rcx)
movl $2, %eax
popq %rbp
LBB0_2:
retq
.cfi_endproc
## -- End function
.comm _tlcomb_fetch_type,8,3 ## @tlcomb_fetch_type
.comm _tlsub_ret_ok,8,3 ## @tlsub_ret_ok
.comm _fIP,4,2 ## @fIP
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _gen_function_fetch ; -- Begin function gen_function_fetch
.p2align 2
_gen_function_fetch: ; @gen_function_fetch
.cfi_startproc
; %bb.0:
cmp w1, #11
b.ge LBB0_2
; %bb.1:
mov w0, #-1 ; =0xffffffff
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
Lloh0:
adrp x8, _tlcomb_fetch_type@GOTPAGE
Lloh1:
ldr x8, [x8, _tlcomb_fetch_type@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
str x8, [x0]
Lloh3:
adrp x8, _tlsub_ret_ok@GOTPAGE
Lloh4:
ldr x8, [x8, _tlsub_ret_ok@GOTPAGEOFF]
Lloh5:
ldr x8, [x8]
stur x8, [x0, #-8]
mov w1, #0 ; =0x0
bl _IP_dup
Lloh6:
adrp x8, _fIP@GOTPAGE
Lloh7:
ldr x8, [x8, _fIP@GOTPAGEOFF]
Lloh8:
str w0, [x8]
mov w0, #2 ; =0x2
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.loh AdrpLdrGotStr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.cfi_endproc
; -- End function
.comm _tlcomb_fetch_type,8,3 ; @tlcomb_fetch_type
.comm _tlsub_ret_ok,8,3 ; @tlsub_ret_ok
.comm _fIP,4,2 ; @fIP
.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, -92(%rbp) ## 4-byte Spill
movl 4(%rdi), %eax
movl %eax, -88(%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, -104(%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, -84(%rbp) ## 4-byte Spill
movl %r15d, %edi
callq _INTVAL
movl %eax, %r15d
movq _BITS_PER_UNIT@GOTPCREL(%rip), %rax
imull (%rax), %r15d
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, -80(%rbp) ## 8-byte Folded Spill
movl $0, -60(%rbp) ## 4-byte Folded Spill
movl %r15d, -72(%rbp) ## 4-byte Spill
jmp LBB0_4
LBB0_65: ## in Loop: Header=BB0_4 Depth=1
movl %r14d, %edi
xorl %esi, %esi
callq _XEXP
movl %eax, %edi
callq _copy_addr_to_reg
movl %r14d, %edi
movl %eax, %esi
callq _replace_equiv_address
movl %eax, %r12d
LBB0_66: ## in Loop: Header=BB0_4 Depth=1
movl %r13d, %r14d
movl %r13d, %edi
callq _GEN_INT
movl %r12d, %edi
movl %eax, %esi
callq _set_mem_size
andl $31, %r14d
movl %r14d, %edi
callq _GEN_INT
movl %r12d, %edi
movl %r15d, %esi
movl %eax, %edx
movl %ebx, %ecx
callq *-56(%rbp) ## 8-byte Folded Reload
movl %eax, %edi
callq _emit_insn
movq _BLKmode@GOTPCREL(%rip), %rax
movl (%rax), %edx
movl -68(%rbp), %eax ## 4-byte Reload
movl -72(%rbp), %r15d ## 4-byte Reload
LBB0_67: ## in Loop: Header=BB0_4 Depth=1
movq -80(%rbp), %rcx ## 8-byte Reload
addl %r13d, %ecx
movq %rcx, -80(%rbp) ## 8-byte Spill
movl %edx, %ebx
subl %r13d, %eax
jle LBB0_68
LBB0_4: ## =>This Loop Header: Depth=1
## Child Loop BB0_58 Depth 2
cmpl $127, %r15d
setg %sil
movq _TARGET_ALTIVEC@GOTPCREL(%rip), %rcx
cmpq $0, (%rcx)
setne %cl
cmpl $16, %eax
setae %dl
andb %sil, %dl
andb %cl, %dl
cmpb $1, %dl
movl %eax, -68(%rbp) ## 4-byte Spill
jne LBB0_6
## %bb.5: ## in Loop: Header=BB0_4 Depth=1
movq _V4SImode@GOTPCREL(%rip), %rax
movl (%rax), %ebx
movl $16, %r13d
movq _gen_movv4si@GOTPCREL(%rip), %rax
jmp LBB0_49
.p2align 4, 0x90
LBB0_6: ## 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_16
## %bb.7: ## in Loop: Header=BB0_4 Depth=1
movq _fixed_regs@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
cmpl $0, 20(%rcx)
jne LBB0_16
## %bb.8: ## in Loop: Header=BB0_4 Depth=1
cmpl $0, 24(%rcx)
jne LBB0_16
## %bb.9: ## in Loop: Header=BB0_4 Depth=1
cmpl $0, 28(%rcx)
jne LBB0_16
## %bb.10: ## in Loop: Header=BB0_4 Depth=1
cmpl $0, 32(%rcx)
jne LBB0_16
## %bb.11: ## in Loop: Header=BB0_4 Depth=1
cmpl $0, 36(%rcx)
jne LBB0_16
## %bb.12: ## in Loop: Header=BB0_4 Depth=1
cmpl $0, 40(%rcx)
jne LBB0_16
## %bb.13: ## in Loop: Header=BB0_4 Depth=1
cmpl $0, 44(%rcx)
jne LBB0_16
## %bb.14: ## in Loop: Header=BB0_4 Depth=1
cmpl $0, 48(%rcx)
je LBB0_15
.p2align 4, 0x90
LBB0_16: ## in Loop: Header=BB0_4 Depth=1
testq %r8, %r8
sete %cl
cmpl $17, %eax
setb %dl
orb %cl, %dl
jne LBB0_24
## %bb.17: ## in Loop: Header=BB0_4 Depth=1
movq _fixed_regs@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
cmpl $0, 20(%rcx)
jne LBB0_24
## %bb.18: ## in Loop: Header=BB0_4 Depth=1
cmpl $0, 24(%rcx)
jne LBB0_24
## %bb.19: ## in Loop: Header=BB0_4 Depth=1
cmpl $0, 28(%rcx)
jne LBB0_24
## %bb.20: ## in Loop: Header=BB0_4 Depth=1
cmpl $0, 32(%rcx)
jne LBB0_24
## %bb.21: ## in Loop: Header=BB0_4 Depth=1
cmpl $0, 36(%rcx)
jne LBB0_24
## %bb.22: ## in Loop: Header=BB0_4 Depth=1
cmpl $0, 40(%rcx)
je LBB0_23
.p2align 4, 0x90
LBB0_24: ## in Loop: Header=BB0_4 Depth=1
testq %r8, %r8
sete %cl
cmpl $9, %eax
setb %dl
orb %cl, %dl
jne LBB0_30
## %bb.25: ## in Loop: Header=BB0_4 Depth=1
movq _fixed_regs@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
cmpl $0, 20(%rcx)
jne LBB0_30
## %bb.26: ## in Loop: Header=BB0_4 Depth=1
cmpl $0, 24(%rcx)
jne LBB0_30
## %bb.27: ## in Loop: Header=BB0_4 Depth=1
cmpl $0, 28(%rcx)
jne LBB0_30
## %bb.28: ## in Loop: Header=BB0_4 Depth=1
cmpl $0, 32(%rcx)
je LBB0_29
.p2align 4, 0x90
LBB0_30: ## 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_35
## %bb.31: ## in Loop: Header=BB0_4 Depth=1
cmpl $63, %r15d
jg LBB0_34
## %bb.32: ## in Loop: Header=BB0_4 Depth=1
cmpl $32, %r15d
setge %cl
movq _STRICT_ALIGNMENT@GOTPCREL(%rip), %rdx
movl (%rdx), %edx
testl %edx, %edx
sete %sil
andb %cl, %sil
cmpb $1, %sil
jne LBB0_33
LBB0_34: ## in Loop: Header=BB0_4 Depth=1
movq _DImode@GOTPCREL(%rip), %rax
movl (%rax), %ebx
movl $8, %r13d
movq _gen_movdi@GOTPCREL(%rip), %rax
jmp LBB0_49
.p2align 4, 0x90
LBB0_35: ## 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_36
## %bb.37: ## in Loop: Header=BB0_4 Depth=1
cmpl $4, %eax
jb LBB0_41
## %bb.38: ## in Loop: Header=BB0_4 Depth=1
movq _STRICT_ALIGNMENT@GOTPCREL(%rip), %rdx
movl (%rdx), %edx
jmp LBB0_39
LBB0_36: ## in Loop: Header=BB0_4 Depth=1
cmpl $8, %eax
movl $8, %r13d
cmovbl %eax, %r13d
movq _gen_movmemsi_2reg@GOTPCREL(%rip), %rax
jmp LBB0_49
LBB0_33: ## in Loop: Header=BB0_4 Depth=1
xorl %ecx, %ecx
LBB0_39: ## in Loop: Header=BB0_4 Depth=1
cmpl $32, %r15d
setl %sil
testl %edx, %edx
setne %dil
testb %dil, %sil
jne LBB0_43
## %bb.40: ## in Loop: Header=BB0_4 Depth=1
movq _SImode@GOTPCREL(%rip), %rax
movl (%rax), %ebx
movl $4, %r13d
movq _gen_movsi@GOTPCREL(%rip), %rax
jmp LBB0_49
LBB0_41: ## in Loop: Header=BB0_4 Depth=1
cmpl $1, %eax
je LBB0_48
## %bb.42: ## in Loop: Header=BB0_4 Depth=1
movq _STRICT_ALIGNMENT@GOTPCREL(%rip), %rcx
movl (%rcx), %edx
movb $1, %cl
LBB0_43: ## in Loop: Header=BB0_4 Depth=1
cmpl $15, %r15d
jg LBB0_45
## %bb.44: ## in Loop: Header=BB0_4 Depth=1
testl %edx, %edx
je LBB0_45
## %bb.46: ## in Loop: Header=BB0_4 Depth=1
testq %r8, %r8
je LBB0_48
## %bb.47: ## in Loop: Header=BB0_4 Depth=1
testb %cl, %cl
movl $4, %r13d
cmovnel %eax, %r13d
movq _gen_movmemsi_1reg@GOTPCREL(%rip), %rax
jmp LBB0_49
LBB0_48: ## in Loop: Header=BB0_4 Depth=1
movq _QImode@GOTPCREL(%rip), %rax
movl (%rax), %ebx
movl $1, %r13d
movq _gen_movqi@GOTPCREL(%rip), %rax
jmp LBB0_49
LBB0_45: ## in Loop: Header=BB0_4 Depth=1
movq _HImode@GOTPCREL(%rip), %rax
movl (%rax), %ebx
movl $2, %r13d
movq _gen_movhi@GOTPCREL(%rip), %rax
.p2align 4, 0x90
LBB0_49: ## in Loop: Header=BB0_4 Depth=1
movq %rax, -56(%rbp) ## 8-byte Spill
movl -88(%rbp), %edi ## 4-byte Reload
movl %ebx, %esi
movq -80(%rbp), %r12 ## 8-byte Reload
movl %r12d, %edx
callq _adjust_address
movl %eax, %r15d
movl -92(%rbp), %edi ## 4-byte Reload
movl %ebx, %esi
movl %r12d, %edx
callq _adjust_address
movl %eax, %r14d
movq _BLKmode@GOTPCREL(%rip), %rax
cmpl (%rax), %ebx
movl %r15d, -96(%rbp) ## 4-byte Spill
jne LBB0_51
## %bb.50: ## in Loop: Header=BB0_4 Depth=1
movl %ebx, %edx
movl -60(%rbp), %eax ## 4-byte Reload
movl %eax, %r12d
jmp LBB0_52
.p2align 4, 0x90
LBB0_51: ## in Loop: Header=BB0_4 Depth=1
movl %ebx, %edi
callq _gen_reg_rtx
movl %eax, %r12d
movl %eax, %edi
movl %r15d, %esi
movl %ebx, -64(%rbp) ## 4-byte Spill
movq -56(%rbp), %r15 ## 8-byte Reload
callq *%r15
movl %eax, %edi
callq _emit_insn
movl %r14d, %edi
movl %r12d, %esi
callq *%r15
movq -104(%rbp), %rdx ## 8-byte Reload
movl -64(%rbp), %ebx ## 4-byte Reload
movl -60(%rbp), %esi ## 4-byte Reload
movslq %esi, %rcx
incl %esi
movl %eax, (%rdx,%rcx,4)
movq _BLKmode@GOTPCREL(%rip), %rax
movl (%rax), %edx
movl %esi, %r12d
LBB0_52: ## in Loop: Header=BB0_4 Depth=1
movl -68(%rbp), %eax ## 4-byte Reload
cmpl %r13d, %eax
je LBB0_56
## %bb.53: ## in Loop: Header=BB0_4 Depth=1
cmpl %edx, %ebx
je LBB0_56
## %bb.54: ## in Loop: Header=BB0_4 Depth=1
movq _MAX_MOVE_REG@GOTPCREL(%rip), %rcx
cmpl (%rcx), %r12d
jge LBB0_56
## %bb.55: ## in Loop: Header=BB0_4 Depth=1
movl %r12d, -60(%rbp) ## 4-byte Spill
jmp LBB0_60
.p2align 4, 0x90
LBB0_56: ## in Loop: Header=BB0_4 Depth=1
movl $0, -60(%rbp) ## 4-byte Folded Spill
testl %r12d, %r12d
js LBB0_60
## %bb.57: ## in Loop: Header=BB0_4 Depth=1
movl %r14d, -64(%rbp) ## 4-byte Spill
incl %r12d
movq -104(%rbp), %r14 ## 8-byte Reload
xorl %r15d, %r15d
.p2align 4, 0x90
LBB0_58: ## Parent Loop BB0_4 Depth=1
## => This Inner Loop Header: Depth=2
movl (%r14,%r15,4), %edi
callq _emit_insn
incq %r15
cmpq %r15, %r12
jne LBB0_58
## %bb.59: ## in Loop: Header=BB0_4 Depth=1
movq _BLKmode@GOTPCREL(%rip), %rax
movl (%rax), %edx
movl -68(%rbp), %eax ## 4-byte Reload
movl -64(%rbp), %r14d ## 4-byte Reload
LBB0_60: ## in Loop: Header=BB0_4 Depth=1
cmpl %edx, %ebx
movl -72(%rbp), %r15d ## 4-byte Reload
jne LBB0_67
## %bb.61: ## in Loop: Header=BB0_4 Depth=1
movl -96(%rbp), %ebx ## 4-byte Reload
movl %ebx, %edi
xorl %esi, %esi
callq _XEXP
movl %eax, %edi
callq _REG_P
testl %eax, %eax
jne LBB0_63
## %bb.62: ## 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_63: ## in Loop: Header=BB0_4 Depth=1
movl %r13d, %edi
callq _GEN_INT
movl %ebx, %r15d
movl %ebx, %edi
movl %eax, %esi
callq _set_mem_size
movl %r14d, %edi
xorl %esi, %esi
callq _XEXP
movl %eax, %edi
callq _REG_P
testl %eax, %eax
movl -84(%rbp), %ebx ## 4-byte Reload
je LBB0_65
## %bb.64: ## in Loop: Header=BB0_4 Depth=1
movl %r14d, %r12d
jmp LBB0_66
LBB0_29: ## in Loop: Header=BB0_4 Depth=1
cmpl $16, %eax
movl $16, %r13d
cmovbl %eax, %r13d
movq _gen_movmemsi_4reg@GOTPCREL(%rip), %rax
jmp LBB0_49
LBB0_23: ## in Loop: Header=BB0_4 Depth=1
cmpl $24, %eax
movl $24, %r13d
cmovbl %eax, %r13d
movq _gen_movmemsi_6reg@GOTPCREL(%rip), %rax
jmp LBB0_49
LBB0_15: ## in Loop: Header=BB0_4 Depth=1
cmpl $32, %eax
movl $32, %r13d
cmovbl %eax, %r13d
movq _gen_movmemsi_8reg@GOTPCREL(%rip), %rax
jmp LBB0_49
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 x25, 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_74
; %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_75
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]
ldr w24, [x28]
mul w20, w19, w25
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
and 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_74
LBB0_7: ; =>This Loop Header: Depth=1
; Child Loop BB0_64 Depth 2
cmp w22, #16
b.lo LBB0_11
; %bb.8: ; in Loop: Header=BB0_7 Depth=1
Lloh18:
adrp x8, _TARGET_ALTIVEC@GOTPAGE
Lloh19:
ldr x8, [x8, _TARGET_ALTIVEC@GOTPAGEOFF]
Lloh20:
ldr x8, [x8]
cbz x8, LBB0_11
; %bb.9: ; in Loop: Header=BB0_7 Depth=1
cmp w20, #128
b.lt LBB0_11
; %bb.10: ; 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_57
LBB0_11: ; 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_21
; %bb.12: ; in Loop: Header=BB0_7 Depth=1
cbz x8, LBB0_21
; %bb.13: ; 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_21
; %bb.14: ; in Loop: Header=BB0_7 Depth=1
ldr w10, [x9, #24]
cbnz w10, LBB0_21
; %bb.15: ; in Loop: Header=BB0_7 Depth=1
ldr w10, [x9, #28]
cbnz w10, LBB0_21
; %bb.16: ; in Loop: Header=BB0_7 Depth=1
ldr w10, [x9, #32]
cbnz w10, LBB0_21
; %bb.17: ; in Loop: Header=BB0_7 Depth=1
ldr w10, [x9, #36]
cbnz w10, LBB0_21
; %bb.18: ; in Loop: Header=BB0_7 Depth=1
ldr w10, [x9, #40]
cbnz w10, LBB0_21
; %bb.19: ; in Loop: Header=BB0_7 Depth=1
ldr w10, [x9, #44]
cbnz w10, LBB0_21
; %bb.20: ; in Loop: Header=BB0_7 Depth=1
ldr w9, [x9, #48]
cbz w9, LBB0_73
LBB0_21: ; in Loop: Header=BB0_7 Depth=1
cmp w22, #17
b.lo LBB0_29
; %bb.22: ; in Loop: Header=BB0_7 Depth=1
cbz x8, LBB0_29
; %bb.23: ; 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_29
; %bb.24: ; in Loop: Header=BB0_7 Depth=1
ldr w10, [x9, #24]
cbnz w10, LBB0_29
; %bb.25: ; in Loop: Header=BB0_7 Depth=1
ldr w10, [x9, #28]
cbnz w10, LBB0_29
; %bb.26: ; in Loop: Header=BB0_7 Depth=1
ldr w10, [x9, #32]
cbnz w10, LBB0_29
; %bb.27: ; in Loop: Header=BB0_7 Depth=1
ldr w10, [x9, #36]
cbnz w10, LBB0_29
; %bb.28: ; in Loop: Header=BB0_7 Depth=1
ldr w9, [x9, #40]
cbz w9, LBB0_72
LBB0_29: ; in Loop: Header=BB0_7 Depth=1
cmp w22, #9
b.lo LBB0_35
; %bb.30: ; in Loop: Header=BB0_7 Depth=1
cbz x8, LBB0_35
; %bb.31: ; 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_35
; %bb.32: ; in Loop: Header=BB0_7 Depth=1
ldr w10, [x9, #24]
cbnz w10, LBB0_35
; %bb.33: ; in Loop: Header=BB0_7 Depth=1
ldr w10, [x9, #28]
cbnz w10, LBB0_35
; %bb.34: ; in Loop: Header=BB0_7 Depth=1
ldr w9, [x9, #32]
cbz w9, LBB0_71
LBB0_35: ; 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_41
; %bb.36: ; in Loop: Header=BB0_7 Depth=1
cbz x10, LBB0_41
; %bb.37: ; in Loop: Header=BB0_7 Depth=1
cmp w20, #63
b.gt LBB0_40
; %bb.38: ; 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_46
; %bb.39: ; in Loop: Header=BB0_7 Depth=1
cmp w20, #32
b.lt LBB0_46
LBB0_40: ; 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_57
LBB0_41: ; in Loop: Header=BB0_7 Depth=1
cmp w22, #5
cset w9, lo
b.lo LBB0_44
; %bb.42: ; in Loop: Header=BB0_7 Depth=1
cmp x8, #0
ccmp x10, #0, #0, ne
b.ne LBB0_44
; %bb.43: ; 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_57
LBB0_44: ; in Loop: Header=BB0_7 Depth=1
cmp w22, #4
b.lo LBB0_50
; %bb.45: ; 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_46: ; in Loop: Header=BB0_7 Depth=1
cmp w20, #31
b.gt LBB0_49
; %bb.47: ; in Loop: Header=BB0_7 Depth=1
cbz w10, LBB0_49
; %bb.48: ; in Loop: Header=BB0_7 Depth=1
cmp w20, #15
b.le LBB0_52
b LBB0_56
LBB0_49: ; 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_57
LBB0_50: ; in Loop: Header=BB0_7 Depth=1
cmp w22, #1
b.eq LBB0_55
; %bb.51: ; 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_56
LBB0_52: ; in Loop: Header=BB0_7 Depth=1
cbz w10, LBB0_56
; %bb.53: ; in Loop: Header=BB0_7 Depth=1
cbz x8, LBB0_55
; %bb.54: ; 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_57
LBB0_55: ; 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_57
LBB0_56: ; 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_57: ; 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_59
; %bb.58: ; in Loop: Header=BB0_7 Depth=1
mov x8, x24
subs w22, w22, w25
b.ne LBB0_60
b LBB0_62
LBB0_59: ; 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]
add w21, w21, #1
ldr w8, [x28]
subs w22, w22, w25
b.eq LBB0_62
LBB0_60: ; 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_62
; %bb.61: ; in Loop: Header=BB0_7 Depth=1
cmp w24, w8
b.ne LBB0_6
b LBB0_67
LBB0_62: ; in Loop: Header=BB0_7 Depth=1
tbnz w21, #31, LBB0_66
; %bb.63: ; in Loop: Header=BB0_7 Depth=1
add w21, w21, #1
ldur x28, [x29, #-104] ; 8-byte Folded Reload
LBB0_64: ; 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_64
; %bb.65: ; 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_67
LBB0_66: ; in Loop: Header=BB0_7 Depth=1
mov w21, #0 ; =0x0
cmp w24, w8
b.ne LBB0_6
LBB0_67: ; in Loop: Header=BB0_7 Depth=1
mov x0, x26
mov w1, #0 ; =0x0
bl _XEXP
bl _REG_P
cbnz w0, LBB0_69
; %bb.68: ; 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_69: ; 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.70: ; 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_71: ; 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_57
LBB0_72: ; 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_57
LBB0_73: ; 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_57
LBB0_74:
mov w0, #1 ; =0x1
LBB0_75:
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_77
; %bb.76:
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_77:
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
orl 8(%r15), %ecx
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]
Lloh5:
adrp x9, _CHAN_VCC_5V@GOTPAGE
Lloh6:
ldr x9, [x9, _CHAN_VCC_5V@GOTPAGEOFF]
ldr w10, [x20, #8]
Lloh7:
ldr w9, [x9]
orr w9, w9, w10
mov w10, #5000 ; =0x1388
mov w11, #3300 ; =0xce4
cmp w9, #0
csel w9, w11, w10, 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 AdrpAdrp Lloh3, Lloh5
.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_9
## %bb.1:
cmpq $268435456, %rdi ## imm = 0x10000000
jb LBB0_3
## %bb.2:
movq %rdi, %rcx
shrq $28, %rcx
andl $128, %ecx
movq %rcx, (%rsi,%rax,8)
decq %rax
andl $268435455, %edi ## imm = 0xFFFFFFF
movq _TRUE@GOTPCREL(%rip), %rcx
cmpq $0, (%rcx)
je LBB0_9
LBB0_3:
cmpq $2097152, %rdi ## imm = 0x200000
jb LBB0_5
## %bb.4:
movq $0, (%rsi,%rax,8)
decq %rax
andl $2097151, %edi ## imm = 0x1FFFFF
movq _TRUE@GOTPCREL(%rip), %rcx
cmpq $0, (%rcx)
je LBB0_9
LBB0_5:
cmpq $16384, %rdi ## imm = 0x4000
jb LBB0_7
## %bb.6:
movq $0, (%rsi,%rax,8)
decq %rax
andl $16383, %edi ## imm = 0x3FFF
movq _TRUE@GOTPCREL(%rip), %rcx
cmpq $0, (%rcx)
je LBB0_9
LBB0_7:
cmpq $128, %rdi
jb LBB0_9
## %bb.8:
movq $0, (%rsi,%rax,8)
decq %rax
andl $127, %edi
LBB0_9:
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_9
; %bb.1:
lsr x8, x0, #28
cbz x8, LBB0_3
; %bb.2:
and x8, x8, #0x80
str x8, [x1, x2, lsl #3]
sub 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_9
LBB0_3:
cmp x0, #512, lsl #12 ; =2097152
b.lo LBB0_5
; %bb.4:
str xzr, [x1, x2, lsl #3]
sub 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_9
LBB0_5:
cmp x0, #4, lsl #12 ; =16384
b.lo LBB0_7
; %bb.6:
str xzr, [x1, x2, lsl #3]
sub 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_9
LBB0_7:
cmp x0, #128
b.lo LBB0_9
; %bb.8:
str xzr, [x1, x2, lsl #3]
sub x2, x2, #1
and x0, x0, #0x7f
LBB0_9:
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
.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
.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, %r14
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, %rbx
xorl %eax, %eax
testq %r13, %r13
je LBB0_2
.p2align 4, 0x90
LBB0_4: ## =>This Inner Loop Header: Depth=1
movl %eax, %r12d
movzbl 4(%r13), %r15d
movl 8(%r13), %ecx
movq 16(%r13), %r8
movl (%r13), %edx
movq %rbx, %rdi
movl %eax, %esi
callq _qat_hal_concat_micro_code
addl %r12d, %eax
movq 24(%r13), %r13
testq %r13, %r13
jne LBB0_4
## %bb.5:
testl %eax, %eax
js LBB0_6
LBB0_2:
movl %eax, %ecx
incl %eax
movl $65536, (%rbx,%rcx,4) ## imm = 0x10000
movzbl %r15b, %esi
leaq -44(%rbp), %rcx
movq %r14, %rdi
xorl %edx, %edx
movq %rbx, %r8
movl %eax, %r9d
callq _qat_hal_exec_micro_init_lm
movl %eax, %r14d
jmp LBB0_7
LBB0_3:
movq _ENOMEM@GOTPCREL(%rip), %rax
xorl %r14d, %r14d
subl (%rax), %r14d
jmp LBB0_8
LBB0_6:
xorl %r14d, %r14d
LBB0_7:
movq %rbx, %rdi
callq _kfree
LBB0_8:
movl %r14d, %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 x20, 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_5
; %bb.1:
mov x19, x0
mov w22, #0 ; =0x0
cbz x23, LBB0_4
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, x19
mov x1, x22
bl _qat_hal_concat_micro_code
add w22, w22, w0
ldr x23, [x23, #24]
cbnz x23, LBB0_2
; %bb.3:
tbnz w22, #31, LBB0_6
LBB0_4:
mov w8, #65536 ; =0x10000
str w8, [x19, w22, uxtw #2]
add x3, sp, #12
add w5, w22, #1
mov x0, x20
mov x1, x21
mov w2, #0 ; =0x0
mov x4, x19
bl _qat_hal_exec_micro_init_lm
mov x20, x0
b LBB0_7
LBB0_5:
Lloh3:
adrp x8, _ENOMEM@GOTPAGE
Lloh4:
ldr x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh5:
ldr w8, [x8]
neg w20, w8
b LBB0_8
LBB0_6:
mov w20, #0 ; =0x0
LBB0_7:
mov x0, x19
bl _kfree
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
.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 insert
_insert: ## @insert
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl (%rdx), %eax
testl %eax, %eax
jle LBB0_4
## %bb.1:
movq 8(%rdx), %rcx
cmpq %rdi, (%rcx)
jne LBB0_2
## %bb.3:
orl %esi, 8(%rcx)
popq %rbp
retq
LBB0_4:
leal 1(%rax), %ecx
movl %ecx, (%rdx)
testl %eax, %eax
jns LBB0_5
jmp LBB0_7
LBB0_2:
incl %eax
movl %eax, (%rdx)
LBB0_5:
movd %esi, %xmm0
movl $8, %eax
xorl %ecx, %ecx
.p2align 4, 0x90
LBB0_6: ## =>This Inner Loop Header: Depth=1
movq 8(%rdx), %rsi
movq -8(%rsi,%rax), %r8
incq %rcx
movq %rdi, -8(%rsi,%rax)
movq (%rsi,%rax), %xmm1 ## xmm1 = mem[0],zero
movq %xmm0, (%rsi,%rax)
movslq (%rdx), %rsi
addq $16, %rax
movq %r8, %rdi
movdqa %xmm1, %xmm0
cmpq %rsi, %rcx
jl LBB0_6
LBB0_7:
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _insert
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function insert
_insert: ; @insert
.cfi_startproc
; %bb.0:
ldr w8, [x2]
cmp w8, #1
b.lt LBB0_3
; %bb.1:
ldr x9, [x2, #8]
ldr x10, [x9]
cmp x0, x10
b.ne LBB0_4
; %bb.2:
ldr w8, [x9, #8]
orr w8, w8, w1
str w8, [x9, #8]
ret
LBB0_3:
add w9, w8, #1
str w9, [x2]
tbz w8, #31, LBB0_5
b LBB0_7
LBB0_4:
add w8, w8, #1
str w8, [x2]
LBB0_5:
mov x8, #0 ; =0x0
mov x9, #0 ; =0x0
LBB0_6: ; =>This Inner Loop Header: Depth=1
ldr x10, [x2, #8]
add x10, x10, x8
ldp x11, x12, [x10]
add x9, x9, #1
stp x0, x1, [x10]
ldrsw x10, [x2]
add x8, x8, #16
mov x1, x12
mov x0, x11
cmp x9, x10
b.lt LBB0_6
LBB0_7:
ret
.cfi_endproc
; -- End function
.no_dead_strip _insert
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function proxy_from_string
_proxy_from_string: ## @proxy_from_string
.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
popq %rbp
retq
.cfi_endproc
## -- End function
.no_dead_strip _proxy_from_string
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function proxy_from_string
_proxy_from_string: ; @proxy_from_string
.cfi_startproc
; %bb.0:
mov w0, #0 ; =0x0
ret
.cfi_endproc
; -- End function
.no_dead_strip _proxy_from_string
.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
testl %r9d, %r9d
je LBB0_35
## %bb.1:
movl 16(%rbp), %r11d
movslq %edi, %r15
movslq 24(%rbp), %rax
leaq LJTI0_1(%rip), %r14
movl %r8d, -52(%rbp) ## 4-byte Spill
movq %rcx, -88(%rbp) ## 8-byte Spill
movq %r15, -80(%rbp) ## 8-byte Spill
jmp LBB0_2
.p2align 4, 0x90
LBB0_34: ## in Loop: Header=BB0_2 Depth=1
incl %r9d
movq -96(%rbp), %rax ## 8-byte Reload
incq %rax
addq %r15, %rsi
testl %r9d, %r9d
je LBB0_35
LBB0_2: ## =>This Loop Header: Depth=1
## Child Loop BB0_5 Depth 2
## Child Loop BB0_27 Depth 2
movq (%rcx), %r12
movq %rax, -96(%rbp) ## 8-byte Spill
movslq (%r12,%rax,4), %rax
testq %rax, %rax
js LBB0_34
## %bb.3: ## in Loop: Header=BB0_2 Depth=1
addq %rax, %r12
xorl %eax, %eax
testl %r11d, %r11d
je LBB0_18
## %bb.4: ## in Loop: Header=BB0_2 Depth=1
movl %r11d, %edi
jmp LBB0_5
.p2align 4, 0x90
LBB0_6: ## in Loop: Header=BB0_5 Depth=2
shrl $2, %r10d
xorl %edx, %edx
movl %r10d, %eax
subl %edx, %edi
je LBB0_18
LBB0_5: ## Parent Loop BB0_2 Depth=1
## => This Inner Loop Header: Depth=2
movzbl (%r12), %r10d
incq %r12
movl %r10d, %edx
andl $3, %edx
leaq LJTI0_0(%rip), %rbx
movslq (%rbx,%rdx,4), %rdx
addq %rbx, %rdx
jmpq *%rdx
LBB0_7: ## in Loop: Header=BB0_5 Depth=2
shrl $2, %r10d
shll $6, %eax
leal (%rax,%r10), %edx
decl %edx
movl %edx, %eax
subl %edi, %eax
jl LBB0_16
jmp LBB0_8
.p2align 4, 0x90
LBB0_9: ## in Loop: Header=BB0_5 Depth=2
movl %r10d, %ebx
andl $4, %ebx
shrl $3, %r10d
shll $5, %eax
leal (%r10,%rax), %edx
incl %edx
movl %edx, %r14d
subl %edi, %r14d
jg LBB0_11
## %bb.10: ## in Loop: Header=BB0_5 Depth=2
leaq LJTI0_1(%rip), %r14
testl %ebx, %ebx
je LBB0_16
jmp LBB0_34
.p2align 4, 0x90
LBB0_12: ## in Loop: Header=BB0_5 Depth=2
movl %r10d, %ebx
andl $4, %ebx
shrl $3, %r10d
shll $5, %eax
leal (%r10,%rax), %edx
incl %edx
movl %edx, %eax
subl %edi, %eax
jg LBB0_13
## %bb.14: ## in Loop: Header=BB0_5 Depth=2
movl %edx, %eax
addq %rax, %r12
testl %ebx, %ebx
jne LBB0_34
LBB0_16: ## in Loop: Header=BB0_5 Depth=2
xorl %eax, %eax
subl %edx, %edi
jne LBB0_5
LBB0_18: ## in Loop: Header=BB0_2 Depth=1
movl %r8d, %r10d
movq %rsi, %r13
testl %r8d, %r8d
jg LBB0_19
jmp LBB0_34
LBB0_13: ## in Loop: Header=BB0_2 Depth=1
movl %eax, %r15d
movslq %edi, %rax
addq %rax, %r12
movl %r8d, %r10d
movq %rsi, %r13
jmp LBB0_26
LBB0_8: ## in Loop: Header=BB0_2 Depth=1
movl %r8d, %r10d
movq %rsi, %r13
jmp LBB0_22
LBB0_11: ## in Loop: Header=BB0_2 Depth=1
movl %r8d, %r15d
movq %rsi, %r13
jmp LBB0_24
.p2align 4, 0x90
LBB0_19: ## in Loop: Header=BB0_2 Depth=1
movzbl (%r12), %edi
incq %r12
movl %edi, %edx
andl $3, %edx
movslq (%r14,%rdx,4), %rdx
addq %r14, %rdx
jmpq *%rdx
LBB0_20: ## in Loop: Header=BB0_2 Depth=1
movl %r10d, -44(%rbp) ## 4-byte Spill
shrl $2, %edi
xorl %ebx, %ebx
movl %edi, %eax
jmp LBB0_32
LBB0_23: ## in Loop: Header=BB0_2 Depth=1
movl %r10d, %r15d
movl %edi, %ebx
andl $4, %ebx
shrl $3, %edi
shll $5, %eax
leal (%rdi,%rax), %r14d
incl %r14d
LBB0_24: ## in Loop: Header=BB0_2 Depth=1
movq %rsi, -72(%rbp) ## 8-byte Spill
movl %r9d, -48(%rbp) ## 4-byte Spill
cmpl %r15d, %r14d
cmovgel %r15d, %r14d
leal -1(%r14), %eax
movq %rax, -64(%rbp) ## 8-byte Spill
leaq 1(%rax), %rdx
movq %r13, %rdi
movl $255, %esi
callq _memset
subl %r14d, %r15d
movl %r15d, -44(%rbp) ## 4-byte Spill
movq -64(%rbp), %rax ## 8-byte Reload
addq %rax, %r13
incq %r13
movq -80(%rbp), %r15 ## 8-byte Reload
movl 16(%rbp), %r11d
movq -72(%rbp), %rsi ## 8-byte Reload
movq -88(%rbp), %rcx ## 8-byte Reload
movl -52(%rbp), %r8d ## 4-byte Reload
movl -48(%rbp), %r9d ## 4-byte Reload
xorl %eax, %eax
jmp LBB0_31
LBB0_25: ## in Loop: Header=BB0_2 Depth=1
movl %edi, %ebx
andl $4, %ebx
shrl $3, %edi
shll $5, %eax
leal (%rdi,%rax), %r15d
incl %r15d
LBB0_26: ## in Loop: Header=BB0_2 Depth=1
movq %rsi, -72(%rbp) ## 8-byte Spill
movl %r9d, -48(%rbp) ## 4-byte Spill
cmpl %r10d, %r15d
movl %r10d, -44(%rbp) ## 4-byte Spill
cmovgel %r10d, %r15d
movl %r15d, -64(%rbp) ## 4-byte Spill
jmp LBB0_27
.p2align 4, 0x90
LBB0_29: ## in Loop: Header=BB0_27 Depth=2
incq %r12
movb %al, (%r13)
incq %r13
decl %r15d
je LBB0_30
LBB0_27: ## Parent Loop BB0_2 Depth=1
## => This Inner Loop Header: Depth=2
movzbl (%r13), %r14d
movzbl (%r12), %eax
testl %r14d, %r14d
je LBB0_29
## %bb.28: ## in Loop: Header=BB0_27 Depth=2
movzbl %al, %edi
callq _FZ_EXPAND
movl $255, %edi
movl %r14d, %esi
movl %eax, %edx
callq _FZ_BLEND
jmp LBB0_29
.p2align 4, 0x90
LBB0_30: ## in Loop: Header=BB0_2 Depth=1
movl -64(%rbp), %eax ## 4-byte Reload
subl %eax, -44(%rbp) ## 4-byte Folded Spill
xorl %eax, %eax
movl -48(%rbp), %r9d ## 4-byte Reload
movl -52(%rbp), %r8d ## 4-byte Reload
movq -88(%rbp), %rcx ## 8-byte Reload
movq -72(%rbp), %rsi ## 8-byte Reload
movl 16(%rbp), %r11d
movq -80(%rbp), %r15 ## 8-byte Reload
LBB0_31: ## in Loop: Header=BB0_2 Depth=1
leaq LJTI0_1(%rip), %r14
LBB0_32: ## in Loop: Header=BB0_2 Depth=1
testl %ebx, %ebx
movl -44(%rbp), %r10d ## 4-byte Reload
jne LBB0_34
## %bb.33: ## in Loop: Header=BB0_2 Depth=1
testl %r10d, %r10d
jg LBB0_19
jmp LBB0_34
LBB0_21: ## in Loop: Header=BB0_2 Depth=1
shrl $2, %edi
shll $6, %eax
addl %edi, %eax
incl %eax
LBB0_22: ## in Loop: Header=BB0_2 Depth=1
cmpl %r10d, %eax
cmovgel %r10d, %eax
subl %eax, %r10d
movl %r10d, -44(%rbp) ## 4-byte Spill
cltq
addq %rax, %r13
xorl %eax, %eax
xorl %ebx, %ebx
jmp LBB0_32
LBB0_35:
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_6, LBB0_6-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
LJTI0_0:
.long L0_0_set_6
.long L0_0_set_7
.long L0_0_set_9
.long L0_0_set_12
.set L0_1_set_20, LBB0_20-LJTI0_1
.set L0_1_set_21, LBB0_21-LJTI0_1
.set L0_1_set_23, LBB0_23-LJTI0_1
.set L0_1_set_25, LBB0_25-LJTI0_1
LJTI0_1:
.long L0_1_set_20
.long L0_1_set_21
.long L0_1_set_23
.long L0_1_set_25
.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_33
; %bb.1:
mov x22, x6
mov x20, x5
mov x23, x1
sxtw x12, w0
sxtw x27, w7
str w4, [sp, #28] ; 4-byte Folded Spill
stp x12, x3, [sp, #8] ; 16-byte Folded Spill
str w6, [sp, #4] ; 4-byte Folded Spill
b LBB0_3
LBB0_2: ; in Loop: Header=BB0_3 Depth=1
add x27, x27, #1
add x23, x23, x12
add w20, w20, #1
cbz w20, LBB0_33
LBB0_3: ; =>This Loop Header: Depth=1
; Child Loop BB0_7 Depth 2
; Child Loop BB0_27 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
mov w8, #0 ; =0x0
cbz w22, LBB0_16
; %bb.5: ; in Loop: Header=BB0_3 Depth=1
mov x9, x22
b LBB0_7
LBB0_6: ; in Loop: Header=BB0_7 Depth=2
lsr w8, w11, #2
subs w9, w9, w10
b.eq LBB0_16
LBB0_7: ; Parent Loop BB0_3 Depth=1
; => This Inner Loop Header: Depth=2
ldrb w11, [x28], #1
and w10, w11, #0x3
cmp w10, #1
b.gt LBB0_10
; %bb.8: ; in Loop: Header=BB0_7 Depth=2
cbz w10, LBB0_6
; %bb.9: ; in Loop: Header=BB0_7 Depth=2
lsr w10, w11, #2
orr w8, w10, w8, lsl #6
sub w10, w8, #1
subs w11, w10, w9
b.lt LBB0_15
b LBB0_18
LBB0_10: ; in Loop: Header=BB0_7 Depth=2
and w26, w11, #0x4
cmp w10, #2
b.ne LBB0_13
; %bb.11: ; in Loop: Header=BB0_7 Depth=2
lsr w10, w11, #3
orr w8, w10, w8, lsl #5
add w10, w8, #1
subs w8, w10, w9
b.gt LBB0_19
; %bb.12: ; in Loop: Header=BB0_7 Depth=2
cbz w26, LBB0_15
b LBB0_2
LBB0_13: ; in Loop: Header=BB0_7 Depth=2
lsr w10, w11, #3
orr w8, w10, w8, lsl #5
add w10, w8, #1
subs w8, w10, w9
b.gt LBB0_17
; %bb.14: ; in Loop: Header=BB0_7 Depth=2
add x28, x28, w10, uxtw
cbnz w26, LBB0_2
LBB0_15: ; in Loop: Header=BB0_7 Depth=2
mov w8, #0 ; =0x0
subs w9, w9, w10
b.ne LBB0_7
LBB0_16: ; in Loop: Header=BB0_3 Depth=1
mov x21, x4
mov x24, x23
cmp w4, #1
b.ge LBB0_20
b LBB0_2
LBB0_17: ; in Loop: Header=BB0_3 Depth=1
add x28, x28, w9, sxtw
mov x21, x4
mov x24, x23
b LBB0_25
LBB0_18: ; in Loop: Header=BB0_3 Depth=1
mov x21, x4
mov x24, x23
b LBB0_31
LBB0_19: ; in Loop: Header=BB0_3 Depth=1
mov x21, x4
mov x24, x23
b LBB0_24
LBB0_20: ; in Loop: Header=BB0_3 Depth=1
ldrb w9, [x28], #1
and w10, w9, #0x3
cmp w10, #1
b.gt LBB0_23
; %bb.21: ; in Loop: Header=BB0_3 Depth=1
lsr w9, w9, #2
cbnz w10, LBB0_30
; %bb.22: ; in Loop: Header=BB0_3 Depth=1
mov w26, #0 ; =0x0
mov x8, x9
cbz w26, LBB0_32
b LBB0_2
LBB0_23: ; in Loop: Header=BB0_3 Depth=1
lsr w11, w9, #3
and w26, w9, #0x4
orr w8, w11, w8, lsl #5
add w8, w8, #1
cmp w10, #2
b.ne LBB0_25
LBB0_24: ; in Loop: Header=BB0_3 Depth=1
cmp w8, w21
csel w19, w8, w21, lt
sub w8, w19, #1
add x25, x8, #1
mov x0, x24
mov w1, #255 ; =0xff
mov x2, x25
bl _memset
ldp x12, x3, [sp, #8] ; 16-byte Folded Reload
mov w8, #0 ; =0x0
sub w21, w21, w19
ldr w4, [sp, #28] ; 4-byte Folded Reload
add x24, x25, x24
cbz w26, LBB0_32
b LBB0_2
LBB0_25: ; in Loop: Header=BB0_3 Depth=1
cmp w8, w21
csel w19, w8, w21, lt
mov x22, x19
b LBB0_27
LBB0_26: ; in Loop: Header=BB0_27 Depth=2
strb w0, [x24], #1
subs w22, w22, #1
b.eq LBB0_29
LBB0_27: ; Parent Loop BB0_3 Depth=1
; => This Inner Loop Header: Depth=2
ldrb w25, [x24]
ldrb w0, [x28], #1
cbz w25, LBB0_26
; %bb.28: ; in Loop: Header=BB0_27 Depth=2
bl _FZ_EXPAND
mov x2, x0
mov w0, #255 ; =0xff
mov x1, x25
bl _FZ_BLEND
b LBB0_26
LBB0_29: ; in Loop: Header=BB0_3 Depth=1
mov w8, #0 ; =0x0
sub w21, w21, w19
ldr w22, [sp, #4] ; 4-byte Folded Reload
ldr w4, [sp, #28] ; 4-byte Folded Reload
ldp x12, x3, [sp, #8] ; 16-byte Folded Reload
cbz w26, LBB0_32
b LBB0_2
LBB0_30: ; in Loop: Header=BB0_3 Depth=1
orr w8, w9, w8, lsl #6
add w11, w8, #1
LBB0_31: ; in Loop: Header=BB0_3 Depth=1
mov w8, #0 ; =0x0
mov w26, #0 ; =0x0
cmp w11, w21
csel w9, w11, w21, lt
sub w21, w21, w9
add x24, x24, w9, sxtw
cbnz w26, LBB0_2
LBB0_32: ; in Loop: Header=BB0_3 Depth=1
cmp w21, #1
b.ge LBB0_20
b LBB0_2
LBB0_33:
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 _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
.p2align 4, 0x90 ## -- Begin function gfx_v8_0_get_csb_buffer
_gfx_v8_0_get_csb_buffer: ## @gfx_v8_0_get_csb_buffer
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $24, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, -48(%rbp) ## 8-byte Spill
testq %rsi, %rsi
je LBB0_15
## %bb.1:
movq -48(%rbp), %rax ## 8-byte Reload
cmpq $0, 8(%rax)
jne LBB0_15
## %bb.2:
movq %rsi, %r13
movq _PACKET3_PREAMBLE_CNTL@GOTPCREL(%rip), %rax
movl (%rax), %edi
xorl %esi, %esi
callq _PACKET3
movl %eax, %edi
callq _cpu_to_le32
movq %rax, (%r13)
movq _PACKET3_PREAMBLE_BEGIN_CLEAR_STATE@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _cpu_to_le32
movq %rax, -8(%r13)
movq _PACKET3_CONTEXT_CONTROL@GOTPCREL(%rip), %rax
movl (%rax), %edi
movl $1, %esi
callq _PACKET3
movl %eax, %edi
callq _cpu_to_le32
movq %rax, (%r13)
movl $-2147483648, %edi ## imm = 0x80000000
callq _cpu_to_le32
movq %rax, 8(%r13)
movl $-2147483648, %edi ## imm = 0x80000000
callq _cpu_to_le32
movq %rax, 16(%r13)
movq -48(%rbp), %rax ## 8-byte Reload
movq 8(%rax), %rax
movq %rax, -56(%rbp) ## 8-byte Spill
movq 8(%rax), %r14
testq %r14, %r14
je LBB0_3
## %bb.4:
leaq 16(%r13), %rax
movq %rax, -64(%rbp) ## 8-byte Spill
movl $3, %r12d
LBB0_5: ## =>This Loop Header: Depth=1
## Child Loop BB0_7 Depth 2
## Child Loop BB0_10 Depth 3
cmpq $0, (%r14)
jne LBB0_7
## %bb.6: ## in Loop: Header=BB0_5 Depth=1
movq %r12, %r15
LBB0_13: ## in Loop: Header=BB0_5 Depth=1
movq -56(%rbp), %rax ## 8-byte Reload
movq 24(%rax), %r14
addq $16, %rax
movq %rax, -56(%rbp) ## 8-byte Spill
movq %r15, %r12
testq %r14, %r14
jne LBB0_5
jmp LBB0_14
.p2align 4, 0x90
LBB0_12: ## in Loop: Header=BB0_7 Depth=2
cmpq $0, 16(%r14)
leaq 16(%r14), %r14
movq %r15, %r12
je LBB0_13
LBB0_7: ## Parent Loop BB0_5 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB0_10 Depth 3
movq -56(%rbp), %rax ## 8-byte Reload
movq (%rax), %rax
movq _SECT_CONTEXT@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jne LBB0_15
## %bb.8: ## in Loop: Header=BB0_7 Depth=2
movq _PACKET3_SET_CONTEXT_REG@GOTPCREL(%rip), %rax
movl (%rax), %edi
movl 8(%r14), %esi
callq _PACKET3
movl %eax, %edi
callq _cpu_to_le32
movq %rax, (%r13,%r12,8)
movl 12(%r14), %edi
movq _PACKET3_SET_CONTEXT_REG_START@GOTPCREL(%rip), %rax
subl (%rax), %edi
callq _cpu_to_le32
leaq 2(%r12), %r15
movq %rax, 8(%r13,%r12,8)
cmpl $0, 8(%r14)
je LBB0_12
## %bb.9: ## in Loop: Header=BB0_7 Depth=2
movq -64(%rbp), %rax ## 8-byte Reload
leaq (%rax,%r12,8), %rbx
xorl %r12d, %r12d
.p2align 4, 0x90
LBB0_10: ## Parent Loop BB0_5 Depth=1
## Parent Loop BB0_7 Depth=2
## => This Inner Loop Header: Depth=3
movq (%r14), %rax
movl (%rax,%r12,4), %edi
callq _cpu_to_le32
movq %rax, (%rbx,%r12,8)
incq %r12
movslq 8(%r14), %rax
cmpq %rax, %r12
jb LBB0_10
## %bb.11: ## in Loop: Header=BB0_7 Depth=2
addq %r12, %r15
jmp LBB0_12
LBB0_3:
movl $3, %r15d
LBB0_14:
movq _PACKET3_SET_CONTEXT_REG@GOTPCREL(%rip), %rax
movl (%rax), %edi
movl $2, %esi
callq _PACKET3
movl %eax, %edi
callq _cpu_to_le32
movq %rax, (%r13,%r15,8)
movq _mmPA_SC_RASTER_CONFIG@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq _PACKET3_SET_CONTEXT_REG_START@GOTPCREL(%rip), %rax
subl (%rax), %edi
callq _cpu_to_le32
movq %rax, 8(%r13,%r15,8)
movq -48(%rbp), %r14 ## 8-byte Reload
movq (%r14), %rax
movq (%rax), %rax
movl (%rax), %edi
callq _cpu_to_le32
movq %rax, 16(%r13,%r15,8)
movq (%r14), %rax
movq (%rax), %rax
movl 4(%rax), %edi
callq _cpu_to_le32
movq %rax, 24(%r13,%r15,8)
movq _PACKET3_PREAMBLE_CNTL@GOTPCREL(%rip), %rax
movl (%rax), %edi
xorl %esi, %esi
callq _PACKET3
movl %eax, %edi
callq _cpu_to_le32
movq %rax, 32(%r13,%r15,8)
movq _PACKET3_PREAMBLE_END_CLEAR_STATE@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _cpu_to_le32
movq %rax, 40(%r13,%r15,8)
movq _PACKET3_CLEAR_STATE@GOTPCREL(%rip), %rax
movl (%rax), %edi
xorl %esi, %esi
callq _PACKET3
movl %eax, %edi
callq _cpu_to_le32
movq %rax, 48(%r13,%r15,8)
xorl %edi, %edi
callq _cpu_to_le32
movq %rax, 56(%r13,%r15,8)
LBB0_15:
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _PACKET3_PREAMBLE_CNTL,4,2 ## @PACKET3_PREAMBLE_CNTL
.comm _PACKET3_PREAMBLE_BEGIN_CLEAR_STATE,4,2 ## @PACKET3_PREAMBLE_BEGIN_CLEAR_STATE
.comm _PACKET3_CONTEXT_CONTROL,4,2 ## @PACKET3_CONTEXT_CONTROL
.comm _SECT_CONTEXT,8,3 ## @SECT_CONTEXT
.comm _PACKET3_SET_CONTEXT_REG,4,2 ## @PACKET3_SET_CONTEXT_REG
.comm _PACKET3_SET_CONTEXT_REG_START,4,2 ## @PACKET3_SET_CONTEXT_REG_START
.comm _mmPA_SC_RASTER_CONFIG,4,2 ## @mmPA_SC_RASTER_CONFIG
.comm _PACKET3_PREAMBLE_END_CLEAR_STATE,4,2 ## @PACKET3_PREAMBLE_END_CLEAR_STATE
.comm _PACKET3_CLEAR_STATE,4,2 ## @PACKET3_CLEAR_STATE
.no_dead_strip _gfx_v8_0_get_csb_buffer
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function gfx_v8_0_get_csb_buffer
_gfx_v8_0_get_csb_buffer: ; @gfx_v8_0_get_csb_buffer
.cfi_startproc
; %bb.0:
sub sp, sp, #112
stp x28, x27, [sp, #16] ; 16-byte Folded Spill
stp x26, x25, [sp, #32] ; 16-byte Folded Spill
stp x24, x23, [sp, #48] ; 16-byte Folded Spill
stp x22, x21, [sp, #64] ; 16-byte Folded Spill
stp x20, x19, [sp, #80] ; 16-byte Folded Spill
stp x29, x30, [sp, #96] ; 16-byte Folded Spill
add x29, sp, #96
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
str x0, [sp, #8] ; 8-byte Folded Spill
cbz x1, LBB0_14
; %bb.1:
ldr x8, [sp, #8] ; 8-byte Folded Reload
ldr x8, [x8, #8]
cbnz x8, LBB0_14
; %bb.2:
mov x20, x1
Lloh0:
adrp x8, _PACKET3_PREAMBLE_CNTL@GOTPAGE
Lloh1:
ldr x8, [x8, _PACKET3_PREAMBLE_CNTL@GOTPAGEOFF]
Lloh2:
ldr w0, [x8]
mov w1, #0 ; =0x0
bl _PACKET3
bl _cpu_to_le32
str x0, [x20]
Lloh3:
adrp x8, _PACKET3_PREAMBLE_BEGIN_CLEAR_STATE@GOTPAGE
Lloh4:
ldr x8, [x8, _PACKET3_PREAMBLE_BEGIN_CLEAR_STATE@GOTPAGEOFF]
Lloh5:
ldr w0, [x8]
bl _cpu_to_le32
stur x0, [x20, #-8]
Lloh6:
adrp x8, _PACKET3_CONTEXT_CONTROL@GOTPAGE
Lloh7:
ldr x8, [x8, _PACKET3_CONTEXT_CONTROL@GOTPAGEOFF]
Lloh8:
ldr w0, [x8]
mov w1, #1 ; =0x1
bl _PACKET3
bl _cpu_to_le32
str x0, [x20]
mov w0, #-2147483648 ; =0x80000000
bl _cpu_to_le32
str x0, [x20, #8]
mov w0, #-2147483648 ; =0x80000000
bl _cpu_to_le32
str x0, [x20, #16]
ldr x8, [sp, #8] ; 8-byte Folded Reload
ldr x24, [x8, #8]
ldr x26, [x24, #8]
Lloh9:
adrp x23, _PACKET3_SET_CONTEXT_REG@GOTPAGE
Lloh10:
ldr x23, [x23, _PACKET3_SET_CONTEXT_REG@GOTPAGEOFF]
Lloh11:
adrp x22, _PACKET3_SET_CONTEXT_REG_START@GOTPAGE
Lloh12:
ldr x22, [x22, _PACKET3_SET_CONTEXT_REG_START@GOTPAGEOFF]
cbz x26, LBB0_12
; %bb.3:
add x25, x20, #16
mov w21, #3 ; =0x3
Lloh13:
adrp x27, _SECT_CONTEXT@GOTPAGE
Lloh14:
ldr x27, [x27, _SECT_CONTEXT@GOTPAGEOFF]
LBB0_4: ; =>This Loop Header: Depth=1
; Child Loop BB0_6 Depth 2
; Child Loop BB0_9 Depth 3
ldr x8, [x26]
cbnz x8, LBB0_6
b LBB0_11
LBB0_5: ; in Loop: Header=BB0_6 Depth=2
mov x21, x28
ldr x8, [x26, #16]!
cbz x8, LBB0_11
LBB0_6: ; Parent Loop BB0_4 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB0_9 Depth 3
ldr x8, [x24]
ldr x9, [x27]
cmp x8, x9
b.ne LBB0_14
; %bb.7: ; in Loop: Header=BB0_6 Depth=2
ldr w0, [x23]
ldr w1, [x26, #8]
bl _PACKET3
bl _cpu_to_le32
add x19, x20, x21, lsl #3
str x0, [x19]
ldr w8, [x26, #12]
ldr w9, [x22]
sub w0, w8, w9
bl _cpu_to_le32
add x28, x21, #2
str x0, [x19, #8]
ldr w8, [x26, #8]
cbz w8, LBB0_5
; %bb.8: ; in Loop: Header=BB0_6 Depth=2
mov x19, #0 ; =0x0
add x21, x25, x21, lsl #3
LBB0_9: ; Parent Loop BB0_4 Depth=1
; Parent Loop BB0_6 Depth=2
; => This Inner Loop Header: Depth=3
ldr x8, [x26]
ldr w0, [x8, x19, lsl #2]
bl _cpu_to_le32
str x0, [x21, x19, lsl #3]
add x19, x19, #1
ldrsw x8, [x26, #8]
cmp x19, x8
b.lo LBB0_9
; %bb.10: ; in Loop: Header=BB0_6 Depth=2
add x21, x28, x19
ldr x8, [x26, #16]!
cbnz x8, LBB0_6
LBB0_11: ; in Loop: Header=BB0_4 Depth=1
ldr x26, [x24, #24]
add x24, x24, #16
cbnz x26, LBB0_4
b LBB0_13
LBB0_12:
mov w21, #3 ; =0x3
LBB0_13:
ldr w0, [x23]
mov w1, #2 ; =0x2
bl _PACKET3
bl _cpu_to_le32
add x20, x20, x21, lsl #3
str x0, [x20]
Lloh15:
adrp x8, _mmPA_SC_RASTER_CONFIG@GOTPAGE
Lloh16:
ldr x8, [x8, _mmPA_SC_RASTER_CONFIG@GOTPAGEOFF]
Lloh17:
ldr w8, [x8]
ldr w9, [x22]
sub w0, w8, w9
bl _cpu_to_le32
str x0, [x20, #8]
ldr x19, [sp, #8] ; 8-byte Folded Reload
ldr x8, [x19]
ldr x8, [x8]
ldr w0, [x8]
bl _cpu_to_le32
str x0, [x20, #16]
ldr x8, [x19]
ldr x8, [x8]
ldr w0, [x8, #4]
bl _cpu_to_le32
str x0, [x20, #24]
Lloh18:
adrp x8, _PACKET3_PREAMBLE_CNTL@GOTPAGE
Lloh19:
ldr x8, [x8, _PACKET3_PREAMBLE_CNTL@GOTPAGEOFF]
Lloh20:
ldr w0, [x8]
mov w1, #0 ; =0x0
bl _PACKET3
bl _cpu_to_le32
str x0, [x20, #32]
Lloh21:
adrp x8, _PACKET3_PREAMBLE_END_CLEAR_STATE@GOTPAGE
Lloh22:
ldr x8, [x8, _PACKET3_PREAMBLE_END_CLEAR_STATE@GOTPAGEOFF]
Lloh23:
ldr w0, [x8]
bl _cpu_to_le32
str x0, [x20, #40]
Lloh24:
adrp x8, _PACKET3_CLEAR_STATE@GOTPAGE
Lloh25:
ldr x8, [x8, _PACKET3_CLEAR_STATE@GOTPAGEOFF]
Lloh26:
ldr w0, [x8]
mov w1, #0 ; =0x0
bl _PACKET3
bl _cpu_to_le32
str x0, [x20, #48]
mov w0, #0 ; =0x0
bl _cpu_to_le32
str x0, [x20, #56]
LBB0_14:
ldp x29, x30, [sp, #96] ; 16-byte Folded Reload
ldp x20, x19, [sp, #80] ; 16-byte Folded Reload
ldp x22, x21, [sp, #64] ; 16-byte Folded Reload
ldp x24, x23, [sp, #48] ; 16-byte Folded Reload
ldp x26, x25, [sp, #32] ; 16-byte Folded Reload
ldp x28, x27, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #112
ret
.loh AdrpLdrGot Lloh11, Lloh12
.loh AdrpLdrGot Lloh9, Lloh10
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGot Lloh13, Lloh14
.loh AdrpLdrGotLdr Lloh24, Lloh25, Lloh26
.loh AdrpLdrGotLdr Lloh21, Lloh22, Lloh23
.loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh20
.loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17
.cfi_endproc
; -- End function
.comm _PACKET3_PREAMBLE_CNTL,4,2 ; @PACKET3_PREAMBLE_CNTL
.comm _PACKET3_PREAMBLE_BEGIN_CLEAR_STATE,4,2 ; @PACKET3_PREAMBLE_BEGIN_CLEAR_STATE
.comm _PACKET3_CONTEXT_CONTROL,4,2 ; @PACKET3_CONTEXT_CONTROL
.comm _SECT_CONTEXT,8,3 ; @SECT_CONTEXT
.comm _PACKET3_SET_CONTEXT_REG,4,2 ; @PACKET3_SET_CONTEXT_REG
.comm _PACKET3_SET_CONTEXT_REG_START,4,2 ; @PACKET3_SET_CONTEXT_REG_START
.comm _mmPA_SC_RASTER_CONFIG,4,2 ; @mmPA_SC_RASTER_CONFIG
.comm _PACKET3_PREAMBLE_END_CLEAR_STATE,4,2 ; @PACKET3_PREAMBLE_END_CLEAR_STATE
.comm _PACKET3_CLEAR_STATE,4,2 ; @PACKET3_CLEAR_STATE
.no_dead_strip _gfx_v8_0_get_csb_buffer
.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)
movl 16(%rdi), %eax
movl %eax, 16(%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]
ldr w8, [x0, #4]
str w8, [x1, #4]
ldr w8, [x0, #8]
str w8, [x1, #8]
ldr w8, [x0, #12]
str w8, [x1, #12]
ldr w8, [x0, #16]
str w8, [x1, #16]
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
.section __TEXT,__literal16,16byte_literals
.p2align 4, 0x0 ## -- Begin function gistvacuumpage
LCPI0_0:
.space 16,255
.section __TEXT,__text,regular,pure_instructions
.p2align 4, 0x90
_gistvacuumpage: ## @gistvacuumpage
.cfi_startproc
## %bb.0:
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 %rdx, -88(%rbp) ## 8-byte Spill
movq %rsi, %r13
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
movq 32(%rdi), %rbx
movq 24(%rdi), %r15
movq 8(%rdi), %rax
movq %rax, -136(%rbp) ## 8-byte Spill
movq %rdi, -120(%rbp) ## 8-byte Spill
movq 16(%rdi), %rax
movq %rax, -112(%rbp) ## 8-byte Spill
movl 4(%r15), %r12d
movq _InvalidBlockNumber@GOTPCREL(%rip), %rax
movq (%rax), %rax
movl %r12d, -52(%rbp) ## 4-byte Spill
movq %rbx, -80(%rbp) ## 8-byte Spill
movq %r15, -96(%rbp) ## 8-byte Spill
.p2align 4, 0x90
LBB0_1: ## =>This Loop Header: Depth=1
## Child Loop BB0_15 Depth 2
## Child Loop BB0_21 Depth 2
movq %rax, -64(%rbp) ## 8-byte Spill
xorl %eax, %eax
callq _vacuum_delay_point
movq _MAIN_FORKNUM@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq _RBM_NORMAL@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movl (%r15), %r8d
movl %r12d, %edi
movq %r13, %rdx
callq _ReadBufferExtended
movl %eax, %r14d
movq _GIST_EXCLUSIVE@GOTPCREL(%rip), %rax
movl (%rax), %esi
movl %r14d, %edi
callq _LockBuffer
movl %r14d, -68(%rbp) ## 4-byte Spill
movl %r14d, %edi
callq _BufferGetPage
movq %rax, %r14
movq %rax, %rdi
callq _gistPageRecyclable
testq %rax, %rax
je LBB0_3
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movl %r12d, %edi
movq %r13, %rsi
callq _RecordFreeIndexPage
movq 12(%rbx), %xmm0 ## xmm0 = mem[0],zero
psubd LCPI0_0(%rip), %xmm0
movq %xmm0, 12(%rbx)
jmp LBB0_5
.p2align 4, 0x90
LBB0_3: ## in Loop: Header=BB0_1 Depth=1
movq %r14, %rdi
callq _GistPageIsDeleted
testq %rax, %rax
je LBB0_7
## %bb.4: ## in Loop: Header=BB0_1 Depth=1
incl 12(%rbx)
LBB0_5: ## in Loop: Header=BB0_1 Depth=1
movq -64(%rbp), %r13 ## 8-byte Reload
LBB0_6: ## in Loop: Header=BB0_1 Depth=1
movl -68(%rbp), %edi ## 4-byte Reload
callq _UnlockReleaseBuffer
movq _InvalidBlockNumber@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq %rax, %r13
jne LBB0_1
jmp LBB0_35
LBB0_7: ## in Loop: Header=BB0_1 Depth=1
movq %r14, %rdi
callq _GistPageIsLeaf
testq %rax, %rax
je LBB0_17
## %bb.8: ## in Loop: Header=BB0_1 Depth=1
movq %rsp, -128(%rbp) ## 8-byte Spill
movq _MaxOffsetNumber@GOTPCREL(%rip), %rax
movl (%rax), %eax
shlq $3, %rax
callq ____chkstk_darwin
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq %rsp, -104(%rbp) ## 8-byte Spill
movq %r14, %rdi
callq _GistPageGetOpaque
movq %rax, %rbx
movq %r14, %rdi
callq _PageGetMaxOffsetNumber
movq %rax, %r15
movq %r14, %rdi
callq _GistFollowRight
testq %rax, %rax
je LBB0_11
## %bb.9: ## in Loop: Header=BB0_1 Depth=1
movq -120(%rbp), %rax ## 8-byte Reload
movq (%rax), %r12
movq %r14, %rdi
callq _GistPageGetNSN
cmpq %rax, %r12
jge LBB0_11
## %bb.10: ## in Loop: Header=BB0_1 Depth=1
movq (%rbx), %rax
movq _InvalidBlockNumber@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
movq -64(%rbp), %rdx ## 8-byte Reload
movq %rdx, %rcx
cmovneq %rax, %rcx
cmpq -88(%rbp), %rax ## 8-byte Folded Reload
cmovlq %rcx, %rdx
movq %rdx, -64(%rbp) ## 8-byte Spill
LBB0_11: ## in Loop: Header=BB0_1 Depth=1
xorl %r12d, %r12d
cmpq $0, -112(%rbp) ## 8-byte Folded Reload
je LBB0_24
## %bb.12: ## in Loop: Header=BB0_1 Depth=1
movq _FirstOffsetNumber@GOTPCREL(%rip), %rax
movq (%rax), %rbx
cmpq %r15, %rbx
jg LBB0_24
## %bb.13: ## in Loop: Header=BB0_1 Depth=1
xorl %r12d, %r12d
jmp LBB0_15
.p2align 4, 0x90
LBB0_14: ## in Loop: Header=BB0_15 Depth=2
movq %rbx, %rdi
callq _OffsetNumberNext
movq %rax, %rbx
cmpq %r15, %rax
jg LBB0_23
LBB0_15: ## Parent Loop BB0_1 Depth=1
## => This Inner Loop Header: Depth=2
movq %r14, %rdi
movq %rbx, %rsi
callq _PageGetItemId
movq %r14, %rdi
movl %eax, %esi
callq _PageGetItem
movslq %eax, %rdi
movq -136(%rbp), %rsi ## 8-byte Reload
callq *-112(%rbp) ## 8-byte Folded Reload
testq %rax, %rax
je LBB0_14
## %bb.16: ## in Loop: Header=BB0_15 Depth=2
movslq %r12d, %rax
incl %r12d
movq -104(%rbp), %rcx ## 8-byte Reload
movq %rbx, (%rcx,%rax,8)
jmp LBB0_14
LBB0_17: ## in Loop: Header=BB0_1 Depth=1
movq %r14, %rdi
callq _PageGetMaxOffsetNumber
movq %rax, %r15
movq _FirstOffsetNumber@GOTPCREL(%rip), %rax
movq (%rax), %r12
cmpq %r15, %r12
jle LBB0_21
LBB0_18: ## in Loop: Header=BB0_1 Depth=1
movq -88(%rbp), %rsi ## 8-byte Reload
cmpq %rsi, %r13
movq -96(%rbp), %r15 ## 8-byte Reload
jne LBB0_33
## %bb.19: ## in Loop: Header=BB0_1 Depth=1
movq -80(%rbp), %rbx ## 8-byte Reload
movl (%rbx), %edi
callq _intset_add_member
jmp LBB0_34
.p2align 4, 0x90
LBB0_20: ## in Loop: Header=BB0_21 Depth=2
movq %r12, %rdi
callq _OffsetNumberNext
movq %rax, %r12
cmpq %r15, %rax
jg LBB0_18
LBB0_21: ## Parent Loop BB0_1 Depth=1
## => This Inner Loop Header: Depth=2
movq %r14, %rdi
movq %r12, %rsi
callq _PageGetItemId
movq %r14, %rdi
movl %eax, %esi
callq _PageGetItem
movslq %eax, %rdi
callq _GistTupleIsInvalid
testq %rax, %rax
je LBB0_20
## %bb.22: ## in Loop: Header=BB0_21 Depth=2
movq _LOG@GOTPCREL(%rip), %rax
movl (%rax), %ebx
movl -52(%rbp), %edi ## 4-byte Reload
callq _RelationGetRelationName
leaq L_.str(%rip), %rdi
movl %eax, %esi
callq _errmsg
leaq L_.str.1(%rip), %rdi
callq _errdetail
leaq L_.str.2(%rip), %rdi
callq _errhint
movl %ebx, %edi
movl %eax, %esi
callq _ereport
jmp LBB0_20
LBB0_23: ## in Loop: Header=BB0_1 Depth=1
testl %r12d, %r12d
js LBB0_28
LBB0_24: ## in Loop: Header=BB0_1 Depth=1
xorl %eax, %eax
callq _START_CRIT_SECTION
movl -68(%rbp), %edi ## 4-byte Reload
callq _MarkBufferDirty
movq %r14, %rdi
movq -104(%rbp), %r15 ## 8-byte Reload
movq %r15, %rsi
movl %r12d, %edx
callq _PageIndexMultiDelete
movq %r14, %rdi
callq _GistMarkTuplesDeleted
movl -52(%rbp), %ebx ## 4-byte Reload
movl %ebx, %edi
callq _RelationNeedsWAL
testq %rax, %rax
je LBB0_26
## %bb.25: ## in Loop: Header=BB0_1 Depth=1
movq _InvalidBuffer@GOTPCREL(%rip), %rax
movl (%rax), %r9d
movl -68(%rbp), %edi ## 4-byte Reload
movq %r15, %rsi
movl %r12d, %edx
xorl %ecx, %ecx
xorl %r8d, %r8d
callq _gistXLogUpdate
jmp LBB0_27
LBB0_26: ## in Loop: Header=BB0_1 Depth=1
movl %ebx, %edi
callq _gistGetFakeLSN
LBB0_27: ## in Loop: Header=BB0_1 Depth=1
movq -80(%rbp), %rbx ## 8-byte Reload
movq %r14, %rdi
movl %eax, %esi
callq _PageSetLSN
xorl %eax, %eax
callq _END_CRIT_SECTION
addl %r12d, 4(%rbx)
movq %r14, %rdi
callq _PageGetMaxOffsetNumber
movq %rax, %r15
LBB0_28: ## in Loop: Header=BB0_1 Depth=1
movq _FirstOffsetNumber@GOTPCREL(%rip), %rax
movl (%rax), %eax
notl %eax
addl %eax, %r15d
je LBB0_30
## %bb.29: ## in Loop: Header=BB0_1 Depth=1
movq -80(%rbp), %rbx ## 8-byte Reload
addl %r15d, 8(%rbx)
movq -96(%rbp), %r15 ## 8-byte Reload
movl -52(%rbp), %r12d ## 4-byte Reload
movq -64(%rbp), %r13 ## 8-byte Reload
jmp LBB0_32
LBB0_30: ## in Loop: Header=BB0_1 Depth=1
cmpq -88(%rbp), %r13 ## 8-byte Folded Reload
movq -80(%rbp), %rbx ## 8-byte Reload
movq -96(%rbp), %r15 ## 8-byte Reload
movl -52(%rbp), %r12d ## 4-byte Reload
movq -64(%rbp), %r13 ## 8-byte Reload
jne LBB0_32
## %bb.31: ## in Loop: Header=BB0_1 Depth=1
movl 20(%rbx), %edi
movq -88(%rbp), %rsi ## 8-byte Reload
callq _intset_add_member
LBB0_32: ## in Loop: Header=BB0_1 Depth=1
movq -128(%rbp), %rsp ## 8-byte Reload
jmp LBB0_6
LBB0_33: ## in Loop: Header=BB0_1 Depth=1
movq -80(%rbp), %rbx ## 8-byte Reload
LBB0_34: ## in Loop: Header=BB0_1 Depth=1
movl -52(%rbp), %r12d ## 4-byte Reload
jmp LBB0_5
LBB0_35:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB0_37
## %bb.36:
leaq -40(%rbp), %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_37:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.comm _InvalidBlockNumber,8,3 ## @InvalidBlockNumber
.comm _MAIN_FORKNUM,4,2 ## @MAIN_FORKNUM
.comm _RBM_NORMAL,4,2 ## @RBM_NORMAL
.comm _GIST_EXCLUSIVE,4,2 ## @GIST_EXCLUSIVE
.comm _MaxOffsetNumber,4,2 ## @MaxOffsetNumber
.comm _FirstOffsetNumber,8,3 ## @FirstOffsetNumber
.comm _InvalidBuffer,4,2 ## @InvalidBuffer
.comm _LOG,4,2 ## @LOG
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "index \"%s\" contains an inner tuple marked as invalid"
L_.str.1: ## @.str.1
.asciz "This is caused by an incomplete page split at crash recovery before upgrading to PostgreSQL 9.1."
L_.str.2: ## @.str.2
.asciz "Please REINDEX it."
.no_dead_strip _gistvacuumpage
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function gistvacuumpage
_gistvacuumpage: ; @gistvacuumpage
.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, #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
.cfi_offset b8, -104
.cfi_offset b9, -112
mov x24, x2
mov x26, x1
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
stur x8, [x29, #-104]
ldp x19, x25, [x0, #24]
ldp x8, x9, [x0, #8]
stp x8, x9, [x29, #-120] ; 16-byte Folded Spill
stur x0, [x29, #-152] ; 8-byte Folded Spill
ldr w22, [x19, #4]
Lloh3:
adrp x20, _InvalidBlockNumber@GOTPAGE
Lloh4:
ldr x20, [x20, _InvalidBlockNumber@GOTPAGEOFF]
ldr x21, [x20]
movi.2s v8, #1
stp x2, x19, [x29, #-144] ; 16-byte Folded Spill
b LBB0_3
LBB0_1: ; in Loop: Header=BB0_3 Depth=1
mov x0, x22
mov x1, x26
bl _RecordFreeIndexPage
ldur d0, [x25, #12]
add.2s v0, v0, v8
stur d0, [x25, #12]
LBB0_2: ; in Loop: Header=BB0_3 Depth=1
mov x26, x21
mov x0, x27
bl _UnlockReleaseBuffer
ldr x21, [x20]
cmp x26, x21
b.eq LBB0_34
LBB0_3: ; =>This Loop Header: Depth=1
; Child Loop BB0_14 Depth 2
; Child Loop BB0_32 Depth 2
bl _vacuum_delay_point
Lloh5:
adrp x8, _MAIN_FORKNUM@GOTPAGE
Lloh6:
ldr x8, [x8, _MAIN_FORKNUM@GOTPAGEOFF]
Lloh7:
ldr w1, [x8]
Lloh8:
adrp x8, _RBM_NORMAL@GOTPAGE
Lloh9:
ldr x8, [x8, _RBM_NORMAL@GOTPAGEOFF]
Lloh10:
ldr w3, [x8]
ldr w4, [x19]
mov x0, x22
mov x2, x26
bl _ReadBufferExtended
mov x27, x0
Lloh11:
adrp x8, _GIST_EXCLUSIVE@GOTPAGE
Lloh12:
ldr x8, [x8, _GIST_EXCLUSIVE@GOTPAGEOFF]
Lloh13:
ldr w1, [x8]
bl _LockBuffer
mov x0, x27
bl _BufferGetPage
mov x28, x0
bl _gistPageRecyclable
cbnz x0, LBB0_1
; %bb.4: ; in Loop: Header=BB0_3 Depth=1
mov x0, x28
bl _GistPageIsDeleted
cbz x0, LBB0_6
; %bb.5: ; in Loop: Header=BB0_3 Depth=1
ldr w8, [x25, #12]
add w8, w8, #1
str w8, [x25, #12]
b LBB0_2
LBB0_6: ; in Loop: Header=BB0_3 Depth=1
mov x0, x28
bl _GistPageIsLeaf
cbz x0, LBB0_16
; %bb.7: ; in Loop: Header=BB0_3 Depth=1
mov x8, sp
stur x8, [x29, #-128] ; 8-byte Folded Spill
Lloh14:
adrp x8, _MaxOffsetNumber@GOTPAGE
Lloh15:
ldr x8, [x8, _MaxOffsetNumber@GOTPAGEOFF]
Lloh16:
ldr w8, [x8]
lsl x8, x8, #3
mov x9, x8
Lloh17:
adrp x16, ___chkstk_darwin@GOTPAGE
Lloh18:
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
mov x9, sp
add x8, x8, #15
and x8, x8, #0xffffffff0
sub x19, x9, x8
mov sp, x19
mov x0, x28
bl _GistPageGetOpaque
mov x20, x0
mov x0, x28
bl _PageGetMaxOffsetNumber
mov x23, x0
mov x0, x28
bl _GistFollowRight
cbz x0, LBB0_10
; %bb.8: ; in Loop: Header=BB0_3 Depth=1
ldur x8, [x29, #-152] ; 8-byte Folded Reload
ldr x24, [x8]
mov x0, x28
bl _GistPageGetNSN
cmp x24, x0
b.ge LBB0_10
; %bb.9: ; in Loop: Header=BB0_3 Depth=1
ldr x8, [x20]
Lloh19:
adrp x9, _InvalidBlockNumber@GOTPAGE
Lloh20:
ldr x9, [x9, _InvalidBlockNumber@GOTPAGEOFF]
Lloh21:
ldr x9, [x9]
cmp x8, x9
ldur x9, [x29, #-144] ; 8-byte Folded Reload
ccmp x8, x9, #0, ne
csel x21, x8, x21, lt
LBB0_10: ; in Loop: Header=BB0_3 Depth=1
mov w20, #0 ; =0x0
ldur x8, [x29, #-112] ; 8-byte Folded Reload
cbz x8, LBB0_21
; %bb.11: ; in Loop: Header=BB0_3 Depth=1
Lloh22:
adrp x8, _FirstOffsetNumber@GOTPAGE
Lloh23:
ldr x8, [x8, _FirstOffsetNumber@GOTPAGEOFF]
Lloh24:
ldr x24, [x8]
cmp x24, x23
b.gt LBB0_21
; %bb.12: ; in Loop: Header=BB0_3 Depth=1
mov w20, #0 ; =0x0
b LBB0_14
LBB0_13: ; in Loop: Header=BB0_14 Depth=2
mov x0, x24
bl _OffsetNumberNext
mov x24, x0
cmp x0, x23
b.gt LBB0_20
LBB0_14: ; Parent Loop BB0_3 Depth=1
; => This Inner Loop Header: Depth=2
mov x0, x28
mov x1, x24
bl _PageGetItemId
mov x1, x0
mov x0, x28
bl _PageGetItem
; kill: def $w0 killed $w0 def $x0
sxtw x0, w0
ldp x1, x8, [x29, #-120] ; 16-byte Folded Reload
blr x8
cbz x0, LBB0_13
; %bb.15: ; in Loop: Header=BB0_14 Depth=2
str x24, [x19, w20, sxtw #3]
add w20, w20, #1
b LBB0_13
LBB0_16: ; in Loop: Header=BB0_3 Depth=1
mov x0, x28
bl _PageGetMaxOffsetNumber
Lloh25:
adrp x8, _FirstOffsetNumber@GOTPAGE
Lloh26:
ldr x8, [x8, _FirstOffsetNumber@GOTPAGEOFF]
Lloh27:
ldr x20, [x8]
cmp x20, x0
b.le LBB0_30
LBB0_17: ; in Loop: Header=BB0_3 Depth=1
cmp x26, x24
ldur x19, [x29, #-136] ; 8-byte Folded Reload
b.ne LBB0_19
; %bb.18: ; in Loop: Header=BB0_3 Depth=1
ldr w0, [x25]
mov x1, x24
bl _intset_add_member
LBB0_19: ; in Loop: Header=BB0_3 Depth=1
Lloh28:
adrp x20, _InvalidBlockNumber@GOTPAGE
Lloh29:
ldr x20, [x20, _InvalidBlockNumber@GOTPAGEOFF]
b LBB0_2
LBB0_20: ; in Loop: Header=BB0_3 Depth=1
tbnz w20, #31, LBB0_25
LBB0_21: ; in Loop: Header=BB0_3 Depth=1
bl _START_CRIT_SECTION
mov x0, x27
bl _MarkBufferDirty
mov x0, x28
mov x1, x19
mov x2, x20
bl _PageIndexMultiDelete
mov x0, x28
bl _GistMarkTuplesDeleted
mov x0, x22
bl _RelationNeedsWAL
cbz x0, LBB0_23
; %bb.22: ; in Loop: Header=BB0_3 Depth=1
Lloh30:
adrp x8, _InvalidBuffer@GOTPAGE
Lloh31:
ldr x8, [x8, _InvalidBuffer@GOTPAGEOFF]
Lloh32:
ldr w5, [x8]
mov x0, x27
mov x1, x19
mov x2, x20
mov x3, #0 ; =0x0
mov w4, #0 ; =0x0
bl _gistXLogUpdate
b LBB0_24
LBB0_23: ; in Loop: Header=BB0_3 Depth=1
mov x0, x22
bl _gistGetFakeLSN
LBB0_24: ; in Loop: Header=BB0_3 Depth=1
mov x1, x0
mov x0, x28
bl _PageSetLSN
bl _END_CRIT_SECTION
ldr w8, [x25, #4]
add w8, w8, w20
str w8, [x25, #4]
mov x0, x28
bl _PageGetMaxOffsetNumber
mov x23, x0
LBB0_25: ; in Loop: Header=BB0_3 Depth=1
Lloh33:
adrp x8, _FirstOffsetNumber@GOTPAGE
Lloh34:
ldr x8, [x8, _FirstOffsetNumber@GOTPAGEOFF]
Lloh35:
ldr w8, [x8]
mvn w8, w8
adds w8, w23, w8
b.eq LBB0_27
; %bb.26: ; in Loop: Header=BB0_3 Depth=1
ldr w9, [x25, #8]
add w8, w9, w8
str w8, [x25, #8]
ldp x24, x19, [x29, #-144] ; 16-byte Folded Reload
Lloh36:
adrp x20, _InvalidBlockNumber@GOTPAGE
Lloh37:
ldr x20, [x20, _InvalidBlockNumber@GOTPAGEOFF]
b LBB0_29
LBB0_27: ; in Loop: Header=BB0_3 Depth=1
ldp x24, x19, [x29, #-144] ; 16-byte Folded Reload
cmp x26, x24
Lloh38:
adrp x20, _InvalidBlockNumber@GOTPAGE
Lloh39:
ldr x20, [x20, _InvalidBlockNumber@GOTPAGEOFF]
b.ne LBB0_29
; %bb.28: ; in Loop: Header=BB0_3 Depth=1
ldr w0, [x25, #20]
mov x1, x24
bl _intset_add_member
LBB0_29: ; in Loop: Header=BB0_3 Depth=1
ldur x8, [x29, #-128] ; 8-byte Folded Reload
mov sp, x8
b LBB0_2
LBB0_30: ; in Loop: Header=BB0_3 Depth=1
mov x19, x0
b LBB0_32
LBB0_31: ; in Loop: Header=BB0_32 Depth=2
mov x0, x20
bl _OffsetNumberNext
mov x20, x0
cmp x0, x19
b.gt LBB0_17
LBB0_32: ; Parent Loop BB0_3 Depth=1
; => This Inner Loop Header: Depth=2
mov x0, x28
mov x1, x20
bl _PageGetItemId
mov x1, x0
mov x0, x28
bl _PageGetItem
; kill: def $w0 killed $w0 def $x0
sxtw x0, w0
bl _GistTupleIsInvalid
cbz x0, LBB0_31
; %bb.33: ; in Loop: Header=BB0_32 Depth=2
Lloh40:
adrp x8, _LOG@GOTPAGE
Lloh41:
ldr x8, [x8, _LOG@GOTPAGEOFF]
Lloh42:
ldr w23, [x8]
mov x0, x22
bl _RelationGetRelationName
mov x1, x0
Lloh43:
adrp x0, l_.str@PAGE
Lloh44:
add x0, x0, l_.str@PAGEOFF
bl _errmsg
Lloh45:
adrp x0, l_.str.1@PAGE
Lloh46:
add x0, x0, l_.str.1@PAGEOFF
bl _errdetail
Lloh47:
adrp x0, l_.str.2@PAGE
Lloh48:
add x0, x0, l_.str.2@PAGEOFF
bl _errhint
mov x1, x0
mov x0, x23
bl _ereport
b LBB0_31
LBB0_34:
ldur x8, [x29, #-104]
Lloh49:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh50:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh51:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_36
; %bb.35:
sub sp, x29, #96
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_36:
bl ___stack_chk_fail
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16
.loh AdrpLdrGotLdr Lloh19, Lloh20, Lloh21
.loh AdrpLdrGotLdr Lloh22, Lloh23, Lloh24
.loh AdrpLdrGotLdr Lloh25, Lloh26, Lloh27
.loh AdrpLdrGot Lloh28, Lloh29
.loh AdrpLdrGotLdr Lloh30, Lloh31, Lloh32
.loh AdrpLdrGotLdr Lloh33, Lloh34, Lloh35
.loh AdrpLdrGot Lloh36, Lloh37
.loh AdrpLdrGot Lloh38, Lloh39
.loh AdrpAdd Lloh47, Lloh48
.loh AdrpAdd Lloh45, Lloh46
.loh AdrpAdd Lloh43, Lloh44
.loh AdrpLdrGotLdr Lloh40, Lloh41, Lloh42
.loh AdrpLdrGotLdr Lloh49, Lloh50, Lloh51
.loh AdrpLdrGot Lloh17, Lloh18
.cfi_endproc
; -- End function
.comm _InvalidBlockNumber,8,3 ; @InvalidBlockNumber
.comm _MAIN_FORKNUM,4,2 ; @MAIN_FORKNUM
.comm _RBM_NORMAL,4,2 ; @RBM_NORMAL
.comm _GIST_EXCLUSIVE,4,2 ; @GIST_EXCLUSIVE
.comm _MaxOffsetNumber,4,2 ; @MaxOffsetNumber
.comm _FirstOffsetNumber,8,3 ; @FirstOffsetNumber
.comm _InvalidBuffer,4,2 ; @InvalidBuffer
.comm _LOG,4,2 ; @LOG
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "index \"%s\" contains an inner tuple marked as invalid"
l_.str.1: ; @.str.1
.asciz "This is caused by an incomplete page split at crash recovery before upgrading to PostgreSQL 9.1."
l_.str.2: ; @.str.2
.asciz "Please REINDEX it."
.no_dead_strip _gistvacuumpage
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function sanitize_line
_sanitize_line: ## @sanitize_line
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $16, %rsp
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movl %edx, %r15d
movl %esi, %r14d
movq %rdi, %rbx
testl %ecx, %ecx
je LBB0_4
## %bb.1:
movb $-65, -34(%rbp)
movw $-17425, -36(%rbp) ## imm = 0xBBEF
cmpl $3, %r14d
jg LBB0_3
## %bb.2:
leaq -36(%rbp), %rsi
movq %rbx, %rdi
movl $3, %edx
callq _memcmp
testq %rax, %rax
jne LBB0_4
LBB0_3:
leaq -3(%rbx), %rsi
movslq %r14d, %r12
leaq -3(%r12), %r14
movq %rbx, %rdi
movl %r14d, %edx
callq _memmove
movb $0, -3(%rbx,%r12)
LBB0_4:
movq _PEM_FLAG_EAY_COMPATIBLE@GOTPCREL(%rip), %rax
testl %r15d, (%rax)
je LBB0_10
## %bb.5:
testl %r14d, %r14d
js LBB0_9
.p2align 4, 0x90
LBB0_6: ## =>This Inner Loop Header: Depth=1
movl %r14d, %eax
cmpb $32, (%rbx,%rax)
jg LBB0_9
## %bb.7: ## in Loop: Header=BB0_6 Depth=1
leal -1(%r14), %eax
testl %r14d, %r14d
movl %eax, %r14d
jg LBB0_6
## %bb.8:
movl $-1, %r14d
LBB0_9:
incl %r14d
jmp LBB0_24
LBB0_10:
movl %r14d, %r12d
movq _PEM_FLAG_ONLY_B64@GOTPCREL(%rip), %rax
testl %r15d, (%rax)
je LBB0_15
## %bb.11:
testl %r14d, %r14d
jle LBB0_23
## %bb.12:
xorl %r14d, %r14d
.p2align 4, 0x90
LBB0_13: ## =>This Inner Loop Header: Depth=1
movsbl (%rbx,%r14), %edi
callq _ossl_isbase64
incq %r14
cmpq %r14, %r12
jne LBB0_13
LBB0_14:
movl %r12d, %r14d
jmp LBB0_24
LBB0_15:
testl %r14d, %r14d
jle LBB0_23
## %bb.16:
xorl %r14d, %r14d
jmp LBB0_18
.p2align 4, 0x90
LBB0_17: ## in Loop: Header=BB0_18 Depth=1
incq %r14
cmpq %r14, %r12
je LBB0_14
LBB0_18: ## =>This Inner Loop Header: Depth=1
movzbl (%rbx,%r14), %eax
cmpl $10, %eax
je LBB0_24
## %bb.19: ## in Loop: Header=BB0_18 Depth=1
cmpl $13, %eax
je LBB0_24
## %bb.20: ## in Loop: Header=BB0_18 Depth=1
movsbl %al, %edi
callq _ossl_iscntrl
testq %rax, %rax
je LBB0_17
## %bb.21: ## in Loop: Header=BB0_18 Depth=1
movb $32, (%rbx,%r14)
jmp LBB0_17
LBB0_23:
xorl %r14d, %r14d
LBB0_24:
movslq %r14d, %rcx
leal 1(%rcx), %eax
movw $10, (%rbx,%rcx)
addq $16, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__const
l___const.sanitize_line.utf8_bom: ## @__const.sanitize_line.utf8_bom
.ascii "\357\273\277"
.comm _PEM_FLAG_EAY_COMPATIBLE,4,2 ## @PEM_FLAG_EAY_COMPATIBLE
.comm _PEM_FLAG_ONLY_B64,4,2 ## @PEM_FLAG_ONLY_B64
.no_dead_strip _sanitize_line
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function sanitize_line
_sanitize_line: ; @sanitize_line
.cfi_startproc
; %bb.0:
sub sp, sp, #64
stp x22, x21, [sp, #16] ; 16-byte Folded Spill
stp x20, x19, [sp, #32] ; 16-byte Folded Spill
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x21, x2
mov x20, x1
mov x19, x0
cbz w3, LBB0_4
; %bb.1:
mov w8, #191 ; =0xbf
strb w8, [sp, #14]
mov w8, #48111 ; =0xbbef
strh w8, [sp, #12]
cmp w20, #3
b.gt LBB0_3
; %bb.2:
add x1, sp, #12
mov x0, x19
mov w2, #3 ; =0x3
bl _memcmp
cbnz x0, LBB0_4
LBB0_3:
sub x1, x19, #3
sxtw x8, w20
sub x20, x8, #3
mov x0, x19
mov x2, x20
bl _memmove
strb wzr, [x19, x20]
; kill: def $w20 killed $w20 killed $x20 def $x20
LBB0_4:
Lloh0:
adrp x8, _PEM_FLAG_EAY_COMPATIBLE@GOTPAGE
Lloh1:
ldr x8, [x8, _PEM_FLAG_EAY_COMPATIBLE@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
tst w8, w21
b.eq LBB0_10
; %bb.5:
tbnz w20, #31, LBB0_9
LBB0_6: ; =>This Inner Loop Header: Depth=1
ldrsb w8, [x19, w20, uxtw]
cmp w8, #32
b.gt LBB0_9
; %bb.7: ; in Loop: Header=BB0_6 Depth=1
sub w8, w20, #1
cmp w20, #0
mov x20, x8
b.gt LBB0_6
; %bb.8:
mov w20, #-1 ; =0xffffffff
LBB0_9:
add w20, w20, #1
b LBB0_22
LBB0_10:
mov w22, w20
Lloh3:
adrp x8, _PEM_FLAG_ONLY_B64@GOTPAGE
Lloh4:
ldr x8, [x8, _PEM_FLAG_ONLY_B64@GOTPAGEOFF]
Lloh5:
ldr w8, [x8]
tst w8, w21
b.eq LBB0_15
; %bb.11:
cmp w20, #1
b.lt LBB0_21
; %bb.12:
mov x20, x22
mov x21, x19
LBB0_13: ; =>This Inner Loop Header: Depth=1
ldrsb w0, [x21], #1
bl _ossl_isbase64
subs x20, x20, #1
b.ne LBB0_13
LBB0_14:
mov x20, x22
b LBB0_22
LBB0_15:
cmp w20, #1
b.lt LBB0_21
; %bb.16:
mov x20, #0 ; =0x0
mov w21, #32 ; =0x20
b LBB0_18
LBB0_17: ; in Loop: Header=BB0_18 Depth=1
add x20, x20, #1
cmp x22, x20
b.eq LBB0_14
LBB0_18: ; =>This Inner Loop Header: Depth=1
ldrb w8, [x19, x20]
cmp w8, #10
ccmp w8, #13, #4, ne
b.eq LBB0_22
; %bb.19: ; in Loop: Header=BB0_18 Depth=1
sxtb w0, w8
bl _ossl_iscntrl
cbz x0, LBB0_17
; %bb.20: ; in Loop: Header=BB0_18 Depth=1
strb w21, [x19, x20]
b LBB0_17
LBB0_21:
mov w20, #0 ; =0x0
LBB0_22:
mov w8, #10 ; =0xa
strh w8, [x19, w20, sxtw]
add w0, w20, #1
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
.cfi_endproc
; -- End function
.section __TEXT,__const
l___const.sanitize_line.utf8_bom: ; @__const.sanitize_line.utf8_bom
.ascii "\357\273\277"
.comm _PEM_FLAG_EAY_COMPATIBLE,4,2 ; @PEM_FLAG_EAY_COMPATIBLE
.comm _PEM_FLAG_ONLY_B64,4,2 ; @PEM_FLAG_ONLY_B64
.no_dead_strip _sanitize_line
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function q40_disable_irqs
_q40_disable_irqs: ## @q40_disable_irqs
.cfi_startproc
## %bb.0:
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 _serports@GOTPCREL(%rip), %rbx
movq (%rbx), %rax
movl (%rax), %eax
testl %eax, %eax
je LBB0_3
## %bb.1:
movl $1, %r14d
movq _UART_IER@GOTPCREL(%rip), %r15
.p2align 4, 0x90
LBB0_2: ## =>This Inner Loop Header: Depth=1
movl %eax, %esi
subq (%r15), %rsi
xorl %edi, %edi
callq _outb
movq (%rbx), %rax
movl %r14d, %ecx
movl (%rax,%rcx,4), %eax
incl %r14d
testl %eax, %eax
jne LBB0_2
LBB0_3:
movq _EXT_ENABLE_REG@GOTPCREL(%rip), %rax
movl (%rax), %esi
xorl %edi, %edi
callq _master_outb
movq _KEY_IRQ_ENABLE_REG@GOTPCREL(%rip), %rax
movl (%rax), %esi
xorl %edi, %edi
addq $8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp _master_outb ## TAILCALL
.cfi_endproc
## -- End function
.comm _serports,8,3 ## @serports
.comm _UART_IER,8,3 ## @UART_IER
.comm _EXT_ENABLE_REG,4,2 ## @EXT_ENABLE_REG
.comm _KEY_IRQ_ENABLE_REG,4,2 ## @KEY_IRQ_ENABLE_REG
.no_dead_strip _q40_disable_irqs
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function q40_disable_irqs
_q40_disable_irqs: ; @q40_disable_irqs
.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, _serports@GOTPAGE
Lloh1:
ldr x19, [x19, _serports@GOTPAGEOFF]
ldr x8, [x19]
ldr w8, [x8]
cbz w8, LBB0_3
; %bb.1:
mov w20, #1 ; =0x1
Lloh2:
adrp x21, _UART_IER@GOTPAGE
Lloh3:
ldr x21, [x21, _UART_IER@GOTPAGEOFF]
LBB0_2: ; =>This Inner Loop Header: Depth=1
ldr x9, [x21]
sub x1, x8, x9
mov w0, #0 ; =0x0
bl _outb
ldr x8, [x19]
ldr w8, [x8, w20, uxtw #2]
add w20, w20, #1
cbnz w8, LBB0_2
LBB0_3:
Lloh4:
adrp x8, _EXT_ENABLE_REG@GOTPAGE
Lloh5:
ldr x8, [x8, _EXT_ENABLE_REG@GOTPAGEOFF]
Lloh6:
ldr w1, [x8]
mov w0, #0 ; =0x0
bl _master_outb
Lloh7:
adrp x8, _KEY_IRQ_ENABLE_REG@GOTPAGE
Lloh8:
ldr x8, [x8, _KEY_IRQ_ENABLE_REG@GOTPAGEOFF]
Lloh9:
ldr w1, [x8]
mov w0, #0 ; =0x0
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
ldp x22, x21, [sp], #48 ; 16-byte Folded Reload
b _master_outb
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGot Lloh2, Lloh3
.loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9
.loh AdrpLdrGotLdr Lloh4, Lloh5, Lloh6
.cfi_endproc
; -- End function
.comm _serports,8,3 ; @serports
.comm _UART_IER,8,3 ; @UART_IER
.comm _EXT_ENABLE_REG,4,2 ; @EXT_ENABLE_REG
.comm _KEY_IRQ_ENABLE_REG,4,2 ; @KEY_IRQ_ENABLE_REG
.no_dead_strip _q40_disable_irqs
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _pasemi_dma_init ## -- Begin function pasemi_dma_init
.p2align 4, 0x90
_pasemi_dma_init: ## @pasemi_dma_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 %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 _pasemi@GOTPCREL(%rip), %rax
movl (%rax), %edi
callq _machine_is
testl %eax, %eax
je LBB0_1
## %bb.2:
leaq _pasemi_dma_init.init_lock(%rip), %rdi
callq _spin_lock
movq _dma_pdev@GOTPCREL(%rip), %r15
xorl %ebx, %ebx
cmpq $0, (%r15)
jne LBB0_39
## %bb.3:
movq _PCI_VENDOR_ID_PASEMI@GOTPCREL(%rip), %r12
movl (%r12), %edi
xorl %ebx, %ebx
movl $40961, %esi ## imm = 0xA001
xorl %edx, %edx
callq _pci_get_device
testq %rax, %rax
je LBB0_4
## %bb.6:
movq %rax, %r14
xorl %ebx, %ebx
movq %rax, %rdi
xorl %esi, %esi
callq _map_onedev
movq _iob_regs@GOTPCREL(%rip), %rcx
movq %rax, (%rcx)
movl (%r12), %edi
movl $40967, %esi ## imm = 0xA007
xorl %edx, %edx
callq _pci_get_device
movq %rax, (%r15)
testq %rax, %rax
je LBB0_7
## %bb.8:
movq %r14, -64(%rbp) ## 8-byte Spill
xorl %r13d, %r13d
movq %rax, %rdi
xorl %esi, %esi
callq _map_onedev
movq _dma_regs@GOTPCREL(%rip), %rcx
movq %rax, (%rcx)
movq (%r15), %rax
movl (%rax), %edi
callq _virq_to_hw
movq _base_hw_irq@GOTPCREL(%rip), %rcx
movl %eax, (%rcx)
movq (%r15), %rdi
movq _PAS_DMA_CAP_TXCH@GOTPCREL(%rip), %rax
movl (%rax), %esi
leaq -44(%rbp), %rbx
movq %rbx, %rdx
callq _pci_read_config_dword
movq _PAS_DMA_CAP_TXCH_TCHN_M@GOTPCREL(%rip), %rax
movl (%rax), %eax
orl -44(%rbp), %eax
movq _PAS_DMA_CAP_TXCH_TCHN_S@GOTPCREL(%rip), %rcx
movzbl (%rcx), %ecx
sarl %cl, %eax
movq _num_txch@GOTPCREL(%rip), %rcx
movl %eax, (%rcx)
movq (%r15), %rdi
movq _PAS_DMA_CAP_RXCH@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rdx
callq _pci_read_config_dword
movq _PAS_DMA_CAP_RXCH_RCHN_M@GOTPCREL(%rip), %rax
movl (%rax), %eax
andl -44(%rbp), %eax
movq _PAS_DMA_CAP_RXCH_RCHN_S@GOTPCREL(%rip), %rcx
movzbl (%rcx), %ecx
sarl %cl, %eax
movq _num_rxch@GOTPCREL(%rip), %rcx
movl %eax, (%rcx)
movl (%r12), %edi
movl $40966, %esi ## imm = 0xA006
xorl %edx, %edx
callq _pci_get_device
testq %rax, %rax
je LBB0_11
## %bb.9:
movq %rax, %rbx
xorl %r13d, %r13d
movq _mac_regs@GOTPCREL(%rip), %r15
.p2align 4, 0x90
LBB0_10: ## =>This Inner Loop Header: Depth=1
movq %rbx, %rdi
xorl %esi, %esi
callq _map_onedev
movq (%r15), %rcx
movq %rax, (%rcx,%r13,8)
decq %r13
movl (%r12), %edi
movl $40966, %esi ## imm = 0xA006
movq %rbx, %rdx
callq _pci_get_device
movq %rax, %rbx
testq %rax, %rax
jne LBB0_10
LBB0_11:
xorl %ebx, %ebx
xorl %edi, %edi
callq _pci_dev_put
movl (%r12), %edi
movl $40965, %esi ## imm = 0xA005
xorl %edx, %edx
callq _pci_get_device
testq %rax, %rax
je LBB0_14
## %bb.12:
movq %rax, %r15
movslq %r13d, %r13
shlq $3, %r13
movq _mac_regs@GOTPCREL(%rip), %r14
.p2align 4, 0x90
LBB0_13: ## =>This Inner Loop Header: Depth=1
movq %r15, %rdi
xorl %esi, %esi
callq _map_onedev
movq (%r14), %rcx
movq %rax, (%rcx,%r13)
movl (%r12), %edi
movl $40965, %esi ## imm = 0xA005
movq %r15, %rdx
callq _pci_get_device
movq %rax, %r15
addq $8, %r13
testq %rax, %rax
jne LBB0_13
LBB0_14:
xorl %edi, %edi
callq _pci_dev_put
movq -64(%rbp), %r14 ## 8-byte Reload
movq %r14, %rdi
callq _pci_device_to_OF_node
testq %rax, %rax
je LBB0_17
## %bb.15:
leaq -52(%rbp), %rdx
movq %rax, %rdi
movl $1, %esi
callq _of_address_to_resource
movl %eax, %ebx
testl %eax, %eax
je LBB0_16
LBB0_17:
movabsq $-180161573027840000, %rax ## imm = 0xFD7FF000FD800000
movq %rax, -52(%rbp)
movl $-41943040, %r15d ## imm = 0xFD800000
jmp LBB0_18
LBB0_1:
movq _ENODEV@GOTPCREL(%rip), %rax
xorl %ebx, %ebx
subl (%rax), %ebx
jmp LBB0_40
LBB0_4:
xorl %eax, %eax
callq _BUG
leaq L_.str(%rip), %rdi
jmp LBB0_5
LBB0_7:
xorl %eax, %eax
callq _BUG
leaq L_.str.1(%rip), %rdi
LBB0_5:
callq _pr_warn
movq _ENODEV@GOTPCREL(%rip), %rax
subl (%rax), %ebx
jmp LBB0_39
LBB0_16:
xorl %ebx, %ebx
movl -52(%rbp), %r15d
LBB0_18:
leaq -52(%rbp), %rdi
callq _resource_size
movl %r15d, %edi
movl %eax, %esi
callq _ioremap_cache
movq _dma_status@GOTPCREL(%rip), %rcx
movl %eax, (%rcx)
movq %r14, %rdi
callq _pci_dev_put
movq _MAX_TXCH@GOTPCREL(%rip), %r15
cmpl $0, (%r15)
jle LBB0_21
## %bb.19:
xorl %r14d, %r14d
movq _txch_free@GOTPCREL(%rip), %r12
.p2align 4, 0x90
LBB0_20: ## =>This Inner Loop Header: Depth=1
movl (%r12), %esi
movl %r14d, %edi
callq ___set_bit
incl %r14d
cmpl (%r15), %r14d
jl LBB0_20
LBB0_21:
movq _MAX_RXCH@GOTPCREL(%rip), %r15
cmpl $0, (%r15)
jle LBB0_24
## %bb.22:
xorl %r14d, %r14d
movq _rxch_free@GOTPCREL(%rip), %r12
.p2align 4, 0x90
LBB0_23: ## =>This Inner Loop Header: Depth=1
movl (%r12), %esi
movl %r14d, %edi
callq ___set_bit
incl %r14d
cmpl (%r15), %r14d
jl LBB0_23
LBB0_24:
movq _jiffies@GOTPCREL(%rip), %r12
movq _HZ@GOTPCREL(%rip), %r13
movq (%r13), %r14
addq (%r12), %r14
movq _PAS_DMA_COM_RXCMD@GOTPCREL(%rip), %rax
movl (%rax), %edi
xorl %esi, %esi
callq _pasemi_write_dma_reg
movq _PAS_DMA_COM_RXSTA@GOTPCREL(%rip), %r15
.p2align 4, 0x90
LBB0_25: ## =>This Inner Loop Header: Depth=1
movl (%r15), %edi
callq _pasemi_read_dma_reg
testb $1, %al
je LBB0_28
## %bb.26: ## in Loop: Header=BB0_25 Depth=1
movq (%r12), %rdi
movq %r14, %rsi
callq _time_after
testq %rax, %rax
je LBB0_25
## %bb.27:
leaq L_.str.2(%rip), %rdi
callq _pr_warn
LBB0_28:
movq (%r13), %r14
addq (%r12), %r14
movq _PAS_DMA_COM_TXCMD@GOTPCREL(%rip), %r13
movl (%r13), %edi
xorl %esi, %esi
callq _pasemi_write_dma_reg
movq _PAS_DMA_COM_TXSTA@GOTPCREL(%rip), %r15
.p2align 4, 0x90
LBB0_29: ## =>This Inner Loop Header: Depth=1
movl (%r15), %edi
callq _pasemi_read_dma_reg
testb $1, %al
je LBB0_32
## %bb.30: ## in Loop: Header=BB0_29 Depth=1
movq (%r12), %rdi
movq %r14, %rsi
callq _time_after
testq %rax, %rax
je LBB0_29
## %bb.31:
leaq L_.str.3(%rip), %rdi
callq _pr_warn
LBB0_32:
movq _PAS_DMA_COM_CFG@GOTPCREL(%rip), %r14
movl (%r14), %edi
callq _pasemi_read_dma_reg
movl %eax, -44(%rbp)
movl (%r14), %edi
orl $402653184, %eax ## imm = 0x18000000
movl %eax, %esi
callq _pasemi_write_dma_reg
movl (%r13), %edi
movq _PAS_DMA_COM_TXCMD_EN@GOTPCREL(%rip), %rax
movl (%rax), %esi
callq _pasemi_write_dma_reg
movq _PAS_DMA_COM_RXCMD@GOTPCREL(%rip), %rax
movl (%rax), %edi
movq _PAS_DMA_COM_RXCMD_EN@GOTPCREL(%rip), %rax
movl (%rax), %esi
callq _pasemi_write_dma_reg
movq _MAX_FLAGS@GOTPCREL(%rip), %r15
cmpl $0, (%r15)
jle LBB0_35
## %bb.33:
xorl %r14d, %r14d
movq _flags_free@GOTPCREL(%rip), %r12
.p2align 4, 0x90
LBB0_34: ## =>This Inner Loop Header: Depth=1
movl (%r12), %esi
movl %r14d, %edi
callq ___set_bit
incl %r14d
cmpl (%r15), %r14d
jl LBB0_34
LBB0_35:
movq _MAX_FUN@GOTPCREL(%rip), %r15
cmpl $0, (%r15)
jle LBB0_38
## %bb.36:
xorl %r14d, %r14d
movq _fun_free@GOTPCREL(%rip), %r12
.p2align 4, 0x90
LBB0_37: ## =>This Inner Loop Header: Depth=1
movl (%r12), %esi
movl %r14d, %edi
callq ___set_bit
incl %r14d
cmpl (%r15), %r14d
jl LBB0_37
LBB0_38:
movq _PAS_DMA_TXF_CFLG0@GOTPCREL(%rip), %rax
movl (%rax), %edi
movl $-1, %esi
callq _pasemi_write_dma_reg
movq _PAS_DMA_TXF_CFLG1@GOTPCREL(%rip), %rax
movl (%rax), %edi
movl $-1, %esi
callq _pasemi_write_dma_reg
movq _num_txch@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq _num_rxch@GOTPCREL(%rip), %rax
movl (%rax), %edx
leaq L_.str.4(%rip), %rdi
callq _pr_info
LBB0_39:
leaq _pasemi_dma_init.init_lock(%rip), %rdi
callq _spin_unlock
LBB0_40:
movl %ebx, %eax
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.zerofill __DATA,__bss,_pasemi_dma_init.init_lock,4,2 ## @pasemi_dma_init.init_lock
.comm _pasemi,4,2 ## @pasemi
.comm _ENODEV,4,2 ## @ENODEV
.comm _dma_pdev,8,3 ## @dma_pdev
.comm _PCI_VENDOR_ID_PASEMI,4,2 ## @PCI_VENDOR_ID_PASEMI
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Can't find I/O Bridge\n"
.comm _iob_regs,8,3 ## @iob_regs
L_.str.1: ## @.str.1
.asciz "Can't find DMA controller\n"
.comm _dma_regs,8,3 ## @dma_regs
.comm _base_hw_irq,4,2 ## @base_hw_irq
.comm _PAS_DMA_CAP_TXCH,4,2 ## @PAS_DMA_CAP_TXCH
.comm _PAS_DMA_CAP_TXCH_TCHN_M,4,2 ## @PAS_DMA_CAP_TXCH_TCHN_M
.comm _PAS_DMA_CAP_TXCH_TCHN_S,4,2 ## @PAS_DMA_CAP_TXCH_TCHN_S
.comm _num_txch,4,2 ## @num_txch
.comm _PAS_DMA_CAP_RXCH,4,2 ## @PAS_DMA_CAP_RXCH
.comm _PAS_DMA_CAP_RXCH_RCHN_M,4,2 ## @PAS_DMA_CAP_RXCH_RCHN_M
.comm _PAS_DMA_CAP_RXCH_RCHN_S,4,2 ## @PAS_DMA_CAP_RXCH_RCHN_S
.comm _num_rxch,4,2 ## @num_rxch
.comm _mac_regs,8,3 ## @mac_regs
.comm _dma_status,4,2 ## @dma_status
.comm _MAX_TXCH,4,2 ## @MAX_TXCH
.comm _txch_free,4,2 ## @txch_free
.comm _MAX_RXCH,4,2 ## @MAX_RXCH
.comm _rxch_free,4,2 ## @rxch_free
.comm _jiffies,8,3 ## @jiffies
.comm _HZ,8,3 ## @HZ
.comm _PAS_DMA_COM_RXCMD,4,2 ## @PAS_DMA_COM_RXCMD
.comm _PAS_DMA_COM_RXSTA,4,2 ## @PAS_DMA_COM_RXSTA
L_.str.2: ## @.str.2
.asciz "Warning: Could not disable RX section\n"
.comm _PAS_DMA_COM_TXCMD,4,2 ## @PAS_DMA_COM_TXCMD
.comm _PAS_DMA_COM_TXSTA,4,2 ## @PAS_DMA_COM_TXSTA
L_.str.3: ## @.str.3
.asciz "Warning: Could not disable TX section\n"
.comm _PAS_DMA_COM_CFG,4,2 ## @PAS_DMA_COM_CFG
.comm _PAS_DMA_COM_TXCMD_EN,4,2 ## @PAS_DMA_COM_TXCMD_EN
.comm _PAS_DMA_COM_RXCMD_EN,4,2 ## @PAS_DMA_COM_RXCMD_EN
.comm _MAX_FLAGS,4,2 ## @MAX_FLAGS
.comm _flags_free,4,2 ## @flags_free
.comm _MAX_FUN,4,2 ## @MAX_FUN
.comm _fun_free,4,2 ## @fun_free
.comm _PAS_DMA_TXF_CFLG0,4,2 ## @PAS_DMA_TXF_CFLG0
.comm _PAS_DMA_TXF_CFLG1,4,2 ## @PAS_DMA_TXF_CFLG1
L_.str.4: ## @.str.4
.asciz "PA Semi PWRficient DMA library initialized (%d tx, %d rx channels)\n"
.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 pasemi_dma_init
lCPI0_0:
.long 4253024256 ; 0xfd800000
.long 4253020160 ; 0xfd7ff000
.section __TEXT,__text,regular,pure_instructions
.globl _pasemi_dma_init
.p2align 2
_pasemi_dma_init: ; @pasemi_dma_init
.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
Lloh0:
adrp x8, _pasemi@GOTPAGE
Lloh1:
ldr x8, [x8, _pasemi@GOTPAGEOFF]
Lloh2:
ldr w0, [x8]
bl _machine_is
cbz w0, LBB0_3
; %bb.1:
Lloh3:
adrp x0, _pasemi_dma_init.init_lock@PAGE
Lloh4:
add x0, x0, _pasemi_dma_init.init_lock@PAGEOFF
bl _spin_lock
Lloh5:
adrp x19, _dma_pdev@GOTPAGE
Lloh6:
ldr x19, [x19, _dma_pdev@GOTPAGEOFF]
ldr x8, [x19]
cbz x8, LBB0_4
; %bb.2:
mov w19, #0 ; =0x0
b LBB0_42
LBB0_3:
Lloh7:
adrp x8, _ENODEV@GOTPAGE
Lloh8:
ldr x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh9:
ldr w8, [x8]
neg w19, w8
b LBB0_43
LBB0_4:
Lloh10:
adrp x21, _PCI_VENDOR_ID_PASEMI@GOTPAGE
Lloh11:
ldr x21, [x21, _PCI_VENDOR_ID_PASEMI@GOTPAGEOFF]
ldr w0, [x21]
mov w1, #40961 ; =0xa001
mov x2, #0 ; =0x0
bl _pci_get_device
cbz x0, LBB0_9
; %bb.5:
mov x20, x0
mov w1, #0 ; =0x0
bl _map_onedev
Lloh12:
adrp x8, _iob_regs@GOTPAGE
Lloh13:
ldr x8, [x8, _iob_regs@GOTPAGEOFF]
Lloh14:
str x0, [x8]
ldr w0, [x21]
mov w1, #40967 ; =0xa007
mov x2, #0 ; =0x0
bl _pci_get_device
str x0, [x19]
cbz x0, LBB0_10
; %bb.6:
mov w1, #0 ; =0x0
bl _map_onedev
Lloh15:
adrp x8, _dma_regs@GOTPAGE
Lloh16:
ldr x8, [x8, _dma_regs@GOTPAGEOFF]
Lloh17:
str x0, [x8]
ldr x8, [x19]
ldr w0, [x8]
bl _virq_to_hw
Lloh18:
adrp x8, _base_hw_irq@GOTPAGE
Lloh19:
ldr x8, [x8, _base_hw_irq@GOTPAGEOFF]
Lloh20:
str w0, [x8]
ldr x0, [x19]
Lloh21:
adrp x8, _PAS_DMA_CAP_TXCH@GOTPAGE
Lloh22:
ldr x8, [x8, _PAS_DMA_CAP_TXCH@GOTPAGEOFF]
Lloh23:
ldr w1, [x8]
add x2, sp, #4
bl _pci_read_config_dword
ldr w8, [sp, #4]
Lloh24:
adrp x9, _PAS_DMA_CAP_TXCH_TCHN_M@GOTPAGE
Lloh25:
ldr x9, [x9, _PAS_DMA_CAP_TXCH_TCHN_M@GOTPAGEOFF]
Lloh26:
ldr w9, [x9]
orr w8, w9, w8
Lloh27:
adrp x9, _PAS_DMA_CAP_TXCH_TCHN_S@GOTPAGE
Lloh28:
ldr x9, [x9, _PAS_DMA_CAP_TXCH_TCHN_S@GOTPAGEOFF]
Lloh29:
ldr w9, [x9]
Lloh30:
adrp x22, _num_txch@GOTPAGE
Lloh31:
ldr x22, [x22, _num_txch@GOTPAGEOFF]
asr w8, w8, w9
str w8, [x22]
ldr x0, [x19]
Lloh32:
adrp x8, _PAS_DMA_CAP_RXCH@GOTPAGE
Lloh33:
ldr x8, [x8, _PAS_DMA_CAP_RXCH@GOTPAGEOFF]
Lloh34:
ldr w1, [x8]
add x2, sp, #4
bl _pci_read_config_dword
ldr w8, [sp, #4]
Lloh35:
adrp x9, _PAS_DMA_CAP_RXCH_RCHN_M@GOTPAGE
Lloh36:
ldr x9, [x9, _PAS_DMA_CAP_RXCH_RCHN_M@GOTPAGEOFF]
Lloh37:
ldr w9, [x9]
and w8, w9, w8
Lloh38:
adrp x9, _PAS_DMA_CAP_RXCH_RCHN_S@GOTPAGE
Lloh39:
ldr x9, [x9, _PAS_DMA_CAP_RXCH_RCHN_S@GOTPAGEOFF]
Lloh40:
ldr w9, [x9]
asr w8, w8, w9
Lloh41:
adrp x23, _num_rxch@GOTPAGE
Lloh42:
ldr x23, [x23, _num_rxch@GOTPAGEOFF]
str w8, [x23]
ldr w0, [x21]
mov w1, #40966 ; =0xa006
mov x2, #0 ; =0x0
bl _pci_get_device
Lloh43:
adrp x24, _mac_regs@GOTPAGE
Lloh44:
ldr x24, [x24, _mac_regs@GOTPAGEOFF]
cbz x0, LBB0_12
; %bb.7:
mov x19, x0
mov x26, #0 ; =0x0
LBB0_8: ; =>This Inner Loop Header: Depth=1
mov x0, x19
mov w1, #0 ; =0x0
bl _map_onedev
ldr x8, [x24]
sub x25, x26, #1
str x0, [x8, x26, lsl #3]
ldr w0, [x21]
mov w1, #40966 ; =0xa006
mov x2, x19
bl _pci_get_device
mov x19, x0
mov x26, x25
cbnz x0, LBB0_8
b LBB0_13
LBB0_9:
bl _BUG
Lloh45:
adrp x0, l_.str@PAGE
Lloh46:
add x0, x0, l_.str@PAGEOFF
b LBB0_11
LBB0_10:
bl _BUG
Lloh47:
adrp x0, l_.str.1@PAGE
Lloh48:
add x0, x0, l_.str.1@PAGEOFF
LBB0_11:
bl _pr_warn
Lloh49:
adrp x8, _ENODEV@GOTPAGE
Lloh50:
ldr x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh51:
ldr w8, [x8]
neg w19, w8
b LBB0_42
LBB0_12:
mov x25, #0 ; =0x0
LBB0_13:
mov x0, #0 ; =0x0
bl _pci_dev_put
ldr w0, [x21]
mov w1, #40965 ; =0xa005
mov x2, #0 ; =0x0
bl _pci_get_device
cbz x0, LBB0_16
; %bb.14:
mov x19, x0
sxtw x8, w25
lsl x25, x8, #3
LBB0_15: ; =>This Inner Loop Header: Depth=1
mov x0, x19
mov w1, #0 ; =0x0
bl _map_onedev
ldr x8, [x24]
str x0, [x8, x25]
ldr w0, [x21]
mov w1, #40965 ; =0xa005
mov x2, x19
bl _pci_get_device
mov x19, x0
add x25, x25, #8
cbnz x0, LBB0_15
LBB0_16:
mov x0, #0 ; =0x0
bl _pci_dev_put
mov x0, x20
bl _pci_device_to_OF_node
cbz x0, LBB0_19
; %bb.17:
add x2, sp, #8
mov w1, #1 ; =0x1
bl _of_address_to_resource
mov x19, x0
cbnz w0, LBB0_20
; %bb.18:
ldr w21, [sp, #8]
b LBB0_21
LBB0_19:
mov w19, #0 ; =0x0
LBB0_20:
Lloh52:
adrp x8, lCPI0_0@PAGE
Lloh53:
ldr d0, [x8, lCPI0_0@PAGEOFF]
str d0, [sp, #8]
mov w21, #-41943040 ; =0xfd800000
LBB0_21:
add x0, sp, #8
bl _resource_size
mov x1, x0
mov x0, x21
bl _ioremap_cache
Lloh54:
adrp x8, _dma_status@GOTPAGE
Lloh55:
ldr x8, [x8, _dma_status@GOTPAGEOFF]
Lloh56:
str w0, [x8]
mov x0, x20
bl _pci_dev_put
Lloh57:
adrp x21, _MAX_TXCH@GOTPAGE
Lloh58:
ldr x21, [x21, _MAX_TXCH@GOTPAGEOFF]
ldr w8, [x21]
cmp w8, #1
b.lt LBB0_24
; %bb.22:
mov w20, #0 ; =0x0
Lloh59:
adrp x24, _txch_free@GOTPAGE
Lloh60:
ldr x24, [x24, _txch_free@GOTPAGEOFF]
LBB0_23: ; =>This Inner Loop Header: Depth=1
ldr w1, [x24]
mov x0, x20
bl ___set_bit
add w20, w20, #1
ldr w8, [x21]
cmp w20, w8
b.lt LBB0_23
LBB0_24:
Lloh61:
adrp x21, _MAX_RXCH@GOTPAGE
Lloh62:
ldr x21, [x21, _MAX_RXCH@GOTPAGEOFF]
ldr w8, [x21]
cmp w8, #1
b.lt LBB0_27
; %bb.25:
mov w20, #0 ; =0x0
Lloh63:
adrp x24, _rxch_free@GOTPAGE
Lloh64:
ldr x24, [x24, _rxch_free@GOTPAGEOFF]
LBB0_26: ; =>This Inner Loop Header: Depth=1
ldr w1, [x24]
mov x0, x20
bl ___set_bit
add w20, w20, #1
ldr w8, [x21]
cmp w20, w8
b.lt LBB0_26
LBB0_27:
Lloh65:
adrp x21, _jiffies@GOTPAGE
Lloh66:
ldr x21, [x21, _jiffies@GOTPAGEOFF]
ldr x25, [x21]
Lloh67:
adrp x24, _HZ@GOTPAGE
Lloh68:
ldr x24, [x24, _HZ@GOTPAGEOFF]
ldr x26, [x24]
Lloh69:
adrp x20, _PAS_DMA_COM_RXCMD@GOTPAGE
Lloh70:
ldr x20, [x20, _PAS_DMA_COM_RXCMD@GOTPAGEOFF]
ldr w0, [x20]
mov w1, #0 ; =0x0
bl _pasemi_write_dma_reg
Lloh71:
adrp x27, _PAS_DMA_COM_RXSTA@GOTPAGE
Lloh72:
ldr x27, [x27, _PAS_DMA_COM_RXSTA@GOTPAGEOFF]
LBB0_28: ; =>This Inner Loop Header: Depth=1
ldr w0, [x27]
bl _pasemi_read_dma_reg
tbz w0, #0, LBB0_31
; %bb.29: ; in Loop: Header=BB0_28 Depth=1
ldr x0, [x21]
add x1, x26, x25
bl _time_after
cbz x0, LBB0_28
; %bb.30:
Lloh73:
adrp x0, l_.str.2@PAGE
Lloh74:
add x0, x0, l_.str.2@PAGEOFF
bl _pr_warn
LBB0_31:
ldr x25, [x21]
ldr x26, [x24]
Lloh75:
adrp x24, _PAS_DMA_COM_TXCMD@GOTPAGE
Lloh76:
ldr x24, [x24, _PAS_DMA_COM_TXCMD@GOTPAGEOFF]
ldr w0, [x24]
mov w1, #0 ; =0x0
bl _pasemi_write_dma_reg
Lloh77:
adrp x27, _PAS_DMA_COM_TXSTA@GOTPAGE
Lloh78:
ldr x27, [x27, _PAS_DMA_COM_TXSTA@GOTPAGEOFF]
LBB0_32: ; =>This Inner Loop Header: Depth=1
ldr w0, [x27]
bl _pasemi_read_dma_reg
tbz w0, #0, LBB0_35
; %bb.33: ; in Loop: Header=BB0_32 Depth=1
ldr x0, [x21]
add x1, x26, x25
bl _time_after
cbz x0, LBB0_32
; %bb.34:
Lloh79:
adrp x0, l_.str.3@PAGE
Lloh80:
add x0, x0, l_.str.3@PAGEOFF
bl _pr_warn
LBB0_35:
Lloh81:
adrp x21, _PAS_DMA_COM_CFG@GOTPAGE
Lloh82:
ldr x21, [x21, _PAS_DMA_COM_CFG@GOTPAGEOFF]
ldr w0, [x21]
bl _pasemi_read_dma_reg
str w0, [sp, #4]
ldr w8, [x21]
orr w1, w0, #0x18000000
mov x0, x8
bl _pasemi_write_dma_reg
ldr w0, [x24]
Lloh83:
adrp x8, _PAS_DMA_COM_TXCMD_EN@GOTPAGE
Lloh84:
ldr x8, [x8, _PAS_DMA_COM_TXCMD_EN@GOTPAGEOFF]
Lloh85:
ldr w1, [x8]
bl _pasemi_write_dma_reg
ldr w0, [x20]
Lloh86:
adrp x8, _PAS_DMA_COM_RXCMD_EN@GOTPAGE
Lloh87:
ldr x8, [x8, _PAS_DMA_COM_RXCMD_EN@GOTPAGEOFF]
Lloh88:
ldr w1, [x8]
bl _pasemi_write_dma_reg
Lloh89:
adrp x21, _MAX_FLAGS@GOTPAGE
Lloh90:
ldr x21, [x21, _MAX_FLAGS@GOTPAGEOFF]
ldr w8, [x21]
cmp w8, #1
b.lt LBB0_38
; %bb.36:
mov w20, #0 ; =0x0
Lloh91:
adrp x24, _flags_free@GOTPAGE
Lloh92:
ldr x24, [x24, _flags_free@GOTPAGEOFF]
LBB0_37: ; =>This Inner Loop Header: Depth=1
ldr w1, [x24]
mov x0, x20
bl ___set_bit
add w20, w20, #1
ldr w8, [x21]
cmp w20, w8
b.lt LBB0_37
LBB0_38:
Lloh93:
adrp x21, _MAX_FUN@GOTPAGE
Lloh94:
ldr x21, [x21, _MAX_FUN@GOTPAGEOFF]
ldr w8, [x21]
cmp w8, #1
b.lt LBB0_41
; %bb.39:
mov w20, #0 ; =0x0
Lloh95:
adrp x24, _fun_free@GOTPAGE
Lloh96:
ldr x24, [x24, _fun_free@GOTPAGEOFF]
LBB0_40: ; =>This Inner Loop Header: Depth=1
ldr w1, [x24]
mov x0, x20
bl ___set_bit
add w20, w20, #1
ldr w8, [x21]
cmp w20, w8
b.lt LBB0_40
LBB0_41:
Lloh97:
adrp x8, _PAS_DMA_TXF_CFLG0@GOTPAGE
Lloh98:
ldr x8, [x8, _PAS_DMA_TXF_CFLG0@GOTPAGEOFF]
Lloh99:
ldr w0, [x8]
mov w1, #-1 ; =0xffffffff
bl _pasemi_write_dma_reg
Lloh100:
adrp x8, _PAS_DMA_TXF_CFLG1@GOTPAGE
Lloh101:
ldr x8, [x8, _PAS_DMA_TXF_CFLG1@GOTPAGEOFF]
Lloh102:
ldr w0, [x8]
mov w1, #-1 ; =0xffffffff
bl _pasemi_write_dma_reg
ldr w1, [x22]
ldr w2, [x23]
Lloh103:
adrp x0, l_.str.4@PAGE
Lloh104:
add x0, x0, l_.str.4@PAGEOFF
bl _pr_info
LBB0_42:
Lloh105:
adrp x0, _pasemi_dma_init.init_lock@PAGE
Lloh106:
add x0, x0, _pasemi_dma_init.init_lock@PAGEOFF
bl _spin_unlock
LBB0_43:
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
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGot Lloh5, Lloh6
.loh AdrpAdd Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9
.loh AdrpLdrGot Lloh10, Lloh11
.loh AdrpLdrGotStr Lloh12, Lloh13, Lloh14
.loh AdrpLdrGot Lloh43, Lloh44
.loh AdrpLdrGot Lloh41, Lloh42
.loh AdrpLdrGotLdr Lloh38, Lloh39, Lloh40
.loh AdrpLdrGotLdr Lloh35, Lloh36, Lloh37
.loh AdrpLdrGotLdr Lloh32, Lloh33, Lloh34
.loh AdrpLdrGot Lloh30, Lloh31
.loh AdrpLdrGotLdr Lloh27, Lloh28, Lloh29
.loh AdrpLdrGotLdr Lloh24, Lloh25, Lloh26
.loh AdrpLdrGotLdr Lloh21, Lloh22, Lloh23
.loh AdrpLdrGotStr Lloh18, Lloh19, Lloh20
.loh AdrpLdrGotStr Lloh15, Lloh16, Lloh17
.loh AdrpAdd Lloh45, Lloh46
.loh AdrpAdd Lloh47, Lloh48
.loh AdrpLdrGotLdr Lloh49, Lloh50, Lloh51
.loh AdrpLdr Lloh52, Lloh53
.loh AdrpLdrGot Lloh57, Lloh58
.loh AdrpLdrGotStr Lloh54, Lloh55, Lloh56
.loh AdrpLdrGot Lloh59, Lloh60
.loh AdrpLdrGot Lloh61, Lloh62
.loh AdrpLdrGot Lloh63, Lloh64
.loh AdrpLdrGot Lloh71, Lloh72
.loh AdrpLdrGot Lloh69, Lloh70
.loh AdrpLdrGot Lloh67, Lloh68
.loh AdrpLdrGot Lloh65, Lloh66
.loh AdrpAdd Lloh73, Lloh74
.loh AdrpLdrGot Lloh77, Lloh78
.loh AdrpLdrGot Lloh75, Lloh76
.loh AdrpAdd Lloh79, Lloh80
.loh AdrpLdrGot Lloh89, Lloh90
.loh AdrpLdrGotLdr Lloh86, Lloh87, Lloh88
.loh AdrpLdrGotLdr Lloh83, Lloh84, Lloh85
.loh AdrpLdrGot Lloh81, Lloh82
.loh AdrpLdrGot Lloh91, Lloh92
.loh AdrpLdrGot Lloh93, Lloh94
.loh AdrpLdrGot Lloh95, Lloh96
.loh AdrpAdd Lloh103, Lloh104
.loh AdrpLdrGotLdr Lloh100, Lloh101, Lloh102
.loh AdrpLdrGotLdr Lloh97, Lloh98, Lloh99
.loh AdrpAdd Lloh105, Lloh106
.cfi_endproc
; -- End function
.zerofill __DATA,__bss,_pasemi_dma_init.init_lock,4,2 ; @pasemi_dma_init.init_lock
.comm _pasemi,4,2 ; @pasemi
.comm _ENODEV,4,2 ; @ENODEV
.comm _dma_pdev,8,3 ; @dma_pdev
.comm _PCI_VENDOR_ID_PASEMI,4,2 ; @PCI_VENDOR_ID_PASEMI
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Can't find I/O Bridge\n"
.comm _iob_regs,8,3 ; @iob_regs
l_.str.1: ; @.str.1
.asciz "Can't find DMA controller\n"
.comm _dma_regs,8,3 ; @dma_regs
.comm _base_hw_irq,4,2 ; @base_hw_irq
.comm _PAS_DMA_CAP_TXCH,4,2 ; @PAS_DMA_CAP_TXCH
.comm _PAS_DMA_CAP_TXCH_TCHN_M,4,2 ; @PAS_DMA_CAP_TXCH_TCHN_M
.comm _PAS_DMA_CAP_TXCH_TCHN_S,4,2 ; @PAS_DMA_CAP_TXCH_TCHN_S
.comm _num_txch,4,2 ; @num_txch
.comm _PAS_DMA_CAP_RXCH,4,2 ; @PAS_DMA_CAP_RXCH
.comm _PAS_DMA_CAP_RXCH_RCHN_M,4,2 ; @PAS_DMA_CAP_RXCH_RCHN_M
.comm _PAS_DMA_CAP_RXCH_RCHN_S,4,2 ; @PAS_DMA_CAP_RXCH_RCHN_S
.comm _num_rxch,4,2 ; @num_rxch
.comm _mac_regs,8,3 ; @mac_regs
.comm _dma_status,4,2 ; @dma_status
.comm _MAX_TXCH,4,2 ; @MAX_TXCH
.comm _txch_free,4,2 ; @txch_free
.comm _MAX_RXCH,4,2 ; @MAX_RXCH
.comm _rxch_free,4,2 ; @rxch_free
.comm _jiffies,8,3 ; @jiffies
.comm _HZ,8,3 ; @HZ
.comm _PAS_DMA_COM_RXCMD,4,2 ; @PAS_DMA_COM_RXCMD
.comm _PAS_DMA_COM_RXSTA,4,2 ; @PAS_DMA_COM_RXSTA
l_.str.2: ; @.str.2
.asciz "Warning: Could not disable RX section\n"
.comm _PAS_DMA_COM_TXCMD,4,2 ; @PAS_DMA_COM_TXCMD
.comm _PAS_DMA_COM_TXSTA,4,2 ; @PAS_DMA_COM_TXSTA
l_.str.3: ; @.str.3
.asciz "Warning: Could not disable TX section\n"
.comm _PAS_DMA_COM_CFG,4,2 ; @PAS_DMA_COM_CFG
.comm _PAS_DMA_COM_TXCMD_EN,4,2 ; @PAS_DMA_COM_TXCMD_EN
.comm _PAS_DMA_COM_RXCMD_EN,4,2 ; @PAS_DMA_COM_RXCMD_EN
.comm _MAX_FLAGS,4,2 ; @MAX_FLAGS
.comm _flags_free,4,2 ; @flags_free
.comm _MAX_FUN,4,2 ; @MAX_FUN
.comm _fun_free,4,2 ; @fun_free
.comm _PAS_DMA_TXF_CFLG0,4,2 ; @PAS_DMA_TXF_CFLG0
.comm _PAS_DMA_TXF_CFLG1,4,2 ; @PAS_DMA_TXF_CFLG1
l_.str.4: ; @.str.4
.asciz "PA Semi PWRficient DMA library initialized (%d tx, %d rx channels)\n"
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _LWLockConditionalAcquire ## -- Begin function LWLockConditionalAcquire
.p2align 4, 0x90
_LWLockConditionalAcquire: ## @LWLockConditionalAcquire
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
.cfi_offset %rbx, -48
.cfi_offset %r12, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rsi, %rbx
movq %rdi, %r14
movq _LW_SHARED@GOTPCREL(%rip), %rax
movq (%rax), %rax
xorq %rsi, %rax
movq _LW_EXCLUSIVE@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
xorq %rsi, %rcx
xorl %edi, %edi
orq %rax, %rcx
sete %dil
callq _AssertArg
leaq L_.str(%rip), %rdi
movq %r14, %rsi
movq %rbx, %rdx
callq _PRINT_LWDEBUG
movq _num_held_lwlocks@GOTPCREL(%rip), %r12
movq (%r12), %rax
movq _MAX_SIMUL_LWLOCKS@GOTPCREL(%rip), %rcx
cmpq (%rcx), %rax
jb LBB0_2
## %bb.1:
movq _ERROR@GOTPCREL(%rip), %rax
movl (%rax), %edi
leaq L_.str.1(%rip), %rsi
callq _elog
LBB0_2:
xorl %eax, %eax
callq _HOLD_INTERRUPTS
movq %r14, %rdi
movq %rbx, %rsi
callq _LWLockAttemptLock
movl %eax, %r15d
testl %eax, %eax
je LBB0_4
## %bb.3:
xorl %eax, %eax
callq _RESUME_INTERRUPTS
leaq L_.str(%rip), %rdi
leaq L_.str.2(%rip), %rdx
movq %r14, %rsi
callq _LOG_LWDEBUG
movq %r14, %rdi
callq _T_NAME
movl %eax, %edi
movq %rbx, %rsi
callq _TRACE_POSTGRESQL_LWLOCK_CONDACQUIRE_FAIL
jmp LBB0_5
LBB0_4:
movq _held_lwlocks@GOTPCREL(%rip), %rax
movq (%rax), %rcx
movq (%r12), %rdx
movq %rdx, %rsi
shlq $4, %rsi
movq %r14, 8(%rcx,%rsi)
movq (%rax), %rax
decq %rdx
movq %rdx, (%r12)
movq %rbx, (%rax,%rsi)
movq %r14, %rdi
callq _T_NAME
movl %eax, %edi
movq %rbx, %rsi
callq _TRACE_POSTGRESQL_LWLOCK_CONDACQUIRE
LBB0_5:
xorl %eax, %eax
testl %r15d, %r15d
sete %al
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _LW_SHARED,8,3 ## @LW_SHARED
.comm _LW_EXCLUSIVE,8,3 ## @LW_EXCLUSIVE
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "LWLockConditionalAcquire"
.comm _num_held_lwlocks,8,3 ## @num_held_lwlocks
.comm _MAX_SIMUL_LWLOCKS,8,3 ## @MAX_SIMUL_LWLOCKS
.comm _ERROR,4,2 ## @ERROR
L_.str.1: ## @.str.1
.asciz "too many LWLocks taken"
L_.str.2: ## @.str.2
.asciz "failed"
.comm _held_lwlocks,8,3 ## @held_lwlocks
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _LWLockConditionalAcquire ; -- Begin function LWLockConditionalAcquire
.p2align 2
_LWLockConditionalAcquire: ; @LWLockConditionalAcquire
.cfi_startproc
; %bb.0:
stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
mov x19, x1
mov x20, x0
Lloh0:
adrp x8, _LW_SHARED@GOTPAGE
Lloh1:
ldr x8, [x8, _LW_SHARED@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
cmp x8, x1
Lloh3:
adrp x8, _LW_EXCLUSIVE@GOTPAGE
Lloh4:
ldr x8, [x8, _LW_EXCLUSIVE@GOTPAGEOFF]
Lloh5:
ldr x8, [x8]
ccmp x8, x1, #0, eq
cset w0, eq
bl _AssertArg
Lloh6:
adrp x0, l_.str@PAGE
Lloh7:
add x0, x0, l_.str@PAGEOFF
mov x1, x20
mov x2, x19
bl _PRINT_LWDEBUG
Lloh8:
adrp x22, _num_held_lwlocks@GOTPAGE
Lloh9:
ldr x22, [x22, _num_held_lwlocks@GOTPAGEOFF]
ldr x8, [x22]
Lloh10:
adrp x9, _MAX_SIMUL_LWLOCKS@GOTPAGE
Lloh11:
ldr x9, [x9, _MAX_SIMUL_LWLOCKS@GOTPAGEOFF]
Lloh12:
ldr x9, [x9]
cmp x8, x9
b.lo LBB0_2
; %bb.1:
Lloh13:
adrp x8, _ERROR@GOTPAGE
Lloh14:
ldr x8, [x8, _ERROR@GOTPAGEOFF]
Lloh15:
ldr w0, [x8]
Lloh16:
adrp x1, l_.str.1@PAGE
Lloh17:
add x1, x1, l_.str.1@PAGEOFF
bl _elog
LBB0_2:
bl _HOLD_INTERRUPTS
mov x0, x20
mov x1, x19
bl _LWLockAttemptLock
mov x21, x0
cbz w0, LBB0_4
; %bb.3:
bl _RESUME_INTERRUPTS
Lloh18:
adrp x0, l_.str@PAGE
Lloh19:
add x0, x0, l_.str@PAGEOFF
Lloh20:
adrp x2, l_.str.2@PAGE
Lloh21:
add x2, x2, l_.str.2@PAGEOFF
mov x1, x20
bl _LOG_LWDEBUG
mov x0, x20
bl _T_NAME
mov x1, x19
bl _TRACE_POSTGRESQL_LWLOCK_CONDACQUIRE_FAIL
b LBB0_5
LBB0_4:
Lloh22:
adrp x8, _held_lwlocks@GOTPAGE
Lloh23:
ldr x8, [x8, _held_lwlocks@GOTPAGEOFF]
ldr x9, [x8]
ldr x10, [x22]
lsl x11, x10, #4
add x9, x9, x11
str x20, [x9, #8]
ldr x8, [x8]
sub x9, x10, #1
str x9, [x22]
str x19, [x8, x11]
mov x0, x20
bl _T_NAME
mov x1, x19
bl _TRACE_POSTGRESQL_LWLOCK_CONDACQUIRE
LBB0_5:
cmp w21, #0
cset w0, eq
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 Lloh10, Lloh11, Lloh12
.loh AdrpLdrGot Lloh8, Lloh9
.loh AdrpAdd Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpAdd Lloh16, Lloh17
.loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh15
.loh AdrpAdd Lloh20, Lloh21
.loh AdrpAdd Lloh18, Lloh19
.loh AdrpLdrGot Lloh22, Lloh23
.cfi_endproc
; -- End function
.comm _LW_SHARED,8,3 ; @LW_SHARED
.comm _LW_EXCLUSIVE,8,3 ; @LW_EXCLUSIVE
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "LWLockConditionalAcquire"
.comm _num_held_lwlocks,8,3 ; @num_held_lwlocks
.comm _MAX_SIMUL_LWLOCKS,8,3 ; @MAX_SIMUL_LWLOCKS
.comm _ERROR,4,2 ; @ERROR
l_.str.1: ; @.str.1
.asciz "too many LWLocks taken"
l_.str.2: ; @.str.2
.asciz "failed"
.comm _held_lwlocks,8,3 ; @held_lwlocks
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function HUF_fillDTableX4Level2
_HUF_fillDTableX4Level2: ## @HUF_fillDTableX4Level2
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $88, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %r9, -120(%rbp) ## 8-byte Spill
movl %r8d, %r14d
movq %rcx, %r15
movq %rdx, -88(%rbp) ## 8-byte Spill
movq %rsi, -112(%rbp) ## 8-byte Spill
movq %rdi, -80(%rbp) ## 8-byte Spill
movq %rsp, -96(%rbp) ## 8-byte Spill
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
movq _HUF_ABSOLUTEMAX_TABLELOG@GOTPCREL(%rip), %rax
movl (%rax), %ebx
leal 1(%rbx), %eax
shlq $3, %rax
callq ____chkstk_darwin
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq %rsp, %r13
leal 8(,%rbx,8), %edx
movq %r13, %rdi
movq %r15, %rsi
callq _memcpy
cmpl $2, %r14d
jl LBB0_3
## %bb.1:
movl %r14d, %eax
leaq -56(%rbp), %rdi
movq (%r13,%rax,8), %rbx
movq 32(%rbp), %rsi
callq _MEM_writeLE16
movq -88(%rbp), %rax ## 8-byte Reload
movq %rax, -64(%rbp)
movl $1, -72(%rbp)
testq %rbx, %rbx
je LBB0_3
## %bb.2:
movq -56(%rbp), %rax
movq -80(%rbp), %rcx ## 8-byte Reload
movq %rax, 16(%rcx)
movl -72(%rbp), %eax
movl %eax, (%rcx)
movl -68(%rbp), %eax
movl %eax, 4(%rcx)
movq -64(%rbp), %rax
movq %rax, 8(%rcx)
LBB0_3:
cmpq $0, 16(%rbp)
je LBB0_8
## %bb.4:
xorl %r15d, %r15d
movq %r13, -104(%rbp) ## 8-byte Spill
.p2align 4, 0x90
LBB0_5: ## =>This Loop Header: Depth=1
## Child Loop BB0_6 Depth 2
movq %r15, %rax
shlq $4, %rax
movq -120(%rbp), %rcx ## 8-byte Reload
movq (%rcx,%rax), %rsi
movq 8(%rcx,%rax), %r14
movq 24(%rbp), %r12
subq %r14, %r12
movq -112(%rbp), %rax ## 8-byte Reload
movl %eax, %ecx
subl %r12d, %ecx
movl $1, %eax
## kill: def $cl killed $cl killed $ecx
shll %cl, %eax
cltq
movq (%r13,%r14,8), %rbx
movq %rax, -128(%rbp) ## 8-byte Spill
leaq (%rbx,%rax), %r13
shlq $8, %rsi
addq 32(%rbp), %rsi
leaq -56(%rbp), %rdi
callq _MEM_writeLE16
addq -88(%rbp), %r12 ## 8-byte Folded Reload
movq %r12, -64(%rbp)
movl $2, -72(%rbp)
leaq (%rbx,%rbx,2), %rax
movq -80(%rbp), %rcx ## 8-byte Reload
leaq (%rcx,%rax,8), %rax
.p2align 4, 0x90
LBB0_6: ## Parent Loop BB0_5 Depth=1
## => This Inner Loop Header: Depth=2
incq %rbx
movq -56(%rbp), %rcx
movq %rcx, 16(%rax)
movl -72(%rbp), %ecx
movl %ecx, (%rax)
movl -68(%rbp), %ecx
movl %ecx, 4(%rax)
movq -64(%rbp), %rcx
movq %rcx, 8(%rax)
addq $24, %rax
cmpq %r13, %rbx
jb LBB0_6
## %bb.7: ## in Loop: Header=BB0_5 Depth=1
movq -104(%rbp), %r13 ## 8-byte Reload
movq -128(%rbp), %rax ## 8-byte Reload
addq %rax, (%r13,%r14,8)
incq %r15
cmpq 16(%rbp), %r15
jne LBB0_5
LBB0_8:
movq -96(%rbp), %rsp ## 8-byte Reload
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB0_10
## %bb.9:
leaq -40(%rbp), %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_10:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.comm _HUF_ABSOLUTEMAX_TABLELOG,4,2 ## @HUF_ABSOLUTEMAX_TABLELOG
.no_dead_strip _HUF_fillDTableX4Level2
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function HUF_fillDTableX4Level2
_HUF_fillDTableX4Level2: ; @HUF_fillDTableX4Level2
.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, #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
stp x7, x6, [x29, #-128] ; 16-byte Folded Spill
stp x1, x5, [x29, #-144] ; 16-byte Folded Spill
mov x27, x4
mov x22, x2
mov x24, x0
mov x8, sp
stur x8, [x29, #-152] ; 8-byte Folded Spill
ldr x25, [x29, #16]
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
Lloh3:
adrp x9, _HUF_ABSOLUTEMAX_TABLELOG@GOTPAGE
Lloh4:
ldr x9, [x9, _HUF_ABSOLUTEMAX_TABLELOG@GOTPAGEOFF]
stur x8, [x29, #-88]
Lloh5:
ldr w8, [x9]
add w8, w8, #1
ubfiz x9, x8, #3, #32
add x10, x9, #15
and x12, x10, #0xffffffff0
Lloh6:
adrp x16, ___chkstk_darwin@GOTPAGE
Lloh7:
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
mov x9, sp
sub x26, x9, x12
mov sp, x26
lsl w2, w8, #3
mov x0, x26
mov x1, x3
bl _memcpy
cmp w27, #2
b.lt LBB0_3
; %bb.1:
ldr x19, [x26, w27, uxtw #3]
sub x8, x29, #112
add x0, x8, #16
mov x1, x25
bl _MEM_writeLE16
stur x22, [x29, #-104]
mov w8, #1 ; =0x1
stur w8, [x29, #-112]
cbz x19, LBB0_3
; %bb.2:
ldur q0, [x29, #-112]
str q0, [x24]
ldur x8, [x29, #-96]
str x8, [x24, #16]
LBB0_3:
ldur x8, [x29, #-120] ; 8-byte Folded Reload
cbz x8, LBB0_8
; %bb.4:
mov x27, #0 ; =0x0
LBB0_5: ; =>This Loop Header: Depth=1
; Child Loop BB0_6 Depth 2
ldur x8, [x29, #-136] ; 8-byte Folded Reload
add x8, x8, x27, lsl #4
ldp x9, x28, [x8]
ldur x8, [x29, #-128] ; 8-byte Folded Reload
sub x20, x8, x28
ldur x8, [x29, #-144] ; 8-byte Folded Reload
sub w8, w8, w20
mov w10, #1 ; =0x1
lsl w8, w10, w8
sxtw x19, w8
ldr x21, [x26, x28, lsl #3]
add x23, x21, x19
add x1, x25, x9, lsl #8
sub x8, x29, #112
add x0, x8, #16
bl _MEM_writeLE16
add x8, x20, x22
stur x8, [x29, #-104]
mov w8, #2 ; =0x2
stur w8, [x29, #-112]
mov w8, #24 ; =0x18
madd x8, x21, x8, x24
LBB0_6: ; Parent Loop BB0_5 Depth=1
; => This Inner Loop Header: Depth=2
add x21, x21, #1
ldur q0, [x29, #-112]
str q0, [x8]
ldur x9, [x29, #-96]
str x9, [x8, #16]
add x8, x8, #24
cmp x21, x23
b.lo LBB0_6
; %bb.7: ; in Loop: Header=BB0_5 Depth=1
ldr x8, [x26, x28, lsl #3]
add x8, x8, x19
str x8, [x26, x28, lsl #3]
add x27, x27, #1
ldur x8, [x29, #-120] ; 8-byte Folded Reload
cmp x27, x8
b.ne LBB0_5
LBB0_8:
ldur x8, [x29, #-152] ; 8-byte Folded Reload
mov sp, x8
ldur x8, [x29, #-88]
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_10
; %bb.9:
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_10:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10
.loh AdrpLdrGot Lloh6, Lloh7
.cfi_endproc
; -- End function
.comm _HUF_ABSOLUTEMAX_TABLELOG,4,2 ; @HUF_ABSOLUTEMAX_TABLELOG
.no_dead_strip _HUF_fillDTableX4Level2
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _TitanRenderLinesSimplified ## -- Begin function TitanRenderLinesSimplified
.p2align 4, 0x90
_TitanRenderLinesSimplified: ## @TitanRenderLinesSimplified
.cfi_startproc
## %bb.0:
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, -92(%rbp) ## 4-byte Spill
movq %rdi, -112(%rbp) ## 8-byte Spill
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
xorps %xmm0, %xmm0
movaps %xmm0, -64(%rbp)
movaps %xmm0, -80(%rbp)
movq _tt_context@GOTPCREL(%rip), %rcx
movl 32(%rcx), %eax
orl 36(%rcx), %eax
je LBB0_103
## %bb.1:
movl %esi, %r14d
leaq -100(%rbp), %rdi
leaq -104(%rbp), %rsi
callq _Vdp2GetInterlaceInfo
movq _TITAN_RBG0@GOTPCREL(%rip), %rax
movl (%rax), %ecx
testl %ecx, %ecx
js LBB0_2
## %bb.3:
movq _tt_context@GOTPCREL(%rip), %rax
movq (%rax), %rax
je LBB0_4
## %bb.5:
leal 1(%rcx), %esi
andl $-2, %esi
movq $0, -88(%rbp) ## 8-byte Folded Spill
movq %rcx, %rdx
jmp LBB0_6
.p2align 4, 0x90
LBB0_10: ## in Loop: Header=BB0_6 Depth=1
addq $-2, %rdx
addq $-2, %rsi
je LBB0_11
LBB0_6: ## =>This Inner Loop Header: Depth=1
cmpl $7, (%rax,%rdx,4)
jne LBB0_8
## %bb.7: ## in Loop: Header=BB0_6 Depth=1
movq -88(%rbp), %r8 ## 8-byte Reload
movslq %r8d, %rdi
incl %r8d
movq %r8, -88(%rbp) ## 8-byte Spill
movl %edx, -80(%rbp,%rdi,4)
LBB0_8: ## in Loop: Header=BB0_6 Depth=1
cmpl $7, -4(%rax,%rdx,4)
jne LBB0_10
## %bb.9: ## in Loop: Header=BB0_6 Depth=1
movq -88(%rbp), %r8 ## 8-byte Reload
movslq %r8d, %rdi
incl %r8d
movq %r8, -88(%rbp) ## 8-byte Spill
leal -1(%rdx), %r8d
movl %r8d, -80(%rbp,%rdi,4)
jmp LBB0_10
LBB0_2:
movq $0, -88(%rbp) ## 8-byte Folded Spill
jmp LBB0_86
LBB0_4:
movq $0, -88(%rbp) ## 8-byte Folded Spill
movq %rcx, %rdx
LBB0_11:
testb $1, %cl
jne LBB0_14
## %bb.12:
cmpl $7, (%rax,%rdx,4)
jne LBB0_14
## %bb.13:
movq -88(%rbp), %rdi ## 8-byte Reload
movslq %edi, %rsi
incl %edi
movq %rdi, -88(%rbp) ## 8-byte Spill
movl %edx, -80(%rbp,%rsi,4)
LBB0_14:
testl %ecx, %ecx
js LBB0_86
## %bb.15:
testb $1, %cl
jne LBB0_16
## %bb.17:
cmpl $6, (%rax,%rcx,4)
jne LBB0_19
## %bb.18:
movq -88(%rbp), %rsi ## 8-byte Reload
movslq %esi, %rdx
incl %esi
movq %rsi, -88(%rbp) ## 8-byte Spill
movl %ecx, -80(%rbp,%rdx,4)
LBB0_19:
leaq -1(%rcx), %rdx
testl %ecx, %ecx
jne LBB0_21
jmp LBB0_26
LBB0_16:
movq %rcx, %rdx
testl %ecx, %ecx
jne LBB0_21
LBB0_26:
testl %ecx, %ecx
js LBB0_86
## %bb.27:
testb $1, %cl
jne LBB0_28
## %bb.29:
cmpl $5, (%rax,%rcx,4)
jne LBB0_31
## %bb.30:
movq -88(%rbp), %rsi ## 8-byte Reload
movslq %esi, %rdx
incl %esi
movq %rsi, -88(%rbp) ## 8-byte Spill
movl %ecx, -80(%rbp,%rdx,4)
LBB0_31:
leaq -1(%rcx), %rdx
testl %ecx, %ecx
jne LBB0_33
jmp LBB0_38
.p2align 4, 0x90
LBB0_25: ## in Loop: Header=BB0_21 Depth=1
leaq -2(%rdx), %rsi
cmpq $1, %rdx
movq %rsi, %rdx
jle LBB0_26
LBB0_21: ## =>This Inner Loop Header: Depth=1
cmpl $6, (%rax,%rdx,4)
jne LBB0_23
## %bb.22: ## in Loop: Header=BB0_21 Depth=1
movq -88(%rbp), %rdi ## 8-byte Reload
movslq %edi, %rsi
incl %edi
movq %rdi, -88(%rbp) ## 8-byte Spill
movl %edx, -80(%rbp,%rsi,4)
LBB0_23: ## in Loop: Header=BB0_21 Depth=1
cmpl $6, -4(%rax,%rdx,4)
jne LBB0_25
## %bb.24: ## in Loop: Header=BB0_21 Depth=1
movq -88(%rbp), %rdi ## 8-byte Reload
movslq %edi, %rsi
incl %edi
movq %rdi, -88(%rbp) ## 8-byte Spill
leal -1(%rdx), %edi
movl %edi, -80(%rbp,%rsi,4)
jmp LBB0_25
LBB0_28:
movq %rcx, %rdx
testl %ecx, %ecx
jne LBB0_33
LBB0_38:
testl %ecx, %ecx
js LBB0_86
## %bb.39:
testb $1, %cl
jne LBB0_40
## %bb.41:
cmpl $4, (%rax,%rcx,4)
jne LBB0_43
## %bb.42:
movq -88(%rbp), %rsi ## 8-byte Reload
movslq %esi, %rdx
incl %esi
movq %rsi, -88(%rbp) ## 8-byte Spill
movl %ecx, -80(%rbp,%rdx,4)
LBB0_43:
leaq -1(%rcx), %rdx
jmp LBB0_44
.p2align 4, 0x90
LBB0_37: ## in Loop: Header=BB0_33 Depth=1
leaq -2(%rdx), %rsi
cmpq $1, %rdx
movq %rsi, %rdx
jle LBB0_38
LBB0_33: ## =>This Inner Loop Header: Depth=1
cmpl $5, (%rax,%rdx,4)
jne LBB0_35
## %bb.34: ## in Loop: Header=BB0_33 Depth=1
movq -88(%rbp), %rdi ## 8-byte Reload
movslq %edi, %rsi
incl %edi
movq %rdi, -88(%rbp) ## 8-byte Spill
movl %edx, -80(%rbp,%rsi,4)
LBB0_35: ## in Loop: Header=BB0_33 Depth=1
cmpl $5, -4(%rax,%rdx,4)
jne LBB0_37
## %bb.36: ## in Loop: Header=BB0_33 Depth=1
movq -88(%rbp), %rdi ## 8-byte Reload
movslq %edi, %rsi
incl %edi
movq %rdi, -88(%rbp) ## 8-byte Spill
leal -1(%rdx), %edi
movl %edi, -80(%rbp,%rsi,4)
jmp LBB0_37
LBB0_40:
movq %rcx, %rdx
LBB0_44:
testl %ecx, %ecx
jne LBB0_45
LBB0_50:
testl %ecx, %ecx
js LBB0_86
## %bb.51:
testb $1, %cl
jne LBB0_52
## %bb.53:
cmpl $3, (%rax,%rcx,4)
jne LBB0_55
## %bb.54:
movq -88(%rbp), %rsi ## 8-byte Reload
movslq %esi, %rdx
incl %esi
movq %rsi, -88(%rbp) ## 8-byte Spill
movl %ecx, -80(%rbp,%rdx,4)
LBB0_55:
leaq -1(%rcx), %rdx
jmp LBB0_56
.p2align 4, 0x90
LBB0_49: ## in Loop: Header=BB0_45 Depth=1
leaq -2(%rdx), %rsi
cmpq $1, %rdx
movq %rsi, %rdx
jle LBB0_50
LBB0_45: ## =>This Inner Loop Header: Depth=1
cmpl $4, (%rax,%rdx,4)
jne LBB0_47
## %bb.46: ## in Loop: Header=BB0_45 Depth=1
movq -88(%rbp), %rdi ## 8-byte Reload
movslq %edi, %rsi
incl %edi
movq %rdi, -88(%rbp) ## 8-byte Spill
movl %edx, -80(%rbp,%rsi,4)
LBB0_47: ## in Loop: Header=BB0_45 Depth=1
cmpl $4, -4(%rax,%rdx,4)
jne LBB0_49
## %bb.48: ## in Loop: Header=BB0_45 Depth=1
movq -88(%rbp), %rdi ## 8-byte Reload
movslq %edi, %rsi
incl %edi
movq %rdi, -88(%rbp) ## 8-byte Spill
leal -1(%rdx), %edi
movl %edi, -80(%rbp,%rsi,4)
jmp LBB0_49
LBB0_52:
movq %rcx, %rdx
LBB0_56:
testl %ecx, %ecx
jne LBB0_57
LBB0_62:
testl %ecx, %ecx
js LBB0_86
## %bb.63:
testb $1, %cl
jne LBB0_64
## %bb.65:
cmpl $2, (%rax,%rcx,4)
jne LBB0_67
## %bb.66:
movq -88(%rbp), %rsi ## 8-byte Reload
movslq %esi, %rdx
incl %esi
movq %rsi, -88(%rbp) ## 8-byte Spill
movl %ecx, -80(%rbp,%rdx,4)
LBB0_67:
leaq -1(%rcx), %rdx
jmp LBB0_68
.p2align 4, 0x90
LBB0_61: ## in Loop: Header=BB0_57 Depth=1
leaq -2(%rdx), %rsi
cmpq $1, %rdx
movq %rsi, %rdx
jle LBB0_62
LBB0_57: ## =>This Inner Loop Header: Depth=1
cmpl $3, (%rax,%rdx,4)
jne LBB0_59
## %bb.58: ## in Loop: Header=BB0_57 Depth=1
movq -88(%rbp), %rdi ## 8-byte Reload
movslq %edi, %rsi
incl %edi
movq %rdi, -88(%rbp) ## 8-byte Spill
movl %edx, -80(%rbp,%rsi,4)
LBB0_59: ## in Loop: Header=BB0_57 Depth=1
cmpl $3, -4(%rax,%rdx,4)
jne LBB0_61
## %bb.60: ## in Loop: Header=BB0_57 Depth=1
movq -88(%rbp), %rdi ## 8-byte Reload
movslq %edi, %rsi
incl %edi
movq %rdi, -88(%rbp) ## 8-byte Spill
leal -1(%rdx), %edi
movl %edi, -80(%rbp,%rsi,4)
jmp LBB0_61
LBB0_64:
movq %rcx, %rdx
LBB0_68:
testl %ecx, %ecx
jne LBB0_69
LBB0_74:
testl %ecx, %ecx
js LBB0_86
## %bb.75:
testb $1, %cl
jne LBB0_76
## %bb.77:
cmpl $1, (%rax,%rcx,4)
jne LBB0_79
## %bb.78:
movq -88(%rbp), %rsi ## 8-byte Reload
movslq %esi, %rdx
incl %esi
movq %rsi, -88(%rbp) ## 8-byte Spill
movl %ecx, -80(%rbp,%rdx,4)
LBB0_79:
leaq -1(%rcx), %rdx
jmp LBB0_80
.p2align 4, 0x90
LBB0_73: ## in Loop: Header=BB0_69 Depth=1
leaq -2(%rdx), %rsi
cmpq $1, %rdx
movq %rsi, %rdx
jle LBB0_74
LBB0_69: ## =>This Inner Loop Header: Depth=1
cmpl $2, (%rax,%rdx,4)
jne LBB0_71
## %bb.70: ## in Loop: Header=BB0_69 Depth=1
movq -88(%rbp), %rdi ## 8-byte Reload
movslq %edi, %rsi
incl %edi
movq %rdi, -88(%rbp) ## 8-byte Spill
movl %edx, -80(%rbp,%rsi,4)
LBB0_71: ## in Loop: Header=BB0_69 Depth=1
cmpl $2, -4(%rax,%rdx,4)
jne LBB0_73
## %bb.72: ## in Loop: Header=BB0_69 Depth=1
movq -88(%rbp), %rdi ## 8-byte Reload
movslq %edi, %rsi
incl %edi
movq %rdi, -88(%rbp) ## 8-byte Spill
leal -1(%rdx), %edi
movl %edi, -80(%rbp,%rsi,4)
jmp LBB0_73
LBB0_76:
movq %rcx, %rdx
LBB0_80:
testl %ecx, %ecx
jne LBB0_81
LBB0_86:
movq _TITAN_BACK@GOTPCREL(%rip), %rax
movl (%rax), %eax
movslq -88(%rbp), %rcx ## 4-byte Folded Reload
movl %eax, -80(%rbp,%rcx,4)
leaq -96(%rbp), %rsi
movl %r14d, %edi
callq _set_layer_y
addl -100(%rbp), %r14d
cmpl -92(%rbp), %r14d ## 4-byte Folded Reload
jle LBB0_87
LBB0_103:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB0_105
## %bb.104:
addq $88, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.p2align 4, 0x90
LBB0_85: ## in Loop: Header=BB0_81 Depth=1
leaq -2(%rdx), %rcx
cmpq $1, %rdx
movq %rcx, %rdx
jle LBB0_86
LBB0_81: ## =>This Inner Loop Header: Depth=1
cmpl $1, (%rax,%rdx,4)
jne LBB0_83
## %bb.82: ## in Loop: Header=BB0_81 Depth=1
movq -88(%rbp), %rsi ## 8-byte Reload
movslq %esi, %rcx
incl %esi
movq %rsi, -88(%rbp) ## 8-byte Spill
movl %edx, -80(%rbp,%rcx,4)
LBB0_83: ## in Loop: Header=BB0_81 Depth=1
cmpl $1, -4(%rax,%rdx,4)
jne LBB0_85
## %bb.84: ## in Loop: Header=BB0_81 Depth=1
movq -88(%rbp), %rsi ## 8-byte Reload
movslq %esi, %rcx
incl %esi
movq %rsi, -88(%rbp) ## 8-byte Spill
leal -1(%rdx), %esi
movl %esi, -80(%rbp,%rcx,4)
jmp LBB0_85
LBB0_87:
movl %r14d, %ebx
movq -88(%rbp), %rax ## 8-byte Reload
leal 1(%rax), %r12d
movq _tt_context@GOTPCREL(%rip), %rax
movl 8(%rax), %eax
movq _TITAN_SPRITE@GOTPCREL(%rip), %r13
jmp LBB0_88
.p2align 4, 0x90
LBB0_102: ## in Loop: Header=BB0_88 Depth=1
incl -96(%rbp)
movl %ebx, %ecx
addl -104(%rbp), %ecx
movl %ecx, %ebx
cmpl -92(%rbp), %ecx ## 4-byte Folded Reload
jg LBB0_103
LBB0_88: ## =>This Loop Header: Depth=1
## Child Loop BB0_90 Depth 2
## Child Loop BB0_92 Depth 3
testl %eax, %eax
jle LBB0_102
## %bb.89: ## in Loop: Header=BB0_88 Depth=1
movslq %ebx, %rcx
movq %rcx, -120(%rbp) ## 8-byte Spill
xorl %r14d, %r14d
jmp LBB0_90
.p2align 4, 0x90
LBB0_93: ## in Loop: Header=BB0_90 Depth=2
movq %rdx, %rdi
testq %rdx, %rdx
je LBB0_94
LBB0_95: ## in Loop: Header=BB0_90 Depth=2
callq _TitanFixAlpha
movq -112(%rbp), %rcx ## 8-byte Reload
movq %rax, (%rcx,%r15,8)
LBB0_101: ## in Loop: Header=BB0_90 Depth=2
incl %r14d
movq _tt_context@GOTPCREL(%rip), %rax
movl 8(%rax), %eax
cmpl %eax, %r14d
jge LBB0_102
LBB0_90: ## Parent Loop BB0_88 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB0_92 Depth 3
movl %eax, %ecx
imull %ebx, %ecx
addl %r14d, %ecx
movl -96(%rbp), %edx
movslq %ecx, %r15
movq -112(%rbp), %rcx ## 8-byte Reload
movq $0, (%rcx,%r15,8)
cmpl $0, -88(%rbp) ## 4-byte Folded Reload
js LBB0_101
## %bb.91: ## in Loop: Header=BB0_90 Depth=2
imull %eax, %edx
addl %r14d, %edx
movq _tt_context@GOTPCREL(%rip), %rcx
movq (%rcx), %rax
movq 16(%rcx), %rcx
movq (%r13), %rsi
movq (%rcx,%rsi,8), %rsi
movslq %edx, %r8
shlq $4, %r8
movq 8(%rsi,%r8), %rdx
addq %r8, %rsi
movq _TITAN_BACK@GOTPCREL(%rip), %rdi
movl (%rdi), %r9d
xorl %r10d, %r10d
jmp LBB0_92
.p2align 4, 0x90
LBB0_99: ## in Loop: Header=BB0_92 Depth=3
movq (%rcx,%rdi,8), %rdi
movq 8(%rdi,%r8), %rdi
testq %rdi, %rdi
jne LBB0_95
LBB0_100: ## in Loop: Header=BB0_92 Depth=3
incq %r10
cmpq %r10, %r12
je LBB0_101
LBB0_92: ## Parent Loop BB0_88 Depth=1
## Parent Loop BB0_90 Depth=2
## => This Inner Loop Header: Depth=3
movslq -80(%rbp,%r10,4), %rdi
cmpl %r9d, %edi
je LBB0_93
## %bb.96: ## in Loop: Header=BB0_92 Depth=3
movslq (%rax,%rdi,4), %r11
cmpq %r11, (%rsi)
jl LBB0_99
## %bb.97: ## in Loop: Header=BB0_92 Depth=3
testq %rdx, %rdx
je LBB0_100
## %bb.98: ## in Loop: Header=BB0_90 Depth=2
movq %rdx, %rdi
jmp LBB0_95
LBB0_94: ## in Loop: Header=BB0_90 Depth=2
movq _tt_context@GOTPCREL(%rip), %rax
movq 24(%rax), %rax
movq -120(%rbp), %rcx ## 8-byte Reload
movq (%rax,%rcx,8), %rdi
jmp LBB0_95
LBB0_105:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.comm _tt_context,40,3 ## @tt_context
.comm _TITAN_RBG0,4,2 ## @TITAN_RBG0
.comm _TITAN_BACK,4,2 ## @TITAN_BACK
.comm _TITAN_SPRITE,8,3 ## @TITAN_SPRITE
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _TitanRenderLinesSimplified ; -- Begin function TitanRenderLinesSimplified
.p2align 2
_TitanRenderLinesSimplified: ; @TitanRenderLinesSimplified
.cfi_startproc
; %bb.0:
sub sp, sp, #160
stp x28, x27, [sp, #64] ; 16-byte Folded Spill
stp x26, x25, [sp, #80] ; 16-byte Folded Spill
stp x24, x23, [sp, #96] ; 16-byte Folded Spill
stp x22, x21, [sp, #112] ; 16-byte Folded Spill
stp x20, x19, [sp, #128] ; 16-byte Folded Spill
stp x29, x30, [sp, #144] ; 16-byte Folded Spill
add x29, sp, #144
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
str x8, [sp, #56]
movi.2d v0, #0000000000000000
stp q0, q0, [sp, #16]
Lloh3:
adrp x22, _tt_context@GOTPAGE
Lloh4:
ldr x22, [x22, _tt_context@GOTPAGEOFF]
ldp w9, w8, [x22, #32]
orr w8, w8, w9
cbz w8, LBB0_18
; %bb.1:
mov x19, x2
mov x21, x1
mov x20, x0
add x0, sp, #4
add x1, sp, #8
bl _Vdp2GetInterlaceInfo
Lloh5:
adrp x8, _TITAN_RBG0@GOTPAGE
Lloh6:
ldr x8, [x8, _TITAN_RBG0@GOTPAGEOFF]
Lloh7:
ldr w8, [x8]
tbnz w8, #31, LBB0_16
; %bb.2:
mov w23, #0 ; =0x0
ldr x9, [x22]
add x10, sp, #16
mov x11, x8
b LBB0_4
LBB0_3: ; in Loop: Header=BB0_4 Depth=1
sub x12, x11, #1
cmp x11, #0
mov x11, x12
b.le LBB0_6
LBB0_4: ; =>This Inner Loop Header: Depth=1
ldr w12, [x9, x11, lsl #2]
cmp w12, #7
b.ne LBB0_3
; %bb.5: ; in Loop: Header=BB0_4 Depth=1
str w11, [x10, w23, sxtw #2]
add w23, w23, #1
b LBB0_3
LBB0_6:
tbnz w8, #31, LBB0_17
; %bb.7:
add x10, sp, #16
mov x11, x8
b LBB0_9
LBB0_8: ; in Loop: Header=BB0_9 Depth=1
sub x12, x11, #1
cmp x11, #0
mov x11, x12
b.le LBB0_11
LBB0_9: ; =>This Inner Loop Header: Depth=1
ldr w12, [x9, x11, lsl #2]
cmp w12, #6
b.ne LBB0_8
; %bb.10: ; in Loop: Header=BB0_9 Depth=1
str w11, [x10, w23, sxtw #2]
add w23, w23, #1
b LBB0_8
LBB0_11:
tbnz w8, #31, LBB0_17
; %bb.12:
add x10, sp, #16
mov x11, x8
b LBB0_14
LBB0_13: ; in Loop: Header=BB0_14 Depth=1
sub x12, x11, #1
cmp x11, #0
mov x11, x12
b.le LBB0_36
LBB0_14: ; =>This Inner Loop Header: Depth=1
ldr w12, [x9, x11, lsl #2]
cmp w12, #5
b.ne LBB0_13
; %bb.15: ; in Loop: Header=BB0_14 Depth=1
str w11, [x10, w23, sxtw #2]
add w23, w23, #1
b LBB0_13
LBB0_16:
mov w23, #0 ; =0x0
LBB0_17:
Lloh8:
adrp x24, _TITAN_BACK@GOTPAGE
Lloh9:
ldr x24, [x24, _TITAN_BACK@GOTPAGEOFF]
ldr w8, [x24]
add x9, sp, #16
str w8, [x9, w23, sxtw #2]
add x1, sp, #12
mov x0, x21
bl _set_layer_y
ldr w8, [sp, #4]
add w21, w8, w21
cmp w21, w19
b.le LBB0_20
LBB0_18:
ldr x8, [sp, #56]
Lloh10:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh11:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh12:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_56
; %bb.19:
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_20:
add w25, w23, #1
ldr w8, [x22, #8]
Lloh13:
adrp x26, _TITAN_SPRITE@GOTPAGE
Lloh14:
ldr x26, [x26, _TITAN_SPRITE@GOTPAGEOFF]
b LBB0_22
LBB0_21: ; in Loop: Header=BB0_22 Depth=1
ldr w9, [sp, #12]
add w9, w9, #1
str w9, [sp, #12]
ldr w9, [sp, #8]
add w21, w9, w21
cmp w21, w19
b.gt LBB0_18
LBB0_22: ; =>This Loop Header: Depth=1
; Child Loop BB0_27 Depth 2
; Child Loop BB0_31 Depth 3
cmp w8, #1
b.lt LBB0_21
; %bb.23: ; in Loop: Header=BB0_22 Depth=1
mov w27, #0 ; =0x0
b LBB0_27
LBB0_24: ; in Loop: Header=BB0_27 Depth=2
cbz x0, LBB0_35
LBB0_25: ; in Loop: Header=BB0_27 Depth=2
bl _TitanFixAlpha
str x0, [x20, w28, sxtw #3]
LBB0_26: ; in Loop: Header=BB0_27 Depth=2
add w27, w27, #1
ldr w8, [x22, #8]
cmp w27, w8
b.ge LBB0_21
LBB0_27: ; Parent Loop BB0_22 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB0_31 Depth 3
ldr w9, [sp, #12]
madd w28, w8, w21, w27
str xzr, [x20, w28, sxtw #3]
tbnz w23, #31, LBB0_26
; %bb.28: ; in Loop: Header=BB0_27 Depth=2
madd w10, w9, w8, w27
ldr x8, [x22, #16]
ldr x9, [x26]
ldr x11, [x8, x9, lsl #3]
sxtw x9, w10
add x10, x11, w10, sxtw #4
ldr x0, [x10, #8]
ldr w11, [x24]
ldr x12, [x22]
add x13, sp, #16
mov x14, x25
b LBB0_31
LBB0_29: ; in Loop: Header=BB0_31 Depth=3
cbnz x0, LBB0_25
LBB0_30: ; in Loop: Header=BB0_31 Depth=3
subs x14, x14, #1
b.eq LBB0_26
LBB0_31: ; Parent Loop BB0_22 Depth=1
; Parent Loop BB0_27 Depth=2
; => This Inner Loop Header: Depth=3
ldrsw x15, [x13], #4
cmp w15, w11
b.eq LBB0_24
; %bb.32: ; in Loop: Header=BB0_31 Depth=3
ldr x16, [x10]
ldrsw x17, [x12, x15, lsl #2]
cmp x16, x17
b.ge LBB0_29
; %bb.33: ; in Loop: Header=BB0_31 Depth=3
ldr x15, [x8, x15, lsl #3]
add x15, x15, x9, lsl #4
ldr x15, [x15, #8]
cbz x15, LBB0_30
; %bb.34: ; in Loop: Header=BB0_27 Depth=2
mov x0, x15
b LBB0_25
LBB0_35: ; in Loop: Header=BB0_27 Depth=2
ldr x8, [x22, #24]
ldr x0, [x8, w21, sxtw #3]
b LBB0_25
LBB0_36:
tbnz w8, #31, LBB0_17
; %bb.37:
add x10, sp, #16
mov x11, x8
b LBB0_39
LBB0_38: ; in Loop: Header=BB0_39 Depth=1
sub x12, x11, #1
cmp x11, #0
mov x11, x12
b.le LBB0_41
LBB0_39: ; =>This Inner Loop Header: Depth=1
ldr w12, [x9, x11, lsl #2]
cmp w12, #4
b.ne LBB0_38
; %bb.40: ; in Loop: Header=BB0_39 Depth=1
str w11, [x10, w23, sxtw #2]
add w23, w23, #1
b LBB0_38
LBB0_41:
tbnz w8, #31, LBB0_17
; %bb.42:
add x10, sp, #16
mov x11, x8
b LBB0_44
LBB0_43: ; in Loop: Header=BB0_44 Depth=1
sub x12, x11, #1
cmp x11, #0
mov x11, x12
b.le LBB0_46
LBB0_44: ; =>This Inner Loop Header: Depth=1
ldr w12, [x9, x11, lsl #2]
cmp w12, #3
b.ne LBB0_43
; %bb.45: ; in Loop: Header=BB0_44 Depth=1
str w11, [x10, w23, sxtw #2]
add w23, w23, #1
b LBB0_43
LBB0_46:
tbnz w8, #31, LBB0_17
; %bb.47:
add x10, sp, #16
mov x11, x8
b LBB0_49
LBB0_48: ; in Loop: Header=BB0_49 Depth=1
sub x12, x11, #1
cmp x11, #0
mov x11, x12
b.le LBB0_51
LBB0_49: ; =>This Inner Loop Header: Depth=1
ldr w12, [x9, x11, lsl #2]
cmp w12, #2
b.ne LBB0_48
; %bb.50: ; in Loop: Header=BB0_49 Depth=1
str w11, [x10, w23, sxtw #2]
add w23, w23, #1
b LBB0_48
LBB0_51:
tbnz w8, #31, LBB0_17
; %bb.52:
add x10, sp, #16
b LBB0_54
LBB0_53: ; in Loop: Header=BB0_54 Depth=1
sub x11, x8, #1
cmp x8, #0
mov x8, x11
b.le LBB0_17
LBB0_54: ; =>This Inner Loop Header: Depth=1
ldr w11, [x9, x8, lsl #2]
cmp w11, #1
b.ne LBB0_53
; %bb.55: ; in Loop: Header=BB0_54 Depth=1
str w8, [x10, w23, sxtw #2]
add w23, w23, #1
b LBB0_53
LBB0_56:
bl ___stack_chk_fail
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.loh AdrpLdrGot Lloh8, Lloh9
.loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12
.loh AdrpLdrGot Lloh13, Lloh14
.cfi_endproc
; -- End function
.comm _tt_context,40,3 ; @tt_context
.comm _TITAN_RBG0,4,2 ; @TITAN_RBG0
.comm _TITAN_BACK,4,2 ; @TITAN_BACK
.comm _TITAN_SPRITE,8,3 ; @TITAN_SPRITE
.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 a2d_ASN1_OBJECT
LCPI0_0:
.space 16,128
LCPI0_1:
.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 _a2d_ASN1_OBJECT
.p2align 4, 0x90
_a2d_ASN1_OBJECT: ## @a2d_ASN1_OBJECT
.cfi_startproc
## %bb.0:
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, %r13d
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -48(%rbp)
testl %ecx, %ecx
je LBB0_10
## %bb.1:
movq %rdx, %r15
movq %rdi, %r14
cmpl $-1, %r13d
jne LBB0_3
## %bb.2:
movq %r15, %rdi
movl %esi, %ebx
callq _strlen
movl %ebx, %esi
movl %eax, %r13d
LBB0_3:
movzbl (%r15), %eax
leal -48(%rax), %ecx
cmpb $2, %cl
ja LBB0_6
## %bb.4:
cmpl $2, %r13d
jge LBB0_12
## %bb.5:
movq _ASN1_R_MISSING_SECOND_NUMBER@GOTPCREL(%rip), %rcx
jmp LBB0_7
LBB0_6:
movq _ASN1_R_FIRST_NUM_TOO_LARGE@GOTPCREL(%rip), %rcx
LBB0_7:
movq _ASN1_F_A2D_ASN1_OBJECT@GOTPCREL(%rip), %rax
movl (%rax), %edi
movl (%rcx), %esi
callq _ASN1err
LBB0_8:
xorl %r13d, %r13d
LBB0_9:
xorl %edi, %edi
callq _BN_free
LBB0_10:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
cmpq -48(%rbp), %rax
jne LBB0_50
## %bb.11:
movl %r13d, %eax
addq $88, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_12:
je LBB0_8
## %bb.13:
movl %esi, -92(%rbp) ## 4-byte Spill
movl %r13d, %ebx
addl $-2, %ebx
movsbl 1(%r15), %r12d
addq $2, %r15
andl $3, %eax
shll $3, %eax
leaq (%rax,%rax,4), %rax
movq %rax, -112(%rbp) ## 8-byte Spill
leaq 16(%r14), %rax
movq %rax, -104(%rbp) ## 8-byte Spill
xorl %r13d, %r13d
movdqa LCPI0_0(%rip), %xmm2 ## xmm2 = [128,128,128,128,128,128,128,128,128,128,128,128,128,128,128,128]
movdqa LCPI0_1(%rip), %xmm3 ## xmm3 = [15,14,13,12,11,10,9,8,7,6,5,4,3,2,1,0]
movq %r14, -120(%rbp) ## 8-byte Spill
LBB0_14: ## =>This Loop Header: Depth=1
## Child Loop BB0_17 Depth 2
## Child Loop BB0_28 Depth 2
## Child Loop BB0_42 Depth 2
## Child Loop BB0_36 Depth 2
cmpl $46, %r12d
je LBB0_16
## %bb.15: ## in Loop: Header=BB0_14 Depth=1
cmpl $32, %r12d
jne LBB0_47
LBB0_16: ## in Loop: Header=BB0_14 Depth=1
movl %r13d, %eax
movq %rax, -88(%rbp) ## 8-byte Spill
incq %r15
incl %ebx
movq %r15, %rax
xorl %r13d, %r13d
.p2align 4, 0x90
LBB0_17: ## Parent Loop BB0_14 Depth=1
## => This Inner Loop Header: Depth=2
movq %rax, %r15
movzbl -1(%rax), %r14d
movsbl %r14b, %r12d
cmpl $32, %r14d
je LBB0_23
## %bb.18: ## in Loop: Header=BB0_17 Depth=2
cmpl $46, %r14d
je LBB0_23
## %bb.19: ## in Loop: Header=BB0_17 Depth=2
movl %r12d, %edi
callq _ossl_isdigit
testl %eax, %eax
je LBB0_46
## %bb.20: ## in Loop: Header=BB0_17 Depth=2
movq _ULONG_MAX@GOTPCREL(%rip), %rax
movl (%rax), %eax
addl $-80, %eax
cltq
imulq $1717986919, %rax, %rax ## imm = 0x66666667
movq %rax, %rcx
shrq $63, %rcx
sarq $34, %rax
addl %ecx, %eax
cltq
cmpq %rax, %r13
movdqa LCPI0_0(%rip), %xmm2 ## xmm2 = [128,128,128,128,128,128,128,128,128,128,128,128,128,128,128,128]
movdqa LCPI0_1(%rip), %xmm3 ## xmm3 = [15,14,13,12,11,10,9,8,7,6,5,4,3,2,1,0]
jae LBB0_8
## %bb.21: ## in Loop: Header=BB0_17 Depth=2
movsbq %r14b, %rax
addq %r13, %r13
leaq (%r13,%r13,4), %r13
subq %rax, %r13
addq $48, %r13
leaq 1(%r15), %rax
decl %ebx
cmpl $2, %ebx
jae LBB0_17
## %bb.22: ## in Loop: Header=BB0_14 Depth=1
xorl %ebx, %ebx
jmp LBB0_24
LBB0_23: ## in Loop: Header=BB0_14 Depth=1
addl $-2, %ebx
LBB0_24: ## in Loop: Header=BB0_14 Depth=1
cmpq $0, -88(%rbp) ## 8-byte Folded Reload
movq -120(%rbp), %r14 ## 8-byte Reload
jne LBB0_27
## %bb.25: ## in Loop: Header=BB0_14 Depth=1
cmpq $39, %r13
ja LBB0_49
## %bb.26: ## in Loop: Header=BB0_14 Depth=1
addq -112(%rbp), %r13 ## 8-byte Folded Reload
LBB0_27: ## in Loop: Header=BB0_14 Depth=1
movq $-1, %rsi
xorl %eax, %eax
movq %r13, %rdx
.p2align 4, 0x90
LBB0_28: ## Parent Loop BB0_14 Depth=1
## => This Inner Loop Header: Depth=2
movq %rax, %rcx
movl %r13d, %edi
orb $127, %dil
incq %rax
movb %dil, -80(%rbp,%rcx)
shrq $7, %rdx
incq %rsi
cmpq $127, %r13
movq %rdx, %r13
ja LBB0_28
## %bb.29: ## in Loop: Header=BB0_14 Depth=1
movq -88(%rbp), %rdx ## 8-byte Reload
leaq (%rdx,%rax), %r13
testq %r14, %r14
je LBB0_38
## %bb.30: ## in Loop: Header=BB0_14 Depth=1
cmpl -92(%rbp), %r13d ## 4-byte Folded Reload
jg LBB0_48
## %bb.31: ## in Loop: Header=BB0_14 Depth=1
cmpq $1, %rax
jne LBB0_33
## %bb.32: ## in Loop: Header=BB0_14 Depth=1
movq -88(%rbp), %r13 ## 8-byte Reload
## kill: def $r13d killed $r13d killed $r13 def $r13
jmp LBB0_37
LBB0_33: ## in Loop: Header=BB0_14 Depth=1
leaq -1(%rax), %rdi
movslq -88(%rbp), %rdx ## 4-byte Folded Reload
cmpq $32, %rdi
jae LBB0_39
LBB0_34: ## in Loop: Header=BB0_14 Depth=1
movq %rdx, %r13
LBB0_35: ## in Loop: Header=BB0_14 Depth=1
incq %rax
.p2align 4, 0x90
LBB0_36: ## Parent Loop BB0_14 Depth=1
## => This Inner Loop Header: Depth=2
leal -2(%rax), %ecx
movzbl -80(%rbp,%rcx), %ecx
orb $-128, %cl
movb %cl, (%r14,%r13)
incq %r13
decq %rax
cmpq $2, %rax
jg LBB0_36
LBB0_37: ## in Loop: Header=BB0_14 Depth=1
movzbl -80(%rbp), %eax
movslq %r13d, %rcx
incl %r13d
movb %al, (%r14,%rcx)
LBB0_38: ## in Loop: Header=BB0_14 Depth=1
testl %ebx, %ebx
jg LBB0_14
jmp LBB0_9
LBB0_39: ## in Loop: Header=BB0_14 Depth=1
cmpq $1, %rax
je LBB0_34
## %bb.40: ## in Loop: Header=BB0_14 Depth=1
movabsq $-4294967298, %r9 ## imm = 0xFFFFFFFEFFFFFFFE
leaq (%rax,%r9), %r8
addq $2, %r9
cmpq %r9, %r8
jb LBB0_34
## %bb.41: ## in Loop: Header=BB0_14 Depth=1
movq %rdi, %r8
movabsq $8589934560, %r9 ## imm = 0x1FFFFFFE0
andq %r9, %r8
andq $-32, %rsi
subq %rsi, %rax
leaq (%r8,%rdx), %r13
addq -104(%rbp), %rdx ## 8-byte Folded Reload
movq %rcx, %rsi
andq $-32, %rsi
xorl %r9d, %r9d
.p2align 4, 0x90
LBB0_42: ## Parent Loop BB0_14 Depth=1
## => This Inner Loop Header: Depth=2
movl %ecx, %r10d
movdqu -111(%rbp,%r10), %xmm0
movdqu -95(%rbp,%r10), %xmm1
pshufb %xmm3, %xmm1
por %xmm2, %xmm1
pshufb %xmm3, %xmm0
por %xmm2, %xmm0
movdqu %xmm1, -16(%rdx,%r9)
movdqu %xmm0, (%rdx,%r9)
addq $32, %r9
addq $-32, %rcx
cmpq %r9, %rsi
jne LBB0_42
## %bb.43: ## in Loop: Header=BB0_14 Depth=1
cmpq %r8, %rdi
jne LBB0_35
jmp LBB0_37
LBB0_46:
movq _ASN1_R_INVALID_DIGIT@GOTPCREL(%rip), %rcx
jmp LBB0_7
LBB0_47:
movq _ASN1_R_INVALID_SEPARATOR@GOTPCREL(%rip), %rcx
jmp LBB0_7
LBB0_48:
movq _ASN1_R_BUFFER_TOO_SMALL@GOTPCREL(%rip), %rcx
jmp LBB0_7
LBB0_49:
movq _ASN1_R_SECOND_NUMBER_TOO_LARGE@GOTPCREL(%rip), %rcx
jmp LBB0_7
LBB0_50:
callq ___stack_chk_fail
.cfi_endproc
## -- End function
.comm _ASN1_F_A2D_ASN1_OBJECT,4,2 ## @ASN1_F_A2D_ASN1_OBJECT
.comm _ASN1_R_FIRST_NUM_TOO_LARGE,4,2 ## @ASN1_R_FIRST_NUM_TOO_LARGE
.comm _ASN1_R_MISSING_SECOND_NUMBER,4,2 ## @ASN1_R_MISSING_SECOND_NUMBER
.comm _ASN1_R_INVALID_SEPARATOR,4,2 ## @ASN1_R_INVALID_SEPARATOR
.comm _ASN1_R_INVALID_DIGIT,4,2 ## @ASN1_R_INVALID_DIGIT
.comm _ULONG_MAX,4,2 ## @ULONG_MAX
.comm _ASN1_R_SECOND_NUMBER_TOO_LARGE,4,2 ## @ASN1_R_SECOND_NUMBER_TOO_LARGE
.comm _ASN1_R_BUFFER_TOO_SMALL,4,2 ## @ASN1_R_BUFFER_TOO_SMALL
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _a2d_ASN1_OBJECT ; -- Begin function a2d_ASN1_OBJECT
.p2align 2
_a2d_ASN1_OBJECT: ; @a2d_ASN1_OBJECT
.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 x22, x3
Lloh0:
adrp x8, ___stack_chk_guard@GOTPAGE
Lloh1:
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
ldr x8, [x8]
str x8, [sp, #40]
cbz w3, LBB0_10
; %bb.1:
mov x19, x1
mov x20, x0
cmn w22, #1
b.ne LBB0_3
; %bb.2:
mov x0, x2
mov x21, x2
bl _strlen
mov x2, x21
mov x22, x0
LBB0_3:
ldrb w9, [x2]
sub w8, w9, #48
cmp w8, #2
b.hi LBB0_6
; %bb.4:
subs w8, w22, #2
b.ge LBB0_12
; %bb.5:
Lloh3:
adrp x23, _ASN1_R_MISSING_SECOND_NUMBER@GOTPAGE
Lloh4:
ldr x23, [x23, _ASN1_R_MISSING_SECOND_NUMBER@GOTPAGEOFF]
b LBB0_7
LBB0_6:
Lloh5:
adrp x23, _ASN1_R_FIRST_NUM_TOO_LARGE@GOTPAGE
Lloh6:
ldr x23, [x23, _ASN1_R_FIRST_NUM_TOO_LARGE@GOTPAGEOFF]
LBB0_7:
Lloh7:
adrp x8, _ASN1_F_A2D_ASN1_OBJECT@GOTPAGE
Lloh8:
ldr x8, [x8, _ASN1_F_A2D_ASN1_OBJECT@GOTPAGEOFF]
Lloh9:
ldr w0, [x8]
ldr w1, [x23]
bl _ASN1err
LBB0_8:
mov w22, #0 ; =0x0
LBB0_9:
mov x0, #0 ; =0x0
bl _BN_free
LBB0_10:
ldr x8, [sp, #40]
Lloh10:
adrp x9, ___stack_chk_guard@GOTPAGE
Lloh11:
ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh12:
ldr x9, [x9]
cmp x9, x8
b.ne LBB0_45
; %bb.11:
mov x0, x22
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_12:
b.eq LBB0_8
; %bb.13:
mov w22, #0 ; =0x0
ldrsb w21, [x2, #1]
add x26, x2, #2
and x10, x9, #0x3
lsl x10, x10, #3
bfi x10, x9, #5, #2
add x9, x20, #16
stp x9, x10, [sp] ; 16-byte Folded Spill
Lloh13:
adrp x23, _ASN1_R_INVALID_SEPARATOR@GOTPAGE
Lloh14:
ldr x23, [x23, _ASN1_R_INVALID_SEPARATOR@GOTPAGEOFF]
add x28, sp, #16
movi.16b v2, #128
LBB0_14: ; =>This Loop Header: Depth=1
; Child Loop BB0_17 Depth 2
; Child Loop BB0_27 Depth 2
; Child Loop BB0_40 Depth 2
; Child Loop BB0_34 Depth 2
cmp w21, #46
b.eq LBB0_16
; %bb.15: ; in Loop: Header=BB0_14 Depth=1
cmp w21, #32
b.ne LBB0_7
LBB0_16: ; in Loop: Header=BB0_14 Depth=1
mov x27, #0 ; =0x0
add x9, x26, #1
add w25, w8, #1
mov w24, w22
LBB0_17: ; Parent Loop BB0_14 Depth=1
; => This Inner Loop Header: Depth=2
mov x26, x9
ldurb w22, [x9, #-1]
sxtb w21, w22
cmp w22, #32
b.eq LBB0_23
; %bb.18: ; in Loop: Header=BB0_17 Depth=2
cmp w22, #46
b.eq LBB0_23
; %bb.19: ; in Loop: Header=BB0_17 Depth=2
mov x0, x21
bl _ossl_isdigit
cbz w0, LBB0_42
; %bb.20: ; in Loop: Header=BB0_17 Depth=2
Lloh15:
adrp x8, _ULONG_MAX@GOTPAGE
Lloh16:
ldr x8, [x8, _ULONG_MAX@GOTPAGEOFF]
Lloh17:
ldr w8, [x8]
sub w8, w8, #80
mov w9, #26215 ; =0x6667
movk w9, #26214, lsl #16
smull x8, w8, w9
lsr x9, x8, #63
asr x8, x8, #34
add w8, w8, w9
cmp x27, w8, sxtw
movi.16b v2, #128
b.hs LBB0_8
; %bb.21: ; in Loop: Header=BB0_17 Depth=2
sxtb x8, w22
neg x8, x8
mov w9, #10 ; =0xa
madd x8, x27, x9, x8
add x27, x8, #48
add x9, x26, #1
sub w25, w25, #1
cmp w25, #2
b.hs LBB0_17
; %bb.22: ; in Loop: Header=BB0_14 Depth=1
mov w8, #0 ; =0x0
cbnz w24, LBB0_26
b LBB0_24
LBB0_23: ; in Loop: Header=BB0_14 Depth=1
sub w8, w25, #2
cbnz w24, LBB0_26
LBB0_24: ; in Loop: Header=BB0_14 Depth=1
cmp x27, #39
b.hi LBB0_44
; %bb.25: ; in Loop: Header=BB0_14 Depth=1
ldr x9, [sp, #8] ; 8-byte Folded Reload
add x27, x27, x9
LBB0_26: ; in Loop: Header=BB0_14 Depth=1
mov x9, #0 ; =0x0
mov x12, #-1 ; =0xffffffffffffffff
LBB0_27: ; Parent Loop BB0_14 Depth=1
; => This Inner Loop Header: Depth=2
mov x10, x9
orr w11, w27, #0x7f
add x9, x9, #1
strb w11, [x28, x10]
lsr x11, x27, #7
add x12, x12, #1
cmp x27, #127
mov x27, x11
b.hi LBB0_27
; %bb.28: ; in Loop: Header=BB0_14 Depth=1
add x22, x24, x9
cbz x20, LBB0_36
; %bb.29: ; in Loop: Header=BB0_14 Depth=1
cmp w22, w19
b.gt LBB0_43
; %bb.30: ; in Loop: Header=BB0_14 Depth=1
cmp x9, #1
b.ne LBB0_32
; %bb.31: ; in Loop: Header=BB0_14 Depth=1
; kill: def $w24 killed $w24 killed $x24 def $x24
b LBB0_35
LBB0_32: ; in Loop: Header=BB0_14 Depth=1
sub x11, x9, #1
sxtw x13, w24
cmp x11, #32
b.hs LBB0_37
LBB0_33: ; in Loop: Header=BB0_14 Depth=1
add x9, x9, #1
LBB0_34: ; Parent Loop BB0_14 Depth=1
; => This Inner Loop Header: Depth=2
sub w10, w9, #2
ldrb w10, [x28, w10, uxtw]
orr w10, w10, #0x80
add x24, x13, #1
strb w10, [x20, x13]
sub x9, x9, #1
mov x13, x24
cmp x9, #2
b.gt LBB0_34
LBB0_35: ; in Loop: Header=BB0_14 Depth=1
ldrb w9, [sp, #16]
add w22, w24, #1
strb w9, [x20, w24, sxtw]
LBB0_36: ; in Loop: Header=BB0_14 Depth=1
cmp w8, #1
b.ge LBB0_14
b LBB0_9
LBB0_37: ; in Loop: Header=BB0_14 Depth=1
cmp x9, #1
b.eq LBB0_33
; %bb.38: ; in Loop: Header=BB0_14 Depth=1
mov x14, #-4294967298 ; =0xfffffffefffffffe
add x14, x9, x14
mov x15, #-4294967296 ; =0xffffffff00000000
cmp x14, x15
b.lo LBB0_33
; %bb.39: ; in Loop: Header=BB0_14 Depth=1
and x14, x11, #0x1ffffffe0
and x12, x12, #0xffffffffffffffe0
sub x9, x9, x12
add x24, x14, x13
ldr x12, [sp] ; 8-byte Folded Reload
add x12, x12, x13
and x13, x10, #0xffffffffffffffe0
LBB0_40: ; Parent Loop BB0_14 Depth=1
; => This Inner Loop Header: Depth=2
add x15, x28, w10, uxtw
ldur q0, [x15, #-15]
ldur q1, [x15, #-31]
orr.16b v0, v0, v2
rev64.16b v0, v0
ext.16b v0, v0, v0, #8
orr.16b v1, v1, v2
rev64.16b v1, v1
ext.16b v1, v1, v1, #8
stp q0, q1, [x12, #-16]
sub x10, x10, #32
add x12, x12, #32
subs x13, x13, #32
b.ne LBB0_40
; %bb.41: ; in Loop: Header=BB0_14 Depth=1
mov x13, x24
cmp x11, x14
b.ne LBB0_33
b LBB0_35
LBB0_42:
Lloh18:
adrp x23, _ASN1_R_INVALID_DIGIT@GOTPAGE
Lloh19:
ldr x23, [x23, _ASN1_R_INVALID_DIGIT@GOTPAGEOFF]
b LBB0_7
LBB0_43:
Lloh20:
adrp x23, _ASN1_R_BUFFER_TOO_SMALL@GOTPAGE
Lloh21:
ldr x23, [x23, _ASN1_R_BUFFER_TOO_SMALL@GOTPAGEOFF]
b LBB0_7
LBB0_44:
Lloh22:
adrp x23, _ASN1_R_SECOND_NUMBER_TOO_LARGE@GOTPAGE
Lloh23:
ldr x23, [x23, _ASN1_R_SECOND_NUMBER_TOO_LARGE@GOTPAGEOFF]
b LBB0_7
LBB0_45:
bl ___stack_chk_fail
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGot Lloh3, Lloh4
.loh AdrpLdrGot Lloh5, Lloh6
.loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9
.loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12
.loh AdrpLdrGot Lloh13, Lloh14
.loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17
.loh AdrpLdrGot Lloh18, Lloh19
.loh AdrpLdrGot Lloh20, Lloh21
.loh AdrpLdrGot Lloh22, Lloh23
.cfi_endproc
; -- End function
.comm _ASN1_F_A2D_ASN1_OBJECT,4,2 ; @ASN1_F_A2D_ASN1_OBJECT
.comm _ASN1_R_FIRST_NUM_TOO_LARGE,4,2 ; @ASN1_R_FIRST_NUM_TOO_LARGE
.comm _ASN1_R_MISSING_SECOND_NUMBER,4,2 ; @ASN1_R_MISSING_SECOND_NUMBER
.comm _ASN1_R_INVALID_SEPARATOR,4,2 ; @ASN1_R_INVALID_SEPARATOR
.comm _ASN1_R_INVALID_DIGIT,4,2 ; @ASN1_R_INVALID_DIGIT
.comm _ULONG_MAX,4,2 ; @ULONG_MAX
.comm _ASN1_R_SECOND_NUMBER_TOO_LARGE,4,2 ; @ASN1_R_SECOND_NUMBER_TOO_LARGE
.comm _ASN1_R_BUFFER_TOO_SMALL,4,2 ; @ASN1_R_BUFFER_TOO_SMALL
.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 mdoc_argv
LCPI0_0:
.space 16
.section __TEXT,__text,regular,pure_instructions
.globl _mdoc_argv
.p2align 4, 0x90
_mdoc_argv: ## @mdoc_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 %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $88, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %r9, -56(%rbp) ## 8-byte Spill
movq %r8, -64(%rbp) ## 8-byte Spill
movl %edx, %r12d
movl %esi, -48(%rbp) ## 4-byte Spill
movq %rcx, -80(%rbp) ## 8-byte Spill
movq $0, (%rcx)
movq _MDOC_Dd@GOTPCREL(%rip), %rbx
cmpl %edx, (%rbx)
setbe %al
movq %rdi, -72(%rbp) ## 8-byte Spill
movq _MDOC_MAX@GOTPCREL(%rip), %rcx
cmpl %edx, (%rcx)
seta %cl
orb %al, %cl
movzbl %cl, %edi
callq _assert
movq _mdocargs@GOTPCREL(%rip), %rax
movq (%rax), %rax
movl %r12d, %ecx
subl (%rbx), %ecx
movq (%rax,%rcx,8), %r14
testq %r14, %r14
je LBB0_21
## %bb.1:
movq -64(%rbp), %rax ## 8-byte Reload
movslq (%rax), %rax
movq -56(%rbp), %rcx ## 8-byte Reload
cmpb $45, (%rcx,%rax)
jne LBB0_21
## %bb.2:
movq -56(%rbp), %rcx ## 8-byte Reload
incq %rcx
movq %rcx, -88(%rbp) ## 8-byte Spill
movq _MDOC_ARG_MAX@GOTPCREL(%rip), %r15
movq _mdoc_argnames@GOTPCREL(%rip), %r13
LBB0_3: ## =>This Loop Header: Depth=1
## Child Loop BB0_5 Depth 2
## Child Loop BB0_7 Depth 2
## Child Loop BB0_12 Depth 2
cltq
leaq -1(%rax), %rcx
movl %ecx, -44(%rbp)
movq -56(%rbp), %rdx ## 8-byte Reload
movq %rdx, %rbx
subq %rcx, %rbx
cmpb $0, -1(%rdx,%rax)
je LBB0_7
## %bb.4: ## in Loop: Header=BB0_3 Depth=1
leal -1(%rax), %ecx
addq %rdx, %rax
.p2align 4, 0x90
LBB0_5: ## Parent Loop BB0_3 Depth=1
## => This Inner Loop Header: Depth=2
incl %ecx
cmpb $0, (%rax)
leaq 1(%rax), %rax
jne LBB0_5
## %bb.6: ## in Loop: Header=BB0_3 Depth=1
movl %ecx, -44(%rbp)
.p2align 4, 0x90
LBB0_7: ## Parent Loop BB0_3 Depth=1
## => This Inner Loop Header: Depth=2
movl (%r14), %eax
movq %rax, -120(%rbp)
cmpq %rax, (%r15)
je LBB0_21
## %bb.8: ## in Loop: Header=BB0_7 Depth=2
addq $4, %r14
movq (%r13), %rcx
movl (%rcx,%rax,4), %esi
movq %rbx, %rdi
callq _strcmp
testl %eax, %eax
jne LBB0_7
## %bb.9: ## in Loop: Header=BB0_3 Depth=1
movq -120(%rbp), %rax
cmpq (%r15), %rax
je LBB0_21
## %bb.10: ## in Loop: Header=BB0_3 Depth=1
movl -44(%rbp), %ecx
movslq %ecx, %rdx
movq -56(%rbp), %r8 ## 8-byte Reload
cmpb $32, (%r8,%rdx)
jne LBB0_14
## %bb.11: ## in Loop: Header=BB0_3 Depth=1
addq -88(%rbp), %rdx ## 8-byte Folded Reload
.p2align 4, 0x90
LBB0_12: ## Parent Loop BB0_3 Depth=1
## => This Inner Loop Header: Depth=2
incl %ecx
cmpb $32, (%rdx)
leaq 1(%rdx), %rdx
je LBB0_12
## %bb.13: ## in Loop: Header=BB0_3 Depth=1
movl %ecx, -44(%rbp)
LBB0_14: ## in Loop: Header=BB0_3 Depth=1
movl -48(%rbp), %ecx ## 4-byte Reload
movl %ecx, -112(%rbp)
movq -64(%rbp), %rcx ## 8-byte Reload
movl (%rcx), %ecx
movl %ecx, -108(%rbp)
leaq -104(%rbp), %rcx
xorps %xmm0, %xmm0
movups %xmm0, (%rcx)
movq _argvflags@GOTPCREL(%rip), %rcx
movq (%rcx), %rcx
movl (%rcx,%rax,4), %eax
cmpl $130, %eax
je LBB0_17
## %bb.15: ## in Loop: Header=BB0_3 Depth=1
cmpl $128, %eax
jne LBB0_18
## %bb.16: ## in Loop: Header=BB0_3 Depth=1
movq -72(%rbp), %rdi ## 8-byte Reload
movl -48(%rbp), %esi ## 4-byte Reload
leaq -120(%rbp), %rdx
leaq -44(%rbp), %rcx
callq _argv_single
jmp LBB0_18
LBB0_17: ## in Loop: Header=BB0_3 Depth=1
movq -72(%rbp), %rdi ## 8-byte Reload
movl -48(%rbp), %esi ## 4-byte Reload
leaq -120(%rbp), %rdx
leaq -44(%rbp), %rcx
callq _argv_multi
LBB0_18: ## in Loop: Header=BB0_3 Depth=1
movq -80(%rbp), %rax ## 8-byte Reload
movq (%rax), %rbx
testq %rbx, %rbx
jne LBB0_20
## %bb.19: ## in Loop: Header=BB0_3 Depth=1
movl $1, %edi
movl $16, %esi
callq _mandoc_calloc
movq %rax, %rbx
movq -80(%rbp), %rax ## 8-byte Reload
movq %rbx, (%rax)
LBB0_20: ## in Loop: Header=BB0_3 Depth=1
movslq (%rbx), %r14
incq %r14
movl %r14d, (%rbx)
movq 8(%rbx), %rdi
movl %r14d, %esi
movl $32, %edx
callq _mandoc_reallocarray
movq %rax, 8(%rbx)
shlq $5, %r14
leaq (%rax,%r14), %rdi
addq $-32, %rdi
leaq -120(%rbp), %rsi
movl $32, %edx
callq _memcpy
movslq -44(%rbp), %rax
movq -64(%rbp), %rcx ## 8-byte Reload
movl %eax, (%rcx)
movl %r12d, %ecx
movq _MDOC_Dd@GOTPCREL(%rip), %rdx
subl (%rdx), %ecx
movq _mdocargs@GOTPCREL(%rip), %rdx
movq (%rdx), %rdx
movq (%rdx,%rcx,8), %r14
movq -56(%rbp), %rcx ## 8-byte Reload
cmpb $45, (%rcx,%rax)
je LBB0_3
LBB0_21:
addq $88, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _MDOC_Dd,4,2 ## @MDOC_Dd
.comm _MDOC_MAX,4,2 ## @MDOC_MAX
.comm _mdocargs,8,3 ## @mdocargs
.comm _MDOC_ARG_MAX,8,3 ## @MDOC_ARG_MAX
.comm _mdoc_argnames,8,3 ## @mdoc_argnames
.comm _argvflags,8,3 ## @argvflags
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _mdoc_argv ; -- Begin function mdoc_argv
.p2align 2
_mdoc_argv: ; @mdoc_argv
.cfi_startproc
; %bb.0:
sub sp, sp, #160
stp x28, x27, [sp, #64] ; 16-byte Folded Spill
stp x26, x25, [sp, #80] ; 16-byte Folded Spill
stp x24, x23, [sp, #96] ; 16-byte Folded Spill
stp x22, x21, [sp, #112] ; 16-byte Folded Spill
stp x20, x19, [sp, #128] ; 16-byte Folded Spill
stp x29, x30, [sp, #144] ; 16-byte Folded Spill
add x29, sp, #144
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
.cfi_offset w27, -88
.cfi_offset w28, -96
mov x19, x5
mov x20, x4
mov x21, x3
mov x22, x2
mov x23, x1
str x0, [sp, #16] ; 8-byte Folded Spill
str xzr, [x3]
Lloh0:
adrp x27, _MDOC_Dd@GOTPAGE
Lloh1:
ldr x27, [x27, _MDOC_Dd@GOTPAGEOFF]
ldr w8, [x27]
cmp w8, w2
Lloh2:
adrp x8, _MDOC_MAX@GOTPAGE
Lloh3:
ldr x8, [x8, _MDOC_MAX@GOTPAGEOFF]
Lloh4:
ldr w8, [x8]
ccmp w8, w2, #2, hi
cset w0, hi
bl _assert
Lloh5:
adrp x8, _mdocargs@GOTPAGE
Lloh6:
ldr x8, [x8, _mdocargs@GOTPAGEOFF]
Lloh7:
ldr x8, [x8]
ldr w9, [x27]
sub w9, w22, w9
ldr x26, [x8, w9, uxtw #3]
cbz x26, LBB0_21
; %bb.1:
ldrsw x8, [x20]
ldrb w9, [x19, x8]
cmp w9, #45
b.ne LBB0_21
; %bb.2:
Lloh8:
adrp x24, _MDOC_ARG_MAX@GOTPAGE
Lloh9:
ldr x24, [x24, _MDOC_ARG_MAX@GOTPAGEOFF]
add x9, x19, #1
str x9, [sp, #8] ; 8-byte Folded Spill
Lloh10:
adrp x28, _mdoc_argnames@GOTPAGE
Lloh11:
ldr x28, [x28, _mdoc_argnames@GOTPAGEOFF]
; kill: def $w8 killed $w8 killed $x8 def $x8
LBB0_3: ; =>This Loop Header: Depth=1
; Child Loop BB0_5 Depth 2
; Child Loop BB0_7 Depth 2
; Child Loop BB0_12 Depth 2
sxtw x9, w8
sub x9, x9, #1
str w9, [sp, #28]
sub x25, x19, x9
ldrb w9, [x19, x9]
cbz w9, LBB0_7
; %bb.4: ; in Loop: Header=BB0_3 Depth=1
sub w9, w8, #1
add x8, x19, w8, sxtw
LBB0_5: ; Parent Loop BB0_3 Depth=1
; => This Inner Loop Header: Depth=2
ldrb w10, [x8], #1
add w9, w9, #1
cbnz w10, LBB0_5
; %bb.6: ; in Loop: Header=BB0_3 Depth=1
str w9, [sp, #28]
LBB0_7: ; Parent Loop BB0_3 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [x26]
str x8, [sp, #32]
ldr x9, [x24]
cmp x9, x8
b.eq LBB0_21
; %bb.8: ; in Loop: Header=BB0_7 Depth=2
add x26, x26, #4
ldr x9, [x28]
ldr w1, [x9, x8, lsl #2]
mov x0, x25
bl _strcmp
cbnz w0, LBB0_7
; %bb.9: ; in Loop: Header=BB0_3 Depth=1
ldr x8, [sp, #32]
ldr x9, [x24]
cmp x8, x9
b.eq LBB0_21
; %bb.10: ; in Loop: Header=BB0_3 Depth=1
ldr w9, [sp, #28]
sxtw x10, w9
ldrb w11, [x19, x10]
cmp w11, #32
b.ne LBB0_14
; %bb.11: ; in Loop: Header=BB0_3 Depth=1
ldr x11, [sp, #8] ; 8-byte Folded Reload
add x10, x11, x10
LBB0_12: ; Parent Loop BB0_3 Depth=1
; => This Inner Loop Header: Depth=2
ldrb w11, [x10], #1
add w9, w9, #1
cmp w11, #32
b.eq LBB0_12
; %bb.13: ; in Loop: Header=BB0_3 Depth=1
str w9, [sp, #28]
LBB0_14: ; in Loop: Header=BB0_3 Depth=1
ldr w9, [x20]
stp w23, w9, [sp, #40]
add x9, sp, #32
stp xzr, xzr, [x9, #16]
Lloh12:
adrp x9, _argvflags@GOTPAGE
Lloh13:
ldr x9, [x9, _argvflags@GOTPAGEOFF]
Lloh14:
ldr x9, [x9]
ldr w8, [x9, x8, lsl #2]
cmp w8, #130
b.eq LBB0_19
; %bb.15: ; in Loop: Header=BB0_3 Depth=1
cmp w8, #128
b.ne LBB0_17
; %bb.16: ; in Loop: Header=BB0_3 Depth=1
add x2, sp, #32
add x3, sp, #28
ldr x0, [sp, #16] ; 8-byte Folded Reload
mov x1, x23
mov x4, x19
bl _argv_single
LBB0_17: ; in Loop: Header=BB0_3 Depth=1
ldr x25, [x21]
cbz x25, LBB0_20
LBB0_18: ; in Loop: Header=BB0_3 Depth=1
ldrsw x8, [x25]
add x26, x8, #1
str w26, [x25]
ldr x0, [x25, #8]
mov x1, x26
mov w2, #32 ; =0x20
bl _mandoc_reallocarray
str x0, [x25, #8]
add x8, x0, x26, lsl #5
sub x0, x8, #32
add x1, sp, #32
mov w2, #32 ; =0x20
bl _memcpy
ldrsw x8, [sp, #28]
str w8, [x20]
Lloh15:
adrp x9, _mdocargs@GOTPAGE
Lloh16:
ldr x9, [x9, _mdocargs@GOTPAGEOFF]
Lloh17:
ldr x9, [x9]
ldr w10, [x27]
sub w10, w22, w10
ldr x26, [x9, w10, uxtw #3]
ldrb w9, [x19, x8]
; kill: def $w8 killed $w8 killed $x8 def $x8
cmp w9, #45
b.eq LBB0_3
b LBB0_21
LBB0_19: ; in Loop: Header=BB0_3 Depth=1
add x2, sp, #32
add x3, sp, #28
ldr x0, [sp, #16] ; 8-byte Folded Reload
mov x1, x23
mov x4, x19
bl _argv_multi
ldr x25, [x21]
cbnz x25, LBB0_18
LBB0_20: ; in Loop: Header=BB0_3 Depth=1
mov w0, #1 ; =0x1
mov w1, #16 ; =0x10
bl _mandoc_calloc
mov x25, x0
str x0, [x21]
b LBB0_18
LBB0_21:
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
.loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7
.loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGot Lloh10, Lloh11
.loh AdrpLdrGot Lloh8, Lloh9
.loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14
.loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17
.cfi_endproc
; -- End function
.comm _MDOC_Dd,4,2 ; @MDOC_Dd
.comm _MDOC_MAX,4,2 ; @MDOC_MAX
.comm _mdocargs,8,3 ; @mdocargs
.comm _MDOC_ARG_MAX,8,3 ; @MDOC_ARG_MAX
.comm _mdoc_argnames,8,3 ; @mdoc_argnames
.comm _argvflags,8,3 ; @argvflags
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _bwscsbdup ## -- Begin function bwscsbdup
.p2align 4, 0x90
_bwscsbdup: ## @bwscsbdup
.cfi_startproc
## %bb.0:
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, %r14
movq %rdi, %r15
movq %rsi, %rdi
callq _bwsalloc
movq %rax, %rbx
testq %r15, %r15
je LBB0_9
## %bb.1:
movq _MB_CUR_MAX@GOTPCREL(%rip), %rax
cmpl $1, (%rax)
jne LBB0_3
## %bb.2:
movl 16(%rbx), %edi
movq %r15, %rsi
movq %r14, %rdx
callq _memcpy
jmp LBB0_9
LBB0_3:
leaq -44(%rbp), %rdi
xorl %r13d, %r13d
xorl %esi, %esi
movl $4, %edx
callq _memset
xorl %r12d, %r12d
movq %rbx, -56(%rbp) ## 8-byte Spill
jmp LBB0_4
.p2align 4, 0x90
LBB0_5: ## in Loop: Header=BB0_4 Depth=1
movzbl (%r15,%r13), %eax
movq 8(%rbx), %rcx
movb %al, (%rcx,%r12)
movl $1, %eax
LBB0_7: ## in Loop: Header=BB0_4 Depth=1
addq %rax, %r13
incq %r12
cmpq %r14, %r13
ja LBB0_8
LBB0_4: ## =>This Inner Loop Header: Depth=1
movq _MB_CUR_MAX@GOTPCREL(%rip), %rax
movslq (%rax), %rax
movq %r14, %rsi
subq %r13, %rsi
cmpq %rax, %rsi
cmovaeq %rax, %rsi
movq %r15, %rdi
subq %r13, %rdi
leaq -44(%rbp), %rdx
callq _mbrlen
leaq 2(%rax), %rcx
cmpq $2, %rcx
jbe LBB0_5
## %bb.6: ## in Loop: Header=BB0_4 Depth=1
movq 8(%rbx), %rdi
addq %r12, %rdi
leaq (%r15,%r13), %rsi
movq %rax, %rdx
leaq -44(%rbp), %rcx
movq %rax, %rbx
callq _mbrtowc
movq %rbx, %rax
movq -56(%rbp), %rbx ## 8-byte Reload
jmp LBB0_7
LBB0_8:
movq %r12, (%rbx)
movq 8(%rbx), %rax
movb $0, (%rax,%r12)
LBB0_9:
movq %rbx, %rax
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _MB_CUR_MAX,4,2 ## @MB_CUR_MAX
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _bwscsbdup ; -- Begin function bwscsbdup
.p2align 2
_bwscsbdup: ; @bwscsbdup
.cfi_startproc
; %bb.0:
sub sp, sp, #96
stp x26, x25, [sp, #16] ; 16-byte Folded Spill
stp x24, x23, [sp, #32] ; 16-byte Folded Spill
stp x22, x21, [sp, #48] ; 16-byte Folded Spill
stp x20, x19, [sp, #64] ; 16-byte Folded Spill
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
.cfi_offset w21, -40
.cfi_offset w22, -48
.cfi_offset w23, -56
.cfi_offset w24, -64
.cfi_offset w25, -72
.cfi_offset w26, -80
mov x20, x1
mov x21, x0
mov x0, x1
bl _bwsalloc
mov x19, x0
cbz x21, LBB0_9
; %bb.1:
Lloh0:
adrp x23, _MB_CUR_MAX@GOTPAGE
Lloh1:
ldr x23, [x23, _MB_CUR_MAX@GOTPAGEOFF]
ldr w8, [x23]
cmp w8, #1
b.ne LBB0_3
; %bb.2:
ldr w0, [x19, #16]
mov x1, x21
mov x2, x20
bl _memcpy
b LBB0_9
LBB0_3:
add x0, sp, #12
mov w1, #0 ; =0x0
mov w2, #4 ; =0x4
bl _memset
mov x25, #0 ; =0x0
mov x24, #0 ; =0x0
b LBB0_6
LBB0_4: ; in Loop: Header=BB0_6 Depth=1
ldrb w8, [x21, x25]
ldr x9, [x19, #8]
strb w8, [x9, x24]
mov w22, #1 ; =0x1
LBB0_5: ; in Loop: Header=BB0_6 Depth=1
add x24, x24, #1
add x25, x22, x25
cmp x25, x20
b.hi LBB0_8
LBB0_6: ; =>This Inner Loop Header: Depth=1
ldrsw x8, [x23]
sub x9, x20, x25
cmp x9, x8
csel x1, x9, x8, lo
sub x0, x21, x25
add x2, sp, #12
bl _mbrlen
add x8, x0, #2
cmp x8, #2
b.ls LBB0_4
; %bb.7: ; in Loop: Header=BB0_6 Depth=1
mov x22, x0
ldr x8, [x19, #8]
add x0, x8, x24
add x1, x21, x25
add x3, sp, #12
mov x2, x22
bl _mbrtowc
b LBB0_5
LBB0_8:
str x24, [x19]
ldr x8, [x19, #8]
strb wzr, [x8, x24]
LBB0_9:
mov x0, x19
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
ldp x20, x19, [sp, #64] ; 16-byte Folded Reload
ldp x22, x21, [sp, #48] ; 16-byte Folded Reload
ldp x24, x23, [sp, #32] ; 16-byte Folded Reload
ldp x26, x25, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #96
ret
.loh AdrpLdrGot Lloh0, Lloh1
.cfi_endproc
; -- End function
.comm _MB_CUR_MAX,4,2 ; @MB_CUR_MAX
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _poll ## -- Begin function poll
.p2align 4, 0x90
_poll: ## @poll
.cfi_startproc
## %bb.0:
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
testq %rdi, %rdi
sete %al
testl %esi, %esi
setne %cl
testb %cl, %al
je LBB0_3
## %bb.1:
movq _EFAULT@GOTPCREL(%rip), %rax
LBB0_2:
movl (%rax), %eax
movq _errno@GOTPCREL(%rip), %rcx
movl %eax, (%rcx)
movl $-1, %r14d
jmp LBB0_32
LBB0_3:
movl %esi, %r14d
movq %rdi, %rbx
testl %edx, %edx
je LBB0_4
## %bb.5:
jle LBB0_8
## %bb.6:
movl %edx, %eax
imulq $274877907, %rax, %rax ## imm = 0x10624DD3
shrq $38, %rax
movl %eax, -60(%rbp)
imull $1000, %eax, %eax ## imm = 0x3E8
subl %eax, %edx
imull $1000, %edx, %eax ## imm = 0x3E8
jmp LBB0_7
LBB0_4:
movl $0, -60(%rbp)
xorl %eax, %eax
LBB0_7:
movl %eax, -56(%rbp)
leaq -60(%rbp), %r15
LBB0_11:
leaq -52(%rbp), %rdi
callq _FD_ZERO
leaq -48(%rbp), %rdi
callq _FD_ZERO
leaq -44(%rbp), %rdi
callq _FD_ZERO
testl %r14d, %r14d
jle LBB0_33
## %bb.12:
movq %r15, -72(%rbp) ## 8-byte Spill
movl %r14d, %eax
shlq $2, %rax
leaq (%rax,%rax,2), %r12
movl $-1, %r15d
xorl %r13d, %r13d
movq _POLLRDBAND@GOTPCREL(%rip), %r14
jmp LBB0_13
.p2align 4, 0x90
LBB0_24: ## in Loop: Header=BB0_13 Depth=1
addq $12, %r13
cmpq %r13, %r12
je LBB0_25
LBB0_13: ## =>This Inner Loop Header: Depth=1
movl (%rbx,%r13), %edi
testl %edi, %edi
js LBB0_24
## %bb.14: ## in Loop: Header=BB0_13 Depth=1
movl 4(%rbx,%r13), %eax
movq _POLLIN@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
movq _POLLRDNORM@GOTPCREL(%rip), %rdx
orl (%rdx), %ecx
orl %eax, %ecx
je LBB0_16
## %bb.15: ## in Loop: Header=BB0_13 Depth=1
leaq -52(%rbp), %rsi
callq _FD_SET
movl (%rbx,%r13), %edi
movl 4(%rbx,%r13), %eax
LBB0_16: ## in Loop: Header=BB0_13 Depth=1
movq _POLLWRNORM@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
movq _POLLOUT@GOTPCREL(%rip), %rdx
orl (%rdx), %ecx
movq _POLLWRBAND@GOTPCREL(%rip), %rdx
orl (%rdx), %ecx
testl %eax, %ecx
je LBB0_18
## %bb.17: ## in Loop: Header=BB0_13 Depth=1
leaq -48(%rbp), %rsi
callq _FD_SET
movl (%rbx,%r13), %edi
movl 4(%rbx,%r13), %eax
LBB0_18: ## in Loop: Header=BB0_13 Depth=1
movl (%r14), %ecx
movq _POLLPRI@GOTPCREL(%rip), %rdx
orl (%rdx), %ecx
testl %eax, %ecx
je LBB0_20
## %bb.19: ## in Loop: Header=BB0_13 Depth=1
leaq -44(%rbp), %rsi
callq _FD_SET
movl (%rbx,%r13), %edi
LBB0_20: ## in Loop: Header=BB0_13 Depth=1
cmpl %r15d, %edi
jl LBB0_24
## %bb.21: ## in Loop: Header=BB0_13 Depth=1
movq _POLLOUT@GOTPCREL(%rip), %rax
movl (%rax), %eax
movq _POLLIN@GOTPCREL(%rip), %rcx
orl (%rcx), %eax
movq _POLLPRI@GOTPCREL(%rip), %rcx
orl (%rcx), %eax
movq _POLLRDNORM@GOTPCREL(%rip), %rcx
orl (%rcx), %eax
orl (%r14), %eax
movq _POLLWRNORM@GOTPCREL(%rip), %rcx
orl (%rcx), %eax
movq _POLLWRBAND@GOTPCREL(%rip), %rcx
orl (%rcx), %eax
testl %eax, 4(%rbx,%r13)
je LBB0_24
## %bb.22: ## in Loop: Header=BB0_13 Depth=1
movl %edi, %r15d
movq _FD_SETSIZE@GOTPCREL(%rip), %rax
cmpl (%rax), %edi
jle LBB0_24
## %bb.23:
movq _EOVERFLOW@GOTPCREL(%rip), %rax
jmp LBB0_2
LBB0_25:
incl %r15d
leaq -52(%rbp), %rsi
leaq -48(%rbp), %rdx
leaq -44(%rbp), %rcx
movl %r15d, %edi
movq -72(%rbp), %r8 ## 8-byte Reload
callq _select
movl %eax, %r14d
xorl %r15d, %r15d
testl %eax, %eax
cmovnsl %r15d, %r14d
js LBB0_32
## %bb.26:
leaq -44(%rbp), %r13
xorl %r14d, %r14d
jmp LBB0_27
.p2align 4, 0x90
LBB0_30: ## in Loop: Header=BB0_27 Depth=1
movl $0, 8(%rbx,%r15)
LBB0_31: ## in Loop: Header=BB0_27 Depth=1
addq $12, %r15
cmpq %r15, %r12
je LBB0_32
LBB0_27: ## =>This Inner Loop Header: Depth=1
movl (%rbx,%r15), %edi
testl %edi, %edi
js LBB0_30
## %bb.28: ## in Loop: Header=BB0_27 Depth=1
movl 4(%rbx,%r15), %esi
leaq -52(%rbp), %rdx
leaq -48(%rbp), %rcx
movq %r13, %r8
callq _compute_revents
testl %eax, %eax
je LBB0_30
## %bb.29: ## in Loop: Header=BB0_27 Depth=1
movl %eax, 8(%rbx,%r15)
incl %r14d
jmp LBB0_31
LBB0_33:
leaq -52(%rbp), %rsi
leaq -48(%rbp), %rdx
leaq -44(%rbp), %rcx
xorl %edi, %edi
movq %r15, %r8
callq _select
movl %eax, %r14d
sarl $31, %r14d
andl %eax, %r14d
LBB0_32:
movl %r14d, %eax
addq $40, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
LBB0_8:
movq _INFTIM@GOTPCREL(%rip), %rax
cmpl %edx, (%rax)
jne LBB0_9
## %bb.10:
xorl %r15d, %r15d
jmp LBB0_11
LBB0_9:
movq _EINVAL@GOTPCREL(%rip), %rax
jmp LBB0_2
.cfi_endproc
## -- End function
.comm _EFAULT,4,2 ## @EFAULT
.comm _errno,4,2 ## @errno
.comm _INFTIM,4,2 ## @INFTIM
.comm _EINVAL,4,2 ## @EINVAL
.comm _POLLIN,4,2 ## @POLLIN
.comm _POLLRDNORM,4,2 ## @POLLRDNORM
.comm _POLLOUT,4,2 ## @POLLOUT
.comm _POLLWRNORM,4,2 ## @POLLWRNORM
.comm _POLLWRBAND,4,2 ## @POLLWRBAND
.comm _POLLPRI,4,2 ## @POLLPRI
.comm _POLLRDBAND,4,2 ## @POLLRDBAND
.comm _FD_SETSIZE,4,2 ## @FD_SETSIZE
.comm _EOVERFLOW,4,2 ## @EOVERFLOW
.comm _FALSE,8,3 ## @FALSE
.comm _FD_ACCEPT,4,2 ## @FD_ACCEPT
.comm _FD_CLOSE,4,2 ## @FD_CLOSE
.comm _FD_CONNECT,4,2 ## @FD_CONNECT
.comm _FD_OOB,4,2 ## @FD_OOB
.comm _FD_READ,4,2 ## @FD_READ
.comm _FD_WRITE,4,2 ## @FD_WRITE
.comm _INFINITE,8,3 ## @INFINITE
.comm _OPEN_MAX,4,2 ## @OPEN_MAX
.comm _PM_REMOVE,4,2 ## @PM_REMOVE
.comm _QS_ALLINPUT,4,2 ## @QS_ALLINPUT
.comm _TRUE,8,3 ## @TRUE
.comm _WAIT_OBJECT_0,8,3 ## @WAIT_OBJECT_0
.comm __SC_OPEN_MAX,4,2 ## @_SC_OPEN_MAX
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.globl _poll ; -- Begin function poll
.p2align 2
_poll: ; @poll
.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 x21, x1
cbnz x0, LBB0_4
; %bb.1:
cbz w21, LBB0_4
; %bb.2:
Lloh0:
adrp x8, _EFAULT@GOTPAGE
Lloh1:
ldr x8, [x8, _EFAULT@GOTPAGEOFF]
LBB0_3:
ldr w8, [x8]
Lloh2:
adrp x9, _errno@GOTPAGE
Lloh3:
ldr x9, [x9, _errno@GOTPAGEOFF]
Lloh4:
str w8, [x9]
mov w20, #-1 ; =0xffffffff
b LBB0_32
LBB0_4:
cbz w2, LBB0_7
; %bb.5:
cmp w2, #1
b.lt LBB0_33
; %bb.6:
mov x19, x0
mov w8, #19923 ; =0x4dd3
movk w8, #4194, lsl #16
umull x8, w2, w8
lsr x8, x8, #38
str w8, [sp, #28]
mov w9, #1000 ; =0x3e8
msub w8, w8, w9, w2
mul w8, w8, w9
b LBB0_8
LBB0_7:
mov x19, x0
mov w8, #0 ; =0x0
str wzr, [sp, #28]
LBB0_8:
str w8, [sp, #32]
add x20, sp, #28
LBB0_9:
add x0, sp, #44
bl _FD_ZERO
add x0, sp, #40
bl _FD_ZERO
add x0, sp, #36
bl _FD_ZERO
cmp w21, #1
b.lt LBB0_30
; %bb.10:
str x20, [sp, #16] ; 8-byte Folded Spill
Lloh5:
adrp x23, _POLLRDNORM@GOTPAGE
Lloh6:
ldr x23, [x23, _POLLRDNORM@GOTPAGEOFF]
str x19, [sp, #8] ; 8-byte Folded Spill
add x24, x19, #4
Lloh7:
adrp x26, _POLLOUT@GOTPAGE
Lloh8:
ldr x26, [x26, _POLLOUT@GOTPAGEOFF]
mov w22, w21
Lloh9:
adrp x27, _POLLWRNORM@GOTPAGE
Lloh10:
ldr x27, [x27, _POLLWRNORM@GOTPAGEOFF]
Lloh11:
adrp x28, _POLLWRBAND@GOTPAGE
Lloh12:
ldr x28, [x28, _POLLWRBAND@GOTPAGEOFF]
Lloh13:
adrp x20, _POLLPRI@GOTPAGE
Lloh14:
ldr x20, [x20, _POLLPRI@GOTPAGEOFF]
Lloh15:
adrp x19, _POLLRDBAND@GOTPAGE
Lloh16:
ldr x19, [x19, _POLLRDBAND@GOTPAGEOFF]
mov w25, #-1 ; =0xffffffff
mov x21, x22
b LBB0_12
LBB0_11: ; in Loop: Header=BB0_12 Depth=1
add x24, x24, #12
subs x21, x21, #1
b.eq LBB0_23
LBB0_12: ; =>This Inner Loop Header: Depth=1
ldur w0, [x24, #-4]
tbnz w0, #31, LBB0_11
; %bb.13: ; in Loop: Header=BB0_12 Depth=1
ldr w8, [x24]
Lloh17:
adrp x9, _POLLIN@GOTPAGE
Lloh18:
ldr x9, [x9, _POLLIN@GOTPAGEOFF]
Lloh19:
ldr w9, [x9]
ldr w10, [x23]
orr w9, w9, w10
orr w9, w9, w8
cbz w9, LBB0_15
; %bb.14: ; in Loop: Header=BB0_12 Depth=1
add x1, sp, #44
bl _FD_SET
ldp w0, w8, [x24, #-4]
LBB0_15: ; in Loop: Header=BB0_12 Depth=1
ldr w9, [x26]
ldr w10, [x27]
orr w9, w10, w9
ldr w10, [x28]
orr w9, w9, w10
tst w9, w8
b.eq LBB0_17
; %bb.16: ; in Loop: Header=BB0_12 Depth=1
add x1, sp, #40
bl _FD_SET
ldp w0, w8, [x24, #-4]
LBB0_17: ; in Loop: Header=BB0_12 Depth=1
ldr w9, [x20]
ldr w10, [x19]
orr w9, w10, w9
tst w9, w8
b.eq LBB0_19
; %bb.18: ; in Loop: Header=BB0_12 Depth=1
add x1, sp, #36
bl _FD_SET
ldur w0, [x24, #-4]
LBB0_19: ; in Loop: Header=BB0_12 Depth=1
cmp w0, w25
b.lt LBB0_11
; %bb.20: ; in Loop: Header=BB0_12 Depth=1
ldr w8, [x24]
Lloh20:
adrp x9, _POLLIN@GOTPAGE
Lloh21:
ldr x9, [x9, _POLLIN@GOTPAGEOFF]
Lloh22:
ldr w9, [x9]
ldr w10, [x26]
orr w9, w10, w9
ldr w10, [x20]
ldr w11, [x23]
orr w10, w10, w11
orr w9, w9, w10
ldr w10, [x19]
ldr w11, [x27]
orr w10, w10, w11
ldr w11, [x28]
orr w10, w10, w11
orr w9, w9, w10
tst w9, w8
b.eq LBB0_11
; %bb.21: ; in Loop: Header=BB0_12 Depth=1
Lloh23:
adrp x8, _FD_SETSIZE@GOTPAGE
Lloh24:
ldr x8, [x8, _FD_SETSIZE@GOTPAGEOFF]
Lloh25:
ldr w8, [x8]
mov x25, x0
cmp w0, w8
b.le LBB0_11
; %bb.22:
Lloh26:
adrp x8, _EOVERFLOW@GOTPAGE
Lloh27:
ldr x8, [x8, _EOVERFLOW@GOTPAGEOFF]
b LBB0_3
LBB0_23:
add w0, w25, #1
add x1, sp, #44
add x2, sp, #40
add x3, sp, #36
ldr x4, [sp, #16] ; 8-byte Folded Reload
bl _select
tbnz w0, #31, LBB0_31
; %bb.24:
mov w20, #0 ; =0x0
ldr x8, [sp, #8] ; 8-byte Folded Reload
add x19, x8, #8
b LBB0_27
LBB0_25: ; in Loop: Header=BB0_27 Depth=1
str wzr, [x19]
LBB0_26: ; in Loop: Header=BB0_27 Depth=1
add x19, x19, #12
subs x22, x22, #1
b.eq LBB0_32
LBB0_27: ; =>This Inner Loop Header: Depth=1
ldur w0, [x19, #-8]
tbnz w0, #31, LBB0_25
; %bb.28: ; in Loop: Header=BB0_27 Depth=1
ldur w1, [x19, #-4]
add x2, sp, #44
add x3, sp, #40
add x4, sp, #36
bl _compute_revents
cbz w0, LBB0_25
; %bb.29: ; in Loop: Header=BB0_27 Depth=1
str w0, [x19]
add w20, w20, #1
b LBB0_26
LBB0_30:
add x1, sp, #44
add x2, sp, #40
add x3, sp, #36
mov w0, #0 ; =0x0
mov x4, x20
bl _select
LBB0_31:
and w20, w0, w0, asr #31
LBB0_32:
mov x0, x20
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_33:
Lloh28:
adrp x8, _INFTIM@GOTPAGE
Lloh29:
ldr x8, [x8, _INFTIM@GOTPAGEOFF]
Lloh30:
ldr w8, [x8]
cmp w8, w2
b.ne LBB0_35
; %bb.34:
mov x19, x0
mov x20, #0 ; =0x0
b LBB0_9
LBB0_35:
Lloh31:
adrp x8, _EINVAL@GOTPAGE
Lloh32:
ldr x8, [x8, _EINVAL@GOTPAGEOFF]
b LBB0_3
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGotStr Lloh2, Lloh3, Lloh4
.loh AdrpLdrGot Lloh15, Lloh16
.loh AdrpLdrGot Lloh13, Lloh14
.loh AdrpLdrGot Lloh11, Lloh12
.loh AdrpLdrGot Lloh9, Lloh10
.loh AdrpLdrGot Lloh7, Lloh8
.loh AdrpLdrGot Lloh5, Lloh6
.loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19
.loh AdrpLdrGotLdr Lloh20, Lloh21, Lloh22
.loh AdrpLdrGotLdr Lloh23, Lloh24, Lloh25
.loh AdrpLdrGot Lloh26, Lloh27
.loh AdrpLdrGotLdr Lloh28, Lloh29, Lloh30
.loh AdrpLdrGot Lloh31, Lloh32
.cfi_endproc
; -- End function
.comm _EFAULT,4,2 ; @EFAULT
.comm _errno,4,2 ; @errno
.comm _INFTIM,4,2 ; @INFTIM
.comm _EINVAL,4,2 ; @EINVAL
.comm _POLLIN,4,2 ; @POLLIN
.comm _POLLRDNORM,4,2 ; @POLLRDNORM
.comm _POLLOUT,4,2 ; @POLLOUT
.comm _POLLWRNORM,4,2 ; @POLLWRNORM
.comm _POLLWRBAND,4,2 ; @POLLWRBAND
.comm _POLLPRI,4,2 ; @POLLPRI
.comm _POLLRDBAND,4,2 ; @POLLRDBAND
.comm _FD_SETSIZE,4,2 ; @FD_SETSIZE
.comm _EOVERFLOW,4,2 ; @EOVERFLOW
.comm _FALSE,8,3 ; @FALSE
.comm _FD_ACCEPT,4,2 ; @FD_ACCEPT
.comm _FD_CLOSE,4,2 ; @FD_CLOSE
.comm _FD_CONNECT,4,2 ; @FD_CONNECT
.comm _FD_OOB,4,2 ; @FD_OOB
.comm _FD_READ,4,2 ; @FD_READ
.comm _FD_WRITE,4,2 ; @FD_WRITE
.comm _INFINITE,8,3 ; @INFINITE
.comm _OPEN_MAX,4,2 ; @OPEN_MAX
.comm _PM_REMOVE,4,2 ; @PM_REMOVE
.comm _QS_ALLINPUT,4,2 ; @QS_ALLINPUT
.comm _TRUE,8,3 ; @TRUE
.comm _WAIT_OBJECT_0,8,3 ; @WAIT_OBJECT_0
.comm __SC_OPEN_MAX,4,2 ; @_SC_OPEN_MAX
.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 sdla_reconfig
LCPI0_0:
.space 16
.section __TEXT,__text,regular,pure_instructions
.p2align 4, 0x90
_sdla_reconfig: ## @sdla_reconfig
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r14
pushq %rbx
subq $32, %rsp
.cfi_offset %rbx, -32
.cfi_offset %r14, -24
movq %rdi, %rbx
callq _netdev_priv
movq _CONFIG_DLCI_MAX@GOTPCREL(%rip), %rcx
cmpl $0, (%rcx)
js LBB0_2
.p2align 4, 0x90
LBB0_1: ## =>This Inner Loop Header: Depth=1
jmp LBB0_1
LBB0_2:
leaq -24(%rbp), %r14
movq %r14, %rdi
movq %rax, %rsi
movl $4, %edx
callq _memcpy
movq _SDLA_DISABLE_COMMUNICATIONS@GOTPCREL(%rip), %rax
movl (%rax), %esi
xorps %xmm0, %xmm0
movups %xmm0, (%rsp)
movq %rbx, %rdi
xorl %edx, %edx
xorl %ecx, %ecx
xorl %r8d, %r8d
xorl %r9d, %r9d
callq _sdla_cmd
movq _SDLA_SET_DLCI_CONFIGURATION@GOTPCREL(%rip), %rax
movl (%rax), %esi
xorps %xmm0, %xmm0
movups %xmm0, (%rsp)
movq %rbx, %rdi
xorl %edx, %edx
xorl %ecx, %ecx
movq %r14, %r8
movl $4, %r9d
callq _sdla_cmd
movq _SDLA_ENABLE_COMMUNICATIONS@GOTPCREL(%rip), %rax
movl (%rax), %esi
xorps %xmm0, %xmm0
movups %xmm0, (%rsp)
movq %rbx, %rdi
xorl %edx, %edx
xorl %ecx, %ecx
xorl %r8d, %r8d
xorl %r9d, %r9d
callq _sdla_cmd
xorl %eax, %eax
addq $32, %rsp
popq %rbx
popq %r14
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _CONFIG_DLCI_MAX,4,2 ## @CONFIG_DLCI_MAX
.comm _SDLA_DISABLE_COMMUNICATIONS,4,2 ## @SDLA_DISABLE_COMMUNICATIONS
.comm _SDLA_SET_DLCI_CONFIGURATION,4,2 ## @SDLA_SET_DLCI_CONFIGURATION
.comm _SDLA_ENABLE_COMMUNICATIONS,4,2 ## @SDLA_ENABLE_COMMUNICATIONS
.no_dead_strip _sdla_reconfig
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function sdla_reconfig
_sdla_reconfig: ; @sdla_reconfig
.cfi_startproc
; %bb.0:
sub sp, sp, #48
stp x20, x19, [sp, #16] ; 16-byte Folded Spill
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w19, -24
.cfi_offset w20, -32
mov x19, x0
bl _netdev_priv
Lloh0:
adrp x8, _CONFIG_DLCI_MAX@GOTPAGE
Lloh1:
ldr x8, [x8, _CONFIG_DLCI_MAX@GOTPAGEOFF]
Lloh2:
ldr w8, [x8]
tbnz w8, #31, LBB0_2
LBB0_1: ; =>This Inner Loop Header: Depth=1
b LBB0_1
LBB0_2:
mov x1, x0
add x0, sp, #8
mov w2, #4 ; =0x4
bl _memcpy
Lloh3:
adrp x8, _SDLA_DISABLE_COMMUNICATIONS@GOTPAGE
Lloh4:
ldr x8, [x8, _SDLA_DISABLE_COMMUNICATIONS@GOTPAGEOFF]
Lloh5:
ldr w1, [x8]
mov x0, x19
mov w2, #0 ; =0x0
mov w3, #0 ; =0x0
mov x4, #0 ; =0x0
mov w5, #0 ; =0x0
mov x6, #0 ; =0x0
mov x7, #0 ; =0x0
bl _sdla_cmd
Lloh6:
adrp x8, _SDLA_SET_DLCI_CONFIGURATION@GOTPAGE
Lloh7:
ldr x8, [x8, _SDLA_SET_DLCI_CONFIGURATION@GOTPAGEOFF]
Lloh8:
ldr w1, [x8]
add x4, sp, #8
mov x0, x19
mov w2, #0 ; =0x0
mov w3, #0 ; =0x0
mov w5, #4 ; =0x4
mov x6, #0 ; =0x0
mov x7, #0 ; =0x0
bl _sdla_cmd
Lloh9:
adrp x8, _SDLA_ENABLE_COMMUNICATIONS@GOTPAGE
Lloh10:
ldr x8, [x8, _SDLA_ENABLE_COMMUNICATIONS@GOTPAGEOFF]
Lloh11:
ldr w1, [x8]
mov x0, x19
mov w2, #0 ; =0x0
mov w3, #0 ; =0x0
mov x4, #0 ; =0x0
mov w5, #0 ; =0x0
mov x6, #0 ; =0x0
mov x7, #0 ; =0x0
bl _sdla_cmd
mov w0, #0 ; =0x0
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
ldp x20, x19, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #48
ret
.loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5
.cfi_endproc
; -- End function
.comm _CONFIG_DLCI_MAX,4,2 ; @CONFIG_DLCI_MAX
.comm _SDLA_DISABLE_COMMUNICATIONS,4,2 ; @SDLA_DISABLE_COMMUNICATIONS
.comm _SDLA_SET_DLCI_CONFIGURATION,4,2 ; @SDLA_SET_DLCI_CONFIGURATION
.comm _SDLA_ENABLE_COMMUNICATIONS,4,2 ; @SDLA_ENABLE_COMMUNICATIONS
.no_dead_strip _sdla_reconfig
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 4, 0x90 ## -- Begin function parse_mapping
_parse_mapping: ## @parse_mapping
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $24, %rsp
.cfi_offset %rbx, -56
.cfi_offset %r12, -48
.cfi_offset %r13, -40
.cfi_offset %r14, -32
.cfi_offset %r15, -24
movq %rdi, %rbx
testq %rsi, %rsi
je LBB0_1
## %bb.2:
movq %rsi, %r12
movq 8(%rbx), %rax
movq %rax, -56(%rbp) ## 8-byte Spill
movl (%rax), %edi
movl $4, %esi
callq _av_calloc
movq %rax, -48(%rbp) ## 8-byte Spill
testq %rax, %rax
je LBB0_7
## %bb.3:
xorl %r13d, %r13d
jmp LBB0_4
.p2align 4, 0x90
LBB0_14: ## in Loop: Header=BB0_4 Depth=1
movq _AV_LOG_VERBOSE@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq %rbx, %rdi
leaq L_.str.4(%rip), %rdx
movl %r15d, %ecx
movl %r13d, %r8d
xorl %eax, %eax
callq _av_log
movslq %r13d, %rax
decl %r13d
movq -48(%rbp), %rcx ## 8-byte Reload
movl %r15d, (%rcx,%rax,4)
movq %r14, %r12
LBB0_4: ## =>This Inner Loop Header: Depth=1
movq %r12, %rdi
leaq -64(%rbp), %rsi
xorl %edx, %edx
callq _strtol
movl %eax, %r15d
movq _AV_LOG_DEBUG@GOTPCREL(%rip), %rax
movl (%rax), %esi
movq -64(%rbp), %r14
movq %rbx, %rdi
leaq L_.str.1(%rip), %rdx
movl %r15d, %ecx
movq %r12, %r8
movq %r14, %r9
xorl %eax, %eax
callq _av_log
cmpq %r14, %r12
je LBB0_4
## %bb.5: ## in Loop: Header=BB0_4 Depth=1
movq -56(%rbp), %rax ## 8-byte Reload
movl (%rax), %r8d
cmpl %r8d, %r13d
jge LBB0_6
## %bb.9: ## in Loop: Header=BB0_4 Depth=1
testl %r15d, %r15d
jns LBB0_14
## %bb.10: ## in Loop: Header=BB0_4 Depth=1
cmpl (%rbx), %r15d
jl LBB0_14
## %bb.11:
movq _AV_LOG_ERROR@GOTPCREL(%rip), %rax
movl (%rax), %esi
leaq L_.str.3(%rip), %rdx
movq %rbx, %rdi
movl %r15d, %ecx
xorl %eax, %eax
callq _av_log
jmp LBB0_12
LBB0_1:
movq _AV_LOG_ERROR@GOTPCREL(%rip), %rax
movl (%rax), %esi
leaq L_.str(%rip), %rdx
movq %rbx, %rdi
xorl %eax, %eax
callq _av_log
movq _EINVAL@GOTPCREL(%rip), %rax
jmp LBB0_8
LBB0_6:
movq _AV_LOG_ERROR@GOTPCREL(%rip), %rax
movl (%rax), %esi
leaq L_.str.2(%rip), %rdx
movq %rbx, %rdi
movl %r8d, %ecx
xorl %eax, %eax
callq _av_log
LBB0_12:
movq -48(%rbp), %rdi ## 8-byte Reload
callq _av_free
movq _EINVAL@GOTPCREL(%rip), %rax
jmp LBB0_8
LBB0_7:
movq _ENOMEM@GOTPCREL(%rip), %rax
LBB0_8:
movl (%rax), %edi
addq $24, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp _AVERROR ## TAILCALL
.cfi_endproc
## -- End function
.comm _AV_LOG_ERROR,4,2 ## @AV_LOG_ERROR
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "mapping definition is not set\n"
.comm _EINVAL,4,2 ## @EINVAL
.comm _ENOMEM,4,2 ## @ENOMEM
.comm _AV_LOG_DEBUG,4,2 ## @AV_LOG_DEBUG
L_.str.1: ## @.str.1
.asciz "n=%d map=%p p=%p\n"
L_.str.2: ## @.str.2
.asciz "Unable to map more than the %d input pads available\n"
L_.str.3: ## @.str.3
.asciz "Input stream index %d doesn't exist (there is only %d input streams defined)\n"
.comm _AV_LOG_VERBOSE,4,2 ## @AV_LOG_VERBOSE
L_.str.4: ## @.str.4
.asciz "Map input stream %d to output stream %d\n"
.no_dead_strip _parse_mapping
.subsections_via_symbols
|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 15, 0 sdk_version 15, 5
.p2align 2 ; -- Begin function parse_mapping
_parse_mapping: ; @parse_mapping
.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, x0
cbz x1, LBB0_9
; %bb.1:
mov x28, x1
ldr x25, [x19, #8]
ldr w0, [x25]
mov w1, #4 ; =0x4
bl _av_calloc
cbz x0, LBB0_13
; %bb.2:
mov x20, x0
mov w26, #0 ; =0x0
Lloh0:
adrp x27, _AV_LOG_DEBUG@GOTPAGE
Lloh1:
ldr x27, [x27, _AV_LOG_DEBUG@GOTPAGEOFF]
Lloh2:
adrp x21, l_.str.1@PAGE
Lloh3:
add x21, x21, l_.str.1@PAGEOFF
Lloh4:
adrp x22, l_.str.4@PAGE
Lloh5:
add x22, x22, l_.str.4@PAGEOFF
b LBB0_4
LBB0_3: ; in Loop: Header=BB0_4 Depth=1
Lloh6:
adrp x8, _AV_LOG_VERBOSE@GOTPAGE
Lloh7:
ldr x8, [x8, _AV_LOG_VERBOSE@GOTPAGEOFF]
Lloh8:
ldr w1, [x8]
mov x8, x24
stp x8, x26, [sp]
mov x0, x19
mov x2, x22
bl _av_log
str w24, [x20, w26, sxtw #2]
sub w8, w26, #1
mov x28, x23
mov x26, x8
LBB0_4: ; =>This Inner Loop Header: Depth=1
add x1, sp, #24
mov x0, x28
mov w2, #0 ; =0x0
bl _strtol
mov x24, x0
ldr w1, [x27]
ldr x23, [sp, #24]
stp x28, x23, [sp, #8]
str x24, [sp]
mov x0, x19
mov x2, x21
bl _av_log
cmp x28, x23
b.eq LBB0_4
; %bb.5: ; in Loop: Header=BB0_4 Depth=1
ldr w8, [x25]
cmp w26, w8
b.ge LBB0_10
; %bb.6: ; in Loop: Header=BB0_4 Depth=1
tbz w24, #31, LBB0_3
; %bb.7: ; in Loop: Header=BB0_4 Depth=1
ldr w9, [x19]
cmp w24, w9
b.lt LBB0_3
; %bb.8:
Lloh9:
adrp x9, _AV_LOG_ERROR@GOTPAGE
Lloh10:
ldr x9, [x9, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh11:
ldr w1, [x9]
; kill: def $w24 killed $w24 killed $x24 def $x24
stp x24, x8, [sp]
Lloh12:
adrp x2, l_.str.3@PAGE
Lloh13:
add x2, x2, l_.str.3@PAGEOFF
b LBB0_11
LBB0_9:
Lloh14:
adrp x8, _AV_LOG_ERROR@GOTPAGE
Lloh15:
ldr x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh16:
ldr w1, [x8]
Lloh17:
adrp x2, l_.str@PAGE
Lloh18:
add x2, x2, l_.str@PAGEOFF
mov x0, x19
bl _av_log
b LBB0_12
LBB0_10:
Lloh19:
adrp x9, _AV_LOG_ERROR@GOTPAGE
Lloh20:
ldr x9, [x9, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh21:
ldr w1, [x9]
str x8, [sp]
Lloh22:
adrp x2, l_.str.2@PAGE
Lloh23:
add x2, x2, l_.str.2@PAGEOFF
LBB0_11:
mov x0, x19
bl _av_log
mov x0, x20
bl _av_free
LBB0_12:
Lloh24:
adrp x8, _EINVAL@GOTPAGE
Lloh25:
ldr x8, [x8, _EINVAL@GOTPAGEOFF]
b LBB0_14
LBB0_13:
Lloh26:
adrp x8, _ENOMEM@GOTPAGE
Lloh27:
ldr x8, [x8, _ENOMEM@GOTPAGEOFF]
LBB0_14:
ldr w0, [x8]
ldp x29, x30, [sp, #112] ; 16-byte Folded Reload
ldp x20, x19, [sp, #96] ; 16-byte Folded Reload
ldp x22, x21, [sp, #80] ; 16-byte Folded Reload
ldp x24, x23, [sp, #64] ; 16-byte Folded Reload
ldp x26, x25, [sp, #48] ; 16-byte Folded Reload
ldp x28, x27, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #128
b _AVERROR
.loh AdrpAdd Lloh4, Lloh5
.loh AdrpAdd Lloh2, Lloh3
.loh AdrpLdrGot Lloh0, Lloh1
.loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8
.loh AdrpAdd Lloh12, Lloh13
.loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11
.loh AdrpAdd Lloh17, Lloh18
.loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16
.loh AdrpAdd Lloh22, Lloh23
.loh AdrpLdrGotLdr Lloh19, Lloh20, Lloh21
.loh AdrpLdrGot Lloh24, Lloh25
.loh AdrpLdrGot Lloh26, Lloh27
.cfi_endproc
; -- End function
.comm _AV_LOG_ERROR,4,2 ; @AV_LOG_ERROR
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "mapping definition is not set\n"
.comm _EINVAL,4,2 ; @EINVAL
.comm _ENOMEM,4,2 ; @ENOMEM
.comm _AV_LOG_DEBUG,4,2 ; @AV_LOG_DEBUG
l_.str.1: ; @.str.1
.asciz "n=%d map=%p p=%p\n"
l_.str.2: ; @.str.2
.asciz "Unable to map more than the %d input pads available\n"
l_.str.3: ; @.str.3
.asciz "Input stream index %d doesn't exist (there is only %d input streams defined)\n"
.comm _AV_LOG_VERBOSE,4,2 ; @AV_LOG_VERBOSE
l_.str.4: ; @.str.4
.asciz "Map input stream %d to output stream %d\n"
.no_dead_strip _parse_mapping
.subsections_via_symbols
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.