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 get_processes _get_processes: ## @get_processes .cfi_startproc ## %bb.0: 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, %r14d movq %rdi, -56(%rbp) ## 8-byte Spill movq %rsp, -64(%rbp) ## 8-byte Spill movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -48(%rbp) movq _NR_PIDS_LIMIT@GOTPCREL(%rip), %rax movl (%rax), %eax shlq $3, %rax callq ____chkstk_darwin addq $15, %rax andq $-16, %rax subq %rax, %rsp movq %rsp, %r12 xorl %eax, %eax callq _GetCurrentProcessId movq %rax, %r15 leaq -80(%rbp), %rdx movq %rax, %rdi movl %r14d, %esi callq _find_pid testq %rax, %rax je LBB0_11 ## %bb.1: movl $1, %r13d xorl %ebx, %ebx LBB0_2: ## =>This Loop Header: Depth=1 ## Child Loop BB0_6 Depth 2 testq %rbx, %rbx je LBB0_4 ## %bb.3: ## in Loop: Header=BB0_2 Depth=1 movq -80(%rbp), %rsi movq -56(%rbp), %rdi ## 8-byte Reload callq _jw_array_string LBB0_4: ## in Loop: Header=BB0_2 Depth=1 xorl %eax, %eax .p2align 4, 0x90 LBB0_6: ## Parent Loop BB0_2 Depth=1 ## => This Inner Loop Header: Depth=2 cmpq (%r12,%rax,8), %r15 je LBB0_7 ## %bb.5: ## in Loop: Header=BB0_6 Depth=2 incq %rax cmpq %rax, %r13 jne LBB0_6 ## %bb.8: ## in Loop: Header=BB0_2 Depth=1 movq _NR_PIDS_LIMIT@GOTPCREL(%rip), %rax movl (%rax), %eax cmpq %rax, %rbx je LBB0_9 ## %bb.13: ## in Loop: Header=BB0_2 Depth=1 movq %r15, (%r12,%rbx,8) incq %rbx movq -72(%rbp), %r15 movq %r15, %rdi movl %r14d, %esi leaq -80(%rbp), %rdx callq _find_pid incq %r13 testq %rax, %rax jne LBB0_2 jmp LBB0_11 LBB0_7: leaq L_.str(%rip), %rsi LBB0_10: movq -56(%rbp), %rdi ## 8-byte Reload callq _jw_array_string LBB0_11: movq -64(%rbp), %rsp ## 8-byte Reload movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax cmpq -48(%rbp), %rax jne LBB0_14 ## %bb.12: leaq -40(%rbp), %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_9: leaq L_.str.1(%rip), %rsi jmp LBB0_10 LBB0_14: callq ___stack_chk_fail .cfi_endproc ## -- End function .comm _NR_PIDS_LIMIT,4,2 ## @NR_PIDS_LIMIT .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "(cycle)" L_.str.1: ## @.str.1 .asciz "(truncated)" .no_dead_strip _get_processes .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function get_processes _get_processes: ; @get_processes .cfi_startproc ; %bb.0: stp x28, x27, [sp, #-96]! ; 16-byte Folded Spill stp x26, x25, [sp, #16] ; 16-byte Folded Spill stp x24, x23, [sp, #32] ; 16-byte Folded Spill stp x22, x21, [sp, #48] ; 16-byte Folded Spill stp x20, x19, [sp, #64] ; 16-byte Folded Spill stp x29, x30, [sp, #80] ; 16-byte Folded Spill add x29, sp, #80 sub sp, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset w27, -88 .cfi_offset w28, -96 mov x20, x1 mov x19, x0 mov x23, sp Lloh0: adrp x8, ___stack_chk_guard@GOTPAGE Lloh1: ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] Lloh2: ldr x8, [x8] stur x8, [x29, #-88] Lloh3: adrp x24, _NR_PIDS_LIMIT@GOTPAGE Lloh4: ldr x24, [x24, _NR_PIDS_LIMIT@GOTPAGEOFF] ldr w8, [x24] lsl x8, x8, #3 mov x9, x8 Lloh5: adrp x16, ___chkstk_darwin@GOTPAGE Lloh6: ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF] blr x16 mov x9, sp add x8, x8, #15 and x8, x8, #0xffffffff0 sub x25, x9, x8 mov sp, x25 bl _GetCurrentProcessId mov x21, x0 sub x2, x29, #104 mov x1, x20 bl _find_pid cbz x0, LBB0_11 ; %bb.1: mov x28, #0 ; =0x0 mov w26, #1 ; =0x1 Lloh7: adrp x22, l_.str@PAGE Lloh8: add x22, x22, l_.str@PAGEOFF LBB0_2: ; =>This Loop Header: Depth=1 ; Child Loop BB0_5 Depth 2 cbz x28, LBB0_4 ; %bb.3: ; in Loop: Header=BB0_2 Depth=1 ldur x1, [x29, #-104] mov x0, x19 bl _jw_array_string LBB0_4: ; in Loop: Header=BB0_2 Depth=1 mov x8, #0 ; =0x0 LBB0_5: ; Parent Loop BB0_2 Depth=1 ; => This Inner Loop Header: Depth=2 ldr x9, [x25, x8, lsl #3] cmp x21, x9 b.eq LBB0_10 ; %bb.6: ; in Loop: Header=BB0_5 Depth=2 add x8, x8, #1 cmp x26, x8 b.ne LBB0_5 ; %bb.7: ; in Loop: Header=BB0_2 Depth=1 ldr w8, [x24] cmp x28, x8 b.eq LBB0_9 ; %bb.8: ; in Loop: Header=BB0_2 Depth=1 add x27, x28, #1 str x21, [x25, x28, lsl #3] ldur x21, [x29, #-96] sub x2, x29, #104 mov x0, x21 mov x1, x20 bl _find_pid add x26, x26, #1 mov x28, x27 cbnz x0, LBB0_2 b LBB0_11 LBB0_9: Lloh9: adrp x22, l_.str.1@PAGE Lloh10: add x22, x22, l_.str.1@PAGEOFF LBB0_10: mov x0, x19 mov x1, x22 bl _jw_array_string LBB0_11: mov sp, x23 ldur x8, [x29, #-88] Lloh11: adrp x9, ___stack_chk_guard@GOTPAGE Lloh12: ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF] Lloh13: ldr x9, [x9] cmp x9, x8 b.ne LBB0_13 ; %bb.12: 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_13: bl ___stack_chk_fail .loh AdrpLdrGot Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpAdd Lloh7, Lloh8 .loh AdrpAdd Lloh9, Lloh10 .loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13 .loh AdrpLdrGot Lloh5, Lloh6 .cfi_endproc ; -- End function .comm _NR_PIDS_LIMIT,4,2 ; @NR_PIDS_LIMIT .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "(cycle)" l_.str.1: ; @.str.1 .asciz "(truncated)" .no_dead_strip _get_processes .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _brin_deform_tuple ## -- Begin function brin_deform_tuple .p2align 4, 0x90 _brin_deform_tuple: ## @brin_deform_tuple .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $56, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rsi, %r13 movq %rdi, %rbx testq %rdx, %rdx je LBB0_2 ## %bb.1: movq %rdx, %rdi movq %rbx, %rsi callq _brin_memtuple_initialize jmp LBB0_3 LBB0_2: movq %rbx, %rdi callq _brin_new_memtuple LBB0_3: movq %rax, -48(%rbp) ## 8-byte Spill movq %r13, %rdi callq _BrinTupleIsPlaceholder testq %rax, %rax movq -48(%rbp), %rcx ## 8-byte Reload je LBB0_5 ## %bb.4: movl $1, (%rcx) LBB0_5: movl (%r13), %eax movl %eax, 48(%rcx) movq 40(%rcx), %rax movq %rax, -72(%rbp) ## 8-byte Spill movq 8(%rcx), %r12 movq 16(%rcx), %r14 movq %r13, %rdi callq _BrinTupleDataOffset cltq movq %r13, %rcx subq %rax, %rcx movq %rcx, -56(%rbp) ## 8-byte Spill movq %r13, %rdi callq _BrinTupleHasNulls movq _SizeOfBrinTuple@GOTPCREL(%rip), %rcx movslq (%rcx), %r15 addq %r13, %r15 testq %rax, %rax cmoveq %rax, %r15 movq %r13, %rdi callq _BrinTupleHasNulls movq %r14, -88(%rbp) ## 8-byte Spill movq %r14, (%rsp) movq %rbx, %rdi movq -56(%rbp), %rsi ## 8-byte Reload movq %r15, %rdx movq %rax, %rcx movq -72(%rbp), %r8 ## 8-byte Reload movq %r12, %r9 callq _brin_deconstruct_tuple movq -48(%rbp), %rax ## 8-byte Reload movl 32(%rax), %edi callq _MemoryContextSwitchTo movq -48(%rbp), %rdi ## 8-byte Reload movl %eax, -60(%rbp) ## 4-byte Spill movq 8(%rbx), %rax movl (%rax), %eax testl %eax, %eax js LBB0_16 ## %bb.6: xorl %r14d, %r14d xorl %r8d, %r8d movq %r12, -80(%rbp) ## 8-byte Spill jmp LBB0_7 .p2align 4, 0x90 LBB0_10: ## in Loop: Header=BB0_7 Depth=1 addl %ecx, %r8d LBB0_15: ## in Loop: Header=BB0_7 Depth=1 leaq 1(%r14), %rcx movslq %eax, %rdx cmpq %rdx, %r14 movq %rcx, %r14 jge LBB0_16 LBB0_7: ## =>This Loop Header: Depth=1 ## Child Loop BB0_12 Depth 2 cmpl $0, (%r12,%r14,4) movq (%rbx), %rcx movq (%rcx,%r14,8), %rdx movl (%rdx), %ecx jne LBB0_10 ## %bb.8: ## in Loop: Header=BB0_7 Depth=1 testl %ecx, %ecx jle LBB0_9 ## %bb.11: ## in Loop: Header=BB0_7 Depth=1 movl %r8d, -56(%rbp) ## 4-byte Spill movslq %r8d, %rax movq -72(%rbp), %rcx ## 8-byte Reload leaq (%rcx,%rax,4), %r12 movq %r14, %r15 shlq $4, %r15 xorl %r13d, %r13d .p2align 4, 0x90 LBB0_12: ## Parent Loop BB0_7 Depth=1 ## => This Inner Loop Header: Depth=2 movl (%r12,%r13,4), %edi movq 8(%rdx), %rax movq (%rax,%r13,8), %rax movl (%rax), %edx movl 4(%rax), %esi callq _datumCopy movq -48(%rbp), %rdi ## 8-byte Reload movq 24(%rdi), %rcx movq 8(%rcx,%r15), %rdx movl %eax, (%rdx,%r13,4) incq %r13 movq (%rbx), %rax movq (%rax,%r14,8), %rdx movslq (%rdx), %rax cmpq %rax, %r13 jl LBB0_12 ## %bb.13: ## in Loop: Header=BB0_7 Depth=1 movl -56(%rbp), %r8d ## 4-byte Reload addl %r13d, %r8d movq 8(%rbx), %rax movl (%rax), %eax movq -80(%rbp), %r12 ## 8-byte Reload jmp LBB0_14 LBB0_9: ## in Loop: Header=BB0_7 Depth=1 movq 24(%rdi), %rcx LBB0_14: ## in Loop: Header=BB0_7 Depth=1 movq -88(%rbp), %rdx ## 8-byte Reload movl (%rdx,%r14,4), %edx movq %r14, %rsi shlq $4, %rsi movl %edx, (%rcx,%rsi) movl $0, 4(%rcx,%rsi) jmp LBB0_15 LBB0_16: movq %rdi, %rbx movl -60(%rbp), %edi ## 4-byte Reload callq _MemoryContextSwitchTo movq %rbx, %rax addq $56, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _SizeOfBrinTuple,4,2 ## @SizeOfBrinTuple .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _brin_deform_tuple ; -- Begin function brin_deform_tuple .p2align 2 _brin_deform_tuple: ; @brin_deform_tuple .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, x1 mov x19, x0 cbz x2, LBB0_2 ; %bb.1: mov x0, x2 mov x1, x19 bl _brin_memtuple_initialize b LBB0_3 LBB0_2: mov x0, x19 bl _brin_new_memtuple LBB0_3: mov x20, x0 mov x0, x24 bl _BrinTupleIsPlaceholder cbz x0, LBB0_5 ; %bb.4: mov w8, #1 ; =0x1 str w8, [x20] LBB0_5: ldr w8, [x24] str w8, [x20, #48] ldr x21, [x20, #40] ldp x22, x23, [x20, #8] mov x0, x24 bl _BrinTupleDataOffset sub x25, x24, w0, sxtw mov x0, x24 bl _BrinTupleHasNulls Lloh0: adrp x8, _SizeOfBrinTuple@GOTPAGE Lloh1: ldr x8, [x8, _SizeOfBrinTuple@GOTPAGEOFF] Lloh2: ldrsw x8, [x8] add x8, x24, x8 cmp x0, #0 csel x26, xzr, x8, eq mov x0, x24 bl _BrinTupleHasNulls mov x3, x0 mov x0, x19 mov x1, x25 mov x2, x26 mov x4, x21 mov x5, x22 mov x6, x23 bl _brin_deconstruct_tuple ldr w0, [x20, #32] bl _MemoryContextSwitchTo mov x24, x0 ldr x8, [x19, #8] ldr w8, [x8] tbnz w8, #31, LBB0_16 ; %bb.6: mov x26, #0 ; =0x0 mov w25, #0 ; =0x0 b LBB0_9 LBB0_7: ; in Loop: Header=BB0_9 Depth=1 add w25, w9, w25 LBB0_8: ; in Loop: Header=BB0_9 Depth=1 cmp x26, w8, sxtw add x26, x26, #1 b.ge LBB0_16 LBB0_9: ; =>This Loop Header: Depth=1 ; Child Loop BB0_12 Depth 2 ldr w11, [x22, x26, lsl #2] ldr x9, [x19] ldr x10, [x9, x26, lsl #3] ldr w9, [x10] cbnz w11, LBB0_7 ; %bb.10: ; in Loop: Header=BB0_9 Depth=1 cmp w9, #0 b.le LBB0_14 ; %bb.11: ; in Loop: Header=BB0_9 Depth=1 mov x27, #0 ; =0x0 add x28, x21, w25, sxtw #2 LBB0_12: ; Parent Loop BB0_9 Depth=1 ; => This Inner Loop Header: Depth=2 ldr w0, [x28, x27, lsl #2] ldr x8, [x10, #8] ldr x8, [x8, x27, lsl #3] ldp w2, w1, [x8] bl _datumCopy ldr x9, [x20, #24] add x8, x9, x26, lsl #4 ldr x8, [x8, #8] str w0, [x8, x27, lsl #2] add x27, x27, #1 ldr x8, [x19] ldr x10, [x8, x26, lsl #3] ldrsw x8, [x10] cmp x27, x8 b.lt LBB0_12 ; %bb.13: ; in Loop: Header=BB0_9 Depth=1 add w25, w25, w27 ldr x8, [x19, #8] ldr w8, [x8] b LBB0_15 LBB0_14: ; in Loop: Header=BB0_9 Depth=1 ldr x9, [x20, #24] LBB0_15: ; in Loop: Header=BB0_9 Depth=1 ldr w10, [x23, x26, lsl #2] add x9, x9, x26, lsl #4 stp w10, wzr, [x9] b LBB0_8 LBB0_16: mov x0, x24 bl _MemoryContextSwitchTo 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 AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _SizeOfBrinTuple,4,2 ; @SizeOfBrinTuple .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 execute_code LCPI0_0: .long 0 ## 0x0 .long 44 ## 0x2c .long 28 ## 0x1c .long 28 ## 0x1c .section __TEXT,__text,regular,pure_instructions .globl _execute_code .p2align 4, 0x90 _execute_code: ## @execute_code .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $144, %rsp movl 24(%rbp), %eax movl 16(%rbp), %r10d movq ___stack_chk_guard@GOTPCREL(%rip), %r11 movq (%r11), %r11 movq %r11, -8(%rbp) movl %esi, -132(%rbp) movl %edx, -128(%rbp) movl %ecx, -124(%rbp) movl %r8d, -120(%rbp) movl %r9d, -116(%rbp) movl %r10d, -112(%rbp) movl %eax, -108(%rbp) movl $0, -104(%rbp) movaps LCPI0_0(%rip), %xmm0 ## xmm0 = [0,44,28,28] movups %xmm0, -148(%rbp) leaq -144(%rbp), %rsi callq _mbox_property movl -124(%rbp), %eax movq ___stack_chk_guard@GOTPCREL(%rip), %rcx movq (%rcx), %rcx cmpq -8(%rbp), %rcx jne LBB0_2 ## %bb.1: addq $144, %rsp popq %rbp retq LBB0_2: callq ___stack_chk_fail .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .section __TEXT,__literal16,16byte_literals .p2align 4, 0x0 ; -- Begin function execute_code lCPI0_0: .long 0 ; 0x0 .long 44 ; 0x2c .long 28 ; 0x1c .long 28 ; 0x1c .section __TEXT,__text,regular,pure_instructions .globl _execute_code .p2align 2 _execute_code: ; @execute_code .cfi_startproc ; %bb.0: sub sp, sp, #160 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 Lloh0: adrp x8, ___stack_chk_guard@GOTPAGE Lloh1: ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] Lloh2: ldr x8, [x8] stur x8, [x29, #-8] stp w1, w2, [sp, #20] stp w3, w4, [sp, #28] stp w5, w6, [sp, #36] stp w7, wzr, [sp, #44] Lloh3: adrp x8, lCPI0_0@PAGE Lloh4: ldr q0, [x8, lCPI0_0@PAGEOFF] stur q0, [sp, #4] add x1, sp, #8 bl _mbox_property ldr w0, [sp, #28] ldur x8, [x29, #-8] 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_2 ; %bb.1: ldp x29, x30, [sp, #144] ; 16-byte Folded Reload add sp, sp, #160 ret LBB0_2: bl ___stack_chk_fail .loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7 .loh AdrpLdr Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .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 lm8323_pwm_work _lm8323_pwm_work: ## @lm8323_pwm_work .cfi_startproc ## %bb.0: 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 ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -48(%rbp) callq _work_to_pwm movq %rax, %r14 leaq 20(%rax), %rbx movq %rbx, %rdi callq _mutex_lock cmpq $0, 24(%r14) jne LBB0_5 ## %bb.1: movq (%r14), %rax movq %rax, %rdi subq 8(%r14), %rdi je LBB0_5 ## %bb.2: movq %rax, -72(%rbp) ## 8-byte Spill movq %rbx, -88(%rbp) ## 8-byte Spill setg %al movzbl %al, %eax movl %eax, -64(%rbp) ## 4-byte Spill callq _abs movl %eax, %r12d movq %r14, -80(%rbp) ## 8-byte Spill movl 16(%r14), %esi movl %esi, %eax cltd idivl %r12d xorl %r13d, %r13d xorl %ecx, %ecx cmpl $65, %eax setge %r13b setl %cl leal (%rcx,%rcx,4), %ecx addl $6, %ecx ## kill: def $cl killed $cl killed $ecx shll %cl, %esi imull $1000, %r12d, %ecx ## imm = 0x3E8 movl %esi, %eax cltd idivl %ecx cmpl $63, %eax movl $63, %ecx cmovll %eax, %ecx testl %eax, %eax movl $1, %r14d cmovnel %ecx, %r14d xorl %ebx, %ebx .p2align 4, 0x90 LBB0_3: ## =>This Inner Loop Header: Depth=1 movl $126, %edi movl %r12d, %esi callq _min movl %eax, %r15d movl %r13d, %edi movl %r14d, %esi movl %eax, %edx movl -64(%rbp), %ecx ## 4-byte Reload callq _PWM_RAMP movl %eax, -60(%rbp,%rbx,4) incq %rbx subl %r15d, %r12d jne LBB0_3 ## %bb.4: xorl %esi, %esi cmpq $0, -72(%rbp) ## 8-byte Folded Reload sete %sil leaq -60(%rbp), %rcx movq -80(%rbp), %r14 ## 8-byte Reload movq %r14, %rdi movl %ebx, %edx callq _lm8323_write_pwm movq (%r14), %rax movq %rax, 8(%r14) movq -88(%rbp), %rbx ## 8-byte Reload LBB0_5: movq %rbx, %rdi callq _mutex_unlock movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax cmpq -48(%rbp), %rax jne LBB0_7 ## %bb.6: addq $56, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_7: callq ___stack_chk_fail .cfi_endproc ## -- End function .no_dead_strip _lm8323_pwm_work .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function lm8323_pwm_work _lm8323_pwm_work: ; @lm8323_pwm_work .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 Lloh0: adrp x8, ___stack_chk_guard@GOTPAGE Lloh1: ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] Lloh2: ldr x8, [x8] str x8, [sp, #24] bl _work_to_pwm mov x19, x0 add x0, x0, #20 bl _mutex_lock ldr x8, [x19, #24] cbnz x8, LBB0_5 ; %bb.1: ldp x25, x8, [x19] subs x0, x25, x8 b.eq LBB0_5 ; %bb.2: cset w20, gt bl _abs mov x21, x0 mov x2, #0 ; =0x0 ldr w8, [x19, #16] sdiv w9, w8, w0 mov w10, #11 ; =0xb mov w11, #6 ; =0x6 cmp w9, #64 csel w9, w11, w10, gt cset w22, gt lsl w8, w8, w9 mov w9, #1000 ; =0x3e8 mul w9, w0, w9 sdiv w8, w8, w9 mov w9, #63 ; =0x3f cmp w8, #63 csel w9, w8, w9, lt cmp w8, #0 csinc w23, w9, wzr, ne add x26, sp, #12 LBB0_3: ; =>This Inner Loop Header: Depth=1 mov x27, x2 mov w0, #126 ; =0x7e mov x1, x21 bl _min mov x24, x0 mov x0, x22 mov x1, x23 mov x2, x24 mov x3, x20 bl _PWM_RAMP add x2, x27, #1 str w0, [x26, x27, lsl #2] subs w21, w21, w24 b.ne LBB0_3 ; %bb.4: cmp x25, #0 cset w1, eq add x3, sp, #12 mov x0, x19 ; kill: def $w2 killed $w2 killed $x2 bl _lm8323_write_pwm ldr x8, [x19] str x8, [x19, #8] LBB0_5: add x0, x19, #20 bl _mutex_unlock ldr x8, [sp, #24] Lloh3: adrp x9, ___stack_chk_guard@GOTPAGE Lloh4: ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF] Lloh5: ldr x9, [x9] cmp x9, x8 b.ne LBB0_7 ; %bb.6: ldp x29, x30, [sp, #112] ; 16-byte Folded Reload ldp x20, x19, [sp, #96] ; 16-byte Folded Reload ldp x22, x21, [sp, #80] ; 16-byte Folded Reload ldp x24, x23, [sp, #64] ; 16-byte Folded Reload ldp x26, x25, [sp, #48] ; 16-byte Folded Reload ldp x28, x27, [sp, #32] ; 16-byte Folded Reload add sp, sp, #128 ret LBB0_7: bl ___stack_chk_fail .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .cfi_endproc ; -- End function .no_dead_strip _lm8323_pwm_work .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function __virtscsi_add_cmd ___virtscsi_add_cmd: ## @__virtscsi_add_cmd .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $104, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rcx, -112(%rbp) ## 8-byte Spill movq %rsi, %rbx movq %rdi, -128(%rbp) ## 8-byte Spill movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -48(%rbp) movq 8(%rsi), %r15 movq (%r15), %r13 movq _DMA_FROM_DEVICE@GOTPCREL(%rip), %rax movq (%rax), %r14 movq _DMA_TO_DEVICE@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -104(%rbp) ## 8-byte Spill addq $4, %rsi leaq -136(%rbp), %r12 movq %r12, %rdi callq _sg_init_one movq %r12, -96(%rbp) movl $1, %r12d movq %r13, -120(%rbp) ## 8-byte Spill cmpq %r14, %r13 je LBB0_4 ## %bb.1: movq %r15, %rdi callq _scsi_prot_sg_count testq %rax, %rax je LBB0_3 ## %bb.2: movq %r15, %rdi callq _scsi_prot_sglist movq %rax, -88(%rbp) movl $2, %r12d LBB0_3: movq 8(%r15), %rax movl %r12d, %ecx incl %r12d movq %rax, -96(%rbp,%rcx,8) LBB0_4: leaq -132(%rbp), %r14 movq %r14, %rdi movq %rbx, %rsi movq -112(%rbp), %rdx ## 8-byte Reload callq _sg_init_one movl %r12d, %r13d movq %r14, -96(%rbp,%r13,8) movq -104(%rbp), %rax ## 8-byte Reload cmpq %rax, -120(%rbp) ## 8-byte Folded Reload movl $1, %ecx je LBB0_9 ## %bb.5: movq %r15, %rdi callq _scsi_prot_sg_count testq %rax, %rax je LBB0_6 ## %bb.7: movq %r15, %rdi callq _scsi_prot_sglist movq %rax, -88(%rbp,%r13,8) movl $2, %eax jmp LBB0_8 LBB0_6: movl $1, %eax LBB0_8: movq 8(%r15), %rdx leal 1(%rax), %ecx addl %r12d, %eax movq %rdx, -96(%rbp,%rax,8) LBB0_9: movq _GFP_ATOMIC@GOTPCREL(%rip), %rax movl (%rax), %r9d leaq -96(%rbp), %rsi movq -128(%rbp), %rdi ## 8-byte Reload movl %r12d, %edx movq %rbx, %r8 callq _virtqueue_add_sgs movq ___stack_chk_guard@GOTPCREL(%rip), %rcx movq (%rcx), %rcx cmpq -48(%rbp), %rcx jne LBB0_11 ## %bb.10: addq $104, %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 _DMA_NONE,8,3 ## @DMA_NONE .comm _DMA_FROM_DEVICE,8,3 ## @DMA_FROM_DEVICE .comm _DMA_TO_DEVICE,8,3 ## @DMA_TO_DEVICE .comm _GFP_ATOMIC,4,2 ## @GFP_ATOMIC .no_dead_strip ___virtscsi_add_cmd .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function __virtscsi_add_cmd ___virtscsi_add_cmd: ; @__virtscsi_add_cmd .cfi_startproc ; %bb.0: sub sp, sp, #144 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 mov x23, x3 mov x19, x1 mov x20, x0 Lloh0: adrp x8, ___stack_chk_guard@GOTPAGE Lloh1: ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] Lloh2: ldr x8, [x8] str x8, [sp, #56] ldr x21, [x1, #8] ldr x24, [x21] Lloh3: adrp x8, _DMA_FROM_DEVICE@GOTPAGE Lloh4: ldr x8, [x8, _DMA_FROM_DEVICE@GOTPAGEOFF] Lloh5: ldr x22, [x8] Lloh6: adrp x8, _DMA_TO_DEVICE@GOTPAGE Lloh7: ldr x8, [x8, _DMA_TO_DEVICE@GOTPAGEOFF] Lloh8: ldr x25, [x8] add x26, sp, #4 add x0, sp, #4 add x1, x1, #4 bl _sg_init_one str x26, [sp, #8] cmp x24, x22 b.ne LBB0_2 ; %bb.1: mov w22, #1 ; =0x1 b LBB0_6 LBB0_2: mov x0, x21 bl _scsi_prot_sg_count cbz x0, LBB0_4 ; %bb.3: mov x0, x21 bl _scsi_prot_sglist str x0, [sp, #16] mov w8, #2 ; =0x2 b LBB0_5 LBB0_4: mov w8, #1 ; =0x1 LBB0_5: ldr x9, [x21, #8] add w22, w8, #1 add x10, sp, #8 str x9, [x10, w8, uxtw #3] LBB0_6: mov x26, sp mov x0, sp mov x1, x19 mov x2, x23 bl _sg_init_one add x8, sp, #8 str x26, [x8, w22, uxtw #3] cmp x24, x25 b.ne LBB0_8 ; %bb.7: mov w3, #1 ; =0x1 b LBB0_12 LBB0_8: mov x0, x21 bl _scsi_prot_sg_count cbz x0, LBB0_10 ; %bb.9: mov x0, x21 bl _scsi_prot_sglist add w8, w22, #1 add x9, sp, #8 str x0, [x9, w8, uxtw #3] mov w8, #2 ; =0x2 b LBB0_11 LBB0_10: mov w8, #1 ; =0x1 LBB0_11: ldr x9, [x21, #8] add w3, w8, #1 add w8, w8, w22 add x10, sp, #8 str x9, [x10, w8, uxtw #3] LBB0_12: Lloh9: adrp x8, _GFP_ATOMIC@GOTPAGE Lloh10: ldr x8, [x8, _GFP_ATOMIC@GOTPAGEOFF] Lloh11: ldr w5, [x8] add x1, sp, #8 mov x0, x20 mov x2, x22 mov x4, x19 bl _virtqueue_add_sgs ldr x8, [sp, #56] Lloh12: adrp x9, ___stack_chk_guard@GOTPAGE Lloh13: ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF] Lloh14: ldr x9, [x9] cmp x9, x8 b.ne LBB0_14 ; %bb.13: 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 add sp, sp, #144 ret LBB0_14: bl ___stack_chk_fail .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14 .loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11 .cfi_endproc ; -- End function .comm _DMA_NONE,8,3 ; @DMA_NONE .comm _DMA_FROM_DEVICE,8,3 ; @DMA_FROM_DEVICE .comm _DMA_TO_DEVICE,8,3 ; @DMA_TO_DEVICE .comm _GFP_ATOMIC,4,2 ; @GFP_ATOMIC .no_dead_strip ___virtscsi_add_cmd .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _format_run_request_flags ## -- Begin function format_run_request_flags .p2align 4, 0x90 _format_run_request_flags: ## @format_run_request_flags .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movq %rdi, %r14 leaq _format_run_request_flags.flags(%rip), %rbx movq %rbx, %rdi xorl %esi, %esi movl $8, %edx callq _memset movq 40(%r14), %rcx xorl %eax, %eax testq %rcx, %rcx movl $58, %edx movl $33, %esi cmovnel %edx, %esi setne %dl movb %sil, _format_run_request_flags.flags(%rip) cmpq $0, 32(%r14) je LBB0_1 ## %bb.2: xorl %edx, %edx testq %rcx, %rcx setne %dl leal 1(%rdx), %eax movb $64, (%rdx,%rbx) cmpq $0, 24(%r14) je LBB0_5 LBB0_4: movl %eax, %ecx incl %eax movb $63, (%rcx,%rbx) LBB0_5: cmpq $0, 16(%r14) je LBB0_7 ## %bb.6: movl %eax, %ecx incl %eax movb $60, (%rcx,%rbx) LBB0_7: cmpq $0, 8(%r14) je LBB0_9 ## %bb.8: movl %eax, %ecx incl %eax movb $43, (%rcx,%rbx) LBB0_9: cmpq $0, (%r14) je LBB0_11 ## %bb.10: movl %eax, %ecx incl %eax movb $62, (%rcx,%rbx) jmp LBB0_12 LBB0_1: movb %dl, %al cmpq $0, 24(%r14) jne LBB0_4 jmp LBB0_5 LBB0_11: testl %eax, %eax je LBB0_13 LBB0_12: movl %eax, %eax movb $0, (%rax,%rbx) LBB0_13: leaq _format_run_request_flags.flags(%rip), %rax popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .zerofill __DATA,__bss,_format_run_request_flags.flags,8,0 ## @format_run_request_flags.flags .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _format_run_request_flags ; -- Begin function format_run_request_flags .p2align 2 _format_run_request_flags: ; @format_run_request_flags .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x20, x0 Lloh0: adrp x19, _format_run_request_flags.flags@PAGE Lloh1: add x19, x19, _format_run_request_flags.flags@PAGEOFF mov x0, x19 mov w1, #0 ; =0x0 mov w2, #8 ; =0x8 bl _memset ldp x10, x9, [x20, #32] cmp x9, #0 cset w8, ne mov w11, #33 ; =0x21 mov w12, #58 ; =0x3a csel w11, w12, w11, ne strb w11, [x19] cbz x10, LBB0_2 ; %bb.1: cmp x9, #0 mov w8, #1 ; =0x1 cinc w8, w8, ne cinc x9, x19, ne mov w10, #64 ; =0x40 strb w10, [x9] LBB0_2: ldr x9, [x20, #24] cbz x9, LBB0_4 ; %bb.3: mov w9, #63 ; =0x3f strb w9, [x19, w8, uxtw] add w8, w8, #1 LBB0_4: ldr x9, [x20, #16] cbz x9, LBB0_6 ; %bb.5: mov w9, #60 ; =0x3c strb w9, [x19, w8, uxtw] add w8, w8, #1 LBB0_6: ldr x9, [x20, #8] cbz x9, LBB0_8 ; %bb.7: mov w9, #43 ; =0x2b strb w9, [x19, w8, uxtw] add w8, w8, #1 LBB0_8: ldr x9, [x20] cbz x9, LBB0_10 ; %bb.9: mov w9, #62 ; =0x3e strb w9, [x19, w8, uxtw] add w8, w8, #1 b LBB0_11 LBB0_10: cbz w8, LBB0_12 LBB0_11: strb wzr, [x19, w8, uxtw] LBB0_12: Lloh2: adrp x0, _format_run_request_flags.flags@PAGE Lloh3: add x0, x0, _format_run_request_flags.flags@PAGEOFF ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .loh AdrpAdd Lloh0, Lloh1 .loh AdrpAdd Lloh2, Lloh3 .cfi_endproc ; -- End function .zerofill __DATA,__bss,_format_run_request_flags.flags,8,0 ; @format_run_request_flags.flags .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function csv_dequote _csv_dequote: ## @csv_dequote .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movq %rdi, %rbx movzbl (%rdi), %r14d cmpl $39, %r14d je LBB0_2 ## %bb.1: cmpl $34, %r14d jne LBB0_11 LBB0_2: movq %rbx, %rdi callq _strlen cmpq $3, %rax jb LBB0_11 ## %bb.3: cmpb %r14b, -1(%rbx,%rax) jne LBB0_11 ## %bb.4: decq %rax movl $1, %edx xorl %ecx, %ecx jmp LBB0_5 .p2align 4, 0x90 LBB0_8: ## in Loop: Header=BB0_5 Depth=1 movzbl (%rbx,%rdx), %esi LBB0_9: ## in Loop: Header=BB0_5 Depth=1 movb %sil, (%rbx,%rcx) incq %rcx incq %rdx cmpq %rax, %rdx jae LBB0_10 LBB0_5: ## =>This Inner Loop Header: Depth=1 movzbl (%rbx,%rdx), %esi cmpb %r14b, %sil jne LBB0_9 ## %bb.6: ## in Loop: Header=BB0_5 Depth=1 cmpb %r14b, 1(%rbx,%rdx) jne LBB0_8 ## %bb.7: ## in Loop: Header=BB0_5 Depth=1 incq %rdx jmp LBB0_8 LBB0_10: movl %ecx, %eax movb $0, (%rbx,%rax) LBB0_11: popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _csv_dequote .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function csv_dequote _csv_dequote: ; @csv_dequote .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 ldrb w20, [x0] cmp w20, #39 b.eq LBB0_2 ; %bb.1: cmp w20, #34 b.ne LBB0_9 LBB0_2: mov x0, x19 bl _strlen cmp x0, #3 b.lo LBB0_9 ; %bb.3: sub x8, x0, #1 ldrb w9, [x19, x8] cmp w9, w20 b.ne LBB0_9 ; %bb.4: mov x10, #0 ; =0x0 mov w9, #1 ; =0x1 b LBB0_6 LBB0_5: ; in Loop: Header=BB0_6 Depth=1 add x12, x10, #1 strb w11, [x19, x10] add x9, x9, #1 mov x10, x12 cmp x9, x8 b.hs LBB0_8 LBB0_6: ; =>This Inner Loop Header: Depth=1 ldrb w11, [x19, x9] cmp w11, w20 b.ne LBB0_5 ; %bb.7: ; in Loop: Header=BB0_6 Depth=1 add x11, x9, #1 ldrb w11, [x19, x11] cmp w11, w20 cinc x9, x9, eq ldrb w11, [x19, x9] b LBB0_5 LBB0_8: strb wzr, [x19, w12, uxtw] LBB0_9: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .no_dead_strip _csv_dequote .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function opfnstenv _opfnstenv: ## @opfnstenv .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 testl %edx, (%rcx) je LBB0_3 ## %bb.2: movl $217, (%rsi) movq 8(%rcx), %rax movl (%rax), %eax orl $48, %eax movl %eax, -4(%rsi) xorl %eax, %eax LBB0_3: popq %rbp LBB0_4: retq .cfi_endproc ## -- End function .comm _OT_MEMORY,4,2 ## @OT_MEMORY .no_dead_strip _opfnstenv .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function opfnstenv _opfnstenv: ; @opfnstenv .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] tst w10, w9 b.eq LBB0_3 ; %bb.2: mov w0, #0 ; =0x0 mov w9, #217 ; =0xd9 str w9, [x1] ldr x8, [x8, #8] ldr w8, [x8] orr w8, w8, #0x30 stur w8, [x1, #-4] ret LBB0_3: mov w0, #-1 ; =0xffffffff ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _OT_MEMORY,4,2 ; @OT_MEMORY .no_dead_strip _opfnstenv .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function fill_line _fill_line: ## @fill_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 pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %esi, %ebx movq %rdi, %r12 callq _strlen movl %eax, %r15d leal -1(%rbx), %edi callq _zalloc movq %rax, %r14 testq %rax, %rax je LBB0_6 ## %bb.1: movl %ebx, %eax shrl $31, %eax addl %ebx, %eax sarl %eax movl %r15d, %ecx shrl $31, %ecx addl %r15d, %ecx sarl %ecx movl %ecx, %edx notl %edx addl %eax, %edx testl %edx, %edx jle LBB0_2 ## %bb.3: negl %ecx leal (%rcx,%rax), %r13d addl $-2, %r13d incq %r13 movq %r14, %rdi movl $45, %esi movq %r13, %rdx callq _memset jmp LBB0_4 LBB0_2: xorl %r13d, %r13d LBB0_4: movl %r13d, %eax movb $32, (%r14,%rax) leaq (%r14,%rax), %rdi incq %rdi movq %r12, %rsi callq _strcpy leal (%r15,%r13), %eax incl %eax cltq movb $32, (%r14,%rax) leal (%r15,%r13), %eax addl $2, %eax cmpl %ebx, %eax jge LBB0_6 ## %bb.5: cltq movq %r14, %rdi addq %rax, %rdi addl %r13d, %r15d subl %r15d, %ebx addl $-3, %ebx incq %rbx movl $45, %esi movq %rbx, %rdx callq _memset LBB0_6: movq %r14, %rax addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _fill_line .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function fill_line _fill_line: ; @fill_line .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, x1 mov x22, x0 bl _strlen mov x21, x0 sub w0, w20, #1 bl _zalloc mov x19, x0 cbz x0, LBB0_6 ; %bb.1: add w8, w20, w20, lsr #31 asr w8, w8, #1 add w9, w21, w21, lsr #31 asr w9, w9, #1 mvn w10, w9 add w10, w10, w8 cmp w10, #1 b.lt LBB0_3 ; %bb.2: neg w9, w9 add w8, w9, w8 sub w8, w8, #2 add x23, x8, #1 mov x0, x19 mov w1, #45 ; =0x2d mov x2, x23 bl _memset ; kill: def $w23 killed $w23 killed $x23 def $x23 b LBB0_4 LBB0_3: mov w23, #0 ; =0x0 LBB0_4: sxtw x8, w23 add x24, x8, #1 mov w25, #32 ; =0x20 strb w25, [x19, w23, uxtw] add x0, x19, w24, uxtw mov x1, x22 bl _strcpy add x8, x24, w21, sxtw strb w25, [x19, x8] add x8, x8, #1 cmp w8, w20 b.ge LBB0_6 ; %bb.5: sub w9, w20, w23 sub w9, w9, w21 sub w9, w9, #3 add x0, x19, x8 add x2, x9, #1 mov w1, #45 ; =0x2d bl _memset LBB0_6: mov x0, x19 ldp x29, x30, [sp, #64] ; 16-byte Folded Reload ldp x20, x19, [sp, #48] ; 16-byte Folded Reload ldp x22, x21, [sp, #32] ; 16-byte Folded Reload ldp x24, x23, [sp, #16] ; 16-byte Folded Reload ldp x26, x25, [sp], #80 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .no_dead_strip _fill_line .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function ecore_idle_chk_dump _ecore_idle_chk_dump: ## @ecore_idle_chk_dump .cfi_startproc ## %bb.0: 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, %r14d movq %rdx, %r15 movq %rdi, -80(%rbp) ## 8-byte Spill movq %rsi, -104(%rbp) ## 8-byte Spill movl $1, %r8d callq _ecore_dump_common_global_params movslq %eax, %rbx leaq (%r15,%rbx,4), %rdi leaq L_.str(%rip), %rdx leaq L_.str.1(%rip), %rcx movl %r14d, %esi callq _ecore_dump_str_param addl %eax, %ebx movslq %ebx, %rbx leaq (%r15,%rbx,4), %rdi leaq L_.str.2(%rip), %rdx movl %r14d, %esi movl $1, %ecx callq _ecore_dump_section_hdr addl %eax, %ebx movslq %ebx, %rbx movq %r15, -72(%rbp) ## 8-byte Spill leaq (%r15,%rbx,4), %rdi leaq L_.str.3(%rip), %rdx movq %rdi, -96(%rbp) ## 8-byte Spill movl %r14d, -48(%rbp) ## 4-byte Spill movl %r14d, %esi xorl %ecx, %ecx callq _ecore_dump_num_param addl %eax, %ebx movq %rbx, -56(%rbp) ## 8-byte Spill movq _s_dbg_arrays@GOTPCREL(%rip), %r15 movq (%r15), %rax movq _BIN_BUF_DBG_IDLE_CHK_RULES@GOTPCREL(%rip), %r13 movq (%r13), %rcx shlq $4, %rcx cmpl $0, (%rax,%rcx) jle LBB0_1 ## %bb.2: addq %rcx, %rax xorl %r14d, %r14d movl $0, -44(%rbp) ## 4-byte Folded Spill jmp LBB0_3 .p2align 4, 0x90 LBB0_5: ## in Loop: Header=BB0_3 Depth=1 movq %rbx, -88(%rbp) ## 8-byte Spill movq -56(%rbp), %rbx ## 8-byte Reload movslq %ebx, %rbx movq -72(%rbp), %rax ## 8-byte Reload leaq (%rax,%rbx,4), %rcx movq (%r15), %rax movq (%r13), %rdx shlq $4, %rdx movslq %r14d, %r8 shlq $2, %r8 addq 8(%rax,%rdx), %r8 movq -88(%rbp), %rax ## 8-byte Reload movl (%rax,%r12,4), %eax cltd movq _IDLE_CHK_RULE_SIZE_DWORDS@GOTPCREL(%rip), %rsi idivl (%rsi) leaq -60(%rbp), %rdx movq %rdx, (%rsp) movq -80(%rbp), %rdi ## 8-byte Reload movq -104(%rbp), %rsi ## 8-byte Reload movq %rcx, %rdx movl -48(%rbp), %ecx ## 4-byte Reload movl %eax, %r9d callq _ecore_idle_chk_dump_rule_entries addl %eax, %ebx movq %rbx, -56(%rbp) ## 8-byte Spill movq -88(%rbp), %rbx ## 8-byte Reload movl -44(%rbp), %eax ## 4-byte Reload addl -60(%rbp), %eax movl %eax, -44(%rbp) ## 4-byte Spill LBB0_6: ## in Loop: Header=BB0_3 Depth=1 addl (%rbx,%r12,4), %r14d movq (%r15), %rcx movq (%r13), %rdx shlq $4, %rdx leaq (%rcx,%rdx), %rax cmpl (%rcx,%rdx), %r14d jge LBB0_7 LBB0_3: ## =>This Inner Loop Header: Depth=1 movq 8(%rax), %rbx movslq %r14d, %r12 decl %r14d movl 4(%rbx,%r12,4), %edi movq _DBG_MODE_HDR_EVAL_MODE@GOTPCREL(%rip), %rax movl (%rax), %esi callq _GET_FIELD testq %rax, %rax jle LBB0_5 ## %bb.4: ## in Loop: Header=BB0_3 Depth=1 movl 4(%rbx,%r12,4), %edi movq _DBG_MODE_HDR_MODES_BUF_OFFSET@GOTPCREL(%rip), %rax movl (%rax), %esi callq _GET_FIELD movq %rax, -112(%rbp) movq -80(%rbp), %rdi ## 8-byte Reload leaq -112(%rbp), %rsi callq _ecore_is_mode_match testl %eax, %eax jne LBB0_5 jmp LBB0_6 LBB0_1: movl $0, -44(%rbp) ## 4-byte Folded Spill LBB0_7: movl -48(%rbp), %ebx ## 4-byte Reload testl %ebx, %ebx je LBB0_9 ## %bb.8: leaq L_.str.3(%rip), %rdx movq -96(%rbp), %rdi ## 8-byte Reload movl %ebx, %esi movl -44(%rbp), %ecx ## 4-byte Reload callq _ecore_dump_num_param LBB0_9: movq -72(%rbp), %rdi ## 8-byte Reload movq -56(%rbp), %r14 ## 8-byte Reload movl %r14d, %esi movl %ebx, %edx callq _ecore_dump_last_section addl %r14d, %eax addq $88, %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 "dump-type" L_.str.1: ## @.str.1 .asciz "idle-chk" L_.str.2: ## @.str.2 .asciz "idle_chk" L_.str.3: ## @.str.3 .asciz "num_rules" .comm _s_dbg_arrays,8,3 ## @s_dbg_arrays .comm _BIN_BUF_DBG_IDLE_CHK_RULES,8,3 ## @BIN_BUF_DBG_IDLE_CHK_RULES .comm _DBG_MODE_HDR_EVAL_MODE,4,2 ## @DBG_MODE_HDR_EVAL_MODE .comm _DBG_MODE_HDR_MODES_BUF_OFFSET,4,2 ## @DBG_MODE_HDR_MODES_BUF_OFFSET .comm _IDLE_CHK_RULE_SIZE_DWORDS,4,2 ## @IDLE_CHK_RULE_SIZE_DWORDS .no_dead_strip _ecore_idle_chk_dump .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function ecore_idle_chk_dump _ecore_idle_chk_dump: ; @ecore_idle_chk_dump .cfi_startproc ; %bb.0: sub sp, sp, #128 stp x28, x27, [sp, #32] ; 16-byte Folded Spill stp x26, x25, [sp, #48] ; 16-byte Folded Spill stp x24, x23, [sp, #64] ; 16-byte Folded Spill stp x22, x21, [sp, #80] ; 16-byte Folded Spill stp x20, x19, [sp, #96] ; 16-byte Folded Spill stp x29, x30, [sp, #112] ; 16-byte Folded Spill add x29, sp, #112 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset w27, -88 .cfi_offset w28, -96 mov x19, x3 mov x20, x2 mov x21, x1 mov x22, x0 mov w4, #1 ; =0x1 bl _ecore_dump_common_global_params mov x23, x0 add x0, x20, w0, sxtw #2 Lloh0: adrp x2, l_.str@PAGE Lloh1: add x2, x2, l_.str@PAGEOFF Lloh2: adrp x3, l_.str.1@PAGE Lloh3: add x3, x3, l_.str.1@PAGEOFF mov x1, x19 bl _ecore_dump_str_param add w23, w0, w23 add x0, x20, w23, sxtw #2 Lloh4: adrp x2, l_.str.2@PAGE Lloh5: add x2, x2, l_.str.2@PAGEOFF mov x1, x19 mov w3, #1 ; =0x1 bl _ecore_dump_section_hdr add w23, w23, w0 add x0, x20, w23, sxtw #2 Lloh6: adrp x2, l_.str.3@PAGE Lloh7: add x2, x2, l_.str.3@PAGEOFF str x0, [sp, #8] ; 8-byte Folded Spill mov x1, x19 mov w3, #0 ; =0x0 bl _ecore_dump_num_param add w23, w23, w0 Lloh8: adrp x26, _s_dbg_arrays@GOTPAGE Lloh9: ldr x26, [x26, _s_dbg_arrays@GOTPAGEOFF] ldr x8, [x26] Lloh10: adrp x27, _BIN_BUF_DBG_IDLE_CHK_RULES@GOTPAGE Lloh11: ldr x27, [x27, _BIN_BUF_DBG_IDLE_CHK_RULES@GOTPAGEOFF] ldr x9, [x27] add x8, x8, x9, lsl #4 ldr w9, [x8] cmp w9, #1 b.lt LBB0_6 ; %bb.1: mov w9, #0 ; =0x0 mov w25, #0 ; =0x0 b LBB0_4 LBB0_2: ; in Loop: Header=BB0_4 Depth=1 add x2, x20, w23, sxtw #2 ldr x8, [x26] ldr x9, [x27] add x8, x8, x9, lsl #4 ldr x8, [x8, #8] add x4, x8, x24, lsl #2 ldr w8, [x28] Lloh12: adrp x9, _IDLE_CHK_RULE_SIZE_DWORDS@GOTPAGE Lloh13: ldr x9, [x9, _IDLE_CHK_RULE_SIZE_DWORDS@GOTPAGEOFF] Lloh14: ldr w9, [x9] sdiv w5, w8, w9 add x6, sp, #28 mov x0, x22 mov x1, x21 mov x3, x19 bl _ecore_idle_chk_dump_rule_entries add w23, w0, w23 ldr w8, [sp, #28] add w25, w8, w25 LBB0_3: ; in Loop: Header=BB0_4 Depth=1 ldr w9, [x28] ldr x8, [x26] ldr x10, [x27] add x8, x8, x10, lsl #4 ldr w10, [x8] add w9, w9, w24 cmp w9, w10 b.ge LBB0_7 LBB0_4: ; =>This Inner Loop Header: Depth=1 ldr x8, [x8, #8] sxtw x10, w9 sub x24, x10, #1 add x28, x8, w9, sxtw #2 ldr w0, [x28, #4] Lloh15: adrp x8, _DBG_MODE_HDR_EVAL_MODE@GOTPAGE Lloh16: ldr x8, [x8, _DBG_MODE_HDR_EVAL_MODE@GOTPAGEOFF] Lloh17: ldr w1, [x8] bl _GET_FIELD cmp x0, #1 b.lt LBB0_2 ; %bb.5: ; in Loop: Header=BB0_4 Depth=1 ldr w0, [x28, #4] Lloh18: adrp x8, _DBG_MODE_HDR_MODES_BUF_OFFSET@GOTPAGE Lloh19: ldr x8, [x8, _DBG_MODE_HDR_MODES_BUF_OFFSET@GOTPAGEOFF] Lloh20: ldr w1, [x8] bl _GET_FIELD str x0, [sp, #16] add x1, sp, #16 mov x0, x22 bl _ecore_is_mode_match cbnz w0, LBB0_2 b LBB0_3 LBB0_6: mov w25, #0 ; =0x0 LBB0_7: cbz w19, LBB0_9 ; %bb.8: Lloh21: adrp x2, l_.str.3@PAGE Lloh22: add x2, x2, l_.str.3@PAGEOFF ldr x0, [sp, #8] ; 8-byte Folded Reload mov x1, x19 mov x3, x25 bl _ecore_dump_num_param LBB0_9: mov x0, x20 mov x1, x23 mov x2, x19 bl _ecore_dump_last_section add w0, w0, w23 ldp x29, x30, [sp, #112] ; 16-byte Folded Reload ldp x20, x19, [sp, #96] ; 16-byte Folded Reload ldp x22, x21, [sp, #80] ; 16-byte Folded Reload ldp x24, x23, [sp, #64] ; 16-byte Folded Reload ldp x26, x25, [sp, #48] ; 16-byte Folded Reload ldp x28, x27, [sp, #32] ; 16-byte Folded Reload add sp, sp, #128 ret .loh AdrpLdrGot Lloh10, Lloh11 .loh AdrpLdrGot Lloh8, Lloh9 .loh AdrpAdd Lloh6, Lloh7 .loh AdrpAdd Lloh4, Lloh5 .loh AdrpAdd Lloh2, Lloh3 .loh AdrpAdd Lloh0, Lloh1 .loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14 .loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17 .loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh20 .loh AdrpAdd Lloh21, Lloh22 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "dump-type" l_.str.1: ; @.str.1 .asciz "idle-chk" l_.str.2: ; @.str.2 .asciz "idle_chk" l_.str.3: ; @.str.3 .asciz "num_rules" .comm _s_dbg_arrays,8,3 ; @s_dbg_arrays .comm _BIN_BUF_DBG_IDLE_CHK_RULES,8,3 ; @BIN_BUF_DBG_IDLE_CHK_RULES .comm _DBG_MODE_HDR_EVAL_MODE,4,2 ; @DBG_MODE_HDR_EVAL_MODE .comm _DBG_MODE_HDR_MODES_BUF_OFFSET,4,2 ; @DBG_MODE_HDR_MODES_BUF_OFFSET .comm _IDLE_CHK_RULE_SIZE_DWORDS,4,2 ; @IDLE_CHK_RULE_SIZE_DWORDS .no_dead_strip _ecore_idle_chk_dump .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function get_fileinfo _get_fileinfo: ## @get_fileinfo .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 cmpq $0, 24(%rdi) je LBB0_10 ## %bb.1: movq (%rdi), %rcx xorl %edx, %edx movq _RDDEM@GOTPCREL(%rip), %rsi movq _DDEM@GOTPCREL(%rip), %rdi jmp LBB0_2 .p2align 4, 0x90 LBB0_9: ## in Loop: Header=BB0_2 Depth=1 movb %r8b, (%rax) incq %rax LBB0_2: ## =>This Loop Header: Depth=1 ## Child Loop BB0_3 Depth 2 movslq %edx, %rdx .p2align 4, 0x90 LBB0_3: ## Parent Loop BB0_2 Depth=1 ## => This Inner Loop Header: Depth=2 movzbl (%rcx,%rdx), %r8d decq %rdx cmpb $32, %r8b je LBB0_3 ## %bb.4: ## in Loop: Header=BB0_2 Depth=1 cmpb (%rsi), %r8b jne LBB0_5 ## %bb.6: ## in Loop: Header=BB0_2 Depth=1 movl (%rdi), %r8d cmpq $9, %rdx jne LBB0_9 jmp LBB0_8 .p2align 4, 0x90 LBB0_5: ## in Loop: Header=BB0_2 Depth=1 movzbl %r8b, %r8d cmpq $9, %rdx jne LBB0_9 LBB0_8: ## in Loop: Header=BB0_2 Depth=1 movb $46, (%rax) incq %rax jmp LBB0_9 LBB0_10: movb $0, (%rax) popq %rbp retq .cfi_endproc ## -- End function .comm _RDDEM,1,0 ## @RDDEM .comm _DDEM,8,3 ## @DDEM .comm _DIR_Attr,8,3 ## @DIR_Attr .comm _DIR_FileSize,4,2 ## @DIR_FileSize .comm _DIR_WrtDate,4,2 ## @DIR_WrtDate .comm _DIR_WrtTime,4,2 ## @DIR_WrtTime .comm _DIR_NTres,8,3 ## @DIR_NTres .comm _NS_BODY,1,0 ## @NS_BODY .comm _NS_EXT,1,0 ## @NS_EXT .comm __DF1S,8,3 ## @_DF1S .no_dead_strip _get_fileinfo .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function get_fileinfo _get_fileinfo: ; @get_fileinfo .cfi_startproc ; %bb.0: ldr x8, [x1] ldr x9, [x0, #24] cbz x9, LBB0_7 ; %bb.1: mov x10, #0 ; =0x0 ldr x9, [x0] Lloh0: adrp x11, _RDDEM@GOTPAGE Lloh1: ldr x11, [x11, _RDDEM@GOTPAGEOFF] mov w12, #46 ; =0x2e Lloh2: adrp x13, _DDEM@GOTPAGE Lloh3: ldr x13, [x13, _DDEM@GOTPAGEOFF] b LBB0_3 LBB0_2: ; in Loop: Header=BB0_3 Depth=1 strb w14, [x8], #1 LBB0_3: ; =>This Loop Header: Depth=1 ; Child Loop BB0_4 Depth 2 sxtw x10, w10 LBB0_4: ; Parent Loop BB0_3 Depth=1 ; => This Inner Loop Header: Depth=2 ldrb w14, [x9, x10] sub x10, x10, #1 cmp w14, #32 b.eq LBB0_4 ; %bb.5: ; in Loop: Header=BB0_3 Depth=1 ldrb w15, [x11] ldrb w16, [x13] cmp w14, w15 csel w14, w16, w14, eq cmp x10, #9 b.ne LBB0_2 ; %bb.6: ; in Loop: Header=BB0_3 Depth=1 strb w12, [x8], #1 b LBB0_2 LBB0_7: strb wzr, [x8] ret .loh AdrpLdrGot Lloh2, Lloh3 .loh AdrpLdrGot Lloh0, Lloh1 .cfi_endproc ; -- End function .comm _RDDEM,1,0 ; @RDDEM .comm _DDEM,8,3 ; @DDEM .comm _DIR_Attr,8,3 ; @DIR_Attr .comm _DIR_FileSize,4,2 ; @DIR_FileSize .comm _DIR_WrtDate,4,2 ; @DIR_WrtDate .comm _DIR_WrtTime,4,2 ; @DIR_WrtTime .comm _DIR_NTres,8,3 ; @DIR_NTres .comm _NS_BODY,1,0 ; @NS_BODY .comm _NS_EXT,1,0 ; @NS_EXT .comm __DF1S,8,3 ; @_DF1S .no_dead_strip _get_fileinfo .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _cifs_from_utf16 ## -- Begin function cifs_from_utf16 .p2align 4, 0x90 _cifs_from_utf16: ## @cifs_from_utf16 .cfi_startproc ## %bb.0: 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 %r9d, -88(%rbp) ## 4-byte Spill movl %ecx, %r12d movl %edx, %r14d movq %rsi, -96(%rbp) ## 8-byte Spill movq %rdi, -112(%rbp) ## 8-byte Spill movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -48(%rbp) movq %r8, -120(%rbp) ## 8-byte Spill movq %r8, %rdi callq _nls_nullsize movl %eax, -84(%rbp) ## 4-byte Spill movq _NLS_MAX_CHARSET_SIZE@GOTPCREL(%rip), %rax movl (%rax), %ebx movq %rbx, %rax callq ____chkstk_darwin addq $15, %rax andq $-16, %rax subq %rax, %rsp movq %rsp, -128(%rbp) ## 8-byte Spill xorl %r13d, %r13d cmpl $-1, %r12d jge LBB0_1 LBB0_12: movl -84(%rbp), %ebx ## 4-byte Reload testl %ebx, %ebx jle LBB0_14 ## %bb.13: movslq %r13d, %r13 movq -112(%rbp), %rdi ## 8-byte Reload addq %r13, %rdi movl %ebx, %esi callq ___bzero addl %ebx, %r13d LBB0_14: movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax cmpq -48(%rbp), %rax jne LBB0_16 ## %bb.15: movl %r13d, %eax leaq -40(%rbp), %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_1: movl %r12d, %r15d shrl $31, %r15d addl %r12d, %r15d sarl %r15d movl -84(%rbp), %eax ## 4-byte Reload addl %eax, %ebx movl %r14d, %ecx subl %ebx, %ecx movl %ecx, -104(%rbp) ## 4-byte Spill subl %eax, %r14d movl %r14d, -100(%rbp) ## 4-byte Spill xorl %ebx, %ebx xorl %r13d, %r13d jmp LBB0_2 .p2align 4, 0x90 LBB0_11: ## in Loop: Header=BB0_2 Depth=1 movslq %r13d, %rdi addq -112(%rbp), %rdi ## 8-byte Folded Reload leaq -80(%rbp), %rsi movq -120(%rbp), %rdx ## 8-byte Reload movl -88(%rbp), %ecx ## 4-byte Reload callq _cifs_mapchar addl %eax, %r13d cmpl $5, %eax cmovgel %r14d, %ebx cmpl $4, %eax cmovel %r12d, %ebx decl %ebx cmpl %r15d, %ebx jg LBB0_12 LBB0_2: ## =>This Inner Loop Header: Depth=1 movslq %ebx, %rax movq -96(%rbp), %rcx ## 8-byte Reload leaq (%rcx,%rax,4), %rdi callq _get_unaligned_le16 movq %rax, -80(%rbp) testq %rax, %rax je LBB0_12 ## %bb.3: ## in Loop: Header=BB0_2 Depth=1 leal 1(%rbx), %r12d cmpl %r15d, %r12d jge LBB0_4 ## %bb.5: ## in Loop: Header=BB0_2 Depth=1 movslq %r12d, %rax movq -96(%rbp), %rcx ## 8-byte Reload leaq (%rcx,%rax,4), %rdi callq _get_unaligned_le16 jmp LBB0_6 .p2align 4, 0x90 LBB0_4: ## in Loop: Header=BB0_2 Depth=1 xorl %eax, %eax LBB0_6: ## in Loop: Header=BB0_2 Depth=1 movq %rax, -72(%rbp) leal 2(%rbx), %r14d cmpl %r15d, %r14d jge LBB0_7 ## %bb.8: ## in Loop: Header=BB0_2 Depth=1 movslq %r14d, %rax movq -96(%rbp), %rcx ## 8-byte Reload leaq (%rcx,%rax,4), %rdi callq _get_unaligned_le16 jmp LBB0_9 .p2align 4, 0x90 LBB0_7: ## in Loop: Header=BB0_2 Depth=1 xorl %eax, %eax LBB0_9: ## in Loop: Header=BB0_2 Depth=1 movq %rax, -64(%rbp) cmpl -104(%rbp), %r13d ## 4-byte Folded Reload jl LBB0_11 ## %bb.10: ## in Loop: Header=BB0_2 Depth=1 movq -128(%rbp), %rdi ## 8-byte Reload leaq -80(%rbp), %rsi movq -120(%rbp), %rdx ## 8-byte Reload movl -88(%rbp), %ecx ## 4-byte Reload callq _cifs_mapchar addl %r13d, %eax cmpl -100(%rbp), %eax ## 4-byte Folded Reload jle LBB0_11 jmp LBB0_12 LBB0_16: callq ___stack_chk_fail .cfi_endproc ## -- End function .comm _NLS_MAX_CHARSET_SIZE,4,2 ## @NLS_MAX_CHARSET_SIZE .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _cifs_from_utf16 ; -- Begin function cifs_from_utf16 .p2align 2 _cifs_from_utf16: ; @cifs_from_utf16 .cfi_startproc ; %bb.0: stp x28, x27, [sp, #-96]! ; 16-byte Folded Spill stp x26, x25, [sp, #16] ; 16-byte Folded Spill stp x24, x23, [sp, #32] ; 16-byte Folded Spill stp x22, x21, [sp, #48] ; 16-byte Folded Spill stp x20, x19, [sp, #64] ; 16-byte Folded Spill stp x29, x30, [sp, #80] ; 16-byte Folded Spill add x29, sp, #80 sub sp, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset w27, -88 .cfi_offset w28, -96 mov x22, x5 mov x23, x4 mov x27, x3 mov x26, x2 mov x24, x1 mov x20, x0 Lloh0: adrp x8, ___stack_chk_guard@GOTPAGE Lloh1: ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] Lloh2: ldr x8, [x8] stur x8, [x29, #-88] mov x0, x4 bl _nls_nullsize Lloh3: adrp x8, _NLS_MAX_CHARSET_SIZE@GOTPAGE Lloh4: ldr x8, [x8, _NLS_MAX_CHARSET_SIZE@GOTPAGEOFF] Lloh5: ldr w8, [x8] mov x9, x8 Lloh6: adrp x16, ___chkstk_darwin@GOTPAGE Lloh7: ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF] blr x16 mov x9, sp add x10, x8, #15 and x10, x10, #0x1fffffff0 sub x9, x9, x10 stur x9, [x29, #-120] ; 8-byte Folded Spill mov sp, x9 cmn w27, #1 stur w0, [x29, #-128] ; 4-byte Folded Spill b.ge LBB0_6 ; %bb.1: mov w21, #0 ; =0x0 LBB0_2: ldur w19, [x29, #-128] ; 4-byte Folded Reload cmp w19, #1 b.lt LBB0_4 ; %bb.3: add x0, x20, w21, sxtw mov w1, w19 bl _bzero add w21, w21, w19 LBB0_4: 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_17 ; %bb.5: mov x0, x21 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_6: mov w19, #0 ; =0x0 mov w21, #0 ; =0x0 add w9, w27, w27, lsr #31 asr w27, w9, #1 sub w9, w26, w0 sub w28, w9, w8 sub w8, w26, w0 stur w8, [x29, #-124] ; 4-byte Folded Spill b LBB0_8 LBB0_7: ; in Loop: Header=BB0_8 Depth=1 add x0, x20, w21, sxtw sub x1, x29, #112 mov x2, x23 mov x3, x22 bl _cifs_mapchar add w21, w0, w21 cmp w0, #4 csel w8, w25, w19, gt csel w8, w26, w8, eq sub w19, w8, #1 cmp w19, w27 b.gt LBB0_2 LBB0_8: ; =>This Inner Loop Header: Depth=1 add x0, x24, w19, sxtw #2 bl _get_unaligned_le16 stur x0, [x29, #-112] cbz x0, LBB0_2 ; %bb.9: ; in Loop: Header=BB0_8 Depth=1 sxtw x19, w19 add x26, x19, #1 cmp w26, w27 b.ge LBB0_11 ; %bb.10: ; in Loop: Header=BB0_8 Depth=1 add x0, x24, x26, lsl #2 bl _get_unaligned_le16 b LBB0_12 LBB0_11: ; in Loop: Header=BB0_8 Depth=1 mov x0, #0 ; =0x0 LBB0_12: ; in Loop: Header=BB0_8 Depth=1 stur x0, [x29, #-104] add x25, x19, #2 cmp w25, w27 b.ge LBB0_14 ; %bb.13: ; in Loop: Header=BB0_8 Depth=1 add x0, x24, x25, lsl #2 bl _get_unaligned_le16 b LBB0_15 LBB0_14: ; in Loop: Header=BB0_8 Depth=1 mov x0, #0 ; =0x0 LBB0_15: ; in Loop: Header=BB0_8 Depth=1 stur x0, [x29, #-96] cmp w21, w28 b.lt LBB0_7 ; %bb.16: ; in Loop: Header=BB0_8 Depth=1 sub x1, x29, #112 ldur x0, [x29, #-120] ; 8-byte Folded Reload mov x2, x23 mov x3, x22 bl _cifs_mapchar add w8, w0, w21 ldur w9, [x29, #-124] ; 4-byte Folded Reload cmp w8, w9 b.le LBB0_7 b LBB0_2 LBB0_17: 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 _NLS_MAX_CHARSET_SIZE,4,2 ; @NLS_MAX_CHARSET_SIZE .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function sti_compositor_bind _sti_compositor_bind: ## @sti_compositor_bind .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $40, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdx, %rbx callq _dev_get_drvdata movq %rax, %r14 movq %rbx, -48(%rbp) ## 8-byte Spill movq 8(%rbx), %rax movq 40(%r14), %rbx movl 32(%r14), %r15d movq %r14, (%rax) movq %r14, %rax addq $24, %rax movq %rax, -64(%rbp) ## 8-byte Spill xorl %r13d, %r13d movq $0, -56(%rbp) ## 8-byte Folded Spill xorl %r12d, %r12d jmp LBB0_1 .p2align 4, 0x90 LBB0_12: ## in Loop: Header=BB0_1 Depth=1 movl 16(%r14), %edi movl 16(%rax), %edx movq 8(%rax), %rcx addq 8(%r14), %rcx movq -48(%rbp), %rsi ## 8-byte Reload callq _sti_mixer_create movq -56(%rbp), %rdx ## 8-byte Reload movl %edx, %ecx leal 1(%rdx), %esi movq %r14, %rdx ## kill: def $esi killed $esi def $rsi movq %rsi, -56(%rbp) ## 8-byte Spill LBB0_13: ## in Loop: Header=BB0_1 Depth=1 movq (%rdx), %rdx movl %ecx, %ecx movl %eax, (%rdx,%rcx,4) LBB0_14: ## in Loop: Header=BB0_1 Depth=1 incl %r13d cmpl %r15d, %r13d ja LBB0_5 LBB0_1: ## =>This Inner Loop Header: Depth=1 movl %r13d, %eax leaq (%rax,%rax,2), %rcx leaq (%rbx,%rcx,8), %rax movl (%rbx,%rcx,8), %ecx leal -129(%rcx), %edx cmpl $2, %edx jb LBB0_12 ## %bb.2: ## in Loop: Header=BB0_1 Depth=1 leal -131(%rcx), %edx cmpl $2, %edx jb LBB0_14 ## %bb.3: ## in Loop: Header=BB0_1 Depth=1 cmpl $128, %ecx jne LBB0_25 ## %bb.4: ## in Loop: Header=BB0_1 Depth=1 movl 16(%r14), %edi movl 16(%rax), %edx movq 8(%r14), %rcx subq 8(%rax), %rcx movq -48(%rbp), %rsi ## 8-byte Reload callq _sti_vid_create movl %r12d, %ecx leal 1(%r12), %esi movq -64(%rbp), %rdx ## 8-byte Reload movl %esi, %r12d jmp LBB0_13 LBB0_5: movl $0, %r12d testq %r15, %r15 je LBB0_23 ## %bb.6: movl $-1, %eax movq -56(%rbp), %rcx ## 8-byte Reload ## kill: def $cl killed $cl killed $rcx shll %cl, %eax notl %eax movl %eax, -68(%rbp) ## 4-byte Spill shlq $3, %r15 leaq (%r15,%r15,2), %rax movq %rax, -64(%rbp) ## 8-byte Spill xorl %r15d, %r15d xorl %r13d, %r13d xorl %r12d, %r12d jmp LBB0_7 LBB0_17: ## in Loop: Header=BB0_7 Depth=1 movl (%rax), %r9d movl 16(%r14), %esi movl 16(%rbx,%r15), %edx movq 8(%rbx,%r15), %rcx addq 8(%r14), %rcx movq -48(%rbp), %rdi ## 8-byte Reload movl -68(%rbp), %r8d ## 4-byte Reload callq _sti_gdp_create movq %rax, %rdx leaq L_.str.2(%rip), %rdi testq %rax, %rax je LBB0_18 LBB0_21: ## in Loop: Header=BB0_7 Depth=1 movq (%r14), %rax movl %r12d, %ecx movl (%rax,%rcx,4), %esi movq -48(%rbp), %rdi ## 8-byte Reload movq %r13, %rcx callq _sti_crtc_init incl %r12d xorl %r13d, %r13d LBB0_22: ## in Loop: Header=BB0_7 Depth=1 addq $24, %r15 cmpq %r15, -64(%rbp) ## 8-byte Folded Reload je LBB0_23 LBB0_7: ## =>This Inner Loop Header: Depth=1 movl (%rbx,%r15), %eax leal -128(%rax), %ecx cmpl $3, %ecx jae LBB0_8 LBB0_19: ## in Loop: Header=BB0_7 Depth=1 cmpl -56(%rbp), %r12d ## 4-byte Folded Reload jae LBB0_22 ## %bb.20: ## in Loop: Header=BB0_7 Depth=1 xorl %edx, %edx jmp LBB0_21 .p2align 4, 0x90 LBB0_8: ## in Loop: Header=BB0_7 Depth=1 cmpl $131, %eax je LBB0_15 ## %bb.9: ## in Loop: Header=BB0_7 Depth=1 cmpl $132, %eax jne LBB0_25 ## %bb.10: ## in Loop: Header=BB0_7 Depth=1 movl 16(%r14), %esi movl 16(%rbx,%r15), %edx movq 8(%rbx,%r15), %rcx addq 8(%r14), %rcx movq -48(%rbp), %rdi ## 8-byte Reload movl $1, %r8d callq _sti_cursor_create movq %rax, %r13 testq %rax, %rax jne LBB0_19 ## %bb.11: ## in Loop: Header=BB0_7 Depth=1 leaq L_.str.1(%rip), %rdi xorl %r13d, %r13d LBB0_18: ## in Loop: Header=BB0_7 Depth=1 callq _DRM_ERROR jmp LBB0_19 LBB0_15: ## in Loop: Header=BB0_7 Depth=1 movq _DRM_PLANE_TYPE_OVERLAY@GOTPCREL(%rip), %rax cmpl -56(%rbp), %r12d ## 4-byte Folded Reload jae LBB0_17 ## %bb.16: ## in Loop: Header=BB0_7 Depth=1 movq _DRM_PLANE_TYPE_PRIMARY@GOTPCREL(%rip), %rax jmp LBB0_17 LBB0_23: movq -48(%rbp), %rbx ## 8-byte Reload movq %rbx, %rdi movl %r12d, %esi callq _drm_vblank_init movl $1, (%rbx) xorl %eax, %eax jmp LBB0_24 LBB0_25: leaq L_.str(%rip), %rdi callq _DRM_ERROR movl $1, %eax LBB0_24: 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 "Unknown subdev component type\n" .comm _DRM_PLANE_TYPE_OVERLAY,4,2 ## @DRM_PLANE_TYPE_OVERLAY .comm _DRM_PLANE_TYPE_PRIMARY,4,2 ## @DRM_PLANE_TYPE_PRIMARY L_.str.1: ## @.str.1 .asciz "Can't create CURSOR plane\n" L_.str.2: ## @.str.2 .asciz "Can't create GDP plane\n" .no_dead_strip _sti_compositor_bind .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function sti_compositor_bind _sti_compositor_bind: ; @sti_compositor_bind .cfi_startproc ; %bb.0: stp x28, x27, [sp, #-96]! ; 16-byte Folded Spill stp x26, x25, [sp, #16] ; 16-byte Folded Spill stp x24, x23, [sp, #32] ; 16-byte Folded Spill stp x22, x21, [sp, #48] ; 16-byte Folded Spill stp x20, x19, [sp, #64] ; 16-byte Folded Spill stp x29, x30, [sp, #80] ; 16-byte Folded Spill add x29, sp, #80 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset w27, -88 .cfi_offset w28, -96 mov x19, x2 bl _dev_get_drvdata mov x20, x0 mov w21, #0 ; =0x0 mov w23, #0 ; =0x0 mov w22, #0 ; =0x0 ldr x8, [x19, #8] ldr x26, [x0, #40] ldr w24, [x0, #32] str x0, [x8] add x25, x0, #24 mov w27, #24 ; =0x18 b LBB0_4 LBB0_1: ; in Loop: Header=BB0_4 Depth=1 ldr w0, [x20, #16] ldr w2, [x8, #16] ldr x9, [x20, #8] ldr x8, [x8, #8] add x3, x8, x9 mov x1, x19 bl _sti_mixer_create mov x8, x23 add w23, w23, #1 mov x9, x20 LBB0_2: ; in Loop: Header=BB0_4 Depth=1 ldr x9, [x9] str w0, [x9, w8, uxtw #2] LBB0_3: ; in Loop: Header=BB0_4 Depth=1 add w21, w21, #1 cmp w21, w24 b.hi LBB0_8 LBB0_4: ; =>This Inner Loop Header: Depth=1 umaddl x8, w21, w27, x26 ldr w9, [x8] sub w10, w9, #129 cmp w10, #2 b.lo LBB0_1 ; %bb.5: ; in Loop: Header=BB0_4 Depth=1 sub w10, w9, #131 cmp w10, #2 b.lo LBB0_3 ; %bb.6: ; in Loop: Header=BB0_4 Depth=1 cmp w9, #128 b.ne LBB0_25 ; %bb.7: ; in Loop: Header=BB0_4 Depth=1 ldr w0, [x20, #16] ldr w2, [x8, #16] ldr x9, [x20, #8] ldr x8, [x8, #8] sub x3, x9, x8 mov x1, x19 bl _sti_vid_create mov x8, x22 add w22, w22, #1 mov x9, x25 b LBB0_2 LBB0_8: cbz w24, LBB0_23 ; %bb.9: mov x22, #0 ; =0x0 mov w21, #0 ; =0x0 mov w8, #-1 ; =0xffffffff lsl w25, w8, w23 add x26, x26, #16 Lloh0: adrp x27, _DRM_PLANE_TYPE_PRIMARY@GOTPAGE Lloh1: ldr x27, [x27, _DRM_PLANE_TYPE_PRIMARY@GOTPAGEOFF] Lloh2: adrp x28, _DRM_PLANE_TYPE_OVERLAY@GOTPAGE Lloh3: ldr x28, [x28, _DRM_PLANE_TYPE_OVERLAY@GOTPAGEOFF] b LBB0_14 LBB0_10: ; in Loop: Header=BB0_14 Depth=1 cmp w21, w23 csel x8, x27, x28, lo ldr w5, [x8] ldr w1, [x20, #16] ldr w2, [x26] ldr x8, [x20, #8] ldur x9, [x26, #-8] add x3, x9, x8 mvn w4, w25 mov x0, x19 bl _sti_gdp_create cbz x0, LBB0_21 ; %bb.11: ; in Loop: Header=BB0_14 Depth=1 mov x2, x0 LBB0_12: ; in Loop: Header=BB0_14 Depth=1 ldr x8, [x20] ldr w1, [x8, w21, uxtw #2] mov x0, x19 mov x3, x22 bl _sti_crtc_init mov x22, #0 ; =0x0 add w21, w21, #1 LBB0_13: ; in Loop: Header=BB0_14 Depth=1 add x26, x26, #24 subs x24, x24, #1 b.eq LBB0_24 LBB0_14: ; =>This Inner Loop Header: Depth=1 ldur w8, [x26, #-16] sub w9, w8, #128 cmp w9, #3 b.hs LBB0_17 LBB0_15: ; in Loop: Header=BB0_14 Depth=1 cmp w21, w23 b.hs LBB0_13 ; %bb.16: ; in Loop: Header=BB0_14 Depth=1 mov x2, #0 ; =0x0 b LBB0_12 LBB0_17: ; in Loop: Header=BB0_14 Depth=1 cmp w8, #131 b.eq LBB0_10 ; %bb.18: ; in Loop: Header=BB0_14 Depth=1 cmp w8, #132 b.ne LBB0_25 ; %bb.19: ; in Loop: Header=BB0_14 Depth=1 ldr w1, [x20, #16] ldr w2, [x26] ldr x8, [x20, #8] ldur x9, [x26, #-8] add x3, x9, x8 mov x0, x19 mov w4, #1 ; =0x1 bl _sti_cursor_create mov x22, x0 cbnz x0, LBB0_15 ; %bb.20: ; in Loop: Header=BB0_14 Depth=1 Lloh4: adrp x0, l_.str.1@PAGE Lloh5: add x0, x0, l_.str.1@PAGEOFF b LBB0_22 LBB0_21: ; in Loop: Header=BB0_14 Depth=1 Lloh6: adrp x0, l_.str.2@PAGE Lloh7: add x0, x0, l_.str.2@PAGEOFF LBB0_22: ; in Loop: Header=BB0_14 Depth=1 bl _DRM_ERROR b LBB0_15 LBB0_23: mov w21, #0 ; =0x0 LBB0_24: mov x0, x19 mov x1, x21 bl _drm_vblank_init mov w0, #0 ; =0x0 mov w8, #1 ; =0x1 str w8, [x19] b LBB0_26 LBB0_25: Lloh8: adrp x0, l_.str@PAGE Lloh9: add x0, x0, l_.str@PAGEOFF bl _DRM_ERROR mov w0, #1 ; =0x1 LBB0_26: ldp x29, x30, [sp, #80] ; 16-byte Folded Reload ldp x20, x19, [sp, #64] ; 16-byte Folded Reload ldp x22, x21, [sp, #48] ; 16-byte Folded Reload ldp x24, x23, [sp, #32] ; 16-byte Folded Reload ldp x26, x25, [sp, #16] ; 16-byte Folded Reload ldp x28, x27, [sp], #96 ; 16-byte Folded Reload ret .loh AdrpLdrGot Lloh2, Lloh3 .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpAdd Lloh4, Lloh5 .loh AdrpAdd Lloh6, Lloh7 .loh AdrpAdd Lloh8, Lloh9 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "Unknown subdev component type\n" .comm _DRM_PLANE_TYPE_OVERLAY,4,2 ; @DRM_PLANE_TYPE_OVERLAY .comm _DRM_PLANE_TYPE_PRIMARY,4,2 ; @DRM_PLANE_TYPE_PRIMARY l_.str.1: ; @.str.1 .asciz "Can't create CURSOR plane\n" l_.str.2: ; @.str.2 .asciz "Can't create GDP plane\n" .no_dead_strip _sti_compositor_bind .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function get_value _get_value: ## @get_value .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $24, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %ecx, %r15d movq %rdx, %r14 movq %rsi, -48(%rbp) ## 8-byte Spill movq %rdi, -56(%rbp) ## 8-byte Spill movq _config_file_eof@GOTPCREL(%rip), %r12 movq _MAXNAME@GOTPCREL(%rip), %r13 .p2align 4, 0x90 LBB0_1: ## =>This Inner Loop Header: Depth=1 xorl %eax, %eax callq _get_next_char cmpq $0, (%r12) jne LBB0_1 ## %bb.2: ## in Loop: Header=BB0_1 Depth=1 movl %eax, %ebx movl %eax, %edi callq _iskeychar testl %eax, %eax je LBB0_4 ## %bb.3: ## in Loop: Header=BB0_1 Depth=1 movl %r15d, %eax incl %r15d movb %bl, (%r14,%rax) cmpl (%r13), %r15d jb LBB0_1 jmp LBB0_9 LBB0_4: movl %r15d, %eax movb $0, (%r14,%rax) cmpl $10, %ebx je LBB0_5 ## %bb.7: cmpl $61, %ebx jne LBB0_9 ## %bb.8: xorl %eax, %eax callq _parse_value movq %rax, %rsi testq %rax, %rax jne LBB0_6 LBB0_9: movl $-1, %eax addq $24, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_5: xorl %esi, %esi LBB0_6: movq %r14, %rdi movq -48(%rbp), %rdx ## 8-byte Reload movq -56(%rbp), %rax ## 8-byte Reload addq $24, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp jmpq *%rax ## TAILCALL .cfi_endproc ## -- End function .comm _config_file_eof,8,3 ## @config_file_eof .comm _MAXNAME,4,2 ## @MAXNAME .no_dead_strip _get_value .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function get_value _get_value: ; @get_value .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, x3 mov x20, x2 mov x19, x1 str x0, [sp, #8] ; 8-byte Folded Spill Lloh0: adrp x22, _config_file_eof@GOTPAGE Lloh1: ldr x22, [x22, _config_file_eof@GOTPAGEOFF] Lloh2: adrp x23, _MAXNAME@GOTPAGE Lloh3: ldr x23, [x23, _MAXNAME@GOTPAGEOFF] LBB0_1: ; =>This Inner Loop Header: Depth=1 bl _get_next_char ldr x8, [x22] cbnz x8, LBB0_1 ; %bb.2: ; in Loop: Header=BB0_1 Depth=1 mov x24, x0 bl _iskeychar cbz w0, LBB0_4 ; %bb.3: ; in Loop: Header=BB0_1 Depth=1 strb w24, [x20, w21, uxtw] add w8, w21, #1 ldr w9, [x23] mov x21, x8 cmp w8, w9 b.lo LBB0_1 b LBB0_7 LBB0_4: strb wzr, [x20, w21, uxtw] cmp w24, #10 b.eq LBB0_8 ; %bb.5: cmp w24, #61 b.ne LBB0_7 ; %bb.6: bl _parse_value mov x1, x0 cbnz x0, LBB0_9 LBB0_7: mov w0, #-1 ; =0xffffffff 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_8: mov x1, #0 ; =0x0 LBB0_9: mov x0, x20 mov x2, x19 ldr x3, [sp, #8] ; 8-byte Folded Reload 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 br x3 .loh AdrpLdrGot Lloh2, Lloh3 .loh AdrpLdrGot Lloh0, Lloh1 .cfi_endproc ; -- End function .comm _config_file_eof,8,3 ; @config_file_eof .comm _MAXNAME,4,2 ; @MAXNAME .no_dead_strip _get_value .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_msg_hdr _drm_dp_encode_sideband_msg_hdr: ## @drm_dp_encode_sideband_msg_hdr .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx .cfi_offset %rbx, -48 .cfi_offset %r12, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdx, %rbx movq %rsi, %r14 movl (%rdi), %eax movl 4(%rdi), %ecx shll $4, %eax movzbl %al, %eax andl $15, %ecx orl %eax, %ecx movl %ecx, (%rsi) movl $-1, %eax cmpl $2, (%rdi) jl LBB0_4 ## %bb.1: movq 8(%rdi), %rcx xorl %eax, %eax .p2align 4, 0x90 LBB0_2: ## =>This Inner Loop Header: Depth=1 movl (%rcx,%rax,4), %edx movl %edx, -4(%r14,%rax,4) incq %rax movl (%rdi), %edx movl %edx, %esi shrl $31, %esi addl %edx, %esi sarl %esi movslq %esi, %rdx cmpq %rdx, %rax jl LBB0_2 ## %bb.3: decl %eax LBB0_4: movl 16(%rdi), %ecx movl 20(%rdi), %edx shll $7, %ecx shll $6, %edx orl %ecx, %edx movl 24(%rdi), %ecx andl $63, %ecx orl %edx, %ecx movslq %eax, %r15 movl %ecx, (%r14,%r15,4) movl 28(%rdi), %eax movl 32(%rdi), %ecx shll $7, %eax shll $6, %ecx orl %eax, %ecx movl 36(%rdi), %eax shll $4, %eax orl %ecx, %eax movl %eax, 4(%r14,%r15,4) leal 2(%r15), %r12d leal 5(,%r15,2), %esi movq %r14, %rdi callq _drm_dp_msg_header_crc4 andl $15, %eax orl %eax, 4(%r14,%r15,4) movl %r12d, (%rbx) popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _drm_dp_encode_sideband_msg_hdr .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_msg_hdr _drm_dp_encode_sideband_msg_hdr: ; @drm_dp_encode_sideband_msg_hdr .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 x8, x1 ldp w9, w10, [x0] and w10, w10, #0xf bfi w10, w9, #4, #4 str w10, [x1] ldr w9, [x0] cmp w9, #2 b.lt LBB0_4 ; %bb.1: mov x9, #0 ; =0x0 ldr x10, [x0, #8] sub x11, x8, #4 LBB0_2: ; =>This Inner Loop Header: Depth=1 ldr w12, [x10, x9, lsl #2] str w12, [x11, x9, lsl #2] add x9, x9, #1 ldr w12, [x0] add w12, w12, w12, lsr #31 asr w12, w12, #1 cmp x9, w12, sxtw b.lt LBB0_2 ; %bb.3: sub w9, w9, #1 b LBB0_5 LBB0_4: mov w9, #-1 ; =0xffffffff LBB0_5: ldp w10, w11, [x0, #16] lsl w11, w11, #6 orr w10, w11, w10, lsl #7 ldr w11, [x0, #24] bfxil w10, w11, #0, #6 add x20, x8, w9, sxtw #2 str w10, [x20] ldp w10, w11, [x0, #28] lsl w11, w11, #6 orr w10, w11, w10, lsl #7 ldr w11, [x0, #36] orr w10, w10, w11, lsl #4 add w21, w9, #2 str w10, [x20, #4] mov w9, #1 ; =0x1 orr w1, w9, w21, lsl #1 mov x0, x8 bl _drm_dp_msg_header_crc4 and w8, w0, #0xf ldr w9, [x20, #4] orr w8, w9, w8 str w8, [x20, #4] str w21, [x19] ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .no_dead_strip _drm_dp_encode_sideband_msg_hdr .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function gve_get_ethtool_stats _gve_get_ethtool_stats: ## @gve_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, -48(%rbp) ## 8-byte Spill callq _netdev_priv movq %rax, %rbx xorl %r15d, %r15d xorl %eax, %eax callq _ASSERT_RTNL movl 16(%rbx), %eax testl %eax, %eax js LBB0_1 ## %bb.4: xorl %r14d, %r14d xorl %r12d, %r12d xorl %r15d, %r15d jmp LBB0_5 .p2align 4, 0x90 LBB0_8: ## in Loop: Header=BB0_5 Depth=1 movl 16(%rbx), %eax LBB0_9: ## in Loop: Header=BB0_5 Depth=1 decq %r14 movslq %eax, %rcx cmpq %rcx, %r14 jg LBB0_2 LBB0_5: ## =>This Loop Header: Depth=1 ## Child Loop BB0_7 Depth 2 cmpq $0, 24(%rbx) je LBB0_9 ## %bb.6: ## in Loop: Header=BB0_5 Depth=1 leaq (,%r14,8), %rax leaq (%rax,%rax,4), %r13 .p2align 4, 0x90 LBB0_7: ## Parent Loop BB0_5 Depth=1 ## => This Inner Loop Header: Depth=2 movq 24(%rbx), %rax leaq (%rax,%r13), %rdi addq $32, %rdi callq _u64_stats_fetch_begin movq 24(%rbx), %rcx addq 24(%rcx,%r13), %r12 addq 16(%rcx,%r13), %r15 leaq (%rcx,%r13), %rdi addq $32, %rdi movl %eax, %esi callq _u64_stats_fetch_retry testq %rax, %rax jne LBB0_7 jmp LBB0_8 LBB0_1: xorl %r12d, %r12d LBB0_2: movl (%rbx), %eax testl %eax, %eax jle LBB0_3 ## %bb.10: xorl %edx, %edx xorl %r14d, %r14d xorl %r13d, %r13d movq %r15, -56(%rbp) ## 8-byte Spill jmp LBB0_11 .p2align 4, 0x90 LBB0_14: ## in Loop: Header=BB0_11 Depth=1 movl (%r15), %eax movq %r15, %rbx movq -56(%rbp), %r15 ## 8-byte Reload movq -64(%rbp), %rdx ## 8-byte Reload LBB0_15: ## in Loop: Header=BB0_11 Depth=1 incq %rdx movslq %eax, %rcx cmpq %rcx, %rdx jge LBB0_16 LBB0_11: ## =>This Loop Header: Depth=1 ## Child Loop BB0_13 Depth 2 cmpq $0, 8(%rbx) je LBB0_15 ## %bb.12: ## in Loop: Header=BB0_11 Depth=1 movq %rbx, %r15 movq %rdx, -64(%rbp) ## 8-byte Spill imulq $56, %rdx, %rbx .p2align 4, 0x90 LBB0_13: ## Parent Loop BB0_11 Depth=1 ## => This Inner Loop Header: Depth=2 movq 8(%r15), %rax leaq (%rax,%rbx), %rdi addq $48, %rdi callq _u64_stats_fetch_begin movq 8(%r15), %rcx addq 40(%rcx,%rbx), %r13 addq 32(%rcx,%rbx), %r14 leaq (%rcx,%rbx), %rdi addq $48, %rdi movl %eax, %esi callq _u64_stats_fetch_retry testq %rax, %rax jne LBB0_13 jmp LBB0_14 LBB0_16: testl %eax, %eax setle %al jmp LBB0_17 LBB0_3: movb $1, %al xorl %r13d, %r13d xorl %r14d, %r14d LBB0_17: movq -48(%rbp), %r11 ## 8-byte Reload movq %r12, (%r11) movq %r13, 8(%r11) movq %r15, 16(%r11) movq %r14, 24(%r11) movq 32(%rbx), %rcx movq %rcx, 48(%r11) movq _GVE_MAIN_STATS_LEN@GOTPCREL(%rip), %rcx movl (%rcx), %ecx movq 24(%rbx), %rdx movl 16(%rbx), %esi testq %rdx, %rdx je LBB0_29 ## %bb.18: testl %esi, %esi jle LBB0_25 ## %bb.19: movslq %ecx, %rcx cmpl $1, %esi jne LBB0_21 ## %bb.20: xorl %edi, %edi jmp LBB0_23 LBB0_29: movq _NUM_GVE_RX_CNTS@GOTPCREL(%rip), %rdx imull (%rdx), %esi addl %ecx, %esi movl %esi, %ecx jmp LBB0_25 LBB0_21: movl %esi, %r8d andl $2147483646, %r8d ## imm = 0x7FFFFFFE leaq 48(%rdx), %r9 xorl %edi, %edi .p2align 4, 0x90 LBB0_22: ## =>This Inner Loop Header: Depth=1 movq -40(%r9), %r10 movq %r10, (%r11,%rcx,8) movq -48(%r9), %r10 movq %r10, 8(%r11,%rcx,8) movq (%r9), %r10 movq %r10, 16(%r11,%rcx,8) movq -8(%r9), %r10 movq %r10, 24(%r11,%rcx,8) addq $4, %rcx addq $2, %rdi addq $80, %r9 cmpq %rdi, %r8 jne LBB0_22 LBB0_23: testb $1, %sil je LBB0_25 ## %bb.24: leaq (%rdi,%rdi,4), %rsi movq 8(%rdx,%rsi,8), %rdi movq %rdi, (%r11,%rcx,8) movq (%rdx,%rsi,8), %rdx movq %rdx, 8(%r11,%rcx,8) addq $2, %rcx LBB0_25: cmpq $0, 8(%rbx) sete %dl orb %al, %dl jne LBB0_28 ## %bb.26: movslq %ecx, %rax leaq (%r11,%rax,8), %r14 addq $32, %r14 xorl %r15d, %r15d xorl %r12d, %r12d .p2align 4, 0x90 LBB0_27: ## =>This Inner Loop Header: Depth=1 movq 8(%rbx), %rax leaq (%rax,%r15), %rsi movq 24(%rax,%r15), %rcx movq %rcx, -32(%r14) movq 16(%rax,%r15), %rcx movq %rcx, -24(%r14) movq 8(%rax,%r15), %rcx movq %rcx, -16(%r14) movq (%rax,%r15), %rax movq %rax, -8(%r14) movq %rbx, %rdi callq _gve_tx_load_event_counter movl %eax, %edi callq _be32_to_cpu movq %rax, (%r14) incq %r12 movslq (%rbx), %rax addq $56, %r15 addq $40, %r14 cmpq %rax, %r12 jl LBB0_27 LBB0_28: addq $24, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _GVE_MAIN_STATS_LEN,4,2 ## @GVE_MAIN_STATS_LEN .comm _NUM_GVE_RX_CNTS,4,2 ## @NUM_GVE_RX_CNTS .comm _NUM_GVE_TX_CNTS,4,2 ## @NUM_GVE_TX_CNTS .no_dead_strip _gve_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 gve_get_ethtool_stats _gve_get_ethtool_stats: ; @gve_get_ethtool_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 x20, x2 bl _netdev_priv mov x19, x0 bl _ASSERT_RTNL ldr w8, [x19, #16] tbnz w8, #31, LBB0_7 ; %bb.1: mov x23, #0 ; =0x0 mov x22, #0 ; =0x0 mov x21, #0 ; =0x0 b LBB0_4 LBB0_2: ; in Loop: Header=BB0_4 Depth=1 ldr w8, [x19, #16] LBB0_3: ; in Loop: Header=BB0_4 Depth=1 sub x23, x23, #1 cmp x23, w8, sxtw b.gt LBB0_8 LBB0_4: ; =>This Loop Header: Depth=1 ; Child Loop BB0_6 Depth 2 ldr x9, [x19, #24] cbz x9, LBB0_3 ; %bb.5: ; in Loop: Header=BB0_4 Depth=1 add x8, x23, x23, lsl #2 lsl x24, x8, #3 LBB0_6: ; Parent Loop BB0_4 Depth=1 ; => This Inner Loop Header: Depth=2 ldr x8, [x19, #24] add x8, x8, x24 add x0, x8, #32 bl _u64_stats_fetch_begin mov x1, x0 ldr x8, [x19, #24] add x8, x8, x24 ldp x10, x9, [x8, #16] add x22, x9, x22 add x21, x10, x21 add x0, x8, #32 bl _u64_stats_fetch_retry cbnz x0, LBB0_6 b LBB0_2 LBB0_7: mov x21, #0 ; =0x0 mov x22, #0 ; =0x0 LBB0_8: ldr w8, [x19] cmp w8, #1 b.lt LBB0_16 ; %bb.9: mov x25, #0 ; =0x0 mov x23, #0 ; =0x0 mov x24, #0 ; =0x0 b LBB0_12 LBB0_10: ; in Loop: Header=BB0_12 Depth=1 ldr w8, [x19] LBB0_11: ; in Loop: Header=BB0_12 Depth=1 add x25, x25, #1 cmp x25, w8, sxtw b.ge LBB0_15 LBB0_12: ; =>This Loop Header: Depth=1 ; Child Loop BB0_14 Depth 2 ldr x9, [x19, #8] cbz x9, LBB0_11 ; %bb.13: ; in Loop: Header=BB0_12 Depth=1 lsl x8, x25, #6 sub x26, x8, x25, lsl #3 LBB0_14: ; Parent Loop BB0_12 Depth=1 ; => This Inner Loop Header: Depth=2 ldr x8, [x19, #8] add x8, x8, x26 add x0, x8, #48 bl _u64_stats_fetch_begin mov x1, x0 ldr x8, [x19, #8] add x8, x8, x26 ldp x10, x9, [x8, #32] add x24, x9, x24 add x23, x10, x23 add x0, x8, #48 bl _u64_stats_fetch_retry cbnz x0, LBB0_14 b LBB0_10 LBB0_15: cmp w8, #1 cset w8, lt b LBB0_17 LBB0_16: mov x24, #0 ; =0x0 mov x23, #0 ; =0x0 mov w8, #1 ; =0x1 LBB0_17: stp x22, x24, [x20] stp x21, x23, [x20, #16] ldp x10, x9, [x19, #24] str x9, [x20, #48] Lloh0: adrp x9, _GVE_MAIN_STATS_LEN@GOTPAGE Lloh1: ldr x9, [x9, _GVE_MAIN_STATS_LEN@GOTPAGEOFF] Lloh2: ldr w11, [x9] ldr w9, [x19, #16] cbz x10, LBB0_23 ; %bb.18: cmp w9, #1 b.lt LBB0_27 ; %bb.19: sxtw x11, w11 cmp w9, #17 b.lo LBB0_24 ; %bb.20: add x13, x20, x11, lsl #3 add x12, x13, x9, lsl #4 mov w14, #40 ; =0x28 umaddl x14, w9, w14, x10 sub x14, x14, #24 cmp x13, x14 ccmp x10, x12, #2, lo b.lo LBB0_24 ; %bb.21: orr x12, x9, #0xfffffffffffffffe add x12, x12, x9 add x11, x11, x12, lsl #1 add x14, x10, #40 mov x15, x12 LBB0_22: ; =>This Inner Loop Header: Depth=1 ldp x17, x16, [x14, #-40] fmov d0, x16 fmov d1, x17 mov x16, x14 ld1.d { v1 }[1], [x16], #8 ld1.d { v0 }[1], [x16] st2.2d { v0, v1 }, [x13], #32 add x14, x14, #80 subs x15, x15, #2 b.ne LBB0_22 b LBB0_25 LBB0_23: Lloh3: adrp x10, _NUM_GVE_RX_CNTS@GOTPAGE Lloh4: ldr x10, [x10, _NUM_GVE_RX_CNTS@GOTPAGEOFF] Lloh5: ldr w10, [x10] madd w11, w10, w9, w11 b LBB0_27 LBB0_24: mov x12, #0 ; =0x0 LBB0_25: mov w13, #40 ; =0x28 madd x10, x12, x13, x10 add x10, x10, #8 sub x13, x9, x12 add x14, x20, x11, lsl #3 add x14, x14, #8 add w9, w11, w9, lsl #1 sub w11, w9, w12, lsl #1 LBB0_26: ; =>This Inner Loop Header: Depth=1 ldr x9, [x10] stur x9, [x14, #-8] ldur x9, [x10, #-8] str x9, [x14], #16 add x10, x10, #40 subs x13, x13, #1 b.ne LBB0_26 LBB0_27: ldr x9, [x19, #8] cmp x9, #0 csinc w8, w8, wzr, ne tbnz w8, #0, LBB0_30 ; %bb.28: mov x21, #0 ; =0x0 mov x22, #0 ; =0x0 add x8, x20, w11, sxtw #3 add x20, x8, #16 LBB0_29: ; =>This Inner Loop Header: Depth=1 ldr x8, [x19, #8] add x1, x8, x21 ldr x8, [x1, #24] stur x8, [x20, #-16] ldr x8, [x1, #16] stur x8, [x20, #-8] ldr x8, [x1, #8] str x8, [x20] ldr x8, [x1] str x8, [x20, #8] mov x0, x19 bl _gve_tx_load_event_counter bl _be32_to_cpu str x0, [x20, #16] add x22, x22, #1 ldrsw x8, [x19] add x21, x21, #56 add x20, x20, #40 cmp x22, x8 b.lt LBB0_29 LBB0_30: ldp x29, x30, [sp, #64] ; 16-byte Folded Reload ldp x20, x19, [sp, #48] ; 16-byte Folded Reload ldp x22, x21, [sp, #32] ; 16-byte Folded Reload ldp x24, x23, [sp, #16] ; 16-byte Folded Reload ldp x26, x25, [sp], #80 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .cfi_endproc ; -- End function .comm _GVE_MAIN_STATS_LEN,4,2 ; @GVE_MAIN_STATS_LEN .comm _NUM_GVE_RX_CNTS,4,2 ; @NUM_GVE_RX_CNTS .comm _NUM_GVE_TX_CNTS,4,2 ; @NUM_GVE_TX_CNTS .no_dead_strip _gve_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 crec_call_args _crec_call_args: ## @crec_call_args .cfi_startproc ## %bb.0: 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, %r12 movq %rdx, %r14 movq %rsi, %rbx movq %rdi, -56(%rbp) ## 8-byte Spill movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -48(%rbp) movq _CCI_NARGS_MAX@GOTPCREL(%rip), %rax movl (%rax), %eax shlq $3, %rax callq ____chkstk_darwin addq $15, %rax andq $-16, %rax subq %rax, %rsp movq %rsp, %r15 movq %r12, -80(%rbp) ## 8-byte Spill movq 8(%r12), %r12 .p2align 4, 0x90 LBB0_1: ## =>This Inner Loop Header: Depth=1 testq %r12, %r12 je LBB0_4 ## %bb.2: ## in Loop: Header=BB0_1 Depth=1 movq %r14, %rdi movq %r12, %rsi callq _ctype_get movq %rax, %r13 movl (%rax), %edi callq _ctype_isattrib testl %eax, %eax je LBB0_1 ## %bb.3: ## in Loop: Header=BB0_1 Depth=1 movq 8(%r13), %r12 jmp LBB0_1 LBB0_4: movq _TREF_NIL@GOTPCREL(%rip), %rax movq (%rax), %r12 movq %r12, (%r15) movq -56(%rbp), %rax ## 8-byte Reload movq (%rax), %r13 cmpq $0, 8(%r13) je LBB0_31 ## %bb.5: movq %r15, -64(%rbp) ## 8-byte Spill movq (%rbx), %r12 addq $4, %r12 xorl %ebx, %ebx movq %r14, -72(%rbp) ## 8-byte Spill jmp LBB0_6 LBB0_19: ## in Loop: Header=BB0_6 Depth=1 movl (%rcx), %edx movq %r13, %rdi xorl %ecx, %ecx LBB0_20: ## in Loop: Header=BB0_6 Depth=1 callq _emitconv movq %rax, %r13 LBB0_28: ## in Loop: Header=BB0_6 Depth=1 movq -64(%rbp), %rax ## 8-byte Reload movq %r13, (%rax,%r15,8) leaq 1(%r15), %rbx addq $4, %r12 movq %r14, %r13 cmpq $0, 16(%r14,%r15,8) movq -72(%rbp), %r14 ## 8-byte Reload je LBB0_29 LBB0_6: ## =>This Inner Loop Header: Depth=1 movq %rbx, %r15 movq _CCI_NARGS_MAX@GOTPCREL(%rip), %rax movslq (%rax), %rax cmpq %rax, %rbx jl LBB0_8 ## %bb.7: ## in Loop: Header=BB0_6 Depth=1 movq _LJ_TRERR_NYICALL@GOTPCREL(%rip), %rax movl (%rax), %esi movq -56(%rbp), %rdi ## 8-byte Reload callq _lj_trace_err LBB0_8: ## in Loop: Header=BB0_6 Depth=1 movq _CTF_VARARG@GOTPCREL(%rip), %rax movl (%rax), %eax movq -80(%rbp), %rcx ## 8-byte Reload orl (%rcx), %eax jne LBB0_10 ## %bb.9: ## in Loop: Header=BB0_6 Depth=1 movq _LJ_TRERR_NYICALL@GOTPCREL(%rip), %rax movl (%rax), %esi movq -56(%rbp), %rdi ## 8-byte Reload callq _lj_trace_err LBB0_10: ## in Loop: Header=BB0_6 Depth=1 movq %r14, %rdi movq %r12, %rsi callq _lj_ccall_ctid_vararg movq %r14, %rdi movq %rax, %rsi callq _ctype_raw movq %rax, %rbx movl (%rax), %edi callq _ctype_isnum testq %rax, %rax jne LBB0_14 ## %bb.11: ## in Loop: Header=BB0_6 Depth=1 movl (%rbx), %edi callq _ctype_isptr testq %rax, %rax jne LBB0_14 ## %bb.12: ## in Loop: Header=BB0_6 Depth=1 movl (%rbx), %edi callq _ctype_isenum testq %rax, %rax jne LBB0_14 ## %bb.13: ## in Loop: Header=BB0_6 Depth=1 movq _LJ_TRERR_NYICALL@GOTPCREL(%rip), %rax movl (%rax), %esi movq -56(%rbp), %rdi ## 8-byte Reload callq _lj_trace_err .p2align 4, 0x90 LBB0_14: ## in Loop: Header=BB0_6 Depth=1 movq %r13, %r14 movq 8(%r13,%r15,8), %rcx movq -56(%rbp), %rdi ## 8-byte Reload movq %rbx, %rsi xorl %edx, %edx movq %r12, %r8 callq _crec_ct_tv movq %rax, %r13 movl (%rbx), %edi callq _ctype_isinteger_or_bool testq %rax, %rax je LBB0_24 ## %bb.15: ## in Loop: Header=BB0_6 Depth=1 movl 4(%rbx), %eax cmpl $3, %eax jg LBB0_28 ## %bb.16: ## in Loop: Header=BB0_6 Depth=1 movq _CTF_UNSIGNED@GOTPCREL(%rip), %rcx movl (%rcx), %ecx movq _IRT_INT@GOTPCREL(%rip), %rdx movl (%rdx), %esi testl %ecx, (%rbx) je LBB0_21 ## %bb.17: ## in Loop: Header=BB0_6 Depth=1 movq _IRT_U16@GOTPCREL(%rip), %rcx cmpl $1, %eax jne LBB0_19 ## %bb.18: ## in Loop: Header=BB0_6 Depth=1 movq _IRT_U8@GOTPCREL(%rip), %rcx jmp LBB0_19 .p2align 4, 0x90 LBB0_24: ## in Loop: Header=BB0_6 Depth=1 movq _LJ_SOFTFP@GOTPCREL(%rip), %rax cmpq $0, (%rax) je LBB0_28 ## %bb.25: ## in Loop: Header=BB0_6 Depth=1 movl (%rbx), %edi callq _ctype_isfp testq %rax, %rax je LBB0_28 ## %bb.26: ## in Loop: Header=BB0_6 Depth=1 cmpl $5, 4(%rbx) jl LBB0_28 ## %bb.27: ## in Loop: Header=BB0_6 Depth=1 movq -56(%rbp), %rdi ## 8-byte Reload callq _lj_needsplit jmp LBB0_28 LBB0_21: ## in Loop: Header=BB0_6 Depth=1 movq _IRT_I16@GOTPCREL(%rip), %rcx cmpl $1, %eax jne LBB0_23 ## %bb.22: ## in Loop: Header=BB0_6 Depth=1 movq _IRT_I8@GOTPCREL(%rip), %rcx LBB0_23: ## in Loop: Header=BB0_6 Depth=1 movl (%rcx), %edx movq _IRCONV_SEXT@GOTPCREL(%rip), %rax movl (%rax), %ecx movq %r13, %rdi jmp LBB0_20 LBB0_29: movq -64(%rbp), %r15 ## 8-byte Reload movq (%r15), %r12 incl %ebx movl $1, %r14d movq _IRT_NIL@GOTPCREL(%rip), %r13 .p2align 4, 0x90 LBB0_30: ## =>This Inner Loop Header: Depth=1 movq _IR_CARG@GOTPCREL(%rip), %rax movl (%rax), %edi movl (%r13), %esi callq _IRT movq (%r15,%r14,8), %rdx movl %eax, %edi movq %r12, %rsi callq _emitir movq %rax, %r12 incq %r14 cmpq %r14, %rbx jne LBB0_30 LBB0_31: movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax cmpq -48(%rbp), %rax jne LBB0_33 ## %bb.32: movq %r12, %rax leaq -40(%rbp), %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_33: callq ___stack_chk_fail .cfi_endproc ## -- End function .comm _CCI_NARGS_MAX,4,2 ## @CCI_NARGS_MAX .comm _TREF_NIL,8,3 ## @TREF_NIL .comm _LJ_TRERR_NYICALL,4,2 ## @LJ_TRERR_NYICALL .comm _CTF_VARARG,4,2 ## @CTF_VARARG .comm _CTF_UNSIGNED,4,2 ## @CTF_UNSIGNED .comm _IRT_INT,4,2 ## @IRT_INT .comm _IRT_U8,4,2 ## @IRT_U8 .comm _IRT_U16,4,2 ## @IRT_U16 .comm _IRT_I8,4,2 ## @IRT_I8 .comm _IRT_I16,4,2 ## @IRT_I16 .comm _IRCONV_SEXT,4,2 ## @IRCONV_SEXT .comm _LJ_SOFTFP,8,3 ## @LJ_SOFTFP .comm _IR_CARG,4,2 ## @IR_CARG .comm _IRT_NIL,4,2 ## @IRT_NIL .comm _CTCC_FASTCALL,8,3 ## @CTCC_FASTCALL .comm _CTCC_THISCALL,8,3 ## @CTCC_THISCALL .comm _IRT_I64,4,2 ## @IRT_I64 .comm _IRT_U64,4,2 ## @IRT_U64 .no_dead_strip _crec_call_args .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function crec_call_args _crec_call_args: ; @crec_call_args .cfi_startproc ; %bb.0: stp x28, x27, [sp, #-96]! ; 16-byte Folded Spill stp x26, x25, [sp, #16] ; 16-byte Folded Spill stp x24, x23, [sp, #32] ; 16-byte Folded Spill stp x22, x21, [sp, #48] ; 16-byte Folded Spill stp x20, x19, [sp, #64] ; 16-byte Folded Spill stp x29, x30, [sp, #80] ; 16-byte Folded Spill add x29, sp, #80 sub sp, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset w27, -88 .cfi_offset w28, -96 mov x19, x3 mov x20, x2 mov x22, x1 mov x21, x0 Lloh0: adrp x8, ___stack_chk_guard@GOTPAGE Lloh1: ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] Lloh2: ldr x8, [x8] stur x8, [x29, #-88] Lloh3: adrp x8, _CCI_NARGS_MAX@GOTPAGE Lloh4: ldr x8, [x8, _CCI_NARGS_MAX@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 x25, x9, x8 mov sp, x25 ldr x23, [x3, #8] cbnz x23, LBB0_4 LBB0_1: Lloh8: adrp x8, _TREF_NIL@GOTPAGE Lloh9: ldr x8, [x8, _TREF_NIL@GOTPAGEOFF] Lloh10: ldr x23, [x8] str x23, [x25] ldr x28, [x21] ldr x8, [x28, #8] cbz x8, LBB0_27 ; %bb.2: mov x27, #0 ; =0x0 ldr x8, [x22] add x22, x8, #4 Lloh11: adrp x26, _CTF_VARARG@GOTPAGE Lloh12: ldr x26, [x26, _CTF_VARARG@GOTPAGEOFF] b LBB0_9 LBB0_3: ; in Loop: Header=BB0_4 Depth=1 cbz x23, LBB0_1 LBB0_4: ; =>This Inner Loop Header: Depth=1 mov x0, x20 mov x1, x23 bl _ctype_get mov x24, x0 ldr w0, [x0] bl _ctype_isattrib cbz w0, LBB0_3 ; %bb.5: ; in Loop: Header=BB0_4 Depth=1 ldr x23, [x24, #8] b LBB0_3 LBB0_6: ; in Loop: Header=BB0_9 Depth=1 cmp w8, #1 Lloh13: adrp x8, _IRT_U8@GOTPAGE Lloh14: ldr x8, [x8, _IRT_U8@GOTPAGEOFF] Lloh15: adrp x9, _IRT_U16@GOTPAGE Lloh16: ldr x9, [x9, _IRT_U16@GOTPAGEOFF] csel x8, x8, x9, eq ldr w2, [x8] mov x0, x23 mov w3, #0 ; =0x0 LBB0_7: ; in Loop: Header=BB0_9 Depth=1 bl _emitconv mov x23, x0 LBB0_8: ; in Loop: Header=BB0_9 Depth=1 lsl x8, x27, #3 str x23, [x25, x8] add x27, x27, #1 add x8, x28, x8 ldr x8, [x8, #16] add x22, x22, #4 cbz x8, LBB0_25 LBB0_9: ; =>This Inner Loop Header: Depth=1 Lloh17: adrp x8, _CCI_NARGS_MAX@GOTPAGE Lloh18: ldr x8, [x8, _CCI_NARGS_MAX@GOTPAGEOFF] Lloh19: ldrsw x8, [x8] cmp x27, x8 b.lt LBB0_11 ; %bb.10: ; in Loop: Header=BB0_9 Depth=1 Lloh20: adrp x8, _LJ_TRERR_NYICALL@GOTPAGE Lloh21: ldr x8, [x8, _LJ_TRERR_NYICALL@GOTPAGEOFF] Lloh22: ldr w1, [x8] mov x0, x21 bl _lj_trace_err LBB0_11: ; in Loop: Header=BB0_9 Depth=1 ldr w8, [x19] ldr w9, [x26] orr w8, w9, w8 cbnz w8, LBB0_13 ; %bb.12: ; in Loop: Header=BB0_9 Depth=1 Lloh23: adrp x8, _LJ_TRERR_NYICALL@GOTPAGE Lloh24: ldr x8, [x8, _LJ_TRERR_NYICALL@GOTPAGEOFF] Lloh25: ldr w1, [x8] mov x0, x21 bl _lj_trace_err LBB0_13: ; in Loop: Header=BB0_9 Depth=1 mov x0, x20 mov x1, x22 bl _lj_ccall_ctid_vararg mov x1, x0 mov x0, x20 bl _ctype_raw mov x24, x0 ldr w0, [x0] bl _ctype_isnum cbnz x0, LBB0_17 ; %bb.14: ; in Loop: Header=BB0_9 Depth=1 ldr w0, [x24] bl _ctype_isptr cbnz x0, LBB0_17 ; %bb.15: ; in Loop: Header=BB0_9 Depth=1 ldr w0, [x24] bl _ctype_isenum cbnz x0, LBB0_17 ; %bb.16: ; in Loop: Header=BB0_9 Depth=1 Lloh26: adrp x8, _LJ_TRERR_NYICALL@GOTPAGE Lloh27: ldr x8, [x8, _LJ_TRERR_NYICALL@GOTPAGEOFF] Lloh28: ldr w1, [x8] mov x0, x21 bl _lj_trace_err LBB0_17: ; in Loop: Header=BB0_9 Depth=1 add x8, x28, x27, lsl #3 ldr x3, [x8, #8] mov x0, x21 mov x1, x24 mov w2, #0 ; =0x0 mov x4, x22 bl _crec_ct_tv mov x23, x0 ldr w0, [x24] bl _ctype_isinteger_or_bool cbz x0, LBB0_21 ; %bb.18: ; in Loop: Header=BB0_9 Depth=1 ldr w8, [x24, #4] cmp w8, #3 b.gt LBB0_8 ; %bb.19: ; in Loop: Header=BB0_9 Depth=1 ldr w9, [x24] Lloh29: adrp x10, _CTF_UNSIGNED@GOTPAGE Lloh30: ldr x10, [x10, _CTF_UNSIGNED@GOTPAGEOFF] Lloh31: ldr w10, [x10] Lloh32: adrp x11, _IRT_INT@GOTPAGE Lloh33: ldr x11, [x11, _IRT_INT@GOTPAGEOFF] Lloh34: ldr w1, [x11] tst w10, w9 b.ne LBB0_6 ; %bb.20: ; in Loop: Header=BB0_9 Depth=1 cmp w8, #1 Lloh35: adrp x8, _IRT_I8@GOTPAGE Lloh36: ldr x8, [x8, _IRT_I8@GOTPAGEOFF] Lloh37: adrp x9, _IRT_I16@GOTPAGE Lloh38: ldr x9, [x9, _IRT_I16@GOTPAGEOFF] csel x8, x8, x9, eq ldr w2, [x8] Lloh39: adrp x8, _IRCONV_SEXT@GOTPAGE Lloh40: ldr x8, [x8, _IRCONV_SEXT@GOTPAGEOFF] Lloh41: ldr w3, [x8] mov x0, x23 b LBB0_7 LBB0_21: ; in Loop: Header=BB0_9 Depth=1 Lloh42: adrp x8, _LJ_SOFTFP@GOTPAGE Lloh43: ldr x8, [x8, _LJ_SOFTFP@GOTPAGEOFF] Lloh44: ldr x8, [x8] cbz x8, LBB0_8 ; %bb.22: ; in Loop: Header=BB0_9 Depth=1 ldr w0, [x24] bl _ctype_isfp cbz x0, LBB0_8 ; %bb.23: ; in Loop: Header=BB0_9 Depth=1 ldr w8, [x24, #4] cmp w8, #5 b.lt LBB0_8 ; %bb.24: ; in Loop: Header=BB0_9 Depth=1 mov x0, x21 bl _lj_needsplit b LBB0_8 LBB0_25: ldr x23, [x25], #8 add w8, w27, #1 sub x19, x8, #1 Lloh45: adrp x20, _IR_CARG@GOTPAGE Lloh46: ldr x20, [x20, _IR_CARG@GOTPAGEOFF] Lloh47: adrp x21, _IRT_NIL@GOTPAGE Lloh48: ldr x21, [x21, _IRT_NIL@GOTPAGEOFF] LBB0_26: ; =>This Inner Loop Header: Depth=1 ldr w0, [x20] ldr w1, [x21] bl _IRT ldr x2, [x25], #8 mov x1, x23 bl _emitir mov x23, x0 subs x19, x19, #1 b.ne LBB0_26 LBB0_27: ldur x8, [x29, #-88] 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_29 ; %bb.28: mov x0, x23 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_29: bl ___stack_chk_fail .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10 .loh AdrpLdrGot Lloh11, Lloh12 .loh AdrpLdrGot Lloh15, Lloh16 .loh AdrpLdrGot Lloh13, Lloh14 .loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19 .loh AdrpLdrGotLdr Lloh20, Lloh21, Lloh22 .loh AdrpLdrGotLdr Lloh23, Lloh24, Lloh25 .loh AdrpLdrGotLdr Lloh26, Lloh27, Lloh28 .loh AdrpLdrGotLdr Lloh32, Lloh33, Lloh34 .loh AdrpLdrGotLdr Lloh29, Lloh30, Lloh31 .loh AdrpLdrGotLdr Lloh39, Lloh40, Lloh41 .loh AdrpLdrGot Lloh37, Lloh38 .loh AdrpLdrGot Lloh35, Lloh36 .loh AdrpLdrGotLdr Lloh42, Lloh43, Lloh44 .loh AdrpLdrGot Lloh47, Lloh48 .loh AdrpLdrGot Lloh45, Lloh46 .loh AdrpLdrGotLdr Lloh49, Lloh50, Lloh51 .loh AdrpLdrGot Lloh6, Lloh7 .cfi_endproc ; -- End function .comm _CCI_NARGS_MAX,4,2 ; @CCI_NARGS_MAX .comm _TREF_NIL,8,3 ; @TREF_NIL .comm _LJ_TRERR_NYICALL,4,2 ; @LJ_TRERR_NYICALL .comm _CTF_VARARG,4,2 ; @CTF_VARARG .comm _CTF_UNSIGNED,4,2 ; @CTF_UNSIGNED .comm _IRT_INT,4,2 ; @IRT_INT .comm _IRT_U8,4,2 ; @IRT_U8 .comm _IRT_U16,4,2 ; @IRT_U16 .comm _IRT_I8,4,2 ; @IRT_I8 .comm _IRT_I16,4,2 ; @IRT_I16 .comm _IRCONV_SEXT,4,2 ; @IRCONV_SEXT .comm _LJ_SOFTFP,8,3 ; @LJ_SOFTFP .comm _IR_CARG,4,2 ; @IR_CARG .comm _IRT_NIL,4,2 ; @IRT_NIL .comm _CTCC_FASTCALL,8,3 ; @CTCC_FASTCALL .comm _CTCC_THISCALL,8,3 ; @CTCC_THISCALL .comm _IRT_I64,4,2 ; @IRT_I64 .comm _IRT_U64,4,2 ; @IRT_U64 .no_dead_strip _crec_call_args .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function getflags_5ghz _getflags_5ghz: ## @getflags_5ghz .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %ecx, %r15d movl %edx, %r12d movq %rsi, %rbx movq %rdi, %r14 movq _IEEE80211_MODE_11A@GOTPCREL(%rip), %rax movl (%rax), %esi callq _isset testq %rax, %rax je LBB0_1 ## %bb.2: movq _IEEE80211_CHAN_A@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, (%rbx) movl $-1, %r13d jmp LBB0_3 LBB0_1: xorl %r13d, %r13d LBB0_3: movq _IEEE80211_MODE_11NA@GOTPCREL(%rip), %rax movl (%rax), %esi movq %r14, %rdi callq _isset testq %rax, %rax je LBB0_5 ## %bb.4: movq _IEEE80211_CHAN_A@GOTPCREL(%rip), %rax movq _IEEE80211_CHAN_HT20@GOTPCREL(%rip), %rcx movl (%rcx), %ecx orl (%rax), %ecx movslq %r13d, %rax incl %r13d movl %ecx, (%rbx,%rax,4) LBB0_5: movq _IEEE80211_MODE_VHT_5GHZ@GOTPCREL(%rip), %rax movl (%rax), %esi movq %r14, %rdi callq _isset testq %rax, %rax je LBB0_7 ## %bb.6: movq _IEEE80211_CHAN_A@GOTPCREL(%rip), %rax movq _IEEE80211_CHAN_HT20@GOTPCREL(%rip), %rcx movl (%rcx), %ecx orl (%rax), %ecx movq _IEEE80211_CHAN_VHT20@GOTPCREL(%rip), %rax orl (%rax), %ecx movslq %r13d, %rax incl %r13d movl %ecx, (%rbx,%rax,4) LBB0_7: testl %r12d, %r12d je LBB0_13 ## %bb.8: movl %r15d, -44(%rbp) ## 4-byte Spill movq _IEEE80211_CHAN_A@GOTPCREL(%rip), %r12 movq _IEEE80211_CHAN_HT40U@GOTPCREL(%rip), %rax movl (%rax), %eax orl (%r12), %eax leal 1(%r13), %r15d movslq %r13d, %rcx movl %eax, (%rbx,%rcx,4) movq _IEEE80211_MODE_VHT_5GHZ@GOTPCREL(%rip), %rax movl (%rax), %esi movq %r14, %rdi callq _isset testq %rax, %rax je LBB0_10 ## %bb.9: movq _IEEE80211_CHAN_HT40U@GOTPCREL(%rip), %rax movl (%rax), %eax orl (%r12), %eax movq _IEEE80211_CHAN_VHT40U@GOTPCREL(%rip), %rcx orl (%rcx), %eax addl $2, %r13d movl %r15d, %ecx movl %eax, (%rbx,%rcx,4) movl %r13d, %r15d LBB0_10: movq _IEEE80211_CHAN_HT40D@GOTPCREL(%rip), %rax movl (%rax), %eax orl (%r12), %eax leal 1(%r15), %r13d movl %r15d, %ecx movl %eax, (%rbx,%rcx,4) movq _IEEE80211_MODE_VHT_5GHZ@GOTPCREL(%rip), %rax movl (%rax), %esi movq %r14, %rdi callq _isset testq %rax, %rax je LBB0_12 ## %bb.11: movq _IEEE80211_CHAN_HT40D@GOTPCREL(%rip), %rax movl (%rax), %eax orl (%r12), %eax movq _IEEE80211_CHAN_VHT40D@GOTPCREL(%rip), %rcx orl (%rcx), %eax addl $2, %r15d movl %r13d, %ecx movl %eax, (%rbx,%rcx,4) movl %r15d, %r13d LBB0_12: movl -44(%rbp), %r15d ## 4-byte Reload LBB0_13: testl %r15d, %r15d je LBB0_16 ## %bb.14: movq _IEEE80211_MODE_VHT_5GHZ@GOTPCREL(%rip), %rax movl (%rax), %esi movq %r14, %rdi callq _isset testq %rax, %rax je LBB0_16 ## %bb.15: movq _IEEE80211_CHAN_A@GOTPCREL(%rip), %rax movq _IEEE80211_CHAN_HT40U@GOTPCREL(%rip), %rcx movl (%rcx), %ecx orl (%rax), %ecx movq _IEEE80211_CHAN_VHT80@GOTPCREL(%rip), %rdx orl (%rdx), %ecx movslq %r13d, %rsi movl %ecx, (%rbx,%rsi,4) movq _IEEE80211_CHAN_HT40D@GOTPCREL(%rip), %rcx movl (%rcx), %ecx orl (%rax), %ecx orl (%rdx), %ecx leal 2(%rsi), %r13d movl %ecx, 4(%rbx,%rsi,4) LBB0_16: movslq %r13d, %rax movl $0, (%rbx,%rax,4) addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _IEEE80211_MODE_11A,4,2 ## @IEEE80211_MODE_11A .comm _IEEE80211_CHAN_A,4,2 ## @IEEE80211_CHAN_A .comm _IEEE80211_MODE_11NA,4,2 ## @IEEE80211_MODE_11NA .comm _IEEE80211_CHAN_HT20,4,2 ## @IEEE80211_CHAN_HT20 .comm _IEEE80211_MODE_VHT_5GHZ,4,2 ## @IEEE80211_MODE_VHT_5GHZ .comm _IEEE80211_CHAN_VHT20,4,2 ## @IEEE80211_CHAN_VHT20 .comm _IEEE80211_CHAN_HT40U,4,2 ## @IEEE80211_CHAN_HT40U .comm _IEEE80211_CHAN_VHT40U,4,2 ## @IEEE80211_CHAN_VHT40U .comm _IEEE80211_CHAN_HT40D,4,2 ## @IEEE80211_CHAN_HT40D .comm _IEEE80211_CHAN_VHT40D,4,2 ## @IEEE80211_CHAN_VHT40D .comm _IEEE80211_CHAN_VHT80,4,2 ## @IEEE80211_CHAN_VHT80 .no_dead_strip _getflags_5ghz .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function getflags_5ghz _getflags_5ghz: ; @getflags_5ghz .cfi_startproc ; %bb.0: stp x28, x27, [sp, #-96]! ; 16-byte Folded Spill stp x26, x25, [sp, #16] ; 16-byte Folded Spill stp x24, x23, [sp, #32] ; 16-byte Folded Spill stp x22, x21, [sp, #48] ; 16-byte Folded Spill stp x20, x19, [sp, #64] ; 16-byte Folded Spill stp x29, x30, [sp, #80] ; 16-byte Folded Spill add x29, sp, #80 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset w27, -88 .cfi_offset w28, -96 mov x21, x3 mov x22, x2 mov x19, x1 mov x20, x0 Lloh0: adrp x8, _IEEE80211_MODE_11A@GOTPAGE Lloh1: ldr x8, [x8, _IEEE80211_MODE_11A@GOTPAGEOFF] Lloh2: ldr w1, [x8] bl _isset Lloh3: adrp x23, _IEEE80211_CHAN_A@GOTPAGE Lloh4: ldr x23, [x23, _IEEE80211_CHAN_A@GOTPAGEOFF] cbz x0, LBB0_2 ; %bb.1: ldr w8, [x23] str w8, [x19] mov w24, #-1 ; =0xffffffff b LBB0_3 LBB0_2: mov w24, #0 ; =0x0 LBB0_3: Lloh5: adrp x8, _IEEE80211_MODE_11NA@GOTPAGE Lloh6: ldr x8, [x8, _IEEE80211_MODE_11NA@GOTPAGEOFF] Lloh7: ldr w1, [x8] mov x0, x20 bl _isset Lloh8: adrp x26, _IEEE80211_CHAN_HT20@GOTPAGE Lloh9: ldr x26, [x26, _IEEE80211_CHAN_HT20@GOTPAGEOFF] cbz x0, LBB0_5 ; %bb.4: ldr w8, [x23] ldr w9, [x26] orr w8, w9, w8 str w8, [x19, w24, sxtw #2] add w24, w24, #1 LBB0_5: Lloh10: adrp x25, _IEEE80211_MODE_VHT_5GHZ@GOTPAGE Lloh11: ldr x25, [x25, _IEEE80211_MODE_VHT_5GHZ@GOTPAGEOFF] ldr w1, [x25] mov x0, x20 bl _isset cbz x0, LBB0_7 ; %bb.6: ldr w8, [x23] ldr w9, [x26] orr w8, w9, w8 Lloh12: adrp x9, _IEEE80211_CHAN_VHT20@GOTPAGE Lloh13: ldr x9, [x9, _IEEE80211_CHAN_VHT20@GOTPAGEOFF] Lloh14: ldr w9, [x9] orr w8, w8, w9 str w8, [x19, w24, sxtw #2] add w24, w24, #1 LBB0_7: Lloh15: adrp x27, _IEEE80211_CHAN_HT40U@GOTPAGE Lloh16: ldr x27, [x27, _IEEE80211_CHAN_HT40U@GOTPAGEOFF] Lloh17: adrp x26, _IEEE80211_CHAN_HT40D@GOTPAGE Lloh18: ldr x26, [x26, _IEEE80211_CHAN_HT40D@GOTPAGEOFF] cbz w22, LBB0_12 ; %bb.8: ldr w8, [x23] ldr w9, [x27] orr w8, w9, w8 add w22, w24, #1 str w8, [x19, w24, sxtw #2] ldr w1, [x25] mov x0, x20 bl _isset cbz x0, LBB0_10 ; %bb.9: ldr w8, [x23] ldr w9, [x27] orr w8, w9, w8 Lloh19: adrp x9, _IEEE80211_CHAN_VHT40U@GOTPAGE Lloh20: ldr x9, [x9, _IEEE80211_CHAN_VHT40U@GOTPAGEOFF] Lloh21: ldr w9, [x9] orr w8, w8, w9 str w8, [x19, w22, uxtw #2] add w22, w24, #2 LBB0_10: ldr w8, [x23] ldr w9, [x26] orr w8, w9, w8 add w24, w22, #1 str w8, [x19, w22, uxtw #2] ldr w1, [x25] mov x0, x20 bl _isset cbz x0, LBB0_12 ; %bb.11: ldr w8, [x23] ldr w9, [x26] orr w8, w9, w8 Lloh22: adrp x9, _IEEE80211_CHAN_VHT40D@GOTPAGE Lloh23: ldr x9, [x9, _IEEE80211_CHAN_VHT40D@GOTPAGEOFF] Lloh24: ldr w9, [x9] orr w8, w8, w9 str w8, [x19, w24, uxtw #2] add w24, w22, #2 LBB0_12: cbz w21, LBB0_15 ; %bb.13: ldr w1, [x25] mov x0, x20 bl _isset cbz x0, LBB0_15 ; %bb.14: ldr w8, [x23] ldr w9, [x27] Lloh25: adrp x10, _IEEE80211_CHAN_VHT80@GOTPAGE Lloh26: ldr x10, [x10, _IEEE80211_CHAN_VHT80@GOTPAGEOFF] orr w8, w9, w8 ldr w9, [x10] orr w8, w8, w9 add x9, x19, w24, sxtw #2 str w8, [x9] ldr w8, [x23] ldr w11, [x26] orr w8, w11, w8 ldr w10, [x10] orr w8, w8, w10 add w24, w24, #2 str w8, [x9, #4] LBB0_15: str wzr, [x19, w24, sxtw #2] 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 Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGot Lloh8, Lloh9 .loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7 .loh AdrpLdrGot Lloh10, Lloh11 .loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14 .loh AdrpLdrGot Lloh17, Lloh18 .loh AdrpLdrGot Lloh15, Lloh16 .loh AdrpLdrGotLdr Lloh19, Lloh20, Lloh21 .loh AdrpLdrGotLdr Lloh22, Lloh23, Lloh24 .loh AdrpLdrGot Lloh25, Lloh26 .cfi_endproc ; -- End function .comm _IEEE80211_MODE_11A,4,2 ; @IEEE80211_MODE_11A .comm _IEEE80211_CHAN_A,4,2 ; @IEEE80211_CHAN_A .comm _IEEE80211_MODE_11NA,4,2 ; @IEEE80211_MODE_11NA .comm _IEEE80211_CHAN_HT20,4,2 ; @IEEE80211_CHAN_HT20 .comm _IEEE80211_MODE_VHT_5GHZ,4,2 ; @IEEE80211_MODE_VHT_5GHZ .comm _IEEE80211_CHAN_VHT20,4,2 ; @IEEE80211_CHAN_VHT20 .comm _IEEE80211_CHAN_HT40U,4,2 ; @IEEE80211_CHAN_HT40U .comm _IEEE80211_CHAN_VHT40U,4,2 ; @IEEE80211_CHAN_VHT40U .comm _IEEE80211_CHAN_HT40D,4,2 ; @IEEE80211_CHAN_HT40D .comm _IEEE80211_CHAN_VHT40D,4,2 ; @IEEE80211_CHAN_VHT40D .comm _IEEE80211_CHAN_VHT80,4,2 ; @IEEE80211_CHAN_VHT80 .no_dead_strip _getflags_5ghz .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _zfTimerCheckAndHandle ## -- Begin function zfTimerCheckAndHandle .p2align 4, 0x90 _zfTimerCheckAndHandle: ## @zfTimerCheckAndHandle .cfi_startproc ## %bb.0: 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 _ZM_MAX_TIMER_COUNT@GOTPCREL(%rip), %r15 movl (%r15), %eax shlq $2, %rax callq ____chkstk_darwin addq $15, %rax andq $-16, %rax subq %rax, %rsp movq %rsp, %rbx movq %r14, %rdi callq _zmw_get_wlan_dev xorl %eax, %eax callq _zmw_declare_for_critical_section movq _wd@GOTPCREL(%rip), %r12 movq (%r12), %rax cmpl $0, 32(%rax) je LBB0_7 ## %bb.1: movq %r14, %rdi callq _zmw_enter_critical_section movq (%r12), %rax movl 8(%rax), %ecx addl (%r15), %ecx js LBB0_6 ## %bb.2: movq (%rax), %rcx addq $24, %rax xorl %edx, %edx .p2align 4, 0x90 LBB0_3: ## =>This Loop Header: Depth=1 ## Child Loop BB0_4 Depth 2 movq (%rax), %rax movq (%rax), %rsi subq %rcx, %rsi setg %dil cmpq $1000000000, %rsi ## imm = 0x3B9ACA00 setl %sil andb %dil, %sil .p2align 4, 0x90 LBB0_4: ## Parent Loop BB0_3 Depth=1 ## => This Inner Loop Header: Depth=2 testb %sil, %sil jne LBB0_4 ## %bb.5: ## in Loop: Header=BB0_3 Depth=1 movl 24(%rax), %esi movl %esi, (%rbx,%rdx,4) incq %rdx addq $16, %rax jmp LBB0_3 LBB0_6: movq %r14, %rdi callq _zmw_leave_critical_section movq %r14, %rdi movq %rbx, %rsi xorl %edx, %edx callq _zfProcessEvent LBB0_7: movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax cmpq -40(%rbp), %rax jne LBB0_9 ## %bb.8: xorl %eax, %eax leaq -32(%rbp), %rsp popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq LBB0_9: callq ___stack_chk_fail .cfi_endproc ## -- End function .comm _ZM_MAX_TIMER_COUNT,4,2 ## @ZM_MAX_TIMER_COUNT .comm _wd,8,3 ## @wd .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _zfTimerCheckAndHandle ; -- Begin function zfTimerCheckAndHandle .p2align 2 _zfTimerCheckAndHandle: ; @zfTimerCheckAndHandle .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 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 mov x20, x0 Lloh0: adrp x8, ___stack_chk_guard@GOTPAGE Lloh1: ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] Lloh2: ldr x8, [x8] stur x8, [x29, #-40] Lloh3: adrp x21, _ZM_MAX_TIMER_COUNT@GOTPAGE Lloh4: ldr x21, [x21, _ZM_MAX_TIMER_COUNT@GOTPAGEOFF] ldr w8, [x21] lsl x8, x8, #2 mov x9, x8 Lloh5: adrp x16, ___chkstk_darwin@GOTPAGE Lloh6: ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF] blr x16 mov x9, sp add x8, x8, #15 and x8, x8, #0x7fffffff0 sub x19, x9, x8 mov sp, x19 bl _zmw_get_wlan_dev bl _zmw_declare_for_critical_section Lloh7: adrp x22, _wd@GOTPAGE Lloh8: ldr x22, [x22, _wd@GOTPAGEOFF] ldr x8, [x22] ldr w8, [x8, #32] cbz w8, LBB0_7 ; %bb.1: mov x0, x20 bl _zmw_enter_critical_section ldr x11, [x22] ldr w8, [x21] ldr w9, [x11, #8] cmn w9, w8 b.mi LBB0_6 ; %bb.2: mov x9, #0 ; =0x0 ldr x8, [x11], #24 mov w10, #51712 ; =0xca00 movk w10, #15258, lsl #16 LBB0_3: ; =>This Loop Header: Depth=1 ; Child Loop BB0_4 Depth 2 ldr x11, [x11] ldr x12, [x11] subs x12, x12, x8 ccmp x12, x10, #0, gt cset w12, lt LBB0_4: ; Parent Loop BB0_3 Depth=1 ; => This Inner Loop Header: Depth=2 tbnz w12, #0, LBB0_4 ; %bb.5: ; in Loop: Header=BB0_3 Depth=1 ldr w12, [x11, #24] str w12, [x19, x9, lsl #2] add x9, x9, #1 add x11, x11, #16 b LBB0_3 LBB0_6: mov x0, x20 bl _zmw_leave_critical_section mov x0, x20 mov x1, x19 mov x2, #0 ; =0x0 bl _zfProcessEvent LBB0_7: ldur x8, [x29, #-40] Lloh9: adrp x9, ___stack_chk_guard@GOTPAGE Lloh10: ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF] Lloh11: ldr x9, [x9] cmp x9, x8 b.ne LBB0_9 ; %bb.8: mov w0, #0 ; =0x0 sub sp, x29, #32 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret LBB0_9: bl ___stack_chk_fail .loh AdrpLdrGot Lloh7, Lloh8 .loh AdrpLdrGot Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11 .loh AdrpLdrGot Lloh5, Lloh6 .cfi_endproc ; -- End function .comm _ZM_MAX_TIMER_COUNT,4,2 ; @ZM_MAX_TIMER_COUNT .comm _wd,8,3 ; @wd .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function buildnames _buildnames: ## @buildnames .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdi, %rbx movq 16(%rdi), %rdi movl $2, %esi callq _lstlen movl %eax, %r14d movq 8(%rbx), %rdi movl $2, %esi callq _lstlen movl %eax, %r15d movq (%rbx), %rdi testq %rdi, %rdi je LBB0_1 ## %bb.2: movl $2, %esi callq _lstlen ## kill: def $eax killed $eax def $rax incl %eax jmp LBB0_3 LBB0_1: xorl %eax, %eax LBB0_3: addl %r15d, %r14d addl %r14d, %eax incl %eax movslq %eax, %r15 movq %r15, %rdi callq _mandoc_malloc movq %rax, %r14 movq $0, -48(%rbp) movq 16(%rbx), %rdx leaq L_.str(%rip), %r12 leaq -48(%rbp), %r13 movq %rax, %rdi movq %r13, %rsi movq %r12, %rcx callq _lstcat movq -48(%rbp), %rax leaq -1(%rax), %rcx movq %rcx, -48(%rbp) movb $40, (%r14,%rax) movq 8(%rbx), %rdx movq %r14, %rdi movq %r13, %rsi movq %r12, %rcx callq _lstcat cmpq $0, (%rbx) je LBB0_5 ## %bb.4: movq -48(%rbp), %rax leaq 1(%rax), %rcx movq %rcx, -48(%rbp) movb $47, (%r14,%rax) movq (%rbx), %rdx leaq L_.str(%rip), %rcx leaq -48(%rbp), %rsi movq %r14, %rdi callq _lstcat LBB0_5: movq -48(%rbp), %rax movb $41, (%r14,%rax) leaq 2(%rax), %rcx movq %rcx, -48(%rbp) movb $0, 1(%r14,%rax) xorl %edi, %edi cmpq %r15, %rcx sete %dil callq _assert movq %r14, %rax addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz ", " .no_dead_strip _buildnames .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function buildnames _buildnames: ; @buildnames .cfi_startproc ; %bb.0: sub sp, sp, #64 stp x22, x21, [sp, #16] ; 16-byte Folded Spill stp x20, x19, [sp, #32] ; 16-byte Folded Spill stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x19, x0 ldr x0, [x0, #16] mov w1, #2 ; =0x2 bl _lstlen mov x20, x0 ldr x0, [x19, #8] mov w1, #2 ; =0x2 bl _lstlen mov x21, x0 ldr x0, [x19] cbz x0, LBB0_2 ; %bb.1: mov w1, #2 ; =0x2 bl _lstlen add w8, w0, #1 b LBB0_3 LBB0_2: mov w8, #0 ; =0x0 LBB0_3: add w9, w20, w21 add w8, w9, w8 add w8, w8, #1 sxtw x21, w8 mov x0, x21 bl _mandoc_malloc mov x20, x0 str xzr, [sp, #8] ldr x2, [x19, #16] Lloh0: adrp x22, l_.str@PAGE Lloh1: add x22, x22, l_.str@PAGEOFF add x1, sp, #8 mov x3, x22 bl _lstcat ldr x8, [sp, #8] sub x9, x8, #1 str x9, [sp, #8] mov w9, #40 ; =0x28 strb w9, [x20, x8] ldr x2, [x19, #8] add x1, sp, #8 mov x0, x20 mov x3, x22 bl _lstcat ldr x8, [x19] cbz x8, LBB0_5 ; %bb.4: ldr x8, [sp, #8] add x9, x8, #1 str x9, [sp, #8] mov w9, #47 ; =0x2f strb w9, [x20, x8] ldr x2, [x19] Lloh2: adrp x3, l_.str@PAGE Lloh3: add x3, x3, l_.str@PAGEOFF add x1, sp, #8 mov x0, x20 bl _lstcat LBB0_5: ldr x8, [sp, #8] add x9, x20, x8 mov w10, #41 ; =0x29 strb w10, [x9] add x8, x8, #2 str x8, [sp, #8] strb wzr, [x9, #1] cmp x8, x21 cset w0, eq bl _assert mov x0, x20 ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload add sp, sp, #64 ret .loh AdrpAdd Lloh0, Lloh1 .loh AdrpAdd Lloh2, Lloh3 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz ", " .no_dead_strip _buildnames .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _copy_msg_party_alerting ## -- Begin function copy_msg_party_alerting .p2align 4, 0x90 _copy_msg_party_alerting: ## @copy_msg_party_alerting .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movq %rsi, %rbx movq %rdi, %r14 movl 24(%rdi), %edi callq _IE_ISGOOD testq %rax, %rax je LBB0_2 ## %bb.1: movl 24(%r14), %eax movl %eax, 24(%rbx) LBB0_2: movl 20(%r14), %edi callq _IE_ISGOOD testq %rax, %rax je LBB0_4 ## %bb.3: movl 20(%r14), %eax movl %eax, 20(%rbx) LBB0_4: movl 16(%r14), %edi callq _IE_ISGOOD testq %rax, %rax je LBB0_6 ## %bb.5: movl 16(%r14), %eax movl %eax, 16(%rbx) LBB0_6: movq _UNI_NUM_IE_GIT@GOTPCREL(%rip), %rax cmpq $0, (%rax) je LBB0_9 ## %bb.7: movq 8(%r14), %rax movl (%rax), %edi callq _IE_ISGOOD testq %rax, %rax je LBB0_9 ## %bb.8: movq 8(%r14), %rax movl (%rax), %eax movq 8(%rbx), %rcx movl %eax, (%rcx) LBB0_9: movl (%r14), %edi callq _IE_ISGOOD testq %rax, %rax je LBB0_11 ## %bb.10: movl (%r14), %eax movl %eax, (%rbx) LBB0_11: popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .comm _UNI_NUM_IE_GIT,8,3 ## @UNI_NUM_IE_GIT .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _copy_msg_party_alerting ; -- Begin function copy_msg_party_alerting .p2align 2 _copy_msg_party_alerting: ; @copy_msg_party_alerting .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x1 mov x20, x0 ldr w0, [x0, #24] bl _IE_ISGOOD cbz x0, LBB0_2 ; %bb.1: ldr w8, [x20, #24] str w8, [x19, #24] LBB0_2: ldr w0, [x20, #20] bl _IE_ISGOOD cbz x0, LBB0_4 ; %bb.3: ldr w8, [x20, #20] str w8, [x19, #20] LBB0_4: ldr w0, [x20, #16] bl _IE_ISGOOD cbz x0, LBB0_6 ; %bb.5: ldr w8, [x20, #16] str w8, [x19, #16] LBB0_6: Lloh0: adrp x8, _UNI_NUM_IE_GIT@GOTPAGE Lloh1: ldr x8, [x8, _UNI_NUM_IE_GIT@GOTPAGEOFF] Lloh2: ldr x8, [x8] cbz x8, LBB0_9 ; %bb.7: ldr x8, [x20, #8] ldr w0, [x8] bl _IE_ISGOOD cbz x0, LBB0_9 ; %bb.8: ldr x8, [x20, #8] ldr w8, [x8] ldr x9, [x19, #8] str w8, [x9] LBB0_9: ldr w0, [x20] bl _IE_ISGOOD cbz x0, LBB0_11 ; %bb.10: ldr w8, [x20] str w8, [x19] LBB0_11: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _UNI_NUM_IE_GIT,8,3 ; @UNI_NUM_IE_GIT .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function unmakemask _unmakemask: ## @unmakemask .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 movq _LUA_MASKCALL@GOTPCREL(%rip), %rcx testl %edi, (%rcx) je LBB0_1 ## %bb.2: movb $99, (%rax) movl $1, %ecx jmp LBB0_3 LBB0_1: xorl %ecx, %ecx LBB0_3: movq _LUA_MASKRET@GOTPCREL(%rip), %rdx testl %edi, (%rdx) je LBB0_5 ## %bb.4: movl %ecx, %edx incl %ecx movb $114, (%rax,%rdx) LBB0_5: movq _LUA_MASKLINE@GOTPCREL(%rip), %rdx testl %edi, (%rdx) je LBB0_7 ## %bb.6: movl %ecx, %edx incl %ecx movb $108, (%rax,%rdx) LBB0_7: movl %ecx, %ecx movb $0, (%rax,%rcx) popq %rbp retq .cfi_endproc ## -- End function .comm _LUA_MASKCALL,4,2 ## @LUA_MASKCALL .comm _LUA_MASKRET,4,2 ## @LUA_MASKRET .comm _LUA_MASKLINE,4,2 ## @LUA_MASKLINE .no_dead_strip _unmakemask .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function unmakemask _unmakemask: ; @unmakemask .cfi_startproc ; %bb.0: Lloh0: adrp x8, _LUA_MASKCALL@GOTPAGE Lloh1: ldr x8, [x8, _LUA_MASKCALL@GOTPAGEOFF] Lloh2: ldr w8, [x8] tst w8, w0 b.eq LBB0_2 ; %bb.1: mov w8, #99 ; =0x63 strb w8, [x1] mov w8, #1 ; =0x1 b LBB0_3 LBB0_2: mov w8, #0 ; =0x0 LBB0_3: Lloh3: adrp x9, _LUA_MASKRET@GOTPAGE Lloh4: ldr x9, [x9, _LUA_MASKRET@GOTPAGEOFF] Lloh5: ldr w9, [x9] tst w9, w0 b.eq LBB0_5 ; %bb.4: mov w9, #114 ; =0x72 strb w9, [x1, w8, uxtw] add w8, w8, #1 LBB0_5: Lloh6: adrp x9, _LUA_MASKLINE@GOTPAGE Lloh7: ldr x9, [x9, _LUA_MASKLINE@GOTPAGEOFF] Lloh8: ldr w9, [x9] tst w9, w0 b.eq LBB0_7 ; %bb.6: mov w9, #108 ; =0x6c strb w9, [x1, w8, uxtw] add w8, w8, #1 LBB0_7: strb wzr, [x1, w8, uxtw] mov x0, x1 ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .cfi_endproc ; -- End function .comm _LUA_MASKCALL,4,2 ; @LUA_MASKCALL .comm _LUA_MASKRET,4,2 ; @LUA_MASKRET .comm _LUA_MASKLINE,4,2 ; @LUA_MASKLINE .no_dead_strip _unmakemask .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function find_poly_deg1_roots _find_poly_deg1_roots: ## @find_poly_deg1_roots .cfi_startproc ## %bb.0: movq (%rsi), %rax cmpl $0, (%rax) je LBB0_1 ## %bb.2: 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 %rsi, %r14 movq %rdi, %r15 callq _GF_N movq (%r15), %rcx movq (%r14), %rdx movslq (%rdx), %rsi subq (%rcx,%rsi,8), %rax movslq 4(%rdx), %rdx addq (%rcx,%rdx,8), %rax movq %r15, %rdi movq %rax, %rsi callq _mod_s movl %eax, (%rbx) movl $1, %eax addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq LBB0_1: xorl %eax, %eax retq .cfi_endproc ## -- End function .no_dead_strip _find_poly_deg1_roots .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function find_poly_deg1_roots _find_poly_deg1_roots: ; @find_poly_deg1_roots .cfi_startproc ; %bb.0: ldr x8, [x1] ldr w8, [x8] cbz w8, LBB0_2 ; %bb.1: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x19, x2 mov x20, x1 mov x21, x0 bl _GF_N ldr x8, [x21] ldr x9, [x20] ldpsw x10, x9, [x9] ldr x10, [x8, x10, lsl #3] sub x10, x0, x10 ldr x8, [x8, x9, lsl #3] add x1, x10, x8 mov x0, x21 bl _mod_s str w0, [x19] mov w0, #1 ; =0x1 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret LBB0_2: mov w0, #0 ; =0x0 ret .cfi_endproc ; -- End function .no_dead_strip _find_poly_deg1_roots .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function imx_scu_init_pm_domains _imx_scu_init_pm_domains: ## @imx_scu_init_pm_domains .cfi_startproc ## %bb.0: cmpl $0, (%rsi) js LBB0_2 .p2align 4, 0x90 LBB0_1: ## =>This Inner Loop Header: Depth=1 jmp LBB0_1 LBB0_2: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $56, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdi, %rbx movq %rsi, %r12 movq 8(%rsi), %r13 movq _GFP_KERNEL@GOTPCREL(%rip), %r14 movl (%r14), %ecx xorl %r15d, %r15d xorl %esi, %esi movl $8, %edx callq _devm_kcalloc movq %rax, -48(%rbp) ## 8-byte Spill testq %rax, %rax je LBB0_3 ## %bb.4: movl (%r14), %edx movq %rbx, %rdi movl $24, %esi callq _devm_kzalloc testq %rax, %rax je LBB0_7 ## %bb.5: movq %rax, -64(%rbp) ## 8-byte Spill movl (%r12), %eax testl %eax, %eax jle LBB0_6 ## %bb.8: xorl %esi, %esi xorl %edi, %edi movq %r12, -80(%rbp) ## 8-byte Spill movq %r13, -72(%rbp) ## 8-byte Spill jmp LBB0_9 .p2align 4, 0x90 LBB0_13: ## in Loop: Header=BB0_9 Depth=1 movq -56(%rbp), %rdi ## 8-byte Reload addq %r14, %rdi movq -80(%rbp), %rdx ## 8-byte Reload movl (%rdx), %eax movq -72(%rbp), %r13 ## 8-byte Reload movq -88(%rbp), %rsi ## 8-byte Reload LBB0_14: ## in Loop: Header=BB0_9 Depth=1 incq %rsi movslq %eax, %rcx cmpq %rcx, %rsi jge LBB0_15 LBB0_9: ## =>This Loop Header: Depth=1 ## Child Loop BB0_11 Depth 2 cmpl $0, (%r13,%rsi,4) jle LBB0_14 ## %bb.10: ## in Loop: Header=BB0_9 Depth=1 movq %rsi, -88(%rbp) ## 8-byte Spill leaq (,%rsi,4), %r12 addq %r13, %r12 movq -48(%rbp), %rax ## 8-byte Reload movq %rdi, -56(%rbp) ## 8-byte Spill leaq (%rax,%rdi,8), %r13 xorl %r14d, %r14d .p2align 4, 0x90 LBB0_11: ## Parent Loop BB0_9 Depth=1 ## => This Inner Loop Header: Depth=2 movq %rbx, %rdi movl %r14d, %esi movq %r12, %rdx callq _imx_scu_add_pm_domain movq %rax, %r15 movq %rax, %rdi callq _IS_ERR_OR_NULL testq %rax, %rax jne LBB0_13 ## %bb.12: ## in Loop: Header=BB0_11 Depth=2 movq %r15, (%r13,%r14,8) movl (%r15), %edx movq %rbx, %rdi leaq L_.str(%rip), %rsi callq _dev_dbg incq %r14 cmpl (%r12), %r14d jl LBB0_11 jmp LBB0_13 LBB0_3: movq _ENOMEM@GOTPCREL(%rip), %rax subl (%rax), %r15d movq %r15, %rax jmp LBB0_16 LBB0_7: movq _ENOMEM@GOTPCREL(%rip), %rcx xorl %eax, %eax subl (%rcx), %eax jmp LBB0_16 LBB0_6: xorl %edi, %edi LBB0_15: movq -48(%rbp), %rax ## 8-byte Reload movq -64(%rbp), %rsi ## 8-byte Reload movq %rax, 16(%rsi) movq %rdi, 8(%rsi) movq _imx_scu_pd_xlate@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, (%rsi) movl (%rbx), %edi callq _of_genpd_add_provider_onecell xorl %eax, %eax LBB0_16: ## 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 _GFP_KERNEL,4,2 ## @GFP_KERNEL .comm _ENOMEM,4,2 ## @ENOMEM .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "added power domain %s\n" .comm _imx_scu_pd_xlate,4,2 ## @imx_scu_pd_xlate .no_dead_strip _imx_scu_init_pm_domains .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function imx_scu_init_pm_domains _imx_scu_init_pm_domains: ; @imx_scu_init_pm_domains .cfi_startproc ; %bb.0: ldr w8, [x1] tbnz w8, #31, LBB0_2 LBB0_1: ; =>This Inner Loop Header: Depth=1 b LBB0_1 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 x20, x1 mov x19, x0 ldr x8, [x1, #8] str x8, [sp, #8] ; 8-byte Folded Spill Lloh0: adrp x22, _GFP_KERNEL@GOTPAGE Lloh1: ldr x22, [x22, _GFP_KERNEL@GOTPAGEOFF] ldr w3, [x22] mov x1, #0 ; =0x0 mov w2, #8 ; =0x8 bl _devm_kcalloc cbz x0, LBB0_13 ; %bb.3: mov x21, x0 ldr w2, [x22] mov x0, x19 mov w1, #24 ; =0x18 bl _devm_kzalloc cbz x0, LBB0_13 ; %bb.4: str x0, [sp] ; 8-byte Folded Spill ldr w8, [x20] cmp w8, #1 b.lt LBB0_14 ; %bb.5: mov x28, #0 ; =0x0 mov x27, #0 ; =0x0 Lloh2: adrp x23, l_.str@PAGE Lloh3: add x23, x23, l_.str@PAGEOFF b LBB0_9 LBB0_6: ; in Loop: Header=BB0_9 Depth=1 mov x22, x27 LBB0_7: ; in Loop: Header=BB0_9 Depth=1 ldr w8, [x20] mov x27, x22 LBB0_8: ; in Loop: Header=BB0_9 Depth=1 add x28, x28, #1 cmp x28, w8, sxtw b.ge LBB0_15 LBB0_9: ; =>This Loop Header: Depth=1 ; Child Loop BB0_11 Depth 2 ldr x9, [sp, #8] ; 8-byte Folded Reload add x24, x9, x28, lsl #2 ldr w9, [x24] cmp w9, #1 b.lt LBB0_8 ; %bb.10: ; in Loop: Header=BB0_9 Depth=1 mov w25, #0 ; =0x0 LBB0_11: ; Parent Loop BB0_9 Depth=1 ; => This Inner Loop Header: Depth=2 mov x0, x19 mov x1, x25 mov x2, x24 bl _imx_scu_add_pm_domain mov x26, x0 bl _IS_ERR_OR_NULL cbnz x0, LBB0_6 ; %bb.12: ; in Loop: Header=BB0_11 Depth=2 add x22, x27, #1 str x26, [x21, x27, lsl #3] ldr w2, [x26] mov x0, x19 mov x1, x23 bl _dev_dbg add w25, w25, #1 ldr w8, [x24] mov x27, x22 cmp w25, w8 b.lt LBB0_11 b LBB0_7 LBB0_13: Lloh4: adrp x8, _ENOMEM@GOTPAGE Lloh5: ldr x8, [x8, _ENOMEM@GOTPAGEOFF] Lloh6: ldr w8, [x8] neg w0, w8 b LBB0_16 LBB0_14: mov x27, #0 ; =0x0 LBB0_15: ldr x1, [sp] ; 8-byte Folded Reload stp x27, x21, [x1, #8] Lloh7: adrp x8, _imx_scu_pd_xlate@GOTPAGE Lloh8: ldr x8, [x8, _imx_scu_pd_xlate@GOTPAGEOFF] Lloh9: ldr w8, [x8] str w8, [x1] ldr w0, [x19] bl _of_genpd_add_provider_onecell mov w0, #0 ; =0x0 LBB0_16: ldp x29, x30, [sp, #96] ; 16-byte Folded Reload ldp x20, x19, [sp, #80] ; 16-byte Folded Reload ldp x22, x21, [sp, #64] ; 16-byte Folded Reload ldp x24, x23, [sp, #48] ; 16-byte Folded Reload ldp x26, x25, [sp, #32] ; 16-byte Folded Reload ldp x28, x27, [sp, #16] ; 16-byte Folded Reload add sp, sp, #112 ret .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpAdd Lloh2, Lloh3 .loh AdrpLdrGotLdr Lloh4, Lloh5, Lloh6 .loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9 .cfi_endproc ; -- End function .comm _GFP_KERNEL,4,2 ; @GFP_KERNEL .comm _ENOMEM,4,2 ; @ENOMEM .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "added power domain %s\n" .comm _imx_scu_pd_xlate,4,2 ; @imx_scu_pd_xlate .no_dead_strip _imx_scu_init_pm_domains .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function do_composition _do_composition: ## @do_composition .cfi_startproc ## %bb.0: 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, %r15 movq %r8, -128(%rbp) ## 8-byte Spill movq %rcx, -104(%rbp) ## 8-byte Spill movq %rdx, -136(%rbp) ## 8-byte Spill movq %rsi, -80(%rbp) ## 8-byte Spill movq %rdi, -144(%rbp) ## 8-byte Spill movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -48(%rbp) movq _U8_STREAM_SAFE_TEXT_MAX@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 _U8_MB_CUR_MAX@GOTPCREL(%rip), %rax movl (%rax), %eax shlq $3, %rax callq ____chkstk_darwin addq $15, %rax andq $-16, %rax subq %rax, %rsp movq %rsp, -88(%rbp) ## 8-byte Spill movq _U8_MAX_CHARS_A_SEQ@GOTPCREL(%rip), %rax movslq (%rax), %rbx movl %ebx, %eax shlq $3, %rax callq ____chkstk_darwin addq $15, %rax andq $-16, %rax subq %rax, %rsp movq %rsp, -112(%rbp) ## 8-byte Spill cmpq %r15, %rbx ja LBB0_2 ## %bb.1: movq _U8_UPPER_LIMIT_IN_A_SEQ@GOTPCREL(%rip), %rax movq (%rax), %r15 LBB0_2: movq $0, -56(%rbp) ## 8-byte Folded Spill ## implicit-def: $eax ## kill: killed $eax ## implicit-def: $eax ## kill: killed $eax xorl %r13d, %r13d movq %r14, -96(%rbp) ## 8-byte Spill movq -88(%rbp), %rdi ## 8-byte Reload movq %r15, -64(%rbp) ## 8-byte Spill movq -104(%rbp), %rbx ## 8-byte Reload jmp LBB0_3 .p2align 4, 0x90 LBB0_57: ## in Loop: Header=BB0_3 Depth=1 movq %r14, %r13 movq %rbx, -56(%rbp) ## 8-byte Spill movq -96(%rbp), %r14 ## 8-byte Reload LBB0_58: ## in Loop: Header=BB0_3 Depth=1 movq -64(%rbp), %r15 ## 8-byte Reload LBB0_59: ## in Loop: Header=BB0_3 Depth=1 incq %r13 cmpq %r15, %r13 movq -104(%rbp), %rbx ## 8-byte Reload ja LBB0_60 LBB0_3: ## =>This Loop Header: Depth=1 ## Child Loop BB0_17 Depth 2 ## Child Loop BB0_18 Depth 3 ## Child Loop BB0_20 Depth 4 ## Child Loop BB0_22 Depth 5 ## Child Loop BB0_32 Depth 5 ## Child Loop BB0_34 Depth 5 ## Child Loop BB0_29 Depth 4 ## Child Loop BB0_43 Depth 4 ## Child Loop BB0_54 Depth 2 cmpq %r15, %r13 jb LBB0_7 ## %bb.4: ## in Loop: Header=BB0_3 Depth=1 movq -136(%rbp), %rax ## 8-byte Reload movq (%rax,%r13,8), %rax movq _U8_COMBINING_CLASS_STARTER@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax jne LBB0_5 LBB0_7: ## in Loop: Header=BB0_3 Depth=1 movq (%rbx,%r13,8), %rax movq -80(%rbp), %rcx ## 8-byte Reload movq (%rcx,%rax,8), %rsi movq _U8_HANGUL_JAMO_1ST_BYTE@GOTPCREL(%rip), %rcx cmpq (%rcx), %rsi jne LBB0_14 ## %bb.8: ## in Loop: Header=BB0_3 Depth=1 movq -80(%rbp), %r12 ## 8-byte Reload movq 8(%r12,%rax,8), %rdx movq 16(%r12,%rax,8), %rcx movq %r14, %r15 movl -68(%rbp), %r14d ## 4-byte Reload movl %r14d, %edi callq _U8_PUT_3BYTES_INTO_UTF32 movq (%rbx,%r13,8), %rax movq 24(%r12,%rax,8), %rsi movq 32(%r12,%rax,8), %rdx movq 40(%r12,%rax,8), %rcx movl -116(%rbp), %edi ## 4-byte Reload callq _U8_PUT_3BYTES_INTO_UTF32 movl %r14d, %edi movq %r15, %r14 movq -64(%rbp), %r15 ## 8-byte Reload callq _U8_HANGUL_JAMO_L testq %rax, %rax je LBB0_14 ## %bb.9: ## in Loop: Header=BB0_3 Depth=1 movl -116(%rbp), %edi ## 4-byte Reload callq _U8_HANGUL_JAMO_V testq %rax, %rax je LBB0_14 ## %bb.10: ## in Loop: Header=BB0_3 Depth=1 movq _U8_HANGUL_JAMO_L_FIRST@GOTPCREL(%rip), %rax movl -68(%rbp), %ecx ## 4-byte Reload subl (%rax), %ecx movq _U8_HANGUL_JAMO_V_FIRST@GOTPCREL(%rip), %rax movl -116(%rbp), %edi ## 4-byte Reload subl (%rax), %edi movq _U8_HANGUL_V_COUNT@GOTPCREL(%rip), %rax imull (%rax), %ecx addl %edi, %ecx movq _U8_HANGUL_T_COUNT@GOTPCREL(%rip), %rax imull (%rax), %ecx movq _U8_HANGUL_SYL_FIRST@GOTPCREL(%rip), %rax addl (%rax), %ecx movl %ecx, -68(%rbp) ## 4-byte Spill leaq 2(%r13), %rbx cmpq %r15, %rbx movl %edi, -116(%rbp) ## 4-byte Spill ja LBB0_13 ## %bb.11: ## in Loop: Header=BB0_3 Depth=1 movq -104(%rbp), %rax ## 8-byte Reload movq 16(%rax,%r13,8), %rax movq -80(%rbp), %rcx ## 8-byte Reload movq (%rcx,%rax,8), %rsi movq 8(%rcx,%rax,8), %rdx movq 16(%rcx,%rax,8), %rcx movl %edi, %r15d callq _U8_PUT_3BYTES_INTO_UTF32 movl %r15d, %edi callq _U8_HANGUL_JAMO_T testq %rax, %rax je LBB0_13 ## %bb.12: ## in Loop: Header=BB0_3 Depth=1 movl -68(%rbp), %ecx ## 4-byte Reload addl %r15d, %ecx movq _U8_HANGUL_JAMO_T_FIRST@GOTPCREL(%rip), %rax subl (%rax), %ecx movl %ecx, -68(%rbp) ## 4-byte Spill addq $3, %r13 movq %r13, %rbx LBB0_13: ## in Loop: Header=BB0_3 Depth=1 movq -56(%rbp), %r15 ## 8-byte Reload leaq (%r14,%r15,8), %rdi xorl %esi, %esi movl $1, %edx movl $2, %ecx movl -68(%rbp), %r8d ## 4-byte Reload callq _U8_SAVE_HANGUL_AS_UTF8 decq %rbx addq $3, %r15 movq %r15, -56(%rbp) ## 8-byte Spill movq %rbx, %r13 movq -88(%rbp), %rdi ## 8-byte Reload jmp LBB0_58 .p2align 4, 0x90 LBB0_14: ## in Loop: Header=BB0_3 Depth=1 movq (%rbx,%r13,8), %rax movq -80(%rbp), %rcx ## 8-byte Reload leaq (%rcx,%rax,8), %rsi movq -128(%rbp), %rax ## 8-byte Reload movq (%rax,%r13,8), %rdx movq -144(%rbp), %rdi ## 8-byte Reload callq _find_composition_start testq %rax, %rax je LBB0_16 ## %bb.15: ## in Loop: Header=BB0_3 Depth=1 movq -88(%rbp), %rdi ## 8-byte Reload LBB0_5: ## in Loop: Header=BB0_3 Depth=1 movq -128(%rbp), %rax ## 8-byte Reload movq (%rax,%r13,8), %rbx testq %rbx, %rbx je LBB0_59 ## %bb.6: ## in Loop: Header=BB0_3 Depth=1 movq -104(%rbp), %rax ## 8-byte Reload movq (%rax,%r13,8), %rax movq -80(%rbp), %rcx ## 8-byte Reload leaq (%rcx,%rax,8), %rsi movq -56(%rbp), %r15 ## 8-byte Reload leaq (%r14,%r15,8), %rdi leaq (,%rbx,8), %rdx callq _memcpy movq -88(%rbp), %rdi ## 8-byte Reload addq %rbx, %r15 movq %r15, -56(%rbp) ## 8-byte Spill jmp LBB0_58 .p2align 4, 0x90 LBB0_16: ## in Loop: Header=BB0_3 Depth=1 movq -56(%rbp), %rbx ## 8-byte Reload leaq (%r14,%rbx,8), %rax movq %rax, -152(%rbp) ## 8-byte Spill xorl %r15d, %r15d xorl %eax, %eax movq %r13, %r14 LBB0_17: ## Parent Loop BB0_3 Depth=1 ## => This Loop Header: Depth=2 ## Child Loop BB0_18 Depth 3 ## Child Loop BB0_20 Depth 4 ## Child Loop BB0_22 Depth 5 ## Child Loop BB0_32 Depth 5 ## Child Loop BB0_34 Depth 5 ## Child Loop BB0_29 Depth 4 ## Child Loop BB0_43 Depth 4 leaq 8(%rax), %rcx movq %rcx, -176(%rbp) ## 8-byte Spill movq %r14, %r12 movq %rax, -168(%rbp) ## 8-byte Spill LBB0_18: ## Parent Loop BB0_3 Depth=1 ## Parent Loop BB0_17 Depth=2 ## => This Loop Header: Depth=3 ## Child Loop BB0_20 Depth 4 ## Child Loop BB0_22 Depth 5 ## Child Loop BB0_32 Depth 5 ## Child Loop BB0_34 Depth 5 ## Child Loop BB0_29 Depth 4 ## Child Loop BB0_43 Depth 4 movq _B_TRUE@GOTPCREL(%rip), %rcx movq (%rcx), %r8 movq (%rax), %rdi testq %rdi, %rdi je LBB0_37 ## %bb.19: ## in Loop: Header=BB0_18 Depth=3 movq %r8, -160(%rbp) ## 8-byte Spill movq -104(%rbp), %rcx ## 8-byte Reload movq 8(%rcx,%r12,8), %rcx movq -80(%rbp), %rax ## 8-byte Reload leaq (%rax,%rcx,8), %r8 movq -128(%rbp), %rcx ## 8-byte Reload movq 8(%rcx,%r12,8), %r9 movq _U8_TBL_ELEMENT_FILLER@GOTPCREL(%rip), %rcx movq (%rcx), %rdx leaq (,%r9,8), %r10 movq -176(%rbp), %rsi ## 8-byte Reload .p2align 4, 0x90 LBB0_20: ## Parent Loop BB0_3 Depth=1 ## Parent Loop BB0_17 Depth=2 ## Parent Loop BB0_18 Depth=3 ## => This Loop Header: Depth=4 ## Child Loop BB0_22 Depth 5 ## Child Loop BB0_32 Depth 5 ## Child Loop BB0_34 Depth 5 testq %r9, %r9 je LBB0_25 ## %bb.21: ## in Loop: Header=BB0_20 Depth=4 leaq (%rsi,%r10), %r11 xorl %r14d, %r14d .p2align 4, 0x90 LBB0_22: ## Parent Loop BB0_3 Depth=1 ## Parent Loop BB0_17 Depth=2 ## Parent Loop BB0_18 Depth=3 ## Parent Loop BB0_20 Depth=4 ## => This Inner Loop Header: Depth=5 movq (%rsi), %rcx cmpq (%r8,%r14,8), %rcx jne LBB0_30 ## %bb.23: ## in Loop: Header=BB0_22 Depth=5 addq $8, %rsi incq %r14 cmpq %r14, %r9 jne LBB0_22 ## %bb.24: ## in Loop: Header=BB0_20 Depth=4 movq %r11, %rsi LBB0_25: ## in Loop: Header=BB0_20 Depth=4 movq (%rsi), %rcx cmpq %rdx, %rcx je LBB0_26 LBB0_30: ## in Loop: Header=BB0_20 Depth=4 cmpq %rdx, %rcx jne LBB0_32 ## %bb.31: ## in Loop: Header=BB0_20 Depth=4 movq %rsi, %rcx jmp LBB0_33 .p2align 4, 0x90 LBB0_32: ## Parent Loop BB0_3 Depth=1 ## Parent Loop BB0_17 Depth=2 ## Parent Loop BB0_18 Depth=3 ## Parent Loop BB0_20 Depth=4 ## => This Inner Loop Header: Depth=5 leaq 8(%rsi), %rcx cmpq %rdx, 8(%rsi) movq %rcx, %rsi jne LBB0_32 LBB0_33: ## in Loop: Header=BB0_20 Depth=4 addq $8, %rcx movq %rcx, %rsi .p2align 4, 0x90 LBB0_34: ## Parent Loop BB0_3 Depth=1 ## Parent Loop BB0_17 Depth=2 ## Parent Loop BB0_18 Depth=3 ## Parent Loop BB0_20 Depth=4 ## => This Inner Loop Header: Depth=5 movq %rsi, %rcx addq $8, %rsi cmpq %rdx, (%rcx) jne LBB0_34 ## %bb.35: ## in Loop: Header=BB0_20 Depth=4 decq %rdi jne LBB0_20 ## %bb.36: ## in Loop: Header=BB0_18 Depth=3 movq -160(%rbp), %r8 ## 8-byte Reload jmp LBB0_37 .p2align 4, 0x90 LBB0_26: ## in Loop: Header=BB0_18 Depth=3 movq _B_FALSE@GOTPCREL(%rip), %rcx movq (%rcx), %r8 movq 8(%rsi), %rdi cmpq %rdx, %rdi jne LBB0_28 ## %bb.27: ## in Loop: Header=BB0_18 Depth=3 movq -56(%rbp), %rbx ## 8-byte Reload jmp LBB0_37 LBB0_28: ## in Loop: Header=BB0_18 Depth=3 addq $16, %rsi movq -56(%rbp), %rbx ## 8-byte Reload movq -96(%rbp), %rcx ## 8-byte Reload .p2align 4, 0x90 LBB0_29: ## Parent Loop BB0_3 Depth=1 ## Parent Loop BB0_17 Depth=2 ## Parent Loop BB0_18 Depth=3 ## => This Inner Loop Header: Depth=4 movq %rdi, (%rcx,%rbx,8) incq %rbx movq (%rsi), %rdi addq $8, %rsi cmpq %rdx, %rdi jne LBB0_29 .p2align 4, 0x90 LBB0_37: ## in Loop: Header=BB0_18 Depth=3 leaq 1(%r12), %r14 testq %r8, %r8 movq -88(%rbp), %rdi ## 8-byte Reload je LBB0_41 ## %bb.38: ## in Loop: Header=BB0_18 Depth=3 movq -136(%rbp), %rcx ## 8-byte Reload movq 8(%rcx,%r12,8), %rcx movq _U8_COMBINING_CLASS_STARTER@GOTPCREL(%rip), %rdx cmpq (%rdx), %rcx je LBB0_39 ## %bb.40: ## in Loop: Header=BB0_18 Depth=3 movq -112(%rbp), %rax ## 8-byte Reload movq %r14, (%rax,%r15,8) incq %r15 LBB0_41: ## in Loop: Header=BB0_18 Depth=3 movq %rbx, %rdx subq -56(%rbp), %rdx ## 8-byte Folded Reload jne LBB0_49 ## %bb.42: ## in Loop: Header=BB0_18 Depth=3 cmpq -64(%rbp), %r14 ## 8-byte Folded Reload jae LBB0_47 .p2align 4, 0x90 LBB0_43: ## Parent Loop BB0_3 Depth=1 ## Parent Loop BB0_17 Depth=2 ## Parent Loop BB0_18 Depth=3 ## => This Inner Loop Header: Depth=4 leaq 1(%r14), %rbx movq -136(%rbp), %rdi ## 8-byte Reload movq %rbx, %rsi callq _blocked testq %rax, %rax je LBB0_44 ## %bb.45: ## in Loop: Header=BB0_43 Depth=4 movq -112(%rbp), %rax ## 8-byte Reload movq %rbx, (%rax,%r15,8) incq %r15 movq %rbx, %r14 cmpq %rbx, -64(%rbp) ## 8-byte Folded Reload jne LBB0_43 jmp LBB0_46 .p2align 4, 0x90 LBB0_44: ## in Loop: Header=BB0_18 Depth=3 movq %r14, %r12 movq -56(%rbp), %rbx ## 8-byte Reload movq -168(%rbp), %rax ## 8-byte Reload jmp LBB0_18 LBB0_49: ## in Loop: Header=BB0_17 Depth=2 cmpq -64(%rbp), %r14 ## 8-byte Folded Reload jae LBB0_52 ## %bb.50: ## in Loop: Header=BB0_17 Depth=2 movq -144(%rbp), %rdi ## 8-byte Reload movq -152(%rbp), %rsi ## 8-byte Reload callq _find_composition_start testq %rax, %rax jne LBB0_17 jmp LBB0_52 .p2align 4, 0x90 LBB0_46: ## in Loop: Header=BB0_3 Depth=1 movq -64(%rbp), %r14 ## 8-byte Reload LBB0_47: ## in Loop: Header=BB0_3 Depth=1 movq -128(%rbp), %rax ## 8-byte Reload movq (%rax,%r13,8), %rbx testq %rbx, %rbx je LBB0_48 ## %bb.51: ## in Loop: Header=BB0_3 Depth=1 movq -104(%rbp), %rax ## 8-byte Reload movq (%rax,%r13,8), %rax movq -80(%rbp), %rcx ## 8-byte Reload leaq (%rcx,%rax,8), %rsi leaq (,%rbx,8), %rdx movq -152(%rbp), %rdi ## 8-byte Reload callq _memcpy movq -56(%rbp), %rax ## 8-byte Reload addq %rbx, %rax movq %rax, %rbx jmp LBB0_52 LBB0_48: ## in Loop: Header=BB0_3 Depth=1 movq -56(%rbp), %rbx ## 8-byte Reload LBB0_52: ## in Loop: Header=BB0_3 Depth=1 testq %r15, %r15 movq -88(%rbp), %rdi ## 8-byte Reload je LBB0_57 ## %bb.53: ## in Loop: Header=BB0_3 Depth=1 xorl %r13d, %r13d jmp LBB0_54 .p2align 4, 0x90 LBB0_56: ## in Loop: Header=BB0_54 Depth=2 incq %r13 cmpq %r13, %r15 je LBB0_57 LBB0_54: ## Parent Loop BB0_3 Depth=1 ## => This Inner Loop Header: Depth=2 movq -112(%rbp), %rax ## 8-byte Reload movq (%rax,%r13,8), %rax movq -128(%rbp), %rcx ## 8-byte Reload movq (%rcx,%rax,8), %r12 testq %r12, %r12 je LBB0_56 ## %bb.55: ## in Loop: Header=BB0_54 Depth=2 movq -104(%rbp), %rcx ## 8-byte Reload movq (%rcx,%rax,8), %rax movq -80(%rbp), %rcx ## 8-byte Reload leaq (%rcx,%rax,8), %rsi movq -96(%rbp), %rax ## 8-byte Reload leaq (%rax,%rbx,8), %rdi leaq (,%r12,8), %rdx callq _memcpy movq -88(%rbp), %rdi ## 8-byte Reload addq %r12, %rbx jmp LBB0_56 LBB0_39: ## in Loop: Header=BB0_3 Depth=1 movq %r12, %r13 movq %rbx, -56(%rbp) ## 8-byte Spill movq -96(%rbp), %r14 ## 8-byte Reload movq -64(%rbp), %r15 ## 8-byte Reload jmp LBB0_5 LBB0_60: movq -136(%rbp), %rax ## 8-byte Reload movq (%rax,%r15,8), %rax movq _U8_COMBINING_CLASS_STARTER@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax jne LBB0_98 ## %bb.61: movq 16(%rbp), %rax movq (%rax), %rbx movq -56(%rbp), %rcx ## 8-byte Reload movq -128(%rbp), %rax ## 8-byte Reload subq (%rax,%r15,8), %rcx movq %rcx, -112(%rbp) ## 8-byte Spill leaq (%r14,%rcx,8), %rax movq %rax, -64(%rbp) ## 8-byte Spill movq -88(%rbp), %r15 ## 8-byte Reload jmp LBB0_62 LBB0_86: ## in Loop: Header=BB0_62 Depth=1 movq -112(%rbp), %rax ## 8-byte Reload movq %rax, -56(%rbp) ## 8-byte Spill .p2align 4, 0x90 LBB0_96: ## in Loop: Header=BB0_62 Depth=1 testq %rcx, %rcx movq -88(%rbp), %rdi ## 8-byte Reload jne LBB0_97 LBB0_62: ## =>This Loop Header: Depth=1 ## Child Loop BB0_69 Depth 2 ## Child Loop BB0_72 Depth 2 ## Child Loop BB0_74 Depth 2 ## Child Loop BB0_78 Depth 2 ## Child Loop BB0_79 Depth 3 ## Child Loop BB0_92 Depth 3 ## Child Loop BB0_94 Depth 3 ## Child Loop BB0_88 Depth 2 movq %rbx, %r13 cmpq 24(%rbp), %rbx jae LBB0_97 ## %bb.63: ## in Loop: Header=BB0_62 Depth=1 movq _u8_number_of_bytes@GOTPCREL(%rip), %rax movq (%rax), %rax movq (%r13), %rcx movq (%rax,%rcx,8), %r14 cmpq $2, %r14 jb LBB0_97 ## %bb.64: ## in Loop: Header=BB0_62 Depth=1 leaq (,%r14,8), %rax addq %r13, %rax cmpq 24(%rbp), %rax ja LBB0_97 ## %bb.65: ## in Loop: Header=BB0_62 Depth=1 cmpq $4, %r14 jb LBB0_66 ## %bb.67: ## in Loop: Header=BB0_62 Depth=1 movq %rdi, %rcx subq %r13, %rcx movl $0, %eax movq %r13, %rbx cmpq $32, %rcx jb LBB0_71 ## %bb.68: ## in Loop: Header=BB0_62 Depth=1 movq %r14, %rax andq $-4, %rax leaq (,%rax,8), %rbx addq %r13, %rbx xorl %ecx, %ecx .p2align 4, 0x90 LBB0_69: ## Parent Loop BB0_62 Depth=1 ## => This Inner Loop Header: Depth=2 movups (%r13,%rcx,8), %xmm0 movups 16(%r13,%rcx,8), %xmm1 movaps %xmm0, (%rdi,%rcx,8) movaps %xmm1, 16(%rdi,%rcx,8) addq $4, %rcx cmpq %rcx, %rax jne LBB0_69 ## %bb.70: ## in Loop: Header=BB0_62 Depth=1 cmpq %rax, %r14 jne LBB0_71 jmp LBB0_75 .p2align 4, 0x90 LBB0_66: ## in Loop: Header=BB0_62 Depth=1 xorl %eax, %eax movq %r13, %rbx LBB0_71: ## in Loop: Header=BB0_62 Depth=1 movq %r14, %rdx movq %rax, %rcx andq $3, %rdx je LBB0_73 .p2align 4, 0x90 LBB0_72: ## Parent Loop BB0_62 Depth=1 ## => This Inner Loop Header: Depth=2 movq (%rbx), %rsi addq $8, %rbx movq %rsi, (%rdi,%rcx,8) incq %rcx decq %rdx jne LBB0_72 LBB0_73: ## in Loop: Header=BB0_62 Depth=1 subq %r14, %rax cmpq $-4, %rax ja LBB0_75 .p2align 4, 0x90 LBB0_74: ## Parent Loop BB0_62 Depth=1 ## => This Inner Loop Header: Depth=2 movq (%rbx), %rax movq %rax, (%rdi,%rcx,8) movq 8(%rbx), %rax movq %rax, 8(%rdi,%rcx,8) movq 16(%rbx), %rax movq %rax, 16(%rdi,%rcx,8) movq 24(%rbx), %rax addq $32, %rbx movq %rax, 24(%rdi,%rcx,8) addq $4, %rcx cmpq %rcx, %r14 jne LBB0_74 LBB0_75: ## in Loop: Header=BB0_62 Depth=1 movq -56(%rbp), %rdx ## 8-byte Reload subq -112(%rbp), %rdx ## 8-byte Folded Reload movq -144(%rbp), %rdi ## 8-byte Reload movq -64(%rbp), %rsi ## 8-byte Reload callq _find_composition_start testq %rax, %rax je LBB0_97 ## %bb.76: ## in Loop: Header=BB0_62 Depth=1 movq _B_TRUE@GOTPCREL(%rip), %rcx movq (%rcx), %rcx movq (%rax), %rdi testq %rdi, %rdi je LBB0_96 ## %bb.77: ## in Loop: Header=BB0_62 Depth=1 addq $8, %rax movq _U8_TBL_ELEMENT_FILLER@GOTPCREL(%rip), %rdx movq (%rdx), %rdx leaq (,%r14,8), %rsi .p2align 4, 0x90 LBB0_78: ## Parent Loop BB0_62 Depth=1 ## => This Loop Header: Depth=2 ## Child Loop BB0_79 Depth 3 ## Child Loop BB0_92 Depth 3 ## Child Loop BB0_94 Depth 3 leaq (%rax,%rsi), %r9 xorl %r10d, %r10d movq %rax, %r8 .p2align 4, 0x90 LBB0_79: ## Parent Loop BB0_62 Depth=1 ## Parent Loop BB0_78 Depth=2 ## => This Inner Loop Header: Depth=3 movq (%r8), %r11 cmpq (%r15,%r10,8), %r11 jne LBB0_83 ## %bb.80: ## in Loop: Header=BB0_79 Depth=3 addq $8, %r8 incq %r10 cmpq %r10, %r14 jne LBB0_79 ## %bb.81: ## in Loop: Header=BB0_78 Depth=2 movq (%r9), %r11 cmpq %rdx, %r11 je LBB0_85 ## %bb.82: ## in Loop: Header=BB0_78 Depth=2 movq %r9, %r8 LBB0_83: ## in Loop: Header=BB0_78 Depth=2 cmpq %rdx, %r11 jne LBB0_92 ## %bb.84: ## in Loop: Header=BB0_78 Depth=2 movq %r8, %rax jmp LBB0_93 .p2align 4, 0x90 LBB0_92: ## Parent Loop BB0_62 Depth=1 ## Parent Loop BB0_78 Depth=2 ## => This Inner Loop Header: Depth=3 leaq 8(%r8), %rax cmpq %rdx, 8(%r8) movq %rax, %r8 jne LBB0_92 LBB0_93: ## in Loop: Header=BB0_78 Depth=2 addq $8, %rax .p2align 4, 0x90 LBB0_94: ## Parent Loop BB0_62 Depth=1 ## Parent Loop BB0_78 Depth=2 ## => This Inner Loop Header: Depth=3 movq %rax, %r8 addq $8, %rax cmpq %rdx, (%r8) jne LBB0_94 ## %bb.95: ## in Loop: Header=BB0_78 Depth=2 decq %rdi jne LBB0_78 jmp LBB0_96 LBB0_85: ## in Loop: Header=BB0_62 Depth=1 movq _B_FALSE@GOTPCREL(%rip), %rcx movq (%rcx), %rcx movq 8(%r9), %rdi cmpq %rdx, %rdi je LBB0_86 ## %bb.87: ## in Loop: Header=BB0_62 Depth=1 movq _U8_STREAM_SAFE_TEXT_MAX@GOTPCREL(%rip), %r8 movslq (%r8), %r8 addq %rsi, %rax addq $16, %rax movq -112(%rbp), %r9 ## 8-byte Reload .p2align 4, 0x90 LBB0_88: ## Parent Loop BB0_62 Depth=1 ## => This Inner Loop Header: Depth=2 cmpq %r8, %r9 jae LBB0_89 ## %bb.90: ## in Loop: Header=BB0_88 Depth=2 movq -96(%rbp), %rsi ## 8-byte Reload movq %rdi, (%rsi,%r9,8) incq %r9 movq (%rax), %rdi addq $8, %rax cmpq %rdx, %rdi jne LBB0_88 ## %bb.91: ## in Loop: Header=BB0_62 Depth=1 movq %r9, -56(%rbp) ## 8-byte Spill jmp LBB0_96 LBB0_89: movq %r9, -56(%rbp) ## 8-byte Spill LBB0_97: movq 16(%rbp), %rax movq %r13, (%rax) movq -96(%rbp), %r14 ## 8-byte Reload LBB0_98: movq -56(%rbp), %rbx ## 8-byte Reload testq %rbx, %rbx je LBB0_100 ## %bb.99: leaq (,%rbx,8), %rdx movq -80(%rbp), %rdi ## 8-byte Reload movq %r14, %rsi callq _memcpy LBB0_100: movq -80(%rbp), %rax ## 8-byte Reload movq $0, (%rax,%rbx,8) movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax cmpq -48(%rbp), %rax jne LBB0_102 ## %bb.101: movq %rbx, %rax leaq -40(%rbp), %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_102: callq ___stack_chk_fail .cfi_endproc ## -- End function .comm _U8_STREAM_SAFE_TEXT_MAX,4,2 ## @U8_STREAM_SAFE_TEXT_MAX .comm _U8_MB_CUR_MAX,4,2 ## @U8_MB_CUR_MAX .comm _U8_MAX_CHARS_A_SEQ,4,2 ## @U8_MAX_CHARS_A_SEQ .comm _B_TRUE,8,3 ## @B_TRUE .comm _U8_UPPER_LIMIT_IN_A_SEQ,8,3 ## @U8_UPPER_LIMIT_IN_A_SEQ .comm _U8_COMBINING_CLASS_STARTER,8,3 ## @U8_COMBINING_CLASS_STARTER .comm _U8_HANGUL_JAMO_1ST_BYTE,8,3 ## @U8_HANGUL_JAMO_1ST_BYTE .comm _U8_HANGUL_JAMO_L_FIRST,8,3 ## @U8_HANGUL_JAMO_L_FIRST .comm _U8_HANGUL_JAMO_V_FIRST,8,3 ## @U8_HANGUL_JAMO_V_FIRST .comm _U8_HANGUL_SYL_FIRST,4,2 ## @U8_HANGUL_SYL_FIRST .comm _U8_HANGUL_V_COUNT,4,2 ## @U8_HANGUL_V_COUNT .comm _U8_HANGUL_T_COUNT,4,2 ## @U8_HANGUL_T_COUNT .comm _U8_HANGUL_JAMO_T_FIRST,4,2 ## @U8_HANGUL_JAMO_T_FIRST .comm _U8_TBL_ELEMENT_FILLER,8,3 ## @U8_TBL_ELEMENT_FILLER .comm _B_FALSE,8,3 ## @B_FALSE .comm _u8_number_of_bytes,8,3 ## @u8_number_of_bytes .no_dead_strip _do_composition .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function do_composition _do_composition: ; @do_composition .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, #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 stp x7, x6, [x29, #-184] ; 16-byte Folded Spill mov x25, x4 mov x22, x3 mov x26, x2 mov x23, x1 Lloh0: adrp x8, ___stack_chk_guard@GOTPAGE Lloh1: ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] Lloh2: ldr x8, [x8] Lloh3: adrp x9, _U8_STREAM_SAFE_TEXT_MAX@GOTPAGE Lloh4: ldr x9, [x9, _U8_STREAM_SAFE_TEXT_MAX@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 x21, x9, x8 mov sp, x21 Lloh8: adrp x8, _U8_MB_CUR_MAX@GOTPAGE Lloh9: ldr x8, [x8, _U8_MB_CUR_MAX@GOTPAGEOFF] Lloh10: ldr w8, [x8] lsl x8, x8, #3 mov x9, x8 Lloh11: adrp x16, ___chkstk_darwin@GOTPAGE Lloh12: ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF] blr x16 mov x9, sp add x8, x8, #15 and x8, x8, #0xffffffff0 sub x8, x9, x8 stur x8, [x29, #-168] ; 8-byte Folded Spill mov sp, x8 Lloh13: adrp x8, _U8_MAX_CHARS_A_SEQ@GOTPAGE Lloh14: ldr x8, [x8, _U8_MAX_CHARS_A_SEQ@GOTPAGEOFF] Lloh15: ldrsw x12, [x8] mov w8, w12 lsl x8, x8, #3 mov x9, x8 Lloh16: adrp x16, ___chkstk_darwin@GOTPAGE Lloh17: ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF] blr x16 mov x9, sp add x8, x8, #15 and x8, x8, #0xffffffff0 sub x28, x9, x8 mov sp, x28 stur xzr, [x29, #-120] ; 8-byte Folded Spill mov x19, #0 ; =0x0 Lloh18: adrp x8, _U8_UPPER_LIMIT_IN_A_SEQ@GOTPAGE Lloh19: ldr x8, [x8, _U8_UPPER_LIMIT_IN_A_SEQ@GOTPAGEOFF] Lloh20: ldr x8, [x8] cmp x12, x5 csel x20, x5, x8, hi ; implicit-def: $w8 ; kill: killed $w8 ; implicit-def: $w24 stp x3, x21, [x29, #-104] ; 16-byte Folded Spill stur x0, [x29, #-160] ; 8-byte Folded Spill stur x1, [x29, #-112] ; 8-byte Folded Spill stur x20, [x29, #-144] ; 8-byte Folded Spill b LBB0_3 LBB0_1: ; in Loop: Header=BB0_3 Depth=1 ldr x8, [x22, x19, lsl #3] add x1, x23, x8, lsl #3 ldur x22, [x29, #-96] ; 8-byte Folded Reload mov x27, x0 mov x20, x28 mov x28, x26 mov x26, x24 mov x24, x25 mov x25, x23 ldur x23, [x29, #-120] ; 8-byte Folded Reload add x0, x22, x23, lsl #3 lsl x2, x21, #3 bl _memcpy mov x0, x27 add x23, x23, x21 stur x23, [x29, #-120] ; 8-byte Folded Spill mov x23, x25 mov x25, x24 mov x24, x26 mov x26, x28 mov x28, x20 ldur x20, [x29, #-144] ; 8-byte Folded Reload mov x21, x22 ldur x22, [x29, #-104] ; 8-byte Folded Reload LBB0_2: ; in Loop: Header=BB0_3 Depth=1 add x19, x19, #1 cmp x19, x20 b.hi LBB0_60 LBB0_3: ; =>This Loop Header: Depth=1 ; Child Loop BB0_15 Depth 2 ; Child Loop BB0_16 Depth 3 ; Child Loop BB0_18 Depth 4 ; Child Loop BB0_20 Depth 5 ; Child Loop BB0_25 Depth 5 ; Child Loop BB0_27 Depth 5 ; Child Loop BB0_32 Depth 4 ; Child Loop BB0_38 Depth 4 ; Child Loop BB0_51 Depth 2 cmp x19, x20 b.lo LBB0_5 ; %bb.4: ; in Loop: Header=BB0_3 Depth=1 ldr x8, [x26, x19, lsl #3] Lloh21: adrp x9, _U8_COMBINING_CLASS_STARTER@GOTPAGE Lloh22: ldr x9, [x9, _U8_COMBINING_CLASS_STARTER@GOTPAGEOFF] Lloh23: ldr x9, [x9] cmp x8, x9 b.ne LBB0_12 LBB0_5: ; in Loop: Header=BB0_3 Depth=1 mov x21, x0 ldr x8, [x22, x19, lsl #3] add x8, x23, x8, lsl #3 ldr x1, [x8] Lloh24: adrp x9, _U8_HANGUL_JAMO_1ST_BYTE@GOTPAGE Lloh25: ldr x9, [x9, _U8_HANGUL_JAMO_1ST_BYTE@GOTPAGEOFF] Lloh26: ldr x9, [x9] cmp x1, x9 b.ne LBB0_10 ; %bb.6: ; in Loop: Header=BB0_3 Depth=1 ldp x2, x3, [x8, #8] mov x0, x24 bl _U8_PUT_3BYTES_INTO_UTF32 ldr x8, [x22, x19, lsl #3] add x8, x23, x8, lsl #3 ldp x1, x2, [x8, #24] ldr x3, [x8, #40] ldur w0, [x29, #-124] ; 4-byte Folded Reload bl _U8_PUT_3BYTES_INTO_UTF32 mov x0, x24 bl _U8_HANGUL_JAMO_L cbz x0, LBB0_10 ; %bb.7: ; in Loop: Header=BB0_3 Depth=1 ldur w0, [x29, #-124] ; 4-byte Folded Reload bl _U8_HANGUL_JAMO_V cbz x0, LBB0_10 ; %bb.8: ; in Loop: Header=BB0_3 Depth=1 Lloh27: adrp x8, _U8_HANGUL_JAMO_L_FIRST@GOTPAGE Lloh28: ldr x8, [x8, _U8_HANGUL_JAMO_L_FIRST@GOTPAGEOFF] Lloh29: ldr w8, [x8] sub w8, w24, w8 Lloh30: adrp x9, _U8_HANGUL_JAMO_V_FIRST@GOTPAGE Lloh31: ldr x9, [x9, _U8_HANGUL_JAMO_V_FIRST@GOTPAGEOFF] Lloh32: ldr w9, [x9] ldur w24, [x29, #-124] ; 4-byte Folded Reload sub w24, w24, w9 Lloh33: adrp x9, _U8_HANGUL_SYL_FIRST@GOTPAGE Lloh34: ldr x9, [x9, _U8_HANGUL_SYL_FIRST@GOTPAGEOFF] Lloh35: ldr w9, [x9] Lloh36: adrp x10, _U8_HANGUL_V_COUNT@GOTPAGE Lloh37: ldr x10, [x10, _U8_HANGUL_V_COUNT@GOTPAGEOFF] Lloh38: ldr w10, [x10] madd w8, w10, w8, w24 Lloh39: adrp x10, _U8_HANGUL_T_COUNT@GOTPAGE Lloh40: ldr x10, [x10, _U8_HANGUL_T_COUNT@GOTPAGEOFF] Lloh41: ldr w10, [x10] madd w8, w8, w10, w9 stp w8, w24, [x29, #-128] ; 8-byte Folded Spill add x22, x19, #2 cmp x22, x20 b.ls LBB0_56 ; %bb.9: ; in Loop: Header=BB0_3 Depth=1 ldur w24, [x29, #-128] ; 4-byte Folded Reload b LBB0_58 LBB0_10: ; in Loop: Header=BB0_3 Depth=1 ldr x8, [x22, x19, lsl #3] add x1, x23, x8, lsl #3 ldr x2, [x25, x19, lsl #3] mov x0, x21 bl _find_composition_start cbz x0, LBB0_14 ; %bb.11: ; in Loop: Header=BB0_3 Depth=1 mov x0, x21 LBB0_12: ; in Loop: Header=BB0_3 Depth=1 ldr x21, [x25, x19, lsl #3] cbnz x21, LBB0_1 LBB0_13: ; in Loop: Header=BB0_3 Depth=1 ldur x21, [x29, #-96] ; 8-byte Folded Reload b LBB0_2 LBB0_14: ; in Loop: Header=BB0_3 Depth=1 stur w24, [x29, #-128] ; 4-byte Folded Spill ldur x8, [x29, #-120] ; 8-byte Folded Reload mov x24, #0 ; =0x0 mov x27, #0 ; =0x0 mov x23, x19 mov x22, x8 ldur x21, [x29, #-96] ; 8-byte Folded Reload add x8, x21, x8, lsl #3 stur x8, [x29, #-152] ; 8-byte Folded Spill LBB0_15: ; Parent Loop BB0_3 Depth=1 ; => This Loop Header: Depth=2 ; Child Loop BB0_16 Depth 3 ; Child Loop BB0_18 Depth 4 ; Child Loop BB0_20 Depth 5 ; Child Loop BB0_25 Depth 5 ; Child Loop BB0_27 Depth 5 ; Child Loop BB0_32 Depth 4 ; Child Loop BB0_38 Depth 4 add x8, x27, #8 stur x8, [x29, #-136] ; 8-byte Folded Spill mov x8, x23 LBB0_16: ; Parent Loop BB0_3 Depth=1 ; Parent Loop BB0_15 Depth=2 ; => This Loop Header: Depth=3 ; Child Loop BB0_18 Depth 4 ; Child Loop BB0_20 Depth 5 ; Child Loop BB0_25 Depth 5 ; Child Loop BB0_27 Depth 5 ; Child Loop BB0_32 Depth 4 ; Child Loop BB0_38 Depth 4 add x23, x8, #1 Lloh42: adrp x9, _B_TRUE@GOTPAGE Lloh43: ldr x9, [x9, _B_TRUE@GOTPAGEOFF] Lloh44: ldr x9, [x9] ldr x11, [x27] cbz x11, LBB0_33 ; %bb.17: ; in Loop: Header=BB0_16 Depth=3 ldp x12, x10, [x29, #-112] ; 16-byte Folded Reload ldr x10, [x10, x23, lsl #3] add x12, x12, x10, lsl #3 ldr x14, [x25, x23, lsl #3] Lloh45: adrp x10, _U8_TBL_ELEMENT_FILLER@GOTPAGE Lloh46: ldr x10, [x10, _U8_TBL_ELEMENT_FILLER@GOTPAGEOFF] Lloh47: ldr x10, [x10] lsl x15, x14, #3 ldur x13, [x29, #-136] ; 8-byte Folded Reload LBB0_18: ; Parent Loop BB0_3 Depth=1 ; Parent Loop BB0_15 Depth=2 ; Parent Loop BB0_16 Depth=3 ; => This Loop Header: Depth=4 ; Child Loop BB0_20 Depth 5 ; Child Loop BB0_25 Depth 5 ; Child Loop BB0_27 Depth 5 cbz x14, LBB0_23 ; %bb.19: ; in Loop: Header=BB0_18 Depth=4 add x16, x13, x15 mov x17, x12 mov x3, x14 LBB0_20: ; Parent Loop BB0_3 Depth=1 ; Parent Loop BB0_15 Depth=2 ; Parent Loop BB0_16 Depth=3 ; Parent Loop BB0_18 Depth=4 ; => This Inner Loop Header: Depth=5 ldr x1, [x13] ldr x2, [x17], #8 cmp x1, x2 b.ne LBB0_24 ; %bb.21: ; in Loop: Header=BB0_20 Depth=5 add x13, x13, #8 subs x3, x3, #1 b.ne LBB0_20 ; %bb.22: ; in Loop: Header=BB0_18 Depth=4 mov x13, x16 LBB0_23: ; in Loop: Header=BB0_18 Depth=4 ldr x1, [x13] cmp x1, x10 b.eq LBB0_29 LBB0_24: ; in Loop: Header=BB0_18 Depth=4 cmp x1, x10 b.eq LBB0_26 LBB0_25: ; Parent Loop BB0_3 Depth=1 ; Parent Loop BB0_15 Depth=2 ; Parent Loop BB0_16 Depth=3 ; Parent Loop BB0_18 Depth=4 ; => This Inner Loop Header: Depth=5 ldr x16, [x13, #8]! cmp x16, x10 b.ne LBB0_25 LBB0_26: ; in Loop: Header=BB0_18 Depth=4 add x13, x13, #8 LBB0_27: ; Parent Loop BB0_3 Depth=1 ; Parent Loop BB0_15 Depth=2 ; Parent Loop BB0_16 Depth=3 ; Parent Loop BB0_18 Depth=4 ; => This Inner Loop Header: Depth=5 ldr x16, [x13], #8 cmp x16, x10 b.ne LBB0_27 ; %bb.28: ; in Loop: Header=BB0_18 Depth=4 subs x11, x11, #1 b.ne LBB0_18 b LBB0_33 LBB0_29: ; in Loop: Header=BB0_16 Depth=3 Lloh48: adrp x9, _B_FALSE@GOTPAGE Lloh49: ldr x9, [x9, _B_FALSE@GOTPAGEOFF] Lloh50: ldr x9, [x9] ldr x11, [x13, #8] cmp x11, x10 b.ne LBB0_31 ; %bb.30: ; in Loop: Header=BB0_16 Depth=3 ldur x22, [x29, #-120] ; 8-byte Folded Reload b LBB0_33 LBB0_31: ; in Loop: Header=BB0_16 Depth=3 add x12, x13, #16 ldur x22, [x29, #-120] ; 8-byte Folded Reload LBB0_32: ; Parent Loop BB0_3 Depth=1 ; Parent Loop BB0_15 Depth=2 ; Parent Loop BB0_16 Depth=3 ; => This Inner Loop Header: Depth=4 str x11, [x21, x22, lsl #3] add x22, x22, #1 ldr x11, [x12], #8 cmp x11, x10 b.ne LBB0_32 LBB0_33: ; in Loop: Header=BB0_16 Depth=3 cbz x9, LBB0_36 ; %bb.34: ; in Loop: Header=BB0_16 Depth=3 ldr x9, [x26, x23, lsl #3] Lloh51: adrp x10, _U8_COMBINING_CLASS_STARTER@GOTPAGE Lloh52: ldr x10, [x10, _U8_COMBINING_CLASS_STARTER@GOTPAGEOFF] Lloh53: ldr x10, [x10] cmp x9, x10 b.eq LBB0_59 ; %bb.35: ; in Loop: Header=BB0_16 Depth=3 str x23, [x28, x24, lsl #3] add x24, x24, #1 LBB0_36: ; in Loop: Header=BB0_16 Depth=3 ldur x8, [x29, #-120] ; 8-byte Folded Reload subs x2, x22, x8 b.ne LBB0_41 ; %bb.37: ; in Loop: Header=BB0_16 Depth=3 cmp x23, x20 b.hs LBB0_44 LBB0_38: ; Parent Loop BB0_3 Depth=1 ; Parent Loop BB0_15 Depth=2 ; Parent Loop BB0_16 Depth=3 ; => This Inner Loop Header: Depth=4 add x22, x23, #1 mov x0, x26 mov x1, x22 bl _blocked cbz x0, LBB0_40 ; %bb.39: ; in Loop: Header=BB0_38 Depth=4 add x8, x24, #1 str x22, [x28, x24, lsl #3] mov x23, x22 mov x24, x8 cmp x20, x22 b.ne LBB0_38 b LBB0_43 LBB0_40: ; in Loop: Header=BB0_16 Depth=3 mov x8, x23 ldur x22, [x29, #-120] ; 8-byte Folded Reload b LBB0_16 LBB0_41: ; in Loop: Header=BB0_15 Depth=2 cmp x23, x20 b.hs LBB0_48 ; %bb.42: ; in Loop: Header=BB0_15 Depth=2 ldp x0, x1, [x29, #-160] ; 16-byte Folded Reload bl _find_composition_start mov x27, x0 cbnz x0, LBB0_15 b LBB0_48 LBB0_43: ; in Loop: Header=BB0_3 Depth=1 mov x24, x8 mov x23, x20 LBB0_44: ; in Loop: Header=BB0_3 Depth=1 ldr x21, [x25, x19, lsl #3] ldur x8, [x29, #-104] ; 8-byte Folded Reload cbz x21, LBB0_46 ; %bb.45: ; in Loop: Header=BB0_3 Depth=1 ldr x8, [x8, x19, lsl #3] ldur x9, [x29, #-112] ; 8-byte Folded Reload add x1, x9, x8, lsl #3 lsl x2, x21, #3 ldur x0, [x29, #-152] ; 8-byte Folded Reload bl _memcpy ldur x8, [x29, #-120] ; 8-byte Folded Reload add x22, x8, x21 b LBB0_47 LBB0_46: ; in Loop: Header=BB0_3 Depth=1 ldur x22, [x29, #-120] ; 8-byte Folded Reload LBB0_47: ; in Loop: Header=BB0_3 Depth=1 ldur x21, [x29, #-96] ; 8-byte Folded Reload LBB0_48: ; in Loop: Header=BB0_3 Depth=1 cbz x24, LBB0_54 ; %bb.49: ; in Loop: Header=BB0_3 Depth=1 mov x19, x28 b LBB0_51 LBB0_50: ; in Loop: Header=BB0_51 Depth=2 subs x24, x24, #1 b.eq LBB0_53 LBB0_51: ; Parent Loop BB0_3 Depth=1 ; => This Inner Loop Header: Depth=2 ldr x8, [x19], #8 ldr x21, [x25, x8, lsl #3] cbz x21, LBB0_50 ; %bb.52: ; in Loop: Header=BB0_51 Depth=2 ldp x9, x10, [x29, #-112] ; 16-byte Folded Reload ldr x8, [x10, x8, lsl #3] add x1, x9, x8, lsl #3 ldur x8, [x29, #-96] ; 8-byte Folded Reload add x0, x8, x22, lsl #3 lsl x2, x21, #3 bl _memcpy add x22, x22, x21 b LBB0_50 LBB0_53: ; in Loop: Header=BB0_3 Depth=1 mov x19, x23 stur x22, [x29, #-120] ; 8-byte Folded Spill ldur x23, [x29, #-112] ; 8-byte Folded Reload ldur x21, [x29, #-96] ; 8-byte Folded Reload b LBB0_55 LBB0_54: ; in Loop: Header=BB0_3 Depth=1 mov x19, x23 stur x22, [x29, #-120] ; 8-byte Folded Spill ldur x23, [x29, #-112] ; 8-byte Folded Reload LBB0_55: ; in Loop: Header=BB0_3 Depth=1 ldur x0, [x29, #-160] ; 8-byte Folded Reload ldur x22, [x29, #-104] ; 8-byte Folded Reload ldur w24, [x29, #-128] ; 4-byte Folded Reload b LBB0_2 LBB0_56: ; in Loop: Header=BB0_3 Depth=1 ldur x8, [x29, #-104] ; 8-byte Folded Reload ldr x8, [x8, x22, lsl #3] add x8, x23, x8, lsl #3 ldp x1, x2, [x8] ldr x3, [x8, #16] mov x0, x24 bl _U8_PUT_3BYTES_INTO_UTF32 mov x0, x24 bl _U8_HANGUL_JAMO_T ldur w24, [x29, #-128] ; 4-byte Folded Reload cbz x0, LBB0_58 ; %bb.57: ; in Loop: Header=BB0_3 Depth=1 Lloh54: adrp x8, _U8_HANGUL_JAMO_T_FIRST@GOTPAGE Lloh55: ldr x8, [x8, _U8_HANGUL_JAMO_T_FIRST@GOTPAGEOFF] Lloh56: ldr w8, [x8] ldur w9, [x29, #-124] ; 4-byte Folded Reload add w9, w24, w9 sub w24, w9, w8 add x22, x19, #3 LBB0_58: ; in Loop: Header=BB0_3 Depth=1 ldur x27, [x29, #-96] ; 8-byte Folded Reload ldur x23, [x29, #-120] ; 8-byte Folded Reload add x0, x27, x23, lsl #3 mov w1, #0 ; =0x0 mov w2, #1 ; =0x1 mov w3, #2 ; =0x2 mov x4, x24 bl _U8_SAVE_HANGUL_AS_UTF8 sub x19, x22, #1 add x23, x23, #3 stur x23, [x29, #-120] ; 8-byte Folded Spill ldp x23, x22, [x29, #-112] ; 16-byte Folded Reload mov x0, x21 mov x21, x27 b LBB0_2 LBB0_59: ; in Loop: Header=BB0_3 Depth=1 mov x19, x8 stur x22, [x29, #-120] ; 8-byte Folded Spill ldp x23, x22, [x29, #-112] ; 16-byte Folded Reload ldur x0, [x29, #-160] ; 8-byte Folded Reload ldur w24, [x29, #-128] ; 4-byte Folded Reload ldr x21, [x25, x19, lsl #3] cbnz x21, LBB0_1 b LBB0_13 LBB0_60: ldr x8, [x26, x20, lsl #3] Lloh57: adrp x9, _U8_COMBINING_CLASS_STARTER@GOTPAGE Lloh58: ldr x9, [x9, _U8_COMBINING_CLASS_STARTER@GOTPAGEOFF] Lloh59: ldr x9, [x9] cmp x8, x9 b.ne LBB0_93 ; %bb.61: mov x24, x0 ldr x8, [x25, x20, lsl #3] ldur x10, [x29, #-120] ; 8-byte Folded Reload ldp x11, x1, [x29, #-176] ; 16-byte Folded Reload ldr x25, [x11] mov x27, x10 sub x22, x10, x8 add x20, x21, x22, lsl #3 add x23, x1, #32 Lloh60: adrp x21, _u8_number_of_bytes@GOTPAGE Lloh61: ldr x21, [x21, _u8_number_of_bytes@GOTPAGEOFF] ldur x28, [x29, #-184] ; 8-byte Folded Reload b LBB0_64 LBB0_62: ; in Loop: Header=BB0_64 Depth=1 ldur x1, [x29, #-168] ; 8-byte Folded Reload LBB0_63: ; in Loop: Header=BB0_64 Depth=1 cbnz x8, LBB0_94 LBB0_64: ; =>This Loop Header: Depth=1 ; Child Loop BB0_69 Depth 2 ; Child Loop BB0_73 Depth 2 ; Child Loop BB0_77 Depth 2 ; Child Loop BB0_78 Depth 3 ; Child Loop BB0_83 Depth 3 ; Child Loop BB0_85 Depth 3 ; Child Loop BB0_90 Depth 2 mov x19, x25 cmp x25, x28 b.hs LBB0_94 ; %bb.65: ; in Loop: Header=BB0_64 Depth=1 ldr x8, [x21] ldr x9, [x19] ldr x26, [x8, x9, lsl #3] add x8, x19, x26, lsl #3 cmp x26, #2 ccmp x8, x28, #2, hs b.hi LBB0_94 ; %bb.66: ; in Loop: Header=BB0_64 Depth=1 mov x8, #0 ; =0x0 cmp x26, #8 b.lo LBB0_71 ; %bb.67: ; in Loop: Header=BB0_64 Depth=1 sub x9, x1, x19 mov x25, x19 cmp x9, #64 b.lo LBB0_72 ; %bb.68: ; in Loop: Header=BB0_64 Depth=1 and x8, x26, #0xfffffffffffffff8 add x25, x19, x8, lsl #3 add x9, x19, #32 mov x10, x23 mov x11, x8 LBB0_69: ; Parent Loop BB0_64 Depth=1 ; => This Inner Loop Header: Depth=2 ldp q0, q1, [x9, #-32] ldp q2, q3, [x9], #64 stp q0, q1, [x10, #-32] stp q2, q3, [x10], #64 subs x11, x11, #8 b.ne LBB0_69 ; %bb.70: ; in Loop: Header=BB0_64 Depth=1 cmp x26, x8 b.ne LBB0_72 b LBB0_74 LBB0_71: ; in Loop: Header=BB0_64 Depth=1 mov x25, x19 LBB0_72: ; in Loop: Header=BB0_64 Depth=1 sub x9, x26, x8 add x8, x1, x8, lsl #3 LBB0_73: ; Parent Loop BB0_64 Depth=1 ; => This Inner Loop Header: Depth=2 ldr x10, [x25], #8 str x10, [x8], #8 subs x9, x9, #1 b.ne LBB0_73 LBB0_74: ; in Loop: Header=BB0_64 Depth=1 sub x2, x27, x22 mov x0, x24 mov x1, x20 bl _find_composition_start cbz x0, LBB0_94 ; %bb.75: ; in Loop: Header=BB0_64 Depth=1 Lloh62: adrp x8, _B_TRUE@GOTPAGE Lloh63: ldr x8, [x8, _B_TRUE@GOTPAGEOFF] Lloh64: ldr x8, [x8] ldr x11, [x0] cbz x11, LBB0_62 ; %bb.76: ; in Loop: Header=BB0_64 Depth=1 add x12, x0, #8 Lloh65: adrp x9, _U8_TBL_ELEMENT_FILLER@GOTPAGE Lloh66: ldr x9, [x9, _U8_TBL_ELEMENT_FILLER@GOTPAGEOFF] Lloh67: ldr x9, [x9] lsl x10, x26, #3 ldur x1, [x29, #-168] ; 8-byte Folded Reload LBB0_77: ; Parent Loop BB0_64 Depth=1 ; => This Loop Header: Depth=2 ; Child Loop BB0_78 Depth 3 ; Child Loop BB0_83 Depth 3 ; Child Loop BB0_85 Depth 3 add x14, x12, x10 mov x15, x1 mov x16, x26 mov x13, x12 LBB0_78: ; Parent Loop BB0_64 Depth=1 ; Parent Loop BB0_77 Depth=2 ; => This Inner Loop Header: Depth=3 ldr x17, [x13] ldr x0, [x15], #8 cmp x17, x0 b.ne LBB0_82 ; %bb.79: ; in Loop: Header=BB0_78 Depth=3 add x13, x13, #8 subs x16, x16, #1 b.ne LBB0_78 ; %bb.80: ; in Loop: Header=BB0_77 Depth=2 ldr x17, [x14] cmp x17, x9 b.eq LBB0_87 ; %bb.81: ; in Loop: Header=BB0_77 Depth=2 mov x13, x14 LBB0_82: ; in Loop: Header=BB0_77 Depth=2 cmp x17, x9 b.eq LBB0_84 LBB0_83: ; Parent Loop BB0_64 Depth=1 ; Parent Loop BB0_77 Depth=2 ; => This Inner Loop Header: Depth=3 ldr x12, [x13, #8]! cmp x12, x9 b.ne LBB0_83 LBB0_84: ; in Loop: Header=BB0_77 Depth=2 add x12, x13, #8 LBB0_85: ; Parent Loop BB0_64 Depth=1 ; Parent Loop BB0_77 Depth=2 ; => This Inner Loop Header: Depth=3 ldr x13, [x12], #8 cmp x13, x9 b.ne LBB0_85 ; %bb.86: ; in Loop: Header=BB0_77 Depth=2 subs x11, x11, #1 b.ne LBB0_77 b LBB0_63 LBB0_87: ; in Loop: Header=BB0_64 Depth=1 Lloh68: adrp x8, _B_FALSE@GOTPAGE Lloh69: ldr x8, [x8, _B_FALSE@GOTPAGEOFF] Lloh70: ldr x8, [x8] ldr x11, [x14, #8] cmp x11, x9 b.ne LBB0_89 ; %bb.88: ; in Loop: Header=BB0_64 Depth=1 mov x27, x22 b LBB0_63 LBB0_89: ; in Loop: Header=BB0_64 Depth=1 Lloh71: adrp x13, _U8_STREAM_SAFE_TEXT_MAX@GOTPAGE Lloh72: ldr x13, [x13, _U8_STREAM_SAFE_TEXT_MAX@GOTPAGEOFF] Lloh73: ldrsw x13, [x13] add x10, x12, x10 add x10, x10, #16 mov x27, x22 LBB0_90: ; Parent Loop BB0_64 Depth=1 ; => This Inner Loop Header: Depth=2 cmp x27, x13 b.hs LBB0_94 ; %bb.91: ; in Loop: Header=BB0_90 Depth=2 add x15, x27, #1 ldur x14, [x29, #-96] ; 8-byte Folded Reload str x11, [x14, x27, lsl #3] ldr x11, [x10], #8 mov x27, x15 cmp x11, x9 b.ne LBB0_90 ; %bb.92: ; in Loop: Header=BB0_64 Depth=1 mov x27, x15 b LBB0_63 LBB0_93: ldur x27, [x29, #-120] ; 8-byte Folded Reload cbnz x27, LBB0_95 b LBB0_96 LBB0_94: ldur x8, [x29, #-176] ; 8-byte Folded Reload str x19, [x8] ldur x23, [x29, #-112] ; 8-byte Folded Reload ldur x21, [x29, #-96] ; 8-byte Folded Reload cbz x27, LBB0_96 LBB0_95: lsl x2, x27, #3 mov x0, x23 mov x1, x21 bl _memcpy LBB0_96: str xzr, [x23, x27, lsl #3] ldur x8, [x29, #-88] Lloh74: adrp x9, ___stack_chk_guard@GOTPAGE Lloh75: ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF] Lloh76: ldr x9, [x9] cmp x9, x8 b.ne LBB0_98 ; %bb.97: mov x0, x27 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_98: bl ___stack_chk_fail .loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh20 .loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh15 .loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh21, Lloh22, Lloh23 .loh AdrpLdrGotLdr Lloh24, Lloh25, Lloh26 .loh AdrpLdrGotLdr Lloh39, Lloh40, Lloh41 .loh AdrpLdrGotLdr Lloh36, Lloh37, Lloh38 .loh AdrpLdrGotLdr Lloh33, Lloh34, Lloh35 .loh AdrpLdrGotLdr Lloh30, Lloh31, Lloh32 .loh AdrpLdrGotLdr Lloh27, Lloh28, Lloh29 .loh AdrpLdrGotLdr Lloh42, Lloh43, Lloh44 .loh AdrpLdrGotLdr Lloh45, Lloh46, Lloh47 .loh AdrpLdrGotLdr Lloh48, Lloh49, Lloh50 .loh AdrpLdrGotLdr Lloh51, Lloh52, Lloh53 .loh AdrpLdrGotLdr Lloh54, Lloh55, Lloh56 .loh AdrpLdrGotLdr Lloh57, Lloh58, Lloh59 .loh AdrpLdrGot Lloh60, Lloh61 .loh AdrpLdrGotLdr Lloh62, Lloh63, Lloh64 .loh AdrpLdrGotLdr Lloh65, Lloh66, Lloh67 .loh AdrpLdrGotLdr Lloh68, Lloh69, Lloh70 .loh AdrpLdrGotLdr Lloh71, Lloh72, Lloh73 .loh AdrpLdrGotLdr Lloh74, Lloh75, Lloh76 .loh AdrpLdrGot Lloh6, Lloh7 .loh AdrpLdrGot Lloh11, Lloh12 .loh AdrpLdrGot Lloh16, Lloh17 .cfi_endproc ; -- End function .comm _U8_STREAM_SAFE_TEXT_MAX,4,2 ; @U8_STREAM_SAFE_TEXT_MAX .comm _U8_MB_CUR_MAX,4,2 ; @U8_MB_CUR_MAX .comm _U8_MAX_CHARS_A_SEQ,4,2 ; @U8_MAX_CHARS_A_SEQ .comm _B_TRUE,8,3 ; @B_TRUE .comm _U8_UPPER_LIMIT_IN_A_SEQ,8,3 ; @U8_UPPER_LIMIT_IN_A_SEQ .comm _U8_COMBINING_CLASS_STARTER,8,3 ; @U8_COMBINING_CLASS_STARTER .comm _U8_HANGUL_JAMO_1ST_BYTE,8,3 ; @U8_HANGUL_JAMO_1ST_BYTE .comm _U8_HANGUL_JAMO_L_FIRST,8,3 ; @U8_HANGUL_JAMO_L_FIRST .comm _U8_HANGUL_JAMO_V_FIRST,8,3 ; @U8_HANGUL_JAMO_V_FIRST .comm _U8_HANGUL_SYL_FIRST,4,2 ; @U8_HANGUL_SYL_FIRST .comm _U8_HANGUL_V_COUNT,4,2 ; @U8_HANGUL_V_COUNT .comm _U8_HANGUL_T_COUNT,4,2 ; @U8_HANGUL_T_COUNT .comm _U8_HANGUL_JAMO_T_FIRST,4,2 ; @U8_HANGUL_JAMO_T_FIRST .comm _U8_TBL_ELEMENT_FILLER,8,3 ; @U8_TBL_ELEMENT_FILLER .comm _B_FALSE,8,3 ; @B_FALSE .comm _u8_number_of_bytes,8,3 ; @u8_number_of_bytes .no_dead_strip _do_composition .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function ms_mode_sense _ms_mode_sense: ## @ms_mode_sense .cfi_startproc ## %bb.0: 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, %rbx movl %edx, %r12d movq %rdi, %r15 movq _MODE_SENSE@GOTPCREL(%rip), %rax movq %rsi, -64(%rbp) ## 8-byte Spill cmpq %rsi, (%rax) jne LBB0_2 ## %bb.1: cmpl $104, %r8d movl $104, %r13d cmovll %r8d, %r13d movl $8, -44(%rbp) ## 4-byte Folded Spill movl $-1, %r14d movl $103, %eax jmp LBB0_3 LBB0_2: cmpl $108, %r8d movl $108, %r13d cmovll %r8d, %r13d movq $106, 8(%rbx) movl $12, -44(%rbp) ## 4-byte Folded Spill movl $2, %r14d xorl %eax, %eax LBB0_3: movq %rax, (%rbx) movq %r15, %rdi movl %r12d, %esi callq _check_card_ready movslq %r14d, %r14 testq %rax, %rax movq %r15, -56(%rbp) ## 8-byte Spill je LBB0_12 ## %bb.4: movq %r15, %rdi callq _CHK_MSXC testq %rax, %rax je LBB0_6 ## %bb.5: movq $64, (%rbx,%r14,8) movl $1, %r15d jmp LBB0_9 LBB0_12: xorps %xmm0, %xmm0 movups %xmm0, (%rbx,%r14,8) xorl %r15d, %r15d jmp LBB0_13 LBB0_6: movq %r15, %rdi callq _CHK_MSPRO testq %rax, %rax je LBB0_8 ## %bb.7: movq $32, (%rbx,%r14,8) movl $1, %r15d jmp LBB0_9 LBB0_8: movq $16, (%rbx,%r14,8) xorl %r15d, %r15d LBB0_9: movq -56(%rbp), %rdi ## 8-byte Reload movl %r12d, %esi callq _check_card_wp testq %rax, %rax je LBB0_11 ## %bb.10: movq $128, 8(%rbx,%r14,8) jmp LBB0_13 LBB0_11: movq $0, 8(%rbx,%r14,8) LBB0_13: leal 3(%r14), %ecx leaq (%rbx,%r14,8), %rax movq $0, 16(%rbx,%r14,8) movq _MODE_SENSE_10@GOTPCREL(%rip), %rdx movq -64(%rbp), %rsi ## 8-byte Reload cmpq %rsi, (%rdx) jne LBB0_21 ## %bb.14: movl %ecx, %ecx movq $0, (%rbx,%rcx,8) xorps %xmm0, %xmm0 movups %xmm0, 32(%rax) cmpl $9, %r13d jl LBB0_28 ## %bb.15: movq $32, 48(%rax) je LBB0_28 ## %bb.16: movq $98, 56(%rax) cmpl $11, %r13d jb LBB0_28 ## %bb.17: movq $0, 64(%rax) je LBB0_28 ## %bb.18: testl %r15d, %r15d je LBB0_20 ## %bb.19: movq $192, 72(%rax) jmp LBB0_28 LBB0_21: cmpl $5, %r13d jl LBB0_28 ## %bb.22: movl %ecx, %ecx movq $32, (%rbx,%rcx,8) je LBB0_28 ## %bb.23: movq $98, 32(%rax) cmpl $7, %r13d jb LBB0_28 ## %bb.24: movq $0, 40(%rax) je LBB0_28 ## %bb.25: testl %r15d, %r15d je LBB0_27 ## %bb.26: movq $192, 48(%rax) jmp LBB0_28 LBB0_20: movq $0, 72(%rax) jmp LBB0_28 LBB0_27: movq $0, 48(%rax) LBB0_28: movl -44(%rbp), %eax ## 4-byte Reload subl %eax, %r13d jle LBB0_29 ## %bb.30: cmpl $96, %r13d movl $96, %edx cmovll %r13d, %edx movl %eax, %eax leaq (%rbx,%rax,8), %rdi movq -56(%rbp), %rax ## 8-byte Reload movl (%rax), %esi addq $24, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp jmp _memcpy ## TAILCALL LBB0_29: addq $24, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _MODE_SENSE,8,3 ## @MODE_SENSE .comm _MODE_SENSE_10,8,3 ## @MODE_SENSE_10 .no_dead_strip _ms_mode_sense .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function ms_mode_sense _ms_mode_sense: ; @ms_mode_sense .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, x3 mov x22, x2 mov x21, x1 mov x20, x0 Lloh0: adrp x8, _MODE_SENSE@GOTPAGE Lloh1: ldr x8, [x8, _MODE_SENSE@GOTPAGEOFF] Lloh2: ldr x8, [x8] cmp x8, x1 b.ne LBB0_2 ; %bb.1: mov w8, #104 ; =0x68 cmp w4, #104 csel w24, w4, w8, lt mov w23, #8 ; =0x8 mov w27, #-1 ; =0xffffffff mov w8, #103 ; =0x67 b LBB0_3 LBB0_2: mov x8, #0 ; =0x0 mov w9, #108 ; =0x6c cmp w4, #108 csel w24, w4, w9, lt mov w9, #106 ; =0x6a str x9, [x19, #8] mov w23, #12 ; =0xc mov w27, #2 ; =0x2 LBB0_3: str x8, [x19] mov x0, x20 mov x1, x22 bl _check_card_ready add x25, x19, w27, sxtw #3 cbz x0, LBB0_6 ; %bb.4: mov x0, x20 bl _CHK_MSXC cbz x0, LBB0_7 ; %bb.5: mov w8, #64 ; =0x40 b LBB0_9 LBB0_6: mov w26, #0 ; =0x0 stp xzr, xzr, [x25] b LBB0_13 LBB0_7: mov x0, x20 bl _CHK_MSPRO cbz x0, LBB0_26 ; %bb.8: mov w8, #32 ; =0x20 LBB0_9: str x8, [x19, w27, sxtw #3] mov w26, #1 ; =0x1 LBB0_10: mov x0, x20 mov x1, x22 bl _check_card_wp cbz x0, LBB0_12 ; %bb.11: mov w8, #128 ; =0x80 str x8, [x25, #8] b LBB0_13 LBB0_12: str xzr, [x25, #8] LBB0_13: add w8, w27, #3 str xzr, [x25, #16] Lloh3: adrp x9, _MODE_SENSE_10@GOTPAGE Lloh4: ldr x9, [x9, _MODE_SENSE_10@GOTPAGEOFF] Lloh5: ldr x9, [x9] cmp x9, x21 b.ne LBB0_20 ; %bb.14: str xzr, [x19, w8, uxtw #3] stp xzr, xzr, [x25, #32] cmp w24, #9 b.lt LBB0_29 ; %bb.15: mov w8, #32 ; =0x20 str x8, [x25, #48] cmp w24, #9 b.eq LBB0_29 ; %bb.16: mov w8, #98 ; =0x62 str x8, [x25, #56] cmp w24, #11 b.lo LBB0_29 ; %bb.17: str xzr, [x25, #64] b.eq LBB0_29 ; %bb.18: cbz w26, LBB0_27 ; %bb.19: mov w8, #192 ; =0xc0 str x8, [x25, #72] b LBB0_29 LBB0_20: cmp w24, #5 b.lt LBB0_29 ; %bb.21: mov w9, #32 ; =0x20 str x9, [x19, w8, uxtw #3] cmp w24, #5 b.eq LBB0_29 ; %bb.22: mov w8, #98 ; =0x62 str x8, [x25, #32] cmp w24, #7 b.lo LBB0_29 ; %bb.23: str xzr, [x25, #40] b.eq LBB0_29 ; %bb.24: cbz w26, LBB0_28 ; %bb.25: mov w8, #192 ; =0xc0 str x8, [x25, #48] b LBB0_29 LBB0_26: mov w26, #0 ; =0x0 mov w8, #16 ; =0x10 str x8, [x19, w27, sxtw #3] b LBB0_10 LBB0_27: str xzr, [x25, #72] b LBB0_29 LBB0_28: str xzr, [x25, #48] LBB0_29: subs w8, w24, w23 b.le LBB0_31 ; %bb.30: mov w9, #96 ; =0x60 cmp w8, #96 csel w2, w8, w9, lt add x0, x19, w23, uxtw #3 ldr w1, [x20] ldp x29, x30, [sp, #80] ; 16-byte Folded Reload ldp x20, x19, [sp, #64] ; 16-byte Folded Reload ldp x22, x21, [sp, #48] ; 16-byte Folded Reload ldp x24, x23, [sp, #32] ; 16-byte Folded Reload ldp x26, x25, [sp, #16] ; 16-byte Folded Reload ldp x28, x27, [sp], #96 ; 16-byte Folded Reload b _memcpy LBB0_31: ldp x29, x30, [sp, #80] ; 16-byte Folded Reload ldp x20, x19, [sp, #64] ; 16-byte Folded Reload ldp x22, x21, [sp, #48] ; 16-byte Folded Reload ldp x24, x23, [sp, #32] ; 16-byte Folded Reload ldp x26, x25, [sp, #16] ; 16-byte Folded Reload ldp x28, x27, [sp], #96 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .cfi_endproc ; -- End function .comm _MODE_SENSE,8,3 ; @MODE_SENSE .comm _MODE_SENSE_10,8,3 ; @MODE_SENSE_10 .no_dead_strip _ms_mode_sense .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function opfldenv _opfldenv: ## @opfldenv .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 testl %edx, (%rcx) je LBB0_3 ## %bb.2: movl $217, (%rsi) movq 8(%rcx), %rax movl (%rax), %eax orl $32, %eax movl %eax, -4(%rsi) xorl %eax, %eax LBB0_3: popq %rbp LBB0_4: retq .cfi_endproc ## -- End function .comm _OT_MEMORY,4,2 ## @OT_MEMORY .no_dead_strip _opfldenv .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function opfldenv _opfldenv: ; @opfldenv .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] tst w10, w9 b.eq LBB0_3 ; %bb.2: mov w0, #0 ; =0x0 mov w9, #217 ; =0xd9 str w9, [x1] ldr x8, [x8, #8] ldr w8, [x8] orr w8, w8, #0x20 stur w8, [x1, #-4] ret LBB0_3: mov w0, #-1 ; =0xffffffff ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _OT_MEMORY,4,2 ; @OT_MEMORY .no_dead_strip _opfldenv .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 inet_ntoa LCPI0_0: .byte 15 ## 0xf .byte 14 ## 0xe .byte 13 ## 0xd .byte 12 ## 0xc .byte 11 ## 0xb .byte 10 ## 0xa .byte 9 ## 0x9 .byte 8 ## 0x8 .byte 7 ## 0x7 .byte 6 ## 0x6 .byte 5 ## 0x5 .byte 4 ## 0x4 .byte 3 ## 0x3 .byte 2 ## 0x2 .byte 1 ## 0x1 .byte 0 ## 0x0 .section __TEXT,__text,regular,pure_instructions .globl _inet_ntoa .p2align 4, 0x90 _inet_ntoa: ## @inet_ntoa .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp ## kill: def $edi killed $edi def $rdi xorl %ecx, %ecx .p2align 4, 0x90 LBB0_1: ## =>This Inner Loop Header: Depth=1 movslq %edi, %rax imulq $1717986919, %rax, %rdi ## imm = 0x66666667 movq %rdi, %rdx shrq $63, %rdx sarq $34, %rdi addl %edx, %edi leal (%rdi,%rdi), %edx leal (%rdx,%rdx,4), %edx movl %eax, %esi subl %edx, %esi movb $48, %dl subb %sil, %dl movb %dl, -3(%rbp,%rcx) incq %rcx addl $9, %eax cmpl $18, %eax ja LBB0_1 ## %bb.2: movslq %ecx, %rax leaq -1(%rcx), %rdx leaq _inet_ntoa.str(%rip), %rsi cmpq $31, %rdx jae LBB0_4 ## %bb.3: movq %rsi, %rdx jmp LBB0_7 LBB0_4: movq %rcx, %rdi andq $-32, %rdi subq %rdi, %rax leaq _inet_ntoa.str(%rip), %r8 leaq (%r8,%rdi), %rdx movslq %ecx, %r9 addq %rbp, %r9 addq $-19, %r9 xorl %r10d, %r10d movdqa LCPI0_0(%rip), %xmm0 ## xmm0 = [15,14,13,12,11,10,9,8,7,6,5,4,3,2,1,0] .p2align 4, 0x90 LBB0_5: ## =>This Inner Loop Header: Depth=1 movdqu -16(%r9), %xmm1 movdqu (%r9), %xmm2 pshufb %xmm0, %xmm2 pshufb %xmm0, %xmm1 movdqa %xmm2, (%r10,%r8) movdqa %xmm1, 16(%r10,%r8) addq $32, %r10 addq $-32, %r9 cmpq %r10, %rdi jne LBB0_5 ## %bb.6: cmpq %rdi, %rcx je LBB0_9 LBB0_7: addq %rcx, %rsi decq %rsi leaq -3(%rbp), %rdi addq %rdi, %rax decq %rax movq %rdx, %rdi .p2align 4, 0x90 LBB0_8: ## =>This Inner Loop Header: Depth=1 movzbl (%rax), %r8d leaq 1(%rdi), %rdx movb %r8b, (%rdi) decq %rax cmpq %rdi, %rsi movq %rdx, %rdi jne LBB0_8 LBB0_9: leaq _inet_ntoa.str(%rip), %rax movb $46, (%rdx) movw $48, 1(%rcx,%rax) popq %rbp retq .cfi_endproc ## -- End function .zerofill __DATA,__bss,_inet_ntoa.str,16,4 ## @inet_ntoa.str .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _inet_ntoa ; -- Begin function inet_ntoa .p2align 2 _inet_ntoa: ; @inet_ntoa .cfi_startproc ; %bb.0: sub sp, sp, #16 .cfi_def_cfa_offset 16 mov x8, #0 ; =0x0 mov w9, #26215 ; =0x6667 movk w9, #26214, lsl #16 mov w10, #10 ; =0xa add x11, sp, #13 LBB0_1: ; =>This Inner Loop Header: Depth=1 smull x12, w0, w9 lsr x13, x12, #63 asr x12, x12, #34 neg w14, w0 add w15, w0, #9 add w12, w12, w13 madd w13, w12, w10, w14 add w13, w13, #48 strb w13, [x11, x8] add x8, x8, #1 mov x0, x12 cmp w15, #18 b.hi LBB0_1 ; %bb.2: sxtw x10, w8 sub x11, x8, #1 Lloh0: adrp x0, _inet_ntoa.str@PAGE Lloh1: add x0, x0, _inet_ntoa.str@PAGEOFF cmp x11, #63 b.hs LBB0_4 ; %bb.3: mov x9, x0 b LBB0_7 LBB0_4: and x12, x8, #0xffffffffffffffc0 sub x10, x10, x12 add x9, x0, x12 add x13, sp, #13 add x13, x13, w8, sxtw sub x13, x13, #32 add x14, x0, #32 mov x15, x12 LBB0_5: ; =>This Inner Loop Header: Depth=1 ldp q1, q0, [x13] rev64.16b v0, v0 ext.16b v0, v0, v0, #8 rev64.16b v1, v1 ext.16b v1, v1, v1, #8 ldp q3, q2, [x13, #-32] rev64.16b v2, v2 ext.16b v2, v2, v2, #8 rev64.16b v3, v3 ext.16b v3, v3, v3, #8 stp q0, q1, [x14, #-32] stp q2, q3, [x14], #64 sub x13, x13, #64 sub x15, x15, #64 cbnz x15, LBB0_5 ; %bb.6: cmp x8, x12 b.eq LBB0_9 LBB0_7: add x11, x11, x0 add x12, sp, #13 add x10, x10, x12 sub x10, x10, #1 LBB0_8: ; =>This Inner Loop Header: Depth=1 ldrb w12, [x10], #-1 cmp x11, x9 strb w12, [x9], #1 b.ne LBB0_8 LBB0_9: add x8, x0, x8 mov w10, #46 ; =0x2e strb w10, [x9] mov w9, #48 ; =0x30 sturh w9, [x8, #1] add sp, sp, #16 ret .loh AdrpAdd Lloh0, Lloh1 .cfi_endproc ; -- End function .zerofill __DATA,__bss,_inet_ntoa.str,16,0 ; @inet_ntoa.str .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _range_parse_ipv4 ## -- Begin function range_parse_ipv4 .p2align 4, 0x90 _range_parse_ipv4: ## @range_parse_ipv4 .cfi_startproc ## %bb.0: 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 $4294967295, %r14d ## imm = 0xFFFFFFFF testq %rdi, %rdi je LBB0_35 ## %bb.1: movq %rsi, %rbx movq %rdi, %r15 testq %rsi, %rsi je LBB0_2 ## %bb.3: movl %edx, %r12d movl (%rbx), %r13d jmp LBB0_4 LBB0_2: movq %r15, %rdi callq _strlen movq %rax, %r12 leaq -44(%rbp), %rbx xorl %r13d, %r13d jmp LBB0_4 .p2align 4, 0x90 LBB0_6: ## in Loop: Header=BB0_4 Depth=1 decl %r13d LBB0_4: ## =>This Inner Loop Header: Depth=1 cmpl %r12d, %r13d jbe LBB0_6 ## %bb.5: ## in Loop: Header=BB0_4 Depth=1 movl %r13d, %eax movsbl (%r15,%rax), %edi callq _isspace testq %rax, %rax jne LBB0_6 ## %bb.7: movl %r13d, -44(%rbp) leaq -60(%rbp), %rcx leaq -44(%rbp), %rsi movq %r15, %rdi movl %r12d, %edx callq _parse_ipv4 testl %eax, %eax je LBB0_8 LBB0_35: xorl %edx, %edx LBB0_36: movq %r14, %rax addq $40, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_8: movl -60(%rbp), %eax movl %eax, -56(%rbp) movl -44(%rbp), %ecx cmpl %r12d, %ecx jae LBB0_12 .p2align 4, 0x90 LBB0_10: ## =>This Inner Loop Header: Depth=1 movl %ecx, %eax movsbl (%r15,%rax), %edi callq _isspace movl -44(%rbp), %ecx testq %rax, %rax je LBB0_12 ## %bb.11: ## in Loop: Header=BB0_10 Depth=1 incl %ecx movl %ecx, -44(%rbp) cmpl %r12d, %ecx jb LBB0_10 LBB0_12: cmpl %r12d, %ecx jae LBB0_34 ## %bb.13: movl %ecx, %eax movzbl (%r15,%rax), %edx cmpl $45, %edx je LBB0_30 ## %bb.14: cmpl $47, %edx jne LBB0_34 ## %bb.15: leaq 1(%rax), %rcx movl %ecx, -44(%rbp) movsbl 1(%r15,%rax), %edi callq _isdigit testq %rax, %rax je LBB0_35 ## %bb.16: movl -44(%rbp), %eax cmpl %r12d, %eax jae LBB0_22 ## %bb.17: cmpb $48, (%r15,%rax) jne LBB0_22 ## %bb.18: movl %r12d, %ecx decq %rcx LBB0_20: ## =>This Inner Loop Header: Depth=1 movq %rax, %rdx cmpq %rax, %rcx je LBB0_21 ## %bb.19: ## in Loop: Header=BB0_20 Depth=1 leaq 1(%rdx), %rax cmpb $48, 1(%r15,%rdx) je LBB0_20 LBB0_21: incl %edx movl %edx, -44(%rbp) movl %edx, %eax LBB0_22: xorl %r13d, %r13d cmpl %r12d, %eax jae LBB0_29 ## %bb.23: movl %eax, %eax movsbl (%r15,%rax), %edi callq _isdigit testq %rax, %rax je LBB0_29 ## %bb.24: movl -44(%rbp), %ecx leal 1(%rcx), %eax movl %eax, -44(%rbp) movsbl (%r15,%rcx), %ecx movl $48, %r13d subl %ecx, %r13d cmpl %r12d, %eax jae LBB0_28 ## %bb.25: movl %eax, %eax movsbl (%r15,%rax), %edi callq _isdigit testq %rax, %rax je LBB0_28 ## %bb.26: addl %r13d, %r13d leal (%r13,%r13,4), %r13d movl -44(%rbp), %ecx leal 1(%rcx), %eax movl %eax, -44(%rbp) movsbl (%r15,%rcx), %ecx subl %ecx, %r13d addl $48, %r13d cmpl %r12d, %eax jae LBB0_28 ## %bb.27: movl %eax, %eax movsbl (%r15,%rax), %edi callq _isdigit testq %rax, %rax jne LBB0_35 LBB0_28: cmpl $32, %r13d jg LBB0_35 LBB0_29: movabsq $-4294967296, %rax ## imm = 0xFFFFFFFF00000000 movl %r13d, %ecx shrq %cl, %rax movl -60(%rbp), %ecx movl %ecx, %edx andl %eax, %edx movl %edx, -60(%rbp) notl %eax orl %ecx, %eax movl %eax, -56(%rbp) jmp LBB0_34 LBB0_30: incl %ecx movl %ecx, -44(%rbp) leaq -44(%rbp), %rsi leaq -68(%rbp), %rcx movq %r15, %rdi movl %r12d, %edx callq _parse_ipv4 testl %eax, %eax jne LBB0_35 ## %bb.31: movl -68(%rbp), %eax cmpl -60(%rbp), %eax jae LBB0_33 ## %bb.32: movl $4294967295, %ecx ## imm = 0xFFFFFFFF movq %rcx, -60(%rbp) movl %eax, %edx shrl $24, %edx movl %eax, %ecx shrl $16, %ecx movzbl %cl, %ecx movzbl %ah, %esi movl %esi, %r8d movzbl %al, %r9d leaq L_.str(%rip), %rsi xorl %edi, %edi pushq $255 pushq $255 pushq $255 pushq $255 callq _LOG addq $32, %rsp jmp LBB0_34 LBB0_33: movl %eax, -56(%rbp) LBB0_34: movl -44(%rbp), %eax movl %eax, (%rbx) movq -64(%rbp), %r14 movq -56(%rbp), %rdx jmp LBB0_36 .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "err: ending addr %u.%u.%u.%u cannot come before starting addr %u.%u.%u.%u\n" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _range_parse_ipv4 ; -- Begin function range_parse_ipv4 .p2align 2 _range_parse_ipv4: ; @range_parse_ipv4 .cfi_startproc ; %bb.0: cbz x0, LBB0_3 ; %bb.1: sub sp, sp, #96 stp x22, x21, [sp, #48] ; 16-byte Folded Spill stp x20, x19, [sp, #64] ; 16-byte Folded Spill stp x29, x30, [sp, #80] ; 16-byte Folded Spill add x29, sp, #80 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x19, x1 mov x20, x0 cbz x1, LBB0_4 ; %bb.2: mov x21, x2 ldr w22, [x19] b LBB0_6 LBB0_3: mov x1, #0 ; =0x0 mov w0, #-1 ; =0xffffffff ret LBB0_4: mov x0, x20 bl _strlen mov x21, x0 mov w22, #0 ; =0x0 sub x19, x29, #36 b LBB0_6 LBB0_5: ; in Loop: Header=BB0_6 Depth=1 sub w22, w22, #1 LBB0_6: ; =>This Inner Loop Header: Depth=1 cmp w22, w21 b.ls LBB0_5 ; %bb.7: ; in Loop: Header=BB0_6 Depth=1 ldrsb w0, [x20, w22, uxtw] bl _isspace cbnz x0, LBB0_5 ; %bb.8: stur w22, [x29, #-36] add x8, sp, #24 sub x1, x29, #36 orr x3, x8, #0x4 mov x0, x20 mov x2, x21 bl _parse_ipv4 cbz w0, LBB0_10 LBB0_9: mov x1, #0 ; =0x0 mov w0, #-1 ; =0xffffffff b LBB0_37 LBB0_10: ldr w8, [sp, #28] str w8, [sp, #32] ldur w8, [x29, #-36] cmp w8, w21 b.hs LBB0_13 LBB0_11: ; =>This Inner Loop Header: Depth=1 ldrsb w0, [x20, w8, uxtw] bl _isspace ldur w8, [x29, #-36] cbz x0, LBB0_13 ; %bb.12: ; in Loop: Header=BB0_11 Depth=1 add w8, w8, #1 stur w8, [x29, #-36] cmp w8, w21 b.lo LBB0_11 LBB0_13: cmp w8, w21 b.hs LBB0_36 ; %bb.14: ldrb w9, [x20, w8, uxtw] cmp w9, #45 b.eq LBB0_30 ; %bb.15: cmp w9, #47 b.ne LBB0_36 ; %bb.16: mov w8, w8 add x8, x8, #1 stur w8, [x29, #-36] ldrsb w0, [x20, x8] bl _isdigit cbz x0, LBB0_9 ; %bb.17: ldur w8, [x29, #-36] cmp w8, w21 b.hs LBB0_23 ; %bb.18: ldrb w9, [x20, x8] cmp w9, #48 b.ne LBB0_23 ; %bb.19: mov w10, w21 add x9, x8, x20 add x9, x9, #1 mvn x11, x8 add x10, x11, x10 add w11, w8, #1 LBB0_20: ; =>This Inner Loop Header: Depth=1 mov x8, x11 cbz x10, LBB0_22 ; %bb.21: ; in Loop: Header=BB0_20 Depth=1 ldrb w12, [x9], #1 sub x10, x10, #1 add w11, w8, #1 cmp w12, #48 b.eq LBB0_20 LBB0_22: stur w8, [x29, #-36] LBB0_23: cmp w8, w21 b.hs LBB0_33 ; %bb.24: ldrsb w0, [x20, w8, uxtw] bl _isdigit cbz x0, LBB0_33 ; %bb.25: ldur w9, [x29, #-36] add w8, w9, #1 stur w8, [x29, #-36] ldrsb w9, [x20, x9] mov w10, #48 ; =0x30 sub w22, w10, w9 cmp w8, w21 b.hs LBB0_29 ; %bb.26: ldrsb w0, [x20, w8, uxtw] bl _isdigit cbz x0, LBB0_29 ; %bb.27: mov w9, #10 ; =0xa ldur w10, [x29, #-36] add w8, w10, #1 stur w8, [x29, #-36] ldrsb w10, [x20, x10] neg w10, w10 madd w9, w22, w9, w10 add w22, w9, #48 cmp w8, w21 b.hs LBB0_29 ; %bb.28: ldrsb w0, [x20, w8, uxtw] bl _isdigit cbnz x0, LBB0_9 LBB0_29: cmp w22, #32 b.gt LBB0_9 b LBB0_34 LBB0_30: add w8, w8, #1 stur w8, [x29, #-36] sub x1, x29, #36 add x3, sp, #20 mov x0, x20 mov x2, x21 bl _parse_ipv4 cbnz w0, LBB0_9 ; %bb.31: ldr w8, [sp, #20] ldr w9, [sp, #28] cmp w8, w9 b.hs LBB0_35 ; %bb.32: movi d0, #0x000000ffffffff lsr w2, w8, #24 stur d0, [sp, #28] ubfx w3, w8, #16, #8 ubfx w4, w8, #8, #8 mov x9, #1095216660735 ; =0xff000000ff str x9, [sp] Lloh0: adrp x1, l_.str@PAGE Lloh1: add x1, x1, l_.str@PAGEOFF and w5, w8, #0xff mov w0, #0 ; =0x0 mov w6, #255 ; =0xff mov w7, #255 ; =0xff bl _LOG b LBB0_36 LBB0_33: mov w22, #0 ; =0x0 LBB0_34: mov x8, #-4294967296 ; =0xffffffff00000000 lsr x8, x8, x22 ldr w9, [sp, #28] and w10, w9, w8 orn w8, w9, w8 str w10, [sp, #28] LBB0_35: str w8, [sp, #32] LBB0_36: ldur w8, [x29, #-36] str w8, [x19] ldp x0, x1, [sp, #24] LBB0_37: 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 .loh AdrpAdd Lloh0, Lloh1 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "err: ending addr %u.%u.%u.%u cannot come before starting addr %u.%u.%u.%u\n" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function uwb_rc_mac_addr_show _uwb_rc_mac_addr_show: ## @uwb_rc_mac_addr_show .cfi_startproc ## %bb.0: 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 callq _to_uwb_dev movq (%rax), %r14 movq %r14, %rdi callq _mutex_lock movq _UWB_ADDR_MAC@GOTPCREL(%rip), %rax movl (%rax), %edx leaq -28(%rbp), %rsi movq %r14, %rdi callq _uwb_rc_addr_get movq %rax, %r15 movq %r14, %rdi callq _mutex_unlock testq %r15, %r15 js LBB0_1 ## %bb.2: movq _UWB_ADDR_STRSIZE@GOTPCREL(%rip), %rax movl (%rax), %esi leaq -28(%rbp), %rdx movq %rbx, %rdi callq _uwb_mac_addr_print movb $10, (%rbx,%rax) decq %rax jmp LBB0_3 LBB0_1: movq %r15, %rax LBB0_3: addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _UWB_ADDR_MAC,4,2 ## @UWB_ADDR_MAC .comm _UWB_ADDR_STRSIZE,4,2 ## @UWB_ADDR_STRSIZE .no_dead_strip _uwb_rc_mac_addr_show .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function uwb_rc_mac_addr_show _uwb_rc_mac_addr_show: ; @uwb_rc_mac_addr_show .cfi_startproc ; %bb.0: sub sp, sp, #64 stp x22, x21, [sp, #16] ; 16-byte Folded Spill stp x20, x19, [sp, #32] ; 16-byte Folded Spill stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x19, x2 bl _to_uwb_dev ldr x20, [x0] mov x0, x20 bl _mutex_lock Lloh0: adrp x8, _UWB_ADDR_MAC@GOTPAGE Lloh1: ldr x8, [x8, _UWB_ADDR_MAC@GOTPAGEOFF] Lloh2: ldr w2, [x8] add x1, sp, #12 mov x0, x20 bl _uwb_rc_addr_get mov x21, x0 mov x0, x20 bl _mutex_unlock tbnz x21, #63, LBB0_2 ; %bb.1: Lloh3: adrp x8, _UWB_ADDR_STRSIZE@GOTPAGE Lloh4: ldr x8, [x8, _UWB_ADDR_STRSIZE@GOTPAGEOFF] Lloh5: ldr w1, [x8] add x2, sp, #12 mov x0, x19 bl _uwb_mac_addr_print sub x21, x0, #1 mov w9, #10 ; =0xa strb w9, [x19, x0] LBB0_2: mov x0, x21 ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload add sp, sp, #64 ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .cfi_endproc ; -- End function .comm _UWB_ADDR_MAC,4,2 ; @UWB_ADDR_MAC .comm _UWB_ADDR_STRSIZE,4,2 ; @UWB_ADDR_STRSIZE .no_dead_strip _uwb_rc_mac_addr_show .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function construct_argv _construct_argv: ## @construct_argv .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movq %rdi, %r14 callq _strlen ## kill: def $eax killed $eax def $rax movl %eax, %ecx decl %ecx shrl $31, %ecx addl %ecx, %eax decl %eax andl $-2, %eax leal 8(,%rax,4), %edi callq _malloc movq %rax, %rbx movq %r14, %rdi callq _strk movq %rax, (%rbx) testq %rax, %rax je LBB0_4 ## %bb.1: movq %rbx, %r14 addq $-8, %r14 .p2align 4, 0x90 LBB0_2: ## =>This Inner Loop Header: Depth=1 xorl %edi, %edi callq _strk movq %rax, (%r14) addq $8, %r14 testq %rax, %rax jne LBB0_2 jmp LBB0_3 LBB0_4: movq %rbx, %rdi callq _free xorl %ebx, %ebx LBB0_3: movq %rbx, %rax popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _construct_argv .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function construct_argv _construct_argv: ; @construct_argv .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x20, x0 bl _strlen sub w8, w0, #1 add w8, w8, w8, lsr #31 lsl w8, w8, #2 and w8, w8, #0xfffffff8 add w0, w8, #8 bl _malloc mov x19, x0 mov x0, x20 bl _strk str x0, [x19] cbz x0, LBB0_3 ; %bb.1: mov x20, #-8 ; =0xfffffffffffffff8 LBB0_2: ; =>This Inner Loop Header: Depth=1 mov x0, #0 ; =0x0 bl _strk str x0, [x19, x20] add x20, x20, #8 cbnz x0, LBB0_2 b LBB0_4 LBB0_3: mov x0, x19 bl _free mov x19, #0 ; =0x0 LBB0_4: mov x0, x19 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .no_dead_strip _construct_argv .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _aarch64_num_of_operands ## -- Begin function aarch64_num_of_operands .p2align 4, 0x90 _aarch64_num_of_operands: ## @aarch64_num_of_operands .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 movq (%rdi), %rcx movq _AARCH64_OPND_NIL@GOTPCREL(%rip), %rax movl (%rax), %edx xorl %eax, %eax .p2align 4, 0x90 LBB0_1: ## =>This Inner Loop Header: Depth=1 movq %rax, %rsi decq %rax cmpl %edx, (%rcx,%rsi,4) jne LBB0_1 ## %bb.2: leal -1(%rax), %ebx incq %rax cmpq $2, %rax setge %al movq _AARCH64_MAX_OPND_NUM@GOTPCREL(%rip), %rcx cmpl (%rcx), %ebx setle %cl orb %al, %cl movzbl %cl, %edi callq _assert movl %ebx, %eax addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .comm _AARCH64_OPND_NIL,4,2 ## @AARCH64_OPND_NIL .comm _AARCH64_MAX_OPND_NUM,4,2 ## @AARCH64_MAX_OPND_NUM .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _aarch64_num_of_operands ; -- Begin function aarch64_num_of_operands .p2align 2 _aarch64_num_of_operands: ; @aarch64_num_of_operands .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 x8, #0 ; =0x0 ldr x9, [x0] Lloh0: adrp x10, _AARCH64_OPND_NIL@GOTPAGE Lloh1: ldr x10, [x10, _AARCH64_OPND_NIL@GOTPAGEOFF] Lloh2: ldr w10, [x10] LBB0_1: ; =>This Inner Loop Header: Depth=1 ldr w11, [x9, x8, lsl #2] sub x8, x8, #1 cmp w11, w10 b.ne LBB0_1 ; %bb.2: sub w19, w8, #1 add x8, x8, #1 cmp x8, #1 Lloh3: adrp x8, _AARCH64_MAX_OPND_NUM@GOTPAGE Lloh4: ldr x8, [x8, _AARCH64_MAX_OPND_NUM@GOTPAGEOFF] Lloh5: ldr w8, [x8] ccmp w19, w8, #4, le cset w0, le bl _assert mov x0, x19 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .cfi_endproc ; -- End function .comm _AARCH64_OPND_NIL,4,2 ; @AARCH64_OPND_NIL .comm _AARCH64_MAX_OPND_NUM,4,2 ; @AARCH64_MAX_OPND_NUM .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function get_rel_sec _get_rel_sec: ## @get_rel_sec .cfi_startproc ## %bb.0: 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, %r15 xorl %ebx, %ebx .p2align 4, 0x90 LBB0_1: ## =>This Inner Loop Header: Depth=1 movq (%r14), %rsi testq %rsi, %rsi je LBB0_4 ## %bb.2: ## in Loop: Header=BB0_1 Depth=1 movq %r15, %rdi callq _get_section_by_name addq $-8, %r14 testq %rax, %rax je LBB0_1 ## %bb.3: movq %rax, %rbx LBB0_4: movq %rbx, %rax addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _get_rel_sec .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function get_rel_sec _get_rel_sec: ; @get_rel_sec .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x1 mov x20, x0 LBB0_1: ; =>This Inner Loop Header: Depth=1 ldr x1, [x19] cbz x1, LBB0_3 ; %bb.2: ; in Loop: Header=BB0_1 Depth=1 mov x0, x20 bl _get_section_by_name sub x19, x19, #8 cbz x0, LBB0_1 b LBB0_4 LBB0_3: mov x0, #0 ; =0x0 LBB0_4: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .no_dead_strip _get_rel_sec .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function cleanstr _cleanstr: ## @cleanstr .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $16, %rsp .cfi_offset %rbx, -48 .cfi_offset %r12, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %esi, %r14d movq %rdi, %rbx leal -1(,%r14,4), %ecx movq _cleanstr.tmp(%rip), %rax cmpl %ecx, _cleanstr.tmplen(%rip) jge LBB0_2 ## %bb.1: leal (,%r14,4), %esi orl $1, %esi movl %esi, _cleanstr.tmplen(%rip) movq %rax, %rdi callq _realloc movq %rax, _cleanstr.tmp(%rip) LBB0_2: testq %rax, %rax je LBB0_3 ## %bb.4: movq %rax, -40(%rbp) testl %r14d, %r14d jle LBB0_8 ## %bb.5: movl %r14d, %r15d xorl %r12d, %r12d leaq -40(%rbp), %r14 .p2align 4, 0x90 LBB0_6: ## =>This Inner Loop Header: Depth=1 movzbl (%rbx,%r12), %esi incq %r12 movq %r14, %rdi callq _cleanchr cmpq %r12, %r15 jne LBB0_6 ## %bb.7: movq -40(%rbp), %rax LBB0_8: movb $0, (%rax) movq _cleanstr.tmp(%rip), %rax jmp LBB0_9 LBB0_3: movl $0, _cleanstr.tmplen(%rip) leaq L_.str(%rip), %rax LBB0_9: addq $16, %rsp popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .zerofill __DATA,__bss,_cleanstr.tmp,8,3 ## @cleanstr.tmp .zerofill __DATA,__bss,_cleanstr.tmplen,4,2 ## @cleanstr.tmplen .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "(mem alloc error)" .no_dead_strip _cleanstr .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function cleanstr _cleanstr: ; @cleanstr .cfi_startproc ; %bb.0: sub sp, sp, #64 stp x22, x21, [sp, #16] ; 16-byte Folded Spill stp x20, x19, [sp, #32] ; 16-byte Folded Spill stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x20, x1 mov x19, x0 adrp x22, _cleanstr.tmplen@PAGE ldr w9, [x22, _cleanstr.tmplen@PAGEOFF] lsl w8, w1, #2 sub w10, w8, #1 adrp x21, _cleanstr.tmp@PAGE ldr x0, [x21, _cleanstr.tmp@PAGEOFF] cmp w9, w10 b.ge LBB0_2 ; %bb.1: orr w1, w8, #0x1 str w1, [x22, _cleanstr.tmplen@PAGEOFF] bl _realloc str x0, [x21, _cleanstr.tmp@PAGEOFF] LBB0_2: cbz x0, LBB0_8 ; %bb.3: str x0, [sp, #8] cmp w20, #1 b.lt LBB0_7 ; %bb.4: mov w20, w20 LBB0_5: ; =>This Inner Loop Header: Depth=1 ldrb w1, [x19], #1 add x0, sp, #8 bl _cleanchr subs x20, x20, #1 b.ne LBB0_5 ; %bb.6: ldr x0, [sp, #8] LBB0_7: strb wzr, [x0] ldr x0, [x21, _cleanstr.tmp@PAGEOFF] b LBB0_9 LBB0_8: str wzr, [x22, _cleanstr.tmplen@PAGEOFF] Lloh0: adrp x0, l_.str@PAGE Lloh1: add x0, x0, l_.str@PAGEOFF LBB0_9: ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload add sp, sp, #64 ret .loh AdrpAdd Lloh0, Lloh1 .cfi_endproc ; -- End function .zerofill __DATA,__bss,_cleanstr.tmp,8,3 ; @cleanstr.tmp .zerofill __DATA,__bss,_cleanstr.tmplen,4,2 ; @cleanstr.tmplen .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "(mem alloc error)" .no_dead_strip _cleanstr .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function __uvcg_iter_frm_intrv ___uvcg_iter_frm_intrv: ## @__uvcg_iter_frm_intrv .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $72, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rcx, -104(%rbp) ## 8-byte Spill movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -48(%rbp) testq %rdx, %rdx je LBB0_20 ## %bb.1: movq %rdx, %r15 movq %rsi, %r12 movq %rdi, %rbx movq %rdi, %r14 negq %r14 movq %rdi, %r13 jmp LBB0_2 .p2align 4, 0x90 LBB0_15: ## in Loop: Header=BB0_2 Depth=1 addq %rax, %r13 LBB0_16: ## in Loop: Header=BB0_2 Depth=1 movb $0, -96(%rbp,%rax) leaq -96(%rbp), %rdi movq -104(%rbp), %rsi ## 8-byte Reload callq *%r15 testl %eax, %eax jne LBB0_17 LBB0_2: ## =>This Loop Header: Depth=1 ## Child Loop BB0_5 Depth 2 ## Child Loop BB0_12 Depth 2 movq %r13, %rax subq %rbx, %rax cmpq %r12, %rax jae LBB0_3 ## %bb.4: ## in Loop: Header=BB0_2 Depth=1 leaq (%r14,%r13), %rdx movq %rdx, %rcx xorl %eax, %eax jmp LBB0_5 .p2align 4, 0x90 LBB0_6: ## in Loop: Header=BB0_5 Depth=2 movzbl (%r13,%rax), %esi LBB0_7: ## in Loop: Header=BB0_5 Depth=2 movb %sil, -96(%rbp,%rax) incq %rax incq %rcx LBB0_5: ## Parent Loop BB0_2 Depth=1 ## => This Inner Loop Header: Depth=2 cmpq $35, %rax jbe LBB0_6 ## %bb.8: ## in Loop: Header=BB0_5 Depth=2 leaq (%rdx,%rax), %rsi cmpq %r12, %rsi jae LBB0_15 ## %bb.9: ## in Loop: Header=BB0_5 Depth=2 movzbl (%r13,%rax), %esi cmpl $10, %esi je LBB0_11 ## %bb.10: ## in Loop: Header=BB0_5 Depth=2 testl %esi, %esi jne LBB0_7 LBB0_11: ## in Loop: Header=BB0_2 Depth=1 addq %rax, %r13 jmp LBB0_12 .p2align 4, 0x90 LBB0_14: ## in Loop: Header=BB0_12 Depth=2 incq %r13 incq %rcx cmpq %r12, %rcx jae LBB0_16 LBB0_12: ## Parent Loop BB0_2 Depth=1 ## => This Inner Loop Header: Depth=2 movzbl (%r13), %edx cmpl $10, %edx je LBB0_14 ## %bb.13: ## in Loop: Header=BB0_12 Depth=2 testl %edx, %edx je LBB0_14 jmp LBB0_16 LBB0_20: movq _EINVAL@GOTPCREL(%rip), %rcx xorl %eax, %eax subl (%rcx), %eax jmp LBB0_18 LBB0_3: xorl %eax, %eax jmp LBB0_18 LBB0_17: ## kill: def $eax killed $eax def $rax LBB0_18: movq ___stack_chk_guard@GOTPCREL(%rip), %rcx movq (%rcx), %rcx cmpq -48(%rbp), %rcx jne LBB0_21 ## %bb.19: ## kill: def $eax killed $eax killed $rax addq $72, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_21: callq ___stack_chk_fail .cfi_endproc ## -- End function .comm _EINVAL,4,2 ## @EINVAL .no_dead_strip ___uvcg_iter_frm_intrv .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function __uvcg_iter_frm_intrv ___uvcg_iter_frm_intrv: ; @__uvcg_iter_frm_intrv .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 Lloh0: adrp x8, ___stack_chk_guard@GOTPAGE Lloh1: ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] Lloh2: ldr x8, [x8] str x8, [sp, #40] cbz x2, LBB0_15 ; %bb.1: mov x19, x3 mov x20, x2 mov x21, x1 mov x22, x0 add x23, x0, x1 neg x24, x0 add x25, sp, #5 mov x26, x0 b LBB0_4 LBB0_2: ; in Loop: Header=BB0_4 Depth=1 add x26, x26, x8 LBB0_3: ; in Loop: Header=BB0_4 Depth=1 strb wzr, [x25, x8] add x0, sp, #5 mov x1, x19 blr x20 cbnz w0, LBB0_17 LBB0_4: ; =>This Loop Header: Depth=1 ; Child Loop BB0_8 Depth 2 ; Child Loop BB0_12 Depth 2 sub x8, x26, x22 cmp x8, x21 b.hs LBB0_16 ; %bb.5: ; in Loop: Header=BB0_4 Depth=1 mov x8, #0 ; =0x0 add x10, x24, x26 mov x9, x10 b LBB0_8 LBB0_6: ; in Loop: Header=BB0_8 Depth=2 ldrb w11, [x26, x8] LBB0_7: ; in Loop: Header=BB0_8 Depth=2 strb w11, [x25, x8] add x8, x8, #1 add x9, x9, #1 LBB0_8: ; Parent Loop BB0_4 Depth=1 ; => This Inner Loop Header: Depth=2 cmp x8, #35 b.ls LBB0_6 ; %bb.9: ; in Loop: Header=BB0_8 Depth=2 add x11, x10, x8 cmp x11, x21 b.hs LBB0_2 ; %bb.10: ; in Loop: Header=BB0_8 Depth=2 ldrb w11, [x26, x8] cmp w11, #0 ccmp w11, #10, #4, ne b.ne LBB0_7 ; %bb.11: ; in Loop: Header=BB0_4 Depth=1 add x26, x26, x8 LBB0_12: ; Parent Loop BB0_4 Depth=1 ; => This Inner Loop Header: Depth=2 ldrb w10, [x26] cmp w10, #10 ccmp w10, #0, #4, ne b.ne LBB0_3 ; %bb.13: ; in Loop: Header=BB0_12 Depth=2 add x26, x26, #1 add x9, x9, #1 cmp x9, x21 b.lo LBB0_12 ; %bb.14: ; in Loop: Header=BB0_4 Depth=1 mov x26, x23 b LBB0_3 LBB0_15: Lloh3: adrp x8, _EINVAL@GOTPAGE Lloh4: ldr x8, [x8, _EINVAL@GOTPAGEOFF] Lloh5: ldr w8, [x8] neg w0, w8 b LBB0_17 LBB0_16: mov w0, #0 ; =0x0 LBB0_17: ldr x8, [sp, #40] Lloh6: adrp x9, ___stack_chk_guard@GOTPAGE Lloh7: ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF] Lloh8: ldr x9, [x9] cmp x9, x8 b.ne LBB0_19 ; %bb.18: 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_19: bl ___stack_chk_fail .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .cfi_endproc ; -- End function .comm _EINVAL,4,2 ; @EINVAL .no_dead_strip ___uvcg_iter_frm_intrv .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function print_num_llp _print_num_llp: ## @print_num_llp .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $40, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %r9d, -56(%rbp) ## 4-byte Spill movl %r8d, -52(%rbp) ## 4-byte Spill movq %rcx, %rbx movq %rdx, -72(%rbp) ## 8-byte Spill movq %rsi, -64(%rbp) ## 8-byte Spill movq %rdi, %r13 movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -48(%rbp) movq _PRINT_DEC_BUFSZ@GOTPCREL(%rip), %r12 movl (%r12), %r15d movq %r15, %rax callq ____chkstk_darwin addq $15, %rax andq $-16, %rax subq %rax, %rsp movq %rsp, %r14 movq %r14, %rdi movl %r15d, %esi movq %rbx, %rdx callq _print_hex_ll ## kill: def $eax killed $eax def $rax testq %rbx, %rbx je LBB0_1 ## %bb.2: movl (%r12), %ecx cmpl %ecx, %eax jge LBB0_4 ## %bb.3: movslq %eax, %rdx decl %eax movb $120, (%r14,%rdx) LBB0_4: cmpl %ecx, %eax jge LBB0_6 ## %bb.5: movslq %eax, %rcx incl %eax movb $48, (%r14,%rcx) jmp LBB0_6 LBB0_1: movl $1852402729, (%r14) ## imm = 0x6E696C29 movb $40, 4(%r14) movl $5, %eax LBB0_6: xorl %r10d, %r10d testq %rbx, %rbx sete %r10b movq %r13, %rdi movq -64(%rbp), %rsi ## 8-byte Reload movq -72(%rbp), %rdx ## 8-byte Reload movl -52(%rbp), %ecx ## 4-byte Reload movl -56(%rbp), %r8d ## 4-byte Reload movl 16(%rbp), %r9d pushq %rax pushq %r14 pushq $0 pushq %r10 movl 48(%rbp), %eax pushq %rax movl 40(%rbp), %eax pushq %rax movl 32(%rbp), %eax pushq %rax movl 24(%rbp), %eax pushq %rax callq _print_num addq $64, %rsp movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax cmpq -48(%rbp), %rax jne LBB0_8 ## %bb.7: leaq -40(%rbp), %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_8: callq ___stack_chk_fail .cfi_endproc ## -- End function .comm _PRINT_DEC_BUFSZ,4,2 ## @PRINT_DEC_BUFSZ .no_dead_strip _print_num_llp .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 print_num_llp lCPI0_0: .byte 41 ; 0x29 .byte 108 ; 0x6c .byte 105 ; 0x69 .byte 110 ; 0x6e .space 1 .space 1 .space 1 .space 1 .section __TEXT,__text,regular,pure_instructions .p2align 2 _print_num_llp: ; @print_num_llp .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 stp w6, w7, [x29, #-96] ; 8-byte Folded Spill stur w5, [x29, #-100] ; 4-byte Folded Spill mov x22, x4 mov x27, x3 mov x23, x2 mov x25, x1 mov x26, x0 ldp w20, w19, [x29, #20] ldr w24, [x29, #16] Lloh0: adrp x8, ___stack_chk_guard@GOTPAGE Lloh1: ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] Lloh2: ldr x8, [x8] stur x8, [x29, #-88] Lloh3: adrp x21, _PRINT_DEC_BUFSZ@GOTPAGE Lloh4: ldr x21, [x21, _PRINT_DEC_BUFSZ@GOTPAGEOFF] ldr w1, [x21] mov x9, x1 Lloh5: adrp x16, ___chkstk_darwin@GOTPAGE Lloh6: ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF] blr x16 mov x8, sp add x9, x1, #15 and x9, x9, #0x1fffffff0 sub x28, x8, x9 mov sp, x28 mov x0, x28 ; kill: def $w1 killed $w1 killed $x1 mov x2, x3 bl _print_hex_ll ; kill: def $w0 killed $w0 def $x0 cbz x27, LBB0_5 ; %bb.1: ldr w8, [x21] cmp w0, w8 b.ge LBB0_3 ; %bb.2: mov w9, #120 ; =0x78 strb w9, [x28, w0, sxtw] sub w9, w0, #1 mov x0, x9 LBB0_3: cmp w0, w8 b.ge LBB0_7 ; %bb.4: sxtw x8, w0 add w10, w0, #1 mov w9, #48 ; =0x30 mov x0, x10 b LBB0_6 LBB0_5: Lloh7: adrp x8, lCPI0_0@PAGE Lloh8: ldr d0, [x8, lCPI0_0@PAGEOFF] str s0, [x28] mov w0, #5 ; =0x5 mov w9, #40 ; =0x28 mov w8, #4 ; =0x4 LBB0_6: strb w9, [x28, x8] LBB0_7: cmp x27, #0 cset w8, eq sub sp, sp, #32 str w0, [sp, #24] str x28, [sp, #16] stp w20, w19, [sp] stp w8, wzr, [sp, #8] mov x0, x26 mov x1, x25 mov x2, x23 mov x3, x22 ldp w4, w5, [x29, #-100] ; 8-byte Folded Reload ldur w6, [x29, #-92] ; 4-byte Folded Reload mov x7, x24 bl _print_num add sp, sp, #32 ldur x8, [x29, #-88] Lloh9: adrp x9, ___stack_chk_guard@GOTPAGE Lloh10: ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF] Lloh11: ldr x9, [x9] cmp x9, x8 b.ne LBB0_9 ; %bb.8: 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_9: bl ___stack_chk_fail .loh AdrpLdrGot Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdr Lloh7, Lloh8 .loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11 .loh AdrpLdrGot Lloh5, Lloh6 .cfi_endproc ; -- End function .comm _PRINT_DEC_BUFSZ,4,2 ; @PRINT_DEC_BUFSZ .no_dead_strip _print_num_llp .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function opfaddp _opfaddp: ## @opfaddp .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), %ecx testl %ecx, %ecx je LBB0_6 ## %bb.1: movl $-1, %eax cmpl $2, %ecx jne LBB0_8 ## %bb.2: movq 8(%rdx), %rcx movq _OT_FPUREG@GOTPCREL(%rip), %rdx movl (%rdx), %edx movq _OT_REGALL@GOTPCREL(%rip), %rdi movl (%rdi), %edi notl %edi movl %edx, %r8d andl %edi, %r8d orl (%rcx), %r8d je LBB0_3 LBB0_5: movl $222, (%rsi) movl $192, %eax orl 4(%rcx), %eax jmp LBB0_7 LBB0_6: movl $222, (%rsi) movl $193, %eax LBB0_7: movl %eax, 4(%rsi) movl $2, %eax LBB0_8: popq %rbp retq LBB0_3: andl 8(%rcx), %edi testl %edx, %edi je LBB0_8 ## %bb.4: cmpl $0, 12(%rcx) jne LBB0_8 jmp LBB0_5 .cfi_endproc ## -- End function .comm _OT_FPUREG,4,2 ## @OT_FPUREG .comm _OT_REGALL,4,2 ## @OT_REGALL .no_dead_strip _opfaddp .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function opfaddp _opfaddp: ; @opfaddp .cfi_startproc ; %bb.0: ldr w8, [x2] cbz w8, LBB0_4 ; %bb.1: cmp w8, #2 b.ne LBB0_8 ; %bb.2: ldr x8, [x2, #8] ldr w11, [x8] Lloh0: adrp x9, _OT_FPUREG@GOTPAGE Lloh1: ldr x9, [x9, _OT_FPUREG@GOTPAGEOFF] Lloh2: ldr w9, [x9] Lloh3: adrp x10, _OT_REGALL@GOTPAGE Lloh4: ldr x10, [x10, _OT_REGALL@GOTPAGEOFF] Lloh5: ldr w10, [x10] bic w12, w9, w10 orr w11, w12, w11 cbz w11, LBB0_6 LBB0_3: mov w9, #222 ; =0xde str w9, [x1] ldr w8, [x8, #4] orr w8, w8, #0xc0 b LBB0_5 LBB0_4: mov w8, #222 ; =0xde str w8, [x1] mov w8, #193 ; =0xc1 LBB0_5: str w8, [x1, #4] mov w0, #2 ; =0x2 ret LBB0_6: mvn w10, w10 ldr w11, [x8, #8] and w9, w11, w9 tst w9, w10 b.eq LBB0_8 ; %bb.7: ldr w9, [x8, #12] cbz w9, LBB0_3 LBB0_8: mov w0, #-1 ; =0xffffffff ret .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _OT_FPUREG,4,2 ; @OT_FPUREG .comm _OT_REGALL,4,2 ; @OT_REGALL .no_dead_strip _opfaddp .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _pg_saslprep ## -- Begin function pg_saslprep .p2align 4, 0x90 _pg_saslprep: ## @pg_saslprep .cfi_startproc ## %bb.0: 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 $0, (%rsi) callq _strlen movq _MAX_PASSWORD_LENGTH@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax jle LBB0_2 ## %bb.1: movq _ERROR@GOTPCREL(%rip), %rax movl (%rax), %r15d movq _ERRCODE_PROGRAM_LIMIT_EXCEEDED@GOTPCREL(%rip), %rax movl (%rax), %edi callq _errcode leaq L_.str(%rip), %rdi callq _errmsg movl %r15d, %edi movl %eax, %esi callq _ereport LBB0_2: movq %rbx, %rdi callq _pg_is_ascii_string testq %rax, %rax je LBB0_5 ## %bb.3: movq %rbx, %rdi callq _STRDUP movq %rax, (%r14) testq %rax, %rax je LBB0_11 ## %bb.4: movq _SASLPREP_SUCCESS@GOTPCREL(%rip), %rax jmp LBB0_12 LBB0_5: movq %rbx, %rdi callq _pg_utf8_string_len testl %eax, %eax js LBB0_6 ## %bb.7: movl %eax, %r15d leal -4(,%r15,4), %edi callq _ALLOC testq %rax, %rax je LBB0_11 ## %bb.8: movq %rax, %r14 testl %r15d, %r15d je LBB0_10 .p2align 4, 0x90 LBB0_9: ## =>This Inner Loop Header: Depth=1 movq %rbx, %rdi callq _utf8_to_unicode movl %eax, (%r14) movq %rbx, %rdi callq _pg_utf_mblen addq %rax, %rbx addq $-4, %r14 jmp LBB0_9 LBB0_11: movq _SASLPREP_OOM@GOTPCREL(%rip), %rax jmp LBB0_12 LBB0_6: movq _SASLPREP_INVALID_UTF8@GOTPCREL(%rip), %rax jmp LBB0_12 LBB0_10: movl $0, (%r14) movq %r14, %rdi callq _FREE movq _SASLPREP_PROHIBITED@GOTPCREL(%rip), %rax LBB0_12: movl (%rax), %eax addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _MAX_PASSWORD_LENGTH,8,3 ## @MAX_PASSWORD_LENGTH .comm _ERROR,4,2 ## @ERROR .comm _ERRCODE_PROGRAM_LIMIT_EXCEEDED,4,2 ## @ERRCODE_PROGRAM_LIMIT_EXCEEDED .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "password too long" .comm _SASLPREP_SUCCESS,4,2 ## @SASLPREP_SUCCESS .comm _SASLPREP_INVALID_UTF8,4,2 ## @SASLPREP_INVALID_UTF8 .comm _non_ascii_space_ranges,4,2 ## @non_ascii_space_ranges .comm _commonly_mapped_to_nothing_ranges,4,2 ## @commonly_mapped_to_nothing_ranges .comm _prohibited_output_ranges,4,2 ## @prohibited_output_ranges .comm _unassigned_codepoint_ranges,4,2 ## @unassigned_codepoint_ranges .comm _RandALCat_codepoint_ranges,4,2 ## @RandALCat_codepoint_ranges .comm _LCat_codepoint_ranges,4,2 ## @LCat_codepoint_ranges .comm _SASLPREP_PROHIBITED,4,2 ## @SASLPREP_PROHIBITED .comm _SASLPREP_OOM,4,2 ## @SASLPREP_OOM .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _pg_saslprep ; -- Begin function pg_saslprep .p2align 2 _pg_saslprep: ; @pg_saslprep .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 str xzr, [x1] bl _strlen Lloh0: adrp x8, _MAX_PASSWORD_LENGTH@GOTPAGE Lloh1: ldr x8, [x8, _MAX_PASSWORD_LENGTH@GOTPAGEOFF] Lloh2: ldr x8, [x8] cmp x0, x8 b.le LBB0_2 ; %bb.1: Lloh3: adrp x8, _ERROR@GOTPAGE Lloh4: ldr x8, [x8, _ERROR@GOTPAGEOFF] Lloh5: ldr w21, [x8] Lloh6: adrp x8, _ERRCODE_PROGRAM_LIMIT_EXCEEDED@GOTPAGE Lloh7: ldr x8, [x8, _ERRCODE_PROGRAM_LIMIT_EXCEEDED@GOTPAGEOFF] Lloh8: ldr w0, [x8] bl _errcode Lloh9: adrp x0, l_.str@PAGE Lloh10: add x0, x0, l_.str@PAGEOFF bl _errmsg mov x1, x0 mov x0, x21 bl _ereport LBB0_2: mov x0, x19 bl _pg_is_ascii_string cbz x0, LBB0_5 ; %bb.3: mov x0, x19 bl _STRDUP str x0, [x20] cbz x0, LBB0_9 ; %bb.4: Lloh11: adrp x8, _SASLPREP_SUCCESS@GOTPAGE Lloh12: ldr x8, [x8, _SASLPREP_SUCCESS@GOTPAGEOFF] b LBB0_12 LBB0_5: mov x0, x19 bl _pg_utf8_string_len tbnz w0, #31, LBB0_10 ; %bb.6: mov x21, x0 lsl w8, w0, #2 sub w0, w8, #4 bl _ALLOC cbz x0, LBB0_9 ; %bb.7: mov x20, x0 cbz w21, LBB0_11 LBB0_8: ; =>This Inner Loop Header: Depth=1 mov x0, x19 bl _utf8_to_unicode str w0, [x20], #-4 mov x0, x19 bl _pg_utf_mblen add x19, x19, x0 b LBB0_8 LBB0_9: Lloh13: adrp x8, _SASLPREP_OOM@GOTPAGE Lloh14: ldr x8, [x8, _SASLPREP_OOM@GOTPAGEOFF] b LBB0_12 LBB0_10: Lloh15: adrp x8, _SASLPREP_INVALID_UTF8@GOTPAGE Lloh16: ldr x8, [x8, _SASLPREP_INVALID_UTF8@GOTPAGEOFF] b LBB0_12 LBB0_11: str wzr, [x20] mov x0, x20 bl _FREE Lloh17: adrp x8, _SASLPREP_PROHIBITED@GOTPAGE Lloh18: ldr x8, [x8, _SASLPREP_PROHIBITED@GOTPAGEOFF] LBB0_12: ldr w0, [x8] ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpAdd Lloh9, Lloh10 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGot Lloh11, Lloh12 .loh AdrpLdrGot Lloh13, Lloh14 .loh AdrpLdrGot Lloh15, Lloh16 .loh AdrpLdrGot Lloh17, Lloh18 .cfi_endproc ; -- End function .comm _MAX_PASSWORD_LENGTH,8,3 ; @MAX_PASSWORD_LENGTH .comm _ERROR,4,2 ; @ERROR .comm _ERRCODE_PROGRAM_LIMIT_EXCEEDED,4,2 ; @ERRCODE_PROGRAM_LIMIT_EXCEEDED .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "password too long" .comm _SASLPREP_SUCCESS,4,2 ; @SASLPREP_SUCCESS .comm _SASLPREP_INVALID_UTF8,4,2 ; @SASLPREP_INVALID_UTF8 .comm _non_ascii_space_ranges,4,2 ; @non_ascii_space_ranges .comm _commonly_mapped_to_nothing_ranges,4,2 ; @commonly_mapped_to_nothing_ranges .comm _prohibited_output_ranges,4,2 ; @prohibited_output_ranges .comm _unassigned_codepoint_ranges,4,2 ; @unassigned_codepoint_ranges .comm _RandALCat_codepoint_ranges,4,2 ; @RandALCat_codepoint_ranges .comm _LCat_codepoint_ranges,4,2 ; @LCat_codepoint_ranges .comm _SASLPREP_PROHIBITED,4,2 ; @SASLPREP_PROHIBITED .comm _SASLPREP_OOM,4,2 ; @SASLPREP_OOM .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function read_ofile_symtab _read_ofile_symtab: ## @read_ofile_symtab .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $40, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdi, %rbx movq 24(%rdi), %r14 callq _LDSYMOFF movl %eax, %r13d movq %rbx, %rdi callq _LDSYMLEN movl %eax, %r15d movq (%rbx), %rax movq %rax, -56(%rbp) ## 8-byte Spill movl 8(%rbx), %eax movl %eax, -44(%rbp) ## 4-byte Spill movq %rbx, -64(%rbp) ## 8-byte Spill movq 16(%rbx), %rax movq %rax, -72(%rbp) ## 8-byte Spill movq _current_objfile@GOTPCREL(%rip), %rax movq %r14, (%rax) movq _subfile_stack@GOTPCREL(%rip), %rax movq $0, (%rax) movq %r14, %rdi callq _DBX_STRINGTAB movq _stringtab_global@GOTPCREL(%rip), %rcx movl %eax, (%rcx) movq _last_source_file@GOTPCREL(%rip), %rax movq $0, (%rax) movq (%r14), %r12 movq _symfile_bfd@GOTPCREL(%rip), %rax movq %r12, (%rax) movq _symbuf_idx@GOTPCREL(%rip), %rax movq $0, (%rax) movq _symbuf_end@GOTPCREL(%rip), %rax movq $0, (%rax) movq _symbuf_read@GOTPCREL(%rip), %rax movq $0, (%rax) movl %r13d, %eax movl %r15d, %ebx subl %r15d, %eax movq _symbuf_left@GOTPCREL(%rip), %rcx movl %eax, (%rcx) movq _processing_acc_compilation@GOTPCREL(%rip), %rax cmpl $0, (%rax) jne LBB0_7 ## %bb.1: movq _symbol_size@GOTPCREL(%rip), %rax movl %r13d, %edi subl (%rax), %edi jge LBB0_2 LBB0_7: movl %r13d, %edi callq _stabs_seek xorl %ecx, %ecx LBB0_8: movq _processing_gcc_compilation@GOTPCREL(%rip), %rax movl %ecx, (%rax) LBB0_9: movq _symbuf_idx@GOTPCREL(%rip), %rax movq (%rax), %rax movq _symbuf_end@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax jne LBB0_11 ## %bb.10: movq %r12, %rdi callq _fill_symbuf movq _symbuf_idx@GOTPCREL(%rip), %rax movq (%rax), %rax LBB0_11: movq _symbuf@GOTPCREL(%rip), %rcx movq (%rcx), %rcx movl (%rcx,%rax,4), %esi movq %r12, %rdi callq _bfd_h_get_8 movq _N_SO@GOTPCREL(%rip), %rcx cmpb (%rcx), %al je LBB0_13 ## %bb.12: leaq L_.str.1(%rip), %rdi callq _error LBB0_13: movq _symbol_size@GOTPCREL(%rip), %rcx movl %ebx, %eax cltd idivl (%rcx) movl %eax, -48(%rbp) ## 4-byte Spill movq _symnum@GOTPCREL(%rip), %r13 movl $0, (%r13) jmp LBB0_14 .p2align 4, 0x90 LBB0_16: ## in Loop: Header=BB0_14 Depth=1 movq _symbuf@GOTPCREL(%rip), %rax movq (%rax), %r15 leaq 1(%rbx), %rax movq %rax, (%rcx) leaq (%r15,%rbx,4), %rdx movq %r12, %rcx callq _INTERNALIZE_SYMBOL movq _n_stabs@GOTPCREL(%rip), %rcx movl (%rcx), %esi leal 1(%rsi), %eax movl %eax, (%rcx) movq %r14, %rdi ## kill: def $esi killed $esi killed $rsi callq _OBJSTAT movl (%r15,%rbx,4), %esi movq %r12, %rdi callq _bfd_h_get_8 movl %eax, %r15d movq %r14, %rdi callq _set_namestring movq %rax, %rbx movq _N_STAB@GOTPCREL(%rip), %rax movzbl (%rax), %eax orb %r15b, %al je LBB0_18 ## %bb.17: ## in Loop: Header=BB0_14 Depth=1 movzbl %r15b, %edi xorl %edx, %edx movq %rbx, %rcx movq -72(%rbp), %r8 ## 8-byte Reload movq %r14, %r9 callq _process_one_symbol LBB0_23: ## in Loop: Header=BB0_14 Depth=1 movl (%r13), %eax incl %eax movl %eax, (%r13) cmpl -48(%rbp), %eax ## 4-byte Folded Reload ja LBB0_24 LBB0_14: ## =>This Inner Loop Header: Depth=1 movq _symbuf_idx@GOTPCREL(%rip), %rcx movq (%rcx), %rbx movq _symbuf_end@GOTPCREL(%rip), %rax cmpq (%rax), %rbx jne LBB0_16 ## %bb.15: ## in Loop: Header=BB0_14 Depth=1 movq %r12, %rdi callq _fill_symbuf movq _symbuf_idx@GOTPCREL(%rip), %rcx movq (%rcx), %rbx jmp LBB0_16 .p2align 4, 0x90 LBB0_18: ## in Loop: Header=BB0_14 Depth=1 movq _N_TEXT@GOTPCREL(%rip), %rax cmpb (%rax), %r15b jne LBB0_23 ## %bb.19: ## in Loop: Header=BB0_14 Depth=1 movq _GCC_COMPILED_FLAG_SYMBOL@GOTPCREL(%rip), %rax movl (%rax), %esi movq %rbx, %rdi callq _DEPRECATED_STREQ testq %rax, %rax je LBB0_21 ## %bb.20: ## in Loop: Header=BB0_14 Depth=1 movq _processing_gcc_compilation@GOTPCREL(%rip), %rax movl $1, (%rax) jmp LBB0_23 LBB0_21: ## in Loop: Header=BB0_14 Depth=1 movq _GCC2_COMPILED_FLAG_SYMBOL@GOTPCREL(%rip), %rax movl (%rax), %esi movq %rbx, %rdi callq _DEPRECATED_STREQ testq %rax, %rax je LBB0_23 ## %bb.22: ## in Loop: Header=BB0_14 Depth=1 movq _processing_gcc_compilation@GOTPCREL(%rip), %rax movl $2, (%rax) jmp LBB0_23 LBB0_24: movq _current_objfile@GOTPCREL(%rip), %rax movq $0, (%rax) movq _last_source_start_addr@GOTPCREL(%rip), %rax movq (%rax), %rcx testq %rcx, %rcx sete %dl movq -56(%rbp), %rsi ## 8-byte Reload cmpq %rsi, %rcx setg %cl orb %dl, %cl cmpb $1, %cl jne LBB0_26 ## %bb.25: movq %rsi, (%rax) LBB0_26: movl -44(%rbp), %eax ## 4-byte Reload subl %esi, %eax movslq %eax, %rbx addq %rsi, %rbx movq %r14, %rdi callq _SECT_OFF_TEXT movq %rbx, %rdi movq %r14, %rsi movl %eax, %edx callq _end_symtab movq -64(%rbp), %rcx ## 8-byte Reload movl %eax, 12(%rcx) xorl %eax, %eax addq $40, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp jmp _end_stabs ## TAILCALL LBB0_2: callq _stabs_seek movq %r12, %rdi callq _fill_symbuf movq _symbuf@GOTPCREL(%rip), %rax movq _symbuf_idx@GOTPCREL(%rip), %rsi movq (%rsi), %rdx leaq 1(%rdx), %rcx movq %rcx, (%rsi) shlq $2, %rdx addq (%rax), %rdx movq %r12, %rcx callq _INTERNALIZE_SYMBOL movq _n_stabs@GOTPCREL(%rip), %rax movl (%rax), %esi leal 1(%rsi), %ecx movl %ecx, (%rax) movq %r14, %rdi ## kill: def $esi killed $esi killed $rsi callq _OBJSTAT movq %r14, %rdi callq _set_namestring movq _processing_gcc_compilation@GOTPCREL(%rip), %r15 movl $0, (%r15) movq _N_TEXT@GOTPCREL(%rip), %rcx cmpb $0, (%rcx) jne LBB0_9 ## %bb.3: movq _GCC_COMPILED_FLAG_SYMBOL@GOTPCREL(%rip), %rcx movl (%rcx), %esi movq %rax, %r13 movq %rax, %rdi callq _DEPRECATED_STREQ movl $1, %ecx testq %rax, %rax jne LBB0_5 ## %bb.4: movq _GCC2_COMPILED_FLAG_SYMBOL@GOTPCREL(%rip), %rax movl (%rax), %esi movq %r13, %rdi callq _DEPRECATED_STREQ movl $2, %ecx testq %rax, %rax je LBB0_6 LBB0_5: movl %ecx, (%r15) LBB0_6: movzbl (%r13), %r15d movq _symfile_bfd@GOTPCREL(%rip), %rax movq (%rax), %rdi callq _bfd_get_symbol_leading_char xorl %ecx, %ecx cmpb %al, %r15b sete %cl addq %rcx, %r13 leaq L_.str(%rip), %rsi movq %r13, %rdi movl $14, %edx callq _DEPRECATED_STREQN movl $2, %ecx testq %rax, %rax jne LBB0_8 jmp LBB0_9 .cfi_endproc ## -- End function .comm _current_objfile,8,3 ## @current_objfile .comm _subfile_stack,8,3 ## @subfile_stack .comm _stringtab_global,4,2 ## @stringtab_global .comm _last_source_file,8,3 ## @last_source_file .comm _symfile_bfd,8,3 ## @symfile_bfd .comm _symbuf_idx,8,3 ## @symbuf_idx .comm _symbuf_end,8,3 ## @symbuf_end .comm _symbuf_read,8,3 ## @symbuf_read .comm _symbuf_left,4,2 ## @symbuf_left .comm _processing_acc_compilation,4,2 ## @processing_acc_compilation .comm _symbol_size,4,2 ## @symbol_size .comm _symbuf,8,3 ## @symbuf .comm _n_stabs,4,2 ## @n_stabs .comm _processing_gcc_compilation,4,2 ## @processing_gcc_compilation .comm _N_TEXT,1,0 ## @N_TEXT .comm _GCC_COMPILED_FLAG_SYMBOL,4,2 ## @GCC_COMPILED_FLAG_SYMBOL .comm _GCC2_COMPILED_FLAG_SYMBOL,4,2 ## @GCC2_COMPILED_FLAG_SYMBOL .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "__gnu_compiled" .comm _N_SO,1,0 ## @N_SO L_.str.1: ## @.str.1 .asciz "First symbol in segment of executable not a source symbol" .comm _symnum,4,2 ## @symnum .comm _QUIT,4,2 ## @QUIT .comm _N_STAB,1,0 ## @N_STAB .comm _N_EXT,1,0 ## @N_EXT .comm _N_NBTEXT,8,3 ## @N_NBTEXT .comm _last_source_start_addr,8,3 ## @last_source_start_addr .comm _AUTO_DEMANGLING,8,3 ## @AUTO_DEMANGLING .comm _GNU_DEMANGLING_STYLE_STRING,4,2 ## @GNU_DEMANGLING_STYLE_STRING .no_dead_strip _read_ofile_symtab .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function read_ofile_symtab _read_ofile_symtab: ; @read_ofile_symtab .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, #24] bl _LDSYMOFF mov x22, x0 mov x0, x19 bl _LDSYMLEN mov x23, x0 ldr x8, [x19] stp x8, x19, [sp, #16] ; 16-byte Folded Spill ldr w8, [x19, #8] str w8, [sp, #12] ; 4-byte Folded Spill ldr x21, [x19, #16] Lloh0: adrp x8, _current_objfile@GOTPAGE Lloh1: ldr x8, [x8, _current_objfile@GOTPAGEOFF] Lloh2: str x20, [x8] Lloh3: adrp x8, _subfile_stack@GOTPAGE Lloh4: ldr x8, [x8, _subfile_stack@GOTPAGEOFF] Lloh5: str xzr, [x8] mov x0, x20 bl _DBX_STRINGTAB mov x8, x0 mov x0, x22 Lloh6: adrp x9, _stringtab_global@GOTPAGE Lloh7: ldr x9, [x9, _stringtab_global@GOTPAGEOFF] Lloh8: adrp x10, _last_source_file@GOTPAGE Lloh9: ldr x10, [x10, _last_source_file@GOTPAGEOFF] Lloh10: str w8, [x9] Lloh11: str xzr, [x10] ldr x22, [x20] Lloh12: adrp x19, _symfile_bfd@GOTPAGE Lloh13: ldr x19, [x19, _symfile_bfd@GOTPAGEOFF] str x22, [x19] Lloh14: adrp x28, _symbuf_idx@GOTPAGE Lloh15: ldr x28, [x28, _symbuf_idx@GOTPAGEOFF] str xzr, [x28] Lloh16: adrp x8, _symbuf_end@GOTPAGE Lloh17: ldr x8, [x8, _symbuf_end@GOTPAGEOFF] Lloh18: str xzr, [x8] Lloh19: adrp x8, _symbuf_read@GOTPAGE Lloh20: ldr x8, [x8, _symbuf_read@GOTPAGEOFF] Lloh21: str xzr, [x8] sub w8, w0, w23 Lloh22: adrp x9, _symbuf_left@GOTPAGE Lloh23: ldr x9, [x9, _symbuf_left@GOTPAGEOFF] Lloh24: str w8, [x9] Lloh25: adrp x8, _processing_acc_compilation@GOTPAGE Lloh26: ldr x8, [x8, _processing_acc_compilation@GOTPAGEOFF] Lloh27: ldr w8, [x8] Lloh28: adrp x24, _symbol_size@GOTPAGE Lloh29: ldr x24, [x24, _symbol_size@GOTPAGEOFF] Lloh30: adrp x25, _n_stabs@GOTPAGE Lloh31: ldr x25, [x25, _n_stabs@GOTPAGEOFF] cbnz w8, LBB0_2 ; %bb.1: ldr w8, [x24] subs w8, w0, w8 b.ge LBB0_24 LBB0_2: bl _stabs_seek mov w8, #0 ; =0x0 LBB0_3: Lloh32: adrp x9, _processing_gcc_compilation@GOTPAGE Lloh33: ldr x9, [x9, _processing_gcc_compilation@GOTPAGEOFF] Lloh34: str w8, [x9] LBB0_4: ldr x8, [x28] Lloh35: adrp x9, _symbuf_end@GOTPAGE Lloh36: ldr x9, [x9, _symbuf_end@GOTPAGEOFF] Lloh37: ldr x9, [x9] cmp x8, x9 b.ne LBB0_6 ; %bb.5: mov x0, x22 bl _fill_symbuf ldr x8, [x28] LBB0_6: Lloh38: adrp x9, _symbuf@GOTPAGE Lloh39: ldr x9, [x9, _symbuf@GOTPAGEOFF] Lloh40: ldr x9, [x9] ldr w1, [x9, x8, lsl #2] mov x0, x22 bl _bfd_h_get_8 Lloh41: adrp x8, _N_SO@GOTPAGE Lloh42: ldr x8, [x8, _N_SO@GOTPAGEOFF] ldrb w8, [x8] cmp w0, w8 b.eq LBB0_8 ; %bb.7: Lloh43: adrp x0, l_.str.1@PAGE Lloh44: add x0, x0, l_.str.1@PAGEOFF bl _error LBB0_8: ldr w8, [x24] Lloh45: adrp x19, _symnum@GOTPAGE Lloh46: ldr x19, [x19, _symnum@GOTPAGEOFF] str wzr, [x19] Lloh47: adrp x27, _N_STAB@GOTPAGE Lloh48: ldr x27, [x27, _N_STAB@GOTPAGEOFF] sdiv w26, w23, w8 b LBB0_12 LBB0_9: ; in Loop: Header=BB0_12 Depth=1 Lloh49: adrp x9, _symbuf@GOTPAGE Lloh50: ldr x9, [x9, _symbuf@GOTPAGEOFF] Lloh51: ldr x9, [x9] add x10, x8, #1 str x10, [x28] add x23, x9, x8, lsl #2 mov x1, #0 ; =0x0 mov x2, x23 mov x3, x22 bl _INTERNALIZE_SYMBOL ldr w1, [x25] add w8, w1, #1 str w8, [x25] mov x0, x20 bl _OBJSTAT ldr w1, [x23] mov x0, x22 bl _bfd_h_get_8 mov x24, x0 mov x0, x20 mov x2, #0 ; =0x0 bl _set_namestring mov x23, x0 ldrb w8, [x27] orr w8, w8, w24 tst w8, #0xff b.eq LBB0_14 ; %bb.10: ; in Loop: Header=BB0_12 Depth=1 mov x0, x24 mov w2, #0 ; =0x0 mov x3, x23 mov x4, x21 mov x5, x20 bl _process_one_symbol LBB0_11: ; in Loop: Header=BB0_12 Depth=1 ldr w8, [x19] add w8, w8, #1 str w8, [x19] cmp w8, w26 b.hi LBB0_20 LBB0_12: ; =>This Inner Loop Header: Depth=1 ldr x8, [x28] Lloh52: adrp x9, _symbuf_end@GOTPAGE Lloh53: ldr x9, [x9, _symbuf_end@GOTPAGEOFF] Lloh54: ldr x9, [x9] cmp x8, x9 b.ne LBB0_9 ; %bb.13: ; in Loop: Header=BB0_12 Depth=1 mov x0, x22 bl _fill_symbuf ldr x8, [x28] b LBB0_9 LBB0_14: ; in Loop: Header=BB0_12 Depth=1 Lloh55: adrp x8, _N_TEXT@GOTPAGE Lloh56: ldr x8, [x8, _N_TEXT@GOTPAGEOFF] ldrb w8, [x8] cmp w24, w8 b.ne LBB0_11 ; %bb.15: ; in Loop: Header=BB0_12 Depth=1 Lloh57: adrp x8, _GCC_COMPILED_FLAG_SYMBOL@GOTPAGE Lloh58: ldr x8, [x8, _GCC_COMPILED_FLAG_SYMBOL@GOTPAGEOFF] Lloh59: ldr w1, [x8] mov x0, x23 bl _DEPRECATED_STREQ cbz x0, LBB0_17 ; %bb.16: ; in Loop: Header=BB0_12 Depth=1 Lloh60: adrp x8, _processing_gcc_compilation@GOTPAGE Lloh61: ldr x8, [x8, _processing_gcc_compilation@GOTPAGEOFF] mov w9, #1 ; =0x1 b LBB0_19 LBB0_17: ; in Loop: Header=BB0_12 Depth=1 Lloh62: adrp x8, _GCC2_COMPILED_FLAG_SYMBOL@GOTPAGE Lloh63: ldr x8, [x8, _GCC2_COMPILED_FLAG_SYMBOL@GOTPAGEOFF] Lloh64: ldr w1, [x8] mov x0, x23 bl _DEPRECATED_STREQ cbz x0, LBB0_11 ; %bb.18: ; in Loop: Header=BB0_12 Depth=1 Lloh65: adrp x8, _processing_gcc_compilation@GOTPAGE Lloh66: ldr x8, [x8, _processing_gcc_compilation@GOTPAGEOFF] mov w9, #2 ; =0x2 LBB0_19: ; in Loop: Header=BB0_12 Depth=1 str w9, [x8] b LBB0_11 LBB0_20: Lloh67: adrp x8, _current_objfile@GOTPAGE Lloh68: ldr x8, [x8, _current_objfile@GOTPAGEOFF] Lloh69: str xzr, [x8] Lloh70: adrp x8, _last_source_start_addr@GOTPAGE Lloh71: ldr x8, [x8, _last_source_start_addr@GOTPAGEOFF] ldr x9, [x8] ldr x10, [sp, #16] ; 8-byte Folded Reload cbz x9, LBB0_22 ; %bb.21: cmp x9, x10 b.le LBB0_23 LBB0_22: str x10, [x8] LBB0_23: ldr w8, [sp, #12] ; 4-byte Folded Reload sub w8, w8, w10 add x21, x10, w8, sxtw mov x0, x20 bl _SECT_OFF_TEXT mov x2, x0 mov x0, x21 mov x1, x20 bl _end_symtab ldr x8, [sp, #24] ; 8-byte Folded Reload str w0, [x8, #12] 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 _end_stabs LBB0_24: mov x0, x8 bl _stabs_seek mov x0, x22 bl _fill_symbuf Lloh72: adrp x8, _symbuf@GOTPAGE Lloh73: ldr x8, [x8, _symbuf@GOTPAGEOFF] Lloh74: ldr x8, [x8] ldr x9, [x28] add x10, x9, #1 str x10, [x28] add x2, x8, x9, lsl #2 mov x1, #0 ; =0x0 mov x3, x22 bl _INTERNALIZE_SYMBOL ldr w1, [x25] add w8, w1, #1 str w8, [x25] mov x0, x20 bl _OBJSTAT mov x0, x20 mov x2, #0 ; =0x0 bl _set_namestring Lloh75: adrp x8, _processing_gcc_compilation@GOTPAGE Lloh76: ldr x8, [x8, _processing_gcc_compilation@GOTPAGEOFF] Lloh77: str wzr, [x8] Lloh78: adrp x8, _N_TEXT@GOTPAGE Lloh79: ldr x8, [x8, _N_TEXT@GOTPAGEOFF] ldrb w8, [x8] cbnz w8, LBB0_4 ; %bb.25: mov x27, x0 Lloh80: adrp x8, _GCC_COMPILED_FLAG_SYMBOL@GOTPAGE Lloh81: ldr x8, [x8, _GCC_COMPILED_FLAG_SYMBOL@GOTPAGEOFF] Lloh82: ldr w1, [x8] bl _DEPRECATED_STREQ cbz x0, LBB0_27 ; %bb.26: mov w8, #1 ; =0x1 b LBB0_29 LBB0_27: Lloh83: adrp x8, _GCC2_COMPILED_FLAG_SYMBOL@GOTPAGE Lloh84: ldr x8, [x8, _GCC2_COMPILED_FLAG_SYMBOL@GOTPAGEOFF] Lloh85: ldr w1, [x8] mov x0, x27 bl _DEPRECATED_STREQ cbz x0, LBB0_30 ; %bb.28: mov w8, #2 ; =0x2 LBB0_29: Lloh86: adrp x9, _processing_gcc_compilation@GOTPAGE Lloh87: ldr x9, [x9, _processing_gcc_compilation@GOTPAGEOFF] Lloh88: str w8, [x9] LBB0_30: mov x26, x27 ldrb w8, [x26], #1 str w8, [sp, #8] ; 4-byte Folded Spill ldr x0, [x19] bl _bfd_get_symbol_leading_char ldr w8, [sp, #8] ; 4-byte Folded Reload cmp w8, w0, uxtb csel x0, x27, x26, ne Lloh89: adrp x1, l_.str@PAGE Lloh90: add x1, x1, l_.str@PAGEOFF mov w2, #14 ; =0xe bl _DEPRECATED_STREQN cbz x0, LBB0_4 ; %bb.31: mov w8, #2 ; =0x2 b LBB0_3 .loh AdrpLdrGot Lloh30, Lloh31 .loh AdrpLdrGot Lloh28, Lloh29 .loh AdrpLdrGotLdr Lloh25, Lloh26, Lloh27 .loh AdrpLdrGotStr Lloh22, Lloh23, Lloh24 .loh AdrpLdrGotStr Lloh19, Lloh20, Lloh21 .loh AdrpLdrGotStr Lloh16, Lloh17, Lloh18 .loh AdrpLdrGot Lloh14, Lloh15 .loh AdrpLdrGot Lloh12, Lloh13 .loh AdrpLdrGotStr Lloh8, Lloh9, Lloh11 .loh AdrpLdrGotStr Lloh6, Lloh7, Lloh10 .loh AdrpLdrGotStr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotStr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotStr Lloh32, Lloh33, Lloh34 .loh AdrpLdrGotLdr Lloh35, Lloh36, Lloh37 .loh AdrpLdrGot Lloh41, Lloh42 .loh AdrpLdrGotLdr Lloh38, Lloh39, Lloh40 .loh AdrpAdd Lloh43, Lloh44 .loh AdrpLdrGot Lloh47, Lloh48 .loh AdrpLdrGot Lloh45, Lloh46 .loh AdrpLdrGotLdr Lloh49, Lloh50, Lloh51 .loh AdrpLdrGotLdr Lloh52, Lloh53, Lloh54 .loh AdrpLdrGot Lloh55, Lloh56 .loh AdrpLdrGotLdr Lloh57, Lloh58, Lloh59 .loh AdrpLdrGot Lloh60, Lloh61 .loh AdrpLdrGotLdr Lloh62, Lloh63, Lloh64 .loh AdrpLdrGot Lloh65, Lloh66 .loh AdrpLdrGot Lloh70, Lloh71 .loh AdrpLdrGotStr Lloh67, Lloh68, Lloh69 .loh AdrpLdrGot Lloh78, Lloh79 .loh AdrpLdrGotStr Lloh75, Lloh76, Lloh77 .loh AdrpLdrGotLdr Lloh72, Lloh73, Lloh74 .loh AdrpLdrGotLdr Lloh80, Lloh81, Lloh82 .loh AdrpLdrGotLdr Lloh83, Lloh84, Lloh85 .loh AdrpLdrGotStr Lloh86, Lloh87, Lloh88 .loh AdrpAdd Lloh89, Lloh90 .cfi_endproc ; -- End function .comm _current_objfile,8,3 ; @current_objfile .comm _subfile_stack,8,3 ; @subfile_stack .comm _stringtab_global,4,2 ; @stringtab_global .comm _last_source_file,8,3 ; @last_source_file .comm _symfile_bfd,8,3 ; @symfile_bfd .comm _symbuf_idx,8,3 ; @symbuf_idx .comm _symbuf_end,8,3 ; @symbuf_end .comm _symbuf_read,8,3 ; @symbuf_read .comm _symbuf_left,4,2 ; @symbuf_left .comm _processing_acc_compilation,4,2 ; @processing_acc_compilation .comm _symbol_size,4,2 ; @symbol_size .comm _symbuf,8,3 ; @symbuf .comm _n_stabs,4,2 ; @n_stabs .comm _processing_gcc_compilation,4,2 ; @processing_gcc_compilation .comm _N_TEXT,1,0 ; @N_TEXT .comm _GCC_COMPILED_FLAG_SYMBOL,4,2 ; @GCC_COMPILED_FLAG_SYMBOL .comm _GCC2_COMPILED_FLAG_SYMBOL,4,2 ; @GCC2_COMPILED_FLAG_SYMBOL .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "__gnu_compiled" .comm _N_SO,1,0 ; @N_SO l_.str.1: ; @.str.1 .asciz "First symbol in segment of executable not a source symbol" .comm _symnum,4,2 ; @symnum .comm _QUIT,4,2 ; @QUIT .comm _N_STAB,1,0 ; @N_STAB .comm _N_EXT,1,0 ; @N_EXT .comm _N_NBTEXT,8,3 ; @N_NBTEXT .comm _last_source_start_addr,8,3 ; @last_source_start_addr .comm _AUTO_DEMANGLING,8,3 ; @AUTO_DEMANGLING .comm _GNU_DEMANGLING_STYLE_STRING,4,2 ; @GNU_DEMANGLING_STYLE_STRING .no_dead_strip _read_ofile_symtab .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function amsdu_to_msdu _amsdu_to_msdu: ## @amsdu_to_msdu .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $40, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rsi, %rbx movq %rdi, -80(%rbp) ## 8-byte Spill movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -48(%rbp) movq _MAX_SUBFRAME_COUNT@GOTPCREL(%rip), %rax movl (%rax), %eax shlq $3, %rax callq ____chkstk_darwin addq $15, %rax andq $-16, %rax subq %rax, %rsp movq %rsp, -72(%rbp) ## 8-byte Spill movq (%rbx), %rdi movq 8(%rbx), %rsi callq _skb_pull movq 16(%rbx), %rsi testq %rsi, %rsi jle LBB0_2 ## %bb.1: movq (%rbx), %rdi callq _skb_pull LBB0_2: movq %rbx, -56(%rbp) ## 8-byte Spill movq (%rbx), %rax movl (%rax), %r15d movq _ETH_HLEN@GOTPCREL(%rip), %rbx cmpl (%rbx), %r15d jle LBB0_30 ## %bb.3: movq 8(%rax), %r12 xorl %edx, %edx LBB0_4: ## =>This Loop Header: Depth=1 ## Child Loop BB0_5 Depth 2 movq %rdx, %r13 .p2align 4, 0x90 LBB0_5: ## Parent Loop BB0_4 Depth=1 ## => This Inner Loop Header: Depth=2 leaq 12(%r12), %rdi callq _get_unaligned_be16 movl %eax, %r14d movq _ETHERNET_HEADER_SIZE@GOTPCREL(%rip), %rax movl (%rax), %eax addl %r14d, %eax cmpl %eax, %r15d jl LBB0_6 ## %bb.7: ## in Loop: Header=BB0_5 Depth=2 movslq (%rbx), %rax addq %rax, %r12 subl %eax, %r15d leal 12(%r14), %edi callq _dev_alloc_skb testq %rax, %rax jne LBB0_8 ## %bb.11: ## in Loop: Header=BB0_5 Depth=2 movq -56(%rbp), %rax ## 8-byte Reload movq (%rax), %rdi movq _GFP_ATOMIC@GOTPCREL(%rip), %rax movl (%rax), %esi callq _skb_clone testq %rax, %rax jne LBB0_12 ## %bb.13: ## in Loop: Header=BB0_5 Depth=2 leaq L_.str.1(%rip), %rdi movl %r13d, %esi xorl %eax, %eax callq _DBG_88E movq _ETH_HLEN@GOTPCREL(%rip), %rbx cmpl (%rbx), %r15d jg LBB0_5 jmp LBB0_20 .p2align 4, 0x90 LBB0_8: ## in Loop: Header=BB0_4 Depth=1 movq %rax, %rbx movq %rax, %rdi movl $12, %esi callq _skb_reserve movq %rbx, %rdi movq %r12, %rsi movl %r14d, %edx callq _skb_put_data jmp LBB0_9 .p2align 4, 0x90 LBB0_12: ## in Loop: Header=BB0_4 Depth=1 movq %rax, %rbx movq %r12, 8(%rax) movl %r14d, (%rax) movq %rax, %rdi movl %r14d, %esi callq _skb_set_tail_pointer LBB0_9: ## in Loop: Header=BB0_4 Depth=1 leaq -1(%r13), %rdx movq -72(%rbp), %rax ## 8-byte Reload movq %rbx, (%rax,%r13,8) movq _MAX_SUBFRAME_COUNT@GOTPCREL(%rip), %rax movslq (%rax), %rax cmpq %rax, %r13 jg LBB0_10 ## %bb.14: ## in Loop: Header=BB0_4 Depth=1 movslq %r14d, %rax addq %rax, %r12 movq _ETH_HLEN@GOTPCREL(%rip), %rbx movl (%rbx), %eax subl %r14d, %r15d jne LBB0_16 ## %bb.15: ## in Loop: Header=BB0_4 Depth=1 xorl %r15d, %r15d cmpl %eax, %r15d jg LBB0_4 jmp LBB0_19 .p2align 4, 0x90 LBB0_16: ## in Loop: Header=BB0_4 Depth=1 addl %eax, %r14d andl $3, %r14d movl $4, %ecx subl %r14d, %ecx testl %r14d, %r14d cmovel %r14d, %ecx subl %ecx, %r15d jl LBB0_30 ## %bb.17: ## in Loop: Header=BB0_4 Depth=1 movl %ecx, %ecx addq %rcx, %r12 cmpl %eax, %r15d jg LBB0_4 LBB0_19: movl %edx, %r13d jmp LBB0_20 LBB0_6: leaq L_.str(%rip), %rdi movl %r15d, %esi movl %r14d, %edx xorl %eax, %eax callq _DBG_88E jmp LBB0_30 LBB0_10: leaq L_.str.2(%rip), %rdi xorl %eax, %eax movq %rdx, %r14 callq _DBG_88E movl %r14d, %r13d LBB0_20: testl %r13d, %r13d jle LBB0_30 ## %bb.21: movl %r13d, %r14d xorl %r13d, %r13d movq _ETH_ALEN@GOTPCREL(%rip), %r15 jmp LBB0_22 .p2align 4, 0x90 LBB0_27: ## in Loop: Header=BB0_22 Depth=1 movq _SNAP_SIZE@GOTPCREL(%rip), %rax movq (%rax), %rsi movq %r12, %rdi callq _skb_pull LBB0_29: ## in Loop: Header=BB0_22 Depth=1 movl (%r15), %esi movq %r12, %rdi callq _skb_push movq -56(%rbp), %rbx ## 8-byte Reload movq 32(%rbx), %rsi movl (%r15), %edx movl %eax, %edi callq _memcpy movl (%r15), %esi movq %r12, %rdi callq _skb_push movq 24(%rbx), %rsi movl (%r15), %edx movl %eax, %edi callq _memcpy movq -80(%rbp), %rbx ## 8-byte Reload movl (%rbx), %esi movq %r12, %rdi callq _eth_type_trans movl %eax, 24(%r12) movl (%rbx), %eax movl %eax, 20(%r12) movq _CHECKSUM_NONE@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, 16(%r12) movq %r12, %rdi callq _netif_rx incq %r13 cmpq %r13, %r14 je LBB0_30 LBB0_22: ## =>This Inner Loop Header: Depth=1 movq -72(%rbp), %rax ## 8-byte Reload movq (%rax,%r13,8), %r12 movq 8(%r12), %rdi addq $6, %rdi callq _get_unaligned_be16 cmpl $7, (%r12) jg LBB0_27 ## %bb.23: ## in Loop: Header=BB0_22 Depth=1 movl %eax, %ebx movq 8(%r12), %rdi movq _rtw_rfc1042_header@GOTPCREL(%rip), %rax movl (%rax), %esi movq _SNAP_SIZE@GOTPCREL(%rip), %rax movq (%rax), %rdx callq _memcmp testl %eax, %eax jne LBB0_26 ## %bb.24: ## in Loop: Header=BB0_22 Depth=1 movq _ETH_P_AARP@GOTPCREL(%rip), %rax cmpl (%rax), %ebx je LBB0_26 ## %bb.25: ## in Loop: Header=BB0_22 Depth=1 movq _ETH_P_IPX@GOTPCREL(%rip), %rax cmpl (%rax), %ebx jne LBB0_27 LBB0_26: ## in Loop: Header=BB0_22 Depth=1 movq 8(%r12), %rdi movq _rtw_bridge_tunnel_header@GOTPCREL(%rip), %rax movl (%rax), %esi movq _SNAP_SIZE@GOTPCREL(%rip), %rax movq (%rax), %rdx callq _memcmp testl %eax, %eax je LBB0_27 ## %bb.28: ## in Loop: Header=BB0_22 Depth=1 movl (%r12), %edi callq _htons movl %eax, -60(%rbp) movq %r12, %rdi movl $2, %esi callq _skb_push movl %eax, %edi leaq -60(%rbp), %rsi movl $2, %edx callq _memcpy jmp LBB0_29 LBB0_30: movq -80(%rbp), %rsi ## 8-byte Reload addq $4, %rsi movq -56(%rbp), %rdi ## 8-byte Reload callq _rtw_free_recvframe movq __SUCCESS@GOTPCREL(%rip), %rax movl (%rax), %eax movq ___stack_chk_guard@GOTPCREL(%rip), %rcx movq (%rcx), %rcx cmpq -48(%rbp), %rcx jne LBB0_32 ## %bb.31: leaq -40(%rbp), %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_32: callq ___stack_chk_fail .cfi_endproc ## -- End function .comm _MAX_SUBFRAME_COUNT,4,2 ## @MAX_SUBFRAME_COUNT .comm _ETH_HLEN,4,2 ## @ETH_HLEN .comm _ETHERNET_HEADER_SIZE,4,2 ## @ETHERNET_HEADER_SIZE .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "nRemain_Length is %d and nSubframe_Length is : %d\n" .comm _GFP_ATOMIC,4,2 ## @GFP_ATOMIC L_.str.1: ## @.str.1 .asciz "skb_clone() Fail!!! , nr_subframes=%d\n" L_.str.2: ## @.str.2 .asciz "ParseSubframe(): Too many Subframes! Packets dropped!\n" .comm _rtw_rfc1042_header,4,2 ## @rtw_rfc1042_header .comm _SNAP_SIZE,8,3 ## @SNAP_SIZE .comm _ETH_P_AARP,4,2 ## @ETH_P_AARP .comm _ETH_P_IPX,4,2 ## @ETH_P_IPX .comm _rtw_bridge_tunnel_header,4,2 ## @rtw_bridge_tunnel_header .comm _ETH_ALEN,4,2 ## @ETH_ALEN .comm _CHECKSUM_NONE,4,2 ## @CHECKSUM_NONE .comm __SUCCESS,4,2 ## @_SUCCESS .no_dead_strip _amsdu_to_msdu .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function amsdu_to_msdu _amsdu_to_msdu: ; @amsdu_to_msdu .cfi_startproc ; %bb.0: stp x28, x27, [sp, #-96]! ; 16-byte Folded Spill stp x26, x25, [sp, #16] ; 16-byte Folded Spill stp x24, x23, [sp, #32] ; 16-byte Folded Spill stp x22, x21, [sp, #48] ; 16-byte Folded Spill stp x20, x19, [sp, #64] ; 16-byte Folded Spill stp x29, x30, [sp, #80] ; 16-byte Folded Spill add x29, sp, #80 sub sp, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset w27, -88 .cfi_offset w28, -96 mov x19, x1 mov x20, x0 Lloh0: adrp x8, ___stack_chk_guard@GOTPAGE Lloh1: ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] Lloh2: ldr x8, [x8] stur x8, [x29, #-88] Lloh3: adrp x8, _MAX_SUBFRAME_COUNT@GOTPAGE Lloh4: ldr x8, [x8, _MAX_SUBFRAME_COUNT@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 x25, x9, x8 mov sp, x25 ldp x0, x1, [x1] bl _skb_pull ldr x1, [x19, #16] cmp x1, #1 b.lt LBB0_2 ; %bb.1: ldr x0, [x19] bl _skb_pull LBB0_2: ldr x8, [x19] ldr w28, [x8] Lloh8: adrp x27, _ETH_HLEN@GOTPAGE Lloh9: ldr x27, [x27, _ETH_HLEN@GOTPAGEOFF] ldr w9, [x27] cmp w28, w9 b.le LBB0_27 ; %bb.3: mov x24, #0 ; =0x0 Lloh10: adrp x26, _ETHERNET_HEADER_SIZE@GOTPAGE Lloh11: ldr x26, [x26, _ETHERNET_HEADER_SIZE@GOTPAGEOFF] ldr x21, [x8, #8] LBB0_4: ; =>This Loop Header: Depth=1 ; Child Loop BB0_5 Depth 2 mov x22, x24 LBB0_5: ; Parent Loop BB0_4 Depth=1 ; => This Inner Loop Header: Depth=2 add x0, x21, #12 bl _get_unaligned_be16 mov x23, x0 ldr w8, [x26] add w8, w8, w0 cmp w28, w8 b.lt LBB0_16 ; %bb.6: ; in Loop: Header=BB0_5 Depth=2 ldrsw x8, [x27] add x21, x21, x8 sub w28, w28, w8 add w0, w23, #12 bl _dev_alloc_skb cbnz x0, LBB0_9 ; %bb.7: ; in Loop: Header=BB0_5 Depth=2 ldr x0, [x19] Lloh12: adrp x8, _GFP_ATOMIC@GOTPAGE Lloh13: ldr x8, [x8, _GFP_ATOMIC@GOTPAGEOFF] Lloh14: ldr w1, [x8] bl _skb_clone cbnz x0, LBB0_10 ; %bb.8: ; in Loop: Header=BB0_5 Depth=2 str x24, [sp, #-16]! Lloh15: adrp x0, l_.str.1@PAGE Lloh16: add x0, x0, l_.str.1@PAGEOFF bl _DBG_88E add sp, sp, #16 ldr w8, [x27] cmp w28, w8 b.gt LBB0_5 b LBB0_19 LBB0_9: ; in Loop: Header=BB0_4 Depth=1 mov x24, x0 mov w1, #12 ; =0xc bl _skb_reserve stur x24, [x29, #-104] ; 8-byte Folded Spill mov x0, x24 mov x1, x21 mov x2, x23 bl _skb_put_data b LBB0_11 LBB0_10: ; in Loop: Header=BB0_4 Depth=1 str x21, [x0, #8] str w23, [x0] stur x0, [x29, #-104] ; 8-byte Folded Spill mov x1, x23 bl _skb_set_tail_pointer LBB0_11: ; in Loop: Header=BB0_4 Depth=1 sub x24, x22, #1 ldur x8, [x29, #-104] ; 8-byte Folded Reload str x8, [x25, x22, lsl #3] Lloh17: adrp x8, _MAX_SUBFRAME_COUNT@GOTPAGE Lloh18: ldr x8, [x8, _MAX_SUBFRAME_COUNT@GOTPAGEOFF] Lloh19: ldrsw x8, [x8] cmp x22, x8 b.gt LBB0_17 ; %bb.12: ; in Loop: Header=BB0_4 Depth=1 add x21, x21, w23, sxtw ldr w8, [x27] subs w9, w28, w23 b.ne LBB0_14 ; %bb.13: ; in Loop: Header=BB0_4 Depth=1 mov w28, #0 ; =0x0 cmp w28, w8 b.gt LBB0_4 b LBB0_18 LBB0_14: ; in Loop: Header=BB0_4 Depth=1 add w10, w8, w23 ands w11, w10, #0x3 mov w12, #4 ; =0x4 sub w11, w12, w11 tst w10, #0x3 csel w10, wzr, w11, eq subs w28, w9, w10 b.lt LBB0_27 ; %bb.15: ; in Loop: Header=BB0_4 Depth=1 add x21, x21, w10, uxtw cmp w28, w8 b.gt LBB0_4 b LBB0_18 LBB0_16: stp x28, x23, [sp, #-16]! Lloh20: adrp x0, l_.str@PAGE Lloh21: add x0, x0, l_.str@PAGEOFF bl _DBG_88E add sp, sp, #16 b LBB0_27 LBB0_17: Lloh22: adrp x0, l_.str.2@PAGE Lloh23: add x0, x0, l_.str.2@PAGEOFF bl _DBG_88E LBB0_18: mov x22, x24 LBB0_19: cmp w22, #1 b.lt LBB0_27 ; %bb.20: mov w23, w22 Lloh24: adrp x24, _SNAP_SIZE@GOTPAGE Lloh25: ldr x24, [x24, _SNAP_SIZE@GOTPAGEOFF] Lloh26: adrp x26, _ETH_ALEN@GOTPAGE Lloh27: ldr x26, [x26, _ETH_ALEN@GOTPAGEOFF] Lloh28: adrp x27, _CHECKSUM_NONE@GOTPAGE Lloh29: ldr x27, [x27, _CHECKSUM_NONE@GOTPAGEOFF] Lloh30: adrp x28, _ETH_P_IPX@GOTPAGE Lloh31: ldr x28, [x28, _ETH_P_IPX@GOTPAGEOFF] b LBB0_23 LBB0_21: ; in Loop: Header=BB0_23 Depth=1 ldr x1, [x24] mov x0, x21 bl _skb_pull LBB0_22: ; in Loop: Header=BB0_23 Depth=1 ldr w1, [x26] mov x0, x21 bl _skb_push ldr x1, [x19, #32] ldr w2, [x26] bl _memcpy ldr w1, [x26] mov x0, x21 bl _skb_push ldr x1, [x19, #24] ldr w2, [x26] bl _memcpy ldr w1, [x20] mov x0, x21 bl _eth_type_trans str w0, [x21, #24] ldr w8, [x20] ldr w9, [x27] stp w9, w8, [x21, #16] mov x0, x21 bl _netif_rx add x25, x25, #8 subs x23, x23, #1 b.eq LBB0_27 LBB0_23: ; =>This Inner Loop Header: Depth=1 ldr x21, [x25] ldr x8, [x21, #8] add x0, x8, #6 bl _get_unaligned_be16 ldr w8, [x21] cmp w8, #7 b.gt LBB0_21 ; %bb.24: ; in Loop: Header=BB0_23 Depth=1 mov x22, x0 ldr x0, [x21, #8] Lloh32: adrp x8, _rtw_rfc1042_header@GOTPAGE Lloh33: ldr x8, [x8, _rtw_rfc1042_header@GOTPAGEOFF] Lloh34: ldr w1, [x8] ldr x2, [x24] bl _memcmp Lloh35: adrp x8, _ETH_P_AARP@GOTPAGE Lloh36: ldr x8, [x8, _ETH_P_AARP@GOTPAGEOFF] Lloh37: ldr w8, [x8] ldr w9, [x28] cmp w0, #0 ccmp w22, w8, #4, eq ccmp w22, w9, #4, ne b.ne LBB0_21 ; %bb.25: ; in Loop: Header=BB0_23 Depth=1 ldr x0, [x21, #8] Lloh38: adrp x8, _rtw_bridge_tunnel_header@GOTPAGE Lloh39: ldr x8, [x8, _rtw_bridge_tunnel_header@GOTPAGEOFF] Lloh40: ldr w1, [x8] ldr x2, [x24] bl _memcmp cbz w0, LBB0_21 ; %bb.26: ; in Loop: Header=BB0_23 Depth=1 ldr w0, [x21] bl _htons stur w0, [x29, #-92] mov x0, x21 mov w1, #2 ; =0x2 bl _skb_push sub x1, x29, #92 mov w2, #2 ; =0x2 bl _memcpy b LBB0_22 LBB0_27: add x1, x20, #4 mov x0, x19 bl _rtw_free_recvframe Lloh41: adrp x8, __SUCCESS@GOTPAGE Lloh42: ldr x8, [x8, __SUCCESS@GOTPAGEOFF] Lloh43: ldr w0, [x8] ldur x8, [x29, #-88] Lloh44: adrp x9, ___stack_chk_guard@GOTPAGE Lloh45: ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF] Lloh46: ldr x9, [x9] cmp x9, x8 b.ne LBB0_29 ; %bb.28: 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_29: bl ___stack_chk_fail .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGot Lloh8, Lloh9 .loh AdrpLdrGot Lloh10, Lloh11 .loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14 .loh AdrpAdd Lloh15, Lloh16 .loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19 .loh AdrpAdd Lloh20, Lloh21 .loh AdrpAdd Lloh22, Lloh23 .loh AdrpLdrGot Lloh30, Lloh31 .loh AdrpLdrGot Lloh28, Lloh29 .loh AdrpLdrGot Lloh26, Lloh27 .loh AdrpLdrGot Lloh24, Lloh25 .loh AdrpLdrGotLdr Lloh35, Lloh36, Lloh37 .loh AdrpLdrGotLdr Lloh32, Lloh33, Lloh34 .loh AdrpLdrGotLdr Lloh38, Lloh39, Lloh40 .loh AdrpLdrGotLdr Lloh44, Lloh45, Lloh46 .loh AdrpLdrGotLdr Lloh41, Lloh42, Lloh43 .loh AdrpLdrGot Lloh6, Lloh7 .cfi_endproc ; -- End function .comm _MAX_SUBFRAME_COUNT,4,2 ; @MAX_SUBFRAME_COUNT .comm _ETH_HLEN,4,2 ; @ETH_HLEN .comm _ETHERNET_HEADER_SIZE,4,2 ; @ETHERNET_HEADER_SIZE .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "nRemain_Length is %d and nSubframe_Length is : %d\n" .comm _GFP_ATOMIC,4,2 ; @GFP_ATOMIC l_.str.1: ; @.str.1 .asciz "skb_clone() Fail!!! , nr_subframes=%d\n" l_.str.2: ; @.str.2 .asciz "ParseSubframe(): Too many Subframes! Packets dropped!\n" .comm _rtw_rfc1042_header,4,2 ; @rtw_rfc1042_header .comm _SNAP_SIZE,8,3 ; @SNAP_SIZE .comm _ETH_P_AARP,4,2 ; @ETH_P_AARP .comm _ETH_P_IPX,4,2 ; @ETH_P_IPX .comm _rtw_bridge_tunnel_header,4,2 ; @rtw_bridge_tunnel_header .comm _ETH_ALEN,4,2 ; @ETH_ALEN .comm _CHECKSUM_NONE,4,2 ; @CHECKSUM_NONE .comm __SUCCESS,4,2 ; @_SUCCESS .no_dead_strip _amsdu_to_msdu .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _opt_next ## -- Begin function opt_next .p2align 4, 0x90 _opt_next: ## @opt_next .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq _arg@GOTPCREL(%rip), %rax movq $0, (%rax) xorl %eax, %eax popq %rbp retq .cfi_endproc ## -- End function .comm _arg,8,3 ## @arg .comm _argv,8,3 ## @argv .comm _opt_index,8,3 ## @opt_index .comm _flag,8,3 ## @flag .comm _opts,8,3 ## @opts .comm _prog,4,2 ## @prog .comm _OPT_FMT_PDS,4,2 ## @OPT_FMT_PDS .comm _OPT_FMT_PDE,4,2 ## @OPT_FMT_PDE .comm _OPT_FMT_PEMDER,4,2 ## @OPT_FMT_PEMDER .comm _OPT_FMT_ANY,4,2 ## @OPT_FMT_ANY .comm _unknown,8,3 ## @unknown .comm _dunno,8,3 ## @dunno .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _opt_next ; -- Begin function opt_next .p2align 2 _opt_next: ; @opt_next .cfi_startproc ; %bb.0: Lloh0: adrp x8, _arg@GOTPAGE Lloh1: ldr x8, [x8, _arg@GOTPAGEOFF] Lloh2: str xzr, [x8] mov w0, #0 ; =0x0 ret .loh AdrpLdrGotStr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _arg,8,3 ; @arg .comm _argv,8,3 ; @argv .comm _opt_index,8,3 ; @opt_index .comm _flag,8,3 ; @flag .comm _opts,8,3 ; @opts .comm _prog,4,2 ; @prog .comm _OPT_FMT_PDS,4,2 ; @OPT_FMT_PDS .comm _OPT_FMT_PDE,4,2 ; @OPT_FMT_PDE .comm _OPT_FMT_PEMDER,4,2 ; @OPT_FMT_PEMDER .comm _OPT_FMT_ANY,4,2 ; @OPT_FMT_ANY .comm _unknown,8,3 ; @unknown .comm _dunno,8,3 ; @dunno .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function iter_prepend _iter_prepend: ## @iter_prepend .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $24, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rsi, %rbx movq 8(%rdi), %rax xorl %r12d, %r12d testq %rax, %rax je LBB0_2 .p2align 4, 0x90 LBB0_20: ## =>This Inner Loop Header: Depth=1 incq %r12 movq 8(%rax), %rax testq %rax, %rax jne LBB0_20 LBB0_2: movq (%rdi), %rax xorl %r14d, %r14d testq %rax, %rax je LBB0_5 .p2align 4, 0x90 LBB0_3: ## =>This Inner Loop Header: Depth=1 incq %r14 movq 8(%rax), %rax testq %rax, %rax jne LBB0_3 LBB0_5: movl $1, %eax cmpq %r14, %r12 je LBB0_19 ## %bb.6: movq %rdx, %r15 movq %rdi, -48(%rbp) ## 8-byte Spill movq _VERB_ALGO@GOTPCREL(%rip), %rax movl (%rax), %edi leal (%r14,%r12), %edx leaq L_.str(%rip), %rsi callq _verbose movq _RR_COUNT_MAX@GOTPCREL(%rip), %rax movq (%rax), %rcx cmpq %rcx, %r12 setae %dl cmpq %rcx, %r14 seta %sil xorl %eax, %eax testb %sil, %dl jne LBB0_19 ## %bb.7: movq (%rbx), %rdx movq (%rdx), %rdx cmpq %rcx, %rdx ja LBB0_19 ## %bb.8: addq %r12, %r14 addq %rdx, %r14 shlq $3, %r14 movq %r15, %rdi movq %r14, %rsi callq _regional_alloc movq %rax, %rdx xorl %eax, %eax testq %rdx, %rdx je LBB0_19 ## %bb.9: movq -48(%rbp), %rax ## 8-byte Reload movq 8(%rax), %rax xorl %r13d, %r13d testq %rax, %rax je LBB0_12 .p2align 4, 0x90 LBB0_10: ## =>This Inner Loop Header: Depth=1 movq (%rax), %rcx movq %rcx, (%rdx,%r13,8) incq %r13 movq 8(%rax), %rax testq %rax, %rax jne LBB0_10 LBB0_12: movq %rdx, -56(%rbp) ## 8-byte Spill leaq (%rdx,%r13,8), %r12 movq (%rbx), %rax movq 32(%rax), %rsi movl 8(%rax), %edx shll $3, %edx movq %r12, %rdi callq _memcpy movq -48(%rbp), %rax ## 8-byte Reload movq (%rax), %r14 xorl %r15d, %r15d jmp LBB0_13 .p2align 4, 0x90 LBB0_17: ## in Loop: Header=BB0_13 Depth=1 movq 8(%r14), %r14 LBB0_13: ## =>This Inner Loop Header: Depth=1 testq %r14, %r14 je LBB0_18 ## %bb.14: ## in Loop: Header=BB0_13 Depth=1 movq (%rbx), %rax movslq 8(%rax), %rax leaq (%r12,%rax,8), %rdi movq (%r14), %rdx movq %r15, %rsi callq _prepend_is_duplicate testq %rax, %rax jne LBB0_17 ## %bb.15: ## in Loop: Header=BB0_13 Depth=1 movq (%rbx), %rax movslq 8(%rax), %rdi shlq $3, %rdi addq 32(%rax), %rdi movq 16(%rax), %rsi movq (%r14), %rdx callq _prepend_is_duplicate testq %rax, %rax jne LBB0_17 ## %bb.16: ## in Loop: Header=BB0_13 Depth=1 movq (%r14), %rax movq (%rbx), %rcx movslq 8(%rcx), %rcx leaq (%r12,%rcx,8), %rcx movq %rax, (%rcx,%r15,8) incq %r15 jmp LBB0_17 LBB0_18: movq (%rbx), %rax movslq 8(%rax), %rsi leaq (%r12,%rsi,8), %rcx shlq $3, %rsi leaq (%rcx,%r15,8), %rdi addq 32(%rax), %rsi movl 24(%rax), %edx addl 16(%rax), %edx shll $3, %edx callq _memcpy leaq (%r15,%r13), %rax movq (%rbx), %rcx addq %rax, (%rcx) addl %r13d, 8(%rcx) addq %r15, 16(%rcx) movq -56(%rbp), %rax ## 8-byte Reload movq %rax, 32(%rcx) movl $1, %eax LBB0_19: addq $24, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _VERB_ALGO,4,2 ## @VERB_ALGO .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "prepending %d rrsets" .comm _RR_COUNT_MAX,8,3 ## @RR_COUNT_MAX .no_dead_strip _iter_prepend .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function iter_prepend _iter_prepend: ; @iter_prepend .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 ldr x8, [x0, #8] cbz x8, LBB0_7 ; %bb.1: mov x22, #0 ; =0x0 LBB0_2: ; =>This Inner Loop Header: Depth=1 add x22, x22, #1 ldr x8, [x8, #8] cbnz x8, LBB0_2 ; %bb.3: ldr x8, [x0] cbz x8, LBB0_8 LBB0_4: mov x23, #0 ; =0x0 LBB0_5: ; =>This Inner Loop Header: Depth=1 add x23, x23, #1 ldr x8, [x8, #8] cbnz x8, LBB0_5 ; %bb.6: cmp x22, x23 b.ne LBB0_9 b LBB0_25 LBB0_7: mov x22, #0 ; =0x0 ldr x8, [x0] cbnz x8, LBB0_4 LBB0_8: mov x23, #0 ; =0x0 cmp x22, x23 b.eq LBB0_25 LBB0_9: mov x20, x2 mov x21, x0 Lloh0: adrp x8, _VERB_ALGO@GOTPAGE Lloh1: ldr x8, [x8, _VERB_ALGO@GOTPAGEOFF] Lloh2: ldr w0, [x8] Lloh3: adrp x1, l_.str@PAGE Lloh4: add x1, x1, l_.str@PAGEOFF add w2, w23, w22 bl _verbose Lloh5: adrp x8, _RR_COUNT_MAX@GOTPAGE Lloh6: ldr x8, [x8, _RR_COUNT_MAX@GOTPAGEOFF] Lloh7: ldr x8, [x8] cmp x22, x8 ccmp x23, x8, #0, hs b.hi LBB0_11 ; %bb.10: ldr x9, [x19] ldr x9, [x9] cmp x9, x8 b.ls LBB0_12 LBB0_11: mov w0, #0 ; =0x0 b LBB0_26 LBB0_12: add x8, x23, x22 add x8, x8, x9 lsl x1, x8, #3 mov x0, x20 bl _regional_alloc cbz x0, LBB0_26 ; %bb.13: mov x20, x0 ldr x8, [x21, #8] cbz x8, LBB0_16 ; %bb.14: mov x9, #0 ; =0x0 LBB0_15: ; =>This Inner Loop Header: Depth=1 ldr x10, [x8] add x23, x9, #1 str x10, [x20, x9, lsl #3] ldr x8, [x8, #8] mov x9, x23 cbnz x8, LBB0_15 b LBB0_17 LBB0_16: mov x23, #0 ; =0x0 LBB0_17: add x22, x20, x23, lsl #3 ldr x8, [x19] ldr x1, [x8, #32] ldr w8, [x8, #8] lsl w2, w8, #3 mov x0, x22 bl _memcpy ldr x24, [x21] cbz x24, LBB0_23 ; %bb.18: mov x21, #0 ; =0x0 b LBB0_20 LBB0_19: ; in Loop: Header=BB0_20 Depth=1 ldr x24, [x24, #8] cbz x24, LBB0_24 LBB0_20: ; =>This Inner Loop Header: Depth=1 ldr x8, [x19] ldrsw x8, [x8, #8] add x0, x22, x8, lsl #3 ldr x2, [x24] mov x1, x21 bl _prepend_is_duplicate cbnz x0, LBB0_19 ; %bb.21: ; in Loop: Header=BB0_20 Depth=1 ldr x8, [x19] ldr x9, [x8, #32] ldrsw x10, [x8, #8] add x0, x9, x10, lsl #3 ldr x1, [x8, #16] ldr x2, [x24] bl _prepend_is_duplicate cbnz x0, LBB0_19 ; %bb.22: ; in Loop: Header=BB0_20 Depth=1 ldr x8, [x24] ldr x9, [x19] ldrsw x9, [x9, #8] add x9, x22, x9, lsl #3 str x8, [x9, x21, lsl #3] add x21, x21, #1 b LBB0_19 LBB0_23: mov x21, #0 ; =0x0 LBB0_24: ldr x8, [x19] ldrsw x9, [x8, #8] lsl x9, x9, #3 add x10, x22, x9 add x0, x10, x21, lsl #3 ldr x10, [x8, #32] ldr w11, [x8, #16] ldr w8, [x8, #24] add w8, w8, w11 lsl w2, w8, #3 add x1, x10, x9 bl _memcpy ldr x8, [x19] ldr x9, [x8] add x10, x21, x23 add x9, x10, x9 str x9, [x8] ldr w9, [x8, #8] add w9, w9, w23 str w9, [x8, #8] ldr x9, [x8, #16] add x9, x9, x21 str x9, [x8, #16] str x20, [x8, #32] LBB0_25: mov w0, #1 ; =0x1 LBB0_26: ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload ldp x24, x23, [sp], #64 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7 .loh AdrpAdd Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _VERB_ALGO,4,2 ; @VERB_ALGO .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "prepending %d rrsets" .comm _RR_COUNT_MAX,8,3 ; @RR_COUNT_MAX .no_dead_strip _iter_prepend .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function oploop _oploop: ## @oploop .cfi_startproc ## %bb.0: 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 %rsi, %r14 movq %rdi, %r15 movq %rdx, %rdi callq _is_valid_registers movl $226, (%r14) movq (%rbx), %rax movl (%rax), %eax movl (%r15), %ecx addl %ecx, %eax addl $-2, %eax movl %eax, 4(%r14) movl $2, %eax addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _oploop .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function oploop _oploop: ; @oploop .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x19, x2 mov x20, x1 mov x21, x0 mov x0, x2 bl _is_valid_registers mov w8, #226 ; =0xe2 ldr x9, [x19] ldr w9, [x9] ldr w10, [x21] add w9, w10, w9 sub w9, w9, #2 stp w8, w9, [x20] mov w0, #2 ; =0x2 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 _oploop .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _esp_get_notification_attributes ## -- Begin function esp_get_notification_attributes .p2align 4, 0x90 _esp_get_notification_attributes: ## @esp_get_notification_attributes .cfi_startproc ## %bb.0: 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 movl $4832, %eax ## imm = 0x12E0 callq ____chkstk_darwin subq %rax, %rsp .cfi_offset %rbx, -48 .cfi_offset %r12, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdx, %rbx movq %rsi, %r14 movq %rdi, %r15 movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -40(%rbp) leaq -4848(%rbp), %rdi movl $4800, %esi ## imm = 0x12C0 callq ___bzero movq _CommandIDGetNotificationAttributes@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -4848(%rbp) leaq -4856(%rbp), %rdi movq _ESP_NOTIFICATIONUID_LEN@GOTPCREL(%rip), %r12 movq (%r12), %rdx movq %r15, %rsi callq _memcpy movq (%r12), %rcx decq %rcx testq %r14, %r14 js LBB0_6 ## %bb.1: incq %r14 jmp LBB0_2 .p2align 4, 0x90 LBB0_4: ## in Loop: Header=BB0_2 Depth=1 movq %rax, -4840(%rbp,%rcx,8) shlq $8, %rax movq %rax, -4832(%rbp,%rcx,8) addq $3, %rcx LBB0_5: ## in Loop: Header=BB0_2 Depth=1 addq $16, %rbx decq %r14 testq %r14, %r14 jle LBB0_6 LBB0_2: ## =>This Inner Loop Header: Depth=1 movq (%rbx), %rax movq %rax, -4848(%rbp,%rcx,8) movq 8(%rbx), %rax testq %rax, %rax jg LBB0_4 ## %bb.3: ## in Loop: Header=BB0_2 Depth=1 incq %rcx jmp LBB0_5 LBB0_6: movq _gl_profile_tab@GOTPCREL(%rip), %rax movq (%rax), %rax movq _PROFILE_A_APP_ID@GOTPCREL(%rip), %rdx movq (%rdx), %rdx leaq (%rdx,%rdx,2), %rsi movl 8(%rax,%rsi,4), %edi movl (%rax,%rsi,4), %edx movl 4(%rax,%rsi,4), %esi movq _ESP_GATT_WRITE_TYPE_RSP@GOTPCREL(%rip), %rax movl (%rax), %r9d movq _ESP_GATT_AUTH_REQ_NONE@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, (%rsp) leaq -4848(%rbp), %r8 callq _esp_ble_gattc_write_char movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax cmpq -40(%rbp), %rax jne LBB0_8 ## %bb.7: addq $4832, %rsp ## imm = 0x12E0 popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq LBB0_8: callq ___stack_chk_fail .cfi_endproc ## -- End function .comm _CommandIDGetNotificationAttributes,8,3 ## @CommandIDGetNotificationAttributes .comm _ESP_NOTIFICATIONUID_LEN,8,3 ## @ESP_NOTIFICATIONUID_LEN .comm _gl_profile_tab,8,3 ## @gl_profile_tab .comm _PROFILE_A_APP_ID,8,3 ## @PROFILE_A_APP_ID .comm _ESP_GATT_WRITE_TYPE_RSP,4,2 ## @ESP_GATT_WRITE_TYPE_RSP .comm _ESP_GATT_AUTH_REQ_NONE,4,2 ## @ESP_GATT_AUTH_REQ_NONE .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _esp_get_notification_attributes ; -- Begin function esp_get_notification_attributes .p2align 2 _esp_get_notification_attributes: ; @esp_get_notification_attributes .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 mov w9, #4816 ; =0x12d0 Lloh0: adrp x16, ___chkstk_darwin@GOTPAGE Lloh1: ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF] blr x16 sub sp, sp, #1, lsl #12 ; =4096 sub sp, sp, #720 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 mov x19, x2 mov x20, x1 mov x21, x0 Lloh2: adrp x8, ___stack_chk_guard@GOTPAGE Lloh3: ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] Lloh4: ldr x8, [x8] stur x8, [x29, #-56] add x22, sp, #8 add x0, x22, #8 mov w1, #4792 ; =0x12b8 bl _bzero Lloh5: adrp x8, _CommandIDGetNotificationAttributes@GOTPAGE Lloh6: ldr x8, [x8, _CommandIDGetNotificationAttributes@GOTPAGEOFF] Lloh7: ldr x8, [x8] str x8, [sp, #8] sub x0, x22, #8 Lloh8: adrp x23, _ESP_NOTIFICATIONUID_LEN@GOTPAGE Lloh9: ldr x23, [x23, _ESP_NOTIFICATIONUID_LEN@GOTPAGEOFF] ldr x2, [x23] mov x1, x21 bl _memcpy ldr x8, [x23] sub x9, x8, #1 tbnz x20, #63, LBB0_5 ; %bb.1: add x8, x20, #1 b LBB0_3 LBB0_2: ; in Loop: Header=BB0_3 Depth=1 add x19, x19, #16 sub x8, x8, #1 mov x9, x3 cmp x8, #0 b.le LBB0_6 LBB0_3: ; =>This Inner Loop Header: Depth=1 add x3, x9, #1 ldp x11, x10, [x19] str x11, [x22, x9, lsl #3] cmp x10, #1 b.lt LBB0_2 ; %bb.4: ; in Loop: Header=BB0_3 Depth=1 str x10, [x22, x3, lsl #3] lsl x10, x10, #8 add x3, x9, #3 add x9, x22, x9, lsl #3 str x10, [x9, #16] b LBB0_2 LBB0_5: mov x3, x9 LBB0_6: Lloh10: adrp x8, _gl_profile_tab@GOTPAGE Lloh11: ldr x8, [x8, _gl_profile_tab@GOTPAGEOFF] Lloh12: ldr x8, [x8] Lloh13: adrp x9, _PROFILE_A_APP_ID@GOTPAGE Lloh14: ldr x9, [x9, _PROFILE_A_APP_ID@GOTPAGEOFF] Lloh15: ldr x9, [x9] mov w10, #12 ; =0xc madd x8, x9, x10, x8 ldp w1, w0, [x8, #4] ldr w2, [x8] Lloh16: adrp x8, _ESP_GATT_WRITE_TYPE_RSP@GOTPAGE Lloh17: ldr x8, [x8, _ESP_GATT_WRITE_TYPE_RSP@GOTPAGEOFF] Lloh18: ldr w5, [x8] Lloh19: adrp x8, _ESP_GATT_AUTH_REQ_NONE@GOTPAGE Lloh20: ldr x8, [x8, _ESP_GATT_AUTH_REQ_NONE@GOTPAGEOFF] Lloh21: ldr w6, [x8] add x4, sp, #8 bl _esp_ble_gattc_write_char ldur x8, [x29, #-56] 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_8 ; %bb.7: add sp, sp, #1, lsl #12 ; =4096 add sp, sp, #720 ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload ldp x24, x23, [sp], #64 ; 16-byte Folded Reload ret LBB0_8: bl ___stack_chk_fail .loh AdrpLdrGot Lloh8, Lloh9 .loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7 .loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh22, Lloh23, Lloh24 .loh AdrpLdrGotLdr Lloh19, Lloh20, Lloh21 .loh AdrpLdrGotLdr Lloh16, Lloh17, Lloh18 .loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh15 .loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12 .loh AdrpLdrGot Lloh0, Lloh1 .cfi_endproc ; -- End function .comm _CommandIDGetNotificationAttributes,8,3 ; @CommandIDGetNotificationAttributes .comm _ESP_NOTIFICATIONUID_LEN,8,3 ; @ESP_NOTIFICATIONUID_LEN .comm _gl_profile_tab,8,3 ; @gl_profile_tab .comm _PROFILE_A_APP_ID,8,3 ; @PROFILE_A_APP_ID .comm _ESP_GATT_WRITE_TYPE_RSP,4,2 ; @ESP_GATT_WRITE_TYPE_RSP .comm _ESP_GATT_AUTH_REQ_NONE,4,2 ; @ESP_GATT_AUTH_REQ_NONE .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function qlcnic_dcb_cee_peer_get_pg _qlcnic_dcb_cee_peer_get_pg: ## @qlcnic_dcb_cee_peer_get_pg .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movq %rsi, %rbx callq _netdev_priv movq %rax, %r14 movq _QLCNIC_DCB_STATE@GOTPCREL(%rip), %rax movl (%rax), %edi movq (%r14), %rsi addq $8, %rsi callq _test_bit testl %eax, %eax je LBB0_12 ## %bb.1: movq _QLC_DCB_MAX_PG@GOTPCREL(%rip), %rax movq (%rax), %r9 testq %r9, %r9 je LBB0_12 ## %bb.2: movq (%r14), %rcx movq (%rcx), %rdx movq _QLC_DCB_PEER_IDX@GOTPCREL(%rip), %rcx movq (%rcx), %rcx shlq $4, %rcx addq (%rdx), %rcx movq 8(%rcx), %rdx xorl %esi, %esi movq _QLC_DCB_MAX_TC@GOTPCREL(%rip), %rdi xorl %r8d, %r8d jmp LBB0_3 .p2align 4, 0x90 LBB0_10: ## in Loop: Header=BB0_3 Depth=1 movq (%rax), %r9 LBB0_11: ## in Loop: Header=BB0_3 Depth=1 incq %r8 cmpq %r9, %r8 jae LBB0_12 LBB0_3: ## =>This Loop Header: Depth=1 ## Child Loop BB0_6 Depth 2 cmpl $0, 4(%rdx,%r8,8) je LBB0_11 ## %bb.4: ## in Loop: Header=BB0_3 Depth=1 movl (%rdx,%r8,8), %r10d movq 8(%rbx), %r11 movl %r10d, (%r11,%rsi,4) movq (%rdi), %r10 testq %r10, %r10 je LBB0_11 ## %bb.5: ## in Loop: Header=BB0_3 Depth=1 leaq (%r8,%r8,2), %r9 shlq $3, %r9 addq (%rcx), %r9 xorl %r11d, %r11d jmp LBB0_6 .p2align 4, 0x90 LBB0_9: ## in Loop: Header=BB0_6 Depth=2 incq %r11 cmpq %r10, %r11 jae LBB0_10 LBB0_6: ## Parent Loop BB0_3 Depth=1 ## => This Inner Loop Header: Depth=2 cmpq $0, 16(%r9) je LBB0_9 ## %bb.7: ## in Loop: Header=BB0_6 Depth=2 cmpq %r8, (%r9) jne LBB0_9 ## %bb.8: ## in Loop: Header=BB0_6 Depth=2 movq 8(%r9), %r10 movq (%rbx), %r14 movq %r10, (%r14,%rsi,8) incq %rsi movq (%rdi), %r10 jmp LBB0_9 LBB0_12: xorl %eax, %eax popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .comm _QLCNIC_DCB_STATE,4,2 ## @QLCNIC_DCB_STATE .comm _QLC_DCB_PEER_IDX,8,3 ## @QLC_DCB_PEER_IDX .comm _QLC_DCB_MAX_PG,8,3 ## @QLC_DCB_MAX_PG .comm _QLC_DCB_MAX_TC,8,3 ## @QLC_DCB_MAX_TC .no_dead_strip _qlcnic_dcb_cee_peer_get_pg .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function qlcnic_dcb_cee_peer_get_pg _qlcnic_dcb_cee_peer_get_pg: ; @qlcnic_dcb_cee_peer_get_pg .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x1 bl _netdev_priv mov x20, x0 Lloh0: adrp x8, _QLCNIC_DCB_STATE@GOTPAGE Lloh1: ldr x8, [x8, _QLCNIC_DCB_STATE@GOTPAGEOFF] Lloh2: ldr w0, [x8] ldr x8, [x20] add x1, x8, #8 bl _test_bit cbz w0, LBB0_12 ; %bb.1: Lloh3: adrp x8, _QLC_DCB_MAX_PG@GOTPAGE Lloh4: ldr x8, [x8, _QLC_DCB_MAX_PG@GOTPAGEOFF] ldr x15, [x8] cbz x15, LBB0_12 ; %bb.2: mov x10, #0 ; =0x0 mov x9, #0 ; =0x0 ldr x11, [x20] ldr x11, [x11] ldr x11, [x11] Lloh5: adrp x12, _QLC_DCB_PEER_IDX@GOTPAGE Lloh6: ldr x12, [x12, _QLC_DCB_PEER_IDX@GOTPAGEOFF] Lloh7: ldr x12, [x12] add x11, x11, x12, lsl #4 ldr x12, [x11, #8] Lloh8: adrp x13, _QLC_DCB_MAX_TC@GOTPAGE Lloh9: ldr x13, [x13, _QLC_DCB_MAX_TC@GOTPAGEOFF] mov w14, #24 ; =0x18 b LBB0_5 LBB0_3: ; in Loop: Header=BB0_5 Depth=1 ldr x15, [x8] LBB0_4: ; in Loop: Header=BB0_5 Depth=1 add x9, x9, #1 cmp x9, x15 b.hs LBB0_12 LBB0_5: ; =>This Loop Header: Depth=1 ; Child Loop BB0_9 Depth 2 add x16, x12, x9, lsl #3 ldr w17, [x16, #4] cbz w17, LBB0_4 ; %bb.6: ; in Loop: Header=BB0_5 Depth=1 ldr w16, [x16] ldr x17, [x19, #8] str w16, [x17, x10, lsl #2] ldr x17, [x13] cbz x17, LBB0_4 ; %bb.7: ; in Loop: Header=BB0_5 Depth=1 mov x15, #0 ; =0x0 ldr x16, [x11] madd x16, x9, x14, x16 b LBB0_9 LBB0_8: ; in Loop: Header=BB0_9 Depth=2 add x15, x15, #1 cmp x15, x17 b.hs LBB0_3 LBB0_9: ; Parent Loop BB0_5 Depth=1 ; => This Inner Loop Header: Depth=2 ldr x0, [x16, #16] cbz x0, LBB0_8 ; %bb.10: ; in Loop: Header=BB0_9 Depth=2 ldr x0, [x16] cmp x0, x9 b.ne LBB0_8 ; %bb.11: ; in Loop: Header=BB0_9 Depth=2 ldr x17, [x16, #8] ldr x0, [x19] str x17, [x0, x10, lsl #3] add x10, x10, #1 ldr x17, [x13] b LBB0_8 LBB0_12: mov w0, #0 ; =0x0 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGot Lloh3, Lloh4 .loh AdrpLdrGot Lloh8, Lloh9 .loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7 .cfi_endproc ; -- End function .comm _QLCNIC_DCB_STATE,4,2 ; @QLCNIC_DCB_STATE .comm _QLC_DCB_PEER_IDX,8,3 ; @QLC_DCB_PEER_IDX .comm _QLC_DCB_MAX_PG,8,3 ; @QLC_DCB_MAX_PG .comm _QLC_DCB_MAX_TC,8,3 ; @QLC_DCB_MAX_TC .no_dead_strip _qlcnic_dcb_cee_peer_get_pg .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function ckptLoadLevels _ckptLoadLevels: ## @ckptLoadLevels .cfi_startproc ## %bb.0: 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, -80(%rbp) ## 8-byte Spill movl %ecx, %ebx movq %rsi, %r13 movq %rdi, %r12 movq _LSM_OK@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -44(%rbp) movq $0, -72(%rbp) movq %rdx, -88(%rbp) ## 8-byte Spill movl (%rdx), %eax movl %eax, -48(%rbp) leaq -72(%rbp), %rax movq %rax, -64(%rbp) ## 8-byte Spill xorl %r15d, %r15d movl %ecx, -52(%rbp) ## 4-byte Spill movq %rdi, -96(%rbp) ## 8-byte Spill jmp LBB0_1 LBB0_9: ## in Loop: Header=BB0_1 Depth=1 movl -44(%rbp), %eax LBB0_11: ## in Loop: Header=BB0_1 Depth=1 movq _LSM_OK@GOTPCREL(%rip), %rdi LBB0_12: ## in Loop: Header=BB0_1 Depth=1 incl %r15d cmpl (%rdi), %eax sete %al cmpl %ebx, %r15d setl %cl orb %al, %cl je LBB0_13 LBB0_1: ## =>This Loop Header: Depth=1 ## Child Loop BB0_7 Depth 2 movl (%r12), %edi movl $48, %esi leaq -44(%rbp), %rdx callq _lsmMallocZeroRc movq _LSM_OK@GOTPCREL(%rip), %rdi movq %rax, %r14 movl -44(%rbp), %eax cmpl (%rdi), %eax jne LBB0_12 ## %bb.2: ## in Loop: Header=BB0_1 Depth=1 movslq -48(%rbp), %rax movslq (%r13,%rax,4), %rcx movq %rcx, %rdx orq $65535, %rdx ## imm = 0xFFFF movq %rdx, 40(%r14) shrl $16, %ecx movq %rcx, 32(%r14) leal 2(%rax), %ecx movl %ecx, -48(%rbp) movl 4(%r13,%rax,4), %esi movl %esi, (%r14) testl %esi, %esi je LBB0_4 ## %bb.3: ## in Loop: Header=BB0_1 Depth=1 shll $2, %esi movl (%r12), %edi leaq -44(%rbp), %rdx callq _lsmMallocZeroRc movq _LSM_OK@GOTPCREL(%rip), %rdi movq %rax, 8(%r14) LBB0_4: ## in Loop: Header=BB0_1 Depth=1 movl -44(%rbp), %eax cmpl (%rdi), %eax jne LBB0_12 ## %bb.5: ## in Loop: Header=BB0_1 Depth=1 movq -64(%rbp), %rax ## 8-byte Reload movq %r14, (%rax) leaq 24(%r14), %rax movq %rax, -64(%rbp) ## 8-byte Spill movq %r14, %rdx addq $16, %rdx movq %r13, %rdi leaq -48(%rbp), %rsi callq _ckptNewSegment cmpl $0, (%r14) jle LBB0_9 ## %bb.6: ## in Loop: Header=BB0_1 Depth=1 movq %r15, -104(%rbp) ## 8-byte Spill xorl %r12d, %r12d xorl %ebx, %ebx movq %r13, %r15 leaq -48(%rbp), %r13 .p2align 4, 0x90 LBB0_7: ## Parent Loop BB0_1 Depth=1 ## => This Inner Loop Header: Depth=2 movq 8(%r14), %rdx addq %r12, %rdx movq %r15, %rdi movq %r13, %rsi callq _ckptNewSegment incq %rbx movslq (%r14), %rax addq $4, %r12 cmpq %rax, %rbx jl LBB0_7 ## %bb.8: ## in Loop: Header=BB0_1 Depth=1 testl %eax, %eax movl -52(%rbp), %ebx ## 4-byte Reload movq -96(%rbp), %r12 ## 8-byte Reload movq %r15, %r13 movq -104(%rbp), %r15 ## 8-byte Reload jle LBB0_9 ## %bb.10: ## in Loop: Header=BB0_1 Depth=1 movq %r12, %rdi movq %r13, %rsi leaq -48(%rbp), %rdx movq %r14, %rcx callq _ckptSetupMerge movl %eax, -44(%rbp) jmp LBB0_11 LBB0_13: movq -72(%rbp), %rsi movl (%r12), %edi callq _lsmSortedFreeLevel movq -80(%rbp), %rax ## 8-byte Reload movq $0, (%rax) movl -48(%rbp), %eax movq -88(%rbp), %rcx ## 8-byte Reload movl %eax, (%rcx) movl -44(%rbp), %eax addq $72, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _LSM_OK,4,2 ## @LSM_OK .no_dead_strip _ckptLoadLevels .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function ckptLoadLevels _ckptLoadLevels: ; @ckptLoadLevels .cfi_startproc ; %bb.0: sub sp, sp, #128 stp x28, x27, [sp, #32] ; 16-byte Folded Spill stp x26, x25, [sp, #48] ; 16-byte Folded Spill stp x24, x23, [sp, #64] ; 16-byte Folded Spill stp x22, x21, [sp, #80] ; 16-byte Folded Spill stp x20, x19, [sp, #96] ; 16-byte Folded Spill stp x29, x30, [sp, #112] ; 16-byte Folded Spill add x29, sp, #112 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset w27, -88 .cfi_offset w28, -96 str x4, [sp] ; 8-byte Folded Spill mov x21, x3 mov x19, x2 mov x23, x1 mov x22, x0 mov w25, #0 ; =0x0 Lloh0: adrp x26, _LSM_OK@GOTPAGE Lloh1: ldr x26, [x26, _LSM_OK@GOTPAGEOFF] ldr w8, [x26] str w8, [sp, #28] str xzr, [sp, #16] ldr w8, [x2] str w8, [sp, #12] add x27, sp, #16 b LBB0_3 LBB0_1: ; in Loop: Header=BB0_3 Depth=1 ldr w0, [sp, #28] LBB0_2: ; in Loop: Header=BB0_3 Depth=1 add w25, w25, #1 ldr w8, [x26] cmp w0, w8 ccmp w25, w21, #8, ne b.ge LBB0_12 LBB0_3: ; =>This Loop Header: Depth=1 ; Child Loop BB0_9 Depth 2 ldr w0, [x22] add x2, sp, #28 mov w1, #48 ; =0x30 bl _lsmMallocZeroRc mov x24, x0 ldr w0, [sp, #28] ldr w8, [x26] cmp w0, w8 b.ne LBB0_2 ; %bb.4: ; in Loop: Header=BB0_3 Depth=1 ldrsw x9, [sp, #12] add x8, x23, x9, lsl #2 ldp w10, w8, [x8] ; kill: def $w10 killed $w10 def $x10 sxtw x10, w10 orr x11, x10, #0xffff ubfx x10, x10, #16, #16 stp x10, x11, [x24, #32] add w9, w9, #2 str w9, [sp, #12] str w8, [x24] cbz w8, LBB0_6 ; %bb.5: ; in Loop: Header=BB0_3 Depth=1 lsl w1, w8, #2 ldr w0, [x22] add x2, sp, #28 bl _lsmMallocZeroRc str x0, [x24, #8] LBB0_6: ; in Loop: Header=BB0_3 Depth=1 ldr w0, [sp, #28] ldr w8, [x26] cmp w0, w8 b.ne LBB0_2 ; %bb.7: ; in Loop: Header=BB0_3 Depth=1 str x24, [x27] add x1, sp, #12 add x2, x24, #16 mov x0, x23 bl _ckptNewSegment mov x27, x24 ldr w8, [x27], #24 cmp w8, #1 b.lt LBB0_1 ; %bb.8: ; in Loop: Header=BB0_3 Depth=1 mov x28, #0 ; =0x0 mov x20, #0 ; =0x0 LBB0_9: ; Parent Loop BB0_3 Depth=1 ; => This Inner Loop Header: Depth=2 ldr x8, [x24, #8] add x1, sp, #12 add x2, x8, x28 mov x0, x23 bl _ckptNewSegment add x20, x20, #1 ldrsw x8, [x24] add x28, x28, #4 cmp x20, x8 b.lt LBB0_9 ; %bb.10: ; in Loop: Header=BB0_3 Depth=1 cmp w8, #0 b.le LBB0_1 ; %bb.11: ; in Loop: Header=BB0_3 Depth=1 add x2, sp, #12 mov x0, x22 mov x1, x23 mov x3, x24 bl _ckptSetupMerge str w0, [sp, #28] b LBB0_2 LBB0_12: ldr x1, [sp, #16] ldr w0, [x22] bl _lsmSortedFreeLevel ldr x8, [sp] ; 8-byte Folded Reload str xzr, [x8] ldr w8, [sp, #12] str w8, [x19] ldr w0, [sp, #28] ldp x29, x30, [sp, #112] ; 16-byte Folded Reload ldp x20, x19, [sp, #96] ; 16-byte Folded Reload ldp x22, x21, [sp, #80] ; 16-byte Folded Reload ldp x24, x23, [sp, #64] ; 16-byte Folded Reload ldp x26, x25, [sp, #48] ; 16-byte Folded Reload ldp x28, x27, [sp, #32] ; 16-byte Folded Reload add sp, sp, #128 ret .loh AdrpLdrGot Lloh0, Lloh1 .cfi_endproc ; -- End function .comm _LSM_OK,4,2 ; @LSM_OK .no_dead_strip _ckptLoadLevels .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 mem_free LCPI0_0: .long 0 ## 0x0 .long 20 ## 0x14 .long 4 ## 0x4 .long 4 ## 0x4 .section __TEXT,__text,regular,pure_instructions .globl _mem_free .p2align 4, 0x90 _mem_free: ## @mem_free .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $144, %rsp movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -8(%rbp) movl %esi, -132(%rbp) movl $0, -128(%rbp) movaps LCPI0_0(%rip), %xmm0 ## xmm0 = [0,20,4,4] movups %xmm0, -148(%rbp) leaq -144(%rbp), %rsi callq _mbox_property movl -124(%rbp), %eax movq ___stack_chk_guard@GOTPCREL(%rip), %rcx movq (%rcx), %rcx cmpq -8(%rbp), %rcx jne LBB0_2 ## %bb.1: addq $144, %rsp popq %rbp retq LBB0_2: callq ___stack_chk_fail .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .section __TEXT,__literal16,16byte_literals .p2align 4, 0x0 ; -- Begin function mem_free lCPI0_0: .long 0 ; 0x0 .long 20 ; 0x14 .long 4 ; 0x4 .long 4 ; 0x4 .section __TEXT,__text,regular,pure_instructions .globl _mem_free .p2align 2 _mem_free: ; @mem_free .cfi_startproc ; %bb.0: sub sp, sp, #160 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 Lloh0: adrp x8, ___stack_chk_guard@GOTPAGE Lloh1: ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] Lloh2: ldr x8, [x8] stur x8, [x29, #-8] stp w1, wzr, [sp, #20] Lloh3: adrp x8, lCPI0_0@PAGE Lloh4: ldr q0, [x8, lCPI0_0@PAGEOFF] stur q0, [sp, #4] add x1, sp, #8 bl _mbox_property ldr w0, [sp, #28] ldur x8, [x29, #-8] 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_2 ; %bb.1: ldp x29, x30, [sp, #144] ; 16-byte Folded Reload add sp, sp, #160 ret LBB0_2: bl ___stack_chk_fail .loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7 .loh AdrpLdr Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _parse_string ## -- Begin function parse_string .p2align 4, 0x90 _parse_string: ## @parse_string .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %rbx pushq %rax .cfi_offset %rbx, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq _buff@GOTPCREL(%rip), %r14 movq (%r14), %rax movq _parse_pos@GOTPCREL(%rip), %r15 movq (%r15), %rcx xorl %edx, %edx cmpb $44, (%rax,%rcx) sete %dl movq %rcx, %rsi subq %rdx, %rsi negq %rdx addq %rdx, %rcx incq %rcx movq %rcx, (%r15) xorl %edi, %edi cmpb $34, (%rax,%rsi) sete %dil callq _assert movq (%r14), %rax movq (%r15), %rdx leaq 1(%rdx), %rcx movq %rcx, (%r15) xorl %ebx, %ebx cmpb $34, (%rax,%rdx) je LBB0_3 ## %bb.1: xorl %ebx, %ebx .p2align 4, 0x90 LBB0_2: ## =>This Inner Loop Header: Depth=1 movsbl (%rax,%rcx), %edi callq _assert incl %ebx movq (%r14), %rax movq (%r15), %rdx leaq 1(%rdx), %rcx movq %rcx, (%r15) cmpb $34, (%rax,%rdx) jne LBB0_2 LBB0_3: movzbl (%rax,%rcx), %eax cmpq $44, %rax ja LBB0_5 ## %bb.4: movl $1, %edi movabsq $17592186045441, %rcx ## imm = 0x100000000401 btq %rax, %rcx jb LBB0_6 LBB0_5: xorl %edi, %edi cmpb $13, %al sete %dil LBB0_6: callq _assert movl %ebx, %eax addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _buff,8,3 ## @buff .comm _parse_pos,8,3 ## @parse_pos .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _parse_string ; -- Begin function parse_string .p2align 2 _parse_string: ; @parse_string .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 Lloh0: adrp x20, _buff@GOTPAGE Lloh1: ldr x20, [x20, _buff@GOTPAGEOFF] ldr x8, [x20] Lloh2: adrp x21, _parse_pos@GOTPAGE Lloh3: ldr x21, [x21, _parse_pos@GOTPAGEOFF] ldr x9, [x21] ldrb w10, [x8, x9] cmp w10, #44 cset w10, eq sub x9, x9, x10 add x10, x9, #1 str x10, [x21] ldrb w8, [x8, x9] cmp w8, #34 cset w0, eq bl _assert ldr x8, [x20] ldr x10, [x21] add x9, x10, #1 str x9, [x21] ldrb w10, [x8, x10] cmp w10, #34 b.ne LBB0_2 ; %bb.1: mov w19, #0 ; =0x0 b LBB0_4 LBB0_2: mov w19, #0 ; =0x0 LBB0_3: ; =>This Inner Loop Header: Depth=1 ldrsb w0, [x8, x9] bl _assert add w19, w19, #1 ldr x8, [x20] ldr x10, [x21] add x9, x10, #1 str x9, [x21] ldrb w10, [x8, x10] cmp w10, #34 b.ne LBB0_3 LBB0_4: ldrb w8, [x8, x9] cmp w8, #44 mov w9, #1 ; =0x1 lsl x9, x9, x8 mov x10, #1025 ; =0x401 movk x10, #4096, lsl #32 and x9, x9, x10 ccmp x9, #0, #4, ls b.eq LBB0_6 ; %bb.5: mov w0, #1 ; =0x1 b LBB0_7 LBB0_6: cmp w8, #13 cset w0, eq LBB0_7: bl _assert 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 AdrpLdrGot Lloh2, Lloh3 .loh AdrpLdrGot Lloh0, Lloh1 .cfi_endproc ; -- End function .comm _buff,8,3 ; @buff .comm _parse_pos,8,3 ; @parse_pos .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function qsort_p _qsort_p: ## @qsort_p .cfi_startproc ## %bb.0: ## kill: def $edi killed $edi def $rdi cmpl %esi, %edi jge LBB0_11 ## %bb.1: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx subq $16, %rsp .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movl %esi, %ebx movq _P@GOTPCREL(%rip), %rax movq (%rax), %rcx leal (%rbx,%rdi), %edx sarl %edx movslq %edx, %rsi shlq $4, %rsi movq (%rcx,%rsi), %rdx movq 8(%rcx,%rsi), %r8 movl %ebx, %esi movl %edi, %r14d jmp LBB0_2 .p2align 4, 0x90 LBB0_9: ## in Loop: Header=BB0_2 Depth=1 cmpl %esi, %r14d jg LBB0_10 LBB0_2: ## =>This Loop Header: Depth=1 ## Child Loop BB0_3 Depth 2 movslq %r14d, %r9 shlq $4, %r9 addq %rcx, %r9 movslq %esi, %r10 shlq $4, %r10 jmp LBB0_3 .p2align 4, 0x90 LBB0_6: ## in Loop: Header=BB0_3 Depth=2 decl %esi addq $-16, %r10 LBB0_3: ## Parent Loop BB0_2 Depth=1 ## => This Inner Loop Header: Depth=2 cmpq %rdx, (%rcx,%r10) jg LBB0_6 ## %bb.4: ## in Loop: Header=BB0_3 Depth=2 jne LBB0_7 ## %bb.5: ## in Loop: Header=BB0_3 Depth=2 cmpq %r8, 8(%rcx,%r10) jg LBB0_6 LBB0_7: ## in Loop: Header=BB0_2 Depth=1 cmpl %esi, %r14d jg LBB0_9 ## %bb.8: ## in Loop: Header=BB0_2 Depth=1 addq %r10, %rcx movups (%r9), %xmm0 movaps %xmm0, -32(%rbp) incl %r14d movups (%rcx), %xmm0 movups %xmm0, (%r9) movq (%rax), %rcx decl %esi movaps -32(%rbp), %xmm0 movups %xmm0, (%rcx,%r10) movq (%rax), %rcx jmp LBB0_9 LBB0_11: retq LBB0_10: ## kill: def $edi killed $edi killed $rdi callq _qsort_p movl %r14d, %edi movl %ebx, %esi addq $16, %rsp popq %rbx popq %r14 popq %rbp jmp _qsort_p ## TAILCALL .cfi_endproc ## -- End function .comm _P,8,3 ## @P .no_dead_strip _qsort_p .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function qsort_p _qsort_p: ; @qsort_p .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 cmp w0, w1 b.ge LBB0_10 ; %bb.1: Lloh0: adrp x8, _P@GOTPAGE Lloh1: ldr x8, [x8, _P@GOTPAGEOFF] ldr x11, [x8] add w9, w1, w0 asr w9, w9, #1 add x10, x11, w9, sxtw #4 ldp x9, x10, [x10] mov x19, x1 ; kill: def $w1 killed $w1 def $x1 mov x20, x0 b LBB0_3 LBB0_2: ; in Loop: Header=BB0_3 Depth=1 cmp w20, w1 b.gt LBB0_11 LBB0_3: ; =>This Loop Header: Depth=1 ; Child Loop BB0_5 Depth 2 sbfiz x12, x1, #4, #32 b LBB0_5 LBB0_4: ; in Loop: Header=BB0_5 Depth=2 sub w1, w1, #1 sub x12, x12, #16 LBB0_5: ; Parent Loop BB0_3 Depth=1 ; => This Inner Loop Header: Depth=2 ldr x13, [x11, x12] cmp x13, x9 b.gt LBB0_4 ; %bb.6: ; in Loop: Header=BB0_5 Depth=2 b.ne LBB0_8 ; %bb.7: ; in Loop: Header=BB0_5 Depth=2 add x13, x11, x12 ldr x13, [x13, #8] cmp x13, x10 b.gt LBB0_4 LBB0_8: ; in Loop: Header=BB0_3 Depth=1 cmp w20, w1 b.gt LBB0_2 ; %bb.9: ; in Loop: Header=BB0_3 Depth=1 ldr q0, [x11, w20, sxtw #4] str q0, [sp] ldr q0, [x11, x12] str q0, [x11, w20, sxtw #4] add w20, w20, #1 ldr x11, [x8] sub w1, w1, #1 ldr q0, [sp] str q0, [x11, x12] ldr x11, [x8] b LBB0_2 LBB0_10: ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload add sp, sp, #48 ret LBB0_11: ; kill: def $w1 killed $w1 killed $x1 bl _qsort_p mov x0, x20 mov x1, x19 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload add sp, sp, #48 b _qsort_p .loh AdrpLdrGot Lloh0, Lloh1 .cfi_endproc ; -- End function .comm _P,8,3 ; @P .no_dead_strip _qsort_p .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _next_active_node ## -- Begin function next_active_node .p2align 4, 0x90 _next_active_node: ## @next_active_node .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq _active_last@GOTPCREL(%rip), %rax movq (%rax), %rdx movq _active_ptr@GOTPCREL(%rip), %rax movq (%rax), %rcx cmpq %rdx, %rcx ja LBB0_4 ## %bb.1: movq _active_list@GOTPCREL(%rip), %rsi movq (%rsi), %rsi .p2align 4, 0x90 LBB0_2: ## =>This Inner Loop Header: Depth=1 cmpq $0, (%rsi,%rcx,8) jne LBB0_4 ## %bb.3: ## in Loop: Header=BB0_2 Depth=1 decq %rcx movq %rcx, (%rax) cmpq %rdx, %rcx jbe LBB0_2 LBB0_4: cmpq %rdx, %rcx jae LBB0_5 ## %bb.6: movq _active_list@GOTPCREL(%rip), %rdx movq (%rdx), %rdx leaq 1(%rcx), %rsi movq %rsi, (%rax) movq (%rdx,%rcx,8), %rax popq %rbp retq LBB0_5: xorl %eax, %eax popq %rbp retq .cfi_endproc ## -- End function .comm _active_ptr,8,3 ## @active_ptr .comm _active_last,8,3 ## @active_last .comm _active_list,8,3 ## @active_list .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _next_active_node ; -- Begin function next_active_node .p2align 2 _next_active_node: ; @next_active_node .cfi_startproc ; %bb.0: Lloh0: adrp x8, _active_last@GOTPAGE Lloh1: ldr x8, [x8, _active_last@GOTPAGEOFF] Lloh2: ldr x10, [x8] Lloh3: adrp x8, _active_ptr@GOTPAGE Lloh4: ldr x8, [x8, _active_ptr@GOTPAGEOFF] ldr x9, [x8] Lloh5: adrp x11, _active_list@GOTPAGE Lloh6: ldr x11, [x11, _active_list@GOTPAGEOFF] cmp x9, x10 b.hi LBB0_4 ; %bb.1: ldr x12, [x11] LBB0_2: ; =>This Inner Loop Header: Depth=1 ldr x13, [x12, x9, lsl #3] cbnz x13, LBB0_4 ; %bb.3: ; in Loop: Header=BB0_2 Depth=1 sub x9, x9, #1 str x9, [x8] cmp x9, x10 b.ls LBB0_2 LBB0_4: cmp x9, x10 b.hs LBB0_6 ; %bb.5: ldr x10, [x11] add x11, x9, #1 str x11, [x8] ldr x0, [x10, x9, lsl #3] ret LBB0_6: mov x0, #0 ; =0x0 ret .loh AdrpLdrGot Lloh5, Lloh6 .loh AdrpLdrGot Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _active_ptr,8,3 ; @active_ptr .comm _active_last,8,3 ; @active_last .comm _active_list,8,3 ; @active_list .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function reorder_planes _reorder_planes: ## @reorder_planes .cfi_startproc ## %bb.0: 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 %rdx, %r13 movq %rsi, -104(%rbp) ## 8-byte Spill movq %rdi, %rbx movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -48(%rbp) movq %rdx, %rsi callq _mp_aframe_set_chmap testl %eax, %eax je LBB0_1 ## %bb.2: movq %rbx, %rdi callq _mp_aframe_get_planes movl %eax, %r14d movq %rbx, -96(%rbp) ## 8-byte Spill movq %rbx, %rdi callq _mp_aframe_get_data_rw movq %rax, %r12 movq %rsp, -72(%rbp) ## 8-byte Spill movq _MP_NUM_CHANNELS@GOTPCREL(%rip), %rbx movl (%rbx), %eax shlq $3, %rax callq ____chkstk_darwin addq $15, %rax andq $-16, %rax subq %rax, %rsp movq %rsp, -64(%rbp) ## 8-byte Spill xorl %edi, %edi cmpl (%rbx), %r14d setle %dil callq _assert movl %r14d, -52(%rbp) ## 4-byte Spill testl %r14d, %r14d js LBB0_15 ## %bb.3: movq (%r12), %rax movq -64(%rbp), %rcx ## 8-byte Reload movq %rax, (%rcx) je LBB0_15 ## %bb.4: movq (%r13), %rax movq _MP_SPEAKER_ID_NA@GOTPCREL(%rip), %rcx movq (%rcx), %rcx movl -52(%rbp), %edx ## 4-byte Reload movl %edx, %r13d cmpl $4, %edx jae LBB0_6 ## %bb.5: xorl %edx, %edx xorl %ebx, %ebx jmp LBB0_9 LBB0_1: xorl %eax, %eax jmp LBB0_16 LBB0_6: movl %r13d, %edx andl $2147483644, %edx ## imm = 0x7FFFFFFC movq %rcx, %xmm0 pshufd $68, %xmm0, %xmm0 ## xmm0 = xmm0[0,1,0,1] movl %r13d, %esi shrl $2, %esi andl $536870911, %esi ## imm = 0x1FFFFFFF shlq $5, %rsi pxor %xmm1, %xmm1 xorl %edi, %edi pcmpeqd %xmm3, %xmm3 pxor %xmm2, %xmm2 .p2align 4, 0x90 LBB0_7: ## =>This Inner Loop Header: Depth=1 movdqu (%rax,%rdi), %xmm4 movdqu 16(%rax,%rdi), %xmm5 pcmpeqq %xmm0, %xmm4 pshufd $232, %xmm4, %xmm4 ## xmm4 = xmm4[0,2,2,3] paddd %xmm4, %xmm1 pcmpeqq %xmm0, %xmm5 pshufd $232, %xmm5, %xmm4 ## xmm4 = xmm5[0,2,2,3] paddd %xmm4, %xmm2 psubd %xmm3, %xmm1 psubd %xmm3, %xmm2 addq $32, %rdi cmpq %rdi, %rsi jne LBB0_7 ## %bb.8: paddd %xmm1, %xmm2 pshufd $85, %xmm2, %xmm0 ## xmm0 = xmm2[1,1,1,1] paddd %xmm2, %xmm0 movd %xmm0, %ebx cmpl %r13d, %edx je LBB0_10 .p2align 4, 0x90 LBB0_9: ## =>This Inner Loop Header: Depth=1 xorl %esi, %esi cmpq %rcx, (%rax,%rdx,8) setne %sil addl %esi, %ebx incq %rdx cmpq %rdx, %r13 jne LBB0_9 LBB0_10: xorl %r14d, %r14d movq %r12, -88(%rbp) ## 8-byte Spill movq %r13, -80(%rbp) ## 8-byte Spill jmp LBB0_11 .p2align 4, 0x90 LBB0_13: ## in Loop: Header=BB0_11 Depth=1 xorl %edi, %edi cmpl -52(%rbp), %ebx ## 4-byte Folded Reload setl %dil callq _assert movslq %ebx, %rax incl %ebx movq -64(%rbp), %rcx ## 8-byte Reload movq (%rcx,%rax,8), %r13 movq %r13, (%r12,%r14,8) movq -96(%rbp), %r12 ## 8-byte Reload movq %r12, %rdi callq _mp_aframe_get_sstride movl %eax, %r15d movq %r12, %rdi callq _mp_aframe_get_size imull %eax, %r15d movq %r12, %rdi movq -88(%rbp), %r12 ## 8-byte Reload callq _mp_aframe_get_format movq %r13, %rdi movq -80(%rbp), %r13 ## 8-byte Reload movl %r15d, %esi movl %eax, %edx callq _af_fill_silence LBB0_14: ## in Loop: Header=BB0_11 Depth=1 incq %r14 cmpq %r14, %r13 je LBB0_15 LBB0_11: ## =>This Inner Loop Header: Depth=1 movq -104(%rbp), %rax ## 8-byte Reload movslq (%rax,%r14,4), %r15 movl $1, %edi callq _assert testq %r15, %r15 js LBB0_13 ## %bb.12: ## in Loop: Header=BB0_11 Depth=1 movq -64(%rbp), %rax ## 8-byte Reload movq (%rax,%r15,8), %rax movq %rax, (%r12,%r14,8) jmp LBB0_14 LBB0_15: movq -72(%rbp), %rsp ## 8-byte Reload movl $1, %eax LBB0_16: movq ___stack_chk_guard@GOTPCREL(%rip), %rcx movq (%rcx), %rcx cmpq -48(%rbp), %rcx jne LBB0_18 ## %bb.17: leaq -40(%rbp), %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_18: callq ___stack_chk_fail .cfi_endproc ## -- End function .comm _MP_NUM_CHANNELS,4,2 ## @MP_NUM_CHANNELS .comm _MP_SPEAKER_ID_NA,8,3 ## @MP_SPEAKER_ID_NA .no_dead_strip _reorder_planes .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function reorder_planes _reorder_planes: ; @reorder_planes .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 x23, x2 mov x19, x1 mov x20, x0 Lloh0: adrp x8, ___stack_chk_guard@GOTPAGE Lloh1: ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] Lloh2: ldr x8, [x8] stur x8, [x29, #-88] mov x1, x2 bl _mp_aframe_set_chmap cbz w0, LBB0_15 ; %bb.1: mov x0, x20 bl _mp_aframe_get_planes mov x21, x0 mov x0, x20 bl _mp_aframe_get_data_rw mov x22, x0 mov x25, sp Lloh3: adrp x12, _MP_NUM_CHANNELS@GOTPAGE Lloh4: ldr x12, [x12, _MP_NUM_CHANNELS@GOTPAGEOFF] ldr w8, [x12] lsl x8, x8, #3 mov x9, x8 Lloh5: adrp x16, ___chkstk_darwin@GOTPAGE Lloh6: ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF] blr x16 mov x9, sp add x8, x8, #15 and x8, x8, #0xffffffff0 sub x26, x9, x8 mov sp, x26 ldr w8, [x12] cmp w21, w8 cset w0, le bl _assert tbnz w21, #31, LBB0_14 ; %bb.2: ldr x8, [x22] str x8, [x26] cbz w21, LBB0_14 ; %bb.3: ldr x9, [x23] Lloh7: adrp x8, _MP_SPEAKER_ID_NA@GOTPAGE Lloh8: ldr x8, [x8, _MP_SPEAKER_ID_NA@GOTPAGEOFF] Lloh9: ldr x8, [x8] mov w27, w21 cmp w21, #15 b.hi LBB0_5 ; %bb.4: mov x10, #0 ; =0x0 mov w23, #0 ; =0x0 b LBB0_8 LBB0_5: and x10, x27, #0x7ffffff0 dup.2d v0, x8 add x11, x9, #64 movi.2d v1, #0000000000000000 mov x12, x10 movi.2d v2, #0000000000000000 movi.2d v3, #0000000000000000 movi.2d v4, #0000000000000000 LBB0_6: ; =>This Inner Loop Header: Depth=1 ldp q5, q6, [x11, #-64] ldp q7, q16, [x11, #-32] ldp q17, q18, [x11] ldp q19, q20, [x11, #32] cmeq.2d v6, v6, v0 cmeq.2d v5, v5, v0 uzp1.4s v5, v5, v6 mvn.16b v5, v5 cmeq.2d v6, v16, v0 cmeq.2d v7, v7, v0 uzp1.4s v6, v7, v6 mvn.16b v6, v6 cmeq.2d v7, v18, v0 cmeq.2d v16, v17, v0 uzp1.4s v7, v16, v7 mvn.16b v7, v7 cmeq.2d v16, v20, v0 cmeq.2d v17, v19, v0 uzp1.4s v16, v17, v16 mvn.16b v16, v16 sub.4s v1, v1, v5 sub.4s v2, v2, v6 sub.4s v3, v3, v7 sub.4s v4, v4, v16 add x11, x11, #128 subs x12, x12, #16 b.ne LBB0_6 ; %bb.7: add.4s v0, v2, v1 add.4s v1, v4, v3 add.4s v0, v1, v0 addv.4s s0, v0 fmov w23, s0 cmp x10, x27 b.eq LBB0_12 LBB0_8: add x9, x9, x10, lsl #3 sub x10, x27, x10 LBB0_9: ; =>This Inner Loop Header: Depth=1 ldr x11, [x9], #8 cmp x11, x8 cinc w23, w23, ne subs x10, x10, #1 b.ne LBB0_9 b LBB0_12 LBB0_10: ; in Loop: Header=BB0_12 Depth=1 cmp w23, w21 cset w0, lt bl _assert add w28, w23, #1 ldr x23, [x26, w23, sxtw #3] str x23, [x22] mov x0, x20 bl _mp_aframe_get_sstride mov x24, x0 mov x0, x20 bl _mp_aframe_get_size mul w24, w0, w24 mov x0, x20 bl _mp_aframe_get_format mov x2, x0 mov x0, x23 mov x1, x24 bl _af_fill_silence mov x23, x28 LBB0_11: ; in Loop: Header=BB0_12 Depth=1 add x22, x22, #8 subs x27, x27, #1 b.eq LBB0_14 LBB0_12: ; =>This Inner Loop Header: Depth=1 ldr w24, [x19], #4 mov w0, #1 ; =0x1 bl _assert tbnz w24, #31, LBB0_10 ; %bb.13: ; in Loop: Header=BB0_12 Depth=1 ldr x8, [x26, x24, lsl #3] str x8, [x22] b LBB0_11 LBB0_14: mov sp, x25 mov w0, #1 ; =0x1 LBB0_15: ldur x8, [x29, #-88] 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_17 ; %bb.16: 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_17: bl ___stack_chk_fail .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGot Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9 .loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12 .loh AdrpLdrGot Lloh5, Lloh6 .cfi_endproc ; -- End function .comm _MP_NUM_CHANNELS,4,2 ; @MP_NUM_CHANNELS .comm _MP_SPEAKER_ID_NA,8,3 ; @MP_SPEAKER_ID_NA .no_dead_strip _reorder_planes .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _user_input ## -- Begin function user_input .p2align 4, 0x90 _user_input: ## @user_input .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 callq _getch ## kill: def $eax killed $eax def $rax leal -48(%rax), %ecx cmpl $10, %ecx jae LBB0_1 ## %bb.7: movslq _user_input.pos(%rip), %rcx leal -1(%rcx), %edx movl %edx, _user_input.pos(%rip) leaq _user_input.chan(%rip), %rsi movb %al, (%rcx,%rsi) cmpl $2, %edx jne LBB0_10 ## %bb.8: leaq _user_input.chan(%rip), %rdi callq _atoi movl %eax, %edi callq _set_chan movq _chaninfo@GOTPCREL(%rip), %rax movl $1, (%rax) LBB0_9: movl $0, _user_input.pos(%rip) LBB0_10: popq %rbp retq LBB0_1: addl $-99, %eax cmpl $29, %eax ja LBB0_9 ## %bb.2: leaq LJTI0_0(%rip), %rcx movslq (%rcx,%rax,4), %rax addq %rcx, %rax jmpq *%rax LBB0_5: movq _chaninfo@GOTPCREL(%rip), %rax xorl %ecx, %ecx cmpl $0, (%rax) sete %cl movl %ecx, (%rax) popq %rbp retq LBB0_3: xorl %eax, %eax popq %rbp jmp _save_state ## TAILCALL LBB0_4: xorl %edi, %edi popq %rbp jmp _cleanup ## TAILCALL LBB0_6: leaq L_.str(%rip), %rsi xorl %edi, %edi popq %rbp jmp _die ## TAILCALL .cfi_endproc .p2align 2, 0x90 .data_region jt32 .set L0_0_set_5, LBB0_5-LJTI0_0 .set L0_0_set_9, LBB0_9-LJTI0_0 .set L0_0_set_4, LBB0_4-LJTI0_0 .set L0_0_set_3, LBB0_3-LJTI0_0 .set L0_0_set_6, LBB0_6-LJTI0_0 LJTI0_0: .long L0_0_set_5 .long L0_0_set_9 .long L0_0_set_9 .long L0_0_set_9 .long L0_0_set_9 .long L0_0_set_9 .long L0_0_set_9 .long L0_0_set_9 .long L0_0_set_9 .long L0_0_set_9 .long L0_0_set_9 .long L0_0_set_9 .long L0_0_set_9 .long L0_0_set_9 .long L0_0_set_4 .long L0_0_set_9 .long L0_0_set_9 .long L0_0_set_9 .long L0_0_set_9 .long L0_0_set_9 .long L0_0_set_3 .long L0_0_set_9 .long L0_0_set_9 .long L0_0_set_9 .long L0_0_set_9 .long L0_0_set_9 .long L0_0_set_9 .long L0_0_set_9 .long L0_0_set_9 .long L0_0_set_6 .end_data_region ## -- End function .zerofill __DATA,__bss,_user_input.chan,3,0 ## @user_input.chan .zerofill __DATA,__bss,_user_input.pos,4,2 ## @user_input.pos .comm _chaninfo,4,2 ## @chaninfo .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "getch()" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _user_input ; -- Begin function user_input .p2align 2 _user_input: ; @user_input .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 bl _getch sub w8, w0, #48 cmp w8, #10 b.hs LBB0_4 ; %bb.1: adrp x19, _user_input.pos@PAGE ldrsw x8, [x19, _user_input.pos@PAGEOFF] sub w9, w8, #1 str w9, [x19, _user_input.pos@PAGEOFF] Lloh0: adrp x10, _user_input.chan@PAGE Lloh1: add x10, x10, _user_input.chan@PAGEOFF strb w0, [x10, x8] cmp w9, #2 b.ne LBB0_3 ; %bb.2: Lloh2: adrp x0, _user_input.chan@PAGE Lloh3: add x0, x0, _user_input.chan@PAGEOFF bl _atoi bl _set_chan Lloh4: adrp x8, _chaninfo@GOTPAGE Lloh5: ldr x8, [x8, _chaninfo@GOTPAGEOFF] mov w9, #1 ; =0x1 Lloh6: str w9, [x8] str wzr, [x19, _user_input.pos@PAGEOFF] LBB0_3: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret LBB0_4: cmp w0, #118 b.gt LBB0_8 ; %bb.5: cmp w0, #99 b.eq LBB0_12 ; %bb.6: cmp w0, #113 b.ne LBB0_11 ; %bb.7: mov w0, #0 ; =0x0 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _cleanup LBB0_8: cmp w0, #128 b.eq LBB0_13 ; %bb.9: cmp w0, #119 b.ne LBB0_11 ; %bb.10: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _save_state LBB0_11: adrp x8, _user_input.pos@PAGE str wzr, [x8, _user_input.pos@PAGEOFF] b LBB0_3 LBB0_12: Lloh7: adrp x8, _chaninfo@GOTPAGE Lloh8: ldr x8, [x8, _chaninfo@GOTPAGEOFF] ldr w9, [x8] cmp w9, #0 cset w9, eq str w9, [x8] b LBB0_3 LBB0_13: Lloh9: adrp x1, l_.str@PAGE Lloh10: add x1, x1, l_.str@PAGEOFF mov w0, #0 ; =0x0 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _die .loh AdrpAdd Lloh0, Lloh1 .loh AdrpLdrGotStr Lloh4, Lloh5, Lloh6 .loh AdrpAdd Lloh2, Lloh3 .loh AdrpLdrGot Lloh7, Lloh8 .loh AdrpAdd Lloh9, Lloh10 .cfi_endproc ; -- End function .zerofill __DATA,__bss,_user_input.chan,3,0 ; @user_input.chan .zerofill __DATA,__bss,_user_input.pos,4,2 ; @user_input.pos .comm _chaninfo,4,2 ; @chaninfo .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "getch()" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function _rtl92e_process_phyinfo __rtl92e_process_phyinfo: ## @_rtl92e_process_phyinfo .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rcx, %r15 movq %rdx, %r14 movq %rdi, %rbx movl (%rsi), %edi callq _le16_to_cpu movl %eax, %r12d movl %eax, %edi callq _WLAN_GET_SEQ_FRAG movl %r12d, %edi callq _WLAN_GET_SEQ_SEQ movl %eax, (%r15) movl 88(%r14), %r12d movq __rtl92e_process_phyinfo.slide_rssi_statistics(%rip), %rax leaq -1(%rax), %rcx movq %rcx, __rtl92e_process_phyinfo.slide_rssi_statistics(%rip) movq _PHY_RSSI_SLID_WIN_MAX@GOTPCREL(%rip), %r8 movq (%r8), %rdi cmpq %rdi, %rax jae LBB0_2 ## %bb.1: movq 8(%rbx), %rax movq 16(%rbx), %rsi movq __rtl92e_process_phyinfo.slide_rssi_index(%rip), %rdx jmp LBB0_3 LBB0_2: movq %rdi, __rtl92e_process_phyinfo.slide_rssi_statistics(%rip) movq 8(%rbx), %rax movq 16(%rbx), %rsi movq __rtl92e_process_phyinfo.slide_rssi_index(%rip), %rdx subq (%rax,%rdx,8), %rsi movq %rdi, %rcx LBB0_3: movq 8(%r14), %rdi addq %rdi, %rsi movq %rsi, 16(%rbx) leaq 1(%rdx), %rsi movq %rsi, __rtl92e_process_phyinfo.slide_rssi_index(%rip) movq %rdi, (%rax,%rdx,8) cmpq (%r8), %rsi jb LBB0_5 ## %bb.4: movq $0, __rtl92e_process_phyinfo.slide_rssi_index(%rip) LBB0_5: movq 16(%rbx), %rax movq %rax, %rdx orq %rcx, %rdx shrq $32, %rdx je LBB0_6 ## %bb.7: xorl %edx, %edx divq %rcx jmp LBB0_8 LBB0_6: ## kill: def $eax killed $eax killed $rax xorl %edx, %edx divl %ecx ## kill: def $eax killed $eax def $rax LBB0_8: movq %rbx, %rdi movq %rax, %rsi callq _rtl92e_translate_to_dbm movl %eax, 92(%rbx) movl %eax, 84(%r15) cmpl $0, 80(%r14) je LBB0_9 ## %bb.10: testl %r12d, %r12d jne LBB0_67 jmp LBB0_11 LBB0_9: testl %r12d, %r12d setne %al cmpq $0, 48(%r14) sete %cl orb %al, %cl jne LBB0_67 LBB0_11: incl 88(%rbx) cmpq $0, 72(%r14) je LBB0_13 ## %bb.12: cmpq $0, 64(%r14) je LBB0_23 LBB0_13: movq _RF90_PATH_A@GOTPCREL(%rip), %rax movq (%rax), %r15 movq _RF90_PATH_C@GOTPCREL(%rip), %r12 cmpq (%r12), %r15 jbe LBB0_14 LBB0_23: cmpq $0, 56(%r14) je LBB0_24 ## %bb.25: movq __rtl92e_process_phyinfo.slide_beacon_adc_pwdb_statistics(%rip), %rdx leaq 1(%rdx), %rcx movq %rcx, __rtl92e_process_phyinfo.slide_beacon_adc_pwdb_statistics(%rip) movq _PHY_Beacon_RSSI_SLID_WIN_MAX@GOTPCREL(%rip), %rax movq (%rax), %r8 cmpq %r8, %rdx jae LBB0_27 ## %bb.26: movq 32(%rbx), %rsi movq 40(%rbx), %rdi movq __rtl92e_process_phyinfo.slide_beacon_adc_pwdb_index(%rip), %rdx jmp LBB0_28 LBB0_14: movq _COMP_DBG@GOTPCREL(%rip), %r13 jmp LBB0_15 LBB0_20: ## in Loop: Header=BB0_15 Depth=1 movq _RX_SMOOTH@GOTPCREL(%rip), %rax movl (%rax), %edi leal -1(%rdi), %eax imull %esi, %eax addl %edx, %eax cltd idivl %edi incl %eax LBB0_21: ## in Loop: Header=BB0_15 Depth=1 movl %eax, (%rcx,%r15,4) movl (%r13), %edi leaq L_.str.1(%rip), %rsi movl %eax, %edx xorl %eax, %eax callq _RT_TRACE LBB0_22: ## in Loop: Header=BB0_15 Depth=1 incq %r15 cmpq (%r12), %r15 ja LBB0_23 LBB0_15: ## =>This Inner Loop Header: Depth=1 movq 96(%rbx), %rax movl (%rax), %edi movq %r15, %rsi callq _rtl92e_is_legal_rf_path testl %eax, %eax je LBB0_22 ## %bb.16: ## in Loop: Header=BB0_15 Depth=1 movl (%r13), %edi movq 16(%r14), %rax movl (%rax,%r15,4), %edx leaq L_.str(%rip), %rsi xorl %eax, %eax callq _RT_TRACE movq 24(%rbx), %rcx movl (%rcx,%r15,4), %esi movq 16(%r14), %rax movl (%rax,%r15,4), %edx testl %esi, %esi je LBB0_17 ## %bb.19: ## in Loop: Header=BB0_15 Depth=1 cmpl %esi, %edx jg LBB0_20 jmp LBB0_18 .p2align 4, 0x90 LBB0_17: ## in Loop: Header=BB0_15 Depth=1 movl %edx, (%rcx,%r15,4) movl %edx, %esi LBB0_18: ## in Loop: Header=BB0_15 Depth=1 movq _RX_SMOOTH@GOTPCREL(%rip), %rax movl (%rax), %edi leal -1(%rdi), %eax imull %esi, %eax addl %edx, %eax cltd idivl %edi jmp LBB0_21 LBB0_24: movq 24(%r14), %rcx movq _PHY_RSSI_SLID_WIN_MAX@GOTPCREL(%rip), %r15 jmp LBB0_33 LBB0_27: movq %r8, __rtl92e_process_phyinfo.slide_beacon_adc_pwdb_statistics(%rip) movq 32(%rbx), %rsi movq 40(%rbx), %rdi movq __rtl92e_process_phyinfo.slide_beacon_adc_pwdb_index(%rip), %rdx subq (%rsi,%rdx,8), %rdi movq %r8, %rcx LBB0_28: movq 24(%r14), %r8 addq %r8, %rdi movq %rdi, 40(%rbx) movq %r8, (%rsi,%rdx,8) incq %rdx xorl %esi, %esi cmpq (%rax), %rdx cmovbq %rdx, %rsi movq %rsi, __rtl92e_process_phyinfo.slide_beacon_adc_pwdb_index(%rip) movq 40(%rbx), %rax movq %rax, %rdx orq %rcx, %rdx shrq $32, %rdx movq _PHY_RSSI_SLID_WIN_MAX@GOTPCREL(%rip), %r15 je LBB0_29 ## %bb.30: xorl %edx, %edx divq %rcx movq %rax, %rcx jmp LBB0_31 LBB0_29: ## kill: def $eax killed $eax killed $rax xorl %edx, %edx divl %ecx movl %eax, %ecx LBB0_31: movq %rcx, 24(%r14) cmpq $3, %rcx jb LBB0_33 ## %bb.32: addq $-3, %rcx movq %rcx, 24(%r14) LBB0_33: movq _COMP_RXDESC@GOTPCREL(%rip), %rax movl (%rax), %edi cmpq $0, 72(%r14) leaq L_.str.4(%rip), %rax leaq L_.str.3(%rip), %rdx cmoveq %rax, %rdx leaq L_.str.2(%rip), %rsi xorl %eax, %eax callq _RT_TRACE cmpq $0, 64(%r14) jne LBB0_36 ## %bb.34: cmpq $0, 56(%r14) jne LBB0_36 ## %bb.35: cmpq $0, 48(%r14) je LBB0_42 LBB0_36: movl (%rbx), %eax movq 24(%r14), %rcx testl %eax, %eax jns LBB0_38 ## %bb.37: movl %ecx, (%rbx) movl %ecx, %eax LBB0_38: movslq %eax, %rsi movq _RX_SMOOTH@GOTPCREL(%rip), %rax movslq (%rax), %rdi leaq -1(%rdi), %rax imulq %rsi, %rax addq %rcx, %rax movq %rax, %rdx orq %rdi, %rdx shrq $32, %rdx je LBB0_39 ## %bb.40: xorl %edx, %edx divq %rdi jmp LBB0_41 LBB0_39: ## kill: def $eax killed $eax killed $rax xorl %edx, %edx divl %edi ## kill: def $eax killed $eax def $rax LBB0_41: cmpq %rcx, %rsi adcl $0, %eax movl %eax, (%rbx) movq %rbx, %rdi movq %r14, %rsi callq _rtl92e_update_rx_statistics LBB0_42: movq 32(%r14), %rax testq %rax, %rax je LBB0_67 ## %bb.43: cmpq $0, 64(%r14) jne LBB0_46 ## %bb.44: cmpq $0, 56(%r14) jne LBB0_46 ## %bb.45: cmpq $0, 48(%r14) je LBB0_55 LBB0_46: movq __rtl92e_process_phyinfo.slide_evm_statistics(%rip), %rdx leaq 1(%rdx), %rcx movq %rcx, __rtl92e_process_phyinfo.slide_evm_statistics(%rip) movq (%r15), %r8 cmpq %r8, %rdx jae LBB0_48 ## %bb.47: movq 48(%rbx), %rdx movq 56(%rbx), %rdi movq __rtl92e_process_phyinfo.slide_evm_index(%rip), %rsi jmp LBB0_49 LBB0_48: movq %r8, __rtl92e_process_phyinfo.slide_evm_statistics(%rip) movq 48(%rbx), %rdx movq 56(%rbx), %rdi movq __rtl92e_process_phyinfo.slide_evm_index(%rip), %rsi subq (%rdx,%rsi,8), %rdi movq %r8, %rcx LBB0_49: addq %rax, %rdi movq %rdi, 56(%rbx) leaq 1(%rsi), %rdi movq %rdi, __rtl92e_process_phyinfo.slide_evm_index(%rip) movq %rax, (%rdx,%rsi,8) cmpq (%r15), %rdi jb LBB0_51 ## %bb.50: movq $0, __rtl92e_process_phyinfo.slide_evm_index(%rip) LBB0_51: movq 56(%rbx), %rax movq %rax, %rdx orq %rcx, %rdx shrq $32, %rdx je LBB0_52 ## %bb.53: xorl %edx, %edx divq %rcx jmp LBB0_54 LBB0_52: ## kill: def $eax killed $eax killed $rax xorl %edx, %edx divl %ecx ## kill: def $eax killed $eax def $rax LBB0_54: movq %rax, 64(%rbx) movq %rax, 72(%rbx) cmpq $0, 64(%r14) jne LBB0_57 LBB0_55: cmpq $0, 56(%r14) jne LBB0_57 ## %bb.56: cmpq $0, 48(%r14) je LBB0_67 LBB0_57: movq 40(%r14), %rcx movl (%rcx), %edx cmpl $-1, %edx je LBB0_62 ## %bb.58: movq 80(%rbx), %rsi movl (%rsi), %eax testl %eax, %eax je LBB0_60 ## %bb.59: movl %edx, %edi movl %eax, %edx jmp LBB0_61 LBB0_60: movl %edx, (%rsi) movl (%rcx), %edi LBB0_61: movq _RX_SMOOTH@GOTPCREL(%rip), %rax movl (%rax), %r8d leal -1(%r8), %eax imull %edx, %eax addl %edi, %eax cltd idivl %r8d movl %eax, (%rsi) LBB0_62: movl 4(%rcx), %edx cmpl $-1, %edx je LBB0_67 ## %bb.63: movq 80(%rbx), %rsi movl 4(%rsi), %eax testl %eax, %eax je LBB0_65 ## %bb.64: movl %edx, %ecx movl %eax, %edx jmp LBB0_66 LBB0_65: movl %edx, 4(%rsi) movl 4(%rcx), %ecx LBB0_66: movq _RX_SMOOTH@GOTPCREL(%rip), %rax movl (%rax), %edi leal -1(%rdi), %eax imull %edx, %eax addl %ecx, %eax cltd idivl %edi movl %eax, 4(%rsi) LBB0_67: addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .zerofill __DATA,__bss,__rtl92e_process_phyinfo.slide_rssi_index,8,3 ## @_rtl92e_process_phyinfo.slide_rssi_index .zerofill __DATA,__bss,__rtl92e_process_phyinfo.slide_rssi_statistics,8,3 ## @_rtl92e_process_phyinfo.slide_rssi_statistics .zerofill __DATA,__bss,__rtl92e_process_phyinfo.slide_evm_index,8,3 ## @_rtl92e_process_phyinfo.slide_evm_index .zerofill __DATA,__bss,__rtl92e_process_phyinfo.slide_evm_statistics,8,3 ## @_rtl92e_process_phyinfo.slide_evm_statistics .zerofill __DATA,__bss,__rtl92e_process_phyinfo.slide_beacon_adc_pwdb_index,8,3 ## @_rtl92e_process_phyinfo.slide_beacon_adc_pwdb_index .zerofill __DATA,__bss,__rtl92e_process_phyinfo.slide_beacon_adc_pwdb_statistics,8,3 ## @_rtl92e_process_phyinfo.slide_beacon_adc_pwdb_statistics .comm _PHY_RSSI_SLID_WIN_MAX,8,3 ## @PHY_RSSI_SLID_WIN_MAX .comm _RF90_PATH_A,8,3 ## @RF90_PATH_A .comm _RF90_PATH_C,8,3 ## @RF90_PATH_C .comm _COMP_DBG,4,2 ## @COMP_DBG .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "Jacken -> pPreviousstats->RxMIMOSignalStrength[rfpath] = %d\n" .comm _RX_SMOOTH,4,2 ## @RX_SMOOTH L_.str.1: ## @.str.1 .asciz "Jacken -> priv->RxStats.RxRSSIPercentage[rfPath] = %d\n" .comm _PHY_Beacon_RSSI_SLID_WIN_MAX,8,3 ## @PHY_Beacon_RSSI_SLID_WIN_MAX .comm _COMP_RXDESC,4,2 ## @COMP_RXDESC L_.str.2: ## @.str.2 .asciz "Smooth %s PWDB = %d\n" L_.str.3: ## @.str.3 .asciz "CCK" L_.str.4: ## @.str.4 .asciz "OFDM" .no_dead_strip __rtl92e_process_phyinfo .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function _rtl92e_process_phyinfo __rtl92e_process_phyinfo: ; @_rtl92e_process_phyinfo .cfi_startproc ; %bb.0: sub sp, sp, #112 stp x28, x27, [sp, #16] ; 16-byte Folded Spill stp x26, x25, [sp, #32] ; 16-byte Folded Spill stp x24, x23, [sp, #48] ; 16-byte Folded Spill stp x22, x21, [sp, #64] ; 16-byte Folded Spill stp x20, x19, [sp, #80] ; 16-byte Folded Spill stp x29, x30, [sp, #96] ; 16-byte Folded Spill add x29, sp, #96 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset w27, -88 .cfi_offset w28, -96 mov x21, x3 mov x20, x2 mov x19, x0 ldr w0, [x1] bl _le16_to_cpu mov x22, x0 bl _WLAN_GET_SEQ_FRAG mov x0, x22 bl _WLAN_GET_SEQ_SEQ str w0, [x21] ldr w22, [x20, #88] adrp x10, __rtl92e_process_phyinfo.slide_rssi_statistics@PAGE ldr x11, [x10, __rtl92e_process_phyinfo.slide_rssi_statistics@PAGEOFF] sub x9, x11, #1 str x9, [x10, __rtl92e_process_phyinfo.slide_rssi_statistics@PAGEOFF] Lloh0: adrp x24, _PHY_RSSI_SLID_WIN_MAX@GOTPAGE Lloh1: ldr x24, [x24, _PHY_RSSI_SLID_WIN_MAX@GOTPAGEOFF] ldr x13, [x24] adrp x8, __rtl92e_process_phyinfo.slide_rssi_index@PAGE cmp x11, x13 b.hs LBB0_2 ; %bb.1: ldp x10, x12, [x19, #8] ldr x11, [x8, __rtl92e_process_phyinfo.slide_rssi_index@PAGEOFF] b LBB0_3 LBB0_2: str x13, [x10, __rtl92e_process_phyinfo.slide_rssi_statistics@PAGEOFF] ldr x11, [x8, __rtl92e_process_phyinfo.slide_rssi_index@PAGEOFF] ldp x10, x9, [x19, #8] ldr x12, [x10, x11, lsl #3] sub x12, x9, x12 mov x9, x13 LBB0_3: ldr x13, [x20, #8] add x12, x12, x13 str x12, [x19, #16] add x12, x11, #1 str x12, [x8, __rtl92e_process_phyinfo.slide_rssi_index@PAGEOFF] str x13, [x10, x11, lsl #3] ldr x10, [x24] cmp x12, x10 b.lo LBB0_5 ; %bb.4: str xzr, [x8, __rtl92e_process_phyinfo.slide_rssi_index@PAGEOFF] LBB0_5: ldr x8, [x19, #16] udiv x1, x8, x9 mov x0, x19 bl _rtl92e_translate_to_dbm str w0, [x19, #92] str w0, [x21, #84] ldr w8, [x20, #80] cbnz w8, LBB0_7 ; %bb.6: ldr x8, [x20, #48] cbz x8, LBB0_55 LBB0_7: cbnz w22, LBB0_55 ; %bb.8: ldr w8, [x19, #88] add w8, w8, #1 str w8, [x19, #88] ldr x8, [x20, #72] Lloh2: adrp x25, _RX_SMOOTH@GOTPAGE Lloh3: ldr x25, [x25, _RX_SMOOTH@GOTPAGEOFF] cbz x8, LBB0_10 ; %bb.9: ldr x8, [x20, #64] cbz x8, LBB0_11 LBB0_10: Lloh4: adrp x8, _RF90_PATH_A@GOTPAGE Lloh5: ldr x8, [x8, _RF90_PATH_A@GOTPAGEOFF] Lloh6: ldr x21, [x8] Lloh7: adrp x26, _RF90_PATH_C@GOTPAGE Lloh8: ldr x26, [x26, _RF90_PATH_C@GOTPAGEOFF] ldr x8, [x26] cmp x21, x8 b.ls LBB0_14 LBB0_11: ldr x8, [x20, #56] cbz x8, LBB0_23 ; %bb.12: adrp x11, __rtl92e_process_phyinfo.slide_beacon_adc_pwdb_statistics@PAGE ldr x12, [x11, __rtl92e_process_phyinfo.slide_beacon_adc_pwdb_statistics@PAGEOFF] add x10, x12, #1 str x10, [x11, __rtl92e_process_phyinfo.slide_beacon_adc_pwdb_statistics@PAGEOFF] Lloh9: adrp x9, _PHY_Beacon_RSSI_SLID_WIN_MAX@GOTPAGE Lloh10: ldr x9, [x9, _PHY_Beacon_RSSI_SLID_WIN_MAX@GOTPAGEOFF] ldr x14, [x9] adrp x8, __rtl92e_process_phyinfo.slide_beacon_adc_pwdb_index@PAGE cmp x12, x14 b.hs LBB0_24 ; %bb.13: ldp x12, x13, [x19, #32] ldr x11, [x8, __rtl92e_process_phyinfo.slide_beacon_adc_pwdb_index@PAGEOFF] b LBB0_25 LBB0_14: Lloh11: adrp x27, _COMP_DBG@GOTPAGE Lloh12: ldr x27, [x27, _COMP_DBG@GOTPAGEOFF] Lloh13: adrp x22, l_.str@PAGE Lloh14: add x22, x22, l_.str@PAGEOFF Lloh15: adrp x23, l_.str.1@PAGE Lloh16: add x23, x23, l_.str.1@PAGEOFF b LBB0_18 LBB0_15: ; in Loop: Header=BB0_18 Depth=1 ldr w11, [x25] sub w12, w11, #1 madd w9, w12, w10, w9 sdiv w9, w9, w11 add w9, w9, #1 LBB0_16: ; in Loop: Header=BB0_18 Depth=1 str w9, [x8, x21, lsl #2] ldr w0, [x27] str x9, [sp] mov x1, x23 bl _RT_TRACE LBB0_17: ; in Loop: Header=BB0_18 Depth=1 add x21, x21, #1 ldr x8, [x26] cmp x21, x8 b.hi LBB0_11 LBB0_18: ; =>This Inner Loop Header: Depth=1 ldr x8, [x19, #96] ldr w0, [x8] mov x1, x21 bl _rtl92e_is_legal_rf_path cbz w0, LBB0_17 ; %bb.19: ; in Loop: Header=BB0_18 Depth=1 ldr w0, [x27] ldr x8, [x20, #16] ldr w8, [x8, x21, lsl #2] str x8, [sp] mov x1, x22 bl _RT_TRACE ldr x8, [x19, #24] ldr w10, [x8, x21, lsl #2] ldr x9, [x20, #16] ldr w9, [x9, x21, lsl #2] cbz w10, LBB0_21 ; %bb.20: ; in Loop: Header=BB0_18 Depth=1 cmp w9, w10 b.gt LBB0_15 b LBB0_22 LBB0_21: ; in Loop: Header=BB0_18 Depth=1 str w9, [x8, x21, lsl #2] mov x10, x9 LBB0_22: ; in Loop: Header=BB0_18 Depth=1 ldr w11, [x25] sub w12, w11, #1 madd w9, w12, w10, w9 sdiv w9, w9, w11 b LBB0_16 LBB0_23: ldr x8, [x20, #24] b LBB0_27 LBB0_24: str x14, [x11, __rtl92e_process_phyinfo.slide_beacon_adc_pwdb_statistics@PAGEOFF] ldr x11, [x8, __rtl92e_process_phyinfo.slide_beacon_adc_pwdb_index@PAGEOFF] ldp x12, x10, [x19, #32] ldr x13, [x12, x11, lsl #3] sub x13, x10, x13 mov x10, x14 LBB0_25: ldr x14, [x20, #24] add x13, x13, x14 str x13, [x19, #40] str x14, [x12, x11, lsl #3] add x12, x11, #1 ldr x9, [x9] cmp x12, x9 csinc x9, xzr, x11, hs str x9, [x8, __rtl92e_process_phyinfo.slide_beacon_adc_pwdb_index@PAGEOFF] ldr x8, [x19, #40] udiv x8, x8, x10 str x8, [x20, #24] subs x9, x8, #3 b.lo LBB0_27 ; %bb.26: str x9, [x20, #24] mov x8, x9 LBB0_27: Lloh17: adrp x9, _COMP_RXDESC@GOTPAGE Lloh18: ldr x9, [x9, _COMP_RXDESC@GOTPAGEOFF] Lloh19: ldr w0, [x9] ldr x9, [x20, #72] Lloh20: adrp x10, l_.str.3@PAGE Lloh21: add x10, x10, l_.str.3@PAGEOFF Lloh22: adrp x11, l_.str.4@PAGE Lloh23: add x11, x11, l_.str.4@PAGEOFF cmp x9, #0 csel x9, x11, x10, eq stp x9, x8, [sp] Lloh24: adrp x1, l_.str.2@PAGE Lloh25: add x1, x1, l_.str.2@PAGEOFF bl _RT_TRACE ldr x8, [x20, #64] cbnz x8, LBB0_30 ; %bb.28: ldr x8, [x20, #56] cbnz x8, LBB0_30 ; %bb.29: ldr x8, [x20, #48] cbz x8, LBB0_33 LBB0_30: ldr w9, [x19] ldr x8, [x20, #24] tbz w9, #31, LBB0_32 ; %bb.31: str w8, [x19] mov x9, x8 LBB0_32: sxtw x9, w9 ldrsw x10, [x25] sub x11, x10, #1 cmp x8, x9 madd x8, x11, x9, x8 udiv x8, x8, x10 cinc w8, w8, hi str w8, [x19] mov x0, x19 mov x1, x20 bl _rtl92e_update_rx_statistics LBB0_33: ldr x8, [x20, #32] cbz x8, LBB0_55 ; %bb.34: ldr x9, [x20, #64] cbnz x9, LBB0_37 ; %bb.35: ldr x9, [x20, #56] cbnz x9, LBB0_37 ; %bb.36: ldr x9, [x20, #48] cbz x9, LBB0_43 LBB0_37: adrp x11, __rtl92e_process_phyinfo.slide_evm_statistics@PAGE ldr x12, [x11, __rtl92e_process_phyinfo.slide_evm_statistics@PAGEOFF] add x10, x12, #1 str x10, [x11, __rtl92e_process_phyinfo.slide_evm_statistics@PAGEOFF] ldr x14, [x24] adrp x9, __rtl92e_process_phyinfo.slide_evm_index@PAGE cmp x12, x14 b.hs LBB0_39 ; %bb.38: ldp x11, x13, [x19, #48] ldr x12, [x9, __rtl92e_process_phyinfo.slide_evm_index@PAGEOFF] b LBB0_40 LBB0_39: str x14, [x11, __rtl92e_process_phyinfo.slide_evm_statistics@PAGEOFF] ldr x12, [x9, __rtl92e_process_phyinfo.slide_evm_index@PAGEOFF] ldp x11, x10, [x19, #48] ldr x13, [x11, x12, lsl #3] sub x13, x10, x13 mov x10, x14 LBB0_40: add x13, x13, x8 str x13, [x19, #56] add x13, x12, #1 str x13, [x9, __rtl92e_process_phyinfo.slide_evm_index@PAGEOFF] str x8, [x11, x12, lsl #3] ldr x8, [x24] cmp x13, x8 b.lo LBB0_42 ; %bb.41: str xzr, [x9, __rtl92e_process_phyinfo.slide_evm_index@PAGEOFF] LBB0_42: ldr x8, [x19, #56] udiv x8, x8, x10 stp x8, x8, [x19, #64] ldr x8, [x20, #64] cbnz x8, LBB0_45 LBB0_43: ldr x8, [x20, #56] cbnz x8, LBB0_45 ; %bb.44: ldr x8, [x20, #48] cbz x8, LBB0_55 LBB0_45: ldr x8, [x20, #40] ldr w9, [x8] cmn w9, #1 b.eq LBB0_50 ; %bb.46: ldr x10, [x19, #80] ldr w12, [x10] cbz w12, LBB0_48 ; %bb.47: mov x11, x9 mov x9, x12 b LBB0_49 LBB0_48: str w9, [x10] ldr w11, [x8] LBB0_49: ldr w12, [x25] sub w13, w12, #1 madd w9, w13, w9, w11 sdiv w9, w9, w12 str w9, [x10] LBB0_50: ldr w9, [x8, #4] cmn w9, #1 b.eq LBB0_55 ; %bb.51: ldr x10, [x19, #80] ldr w11, [x10, #4] cbz w11, LBB0_53 ; %bb.52: mov x8, x9 mov x9, x11 b LBB0_54 LBB0_53: str w9, [x10, #4] ldr w8, [x8, #4] LBB0_54: ldr w11, [x25] sub w12, w11, #1 madd w8, w12, w9, w8 sdiv w8, w8, w11 str w8, [x10, #4] LBB0_55: 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 AdrpLdrGot Lloh2, Lloh3 .loh AdrpLdrGot Lloh7, Lloh8 .loh AdrpLdrGotLdr Lloh4, Lloh5, Lloh6 .loh AdrpLdrGot Lloh9, Lloh10 .loh AdrpAdd Lloh15, Lloh16 .loh AdrpAdd Lloh13, Lloh14 .loh AdrpLdrGot Lloh11, Lloh12 .loh AdrpAdd Lloh24, Lloh25 .loh AdrpAdd Lloh22, Lloh23 .loh AdrpAdd Lloh20, Lloh21 .loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19 .cfi_endproc ; -- End function .zerofill __DATA,__bss,__rtl92e_process_phyinfo.slide_rssi_index,8,3 ; @_rtl92e_process_phyinfo.slide_rssi_index .zerofill __DATA,__bss,__rtl92e_process_phyinfo.slide_rssi_statistics,8,3 ; @_rtl92e_process_phyinfo.slide_rssi_statistics .zerofill __DATA,__bss,__rtl92e_process_phyinfo.slide_evm_index,8,3 ; @_rtl92e_process_phyinfo.slide_evm_index .zerofill __DATA,__bss,__rtl92e_process_phyinfo.slide_evm_statistics,8,3 ; @_rtl92e_process_phyinfo.slide_evm_statistics .zerofill __DATA,__bss,__rtl92e_process_phyinfo.slide_beacon_adc_pwdb_index,8,3 ; @_rtl92e_process_phyinfo.slide_beacon_adc_pwdb_index .zerofill __DATA,__bss,__rtl92e_process_phyinfo.slide_beacon_adc_pwdb_statistics,8,3 ; @_rtl92e_process_phyinfo.slide_beacon_adc_pwdb_statistics .comm _PHY_RSSI_SLID_WIN_MAX,8,3 ; @PHY_RSSI_SLID_WIN_MAX .comm _RF90_PATH_A,8,3 ; @RF90_PATH_A .comm _RF90_PATH_C,8,3 ; @RF90_PATH_C .comm _COMP_DBG,4,2 ; @COMP_DBG .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "Jacken -> pPreviousstats->RxMIMOSignalStrength[rfpath] = %d\n" .comm _RX_SMOOTH,4,2 ; @RX_SMOOTH l_.str.1: ; @.str.1 .asciz "Jacken -> priv->RxStats.RxRSSIPercentage[rfPath] = %d\n" .comm _PHY_Beacon_RSSI_SLID_WIN_MAX,8,3 ; @PHY_Beacon_RSSI_SLID_WIN_MAX .comm _COMP_RXDESC,4,2 ; @COMP_RXDESC l_.str.2: ; @.str.2 .asciz "Smooth %s PWDB = %d\n" l_.str.3: ; @.str.3 .asciz "CCK" l_.str.4: ; @.str.4 .asciz "OFDM" .no_dead_strip __rtl92e_process_phyinfo .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function sort_points _sort_points: ## @sort_points .cfi_startproc ## %bb.0: testl %esi, %esi jle LBB0_15 ## %bb.1: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx 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 cmpl $1, %esi jne LBB0_4 ## %bb.2: leaq 4(%rbx), %rsi movq %rbx, %rdi callq _cmp_points testq %rax, %rax jle LBB0_14 ## %bb.3: movq (%rbx), %xmm0 ## xmm0 = mem[0],zero pshufd $225, %xmm0, %xmm0 ## xmm0 = xmm0[1,0,2,3] movq %xmm0, (%rbx) jmp LBB0_14 LBB0_4: movl %esi, %eax shrl %eax movl (%rbx,%rax,4), %eax movl %eax, -56(%rbp) xorl %r13d, %r13d leaq -56(%rbp), %rdx movl %esi, -52(%rbp) ## 4-byte Spill movl %esi, -44(%rbp) ## 4-byte Spill movq %rbx, -64(%rbp) ## 8-byte Spill jmp LBB0_5 .p2align 4, 0x90 LBB0_11: ## in Loop: Header=BB0_5 Depth=1 movl (%rbx,%r14,4), %eax movl (%rbx,%r12,4), %ecx movl %ecx, (%rbx,%r14,4) movl %eax, (%rbx,%r12,4) movl -48(%rbp), %r13d ## 4-byte Reload LBB0_12: ## in Loop: Header=BB0_5 Depth=1 movl %esi, -44(%rbp) ## 4-byte Spill cmpl %esi, %r13d jg LBB0_13 LBB0_5: ## =>This Loop Header: Depth=1 ## Child Loop BB0_6 Depth 2 ## Child Loop BB0_8 Depth 2 movslq %r13d, %r12 leaq -1(%r12), %r14 shlq $2, %r12 .p2align 4, 0x90 LBB0_6: ## Parent Loop BB0_5 Depth=1 ## => This Inner Loop Header: Depth=2 leaq (%rbx,%r12), %rdi movq %rdx, %rsi movq %rdx, %r15 callq _cmp_points movq %r15, %rdx incq %r14 incl %r13d addq $4, %r12 testq %rax, %rax js LBB0_6 ## %bb.7: ## in Loop: Header=BB0_5 Depth=1 movl %r13d, -48(%rbp) ## 4-byte Spill movl -44(%rbp), %esi ## 4-byte Reload movslq %esi, %rbx leaq 1(%rbx), %r12 shlq $2, %rbx .p2align 4, 0x90 LBB0_8: ## Parent Loop BB0_5 Depth=1 ## => This Inner Loop Header: Depth=2 movq -64(%rbp), %rax ## 8-byte Reload leaq (%rax,%rbx), %rdi movl %esi, %r13d movq %rdx, %rsi callq _cmp_points movl %r13d, %esi movq %r15, %rdx decq %r12 decl %esi addq $-4, %rbx testq %rax, %rax jg LBB0_8 ## %bb.9: ## in Loop: Header=BB0_5 Depth=1 movq -64(%rbp), %rbx ## 8-byte Reload cmpq %r12, %r14 jle LBB0_11 ## %bb.10: ## in Loop: Header=BB0_5 Depth=1 movl -48(%rbp), %r13d ## 4-byte Reload decl %r13d incl %esi jmp LBB0_12 LBB0_13: movslq %r13d, %rax leaq (%rbx,%rax,4), %rdi movl -52(%rbp), %esi ## 4-byte Reload subl %r13d, %esi callq _sort_points movq %rbx, %rdi movl -44(%rbp), %esi ## 4-byte Reload callq _sort_points LBB0_14: addq $24, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp LBB0_15: retq .cfi_endproc ## -- End function .no_dead_strip _sort_points .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function sort_points _sort_points: ; @sort_points .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 cmp w1, #1 b.lt LBB0_13 ; %bb.1: mov x19, x0 b.ne LBB0_4 ; %bb.2: add x1, x19, #4 mov x0, x19 bl _cmp_points cmp x0, #1 b.lt LBB0_13 ; %bb.3: ldr d0, [x19] rev64.2s v0, v0 str d0, [x19] b LBB0_13 LBB0_4: mov x20, x1 mov w22, #0 ; =0x0 lsr w8, w1, #1 ldr w8, [x19, w8, uxtw #2] str w8, [sp, #12] mov x21, x1 b LBB0_6 LBB0_5: ; in Loop: Header=BB0_6 Depth=1 ldr w8, [x19, x23, lsl #2] ldr w9, [x19, x24, lsl #2] str w9, [x19, x23, lsl #2] str w8, [x19, x24, lsl #2] cmp w22, w21 b.gt LBB0_12 LBB0_6: ; =>This Loop Header: Depth=1 ; Child Loop BB0_7 Depth 2 ; Child Loop BB0_9 Depth 2 sxtw x8, w22 sub x23, x8, #1 sbfiz x24, x22, #2, #32 LBB0_7: ; Parent Loop BB0_6 Depth=1 ; => This Inner Loop Header: Depth=2 add x0, x19, x24 add x1, sp, #12 bl _cmp_points add x23, x23, #1 add w22, w22, #1 add x24, x24, #4 tbnz x0, #63, LBB0_7 ; %bb.8: ; in Loop: Header=BB0_6 Depth=1 sxtw x8, w21 add x24, x8, #1 sbfiz x25, x21, #2, #32 LBB0_9: ; Parent Loop BB0_6 Depth=1 ; => This Inner Loop Header: Depth=2 add x0, x19, x25 add x1, sp, #12 bl _cmp_points sub x24, x24, #1 sub w21, w21, #1 sub x25, x25, #4 cmp x0, #0 b.gt LBB0_9 ; %bb.10: ; in Loop: Header=BB0_6 Depth=1 cmp x23, x24 b.le LBB0_5 ; %bb.11: ; in Loop: Header=BB0_6 Depth=1 sub w22, w22, #1 add w21, w21, #1 cmp w22, w21 b.le LBB0_6 LBB0_12: add x0, x19, w22, sxtw #2 sub w1, w20, w22 bl _sort_points mov x0, x19 mov x1, x21 bl _sort_points LBB0_13: 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 .cfi_endproc ; -- End function .no_dead_strip _sort_points .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function process_ifname _process_ifname: ## @process_ifname .cfi_startproc ## %bb.0: 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_files@GOTPCREL(%rip), %r14 movq (%r14), %r12 movq _ifname@GOTPCREL(%rip), %r15 movq (%r15), %rdi callq _ARRAY_SIZE cmpq %rax, %r12 jge LBB0_1 ## %bb.2: movq (%r15), %rax movq (%r14), %rcx leaq 1(%rcx), %rdx movq %rdx, (%r14) movq %rbx, (%rax,%rcx,8) xorl %eax, %eax jmp LBB0_3 LBB0_1: leaq L_.str(%rip), %rdi callq _ERR movl $-1, %eax LBB0_3: popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _num_files,8,3 ## @num_files .comm _ifname,8,3 ## @ifname .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "too many input files specified" .no_dead_strip _process_ifname .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function process_ifname _process_ifname: ; @process_ifname .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x19, x0 Lloh0: adrp x20, _num_files@GOTPAGE Lloh1: ldr x20, [x20, _num_files@GOTPAGEOFF] ldr x22, [x20] Lloh2: adrp x21, _ifname@GOTPAGE Lloh3: ldr x21, [x21, _ifname@GOTPAGEOFF] ldr x0, [x21] bl _ARRAY_SIZE cmp x22, x0 b.ge LBB0_2 ; %bb.1: mov w0, #0 ; =0x0 ldr x8, [x21] ldr x9, [x20] add x10, x9, #1 str x10, [x20] str x19, [x8, x9, lsl #3] b LBB0_3 LBB0_2: Lloh4: adrp x0, l_.str@PAGE Lloh5: add x0, x0, l_.str@PAGEOFF bl _ERR mov w0, #-1 ; =0xffffffff LBB0_3: ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret .loh AdrpLdrGot Lloh2, Lloh3 .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpAdd Lloh4, Lloh5 .cfi_endproc ; -- End function .comm _num_files,8,3 ; @num_files .comm _ifname,8,3 ; @ifname .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "too many input files specified" .no_dead_strip _process_ifname .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _uconv_u16tou8 ## -- Begin function uconv_u16tou8 .p2align 4, 0x90 _uconv_u16tou8: ## @uconv_u16tou8 .cfi_startproc ## %bb.0: 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, %rax orq %rsi, %rax jne LBB0_2 LBB0_1: movq _EILSEQ@GOTPCREL(%rip), %rax jmp LBB0_42 LBB0_2: movq %rsi, %rbx testq %rdx, %rdx setne %al testq %rcx, %rcx setne %sil testb %sil, %al jne LBB0_4 LBB0_3: movq _E2BIG@GOTPCREL(%rip), %rax jmp LBB0_42 LBB0_4: movq %rdi, -72(%rbp) ## 8-byte Spill movq %rdx, -64(%rbp) ## 8-byte Spill movq %rcx, -56(%rbp) ## 8-byte Spill leaq -44(%rbp), %rsi leaq -92(%rbp), %rdx movl %r8d, %r14d movl %r8d, %edi callq _check_endian testq %rax, %rax je LBB0_6 ## %bb.5: movq _EBADF@GOTPCREL(%rip), %rax LBB0_42: movl (%rax), %eax LBB0_43: ## kill: def $eax killed $eax killed $rax addq $56, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_6: movq _UCONV_IGNORE_NULL@GOTPCREL(%rip), %rax movl (%rax), %eax orl %r14d, %eax movl %eax, -76(%rbp) ## 4-byte Spill movq _UCONV_IN_ACCEPT_BOM@GOTPCREL(%rip), %rax testl %r14d, (%rax) je LBB0_7 ## %bb.8: movq (%rbx), %rsi leaq -44(%rbp), %rdx movq -72(%rbp), %rdi ## 8-byte Reload callq _check_bom16 xorl %r13d, %r13d negq %rax sbbq %r13, %r13 jmp LBB0_9 LBB0_7: xorl %r13d, %r13d LBB0_9: movq -56(%rbp), %rcx ## 8-byte Reload movq -64(%rbp), %rdx ## 8-byte Reload movq _UCONV_IN_NAT_ENDIAN@GOTPCREL(%rip), %rax movl (%rax), %eax andl %eax, -44(%rbp) xorl %eax, %eax cmpq (%rbx), %r13 jae LBB0_10 ## %bb.12: xorl %r12d, %r12d movq _UCONV_U16_HI_MIN@GOTPCREL(%rip), %r15 movq _UCONV_U16_HI_MAX@GOTPCREL(%rip), %r11 xorl %r10d, %r10d xorl %r13d, %r13d movq -72(%rbp), %rsi ## 8-byte Reload movq %rbx, -88(%rbp) ## 8-byte Spill jmp LBB0_13 LBB0_38: ## in Loop: Header=BB0_13 Depth=1 xorl %eax, %eax LBB0_39: ## in Loop: Header=BB0_13 Depth=1 incq %r13 movl %eax, %r12d cmpq (%rbx), %r13 jae LBB0_40 LBB0_13: ## =>This Inner Loop Header: Depth=1 movq (%rsi,%r13,8), %rax testq %rax, %rax jne LBB0_16 ## %bb.14: ## in Loop: Header=BB0_13 Depth=1 cmpl $0, -76(%rbp) ## 4-byte Folded Reload je LBB0_15 LBB0_16: ## in Loop: Header=BB0_13 Depth=1 cmpl $0, -44(%rbp) jne LBB0_18 ## %bb.17: ## in Loop: Header=BB0_13 Depth=1 movq %rax, %rdi movq %r10, %r14 movq %r11, %rbx callq _BSWAP_16 movq %rbx, %r11 movq -88(%rbp), %rbx ## 8-byte Reload movq %r14, %r10 movq -72(%rbp), %rsi ## 8-byte Reload movq -64(%rbp), %rdx ## 8-byte Reload movq -56(%rbp), %rcx ## 8-byte Reload LBB0_18: ## in Loop: Header=BB0_13 Depth=1 movl (%r15), %edi cmpl %eax, %edi jg LBB0_21 ## %bb.19: ## in Loop: Header=BB0_13 Depth=1 cmpl %eax, (%r11) jl LBB0_21 ## %bb.20: ## in Loop: Header=BB0_13 Depth=1 testl %r12d, %r12d je LBB0_39 jmp LBB0_1 .p2align 4, 0x90 LBB0_21: ## in Loop: Header=BB0_13 Depth=1 movl %eax, %r8d movq _UCONV_U16_LO_MIN@GOTPCREL(%rip), %r14 subl (%r14), %r8d jl LBB0_25 ## %bb.22: ## in Loop: Header=BB0_13 Depth=1 movq _UCONV_U16_LO_MAX@GOTPCREL(%rip), %r14 cmpl %eax, (%r14) jl LBB0_25 ## %bb.23: ## in Loop: Header=BB0_13 Depth=1 testl %r12d, %r12d je LBB0_1 ## %bb.24: ## in Loop: Header=BB0_13 Depth=1 subl %edi, %r12d movq _UCONV_U16_BIT_SHIFT@GOTPCREL(%rip), %rax imull (%rax), %r12d addl %r12d, %r8d movq _UCONV_U16_BIT_MASK@GOTPCREL(%rip), %rax andl (%rax), %r8d movq _UCONV_U16_START@GOTPCREL(%rip), %rax subl (%rax), %r8d movl %r8d, %eax jmp LBB0_26 LBB0_25: ## in Loop: Header=BB0_13 Depth=1 testl %r12d, %r12d jne LBB0_1 LBB0_26: ## in Loop: Header=BB0_13 Depth=1 movq _UCONV_U8_ONE_BYTE@GOTPCREL(%rip), %rdi cmpl (%rdi), %eax jle LBB0_27 ## %bb.29: ## in Loop: Header=BB0_13 Depth=1 movq _UCONV_U8_TWO_BYTES@GOTPCREL(%rip), %rdi cmpl (%rdi), %eax jle LBB0_30 ## %bb.32: ## in Loop: Header=BB0_13 Depth=1 movq _UCONV_U8_THREE_BYTES@GOTPCREL(%rip), %rdi cmpl (%rdi), %eax jle LBB0_33 ## %bb.35: ## in Loop: Header=BB0_13 Depth=1 movq _UCONV_U8_FOUR_BYTES@GOTPCREL(%rip), %rdi cmpl (%rdi), %eax jg LBB0_1 ## %bb.36: ## in Loop: Header=BB0_13 Depth=1 leaq 3(%r10), %rdi cmpq (%rcx), %rdi jae LBB0_3 ## %bb.37: ## in Loop: Header=BB0_13 Depth=1 movl %eax, %edi shrl $18, %edi andl $7, %edi orl $240, %edi movq %rdi, (%rdx,%r10,8) movl %eax, %edi shrl $12, %edi andl $63, %edi orl $128, %edi movq %rdi, 8(%rdx,%r10,8) movl %eax, %edi shrl $6, %edi andl $63, %edi orl $128, %edi movq %rdi, 16(%rdx,%r10,8) andl $63, %eax orl $128, %eax movq %rax, 24(%rdx,%r10,8) addq $4, %r10 jmp LBB0_38 LBB0_27: ## in Loop: Header=BB0_13 Depth=1 cmpq (%rcx), %r10 jae LBB0_3 ## %bb.28: ## in Loop: Header=BB0_13 Depth=1 cltq movq %rax, (%rdx,%r10,8) incq %r10 jmp LBB0_38 LBB0_30: ## in Loop: Header=BB0_13 Depth=1 leaq 1(%r10), %rdi cmpq (%rcx), %rdi jae LBB0_3 ## %bb.31: ## in Loop: Header=BB0_13 Depth=1 movl %eax, %edi shrl $6, %edi andl $31, %edi orl $192, %edi movq %rdi, (%rdx,%r10,8) andl $63, %eax orl $128, %eax movq %rax, 8(%rdx,%r10,8) addq $2, %r10 jmp LBB0_38 LBB0_33: ## in Loop: Header=BB0_13 Depth=1 leaq 2(%r10), %rdi cmpq (%rcx), %rdi jae LBB0_3 ## %bb.34: ## in Loop: Header=BB0_13 Depth=1 movl %eax, %edi shrl $12, %edi andl $15, %edi orl $224, %edi movq %rdi, (%rdx,%r10,8) movl %eax, %edi shrl $6, %edi andl $63, %edi orl $128, %edi movq %rdi, 8(%rdx,%r10,8) andl $63, %eax orl $128, %eax movq %rax, 16(%rdx,%r10,8) addq $3, %r10 jmp LBB0_38 LBB0_10: xorl %r10d, %r10d LBB0_11: movq %r13, (%rbx) movq %r10, (%rcx) jmp LBB0_43 LBB0_15: movl %r12d, %eax LBB0_40: testl %eax, %eax movl $0, %eax je LBB0_11 ## %bb.41: movq _EINVAL@GOTPCREL(%rip), %rax jmp LBB0_42 .cfi_endproc ## -- End function .comm _EILSEQ,4,2 ## @EILSEQ .comm _E2BIG,4,2 ## @E2BIG .comm _EBADF,4,2 ## @EBADF .comm _UCONV_IGNORE_NULL,4,2 ## @UCONV_IGNORE_NULL .comm _UCONV_IN_ACCEPT_BOM,4,2 ## @UCONV_IN_ACCEPT_BOM .comm _UCONV_IN_NAT_ENDIAN,4,2 ## @UCONV_IN_NAT_ENDIAN .comm _UCONV_U16_HI_MIN,4,2 ## @UCONV_U16_HI_MIN .comm _UCONV_U16_HI_MAX,4,2 ## @UCONV_U16_HI_MAX .comm _UCONV_U16_LO_MIN,4,2 ## @UCONV_U16_LO_MIN .comm _UCONV_U16_LO_MAX,4,2 ## @UCONV_U16_LO_MAX .comm _UCONV_U16_BIT_SHIFT,4,2 ## @UCONV_U16_BIT_SHIFT .comm _UCONV_U16_BIT_MASK,4,2 ## @UCONV_U16_BIT_MASK .comm _UCONV_U16_START,4,2 ## @UCONV_U16_START .comm _UCONV_U8_ONE_BYTE,4,2 ## @UCONV_U8_ONE_BYTE .comm _UCONV_U8_TWO_BYTES,4,2 ## @UCONV_U8_TWO_BYTES .comm _UCONV_U8_THREE_BYTES,4,2 ## @UCONV_U8_THREE_BYTES .comm _UCONV_U8_FOUR_BYTES,4,2 ## @UCONV_U8_FOUR_BYTES .comm _EINVAL,4,2 ## @EINVAL .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 uconv_u16tou8 lCPI0_0: .long 4294967284 ; 0xfffffff4 .long 4294967290 ; 0xfffffffa lCPI0_1: .long 15 ; 0xf .long 63 ; 0x3f lCPI0_2: .long 224 ; 0xe0 .long 128 ; 0x80 lCPI0_3: .long 4294967278 ; 0xffffffee .long 4294967284 ; 0xfffffff4 lCPI0_4: .long 7 ; 0x7 .long 63 ; 0x3f lCPI0_5: .long 240 ; 0xf0 .long 128 ; 0x80 .section __TEXT,__text,regular,pure_instructions .globl _uconv_u16tou8 .p2align 2 _uconv_u16tou8: ; @uconv_u16tou8 .cfi_startproc ; %bb.0: orr x8, x0, x1 cbnz x8, LBB0_2 ; %bb.1: Lloh0: adrp x8, _EILSEQ@GOTPAGE Lloh1: ldr x8, [x8, _EILSEQ@GOTPAGEOFF] Lloh2: ldr w0, [x8] ret LBB0_2: cbz x2, LBB0_7 ; %bb.3: cbz x3, LBB0_7 ; %bb.4: sub sp, sp, #160 stp d13, d12, [sp, #16] ; 16-byte Folded Spill stp d11, d10, [sp, #32] ; 16-byte Folded Spill stp d9, d8, [sp, #48] ; 16-byte Folded Spill 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 .cfi_offset b8, -104 .cfi_offset b9, -112 .cfi_offset b10, -120 .cfi_offset b11, -128 .cfi_offset b12, -136 .cfi_offset b13, -144 mov x19, x1 mov x20, x0 mov x21, x2 mov x22, x3 add x1, sp, #12 add x2, sp, #8 mov x23, x4 mov x0, x4 bl _check_endian cbz x0, LBB0_8 ; %bb.5: Lloh3: adrp x8, _EBADF@GOTPAGE Lloh4: ldr x8, [x8, _EBADF@GOTPAGEOFF] LBB0_6: ldr w0, [x8] b LBB0_38 LBB0_7: Lloh5: adrp x8, _E2BIG@GOTPAGE Lloh6: ldr x8, [x8, _E2BIG@GOTPAGEOFF] Lloh7: ldr w0, [x8] ret LBB0_8: Lloh8: adrp x8, _UCONV_IGNORE_NULL@GOTPAGE Lloh9: ldr x8, [x8, _UCONV_IGNORE_NULL@GOTPAGEOFF] Lloh10: ldr w27, [x8] Lloh11: adrp x8, _UCONV_IN_ACCEPT_BOM@GOTPAGE Lloh12: ldr x8, [x8, _UCONV_IN_ACCEPT_BOM@GOTPAGEOFF] Lloh13: ldr w8, [x8] tst w8, w23 b.eq LBB0_10 ; %bb.9: ldr x1, [x19] add x2, sp, #12 mov x0, x20 bl _check_bom16 mov x10, x23 cmp x0, #0 csetm x23, ne b LBB0_11 LBB0_10: mov x10, x23 mov x23, #0 ; =0x0 LBB0_11: mov x8, x22 mov x9, x21 Lloh14: adrp x11, _UCONV_IN_NAT_ENDIAN@GOTPAGE Lloh15: ldr x11, [x11, _UCONV_IN_NAT_ENDIAN@GOTPAGEOFF] Lloh16: ldr w11, [x11] ldr w12, [sp, #12] and w11, w12, w11 str w11, [sp, #12] ldr x11, [x19] cmp x23, x11 b.hs LBB0_36 ; %bb.12: mov w28, #0 ; =0x0 mov x24, #0 ; =0x0 mov x23, #0 ; =0x0 Lloh17: adrp x25, _UCONV_U16_HI_MIN@GOTPAGE Lloh18: ldr x25, [x25, _UCONV_U16_HI_MIN@GOTPAGEOFF] Lloh19: adrp x26, _UCONV_U16_HI_MAX@GOTPAGE Lloh20: ldr x26, [x26, _UCONV_U16_HI_MAX@GOTPAGEOFF] orr w27, w27, w10 Lloh21: adrp x10, lCPI0_3@PAGE Lloh22: ldr d8, [x10, lCPI0_3@PAGEOFF] Lloh23: adrp x10, lCPI0_4@PAGE Lloh24: ldr d9, [x10, lCPI0_4@PAGEOFF] Lloh25: adrp x10, lCPI0_5@PAGE Lloh26: ldr d10, [x10, lCPI0_5@PAGEOFF] Lloh27: adrp x10, lCPI0_0@PAGE Lloh28: ldr d11, [x10, lCPI0_0@PAGEOFF] Lloh29: adrp x10, lCPI0_1@PAGE Lloh30: ldr d12, [x10, lCPI0_1@PAGEOFF] Lloh31: adrp x10, lCPI0_2@PAGE Lloh32: ldr d13, [x10, lCPI0_2@PAGEOFF] mov x10, x20 b LBB0_15 LBB0_13: ; in Loop: Header=BB0_15 Depth=1 cbnz w28, LBB0_39 LBB0_14: ; in Loop: Header=BB0_15 Depth=1 add x23, x23, #1 ldr x11, [x19] mov x28, x0 cmp x23, x11 b.hs LBB0_41 LBB0_15: ; =>This Inner Loop Header: Depth=1 ldr x0, [x10, x23, lsl #3] cmp x0, #0 ccmp w27, #0, #0, eq b.eq LBB0_40 ; %bb.16: ; in Loop: Header=BB0_15 Depth=1 ldr w11, [sp, #12] cbnz w11, LBB0_18 ; %bb.17: ; in Loop: Header=BB0_15 Depth=1 bl _BSWAP_16 mov x9, x21 mov x8, x22 mov x10, x20 LBB0_18: ; in Loop: Header=BB0_15 Depth=1 ldr w11, [x25] ldr w12, [x26] cmp w11, w0 ccmp w12, w0, #8, le b.ge LBB0_13 ; %bb.19: ; in Loop: Header=BB0_15 Depth=1 Lloh33: adrp x12, _UCONV_U16_LO_MIN@GOTPAGE Lloh34: ldr x12, [x12, _UCONV_U16_LO_MIN@GOTPAGEOFF] Lloh35: ldr w12, [x12] Lloh36: adrp x13, _UCONV_U16_LO_MAX@GOTPAGE Lloh37: ldr x13, [x13, _UCONV_U16_LO_MAX@GOTPAGEOFF] Lloh38: ldr w13, [x13] subs w12, w0, w12 ccmp w13, w0, #8, ge b.ge LBB0_21 ; %bb.20: ; in Loop: Header=BB0_15 Depth=1 cbz w28, LBB0_23 b LBB0_39 LBB0_21: ; in Loop: Header=BB0_15 Depth=1 cbz w28, LBB0_39 ; %bb.22: ; in Loop: Header=BB0_15 Depth=1 sub w11, w28, w11 Lloh39: adrp x13, _UCONV_U16_BIT_SHIFT@GOTPAGE Lloh40: ldr x13, [x13, _UCONV_U16_BIT_SHIFT@GOTPAGEOFF] Lloh41: ldr w13, [x13] madd w11, w13, w11, w12 Lloh42: adrp x12, _UCONV_U16_BIT_MASK@GOTPAGE Lloh43: ldr x12, [x12, _UCONV_U16_BIT_MASK@GOTPAGEOFF] Lloh44: ldr w12, [x12] and w11, w11, w12 Lloh45: adrp x12, _UCONV_U16_START@GOTPAGE Lloh46: ldr x12, [x12, _UCONV_U16_START@GOTPAGEOFF] Lloh47: ldr w12, [x12] sub w0, w11, w12 LBB0_23: ; in Loop: Header=BB0_15 Depth=1 Lloh48: adrp x11, _UCONV_U8_ONE_BYTE@GOTPAGE Lloh49: ldr x11, [x11, _UCONV_U8_ONE_BYTE@GOTPAGEOFF] Lloh50: ldr w11, [x11] cmp w0, w11 b.le LBB0_29 ; %bb.24: ; in Loop: Header=BB0_15 Depth=1 Lloh51: adrp x11, _UCONV_U8_TWO_BYTES@GOTPAGE Lloh52: ldr x11, [x11, _UCONV_U8_TWO_BYTES@GOTPAGEOFF] Lloh53: ldr w11, [x11] cmp w0, w11 b.le LBB0_31 ; %bb.25: ; in Loop: Header=BB0_15 Depth=1 Lloh54: adrp x11, _UCONV_U8_THREE_BYTES@GOTPAGE Lloh55: ldr x11, [x11, _UCONV_U8_THREE_BYTES@GOTPAGEOFF] Lloh56: ldr w11, [x11] cmp w0, w11 b.le LBB0_33 ; %bb.26: ; in Loop: Header=BB0_15 Depth=1 Lloh57: adrp x11, _UCONV_U8_FOUR_BYTES@GOTPAGE Lloh58: ldr x11, [x11, _UCONV_U8_FOUR_BYTES@GOTPAGEOFF] Lloh59: ldr w11, [x11] cmp w0, w11 b.gt LBB0_39 ; %bb.27: ; in Loop: Header=BB0_15 Depth=1 add x11, x24, #3 ldr x12, [x8] cmp x11, x12 b.hs LBB0_43 ; %bb.28: ; in Loop: Header=BB0_15 Depth=1 dup.2s v0, w0 ushl.2s v0, v0, v8 mov w11, #128 ; =0x80 bfxil w11, w0, #6, #6 mov w12, #128 ; =0x80 bfxil w12, w0, #0, #6 add x13, x9, x24, lsl #3 and.8b v0, v0, v9 orr.8b v0, v0, v10 ushll.2d v0, v0, #0 str q0, [x13] add x24, x24, #4 stp x11, x12, [x13, #16] b LBB0_35 LBB0_29: ; in Loop: Header=BB0_15 Depth=1 ldr x11, [x8] cmp x24, x11 b.hs LBB0_43 ; %bb.30: ; in Loop: Header=BB0_15 Depth=1 ; kill: def $w0 killed $w0 killed $x0 def $x0 sxtw x11, w0 str x11, [x9, x24, lsl #3] add x24, x24, #1 b LBB0_35 LBB0_31: ; in Loop: Header=BB0_15 Depth=1 add x11, x24, #1 ldr x12, [x8] cmp x11, x12 b.hs LBB0_43 ; %bb.32: ; in Loop: Header=BB0_15 Depth=1 mov w12, #192 ; =0xc0 bfxil w12, w0, #6, #5 str x12, [x9, x24, lsl #3] mov w12, #128 ; =0x80 bfxil w12, w0, #0, #6 add x24, x24, #2 str x12, [x9, x11, lsl #3] b LBB0_35 LBB0_33: ; in Loop: Header=BB0_15 Depth=1 add x11, x24, #2 ldr x12, [x8] cmp x11, x12 b.hs LBB0_43 ; %bb.34: ; in Loop: Header=BB0_15 Depth=1 dup.2s v0, w0 ushl.2s v0, v0, v11 add x11, x9, x24, lsl #3 and.8b v0, v0, v12 orr.8b v0, v0, v13 ushll.2d v0, v0, #0 str q0, [x11] mov w12, #128 ; =0x80 bfxil w12, w0, #0, #6 add x24, x24, #3 str x12, [x11, #16] LBB0_35: ; in Loop: Header=BB0_15 Depth=1 mov w0, #0 ; =0x0 b LBB0_14 LBB0_36: mov x24, #0 ; =0x0 LBB0_37: mov w0, #0 ; =0x0 str x23, [x19] str x24, [x8] LBB0_38: 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 ldp d9, d8, [sp, #48] ; 16-byte Folded Reload ldp d11, d10, [sp, #32] ; 16-byte Folded Reload ldp d13, d12, [sp, #16] ; 16-byte Folded Reload add sp, sp, #160 ret LBB0_39: Lloh60: adrp x8, _EILSEQ@GOTPAGE Lloh61: ldr x8, [x8, _EILSEQ@GOTPAGEOFF] b LBB0_6 LBB0_40: mov x0, x28 LBB0_41: cbz w0, LBB0_37 ; %bb.42: Lloh62: adrp x8, _EINVAL@GOTPAGE Lloh63: ldr x8, [x8, _EINVAL@GOTPAGEOFF] b LBB0_6 LBB0_43: Lloh64: adrp x8, _E2BIG@GOTPAGE Lloh65: ldr x8, [x8, _E2BIG@GOTPAGEOFF] b LBB0_6 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGot Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7 .loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13 .loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10 .loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16 .loh AdrpLdr Lloh31, Lloh32 .loh AdrpAdrp Lloh29, Lloh31 .loh AdrpLdr Lloh29, Lloh30 .loh AdrpAdrp Lloh27, Lloh29 .loh AdrpLdr Lloh27, Lloh28 .loh AdrpAdrp Lloh25, Lloh27 .loh AdrpLdr Lloh25, Lloh26 .loh AdrpAdrp Lloh23, Lloh25 .loh AdrpLdr Lloh23, Lloh24 .loh AdrpAdrp Lloh21, Lloh23 .loh AdrpLdr Lloh21, Lloh22 .loh AdrpLdrGot Lloh19, Lloh20 .loh AdrpLdrGot Lloh17, Lloh18 .loh AdrpLdrGotLdr Lloh36, Lloh37, Lloh38 .loh AdrpLdrGotLdr Lloh33, Lloh34, Lloh35 .loh AdrpLdrGotLdr Lloh45, Lloh46, Lloh47 .loh AdrpLdrGotLdr Lloh42, Lloh43, Lloh44 .loh AdrpLdrGotLdr Lloh39, Lloh40, Lloh41 .loh AdrpLdrGotLdr Lloh48, Lloh49, Lloh50 .loh AdrpLdrGotLdr Lloh51, Lloh52, Lloh53 .loh AdrpLdrGotLdr Lloh54, Lloh55, Lloh56 .loh AdrpLdrGotLdr Lloh57, Lloh58, Lloh59 .loh AdrpLdrGot Lloh60, Lloh61 .loh AdrpLdrGot Lloh62, Lloh63 .loh AdrpLdrGot Lloh64, Lloh65 .cfi_endproc ; -- End function .comm _EILSEQ,4,2 ; @EILSEQ .comm _E2BIG,4,2 ; @E2BIG .comm _EBADF,4,2 ; @EBADF .comm _UCONV_IGNORE_NULL,4,2 ; @UCONV_IGNORE_NULL .comm _UCONV_IN_ACCEPT_BOM,4,2 ; @UCONV_IN_ACCEPT_BOM .comm _UCONV_IN_NAT_ENDIAN,4,2 ; @UCONV_IN_NAT_ENDIAN .comm _UCONV_U16_HI_MIN,4,2 ; @UCONV_U16_HI_MIN .comm _UCONV_U16_HI_MAX,4,2 ; @UCONV_U16_HI_MAX .comm _UCONV_U16_LO_MIN,4,2 ; @UCONV_U16_LO_MIN .comm _UCONV_U16_LO_MAX,4,2 ; @UCONV_U16_LO_MAX .comm _UCONV_U16_BIT_SHIFT,4,2 ; @UCONV_U16_BIT_SHIFT .comm _UCONV_U16_BIT_MASK,4,2 ; @UCONV_U16_BIT_MASK .comm _UCONV_U16_START,4,2 ; @UCONV_U16_START .comm _UCONV_U8_ONE_BYTE,4,2 ; @UCONV_U8_ONE_BYTE .comm _UCONV_U8_TWO_BYTES,4,2 ; @UCONV_U8_TWO_BYTES .comm _UCONV_U8_THREE_BYTES,4,2 ; @UCONV_U8_THREE_BYTES .comm _UCONV_U8_FOUR_BYTES,4,2 ; @UCONV_U8_FOUR_BYTES .comm _EINVAL,4,2 ; @EINVAL .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function enum_range_internal _enum_range_internal: ## @enum_range_internal .cfi_startproc ## %bb.0: 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, %r13 movq _Anum_pg_enum_enumtypid@GOTPCREL(%rip), %rax movl (%rax), %r14d movq _BTEqualStrategyNumber@GOTPCREL(%rip), %rax movl (%rax), %r15d movq _F_OIDEQ@GOTPCREL(%rip), %rax movl (%rax), %r12d movq %rdi, -72(%rbp) ## 8-byte Spill callq _ObjectIdGetDatum leaq -92(%rbp), %rbx movq %rbx, %rdi movl %r14d, %esi movl %r15d, %edx movl %r12d, %ecx movl %eax, %r8d callq _ScanKeyInit movq _EnumRelationId@GOTPCREL(%rip), %rax movl (%rax), %edi movq _AccessShareLock@GOTPCREL(%rip), %r14 movl (%r14), %esi callq _table_open movl %eax, %r15d movq _EnumTypIdSortOrderIndexId@GOTPCREL(%rip), %rax movl (%rax), %edi movl (%r14), %esi callq _index_open xorl %r12d, %r12d movl %r15d, -64(%rbp) ## 4-byte Spill movl %r15d, %edi movl %eax, -60(%rbp) ## 4-byte Spill movl %eax, %esi xorl %edx, %edx movl $1, %ecx movq %rbx, %r8 callq _systable_beginscan_ordered movl %eax, %r14d movl $256, %edi ## imm = 0x100 callq _palloc movq %rax, -56(%rbp) ## 8-byte Spill movq %r13, -80(%rbp) ## 8-byte Spill movq %r13, %rdi callq _OidIsValid movq %rax, %rbx movq _ForwardScanDirection@GOTPCREL(%rip), %rax movl (%rax), %esi movl %r14d, -44(%rbp) ## 4-byte Spill movl %r14d, %edi callq _systable_getnext_ordered movl %eax, %r14d movl %eax, %edi callq _HeapTupleIsValid testq %rax, %rax je LBB0_10 ## %bb.1: xorl %r13d, %r13d testq %rbx, %rbx sete %r13b movl $64, %r15d xorl %r12d, %r12d jmp LBB0_2 .p2align 4, 0x90 LBB0_4: ## in Loop: Header=BB0_2 Depth=1 xorl %r13d, %r13d LBB0_9: ## in Loop: Header=BB0_2 Depth=1 movq -88(%rbp), %rdi ## 8-byte Reload callq _OidIsValid movq _ForwardScanDirection@GOTPCREL(%rip), %rax movl (%rax), %esi movl -44(%rbp), %edi ## 4-byte Reload callq _systable_getnext_ordered movl %eax, %r14d movl %eax, %edi callq _HeapTupleIsValid testq %rax, %rax je LBB0_10 LBB0_2: ## =>This Inner Loop Header: Depth=1 movl %r14d, %edi callq _GETSTRUCT movq (%rax), %rbx testl %r13d, %r13d jne LBB0_5 ## %bb.3: ## in Loop: Header=BB0_2 Depth=1 cmpq -80(%rbp), %rbx ## 8-byte Folded Reload jne LBB0_4 LBB0_5: ## in Loop: Header=BB0_2 Depth=1 movl %r14d, %edi callq _check_safe_enum_use cmpl %r15d, %r12d jge LBB0_7 ## %bb.6: ## in Loop: Header=BB0_2 Depth=1 movq -56(%rbp), %r13 ## 8-byte Reload jmp LBB0_8 .p2align 4, 0x90 LBB0_7: ## in Loop: Header=BB0_2 Depth=1 leal (%r15,%r15), %r14d shll $3, %r15d movq -56(%rbp), %rdi ## 8-byte Reload movl %r15d, %esi callq _repalloc movq %rax, %r13 movl %r14d, %r15d LBB0_8: ## in Loop: Header=BB0_2 Depth=1 movq %rbx, %rdi callq _ObjectIdGetDatum movslq %r12d, %rcx incl %r12d movq %r13, -56(%rbp) ## 8-byte Spill movl %eax, (%r13,%rcx,4) movl $1, %r13d jmp LBB0_9 LBB0_10: movl -44(%rbp), %edi ## 4-byte Reload callq _systable_endscan_ordered movq _AccessShareLock@GOTPCREL(%rip), %rbx movl (%rbx), %esi movl -60(%rbp), %edi ## 4-byte Reload callq _index_close movl (%rbx), %esi movl -64(%rbp), %edi ## 4-byte Reload callq _table_close movq -56(%rbp), %r14 ## 8-byte Reload movq %r14, %rdi movl %r12d, %esi movq -72(%rbp), %rdx ## 8-byte Reload movl $8, %ecx movl $1, %r8d movl $105, %r9d callq _construct_array movq %rax, %rbx movq %r14, %rdi callq _pfree movq %rbx, %rax addq $56, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _Anum_pg_enum_enumtypid,4,2 ## @Anum_pg_enum_enumtypid .comm _BTEqualStrategyNumber,4,2 ## @BTEqualStrategyNumber .comm _F_OIDEQ,4,2 ## @F_OIDEQ .comm _EnumRelationId,4,2 ## @EnumRelationId .comm _AccessShareLock,4,2 ## @AccessShareLock .comm _EnumTypIdSortOrderIndexId,4,2 ## @EnumTypIdSortOrderIndexId .comm _ForwardScanDirection,4,2 ## @ForwardScanDirection .no_dead_strip _enum_range_internal .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function enum_range_internal _enum_range_internal: ; @enum_range_internal .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 x20, x2 mov x21, x1 Lloh0: adrp x8, _Anum_pg_enum_enumtypid@GOTPAGE Lloh1: ldr x8, [x8, _Anum_pg_enum_enumtypid@GOTPAGEOFF] Lloh2: ldr w22, [x8] Lloh3: adrp x8, _BTEqualStrategyNumber@GOTPAGE Lloh4: ldr x8, [x8, _BTEqualStrategyNumber@GOTPAGEOFF] Lloh5: ldr w23, [x8] Lloh6: adrp x8, _F_OIDEQ@GOTPAGE Lloh7: ldr x8, [x8, _F_OIDEQ@GOTPAGEOFF] Lloh8: ldr w24, [x8] str x0, [sp, #16] ; 8-byte Folded Spill bl _ObjectIdGetDatum mov x4, x0 add x0, sp, #28 mov x1, x22 mov x2, x23 mov x3, x24 bl _ScanKeyInit Lloh9: adrp x8, _EnumRelationId@GOTPAGE Lloh10: ldr x8, [x8, _EnumRelationId@GOTPAGEOFF] Lloh11: ldr w0, [x8] Lloh12: adrp x19, _AccessShareLock@GOTPAGE Lloh13: ldr x19, [x19, _AccessShareLock@GOTPAGEOFF] ldr w1, [x19] bl _table_open mov x22, x0 Lloh14: adrp x8, _EnumTypIdSortOrderIndexId@GOTPAGE Lloh15: ldr x8, [x8, _EnumTypIdSortOrderIndexId@GOTPAGEOFF] Lloh16: ldr w0, [x8] ldr w1, [x19] bl _index_open mov x1, x0 add x4, sp, #28 stp w1, w22, [sp, #8] ; 8-byte Folded Spill mov x0, x22 mov x2, #0 ; =0x0 mov w3, #1 ; =0x1 bl _systable_beginscan_ordered mov x25, x0 mov w0, #256 ; =0x100 bl _palloc mov x24, x0 mov x0, x21 bl _OidIsValid mov x28, x0 Lloh17: adrp x19, _ForwardScanDirection@GOTPAGE Lloh18: ldr x19, [x19, _ForwardScanDirection@GOTPAGEOFF] ldr w1, [x19] mov x0, x25 bl _systable_getnext_ordered mov x27, x0 bl _HeapTupleIsValid mov w26, #0 ; =0x0 cbz x0, LBB0_9 ; %bb.1: cmp x28, #0 cset w23, eq mov w22, #64 ; =0x40 b LBB0_4 LBB0_2: ; in Loop: Header=BB0_4 Depth=1 mov w23, #0 ; =0x0 LBB0_3: ; in Loop: Header=BB0_4 Depth=1 mov x0, x20 bl _OidIsValid ldr w1, [x19] mov x0, x25 bl _systable_getnext_ordered mov x27, x0 bl _HeapTupleIsValid cbz x0, LBB0_9 LBB0_4: ; =>This Inner Loop Header: Depth=1 mov x0, x27 bl _GETSTRUCT ldr x28, [x0] cbnz w23, LBB0_6 ; %bb.5: ; in Loop: Header=BB0_4 Depth=1 cmp x28, x21 b.ne LBB0_2 LBB0_6: ; in Loop: Header=BB0_4 Depth=1 mov x0, x27 bl _check_safe_enum_use cmp w26, w22 b.lt LBB0_8 ; %bb.7: ; in Loop: Header=BB0_4 Depth=1 lsl w23, w22, #1 lsl w1, w22, #3 mov x0, x24 bl _repalloc mov x24, x0 mov x22, x23 LBB0_8: ; in Loop: Header=BB0_4 Depth=1 mov x0, x28 bl _ObjectIdGetDatum str w0, [x24, w26, sxtw #2] add w26, w26, #1 mov w23, #1 ; =0x1 b LBB0_3 LBB0_9: mov x0, x25 bl _systable_endscan_ordered Lloh19: adrp x19, _AccessShareLock@GOTPAGE Lloh20: ldr x19, [x19, _AccessShareLock@GOTPAGEOFF] ldr w1, [x19] ldr w0, [sp, #8] ; 4-byte Folded Reload bl _index_close ldr w1, [x19] ldr w0, [sp, #12] ; 4-byte Folded Reload bl _table_close mov x0, x24 mov x1, x26 ldr x2, [sp, #16] ; 8-byte Folded Reload mov w3, #8 ; =0x8 mov w4, #1 ; =0x1 mov w5, #105 ; =0x69 bl _construct_array mov x19, x0 mov x0, x24 bl _pfree 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 AdrpLdrGot Lloh17, Lloh18 .loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16 .loh AdrpLdrGot Lloh12, Lloh13 .loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGot Lloh19, Lloh20 .cfi_endproc ; -- End function .comm _Anum_pg_enum_enumtypid,4,2 ; @Anum_pg_enum_enumtypid .comm _BTEqualStrategyNumber,4,2 ; @BTEqualStrategyNumber .comm _F_OIDEQ,4,2 ; @F_OIDEQ .comm _EnumRelationId,4,2 ; @EnumRelationId .comm _AccessShareLock,4,2 ; @AccessShareLock .comm _EnumTypIdSortOrderIndexId,4,2 ; @EnumTypIdSortOrderIndexId .comm _ForwardScanDirection,4,2 ; @ForwardScanDirection .no_dead_strip _enum_range_internal .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _filter_scan_res ## -- Begin function filter_scan_res .p2align 4, 0x90 _filter_scan_res: ## @filter_scan_res .cfi_startproc ## %bb.0: cmpq $0, (%rdi) je LBB0_1 ## %bb.9: retq 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 %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 xorl %r15d, %r15d xorl %r12d, %r12d jmp LBB0_2 .p2align 4, 0x90 LBB0_4: ## in Loop: Header=BB0_2 Depth=1 callq _os_free movq 8(%rbx), %rax movq $0, (%rax,%r12,8) LBB0_5: ## in Loop: Header=BB0_2 Depth=1 incq %r12 movq (%rbx), %rdx cmpq %rdx, %r12 ja LBB0_6 LBB0_2: ## =>This Inner Loop Header: Depth=1 movq 8(%rbx), %rax movq (%rax,%r12,8), %rax movl (%rax), %esi movq %r14, %rdi callq _wpa_supplicant_filter_bssid_match movq 8(%rbx), %rcx movq (%rcx,%r12,8), %rdi testq %rax, %rax je LBB0_4 ## %bb.3: ## in Loop: Header=BB0_2 Depth=1 movq %rdi, (%rcx,%r15,8) incq %r15 jmp LBB0_5 LBB0_6: cmpq %r15, %rdx je LBB0_8 ## %bb.7: movq _MSG_DEBUG@GOTPCREL(%rip), %rax movl (%rax), %edi addl %r15d, %edx leaq L_.str(%rip), %rsi ## kill: def $edx killed $edx killed $rdx callq _wpa_printf movq %r15, (%rbx) LBB0_8: popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _MSG_DEBUG,4,2 ## @MSG_DEBUG .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "Filtered out %d scan results" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _filter_scan_res ; -- Begin function filter_scan_res .p2align 2 _filter_scan_res: ; @filter_scan_res .cfi_startproc ; %bb.0: ldr x8, [x0] cbz x8, LBB0_2 ; %bb.1: ret 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 mov x19, x1 mov x20, x0 mov x21, #0 ; =0x0 mov x22, #0 ; =0x0 b LBB0_5 LBB0_3: ; in Loop: Header=BB0_5 Depth=1 bl _os_free ldr x8, [x19, #8] str xzr, [x8, x22, lsl #3] LBB0_4: ; in Loop: Header=BB0_5 Depth=1 add x22, x22, #1 ldr x8, [x19] cmp x22, x8 b.hi LBB0_7 LBB0_5: ; =>This Inner Loop Header: Depth=1 ldr x8, [x19, #8] ldr x8, [x8, x22, lsl #3] ldr w1, [x8] mov x0, x20 bl _wpa_supplicant_filter_bssid_match mov x8, x0 ldr x9, [x19, #8] ldr x0, [x9, x22, lsl #3] cbz x8, LBB0_3 ; %bb.6: ; in Loop: Header=BB0_5 Depth=1 str x0, [x9, x21, lsl #3] add x21, x21, #1 b LBB0_4 LBB0_7: cmp x8, x21 b.eq LBB0_9 ; %bb.8: Lloh0: adrp x9, _MSG_DEBUG@GOTPAGE Lloh1: ldr x9, [x9, _MSG_DEBUG@GOTPAGEOFF] Lloh2: ldr w0, [x9] Lloh3: adrp x1, l_.str@PAGE Lloh4: add x1, x1, l_.str@PAGEOFF add w2, w8, w21 bl _wpa_printf str x21, [x19] LBB0_9: ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret .loh AdrpAdd Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _MSG_DEBUG,4,2 ; @MSG_DEBUG .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "Filtered out %d scan results" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function bw_meter_prepare_upcall _bw_meter_prepare_upcall: ## @bw_meter_prepare_upcall .cfi_startproc ## %bb.0: 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 xorl %r15d, %r15d xorl %eax, %eax callq _MFC_LOCK_ASSERT movl (%r14), %eax movl %eax, -28(%rbp) leaq 32(%rbx), %rsi leaq -28(%rbp), %rdi callq _BW_TIMEVALDECR movq _V_bw_upcalls_n@GOTPCREL(%rip), %r14 movq (%r14), %rax movq _BW_UPCALLS_MAX@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax jl LBB0_2 ## %bb.1: xorl %eax, %eax callq _bw_upcalls_send movq (%r14), %rax LBB0_2: movq _V_bw_upcalls@GOTPCREL(%rip), %rcx movq (%rcx), %rcx leaq -1(%rax), %rdx movq %rdx, (%r14) leaq (%rax,%rax,8), %rdx leaq (%rcx,%rdx,4), %rax movq 24(%rbx), %rsi movsd 16(%rbx), %xmm0 ## xmm0 = mem[0],zero movsd (%rsi), %xmm1 ## xmm1 = mem[0],zero movlhps %xmm1, %xmm0 ## xmm0 = xmm0[0],xmm1[0] movups %xmm0, 20(%rcx,%rdx,4) movl 12(%rbx), %esi movl %esi, 16(%rcx,%rdx,4) movl -28(%rbp), %esi movl %esi, 12(%rcx,%rdx,4) movq 4(%rbx), %rsi movq %rsi, 4(%rcx,%rdx,4) movl $0, (%rcx,%rdx,4) movl (%rbx), %ecx movq _BW_METER_UNIT_PACKETS@GOTPCREL(%rip), %rdx movl (%rdx), %edx orl %ecx, %edx je LBB0_4 ## %bb.3: movq _BW_UPCALL_UNIT_PACKETS@GOTPCREL(%rip), %rdx movl (%rdx), %r15d movl %r15d, (%rax) LBB0_4: movq _BW_METER_UNIT_BYTES@GOTPCREL(%rip), %rdx testl %ecx, (%rdx) je LBB0_6 ## %bb.5: movq _BW_UPCALL_UNIT_BYTES@GOTPCREL(%rip), %rdx orl (%rdx), %r15d movl %r15d, (%rax) LBB0_6: movq _BW_METER_GEQ@GOTPCREL(%rip), %rdx testl %ecx, (%rdx) je LBB0_8 ## %bb.7: movq _BW_UPCALL_GEQ@GOTPCREL(%rip), %rdx orl (%rdx), %r15d movl %r15d, (%rax) LBB0_8: movq _BW_METER_LEQ@GOTPCREL(%rip), %rdx testl %ecx, (%rdx) je LBB0_10 ## %bb.9: movq _BW_UPCALL_LEQ@GOTPCREL(%rip), %rcx orl (%rcx), %r15d movl %r15d, (%rax) LBB0_10: addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _V_bw_upcalls_n,8,3 ## @V_bw_upcalls_n .comm _BW_UPCALLS_MAX,8,3 ## @BW_UPCALLS_MAX .comm _V_bw_upcalls,8,3 ## @V_bw_upcalls .comm _BW_METER_UNIT_PACKETS,4,2 ## @BW_METER_UNIT_PACKETS .comm _BW_UPCALL_UNIT_PACKETS,4,2 ## @BW_UPCALL_UNIT_PACKETS .comm _BW_METER_UNIT_BYTES,4,2 ## @BW_METER_UNIT_BYTES .comm _BW_UPCALL_UNIT_BYTES,4,2 ## @BW_UPCALL_UNIT_BYTES .comm _BW_METER_GEQ,4,2 ## @BW_METER_GEQ .comm _BW_UPCALL_GEQ,4,2 ## @BW_UPCALL_GEQ .comm _BW_METER_LEQ,4,2 ## @BW_METER_LEQ .comm _BW_UPCALL_LEQ,4,2 ## @BW_UPCALL_LEQ .no_dead_strip _bw_meter_prepare_upcall .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function bw_meter_prepare_upcall _bw_meter_prepare_upcall: ; @bw_meter_prepare_upcall .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 x20, x1 mov x19, x0 bl _MFC_LOCK_ASSERT ldr w8, [x20] str w8, [sp, #12] add x0, sp, #12 add x1, x19, #32 bl _BW_TIMEVALDECR Lloh0: adrp x20, _V_bw_upcalls_n@GOTPAGE Lloh1: ldr x20, [x20, _V_bw_upcalls_n@GOTPAGEOFF] ldr x8, [x20] Lloh2: adrp x9, _BW_UPCALLS_MAX@GOTPAGE Lloh3: ldr x9, [x9, _BW_UPCALLS_MAX@GOTPAGEOFF] Lloh4: ldr x9, [x9] cmp x8, x9 b.lt LBB0_2 ; %bb.1: bl _bw_upcalls_send ldr x8, [x20] LBB0_2: Lloh5: adrp x9, _V_bw_upcalls@GOTPAGE Lloh6: ldr x9, [x9, _V_bw_upcalls@GOTPAGEOFF] Lloh7: ldr x9, [x9] sub x10, x8, #1 str x10, [x20] mov w10, #36 ; =0x24 madd x8, x8, x10, x9 ldr x9, [x19, #24] ldr d0, [x9] ldr d1, [x19, #16] mov.d v1[1], v0[0] stur q1, [x8, #20] ldr w9, [x19, #12] str w9, [x8, #16] ldr w9, [sp, #12] str w9, [x8, #12] ldur d0, [x19, #4] stur d0, [x8, #4] str wzr, [x8] ldr w9, [x19] Lloh8: adrp x10, _BW_METER_UNIT_PACKETS@GOTPAGE Lloh9: ldr x10, [x10, _BW_METER_UNIT_PACKETS@GOTPAGEOFF] Lloh10: ldr w10, [x10] orr w10, w10, w9 cbz w10, LBB0_4 ; %bb.3: Lloh11: adrp x10, _BW_UPCALL_UNIT_PACKETS@GOTPAGE Lloh12: ldr x10, [x10, _BW_UPCALL_UNIT_PACKETS@GOTPAGEOFF] Lloh13: ldr w10, [x10] str w10, [x8] LBB0_4: Lloh14: adrp x11, _BW_METER_UNIT_BYTES@GOTPAGE Lloh15: ldr x11, [x11, _BW_METER_UNIT_BYTES@GOTPAGEOFF] Lloh16: ldr w11, [x11] tst w11, w9 b.eq LBB0_6 ; %bb.5: Lloh17: adrp x11, _BW_UPCALL_UNIT_BYTES@GOTPAGE Lloh18: ldr x11, [x11, _BW_UPCALL_UNIT_BYTES@GOTPAGEOFF] Lloh19: ldr w11, [x11] orr w10, w10, w11 str w10, [x8] LBB0_6: Lloh20: adrp x11, _BW_METER_GEQ@GOTPAGE Lloh21: ldr x11, [x11, _BW_METER_GEQ@GOTPAGEOFF] Lloh22: ldr w11, [x11] tst w11, w9 b.eq LBB0_8 ; %bb.7: Lloh23: adrp x11, _BW_UPCALL_GEQ@GOTPAGE Lloh24: ldr x11, [x11, _BW_UPCALL_GEQ@GOTPAGEOFF] Lloh25: ldr w11, [x11] orr w10, w10, w11 str w10, [x8] LBB0_8: Lloh26: adrp x11, _BW_METER_LEQ@GOTPAGE Lloh27: ldr x11, [x11, _BW_METER_LEQ@GOTPAGEOFF] Lloh28: ldr w11, [x11] tst w11, w9 b.eq LBB0_10 ; %bb.9: Lloh29: adrp x9, _BW_UPCALL_LEQ@GOTPAGE Lloh30: ldr x9, [x9, _BW_UPCALL_LEQ@GOTPAGEOFF] Lloh31: ldr w9, [x9] orr w9, w10, w9 str w9, [x8] LBB0_10: 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 Lloh2, Lloh3, Lloh4 .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10 .loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7 .loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13 .loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16 .loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19 .loh AdrpLdrGotLdr Lloh20, Lloh21, Lloh22 .loh AdrpLdrGotLdr Lloh23, Lloh24, Lloh25 .loh AdrpLdrGotLdr Lloh26, Lloh27, Lloh28 .loh AdrpLdrGotLdr Lloh29, Lloh30, Lloh31 .cfi_endproc ; -- End function .comm _V_bw_upcalls_n,8,3 ; @V_bw_upcalls_n .comm _BW_UPCALLS_MAX,8,3 ; @BW_UPCALLS_MAX .comm _V_bw_upcalls,8,3 ; @V_bw_upcalls .comm _BW_METER_UNIT_PACKETS,4,2 ; @BW_METER_UNIT_PACKETS .comm _BW_UPCALL_UNIT_PACKETS,4,2 ; @BW_UPCALL_UNIT_PACKETS .comm _BW_METER_UNIT_BYTES,4,2 ; @BW_METER_UNIT_BYTES .comm _BW_UPCALL_UNIT_BYTES,4,2 ; @BW_UPCALL_UNIT_BYTES .comm _BW_METER_GEQ,4,2 ; @BW_METER_GEQ .comm _BW_UPCALL_GEQ,4,2 ; @BW_UPCALL_GEQ .comm _BW_METER_LEQ,4,2 ; @BW_METER_LEQ .comm _BW_UPCALL_LEQ,4,2 ; @BW_UPCALL_LEQ .no_dead_strip _bw_meter_prepare_upcall .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _f_setlabel ## -- Begin function f_setlabel .p2align 4, 0x90 _f_setlabel: ## @f_setlabel .cfi_startproc ## %bb.0: 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 ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -48(%rbp) movq %rdi, -128(%rbp) leaq -112(%rbp), %rdi leaq -128(%rbp), %rsi movl $1, %edx callq _find_volume testq %rax, %rax je LBB0_2 ## %bb.1: movq -112(%rbp), %rdi movq %rax, %rsi callq _LEAVE_FF LBB0_2: movl $0, -96(%rbp) movl $1, %r12d movq -128(%rbp), %rax .p2align 4, 0x90 LBB0_3: ## =>This Inner Loop Header: Depth=1 cmpb $0, -1(%rax,%r12) leaq -1(%r12), %r12 jne LBB0_3 ## %bb.4: xorl %ebx, %ebx testq %r12, %r12 je LBB0_28 .p2align 4, 0x90 LBB0_5: ## =>This Inner Loop Header: Depth=1 cmpb $32, -1(%rax,%r12) jne LBB0_6 ## %bb.9: ## in Loop: Header=BB0_5 Depth=1 decq %r12 jne LBB0_5 jmp LBB0_28 LBB0_6: xorl %ebx, %ebx xorl %r13d, %r13d jmp LBB0_7 .p2align 4, 0x90 LBB0_23: ## in Loop: Header=BB0_7 Depth=1 movq %r13, %rax incq %r13 movl %r14d, -96(%rbp,%rax,4) movq -136(%rbp), %rcx ## 8-byte Reload movq %rcx, %rbx cmpq %r12, %rcx jae LBB0_24 LBB0_7: ## =>This Inner Loop Header: Depth=1 movq -128(%rbp), %rax leaq 1(%rbx), %r14 movsbl (%rax,%rbx), %r15d movl %r15d, %edi callq _IsDBCS1 testq %rax, %rax movq %r14, -136(%rbp) ## 8-byte Spill je LBB0_8 ## %bb.10: ## in Loop: Header=BB0_7 Depth=1 cmpq $10, %r13 setae %al cmpq %r12, %r14 setae %cl movq %r14, %rdx xorl %r14d, %r14d orb %al, %cl jne LBB0_13 ## %bb.11: ## in Loop: Header=BB0_7 Depth=1 movq -128(%rbp), %rax movsbl (%rax,%rdx), %edi callq _IsDBCS2 testq %rax, %rax je LBB0_13 ## %bb.12: ## in Loop: Header=BB0_7 Depth=1 shll $8, %r15d movq -128(%rbp), %rax movsbl 1(%rax,%rbx), %r14d addq $2, %rbx andl %r15d, %r14d movq %rbx, -136(%rbp) ## 8-byte Spill jmp LBB0_13 .p2align 4, 0x90 LBB0_8: ## in Loop: Header=BB0_7 Depth=1 movl %r15d, %r14d LBB0_13: ## in Loop: Header=BB0_7 Depth=1 movl %r14d, %edi callq _IsLower testq %rax, %rax je LBB0_15 ## %bb.14: ## in Loop: Header=BB0_7 Depth=1 addl $-32, %r14d LBB0_15: ## in Loop: Header=BB0_7 Depth=1 xorl %eax, %eax cmpl $127, %r14d jg LBB0_17 ## %bb.16: ## in Loop: Header=BB0_7 Depth=1 movl %r14d, %eax LBB0_17: ## in Loop: Header=BB0_7 Depth=1 movq __DF1S@GOTPCREL(%rip), %rcx cmpl $0, (%rcx) cmovel %eax, %r14d testl %r14d, %r14d je LBB0_20 ## %bb.18: ## in Loop: Header=BB0_7 Depth=1 leaq L_.str(%rip), %rdi movl %r14d, %esi callq _chk_chr testq %rax, %rax jne LBB0_20 ## %bb.19: ## in Loop: Header=BB0_7 Depth=1 xorl %eax, %eax cmpl $256, %r14d ## imm = 0x100 setge %al xorq $11, %rax cmpq %rax, %r13 jb LBB0_21 .p2align 4, 0x90 LBB0_20: ## in Loop: Header=BB0_7 Depth=1 movq -112(%rbp), %rdi movq _FR_INVALID_NAME@GOTPCREL(%rip), %rax movq (%rax), %rsi callq _LEAVE_FF LBB0_21: ## in Loop: Header=BB0_7 Depth=1 cmpl $256, %r14d ## imm = 0x100 jl LBB0_23 ## %bb.22: ## in Loop: Header=BB0_7 Depth=1 movl %r14d, %eax shrl $8, %eax movl %eax, -96(%rbp,%r13,4) incq %r13 jmp LBB0_23 LBB0_24: cmpq $10, %r13 ja LBB0_26 ## %bb.25: leaq -92(,%rax,4), %rdi addq %rbp, %rdi shlq $2, %rax movl $40, %edx subq %rax, %rdx leaq L_.memset_pattern(%rip), %rsi callq _memset_pattern16 LBB0_26: movl -96(%rbp), %ebx movq _DDEM@GOTPCREL(%rip), %rax cmpl (%rax), %ebx jne LBB0_28 ## %bb.27: movq -112(%rbp), %rdi movq _FR_INVALID_NAME@GOTPCREL(%rip), %rax movq (%rax), %rsi callq _LEAVE_FF LBB0_28: movq $0, -104(%rbp) leaq -120(%rbp), %rdi xorl %esi, %esi callq _dir_sdi movq _FR_OK@GOTPCREL(%rip), %r14 cmpq (%r14), %rax jne LBB0_39 ## %bb.29: leaq -120(%rbp), %rdi movl $1, %esi callq _dir_read movq (%r14), %rcx cmpq %rcx, %rax jne LBB0_33 ## %bb.30: testl %ebx, %ebx je LBB0_32 ## %bb.31: movq -120(%rbp), %rdi leaq -96(%rbp), %rsi movl $11, %edx callq _mem_cpy LBB0_37: xorl %eax, %eax callq _GET_FATTIME movl %eax, %ebx movq _DIR_CrtTime@GOTPCREL(%rip), %rax movslq (%rax), %rdi shlq $2, %rdi addq -120(%rbp), %rdi movl %ebx, %esi callq _ST_DWORD movq _DIR_WrtTime@GOTPCREL(%rip), %rax movslq (%rax), %rdi shlq $2, %rdi addq -120(%rbp), %rdi movl %ebx, %esi callq _ST_DWORD jmp LBB0_38 LBB0_33: movq _FR_NO_FILE@GOTPCREL(%rip), %rdx cmpq (%rdx), %rax jne LBB0_39 ## %bb.34: movq %rcx, %rax testl %ebx, %ebx je LBB0_39 ## %bb.35: leaq -120(%rbp), %rdi movl $1, %esi callq _dir_alloc cmpq (%r14), %rax jne LBB0_39 ## %bb.36: movq -120(%rbp), %rdi movq _SZ_DIRE@GOTPCREL(%rip), %rax movl (%rax), %edx xorl %esi, %esi callq _mem_set movq -120(%rbp), %rdi leaq -96(%rbp), %rsi movl $11, %edx callq _mem_cpy movq _AM_VOL@GOTPCREL(%rip), %rax movl (%rax), %eax movq -120(%rbp), %rcx movq _DIR_Attr@GOTPCREL(%rip), %rdx movq (%rdx), %rdx movl %eax, (%rcx,%rdx,4) jmp LBB0_37 LBB0_32: movq _DDEM@GOTPCREL(%rip), %rax movl (%rax), %eax movq -120(%rbp), %rcx movl %eax, (%rcx) LBB0_38: movq -112(%rbp), %rdi movl $1, (%rdi) callq _sync_fs LBB0_39: movq -112(%rbp), %rdi movq %rax, %rsi callq _LEAVE_FF movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax cmpq -48(%rbp), %rax jne LBB0_41 ## %bb.40: addq $104, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_41: callq ___stack_chk_fail .cfi_endproc ## -- End function .comm __DF1S,4,2 ## @_DF1S .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "\"*+,.:;<=>?[]|\177" .comm _FR_INVALID_NAME,8,3 ## @FR_INVALID_NAME .comm _DDEM,4,2 ## @DDEM .comm _FR_OK,8,3 ## @FR_OK .comm _DIR_CrtTime,4,2 ## @DIR_CrtTime .comm _DIR_WrtTime,4,2 ## @DIR_WrtTime .comm _FR_NO_FILE,8,3 ## @FR_NO_FILE .comm _SZ_DIRE,4,2 ## @SZ_DIRE .comm _AM_VOL,4,2 ## @AM_VOL .comm _DIR_Attr,8,3 ## @DIR_Attr .comm _ExCvt,8,3 ## @ExCvt .section __TEXT,__literal16,16byte_literals .p2align 4, 0x0 ## @.memset_pattern L_.memset_pattern: .long 32 ## 0x20 .long 32 ## 0x20 .long 32 ## 0x20 .long 32 ## 0x20 .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _f_setlabel ; -- Begin function f_setlabel .p2align 2 _f_setlabel: ; @f_setlabel .cfi_startproc ; %bb.0: sub sp, sp, #192 stp x28, x27, [sp, #96] ; 16-byte Folded Spill stp x26, x25, [sp, #112] ; 16-byte Folded Spill stp x24, x23, [sp, #128] ; 16-byte Folded Spill stp x22, x21, [sp, #144] ; 16-byte Folded Spill stp x20, x19, [sp, #160] ; 16-byte Folded Spill stp x29, x30, [sp, #176] ; 16-byte Folded Spill add x29, sp, #176 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset w27, -88 .cfi_offset w28, -96 Lloh0: adrp x8, ___stack_chk_guard@GOTPAGE Lloh1: ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] Lloh2: ldr x8, [x8] str x8, [sp, #88] str x0, [sp, #32] add x8, sp, #8 add x0, x8, #8 add x1, sp, #32 mov w2, #1 ; =0x1 bl _find_volume cbz x0, LBB0_2 ; %bb.1: mov x1, x0 ldr x0, [sp, #16] bl _LEAVE_FF LBB0_2: str wzr, [sp, #44] mov x8, #-1 ; =0xffffffffffffffff ldr x9, [sp, #32] LBB0_3: ; =>This Inner Loop Header: Depth=1 ldrb w10, [x9], #-1 add x8, x8, #1 cbnz w10, LBB0_3 ; %bb.4: cbz x8, LBB0_7 LBB0_5: ; =>This Inner Loop Header: Depth=1 ldrb w10, [x9], #-1 cmp w10, #32 b.ne LBB0_13 ; %bb.6: ; in Loop: Header=BB0_5 Depth=1 adds x8, x8, #1 b.lo LBB0_5 LBB0_7: mov w19, #0 ; =0x0 LBB0_8: str xzr, [sp, #24] add x0, sp, #8 mov w1, #0 ; =0x0 bl _dir_sdi Lloh3: adrp x20, _FR_OK@GOTPAGE Lloh4: ldr x20, [x20, _FR_OK@GOTPAGEOFF] ldr x8, [x20] cmp x0, x8 b.ne LBB0_40 ; %bb.9: add x0, sp, #8 mov w1, #1 ; =0x1 bl _dir_read ldr x8, [x20] cmp x0, x8 b.ne LBB0_34 ; %bb.10: cbz w19, LBB0_38 ; %bb.11: ldr x0, [sp, #8] add x1, sp, #44 mov w2, #11 ; =0xb bl _mem_cpy LBB0_12: bl _GET_FATTIME mov x19, x0 ldr x8, [sp, #8] Lloh5: adrp x9, _DIR_CrtTime@GOTPAGE Lloh6: ldr x9, [x9, _DIR_CrtTime@GOTPAGEOFF] Lloh7: ldrsw x9, [x9] add x0, x8, x9, lsl #2 mov x1, x19 bl _ST_DWORD ldr x8, [sp, #8] Lloh8: adrp x9, _DIR_WrtTime@GOTPAGE Lloh9: ldr x9, [x9, _DIR_WrtTime@GOTPAGEOFF] Lloh10: ldrsw x9, [x9] add x0, x8, x9, lsl #2 mov x1, x19 bl _ST_DWORD b LBB0_39 LBB0_13: mov x28, #0 ; =0x0 mov x25, #0 ; =0x0 neg x23, x8 Lloh11: adrp x24, __DF1S@GOTPAGE Lloh12: ldr x24, [x24, __DF1S@GOTPAGEOFF] Lloh13: adrp x22, _FR_INVALID_NAME@GOTPAGE Lloh14: ldr x22, [x22, _FR_INVALID_NAME@GOTPAGEOFF] add x26, sp, #44 Lloh15: adrp x19, l_.str@PAGE Lloh16: add x19, x19, l_.str@PAGEOFF b LBB0_16 LBB0_14: ; in Loop: Header=BB0_16 Depth=1 lsr w9, w20, #8 add x8, x25, #1 str w9, [x26, x25, lsl #2] LBB0_15: ; in Loop: Header=BB0_16 Depth=1 add x25, x8, #1 str w20, [x26, x8, lsl #2] cmp x28, x23 b.hs LBB0_30 LBB0_16: ; =>This Inner Loop Header: Depth=1 ldr x8, [sp, #32] add x27, x28, #1 ldrsb w21, [x8, x28] mov x0, x21 bl _IsDBCS1 cbz x0, LBB0_21 ; %bb.17: ; in Loop: Header=BB0_16 Depth=1 mov w20, #0 ; =0x0 cmp x25, #9 b.hi LBB0_23 ; %bb.18: ; in Loop: Header=BB0_16 Depth=1 cmp x27, x23 b.hs LBB0_23 ; %bb.19: ; in Loop: Header=BB0_16 Depth=1 ldr x8, [sp, #32] ldrsb w0, [x8, x27] bl _IsDBCS2 cbz x0, LBB0_22 ; %bb.20: ; in Loop: Header=BB0_16 Depth=1 ldr x8, [sp, #32] add x28, x28, #2 ldrsb w8, [x8, x27] and w20, w8, w21, lsl #8 b LBB0_24 LBB0_21: ; in Loop: Header=BB0_16 Depth=1 mov x28, x27 mov x20, x21 b LBB0_24 LBB0_22: ; in Loop: Header=BB0_16 Depth=1 mov w20, #0 ; =0x0 LBB0_23: ; in Loop: Header=BB0_16 Depth=1 mov x28, x27 LBB0_24: ; in Loop: Header=BB0_16 Depth=1 mov x0, x20 bl _IsLower sub w8, w20, #32 cmp x0, #0 csel w8, w20, w8, eq ldr w9, [x24] cmp w8, #127 ccmp w9, #0, #0, gt csel w20, wzr, w8, eq cbz w20, LBB0_27 ; %bb.25: ; in Loop: Header=BB0_16 Depth=1 mov x0, x19 mov x1, x20 bl _chk_chr cbnz x0, LBB0_27 ; %bb.26: ; in Loop: Header=BB0_16 Depth=1 cmp w20, #255 mov w8, #10 ; =0xa cinc x8, x8, le cmp x25, x8 b.lo LBB0_28 LBB0_27: ; in Loop: Header=BB0_16 Depth=1 ldr x0, [sp, #16] ldr x1, [x22] bl _LEAVE_FF LBB0_28: ; in Loop: Header=BB0_16 Depth=1 cmp w20, #256 b.ge LBB0_14 ; %bb.29: ; in Loop: Header=BB0_16 Depth=1 mov x8, x25 b LBB0_15 LBB0_30: cmp x25, #10 b.hi LBB0_32 ; %bb.31: lsl x8, x8, #2 add x9, sp, #44 add x9, x9, x8 mov w10, #40 ; =0x28 sub x2, x10, x8 Lloh17: adrp x1, l_.memset_pattern@PAGE Lloh18: add x1, x1, l_.memset_pattern@PAGEOFF add x0, x9, #4 bl _memset_pattern16 LBB0_32: ldr w19, [sp, #44] Lloh19: adrp x8, _DDEM@GOTPAGE Lloh20: ldr x8, [x8, _DDEM@GOTPAGEOFF] Lloh21: ldr w8, [x8] cmp w19, w8 b.ne LBB0_8 ; %bb.33: ldr x0, [sp, #16] ldr x1, [x22] bl _LEAVE_FF b LBB0_8 LBB0_34: mov x1, x0 Lloh22: adrp x9, _FR_NO_FILE@GOTPAGE Lloh23: ldr x9, [x9, _FR_NO_FILE@GOTPAGEOFF] Lloh24: ldr x9, [x9] cmp x0, x9 b.ne LBB0_41 ; %bb.35: cbz w19, LBB0_43 ; %bb.36: add x0, sp, #8 mov w1, #1 ; =0x1 bl _dir_alloc ldr x8, [x20] cmp x0, x8 b.ne LBB0_40 ; %bb.37: ldr x0, [sp, #8] Lloh25: adrp x8, _SZ_DIRE@GOTPAGE Lloh26: ldr x8, [x8, _SZ_DIRE@GOTPAGEOFF] Lloh27: ldr w2, [x8] mov w1, #0 ; =0x0 bl _mem_set ldr x0, [sp, #8] add x1, sp, #44 mov w2, #11 ; =0xb bl _mem_cpy Lloh28: adrp x8, _AM_VOL@GOTPAGE Lloh29: ldr x8, [x8, _AM_VOL@GOTPAGEOFF] Lloh30: ldr w8, [x8] ldr x9, [sp, #8] Lloh31: adrp x10, _DIR_Attr@GOTPAGE Lloh32: ldr x10, [x10, _DIR_Attr@GOTPAGEOFF] Lloh33: ldr x10, [x10] str w8, [x9, x10, lsl #2] b LBB0_12 LBB0_38: Lloh34: adrp x8, _DDEM@GOTPAGE Lloh35: ldr x8, [x8, _DDEM@GOTPAGEOFF] Lloh36: ldr w8, [x8] ldr x9, [sp, #8] str w8, [x9] LBB0_39: ldr x0, [sp, #16] mov w8, #1 ; =0x1 str w8, [x0] bl _sync_fs LBB0_40: mov x1, x0 LBB0_41: ldr x0, [sp, #16] bl _LEAVE_FF ldr x8, [sp, #88] Lloh37: adrp x9, ___stack_chk_guard@GOTPAGE Lloh38: ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF] Lloh39: ldr x9, [x9] cmp x9, x8 b.ne LBB0_44 ; %bb.42: ldp x29, x30, [sp, #176] ; 16-byte Folded Reload ldp x20, x19, [sp, #160] ; 16-byte Folded Reload ldp x22, x21, [sp, #144] ; 16-byte Folded Reload ldp x24, x23, [sp, #128] ; 16-byte Folded Reload ldp x26, x25, [sp, #112] ; 16-byte Folded Reload ldp x28, x27, [sp, #96] ; 16-byte Folded Reload add sp, sp, #192 ret LBB0_43: mov x1, x8 b LBB0_41 LBB0_44: bl ___stack_chk_fail .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGot Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10 .loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7 .loh AdrpAdd Lloh15, Lloh16 .loh AdrpLdrGot Lloh13, Lloh14 .loh AdrpLdrGot Lloh11, Lloh12 .loh AdrpAdd Lloh17, Lloh18 .loh AdrpLdrGotLdr Lloh19, Lloh20, Lloh21 .loh AdrpLdrGotLdr Lloh22, Lloh23, Lloh24 .loh AdrpLdrGotLdr Lloh31, Lloh32, Lloh33 .loh AdrpLdrGotLdr Lloh28, Lloh29, Lloh30 .loh AdrpLdrGotLdr Lloh25, Lloh26, Lloh27 .loh AdrpLdrGotLdr Lloh34, Lloh35, Lloh36 .loh AdrpLdrGotLdr Lloh37, Lloh38, Lloh39 .cfi_endproc ; -- End function .comm __DF1S,4,2 ; @_DF1S .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "\"*+,.:;<=>?[]|\177" .comm _FR_INVALID_NAME,8,3 ; @FR_INVALID_NAME .comm _DDEM,4,2 ; @DDEM .comm _FR_OK,8,3 ; @FR_OK .comm _DIR_CrtTime,4,2 ; @DIR_CrtTime .comm _DIR_WrtTime,4,2 ; @DIR_WrtTime .comm _FR_NO_FILE,8,3 ; @FR_NO_FILE .comm _SZ_DIRE,4,2 ; @SZ_DIRE .comm _AM_VOL,4,2 ; @AM_VOL .comm _DIR_Attr,8,3 ; @DIR_Attr .comm _ExCvt,8,3 ; @ExCvt .section __TEXT,__literal16,16byte_literals .p2align 4, 0x0 ; @.memset_pattern l_.memset_pattern: .long 32 ; 0x20 .long 32 ; 0x20 .long 32 ; 0x20 .long 32 ; 0x20 .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function mps_load_chains_cb _mps_load_chains_cb: ## @mps_load_chains_cb .cfi_startproc ## %bb.0: testl %ecx, %ecx je LBB0_1 ## %bb.10: retq 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 %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, %r13 testl %edx, %edx js LBB0_2 ## %bb.3: movl %edx, %eax movq %rax, -56(%rbp) ## 8-byte Spill movq (%r13), %rax xorl %edx, %edx xorl %r15d, %r15d xorl %ebx, %ebx movq %rsi, -64(%rbp) ## 8-byte Spill jmp LBB0_4 .p2align 4, 0x90 LBB0_5: ## in Loop: Header=BB0_4 Depth=1 xorl %edx, %edx LBB0_8: ## in Loop: Header=BB0_4 Depth=1 subl %edx, %ecx addl %r15d, %ecx movq -72(%rbp), %rdx ## 8-byte Reload decq %rdx movl %ecx, %r15d cmpq -56(%rbp), %rdx ## 8-byte Folded Reload movq -64(%rbp), %rsi ## 8-byte Reload jg LBB0_9 LBB0_4: ## =>This Loop Header: Depth=1 ## Child Loop BB0_7 Depth 2 movq %rdx, -72(%rbp) ## 8-byte Spill movq %rdx, %rcx shlq $4, %rcx movq %rax, %rdx negq %rdx movq %rcx, -48(%rbp) ## 8-byte Spill movq (%rsi,%rcx), %rcx cmpq %rdx, %rcx jl LBB0_5 ## %bb.6: ## in Loop: Header=BB0_4 Depth=1 addq %rsi, -48(%rbp) ## 8-byte Folded Spill movslq %ebx, %r14 shlq $4, %r14 xorl %r12d, %r12d .p2align 4, 0x90 LBB0_7: ## Parent Loop BB0_4 Depth=1 ## => This Inner Loop Header: Depth=2 movq 24(%r13), %rcx leaq (%rcx,%r14), %rsi movslq %r15d, %r15 movq 16(%r13), %rdx addq %r15, %rdx movq %rdx, 8(%rcx,%r14) movq -48(%rbp), %rdx ## 8-byte Reload movq 8(%rdx), %rdx addq %r12, %rdx movq %rdx, (%rcx,%r14) addl %eax, %r15d movq %r13, %rdi callq _mps_free_chain movq (%r13), %rax leaq (%rax,%r12), %rdx movq -48(%rbp), %rcx ## 8-byte Reload movq (%rcx), %rcx addq $16, %r14 incl %ebx cmpq %rcx, %r12 movq %rdx, %r12 jle LBB0_7 jmp LBB0_8 LBB0_2: xorl %ebx, %ebx LBB0_9: movl %ebx, 8(%r13) addq $40, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _mps_load_chains_cb .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function mps_load_chains_cb _mps_load_chains_cb: ; @mps_load_chains_cb .cfi_startproc ; %bb.0: cbz w3, LBB0_2 ; %bb.1: ret LBB0_2: 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 tbnz w2, #31, LBB0_9 ; %bb.3: mov x20, x1 mov x22, #0 ; =0x0 mov w23, #0 ; =0x0 mov w21, #0 ; =0x0 ldr x8, [x19] mov w24, w2 b LBB0_6 LBB0_4: ; in Loop: Header=BB0_6 Depth=1 mov x9, #0 ; =0x0 LBB0_5: ; in Loop: Header=BB0_6 Depth=1 sub w9, w10, w9 add w23, w23, w9 sub x22, x22, #1 cmp x22, x24 b.gt LBB0_10 LBB0_6: ; =>This Loop Header: Depth=1 ; Child Loop BB0_8 Depth 2 add x25, x20, x22, lsl #4 ldr x10, [x25] neg x9, x8 cmp x10, x9 b.lt LBB0_4 ; %bb.7: ; in Loop: Header=BB0_6 Depth=1 mov x9, #0 ; =0x0 sbfiz x26, x21, #4, #32 LBB0_8: ; Parent Loop BB0_6 Depth=1 ; => This Inner Loop Header: Depth=2 mov x27, x9 ldp x10, x9, [x19, #16] add x1, x9, x26 add x9, x10, w23, sxtw ldr x10, [x25, #8] add x10, x10, x27 stp x10, x9, [x1] add w23, w23, w8 mov x0, x19 bl _mps_free_chain ldr x8, [x19] add x9, x8, x27 ldr x10, [x25] add x26, x26, #16 add w21, w21, #1 cmp x27, x10 b.le LBB0_8 b LBB0_5 LBB0_9: mov w21, #0 ; =0x0 LBB0_10: str w21, [x19, #8] ldp x29, x30, [sp, #80] ; 16-byte Folded Reload ldp x20, x19, [sp, #64] ; 16-byte Folded Reload ldp x22, x21, [sp, #48] ; 16-byte Folded Reload ldp x24, x23, [sp, #32] ; 16-byte Folded Reload ldp x26, x25, [sp, #16] ; 16-byte Folded Reload ldp x28, x27, [sp], #96 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .no_dead_strip _mps_load_chains_cb .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function ngx_http_server_names _ngx_http_server_names: ## @ngx_http_server_names .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $120, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdx, %rbx movq %rsi, %r15 movq %rdi, %r14 leaq -160(%rbp), %rdi movl $64, %esi callq _ngx_memzero movq _NGX_DEFAULT_POOL_SIZE@GOTPCREL(%rip), %rax movl (%rax), %edi movl 4(%r14), %esi callq _ngx_create_pool movq %rax, -160(%rbp) testq %rax, %rax jne LBB0_21 ## %bb.1: movl (%r14), %eax movl %eax, -104(%rbp) movq _NGX_HASH_LARGE@GOTPCREL(%rip), %rax movl (%rax), %esi leaq -160(%rbp), %rdi callq _ngx_hash_keys_array_init movq _NGX_OK@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax jne LBB0_20 ## %bb.2: movq %rbx, -48(%rbp) ## 8-byte Spill cmpq $0, 16(%rbx) je LBB0_11 ## %bb.3: movq -48(%rbp), %rax ## 8-byte Reload movq 24(%rax), %r12 movq (%r12), %rax cmpq $0, (%rax) je LBB0_11 ## %bb.4: movq -48(%rbp), %rcx ## 8-byte Reload addq $52, %rcx movq %rcx, -56(%rbp) ## 8-byte Spill movq 8(%rax), %r13 addq $8, %r13 xorl %ebx, %ebx jmp LBB0_5 .p2align 4, 0x90 LBB0_10: ## in Loop: Header=BB0_5 Depth=1 incq %rbx movq (%r12), %rax addq $16, %r13 cmpq (%rax), %rbx jae LBB0_11 LBB0_5: ## =>This Inner Loop Header: Depth=1 movl 4(%r13), %edx movq _NGX_HASH_WILDCARD_KEY@GOTPCREL(%rip), %rax movl (%rax), %ecx leaq -160(%rbp), %rdi movq %r13, %rsi callq _ngx_hash_add_key movq _NGX_ERROR@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax je LBB0_22 ## %bb.6: ## in Loop: Header=BB0_5 Depth=1 movq _NGX_DECLINED@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax je LBB0_7 ## %bb.8: ## in Loop: Header=BB0_5 Depth=1 movq _NGX_BUSY@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax jne LBB0_10 ## %bb.9: ## in Loop: Header=BB0_5 Depth=1 movq _NGX_LOG_WARN@GOTPCREL(%rip), %rax movl (%rax), %edi movl 4(%r14), %esi xorl %edx, %edx leaq L_.str.1(%rip), %rcx movq %r13, %r8 movq -56(%rbp), %r9 ## 8-byte Reload callq _ngx_log_error jmp LBB0_10 LBB0_11: movq _ngx_hash_key_lc@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -60(%rbp) movq (%r15), %rax movq %rax, -68(%rbp) leaq L_.str.2(%rip), %rax movq %rax, -96(%rbp) movl (%r14), %eax movl %eax, -72(%rbp) movq -120(%rbp), %rdx testq %rdx, %rdx movq -48(%rbp), %rbx ## 8-byte Reload movq _NGX_OK@GOTPCREL(%rip), %r14 je LBB0_13 ## %bb.12: leaq 48(%rbx), %rax movq %rax, -88(%rbp) movq $0, -80(%rbp) movl -112(%rbp), %esi leaq -96(%rbp), %rdi callq _ngx_hash_init cmpq (%r14), %rax jne LBB0_20 LBB0_13: movq -136(%rbp), %rsi testq %rsi, %rsi je LBB0_16 ## %bb.14: movl -128(%rbp), %edi movq _ngx_http_cmp_dns_wildcards@GOTPCREL(%rip), %rax movl (%rax), %ecx movl $4, %edx callq _ngx_qsort movq $0, -88(%rbp) movq -160(%rbp), %rax movq -136(%rbp), %rdx movq %rax, -80(%rbp) movl -128(%rbp), %esi leaq -96(%rbp), %rdi callq _ngx_hash_wildcard_init cmpq (%r14), %rax jne LBB0_20 ## %bb.15: movq -88(%rbp), %rax movq %rax, 40(%rbx) LBB0_16: movq -152(%rbp), %rsi testq %rsi, %rsi je LBB0_19 ## %bb.17: movl -144(%rbp), %edi movq _ngx_http_cmp_dns_wildcards@GOTPCREL(%rip), %rax movl (%rax), %ecx movl $4, %edx callq _ngx_qsort movq $0, -88(%rbp) movq -160(%rbp), %rax movq -152(%rbp), %rdx movq %rax, -80(%rbp) movl -144(%rbp), %esi leaq -96(%rbp), %rdi callq _ngx_hash_wildcard_init cmpq (%r14), %rax jne LBB0_20 ## %bb.18: movq -88(%rbp), %rax movq %rax, 32(%rbx) LBB0_19: movq -160(%rbp), %rdi callq _ngx_destroy_pool movq (%r14), %rax jmp LBB0_22 LBB0_20: movq -160(%rbp), %rdi callq _ngx_destroy_pool LBB0_21: movq _NGX_ERROR@GOTPCREL(%rip), %rax movq (%rax), %rax LBB0_22: addq $120, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_7: movq _NGX_LOG_EMERG@GOTPCREL(%rip), %rax movl (%rax), %edi movl 4(%r14), %esi leaq L_.str(%rip), %rcx xorl %edx, %edx movq %r13, %r8 movq -56(%rbp), %r9 ## 8-byte Reload callq _ngx_log_error jmp LBB0_21 .cfi_endproc ## -- End function .comm _NGX_DEFAULT_POOL_SIZE,4,2 ## @NGX_DEFAULT_POOL_SIZE .comm _NGX_ERROR,8,3 ## @NGX_ERROR .comm _NGX_HASH_LARGE,4,2 ## @NGX_HASH_LARGE .comm _NGX_OK,8,3 ## @NGX_OK .comm _NGX_HASH_WILDCARD_KEY,4,2 ## @NGX_HASH_WILDCARD_KEY .comm _NGX_DECLINED,8,3 ## @NGX_DECLINED .comm _NGX_LOG_EMERG,4,2 ## @NGX_LOG_EMERG .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "invalid server name or wildcard \"%V\" on %V" .comm _NGX_BUSY,8,3 ## @NGX_BUSY .comm _NGX_LOG_WARN,4,2 ## @NGX_LOG_WARN L_.str.1: ## @.str.1 .asciz "conflicting server name \"%V\" on %V, ignored" .comm _ngx_hash_key_lc,4,2 ## @ngx_hash_key_lc L_.str.2: ## @.str.2 .asciz "server_names_hash" .comm _ngx_http_cmp_dns_wildcards,4,2 ## @ngx_http_cmp_dns_wildcards .no_dead_strip _ngx_http_server_names .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function ngx_http_server_names _ngx_http_server_names: ; @ngx_http_server_names .cfi_startproc ; %bb.0: sub sp, sp, #208 stp x28, x27, [sp, #112] ; 16-byte Folded Spill stp x26, x25, [sp, #128] ; 16-byte Folded Spill stp x24, x23, [sp, #144] ; 16-byte Folded Spill stp x22, x21, [sp, #160] ; 16-byte Folded Spill stp x20, x19, [sp, #176] ; 16-byte Folded Spill stp x29, x30, [sp, #192] ; 16-byte Folded Spill add x29, sp, #192 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset w27, -88 .cfi_offset w28, -96 mov x19, x2 mov x21, x1 mov x20, x0 add x0, sp, #8 mov w1, #64 ; =0x40 bl _ngx_memzero Lloh0: adrp x8, _NGX_DEFAULT_POOL_SIZE@GOTPAGE Lloh1: ldr x8, [x8, _NGX_DEFAULT_POOL_SIZE@GOTPAGEOFF] Lloh2: ldr w0, [x8] ldr w1, [x20, #4] bl _ngx_create_pool str x0, [sp, #8] cbnz x0, LBB0_20 ; %bb.1: ldr w8, [x20] str w8, [sp, #64] Lloh3: adrp x8, _NGX_HASH_LARGE@GOTPAGE Lloh4: ldr x8, [x8, _NGX_HASH_LARGE@GOTPAGEOFF] Lloh5: ldr w1, [x8] add x0, sp, #8 bl _ngx_hash_keys_array_init Lloh6: adrp x8, _NGX_OK@GOTPAGE Lloh7: ldr x8, [x8, _NGX_OK@GOTPAGEOFF] Lloh8: ldr x8, [x8] cmp x0, x8 b.ne LBB0_19 ; %bb.2: ldr x8, [x19, #16] cbz x8, LBB0_10 ; %bb.3: ldr x26, [x19, #24] ldr x8, [x26] ldr x9, [x8] cbz x9, LBB0_10 ; %bb.4: mov x27, #0 ; =0x0 ldr x8, [x8, #8] add x22, x8, #8 Lloh9: adrp x28, _NGX_HASH_WILDCARD_KEY@GOTPAGE Lloh10: ldr x28, [x28, _NGX_HASH_WILDCARD_KEY@GOTPAGEOFF] Lloh11: adrp x25, _NGX_ERROR@GOTPAGE Lloh12: ldr x25, [x25, _NGX_ERROR@GOTPAGEOFF] Lloh13: adrp x24, _NGX_DECLINED@GOTPAGE Lloh14: ldr x24, [x24, _NGX_DECLINED@GOTPAGEOFF] Lloh15: adrp x23, _NGX_BUSY@GOTPAGE Lloh16: ldr x23, [x23, _NGX_BUSY@GOTPAGEOFF] b LBB0_6 LBB0_5: ; in Loop: Header=BB0_6 Depth=1 add x22, x22, #16 add x27, x27, #1 ldr x8, [x26] ldr x8, [x8] cmp x27, x8 b.hs LBB0_10 LBB0_6: ; =>This Inner Loop Header: Depth=1 ldr w2, [x22, #4] ldr w3, [x28] add x0, sp, #8 mov x1, x22 bl _ngx_hash_add_key ldr x8, [x25] cmp x0, x8 b.eq LBB0_21 ; %bb.7: ; in Loop: Header=BB0_6 Depth=1 ldr x8, [x24] cmp x0, x8 b.eq LBB0_22 ; %bb.8: ; in Loop: Header=BB0_6 Depth=1 ldr x8, [x23] cmp x0, x8 b.ne LBB0_5 ; %bb.9: ; in Loop: Header=BB0_6 Depth=1 Lloh17: adrp x8, _NGX_LOG_WARN@GOTPAGE Lloh18: ldr x8, [x8, _NGX_LOG_WARN@GOTPAGEOFF] Lloh19: ldr w0, [x8] ldr w1, [x20, #4] add x5, x19, #52 mov w2, #0 ; =0x0 Lloh20: adrp x3, l_.str.1@PAGE Lloh21: add x3, x3, l_.str.1@PAGEOFF mov x4, x22 bl _ngx_log_error b LBB0_5 LBB0_10: Lloh22: adrp x8, _ngx_hash_key_lc@GOTPAGE Lloh23: ldr x8, [x8, _ngx_hash_key_lc@GOTPAGEOFF] Lloh24: ldr w8, [x8] str w8, [sp, #108] ldr d0, [x21] stur d0, [sp, #100] Lloh25: adrp x8, l_.str.2@PAGE Lloh26: add x8, x8, l_.str.2@PAGEOFF str x8, [sp, #72] ldr w8, [x20] str w8, [sp, #96] ldr x2, [sp, #48] Lloh27: adrp x21, _NGX_OK@GOTPAGE Lloh28: ldr x21, [x21, _NGX_OK@GOTPAGEOFF] cbz x2, LBB0_12 ; %bb.11: add x8, x19, #48 stp x8, xzr, [sp, #80] ldr w1, [sp, #56] add x0, sp, #72 bl _ngx_hash_init ldr x8, [x21] cmp x0, x8 b.ne LBB0_19 LBB0_12: ldr x1, [sp, #32] Lloh29: adrp x20, _ngx_http_cmp_dns_wildcards@GOTPAGE Lloh30: ldr x20, [x20, _ngx_http_cmp_dns_wildcards@GOTPAGEOFF] cbz x1, LBB0_15 ; %bb.13: ldr w0, [sp, #40] ldr w3, [x20] mov w2, #4 ; =0x4 bl _ngx_qsort ldr x8, [sp, #8] ldr x2, [sp, #32] stp xzr, x8, [sp, #80] ldr w1, [sp, #40] add x0, sp, #72 bl _ngx_hash_wildcard_init ldr x8, [x21] cmp x0, x8 b.ne LBB0_19 ; %bb.14: ldr x8, [sp, #80] str x8, [x19, #40] LBB0_15: ldr x1, [sp, #16] cbz x1, LBB0_18 ; %bb.16: ldr w0, [sp, #24] ldr w3, [x20] mov w2, #4 ; =0x4 bl _ngx_qsort ldp x8, x2, [sp, #8] stp xzr, x8, [sp, #80] ldr w1, [sp, #24] add x0, sp, #72 bl _ngx_hash_wildcard_init ldr x8, [x21] cmp x0, x8 b.ne LBB0_19 ; %bb.17: ldr x8, [sp, #80] str x8, [x19, #32] LBB0_18: ldr x0, [sp, #8] bl _ngx_destroy_pool ldr x0, [x21] b LBB0_21 LBB0_19: ldr x0, [sp, #8] bl _ngx_destroy_pool LBB0_20: Lloh31: adrp x8, _NGX_ERROR@GOTPAGE Lloh32: ldr x8, [x8, _NGX_ERROR@GOTPAGEOFF] Lloh33: ldr x0, [x8] LBB0_21: ldp x29, x30, [sp, #192] ; 16-byte Folded Reload ldp x20, x19, [sp, #176] ; 16-byte Folded Reload ldp x22, x21, [sp, #160] ; 16-byte Folded Reload ldp x24, x23, [sp, #144] ; 16-byte Folded Reload ldp x26, x25, [sp, #128] ; 16-byte Folded Reload ldp x28, x27, [sp, #112] ; 16-byte Folded Reload add sp, sp, #208 ret LBB0_22: Lloh34: adrp x8, _NGX_LOG_EMERG@GOTPAGE Lloh35: ldr x8, [x8, _NGX_LOG_EMERG@GOTPAGEOFF] Lloh36: ldr w0, [x8] ldr w1, [x20, #4] Lloh37: adrp x3, l_.str@PAGE Lloh38: add x3, x3, l_.str@PAGEOFF add x5, x19, #52 mov w2, #0 ; =0x0 mov x4, x22 bl _ngx_log_error ldr x0, [x25] b LBB0_21 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGot Lloh15, Lloh16 .loh AdrpLdrGot Lloh13, Lloh14 .loh AdrpLdrGot Lloh11, Lloh12 .loh AdrpLdrGot Lloh9, Lloh10 .loh AdrpAdd Lloh20, Lloh21 .loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19 .loh AdrpLdrGot Lloh27, Lloh28 .loh AdrpAdd Lloh25, Lloh26 .loh AdrpLdrGotLdr Lloh22, Lloh23, Lloh24 .loh AdrpLdrGot Lloh29, Lloh30 .loh AdrpLdrGotLdr Lloh31, Lloh32, Lloh33 .loh AdrpAdd Lloh37, Lloh38 .loh AdrpLdrGotLdr Lloh34, Lloh35, Lloh36 .cfi_endproc ; -- End function .comm _NGX_DEFAULT_POOL_SIZE,4,2 ; @NGX_DEFAULT_POOL_SIZE .comm _NGX_ERROR,8,3 ; @NGX_ERROR .comm _NGX_HASH_LARGE,4,2 ; @NGX_HASH_LARGE .comm _NGX_OK,8,3 ; @NGX_OK .comm _NGX_HASH_WILDCARD_KEY,4,2 ; @NGX_HASH_WILDCARD_KEY .comm _NGX_DECLINED,8,3 ; @NGX_DECLINED .comm _NGX_LOG_EMERG,4,2 ; @NGX_LOG_EMERG .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "invalid server name or wildcard \"%V\" on %V" .comm _NGX_BUSY,8,3 ; @NGX_BUSY .comm _NGX_LOG_WARN,4,2 ; @NGX_LOG_WARN l_.str.1: ; @.str.1 .asciz "conflicting server name \"%V\" on %V, ignored" .comm _ngx_hash_key_lc,4,2 ; @ngx_hash_key_lc l_.str.2: ; @.str.2 .asciz "server_names_hash" .comm _ngx_http_cmp_dns_wildcards,4,2 ; @ngx_http_cmp_dns_wildcards .no_dead_strip _ngx_http_server_names .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _GetSubscriptionNotReadyRelations ## -- Begin function GetSubscriptionNotReadyRelations .p2align 4, 0x90 _GetSubscriptionNotReadyRelations: ## @GetSubscriptionNotReadyRelations .cfi_startproc ## %bb.0: 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, %r15d movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -48(%rbp) movq _NIL@GOTPCREL(%rip), %rax movq (%rax), %rbx movq _SubscriptionRelRelationId@GOTPCREL(%rip), %rax movl (%rax), %edi movq _AccessShareLock@GOTPCREL(%rip), %rax movl (%rax), %esi callq _table_open movl %eax, -60(%rbp) ## 4-byte Spill movq _Anum_pg_subscription_rel_srsubid@GOTPCREL(%rip), %rax movl (%rax), %r12d movq _BTEqualStrategyNumber@GOTPCREL(%rip), %rax movl (%rax), %r13d movq _F_OIDEQ@GOTPCREL(%rip), %rax movl (%rax), %r14d movl %r15d, %edi callq _ObjectIdGetDatum leaq -56(%rbp), %rdi movl %r12d, %esi movl %r13d, %edx movl %r14d, %ecx movl %eax, %r8d callq _ScanKeyInit leaq -60(%rbp), %r14 movq _Anum_pg_subscription_rel_srsubstate@GOTPCREL(%rip), %rax movl (%rax), %r12d movq _BTEqualStrategyNumber@GOTPCREL(%rip), %rax movl (%rax), %r13d movq _F_CHARNE@GOTPCREL(%rip), %rax movl (%rax), %r15d movq _SUBREL_STATE_READY@GOTPCREL(%rip), %rax movl (%rax), %edi callq _CharGetDatum movq %r14, %rdi movl %r12d, %esi movl %r13d, %edx movl -60(%rbp), %r13d ## 4-byte Reload movl %r15d, %ecx movl %eax, %r8d callq _ScanKeyInit movq _InvalidOid@GOTPCREL(%rip), %rax movl (%rax), %esi movl %r13d, %edi xorl %edx, %edx xorl %ecx, %ecx xorl %r8d, %r8d leaq -56(%rbp), %r9 callq _systable_beginscan movl %eax, %r15d movl %eax, %edi .p2align 4, 0x90 LBB0_2: ## =>This Inner Loop Header: Depth=1 callq _systable_getnext movl %eax, %r12d movl %eax, %edi callq _HeapTupleIsValid testq %rax, %rax je LBB0_3 ## %bb.1: ## in Loop: Header=BB0_2 Depth=1 movl %r12d, %edi callq _GETSTRUCT movq %rax, %r14 movl $12, %edi callq _palloc movl 8(%r14), %ecx movl %ecx, 8(%rax) movq (%r14), %rcx movq %rcx, (%rax) movq %rbx, %rdi movq %rax, %rsi callq _lappend movq %rax, %rbx movl %r15d, %edi jmp LBB0_2 LBB0_3: movl %r15d, %edi callq _systable_endscan movq _AccessShareLock@GOTPCREL(%rip), %rax movl (%rax), %esi movl %r13d, %edi callq _table_close movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax cmpq -48(%rbp), %rax jne LBB0_5 ## %bb.4: movq %rbx, %rax addq $24, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_5: callq ___stack_chk_fail .cfi_endproc ## -- End function .comm _NIL,8,3 ## @NIL .comm _SubscriptionRelRelationId,4,2 ## @SubscriptionRelRelationId .comm _AccessShareLock,4,2 ## @AccessShareLock .comm _Anum_pg_subscription_rel_srsubid,4,2 ## @Anum_pg_subscription_rel_srsubid .comm _BTEqualStrategyNumber,4,2 ## @BTEqualStrategyNumber .comm _F_OIDEQ,4,2 ## @F_OIDEQ .comm _Anum_pg_subscription_rel_srsubstate,4,2 ## @Anum_pg_subscription_rel_srsubstate .comm _F_CHARNE,4,2 ## @F_CHARNE .comm _SUBREL_STATE_READY,4,2 ## @SUBREL_STATE_READY .comm _InvalidOid,4,2 ## @InvalidOid .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _GetSubscriptionNotReadyRelations ; -- Begin function GetSubscriptionNotReadyRelations .p2align 2 _GetSubscriptionNotReadyRelations: ; @GetSubscriptionNotReadyRelations .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 x21, 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, _NIL@GOTPAGE Lloh4: ldr x8, [x8, _NIL@GOTPAGEOFF] Lloh5: ldr x19, [x8] Lloh6: adrp x8, _SubscriptionRelRelationId@GOTPAGE Lloh7: ldr x8, [x8, _SubscriptionRelRelationId@GOTPAGEOFF] Lloh8: ldr w0, [x8] Lloh9: adrp x25, _AccessShareLock@GOTPAGE Lloh10: ldr x25, [x25, _AccessShareLock@GOTPAGEOFF] ldr w1, [x25] bl _table_open mov x20, x0 Lloh11: adrp x8, _Anum_pg_subscription_rel_srsubid@GOTPAGE Lloh12: ldr x8, [x8, _Anum_pg_subscription_rel_srsubid@GOTPAGEOFF] Lloh13: ldr w22, [x8] Lloh14: adrp x26, _BTEqualStrategyNumber@GOTPAGE Lloh15: ldr x26, [x26, _BTEqualStrategyNumber@GOTPAGEOFF] ldr w23, [x26] Lloh16: adrp x8, _F_OIDEQ@GOTPAGE Lloh17: ldr x8, [x8, _F_OIDEQ@GOTPAGEOFF] Lloh18: ldr w24, [x8] mov x0, x21 bl _ObjectIdGetDatum mov x4, x0 mov x21, sp mov x0, sp mov x1, x22 mov x2, x23 mov x3, x24 bl _ScanKeyInit sub x21, x21, #4 Lloh19: adrp x8, _Anum_pg_subscription_rel_srsubstate@GOTPAGE Lloh20: ldr x8, [x8, _Anum_pg_subscription_rel_srsubstate@GOTPAGEOFF] Lloh21: ldr w22, [x8] ldr w23, [x26] Lloh22: adrp x8, _F_CHARNE@GOTPAGE Lloh23: ldr x8, [x8, _F_CHARNE@GOTPAGEOFF] Lloh24: ldr w24, [x8] Lloh25: adrp x8, _SUBREL_STATE_READY@GOTPAGE Lloh26: ldr x8, [x8, _SUBREL_STATE_READY@GOTPAGEOFF] Lloh27: ldr w0, [x8] bl _CharGetDatum mov x4, x0 mov x0, x21 mov x1, x22 mov x2, x23 mov x3, x24 bl _ScanKeyInit Lloh28: adrp x8, _InvalidOid@GOTPAGE Lloh29: ldr x8, [x8, _InvalidOid@GOTPAGEOFF] Lloh30: ldr w1, [x8] mov x5, sp mov x0, x20 mov w2, #0 ; =0x0 mov x3, #0 ; =0x0 mov w4, #0 ; =0x0 bl _systable_beginscan mov x21, x0 LBB0_1: ; =>This Inner Loop Header: Depth=1 bl _systable_getnext mov x22, x0 bl _HeapTupleIsValid cbz x0, LBB0_3 ; %bb.2: ; in Loop: Header=BB0_1 Depth=1 mov x0, x22 bl _GETSTRUCT mov x22, x0 mov w0, #12 ; =0xc bl _palloc mov x1, x0 ldr w8, [x22, #8] str w8, [x0, #8] ldr d0, [x22] str d0, [x0] mov x0, x19 bl _lappend mov x19, x0 mov x0, x21 b LBB0_1 LBB0_3: mov x0, x21 bl _systable_endscan ldr w1, [x25] mov x0, x20 bl _table_close ldr x8, [sp, #8] Lloh31: adrp x9, ___stack_chk_guard@GOTPAGE Lloh32: ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF] Lloh33: ldr x9, [x9] cmp x9, x8 b.ne LBB0_5 ; %bb.4: 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 LBB0_5: bl ___stack_chk_fail .loh AdrpLdrGotLdr Lloh28, Lloh29, Lloh30 .loh AdrpLdrGotLdr Lloh25, Lloh26, Lloh27 .loh AdrpLdrGotLdr Lloh22, Lloh23, Lloh24 .loh AdrpLdrGotLdr Lloh19, Lloh20, Lloh21 .loh AdrpLdrGotLdr Lloh16, Lloh17, Lloh18 .loh AdrpLdrGot Lloh14, Lloh15 .loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13 .loh AdrpLdrGot Lloh9, Lloh10 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh31, Lloh32, Lloh33 .cfi_endproc ; -- End function .comm _NIL,8,3 ; @NIL .comm _SubscriptionRelRelationId,4,2 ; @SubscriptionRelRelationId .comm _AccessShareLock,4,2 ; @AccessShareLock .comm _Anum_pg_subscription_rel_srsubid,4,2 ; @Anum_pg_subscription_rel_srsubid .comm _BTEqualStrategyNumber,4,2 ; @BTEqualStrategyNumber .comm _F_OIDEQ,4,2 ; @F_OIDEQ .comm _Anum_pg_subscription_rel_srsubstate,4,2 ; @Anum_pg_subscription_rel_srsubstate .comm _F_CHARNE,4,2 ; @F_CHARNE .comm _SUBREL_STATE_READY,4,2 ; @SUBREL_STATE_READY .comm _InvalidOid,4,2 ; @InvalidOid .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _build_bookmark_lists ## -- Begin function build_bookmark_lists .p2align 4, 0x90 _build_bookmark_lists: ## @build_bookmark_lists .cfi_startproc ## %bb.0: 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 _bookmarks_ptr@GOTPCREL(%rip), %rax movl (%rax), %r15d movq _new_users_number@GOTPCREL(%rip), %rbx cmpq $0, (%rbx) sete %al testl %r15d, %r15d setle %cl orb %al, %cl movzbl %cl, %edi callq _assert testl %r15d, %r15d jns LBB0_14 ## %bb.1: movq (%rbx), %rcx xorl %ebx, %ebx movq _MAX_NEW_BOOKMARK_USERS@GOTPCREL(%rip), %rax movq _bookmarks@GOTPCREL(%rip), %r14 LBB0_2: ## =>This Loop Header: Depth=1 ## Child Loop BB0_6 Depth 2 ## Child Loop BB0_8 Depth 3 xorl %edi, %edi cmpq (%rax), %rcx setb %dil callq _assert movq (%r14), %rax movslq %r15d, %rcx shlq $4, %rcx movl (%rax,%rcx), %r12d testl %ebx, %ebx je LBB0_3 ## %bb.4: ## in Loop: Header=BB0_2 Depth=1 movslq %ebx, %rcx shlq $4, %rcx movl (%rax,%rcx), %r13d jmp LBB0_5 LBB0_3: ## in Loop: Header=BB0_2 Depth=1 xorl %r13d, %r13d xorl %eax, %eax callq _next_bookmark_ptr movl %eax, %ebx movq (%r14), %rax LBB0_5: ## in Loop: Header=BB0_2 Depth=1 movl %ebx, %r8d movq _new_users@GOTPCREL(%rip), %rcx movq (%rcx), %rdx movq _new_users_number@GOTPCREL(%rip), %rsi movq (%rsi), %rcx movl %r12d, (%rdx,%rcx,8) movl %ebx, 4(%rdx,%rcx,8) incq %rcx movq %rcx, (%rsi) leaq 16(%rax), %rdx movl %r13d, %ebx LBB0_6: ## Parent Loop BB0_2 Depth=1 ## => This Loop Header: Depth=2 ## Child Loop BB0_8 Depth 3 movslq %r8d, %rsi shlq $4, %rsi movl %r15d, (%rax,%rsi) movslq %r15d, %rsi movq %rsi, %rdi shlq $4, %rdi andl $1, 4(%rax,%rdi) cmpl $-2, %esi jg LBB0_11 ## %bb.7: ## in Loop: Header=BB0_6 Depth=2 movq 8(%rax,%rdi), %r8 incq %rsi leaq (%rdx,%rdi), %r10 .p2align 4, 0x90 LBB0_8: ## Parent Loop BB0_2 Depth=1 ## Parent Loop BB0_6 Depth=2 ## => This Inner Loop Header: Depth=3 movl %esi, %r9d movl (%r10), %r11d cmpq %r8, 8(%r10) jne LBB0_12 ## %bb.9: ## in Loop: Header=BB0_8 Depth=3 cmpl %r12d, %r11d jne LBB0_12 ## %bb.10: ## in Loop: Header=BB0_8 Depth=3 movl %ebx, (%r10) incq %rsi addq $16, %r10 movl %r9d, %ebx testl %esi, %esi jne LBB0_8 jmp LBB0_11 .p2align 4, 0x90 LBB0_12: ## in Loop: Header=BB0_6 Depth=2 movl %r15d, %r8d movl %r9d, %r15d cmpl %r12d, %r11d je LBB0_6 ## %bb.13: ## in Loop: Header=BB0_2 Depth=1 movl $0, (%rax,%rdi) movl %r9d, %r15d testq %rsi, %rsi movq _MAX_NEW_BOOKMARK_USERS@GOTPCREL(%rip), %rax movq _bookmarks@GOTPCREL(%rip), %r14 js LBB0_2 jmp LBB0_14 LBB0_11: movl $0, (%rax,%rdi) LBB0_14: addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _bookmarks_ptr,4,2 ## @bookmarks_ptr .comm _new_users_number,8,3 ## @new_users_number .comm _MAX_NEW_BOOKMARK_USERS,8,3 ## @MAX_NEW_BOOKMARK_USERS .comm _bookmarks,8,3 ## @bookmarks .comm _new_users,8,3 ## @new_users .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _build_bookmark_lists ; -- Begin function build_bookmark_lists .p2align 2 _build_bookmark_lists: ; @build_bookmark_lists .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 Lloh0: adrp x8, _bookmarks_ptr@GOTPAGE Lloh1: ldr x8, [x8, _bookmarks_ptr@GOTPAGEOFF] Lloh2: ldr w21, [x8] Lloh3: adrp x20, _new_users_number@GOTPAGE Lloh4: ldr x20, [x20, _new_users_number@GOTPAGEOFF] ldr x8, [x20] cmp x8, #0 ccmp w21, #1, #8, ne cset w0, lt bl _assert tbz w21, #31, LBB0_13 ; %bb.1: mov w19, #0 ; =0x0 ldr x9, [x20] Lloh5: adrp x22, _MAX_NEW_BOOKMARK_USERS@GOTPAGE Lloh6: ldr x22, [x22, _MAX_NEW_BOOKMARK_USERS@GOTPAGEOFF] Lloh7: adrp x23, _bookmarks@GOTPAGE Lloh8: ldr x23, [x23, _bookmarks@GOTPAGEOFF] Lloh9: adrp x24, _new_users@GOTPAGE Lloh10: ldr x24, [x24, _new_users@GOTPAGEOFF] LBB0_2: ; =>This Loop Header: Depth=1 ; Child Loop BB0_6 Depth 2 ; Child Loop BB0_8 Depth 3 ldr x8, [x22] cmp x9, x8 cset w0, lo bl _assert ldr x8, [x23] mov x9, x21 sbfiz x9, x9, #4, #32 ldr w25, [x8, x9] cbz w19, LBB0_4 ; %bb.3: ; in Loop: Header=BB0_2 Depth=1 sbfiz x9, x19, #4, #32 ldr w11, [x8, x9] b LBB0_5 LBB0_4: ; in Loop: Header=BB0_2 Depth=1 bl _next_bookmark_ptr mov x19, x0 mov w11, #0 ; =0x0 ldr x8, [x23] LBB0_5: ; in Loop: Header=BB0_2 Depth=1 mov x13, x19 ldr x9, [x24] ldr x10, [x20] add x9, x9, x10, lsl #3 stp w25, w19, [x9] add x9, x10, #1 str x9, [x20] add x10, x8, #16 mov x19, x11 LBB0_6: ; Parent Loop BB0_2 Depth=1 ; => This Loop Header: Depth=2 ; Child Loop BB0_8 Depth 3 sbfiz x11, x13, #4, #32 str w21, [x8, x11] sxtw x11, w21 add x12, x8, w21, sxtw #4 ldr w13, [x12, #4] and w13, w13, #0x1 str w13, [x12, #4] cmn w21, #2 b.gt LBB0_12 ; %bb.7: ; in Loop: Header=BB0_6 Depth=2 ldr x13, [x12, #8] add x12, x11, #1 add x14, x10, x11, lsl #4 LBB0_8: ; Parent Loop BB0_2 Depth=1 ; Parent Loop BB0_6 Depth=2 ; => This Inner Loop Header: Depth=3 mov x0, x12 ldr x16, [x14, #8] ldr w15, [x14] cmp x16, x13 ccmp w15, w25, #0, eq b.ne LBB0_10 ; %bb.9: ; in Loop: Header=BB0_8 Depth=3 str w19, [x14], #16 mov x19, x0 add x12, x12, #1 cbnz w12, LBB0_8 b LBB0_12 LBB0_10: ; in Loop: Header=BB0_6 Depth=2 mov x13, x21 mov x21, x0 cmp w15, w25 b.eq LBB0_6 ; %bb.11: ; in Loop: Header=BB0_2 Depth=1 lsl x10, x11, #4 str wzr, [x8, x10] mov x21, x0 tbnz x12, #63, LBB0_2 b LBB0_13 LBB0_12: lsl x9, x11, #4 str wzr, [x8, x9] LBB0_13: ldp x29, x30, [sp, #64] ; 16-byte Folded Reload ldp x20, x19, [sp, #48] ; 16-byte Folded Reload ldp x22, x21, [sp, #32] ; 16-byte Folded Reload ldp x24, x23, [sp, #16] ; 16-byte Folded Reload ldp x26, x25, [sp], #80 ; 16-byte Folded Reload ret .loh AdrpLdrGot Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGot Lloh9, Lloh10 .loh AdrpLdrGot Lloh7, Lloh8 .loh AdrpLdrGot Lloh5, Lloh6 .cfi_endproc ; -- End function .comm _bookmarks_ptr,4,2 ; @bookmarks_ptr .comm _new_users_number,8,3 ; @new_users_number .comm _MAX_NEW_BOOKMARK_USERS,8,3 ; @MAX_NEW_BOOKMARK_USERS .comm _bookmarks,8,3 ; @bookmarks .comm _new_users,8,3 ; @new_users .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 convert_contour LCPI0_0: .long 0x3f000000 ## float 0.5 .long 0x3f000000 ## float 0.5 .space 4 .space 4 .section __TEXT,__text,regular,pure_instructions .p2align 4, 0x90 _convert_contour: ## @convert_contour .cfi_startproc ## %bb.0: 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 %rsi, -96(%rbp) ## 8-byte Spill movq %rdi, -56(%rbp) ## 8-byte Spill movq _coords_count@GOTPCREL(%rip), %r15 movslq (%r15), %r12 testw %dx, %dx je LBB0_1 ## %bb.2: movq %r12, -48(%rbp) ## 8-byte Spill movzwl %dx, %eax movq %rax, -88(%rbp) ## 8-byte Spill xorl %r12d, %r12d xorl %ebx, %ebx xorl %eax, %eax xorl %ecx, %ecx movq -56(%rbp), %r13 ## 8-byte Reload jmp LBB0_3 .p2align 4, 0x90 LBB0_4: ## in Loop: Header=BB0_3 Depth=1 movsbl %dl, %edi orl $1, %edi callq _assert xorl %edi, %edi testl %ebx, %ebx sete %dil callq _assert movq _VG_MOVE_TO@GOTPCREL(%rip), %rax movl (%rax), %eax movq _segments@GOTPCREL(%rip), %rcx movq (%rcx), %rcx movq _segments_count@GOTPCREL(%rip), %rdi movslq (%rdi), %rdx leal 1(%rdx), %esi movl %esi, (%rdi) movl %eax, (%rcx,%rdx,4) xorl %ebx, %ebx LBB0_17: ## in Loop: Header=BB0_3 Depth=1 movl 4(%r13,%r12,8), %edi callq _float_from_26_6 movq _coords@GOTPCREL(%rip), %r14 movq (%r14), %rax movslq (%r15), %rcx leal 1(%rcx), %edx movl %edx, (%r15) movss %xmm0, (%rax,%rcx,4) movl (%r13,%r12,8), %edi callq _float_from_26_6 movq (%r14), %rax movslq (%r15), %rcx leal 1(%rcx), %edx movl %edx, (%r15) movss %xmm0, (%rax,%rcx,4) incq %r12 movb $1, %cl cmpw %r12w, -88(%rbp) ## 2-byte Folded Reload movq -104(%rbp), %rax ## 8-byte Reload je LBB0_18 LBB0_3: ## =>This Inner Loop Header: Depth=1 ## kill: def $al killed $al killed $rax movq -96(%rbp), %rdx ## 8-byte Reload movzbl (%rdx,%r12), %edx testb $1, %cl movq %rdx, -104(%rbp) ## 8-byte Spill je LBB0_4 ## %bb.5: ## in Loop: Header=BB0_3 Depth=1 leal 1(%rbx), %r15d testb $1, %dl jne LBB0_6 ## %bb.12: ## in Loop: Header=BB0_3 Depth=1 testb $2, %dl jne LBB0_13 ## %bb.14: ## in Loop: Header=BB0_3 Depth=1 testb $1, %al jne LBB0_15 ## %bb.16: ## in Loop: Header=BB0_3 Depth=1 xorl %edi, %edi testb $2, %al sete %dil callq _assert xorl %edi, %edi cmpl $2, %r15d sete %dil callq _assert movq _VG_QUAD_TO@GOTPCREL(%rip), %rax movl (%rax), %eax movq _segments@GOTPCREL(%rip), %rcx movq (%rcx), %rcx movq _segments_count@GOTPCREL(%rip), %rdi movslq (%rdi), %rdx leal 1(%rdx), %esi movl %esi, (%rdi) movl %eax, (%rcx,%rdx,4) movq _coords@GOTPCREL(%rip), %rbx movq (%rbx), %rax movq _coords_count@GOTPCREL(%rip), %r15 movslq (%r15), %rcx movq -56(%rbp), %r14 ## 8-byte Reload movl 4(%r14,%r12,8), %edi movss -8(%rax,%rcx,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero movaps %xmm0, -80(%rbp) ## 16-byte Spill callq _float_from_26_6 movaps %xmm0, -128(%rbp) ## 16-byte Spill movq (%rbx), %rax movslq (%r15), %rcx movl (%r14,%r12,8), %edi movaps -80(%rbp), %xmm0 ## 16-byte Reload insertps $16, -4(%rax,%rcx,4), %xmm0 ## xmm0 = xmm0[0],mem[0],xmm0[2,3] movaps %xmm0, -80(%rbp) ## 16-byte Spill callq _float_from_26_6 movq (%rbx), %rax movslq (%r15), %rcx leal 2(%rcx), %edx movl %edx, (%r15) movaps -128(%rbp), %xmm1 ## 16-byte Reload insertps $16, %xmm0, %xmm1 ## xmm1 = xmm1[0],xmm0[0],xmm1[2,3] addps -80(%rbp), %xmm1 ## 16-byte Folded Reload mulps LCPI0_0(%rip), %xmm1 movlps %xmm1, (%rax,%rcx,4) movl $1, %ebx jmp LBB0_17 .p2align 4, 0x90 LBB0_6: ## in Loop: Header=BB0_3 Depth=1 xorl %edi, %edi testb $1, %al jne LBB0_7 ## %bb.9: ## in Loop: Header=BB0_3 Depth=1 testb $2, %al jne LBB0_10 ## %bb.11: ## in Loop: Header=BB0_3 Depth=1 cmpl $2, %r15d sete %dil callq _assert movq _VG_QUAD_TO@GOTPCREL(%rip), %rax jmp LBB0_8 LBB0_13: ## in Loop: Header=BB0_3 Depth=1 xorl %edi, %edi testb $3, %al setne %dil callq _assert LBB0_15: ## in Loop: Header=BB0_3 Depth=1 movl %r15d, %ebx movq _coords_count@GOTPCREL(%rip), %r15 jmp LBB0_17 LBB0_7: ## in Loop: Header=BB0_3 Depth=1 testl %ebx, %ebx sete %dil callq _assert movq _VG_LINE_TO@GOTPCREL(%rip), %rax jmp LBB0_8 LBB0_10: ## in Loop: Header=BB0_3 Depth=1 cmpl $3, %r15d sete %dil callq _assert movq _VG_CUBIC_TO@GOTPCREL(%rip), %rax LBB0_8: ## in Loop: Header=BB0_3 Depth=1 movl (%rax), %eax movq _segments@GOTPCREL(%rip), %rcx movq (%rcx), %rcx movq _segments_count@GOTPCREL(%rip), %rdi movslq (%rdi), %rdx leal 1(%rdx), %esi movl %esi, (%rdi) movl %eax, (%rcx,%rdx,4) xorl %ebx, %ebx movq _coords_count@GOTPCREL(%rip), %r15 jmp LBB0_17 LBB0_18: testb $1, %al jne LBB0_19 ## %bb.20: incl %ebx testb $2, %al jne LBB0_25 ## %bb.21: movq -48(%rbp), %r12 ## 8-byte Reload jmp LBB0_22 LBB0_1: movl $1, %ebx LBB0_22: cmpl $2, %ebx sete %al movq _VG_QUAD_TO@GOTPCREL(%rip), %rbx jmp LBB0_23 LBB0_19: xorl %edi, %edi testl %ebx, %ebx sete %dil callq _assert movq _segments@GOTPCREL(%rip), %rax movq (%rax), %rax jmp LBB0_24 LBB0_25: cmpl $3, %ebx sete %al movq -48(%rbp), %r12 ## 8-byte Reload movq _VG_CUBIC_TO@GOTPCREL(%rip), %rbx LBB0_23: movzbl %al, %edi callq _assert movl (%rbx), %ecx movq _segments@GOTPCREL(%rip), %rax movq (%rax), %rax movq _segments_count@GOTPCREL(%rip), %rdx movslq (%rdx), %rsi leal 1(%rsi), %edi movl %edi, (%rdx) movl %ecx, (%rax,%rsi,4) movq _coords@GOTPCREL(%rip), %rcx movq (%rcx), %rcx movss (%rcx,%r12,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero movslq (%r15), %rdx movss %xmm0, (%rcx,%rdx,4) movss 4(%rcx,%r12,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero leal 2(%rdx), %esi movl %esi, (%r15) movss %xmm0, 4(%rcx,%rdx,4) LBB0_24: movq _VG_CLOSE_PATH@GOTPCREL(%rip), %rcx movl (%rcx), %ecx movq _segments_count@GOTPCREL(%rip), %rdx movslq (%rdx), %rsi leal 1(%rsi), %edi movl %edi, (%rdx) movl %ecx, (%rax,%rsi,4) addq $88, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _coords_count,4,2 ## @coords_count .comm _VG_MOVE_TO,4,2 ## @VG_MOVE_TO .comm _segments,8,3 ## @segments .comm _segments_count,4,2 ## @segments_count .comm _VG_LINE_TO,4,2 ## @VG_LINE_TO .comm _VG_CUBIC_TO,4,2 ## @VG_CUBIC_TO .comm _VG_QUAD_TO,4,2 ## @VG_QUAD_TO .comm _coords,8,3 ## @coords .comm _VG_CLOSE_PATH,4,2 ## @VG_CLOSE_PATH .no_dead_strip _convert_contour .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function convert_contour _convert_contour: ; @convert_contour .cfi_startproc ; %bb.0: sub sp, sp, #144 stp d11, d10, [sp, #16] ; 16-byte Folded Spill stp d9, d8, [sp, #32] ; 16-byte Folded Spill stp x28, x27, [sp, #48] ; 16-byte Folded Spill stp x26, x25, [sp, #64] ; 16-byte Folded Spill stp x24, x23, [sp, #80] ; 16-byte Folded Spill stp x22, x21, [sp, #96] ; 16-byte Folded Spill stp x20, x19, [sp, #112] ; 16-byte Folded Spill stp x29, x30, [sp, #128] ; 16-byte Folded Spill add x29, sp, #128 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset w27, -88 .cfi_offset w28, -96 .cfi_offset b8, -104 .cfi_offset b9, -112 .cfi_offset b10, -120 .cfi_offset b11, -128 Lloh0: adrp x22, _coords_count@GOTPAGE Lloh1: ldr x22, [x22, _coords_count@GOTPAGEOFF] ldrsw x23, [x22] Lloh2: adrp x21, _segments_count@GOTPAGE Lloh3: ldr x21, [x21, _segments_count@GOTPAGEOFF] Lloh4: adrp x25, _coords@GOTPAGE Lloh5: ldr x25, [x25, _coords@GOTPAGEOFF] cbz w2, LBB0_19 ; %bb.1: mov x19, x2 mov x20, x1 str x23, [sp, #8] ; 8-byte Folded Spill mov w24, #0 ; =0x0 mov w8, #0 ; =0x0 mov w9, #0 ; =0x0 add x26, x0, #4 fmov s8, #0.50000000 b LBB0_5 LBB0_2: ; in Loop: Header=BB0_5 Depth=1 orr w0, w27, #0x1 bl _assert cmp w24, #0 cset w0, eq bl _assert mov w24, #0 ; =0x0 Lloh6: adrp x8, _VG_MOVE_TO@GOTPAGE Lloh7: ldr x8, [x8, _VG_MOVE_TO@GOTPAGEOFF] LBB0_3: ; in Loop: Header=BB0_5 Depth=1 ldr w8, [x8] Lloh8: adrp x9, _segments@GOTPAGE Lloh9: ldr x9, [x9, _segments@GOTPAGEOFF] Lloh10: ldr x9, [x9] ldrsw x10, [x21] add w11, w10, #1 str w11, [x21] str w8, [x9, x10, lsl #2] LBB0_4: ; in Loop: Header=BB0_5 Depth=1 ldr w0, [x26] bl _float_from_26_6 ldr x8, [x25] ldrsw x9, [x22] add w10, w9, #1 str w10, [x22] str s0, [x8, x9, lsl #2] ldur w0, [x26, #-4] bl _float_from_26_6 ldr x8, [x25] ldrsw x9, [x22] add w10, w9, #1 str s0, [x8, x9, lsl #2] add x20, x20, #1 sub w19, w19, #1 str w10, [x22] add x26, x26, #8 mov w9, #1 ; =0x1 mov x8, x28 tst w19, #0xffff b.eq LBB0_16 LBB0_5: ; =>This Inner Loop Header: Depth=1 ldrsb w27, [x20] and w28, w27, #0xff tbz w9, #0, LBB0_2 ; %bb.6: ; in Loop: Header=BB0_5 Depth=1 add w23, w24, #1 tbnz w28, #0, LBB0_10 ; %bb.7: ; in Loop: Header=BB0_5 Depth=1 tbnz w28, #1, LBB0_13 ; %bb.8: ; in Loop: Header=BB0_5 Depth=1 mov x24, x23 tbnz w8, #0, LBB0_4 ; %bb.9: ; in Loop: Header=BB0_5 Depth=1 and w8, w8, #0xff mov w24, #1 ; =0x1 bic w0, w24, w8, lsr #1 bl _assert cmp w23, #2 cset w0, eq bl _assert Lloh11: adrp x8, _VG_QUAD_TO@GOTPAGE Lloh12: ldr x8, [x8, _VG_QUAD_TO@GOTPAGEOFF] Lloh13: ldr w8, [x8] Lloh14: adrp x9, _segments@GOTPAGE Lloh15: ldr x9, [x9, _segments@GOTPAGEOFF] Lloh16: ldr x9, [x9] ldrsw x10, [x21] add w11, w10, #1 str w11, [x21] str w8, [x9, x10, lsl #2] ldr x8, [x25] ldrsw x9, [x22] add x8, x8, x9, lsl #2 ldur s9, [x8, #-8] ldr w0, [x26] bl _float_from_26_6 fadd s0, s9, s0 fmul s9, s0, s8 ldr x8, [x25] ldrsw x9, [x22] add x8, x8, x9, lsl #2 ldur s10, [x8, #-4] ldur w0, [x26, #-4] bl _float_from_26_6 fadd s0, s10, s0 fmul s0, s0, s8 ldr x8, [x25] ldrsw x9, [x22] add x8, x8, x9, lsl #2 add w9, w9, #2 str w9, [x22] stp s9, s0, [x8] b LBB0_4 LBB0_10: ; in Loop: Header=BB0_5 Depth=1 tbnz w8, #0, LBB0_14 ; %bb.11: ; in Loop: Header=BB0_5 Depth=1 and w8, w8, #0xff tbnz w8, #1, LBB0_15 ; %bb.12: ; in Loop: Header=BB0_5 Depth=1 cmp w23, #2 cset w0, eq bl _assert mov w24, #0 ; =0x0 Lloh17: adrp x8, _VG_QUAD_TO@GOTPAGE Lloh18: ldr x8, [x8, _VG_QUAD_TO@GOTPAGEOFF] b LBB0_3 LBB0_13: ; in Loop: Header=BB0_5 Depth=1 tst w8, #0x3 cset w0, ne bl _assert mov x24, x23 b LBB0_4 LBB0_14: ; in Loop: Header=BB0_5 Depth=1 cmp w24, #0 cset w0, eq bl _assert mov w24, #0 ; =0x0 Lloh19: adrp x8, _VG_LINE_TO@GOTPAGE Lloh20: ldr x8, [x8, _VG_LINE_TO@GOTPAGEOFF] b LBB0_3 LBB0_15: ; in Loop: Header=BB0_5 Depth=1 cmp w23, #3 cset w0, eq bl _assert mov w24, #0 ; =0x0 Lloh21: adrp x8, _VG_CUBIC_TO@GOTPAGE Lloh22: ldr x8, [x8, _VG_CUBIC_TO@GOTPAGEOFF] b LBB0_3 LBB0_16: tbnz w27, #0, LBB0_22 ; %bb.17: and w9, w27, #0xff add w8, w24, #1 ldr x23, [sp, #8] ; 8-byte Folded Reload tbz w9, #1, LBB0_20 ; %bb.18: cmp w8, #3 cset w0, eq Lloh23: adrp x19, _VG_CUBIC_TO@GOTPAGE Lloh24: ldr x19, [x19, _VG_CUBIC_TO@GOTPAGEOFF] b LBB0_21 LBB0_19: mov w8, #1 ; =0x1 LBB0_20: cmp w8, #2 cset w0, eq Lloh25: adrp x19, _VG_QUAD_TO@GOTPAGE Lloh26: ldr x19, [x19, _VG_QUAD_TO@GOTPAGEOFF] LBB0_21: bl _assert ldr w9, [x19] Lloh27: adrp x8, _segments@GOTPAGE Lloh28: ldr x8, [x8, _segments@GOTPAGEOFF] Lloh29: ldr x8, [x8] ldrsw x10, [x21] add w11, w10, #1 str w11, [x21] str w9, [x8, x10, lsl #2] ldr x9, [x25] add x10, x9, x23, lsl #2 ldr s0, [x10] ldrsw x11, [x22] add x9, x9, x11, lsl #2 str s0, [x9] ldr s0, [x10, #4] add w10, w11, #2 str w10, [x22] str s0, [x9, #4] b LBB0_23 LBB0_22: cmp w24, #0 cset w0, eq bl _assert Lloh30: adrp x8, _segments@GOTPAGE Lloh31: ldr x8, [x8, _segments@GOTPAGEOFF] Lloh32: ldr x8, [x8] LBB0_23: Lloh33: adrp x9, _VG_CLOSE_PATH@GOTPAGE Lloh34: ldr x9, [x9, _VG_CLOSE_PATH@GOTPAGEOFF] Lloh35: ldr w9, [x9] ldrsw x10, [x21] add w11, w10, #1 str w11, [x21] str w9, [x8, x10, lsl #2] ldp x29, x30, [sp, #128] ; 16-byte Folded Reload ldp x20, x19, [sp, #112] ; 16-byte Folded Reload ldp x22, x21, [sp, #96] ; 16-byte Folded Reload ldp x24, x23, [sp, #80] ; 16-byte Folded Reload ldp x26, x25, [sp, #64] ; 16-byte Folded Reload ldp x28, x27, [sp, #48] ; 16-byte Folded Reload ldp d9, d8, [sp, #32] ; 16-byte Folded Reload ldp d11, d10, [sp, #16] ; 16-byte Folded Reload add sp, sp, #144 ret .loh AdrpLdrGot Lloh4, Lloh5 .loh AdrpLdrGot Lloh2, Lloh3 .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGot Lloh6, Lloh7 .loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10 .loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16 .loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13 .loh AdrpLdrGot Lloh17, Lloh18 .loh AdrpLdrGot Lloh19, Lloh20 .loh AdrpLdrGot Lloh21, Lloh22 .loh AdrpLdrGot Lloh23, Lloh24 .loh AdrpLdrGot Lloh25, Lloh26 .loh AdrpLdrGotLdr Lloh27, Lloh28, Lloh29 .loh AdrpLdrGotLdr Lloh30, Lloh31, Lloh32 .loh AdrpLdrGotLdr Lloh33, Lloh34, Lloh35 .cfi_endproc ; -- End function .comm _coords_count,4,2 ; @coords_count .comm _VG_MOVE_TO,4,2 ; @VG_MOVE_TO .comm _segments,8,3 ; @segments .comm _segments_count,4,2 ; @segments_count .comm _VG_LINE_TO,4,2 ; @VG_LINE_TO .comm _VG_CUBIC_TO,4,2 ; @VG_CUBIC_TO .comm _VG_QUAD_TO,4,2 ; @VG_QUAD_TO .comm _coords,8,3 ; @coords .comm _VG_CLOSE_PATH,4,2 ; @VG_CLOSE_PATH .no_dead_strip _convert_contour .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function RemoveEmptyHistograms _RemoveEmptyHistograms: ## @RemoveEmptyHistograms .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp cmpl $0, (%rdi) jle LBB0_5 ## %bb.1: xorl %eax, %eax xorl %ecx, %ecx jmp LBB0_2 .p2align 4, 0x90 LBB0_4: ## in Loop: Header=BB0_2 Depth=1 addq $-8, %rax LBB0_2: ## =>This Inner Loop Header: Depth=1 movq 8(%rdi), %rdx cmpq $0, (%rdx,%rax) jne LBB0_4 ## %bb.3: ## in Loop: Header=BB0_2 Depth=1 movslq %ecx, %rsi incl %ecx movq $0, (%rdx,%rsi,8) jmp LBB0_4 LBB0_5: movl $0, (%rdi) popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _RemoveEmptyHistograms .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function RemoveEmptyHistograms _RemoveEmptyHistograms: ; @RemoveEmptyHistograms .cfi_startproc ; %bb.0: ldr w8, [x0] cmp w8, #1 b.lt LBB0_5 ; %bb.1: mov x8, #0 ; =0x0 mov w9, #0 ; =0x0 b LBB0_3 LBB0_2: ; in Loop: Header=BB0_3 Depth=1 sub x8, x8, #8 LBB0_3: ; =>This Inner Loop Header: Depth=1 ldr x10, [x0, #8] ldr x11, [x10, x8] cbnz x11, LBB0_2 ; %bb.4: ; in Loop: Header=BB0_3 Depth=1 str xzr, [x10, w9, sxtw #3] add w9, w9, #1 b LBB0_2 LBB0_5: str wzr, [x0] ret .cfi_endproc ; -- End function .no_dead_strip _RemoveEmptyHistograms .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function opcall _opcall: ## @opcall .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %rbx pushq %rax .cfi_offset %rbx, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdx, %r15 movq %rsi, %rbx movq %rdi, %r14 movq %rdx, %rdi callq _is_valid_registers movq (%r15), %rcx movl (%rcx), %eax movq _OT_GPREG@GOTPCREL(%rip), %rdx testl %eax, (%rdx) je LBB0_7 ## %bb.1: movl 4(%rcx), %edx movq _X86R_UNDEFINED@GOTPCREL(%rip), %rsi movl $-1, %eax cmpl (%rsi), %edx je LBB0_14 ## %bb.2: cmpl $64, (%r14) je LBB0_5 ## %bb.3: cmpq $0, 32(%rcx) je LBB0_4 LBB0_5: movl $65, (%rbx) LBB0_6: movslq %eax, %rdx movl $255, (%rbx,%rdx,4) movl $208, %esi orl 4(%rcx), %esi leal 2(%rdx), %eax movl %esi, 4(%rbx,%rdx,4) jmp LBB0_14 LBB0_7: movq _OT_MEMORY@GOTPCREL(%rip), %rdx testl %eax, (%rdx) je LBB0_13 ## %bb.8: movq 8(%rcx), %rsi movl (%rsi), %edx movq _X86R_UNDEFINED@GOTPCREL(%rip), %rdi movl $-1, %eax cmpl (%rdi), %edx je LBB0_14 ## %bb.9: movl $255, (%rbx) movl 20(%rcx), %edx imull 16(%rcx), %edx movsbl %dl, %eax xorl %ecx, %ecx cmpl %edx, %eax setne %cl shll $6, %ecx addl $64, %ecx testl %edx, %edx cmovel %edx, %ecx orl (%rsi), %ecx orl $16, %ecx movl %ecx, 4(%rbx) testl %edx, %edx je LBB0_10 ## %bb.11: leal -128(%rdx), %ecx movl %edx, 8(%rbx) movl $3, %eax cmpl $-257, %ecx ## imm = 0xFEFF ja LBB0_14 ## %bb.12: movl %edx, %eax sarl $8, %eax movl %eax, 12(%rbx) movl %edx, %eax sarl $16, %eax movl %eax, 16(%rbx) sarl $24, %edx movl %edx, 20(%rbx) movl $6, %eax jmp LBB0_14 LBB0_13: movl 8(%r14), %eax movl $232, (%rbx) movl 28(%rcx), %edx imull 24(%rcx), %edx subl %eax, %edx addl $5, %edx movl %edx, 4(%rbx) movl %edx, %eax sarl $8, %eax movl %eax, 8(%rbx) movl %edx, %eax sarl $16, %eax movl %eax, 12(%rbx) sarl $24, %edx movl %edx, 16(%rbx) movl $5, %eax jmp LBB0_14 LBB0_4: xorl %eax, %eax jmp LBB0_6 LBB0_10: movl $2, %eax LBB0_14: addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _OT_GPREG,4,2 ## @OT_GPREG .comm _X86R_UNDEFINED,4,2 ## @X86R_UNDEFINED .comm _OT_MEMORY,4,2 ## @OT_MEMORY .no_dead_strip _opcall .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 opcall lCPI0_0: .long 4294967288 ; 0xfffffff8 .long 4294967280 ; 0xfffffff0 .section __TEXT,__text,regular,pure_instructions .p2align 2 _opcall: ; @opcall .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x21, x2 mov x19, x1 mov x20, x0 mov x0, x2 bl _is_valid_registers ldr x8, [x21] ldr w9, [x8] Lloh0: adrp x10, _OT_GPREG@GOTPAGE Lloh1: ldr x10, [x10, _OT_GPREG@GOTPAGEOFF] Lloh2: ldr w10, [x10] tst w10, w9 b.eq LBB0_6 ; %bb.1: ldr w9, [x8, #4] Lloh3: adrp x10, _X86R_UNDEFINED@GOTPAGE Lloh4: ldr x10, [x10, _X86R_UNDEFINED@GOTPAGEOFF] Lloh5: ldr w10, [x10] cmp w9, w10 b.eq LBB0_8 ; %bb.2: ldr w9, [x20] cmp w9, #64 b.eq LBB0_4 ; %bb.3: ldr x9, [x8, #32] cbz x9, LBB0_5 LBB0_4: mov w9, #65 ; =0x41 str w9, [x19] mov w9, #-1 ; =0xffffffff LBB0_5: add x10, x19, w9, sxtw #2 mov w11, #255 ; =0xff str w11, [x10] ldr w8, [x8, #4] mov w11, #208 ; =0xd0 orr w8, w8, w11 add w0, w9, #2 str w8, [x10, #4] b LBB0_15 LBB0_6: Lloh6: adrp x10, _OT_MEMORY@GOTPAGE Lloh7: ldr x10, [x10, _OT_MEMORY@GOTPAGEOFF] Lloh8: ldr w10, [x10] tst w10, w9 b.eq LBB0_9 ; %bb.7: ldr x9, [x8, #8] ldr w10, [x9] Lloh9: adrp x11, _X86R_UNDEFINED@GOTPAGE Lloh10: ldr x11, [x11, _X86R_UNDEFINED@GOTPAGEOFF] Lloh11: ldr w11, [x11] cmp w10, w11 b.ne LBB0_10 LBB0_8: mov w0, #-1 ; =0xffffffff b LBB0_15 LBB0_9: ldr w9, [x20, #8] mov w10, #232 ; =0xe8 str w10, [x19] ldp w10, w8, [x8, #24] neg w9, w9 madd w8, w8, w10, w9 add w8, w8, #5 str w8, [x19, #4] dup.2s v0, w8 Lloh12: adrp x9, lCPI0_0@PAGE Lloh13: ldr d1, [x9, lCPI0_0@PAGEOFF] sshl.2s v0, v0, v1 str d0, [x19, #8] asr w8, w8, #24 str w8, [x19, #16] mov w0, #5 ; =0x5 b LBB0_15 LBB0_10: mov w10, #255 ; =0xff str w10, [x19] ldp w10, w8, [x8, #16] mul w8, w8, w10 cmp w8, w8, sxtb mov w10, #64 ; =0x40 mov w11, #128 ; =0x80 csel w10, w11, w10, ne cmp w8, #0 csel w10, wzr, w10, eq ldr w9, [x9] orr w9, w9, w10 orr w9, w9, #0x10 str w9, [x19, #4] cbz w8, LBB0_13 ; %bb.11: sub w9, w8, #128 str w8, [x19, #8] cmn w9, #257 b.hi LBB0_14 ; %bb.12: dup.2s v0, w8 Lloh14: adrp x9, lCPI0_0@PAGE Lloh15: ldr d1, [x9, lCPI0_0@PAGEOFF] sshl.2s v0, v0, v1 stur d0, [x19, #12] asr w8, w8, #24 str w8, [x19, #20] mov w0, #6 ; =0x6 b LBB0_15 LBB0_13: mov w0, #2 ; =0x2 b LBB0_15 LBB0_14: mov w0, #3 ; =0x3 LBB0_15: 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 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11 .loh AdrpLdr Lloh12, Lloh13 .loh AdrpLdr Lloh14, Lloh15 .cfi_endproc ; -- End function .comm _OT_GPREG,4,2 ; @OT_GPREG .comm _X86R_UNDEFINED,4,2 ; @X86R_UNDEFINED .comm _OT_MEMORY,4,2 ; @OT_MEMORY .no_dead_strip _opcall .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _ff_dv_init_dynamic_tables ## -- Begin function ff_dv_init_dynamic_tables .p2align 4, 0x90 _ff_dv_init_dynamic_tables: ## @ff_dv_init_dynamic_tables .cfi_startproc ## %bb.0: 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, -80(%rbp) ## 8-byte Spill movl (%rsi), %ecx testl %ecx, %ecx jle LBB0_13 ## %bb.1: movq %rsi, %rbx movl 4(%rsi), %eax xorl %r14d, %r14d movl $0, -48(%rbp) ## 4-byte Folded Spill movq $0, -72(%rbp) ## 8-byte Folded Spill movq %rsi, -64(%rbp) ## 8-byte Spill jmp LBB0_2 .p2align 4, 0x90 LBB0_11: ## in Loop: Header=BB0_2 Depth=1 movl (%rbx), %ecx LBB0_12: ## in Loop: Header=BB0_2 Depth=1 movl -48(%rbp), %edx ## 4-byte Reload incl %edx movl %edx, -48(%rbp) ## 4-byte Spill cmpl %ecx, %edx jge LBB0_13 LBB0_2: ## =>This Loop Header: Depth=1 ## Child Loop BB0_4 Depth 2 ## Child Loop BB0_5 Depth 3 testl %eax, %eax jle LBB0_12 ## %bb.3: ## in Loop: Header=BB0_2 Depth=1 xorl %r15d, %r15d jmp LBB0_4 .p2align 4, 0x90 LBB0_10: ## in Loop: Header=BB0_4 Depth=2 incl %r15d movl 4(%rbx), %eax cmpl %eax, %r15d jge LBB0_11 LBB0_4: ## Parent Loop BB0_2 Depth=1 ## => This Loop Header: Depth=2 ## Child Loop BB0_5 Depth 3 cmpl $0, -48(%rbp) ## 4-byte Folded Reload setne %al addl $6, %r14d cmpl $11, %r15d sete %r12b andb %al, %r12b xorl %r13d, %r13d movl %r15d, -52(%rbp) ## 4-byte Spill movb %r12b, -41(%rbp) ## 1-byte Spill jmp LBB0_5 .p2align 4, 0x90 LBB0_8: ## in Loop: Header=BB0_5 Depth=3 movq -80(%rbp), %r15 ## 8-byte Reload movq (%r15), %rax movq -72(%rbp), %r12 ## 8-byte Reload movslq %r12d, %r12 movq %r12, %rbx shlq $4, %rbx movq 8(%rax,%rbx), %r8 movq -64(%rbp), %rdi ## 8-byte Reload movl -48(%rbp), %esi ## 4-byte Reload movl -52(%rbp), %edx ## 4-byte Reload movl %r13d, %ecx callq _dv_calc_mb_coordinates movq (%r15), %rax movl -52(%rbp), %r15d ## 4-byte Reload incl %r12d movq %r12, -72(%rbp) ## 8-byte Spill movzbl -41(%rbp), %r12d ## 1-byte Folded Reload movl %r14d, (%rax,%rbx) movq -64(%rbp), %rbx ## 8-byte Reload LBB0_9: ## in Loop: Header=BB0_5 Depth=3 addl $5, %r14d incl %r13d cmpl $27, %r13d je LBB0_10 LBB0_5: ## Parent Loop BB0_2 Depth=1 ## Parent Loop BB0_4 Depth=2 ## => This Inner Loop Header: Depth=3 movl %r14d, %eax movzbl %r13b, %ecx imull $171, %ecx, %edx shrl $9, %edx leal (%rdx,%rdx,2), %edx negl %edx xorl %r14d, %r14d addb %dl, %cl sete %r14b addl %eax, %r14d movq %rbx, %rdi callq _DV_PROFILE_IS_1080i50 testq %rax, %rax setne %al orb %r12b, %al jne LBB0_9 ## %bb.6: ## in Loop: Header=BB0_5 Depth=3 movq %rbx, %rdi callq _DV_PROFILE_IS_720p50 cmpl $10, %r15d jb LBB0_8 ## %bb.7: ## in Loop: Header=BB0_5 Depth=3 testq %rax, %rax jne LBB0_9 jmp LBB0_8 LBB0_13: xorl %eax, %eax addq $40, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _ff_dv_init_dynamic_tables ; -- Begin function ff_dv_init_dynamic_tables .p2align 2 _ff_dv_init_dynamic_tables: ; @ff_dv_init_dynamic_tables .cfi_startproc ; %bb.0: ldr w9, [x1] cmp w9, #1 b.lt LBB0_14 ; %bb.1: sub sp, sp, #112 stp x28, x27, [sp, #16] ; 16-byte Folded Spill stp x26, x25, [sp, #32] ; 16-byte Folded Spill stp x24, x23, [sp, #48] ; 16-byte Folded Spill stp x22, x21, [sp, #64] ; 16-byte Folded Spill stp x20, x19, [sp, #80] ; 16-byte Folded Spill stp x29, x30, [sp, #96] ; 16-byte Folded Spill add x29, sp, #96 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset w27, -88 .cfi_offset w28, -96 mov x19, x1 mov x20, x0 mov w8, #0 ; =0x0 str wzr, [sp, #12] ; 4-byte Folded Spill mov w24, #0 ; =0x0 ldr w10, [x1, #4] mov w25, #43691 ; =0xaaab movk w25, #43690, lsl #16 mov w26, #21846 ; =0x5556 movk w26, #21845, lsl #16 b LBB0_4 LBB0_2: ; in Loop: Header=BB0_4 Depth=1 ldr w9, [x19] LBB0_3: ; in Loop: Header=BB0_4 Depth=1 ldr w11, [sp, #12] ; 4-byte Folded Reload add w11, w11, #1 str w11, [sp, #12] ; 4-byte Folded Spill cmp w11, w9 b.ge LBB0_13 LBB0_4: ; =>This Loop Header: Depth=1 ; Child Loop BB0_7 Depth 2 ; Child Loop BB0_10 Depth 3 cmp w10, #1 b.lt LBB0_3 ; %bb.5: ; in Loop: Header=BB0_4 Depth=1 mov w22, #0 ; =0x0 b LBB0_7 LBB0_6: ; in Loop: Header=BB0_7 Depth=2 add w22, w22, #1 ldr w10, [x19, #4] cmp w22, w10 b.ge LBB0_2 LBB0_7: ; Parent Loop BB0_4 Depth=1 ; => This Loop Header: Depth=2 ; Child Loop BB0_10 Depth 3 mov w23, #0 ; =0x0 ldr w9, [sp, #12] ; 4-byte Folded Reload cmp w9, #0 add w8, w8, #6 ccmp w22, #11, #0, ne cset w27, eq b LBB0_10 LBB0_8: ; in Loop: Header=BB0_10 Depth=3 ldr x8, [x20] sbfiz x21, x24, #4, #32 add x8, x8, x21 ldr x4, [x8, #8] mov x0, x19 ldr w1, [sp, #12] ; 4-byte Folded Reload mov x2, x22 mov x3, x23 bl _dv_calc_mb_coordinates ldr x8, [x20] add w24, w24, #1 str w28, [x8, x21] LBB0_9: ; in Loop: Header=BB0_10 Depth=3 add w8, w28, #5 add w23, w23, #1 cmp w23, #27 b.eq LBB0_6 LBB0_10: ; Parent Loop BB0_4 Depth=1 ; Parent Loop BB0_7 Depth=2 ; => This Inner Loop Header: Depth=3 and w9, w23, #0xff mul w9, w9, w25 cmp w9, w26 cinc w28, w8, lo mov x0, x19 bl _DV_PROFILE_IS_1080i50 cmp x0, #0 csinc w8, w27, wzr, eq tbnz w8, #0, LBB0_9 ; %bb.11: ; in Loop: Header=BB0_10 Depth=3 mov x0, x19 bl _DV_PROFILE_IS_720p50 cmp w22, #10 b.lo LBB0_8 ; %bb.12: ; in Loop: Header=BB0_10 Depth=3 cbnz x0, LBB0_9 b LBB0_8 LBB0_13: ldp x29, x30, [sp, #96] ; 16-byte Folded Reload ldp x20, x19, [sp, #80] ; 16-byte Folded Reload ldp x22, x21, [sp, #64] ; 16-byte Folded Reload ldp x24, x23, [sp, #48] ; 16-byte Folded Reload ldp x26, x25, [sp, #32] ; 16-byte Folded Reload ldp x28, x27, [sp, #16] ; 16-byte Folded Reload add sp, sp, #112 LBB0_14: mov w0, #0 ; =0x0 ret .cfi_endproc ; -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function arizona_extcon_get_micd_configs _arizona_extcon_get_micd_configs: ## @arizona_extcon_get_micd_configs .cfi_startproc ## %bb.0: 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, %r13 movl 16(%rsi), %edi leaq L_.str(%rip), %rsi callq _device_property_count_u32 testl %eax, %eax jle LBB0_1 ## %bb.2: movl %eax, %r15d movq _GFP_KERNEL@GOTPCREL(%rip), %r12 movl (%r12), %edx movl %eax, %edi movl $8, %esi callq _kcalloc testq %rax, %rax je LBB0_3 ## %bb.4: movq %rax, %r14 movl 16(%rbx), %edi leaq L_.str(%rip), %rsi movq %rax, %rdx movl %r15d, %ecx callq _device_property_read_u32_array testl %eax, %eax movl %eax, -44(%rbp) ## 4-byte Spill js LBB0_13 ## %bb.5: movl %r15d, %eax movq %r12, %rcx movl $2863311531, %r12d ## imm = 0xAAAAAAAB imulq %rax, %r12 shrq $33, %r12 movl (%rcx), %ecx movq %r13, %rdi movl %r12d, %esi movl $24, %edx callq _devm_kcalloc testq %rax, %rax je LBB0_15 ## %bb.6: cmpl $3, %r15d jb LBB0_12 ## %bb.7: xorl %ecx, %ecx cmpq $0, (%r14) movq _ARIZONA_ACCDET_SRC@GOTPCREL(%rip), %rdx movl $0, %esi je LBB0_9 ## %bb.8: movl (%rdx), %esi LBB0_9: movl %esi, 16(%rax) movq 8(%r14), %rsi movq %rsi, 8(%rax) movq 16(%r14), %rsi movq %rsi, (%rax) cmpq $0, 24(%r14) je LBB0_11 ## %bb.10: movl (%rdx), %ecx LBB0_11: movl %ecx, -8(%rax) movq 32(%r14), %rcx movq %rcx, -16(%rax) movq 40(%r14), %rcx movq %rcx, -24(%rax) LBB0_12: movq %rax, 8(%rbx) movl %r12d, (%rbx) jmp LBB0_13 LBB0_1: xorl %eax, %eax jmp LBB0_14 LBB0_3: movq _ENOMEM@GOTPCREL(%rip), %rcx xorl %eax, %eax subl (%rcx), %eax jmp LBB0_14 LBB0_15: movq _ENOMEM@GOTPCREL(%rip), %rax xorl %ecx, %ecx subl (%rax), %ecx movl %ecx, -44(%rbp) ## 4-byte Spill LBB0_13: movq %r14, %rdi callq _kfree movl -44(%rbp), %eax ## 4-byte Reload LBB0_14: 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 "wlf,micd-configs" .comm _GFP_KERNEL,4,2 ## @GFP_KERNEL .comm _ENOMEM,4,2 ## @ENOMEM .comm _ARIZONA_ACCDET_SRC,4,2 ## @ARIZONA_ACCDET_SRC .no_dead_strip _arizona_extcon_get_micd_configs .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function arizona_extcon_get_micd_configs _arizona_extcon_get_micd_configs: ; @arizona_extcon_get_micd_configs .cfi_startproc ; %bb.0: stp x26, x25, [sp, #-80]! ; 16-byte Folded Spill stp x24, x23, [sp, #16] ; 16-byte Folded Spill stp x22, x21, [sp, #32] ; 16-byte Folded Spill stp x20, x19, [sp, #48] ; 16-byte Folded Spill stp x29, x30, [sp, #64] ; 16-byte Folded Spill add x29, sp, #64 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 mov x19, x1 mov x23, x0 ldr w0, [x1, #16] Lloh0: adrp x1, l_.str@PAGE Lloh1: add x1, x1, l_.str@PAGEOFF bl _device_property_count_u32 cmp w0, #1 b.lt LBB0_7 ; %bb.1: mov x22, x0 Lloh2: adrp x25, _GFP_KERNEL@GOTPAGE Lloh3: ldr x25, [x25, _GFP_KERNEL@GOTPAGEOFF] ldr w2, [x25] mov w1, #8 ; =0x8 bl _kcalloc cbz x0, LBB0_8 ; %bb.2: mov x20, x0 ldr w0, [x19, #16] Lloh4: adrp x1, l_.str@PAGE Lloh5: add x1, x1, l_.str@PAGEOFF mov x2, x20 mov x3, x22 bl _device_property_read_u32_array mov x24, x0 tbnz w0, #31, LBB0_10 ; %bb.3: mov w8, #43691 ; =0xaaab movk w8, #43690, lsl #16 umull x8, w22, w8 lsr x21, x8, #33 ldr w3, [x25] mov x0, x23 mov x1, x21 mov w2, #24 ; =0x18 bl _devm_kcalloc cbz x0, LBB0_9 ; %bb.4: cmp w22, #3 b.lo LBB0_6 ; %bb.5: Lloh6: adrp x8, _ARIZONA_ACCDET_SRC@GOTPAGE Lloh7: ldr x8, [x8, _ARIZONA_ACCDET_SRC@GOTPAGEOFF] ldp x9, x10, [x20] cmp x9, #0 ldr w9, [x8] csel w9, wzr, w9, eq str w9, [x0, #16] str x10, [x0, #8] ldr x9, [x20, #16] str x9, [x0] ldr w8, [x8] ldp x9, x10, [x20, #24] cmp x9, #0 csel w8, wzr, w8, eq stur w8, [x0, #-8] stur x10, [x0, #-16] ldr x8, [x20, #40] stur x8, [x0, #-24] LBB0_6: str x0, [x19, #8] str w21, [x19] b LBB0_10 LBB0_7: mov w0, #0 ; =0x0 b LBB0_11 LBB0_8: Lloh8: adrp x8, _ENOMEM@GOTPAGE Lloh9: ldr x8, [x8, _ENOMEM@GOTPAGEOFF] Lloh10: ldr w8, [x8] neg w0, w8 b LBB0_11 LBB0_9: Lloh11: adrp x8, _ENOMEM@GOTPAGE Lloh12: ldr x8, [x8, _ENOMEM@GOTPAGEOFF] Lloh13: ldr w8, [x8] neg w24, w8 LBB0_10: mov x0, x20 bl _kfree mov x0, x24 LBB0_11: ldp x29, x30, [sp, #64] ; 16-byte Folded Reload ldp x20, x19, [sp, #48] ; 16-byte Folded Reload ldp x22, x21, [sp, #32] ; 16-byte Folded Reload ldp x24, x23, [sp, #16] ; 16-byte Folded Reload ldp x26, x25, [sp], #80 ; 16-byte Folded Reload ret .loh AdrpAdd Lloh0, Lloh1 .loh AdrpLdrGot Lloh2, Lloh3 .loh AdrpAdd Lloh4, Lloh5 .loh AdrpLdrGot Lloh6, Lloh7 .loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10 .loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "wlf,micd-configs" .comm _GFP_KERNEL,4,2 ; @GFP_KERNEL .comm _ENOMEM,4,2 ; @ENOMEM .comm _ARIZONA_ACCDET_SRC,4,2 ; @ARIZONA_ACCDET_SRC .no_dead_strip _arizona_extcon_get_micd_configs .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function do_scsi_page83_prespc3_inquiry _do_scsi_page83_prespc3_inquiry: ## @do_scsi_page83_prespc3_inquiry .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdx, %rbx movl %esi, %r13d movq %rdi, %r12 movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -48(%rbp) movq _SCSI_INQ_BUFF_LEN@GOTPCREL(%rip), %rax movl (%rax), %r14d movq %r14, %rax callq ____chkstk_darwin addq $15, %rax andq $-16, %rax subq %rax, %rsp movq %rsp, %r15 movq %r15, %rdi movl %r14d, %esi callq _memzero movq _PAGE_83@GOTPCREL(%rip), %r14 movzbl (%r14), %ecx movq _SCSI_INQ_BUFF_LEN@GOTPCREL(%rip), %rax movl (%rax), %r9d movq %r12, %rdi movl %r13d, %esi movl $1, %edx movq %r15, %r8 callq _scsi_inquiry testl %eax, %eax js LBB0_1 ## %bb.2: movzbl 1(%r15), %eax cmpb (%r14), %al jne LBB0_3 ## %bb.4: cmpb $0, 6(%r15) je LBB0_5 ## %bb.6: movq _hex_str@GOTPCREL(%rip), %r12 movq (%r12), %rax movq _SCSI_ID_NAA@GOTPCREL(%rip), %rcx movq (%rcx), %rcx movzbl (%rax,%rcx), %eax movb %al, (%rbx) movq %rbx, %rdi callq _strlen movzbl 3(%r15), %ecx xorl %r10d, %r10d testq %rcx, %rcx je LBB0_12 ## %bb.7: cltq movl $4, %edx cmpl $1, %ecx je LBB0_10 ## %bb.8: movl %ecx, %esi andl $-2, %esi negq %rsi .p2align 4, 0x90 LBB0_9: ## =>This Inner Loop Header: Depth=1 movq (%r12), %rdi movzbl (%r15,%rdx), %r8d movl %r8d, %r9d shrl $4, %r9d movzbl (%rdi,%r9), %edi movb %dil, (%rbx,%rax) movq (%r12), %rdi andl $15, %r8d movzbl (%rdi,%r8), %edi movb %dil, -1(%rbx,%rax) movq (%r12), %rdi movzbl 1(%r15,%rdx), %r8d movl %r8d, %r9d shrl $4, %r9d movzbl (%rdi,%r9), %edi movb %dil, (%rbx,%rax) movq (%r12), %rdi andl $15, %r8d movzbl (%rdi,%r8), %edi movb %dil, -1(%rbx,%rax) leaq (%rsi,%rdx), %rdi addq $2, %rdi addq $2, %rdx cmpq $4, %rdi jne LBB0_9 LBB0_10: testb $1, %cl je LBB0_12 ## %bb.11: movq (%r12), %rcx movzbl (%r15,%rdx), %edx movl %edx, %esi shrl $4, %esi movzbl (%rcx,%rsi), %ecx movb %cl, (%rbx,%rax) movq (%r12), %rcx andl $15, %edx movzbl (%rcx,%rdx), %ecx movb %cl, -1(%rbx,%rax) jmp LBB0_12 LBB0_1: movl $1, %r10d jmp LBB0_12 LBB0_3: movl (%r12), %esi leaq L_.str(%rip), %rdi callq _log_debug movl $1, %r10d jmp LBB0_12 LBB0_5: movl $2, %r10d LBB0_12: movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax cmpq -48(%rbp), %rax jne LBB0_14 ## %bb.13: movl %r10d, %eax leaq -40(%rbp), %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_14: callq ___stack_chk_fail .cfi_endproc ## -- End function .comm _SCSI_INQ_BUFF_LEN,4,2 ## @SCSI_INQ_BUFF_LEN .comm _PAGE_83,1,0 ## @PAGE_83 .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "%s: Invalid page 0x83" .comm _hex_str,8,3 ## @hex_str .comm _SCSI_ID_NAA,8,3 ## @SCSI_ID_NAA .no_dead_strip _do_scsi_page83_prespc3_inquiry .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function do_scsi_page83_prespc3_inquiry _do_scsi_page83_prespc3_inquiry: ; @do_scsi_page83_prespc3_inquiry .cfi_startproc ; %bb.0: stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill stp x22, x21, [sp, #16] ; 16-byte Folded Spill stp x20, x19, [sp, #32] ; 16-byte Folded Spill stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 sub sp, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 mov x19, x2 mov x23, 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, #-56] Lloh3: adrp x22, _SCSI_INQ_BUFF_LEN@GOTPAGE Lloh4: ldr x22, [x22, _SCSI_INQ_BUFF_LEN@GOTPAGEOFF] ldr w1, [x22] mov x9, x1 Lloh5: adrp x16, ___chkstk_darwin@GOTPAGE Lloh6: ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF] blr x16 mov x8, sp add x9, x1, #15 and x9, x9, #0x1fffffff0 sub x20, x8, x9 mov sp, x20 mov x0, x20 ; kill: def $w1 killed $w1 killed $x1 bl _memzero Lloh7: adrp x24, _PAGE_83@GOTPAGE Lloh8: ldr x24, [x24, _PAGE_83@GOTPAGEOFF] ldrb w3, [x24] ldr w5, [x22] mov w22, #1 ; =0x1 mov x0, x21 mov x1, x23 mov w2, #1 ; =0x1 mov x4, x20 bl _scsi_inquiry tbnz w0, #31, LBB0_9 ; %bb.1: ldrb w8, [x20, #1] ldrb w9, [x24] cmp w8, w9 b.ne LBB0_7 ; %bb.2: ldrb w8, [x20, #6] cbz w8, LBB0_8 ; %bb.3: Lloh9: adrp x21, _hex_str@GOTPAGE Lloh10: ldr x21, [x21, _hex_str@GOTPAGEOFF] ldr x8, [x21] Lloh11: adrp x9, _SCSI_ID_NAA@GOTPAGE Lloh12: ldr x9, [x9, _SCSI_ID_NAA@GOTPAGEOFF] Lloh13: ldr x9, [x9] ldrb w8, [x8, x9] strb w8, [x19] mov x0, x19 bl _strlen ldrb w8, [x20, #3] cbz x8, LBB0_6 ; %bb.4: add x9, x19, w0, sxtw add x10, x20, #4 LBB0_5: ; =>This Inner Loop Header: Depth=1 ldr x11, [x21] ldrb w12, [x10], #1 lsr x13, x12, #4 ldrb w11, [x11, x13] strb w11, [x9] ldr x11, [x21] and x12, x12, #0xf ldrb w11, [x11, x12] sturb w11, [x9, #-1] subs x8, x8, #1 b.ne LBB0_5 LBB0_6: mov w22, #0 ; =0x0 b LBB0_9 LBB0_7: ldr w1, [x21] Lloh14: adrp x0, l_.str@PAGE Lloh15: add x0, x0, l_.str@PAGEOFF bl _log_debug b LBB0_9 LBB0_8: mov w22, #2 ; =0x2 LBB0_9: ldur x8, [x29, #-56] Lloh16: adrp x9, ___stack_chk_guard@GOTPAGE Lloh17: ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF] Lloh18: ldr x9, [x9] cmp x9, x8 b.ne LBB0_11 ; %bb.10: mov x0, x22 sub sp, x29, #48 ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload ldp x24, x23, [sp], #64 ; 16-byte Folded Reload ret LBB0_11: bl ___stack_chk_fail .loh AdrpLdrGot Lloh7, Lloh8 .loh AdrpLdrGot Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13 .loh AdrpLdrGot Lloh9, Lloh10 .loh AdrpAdd Lloh14, Lloh15 .loh AdrpLdrGotLdr Lloh16, Lloh17, Lloh18 .loh AdrpLdrGot Lloh5, Lloh6 .cfi_endproc ; -- End function .comm _SCSI_INQ_BUFF_LEN,4,2 ; @SCSI_INQ_BUFF_LEN .comm _PAGE_83,1,0 ; @PAGE_83 .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "%s: Invalid page 0x83" .comm _hex_str,8,3 ; @hex_str .comm _SCSI_ID_NAA,8,3 ; @SCSI_ID_NAA .no_dead_strip _do_scsi_page83_prespc3_inquiry .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function tokenLength _tokenLength: ## @tokenLength .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $24, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rsi, -48(%rbp) ## 8-byte Spill movq %rdi, %rbx movsbl (%rdi), %edi callq _ISSPACE testq %rax, %rax setne %cl movzbl (%rbx), %eax cmpb $47, %al sete %dl andb %cl, %dl cmpb $1, %dl jne LBB0_15 ## %bb.1: cmpb $42, 1(%rbx) jne LBB0_21 ## %bb.2: movl $2, %r14d movl $1, %ecx LBB0_3: ## =>This Loop Header: Depth=1 ## Child Loop BB0_4 Depth 2 movl %ecx, -52(%rbp) ## 4-byte Spill movq %r14, %r13 shlq $32, %r13 movslq %r14d, %r14 leal -2(%r14), %ecx jmp LBB0_4 .p2align 4, 0x90 LBB0_6: ## in Loop: Header=BB0_4 Depth=2 movq -48(%rbp), %rax ## 8-byte Reload incl (%rax) LBB0_7: ## in Loop: Header=BB0_4 Depth=2 movsbl %r12b, %edi callq _ISSPACE leal -1(%r15), %ecx movabsq $-4294967296, %rdx ## imm = 0xFFFFFFFF00000000 addq %rdx, %r13 decq %r14 testq %rax, %rax je LBB0_8 LBB0_4: ## Parent Loop BB0_3 Depth=1 ## => This Inner Loop Header: Depth=2 movl %ecx, %r15d movzbl (%rbx,%r14), %r12d cmpl $10, %r12d je LBB0_6 ## %bb.5: ## in Loop: Header=BB0_4 Depth=2 testl %r12d, %r12d jne LBB0_7 jmp LBB0_41 .p2align 4, 0x90 LBB0_8: ## in Loop: Header=BB0_3 Depth=1 leaq 1(%r14), %rax movl -52(%rbp), %ecx ## 4-byte Reload testl %ecx, %ecx je LBB0_11 ## %bb.9: ## in Loop: Header=BB0_3 Depth=1 cmpb $42, %r12b jne LBB0_11 ## %bb.10: ## in Loop: Header=BB0_3 Depth=1 sarq $32, %r13 xorl %ecx, %ecx cmpb $47, (%rbx,%r13) setne %cl cmoveq %rax, %r14 jmp LBB0_3 .p2align 4, 0x90 LBB0_11: ## in Loop: Header=BB0_3 Depth=1 testl %ecx, %ecx jne LBB0_14 ## %bb.12: ## in Loop: Header=BB0_3 Depth=1 cmpb $47, %r12b jne LBB0_14 ## %bb.13: ## in Loop: Header=BB0_3 Depth=1 sarq $32, %r13 cmpb $42, (%rbx,%r13) movl $1, %ecx movq %rax, %r14 je LBB0_3 jmp LBB0_41 LBB0_14: ## in Loop: Header=BB0_3 Depth=1 testl %ecx, %ecx movl $1, %ecx jne LBB0_3 jmp LBB0_41 LBB0_15: movzbl %al, %ecx cmpl $34, %ecx je LBB0_18 ## %bb.16: cmpl $45, %ecx je LBB0_24 ## %bb.17: cmpl $39, %ecx jne LBB0_21 LBB0_18: movl $1, %r15d jmp LBB0_19 .p2align 4, 0x90 LBB0_33: ## in Loop: Header=BB0_19 Depth=1 incl %r15d LBB0_19: ## =>This Inner Loop Header: Depth=1 movslq %r15d, %rcx movzbl (%rbx,%rcx), %edx cmpl $10, %edx je LBB0_30 ## %bb.20: ## in Loop: Header=BB0_19 Depth=1 testl %edx, %edx je LBB0_41 ## %bb.31: ## in Loop: Header=BB0_19 Depth=1 cmpb %al, %dl jne LBB0_33 jmp LBB0_32 .p2align 4, 0x90 LBB0_30: ## in Loop: Header=BB0_19 Depth=1 movq -48(%rbp), %rdx ## 8-byte Reload incl (%rdx) movzbl (%rbx,%rcx), %edx cmpb %al, %dl jne LBB0_33 LBB0_32: ## in Loop: Header=BB0_19 Depth=1 leal 1(%rcx), %r15d cmpb %al, 2(%rbx,%rcx) je LBB0_33 jmp LBB0_41 LBB0_21: movzbl 1(%rbx), %r14d LBB0_22: testb %r14b, %r14b je LBB0_23 ## %bb.34: movl $2, %r15d movabsq $576461319239106560, %r12 ## imm = 0x800008400000000 jmp LBB0_35 .p2align 4, 0x90 LBB0_38: ## in Loop: Header=BB0_35 Depth=1 movzbl (%rbx,%r15), %r14d incq %r15 testb %r14b, %r14b je LBB0_39 LBB0_35: ## =>This Inner Loop Header: Depth=1 movsbl %r14b, %edi callq _ISSPACE testq %rax, %rax jne LBB0_39 ## %bb.36: ## in Loop: Header=BB0_35 Depth=1 cmpb $59, %r14b ja LBB0_38 ## %bb.37: ## in Loop: Header=BB0_35 Depth=1 movzbl %r14b, %eax btq %rax, %r12 jae LBB0_38 LBB0_39: decl %r15d jmp LBB0_41 LBB0_23: movl $1, %r15d LBB0_41: movl %r15d, %eax addq $24, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_24: movzbl 1(%rbx), %r14d cmpb $45, %r14b jne LBB0_22 ## %bb.25: movl $2, %eax movl $3, %r15d .p2align 4, 0x90 LBB0_26: ## =>This Inner Loop Header: Depth=1 movzbl (%rbx,%rax), %ecx testl %ecx, %ecx je LBB0_40 ## %bb.27: ## in Loop: Header=BB0_26 Depth=1 cmpl $10, %ecx je LBB0_29 ## %bb.28: ## in Loop: Header=BB0_26 Depth=1 incq %rax incl %r15d jmp LBB0_26 LBB0_29: movq -48(%rbp), %rax ## 8-byte Reload incl (%rax) jmp LBB0_41 LBB0_40: movl %eax, %r15d jmp LBB0_41 .cfi_endproc ## -- End function .no_dead_strip _tokenLength .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function tokenLength _tokenLength: ; @tokenLength .cfi_startproc ; %bb.0: stp x26, x25, [sp, #-80]! ; 16-byte Folded Spill stp x24, x23, [sp, #16] ; 16-byte Folded Spill stp x22, x21, [sp, #32] ; 16-byte Folded Spill stp x20, x19, [sp, #48] ; 16-byte Folded Spill stp x29, x30, [sp, #64] ; 16-byte Folded Spill add x29, sp, #64 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 mov x19, x1 mov x21, x0 ldrsb w0, [x0] bl _ISSPACE ldrb w8, [x21] cbz x0, LBB0_16 ; %bb.1: cmp w8, #47 b.ne LBB0_16 ; %bb.2: ldrb w8, [x21, #1] cmp w8, #42 b.ne LBB0_26 ; %bb.3: mov w8, #1 ; =0x1 mov w24, #2 ; =0x2 mov x23, #-4294967296 ; =0xffffffff00000000 LBB0_4: ; =>This Loop Header: Depth=1 ; Child Loop BB0_7 Depth 2 mov x25, x8 lsl x26, x24, #32 sxtw x24, w24 sub w8, w24, #2 b LBB0_7 LBB0_5: ; in Loop: Header=BB0_7 Depth=2 ldr w9, [x19] add w9, w9, #1 str w9, [x19] LBB0_6: ; in Loop: Header=BB0_7 Depth=2 sxtb w22, w8 mov x0, x22 bl _ISSPACE sub w8, w20, #1 add x26, x26, x23 sub x24, x24, #1 cbz x0, LBB0_9 LBB0_7: ; Parent Loop BB0_4 Depth=1 ; => This Inner Loop Header: Depth=2 mov x20, x8 ldrb w8, [x21, x24] cmp w8, #10 b.eq LBB0_5 ; %bb.8: ; in Loop: Header=BB0_7 Depth=2 cbnz w8, LBB0_6 b LBB0_34 LBB0_9: ; in Loop: Header=BB0_4 Depth=1 add x9, x24, #1 cbz w25, LBB0_12 ; %bb.10: ; in Loop: Header=BB0_4 Depth=1 cmp w22, #42 b.ne LBB0_12 ; %bb.11: ; in Loop: Header=BB0_4 Depth=1 asr x8, x26, #32 ldrb w8, [x21, x8] cmp w8, #47 cset w8, ne csel x24, x24, x9, ne b LBB0_4 LBB0_12: ; in Loop: Header=BB0_4 Depth=1 cbnz w25, LBB0_15 ; %bb.13: ; in Loop: Header=BB0_4 Depth=1 cmp w22, #47 b.ne LBB0_15 ; %bb.14: ; in Loop: Header=BB0_4 Depth=1 asr x8, x26, #32 ldrb w10, [x21, x8] mov w8, #1 ; =0x1 mov x24, x9 cmp w10, #42 b.eq LBB0_4 b LBB0_34 LBB0_15: ; in Loop: Header=BB0_4 Depth=1 mov w8, #1 ; =0x1 cbnz w25, LBB0_4 b LBB0_34 LBB0_16: cmp w8, #34 b.eq LBB0_19 ; %bb.17: cmp w8, #45 b.eq LBB0_35 ; %bb.18: cmp w8, #39 b.ne LBB0_26 LBB0_19: mov w20, #1 ; =0x1 b LBB0_21 LBB0_20: ; in Loop: Header=BB0_21 Depth=1 add w20, w20, #1 LBB0_21: ; =>This Inner Loop Header: Depth=1 add x9, x21, w20, sxtw ldrb w10, [x9] cmp w10, #10 b.eq LBB0_24 ; %bb.22: ; in Loop: Header=BB0_21 Depth=1 cbz w10, LBB0_34 ; %bb.23: ; in Loop: Header=BB0_21 Depth=1 cmp w10, w8 b.ne LBB0_20 b LBB0_25 LBB0_24: ; in Loop: Header=BB0_21 Depth=1 ldr w10, [x19] add w10, w10, #1 str w10, [x19] ldrb w10, [x9] cmp w10, w8 b.ne LBB0_20 LBB0_25: ; in Loop: Header=BB0_21 Depth=1 add w20, w20, #1 ldrb w9, [x9, #2] cmp w9, w8 b.eq LBB0_20 b LBB0_34 LBB0_26: ldrb w22, [x21, #1] LBB0_27: cbz w22, LBB0_33 ; %bb.28: add x19, x21, #2 mov w21, #1 ; =0x1 mov x23, #566935683072 ; =0x8400000000 movk x23, #2048, lsl #48 mov w20, #1 ; =0x1 b LBB0_30 LBB0_29: ; in Loop: Header=BB0_30 Depth=1 add w20, w20, #1 ldrb w22, [x19], #1 cbz w22, LBB0_34 LBB0_30: ; =>This Inner Loop Header: Depth=1 sxtb w0, w22 bl _ISSPACE cbnz x0, LBB0_34 ; %bb.31: ; in Loop: Header=BB0_30 Depth=1 and w8, w22, #0xff cmp w8, #59 b.hi LBB0_29 ; %bb.32: ; in Loop: Header=BB0_30 Depth=1 and x8, x22, #0xff lsl x8, x21, x8 tst x8, x23 b.eq LBB0_29 b LBB0_34 LBB0_33: mov w20, #1 ; =0x1 LBB0_34: 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 LBB0_35: ldrb w22, [x21, #1] cmp w22, #45 b.ne LBB0_27 ; %bb.36: add x8, x21, #2 mov w20, #2 ; =0x2 ldrb w9, [x8], #1 cbz w9, LBB0_34 LBB0_37: ; =>This Inner Loop Header: Depth=1 cmp w9, #10 b.eq LBB0_39 ; %bb.38: ; in Loop: Header=BB0_37 Depth=1 add w20, w20, #1 ldrb w9, [x8], #1 cbnz w9, LBB0_37 b LBB0_34 LBB0_39: ldr w8, [x19] add w8, w8, #1 str w8, [x19] add w20, w20, #1 b LBB0_34 .cfi_endproc ; -- End function .no_dead_strip _tokenLength .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function get_utf8 _get_utf8: ## @get_utf8 .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp ## kill: def $esi killed $esi def $rsi xorl %eax, %eax cmpl %edx, %esi jge LBB0_8 ## %bb.1: leal 1(%rsi), %r9d movslq %esi, %rax movl (%rdi,%rax,4), %r8d cmpl $193, %r8d setl %r10b cmpl %edx, %r9d sete %r11b movl $1, %eax testb %r11b, %r10b jne LBB0_7 ## %bb.2: leal 2(%rsi), %eax movslq %r9d, %r9 movl (%rdi,%r9,4), %r9d orl $63, %r9d cmpl $224, %r8d setl %r10b cmpl %edx, %eax sete %r11b orb %r10b, %r11b cmpb $1, %r11b jne LBB0_4 ## %bb.3: andl $31, %r8d shll $6, %r8d orl %r9d, %r8d movl $2, %eax jmp LBB0_7 LBB0_4: addl $3, %esi cltq movl (%rdi,%rax,4), %eax andl $63, %eax cmpl $240, %r8d setb %r10b cmpl %edx, %esi sete %dl orb %r10b, %dl cmpb $1, %dl jne LBB0_6 ## %bb.5: shll $12, %r8d movzwl %r8w, %edx shll $6, %r9d orl %edx, %r9d orl %eax, %r9d movl $3, %eax movl %r9d, %r8d jmp LBB0_7 LBB0_6: andl $14, %r8d shll $18, %r8d shll $12, %r9d orl %r8d, %r9d shll $6, %eax orl %r9d, %eax movslq %esi, %rdx movl (%rdi,%rdx,4), %r8d andl $63, %r8d orl %eax, %r8d movl $4, %eax LBB0_7: movl %r8d, (%rcx) LBB0_8: popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _get_utf8 .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function get_utf8 _get_utf8: ; @get_utf8 .cfi_startproc ; %bb.0: ; kill: def $w1 killed $w1 def $x1 cmp w1, w2 b.ge LBB0_4 ; %bb.1: sxtw x10, w1 add x9, x10, #1 ldr w8, [x0, w1, sxtw #2] cmp w8, #192 ccmp w9, w2, #0, le b.eq LBB0_5 ; %bb.2: add x11, x10, #2 ldr w9, [x0, x9, lsl #2] orr w9, w9, #0x3f cmp w8, #224 ccmp w11, w2, #4, ge b.ne LBB0_6 ; %bb.3: ubfiz w8, w8, #6, #5 orr w8, w9, w8 mov w0, #2 ; =0x2 str w8, [x3] ret LBB0_4: mov w0, #0 ; =0x0 ret LBB0_5: mov w0, #1 ; =0x1 str w8, [x3] ret LBB0_6: ldr w11, [x0, x11, lsl #2] and w11, w11, #0x3f cmp w8, #240 b.lo LBB0_9 ; %bb.7: add x10, x10, #3 cmp w10, w2 b.eq LBB0_9 ; %bb.8: lsl w8, w8, #18 and w8, w8, #0x380000 orr w8, w8, w9, lsl #12 orr w8, w8, w11, lsl #6 ldr w9, [x0, x10, lsl #2] bfxil w8, w9, #0, #6 mov w0, #4 ; =0x4 str w8, [x3] ret LBB0_9: ubfiz w8, w8, #12, #4 orr w8, w8, w9, lsl #6 orr w8, w8, w11 mov w0, #3 ; =0x3 str w8, [x3] ret .cfi_endproc ; -- End function .no_dead_strip _get_utf8 .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _ptls_asn1_read_type ## -- Begin function ptls_asn1_read_type .p2align 4, 0x90 _ptls_asn1_read_type: ## @ptls_asn1_read_type .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, %esi shrl $5, %esi andl $1, %esi movl %esi, (%rdx) movl %eax, %edx shrl $6, %edx andl $3, %edx movl %edx, (%rcx) andl $31, %eax movl %eax, (%r8) movl $1, %eax popq %rbp retq .cfi_endproc ## -- End function .comm _PTLS_ERROR_BER_MALFORMED_TYPE,4,2 ## @PTLS_ERROR_BER_MALFORMED_TYPE .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _ptls_asn1_read_type ; -- Begin function ptls_asn1_read_type .p2align 2 _ptls_asn1_read_type: ; @ptls_asn1_read_type .cfi_startproc ; %bb.0: ldr w8, [x0] ubfx w9, w8, #5, #1 str w9, [x2] ubfx w9, w8, #6, #2 str w9, [x3] and w8, w8, #0x1f str w8, [x4] mov w0, #1 ; =0x1 ret .cfi_endproc ; -- End function .comm _PTLS_ERROR_BER_MALFORMED_TYPE,4,2 ; @PTLS_ERROR_BER_MALFORMED_TYPE .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function opfiadd _opfiadd: ## @opfiadd .cfi_startproc ## %bb.0: movl $-1, %eax cmpl $1, (%rdx) jne LBB0_8 ## %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 movl (%rdi), %edi orl %edx, %edi je LBB0_7 ## %bb.2: movq _OT_WORD@GOTPCREL(%rip), %rdi testl %edx, (%rdi) je LBB0_4 ## %bb.3: xorl %eax, %eax movq $-4, %rdx movl $222, %edi jmp LBB0_6 LBB0_4: movq _OT_DWORD@GOTPCREL(%rip), %rdi testl %edx, (%rdi) je LBB0_7 ## %bb.5: movl $2, %eax movl $4, %edx movl $218, %edi LBB0_6: movl %edi, (%rsi) movq 8(%rcx), %rcx movl (%rcx), %ecx movl %ecx, (%rsi,%rdx) LBB0_7: popq %rbp LBB0_8: retq .cfi_endproc ## -- End function .comm _OT_MEMORY,4,2 ## @OT_MEMORY .comm _OT_WORD,4,2 ## @OT_WORD .comm _OT_DWORD,4,2 ## @OT_DWORD .no_dead_strip _opfiadd .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function opfiadd _opfiadd: ; @opfiadd .cfi_startproc ; %bb.0: ldr w8, [x2] cmp w8, #1 b.ne LBB0_7 ; %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 w10, w10, w9 cbz w10, LBB0_7 ; %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 ; %bb.3: mov w0, #0 ; =0x0 mov x9, #-4 ; =0xfffffffffffffffc mov w10, #222 ; =0xde b LBB0_6 LBB0_4: Lloh6: adrp x10, _OT_DWORD@GOTPAGE Lloh7: ldr x10, [x10, _OT_DWORD@GOTPAGEOFF] Lloh8: ldr w10, [x10] tst w10, w9 b.eq LBB0_7 ; %bb.5: mov w0, #2 ; =0x2 mov w10, #218 ; =0xda mov w9, #4 ; =0x4 LBB0_6: str w10, [x1] ldr x8, [x8, #8] ldr w8, [x8] str w8, [x1, x9] ret LBB0_7: mov w0, #-1 ; =0xffffffff ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .cfi_endproc ; -- End function .comm _OT_MEMORY,4,2 ; @OT_MEMORY .comm _OT_WORD,4,2 ; @OT_WORD .comm _OT_DWORD,4,2 ; @OT_DWORD .no_dead_strip _opfiadd .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function translate_options _translate_options: ## @translate_options .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $136, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdi, -168(%rbp) ## 8-byte Spill movl (%rdi), %r14d movq %rsi, -160(%rbp) ## 8-byte Spill movq (%rsi), %rbx movl %r14d, %edi shll $4, %edi addl $-32, %edi callq _xmalloc movl %r14d, %r10d movq %rax, %r14 movq %rbx, -80(%rbp) ## 8-byte Spill movq (%rbx), %rax movq %rax, (%r14) testl %r10d, %r10d jle LBB0_72 ## %bb.1: leaq 16(%r14), %rax movq %rax, -152(%rbp) ## 8-byte Spill movq -80(%rbp), %rax ## 8-byte Reload addq $16, %rax movq %rax, -144(%rbp) ## 8-byte Spill movl $1, %r9d movl $1, %r8d movl %r10d, -44(%rbp) ## 4-byte Spill movq %r14, -64(%rbp) ## 8-byte Spill jmp LBB0_4 .p2align 4, 0x90 LBB0_2: ## in Loop: Header=BB0_4 Depth=1 incl %r9d movslq %r8d, %rax incl %r8d movq %r15, (%r14,%rax,8) LBB0_3: ## in Loop: Header=BB0_4 Depth=1 cmpl %r10d, %r9d jg LBB0_73 LBB0_4: ## =>This Loop Header: Depth=1 ## Child Loop BB0_33 Depth 2 ## Child Loop BB0_36 Depth 2 ## Child Loop BB0_10 Depth 2 ## Child Loop BB0_15 Depth 3 movslq %r9d, %r13 movq -80(%rbp), %rax ## 8-byte Reload movq (%rax,%r13,8), %r15 cmpb $45, (%r15) jne LBB0_2 ## %bb.5: ## in Loop: Header=BB0_4 Depth=1 movq %r9, -56(%rbp) ## 8-byte Spill movq %r8, -72(%rbp) ## 8-byte Spill movsbl 1(%r15), %r14d cmpl $45, %r14d jne LBB0_23 ## %bb.6: ## in Loop: Header=BB0_4 Depth=1 movq _option_map@GOTPCREL(%rip), %rax movq (%rax), %rdi callq _ARRAY_SIZE testq %rax, %rax je LBB0_47 ## %bb.7: ## in Loop: Header=BB0_4 Depth=1 movl $24, %eax movq %rax, -120(%rbp) ## 8-byte Spill xorl %r15d, %r15d movq %r13, -96(%rbp) ## 8-byte Spill jmp LBB0_10 .p2align 4, 0x90 LBB0_8: ## in Loop: Header=BB0_10 Depth=2 movq -96(%rbp), %r13 ## 8-byte Reload movq -128(%rbp), %rdi ## 8-byte Reload LBB0_9: ## in Loop: Header=BB0_10 Depth=2 movq -136(%rbp), %r15 ## 8-byte Reload incq %r15 callq _ARRAY_SIZE addq $24, -120(%rbp) ## 8-byte Folded Spill cmpq %rax, %r15 jae LBB0_47 LBB0_10: ## Parent Loop BB0_4 Depth=1 ## => This Loop Header: Depth=2 ## Child Loop BB0_15 Depth 3 movq _option_map@GOTPCREL(%rip), %rax movq (%rax), %rbx movq %r15, -136(%rbp) ## 8-byte Spill leaq (%r15,%r15,2), %r15 movq (%rbx,%r15,8), %rdi movq %rdi, -88(%rbp) ## 8-byte Spill callq _strlen movq %rax, %r14 movq -80(%rbp), %rax ## 8-byte Reload movq (%rax,%r13,8), %r13 movq %r13, %rdi callq _strlen movq %rax, %r12 cmpq %r14, %rax movq %r14, %rdx cmovbq %rax, %rdx movq %rbx, -128(%rbp) ## 8-byte Spill movq %r15, -104(%rbp) ## 8-byte Spill movq 8(%rbx,%r15,8), %rbx testq %rbx, %rbx leaq L_.str(%rip), %rax cmoveq %rax, %rbx movq %r13, %rdi movq -88(%rbp), %rsi ## 8-byte Reload callq _strncmp testl %eax, %eax jne LBB0_8 ## %bb.11: ## in Loop: Header=BB0_10 Depth=2 movq %rbx, -88(%rbp) ## 8-byte Spill cmpq %r14, %r12 movq -96(%rbp), %r13 ## 8-byte Reload movq %r12, %r15 jae LBB0_19 ## %bb.12: ## in Loop: Header=BB0_10 Depth=2 movq %r14, -176(%rbp) ## 8-byte Spill movq -136(%rbp), %rax ## 8-byte Reload leaq 1(%rax), %r12 movq -128(%rbp), %rdi ## 8-byte Reload callq _ARRAY_SIZE cmpq %rax, %r12 jae LBB0_18 ## %bb.13: ## in Loop: Header=BB0_10 Depth=2 movq -120(%rbp), %rbx ## 8-byte Reload movq %r15, -112(%rbp) ## 8-byte Spill jmp LBB0_15 .p2align 4, 0x90 LBB0_14: ## in Loop: Header=BB0_15 Depth=3 incq %r12 movq %r14, %rdi callq _ARRAY_SIZE addq $24, %rbx cmpq %rax, %r12 movq -112(%rbp), %r15 ## 8-byte Reload jae LBB0_18 LBB0_15: ## Parent Loop BB0_4 Depth=1 ## Parent Loop BB0_10 Depth=2 ## => This Inner Loop Header: Depth=3 movq _option_map@GOTPCREL(%rip), %rax movq (%rax), %r14 movq (%r14,%rbx), %r13 movq %r13, %rdi callq _strlen cmpq %r15, %rax jb LBB0_14 ## %bb.16: ## in Loop: Header=BB0_15 Depth=3 movq -80(%rbp), %rax ## 8-byte Reload movq -96(%rbp), %rcx ## 8-byte Reload movq (%rax,%rcx,8), %r15 movq %r15, %rdi movq %r13, %rsi movq -112(%rbp), %rdx ## 8-byte Reload callq _strncmp testl %eax, %eax jne LBB0_14 ## %bb.17: ## in Loop: Header=BB0_10 Depth=2 leaq L_.str.1(%rip), %rdi movq %r15, %rsi callq _error movq -112(%rbp), %r15 ## 8-byte Reload LBB0_18: ## in Loop: Header=BB0_10 Depth=2 movq _option_map@GOTPCREL(%rip), %rax movq (%rax), %rdi callq _ARRAY_SIZE cmpq %rax, %r12 movl -44(%rbp), %r10d ## 4-byte Reload movq -96(%rbp), %r13 ## 8-byte Reload movq -176(%rbp), %r14 ## 8-byte Reload jne LBB0_54 LBB0_19: ## in Loop: Header=BB0_10 Depth=2 cmpq %r14, %r15 jbe LBB0_45 ## %bb.20: ## in Loop: Header=BB0_10 Depth=2 movq -80(%rbp), %rax ## 8-byte Reload movq (%rax,%r13,8), %rax cmpb $61, (%rax,%r14) movq -88(%rbp), %r12 ## 8-byte Reload je LBB0_50 ## %bb.21: ## in Loop: Header=BB0_10 Depth=2 movq %r12, %rdi movl $42, %esi callq _strchr testq %rax, %rax jne LBB0_51 ## %bb.22: ## in Loop: Header=BB0_10 Depth=2 movq _option_map@GOTPCREL(%rip), %rax movq (%rax), %rdi jmp LBB0_9 .p2align 4, 0x90 LBB0_23: ## in Loop: Header=BB0_4 Depth=1 movl %r14d, %edi callq _SWITCH_TAKES_ARG xorl %ecx, %ecx cmpb $0, 2(%r15) setne %cl cmpl %ecx, %eax jle LBB0_25 ## %bb.24: ## in Loop: Header=BB0_4 Depth=1 movl %r14d, %edi callq _SWITCH_TAKES_ARG cmpb $1, 2(%r15) ## kill: def $eax killed $eax def $rax adcl $-1, %eax jmp LBB0_27 LBB0_25: ## in Loop: Header=BB0_4 Depth=1 leaq 1(%r15), %rbx movq %rbx, %rdi callq _WORD_SWITCH_TAKES_ARG testq %rax, %rax je LBB0_39 ## %bb.26: ## in Loop: Header=BB0_4 Depth=1 movq %rbx, %rdi callq _WORD_SWITCH_TAKES_ARG LBB0_27: ## in Loop: Header=BB0_4 Depth=1 incl %eax LBB0_28: ## in Loop: Header=BB0_4 Depth=1 movq -64(%rbp), %r14 ## 8-byte Reload LBB0_29: ## in Loop: Header=BB0_4 Depth=1 movq -56(%rbp), %r9 ## 8-byte Reload leal (%rax,%r9), %edx movl -44(%rbp), %r10d ## 4-byte Reload movl %r10d, %ecx subl %r9d, %ecx cmpl %r10d, %edx cmovlel %eax, %ecx testl %ecx, %ecx jle LBB0_38 ## %bb.30: ## in Loop: Header=BB0_4 Depth=1 cmpl %edx, %r10d cmovll %r10d, %edx movq -72(%rbp), %r8 ## 8-byte Reload movslq %r8d, %r8 notl %r9d addl %edx, %r9d cmpl $3, %r9d jb LBB0_35 ## %bb.31: ## in Loop: Header=BB0_4 Depth=1 leaq (%r14,%r8,8), %rax movq -80(%rbp), %rdx ## 8-byte Reload leaq (%rdx,%r13,8), %rdx subq %rdx, %rax cmpq $32, %rax jb LBB0_35 ## %bb.32: ## in Loop: Header=BB0_4 Depth=1 incq %r9 leaq (,%r8,8), %rax addq -152(%rbp), %rax ## 8-byte Folded Reload leaq (,%r13,8), %rdx addq -144(%rbp), %rdx ## 8-byte Folded Reload movq %r9, %rsi andq $-4, %rsi addq %rsi, %r8 addq %rsi, %r13 subl %esi, %ecx xorl %edi, %edi .p2align 4, 0x90 LBB0_33: ## Parent Loop BB0_4 Depth=1 ## => This Inner Loop Header: Depth=2 movups -16(%rdx,%rdi,8), %xmm0 movups (%rdx,%rdi,8), %xmm1 movups %xmm0, -16(%rax,%rdi,8) movups %xmm1, (%rax,%rdi,8) addq $4, %rdi cmpq %rdi, %rsi jne LBB0_33 ## %bb.34: ## in Loop: Header=BB0_4 Depth=1 cmpq %rsi, %r9 je LBB0_37 LBB0_35: ## in Loop: Header=BB0_4 Depth=1 incl %ecx .p2align 4, 0x90 LBB0_36: ## Parent Loop BB0_4 Depth=1 ## => This Inner Loop Header: Depth=2 movq -80(%rbp), %rax ## 8-byte Reload movq (%rax,%r13,8), %rax incq %r13 movq %rax, (%r14,%r8,8) incq %r8 decl %ecx cmpl $1, %ecx ja LBB0_36 LBB0_37: ## in Loop: Header=BB0_4 Depth=1 movl %r13d, %r9d jmp LBB0_3 LBB0_38: ## in Loop: Header=BB0_4 Depth=1 movq -72(%rbp), %r8 ## 8-byte Reload jmp LBB0_3 LBB0_39: ## in Loop: Header=BB0_4 Depth=1 movzbl %r14b, %eax addl $-66, %eax cmpl $54, %eax ja LBB0_42 ## %bb.40: ## in Loop: Header=BB0_4 Depth=1 movabsq $18014402804449281, %rcx ## imm = 0x40000100000001 btq %rax, %rcx jae LBB0_42 ## %bb.41: ## in Loop: Header=BB0_4 Depth=1 cmpb $0, 2(%r15) je LBB0_55 LBB0_42: ## in Loop: Header=BB0_4 Depth=1 movq %rbx, %rdi leaq L_.str.5(%rip), %rsi callq _strcmp movq %rax, %rcx movl $2, %eax testq %rcx, %rcx movq -64(%rbp), %r14 ## 8-byte Reload je LBB0_29 ## %bb.43: ## in Loop: Header=BB0_4 Depth=1 movq %rbx, %rdi leaq L_.str.6(%rip), %rsi callq _strcmp movq %rax, %rcx movl $2, %eax testq %rcx, %rcx je LBB0_29 ## %bb.44: ## in Loop: Header=BB0_4 Depth=1 movq %rbx, %rdi leaq L_.str.7(%rip), %rsi callq _strcmp cmpq $1, %rax movl $0, %eax adcl $1, %eax jmp LBB0_29 LBB0_45: ## in Loop: Header=BB0_4 Depth=1 movq -88(%rbp), %r12 ## 8-byte Reload movq %r12, %rdi movl $42, %esi callq _strchr testq %rax, %rax je LBB0_56 ## %bb.46: ## in Loop: Header=BB0_4 Depth=1 movq _option_map@GOTPCREL(%rip), %rax movq (%rax), %rax movq -104(%rbp), %rcx ## 8-byte Reload movq (%rax,%rcx,8), %rsi leaq L_.str.2(%rip), %rdi callq _error LBB0_47: ## in Loop: Header=BB0_4 Depth=1 movq -64(%rbp), %r14 ## 8-byte Reload movq -72(%rbp), %r8 ## 8-byte Reload LBB0_48: ## in Loop: Header=BB0_4 Depth=1 movq -56(%rbp), %r9 ## 8-byte Reload LBB0_49: ## in Loop: Header=BB0_4 Depth=1 movl -44(%rbp), %r10d ## 4-byte Reload incl %r9d jmp LBB0_3 LBB0_50: ## in Loop: Header=BB0_4 Depth=1 leaq (%rax,%r14), %rbx incq %rbx jmp LBB0_52 LBB0_51: ## in Loop: Header=BB0_4 Depth=1 movq -80(%rbp), %rax ## 8-byte Reload movq (%rax,%r13,8), %rbx addq %r14, %rbx LBB0_52: ## in Loop: Header=BB0_4 Depth=1 movq %r12, %rdi movl $97, %esi callq _strchr testq %rax, %rax movq -64(%rbp), %r14 ## 8-byte Reload movq -104(%rbp), %r15 ## 8-byte Reload je LBB0_61 ## %bb.53: ## in Loop: Header=BB0_4 Depth=1 testq %rbx, %rbx jne LBB0_65 jmp LBB0_57 LBB0_54: ## in Loop: Header=BB0_4 Depth=1 movq -64(%rbp), %r14 ## 8-byte Reload movq -72(%rbp), %r8 ## 8-byte Reload movq -56(%rbp), %r9 ## 8-byte Reload incl %r9d jmp LBB0_3 LBB0_55: ## in Loop: Header=BB0_4 Depth=1 movl $2, %eax jmp LBB0_28 LBB0_56: ## in Loop: Header=BB0_4 Depth=1 movq %r12, %rdi movl $97, %esi callq _strchr testq %rax, %rax movq -64(%rbp), %r14 ## 8-byte Reload movq -104(%rbp), %r15 ## 8-byte Reload je LBB0_60 LBB0_57: ## in Loop: Header=BB0_4 Depth=1 movq -56(%rbp), %rax ## 8-byte Reload incl %eax cmpl -44(%rbp), %eax ## 4-byte Folded Reload jne LBB0_59 ## %bb.58: ## in Loop: Header=BB0_4 Depth=1 movq _option_map@GOTPCREL(%rip), %rax movq (%rax), %rax movq (%rax,%r15,8), %rsi leaq L_.str.3(%rip), %rdi callq _error movq -56(%rbp), %r9 ## 8-byte Reload movq -72(%rbp), %r8 ## 8-byte Reload jmp LBB0_49 LBB0_59: ## in Loop: Header=BB0_4 Depth=1 movslq %eax, %rcx movq -80(%rbp), %rdx ## 8-byte Reload movq (%rdx,%rcx,8), %rbx jmp LBB0_64 LBB0_60: ## in Loop: Header=BB0_4 Depth=1 xorl %ebx, %ebx LBB0_61: ## in Loop: Header=BB0_4 Depth=1 movq %r12, %rdi movl $42, %esi callq _strchr testq %rax, %rax jne LBB0_63 ## %bb.62: ## in Loop: Header=BB0_4 Depth=1 movq %r12, %rdi movl $111, %esi callq _strchr testq %rax, %rax je LBB0_68 LBB0_63: ## in Loop: Header=BB0_4 Depth=1 movq -56(%rbp), %rax ## 8-byte Reload ## kill: def $eax killed $eax killed $rax LBB0_64: ## in Loop: Header=BB0_4 Depth=1 ## kill: def $eax killed $eax def $rax movq %rax, -56(%rbp) ## 8-byte Spill testq %rbx, %rbx je LBB0_70 LBB0_65: ## in Loop: Header=BB0_4 Depth=1 movq %r12, %rdi movl $106, %esi callq _strchr movq _option_map@GOTPCREL(%rip), %rcx movq (%rcx), %rcx movq 16(%rcx,%r15,8), %rdi testq %rax, %rax je LBB0_67 ## %bb.66: ## in Loop: Header=BB0_4 Depth=1 movq %rbx, %rsi xorl %edx, %edx callq _concat jmp LBB0_71 LBB0_67: ## in Loop: Header=BB0_4 Depth=1 movq -72(%rbp), %r8 ## 8-byte Reload movslq %r8d, %rax movq %rdi, (%r14,%rax,8) addl $2, %r8d movq %rbx, 8(%r14,%rax,8) jmp LBB0_48 LBB0_68: ## in Loop: Header=BB0_4 Depth=1 testq %rbx, %rbx je LBB0_70 ## %bb.69: ## in Loop: Header=BB0_4 Depth=1 movq _option_map@GOTPCREL(%rip), %rax movq (%rax), %rax movq (%rax,%r15,8), %rsi leaq L_.str.4(%rip), %rdi callq _error LBB0_70: ## in Loop: Header=BB0_4 Depth=1 movq _option_map@GOTPCREL(%rip), %rax movq (%rax), %rax movq 16(%rax,%r15,8), %rax LBB0_71: ## in Loop: Header=BB0_4 Depth=1 movq -72(%rbp), %r8 ## 8-byte Reload movslq %r8d, %rcx incl %r8d movq %rax, (%r14,%rcx,8) jmp LBB0_48 LBB0_72: movl $1, %r8d LBB0_73: movslq %r8d, %rax movq $0, (%r14,%rax,8) movq -160(%rbp), %rcx ## 8-byte Reload movq %r14, (%rcx) movq -168(%rbp), %rcx ## 8-byte Reload movl %eax, (%rcx) addq $136, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _option_map,8,3 ## @option_map .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .space 1 L_.str.1: ## @.str.1 .asciz "ambiguous abbreviation %s" L_.str.2: ## @.str.2 .asciz "incomplete '%s' option" L_.str.3: ## @.str.3 .asciz "missing argument to '%s' option" L_.str.4: ## @.str.4 .asciz "extraneous argument to '%s' option" L_.str.5: ## @.str.5 .asciz "Xlinker" L_.str.6: ## @.str.6 .asciz "Xpreprocessor" L_.str.7: ## @.str.7 .asciz "Xassembler" .comm _target_option_translations,8,3 ## @target_option_translations .no_dead_strip _translate_options .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function translate_options _translate_options: ; @translate_options .cfi_startproc ; %bb.0: sub sp, sp, #176 stp x28, x27, [sp, #80] ; 16-byte Folded Spill stp x26, x25, [sp, #96] ; 16-byte Folded Spill stp x24, x23, [sp, #112] ; 16-byte Folded Spill stp x22, x21, [sp, #128] ; 16-byte Folded Spill stp x20, x19, [sp, #144] ; 16-byte Folded Spill stp x29, x30, [sp, #160] ; 16-byte Folded Spill add x29, sp, #160 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset w27, -88 .cfi_offset w28, -96 stp x1, x0, [sp, #16] ; 16-byte Folded Spill ldr w21, [x0] ldr x23, [x1] lsl w8, w21, #4 sub w0, w8, #32 bl _xmalloc mov x19, x0 ldr x8, [x23] str x8, [x0] mov w25, #1 ; =0x1 cmp w21, #1 b.lt LBB0_67 ; %bb.1: add x9, x23, #32 add x8, x19, #32 stp x8, x9, [sp] ; 16-byte Folded Spill mov x11, x25 mov x9, x25 str x19, [sp, #32] ; 8-byte Folded Spill str w21, [sp, #44] ; 4-byte Folded Spill str x23, [sp, #72] ; 8-byte Folded Spill b LBB0_4 LBB0_2: ; in Loop: Header=BB0_4 Depth=1 add w11, w11, #1 str x20, [x19, w9, sxtw #3] add w8, w9, #1 mov x9, x8 LBB0_3: ; in Loop: Header=BB0_4 Depth=1 cmp w11, w21 b.gt LBB0_68 LBB0_4: ; =>This Loop Header: Depth=1 ; Child Loop BB0_37 Depth 2 ; Child Loop BB0_40 Depth 2 ; Child Loop BB0_9 Depth 2 ; Child Loop BB0_14 Depth 3 ldr x20, [x23, w11, sxtw #3] ldrb w8, [x20] cmp w8, #45 b.ne LBB0_2 ; %bb.5: ; in Loop: Header=BB0_4 Depth=1 stp x9, x11, [sp, #56] ; 16-byte Folded Spill sxtw x22, w11 mov x23, x20 ldrsb w24, [x23, #1]! cmp w24, #45 b.ne LBB0_22 ; %bb.6: ; in Loop: Header=BB0_4 Depth=1 Lloh0: adrp x8, _option_map@GOTPAGE Lloh1: ldr x8, [x8, _option_map@GOTPAGEOFF] Lloh2: ldr x0, [x8] bl _ARRAY_SIZE cbz x0, LBB0_26 ; %bb.7: ; in Loop: Header=BB0_4 Depth=1 mov x21, #0 ; =0x0 mov w19, #24 ; =0x18 ldr x23, [sp, #72] ; 8-byte Folded Reload b LBB0_9 LBB0_8: ; in Loop: Header=BB0_9 Depth=2 add x21, x21, #1 mov x0, x25 bl _ARRAY_SIZE add x19, x19, #24 cmp x21, x0 b.hs LBB0_45 LBB0_9: ; Parent Loop BB0_4 Depth=1 ; => This Loop Header: Depth=2 ; Child Loop BB0_14 Depth 3 Lloh3: adrp x8, _option_map@GOTPAGE Lloh4: ldr x8, [x8, _option_map@GOTPAGEOFF] Lloh5: ldr x25, [x8] mov w8, #24 ; =0x18 madd x20, x21, x8, x25 ldr x26, [x20] mov x0, x26 bl _strlen mov x24, x0 ldr x27, [x23, x22, lsl #3] mov x0, x27 bl _strlen mov x28, x0 cmp x0, x24 csel x2, x0, x24, lo ldr x8, [x20, #8] cmp x8, #0 Lloh6: adrp x9, l_.str@PAGE Lloh7: add x9, x9, l_.str@PAGEOFF csel x20, x9, x8, eq mov x0, x27 mov x1, x26 bl _strncmp cbnz w0, LBB0_8 ; %bb.10: ; in Loop: Header=BB0_9 Depth=2 cmp x28, x24 b.hs LBB0_18 ; %bb.11: ; in Loop: Header=BB0_9 Depth=2 str x20, [sp, #48] ; 8-byte Folded Spill add x23, x21, #1 mov x0, x25 bl _ARRAY_SIZE cmp x23, x0 b.hs LBB0_17 ; %bb.12: ; in Loop: Header=BB0_9 Depth=2 mov x20, x19 b LBB0_14 LBB0_13: ; in Loop: Header=BB0_14 Depth=3 add x23, x23, #1 mov x0, x25 bl _ARRAY_SIZE add x20, x20, #24 cmp x23, x0 b.hs LBB0_17 LBB0_14: ; Parent Loop BB0_4 Depth=1 ; Parent Loop BB0_9 Depth=2 ; => This Inner Loop Header: Depth=3 Lloh8: adrp x8, _option_map@GOTPAGE Lloh9: ldr x8, [x8, _option_map@GOTPAGEOFF] Lloh10: ldr x25, [x8] ldr x27, [x25, x20] mov x0, x27 bl _strlen cmp x0, x28 b.lo LBB0_13 ; %bb.15: ; in Loop: Header=BB0_14 Depth=3 ldr x8, [sp, #72] ; 8-byte Folded Reload ldr x26, [x8, x22, lsl #3] mov x0, x26 mov x1, x27 mov x2, x28 bl _strncmp cbnz w0, LBB0_13 ; %bb.16: ; in Loop: Header=BB0_9 Depth=2 Lloh11: adrp x0, l_.str.1@PAGE Lloh12: add x0, x0, l_.str.1@PAGEOFF mov x1, x26 bl _error LBB0_17: ; in Loop: Header=BB0_9 Depth=2 Lloh13: adrp x8, _option_map@GOTPAGE Lloh14: ldr x8, [x8, _option_map@GOTPAGEOFF] Lloh15: ldr x0, [x8] bl _ARRAY_SIZE cmp x23, x0 ldr x23, [sp, #72] ; 8-byte Folded Reload ldr x20, [sp, #48] ; 8-byte Folded Reload b.ne LBB0_45 LBB0_18: ; in Loop: Header=BB0_9 Depth=2 cmp x28, x24 b.ls LBB0_43 ; %bb.19: ; in Loop: Header=BB0_9 Depth=2 ldr x8, [x23, x22, lsl #3] ldrb w9, [x8, x24] cmp w9, #61 b.eq LBB0_46 ; %bb.20: ; in Loop: Header=BB0_9 Depth=2 mov x0, x20 mov w1, #42 ; =0x2a bl _strchr cbnz x0, LBB0_47 ; %bb.21: ; in Loop: Header=BB0_9 Depth=2 Lloh16: adrp x8, _option_map@GOTPAGE Lloh17: ldr x8, [x8, _option_map@GOTPAGEOFF] Lloh18: ldr x25, [x8] b LBB0_8 LBB0_22: ; in Loop: Header=BB0_4 Depth=1 mov x0, x24 bl _SWITCH_TAKES_ARG ldrb w8, [x20, #2] cmp w8, #0 cset w8, ne cmp w0, w8 b.le LBB0_24 ; %bb.23: ; in Loop: Header=BB0_4 Depth=1 mov x0, x24 bl _SWITCH_TAKES_ARG ldrb w8, [x20, #2] cmp w8, #0 cset w8, ne sub w8, w0, w8 add w8, w8, #1 b LBB0_33 LBB0_24: ; in Loop: Header=BB0_4 Depth=1 mov x0, x23 bl _WORD_SWITCH_TAKES_ARG cbz x0, LBB0_27 ; %bb.25: ; in Loop: Header=BB0_4 Depth=1 mov x0, x23 bl _WORD_SWITCH_TAKES_ARG add w8, w0, #1 b LBB0_33 LBB0_26: ; in Loop: Header=BB0_4 Depth=1 ldr x23, [sp, #72] ; 8-byte Folded Reload ldr x9, [sp, #56] ; 8-byte Folded Reload b LBB0_66 LBB0_27: ; in Loop: Header=BB0_4 Depth=1 and w8, w24, #0xff sub w8, w8, #66 cmp w8, #54 lsl x8, x25, x8 mov x9, #4294967297 ; =0x100000001 movk x9, #64, lsl #48 and x8, x8, x9 ccmp x8, #0, #4, ls b.eq LBB0_29 ; %bb.28: ; in Loop: Header=BB0_4 Depth=1 ldrb w8, [x20, #2] cbz w8, LBB0_32 LBB0_29: ; in Loop: Header=BB0_4 Depth=1 mov x0, x23 Lloh19: adrp x1, l_.str.5@PAGE Lloh20: add x1, x1, l_.str.5@PAGEOFF bl _strcmp cbz x0, LBB0_32 ; %bb.30: ; in Loop: Header=BB0_4 Depth=1 mov x0, x23 Lloh21: adrp x1, l_.str.6@PAGE Lloh22: add x1, x1, l_.str.6@PAGEOFF bl _strcmp cbz x0, LBB0_32 ; %bb.31: ; in Loop: Header=BB0_4 Depth=1 mov x0, x23 Lloh23: adrp x1, l_.str.7@PAGE Lloh24: add x1, x1, l_.str.7@PAGEOFF bl _strcmp cmp x0, #0 cinc w8, w25, eq b LBB0_33 LBB0_32: ; in Loop: Header=BB0_4 Depth=1 mov w8, #2 ; =0x2 LBB0_33: ; in Loop: Header=BB0_4 Depth=1 ldp x11, x23, [sp, #64] ; 16-byte Folded Reload sub w9, w21, w11 add w10, w8, w11 cmp w10, w21 csel w9, w9, w8, gt cmp w9, #1 b.lt LBB0_42 ; %bb.34: ; in Loop: Header=BB0_4 Depth=1 ldr x8, [sp, #56] ; 8-byte Folded Reload sxtw x8, w8 cmp w21, w10 csel w10, w21, w10, lt mvn w11, w11 add w10, w10, w11 cmp w10, #7 b.lo LBB0_39 ; %bb.35: ; in Loop: Header=BB0_4 Depth=1 lsl x13, x8, #3 lsl x12, x22, #3 add x11, x13, x19 add x14, x12, x23 sub x11, x11, x14 cmp x11, #64 b.lo LBB0_39 ; %bb.36: ; in Loop: Header=BB0_4 Depth=1 add x10, x10, #1 and x11, x10, #0x1fffffff8 add x8, x11, x8 add x22, x11, x22 sub w9, w9, w11 ldp x14, x15, [sp] ; 16-byte Folded Reload add x12, x15, x12 add x13, x14, x13 mov x14, x11 LBB0_37: ; Parent Loop BB0_4 Depth=1 ; => This Inner Loop Header: Depth=2 ldp q0, q1, [x12, #-32] ldp q2, q3, [x12], #64 stp q0, q1, [x13, #-32] stp q2, q3, [x13], #64 subs x14, x14, #8 b.ne LBB0_37 ; %bb.38: ; in Loop: Header=BB0_4 Depth=1 cmp x10, x11 b.eq LBB0_41 LBB0_39: ; in Loop: Header=BB0_4 Depth=1 add w9, w9, #1 mov x10, x8 mov x11, x22 LBB0_40: ; Parent Loop BB0_4 Depth=1 ; => This Inner Loop Header: Depth=2 add x22, x11, #1 ldr x11, [x23, x11, lsl #3] add x8, x10, #1 str x11, [x19, x10, lsl #3] sub w9, w9, #1 mov x10, x8 mov x11, x22 cmp w9, #1 b.hi LBB0_40 LBB0_41: ; in Loop: Header=BB0_4 Depth=1 mov x9, x8 mov x11, x22 b LBB0_3 LBB0_42: ; in Loop: Header=BB0_4 Depth=1 ldr x9, [sp, #56] ; 8-byte Folded Reload b LBB0_3 LBB0_43: ; in Loop: Header=BB0_4 Depth=1 mov x0, x20 mov w1, #42 ; =0x2a bl _strchr cbz x0, LBB0_50 ; %bb.44: ; in Loop: Header=BB0_4 Depth=1 Lloh25: adrp x8, _option_map@GOTPAGE Lloh26: ldr x8, [x8, _option_map@GOTPAGEOFF] Lloh27: ldr x8, [x8] mov w9, #24 ; =0x18 mul x9, x21, x9 ldr x1, [x8, x9] Lloh28: adrp x0, l_.str.2@PAGE Lloh29: add x0, x0, l_.str.2@PAGEOFF bl _error LBB0_45: ; in Loop: Header=BB0_4 Depth=1 ldr x19, [sp, #32] ; 8-byte Folded Reload ldr w21, [sp, #44] ; 4-byte Folded Reload mov w25, #1 ; =0x1 ldr x9, [sp, #56] ; 8-byte Folded Reload b LBB0_66 LBB0_46: ; in Loop: Header=BB0_4 Depth=1 add x8, x8, x24 add x24, x8, #1 b LBB0_48 LBB0_47: ; in Loop: Header=BB0_4 Depth=1 ldr x8, [x23, x22, lsl #3] add x24, x8, x24 LBB0_48: ; in Loop: Header=BB0_4 Depth=1 mov x0, x20 mov w1, #97 ; =0x61 bl _strchr ldr x19, [sp, #32] ; 8-byte Folded Reload mov w25, #1 ; =0x1 cbz x0, LBB0_55 ; %bb.49: ; in Loop: Header=BB0_4 Depth=1 cbnz x24, LBB0_58 b LBB0_51 LBB0_50: ; in Loop: Header=BB0_4 Depth=1 mov x0, x20 mov w1, #97 ; =0x61 bl _strchr ldr x19, [sp, #32] ; 8-byte Folded Reload mov w25, #1 ; =0x1 cbz x0, LBB0_54 LBB0_51: ; in Loop: Header=BB0_4 Depth=1 add x8, x22, #1 ldr w9, [sp, #44] ; 4-byte Folded Reload cmp w8, w9 b.ne LBB0_53 ; %bb.52: ; in Loop: Header=BB0_4 Depth=1 Lloh30: adrp x8, _option_map@GOTPAGE Lloh31: ldr x8, [x8, _option_map@GOTPAGEOFF] Lloh32: ldr x8, [x8] mov w9, #24 ; =0x18 mul x9, x21, x9 ldr x1, [x8, x9] Lloh33: adrp x0, l_.str.3@PAGE Lloh34: add x0, x0, l_.str.3@PAGEOFF bl _error ldr w21, [sp, #44] ; 4-byte Folded Reload ldr x9, [sp, #56] ; 8-byte Folded Reload b LBB0_66 LBB0_53: ; in Loop: Header=BB0_4 Depth=1 ldr x24, [x23, x8, lsl #3] ; kill: def $w8 killed $w8 killed $x8 def $x8 str x8, [sp, #64] ; 8-byte Folded Spill cbnz x24, LBB0_58 b LBB0_63 LBB0_54: ; in Loop: Header=BB0_4 Depth=1 mov x24, #0 ; =0x0 LBB0_55: ; in Loop: Header=BB0_4 Depth=1 mov x0, x20 mov w1, #42 ; =0x2a bl _strchr cbnz x0, LBB0_57 ; %bb.56: ; in Loop: Header=BB0_4 Depth=1 mov x0, x20 mov w1, #111 ; =0x6f bl _strchr cbz x0, LBB0_61 LBB0_57: ; in Loop: Header=BB0_4 Depth=1 ldr x8, [sp, #64] ; 8-byte Folded Reload ; kill: def $w8 killed $w8 killed $x8 def $x8 ; kill: def $w8 killed $w8 killed $x8 def $x8 str x8, [sp, #64] ; 8-byte Folded Spill cbz x24, LBB0_63 LBB0_58: ; in Loop: Header=BB0_4 Depth=1 mov x0, x20 mov w1, #106 ; =0x6a bl _strchr mov x8, x0 Lloh35: adrp x9, _option_map@GOTPAGE Lloh36: ldr x9, [x9, _option_map@GOTPAGEOFF] Lloh37: ldr x9, [x9] mov w10, #24 ; =0x18 madd x9, x21, x10, x9 ldr x0, [x9, #16] cbz x8, LBB0_60 ; %bb.59: ; in Loop: Header=BB0_4 Depth=1 mov x1, x24 mov x2, #0 ; =0x0 bl _concat ldr x8, [sp, #56] ; 8-byte Folded Reload str x0, [x19, w8, sxtw #3] add w8, w8, #1 b LBB0_64 LBB0_60: ; in Loop: Header=BB0_4 Depth=1 ldr x9, [sp, #56] ; 8-byte Folded Reload add x8, x19, w9, sxtw #3 add w9, w9, #2 stp x0, x24, [x8] b LBB0_65 LBB0_61: ; in Loop: Header=BB0_4 Depth=1 cbz x24, LBB0_63 ; %bb.62: ; in Loop: Header=BB0_4 Depth=1 Lloh38: adrp x8, _option_map@GOTPAGE Lloh39: ldr x8, [x8, _option_map@GOTPAGEOFF] Lloh40: ldr x8, [x8] mov w9, #24 ; =0x18 mul x9, x21, x9 ldr x1, [x8, x9] Lloh41: adrp x0, l_.str.4@PAGE Lloh42: add x0, x0, l_.str.4@PAGEOFF bl _error LBB0_63: ; in Loop: Header=BB0_4 Depth=1 Lloh43: adrp x8, _option_map@GOTPAGE Lloh44: ldr x8, [x8, _option_map@GOTPAGEOFF] Lloh45: ldr x8, [x8] mov w9, #24 ; =0x18 madd x8, x21, x9, x8 ldr x8, [x8, #16] ldr x9, [sp, #56] ; 8-byte Folded Reload str x8, [x19, w9, sxtw #3] add w8, w9, #1 LBB0_64: ; in Loop: Header=BB0_4 Depth=1 mov x9, x8 LBB0_65: ; in Loop: Header=BB0_4 Depth=1 ldr w21, [sp, #44] ; 4-byte Folded Reload LBB0_66: ; in Loop: Header=BB0_4 Depth=1 ldr x11, [sp, #64] ; 8-byte Folded Reload add w11, w11, #1 b LBB0_3 LBB0_67: mov x9, x25 LBB0_68: str xzr, [x19, w9, sxtw #3] ldp x10, x8, [sp, #16] ; 16-byte Folded Reload str x19, [x10] str w9, [x8] ldp x29, x30, [sp, #160] ; 16-byte Folded Reload ldp x20, x19, [sp, #144] ; 16-byte Folded Reload ldp x22, x21, [sp, #128] ; 16-byte Folded Reload ldp x24, x23, [sp, #112] ; 16-byte Folded Reload ldp x26, x25, [sp, #96] ; 16-byte Folded Reload ldp x28, x27, [sp, #80] ; 16-byte Folded Reload add sp, sp, #176 ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpAdd Lloh6, Lloh7 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10 .loh AdrpAdd Lloh11, Lloh12 .loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh15 .loh AdrpLdrGotLdr Lloh16, Lloh17, Lloh18 .loh AdrpAdd Lloh19, Lloh20 .loh AdrpAdd Lloh21, Lloh22 .loh AdrpAdd Lloh23, Lloh24 .loh AdrpAdd Lloh28, Lloh29 .loh AdrpLdrGotLdr Lloh25, Lloh26, Lloh27 .loh AdrpAdd Lloh33, Lloh34 .loh AdrpLdrGotLdr Lloh30, Lloh31, Lloh32 .loh AdrpLdrGotLdr Lloh35, Lloh36, Lloh37 .loh AdrpAdd Lloh41, Lloh42 .loh AdrpLdrGotLdr Lloh38, Lloh39, Lloh40 .loh AdrpLdrGotLdr Lloh43, Lloh44, Lloh45 .cfi_endproc ; -- End function .comm _option_map,8,3 ; @option_map .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .space 1 l_.str.1: ; @.str.1 .asciz "ambiguous abbreviation %s" l_.str.2: ; @.str.2 .asciz "incomplete '%s' option" l_.str.3: ; @.str.3 .asciz "missing argument to '%s' option" l_.str.4: ; @.str.4 .asciz "extraneous argument to '%s' option" l_.str.5: ; @.str.5 .asciz "Xlinker" l_.str.6: ; @.str.6 .asciz "Xpreprocessor" l_.str.7: ; @.str.7 .asciz "Xassembler" .comm _target_option_translations,8,3 ; @target_option_translations .no_dead_strip _translate_options .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _iwl_mvm_up ## -- Begin function iwl_mvm_up .p2align 4, 0x90 _iwl_mvm_up: ## @iwl_mvm_up .cfi_startproc ## %bb.0: 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 addq $96, %rdi callq _lockdep_assert_held movq 80(%rbx), %rdi callq _iwl_trans_start_hw movl %eax, %r14d testl %eax, %eax jne LBB0_61 ## %bb.1: movq %rbx, %rdi callq _iwl_mvm_load_rt_fw testl %eax, %eax je LBB0_4 ## %bb.2: movl %eax, %r14d leaq L_.str(%rip), %rsi movq %rbx, %rdi movl %eax, %edx xorl %eax, %eax callq _IWL_ERR movq _ERFKILL@GOTPCREL(%rip), %rax movl (%rax), %eax addl %r14d, %eax je LBB0_59 ## %bb.3: leaq 92(%rbx), %rdi movq _FW_DBG_TRIGGER_DRIVER@GOTPCREL(%rip), %rax movl (%rax), %esi callq _iwl_fw_dbg_error_collect jmp LBB0_59 LBB0_4: leaq 92(%rbx), %r14 movq %r14, %rdi callq _iwl_get_shared_mem_conf movq %rbx, %rdi xorl %esi, %esi xorl %edx, %edx callq _iwl_mvm_sf_update testl %eax, %eax je LBB0_6 ## %bb.5: leaq L_.str.1(%rip), %rsi movq %rbx, %rdi xorl %eax, %eax callq _IWL_ERR LBB0_6: movq 80(%rbx), %rdi callq _iwl_trans_dbg_ini_valid testl %eax, %eax jne LBB0_8 ## %bb.7: movq _FW_DBG_INVALID@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, 92(%rbx) movq 32(%rbx), %rcx cmpq $0, 8(%rcx) movq _FW_DBG_START_FROM_ALIVE@GOTPCREL(%rip), %rcx movl (%rcx), %esi cmovnel %esi, %eax movl %eax, 92(%rbx) movq %r14, %rdi callq _iwl_fw_start_dbg_conf LBB0_8: movq %rbx, %rdi callq _iwl_mvm_get_valid_tx_ant movq %rbx, %rdi movl %eax, %esi callq _iwl_send_tx_ant_cfg testl %eax, %eax jne LBB0_58 ## %bb.9: movq %rbx, %rdi callq _iwl_mvm_has_unified_ucode testl %eax, %eax je LBB0_10 LBB0_12: movq %rbx, %rdi callq _iwl_mvm_send_bt_init_conf testl %eax, %eax jne LBB0_58 ## %bb.13: movq 80(%rbx), %rax movq (%rax), %rax movq (%rax), %rax movq _IWL_DEVICE_FAMILY_22000@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax jl LBB0_17 ## %bb.14: movq %rbx, %rdi callq _iwl_configure_rxq testl %eax, %eax je LBB0_17 ## %bb.15: movl %eax, %r14d leaq L_.str.2(%rip), %rsi jmp LBB0_16 LBB0_10: movl 88(%rbx), %edi callq _iwl_send_phy_db_data testl %eax, %eax jne LBB0_58 ## %bb.11: movq %rbx, %rdi callq _iwl_send_phy_cfg_cmd testl %eax, %eax jne LBB0_58 jmp LBB0_12 LBB0_17: movq %rbx, %rdi callq _iwl_mvm_has_new_rx_api testq %rax, %rax je LBB0_20 ## %bb.18: movq %rbx, %rdi callq _iwl_send_rss_cfg_cmd testl %eax, %eax je LBB0_20 ## %bb.19: movl %eax, %r14d leaq L_.str.3(%rip), %rsi LBB0_16: movq %rbx, %rdi movl %r14d, %edx xorl %eax, %eax callq _IWL_ERR jmp LBB0_59 LBB0_20: movq 72(%rbx), %rdi callq _ARRAY_SIZE testl %eax, %eax js LBB0_23 ## %bb.21: xorl %r14d, %r14d LBB0_22: ## =>This Inner Loop Header: Depth=1 movq 72(%rbx), %rax movl (%rax,%r14,4), %edi xorl %esi, %esi callq _RCU_INIT_POINTER decq %r14 movq 72(%rbx), %rdi callq _ARRAY_SIZE cltq cmpq %rax, %r14 jle LBB0_22 LBB0_23: movq _IWL_MVM_INVALID_STA@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, 68(%rbx) leaq 64(%rbx), %rdi movl $255, %esi movl $4, %edx callq _memset movq 32(%rbx), %rdi movq _IWL_UCODE_TLV_CAPA_DQA_SUPPORT@GOTPCREL(%rip), %rax movl (%rax), %esi callq _fw_has_capa testq %rax, %rax je LBB0_25 ## %bb.24: movq %rbx, %rdi callq _iwl_mvm_send_dqa_cmd testl %eax, %eax jne LBB0_58 LBB0_25: movq %rbx, %rdi callq _iwl_mvm_add_aux_sta testl %eax, %eax je LBB0_26 LBB0_58: movl %eax, %r14d LBB0_59: movq _iwlmvm_mod_params@GOTPCREL(%rip), %rax cmpl $0, (%rax) jne LBB0_61 LBB0_60: movq %rbx, %rdi callq _iwl_mvm_stop_device LBB0_61: movl %r14d, %eax addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_26: movq _NUM_NL80211_BANDS@GOTPCREL(%rip), %rax movslq (%rax), %rax xorl %r14d, %r14d testq %rax, %rax jle LBB0_27 ## %bb.28: movq 56(%rbx), %rcx movq (%rcx), %rcx movq (%rcx), %rcx movl $1, %edx LBB0_29: ## =>This Inner Loop Header: Depth=1 movq -8(%rcx,%rdx,8), %r15 testq %r15, %r15 jne LBB0_31 ## %bb.30: ## in Loop: Header=BB0_29 Depth=1 leaq 1(%rdx), %rsi cmpq %rax, %rdx movq %rsi, %rdx jb LBB0_29 LBB0_31: xorl %edi, %edi testq %r15, %r15 sete %dil jmp LBB0_32 LBB0_27: movl $1, %edi xorl %r15d, %r15d LBB0_32: callq _WARN_ON_ONCE testq %rax, %rax jne LBB0_60 ## %bb.33: movq (%r15), %rsi movq _NL80211_CHAN_NO_HT@GOTPCREL(%rip), %rax movl (%rax), %edx leaq -44(%rbp), %rdi callq _cfg80211_chandef_create movq _NUM_PHY_CTX@GOTPCREL(%rip), %rax cmpl $0, (%rax) jle LBB0_37 ## %bb.34: xorl %r13d, %r13d leaq -44(%rbp), %r15 xorl %r12d, %r12d LBB0_36: ## =>This Inner Loop Header: Depth=1 movq 48(%rbx), %rsi addq %r13, %rsi movq %rbx, %rdi movq %r15, %rdx movl $1, %ecx movl $1, %r8d callq _iwl_mvm_phy_ctxt_add testl %eax, %eax jne LBB0_58 ## %bb.35: ## in Loop: Header=BB0_36 Depth=1 incq %r12 movq _NUM_PHY_CTX@GOTPCREL(%rip), %rax movslq (%rax), %rax addq $4, %r13 cmpq %rax, %r12 jl LBB0_36 LBB0_37: movq %rbx, %rdi callq _iwl_mvm_is_tt_in_fw movq %rbx, %rdi testq %rax, %rax je LBB0_39 ## %bb.38: callq _iwl_mvm_send_temp_report_ths_cmd jmp LBB0_40 LBB0_39: xorl %esi, %esi callq _iwl_mvm_tt_tx_backoff LBB0_40: movq 32(%rbx), %rdi movq _IWL_UCODE_TLV_CAPA_SET_LTR_GEN2@GOTPCREL(%rip), %rax movl (%rax), %esi callq _fw_has_capa testq %rax, %rax jne LBB0_42 ## %bb.41: movq %rbx, %rdi callq _iwl_mvm_config_ltr movl %eax, %edi callq _WARN_ON LBB0_42: movq %rbx, %rdi callq _iwl_mvm_power_update_device testl %eax, %eax jne LBB0_58 ## %bb.43: movq _IWL_MVM_STATUS_HW_CTKILL@GOTPCREL(%rip), %rax movl (%rax), %edi leaq 8(%rbx), %r15 movq %r15, %rsi callq _test_bit testq %rax, %rax je LBB0_44 LBB0_45: movq 32(%rbx), %rdi movq _IWL_UCODE_TLV_CAPA_UMAC_SCAN@GOTPCREL(%rip), %rax movl (%rax), %esi callq _fw_has_capa testq %rax, %rax je LBB0_47 ## %bb.46: movq _IWL_SCAN_TYPE_NOT_SET@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, 24(%rbx) movq %rax, 16(%rbx) movq %rbx, %rdi callq _iwl_mvm_config_scan testl %eax, %eax jne LBB0_58 LBB0_47: movq _IWL_MVM_STATUS_IN_HW_RESTART@GOTPCREL(%rip), %rax movl (%rax), %edi movq %r15, %rsi callq _test_bit testq %rax, %rax je LBB0_49 ## %bb.48: movq _ERROR_RECOVERY_UPDATE_DB@GOTPCREL(%rip), %rax movl (%rax), %esi movq %rbx, %rdi callq _iwl_mvm_send_recovery_cmd LBB0_49: movl 4(%rbx), %edi movq %rbx, %rsi callq _iwl_acpi_get_eckv testq %rax, %rax je LBB0_51 ## %bb.50: leaq L_.str.4(%rip), %rsi movq %rbx, %rdi callq _IWL_DEBUG_INFO LBB0_51: movq %rbx, %rdi callq _iwl_mvm_ppag_init testl %eax, %eax jne LBB0_58 ## %bb.52: movq %rbx, %rdi callq _iwl_mvm_sar_init testl %eax, %eax je LBB0_57 ## %bb.53: jle LBB0_58 ## %bb.54: movq %rbx, %rdi callq _iwl_mvm_sar_get_wgds_table testl %eax, %eax jne LBB0_56 ## %bb.55: leaq L_.str.5(%rip), %rsi movq %rbx, %rdi xorl %eax, %eax callq _IWL_ERR jmp LBB0_56 LBB0_44: movq %rbx, %rdi callq _iwl_mvm_init_mcc testl %eax, %eax jne LBB0_58 jmp LBB0_45 LBB0_57: movq %rbx, %rdi callq _iwl_mvm_sar_geo_init testl %eax, %eax js LBB0_58 LBB0_56: movq %rbx, %rdi callq _iwl_mvm_leds_sync leaq L_.str.6(%rip), %rsi movq %rbx, %rdi callq _IWL_DEBUG_INFO xorl %r14d, %r14d jmp LBB0_61 .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "Failed to start RT ucode: %d\n" .comm _ERFKILL,4,2 ## @ERFKILL .comm _FW_DBG_TRIGGER_DRIVER,4,2 ## @FW_DBG_TRIGGER_DRIVER L_.str.1: ## @.str.1 .asciz "Failed to initialize Smart Fifo\n" .comm _FW_DBG_INVALID,4,2 ## @FW_DBG_INVALID .comm _FW_DBG_START_FROM_ALIVE,4,2 ## @FW_DBG_START_FROM_ALIVE .comm _IWL_DEVICE_FAMILY_22000,8,3 ## @IWL_DEVICE_FAMILY_22000 L_.str.2: ## @.str.2 .asciz "Failed to configure RX queues: %d\n" L_.str.3: ## @.str.3 .asciz "Failed to configure RSS queues: %d\n" .comm _IWL_MVM_INVALID_STA,4,2 ## @IWL_MVM_INVALID_STA .comm _IWL_UCODE_TLV_CAPA_DQA_SUPPORT,4,2 ## @IWL_UCODE_TLV_CAPA_DQA_SUPPORT .comm _NUM_NL80211_BANDS,4,2 ## @NUM_NL80211_BANDS .comm _NL80211_CHAN_NO_HT,4,2 ## @NL80211_CHAN_NO_HT .comm _NUM_PHY_CTX,4,2 ## @NUM_PHY_CTX .comm _IWL_UCODE_TLV_CAPA_SET_LTR_GEN2,4,2 ## @IWL_UCODE_TLV_CAPA_SET_LTR_GEN2 .comm _IWL_MVM_STATUS_HW_CTKILL,4,2 ## @IWL_MVM_STATUS_HW_CTKILL .comm _IWL_UCODE_TLV_CAPA_UMAC_SCAN,4,2 ## @IWL_UCODE_TLV_CAPA_UMAC_SCAN .comm _IWL_SCAN_TYPE_NOT_SET,8,3 ## @IWL_SCAN_TYPE_NOT_SET .comm _IWL_MVM_STATUS_IN_HW_RESTART,4,2 ## @IWL_MVM_STATUS_IN_HW_RESTART .comm _ERROR_RECOVERY_UPDATE_DB,4,2 ## @ERROR_RECOVERY_UPDATE_DB L_.str.4: ## @.str.4 .asciz "ECKV table doesn't exist in BIOS\n" L_.str.5: ## @.str.5 .asciz "BIOS contains WGDS but no WRDS\n" L_.str.6: ## @.str.6 .asciz "RT uCode started.\n" .comm _iwlmvm_mod_params,4,2 ## @iwlmvm_mod_params .comm _CTDP_CMD_OPERATION_START,4,2 ## @CTDP_CMD_OPERATION_START .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _iwl_mvm_up ; -- Begin function iwl_mvm_up .p2align 2 _iwl_mvm_up: ; @iwl_mvm_up .cfi_startproc ; %bb.0: sub sp, sp, #80 stp x24, x23, [sp, #16] ; 16-byte Folded Spill stp x22, x21, [sp, #32] ; 16-byte Folded Spill stp x20, x19, [sp, #48] ; 16-byte Folded Spill stp x29, x30, [sp, #64] ; 16-byte Folded Spill add x29, sp, #64 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 mov x19, x0 add x0, x0, #96 bl _lockdep_assert_held ldr x0, [x19, #80] bl _iwl_trans_start_hw mov x20, x0 cbnz w0, LBB0_29 ; %bb.1: mov x0, x19 bl _iwl_mvm_load_rt_fw cbz w0, LBB0_4 ; %bb.2: mov x20, x0 str x20, [sp] Lloh0: adrp x1, l_.str@PAGE Lloh1: add x1, x1, l_.str@PAGEOFF mov x0, x19 bl _IWL_ERR Lloh2: adrp x8, _ERFKILL@GOTPAGE Lloh3: ldr x8, [x8, _ERFKILL@GOTPAGEOFF] Lloh4: ldr w8, [x8] cmn w20, w8 b.eq LBB0_27 ; %bb.3: Lloh5: adrp x8, _FW_DBG_TRIGGER_DRIVER@GOTPAGE Lloh6: ldr x8, [x8, _FW_DBG_TRIGGER_DRIVER@GOTPAGEOFF] Lloh7: ldr w1, [x8] add x0, x19, #92 bl _iwl_fw_dbg_error_collect b LBB0_27 LBB0_4: add x0, x19, #92 bl _iwl_get_shared_mem_conf mov x0, x19 mov x1, #0 ; =0x0 mov w2, #0 ; =0x0 bl _iwl_mvm_sf_update cbz w0, LBB0_6 ; %bb.5: Lloh8: adrp x1, l_.str.1@PAGE Lloh9: add x1, x1, l_.str.1@PAGEOFF mov x0, x19 bl _IWL_ERR LBB0_6: ldr x0, [x19, #80] bl _iwl_trans_dbg_ini_valid cbnz w0, LBB0_8 ; %bb.7: Lloh10: adrp x8, _FW_DBG_INVALID@GOTPAGE Lloh11: ldr x8, [x8, _FW_DBG_INVALID@GOTPAGEOFF] Lloh12: ldr w8, [x8] str w8, [x19, #92] ldr x9, [x19, #32] ldr x9, [x9, #8] Lloh13: adrp x10, _FW_DBG_START_FROM_ALIVE@GOTPAGE Lloh14: ldr x10, [x10, _FW_DBG_START_FROM_ALIVE@GOTPAGEOFF] Lloh15: ldr w1, [x10] cmp x9, #0 csel w8, w8, w1, eq str w8, [x19, #92] add x0, x19, #92 bl _iwl_fw_start_dbg_conf LBB0_8: mov x0, x19 bl _iwl_mvm_get_valid_tx_ant mov x1, x0 mov x0, x19 bl _iwl_send_tx_ant_cfg cbnz w0, LBB0_26 ; %bb.9: mov x0, x19 bl _iwl_mvm_has_unified_ucode cbz w0, LBB0_14 LBB0_10: mov x0, x19 bl _iwl_mvm_send_bt_init_conf cbnz w0, LBB0_26 ; %bb.11: ldr x8, [x19, #80] ldr x8, [x8] ldr x8, [x8] Lloh16: adrp x9, _IWL_DEVICE_FAMILY_22000@GOTPAGE Lloh17: ldr x9, [x9, _IWL_DEVICE_FAMILY_22000@GOTPAGEOFF] Lloh18: ldr x9, [x9] cmp x8, x9 b.lt LBB0_16 ; %bb.12: mov x0, x19 bl _iwl_configure_rxq cbz w0, LBB0_16 ; %bb.13: mov x20, x0 str x20, [sp] Lloh19: adrp x1, l_.str.2@PAGE Lloh20: add x1, x1, l_.str.2@PAGEOFF b LBB0_19 LBB0_14: ldr w0, [x19, #88] bl _iwl_send_phy_db_data cbnz w0, LBB0_26 ; %bb.15: mov x0, x19 bl _iwl_send_phy_cfg_cmd cbnz w0, LBB0_26 b LBB0_10 LBB0_16: mov x0, x19 bl _iwl_mvm_has_new_rx_api cbz x0, LBB0_20 ; %bb.17: mov x0, x19 bl _iwl_send_rss_cfg_cmd cbz w0, LBB0_20 ; %bb.18: mov x20, x0 str x20, [sp] Lloh21: adrp x1, l_.str.3@PAGE Lloh22: add x1, x1, l_.str.3@PAGEOFF LBB0_19: mov x0, x19 bl _IWL_ERR ; kill: def $w20 killed $w20 killed $x20 def $x20 b LBB0_27 LBB0_20: ldr x0, [x19, #72] bl _ARRAY_SIZE tbnz w0, #31, LBB0_23 ; %bb.21: mov x20, #0 ; =0x0 LBB0_22: ; =>This Inner Loop Header: Depth=1 ldr x8, [x19, #72] ldr w0, [x8, x20, lsl #2] mov x1, #0 ; =0x0 bl _RCU_INIT_POINTER sub x20, x20, #1 ldr x0, [x19, #72] bl _ARRAY_SIZE cmp x20, w0, sxtw b.le LBB0_22 LBB0_23: Lloh23: adrp x8, _IWL_MVM_INVALID_STA@GOTPAGE Lloh24: ldr x8, [x8, _IWL_MVM_INVALID_STA@GOTPAGEOFF] Lloh25: ldr w8, [x8] str w8, [x19, #68] add x0, x19, #64 mov w1, #255 ; =0xff mov w2, #4 ; =0x4 bl _memset ldr x0, [x19, #32] Lloh26: adrp x8, _IWL_UCODE_TLV_CAPA_DQA_SUPPORT@GOTPAGE Lloh27: ldr x8, [x8, _IWL_UCODE_TLV_CAPA_DQA_SUPPORT@GOTPAGEOFF] Lloh28: ldr w1, [x8] bl _fw_has_capa cbz x0, LBB0_25 ; %bb.24: mov x0, x19 bl _iwl_mvm_send_dqa_cmd cbnz w0, LBB0_26 LBB0_25: mov x0, x19 bl _iwl_mvm_add_aux_sta cbz w0, LBB0_30 LBB0_26: mov x20, x0 LBB0_27: Lloh29: adrp x8, _iwlmvm_mod_params@GOTPAGE Lloh30: ldr x8, [x8, _iwlmvm_mod_params@GOTPAGEOFF] Lloh31: ldr w8, [x8] cbnz w8, LBB0_29 LBB0_28: mov x0, x19 bl _iwl_mvm_stop_device LBB0_29: 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 LBB0_30: Lloh32: adrp x8, _NUM_NL80211_BANDS@GOTPAGE Lloh33: ldr x8, [x8, _NUM_NL80211_BANDS@GOTPAGEOFF] Lloh34: ldr w8, [x8] cmp w8, #1 b.lt LBB0_34 ; %bb.31: ldr x9, [x19, #56] ldr x9, [x9] ldr x9, [x9] mov w10, #1 ; =0x1 LBB0_32: ; =>This Inner Loop Header: Depth=1 ldr x20, [x9], #8 cmp x20, #0 ccmp x10, x8, #2, eq add x10, x10, #1 b.lo LBB0_32 ; %bb.33: cmp x20, #0 cset w0, eq b LBB0_35 LBB0_34: mov x20, #0 ; =0x0 mov w0, #1 ; =0x1 LBB0_35: bl _WARN_ON_ONCE cbz x0, LBB0_37 ; %bb.36: mov w20, #0 ; =0x0 b LBB0_28 LBB0_37: ldr x1, [x20] Lloh35: adrp x8, _NL80211_CHAN_NO_HT@GOTPAGE Lloh36: ldr x8, [x8, _NL80211_CHAN_NO_HT@GOTPAGEOFF] Lloh37: ldr w2, [x8] add x0, sp, #12 bl _cfg80211_chandef_create Lloh38: adrp x21, _NUM_PHY_CTX@GOTPAGE Lloh39: ldr x21, [x21, _NUM_PHY_CTX@GOTPAGEOFF] ldr w8, [x21] cmp w8, #1 b.lt LBB0_41 ; %bb.38: mov x22, #0 ; =0x0 mov x23, #0 ; =0x0 LBB0_39: ; =>This Inner Loop Header: Depth=1 ldr x8, [x19, #48] add x1, x8, x22 add x2, sp, #12 mov x0, x19 mov w3, #1 ; =0x1 mov w4, #1 ; =0x1 bl _iwl_mvm_phy_ctxt_add cbnz w0, LBB0_26 ; %bb.40: ; in Loop: Header=BB0_39 Depth=1 add x23, x23, #1 ldrsw x8, [x21] add x22, x22, #4 cmp x23, x8 b.lt LBB0_39 LBB0_41: mov x0, x19 bl _iwl_mvm_is_tt_in_fw cbz x0, LBB0_43 ; %bb.42: mov x0, x19 bl _iwl_mvm_send_temp_report_ths_cmd b LBB0_44 LBB0_43: mov x0, x19 mov w1, #0 ; =0x0 bl _iwl_mvm_tt_tx_backoff LBB0_44: ldr x0, [x19, #32] Lloh40: adrp x8, _IWL_UCODE_TLV_CAPA_SET_LTR_GEN2@GOTPAGE Lloh41: ldr x8, [x8, _IWL_UCODE_TLV_CAPA_SET_LTR_GEN2@GOTPAGEOFF] Lloh42: ldr w1, [x8] bl _fw_has_capa cbnz x0, LBB0_46 ; %bb.45: mov x0, x19 bl _iwl_mvm_config_ltr bl _WARN_ON LBB0_46: mov x0, x19 bl _iwl_mvm_power_update_device cbnz w0, LBB0_26 ; %bb.47: Lloh43: adrp x8, _IWL_MVM_STATUS_HW_CTKILL@GOTPAGE Lloh44: ldr x8, [x8, _IWL_MVM_STATUS_HW_CTKILL@GOTPAGEOFF] Lloh45: ldr w0, [x8] add x1, x19, #8 bl _test_bit cbz x0, LBB0_59 LBB0_48: ldr x0, [x19, #32] Lloh46: adrp x8, _IWL_UCODE_TLV_CAPA_UMAC_SCAN@GOTPAGE Lloh47: ldr x8, [x8, _IWL_UCODE_TLV_CAPA_UMAC_SCAN@GOTPAGEOFF] Lloh48: ldr w1, [x8] bl _fw_has_capa cbz x0, LBB0_50 ; %bb.49: Lloh49: adrp x8, _IWL_SCAN_TYPE_NOT_SET@GOTPAGE Lloh50: ldr x8, [x8, _IWL_SCAN_TYPE_NOT_SET@GOTPAGEOFF] Lloh51: ldr x8, [x8] stp x8, x8, [x19, #16] mov x0, x19 bl _iwl_mvm_config_scan cbnz w0, LBB0_26 LBB0_50: Lloh52: adrp x8, _IWL_MVM_STATUS_IN_HW_RESTART@GOTPAGE Lloh53: ldr x8, [x8, _IWL_MVM_STATUS_IN_HW_RESTART@GOTPAGEOFF] Lloh54: ldr w0, [x8] add x1, x19, #8 bl _test_bit cbz x0, LBB0_52 ; %bb.51: Lloh55: adrp x8, _ERROR_RECOVERY_UPDATE_DB@GOTPAGE Lloh56: ldr x8, [x8, _ERROR_RECOVERY_UPDATE_DB@GOTPAGEOFF] Lloh57: ldr w1, [x8] mov x0, x19 bl _iwl_mvm_send_recovery_cmd LBB0_52: ldr w0, [x19, #4] mov x1, x19 bl _iwl_acpi_get_eckv cbz x0, LBB0_54 ; %bb.53: Lloh58: adrp x1, l_.str.4@PAGE Lloh59: add x1, x1, l_.str.4@PAGEOFF mov x0, x19 bl _IWL_DEBUG_INFO LBB0_54: mov x0, x19 bl _iwl_mvm_ppag_init cbnz w0, LBB0_26 ; %bb.55: mov x0, x19 bl _iwl_mvm_sar_init cbz w0, LBB0_60 ; %bb.56: mov x20, x0 cmp w0, #1 b.lt LBB0_27 ; %bb.57: mov x0, x19 bl _iwl_mvm_sar_get_wgds_table cbnz w0, LBB0_61 ; %bb.58: Lloh60: adrp x1, l_.str.5@PAGE Lloh61: add x1, x1, l_.str.5@PAGEOFF mov x0, x19 bl _IWL_ERR b LBB0_61 LBB0_59: mov x0, x19 bl _iwl_mvm_init_mcc cbnz w0, LBB0_26 b LBB0_48 LBB0_60: mov x0, x19 bl _iwl_mvm_sar_geo_init tbnz w0, #31, LBB0_26 LBB0_61: mov x0, x19 bl _iwl_mvm_leds_sync Lloh62: adrp x1, l_.str.6@PAGE Lloh63: add x1, x1, l_.str.6@PAGEOFF mov x0, x19 bl _IWL_DEBUG_INFO mov w20, #0 ; =0x0 b LBB0_29 .loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4 .loh AdrpAdd Lloh0, Lloh1 .loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7 .loh AdrpAdd Lloh8, Lloh9 .loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh15 .loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12 .loh AdrpLdrGotLdr Lloh16, Lloh17, Lloh18 .loh AdrpAdd Lloh19, Lloh20 .loh AdrpAdd Lloh21, Lloh22 .loh AdrpLdrGotLdr Lloh26, Lloh27, Lloh28 .loh AdrpLdrGotLdr Lloh23, Lloh24, Lloh25 .loh AdrpLdrGotLdr Lloh29, Lloh30, Lloh31 .loh AdrpLdrGotLdr Lloh32, Lloh33, Lloh34 .loh AdrpLdrGot Lloh38, Lloh39 .loh AdrpLdrGotLdr Lloh35, Lloh36, Lloh37 .loh AdrpLdrGotLdr Lloh40, Lloh41, Lloh42 .loh AdrpLdrGotLdr Lloh43, Lloh44, Lloh45 .loh AdrpLdrGotLdr Lloh46, Lloh47, Lloh48 .loh AdrpLdrGotLdr Lloh49, Lloh50, Lloh51 .loh AdrpLdrGotLdr Lloh52, Lloh53, Lloh54 .loh AdrpLdrGotLdr Lloh55, Lloh56, Lloh57 .loh AdrpAdd Lloh58, Lloh59 .loh AdrpAdd Lloh60, Lloh61 .loh AdrpAdd Lloh62, Lloh63 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "Failed to start RT ucode: %d\n" .comm _ERFKILL,4,2 ; @ERFKILL .comm _FW_DBG_TRIGGER_DRIVER,4,2 ; @FW_DBG_TRIGGER_DRIVER l_.str.1: ; @.str.1 .asciz "Failed to initialize Smart Fifo\n" .comm _FW_DBG_INVALID,4,2 ; @FW_DBG_INVALID .comm _FW_DBG_START_FROM_ALIVE,4,2 ; @FW_DBG_START_FROM_ALIVE .comm _IWL_DEVICE_FAMILY_22000,8,3 ; @IWL_DEVICE_FAMILY_22000 l_.str.2: ; @.str.2 .asciz "Failed to configure RX queues: %d\n" l_.str.3: ; @.str.3 .asciz "Failed to configure RSS queues: %d\n" .comm _IWL_MVM_INVALID_STA,4,2 ; @IWL_MVM_INVALID_STA .comm _IWL_UCODE_TLV_CAPA_DQA_SUPPORT,4,2 ; @IWL_UCODE_TLV_CAPA_DQA_SUPPORT .comm _NUM_NL80211_BANDS,4,2 ; @NUM_NL80211_BANDS .comm _NL80211_CHAN_NO_HT,4,2 ; @NL80211_CHAN_NO_HT .comm _NUM_PHY_CTX,4,2 ; @NUM_PHY_CTX .comm _IWL_UCODE_TLV_CAPA_SET_LTR_GEN2,4,2 ; @IWL_UCODE_TLV_CAPA_SET_LTR_GEN2 .comm _IWL_MVM_STATUS_HW_CTKILL,4,2 ; @IWL_MVM_STATUS_HW_CTKILL .comm _IWL_UCODE_TLV_CAPA_UMAC_SCAN,4,2 ; @IWL_UCODE_TLV_CAPA_UMAC_SCAN .comm _IWL_SCAN_TYPE_NOT_SET,8,3 ; @IWL_SCAN_TYPE_NOT_SET .comm _IWL_MVM_STATUS_IN_HW_RESTART,4,2 ; @IWL_MVM_STATUS_IN_HW_RESTART .comm _ERROR_RECOVERY_UPDATE_DB,4,2 ; @ERROR_RECOVERY_UPDATE_DB l_.str.4: ; @.str.4 .asciz "ECKV table doesn't exist in BIOS\n" l_.str.5: ; @.str.5 .asciz "BIOS contains WGDS but no WRDS\n" l_.str.6: ; @.str.6 .asciz "RT uCode started.\n" .comm _iwlmvm_mod_params,4,2 ; @iwlmvm_mod_params .comm _CTDP_CMD_OPERATION_START,4,2 ; @CTDP_CMD_OPERATION_START .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function target_xcopy_gen_naa_ieee _target_xcopy_gen_naa_ieee: ## @target_xcopy_gen_naa_ieee .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movl $1346371936, (%rsi) ## imm = 0x50400160 addq $3, %rsi callq _spc_parse_naa_6h_vendor_specific xorl %eax, %eax popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _target_xcopy_gen_naa_ieee .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 target_xcopy_gen_naa_ieee lCPI0_0: .byte 96 ; 0x60 .byte 1 ; 0x1 .byte 64 ; 0x40 .byte 80 ; 0x50 .space 1 .space 1 .space 1 .space 1 .section __TEXT,__text,regular,pure_instructions .p2align 2 _target_xcopy_gen_naa_ieee: ; @target_xcopy_gen_naa_ieee .cfi_startproc ; %bb.0: stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill mov x29, sp .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 Lloh0: adrp x8, lCPI0_0@PAGE Lloh1: ldr d0, [x8, lCPI0_0@PAGEOFF] mov w8, #3 ; =0x3 st1.s { v0 }[0], [x1], x8 bl _spc_parse_naa_6h_vendor_specific mov w0, #0 ; =0x0 ldp x29, x30, [sp], #16 ; 16-byte Folded Reload ret .loh AdrpLdr Lloh0, Lloh1 .cfi_endproc ; -- End function .no_dead_strip _target_xcopy_gen_naa_ieee .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function hw_device_add _hw_device_add: ## @hw_device_add .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movq _nb_hw_devices@GOTPCREL(%rip), %r14 movl (%r14), %esi decl %esi movq _hw_devices@GOTPCREL(%rip), %rbx movq %rbx, %rdi movl $8, %edx callq _av_reallocp_array testl %eax, %eax je LBB0_2 ## %bb.1: xorl %ecx, %ecx xorl %eax, %eax jmp LBB0_5 LBB0_2: movl $4, %edi callq _av_mallocz movq (%rbx), %rdx movslq (%r14), %rcx movq %rax, (%rdx,%rcx,8) movq (%rbx), %rax movq (%rax,%rcx,8), %rax testq %rax, %rax je LBB0_3 ## %bb.4: decl %ecx LBB0_5: movl %ecx, (%r14) LBB0_6: popq %rbx popq %r14 popq %rbp retq LBB0_3: xorl %eax, %eax jmp LBB0_6 .cfi_endproc ## -- End function .comm _hw_devices,8,3 ## @hw_devices .comm _nb_hw_devices,4,2 ## @nb_hw_devices .no_dead_strip _hw_device_add .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function hw_device_add _hw_device_add: ; @hw_device_add .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 Lloh0: adrp x20, _nb_hw_devices@GOTPAGE Lloh1: ldr x20, [x20, _nb_hw_devices@GOTPAGEOFF] ldr w8, [x20] sub w1, w8, #1 Lloh2: adrp x19, _hw_devices@GOTPAGE Lloh3: ldr x19, [x19, _hw_devices@GOTPAGEOFF] mov x0, x19 mov w2, #8 ; =0x8 bl _av_reallocp_array cbz w0, LBB0_2 ; %bb.1: mov w8, #0 ; =0x0 mov x0, #0 ; =0x0 b LBB0_4 LBB0_2: mov w0, #4 ; =0x4 bl _av_mallocz ldr x9, [x19] ldrsw x8, [x20] str x0, [x9, x8, lsl #3] ldr x9, [x19] ldr x0, [x9, x8, lsl #3] cbz x0, LBB0_5 ; %bb.3: sub w8, w8, #1 LBB0_4: str w8, [x20] LBB0_5: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .loh AdrpLdrGot Lloh2, Lloh3 .loh AdrpLdrGot Lloh0, Lloh1 .cfi_endproc ; -- End function .comm _hw_devices,8,3 ; @hw_devices .comm _nb_hw_devices,4,2 ; @nb_hw_devices .no_dead_strip _hw_device_add .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function term_osd_update _term_osd_update: ## @term_osd_update .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 ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -24(%rbp) xorps %xmm0, %xmm0 movaps %xmm0, -48(%rbp) movq $0, -32(%rbp) movq 40(%rdi), %rax cmpl $0, (%rax) je LBB0_14 ## %bb.1: movq %rdi, %rbx movq (%rdi), %rax testq %rax, %rax je LBB0_2 ## %bb.3: movq %rax, -48(%rbp) movl $1, %edx jmp LBB0_4 LBB0_2: xorl %edx, %edx LBB0_4: movq 8(%rbx), %rax testq %rax, %rax je LBB0_7 ## %bb.5: cmpb $0, (%rax) je LBB0_7 ## %bb.6: movl %edx, %ecx incl %edx movq %rax, -48(%rbp,%rcx,8) LBB0_7: movq 16(%rbx), %rax testq %rax, %rax je LBB0_10 ## %bb.8: cmpb $0, (%rax) je LBB0_10 ## %bb.9: movl %edx, %ecx incl %edx movq %rax, -48(%rbp,%rcx,8) LBB0_10: leaq -48(%rbp), %rsi movq %rbx, %rdi callq _join_lines movq %rax, %r14 movq 24(%rbx), %rdi movq %rax, %rsi callq _strcmp testq %rax, %rax je LBB0_11 LBB0_13: movq 24(%rbx), %rdi callq _talloc_free movq %r14, 24(%rbx) movl 32(%rbx), %edi movq _MSGL_STATUS@GOTPCREL(%rip), %rax movl (%rax), %esi leaq L_.str(%rip), %rdx movq %r14, %rcx callq _mp_msg jmp LBB0_14 LBB0_11: movl 36(%rbx), %edi callq _mp_msg_has_status_line testq %rax, %rax je LBB0_13 ## %bb.12: movq %r14, %rdi callq _talloc_free LBB0_14: movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax cmpq -24(%rbp), %rax jne LBB0_16 ## %bb.15: addq $32, %rsp popq %rbx popq %r14 popq %rbp retq LBB0_16: callq ___stack_chk_fail .cfi_endproc ## -- End function .comm _MSGL_STATUS,4,2 ## @MSGL_STATUS .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "%s" .no_dead_strip _term_osd_update .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function term_osd_update _term_osd_update: ; @term_osd_update .cfi_startproc ; %bb.0: sub sp, sp, #64 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 Lloh0: adrp x8, ___stack_chk_guard@GOTPAGE Lloh1: ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] Lloh2: ldr x8, [x8] str x8, [sp, #24] stp xzr, xzr, [sp] str xzr, [sp, #16] ldr x8, [x0, #40] ldr w8, [x8] cbz w8, LBB0_13 ; %bb.1: mov x19, x0 ldr x8, [x0] cbz x8, LBB0_3 ; %bb.2: str x8, [sp] mov w2, #1 ; =0x1 ldr x8, [x19, #8] cbnz x8, LBB0_4 b LBB0_6 LBB0_3: mov w2, #0 ; =0x0 ldr x8, [x19, #8] cbz x8, LBB0_6 LBB0_4: ldrb w9, [x8] cbz w9, LBB0_6 ; %bb.5: mov x9, sp str x8, [x9, w2, uxtw #3] add w2, w2, #1 LBB0_6: ldr x8, [x19, #16] cbz x8, LBB0_9 ; %bb.7: ldrb w9, [x8] cbz w9, LBB0_9 ; %bb.8: mov x9, sp str x8, [x9, w2, uxtw #3] add w2, w2, #1 LBB0_9: mov x1, sp mov x0, x19 bl _join_lines mov x20, x0 ldr x0, [x19, #24] mov x1, x20 bl _strcmp cbz x0, LBB0_11 LBB0_10: ldr x0, [x19, #24] bl _talloc_free str x20, [x19, #24] ldr w0, [x19, #32] Lloh3: adrp x8, _MSGL_STATUS@GOTPAGE Lloh4: ldr x8, [x8, _MSGL_STATUS@GOTPAGEOFF] Lloh5: ldr w1, [x8] Lloh6: adrp x2, l_.str@PAGE Lloh7: add x2, x2, l_.str@PAGEOFF mov x3, x20 bl _mp_msg b LBB0_13 LBB0_11: ldr w0, [x19, #36] bl _mp_msg_has_status_line cbz x0, LBB0_10 ; %bb.12: mov x0, x20 bl _talloc_free LBB0_13: ldr x8, [sp, #24] Lloh8: adrp x9, ___stack_chk_guard@GOTPAGE Lloh9: ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF] Lloh10: ldr x9, [x9] cmp x9, x8 b.ne LBB0_15 ; %bb.14: ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload add sp, sp, #64 ret LBB0_15: bl ___stack_chk_fail .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpAdd Lloh6, Lloh7 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10 .cfi_endproc ; -- End function .comm _MSGL_STATUS,4,2 ; @MSGL_STATUS .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "%s" .no_dead_strip _term_osd_update .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function radeon_cp_dispatch_indirect _radeon_cp_dispatch_indirect: ## @radeon_cp_dispatch_indirect .cfi_startproc ## %bb.0: 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 movl %edx, %ebx movq %rsi, %r12 movq %rdi, %r15 movq 8(%rdi), %r13 movl 4(%rsi), %esi leaq L_.str(%rip), %rdi callq _DRM_DEBUG subl %ebx, %r14d jne LBB0_2 ## %bb.1: addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_2: movslq (%r12), %rax movslq %ebx, %rcx addl (%r13), %ebx subl %eax, %ebx addl $3, %r14d sarl $2, %r14d movq (%r15), %rdx addq (%rdx), %rax addq %rcx, %rax movq _RADEON_CP_PACKET2@GOTPCREL(%rip), %rcx movl (%rcx), %ecx movslq %r14d, %r14 movl %ecx, (%rax,%r14,4) decl %r14d movl $3, %edi callq _BEGIN_RING movq _RADEON_CP_IB_BASE@GOTPCREL(%rip), %rax movl (%rax), %edi movl $1, %esi callq _CP_PACKET0 movl %eax, %edi callq _OUT_RING movl %ebx, %edi callq _OUT_RING movl %r14d, %edi callq _OUT_RING xorl %eax, %eax addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp jmp _ADVANCE_RING ## TAILCALL .cfi_endproc ## -- End function .comm _RING_LOCALS,4,2 ## @RING_LOCALS .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "buf=%d s=0x%x e=0x%x\n" .comm _RADEON_CP_PACKET2,4,2 ## @RADEON_CP_PACKET2 .comm _RADEON_CP_IB_BASE,4,2 ## @RADEON_CP_IB_BASE .no_dead_strip _radeon_cp_dispatch_indirect .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function radeon_cp_dispatch_indirect _radeon_cp_dispatch_indirect: ; @radeon_cp_dispatch_indirect .cfi_startproc ; %bb.0: stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill stp x22, x21, [sp, #16] ; 16-byte Folded Spill stp x20, x19, [sp, #32] ; 16-byte Folded Spill stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 mov x22, x3 mov x19, x2 mov x21, x1 mov x20, x0 ldr x23, [x0, #8] ldr w1, [x1, #4] Lloh0: adrp x0, l_.str@PAGE Lloh1: add x0, x0, l_.str@PAGEOFF bl _DRM_DEBUG subs w8, w22, w19 b.ne LBB0_2 ; %bb.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 ldp x24, x23, [sp], #64 ; 16-byte Folded Reload ret LBB0_2: ldr w9, [x23] ldrsw x10, [x21] add w9, w9, w19 sub w21, w9, w10 add w8, w8, #3 asr w8, w8, #2 ldr x9, [x20] ldr x9, [x9] add x9, x9, x10 add x9, x9, w19, sxtw Lloh2: adrp x10, _RADEON_CP_PACKET2@GOTPAGE Lloh3: ldr x10, [x10, _RADEON_CP_PACKET2@GOTPAGEOFF] Lloh4: ldr w10, [x10] str w10, [x9, w8, sxtw #2] sub w19, w8, #1 mov w0, #3 ; =0x3 bl _BEGIN_RING Lloh5: adrp x8, _RADEON_CP_IB_BASE@GOTPAGE Lloh6: ldr x8, [x8, _RADEON_CP_IB_BASE@GOTPAGEOFF] Lloh7: ldr w0, [x8] mov w1, #1 ; =0x1 bl _CP_PACKET0 bl _OUT_RING mov x0, x21 bl _OUT_RING mov x0, x19 bl _OUT_RING ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload ldp x24, x23, [sp], #64 ; 16-byte Folded Reload b _ADVANCE_RING .loh AdrpAdd Lloh0, Lloh1 .loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7 .loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4 .cfi_endproc ; -- End function .comm _RING_LOCALS,4,2 ; @RING_LOCALS .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "buf=%d s=0x%x e=0x%x\n" .comm _RADEON_CP_PACKET2,4,2 ; @RADEON_CP_PACKET2 .comm _RADEON_CP_IB_BASE,4,2 ; @RADEON_CP_IB_BASE .no_dead_strip _radeon_cp_dispatch_indirect .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_eeprom _cp_get_eeprom: ## @cp_get_eeprom .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdx, %rbx movq %rsi, %r12 callq _netdev_priv movq %rax, %r14 movl (%r12), %r15d movslq 4(%r12), %r13 movq _CP_EEPROM_MAGIC@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, 8(%r12) movq %r14, %rdi callq _spin_lock_irq movl 4(%r14), %edi xorl %esi, %esi movl $8, %edx callq _read_eeprom xorl %ecx, %ecx cmpl $33065, %eax ## imm = 0x8129 sete %cl leal 6(,%rcx,2), %r12d sarl %r15d movl 4(%r14), %edi movl %r15d, %esi movl %r12d, %edx callq _read_eeprom sarl $8, %eax cltq movq %rax, (%rbx) testq %r13, %r13 js LBB0_3 ## %bb.1: movq %r13, %rax incl %r15d movq $-1, %r13 movl %r12d, -44(%rbp) ## 4-byte Spill .p2align 4, 0x90 LBB0_2: ## =>This Inner Loop Header: Depth=1 movl 4(%r14), %edi movl %r15d, %esi movl %r12d, %edx movq %r14, %r12 movq %rax, %r14 callq _read_eeprom cltq movq %rax, 16(%rbx,%r13,8) sarl $8, %eax cltq movq %rax, 24(%rbx,%r13,8) movq %r14, %rax movq %r12, %r14 movl -44(%rbp), %r12d ## 4-byte Reload addq $2, %r13 incl %r15d cmpq %rax, %r13 jb LBB0_2 LBB0_3: movq %r14, %rdi callq _spin_unlock_irq xorl %eax, %eax addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _CP_EEPROM_MAGIC,4,2 ## @CP_EEPROM_MAGIC .no_dead_strip _cp_get_eeprom .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function cp_get_eeprom _cp_get_eeprom: ; @cp_get_eeprom .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, x2 mov x20, x1 bl _netdev_priv mov x19, x0 ldp w22, w23, [x20] Lloh0: adrp x8, _CP_EEPROM_MAGIC@GOTPAGE Lloh1: ldr x8, [x8, _CP_EEPROM_MAGIC@GOTPAGEOFF] Lloh2: ldr w8, [x8] str w8, [x20, #8] bl _spin_lock_irq ldr w0, [x19, #4] mov w20, #8 ; =0x8 mov w1, #0 ; =0x0 mov w2, #8 ; =0x8 bl _read_eeprom mov w8, #33065 ; =0x8129 mov w9, #6 ; =0x6 cmp w0, w8 csel w20, w20, w9, eq asr w22, w22, #1 ldr w0, [x19, #4] mov x1, x22 mov x2, x20 bl _read_eeprom ; kill: def $w0 killed $w0 def $x0 sbfx x8, x0, #8, #24 str x8, [x21] tbnz w23, #31, LBB0_3 ; %bb.1: add x24, x21, #16 add w21, w22, #1 mov x22, #-1 ; =0xffffffffffffffff LBB0_2: ; =>This Inner Loop Header: Depth=1 ldr w0, [x19, #4] mov x1, x21 mov x2, x20 bl _read_eeprom ; kill: def $w0 killed $w0 def $x0 sxtw x8, w0 sbfx x9, x0, #8, #24 stp x8, x9, [x24, #-8] add x22, x22, #2 add x24, x24, #16 add w21, w21, #1 cmp x22, x23 b.lo LBB0_2 LBB0_3: mov x0, x19 bl _spin_unlock_irq mov w0, #0 ; =0x0 ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload ldp x24, x23, [sp], #64 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _CP_EEPROM_MAGIC,4,2 ; @CP_EEPROM_MAGIC .no_dead_strip _cp_get_eeprom .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _IniGetNextLine ## -- Begin function IniGetNextLine .p2align 4, 0x90 _IniGetNextLine: ## @IniGetNextLine .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq %r8, %rax cmpq %rsi, %r8 jle LBB0_2 ## %bb.1: movb $0, (%rdx) popq %rbp retq LBB0_2: decq %rcx xorl %r8d, %r8d .p2align 4, 0x90 LBB0_3: ## =>This Inner Loop Header: Depth=1 movzbl (%rdi,%rax), %r9d cmpq %rcx, %r8 jge LBB0_5 ## %bb.4: ## in Loop: Header=BB0_3 Depth=1 movb %r9b, (%rdx,%r8) incq %r8 LBB0_5: ## in Loop: Header=BB0_3 Depth=1 cmpb $10, %r9b je LBB0_6 ## %bb.7: ## in Loop: Header=BB0_3 Depth=1 decq %rax cmpq %rsi, %rax jle LBB0_3 jmp LBB0_8 LBB0_6: incq %rax LBB0_8: movb $0, (%rdx,%r8) testq %r8, %r8 jne LBB0_9 jmp LBB0_12 .p2align 4, 0x90 LBB0_11: ## in Loop: Header=BB0_9 Depth=1 movb $0, -1(%rdx,%r8) decq %r8 je LBB0_12 LBB0_9: ## =>This Inner Loop Header: Depth=1 movzbl -1(%rdx,%r8), %ecx cmpl $13, %ecx je LBB0_11 ## %bb.10: ## in Loop: Header=BB0_9 Depth=1 cmpl $10, %ecx je LBB0_11 LBB0_12: 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 _IniGetNextLine ; -- Begin function IniGetNextLine .p2align 2 _IniGetNextLine: ; @IniGetNextLine .cfi_startproc ; %bb.0: cmp x4, x1 b.le LBB0_2 ; %bb.1: strb wzr, [x2] mov x0, x4 ret LBB0_2: mov x8, #0 ; =0x0 sub x9, x3, #1 LBB0_3: ; =>This Inner Loop Header: Depth=1 ldrb w10, [x0, x4] cmp x8, x9 b.ge LBB0_5 ; %bb.4: ; in Loop: Header=BB0_3 Depth=1 strb w10, [x2, x8] add x8, x8, #1 LBB0_5: ; in Loop: Header=BB0_3 Depth=1 cmp w10, #10 b.eq LBB0_8 ; %bb.6: ; in Loop: Header=BB0_3 Depth=1 sub x4, x4, #1 cmp x4, x1 b.le LBB0_3 ; %bb.7: strb wzr, [x2, x8] cbnz x8, LBB0_9 b LBB0_12 LBB0_8: add x4, x4, #1 strb wzr, [x2, x8] cbz x8, LBB0_12 LBB0_9: sub x9, x2, #1 LBB0_10: ; =>This Inner Loop Header: Depth=1 ldrb w10, [x9, x8] cmp w10, #13 ccmp w10, #10, #4, ne b.ne LBB0_12 ; %bb.11: ; in Loop: Header=BB0_10 Depth=1 strb wzr, [x9, x8] sub x10, x8, #1 mov x8, x10 cbnz x10, LBB0_10 LBB0_12: mov x0, x4 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 xface_encode_frame _xface_encode_frame: ## @xface_encode_frame .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $16, %rsp movq 16(%rdi), %rax movl (%rdi), %ecx testl %ecx, %ecx jne LBB0_3 ## %bb.1: cmpq $0, 8(%rdi) je LBB0_2 LBB0_3: movq _XFACE_WIDTH@GOTPCREL(%rip), %rsi movl (%rsi), %r9d cmpl %r9d, %ecx sete %sil movq 8(%rdi), %r8 movq _XFACE_HEIGHT@GOTPCREL(%rip), %r10 movq (%r10), %r10 cmpq %r10, %r8 sete %r11b andb %sil, %r11b cmpb $1, %r11b je LBB0_4 ## %bb.6: movq _AV_LOG_ERROR@GOTPCREL(%rip), %rax movl (%rax), %esi movq %r10, (%rsp) leaq L_.str(%rip), %rdx callq _av_log movq _EINVAL@GOTPCREL(%rip), %rax movl (%rax), %edi addq $16, %rsp popq %rbp jmp _AVERROR ## TAILCALL LBB0_2: movq _XFACE_WIDTH@GOTPCREL(%rip), %rcx movl (%rcx), %ecx movq _XFACE_HEIGHT@GOTPCREL(%rip), %rsi movq (%rsi), %r8 LBB0_4: movl %ecx, (%rdi) movq %r8, 8(%rdi) movq (%rdx), %rcx movq (%rcx), %rcx movq (%rax), %rax xorl %edx, %edx .p2align 4, 0x90 LBB0_5: ## =>This Inner Loop Header: Depth=1 movl (%rcx), %esi leal 7(%rdx), %edi movzbl %dil, %edi xorl %r8d, %r8d btl %edi, %esi setb %r8b movl %r8d, (%rax,%rdx,4) incq %rdx jmp LBB0_5 .cfi_endproc ## -- End function .comm _XFACE_PIXELS,4,2 ## @XFACE_PIXELS .comm _XFACE_MAX_DIGITS,4,2 ## @XFACE_MAX_DIGITS .comm _XFACE_WIDTH,4,2 ## @XFACE_WIDTH .comm _XFACE_HEIGHT,8,3 ## @XFACE_HEIGHT .comm _AV_LOG_ERROR,4,2 ## @AV_LOG_ERROR .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "Size value %dx%d not supported, only accepts a size of %dx%d\n" .comm _EINVAL,4,2 ## @EINVAL .comm _XFACE_MAX_WORDS,8,3 ## @XFACE_MAX_WORDS .comm _XFACE_PRINTS,4,2 ## @XFACE_PRINTS .comm _XFACE_FIRST_PRINT,4,2 ## @XFACE_FIRST_PRINT .comm _AV_PKT_FLAG_KEY,4,2 ## @AV_PKT_FLAG_KEY .no_dead_strip _xface_encode_frame .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function xface_encode_frame _xface_encode_frame: ; @xface_encode_frame .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 ldr x8, [x0, #16] ldr w3, [x0] cbnz w3, LBB0_2 ; %bb.1: ldr x9, [x0, #8] cbz x9, LBB0_4 LBB0_2: Lloh0: adrp x9, _XFACE_WIDTH@GOTPAGE Lloh1: ldr x9, [x9, _XFACE_WIDTH@GOTPAGEOFF] Lloh2: ldr w5, [x9] ldr x4, [x0, #8] Lloh3: adrp x9, _XFACE_HEIGHT@GOTPAGE Lloh4: ldr x9, [x9, _XFACE_HEIGHT@GOTPAGEOFF] Lloh5: ldr x6, [x9] cmp w3, w5 ccmp x4, x6, #0, eq b.eq LBB0_5 ; %bb.3: Lloh6: adrp x8, _AV_LOG_ERROR@GOTPAGE Lloh7: ldr x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF] Lloh8: ldr w1, [x8] Lloh9: adrp x2, l_.str@PAGE Lloh10: add x2, x2, l_.str@PAGEOFF bl _av_log Lloh11: adrp x8, _EINVAL@GOTPAGE Lloh12: ldr x8, [x8, _EINVAL@GOTPAGEOFF] Lloh13: ldr w0, [x8] ldp x29, x30, [sp], #16 ; 16-byte Folded Reload b _AVERROR LBB0_4: Lloh14: adrp x9, _XFACE_WIDTH@GOTPAGE Lloh15: ldr x9, [x9, _XFACE_WIDTH@GOTPAGEOFF] Lloh16: ldr w3, [x9] Lloh17: adrp x9, _XFACE_HEIGHT@GOTPAGE Lloh18: ldr x9, [x9, _XFACE_HEIGHT@GOTPAGEOFF] Lloh19: ldr x4, [x9] LBB0_5: str w3, [x0] str x4, [x0, #8] ldr x9, [x2] ldr x9, [x9] ldr x8, [x8] mov w10, #7 ; =0x7 LBB0_6: ; =>This Inner Loop Header: Depth=1 ldr w11, [x9] lsr w11, w11, w10 and w11, w11, #0x1 str w11, [x8], #4 add w10, w10, #1 b LBB0_6 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13 .loh AdrpAdd Lloh9, Lloh10 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19 .loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16 .cfi_endproc ; -- End function .comm _XFACE_PIXELS,4,2 ; @XFACE_PIXELS .comm _XFACE_MAX_DIGITS,4,2 ; @XFACE_MAX_DIGITS .comm _XFACE_WIDTH,4,2 ; @XFACE_WIDTH .comm _XFACE_HEIGHT,8,3 ; @XFACE_HEIGHT .comm _AV_LOG_ERROR,4,2 ; @AV_LOG_ERROR .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "Size value %dx%d not supported, only accepts a size of %dx%d\n" .comm _EINVAL,4,2 ; @EINVAL .comm _XFACE_MAX_WORDS,8,3 ; @XFACE_MAX_WORDS .comm _XFACE_PRINTS,4,2 ; @XFACE_PRINTS .comm _XFACE_FIRST_PRINT,4,2 ; @XFACE_FIRST_PRINT .comm _AV_PKT_FLAG_KEY,4,2 ; @AV_PKT_FLAG_KEY .no_dead_strip _xface_encode_frame .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function decode_0 _decode_0: ## @decode_0 .cfi_startproc ## %bb.0: 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 %rsi, -88(%rbp) ## 8-byte Spill movq %rdi, %rbx leaq 40(%rdi), %r14 movq %r14, %rdi callq _bytestream2_get_byte testl %eax, %eax movq %r14, -80(%rbp) ## 8-byte Spill je LBB0_11 ## %bb.1: movl %eax, %r15d movq %r14, %rdi callq _bytestream2_tell andl $3, %eax je LBB0_3 ## %bb.2: movl $4, %esi subl %eax, %esi movq %r14, %rdi callq _bytestream2_skip jmp LBB0_3 .p2align 4, 0x90 LBB0_10: ## in Loop: Header=BB0_3 Depth=1 movl -52(%rbp), %r15d ## 4-byte Reload decl %r15d movq -80(%rbp), %r14 ## 8-byte Reload je LBB0_11 LBB0_3: ## =>This Loop Header: Depth=1 ## Child Loop BB0_6 Depth 2 movl %r15d, -52(%rbp) ## 4-byte Spill movq %r14, %rdi callq _bytestream2_get_be16 movl %eax, %r12d sarl $14, %eax movq (%rbx), %rcx cltq movq %rax, -48(%rbp) ## 8-byte Spill movq (%rcx,%rax,8), %rax movq %rax, -64(%rbp) ## 8-byte Spill movslq 8(%rbx), %rax movq %rax, -96(%rbp) ## 8-byte Spill movq %r14, %r15 movslq 12(%rbx), %r14 movq %r15, %rdi callq _bytestream2_get_le16 movl %eax, %r13d movq %r15, %rdi callq _bytestream2_get_bytes_left movl %r13d, %ecx shll $4, %ecx cmpl %ecx, %eax jl LBB0_4 ## %bb.5: ## in Loop: Header=BB0_3 Depth=1 movq -64(%rbp), %rcx ## 8-byte Reload leaq (%rcx,%r14,4), %r14 leal (,%r12,4), %eax movzbl %al, %r15d addl %r15d, %r13d movl %r12d, %eax andl $127, %eax shll $3, %eax subq %rax, %rcx shrl $6, %r12d andl $254, %r12d movq -96(%rbp), %rax ## 8-byte Reload imulq %r12, %rax leaq (%rcx,%rax,4), %r12 movq 16(%rbx), %rax movq -48(%rbp), %rcx ## 8-byte Reload movl $1, (%rax,%rcx,4) jmp LBB0_6 .p2align 4, 0x90 LBB0_9: ## in Loop: Header=BB0_6 Depth=2 addq $16, %r12 cmpl %r13d, %r15d jg LBB0_10 LBB0_6: ## Parent Loop BB0_3 Depth=1 ## => This Inner Loop Header: Depth=2 movslq 8(%rbx), %rdx leaq (%rdx,%rdx,2), %rax leaq (%r12,%rax,4), %rax addq $16, %rax cmpq %r14, %rax ja LBB0_4 ## %bb.7: ## in Loop: Header=BB0_6 Depth=2 decl %r15d movq %rbx, %rdi movq %r12, %rsi ## kill: def $edx killed $edx killed $rdx callq _read4x4block testb $63, %r15b jne LBB0_9 ## %bb.8: ## in Loop: Header=BB0_6 Depth=2 movslq 8(%rbx), %rax leaq (%rax,%rax,2), %rax leaq (%r12,%rax,4), %r12 jmp LBB0_9 LBB0_11: movq (%rbx), %rax movq 24(%rbx), %rcx movq (%rax,%rcx,8), %r15 movslq 12(%rbx), %rax leaq (%r15,%rax,4), %r13 xorl %r12d, %r12d jmp LBB0_12 .p2align 4, 0x90 LBB0_17: ## in Loop: Header=BB0_12 Depth=1 addq $16, %r15 movl 32(%rbx), %eax leal 15(%rax), %ecx testl %eax, %eax cmovnsl %eax, %ecx sarl $4, %ecx cmpl %ecx, %r12d jge LBB0_18 LBB0_12: ## =>This Inner Loop Header: Depth=1 movq %rbx, %rdi leaq -72(%rbp), %rsi leaq -104(%rbp), %rdx callq _set_src_position movq -72(%rbp), %rcx movslq 8(%rbx), %rax shlq $2, %rax leaq (%rax,%rax,2), %rax addq %rax, %rcx addq $16, %rcx cmpq -104(%rbp), %rcx ja LBB0_4 ## %bb.13: ## in Loop: Header=BB0_12 Depth=1 addq %r15, %rax addq $16, %rax cmpq %r13, %rax ja LBB0_4 ## %bb.14: ## in Loop: Header=BB0_12 Depth=1 movq %r14, %rdi callq _bytestream2_get_bytes_left cmpl $3, %eax jle LBB0_4 ## %bb.15: ## in Loop: Header=BB0_12 Depth=1 movq -72(%rbp), %rsi movl 8(%rbx), %ecx movq %r15, %rdi movl %ecx, %edx movl $4, %r8d callq _copy_block4 incl %r12d testb $63, %r12b jne LBB0_17 ## %bb.16: ## in Loop: Header=BB0_12 Depth=1 movslq 8(%rbx), %rax leaq (%rax,%rax,2), %rax leaq (%r15,%rax,4), %r15 jmp LBB0_17 LBB0_18: movq %r14, %rdi callq _bytestream2_get_le16 movl %eax, %r15d movq %r14, %rdi movl $2, %esi callq _bytestream2_skip movq %r14, %rdi callq _bytestream2_get_bytes_left cmpl %r15d, %eax jge LBB0_19 LBB0_4: movq _AVERROR_INVALIDDATA@GOTPCREL(%rip), %rax movl (%rax), %eax LBB0_42: addq $88, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_19: movq %r14, %rdi callq _bytestream2_tell movl %eax, %r12d movq %r14, %rdi movl %r15d, %esi callq _bytestream2_skipu movl 36(%rbx), %edx testl %edx, %edx jle LBB0_20 ## %bb.21: movslq %r12d, %rax movq -88(%rbp), %rcx ## 8-byte Reload leaq (%rcx,%rax,4), %rax movq %rax, -128(%rbp) ## 8-byte Spill movq (%rbx), %rax movq 24(%rbx), %rcx movq (%rax,%rcx,8), %rax movq %rax, -48(%rbp) ## 8-byte Spill movl 8(%rbx), %ecx xorl %edi, %edi xorl %r8d, %r8d xorl %r9d, %r9d movl %r15d, -108(%rbp) ## 4-byte Spill LBB0_22: ## =>This Loop Header: Depth=1 ## Child Loop BB0_24 Depth 2 ## Child Loop BB0_27 Depth 3 testl %ecx, %ecx jle LBB0_41 ## %bb.23: ## in Loop: Header=BB0_22 Depth=1 xorl %eax, %eax movl %r8d, -112(%rbp) ## 4-byte Spill jmp LBB0_24 LBB0_38: ## in Loop: Header=BB0_24 Depth=2 movl 8(%rbx), %ecx movl -108(%rbp), %r15d ## 4-byte Reload LBB0_39: ## in Loop: Header=BB0_24 Depth=2 movl -116(%rbp), %eax ## 4-byte Reload shrl $2, %eax movl -52(%rbp), %edi ## 4-byte Reload addl %eax, %edi movl -88(%rbp), %eax ## 4-byte Reload addl $4, %eax addq $16, -48(%rbp) ## 8-byte Folded Spill cmpl %ecx, %eax movl -112(%rbp), %r8d ## 4-byte Reload movl -64(%rbp), %r9d ## 4-byte Reload jge LBB0_40 LBB0_24: ## Parent Loop BB0_22 Depth=1 ## => This Loop Header: Depth=2 ## Child Loop BB0_27 Depth 3 cmpl %r15d, %edi jg LBB0_4 ## %bb.25: ## in Loop: Header=BB0_24 Depth=2 movl %r9d, -64(%rbp) ## 4-byte Spill movl %eax, -88(%rbp) ## 4-byte Spill movl %eax, %esi andl $4, %esi movl %edi, -52(%rbp) ## 4-byte Spill movslq %edi, %rax movq -128(%rbp), %rdx ## 8-byte Reload movl (%rdx,%rax,4), %eax movl %eax, %edx andl $15, %edx sarl $4, %eax movl %esi, -116(%rbp) ## 4-byte Spill testl %esi, %esi cmovnel %edx, %eax movslq %eax, %r12 movq _block_sequences@GOTPCREL(%rip), %rax movq (%rax), %rax movq (%rax,%r12,8), %rax movl (%rax), %eax testl %eax, %eax je LBB0_39 ## %bb.26: ## in Loop: Header=BB0_24 Depth=2 movl $4, %r15d movq %r12, -96(%rbp) ## 8-byte Spill jmp LBB0_27 LBB0_29: ## in Loop: Header=BB0_27 Depth=3 movq -80(%rbp), %r13 ## 8-byte Reload movl -64(%rbp), %r12d ## 4-byte Reload LBB0_32: ## in Loop: Header=BB0_27 Depth=3 movq %r13, %rdi callq _bytestream2_get_byte movslq %r14d, %rcx movq -48(%rbp), %rdx ## 8-byte Reload leaq (%rdx,%rcx,4), %rdi movl 8(%rbx), %esi movl %eax, %edx movl %r12d, -64(%rbp) ## 4-byte Spill movl %r12d, %ecx callq _copy_color_mask movq -96(%rbp), %r12 ## 8-byte Reload LBB0_37: ## in Loop: Header=BB0_27 Depth=3 movq _block_sequences@GOTPCREL(%rip), %rax movq (%rax), %rax movq (%rax,%r12,8), %rax movl (%rax,%r15), %eax addq $4, %r15 testl %eax, %eax je LBB0_38 LBB0_27: ## Parent Loop BB0_22 Depth=1 ## Parent Loop BB0_24 Depth=2 ## => This Inner Loop Header: Depth=3 addl $-2, %eax cmpl $5, %eax ja LBB0_37 ## %bb.28: ## in Loop: Header=BB0_27 Depth=3 movl 8(%rbx), %ecx leal (%rcx,%rcx), %r14d leaq LJTI0_0(%rip), %rdx movslq (%rdx,%rax,4), %rax addq %rdx, %rax jmpq *%rax LBB0_30: ## in Loop: Header=BB0_27 Depth=3 xorl %r14d, %r14d LBB0_31: ## in Loop: Header=BB0_27 Depth=3 movq -80(%rbp), %r13 ## 8-byte Reload movq %r13, %rdi callq _bytestream2_get_byte movl %eax, %r12d jmp LBB0_32 LBB0_33: ## in Loop: Header=BB0_27 Depth=3 xorl %r14d, %r14d LBB0_34: ## in Loop: Header=BB0_27 Depth=3 movq %rbx, %rdi leaq -72(%rbp), %rsi leaq -104(%rbp), %rdx callq _set_src_position movl 8(%rbx), %ecx LBB0_35: ## in Loop: Header=BB0_27 Depth=3 movslq %r14d, %r14 leaq (,%r14,4), %r13 movq -72(%rbp), %rax addq %r13, %rax movslq %ecx, %rcx leaq (%rax,%rcx,4), %rax addq $16, %rax cmpq -104(%rbp), %rax ja LBB0_4 ## %bb.36: ## in Loop: Header=BB0_27 Depth=3 movq -80(%rbp), %rdi ## 8-byte Reload callq _bytestream2_get_byte movq -48(%rbp), %rcx ## 8-byte Reload leaq (%rcx,%r14,4), %rdi movl 8(%rbx), %esi addq -72(%rbp), %r13 movl %eax, %edx movq %r13, %rcx callq _copy_src_mask jmp LBB0_37 LBB0_40: ## in Loop: Header=BB0_22 Depth=1 movl 36(%rbx), %edx LBB0_41: ## in Loop: Header=BB0_22 Depth=1 addl $4, %r8d leal (%rcx,%rcx,2), %eax cltq movq -48(%rbp), %rsi ## 8-byte Reload leaq (%rsi,%rax,4), %rsi movq %rsi, -48(%rbp) ## 8-byte Spill xorl %eax, %eax cmpl %edx, %r8d jl LBB0_22 jmp LBB0_42 LBB0_20: xorl %eax, %eax jmp LBB0_42 .cfi_endproc .p2align 2, 0x90 .data_region jt32 .set L0_0_set_30, LBB0_30-LJTI0_0 .set L0_0_set_31, LBB0_31-LJTI0_0 .set L0_0_set_29, LBB0_29-LJTI0_0 .set L0_0_set_33, LBB0_33-LJTI0_0 .set L0_0_set_34, LBB0_34-LJTI0_0 .set L0_0_set_35, LBB0_35-LJTI0_0 LJTI0_0: .long L0_0_set_30 .long L0_0_set_31 .long L0_0_set_29 .long L0_0_set_33 .long L0_0_set_34 .long L0_0_set_35 .end_data_region ## -- End function .comm _AVERROR_INVALIDDATA,4,2 ## @AVERROR_INVALIDDATA .comm _block_sequences,8,3 ## @block_sequences .no_dead_strip _decode_0 .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function decode_0 _decode_0: ; @decode_0 .cfi_startproc ; %bb.0: sub sp, sp, #128 stp x28, x27, [sp, #32] ; 16-byte Folded Spill stp x26, x25, [sp, #48] ; 16-byte Folded Spill stp x24, x23, [sp, #64] ; 16-byte Folded Spill stp x22, x21, [sp, #80] ; 16-byte Folded Spill stp x20, x19, [sp, #96] ; 16-byte Folded Spill stp x29, x30, [sp, #112] ; 16-byte Folded Spill add x29, sp, #112 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset w27, -88 .cfi_offset w28, -96 str x1, [sp, #8] ; 8-byte Folded Spill mov x19, x0 add x0, x0, #40 bl _bytestream2_get_byte cbz w0, LBB0_11 ; %bb.1: mov x20, x0 add x0, x19, #40 bl _bytestream2_tell ands w8, w0, #0x3 b.eq LBB0_3 ; %bb.2: mov w9, #4 ; =0x4 sub w1, w9, w8 add x0, x19, #40 bl _bytestream2_skip LBB0_3: mov w24, #1 ; =0x1 mov w25, #12 ; =0xc LBB0_4: ; =>This Loop Header: Depth=1 ; Child Loop BB0_7 Depth 2 add x0, x19, #40 bl _bytestream2_get_be16 mov x21, x0 asr w8, w0, #14 ldr x9, [x19] ldr x22, [x9, w8, sxtw #3] ldp w28, w26, [x19, #8] ; kill: def $w26 killed $w26 def $x26 sxtw x26, w26 add x0, x19, #40 bl _bytestream2_get_le16 mov x23, x0 add x0, x19, #40 bl _bytestream2_get_bytes_left cmp w0, w23, lsl #4 b.lt LBB0_18 ; %bb.5: ; in Loop: Header=BB0_4 Depth=1 sbfx x8, x21, #14, #18 add x26, x22, x26, lsl #2 ubfiz w27, w21, #2, #6 add w23, w23, w27 ubfiz w9, w21, #1, #7 sub x9, x22, w9, uxtw #2 lsr w10, w21, #6 and w10, w10, #0xfe mul w10, w28, w10 add x21, x9, w10, sxtw #2 ldr x9, [x19, #16] str w24, [x9, x8, lsl #2] b LBB0_7 LBB0_6: ; in Loop: Header=BB0_7 Depth=2 add x21, x21, #16 cmp w27, w23 b.gt LBB0_10 LBB0_7: ; Parent Loop BB0_4 Depth=1 ; => This Inner Loop Header: Depth=2 ldr w2, [x19, #8] add w8, w2, w2, lsl #1 add x8, x21, w8, sxtw #2 add x8, x8, #16 cmp x8, x26 b.hi LBB0_18 ; %bb.8: ; in Loop: Header=BB0_7 Depth=2 sub w27, w27, #1 mov x0, x19 mov x1, x21 bl _read4x4block tst w27, #0x3f b.ne LBB0_6 ; %bb.9: ; in Loop: Header=BB0_7 Depth=2 ldrsw x8, [x19, #8] smaddl x21, w8, w25, x21 b LBB0_6 LBB0_10: ; in Loop: Header=BB0_4 Depth=1 subs w20, w20, #1 b.ne LBB0_4 LBB0_11: mov w21, #0 ; =0x0 ldr x8, [x19] ldr x9, [x19, #24] ldr x20, [x8, x9, lsl #3] ldrsw x8, [x19, #12] add x23, x20, x8, lsl #2 mov w24, #12 ; =0xc b LBB0_13 LBB0_12: ; in Loop: Header=BB0_13 Depth=1 add x20, x20, #16 ldr w8, [x19, #32] add w9, w8, #15 cmp w8, #0 csel w8, w9, w8, lt cmp w21, w8, asr #4 b.ge LBB0_17 LBB0_13: ; =>This Inner Loop Header: Depth=1 add x1, sp, #24 add x2, sp, #16 mov x0, x19 bl _set_src_position ldp x10, x8, [sp, #16] ldrsw x9, [x19, #8] add x9, x9, x9, lsl #1 lsl x9, x9, #2 add x8, x8, x9 add x8, x8, #16 add x9, x20, x9 add x9, x9, #16 cmp x8, x10 ccmp x9, x23, #2, ls b.hi LBB0_18 ; %bb.14: ; in Loop: Header=BB0_13 Depth=1 add x0, x19, #40 bl _bytestream2_get_bytes_left cmp w0, #3 b.le LBB0_18 ; %bb.15: ; in Loop: Header=BB0_13 Depth=1 ldr x1, [sp, #24] ldr w2, [x19, #8] mov x0, x20 mov x3, x2 mov w4, #4 ; =0x4 bl _copy_block4 add w21, w21, #1 tst w21, #0x3f b.ne LBB0_12 ; %bb.16: ; in Loop: Header=BB0_13 Depth=1 ldrsw x8, [x19, #8] smaddl x20, w8, w24, x20 b LBB0_12 LBB0_17: add x0, x19, #40 bl _bytestream2_get_le16 mov x20, x0 add x0, x19, #40 mov w1, #2 ; =0x2 bl _bytestream2_skip add x0, x19, #40 bl _bytestream2_get_bytes_left cmp w0, w20 b.ge LBB0_20 LBB0_18: Lloh0: adrp x8, _AVERROR_INVALIDDATA@GOTPAGE Lloh1: ldr x8, [x8, _AVERROR_INVALIDDATA@GOTPAGEOFF] Lloh2: ldr w0, [x8] LBB0_19: ldp x29, x30, [sp, #112] ; 16-byte Folded Reload ldp x20, x19, [sp, #96] ; 16-byte Folded Reload ldp x22, x21, [sp, #80] ; 16-byte Folded Reload ldp x24, x23, [sp, #64] ; 16-byte Folded Reload ldp x26, x25, [sp, #48] ; 16-byte Folded Reload ldp x28, x27, [sp, #32] ; 16-byte Folded Reload add sp, sp, #128 ret LBB0_20: add x0, x19, #40 bl _bytestream2_tell mov x23, x0 add x0, x19, #40 mov x1, x20 bl _bytestream2_skipu ldr w9, [x19, #36] cmp w9, #1 b.lt LBB0_46 ; %bb.21: mov w24, #0 ; =0x0 mov w11, #0 ; =0x0 mov w21, #0 ; =0x0 ldr x8, [sp, #8] ; 8-byte Folded Reload add x12, x8, w23, sxtw #2 ldr x8, [x19] ldr x10, [x19, #24] ldr x23, [x8, x10, lsl #3] ldr w8, [x19, #8] Lloh3: adrp x26, _block_sequences@GOTPAGE Lloh4: ldr x26, [x26, _block_sequences@GOTPAGEOFF] str w20, [sp, #4] ; 4-byte Folded Spill str x12, [sp, #8] ; 8-byte Folded Spill LBB0_22: ; =>This Loop Header: Depth=1 ; Child Loop BB0_26 Depth 2 ; Child Loop BB0_33 Depth 3 cmp w8, #1 b.lt LBB0_45 ; %bb.23: ; in Loop: Header=BB0_22 Depth=1 str w11, [sp] ; 4-byte Folded Spill mov w27, #0 ; =0x0 b LBB0_26 LBB0_24: ; in Loop: Header=BB0_26 Depth=2 ldr w8, [x19, #8] ldr w20, [sp, #4] ; 4-byte Folded Reload ldr x12, [sp, #8] ; 8-byte Folded Reload LBB0_25: ; in Loop: Header=BB0_26 Depth=2 add w24, w24, w28, lsr #2 add w27, w27, #4 add x23, x23, #16 cmp w27, w8 b.ge LBB0_44 LBB0_26: ; Parent Loop BB0_22 Depth=1 ; => This Loop Header: Depth=2 ; Child Loop BB0_33 Depth 3 cmp w24, w20 b.gt LBB0_18 ; %bb.27: ; in Loop: Header=BB0_26 Depth=2 ldr w9, [x12, w24, sxtw #2] and w10, w9, #0xf asr w9, w9, #4 ands w28, w27, #0x4 csel w22, w9, w10, eq ldr x9, [x26] ldr x9, [x9, w22, sxtw #3] ldr w9, [x9] cbz w9, LBB0_25 ; %bb.28: ; in Loop: Header=BB0_26 Depth=2 mov w25, #4 ; =0x4 b LBB0_33 LBB0_29: ; in Loop: Header=BB0_33 Depth=3 mov w20, #0 ; =0x0 LBB0_30: ; in Loop: Header=BB0_33 Depth=3 add x0, x19, #40 bl _bytestream2_get_byte mov x21, x0 LBB0_31: ; in Loop: Header=BB0_33 Depth=3 add x0, x19, #40 bl _bytestream2_get_byte mov x2, x0 add x0, x23, w20, sxtw #2 ldr w1, [x19, #8] mov x3, x21 bl _copy_color_mask LBB0_32: ; in Loop: Header=BB0_33 Depth=3 ldr x8, [x26] ldr x8, [x8, w22, sxtw #3] ldr w9, [x8, x25] add x25, x25, #4 cbz w9, LBB0_24 LBB0_33: ; Parent Loop BB0_22 Depth=1 ; Parent Loop BB0_26 Depth=2 ; => This Inner Loop Header: Depth=3 ldr w8, [x19, #8] lsl w20, w8, #1 cmp w9, #4 b.gt LBB0_37 ; %bb.34: ; in Loop: Header=BB0_33 Depth=3 cmp w9, #2 b.eq LBB0_29 ; %bb.35: ; in Loop: Header=BB0_33 Depth=3 cmp w9, #3 b.eq LBB0_30 ; %bb.36: ; in Loop: Header=BB0_33 Depth=3 cmp w9, #4 b.eq LBB0_31 b LBB0_32 LBB0_37: ; in Loop: Header=BB0_33 Depth=3 cmp w9, #5 b.eq LBB0_40 ; %bb.38: ; in Loop: Header=BB0_33 Depth=3 cmp w9, #6 b.eq LBB0_41 ; %bb.39: ; in Loop: Header=BB0_33 Depth=3 cmp w9, #7 b.eq LBB0_42 b LBB0_32 LBB0_40: ; in Loop: Header=BB0_33 Depth=3 mov w20, #0 ; =0x0 LBB0_41: ; in Loop: Header=BB0_33 Depth=3 add x1, sp, #24 add x2, sp, #16 mov x0, x19 bl _set_src_position ldr w8, [x19, #8] LBB0_42: ; in Loop: Header=BB0_33 Depth=3 ldr x9, [sp, #24] add x9, x9, w20, sxtw #2 add x8, x9, w8, sxtw #2 add x8, x8, #16 ldr x9, [sp, #16] cmp x8, x9 b.hi LBB0_18 ; %bb.43: ; in Loop: Header=BB0_33 Depth=3 sxtw x20, w20 add x0, x19, #40 bl _bytestream2_get_byte mov x2, x0 lsl x8, x20, #2 ldr w1, [x19, #8] ldr x9, [sp, #24] add x0, x23, x8 add x3, x9, x8 bl _copy_src_mask b LBB0_32 LBB0_44: ; in Loop: Header=BB0_22 Depth=1 ldr w9, [x19, #36] ldr w11, [sp] ; 4-byte Folded Reload LBB0_45: ; in Loop: Header=BB0_22 Depth=1 mov w0, #0 ; =0x0 add w11, w11, #4 add w10, w8, w8, lsl #1 add x23, x23, w10, sxtw #2 cmp w11, w9 b.lt LBB0_22 b LBB0_19 LBB0_46: mov w0, #0 ; =0x0 b LBB0_19 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGot Lloh3, Lloh4 .cfi_endproc ; -- End function .comm _AVERROR_INVALIDDATA,4,2 ; @AVERROR_INVALIDDATA .comm _block_sequences,8,3 ; @block_sequences .no_dead_strip _decode_0 .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl ___resize_panel_left ## -- Begin function __resize_panel_left .p2align 4, 0x90 ___resize_panel_left: ## @__resize_panel_left .cfi_startproc ## %bb.0: 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 %rdi, %r14 callq ___get_cur_panel movq %rax, -72(%rbp) ## 8-byte Spill movq (%rax), %rax movl 4(%rax), %ebx movl 8(%rax), %r15d movl 12(%rax), %ecx movl 16(%rax), %eax movl %ecx, -64(%rbp) ## 4-byte Spill addl %ecx, %eax movl %eax, -60(%rbp) ## 4-byte Spill movl (%r14), %edi shll $3, %edi callq _malloc movq %rax, -88(%rbp) ## 8-byte Spill movl (%r14), %edi shll $3, %edi callq _malloc movq %rax, %r13 movl (%r14), %edi shll $3, %edi callq _malloc movq %rax, %r12 movl (%r14), %edi shll $3, %edi callq _malloc movq -88(%rbp), %r11 ## 8-byte Reload movq %r11, %rcx movq %r13, -104(%rbp) ## 8-byte Spill orq %r13, %rcx movq %r12, %r13 movq %rax, %r12 setne %al testq %r13, %r13 setne %cl andb %al, %cl testq %r12, %r12 setne %al andb %cl, %al cmpb $1, %al jne LBB0_55 ## %bb.1: cmpl $0, (%r14) jle LBB0_55 ## %bb.2: movq %r12, -80(%rbp) ## 8-byte Spill movq %r13, -96(%rbp) ## 8-byte Spill notl %r15d addl %ebx, %r15d xorl %r13d, %r13d movq _PANEL_CONFIG_RESIZE_W@GOTPCREL(%rip), %r10 movl $0, -56(%rbp) ## 4-byte Folded Spill movl $0, -48(%rbp) ## 4-byte Folded Spill movl $0, -52(%rbp) ## 4-byte Folded Spill movl $0, -44(%rbp) ## 4-byte Folded Spill jmp LBB0_3 .p2align 4, 0x90 LBB0_23: ## in Loop: Header=BB0_3 Depth=1 incl %r13d cmpl (%r14), %r13d jge LBB0_24 LBB0_3: ## =>This Inner Loop Header: Depth=1 cmpl 4(%r14), %r13d je LBB0_24 ## %bb.4: ## in Loop: Header=BB0_3 Depth=1 movq %r10, %r12 movq %r14, %rdi movl %r13d, %esi callq ___get_panel movq (%rax), %rsi movl 4(%rsi), %edx movl 8(%rsi), %edi leal (%rdx,%rdi), %ecx decl %ecx movl 12(%rsi), %r8d movl 16(%rsi), %r9d addl %r8d, %r9d cmpl -64(%rbp), %r8d ## 4-byte Folded Reload jne LBB0_8 ## %bb.5: ## in Loop: Header=BB0_3 Depth=1 cmpl -60(%rbp), %r9d ## 4-byte Folded Reload jne LBB0_8 ## %bb.6: ## in Loop: Header=BB0_3 Depth=1 cmpl %ebx, %ecx jne LBB0_8 ## %bb.7: ## in Loop: Header=BB0_3 Depth=1 movl (%r12), %r10d movl %ebx, %r11d subl %r10d, %r11d cmpl %edx, %r11d jg LBB0_56 LBB0_8: ## in Loop: Header=BB0_3 Depth=1 cmpl -64(%rbp), %r9d ## 4-byte Folded Reload jle LBB0_10 ## %bb.9: ## in Loop: Header=BB0_3 Depth=1 movb $1, %dil cmpl %r9d, -60(%rbp) ## 4-byte Folded Reload jge LBB0_11 LBB0_10: ## in Loop: Header=BB0_3 Depth=1 cmpl -64(%rbp), %r8d ## 4-byte Folded Reload setge %sil cmpl %r8d, -60(%rbp) ## 4-byte Folded Reload setg %dil andb %sil, %dil LBB0_11: ## in Loop: Header=BB0_3 Depth=1 movq %r12, %r10 movl (%r12), %esi cmpl %ebx, %ecx jne LBB0_15 ## %bb.12: ## in Loop: Header=BB0_3 Depth=1 testb %dil, %dil je LBB0_15 ## %bb.13: ## in Loop: Header=BB0_3 Depth=1 movl %ebx, %r8d subl %esi, %r8d cmpl %edx, %r8d jle LBB0_15 ## %bb.14: ## in Loop: Header=BB0_3 Depth=1 movl -56(%rbp), %r8d ## 4-byte Reload movslq %r8d, %rsi incl %r8d movl %r8d, -56(%rbp) ## 4-byte Spill movq -88(%rbp), %r8 ## 8-byte Reload movq %rax, (%r8,%rsi,8) movl (%r10), %esi LBB0_15: ## in Loop: Header=BB0_3 Depth=1 cmpl %r15d, %edx sete %r8b andb %dil, %r8b cmpb $1, %r8b jne LBB0_18 ## %bb.16: ## in Loop: Header=BB0_3 Depth=1 movl %r15d, %edi subl %esi, %edi cmpl %ebx, %edi jle LBB0_18 ## %bb.17: ## in Loop: Header=BB0_3 Depth=1 movl -52(%rbp), %edi ## 4-byte Reload movslq %edi, %rsi incl %edi movl %edi, -52(%rbp) ## 4-byte Spill movq -96(%rbp), %rdi ## 8-byte Reload movq %rax, (%rdi,%rsi,8) movl (%r10), %esi LBB0_18: ## in Loop: Header=BB0_3 Depth=1 cmpl %ebx, %edx sete %dil cmpl %esi, %edx setg %dl andb %dil, %dl cmpb $1, %dl jne LBB0_20 ## %bb.19: ## in Loop: Header=BB0_3 Depth=1 movl -48(%rbp), %edi ## 4-byte Reload movslq %edi, %rdx incl %edi movl %edi, -48(%rbp) ## 4-byte Spill movq -104(%rbp), %rdi ## 8-byte Reload movq %rax, (%rdi,%rdx,8) LBB0_20: ## in Loop: Header=BB0_3 Depth=1 cmpl %r15d, %ecx jne LBB0_23 ## %bb.21: ## in Loop: Header=BB0_3 Depth=1 addl %r15d, %esi movq 8(%r14), %rcx cmpl (%rcx), %esi jge LBB0_23 ## %bb.22: ## in Loop: Header=BB0_3 Depth=1 movl -44(%rbp), %edx ## 4-byte Reload movslq %edx, %rcx incl %edx movl %edx, -44(%rbp) ## 4-byte Spill movq -80(%rbp), %rdx ## 8-byte Reload movq %rax, (%rdx,%rcx,8) jmp LBB0_23 LBB0_24: movl -56(%rbp), %ecx ## 4-byte Reload testl %ecx, %ecx jle LBB0_39 ## %bb.25: movl %ecx, %eax cmpl $1, %ecx movq -88(%rbp), %r11 ## 8-byte Reload movq -96(%rbp), %r13 ## 8-byte Reload jne LBB0_32 ## %bb.26: xorl %ecx, %ecx movq -72(%rbp), %r8 ## 8-byte Reload movq -104(%rbp), %r9 ## 8-byte Reload movq -80(%rbp), %r12 ## 8-byte Reload movl -48(%rbp), %ebx ## 4-byte Reload jmp LBB0_27 LBB0_39: movl -52(%rbp), %ecx ## 4-byte Reload testl %ecx, %ecx movq -88(%rbp), %r11 ## 8-byte Reload movq -96(%rbp), %r13 ## 8-byte Reload movq -80(%rbp), %r12 ## 8-byte Reload jle LBB0_55 ## %bb.40: movl %ecx, %eax cmpl $1, %ecx jne LBB0_47 ## %bb.41: xorl %ecx, %ecx movq -72(%rbp), %r8 ## 8-byte Reload movl -44(%rbp), %r9d ## 4-byte Reload jmp LBB0_42 LBB0_32: movl %eax, %edx andl $2147483646, %edx ## imm = 0x7FFFFFFE xorl %ecx, %ecx movq -72(%rbp), %r8 ## 8-byte Reload movq -104(%rbp), %r9 ## 8-byte Reload movq -80(%rbp), %r12 ## 8-byte Reload movl -48(%rbp), %ebx ## 4-byte Reload .p2align 4, 0x90 LBB0_33: ## =>This Inner Loop Header: Depth=1 movl (%r10), %esi movq (%r11,%rcx,8), %rdi movq (%rdi), %rdi subl %esi, 8(%rdi) movl $1, (%rdi) movl (%r10), %esi movq 8(%r11,%rcx,8), %rdi movq (%rdi), %rdi subl %esi, 8(%rdi) movl $1, (%rdi) addq $2, %rcx cmpq %rcx, %rdx jne LBB0_33 LBB0_27: testb $1, %al je LBB0_29 ## %bb.28: movl (%r10), %eax movq (%r11,%rcx,8), %rcx movq (%rcx), %rcx subl %eax, 8(%rcx) movl $1, (%rcx) LBB0_29: testl %ebx, %ebx jle LBB0_38 ## %bb.30: movl %ebx, %eax cmpl $1, %ebx jne LBB0_34 ## %bb.31: xorl %ecx, %ecx jmp LBB0_36 LBB0_56: subl %r10d, %edi movl %edi, 8(%rsi) movq -72(%rbp), %rax ## 8-byte Reload movq (%rax), %rax subl %r10d, 4(%rax) addl %r10d, 8(%rax) movl $1, (%rsi) movq -88(%rbp), %r11 ## 8-byte Reload movq -96(%rbp), %r13 ## 8-byte Reload movq -80(%rbp), %r12 ## 8-byte Reload jmp LBB0_54 LBB0_34: movl %eax, %edx andl $2147483646, %edx ## imm = 0x7FFFFFFE xorl %ecx, %ecx .p2align 4, 0x90 LBB0_35: ## =>This Inner Loop Header: Depth=1 movl (%r10), %esi movq (%r9,%rcx,8), %rdi movq (%rdi), %rdi subl %esi, 4(%rdi) addl %esi, 8(%rdi) movl $1, (%rdi) movl (%r10), %esi movq 8(%r9,%rcx,8), %rdi movq (%rdi), %rdi subl %esi, 4(%rdi) addl %esi, 8(%rdi) movl $1, (%rdi) addq $2, %rcx cmpq %rcx, %rdx jne LBB0_35 LBB0_36: testb $1, %al je LBB0_38 ## %bb.37: movl (%r10), %eax movq (%r9,%rcx,8), %rcx movq (%rcx), %rcx subl %eax, 4(%rcx) addl %eax, 8(%rcx) movl $1, (%rcx) LBB0_38: movl (%r10), %ecx movq (%r8), %rax subl %ecx, 4(%rax) addl %ecx, 8(%rax) jmp LBB0_54 LBB0_47: movl %eax, %edx andl $2147483646, %edx ## imm = 0x7FFFFFFE xorl %ecx, %ecx movq -72(%rbp), %r8 ## 8-byte Reload movl -44(%rbp), %r9d ## 4-byte Reload .p2align 4, 0x90 LBB0_48: ## =>This Inner Loop Header: Depth=1 movl (%r10), %esi movq (%r13,%rcx,8), %rdi movq (%rdi), %rdi addl %esi, 8(%rdi) subl %esi, 4(%rdi) movl $1, (%rdi) movl (%r10), %esi movq 8(%r13,%rcx,8), %rdi movq (%rdi), %rdi addl %esi, 8(%rdi) subl %esi, 4(%rdi) movl $1, (%rdi) addq $2, %rcx cmpq %rcx, %rdx jne LBB0_48 LBB0_42: testb $1, %al je LBB0_44 ## %bb.43: movl (%r10), %eax movq (%r13,%rcx,8), %rcx movq (%rcx), %rcx addl %eax, 8(%rcx) subl %eax, 4(%rcx) movl $1, (%rcx) LBB0_44: testl %r9d, %r9d jle LBB0_53 ## %bb.45: movl %r9d, %eax cmpl $1, %r9d jne LBB0_49 ## %bb.46: xorl %ecx, %ecx jmp LBB0_51 LBB0_49: movl %eax, %edx andl $2147483646, %edx ## imm = 0x7FFFFFFE xorl %ecx, %ecx .p2align 4, 0x90 LBB0_50: ## =>This Inner Loop Header: Depth=1 movl (%r10), %esi movq (%r12,%rcx,8), %rdi movq (%rdi), %rdi subl %esi, 8(%rdi) movl $1, (%rdi) movl (%r10), %esi movq 8(%r12,%rcx,8), %rdi movq (%rdi), %rdi subl %esi, 8(%rdi) movl $1, (%rdi) addq $2, %rcx cmpq %rcx, %rdx jne LBB0_50 LBB0_51: testb $1, %al je LBB0_53 ## %bb.52: movl (%r10), %eax movq (%r12,%rcx,8), %rcx movq (%rcx), %rcx subl %eax, 8(%rcx) movl $1, (%rcx) LBB0_53: movl (%r10), %ecx movq (%r8), %rax subl %ecx, 8(%rax) LBB0_54: movl $1, (%rax) LBB0_55: movq %r11, %rdi callq _free movq -104(%rbp), %rdi ## 8-byte Reload callq _free movq %r13, %rdi callq _free movq %r12, %rdi addq $72, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp jmp _free ## TAILCALL .cfi_endproc ## -- End function .comm _PANEL_CONFIG_RESIZE_W,4,2 ## @PANEL_CONFIG_RESIZE_W .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl ___resize_panel_left ; -- Begin function __resize_panel_left .p2align 2 ___resize_panel_left: ; @__resize_panel_left .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 x24, x0 bl ___get_cur_panel mov x27, x0 ldr x8, [x0] ldp w28, w21, [x8, #4] ldp w23, w26, [x8, #12] ldr w8, [x24] lsl w0, w8, #3 bl _malloc mov x19, x0 ldr w8, [x24] lsl w0, w8, #3 bl _malloc mov x20, x0 ldr w8, [x24] lsl w0, w8, #3 bl _malloc mov x22, x0 ldr w8, [x24] lsl w0, w8, #3 bl _malloc mov x25, x0 stp x20, x19, [sp, #32] ; 16-byte Folded Spill orr x8, x19, x20 cmp x8, #0 str x22, [sp, #24] ; 8-byte Folded Spill ccmp x22, #0, #4, ne ccmp x0, #0, #4, ne b.eq LBB0_33 ; %bb.1: ldr w8, [x24] cmp w8, #1 b.lt LBB0_33 ; %bb.2: stp x27, x25, [sp] ; 16-byte Folded Spill mov w25, #0 ; =0x0 mov w19, #0 ; =0x0 mov w22, #0 ; =0x0 mov w20, #0 ; =0x0 str wzr, [sp, #20] ; 4-byte Folded Spill mvn w8, w21 add w21, w28, w8 add w27, w26, w23 Lloh0: adrp x26, _PANEL_CONFIG_RESIZE_W@GOTPAGE Lloh1: ldr x26, [x26, _PANEL_CONFIG_RESIZE_W@GOTPAGEOFF] b LBB0_4 LBB0_3: ; in Loop: Header=BB0_4 Depth=1 add w25, w25, #1 ldr w8, [x24] cmp w25, w8 b.ge LBB0_16 LBB0_4: ; =>This Inner Loop Header: Depth=1 ldr w8, [x24, #4] cmp w25, w8 b.eq LBB0_16 ; %bb.5: ; in Loop: Header=BB0_4 Depth=1 mov x0, x24 mov x1, x25 bl ___get_panel ldr x10, [x0] ldp w9, w11, [x10, #4] add w8, w9, w11 sub w8, w8, #1 ldp w13, w12, [x10, #12] add w12, w12, w13 cmp w13, w23 ccmp w12, w27, #0, eq ccmp w8, w28, #0, eq b.ne LBB0_7 ; %bb.6: ; in Loop: Header=BB0_4 Depth=1 ldr w14, [x26] sub w15, w28, w14 cmp w15, w9 b.gt LBB0_31 LBB0_7: ; in Loop: Header=BB0_4 Depth=1 cmp w13, w23 ccmp w27, w13, #4, ge cset w10, gt cmp w12, w23 ccmp w27, w12, #8, gt mov w11, #1 ; =0x1 csel w11, w11, w10, ge ldr w10, [x26] sub w12, w28, w10 cmp w8, w28 ccmp w11, #0, #4, eq ccmp w12, w9, #4, ne b.le LBB0_9 ; %bb.8: ; in Loop: Header=BB0_4 Depth=1 ldr x10, [sp, #40] ; 8-byte Folded Reload str x0, [x10, w19, sxtw #3] add w19, w19, #1 ldr w10, [x26] LBB0_9: ; in Loop: Header=BB0_4 Depth=1 cmp w9, w21 cset w12, eq and w11, w12, w11 sub w12, w21, w10 cmp w11, #1 ccmp w12, w28, #4, eq b.le LBB0_11 ; %bb.10: ; in Loop: Header=BB0_4 Depth=1 ldr x10, [sp, #24] ; 8-byte Folded Reload str x0, [x10, w20, sxtw #3] add w20, w20, #1 ldr w10, [x26] LBB0_11: ; in Loop: Header=BB0_4 Depth=1 cmp w9, w28 ccmp w9, w10, #4, eq b.le LBB0_13 ; %bb.12: ; in Loop: Header=BB0_4 Depth=1 ldr x9, [sp, #32] ; 8-byte Folded Reload str x0, [x9, w22, sxtw #3] add w22, w22, #1 LBB0_13: ; in Loop: Header=BB0_4 Depth=1 cmp w8, w21 b.ne LBB0_3 ; %bb.14: ; in Loop: Header=BB0_4 Depth=1 ldr x8, [x24, #8] ldr w8, [x8] add w9, w10, w21 cmp w9, w8 b.ge LBB0_3 ; %bb.15: ; in Loop: Header=BB0_4 Depth=1 ldr x8, [sp, #8] ; 8-byte Folded Reload ldr w9, [sp, #20] ; 4-byte Folded Reload str x0, [x8, w9, sxtw #3] add w8, w9, #1 str w8, [sp, #20] ; 4-byte Folded Spill b LBB0_3 LBB0_16: cmp w19, #1 b.lt LBB0_23 ; %bb.17: mov w8, w19 mov w9, #1 ; =0x1 ldr x10, [sp, #40] ; 8-byte Folded Reload ldp x15, x25, [sp] ; 16-byte Folded Reload LBB0_18: ; =>This Inner Loop Header: Depth=1 ldr w11, [x26] ldr x12, [x10], #8 ldr x12, [x12] ldr w13, [x12, #8] sub w11, w13, w11 str w11, [x12, #8] str w9, [x12] subs x8, x8, #1 b.ne LBB0_18 ; %bb.19: cmp w22, #1 b.lt LBB0_22 ; %bb.20: mov w8, w22 mov w9, #1 ; =0x1 ldr x10, [sp, #32] ; 8-byte Folded Reload LBB0_21: ; =>This Inner Loop Header: Depth=1 ldr w11, [x26] ldr x12, [x10], #8 ldr x12, [x12] ldp w13, w14, [x12, #4] sub w13, w13, w11 add w11, w14, w11 stp w13, w11, [x12, #4] str w9, [x12] subs x8, x8, #1 b.ne LBB0_21 LBB0_22: ldr w9, [x26] ldr x8, [x15] ldp w10, w11, [x8, #4] sub w10, w10, w9 add w9, w11, w9 str w10, [x8, #4] b LBB0_30 LBB0_23: cmp w20, #1 ldp x15, x25, [sp] ; 16-byte Folded Reload b.lt LBB0_33 ; %bb.24: mov w8, w20 mov w9, #1 ; =0x1 ldr x10, [sp, #24] ; 8-byte Folded Reload LBB0_25: ; =>This Inner Loop Header: Depth=1 ldr w11, [x26] ldr x12, [x10], #8 ldr x12, [x12] ldp w14, w13, [x12, #4] add w13, w13, w11 sub w11, w14, w11 stp w11, w13, [x12, #4] str w9, [x12] subs x8, x8, #1 b.ne LBB0_25 ; %bb.26: ldr w8, [sp, #20] ; 4-byte Folded Reload cmp w8, #1 b.lt LBB0_29 ; %bb.27: mov w8, w8 mov w9, #1 ; =0x1 mov x10, x25 LBB0_28: ; =>This Inner Loop Header: Depth=1 ldr w11, [x26] ldr x12, [x10], #8 ldr x12, [x12] ldr w13, [x12, #8] sub w11, w13, w11 str w11, [x12, #8] str w9, [x12] subs x8, x8, #1 b.ne LBB0_28 LBB0_29: ldr w9, [x26] ldr x8, [x15] ldr w10, [x8, #8] sub w9, w10, w9 LBB0_30: str w9, [x8, #8] b LBB0_32 LBB0_31: sub w8, w11, w14 str w8, [x10, #8] ldp x8, x25, [sp] ; 16-byte Folded Reload ldr x8, [x8] ldp w9, w11, [x8, #4] sub w9, w9, w14 add w11, w11, w14 stp w9, w11, [x8, #4] mov w9, #1 ; =0x1 str w9, [x10] LBB0_32: mov w9, #1 ; =0x1 str w9, [x8] LBB0_33: ldr x0, [sp, #40] ; 8-byte Folded Reload bl _free ldr x0, [sp, #32] ; 8-byte Folded Reload bl _free ldr x0, [sp, #24] ; 8-byte Folded Reload bl _free mov x0, x25 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 _free .loh AdrpLdrGot Lloh0, Lloh1 .cfi_endproc ; -- End function .comm _PANEL_CONFIG_RESIZE_W,4,2 ; @PANEL_CONFIG_RESIZE_W .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _escape_string ## -- Begin function escape_string .p2align 4, 0x90 _escape_string: ## @escape_string .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movq %rdi, %r14 callq _strlen movq %rax, %rbx leaq 1(,%rax,4), %rdi callq _malloc testq %rbx, %rbx je LBB0_2 ## %bb.1: movq %rax, %rdi movq %r14, %rsi movq %rbx, %rdx movq %rax, %r14 callq _memcpy movq %r14, %rax LBB0_2: movb $0, (%rax,%rbx) popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _escape_string ; -- Begin function escape_string .p2align 2 _escape_string: ; @escape_string .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x20, x0 bl _strlen mov x19, x0 mov w8, #1 ; =0x1 orr x0, x8, x0, lsl #2 bl _malloc cbz x19, LBB0_2 ; %bb.1: mov x21, x0 mov x1, x20 mov x2, x19 bl _memcpy mov x0, x21 LBB0_2: strb wzr, [x0, x19] ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function unixTempFileDir _unixTempFileDir: ## @unixTempFileDir .cfi_startproc ## %bb.0: 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 _sqlite3_temp_directory@GOTPCREL(%rip), %rax movq (%rax), %rbx cmpq $0, _unixTempFileDir.azDirs(%rip) je LBB0_1 ## %bb.2: cmpq $0, _unixTempFileDir.azDirs+8(%rip) je LBB0_3 LBB0_4: xorl %r15d, %r15d leaq _unixTempFileDir.azDirs(%rip), %r12 leaq -36(%rbp), %r14 testq %rbx, %rbx jne LBB0_6 .p2align 4, 0x90 LBB0_9: ## =>This Inner Loop Header: Depth=1 cmpl $5, %r15d jbe LBB0_10 ## %bb.5: ## in Loop: Header=BB0_9 Depth=1 testq %rbx, %rbx je LBB0_9 LBB0_6: movq %rbx, %rdi movq %r14, %rsi callq _osStat testq %rax, %rax jne LBB0_9 ## %bb.7: movl -36(%rbp), %edi callq _S_ISDIR testq %rax, %rax je LBB0_9 ## %bb.8: movq %rbx, %rdi movl $3, %esi callq _osAccess testq %rax, %rax jne LBB0_9 jmp LBB0_11 LBB0_10: ## in Loop: Header=BB0_9 Depth=1 movl %r15d, %eax decl %r15d movq (%r12,%rax,8), %rbx testq %rbx, %rbx jne LBB0_6 jmp LBB0_9 LBB0_11: movq %rbx, %rax addq $16, %rsp popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq LBB0_1: leaq L_.str.4(%rip), %rdi callq _getenv movq %rax, _unixTempFileDir.azDirs(%rip) cmpq $0, _unixTempFileDir.azDirs+8(%rip) jne LBB0_4 LBB0_3: leaq L_.str.5(%rip), %rdi callq _getenv movq %rax, _unixTempFileDir.azDirs+8(%rip) jmp LBB0_4 .cfi_endproc ## -- End function .section __DATA,__data .p2align 4, 0x0 ## @unixTempFileDir.azDirs _unixTempFileDir.azDirs: .quad 0 .quad 0 .quad L_.str .quad L_.str.1 .quad L_.str.2 .quad L_.str.3 .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "/var/tmp" L_.str.1: ## @.str.1 .asciz "/usr/tmp" L_.str.2: ## @.str.2 .asciz "/tmp" L_.str.3: ## @.str.3 .asciz "." .comm _sqlite3_temp_directory,8,3 ## @sqlite3_temp_directory L_.str.4: ## @.str.4 .asciz "SQLITE_TMPDIR" L_.str.5: ## @.str.5 .asciz "TMPDIR" .no_dead_strip _unixTempFileDir .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function unixTempFileDir _unixTempFileDir: ; @unixTempFileDir .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, _sqlite3_temp_directory@GOTPAGE Lloh1: ldr x8, [x8, _sqlite3_temp_directory@GOTPAGEOFF] Lloh2: ldr x19, [x8] adrp x20, _unixTempFileDir.azDirs@PAGE ldr x8, [x20, _unixTempFileDir.azDirs@PAGEOFF] cbnz x8, LBB0_2 ; %bb.1: Lloh3: adrp x0, l_.str.4@PAGE Lloh4: add x0, x0, l_.str.4@PAGEOFF bl _getenv str x0, [x20, _unixTempFileDir.azDirs@PAGEOFF] LBB0_2: adrp x20, _unixTempFileDir.azDirs@PAGE+8 ldr x8, [x20, _unixTempFileDir.azDirs@PAGEOFF+8] cbnz x8, LBB0_4 ; %bb.3: Lloh5: adrp x0, l_.str.5@PAGE Lloh6: add x0, x0, l_.str.5@PAGEOFF bl _getenv str x0, [x20, _unixTempFileDir.azDirs@PAGEOFF+8] LBB0_4: mov w20, #0 ; =0x0 Lloh7: adrp x21, _unixTempFileDir.azDirs@PAGE Lloh8: add x21, x21, _unixTempFileDir.azDirs@PAGEOFF cbnz x19, LBB0_7 LBB0_5: ; =>This Inner Loop Header: Depth=1 cmp w20, #5 b.ls LBB0_10 ; %bb.6: ; in Loop: Header=BB0_5 Depth=1 cbz x19, LBB0_5 LBB0_7: add x1, sp, #12 mov x0, x19 bl _osStat cbnz x0, LBB0_5 ; %bb.8: ldr w0, [sp, #12] bl _S_ISDIR cbz x0, LBB0_5 ; %bb.9: mov x0, x19 mov w1, #3 ; =0x3 bl _osAccess cbnz x0, LBB0_5 b LBB0_11 LBB0_10: ; in Loop: Header=BB0_5 Depth=1 ldr x19, [x21, w20, uxtw #3] sub w20, w20, #1 cbnz x19, LBB0_7 b LBB0_5 LBB0_11: mov x0, x19 ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload add sp, sp, #64 ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpAdd Lloh3, Lloh4 .loh AdrpAdd Lloh5, Lloh6 .loh AdrpAdd Lloh7, Lloh8 .cfi_endproc ; -- End function .section __DATA,__data .p2align 3, 0x0 ; @unixTempFileDir.azDirs _unixTempFileDir.azDirs: .quad 0 .quad 0 .quad l_.str .quad l_.str.1 .quad l_.str.2 .quad l_.str.3 .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "/var/tmp" l_.str.1: ; @.str.1 .asciz "/usr/tmp" l_.str.2: ; @.str.2 .asciz "/tmp" l_.str.3: ; @.str.3 .asciz "." .comm _sqlite3_temp_directory,8,3 ; @sqlite3_temp_directory l_.str.4: ; @.str.4 .asciz "SQLITE_TMPDIR" l_.str.5: ; @.str.5 .asciz "TMPDIR" .no_dead_strip _unixTempFileDir .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function dasync_digest_nids _dasync_digest_nids: ## @dasync_digest_nids .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 movq %rdi, %rbx cmpb $1, _dasync_digest_nids.init(%rip) jne LBB0_2 ## %bb.1: movl _dasync_digest_nids.pos(%rip), %eax jmp LBB0_6 LBB0_2: xorl %eax, %eax callq _dasync_sha1 testq %rax, %rax je LBB0_4 ## %bb.3: movl _dasync_digest_nids.pos(%rip), %eax jmp LBB0_5 LBB0_4: xorl %edi, %edi callq _EVP_MD_type movl %eax, %ecx movslq _dasync_digest_nids.pos(%rip), %rdx leal -1(%rdx), %eax movl %eax, _dasync_digest_nids.pos(%rip) leaq _dasync_digest_nids.digest_nids(%rip), %rsi movl %ecx, (%rsi,%rdx,4) LBB0_5: movslq %eax, %rcx leaq _dasync_digest_nids.digest_nids(%rip), %rdx movl $0, (%rdx,%rcx,4) movb $1, _dasync_digest_nids.init(%rip) LBB0_6: leaq _dasync_digest_nids.digest_nids(%rip), %rcx movq %rcx, (%rbx) addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .zerofill __DATA,__bss,_dasync_digest_nids.digest_nids,8,2 ## @dasync_digest_nids.digest_nids .zerofill __DATA,__bss,_dasync_digest_nids.pos,4,2 ## @dasync_digest_nids.pos .zerofill __DATA,__bss,_dasync_digest_nids.init,1,2 ## @dasync_digest_nids.init .no_dead_strip _dasync_digest_nids .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function dasync_digest_nids _dasync_digest_nids: ; @dasync_digest_nids .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 adrp x21, _dasync_digest_nids.init@PAGE ldrb w8, [x21, _dasync_digest_nids.init@PAGEOFF] Lloh0: adrp x20, _dasync_digest_nids.digest_nids@PAGE Lloh1: add x20, x20, _dasync_digest_nids.digest_nids@PAGEOFF cmp w8, #1 b.ne LBB0_2 ; %bb.1: Lloh2: adrp x8, _dasync_digest_nids.pos@PAGE Lloh3: ldr w0, [x8, _dasync_digest_nids.pos@PAGEOFF] b LBB0_6 LBB0_2: bl _dasync_sha1 cbz x0, LBB0_4 ; %bb.3: Lloh4: adrp x8, _dasync_digest_nids.pos@PAGE Lloh5: ldr w0, [x8, _dasync_digest_nids.pos@PAGEOFF] b LBB0_5 LBB0_4: bl _EVP_MD_type mov x8, x0 adrp x9, _dasync_digest_nids.pos@PAGE ldrsw x10, [x9, _dasync_digest_nids.pos@PAGEOFF] sub w0, w10, #1 str w0, [x9, _dasync_digest_nids.pos@PAGEOFF] str w8, [x20, x10, lsl #2] LBB0_5: str wzr, [x20, w0, sxtw #2] mov w8, #1 ; =0x1 strb w8, [x21, _dasync_digest_nids.init@PAGEOFF] LBB0_6: str x20, [x19] ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret .loh AdrpAdd Lloh0, Lloh1 .loh AdrpLdr Lloh2, Lloh3 .loh AdrpLdr Lloh4, Lloh5 .cfi_endproc ; -- End function .zerofill __DATA,__bss,_dasync_digest_nids.digest_nids,8,2 ; @dasync_digest_nids.digest_nids .zerofill __DATA,__bss,_dasync_digest_nids.pos,4,2 ; @dasync_digest_nids.pos .zerofill __DATA,__bss,_dasync_digest_nids.init,1,2 ; @dasync_digest_nids.init .no_dead_strip _dasync_digest_nids .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function sort_str _sort_str: ## @sort_str .cfi_startproc ## %bb.0: ## kill: def $esi killed $esi def $rsi ## kill: def $edi killed $edi def $rdi cmpl %esi, %edi jge LBB0_13 ## %bb.1: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $56, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq _S@GOTPCREL(%rip), %r13 movq %rsi, -72(%rbp) ## 8-byte Spill jmp LBB0_2 .p2align 4, 0x90 LBB0_11: ## in Loop: Header=BB0_2 Depth=1 movq -80(%rbp), %rdi ## 8-byte Reload ## kill: def $edi killed $edi killed $rdi movl %r15d, %esi callq _sort_str movl %r14d, %edi movq -72(%rbp), %rsi ## 8-byte Reload cmpl %esi, %r14d jge LBB0_12 LBB0_2: ## =>This Loop Header: Depth=1 ## Child Loop BB0_3 Depth 2 ## Child Loop BB0_4 Depth 3 ## Child Loop BB0_6 Depth 3 movq (%r13), %rax leal (%rdi,%rsi), %ecx sarl %ecx movslq %ecx, %rcx movq (%rax,%rcx,8), %r12 movl %esi, %r15d movq %rdi, -80(%rbp) ## 8-byte Spill movl %edi, %r14d jmp LBB0_3 .p2align 4, 0x90 LBB0_9: ## in Loop: Header=BB0_3 Depth=2 movq (%r13), %rax movq -64(%rbp), %rsi ## 8-byte Reload leaq (%rax,%rsi,8), %rcx addq $8, %rcx movq (%rcx,%rbx,8), %rdx leaq (%rax,%rdi,8), %rax addq $8, %rax movq (%rax,%r15,8), %rax movq %rax, (%rcx,%rbx,8) addq (%r13), %r14 movq %rdx, 8(%r14,%r15,8) movq _L@GOTPCREL(%rip), %rax movq (%rax), %rax leaq (%rax,%rsi,4), %rcx movl 4(%rcx,%rbx,4), %edx leaq (%rax,%rdi,4), %rax movl 4(%rax,%r15,4), %esi movq -56(%rbp), %r14 ## 8-byte Reload addl %ebx, %r14d addl $2, %r14d movl %esi, 4(%rcx,%rbx,4) movq -48(%rbp), %rcx ## 8-byte Reload addl %r15d, %ecx movl %edx, 4(%rax,%r15,4) movq %rcx, %r15 cmpl %r15d, %r14d jg LBB0_11 LBB0_3: ## Parent Loop BB0_2 Depth=1 ## => This Loop Header: Depth=2 ## Child Loop BB0_4 Depth 3 ## Child Loop BB0_6 Depth 3 movq %r14, -56(%rbp) ## 8-byte Spill movslq %r14d, %rax movq %rax, -64(%rbp) ## 8-byte Spill leaq (,%rax,8), %r14 xorl %ebx, %ebx .p2align 4, 0x90 LBB0_4: ## Parent Loop BB0_2 Depth=1 ## Parent Loop BB0_3 Depth=2 ## => This Inner Loop Header: Depth=3 movq (%r13), %rax addq %r14, %rax movq (%rax,%rbx,8), %rdi movq %r12, %rsi callq _strcmp decq %rbx testq %rax, %rax js LBB0_4 ## %bb.5: ## in Loop: Header=BB0_3 Depth=2 movq %r15, -48(%rbp) ## 8-byte Spill movslq %r15d, %rcx movq -64(%rbp), %rax ## 8-byte Reload addq %rbx, %rax incq %rax movq %rax, -88(%rbp) ## 8-byte Spill movq %rcx, -96(%rbp) ## 8-byte Spill leaq (,%rcx,8), %r14 xorl %r15d, %r15d .p2align 4, 0x90 LBB0_6: ## Parent Loop BB0_2 Depth=1 ## Parent Loop BB0_3 Depth=2 ## => This Inner Loop Header: Depth=3 movq (%r13), %rax addq %r14, %rax movq (%rax,%r15,8), %rsi movq %r12, %rdi callq _strcmp decq %r15 testq %rax, %rax js LBB0_6 ## %bb.7: ## in Loop: Header=BB0_3 Depth=2 movq -96(%rbp), %rdi ## 8-byte Reload leaq (%rdi,%r15), %rax incq %rax cmpq %rax, -88(%rbp) ## 8-byte Folded Reload jle LBB0_9 ## %bb.8: ## in Loop: Header=BB0_3 Depth=2 movl -56(%rbp), %eax ## 4-byte Reload leaq (%rax,%rbx), %r14 incq %r14 movl -48(%rbp), %eax ## 4-byte Reload addq %rax, %r15 incq %r15 cmpl %r15d, %r14d jle LBB0_3 jmp LBB0_11 LBB0_12: addq $56, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp LBB0_13: retq .cfi_endproc ## -- End function .comm _S,8,3 ## @S .comm _L,8,3 ## @L .no_dead_strip _sort_str .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function sort_str _sort_str: ; @sort_str .cfi_startproc ; %bb.0: cmp w0, w1 b.ge LBB0_12 ; %bb.1: sub sp, sp, #112 stp x28, x27, [sp, #16] ; 16-byte Folded Spill stp x26, x25, [sp, #32] ; 16-byte Folded Spill stp x24, x23, [sp, #48] ; 16-byte Folded Spill stp x22, x21, [sp, #64] ; 16-byte Folded Spill stp x20, x19, [sp, #80] ; 16-byte Folded Spill stp x29, x30, [sp, #96] ; 16-byte Folded Spill add x29, sp, #96 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset w27, -88 .cfi_offset w28, -96 Lloh0: adrp x23, _S@GOTPAGE Lloh1: ldr x23, [x23, _S@GOTPAGEOFF] Lloh2: adrp x24, _L@GOTPAGE Lloh3: ldr x24, [x24, _L@GOTPAGEOFF] str w1, [sp, #8] ; 4-byte Folded Spill b LBB0_3 LBB0_2: ; in Loop: Header=BB0_3 Depth=1 ldr w0, [sp, #12] ; 4-byte Folded Reload mov x1, x22 bl _sort_str mov x0, x25 ldr w1, [sp, #8] ; 4-byte Folded Reload cmp w25, w1 b.ge LBB0_11 LBB0_3: ; =>This Loop Header: Depth=1 ; Child Loop BB0_5 Depth 2 ; Child Loop BB0_6 Depth 3 ; Child Loop BB0_8 Depth 3 ldr x8, [x23] add w9, w0, w1 asr w9, w9, #1 ldr x21, [x8, w9, sxtw #3] mov x22, x1 str w0, [sp, #12] ; 4-byte Folded Spill mov x25, x0 b LBB0_5 LBB0_4: ; in Loop: Header=BB0_5 Depth=2 ldr x8, [x23] add x9, x8, x26, lsl #3 ldr x10, [x9, #8] lsl x11, x28, #3 lsl x12, x27, #3 add x11, x11, x12 add x8, x8, x11 ldr x8, [x8, #8] str x8, [x9, #8] ldr x8, [x23] add x8, x8, x11 str x10, [x8, #8] ldr x8, [x24] add x9, x8, x26, lsl #2 ldr w10, [x9, #4] add x8, x8, x28, lsl #2 add x8, x8, x27, lsl #2 ldr w11, [x8, #4] str w11, [x9, #4] add w22, w22, w27 str w10, [x8, #4] cmp w25, w22 b.gt LBB0_2 LBB0_5: ; Parent Loop BB0_3 Depth=1 ; => This Loop Header: Depth=2 ; Child Loop BB0_6 Depth 3 ; Child Loop BB0_8 Depth 3 sxtw x26, w25 add w25, w25, #2 LBB0_6: ; Parent Loop BB0_3 Depth=1 ; Parent Loop BB0_5 Depth=2 ; => This Inner Loop Header: Depth=3 ldr x8, [x23] ldr x0, [x8, x26, lsl #3] mov x1, x21 bl _strcmp sub x26, x26, #1 sub w25, w25, #1 tbnz x0, #63, LBB0_6 ; %bb.7: ; in Loop: Header=BB0_5 Depth=2 mov x27, #0 ; =0x0 sxtw x28, w22 add x19, x26, #1 sbfiz x20, x22, #3, #32 LBB0_8: ; Parent Loop BB0_3 Depth=1 ; Parent Loop BB0_5 Depth=2 ; => This Inner Loop Header: Depth=3 ldr x8, [x23] add x8, x8, x20 ldr x1, [x8, x27, lsl #3] mov x0, x21 bl _strcmp sub x27, x27, #1 tbnz x0, #63, LBB0_8 ; %bb.9: ; in Loop: Header=BB0_5 Depth=2 add x8, x28, x27 add x8, x8, #1 cmp x19, x8 b.le LBB0_4 ; %bb.10: ; in Loop: Header=BB0_5 Depth=2 sub w25, w25, #1 add x8, x27, w22, uxtw add x22, x8, #1 ; kill: def $w22 killed $w22 killed $x22 def $x22 cmp w25, w22 b.le LBB0_5 b LBB0_2 LBB0_11: 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 LBB0_12: ret .loh AdrpLdrGot Lloh2, Lloh3 .loh AdrpLdrGot Lloh0, Lloh1 .cfi_endproc ; -- End function .comm _S,8,3 ; @S .comm _L,8,3 ; @L .no_dead_strip _sort_str .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function rcv_deq _rcv_deq: ## @rcv_deq .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq _rcv_head@GOTPCREL(%rip), %rax movq _rcv_tail@GOTPCREL(%rip), %rcx movslq (%rcx), %rdx cmpl %edx, (%rax) jne LBB0_2 ## %bb.1: xorl %esi, %esi jmp LBB0_3 LBB0_2: movq _rcv_buf@GOTPCREL(%rip), %rax movq (%rax), %rsi leal 1(%rdx), %eax movl %eax, (%rcx) movzbl (%rsi,%rdx), %esi movq _MUX_RCV_BUF_SIZE@GOTPCREL(%rip), %rdi cltd idivl (%rdi) movl %edx, (%rcx) LBB0_3: movsbl %sil, %eax popq %rbp retq .cfi_endproc ## -- End function .comm _rcv_head,4,2 ## @rcv_head .comm _rcv_tail,4,2 ## @rcv_tail .comm _rcv_buf,8,3 ## @rcv_buf .comm _MUX_RCV_BUF_SIZE,4,2 ## @MUX_RCV_BUF_SIZE .no_dead_strip _rcv_deq .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function rcv_deq _rcv_deq: ; @rcv_deq .cfi_startproc ; %bb.0: Lloh0: adrp x8, _rcv_head@GOTPAGE Lloh1: ldr x8, [x8, _rcv_head@GOTPAGEOFF] Lloh2: ldr w10, [x8] Lloh3: adrp x8, _rcv_tail@GOTPAGE Lloh4: ldr x8, [x8, _rcv_tail@GOTPAGEOFF] ldrsw x9, [x8] cmp w10, w9 b.ne LBB0_2 ; %bb.1: sxtb w0, wzr ret LBB0_2: Lloh5: adrp x10, _rcv_buf@GOTPAGE Lloh6: ldr x10, [x10, _rcv_buf@GOTPAGEOFF] Lloh7: ldr x10, [x10] add w11, w9, #1 str w11, [x8] ldrb w9, [x10, x9] Lloh8: adrp x10, _MUX_RCV_BUF_SIZE@GOTPAGE Lloh9: ldr x10, [x10, _MUX_RCV_BUF_SIZE@GOTPAGEOFF] Lloh10: ldr w10, [x10] sdiv w12, w11, w10 msub w10, w12, w10, w11 str w10, [x8] sxtb w0, w9 ret .loh AdrpLdrGot Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10 .loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7 .cfi_endproc ; -- End function .comm _rcv_head,4,2 ; @rcv_head .comm _rcv_tail,4,2 ; @rcv_tail .comm _rcv_buf,8,3 ; @rcv_buf .comm _MUX_RCV_BUF_SIZE,4,2 ; @MUX_RCV_BUF_SIZE .no_dead_strip _rcv_deq .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _sip_sort ## -- Begin function sip_sort .p2align 4, 0x90 _sip_sort: ## @sip_sort .cfi_startproc ## %bb.0: testl %esi, %esi jle LBB0_11 ## %bb.1: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx 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 movl %esi, %eax shrl %eax movl (%rdi,%rax,4), %eax movl %eax, -56(%rbp) xorl %ecx, %ecx leaq -56(%rbp), %rdx movl %esi, -52(%rbp) ## 4-byte Spill movl %esi, -44(%rbp) ## 4-byte Spill movq %rdi, -64(%rbp) ## 8-byte Spill jmp LBB0_2 .p2align 4, 0x90 LBB0_8: ## in Loop: Header=BB0_2 Depth=1 movl (%rbx,%r14,4), %eax movl (%rbx,%r12,4), %ecx movl %ecx, (%rbx,%r14,4) movl %eax, (%rbx,%r12,4) movl -48(%rbp), %ecx ## 4-byte Reload LBB0_9: ## in Loop: Header=BB0_2 Depth=1 movl %r13d, -44(%rbp) ## 4-byte Spill cmpl %r13d, %ecx jg LBB0_10 LBB0_2: ## =>This Loop Header: Depth=1 ## Child Loop BB0_3 Depth 2 ## Child Loop BB0_5 Depth 2 movslq %ecx, %r12 leaq 1(%r12), %r14 leal 2(%r12), %r13d shlq $2, %r12 .p2align 4, 0x90 LBB0_3: ## Parent Loop BB0_2 Depth=1 ## => This Inner Loop Header: Depth=2 leaq (%rbx,%r12), %rdi movq %rdx, %rsi movq %rdx, %r15 callq _sip_cmp movq %r15, %rdx decq %r14 decl %r13d addq $-4, %r12 testq %rax, %rax js LBB0_3 ## %bb.4: ## in Loop: Header=BB0_2 Depth=1 movl %r13d, -48(%rbp) ## 4-byte Spill movl -44(%rbp), %r13d ## 4-byte Reload movslq %r13d, %rbx leaq 1(%rbx), %r12 shlq $2, %rbx .p2align 4, 0x90 LBB0_5: ## Parent Loop BB0_2 Depth=1 ## => This Inner Loop Header: Depth=2 movq -64(%rbp), %rax ## 8-byte Reload leaq (%rax,%rbx), %rdi movq %rdx, %rsi callq _sip_cmp movq %r15, %rdx decq %r12 decl %r13d addq $-4, %rbx testq %rax, %rax jg LBB0_5 ## %bb.6: ## in Loop: Header=BB0_2 Depth=1 movq -64(%rbp), %rbx ## 8-byte Reload cmpq %r12, %r14 jle LBB0_8 ## %bb.7: ## in Loop: Header=BB0_2 Depth=1 movl -48(%rbp), %ecx ## 4-byte Reload decl %ecx incl %r13d jmp LBB0_9 LBB0_10: movslq %ecx, %rax leaq (%rbx,%rax,4), %rdi movl -52(%rbp), %esi ## 4-byte Reload subl %ecx, %esi callq _sip_sort movq %rbx, %rdi movl -44(%rbp), %esi ## 4-byte Reload callq _sip_sort addq $24, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp LBB0_11: retq .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _sip_sort ; -- Begin function sip_sort .p2align 2 _sip_sort: ; @sip_sort .cfi_startproc ; %bb.0: cmp w1, #1 b.lt LBB0_10 ; %bb.1: sub sp, sp, #96 stp x26, x25, [sp, #16] ; 16-byte Folded Spill stp x24, x23, [sp, #32] ; 16-byte Folded Spill stp x22, x21, [sp, #48] ; 16-byte Folded Spill stp x20, x19, [sp, #64] ; 16-byte Folded Spill stp x29, x30, [sp, #80] ; 16-byte Folded Spill add x29, sp, #80 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 mov x20, x1 mov x19, x0 mov w22, #0 ; =0x0 lsr w8, w1, #1 ldr w8, [x0, w8, uxtw #2] str w8, [sp, #12] mov x21, x1 b LBB0_3 LBB0_2: ; in Loop: Header=BB0_3 Depth=1 ldr w8, [x19, x23, lsl #2] ldr w9, [x19, x24, lsl #2] str w9, [x19, x23, lsl #2] str w8, [x19, x24, lsl #2] cmp w22, w21 b.gt LBB0_9 LBB0_3: ; =>This Loop Header: Depth=1 ; Child Loop BB0_4 Depth 2 ; Child Loop BB0_6 Depth 2 sxtw x8, w22 add x23, x8, #1 sbfiz x24, x22, #2, #32 add w8, w22, #2 mov x22, x8 LBB0_4: ; Parent Loop BB0_3 Depth=1 ; => This Inner Loop Header: Depth=2 add x0, x19, x24 add x1, sp, #12 bl _sip_cmp sub x23, x23, #1 sub w22, w22, #1 sub x24, x24, #4 tbnz x0, #63, LBB0_4 ; %bb.5: ; in Loop: Header=BB0_3 Depth=1 sxtw x8, w21 add x24, x8, #1 sbfiz x25, x21, #2, #32 LBB0_6: ; Parent Loop BB0_3 Depth=1 ; => This Inner Loop Header: Depth=2 add x0, x19, x25 add x1, sp, #12 bl _sip_cmp sub x24, x24, #1 sub w21, w21, #1 sub x25, x25, #4 cmp x0, #0 b.gt LBB0_6 ; %bb.7: ; in Loop: Header=BB0_3 Depth=1 cmp x23, x24 b.le LBB0_2 ; %bb.8: ; in Loop: Header=BB0_3 Depth=1 sub w22, w22, #1 add w21, w21, #1 cmp w22, w21 b.le LBB0_3 LBB0_9: add x0, x19, w22, sxtw #2 sub w1, w20, w22 bl _sip_sort mov x0, x19 mov x1, x21 bl _sip_sort 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 LBB0_10: 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 amd8111e_probe_one _amd8111e_probe_one: ## @amd8111e_probe_one .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdi, %rbx callq _pci_enable_device testl %eax, %eax je LBB0_2 ## %bb.1: movl %eax, %r12d leaq L_.str(%rip), %rsi movq %rbx, %rdi callq _dev_err jmp LBB0_32 LBB0_2: xorl %r12d, %r12d movq %rbx, %rdi xorl %esi, %esi callq _pci_resource_flags movq _IORESOURCE_MEM@GOTPCREL(%rip), %rcx orl (%rcx), %eax je LBB0_3 ## %bb.4: movq _MODULE_NAME@GOTPCREL(%rip), %rax movl (%rax), %esi movq %rbx, %rdi callq _pci_request_regions testl %eax, %eax je LBB0_6 ## %bb.5: movl %eax, %r12d leaq L_.str.2(%rip), %rsi movq %rbx, %rdi callq _dev_err jmp LBB0_31 LBB0_3: leaq L_.str.1(%rip), %rsi movq %rbx, %rdi callq _dev_err movq _ENODEV@GOTPCREL(%rip), %rax subl (%rax), %r12d jmp LBB0_31 LBB0_6: movq %rbx, %rdi callq _pci_set_master cmpq $0, 8(%rbx) je LBB0_7 ## %bb.9: movl $32, %edi callq _DMA_BIT_MASK movq %rbx, %rdi movl %eax, %esi callq _pci_set_dma_mask testq %rax, %rax js LBB0_10 ## %bb.11: xorl %r12d, %r12d movq %rbx, %rdi xorl %esi, %esi callq _pci_resource_start movq %rax, %r15 movq %rbx, %rdi xorl %esi, %esi callq _pci_resource_len movq %rax, %r13 movl $104, %edi callq _alloc_etherdev testq %rax, %rax je LBB0_12 ## %bb.13: movq %rax, %r14 movq %rax, %rdi movq %rbx, %rsi callq _SET_NETDEV_DEV movq %r14, %rdi callq _netdev_priv movq %r15, %r12 movq %rax, %r15 movq %rbx, 96(%rax) movq %r14, 88(%rax) movq 8(%rbx), %rax movq %rax, 80(%r15) leaq 72(%r15), %rdi callq _spin_lock_init movq %rbx, %rdi movq %r12, %rsi movq %r13, %rdx callq _devm_ioremap movq %rax, 16(%r15) testq %rax, %rax je LBB0_28 ## %bb.14: movq _ETH_ALEN@GOTPCREL(%rip), %r12 cmpl $0, (%r12) jle LBB0_17 ## %bb.15: xorl %r13d, %r13d .p2align 4, 0x90 LBB0_16: ## =>This Inner Loop Header: Depth=1 movq 16(%r15), %rdi movq _PADR@GOTPCREL(%rip), %rax addq (%rax), %rdi addq %r13, %rdi callq _readb movq 8(%r14), %rcx movl %eax, (%rcx,%r13,4) incq %r13 movslq (%r12), %rax cmpq %rax, %r13 jl LBB0_16 LBB0_17: movq %r14, %r13 movq _speed_duplex@GOTPCREL(%rip), %rax movq (%rax), %rdx movq _card_idx@GOTPCREL(%rip), %rcx movq (%rcx), %rax movl (%rdx,%rax,4), %edx movl %edx, 68(%r15) movq _coalesce@GOTPCREL(%rip), %rdx movq (%rdx), %rdx cmpq $0, (%rdx,%rax,8) je LBB0_19 ## %bb.18: movq _OPTION_INTR_COAL_ENABLE@GOTPCREL(%rip), %rdx movl (%rdx), %edx orl %edx, (%r15) LBB0_19: movq _dynamic_ipg@GOTPCREL(%rip), %rdx movq (%rdx), %rdx leaq 1(%rax), %rsi movq %rsi, (%rcx) cmpq $0, (%rdx,%rax,8) movq %r13, %r14 je LBB0_21 ## %bb.20: movq _OPTION_DYN_IPG_ENABLE@GOTPCREL(%rip), %rax movl (%rax), %eax orl %eax, (%r15) LBB0_21: movq _amd8111e_netdev_ops@GOTPCREL(%rip), %rax movq %rax, 40(%r14) movq _ops@GOTPCREL(%rip), %rax movq %rax, 32(%r14) movl 4(%rbx), %eax movl %eax, 28(%r14) movq _AMD8111E_TX_TIMEOUT@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, 24(%r14) movq _AMD8111E_MIN_MTU@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, 20(%r14) movq _AMD8111E_MAX_MTU@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, 16(%r14) leaq 64(%r15), %rsi movq _amd8111e_rx_poll@GOTPCREL(%rip), %rax movl (%rax), %edx movq %r14, %rdi movl $32, %ecx callq _netif_napi_add movq %r14, %rdi callq _amd8111e_probe_ext_phy movq %r14, 56(%r15) movq _amd8111e_mdio_read@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, 48(%r15) movq _amd8111e_mdio_write@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, 44(%r15) movl 8(%r15), %eax movl %eax, 40(%r15) movq %r14, %rdi callq _amd8111e_set_rx_buff_len movq %r14, %rdi callq _register_netdev testl %eax, %eax je LBB0_23 ## %bb.22: movl %eax, %r12d leaq L_.str.6(%rip), %rsi movq %rbx, %rdi callq _dev_err jmp LBB0_29 LBB0_7: leaq L_.str.3(%rip), %rsi jmp LBB0_8 LBB0_10: leaq L_.str.4(%rip), %rsi LBB0_8: movq %rbx, %rdi callq _dev_err movq _ENODEV@GOTPCREL(%rip), %rax xorl %r12d, %r12d subl (%rax), %r12d jmp LBB0_30 LBB0_12: movq _ENOMEM@GOTPCREL(%rip), %rax subl (%rax), %r12d jmp LBB0_30 LBB0_28: leaq L_.str.5(%rip), %rsi movq %rbx, %rdi callq _dev_err movq _ENOMEM@GOTPCREL(%rip), %rax xorl %r12d, %r12d subl (%rax), %r12d LBB0_29: movq %r14, %rdi callq _free_netdev LBB0_30: movq %rbx, %rdi callq _pci_release_regions LBB0_31: movq %rbx, %rdi callq _pci_disable_device LBB0_32: movl %r12d, %eax addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_23: movq %rbx, %rdi movq %r14, %rsi callq _pci_set_drvdata movq _OPTION_DYN_IPG_ENABLE@GOTPCREL(%rip), %rax movl (%rax), %eax testl %eax, (%r15) je LBB0_25 ## %bb.24: movq %r15, %rdi addq $32, %rdi movq _amd8111e_config_ipg@GOTPCREL(%rip), %rax movl (%rax), %esi xorl %edx, %edx callq _timer_setup movq _jiffies@GOTPCREL(%rip), %rax movq _IPG_CONVERGE_JIFFIES@GOTPCREL(%rip), %rcx movq (%rcx), %rcx addq (%rax), %rcx movq %rcx, 32(%r15) movq _DEFAULT_IPG@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, 28(%r15) movq _CSTATE@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, 24(%r15) LBB0_25: movq _CHIPID@GOTPCREL(%rip), %rax movq (%rax), %rdi addq 16(%r15), %rdi callq _readl shrl $28, %eax movq _chip_version@GOTPCREL(%rip), %r14 movl %eax, (%r14) movq _MODULE_VERS@GOTPCREL(%rip), %rax movl (%rax), %edx leaq L_.str.7(%rip), %rsi xorl %r12d, %r12d movq %rbx, %rdi xorl %eax, %eax callq _dev_info movl (%r14), %edx movq 8(%r13), %rcx leaq L_.str.8(%rip), %rsi movq %rbx, %rdi xorl %eax, %eax callq _dev_info movl 4(%r15), %edx testl %edx, %edx je LBB0_27 ## %bb.26: movl 8(%r15), %ecx leaq L_.str.9(%rip), %rsi movq %rbx, %rdi xorl %eax, %eax callq _dev_info jmp LBB0_32 LBB0_27: leaq L_.str.10(%rip), %rsi xorl %r12d, %r12d movq %rbx, %rdi xorl %eax, %eax callq _dev_info jmp LBB0_32 .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "Cannot enable new PCI device\n" .comm _IORESOURCE_MEM,4,2 ## @IORESOURCE_MEM L_.str.1: ## @.str.1 .asciz "Cannot find PCI base address\n" .comm _ENODEV,4,2 ## @ENODEV .comm _MODULE_NAME,4,2 ## @MODULE_NAME L_.str.2: ## @.str.2 .asciz "Cannot obtain PCI resources\n" L_.str.3: ## @.str.3 .asciz "No Power Management capability\n" L_.str.4: ## @.str.4 .asciz "DMA not supported\n" .comm _ENOMEM,4,2 ## @ENOMEM L_.str.5: ## @.str.5 .asciz "Cannot map device registers\n" .comm _ETH_ALEN,4,2 ## @ETH_ALEN .comm _PADR,8,3 ## @PADR .comm _speed_duplex,8,3 ## @speed_duplex .comm _card_idx,8,3 ## @card_idx .comm _coalesce,8,3 ## @coalesce .comm _OPTION_INTR_COAL_ENABLE,4,2 ## @OPTION_INTR_COAL_ENABLE .comm _dynamic_ipg,8,3 ## @dynamic_ipg .comm _OPTION_DYN_IPG_ENABLE,4,2 ## @OPTION_DYN_IPG_ENABLE .comm _amd8111e_netdev_ops,4,2 ## @amd8111e_netdev_ops .comm _ops,4,2 ## @ops .comm _AMD8111E_TX_TIMEOUT,4,2 ## @AMD8111E_TX_TIMEOUT .comm _AMD8111E_MIN_MTU,4,2 ## @AMD8111E_MIN_MTU .comm _AMD8111E_MAX_MTU,4,2 ## @AMD8111E_MAX_MTU .comm _amd8111e_rx_poll,4,2 ## @amd8111e_rx_poll .comm _amd8111e_mdio_read,4,2 ## @amd8111e_mdio_read .comm _amd8111e_mdio_write,4,2 ## @amd8111e_mdio_write L_.str.6: ## @.str.6 .asciz "Cannot register net device\n" .comm _amd8111e_config_ipg,4,2 ## @amd8111e_config_ipg .comm _jiffies,8,3 ## @jiffies .comm _IPG_CONVERGE_JIFFIES,8,3 ## @IPG_CONVERGE_JIFFIES .comm _DEFAULT_IPG,4,2 ## @DEFAULT_IPG .comm _CSTATE,4,2 ## @CSTATE .comm _CHIPID,8,3 ## @CHIPID .comm _chip_version,4,2 ## @chip_version L_.str.7: ## @.str.7 .asciz "AMD-8111e Driver Version: %s\n" .comm _MODULE_VERS,4,2 ## @MODULE_VERS L_.str.8: ## @.str.8 .asciz "[ Rev %x ] PCI 10/100BaseT Ethernet %pM\n" L_.str.9: ## @.str.9 .asciz "Found MII PHY ID 0x%08x at address 0x%02x\n" L_.str.10: ## @.str.10 .asciz "Couldn't detect MII PHY, assuming address 0x01\n" .comm _NETIF_F_HW_VLAN_CTAG_RX,4,2 ## @NETIF_F_HW_VLAN_CTAG_RX .comm _NETIF_F_HW_VLAN_CTAG_TX,4,2 ## @NETIF_F_HW_VLAN_CTAG_TX .no_dead_strip _amd8111e_probe_one .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function amd8111e_probe_one _amd8111e_probe_one: ; @amd8111e_probe_one .cfi_startproc ; %bb.0: sub sp, sp, #80 stp x24, x23, [sp, #16] ; 16-byte Folded Spill stp x22, x21, [sp, #32] ; 16-byte Folded Spill stp x20, x19, [sp, #48] ; 16-byte Folded Spill stp x29, x30, [sp, #64] ; 16-byte Folded Spill add x29, sp, #64 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 mov x19, x0 bl _pci_enable_device cbz w0, LBB0_2 ; %bb.1: mov x22, x0 Lloh0: adrp x1, l_.str@PAGE Lloh1: add x1, x1, l_.str@PAGEOFF mov x0, x19 bl _dev_err b LBB0_25 LBB0_2: mov x0, x19 mov w1, #0 ; =0x0 bl _pci_resource_flags Lloh2: adrp x8, _IORESOURCE_MEM@GOTPAGE Lloh3: ldr x8, [x8, _IORESOURCE_MEM@GOTPAGEOFF] Lloh4: ldr w8, [x8] orr w8, w8, w0 cbz w8, LBB0_5 ; %bb.3: Lloh5: adrp x8, _MODULE_NAME@GOTPAGE Lloh6: ldr x8, [x8, _MODULE_NAME@GOTPAGEOFF] Lloh7: ldr w1, [x8] mov x0, x19 bl _pci_request_regions cbz w0, LBB0_6 ; %bb.4: mov x22, x0 Lloh8: adrp x1, l_.str.2@PAGE Lloh9: add x1, x1, l_.str.2@PAGEOFF mov x0, x19 bl _dev_err b LBB0_24 LBB0_5: Lloh10: adrp x1, l_.str.1@PAGE Lloh11: add x1, x1, l_.str.1@PAGEOFF mov x0, x19 bl _dev_err Lloh12: adrp x8, _ENODEV@GOTPAGE Lloh13: ldr x8, [x8, _ENODEV@GOTPAGEOFF] Lloh14: ldr w8, [x8] neg w22, w8 b LBB0_24 LBB0_6: mov x0, x19 bl _pci_set_master ldr x8, [x19, #8] cbz x8, LBB0_19 ; %bb.7: mov w0, #32 ; =0x20 bl _DMA_BIT_MASK mov x1, x0 mov x0, x19 bl _pci_set_dma_mask tbnz x0, #63, LBB0_20 ; %bb.8: mov x0, x19 mov w1, #0 ; =0x0 bl _pci_resource_start mov x22, x0 mov x0, x19 mov w1, #0 ; =0x0 bl _pci_resource_len mov x23, x0 mov w0, #104 ; =0x68 bl _alloc_etherdev cbz x0, LBB0_26 ; %bb.9: mov x20, x0 mov x1, x19 bl _SET_NETDEV_DEV mov x0, x20 bl _netdev_priv mov x21, x0 str x19, [x0, #96] ldr x8, [x19, #8] stp x8, x20, [x0, #80] add x0, x0, #72 bl _spin_lock_init mov x0, x19 mov x1, x22 mov x2, x23 bl _devm_ioremap str x0, [x21, #16] cbz x0, LBB0_27 ; %bb.10: Lloh15: adrp x22, _ETH_ALEN@GOTPAGE Lloh16: ldr x22, [x22, _ETH_ALEN@GOTPAGEOFF] ldr w8, [x22] cmp w8, #1 b.lt LBB0_13 ; %bb.11: mov x23, #0 ; =0x0 Lloh17: adrp x24, _PADR@GOTPAGE Lloh18: ldr x24, [x24, _PADR@GOTPAGEOFF] LBB0_12: ; =>This Inner Loop Header: Depth=1 ldr x8, [x21, #16] ldr x9, [x24] add x8, x23, x8 add x0, x8, x9 bl _readb ldr x8, [x20, #8] str w0, [x8, x23, lsl #2] add x23, x23, #1 ldrsw x8, [x22] cmp x23, x8 b.lt LBB0_12 LBB0_13: Lloh19: adrp x8, _speed_duplex@GOTPAGE Lloh20: ldr x8, [x8, _speed_duplex@GOTPAGEOFF] Lloh21: ldr x10, [x8] Lloh22: adrp x9, _card_idx@GOTPAGE Lloh23: ldr x9, [x9, _card_idx@GOTPAGEOFF] ldr x8, [x9] ldr w10, [x10, x8, lsl #2] str w10, [x21, #68] Lloh24: adrp x10, _coalesce@GOTPAGE Lloh25: ldr x10, [x10, _coalesce@GOTPAGEOFF] Lloh26: ldr x10, [x10] ldr x10, [x10, x8, lsl #3] cbz x10, LBB0_15 ; %bb.14: Lloh27: adrp x10, _OPTION_INTR_COAL_ENABLE@GOTPAGE Lloh28: ldr x10, [x10, _OPTION_INTR_COAL_ENABLE@GOTPAGEOFF] Lloh29: ldr w10, [x10] ldr w11, [x21] orr w10, w11, w10 str w10, [x21] LBB0_15: Lloh30: adrp x10, _dynamic_ipg@GOTPAGE Lloh31: ldr x10, [x10, _dynamic_ipg@GOTPAGEOFF] Lloh32: ldr x10, [x10] add x11, x8, #1 str x11, [x9] ldr x8, [x10, x8, lsl #3] Lloh33: adrp x23, _OPTION_DYN_IPG_ENABLE@GOTPAGE Lloh34: ldr x23, [x23, _OPTION_DYN_IPG_ENABLE@GOTPAGEOFF] cbz x8, LBB0_17 ; %bb.16: ldr w8, [x23] ldr w9, [x21] orr w8, w9, w8 str w8, [x21] LBB0_17: Lloh35: adrp x8, _amd8111e_netdev_ops@GOTPAGE Lloh36: ldr x8, [x8, _amd8111e_netdev_ops@GOTPAGEOFF] Lloh37: adrp x9, _ops@GOTPAGE Lloh38: ldr x9, [x9, _ops@GOTPAGEOFF] stp x9, x8, [x20, #32] ldr w8, [x19, #4] Lloh39: adrp x9, _AMD8111E_TX_TIMEOUT@GOTPAGE Lloh40: ldr x9, [x9, _AMD8111E_TX_TIMEOUT@GOTPAGEOFF] Lloh41: ldr w9, [x9] stp w9, w8, [x20, #24] Lloh42: adrp x8, _AMD8111E_MIN_MTU@GOTPAGE Lloh43: ldr x8, [x8, _AMD8111E_MIN_MTU@GOTPAGEOFF] Lloh44: ldr w8, [x8] Lloh45: adrp x9, _AMD8111E_MAX_MTU@GOTPAGE Lloh46: ldr x9, [x9, _AMD8111E_MAX_MTU@GOTPAGEOFF] Lloh47: ldr w9, [x9] stp w9, w8, [x20, #16] Lloh48: adrp x8, _amd8111e_rx_poll@GOTPAGE Lloh49: ldr x8, [x8, _amd8111e_rx_poll@GOTPAGEOFF] Lloh50: ldr w2, [x8] add x1, x21, #64 mov x0, x20 mov w3, #32 ; =0x20 bl _netif_napi_add mov x0, x20 bl _amd8111e_probe_ext_phy str x20, [x21, #56] Lloh51: adrp x8, _amd8111e_mdio_read@GOTPAGE Lloh52: ldr x8, [x8, _amd8111e_mdio_read@GOTPAGEOFF] Lloh53: ldr w8, [x8] str w8, [x21, #48] Lloh54: adrp x8, _amd8111e_mdio_write@GOTPAGE Lloh55: ldr x8, [x8, _amd8111e_mdio_write@GOTPAGEOFF] Lloh56: ldr w8, [x8] ldr w9, [x21, #8] stp w9, w8, [x21, #40] mov x0, x20 bl _amd8111e_set_rx_buff_len mov x0, x20 bl _register_netdev cbz w0, LBB0_29 ; %bb.18: mov x22, x0 Lloh57: adrp x1, l_.str.6@PAGE Lloh58: add x1, x1, l_.str.6@PAGEOFF mov x0, x19 bl _dev_err b LBB0_28 LBB0_19: Lloh59: adrp x1, l_.str.3@PAGE Lloh60: add x1, x1, l_.str.3@PAGEOFF b LBB0_21 LBB0_20: Lloh61: adrp x1, l_.str.4@PAGE Lloh62: add x1, x1, l_.str.4@PAGEOFF LBB0_21: mov x0, x19 bl _dev_err Lloh63: adrp x8, _ENODEV@GOTPAGE Lloh64: ldr x8, [x8, _ENODEV@GOTPAGEOFF] LBB0_22: ldr w8, [x8] neg w22, w8 LBB0_23: mov x0, x19 bl _pci_release_regions LBB0_24: mov x0, x19 bl _pci_disable_device LBB0_25: mov x0, x22 ldp x29, x30, [sp, #64] ; 16-byte Folded Reload ldp x20, x19, [sp, #48] ; 16-byte Folded Reload ldp x22, x21, [sp, #32] ; 16-byte Folded Reload ldp x24, x23, [sp, #16] ; 16-byte Folded Reload add sp, sp, #80 ret LBB0_26: Lloh65: adrp x8, _ENOMEM@GOTPAGE Lloh66: ldr x8, [x8, _ENOMEM@GOTPAGEOFF] b LBB0_22 LBB0_27: Lloh67: adrp x1, l_.str.5@PAGE Lloh68: add x1, x1, l_.str.5@PAGEOFF mov x0, x19 bl _dev_err Lloh69: adrp x8, _ENOMEM@GOTPAGE Lloh70: ldr x8, [x8, _ENOMEM@GOTPAGEOFF] Lloh71: ldr w8, [x8] neg w22, w8 LBB0_28: mov x0, x20 bl _free_netdev b LBB0_23 LBB0_29: mov x0, x19 mov x1, x20 bl _pci_set_drvdata ldr w8, [x21] ldr w9, [x23] tst w9, w8 b.eq LBB0_31 ; %bb.30: Lloh72: adrp x8, _amd8111e_config_ipg@GOTPAGE Lloh73: ldr x8, [x8, _amd8111e_config_ipg@GOTPAGEOFF] Lloh74: ldr w1, [x8] add x0, x21, #32 mov w2, #0 ; =0x0 bl _timer_setup Lloh75: adrp x8, _jiffies@GOTPAGE Lloh76: ldr x8, [x8, _jiffies@GOTPAGEOFF] Lloh77: adrp x9, _IPG_CONVERGE_JIFFIES@GOTPAGE Lloh78: ldr x9, [x9, _IPG_CONVERGE_JIFFIES@GOTPAGEOFF] Lloh79: ldr x8, [x8] Lloh80: ldr x9, [x9] add x8, x9, x8 str x8, [x21, #32] Lloh81: adrp x8, _DEFAULT_IPG@GOTPAGE Lloh82: ldr x8, [x8, _DEFAULT_IPG@GOTPAGEOFF] Lloh83: ldr w8, [x8] Lloh84: adrp x9, _CSTATE@GOTPAGE Lloh85: ldr x9, [x9, _CSTATE@GOTPAGEOFF] Lloh86: ldr w9, [x9] stp w9, w8, [x21, #24] LBB0_31: ldr x8, [x21, #16] Lloh87: adrp x9, _CHIPID@GOTPAGE Lloh88: ldr x9, [x9, _CHIPID@GOTPAGEOFF] Lloh89: ldr x9, [x9] add x0, x9, x8 bl _readl lsr w8, w0, #28 Lloh90: adrp x22, _chip_version@GOTPAGE Lloh91: ldr x22, [x22, _chip_version@GOTPAGEOFF] str w8, [x22] Lloh92: adrp x8, _MODULE_VERS@GOTPAGE Lloh93: ldr x8, [x8, _MODULE_VERS@GOTPAGEOFF] Lloh94: ldr w8, [x8] str x8, [sp] Lloh95: adrp x1, l_.str.7@PAGE Lloh96: add x1, x1, l_.str.7@PAGEOFF mov x0, x19 bl _dev_info ldr x8, [x20, #8] ldr w9, [x22] stp x9, x8, [sp] Lloh97: adrp x1, l_.str.8@PAGE Lloh98: add x1, x1, l_.str.8@PAGEOFF mov x0, x19 bl _dev_info ldr w8, [x21, #4] cbz w8, LBB0_33 ; %bb.32: ldr w9, [x21, #8] stp x8, x9, [sp] Lloh99: adrp x1, l_.str.9@PAGE Lloh100: add x1, x1, l_.str.9@PAGEOFF b LBB0_34 LBB0_33: Lloh101: adrp x1, l_.str.10@PAGE Lloh102: add x1, x1, l_.str.10@PAGEOFF LBB0_34: mov x0, x19 bl _dev_info mov w22, #0 ; =0x0 b LBB0_25 .loh AdrpAdd Lloh0, Lloh1 .loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7 .loh AdrpAdd Lloh8, Lloh9 .loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14 .loh AdrpAdd Lloh10, Lloh11 .loh AdrpLdrGot Lloh15, Lloh16 .loh AdrpLdrGot Lloh17, Lloh18 .loh AdrpLdrGotLdr Lloh24, Lloh25, Lloh26 .loh AdrpLdrGot Lloh22, Lloh23 .loh AdrpLdrGotLdr Lloh19, Lloh20, Lloh21 .loh AdrpLdrGotLdr Lloh27, Lloh28, Lloh29 .loh AdrpLdrGot Lloh33, Lloh34 .loh AdrpLdrGotLdr Lloh30, Lloh31, Lloh32 .loh AdrpLdrGotLdr Lloh54, Lloh55, Lloh56 .loh AdrpLdrGotLdr Lloh51, Lloh52, Lloh53 .loh AdrpLdrGotLdr Lloh48, Lloh49, Lloh50 .loh AdrpLdrGotLdr Lloh45, Lloh46, Lloh47 .loh AdrpLdrGotLdr Lloh42, Lloh43, Lloh44 .loh AdrpLdrGotLdr Lloh39, Lloh40, Lloh41 .loh AdrpLdrGot Lloh37, Lloh38 .loh AdrpLdrGot Lloh35, Lloh36 .loh AdrpAdd Lloh57, Lloh58 .loh AdrpAdd Lloh59, Lloh60 .loh AdrpAdd Lloh61, Lloh62 .loh AdrpLdrGot Lloh63, Lloh64 .loh AdrpLdrGot Lloh65, Lloh66 .loh AdrpLdrGotLdr Lloh69, Lloh70, Lloh71 .loh AdrpAdd Lloh67, Lloh68 .loh AdrpLdrGotLdr Lloh84, Lloh85, Lloh86 .loh AdrpLdrGotLdr Lloh81, Lloh82, Lloh83 .loh AdrpLdrGotLdr Lloh77, Lloh78, Lloh80 .loh AdrpLdrGotLdr Lloh75, Lloh76, Lloh79 .loh AdrpLdrGotLdr Lloh72, Lloh73, Lloh74 .loh AdrpAdd Lloh97, Lloh98 .loh AdrpAdd Lloh95, Lloh96 .loh AdrpLdrGotLdr Lloh92, Lloh93, Lloh94 .loh AdrpLdrGot Lloh90, Lloh91 .loh AdrpLdrGotLdr Lloh87, Lloh88, Lloh89 .loh AdrpAdd Lloh99, Lloh100 .loh AdrpAdd Lloh101, Lloh102 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "Cannot enable new PCI device\n" .comm _IORESOURCE_MEM,4,2 ; @IORESOURCE_MEM l_.str.1: ; @.str.1 .asciz "Cannot find PCI base address\n" .comm _ENODEV,4,2 ; @ENODEV .comm _MODULE_NAME,4,2 ; @MODULE_NAME l_.str.2: ; @.str.2 .asciz "Cannot obtain PCI resources\n" l_.str.3: ; @.str.3 .asciz "No Power Management capability\n" l_.str.4: ; @.str.4 .asciz "DMA not supported\n" .comm _ENOMEM,4,2 ; @ENOMEM l_.str.5: ; @.str.5 .asciz "Cannot map device registers\n" .comm _ETH_ALEN,4,2 ; @ETH_ALEN .comm _PADR,8,3 ; @PADR .comm _speed_duplex,8,3 ; @speed_duplex .comm _card_idx,8,3 ; @card_idx .comm _coalesce,8,3 ; @coalesce .comm _OPTION_INTR_COAL_ENABLE,4,2 ; @OPTION_INTR_COAL_ENABLE .comm _dynamic_ipg,8,3 ; @dynamic_ipg .comm _OPTION_DYN_IPG_ENABLE,4,2 ; @OPTION_DYN_IPG_ENABLE .comm _amd8111e_netdev_ops,4,2 ; @amd8111e_netdev_ops .comm _ops,4,2 ; @ops .comm _AMD8111E_TX_TIMEOUT,4,2 ; @AMD8111E_TX_TIMEOUT .comm _AMD8111E_MIN_MTU,4,2 ; @AMD8111E_MIN_MTU .comm _AMD8111E_MAX_MTU,4,2 ; @AMD8111E_MAX_MTU .comm _amd8111e_rx_poll,4,2 ; @amd8111e_rx_poll .comm _amd8111e_mdio_read,4,2 ; @amd8111e_mdio_read .comm _amd8111e_mdio_write,4,2 ; @amd8111e_mdio_write l_.str.6: ; @.str.6 .asciz "Cannot register net device\n" .comm _amd8111e_config_ipg,4,2 ; @amd8111e_config_ipg .comm _jiffies,8,3 ; @jiffies .comm _IPG_CONVERGE_JIFFIES,8,3 ; @IPG_CONVERGE_JIFFIES .comm _DEFAULT_IPG,4,2 ; @DEFAULT_IPG .comm _CSTATE,4,2 ; @CSTATE .comm _CHIPID,8,3 ; @CHIPID .comm _chip_version,4,2 ; @chip_version l_.str.7: ; @.str.7 .asciz "AMD-8111e Driver Version: %s\n" .comm _MODULE_VERS,4,2 ; @MODULE_VERS l_.str.8: ; @.str.8 .asciz "[ Rev %x ] PCI 10/100BaseT Ethernet %pM\n" l_.str.9: ; @.str.9 .asciz "Found MII PHY ID 0x%08x at address 0x%02x\n" l_.str.10: ; @.str.10 .asciz "Couldn't detect MII PHY, assuming address 0x01\n" .comm _NETIF_F_HW_VLAN_CTAG_RX,4,2 ; @NETIF_F_HW_VLAN_CTAG_RX .comm _NETIF_F_HW_VLAN_CTAG_TX,4,2 ; @NETIF_F_HW_VLAN_CTAG_TX .no_dead_strip _amd8111e_probe_one .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function _hash_splitbucket __hash_splitbucket: ## @_hash_splitbucket .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $120, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %r9, %r14 movq %r8, %r12 movq %rcx, -160(%rbp) ## 8-byte Spill movq %rdx, -144(%rbp) ## 8-byte Spill movq %rsi, -128(%rbp) ## 8-byte Spill movl %edi, -44(%rbp) ## 4-byte Spill movq _MaxIndexTuplesPerPage@GOTPCREL(%rip), %rax movl (%rax), %ebx shlq $3, %rbx movq %rbx, %rax callq ____chkstk_darwin addq $15, %rax andq $-16, %rax subq %rax, %rsp movq %rsp, -120(%rbp) ## 8-byte Spill movq %rbx, %rax movq %r14, %rbx callq ____chkstk_darwin addq $15, %rax andq $-16, %rax subq %rax, %rsp movq %rsp, %r14 movq %r12, %rdi callq _BufferGetPage movl %eax, %r13d movl %eax, %edi callq _PageGetSpecialPointer movq %rax, -112(%rbp) ## 8-byte Spill movq %rbx, %rdi callq _BufferGetPage movl %eax, -64(%rbp) ## 4-byte Spill movl %eax, %edi callq _PageGetSpecialPointer movq %r12, %rdi callq _BufferGetBlockNumber movl %eax, %r15d movq %rbx, %rdi callq _BufferGetBlockNumber movl -44(%rbp), %edi ## 4-byte Reload movl %r15d, %esi movl %eax, %edx callq _PredicateLockPageSplit movq $0, -80(%rbp) ## 8-byte Folded Spill movq $0, -56(%rbp) ## 8-byte Folded Spill movq %rbx, -88(%rbp) ## 8-byte Spill movq %r12, -104(%rbp) ## 8-byte Spill movq %rbx, -96(%rbp) ## 8-byte Spill movq %r12, -136(%rbp) ## 8-byte Spill jmp LBB0_1 .p2align 4, 0x90 LBB0_27: ## in Loop: Header=BB0_1 Depth=1 movq _HASH_READ@GOTPCREL(%rip), %rax movl (%rax), %edx movq _LH_OVERFLOW_PAGE@GOTPCREL(%rip), %rax movl (%rax), %ecx movl -44(%rbp), %edi ## 4-byte Reload movl %r15d, %esi callq __hash_getbuf movq %rax, -104(%rbp) ## 8-byte Spill movq %rax, %rdi callq _BufferGetPage movl %eax, %r13d movl %eax, %edi callq _PageGetSpecialPointer movq %rax, -112(%rbp) ## 8-byte Spill LBB0_1: ## =>This Loop Header: Depth=1 ## Child Loop BB0_2 Depth 2 ## Child Loop BB0_3 Depth 3 ## Child Loop BB0_11 Depth 4 ## Child Loop BB0_26 Depth 3 movl %r13d, -60(%rbp) ## 4-byte Spill .p2align 4, 0x90 LBB0_2: ## Parent Loop BB0_1 Depth=1 ## => This Loop Header: Depth=2 ## Child Loop BB0_3 Depth 3 ## Child Loop BB0_11 Depth 4 ## Child Loop BB0_26 Depth 3 movl %r13d, %edi callq _PageGetMaxOffsetNumber movq %rax, %r12 movq _FirstOffsetNumber@GOTPCREL(%rip), %rax movq (%rax), %r15 cmpq %r12, %r15 jle LBB0_3 LBB0_17: ## in Loop: Header=BB0_2 Depth=2 movq -112(%rbp), %rax ## 8-byte Reload movl 4(%rax), %r15d movq -136(%rbp), %r12 ## 8-byte Reload movq -104(%rbp), %rsi ## 8-byte Reload cmpq %r12, %rsi jne LBB0_19 ## %bb.18: ## in Loop: Header=BB0_2 Depth=2 movq _BUFFER_LOCK_UNLOCK@GOTPCREL(%rip), %rax movl (%rax), %esi movq %r12, %rdi callq _LockBuffer jmp LBB0_20 LBB0_14: ## in Loop: Header=BB0_3 Depth=3 xorl %edi, %edi cmpq -144(%rbp), %rax ## 8-byte Folded Reload sete %dil callq _Assert .p2align 4, 0x90 LBB0_15: ## in Loop: Header=BB0_3 Depth=3 movl -60(%rbp), %r13d ## 4-byte Reload LBB0_16: ## in Loop: Header=BB0_3 Depth=3 movq %r15, %rdi callq _OffsetNumberNext movq %rax, %r15 cmpq %r12, %rax jg LBB0_17 LBB0_3: ## Parent Loop BB0_1 Depth=1 ## Parent Loop BB0_2 Depth=2 ## => This Loop Header: Depth=3 ## Child Loop BB0_11 Depth 4 movl $0, -68(%rbp) movl %r13d, %edi movq %r15, %rsi callq _PageGetItemId movl %eax, %edi callq _ItemIdIsDead testq %rax, %rax jne LBB0_16 ## %bb.4: ## in Loop: Header=BB0_3 Depth=3 movl %r13d, %edi movq %r15, %rsi callq _PageGetItemId movl %r13d, %edi movl %eax, %esi callq _PageGetItem movq %rax, %r13 cmpq $0, 16(%rbp) je LBB0_6 ## %bb.5: ## in Loop: Header=BB0_3 Depth=3 leaq 4(%r13), %rsi movq _HASH_FIND@GOTPCREL(%rip), %rax movl (%rax), %edx movq 16(%rbp), %rdi leaq -68(%rbp), %rcx callq _hash_search LBB0_6: ## in Loop: Header=BB0_3 Depth=3 cmpl $0, -68(%rbp) jne LBB0_15 ## %bb.7: ## in Loop: Header=BB0_3 Depth=3 movq %r13, %rdi callq __hash_get_indextuple_hashkey movl %eax, %edi movl 24(%rbp), %esi movl 32(%rbp), %edx movl 40(%rbp), %ecx callq __hash_hashkey2bucket cmpq -160(%rbp), %rax ## 8-byte Folded Reload jne LBB0_14 ## %bb.8: ## in Loop: Header=BB0_3 Depth=3 movq %r13, %rdi callq _CopyIndexTuple movq %rax, %rdi movq _INDEX_MOVED_BY_SPLIT_MASK@GOTPCREL(%rip), %rax movl (%rax), %eax orl %eax, (%rdi) movq %rdi, -152(%rbp) ## 8-byte Spill callq _IndexTupleSize movq %rax, %rdi callq _MAXALIGN movq %rax, %rbx movq -56(%rbp), %r13 ## 8-byte Reload leal 1(%r13), %esi movl -64(%rbp), %edi ## 4-byte Reload callq _PageGetFreeSpaceForMultipleTuples movq -80(%rbp), %rdx ## 8-byte Reload leaq (%rbx,%rdx), %rcx cmpq %rcx, %rax jge LBB0_13 ## %bb.9: ## in Loop: Header=BB0_3 Depth=3 movq %rbx, -80(%rbp) ## 8-byte Spill xorl %eax, %eax callq _START_CRIT_SECTION movl -44(%rbp), %ebx ## 4-byte Reload movl %ebx, %edi movq -88(%rbp), %r13 ## 8-byte Reload movq %r13, %rsi movq %r14, %rdx movq -120(%rbp), %rcx ## 8-byte Reload movq -56(%rbp), %r8 ## 8-byte Reload ## kill: def $r8d killed $r8d killed $r8 callq __hash_pgaddmultitup movq %r13, %rdi callq _MarkBufferDirty movl %ebx, %edi movq %r13, %rsi callq _log_split_page xorl %eax, %eax callq _END_CRIT_SECTION movq _BUFFER_LOCK_UNLOCK@GOTPCREL(%rip), %rax movl (%rax), %esi movq %r13, %rdi movq -56(%rbp), %rbx ## 8-byte Reload callq _LockBuffer testl %ebx, %ebx js LBB0_12 ## %bb.10: ## in Loop: Header=BB0_3 Depth=3 movl %ebx, %r13d xorl %ebx, %ebx .p2align 4, 0x90 LBB0_11: ## Parent Loop BB0_1 Depth=1 ## Parent Loop BB0_2 Depth=2 ## Parent Loop BB0_3 Depth=3 ## => This Inner Loop Header: Depth=4 movq (%r14,%rbx,8), %rdi callq _pfree decq %rbx cmpq %r13, %rbx jle LBB0_11 LBB0_12: ## in Loop: Header=BB0_3 Depth=3 xorl %ecx, %ecx movq -88(%rbp), %rdx ## 8-byte Reload cmpq -96(%rbp), %rdx ## 8-byte Folded Reload sete %cl movl -44(%rbp), %edi ## 4-byte Reload movq -128(%rbp), %rsi ## 8-byte Reload callq __hash_addovflpage movq %rax, -88(%rbp) ## 8-byte Spill movq %rax, %rdi callq _BufferGetPage movl %eax, -64(%rbp) ## 4-byte Spill movl %eax, %edi callq _PageGetSpecialPointer xorl %edx, %edx xorl %r13d, %r13d movq -80(%rbp), %rbx ## 8-byte Reload LBB0_13: ## in Loop: Header=BB0_3 Depth=3 movslq %r13d, %rax incl %r13d movq %r13, -56(%rbp) ## 8-byte Spill movq -152(%rbp), %rcx ## 8-byte Reload movq %rcx, (%r14,%rax,8) addq %rbx, %rdx movq %rdx, -80(%rbp) ## 8-byte Spill jmp LBB0_15 .p2align 4, 0x90 LBB0_19: ## in Loop: Header=BB0_2 Depth=2 movl -44(%rbp), %edi ## 4-byte Reload callq __hash_relbuf LBB0_20: ## in Loop: Header=BB0_2 Depth=2 movl %r15d, %edi callq _BlockNumberIsValid testl %eax, %eax jne LBB0_27 ## %bb.21: ## in Loop: Header=BB0_2 Depth=2 xorl %eax, %eax callq _START_CRIT_SECTION movl -44(%rbp), %r15d ## 4-byte Reload movl %r15d, %edi movq -88(%rbp), %rbx ## 8-byte Reload movq %rbx, %rsi movq %r14, %rdx movq -120(%rbp), %rcx ## 8-byte Reload movq -56(%rbp), %r8 ## 8-byte Reload ## kill: def $r8d killed $r8d killed $r8 callq __hash_pgaddmultitup movq %rbx, %rdi callq _MarkBufferDirty movl %r15d, %edi movq %rbx, %rsi callq _log_split_page xorl %eax, %eax callq _END_CRIT_SECTION movq -96(%rbp), %rax ## 8-byte Reload cmpq %rax, %rbx jne LBB0_23 ## %bb.22: ## in Loop: Header=BB0_2 Depth=2 movq _BUFFER_LOCK_UNLOCK@GOTPCREL(%rip), %rax movl (%rax), %esi movq -96(%rbp), %rdi ## 8-byte Reload callq _LockBuffer cmpl $0, -56(%rbp) ## 4-byte Folded Reload jg LBB0_25 jmp LBB0_2 .p2align 4, 0x90 LBB0_23: ## in Loop: Header=BB0_2 Depth=2 movl %r15d, %edi movq %rbx, %rsi callq __hash_relbuf cmpl $0, -56(%rbp) ## 4-byte Folded Reload jle LBB0_2 LBB0_25: ## in Loop: Header=BB0_2 Depth=2 movl -56(%rbp), %r15d ## 4-byte Reload xorl %ebx, %ebx .p2align 4, 0x90 LBB0_26: ## Parent Loop BB0_1 Depth=1 ## Parent Loop BB0_2 Depth=2 ## => This Inner Loop Header: Depth=3 movq (%r14,%rbx,8), %rdi callq _pfree incq %rbx cmpq %rbx, %r15 jne LBB0_26 jmp LBB0_2 .cfi_endproc ## -- End function .comm _MaxIndexTuplesPerPage,4,2 ## @MaxIndexTuplesPerPage .comm _FirstOffsetNumber,8,3 ## @FirstOffsetNumber .comm _HASH_FIND,4,2 ## @HASH_FIND .comm _INDEX_MOVED_BY_SPLIT_MASK,4,2 ## @INDEX_MOVED_BY_SPLIT_MASK .comm _BUFFER_LOCK_UNLOCK,4,2 ## @BUFFER_LOCK_UNLOCK .comm _HASH_READ,4,2 ## @HASH_READ .comm _LH_OVERFLOW_PAGE,4,2 ## @LH_OVERFLOW_PAGE .comm _BUFFER_LOCK_EXCLUSIVE,4,2 ## @BUFFER_LOCK_EXCLUSIVE .comm _LH_BUCKET_BEING_POPULATED,4,2 ## @LH_BUCKET_BEING_POPULATED .comm _LH_BUCKET_BEING_SPLIT,4,2 ## @LH_BUCKET_BEING_SPLIT .comm _LH_BUCKET_NEEDS_SPLIT_CLEANUP,4,2 ## @LH_BUCKET_NEEDS_SPLIT_CLEANUP .comm _REGBUF_STANDARD,4,2 ## @REGBUF_STANDARD .comm _RM_HASH_ID,4,2 ## @RM_HASH_ID .comm _SizeOfHashSplitComplete,4,2 ## @SizeOfHashSplitComplete .comm _XLOG_HASH_SPLIT_COMPLETE,4,2 ## @XLOG_HASH_SPLIT_COMPLETE .no_dead_strip __hash_splitbucket .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function _hash_splitbucket __hash_splitbucket: ; @_hash_splitbucket .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 x28, x7 mov x20, x6 mov x21, x5 mov x27, x4 stur x3, [x29, #-96] ; 8-byte Folded Spill stur x2, [x29, #-144] ; 8-byte Folded Spill stur x1, [x29, #-176] ; 8-byte Folded Spill mov x23, x0 ldp w8, w9, [x29, #16] stp w8, w9, [x29, #-104] ; 8-byte Folded Spill Lloh0: adrp x8, _MaxIndexTuplesPerPage@GOTPAGE Lloh1: ldr x8, [x8, _MaxIndexTuplesPerPage@GOTPAGEOFF] Lloh2: ldr w8, [x8] lsl x8, x8, #3 mov x9, x8 Lloh3: adrp x16, ___chkstk_darwin@GOTPAGE Lloh4: ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF] blr x16 mov x9, sp add x10, x8, #15 and x12, x10, #0xffffffff0 sub x9, x9, x12 stur x9, [x29, #-128] ; 8-byte Folded Spill mov sp, x9 mov x9, x8 Lloh5: adrp x16, ___chkstk_darwin@GOTPAGE Lloh6: ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF] blr x16 mov x8, sp sub x24, x8, x12 mov sp, x24 mov x0, x4 bl _BufferGetPage mov x22, x0 bl _PageGetSpecialPointer stur x0, [x29, #-152] ; 8-byte Folded Spill mov x0, x21 bl _BufferGetPage stur w0, [x29, #-108] ; 4-byte Folded Spill bl _PageGetSpecialPointer mov x0, x27 bl _BufferGetBlockNumber mov x19, x0 mov x0, x21 bl _BufferGetBlockNumber mov x2, x0 stur w23, [x29, #-88] ; 4-byte Folded Spill mov x0, x23 mov x1, x19 bl _PredicateLockPageSplit mov x26, #0 ; =0x0 mov w19, #0 ; =0x0 stur x21, [x29, #-120] ; 8-byte Folded Spill stp x27, x27, [x29, #-168] ; 16-byte Folded Spill stur w28, [x29, #-132] ; 4-byte Folded Spill b LBB0_2 LBB0_1: ; in Loop: Header=BB0_2 Depth=1 Lloh7: adrp x8, _HASH_READ@GOTPAGE Lloh8: ldr x8, [x8, _HASH_READ@GOTPAGEOFF] Lloh9: ldr w2, [x8] Lloh10: adrp x8, _LH_OVERFLOW_PAGE@GOTPAGE Lloh11: ldr x8, [x8, _LH_OVERFLOW_PAGE@GOTPAGEOFF] Lloh12: ldr w3, [x8] ldur w0, [x29, #-88] ; 4-byte Folded Reload mov x1, x23 bl __hash_getbuf stur x0, [x29, #-160] ; 8-byte Folded Spill bl _BufferGetPage mov x22, x0 bl _PageGetSpecialPointer stur x0, [x29, #-152] ; 8-byte Folded Spill LBB0_2: ; =>This Loop Header: Depth=1 ; Child Loop BB0_8 Depth 2 ; Child Loop BB0_16 Depth 3 ; Child Loop BB0_25 Depth 2 mov x0, x22 bl _PageGetMaxOffsetNumber Lloh13: adrp x8, _FirstOffsetNumber@GOTPAGE Lloh14: ldr x8, [x8, _FirstOffsetNumber@GOTPAGEOFF] Lloh15: ldr x27, [x8] cmp x27, x0 b.le LBB0_5 LBB0_3: ; in Loop: Header=BB0_2 Depth=1 ldp x1, x8, [x29, #-160] ; 16-byte Folded Reload ldr w23, [x8, #4] ldur x27, [x29, #-168] ; 8-byte Folded Reload cmp x1, x27 b.ne LBB0_19 ; %bb.4: ; in Loop: Header=BB0_2 Depth=1 Lloh16: adrp x8, _BUFFER_LOCK_UNLOCK@GOTPAGE Lloh17: ldr x8, [x8, _BUFFER_LOCK_UNLOCK@GOTPAGEOFF] Lloh18: ldr w1, [x8] mov x0, x27 bl _LockBuffer b LBB0_20 LBB0_5: ; in Loop: Header=BB0_2 Depth=1 mov x23, x0 b LBB0_8 LBB0_6: ; in Loop: Header=BB0_8 Depth=2 ldur x8, [x29, #-144] ; 8-byte Folded Reload cmp x0, x8 cset w0, eq bl _Assert LBB0_7: ; in Loop: Header=BB0_8 Depth=2 mov x0, x27 bl _OffsetNumberNext mov x27, x0 cmp x0, x23 b.gt LBB0_3 LBB0_8: ; Parent Loop BB0_2 Depth=1 ; => This Loop Header: Depth=2 ; Child Loop BB0_16 Depth 3 stur wzr, [x29, #-84] mov x0, x22 mov x1, x27 bl _PageGetItemId bl _ItemIdIsDead cbnz x0, LBB0_7 ; %bb.9: ; in Loop: Header=BB0_8 Depth=2 mov x0, x22 mov x1, x27 bl _PageGetItemId mov x1, x0 mov x0, x22 bl _PageGetItem mov x25, x0 cbz x20, LBB0_11 ; %bb.10: ; in Loop: Header=BB0_8 Depth=2 Lloh19: adrp x8, _HASH_FIND@GOTPAGE Lloh20: ldr x8, [x8, _HASH_FIND@GOTPAGEOFF] Lloh21: ldr w2, [x8] add x1, x25, #4 sub x3, x29, #84 mov x0, x20 bl _hash_search LBB0_11: ; in Loop: Header=BB0_8 Depth=2 ldur w8, [x29, #-84] cbnz w8, LBB0_7 ; %bb.12: ; in Loop: Header=BB0_8 Depth=2 mov x0, x25 bl __hash_get_indextuple_hashkey mov x1, x28 ldp w2, w3, [x29, #-104] ; 8-byte Folded Reload bl __hash_hashkey2bucket ldur x8, [x29, #-96] ; 8-byte Folded Reload cmp x0, x8 b.ne LBB0_6 ; %bb.13: ; in Loop: Header=BB0_8 Depth=2 mov x0, x25 bl _CopyIndexTuple mov x28, x0 Lloh22: adrp x8, _INDEX_MOVED_BY_SPLIT_MASK@GOTPAGE Lloh23: ldr x8, [x8, _INDEX_MOVED_BY_SPLIT_MASK@GOTPAGEOFF] Lloh24: ldr w8, [x8] ldr w9, [x0] orr w8, w9, w8 str w8, [x0] bl _IndexTupleSize bl _MAXALIGN mov x25, x0 add w1, w19, #1 ldur w0, [x29, #-108] ; 4-byte Folded Reload bl _PageGetFreeSpaceForMultipleTuples add x8, x25, x26 cmp x0, x8 b.ge LBB0_18 ; %bb.14: ; in Loop: Header=BB0_8 Depth=2 bl _START_CRIT_SECTION ldur w26, [x29, #-88] ; 4-byte Folded Reload mov x0, x26 mov x1, x21 mov x2, x24 ldur x3, [x29, #-128] ; 8-byte Folded Reload mov x4, x19 bl __hash_pgaddmultitup mov x0, x21 bl _MarkBufferDirty mov x0, x26 mov x1, x21 bl _log_split_page bl _END_CRIT_SECTION Lloh25: adrp x8, _BUFFER_LOCK_UNLOCK@GOTPAGE Lloh26: ldr x8, [x8, _BUFFER_LOCK_UNLOCK@GOTPAGEOFF] Lloh27: ldr w1, [x8] mov x0, x21 bl _LockBuffer tbnz w19, #31, LBB0_17 ; %bb.15: ; in Loop: Header=BB0_8 Depth=2 mov x26, #0 ; =0x0 mov w19, w19 LBB0_16: ; Parent Loop BB0_2 Depth=1 ; Parent Loop BB0_8 Depth=2 ; => This Inner Loop Header: Depth=3 ldr x0, [x24, x26, lsl #3] bl _pfree sub x26, x26, #1 cmp x26, x19 b.le LBB0_16 LBB0_17: ; in Loop: Header=BB0_8 Depth=2 ldur x8, [x29, #-120] ; 8-byte Folded Reload cmp x21, x8 cset w3, eq ldur w0, [x29, #-88] ; 4-byte Folded Reload ldur x1, [x29, #-176] ; 8-byte Folded Reload mov x2, x21 bl __hash_addovflpage mov x21, x0 bl _BufferGetPage stur w0, [x29, #-108] ; 4-byte Folded Spill bl _PageGetSpecialPointer mov x26, #0 ; =0x0 mov w19, #0 ; =0x0 LBB0_18: ; in Loop: Header=BB0_8 Depth=2 str x28, [x24, w19, sxtw #3] add w19, w19, #1 add x26, x26, x25 ldur w28, [x29, #-132] ; 4-byte Folded Reload b LBB0_7 LBB0_19: ; in Loop: Header=BB0_2 Depth=1 ldur w0, [x29, #-88] ; 4-byte Folded Reload bl __hash_relbuf LBB0_20: ; in Loop: Header=BB0_2 Depth=1 mov x0, x23 bl _BlockNumberIsValid cbnz w0, LBB0_1 ; %bb.21: ; in Loop: Header=BB0_2 Depth=1 bl _START_CRIT_SECTION ldur w23, [x29, #-88] ; 4-byte Folded Reload mov x0, x23 mov x1, x21 mov x2, x24 ldur x3, [x29, #-128] ; 8-byte Folded Reload mov x4, x19 bl __hash_pgaddmultitup mov x0, x21 bl _MarkBufferDirty mov x0, x23 mov x1, x21 bl _log_split_page bl _END_CRIT_SECTION ldur x0, [x29, #-120] ; 8-byte Folded Reload cmp x21, x0 b.ne LBB0_23 ; %bb.22: ; in Loop: Header=BB0_2 Depth=1 Lloh28: adrp x8, _BUFFER_LOCK_UNLOCK@GOTPAGE Lloh29: ldr x8, [x8, _BUFFER_LOCK_UNLOCK@GOTPAGEOFF] Lloh30: ldr w1, [x8] bl _LockBuffer cmp w19, #1 b.ge LBB0_24 b LBB0_2 LBB0_23: ; in Loop: Header=BB0_2 Depth=1 mov x0, x23 mov x1, x21 bl __hash_relbuf cmp w19, #1 b.lt LBB0_2 LBB0_24: ; in Loop: Header=BB0_2 Depth=1 mov w23, w19 mov x25, x24 LBB0_25: ; Parent Loop BB0_2 Depth=1 ; => This Inner Loop Header: Depth=2 ldr x0, [x25], #8 bl _pfree subs x23, x23, #1 b.ne LBB0_25 b LBB0_2 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12 .loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9 .loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh15 .loh AdrpLdrGotLdr Lloh16, Lloh17, Lloh18 .loh AdrpLdrGotLdr Lloh19, Lloh20, Lloh21 .loh AdrpLdrGotLdr Lloh22, Lloh23, Lloh24 .loh AdrpLdrGotLdr Lloh25, Lloh26, Lloh27 .loh AdrpLdrGotLdr Lloh28, Lloh29, Lloh30 .loh AdrpLdrGot Lloh3, Lloh4 .loh AdrpLdrGot Lloh5, Lloh6 .cfi_endproc ; -- End function .comm _MaxIndexTuplesPerPage,4,2 ; @MaxIndexTuplesPerPage .comm _FirstOffsetNumber,8,3 ; @FirstOffsetNumber .comm _HASH_FIND,4,2 ; @HASH_FIND .comm _INDEX_MOVED_BY_SPLIT_MASK,4,2 ; @INDEX_MOVED_BY_SPLIT_MASK .comm _BUFFER_LOCK_UNLOCK,4,2 ; @BUFFER_LOCK_UNLOCK .comm _HASH_READ,4,2 ; @HASH_READ .comm _LH_OVERFLOW_PAGE,4,2 ; @LH_OVERFLOW_PAGE .comm _BUFFER_LOCK_EXCLUSIVE,4,2 ; @BUFFER_LOCK_EXCLUSIVE .comm _LH_BUCKET_BEING_POPULATED,4,2 ; @LH_BUCKET_BEING_POPULATED .comm _LH_BUCKET_BEING_SPLIT,4,2 ; @LH_BUCKET_BEING_SPLIT .comm _LH_BUCKET_NEEDS_SPLIT_CLEANUP,4,2 ; @LH_BUCKET_NEEDS_SPLIT_CLEANUP .comm _REGBUF_STANDARD,4,2 ; @REGBUF_STANDARD .comm _RM_HASH_ID,4,2 ; @RM_HASH_ID .comm _SizeOfHashSplitComplete,4,2 ; @SizeOfHashSplitComplete .comm _XLOG_HASH_SPLIT_COMPLETE,4,2 ; @XLOG_HASH_SPLIT_COMPLETE .no_dead_strip __hash_splitbucket .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function inzsub _inzsub: ## @inzsub .cfi_startproc ## %bb.0: 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, -64(%rbp) ## 4-byte Spill movq %rdi, %r14 testl %edx, %edx je LBB0_2 ## %bb.1: movl %edx, -44(%rbp) ## 4-byte Spill movq _ZFC_STDOFF@GOTPCREL(%rip), %rax movl (%rax), %r12d movq _ZFC_RULE@GOTPCREL(%rip), %rax movl (%rax), %r13d movq _ZFC_FORMAT@GOTPCREL(%rip), %rax movl (%rax), %ebx movq _ZFC_TILYEAR@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -60(%rbp) ## 4-byte Spill movq _ZFC_TILMONTH@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -48(%rbp) ## 4-byte Spill movq _ZFC_TILDAY@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -52(%rbp) ## 4-byte Spill movq _ZFC_TILTIME@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -56(%rbp) ## 4-byte Spill xorl %eax, %eax jmp LBB0_4 LBB0_2: movl %edx, %ebx movq _ZF_NAME@GOTPCREL(%rip), %r15 movq (%r15), %rax movq (%r14,%rax,8), %rdi callq _namecheck testl %eax, %eax je LBB0_33 ## %bb.3: movl %ebx, -44(%rbp) ## 4-byte Spill movq _ZF_STDOFF@GOTPCREL(%rip), %rax movl (%rax), %r12d movq _ZF_RULE@GOTPCREL(%rip), %rax movl (%rax), %r13d movq _ZF_FORMAT@GOTPCREL(%rip), %rax movl (%rax), %ebx movq _ZF_TILYEAR@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -60(%rbp) ## 4-byte Spill movq _ZF_TILMONTH@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -48(%rbp) ## 4-byte Spill movq _ZF_TILDAY@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -52(%rbp) ## 4-byte Spill movq _ZF_TILTIME@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -56(%rbp) ## 4-byte Spill movq (%r15), %rax movq (%r14,%rax,8), %rdi callq _ecpyalloc LBB0_4: movq %rax, _inzsub.z+80(%rip) movq _filename@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, _inzsub.z+72(%rip) movq _linenum@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, _inzsub.z+64(%rip) movslq %r12d, %rax movq (%r14,%rax,8), %r12 leaq L_.str(%rip), %rdi callq __ movq %r12, %rdi movl %eax, %esi callq _gethms movl %eax, _inzsub.z+56(%rip) movslq %ebx, %rbx movq (%r14,%rbx,8), %rdi movl $37, %esi callq _strchr movq %rax, %r12 testq %rax, %rax je LBB0_14 LBB0_5: movslq %r13d, %rax movq (%r14,%rax,8), %rdi callq _ecpyalloc movq %rax, _inzsub.z+48(%rip) movq (%r14,%rbx,8), %rdi callq _ecpyalloc movq %rax, _inzsub.z(%rip) movzbl (%r12), %ecx movb %cl, _inzsub.z+8(%rip) cmpb $122, %cl jne LBB0_9 ## %bb.6: movq _noise@GOTPCREL(%rip), %rcx cmpq $0, (%rcx) je LBB0_8 ## %bb.7: leaq L_.str.2(%rip), %rdi movq %rax, %r15 callq __ movq _inzsub.z(%rip), %rsi movl %eax, %edi callq _warning movq %r15, %rax LBB0_8: subq (%r14,%rbx,8), %r12 movb $115, (%rax,%r12) movq _inzsub.z(%rip), %rax LBB0_9: movq _max_format_len@GOTPCREL(%rip), %rbx movq (%rbx), %r15 movq %rax, %rdi callq _strlen cmpq %rax, %r15 jg LBB0_11 ## %bb.10: movq %rax, (%rbx) LBB0_11: xorl %r12d, %r12d movl -64(%rbp), %edi ## 4-byte Reload movl -60(%rbp), %ecx ## 4-byte Reload cmpl %edi, %ecx setl %r13b movq _filename@GOTPCREL(%rip), %rax movq _linenum@GOTPCREL(%rip), %rdx jge LBB0_20 ## %bb.12: movq (%rax), %rax movq %rax, _inzsub.z+40(%rip) movq (%rdx), %rax movq %rax, _inzsub.z+32(%rip) movl -48(%rbp), %eax ## 4-byte Reload cmpl %edi, %eax jge LBB0_21 ## %bb.13: cltq movq (%r14,%rax,8), %r8 jmp LBB0_22 LBB0_14: movzbl 1, %eax cmpl $122, %eax je LBB0_16 ## %bb.15: cmpl $115, %eax jne LBB0_18 LBB0_16: movl $1, %r12d movl $1, %edi movl $37, %esi callq _strchr testq %rax, %rax jne LBB0_18 ## %bb.17: movq (%r14,%rbx,8), %rdi movl $47, %esi callq _strchr testq %rax, %rax je LBB0_5 LBB0_18: leaq L_.str.1(%rip), %rdi LBB0_19: callq __ movl %eax, %edi callq _error LBB0_33: xorl %r12d, %r12d jmp LBB0_34 LBB0_20: movq _nzones@GOTPCREL(%rip), %rax movl (%rax), %edx jmp LBB0_32 LBB0_21: leaq L_.str.5(%rip), %r8 LBB0_22: movl -44(%rbp), %edx ## 4-byte Reload movslq %ecx, %rax movl -52(%rbp), %ecx ## 4-byte Reload cmpl %edi, %ecx jge LBB0_24 ## %bb.23: movslq %ecx, %rcx movq (%r14,%rcx,8), %r9 jmp LBB0_25 LBB0_24: leaq L_.str.6(%rip), %r9 LBB0_25: movq (%r14,%rax,8), %rsi movl -56(%rbp), %eax ## 4-byte Reload cmpl %edi, %eax jge LBB0_27 ## %bb.26: cltq movq (%r14,%rax,8), %rax jmp LBB0_28 LBB0_27: leaq L_.str.7(%rip), %rax LBB0_28: testl %edx, %edx setne %r14b movq %rax, (%rsp) leaq _inzsub.z+24(%rip), %rbx leaq L_.str.3(%rip), %rdx leaq L_.str.4(%rip), %rcx movq %rbx, %rdi callq _rulesub movl _inzsub.z+24(%rip), %esi movq %rbx, %rdi callq _rpytime movq %rax, _inzsub.z+16(%rip) movq _nzones@GOTPCREL(%rip), %rcx movl (%rcx), %edx testl %edx, %edx setg %cl andb %r14b, %cl cmpb $1, %cl jne LBB0_32 ## %bb.29: movq _min_time@GOTPCREL(%rip), %rcx movq (%rcx), %rcx cmpq %rcx, %rax jle LBB0_32 ## %bb.30: movq _max_time@GOTPCREL(%rip), %rsi movq (%rsi), %rsi cmpq %rsi, %rax jge LBB0_32 ## %bb.31: movl %edx, %edi movq _zones@GOTPCREL(%rip), %r8 movq (%r8), %r8 imulq $88, %rdi, %rdi movq -72(%r8,%rdi), %rdi cmpq %rcx, %rdi setle %cl cmpq %rsi, %rdi setge %sil orb %cl, %sil cmpq %rax, %rdi setl %al orb %sil, %al je LBB0_35 LBB0_32: movb %r13b, %r12b movq _zones@GOTPCREL(%rip), %rbx movq (%rbx), %rdi movq _nzones_alloc@GOTPCREL(%rip), %rcx movl $88, %esi callq _growalloc movq %rax, (%rbx) movq _nzones@GOTPCREL(%rip), %rcx movslq (%rcx), %rdx leal 1(%rdx), %esi movl %esi, (%rcx) imulq $88, %rdx, %rcx movups _inzsub.z(%rip), %xmm0 movups %xmm0, (%rax,%rcx) movups _inzsub.z+16(%rip), %xmm0 movups %xmm0, 16(%rax,%rcx) movups _inzsub.z+32(%rip), %xmm0 movups %xmm0, 32(%rax,%rcx) movups _inzsub.z+48(%rip), %xmm0 movups %xmm0, 48(%rax,%rcx) movups _inzsub.z+64(%rip), %xmm0 movups %xmm0, 64(%rax,%rcx) movq _inzsub.z+80(%rip), %rdx movq %rdx, 80(%rax,%rcx) LBB0_34: movl %r12d, %eax addq $40, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_35: leaq L_.str.8(%rip), %rdi jmp LBB0_19 .cfi_endproc ## -- End function .zerofill __DATA,__bss,_inzsub.z,88,3 ## @inzsub.z .comm _ZFC_STDOFF,4,2 ## @ZFC_STDOFF .comm _ZFC_RULE,4,2 ## @ZFC_RULE .comm _ZFC_FORMAT,4,2 ## @ZFC_FORMAT .comm _ZFC_TILYEAR,4,2 ## @ZFC_TILYEAR .comm _ZFC_TILMONTH,4,2 ## @ZFC_TILMONTH .comm _ZFC_TILDAY,4,2 ## @ZFC_TILDAY .comm _ZFC_TILTIME,4,2 ## @ZFC_TILTIME .comm _ZF_NAME,8,3 ## @ZF_NAME .comm _ZF_STDOFF,4,2 ## @ZF_STDOFF .comm _ZF_RULE,4,2 ## @ZF_RULE .comm _ZF_FORMAT,4,2 ## @ZF_FORMAT .comm _ZF_TILYEAR,4,2 ## @ZF_TILYEAR .comm _ZF_TILMONTH,4,2 ## @ZF_TILMONTH .comm _ZF_TILDAY,4,2 ## @ZF_TILDAY .comm _ZF_TILTIME,4,2 ## @ZF_TILTIME .comm _filename,8,3 ## @filename .comm _linenum,8,3 ## @linenum .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "invalid UT offset" L_.str.1: ## @.str.1 .asciz "invalid abbreviation format" .comm _noise,8,3 ## @noise L_.str.2: ## @.str.2 .asciz "format '%s' not handled by pre-2015 versions of zic" .comm _max_format_len,8,3 ## @max_format_len L_.str.3: ## @.str.3 .asciz "only" L_.str.4: ## @.str.4 .space 1 L_.str.5: ## @.str.5 .asciz "Jan" L_.str.6: ## @.str.6 .asciz "1" L_.str.7: ## @.str.7 .asciz "0" .comm _nzones,4,2 ## @nzones .comm _min_time,8,3 ## @min_time .comm _max_time,8,3 ## @max_time .comm _zones,8,3 ## @zones L_.str.8: ## @.str.8 .asciz "Zone continuation line end time is not after end time of previous line" .comm _nzones_alloc,4,2 ## @nzones_alloc .no_dead_strip _inzsub .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function inzsub _inzsub: ; @inzsub .cfi_startproc ; %bb.0: sub sp, sp, #112 stp x28, x27, [sp, #16] ; 16-byte Folded Spill stp x26, x25, [sp, #32] ; 16-byte Folded Spill stp x24, x23, [sp, #48] ; 16-byte Folded Spill stp x22, x21, [sp, #64] ; 16-byte Folded Spill stp x20, x19, [sp, #80] ; 16-byte Folded Spill stp x29, x30, [sp, #96] ; 16-byte Folded Spill add x29, sp, #96 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset w27, -88 .cfi_offset w28, -96 mov x19, x2 mov x21, x1 mov x20, x0 cbz w2, LBB0_2 ; %bb.1: mov x0, #0 ; =0x0 Lloh0: adrp x8, _ZFC_STDOFF@GOTPAGE Lloh1: ldr x8, [x8, _ZFC_STDOFF@GOTPAGEOFF] Lloh2: ldr w22, [x8] Lloh3: adrp x8, _ZFC_RULE@GOTPAGE Lloh4: ldr x8, [x8, _ZFC_RULE@GOTPAGEOFF] Lloh5: ldr w25, [x8] Lloh6: adrp x8, _ZFC_FORMAT@GOTPAGE Lloh7: ldr x8, [x8, _ZFC_FORMAT@GOTPAGEOFF] Lloh8: ldr w28, [x8] Lloh9: adrp x8, _ZFC_TILYEAR@GOTPAGE Lloh10: ldr x8, [x8, _ZFC_TILYEAR@GOTPAGEOFF] Lloh11: ldr w23, [x8] Lloh12: adrp x8, _ZFC_TILMONTH@GOTPAGE Lloh13: ldr x8, [x8, _ZFC_TILMONTH@GOTPAGEOFF] Lloh14: ldr w8, [x8] str w8, [sp, #12] ; 4-byte Folded Spill Lloh15: adrp x8, _ZFC_TILDAY@GOTPAGE Lloh16: ldr x8, [x8, _ZFC_TILDAY@GOTPAGEOFF] Lloh17: ldr w26, [x8] Lloh18: adrp x8, _ZFC_TILTIME@GOTPAGE Lloh19: ldr x8, [x8, _ZFC_TILTIME@GOTPAGEOFF] Lloh20: ldr w27, [x8] b LBB0_4 LBB0_2: Lloh21: adrp x24, _ZF_NAME@GOTPAGE Lloh22: ldr x24, [x24, _ZF_NAME@GOTPAGEOFF] ldr x8, [x24] ldr x0, [x20, x8, lsl #3] bl _namecheck cbz w0, LBB0_20 ; %bb.3: Lloh23: adrp x8, _ZF_STDOFF@GOTPAGE Lloh24: ldr x8, [x8, _ZF_STDOFF@GOTPAGEOFF] Lloh25: ldr w22, [x8] Lloh26: adrp x8, _ZF_RULE@GOTPAGE Lloh27: ldr x8, [x8, _ZF_RULE@GOTPAGEOFF] Lloh28: ldr w25, [x8] Lloh29: adrp x8, _ZF_FORMAT@GOTPAGE Lloh30: ldr x8, [x8, _ZF_FORMAT@GOTPAGEOFF] Lloh31: ldr w28, [x8] Lloh32: adrp x8, _ZF_TILYEAR@GOTPAGE Lloh33: ldr x8, [x8, _ZF_TILYEAR@GOTPAGEOFF] Lloh34: ldr w23, [x8] Lloh35: adrp x8, _ZF_TILMONTH@GOTPAGE Lloh36: ldr x8, [x8, _ZF_TILMONTH@GOTPAGEOFF] Lloh37: ldr w8, [x8] str w8, [sp, #12] ; 4-byte Folded Spill Lloh38: adrp x8, _ZF_TILDAY@GOTPAGE Lloh39: ldr x8, [x8, _ZF_TILDAY@GOTPAGEOFF] Lloh40: ldr w26, [x8] Lloh41: adrp x8, _ZF_TILTIME@GOTPAGE Lloh42: ldr x8, [x8, _ZF_TILTIME@GOTPAGEOFF] Lloh43: ldr w27, [x8] ldr x8, [x24] ldr x0, [x20, x8, lsl #3] bl _ecpyalloc LBB0_4: Lloh44: adrp x24, _inzsub.z@PAGE+56 Lloh45: add x24, x24, _inzsub.z@PAGEOFF+56 str x0, [x24, #24] Lloh46: adrp x8, _filename@GOTPAGE Lloh47: ldr x8, [x8, _filename@GOTPAGEOFF] Lloh48: adrp x9, _linenum@GOTPAGE Lloh49: ldr x9, [x9, _linenum@GOTPAGEOFF] Lloh50: ldr x8, [x8] Lloh51: ldr x9, [x9] stp x9, x8, [x24, #8] ldr x22, [x20, w22, sxtw #3] Lloh52: adrp x0, l_.str@PAGE Lloh53: add x0, x0, l_.str@PAGEOFF bl __ mov x1, x0 mov x0, x22 bl _gethms str w0, [x24] ldr x0, [x20, w28, sxtw #3] mov w1, #37 ; =0x25 bl _strchr mov x22, x0 cbz x0, LBB0_14 LBB0_5: ldr x0, [x20, w25, sxtw #3] bl _ecpyalloc Lloh54: adrp x25, _inzsub.z@PAGE Lloh55: add x25, x25, _inzsub.z@PAGEOFF str x0, [x25, #48] ldr x0, [x20, w28, sxtw #3] bl _ecpyalloc str x0, [x25] ldrb w8, [x22] strb w8, [x25, #8] cmp w8, #122 b.ne LBB0_9 ; %bb.6: Lloh56: adrp x8, _noise@GOTPAGE Lloh57: ldr x8, [x8, _noise@GOTPAGEOFF] Lloh58: ldr x8, [x8] adrp x10, _inzsub.z@PAGE cbz x8, LBB0_8 ; %bb.7: Lloh59: adrp x8, l_.str.2@PAGE Lloh60: add x8, x8, l_.str.2@PAGEOFF mov x24, x0 mov x0, x8 bl __ Lloh61: adrp x8, _inzsub.z@PAGE Lloh62: ldr x1, [x8, _inzsub.z@PAGEOFF] bl _warning adrp x10, _inzsub.z@PAGE mov x0, x24 LBB0_8: ldr x8, [x20, w28, sxtw #3] sub x8, x22, x8 mov w9, #115 ; =0x73 strb w9, [x0, x8] ldr x0, [x10, _inzsub.z@PAGEOFF] LBB0_9: Lloh63: adrp x22, _max_format_len@GOTPAGE Lloh64: ldr x22, [x22, _max_format_len@GOTPAGEOFF] ldr x24, [x22] bl _strlen cmp x24, x0 b.gt LBB0_11 ; %bb.10: str x0, [x22] LBB0_11: Lloh65: adrp x28, _nzones@GOTPAGE Lloh66: ldr x28, [x28, _nzones@GOTPAGEOFF] Lloh67: adrp x24, _zones@GOTPAGE Lloh68: ldr x24, [x24, _zones@GOTPAGEOFF] cmp w23, w21 cset w22, lt b.ge LBB0_21 ; %bb.12: Lloh69: adrp x8, _filename@GOTPAGE Lloh70: ldr x8, [x8, _filename@GOTPAGEOFF] Lloh71: ldr x8, [x8] Lloh72: adrp x9, _inzsub.z@PAGE+32 Lloh73: add x9, x9, _inzsub.z@PAGEOFF+32 Lloh74: adrp x10, _linenum@GOTPAGE Lloh75: ldr x10, [x10, _linenum@GOTPAGEOFF] Lloh76: ldr x10, [x10] stp x10, x8, [x9] ldr w8, [sp, #12] ; 4-byte Folded Reload cmp w8, w21 b.ge LBB0_24 ; %bb.13: ldr x4, [x20, w8, sxtw #3] b LBB0_25 LBB0_14: mov w8, #1 ; =0x1 ldrb w8, [x8] cmp w8, #122 b.eq LBB0_16 ; %bb.15: cmp w8, #115 b.ne LBB0_18 LBB0_16: mov w0, #1 ; =0x1 mov w1, #37 ; =0x25 bl _strchr cbnz x0, LBB0_18 ; %bb.17: ldr x0, [x20, w28, sxtw #3] mov w1, #47 ; =0x2f bl _strchr cbz x0, LBB0_38 LBB0_18: Lloh77: adrp x0, l_.str.1@PAGE Lloh78: add x0, x0, l_.str.1@PAGEOFF LBB0_19: bl __ bl _error LBB0_20: mov w22, #0 ; =0x0 b LBB0_23 LBB0_21: ldr w2, [x28] LBB0_22: ldr x0, [x24] Lloh79: adrp x3, _nzones_alloc@GOTPAGE Lloh80: ldr x3, [x3, _nzones_alloc@GOTPAGEOFF] mov w19, #88 ; =0x58 mov w1, #88 ; =0x58 ; kill: def $w2 killed $w2 killed $x2 bl _growalloc str x0, [x24] ldrsw x8, [x28] add w9, w8, #1 str w9, [x28] smaddl x8, w8, w19, x0 ldp q0, q1, [x25, #32] ldr q2, [x25, #64] ldr x9, [x25, #80] str x9, [x8, #80] stp q1, q2, [x8, #48] str q0, [x8, #32] ldp q0, q1, [x25] stp q0, q1, [x8] LBB0_23: mov x0, x22 ldp x29, x30, [sp, #96] ; 16-byte Folded Reload ldp x20, x19, [sp, #80] ; 16-byte Folded Reload ldp x22, x21, [sp, #64] ; 16-byte Folded Reload ldp x24, x23, [sp, #48] ; 16-byte Folded Reload ldp x26, x25, [sp, #32] ; 16-byte Folded Reload ldp x28, x27, [sp, #16] ; 16-byte Folded Reload add sp, sp, #112 ret LBB0_24: Lloh81: adrp x4, l_.str.5@PAGE Lloh82: add x4, x4, l_.str.5@PAGEOFF LBB0_25: ldr x1, [x20, w23, sxtw #3] cmp w26, w21 b.ge LBB0_28 ; %bb.26: ldr x5, [x20, w26, sxtw #3] cmp w27, w21 b.lt LBB0_29 LBB0_27: Lloh83: adrp x6, l_.str.7@PAGE Lloh84: add x6, x6, l_.str.7@PAGEOFF b LBB0_30 LBB0_28: Lloh85: adrp x5, l_.str.6@PAGE Lloh86: add x5, x5, l_.str.6@PAGEOFF cmp w27, w21 b.ge LBB0_27 LBB0_29: ldr x6, [x20, w27, sxtw #3] LBB0_30: Lloh87: adrp x20, _inzsub.z@PAGE+16 Lloh88: add x20, x20, _inzsub.z@PAGEOFF+16 Lloh89: adrp x2, l_.str.3@PAGE Lloh90: add x2, x2, l_.str.3@PAGEOFF Lloh91: adrp x3, l_.str.4@PAGE Lloh92: add x3, x3, l_.str.4@PAGEOFF add x0, x20, #8 bl _rulesub ldr w1, [x20, #8] add x0, x20, #8 bl _rpytime str x0, [x20] ldr w2, [x28] cbz w19, LBB0_22 ; %bb.31: cmp w2, #1 b.lt LBB0_22 ; %bb.32: Lloh93: adrp x8, _min_time@GOTPAGE Lloh94: ldr x8, [x8, _min_time@GOTPAGEOFF] Lloh95: ldr x8, [x8] cmp x0, x8 b.le LBB0_22 ; %bb.33: Lloh96: adrp x9, _max_time@GOTPAGE Lloh97: ldr x9, [x9, _max_time@GOTPAGEOFF] Lloh98: ldr x9, [x9] cmp x0, x9 b.ge LBB0_22 ; %bb.34: ldr x10, [x24] mov w11, #88 ; =0x58 umaddl x10, w2, w11, x10 ldur x10, [x10, #-72] cmp x10, x8 b.le LBB0_22 ; %bb.35: cmp x10, x9 b.ge LBB0_22 ; %bb.36: cmp x10, x0 b.lt LBB0_22 ; %bb.37: Lloh99: adrp x0, l_.str.8@PAGE Lloh100: add x0, x0, l_.str.8@PAGEOFF b LBB0_19 LBB0_38: mov w22, #1 ; =0x1 b LBB0_5 .loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh20 .loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17 .loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14 .loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGot Lloh21, Lloh22 .loh AdrpLdrGotLdr Lloh41, Lloh42, Lloh43 .loh AdrpLdrGotLdr Lloh38, Lloh39, Lloh40 .loh AdrpLdrGotLdr Lloh35, Lloh36, Lloh37 .loh AdrpLdrGotLdr Lloh32, Lloh33, Lloh34 .loh AdrpLdrGotLdr Lloh29, Lloh30, Lloh31 .loh AdrpLdrGotLdr Lloh26, Lloh27, Lloh28 .loh AdrpLdrGotLdr Lloh23, Lloh24, Lloh25 .loh AdrpAdd Lloh52, Lloh53 .loh AdrpLdrGotLdr Lloh48, Lloh49, Lloh51 .loh AdrpLdrGotLdr Lloh46, Lloh47, Lloh50 .loh AdrpAdd Lloh44, Lloh45 .loh AdrpAdd Lloh54, Lloh55 .loh AdrpLdrGotLdr Lloh56, Lloh57, Lloh58 .loh AdrpLdr Lloh61, Lloh62 .loh AdrpAdd Lloh59, Lloh60 .loh AdrpLdrGot Lloh63, Lloh64 .loh AdrpLdrGot Lloh67, Lloh68 .loh AdrpLdrGot Lloh65, Lloh66 .loh AdrpLdrGotLdr Lloh74, Lloh75, Lloh76 .loh AdrpAdd Lloh72, Lloh73 .loh AdrpLdrGotLdr Lloh69, Lloh70, Lloh71 .loh AdrpAdd Lloh77, Lloh78 .loh AdrpLdrGot Lloh79, Lloh80 .loh AdrpAdd Lloh81, Lloh82 .loh AdrpAdd Lloh83, Lloh84 .loh AdrpAdd Lloh85, Lloh86 .loh AdrpAdd Lloh91, Lloh92 .loh AdrpAdd Lloh89, Lloh90 .loh AdrpAdd Lloh87, Lloh88 .loh AdrpLdrGotLdr Lloh93, Lloh94, Lloh95 .loh AdrpLdrGotLdr Lloh96, Lloh97, Lloh98 .loh AdrpAdd Lloh99, Lloh100 .cfi_endproc ; -- End function .zerofill __DATA,__bss,_inzsub.z,88,3 ; @inzsub.z .comm _ZFC_STDOFF,4,2 ; @ZFC_STDOFF .comm _ZFC_RULE,4,2 ; @ZFC_RULE .comm _ZFC_FORMAT,4,2 ; @ZFC_FORMAT .comm _ZFC_TILYEAR,4,2 ; @ZFC_TILYEAR .comm _ZFC_TILMONTH,4,2 ; @ZFC_TILMONTH .comm _ZFC_TILDAY,4,2 ; @ZFC_TILDAY .comm _ZFC_TILTIME,4,2 ; @ZFC_TILTIME .comm _ZF_NAME,8,3 ; @ZF_NAME .comm _ZF_STDOFF,4,2 ; @ZF_STDOFF .comm _ZF_RULE,4,2 ; @ZF_RULE .comm _ZF_FORMAT,4,2 ; @ZF_FORMAT .comm _ZF_TILYEAR,4,2 ; @ZF_TILYEAR .comm _ZF_TILMONTH,4,2 ; @ZF_TILMONTH .comm _ZF_TILDAY,4,2 ; @ZF_TILDAY .comm _ZF_TILTIME,4,2 ; @ZF_TILTIME .comm _filename,8,3 ; @filename .comm _linenum,8,3 ; @linenum .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "invalid UT offset" l_.str.1: ; @.str.1 .asciz "invalid abbreviation format" .comm _noise,8,3 ; @noise l_.str.2: ; @.str.2 .asciz "format '%s' not handled by pre-2015 versions of zic" .comm _max_format_len,8,3 ; @max_format_len l_.str.3: ; @.str.3 .asciz "only" l_.str.4: ; @.str.4 .space 1 l_.str.5: ; @.str.5 .asciz "Jan" l_.str.6: ; @.str.6 .asciz "1" l_.str.7: ; @.str.7 .asciz "0" .comm _nzones,4,2 ; @nzones .comm _min_time,8,3 ; @min_time .comm _max_time,8,3 ; @max_time .comm _zones,8,3 ; @zones l_.str.8: ; @.str.8 .asciz "Zone continuation line end time is not after end time of previous line" .comm _nzones_alloc,4,2 ; @nzones_alloc .no_dead_strip _inzsub .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function nvme_pci_setup_prps _nvme_pci_setup_prps: ## @nvme_pci_setup_prps .cfi_startproc ## %bb.0: 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 %rdx, -72(%rbp) ## 8-byte Spill movq %rsi, %r12 movq %rdi, %r15 movq %rsi, %rdi callq _blk_mq_rq_to_pdu movq %rax, %rbx movq %r12, %rdi callq _blk_rq_payload_bytes ## kill: def $eax killed $eax def $rax movq %rax, -80(%rbp) ## 8-byte Spill movq %rbx, -56(%rbp) ## 8-byte Spill movq 16(%rbx), %r14 movq %r14, %rdi callq _sg_dma_len movl %eax, %ebx movq %r14, -64(%rbp) ## 8-byte Spill movq %r14, %rdi callq _sg_dma_address movl %eax, %r14d movq %r15, -88(%rbp) ## 8-byte Spill movl 16(%r15), %r13d leal 1(%r13), %r15d orl %eax, %r15d movq %r12, -112(%rbp) ## 8-byte Spill movq %r12, %rdi callq _nvme_pci_iod_list movq %rax, -104(%rbp) ## 8-byte Spill movq %r13, -96(%rbp) ## 8-byte Spill movl %r13d, %r12d subl %r15d, %r12d movq -80(%rbp), %r15 ## 8-byte Reload subl %r12d, %r15d jle LBB0_3 ## %bb.1: subl %r12d, %ebx je LBB0_4 ## %bb.2: addl %r14d, %r12d jmp LBB0_5 LBB0_3: xorl %r12d, %r12d movq -56(%rbp), %r14 ## 8-byte Reload jmp LBB0_15 LBB0_4: movq -64(%rbp), %rdi ## 8-byte Reload callq _sg_next movq %rax, %rbx movq %rax, %rdi callq _sg_dma_address movl %eax, %r12d movq %rbx, -64(%rbp) ## 8-byte Spill movq %rbx, %rdi callq _sg_dma_len movl %eax, %ebx LBB0_5: movq -96(%rbp), %r13 ## 8-byte Reload movq -56(%rbp), %r14 ## 8-byte Reload cmpl %r13d, %r15d jle LBB0_15 ## %bb.6: movl %r15d, %edi movl %r13d, %esi callq _DIV_ROUND_UP xorl %ecx, %ecx xorl %edx, %edx cmpl $33, %eax setl %cl setge %dl movq -88(%rbp), %rax ## 8-byte Reload movq (%rax,%rcx,8), %rdi movl %edx, 4(%r14) movq _GFP_ATOMIC@GOTPCREL(%rip), %rax movl (%rax), %esi leaq -44(%rbp), %rdx movq %rdi, -128(%rbp) ## 8-byte Spill callq _dma_pool_alloc movq %r14, %rcx testq %rax, %rax je LBB0_17 ## %bb.7: movq %rax, %r14 movq %r15, -80(%rbp) ## 8-byte Spill movq -104(%rbp), %rax ## 8-byte Reload movq %r14, (%rax) movl -44(%rbp), %eax movl %eax, (%rcx) movl %r13d, %eax sarl $3, %eax movq %rax, -88(%rbp) ## 8-byte Spill decl %eax cltq movq %rax, -120(%rbp) ## 8-byte Spill ## kill: def $r13d killed $r13d killed $r13 def $r13 negl %r13d movq %r13, -72(%rbp) ## 8-byte Spill xorl %r15d, %r15d .p2align 4, 0x90 LBB0_8: ## =>This Inner Loop Header: Depth=1 movl %ebx, %r13d cmpl -88(%rbp), %r15d ## 4-byte Folded Reload jne LBB0_11 ## %bb.9: ## in Loop: Header=BB0_8 Depth=1 movq _GFP_ATOMIC@GOTPCREL(%rip), %rax movl (%rax), %esi movq -128(%rbp), %rdi ## 8-byte Reload leaq -44(%rbp), %rdx callq _dma_pool_alloc testq %rax, %rax je LBB0_18 ## %bb.10: ## in Loop: Header=BB0_8 Depth=1 movq %rax, %rbx movq -56(%rbp), %rdx ## 8-byte Reload movslq 4(%rdx), %rax leal -1(%rax), %ecx movl %ecx, 4(%rdx) movq -104(%rbp), %rcx ## 8-byte Reload movq %rbx, (%rcx,%rax,8) movq -120(%rbp), %r15 ## 8-byte Reload movq (%r14,%r15,8), %rax movq %rax, (%rbx) movl -44(%rbp), %edi callq _cpu_to_le64 movq %rax, (%r14,%r15,8) movl $1, %r15d movq %rbx, %r14 LBB0_11: ## in Loop: Header=BB0_8 Depth=1 movl %r12d, %edi callq _cpu_to_le64 movslq %r15d, %rcx incl %r15d movq %rax, (%r14,%rcx,8) movl %r13d, %ebx movq -96(%rbp), %rdx ## 8-byte Reload subl %edx, %ebx addl %edx, %r12d movq -80(%rbp), %rcx ## 8-byte Reload movq -72(%rbp), %rax ## 8-byte Reload addl %ecx, %eax subl %edx, %ecx movq %rcx, -80(%rbp) ## 8-byte Spill testl %eax, %eax jle LBB0_8 ## %bb.12: ## in Loop: Header=BB0_8 Depth=1 addl -72(%rbp), %r13d ## 4-byte Folded Reload testl %r13d, %r13d jg LBB0_8 ## %bb.13: ## in Loop: Header=BB0_8 Depth=1 shrl $31, %ebx movl %ebx, %edi callq _unlikely testq %rax, %rax jne LBB0_20 ## %bb.14: ## in Loop: Header=BB0_8 Depth=1 movq -64(%rbp), %rdi ## 8-byte Reload callq _sg_next movq %rax, %rbx movq %rax, %rdi callq _sg_dma_address movl %eax, %r12d movq %rbx, -64(%rbp) ## 8-byte Spill movq %rbx, %rdi callq _sg_dma_len movl %eax, %ebx jmp LBB0_8 LBB0_15: movl %r12d, (%r14) movq 16(%r14), %rdi callq _sg_dma_address movl %eax, %edi callq _cpu_to_le64 movq -72(%rbp), %rbx ## 8-byte Reload movq %rax, 8(%rbx) movl (%r14), %edi callq _cpu_to_le64 movq %rax, (%rbx) movq _BLK_STS_OK@GOTPCREL(%rip), %rax jmp LBB0_19 LBB0_17: movl %r12d, (%rcx) movl $-1, 4(%rcx) LBB0_18: movq _BLK_STS_RESOURCE@GOTPCREL(%rip), %rax LBB0_19: movl (%rax), %eax addq $88, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_20: movq _nvme_print_sgl@GOTPCREL(%rip), %rax movl (%rax), %edi movq -56(%rbp), %r14 ## 8-byte Reload movq 16(%r14), %rsi movl 8(%r14), %edx callq _DO_ONCE movl %eax, %ebx movq -112(%rbp), %rdi ## 8-byte Reload callq _blk_rq_payload_bytes movl 8(%r14), %ecx leaq L_.str(%rip), %rsi movl %ebx, %edi movl %eax, %edx callq _WARN movq _BLK_STS_IOERR@GOTPCREL(%rip), %rax jmp LBB0_19 .cfi_endproc ## -- End function .comm _GFP_ATOMIC,4,2 ## @GFP_ATOMIC .comm _BLK_STS_RESOURCE,4,2 ## @BLK_STS_RESOURCE .comm _BLK_STS_OK,4,2 ## @BLK_STS_OK .comm _nvme_print_sgl,4,2 ## @nvme_print_sgl .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "Invalid SGL for payload:%d nents:%d\n" .comm _BLK_STS_IOERR,4,2 ## @BLK_STS_IOERR .no_dead_strip _nvme_pci_setup_prps .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function nvme_pci_setup_prps _nvme_pci_setup_prps: ; @nvme_pci_setup_prps .cfi_startproc ; %bb.0: sub sp, sp, #160 stp x28, x27, [sp, #64] ; 16-byte Folded Spill stp x26, x25, [sp, #80] ; 16-byte Folded Spill stp x24, x23, [sp, #96] ; 16-byte Folded Spill stp x22, x21, [sp, #112] ; 16-byte Folded Spill stp x20, x19, [sp, #128] ; 16-byte Folded Spill stp x29, x30, [sp, #144] ; 16-byte Folded Spill add x29, sp, #144 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset w27, -88 .cfi_offset w28, -96 mov x25, x2 mov x28, x1 mov x27, x0 mov x0, x1 bl _blk_mq_rq_to_pdu mov x23, x0 mov x0, x28 bl _blk_rq_payload_bytes mov x26, x0 ldr x21, [x23, #16] mov x0, x21 bl _sg_dma_len mov x24, x0 mov x0, x21 bl _sg_dma_address mov x20, x0 ldr w22, [x27, #16] add w8, w22, #1 orr w19, w8, w0 mov x0, x28 bl _nvme_pci_iod_list str x0, [sp, #48] ; 8-byte Folded Spill sub w8, w22, w19 sub w26, w26, w8 cmp w26, #1 b.lt LBB0_3 ; %bb.1: str x21, [sp, #16] ; 8-byte Folded Spill subs w21, w24, w8 b.eq LBB0_4 ; %bb.2: add w24, w8, w20 cmp w26, w22 b.gt LBB0_5 b LBB0_15 LBB0_3: mov w24, #0 ; =0x0 b LBB0_15 LBB0_4: ldr x0, [sp, #16] ; 8-byte Folded Reload bl _sg_next mov x19, x0 bl _sg_dma_address mov x24, x0 str x19, [sp, #16] ; 8-byte Folded Spill mov x0, x19 bl _sg_dma_len mov x21, x0 cmp w26, w22 b.le LBB0_15 LBB0_5: mov x0, x26 mov x1, x22 bl _DIV_ROUND_UP cmp w0, #33 cset w8, lt cmp w0, #32 cset w9, gt ldr x0, [x27, w8, uxtw #3] str w9, [x23, #4] Lloh0: adrp x8, _GFP_ATOMIC@GOTPAGE Lloh1: ldr x8, [x8, _GFP_ATOMIC@GOTPAGEOFF] Lloh2: ldr w1, [x8] add x2, sp, #60 str x0, [sp, #40] ; 8-byte Folded Spill bl _dma_pool_alloc cbz x0, LBB0_16 ; %bb.6: mov x27, x0 str x28, [sp, #8] ; 8-byte Folded Spill mov w25, #0 ; =0x0 ldr x8, [sp, #48] ; 8-byte Folded Reload str x0, [x8] ldr w8, [sp, #60] str w8, [x23] asr w20, w22, #3 sub w8, w20, #1 stp x8, x23, [sp, #24] ; 16-byte Folded Spill neg w23, w22 LBB0_7: ; =>This Loop Header: Depth=1 ; Child Loop BB0_8 Depth 2 mov x19, x26 LBB0_8: ; Parent Loop BB0_7 Depth=1 ; => This Inner Loop Header: Depth=2 mov x28, x21 cmp w25, w20 b.ne LBB0_11 ; %bb.9: ; in Loop: Header=BB0_8 Depth=2 Lloh3: adrp x8, _GFP_ATOMIC@GOTPAGE Lloh4: ldr x8, [x8, _GFP_ATOMIC@GOTPAGEOFF] Lloh5: ldr w1, [x8] add x2, sp, #60 ldr x0, [sp, #40] ; 8-byte Folded Reload bl _dma_pool_alloc cbz x0, LBB0_17 ; %bb.10: ; in Loop: Header=BB0_8 Depth=2 mov x26, x0 ldp x21, x10, [sp, #24] ; 16-byte Folded Reload ldrsw x8, [x10, #4] sub w9, w8, #1 str w9, [x10, #4] ldr x9, [sp, #48] ; 8-byte Folded Reload str x0, [x9, x8, lsl #3] ldr x8, [x27, w21, sxtw #3] str x8, [x0] ldr w0, [sp, #60] bl _cpu_to_le64 str x0, [x27, w21, sxtw #3] mov w25, #1 ; =0x1 mov x27, x26 LBB0_11: ; in Loop: Header=BB0_8 Depth=2 mov x21, x25 mov x0, x24 bl _cpu_to_le64 add w25, w25, #1 str x0, [x27, w21, sxtw #3] sub w21, w28, w22 add w24, w24, w22 sub w26, w19, w22 add w8, w23, w19 mov x19, x26 cmp w8, #1 b.lt LBB0_8 ; %bb.12: ; in Loop: Header=BB0_8 Depth=2 add w8, w23, w28 mov x19, x26 cmp w8, #0 b.gt LBB0_8 ; %bb.13: ; in Loop: Header=BB0_7 Depth=1 lsr w0, w21, #31 bl _unlikely cbnz x0, LBB0_19 ; %bb.14: ; in Loop: Header=BB0_7 Depth=1 ldr x0, [sp, #16] ; 8-byte Folded Reload bl _sg_next mov x19, x0 bl _sg_dma_address mov x24, x0 str x19, [sp, #16] ; 8-byte Folded Spill mov x0, x19 bl _sg_dma_len mov x21, x0 b LBB0_7 LBB0_15: str w24, [x23] ldr x0, [x23, #16] bl _sg_dma_address bl _cpu_to_le64 str x0, [x25, #8] ldr w0, [x23] bl _cpu_to_le64 str x0, [x25] Lloh6: adrp x8, _BLK_STS_OK@GOTPAGE Lloh7: ldr x8, [x8, _BLK_STS_OK@GOTPAGEOFF] b LBB0_18 LBB0_16: mov w8, #-1 ; =0xffffffff stp w24, w8, [x23] LBB0_17: Lloh8: adrp x8, _BLK_STS_RESOURCE@GOTPAGE Lloh9: ldr x8, [x8, _BLK_STS_RESOURCE@GOTPAGEOFF] LBB0_18: ldr w0, [x8] 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_19: Lloh10: adrp x8, _nvme_print_sgl@GOTPAGE Lloh11: ldr x8, [x8, _nvme_print_sgl@GOTPAGEOFF] Lloh12: ldr w0, [x8] ldr x19, [sp, #32] ; 8-byte Folded Reload ldr x1, [x19, #16] ldr w2, [x19, #8] bl _DO_ONCE mov x20, x0 ldr x0, [sp, #8] ; 8-byte Folded Reload bl _blk_rq_payload_bytes mov x2, x0 ldr w3, [x19, #8] Lloh13: adrp x1, l_.str@PAGE Lloh14: add x1, x1, l_.str@PAGEOFF mov x0, x20 bl _WARN Lloh15: adrp x8, _BLK_STS_IOERR@GOTPAGE Lloh16: ldr x8, [x8, _BLK_STS_IOERR@GOTPAGEOFF] b LBB0_18 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGot Lloh6, Lloh7 .loh AdrpLdrGot Lloh8, Lloh9 .loh AdrpLdrGot Lloh15, Lloh16 .loh AdrpAdd Lloh13, Lloh14 .loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12 .cfi_endproc ; -- End function .comm _GFP_ATOMIC,4,2 ; @GFP_ATOMIC .comm _BLK_STS_RESOURCE,4,2 ; @BLK_STS_RESOURCE .comm _BLK_STS_OK,4,2 ; @BLK_STS_OK .comm _nvme_print_sgl,4,2 ; @nvme_print_sgl .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "Invalid SGL for payload:%d nents:%d\n" .comm _BLK_STS_IOERR,4,2 ; @BLK_STS_IOERR .no_dead_strip _nvme_pci_setup_prps .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function cipso_v4_map_cat_rng_hton _cipso_v4_map_cat_rng_hton: ## @cipso_v4_map_cat_rng_hton .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $24, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rcx, %r15 movq %rdx, %rbx movq %rsi, %r12 movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -48(%rbp) movq _CIPSO_V4_TAG_RNG_CAT_MAX@GOTPCREL(%rip), %rax movl (%rax), %eax addl %eax, %eax shlq $2, %rax callq ____chkstk_darwin addq $15, %rax andq $-16, %rax subq %rax, %rsp movq %rsp, %r13 movq _CIPSO_V4_OPT_LEN_MAX@GOTPCREL(%rip), %rax movq (%rax), %rax movq _CIPSO_V4_HDR_LEN@GOTPCREL(%rip), %rcx movq (%rcx), %rcx movq _CIPSO_V4_TAG_RNG_BLEN@GOTPCREL(%rip), %rdx addq (%rdx), %rcx subq %rcx, %rax cmpq %r15, %rax jge LBB0_1 LBB0_3: movq _ENOSPC@GOTPCREL(%rip), %rax LBB0_4: xorl %r14d, %r14d subl (%rax), %r14d jmp LBB0_16 LBB0_1: movl (%r12), %edi movl $-2, %esi callq _netlbl_secattr_catmap_walk testl %eax, %eax js LBB0_2 ## %bb.5: movq %rbx, -64(%rbp) ## 8-byte Spill movl $2, %ebx xorl %r14d, %r14d .p2align 4, 0x90 LBB0_6: ## =>This Inner Loop Header: Depth=1 xorl %ecx, %ecx testl %eax, %eax setne %cl leaq (%r14,%rcx,4), %r14 cmpq %r15, %r14 jg LBB0_3 ## %bb.7: ## in Loop: Header=BB0_6 Depth=1 movl %eax, -8(%r13,%rbx,4) movl (%r12), %edi movl %eax, %esi callq _netlbl_secattr_catmap_walk_rng testl %eax, %eax js LBB0_8 ## %bb.9: ## in Loop: Header=BB0_6 Depth=1 addq $4, %r14 cmpq %r15, %r14 jg LBB0_3 ## %bb.10: ## in Loop: Header=BB0_6 Depth=1 movl %eax, -4(%r13,%rbx,4) movl (%r12), %edi decl %eax movl %eax, %esi callq _netlbl_secattr_catmap_walk addq $2, %rbx testl %eax, %eax jns LBB0_6 ## %bb.11: xorl %r15d, %r15d movq %r13, -56(%rbp) ## 8-byte Spill jmp LBB0_12 .p2align 4, 0x90 LBB0_14: ## in Loop: Header=BB0_12 Depth=1 callq _htons movl %eax, (%r13,%r12) addl $4, %r15d LBB0_15: ## in Loop: Header=BB0_12 Depth=1 addq $-2, %rbx cmpq $2, %rbx movq -56(%rbp), %r13 ## 8-byte Reload jle LBB0_16 LBB0_12: ## =>This Inner Loop Header: Depth=1 movl -12(%r13,%rbx,4), %edi callq _htons movslq %r15d, %r12 movq %r13, %rcx movq -64(%rbp), %r13 ## 8-byte Reload movl %eax, (%r13,%r12) addq $2, %r12 movl -16(%rcx,%rbx,4), %edi testl %edi, %edi jne LBB0_14 ## %bb.13: ## in Loop: Header=BB0_12 Depth=1 movl %r12d, %r15d jmp LBB0_15 LBB0_2: xorl %r14d, %r14d LBB0_16: movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax cmpq -48(%rbp), %rax jne LBB0_18 ## %bb.17: movl %r14d, %eax leaq -40(%rbp), %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_8: movq _EFAULT@GOTPCREL(%rip), %rax jmp LBB0_4 LBB0_18: callq ___stack_chk_fail .cfi_endproc ## -- End function .comm _CIPSO_V4_TAG_RNG_CAT_MAX,4,2 ## @CIPSO_V4_TAG_RNG_CAT_MAX .comm _CIPSO_V4_OPT_LEN_MAX,8,3 ## @CIPSO_V4_OPT_LEN_MAX .comm _CIPSO_V4_HDR_LEN,8,3 ## @CIPSO_V4_HDR_LEN .comm _CIPSO_V4_TAG_RNG_BLEN,8,3 ## @CIPSO_V4_TAG_RNG_BLEN .comm _ENOSPC,4,2 ## @ENOSPC .comm _EFAULT,4,2 ## @EFAULT .no_dead_strip _cipso_v4_map_cat_rng_hton .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function cipso_v4_map_cat_rng_hton _cipso_v4_map_cat_rng_hton: ; @cipso_v4_map_cat_rng_hton .cfi_startproc ; %bb.0: stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill stp x22, x21, [sp, #16] ; 16-byte Folded Spill stp x20, x19, [sp, #32] ; 16-byte Folded Spill stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 sub sp, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 mov x21, x3 mov x19, x2 mov x22, x1 Lloh0: adrp x8, ___stack_chk_guard@GOTPAGE Lloh1: ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] Lloh2: ldr x8, [x8] Lloh3: adrp x9, _CIPSO_V4_TAG_RNG_CAT_MAX@GOTPAGE Lloh4: ldr x9, [x9, _CIPSO_V4_TAG_RNG_CAT_MAX@GOTPAGEOFF] stur x8, [x29, #-56] Lloh5: ldr w8, [x9] lsl w8, w8, #1 ubfiz x9, x8, #2, #32 add x8, x9, #15 and x8, x8, #0x7fffffff0 Lloh6: adrp x16, ___chkstk_darwin@GOTPAGE Lloh7: ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF] blr x16 mov x9, sp sub x23, x9, x8 mov sp, x23 Lloh8: adrp x8, _CIPSO_V4_OPT_LEN_MAX@GOTPAGE Lloh9: ldr x8, [x8, _CIPSO_V4_OPT_LEN_MAX@GOTPAGEOFF] Lloh10: ldr x8, [x8] Lloh11: adrp x9, _CIPSO_V4_HDR_LEN@GOTPAGE Lloh12: ldr x9, [x9, _CIPSO_V4_HDR_LEN@GOTPAGEOFF] Lloh13: ldr x9, [x9] Lloh14: adrp x10, _CIPSO_V4_TAG_RNG_BLEN@GOTPAGE Lloh15: ldr x10, [x10, _CIPSO_V4_TAG_RNG_BLEN@GOTPAGEOFF] Lloh16: ldr x10, [x10] add x9, x9, x10 sub x8, x8, x9 cmp x8, x3 b.ge LBB0_3 LBB0_1: Lloh17: adrp x8, _ENOSPC@GOTPAGE Lloh18: ldr x8, [x8, _ENOSPC@GOTPAGEOFF] LBB0_2: ldr w8, [x8] neg w20, w8 b LBB0_15 LBB0_3: ldr w0, [x22] mov w1, #-2 ; =0xfffffffe bl _netlbl_secattr_catmap_walk tbnz w0, #31, LBB0_14 ; %bb.4: mov x1, x0 mov x20, #0 ; =0x0 sub x23, x23, #4 mov w24, #2 ; =0x2 LBB0_5: ; =>This Inner Loop Header: Depth=1 cmp w1, #0 cset w8, ne add x20, x20, w8, uxtw #2 cmp x20, x21 b.gt LBB0_1 ; %bb.6: ; in Loop: Header=BB0_5 Depth=1 str w1, [x23, #4] ldr w0, [x22] bl _netlbl_secattr_catmap_walk_rng tbnz w0, #31, LBB0_17 ; %bb.7: ; in Loop: Header=BB0_5 Depth=1 add x20, x20, #4 cmp x20, x21 b.gt LBB0_1 ; %bb.8: ; in Loop: Header=BB0_5 Depth=1 str w0, [x23, #8]! ldr w8, [x22] sub w1, w0, #1 mov x0, x8 bl _netlbl_secattr_catmap_walk mov x1, x0 add x24, x24, #2 tbz w0, #31, LBB0_5 ; %bb.9: mov w21, #0 ; =0x0 b LBB0_12 LBB0_10: ; in Loop: Header=BB0_12 Depth=1 bl _htons str w0, [x19, x22] add w21, w21, #4 LBB0_11: ; in Loop: Header=BB0_12 Depth=1 sub x23, x23, #8 sub x24, x24, #2 cmp x24, #2 b.le LBB0_15 LBB0_12: ; =>This Inner Loop Header: Depth=1 ldr w0, [x23] bl _htons sxtw x8, w21 str w0, [x19, x8] add x22, x8, #2 ldur w0, [x23, #-4] cbnz w0, LBB0_10 ; %bb.13: ; in Loop: Header=BB0_12 Depth=1 mov x21, x22 b LBB0_11 LBB0_14: mov w20, #0 ; =0x0 LBB0_15: ldur x8, [x29, #-56] Lloh19: adrp x9, ___stack_chk_guard@GOTPAGE Lloh20: ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF] Lloh21: ldr x9, [x9] cmp x9, x8 b.ne LBB0_18 ; %bb.16: mov x0, x20 sub sp, x29, #48 ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload ldp x24, x23, [sp], #64 ; 16-byte Folded Reload ret LBB0_17: Lloh22: adrp x8, _EFAULT@GOTPAGE Lloh23: ldr x8, [x8, _EFAULT@GOTPAGEOFF] b LBB0_2 LBB0_18: bl ___stack_chk_fail .loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16 .loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13 .loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGot Lloh17, Lloh18 .loh AdrpLdrGotLdr Lloh19, Lloh20, Lloh21 .loh AdrpLdrGot Lloh22, Lloh23 .loh AdrpLdrGot Lloh6, Lloh7 .cfi_endproc ; -- End function .comm _CIPSO_V4_TAG_RNG_CAT_MAX,4,2 ; @CIPSO_V4_TAG_RNG_CAT_MAX .comm _CIPSO_V4_OPT_LEN_MAX,8,3 ; @CIPSO_V4_OPT_LEN_MAX .comm _CIPSO_V4_HDR_LEN,8,3 ; @CIPSO_V4_HDR_LEN .comm _CIPSO_V4_TAG_RNG_BLEN,8,3 ; @CIPSO_V4_TAG_RNG_BLEN .comm _ENOSPC,4,2 ; @ENOSPC .comm _EFAULT,4,2 ; @EFAULT .no_dead_strip _cipso_v4_map_cat_rng_hton .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl __passwdqc_random ## -- Begin function _passwdqc_random .p2align 4, 0x90 __passwdqc_random: ## @_passwdqc_random .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $24, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl (%rdi), %r15d testl %r15d, %r15d je LBB0_13 ## %bb.1: leal 2(%r15), %eax cltq imulq $-2004318071, %rax, %rax ## imm = 0x88888889 shrq $32, %rax leal (%rax,%r15), %ebx addl $2, %ebx movl %ebx, %r14d shrl $31, %r14d sarl $3, %ebx leal (%rbx,%r14), %ecx leal (,%rcx,8), %eax subl %ecx, %eax addl $6, %eax cmpl $256, %eax ## imm = 0x100 jb LBB0_4 ## %bb.2: cmpl 4(%rdi), %eax jg LBB0_13 LBB0_4: movq _O_RDONLY@GOTPCREL(%rip), %rax movl (%rax), %esi leaq L_.str(%rip), %rdi callq _open movl %eax, -48(%rbp) ## 4-byte Spill testl %eax, %eax js LBB0_13 ## %bb.5: leaq -42(%rbp), %rsi movl -48(%rbp), %edi ## 4-byte Reload movl $2, %edx callq _read_loop cmpl $2, %eax jne LBB0_15 ## %bb.6: leal (%rbx,%r14), %eax incl %eax movl %eax, -52(%rbp) ## 4-byte Spill leal 11(%r15), %eax cltq imulq $715827883, %rax, %rcx ## imm = 0x2AAAAAAB movq %rcx, %rax shrq $63, %rax sarq $33, %rcx addl %eax, %ecx movq %rcx, -64(%rbp) ## 8-byte Spill leaq __passwdqc_random.output(%rip), %r14 xorl %ebx, %ebx jmp LBB0_9 .p2align 4, 0x90 LBB0_7: ## in Loop: Header=BB0_9 Depth=1 movzbl -41(%rbp), %eax shrl $4, %eax andl $7, %eax movq _SEPARATORS@GOTPCREL(%rip), %rcx movq (%rcx), %rcx movzbl (%rcx,%rax), %eax movb %al, (%rbx,%r13) addl $-15, %r15d movq %r13, %r14 LBB0_8: ## in Loop: Header=BB0_9 Depth=1 incq %rbx movl -48(%rbp), %edi ## 4-byte Reload leaq -42(%rbp), %rsi movl $2, %edx callq _read_loop cmpl $2, %eax jne LBB0_15 LBB0_9: ## =>This Inner Loop Header: Depth=1 movzwl -42(%rbp), %eax shll $3, %eax movq __passwdqc_wordset_4k@GOTPCREL(%rip), %rcx movq (%rcx), %rcx orl $30720, %eax ## imm = 0x7800 movq (%rcx,%rax), %r12 movq %r12, %rdi xorl %esi, %esi movl $6, %edx callq _memchr leaq 6(%r12), %rdx testq %rax, %rax cmovneq %rax, %rdx movl %ebx, %edi subq %r12, %rdx leaq (%rdx,%rdi), %rbx cmpq $254, %rbx ja LBB0_15 ## %bb.10: ## in Loop: Header=BB0_9 Depth=1 movq -64(%rbp), %rax ## 8-byte Reload cmpl -52(%rbp), %eax ## 4-byte Folded Reload sete -43(%rbp) ## 1-byte Folded Spill movq %r14, %r13 addq %r14, %rdi movq %r12, %rsi ## kill: def $edx killed $edx killed $rdx callq _memcpy cmpl $16, %r15d setl %al orb -43(%rbp), %al ## 1-byte Folded Reload je LBB0_7 ## %bb.11: ## in Loop: Header=BB0_9 Depth=1 cmpl $13, %r15d jl LBB0_18 ## %bb.12: ## in Loop: Header=BB0_9 Depth=1 addl $-12, %r15d movb $32, (%rbx,%r14) jmp LBB0_8 LBB0_13: xorl %eax, %eax jmp LBB0_20 LBB0_15: xorl %r14d, %r14d LBB0_19: movl -48(%rbp), %edi ## 4-byte Reload callq _close movq %r14, %rax LBB0_20: addq $24, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_18: leaq -42(%rbp), %rdi xorl %esi, %esi movl $2, %edx callq _memset movb $0, (%rbx,%r14) jmp LBB0_19 .cfi_endproc ## -- End function .zerofill __DATA,__bss,__passwdqc_random.output,256,4 ## @_passwdqc_random.output .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "/dev/urandom" .comm _O_RDONLY,4,2 ## @O_RDONLY .comm __passwdqc_wordset_4k,8,3 ## @_passwdqc_wordset_4k .comm _SEPARATORS,8,3 ## @SEPARATORS .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl __passwdqc_random ; -- Begin function _passwdqc_random .p2align 2 __passwdqc_random: ; @_passwdqc_random .cfi_startproc ; %bb.0: sub sp, sp, #112 stp x28, x27, [sp, #16] ; 16-byte Folded Spill stp x26, x25, [sp, #32] ; 16-byte Folded Spill stp x24, x23, [sp, #48] ; 16-byte Folded Spill stp x22, x21, [sp, #64] ; 16-byte Folded Spill stp x20, x19, [sp, #80] ; 16-byte Folded Spill stp x29, x30, [sp, #96] ; 16-byte Folded Spill add x29, sp, #96 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset w27, -88 .cfi_offset w28, -96 ldr w22, [x0] cbz w22, LBB0_13 ; %bb.1: add w8, w22, #2 mov w9, #34953 ; =0x8889 movk w9, #34952, lsl #16 smull x9, w8, w9 lsr x9, x9, #32 add w8, w9, w8 asr w9, w8, #3 add w20, w9, w8, lsr #31 lsl w8, w20, #3 sub w8, w8, w20 add w8, w8, #6 cmp w8, #256 b.lo LBB0_3 ; %bb.2: ldr w9, [x0, #4] cmp w8, w9 b.gt LBB0_13 LBB0_3: Lloh0: adrp x8, _O_RDONLY@GOTPAGE Lloh1: ldr x8, [x8, _O_RDONLY@GOTPAGEOFF] Lloh2: ldr w1, [x8] Lloh3: adrp x0, l_.str@PAGE Lloh4: add x0, x0, l_.str@PAGEOFF bl _open tbnz w0, #31, LBB0_13 ; %bb.4: mov x19, x0 add x1, sp, #14 mov w2, #2 ; =0x2 bl _read_loop cmp w0, #2 b.ne LBB0_14 ; %bb.5: mov x28, #0 ; =0x0 add w23, w20, #1 add w8, w22, #11 mov w9, #43691 ; =0xaaab movk w9, #10922, lsl #16 smull x8, w8, w9 lsr x9, x8, #63 asr x8, x8, #33 Lloh5: adrp x24, __passwdqc_wordset_4k@GOTPAGE Lloh6: ldr x24, [x24, __passwdqc_wordset_4k@GOTPAGEOFF] add w25, w8, w9 Lloh7: adrp x20, __passwdqc_random.output@PAGE Lloh8: add x20, x20, __passwdqc_random.output@PAGEOFF Lloh9: adrp x26, _SEPARATORS@GOTPAGE Lloh10: ldr x26, [x26, _SEPARATORS@GOTPAGEOFF] mov w27, #32 ; =0x20 b LBB0_8 LBB0_6: ; in Loop: Header=BB0_8 Depth=1 ldrb w8, [sp, #15] ubfx x8, x8, #4, #3 ldr x9, [x26] ldrb w8, [x9, x8] strb w8, [x20, x28] sub w22, w22, #15 LBB0_7: ; in Loop: Header=BB0_8 Depth=1 add x28, x28, #1 add x1, sp, #14 mov x0, x19 mov w2, #2 ; =0x2 bl _read_loop cmp w0, #2 b.ne LBB0_14 LBB0_8: ; =>This Inner Loop Header: Depth=1 ldrb w8, [sp, #15] ldrb w9, [sp, #14] ldr x10, [x24] lsl x9, x9, #3 orr x8, x9, x8, lsl #11 orr x8, x8, #0x7800 ldr x21, [x10, x8] mov x0, x21 mov w1, #0 ; =0x0 mov w2, #6 ; =0x6 bl _memchr add x8, x21, #6 cmp x0, #0 csel x9, x8, x0, eq mov w8, w28 sub x2, x9, x21 add x28, x2, x8 cmp x28, #254 b.hi LBB0_14 ; %bb.9: ; in Loop: Header=BB0_8 Depth=1 add x0, x20, x8 mov x1, x21 ; kill: def $w2 killed $w2 killed $x2 bl _memcpy cmp w25, w23 b.eq LBB0_11 ; %bb.10: ; in Loop: Header=BB0_8 Depth=1 cmp w22, #16 b.ge LBB0_6 LBB0_11: ; in Loop: Header=BB0_8 Depth=1 cmp w22, #13 b.lt LBB0_17 ; %bb.12: ; in Loop: Header=BB0_8 Depth=1 sub w22, w22, #12 strb w27, [x20, x28] b LBB0_7 LBB0_13: mov x20, #0 ; =0x0 b LBB0_16 LBB0_14: mov x20, #0 ; =0x0 LBB0_15: mov x0, x19 bl _close LBB0_16: mov x0, x20 ldp x29, x30, [sp, #96] ; 16-byte Folded Reload ldp x20, x19, [sp, #80] ; 16-byte Folded Reload ldp x22, x21, [sp, #64] ; 16-byte Folded Reload ldp x24, x23, [sp, #48] ; 16-byte Folded Reload ldp x26, x25, [sp, #32] ; 16-byte Folded Reload ldp x28, x27, [sp, #16] ; 16-byte Folded Reload add sp, sp, #112 ret LBB0_17: add x0, sp, #14 mov w1, #0 ; =0x0 mov w2, #2 ; =0x2 bl _memset strb wzr, [x20, x28] b LBB0_15 .loh AdrpAdd Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGot Lloh9, Lloh10 .loh AdrpAdd Lloh7, Lloh8 .loh AdrpLdrGot Lloh5, Lloh6 .cfi_endproc ; -- End function .zerofill __DATA,__bss,__passwdqc_random.output,256,0 ; @_passwdqc_random.output .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "/dev/urandom" .comm _O_RDONLY,4,2 ; @O_RDONLY .comm __passwdqc_wordset_4k,8,3 ; @_passwdqc_wordset_4k .comm _SEPARATORS,8,3 ; @SEPARATORS .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _unbase64 ## -- Begin function unbase64 .p2align 4, 0x90 _unbase64: ## @unbase64 .cfi_startproc ## %bb.0: cmpl $2, %esi jg LBB0_3 ## %bb.1: movl $0, (%rdx) xorl %eax, %eax retq 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 %r12 pushq %rbx .cfi_offset %rbx, -48 .cfi_offset %r12, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %esi, %r14d movq %rdi, %rbx movl %esi, %eax xorl %ecx, %ecx cmpb $61, -1(%rdi,%rax) sete %cl leal 1(%rcx), %r15d cmpb $61, -2(%rdi,%rax) cmovnel %ecx, %r15d leal (%r14,%r14,2), %edi shrl $2, %edi addl %r15d, %edi movl %edi, (%rdx) callq _malloc xorl %edx, %edx testq %rax, %rax je LBB0_4 ## %bb.5: subl %r15d, %r14d addl $-4, %r14d js LBB0_6 ## %bb.7: movl %r14d, %esi xorl %edx, %edx movq _unb64@GOTPCREL(%rip), %rdi xorl %ecx, %ecx .p2align 4, 0x90 LBB0_8: ## =>This Inner Loop Header: Depth=1 movq (%rdi), %r8 movzbl (%rbx,%rdx), %r9d movl (%r8,%r9,4), %r9d movzbl 1(%rbx,%rdx), %r10d movl (%r8,%r10,4), %r10d movzbl 2(%rbx,%rdx), %r11d movl (%r8,%r11,4), %r11d movzbl 3(%rbx,%rdx), %r14d shll $2, %r9d movl %r10d, %r12d shrl $4, %r12d andl %r9d, %r12d movl %r11d, %r9d shll $6, %r9d orl (%r8,%r14,4), %r9d movb %r12b, (%rax,%rcx) shll $4, %r10d shrl $2, %r11d orl %r10d, %r11d movb %r11b, 1(%rax,%rcx) movb %r9b, 2(%rax,%rcx) addq $3, %rcx addq $4, %rdx cmpq %rsi, %rdx jbe LBB0_8 ## %bb.9: cmpl $2, %r15d je LBB0_12 LBB0_10: cmpl $1, %r15d jne LBB0_13 ## %bb.11: movq _unb64@GOTPCREL(%rip), %rsi movq (%rsi), %rsi movl %edx, %edx movzbl (%rbx,%rdx), %edi movl (%rsi,%rdi,4), %edi movzbl 1(%rbx,%rdx), %r8d movl (%rsi,%r8,4), %r8d movzbl 2(%rbx,%rdx), %edx movl (%rsi,%rdx,4), %edx shll $2, %edi movl %r8d, %esi shrl $4, %esi orl %edi, %esi movb %sil, (%rax,%rcx) shll $4, %r8d shrl $2, %edx orl %r8d, %edx movb %dl, 1(%rax,%rcx) jmp LBB0_13 LBB0_4: xorl %eax, %eax jmp LBB0_13 LBB0_6: xorl %ecx, %ecx cmpl $2, %r15d jne LBB0_10 LBB0_12: movq _unb64@GOTPCREL(%rip), %rsi movq (%rsi), %rsi movl %edx, %edx movzbl (%rbx,%rdx), %edi movl (%rsi,%rdi,4), %edi movzbl 1(%rbx,%rdx), %edx movl (%rsi,%rdx,4), %edx shll $2, %edi shrl $4, %edx orl %edi, %edx movb %dl, (%rax,%rcx) LBB0_13: popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _unb64,8,3 ## @unb64 .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _unbase64 ; -- Begin function unbase64 .p2align 2 _unbase64: ; @unbase64 .cfi_startproc ; %bb.0: cmp w1, #2 b.gt LBB0_2 ; %bb.1: mov x0, #0 ; =0x0 str wzr, [x2] ret 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 mov x20, x1 mov x19, x0 add x8, x0, w1, uxtw ldurb w9, [x8, #-1] cmp w9, #61 cset w9, eq ldurb w8, [x8, #-2] mov w10, #1 ; =0x1 cinc w10, w10, eq cmp w8, #61 csel w21, w10, w9, eq add w8, w1, w1, lsl #1 add w0, w21, w8, lsr #2 str w0, [x2] bl _malloc cbz x0, LBB0_11 ; %bb.3: sub w8, w20, w21 subs w8, w8, #4 b.mi LBB0_9 ; %bb.4: add x9, x0, #2 add x10, x19, #3 mov w13, #1 ; =0x1 Lloh0: adrp x11, _unb64@GOTPAGE Lloh1: ldr x11, [x11, _unb64@GOTPAGEOFF] mov w12, #1 ; =0x1 LBB0_5: ; =>This Inner Loop Header: Depth=1 ldr x14, [x11] ldurb w15, [x10, #-3] ldr w15, [x14, x15, lsl #2] ldurb w16, [x10, #-2] ldr w16, [x14, x16, lsl #2] ldurb w17, [x10, #-1] ldr w17, [x14, x17, lsl #2] ldrb w1, [x10], #4 ldr w14, [x14, x1, lsl #2] lsr w1, w16, #4 and w15, w1, w15, lsl #2 sturb w15, [x9, #-2] lsr w15, w17, #2 orr w15, w15, w16, lsl #4 sturb w15, [x9, #-1] orr w14, w14, w17, lsl #6 strb w14, [x9], #3 add x12, x12, #3 add x14, x13, #3 add x13, x13, #4 cmp x14, x8 b.ls LBB0_5 ; %bb.6: sub w9, w13, #1 sub x8, x12, #1 cmp w21, #2 b.eq LBB0_10 LBB0_7: cmp w21, #1 b.ne LBB0_11 ; %bb.8: Lloh2: adrp x10, _unb64@GOTPAGE Lloh3: ldr x10, [x10, _unb64@GOTPAGEOFF] Lloh4: ldr x10, [x10] add x9, x19, w9, uxtw ldrb w11, [x9] ldr w11, [x10, x11, lsl #2] ldrb w12, [x9, #1] ldr w12, [x10, x12, lsl #2] ldrb w9, [x9, #2] ldr w9, [x10, x9, lsl #2] lsr w10, w12, #4 orr w10, w10, w11, lsl #2 add x8, x0, x8 strb w10, [x8] lsr w9, w9, #2 orr w9, w9, w12, lsl #4 strb w9, [x8, #1] b LBB0_11 LBB0_9: mov w9, #0 ; =0x0 mov x8, #0 ; =0x0 cmp w21, #2 b.ne LBB0_7 LBB0_10: Lloh5: adrp x10, _unb64@GOTPAGE Lloh6: ldr x10, [x10, _unb64@GOTPAGEOFF] Lloh7: ldr x10, [x10] add x9, x19, w9, uxtw ldrb w11, [x9] ldr w11, [x10, x11, lsl #2] ldrb w9, [x9, #1] ldr w9, [x10, x9, lsl #2] lsr w9, w9, #4 orr w9, w9, w11, lsl #2 strb w9, [x0, x8] LBB0_11: 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 AdrpLdrGotLdr Lloh2, Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7 .cfi_endproc ; -- End function .comm _unb64,8,3 ; @unb64 .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _editorUpdateRow ## -- Begin function editorUpdateRow .p2align 4, 0x90 _editorUpdateRow: ## @editorUpdateRow .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 movq %rdi, %rbx movq (%rdi), %rdi callq _free movl 8(%rbx), %edi testl %edi, %edi jle LBB0_2 .p2align 4, 0x90 LBB0_1: ## =>This Inner Loop Header: Depth=1 jmp LBB0_1 LBB0_2: incl %edi callq _malloc movq %rax, (%rbx) cmpl $0, 8(%rbx) jle LBB0_19 ## %bb.3: xorl %eax, %eax movq _TAB@GOTPCREL(%rip), %rcx xorl %edx, %edx jmp LBB0_6 .p2align 4, 0x90 LBB0_4: ## in Loop: Header=BB0_6 Depth=1 movb %r8b, (%rsi,%rdi) LBB0_5: ## in Loop: Header=BB0_6 Depth=1 incq %rax movslq 8(%rbx), %rsi cmpq %rsi, %rax jge LBB0_18 LBB0_6: ## =>This Inner Loop Header: Depth=1 movq (%rbx), %rsi movq 16(%rbx), %rdi movzbl (%rdi,%rax), %r8d movslq %edx, %rdi leaq 1(%rdi), %rdx cmpb (%rcx), %r8b jne LBB0_4 ## %bb.7: ## in Loop: Header=BB0_6 Depth=1 movb $32, (%rsi,%rdi) addq $2, %rdi testb $7, %dil je LBB0_5 ## %bb.8: ## in Loop: Header=BB0_6 Depth=1 movl %edi, %esi movq (%rbx), %r8 movb $32, (%r8,%rdx) leaq 1(%rsi), %r8 movl %edi, %edx testb $7, %r8b je LBB0_5 ## %bb.9: ## in Loop: Header=BB0_6 Depth=1 movq (%rbx), %rdx movb $32, (%rdx,%rdi) leaq 2(%rsi), %rdx testb $7, %dl je LBB0_15 ## %bb.10: ## in Loop: Header=BB0_6 Depth=1 movq (%rbx), %rdi movslq %r8d, %r8 movb $32, (%rdi,%r8) leaq 3(%rsi), %rdi testb $7, %dil je LBB0_5 ## %bb.11: ## in Loop: Header=BB0_6 Depth=1 movq (%rbx), %r8 movslq %edx, %rdx movb $32, (%r8,%rdx) leaq 4(%rsi), %rdx testb $7, %dl je LBB0_17 ## %bb.12: ## in Loop: Header=BB0_6 Depth=1 movq (%rbx), %r8 movslq %edi, %rdi movb $32, (%r8,%rdi) leaq 5(%rsi), %rdi testb $7, %dil je LBB0_5 ## %bb.13: ## in Loop: Header=BB0_6 Depth=1 movq (%rbx), %r8 movslq %edx, %rdx movb $32, (%r8,%rdx) addq $6, %rsi testb $7, %sil je LBB0_17 ## %bb.14: ## in Loop: Header=BB0_6 Depth=1 movq (%rbx), %rdx movslq %edi, %rdi movb $32, (%rdx,%rdi) movl %esi, %edx jmp LBB0_5 LBB0_15: ## in Loop: Header=BB0_6 Depth=1 movl %r8d, %edx jmp LBB0_5 LBB0_17: ## in Loop: Header=BB0_6 Depth=1 movl %edi, %edx jmp LBB0_5 LBB0_18: movq (%rbx), %rax jmp LBB0_20 LBB0_19: xorl %edx, %edx LBB0_20: movl %edx, 24(%rbx) movslq %edx, %rcx movb $0, (%rax,%rcx) movq %rbx, %rdi addq $8, %rsp popq %rbx popq %rbp jmp _editorUpdateSyntax ## TAILCALL .cfi_endproc ## -- End function .comm _TAB,1,0 ## @TAB .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _editorUpdateRow ; -- Begin function editorUpdateRow .p2align 2 _editorUpdateRow: ; @editorUpdateRow .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x0 ldr x0, [x0] bl _free ldr w8, [x19, #8] cmp w8, #1 b.lt LBB0_2 LBB0_1: ; =>This Inner Loop Header: Depth=1 b LBB0_1 LBB0_2: add w0, w8, #1 bl _malloc str x0, [x19] ldr w8, [x19, #8] cmp w8, #1 b.lt LBB0_19 ; %bb.3: mov x8, #0 ; =0x0 mov w11, #0 ; =0x0 Lloh0: adrp x9, _TAB@GOTPAGE Lloh1: ldr x9, [x9, _TAB@GOTPAGEOFF] mov w10, #32 ; =0x20 b LBB0_6 LBB0_4: ; in Loop: Header=BB0_6 Depth=1 strb w12, [x13, x14] LBB0_5: ; in Loop: Header=BB0_6 Depth=1 add x8, x8, #1 ldrsw x12, [x19, #8] cmp x8, x12 b.ge LBB0_18 LBB0_6: ; =>This Inner Loop Header: Depth=1 ldr x12, [x19, #16] ldrb w12, [x12, x8] ldrb w15, [x9] ldr x13, [x19] ; kill: def $w11 killed $w11 killed $x11 def $x11 sxtw x14, w11 add x11, x14, #1 cmp w12, w15 b.ne LBB0_4 ; %bb.7: ; in Loop: Header=BB0_6 Depth=1 strb w10, [x13, x14] add x13, x14, #2 tst w13, #0x7 b.eq LBB0_5 ; %bb.8: ; in Loop: Header=BB0_6 Depth=1 mov w12, w13 ldr x14, [x19] strb w10, [x14, x11] add x14, x12, #1 mov x11, x13 tst x14, #0x7 b.eq LBB0_5 ; %bb.9: ; in Loop: Header=BB0_6 Depth=1 ldr x11, [x19] strb w10, [x11, x13] add x11, x12, #2 tst x11, #0x7 b.eq LBB0_15 ; %bb.10: ; in Loop: Header=BB0_6 Depth=1 ldr x13, [x19] strb w10, [x13, w14, sxtw] add x13, x12, #3 tst x13, #0x7 b.eq LBB0_16 ; %bb.11: ; in Loop: Header=BB0_6 Depth=1 ldr x14, [x19] strb w10, [x14, w11, sxtw] add x11, x12, #4 tst x11, #0x7 b.eq LBB0_17 ; %bb.12: ; in Loop: Header=BB0_6 Depth=1 ldr x14, [x19] strb w10, [x14, w13, sxtw] add x13, x12, #5 tst x13, #0x7 b.eq LBB0_16 ; %bb.13: ; in Loop: Header=BB0_6 Depth=1 ldr x14, [x19] strb w10, [x14, w11, sxtw] add x11, x12, #6 tst x11, #0x7 b.eq LBB0_17 ; %bb.14: ; in Loop: Header=BB0_6 Depth=1 ldr x12, [x19] strb w10, [x12, w13, sxtw] ; kill: def $w11 killed $w11 killed $x11 def $x11 b LBB0_5 LBB0_15: ; in Loop: Header=BB0_6 Depth=1 mov x11, x14 b LBB0_5 LBB0_16: ; in Loop: Header=BB0_6 Depth=1 ; kill: def $w11 killed $w11 killed $x11 def $x11 b LBB0_5 LBB0_17: ; in Loop: Header=BB0_6 Depth=1 mov x11, x13 b LBB0_5 LBB0_18: ldr x0, [x19] b LBB0_20 LBB0_19: mov w11, #0 ; =0x0 LBB0_20: str w11, [x19, #24] strb wzr, [x0, w11, sxtw] mov x0, x19 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _editorUpdateSyntax .loh AdrpLdrGot Lloh0, Lloh1 .cfi_endproc ; -- End function .comm _TAB,1,0 ; @TAB .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _SeparateStringByWidth ## -- Begin function SeparateStringByWidth .p2align 4, 0x90 _SeparateStringByWidth: ## @SeparateStringByWidth .cfi_startproc ## %bb.0: testq %rdi, %rdi je LBB0_1 ## %bb.7: xorl %eax, %eax jmp _UniNullToken ## 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 %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 xorl %edi, %edi callq _NewListFast movq %rax, %rbx xorl %edi, %edi callq _UniStrLen ## kill: def $eax killed $eax def $rax leal -128(,%rax,4), %edi callq _ZeroMalloc movq %rax, %r14 movq %rbx, %rdi callq _LIST_NUM testl %eax, %eax jne LBB0_3 ## %bb.2: leaq l_.str(%rip), %rdi callq _CopyUniStr movq %rbx, %rdi movl %eax, %esi callq _Insert LBB0_3: movl $16, %edi callq _ZeroMalloc movq %rax, %r15 movq %rbx, %rdi callq _LIST_NUM ## kill: def $eax killed $eax def $rax movl %eax, (%r15) leal (,%rax,8), %edi callq _ZeroMalloc movq %rax, 8(%r15) movq %rbx, %rdi callq _LIST_NUM testl %eax, %eax js LBB0_6 ## %bb.4: xorl %r12d, %r12d .p2align 4, 0x90 LBB0_5: ## =>This Inner Loop Header: Depth=1 movq %rbx, %rdi movl %r12d, %esi callq _LIST_DATA movq %rax, %r13 movq %rax, %rdi callq _UniTrimLeft movq 8(%r15), %rax movq %r13, (%rax,%r12,8) leaq 1(%r12), %r13 movq %rbx, %rdi callq _LIST_NUM cltq cmpq %rax, %r12 movq %r13, %r12 jl LBB0_5 LBB0_6: movq %rbx, %rdi callq _ReleaseList movq %r14, %rdi callq _Free 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,__const .p2align 2, 0x0 ## @.str l_.str: .space 4 .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _SeparateStringByWidth ; -- Begin function SeparateStringByWidth .p2align 2 _SeparateStringByWidth: ; @SeparateStringByWidth .cfi_startproc ; %bb.0: cbz x0, LBB0_2 ; %bb.1: b _UniNullToken LBB0_2: 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 bl _NewListFast mov x19, x0 mov x0, #0 ; =0x0 bl _UniStrLen lsl w8, w0, #2 sub w0, w8, #128 bl _ZeroMalloc mov x20, x0 mov x0, x19 bl _LIST_NUM cbnz w0, LBB0_4 ; %bb.3: Lloh0: adrp x0, l_.str@PAGE Lloh1: add x0, x0, l_.str@PAGEOFF bl _CopyUniStr mov x1, x0 mov x0, x19 bl _Insert LBB0_4: mov w0, #16 ; =0x10 bl _ZeroMalloc mov x21, x0 mov x0, x19 bl _LIST_NUM str w0, [x21] lsl w0, w0, #3 bl _ZeroMalloc str x0, [x21, #8] mov x0, x19 bl _LIST_NUM tbnz w0, #31, LBB0_7 ; %bb.5: mov x22, #0 ; =0x0 LBB0_6: ; =>This Inner Loop Header: Depth=1 mov x0, x19 mov x1, x22 bl _LIST_DATA mov x23, x0 bl _UniTrimLeft ldr x8, [x21, #8] str x23, [x8, x22, lsl #3] add x23, x22, #1 mov x0, x19 bl _LIST_NUM cmp x22, w0, sxtw mov x22, x23 b.lt LBB0_6 LBB0_7: mov x0, x19 bl _ReleaseList mov x0, x20 bl _Free mov x0, x21 ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload ldp x24, x23, [sp], #64 ; 16-byte Folded Reload ret .loh AdrpAdd Lloh0, Lloh1 .cfi_endproc ; -- End function .section __TEXT,__const .p2align 2, 0x0 ; @.str l_.str: .space 4 .subsections_via_symbols