x86
stringlengths
122
99k
arm
stringlengths
122
86.4k
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function obj_alloc _obj_alloc: ## @obj_alloc .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx .cfi_offset %rbx, -48 .cfi_offset %r12, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %edi, %ebx movl $1, %edi movl $8, %esi callq _calloc movl %ebx, 4(%rax) movq _noids@GOTPCREL(%rip), %r14 movslq (%r14), %rcx movq _oidtbl@GOTPCREL(%rip), %r12 movq (%r12), %rdi xorl %r15d, %r15d testq %rcx, %rcx js LBB0_3 .p2align 4, 0x90 LBB0_1: ## =>This Inner Loop Header: Depth=1 cmpq $0, (%rdi,%r15,8) je LBB0_3 ## %bb.2: ## in Loop: Header=BB0_1 Depth=1 decq %r15 cmpq %rcx, %r15 jle LBB0_1 LBB0_3: cmpl %ecx, %r15d jne LBB0_7 ## %bb.4: movq %rax, %rbx leal -8(,%rcx,8), %esi callq _realloc testq %rax, %rax je LBB0_5 ## %bb.6: movq %rax, %rdi movq %rax, (%r12) incl (%r14) movq %rbx, %rax LBB0_7: movslq %r15d, %rcx movq %rax, (%rdi,%rcx,8) movl %r15d, (%rax) LBB0_8: popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq LBB0_5: movq %rbx, %rdi callq _free xorl %eax, %eax jmp LBB0_8 .cfi_endproc ## -- End function .comm _noids,4,2 ## @noids .comm _oidtbl,8,3 ## @oidtbl .no_dead_strip _obj_alloc .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function obj_alloc _obj_alloc: ; @obj_alloc .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x19, x0 mov w0, #1 ; =0x1 mov w1, #8 ; =0x8 bl _calloc mov x8, x0 str w19, [x0, #4] Lloh0: adrp x20, _noids@GOTPAGE Lloh1: ldr x20, [x20, _noids@GOTPAGEOFF] ldr w9, [x20] Lloh2: adrp x21, _oidtbl@GOTPAGE Lloh3: ldr x21, [x21, _oidtbl@GOTPAGEOFF] ldr x0, [x21] tbnz w9, #31, LBB0_5 ; %bb.1: mov x22, #0 ; =0x0 LBB0_2: ; =>This Inner Loop Header: Depth=1 ldr x10, [x0, x22, lsl #3] cbz x10, LBB0_4 ; %bb.3: ; in Loop: Header=BB0_2 Depth=1 sub x22, x22, #1 cmp x22, x9 b.le LBB0_2 LBB0_4: cmp w22, w9 b.eq LBB0_6 b LBB0_8 LBB0_5: mov w22, #0 ; =0x0 cmp w22, w9 b.ne LBB0_8 LBB0_6: mov x19, x8 lsl w8, w9, #3 sub w1, w8, #8 bl _realloc cbz x0, LBB0_10 ; %bb.7: str x0, [x21] ldr w8, [x20] add w8, w8, #1 str w8, [x20] mov x8, x19 LBB0_8: str x8, [x0, w22, sxtw #3] str w22, [x8] LBB0_9: mov x0, x8 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret LBB0_10: mov x0, x19 bl _free mov x8, #0 ; =0x0 b LBB0_9 .loh AdrpLdrGot Lloh2, Lloh3 .loh AdrpLdrGot Lloh0, Lloh1 .cfi_endproc ; -- End function .comm _noids,4,2 ; @noids .comm _oidtbl,8,3 ; @oidtbl .no_dead_strip _obj_alloc .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function xrealloc _xrealloc: ## @xrealloc .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 callq _realloc testq %rax, %rax jne LBB0_2 ## %bb.1: movq _EX_OSERR@GOTPCREL(%rip), %rcx movl (%rcx), %edi leaq L_.str(%rip), %rsi movq %rax, %rbx callq _errx movq %rbx, %rax LBB0_2: addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .comm _EX_OSERR,4,2 ## @EX_OSERR .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "out of memory" .no_dead_strip _xrealloc .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function xrealloc _xrealloc: ; @xrealloc .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 bl _realloc cbnz x0, LBB0_2 ; %bb.1: Lloh0: adrp x8, _EX_OSERR@GOTPAGE Lloh1: ldr x8, [x8, _EX_OSERR@GOTPAGEOFF] Lloh2: ldr w8, [x8] Lloh3: adrp x1, l_.str@PAGE Lloh4: add x1, x1, l_.str@PAGEOFF mov x19, x0 mov x0, x8 bl _errx mov x0, x19 LBB0_2: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .loh AdrpAdd Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _EX_OSERR,4,2 ; @EX_OSERR .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "out of memory" .no_dead_strip _xrealloc .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function _append_char __append_char: ## @_append_char .cfi_startproc ## %bb.0: 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, %r14d movq %rdi, %rbx movl (%rdi), %ecx movl 4(%rdi), %r15d cmpl %r15d, %ecx jge LBB0_2 ## %bb.1: movq 8(%rbx), %rax jmp LBB0_7 LBB0_2: testl %r15d, %r15d jne LBB0_3 ## %bb.4: movq _INIT_SIZE@GOTPCREL(%rip), %rax movl (%rax), %r15d jmp LBB0_5 LBB0_3: addl %r15d, %r15d LBB0_5: movslq %r15d, %rsi movq 8(%rbx), %rdi callq _realloc testq %rax, %rax je LBB0_9 ## %bb.6: movq %rax, 8(%rbx) movl %r15d, 4(%rbx) movl (%rbx), %ecx LBB0_7: movslq %ecx, %rcx movb %r14b, (%rax,%rcx) decl (%rbx) xorl %eax, %eax LBB0_8: addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq LBB0_9: movq _PyExc_MemoryError@GOTPCREL(%rip), %rax movl (%rax), %edi leaq L_.str(%rip), %rsi callq _PyErr_SetString movl $-1, %eax jmp LBB0_8 .cfi_endproc ## -- End function .comm _INIT_SIZE,4,2 ## @INIT_SIZE .comm _PyExc_MemoryError,4,2 ## @PyExc_MemoryError .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "memory allocation failed" .no_dead_strip __append_char .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function _append_char __append_char: ; @_append_char .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x20, x1 mov x19, x0 ldp w9, w8, [x0] cmp w9, w8 b.ge LBB0_2 ; %bb.1: ldr x0, [x19, #8] b LBB0_4 LBB0_2: Lloh0: adrp x9, _INIT_SIZE@GOTPAGE Lloh1: ldr x9, [x9, _INIT_SIZE@GOTPAGEOFF] Lloh2: ldr w9, [x9] lsl w10, w8, #1 cmp w8, #0 csel w21, w9, w10, eq sxtw x1, w21 ldr x0, [x19, #8] bl _realloc cbz x0, LBB0_6 ; %bb.3: str x0, [x19, #8] str w21, [x19, #4] ldr w9, [x19] LBB0_4: mov w8, #0 ; =0x0 strb w20, [x0, w9, sxtw] ldr w9, [x19] sub w9, w9, #1 str w9, [x19] LBB0_5: mov x0, x8 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret LBB0_6: Lloh3: adrp x8, _PyExc_MemoryError@GOTPAGE Lloh4: ldr x8, [x8, _PyExc_MemoryError@GOTPAGEOFF] Lloh5: ldr w0, [x8] Lloh6: adrp x1, l_.str@PAGE Lloh7: add x1, x1, l_.str@PAGEOFF bl _PyErr_SetString mov w8, #-1 ; =0xffffffff b LBB0_5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpAdd Lloh6, Lloh7 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .cfi_endproc ; -- End function .comm _INIT_SIZE,4,2 ; @INIT_SIZE .comm _PyExc_MemoryError,4,2 ; @PyExc_MemoryError .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "memory allocation failed" .no_dead_strip __append_char .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _r_strbuf_append ## -- Begin function r_strbuf_append .p2align 4, 0x90 _r_strbuf_append: ## @r_strbuf_append .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rsi, %r15 movq %rdi, %rbx movq %rsi, %rdi callq _strlen xorl %ecx, %ecx testl %eax, %eax jle LBB0_12 ## %bb.1: movl %eax, %r14d movl (%rbx), %ecx leal (%rcx,%r14), %eax incl %eax cmpl $7, %eax ja LBB0_3 ## %bb.2: movslq %ecx, %rdi addq 8(%rbx), %rdi leal 1(%r14), %edx movq %r15, %rsi callq _memcpy movq 16(%rbx), %rdi callq _R_FREE jmp LBB0_11 LBB0_3: leal (%rcx,%r14), %edx leal 128(%rdx), %r12d movq 16(%rbx), %rax testq %rax, %rax je LBB0_4 ## %bb.7: cmpl 24(%rbx), %edx jl LBB0_10 ## %bb.8: movq %rax, %rdi movl %r12d, %esi callq _realloc xorl %ecx, %ecx testq %rax, %rax jne LBB0_9 jmp LBB0_12 LBB0_4: movl %r12d, %edi callq _malloc xorl %ecx, %ecx testq %rax, %rax je LBB0_12 ## %bb.5: movl (%rbx), %edx testl %edx, %edx jle LBB0_9 ## %bb.6: movq 8(%rbx), %rsi movq %rax, %rdi movq %rax, %r13 callq _memcpy movq %r13, %rax LBB0_9: movq %rax, 16(%rbx) movl %r12d, 24(%rbx) movl (%rbx), %ecx LBB0_10: movslq %ecx, %rdi addq %rax, %rdi leal 1(%r14), %edx movq %r15, %rsi callq _memcpy LBB0_11: addl %r14d, (%rbx) movl $1, %ecx LBB0_12: movl %ecx, %eax addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _r_strbuf_append ; -- Begin function r_strbuf_append .p2align 2 _r_strbuf_append: ; @r_strbuf_append .cfi_startproc ; %bb.0: stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill stp x22, x21, [sp, #16] ; 16-byte Folded Spill stp x20, x19, [sp, #32] ; 16-byte Folded Spill stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 mov x21, x1 mov x19, x0 mov x0, x1 bl _strlen cmp w0, #1 b.lt LBB0_3 ; %bb.1: mov x20, x0 ldr w8, [x19] add w9, w8, w0 add w10, w9, #1 cmp w10, #7 b.hi LBB0_4 ; %bb.2: sxtw x8, w8 ldr x9, [x19, #8] add x0, x9, x8 add w2, w20, #1 mov x1, x21 bl _memcpy ldr x0, [x19, #16] bl _R_FREE b LBB0_12 LBB0_3: mov w0, #0 ; =0x0 b LBB0_13 LBB0_4: add w22, w9, #128 ldr x0, [x19, #16] cbz x0, LBB0_7 ; %bb.5: ldr w10, [x19, #24] cmp w9, w10 b.lt LBB0_11 ; %bb.6: mov x1, x22 bl _realloc cbnz x0, LBB0_10 b LBB0_13 LBB0_7: mov x0, x22 bl _malloc cbz x0, LBB0_13 ; %bb.8: ldr w2, [x19] cmp w2, #1 b.lt LBB0_10 ; %bb.9: ldr x1, [x19, #8] mov x23, x0 bl _memcpy mov x0, x23 LBB0_10: str x0, [x19, #16] str w22, [x19, #24] ldr w8, [x19] LBB0_11: add x0, x0, w8, sxtw add w2, w20, #1 mov x1, x21 bl _memcpy LBB0_12: ldr w8, [x19] add w8, w8, w20 str w8, [x19] mov w0, #1 ; =0x1 LBB0_13: ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload ldp x24, x23, [sp], #64 ; 16-byte Folded Reload ret .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 Gcompile _Gcompile: ## @Gcompile .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $24, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rsi, %r13 movq %rdi, -48(%rbp) ## 8-byte Spill xorl %ebx, %ebx xorl %eax, %eax callq _check_utf8 movq _RE_SYNTAX_GREP@GOTPCREL(%rip), %r14 movq _RE_HAT_LISTS_NOT_NEWLINE@GOTPCREL(%rip), %r15 movl (%r15), %eax movq _match_icase@GOTPCREL(%rip), %r12 andl (%r14), %eax cmpq $0, (%r12) je LBB0_2 ## %bb.1: movq _RE_ICASE@GOTPCREL(%rip), %rcx movl (%rcx), %ebx LBB0_2: orl %eax, %ebx movl %ebx, %edi callq _re_set_syntax movl (%r15), %edi orl (%r14), %edi movq (%r12), %rsi movq _eolbyte@GOTPCREL(%rip), %rax movl (%rax), %edx callq _dfasyntax movq _pcount@GOTPCREL(%rip), %r15 movq %r13, -56(%rbp) ## 8-byte Spill movq %r13, %r12 movq -48(%rbp), %r14 ## 8-byte Reload jmp LBB0_3 .p2align 4, 0x90 LBB0_5: ## in Loop: Header=BB0_3 Depth=1 movq -64(%rbp), %rax ## 8-byte Reload leaq 1(%rax), %r14 notq %r13 addq %r13, %r12 incl (%r15) testq %rax, %rax je LBB0_6 LBB0_3: ## =>This Inner Loop Header: Depth=1 movq %r14, %rdi movl $10, %esi movq %r12, %rdx callq _memchr movq %rax, %r13 subq %r14, %r13 movq %rax, -64(%rbp) ## 8-byte Spill testq %rax, %rax movq %r13, %rbx cmoveq %r12, %rbx movq _patterns@GOTPCREL(%rip), %rax movq (%rax), %rdi movl (%r15), %eax leal 4(,%rax,4), %esi callq _realloc movq _patterns@GOTPCREL(%rip), %rcx movq %rax, (%rcx) movq _errno@GOTPCREL(%rip), %rax movl (%rax), %r15d leaq L_.str(%rip), %rdi callq __ movl $2, %edi movl %r15d, %esi movq _pcount@GOTPCREL(%rip), %r15 movq %rax, %rdx callq _error movq _patterns@GOTPCREL(%rip), %rax movq (%rax), %rax movslq (%r15), %rcx movq _patterns0@GOTPCREL(%rip), %rdx movl (%rdx), %edx movl %edx, (%rax,%rcx,4) movslq (%r15), %rcx leaq (%rax,%rcx,4), %rdx movq %r14, %rdi movq %rbx, %rsi callq _re_compile_pattern testq %rax, %rax je LBB0_5 ## %bb.4: ## in Loop: Header=BB0_3 Depth=1 movl $2, %edi xorl %esi, %esi movq %rax, %rdx callq _error jmp LBB0_5 LBB0_6: movq _match_words@GOTPCREL(%rip), %rax movq _match_lines@GOTPCREL(%rip), %r12 movq (%r12), %rcx orq (%rax), %rcx je LBB0_7 ## %bb.8: movq -56(%rbp), %r15 ## 8-byte Reload leal 45(%r15), %edi callq _xmalloc movq %rax, %r14 cmpq $0, (%r12) leaq _Gcompile.word_beg(%rip), %rax leaq _Gcompile.line_beg(%rip), %rsi cmoveq %rax, %rsi movq %r14, %rdi callq _strcpy movq %r14, %rdi callq _strlen movq %rax, %rbx leaq (%r14,%rax), %rdi movq -48(%rbp), %rsi ## 8-byte Reload movq %r15, %rdx callq _memcpy addq %r15, %rbx movq %r14, %r15 addq %rbx, %r15 cmpq $0, (%r12) leaq _Gcompile.word_end(%rip), %rax leaq _Gcompile.line_end(%rip), %rsi cmoveq %rax, %rsi movq %r15, %rdi callq _strcpy movq %r15, %rdi callq _strlen movq %rax, %rsi addq %rbx, %rsi movq %r14, %rdi jmp LBB0_9 LBB0_7: movq -56(%rbp), %rsi ## 8-byte Reload movq -48(%rbp), %rdi ## 8-byte Reload LBB0_9: movq _dfa@GOTPCREL(%rip), %rdx movl $1, %ecx callq _dfacomp xorl %eax, %eax addq $24, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp jmp _kwsmusts ## TAILCALL .cfi_endproc ## -- End function .comm _RE_SYNTAX_GREP,4,2 ## @RE_SYNTAX_GREP .comm _RE_HAT_LISTS_NOT_NEWLINE,4,2 ## @RE_HAT_LISTS_NOT_NEWLINE .comm _match_icase,8,3 ## @match_icase .comm _RE_ICASE,4,2 ## @RE_ICASE .comm _eolbyte,4,2 ## @eolbyte .comm _patterns,8,3 ## @patterns .comm _pcount,4,2 ## @pcount .comm _errno,4,2 ## @errno .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "memory exhausted" .comm _patterns0,4,2 ## @patterns0 .comm _match_words,8,3 ## @match_words .comm _match_lines,8,3 ## @match_lines .section __TEXT,__const _Gcompile.line_beg: ## @Gcompile.line_beg .asciz "^\\(" _Gcompile.line_end: ## @Gcompile.line_end .asciz "\\)$" .p2align 4, 0x0 ## @Gcompile.word_beg _Gcompile.word_beg: .asciz "\\(^\\|[^[:alnum:]_]\\)\\(" .p2align 4, 0x0 ## @Gcompile.word_end _Gcompile.word_end: .asciz "\\)\\([^[:alnum:]_]\\|$\\)" .comm _dfa,4,2 ## @dfa .no_dead_strip _Gcompile .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function Gcompile _Gcompile: ; @Gcompile .cfi_startproc ; %bb.0: sub sp, sp, #112 stp x28, x27, [sp, #16] ; 16-byte Folded Spill stp x26, x25, [sp, #32] ; 16-byte Folded Spill stp x24, x23, [sp, #48] ; 16-byte Folded Spill stp x22, x21, [sp, #64] ; 16-byte Folded Spill stp x20, x19, [sp, #80] ; 16-byte Folded Spill stp x29, x30, [sp, #96] ; 16-byte Folded Spill add x29, sp, #96 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset w27, -88 .cfi_offset w28, -96 mov x22, x1 mov x24, x0 bl _check_utf8 Lloh0: adrp x19, _RE_SYNTAX_GREP@GOTPAGE Lloh1: ldr x19, [x19, _RE_SYNTAX_GREP@GOTPAGEOFF] ldr w8, [x19] Lloh2: adrp x20, _RE_HAT_LISTS_NOT_NEWLINE@GOTPAGE Lloh3: ldr x20, [x20, _RE_HAT_LISTS_NOT_NEWLINE@GOTPAGEOFF] ldr w9, [x20] and w8, w9, w8 Lloh4: adrp x21, _match_icase@GOTPAGE Lloh5: ldr x21, [x21, _match_icase@GOTPAGEOFF] ldr x9, [x21] Lloh6: adrp x10, _RE_ICASE@GOTPAGE Lloh7: ldr x10, [x10, _RE_ICASE@GOTPAGEOFF] Lloh8: ldr w10, [x10] cmp x9, #0 csel w9, wzr, w10, eq orr w0, w9, w8 bl _re_set_syntax ldr w8, [x19] ldr w9, [x20] ldr x1, [x21] Lloh9: adrp x10, _eolbyte@GOTPAGE Lloh10: ldr x10, [x10, _eolbyte@GOTPAGEOFF] Lloh11: ldr w2, [x10] orr w0, w9, w8 bl _dfasyntax Lloh12: adrp x27, _patterns@GOTPAGE Lloh13: ldr x27, [x27, _patterns@GOTPAGEOFF] Lloh14: adrp x28, _pcount@GOTPAGE Lloh15: ldr x28, [x28, _pcount@GOTPAGEOFF] Lloh16: adrp x21, l_.str@PAGE Lloh17: add x21, x21, l_.str@PAGEOFF str x22, [sp, #8] ; 8-byte Folded Spill Lloh18: adrp x19, _patterns0@GOTPAGE Lloh19: ldr x19, [x19, _patterns0@GOTPAGEOFF] str x24, [sp] ; 8-byte Folded Spill b LBB0_2 LBB0_1: ; in Loop: Header=BB0_2 Depth=1 add x24, x23, #1 mvn x8, x20 add x22, x22, x8 ldr w8, [x28] add w8, w8, #1 str w8, [x28] cbz x23, LBB0_4 LBB0_2: ; =>This Inner Loop Header: Depth=1 mov x0, x24 mov w1, #10 ; =0xa mov x2, x22 bl _memchr mov x23, x0 sub x20, x0, x24 cmp x0, #0 csel x25, x22, x20, eq ldr x0, [x27] ldr w8, [x28] lsl w8, w8, #2 add w1, w8, #4 bl _realloc str x0, [x27] Lloh20: adrp x8, _errno@GOTPAGE Lloh21: ldr x8, [x8, _errno@GOTPAGEOFF] Lloh22: ldr w26, [x8] mov x0, x21 bl __ mov x2, x0 mov w0, #2 ; =0x2 mov x1, x26 bl _error ldr x8, [x27] ldrsw x9, [x28] ldr w10, [x19] str w10, [x8, x9, lsl #2] ldrsw x9, [x28] add x2, x8, x9, lsl #2 mov x0, x24 mov x1, x25 bl _re_compile_pattern cbz x0, LBB0_1 ; %bb.3: ; in Loop: Header=BB0_2 Depth=1 mov x2, x0 mov w0, #2 ; =0x2 mov w1, #0 ; =0x0 bl _error b LBB0_1 LBB0_4: Lloh23: adrp x8, _match_words@GOTPAGE Lloh24: ldr x8, [x8, _match_words@GOTPAGEOFF] Lloh25: ldr x8, [x8] Lloh26: adrp x19, _match_lines@GOTPAGE Lloh27: ldr x19, [x19, _match_lines@GOTPAGEOFF] ldr x9, [x19] orr x8, x8, x9 cbz x8, LBB0_6 ; %bb.5: ldr x20, [sp, #8] ; 8-byte Folded Reload add w0, w20, #45 bl _xmalloc mov x21, x0 ldr x8, [x19] Lloh28: adrp x9, _Gcompile.line_beg@PAGE Lloh29: add x9, x9, _Gcompile.line_beg@PAGEOFF Lloh30: adrp x10, _Gcompile.word_beg@PAGE Lloh31: add x10, x10, _Gcompile.word_beg@PAGEOFF cmp x8, #0 csel x1, x10, x9, eq bl _strcpy mov x0, x21 bl _strlen mov x22, x0 add x0, x21, x0 ldr x1, [sp] ; 8-byte Folded Reload mov x2, x20 bl _memcpy add x20, x22, x20 ldr x8, [x19] Lloh32: adrp x9, _Gcompile.line_end@PAGE Lloh33: add x9, x9, _Gcompile.line_end@PAGEOFF Lloh34: adrp x10, _Gcompile.word_end@PAGE Lloh35: add x10, x10, _Gcompile.word_end@PAGEOFF cmp x8, #0 csel x1, x10, x9, eq add x0, x21, x20 bl _strcpy add x0, x21, x20 bl _strlen add x1, x0, x20 mov x0, x21 b LBB0_7 LBB0_6: ldp x0, x1, [sp] ; 16-byte Folded Reload LBB0_7: Lloh36: adrp x2, _dfa@GOTPAGE Lloh37: ldr x2, [x2, _dfa@GOTPAGEOFF] mov w3, #1 ; =0x1 bl _dfacomp ldp x29, x30, [sp, #96] ; 16-byte Folded Reload ldp x20, x19, [sp, #80] ; 16-byte Folded Reload ldp x22, x21, [sp, #64] ; 16-byte Folded Reload ldp x24, x23, [sp, #48] ; 16-byte Folded Reload ldp x26, x25, [sp, #32] ; 16-byte Folded Reload ldp x28, x27, [sp, #16] ; 16-byte Folded Reload add sp, sp, #112 b _kwsmusts .loh AdrpLdrGot Lloh18, Lloh19 .loh AdrpAdd Lloh16, Lloh17 .loh AdrpLdrGot Lloh14, Lloh15 .loh AdrpLdrGot Lloh12, Lloh13 .loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpLdrGot Lloh4, Lloh5 .loh AdrpLdrGot Lloh2, Lloh3 .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGotLdr Lloh20, Lloh21, Lloh22 .loh AdrpLdrGot Lloh26, Lloh27 .loh AdrpLdrGotLdr Lloh23, Lloh24, Lloh25 .loh AdrpAdd Lloh34, Lloh35 .loh AdrpAdd Lloh32, Lloh33 .loh AdrpAdd Lloh30, Lloh31 .loh AdrpAdd Lloh28, Lloh29 .loh AdrpLdrGot Lloh36, Lloh37 .cfi_endproc ; -- End function .comm _RE_SYNTAX_GREP,4,2 ; @RE_SYNTAX_GREP .comm _RE_HAT_LISTS_NOT_NEWLINE,4,2 ; @RE_HAT_LISTS_NOT_NEWLINE .comm _match_icase,8,3 ; @match_icase .comm _RE_ICASE,4,2 ; @RE_ICASE .comm _eolbyte,4,2 ; @eolbyte .comm _patterns,8,3 ; @patterns .comm _pcount,4,2 ; @pcount .comm _errno,4,2 ; @errno .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "memory exhausted" .comm _patterns0,4,2 ; @patterns0 .comm _match_words,8,3 ; @match_words .comm _match_lines,8,3 ; @match_lines .section __TEXT,__const _Gcompile.line_beg: ; @Gcompile.line_beg .asciz "^\\(" _Gcompile.line_end: ; @Gcompile.line_end .asciz "\\)$" _Gcompile.word_beg: ; @Gcompile.word_beg .asciz "\\(^\\|[^[:alnum:]_]\\)\\(" _Gcompile.word_end: ; @Gcompile.word_end .asciz "\\)\\([^[:alnum:]_]\\|$\\)" .comm _dfa,4,2 ; @dfa .no_dead_strip _Gcompile .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function parse_options _parse_options: ## @parse_options .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rsi, %rbx movl %edi, %r14d cmpl $1, %edi jg LBB0_2 ## %bb.1: movq (%rbx), %rdi callq _usage LBB0_2: movl $4000, %edi ## imm = 0xFA0 callq _sqlcipher_set_default_kdf_iter xorl %edi, %edi callq _sqlcipher_set_default_use_hmac movq _g_cipher_conf@GOTPCREL(%rip), %rax movl $-1, (%rax) movq _optind@GOTPCREL(%rip), %rax movl $1, (%rax) movq _g_options@GOTPCREL(%rip), %r12 leaq LJTI0_0(%rip), %r15 movq _g_load_master@GOTPCREL(%rip), %r13 movl %r14d, -44(%rbp) ## 4-byte Spill jmp LBB0_3 LBB0_5: ## in Loop: Header=BB0_3 Depth=1 cmpl $-1, %eax je LBB0_42 LBB0_6: ## in Loop: Header=BB0_3 Depth=1 movq (%rbx), %rdi callq _usage .p2align 4, 0x90 LBB0_3: ## =>This Inner Loop Header: Depth=1 movl (%r12), %ecx movl %r14d, %edi movq %rbx, %rsi leaq L_.str(%rip), %rdx xorl %r8d, %r8d callq _getopt_long ## kill: def $eax killed $eax def $rax cmpl $255, %eax jg LBB0_8 ## %bb.4: ## in Loop: Header=BB0_3 Depth=1 leal -75(%rax), %ecx cmpl $43, %ecx ja LBB0_5 ## %bb.7: ## in Loop: Header=BB0_3 Depth=1 movslq (%r15,%rcx,4), %rax addq %r15, %rax jmpq *%rax LBB0_16: ## in Loop: Header=BB0_3 Depth=1 movq _optarg@GOTPCREL(%rip), %rax movq (%rax), %rax movq _g_out_key@GOTPCREL(%rip), %rcx movq %rax, (%rcx) jmp LBB0_3 .p2align 4, 0x90 LBB0_8: ## in Loop: Header=BB0_3 Depth=1 cmpl $256, %eax ## imm = 0x100 je LBB0_24 ## %bb.9: ## in Loop: Header=BB0_3 Depth=1 cmpl $257, %eax ## imm = 0x101 jne LBB0_6 ## %bb.10: ## in Loop: Header=BB0_3 Depth=1 movq _optarg@GOTPCREL(%rip), %rax movq (%rax), %rdi callq _atoi cmpl $8191, %eax ## imm = 0x1FFF jg LBB0_35 ## %bb.11: ## in Loop: Header=BB0_3 Depth=1 cmpl $2047, %eax ## imm = 0x7FF jg LBB0_33 ## %bb.12: ## in Loop: Header=BB0_3 Depth=1 cmpl $512, %eax ## imm = 0x200 je LBB0_38 ## %bb.13: ## in Loop: Header=BB0_3 Depth=1 cmpl $1024, %eax ## imm = 0x400 je LBB0_38 jmp LBB0_41 LBB0_23: ## in Loop: Header=BB0_3 Depth=1 movq _optarg@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, (%r13) jmp LBB0_3 LBB0_15: ## in Loop: Header=BB0_3 Depth=1 movq _optarg@GOTPCREL(%rip), %rax movq (%rax), %rax movq _g_out_path@GOTPCREL(%rip), %rcx movq %rax, (%rcx) jmp LBB0_3 LBB0_22: ## in Loop: Header=BB0_3 Depth=1 movq _optarg@GOTPCREL(%rip), %rax movq (%rax), %rax movq _g_save_master@GOTPCREL(%rip), %rcx movq %rax, (%rcx) jmp LBB0_3 LBB0_14: ## in Loop: Header=BB0_3 Depth=1 movq _g_verbose@GOTPCREL(%rip), %rax movl $1, (%rax) jmp LBB0_3 LBB0_18: ## in Loop: Header=BB0_3 Depth=1 movq _g_num_filter@GOTPCREL(%rip), %rdi movl (%rdi), %ecx movq _g_filter@GOTPCREL(%rip), %rax movq (%rax), %rax movq _g_filter_capacity@GOTPCREL(%rip), %rdx cmpl (%rdx), %ecx jne LBB0_21 ## %bb.19: ## in Loop: Header=BB0_3 Depth=1 movq %rbx, %r14 movq %r13, %rbx leal (%rcx,%rcx), %r12d testl %ecx, %ecx movl $64, %ecx cmovel %ecx, %r12d movslq %r12d, %rsi shlq $3, %rsi movq %rax, %rdi callq _realloc testq %rax, %rax je LBB0_51 ## %bb.20: ## in Loop: Header=BB0_3 Depth=1 movq _g_filter@GOTPCREL(%rip), %rcx movq %rax, (%rcx) movq _g_filter_capacity@GOTPCREL(%rip), %rcx movl %r12d, (%rcx) movq _g_num_filter@GOTPCREL(%rip), %rdi movl (%rdi), %ecx movq %rbx, %r13 movq %r14, %rbx movl -44(%rbp), %r14d ## 4-byte Reload movq _g_options@GOTPCREL(%rip), %r12 LBB0_21: ## in Loop: Header=BB0_3 Depth=1 movq _optarg@GOTPCREL(%rip), %rdx movq (%rdx), %rdx leal 1(%rcx), %esi movl %esi, (%rdi) movslq %ecx, %rcx movq %rdx, (%rax,%rcx,8) jmp LBB0_3 LBB0_17: ## in Loop: Header=BB0_3 Depth=1 movq _optarg@GOTPCREL(%rip), %rax movq (%rax), %rdi movq _g_cipher_conf@GOTPCREL(%rip), %r12 movq %rdi, 8(%r12) callq _strlen movl %eax, 4(%r12) movq _g_options@GOTPCREL(%rip), %r12 jmp LBB0_3 LBB0_24: ## in Loop: Header=BB0_3 Depth=1 movq _optarg@GOTPCREL(%rip), %rax movq (%rax), %rdi callq _atoi cmpl $3, %eax je LBB0_30 ## %bb.25: ## in Loop: Header=BB0_3 Depth=1 cmpl $2, %eax je LBB0_28 ## %bb.26: ## in Loop: Header=BB0_3 Depth=1 cmpl $1, %eax jne LBB0_31 ## %bb.27: ## in Loop: Header=BB0_3 Depth=1 movl $4000, %edi ## imm = 0xFA0 callq _sqlcipher_set_default_kdf_iter xorl %edi, %edi callq _sqlcipher_set_default_use_hmac jmp LBB0_3 LBB0_35: ## in Loop: Header=BB0_3 Depth=1 cmpl $32767, %eax ## imm = 0x7FFF jg LBB0_39 ## %bb.36: ## in Loop: Header=BB0_3 Depth=1 cmpl $8192, %eax ## imm = 0x2000 je LBB0_38 ## %bb.37: ## in Loop: Header=BB0_3 Depth=1 cmpl $16384, %eax ## imm = 0x4000 je LBB0_38 jmp LBB0_41 LBB0_28: ## in Loop: Header=BB0_3 Depth=1 movl $4000, %edi ## imm = 0xFA0 jmp LBB0_29 LBB0_30: ## in Loop: Header=BB0_3 Depth=1 movl $64000, %edi ## imm = 0xFA00 LBB0_29: ## in Loop: Header=BB0_3 Depth=1 callq _sqlcipher_set_default_kdf_iter movl $1, %edi callq _sqlcipher_set_default_use_hmac jmp LBB0_3 LBB0_33: ## in Loop: Header=BB0_3 Depth=1 cmpl $2048, %eax ## imm = 0x800 je LBB0_38 ## %bb.34: ## in Loop: Header=BB0_3 Depth=1 cmpl $4096, %eax ## imm = 0x1000 je LBB0_38 jmp LBB0_41 LBB0_39: ## in Loop: Header=BB0_3 Depth=1 cmpl $32768, %eax ## imm = 0x8000 je LBB0_38 ## %bb.40: ## in Loop: Header=BB0_3 Depth=1 cmpl $65536, %eax ## imm = 0x10000 jne LBB0_41 LBB0_38: ## in Loop: Header=BB0_3 Depth=1 movl %eax, %edi callq _sqlcipher_set_default_pagesize jmp LBB0_3 LBB0_42: movq _optind@GOTPCREL(%rip), %rdx movl (%rdx), %eax incl %r14d cmpl %r14d, %eax je LBB0_44 ## %bb.43: movq (%rbx), %rdi callq _usage movq _optind@GOTPCREL(%rip), %rdx movl (%rdx), %eax LBB0_44: leal 1(%rax), %ecx movl %ecx, (%rdx) cltq movq (%rbx,%rax,8), %rax movq _g_in_path@GOTPCREL(%rip), %rcx movq %rax, (%rcx) movq _g_save_master@GOTPCREL(%rip), %rax cmpq $0, (%rax) movq _g_out_path@GOTPCREL(%rip), %rax movq (%rax), %rax je LBB0_45 ## %bb.46: orq (%r13), %rax je LBB0_50 ## %bb.47: leaq L_.str.3(%rip), %rdi callq _LOGI movq (%rbx), %rdi callq _usage movq _g_out_path@GOTPCREL(%rip), %rax movq (%rax), %rax movq _g_save_master@GOTPCREL(%rip), %rcx cmpq $0, (%rcx) setne %cl testq %rax, %rax je LBB0_49 jmp LBB0_50 LBB0_45: xorl %ecx, %ecx testq %rax, %rax jne LBB0_50 LBB0_49: testb %cl, %cl jne LBB0_50 ## %bb.52: leaq L_.str.4(%rip), %rdi callq _LOGI movq (%rbx), %rdi addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp jmp _usage ## TAILCALL LBB0_50: addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_51: movl $-5, %edi callq _exit LBB0_31: leaq L_.str.1(%rip), %rdi jmp LBB0_32 LBB0_41: leaq L_.str.2(%rip), %rdi LBB0_32: callq _LOGI movl $-1, %edi callq _exit .cfi_endproc .p2align 2, 0x90 .data_region jt32 .set L0_0_set_16, LBB0_16-LJTI0_0 .set L0_0_set_6, LBB0_6-LJTI0_0 .set L0_0_set_22, LBB0_22-LJTI0_0 .set L0_0_set_18, LBB0_18-LJTI0_0 .set L0_0_set_17, LBB0_17-LJTI0_0 .set L0_0_set_23, LBB0_23-LJTI0_0 .set L0_0_set_15, LBB0_15-LJTI0_0 .set L0_0_set_14, LBB0_14-LJTI0_0 LJTI0_0: .long L0_0_set_16 .long L0_0_set_6 .long L0_0_set_22 .long L0_0_set_6 .long L0_0_set_6 .long L0_0_set_6 .long L0_0_set_6 .long L0_0_set_6 .long L0_0_set_6 .long L0_0_set_6 .long L0_0_set_6 .long L0_0_set_6 .long L0_0_set_6 .long L0_0_set_6 .long L0_0_set_6 .long L0_0_set_6 .long L0_0_set_6 .long L0_0_set_6 .long L0_0_set_6 .long L0_0_set_6 .long L0_0_set_6 .long L0_0_set_6 .long L0_0_set_6 .long L0_0_set_6 .long L0_0_set_6 .long L0_0_set_6 .long L0_0_set_6 .long L0_0_set_18 .long L0_0_set_6 .long L0_0_set_6 .long L0_0_set_6 .long L0_0_set_6 .long L0_0_set_17 .long L0_0_set_6 .long L0_0_set_23 .long L0_0_set_6 .long L0_0_set_15 .long L0_0_set_6 .long L0_0_set_6 .long L0_0_set_6 .long L0_0_set_6 .long L0_0_set_6 .long L0_0_set_6 .long L0_0_set_14 .end_data_region ## -- End function .comm _g_cipher_conf,16,3 ## @g_cipher_conf .comm _optind,4,2 ## @optind .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "hvo:K:k:M:m:" .comm _g_options,4,2 ## @g_options .comm _g_verbose,4,2 ## @g_verbose .comm _optarg,8,3 ## @optarg .comm _g_out_path,8,3 ## @g_out_path .comm _g_out_key,8,3 ## @g_out_key .comm _g_num_filter,4,2 ## @g_num_filter .comm _g_filter_capacity,4,2 ## @g_filter_capacity .comm _g_filter,8,3 ## @g_filter .comm _g_save_master,8,3 ## @g_save_master .comm _g_load_master,8,3 ## @g_load_master L_.str.1: ## @.str.1 .asciz "Version must be 1, 2 or 3" L_.str.2: ## @.str.2 .asciz "Page size must be 512, 1024, 2048, ..., or 65536" .comm _g_in_path,8,3 ## @g_in_path L_.str.3: ## @.str.3 .asciz "--save-master must be used without --load-master or --output." L_.str.4: ## @.str.4 .asciz "Output path must be specified." .no_dead_strip _parse_options .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function parse_options _parse_options: ; @parse_options .cfi_startproc ; %bb.0: stp x28, x27, [sp, #-96]! ; 16-byte Folded Spill stp x26, x25, [sp, #16] ; 16-byte Folded Spill stp x24, x23, [sp, #32] ; 16-byte Folded Spill stp x22, x21, [sp, #48] ; 16-byte Folded Spill stp x20, x19, [sp, #64] ; 16-byte Folded Spill stp x29, x30, [sp, #80] ; 16-byte Folded Spill add x29, sp, #80 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset w27, -88 .cfi_offset w28, -96 mov x19, x1 mov x20, x0 cmp w0, #1 b.gt LBB0_2 ; %bb.1: ldr x0, [x19] bl _usage LBB0_2: mov w0, #4000 ; =0xfa0 bl _sqlcipher_set_default_kdf_iter mov w0, #0 ; =0x0 bl _sqlcipher_set_default_use_hmac Lloh0: adrp x26, _g_cipher_conf@GOTPAGE Lloh1: ldr x26, [x26, _g_cipher_conf@GOTPAGEOFF] mov w8, #-1 ; =0xffffffff str w8, [x26] Lloh2: adrp x8, _optind@GOTPAGE Lloh3: ldr x8, [x8, _optind@GOTPAGEOFF] mov w23, #1 ; =0x1 Lloh4: adrp x28, _g_options@GOTPAGE Lloh5: ldr x28, [x28, _g_options@GOTPAGEOFF] Lloh6: adrp x21, l_.str@PAGE Lloh7: add x21, x21, l_.str@PAGEOFF Lloh8: adrp x24, _optarg@GOTPAGE Lloh9: ldr x24, [x24, _optarg@GOTPAGEOFF] Lloh10: adrp x27, _g_save_master@GOTPAGE Lloh11: ldr x27, [x27, _g_save_master@GOTPAGEOFF] Lloh12: str w23, [x8] Lloh13: adrp x22, _g_load_master@GOTPAGE Lloh14: ldr x22, [x22, _g_load_master@GOTPAGEOFF] Lloh15: adrp x25, _g_out_path@GOTPAGE Lloh16: ldr x25, [x25, _g_out_path@GOTPAGEOFF] b LBB0_5 LBB0_3: ; in Loop: Header=BB0_5 Depth=1 cmn w0, #1 b.eq LBB0_47 LBB0_4: ; in Loop: Header=BB0_5 Depth=1 ldr x0, [x19] bl _usage LBB0_5: ; =>This Inner Loop Header: Depth=1 ldr w3, [x28] mov x0, x20 mov x1, x19 mov x2, x21 mov x4, #0 ; =0x0 bl _getopt_long cmp w0, #108 b.gt LBB0_11 ; %bb.6: ; in Loop: Header=BB0_5 Depth=1 cmp w0, #101 b.le LBB0_19 ; %bb.7: ; in Loop: Header=BB0_5 Depth=1 cmp w0, #102 b.eq LBB0_31 ; %bb.8: ; in Loop: Header=BB0_5 Depth=1 cmp w0, #104 b.eq LBB0_4 ; %bb.9: ; in Loop: Header=BB0_5 Depth=1 cmp w0, #107 b.ne LBB0_4 ; %bb.10: ; in Loop: Header=BB0_5 Depth=1 ldr x0, [x24] str x0, [x26, #8] bl _strlen str w0, [x26, #4] b LBB0_5 LBB0_11: ; in Loop: Header=BB0_5 Depth=1 cmp w0, #117 b.le LBB0_22 ; %bb.12: ; in Loop: Header=BB0_5 Depth=1 cmp w0, #118 b.eq LBB0_35 ; %bb.13: ; in Loop: Header=BB0_5 Depth=1 cmp w0, #256 b.eq LBB0_26 ; %bb.14: ; in Loop: Header=BB0_5 Depth=1 cmp w0, #257 b.ne LBB0_4 ; %bb.15: ; in Loop: Header=BB0_5 Depth=1 ldr x0, [x24] bl _atoi cmp w0, #2, lsl #12 ; =8192 b.ge LBB0_36 ; %bb.16: ; in Loop: Header=BB0_5 Depth=1 cmp w0, #2047 b.gt LBB0_42 ; %bb.17: ; in Loop: Header=BB0_5 Depth=1 cmp w0, #512 b.eq LBB0_46 ; %bb.18: ; in Loop: Header=BB0_5 Depth=1 cmp w0, #1024 b.eq LBB0_46 b LBB0_58 LBB0_19: ; in Loop: Header=BB0_5 Depth=1 cmp w0, #75 b.eq LBB0_30 ; %bb.20: ; in Loop: Header=BB0_5 Depth=1 cmp w0, #77 b.ne LBB0_3 ; %bb.21: ; in Loop: Header=BB0_5 Depth=1 ldr x8, [x24] str x8, [x27] b LBB0_5 LBB0_22: ; in Loop: Header=BB0_5 Depth=1 cmp w0, #109 b.eq LBB0_25 ; %bb.23: ; in Loop: Header=BB0_5 Depth=1 cmp w0, #111 b.ne LBB0_4 ; %bb.24: ; in Loop: Header=BB0_5 Depth=1 ldr x8, [x24] str x8, [x25] b LBB0_5 LBB0_25: ; in Loop: Header=BB0_5 Depth=1 ldr x8, [x24] str x8, [x22] b LBB0_5 LBB0_26: ; in Loop: Header=BB0_5 Depth=1 ldr x0, [x24] bl _atoi cmp w0, #3 b.eq LBB0_40 ; %bb.27: ; in Loop: Header=BB0_5 Depth=1 cmp w0, #2 b.eq LBB0_39 ; %bb.28: ; in Loop: Header=BB0_5 Depth=1 cmp w0, #1 b.ne LBB0_57 ; %bb.29: ; in Loop: Header=BB0_5 Depth=1 mov w0, #4000 ; =0xfa0 bl _sqlcipher_set_default_kdf_iter mov w0, #0 ; =0x0 bl _sqlcipher_set_default_use_hmac b LBB0_5 LBB0_30: ; in Loop: Header=BB0_5 Depth=1 ldr x8, [x24] Lloh17: adrp x9, _g_out_key@GOTPAGE Lloh18: ldr x9, [x9, _g_out_key@GOTPAGEOFF] Lloh19: str x8, [x9] b LBB0_5 LBB0_31: ; in Loop: Header=BB0_5 Depth=1 Lloh20: adrp x11, _g_num_filter@GOTPAGE Lloh21: ldr x11, [x11, _g_num_filter@GOTPAGEOFF] ldr w8, [x11] Lloh22: adrp x9, _g_filter_capacity@GOTPAGE Lloh23: ldr x9, [x9, _g_filter_capacity@GOTPAGEOFF] Lloh24: ldr w9, [x9] Lloh25: adrp x10, _g_filter@GOTPAGE Lloh26: ldr x10, [x10, _g_filter@GOTPAGEOFF] Lloh27: ldr x0, [x10] cmp w8, w9 b.ne LBB0_34 ; %bb.32: ; in Loop: Header=BB0_5 Depth=1 mov x23, x26 mov x26, x22 mov x22, x25 mov x25, x27 lsl w9, w8, #1 cmp w8, #0 mov w8, #64 ; =0x40 csel w27, w8, w9, eq sbfiz x1, x27, #3, #32 bl _realloc cbz x0, LBB0_56 ; %bb.33: ; in Loop: Header=BB0_5 Depth=1 Lloh28: adrp x8, _g_filter@GOTPAGE Lloh29: ldr x8, [x8, _g_filter@GOTPAGEOFF] Lloh30: str x0, [x8] Lloh31: adrp x8, _g_filter_capacity@GOTPAGE Lloh32: ldr x8, [x8, _g_filter_capacity@GOTPAGEOFF] Lloh33: str w27, [x8] Lloh34: adrp x11, _g_num_filter@GOTPAGE Lloh35: ldr x11, [x11, _g_num_filter@GOTPAGEOFF] ldr w8, [x11] mov x27, x25 mov x25, x22 mov x22, x26 mov x26, x23 mov w23, #1 ; =0x1 LBB0_34: ; in Loop: Header=BB0_5 Depth=1 ldr x9, [x24] add w10, w8, #1 str w10, [x11] str x9, [x0, w8, sxtw #3] b LBB0_5 LBB0_35: ; in Loop: Header=BB0_5 Depth=1 Lloh36: adrp x8, _g_verbose@GOTPAGE Lloh37: ldr x8, [x8, _g_verbose@GOTPAGEOFF] Lloh38: str w23, [x8] b LBB0_5 LBB0_36: ; in Loop: Header=BB0_5 Depth=1 cmp w0, #8, lsl #12 ; =32768 b.ge LBB0_44 ; %bb.37: ; in Loop: Header=BB0_5 Depth=1 cmp w0, #2, lsl #12 ; =8192 b.eq LBB0_46 ; %bb.38: ; in Loop: Header=BB0_5 Depth=1 cmp w0, #4, lsl #12 ; =16384 b.eq LBB0_46 b LBB0_58 LBB0_39: ; in Loop: Header=BB0_5 Depth=1 mov w0, #4000 ; =0xfa0 b LBB0_41 LBB0_40: ; in Loop: Header=BB0_5 Depth=1 mov w0, #64000 ; =0xfa00 LBB0_41: ; in Loop: Header=BB0_5 Depth=1 bl _sqlcipher_set_default_kdf_iter mov w0, #1 ; =0x1 bl _sqlcipher_set_default_use_hmac b LBB0_5 LBB0_42: ; in Loop: Header=BB0_5 Depth=1 cmp w0, #2048 b.eq LBB0_46 ; %bb.43: ; in Loop: Header=BB0_5 Depth=1 cmp w0, #1, lsl #12 ; =4096 b.eq LBB0_46 b LBB0_58 LBB0_44: ; in Loop: Header=BB0_5 Depth=1 b.eq LBB0_46 ; %bb.45: ; in Loop: Header=BB0_5 Depth=1 cmp w0, #16, lsl #12 ; =65536 b.ne LBB0_58 LBB0_46: ; in Loop: Header=BB0_5 Depth=1 bl _sqlcipher_set_default_pagesize b LBB0_5 LBB0_47: Lloh39: adrp x21, _optind@GOTPAGE Lloh40: ldr x21, [x21, _optind@GOTPAGEOFF] ldr w8, [x21] add w9, w20, #1 cmp w8, w9 b.eq LBB0_49 ; %bb.48: ldr x0, [x19] bl _usage ldr w8, [x21] LBB0_49: add w9, w8, #1 ldr x8, [x19, w8, sxtw #3] str w9, [x21] Lloh41: adrp x9, _g_in_path@GOTPAGE Lloh42: ldr x9, [x9, _g_in_path@GOTPAGEOFF] Lloh43: str x8, [x9] ldr x9, [x27] ldr x8, [x25] cbz x9, LBB0_52 ; %bb.50: ldr x9, [x22] orr x8, x9, x8 cbz x8, LBB0_55 ; %bb.51: Lloh44: adrp x0, l_.str.3@PAGE Lloh45: add x0, x0, l_.str.3@PAGEOFF bl _LOGI ldr x0, [x19] bl _usage ldr x8, [x25] ldr x9, [x27] cmp x9, #0 cset w9, ne LBB0_52: cbnz x8, LBB0_55 ; %bb.53: tbnz w9, #0, LBB0_55 ; %bb.54: Lloh46: adrp x0, l_.str.4@PAGE Lloh47: add x0, x0, l_.str.4@PAGEOFF bl _LOGI ldr x0, [x19] ldp x29, x30, [sp, #80] ; 16-byte Folded Reload ldp x20, x19, [sp, #64] ; 16-byte Folded Reload ldp x22, x21, [sp, #48] ; 16-byte Folded Reload ldp x24, x23, [sp, #32] ; 16-byte Folded Reload ldp x26, x25, [sp, #16] ; 16-byte Folded Reload ldp x28, x27, [sp], #96 ; 16-byte Folded Reload b _usage LBB0_55: ldp x29, x30, [sp, #80] ; 16-byte Folded Reload ldp x20, x19, [sp, #64] ; 16-byte Folded Reload ldp x22, x21, [sp, #48] ; 16-byte Folded Reload ldp x24, x23, [sp, #32] ; 16-byte Folded Reload ldp x26, x25, [sp, #16] ; 16-byte Folded Reload ldp x28, x27, [sp], #96 ; 16-byte Folded Reload ret LBB0_56: mov w0, #-5 ; =0xfffffffb bl _exit LBB0_57: Lloh48: adrp x0, l_.str.1@PAGE Lloh49: add x0, x0, l_.str.1@PAGEOFF b LBB0_59 LBB0_58: Lloh50: adrp x0, l_.str.2@PAGE Lloh51: add x0, x0, l_.str.2@PAGEOFF LBB0_59: bl _LOGI mov w0, #-1 ; =0xffffffff bl _exit .loh AdrpLdrGot Lloh15, Lloh16 .loh AdrpLdrGot Lloh13, Lloh14 .loh AdrpLdrGot Lloh10, Lloh11 .loh AdrpLdrGot Lloh8, Lloh9 .loh AdrpAdd Lloh6, Lloh7 .loh AdrpLdrGot Lloh4, Lloh5 .loh AdrpLdrGotStr Lloh2, Lloh3, Lloh12 .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGotStr Lloh17, Lloh18, Lloh19 .loh AdrpLdrGotLdr Lloh25, Lloh26, Lloh27 .loh AdrpLdrGotLdr Lloh22, Lloh23, Lloh24 .loh AdrpLdrGot Lloh20, Lloh21 .loh AdrpLdrGot Lloh34, Lloh35 .loh AdrpLdrGotStr Lloh31, Lloh32, Lloh33 .loh AdrpLdrGotStr Lloh28, Lloh29, Lloh30 .loh AdrpLdrGotStr Lloh36, Lloh37, Lloh38 .loh AdrpLdrGot Lloh39, Lloh40 .loh AdrpLdrGotStr Lloh41, Lloh42, Lloh43 .loh AdrpAdd Lloh44, Lloh45 .loh AdrpAdd Lloh46, Lloh47 .loh AdrpAdd Lloh48, Lloh49 .loh AdrpAdd Lloh50, Lloh51 .cfi_endproc ; -- End function .comm _g_cipher_conf,16,3 ; @g_cipher_conf .comm _optind,4,2 ; @optind .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "hvo:K:k:M:m:" .comm _g_options,4,2 ; @g_options .comm _g_verbose,4,2 ; @g_verbose .comm _optarg,8,3 ; @optarg .comm _g_out_path,8,3 ; @g_out_path .comm _g_out_key,8,3 ; @g_out_key .comm _g_num_filter,4,2 ; @g_num_filter .comm _g_filter_capacity,4,2 ; @g_filter_capacity .comm _g_filter,8,3 ; @g_filter .comm _g_save_master,8,3 ; @g_save_master .comm _g_load_master,8,3 ; @g_load_master l_.str.1: ; @.str.1 .asciz "Version must be 1, 2 or 3" l_.str.2: ; @.str.2 .asciz "Page size must be 512, 1024, 2048, ..., or 65536" .comm _g_in_path,8,3 ; @g_in_path l_.str.3: ; @.str.3 .asciz "--save-master must be used without --load-master or --output." l_.str.4: ; @.str.4 .asciz "Output path must be specified." .no_dead_strip _parse_options .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function add_padata _add_padata: ## @add_padata .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $56, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %r9, %r15 movl %r8d, -44(%rbp) ## 4-byte Spill movq %rcx, -96(%rbp) ## 8-byte Spill movq %rsi, %r13 movq %rdi, %rbx cmpq $0, 24(%rbp) je LBB0_1 ## %bb.2: leaq -48(%rbp), %rax movq %rbx, %rdi movl %edx, %esi movq %rax, -56(%rbp) ## 8-byte Spill movq %rax, %rdx callq _krb5_get_pw_salt movq %rax, %r12 testq %rax, %rax jne LBB0_19 ## %bb.3: testq %r15, %r15 je LBB0_5 LBB0_4: movl 16(%rbp), %r14d movl -44(%rbp), %r12d ## 4-byte Reload jmp LBB0_8 LBB0_1: movq $0, -56(%rbp) ## 8-byte Folded Spill testq %r15, %r15 jne LBB0_4 LBB0_5: movq (%rbx), %r15 movq _ETYPE_NULL@GOTPCREL(%rip), %rax movq (%rax), %rax xorl %r14d, %r14d cmpq %rax, (%r15) movl -44(%rbp), %r12d ## 4-byte Reload je LBB0_8 ## %bb.6: leaq -8(%r15), %rcx xorl %r14d, %r14d .p2align 4, 0x90 LBB0_7: ## =>This Inner Loop Header: Depth=1 incl %r14d leaq -8(%rcx), %rdx cmpq %rax, (%rcx) movq %rdx, %rcx jne LBB0_7 LBB0_8: movq 8(%r13), %rdi movl (%r13), %esi subl %r14d, %esi shll $2, %esi callq _realloc testq %rax, %rax je LBB0_9 ## %bb.10: movq %r13, -88(%rbp) ## 8-byte Spill movq %rax, 8(%r13) testl %r14d, %r14d je LBB0_16 ## %bb.11: movl %r14d, %r14d xorl %r13d, %r13d movq %r15, -80(%rbp) ## 8-byte Spill movq %r14, -72(%rbp) ## 8-byte Spill jmp LBB0_12 .p2align 4, 0x90 LBB0_15: ## in Loop: Header=BB0_12 Depth=1 incq %r13 cmpq %r13, %r14 je LBB0_16 LBB0_12: ## =>This Inner Loop Header: Depth=1 movq (%r15,%r13,8), %rsi movq -56(%rbp), %rax ## 8-byte Reload movl (%rax), %edx movq %rbx, %rdi movl %r12d, %ecx leaq -64(%rbp), %r8 callq *-96(%rbp) ## 8-byte Folded Reload testq %rax, %rax jne LBB0_15 ## %bb.13: ## in Loop: Header=BB0_12 Depth=1 movq %r15, %rax movq -88(%rbp), %r15 ## 8-byte Reload movl (%r15), %esi shlq $2, %rsi addq 8(%r15), %rsi movq (%rax,%r13,8), %rdx movq -64(%rbp), %rcx movq %rbx, %rdi callq _make_pa_enc_timestamp movq %rax, %r12 movq -64(%rbp), %rsi movq %rbx, %rdi callq _krb5_free_keyblock testq %r12, %r12 jne LBB0_19 ## %bb.14: ## in Loop: Header=BB0_12 Depth=1 incl (%r15) movl -44(%rbp), %r12d ## 4-byte Reload movq -80(%rbp), %r15 ## 8-byte Reload movq -72(%rbp), %r14 ## 8-byte Reload jmp LBB0_15 LBB0_16: leaq -48(%rbp), %rax cmpq %rax, -56(%rbp) ## 8-byte Folded Reload jne LBB0_18 ## %bb.17: movl -48(%rbp), %esi movq %rbx, %rdi callq _krb5_free_salt LBB0_18: xorl %r12d, %r12d jmp LBB0_19 LBB0_9: movq _ENOMEM@GOTPCREL(%rip), %r15 movq (%r15), %r14 leaq L_.str(%rip), %rdi leaq L_.str.1(%rip), %rsi callq _N_ movq %rbx, %rdi movq %r14, %rsi movl %eax, %edx callq _krb5_set_error_message movq (%r15), %r12 LBB0_19: movq %r12, %rax addq $56, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _ETYPE_NULL,8,3 ## @ETYPE_NULL .comm _ENOMEM,8,3 ## @ENOMEM .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "malloc: out of memory" L_.str.1: ## @.str.1 .space 1 .no_dead_strip _add_padata .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function add_padata _add_padata: ; @add_padata .cfi_startproc ; %bb.0: sub sp, sp, #96 stp x26, x25, [sp, #16] ; 16-byte Folded Spill stp x24, x23, [sp, #32] ; 16-byte Folded Spill stp x22, x21, [sp, #48] ; 16-byte Folded Spill stp x20, x19, [sp, #64] ; 16-byte Folded Spill stp x29, x30, [sp, #80] ; 16-byte Folded Spill add x29, sp, #80 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 mov x24, x6 mov x21, x5 mov x20, x4 mov x22, x3 mov x23, x1 mov x19, x0 cbz x7, LBB0_3 ; %bb.1: mov x8, x2 add x25, sp, #12 add x2, sp, #12 mov x0, x19 mov x1, x8 bl _krb5_get_pw_salt cbnz x0, LBB0_20 ; %bb.2: cbnz x21, LBB0_8 b LBB0_4 LBB0_3: mov x25, #0 ; =0x0 cbnz x21, LBB0_8 LBB0_4: ldr x21, [x19] Lloh0: adrp x8, _ETYPE_NULL@GOTPAGE Lloh1: ldr x8, [x8, _ETYPE_NULL@GOTPAGEOFF] Lloh2: ldr x8, [x8] ldr x9, [x21] cmp x9, x8 b.ne LBB0_6 ; %bb.5: mov w24, #0 ; =0x0 b LBB0_8 LBB0_6: mov w24, #0 ; =0x0 mov x9, #-8 ; =0xfffffffffffffff8 LBB0_7: ; =>This Inner Loop Header: Depth=1 add w24, w24, #1 ldr x10, [x21, x9] sub x9, x9, #8 cmp x10, x8 b.ne LBB0_7 LBB0_8: ldr x0, [x23, #8] ldr w8, [x23] sub w8, w8, w24 lsl w1, w8, #2 bl _realloc cbz x0, LBB0_19 ; %bb.9: str x0, [x23, #8] cbz w24, LBB0_16 ; %bb.10: mov w26, w24 b LBB0_13 LBB0_11: ; in Loop: Header=BB0_13 Depth=1 ldr w8, [x23] add w8, w8, #1 str w8, [x23] LBB0_12: ; in Loop: Header=BB0_13 Depth=1 add x21, x21, #8 subs x26, x26, #1 b.eq LBB0_16 LBB0_13: ; =>This Inner Loop Header: Depth=1 ldr x1, [x21] ldr w2, [x25] mov x4, sp mov x0, x19 mov x3, x20 blr x22 cbnz x0, LBB0_12 ; %bb.14: ; in Loop: Header=BB0_13 Depth=1 ldr x8, [x23, #8] ldr w9, [x23] add x1, x8, x9, lsl #2 ldr x2, [x21] ldr x3, [sp] mov x0, x19 bl _make_pa_enc_timestamp mov x24, x0 ldr x1, [sp] mov x0, x19 bl _krb5_free_keyblock cbz x24, LBB0_11 ; %bb.15: mov x0, x24 b LBB0_20 LBB0_16: add x8, sp, #12 cmp x25, x8 b.ne LBB0_18 ; %bb.17: ldr w1, [sp, #12] mov x0, x19 bl _krb5_free_salt LBB0_18: mov x0, #0 ; =0x0 b LBB0_20 LBB0_19: Lloh3: adrp x21, _ENOMEM@GOTPAGE Lloh4: ldr x21, [x21, _ENOMEM@GOTPAGEOFF] ldr x20, [x21] 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, x19 mov x1, x20 bl _krb5_set_error_message ldr x0, [x21] LBB0_20: ldp x29, x30, [sp, #80] ; 16-byte Folded Reload ldp x20, x19, [sp, #64] ; 16-byte Folded Reload ldp x22, x21, [sp, #48] ; 16-byte Folded Reload ldp x24, x23, [sp, #32] ; 16-byte Folded Reload ldp x26, x25, [sp, #16] ; 16-byte Folded Reload add sp, sp, #96 ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpAdd Lloh7, Lloh8 .loh AdrpAdd Lloh5, Lloh6 .loh AdrpLdrGot Lloh3, Lloh4 .cfi_endproc ; -- End function .comm _ETYPE_NULL,8,3 ; @ETYPE_NULL .comm _ENOMEM,8,3 ; @ENOMEM .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "malloc: out of memory" l_.str.1: ; @.str.1 .space 1 .no_dead_strip _add_padata .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function vulkan_set_image _vulkan_set_image: ## @vulkan_set_image .cfi_startproc ## %bb.0: movq %rsi, 32(%rdi) movl %edx, (%rdi) movq %rcx, 24(%rdi) testq %rdx, %rdx jle LBB0_4 ## %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 %rbx pushq %rax .cfi_offset %rbx, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %r8, %rbx movq %rdi, %r14 movq 16(%rdi), %rdi leal (,%rdx,4), %esi callq _realloc movq %rax, %r15 movq %rax, %rdi callq _retro_assert movq %r15, 16(%r14) cmpl $0, (%r14) je LBB0_3 ## %bb.2: movq _VK_PIPELINE_STAGE_FRAGMENT_SHADER_BIT@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, (%r15) LBB0_3: movl $1, 4(%r14) movq %rbx, 8(%r14) addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp LBB0_4: retq .cfi_endproc ## -- End function .comm _VK_PIPELINE_STAGE_FRAGMENT_SHADER_BIT,4,2 ## @VK_PIPELINE_STAGE_FRAGMENT_SHADER_BIT .no_dead_strip _vulkan_set_image .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function vulkan_set_image _vulkan_set_image: ; @vulkan_set_image .cfi_startproc ; %bb.0: str w2, [x0] stp x3, x1, [x0, #24] cmp x2, #1 b.lt LBB0_4 ; %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, x4 mov x20, x0 ldr x0, [x0, #16] lsl w1, w2, #2 bl _realloc mov x21, x0 bl _retro_assert str x21, [x20, #16] ldr w8, [x20] cbz w8, LBB0_3 ; %bb.2: Lloh0: adrp x8, _VK_PIPELINE_STAGE_FRAGMENT_SHADER_BIT@GOTPAGE Lloh1: ldr x8, [x8, _VK_PIPELINE_STAGE_FRAGMENT_SHADER_BIT@GOTPAGEOFF] Lloh2: ldr w8, [x8] str w8, [x21] LBB0_3: mov w8, #1 ; =0x1 str w8, [x20, #4] str x19, [x20, #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 LBB0_4: ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _VK_PIPELINE_STAGE_FRAGMENT_SHADER_BIT,4,2 ; @VK_PIPELINE_STAGE_FRAGMENT_SHADER_BIT .no_dead_strip _vulkan_set_image .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _add_include_dir ## -- Begin function add_include_dir .p2align 4, 0x90 _add_include_dir: ## @add_include_dir .cfi_startproc ## %bb.0: 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 _include_dir_count@GOTPCREL(%rip), %r14 movl (%r14), %eax testl %eax, %eax je LBB0_1 ## %bb.2: leal -1(%rax), %ecx movl %ecx, (%r14) movq _include_dirs@GOTPCREL(%rip), %r15 movq (%r15), %rdi leal -8(,%rax,8), %esi callq _realloc movq %rax, (%r15) movslq (%r14), %rcx jmp LBB0_3 LBB0_1: movl $16, %edi callq _xmalloc movq _include_dirs@GOTPCREL(%rip), %rcx movq %rax, (%rcx) leaq L_.str(%rip), %rdx movq %rdx, (%rax) movl $2, (%r14) movq (%rcx), %rax movl $2, %ecx LBB0_3: movq %rbx, -8(%rax,%rcx,8) movq %rbx, %rdi callq _strlen movq _include_dir_maxlen@GOTPCREL(%rip), %rcx cmpl (%rcx), %eax jl LBB0_5 ## %bb.4: movl %eax, (%rcx) LBB0_5: addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _include_dir_count,4,2 ## @include_dir_count .comm _include_dirs,8,3 ## @include_dirs .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "." .comm _include_dir_maxlen,4,2 ## @include_dir_maxlen .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _add_include_dir ; -- Begin function add_include_dir .p2align 2 _add_include_dir: ; @add_include_dir .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, _include_dir_count@GOTPAGE Lloh1: ldr x20, [x20, _include_dir_count@GOTPAGEOFF] ldr w8, [x20] cbz w8, LBB0_2 ; %bb.1: sub w8, w8, #1 str w8, [x20] Lloh2: adrp x21, _include_dirs@GOTPAGE Lloh3: ldr x21, [x21, _include_dirs@GOTPAGEOFF] ldr x0, [x21] lsl w1, w8, #3 bl _realloc str x0, [x21] ldrsw x8, [x20] b LBB0_3 LBB0_2: mov w0, #16 ; =0x10 bl _xmalloc Lloh4: adrp x9, _include_dirs@GOTPAGE Lloh5: ldr x9, [x9, _include_dirs@GOTPAGEOFF] str x0, [x9] Lloh6: adrp x8, l_.str@PAGE Lloh7: add x8, x8, l_.str@PAGEOFF str x8, [x0] mov w8, #2 ; =0x2 str w8, [x20] ldr x0, [x9] LBB0_3: add x8, x0, x8, lsl #3 stur x19, [x8, #-8] mov x0, x19 bl _strlen Lloh8: adrp x8, _include_dir_maxlen@GOTPAGE Lloh9: ldr x8, [x8, _include_dir_maxlen@GOTPAGEOFF] ldr w9, [x8] cmp w0, w9 b.lt LBB0_5 ; %bb.4: str w0, [x8] LBB0_5: ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGot Lloh2, Lloh3 .loh AdrpAdd Lloh6, Lloh7 .loh AdrpLdrGot Lloh4, Lloh5 .loh AdrpLdrGot Lloh8, Lloh9 .cfi_endproc ; -- End function .comm _include_dir_count,4,2 ; @include_dir_count .comm _include_dirs,8,3 ; @include_dirs .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "." .comm _include_dir_maxlen,4,2 ; @include_dir_maxlen .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _aadd ## -- Begin function aadd .p2align 4, 0x90 _aadd: ## @aadd .cfi_startproc ## %bb.0: 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 ___argc@GOTPCREL(%rip), %r14 movl (%r14), %ecx movq _SIZE@GOTPCREL(%rip), %rax movl (%rax), %esi movl %ecx, %eax cltd idivl %esi movq ___argv@GOTPCREL(%rip), %r15 movq (%r15), %rax testl %edx, %edx jne LBB0_7 ## %bb.1: testq %rax, %rax je LBB0_2 ## %bb.3: addl %esi, %ecx leal 8(,%rcx,8), %esi movq %rax, %rdi callq _realloc testq %rax, %rax je LBB0_5 LBB0_6: movq %rax, (%r15) movl (%r14), %ecx LBB0_7: leal -1(%rcx), %edx movl %edx, (%r14) movslq %ecx, %rcx movq %rbx, (%rax,%rcx,8) movq (%r15), %rax movq $0, -8(%rax,%rcx,8) xorl %eax, %eax LBB0_8: addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq LBB0_2: leal 8(,%rsi,8), %edi callq _malloc testq %rax, %rax jne LBB0_6 LBB0_5: movl $-1, %eax jmp LBB0_8 .cfi_endproc ## -- End function .comm ___argc,4,2 ## @__argc .comm _SIZE,4,2 ## @SIZE .comm ___argv,8,3 ## @__argv .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _aadd ; -- Begin function aadd .p2align 2 _aadd: ; @aadd .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, ___argc@GOTPAGE Lloh1: ldr x20, [x20, ___argc@GOTPAGEOFF] ldr w9, [x20] Lloh2: adrp x8, _SIZE@GOTPAGE Lloh3: ldr x8, [x8, _SIZE@GOTPAGEOFF] Lloh4: ldr w8, [x8] sdiv w10, w9, w8 msub w10, w10, w8, w9 Lloh5: adrp x21, ___argv@GOTPAGE Lloh6: ldr x21, [x21, ___argv@GOTPAGEOFF] ldr x0, [x21] cbnz w10, LBB0_4 ; %bb.1: cbz x0, LBB0_6 ; %bb.2: add w8, w9, w8 lsl w8, w8, #3 add w1, w8, #8 bl _realloc cbz x0, LBB0_7 LBB0_3: str x0, [x21] ldr w9, [x20] LBB0_4: mov w8, #0 ; =0x0 sxtw x10, w9 sub x10, x10, #1 str w10, [x20] str x19, [x0, w9, sxtw #3] ldr x9, [x21] str xzr, [x9, x10, lsl #3] LBB0_5: mov x0, x8 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret LBB0_6: lsl w8, w8, #3 add w0, w8, #8 bl _malloc cbnz x0, LBB0_3 LBB0_7: mov w8, #-1 ; =0xffffffff b LBB0_5 .loh AdrpLdrGot Lloh5, Lloh6 .loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4 .loh AdrpLdrGot Lloh0, Lloh1 .cfi_endproc ; -- End function .comm ___argc,4,2 ; @__argc .comm _SIZE,4,2 ; @SIZE .comm ___argv,8,3 ; @__argv .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function unicode_iconv_encoding_convert _unicode_iconv_encoding_convert: ## @unicode_iconv_encoding_convert .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 movq %rdx, %rbx movq $0, (%rdi) movq $0, (%rsi) movq %rdx, %rdi callq _unicode_iconv_init testl %eax, %eax je LBB0_2 ## %bb.1: movl (%rbx), %edi leaq L_.str(%rip), %rsi callq _ntlm_client_set_errmsg LBB0_2: xorl %eax, %eax addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .comm _unicode_iconv_utf8_to_16,8,3 ## @unicode_iconv_utf8_to_16 .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "out of memory" .comm _errno,8,3 ## @errno .comm _E2BIG,8,3 ## @E2BIG .comm _NTLM_UNICODE_MAX_LEN,8,3 ## @NTLM_UNICODE_MAX_LEN .no_dead_strip _unicode_iconv_encoding_convert .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function unicode_iconv_encoding_convert _unicode_iconv_encoding_convert: ; @unicode_iconv_encoding_convert .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x2 str xzr, [x0] str xzr, [x1] mov x0, x2 bl _unicode_iconv_init cbz w0, LBB0_2 ; %bb.1: ldr w0, [x19] Lloh0: adrp x1, l_.str@PAGE Lloh1: add x1, x1, l_.str@PAGEOFF bl _ntlm_client_set_errmsg LBB0_2: mov w0, #0 ; =0x0 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .loh AdrpAdd Lloh0, Lloh1 .cfi_endproc ; -- End function .comm _unicode_iconv_utf8_to_16,8,3 ; @unicode_iconv_utf8_to_16 .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "out of memory" .comm _errno,8,3 ; @errno .comm _E2BIG,8,3 ; @E2BIG .comm _NTLM_UNICODE_MAX_LEN,8,3 ; @NTLM_UNICODE_MAX_LEN .no_dead_strip _unicode_iconv_encoding_convert .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function l_alloc _l_alloc: ## @l_alloc .cfi_startproc ## %bb.0: movq %rsi, %rdi testq %rcx, %rcx je LBB0_1 ## %bb.2: movq %rcx, %rsi jmp _realloc ## TAILCALL LBB0_1: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp callq _free xorl %eax, %eax popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _l_alloc .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function l_alloc _l_alloc: ; @l_alloc .cfi_startproc ; %bb.0: mov x0, x1 cbz x3, LBB0_2 ; %bb.1: mov x1, x3 b _realloc LBB0_2: stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill mov x29, sp .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 bl _free mov x0, #0 ; =0x0 ldp x29, x30, [sp], #16 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .no_dead_strip _l_alloc .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _der_parse_heim_oid ## -- Begin function der_parse_heim_oid .p2align 4, 0x90 _der_parse_heim_oid: ## @der_parse_heim_oid .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $24, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdx, %rbx movl $0, (%rdx) movq $0, 8(%rdx) testq %rsi, %rsi leaq L_.str(%rip), %r15 cmoveq %rsi, %r15 callq _strdup leaq -64(%rbp), %rdx movq %rax, -48(%rbp) ## 8-byte Spill movq %rax, %rdi movq %r15, %rsi callq _strtok_r testq %rax, %rax je LBB0_6 ## %bb.1: movq %rax, %r14 leaq -56(%rbp), %r12 leaq -64(%rbp), %r13 .p2align 4, 0x90 LBB0_2: ## =>This Inner Loop Header: Depth=1 movq 8(%rbx), %rdi movl (%rbx), %eax leal 4(,%rax,4), %esi callq _realloc testq %rax, %rax je LBB0_7 ## %bb.3: ## in Loop: Header=BB0_2 Depth=1 movq %rax, 8(%rbx) movq %r14, %rdi movq %r12, %rsi movl $10, %edx callq _strtol movq -56(%rbp), %rcx cmpb $0, (%rcx) setne %cl testq %rax, %rax sets %dl testb %dl, %cl jne LBB0_8 ## %bb.4: ## in Loop: Header=BB0_2 Depth=1 movq _INT_MAX@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax jg LBB0_8 ## %bb.5: ## in Loop: Header=BB0_2 Depth=1 movq 8(%rbx), %rcx movslq (%rbx), %rdx leal 1(%rdx), %esi movl %esi, (%rbx) movl %eax, (%rcx,%rdx,4) xorl %edi, %edi movq %r15, %rsi movq %r13, %rdx callq _strtok_r movq %rax, %r14 testq %rax, %rax jne LBB0_2 LBB0_6: movq -48(%rbp), %rdi ## 8-byte Reload callq _free xorl %eax, %eax jmp LBB0_10 LBB0_7: movq %rbx, %rdi callq _der_free_oid movq -48(%rbp), %rdi ## 8-byte Reload callq _free movq _ENOMEM@GOTPCREL(%rip), %rax jmp LBB0_9 LBB0_8: movq %rbx, %rdi callq _der_free_oid movq -48(%rbp), %rdi ## 8-byte Reload callq _free movq _EINVAL@GOTPCREL(%rip), %rax LBB0_9: movl (%rax), %eax LBB0_10: addq $24, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "." .comm _ENOMEM,4,2 ## @ENOMEM .comm _INT_MAX,8,3 ## @INT_MAX .comm _EINVAL,4,2 ## @EINVAL .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _der_parse_heim_oid ; -- Begin function der_parse_heim_oid .p2align 2 _der_parse_heim_oid: ; @der_parse_heim_oid .cfi_startproc ; %bb.0: sub sp, sp, #80 stp x24, x23, [sp, #16] ; 16-byte Folded Spill stp x22, x21, [sp, #32] ; 16-byte Folded Spill stp x20, x19, [sp, #48] ; 16-byte Folded Spill stp x29, x30, [sp, #64] ; 16-byte Folded Spill add x29, sp, #64 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 mov x19, x2 str wzr, [x2] str xzr, [x2, #8] Lloh0: adrp x8, l_.str@PAGE Lloh1: add x8, x8, l_.str@PAGEOFF cmp x1, #0 csel x21, xzr, x8, eq bl _strdup mov x20, x0 add x2, sp, #8 mov x1, x21 bl _strtok_r cbz x0, LBB0_5 ; %bb.1: mov x22, x0 Lloh2: adrp x23, _INT_MAX@GOTPAGE Lloh3: ldr x23, [x23, _INT_MAX@GOTPAGEOFF] LBB0_2: ; =>This Inner Loop Header: Depth=1 ldr x0, [x19, #8] ldr w8, [x19] lsl w8, w8, #2 add w1, w8, #4 bl _realloc cbz x0, LBB0_6 ; %bb.3: ; in Loop: Header=BB0_2 Depth=1 str x0, [x19, #8] mov x1, sp mov x0, x22 mov w2, #10 ; =0xa bl _strtol ldr x8, [sp] ldrb w8, [x8] cmp x0, #0 ccmp w8, #0, #4, lt ldr x8, [x23] ccmp x0, x8, #0, eq b.gt LBB0_7 ; %bb.4: ; in Loop: Header=BB0_2 Depth=1 ldr x8, [x19, #8] ldrsw x9, [x19] add w10, w9, #1 str w10, [x19] str w0, [x8, x9, lsl #2] add x2, sp, #8 mov x0, #0 ; =0x0 mov x1, x21 bl _strtok_r mov x22, x0 cbnz x0, LBB0_2 LBB0_5: mov x0, x20 bl _free mov w0, #0 ; =0x0 b LBB0_9 LBB0_6: mov x0, x19 bl _der_free_oid mov x0, x20 bl _free Lloh4: adrp x8, _ENOMEM@GOTPAGE Lloh5: ldr x8, [x8, _ENOMEM@GOTPAGEOFF] b LBB0_8 LBB0_7: mov x0, x19 bl _der_free_oid mov x0, x20 bl _free Lloh6: adrp x8, _EINVAL@GOTPAGE Lloh7: ldr x8, [x8, _EINVAL@GOTPAGEOFF] LBB0_8: ldr w0, [x8] LBB0_9: ldp x29, x30, [sp, #64] ; 16-byte Folded Reload ldp x20, x19, [sp, #48] ; 16-byte Folded Reload ldp x22, x21, [sp, #32] ; 16-byte Folded Reload ldp x24, x23, [sp, #16] ; 16-byte Folded Reload add sp, sp, #80 ret .loh AdrpAdd Lloh0, Lloh1 .loh AdrpLdrGot Lloh2, Lloh3 .loh AdrpLdrGot Lloh4, Lloh5 .loh AdrpLdrGot Lloh6, Lloh7 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "." .comm _ENOMEM,4,2 ; @ENOMEM .comm _INT_MAX,8,3 ; @INT_MAX .comm _EINVAL,4,2 ; @EINVAL .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function simpleNext _simpleNext: ## @simpleNext .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $88, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %r9, -112(%rbp) ## 8-byte Spill movq %r8, -104(%rbp) ## 8-byte Spill movq %rcx, -96(%rbp) ## 8-byte Spill movq %rdx, -88(%rbp) ## 8-byte Spill movq %rsi, -80(%rbp) ## 8-byte Spill movq %rdi, %rbx movq (%rdi), %r14 movq 40(%rdi), %r12 ## implicit-def: $eax ## kill: killed $eax movq %r14, -72(%rbp) ## 8-byte Spill jmp LBB0_1 .p2align 4, 0x90 LBB0_17: ## in Loop: Header=BB0_1 Depth=1 movq 24(%rbx), %rax movq -80(%rbp), %rcx ## 8-byte Reload movq %rax, (%rcx) movq -88(%rbp), %rax ## 8-byte Reload movq -56(%rbp), %rcx ## 8-byte Reload movl %ecx, (%rax) movq -96(%rbp), %rax ## 8-byte Reload movl %r13d, (%rax) movl (%rbx), %eax movq -104(%rbp), %rcx ## 8-byte Reload movl %eax, (%rcx) movl 32(%rbx), %eax leal 1(%rax), %ecx movl %ecx, 32(%rbx) movq -112(%rbp), %rcx ## 8-byte Reload movl %eax, (%rcx) movq _SQLITE_OK@GOTPCREL(%rip), %rcx movq -72(%rbp), %r14 ## 8-byte Reload LBB0_18: ## in Loop: Header=BB0_1 Depth=1 movl (%rcx), %eax movl %eax, -48(%rbp) ## 4-byte Spill movq -64(%rbp), %rax ## 8-byte Reload LBB0_19: ## in Loop: Header=BB0_1 Depth=1 cmpq %rax, %r15 ja LBB0_21 LBB0_1: ## =>This Loop Header: Depth=1 ## Child Loop BB0_2 Depth 2 ## Child Loop BB0_7 Depth 2 ## Child Loop BB0_14 Depth 2 movq (%rbx), %r13 movq 8(%rbx), %rcx cmpq %rcx, %r13 jb LBB0_2 jmp LBB0_20 .p2align 4, 0x90 LBB0_4: ## in Loop: Header=BB0_2 Depth=2 decq %r13 movq %r13, (%rbx) LBB0_2: ## Parent Loop BB0_1 Depth=1 ## => This Inner Loop Header: Depth=2 cmpq %rcx, %r13 jb LBB0_4 ## %bb.3: ## in Loop: Header=BB0_2 Depth=2 movzbl (%r12,%r13), %esi movq %r14, %rdi callq _isDelim movq (%rbx), %r13 movq 8(%rbx), %rcx testq %rax, %rax jne LBB0_4 ## %bb.5: ## in Loop: Header=BB0_1 Depth=1 movq %r13, %r15 cmpq %rcx, %r13 jae LBB0_9 ## %bb.6: ## in Loop: Header=BB0_1 Depth=1 movq %r13, %r15 .p2align 4, 0x90 LBB0_7: ## Parent Loop BB0_1 Depth=1 ## => This Inner Loop Header: Depth=2 movzbl (%r12,%r15), %esi movq %r14, %rdi callq _isDelim movq (%rbx), %r15 testq %rax, %rax jne LBB0_9 ## %bb.8: ## in Loop: Header=BB0_7 Depth=2 incq %r15 movq %r15, (%rbx) cmpq 8(%rbx), %r15 jb LBB0_7 LBB0_9: ## in Loop: Header=BB0_1 Depth=1 movslq %r13d, %rax cmpq %rax, %r15 jbe LBB0_19 ## %bb.10: ## in Loop: Header=BB0_1 Depth=1 movq %rax, -64(%rbp) ## 8-byte Spill movq %r15, %rax subq %r13, %rax cmpl %eax, 16(%rbx) movq %rax, -56(%rbp) ## 8-byte Spill jge LBB0_12 ## %bb.11: ## in Loop: Header=BB0_1 Depth=1 leal 20(%rax), %esi movl %esi, 16(%rbx) movq 24(%rbx), %rdi callq _realloc movq %rax, 24(%rbx) movq _SQLITE_NOMEM@GOTPCREL(%rip), %rcx testq %rax, %rax movq -56(%rbp), %rax ## 8-byte Reload jne LBB0_18 LBB0_12: ## in Loop: Header=BB0_1 Depth=1 testl %eax, %eax jle LBB0_17 ## %bb.13: ## in Loop: Header=BB0_1 Depth=1 movq -56(%rbp), %rax ## 8-byte Reload ## kill: def $eax killed $eax killed $rax def $rax andl $2147483647, %eax ## imm = 0x7FFFFFFF movq %rax, -48(%rbp) ## 8-byte Spill movq -64(%rbp), %rax ## 8-byte Reload addq %r12, %rax movq %rax, -120(%rbp) ## 8-byte Spill xorl %r14d, %r14d jmp LBB0_14 .p2align 4, 0x90 LBB0_16: ## in Loop: Header=BB0_14 Depth=2 movq 24(%rbx), %rcx movb %al, (%rcx,%r14) incq %r14 cmpq %r14, -48(%rbp) ## 8-byte Folded Reload je LBB0_17 LBB0_14: ## Parent Loop BB0_1 Depth=1 ## => This Inner Loop Header: Depth=2 movq -120(%rbp), %rax ## 8-byte Reload movzbl (%rax,%r14), %eax testb %al, %al js LBB0_16 ## %bb.15: ## in Loop: Header=BB0_14 Depth=2 movzbl %al, %edi callq _tolower jmp LBB0_16 LBB0_20: movq _SQLITE_DONE@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -48(%rbp) ## 4-byte Spill LBB0_21: movl -48(%rbp), %eax ## 4-byte Reload addq $88, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _SQLITE_NOMEM,4,2 ## @SQLITE_NOMEM .comm _SQLITE_OK,4,2 ## @SQLITE_OK .comm _SQLITE_DONE,4,2 ## @SQLITE_DONE .no_dead_strip _simpleNext .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function simpleNext _simpleNext: ; @simpleNext .cfi_startproc ; %bb.0: sub sp, sp, #144 stp x28, x27, [sp, #48] ; 16-byte Folded Spill stp x26, x25, [sp, #64] ; 16-byte Folded Spill stp x24, x23, [sp, #80] ; 16-byte Folded Spill stp x22, x21, [sp, #96] ; 16-byte Folded Spill stp x20, x19, [sp, #112] ; 16-byte Folded Spill stp x29, x30, [sp, #128] ; 16-byte Folded Spill add x29, sp, #128 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset w27, -88 .cfi_offset w28, -96 stp x4, x5, [sp, #32] ; 16-byte Folded Spill stp x2, x3, [sp, #16] ; 16-byte Folded Spill str x1, [sp, #8] ; 8-byte Folded Spill mov x24, x0 ldr x25, [x0] ldr x27, [x0, #40] ; implicit-def: $w26 b LBB0_4 LBB0_1: ; in Loop: Header=BB0_4 Depth=1 ldr x8, [x24, #24] ldr x9, [sp, #8] ; 8-byte Folded Reload str x8, [x9] ldp x9, x8, [sp, #16] ; 16-byte Folded Reload str w26, [x9] str w28, [x8] ldr x8, [x24] ldr x9, [sp, #32] ; 8-byte Folded Reload str w8, [x9] ldr w8, [x24, #32] add w9, w8, #1 str w9, [x24, #32] ldr x9, [sp, #40] ; 8-byte Folded Reload str w8, [x9] Lloh0: adrp x8, _SQLITE_OK@GOTPAGE Lloh1: ldr x8, [x8, _SQLITE_OK@GOTPAGEOFF] LBB0_2: ; in Loop: Header=BB0_4 Depth=1 ldr w26, [x8] LBB0_3: ; in Loop: Header=BB0_4 Depth=1 cmp x19, x20 b.hi LBB0_21 LBB0_4: ; =>This Loop Header: Depth=1 ; Child Loop BB0_6 Depth 2 ; Child Loop BB0_10 Depth 2 ; Child Loop BB0_18 Depth 2 ldp x28, x8, [x24] cmp x28, x8 b.lo LBB0_6 b LBB0_20 LBB0_5: ; in Loop: Header=BB0_6 Depth=2 sub x28, x28, #1 str x28, [x24] LBB0_6: ; Parent Loop BB0_4 Depth=1 ; => This Inner Loop Header: Depth=2 cmp x28, x8 b.lo LBB0_5 ; %bb.7: ; in Loop: Header=BB0_6 Depth=2 ldrb w1, [x27, x28] mov x0, x25 bl _isDelim ldp x28, x8, [x24] cbnz x0, LBB0_5 ; %bb.8: ; in Loop: Header=BB0_4 Depth=1 mov x19, x28 cmp x28, x8 b.hs LBB0_12 ; %bb.9: ; in Loop: Header=BB0_4 Depth=1 mov x19, x28 LBB0_10: ; Parent Loop BB0_4 Depth=1 ; => This Inner Loop Header: Depth=2 ldrb w1, [x27, x19] mov x0, x25 bl _isDelim ldr x19, [x24] cbnz x0, LBB0_12 ; %bb.11: ; in Loop: Header=BB0_10 Depth=2 add x19, x19, #1 str x19, [x24] ldr x8, [x24, #8] cmp x19, x8 b.lo LBB0_10 LBB0_12: ; in Loop: Header=BB0_4 Depth=1 sxtw x20, w28 cmp x19, x20 b.ls LBB0_3 ; %bb.13: ; in Loop: Header=BB0_4 Depth=1 ldr w8, [x24, #16] sub x26, x19, x28 cmp w8, w26 b.ge LBB0_15 ; %bb.14: ; in Loop: Header=BB0_4 Depth=1 add w1, w26, #20 str w1, [x24, #16] ldr x0, [x24, #24] bl _realloc str x0, [x24, #24] Lloh2: adrp x8, _SQLITE_NOMEM@GOTPAGE Lloh3: ldr x8, [x8, _SQLITE_NOMEM@GOTPAGEOFF] cbnz x0, LBB0_2 LBB0_15: ; in Loop: Header=BB0_4 Depth=1 cmp w26, #1 b.lt LBB0_1 ; %bb.16: ; in Loop: Header=BB0_4 Depth=1 mov x21, #0 ; =0x0 and x22, x26, #0x7fffffff add x23, x27, x20 b LBB0_18 LBB0_17: ; in Loop: Header=BB0_18 Depth=2 ldr x8, [x24, #24] strb w0, [x8, x21] add x21, x21, #1 cmp x22, x21 b.eq LBB0_1 LBB0_18: ; Parent Loop BB0_4 Depth=1 ; => This Inner Loop Header: Depth=2 ldrsb w8, [x23, x21] and w0, w8, #0xff tbnz w8, #31, LBB0_17 ; %bb.19: ; in Loop: Header=BB0_18 Depth=2 bl _tolower b LBB0_17 LBB0_20: Lloh4: adrp x8, _SQLITE_DONE@GOTPAGE Lloh5: ldr x8, [x8, _SQLITE_DONE@GOTPAGEOFF] Lloh6: ldr w26, [x8] LBB0_21: mov x0, x26 ldp x29, x30, [sp, #128] ; 16-byte Folded Reload ldp x20, x19, [sp, #112] ; 16-byte Folded Reload ldp x22, x21, [sp, #96] ; 16-byte Folded Reload ldp x24, x23, [sp, #80] ; 16-byte Folded Reload ldp x26, x25, [sp, #64] ; 16-byte Folded Reload ldp x28, x27, [sp, #48] ; 16-byte Folded Reload add sp, sp, #144 ret .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGot Lloh2, Lloh3 .loh AdrpLdrGotLdr Lloh4, Lloh5, Lloh6 .cfi_endproc ; -- End function .comm _SQLITE_NOMEM,4,2 ; @SQLITE_NOMEM .comm _SQLITE_OK,4,2 ; @SQLITE_OK .comm _SQLITE_DONE,4,2 ; @SQLITE_DONE .no_dead_strip _simpleNext .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .section __TEXT,__literal16,16byte_literals .p2align 4, 0x0 ## -- Begin function parse_pipes LCPI0_0: .long 1 ## 0x1 .space 4 .space 4 .space 4 .section __TEXT,__literal4,4byte_literals LCPI0_1: .space 4,1 .section __TEXT,__text,regular,pure_instructions .p2align 4, 0x90 _parse_pipes: ## @parse_pipes .cfi_startproc ## %bb.0: 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 $58, %esi callq _index movq %rax, %r14 movq _glob_arg@GOTPCREL(%rip), %r12 movl (%r12), %edx leaq L_.str(%rip), %rdi movq %rbx, %rsi callq _ND movl (%r12), %ecx movq _groups@GOTPCREL(%rip), %r15 movq (%r15), %rax testl %ecx, %ecx jle LBB0_3 ## %bb.1: leaq (%rcx,%rcx,2), %rcx leaq 12(,%rcx,4), %rsi movq %rax, %rdi callq _realloc movq %rax, (%r15) testq %rax, %rax je LBB0_11 ## %bb.2: movl (%r12), %ecx LBB0_3: movslq %ecx, %rcx leaq (%rcx,%rcx,2), %rcx leaq (%rax,%rcx,4), %r15 movq %r15, %rdi xorl %esi, %esi movl $12, %edx callq _memset testq %r14, %r14 je LBB0_8 ## %bb.4: movq %r14, %rdx subq %rbx, %rdx movq _MAX_IFNAMELEN@GOTPCREL(%rip), %rax movslq (%rax), %rax addq $-8, %rax cmpq %rax, %rdx jle LBB0_6 ## %bb.5: leaq L_.str.2(%rip), %rdi jmp LBB0_15 LBB0_6: cmpq %rbx, %r14 je LBB0_14 ## %bb.7: movl 8(%r15), %edi movq %rbx, %rsi ## kill: def $edx killed $edx killed $rdx callq _strncpy movl $1, (%r15) decq %r14 movq %r14, %rbx LBB0_8: cmpb $0, (%rbx) je LBB0_12 ## %bb.9: movq %rbx, %rdi callq _atoi movl %eax, 4(%r15) testl %eax, %eax jg LBB0_13 ## %bb.10: leaq L_.str.4(%rip), %rdi jmp LBB0_15 LBB0_11: leaq L_.str.1(%rip), %rdi xorl %eax, %eax callq _D jmp LBB0_16 LBB0_12: movq _DEF_OUT_PIPES@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, 4(%r15) LBB0_13: pmovsxbd LCPI0_1(%rip), %xmm0 ## xmm0 = [1,1,1,1] pinsrd $1, %eax, %xmm0 movq (%r12), %xmm1 ## xmm1 = mem[0],zero paddd %xmm1, %xmm0 movq %xmm0, (%r12) xorl %eax, %eax jmp LBB0_17 LBB0_14: leaq L_.str.3(%rip), %rdi LBB0_15: movq %rbx, %rsi xorl %eax, %eax callq _D LBB0_16: movl $1, %eax LBB0_17: popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "spec %s num_groups %d" .comm _glob_arg,8,2 ## @glob_arg .comm _groups,8,3 ## @groups L_.str.1: ## @.str.1 .asciz "out of memory" .comm _MAX_IFNAMELEN,4,2 ## @MAX_IFNAMELEN L_.str.2: ## @.str.2 .asciz "name '%s' too long" L_.str.3: ## @.str.3 .asciz "missing prefix before ':' in '%s'" .comm _DEF_OUT_PIPES,4,2 ## @DEF_OUT_PIPES L_.str.4: ## @.str.4 .asciz "invalid number of pipes '%s' (must be at least 1)" .no_dead_strip _parse_pipes .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function parse_pipes _parse_pipes: ; @parse_pipes .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 mov w1, #58 ; =0x3a bl _index mov x20, x0 Lloh0: adrp x22, _glob_arg@GOTPAGE Lloh1: ldr x22, [x22, _glob_arg@GOTPAGEOFF] ldr w2, [x22] Lloh2: adrp x0, l_.str@PAGE Lloh3: add x0, x0, l_.str@PAGEOFF mov x1, x19 bl _ND ldr w8, [x22] Lloh4: adrp x21, _groups@GOTPAGE Lloh5: ldr x21, [x21, _groups@GOTPAGEOFF] ldr x0, [x21] cmp w8, #1 b.lt LBB0_3 ; %bb.1: mov w9, #12 ; =0xc umull x8, w8, w9 add x1, x8, #12 bl _realloc str x0, [x21] cbz x0, LBB0_11 ; %bb.2: ldr w8, [x22] LBB0_3: mov w9, #12 ; =0xc smaddl x21, w8, w9, x0 mov x0, x21 mov w1, #0 ; =0x0 mov w2, #12 ; =0xc bl _memset cbz x20, LBB0_8 ; %bb.4: Lloh6: adrp x8, _MAX_IFNAMELEN@GOTPAGE Lloh7: ldr x8, [x8, _MAX_IFNAMELEN@GOTPAGEOFF] Lloh8: ldrsw x8, [x8] sub x8, x8, #8 sub x2, x20, x19 cmp x2, x8 b.le LBB0_6 ; %bb.5: str x19, [sp] Lloh9: adrp x0, l_.str.2@PAGE Lloh10: add x0, x0, l_.str.2@PAGEOFF b LBB0_15 LBB0_6: cmp x20, x19 b.eq LBB0_14 ; %bb.7: ldr w0, [x21, #8] mov x1, x19 ; kill: def $w2 killed $w2 killed $x2 bl _strncpy mov w8, #1 ; =0x1 str w8, [x21] sub x19, x20, #1 LBB0_8: ldrb w8, [x19] cbz w8, LBB0_12 ; %bb.9: mov x0, x19 bl _atoi mov x8, x0 str w0, [x21, #4] cmp w0, #0 b.gt LBB0_13 ; %bb.10: str x19, [sp] Lloh11: adrp x0, l_.str.4@PAGE Lloh12: add x0, x0, l_.str.4@PAGEOFF b LBB0_15 LBB0_11: Lloh13: adrp x0, l_.str.1@PAGE Lloh14: add x0, x0, l_.str.1@PAGEOFF b LBB0_15 LBB0_12: Lloh15: adrp x8, _DEF_OUT_PIPES@GOTPAGE Lloh16: ldr x8, [x8, _DEF_OUT_PIPES@GOTPAGEOFF] Lloh17: ldr w8, [x8] str w8, [x21, #4] LBB0_13: mov w0, #0 ; =0x0 ldr d0, [x22] movi.2s v1, #1 mov.s v1[1], w8 add.2s v0, v0, v1 str d0, [x22] b LBB0_16 LBB0_14: str x19, [sp] Lloh18: adrp x0, l_.str.3@PAGE Lloh19: add x0, x0, l_.str.3@PAGEOFF LBB0_15: bl _D mov w0, #1 ; =0x1 LBB0_16: ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload add sp, sp, #64 ret .loh AdrpLdrGot Lloh4, Lloh5 .loh AdrpAdd Lloh2, Lloh3 .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpAdd Lloh9, Lloh10 .loh AdrpAdd Lloh11, Lloh12 .loh AdrpAdd Lloh13, Lloh14 .loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17 .loh AdrpAdd Lloh18, Lloh19 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "spec %s num_groups %d" .comm _glob_arg,8,2 ; @glob_arg .comm _groups,8,3 ; @groups l_.str.1: ; @.str.1 .asciz "out of memory" .comm _MAX_IFNAMELEN,4,2 ; @MAX_IFNAMELEN l_.str.2: ; @.str.2 .asciz "name '%s' too long" l_.str.3: ; @.str.3 .asciz "missing prefix before ':' in '%s'" .comm _DEF_OUT_PIPES,4,2 ; @DEF_OUT_PIPES l_.str.4: ; @.str.4 .asciz "invalid number of pipes '%s' (must be at least 1)" .no_dead_strip _parse_pipes .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _PQunescapeBytea ## -- Begin function PQunescapeBytea .p2align 4, 0x90 _PQunescapeBytea: ## @PQunescapeBytea .cfi_startproc ## %bb.0: testq %rdi, %rdi je LBB0_2 ## %bb.1: xorl %eax, %eax retq LBB0_2: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rsi, -48(%rbp) ## 8-byte Spill xorl %edi, %edi callq _strlen cmpb $120, 1 jne LBB0_14 ## %bb.3: addq $-2, %rax movq %rax, %rcx shrq %rcx cmpq $2, %rax movl $1, %edi cmovaeq %rcx, %rdi callq _malloc testq %rax, %rax je LBB0_21 ## %bb.4: movq %rax, %rbx movzbl 2, %edi movq %rax, %r12 testb %dil, %dil je LBB0_16 ## %bb.5: movl $2, %r15d movq %rbx, %r12 jmp LBB0_8 .p2align 4, 0x90 LBB0_6: ## in Loop: Header=BB0_8 Depth=1 movq %r13, %r15 testb %dil, %dil je LBB0_16 LBB0_8: ## =>This Inner Loop Header: Depth=1 leaq -1(%r15), %r13 movzbl %dil, %edi callq _get_hex movzbl -1(%r15), %edi testl %edi, %edi je LBB0_6 ## %bb.9: ## in Loop: Header=BB0_8 Depth=1 movl %eax, %r14d cmpb $-1, %al je LBB0_6 ## %bb.10: ## in Loop: Header=BB0_8 Depth=1 callq _get_hex cmpb $-1, %al je LBB0_12 ## %bb.11: ## in Loop: Header=BB0_8 Depth=1 shlb $4, %r14b andb %r14b, %al movb %al, (%r12) incq %r12 LBB0_12: ## in Loop: Header=BB0_8 Depth=1 movzbl (%r15), %edi testb %dil, %dil jne LBB0_8 LBB0_16: subq %rbx, %r12 jmp LBB0_17 LBB0_14: incq %rax movq %rax, %rdi callq _malloc testq %rax, %rax je LBB0_21 ## %bb.15: movq %rax, %rbx xorl %r12d, %r12d LBB0_17: leaq 1(%r12), %rsi movq %rbx, %rdi callq _realloc testq %rax, %rax je LBB0_19 ## %bb.18: movq -48(%rbp), %rcx ## 8-byte Reload movq %r12, (%rcx) jmp LBB0_22 LBB0_19: movq %rbx, %rdi callq _free LBB0_21: xorl %eax, %eax LBB0_22: 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 _PQunescapeBytea ; -- Begin function PQunescapeBytea .p2align 2 _PQunescapeBytea: ; @PQunescapeBytea .cfi_startproc ; %bb.0: cbz x0, LBB0_2 ; %bb.1: mov x0, #0 ; =0x0 ret LBB0_2: stp 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 bl _strlen mov w8, #1 ; =0x1 ldrb w8, [x8] cmp w8, #120 b.ne LBB0_12 ; %bb.3: sub x8, x0, #2 lsr x9, x8, #1 cmp x8, #2 csinc x0, x9, xzr, hs bl _malloc cbz x0, LBB0_17 ; %bb.4: mov x19, x0 mov w8, #2 ; =0x2 ldrb w0, [x8] mov x22, x19 cbz w0, LBB0_11 ; %bb.5: mov w23, #2 ; =0x2 mov x22, x19 b LBB0_7 LBB0_6: ; in Loop: Header=BB0_7 Depth=1 mov x23, x8 cbz w0, LBB0_11 LBB0_7: ; =>This Inner Loop Header: Depth=1 bl _get_hex mov x20, x0 mov x8, x23 ldrb w0, [x8, #-1]! cmp w0, #0 ccmn w20, #1, #4, ne b.eq LBB0_6 ; %bb.8: ; in Loop: Header=BB0_7 Depth=1 bl _get_hex cmn w0, #1 b.eq LBB0_10 ; %bb.9: ; in Loop: Header=BB0_7 Depth=1 and w8, w0, w20, lsl #4 strb w8, [x22], #1 LBB0_10: ; in Loop: Header=BB0_7 Depth=1 ldrb w0, [x23] cbnz w0, LBB0_7 LBB0_11: sub x20, x22, x19 b LBB0_14 LBB0_12: add x0, x0, #1 bl _malloc cbz x0, LBB0_17 ; %bb.13: mov x19, x0 mov x20, #0 ; =0x0 LBB0_14: add x1, x20, #1 mov x0, x19 bl _realloc cbz x0, LBB0_16 ; %bb.15: str x20, [x21] b LBB0_17 LBB0_16: mov x0, x19 bl _free mov x0, #0 ; =0x0 LBB0_17: ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload ldp x24, x23, [sp], #64 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function decode_file_layout_handles _decode_file_layout_handles: ## @decode_file_layout_handles .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rsi, %rbx movq %rdi, %r14 leaq -44(%rbp), %rsi callq _xdr_u_int32_t movq _FALSE@GOTPCREL(%rip), %r15 testl %eax, %eax je LBB0_10 ## %bb.1: movl -44(%rbp), %esi testl %esi, %esi jne LBB0_3 ## %bb.2: cmpl $0, (%rbx) je LBB0_5 LBB0_3: movq 8(%rbx), %rdi shll $2, %esi callq _realloc testq %rax, %rax jne LBB0_10 ## %bb.4: movq $0, 8(%rbx) movl -44(%rbp), %esi shll $2, %esi xorl %edi, %edi callq _ZeroMemory movl -44(%rbp), %eax movl %eax, (%rbx) testl %eax, %eax js LBB0_9 LBB0_5: movq $-1, %r12 xorl %r13d, %r13d .p2align 4, 0x90 LBB0_6: ## =>This Inner Loop Header: Depth=1 movq 8(%rbx), %rsi addq %r13, %rsi movq %r14, %rdi callq _xdr_fh testl %eax, %eax je LBB0_10 ## %bb.7: ## in Loop: Header=BB0_6 Depth=1 movslq (%rbx), %rax incq %r12 addq $4, %r13 cmpq %rax, %r12 jl LBB0_6 LBB0_9: movq _TRUE@GOTPCREL(%rip), %r15 LBB0_10: movl (%r15), %eax addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _FALSE,4,2 ## @FALSE .comm _TRUE,4,2 ## @TRUE .no_dead_strip _decode_file_layout_handles .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function decode_file_layout_handles _decode_file_layout_handles: ; @decode_file_layout_handles .cfi_startproc ; %bb.0: sub sp, sp, #80 stp x24, x23, [sp, #16] ; 16-byte Folded Spill stp x22, x21, [sp, #32] ; 16-byte Folded Spill stp x20, x19, [sp, #48] ; 16-byte Folded Spill stp x29, x30, [sp, #64] ; 16-byte Folded Spill add x29, sp, #64 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 mov x19, x1 mov x20, x0 add x1, sp, #12 bl _xdr_u_int32_t cbz w0, LBB0_4 ; %bb.1: ldr w8, [sp, #12] cbnz w8, LBB0_3 ; %bb.2: ldr w9, [x19] cbz w9, LBB0_7 LBB0_3: ldr x0, [x19, #8] lsl w1, w8, #2 bl _realloc cbz x0, LBB0_6 LBB0_4: Lloh0: adrp x21, _FALSE@GOTPAGE Lloh1: ldr x21, [x21, _FALSE@GOTPAGEOFF] LBB0_5: ldr w0, [x21] ldp x29, x30, [sp, #64] ; 16-byte Folded Reload ldp x20, x19, [sp, #48] ; 16-byte Folded Reload ldp x22, x21, [sp, #32] ; 16-byte Folded Reload ldp x24, x23, [sp, #16] ; 16-byte Folded Reload add sp, sp, #80 ret LBB0_6: str xzr, [x19, #8] ldr w8, [sp, #12] lsl w1, w8, #2 bl _ZeroMemory ldr w8, [sp, #12] str w8, [x19] tbnz w8, #31, LBB0_11 LBB0_7: mov x22, #0 ; =0x0 mov x23, #-1 ; =0xffffffffffffffff Lloh2: adrp x24, _FALSE@GOTPAGE Lloh3: ldr x24, [x24, _FALSE@GOTPAGEOFF] Lloh4: adrp x21, _TRUE@GOTPAGE Lloh5: ldr x21, [x21, _TRUE@GOTPAGEOFF] LBB0_8: ; =>This Inner Loop Header: Depth=1 ldr x8, [x19, #8] add x1, x8, x22 mov x0, x20 bl _xdr_fh cbz w0, LBB0_10 ; %bb.9: ; in Loop: Header=BB0_8 Depth=1 ldrsw x8, [x19] add x23, x23, #1 add x22, x22, #4 cmp x23, x8 b.lt LBB0_8 b LBB0_5 LBB0_10: mov x21, x24 b LBB0_5 LBB0_11: Lloh6: adrp x21, _TRUE@GOTPAGE Lloh7: ldr x21, [x21, _TRUE@GOTPAGEOFF] b LBB0_5 .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGot Lloh4, Lloh5 .loh AdrpLdrGot Lloh2, Lloh3 .loh AdrpLdrGot Lloh6, Lloh7 .cfi_endproc ; -- End function .comm _FALSE,4,2 ; @FALSE .comm _TRUE,4,2 ; @TRUE .no_dead_strip _decode_file_layout_handles .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function add_file _add_file: ## @add_file .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdx, %r14 movq %rsi, %rbx movq %rdi, %r15 movq (%rdi), %r12 movl (%rsi), %eax testl %eax, %eax jle LBB0_6 ## %bb.1: xorl %r13d, %r13d .p2align 4, 0x90 LBB0_3: ## =>This Inner Loop Header: Depth=1 movq (%r12,%r13,8), %rdi movq %r14, %rsi callq _strcmp testq %rax, %rax je LBB0_4 ## %bb.2: ## in Loop: Header=BB0_3 Depth=1 incq %r13 movslq (%rbx), %rax cmpq %rax, %r13 jl LBB0_3 ## %bb.5: movq (%r15), %r12 LBB0_6: leal -16(,%rax,8), %esi movq %r12, %rdi callq _realloc testq %rax, %rax je LBB0_8 ## %bb.7: movq %r14, %rdi callq _free movq _ENOMEM@GOTPCREL(%rip), %rax movl (%rax), %eax jmp LBB0_10 LBB0_4: movq %r14, %rdi callq _free jmp LBB0_9 LBB0_8: movslq (%rbx), %rax xorps %xmm0, %xmm0 movups %xmm0, (,%rax,8) movq $0, (%r15) incl %eax movl %eax, (%rbx) LBB0_9: xorl %eax, %eax LBB0_10: addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _ENOMEM,4,2 ## @ENOMEM .no_dead_strip _add_file .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function add_file _add_file: ; @add_file .cfi_startproc ; %bb.0: stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill stp x22, x21, [sp, #16] ; 16-byte Folded Spill stp x20, x19, [sp, #32] ; 16-byte Folded Spill stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 mov x21, x2 mov x19, x1 mov x20, x0 ldr x22, [x0] ldr w8, [x1] cmp w8, #1 b.lt LBB0_5 ; %bb.1: mov x23, #0 ; =0x0 LBB0_2: ; =>This Inner Loop Header: Depth=1 ldr x0, [x22, x23, lsl #3] mov x1, x21 bl _strcmp cbz x0, LBB0_7 ; %bb.3: ; in Loop: Header=BB0_2 Depth=1 add x23, x23, #1 ldrsw x8, [x19] cmp x23, x8 b.lt LBB0_2 ; %bb.4: ldr x22, [x20] LBB0_5: lsl w8, w8, #3 sub w1, w8, #16 mov x0, x22 bl _realloc cbz x0, LBB0_8 ; %bb.6: mov x0, x21 bl _free Lloh0: adrp x8, _ENOMEM@GOTPAGE Lloh1: ldr x8, [x8, _ENOMEM@GOTPAGEOFF] Lloh2: ldr w0, [x8] b LBB0_9 LBB0_7: mov x0, x21 bl _free mov w0, #0 ; =0x0 b LBB0_9 LBB0_8: ldrsw x8, [x19] lsl x9, x8, #3 stp xzr, xzr, [x9] str xzr, [x20] add w8, w8, #1 str w8, [x19] LBB0_9: ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload ldp x24, x23, [sp], #64 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _ENOMEM,4,2 ; @ENOMEM .no_dead_strip _add_file .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _sym_expand_string_value ## -- Begin function sym_expand_string_value .p2align 4, 0x90 _sym_expand_string_value: ## @sym_expand_string_value .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $24, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdi, %rbx movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -48(%rbp) callq _strlen incl %eax movslq %eax, %rdi movq %rdi, -56(%rbp) ## 8-byte Spill callq _xmalloc movq %rax, %r14 movb $0, (%rax) movq %rbx, %rdi movl $36, %esi callq _strchr testq %rax, %rax je LBB0_11 ## %bb.1: movq %rax, %r13 jmp LBB0_2 .p2align 4, 0x90 LBB0_10: ## in Loop: Header=BB0_2 Depth=1 movq %r14, %rdi movq %r12, %rsi callq _strcat movq -64(%rbp), %rsp ## 8-byte Reload movq %rbx, %rdi movl $36, %esi callq _strchr movq %rax, %r13 testq %rax, %rax je LBB0_11 LBB0_2: ## =>This Loop Header: Depth=1 ## Child Loop BB0_4 Depth 2 movq %rsp, -64(%rbp) ## 8-byte Spill movq _SYMBOL_MAXLENGTH@GOTPCREL(%rip), %rax movl (%rax), %eax callq ____chkstk_darwin addq $15, %rax andq $-16, %rax subq %rax, %rsp movq %rsp, %r12 movl %r13d, %edx subl %ebx, %edx movq %r14, %rdi movq %rbx, %rsi callq _strncat movsbl 1(%r13), %edi movq %r13, %rbx incq %rbx callq _isalnum movq %r12, %r15 testq %rax, %rax je LBB0_6 .p2align 4, 0x90 LBB0_4: ## Parent Loop BB0_2 Depth=1 ## => This Inner Loop Header: Depth=2 cmpb $95, (%rbx) jne LBB0_6 ## %bb.5: ## in Loop: Header=BB0_4 Depth=2 movb $95, (%r15) incq %r15 movsbl 1(%rbx), %edi incq %rbx callq _isalnum testq %rax, %rax jne LBB0_4 LBB0_6: ## in Loop: Header=BB0_2 Depth=1 movb $0, (%r15) movq %r12, %rdi callq _sym_find leaq L_.str(%rip), %r12 testq %rax, %rax jne LBB0_8 ## %bb.7: ## in Loop: Header=BB0_2 Depth=1 xorl %edi, %edi callq _sym_calc_value xorl %edi, %edi callq _sym_get_string_value movq %rax, %r12 LBB0_8: ## in Loop: Header=BB0_2 Depth=1 movq %r14, %rdi callq _strlen movl %eax, %r13d movq %r12, %rdi callq _strlen movl %eax, %r15d movq %rbx, %rdi callq _strlen ## kill: def $eax killed $eax def $rax addl %r13d, %r15d addl %r15d, %eax incl %eax movslq %eax, %r13 cmpq %r13, -56(%rbp) ## 8-byte Folded Reload jae LBB0_10 ## %bb.9: ## in Loop: Header=BB0_2 Depth=1 movq %r14, %rdi movq %r13, %rsi callq _realloc movq %rax, %r14 movq %r13, -56(%rbp) ## 8-byte Spill jmp LBB0_10 LBB0_11: movq %r14, %rdi movq %rbx, %rsi callq _strcat movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax cmpq -48(%rbp), %rax jne LBB0_13 ## %bb.12: movq %r14, %rax leaq -40(%rbp), %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 _SYMBOL_MAXLENGTH,4,2 ## @SYMBOL_MAXLENGTH .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .space 1 .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _sym_expand_string_value ; -- Begin function sym_expand_string_value .p2align 2 _sym_expand_string_value: ; @sym_expand_string_value .cfi_startproc ; %bb.0: stp x28, x27, [sp, #-96]! ; 16-byte Folded Spill stp x26, x25, [sp, #16] ; 16-byte Folded Spill stp x24, x23, [sp, #32] ; 16-byte Folded Spill stp x22, x21, [sp, #48] ; 16-byte Folded Spill stp x20, x19, [sp, #64] ; 16-byte Folded Spill stp x29, x30, [sp, #80] ; 16-byte Folded Spill add x29, sp, #80 sub sp, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset w27, -88 .cfi_offset w28, -96 mov x19, x0 Lloh0: adrp x8, ___stack_chk_guard@GOTPAGE Lloh1: ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] Lloh2: ldr x8, [x8] stur x8, [x29, #-88] bl _strlen add w8, w0, #1 sxtw x21, w8 mov x0, x21 bl _xmalloc mov x20, x0 strb wzr, [x0] mov x0, x19 mov w1, #36 ; =0x24 bl _strchr cbz x0, LBB0_10 ; %bb.1: mov x23, x0 Lloh3: adrp x25, _SYMBOL_MAXLENGTH@GOTPAGE Lloh4: ldr x25, [x25, _SYMBOL_MAXLENGTH@GOTPAGEOFF] Lloh5: adrp x26, l_.str@PAGE Lloh6: add x26, x26, l_.str@PAGEOFF mov w27, #95 ; =0x5f b LBB0_3 LBB0_2: ; in Loop: Header=BB0_3 Depth=1 mov x0, x20 mov x1, x22 bl _strcat mov sp, x28 mov x0, x19 mov w1, #36 ; =0x24 bl _strchr mov x23, x0 cbz x0, LBB0_10 LBB0_3: ; =>This Loop Header: Depth=1 ; Child Loop BB0_4 Depth 2 mov x28, sp ldr w8, [x25] mov x9, x8 Lloh7: adrp x16, ___chkstk_darwin@GOTPAGE Lloh8: ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF] blr x16 mov x9, sp add x8, x8, #15 and x8, x8, #0x1fffffff0 sub x22, x9, x8 mov sp, x22 sub w2, w23, w19 mov x0, x20 mov x1, x19 bl _strncat ldrsb w0, [x23, #1]! mov x19, x23 bl _isalnum mov x23, x22 cbz x0, LBB0_6 LBB0_4: ; Parent Loop BB0_3 Depth=1 ; => This Inner Loop Header: Depth=2 ldrb w8, [x19] cmp w8, #95 b.ne LBB0_6 ; %bb.5: ; in Loop: Header=BB0_4 Depth=2 strb w27, [x23], #1 ldrsb w0, [x19, #1]! bl _isalnum cbnz x0, LBB0_4 LBB0_6: ; in Loop: Header=BB0_3 Depth=1 strb wzr, [x23] mov x0, x22 bl _sym_find mov x22, x26 cbnz x0, LBB0_8 ; %bb.7: ; in Loop: Header=BB0_3 Depth=1 bl _sym_calc_value mov x0, #0 ; =0x0 bl _sym_get_string_value mov x22, x0 LBB0_8: ; in Loop: Header=BB0_3 Depth=1 mov x0, x20 bl _strlen mov x23, x0 mov x0, x22 bl _strlen mov x24, x0 mov x0, x19 bl _strlen add w8, w23, w0 add w8, w8, w24 add w8, w8, #1 sxtw x23, w8 cmp x21, x23 b.hs LBB0_2 ; %bb.9: ; in Loop: Header=BB0_3 Depth=1 mov x0, x20 mov x1, x23 bl _realloc mov x20, x0 mov x21, x23 b LBB0_2 LBB0_10: mov x0, x20 mov x1, x19 bl _strcat ldur x8, [x29, #-88] Lloh9: adrp x9, ___stack_chk_guard@GOTPAGE Lloh10: ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF] Lloh11: ldr x9, [x9] cmp x9, x8 b.ne LBB0_12 ; %bb.11: mov x0, x20 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_12: bl ___stack_chk_fail .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpAdd Lloh5, Lloh6 .loh AdrpLdrGot Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11 .loh AdrpLdrGot Lloh7, Lloh8 .cfi_endproc ; -- End function .comm _SYMBOL_MAXLENGTH,4,2 ; @SYMBOL_MAXLENGTH .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .space 1 .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function search_loclist_at _search_loclist_at: ## @search_loclist_at .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $104, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %r9, -88(%rbp) ## 8-byte Spill movq %r8, %r12 movq %rcx, -72(%rbp) ## 8-byte Spill movq %rdx, -80(%rbp) ## 8-byte Spill movl %esi, %ebx movq %rdi, -96(%rbp) ## 8-byte Spill movl %esi, %edi callq _dwarf_get_die_infotypes_flag movl %eax, -100(%rbp) ## 4-byte Spill leaq -56(%rbp), %rsi leaq -60(%rbp), %rdx leaq -44(%rbp), %rcx movl %ebx, -104(%rbp) ## 4-byte Spill movl %ebx, %edi callq _dwarf_attrlist movq _DW_DLV_OK@GOTPCREL(%rip), %r13 cmpl (%r13), %eax jne LBB0_6 ## %bb.1: cmpl $0, -60(%rbp) js LBB0_31 ## %bb.2: xorl %r14d, %r14d leaq -136(%rbp), %rbx leaq -44(%rbp), %r15 jmp LBB0_3 .p2align 4, 0x90 LBB0_4: ## in Loop: Header=BB0_3 Depth=1 movl -44(%rbp), %edi callq _dwarf_errmsg leaq L_.str.1(%rip), %rdi LBB0_5: ## in Loop: Header=BB0_3 Depth=1 movl %eax, %esi callq _warnx LBB0_30: ## in Loop: Header=BB0_3 Depth=1 decq %r14 movslq -60(%rbp), %rax cmpq %rax, %r14 jg LBB0_31 LBB0_3: ## =>This Inner Loop Header: Depth=1 movq -56(%rbp), %rax movl (%rax,%r14,4), %edi movq %rbx, %rsi movq %r15, %rdx callq _dwarf_whatattr cmpl (%r13), %eax jne LBB0_4 ## %bb.8: ## in Loop: Header=BB0_3 Depth=1 movq -136(%rbp), %rax movq _DW_AT_location@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax je LBB0_17 ## %bb.9: ## in Loop: Header=BB0_3 Depth=1 movq _DW_AT_string_length@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax je LBB0_17 ## %bb.10: ## in Loop: Header=BB0_3 Depth=1 movq _DW_AT_return_addr@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax je LBB0_17 ## %bb.11: ## in Loop: Header=BB0_3 Depth=1 movq _DW_AT_data_member_location@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax je LBB0_17 ## %bb.12: ## in Loop: Header=BB0_3 Depth=1 movq _DW_AT_frame_base@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax je LBB0_17 ## %bb.13: ## in Loop: Header=BB0_3 Depth=1 movq _DW_AT_segment@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax je LBB0_17 ## %bb.14: ## in Loop: Header=BB0_3 Depth=1 movq _DW_AT_static_link@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax je LBB0_17 ## %bb.15: ## in Loop: Header=BB0_3 Depth=1 movq _DW_AT_use_location@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax je LBB0_17 ## %bb.16: ## in Loop: Header=BB0_3 Depth=1 movq _DW_AT_vtable_elem_location@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax jne LBB0_30 LBB0_17: ## in Loop: Header=BB0_3 Depth=1 movq -56(%rbp), %rax movl (%rax,%r14,4), %edi leaq -128(%rbp), %rsi movq %r15, %rdx callq _dwarf_whatform cmpl (%r13), %eax jne LBB0_18 ## %bb.19: ## in Loop: Header=BB0_3 Depth=1 movq -128(%rbp), %rax movq _DW_FORM_data4@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax je LBB0_21 ## %bb.20: ## in Loop: Header=BB0_3 Depth=1 movq _DW_FORM_data8@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax je LBB0_21 ## %bb.23: ## in Loop: Header=BB0_3 Depth=1 movq _DW_FORM_sec_offset@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax jne LBB0_30 ## %bb.24: ## in Loop: Header=BB0_3 Depth=1 movq -56(%rbp), %rax movl (%rax,%r14,4), %edi leaq -144(%rbp), %rsi movq %r15, %rdx callq _dwarf_global_formref cmpl (%r13), %eax jne LBB0_25 ## %bb.26: ## in Loop: Header=BB0_3 Depth=1 movq -144(%rbp), %rax movq %rax, -112(%rbp) jmp LBB0_27 LBB0_18: ## in Loop: Header=BB0_3 Depth=1 movl -44(%rbp), %edi callq _dwarf_errmsg leaq L_.str.2(%rip), %rdi jmp LBB0_5 LBB0_21: ## in Loop: Header=BB0_3 Depth=1 movq -56(%rbp), %rax movl (%rax,%r14,4), %edi leaq -112(%rbp), %rsi movq %r15, %rdx callq _dwarf_formudata cmpl (%r13), %eax jne LBB0_22 LBB0_27: ## in Loop: Header=BB0_3 Depth=1 movq -88(%rbp), %r8 ## 8-byte Reload movq (%r8), %rdx movq (%r12), %rcx movq -72(%rbp), %rsi ## 8-byte Reload movq (%rsi), %rax cmpq %rcx, %rdx jne LBB0_29 ## %bb.28: ## in Loop: Header=BB0_3 Depth=1 shlq $4, %rdx leaq (%rdx,%rdx,4), %rsi movq %rax, %rdi movq %r12, -120(%rbp) ## 8-byte Spill movq %r8, %r12 callq _realloc movq -72(%rbp), %rcx ## 8-byte Reload movq %rax, (%rcx) shlq (%r12) movq -120(%rbp), %r12 ## 8-byte Reload movq (%r12), %rcx LBB0_29: ## in Loop: Header=BB0_3 Depth=1 leaq (%rcx,%rcx,4), %rdx movq -56(%rbp), %rsi movl (%rsi,%r14,4), %esi movl %esi, 32(%rax,%rdx,8) movq -112(%rbp), %rsi movq %rsi, 24(%rax,%rdx,8) movq -80(%rbp), %rsi ## 8-byte Reload movq %rsi, 16(%rax,%rdx,8) movq -96(%rbp), %rdi ## 8-byte Reload movl 12(%rdi), %esi movl %esi, 8(%rax,%rdx,8) movq 4(%rdi), %rsi movq %rsi, (%rax,%rdx,8) incq %rcx movq %rcx, (%r12) jmp LBB0_30 LBB0_22: ## in Loop: Header=BB0_3 Depth=1 movl -44(%rbp), %edi callq _dwarf_errmsg leaq L_.str.3(%rip), %rdi jmp LBB0_5 LBB0_25: ## in Loop: Header=BB0_3 Depth=1 movl -44(%rbp), %edi callq _dwarf_errmsg leaq L_.str.4(%rip), %rdi jmp LBB0_5 LBB0_6: movq _DW_DLV_ERROR@GOTPCREL(%rip), %rcx cmpl (%rcx), %eax jne LBB0_31 ## %bb.7: movl -44(%rbp), %edi callq _dwarf_errmsg leaq L_.str(%rip), %rdi movl %eax, %esi callq _warnx LBB0_31: leaq -48(%rbp), %rsi leaq -44(%rbp), %rdx movl -104(%rbp), %r15d ## 4-byte Reload movl %r15d, %edi callq _dwarf_child movq _DW_DLV_ERROR@GOTPCREL(%rip), %rbx cmpl (%rbx), %eax jne LBB0_33 ## %bb.32: movl -44(%rbp), %edi callq _dwarf_errmsg leaq L_.str.6(%rip), %rdi movl %eax, %esi callq _warnx movq -96(%rbp), %r14 ## 8-byte Reload jmp LBB0_35 LBB0_33: cmpl (%r13), %eax movq -96(%rbp), %r14 ## 8-byte Reload jne LBB0_35 ## %bb.34: movl -48(%rbp), %esi movq %r14, %rdi movq -80(%rbp), %rdx ## 8-byte Reload movq -72(%rbp), %rcx ## 8-byte Reload movq %r12, %r8 movq -88(%rbp), %r9 ## 8-byte Reload callq _search_loclist_at LBB0_35: movl (%r14), %edi leaq -48(%rbp), %rdx leaq -44(%rbp), %r8 movl %r15d, %esi movl -100(%rbp), %ecx ## 4-byte Reload callq _dwarf_siblingof_b cmpl (%rbx), %eax jne LBB0_37 ## %bb.36: movl -44(%rbp), %edi callq _dwarf_errmsg leaq L_.str.7(%rip), %rdi movl %eax, %esi callq _warnx jmp LBB0_39 LBB0_37: cmpl (%r13), %eax jne LBB0_39 ## %bb.38: movl -48(%rbp), %esi movq %r14, %rdi movq -80(%rbp), %rdx ## 8-byte Reload movq -72(%rbp), %rcx ## 8-byte Reload movq %r12, %r8 movq -88(%rbp), %r9 ## 8-byte Reload callq _search_loclist_at LBB0_39: addq $104, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _DW_DLV_OK,4,2 ## @DW_DLV_OK .comm _DW_DLV_ERROR,4,2 ## @DW_DLV_ERROR .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "dwarf_attrlist failed: %s" L_.str.1: ## @.str.1 .asciz "dwarf_whatattr failed: %s" .comm _DW_AT_location,8,3 ## @DW_AT_location .comm _DW_AT_string_length,8,3 ## @DW_AT_string_length .comm _DW_AT_return_addr,8,3 ## @DW_AT_return_addr .comm _DW_AT_data_member_location,8,3 ## @DW_AT_data_member_location .comm _DW_AT_frame_base,8,3 ## @DW_AT_frame_base .comm _DW_AT_segment,8,3 ## @DW_AT_segment .comm _DW_AT_static_link,8,3 ## @DW_AT_static_link .comm _DW_AT_use_location,8,3 ## @DW_AT_use_location .comm _DW_AT_vtable_elem_location,8,3 ## @DW_AT_vtable_elem_location L_.str.2: ## @.str.2 .asciz "dwarf_whatform failed: %s" .comm _DW_FORM_data4,8,3 ## @DW_FORM_data4 .comm _DW_FORM_data8,8,3 ## @DW_FORM_data8 L_.str.3: ## @.str.3 .asciz "dwarf_formudata failed: %s" .comm _DW_FORM_sec_offset,8,3 ## @DW_FORM_sec_offset L_.str.4: ## @.str.4 .asciz "dwarf_global_formref failed: %s" .comm _EXIT_FAILURE,4,2 ## @EXIT_FAILURE L_.str.6: ## @.str.6 .asciz "dwarf_child: %s" L_.str.7: ## @.str.7 .asciz "dwarf_siblingof: %s" .no_dead_strip _search_loclist_at .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function search_loclist_at _search_loclist_at: ; @search_loclist_at .cfi_startproc ; %bb.0: sub sp, sp, #176 stp x28, x27, [sp, #80] ; 16-byte Folded Spill stp x26, x25, [sp, #96] ; 16-byte Folded Spill stp x24, x23, [sp, #112] ; 16-byte Folded Spill stp x22, x21, [sp, #128] ; 16-byte Folded Spill stp x20, x19, [sp, #144] ; 16-byte Folded Spill stp x29, x30, [sp, #160] ; 16-byte Folded Spill add x29, sp, #160 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset w27, -88 .cfi_offset w28, -96 str x5, [sp, #8] ; 8-byte Folded Spill mov x20, x4 mov x22, x3 mov x25, x2 mov x24, x1 mov x19, x0 mov x0, x1 bl _dwarf_get_die_infotypes_flag mov x21, x0 add x1, sp, #72 add x2, sp, #44 add x3, sp, #20 mov x0, x24 bl _dwarf_attrlist Lloh0: adrp x26, _DW_DLV_OK@GOTPAGE Lloh1: ldr x26, [x26, _DW_DLV_OK@GOTPAGEOFF] ldr w8, [x26] Lloh2: adrp x23, _DW_DLV_ERROR@GOTPAGE Lloh3: ldr x23, [x23, _DW_DLV_ERROR@GOTPAGEOFF] cmp w0, w8 b.ne LBB0_29 ; %bb.1: ldr w8, [sp, #44] tbnz w8, #31, LBB0_31 ; %bb.2: mov x28, #0 ; =0x0 Lloh4: adrp x27, _DW_AT_location@GOTPAGE Lloh5: ldr x27, [x27, _DW_AT_location@GOTPAGEOFF] b LBB0_6 LBB0_3: ; in Loop: Header=BB0_6 Depth=1 ldr w0, [sp, #20] bl _dwarf_errmsg mov x1, x0 Lloh6: adrp x0, l_.str.1@PAGE Lloh7: add x0, x0, l_.str.1@PAGEOFF LBB0_4: ; in Loop: Header=BB0_6 Depth=1 bl _warnx LBB0_5: ; in Loop: Header=BB0_6 Depth=1 sub x28, x28, #1 ldrsw x8, [sp, #44] cmp x28, x8 b.gt LBB0_31 LBB0_6: ; =>This Inner Loop Header: Depth=1 ldr x8, [sp, #72] ldr w0, [x8, x28, lsl #2] add x1, sp, #32 add x2, sp, #20 bl _dwarf_whatattr ldr w8, [x26] cmp w0, w8 b.ne LBB0_3 ; %bb.7: ; in Loop: Header=BB0_6 Depth=1 ldr x8, [sp, #32] ldr x9, [x27] cmp x8, x9 b.eq LBB0_16 ; %bb.8: ; in Loop: Header=BB0_6 Depth=1 Lloh8: adrp x9, _DW_AT_string_length@GOTPAGE Lloh9: ldr x9, [x9, _DW_AT_string_length@GOTPAGEOFF] Lloh10: ldr x9, [x9] cmp x8, x9 b.eq LBB0_16 ; %bb.9: ; in Loop: Header=BB0_6 Depth=1 Lloh11: adrp x9, _DW_AT_return_addr@GOTPAGE Lloh12: ldr x9, [x9, _DW_AT_return_addr@GOTPAGEOFF] Lloh13: ldr x9, [x9] cmp x8, x9 b.eq LBB0_16 ; %bb.10: ; in Loop: Header=BB0_6 Depth=1 Lloh14: adrp x9, _DW_AT_data_member_location@GOTPAGE Lloh15: ldr x9, [x9, _DW_AT_data_member_location@GOTPAGEOFF] Lloh16: ldr x9, [x9] cmp x8, x9 b.eq LBB0_16 ; %bb.11: ; in Loop: Header=BB0_6 Depth=1 Lloh17: adrp x9, _DW_AT_frame_base@GOTPAGE Lloh18: ldr x9, [x9, _DW_AT_frame_base@GOTPAGEOFF] Lloh19: ldr x9, [x9] cmp x8, x9 b.eq LBB0_16 ; %bb.12: ; in Loop: Header=BB0_6 Depth=1 Lloh20: adrp x9, _DW_AT_segment@GOTPAGE Lloh21: ldr x9, [x9, _DW_AT_segment@GOTPAGEOFF] Lloh22: ldr x9, [x9] cmp x8, x9 b.eq LBB0_16 ; %bb.13: ; in Loop: Header=BB0_6 Depth=1 Lloh23: adrp x9, _DW_AT_static_link@GOTPAGE Lloh24: ldr x9, [x9, _DW_AT_static_link@GOTPAGEOFF] Lloh25: ldr x9, [x9] cmp x8, x9 b.eq LBB0_16 ; %bb.14: ; in Loop: Header=BB0_6 Depth=1 Lloh26: adrp x9, _DW_AT_use_location@GOTPAGE Lloh27: ldr x9, [x9, _DW_AT_use_location@GOTPAGEOFF] Lloh28: ldr x9, [x9] cmp x8, x9 b.eq LBB0_16 ; %bb.15: ; in Loop: Header=BB0_6 Depth=1 Lloh29: adrp x9, _DW_AT_vtable_elem_location@GOTPAGE Lloh30: ldr x9, [x9, _DW_AT_vtable_elem_location@GOTPAGEOFF] Lloh31: ldr x9, [x9] cmp x8, x9 b.ne LBB0_5 LBB0_16: ; in Loop: Header=BB0_6 Depth=1 ldr x8, [sp, #72] ldr w0, [x8, x28, lsl #2] add x1, sp, #24 add x2, sp, #20 bl _dwarf_whatform ldr w8, [x26] cmp w0, w8 b.ne LBB0_22 ; %bb.17: ; in Loop: Header=BB0_6 Depth=1 ldr x8, [sp, #24] Lloh32: adrp x9, _DW_FORM_data4@GOTPAGE Lloh33: ldr x9, [x9, _DW_FORM_data4@GOTPAGEOFF] Lloh34: ldr x9, [x9] cmp x8, x9 b.eq LBB0_23 ; %bb.18: ; in Loop: Header=BB0_6 Depth=1 Lloh35: adrp x9, _DW_FORM_data8@GOTPAGE Lloh36: ldr x9, [x9, _DW_FORM_data8@GOTPAGEOFF] Lloh37: ldr x9, [x9] cmp x8, x9 b.eq LBB0_23 ; %bb.19: ; in Loop: Header=BB0_6 Depth=1 Lloh38: adrp x9, _DW_FORM_sec_offset@GOTPAGE Lloh39: ldr x9, [x9, _DW_FORM_sec_offset@GOTPAGEOFF] Lloh40: ldr x9, [x9] cmp x8, x9 b.ne LBB0_5 ; %bb.20: ; in Loop: Header=BB0_6 Depth=1 ldr x8, [sp, #72] ldr w0, [x8, x28, lsl #2] add x1, sp, #48 add x2, sp, #20 bl _dwarf_global_formref ldr w8, [x26] cmp w0, w8 b.ne LBB0_28 ; %bb.21: ; in Loop: Header=BB0_6 Depth=1 ldr x8, [sp, #48] str x8, [sp, #56] b LBB0_24 LBB0_22: ; in Loop: Header=BB0_6 Depth=1 ldr w0, [sp, #20] bl _dwarf_errmsg mov x1, x0 Lloh41: adrp x0, l_.str.2@PAGE Lloh42: add x0, x0, l_.str.2@PAGEOFF b LBB0_4 LBB0_23: ; in Loop: Header=BB0_6 Depth=1 ldr x8, [sp, #72] ldr w0, [x8, x28, lsl #2] add x1, sp, #56 add x2, sp, #20 bl _dwarf_formudata ldr w8, [x26] cmp w0, w8 b.ne LBB0_27 LBB0_24: ; in Loop: Header=BB0_6 Depth=1 ldr x10, [sp, #8] ; 8-byte Folded Reload ldr x9, [x10] ldr x8, [x20] ldr x0, [x22] cmp x9, x8 b.ne LBB0_26 ; %bb.25: ; in Loop: Header=BB0_6 Depth=1 add x8, x9, x9, lsl #2 lsl x1, x8, #4 str w24, [sp, #4] ; 4-byte Folded Spill mov x24, x27 mov x27, x23 mov x23, x21 mov x21, x19 mov x19, x25 mov x25, x20 mov x20, x10 bl _realloc str x0, [x22] ldr x8, [x20] lsl x8, x8, #1 str x8, [x20] mov x20, x25 mov x25, x19 mov x19, x21 mov x21, x23 mov x23, x27 mov x27, x24 ldr w24, [sp, #4] ; 4-byte Folded Reload ldr x8, [x20] LBB0_26: ; in Loop: Header=BB0_6 Depth=1 mov w9, #40 ; =0x28 madd x9, x8, x9, x0 ldr x10, [sp, #72] ldr w10, [x10, x28, lsl #2] str w10, [x9, #32] ldr x10, [sp, #56] stp x25, x10, [x9, #16] ldr w10, [x19, #12] str w10, [x9, #8] ldur d0, [x19, #4] str d0, [x9] add x8, x8, #1 str x8, [x20] b LBB0_5 LBB0_27: ; in Loop: Header=BB0_6 Depth=1 ldr w0, [sp, #20] bl _dwarf_errmsg mov x1, x0 Lloh43: adrp x0, l_.str.3@PAGE Lloh44: add x0, x0, l_.str.3@PAGEOFF b LBB0_4 LBB0_28: ; in Loop: Header=BB0_6 Depth=1 ldr w0, [sp, #20] bl _dwarf_errmsg mov x1, x0 Lloh45: adrp x0, l_.str.4@PAGE Lloh46: add x0, x0, l_.str.4@PAGEOFF b LBB0_4 LBB0_29: ldr w8, [x23] cmp w0, w8 b.ne LBB0_31 ; %bb.30: ldr w0, [sp, #20] bl _dwarf_errmsg mov x1, x0 Lloh47: adrp x0, l_.str@PAGE Lloh48: add x0, x0, l_.str@PAGEOFF bl _warnx LBB0_31: add x1, sp, #68 add x2, sp, #20 mov x0, x24 bl _dwarf_child ldr w8, [x23] cmp w0, w8 b.ne LBB0_33 ; %bb.32: ldr w0, [sp, #20] bl _dwarf_errmsg mov x1, x0 Lloh49: adrp x0, l_.str.6@PAGE Lloh50: add x0, x0, l_.str.6@PAGEOFF bl _warnx b LBB0_35 LBB0_33: ldr w8, [x26] cmp w0, w8 b.ne LBB0_35 ; %bb.34: ldr w1, [sp, #68] mov x0, x19 mov x2, x25 mov x3, x22 mov x4, x20 ldr x5, [sp, #8] ; 8-byte Folded Reload bl _search_loclist_at LBB0_35: ldr w0, [x19] add x2, sp, #68 add x4, sp, #20 mov x1, x24 mov x3, x21 bl _dwarf_siblingof_b ldr w8, [x23] cmp w0, w8 b.ne LBB0_37 ; %bb.36: ldr w0, [sp, #20] bl _dwarf_errmsg mov x1, x0 Lloh51: adrp x0, l_.str.7@PAGE Lloh52: add x0, x0, l_.str.7@PAGEOFF bl _warnx b LBB0_39 LBB0_37: ldr w8, [x26] cmp w0, w8 b.ne LBB0_39 ; %bb.38: ldr w1, [sp, #68] mov x0, x19 mov x2, x25 mov x3, x22 mov x4, x20 ldr x5, [sp, #8] ; 8-byte Folded Reload bl _search_loclist_at LBB0_39: ldp x29, x30, [sp, #160] ; 16-byte Folded Reload ldp x20, x19, [sp, #144] ; 16-byte Folded Reload ldp x22, x21, [sp, #128] ; 16-byte Folded Reload ldp x24, x23, [sp, #112] ; 16-byte Folded Reload ldp x26, x25, [sp, #96] ; 16-byte Folded Reload ldp x28, x27, [sp, #80] ; 16-byte Folded Reload add sp, sp, #176 ret .loh AdrpLdrGot Lloh2, Lloh3 .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGot Lloh4, Lloh5 .loh AdrpAdd Lloh6, Lloh7 .loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10 .loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13 .loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16 .loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19 .loh AdrpLdrGotLdr Lloh20, Lloh21, Lloh22 .loh AdrpLdrGotLdr Lloh23, Lloh24, Lloh25 .loh AdrpLdrGotLdr Lloh26, Lloh27, Lloh28 .loh AdrpLdrGotLdr Lloh29, Lloh30, Lloh31 .loh AdrpLdrGotLdr Lloh32, Lloh33, Lloh34 .loh AdrpLdrGotLdr Lloh35, Lloh36, Lloh37 .loh AdrpLdrGotLdr Lloh38, 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 .cfi_endproc ; -- End function .comm _DW_DLV_OK,4,2 ; @DW_DLV_OK .comm _DW_DLV_ERROR,4,2 ; @DW_DLV_ERROR .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "dwarf_attrlist failed: %s" l_.str.1: ; @.str.1 .asciz "dwarf_whatattr failed: %s" .comm _DW_AT_location,8,3 ; @DW_AT_location .comm _DW_AT_string_length,8,3 ; @DW_AT_string_length .comm _DW_AT_return_addr,8,3 ; @DW_AT_return_addr .comm _DW_AT_data_member_location,8,3 ; @DW_AT_data_member_location .comm _DW_AT_frame_base,8,3 ; @DW_AT_frame_base .comm _DW_AT_segment,8,3 ; @DW_AT_segment .comm _DW_AT_static_link,8,3 ; @DW_AT_static_link .comm _DW_AT_use_location,8,3 ; @DW_AT_use_location .comm _DW_AT_vtable_elem_location,8,3 ; @DW_AT_vtable_elem_location l_.str.2: ; @.str.2 .asciz "dwarf_whatform failed: %s" .comm _DW_FORM_data4,8,3 ; @DW_FORM_data4 .comm _DW_FORM_data8,8,3 ; @DW_FORM_data8 l_.str.3: ; @.str.3 .asciz "dwarf_formudata failed: %s" .comm _DW_FORM_sec_offset,8,3 ; @DW_FORM_sec_offset l_.str.4: ; @.str.4 .asciz "dwarf_global_formref failed: %s" .comm _EXIT_FAILURE,4,2 ; @EXIT_FAILURE l_.str.6: ; @.str.6 .asciz "dwarf_child: %s" l_.str.7: ; @.str.7 .asciz "dwarf_siblingof: %s" .no_dead_strip _search_loclist_at .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function a_realloc _a_realloc: ## @a_realloc .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp popq %rbp jmp _realloc ## TAILCALL .cfi_endproc ## -- End function .comm _ALIGNMENT,4,2 ## @ALIGNMENT .no_dead_strip _a_realloc .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function a_realloc _a_realloc: ; @a_realloc .cfi_startproc ; %bb.0: b _realloc .cfi_endproc ; -- End function .comm _ALIGNMENT,4,2 ; @ALIGNMENT .no_dead_strip _a_realloc .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _THRealloc ## -- Begin function THRealloc .p2align 4, 0x90 _THRealloc: ## @THRealloc .cfi_startproc ## %bb.0: 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 testq %rdi, %rdi je LBB0_6 ## %bb.1: movq %rdi, %r15 testl %r14d, %r14d je LBB0_7 ## %bb.2: jg LBB0_4 ## %bb.3: leaq L_.str(%rip), %rdi xorl %eax, %eax callq _THError LBB0_4: movq %r15, %rdi callq _getAllocSize movl %eax, %ebx movq %r15, %rdi movl %r14d, %esi callq _realloc testq %rax, %rax jne LBB0_5 ## %bb.8: movq _torchGCData@GOTPCREL(%rip), %rax movl (%rax), %edi callq _torchGCFunction movq %r15, %rdi movl %r14d, %esi callq _realloc testq %rax, %rax je LBB0_10 LBB0_5: movq %rax, %r12 LBB0_11: movq %r12, %rdi callq _getAllocSize subl %ebx, %eax movl %eax, %edi callq _THHeapUpdate jmp LBB0_12 LBB0_6: movl %r14d, %edi popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp jmp _THAlloc ## TAILCALL LBB0_7: movq %r15, %rdi callq _THFree xorl %r12d, %r12d LBB0_12: movq %r12, %rax popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq LBB0_10: leal 1073741823(%r14), %esi testl %r14d, %r14d cmovnsl %r14d, %esi sarl $30, %esi leaq L_.str.1(%rip), %rdi xorl %r12d, %r12d xorl %eax, %eax callq _THError jmp LBB0_11 .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "$ Torch: invalid memory size -- maybe an overflow?" .comm _torchGCData,4,2 ## @torchGCData L_.str.1: ## @.str.1 .asciz "$ Torch: not enough memory: you tried to reallocate %dGB. Buy new RAM!" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _THRealloc ; -- Begin function THRealloc .p2align 2 _THRealloc: ; @THRealloc .cfi_startproc ; %bb.0: sub sp, sp, #64 stp x22, x21, [sp, #16] ; 16-byte Folded Spill stp x20, x19, [sp, #32] ; 16-byte Folded Spill stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x20, x1 cbz x0, LBB0_8 ; %bb.1: mov x21, x0 cbz w20, LBB0_9 ; %bb.2: cmp w20, #0 b.gt LBB0_4 ; %bb.3: Lloh0: adrp x0, l_.str@PAGE Lloh1: add x0, x0, l_.str@PAGEOFF bl _THError LBB0_4: mov x0, x21 bl _getAllocSize mov x19, x0 mov x0, x21 mov x1, x20 bl _realloc cbnz x0, LBB0_7 ; %bb.5: Lloh2: adrp x8, _torchGCData@GOTPAGE Lloh3: ldr x8, [x8, _torchGCData@GOTPAGEOFF] Lloh4: ldr w0, [x8] bl _torchGCFunction mov x0, x21 mov x1, x20 bl _realloc cbnz x0, LBB0_7 ; %bb.6: mov w8, #1073741823 ; =0x3fffffff add w8, w20, w8 cmp w20, #0 csel w8, w8, w20, lt asr w8, w8, #30 str x8, [sp] Lloh5: adrp x0, l_.str.1@PAGE Lloh6: add x0, x0, l_.str.1@PAGEOFF bl _THError mov x0, #0 ; =0x0 LBB0_7: mov x20, x0 bl _getAllocSize sub w0, w0, w19 bl _THHeapUpdate mov x0, x20 b LBB0_10 LBB0_8: mov x0, x20 ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload add sp, sp, #64 b _THAlloc LBB0_9: mov x0, x21 bl _THFree mov x0, #0 ; =0x0 LBB0_10: ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload add sp, sp, #64 ret .loh AdrpAdd Lloh0, Lloh1 .loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4 .loh AdrpAdd Lloh5, Lloh6 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "$ Torch: invalid memory size -- maybe an overflow?" .comm _torchGCData,4,2 ; @torchGCData l_.str.1: ; @.str.1 .asciz "$ Torch: not enough memory: you tried to reallocate %dGB. Buy new RAM!" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function stb__arrsize_ _stb__arrsize_: ## @stb__arrsize_ .cfi_startproc ## %bb.0: 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, %r12d movl %edx, %r14d movl %esi, %r15d movq %rdi, %rbx movq (%rdi), %r13 movq %r13, %rdi callq _stb_arr_check2 testq %r13, %r13 je LBB0_1 ## %bb.3: movq %r13, %rdi callq _stb_arrhead2 movl %r12d, 4(%rax) movl (%rax), %ecx cmpl %r14d, %ecx jge LBB0_4 ## %bb.5: leal (%rcx,%rcx), %edx cmpl %r14d, %edx cmovlel %r14d, %edx cmpl $4, %ecx cmovgel %edx, %r14d imull %r14d, %r15d addl $12, %r15d movq %rax, %r12 movq %rax, %rdi movl %r15d, %esi callq _realloc testq %rax, %rax je LBB0_6 ## %bb.7: movl %r14d, (%rax) jmp LBB0_8 LBB0_1: movl %r12d, %eax orl %r15d, %eax je LBB0_9 ## %bb.2: imull %r14d, %r15d movl $12, %edi subl %r15d, %edi callq _stb__arr_malloc movl %r14d, (%rax) movl %r12d, 4(%rax) movq _stb_arr_signature@GOTPCREL(%rip), %rcx movl (%rcx), %ecx movl %ecx, 8(%rax) jmp LBB0_8 LBB0_4: movl %ecx, %r14d jmp LBB0_8 LBB0_6: movq %r12, %rax movl (%r12), %r14d LBB0_8: movl 4(%rax), %ecx cmpl %r14d, %ecx cmovll %ecx, %r14d movl %r14d, 4(%rax) addq $12, %rax movq %rax, (%rbx) LBB0_9: addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _stb_arr_signature,4,2 ## @stb_arr_signature .no_dead_strip _stb__arrsize_ .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function stb__arrsize_ _stb__arrsize_: ; @stb__arrsize_ .cfi_startproc ; %bb.0: stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill stp x22, x21, [sp, #16] ; 16-byte Folded Spill stp x20, x19, [sp, #32] ; 16-byte Folded Spill stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 mov x22, x3 mov x20, x2 mov x21, x1 mov x19, x0 ldr x23, [x0] mov x0, x23 bl _stb_arr_check2 cbz x23, LBB0_4 ; %bb.1: mov x0, x23 bl _stb_arrhead2 str w22, [x0, #4] ldr w8, [x0] cmp w8, w20 b.ge LBB0_6 ; %bb.2: lsl w9, w8, #1 cmp w9, w20 csel w9, w9, w20, gt cmp w8, #3 csel w20, w9, w20, gt mov w8, #12 ; =0xc madd w1, w20, w21, w8 mov x21, x0 bl _realloc cbz x0, LBB0_7 ; %bb.3: str w20, [x0] b LBB0_8 LBB0_4: orr w8, w22, w21 cbz w8, LBB0_9 ; %bb.5: mov w8, #12 ; =0xc msub w0, w20, w21, w8 bl _stb__arr_malloc stp w20, w22, [x0] Lloh0: adrp x8, _stb_arr_signature@GOTPAGE Lloh1: ldr x8, [x8, _stb_arr_signature@GOTPAGEOFF] Lloh2: ldr w8, [x8] str w8, [x0, #8] b LBB0_8 LBB0_6: mov x20, x8 b LBB0_8 LBB0_7: mov x0, x21 ldr w20, [x21] LBB0_8: ldr w8, [x0, #4] cmp w8, w20 csel w8, w8, w20, lt str w8, [x0, #4] add x8, x0, #12 str x8, [x19] LBB0_9: ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload ldp x24, x23, [sp], #64 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _stb_arr_signature,4,2 ; @stb_arr_signature .no_dead_strip _stb__arrsize_ .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _socket_receive ## -- Begin function socket_receive .p2align 4, 0x90 _socket_receive: ## @socket_receive .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $40, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %esi, %ebx movl %edi, %r15d leaq -60(%rbp), %r14 movq %r14, %rdi callq _FD_ZERO movq %r15, -56(%rbp) ## 8-byte Spill movl %r15d, %edi movq %r14, %rsi callq _FD_SET testl %ebx, %ebx jle LBB0_2 ## %bb.1: movl %ebx, -80(%rbp) movq $0, -72(%rbp) LBB0_2: cmpl $0, -56(%rbp) ## 4-byte Folded Reload js LBB0_14 ## %bb.3: xorl %r14d, %r14d xorl %edi, %edi movl $1, %esi callq _calloc testq %rax, %rax je LBB0_15 ## %bb.4: movq -56(%rbp), %rcx ## 8-byte Reload leal 1(%rcx), %r12d leaq -60(%rbp), %r13 leaq -80(%rbp), %r15 movq %rax, %r14 jmp LBB0_5 .p2align 4, 0x90 LBB0_7: ## in Loop: Header=BB0_5 Depth=1 xorl %r8d, %r8d LBB0_8: ## in Loop: Header=BB0_5 Depth=1 callq _select testl %eax, %eax jne LBB0_9 LBB0_5: ## =>This Inner Loop Header: Depth=1 movl %r12d, %edi movq %r13, %rsi xorl %edx, %edx xorl %ecx, %ecx testl %ebx, %ebx jle LBB0_7 ## %bb.6: ## in Loop: Header=BB0_5 Depth=1 movq %r15, %r8 jmp LBB0_8 LBB0_9: ## in Loop: Header=BB0_5 Depth=1 js LBB0_14 ## %bb.10: ## in Loop: Header=BB0_5 Depth=1 movl $1024, %edi ## imm = 0x400 movl $1, %esi callq _calloc testq %rax, %rax je LBB0_14 ## %bb.11: ## in Loop: Header=BB0_5 Depth=1 movq %rax, %r15 movq -56(%rbp), %rdi ## 8-byte Reload ## kill: def $edi killed $edi killed $rdi movq %rax, %rsi movl $1024, %edx ## imm = 0x400 callq _read testl %eax, %eax js LBB0_14 ## %bb.12: ## in Loop: Header=BB0_5 Depth=1 je LBB0_15 ## %bb.13: ## in Loop: Header=BB0_5 Depth=1 movq %r14, %rdi callq _strlen movq %r14, -48(%rbp) ## 8-byte Spill movq %rax, %r14 movq %r15, %rdi callq _strlen addq %rax, %r14 movq -48(%rbp), %rdi ## 8-byte Reload movq %r14, %rsi callq _realloc testq %rax, %rax je LBB0_14 ## %bb.16: ## in Loop: Header=BB0_5 Depth=1 movq %rax, %r14 movq %rax, %rdi callq _strlen movq %r14, -48(%rbp) ## 8-byte Spill movq %rax, %r14 movq %r15, %rdi callq _strlen addq %rax, %r14 movq -48(%rbp), %rdi ## 8-byte Reload movq %r15, %rsi movq %r14, %rdx movq -48(%rbp), %r14 ## 8-byte Reload callq _strncat leaq -80(%rbp), %r15 jmp LBB0_5 LBB0_14: xorl %r14d, %r14d LBB0_15: movq %r14, %rax addq $40, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _socket_receive ; -- Begin function socket_receive .p2align 2 _socket_receive: ; @socket_receive .cfi_startproc ; %bb.0: sub sp, sp, #96 stp x24, x23, [sp, #32] ; 16-byte Folded Spill stp x22, x21, [sp, #48] ; 16-byte Folded Spill stp x20, x19, [sp, #64] ; 16-byte Folded Spill stp x29, x30, [sp, #80] ; 16-byte Folded Spill add x29, sp, #80 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 mov x19, x1 mov x20, x0 add x0, sp, #28 bl _FD_ZERO add x1, sp, #28 mov x0, x20 bl _FD_SET cmp w19, #1 b.lt LBB0_2 ; %bb.1: str w19, [sp, #8] str xzr, [sp, #16] LBB0_2: tbnz w20, #31, LBB0_13 ; %bb.3: mov w0, #0 ; =0x0 mov w1, #1 ; =0x1 bl _calloc mov x21, x0 cbnz x0, LBB0_5 b LBB0_14 LBB0_4: ; in Loop: Header=BB0_5 Depth=1 mov x2, #0 ; =0x0 mov x3, #0 ; =0x0 mov x4, #0 ; =0x0 bl _select cbnz w0, LBB0_7 LBB0_5: ; =>This Inner Loop Header: Depth=1 add w0, w20, #1 add x1, sp, #28 cmp w19, #1 b.lt LBB0_4 ; %bb.6: ; in Loop: Header=BB0_5 Depth=1 add x4, sp, #8 mov x2, #0 ; =0x0 mov x3, #0 ; =0x0 bl _select cbz w0, LBB0_5 LBB0_7: ; in Loop: Header=BB0_5 Depth=1 tbnz w0, #31, LBB0_13 ; %bb.8: ; in Loop: Header=BB0_5 Depth=1 mov w0, #1024 ; =0x400 mov w1, #1 ; =0x1 bl _calloc cbz x0, LBB0_13 ; %bb.9: ; in Loop: Header=BB0_5 Depth=1 mov x22, x0 mov x0, x20 mov x1, x22 mov w2, #1024 ; =0x400 bl _read tbnz w0, #31, LBB0_13 ; %bb.10: ; in Loop: Header=BB0_5 Depth=1 cbz w0, LBB0_14 ; %bb.11: ; in Loop: Header=BB0_5 Depth=1 mov x0, x21 bl _strlen mov x23, x0 mov x0, x22 bl _strlen add x1, x0, x23 mov x0, x21 bl _realloc mov x21, x0 cbz x0, LBB0_14 ; %bb.12: ; in Loop: Header=BB0_5 Depth=1 mov x0, x21 bl _strlen mov x23, x0 mov x0, x22 bl _strlen add x2, x0, x23 mov x0, x21 mov x1, x22 bl _strncat b LBB0_5 LBB0_13: mov x21, #0 ; =0x0 LBB0_14: 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 add sp, sp, #96 ret .cfi_endproc ; -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _add_empty_dir_to_index_with_check ## -- Begin function add_empty_dir_to_index_with_check .p2align 4, 0x90 _add_empty_dir_to_index_with_check: ## @add_empty_dir_to_index_with_check .cfi_startproc ## %bb.0: 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, %r15 movq %rsi, %r12 movq %rdi, %rbx movq %rsi, %rdi callq _strlen movl %eax, %r13d movq %rbx, %rdi movq %r12, %rsi movl %eax, %edx callq _index_name_pos testl %eax, %eax jns LBB0_14 ## %bb.1: movl %eax, %r14d movq %r15, -56(%rbp) ## 8-byte Spill notl %r14d leaq L_.str(%rip), %rsi movq %r12, -48(%rbp) ## 8-byte Spill movq %r12, %rdi xorl %edx, %edx callq _g_strconcat movq %rax, %r15 movq _TRUE@GOTPCREL(%rip), %rax movq (%rax), %r12 cmpl %r14d, (%rbx) jle LBB0_8 ## %bb.2: incl %r13d jmp LBB0_3 .p2align 4, 0x90 LBB0_4: ## in Loop: Header=BB0_3 Depth=1 incl %r14d cmpl (%rbx), %r14d jge LBB0_8 LBB0_3: ## =>This Inner Loop Header: Depth=1 movq 16(%rbx), %rax movl %r14d, %ecx movq (%rax,%rcx,8), %rax movl (%rax), %edi movq %r15, %rsi movl %r13d, %edx callq _strncmp testl %eax, %eax js LBB0_4 ## %bb.5: ## in Loop: Header=BB0_3 Depth=1 jne LBB0_8 ## %bb.6: ## in Loop: Header=BB0_3 Depth=1 movq _FALSE@GOTPCREL(%rip), %rax movq (%rax), %r12 cmpl (%rbx), %r14d jl LBB0_3 LBB0_8: movq %r15, %rdi callq _g_free testq %r12, %r12 movq -56(%rbp), %rsi ## 8-byte Reload movq -48(%rbp), %rdi ## 8-byte Reload je LBB0_14 ## %bb.9: callq _create_empty_dir_index_entry movq %rax, %r15 movl (%rbx), %edx cmpl 4(%rbx), %edx jne LBB0_11 ## %bb.10: movl %edx, %edi callq _alloc_nr ## kill: def $eax killed $eax def $rax movl %eax, 4(%rbx) movq 16(%rbx), %rdi leal (,%rax,8), %esi callq _realloc movq %rax, 16(%rbx) movl (%rbx), %edx LBB0_11: leal 1(%rdx), %eax movl %eax, (%rbx) subl %r14d, %edx jle LBB0_13 ## %bb.12: movq 16(%rbx), %rax movl %r14d, %ecx leaq (%rax,%rcx,8), %rsi leaq (%rax,%rcx,8), %rdi addq $8, %rdi shll $3, %edx ## kill: def $edx killed $edx killed $rdx callq _memmove LBB0_13: movq %rbx, %rdi movl %r14d, %esi movq %r15, %rdx callq _set_index_entry movl $1, 8(%rbx) LBB0_14: xorl %eax, %eax addq $24, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "/" .comm _TRUE,8,3 ## @TRUE .comm _FALSE,8,3 ## @FALSE .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _add_empty_dir_to_index_with_check ; -- Begin function add_empty_dir_to_index_with_check .p2align 2 _add_empty_dir_to_index_with_check: ; @add_empty_dir_to_index_with_check .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 x22, x1 mov x19, x0 mov x0, x1 bl _strlen mov x23, x0 mov x0, x19 mov x1, x22 mov x2, x23 bl _index_name_pos tbz w0, #31, LBB0_14 ; %bb.1: mvn w20, w0 Lloh0: adrp x1, l_.str@PAGE Lloh1: add x1, x1, l_.str@PAGEOFF mov x0, x22 mov x2, #0 ; =0x0 bl _g_strconcat mov x24, x0 Lloh2: adrp x8, _TRUE@GOTPAGE Lloh3: ldr x8, [x8, _TRUE@GOTPAGEOFF] Lloh4: ldr x25, [x8] ldr w8, [x19] cmp w8, w20 b.le LBB0_8 ; %bb.2: Lloh5: adrp x26, _FALSE@GOTPAGE Lloh6: ldr x26, [x26, _FALSE@GOTPAGEOFF] b LBB0_5 LBB0_3: ; in Loop: Header=BB0_5 Depth=1 add w20, w20, #1 LBB0_4: ; in Loop: Header=BB0_5 Depth=1 ldr w8, [x19] cmp w20, w8 b.ge LBB0_8 LBB0_5: ; =>This Inner Loop Header: Depth=1 ldr x8, [x19, #16] ldr x8, [x8, w20, uxtw #3] ldr w0, [x8] add w2, w23, #1 mov x1, x24 bl _strncmp tbnz w0, #31, LBB0_3 ; %bb.6: ; in Loop: Header=BB0_5 Depth=1 cbnz w0, LBB0_8 ; %bb.7: ; in Loop: Header=BB0_5 Depth=1 ldr x25, [x26] b LBB0_4 LBB0_8: mov x0, x24 bl _g_free cbz x25, LBB0_14 ; %bb.9: mov x0, x22 mov x1, x21 bl _create_empty_dir_index_entry mov x21, x0 ldp w0, w8, [x19] cmp w0, w8 b.ne LBB0_11 ; %bb.10: bl _alloc_nr str w0, [x19, #4] ldr x8, [x19, #16] lsl w1, w0, #3 mov x0, x8 bl _realloc str x0, [x19, #16] ldr w0, [x19] LBB0_11: add w8, w0, #1 str w8, [x19] subs w8, w0, w20 b.le LBB0_13 ; %bb.12: ldr x9, [x19, #16] add x1, x9, w20, uxtw #3 lsl w2, w8, #3 add x0, x1, #8 bl _memmove LBB0_13: mov x0, x19 mov x1, x20 mov x2, x21 bl _set_index_entry mov w8, #1 ; =0x1 str w8, [x19, #8] LBB0_14: mov w0, #0 ; =0x0 ldp x29, x30, [sp, #64] ; 16-byte Folded Reload ldp x20, x19, [sp, #48] ; 16-byte Folded Reload ldp x22, x21, [sp, #32] ; 16-byte Folded Reload ldp x24, x23, [sp, #16] ; 16-byte Folded Reload ldp x26, x25, [sp], #80 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4 .loh AdrpAdd Lloh0, Lloh1 .loh AdrpLdrGot Lloh5, Lloh6 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "/" .comm _TRUE,8,3 ; @TRUE .comm _FALSE,8,3 ; @FALSE .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function new_pes _new_pes: ## @new_pes .cfi_startproc ## %bb.0: 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), %r14d cmpl %r14d, 4(%rdi) jne LBB0_1 ## %bb.2: leal (%r14,%r14), %eax testl %r14d, %r14d movl $32, %r14d cmovnel %eax, %r14d movq 8(%rbx), %rdi leal (,%r14,4), %esi callq _realloc movq %rax, 8(%rbx) movl (%rbx), %eax cmpl %r14d, %eax jle LBB0_3 jmp LBB0_5 LBB0_1: movl %r14d, %eax LBB0_3: movslq %eax, %r15 movq 8(%rbx), %rdi leaq (,%r15,8), %r12 decl %r15d .p2align 4, 0x90 LBB0_4: ## =>This Inner Loop Header: Depth=1 addq %r12, %rdi xorl %esi, %esi movl $4, %edx callq _memset movq 8(%rbx), %rdi movq $-1, (%rdi,%r12) addq $8, %r12 incl %r15d cmpl %r15d, %r14d jne LBB0_4 LBB0_5: movl %r14d, (%rbx) movl 4(%rbx), %eax leal 1(%rax), %ecx movl %ecx, 4(%rbx) ## kill: def $eax killed $eax killed $rax popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _new_pes .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function new_pes _new_pes: ; @new_pes .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 ldp w20, w8, [x0] mov x9, x20 cmp w8, w20 b.ne LBB0_2 ; %bb.1: lsl w8, w20, #1 mov w9, #32 ; =0x20 cmp w20, #0 csel w20, w9, w8, eq ldr x0, [x19, #8] lsl w1, w20, #2 bl _realloc str x0, [x19, #8] ldr w9, [x19] cmp w9, w20 b.gt LBB0_4 LBB0_2: ldr x8, [x19, #8] sbfiz x21, x9, #3, #32 sub w9, w20, w9 add w22, w9, #1 LBB0_3: ; =>This Inner Loop Header: Depth=1 add x0, x8, x21 mov w1, #0 ; =0x0 mov w2, #4 ; =0x4 bl _memset ldr x8, [x19, #8] movi.2d v0, #0xffffffffffffffff str d0, [x8, x21] add x21, x21, #8 subs w22, w22, #1 b.ne LBB0_3 LBB0_4: ldr w0, [x19, #4] add w8, w0, #1 stp w20, w8, [x19] ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .no_dead_strip _new_pes .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _socket_receive ## -- Begin function socket_receive .p2align 4, 0x90 _socket_receive: ## @socket_receive .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $184, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -48(%rbp) testl %edi, %edi jle LBB0_17 ## %bb.1: movl %esi, %r14d movl %edi, %r15d leal 1(%r15), %eax movl %eax, -180(%rbp) ## 4-byte Spill leal -1(%r15), %eax movl %eax, -184(%rbp) ## 4-byte Spill leaq -188(%rbp), %r12 xorl %r13d, %r13d xorl %ebx, %ebx movq %r15, -208(%rbp) ## 8-byte Spill .p2align 4, 0x90 LBB0_2: ## =>This Inner Loop Header: Depth=1 movq %r12, %rdi callq _FD_ZERO movl %r15d, %edi movq %r12, %rsi callq _FD_SET testl %r14d, %r14d movq %r13, -200(%rbp) ## 8-byte Spill jle LBB0_4 ## %bb.3: ## in Loop: Header=BB0_2 Depth=1 movl %r14d, -224(%rbp) movq $0, -216(%rbp) movl -184(%rbp), %edi ## 4-byte Reload movq %r12, %rsi xorl %edx, %edx xorl %ecx, %ecx leaq -224(%rbp), %r8 jmp LBB0_5 .p2align 4, 0x90 LBB0_4: ## in Loop: Header=BB0_2 Depth=1 movl -180(%rbp), %edi ## 4-byte Reload movq %r12, %rsi xorl %edx, %edx xorl %ecx, %ecx xorl %r8d, %r8d LBB0_5: ## in Loop: Header=BB0_2 Depth=1 callq _select testl %eax, %eax je LBB0_12 ## %bb.6: ## in Loop: Header=BB0_2 Depth=1 js LBB0_17 ## %bb.7: ## in Loop: Header=BB0_2 Depth=1 movl %r15d, %edi leaq -176(%rbp), %rsi movl $128, %edx xorl %ecx, %ecx callq _recv testl %eax, %eax js LBB0_17 ## %bb.8: ## in Loop: Header=BB0_2 Depth=1 je LBB0_12 ## %bb.9: ## in Loop: Header=BB0_2 Depth=1 movl %eax, %r13d movq -200(%rbp), %r12 ## 8-byte Reload leal (%r12,%r13), %esi incl %esi movq %rbx, %rdi callq _realloc testq %rax, %rax je LBB0_17 ## %bb.10: ## in Loop: Header=BB0_2 Depth=1 movq %rax, %rbx movl %r14d, %r15d movl %r13d, %r14d addl %r12d, %r14d movl %r12d, %edi addq %rax, %rdi leaq -176(%rbp), %rsi movl %r13d, %edx callq _memcpy movl %r14d, %r13d movl %r15d, %r14d movq -208(%rbp), %r15 ## 8-byte Reload leaq -188(%rbp), %r12 jmp LBB0_2 LBB0_12: testq %rbx, %rbx je LBB0_17 ## %bb.13: movl -200(%rbp), %eax ## 4-byte Reload movb $0, (%rbx,%rax) jmp LBB0_18 LBB0_17: xorl %ebx, %ebx LBB0_18: movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax cmpq -48(%rbp), %rax jne LBB0_20 ## %bb.19: movq %rbx, %rax addq $184, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_20: 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 _socket_receive ; -- Begin function socket_receive .p2align 2 _socket_receive: ; @socket_receive .cfi_startproc ; %bb.0: sub sp, sp, #240 stp x26, x25, [sp, #160] ; 16-byte Folded Spill stp x24, x23, [sp, #176] ; 16-byte Folded Spill stp x22, x21, [sp, #192] ; 16-byte Folded Spill stp x20, x19, [sp, #208] ; 16-byte Folded Spill stp x29, x30, [sp, #224] ; 16-byte Folded Spill add x29, sp, #224 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 Lloh0: adrp x8, ___stack_chk_guard@GOTPAGE Lloh1: ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] Lloh2: ldr x8, [x8] stur x8, [x29, #-72] subs w22, w0, #1 b.lt LBB0_10 ; %bb.1: mov x20, x1 mov x21, x0 mov w24, #0 ; =0x0 mov x19, #0 ; =0x0 LBB0_2: ; =>This Inner Loop Header: Depth=1 add x0, sp, #4 bl _FD_ZERO add x1, sp, #4 mov x0, x21 bl _FD_SET cmp w20, #1 b.lt LBB0_4 ; %bb.3: ; in Loop: Header=BB0_2 Depth=1 str w20, [sp, #8] str xzr, [sp, #16] add x1, sp, #4 add x4, sp, #8 mov x0, x22 mov x2, #0 ; =0x0 mov x3, #0 ; =0x0 bl _select cbnz w0, LBB0_5 b LBB0_11 LBB0_4: ; in Loop: Header=BB0_2 Depth=1 add w0, w21, #1 add x1, sp, #4 mov x2, #0 ; =0x0 mov x3, #0 ; =0x0 mov x4, #0 ; =0x0 bl _select cbz w0, LBB0_11 LBB0_5: ; in Loop: Header=BB0_2 Depth=1 tbnz w0, #31, LBB0_10 ; %bb.6: ; in Loop: Header=BB0_2 Depth=1 add x1, sp, #24 mov x0, x21 mov w2, #128 ; =0x80 mov w3, #0 ; =0x0 bl _recv tbnz w0, #31, LBB0_10 ; %bb.7: ; in Loop: Header=BB0_2 Depth=1 mov x23, x0 cbz w0, LBB0_11 ; %bb.8: ; in Loop: Header=BB0_2 Depth=1 add w25, w23, w24 add w1, w25, #1 mov x0, x19 bl _realloc mov x19, x0 cbz x0, LBB0_13 ; %bb.9: ; in Loop: Header=BB0_2 Depth=1 add x0, x19, w24, uxtw add x1, sp, #24 mov x2, x23 bl _memcpy mov x24, x25 b LBB0_2 LBB0_10: mov x19, #0 ; =0x0 b LBB0_13 LBB0_11: cbz x19, LBB0_13 ; %bb.12: strb wzr, [x19, w24, uxtw] LBB0_13: 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_15 ; %bb.14: mov x0, x19 ldp x29, x30, [sp, #224] ; 16-byte Folded Reload ldp x20, x19, [sp, #208] ; 16-byte Folded Reload ldp x22, x21, [sp, #192] ; 16-byte Folded Reload ldp x24, x23, [sp, #176] ; 16-byte Folded Reload ldp x26, x25, [sp, #160] ; 16-byte Folded Reload add sp, sp, #240 ret LBB0_15: 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 .p2align 4, 0x90 ## -- Begin function iter_median _iter_median: ## @iter_median .cfi_startproc ## %bb.0: 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, %r14d movq %rdi, %rbx movl %esi, -28(%rbp) movq (%rdi), %r15 movl 4(%r15), %esi cmpl %esi, (%r15) jl LBB0_2 ## %bb.1: leal (%rsi,%rsi), %eax movl %eax, 4(%r15) movq 8(%r15), %rdi shll $3, %esi ## kill: def $esi killed $esi killed $rsi callq _realloc movq %rax, 8(%r15) LBB0_2: movl 16(%r15), %edi callq _strm_nil_p testq %rax, %rax je LBB0_4 ## %bb.3: movq 8(%r15), %rax movslq (%r15), %rcx leal -1(%rcx), %edx movl %edx, (%r15) movl %r14d, (%rax,%rcx,4) jmp LBB0_5 LBB0_4: movl 16(%r15), %esi movslq (%r15), %r8 leal 1(%r8), %eax movl %eax, (%r15) shlq $2, %r8 addq 8(%r15), %r8 leaq -28(%rbp), %rcx movq %rbx, %rdi movl $1, %edx callq _strm_funcall movq _STRM_NG@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax je LBB0_6 LBB0_5: movq _STRM_OK@GOTPCREL(%rip), %rax movl (%rax), %eax LBB0_6: ## kill: def $eax killed $eax killed $rax addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _STRM_NG,8,3 ## @STRM_NG .comm _STRM_OK,4,2 ## @STRM_OK .no_dead_strip _iter_median .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function iter_median _iter_median: ; @iter_median .cfi_startproc ; %bb.0: sub sp, sp, #64 stp x22, x21, [sp, #16] ; 16-byte Folded Spill stp x20, x19, [sp, #32] ; 16-byte Folded Spill stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x20, x1 mov x19, x0 str w1, [sp, #12] ldr x21, [x0] ldp w9, w8, [x21] cmp w9, w8 b.lt LBB0_2 ; %bb.1: lsl w9, w8, #1 str w9, [x21, #4] ldr x0, [x21, #8] lsl w1, w8, #3 bl _realloc str x0, [x21, #8] LBB0_2: ldr w0, [x21, #16] bl _strm_nil_p cbz x0, LBB0_4 ; %bb.3: ldr x8, [x21, #8] ldrsw x9, [x21] sub w10, w9, #1 str w10, [x21] str w20, [x8, x9, lsl #2] b LBB0_5 LBB0_4: ldr w1, [x21, #16] ldr x8, [x21, #8] ldrsw x9, [x21] add w10, w9, #1 str w10, [x21] add x4, x8, x9, lsl #2 add x3, sp, #12 mov x0, x19 mov w2, #1 ; =0x1 bl _strm_funcall Lloh0: adrp x8, _STRM_NG@GOTPAGE Lloh1: ldr x8, [x8, _STRM_NG@GOTPAGEOFF] Lloh2: ldr x8, [x8] cmp x0, x8 b.eq LBB0_6 LBB0_5: Lloh3: adrp x8, _STRM_OK@GOTPAGE Lloh4: ldr x8, [x8, _STRM_OK@GOTPAGEOFF] Lloh5: ldr w0, [x8] LBB0_6: ; kill: def $w0 killed $w0 killed $x0 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 _STRM_NG,8,3 ; @STRM_NG .comm _STRM_OK,4,2 ; @STRM_OK .no_dead_strip _iter_median .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function declare_endpoint _declare_endpoint: ## @declare_endpoint .cfi_startproc ## %bb.0: 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 testq %rdi, %rdi je LBB0_2 ## %bb.1: movq %rdi, %rbx movq (%rdi), %rax testq %rax, %rax je LBB0_2 ## %bb.3: movl %edx, %r15d movq %rsi, %r14 movq 8(%rax), %rdi movl (%rax), %eax leal -8(,%rax,8), %esi callq _realloc testq %rax, %rax je LBB0_4 ## %bb.6: movq (%rbx), %rcx movq %rax, 8(%rcx) movslq (%rcx), %rcx movl %r15d, 4(%rax,%rcx,8) movq %r14, %rdi movq %rax, %r14 callq _strdup movq (%rbx), %rcx movslq (%rcx), %rdx movl %eax, (%r14,%rdx,8) testl %eax, %eax je LBB0_7 ## %bb.8: incl %edx movl %edx, (%rcx) movq _ESP_OK@GOTPCREL(%rip), %rax jmp LBB0_9 LBB0_2: movq _TAG@GOTPCREL(%rip), %rax movl (%rax), %edi leaq L_.str(%rip), %rsi callq _ESP_LOGE movq _ESP_ERR_INVALID_ARG@GOTPCREL(%rip), %rax jmp LBB0_9 LBB0_4: movq _TAG@GOTPCREL(%rip), %rax movl (%rax), %edi leaq L_.str.1(%rip), %rsi jmp LBB0_5 LBB0_7: movq _TAG@GOTPCREL(%rip), %rax movl (%rax), %edi leaq L_.str.2(%rip), %rsi LBB0_5: callq _ESP_LOGE movq _ESP_ERR_NO_MEM@GOTPCREL(%rip), %rax LBB0_9: movl (%rax), %eax addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _TAG,4,2 ## @TAG .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "NULL configuration provided" .comm _ESP_ERR_INVALID_ARG,4,2 ## @ESP_ERR_INVALID_ARG L_.str.1: ## @.str.1 .asciz "Failed to allocate memory for new endpoint entry" .comm _ESP_ERR_NO_MEM,4,2 ## @ESP_ERR_NO_MEM L_.str.2: ## @.str.2 .asciz "Failed to allocate memory for new endpoint name" .comm _ESP_OK,4,2 ## @ESP_OK .no_dead_strip _declare_endpoint .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function declare_endpoint _declare_endpoint: ; @declare_endpoint .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 cbz x0, LBB0_5 ; %bb.1: mov x19, x0 ldr x8, [x0] cbz x8, LBB0_5 ; %bb.2: mov x21, x2 mov x20, x1 ldr x0, [x8, #8] ldr w8, [x8] lsl w8, w8, #3 sub w1, w8, #8 bl _realloc cbz x0, LBB0_6 ; %bb.3: ldr x8, [x19] str x0, [x8, #8] ldrsw x8, [x8] add x8, x0, x8, lsl #3 str w21, [x8, #4] mov x21, x0 mov x0, x20 bl _strdup ldr x8, [x19] ldrsw x9, [x8] lsl x10, x9, #3 str w0, [x21, x10] cbz w0, LBB0_7 ; %bb.4: add w9, w9, #1 str w9, [x8] Lloh0: adrp x8, _ESP_OK@GOTPAGE Lloh1: ldr x8, [x8, _ESP_OK@GOTPAGEOFF] b LBB0_9 LBB0_5: Lloh2: adrp x8, _TAG@GOTPAGE Lloh3: ldr x8, [x8, _TAG@GOTPAGEOFF] Lloh4: ldr w0, [x8] Lloh5: adrp x1, l_.str@PAGE Lloh6: add x1, x1, l_.str@PAGEOFF bl _ESP_LOGE Lloh7: adrp x8, _ESP_ERR_INVALID_ARG@GOTPAGE Lloh8: ldr x8, [x8, _ESP_ERR_INVALID_ARG@GOTPAGEOFF] b LBB0_9 LBB0_6: Lloh9: adrp x8, _TAG@GOTPAGE Lloh10: ldr x8, [x8, _TAG@GOTPAGEOFF] Lloh11: ldr w0, [x8] Lloh12: adrp x1, l_.str.1@PAGE Lloh13: add x1, x1, l_.str.1@PAGEOFF b LBB0_8 LBB0_7: Lloh14: adrp x8, _TAG@GOTPAGE Lloh15: ldr x8, [x8, _TAG@GOTPAGEOFF] Lloh16: ldr w0, [x8] Lloh17: adrp x1, l_.str.2@PAGE Lloh18: add x1, x1, l_.str.2@PAGEOFF LBB0_8: bl _ESP_LOGE Lloh19: adrp x8, _ESP_ERR_NO_MEM@GOTPAGE Lloh20: ldr x8, [x8, _ESP_ERR_NO_MEM@GOTPAGEOFF] LBB0_9: ldr w0, [x8] ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGot Lloh7, Lloh8 .loh AdrpAdd Lloh5, Lloh6 .loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4 .loh AdrpAdd Lloh12, Lloh13 .loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11 .loh AdrpAdd Lloh17, Lloh18 .loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16 .loh AdrpLdrGot Lloh19, Lloh20 .cfi_endproc ; -- End function .comm _TAG,4,2 ; @TAG .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "NULL configuration provided" .comm _ESP_ERR_INVALID_ARG,4,2 ; @ESP_ERR_INVALID_ARG l_.str.1: ; @.str.1 .asciz "Failed to allocate memory for new endpoint entry" .comm _ESP_ERR_NO_MEM,4,2 ; @ESP_ERR_NO_MEM l_.str.2: ; @.str.2 .asciz "Failed to allocate memory for new endpoint name" .comm _ESP_OK,4,2 ; @ESP_OK .no_dead_strip _declare_endpoint .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _realpathat2 ## -- Begin function realpathat2 .p2align 4, 0x90 _realpathat2: ## @realpathat2 .cfi_startproc ## %bb.0: 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 %r8, -144(%rbp) ## 8-byte Spill movq %rcx, %r12 movq %rdx, %r14 movq %rsi, %r15 movl %edi, %r13d movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -48(%rbp) movq _PATH_MAX@GOTPCREL(%rip), %rax movl (%rax), %eax callq ____chkstk_darwin addq $15, %rax andq $-16, %rax subq %rax, %rsp movq %rsp, %rbx xorl %edi, %edi testq %r14, %r14 setne %dil callq _UNLIKELY testq %rax, %rax je LBB0_5 ## %bb.1: movq _EINVAL@GOTPCREL(%rip), %rax movl (%rax), %eax movq _errno@GOTPCREL(%rip), %rcx movl %eax, (%rcx) LBB0_2: xorl %r13d, %r13d LBB0_3: movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax cmpq -48(%rbp), %rax jne LBB0_75 ## %bb.4: movq %r13, %rax leaq -40(%rbp), %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_5: movq %rbx, -136(%rbp) ## 8-byte Spill movq -144(%rbp), %rbx ## 8-byte Reload movl %r13d, -52(%rbp) ## 4-byte Spill testl %r13d, %r13d sets %al movq %r15, -80(%rbp) ## 8-byte Spill testq %r15, %r15 sete %cl movl $1, %edi testb %cl, %al jne LBB0_7 ## %bb.6: xorl %edi, %edi cmpb $47, (%r14) sete %dil LBB0_7: callq _UNLIKELY testq %rax, %rax je LBB0_10 ## %bb.8: movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax cmpq -48(%rbp), %rax jne LBB0_75 ## %bb.9: movq %r14, %rdi movq %r12, %rsi leaq -40(%rbp), %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp jmp _realpath ## TAILCALL LBB0_10: cmpb $0, (%r14) je LBB0_58 ## %bb.11: xorl %edi, %edi testq %r12, %r12 sete %dil callq _LIKELY movq %r12, %r13 testq %rax, %rax je LBB0_13 ## %bb.12: movq _PATH_MAX@GOTPCREL(%rip), %rax movl (%rax), %edi callq _malloc movq %rax, %r13 xorl %edi, %edi testq %rax, %rax sete %dil callq _UNLIKELY testq %rax, %rax jne LBB0_2 LBB0_13: movq %r12, -88(%rbp) ## 8-byte Spill movq _PATH_MAX@GOTPCREL(%rip), %rax movslq (%rax), %rbx movq %r13, %rdi movq -80(%rbp), %rsi ## 8-byte Reload callq _strcpy movq $0, -104(%rbp) ## 8-byte Folded Spill movq %r13, %rdi xorl %esi, %esi callq _rawmemchr movq %rax, %r12 movzbl (%r14), %eax testb %al, %al je LBB0_62 ## %bb.14: xorl %ecx, %ecx cmpq $0, -88(%rbp) ## 8-byte Folded Reload setne %cl movl %ecx, -116(%rbp) ## 4-byte Spill movq %r12, %rcx subq %r13, %rcx movq %r13, %rdx subq %rbx, %rdx movq %rdx, -112(%rbp) ## 8-byte Spill movl %ecx, %edx movq %rdx, -152(%rbp) ## 8-byte Spill movslq %ecx, %rcx movq %rcx, -128(%rbp) ## 8-byte Spill jmp LBB0_17 LBB0_15: ## in Loop: Header=BB0_17 Depth=1 movq %r15, %r13 LBB0_16: ## in Loop: Header=BB0_17 Depth=1 movzbl (%r14), %eax testb %al, %al je LBB0_62 LBB0_17: ## =>This Loop Header: Depth=1 ## Child Loop BB0_18 Depth 2 ## Child Loop BB0_20 Depth 2 ## Child Loop BB0_52 Depth 2 ## Child Loop BB0_30 Depth 2 movq %r13, %r15 movq %r14, %rbx cmpb $47, %al jne LBB0_19 .p2align 4, 0x90 LBB0_18: ## Parent Loop BB0_17 Depth=1 ## => This Inner Loop Header: Depth=2 movzbl 1(%rbx), %eax incq %rbx cmpb $47, %al je LBB0_18 LBB0_19: ## in Loop: Header=BB0_17 Depth=1 xorl %r13d, %r13d movl %eax, %ecx movq %rbx, %r14 testb %cl, %cl je LBB0_22 .p2align 4, 0x90 LBB0_20: ## Parent Loop BB0_17 Depth=1 ## => This Inner Loop Header: Depth=2 movzbl %cl, %ecx cmpl $47, %ecx je LBB0_22 ## %bb.21: ## in Loop: Header=BB0_20 Depth=2 movzbl 1(%r14), %ecx incq %r14 decq %r13 testb %cl, %cl jne LBB0_20 LBB0_22: ## in Loop: Header=BB0_17 Depth=1 testq %r13, %r13 je LBB0_15 ## %bb.23: ## in Loop: Header=BB0_17 Depth=1 movq %r13, %rdx negq %rdx cmpq $2, %rdx je LBB0_27 ## %bb.24: ## in Loop: Header=BB0_17 Depth=1 cmpq $1, %rdx jne LBB0_31 ## %bb.25: ## in Loop: Header=BB0_17 Depth=1 cmpb $46, %al je LBB0_15 jmp LBB0_31 LBB0_27: ## in Loop: Header=BB0_17 Depth=1 cmpb $46, %al jne LBB0_31 ## %bb.28: ## in Loop: Header=BB0_17 Depth=1 cmpb $46, 1(%rbx) jne LBB0_31 ## %bb.29: ## in Loop: Header=BB0_17 Depth=1 movq %r15, %r13 leaq 1(%r15), %rax cmpq %rax, %r12 jbe LBB0_16 .p2align 4, 0x90 LBB0_30: ## Parent Loop BB0_17 Depth=1 ## => This Inner Loop Header: Depth=2 cmpb $47, -2(%r12) leaq -1(%r12), %r12 jne LBB0_30 jmp LBB0_16 LBB0_31: ## in Loop: Header=BB0_17 Depth=1 cmpb $47, -1(%r12) je LBB0_33 ## %bb.32: ## in Loop: Header=BB0_17 Depth=1 movb $47, (%r12) incq %r12 LBB0_33: ## in Loop: Header=BB0_17 Depth=1 movq %r12, %rax subq %r13, %rax cmpq -112(%rbp), %rax ## 8-byte Folded Reload jae LBB0_35 ## %bb.34: ## in Loop: Header=BB0_17 Depth=1 movq %r15, %r13 jmp LBB0_38 LBB0_35: ## in Loop: Header=BB0_17 Depth=1 movq %rdx, -64(%rbp) ## 8-byte Spill movl -116(%rbp), %edi ## 4-byte Reload callq _UNLIKELY testq %rax, %rax jne LBB0_71 ## %bb.36: ## in Loop: Header=BB0_17 Depth=1 movq %r15, %rdi movq -112(%rbp), %rcx ## 8-byte Reload subq %r15, %rcx movq _PATH_MAX@GOTPCREL(%rip), %rax movslq (%rax), %rax movl $1, %r15d subq %r13, %r15 cmpq %rax, -64(%rbp) ## 8-byte Folded Reload cmovlq %rax, %r15 addq %rcx, %r15 movq %rdi, -72(%rbp) ## 8-byte Spill movq %r15, %rsi callq _realloc movq %rax, %r13 xorl %edi, %edi testq %rax, %rax sete %dil callq _UNLIKELY testq %rax, %rax jne LBB0_72 ## %bb.37: ## in Loop: Header=BB0_17 Depth=1 subq -72(%rbp), %r12 ## 8-byte Folded Reload addq %r13, %r15 movslq %r12d, %r12 addq %r13, %r12 movq %r15, -112(%rbp) ## 8-byte Spill movq -64(%rbp), %rdx ## 8-byte Reload LBB0_38: ## in Loop: Header=BB0_17 Depth=1 movq %r12, %rdi movq %rbx, %rsi callq _mempmove movq %rax, %r12 movb $0, (%rax) cmpl $1, -152(%rbp) ## 4-byte Folded Reload jne LBB0_40 ## %bb.39: ## in Loop: Header=BB0_17 Depth=1 movq -80(%rbp), %rax ## 8-byte Reload cmpb $47, (%rax) movq %r13, %rbx je LBB0_42 LBB0_40: ## in Loop: Header=BB0_17 Depth=1 movq %r13, %rdi movq -80(%rbp), %rsi ## 8-byte Reload movq -128(%rbp), %rdx ## 8-byte Reload callq _strncmp movq %r13, %rbx testq %rax, %rax jne LBB0_42 ## %bb.41: ## in Loop: Header=BB0_17 Depth=1 movq -128(%rbp), %rax ## 8-byte Reload leaq (%rax,%r13), %rbx incq %rbx LBB0_42: ## in Loop: Header=BB0_17 Depth=1 xorl %edi, %edi cmpb $0, (%rbx) sete %dil callq _UNLIKELY testq %rax, %rax cmovneq %r13, %rbx movq _AT_SYMLINK_NOFOLLOW@GOTPCREL(%rip), %rax movl (%rax), %ecx movl -52(%rbp), %edi ## 4-byte Reload movq %rbx, %rsi movq -144(%rbp), %r15 ## 8-byte Reload movq %r15, %rdx callq _fstatat shrq $63, %rax movl %eax, %edi callq _UNLIKELY testq %rax, %rax jne LBB0_73 ## %bb.43: ## in Loop: Header=BB0_17 Depth=1 movl (%r15), %edi callq _S_ISLNK movl %eax, %edi callq _UNLIKELY testq %rax, %rax je LBB0_49 ## %bb.44: ## in Loop: Header=BB0_17 Depth=1 movq %r13, -72(%rbp) ## 8-byte Spill movq %rsp, -96(%rbp) ## 8-byte Spill movq _PATH_MAX@GOTPCREL(%rip), %r15 movl (%r15), %eax callq ____chkstk_darwin addq $15, %rax andq $-16, %rax subq %rax, %rsp movq %rsp, %r13 xorl %edi, %edi movq -104(%rbp), %rax ## 8-byte Reload movq _MAXSYMLINKS@GOTPCREL(%rip), %rcx cmpl (%rcx), %eax setge %dil callq _UNLIKELY testq %rax, %rax jne LBB0_67 ## %bb.45: ## in Loop: Header=BB0_17 Depth=1 movl (%r15), %ecx decl %ecx movl -52(%rbp), %edi ## 4-byte Reload movq %rbx, %rsi movq %r13, -64(%rbp) ## 8-byte Spill movq %r13, %rdx callq _readlinkat movq %rax, %r13 movl %r13d, %edi shrl $31, %edi callq _UNLIKELY testq %rax, %rax jne LBB0_70 ## %bb.46: ## in Loop: Header=BB0_17 Depth=1 movslq %r13d, %rbx movq -64(%rbp), %rax ## 8-byte Reload movb $0, (%rax,%rbx) movq %r14, %rdi callq _strlen movq %r15, %rcx movq %rax, %r15 movslq (%rcx), %rax movslq %r13d, %rcx subq %rcx, %rax xorl %edi, %edi cmpq %rax, %r15 setae %dil callq _UNLIKELY testq %rax, %rax jne LBB0_68 ## %bb.47: ## in Loop: Header=BB0_17 Depth=1 movq -136(%rbp), %r13 ## 8-byte Reload leaq (%rbx,%r13), %rdi incq %r15 movq %r14, %rsi movq %r15, %rdx callq _memmove movq %r13, %rdi movq -64(%rbp), %r14 ## 8-byte Reload movq %r14, %rsi movq %rbx, %rdx callq _memcpy movq -72(%rbp), %r13 ## 8-byte Reload leaq 1(%r13), %rax cmpb $47, (%r14) jne LBB0_51 ## %bb.48: ## in Loop: Header=BB0_17 Depth=1 movq -96(%rbp), %rdx ## 8-byte Reload jmp LBB0_54 LBB0_49: ## in Loop: Header=BB0_17 Depth=1 movl (%r15), %edi callq _S_ISDIR testl %eax, %eax je LBB0_55 ## %bb.50: ## in Loop: Header=BB0_17 Depth=1 xorl %eax, %eax jmp LBB0_56 LBB0_51: ## in Loop: Header=BB0_17 Depth=1 cmpq %rax, %r12 movq -96(%rbp), %rdx ## 8-byte Reload jbe LBB0_53 .p2align 4, 0x90 LBB0_52: ## Parent Loop BB0_17 Depth=1 ## => This Inner Loop Header: Depth=2 leaq -1(%r12), %rax cmpb $47, -2(%r12) movq %rax, %r12 jne LBB0_52 jmp LBB0_54 LBB0_53: ## in Loop: Header=BB0_17 Depth=1 movq %r12, %rax LBB0_54: ## in Loop: Header=BB0_17 Depth=1 movq -104(%rbp), %rcx ## 8-byte Reload incl %ecx movq %rcx, -104(%rbp) ## 8-byte Spill movq %rdx, %rsp movq -136(%rbp), %r14 ## 8-byte Reload movq %rax, %r12 jmp LBB0_16 LBB0_55: ## in Loop: Header=BB0_17 Depth=1 cmpb $0, (%r14) setne %al LBB0_56: ## in Loop: Header=BB0_17 Depth=1 movzbl %al, %edi callq _UNLIKELY testq %rax, %rax je LBB0_16 ## %bb.57: movq _ENOTDIR@GOTPCREL(%rip), %rax movl (%rax), %eax movq _errno@GOTPCREL(%rip), %rcx movl %eax, (%rcx) jmp LBB0_73 LBB0_58: movq %rbx, %rsi movl -52(%rbp), %edi ## 4-byte Reload callq _fstat shrq $63, %rax movl %eax, %edi callq _UNLIKELY testq %rax, %rax jne LBB0_2 ## %bb.59: xorl %edi, %edi testq %r12, %r12 sete %dil callq _LIKELY testq %rax, %rax je LBB0_65 ## %bb.60: movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax cmpq -48(%rbp), %rax movq -80(%rbp), %rdi ## 8-byte Reload jne LBB0_75 ## %bb.61: leaq -40(%rbp), %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp jmp _strdup ## TAILCALL LBB0_62: leaq 1(%r13), %rax cmpq %rax, %r12 jbe LBB0_64 ## %bb.63: leaq -1(%r12), %rax cmpb $47, -1(%r12) cmoveq %rax, %r12 LBB0_64: movb $0, (%r12) movq -88(%rbp), %rcx ## 8-byte Reload testq %rcx, %rcx sete %al cmpq %rcx, %r13 sete %cl orb %al, %cl movzbl %cl, %edi callq _assert jmp LBB0_3 LBB0_65: movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax cmpq -48(%rbp), %rax movq -80(%rbp), %rsi ## 8-byte Reload jne LBB0_75 ## %bb.66: movq %r12, %rdi leaq -40(%rbp), %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp jmp _strcpy ## TAILCALL LBB0_67: movq _ELOOP@GOTPCREL(%rip), %rax jmp LBB0_69 LBB0_68: movq _ENAMETOOLONG@GOTPCREL(%rip), %rax LBB0_69: movl (%rax), %eax movq _errno@GOTPCREL(%rip), %rcx movl %eax, (%rcx) LBB0_70: movq -96(%rbp), %rsp ## 8-byte Reload LBB0_72: movq -72(%rbp), %r13 ## 8-byte Reload LBB0_73: movq -88(%rbp), %rbx ## 8-byte Reload testq %rbx, %rbx sete %al cmpq %rbx, %r13 sete %cl orb %al, %cl movzbl %cl, %edi callq _assert testq %rbx, %rbx jne LBB0_2 ## %bb.74: movq %r13, %rdi callq _free jmp LBB0_2 LBB0_71: movq _ENAMETOOLONG@GOTPCREL(%rip), %rax movl (%rax), %eax movq _errno@GOTPCREL(%rip), %rcx movl %eax, (%rcx) movq %r15, %r13 leaq 1(%r15), %rax cmpq %r12, %rax sbbq $0, %r12 movb $0, (%r12) jmp LBB0_73 LBB0_75: callq ___stack_chk_fail .cfi_endproc ## -- End function .comm _PATH_MAX,4,2 ## @PATH_MAX .comm _EINVAL,4,2 ## @EINVAL .comm _errno,4,2 ## @errno .comm _ENAMETOOLONG,4,2 ## @ENAMETOOLONG .comm _AT_SYMLINK_NOFOLLOW,4,2 ## @AT_SYMLINK_NOFOLLOW .comm _MAXSYMLINKS,4,2 ## @MAXSYMLINKS .comm _ELOOP,4,2 ## @ELOOP .comm _ENOTDIR,4,2 ## @ENOTDIR .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _realpathat2 ; -- Begin function realpathat2 .p2align 2 _realpathat2: ; @realpathat2 .cfi_startproc ; %bb.0: stp x28, x27, [sp, #-96]! ; 16-byte Folded Spill stp x26, x25, [sp, #16] ; 16-byte Folded Spill stp x24, x23, [sp, #32] ; 16-byte Folded Spill stp x22, x21, [sp, #48] ; 16-byte Folded Spill stp x20, x19, [sp, #64] ; 16-byte Folded Spill stp x29, x30, [sp, #80] ; 16-byte Folded Spill add x29, sp, #80 sub sp, sp, #80 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset w27, -88 .cfi_offset w28, -96 mov x22, x4 mov x20, x3 mov x24, x2 mov x21, 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, #-88] Lloh3: adrp x25, _PATH_MAX@GOTPAGE Lloh4: ldr x25, [x25, _PATH_MAX@GOTPAGEOFF] ldr w8, [x25] 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 x27, x9, x8 mov sp, x27 cmp x2, #0 cset w0, ne bl _UNLIKELY cbz x0, LBB0_4 ; %bb.1: mov x19, #0 ; =0x0 Lloh7: adrp x8, _EINVAL@GOTPAGE Lloh8: ldr x8, [x8, _EINVAL@GOTPAGEOFF] Lloh9: ldr w8, [x8] Lloh10: adrp x9, _errno@GOTPAGE Lloh11: ldr x9, [x9, _errno@GOTPAGEOFF] Lloh12: str w8, [x9] LBB0_2: ldur x8, [x29, #-88] Lloh13: adrp x9, ___stack_chk_guard@GOTPAGE Lloh14: ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF] Lloh15: ldr x9, [x9] cmp x9, x8 b.ne LBB0_71 ; %bb.3: mov x0, x19 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: tbz w23, #31, LBB0_12 ; %bb.5: cbnz x21, LBB0_12 ; %bb.6: mov w0, #1 ; =0x1 bl _UNLIKELY cbnz x0, LBB0_13 LBB0_7: ldrb w8, [x24] cbz w8, LBB0_15 ; %bb.8: cmp x20, #0 cset w0, eq bl _LIKELY mov x19, x20 cbz x0, LBB0_10 ; %bb.9: ldr w0, [x25] bl _malloc mov x19, x0 cmp x0, #0 cset w0, eq bl _UNLIKELY cbnz x0, LBB0_70 LBB0_10: stur x20, [x29, #-144] ; 8-byte Folded Spill ldrsw x20, [x25] mov x0, x19 mov x1, x21 bl _strcpy mov w1, #0 ; =0x0 bl _rawmemchr mov x26, x0 ldrb w8, [x24] cbz w8, LBB0_58 ; %bb.11: stp w23, wzr, [x29, #-104] ; 8-byte Folded Spill ldur x9, [x29, #-144] ; 8-byte Folded Reload cmp x9, #0 cset w9, ne stur w9, [x29, #-148] ; 4-byte Folded Spill sub x20, x19, x20 sub x9, x26, x19 mov w10, w9 sxtw x9, w9 stp x9, x10, [x29, #-136] ; 16-byte Folded Spill stp x22, x21, [x29, #-120] ; 16-byte Folded Spill b LBB0_22 LBB0_12: ldrb w8, [x24] cmp w8, #47 cset w0, eq bl _UNLIKELY cbz x0, LBB0_7 LBB0_13: ldur x8, [x29, #-88] Lloh16: adrp x9, ___stack_chk_guard@GOTPAGE Lloh17: ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF] Lloh18: ldr x9, [x9] cmp x9, x8 b.ne LBB0_71 ; %bb.14: mov x0, x24 mov x1, x20 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 b _realpath LBB0_15: mov x0, x23 mov x1, x22 bl _fstat lsr x0, x0, #63 ; kill: def $w0 killed $w0 killed $x0 bl _UNLIKELY cbnz x0, LBB0_70 ; %bb.16: cmp x20, #0 cset w0, eq bl _LIKELY cbz x0, LBB0_61 ; %bb.17: ldur x8, [x29, #-88] Lloh19: adrp x9, ___stack_chk_guard@GOTPAGE Lloh20: ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF] Lloh21: ldr x9, [x9] cmp x9, x8 b.ne LBB0_71 ; %bb.18: mov x0, x21 sub sp, x29, #80 ldp x29, x30, [sp, #80] ; 16-byte Folded Reload ldp x20, x19, [sp, #64] ; 16-byte Folded Reload ldp x22, x21, [sp, #48] ; 16-byte Folded Reload ldp x24, x23, [sp, #32] ; 16-byte Folded Reload ldp x26, x25, [sp, #16] ; 16-byte Folded Reload ldp x28, x27, [sp], #96 ; 16-byte Folded Reload b _strdup LBB0_19: ; in Loop: Header=BB0_22 Depth=1 mov x8, x26 LBB0_20: ; in Loop: Header=BB0_22 Depth=1 ldur w9, [x29, #-100] ; 4-byte Folded Reload add w9, w9, #1 stur w9, [x29, #-100] ; 4-byte Folded Spill mov sp, x23 mov x24, x27 mov x26, x8 ldur w23, [x29, #-104] ; 4-byte Folded Reload LBB0_21: ; in Loop: Header=BB0_22 Depth=1 ldrb w8, [x24] cbz w8, LBB0_58 LBB0_22: ; =>This Loop Header: Depth=1 ; Child Loop BB0_23 Depth 2 ; Child Loop BB0_25 Depth 2 ; Child Loop BB0_52 Depth 2 ; Child Loop BB0_34 Depth 2 mov x25, x24 cmp w8, #47 b.ne LBB0_24 LBB0_23: ; Parent Loop BB0_22 Depth=1 ; => This Inner Loop Header: Depth=2 ldrb w8, [x25, #1]! cmp w8, #47 b.eq LBB0_23 LBB0_24: ; in Loop: Header=BB0_22 Depth=1 mov x28, #0 ; =0x0 mov x9, x8 cbz w9, LBB0_27 LBB0_25: ; Parent Loop BB0_22 Depth=1 ; => This Inner Loop Header: Depth=2 cmp w9, #47 b.eq LBB0_27 ; %bb.26: ; in Loop: Header=BB0_25 Depth=2 add x9, x25, x28 ldrb w9, [x9, #1] add x28, x28, #1 cbnz w9, LBB0_25 LBB0_27: ; in Loop: Header=BB0_22 Depth=1 add x24, x25, x28 cbz x28, LBB0_21 ; %bb.28: ; in Loop: Header=BB0_22 Depth=1 cmp x28, #2 b.eq LBB0_31 ; %bb.29: ; in Loop: Header=BB0_22 Depth=1 cmp x28, #1 b.ne LBB0_35 ; %bb.30: ; in Loop: Header=BB0_22 Depth=1 cmp w8, #46 b.eq LBB0_21 b LBB0_35 LBB0_31: ; in Loop: Header=BB0_22 Depth=1 cmp w8, #46 b.ne LBB0_35 ; %bb.32: ; in Loop: Header=BB0_22 Depth=1 ldrb w8, [x25, #1] cmp w8, #46 b.ne LBB0_35 ; %bb.33: ; in Loop: Header=BB0_22 Depth=1 add x8, x19, #1 cmp x26, x8 b.ls LBB0_21 LBB0_34: ; Parent Loop BB0_22 Depth=1 ; => This Inner Loop Header: Depth=2 ldurb w8, [x26, #-2] sub x26, x26, #1 cmp w8, #47 b.ne LBB0_34 b LBB0_21 LBB0_35: ; in Loop: Header=BB0_22 Depth=1 ldurb w8, [x26, #-1] cmp w8, #47 b.eq LBB0_37 ; %bb.36: ; in Loop: Header=BB0_22 Depth=1 mov w8, #47 ; =0x2f strb w8, [x26], #1 LBB0_37: ; in Loop: Header=BB0_22 Depth=1 add x8, x26, x28 cmp x8, x20 b.hs LBB0_39 ; %bb.38: ; in Loop: Header=BB0_22 Depth=1 stur x20, [x29, #-96] ; 8-byte Folded Spill b LBB0_42 LBB0_39: ; in Loop: Header=BB0_22 Depth=1 ldur w0, [x29, #-148] ; 4-byte Folded Reload bl _UNLIKELY cbnz x0, LBB0_67 ; %bb.40: ; in Loop: Header=BB0_22 Depth=1 Lloh22: adrp x8, _PATH_MAX@GOTPAGE Lloh23: ldr x8, [x8, _PATH_MAX@GOTPAGEOFF] Lloh24: ldrsw x8, [x8] cmp x28, x8 csinc x8, x8, x28, lt sub x9, x20, x19 add x22, x8, x9 mov x0, x19 mov x1, x22 bl _realloc mov x21, x0 cmp x0, #0 cset w0, eq bl _UNLIKELY cbnz x0, LBB0_68 ; %bb.41: ; in Loop: Header=BB0_22 Depth=1 sub x8, x26, x19 add x9, x21, x22 stur x9, [x29, #-96] ; 8-byte Folded Spill add x26, x21, w8, sxtw mov x19, x21 ldp x22, x21, [x29, #-120] ; 16-byte Folded Reload LBB0_42: ; in Loop: Header=BB0_22 Depth=1 mov x0, x26 mov x1, x25 mov x2, x28 bl _mempmove mov x26, x0 strb wzr, [x0] ldur x8, [x29, #-128] ; 8-byte Folded Reload cmp x8, #1 b.ne LBB0_44 ; %bb.43: ; in Loop: Header=BB0_22 Depth=1 ldrb w8, [x21] mov x20, x19 cmp w8, #47 b.eq LBB0_45 LBB0_44: ; in Loop: Header=BB0_22 Depth=1 mov x0, x19 mov x1, x21 ldur x20, [x29, #-136] ; 8-byte Folded Reload mov x2, x20 bl _strncmp add x8, x19, x20 cmp x0, #0 csinc x20, x19, x8, ne LBB0_45: ; in Loop: Header=BB0_22 Depth=1 ldrb w8, [x20] cmp w8, #0 cset w0, eq bl _UNLIKELY cmp x0, #0 csel x28, x20, x19, eq Lloh25: adrp x8, _AT_SYMLINK_NOFOLLOW@GOTPAGE Lloh26: ldr x8, [x8, _AT_SYMLINK_NOFOLLOW@GOTPAGEOFF] Lloh27: ldr w3, [x8] mov x0, x23 mov x1, x28 mov x2, x22 bl _fstatat lsr x0, x0, #63 ; kill: def $w0 killed $w0 killed $x0 bl _UNLIKELY cbnz x0, LBB0_68 ; %bb.46: ; in Loop: Header=BB0_22 Depth=1 ldr w0, [x22] bl _S_ISLNK bl _UNLIKELY cbz x0, LBB0_53 ; %bb.47: ; in Loop: Header=BB0_22 Depth=1 mov x23, sp Lloh28: adrp x20, _PATH_MAX@GOTPAGE Lloh29: ldr x20, [x20, _PATH_MAX@GOTPAGEOFF] ldr w8, [x20] mov x9, x8 Lloh30: adrp x16, ___chkstk_darwin@GOTPAGE Lloh31: 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 Lloh32: adrp x8, _MAXSYMLINKS@GOTPAGE Lloh33: ldr x8, [x8, _MAXSYMLINKS@GOTPAGEOFF] Lloh34: ldr w8, [x8] ldur w9, [x29, #-100] ; 4-byte Folded Reload cmp w9, w8 cset w0, ge bl _UNLIKELY cbnz x0, LBB0_63 ; %bb.48: ; in Loop: Header=BB0_22 Depth=1 ldr w8, [x20] sub w3, w8, #1 ldur w0, [x29, #-104] ; 4-byte Folded Reload mov x1, x28 mov x2, x25 bl _readlinkat mov x21, x0 ubfx x0, x0, #31, #1 ; kill: def $w0 killed $w0 killed $x0 bl _UNLIKELY cbnz x0, LBB0_66 ; %bb.49: ; in Loop: Header=BB0_22 Depth=1 sxtw x28, w21 strb wzr, [x25, x28] mov x0, x24 bl _strlen mov x22, x0 ldrsw x8, [x20] sub x8, x8, w21, sxtw cmp x0, x8 cset w0, hs bl _UNLIKELY cbnz x0, LBB0_64 ; %bb.50: ; in Loop: Header=BB0_22 Depth=1 add x0, x27, x28 add x2, x22, #1 mov x1, x24 bl _memmove mov x0, x27 mov x1, x25 mov x2, x28 bl _memcpy ldrb w9, [x25] add x8, x19, #1 cmp w9, #47 ldp x22, x21, [x29, #-120] ; 16-byte Folded Reload ldur x20, [x29, #-96] ; 8-byte Folded Reload b.eq LBB0_20 ; %bb.51: ; in Loop: Header=BB0_22 Depth=1 cmp x26, x8 b.ls LBB0_19 LBB0_52: ; Parent Loop BB0_22 Depth=1 ; => This Inner Loop Header: Depth=2 sub x8, x26, #1 ldurb w9, [x26, #-2] mov x26, x8 cmp w9, #47 b.ne LBB0_52 b LBB0_20 LBB0_53: ; in Loop: Header=BB0_22 Depth=1 ldr w0, [x22] bl _S_ISDIR cbz w0, LBB0_55 ; %bb.54: ; in Loop: Header=BB0_22 Depth=1 mov w0, #0 ; =0x0 b LBB0_56 LBB0_55: ; in Loop: Header=BB0_22 Depth=1 ldrb w8, [x24] cmp w8, #0 cset w0, ne LBB0_56: ; in Loop: Header=BB0_22 Depth=1 ldur x20, [x29, #-96] ; 8-byte Folded Reload bl _UNLIKELY cbz x0, LBB0_21 ; %bb.57: Lloh35: adrp x8, _ENOTDIR@GOTPAGE Lloh36: ldr x8, [x8, _ENOTDIR@GOTPAGEOFF] Lloh37: ldr w8, [x8] Lloh38: adrp x9, _errno@GOTPAGE Lloh39: ldr x9, [x9, _errno@GOTPAGEOFF] Lloh40: str w8, [x9] b LBB0_68 LBB0_58: add x8, x19, #1 cmp x26, x8 b.ls LBB0_60 ; %bb.59: mov x8, x26 ldrb w9, [x8, #-1]! cmp w9, #47 csel x26, x8, x26, eq LBB0_60: strb wzr, [x26] ldur x8, [x29, #-144] ; 8-byte Folded Reload cmp x8, #0 ccmp x19, x8, #4, ne cset w0, eq bl _assert b LBB0_2 LBB0_61: ldur x8, [x29, #-88] Lloh41: adrp x9, ___stack_chk_guard@GOTPAGE Lloh42: ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF] Lloh43: ldr x9, [x9] cmp x9, x8 b.ne LBB0_71 ; %bb.62: mov x0, x20 mov x1, x21 sub sp, x29, #80 ldp x29, x30, [sp, #80] ; 16-byte Folded Reload ldp x20, x19, [sp, #64] ; 16-byte Folded Reload ldp x22, x21, [sp, #48] ; 16-byte Folded Reload ldp x24, x23, [sp, #32] ; 16-byte Folded Reload ldp x26, x25, [sp, #16] ; 16-byte Folded Reload ldp x28, x27, [sp], #96 ; 16-byte Folded Reload b _strcpy LBB0_63: Lloh44: adrp x8, _ELOOP@GOTPAGE Lloh45: ldr x8, [x8, _ELOOP@GOTPAGEOFF] b LBB0_65 LBB0_64: Lloh46: adrp x8, _ENAMETOOLONG@GOTPAGE Lloh47: ldr x8, [x8, _ENAMETOOLONG@GOTPAGEOFF] LBB0_65: ldr w8, [x8] Lloh48: adrp x9, _errno@GOTPAGE Lloh49: ldr x9, [x9, _errno@GOTPAGEOFF] Lloh50: str w8, [x9] LBB0_66: mov sp, x23 b LBB0_68 LBB0_67: Lloh51: adrp x8, _ENAMETOOLONG@GOTPAGE Lloh52: ldr x8, [x8, _ENAMETOOLONG@GOTPAGEOFF] Lloh53: ldr w8, [x8] Lloh54: adrp x9, _errno@GOTPAGE Lloh55: ldr x9, [x9, _errno@GOTPAGEOFF] Lloh56: str w8, [x9] add x8, x19, #1 cmp x26, x8 cset w8, hi sub x8, x26, x8 strb wzr, [x8] LBB0_68: ldur x20, [x29, #-144] ; 8-byte Folded Reload cmp x20, #0 ccmp x19, x20, #4, ne cset w0, eq bl _assert cbnz x20, LBB0_70 ; %bb.69: mov x0, x19 bl _free LBB0_70: mov x19, #0 ; =0x0 b LBB0_2 LBB0_71: bl ___stack_chk_fail .loh AdrpLdrGot Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotStr Lloh10, Lloh11, Lloh12 .loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9 .loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh15 .loh AdrpLdrGotLdr Lloh16, Lloh17, Lloh18 .loh AdrpLdrGotLdr Lloh19, Lloh20, Lloh21 .loh AdrpLdrGotLdr Lloh22, Lloh23, Lloh24 .loh AdrpLdrGotLdr Lloh25, Lloh26, Lloh27 .loh AdrpLdrGotLdr Lloh32, Lloh33, Lloh34 .loh AdrpLdrGot Lloh28, Lloh29 .loh AdrpLdrGotStr Lloh38, Lloh39, Lloh40 .loh AdrpLdrGotLdr Lloh35, Lloh36, Lloh37 .loh AdrpLdrGotLdr Lloh41, Lloh42, Lloh43 .loh AdrpLdrGot Lloh44, Lloh45 .loh AdrpLdrGot Lloh46, Lloh47 .loh AdrpLdrGotStr Lloh48, Lloh49, Lloh50 .loh AdrpLdrGotStr Lloh54, Lloh55, Lloh56 .loh AdrpLdrGotLdr Lloh51, Lloh52, Lloh53 .loh AdrpLdrGot Lloh5, Lloh6 .loh AdrpLdrGot Lloh30, Lloh31 .cfi_endproc ; -- End function .comm _PATH_MAX,4,2 ; @PATH_MAX .comm _EINVAL,4,2 ; @EINVAL .comm _errno,4,2 ; @errno .comm _ENAMETOOLONG,4,2 ; @ENAMETOOLONG .comm _AT_SYMLINK_NOFOLLOW,4,2 ; @AT_SYMLINK_NOFOLLOW .comm _MAXSYMLINKS,4,2 ; @MAXSYMLINKS .comm _ELOOP,4,2 ; @ELOOP .comm _ENOTDIR,4,2 ; @ENOTDIR .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _elfcore_write_note ## -- Begin function elfcore_write_note .p2align 4, 0x90 _elfcore_write_note: ## @elfcore_write_note .cfi_startproc ## %bb.0: 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 movl %r8d, -44(%rbp) ## 4-byte Spill movq %rdx, %r14 movq %rsi, %r15 movq %rdi, -56(%rbp) ## 8-byte Spill movl 16(%rbp), %ebx movq %rcx, -64(%rbp) ## 8-byte Spill testq %rcx, %rcx je LBB0_2 ## %bb.1: xorl %r12d, %r12d jmp LBB0_3 LBB0_2: xorl %edi, %edi callq _strlen incl %eax movslq %eax, %r12 LBB0_3: leal 3(%rbx), %eax andl $-4, %eax leal -1(%r12), %ecx orl $-4, %ecx leal (%rax,%rcx), %esi addl $12, %esi movl %eax, %r13d addl %ecx, %r13d addl (%r14), %esi movq %r15, %rdi callq _realloc movq %rax, %r15 movslq (%r14), %rbx leal (%rbx,%r13), %eax addl $12, %eax movl 16(%rbp), %r13d movl %eax, (%r14) movl 16(%r15,%rbx), %edx movq -56(%rbp), %r14 ## 8-byte Reload movq %r14, %rdi movl %r12d, %esi callq _H_PUT_32 movl 12(%r15,%rbx), %edx movq %r14, %rdi movl %r13d, %esi callq _H_PUT_32 movl 8(%r15,%rbx), %edx movq %r14, %rdi movl -44(%rbp), %esi ## 4-byte Reload callq _H_PUT_32 movq (%r15,%rbx), %rbx movq -64(%rbp), %rsi ## 8-byte Reload testq %rsi, %rsi je LBB0_7 ## %bb.4: movq %rbx, %rdi movl %r12d, %edx callq _memcpy movq %r12, %rax andq $3, %rax je LBB0_5 ## %bb.6: movq %rax, %rcx xorq $3, %rcx movq %r12, %rdi subq %rcx, %rdi addq %rbx, %rdi movl $4, %esi subq %rax, %rsi callq ___bzero movq %r12, %rax orq $-4, %rax addq %r12, %rax addq %rax, %rbx jmp LBB0_7 LBB0_5: addq %r12, %rbx LBB0_7: movq %rbx, %rdi movq -72(%rbp), %rsi ## 8-byte Reload movl %r13d, %edx callq _memcpy movl %r13d, %eax andl $3, %eax je LBB0_9 ## %bb.8: movslq %r13d, %rcx addq %rcx, %rbx movl $4, %esi subl %eax, %esi movq %rbx, %rdi callq ___bzero LBB0_9: movq %r15, %rax addq $40, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _elfcore_write_note ; -- Begin function elfcore_write_note .p2align 2 _elfcore_write_note: ; @elfcore_write_note .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, x6 mov x20, x5 mov x24, x4 mov x23, x3 mov x26, x2 mov x21, x1 mov x25, x0 cbz x3, LBB0_2 ; %bb.1: mov x22, #0 ; =0x0 b LBB0_3 LBB0_2: mov x0, #0 ; =0x0 bl _strlen add w8, w0, #1 sxtw x22, w8 LBB0_3: add w8, w19, #3 and w8, w8, #0xfffffffc ldr w9, [x26] sub w10, w22, #1 orr w10, w10, #0xfffffffc add w8, w8, w10 add w27, w8, #12 add w1, w27, w9 mov x0, x21 bl _realloc mov x21, x0 ldrsw x8, [x26] add x28, x0, x8 add w8, w27, w8 str w8, [x26] ldr w2, [x28, #16] mov x0, x25 mov x1, x22 bl _H_PUT_32 ldr w2, [x28, #12] mov x0, x25 mov x1, x19 bl _H_PUT_32 ldr w2, [x28, #8] mov x0, x25 mov x1, x24 bl _H_PUT_32 ldr x24, [x28] cbz x23, LBB0_7 ; %bb.4: mov x0, x24 mov x1, x23 mov x2, x22 bl _memcpy ands x8, x22, #0x3 b.eq LBB0_6 ; %bb.5: eor x9, x8, #0x3 sub x9, x22, x9 mov w10, #4 ; =0x4 sub x1, x10, x8 add x0, x24, x9 bl _bzero orr x8, x22, #0xfffffffffffffffc add x8, x8, x22 add x24, x24, x8 b LBB0_7 LBB0_6: add x24, x24, x22 LBB0_7: mov x0, x24 mov x1, x20 mov x2, x19 bl _memcpy ands w8, w19, #0x3 b.eq LBB0_9 ; %bb.8: add x0, x24, w19, sxtw mov w9, #4 ; =0x4 sub w1, w9, w8 bl _bzero LBB0_9: 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 .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 get_physaddr _get_physaddr: ## @get_physaddr .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %rbx pushq %rax .cfi_offset %rbx, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdx, %r14 movq %rdi, %rbx movq (%rsi), %rax movq (%rdi), %rdx testq %rax, %rax je LBB0_1 ## %bb.5: cmpq %rax, %rdx jne LBB0_6 ## %bb.11: movq 8(%rbx), %rdi movq %r14, %rsi movq %rax, %rdx callq _memcmp testq %rax, %rax je LBB0_16 ## %bb.12: movl 16(%rbx), %edi movq (%rbx), %rdx movq 8(%rbx), %rsi callq _mib_find_rcvaddr testq %rax, %rax je LBB0_14 ## %bb.13: movq %rax, %rdi callq _mib_rcvaddr_delete jmp LBB0_14 LBB0_1: testq %rdx, %rdx je LBB0_16 ## %bb.2: movl 16(%rbx), %edi movq 8(%rbx), %rsi callq _mib_find_rcvaddr testq %rax, %rax je LBB0_4 ## %bb.3: movq %rax, %rdi callq _mib_rcvaddr_delete jmp LBB0_4 LBB0_6: movq %rsi, %r15 testq %rdx, %rdx je LBB0_9 ## %bb.7: movl 16(%rbx), %edi movq 8(%rbx), %rsi callq _mib_find_rcvaddr testq %rax, %rax je LBB0_9 ## %bb.8: movq %rax, %rdi callq _mib_rcvaddr_delete LBB0_9: movq 8(%rbx), %rdi movq (%r15), %rsi callq _realloc testq %rax, %rax je LBB0_4 ## %bb.10: movq %rax, 8(%rbx) movq (%r15), %rax movq %rax, (%rbx) LBB0_14: movq (%rbx), %rdx movq 8(%rbx), %rdi movq %r14, %rsi callq _memcpy movq (%rbx), %rdx movq 8(%rbx), %rsi movq %rbx, %rdi callq _mib_rcvaddr_create testq %rax, %rax je LBB0_16 ## %bb.15: movq _MIBRCVADDR_HW@GOTPCREL(%rip), %rcx movl (%rcx), %ecx orl %ecx, (%rax) jmp LBB0_16 LBB0_4: movq 8(%rbx), %rdi callq _free xorps %xmm0, %xmm0 movups %xmm0, (%rbx) LBB0_16: addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _MIBRCVADDR_HW,4,2 ## @MIBRCVADDR_HW .no_dead_strip _get_physaddr .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function get_physaddr _get_physaddr: ; @get_physaddr .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, x2 mov x19, x0 ldr x8, [x1] ldr x2, [x0] cbz x8, LBB0_5 ; %bb.1: cmp x2, x8 b.ne LBB0_8 ; %bb.2: ldr x0, [x19, #8] mov x1, x20 mov x2, x8 bl _memcmp cbz x0, LBB0_16 ; %bb.3: ldr w0, [x19, #16] ldp x2, x1, [x19] bl _mib_find_rcvaddr cbz x0, LBB0_13 ; %bb.4: bl _mib_rcvaddr_delete b LBB0_13 LBB0_5: cbz x2, LBB0_16 ; %bb.6: ldr w0, [x19, #16] ldr x1, [x19, #8] bl _mib_find_rcvaddr cbz x0, LBB0_15 ; %bb.7: bl _mib_rcvaddr_delete b LBB0_15 LBB0_8: mov x21, x1 cbz x2, LBB0_11 ; %bb.9: ldr w0, [x19, #16] ldr x1, [x19, #8] bl _mib_find_rcvaddr cbz x0, LBB0_11 ; %bb.10: bl _mib_rcvaddr_delete LBB0_11: ldr x0, [x19, #8] ldr x1, [x21] bl _realloc cbz x0, LBB0_15 ; %bb.12: ldr x8, [x21] stp x8, x0, [x19] LBB0_13: ldp x2, x0, [x19] mov x1, x20 bl _memcpy ldp x2, x1, [x19] mov x0, x19 bl _mib_rcvaddr_create cbz x0, LBB0_16 ; %bb.14: Lloh0: adrp x8, _MIBRCVADDR_HW@GOTPAGE Lloh1: ldr x8, [x8, _MIBRCVADDR_HW@GOTPAGEOFF] Lloh2: ldr w8, [x8] ldr w9, [x0] orr w8, w9, w8 str w8, [x0] b LBB0_16 LBB0_15: ldr x0, [x19, #8] bl _free stp xzr, xzr, [x19] LBB0_16: ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _MIBRCVADDR_HW,4,2 ; @MIBRCVADDR_HW .no_dead_strip _get_physaddr .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function drm_addbufs_sg _drm_addbufs_sg: ## @drm_addbufs_sg .cfi_startproc ## %bb.0: 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, %r15 movq %rdi, %rbx movq 40(%rdi), %r14 movq _DRIVER_SG@GOTPCREL(%rip), %rax movl (%rax), %esi callq _drm_core_check_feature testl %eax, %eax je LBB0_1 ## %bb.3: testq %r14, %r14 je LBB0_1 ## %bb.4: movq _DRM_CURPROC@GOTPCREL(%rip), %rax movl (%rax), %edi callq _DRM_SUSER testl %eax, %eax je LBB0_5 ## %bb.6: movq %r14, -80(%rbp) ## 8-byte Spill movq %rbx, -56(%rbp) ## 8-byte Spill movl (%r15), %eax movl %eax, -44(%rbp) ## 4-byte Spill movl 4(%r15), %edi callq _drm_order movl $1, %r13d movl %eax, -68(%rbp) ## 4-byte Spill movl %eax, %ecx shll %cl, %r13d movq __DRM_PAGE_ALIGN@GOTPCREL(%rip), %rax movl (%rax), %eax movq %r15, -96(%rbp) ## 8-byte Spill orl 8(%r15), %eax movl %r13d, %eax je LBB0_8 ## %bb.7: movl %r13d, %edi callq _PAGE_ALIGN LBB0_8: movl %eax, -60(%rbp) ## 4-byte Spill movq _PAGE_SHIFT@GOTPCREL(%rip), %rax movl -68(%rbp), %r14d ## 4-byte Reload movl %r14d, %r12d subl (%rax), %r12d xorl %eax, %eax testl %r12d, %r12d cmovlel %eax, %r12d movq _PAGE_SIZE@GOTPCREL(%rip), %rax movl (%rax), %r15d movl %r12d, %ecx shll %cl, %r15d movq -96(%rbp), %rax ## 8-byte Reload movq 16(%rax), %rbx leaq L_.str(%rip), %rdi movl -44(%rbp), %esi ## 4-byte Reload xorl %eax, %eax callq _DRM_DEBUG leaq L_.str.1(%rip), %rdi movl %r14d, %esi xorl %eax, %eax callq _DRM_DEBUG leaq L_.str.2(%rip), %rdi movl %r13d, -64(%rbp) ## 4-byte Spill movl %r13d, %esi xorl %eax, %eax callq _DRM_DEBUG leaq L_.str.3(%rip), %rdi movq %rbx, -112(%rbp) ## 8-byte Spill movl %ebx, %esi movl %r12d, %ebx xorl %eax, %eax callq _DRM_DEBUG leaq L_.str.4(%rip), %rdi movl -60(%rbp), %esi ## 4-byte Reload xorl %eax, %eax callq _DRM_DEBUG leaq L_.str.5(%rip), %rdi movl %r12d, %esi xorl %eax, %eax callq _DRM_DEBUG leaq L_.str.6(%rip), %rdi movl %r15d, %esi xorl %eax, %eax callq _DRM_DEBUG movq _DRM_MIN_ORDER@GOTPCREL(%rip), %rax cmpl (%rax), %r14d jg LBB0_10 ## %bb.9: movq _DRM_MAX_ORDER@GOTPCREL(%rip), %rax cmpl (%rax), %r14d jle LBB0_10 LBB0_1: movq _EINVAL@GOTPCREL(%rip), %rcx LBB0_2: xorl %eax, %eax subl (%rcx), %eax LBB0_36: addq $72, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_5: movq _EPERM@GOTPCREL(%rip), %rcx jmp LBB0_2 LBB0_10: movq -56(%rbp), %r13 ## 8-byte Reload leaq 24(%r13), %r15 movq %r15, %rdi callq _mtx_lock cmpq $0, 32(%r13) je LBB0_12 ## %bb.11: movq %r15, %rdi callq _mtx_unlock movq _EBUSY@GOTPCREL(%rip), %rcx jmp LBB0_2 LBB0_12: movq %r13, %rdi callq _atomic_inc movq %r15, %rdi callq _mtx_unlock movq %r13, %rdi callq _DRM_LOCK movq %r13, %r15 movq -80(%rbp), %rax ## 8-byte Reload movq 40(%rax), %r13 movslq %r14d, %rax shlq $5, %rax cmpl $0, (%r13,%rax) je LBB0_15 ## %bb.13: movq %r15, %rdi callq _DRM_UNLOCK movq %r15, %rdi LBB0_14: callq _atomic_dec movq _ENOMEM@GOTPCREL(%rip), %rcx jmp LBB0_2 LBB0_15: movl -44(%rbp), %r15d ## 4-byte Reload cmpl $4097, %r15d ## imm = 0x1001 jb LBB0_17 ## %bb.16: movq -56(%rbp), %rbx ## 8-byte Reload movq %rbx, %rdi callq _DRM_UNLOCK movq %rbx, %rdi callq _atomic_dec jmp LBB0_1 LBB0_17: addq %rax, %r13 movl %r15d, %eax shll $5, %eax leal (%rax,%rax,2), %edi movq _DRM_MEM_BUFS@GOTPCREL(%rip), %rax movl (%rax), %esi movq _M_NOWAIT@GOTPCREL(%rip), %rax movq _M_ZERO@GOTPCREL(%rip), %rcx movl (%rcx), %edx orl (%rax), %edx callq _malloc movq %rax, 24(%r13) testq %rax, %rax je LBB0_18 ## %bb.20: movl -64(%rbp), %eax ## 4-byte Reload movl %eax, 4(%r13) movl %ebx, 8(%r13) movl (%r13), %eax xorl %ecx, %ecx cmpl %r15d, %eax jge LBB0_25 ## %bb.21: movslq -60(%rbp), %rcx ## 4-byte Folded Reload movq %rcx, -104(%rbp) ## 8-byte Spill xorl %ecx, %ecx xorl %esi, %esi LBB0_22: ## =>This Inner Loop Header: Depth=1 movl %ecx, -84(%rbp) ## 4-byte Spill movq 24(%r13), %r15 cltq leaq (%rax,%rax,2), %r14 shlq $5, %r14 movq -80(%rbp), %rcx ## 8-byte Reload addl (%rcx), %eax movl %eax, (%r15,%r14) movl -60(%rbp), %eax ## 4-byte Reload movl %eax, 4(%r15,%r14) movl -68(%rbp), %eax ## 4-byte Reload movl %eax, 8(%r15,%r14) movq $0, 88(%r15,%r14) movq 16(%rcx), %rax addq %rsi, %rax movq %rax, 80(%r15,%r14) movq -112(%rbp), %rax ## 8-byte Reload movq %rsi, %r12 addq %rsi, %rax movq %rax, 16(%r15,%r14) movq -56(%rbp), %rdx ## 8-byte Reload movq 16(%rdx), %rcx addq (%rcx), %rax movq %rax, 32(%r15,%r14) xorps %xmm0, %xmm0 movups %xmm0, 48(%r15,%r14) movups %xmm0, 64(%r15,%r14) movq 8(%rdx), %rax movl (%rax), %edi movl %edi, 24(%r15,%r14) movq _DRM_MEM_BUFS@GOTPCREL(%rip), %rax movl (%rax), %esi movq _M_ZERO@GOTPCREL(%rip), %rax movl (%rax), %edx movq _M_NOWAIT@GOTPCREL(%rip), %rax orl (%rax), %edx callq _malloc movq %rax, 40(%r15,%r14) testq %rax, %rax je LBB0_23 ## %bb.24: ## in Loop: Header=BB0_22 Depth=1 addq %r14, %r15 movl (%r13), %esi movq 32(%r15), %rdx leaq L_.str.7(%rip), %rdi xorl %eax, %eax callq _DRM_DEBUG movl (%r13), %eax incl %eax movl %eax, (%r13) movq _PAGE_SIZE@GOTPCREL(%rip), %rcx movl (%rcx), %edx movl %ebx, %ecx shll %cl, %edx movq %r12, %rsi addq -104(%rbp), %rsi ## 8-byte Folded Reload movl -84(%rbp), %ecx ## 4-byte Reload addl %edx, %ecx cmpl -44(%rbp), %eax ## 4-byte Folded Reload jl LBB0_22 LBB0_25: leaq L_.str.8(%rip), %rdi movl %ecx, %ebx movl %ecx, %esi xorl %eax, %eax callq _DRM_DEBUG movl (%r13), %esi movq -80(%rbp), %r14 ## 8-byte Reload addl (%r14), %esi movq 32(%r14), %rdi shll $3, %esi movq _DRM_MEM_BUFS@GOTPCREL(%rip), %rax movl (%rax), %edx movq _M_NOWAIT@GOTPCREL(%rip), %rax movl (%rax), %ecx callq _realloc testq %rax, %rax je LBB0_26 ## %bb.27: movq %rax, 32(%r14) movslq (%r13), %rax movslq (%r14), %rsi testq %rax, %rax movq -96(%rbp), %r15 ## 8-byte Reload movl -64(%rbp), %r12d ## 4-byte Reload jle LBB0_35 ## %bb.28: movl %eax, %ecx andl $3, %ecx cmpl $4, %eax jae LBB0_30 ## %bb.29: xorl %edx, %edx jmp LBB0_32 LBB0_18: movq -56(%rbp), %rbx ## 8-byte Reload jmp LBB0_19 LBB0_23: movl -44(%rbp), %eax ## 4-byte Reload movl %eax, (%r13) LBB0_26: movq -56(%rbp), %rbx ## 8-byte Reload movq %rbx, %rdi movq %r13, %rsi callq _drm_cleanup_buf_error LBB0_19: movq %rbx, %rdi callq _DRM_UNLOCK movq %rbx, %rdi jmp LBB0_14 LBB0_30: movl %eax, %edi andl $2147483644, %edi ## imm = 0x7FFFFFFC leaq (,%rsi,8), %r8 movl $288, %r9d ## imm = 0x120 xorl %edx, %edx LBB0_31: ## =>This Inner Loop Header: Depth=1 movq 24(%r13), %r10 addq %r9, %r10 addq $-288, %r10 ## imm = 0xFEE0 movq 32(%r14), %r11 addq %r8, %r11 movq %r10, (%r11,%rdx,8) movq 24(%r13), %r10 addq %r9, %r10 addq $-192, %r10 movq 32(%r14), %r11 addq %r8, %r11 movq %r10, 8(%r11,%rdx,8) movq 24(%r13), %r10 addq %r9, %r10 addq $-96, %r10 movq 32(%r14), %r11 addq %r8, %r11 movq %r10, 16(%r11,%rdx,8) movq 24(%r13), %r10 addq %r9, %r10 movq 32(%r14), %r11 addq %r8, %r11 movq %r10, 24(%r11,%rdx,8) addq $4, %rdx addq $384, %r9 ## imm = 0x180 cmpq %rdx, %rdi jne LBB0_31 LBB0_32: testq %rcx, %rcx je LBB0_35 ## %bb.33: leaq (%rdx,%rsi), %rdi shlq $5, %rdx leaq (%rdx,%rdx,2), %rdx LBB0_34: ## =>This Inner Loop Header: Depth=1 movq 24(%r13), %r8 addq %rdx, %r8 movq 32(%r14), %r9 movq %r8, (%r9,%rdi,8) incq %rdi addq $96, %rdx decq %rcx jne LBB0_34 LBB0_35: addl %eax, %esi movl %esi, (%r14) movl 16(%r13), %eax addl %eax, 24(%r14) movq _PAGE_SHIFT@GOTPCREL(%rip), %rax movzbl (%rax), %ecx movslq %ebx, %rax sarl %cl, %ebx addl %ebx, 4(%r14) addq %rax, 16(%r14) leaq L_.str.9(%rip), %rdi ## kill: def $esi killed $esi killed $rsi xorl %eax, %eax callq _DRM_DEBUG movl (%r13), %esi leaq L_.str.10(%rip), %rdi xorl %eax, %eax callq _DRM_DEBUG movq -56(%rbp), %rbx ## 8-byte Reload movq %rbx, %rdi callq _DRM_UNLOCK movl (%r13), %eax movl %eax, (%r15) movl %r12d, 4(%r15) movq __DRM_DMA_USE_SG@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, 8(%r14) movq %rbx, %rdi callq _atomic_dec xorl %eax, %eax jmp LBB0_36 .cfi_endproc ## -- End function .comm _DRIVER_SG,4,2 ## @DRIVER_SG .comm _EINVAL,4,2 ## @EINVAL .comm _DRM_CURPROC,4,2 ## @DRM_CURPROC .comm _EPERM,4,2 ## @EPERM .comm __DRM_PAGE_ALIGN,4,2 ## @_DRM_PAGE_ALIGN .comm _PAGE_SHIFT,4,2 ## @PAGE_SHIFT .comm _PAGE_SIZE,4,2 ## @PAGE_SIZE .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "count: %d\n" L_.str.1: ## @.str.1 .asciz "order: %d\n" L_.str.2: ## @.str.2 .asciz "size: %d\n" L_.str.3: ## @.str.3 .asciz "agp_offset: %lu\n" L_.str.4: ## @.str.4 .asciz "alignment: %d\n" L_.str.5: ## @.str.5 .asciz "page_order: %d\n" L_.str.6: ## @.str.6 .asciz "total: %d\n" .comm _DRM_MIN_ORDER,4,2 ## @DRM_MIN_ORDER .comm _DRM_MAX_ORDER,4,2 ## @DRM_MAX_ORDER .comm _EBUSY,4,2 ## @EBUSY .comm _ENOMEM,4,2 ## @ENOMEM .comm _DRM_MEM_BUFS,4,2 ## @DRM_MEM_BUFS .comm _M_NOWAIT,4,2 ## @M_NOWAIT .comm _M_ZERO,4,2 ## @M_ZERO L_.str.7: ## @.str.7 .asciz "buffer %d @ %p\n" L_.str.8: ## @.str.8 .asciz "byte_count: %d\n" L_.str.9: ## @.str.9 .asciz "dma->buf_count : %d\n" L_.str.10: ## @.str.10 .asciz "entry->buf_count : %d\n" .comm __DRM_DMA_USE_SG,4,2 ## @_DRM_DMA_USE_SG .no_dead_strip _drm_addbufs_sg .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function drm_addbufs_sg _drm_addbufs_sg: ; @drm_addbufs_sg .cfi_startproc ; %bb.0: sub sp, sp, #144 stp x28, x27, [sp, #48] ; 16-byte Folded Spill stp x26, x25, [sp, #64] ; 16-byte Folded Spill stp x24, x23, [sp, #80] ; 16-byte Folded Spill stp x22, x21, [sp, #96] ; 16-byte Folded Spill stp x20, x19, [sp, #112] ; 16-byte Folded Spill stp x29, x30, [sp, #128] ; 16-byte Folded Spill add x29, sp, #128 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset w27, -88 .cfi_offset w28, -96 mov x20, x1 mov x19, x0 ldr x28, [x0, #40] Lloh0: adrp x8, _DRIVER_SG@GOTPAGE Lloh1: ldr x8, [x8, _DRIVER_SG@GOTPAGEOFF] Lloh2: ldr w1, [x8] bl _drm_core_check_feature cbz w0, LBB0_7 ; %bb.1: cbz x28, LBB0_7 ; %bb.2: Lloh3: adrp x8, _DRM_CURPROC@GOTPAGE Lloh4: ldr x8, [x8, _DRM_CURPROC@GOTPAGEOFF] Lloh5: ldr w0, [x8] bl _DRM_SUSER cbz w0, LBB0_10 ; %bb.3: ldp w22, w0, [x20] bl _drm_order mov x24, x0 mov w8, #1 ; =0x1 lsl w21, w8, w0 ldr w8, [x20, #8] Lloh6: adrp x9, __DRM_PAGE_ALIGN@GOTPAGE Lloh7: ldr x9, [x9, __DRM_PAGE_ALIGN@GOTPAGEOFF] Lloh8: ldr w9, [x9] mov x25, x21 orr w8, w9, w8 cbz w8, LBB0_5 ; %bb.4: mov x0, x21 bl _PAGE_ALIGN mov x25, x0 LBB0_5: Lloh9: adrp x8, _PAGE_SHIFT@GOTPAGE Lloh10: ldr x8, [x8, _PAGE_SHIFT@GOTPAGEOFF] Lloh11: ldr w8, [x8] sub w8, w24, w8 bic w26, w8, w8, asr #31 Lloh12: adrp x8, _PAGE_SIZE@GOTPAGE Lloh13: ldr x8, [x8, _PAGE_SIZE@GOTPAGEOFF] Lloh14: ldr w8, [x8] lsl w23, w8, w26 ldr x27, [x20, #16] Lloh15: adrp x0, l_.str@PAGE Lloh16: add x0, x0, l_.str@PAGEOFF mov x1, x22 bl _DRM_DEBUG Lloh17: adrp x0, l_.str.1@PAGE Lloh18: add x0, x0, l_.str.1@PAGEOFF mov x1, x24 bl _DRM_DEBUG Lloh19: adrp x0, l_.str.2@PAGE Lloh20: add x0, x0, l_.str.2@PAGEOFF mov x1, x21 bl _DRM_DEBUG Lloh21: adrp x0, l_.str.3@PAGE Lloh22: add x0, x0, l_.str.3@PAGEOFF mov x1, x27 bl _DRM_DEBUG Lloh23: adrp x0, l_.str.4@PAGE Lloh24: add x0, x0, l_.str.4@PAGEOFF mov x1, x25 bl _DRM_DEBUG Lloh25: adrp x0, l_.str.5@PAGE Lloh26: add x0, x0, l_.str.5@PAGEOFF mov x1, x26 bl _DRM_DEBUG Lloh27: adrp x0, l_.str.6@PAGE Lloh28: add x0, x0, l_.str.6@PAGEOFF mov x1, x23 bl _DRM_DEBUG Lloh29: adrp x8, _DRM_MIN_ORDER@GOTPAGE Lloh30: ldr x8, [x8, _DRM_MIN_ORDER@GOTPAGEOFF] Lloh31: ldr w8, [x8] cmp w24, w8 b.gt LBB0_11 ; %bb.6: Lloh32: adrp x8, _DRM_MAX_ORDER@GOTPAGE Lloh33: ldr x8, [x8, _DRM_MAX_ORDER@GOTPAGEOFF] Lloh34: ldr w8, [x8] cmp w24, w8 b.le LBB0_11 LBB0_7: Lloh35: adrp x8, _EINVAL@GOTPAGE Lloh36: ldr x8, [x8, _EINVAL@GOTPAGEOFF] LBB0_8: ldr w8, [x8] neg w0, w8 LBB0_9: 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_10: Lloh37: adrp x8, _EPERM@GOTPAGE Lloh38: ldr x8, [x8, _EPERM@GOTPAGEOFF] b LBB0_8 LBB0_11: add x0, x19, #24 bl _mtx_lock ldr x8, [x19, #32] cbz x8, LBB0_13 ; %bb.12: add x0, x19, #24 bl _mtx_unlock Lloh39: adrp x8, _EBUSY@GOTPAGE Lloh40: ldr x8, [x8, _EBUSY@GOTPAGEOFF] b LBB0_8 LBB0_13: mov x0, x19 bl _atomic_inc add x0, x19, #24 bl _mtx_unlock mov x0, x19 bl _DRM_LOCK ldr x8, [x28, #40] sxtw x9, w24 add x23, x8, x9, lsl #5 ldr w8, [x23] cbz w8, LBB0_15 LBB0_14: mov x0, x19 bl _DRM_UNLOCK mov x0, x19 bl _atomic_dec Lloh41: adrp x8, _ENOMEM@GOTPAGE Lloh42: ldr x8, [x8, _ENOMEM@GOTPAGEOFF] b LBB0_8 LBB0_15: cmp w22, #1, lsl #12 ; =4096 b.ls LBB0_17 ; %bb.16: mov x0, x19 bl _DRM_UNLOCK mov x0, x19 bl _atomic_dec b LBB0_7 LBB0_17: add w8, w22, w22, lsl #1 lsl w0, w8, #5 Lloh43: adrp x8, _DRM_MEM_BUFS@GOTPAGE Lloh44: ldr x8, [x8, _DRM_MEM_BUFS@GOTPAGEOFF] Lloh45: ldr w1, [x8] Lloh46: adrp x8, _M_NOWAIT@GOTPAGE Lloh47: ldr x8, [x8, _M_NOWAIT@GOTPAGEOFF] Lloh48: ldr w8, [x8] Lloh49: adrp x9, _M_ZERO@GOTPAGE Lloh50: ldr x9, [x9, _M_ZERO@GOTPAGEOFF] Lloh51: ldr w9, [x9] orr w2, w9, w8 bl _malloc str x0, [x23, #24] cbz x0, LBB0_14 ; %bb.18: stp w21, w26, [x23, #4] ldr w8, [x23] cmp w8, w22 str x23, [sp, #40] ; 8-byte Folded Spill mov w1, #0 ; =0x0 b.ge LBB0_22 ; %bb.19: mov x23, #0 ; =0x0 sxtw x10, w25 stp x10, x27, [sp, #16] ; 16-byte Folded Spill str w22, [sp, #32] ; 4-byte Folded Spill LBB0_20: ; =>This Inner Loop Header: Depth=1 str w1, [sp, #36] ; 4-byte Folded Spill ldr x9, [sp, #40] ; 8-byte Folded Reload ldr x9, [x9, #24] mov w10, #96 ; =0x60 smaddl x22, w8, w10, x9 ldr w9, [x28] add w8, w9, w8 stp w8, w25, [x22] str w24, [x22, #8] ldr x8, [x28, #16] add x8, x23, x8 stp x8, xzr, [x22, #80] ldr x8, [x19, #16] ldr x8, [x8] add x9, x27, x23 add x8, x9, x8 str x9, [x22, #16] str x8, [x22, #32] movi.2d v0, #0000000000000000 stp q0, q0, [x22, #48] ldr x8, [x19, #8] ldr w0, [x8] str w0, [x22, #24] Lloh52: adrp x8, _DRM_MEM_BUFS@GOTPAGE Lloh53: ldr x8, [x8, _DRM_MEM_BUFS@GOTPAGEOFF] Lloh54: ldr w1, [x8] Lloh55: adrp x8, _M_NOWAIT@GOTPAGE Lloh56: ldr x8, [x8, _M_NOWAIT@GOTPAGEOFF] Lloh57: ldr w8, [x8] Lloh58: adrp x9, _M_ZERO@GOTPAGE Lloh59: ldr x9, [x9, _M_ZERO@GOTPAGEOFF] Lloh60: ldr w9, [x9] orr w2, w9, w8 bl _malloc str x0, [x22, #40] cbz x0, LBB0_28 ; %bb.21: ; in Loop: Header=BB0_20 Depth=1 ldr x27, [sp, #40] ; 8-byte Folded Reload ldr w1, [x27] ldr x8, [x22, #32] str x8, [sp] Lloh61: adrp x0, l_.str.7@PAGE Lloh62: add x0, x0, l_.str.7@PAGEOFF bl _DRM_DEBUG ldr x8, [sp, #16] ; 8-byte Folded Reload add x23, x23, x8 ldr w8, [x27] add w8, w8, #1 str w8, [x27] ldr x27, [sp, #24] ; 8-byte Folded Reload Lloh63: adrp x9, _PAGE_SIZE@GOTPAGE Lloh64: ldr x9, [x9, _PAGE_SIZE@GOTPAGEOFF] Lloh65: ldr w9, [x9] lsl w9, w9, w26 ldp w22, w1, [sp, #32] ; 8-byte Folded Reload add w1, w9, w1 cmp w8, w22 b.lt LBB0_20 LBB0_22: Lloh66: adrp x0, l_.str.8@PAGE Lloh67: add x0, x0, l_.str.8@PAGEOFF mov x23, x1 bl _DRM_DEBUG ldr x0, [x28, #32] ldr w8, [x28] ldr x22, [sp, #40] ; 8-byte Folded Reload ldr w9, [x22] add w8, w9, w8 lsl w1, w8, #3 Lloh68: adrp x8, _DRM_MEM_BUFS@GOTPAGE Lloh69: ldr x8, [x8, _DRM_MEM_BUFS@GOTPAGEOFF] Lloh70: ldr w2, [x8] Lloh71: adrp x8, _M_NOWAIT@GOTPAGE Lloh72: ldr x8, [x8, _M_NOWAIT@GOTPAGEOFF] Lloh73: ldr w3, [x8] bl _realloc cbz x0, LBB0_27 ; %bb.23: str x0, [x28, #32] ldr w8, [x22] ldrsw x9, [x28] cmp w8, #1 b.lt LBB0_26 ; %bb.24: mov x10, #0 ; =0x0 lsl x11, x9, #3 add x12, x8, x8, lsl #1 lsl x12, x12, #5 LBB0_25: ; =>This Inner Loop Header: Depth=1 ldr x13, [x22, #24] add x13, x13, x10 ldr x14, [x28, #32] str x13, [x14, x11] add x11, x11, #8 add x10, x10, #96 cmp x12, x10 b.ne LBB0_25 LBB0_26: add w1, w9, w8 str w1, [x28] ldr w8, [x22, #16] ldr w9, [x28, #24] add w8, w9, w8 str w8, [x28, #24] Lloh74: adrp x8, _PAGE_SHIFT@GOTPAGE Lloh75: ldr x8, [x8, _PAGE_SHIFT@GOTPAGEOFF] Lloh76: ldr w8, [x8] asr w8, w23, w8 ldr w9, [x28, #4] add w8, w9, w8 str w8, [x28, #4] ldr x8, [x28, #16] add x8, x8, w23, sxtw str x8, [x28, #16] Lloh77: adrp x0, l_.str.9@PAGE Lloh78: add x0, x0, l_.str.9@PAGEOFF bl _DRM_DEBUG ldr w1, [x22] Lloh79: adrp x0, l_.str.10@PAGE Lloh80: add x0, x0, l_.str.10@PAGEOFF bl _DRM_DEBUG mov x0, x19 bl _DRM_UNLOCK ldr w8, [x22] stp w8, w21, [x20] Lloh81: adrp x8, __DRM_DMA_USE_SG@GOTPAGE Lloh82: ldr x8, [x8, __DRM_DMA_USE_SG@GOTPAGEOFF] Lloh83: ldr w8, [x8] str w8, [x28, #8] mov x0, x19 bl _atomic_dec mov w0, #0 ; =0x0 b LBB0_9 LBB0_27: mov x0, x19 mov x1, x22 bl _drm_cleanup_buf_error b LBB0_14 LBB0_28: ldr w8, [sp, #32] ; 4-byte Folded Reload ldr x1, [sp, #40] ; 8-byte Folded Reload str w8, [x1] mov x0, x19 bl _drm_cleanup_buf_error b LBB0_14 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpLdrGotLdr Lloh29, Lloh30, Lloh31 .loh AdrpAdd Lloh27, Lloh28 .loh AdrpAdd Lloh25, Lloh26 .loh AdrpAdd Lloh23, Lloh24 .loh AdrpAdd Lloh21, Lloh22 .loh AdrpAdd Lloh19, Lloh20 .loh AdrpAdd Lloh17, Lloh18 .loh AdrpAdd Lloh15, Lloh16 .loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14 .loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11 .loh AdrpLdrGotLdr Lloh32, Lloh33, Lloh34 .loh AdrpLdrGot Lloh35, Lloh36 .loh AdrpLdrGot Lloh37, Lloh38 .loh AdrpLdrGot Lloh39, Lloh40 .loh AdrpLdrGot Lloh41, Lloh42 .loh AdrpLdrGotLdr Lloh49, Lloh50, Lloh51 .loh AdrpLdrGotLdr Lloh46, Lloh47, Lloh48 .loh AdrpLdrGotLdr Lloh43, Lloh44, Lloh45 .loh AdrpLdrGotLdr Lloh58, Lloh59, Lloh60 .loh AdrpLdrGotLdr Lloh55, Lloh56, Lloh57 .loh AdrpLdrGotLdr Lloh52, Lloh53, Lloh54 .loh AdrpLdrGotLdr Lloh63, Lloh64, Lloh65 .loh AdrpAdd Lloh61, Lloh62 .loh AdrpLdrGotLdr Lloh71, Lloh72, Lloh73 .loh AdrpLdrGotLdr Lloh68, Lloh69, Lloh70 .loh AdrpAdd Lloh66, Lloh67 .loh AdrpLdrGotLdr Lloh81, Lloh82, Lloh83 .loh AdrpAdd Lloh79, Lloh80 .loh AdrpAdd Lloh77, Lloh78 .loh AdrpLdrGotLdr Lloh74, Lloh75, Lloh76 .cfi_endproc ; -- End function .comm _DRIVER_SG,4,2 ; @DRIVER_SG .comm _EINVAL,4,2 ; @EINVAL .comm _DRM_CURPROC,4,2 ; @DRM_CURPROC .comm _EPERM,4,2 ; @EPERM .comm __DRM_PAGE_ALIGN,4,2 ; @_DRM_PAGE_ALIGN .comm _PAGE_SHIFT,4,2 ; @PAGE_SHIFT .comm _PAGE_SIZE,4,2 ; @PAGE_SIZE .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "count: %d\n" l_.str.1: ; @.str.1 .asciz "order: %d\n" l_.str.2: ; @.str.2 .asciz "size: %d\n" l_.str.3: ; @.str.3 .asciz "agp_offset: %lu\n" l_.str.4: ; @.str.4 .asciz "alignment: %d\n" l_.str.5: ; @.str.5 .asciz "page_order: %d\n" l_.str.6: ; @.str.6 .asciz "total: %d\n" .comm _DRM_MIN_ORDER,4,2 ; @DRM_MIN_ORDER .comm _DRM_MAX_ORDER,4,2 ; @DRM_MAX_ORDER .comm _EBUSY,4,2 ; @EBUSY .comm _ENOMEM,4,2 ; @ENOMEM .comm _DRM_MEM_BUFS,4,2 ; @DRM_MEM_BUFS .comm _M_NOWAIT,4,2 ; @M_NOWAIT .comm _M_ZERO,4,2 ; @M_ZERO l_.str.7: ; @.str.7 .asciz "buffer %d @ %p\n" l_.str.8: ; @.str.8 .asciz "byte_count: %d\n" l_.str.9: ; @.str.9 .asciz "dma->buf_count : %d\n" l_.str.10: ; @.str.10 .asciz "entry->buf_count : %d\n" .comm __DRM_DMA_USE_SG,4,2 ; @_DRM_DMA_USE_SG .no_dead_strip _drm_addbufs_sg .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _osd_set_reserved ## -- Begin function osd_set_reserved .p2align 4, 0x90 _osd_set_reserved: ## @osd_set_reserved .cfi_startproc ## %bb.0: 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, -56(%rbp) ## 8-byte Spill movq %rcx, %rbx movq %rdi, %r13 movq _OSD_FIRST@GOTPCREL(%rip), %rax cmpq %rdi, (%rax) setbe %al movq %rdx, %r15 movq _OSD_LAST@GOTPCREL(%rip), %rcx cmpq %rdi, (%rcx) movq %rsi, %r14 setae %cl orb %al, %cl movzbl %cl, %edi leaq L_.str(%rip), %rsi callq _KASSERT xorl %edi, %edi testq %r15, %r15 setne %dil leaq L_.str.1(%rip), %rsi callq _KASSERT movq _osdm@GOTPCREL(%rip), %r12 movq (%r12), %rax movq %r13, -64(%rbp) ## 8-byte Spill leaq (,%r13,8), %rcx leaq (%rcx,%rcx,2), %r13 movq 16(%rax,%r13), %rax xorl %edi, %edi cmpq $0, 8(%rax,%r15,8) setne %dil leaq L_.str.2(%rip), %rsi callq _KASSERT movq (%r12), %rdi movq %r14, %r12 addq %r13, %rdi leaq -44(%rbp), %rsi callq _rm_rlock movq (%r14), %rdx cmpq %r15, %rdx jae LBB0_13 ## %bb.1: movq %r13, -72(%rbp) ## 8-byte Spill movq -56(%rbp), %r13 ## 8-byte Reload testq %r13, %r13 je LBB0_2 ## %bb.4: testq %rbx, %rbx je LBB0_9 ## %bb.5: testq %rdx, %rdx je LBB0_7 ## %bb.6: movq 8(%r12), %rsi shll $3, %edx movq %rbx, %rdi ## kill: def $edx killed $edx killed $rdx callq _memcpy movq 8(%r12), %rdi movq _M_OSD@GOTPCREL(%rip), %rax movl (%rax), %esi callq _free jmp LBB0_7 LBB0_13: movq -56(%rbp), %r13 ## 8-byte Reload testq %rbx, %rbx je LBB0_15 ## %bb.14: movq %rbx, %rdi callq _osd_free_reserved jmp LBB0_15 LBB0_2: leaq L_.str.3(%rip), %rdi xorl %r14d, %r14d movq -64(%rbp), %r12 ## 8-byte Reload movq %r12, %rsi movq %r15, %rdx xorl %eax, %eax callq _OSD_DEBUG leaq (%r12,%r12,2), %rdi shlq $3, %rdi movq _osdm@GOTPCREL(%rip), %rax addq (%rax), %rdi leaq -44(%rbp), %rsi callq _rm_runlock testq %rbx, %rbx je LBB0_16 ## %bb.3: movq %rbx, %rdi callq _osd_free_reserved jmp LBB0_16 LBB0_9: movq 8(%r12), %rdi leal (,%r15,8), %esi movq _M_OSD@GOTPCREL(%rip), %rax movl (%rax), %edx movq _M_NOWAIT@GOTPCREL(%rip), %rax movq _M_ZERO@GOTPCREL(%rip), %rcx movl (%rcx), %ecx andl (%rax), %ecx callq _realloc movq %rax, %rbx testq %rax, %rax je LBB0_10 LBB0_7: cmpq $0, (%r12) je LBB0_11 ## %bb.8: leaq L_.str.5(%rip), %rdi jmp LBB0_12 LBB0_11: movq _osdm@GOTPCREL(%rip), %rax movq %rbx, -56(%rbp) ## 8-byte Spill movq %rax, %rbx movq (%rax), %rax movq -72(%rbp), %r14 ## 8-byte Reload leaq (%rax,%r14), %rdi addq $4, %rdi callq _mtx_lock movq (%rbx), %rax leaq (%rax,%r14), %rdi addq $8, %rdi movq _osd_next@GOTPCREL(%rip), %rax movl (%rax), %edx movq %r12, %rsi callq _LIST_INSERT_HEAD movq (%rbx), %rax movq -56(%rbp), %rbx ## 8-byte Reload leaq (%rax,%r14), %rdi addq $4, %rdi callq _mtx_unlock leaq L_.str.4(%rip), %rdi LBB0_12: movq -64(%rbp), %rsi ## 8-byte Reload xorl %eax, %eax callq _OSD_DEBUG movq %rbx, 8(%r12) movq %r15, (%r12) LBB0_15: leaq L_.str.6(%rip), %rdi xorl %r14d, %r14d movq -64(%rbp), %rbx ## 8-byte Reload movq %rbx, %rsi movq %r15, %rdx movq %r13, %rcx xorl %eax, %eax callq _OSD_DEBUG movq 8(%r12), %rax movq %r13, -8(%rax,%r15,8) leaq (%rbx,%rbx,2), %rdi shlq $3, %rdi movq _osdm@GOTPCREL(%rip), %rax addq (%rax), %rdi leaq -44(%rbp), %rsi callq _rm_runlock LBB0_16: movl %r14d, %eax addq $40, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_10: movq -64(%rbp), %rax ## 8-byte Reload leaq (%rax,%rax,2), %rdi shlq $3, %rdi movq _osdm@GOTPCREL(%rip), %rax addq (%rax), %rdi leaq -44(%rbp), %rsi callq _rm_runlock movq _ENOMEM@GOTPCREL(%rip), %rax movl (%rax), %r14d jmp LBB0_16 .cfi_endproc ## -- End function .comm _OSD_FIRST,8,3 ## @OSD_FIRST .comm _OSD_LAST,8,3 ## @OSD_LAST .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "Invalid type." L_.str.1: ## @.str.1 .asciz "Invalid slot." .comm _osdm,8,3 ## @osdm L_.str.2: ## @.str.2 .asciz "Unused slot." L_.str.3: ## @.str.3 .asciz "Not allocating null slot (type=%u, slot=%u)." .comm _M_OSD,4,2 ## @M_OSD .comm _M_NOWAIT,4,2 ## @M_NOWAIT .comm _M_ZERO,4,2 ## @M_ZERO .comm _ENOMEM,4,2 ## @ENOMEM .comm _osd_next,4,2 ## @osd_next L_.str.4: ## @.str.4 .asciz "Setting first slot (type=%u)." L_.str.5: ## @.str.5 .asciz "Growing slots array (type=%u)." L_.str.6: ## @.str.6 .asciz "Setting slot value (type=%u, slot=%u, value=%p)." .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _osd_set_reserved ; -- Begin function osd_set_reserved .p2align 2 _osd_set_reserved: ; @osd_set_reserved .cfi_startproc ; %bb.0: sub sp, sp, #112 stp x26, x25, [sp, #32] ; 16-byte Folded Spill stp x24, x23, [sp, #48] ; 16-byte Folded Spill stp x22, x21, [sp, #64] ; 16-byte Folded Spill stp x20, x19, [sp, #80] ; 16-byte Folded Spill stp x29, x30, [sp, #96] ; 16-byte Folded Spill add x29, sp, #96 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 mov x21, x4 mov x23, x3 mov x20, x2 mov x22, x1 mov x19, x0 Lloh0: adrp x8, _OSD_FIRST@GOTPAGE Lloh1: ldr x8, [x8, _OSD_FIRST@GOTPAGEOFF] Lloh2: ldr x8, [x8] cmp x8, x0 Lloh3: adrp x8, _OSD_LAST@GOTPAGE Lloh4: ldr x8, [x8, _OSD_LAST@GOTPAGEOFF] Lloh5: ldr x8, [x8] ccmp x8, x0, #2, hi cset w0, hs Lloh6: adrp x1, l_.str@PAGE Lloh7: add x1, x1, l_.str@PAGEOFF bl _KASSERT cmp x20, #0 cset w0, ne Lloh8: adrp x1, l_.str.1@PAGE Lloh9: add x1, x1, l_.str.1@PAGEOFF bl _KASSERT Lloh10: adrp x24, _osdm@GOTPAGE Lloh11: ldr x24, [x24, _osdm@GOTPAGEOFF] ldr x8, [x24] add x9, x19, x19, lsl #1 lsl x25, x9, #3 add x8, x8, x25 ldr x8, [x8, #16] add x8, x8, x20, lsl #3 ldr x8, [x8, #8] cmp x8, #0 cset w0, ne Lloh12: adrp x1, l_.str.2@PAGE Lloh13: add x1, x1, l_.str.2@PAGEOFF bl _KASSERT ldr x8, [x24] add x0, x8, x25 add x1, sp, #28 bl _rm_rlock ldr x8, [x22] cmp x8, x20 b.hs LBB0_5 ; %bb.1: cbz x21, LBB0_7 ; %bb.2: cbz x23, LBB0_9 ; %bb.3: cbz x8, LBB0_10 ; %bb.4: ldr x1, [x22, #8] lsl w2, w8, #3 mov x0, x23 bl _memcpy ldr x0, [x22, #8] Lloh14: adrp x8, _M_OSD@GOTPAGE Lloh15: ldr x8, [x8, _M_OSD@GOTPAGEOFF] Lloh16: ldr w1, [x8] bl _free b LBB0_10 LBB0_5: cbz x23, LBB0_14 ; %bb.6: mov x0, x23 bl _osd_free_reserved b LBB0_14 LBB0_7: str x20, [sp] Lloh17: adrp x0, l_.str.3@PAGE Lloh18: add x0, x0, l_.str.3@PAGEOFF mov x1, x19 bl _OSD_DEBUG ldr x8, [x24] mov w9, #24 ; =0x18 madd x0, x19, x9, x8 add x1, sp, #28 bl _rm_runlock cbz x23, LBB0_15 ; %bb.8: mov x0, x23 bl _osd_free_reserved b LBB0_15 LBB0_9: ldr x0, [x22, #8] lsl w1, w20, #3 Lloh19: adrp x8, _M_OSD@GOTPAGE Lloh20: ldr x8, [x8, _M_OSD@GOTPAGEOFF] Lloh21: ldr w2, [x8] Lloh22: adrp x8, _M_NOWAIT@GOTPAGE Lloh23: ldr x8, [x8, _M_NOWAIT@GOTPAGEOFF] Lloh24: ldr w8, [x8] Lloh25: adrp x9, _M_ZERO@GOTPAGE Lloh26: ldr x9, [x9, _M_ZERO@GOTPAGEOFF] Lloh27: ldr w9, [x9] and w3, w9, w8 bl _realloc mov x23, x0 cbz x0, LBB0_17 LBB0_10: ldr x8, [x22] cbz x8, LBB0_12 ; %bb.11: Lloh28: adrp x0, l_.str.5@PAGE Lloh29: add x0, x0, l_.str.5@PAGEOFF b LBB0_13 LBB0_12: ldr x8, [x24] add x8, x8, x25 add x0, x8, #4 bl _mtx_lock ldr x8, [x24] add x8, x8, x25 Lloh30: adrp x9, _osd_next@GOTPAGE Lloh31: ldr x9, [x9, _osd_next@GOTPAGEOFF] Lloh32: ldr w2, [x9] add x0, x8, #8 mov x1, x22 bl _LIST_INSERT_HEAD ldr x8, [x24] add x8, x8, x25 add x0, x8, #4 bl _mtx_unlock Lloh33: adrp x0, l_.str.4@PAGE Lloh34: add x0, x0, l_.str.4@PAGEOFF LBB0_13: mov x1, x19 bl _OSD_DEBUG stp x20, x23, [x22] LBB0_14: stp x20, x21, [sp] Lloh35: adrp x0, l_.str.6@PAGE Lloh36: add x0, x0, l_.str.6@PAGEOFF mov x1, x19 bl _OSD_DEBUG ldr x8, [x22, #8] add x8, x8, x20, lsl #3 stur x21, [x8, #-8] ldr x8, [x24] mov w9, #24 ; =0x18 madd x0, x19, x9, x8 add x1, sp, #28 bl _rm_runlock LBB0_15: mov w0, #0 ; =0x0 LBB0_16: ldp x29, x30, [sp, #96] ; 16-byte Folded Reload ldp x20, x19, [sp, #80] ; 16-byte Folded Reload ldp x22, x21, [sp, #64] ; 16-byte Folded Reload ldp x24, x23, [sp, #48] ; 16-byte Folded Reload ldp x26, x25, [sp, #32] ; 16-byte Folded Reload add sp, sp, #112 ret LBB0_17: ldr x8, [x24] mov w9, #24 ; =0x18 madd x0, x19, x9, x8 add x1, sp, #28 bl _rm_runlock Lloh37: adrp x8, _ENOMEM@GOTPAGE Lloh38: ldr x8, [x8, _ENOMEM@GOTPAGEOFF] Lloh39: ldr w0, [x8] b LBB0_16 .loh AdrpAdd Lloh12, Lloh13 .loh AdrpLdrGot Lloh10, Lloh11 .loh AdrpAdd Lloh8, Lloh9 .loh AdrpAdd Lloh6, Lloh7 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16 .loh AdrpAdd Lloh17, Lloh18 .loh AdrpLdrGotLdr Lloh25, Lloh26, Lloh27 .loh AdrpLdrGotLdr Lloh22, Lloh23, Lloh24 .loh AdrpLdrGotLdr Lloh19, Lloh20, Lloh21 .loh AdrpAdd Lloh28, Lloh29 .loh AdrpAdd Lloh33, Lloh34 .loh AdrpLdrGotLdr Lloh30, Lloh31, Lloh32 .loh AdrpAdd Lloh35, Lloh36 .loh AdrpLdrGotLdr Lloh37, Lloh38, Lloh39 .cfi_endproc ; -- End function .comm _OSD_FIRST,8,3 ; @OSD_FIRST .comm _OSD_LAST,8,3 ; @OSD_LAST .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "Invalid type." l_.str.1: ; @.str.1 .asciz "Invalid slot." .comm _osdm,8,3 ; @osdm l_.str.2: ; @.str.2 .asciz "Unused slot." l_.str.3: ; @.str.3 .asciz "Not allocating null slot (type=%u, slot=%u)." .comm _M_OSD,4,2 ; @M_OSD .comm _M_NOWAIT,4,2 ; @M_NOWAIT .comm _M_ZERO,4,2 ; @M_ZERO .comm _ENOMEM,4,2 ; @ENOMEM .comm _osd_next,4,2 ; @osd_next l_.str.4: ; @.str.4 .asciz "Setting first slot (type=%u)." l_.str.5: ; @.str.5 .asciz "Growing slots array (type=%u)." l_.str.6: ; @.str.6 .asciz "Setting slot value (type=%u, slot=%u, value=%p)." .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function kludge_desc _kludge_desc: ## @kludge_desc .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $24, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 ## kill: def $esi killed $esi def $rsi movq %rsi, -48(%rbp) ## 8-byte Spill testl %esi, %esi js LBB0_19 ## %bb.1: movq %rdi, %r15 movabsq $8589934560, %rcx ## imm = 0x1FFFFFFE0 movq -48(%rbp), %rax ## 8-byte Reload incl %eax movq %rax, -48(%rbp) ## 8-byte Spill xorl %ebx, %ebx leaq 24(%rcx), %rax movq %rax, -56(%rbp) ## 8-byte Spill movq %rdi, -64(%rbp) ## 8-byte Spill jmp LBB0_2 .p2align 4, 0x90 LBB0_17: ## in Loop: Header=BB0_2 Depth=1 shlq $32, %r13 movabsq $8589934560, %rcx ## imm = 0x1FFFFFFE0 addq %r13, %rcx addq $32, %rcx sarq $32, %rcx movb $48, (%rax,%rcx) movq -64(%rbp), %r15 ## 8-byte Reload movq (%r15,%rbx,8), %rcx movq %rax, (%rcx) LBB0_18: ## in Loop: Header=BB0_2 Depth=1 incq %rbx cmpq -48(%rbp), %rbx ## 8-byte Folded Reload je LBB0_19 LBB0_2: ## =>This Loop Header: Depth=1 ## Child Loop BB0_11 Depth 2 ## Child Loop BB0_8 Depth 2 ## Child Loop BB0_16 Depth 2 movq (%r15,%rbx,8), %rax movq (%rax), %r12 movq %r12, %rdi leaq L_.str(%rip), %rsi callq _strstr testq %rax, %rax je LBB0_18 ## %bb.3: ## in Loop: Header=BB0_2 Depth=1 movq %rax, %r14 movq %rax, %r13 subq %r12, %r13 movq %r12, %rdi callq _strlen movl %eax, %r15d leal -2(%r15), %esi movq %r12, %rdi callq _realloc leal 1(%r13), %ecx cmpl %ecx, %r15d je LBB0_17 ## %bb.4: ## in Loop: Header=BB0_2 Depth=1 movslq %r15d, %rcx leal (%r12,%r15), %esi subl %r14d, %esi addl $-2, %esi cmpl $7, %esi jb LBB0_15 ## %bb.5: ## in Loop: Header=BB0_2 Depth=1 leaq 1(%rsi), %rdx cmpl $31, %esi jae LBB0_10 ## %bb.6: ## in Loop: Header=BB0_2 Depth=1 xorl %esi, %esi jmp LBB0_7 LBB0_10: ## in Loop: Header=BB0_2 Depth=1 movq %rdx, %rsi movabsq $8589934560, %rdi ## imm = 0x1FFFFFFE0 andq %rdi, %rsi movq %rdx, %rdi andq $-32, %rdi negq %rdi leaq (%rax,%rcx), %r8 addq $-14, %r8 xorl %r9d, %r9d .p2align 4, 0x90 LBB0_11: ## Parent Loop BB0_2 Depth=1 ## => This Inner Loop Header: Depth=2 movups -17(%r8,%r9), %xmm0 movups -1(%r8,%r9), %xmm1 movups %xmm1, (%r8,%r9) movups %xmm0, -16(%r8,%r9) addq $-32, %r9 cmpq %r9, %rdi jne LBB0_11 ## %bb.12: ## in Loop: Header=BB0_2 Depth=1 cmpq %rsi, %rdx je LBB0_17 ## %bb.13: ## in Loop: Header=BB0_2 Depth=1 testb $24, %dl je LBB0_14 LBB0_7: ## in Loop: Header=BB0_2 Depth=1 movq %rdx, %rdi andq -56(%rbp), %rdi ## 8-byte Folded Reload movq %rdx, %r8 andq $-8, %r8 negq %r8 negq %rsi leaq (%rax,%rcx), %r9 addq $-6, %r9 subq %rdi, %rcx .p2align 4, 0x90 LBB0_8: ## Parent Loop BB0_2 Depth=1 ## => This Inner Loop Header: Depth=2 movq -1(%r9,%rsi), %r10 movq %r10, (%r9,%rsi) addq $-8, %rsi cmpq %rsi, %r8 jne LBB0_8 ## %bb.9: ## in Loop: Header=BB0_2 Depth=1 cmpq %rdi, %rdx je LBB0_17 jmp LBB0_15 LBB0_14: ## in Loop: Header=BB0_2 Depth=1 subq %rsi, %rcx .p2align 4, 0x90 LBB0_15: ## in Loop: Header=BB0_2 Depth=1 leaq (%rax,%rcx), %rdx negl %r14d addq %rcx, %r12 addq %r14, %r12 movq $-1, %rcx .p2align 4, 0x90 LBB0_16: ## Parent Loop BB0_2 Depth=1 ## => This Inner Loop Header: Depth=2 movzbl 1(%rdx,%rcx), %esi movb %sil, 2(%rdx,%rcx) decq %rcx movl %r12d, %esi addl %ecx, %esi jne LBB0_16 jmp LBB0_17 LBB0_19: 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 "8x8" .no_dead_strip _kludge_desc .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function kludge_desc _kludge_desc: ; @kludge_desc .cfi_startproc ; %bb.0: tbnz w1, #31, LBB0_20 ; %bb.1: stp x28, x27, [sp, #-96]! ; 16-byte Folded Spill stp x26, x25, [sp, #16] ; 16-byte Folded Spill stp x24, x23, [sp, #32] ; 16-byte Folded Spill stp x22, x21, [sp, #48] ; 16-byte Folded Spill stp x20, x19, [sp, #64] ; 16-byte Folded Spill stp x29, x30, [sp, #80] ; 16-byte Folded Spill add x29, sp, #80 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset w27, -88 .cfi_offset w28, -96 mov x19, x0 mov x24, #0 ; =0x0 add w25, w1, #1 mov w26, #48 ; =0x30 Lloh0: adrp x20, l_.str@PAGE Lloh1: add x20, x20, l_.str@PAGEOFF b LBB0_4 LBB0_2: ; in Loop: Header=BB0_4 Depth=1 add w8, w27, #2 strb w26, [x0, w8, sxtw] ldr x8, [x19, x24, lsl #3] str x0, [x8] LBB0_3: ; in Loop: Header=BB0_4 Depth=1 add x24, x24, #1 cmp x24, x25 b.eq LBB0_19 LBB0_4: ; =>This Loop Header: Depth=1 ; Child Loop BB0_10 Depth 2 ; Child Loop BB0_14 Depth 2 ; Child Loop BB0_18 Depth 2 ldr x8, [x19, x24, lsl #3] ldr x21, [x8] mov x0, x21 mov x1, x20 bl _strstr cbz x0, LBB0_3 ; %bb.5: ; in Loop: Header=BB0_4 Depth=1 mov x22, x0 sub x27, x0, x21 mov x0, x21 bl _strlen mov x23, x0 sub w1, w0, #2 mov x0, x21 bl _realloc add w8, w27, #1 cmp w23, w8 b.eq LBB0_2 ; %bb.6: ; in Loop: Header=BB0_4 Depth=1 sxtw x9, w23 add w8, w23, w21 sub w8, w8, w22 sub w10, w8, #2 mov x11, x9 cmp w10, #7 b.lo LBB0_17 ; %bb.7: ; in Loop: Header=BB0_4 Depth=1 add x8, x10, #1 cmp w10, #63 b.hs LBB0_9 ; %bb.8: ; in Loop: Header=BB0_4 Depth=1 mov x10, #0 ; =0x0 b LBB0_13 LBB0_9: ; in Loop: Header=BB0_4 Depth=1 and x10, x8, #0x1ffffffc0 add x11, x0, x9 sub x11, x11, #31 mov x12, x10 LBB0_10: ; Parent Loop BB0_4 Depth=1 ; => This Inner Loop Header: Depth=2 ldp q1, q0, [x11] ldp q3, q2, [x11, #-32] stur q0, [x11, #17] stur q1, [x11, #1] stur q2, [x11, #-15] stur q3, [x11, #-31] sub x11, x11, #64 sub x12, x12, #64 cbnz x12, LBB0_10 ; %bb.11: ; in Loop: Header=BB0_4 Depth=1 cmp x8, x10 b.eq LBB0_2 ; %bb.12: ; in Loop: Header=BB0_4 Depth=1 tst x8, #0x38 b.eq LBB0_16 LBB0_13: ; in Loop: Header=BB0_4 Depth=1 and x12, x8, #0x1fffffff8 sub x11, x9, x12 sub x13, x10, x12 sub x9, x9, x10 add x9, x0, x9 sub x9, x9, #7 LBB0_14: ; Parent Loop BB0_4 Depth=1 ; => This Inner Loop Header: Depth=2 ldr d0, [x9] stur d0, [x9, #1] sub x9, x9, #8 add x13, x13, #8 cbnz x13, LBB0_14 ; %bb.15: ; in Loop: Header=BB0_4 Depth=1 cmp x8, x12 b.eq LBB0_2 b LBB0_17 LBB0_16: ; in Loop: Header=BB0_4 Depth=1 sub x11, x9, x10 LBB0_17: ; in Loop: Header=BB0_4 Depth=1 add x8, x0, x11 add x8, x8, #1 mvn w9, w22 add w10, w11, w21 add w9, w9, w10 mov x10, x8 LBB0_18: ; Parent Loop BB0_4 Depth=1 ; => This Inner Loop Header: Depth=2 ldrb w11, [x10, #-1]! strb w11, [x8] mov x8, x10 subs w9, w9, #1 b.ne LBB0_18 b LBB0_2 LBB0_19: 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 LBB0_20: ret .loh AdrpAdd Lloh0, Lloh1 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "8x8" .no_dead_strip _kludge_desc .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _copy_string ## -- Begin function copy_string .p2align 4, 0x90 _copy_string: ## @copy_string .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %rbx pushq %rax .cfi_offset %rbx, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %edx, %r14d movq %rsi, %r15 movq %rdi, %rbx testl %edx, %edx setne %al testq %rsi, %rsi sete %cl testb %al, %cl jne LBB0_2 ## %bb.1: movq %r15, %rdi callq _strlen movl %eax, %r14d LBB0_2: movl (%rbx), %esi movl 4(%rbx), %ecx movl %ecx, %edx notl %edx addl %esi, %edx xorl %eax, %eax cmpl %edx, %r14d jg LBB0_15 ## %bb.3: jge LBB0_4 ## %bb.5: leal (%r14,%r14), %eax subl %eax, %esi jle LBB0_6 ## %bb.7: incl %esi movl %esi, (%rbx) movq 8(%rbx), %rdi callq _realloc testq %rax, %rax je LBB0_6 ## %bb.8: movq %rax, %rdi movq %rax, 8(%rbx) movl 4(%rbx), %ecx xorl %eax, %eax testq %rdi, %rdi jne LBB0_10 jmp LBB0_15 LBB0_4: movq 8(%rbx), %rdi testq %rdi, %rdi je LBB0_15 LBB0_10: movslq %ecx, %rax addq %rax, %rdi testq %r15, %r15 je LBB0_12 ## %bb.11: leal 1(%r14), %edx movq %r15, %rsi callq _r_str_ncpy jmp LBB0_13 LBB0_6: movq 8(%rbx), %rdi callq _R_FREE movl $1, %eax jmp LBB0_15 LBB0_12: xorl %esi, %esi movl %r14d, %edx callq _memset LBB0_13: movslq 4(%rbx), %rax movslq %r14d, %rcx addq %rax, %rcx movl %ecx, 4(%rbx) movq 8(%rbx), %rdx movl $1, %eax testq %rdx, %rdx je LBB0_15 ## %bb.14: movb $0, (%rdx,%rcx) LBB0_15: 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 _copy_string ; -- Begin function copy_string .p2align 2 _copy_string: ; @copy_string .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x20, x1 mov x19, x0 cbnz x1, LBB0_2 ; %bb.1: cbnz w2, LBB0_3 LBB0_2: mov x0, x20 bl _strlen mov x2, x0 LBB0_3: ldp w9, w8, [x19] mvn w10, w8 add w10, w9, w10 cmp w2, w10 b.le LBB0_5 ; %bb.4: mov w0, #0 ; =0x0 b LBB0_17 LBB0_5: cmp w10, w2 b.le LBB0_9 ; %bb.6: sub w8, w9, w2, lsl #1 cmp w8, #0 b.le LBB0_12 ; %bb.7: mov x21, x2 add w1, w8, #1 str w1, [x19] ldr x0, [x19, #8] bl _realloc cbz x0, LBB0_12 ; %bb.8: str x0, [x19, #8] ldr w8, [x19, #4] mov x2, x21 cbnz x0, LBB0_10 b LBB0_17 LBB0_9: ldr x0, [x19, #8] cbz x0, LBB0_17 LBB0_10: add x0, x0, w8, sxtw cbz x20, LBB0_13 ; %bb.11: mov x21, x2 add w2, w2, #1 mov x1, x20 bl _r_str_ncpy b LBB0_14 LBB0_12: ldr x0, [x19, #8] bl _R_FREE b LBB0_16 LBB0_13: mov w1, #0 ; =0x0 mov x21, x2 bl _memset LBB0_14: ldrsw x8, [x19, #4] add x8, x8, w21, sxtw str w8, [x19, #4] ldr x9, [x19, #8] cbz x9, LBB0_16 ; %bb.15: strb wzr, [x9, x8] LBB0_16: mov w0, #1 ; =0x1 LBB0_17: ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _erealloc ## -- Begin function erealloc .p2align 4, 0x90 _erealloc: ## @erealloc .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 callq _realloc testq %rax, %rax jne LBB0_2 ## %bb.1: leaq L_.str(%rip), %rsi movl $1, %edi movq %rax, %rbx callq _err movq %rbx, %rax LBB0_2: addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "malloc" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _erealloc ; -- Begin function erealloc .p2align 2 _erealloc: ; @erealloc .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 bl _realloc cbnz x0, LBB0_2 ; %bb.1: Lloh0: adrp x1, l_.str@PAGE Lloh1: add x1, x1, l_.str@PAGEOFF mov x19, x0 mov w0, #1 ; =0x1 bl _err mov x0, x19 LBB0_2: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .loh AdrpAdd Lloh0, Lloh1 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "malloc" .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_20 ## %bb.1: movl 16(%rbx), %edi leaq -41(%rbp), %rsi movl $1, %edx callq _netread testq %rax, %rax je LBB0_21 ## %bb.2: xorl %r13d, %r13d leaq -41(%rbp), %r15 movl $256, %r12d ## imm = 0x100 jmp LBB0_5 .p2align 4, 0x90 LBB0_3: ## in Loop: Header=BB0_5 Depth=1 movl %r14d, %r13d LBB0_4: ## in Loop: Header=BB0_5 Depth=1 movl 16(%rbx), %edi movq %r15, %rsi movl $1, %edx callq _netread testq %rax, %rax je LBB0_17 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_3 ## %bb.8: ## in Loop: Header=BB0_5 Depth=1 cmpl $5, %r13d jge LBB0_10 LBB0_9: ## in Loop: Header=BB0_5 Depth=1 xorl %r13d, %r13d jmp LBB0_4 LBB0_10: ## in Loop: Header=BB0_5 Depth=1 movq 8(%rbx), %rax movsbl (%rax), %edi callq _isdigit testq %rax, %rax je LBB0_9 ## %bb.11: ## in Loop: Header=BB0_5 Depth=1 movq 8(%rbx), %rax movsbl 1(%rax), %edi callq _isdigit testq %rax, %rax je LBB0_9 ## %bb.12: ## in Loop: Header=BB0_5 Depth=1 movq 8(%rbx), %rax movsbl 2(%rax), %edi callq _isdigit testq %rax, %rax je LBB0_9 ## %bb.13: ## in Loop: Header=BB0_5 Depth=1 movq 8(%rbx), %rax cmpb $45, 3(%rax) movl $0, %r13d je LBB0_4 jmp LBB0_19 LBB0_17: cmpl $2, %r13d movl $-1, %eax jl LBB0_22 ## %bb.18: movq 8(%rbx), %rax movl %r13d, %r14d LBB0_19: movl %r14d, %ecx movb $0, -2(%rax,%rcx) movq 8(%rbx), %rdi leaq -56(%rbp), %rsi xorl %edx, %edx callq _strtol jmp LBB0_22 LBB0_20: xorl %eax, %eax jmp LBB0_22 LBB0_21: movl $-1, %eax LBB0_22: 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.ge LBB0_10 LBB0_9: ; in Loop: Header=BB0_5 Depth=1 mov w21, #0 ; =0x0 b LBB0_4 LBB0_10: ; in Loop: Header=BB0_5 Depth=1 ldr x8, [x19, #8] ldrsb w0, [x8] bl _isdigit cbz x0, LBB0_9 ; %bb.11: ; in Loop: Header=BB0_5 Depth=1 ldr x8, [x19, #8] ldrsb w0, [x8, #1] bl _isdigit cbz x0, LBB0_9 ; %bb.12: ; in Loop: Header=BB0_5 Depth=1 ldr x8, [x19, #8] ldrsb w0, [x8, #2] bl _isdigit cbz x0, LBB0_9 ; %bb.13: ; in Loop: Header=BB0_5 Depth=1 ldr x8, [x19, #8] ldrb w9, [x8, #3] cmp w9, #45 b.eq LBB0_9 b LBB0_18 LBB0_14: cmp w21, #2 b.ge LBB0_17 LBB0_15: mov w0, #-1 ; =0xffffffff b LBB0_19 LBB0_16: mov w0, #0 ; =0x0 b LBB0_19 LBB0_17: ldr x8, [x19, #8] mov x22, x21 LBB0_18: add x8, x8, w22, uxtw sturb wzr, [x8, #-2] ldr x0, [x19, #8] mov x1, sp mov w2, #0 ; =0x0 bl _strtol LBB0_19: 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 .globl _realloc ## -- Begin function realloc .p2align 4, 0x90 _realloc: ## @realloc .cfi_startproc ## %bb.0: testq %rdi, %rdi je LBB0_4 ## %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 .cfi_offset %rbx, -32 .cfi_offset %r14, -24 testq %rsi, %rsi je LBB0_5 ## %bb.2: movq %rdi, %r14 movq %rsi, %rbx movq %rsi, %rdi callq _malloc testq %rax, %rax je LBB0_6 ## %bb.3: movq %rax, %rdi movq %r14, %rsi movq %rbx, %rdx movq %rax, %rbx callq _RtlCopyMemory movq %r14, %rdi callq _free movq %rbx, %rax jmp LBB0_7 LBB0_4: movq %rsi, %rdi jmp _malloc ## TAILCALL LBB0_5: callq _free LBB0_6: xorl %eax, %eax LBB0_7: popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _realloc ; -- Begin function realloc .p2align 2 _realloc: ; @realloc .cfi_startproc ; %bb.0: cbz x0, LBB0_4 ; %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 cbz x1, LBB0_5 ; %bb.2: mov x21, x0 mov x19, x1 mov x0, x1 bl _malloc cbz x0, LBB0_6 ; %bb.3: mov x20, x0 mov x1, x21 mov x2, x19 bl _RtlCopyMemory mov x0, x21 bl _free mov x0, x20 b LBB0_6 LBB0_4: mov x0, x1 b _malloc LBB0_5: bl _free mov x0, #0 ; =0x0 LBB0_6: ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret .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 allocset _allocset: ## @allocset .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq 8(%rdi), %rax movslq 20(%rax), %r14 leal -1(%r14), %ecx movl %ecx, 20(%rax) movslq 16(%rax), %rbx movl (%rdi), %r12d cmpl %r12d, %r14d jge LBB0_1 LBB0_31: leaq (%r14,%r14,4), %rsi shlq $3, %rsi movq (%rax), %rdi movq _CHAR_BIT@GOTPCREL(%rip), %rcx movq (%rcx), %rcx movq %r14, %rdx orq %rcx, %rdx addq 8(%rax), %rsi shrq $32, %rdx je LBB0_32 ## %bb.33: movq %r14, %rax xorl %edx, %edx divq %rcx movq %rdx, %rcx jmp LBB0_34 LBB0_1: movq %rdi, %r15 movq _CHAR_BIT@GOTPCREL(%rip), %rax movq (%rax), %rcx addl %ecx, %r12d movl %r12d, (%rdi) movslq %r12d, %r13 movq %r13, %rax orq %rcx, %rax shrq $32, %rax je LBB0_2 ## %bb.3: movq %r13, %rax xorl %edx, %edx divq %rcx jmp LBB0_4 LBB0_32: movl %r14d, %eax xorl %edx, %edx divl %ecx movl %edx, %ecx ## kill: def $eax killed $eax def $rax LBB0_34: imulq %rbx, %rax leaq (%rdi,%rax,4), %rax movq %rax, 32(%rsi) movl $1, %eax ## kill: def $cl killed $cl killed $rcx shll %cl, %eax movl %eax, (%rsi) xorps %xmm0, %xmm0 movups %xmm0, 8(%rsi) movq $0, 24(%rsi) jmp LBB0_35 LBB0_2: movl %r12d, %eax xorl %edx, %edx divl %ecx ## kill: def $edx killed $edx def $rdx LBB0_4: xorl %edi, %edi testq %rdx, %rdx sete %dil callq _assert movq _CHAR_BIT@GOTPCREL(%rip), %rax movq (%rax), %rcx movq %r13, %rax orq %rcx, %rax shrq $32, %rax je LBB0_5 ## %bb.6: movq %r13, %rax xorl %edx, %edx divq %rcx movq %rax, %r12 jmp LBB0_7 LBB0_5: movl %r12d, %eax xorl %edx, %edx divl %ecx movl %eax, %r12d LBB0_7: movq %r15, %rdi callq _MEMSIZE movq _MEMLIMIT@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax jg LBB0_36 ## %bb.8: movq 8(%r15), %rax movq 8(%rax), %rdi shlq $3, %r13 leaq (,%r13,4), %rsi addq %r13, %rsi testq %rdi, %rdi je LBB0_9 ## %bb.10: callq _realloc jmp LBB0_11 LBB0_9: movq %rsi, %rdi callq _malloc LBB0_11: imulq %rbx, %r12 movq 8(%r15), %rcx movq %rax, 8(%rcx) movq (%rcx), %rdi testq %rdi, %rdi je LBB0_12 ## %bb.13: movq %r12, %rsi callq _realloc movq %rax, %rdi movq 8(%r15), %rsi movq %rax, (%rsi) testl %r14d, %r14d js LBB0_29 ## %bb.14: movl %r14d, %eax movq _CHAR_BIT@GOTPCREL(%rip), %rcx movq (%rcx), %r9 movq 8(%rsi), %r8 leaq 1(%rax), %r10 testq %rax, %rax je LBB0_15 ## %bb.16: movl %r10d, %r11d andl $-2, %r11d leaq 32(%r8), %r13 xorl %ecx, %ecx jmp LBB0_17 .p2align 4, 0x90 LBB0_22: ## in Loop: Header=BB0_17 Depth=1 xorl %edx, %edx divq %r9 LBB0_23: ## in Loop: Header=BB0_17 Depth=1 imulq %rbx, %rax shlq $2, %rax movq %rdi, %rdx subq %rax, %rdx movq %rdx, 40(%r13) addq $2, %rcx addq $80, %r13 cmpq %rcx, %r11 je LBB0_24 LBB0_17: ## =>This Inner Loop Header: Depth=1 movq %rcx, %rax orq %r9, %rax shrq $32, %rax je LBB0_18 ## %bb.19: ## in Loop: Header=BB0_17 Depth=1 movq %rcx, %rax xorl %edx, %edx divq %r9 jmp LBB0_20 .p2align 4, 0x90 LBB0_18: ## in Loop: Header=BB0_17 Depth=1 movl %ecx, %eax xorl %edx, %edx divl %r9d ## kill: def $eax killed $eax def $rax LBB0_20: ## in Loop: Header=BB0_17 Depth=1 imulq %rbx, %rax shlq $2, %rax movq %rdi, %rdx subq %rax, %rdx movq %rdx, (%r13) leaq 1(%rcx), %rax movq %rax, %rdx orq %r9, %rdx shrq $32, %rdx jne LBB0_22 ## %bb.21: ## in Loop: Header=BB0_17 Depth=1 ## kill: def $eax killed $eax killed $rax xorl %edx, %edx divl %r9d ## kill: def $eax killed $eax def $rax jmp LBB0_23 LBB0_12: movq %r12, %rdi callq _malloc movq %rax, %rdi movq 8(%r15), %rsi movq %rax, (%rsi) jmp LBB0_29 LBB0_15: xorl %ecx, %ecx LBB0_24: testb $1, %r10b je LBB0_29 ## %bb.25: movq %rcx, %rax orq %r9, %rax shrq $32, %rax je LBB0_26 ## %bb.27: movq %rcx, %rax xorl %edx, %edx divq %r9 jmp LBB0_28 LBB0_26: movl %ecx, %eax xorl %edx, %edx divl %r9d ## kill: def $eax killed $eax def $rax LBB0_28: imulq %rbx, %rax shlq $2, %rax movq %rdi, %rdx subq %rax, %rdx leaq (%rcx,%rcx,4), %rax movq %rdx, 32(%r8,%rax,8) LBB0_29: movq 8(%rsi), %rax orq %rdi, %rax jne LBB0_30 LBB0_36: movq _REG_ESPACE@GOTPCREL(%rip), %rax movl (%rax), %edi callq _SETERROR xorl %esi, %esi LBB0_35: movq %rsi, %rax addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_30: subq %rbx, %r12 addq %r12, %rdi xorl %esi, %esi movq %rbx, %rdx callq _memset movq 8(%r15), %rax jmp LBB0_31 .cfi_endproc ## -- End function .comm _CHAR_BIT,8,3 ## @CHAR_BIT .comm _MEMLIMIT,8,3 ## @MEMLIMIT .comm _REG_ESPACE,4,2 ## @REG_ESPACE .no_dead_strip _allocset .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function allocset _allocset: ; @allocset .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 ldr x8, [x0, #8] ldp w19, w24, [x8, #16] ; kill: def $w19 killed $w19 def $x19 sxtw x19, w19 sxtw x22, w24 sub w9, w24, #1 str w9, [x8, #20] ldr w9, [x0] Lloh0: adrp x23, _CHAR_BIT@GOTPAGE Lloh1: ldr x23, [x23, _CHAR_BIT@GOTPAGEOFF] cmp w24, w9 b.ge LBB0_2 LBB0_1: mov w9, #40 ; =0x28 ldp x8, x10, [x8] smaddl x0, w22, w9, x10 ldr x9, [x23] udiv x10, x22, x9 mul x11, x10, x19 msub w9, w10, w9, w22 mov w10, #1 ; =0x1 lsl w9, w10, w9 str w9, [x0] add x8, x8, x11, lsl #2 stp xzr, x8, [x0, #24] stp xzr, xzr, [x0, #8] b LBB0_18 LBB0_2: mov x20, x0 ldr x8, [x23] add w9, w9, w8 str w9, [x0] sxtw x25, w9 udiv x9, x25, x8 msub x8, x9, x8, x25 cmp x8, #0 cset w0, eq bl _assert ldr x21, [x23] mov x0, x20 bl _MEMSIZE Lloh2: adrp x8, _MEMLIMIT@GOTPAGE Lloh3: ldr x8, [x8, _MEMLIMIT@GOTPAGEOFF] Lloh4: ldr x8, [x8] cmp x0, x8 b.gt LBB0_17 ; %bb.3: udiv x8, x25, x21 mul x21, x8, x19 ldr x8, [x20, #8] ldr x0, [x8, #8] add x8, x25, x25, lsl #2 lsl x1, x8, #3 cbz x0, LBB0_5 ; %bb.4: bl _realloc b LBB0_6 LBB0_5: mov x0, x1 bl _malloc LBB0_6: ldr x8, [x20, #8] str x0, [x8, #8] ldr x0, [x8] cbz x0, LBB0_10 ; %bb.7: mov x1, x21 bl _realloc ldr x8, [x20, #8] str x0, [x8] tbnz w22, #31, LBB0_16 ; %bb.8: ldr x9, [x23] ldr x12, [x8, #8] add x10, x24, #1 cmp w24, #3 b.hs LBB0_11 ; %bb.9: mov x11, #0 ; =0x0 b LBB0_14 LBB0_10: mov x0, x21 bl _malloc ldr x8, [x20, #8] str x0, [x8] b LBB0_16 LBB0_11: mov x13, #0 ; =0x0 and x11, x10, #0xfffffffc add x14, x12, #112 LBB0_12: ; =>This Inner Loop Header: Depth=1 add x15, x13, #1 add x16, x13, #2 add x17, x13, #3 udiv x1, x13, x9 udiv x15, x15, x9 udiv x16, x16, x9 mul x1, x1, x19 mul x15, x15, x19 mul x16, x16, x19 sub x1, x0, x1, lsl #2 udiv x17, x17, x9 mul x17, x17, x19 sub x15, x0, x15, lsl #2 sub x16, x0, x16, lsl #2 sub x17, x0, x17, lsl #2 stur x1, [x14, #-80] stur x15, [x14, #-40] str x16, [x14] str x17, [x14, #40] add x13, x13, #4 add x14, x14, #160 cmp x11, x13 b.ne LBB0_12 ; %bb.13: cmp x11, x10 b.eq LBB0_16 LBB0_14: mov w13, #40 ; =0x28 umaddl x12, w11, w13, x12 add x12, x12, #32 LBB0_15: ; =>This Inner Loop Header: Depth=1 udiv x13, x11, x9 mul x13, x13, x19 sub x13, x0, x13, lsl #2 str x13, [x12], #40 add x11, x11, #1 cmp x10, x11 b.ne LBB0_15 LBB0_16: ldr x8, [x8, #8] orr x8, x8, x0 cbnz x8, LBB0_19 LBB0_17: Lloh5: adrp x8, _REG_ESPACE@GOTPAGE Lloh6: ldr x8, [x8, _REG_ESPACE@GOTPAGEOFF] Lloh7: ldr w0, [x8] bl _SETERROR mov x0, #0 ; =0x0 LBB0_18: 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_19: sub x8, x21, x19 add x0, x0, x8 mov w1, #0 ; =0x0 mov x2, x19 bl _memset ldr x8, [x20, #8] b LBB0_1 .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7 .cfi_endproc ; -- End function .comm _CHAR_BIT,8,3 ; @CHAR_BIT .comm _MEMLIMIT,8,3 ; @MEMLIMIT .comm _REG_ESPACE,4,2 ; @REG_ESPACE .no_dead_strip _allocset .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function set_json_buffer _set_json_buffer: ## @set_json_buffer .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %rbx pushq %rax .cfi_offset %rbx, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 ## kill: def $esi killed $esi def $rsi movl (%rdi), %eax addl %esi, %eax incl %eax movslq %eax, %r14 movq 8(%rdi), %rcx cmpq %r14, %rcx jae LBB0_7 ## %bb.1: movq %rdi, %rbx testq %rcx, %rcx jne LBB0_2 ## %bb.3: movq _INIT_BUF_SIZE@GOTPCREL(%rip), %rax movq (%rax), %rax jmp LBB0_4 LBB0_2: movq %rcx, %rax shrq %rax addq %rcx, %rax LBB0_4: cmpq %r14, %rax cmovaq %rax, %r14 movq 16(%rbx), %rdi movq %r14, %rsi callq _realloc movq %rax, %r15 testq %rax, %rax je LBB0_6 ## %bb.5: movq %rbx, %rdi callq _free_json leaq L_.str(%rip), %rdi callq _FATAL LBB0_6: movq %r15, 16(%rbx) movq %r14, 8(%rbx) LBB0_7: addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _INIT_BUF_SIZE,8,3 ## @INIT_BUF_SIZE .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "Unable to realloc JSON buffer.\n" .no_dead_strip _set_json_buffer .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function set_json_buffer _set_json_buffer: ; @set_json_buffer .cfi_startproc ; %bb.0: ldr w8, [x0] add w8, w1, w8 add w8, w8, #1 sxtw x8, w8 ldr x9, [x0, #8] cmp x9, x8 b.hs LBB0_4 ; %bb.1: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x19, x0 Lloh0: adrp x10, _INIT_BUF_SIZE@GOTPAGE Lloh1: ldr x10, [x10, _INIT_BUF_SIZE@GOTPAGEOFF] Lloh2: ldr x10, [x10] add x11, x9, x9, lsr #1 cmp x9, #0 csel x9, x10, x11, eq cmp x9, x8 csel x20, x9, x8, hi ldr x0, [x0, #16] mov x1, x20 bl _realloc mov x21, x0 cbz x0, LBB0_3 ; %bb.2: mov x0, x19 bl _free_json Lloh3: adrp x0, l_.str@PAGE Lloh4: add x0, x0, l_.str@PAGEOFF bl _FATAL LBB0_3: stp x20, x21, [x19, #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 LBB0_4: ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpAdd Lloh3, Lloh4 .cfi_endproc ; -- End function .comm _INIT_BUF_SIZE,8,3 ; @INIT_BUF_SIZE .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "Unable to realloc JSON buffer.\n" .no_dead_strip _set_json_buffer .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function video_thread_handle_packet _video_thread_handle_packet: ## @video_thread_handle_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 %rbx subq $216, %rsp .cfi_offset %rbx, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdi, %r14 leaq -192(%rbp), %rdi movl $168, %edx callq _memcpy xorl %ebx, %ebx movl -192(%rbp), %eax addl $-128, %eax cmpl $17, %eax ja LBB0_41 ## %bb.1: leaq LJTI0_0(%rip), %rcx movslq (%rcx,%rax,4), %rax addq %rcx, %rax jmpq *%rax LBB0_2: movq 40(%r14), %rcx xorl %ebx, %ebx movl $0, %eax testq %rcx, %rcx je LBB0_13 ## %bb.3: movq 8(%rcx), %rcx testq %rcx, %rcx je LBB0_13 ## %bb.4: movq 16(%r14), %rdi movl -44(%rbp), %edx movl -40(%rbp), %esi callq *%rcx jmp LBB0_13 LBB0_5: movq -120(%rbp), %rax testq %rax, %rax je LBB0_41 ## %bb.6: movl -128(%rbp), %edi movl -132(%rbp), %esi movl -136(%rbp), %edx movl -140(%rbp), %ecx movl -144(%rbp), %r8d movl -152(%rbp), %r10d movl -148(%rbp), %r9d movl %r10d, (%rsp) callq *%rax movl %eax, -112(%rbp) jmp LBB0_41 LBB0_7: movq 24(%r14), %rax testq %rax, %rax je LBB0_41 ## %bb.8: movq 24(%rax), %rax testq %rax, %rax je LBB0_41 ## %bb.9: movq 16(%r14), %rdi movl -76(%rbp), %esi movl -84(%rbp), %ecx movl -80(%rbp), %edx callq *%rax jmp LBB0_41 LBB0_10: movq 40(%r14), %rcx xorl %ebx, %ebx movl $0, %eax testq %rcx, %rcx je LBB0_13 ## %bb.11: movq 16(%rcx), %rcx testq %rcx, %rcx je LBB0_13 ## %bb.12: movq 16(%r14), %rdi callq *%rcx LBB0_13: movl %eax, -184(%rbp) jmp LBB0_41 LBB0_14: leaq -224(%rbp), %rdi callq _video_driver_build_info movq 24(%r14), %rax testq %rax, %rax je LBB0_41 ## %bb.15: movq (%rax), %rax testq %rax, %rax je LBB0_41 ## %bb.16: movq 16(%r14), %rdi leaq -104(%rbp), %rcx movl -100(%rbp), %edx leaq -224(%rbp), %rsi xorl %r8d, %r8d callq *%rax jmp LBB0_41 LBB0_17: movq -168(%rbp), %rax testq %rax, %rax je LBB0_41 ## %bb.18: movl -176(%rbp), %edi callq *%rax movl %eax, -160(%rbp) jmp LBB0_41 LBB0_19: xorps %xmm0, %xmm0 movaps %xmm0, -224(%rbp) movq $0, -208(%rbp) movq 16(%r14), %rdi movq 40(%r14), %rax leaq -224(%rbp), %r15 movq %r15, %rsi callq *24(%rax) leaq 56(%r14), %rsi movq %r15, %rdi movl $24, %edx callq _string_is_equal_fast testl %eax, %eax je LBB0_37 ## %bb.20: movl $1, 48(%r14) movq 40(%r14), %rax movq (%rax), %rax testq %rax, %rax je LBB0_38 ## %bb.21: movq 16(%r14), %rdi movq -32(%rbp), %rsi movl 52(%r14), %edx callq *%rax jmp LBB0_39 LBB0_22: movq 40(%r14), %rax testq %rax, %rax je LBB0_41 ## %bb.23: movq 32(%rax), %rax jmp LBB0_29 LBB0_24: movq 24(%r14), %rax testq %rax, %rax je LBB0_41 ## %bb.25: movq 16(%rax), %rax testq %rax, %rax je LBB0_41 ## %bb.26: movq 16(%r14), %rdi movl -92(%rbp), %edx movl -88(%rbp), %esi callq *%rax jmp LBB0_41 LBB0_27: movq 24(%r14), %rax testq %rax, %rax je LBB0_41 ## %bb.28: movq 8(%rax), %rax LBB0_29: testq %rax, %rax je LBB0_41 ## %bb.30: movq 16(%r14), %rdi movl -96(%rbp), %esi callq *%rax jmp LBB0_41 LBB0_31: movq 16(%r14), %rdi testq %rdi, %rdi je LBB0_35 ## %bb.32: movq 40(%r14), %rax testq %rax, %rax je LBB0_35 ## %bb.33: movq 40(%rax), %rax testq %rax, %rax je LBB0_35 ## %bb.34: callq *%rax LBB0_35: movq $0, 16(%r14) leaq -192(%rbp), %rsi movq %r14, %rdi callq _video_thread_reply movl $1, %ebx jmp LBB0_42 LBB0_36: movq 40(%r14), %rax leaq 92(%r14), %rdi movl 88(%r14), %esi movl 84(%r14), %edx callq *48(%rax) movq %rax, 16(%r14) xorl %ecx, %ecx testq %rax, %rax sete %cl movl %ecx, -184(%rbp) movq 40(%r14), %rcx leaq 60(%r14), %rsi movq %rax, %rdi callq *24(%rcx) jmp LBB0_41 LBB0_37: leaq -184(%rbp), %rcx jmp LBB0_40 LBB0_38: xorl %eax, %eax LBB0_39: leaq 48(%r14), %rcx movl %eax, -184(%rbp) LBB0_40: movl $0, (%rcx) LBB0_41: leaq -192(%rbp), %rsi movq %r14, %rdi callq _video_thread_reply LBB0_42: movl %ebx, %eax addq $216, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq .cfi_endproc .p2align 2, 0x90 .data_region jt32 .set L0_0_set_42, LBB0_42-LJTI0_0 .set L0_0_set_2, LBB0_2-LJTI0_0 .set L0_0_set_22, LBB0_22-LJTI0_0 .set L0_0_set_19, LBB0_19-LJTI0_0 .set L0_0_set_7, LBB0_7-LJTI0_0 .set L0_0_set_14, LBB0_14-LJTI0_0 .set L0_0_set_24, LBB0_24-LJTI0_0 .set L0_0_set_27, LBB0_27-LJTI0_0 .set L0_0_set_41, LBB0_41-LJTI0_0 .set L0_0_set_36, LBB0_36-LJTI0_0 .set L0_0_set_31, LBB0_31-LJTI0_0 .set L0_0_set_5, LBB0_5-LJTI0_0 .set L0_0_set_17, LBB0_17-LJTI0_0 .set L0_0_set_10, LBB0_10-LJTI0_0 LJTI0_0: .long L0_0_set_42 .long L0_0_set_2 .long L0_0_set_22 .long L0_0_set_19 .long L0_0_set_7 .long L0_0_set_14 .long L0_0_set_24 .long L0_0_set_27 .long L0_0_set_41 .long L0_0_set_41 .long L0_0_set_41 .long L0_0_set_41 .long L0_0_set_41 .long L0_0_set_36 .long L0_0_set_31 .long L0_0_set_5 .long L0_0_set_17 .long L0_0_set_10 .end_data_region ## -- End function .no_dead_strip _video_thread_handle_packet .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function video_thread_handle_packet _video_thread_handle_packet: ; @video_thread_handle_packet .cfi_startproc ; %bb.0: sub sp, sp, #240 stp x20, x19, [sp, #208] ; 16-byte Folded Spill stp x29, x30, [sp, #224] ; 16-byte Folded Spill add x29, sp, #224 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 add x8, sp, #32 ldp q0, q1, [x1, #128] ldp q3, q2, [x1, #96] stp q2, q0, [x8, #112] str q1, [x8, #144] ldr x8, [x1, #160] str x8, [sp, #192] ldp q0, q1, [x1, #64] stp q0, q1, [sp, #96] str q3, [sp, #128] ldp q0, q1, [x1] stp q0, q1, [sp, #32] ldp q1, q0, [x1, #32] stp q1, q0, [sp, #64] ldr w8, [sp, #32] sub w9, w8, #128 cmp w9, #17 b.hi LBB0_38 ; %bb.1: mov w8, #0 ; =0x0 Lloh0: adrp x10, lJTI0_0@PAGE Lloh1: add x10, x10, lJTI0_0@PAGEOFF adr x11, LBB0_2 ldrb w12, [x10, x9] add x11, x11, x12, lsl #2 br x11 LBB0_2: ldr x8, [x0, #40] cbz x8, LBB0_14 ; %bb.3: ldr x9, [x8, #8] cbz x9, LBB0_37 ; %bb.4: ldr x8, [x0, #16] ldp w2, w1, [sp, #180] mov x19, x0 mov x0, x8 blr x9 b LBB0_13 LBB0_5: ldr x9, [sp, #104] cbz x9, LBB0_38 ; %bb.6: ldp w1, w8, [sp, #92] ldp w3, w2, [sp, #84] ldp w5, w4, [sp, #76] ldr w6, [sp, #72] mov x19, x0 mov x0, x8 blr x9 mov x8, x0 mov x0, x19 str w8, [sp, #112] b LBB0_38 LBB0_7: ldr x8, [x0, #24] cbz x8, LBB0_38 ; %bb.8: ldr x9, [x8, #24] cbz x9, LBB0_38 ; %bb.9: ldr x8, [x0, #16] ldp w2, w1, [sp, #144] ldr w3, [sp, #140] mov x19, x0 mov x0, x8 blr x9 mov x0, x19 b LBB0_38 LBB0_10: ldr x8, [x0, #40] cbz x8, LBB0_14 ; %bb.11: ldr x9, [x8, #16] cbz x9, LBB0_37 ; %bb.12: ldr x8, [x0, #16] mov x19, x0 mov x0, x8 blr x9 LBB0_13: mov x8, x0 mov x0, x19 LBB0_14: str w8, [sp, #40] b LBB0_38 LBB0_15: mov x19, x0 add x0, sp, #8 bl _video_driver_build_info mov x0, x19 ldr x8, [x19, #24] cbz x8, LBB0_38 ; %bb.16: ldr x8, [x8] cbz x8, LBB0_38 ; %bb.17: ldr x0, [x0, #16] add x9, sp, #32 ldr w2, [sp, #124] add x1, sp, #8 add x3, x9, #88 mov x4, #0 ; =0x0 blr x8 mov x0, x19 b LBB0_38 LBB0_18: ldr x9, [sp, #56] cbz x9, LBB0_38 ; %bb.19: ldr w8, [sp, #48] mov x19, x0 mov x0, x8 blr x9 mov x8, x0 mov x0, x19 str w8, [sp, #64] b LBB0_38 LBB0_20: stp xzr, xzr, [sp, #8] str xzr, [sp, #24] ldr x8, [x0, #40] ldr x9, [x8, #24] ldr x8, [x0, #16] add x1, sp, #8 mov x20, x0 mov x0, x8 blr x9 add x0, sp, #8 mov x19, x20 add x1, x20, #56 mov w2, #24 ; =0x18 bl _string_is_equal_fast cbz w0, LBB0_41 ; %bb.21: mov w8, #1 ; =0x1 mov x20, x19 str w8, [x20, #48]! ldur x8, [x20, #-8] ldr x8, [x8] cbz x8, LBB0_42 ; %bb.22: ldr x0, [x19, #16] ldr x1, [sp, #192] ldr w2, [x19, #52] blr x8 str w0, [sp, #40] b LBB0_43 LBB0_23: ldr x8, [x0, #40] cbz x8, LBB0_38 ; %bb.24: ldr x9, [x8, #32] cbnz x9, LBB0_30 b LBB0_38 LBB0_25: ldr x8, [x0, #24] cbz x8, LBB0_38 ; %bb.26: ldr x9, [x8, #16] cbz x9, LBB0_38 ; %bb.27: ldr x8, [x0, #16] ldp w2, w1, [sp, #132] mov x19, x0 mov x0, x8 blr x9 mov x0, x19 b LBB0_38 LBB0_28: ldr x8, [x0, #24] cbz x8, LBB0_38 ; %bb.29: ldr x9, [x8, #8] cbz x9, LBB0_38 LBB0_30: ldr x8, [x0, #16] ldr w1, [sp, #128] mov x19, x0 mov x0, x8 blr x9 mov x0, x19 b LBB0_38 LBB0_31: ldr x8, [x0, #16] cbz x8, LBB0_35 ; %bb.32: ldr x9, [x0, #40] cbz x9, LBB0_35 ; %bb.33: ldr x9, [x9, #40] cbz x9, LBB0_35 ; %bb.34: mov x19, x0 mov x0, x8 blr x9 mov x0, x19 LBB0_35: str xzr, [x0, #16] add x1, sp, #32 bl _video_thread_reply mov w8, #1 ; =0x1 b LBB0_40 LBB0_36: ldr x8, [x0, #40] ldr x8, [x8, #48] ldp w2, w1, [x0, #84] mov x19, x0 add x0, x0, #92 blr x8 str x0, [x19, #16] cmp x0, #0 cset w8, eq str w8, [sp, #40] ldr x8, [x19, #40] ldr x8, [x8, #24] add x1, x19, #60 blr x8 b LBB0_44 LBB0_37: str wzr, [sp, #40] LBB0_38: add x1, sp, #32 LBB0_39: bl _video_thread_reply mov w8, #0 ; =0x0 LBB0_40: mov x0, x8 ldp x29, x30, [sp, #224] ; 16-byte Folded Reload ldp x20, x19, [sp, #208] ; 16-byte Folded Reload add sp, sp, #240 ret LBB0_41: add x8, sp, #32 orr x20, x8, #0x8 b LBB0_43 LBB0_42: str wzr, [sp, #40] LBB0_43: str wzr, [x20] LBB0_44: add x1, sp, #32 mov x0, x19 b LBB0_39 .loh AdrpAdd Lloh0, Lloh1 .cfi_endproc .section __TEXT,__const lJTI0_0: .byte (LBB0_40-LBB0_2)>>2 .byte (LBB0_2-LBB0_2)>>2 .byte (LBB0_23-LBB0_2)>>2 .byte (LBB0_20-LBB0_2)>>2 .byte (LBB0_7-LBB0_2)>>2 .byte (LBB0_15-LBB0_2)>>2 .byte (LBB0_25-LBB0_2)>>2 .byte (LBB0_28-LBB0_2)>>2 .byte (LBB0_38-LBB0_2)>>2 .byte (LBB0_38-LBB0_2)>>2 .byte (LBB0_38-LBB0_2)>>2 .byte (LBB0_38-LBB0_2)>>2 .byte (LBB0_38-LBB0_2)>>2 .byte (LBB0_36-LBB0_2)>>2 .byte (LBB0_31-LBB0_2)>>2 .byte (LBB0_5-LBB0_2)>>2 .byte (LBB0_18-LBB0_2)>>2 .byte (LBB0_10-LBB0_2)>>2 ; -- End function .no_dead_strip _video_thread_handle_packet .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function add_child _add_child: ## @add_child .cfi_startproc ## %bb.0: 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 testq %rsi, %rsi je LBB0_9 ## %bb.1: movq %rsi, %r14 movq %rdi, %rbx movl (%rdi), %esi movq 8(%rdi), %rdi cmpl %edx, %esi jge LBB0_2 ## %bb.3: movl %edx, %r15d movq _STK_BLK@GOTPCREL(%rip), %r12 subl (%r12), %esi shll $3, %esi callq _realloc testq %rax, %rax je LBB0_10 ## %bb.4: movq %rax, 8(%rbx) movslq (%rbx), %rax movl (%r12), %edx leal (%rdx,%rax), %ecx testl %edx, %edx jle LBB0_7 ## %bb.5: movq %rax, %rdx shlq $3, %rdx .p2align 4, 0x90 LBB0_6: ## =>This Inner Loop Header: Depth=1 movq 8(%rbx), %rsi movq $0, (%rsi,%rdx) addq $-8, %rdx cmpl %ecx, %eax jle LBB0_6 LBB0_7: movl %ecx, (%rbx) movslq %r15d, %r15 jmp LBB0_8 LBB0_2: movslq %edx, %r15 movq (%rdi,%r15,8), %rdi callq _free LBB0_8: movq %r14, %rdi callq _strdup movq 8(%rbx), %rcx movq %rax, (%rcx,%r15,8) LBB0_9: popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq LBB0_10: leaq L_.str(%rip), %rdi popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp jmp _warning ## TAILCALL .cfi_endproc ## -- End function .comm _STK_BLK,4,2 ## @STK_BLK .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "could not allocate plugin memory\n" .no_dead_strip _add_child .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function add_child _add_child: ; @add_child .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 cbz x1, LBB0_9 ; %bb.1: mov x21, x2 mov x20, x1 mov x19, x0 ldr w8, [x0] ldr x0, [x0, #8] cmp w8, w2 b.ge LBB0_7 ; %bb.2: Lloh0: adrp x22, _STK_BLK@GOTPAGE Lloh1: ldr x22, [x22, _STK_BLK@GOTPAGEOFF] ldr w9, [x22] sub w8, w8, w9 lsl w1, w8, #3 bl _realloc cbz x0, LBB0_10 ; %bb.3: str x0, [x19, #8] ldrsw x8, [x19] ldr w10, [x22] add w9, w10, w8 cmp w10, #1 b.lt LBB0_6 ; %bb.4: lsl x10, x8, #3 LBB0_5: ; =>This Inner Loop Header: Depth=1 ldr x11, [x19, #8] str xzr, [x11, x10] sub x10, x10, #8 cmp w8, w9 b.le LBB0_5 LBB0_6: str w9, [x19] sxtw x22, w21 b LBB0_8 LBB0_7: mov x8, x21 sxtw x22, w8 ldr x0, [x0, w21, sxtw #3] bl _free LBB0_8: mov x0, x20 bl _strdup ldr x8, [x19, #8] str x0, [x8, x22, lsl #3] LBB0_9: ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret LBB0_10: Lloh2: adrp x0, l_.str@PAGE Lloh3: add x0, x0, l_.str@PAGEOFF ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload b _warning .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpAdd Lloh2, Lloh3 .cfi_endproc ; -- End function .comm _STK_BLK,4,2 ; @STK_BLK .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "could not allocate plugin memory\n" .no_dead_strip _add_child .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _mandoc_realloc ## -- Begin function mandoc_realloc .p2align 4, 0x90 _mandoc_realloc: ## @mandoc_realloc .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 callq _realloc testq %rax, %rax je LBB0_2 ## %bb.1: movq _MANDOCLEVEL_SYSERR@GOTPCREL(%rip), %rcx movl (%rcx), %edi xorl %esi, %esi movq %rax, %rbx callq _err movq %rbx, %rax LBB0_2: addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .comm _MANDOCLEVEL_SYSERR,8,3 ## @MANDOCLEVEL_SYSERR .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _mandoc_realloc ; -- Begin function mandoc_realloc .p2align 2 _mandoc_realloc: ; @mandoc_realloc .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 bl _realloc cbz x0, LBB0_2 ; %bb.1: Lloh0: adrp x8, _MANDOCLEVEL_SYSERR@GOTPAGE Lloh1: ldr x8, [x8, _MANDOCLEVEL_SYSERR@GOTPAGEOFF] Lloh2: ldr w8, [x8] mov x19, x0 mov x0, x8 mov x1, #0 ; =0x0 bl _err mov x0, x19 LBB0_2: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _MANDOCLEVEL_SYSERR,8,3 ; @MANDOCLEVEL_SYSERR .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function ensure_iov_space _ensure_iov_space: ## @ensure_iov_space .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movq %rdi, %r14 xorl %edi, %edi testq %r14, %r14 sete %dil callq _assert movl 4(%r14), %esi xorl %ebx, %ebx cmpl %esi, (%r14) jl LBB0_11 ## %bb.1: movq 24(%r14), %rdi shll $3, %esi callq _realloc testq %rax, %rax je LBB0_2 ## %bb.3: movq %rax, 24(%r14) shll 4(%r14) movslq 8(%r14), %rcx testq %rcx, %rcx jle LBB0_11 ## %bb.4: movq 16(%r14), %rdx xorl %ebx, %ebx cmpl $1, %ecx jne LBB0_6 ## %bb.5: xorl %esi, %esi xorl %edi, %edi testb $1, %cl jne LBB0_10 jmp LBB0_11 LBB0_2: xorl %eax, %eax callq _STATS_LOCK movq _stats@GOTPCREL(%rip), %rax incl (%rax) xorl %eax, %eax callq _STATS_UNLOCK movl $-1, %ebx jmp LBB0_11 LBB0_6: movl %ecx, %edi andl $2147483646, %edi ## imm = 0x7FFFFFFE leaq 24(%rdx), %r8 xorl %esi, %esi xorl %r9d, %r9d .p2align 4, 0x90 LBB0_7: ## =>This Inner Loop Header: Depth=1 movslq %r9d, %r9 leaq (%rax,%r9,4), %r10 movq %r10, -16(%r8) addl -24(%r8), %r9d movslq %r9d, %r9 leaq (%rax,%r9,4), %r10 movq %r10, (%r8) addq -8(%r8), %r9 addq $2, %rsi addq $32, %r8 cmpq %rsi, %rdi jne LBB0_7 ## %bb.8: movslq %r9d, %rdi testb $1, %cl je LBB0_11 LBB0_10: leaq (%rax,%rdi,4), %rax shlq $4, %rsi movq %rax, 8(%rdx,%rsi) LBB0_11: movl %ebx, %eax popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .comm _stats,4,2 ## @stats .no_dead_strip _ensure_iov_space .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function ensure_iov_space _ensure_iov_space: ; @ensure_iov_space .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 cmp x0, #0 cset w0, eq bl _assert ldp w9, w8, [x19] cmp w9, w8 b.lt LBB0_5 ; %bb.1: ldr x0, [x19, #24] lsl w1, w8, #3 bl _realloc cbz x0, LBB0_7 ; %bb.2: str x0, [x19, #24] ldp w9, w8, [x19, #4] lsl w9, w9, #1 str w9, [x19, #4] cmp w8, #1 b.lt LBB0_5 ; %bb.3: mov x10, #0 ; =0x0 ldr x9, [x19, #16] add x9, x9, #8 LBB0_4: ; =>This Inner Loop Header: Depth=1 sxtw x11, w10 add x10, x0, w10, sxtw #2 str x10, [x9] ldur x10, [x9, #-8] add x10, x10, x11 add x9, x9, #16 subs x8, x8, #1 b.ne LBB0_4 LBB0_5: mov w0, #0 ; =0x0 LBB0_6: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret LBB0_7: bl _STATS_LOCK Lloh0: adrp x8, _stats@GOTPAGE Lloh1: ldr x8, [x8, _stats@GOTPAGEOFF] ldr w9, [x8] add w9, w9, #1 str w9, [x8] bl _STATS_UNLOCK mov w0, #-1 ; =0xffffffff b LBB0_6 .loh AdrpLdrGot Lloh0, Lloh1 .cfi_endproc ; -- End function .comm _stats,4,2 ; @stats .no_dead_strip _ensure_iov_space .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _iface_Add ## -- Begin function iface_Add .p2align 4, 0x90 _iface_Add: ## @iface_Add .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $40, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %r8d, -44(%rbp) ## 4-byte Spill movq %rcx, %rbx movq %rdx, %r13 movq %rsi, -56(%rbp) ## 8-byte Spill movq %rdi, %r14 movq %rdx, %rdi callq _ncprange_family movq _SOCK_DGRAM@GOTPCREL(%rip), %rcx movl (%rcx), %esi xorl %r12d, %r12d movl %eax, %edi xorl %edx, %edx callq _ID0socket cmpl $-1, %eax je LBB0_1 ## %bb.2: movl %eax, %r15d leaq -60(%rbp), %rsi movq %r13, %rdi callq _ncprange_getaddr cmpl $0, (%r14) je LBB0_3 ## %bb.4: movq 8(%r14), %rdi addq $8, %rdi leaq -60(%rbp), %rsi callq _ncprange_contains testq %rax, %rax movq %rbx, %r12 je LBB0_16 ## %bb.5: movq 8(%r14), %rdi addq $4, %rdi movq %r12, %rsi callq _ncpaddr_equal testq %rax, %rax je LBB0_16 ## %bb.6: movq _IFACE_FORCE_ADD@GOTPCREL(%rip), %rax movl -44(%rbp), %ecx ## 4-byte Reload testl %ecx, (%rax) movl %r15d, %ebx je LBB0_7 ## %bb.8: movq 8(%r14), %rdi addq $8, %rdi movq %r13, %rsi callq _ncprange_equal testq %rax, %rax je LBB0_11 ## %bb.9: movq 8(%r14), %rdi addq $4, %rdi movq %r12, %rsi callq _ncpaddr_equal testq %rax, %rax jne LBB0_10 LBB0_11: movl 16(%r14), %edi movq 8(%r14), %rsi movl %ebx, %edx callq _iface_addr_Zap movl %eax, %r15d testl %eax, %eax je LBB0_13 ## %bb.12: movq 8(%r14), %rsi movq -56(%rbp), %rdi ## 8-byte Reload callq _ncp_IfaceAddrDeleted LBB0_13: movq 8(%r14), %rdi addq $8, %rdi movq %r13, %rsi callq _ncprange_copy movq 8(%r14), %rdi addq $4, %rdi movq %r12, %rsi callq _ncpaddr_copy movl 16(%r14), %edi movq 8(%r14), %rsi movl %ebx, %edx callq _iface_addr_Add testl %eax, %eax je LBB0_14 LBB0_10: movl %ebx, %edi callq _close movq 8(%r14), %rsi movq -56(%rbp), %rdi ## 8-byte Reload jmp LBB0_24 LBB0_1: movq _LogERROR@GOTPCREL(%rip), %rax movl (%rax), %ebx movq _errno@GOTPCREL(%rip), %rax movl (%rax), %edi callq _strerror leaq L_.str(%rip), %rsi movl %ebx, %edi movl %eax, %edx callq _log_Printf jmp LBB0_25 LBB0_16: movl (%r14), %eax leal (%rax,%rax,2), %eax leal 12(,%rax,4), %esi jmp LBB0_17 LBB0_3: movl $12, %esi movq %rbx, %r12 LBB0_17: movl %r15d, %ebx movq 8(%r14), %rdi callq _realloc testq %rax, %rax je LBB0_18 ## %bb.19: movq %rax, 8(%r14) leaq -64(%rbp), %rdi movq %r13, %rsi callq _ncprange_copy leaq -68(%rbp), %rdi movq %r12, %rsi callq _ncpaddr_copy movq _IFACE_SYSTEM@GOTPCREL(%rip), %rax xorl %ecx, %ecx movl -44(%rbp), %r15d ## 4-byte Reload testl %r15d, (%rax) setne %cl movl %ecx, -72(%rbp) movl 16(%r14), %edi leaq -72(%rbp), %rsi movl %ebx, %edx callq _iface_addr_Add testl %eax, %eax je LBB0_7 ## %bb.20: movq _IFACE_ADD_FIRST@GOTPCREL(%rip), %rax testl %r15d, (%rax) je LBB0_22 ## %bb.21: movq 8(%r14), %rdi leaq 12(%rdi), %rsi movl (%r14), %eax shll $2, %eax leal (%rax,%rax,2), %edx callq _bcopy movl (%r14), %eax xorl %ecx, %ecx jmp LBB0_23 LBB0_18: movq _LogERROR@GOTPCREL(%rip), %rax movl (%rax), %r14d movq _errno@GOTPCREL(%rip), %rax movl (%rax), %edi callq _strerror leaq L_.str.1(%rip), %rsi movl %r14d, %edi movl %eax, %edx callq _log_Printf LBB0_7: movl %ebx, %edi callq _close xorl %r12d, %r12d jmp LBB0_25 LBB0_22: movl (%r14), %eax movq %rax, %rcx LBB0_23: incl %eax movl %eax, (%r14) shlq $2, %rcx leaq (%rcx,%rcx,2), %r15 movq 8(%r14), %rdi addq %r15, %rdi leaq -72(%rbp), %rsi movl $12, %edx callq _memcpy movl %ebx, %edi callq _close addq 8(%r14), %r15 movq -56(%rbp), %rdi ## 8-byte Reload movq %r15, %rsi LBB0_24: callq _ncp_IfaceAddrAdded movl $1, %r12d LBB0_25: movl %r12d, %eax addq $40, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_14: testl %r15d, %r15d je LBB0_7 ## %bb.15: movq 8(%r14), %rsi leaq 12(%rsi), %rdi movl (%r14), %eax leal (%rax,%rax,2), %eax leal -12(,%rax,4), %edx callq _bcopy decl (%r14) jmp LBB0_7 .cfi_endproc ## -- End function .comm _SOCK_DGRAM,4,2 ## @SOCK_DGRAM .comm _LogERROR,4,2 ## @LogERROR .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "iface_Add: socket(): %s\n" .comm _errno,4,2 ## @errno .comm _IFACE_FORCE_ADD,4,2 ## @IFACE_FORCE_ADD L_.str.1: ## @.str.1 .asciz "iface_inAdd: realloc: %s\n" .comm _IFACE_SYSTEM,4,2 ## @IFACE_SYSTEM .comm _IFACE_ADD_FIRST,4,2 ## @IFACE_ADD_FIRST .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _iface_Add ; -- Begin function iface_Add .p2align 2 _iface_Add: ; @iface_Add .cfi_startproc ; %bb.0: sub sp, sp, #96 stp x26, x25, [sp, #16] ; 16-byte Folded Spill stp x24, x23, [sp, #32] ; 16-byte Folded Spill stp x22, x21, [sp, #48] ; 16-byte Folded Spill stp x20, x19, [sp, #64] ; 16-byte Folded Spill stp x29, x30, [sp, #80] ; 16-byte Folded Spill add x29, sp, #80 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 mov x24, x4 mov x22, x3 mov x23, x2 mov x21, x1 mov x20, x0 mov x0, x2 bl _ncprange_family Lloh0: adrp x8, _SOCK_DGRAM@GOTPAGE Lloh1: ldr x8, [x8, _SOCK_DGRAM@GOTPAGEOFF] Lloh2: ldr w1, [x8] mov w2, #0 ; =0x0 bl _ID0socket cmn w0, #1 b.eq LBB0_11 ; %bb.1: mov x19, x0 add x1, sp, #12 mov x0, x23 bl _ncprange_getaddr ldr w8, [x20] cbz w8, LBB0_13 ; %bb.2: ldr x8, [x20, #8] add x0, x8, #8 add x1, sp, #12 bl _ncprange_contains cbz x0, LBB0_12 ; %bb.3: ldr x8, [x20, #8] add x0, x8, #4 mov x1, x22 bl _ncpaddr_equal cbz x0, LBB0_12 ; %bb.4: Lloh3: adrp x8, _IFACE_FORCE_ADD@GOTPAGE Lloh4: ldr x8, [x8, _IFACE_FORCE_ADD@GOTPAGEOFF] Lloh5: ldr w8, [x8] tst w8, w24 b.eq LBB0_19 ; %bb.5: ldr x8, [x20, #8] add x0, x8, #8 mov x1, x23 bl _ncprange_equal cbz x0, LBB0_7 ; %bb.6: ldr x8, [x20, #8] add x0, x8, #4 mov x1, x22 bl _ncpaddr_equal cbnz x0, LBB0_10 LBB0_7: ldr w0, [x20, #16] ldr x1, [x20, #8] mov x2, x19 bl _iface_addr_Zap mov x24, x0 cbz w0, LBB0_9 ; %bb.8: ldr x1, [x20, #8] mov x0, x21 bl _ncp_IfaceAddrDeleted LBB0_9: ldr x8, [x20, #8] add x0, x8, #8 mov x1, x23 bl _ncprange_copy ldr x8, [x20, #8] add x0, x8, #4 mov x1, x22 bl _ncpaddr_copy ldr w0, [x20, #16] ldr x1, [x20, #8] mov x2, x19 bl _iface_addr_Add cbz w0, LBB0_24 LBB0_10: mov x0, x19 bl _close ldr x1, [x20, #8] b LBB0_22 LBB0_11: Lloh6: adrp x8, _LogERROR@GOTPAGE Lloh7: ldr x8, [x8, _LogERROR@GOTPAGEOFF] Lloh8: ldr w19, [x8] Lloh9: adrp x8, _errno@GOTPAGE Lloh10: ldr x8, [x8, _errno@GOTPAGEOFF] Lloh11: ldr w0, [x8] bl _strerror mov x2, x0 Lloh12: adrp x1, l_.str@PAGE Lloh13: add x1, x1, l_.str@PAGEOFF mov x0, x19 bl _log_Printf mov w0, #0 ; =0x0 b LBB0_23 LBB0_12: ldr w8, [x20] mov w9, #12 ; =0xc mov w10, #12 ; =0xc madd w1, w8, w9, w10 b LBB0_14 LBB0_13: mov w1, #12 ; =0xc LBB0_14: ldr x0, [x20, #8] bl _realloc cbz x0, LBB0_18 ; %bb.15: str x0, [x20, #8] mov x25, sp add x0, x25, #8 mov x1, x23 bl _ncprange_copy add x0, x25, #4 mov x1, x22 bl _ncpaddr_copy Lloh14: adrp x8, _IFACE_SYSTEM@GOTPAGE Lloh15: ldr x8, [x8, _IFACE_SYSTEM@GOTPAGEOFF] Lloh16: ldr w8, [x8] tst w8, w24 cset w8, ne str w8, [sp] ldr w0, [x20, #16] mov x1, sp mov x2, x19 bl _iface_addr_Add cbz w0, LBB0_19 ; %bb.16: Lloh17: adrp x8, _IFACE_ADD_FIRST@GOTPAGE Lloh18: ldr x8, [x8, _IFACE_ADD_FIRST@GOTPAGEOFF] Lloh19: ldr w8, [x8] tst w8, w24 b.eq LBB0_20 ; %bb.17: ldr x0, [x20, #8] ldr w8, [x20] add w8, w8, w8, lsl #1 lsl w2, w8, #2 add x1, x0, #12 bl _bcopy mov x9, #0 ; =0x0 ldr w8, [x20] b LBB0_21 LBB0_18: Lloh20: adrp x8, _LogERROR@GOTPAGE Lloh21: ldr x8, [x8, _LogERROR@GOTPAGEOFF] Lloh22: ldr w20, [x8] Lloh23: adrp x8, _errno@GOTPAGE Lloh24: ldr x8, [x8, _errno@GOTPAGEOFF] Lloh25: ldr w0, [x8] bl _strerror mov x2, x0 Lloh26: adrp x1, l_.str.1@PAGE Lloh27: add x1, x1, l_.str.1@PAGEOFF mov x0, x20 bl _log_Printf LBB0_19: mov x0, x19 bl _close mov w0, #0 ; =0x0 b LBB0_23 LBB0_20: ldr w8, [x20] mov x9, x8 LBB0_21: add w8, w8, #1 str w8, [x20] ldr x8, [x20, #8] add x9, x9, x9, lsl #1 lsl x22, x9, #2 add x0, x8, x22 mov x1, sp mov w2, #12 ; =0xc bl _memcpy mov x0, x19 bl _close ldr x8, [x20, #8] add x1, x8, x22 LBB0_22: mov x0, x21 bl _ncp_IfaceAddrAdded mov w0, #1 ; =0x1 LBB0_23: ldp x29, x30, [sp, #80] ; 16-byte Folded Reload ldp x20, x19, [sp, #64] ; 16-byte Folded Reload ldp x22, x21, [sp, #48] ; 16-byte Folded Reload ldp x24, x23, [sp, #32] ; 16-byte Folded Reload ldp x26, x25, [sp, #16] ; 16-byte Folded Reload add sp, sp, #96 ret LBB0_24: cbz w24, LBB0_19 ; %bb.25: ldr x1, [x20, #8] ldr w8, [x20] mov w9, #12 ; =0xc mov w10, #-12 ; =0xfffffff4 madd w2, w8, w9, w10 add x0, x1, #12 bl _bcopy ldr w8, [x20] sub w8, w8, #1 str w8, [x20] b LBB0_19 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpAdd Lloh12, Lloh13 .loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16 .loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19 .loh AdrpAdd Lloh26, Lloh27 .loh AdrpLdrGotLdr Lloh23, Lloh24, Lloh25 .loh AdrpLdrGotLdr Lloh20, Lloh21, Lloh22 .cfi_endproc ; -- End function .comm _SOCK_DGRAM,4,2 ; @SOCK_DGRAM .comm _LogERROR,4,2 ; @LogERROR .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "iface_Add: socket(): %s\n" .comm _errno,4,2 ; @errno .comm _IFACE_FORCE_ADD,4,2 ; @IFACE_FORCE_ADD l_.str.1: ; @.str.1 .asciz "iface_inAdd: realloc: %s\n" .comm _IFACE_SYSTEM,4,2 ; @IFACE_SYSTEM .comm _IFACE_ADD_FIRST,4,2 ; @IFACE_ADD_FIRST .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function parse_gfp_flags _parse_gfp_flags: ## @parse_gfp_flags .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $56, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %edx, %ebx movq %rdi, %r15 movq (%rsi), %rax movq %rax, -88(%rbp) movl 8(%rsi), %eax movl %eax, -80(%rbp) movq $0, -72(%rbp) movq _nr_gfps@GOTPCREL(%rip), %rax movl (%rax), %edx testl %edx, %edx je LBB0_2 ## %bb.1: movl %ebx, -56(%rbp) movq $0, -52(%rbp) movq _gfps@GOTPCREL(%rip), %rax movq (%rax), %rsi movq _gfpcmp@GOTPCREL(%rip), %rax movl (%rax), %r8d leaq -56(%rbp), %rdi movl $12, %ecx callq _bsearch movq %rax, %rcx xorl %eax, %eax testq %rcx, %rcx jne LBB0_12 LBB0_2: movl %ebx, -60(%rbp) ## 4-byte Spill leaq -56(%rbp), %rbx movq %rbx, %rdi callq _trace_seq_init movq (%r15), %rax movl (%rax), %edi movq _TEP_PRINT_INFO@GOTPCREL(%rip), %rax movl (%rax), %r8d leaq L_.str(%rip), %rcx leaq -88(%rbp), %rdx movq %rbx, %rsi callq _tep_print_event movq -56(%rbp), %rdi leaq L_.str.1(%rip), %rsi leaq -72(%rbp), %rdx callq _strtok_r testq %rax, %rax movq _nr_gfps@GOTPCREL(%rip), %rbx je LBB0_11 ## %bb.3: movq %rax, %r13 leaq L_.str.2(%rip), %r12 movq _gfps@GOTPCREL(%rip), %r15 leaq L_.str.1(%rip), %r14 jmp LBB0_4 .p2align 4, 0x90 LBB0_10: ## in Loop: Header=BB0_4 Depth=1 xorl %edi, %edi movq %r14, %rsi leaq -72(%rbp), %rdx callq _strtok_r movq %rax, %r13 testq %rax, %rax je LBB0_11 LBB0_4: ## =>This Inner Loop Header: Depth=1 movq %r13, %rdi movq %r12, %rsi movl $10, %edx callq _strncmp testl %eax, %eax jne LBB0_10 ## %bb.5: ## in Loop: Header=BB0_4 Depth=1 movq (%r15), %rdi movl (%rbx), %eax leal (%rax,%rax,2), %eax leal -12(,%rax,4), %esi callq _realloc testq %rax, %rax je LBB0_6 ## %bb.7: ## in Loop: Header=BB0_4 Depth=1 movq %rbx, %rdx movq %rax, %rbx movq %r12, %r14 movq %rax, (%r15) movslq (%rdx), %rax leal -1(%rax), %ecx movl %ecx, (%rdx) leaq (%rax,%rax,2), %r12 movl -60(%rbp), %eax ## 4-byte Reload movl %eax, (%rbx,%r12,4) addq $10, %r13 movq %r13, %rdi callq _strdup movl %eax, 8(%rbx,%r12,4) movq %r13, %rdi callq _compact_gfp_flags movl %eax, 4(%rbx,%r12,4) cmpl $0, 8(%rbx,%r12,4) je LBB0_6 ## %bb.8: ## in Loop: Header=BB0_4 Depth=1 testl %eax, %eax je LBB0_6 ## %bb.9: ## in Loop: Header=BB0_4 Depth=1 movq (%r15), %rdi movq _nr_gfps@GOTPCREL(%rip), %rbx movl (%rbx), %esi movq _gfpcmp@GOTPCREL(%rip), %rax movl (%rax), %ecx movl $12, %edx callq _qsort movq %r14, %r12 leaq L_.str.1(%rip), %r14 jmp LBB0_10 LBB0_11: leaq -56(%rbp), %rdi callq _trace_seq_destroy xorl %eax, %eax jmp LBB0_12 LBB0_6: movq _ENOMEM@GOTPCREL(%rip), %rcx xorl %eax, %eax subl (%rcx), %eax LBB0_12: addq $56, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _nr_gfps,4,2 ## @nr_gfps .comm _gfps,8,3 ## @gfps .comm _gfpcmp,4,2 ## @gfpcmp .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "%s" .comm _TEP_PRINT_INFO,4,2 ## @TEP_PRINT_INFO L_.str.1: ## @.str.1 .asciz " " L_.str.2: ## @.str.2 .asciz "gfp_flags=" .comm _ENOMEM,4,2 ## @ENOMEM .no_dead_strip _parse_gfp_flags .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function parse_gfp_flags _parse_gfp_flags: ; @parse_gfp_flags .cfi_startproc ; %bb.0: sub sp, sp, #144 stp x28, x27, [sp, #48] ; 16-byte Folded Spill stp x26, x25, [sp, #64] ; 16-byte Folded Spill stp x24, x23, [sp, #80] ; 16-byte Folded Spill stp x22, x21, [sp, #96] ; 16-byte Folded Spill stp x20, x19, [sp, #112] ; 16-byte Folded Spill stp x29, x30, [sp, #128] ; 16-byte Folded Spill add x29, sp, #128 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset w27, -88 .cfi_offset w28, -96 mov x19, x2 mov x20, x0 ldr d0, [x1] str d0, [sp, #32] ldr w8, [x1, #8] str w8, [sp, #40] Lloh0: adrp x23, _nr_gfps@GOTPAGE Lloh1: ldr x23, [x23, _nr_gfps@GOTPAGEOFF] str xzr, [sp, #24] ldr w2, [x23] Lloh2: adrp x24, _gfps@GOTPAGE Lloh3: ldr x24, [x24, _gfps@GOTPAGEOFF] Lloh4: adrp x25, _gfpcmp@GOTPAGE Lloh5: ldr x25, [x25, _gfpcmp@GOTPAGEOFF] cbz w2, LBB0_2 ; %bb.1: stp wzr, wzr, [sp, #12] str w19, [sp, #8] ldr x1, [x24] ldr w4, [x25] add x0, sp, #8 mov w3, #12 ; =0xc bl _bsearch mov x8, x0 mov w0, #0 ; =0x0 cbnz x8, LBB0_11 LBB0_2: add x0, sp, #8 bl _trace_seq_init ldr x8, [x20] ldr w0, [x8] Lloh6: adrp x8, _TEP_PRINT_INFO@GOTPAGE Lloh7: ldr x8, [x8, _TEP_PRINT_INFO@GOTPAGEOFF] Lloh8: ldr w4, [x8] Lloh9: adrp x3, l_.str@PAGE Lloh10: add x3, x3, l_.str@PAGEOFF add x1, sp, #8 add x2, sp, #32 bl _tep_print_event ldr x0, [sp, #8] Lloh11: adrp x1, l_.str.1@PAGE Lloh12: add x1, x1, l_.str.1@PAGEOFF add x2, sp, #24 bl _strtok_r cbz x0, LBB0_9 ; %bb.3: mov x22, x0 Lloh13: adrp x20, l_.str.2@PAGE Lloh14: add x20, x20, l_.str.2@PAGEOFF mov w26, #12 ; =0xc mov w27, #-12 ; =0xfffffff4 Lloh15: adrp x21, l_.str.1@PAGE Lloh16: add x21, x21, l_.str.1@PAGEOFF b LBB0_5 LBB0_4: ; in Loop: Header=BB0_5 Depth=1 add x2, sp, #24 mov x0, #0 ; =0x0 mov x1, x21 bl _strtok_r mov x22, x0 cbz x0, LBB0_9 LBB0_5: ; =>This Inner Loop Header: Depth=1 mov x0, x22 mov x1, x20 mov w2, #10 ; =0xa bl _strncmp cbnz w0, LBB0_4 ; %bb.6: ; in Loop: Header=BB0_5 Depth=1 ldr x0, [x24] ldr w8, [x23] madd w1, w8, w26, w27 bl _realloc cbz x0, LBB0_10 ; %bb.7: ; in Loop: Header=BB0_5 Depth=1 str x0, [x24] ldrsw x8, [x23] sub w9, w8, #1 str w9, [x23] smaddl x28, w8, w26, x0 str w19, [x28] add x0, x22, #10 bl _strdup str w0, [x28, #8] add x0, x22, #10 bl _compact_gfp_flags str w0, [x28, #4] ldr w8, [x28, #8] cmp w8, #0 ccmp w0, #0, #4, ne b.eq LBB0_10 ; %bb.8: ; in Loop: Header=BB0_5 Depth=1 ldr x0, [x24] ldr w1, [x23] ldr w3, [x25] mov w2, #12 ; =0xc bl _qsort b LBB0_4 LBB0_9: add x0, sp, #8 bl _trace_seq_destroy mov w0, #0 ; =0x0 b LBB0_11 LBB0_10: Lloh17: adrp x8, _ENOMEM@GOTPAGE Lloh18: ldr x8, [x8, _ENOMEM@GOTPAGEOFF] Lloh19: ldr w8, [x8] neg w0, w8 LBB0_11: ldp x29, x30, [sp, #128] ; 16-byte Folded Reload ldp x20, x19, [sp, #112] ; 16-byte Folded Reload ldp x22, x21, [sp, #96] ; 16-byte Folded Reload ldp x24, x23, [sp, #80] ; 16-byte Folded Reload ldp x26, x25, [sp, #64] ; 16-byte Folded Reload ldp x28, x27, [sp, #48] ; 16-byte Folded Reload add sp, sp, #144 ret .loh AdrpLdrGot Lloh4, Lloh5 .loh AdrpLdrGot Lloh2, Lloh3 .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpAdd Lloh11, Lloh12 .loh AdrpAdd Lloh9, Lloh10 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpAdd Lloh15, Lloh16 .loh AdrpAdd Lloh13, Lloh14 .loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19 .cfi_endproc ; -- End function .comm _nr_gfps,4,2 ; @nr_gfps .comm _gfps,8,3 ; @gfps .comm _gfpcmp,4,2 ; @gfpcmp .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "%s" .comm _TEP_PRINT_INFO,4,2 ; @TEP_PRINT_INFO l_.str.1: ; @.str.1 .asciz " " l_.str.2: ; @.str.2 .asciz "gfp_flags=" .comm _ENOMEM,4,2 ; @ENOMEM .no_dead_strip _parse_gfp_flags .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _IncDrawVerts ## -- Begin function IncDrawVerts .p2align 4, 0x90 _IncDrawVerts: ## @IncDrawVerts .cfi_startproc ## %bb.0: 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 _numBSPDrawVerts@GOTPCREL(%rip), %rbx movl (%rbx), %edx leal -1(%rdx), %eax movl %eax, (%rbx) movq _bspDrawVerts@GOTPCREL(%rip), %r14 movq (%r14), %rax testq %rax, %rax je LBB0_1 ## %bb.2: movq _numBSPDrawVertsBuffer@GOTPCREL(%rip), %rcx movl (%rcx), %esi cmpl %esi, %edx jle LBB0_6 ## %bb.3: leal (%rsi,%rsi,2), %edx movl %edx, %esi shrl $31, %esi addl %edx, %esi sarl %esi movq _MAX_MAP_DRAW_VERTS@GOTPCREL(%rip), %rdx movl (%rdx), %edx cmpl %edx, %esi cmovgel %edx, %esi movl %esi, (%rcx) shll $2, %esi movq %rax, %rdi callq _realloc testq %rax, %rax jne LBB0_5 ## %bb.4: movq (%r14), %rdi movq %rax, %r15 callq _free leaq L_.str.1(%rip), %rdi callq _Error movq %r15, %rax jmp LBB0_5 LBB0_1: movq _MAX_MAP_DRAW_VERTS@GOTPCREL(%rip), %rax movslq (%rax), %rax imulq $-580400985, %rax, %rdi ## imm = 0xDD67C8A7 shrq $32, %rdi addl %eax, %edi movl %edi, %eax shrl $31, %eax sarl $5, %edi addl %eax, %edi movq _numBSPDrawVertsBuffer@GOTPCREL(%rip), %rax movl %edi, (%rax) shll $2, %edi leaq L_.str(%rip), %rsi ## kill: def $edi killed $edi killed $rdi callq _safe_malloc_info LBB0_5: movq %rax, (%r14) LBB0_6: movslq (%rbx), %rcx leaq (%rax,%rcx,4), %rdi addq $-4, %rdi xorl %esi, %esi movl $4, %edx addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp jmp _memset ## TAILCALL .cfi_endproc ## -- End function .comm _numBSPDrawVerts,4,2 ## @numBSPDrawVerts .comm _bspDrawVerts,8,3 ## @bspDrawVerts .comm _MAX_MAP_DRAW_VERTS,4,2 ## @MAX_MAP_DRAW_VERTS .comm _numBSPDrawVertsBuffer,4,2 ## @numBSPDrawVertsBuffer .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "IncDrawVerts" L_.str.1: ## @.str.1 .asciz "realloc() failed (IncDrawVerts)" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _IncDrawVerts ; -- Begin function IncDrawVerts .p2align 2 _IncDrawVerts: ; @IncDrawVerts .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 Lloh0: adrp x19, _numBSPDrawVerts@GOTPAGE Lloh1: ldr x19, [x19, _numBSPDrawVerts@GOTPAGEOFF] ldr w9, [x19] sub w8, w9, #1 str w8, [x19] Lloh2: adrp x20, _bspDrawVerts@GOTPAGE Lloh3: ldr x20, [x20, _bspDrawVerts@GOTPAGEOFF] ldr x0, [x20] cbz x0, LBB0_4 ; %bb.1: Lloh4: adrp x8, _numBSPDrawVertsBuffer@GOTPAGE Lloh5: ldr x8, [x8, _numBSPDrawVertsBuffer@GOTPAGEOFF] ldr w10, [x8] cmp w9, w10 b.le LBB0_6 ; %bb.2: add w9, w10, w10, lsl #1 add w9, w9, w9, lsr #31 Lloh6: adrp x10, _MAX_MAP_DRAW_VERTS@GOTPAGE Lloh7: ldr x10, [x10, _MAX_MAP_DRAW_VERTS@GOTPAGEOFF] asr w9, w9, #1 Lloh8: ldr w10, [x10] cmp w9, w10 csel w9, w9, w10, lt str w9, [x8] lsl w1, w9, #2 bl _realloc cbnz x0, LBB0_5 ; %bb.3: ldr x8, [x20] mov x21, x0 mov x0, x8 bl _free Lloh9: adrp x0, l_.str.1@PAGE Lloh10: add x0, x0, l_.str.1@PAGEOFF bl _Error mov x0, x21 b LBB0_5 LBB0_4: Lloh11: adrp x8, _MAX_MAP_DRAW_VERTS@GOTPAGE Lloh12: ldr x8, [x8, _MAX_MAP_DRAW_VERTS@GOTPAGEOFF] Lloh13: ldrsw x8, [x8] mov x9, #-14169 ; =0xffffffffffffc8a7 movk x9, #56679, lsl #16 smull x9, w8, w9 lsr x9, x9, #32 add w8, w9, w8 asr w9, w8, #5 add w8, w9, w8, lsr #31 Lloh14: adrp x9, _numBSPDrawVertsBuffer@GOTPAGE Lloh15: ldr x9, [x9, _numBSPDrawVertsBuffer@GOTPAGEOFF] Lloh16: str w8, [x9] lsl w0, w8, #2 Lloh17: adrp x1, l_.str@PAGE Lloh18: add x1, x1, l_.str@PAGEOFF bl _safe_malloc_info LBB0_5: str x0, [x20] LBB0_6: ldrsw x8, [x19] add x8, x0, x8, lsl #2 sub x0, x8, #4 mov w1, #0 ; =0x0 mov w2, #4 ; =0x4 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 _memset .loh AdrpLdrGot Lloh2, Lloh3 .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGot Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpAdd Lloh9, Lloh10 .loh AdrpAdd Lloh17, Lloh18 .loh AdrpLdrGotStr Lloh14, Lloh15, Lloh16 .loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13 .cfi_endproc ; -- End function .comm _numBSPDrawVerts,4,2 ; @numBSPDrawVerts .comm _bspDrawVerts,8,3 ; @bspDrawVerts .comm _MAX_MAP_DRAW_VERTS,4,2 ; @MAX_MAP_DRAW_VERTS .comm _numBSPDrawVertsBuffer,4,2 ; @numBSPDrawVertsBuffer .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "IncDrawVerts" l_.str.1: ; @.str.1 .asciz "realloc() failed (IncDrawVerts)" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl __dwarf_write_lsb_alloc ## -- Begin function _dwarf_write_lsb_alloc .p2align 4, 0x90 __dwarf_write_lsb_alloc: ## @_dwarf_write_lsb_alloc .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %r9, -48(%rbp) ## 8-byte Spill movl %r8d, %r14d movl %ecx, %r15d movq %rdx, %r12 movq %rsi, %rbx movq %rdi, %r13 xorl %edi, %edi cmpl $0, (%rsi) setg %dil callq _assert .p2align 4, 0x90 LBB0_1: ## =>This Inner Loop Header: Depth=1 movl (%r12), %eax subl %r14d, %eax movslq (%rbx), %rsi cmpl %esi, %eax jle LBB0_4 ## %bb.2: ## in Loop: Header=BB0_1 Depth=1 addq %rsi, %rsi movl %esi, (%rbx) movq (%r13), %rdi callq _realloc movq %rax, (%r13) testq %rax, %rax jne LBB0_1 ## %bb.3: movq _DW_DLE_MEMORY@GOTPCREL(%rip), %rbx movl (%rbx), %edx xorl %edi, %edi movq -48(%rbp), %rsi ## 8-byte Reload callq _DWARF_SET_ERROR jmp LBB0_5 LBB0_4: movq (%r13), %rdi movq %r12, %rsi movl %r15d, %edx movl %r14d, %ecx callq __dwarf_write_lsb movq _DW_DLE_NONE@GOTPCREL(%rip), %rbx LBB0_5: movl (%rbx), %eax addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _DW_DLE_MEMORY,4,2 ## @DW_DLE_MEMORY .comm _DW_DLE_NONE,4,2 ## @DW_DLE_NONE .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl __dwarf_write_lsb_alloc ; -- Begin function _dwarf_write_lsb_alloc .p2align 2 __dwarf_write_lsb_alloc: ; @_dwarf_write_lsb_alloc .cfi_startproc ; %bb.0: stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill stp x22, x21, [sp, #16] ; 16-byte Folded Spill stp x20, x19, [sp, #32] ; 16-byte Folded Spill stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 mov x19, x5 mov x20, x4 mov x21, x3 mov x22, x2 mov x24, x1 mov x23, x0 ldr w8, [x1] cmp w8, #0 cset w0, gt bl _assert LBB0_1: ; =>This Inner Loop Header: Depth=1 ldr w9, [x22] ldrsw x8, [x24] sub w9, w9, w20 cmp w9, w8 b.le LBB0_4 ; %bb.2: ; in Loop: Header=BB0_1 Depth=1 lsl x1, x8, #1 str w1, [x24] ldr x0, [x23] bl _realloc str x0, [x23] cbnz x0, LBB0_1 ; %bb.3: Lloh0: adrp x20, _DW_DLE_MEMORY@GOTPAGE Lloh1: ldr x20, [x20, _DW_DLE_MEMORY@GOTPAGEOFF] ldr w2, [x20] mov x1, x19 bl _DWARF_SET_ERROR b LBB0_5 LBB0_4: ldr x0, [x23] mov x1, x22 mov x2, x21 mov x3, x20 bl __dwarf_write_lsb Lloh2: adrp x20, _DW_DLE_NONE@GOTPAGE Lloh3: ldr x20, [x20, _DW_DLE_NONE@GOTPAGEOFF] LBB0_5: ldr w0, [x20] ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload ldp x24, x23, [sp], #64 ; 16-byte Folded Reload ret .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGot Lloh2, Lloh3 .cfi_endproc ; -- End function .comm _DW_DLE_MEMORY,4,2 ; @DW_DLE_MEMORY .comm _DW_DLE_NONE,4,2 ; @DW_DLE_NONE .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _cpu_set_realloc ## -- Begin function cpu_set_realloc .p2align 4, 0x90 _cpu_set_realloc: ## @cpu_set_realloc .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %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 callq _assert movl %ebx, %edi callq _CPU_ALLOC_SIZE xorl %ebx, %ebx cmpq (%r14), %rax jbe LBB0_4 ## %bb.1: movq %rax, %r15 movq 8(%r14), %rdi movq %rax, %rsi callq _realloc testq %rax, %rax je LBB0_2 ## %bb.3: movq (%r14), %rcx leaq (%rax,%rcx,4), %rdi movl %r15d, %esi subl %ecx, %esi movq %rax, %r12 callq _memzero movq %r12, 8(%r14) movq %r15, (%r14) jmp LBB0_4 LBB0_2: movq _ENOMEM@GOTPCREL(%rip), %rax xorl %ebx, %ebx subl (%rax), %ebx LBB0_4: movl %ebx, %eax popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _ENOMEM,4,2 ## @ENOMEM .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _cpu_set_realloc ; -- Begin function cpu_set_realloc .p2align 2 _cpu_set_realloc: ; @cpu_set_realloc .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x20, x1 mov x19, x0 bl _assert mov x0, x20 bl _CPU_ALLOC_SIZE ldr x8, [x19] cmp x0, x8 b.ls LBB0_3 ; %bb.1: mov x20, x0 ldr x0, [x19, #8] mov x1, x20 bl _realloc cbz x0, LBB0_4 ; %bb.2: ldr x9, [x19] add x8, x0, x9, lsl #2 sub w1, w20, w9 mov x21, x0 mov x0, x8 bl _memzero mov w0, #0 ; =0x0 stp x20, x21, [x19] b LBB0_5 LBB0_3: mov w0, #0 ; =0x0 b LBB0_5 LBB0_4: Lloh0: adrp x8, _ENOMEM@GOTPAGE Lloh1: ldr x8, [x8, _ENOMEM@GOTPAGEOFF] Lloh2: ldr w8, [x8] neg w0, w8 LBB0_5: 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 _ENOMEM,4,2 ; @ENOMEM .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _realloc ## -- Begin function realloc .p2align 4, 0x90 _realloc: ## @realloc .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $24, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rsi, %r14 testq %rdi, %rdi je LBB0_17 ## %bb.1: movq %rdi, %rbx movl $8, %edi callq _MEMALIGN cltq movq %rbx, %r15 subq %rax, %r15 movq (%r15), %r13 movq _MAGIC@GOTPCREL(%rip), %rax movq (%rax), %r12 cmpq %r12, %r13 jne LBB0_3 ## %bb.2: movl %r13d, %r15d jmp LBB0_6 LBB0_17: movq %r14, %rdi addq $24, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp jmp _malloc ## TAILCALL LBB0_3: movq %r15, %rdi movl $1, %esi callq _findbucket testl %eax, %eax js LBB0_5 ## %bb.4: movq _realloc_srchlen@GOTPCREL(%rip), %rax movl (%rax), %esi movq %r15, %rdi callq _findbucket movl %eax, %r15d testl %eax, %eax jns LBB0_6 LBB0_5: xorl %r15d, %r15d LBB0_6: movl $8, %edi callq _MEMALIGN ## kill: def $eax killed $eax def $rax leal (%r14,%rax), %edi movq _RSLOP@GOTPCREL(%rip), %rax addl (%rax), %edi callq _MEMALIGN cmpq %r12, %r13 jne LBB0_10 ## %bb.7: leal 3(%r15), %ecx movl $1, %edx movl $1, %esi ## kill: def $cl killed $cl killed $ecx shll %cl, %esi cmpl %esi, %eax ja LBB0_10 ## %bb.8: leal 2(%r15), %ecx ## kill: def $cl killed $cl killed $ecx shll %cl, %edx cmpl %edx, %eax jbe LBB0_10 ## %bb.9: movq %rbx, %r12 jmp LBB0_16 LBB0_10: movq %r12, -56(%rbp) ## 8-byte Spill movq %r14, %rdi callq _malloc testq %rax, %rax je LBB0_11 ## %bb.12: movq %rax, %r12 cmpq %rbx, %rax je LBB0_14 ## %bb.13: addb $3, %r15b movq %r13, -48(%rbp) ## 8-byte Spill movl $1, %r13d movl %r15d, %ecx shll %cl, %r13d movl $8, %edi callq _MEMALIGN subl %eax, %r13d movslq %r13d, %rdx movq -48(%rbp), %r13 ## 8-byte Reload movq _RSLOP@GOTPCREL(%rip), %rax subq (%rax), %rdx cmpq %r14, %rdx cmovaeq %r14, %rdx movq %r12, %rdi movq %rbx, %rsi callq _memmove LBB0_14: cmpq -56(%rbp), %r13 ## 8-byte Folded Reload jne LBB0_16 ## %bb.15: movq %rbx, %rdi callq _free jmp LBB0_16 LBB0_11: xorl %r12d, %r12d LBB0_16: movq %r12, %rax addq $24, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _MAGIC,8,3 ## @MAGIC .comm _realloc_srchlen,4,2 ## @realloc_srchlen .comm _RSLOP,8,3 ## @RSLOP .comm _RMAGIC,8,3 ## @RMAGIC .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _realloc ; -- Begin function realloc .p2align 2 _realloc: ; @realloc .cfi_startproc ; %bb.0: stp x26, x25, [sp, #-80]! ; 16-byte Folded Spill stp x24, x23, [sp, #16] ; 16-byte Folded Spill stp x22, x21, [sp, #32] ; 16-byte Folded Spill stp x20, x19, [sp, #48] ; 16-byte Folded Spill stp x29, x30, [sp, #64] ; 16-byte Folded Spill add x29, sp, #64 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 mov x20, x1 cbz x0, LBB0_3 ; %bb.1: mov x19, x0 mov w0, #8 ; =0x8 bl _MEMALIGN sub x21, x19, w0, sxtw ldr x23, [x21] Lloh0: adrp x8, _MAGIC@GOTPAGE Lloh1: ldr x8, [x8, _MAGIC@GOTPAGEOFF] Lloh2: ldr x24, [x8] cmp x23, x24 b.ne LBB0_4 ; %bb.2: mov x22, x23 b LBB0_7 LBB0_3: 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 b _malloc LBB0_4: mov x0, x21 mov w1, #1 ; =0x1 bl _findbucket tbnz w0, #31, LBB0_6 ; %bb.5: Lloh3: adrp x8, _realloc_srchlen@GOTPAGE Lloh4: ldr x8, [x8, _realloc_srchlen@GOTPAGEOFF] Lloh5: ldr w1, [x8] mov x0, x21 bl _findbucket mov x22, x0 tbz w0, #31, LBB0_7 LBB0_6: mov w22, #0 ; =0x0 LBB0_7: mov w0, #8 ; =0x8 bl _MEMALIGN add w8, w0, w20 Lloh6: adrp x25, _RSLOP@GOTPAGE Lloh7: ldr x25, [x25, _RSLOP@GOTPAGEOFF] ldr w9, [x25] add w0, w8, w9 bl _MEMALIGN cmp x23, x24 add w8, w22, #3 mov w9, #1 ; =0x1 lsl w8, w9, w8 ccmp w0, w8, #2, eq add w8, w22, #2 lsl w8, w9, w8 ccmp w0, w8, #0, ls b.hi LBB0_13 ; %bb.8: mov x0, x20 bl _malloc mov x21, x0 cbz x0, LBB0_14 ; %bb.9: cmp x21, x19 b.eq LBB0_11 ; %bb.10: add w8, w22, #3 mov w9, #1 ; =0x1 lsl w22, w9, w8 mov w0, #8 ; =0x8 bl _MEMALIGN sub w8, w22, w0 sxtw x8, w8 ldr x9, [x25] sub x8, x8, x9 cmp x8, x20 csel x2, x8, x20, lo mov x0, x21 mov x1, x19 bl _memmove LBB0_11: cmp x23, x24 b.ne LBB0_14 ; %bb.12: mov x0, x19 bl _free b LBB0_14 LBB0_13: mov x21, x19 LBB0_14: mov x0, x21 ldp x29, x30, [sp, #64] ; 16-byte Folded Reload ldp x20, x19, [sp, #48] ; 16-byte Folded Reload ldp x22, x21, [sp, #32] ; 16-byte Folded Reload ldp x24, x23, [sp, #16] ; 16-byte Folded Reload ldp x26, x25, [sp], #80 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGot Lloh6, Lloh7 .cfi_endproc ; -- End function .comm _MAGIC,8,3 ; @MAGIC .comm _realloc_srchlen,4,2 ; @realloc_srchlen .comm _RSLOP,8,3 ; @RSLOP .comm _RMAGIC,8,3 ; @RMAGIC .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _SStringShrink ## -- Begin function SStringShrink .p2align 4, 0x90 _SStringShrink: ## @SStringShrink .cfi_startproc ## %bb.0: movl (%rdi), %eax movl 4(%rdi), %esi cmpl %esi, %eax setge %cl leal (%rsi,%rsi), %edx cmpl %edx, %eax setg %al orb %cl, %al cmpb $1, %al jne LBB0_2 ## %bb.1: 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 8(%rdi), %rax incl %esi movq %rdi, %rbx movq %rax, %rdi ## kill: def $esi killed $esi killed $rsi callq _realloc movq %rax, 8(%rbx) xorl %edi, %edi testq %rax, %rax sete %dil callq _assert movl 4(%rbx), %eax incl %eax movl %eax, (%rbx) addq $8, %rsp popq %rbx popq %rbp LBB0_2: retq .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _SStringShrink ; -- Begin function SStringShrink .p2align 2 _SStringShrink: ; @SStringShrink .cfi_startproc ; %bb.0: ldp w8, w9, [x0] lsl w10, w9, #1 cmp w8, w9 ccmp w8, w10, #0, lt b.le LBB0_2 ; %bb.1: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 ldr x8, [x0, #8] add w1, w9, #1 mov x19, x0 mov x0, x8 bl _realloc str x0, [x19, #8] cmp x0, #0 cset w0, eq bl _assert ldr w8, [x19, #4] add w8, w8, #1 str w8, [x19] ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload LBB0_2: ret .cfi_endproc ; -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _IncDrawVerts ## -- Begin function IncDrawVerts .p2align 4, 0x90 _IncDrawVerts: ## @IncDrawVerts .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 _numDrawVerts@GOTPCREL(%rip), %rbx movl (%rbx), %ecx decl %ecx movl %ecx, (%rbx) movq _drawVerts@GOTPCREL(%rip), %r14 movq (%r14), %rdi testq %rdi, %rdi je LBB0_1 ## %bb.2: movq _numDrawVertsBuffer@GOTPCREL(%rip), %rax movl (%rax), %edx cmpl %edx, %ecx jle LBB0_5 ## %bb.3: leal (%rdx,%rdx,2), %ecx movl %ecx, %esi shrl $31, %esi addl %ecx, %esi sarl %esi movq _MAX_MAP_DRAW_VERTS@GOTPCREL(%rip), %rcx movl (%rcx), %ecx cmpl %ecx, %esi cmovgel %ecx, %esi movl %esi, (%rax) shll $2, %esi callq _realloc movq %rax, %rdi movq %rax, (%r14) testq %rax, %rax jne LBB0_5 ## %bb.4: leaq L_.str.1(%rip), %rdi callq _Error movq (%r14), %rdi jmp LBB0_5 LBB0_1: movq _MAX_MAP_DRAW_VERTS@GOTPCREL(%rip), %rax movslq (%rax), %rax imulq $-580400985, %rax, %rdi ## imm = 0xDD67C8A7 shrq $32, %rdi addl %eax, %edi movl %edi, %eax shrl $31, %eax sarl $5, %edi addl %eax, %edi movq _numDrawVertsBuffer@GOTPCREL(%rip), %rax movl %edi, (%rax) shll $2, %edi leaq L_.str(%rip), %rsi ## kill: def $edi killed $edi killed $rdi callq _safe_malloc_info movq %rax, %rdi movq %rax, (%r14) LBB0_5: movslq (%rbx), %rax subq %rax, %rdi incq %rdi xorl %esi, %esi movl $4, %edx popq %rbx popq %r14 popq %rbp jmp _memset ## TAILCALL .cfi_endproc ## -- End function .comm _numDrawVerts,4,2 ## @numDrawVerts .comm _drawVerts,8,3 ## @drawVerts .comm _MAX_MAP_DRAW_VERTS,4,2 ## @MAX_MAP_DRAW_VERTS .comm _numDrawVertsBuffer,4,2 ## @numDrawVertsBuffer .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "IncDrawVerts" L_.str.1: ## @.str.1 .asciz "realloc() failed (IncDrawVerts)" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _IncDrawVerts ; -- Begin function IncDrawVerts .p2align 2 _IncDrawVerts: ; @IncDrawVerts .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, _numDrawVerts@GOTPAGE Lloh1: ldr x19, [x19, _numDrawVerts@GOTPAGEOFF] ldr w8, [x19] sub w9, w8, #1 str w9, [x19] Lloh2: adrp x20, _drawVerts@GOTPAGE Lloh3: ldr x20, [x20, _drawVerts@GOTPAGEOFF] ldr x0, [x20] cbz x0, LBB0_4 ; %bb.1: Lloh4: adrp x8, _numDrawVertsBuffer@GOTPAGE Lloh5: ldr x8, [x8, _numDrawVertsBuffer@GOTPAGEOFF] ldr w10, [x8] cmp w9, w10 b.le LBB0_5 ; %bb.2: add w9, w10, w10, lsl #1 add w9, w9, w9, lsr #31 Lloh6: adrp x10, _MAX_MAP_DRAW_VERTS@GOTPAGE Lloh7: ldr x10, [x10, _MAX_MAP_DRAW_VERTS@GOTPAGEOFF] asr w9, w9, #1 Lloh8: ldr w10, [x10] cmp w9, w10 csel w9, w9, w10, lt str w9, [x8] lsl w1, w9, #2 bl _realloc str x0, [x20] cbnz x0, LBB0_5 ; %bb.3: Lloh9: adrp x0, l_.str.1@PAGE Lloh10: add x0, x0, l_.str.1@PAGEOFF bl _Error ldr x0, [x20] b LBB0_5 LBB0_4: Lloh11: adrp x8, _MAX_MAP_DRAW_VERTS@GOTPAGE Lloh12: ldr x8, [x8, _MAX_MAP_DRAW_VERTS@GOTPAGEOFF] Lloh13: ldrsw x8, [x8] mov x9, #-14169 ; =0xffffffffffffc8a7 movk x9, #56679, lsl #16 smull x9, w8, w9 lsr x9, x9, #32 add w8, w9, w8 asr w9, w8, #5 add w8, w9, w8, lsr #31 Lloh14: adrp x9, _numDrawVertsBuffer@GOTPAGE Lloh15: ldr x9, [x9, _numDrawVertsBuffer@GOTPAGEOFF] Lloh16: str w8, [x9] lsl w0, w8, #2 Lloh17: adrp x1, l_.str@PAGE Lloh18: add x1, x1, l_.str@PAGEOFF bl _safe_malloc_info str x0, [x20] LBB0_5: ldrsw x8, [x19] sub x8, x0, x8 add x0, x8, #1 mov w1, #0 ; =0x0 mov w2, #4 ; =0x4 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _memset .loh AdrpLdrGot Lloh2, Lloh3 .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGot Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpAdd Lloh9, Lloh10 .loh AdrpAdd Lloh17, Lloh18 .loh AdrpLdrGotStr Lloh14, Lloh15, Lloh16 .loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13 .cfi_endproc ; -- End function .comm _numDrawVerts,4,2 ; @numDrawVerts .comm _drawVerts,8,3 ; @drawVerts .comm _MAX_MAP_DRAW_VERTS,4,2 ; @MAX_MAP_DRAW_VERTS .comm _numDrawVertsBuffer,4,2 ; @numDrawVertsBuffer .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "IncDrawVerts" l_.str.1: ; @.str.1 .asciz "realloc() failed (IncDrawVerts)" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function normalStmtAddPart _normalStmtAddPart: ## @normalStmtAddPart .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %ecx, %r15d movq %rdx, %r12 movl %esi, %r14d movq %rdi, %rbx movl (%rdi), %ecx leal 1(%rcx), %r13d movq 16(%rdi), %rax cmpl 4(%rdi), %r13d jl LBB0_4 ## %bb.1: movl %r13d, %ecx shll $4, %ecx leal (%rcx,%rcx,2), %esi movq %rax, %rdi callq _realloc testq %rax, %rax je LBB0_2 ## %bb.3: addl %r13d, %r13d movl %r13d, 4(%rbx) movq %rax, 16(%rbx) movl (%rbx), %ecx leal 1(%rcx), %r13d LBB0_4: movslq %ecx, %rcx leaq (%rcx,%rcx,2), %rcx movl %r14d, (%rax,%rcx,8) movq %r12, 8(%rax,%rcx,8) movl %r15d, 16(%rax,%rcx,8) movl %r13d, (%rbx) movq _TSDB_CODE_SUCCESS@GOTPCREL(%rip), %rax testl %r14d, %r14d je LBB0_6 ## %bb.5: incl 8(%rbx) jmp LBB0_6 LBB0_2: movq _TSDB_CODE_CLI_OUT_OF_MEMORY@GOTPCREL(%rip), %rax LBB0_6: movl (%rax), %eax addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _TSDB_CODE_CLI_OUT_OF_MEMORY,4,2 ## @TSDB_CODE_CLI_OUT_OF_MEMORY .comm _TSDB_CODE_SUCCESS,4,2 ## @TSDB_CODE_SUCCESS .no_dead_strip _normalStmtAddPart .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function normalStmtAddPart _normalStmtAddPart: ; @normalStmtAddPart .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, x3 mov x22, x2 mov x20, x1 mov x19, x0 ldp w8, w9, [x0] add w23, w8, #1 ldr x0, [x0, #16] cmp w23, w9 b.lt LBB0_3 ; %bb.1: add w8, w23, w23, lsl #1 lsl w1, w8, #4 bl _realloc cbz x0, LBB0_7 ; %bb.2: lsl w8, w23, #1 str w8, [x19, #4] str x0, [x19, #16] ldr w8, [x19] add w23, w8, #1 LBB0_3: mov w9, #24 ; =0x18 smaddl x8, w8, w9, x0 str w20, [x8] str x22, [x8, #8] str w21, [x8, #16] str w23, [x19] cbz w20, LBB0_5 ; %bb.4: ldr w8, [x19, #8] add w8, w8, #1 str w8, [x19, #8] LBB0_5: Lloh0: adrp x8, _TSDB_CODE_SUCCESS@GOTPAGE Lloh1: ldr x8, [x8, _TSDB_CODE_SUCCESS@GOTPAGEOFF] LBB0_6: 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 LBB0_7: Lloh2: adrp x8, _TSDB_CODE_CLI_OUT_OF_MEMORY@GOTPAGE Lloh3: ldr x8, [x8, _TSDB_CODE_CLI_OUT_OF_MEMORY@GOTPAGEOFF] b LBB0_6 .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGot Lloh2, Lloh3 .cfi_endproc ; -- End function .comm _TSDB_CODE_CLI_OUT_OF_MEMORY,4,2 ; @TSDB_CODE_CLI_OUT_OF_MEMORY .comm _TSDB_CODE_SUCCESS,4,2 ; @TSDB_CODE_SUCCESS .no_dead_strip _normalStmtAddPart .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _stb_ps_add ## -- Begin function stb_ps_add .p2align 4, 0x90 _stb_ps_add: ## @stb_ps_add .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movq %rdi, %rbx testq %rsi, %rsi je LBB0_2 ## %bb.1: movq %rsi, %r14 xorl %ebx, %ebx xorl %edi, %edi callq _assert movq %r14, %rdi callq _stb_ps_fastlist_valid movl %eax, %edi callq _assert movq _STB_DEL@GOTPCREL(%rip), %rax xorl %edi, %edi cmpq %r14, (%rax) setne %dil callq _assert LBB0_2: movq %rbx, %rax popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .comm _STB_DEL,8,3 ## @STB_DEL .comm _STB_BUCKET_SIZE,4,2 ## @STB_BUCKET_SIZE .comm _stb_ps_array_max,4,2 ## @stb_ps_array_max .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _stb_ps_add ; -- Begin function stb_ps_add .p2align 2 _stb_ps_add: ; @stb_ps_add .cfi_startproc ; %bb.0: cbz x1, LBB0_2 ; %bb.1: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x1 mov w0, #0 ; =0x0 bl _assert mov x0, x19 bl _stb_ps_fastlist_valid bl _assert Lloh0: adrp x8, _STB_DEL@GOTPAGE Lloh1: ldr x8, [x8, _STB_DEL@GOTPAGEOFF] Lloh2: ldr x8, [x8] cmp x8, x19 cset w0, ne bl _assert mov x0, #0 ; =0x0 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload LBB0_2: ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _STB_DEL,8,3 ; @STB_DEL .comm _STB_BUCKET_SIZE,4,2 ; @STB_BUCKET_SIZE .comm _stb_ps_array_max,4,2 ; @stb_ps_array_max .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _sslread ## -- Begin function sslread .p2align 4, 0x90 _sslread: ## @sslread .cfi_startproc ## %bb.0: 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 $1025, %r14d ## imm = 0x401 xorl %r13d, %r13d leaq -41(%rbp), %r15 xorl %r12d, %r12d .p2align 4, 0x90 LBB0_1: ## =>This Inner Loop Header: Depth=1 testq %r12, %r12 je LBB0_2 ## %bb.3: ## in Loop: Header=BB0_1 Depth=1 testl $1023, %r13d ## imm = 0x3FF jne LBB0_6 ## %bb.4: ## in Loop: Header=BB0_1 Depth=1 movq %r12, %rdi movl %r14d, %esi callq _realloc jmp LBB0_5 .p2align 4, 0x90 LBB0_2: ## in Loop: Header=BB0_1 Depth=1 movl $1024, %edi ## imm = 0x400 xorl %esi, %esi callq _calloc LBB0_5: ## in Loop: Header=BB0_1 Depth=1 movq %rax, %r12 LBB0_6: ## in Loop: Header=BB0_1 Depth=1 movl (%rbx), %edi movq %r15, %rsi movl $1, %edx callq _SSL_read cmpl $1, %eax jne LBB0_8 ## %bb.7: ## in Loop: Header=BB0_1 Depth=1 movzbl -41(%rbp), %eax movb %al, (%r12,%r13) incq %r13 addl $1024, %r14d ## imm = 0x400 cmpq $5121, %r13 ## imm = 0x1401 jne LBB0_1 LBB0_8: movq %r12, %rax addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _sslread ; -- Begin function sslread .p2align 2 _sslread: ; @sslread .cfi_startproc ; %bb.0: sub sp, sp, #80 stp x24, x23, [sp, #16] ; 16-byte Folded Spill stp x22, x21, [sp, #32] ; 16-byte Folded Spill stp x20, x19, [sp, #48] ; 16-byte Folded Spill stp x29, x30, [sp, #64] ; 16-byte Folded Spill add x29, sp, #64 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 mov x19, x0 mov x22, #0 ; =0x0 mov x21, #0 ; =0x0 mov w20, #1025 ; =0x401 mov w23, #5121 ; =0x1401 LBB0_1: ; =>This Inner Loop Header: Depth=1 cbz x21, LBB0_4 ; %bb.2: ; in Loop: Header=BB0_1 Depth=1 tst w22, #0x3ff b.ne LBB0_6 ; %bb.3: ; in Loop: Header=BB0_1 Depth=1 mov x0, x21 mov x1, x20 bl _realloc b LBB0_5 LBB0_4: ; in Loop: Header=BB0_1 Depth=1 mov w0, #1024 ; =0x400 mov w1, #0 ; =0x0 bl _calloc LBB0_5: ; in Loop: Header=BB0_1 Depth=1 mov x21, x0 LBB0_6: ; in Loop: Header=BB0_1 Depth=1 ldr w0, [x19] add x1, sp, #15 mov w2, #1 ; =0x1 bl _SSL_read cmp w0, #1 b.ne LBB0_8 ; %bb.7: ; in Loop: Header=BB0_1 Depth=1 ldrb w8, [sp, #15] strb w8, [x21, x22] add x8, x22, #1 add w20, w20, #1024 mov x22, x8 cmp x8, x23 b.ne LBB0_1 LBB0_8: mov x0, x21 ldp x29, x30, [sp, #64] ; 16-byte Folded Reload ldp x20, x19, [sp, #48] ; 16-byte Folded Reload ldp x22, x21, [sp, #32] ; 16-byte Folded Reload ldp x24, x23, [sp, #16] ; 16-byte Folded Reload add sp, sp, #80 ret .cfi_endproc ; -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function vdev_process_cmd_output _vdev_process_cmd_output: ## @vdev_process_cmd_output .cfi_startproc ## %bb.0: 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 testq %rsi, %rsi je LBB0_1 LBB0_4: movl $1, %r15d LBB0_5: movl %r15d, %eax addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq LBB0_1: movq %rdi, %rbx xorl %r15d, %r15d xorl %edi, %edi movl $61, %esi callq _strchr testq %rax, %rax je LBB0_5 ## %bb.2: movq %rax, %r14 movb $0, (%rax) movq 16(%rbx), %rdi movl 24(%rbx), %eax leal 8(,%rax,8), %esi callq _realloc testq %rax, %rax je LBB0_4 ## %bb.3: decq %r14 movq %rax, 16(%rbx) movq %r14, %rdi movq %rax, %r14 callq _strdup movslq 24(%rbx), %rcx movq %rax, (%r14,%rcx,8) leal 1(%rcx), %eax movl %eax, 24(%rbx) jmp LBB0_4 .cfi_endproc ## -- End function .no_dead_strip _vdev_process_cmd_output .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function vdev_process_cmd_output _vdev_process_cmd_output: ; @vdev_process_cmd_output .cfi_startproc ; %bb.0: cbz x1, LBB0_2 ; %bb.1: mov w0, #1 ; =0x1 ret LBB0_2: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x0 mov x0, #0 ; =0x0 mov w1, #61 ; =0x3d bl _strchr cbz x0, LBB0_6 ; %bb.3: mov x20, x0 strb wzr, [x0] ldr x0, [x19, #16] ldr w8, [x19, #24] lsl w8, w8, #3 add w1, w8, #8 bl _realloc cbz x0, LBB0_5 ; %bb.4: sub x8, x20, #1 str x0, [x19, #16] mov x20, x0 mov x0, x8 bl _strdup ldrsw x8, [x19, #24] str x0, [x20, x8, lsl #3] add w8, w8, #1 str w8, [x19, #24] LBB0_5: mov w0, #1 ; =0x1 LBB0_6: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .no_dead_strip _vdev_process_cmd_output .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function doc_insert _doc_insert: ## @doc_insert .cfi_startproc ## %bb.0: 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, %r12 movq %rdi, %r14 movq _STORAGE_SECRET_MASK@GOTPCREL(%rip), %rax orq %rdx, %r12 orq (%rax), %r12 movq _tot_docs@GOTPCREL(%rip), %rax decl (%rax) addq $24, %rdi movq %rdi, -56(%rbp) ## 8-byte Spill callq _pthread_mutex_lock movl (%r14), %r13d leal 1(%r13), %r15d movl %r15d, (%r14) subl 4(%r14), %r13d movl %r13d, %edi notl %edi shrl $31, %edi callq _assert movl %r13d, %ebx sarl $11, %ebx andl $2047, %r13d ## imm = 0x7FF je LBB0_1 ## %bb.4: xorl %edi, %edi cmpl 8(%r14), %ebx setl %dil callq _assert movq 16(%r14), %rax movslq %ebx, %rcx movq (%rax,%rcx,8), %rax movl %r13d, %ecx movq %r12, (%rax,%rcx,8) jmp LBB0_5 LBB0_1: movl $2048, %edi ## imm = 0x800 movl $8, %esi callq _calloc movq %rax, %r13 xorl %edi, %edi testq %rax, %rax sete %dil callq _assert movq %r13, -48(%rbp) ## 8-byte Spill movq %r12, (%r13) movl 8(%r14), %r13d cmpl %r13d, %ebx jne LBB0_3 ## %bb.2: movl $1, %r13d subl %ebx, %r13d subl %ebx, %r13d movq 16(%r14), %rdi leal (,%r13,8), %esi callq _realloc movq %rax, %r12 xorl %edi, %edi testq %rax, %rax setne %dil callq _assert movq %r12, 16(%r14) movl %r13d, 8(%r14) LBB0_3: xorl %edi, %edi cmpl %r13d, %ebx setl %dil callq _assert movq 16(%r14), %rax movslq %ebx, %rcx movq -48(%rbp), %rdx ## 8-byte Reload movq %rdx, (%rax,%rcx,8) LBB0_5: movq -56(%rbp), %rdi ## 8-byte Reload callq _pthread_mutex_unlock movl %r15d, %eax addq $24, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _STORAGE_SECRET_MASK,8,3 ## @STORAGE_SECRET_MASK .comm _tot_docs,4,2 ## @tot_docs .no_dead_strip _doc_insert .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function doc_insert _doc_insert: ; @doc_insert .cfi_startproc ; %bb.0: stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill stp x22, x21, [sp, #16] ; 16-byte Folded Spill stp x20, x19, [sp, #32] ; 16-byte Folded Spill stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 mov x19, x0 Lloh0: adrp x8, _STORAGE_SECRET_MASK@GOTPAGE Lloh1: ldr x8, [x8, _STORAGE_SECRET_MASK@GOTPAGEOFF] Lloh2: ldr x8, [x8] orr x9, x2, x1 orr x22, x9, x8 Lloh3: adrp x8, _tot_docs@GOTPAGE Lloh4: ldr x8, [x8, _tot_docs@GOTPAGEOFF] ldr w9, [x8] sub w9, w9, #1 str w9, [x8] add x0, x0, #24 bl _pthread_mutex_lock ldp w8, w9, [x19] add w20, w8, #1 str w20, [x19] sub w21, w8, w9 mvn w8, w21 lsr w0, w8, #31 bl _assert asr w23, w21, #11 ands w21, w21, #0x7ff b.eq LBB0_2 ; %bb.1: ldr w8, [x19, #8] cmp w23, w8 cset w0, lt bl _assert ldr x8, [x19, #16] ldr x8, [x8, w23, sxtw #3] str x22, [x8, w21, uxtw #3] b LBB0_5 LBB0_2: mov w0, #2048 ; =0x800 mov w1, #8 ; =0x8 bl _calloc mov x21, x0 cmp x0, #0 cset w0, eq bl _assert str x22, [x21] ldr w24, [x19, #8] cmp w23, w24 b.ne LBB0_4 ; %bb.3: mov w8, #1 ; =0x1 sub w24, w8, w23, lsl #1 ldr x0, [x19, #16] lsl w1, w24, #3 bl _realloc mov x22, x0 cmp x0, #0 cset w0, ne bl _assert str x22, [x19, #16] str w24, [x19, #8] LBB0_4: cmp w23, w24 cset w0, lt bl _assert ldr x8, [x19, #16] str x21, [x8, w23, sxtw #3] LBB0_5: add x0, x19, #24 bl _pthread_mutex_unlock mov x0, x20 ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload ldp x24, x23, [sp], #64 ; 16-byte Folded Reload ret .loh AdrpLdrGot Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _STORAGE_SECRET_MASK,8,3 ; @STORAGE_SECRET_MASK .comm _tot_docs,4,2 ; @tot_docs .no_dead_strip _doc_insert .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function tbl_append _tbl_append: ## @tbl_append .cfi_startproc ## %bb.0: 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 _tb@GOTPCREL(%rip), %r14 movq (%r14), %rax xorl %edi, %edi testq %rax, %rax je LBB0_2 ## %bb.1: cmpl $0, (%rax) setg %dil LBB0_2: callq _assert movq (%r14), %rax decl 4(%rax) cmpl $0, (%rax) js LBB0_7 ## %bb.3: movq $-1, %r15 movq _EXIT_FAILURE@GOTPCREL(%rip), %r12 leaq L_.str(%rip), %rbx jmp LBB0_4 .p2align 4, 0x90 LBB0_6: ## in Loop: Header=BB0_4 Depth=1 movslq 4(%rax), %rax movq $0, -8(%rcx,%rax,8) movq (%r14), %rax movslq (%rax), %rcx incq %r15 cmpq %rcx, %r15 jge LBB0_7 LBB0_4: ## =>This Inner Loop Header: Depth=1 movq 8(%rax), %rcx movq 8(%rcx,%r15,8), %rdi movl 4(%rax), %esi shll $3, %esi callq _realloc movq (%r14), %rcx movq 8(%rcx), %rcx movq %rax, 8(%rcx,%r15,8) movq (%r14), %rax movq 8(%rax), %rcx movq 8(%rcx,%r15,8), %rcx testq %rcx, %rcx jne LBB0_6 ## %bb.5: ## in Loop: Header=BB0_4 Depth=1 movl (%r12), %edi movq %rbx, %rsi callq _err movq (%r14), %rax movq 8(%rax), %rcx movq 8(%rcx,%r15,8), %rcx jmp LBB0_6 LBB0_7: popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _tb,8,3 ## @tb .comm _EXIT_FAILURE,4,2 ## @EXIT_FAILURE .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "realloc" .no_dead_strip _tbl_append .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function tbl_append _tbl_append: ; @tbl_append .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, _tb@GOTPAGE Lloh1: ldr x20, [x20, _tb@GOTPAGEOFF] ldr x8, [x20] cbz x8, LBB0_2 ; %bb.1: ldr w8, [x8] cmp w8, #0 cset w0, gt b LBB0_3 LBB0_2: mov w0, #0 ; =0x0 LBB0_3: bl _assert ldr x8, [x20] ldp w10, w9, [x8] sub w9, w9, #1 str w9, [x8, #4] tbnz w10, #31, LBB0_8 ; %bb.4: mov x21, #0 ; =0x0 Lloh2: adrp x22, _EXIT_FAILURE@GOTPAGE Lloh3: ldr x22, [x22, _EXIT_FAILURE@GOTPAGEOFF] Lloh4: adrp x19, l_.str@PAGE Lloh5: add x19, x19, l_.str@PAGEOFF b LBB0_6 LBB0_5: ; in Loop: Header=BB0_6 Depth=1 ldrsw x8, [x8, #4] add x8, x9, x8, lsl #3 stur xzr, [x8, #-8] add x9, x21, #1 ldr x8, [x20] ldrsw x10, [x8] cmp x21, x10 mov x21, x9 b.ge LBB0_8 LBB0_6: ; =>This Inner Loop Header: Depth=1 ldr x9, [x8, #8] ldr x0, [x9, x21, lsl #3] ldr w8, [x8, #4] lsl w1, w8, #3 bl _realloc ldr x8, [x20] ldr x8, [x8, #8] str x0, [x8, x21, lsl #3] ldr x8, [x20] ldr x9, [x8, #8] ldr x9, [x9, x21, lsl #3] cbnz x9, LBB0_5 ; %bb.7: ; in Loop: Header=BB0_6 Depth=1 ldr w0, [x22] mov x1, x19 bl _err ldr x8, [x20] ldr x9, [x8, #8] ldr x9, [x9, x21, lsl #3] b LBB0_5 LBB0_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 Lloh0, Lloh1 .loh AdrpAdd Lloh4, Lloh5 .loh AdrpLdrGot Lloh2, Lloh3 .cfi_endproc ; -- End function .comm _tb,8,3 ; @tb .comm _EXIT_FAILURE,4,2 ; @EXIT_FAILURE .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "realloc" .no_dead_strip _tbl_append .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _provider_update ## -- Begin function provider_update .p2align 4, 0x90 _provider_update: ## @provider_update .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %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, %r14d movq %rsi, %r15 movq %rdi, %rbx movq (%rdi), %rdi movl %edx, %esi callq _realloc movl $-1, %r12d testq %rax, %rax jne LBB0_2 ## %bb.1: xorl %r12d, %r12d xorl %edi, %edi movq %r15, %rsi movl %r14d, %edx callq _memcpy movq $0, (%rbx) LBB0_2: movl %r12d, %eax popq %rbx popq %r12 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 _provider_update ; -- Begin function provider_update .p2align 2 _provider_update: ; @provider_update .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, x2 mov x21, x1 mov x19, x0 ldr x0, [x0] mov x1, x2 bl _realloc cbz x0, LBB0_2 ; %bb.1: mov w0, #-1 ; =0xffffffff b LBB0_3 LBB0_2: mov x1, x21 mov x2, x20 bl _memcpy mov w0, #0 ; =0x0 str xzr, [x19] LBB0_3: ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _fpm_conf_load_ini_file ## -- Begin function fpm_conf_load_ini_file .p2align 4, 0x90 _fpm_conf_load_ini_file: ## @fpm_conf_load_ini_file .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx 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 movl $0, -48(%rbp) movb $42, -41(%rbp) movq _O_RDONLY@GOTPCREL(%rip), %rax movl (%rax), %esi xorl %edx, %edx callq _open testl %eax, %eax jle LBB0_3 ## %bb.1: movl %eax, %ebx movq _ini_recursion@GOTPCREL(%rip), %rdx movl (%rdx), %eax leal 1(%rax), %ecx movl %ecx, (%rdx) cmpl $5, %eax jl LBB0_4 ## %bb.2: movq _ZLOG_ERROR@GOTPCREL(%rip), %rax movl (%rax), %edi leaq L_.str.2(%rip), %rsi xorl %eax, %eax callq _zlog movl %ebx, %edi callq _close jmp LBB0_22 LBB0_3: movq _ZLOG_SYSERROR@GOTPCREL(%rip), %rax movl (%rax), %edi leaq L_.str.1(%rip), %rsi movq %r12, %rdx xorl %eax, %eax callq _zlog jmp LBB0_22 LBB0_4: movq _ini_lineno@GOTPCREL(%rip), %rax movq $0, (%rax) xorl %r15d, %r15d xorl %r14d, %r14d movq %r12, -64(%rbp) ## 8-byte Spill jmp LBB0_7 LBB0_5: ## in Loop: Header=BB0_7 Depth=1 movq -64(%rbp), %r12 ## 8-byte Reload LBB0_6: ## in Loop: Header=BB0_7 Depth=1 testl %r13d, %r13d jle LBB0_18 LBB0_7: ## =>This Loop Header: Depth=1 ## Child Loop BB0_9 Depth 2 movq _ini_lineno@GOTPCREL(%rip), %rax incq (%rax) movq _ini_filename@GOTPCREL(%rip), %rax movq %r12, (%rax) movl %ebx, %edi leaq -41(%rbp), %rsi movl $1, %edx callq _read movl %eax, %r13d cmpl $1, %eax sete %al movzbl -41(%rbp), %ecx cmpb $10, %cl setne %dl andb %al, %dl cmpb $1, %dl jne LBB0_6 ## %bb.8: ## in Loop: Header=BB0_7 Depth=1 xorl %r12d, %r12d .p2align 4, 0x90 LBB0_9: ## Parent Loop BB0_7 Depth=1 ## => This Inner Loop Header: Depth=2 movl %r14d, %eax cmpq %rax, %r12 jne LBB0_12 ## %bb.10: ## in Loop: Header=BB0_9 Depth=2 leal 1022(%r14), %esi movq %r15, %rdi callq _realloc testq %rax, %rax je LBB0_21 ## %bb.11: ## in Loop: Header=BB0_9 Depth=2 addl $1024, %r14d ## imm = 0x400 movzbl -41(%rbp), %ecx movq %rax, %r15 LBB0_12: ## in Loop: Header=BB0_9 Depth=2 movb %cl, (%r15,%r12) incq %r12 movl %ebx, %edi leaq -41(%rbp), %rsi movl $1, %edx callq _read movl %eax, %r13d cmpl $1, %eax jne LBB0_14 ## %bb.13: ## in Loop: Header=BB0_9 Depth=2 movzbl -41(%rbp), %ecx cmpb $10, %cl jne LBB0_9 LBB0_14: ## in Loop: Header=BB0_7 Depth=1 movl %r12d, %eax incl %r12d movb $10, (%r15,%rax) movb $0, (%r15,%r12) movq _ZEND_INI_SCANNER_NORMAL@GOTPCREL(%rip), %rax movl (%rax), %edx movq _fpm_conf_ini_parser@GOTPCREL(%rip), %rax movl (%rax), %ecx movq %r15, %rdi movl $1, %esi leaq -48(%rbp), %r8 callq _zend_parse_ini_string movq -64(%rbp), %r12 ## 8-byte Reload movq _ini_filename@GOTPCREL(%rip), %rcx movq %r12, (%rcx) cmpl $0, -48(%rbp) movq _ini_include@GOTPCREL(%rip), %rcx movq (%rcx), %rdi jne LBB0_19 ## %bb.15: ## in Loop: Header=BB0_7 Depth=1 movq _FAILURE@GOTPCREL(%rip), %rcx cmpl (%rcx), %eax je LBB0_19 ## %bb.16: ## in Loop: Header=BB0_7 Depth=1 testq %rdi, %rdi je LBB0_6 ## %bb.17: ## in Loop: Header=BB0_7 Depth=1 movq %rdi, -56(%rbp) movq _ini_include@GOTPCREL(%rip), %rax movq $0, (%rax) leaq -56(%rbp), %rdi xorl %esi, %esi xorl %edx, %edx xorl %ecx, %ecx callq _fpm_evaluate_full_path movq -56(%rbp), %rdi leaq -48(%rbp), %rsi callq _fpm_conf_ini_parser_include movl -48(%rbp), %r12d movq -56(%rbp), %rdi callq _free testl %r12d, %r12d je LBB0_5 jmp LBB0_21 LBB0_18: movq %r15, %rdi callq _free movq _ini_recursion@GOTPCREL(%rip), %rax decl (%rax) movl %ebx, %edi callq _close movl $1, %eax jmp LBB0_23 LBB0_19: testq %rdi, %rdi je LBB0_21 ## %bb.20: callq _free LBB0_21: movq _ini_recursion@GOTPCREL(%rip), %rax decl (%rax) movl %ebx, %edi callq _close movq %r15, %rdi callq _free LBB0_22: movl $-1, %eax LBB0_23: addq $24, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _ZLOG_ERROR,4,2 ## @ZLOG_ERROR .comm _O_RDONLY,4,2 ## @O_RDONLY .comm _ZLOG_SYSERROR,4,2 ## @ZLOG_SYSERROR .section __TEXT,__cstring,cstring_literals L_.str.1: ## @.str.1 .asciz "failed to open configuration file '%s'" .comm _ini_recursion,4,2 ## @ini_recursion L_.str.2: ## @.str.2 .asciz "failed to include more than 5 files recusively" .comm _ini_lineno,8,3 ## @ini_lineno .comm _ini_filename,8,3 ## @ini_filename .comm _ZEND_INI_SCANNER_NORMAL,4,2 ## @ZEND_INI_SCANNER_NORMAL .comm _fpm_conf_ini_parser,8,3 ## @fpm_conf_ini_parser .comm _FAILURE,4,2 ## @FAILURE .comm _ini_include,8,3 ## @ini_include .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _fpm_conf_load_ini_file ; -- Begin function fpm_conf_load_ini_file .p2align 2 _fpm_conf_load_ini_file: ; @fpm_conf_load_ini_file .cfi_startproc ; %bb.0: sub sp, sp, #128 stp x28, x27, [sp, #32] ; 16-byte Folded Spill stp x26, x25, [sp, #48] ; 16-byte Folded Spill stp x24, x23, [sp, #64] ; 16-byte Folded Spill stp x22, x21, [sp, #80] ; 16-byte Folded Spill stp x20, x19, [sp, #96] ; 16-byte Folded Spill stp x29, x30, [sp, #112] ; 16-byte Folded Spill add x29, sp, #112 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset w27, -88 .cfi_offset w28, -96 mov x20, x0 str wzr, [sp, #28] mov w8, #42 ; =0x2a strb w8, [sp, #27] Lloh0: adrp x8, _O_RDONLY@GOTPAGE Lloh1: ldr x8, [x8, _O_RDONLY@GOTPAGEOFF] Lloh2: ldr w1, [x8] mov w2, #0 ; =0x0 bl _open cmp w0, #0 b.le LBB0_3 ; %bb.1: mov x19, x0 Lloh3: adrp x22, _ini_recursion@GOTPAGE Lloh4: ldr x22, [x22, _ini_recursion@GOTPAGEOFF] ldr w8, [x22] add w9, w8, #1 str w9, [x22] cmp w8, #5 b.lt LBB0_4 ; %bb.2: Lloh5: adrp x8, _ZLOG_ERROR@GOTPAGE Lloh6: ldr x8, [x8, _ZLOG_ERROR@GOTPAGEOFF] Lloh7: ldr w0, [x8] Lloh8: adrp x1, l_.str.2@PAGE Lloh9: add x1, x1, l_.str.2@PAGEOFF bl _zlog mov x0, x19 bl _close b LBB0_22 LBB0_3: Lloh10: adrp x8, _ZLOG_SYSERROR@GOTPAGE Lloh11: ldr x8, [x8, _ZLOG_SYSERROR@GOTPAGEOFF] Lloh12: ldr w0, [x8] str x20, [sp] Lloh13: adrp x1, l_.str.1@PAGE Lloh14: add x1, x1, l_.str.1@PAGEOFF bl _zlog b LBB0_22 LBB0_4: mov x21, #0 ; =0x0 mov w23, #0 ; =0x0 Lloh15: adrp x24, _ini_lineno@GOTPAGE Lloh16: ldr x24, [x24, _ini_lineno@GOTPAGEOFF] str xzr, [x24] Lloh17: adrp x25, _ini_filename@GOTPAGE Lloh18: ldr x25, [x25, _ini_filename@GOTPAGEOFF] Lloh19: adrp x27, _ini_include@GOTPAGE Lloh20: ldr x27, [x27, _ini_include@GOTPAGEOFF] b LBB0_7 LBB0_5: ; in Loop: Header=BB0_7 Depth=1 mov x0, x28 LBB0_6: ; in Loop: Header=BB0_7 Depth=1 cmp w0, #0 b.le LBB0_18 LBB0_7: ; =>This Loop Header: Depth=1 ; Child Loop BB0_9 Depth 2 ldr x8, [x24] add x8, x8, #1 str x8, [x24] str x20, [x25] add x1, sp, #27 mov x0, x19 mov w2, #1 ; =0x1 bl _read ldrb w8, [sp, #27] cmp w0, #1 ccmp w8, #10, #4, eq b.eq LBB0_6 ; %bb.8: ; in Loop: Header=BB0_7 Depth=1 mov x26, #0 ; =0x0 LBB0_9: ; Parent Loop BB0_7 Depth=1 ; => This Inner Loop Header: Depth=2 cmp x26, w23, uxtw b.ne LBB0_12 ; %bb.10: ; in Loop: Header=BB0_9 Depth=2 add w1, w23, #1022 mov x0, x21 bl _realloc cbz x0, LBB0_21 ; %bb.11: ; in Loop: Header=BB0_9 Depth=2 add w23, w23, #1024 ldrb w8, [sp, #27] mov x21, x0 LBB0_12: ; in Loop: Header=BB0_9 Depth=2 strb w8, [x21, x26] add x26, x26, #1 add x1, sp, #27 mov x0, x19 mov w2, #1 ; =0x1 bl _read cmp w0, #1 b.ne LBB0_14 ; %bb.13: ; in Loop: Header=BB0_9 Depth=2 ldrb w8, [sp, #27] cmp w8, #10 b.ne LBB0_9 LBB0_14: ; in Loop: Header=BB0_7 Depth=1 mov x28, x0 add w8, w26, #1 mov w9, #10 ; =0xa strb w9, [x21, w26, uxtw] strb wzr, [x21, w8, uxtw] Lloh21: adrp x8, _ZEND_INI_SCANNER_NORMAL@GOTPAGE Lloh22: ldr x8, [x8, _ZEND_INI_SCANNER_NORMAL@GOTPAGEOFF] Lloh23: ldr w2, [x8] Lloh24: adrp x8, _fpm_conf_ini_parser@GOTPAGE Lloh25: ldr x8, [x8, _fpm_conf_ini_parser@GOTPAGEOFF] Lloh26: ldr w3, [x8] add x4, sp, #28 mov x0, x21 mov w1, #1 ; =0x1 bl _zend_parse_ini_string mov x8, x0 str x20, [x25] ldr w9, [sp, #28] ldr x0, [x27] cbnz w9, LBB0_19 ; %bb.15: ; in Loop: Header=BB0_7 Depth=1 Lloh27: adrp x9, _FAILURE@GOTPAGE Lloh28: ldr x9, [x9, _FAILURE@GOTPAGEOFF] Lloh29: ldr w9, [x9] cmp w8, w9 b.eq LBB0_19 ; %bb.16: ; in Loop: Header=BB0_7 Depth=1 cbz x0, LBB0_5 ; %bb.17: ; in Loop: Header=BB0_7 Depth=1 str x0, [sp, #16] str xzr, [x27] add x0, sp, #16 mov x1, #0 ; =0x0 mov x2, #0 ; =0x0 mov w3, #0 ; =0x0 bl _fpm_evaluate_full_path ldr x0, [sp, #16] add x1, sp, #28 bl _fpm_conf_ini_parser_include ldr w26, [sp, #28] ldr x0, [sp, #16] bl _free cbz w26, LBB0_5 b LBB0_21 LBB0_18: mov x0, x21 bl _free ldr w8, [x22] sub w8, w8, #1 str w8, [x22] mov x0, x19 bl _close mov w0, #1 ; =0x1 b LBB0_23 LBB0_19: cbz x0, LBB0_21 ; %bb.20: bl _free LBB0_21: ldr w8, [x22] sub w8, w8, #1 str w8, [x22] mov x0, x19 bl _close mov x0, x21 bl _free LBB0_22: mov w0, #-1 ; =0xffffffff LBB0_23: ldp x29, x30, [sp, #112] ; 16-byte Folded Reload ldp x20, x19, [sp, #96] ; 16-byte Folded Reload ldp x22, x21, [sp, #80] ; 16-byte Folded Reload ldp x24, x23, [sp, #64] ; 16-byte Folded Reload ldp x26, x25, [sp, #48] ; 16-byte Folded Reload ldp x28, x27, [sp, #32] ; 16-byte Folded Reload add sp, sp, #128 ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGot Lloh3, Lloh4 .loh AdrpAdd Lloh8, Lloh9 .loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7 .loh AdrpAdd Lloh13, Lloh14 .loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12 .loh AdrpLdrGot Lloh19, Lloh20 .loh AdrpLdrGot Lloh17, Lloh18 .loh AdrpLdrGot Lloh15, Lloh16 .loh AdrpLdrGotLdr Lloh24, Lloh25, Lloh26 .loh AdrpLdrGotLdr Lloh21, Lloh22, Lloh23 .loh AdrpLdrGotLdr Lloh27, Lloh28, Lloh29 .cfi_endproc ; -- End function .comm _ZLOG_ERROR,4,2 ; @ZLOG_ERROR .comm _O_RDONLY,4,2 ; @O_RDONLY .comm _ZLOG_SYSERROR,4,2 ; @ZLOG_SYSERROR .section __TEXT,__cstring,cstring_literals l_.str.1: ; @.str.1 .asciz "failed to open configuration file '%s'" .comm _ini_recursion,4,2 ; @ini_recursion l_.str.2: ; @.str.2 .asciz "failed to include more than 5 files recusively" .comm _ini_lineno,8,3 ; @ini_lineno .comm _ini_filename,8,3 ; @ini_filename .comm _ZEND_INI_SCANNER_NORMAL,4,2 ; @ZEND_INI_SCANNER_NORMAL .comm _fpm_conf_ini_parser,8,3 ; @fpm_conf_ini_parser .comm _FAILURE,4,2 ; @FAILURE .comm _ini_include,8,3 ; @ini_include .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function menu_setting_new_internal _menu_setting_new_internal: ## @menu_setting_new_internal .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $184, %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 ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -48(%rbp) movq _SETTINGS_LIST_MAIN_MENU@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -208(%rbp) movq _SETTINGS_LIST_DRIVERS@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -204(%rbp) movq _SETTINGS_LIST_CORE@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -200(%rbp) movq _SETTINGS_LIST_CONFIGURATION@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -196(%rbp) movq _SETTINGS_LIST_LOGGING@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -192(%rbp) movq _SETTINGS_LIST_SAVING@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -188(%rbp) movq _SETTINGS_LIST_REWIND@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -184(%rbp) movq _SETTINGS_LIST_CHEAT_DETAILS@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -180(%rbp) movq _SETTINGS_LIST_CHEAT_SEARCH@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -176(%rbp) movq _SETTINGS_LIST_CHEATS@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -172(%rbp) movq _SETTINGS_LIST_VIDEO@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -168(%rbp) movq _SETTINGS_LIST_CRT_SWITCHRES@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -164(%rbp) movq _SETTINGS_LIST_AUDIO@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -160(%rbp) movq _SETTINGS_LIST_INPUT@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -156(%rbp) movq _SETTINGS_LIST_INPUT_HOTKEY@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -152(%rbp) movq _SETTINGS_LIST_RECORDING@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -148(%rbp) movq _SETTINGS_LIST_FRAME_THROTTLING@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -144(%rbp) movq _SETTINGS_LIST_FRAME_TIME_COUNTER@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -140(%rbp) movq _SETTINGS_LIST_FONT@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -136(%rbp) movq _SETTINGS_LIST_OVERLAY@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -132(%rbp) movq _SETTINGS_LIST_MENU@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -128(%rbp) movq _SETTINGS_LIST_MENU_FILE_BROWSER@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -124(%rbp) movq _SETTINGS_LIST_MULTIMEDIA@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -120(%rbp) movq _SETTINGS_LIST_USER_INTERFACE@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -116(%rbp) movq _SETTINGS_LIST_POWER_MANAGEMENT@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -112(%rbp) movq _SETTINGS_LIST_MENU_SOUNDS@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -108(%rbp) movq _SETTINGS_LIST_PLAYLIST@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -104(%rbp) movq _SETTINGS_LIST_CHEEVOS@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -100(%rbp) movq _SETTINGS_LIST_CORE_UPDATER@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -96(%rbp) movq _SETTINGS_LIST_NETPLAY@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -92(%rbp) movq _SETTINGS_LIST_LAKKA_SERVICES@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -88(%rbp) movq _SETTINGS_LIST_USER@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -84(%rbp) movq _SETTINGS_LIST_USER_ACCOUNTS@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -80(%rbp) movq _SETTINGS_LIST_USER_ACCOUNTS_CHEEVOS@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -76(%rbp) movq _SETTINGS_LIST_USER_ACCOUNTS_YOUTUBE@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -72(%rbp) movq _SETTINGS_LIST_USER_ACCOUNTS_TWITCH@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -68(%rbp) movq _SETTINGS_LIST_DIRECTORY@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -64(%rbp) movq _SETTINGS_LIST_PRIVACY@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -60(%rbp) movq _SETTINGS_LIST_MIDI@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -56(%rbp) movq _MENU_ENUM_LABEL_MAIN_MENU@GOTPCREL(%rip), %rax movl (%rax), %edi callq _msg_hash_to_str movq %rax, %r14 movl 4(%rbx), %edi movl $4, %esi callq _calloc movq %rax, -216(%rbp) testq %rax, %rax je LBB0_9 ## %bb.1: leaq -208(%rbp), %rdi callq _ARRAY_SIZE testl %eax, %eax je LBB0_5 ## %bb.2: xorl %r13d, %r13d leaq -216(%rbp), %r15 leaq -208(%rbp), %r12 .p2align 4, 0x90 LBB0_3: ## =>This Inner Loop Header: Depth=1 movl -208(%rbp,%r13,4), %edi movq %r15, %rsi movq %rbx, %rdx movq %r14, %rcx callq _setting_append_list testl %eax, %eax je LBB0_7 ## %bb.4: ## in Loop: Header=BB0_3 Depth=1 incq %r13 movq %r12, %rdi callq _ARRAY_SIZE movl %eax, %eax cmpq %rax, %r13 jb LBB0_3 LBB0_5: leaq -216(%rbp), %rdi movq %rbx, %rsi callq _settings_list_append movq -216(%rbp), %rdi testl %eax, %eax je LBB0_8 ## %bb.6: movl (%rbx), %esi callq _menu_setting_terminate_last movl (%rbx), %eax leal 1(%rax), %ecx movl %ecx, (%rbx) movq -216(%rbp), %rdi leal 4(,%rax,4), %esi callq _realloc testq %rax, %rax jne LBB0_10 LBB0_7: movq -216(%rbp), %rdi LBB0_8: callq _free LBB0_9: xorl %eax, %eax LBB0_10: movq ___stack_chk_guard@GOTPCREL(%rip), %rcx movq (%rcx), %rcx cmpq -48(%rbp), %rcx jne LBB0_12 ## %bb.11: addq $184, %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 _SETTINGS_LIST_MAIN_MENU,4,2 ## @SETTINGS_LIST_MAIN_MENU .comm _SETTINGS_LIST_DRIVERS,4,2 ## @SETTINGS_LIST_DRIVERS .comm _SETTINGS_LIST_CORE,4,2 ## @SETTINGS_LIST_CORE .comm _SETTINGS_LIST_CONFIGURATION,4,2 ## @SETTINGS_LIST_CONFIGURATION .comm _SETTINGS_LIST_LOGGING,4,2 ## @SETTINGS_LIST_LOGGING .comm _SETTINGS_LIST_SAVING,4,2 ## @SETTINGS_LIST_SAVING .comm _SETTINGS_LIST_REWIND,4,2 ## @SETTINGS_LIST_REWIND .comm _SETTINGS_LIST_CHEAT_DETAILS,4,2 ## @SETTINGS_LIST_CHEAT_DETAILS .comm _SETTINGS_LIST_CHEAT_SEARCH,4,2 ## @SETTINGS_LIST_CHEAT_SEARCH .comm _SETTINGS_LIST_CHEATS,4,2 ## @SETTINGS_LIST_CHEATS .comm _SETTINGS_LIST_VIDEO,4,2 ## @SETTINGS_LIST_VIDEO .comm _SETTINGS_LIST_CRT_SWITCHRES,4,2 ## @SETTINGS_LIST_CRT_SWITCHRES .comm _SETTINGS_LIST_AUDIO,4,2 ## @SETTINGS_LIST_AUDIO .comm _SETTINGS_LIST_INPUT,4,2 ## @SETTINGS_LIST_INPUT .comm _SETTINGS_LIST_INPUT_HOTKEY,4,2 ## @SETTINGS_LIST_INPUT_HOTKEY .comm _SETTINGS_LIST_RECORDING,4,2 ## @SETTINGS_LIST_RECORDING .comm _SETTINGS_LIST_FRAME_THROTTLING,4,2 ## @SETTINGS_LIST_FRAME_THROTTLING .comm _SETTINGS_LIST_FRAME_TIME_COUNTER,4,2 ## @SETTINGS_LIST_FRAME_TIME_COUNTER .comm _SETTINGS_LIST_FONT,4,2 ## @SETTINGS_LIST_FONT .comm _SETTINGS_LIST_OVERLAY,4,2 ## @SETTINGS_LIST_OVERLAY .comm _SETTINGS_LIST_MENU,4,2 ## @SETTINGS_LIST_MENU .comm _SETTINGS_LIST_MENU_FILE_BROWSER,4,2 ## @SETTINGS_LIST_MENU_FILE_BROWSER .comm _SETTINGS_LIST_MULTIMEDIA,4,2 ## @SETTINGS_LIST_MULTIMEDIA .comm _SETTINGS_LIST_USER_INTERFACE,4,2 ## @SETTINGS_LIST_USER_INTERFACE .comm _SETTINGS_LIST_POWER_MANAGEMENT,4,2 ## @SETTINGS_LIST_POWER_MANAGEMENT .comm _SETTINGS_LIST_MENU_SOUNDS,4,2 ## @SETTINGS_LIST_MENU_SOUNDS .comm _SETTINGS_LIST_PLAYLIST,4,2 ## @SETTINGS_LIST_PLAYLIST .comm _SETTINGS_LIST_CHEEVOS,4,2 ## @SETTINGS_LIST_CHEEVOS .comm _SETTINGS_LIST_CORE_UPDATER,4,2 ## @SETTINGS_LIST_CORE_UPDATER .comm _SETTINGS_LIST_NETPLAY,4,2 ## @SETTINGS_LIST_NETPLAY .comm _SETTINGS_LIST_LAKKA_SERVICES,4,2 ## @SETTINGS_LIST_LAKKA_SERVICES .comm _SETTINGS_LIST_USER,4,2 ## @SETTINGS_LIST_USER .comm _SETTINGS_LIST_USER_ACCOUNTS,4,2 ## @SETTINGS_LIST_USER_ACCOUNTS .comm _SETTINGS_LIST_USER_ACCOUNTS_CHEEVOS,4,2 ## @SETTINGS_LIST_USER_ACCOUNTS_CHEEVOS .comm _SETTINGS_LIST_USER_ACCOUNTS_YOUTUBE,4,2 ## @SETTINGS_LIST_USER_ACCOUNTS_YOUTUBE .comm _SETTINGS_LIST_USER_ACCOUNTS_TWITCH,4,2 ## @SETTINGS_LIST_USER_ACCOUNTS_TWITCH .comm _SETTINGS_LIST_DIRECTORY,4,2 ## @SETTINGS_LIST_DIRECTORY .comm _SETTINGS_LIST_PRIVACY,4,2 ## @SETTINGS_LIST_PRIVACY .comm _SETTINGS_LIST_MIDI,4,2 ## @SETTINGS_LIST_MIDI .comm _MENU_ENUM_LABEL_MAIN_MENU,4,2 ## @MENU_ENUM_LABEL_MAIN_MENU .comm _SETTINGS_LIST_AI_SERVICE,4,2 ## @SETTINGS_LIST_AI_SERVICE .comm _SETTINGS_LIST_VIDEO_LAYOUT,4,2 ## @SETTINGS_LIST_VIDEO_LAYOUT .no_dead_strip _menu_setting_new_internal .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function menu_setting_new_internal _menu_setting_new_internal: ; @menu_setting_new_internal .cfi_startproc ; %bb.0: sub sp, sp, #224 stp x22, x21, [sp, #176] ; 16-byte Folded Spill stp x20, x19, [sp, #192] ; 16-byte Folded Spill stp x29, x30, [sp, #208] ; 16-byte Folded Spill add x29, sp, #208 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 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, #-40] Lloh3: adrp x8, _SETTINGS_LIST_MAIN_MENU@GOTPAGE Lloh4: ldr x8, [x8, _SETTINGS_LIST_MAIN_MENU@GOTPAGEOFF] Lloh5: ldr w8, [x8] Lloh6: adrp x9, _SETTINGS_LIST_DRIVERS@GOTPAGE Lloh7: ldr x9, [x9, _SETTINGS_LIST_DRIVERS@GOTPAGEOFF] Lloh8: ldr w9, [x9] Lloh9: adrp x10, _SETTINGS_LIST_CORE@GOTPAGE Lloh10: ldr x10, [x10, _SETTINGS_LIST_CORE@GOTPAGEOFF] stp w8, w9, [sp, #12] Lloh11: ldr w8, [x10] Lloh12: adrp x9, _SETTINGS_LIST_CONFIGURATION@GOTPAGE Lloh13: ldr x9, [x9, _SETTINGS_LIST_CONFIGURATION@GOTPAGEOFF] Lloh14: ldr w9, [x9] stp w8, w9, [sp, #20] Lloh15: adrp x8, _SETTINGS_LIST_LOGGING@GOTPAGE Lloh16: ldr x8, [x8, _SETTINGS_LIST_LOGGING@GOTPAGEOFF] Lloh17: ldr w8, [x8] Lloh18: adrp x9, _SETTINGS_LIST_SAVING@GOTPAGE Lloh19: ldr x9, [x9, _SETTINGS_LIST_SAVING@GOTPAGEOFF] Lloh20: ldr w9, [x9] stp w8, w9, [sp, #28] Lloh21: adrp x8, _SETTINGS_LIST_REWIND@GOTPAGE Lloh22: ldr x8, [x8, _SETTINGS_LIST_REWIND@GOTPAGEOFF] Lloh23: ldr w8, [x8] Lloh24: adrp x9, _SETTINGS_LIST_CHEAT_DETAILS@GOTPAGE Lloh25: ldr x9, [x9, _SETTINGS_LIST_CHEAT_DETAILS@GOTPAGEOFF] Lloh26: ldr w9, [x9] Lloh27: adrp x10, _SETTINGS_LIST_CHEAT_SEARCH@GOTPAGE Lloh28: ldr x10, [x10, _SETTINGS_LIST_CHEAT_SEARCH@GOTPAGEOFF] stp w8, w9, [sp, #36] Lloh29: ldr w8, [x10] Lloh30: adrp x9, _SETTINGS_LIST_CHEATS@GOTPAGE Lloh31: ldr x9, [x9, _SETTINGS_LIST_CHEATS@GOTPAGEOFF] Lloh32: ldr w9, [x9] stp w8, w9, [sp, #44] Lloh33: adrp x8, _SETTINGS_LIST_VIDEO@GOTPAGE Lloh34: ldr x8, [x8, _SETTINGS_LIST_VIDEO@GOTPAGEOFF] Lloh35: ldr w8, [x8] Lloh36: adrp x9, _SETTINGS_LIST_CRT_SWITCHRES@GOTPAGE Lloh37: ldr x9, [x9, _SETTINGS_LIST_CRT_SWITCHRES@GOTPAGEOFF] Lloh38: ldr w9, [x9] stp w8, w9, [sp, #52] Lloh39: adrp x8, _SETTINGS_LIST_AUDIO@GOTPAGE Lloh40: ldr x8, [x8, _SETTINGS_LIST_AUDIO@GOTPAGEOFF] Lloh41: ldr w8, [x8] Lloh42: adrp x9, _SETTINGS_LIST_INPUT@GOTPAGE Lloh43: ldr x9, [x9, _SETTINGS_LIST_INPUT@GOTPAGEOFF] Lloh44: ldr w9, [x9] Lloh45: adrp x10, _SETTINGS_LIST_INPUT_HOTKEY@GOTPAGE Lloh46: ldr x10, [x10, _SETTINGS_LIST_INPUT_HOTKEY@GOTPAGEOFF] stp w8, w9, [sp, #60] Lloh47: ldr w8, [x10] Lloh48: adrp x9, _SETTINGS_LIST_RECORDING@GOTPAGE Lloh49: ldr x9, [x9, _SETTINGS_LIST_RECORDING@GOTPAGEOFF] Lloh50: ldr w9, [x9] stp w8, w9, [sp, #68] Lloh51: adrp x8, _SETTINGS_LIST_FRAME_THROTTLING@GOTPAGE Lloh52: ldr x8, [x8, _SETTINGS_LIST_FRAME_THROTTLING@GOTPAGEOFF] Lloh53: ldr w8, [x8] Lloh54: adrp x9, _SETTINGS_LIST_FRAME_TIME_COUNTER@GOTPAGE Lloh55: ldr x9, [x9, _SETTINGS_LIST_FRAME_TIME_COUNTER@GOTPAGEOFF] Lloh56: ldr w9, [x9] stp w8, w9, [sp, #76] Lloh57: adrp x8, _SETTINGS_LIST_FONT@GOTPAGE Lloh58: ldr x8, [x8, _SETTINGS_LIST_FONT@GOTPAGEOFF] Lloh59: ldr w8, [x8] Lloh60: adrp x9, _SETTINGS_LIST_OVERLAY@GOTPAGE Lloh61: ldr x9, [x9, _SETTINGS_LIST_OVERLAY@GOTPAGEOFF] Lloh62: ldr w9, [x9] Lloh63: adrp x10, _SETTINGS_LIST_MENU@GOTPAGE Lloh64: ldr x10, [x10, _SETTINGS_LIST_MENU@GOTPAGEOFF] stp w8, w9, [sp, #84] Lloh65: ldr w8, [x10] Lloh66: adrp x9, _SETTINGS_LIST_MENU_FILE_BROWSER@GOTPAGE Lloh67: ldr x9, [x9, _SETTINGS_LIST_MENU_FILE_BROWSER@GOTPAGEOFF] Lloh68: ldr w9, [x9] stp w8, w9, [sp, #92] Lloh69: adrp x8, _SETTINGS_LIST_MULTIMEDIA@GOTPAGE Lloh70: ldr x8, [x8, _SETTINGS_LIST_MULTIMEDIA@GOTPAGEOFF] Lloh71: ldr w8, [x8] Lloh72: adrp x9, _SETTINGS_LIST_USER_INTERFACE@GOTPAGE Lloh73: ldr x9, [x9, _SETTINGS_LIST_USER_INTERFACE@GOTPAGEOFF] Lloh74: ldr w9, [x9] stp w8, w9, [sp, #100] Lloh75: adrp x8, _SETTINGS_LIST_POWER_MANAGEMENT@GOTPAGE Lloh76: ldr x8, [x8, _SETTINGS_LIST_POWER_MANAGEMENT@GOTPAGEOFF] Lloh77: ldr w8, [x8] Lloh78: adrp x9, _SETTINGS_LIST_MENU_SOUNDS@GOTPAGE Lloh79: ldr x9, [x9, _SETTINGS_LIST_MENU_SOUNDS@GOTPAGEOFF] Lloh80: ldr w9, [x9] Lloh81: adrp x10, _SETTINGS_LIST_PLAYLIST@GOTPAGE Lloh82: ldr x10, [x10, _SETTINGS_LIST_PLAYLIST@GOTPAGEOFF] stp w8, w9, [sp, #108] Lloh83: ldr w8, [x10] Lloh84: adrp x9, _SETTINGS_LIST_CHEEVOS@GOTPAGE Lloh85: ldr x9, [x9, _SETTINGS_LIST_CHEEVOS@GOTPAGEOFF] Lloh86: ldr w9, [x9] stp w8, w9, [sp, #116] Lloh87: adrp x8, _SETTINGS_LIST_CORE_UPDATER@GOTPAGE Lloh88: ldr x8, [x8, _SETTINGS_LIST_CORE_UPDATER@GOTPAGEOFF] Lloh89: ldr w8, [x8] Lloh90: adrp x9, _SETTINGS_LIST_NETPLAY@GOTPAGE Lloh91: ldr x9, [x9, _SETTINGS_LIST_NETPLAY@GOTPAGEOFF] Lloh92: ldr w9, [x9] stp w8, w9, [sp, #124] Lloh93: adrp x8, _SETTINGS_LIST_LAKKA_SERVICES@GOTPAGE Lloh94: ldr x8, [x8, _SETTINGS_LIST_LAKKA_SERVICES@GOTPAGEOFF] Lloh95: ldr w8, [x8] Lloh96: adrp x9, _SETTINGS_LIST_USER@GOTPAGE Lloh97: ldr x9, [x9, _SETTINGS_LIST_USER@GOTPAGEOFF] Lloh98: ldr w9, [x9] Lloh99: adrp x10, _SETTINGS_LIST_USER_ACCOUNTS@GOTPAGE Lloh100: ldr x10, [x10, _SETTINGS_LIST_USER_ACCOUNTS@GOTPAGEOFF] stp w8, w9, [sp, #132] Lloh101: ldr w8, [x10] Lloh102: adrp x9, _SETTINGS_LIST_USER_ACCOUNTS_CHEEVOS@GOTPAGE Lloh103: ldr x9, [x9, _SETTINGS_LIST_USER_ACCOUNTS_CHEEVOS@GOTPAGEOFF] Lloh104: ldr w9, [x9] stp w8, w9, [sp, #140] Lloh105: adrp x8, _SETTINGS_LIST_USER_ACCOUNTS_YOUTUBE@GOTPAGE Lloh106: ldr x8, [x8, _SETTINGS_LIST_USER_ACCOUNTS_YOUTUBE@GOTPAGEOFF] Lloh107: ldr w8, [x8] Lloh108: adrp x9, _SETTINGS_LIST_USER_ACCOUNTS_TWITCH@GOTPAGE Lloh109: ldr x9, [x9, _SETTINGS_LIST_USER_ACCOUNTS_TWITCH@GOTPAGEOFF] Lloh110: ldr w9, [x9] stp w8, w9, [sp, #148] Lloh111: adrp x8, _SETTINGS_LIST_DIRECTORY@GOTPAGE Lloh112: ldr x8, [x8, _SETTINGS_LIST_DIRECTORY@GOTPAGEOFF] Lloh113: ldr w8, [x8] Lloh114: adrp x9, _SETTINGS_LIST_PRIVACY@GOTPAGE Lloh115: ldr x9, [x9, _SETTINGS_LIST_PRIVACY@GOTPAGEOFF] Lloh116: ldr w9, [x9] Lloh117: adrp x10, _SETTINGS_LIST_MIDI@GOTPAGE Lloh118: ldr x10, [x10, _SETTINGS_LIST_MIDI@GOTPAGEOFF] stp w8, w9, [sp, #156] Lloh119: ldr w8, [x10] str w8, [sp, #164] Lloh120: adrp x8, _MENU_ENUM_LABEL_MAIN_MENU@GOTPAGE Lloh121: ldr x8, [x8, _MENU_ENUM_LABEL_MAIN_MENU@GOTPAGEOFF] Lloh122: ldr w0, [x8] bl _msg_hash_to_str mov x20, x0 ldr w0, [x19, #4] mov w1, #4 ; =0x4 bl _calloc str x0, [sp] cbz x0, LBB0_9 ; %bb.1: add x21, sp, #12 add x0, sp, #12 bl _ARRAY_SIZE cbz w0, LBB0_5 ; %bb.2: mov x22, #0 ; =0x0 LBB0_3: ; =>This Inner Loop Header: Depth=1 ldr w0, [x21, x22, lsl #2] mov x1, sp mov x2, x19 mov x3, x20 bl _setting_append_list cbz w0, LBB0_7 ; %bb.4: ; in Loop: Header=BB0_3 Depth=1 add x22, x22, #1 add x0, sp, #12 bl _ARRAY_SIZE cmp x22, w0, uxtw b.lo LBB0_3 LBB0_5: mov x0, sp mov x1, x19 bl _settings_list_append mov x8, x0 ldr x0, [sp] cbz w8, LBB0_8 ; %bb.6: ldr w1, [x19] bl _menu_setting_terminate_last ldr w8, [x19] add w8, w8, #1 str w8, [x19] ldr x0, [sp] lsl w1, w8, #2 bl _realloc cbnz x0, LBB0_9 LBB0_7: ldr x0, [sp] LBB0_8: bl _free mov x0, #0 ; =0x0 LBB0_9: ldur x8, [x29, #-40] Lloh123: adrp x9, ___stack_chk_guard@GOTPAGE Lloh124: ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF] Lloh125: ldr x9, [x9] cmp x9, x8 b.ne LBB0_11 ; %bb.10: ldp x29, x30, [sp, #208] ; 16-byte Folded Reload ldp x20, x19, [sp, #192] ; 16-byte Folded Reload ldp x22, x21, [sp, #176] ; 16-byte Folded Reload add sp, sp, #224 ret LBB0_11: bl ___stack_chk_fail .loh AdrpLdrGotLdr Lloh120, Lloh121, Lloh122 .loh AdrpLdrGotLdr Lloh117, Lloh118, Lloh119 .loh AdrpLdrGotLdr Lloh114, Lloh115, Lloh116 .loh AdrpLdrGotLdr Lloh111, Lloh112, Lloh113 .loh AdrpLdrGotLdr Lloh108, Lloh109, Lloh110 .loh AdrpLdrGotLdr Lloh105, Lloh106, Lloh107 .loh AdrpLdrGotLdr Lloh102, Lloh103, Lloh104 .loh AdrpLdrGotLdr Lloh99, Lloh100, Lloh101 .loh AdrpLdrGotLdr Lloh96, Lloh97, Lloh98 .loh AdrpLdrGotLdr Lloh93, Lloh94, Lloh95 .loh AdrpLdrGotLdr Lloh90, Lloh91, Lloh92 .loh AdrpLdrGotLdr Lloh87, Lloh88, Lloh89 .loh AdrpLdrGotLdr Lloh84, Lloh85, Lloh86 .loh AdrpLdrGotLdr Lloh81, Lloh82, Lloh83 .loh AdrpLdrGotLdr Lloh78, Lloh79, Lloh80 .loh AdrpLdrGotLdr Lloh75, Lloh76, Lloh77 .loh AdrpLdrGotLdr Lloh72, Lloh73, Lloh74 .loh AdrpLdrGotLdr Lloh69, Lloh70, Lloh71 .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 AdrpLdrGotLdr Lloh45, Lloh46, Lloh47 .loh AdrpLdrGotLdr Lloh42, Lloh43, Lloh44 .loh AdrpLdrGotLdr Lloh39, Lloh40, Lloh41 .loh AdrpLdrGotLdr Lloh36, Lloh37, Lloh38 .loh AdrpLdrGotLdr Lloh33, Lloh34, Lloh35 .loh AdrpLdrGotLdr Lloh30, Lloh31, Lloh32 .loh AdrpLdrGotLdr Lloh27, Lloh28, Lloh29 .loh AdrpLdrGotLdr Lloh24, Lloh25, Lloh26 .loh AdrpLdrGotLdr Lloh21, Lloh22, Lloh23 .loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh20 .loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17 .loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14 .loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh123, Lloh124, Lloh125 .cfi_endproc ; -- End function .comm _SETTINGS_LIST_MAIN_MENU,4,2 ; @SETTINGS_LIST_MAIN_MENU .comm _SETTINGS_LIST_DRIVERS,4,2 ; @SETTINGS_LIST_DRIVERS .comm _SETTINGS_LIST_CORE,4,2 ; @SETTINGS_LIST_CORE .comm _SETTINGS_LIST_CONFIGURATION,4,2 ; @SETTINGS_LIST_CONFIGURATION .comm _SETTINGS_LIST_LOGGING,4,2 ; @SETTINGS_LIST_LOGGING .comm _SETTINGS_LIST_SAVING,4,2 ; @SETTINGS_LIST_SAVING .comm _SETTINGS_LIST_REWIND,4,2 ; @SETTINGS_LIST_REWIND .comm _SETTINGS_LIST_CHEAT_DETAILS,4,2 ; @SETTINGS_LIST_CHEAT_DETAILS .comm _SETTINGS_LIST_CHEAT_SEARCH,4,2 ; @SETTINGS_LIST_CHEAT_SEARCH .comm _SETTINGS_LIST_CHEATS,4,2 ; @SETTINGS_LIST_CHEATS .comm _SETTINGS_LIST_VIDEO,4,2 ; @SETTINGS_LIST_VIDEO .comm _SETTINGS_LIST_CRT_SWITCHRES,4,2 ; @SETTINGS_LIST_CRT_SWITCHRES .comm _SETTINGS_LIST_AUDIO,4,2 ; @SETTINGS_LIST_AUDIO .comm _SETTINGS_LIST_INPUT,4,2 ; @SETTINGS_LIST_INPUT .comm _SETTINGS_LIST_INPUT_HOTKEY,4,2 ; @SETTINGS_LIST_INPUT_HOTKEY .comm _SETTINGS_LIST_RECORDING,4,2 ; @SETTINGS_LIST_RECORDING .comm _SETTINGS_LIST_FRAME_THROTTLING,4,2 ; @SETTINGS_LIST_FRAME_THROTTLING .comm _SETTINGS_LIST_FRAME_TIME_COUNTER,4,2 ; @SETTINGS_LIST_FRAME_TIME_COUNTER .comm _SETTINGS_LIST_FONT,4,2 ; @SETTINGS_LIST_FONT .comm _SETTINGS_LIST_OVERLAY,4,2 ; @SETTINGS_LIST_OVERLAY .comm _SETTINGS_LIST_MENU,4,2 ; @SETTINGS_LIST_MENU .comm _SETTINGS_LIST_MENU_FILE_BROWSER,4,2 ; @SETTINGS_LIST_MENU_FILE_BROWSER .comm _SETTINGS_LIST_MULTIMEDIA,4,2 ; @SETTINGS_LIST_MULTIMEDIA .comm _SETTINGS_LIST_USER_INTERFACE,4,2 ; @SETTINGS_LIST_USER_INTERFACE .comm _SETTINGS_LIST_POWER_MANAGEMENT,4,2 ; @SETTINGS_LIST_POWER_MANAGEMENT .comm _SETTINGS_LIST_MENU_SOUNDS,4,2 ; @SETTINGS_LIST_MENU_SOUNDS .comm _SETTINGS_LIST_PLAYLIST,4,2 ; @SETTINGS_LIST_PLAYLIST .comm _SETTINGS_LIST_CHEEVOS,4,2 ; @SETTINGS_LIST_CHEEVOS .comm _SETTINGS_LIST_CORE_UPDATER,4,2 ; @SETTINGS_LIST_CORE_UPDATER .comm _SETTINGS_LIST_NETPLAY,4,2 ; @SETTINGS_LIST_NETPLAY .comm _SETTINGS_LIST_LAKKA_SERVICES,4,2 ; @SETTINGS_LIST_LAKKA_SERVICES .comm _SETTINGS_LIST_USER,4,2 ; @SETTINGS_LIST_USER .comm _SETTINGS_LIST_USER_ACCOUNTS,4,2 ; @SETTINGS_LIST_USER_ACCOUNTS .comm _SETTINGS_LIST_USER_ACCOUNTS_CHEEVOS,4,2 ; @SETTINGS_LIST_USER_ACCOUNTS_CHEEVOS .comm _SETTINGS_LIST_USER_ACCOUNTS_YOUTUBE,4,2 ; @SETTINGS_LIST_USER_ACCOUNTS_YOUTUBE .comm _SETTINGS_LIST_USER_ACCOUNTS_TWITCH,4,2 ; @SETTINGS_LIST_USER_ACCOUNTS_TWITCH .comm _SETTINGS_LIST_DIRECTORY,4,2 ; @SETTINGS_LIST_DIRECTORY .comm _SETTINGS_LIST_PRIVACY,4,2 ; @SETTINGS_LIST_PRIVACY .comm _SETTINGS_LIST_MIDI,4,2 ; @SETTINGS_LIST_MIDI .comm _MENU_ENUM_LABEL_MAIN_MENU,4,2 ; @MENU_ENUM_LABEL_MAIN_MENU .comm _SETTINGS_LIST_AI_SERVICE,4,2 ; @SETTINGS_LIST_AI_SERVICE .comm _SETTINGS_LIST_VIDEO_LAYOUT,4,2 ; @SETTINGS_LIST_VIDEO_LAYOUT .no_dead_strip _menu_setting_new_internal .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _SurfaceForShader ## -- Begin function SurfaceForShader .p2align 4, 0x90 _SurfaceForShader: ## @SurfaceForShader .cfi_startproc ## %bb.0: 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 movl %esi, %r14d movq %rdi, %r15 movq _lastSurface@GOTPCREL(%rip), %r10 movq (%r10), %rax testq %rax, %rax je LBB0_4 ## %bb.1: cmpq %r15, 8(%rax) jne LBB0_4 ## %bb.2: cmpl %r14d, (%rax) jne LBB0_4 ## %bb.3: cmpl %ebx, 4(%rax) je LBB0_14 LBB0_4: movq _surfaces@GOTPCREL(%rip), %r12 movq (%r12), %rdi movq _numsurfaces@GOTPCREL(%rip), %r8 movl (%r8), %ecx movq %rdi, %rax testl %ecx, %ecx js LBB0_10 ## %bb.5: xorl %edx, %edx movq %rdi, %rax jmp LBB0_6 .p2align 4, 0x90 LBB0_9: ## in Loop: Header=BB0_6 Depth=1 decl %edx addq $16, %rax cmpl %ecx, %edx jg LBB0_10 LBB0_6: ## =>This Inner Loop Header: Depth=1 cmpq %r15, 8(%rax) jne LBB0_9 ## %bb.7: ## in Loop: Header=BB0_6 Depth=1 cmpl %r14d, (%rax) jne LBB0_9 ## %bb.8: ## in Loop: Header=BB0_6 Depth=1 cmpl %ebx, 4(%rax) jne LBB0_9 ## %bb.13: movq %rax, (%r10) jmp LBB0_14 LBB0_10: movq %rax, (%r10) movq _maxsurfaces@GOTPCREL(%rip), %r13 movl (%r13), %esi cmpl %esi, %ecx jl LBB0_12 ## %bb.11: movq _GROW_SURFACES@GOTPCREL(%rip), %rax addl (%rax), %esi movl %esi, (%r13) shll $4, %esi callq _realloc movq %rax, (%r12) movq _numsurfaces@GOTPCREL(%rip), %rcx movslq (%rcx), %rdx movq %rdx, %rcx shlq $4, %rcx leaq (%rax,%rcx), %rdi addq $16, %rdi notl %edx addl (%r13), %edx shll $4, %edx xorl %esi, %esi ## kill: def $edx killed $edx killed $rdx callq _memset movq _lastSurface@GOTPCREL(%rip), %r10 movq _numsurfaces@GOTPCREL(%rip), %r8 movq (%r12), %rdi movl (%r8), %ecx LBB0_12: leal 1(%rcx), %eax movl %eax, (%r8) movslq %ecx, %rax shlq $4, %rax leaq (%rdi,%rax), %rcx movq %rcx, (%r10) movq %r15, 8(%rdi,%rax) movq (%r10), %rax movl %r14d, (%rax) movl %ebx, 4(%rax) LBB0_14: addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _lastSurface,8,3 ## @lastSurface .comm _surfaces,8,3 ## @surfaces .comm _numsurfaces,4,2 ## @numsurfaces .comm _maxsurfaces,4,2 ## @maxsurfaces .comm _GROW_SURFACES,8,3 ## @GROW_SURFACES .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _SurfaceForShader ; -- Begin function SurfaceForShader .p2align 2 _SurfaceForShader: ; @SurfaceForShader .cfi_startproc ; %bb.0: stp x26, x25, [sp, #-80]! ; 16-byte Folded Spill stp x24, x23, [sp, #16] ; 16-byte Folded Spill stp x22, x21, [sp, #32] ; 16-byte Folded Spill stp x20, x19, [sp, #48] ; 16-byte Folded Spill stp x29, x30, [sp, #64] ; 16-byte Folded Spill add x29, sp, #64 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 mov x19, x2 mov x20, x1 mov x21, x0 Lloh0: adrp x22, _lastSurface@GOTPAGE Lloh1: ldr x22, [x22, _lastSurface@GOTPAGEOFF] ldr x8, [x22] cbz x8, LBB0_4 ; %bb.1: ldr x9, [x8, #8] cmp x9, x21 b.ne LBB0_4 ; %bb.2: ldr w9, [x8] cmp w9, w20 b.ne LBB0_4 ; %bb.3: ldr w9, [x8, #4] cmp w9, w19 b.eq LBB0_14 LBB0_4: Lloh2: adrp x24, _surfaces@GOTPAGE Lloh3: ldr x24, [x24, _surfaces@GOTPAGEOFF] ldr x0, [x24] Lloh4: adrp x23, _numsurfaces@GOTPAGE Lloh5: ldr x23, [x23, _numsurfaces@GOTPAGEOFF] ldr w9, [x23] mov x8, x0 tbnz w9, #31, LBB0_11 ; %bb.5: mov w10, #0 ; =0x0 mov x8, x0 b LBB0_7 LBB0_6: ; in Loop: Header=BB0_7 Depth=1 sub w10, w10, #1 add x8, x8, #16 cmp w10, w9 b.gt LBB0_11 LBB0_7: ; =>This Inner Loop Header: Depth=1 ldr x11, [x8, #8] cmp x11, x21 b.ne LBB0_6 ; %bb.8: ; in Loop: Header=BB0_7 Depth=1 ldr w11, [x8] cmp w11, w20 b.ne LBB0_6 ; %bb.9: ; in Loop: Header=BB0_7 Depth=1 ldr w11, [x8, #4] cmp w11, w19 b.ne LBB0_6 ; %bb.10: str x8, [x22] b LBB0_14 LBB0_11: str x8, [x22] Lloh6: adrp x25, _maxsurfaces@GOTPAGE Lloh7: ldr x25, [x25, _maxsurfaces@GOTPAGEOFF] ldr w8, [x25] cmp w9, w8 b.lt LBB0_13 ; %bb.12: Lloh8: adrp x9, _GROW_SURFACES@GOTPAGE Lloh9: ldr x9, [x9, _GROW_SURFACES@GOTPAGEOFF] Lloh10: ldr w9, [x9] add w8, w8, w9 str w8, [x25] lsl w1, w8, #4 bl _realloc str x0, [x24] ldrsw x8, [x23] add x9, x0, x8, lsl #4 ldr w10, [x25] mvn w8, w8 add w8, w10, w8 lsl w2, w8, #4 add x0, x9, #16 mov w1, #0 ; =0x0 bl _memset ldr x0, [x24] ldr w9, [x23] LBB0_13: add w8, w9, #1 str w8, [x23] add x8, x0, w9, sxtw #4 str x8, [x22] str x21, [x8, #8] ldr x8, [x22] stp w20, w19, [x8] LBB0_14: mov x0, x8 ldp x29, x30, [sp, #64] ; 16-byte Folded Reload ldp x20, x19, [sp, #48] ; 16-byte Folded Reload ldp x22, x21, [sp, #32] ; 16-byte Folded Reload ldp x24, x23, [sp, #16] ; 16-byte Folded Reload ldp x26, x25, [sp], #80 ; 16-byte Folded Reload ret .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGot Lloh4, Lloh5 .loh AdrpLdrGot Lloh2, Lloh3 .loh AdrpLdrGot Lloh6, Lloh7 .loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10 .cfi_endproc ; -- End function .comm _lastSurface,8,3 ; @lastSurface .comm _surfaces,8,3 ; @surfaces .comm _numsurfaces,4,2 ; @numsurfaces .comm _maxsurfaces,4,2 ; @maxsurfaces .comm _GROW_SURFACES,8,3 ; @GROW_SURFACES .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function ws_realloc_frm_payload _ws_realloc_frm_payload: ## @ws_realloc_frm_payload .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movq %rsi, %rbx movq (%rsi), %rsi movq 8(%rbx), %rax subq (%rdi), %rsi setle %r14b movq %rax, %rdi callq _realloc testq %rax, %rax sete %cl orb %r14b, %cl jne LBB0_1 ## %bb.2: movq 8(%rbx), %rdi callq _free movl $1, %ecx xorl %eax, %eax jmp LBB0_3 LBB0_1: xorl %ecx, %ecx LBB0_3: movq %rax, 8(%rbx) movl %ecx, %eax popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _ws_realloc_frm_payload .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function ws_realloc_frm_payload _ws_realloc_frm_payload: ; @ws_realloc_frm_payload .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x1 ldr x8, [x0] ldp x9, x0, [x1] sub x20, x9, x8 mov x1, x20 bl _realloc cmp x20, #1 ccmp x0, #0, #4, ge b.ne LBB0_2 ; %bb.1: mov w8, #0 ; =0x0 b LBB0_3 LBB0_2: ldr x0, [x19, #8] bl _free mov x0, #0 ; =0x0 mov w8, #1 ; =0x1 LBB0_3: str x0, [x19, #8] mov x0, x8 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .no_dead_strip _ws_realloc_frm_payload .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _StrArrayAdd ## -- Begin function StrArrayAdd .p2align 4, 0x90 _StrArrayAdd: ## @StrArrayAdd .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 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 _StrArrayAdd ; -- Begin function StrArrayAdd .p2align 2 _StrArrayAdd: ; @StrArrayAdd .cfi_startproc ; %bb.0: mov w0, #-1 ; =0xffffffff ret .cfi_endproc ; -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _xrealloc ## -- Begin function xrealloc .p2align 4, 0x90 _xrealloc: ## @xrealloc .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 callq _realloc testq %rax, %rax je LBB0_2 ## %bb.1: leaq L_.str(%rip), %rsi movl $1, %edi movq %rax, %rbx callq _errx movq %rbx, %rax LBB0_2: addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "Could not allocate memory" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _xrealloc ; -- Begin function xrealloc .p2align 2 _xrealloc: ; @xrealloc .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 bl _realloc cbz x0, LBB0_2 ; %bb.1: Lloh0: adrp x1, l_.str@PAGE Lloh1: add x1, x1, l_.str@PAGEOFF mov x19, x0 mov w0, #1 ; =0x1 bl _errx mov x0, x19 LBB0_2: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .loh AdrpAdd Lloh0, Lloh1 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "Could not allocate memory" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _auxtrace_heap__add ## -- Begin function auxtrace_heap__add .p2align 4, 0x90 _auxtrace_heap__add: ## @auxtrace_heap__add .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx .cfi_offset %rbx, -48 .cfi_offset %r12, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %edx, %ebx movl %esi, %r14d movq %rdi, %r15 cmpl %esi, (%rdi) jbe LBB0_2 ## %bb.1: movq 8(%r15), %rdi jmp LBB0_7 LBB0_2: movq _AUXTRACE_INIT_NR_QUEUES@GOTPCREL(%rip), %rax movl (%rax), %eax .p2align 4, 0x90 LBB0_3: ## =>This Inner Loop Header: Depth=1 movl %eax, %r12d leal (%r12,%r12), %eax cmpl %r14d, %r12d jbe LBB0_3 ## %bb.4: movq 8(%r15), %rdi leal (,%r12,4), %esi callq _realloc testq %rax, %rax je LBB0_5 ## %bb.6: movq %rax, %rdi movq %rax, 8(%r15) movl %r12d, (%r15) LBB0_7: movl 4(%r15), %esi leal -1(%rsi), %eax movl %eax, 4(%r15) ## kill: def $esi killed $esi killed $rsi movl %r14d, %edx movl %ebx, %ecx callq _auxtrace_heapify xorl %eax, %eax LBB0_8: popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq LBB0_5: movq _ENOMEM@GOTPCREL(%rip), %rcx xorl %eax, %eax subl (%rcx), %eax jmp LBB0_8 .cfi_endproc ## -- End function .comm _AUXTRACE_INIT_NR_QUEUES,4,2 ## @AUXTRACE_INIT_NR_QUEUES .comm _ENOMEM,4,2 ## @ENOMEM .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _auxtrace_heap__add ; -- Begin function auxtrace_heap__add .p2align 2 _auxtrace_heap__add: ; @auxtrace_heap__add .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 ldr w8, [x0] cmp w8, w1 b.ls LBB0_2 ; %bb.1: ldr x0, [x21, #8] b LBB0_6 LBB0_2: Lloh0: adrp x8, _AUXTRACE_INIT_NR_QUEUES@GOTPAGE Lloh1: ldr x8, [x8, _AUXTRACE_INIT_NR_QUEUES@GOTPAGEOFF] Lloh2: ldr w8, [x8] LBB0_3: ; =>This Inner Loop Header: Depth=1 mov x22, x8 lsl w8, w8, #1 cmp w22, w20 b.ls LBB0_3 ; %bb.4: ldr x0, [x21, #8] lsl w1, w22, #2 bl _realloc cbz x0, LBB0_8 ; %bb.5: str x0, [x21, #8] str w22, [x21] LBB0_6: ldr w1, [x21, #4] sub w8, w1, #1 str w8, [x21, #4] mov x2, x20 mov x3, x19 bl _auxtrace_heapify mov w0, #0 ; =0x0 LBB0_7: ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret LBB0_8: Lloh3: adrp x8, _ENOMEM@GOTPAGE Lloh4: ldr x8, [x8, _ENOMEM@GOTPAGEOFF] Lloh5: ldr w8, [x8] neg w0, w8 b LBB0_7 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .cfi_endproc ; -- End function .comm _AUXTRACE_INIT_NR_QUEUES,4,2 ; @AUXTRACE_INIT_NR_QUEUES .comm _ENOMEM,4,2 ; @ENOMEM .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _strcat_alloc ## -- Begin function strcat_alloc .p2align 4, 0x90 _strcat_alloc: ## @strcat_alloc .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx .cfi_offset %rbx, -48 .cfi_offset %r12, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rsi, %rbx movq %rdi, %r14 movq (%rdi), %r15 testq %r15, %r15 je LBB0_1 ## %bb.2: testq %rbx, %rbx je LBB0_4 ## %bb.3: movq %r15, %rdi callq _strlen movq %rax, %r12 movq %rbx, %rdi callq _strlen leaq (%r12,%rax), %rsi incq %rsi movq %r15, %rdi callq _realloc testq %rax, %rax je LBB0_4 ## %bb.5: movq %rax, (%r14) addq %rax, %r12 movq %r12, %rdi movq %rbx, %rsi popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp jmp _strcpy ## TAILCALL LBB0_1: movq %rbx, %rdi callq _strcpy_alloc_force movq %rax, (%r14) LBB0_4: popq %rbx popq %r12 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 _strcat_alloc ; -- Begin function strcat_alloc .p2align 2 _strcat_alloc: ; @strcat_alloc .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x20, x1 mov x19, x0 ldr x21, [x0] cbz x21, LBB0_4 ; %bb.1: cbz x20, LBB0_5 ; %bb.2: mov x0, x21 bl _strlen mov x22, x0 mov x0, x20 bl _strlen add x8, x22, x0 add x1, x8, #1 mov x0, x21 bl _realloc cbz x0, LBB0_5 ; %bb.3: str x0, [x19] add x0, x0, x22 mov x1, x20 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload b _strcpy LBB0_4: mov x0, x20 bl _strcpy_alloc_force str x0, [x19] LBB0_5: ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _growfldtab ## -- Begin function growfldtab .p2align 4, 0x90 _growfldtab: ## @growfldtab .cfi_startproc ## %bb.0: 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 _nfields@GOTPCREL(%rip), %r14 movl (%r14), %ebx addl %ebx, %ebx cmpl %edi, %ebx cmovlel %edi, %ebx leal 1(%rbx), %eax movslq %eax, %rsi movabsq $2305843009213693951, %rax ## imm = 0x1FFFFFFFFFFFFFFF andq %rsi, %rax incq %rax movslq %ebx, %rcx cmpq %rcx, %rax jne LBB0_2 ## %bb.1: shlq $3, %rsi movq _fldtab@GOTPCREL(%rip), %r15 movq (%r15), %rdi callq _realloc movq %rax, (%r15) testq %rax, %rax jne LBB0_5 jmp LBB0_4 LBB0_2: movq _fldtab@GOTPCREL(%rip), %r15 movq (%r15), %rdi callq _xfree movq (%r15), %rax testq %rax, %rax jne LBB0_5 LBB0_4: leaq L_.str(%rip), %rdi movl %ebx, %esi callq _FATAL LBB0_5: movl (%r14), %edi incl %edi movl %ebx, %esi callq _makefields movl %ebx, (%r14) addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _nfields,4,2 ## @nfields .comm _fldtab,8,3 ## @fldtab .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "out of space creating %d fields" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _growfldtab ; -- Begin function growfldtab .p2align 2 _growfldtab: ; @growfldtab .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, _nfields@GOTPAGE Lloh1: ldr x20, [x20, _nfields@GOTPAGEOFF] ldr w8, [x20] lsl w8, w8, #1 cmp w8, w0 csel w19, w8, w0, gt add w8, w19, #1 sxtw x8, w8 and x9, x8, #0x1fffffffffffffff add x9, x9, #1 cmp x9, w19, sxtw b.ne LBB0_2 ; %bb.1: lsl x1, x8, #3 Lloh2: adrp x21, _fldtab@GOTPAGE Lloh3: ldr x21, [x21, _fldtab@GOTPAGEOFF] ldr x0, [x21] bl _realloc str x0, [x21] cbnz x0, LBB0_4 b LBB0_3 LBB0_2: Lloh4: adrp x21, _fldtab@GOTPAGE Lloh5: ldr x21, [x21, _fldtab@GOTPAGEOFF] ldr x0, [x21] bl _xfree ldr x0, [x21] cbnz x0, LBB0_4 LBB0_3: Lloh6: adrp x0, l_.str@PAGE Lloh7: add x0, x0, l_.str@PAGEOFF mov x1, x19 bl _FATAL LBB0_4: ldr w8, [x20] add w0, w8, #1 mov x1, x19 bl _makefields str w19, [x20] ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGot Lloh2, Lloh3 .loh AdrpLdrGot Lloh4, Lloh5 .loh AdrpAdd Lloh6, Lloh7 .cfi_endproc ; -- End function .comm _nfields,4,2 ; @nfields .comm _fldtab,8,3 ; @fldtab .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "out of space creating %d fields" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function add_to_ar_str_table _add_to_ar_str_table: ## @add_to_ar_str_table .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rsi, %r14 movq %rdi, %rbx cmpq $0, (%rdi) je LBB0_3 ## %bb.1: movq __INIT_AS_CAP@GOTPCREL(%rip), %rax movl (%rax), %edi movl %edi, 8(%rbx) movq $0, 16(%rbx) callq _malloc movq %rax, (%rbx) testq %rax, %rax jne LBB0_3 ## %bb.2: movq _EXIT_FAILURE@GOTPCREL(%rip), %rax movl (%rax), %edi leaq L_.str(%rip), %rsi callq _err LBB0_3: movq 16(%rbx), %r15 movq %r14, %rdi callq _strlen cltq addq %r15, %rax addq $3, %rax movslq 8(%rbx), %rsi cmpq %rsi, %rax jbe LBB0_8 ## %bb.4: movq _EXIT_FAILURE@GOTPCREL(%rip), %r12 leaq L_.str.1(%rip), %r15 jmp LBB0_5 .p2align 4, 0x90 LBB0_7: ## in Loop: Header=BB0_5 Depth=1 movq 16(%rbx), %r13 movq %r14, %rdi callq _strlen cltq addq %r13, %rax addq $3, %rax movslq 8(%rbx), %rsi cmpq %rsi, %rax jbe LBB0_8 LBB0_5: ## =>This Inner Loop Header: Depth=1 addl %esi, %esi movl %esi, 8(%rbx) movq (%rbx), %rdi ## kill: def $esi killed $esi killed $rsi callq _realloc movq %rax, (%rbx) testq %rax, %rax jne LBB0_7 ## %bb.6: ## in Loop: Header=BB0_5 Depth=1 movl (%r12), %edi movq %r15, %rsi callq _err jmp LBB0_7 LBB0_8: movq (%rbx), %r15 addq 16(%rbx), %r15 movq %r14, %rdi callq _strlen movq %r15, %rdi movq %r14, %rsi movl %eax, %edx callq _strncpy movq %r14, %rdi callq _strlen cltq movq (%rbx), %rcx movq 16(%rbx), %rdx leaq (%rdx,%rax), %rsi leaq -1(%rdx,%rax), %rax movq %rax, 16(%rbx) movb $47, (%rcx,%rsi) movq (%rbx), %rax movq 16(%rbx), %rcx leaq 1(%rcx), %rdx movq %rdx, 16(%rbx) movb $10, (%rax,%rcx) addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm __INIT_AS_CAP,4,2 ## @_INIT_AS_CAP .comm _EXIT_FAILURE,4,2 ## @EXIT_FAILURE .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "malloc failed" L_.str.1: ## @.str.1 .asciz "realloc failed" .no_dead_strip _add_to_ar_str_table .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function add_to_ar_str_table _add_to_ar_str_table: ; @add_to_ar_str_table .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 ldr x8, [x0] cbz x8, LBB0_3 ; %bb.1: Lloh0: adrp x8, __INIT_AS_CAP@GOTPAGE Lloh1: ldr x8, [x8, __INIT_AS_CAP@GOTPAGEOFF] Lloh2: ldr w0, [x8] str w0, [x19, #8] str xzr, [x19, #16] bl _malloc str x0, [x19] cbnz x0, LBB0_3 ; %bb.2: Lloh3: adrp x8, _EXIT_FAILURE@GOTPAGE Lloh4: ldr x8, [x8, _EXIT_FAILURE@GOTPAGEOFF] Lloh5: ldr w0, [x8] Lloh6: adrp x1, l_.str@PAGE Lloh7: add x1, x1, l_.str@PAGEOFF bl _err LBB0_3: ldr x21, [x19, #16] mov x0, x20 bl _strlen add x8, x21, w0, sxtw add x9, x8, #3 ldrsw x8, [x19, #8] cmp x9, x8 b.ls LBB0_8 ; %bb.4: Lloh8: adrp x22, _EXIT_FAILURE@GOTPAGE Lloh9: ldr x22, [x22, _EXIT_FAILURE@GOTPAGEOFF] Lloh10: adrp x21, l_.str.1@PAGE Lloh11: add x21, x21, l_.str.1@PAGEOFF ; kill: def $w8 killed $w8 killed $x8 def $x8 b LBB0_6 LBB0_5: ; in Loop: Header=BB0_6 Depth=1 ldr x23, [x19, #16] mov x0, x20 bl _strlen add x8, x23, w0, sxtw add x9, x8, #3 ldrsw x8, [x19, #8] cmp x9, x8 b.ls LBB0_8 LBB0_6: ; =>This Inner Loop Header: Depth=1 lsl w1, w8, #1 str w1, [x19, #8] ldr x0, [x19] bl _realloc str x0, [x19] cbnz x0, LBB0_5 ; %bb.7: ; in Loop: Header=BB0_6 Depth=1 ldr w0, [x22] mov x1, x21 bl _err b LBB0_5 LBB0_8: ldr x21, [x19] ldr x22, [x19, #16] mov x0, x20 bl _strlen mov x2, x0 add x0, x21, x22 mov x1, x20 bl _strncpy mov x0, x20 bl _strlen ldr x8, [x19, #16] add x8, x8, w0, sxtw ldr x9, [x19] sub x10, x8, #1 str x10, [x19, #16] mov w10, #47 ; =0x2f strb w10, [x9, x8] ldr x8, [x19] ldr x9, [x19, #16] add x10, x9, #1 str x10, [x19, #16] mov w10, #10 ; =0xa strb w10, [x8, x9] ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload ldp x24, x23, [sp], #64 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpAdd Lloh6, Lloh7 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpAdd Lloh10, Lloh11 .loh AdrpLdrGot Lloh8, Lloh9 .cfi_endproc ; -- End function .comm __INIT_AS_CAP,4,2 ; @_INIT_AS_CAP .comm _EXIT_FAILURE,4,2 ; @EXIT_FAILURE .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "malloc failed" l_.str.1: ; @.str.1 .asciz "realloc failed" .no_dead_strip _add_to_ar_str_table .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function get_buffer _get_buffer: ## @get_buffer .cfi_startproc ## %bb.0: movq (%rdi), %rax testq %rsi, %rsi jle LBB0_13 ## %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 .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movq %rsi, %r14 movq %rdi, %rbx testq %rax, %rax je LBB0_6 ## %bb.2: movq 8(%rbx), %rcx subq %r14, %rcx jb LBB0_4 ## %bb.3: movq _MIN_BYTE_GAIN@GOTPCREL(%rip), %rdx cmpq (%rdx), %rcx jl LBB0_12 LBB0_4: movq %rax, %rdi movq %r14, %rsi callq _realloc testq %rax, %rax je LBB0_8 ## %bb.5: movq %rax, (%rbx) jmp LBB0_7 LBB0_6: movq %r14, %rdi callq _malloc movq %rax, (%rbx) testq %rax, %rax je LBB0_10 LBB0_7: movq %r14, 8(%rbx) jmp LBB0_12 LBB0_8: cmpq %r14, 8(%rbx) jge LBB0_11 LBB0_10: xorl %eax, %eax jmp LBB0_12 LBB0_11: movq (%rbx), %rax LBB0_12: popq %rbx popq %r14 popq %rbp LBB0_13: retq .cfi_endproc ## -- End function .comm _MIN_BYTE_GAIN,8,3 ## @MIN_BYTE_GAIN .no_dead_strip _get_buffer .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function get_buffer _get_buffer: ; @get_buffer .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x0 ldr x0, [x0] cmp x1, #1 b.lt LBB0_11 ; %bb.1: mov x20, x1 cbz x0, LBB0_6 ; %bb.2: ldr x8, [x19, #8] subs x8, x8, x20 b.lo LBB0_4 ; %bb.3: Lloh0: adrp x9, _MIN_BYTE_GAIN@GOTPAGE Lloh1: ldr x9, [x9, _MIN_BYTE_GAIN@GOTPAGEOFF] Lloh2: ldr x9, [x9] cmp x8, x9 b.lt LBB0_11 LBB0_4: mov x1, x20 bl _realloc cbz x0, LBB0_8 ; %bb.5: stp x0, x20, [x19] b LBB0_11 LBB0_6: mov x0, x20 bl _malloc str x0, [x19] cbz x0, LBB0_11 ; %bb.7: str x20, [x19, #8] b LBB0_11 LBB0_8: ldr x8, [x19, #8] cmp x8, x20 b.ge LBB0_10 ; %bb.9: mov x0, #0 ; =0x0 b LBB0_11 LBB0_10: ldr x0, [x19] LBB0_11: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _MIN_BYTE_GAIN,8,3 ; @MIN_BYTE_GAIN .no_dead_strip _get_buffer .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl __dwarf_write_string_alloc ## -- Begin function _dwarf_write_string_alloc .p2align 4, 0x90 __dwarf_write_string_alloc: ## @_dwarf_write_string_alloc .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %r8, -48(%rbp) ## 8-byte Spill movq %rcx, %r14 movq %rdx, %r15 movq %rsi, %r13 movq %rdi, %r12 xorl %edi, %edi cmpl $0, (%rsi) setg %dil callq _assert movq %r14, %rdi callq _strlen incl %eax movslq %eax, %rbx .p2align 4, 0x90 LBB0_1: ## =>This Inner Loop Header: Depth=1 movslq (%r15), %rax addq %rbx, %rax movslq (%r13), %rsi cmpq %rsi, %rax jbe LBB0_4 ## %bb.2: ## in Loop: Header=BB0_1 Depth=1 addq %rsi, %rsi movl %esi, (%r13) movq (%r12), %rdi callq _realloc movq %rax, (%r12) testq %rax, %rax jne LBB0_1 ## %bb.3: movq _DW_DLE_MEMORY@GOTPCREL(%rip), %rbx movl (%rbx), %edx xorl %edi, %edi movq -48(%rbp), %rsi ## 8-byte Reload callq _DWARF_SET_ERROR jmp LBB0_5 LBB0_4: movq (%r12), %rdi movq %r15, %rsi movq %r14, %rdx callq __dwarf_write_string movq _DW_DLE_NONE@GOTPCREL(%rip), %rbx LBB0_5: movl (%rbx), %eax addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _DW_DLE_MEMORY,4,2 ## @DW_DLE_MEMORY .comm _DW_DLE_NONE,4,2 ## @DW_DLE_NONE .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl __dwarf_write_string_alloc ; -- Begin function _dwarf_write_string_alloc .p2align 2 __dwarf_write_string_alloc: ; @_dwarf_write_string_alloc .cfi_startproc ; %bb.0: stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill stp x22, x21, [sp, #16] ; 16-byte Folded Spill stp x20, x19, [sp, #32] ; 16-byte Folded Spill stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 mov x19, x4 mov x20, x3 mov x21, x2 mov x23, x1 mov x22, x0 ldr w8, [x1] cmp w8, #0 cset w0, gt bl _assert mov x0, x20 bl _strlen add w8, w0, #1 sxtw x24, w8 LBB0_1: ; =>This Inner Loop Header: Depth=1 ldrsw x9, [x21] ldrsw x8, [x23] add x9, x9, x24 cmp x9, x8 b.ls LBB0_4 ; %bb.2: ; in Loop: Header=BB0_1 Depth=1 lsl x1, x8, #1 str w1, [x23] ldr x0, [x22] bl _realloc str x0, [x22] cbnz x0, LBB0_1 ; %bb.3: Lloh0: adrp x20, _DW_DLE_MEMORY@GOTPAGE Lloh1: ldr x20, [x20, _DW_DLE_MEMORY@GOTPAGEOFF] ldr w2, [x20] mov x1, x19 bl _DWARF_SET_ERROR b LBB0_5 LBB0_4: ldr x0, [x22] mov x1, x21 mov x2, x20 bl __dwarf_write_string Lloh2: adrp x20, _DW_DLE_NONE@GOTPAGE Lloh3: ldr x20, [x20, _DW_DLE_NONE@GOTPAGEOFF] LBB0_5: ldr w0, [x20] ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload ldp x24, x23, [sp], #64 ; 16-byte Folded Reload ret .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGot Lloh2, Lloh3 .cfi_endproc ; -- End function .comm _DW_DLE_MEMORY,4,2 ; @DW_DLE_MEMORY .comm _DW_DLE_NONE,4,2 ; @DW_DLE_NONE .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _redcarpet_stack_grow ## -- Begin function redcarpet_stack_grow .p2align 4, 0x90 _redcarpet_stack_grow: ## @redcarpet_stack_grow .cfi_startproc ## %bb.0: xorl %eax, %eax cmpq %rsi, (%rdi) jae LBB0_6 ## %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 .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movq %rsi, %rbx movq %rdi, %r14 movq 8(%rdi), %rdi leaq (,%rsi,8), %rsi callq _realloc movq %rax, %rcx movl $-1, %eax testq %rcx, %rcx jne LBB0_5 ## %bb.2: movq (%r14), %rdi movq %rbx, %rdx subq %rdi, %rdx negq %rdi shlq $3, %rdi shlq $3, %rdx xorl %esi, %esi callq _memset movq $0, 8(%r14) movq %rbx, (%r14) cmpq %rbx, 16(%r14) jbe LBB0_4 ## %bb.3: movq %rbx, 16(%r14) LBB0_4: xorl %eax, %eax LBB0_5: popq %rbx popq %r14 popq %rbp LBB0_6: retq .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _redcarpet_stack_grow ; -- Begin function redcarpet_stack_grow .p2align 2 _redcarpet_stack_grow: ; @redcarpet_stack_grow .cfi_startproc ; %bb.0: ldr x8, [x0] cmp x8, x1 b.hs LBB0_3 ; %bb.1: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x1 mov x20, x0 ldr x0, [x0, #8] lsl x1, x1, #3 bl _realloc cbz x0, LBB0_4 ; %bb.2: mov w0, #-1 ; =0xffffffff b LBB0_7 LBB0_3: mov w0, #0 ; =0x0 ret LBB0_4: ldr x8, [x20] neg x9, x8 lsl x0, x9, #3 sub x8, x19, x8 lsl x2, x8, #3 mov w1, #0 ; =0x0 bl _memset stp x19, xzr, [x20] ldr x8, [x20, #16] cmp x8, x19 b.ls LBB0_6 ; %bb.5: mov w0, #0 ; =0x0 str x19, [x20, #16] b LBB0_7 LBB0_6: mov w0, #0 ; =0x0 LBB0_7: 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 .globl _strsplit_by_char ## -- Begin function strsplit_by_char .p2align 4, 0x90 _strsplit_by_char: ## @strsplit_by_char .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rsi, %rbx testq %rdi, %rdi je LBB0_1 ## %bb.2: movl %edx, %r15d movq %rdi, %r14 movl $64, %edi callq _malloc xorl %ecx, %ecx testq %rax, %rax je LBB0_18 ## %bb.3: movl $8, %r13d .p2align 4, 0x90 LBB0_4: ## =>This Loop Header: Depth=1 ## Child Loop BB0_5 Depth 2 ## Child Loop BB0_9 Depth 2 movq %r14, %rdx .p2align 4, 0x90 LBB0_5: ## Parent Loop BB0_4 Depth=1 ## => This Inner Loop Header: Depth=2 movzbl (%rdx), %esi decq %rdx cmpb %r15b, %sil je LBB0_7 ## %bb.6: ## in Loop: Header=BB0_5 Depth=2 testb %sil, %sil jne LBB0_5 LBB0_7: ## in Loop: Header=BB0_4 Depth=1 testb %sil, %sil je LBB0_13 ## %bb.8: ## in Loop: Header=BB0_4 Depth=1 movb $0, 1(%rdx) movl %ecx, %esi orl $1, %esi movl %ecx, %edi movq %r14, (%rax,%rdi,8) movq %rdx, %r14 .p2align 4, 0x90 LBB0_9: ## Parent Loop BB0_4 Depth=1 ## => This Inner Loop Header: Depth=2 movzbl (%r14), %edi decq %r14 cmpb %r15b, %dil je LBB0_11 ## %bb.10: ## in Loop: Header=BB0_9 Depth=2 testb %dil, %dil jne LBB0_9 LBB0_11: ## in Loop: Header=BB0_4 Depth=1 testb %dil, %dil je LBB0_12 ## %bb.15: ## in Loop: Header=BB0_4 Depth=1 movb $0, 1(%r14) addl $2, %ecx movl %esi, %esi movq %rdx, (%rax,%rsi,8) cmpl %r13d, %ecx jne LBB0_4 ## %bb.16: ## in Loop: Header=BB0_4 Depth=1 leal (,%r13,2), %ecx movl %ecx, -44(%rbp) ## 4-byte Spill movl %r13d, %esi shll $4, %esi movq %rax, %r12 movq %rax, %rdi callq _realloc movl %r13d, %ecx movl -44(%rbp), %edx ## 4-byte Reload movl %edx, %r13d testq %rax, %rax jne LBB0_4 ## %bb.17: movq %r12, %rdi callq _free jmp LBB0_18 LBB0_1: movl $0, (%rbx) LBB0_18: xorl %eax, %eax jmp LBB0_19 LBB0_12: movl %esi, %ecx movq %rdx, %r14 LBB0_13: movl %ecx, %edx movq %r14, (%rax,%rdx,8) testq %rbx, %rbx je LBB0_19 ## %bb.14: incl %ecx movl %ecx, (%rbx) LBB0_19: addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _strsplit_by_char ; -- Begin function strsplit_by_char .p2align 2 _strsplit_by_char: ; @strsplit_by_char .cfi_startproc ; %bb.0: stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill stp x22, x21, [sp, #16] ; 16-byte Folded Spill stp x20, x19, [sp, #32] ; 16-byte Folded Spill stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 mov x19, x1 cbz x0, LBB0_11 ; %bb.1: mov x21, x2 mov x20, x0 mov w0, #64 ; =0x40 bl _malloc cbz x0, LBB0_12 ; %bb.2: mov w8, #0 ; =0x0 and w22, w21, #0xff mov w23, #8 ; =0x8 LBB0_3: ; =>This Loop Header: Depth=1 ; Child Loop BB0_4 Depth 2 mov x9, x20 LBB0_4: ; Parent Loop BB0_3 Depth=1 ; => This Inner Loop Header: Depth=2 ldrb w10, [x20], #-1 cmp w10, w22 ccmp w10, #0, #4, ne b.ne LBB0_4 ; %bb.5: ; in Loop: Header=BB0_4 Depth=2 cbz w10, LBB0_9 ; %bb.6: ; in Loop: Header=BB0_4 Depth=2 strb wzr, [x20, #1] str x9, [x0, w8, uxtw #3] add w10, w8, #1 mov x8, x10 mov x9, x20 cmp w10, w23 b.ne LBB0_4 ; %bb.7: ; in Loop: Header=BB0_3 Depth=1 lsl w24, w23, #1 lsl w1, w23, #4 mov x21, x0 bl _realloc mov x8, x23 mov x23, x24 cbnz x0, LBB0_3 ; %bb.8: mov x0, x21 bl _free mov x0, #0 ; =0x0 b LBB0_12 LBB0_9: str x9, [x0, w8, uxtw #3] cbz x19, LBB0_12 ; %bb.10: add w8, w8, #1 str w8, [x19] b LBB0_12 LBB0_11: str wzr, [x19] LBB0_12: ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload ldp x24, x23, [sp], #64 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _archive_read_add_callback_data ## -- Begin function archive_read_add_callback_data .p2align 4, 0x90 _archive_read_add_callback_data: ## @archive_read_add_callback_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 %rbx pushq %rax .cfi_offset %rbx, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %edx, %r14d movq %rsi, %rbx movq %rdi, %r15 movq _ARCHIVE_READ_MAGIC@GOTPCREL(%rip), %rax movl (%rax), %esi movq _ARCHIVE_STATE_NEW@GOTPCREL(%rip), %rax movl (%rax), %edx leaq L_.str(%rip), %rcx callq _archive_check_magic movl (%r15), %esi cmpl %r14d, %esi jbe LBB0_1 ## %bb.3: movq 8(%r15), %rdi incl %esi movl %esi, (%r15) shll $4, %esi callq _realloc testq %rax, %rax je LBB0_4 ## %bb.5: movq %rax, 8(%r15) movl (%r15), %edx movl %edx, %ecx incl %ecx je LBB0_11 ## %bb.6: movl %ecx, %ecx testb $1, %cl je LBB0_8 ## %bb.7: leaq -1(%rcx), %rsi movq %rsi, %rdi shlq $4, %rdi movq 8(%rax,%rdi), %rdi shlq $4, %rcx movq %rdi, 8(%rax,%rcx) movq $-1, (%rax,%rcx) movq %rsi, %rcx LBB0_8: testl %edx, %edx je LBB0_11 ## %bb.9: movq %rcx, %rsi shlq $4, %rsi movq %rax, %rdx addq %rsi, %rdx .p2align 4, 0x90 LBB0_10: ## =>This Inner Loop Header: Depth=1 movq -24(%rdx), %rsi movq -8(%rdx), %rdi movq %rdi, 8(%rdx) movq $-1, (%rdx) movq %rsi, -8(%rdx) movq $-1, -16(%rdx) addq $-32, %rdx addq $-2, %rcx jne LBB0_10 LBB0_11: movl %r14d, %ecx shlq $4, %rcx movq %rbx, 8(%rax,%rcx) movq $-1, (%rax,%rcx) movq _ARCHIVE_OK@GOTPCREL(%rip), %rax jmp LBB0_12 LBB0_1: addq $16, %r15 movq _EINVAL@GOTPCREL(%rip), %rax movl (%rax), %esi leaq L_.str.1(%rip), %rdx jmp LBB0_2 LBB0_4: addq $16, %r15 movq _ENOMEM@GOTPCREL(%rip), %rax movl (%rax), %esi leaq L_.str.2(%rip), %rdx LBB0_2: movq %r15, %rdi callq _archive_set_error movq _ARCHIVE_FATAL@GOTPCREL(%rip), %rax LBB0_12: movl (%rax), %eax addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _ARCHIVE_READ_MAGIC,4,2 ## @ARCHIVE_READ_MAGIC .comm _ARCHIVE_STATE_NEW,4,2 ## @ARCHIVE_STATE_NEW .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "archive_read_add_callback_data" .comm _EINVAL,4,2 ## @EINVAL L_.str.1: ## @.str.1 .asciz "Invalid index specified." .comm _ARCHIVE_FATAL,4,2 ## @ARCHIVE_FATAL .comm _ENOMEM,4,2 ## @ENOMEM L_.str.2: ## @.str.2 .asciz "No memory." .comm _ARCHIVE_OK,4,2 ## @ARCHIVE_OK .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _archive_read_add_callback_data ; -- Begin function archive_read_add_callback_data .p2align 2 _archive_read_add_callback_data: ; @archive_read_add_callback_data .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, x2 mov x19, x1 mov x21, x0 Lloh0: adrp x8, _ARCHIVE_READ_MAGIC@GOTPAGE Lloh1: ldr x8, [x8, _ARCHIVE_READ_MAGIC@GOTPAGEOFF] Lloh2: ldr w1, [x8] Lloh3: adrp x8, _ARCHIVE_STATE_NEW@GOTPAGE Lloh4: ldr x8, [x8, _ARCHIVE_STATE_NEW@GOTPAGEOFF] Lloh5: ldr w2, [x8] Lloh6: adrp x3, l_.str@PAGE Lloh7: add x3, x3, l_.str@PAGEOFF bl _archive_check_magic ldr w8, [x21] cmp w8, w20 b.ls LBB0_5 ; %bb.1: ldr x0, [x21, #8] add w8, w8, #1 str w8, [x21] lsl w1, w8, #4 bl _realloc cbz x0, LBB0_6 ; %bb.2: str x0, [x21, #8] ldr w8, [x21] adds w9, w8, #1 b.hs LBB0_13 ; %bb.3: cmp w9, #4 b.hs LBB0_8 ; %bb.4: mov x8, x9 b LBB0_11 LBB0_5: Lloh8: adrp x8, _EINVAL@GOTPAGE Lloh9: ldr x8, [x8, _EINVAL@GOTPAGEOFF] Lloh10: ldr w1, [x8] Lloh11: adrp x2, l_.str.1@PAGE Lloh12: add x2, x2, l_.str.1@PAGEOFF b LBB0_7 LBB0_6: Lloh13: adrp x8, _ENOMEM@GOTPAGE Lloh14: ldr x8, [x8, _ENOMEM@GOTPAGEOFF] Lloh15: ldr w1, [x8] Lloh16: adrp x2, l_.str.2@PAGE Lloh17: add x2, x2, l_.str.2@PAGEOFF LBB0_7: add x0, x21, #16 bl _archive_set_error Lloh18: adrp x8, _ARCHIVE_FATAL@GOTPAGE Lloh19: ldr x8, [x8, _ARCHIVE_FATAL@GOTPAGEOFF] b LBB0_14 LBB0_8: and x10, x9, #0xfffffffc and x8, x9, #0x3 add x11, x0, x9, lsl #4 sub x11, x11, #24 movi.2d v0, #0xffffffffffffffff mov x12, x10 LBB0_9: ; =>This Inner Loop Header: Depth=1 ldr x13, [x11, #16] ldr x14, [x11] ldur x15, [x11, #-16] ldur x16, [x11, #-32] str x13, [x11, #32] str x14, [x11, #16] str x15, [x11] stur x16, [x11, #-16] str d0, [x11, #24] str d0, [x11, #8] stur d0, [x11, #-8] stur d0, [x11, #-24] sub x11, x11, #64 sub x12, x12, #4 cbnz x12, LBB0_9 ; %bb.10: cmp x10, x9 b.eq LBB0_13 LBB0_11: add x9, x0, x8, lsl #4 movi.2d v0, #0xffffffffffffffff LBB0_12: ; =>This Inner Loop Header: Depth=1 ldur x10, [x9, #-8] str x10, [x9, #8] str d0, [x9], #-16 sub x8, x8, #1 cbnz x8, LBB0_12 LBB0_13: add x8, x0, w20, uxtw #4 str x19, [x8, #8] movi.2d v0, #0xffffffffffffffff str d0, [x8] Lloh20: adrp x8, _ARCHIVE_OK@GOTPAGE Lloh21: ldr x8, [x8, _ARCHIVE_OK@GOTPAGEOFF] LBB0_14: ldr w0, [x8] ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret .loh AdrpAdd Lloh6, Lloh7 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpAdd Lloh11, Lloh12 .loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10 .loh AdrpAdd Lloh16, Lloh17 .loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh15 .loh AdrpLdrGot Lloh18, Lloh19 .loh AdrpLdrGot Lloh20, Lloh21 .cfi_endproc ; -- End function .comm _ARCHIVE_READ_MAGIC,4,2 ; @ARCHIVE_READ_MAGIC .comm _ARCHIVE_STATE_NEW,4,2 ; @ARCHIVE_STATE_NEW .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "archive_read_add_callback_data" .comm _EINVAL,4,2 ; @EINVAL l_.str.1: ; @.str.1 .asciz "Invalid index specified." .comm _ARCHIVE_FATAL,4,2 ; @ARCHIVE_FATAL .comm _ENOMEM,4,2 ; @ENOMEM l_.str.2: ; @.str.2 .asciz "No memory." .comm _ARCHIVE_OK,4,2 ; @ARCHIVE_OK .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function buf_bytes_resize _buf_bytes_resize: ## @buf_bytes_resize .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %rbx pushq %rax .cfi_offset %rbx, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rsi, %rbx movq %rdi, %r15 callq _get_priv_bytes movq %rax, %r14 cmpq %rbx, (%rax) jg LBB0_4 ## %bb.1: movq 8(%r14), %rdi movq %rbx, %rsi callq _realloc testq %rax, %rax je LBB0_2 ## %bb.3: movq %rax, 8(%r14) movq (%r14), %rcx leaq (%rax,%rcx,4), %rdi movl (%r15), %esi movq %rbx, %rdx subq %rcx, %rdx callq _memset LBB0_4: movq %rbx, (%r14) movl $1, %eax LBB0_5: addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq LBB0_2: xorl %eax, %eax jmp LBB0_5 .cfi_endproc ## -- End function .no_dead_strip _buf_bytes_resize .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function buf_bytes_resize _buf_bytes_resize: ; @buf_bytes_resize .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x19, x1 mov x21, x0 bl _get_priv_bytes mov x20, x0 ldr x8, [x0] cmp x8, x19 b.gt LBB0_3 ; %bb.1: ldr x0, [x20, #8] mov x1, x19 bl _realloc cbz x0, LBB0_4 ; %bb.2: str x0, [x20, #8] ldr x8, [x20] add x0, x0, x8, lsl #2 ldr w1, [x21] sub x2, x19, x8 bl _memset LBB0_3: str x19, [x20] mov w0, #1 ; =0x1 LBB0_4: ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .no_dead_strip _buf_bytes_resize .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function dex_get_proto _dex_get_proto: ## @dex_get_proto .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $72, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -48(%rbp) cmpl %esi, 16(%rdi) jle LBB0_24 ## %bb.1: movq 40(%rdi), %rax movslq %esi, %rcx shlq $4, %rcx movq (%rax,%rcx), %r14 cmpq (%rdi), %r14 jae LBB0_24 ## %bb.2: addq %rcx, %rax movq 8(%rax), %rax cmpq 24(%rdi), %rax jae LBB0_24 ## %bb.3: movq 8(%rdi), %rcx movl (%rcx,%rax,4), %esi movq %rdi, %r15 callq _getstr testq %rax, %rax je LBB0_24 ## %bb.4: testq %r14, %r14 je LBB0_12 ## %bb.5: movq %rax, %rbx movl 32(%r15), %edi leaq -80(%rbp), %rdx movl %r14d, %esi movl $32, %ecx callq _r_buf_read_at testl %eax, %eax je LBB0_24 ## %bb.6: leaq -80(%rbp), %rdi callq _r_read_le32 leaq (,%rax,8), %rsi movq (%r15), %rdx cmpq %rdx, %rsi setae %sil testq %rax, %rax sete %al orb %sil, %al jne LBB0_24 ## %bb.15: addl $-4, %r14d movslq %r14d, %rax cmpq %rax, %rdx jbe LBB0_24 ## %bb.16: movl 32(%r15), %edi leaq -112(%rbp), %rdx movl %r14d, %esi movl $32, %ecx callq _r_buf_read_at testl %eax, %eax je LBB0_24 ## %bb.17: leaq -112(%rbp), %rdi callq _r_read_le16 movq %r15, %rdi cmpq 24(%r15), %rax jb LBB0_19 ## %bb.18: cmpq (%rdi), %rax jae LBB0_24 LBB0_19: movq 8(%rdi), %rcx movl (%rcx,%rax,4), %esi callq _getstr testq %rax, %rax je LBB0_24 ## %bb.20: movq %rax, %r14 movq %rax, %rdi callq _strlen movl %eax, %r12d leal 2(%r12), %r13d xorl %edi, %edi movl %r13d, %esi callq _realloc testq %rax, %rax je LBB0_23 ## %bb.21: movq %rax, %r15 movq %rax, %rdi movq %r14, %rsi callq _strcpy movslq %r12d, %rax movb $0, (%r15,%rax) leaq L_.str.2(%rip), %rdi movq %r15, %rsi movq %rbx, %rdx xorl %eax, %eax callq _r_str_newf movq %rax, %rbx movq %r15, %rdi callq _free movq %rbx, %rax jmp LBB0_25 LBB0_12: movq ___stack_chk_guard@GOTPCREL(%rip), %rcx movq (%rcx), %rcx cmpq -48(%rbp), %rcx jne LBB0_27 ## %bb.13: leaq L_.str(%rip), %rdi movq %rax, %rsi xorl %eax, %eax addq $72, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp jmp _r_str_newf ## TAILCALL LBB0_23: leaq L_.str.1(%rip), %rdi movl %r13d, %esi callq _eprintf LBB0_24: xorl %eax, %eax LBB0_25: movq ___stack_chk_guard@GOTPCREL(%rip), %rcx movq (%rcx), %rcx cmpq -48(%rbp), %rcx jne LBB0_27 ## %bb.26: addq $72, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_27: callq ___stack_chk_fail .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "()%s" L_.str.1: ## @.str.1 .asciz "Cannot realloc to %d\n" L_.str.2: ## @.str.2 .asciz "(%s)%s" .no_dead_strip _dex_get_proto .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function dex_get_proto _dex_get_proto: ; @dex_get_proto .cfi_startproc ; %bb.0: sub sp, sp, #128 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 Lloh0: adrp x8, ___stack_chk_guard@GOTPAGE Lloh1: ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] Lloh2: ldr x8, [x8] stur x8, [x29, #-40] ldr w8, [x0, #16] cmp w8, w1 b.le LBB0_18 ; %bb.1: ldr x8, [x0, #40] add x8, x8, w1, sxtw #4 ldr x20, [x8] ldr x9, [x0] cmp x20, x9 b.hs LBB0_18 ; %bb.2: ldr x8, [x8, #8] ldr x9, [x0, #24] cmp x8, x9 b.hs LBB0_18 ; %bb.3: ldr x9, [x0, #8] ldr w1, [x9, x8, lsl #2] mov x21, x0 bl _getstr cbz x0, LBB0_19 ; %bb.4: mov x19, x0 cbz x20, LBB0_15 ; %bb.5: ldr w0, [x21, #32] add x2, sp, #40 mov x1, x20 mov w3, #32 ; =0x20 bl _r_buf_read_at cbz w0, LBB0_18 ; %bb.6: add x0, sp, #40 bl _r_read_le32 mov x8, x0 mov x0, #0 ; =0x0 ldr x10, [x21] cmp x10, x8, lsl #3 b.ls LBB0_19 ; %bb.7: cbz x8, LBB0_19 ; %bb.8: sub w1, w20, #4 cmp x10, w1, sxtw b.ls LBB0_18 ; %bb.9: ldr w0, [x21, #32] add x2, sp, #8 mov w3, #32 ; =0x20 bl _r_buf_read_at cbz w0, LBB0_18 ; %bb.10: add x0, sp, #8 bl _r_read_le16 mov x8, x0 mov x0, x21 ldr x9, [x21, #24] cmp x8, x9 b.lo LBB0_12 ; %bb.11: ldr x9, [x0] cmp x8, x9 b.hs LBB0_18 LBB0_12: ldr x9, [x0, #8] ldr w1, [x9, x8, lsl #2] bl _getstr cbz x0, LBB0_18 ; %bb.13: mov x20, x0 bl _strlen mov x21, x0 add w1, w0, #2 mov x0, #0 ; =0x0 bl _realloc cbz x0, LBB0_17 ; %bb.14: mov x22, x0 mov x1, x20 bl _strcpy strb wzr, [x22, w21, sxtw] str x19, [sp] Lloh3: adrp x0, l_.str.2@PAGE Lloh4: add x0, x0, l_.str.2@PAGEOFF mov x1, x22 bl _r_str_newf mov x19, x0 mov x0, x22 bl _free mov x0, x19 b LBB0_19 LBB0_15: ldur x8, [x29, #-40] Lloh5: adrp x9, ___stack_chk_guard@GOTPAGE Lloh6: ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF] Lloh7: ldr x9, [x9] cmp x9, x8 b.ne LBB0_21 ; %bb.16: Lloh8: adrp x0, l_.str@PAGE Lloh9: add x0, x0, l_.str@PAGEOFF mov x1, x19 ldp x29, x30, [sp, #112] ; 16-byte Folded Reload ldp x20, x19, [sp, #96] ; 16-byte Folded Reload ldp x22, x21, [sp, #80] ; 16-byte Folded Reload add sp, sp, #128 b _r_str_newf LBB0_17: Lloh10: adrp x0, l_.str.1@PAGE Lloh11: add x0, x0, l_.str.1@PAGEOFF add w1, w21, #2 bl _eprintf LBB0_18: mov x0, #0 ; =0x0 LBB0_19: ldur x8, [x29, #-40] Lloh12: adrp x9, ___stack_chk_guard@GOTPAGE Lloh13: ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF] Lloh14: ldr x9, [x9] cmp x9, x8 b.ne LBB0_21 ; %bb.20: 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 add sp, sp, #128 ret LBB0_21: bl ___stack_chk_fail .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpAdd Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7 .loh AdrpAdd Lloh8, Lloh9 .loh AdrpAdd Lloh10, Lloh11 .loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "()%s" l_.str.1: ; @.str.1 .asciz "Cannot realloc to %d\n" l_.str.2: ; @.str.2 .asciz "(%s)%s" .no_dead_strip _dex_get_proto .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function add_port _add_port: ## @add_port .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rcx, %r12 movl %edx, %ebx movl %esi, %r14d movl %edi, %r15d leaq L_.str(%rip), %rsi movq %rcx, %rdi callq _strcmp testq %rax, %rax je LBB0_1 ## %bb.2: leaq L_.str.1(%rip), %rsi movq %r12, %rdi callq _strcmp testq %rax, %rax jne LBB0_10 ## %bb.3: movq _SOCK_STREAM@GOTPCREL(%rip), %rax jmp LBB0_4 LBB0_1: movq _SOCK_DGRAM@GOTPCREL(%rip), %rax LBB0_4: movl (%rax), %r13d movq _num_ports@GOTPCREL(%rip), %rax movq (%rax), %rax movq _ports@GOTPCREL(%rip), %r12 movq (%r12), %rdi leaq 8(%rdi), %rcx xorl %edx, %edx jmp LBB0_5 .p2align 4, 0x90 LBB0_8: ## in Loop: Header=BB0_5 Depth=1 decq %rdx addq $-12, %rcx cmpq %rax, %rdx ja LBB0_9 LBB0_5: ## =>This Inner Loop Header: Depth=1 cmpl %r13d, -8(%rcx) jne LBB0_8 ## %bb.6: ## in Loop: Header=BB0_5 Depth=1 cmpl %ebx, -4(%rcx) jne LBB0_8 ## %bb.7: ## in Loop: Header=BB0_5 Depth=1 cmpl %r14d, (%rcx) jne LBB0_8 jmp LBB0_10 LBB0_9: leaq (%rax,%rax,2), %rax leaq 12(,%rax,4), %rsi callq _realloc movq %rax, (%r12) movq _errno@GOTPCREL(%rip), %rax movl (%rax), %edx leaq L_.str.2(%rip), %rcx movl %r15d, %edi movl $1, %esi callq _krb5_err movq (%r12), %rax movq _num_ports@GOTPCREL(%rip), %rsi movq (%rsi), %rcx leaq (%rcx,%rcx,2), %rdx movl %r14d, 8(%rax,%rdx,4) movl %r13d, (%rax,%rdx,4) movl %ebx, 4(%rax,%rdx,4) incq %rcx movq %rcx, (%rsi) LBB0_10: addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "udp" .comm _SOCK_DGRAM,4,2 ## @SOCK_DGRAM L_.str.1: ## @.str.1 .asciz "tcp" .comm _SOCK_STREAM,4,2 ## @SOCK_STREAM .comm _num_ports,8,3 ## @num_ports .comm _ports,8,3 ## @ports .comm _errno,4,2 ## @errno L_.str.2: ## @.str.2 .asciz "realloc" .no_dead_strip _add_port .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function add_port _add_port: ; @add_port .cfi_startproc ; %bb.0: stp x26, x25, [sp, #-80]! ; 16-byte Folded Spill stp x24, x23, [sp, #16] ; 16-byte Folded Spill stp x22, x21, [sp, #32] ; 16-byte Folded Spill stp x20, x19, [sp, #48] ; 16-byte Folded Spill stp x29, x30, [sp, #64] ; 16-byte Folded Spill add x29, sp, #64 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 mov x22, x3 mov x19, x2 mov x20, x1 mov x21, x0 Lloh0: adrp x1, l_.str@PAGE Lloh1: add x1, x1, l_.str@PAGEOFF mov x0, x3 bl _strcmp cbz x0, LBB0_3 ; %bb.1: Lloh2: adrp x1, l_.str.1@PAGE Lloh3: add x1, x1, l_.str.1@PAGEOFF mov x0, x22 bl _strcmp cbnz x0, LBB0_10 ; %bb.2: Lloh4: adrp x9, _SOCK_STREAM@GOTPAGE Lloh5: ldr x9, [x9, _SOCK_STREAM@GOTPAGEOFF] b LBB0_4 LBB0_3: Lloh6: adrp x9, _SOCK_DGRAM@GOTPAGE Lloh7: ldr x9, [x9, _SOCK_DGRAM@GOTPAGEOFF] LBB0_4: mov x8, #0 ; =0x0 Lloh8: adrp x22, _num_ports@GOTPAGE Lloh9: ldr x22, [x22, _num_ports@GOTPAGEOFF] ldr w23, [x9] ldr x9, [x22] Lloh10: adrp x24, _ports@GOTPAGE Lloh11: ldr x24, [x24, _ports@GOTPAGEOFF] ldr x0, [x24] add x10, x0, #8 b LBB0_6 LBB0_5: ; in Loop: Header=BB0_6 Depth=1 sub x8, x8, #1 sub x10, x10, #12 cmp x8, x9 b.hi LBB0_9 LBB0_6: ; =>This Inner Loop Header: Depth=1 ldur w11, [x10, #-8] cmp w11, w23 b.ne LBB0_5 ; %bb.7: ; in Loop: Header=BB0_6 Depth=1 ldur w11, [x10, #-4] cmp w11, w19 b.ne LBB0_5 ; %bb.8: ; in Loop: Header=BB0_6 Depth=1 ldr w11, [x10] cmp w11, w20 b.ne LBB0_5 b LBB0_10 LBB0_9: mov w25, #12 ; =0xc mov x8, #12 ; =0xc madd x1, x9, x25, x8 bl _realloc str x0, [x24] Lloh12: adrp x8, _errno@GOTPAGE Lloh13: ldr x8, [x8, _errno@GOTPAGEOFF] Lloh14: ldr w2, [x8] Lloh15: adrp x3, l_.str.2@PAGE Lloh16: add x3, x3, l_.str.2@PAGEOFF mov x0, x21 mov w1, #1 ; =0x1 bl _krb5_err ldr x8, [x24] ldr x9, [x22] madd x8, x9, x25, x8 stp w19, w20, [x8, #4] str w23, [x8] add x8, x9, #1 str x8, [x22] LBB0_10: ldp x29, x30, [sp, #64] ; 16-byte Folded Reload ldp x20, x19, [sp, #48] ; 16-byte Folded Reload ldp x22, x21, [sp, #32] ; 16-byte Folded Reload ldp x24, x23, [sp, #16] ; 16-byte Folded Reload ldp x26, x25, [sp], #80 ; 16-byte Folded Reload ret .loh AdrpAdd Lloh0, Lloh1 .loh AdrpAdd Lloh2, Lloh3 .loh AdrpLdrGot Lloh4, Lloh5 .loh AdrpLdrGot Lloh6, Lloh7 .loh AdrpLdrGot Lloh10, Lloh11 .loh AdrpLdrGot Lloh8, Lloh9 .loh AdrpAdd Lloh15, Lloh16 .loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "udp" .comm _SOCK_DGRAM,4,2 ; @SOCK_DGRAM l_.str.1: ; @.str.1 .asciz "tcp" .comm _SOCK_STREAM,4,2 ; @SOCK_STREAM .comm _num_ports,8,3 ; @num_ports .comm _ports,8,3 ; @ports .comm _errno,4,2 ; @errno l_.str.2: ; @.str.2 .asciz "realloc" .no_dead_strip _add_port .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function scan_AddMultiplex _scan_AddMultiplex: ## @scan_AddMultiplex .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %rbx pushq %rax .cfi_offset %rbx, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rsi, %r14 movq %rdi, %rbx movq 8(%rdi), %rdi movl (%rbx), %eax leal -8(,%rax,8), %esi callq _realloc movq %rax, %r15 xorl %edi, %edi testq %rax, %rax sete %dil callq _unlikely movq %rax, %rcx xorl %eax, %eax testq %rcx, %rcx jne LBB0_3 ## %bb.1: movslq (%rbx), %rax movq %r14, (%r15,%rax,8) movq %r15, 8(%rbx) decl %eax movl %eax, (%rbx) movl $1, %eax cmpl $0, (%r14) jne LBB0_3 ## %bb.2: incl 4(%rbx) LBB0_3: addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _scan_AddMultiplex .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function scan_AddMultiplex _scan_AddMultiplex: ; @scan_AddMultiplex .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x20, x1 mov x19, x0 ldr x0, [x0, #8] ldr w8, [x19] lsl w8, w8, #3 sub w1, w8, #8 bl _realloc mov x21, x0 cmp x0, #0 cset w0, eq bl _unlikely cbz x0, LBB0_2 ; %bb.1: mov w0, #0 ; =0x0 b LBB0_5 LBB0_2: ldrsw x8, [x19] str x20, [x21, x8, lsl #3] str x21, [x19, #8] sub w8, w8, #1 str w8, [x19] ldr w8, [x20] cbnz w8, LBB0_4 ; %bb.3: ldr w8, [x19, #4] add w8, w8, #1 str w8, [x19, #4] LBB0_4: mov w0, #1 ; =0x1 LBB0_5: 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 _scan_AddMultiplex .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function message_extend_fields _message_extend_fields: ## @message_extend_fields .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $24, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %ecx, %r12d movq %rdx, %r14 movq %rsi, %r15 movq %rdi, %rbx callq _assert cmpl $0, (%rbx) je LBB0_1 LBB0_6: xorl %r15d, %r15d jmp LBB0_15 LBB0_1: movl %r12d, -44(%rbp) ## 4-byte Spill movslq 4(%rbx), %rax movl $4, %r13d subq %rax, %r13 movq %r13, %rdi movq %r15, %rsi callq _ALIGN_TO addq %rax, %r14 cmpq %r14, %r13 jne LBB0_3 ## %bb.2: addq 32(%rbx), %r13 movq %r13, %r15 jmp LBB0_15 LBB0_3: movq %rax, %r12 cmpl $0, 8(%rbx) je LBB0_7 ## %bb.4: movq 32(%rbx), %r15 movq %r14, %rdi callq _ALIGN8 movq %r15, %rdi movl %eax, %esi callq _realloc movq %rax, %r15 testq %rax, %rax jne LBB0_9 jmp LBB0_5 LBB0_7: movq %r14, %rdi callq _ALIGN8 movl %eax, %edi callq _malloc testq %rax, %rax je LBB0_5 ## %bb.8: movq %rax, %r15 movq 32(%rbx), %rsi movq %rax, %rdi movl $4, %edx callq _memcpy LBB0_9: movq %r12, -56(%rbp) ## 8-byte Spill subq %r13, %r12 jbe LBB0_11 ## %bb.10: leaq (%r15,%r13), %rdi movq %r12, %rsi callq _memzero LBB0_11: movq 32(%rbx), %r12 movq 80(%rbx), %rdi movq %r15, 32(%rbx) addq $-4, %r14 movl %r14d, 4(%rbx) movq %r12, %rsi movq %r13, %rdx movq %r15, %rcx callq _adjust_pointer movq %rax, 80(%rbx) movq 32(%rbx), %rcx movq 72(%rbx), %rdi movq %r12, %rsi movq %r13, %rdx callq _adjust_pointer movq %rax, 72(%rbx) movq 32(%rbx), %rcx movq 64(%rbx), %rdi movq %r12, %rsi movq %r13, %rdx callq _adjust_pointer movq %rax, 64(%rbx) movq 32(%rbx), %rcx movq 56(%rbx), %rdi movq %r12, %rsi movq %r13, %rdx callq _adjust_pointer movq %rax, 56(%rbx) movq 32(%rbx), %rcx movq 48(%rbx), %rdi movq %r12, %rsi movq %r13, %rdx callq _adjust_pointer movq %rax, 48(%rbx) movq 32(%rbx), %rcx movq 40(%rbx), %rdi movq %r12, %rsi movq %r13, %rdx callq _adjust_pointer movq %rax, 40(%rbx) movl $1, 8(%rbx) cmpl $0, -44(%rbp) ## 4-byte Folded Reload je LBB0_14 ## %bb.12: movq 16(%rbx), %r12 movq 24(%rbx), %rdi callq _ELEMENTSOF cmpq %rax, %r12 jge LBB0_5 ## %bb.13: movq 16(%rbx), %rax movq 24(%rbx), %rcx leaq 1(%rax), %rdx movq %rdx, 16(%rbx) movq %r14, (%rcx,%rax,8) LBB0_14: addq -56(%rbp), %r15 ## 8-byte Folded Reload LBB0_15: movq %r15, %rax addq $24, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_5: movl $1, (%rbx) jmp LBB0_6 .cfi_endproc ## -- End function .no_dead_strip _message_extend_fields .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function message_extend_fields _message_extend_fields: ; @message_extend_fields .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, x3 mov x23, x2 mov x20, x1 mov x19, x0 bl _assert ldr w8, [x19] cbz w8, LBB0_2 ; %bb.1: mov x0, #0 ; =0x0 b LBB0_15 LBB0_2: ldrsw x8, [x19, #4] mov w9, #4 ; =0x4 sub x22, x9, x8 mov x0, x22 mov x1, x20 bl _ALIGN_TO add x24, x0, x23 cmp x22, x24 b.ne LBB0_4 ; %bb.3: ldr x8, [x19, #32] add x0, x8, x22 b LBB0_15 LBB0_4: mov x20, x0 ldr w8, [x19, #8] cbz w8, LBB0_12 ; %bb.5: ldr x23, [x19, #32] mov x0, x24 bl _ALIGN8 mov x1, x0 mov x0, x23 bl _realloc mov x23, x0 cbz x0, LBB0_14 ; %bb.6: subs x1, x20, x22 b.ls LBB0_8 LBB0_7: add x0, x23, x22 bl _memzero LBB0_8: ldr x25, [x19, #32] str x23, [x19, #32] sub x24, x24, #4 str w24, [x19, #4] ldr x0, [x19, #80] mov x1, x25 mov x2, x22 mov x3, x23 bl _adjust_pointer str x0, [x19, #80] ldr x0, [x19, #72] ldr x3, [x19, #32] mov x1, x25 mov x2, x22 bl _adjust_pointer str x0, [x19, #72] ldr x0, [x19, #64] ldr x3, [x19, #32] mov x1, x25 mov x2, x22 bl _adjust_pointer str x0, [x19, #64] ldr x0, [x19, #56] ldr x3, [x19, #32] mov x1, x25 mov x2, x22 bl _adjust_pointer str x0, [x19, #56] ldr x0, [x19, #48] ldr x3, [x19, #32] mov x1, x25 mov x2, x22 bl _adjust_pointer str x0, [x19, #48] ldp x3, x0, [x19, #32] mov x1, x25 mov x2, x22 bl _adjust_pointer str x0, [x19, #40] mov w8, #1 ; =0x1 str w8, [x19, #8] cbz w21, LBB0_11 ; %bb.9: ldp x21, x0, [x19, #16] bl _ELEMENTSOF cmp x21, x0 b.ge LBB0_14 ; %bb.10: ldp x9, x8, [x19, #16] add x10, x9, #1 str x10, [x19, #16] str x24, [x8, x9, lsl #3] LBB0_11: add x0, x23, x20 b LBB0_15 LBB0_12: mov x0, x24 bl _ALIGN8 bl _malloc cbz x0, LBB0_14 ; %bb.13: mov x23, x0 ldr x1, [x19, #32] mov w2, #4 ; =0x4 bl _memcpy subs x1, x20, x22 b.hi LBB0_7 b LBB0_8 LBB0_14: mov x0, #0 ; =0x0 mov w8, #1 ; =0x1 str w8, [x19] LBB0_15: ldp x29, x30, [sp, #64] ; 16-byte Folded Reload ldp x20, x19, [sp, #48] ; 16-byte Folded Reload ldp x22, x21, [sp, #32] ; 16-byte Folded Reload ldp x24, x23, [sp, #16] ; 16-byte Folded Reload ldp x26, x25, [sp], #80 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .no_dead_strip _message_extend_fields .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function duff_reallocator _duff_reallocator: ## @duff_reallocator .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq _reallocation_count@GOTPCREL(%rip), %rax movq (%rax), %rcx testq %rcx, %rcx je LBB0_4 ## %bb.1: movq _REALLOC_ALWAYS_SUCCEED@GOTPCREL(%rip), %rdx cmpq (%rdx), %rcx je LBB0_3 ## %bb.2: incq %rcx movq %rcx, (%rax) LBB0_3: popq %rbp jmp _realloc ## TAILCALL LBB0_4: xorl %eax, %eax popq %rbp retq .cfi_endproc ## -- End function .comm _reallocation_count,8,3 ## @reallocation_count .comm _REALLOC_ALWAYS_SUCCEED,8,3 ## @REALLOC_ALWAYS_SUCCEED .no_dead_strip _duff_reallocator .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function duff_reallocator _duff_reallocator: ; @duff_reallocator .cfi_startproc ; %bb.0: Lloh0: adrp x8, _reallocation_count@GOTPAGE Lloh1: ldr x8, [x8, _reallocation_count@GOTPAGEOFF] ldr x9, [x8] cbz x9, LBB0_4 ; %bb.1: Lloh2: adrp x10, _REALLOC_ALWAYS_SUCCEED@GOTPAGE Lloh3: ldr x10, [x10, _REALLOC_ALWAYS_SUCCEED@GOTPAGEOFF] Lloh4: ldr x10, [x10] cmp x9, x10 b.eq LBB0_3 ; %bb.2: add x9, x9, #1 str x9, [x8] LBB0_3: b _realloc LBB0_4: mov x0, #0 ; =0x0 ret .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4 .cfi_endproc ; -- End function .comm _reallocation_count,8,3 ; @reallocation_count .comm _REALLOC_ALWAYS_SUCCEED,8,3 ; @REALLOC_ALWAYS_SUCCEED .no_dead_strip _duff_reallocator .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _resize_crop_layer ## -- Begin function resize_crop_layer .p2align 4, 0x90 _resize_crop_layer: ## @resize_crop_layer .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 %esi, (%rdi) movl %edx, 4(%rdi) movl 12(%rdi), %eax movl 40(%rdi), %edi movl %eax, %ecx imull %esi, %ecx movl %ecx, 8(%rbx) imull %edx, %eax movl %eax, 16(%rbx) imull %esi, %edx imull 24(%rbx), %edx movl %edx, 20(%rbx) imull %ecx, %eax imull 32(%rbx), %eax movl %eax, 28(%rbx) imull 36(%rbx), %eax shll $2, %eax movl %eax, %esi callq _realloc movl %eax, 40(%rbx) addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _resize_crop_layer ; -- Begin function resize_crop_layer .p2align 2 _resize_crop_layer: ; @resize_crop_layer .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 stp w1, w2, [x0] ldr w8, [x0, #12] mul w9, w8, w1 str w9, [x0, #8] mul w8, w8, w2 mul w10, w2, w1 ldr w11, [x0, #24] mul w10, w10, w11 stp w8, w10, [x0, #16] mul w8, w8, w9 ldp w9, w10, [x0, #32] mul w8, w8, w9 str w8, [x0, #28] ldr w0, [x0, #40] mul w8, w8, w10 lsl w1, w8, #2 bl _realloc str w0, [x19, #40] 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 read_client_data _read_client_data: ## @read_client_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 %r14 pushq %rbx subq $288, %rsp ## imm = 0x120 .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movl %edi, %r14d movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -24(%rbp) leaq -304(%rbp), %rsi leaq -300(%rbp), %rdx leaq -296(%rbp), %rcx callq _find_unit_by_fd leaq -288(%rbp), %rsi xorl %ebx, %ebx movl %r14d, %edi movl $256, %edx ## imm = 0x100 xorl %ecx, %ecx callq _recv testl %eax, %eax jle LBB0_3 ## %bb.1: movl %eax, %r14d movq -296(%rbp), %rax movq 8(%rax), %rdi movl (%rax), %esi subl %r14d, %esi callq _realloc movq -296(%rbp), %rcx movq %rax, 8(%rcx) testq %rax, %rax je LBB0_3 ## %bb.2: movslq (%rcx), %rcx leaq (%rax,%rcx,4), %rdi leaq -288(%rbp), %rsi movl %r14d, %edx callq _memcpy movq -296(%rbp), %rax addl %r14d, (%rax) movl $1, %ebx LBB0_3: movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax cmpq -24(%rbp), %rax jne LBB0_5 ## %bb.4: movl %ebx, %eax addq $288, %rsp ## imm = 0x120 popq %rbx popq %r14 popq %rbp retq LBB0_5: callq ___stack_chk_fail .cfi_endproc ## -- End function .no_dead_strip _read_client_data .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function read_client_data _read_client_data: ; @read_client_data .cfi_startproc ; %bb.0: sub sp, sp, #320 stp x20, x19, [sp, #288] ; 16-byte Folded Spill stp x29, x30, [sp, #304] ; 16-byte Folded Spill add x29, sp, #304 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x0 Lloh0: adrp x8, ___stack_chk_guard@GOTPAGE Lloh1: ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] Lloh2: ldr x8, [x8] stur x8, [x29, #-24] add x1, sp, #20 add x2, sp, #16 add x3, sp, #8 bl _find_unit_by_fd add x1, sp, #24 mov x0, x19 mov w2, #256 ; =0x100 mov w3, #0 ; =0x0 bl _recv cmp w0, #1 b.lt LBB0_3 ; %bb.1: mov x19, x0 ldr x8, [sp, #8] ldr x0, [x8, #8] ldr w8, [x8] sub w1, w8, w19 bl _realloc ldr x8, [sp, #8] str x0, [x8, #8] cbz x0, LBB0_4 ; %bb.2: ldrsw x8, [x8] add x0, x0, x8, lsl #2 add x1, sp, #24 mov x2, x19 bl _memcpy ldr x8, [sp, #8] ldr w9, [x8] add w9, w9, w19 str w9, [x8] mov w0, #1 ; =0x1 b LBB0_4 LBB0_3: mov w0, #0 ; =0x0 LBB0_4: ldur x8, [x29, #-24] Lloh3: adrp x9, ___stack_chk_guard@GOTPAGE Lloh4: ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF] Lloh5: ldr x9, [x9] cmp x9, x8 b.ne LBB0_6 ; %bb.5: ldp x29, x30, [sp, #304] ; 16-byte Folded Reload ldp x20, x19, [sp, #288] ; 16-byte Folded Reload add sp, sp, #320 ret LBB0_6: bl ___stack_chk_fail .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .cfi_endproc ; -- End function .no_dead_strip _read_client_data .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function append_stat _append_stat: ## @append_stat .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movslq (%rdi), %rax cmpl 4(%rdi), %eax jne LBB0_1 ## %bb.2: addq %rax, %rax movq _INITIAL_STATS_CAPACITY@GOTPCREL(%rip), %rcx movq (%rcx), %rsi cmpq %rax, %rsi cmovbel %eax, %esi movq 8(%rdi), %rdi shll $5, %esi ## kill: def $esi killed $esi killed $rsi callq _realloc movq _YRMCDS_OUT_OF_MEMORY@GOTPCREL(%rip), %rax jmp LBB0_3 LBB0_1: movq 8(%rdi), %r9 movq %rax, %r10 shlq $5, %r10 movq %rsi, 24(%r9,%r10) movq %rdx, 16(%r9,%r10) movq %rcx, (%r9,%r10) movq %r8, 8(%r9,%r10) incl %eax movl %eax, (%rdi) movq _YRMCDS_OK@GOTPCREL(%rip), %rax LBB0_3: movl (%rax), %eax popq %rbp retq .cfi_endproc ## -- End function .comm _INITIAL_STATS_CAPACITY,8,3 ## @INITIAL_STATS_CAPACITY .comm _YRMCDS_OUT_OF_MEMORY,4,2 ## @YRMCDS_OUT_OF_MEMORY .comm _YRMCDS_OK,4,2 ## @YRMCDS_OK .no_dead_strip _append_stat .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function append_stat _append_stat: ; @append_stat .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 ldp w8, w9, [x0] ; kill: def $w8 killed $w8 def $x8 sxtw x8, w8 cmp w8, w9 b.ne LBB0_2 ; %bb.1: Lloh0: adrp x9, _INITIAL_STATS_CAPACITY@GOTPAGE Lloh1: ldr x9, [x9, _INITIAL_STATS_CAPACITY@GOTPAGEOFF] lsl x8, x8, #1 Lloh2: ldr x9, [x9] cmp x9, x8 csel w8, w9, w8, hi ldr x0, [x0, #8] lsl w1, w8, #5 bl _realloc Lloh3: adrp x8, _YRMCDS_OUT_OF_MEMORY@GOTPAGE Lloh4: ldr x8, [x8, _YRMCDS_OUT_OF_MEMORY@GOTPAGEOFF] b LBB0_3 LBB0_2: ldr x9, [x0, #8] add x9, x9, x8, lsl #5 stp x2, x1, [x9, #16] stp x3, x4, [x9] add w8, w8, #1 str w8, [x0] Lloh5: adrp x8, _YRMCDS_OK@GOTPAGE Lloh6: ldr x8, [x8, _YRMCDS_OK@GOTPAGEOFF] LBB0_3: ldr w0, [x8] ldp x29, x30, [sp], #16 ; 16-byte Folded Reload ret .loh AdrpLdrGot Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGot Lloh5, Lloh6 .cfi_endproc ; -- End function .comm _INITIAL_STATS_CAPACITY,8,3 ; @INITIAL_STATS_CAPACITY .comm _YRMCDS_OUT_OF_MEMORY,4,2 ; @YRMCDS_OUT_OF_MEMORY .comm _YRMCDS_OK,4,2 ; @YRMCDS_OK .no_dead_strip _append_stat .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _tscAddParamToDataBlock ## -- Begin function tscAddParamToDataBlock .p2align 4, 0x90 _tscAddParamToDataBlock: ## @tscAddParamToDataBlock .cfi_startproc ## %bb.0: movslq (%rdi), %r10 leal -1(%r10), %eax movq 8(%rdi), %r9 cmpl 4(%rdi), %eax jle LBB0_2 ## %bb.1: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp shll $5, %eax movq %r9, %rdi movl %eax, %esi callq _realloc xorl %eax, %eax popq %rbp retq LBB0_2: movq %r10, %r11 shlq $4, %r11 leaq (%r9,%r11), %rax movl $-1, (%r9,%r11) movb %sil, 4(%r9,%r11) movl %edx, 12(%r9,%r11) movw %cx, 6(%r9,%r11) movl %r8d, 8(%r9,%r11) leal 1(%r10), %ecx movl %ecx, (%rdi) retq .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _tscAddParamToDataBlock ; -- Begin function tscAddParamToDataBlock .p2align 2 _tscAddParamToDataBlock: ; @tscAddParamToDataBlock .cfi_startproc ; %bb.0: ldp w9, w11, [x0] ; kill: def $w9 killed $w9 def $x9 sxtw x9, w9 sub w10, w9, #1 ldr x8, [x0, #8] cmp w10, w11 b.le LBB0_2 ; %bb.1: 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 lsl w1, w10, #5 mov x0, x8 bl _realloc ldp x29, x30, [sp], #16 ; 16-byte Folded Reload mov x0, #0 ; =0x0 ret LBB0_2: add x8, x8, x9, lsl #4 mov w10, #-1 ; =0xffffffff str w10, [x8] strb w1, [x8, #4] strh w3, [x8, #6] stp w4, w2, [x8, #8] add w9, w9, #1 str w9, [x0] mov x0, x8 ret .cfi_endproc ; -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _sshkey_alg_list ## -- Begin function sshkey_alg_list .p2align 4, 0x90 _sshkey_alg_list: ## @sshkey_alg_list .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $24, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %ecx, -52(%rbp) ## 4-byte Spill movq _keytypes@GOTPCREL(%rip), %rax movq (%rax), %r12 cmpl $-1, (%r12) je LBB0_14 ## %bb.1: movl %edx, %r15d addq $24, %r12 xorl %r13d, %r13d xorl %r14d, %r14d movl %edi, -48(%rbp) ## 4-byte Spill movl %esi, -44(%rbp) ## 4-byte Spill jmp LBB0_4 .p2align 4, 0x90 LBB0_2: ## in Loop: Header=BB0_4 Depth=1 cmpq $0, (%r12) je LBB0_6 LBB0_3: ## in Loop: Header=BB0_4 Depth=1 cmpl $-1, -56(%r12) leaq -32(%r12), %r12 je LBB0_15 LBB0_4: ## =>This Inner Loop Header: Depth=1 cmpq $0, -16(%r12) jne LBB0_15 ## %bb.5: ## in Loop: Header=BB0_4 Depth=1 testl %r15d, %r15d je LBB0_2 LBB0_6: ## in Loop: Header=BB0_4 Depth=1 testl %edi, %edi je LBB0_8 ## %bb.7: ## in Loop: Header=BB0_4 Depth=1 cmpq $0, -8(%r12) je LBB0_3 LBB0_8: ## in Loop: Header=BB0_4 Depth=1 testl %esi, %esi je LBB0_10 ## %bb.9: ## in Loop: Header=BB0_4 Depth=1 cmpq $0, -8(%r12) jne LBB0_3 LBB0_10: ## in Loop: Header=BB0_4 Depth=1 movl -52(%rbp), %eax ## 4-byte Reload movb %al, (%r14,%r13) movq -16(%r12), %rdi callq _strlen movq %rax, %rbx movq %r13, %rsi subq %rax, %rsi addq $3, %rsi movq %r14, %rdi callq _realloc testq %rax, %rax je LBB0_13 ## %bb.11: ## in Loop: Header=BB0_4 Depth=1 movq %rax, %r14 leaq (%rax,%r13), %rdi incq %rdi movq -16(%r12), %rsi leaq 1(%rbx), %rdx callq _memcpy addq %rbx, %r13 incq %r13 movl -44(%rbp), %esi ## 4-byte Reload movl -48(%rbp), %edi ## 4-byte Reload jmp LBB0_3 LBB0_13: movq %r14, %rdi callq _free LBB0_14: xorl %r14d, %r14d LBB0_15: movq %r14, %rax addq $24, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _keytypes,8,3 ## @keytypes .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _sshkey_alg_list ; -- Begin function sshkey_alg_list .p2align 2 _sshkey_alg_list: ; @sshkey_alg_list .cfi_startproc ; %bb.0: stp x28, x27, [sp, #-96]! ; 16-byte Folded Spill stp x26, x25, [sp, #16] ; 16-byte Folded Spill stp x24, x23, [sp, #32] ; 16-byte Folded Spill stp x22, x21, [sp, #48] ; 16-byte Folded Spill stp x20, x19, [sp, #64] ; 16-byte Folded Spill stp x29, x30, [sp, #80] ; 16-byte Folded Spill add x29, sp, #80 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset w27, -88 .cfi_offset w28, -96 Lloh0: adrp x8, _keytypes@GOTPAGE Lloh1: ldr x8, [x8, _keytypes@GOTPAGEOFF] Lloh2: ldr x8, [x8] ldr w9, [x8] cmn w9, #1 b.eq LBB0_13 ; %bb.1: mov x19, x3 mov x20, x2 mov x21, x1 mov x22, x0 mov x27, #0 ; =0x0 mov x23, #0 ; =0x0 add x26, x8, #24 b LBB0_4 LBB0_2: ; in Loop: Header=BB0_4 Depth=1 ldr x8, [x26] cbz x8, LBB0_6 LBB0_3: ; in Loop: Header=BB0_4 Depth=1 ldur w8, [x26, #-56] sub x26, x26, #32 cmn w8, #1 b.eq LBB0_14 LBB0_4: ; =>This Inner Loop Header: Depth=1 ldur x8, [x26, #-16] cbnz x8, LBB0_14 ; %bb.5: ; in Loop: Header=BB0_4 Depth=1 cbz w20, LBB0_2 LBB0_6: ; in Loop: Header=BB0_4 Depth=1 cbz w22, LBB0_8 ; %bb.7: ; in Loop: Header=BB0_4 Depth=1 ldur x8, [x26, #-8] cbz x8, LBB0_3 LBB0_8: ; in Loop: Header=BB0_4 Depth=1 cbz w21, LBB0_10 ; %bb.9: ; in Loop: Header=BB0_4 Depth=1 ldur x8, [x26, #-8] cbnz x8, LBB0_3 LBB0_10: ; in Loop: Header=BB0_4 Depth=1 strb w19, [x23, x27] ldur x0, [x26, #-16] bl _strlen mov x24, x0 sub x8, x27, x0 add x1, x8, #3 mov x0, x23 bl _realloc cbz x0, LBB0_12 ; %bb.11: ; in Loop: Header=BB0_4 Depth=1 mov x25, x0 add x23, x27, #1 ldur x1, [x26, #-16] add x0, x0, x23 add x2, x24, #1 bl _memcpy add x27, x24, x23 mov x23, x25 b LBB0_3 LBB0_12: mov x0, x23 bl _free LBB0_13: mov x23, #0 ; =0x0 LBB0_14: mov x0, x23 ldp x29, x30, [sp, #80] ; 16-byte Folded Reload ldp x20, x19, [sp, #64] ; 16-byte Folded Reload ldp x22, x21, [sp, #48] ; 16-byte Folded Reload ldp x24, x23, [sp, #32] ; 16-byte Folded Reload ldp x26, x25, [sp, #16] ; 16-byte Folded Reload ldp x28, x27, [sp], #96 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _keytypes,8,3 ; @keytypes .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function musicbrainz_fill_artists _musicbrainz_fill_artists: ## @musicbrainz_fill_artists .cfi_startproc ## %bb.0: 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), %rax movq _json_array@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax jne LBB0_4 ## %bb.1: cmpl $0, 16(%rdi) jle LBB0_4 ## %bb.2: movq 24(%rdi), %rax movl (%rax), %edi leaq L_.str(%rip), %rsi callq _json_getbyname movq %rax, %rbx movq (%rax), %rax movq _json_string@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax jne LBB0_4 ## %bb.3: movslq 8(%rbx), %r14 leaq 3(%r14), %rdi callq _malloc testq %rax, %rax je LBB0_4 ## %bb.5: movq %rax, %r15 movq %rax, %rdi callq _strlen movw $8236, (%r15,%rax) ## imm = 0x202C movb $0, 2(%r15,%rax) movl 12(%rbx), %esi movq %r15, %rdi movq %r14, %rdx addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp jmp _strncat ## TAILCALL LBB0_4: xorl %eax, %eax addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _json_array,8,3 ## @json_array .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "name" .comm _json_string,8,3 ## @json_string L_.str.1: ## @.str.1 .asciz ", " .no_dead_strip _musicbrainz_fill_artists .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function musicbrainz_fill_artists _musicbrainz_fill_artists: ; @musicbrainz_fill_artists .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 ldr x8, [x0] Lloh0: adrp x9, _json_array@GOTPAGE Lloh1: ldr x9, [x9, _json_array@GOTPAGEOFF] Lloh2: ldr x9, [x9] cmp x8, x9 b.ne LBB0_5 ; %bb.1: ldr w8, [x0, #16] cmp w8, #1 b.lt LBB0_5 ; %bb.2: ldr x8, [x0, #24] ldr w0, [x8] Lloh3: adrp x1, l_.str@PAGE Lloh4: add x1, x1, l_.str@PAGEOFF bl _json_getbyname ldr x8, [x0] Lloh5: adrp x9, _json_string@GOTPAGE Lloh6: ldr x9, [x9, _json_string@GOTPAGEOFF] Lloh7: ldr x9, [x9] cmp x8, x9 b.ne LBB0_5 ; %bb.3: mov x19, x0 ldrsw x20, [x0, #8] add x0, x20, #3 bl _malloc cbz x0, LBB0_5 ; %bb.4: mov x21, x0 bl _strlen add x8, x21, x0 mov w9, #8236 ; =0x202c strh w9, [x8] strb wzr, [x8, #2] ldr w1, [x19, #12] mov x0, x21 mov x2, x20 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload b _strncat LBB0_5: 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 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7 .loh AdrpAdd Lloh3, Lloh4 .cfi_endproc ; -- End function .comm _json_array,8,3 ; @json_array .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "name" .comm _json_string,8,3 ; @json_string l_.str.1: ; @.str.1 .asciz ", " .no_dead_strip _musicbrainz_fill_artists .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _dynarray_add ## -- Begin function dynarray_add .p2align 4, 0x90 _dynarray_add: ## @dynarray_add .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movslq (%rsi), %rax movq (%rdi), %rcx leal 1(%rax), %edi movq %rdx, (%rcx,%rax,8) movl %edi, (%rsi) 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 _dynarray_add ; -- Begin function dynarray_add .p2align 2 _dynarray_add: ; @dynarray_add .cfi_startproc ; %bb.0: ldrsw x8, [x1] ldr x9, [x0] add w10, w8, #1 str x2, [x9, x8, lsl #3] str w10, [x1] 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 insertOpcode _insertOpcode: ## @insertOpcode .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 _max_ops@GOTPCREL(%rip), %rbx movl (%rbx), %esi movq _op_array@GOTPCREL(%rip), %r14 movq (%r14), %rax .p2align 4, 0x90 LBB0_1: ## =>This Inner Loop Header: Depth=1 leal (%rsi,%rsi), %ecx movl %ecx, (%rbx) shll $3, %esi movq %rax, %rdi ## kill: def $esi killed $esi killed $rsi callq _realloc movq %rax, (%r14) movl (%rbx), %esi jmp LBB0_1 .cfi_endproc ## -- End function .comm _no_ops,4,2 ## @no_ops .comm _max_ops,4,2 ## @max_ops .comm _op_array,8,3 ## @op_array .no_dead_strip _insertOpcode .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function insertOpcode _insertOpcode: ; @insertOpcode .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, _max_ops@GOTPAGE Lloh1: ldr x19, [x19, _max_ops@GOTPAGEOFF] ldr w8, [x19] Lloh2: adrp x20, _op_array@GOTPAGE Lloh3: ldr x20, [x20, _op_array@GOTPAGEOFF] ldr x0, [x20] LBB0_1: ; =>This Inner Loop Header: Depth=1 lsl w9, w8, #1 str w9, [x19] lsl w1, w8, #3 bl _realloc str x0, [x20] ldr w8, [x19] b LBB0_1 .loh AdrpLdrGot Lloh2, Lloh3 .loh AdrpLdrGot Lloh0, Lloh1 .cfi_endproc ; -- End function .comm _no_ops,4,2 ; @no_ops .comm _max_ops,4,2 ; @max_ops .comm _op_array,8,3 ; @op_array .no_dead_strip _insertOpcode .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _fold ## -- Begin function fold .p2align 4, 0x90 _fold: ## @fold .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %edi, %r13d xorl %eax, %eax callq _getwchar movl %eax, %r14d movq _WEOF@GOTPCREL(%rip), %rax cmpb (%rax), %r14b jne LBB0_1 LBB0_24: addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_1: xorl %ebx, %ebx xorl %r12d, %r12d movl %r13d, -44(%rbp) ## 4-byte Spill jmp LBB0_2 .p2align 4, 0x90 LBB0_21: ## in Loop: Header=BB0_2 Depth=1 movslq %r12d, %rax incl %r12d movb %r14b, (%rdi,%rax) xorl %eax, %eax callq _getwchar movl %eax, %r14d movq _WEOF@GOTPCREL(%rip), %rax cmpb (%rax), %r14b je LBB0_22 LBB0_2: ## =>This Loop Header: Depth=1 ## Child Loop BB0_9 Depth 2 ## Child Loop BB0_15 Depth 2 cmpb $10, %r14b je LBB0_3 ## %bb.5: ## in Loop: Header=BB0_2 Depth=1 movsbl %r14b, %r15d movl %ebx, %edi movl %r15d, %esi callq _newpos cmpl %r13d, %eax jle LBB0_6 ## %bb.7: ## in Loop: Header=BB0_2 Depth=1 movq _sflag@GOTPCREL(%rip), %rax cmpq $0, (%rax) je LBB0_16 ## %bb.8: ## in Loop: Header=BB0_2 Depth=1 leal 2(%r12), %ecx movl $-2, %edx .p2align 4, 0x90 LBB0_9: ## Parent Loop BB0_2 Depth=1 ## => This Inner Loop Header: Depth=2 movl %ecx, %ebx movl %edx, %r13d cmpl $-1, %r12d jl LBB0_11 ## %bb.10: ## in Loop: Header=BB0_9 Depth=2 leal -1(%rbx), %eax movq _fold.buf(%rip), %rcx movl %eax, %eax movsbl (%rcx,%rax), %edi callq _iswblank leal 1(%rbx), %ecx leal -1(%r13), %edx testl %eax, %eax je LBB0_9 LBB0_11: ## in Loop: Header=BB0_2 Depth=1 movq _sflag@GOTPCREL(%rip), %rax cmpq $0, (%rax) je LBB0_16 ## %bb.12: ## in Loop: Header=BB0_2 Depth=1 testl %ebx, %ebx je LBB0_16 ## %bb.13: ## in Loop: Header=BB0_2 Depth=1 movq _fold.buf(%rip), %rdx leaq l_.str(%rip), %rdi movl %ebx, %esi callq _wprintf movq _fold.buf(%rip), %rdi negl %ebx movslq %ebx, %rsi addq %rdi, %rsi movl %r13d, %edx callq _wmemmove testl %r13d, %r13d jle LBB0_17 ## %bb.14: ## in Loop: Header=BB0_2 Depth=1 movl %r13d, %ebx xorl %r12d, %r12d xorl %eax, %eax .p2align 4, 0x90 LBB0_15: ## Parent Loop BB0_2 Depth=1 ## => This Inner Loop Header: Depth=2 movq _fold.buf(%rip), %rcx movsbl (%rcx,%r12), %esi movl %eax, %edi callq _newpos incq %r12 cmpq %r12, %rbx jne LBB0_15 jmp LBB0_18 .p2align 4, 0x90 LBB0_6: ## in Loop: Header=BB0_2 Depth=1 movl %eax, %ebx jmp LBB0_19 .p2align 4, 0x90 LBB0_16: ## in Loop: Header=BB0_2 Depth=1 movq _fold.buf(%rip), %rdx leaq l_.str(%rip), %rdi movl %r12d, %esi callq _wprintf xorl %r13d, %r13d LBB0_17: ## in Loop: Header=BB0_2 Depth=1 xorl %eax, %eax LBB0_18: ## in Loop: Header=BB0_2 Depth=1 movl %eax, %edi movl %r15d, %esi callq _newpos movl %eax, %ebx movl %r13d, %r12d movl -44(%rbp), %r13d ## 4-byte Reload LBB0_19: ## in Loop: Header=BB0_2 Depth=1 movl _fold.buf_max(%rip), %esi movq _fold.buf(%rip), %rdi cmpl %esi, %r12d jl LBB0_21 ## %bb.20: ## in Loop: Header=BB0_2 Depth=1 movq _LINE_MAX@GOTPCREL(%rip), %rax addl (%rax), %esi movl %esi, _fold.buf_max(%rip) callq _realloc movq %rax, _fold.buf(%rip) movl $1, %edi leaq L_.str.1(%rip), %rsi callq _err movq _fold.buf(%rip), %rdi jmp LBB0_21 LBB0_3: movq _fold.buf(%rip), %rdx leaq l_.str(%rip), %rdi jmp LBB0_4 LBB0_22: testl %r12d, %r12d je LBB0_24 ## %bb.23: movq _fold.buf(%rip), %rdx leaq l_.str.2(%rip), %rdi LBB0_4: movl %r12d, %esi addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp jmp _wprintf ## TAILCALL .cfi_endproc ## -- End function .zerofill __DATA,__bss,_fold.buf,8,3 ## @fold.buf .zerofill __DATA,__bss,_fold.buf_max,4,2 ## @fold.buf_max .comm _WEOF,1,0 ## @WEOF .section __TEXT,__const .p2align 2, 0x0 ## @.str l_.str: .long 37 ## 0x25 .long 46 ## 0x2e .long 42 ## 0x2a .long 108 ## 0x6c .long 115 ## 0x73 .long 10 ## 0xa .long 0 ## 0x0 .comm _sflag,8,3 ## @sflag .comm _LINE_MAX,8,3 ## @LINE_MAX .section __TEXT,__cstring,cstring_literals L_.str.1: ## @.str.1 .asciz "realloc()" .section __TEXT,__const .p2align 2, 0x0 ## @.str.2 l_.str.2: .long 37 ## 0x25 .long 46 ## 0x2e .long 42 ## 0x2a .long 108 ## 0x6c .long 115 ## 0x73 .long 0 ## 0x0 .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _fold ; -- Begin function fold .p2align 2 _fold: ; @fold .cfi_startproc ; %bb.0: stp x28, x27, [sp, #-96]! ; 16-byte Folded Spill stp x26, x25, [sp, #16] ; 16-byte Folded Spill stp x24, x23, [sp, #32] ; 16-byte Folded Spill stp x22, x21, [sp, #48] ; 16-byte Folded Spill stp x20, x19, [sp, #64] ; 16-byte Folded Spill stp x29, x30, [sp, #80] ; 16-byte Folded Spill add x29, sp, #80 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset w27, -88 .cfi_offset w28, -96 mov x19, x0 bl _getwchar Lloh0: adrp x27, _WEOF@GOTPAGE Lloh1: ldr x27, [x27, _WEOF@GOTPAGEOFF] ldrb w8, [x27] cmp w8, w0, uxtb b.ne LBB0_2 LBB0_1: ldp x29, x30, [sp, #80] ; 16-byte Folded Reload ldp x20, x19, [sp, #64] ; 16-byte Folded Reload ldp x22, x21, [sp, #48] ; 16-byte Folded Reload ldp x24, x23, [sp, #32] ; 16-byte Folded Reload ldp x26, x25, [sp, #16] ; 16-byte Folded Reload ldp x28, x27, [sp], #96 ; 16-byte Folded Reload ret LBB0_2: mov x20, x0 mov w26, #0 ; =0x0 mov w25, #0 ; =0x0 Lloh2: adrp x21, _sflag@GOTPAGE Lloh3: ldr x21, [x21, _sflag@GOTPAGEOFF] adrp x28, _fold.buf@PAGE adrp x22, _fold.buf_max@PAGE b LBB0_4 LBB0_3: ; in Loop: Header=BB0_4 Depth=1 add w25, w23, #1 strb w20, [x0, w23, sxtw] bl _getwchar mov x20, x0 ldrb w8, [x27] cmp w8, w0, uxtb b.eq LBB0_21 LBB0_4: ; =>This Loop Header: Depth=1 ; Child Loop BB0_8 Depth 2 ; Child Loop BB0_19 Depth 2 and w8, w20, #0xff cmp w8, #10 b.eq LBB0_20 ; %bb.5: ; in Loop: Header=BB0_4 Depth=1 sxtb w24, w20 mov x0, x26 mov x1, x24 bl _newpos cmp w0, w19 b.le LBB0_14 ; %bb.6: ; in Loop: Header=BB0_4 Depth=1 ldr x8, [x21] cbz x8, LBB0_11 ; %bb.7: ; in Loop: Header=BB0_4 Depth=1 add w8, w25, #2 mov w9, #-2 ; =0xfffffffe LBB0_8: ; Parent Loop BB0_4 Depth=1 ; => This Inner Loop Header: Depth=2 mov x26, x8 mov x23, x9 cmn w25, #1 b.lt LBB0_10 ; %bb.9: ; in Loop: Header=BB0_8 Depth=2 sub w8, w26, #1 ldr x9, [x28, _fold.buf@PAGEOFF] ldrsb w0, [x9, w8, uxtw] bl _iswblank add w8, w26, #1 sub w9, w23, #1 cbz w0, LBB0_8 LBB0_10: ; in Loop: Header=BB0_4 Depth=1 ldr x8, [x21] cmp x8, #0 ccmp w26, #0, #4, ne b.ne LBB0_17 LBB0_11: ; in Loop: Header=BB0_4 Depth=1 ldr x2, [x28, _fold.buf@PAGEOFF] Lloh4: adrp x0, l_.str@PAGE Lloh5: add x0, x0, l_.str@PAGEOFF mov x1, x25 bl _wprintf mov w23, #0 ; =0x0 LBB0_12: ; in Loop: Header=BB0_4 Depth=1 mov w0, #0 ; =0x0 LBB0_13: ; in Loop: Header=BB0_4 Depth=1 mov x1, x24 bl _newpos mov x26, x0 b LBB0_15 LBB0_14: ; in Loop: Header=BB0_4 Depth=1 mov x26, x0 mov x23, x25 LBB0_15: ; in Loop: Header=BB0_4 Depth=1 ldr w8, [x22, _fold.buf_max@PAGEOFF] ldr x0, [x28, _fold.buf@PAGEOFF] cmp w23, w8 b.lt LBB0_3 ; %bb.16: ; in Loop: Header=BB0_4 Depth=1 Lloh6: adrp x9, _LINE_MAX@GOTPAGE Lloh7: ldr x9, [x9, _LINE_MAX@GOTPAGEOFF] Lloh8: ldr w9, [x9] add w1, w8, w9 str w1, [x22, _fold.buf_max@PAGEOFF] bl _realloc str x0, [x28, _fold.buf@PAGEOFF] mov w0, #1 ; =0x1 Lloh9: adrp x1, l_.str.1@PAGE Lloh10: add x1, x1, l_.str.1@PAGEOFF bl _err ldr x0, [x28, _fold.buf@PAGEOFF] b LBB0_3 LBB0_17: ; in Loop: Header=BB0_4 Depth=1 ldr x2, [x28, _fold.buf@PAGEOFF] Lloh11: adrp x0, l_.str@PAGE Lloh12: add x0, x0, l_.str@PAGEOFF mov x1, x26 bl _wprintf ldr x0, [x28, _fold.buf@PAGEOFF] neg w8, w26 add x1, x0, w8, sxtw mov x2, x23 bl _wmemmove cmp w23, #1 b.lt LBB0_12 ; %bb.18: ; in Loop: Header=BB0_4 Depth=1 mov x25, #0 ; =0x0 mov w0, #0 ; =0x0 mov w26, w23 LBB0_19: ; Parent Loop BB0_4 Depth=1 ; => This Inner Loop Header: Depth=2 ldr x8, [x28, _fold.buf@PAGEOFF] ldrsb w1, [x8, x25] bl _newpos add x25, x25, #1 cmp x26, x25 b.ne LBB0_19 b LBB0_13 LBB0_20: ldr x2, [x28, _fold.buf@PAGEOFF] Lloh13: adrp x0, l_.str@PAGE Lloh14: add x0, x0, l_.str@PAGEOFF b LBB0_23 LBB0_21: cbz w25, LBB0_1 ; %bb.22: ldr x2, [x28, _fold.buf@PAGEOFF] Lloh15: adrp x0, l_.str.2@PAGE Lloh16: add x0, x0, l_.str.2@PAGEOFF LBB0_23: mov x1, x25 ldp x29, x30, [sp, #80] ; 16-byte Folded Reload ldp x20, x19, [sp, #64] ; 16-byte Folded Reload ldp x22, x21, [sp, #48] ; 16-byte Folded Reload ldp x24, x23, [sp, #32] ; 16-byte Folded Reload ldp x26, x25, [sp, #16] ; 16-byte Folded Reload ldp x28, x27, [sp], #96 ; 16-byte Folded Reload b _wprintf .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGot Lloh2, Lloh3 .loh AdrpAdd Lloh4, Lloh5 .loh AdrpAdd Lloh9, Lloh10 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpAdd Lloh11, Lloh12 .loh AdrpAdd Lloh13, Lloh14 .loh AdrpAdd Lloh15, Lloh16 .cfi_endproc ; -- End function .zerofill __DATA,__bss,_fold.buf,8,3 ; @fold.buf .zerofill __DATA,__bss,_fold.buf_max,4,2 ; @fold.buf_max .comm _WEOF,1,0 ; @WEOF .section __TEXT,__const .p2align 2, 0x0 ; @.str l_.str: .long 37 ; 0x25 .long 46 ; 0x2e .long 42 ; 0x2a .long 108 ; 0x6c .long 115 ; 0x73 .long 10 ; 0xa .long 0 ; 0x0 .comm _sflag,8,3 ; @sflag .comm _LINE_MAX,8,3 ; @LINE_MAX .section __TEXT,__cstring,cstring_literals l_.str.1: ; @.str.1 .asciz "realloc()" .section __TEXT,__const .p2align 2, 0x0 ; @.str.2 l_.str.2: .long 37 ; 0x25 .long 46 ; 0x2e .long 42 ; 0x2a .long 108 ; 0x6c .long 115 ; 0x73 .long 0 ; 0x0 .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function cmdline_add_arg _cmdline_add_arg: ## @cmdline_add_arg .cfi_startproc ## %bb.0: 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 cmpq $0, 16(%rdi) je LBB0_2 ## %bb.1: movq _ARCHIVE_FAILED@GOTPCREL(%rip), %r15 LBB0_5: movl (%r15), %eax addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq LBB0_2: movq %rdi, %rbx movq %rsi, %r14 movq (%rdi), %rdi movl 8(%rbx), %eax leal -16(,%rax,8), %esi callq _realloc movq _ARCHIVE_FATAL@GOTPCREL(%rip), %r15 testq %rax, %rax je LBB0_5 ## %bb.3: movq %rax, (%rbx) movq %r14, %rdi movq %rax, %r14 callq _strdup movslq 8(%rbx), %rcx movq %rax, (%r14,%rcx,8) movq (%rbx), %rax cmpq $0, (%rax,%rcx,8) je LBB0_5 ## %bb.4: leaq 1(%rcx), %rdx movl %edx, 8(%rbx) movq $0, 8(%rax,%rcx,8) movq _ARCHIVE_OK@GOTPCREL(%rip), %r15 jmp LBB0_5 .cfi_endproc ## -- End function .comm _ARCHIVE_FAILED,4,2 ## @ARCHIVE_FAILED .comm _ARCHIVE_FATAL,4,2 ## @ARCHIVE_FATAL .comm _ARCHIVE_OK,4,2 ## @ARCHIVE_OK .no_dead_strip _cmdline_add_arg .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function cmdline_add_arg _cmdline_add_arg: ; @cmdline_add_arg .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 ldr x8, [x0, #16] cbz x8, LBB0_2 ; %bb.1: Lloh0: adrp x8, _ARCHIVE_FAILED@GOTPAGE Lloh1: ldr x8, [x8, _ARCHIVE_FAILED@GOTPAGEOFF] b LBB0_6 LBB0_2: mov x19, x0 mov x20, x1 ldr x0, [x0] ldr w8, [x19, #8] lsl w8, w8, #3 sub w1, w8, #16 bl _realloc cbz x0, LBB0_5 ; %bb.3: str x0, [x19] mov x21, x0 mov x0, x20 bl _strdup ldrsw x9, [x19, #8] str x0, [x21, x9, lsl #3] ldr x8, [x19] ldr x10, [x8, x9, lsl #3] cbz x10, LBB0_5 ; %bb.4: add x9, x9, #1 str w9, [x19, #8] str xzr, [x8, x9, lsl #3] Lloh2: adrp x8, _ARCHIVE_OK@GOTPAGE Lloh3: ldr x8, [x8, _ARCHIVE_OK@GOTPAGEOFF] b LBB0_6 LBB0_5: Lloh4: adrp x8, _ARCHIVE_FATAL@GOTPAGE Lloh5: ldr x8, [x8, _ARCHIVE_FATAL@GOTPAGEOFF] LBB0_6: ldr w0, [x8] ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGot Lloh2, Lloh3 .loh AdrpLdrGot Lloh4, Lloh5 .cfi_endproc ; -- End function .comm _ARCHIVE_FAILED,4,2 ; @ARCHIVE_FAILED .comm _ARCHIVE_FATAL,4,2 ; @ARCHIVE_FATAL .comm _ARCHIVE_OK,4,2 ; @ARCHIVE_OK .no_dead_strip _cmdline_add_arg .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function get_new_event _get_new_event: ## @get_new_event .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx .cfi_offset %rbx, -48 .cfi_offset %r12, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %esi, %r14d movq %rdi, %rbx movl $16, %edi callq _zalloc movq %rax, %r15 movq (%rbx), %r12 movl %r14d, 8(%rax) movq %r12, (%rax) leaq -1(%r12), %rax movq %rax, (%rbx) leaq -8(,%r12,8), %rsi movq 8(%rbx), %rdi callq _realloc movq %rax, 8(%rbx) xorl %edi, %edi testq %rax, %rax sete %dil callq _BUG_ON movq 8(%rbx), %rax movq %r15, (%rax,%r12,8) movq %r15, %rax popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _get_new_event .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function get_new_event _get_new_event: ; @get_new_event .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x19, x1 mov x20, x0 mov w0, #16 ; =0x10 bl _zalloc mov x21, x0 str w19, [x0, #8] ldp x19, x0, [x20] str x19, [x21] sub x8, x19, #1 str x8, [x20] lsl x1, x8, #3 bl _realloc str x0, [x20, #8] cmp x0, #0 cset w0, eq bl _BUG_ON ldr x8, [x20, #8] str x21, [x8, x19, lsl #3] mov x0, x21 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 _get_new_event .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _tSQLListListAppend ## -- Begin function tSQLListListAppend .p2align 4, 0x90 _tSQLListListAppend: ## @tSQLListListAppend .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movq %rsi, %rbx testq %rdi, %rdi je LBB0_1 ## %bb.2: movl $1, %edi movl $16, %esi callq _calloc movq %rax, %r14 jmp LBB0_3 LBB0_1: xorl %r14d, %r14d LBB0_3: movl (%r14), %eax cmpl 4(%r14), %eax jle LBB0_7 ## %bb.4: xorl %edi, %edi cmpq $0, 8(%r14) setne %dil jmp LBB0_5 LBB0_7: movl %eax, %ecx addl %ecx, %ecx leal -4(,%rax,2), %eax movl %eax, (%r14) movq 8(%r14), %rdi leal -32(,%rcx,8), %esi callq _realloc movq %rax, 8(%r14) movl $1, %edi testq %rax, %rax je LBB0_8 LBB0_5: callq _assert testq %rbx, %rbx je LBB0_9 ## %bb.6: movq 8(%r14), %rax movslq 4(%r14), %rcx leal -1(%rcx), %edx movl %edx, 4(%r14) movq %rbx, (%rax,%rcx,8) jmp LBB0_9 LBB0_8: movq $0, (%r14) LBB0_9: movq %r14, %rax popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _tSQLListListAppend ; -- Begin function tSQLListListAppend .p2align 2 _tSQLListListAppend: ; @tSQLListListAppend .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x1 cbz x0, LBB0_2 ; %bb.1: mov w0, #1 ; =0x1 mov w1, #16 ; =0x10 bl _calloc mov x20, x0 b LBB0_3 LBB0_2: mov x20, #0 ; =0x0 LBB0_3: ldp w8, w9, [x20] cmp w8, w9 b.le LBB0_5 ; %bb.4: ldr x8, [x20, #8] cmp x8, #0 cset w0, ne bl _assert cbnz x19, LBB0_7 b LBB0_9 LBB0_5: lsl w8, w8, #1 sub w8, w8, #4 str w8, [x20] ldr x0, [x20, #8] lsl w1, w8, #3 bl _realloc str x0, [x20, #8] cbz x0, LBB0_8 ; %bb.6: mov w0, #1 ; =0x1 bl _assert cbz x19, LBB0_9 LBB0_7: ldr x8, [x20, #8] ldrsw x9, [x20, #4] sub w10, w9, #1 str w10, [x20, #4] str x19, [x8, x9, lsl #3] b LBB0_9 LBB0_8: str xzr, [x20] LBB0_9: mov x0, x20 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 mms_ParsePacket _mms_ParsePacket: ## @mms_ParsePacket .cfi_startproc ## %bb.0: 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), %rax movq %rdx, (%rcx) cmpq $8, %rdx ja LBB0_2 ## %bb.1: leaq L_.str(%rip), %rsi xorl %eax, %eax callq _msg_Warn movl $-1, %eax jmp LBB0_16 LBB0_2: movq %rcx, %r13 movq %rdx, %r12 movq %rsi, %rbx movq %rax, -56(%rbp) ## 8-byte Spill movq %rdi, %r14 movl 16(%rsi), %r15d movq %rsi, %rdi callq _GetDWLE movl %eax, -44(%rbp) ## 4-byte Spill leaq 24(%rbx), %rdi callq _GetWLE cmpq %r12, %rax jae LBB0_4 ## %bb.3: movq %rax, (%r13) LBB0_4: cmpl $255, %r15d movq %r14, %rdi jne LBB0_6 ## %bb.5: leaq L_.str.1(%rip), %rsi xorl %eax, %eax callq _msg_Warn movq _MMS_PACKET_UDP_TIMING@GOTPCREL(%rip), %rax jmp LBB0_15 LBB0_6: movq -56(%rbp), %r14 ## 8-byte Reload cmpl (%r14), %r15d jne LBB0_9 ## %bb.7: movl -44(%rbp), %ecx ## 4-byte Reload incl %ecx movl %ecx, 8(%r14) movq 16(%r14), %rdi addq $-8, %rax movq 24(%r14), %rsi addq %rax, %rsi movq %rax, %r15 callq _realloc testq %rax, %rax je LBB0_14 ## %bb.8: movq 24(%r14), %rcx leaq (%rax,%rcx,4), %rdi addq $32, %rbx movq %rbx, %rsi movq %r15, %rdx movq %rax, %rbx callq _memcpy movq %rbx, 16(%r14) addq %r15, 24(%r14) movq _MMS_PACKET_HEADER@GOTPCREL(%rip), %rax jmp LBB0_15 LBB0_9: cmpl 4(%r14), %r15d jne LBB0_12 ## %bb.10: movl -44(%rbp), %ecx ## 4-byte Reload incl %ecx movl %ecx, 8(%r14) movq 32(%r14), %rdi movq %rax, %r15 callq _free addq $-8, %r15 movq %r15, %rdi callq _malloc xorps %xmm0, %xmm0 movups %xmm0, 40(%r14) movq %rax, 32(%r14) testq %rax, %rax je LBB0_14 ## %bb.11: addq $40, %r14 movq %r15, (%r14) addq $32, %rbx movq %rax, %rdi movq %rbx, %rsi movq %r15, %rdx callq _memcpy movq _MMS_PACKET_MEDIA@GOTPCREL(%rip), %rax jmp LBB0_15 LBB0_14: movq _VLC_ENOMEM@GOTPCREL(%rip), %rax LBB0_15: movl (%rax), %eax LBB0_16: addq $24, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_12: leaq L_.str.2(%rip), %rsi movl %r15d, %edx xorl %eax, %eax callq _msg_Warn movl $-1, %eax jmp LBB0_16 .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "truncated packet (header incomplete)" L_.str.1: ## @.str.1 .asciz "receive MMS UDP pair timing" .comm _MMS_PACKET_UDP_TIMING,4,2 ## @MMS_PACKET_UDP_TIMING L_.str.2: ## @.str.2 .asciz "incorrect Packet Id Type (0x%x)" .comm _VLC_ENOMEM,4,2 ## @VLC_ENOMEM .comm _MMS_PACKET_HEADER,4,2 ## @MMS_PACKET_HEADER .comm _MMS_PACKET_MEDIA,4,2 ## @MMS_PACKET_MEDIA .no_dead_strip _mms_ParsePacket .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function mms_ParsePacket _mms_ParsePacket: ; @mms_ParsePacket .cfi_startproc ; %bb.0: sub sp, sp, #96 stp x26, x25, [sp, #16] ; 16-byte Folded Spill stp x24, x23, [sp, #32] ; 16-byte Folded Spill stp x22, x21, [sp, #48] ; 16-byte Folded Spill stp x20, x19, [sp, #64] ; 16-byte Folded Spill stp x29, x30, [sp, #80] ; 16-byte Folded Spill add x29, sp, #80 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 ldr x23, [x0] str x2, [x3] cmp x2, #8 b.hi LBB0_3 ; %bb.1: Lloh0: adrp x1, l_.str@PAGE Lloh1: add x1, x1, l_.str@PAGEOFF LBB0_2: bl _msg_Warn mov w0, #-1 ; =0xffffffff b LBB0_15 LBB0_3: mov x21, x3 mov x22, x2 mov x19, x1 mov x25, x0 ldr w24, [x1, #16] mov x0, x1 bl _GetDWLE mov x20, x0 add x0, x19, #24 bl _GetWLE cmp x0, x22 b.hs LBB0_5 ; %bb.4: str x0, [x21] LBB0_5: cmp w24, #255 mov x8, x25 b.ne LBB0_7 ; %bb.6: Lloh2: adrp x1, l_.str.1@PAGE Lloh3: add x1, x1, l_.str.1@PAGEOFF mov x0, x8 bl _msg_Warn Lloh4: adrp x8, _MMS_PACKET_UDP_TIMING@GOTPAGE Lloh5: ldr x8, [x8, _MMS_PACKET_UDP_TIMING@GOTPAGEOFF] b LBB0_14 LBB0_7: ldr w9, [x23] cmp w24, w9 b.ne LBB0_10 ; %bb.8: add w8, w20, #1 str w8, [x23, #8] ldp x8, x9, [x23, #16] sub x20, x0, #8 add x1, x20, x9 mov x0, x8 bl _realloc cbz x0, LBB0_13 ; %bb.9: ldr x8, [x23, #24] add x8, x0, x8, lsl #2 add x1, x19, #32 mov x19, x0 mov x0, x8 mov x2, x20 bl _memcpy ldr x8, [x23, #24] add x8, x8, x20 stp x19, x8, [x23, #16] Lloh6: adrp x8, _MMS_PACKET_HEADER@GOTPAGE Lloh7: ldr x8, [x8, _MMS_PACKET_HEADER@GOTPAGEOFF] b LBB0_14 LBB0_10: ldr w9, [x23, #4] cmp w24, w9 b.ne LBB0_16 ; %bb.11: add w8, w20, #1 str w8, [x23, #8] ldr x8, [x23, #32] mov x20, x0 mov x0, x8 bl _free sub x20, x20, #8 mov x0, x20 bl _malloc mov x8, x23 stp xzr, xzr, [x8, #40]! str x0, [x23, #32] cbz x0, LBB0_13 ; %bb.12: str x20, [x8] add x1, x19, #32 mov x2, x20 bl _memcpy Lloh8: adrp x8, _MMS_PACKET_MEDIA@GOTPAGE Lloh9: ldr x8, [x8, _MMS_PACKET_MEDIA@GOTPAGEOFF] b LBB0_14 LBB0_13: Lloh10: adrp x8, _VLC_ENOMEM@GOTPAGE Lloh11: ldr x8, [x8, _VLC_ENOMEM@GOTPAGEOFF] LBB0_14: ldr w0, [x8] LBB0_15: ldp x29, x30, [sp, #80] ; 16-byte Folded Reload ldp x20, x19, [sp, #64] ; 16-byte Folded Reload ldp x22, x21, [sp, #48] ; 16-byte Folded Reload ldp x24, x23, [sp, #32] ; 16-byte Folded Reload ldp x26, x25, [sp, #16] ; 16-byte Folded Reload add sp, sp, #96 ret LBB0_16: str x24, [sp] Lloh12: adrp x1, l_.str.2@PAGE Lloh13: add x1, x1, l_.str.2@PAGEOFF mov x0, x8 b LBB0_2 .loh AdrpAdd Lloh0, Lloh1 .loh AdrpLdrGot Lloh4, Lloh5 .loh AdrpAdd Lloh2, Lloh3 .loh AdrpLdrGot Lloh6, Lloh7 .loh AdrpLdrGot Lloh8, Lloh9 .loh AdrpLdrGot Lloh10, Lloh11 .loh AdrpAdd Lloh12, Lloh13 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "truncated packet (header incomplete)" l_.str.1: ; @.str.1 .asciz "receive MMS UDP pair timing" .comm _MMS_PACKET_UDP_TIMING,4,2 ; @MMS_PACKET_UDP_TIMING l_.str.2: ; @.str.2 .asciz "incorrect Packet Id Type (0x%x)" .comm _VLC_ENOMEM,4,2 ; @VLC_ENOMEM .comm _MMS_PACKET_HEADER,4,2 ; @MMS_PACKET_HEADER .comm _MMS_PACKET_MEDIA,4,2 ; @MMS_PACKET_MEDIA .no_dead_strip _mms_ParsePacket .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _strsplit_by_char ## -- Begin function strsplit_by_char .p2align 4, 0x90 _strsplit_by_char: ## @strsplit_by_char .cfi_startproc ## %bb.0: 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, %r15d movq %rsi, %rbx movq %rdi, %r14 testq %rdi, %rdi je LBB0_3 ## %bb.1: cmpb $0, (%r14) je LBB0_2 LBB0_3: movl $64, %edi callq _malloc xorl %ecx, %ecx testq %rax, %rax je LBB0_19 ## %bb.4: movl $8, %r13d .p2align 4, 0x90 LBB0_5: ## =>This Loop Header: Depth=1 ## Child Loop BB0_6 Depth 2 ## Child Loop BB0_10 Depth 2 movq %r14, %rdx .p2align 4, 0x90 LBB0_6: ## Parent Loop BB0_5 Depth=1 ## => This Inner Loop Header: Depth=2 movzbl (%rdx), %esi incq %rdx cmpb %r15b, %sil je LBB0_8 ## %bb.7: ## in Loop: Header=BB0_6 Depth=2 testb %sil, %sil jne LBB0_6 LBB0_8: ## in Loop: Header=BB0_5 Depth=1 testb %sil, %sil je LBB0_14 ## %bb.9: ## in Loop: Header=BB0_5 Depth=1 movb $0, -1(%rdx) movl %ecx, %esi orl $1, %esi movl %ecx, %edi movq %r14, (%rax,%rdi,8) movq %rdx, %r14 .p2align 4, 0x90 LBB0_10: ## Parent Loop BB0_5 Depth=1 ## => This Inner Loop Header: Depth=2 movzbl (%r14), %edi incq %r14 cmpb %r15b, %dil je LBB0_12 ## %bb.11: ## in Loop: Header=BB0_10 Depth=2 testb %dil, %dil jne LBB0_10 LBB0_12: ## in Loop: Header=BB0_5 Depth=1 testb %dil, %dil je LBB0_13 ## %bb.16: ## in Loop: Header=BB0_5 Depth=1 movb $0, -1(%r14) addl $2, %ecx movl %esi, %esi movq %rdx, (%rax,%rsi,8) cmpl %r13d, %ecx jne LBB0_5 ## %bb.17: ## in Loop: Header=BB0_5 Depth=1 leal (,%r13,2), %ecx movl %ecx, -44(%rbp) ## 4-byte Spill movl %r13d, %esi shll $4, %esi movq %rax, %r12 movq %rax, %rdi callq _realloc movl %r13d, %ecx movl -44(%rbp), %edx ## 4-byte Reload movl %edx, %r13d testq %rax, %rax jne LBB0_5 ## %bb.18: movq %r12, %rdi callq _free jmp LBB0_19 LBB0_2: movl $0, (%rbx) LBB0_19: xorl %eax, %eax jmp LBB0_20 LBB0_13: movl %esi, %ecx movq %rdx, %r14 LBB0_14: movl %ecx, %edx movq %r14, (%rax,%rdx,8) testq %rbx, %rbx je LBB0_20 ## %bb.15: incl %ecx movl %ecx, (%rbx) LBB0_20: addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _strsplit_by_char ; -- Begin function strsplit_by_char .p2align 2 _strsplit_by_char: ; @strsplit_by_char .cfi_startproc ; %bb.0: stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill stp x22, x21, [sp, #16] ; 16-byte Folded Spill stp x20, x19, [sp, #32] ; 16-byte Folded Spill stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 mov x21, x2 mov x19, x1 mov x20, x0 cbz x0, LBB0_2 ; %bb.1: ldrb w8, [x20] cbz w8, LBB0_12 LBB0_2: mov w0, #64 ; =0x40 bl _malloc cbz x0, LBB0_13 ; %bb.3: mov w8, #0 ; =0x0 and w22, w21, #0xff mov w23, #8 ; =0x8 LBB0_4: ; =>This Loop Header: Depth=1 ; Child Loop BB0_5 Depth 2 mov x9, x20 LBB0_5: ; Parent Loop BB0_4 Depth=1 ; => This Inner Loop Header: Depth=2 ldrb w10, [x20], #1 cmp w10, w22 ccmp w10, #0, #4, ne b.ne LBB0_5 ; %bb.6: ; in Loop: Header=BB0_5 Depth=2 cbz w10, LBB0_10 ; %bb.7: ; in Loop: Header=BB0_5 Depth=2 sturb wzr, [x20, #-1] str x9, [x0, w8, uxtw #3] add w10, w8, #1 mov x8, x10 mov x9, x20 cmp w10, w23 b.ne LBB0_5 ; %bb.8: ; in Loop: Header=BB0_4 Depth=1 lsl w24, w23, #1 lsl w1, w23, #4 mov x21, x0 bl _realloc mov x8, x23 mov x23, x24 cbnz x0, LBB0_4 ; %bb.9: mov x0, x21 bl _free mov x0, #0 ; =0x0 b LBB0_13 LBB0_10: str x9, [x0, w8, uxtw #3] cbz x19, LBB0_13 ; %bb.11: add w8, w8, #1 str w8, [x19] b LBB0_13 LBB0_12: mov x0, #0 ; =0x0 str wzr, [x19] LBB0_13: ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload ldp x24, x23, [sp], #64 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function moreargs _moreargs: ## @moreargs .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 _argmax@GOTPCREL(%rip), %rbx movl (%rbx), %eax leal (%rax,%rax), %ecx testl %eax, %eax movl $32, %esi cmovnel %ecx, %esi movl %esi, (%rbx) movq _INT_MAX@GOTPCREL(%rip), %rax movl (%rax), %eax leal 3(%rax), %ecx testl %eax, %eax cmovnsl %eax, %ecx sarl $2, %ecx cmpl %ecx, %esi jl LBB0_2 ## %bb.1: leaq L_.str(%rip), %rdi callq _warnx xorl %eax, %eax callq _crash movl (%rbx), %esi LBB0_2: movq _arglist@GOTPCREL(%rip), %r14 movq (%r14), %rdi shll $3, %esi callq _realloc movq %rax, %rbx testq %rax, %rax jne LBB0_4 ## %bb.3: leaq L_.str.1(%rip), %rdi callq _warnx xorl %eax, %eax callq _crash LBB0_4: movq (%r14), %rdi callq _free movq %rbx, (%r14) popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .comm _argmax,4,2 ## @argmax .comm _INT_MAX,4,2 ## @INT_MAX .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "refusing to allocate too many arguments" .comm _arglist,8,3 ## @arglist L_.str.1: ## @.str.1 .asciz "unable to allocate arglist" .no_dead_strip _moreargs .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function moreargs _moreargs: ; @moreargs .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, _argmax@GOTPAGE Lloh1: ldr x19, [x19, _argmax@GOTPAGEOFF] ldr w8, [x19] lsl w9, w8, #1 mov w10, #32 ; =0x20 cmp w8, #0 csel w8, w10, w9, eq Lloh2: adrp x9, _INT_MAX@GOTPAGE Lloh3: ldr x9, [x9, _INT_MAX@GOTPAGEOFF] str w8, [x19] Lloh4: ldr w9, [x9] add w10, w9, #3 cmp w9, #0 csel w9, w10, w9, lt cmp w8, w9, asr #2 b.lt LBB0_2 ; %bb.1: Lloh5: adrp x0, l_.str@PAGE Lloh6: add x0, x0, l_.str@PAGEOFF bl _warnx bl _crash ldr w8, [x19] LBB0_2: Lloh7: adrp x20, _arglist@GOTPAGE Lloh8: ldr x20, [x20, _arglist@GOTPAGEOFF] ldr x0, [x20] lsl w1, w8, #3 bl _realloc mov x19, x0 cbnz x0, LBB0_4 ; %bb.3: Lloh9: adrp x0, l_.str.1@PAGE Lloh10: add x0, x0, l_.str.1@PAGEOFF bl _warnx bl _crash LBB0_4: ldr x0, [x20] bl _free str x19, [x20] 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 AdrpAdd Lloh5, Lloh6 .loh AdrpLdrGot Lloh7, Lloh8 .loh AdrpAdd Lloh9, Lloh10 .cfi_endproc ; -- End function .comm _argmax,4,2 ; @argmax .comm _INT_MAX,4,2 ; @INT_MAX .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "refusing to allocate too many arguments" .comm _arglist,8,3 ; @arglist l_.str.1: ; @.str.1 .asciz "unable to allocate arglist" .no_dead_strip _moreargs .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_symbol _add_new_symbol: ## @add_new_symbol .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movq %rsi, %rbx movq %rdi, %r14 movq 8(%rdi), %rdi movl (%r14), %eax leal -8(,%rax,8), %esi callq _realloc movq %rax, 8(%r14) movq %rbx, %rdi callq _strdup movq 8(%r14), %rcx movslq (%r14), %rdx leal 1(%rdx), %esi movl %esi, (%r14) movl %eax, (%rcx,%rdx,4) popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _add_new_symbol .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function add_new_symbol _add_new_symbol: ; @add_new_symbol .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x1 mov x20, x0 ldr x0, [x0, #8] ldr w8, [x20] lsl w8, w8, #3 sub w1, w8, #8 bl _realloc str x0, [x20, #8] mov x0, x19 bl _strdup ldr x8, [x20, #8] ldrsw x9, [x20] add w10, w9, #1 str w10, [x20] str w0, [x8, x9, lsl #2] ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .no_dead_strip _add_new_symbol .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _loop_add_fd ## -- Begin function loop_add_fd .p2align 4, 0x90 _loop_add_fd: ## @loop_add_fd .cfi_startproc ## %bb.0: 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, %r12 movq %rcx, %r13 movl %edx, %ebx movl %esi, %r14d movq %rdi, %r15 movl $1, %edi movl $16, %esi callq _calloc testq %rax, %rax je LBB0_5 ## %bb.1: movq %r13, (%rax) movq %r12, 8(%rax) movl 16(%r15), %edi movq %rax, %rsi callq _list_add movl (%r15), %ecx cmpl 4(%r15), %ecx jne LBB0_2 ## %bb.3: leal 10(%rcx), %eax movl %eax, 4(%r15) movq 8(%r15), %rdi leal 40(,%rcx,4), %eax leal (%rax,%rax,2), %esi callq _realloc movq %rax, 8(%r15) movl (%r15), %ecx jmp LBB0_4 LBB0_5: movq _SWAY_ERROR@GOTPCREL(%rip), %rax movl (%rax), %edi leaq L_.str(%rip), %rsi addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp jmp _sway_log ## TAILCALL LBB0_2: movq 8(%r15), %rax LBB0_4: leal 1(%rcx), %edx movl %edx, (%r15) movslq %ecx, %rcx leaq (%rcx,%rcx,2), %rcx movl %r14d, (%rax,%rcx,4) movw %bx, 4(%rax,%rcx,4) movl $0, 8(%rax,%rcx,4) addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _SWAY_ERROR,4,2 ## @SWAY_ERROR .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "Unable to allocate memory for event" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _loop_add_fd ; -- Begin function loop_add_fd .p2align 2 _loop_add_fd: ; @loop_add_fd .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 x23, x3 mov x19, x2 mov x20, x1 mov x21, x0 mov w0, #1 ; =0x1 mov w1, #16 ; =0x10 bl _calloc cbz x0, LBB0_3 ; %bb.1: mov x1, x0 stp x23, x22, [x0] ldr w0, [x21, #16] bl _list_add ldp w8, w9, [x21] cmp w8, w9 b.ne LBB0_4 ; %bb.2: add w8, w8, #10 str w8, [x21, #4] ldr x0, [x21, #8] add w8, w8, w8, lsl #1 lsl w1, w8, #2 bl _realloc str x0, [x21, #8] ldr w8, [x21] b LBB0_5 LBB0_3: Lloh0: adrp x8, _SWAY_ERROR@GOTPAGE Lloh1: ldr x8, [x8, _SWAY_ERROR@GOTPAGEOFF] Lloh2: ldr w0, [x8] Lloh3: adrp x1, l_.str@PAGE Lloh4: add x1, x1, l_.str@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 _sway_log LBB0_4: ldr x0, [x21, #8] LBB0_5: add w9, w8, #1 str w9, [x21] mov w9, #12 ; =0xc smaddl x8, w8, w9, x0 str w20, [x8] strh w19, [x8, #4] str wzr, [x8, #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 ldp x24, x23, [sp], #64 ; 16-byte Folded Reload ret .loh AdrpAdd Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _SWAY_ERROR,4,2 ; @SWAY_ERROR .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "Unable to allocate memory for event" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function hb_bitvec_add_bits _hb_bitvec_add_bits: ## @hb_bitvec_add_bits .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx .cfi_offset %rbx, -48 .cfi_offset %r12, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %esi, %r14d movq %rdi, %rbx movl (%rdi), %eax leal 31(%rax), %r15d sarl $5, %r15d leal (%rax,%r14), %esi addl $31, %esi sarl $5, %esi movl %esi, %r12d subl %r15d, %r12d jle LBB0_4 ## %bb.1: movq 8(%rbx), %rdi shll $3, %esi callq _realloc testq %rax, %rax je LBB0_2 ## %bb.3: movslq %r15d, %rcx leaq (%rax,%rcx,8), %rdi leaq 8(,%r12,8), %rsi movq %rax, %r15 callq ___bzero movq %r15, 8(%rbx) movl (%rbx), %eax LBB0_4: addl %r14d, %eax movl %eax, (%rbx) xorl %eax, %eax LBB0_5: popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq LBB0_2: movl $-1, %eax jmp LBB0_5 .cfi_endproc ## -- End function .no_dead_strip _hb_bitvec_add_bits .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function hb_bitvec_add_bits _hb_bitvec_add_bits: ; @hb_bitvec_add_bits .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x20, x1 mov x19, x0 ldr w8, [x0] add w9, w8, #31 asr w21, w9, #5 add w9, w9, w1 asr w9, w9, #5 subs w22, w9, w21 b.le LBB0_3 ; %bb.1: ldr x0, [x19, #8] lsl w1, w9, #3 bl _realloc cbz x0, LBB0_5 ; %bb.2: ubfiz x9, x22, #3, #32 add x8, x0, w21, sxtw #3 add x1, x9, #8 mov x21, x0 mov x0, x8 bl _bzero str x21, [x19, #8] ldr w8, [x19] LBB0_3: mov w0, #0 ; =0x0 add w8, w8, w20 str w8, [x19] LBB0_4: ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret LBB0_5: mov w0, #-1 ; =0xffffffff b LBB0_4 .cfi_endproc ; -- End function .no_dead_strip _hb_bitvec_add_bits .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function insert_padding _insert_padding: ## @insert_padding .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $40, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rsi, %rbx movq %rdi, %r15 movl (%rsi), %edi callq _malloc testq %rax, %rax je LBB0_1 ## %bb.2: movq %rax, %r14 movq (%r15), %rdi movl (%rbx), %edx movq %rax, %rsi callq _bcopy leaq -44(%rbp), %rsi movl %r14d, %edi callq _pe_get_optional_header movq %rax, %rcx xorl %eax, %eax testq %rcx, %rcx jne LBB0_9 ## %bb.3: movq %rbx, -72(%rbp) ## 8-byte Spill movl %r14d, %edi callq _pe_numsections movl %eax, %ebx movq %r14, %rdi callq _SET_HDRS testl %ebx, %ebx jle LBB0_8 ## %bb.4: movq %r15, -64(%rbp) ## 8-byte Spill xorl %ebx, %ebx ## implicit-def: $r13 xorl %r12d, %r12d .p2align 4, 0x90 LBB0_5: ## =>This Inner Loop Header: Depth=1 movslq (%r13), %rcx movl 4(%r13), %eax movl %eax, -48(%rbp) ## 4-byte Spill movl 8(%r13), %edi movl %edi, (%r13) movq %rcx, -80(%rbp) ## 8-byte Spill subl %ecx, %edi movl -44(%rbp), %esi callq _ROUND_UP movq %rax, %r15 addl %r12d, %r15d movl 12(%r13), %edi movl -44(%rbp), %esi callq _ROUND_UP movq %rax, %r12 movl 4(%r13), %edi movl -44(%rbp), %esi callq _ROUND_UP subl %eax, %r12d addl %r15d, %r12d movq -72(%rbp), %rax ## 8-byte Reload movl (%rax), %esi subl %r12d, %esi movq %r14, %rdi callq _realloc testq %rax, %rax je LBB0_6 ## %bb.7: ## in Loop: Header=BB0_5 Depth=1 movq %rax, %r15 movq %rax, %rdi callq _SET_HDRS movq %rbx, -56(%rbp) ## 8-byte Spill movq -56(%rbp), %rbx ## 8-byte Reload shlq $4, %rbx movslq (%r13,%rbx), %r14 addq %r15, %r14 movl 12(%r13,%rbx), %edi movl -44(%rbp), %esi callq _ROUND_UP movq %r14, %rdi movq %rax, %rsi callq _bzero movq -64(%rbp), %rax ## 8-byte Reload movq -80(%rbp), %rdi ## 8-byte Reload addq (%rax), %rdi movslq (%r13,%rbx), %rsi addq %r15, %rsi movl -48(%rbp), %edx ## 4-byte Reload callq _bcopy addq %rbx, %r13 addq $16, %r13 movq -56(%rbp), %rbx ## 8-byte Reload decq %rbx movq %r15, %r14 jmp LBB0_5 LBB0_6: movq %r14, %rdi callq _free LBB0_1: movq _ENOMEM@GOTPCREL(%rip), %rax movl (%rax), %eax LBB0_9: addq $40, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_8: movq (%r15), %rdi callq _free movq %r14, (%r15) xorl %eax, %eax jmp LBB0_9 .cfi_endproc ## -- End function .comm _ENOMEM,4,2 ## @ENOMEM .no_dead_strip _insert_padding .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function insert_padding _insert_padding: ; @insert_padding .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 w0, [x1] bl _malloc cbz x0, LBB0_8 ; %bb.1: mov x21, x0 ldr x0, [x19] ldr w2, [x20] mov x1, x21 bl _bcopy add x1, sp, #12 mov x0, x21 bl _pe_get_optional_header cbz x0, LBB0_3 ; %bb.2: mov w0, #0 ; =0x0 b LBB0_9 LBB0_3: mov x0, x21 bl _pe_numsections mov x22, x0 mov x0, x21 bl _SET_HDRS cmp w22, #1 b.lt LBB0_10 ; %bb.4: mov x24, #0 ; =0x0 mov w25, #0 ; =0x0 ; implicit-def: $x27 LBB0_5: ; =>This Inner Loop Header: Depth=1 ldp w26, w22, [x27] ; kill: def $w26 killed $w26 def $x26 sxtw x26, w26 ldr w8, [x27, #8] str w8, [x27] sub w0, w8, w26 ldr w1, [sp, #12] bl _ROUND_UP add w25, w25, w0 ldr w0, [x27, #12] ldr w1, [sp, #12] bl _ROUND_UP mov x23, x0 ldr w0, [x27, #4] ldr w1, [sp, #12] bl _ROUND_UP sub w8, w23, w0 add w25, w25, w8 ldr w8, [x20] sub w1, w8, w25 mov x0, x21 bl _realloc cbz x0, LBB0_7 ; %bb.6: ; in Loop: Header=BB0_5 Depth=1 mov x23, x0 bl _SET_HDRS add x21, x27, x24, lsl #4 ldrsw x27, [x21] ldr w0, [x21, #12] ldr w1, [sp, #12] bl _ROUND_UP mov x1, x0 add x0, x23, x27 bl _bzero ldr x8, [x19] ldrsw x9, [x21] add x0, x8, x26 add x1, x23, x9 mov x2, x22 bl _bcopy add x27, x21, #16 sub x24, x24, #1 mov x21, x23 b LBB0_5 LBB0_7: mov x0, x21 bl _free LBB0_8: Lloh0: adrp x8, _ENOMEM@GOTPAGE Lloh1: ldr x8, [x8, _ENOMEM@GOTPAGEOFF] Lloh2: ldr w0, [x8] LBB0_9: ldp x29, x30, [sp, #96] ; 16-byte Folded Reload ldp x20, x19, [sp, #80] ; 16-byte Folded Reload ldp x22, x21, [sp, #64] ; 16-byte Folded Reload ldp x24, x23, [sp, #48] ; 16-byte Folded Reload ldp x26, x25, [sp, #32] ; 16-byte Folded Reload ldp x28, x27, [sp, #16] ; 16-byte Folded Reload add sp, sp, #112 ret LBB0_10: ldr x0, [x19] bl _free mov w0, #0 ; =0x0 str x21, [x19] b LBB0_9 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _ENOMEM,4,2 ; @ENOMEM .no_dead_strip _insert_padding .subsections_via_symbols