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 grow_buffer _grow_buffer: ## @grow_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 %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movl %esi, %r14d movq %rdi, %rbx movq 8(%rdi), %rdi callq _realloc testq %rax, %rax je LBB0_2 ## %bb.1: movl 16(%rbx), %edi movq _PCAP_ERRBUF_SIZE@GOTPCREL(%rip), %rax movl (%rax), %esi leaq L_.str(%rip), %rdx callq _pcap_snprintf xorl %eax, %eax jmp LBB0_3 LBB0_2: movq $0, 8(%rbx) movl %r14d, (%rbx) movl $1, %eax LBB0_3: popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .comm _PCAP_ERRBUF_SIZE,4,2 ## @PCAP_ERRBUF_SIZE .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "out of memory" .no_dead_strip _grow_buffer .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function grow_buffer _grow_buffer: ; @grow_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 x20, x1 mov x19, x0 ldr x0, [x0, #8] bl _realloc cbz x0, LBB0_2 ; %bb.1: ldr w0, [x19, #16] Lloh0: adrp x8, _PCAP_ERRBUF_SIZE@GOTPAGE Lloh1: ldr x8, [x8, _PCAP_ERRBUF_SIZE@GOTPAGEOFF] Lloh2: ldr w1, [x8] Lloh3: adrp x2, l_.str@PAGE Lloh4: add x2, x2, l_.str@PAGEOFF bl _pcap_snprintf mov w0, #0 ; =0x0 b LBB0_3 LBB0_2: str xzr, [x19, #8] str w20, [x19] mov w0, #1 ; =0x1 LBB0_3: 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 _PCAP_ERRBUF_SIZE,4,2 ; @PCAP_ERRBUF_SIZE .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "out of memory" .no_dead_strip _grow_buffer .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function bridge_port_get_iflist _bridge_port_get_iflist: ## @bridge_port_get_iflist .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_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 $0, (%rsi) movl (%rdi), %esi movq _IFNAMSIZ@GOTPCREL(%rip), %rax movl (%rax), %edx callq _strlcpy movq _BRDGGIFS@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -64(%rbp) movl $16, -80(%rbp) leaq -56(%rbp), %rax movq %rax, -72(%rbp) movq (%rbx), %rdi movl $512, %r14d ## imm = 0x200 movl $512, %esi ## imm = 0x200 callq _realloc testq %rax, %rax je LBB0_5 ## %bb.1: movl $128, %r13d leaq -80(%rbp), %r15 .p2align 4, 0x90 LBB0_2: ## =>This Inner Loop Header: Depth=1 movl %r14d, -56(%rbp) movq %rax, (%rbx) movq %rax, -48(%rbp) movq _sock@GOTPCREL(%rip), %rax movl (%rax), %edi movq _SIOCGDRVSPEC@GOTPCREL(%rip), %rax movl (%rax), %esi movq %r15, %rdx callq _ioctl testq %rax, %rax js LBB0_3 ## %bb.4: ## in Loop: Header=BB0_2 Depth=1 movslq -56(%rbp), %rax addq $4, %rax movslq %r14d, %rcx leal 64(%r13), %r12d cmpq %rcx, %rax cmovbl %r13d, %r12d leal (,%r12,4), %r14d movq (%rbx), %rdi movl %r14d, %esi callq _realloc movl %r12d, %r13d testq %rax, %rax jne LBB0_2 LBB0_5: movq _LOG_ERR@GOTPCREL(%rip), %rax movl (%rax), %r14d movq _errno@GOTPCREL(%rip), %rax movl (%rax), %edi callq _strerror leaq L_.str(%rip), %rsi movl %r14d, %edi movl %eax, %edx callq _syslog movq (%rbx), %rdi callq _free movq $0, (%rbx) jmp LBB0_6 LBB0_3: movq _LOG_ERR@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 _syslog movq (%rbx), %rdi callq _free LBB0_6: movl $-1, %eax addq $40, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _IFNAMSIZ,4,2 ## @IFNAMSIZ .comm _BRDGGIFS,4,2 ## @BRDGGIFS .comm _LOG_ERR,4,2 ## @LOG_ERR .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "get bridge member list: realloc failed: %s" .comm _errno,4,2 ## @errno .comm _sock,4,2 ## @sock .comm _SIOCGDRVSPEC,4,2 ## @SIOCGDRVSPEC L_.str.1: ## @.str.1 .asciz "get bridge member list: ioctl (BRDGGIFS) failed: %s" .no_dead_strip _bridge_port_get_iflist .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function bridge_port_get_iflist _bridge_port_get_iflist: ; @bridge_port_get_iflist .cfi_startproc ; %bb.0: sub sp, sp, #112 stp x24, x23, [sp, #48] ; 16-byte Folded Spill stp x22, x21, [sp, #64] ; 16-byte Folded Spill stp x20, x19, [sp, #80] ; 16-byte Folded Spill stp x29, x30, [sp, #96] ; 16-byte Folded Spill add x29, sp, #96 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 mov x19, x1 str xzr, [x1] ldr w1, [x0] Lloh0: adrp x8, _IFNAMSIZ@GOTPAGE Lloh1: ldr x8, [x8, _IFNAMSIZ@GOTPAGEOFF] Lloh2: ldr w2, [x8] bl _strlcpy Lloh3: adrp x8, _BRDGGIFS@GOTPAGE Lloh4: ldr x8, [x8, _BRDGGIFS@GOTPAGEOFF] Lloh5: ldr w8, [x8] str w8, [sp, #24] mov w8, #16 ; =0x10 str w8, [sp, #8] add x8, sp, #32 str x8, [sp, #16] ldr x0, [x19] mov w1, #512 ; =0x200 bl _realloc cbz x0, LBB0_4 ; %bb.1: mov w21, #128 ; =0x80 mov w20, #512 ; =0x200 Lloh6: adrp x22, _sock@GOTPAGE Lloh7: ldr x22, [x22, _sock@GOTPAGEOFF] Lloh8: adrp x23, _SIOCGDRVSPEC@GOTPAGE Lloh9: ldr x23, [x23, _SIOCGDRVSPEC@GOTPAGEOFF] LBB0_2: ; =>This Inner Loop Header: Depth=1 str w20, [sp, #32] str x0, [x19] str x0, [sp, #40] ldr w0, [x22] ldr w1, [x23] add x2, sp, #8 bl _ioctl tbnz x0, #63, LBB0_5 ; %bb.3: ; in Loop: Header=BB0_2 Depth=1 ldrsw x8, [sp, #32] add x8, x8, #4 add w9, w21, #64 cmp x8, w20, sxtw csel w21, w21, w9, lo lsl w20, w21, #2 ldr x0, [x19] mov x1, x20 bl _realloc cbnz x0, LBB0_2 LBB0_4: Lloh10: adrp x8, _LOG_ERR@GOTPAGE Lloh11: ldr x8, [x8, _LOG_ERR@GOTPAGEOFF] Lloh12: ldr w20, [x8] Lloh13: adrp x8, _errno@GOTPAGE Lloh14: ldr x8, [x8, _errno@GOTPAGEOFF] Lloh15: ldr w0, [x8] bl _strerror mov x2, x0 Lloh16: adrp x1, l_.str@PAGE Lloh17: add x1, x1, l_.str@PAGEOFF mov x0, x20 bl _syslog ldr x0, [x19] bl _free str xzr, [x19] b LBB0_6 LBB0_5: Lloh18: adrp x8, _LOG_ERR@GOTPAGE Lloh19: ldr x8, [x8, _LOG_ERR@GOTPAGEOFF] Lloh20: ldr w20, [x8] Lloh21: adrp x8, _errno@GOTPAGE Lloh22: ldr x8, [x8, _errno@GOTPAGEOFF] Lloh23: ldr w0, [x8] bl _strerror mov x2, x0 Lloh24: adrp x1, l_.str.1@PAGE Lloh25: add x1, x1, l_.str.1@PAGEOFF mov x0, x20 bl _syslog ldr x0, [x19] bl _free LBB0_6: mov w0, #-1 ; =0xffffffff ldp x29, x30, [sp, #96] ; 16-byte Folded Reload ldp x20, x19, [sp, #80] ; 16-byte Folded Reload ldp x22, x21, [sp, #64] ; 16-byte Folded Reload ldp x24, x23, [sp, #48] ; 16-byte Folded Reload add sp, sp, #112 ret .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGot Lloh8, Lloh9 .loh AdrpLdrGot Lloh6, Lloh7 .loh AdrpAdd Lloh16, Lloh17 .loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh15 .loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12 .loh AdrpAdd Lloh24, Lloh25 .loh AdrpLdrGotLdr Lloh21, Lloh22, Lloh23 .loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh20 .cfi_endproc ; -- End function .comm _IFNAMSIZ,4,2 ; @IFNAMSIZ .comm _BRDGGIFS,4,2 ; @BRDGGIFS .comm _LOG_ERR,4,2 ; @LOG_ERR .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "get bridge member list: realloc failed: %s" .comm _errno,4,2 ; @errno .comm _sock,4,2 ; @sock .comm _SIOCGDRVSPEC,4,2 ; @SIOCGDRVSPEC l_.str.1: ; @.str.1 .asciz "get bridge member list: ioctl (BRDGGIFS) failed: %s" .no_dead_strip _bridge_port_get_iflist .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function reserveAllocatedDesc _reserveAllocatedDesc: ## @reserveAllocatedDesc .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_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 _numAllocatedDescs@GOTPCREL(%rip), %rdx movq _maxAllocatedDescs@GOTPCREL(%rip), %r14 movl (%r14), %eax movl $1, %ecx cmpl %eax, (%rdx) jle LBB0_7 ## %bb.1: movq _allocatedDescs@GOTPCREL(%rip), %r15 movq (%r15), %rdi testq %rdi, %rdi je LBB0_2 ## %bb.4: movq _max_safe_fds@GOTPCREL(%rip), %rcx movl (%rcx), %ecx movl %ecx, %r12d shrl $31, %r12d addl %ecx, %r12d sarl %r12d xorl %ecx, %ecx cmpl %eax, %r12d jle LBB0_7 ## %bb.5: leal (,%r12,4), %esi callq _realloc xorl %ecx, %ecx testq %rax, %rax jne LBB0_6 jmp LBB0_7 LBB0_2: movq _FD_MINFREE@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, %r12d shrl $31, %r12d addl %eax, %r12d sarl %r12d leal (,%r12,4), %edi callq _malloc testq %rax, %rax jne LBB0_6 ## %bb.3: movq _ERROR@GOTPCREL(%rip), %rcx movl (%rcx), %ebx movq _ERRCODE_OUT_OF_MEMORY@GOTPCREL(%rip), %rcx movl (%rcx), %edi movq %rax, %r13 callq _errcode leaq L_.str(%rip), %rdi callq _errmsg movl %ebx, %edi movl %eax, %esi callq _ereport movq %r13, %rax LBB0_6: movq %rax, (%r15) movl %r12d, (%r14) movl $1, %ecx LBB0_7: movl %ecx, %eax addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _numAllocatedDescs,4,2 ## @numAllocatedDescs .comm _maxAllocatedDescs,4,2 ## @maxAllocatedDescs .comm _allocatedDescs,8,3 ## @allocatedDescs .comm _FD_MINFREE,4,2 ## @FD_MINFREE .comm _ERROR,4,2 ## @ERROR .comm _ERRCODE_OUT_OF_MEMORY,4,2 ## @ERRCODE_OUT_OF_MEMORY .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "out of memory" .comm _max_safe_fds,4,2 ## @max_safe_fds .no_dead_strip _reserveAllocatedDesc .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function reserveAllocatedDesc _reserveAllocatedDesc: ; @reserveAllocatedDesc .cfi_startproc ; %bb.0: stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill stp x22, x21, [sp, #16] ; 16-byte Folded Spill stp x20, x19, [sp, #32] ; 16-byte Folded Spill stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 Lloh0: adrp x8, _numAllocatedDescs@GOTPAGE Lloh1: ldr x8, [x8, _numAllocatedDescs@GOTPAGEOFF] Lloh2: ldr w9, [x8] Lloh3: adrp x20, _maxAllocatedDescs@GOTPAGE Lloh4: ldr x20, [x20, _maxAllocatedDescs@GOTPAGEOFF] ldr w8, [x20] cmp w9, w8 b.le LBB0_7 ; %bb.1: Lloh5: adrp x21, _allocatedDescs@GOTPAGE Lloh6: ldr x21, [x21, _allocatedDescs@GOTPAGEOFF] ldr x0, [x21] cbz x0, LBB0_4 ; %bb.2: Lloh7: adrp x9, _max_safe_fds@GOTPAGE Lloh8: ldr x9, [x9, _max_safe_fds@GOTPAGEOFF] Lloh9: ldr w9, [x9] add w9, w9, w9, lsr #31 asr w22, w9, #1 cmp w22, w8 b.le LBB0_9 ; %bb.3: lsl w1, w22, #2 bl _realloc cbnz x0, LBB0_6 b LBB0_8 LBB0_4: Lloh10: adrp x8, _FD_MINFREE@GOTPAGE Lloh11: ldr x8, [x8, _FD_MINFREE@GOTPAGEOFF] Lloh12: ldr w8, [x8] add w8, w8, w8, lsr #31 asr w22, w8, #1 lsl w0, w22, #2 bl _malloc cbnz x0, LBB0_6 ; %bb.5: Lloh13: adrp x8, _ERROR@GOTPAGE Lloh14: ldr x8, [x8, _ERROR@GOTPAGEOFF] Lloh15: ldr w19, [x8] Lloh16: adrp x8, _ERRCODE_OUT_OF_MEMORY@GOTPAGE Lloh17: ldr x8, [x8, _ERRCODE_OUT_OF_MEMORY@GOTPAGEOFF] Lloh18: ldr w8, [x8] mov x23, x0 mov x0, x8 bl _errcode Lloh19: adrp x0, l_.str@PAGE Lloh20: add x0, x0, l_.str@PAGEOFF bl _errmsg mov x1, x0 mov x0, x19 bl _ereport mov x0, x23 LBB0_6: str x0, [x21] str w22, [x20] LBB0_7: mov w0, #1 ; =0x1 LBB0_8: ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload ldp x24, x23, [sp], #64 ; 16-byte Folded Reload ret LBB0_9: mov w0, #0 ; =0x0 b LBB0_8 .loh AdrpLdrGot Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGot Lloh5, Lloh6 .loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9 .loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12 .loh AdrpAdd Lloh19, Lloh20 .loh AdrpLdrGotLdr Lloh16, Lloh17, Lloh18 .loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh15 .cfi_endproc ; -- End function .comm _numAllocatedDescs,4,2 ; @numAllocatedDescs .comm _maxAllocatedDescs,4,2 ; @maxAllocatedDescs .comm _allocatedDescs,8,3 ; @allocatedDescs .comm _FD_MINFREE,4,2 ; @FD_MINFREE .comm _ERROR,4,2 ; @ERROR .comm _ERRCODE_OUT_OF_MEMORY,4,2 ; @ERRCODE_OUT_OF_MEMORY .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "out of memory" .comm _max_safe_fds,4,2 ; @max_safe_fds .no_dead_strip _reserveAllocatedDesc .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _ckrealloc ## -- Begin function ckrealloc .p2align 4, 0x90 _ckrealloc: ## @ckrealloc .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), %rdi movq %rax, %rbx callq _error movq %rbx, %rax LBB0_2: addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .comm _INTOFF,4,2 ## @INTOFF .comm _INTON,4,2 ## @INTON .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "Out of space" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _ckrealloc ; -- Begin function ckrealloc .p2align 2 _ckrealloc: ; @ckrealloc .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, l_.str@PAGE Lloh1: add x8, x8, l_.str@PAGEOFF mov x19, x0 mov x0, x8 bl _error 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 .comm _INTOFF,4,2 ; @INTOFF .comm _INTON,4,2 ; @INTON .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "Out of space" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _register_module_func ## -- Begin function register_module_func .p2align 4, 0x90 _register_module_func: ## @register_module_func .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rsi, %rbx movq %rdi, %r14 movq _g_moddef_num@GOTPCREL(%rip), %rax movq (%rax), %rcx movl %edx, %r15d movq (%rcx,%r15,8), %rax movq _g_moddef_capacity@GOTPCREL(%rip), %r13 movq (%r13), %rdx cmpq (%rdx,%r15,8), %rax jne LBB0_4 ## %bb.1: leaq (%rax,%rax), %rcx testq %rax, %rax movl $16, %r12d cmovneq %rcx, %r12 movq _g_moddef@GOTPCREL(%rip), %rax movq (%rax), %rax movq (%rax,%r15,8), %rdi movq %r12, %rsi shlq $4, %rsi callq _realloc testq %rax, %rax jne LBB0_3 ## %bb.2: movl $3735928495, %ecx ## imm = 0xDEADBEAF movb $0, (%rcx) LBB0_3: movq _g_moddef@GOTPCREL(%rip), %rcx movq (%rcx), %rcx movq %rax, (%rcx,%r15,8) movq (%r13), %rax movq %r12, (%rax,%r15,8) movq _g_moddef_num@GOTPCREL(%rip), %rax movq (%rax), %rcx movq (%rcx,%r15,8), %rax LBB0_4: movq _g_moddef@GOTPCREL(%rip), %rdx movq (%rdx), %rdx movq (%rdx,%r15,8), %rdx leaq -1(%rax), %rsi movq %rsi, (%rcx,%r15,8) shlq $4, %rax movq %rdx, %rcx subq %rax, %rcx negq %rax movq %r14, (%rdx,%rax) movq %rbx, 8(%rcx) addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _g_moddef_num,8,3 ## @g_moddef_num .comm _g_moddef_capacity,8,3 ## @g_moddef_capacity .comm _g_moddef,8,3 ## @g_moddef .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _register_module_func ; -- Begin function register_module_func .p2align 2 _register_module_func: ; @register_module_func .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 x19, x1 mov x20, x0 Lloh0: adrp x23, _g_moddef_num@GOTPAGE Lloh1: ldr x23, [x23, _g_moddef_num@GOTPAGEOFF] ldr x9, [x23] ldr x8, [x9, w2, uxtw #3] Lloh2: adrp x24, _g_moddef_capacity@GOTPAGE Lloh3: ldr x24, [x24, _g_moddef_capacity@GOTPAGEOFF] ldr x10, [x24] ldr x10, [x10, w2, uxtw #3] Lloh4: adrp x22, _g_moddef@GOTPAGE Lloh5: ldr x22, [x22, _g_moddef@GOTPAGEOFF] cmp x8, x10 b.ne LBB0_4 ; %bb.1: lsl x9, x8, #1 mov w10, #16 ; =0x10 cmp x8, #0 csel x25, x10, x9, eq ldr x8, [x22] ldr x0, [x8, w21, uxtw #3] lsl x1, x25, #4 bl _realloc cbnz x0, LBB0_3 ; %bb.2: mov w8, #48815 ; =0xbeaf movk w8, #57005, lsl #16 strb wzr, [x8] LBB0_3: ldr x8, [x22] str x0, [x8, w21, uxtw #3] ldr x8, [x24] str x25, [x8, w21, uxtw #3] ldr x9, [x23] ldr x8, [x9, w21, uxtw #3] LBB0_4: ldr x10, [x22] ldr x10, [x10, w21, uxtw #3] sub x11, x8, #1 str x11, [x9, w21, uxtw #3] sub x8, x10, x8, lsl #4 stp x20, x19, [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 Lloh4, Lloh5 .loh AdrpLdrGot Lloh2, Lloh3 .loh AdrpLdrGot Lloh0, Lloh1 .cfi_endproc ; -- End function .comm _g_moddef_num,8,3 ; @g_moddef_num .comm _g_moddef_capacity,8,3 ; @g_moddef_capacity .comm _g_moddef,8,3 ; @g_moddef .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _cgoto ## -- Begin function cgoto .p2align 4, 0x90 _cgoto: ## @cgoto .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_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, %r15d movq _HAT@GOTPCREL(%rip), %rax cmpl %edx, (%rax) sete %al movq _NCHARS@GOTPCREL(%rip), %rcx movl %edx, -44(%rbp) ## 4-byte Spill cmpl %edx, (%rcx) movq %rdi, %rbx setg %cl andb %al, %cl movzbl %cl, %edi callq _assert movq %rbx, -56(%rbp) ## 8-byte Spill movl (%rbx), %eax movq _maxsetvec@GOTPCREL(%rip), %r13 movl (%r13), %esi cmpl %esi, %eax jge LBB0_1 LBB0_5: testl %eax, %eax movq -56(%rbp), %r12 ## 8-byte Reload js LBB0_8 ## %bb.6: movq _setvec@GOTPCREL(%rip), %rax movq (%rax), %rax xorl %ecx, %ecx .p2align 4, 0x90 LBB0_7: ## =>This Inner Loop Header: Depth=1 movl $0, (%rax,%rcx,4) decq %rcx movslq (%r12), %rdx cmpq %rdx, %rcx jle LBB0_7 LBB0_8: movq _setcnt@GOTPCREL(%rip), %rax movl $0, (%rax) movq 8(%r12), %rax movslq %r15d, %rcx movq %rcx, -80(%rbp) ## 8-byte Spill movq (%rax,%rcx,8), %rdx cmpl $0, (%rdx) jle LBB0_9 ## %bb.10: movl $1, %ecx movq %rdx, -64(%rbp) ## 8-byte Spill jmp LBB0_11 .p2align 4, 0x90 LBB0_35: ## in Loop: Header=BB0_11 Depth=1 movq -72(%rbp), %rsi ## 8-byte Reload leaq 1(%rsi), %rax movq -64(%rbp), %rdx ## 8-byte Reload movslq (%rdx), %rcx cmpq %rcx, %rsi movq %rax, %rcx jge LBB0_36 LBB0_11: ## =>This Loop Header: Depth=1 ## Child Loop BB0_29 Depth 2 movq -56(%rbp), %rax ## 8-byte Reload movq 48(%rax), %rax movq %rcx, -72(%rbp) ## 8-byte Spill movslq (%rdx,%rcx,4), %rcx shlq $5, %rcx movl (%rax,%rcx), %ebx movq _FINAL@GOTPCREL(%rip), %rdx cmpl (%rdx), %ebx je LBB0_35 ## %bb.12: ## in Loop: Header=BB0_11 Depth=1 movq _CHAR@GOTPCREL(%rip), %rdx cmpl (%rdx), %ebx jne LBB0_14 ## %bb.13: ## in Loop: Header=BB0_11 Depth=1 addq %rcx, %rax movl 24(%rax), %edi callq _ptoi cmpl -44(%rbp), %eax ## 4-byte Folded Reload je LBB0_27 LBB0_14: ## in Loop: Header=BB0_11 Depth=1 cmpl $0, -44(%rbp) ## 4-byte Folded Reload je LBB0_17 ## %bb.15: ## in Loop: Header=BB0_11 Depth=1 movq _DOT@GOTPCREL(%rip), %rax cmpl (%rax), %ebx jne LBB0_17 ## %bb.16: ## in Loop: Header=BB0_11 Depth=1 movl -44(%rbp), %eax ## 4-byte Reload movq _HAT@GOTPCREL(%rip), %rcx cmpl %eax, (%rcx) jne LBB0_27 LBB0_17: ## in Loop: Header=BB0_11 Depth=1 cmpl $0, -44(%rbp) ## 4-byte Folded Reload je LBB0_19 ## %bb.18: ## in Loop: Header=BB0_11 Depth=1 movq _ALL@GOTPCREL(%rip), %rax cmpl (%rax), %ebx je LBB0_27 LBB0_19: ## in Loop: Header=BB0_11 Depth=1 cmpl $0, -44(%rbp) ## 4-byte Folded Reload je LBB0_21 ## %bb.20: ## in Loop: Header=BB0_11 Depth=1 movq _EMPTYRE@GOTPCREL(%rip), %rax cmpl (%rax), %ebx je LBB0_27 LBB0_21: ## in Loop: Header=BB0_11 Depth=1 movq _CCL@GOTPCREL(%rip), %rax cmpl (%rax), %ebx jne LBB0_23 ## %bb.22: ## in Loop: Header=BB0_11 Depth=1 movq -56(%rbp), %rax ## 8-byte Reload movq 48(%rax), %rax movq -64(%rbp), %rcx ## 8-byte Reload movq -72(%rbp), %rdx ## 8-byte Reload movslq (%rcx,%rdx,4), %rcx shlq $5, %rcx movq 16(%rax,%rcx), %rsi movl -44(%rbp), %edi ## 4-byte Reload callq _member testq %rax, %rax jne LBB0_27 LBB0_23: ## in Loop: Header=BB0_11 Depth=1 movq _NCCL@GOTPCREL(%rip), %rax cmpl (%rax), %ebx jne LBB0_35 ## %bb.24: ## in Loop: Header=BB0_11 Depth=1 movq -56(%rbp), %rax ## 8-byte Reload movq 48(%rax), %rax movq -64(%rbp), %rcx ## 8-byte Reload movq -72(%rbp), %rdx ## 8-byte Reload movslq (%rcx,%rdx,4), %rcx shlq $5, %rcx movq 16(%rax,%rcx), %rsi movl -44(%rbp), %ebx ## 4-byte Reload movl %ebx, %edi callq _member testl %ebx, %ebx je LBB0_35 ## %bb.25: ## in Loop: Header=BB0_11 Depth=1 testq %rax, %rax jne LBB0_35 ## %bb.26: ## in Loop: Header=BB0_11 Depth=1 movl -44(%rbp), %eax ## 4-byte Reload movq _HAT@GOTPCREL(%rip), %rcx cmpl %eax, (%rcx) je LBB0_35 .p2align 4, 0x90 LBB0_27: ## in Loop: Header=BB0_11 Depth=1 movq -56(%rbp), %rax ## 8-byte Reload movq 48(%rax), %rax movq -64(%rbp), %rcx ## 8-byte Reload movq -72(%rbp), %rdx ## 8-byte Reload movslq (%rcx,%rdx,4), %rcx shlq $5, %rcx movq 8(%rax,%rcx), %r14 cmpl $0, (%r14) jle LBB0_35 ## %bb.28: ## in Loop: Header=BB0_11 Depth=1 movq _setvec@GOTPCREL(%rip), %rax movq (%rax), %rdi xorl %ebx, %ebx jmp LBB0_29 .p2align 4, 0x90 LBB0_32: ## in Loop: Header=BB0_29 Depth=2 movslq 4(%r14,%rbx,4), %rax cmpl $0, (%rdi,%rax,4) je LBB0_33 LBB0_34: ## in Loop: Header=BB0_29 Depth=2 movslq (%r14), %rax incq %rbx cmpq %rax, %rbx jge LBB0_35 LBB0_29: ## Parent Loop BB0_11 Depth=1 ## => This Inner Loop Header: Depth=2 movl (%r13), %esi cmpl %esi, 4(%r14,%rbx,4) jl LBB0_32 ## %bb.30: ## in Loop: Header=BB0_29 Depth=2 leal (,%rsi,4), %eax movl %eax, (%r13) shll $4, %esi ## kill: def $esi killed $esi killed $rsi callq _realloc movq _setvec@GOTPCREL(%rip), %r12 movq %rax, (%r12) movq _tmpset@GOTPCREL(%rip), %r15 movq (%r15), %rdi movl (%r13), %esi shll $2, %esi callq _realloc movq %rax, (%r15) movq (%r12), %rdi testq %rdi, %rdi sete %cl testq %rax, %rax sete %al orb %cl, %al cmpb $1, %al jne LBB0_32 ## %bb.31: ## in Loop: Header=BB0_29 Depth=2 leaq L_.str.1(%rip), %rdi callq _overflo movq _setvec@GOTPCREL(%rip), %rax movq (%rax), %rdi jmp LBB0_32 .p2align 4, 0x90 LBB0_33: ## in Loop: Header=BB0_29 Depth=2 movq _setcnt@GOTPCREL(%rip), %rax incl (%rax) movslq 4(%r14,%rbx,4), %rax movl $1, (%rdi,%rax,4) jmp LBB0_34 LBB0_36: movq _setcnt@GOTPCREL(%rip), %r13 movl (%r13), %eax movq -56(%rbp), %r12 ## 8-byte Reload jmp LBB0_37 LBB0_1: movq _setvec@GOTPCREL(%rip), %rbx movq (%rbx), %rdi movq _tmpset@GOTPCREL(%rip), %r14 leaq L_.str(%rip), %r12 jmp LBB0_2 .p2align 4, 0x90 LBB0_4: ## in Loop: Header=BB0_2 Depth=1 movq -56(%rbp), %rax ## 8-byte Reload movl (%rax), %eax movl (%r13), %esi cmpl %esi, %eax jl LBB0_5 LBB0_2: ## =>This Inner Loop Header: Depth=1 leal (,%rsi,4), %eax movl %eax, (%r13) shll $4, %esi ## kill: def $esi killed $esi killed $rsi callq _realloc movq %rax, (%rbx) movq (%r14), %rdi movl (%r13), %esi shll $2, %esi callq _realloc movq %rax, (%r14) movq (%rbx), %rdi testq %rdi, %rdi sete %cl testq %rax, %rax sete %al orb %cl, %al cmpb $1, %al jne LBB0_4 ## %bb.3: ## in Loop: Header=BB0_2 Depth=1 movq %r12, %rdi callq _overflo movq (%rbx), %rdi jmp LBB0_4 LBB0_9: xorl %eax, %eax movq _setcnt@GOTPCREL(%rip), %r13 LBB0_37: movq _tmpset@GOTPCREL(%rip), %r15 movq (%r15), %rcx movl %eax, (%rcx) movslq (%r12), %rax testq %rax, %rax js LBB0_44 ## %bb.38: movq _setvec@GOTPCREL(%rip), %rdx movq (%rdx), %rdx testl %eax, %eax je LBB0_39 ## %bb.49: leal 1(%rax), %edi andl $-2, %edi movl $1, %r8d movq %rax, %rsi jmp LBB0_50 .p2align 4, 0x90 LBB0_54: ## in Loop: Header=BB0_50 Depth=1 addq $-2, %rsi addq $-2, %rdi je LBB0_40 LBB0_50: ## =>This Inner Loop Header: Depth=1 cmpl $0, (%rdx,%rsi,4) je LBB0_52 ## %bb.51: ## in Loop: Header=BB0_50 Depth=1 movslq %r8d, %r9 incl %r8d movl %esi, (%rcx,%r9,4) LBB0_52: ## in Loop: Header=BB0_50 Depth=1 cmpl $0, -4(%rdx,%rsi,4) je LBB0_54 ## %bb.53: ## in Loop: Header=BB0_50 Depth=1 movslq %r8d, %r9 incl %r8d leal -1(%rsi), %r10d movl %r10d, (%rcx,%r9,4) jmp LBB0_54 LBB0_40: movslq %r8d, %rdi testb $1, %al je LBB0_42 jmp LBB0_44 LBB0_39: movl $1, %edi movq %rax, %rsi testb $1, %al jne LBB0_44 LBB0_42: cmpl $0, (%rdx,%rsi,4) je LBB0_44 ## %bb.43: movl %esi, (%rcx,%rdi,4) LBB0_44: movl 16(%r12), %edx testl %edx, %edx jle LBB0_58 ## %bb.45: movq 8(%r12), %rsi movl (%rcx), %edi leal 1(%rdi), %r8d leaq 1(%rdx), %r9 movl $1, %eax jmp LBB0_46 .p2align 4, 0x90 LBB0_57: ## in Loop: Header=BB0_46 Depth=1 incq %rax cmpq %r9, %rax je LBB0_58 LBB0_46: ## =>This Loop Header: Depth=1 ## Child Loop BB0_56 Depth 2 movq (%rsi,%rax,8), %r10 cmpl (%r10), %edi jne LBB0_57 ## %bb.47: ## in Loop: Header=BB0_46 Depth=1 testl %edi, %edi jle LBB0_73 ## %bb.48: ## in Loop: Header=BB0_46 Depth=1 movl $1, %r11d .p2align 4, 0x90 LBB0_56: ## Parent Loop BB0_46 Depth=1 ## => This Inner Loop Header: Depth=2 movl (%rcx,%r11,4), %ebx cmpl (%r10,%r11,4), %ebx jne LBB0_57 ## %bb.55: ## in Loop: Header=BB0_56 Depth=2 incq %r11 cmpq %r11, %r8 jne LBB0_56 LBB0_73: movq 24(%r12), %rcx movq -80(%rbp), %rdx ## 8-byte Reload movq (%rcx,%rdx,8), %rcx movslq -44(%rbp), %rdx ## 4-byte Folded Reload movl %eax, (%rcx,%rdx,4) jmp LBB0_72 LBB0_58: movq _NSTATES@GOTPCREL(%rip), %rbx movl (%rbx), %eax leal -1(%rax), %ecx cmpl %ecx, %edx jge LBB0_59 ## %bb.62: incl %edx movl %edx, 16(%r12) jmp LBB0_63 LBB0_59: movl $2, 16(%r12) movl $1, 32(%r12) cmpl $3, %eax jl LBB0_63 ## %bb.60: movl $2, %r14d .p2align 4, 0x90 LBB0_61: ## =>This Inner Loop Header: Depth=1 movq 8(%r12), %rax movq (%rax,%r14,8), %rdi callq _xfree incq %r14 movslq (%rbx), %rax cmpq %rax, %r14 jl LBB0_61 LBB0_63: movq _NCHARS@GOTPCREL(%rip), %rsi cmpl $0, (%rsi) jle LBB0_66 ## %bb.64: movq 24(%r12), %rax xorl %ecx, %ecx .p2align 4, 0x90 LBB0_65: ## =>This Inner Loop Header: Depth=1 movslq 16(%r12), %rdx movq (%rax,%rdx,8), %rdx movl $0, (%rdx,%rcx,4) incq %rcx movslq (%rsi), %rdx cmpq %rdx, %rcx jl LBB0_65 LBB0_66: movq 8(%r12), %rax movslq 16(%r12), %rcx movq (%rax,%rcx,8), %rdi callq _xfree movl (%r13), %edi incl %edi movl $4, %esi callq _calloc testq %rax, %rax jne LBB0_68 ## %bb.67: leaq L_.str.2(%rip), %rdi movq %rax, %rbx callq _overflo movq %rbx, %rax LBB0_68: movq 8(%r12), %rcx movslq 16(%r12), %rdx movq %rax, (%rcx,%rdx,8) movq 24(%r12), %rcx movq -80(%rbp), %rsi ## 8-byte Reload movq (%rcx,%rsi,8), %rcx movslq -44(%rbp), %rsi ## 4-byte Folded Reload movl %edx, (%rcx,%rsi,4) cmpl $0, (%r13) js LBB0_71 ## %bb.69: movq (%r15), %rcx movq $-1, %rdx .p2align 4, 0x90 LBB0_70: ## =>This Inner Loop Header: Depth=1 movl 4(%rcx,%rdx,4), %esi movl %esi, 4(%rax,%rdx,4) movslq (%r13), %rsi incq %rdx cmpq %rsi, %rdx jl LBB0_70 LBB0_71: movq _setvec@GOTPCREL(%rip), %rax movq (%rax), %rax movslq (%r12), %rcx xorl %edx, %edx cmpl $0, (%rax,%rcx,4) setne %dl movq 40(%r12), %rax movslq 16(%r12), %rcx movl %edx, (%rax,%rcx,4) movl 16(%r12), %eax LBB0_72: ## kill: def $eax killed $eax killed $rax addq $40, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _HAT,4,2 ## @HAT .comm _NCHARS,4,2 ## @NCHARS .comm _maxsetvec,4,2 ## @maxsetvec .comm _setvec,8,3 ## @setvec .comm _tmpset,8,3 ## @tmpset .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "out of space in cgoto()" .comm _setcnt,4,2 ## @setcnt .comm _FINAL,4,2 ## @FINAL .comm _CHAR,4,2 ## @CHAR .comm _DOT,4,2 ## @DOT .comm _ALL,4,2 ## @ALL .comm _EMPTYRE,4,2 ## @EMPTYRE .comm _CCL,4,2 ## @CCL .comm _NCCL,4,2 ## @NCCL L_.str.1: ## @.str.1 .asciz "cgoto overflow" .comm _NSTATES,4,2 ## @NSTATES L_.str.2: ## @.str.2 .asciz "out of space in cgoto" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _cgoto ; -- Begin function cgoto .p2align 2 _cgoto: ; @cgoto .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 x27, x1 mov x25, x0 Lloh0: adrp x8, _HAT@GOTPAGE Lloh1: ldr x8, [x8, _HAT@GOTPAGEOFF] Lloh2: ldr w8, [x8] cmp w8, w2 Lloh3: adrp x8, _NCHARS@GOTPAGE Lloh4: ldr x8, [x8, _NCHARS@GOTPAGEOFF] Lloh5: ldr w8, [x8] str w2, [sp, #20] ; 4-byte Folded Spill ccmp w8, w2, #4, eq cset w0, gt bl _assert ldr w9, [x25] Lloh6: adrp x28, _maxsetvec@GOTPAGE Lloh7: ldr x28, [x28, _maxsetvec@GOTPAGEOFF] ldr w8, [x28] Lloh8: adrp x23, _setvec@GOTPAGE Lloh9: ldr x23, [x23, _setvec@GOTPAGEOFF] Lloh10: adrp x24, _tmpset@GOTPAGE Lloh11: ldr x24, [x24, _tmpset@GOTPAGEOFF] cmp w9, w8 b.ge LBB0_30 LBB0_1: tbnz w9, #31, LBB0_4 ; %bb.2: mov x8, #0 ; =0x0 ldr x9, [x23] LBB0_3: ; =>This Inner Loop Header: Depth=1 str wzr, [x9, x8, lsl #2] sub x8, x8, #1 ldrsw x10, [x25] cmp x8, x10 b.le LBB0_3 LBB0_4: Lloh12: adrp x26, _setcnt@GOTPAGE Lloh13: ldr x26, [x26, _setcnt@GOTPAGEOFF] str wzr, [x26] ldr x8, [x25, #8] ldr x21, [x8, w27, sxtw #3] ldr w8, [x21] cmp w8, #1 b.lt LBB0_34 ; %bb.5: str x27, [sp, #8] ; 8-byte Folded Spill str x25, [sp, #24] ; 8-byte Folded Spill mov w27, #1 ; =0x1 mov w25, #1 ; =0x1 b LBB0_7 LBB0_6: ; in Loop: Header=BB0_7 Depth=1 add x8, x25, #1 ldrsw x9, [x21] cmp x25, x9 mov x25, x8 b.ge LBB0_29 LBB0_7: ; =>This Loop Header: Depth=1 ; Child Loop BB0_25 Depth 2 ldr x8, [sp, #24] ; 8-byte Folded Reload ldr x8, [x8, #48] ldrsw x9, [x21, x25, lsl #2] add x8, x8, x9, lsl #5 ldr w20, [x8] Lloh14: adrp x9, _FINAL@GOTPAGE Lloh15: ldr x9, [x9, _FINAL@GOTPAGEOFF] Lloh16: ldr w9, [x9] cmp w20, w9 b.eq LBB0_6 ; %bb.8: ; in Loop: Header=BB0_7 Depth=1 Lloh17: adrp x9, _CHAR@GOTPAGE Lloh18: ldr x9, [x9, _CHAR@GOTPAGEOFF] Lloh19: ldr w9, [x9] cmp w20, w9 b.ne LBB0_10 ; %bb.9: ; in Loop: Header=BB0_7 Depth=1 ldr w0, [x8, #24] bl _ptoi ldr w8, [sp, #20] ; 4-byte Folded Reload cmp w0, w8 b.eq LBB0_21 LBB0_10: ; in Loop: Header=BB0_7 Depth=1 ldr w8, [sp, #20] ; 4-byte Folded Reload cbz w8, LBB0_12 ; %bb.11: ; in Loop: Header=BB0_7 Depth=1 Lloh20: adrp x8, _DOT@GOTPAGE Lloh21: ldr x8, [x8, _DOT@GOTPAGEOFF] Lloh22: ldr w8, [x8] Lloh23: adrp x9, _HAT@GOTPAGE Lloh24: ldr x9, [x9, _HAT@GOTPAGEOFF] Lloh25: ldr w9, [x9] cmp w20, w8 ldr w8, [sp, #20] ; 4-byte Folded Reload ccmp w9, w8, #4, eq b.ne LBB0_21 LBB0_12: ; in Loop: Header=BB0_7 Depth=1 ldr w8, [sp, #20] ; 4-byte Folded Reload cbz w8, LBB0_14 ; %bb.13: ; in Loop: Header=BB0_7 Depth=1 Lloh26: adrp x8, _ALL@GOTPAGE Lloh27: ldr x8, [x8, _ALL@GOTPAGEOFF] Lloh28: ldr w8, [x8] cmp w20, w8 b.eq LBB0_21 LBB0_14: ; in Loop: Header=BB0_7 Depth=1 ldr w8, [sp, #20] ; 4-byte Folded Reload cbz w8, LBB0_16 ; %bb.15: ; in Loop: Header=BB0_7 Depth=1 Lloh29: adrp x8, _EMPTYRE@GOTPAGE Lloh30: ldr x8, [x8, _EMPTYRE@GOTPAGEOFF] Lloh31: ldr w8, [x8] cmp w20, w8 b.eq LBB0_21 LBB0_16: ; in Loop: Header=BB0_7 Depth=1 Lloh32: adrp x8, _CCL@GOTPAGE Lloh33: ldr x8, [x8, _CCL@GOTPAGEOFF] Lloh34: ldr w8, [x8] cmp w20, w8 b.ne LBB0_18 ; %bb.17: ; in Loop: Header=BB0_7 Depth=1 ldr x8, [sp, #24] ; 8-byte Folded Reload ldr x8, [x8, #48] ldrsw x9, [x21, x25, lsl #2] add x8, x8, x9, lsl #5 ldr x1, [x8, #16] ldr w0, [sp, #20] ; 4-byte Folded Reload bl _member cbnz x0, LBB0_21 LBB0_18: ; in Loop: Header=BB0_7 Depth=1 Lloh35: adrp x8, _NCCL@GOTPAGE Lloh36: ldr x8, [x8, _NCCL@GOTPAGEOFF] Lloh37: ldr w8, [x8] cmp w20, w8 b.ne LBB0_6 ; %bb.19: ; in Loop: Header=BB0_7 Depth=1 ldr x8, [sp, #24] ; 8-byte Folded Reload ldr x8, [x8, #48] ldrsw x9, [x21, x25, lsl #2] add x8, x8, x9, lsl #5 ldr x1, [x8, #16] ldr w19, [sp, #20] ; 4-byte Folded Reload mov x0, x19 bl _member cbz w19, LBB0_6 ; %bb.20: ; in Loop: Header=BB0_7 Depth=1 Lloh38: adrp x8, _HAT@GOTPAGE Lloh39: ldr x8, [x8, _HAT@GOTPAGEOFF] Lloh40: ldr w8, [x8] cmp x0, #0 ldr w9, [sp, #20] ; 4-byte Folded Reload ccmp w8, w9, #4, eq b.eq LBB0_6 LBB0_21: ; in Loop: Header=BB0_7 Depth=1 ldr x8, [sp, #24] ; 8-byte Folded Reload ldr x8, [x8, #48] ldrsw x9, [x21, x25, lsl #2] add x8, x8, x9, lsl #5 ldr x20, [x8, #8] ldr w8, [x20] cmp w8, #1 b.lt LBB0_6 ; %bb.22: ; in Loop: Header=BB0_7 Depth=1 mov x22, #0 ; =0x0 ldr x0, [x23] b LBB0_25 LBB0_23: ; in Loop: Header=BB0_25 Depth=2 ldrsw x8, [x19, #4] ldr w8, [x0, x8, lsl #2] cbz w8, LBB0_28 LBB0_24: ; in Loop: Header=BB0_25 Depth=2 ldrsw x8, [x20] add x22, x22, #1 cmp x22, x8 b.ge LBB0_6 LBB0_25: ; Parent Loop BB0_7 Depth=1 ; => This Inner Loop Header: Depth=2 add x19, x20, x22, lsl #2 ldr w9, [x19, #4] ldr w8, [x28] cmp w9, w8 b.lt LBB0_23 ; %bb.26: ; in Loop: Header=BB0_25 Depth=2 lsl w9, w8, #2 str w9, [x28] lsl w1, w8, #4 bl _realloc str x0, [x23] ldr x0, [x24] ldr w8, [x28] lsl w1, w8, #2 bl _realloc mov x8, x0 str x0, [x24] ldr x0, [x23] cmp x0, #0 ccmp x8, #0, #4, ne b.ne LBB0_23 ; %bb.27: ; in Loop: Header=BB0_25 Depth=2 Lloh41: adrp x0, l_.str.1@PAGE Lloh42: add x0, x0, l_.str.1@PAGEOFF bl _overflo ldr x0, [x23] b LBB0_23 LBB0_28: ; in Loop: Header=BB0_25 Depth=2 ldr w8, [x26] add w8, w8, #1 str w8, [x26] ldrsw x8, [x19, #4] str w27, [x0, x8, lsl #2] b LBB0_24 LBB0_29: ldr w9, [x26] ldr x25, [sp, #24] ; 8-byte Folded Reload ldr x27, [sp, #8] ; 8-byte Folded Reload b LBB0_35 LBB0_30: ldr x0, [x23] Lloh43: adrp x22, l_.str@PAGE Lloh44: add x22, x22, l_.str@PAGEOFF b LBB0_32 LBB0_31: ; in Loop: Header=BB0_32 Depth=1 ldr w9, [x25] ldr w8, [x28] cmp w9, w8 b.lt LBB0_1 LBB0_32: ; =>This Inner Loop Header: Depth=1 lsl w9, w8, #2 str w9, [x28] lsl w1, w8, #4 bl _realloc str x0, [x23] ldr x0, [x24] ldr w8, [x28] lsl w1, w8, #2 bl _realloc mov x8, x0 str x0, [x24] ldr x0, [x23] cmp x0, #0 ccmp x8, #0, #4, ne b.ne LBB0_31 ; %bb.33: ; in Loop: Header=BB0_32 Depth=1 mov x0, x22 bl _overflo ldr x0, [x23] b LBB0_31 LBB0_34: mov w9, #0 ; =0x0 LBB0_35: ldr x8, [x24] str w9, [x8] ldr w9, [x25] tbnz w9, #31, LBB0_40 ; %bb.36: ldr x10, [x23] mov w11, #1 ; =0x1 b LBB0_38 LBB0_37: ; in Loop: Header=BB0_38 Depth=1 sub x12, x9, #1 cmp x9, #0 mov x9, x12 b.le LBB0_40 LBB0_38: ; =>This Inner Loop Header: Depth=1 ldr w12, [x10, x9, lsl #2] cbz w12, LBB0_37 ; %bb.39: ; in Loop: Header=BB0_38 Depth=1 str w9, [x8, w11, sxtw #2] add w11, w11, #1 b LBB0_37 LBB0_40: ldr w9, [x25, #16] cmp w9, #1 b.lt LBB0_49 ; %bb.41: ldr x10, [x25, #8] ldr w11, [x8], #4 add w13, w11, #1 add x12, x9, #1 sub x13, x13, #1 mov w0, #1 ; =0x1 b LBB0_43 LBB0_42: ; in Loop: Header=BB0_43 Depth=1 add x0, x0, #1 cmp x0, x12 b.eq LBB0_49 LBB0_43: ; =>This Loop Header: Depth=1 ; Child Loop BB0_46 Depth 2 ldr x14, [x10, x0, lsl #3] ldr w15, [x14] cmp w11, w15 b.ne LBB0_42 ; %bb.44: ; in Loop: Header=BB0_43 Depth=1 cmp w11, #1 b.lt LBB0_48 ; %bb.45: ; in Loop: Header=BB0_43 Depth=1 add x14, x14, #4 mov x15, x13 mov x16, x8 LBB0_46: ; Parent Loop BB0_43 Depth=1 ; => This Inner Loop Header: Depth=2 ldr w17, [x16], #4 ldr w1, [x14], #4 cmp w17, w1 b.ne LBB0_42 ; %bb.47: ; in Loop: Header=BB0_46 Depth=2 subs x15, x15, #1 b.ne LBB0_46 LBB0_48: ldr x8, [x25, #24] ldr x8, [x8, w27, sxtw #3] ldr w9, [sp, #20] ; 4-byte Folded Reload str w0, [x8, w9, sxtw #2] b LBB0_63 LBB0_49: Lloh45: adrp x19, _NSTATES@GOTPAGE Lloh46: ldr x19, [x19, _NSTATES@GOTPAGEOFF] ldr w8, [x19] sub w10, w8, #1 cmp w9, w10 b.ge LBB0_51 ; %bb.50: add w8, w9, #1 str w8, [x25, #16] b LBB0_54 LBB0_51: mov w9, #2 ; =0x2 str w9, [x25, #16] mov w9, #1 ; =0x1 str w9, [x25, #32] cmp w8, #3 b.lt LBB0_54 ; %bb.52: mov w20, #2 ; =0x2 LBB0_53: ; =>This Inner Loop Header: Depth=1 ldr x8, [x25, #8] ldr x0, [x8, x20, lsl #3] bl _xfree add x20, x20, #1 ldrsw x8, [x19] cmp x20, x8 b.lt LBB0_53 LBB0_54: Lloh47: adrp x11, _NCHARS@GOTPAGE Lloh48: ldr x11, [x11, _NCHARS@GOTPAGEOFF] ldr w8, [x11] cmp w8, #1 b.lt LBB0_57 ; %bb.55: mov x8, #0 ; =0x0 ldr x9, [x25, #24] LBB0_56: ; =>This Inner Loop Header: Depth=1 ldrsw x10, [x25, #16] ldr x10, [x9, x10, lsl #3] str wzr, [x10, x8, lsl #2] add x8, x8, #1 ldrsw x10, [x11] cmp x8, x10 b.lt LBB0_56 LBB0_57: ldr x8, [x25, #8] ldrsw x9, [x25, #16] ldr x0, [x8, x9, lsl #3] bl _xfree ldr w8, [x26] add w0, w8, #1 mov w1, #4 ; =0x4 bl _calloc cbnz x0, LBB0_59 ; %bb.58: Lloh49: adrp x8, l_.str.2@PAGE Lloh50: add x8, x8, l_.str.2@PAGEOFF mov x19, x0 mov x0, x8 bl _overflo mov x0, x19 LBB0_59: ldr x8, [x25, #8] ldrsw x9, [x25, #16] str x0, [x8, x9, lsl #3] ldr x8, [x25, #24] ldr x8, [x8, w27, sxtw #3] ldr w10, [sp, #20] ; 4-byte Folded Reload str w9, [x8, w10, sxtw #2] ldr w8, [x26] tbnz w8, #31, LBB0_62 ; %bb.60: mov x9, #0 ; =0x0 ldr x8, [x24] LBB0_61: ; =>This Inner Loop Header: Depth=1 ldr w10, [x8, x9, lsl #2] str w10, [x0, x9, lsl #2] add x10, x9, #1 ldrsw x11, [x26] cmp x9, x11 mov x9, x10 b.lt LBB0_61 LBB0_62: ldr x8, [x23] ldrsw x9, [x25] ldr w8, [x8, x9, lsl #2] cmp w8, #0 cset w8, ne ldr x9, [x25, #40] ldrsw x10, [x25, #16] str w8, [x9, x10, lsl #2] ldr w0, [x25, #16] LBB0_63: ; kill: def $w0 killed $w0 killed $x0 ldp x29, x30, [sp, #112] ; 16-byte Folded Reload ldp x20, x19, [sp, #96] ; 16-byte Folded Reload ldp x22, x21, [sp, #80] ; 16-byte Folded Reload ldp x24, x23, [sp, #64] ; 16-byte Folded Reload ldp x26, x25, [sp, #48] ; 16-byte Folded Reload ldp x28, x27, [sp, #32] ; 16-byte Folded Reload add sp, sp, #128 ret .loh AdrpLdrGot Lloh10, Lloh11 .loh AdrpLdrGot Lloh8, Lloh9 .loh AdrpLdrGot Lloh6, Lloh7 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGot Lloh12, Lloh13 .loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16 .loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19 .loh AdrpLdrGotLdr Lloh23, Lloh24, Lloh25 .loh AdrpLdrGotLdr Lloh20, Lloh21, Lloh22 .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 AdrpLdrGot Lloh45, Lloh46 .loh AdrpLdrGot Lloh47, Lloh48 .loh AdrpAdd Lloh49, Lloh50 .cfi_endproc ; -- End function .comm _HAT,4,2 ; @HAT .comm _NCHARS,4,2 ; @NCHARS .comm _maxsetvec,4,2 ; @maxsetvec .comm _setvec,8,3 ; @setvec .comm _tmpset,8,3 ; @tmpset .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "out of space in cgoto()" .comm _setcnt,4,2 ; @setcnt .comm _FINAL,4,2 ; @FINAL .comm _CHAR,4,2 ; @CHAR .comm _DOT,4,2 ; @DOT .comm _ALL,4,2 ; @ALL .comm _EMPTYRE,4,2 ; @EMPTYRE .comm _CCL,4,2 ; @CCL .comm _NCCL,4,2 ; @NCCL l_.str.1: ; @.str.1 .asciz "cgoto overflow" .comm _NSTATES,4,2 ; @NSTATES l_.str.2: ; @.str.2 .asciz "out of space in cgoto" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _mpc_err_string ## -- Begin function mpc_err_string .p2align 4, 0x90 _mpc_err_string: ## @mpc_err_string .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $24, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdi, %r14 movl $0, -48(%rbp) movl $1023, -44(%rbp) ## imm = 0x3FF movl $1, %edi movl $1024, %esi ## imm = 0x400 callq _calloc movq %rax, %rbx movl 32(%r14), %r8d movl 36(%r14), %r9d testl %r9d, %r9d je LBB0_2 ## %bb.1: leaq L_.str(%rip), %rcx leaq -48(%rbp), %rsi leaq -44(%rbp), %rdx movq %rbx, %rdi xorl %eax, %eax callq _mpc_err_string_cat jmp LBB0_13 LBB0_2: movq 16(%r14), %rax movq 24(%r14), %r9 incq %r9 incq %rax movq %rax, (%rsp) leaq L_.str.1(%rip), %rcx leaq -48(%rbp), %rsi leaq -44(%rbp), %rdx movq %rbx, %rdi xorl %eax, %eax callq _mpc_err_string_cat movl (%r14), %eax testl %eax, %eax je LBB0_3 ## %bb.4: cmpl $1, %eax je LBB0_5 LBB0_6: cmpl $2, %eax jge LBB0_7 jmp LBB0_12 LBB0_3: leaq L_.str.2(%rip), %rcx leaq -48(%rbp), %rsi leaq -44(%rbp), %rdx movq %rbx, %rdi xorl %eax, %eax callq _mpc_err_string_cat movl (%r14), %eax cmpl $1, %eax jne LBB0_6 LBB0_5: movq 8(%r14), %rax movl (%rax), %r8d leaq L_.str.3(%rip), %rcx leaq -48(%rbp), %rsi leaq -44(%rbp), %rdx movq %rbx, %rdi xorl %eax, %eax callq _mpc_err_string_cat movl (%r14), %eax cmpl $2, %eax jl LBB0_12 LBB0_7: jne LBB0_9 ## %bb.8: movl $2, %eax xorl %ecx, %ecx jmp LBB0_11 LBB0_9: movl $1, %r15d leaq -48(%rbp), %r12 leaq -44(%rbp), %r13 .p2align 4, 0x90 LBB0_10: ## =>This Inner Loop Header: Depth=1 movq 8(%r14), %rax movl -4(%rax,%r15,4), %r8d movq %rbx, %rdi movq %r12, %rsi movq %r13, %rdx leaq L_.str.4(%rip), %rcx xorl %eax, %eax callq _mpc_err_string_cat movslq (%r14), %rax leaq -2(%rax), %rcx decq %r15 cmpq %rcx, %r15 jle LBB0_10 LBB0_11: movq 8(%r14), %rdx movl (%rdx,%rcx,4), %r8d movl -4(%rdx,%rax,4), %r9d leaq L_.str.5(%rip), %rcx leaq -48(%rbp), %rsi leaq -44(%rbp), %rdx movq %rbx, %rdi xorl %eax, %eax callq _mpc_err_string_cat LBB0_12: leaq L_.str.6(%rip), %rcx leaq -48(%rbp), %r15 leaq -44(%rbp), %r12 movq %rbx, %rdi movq %r15, %rsi movq %r12, %rdx xorl %eax, %eax callq _mpc_err_string_cat movl 4(%r14), %edi callq _mpc_err_char_unescape movq %rbx, %rdi movq %r15, %rsi movq %r12, %rdx movq %rax, %rcx xorl %eax, %eax callq _mpc_err_string_cat leaq L_.str.7(%rip), %rcx movq %rbx, %rdi movq %r15, %rsi movq %r12, %rdx xorl %eax, %eax callq _mpc_err_string_cat movq %rbx, %rdi callq _strlen leaq -1(%rax), %rsi movq %rbx, %rdi callq _realloc movq %rax, %rbx LBB0_13: movq %rbx, %rax addq $24, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "%s: error: %s\n" L_.str.1: ## @.str.1 .asciz "%s:%i:%i: error: expected " L_.str.2: ## @.str.2 .asciz "ERROR: NOTHING EXPECTED" L_.str.3: ## @.str.3 .asciz "%s" L_.str.4: ## @.str.4 .asciz "%s, " L_.str.5: ## @.str.5 .asciz "%s or %s" L_.str.6: ## @.str.6 .asciz " at " L_.str.7: ## @.str.7 .asciz "\n" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _mpc_err_string ; -- Begin function mpc_err_string .p2align 2 _mpc_err_string: ; @mpc_err_string .cfi_startproc ; %bb.0: sub sp, sp, #80 stp x22, x21, [sp, #32] ; 16-byte Folded Spill stp x20, x19, [sp, #48] ; 16-byte Folded Spill stp x29, x30, [sp, #64] ; 16-byte Folded Spill add x29, sp, #64 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x20, x0 mov w8, #1023 ; =0x3ff stp w8, wzr, [sp, #24] mov w0, #1 ; =0x1 mov w1, #1024 ; =0x400 bl _calloc mov x19, x0 ldp w8, w9, [x20, #32] cbz w9, LBB0_2 ; %bb.1: stp x8, x9, [sp] Lloh0: adrp x3, l_.str@PAGE Lloh1: add x3, x3, l_.str@PAGEOFF add x1, sp, #28 add x2, sp, #24 mov x0, x19 bl _mpc_err_string_cat b LBB0_13 LBB0_2: ldp x10, x9, [x20, #16] add x9, x9, #1 add x10, x10, #1 stp x9, x10, [sp, #8] str x8, [sp] Lloh2: adrp x3, l_.str.1@PAGE Lloh3: add x3, x3, l_.str.1@PAGEOFF add x1, sp, #28 add x2, sp, #24 mov x0, x19 bl _mpc_err_string_cat ldr w8, [x20] cbz w8, LBB0_5 ; %bb.3: cmp w8, #1 b.eq LBB0_6 LBB0_4: cmp w8, #2 b.ge LBB0_7 b LBB0_12 LBB0_5: Lloh4: adrp x3, l_.str.2@PAGE Lloh5: add x3, x3, l_.str.2@PAGEOFF add x1, sp, #28 add x2, sp, #24 mov x0, x19 bl _mpc_err_string_cat ldr w8, [x20] cmp w8, #1 b.ne LBB0_4 LBB0_6: ldr x8, [x20, #8] ldr w8, [x8] str x8, [sp] Lloh6: adrp x3, l_.str.3@PAGE Lloh7: add x3, x3, l_.str.3@PAGEOFF add x1, sp, #28 add x2, sp, #24 mov x0, x19 bl _mpc_err_string_cat ldr w8, [x20] cmp w8, #2 b.lt LBB0_12 LBB0_7: cmp w8, #2 b.ne LBB0_9 ; %bb.8: mov x8, #0 ; =0x0 mov w9, #2 ; =0x2 b LBB0_11 LBB0_9: mov x22, #0 ; =0x0 Lloh8: adrp x21, l_.str.4@PAGE Lloh9: add x21, x21, l_.str.4@PAGEOFF LBB0_10: ; =>This Inner Loop Header: Depth=1 ldr x8, [x20, #8] ldr w8, [x8, x22, lsl #2] str x8, [sp] add x1, sp, #28 add x2, sp, #24 mov x0, x19 mov x3, x21 bl _mpc_err_string_cat sub x10, x22, #1 ldrsw x9, [x20] sub x8, x9, #2 cmp x22, x8 mov x22, x10 b.le LBB0_10 LBB0_11: ldr x10, [x20, #8] add x9, x10, x9, lsl #2 ldr w8, [x10, x8, lsl #2] ldur w9, [x9, #-4] stp x8, x9, [sp] Lloh10: adrp x3, l_.str.5@PAGE Lloh11: add x3, x3, l_.str.5@PAGEOFF add x1, sp, #28 add x2, sp, #24 mov x0, x19 bl _mpc_err_string_cat LBB0_12: Lloh12: adrp x3, l_.str.6@PAGE Lloh13: add x3, x3, l_.str.6@PAGEOFF add x1, sp, #28 add x2, sp, #24 mov x0, x19 bl _mpc_err_string_cat ldr w0, [x20, #4] bl _mpc_err_char_unescape mov x3, x0 add x1, sp, #28 add x2, sp, #24 mov x0, x19 bl _mpc_err_string_cat Lloh14: adrp x3, l_.str.7@PAGE Lloh15: add x3, x3, l_.str.7@PAGEOFF add x1, sp, #28 add x2, sp, #24 mov x0, x19 bl _mpc_err_string_cat mov x0, x19 bl _strlen sub x1, x0, #1 mov x0, x19 bl _realloc mov x19, x0 LBB0_13: mov x0, x19 ldp x29, x30, [sp, #64] ; 16-byte Folded Reload ldp x20, x19, [sp, #48] ; 16-byte Folded Reload ldp x22, x21, [sp, #32] ; 16-byte Folded Reload add sp, sp, #80 ret .loh AdrpAdd Lloh0, Lloh1 .loh AdrpAdd Lloh2, Lloh3 .loh AdrpAdd Lloh4, Lloh5 .loh AdrpAdd Lloh6, Lloh7 .loh AdrpAdd Lloh8, Lloh9 .loh AdrpAdd Lloh10, Lloh11 .loh AdrpAdd Lloh14, Lloh15 .loh AdrpAdd Lloh12, Lloh13 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "%s: error: %s\n" l_.str.1: ; @.str.1 .asciz "%s:%i:%i: error: expected " l_.str.2: ; @.str.2 .asciz "ERROR: NOTHING EXPECTED" l_.str.3: ; @.str.3 .asciz "%s" l_.str.4: ; @.str.4 .asciz "%s, " l_.str.5: ; @.str.5 .asciz "%s or %s" l_.str.6: ; @.str.6 .asciz " at " l_.str.7: ; @.str.7 .asciz "\n" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function archive_utility_string_sort_helper _archive_utility_string_sort_helper: ## @archive_utility_string_sort_helper .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_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, -68(%rbp) ## 4-byte Spill cmpl $1, %esi ja LBB0_2 ## %bb.1: movq _ARCHIVE_OK@GOTPCREL(%rip), %rax movl (%rax), %eax jmp LBB0_42 LBB0_2: movq %rdi, %rbx movq (%rdi), %r15 movq $0, -56(%rbp) ## 8-byte Folded Spill movl $1, %eax movq $0, -48(%rbp) ## 8-byte Folded Spill xorl %r12d, %r12d movq $0, -64(%rbp) ## 8-byte Folded Spill movq %r15, -80(%rbp) ## 8-byte Spill jmp LBB0_4 .p2align 4, 0x90 LBB0_3: ## in Loop: Header=BB0_4 Depth=1 movq (%rbx,%r14,8), %rdx movl %ecx, %ecx movq %rdx, (%rax,%rcx,8) leal -1(%r14), %eax cmpl -68(%rbp), %eax ## 4-byte Folded Reload ja LBB0_9 LBB0_4: ## =>This Inner Loop Header: Depth=1 movl %eax, %r14d movq (%rbx,%r14,8), %rdi movq %r15, %rsi callq _strcmp testq %rax, %rax jns LBB0_7 ## %bb.5: ## in Loop: Header=BB0_4 Depth=1 movq -56(%rbp), %r13 ## 8-byte Reload leal 8(,%r13,8), %esi movq %r12, %rdi callq _realloc testq %rax, %rax je LBB0_16 ## %bb.6: ## in Loop: Header=BB0_4 Depth=1 movl %r13d, %ecx leal 1(%r13), %edx movq %rax, %r12 ## kill: def $edx killed $edx def $rdx movq %rdx, -56(%rbp) ## 8-byte Spill jmp LBB0_3 .p2align 4, 0x90 LBB0_7: ## in Loop: Header=BB0_4 Depth=1 movq -64(%rbp), %r15 ## 8-byte Reload leal 8(,%r15,8), %esi movq -48(%rbp), %r13 ## 8-byte Reload movq %r13, %rdi callq _realloc testq %rax, %rax je LBB0_15 ## %bb.8: ## in Loop: Header=BB0_4 Depth=1 movl %r15d, %ecx leal 1(%r15), %edx ## kill: def $edx killed $edx def $rdx movq %rdx, -64(%rbp) ## 8-byte Spill movq %rax, -48(%rbp) ## 8-byte Spill movq -80(%rbp), %r15 ## 8-byte Reload jmp LBB0_3 LBB0_9: movq %r12, %rdi movq -56(%rbp), %r14 ## 8-byte Reload movl %r14d, %esi callq _archive_utility_string_sort_helper movl %eax, %r13d testl %r14d, %r14d je LBB0_18 ## %bb.10: movl %r14d, %r15d xorl %eax, %eax cmpl $6, %r14d jb LBB0_19 ## %bb.11: movq %rbx, %rcx subq %r12, %rcx cmpq $32, %rcx movq -48(%rbp), %r14 ## 8-byte Reload jb LBB0_20 ## %bb.12: movl %r15d, %eax andl $-4, %eax leaq (,%r15,8), %rcx andq $-32, %rcx xorl %edx, %edx .p2align 4, 0x90 LBB0_13: ## =>This Inner Loop Header: Depth=1 movups (%r12,%rdx), %xmm0 movups 16(%r12,%rdx), %xmm1 movups %xmm0, (%rbx,%rdx) movups %xmm1, 16(%rbx,%rdx) addq $32, %rdx cmpq %rdx, %rcx jne LBB0_13 ## %bb.14: cmpl %r15d, %eax jne LBB0_20 jmp LBB0_25 LBB0_15: movq %r13, %rdi jmp LBB0_17 LBB0_16: movq -48(%rbp), %rdi ## 8-byte Reload LBB0_17: callq _free movq %r12, %rdi callq _free movq _ARCHIVE_FATAL@GOTPCREL(%rip), %rax movl (%rax), %eax jmp LBB0_42 LBB0_18: xorl %r15d, %r15d movq -48(%rbp), %r14 ## 8-byte Reload jmp LBB0_25 LBB0_19: movq -48(%rbp), %r14 ## 8-byte Reload LBB0_20: movq %r15, %rdx movq %rax, %rcx andq $3, %rdx je LBB0_23 ## %bb.21: movq %rax, %rcx .p2align 4, 0x90 LBB0_22: ## =>This Inner Loop Header: Depth=1 movq (%r12,%rcx,8), %rsi movq %rsi, (%rbx,%rcx,8) incq %rcx decq %rdx jne LBB0_22 LBB0_23: subq %r15, %rax cmpq $-4, %rax ja LBB0_25 .p2align 4, 0x90 LBB0_24: ## =>This Inner Loop Header: Depth=1 movq (%r12,%rcx,8), %rax movq %rax, (%rbx,%rcx,8) movq 8(%r12,%rcx,8), %rax movq %rax, 8(%rbx,%rcx,8) movq 16(%r12,%rcx,8), %rax movq %rax, 16(%rbx,%rcx,8) movq 24(%r12,%rcx,8), %rax movq %rax, 24(%rbx,%rcx,8) addq $4, %rcx cmpq %rcx, %r15 jne LBB0_24 LBB0_25: movq %r12, %rdi callq _free movq -80(%rbp), %rax ## 8-byte Reload movq %rax, (%rbx,%r15,8) movq %r14, %rdi movq -64(%rbp), %r15 ## 8-byte Reload movl %r15d, %esi callq _archive_utility_string_sort_helper movl %eax, %r12d testl %r15d, %r15d movq -56(%rbp), %r10 ## 8-byte Reload je LBB0_41 ## %bb.26: movl %r15d, %eax cmpl $22, %r15d jb LBB0_27 ## %bb.28: leaq -1(%rax), %rcx movl $-2, %edx subl %r10d, %edx cmpl %ecx, %edx setb %dl shrq $32, %rcx setne %cl orb %dl, %cl jne LBB0_27 ## %bb.30: leal 1(%r10), %edx leaq (%rbx,%rdx,8), %rcx subq %r14, %rcx cmpq $32, %rcx jae LBB0_32 LBB0_27: xorl %ecx, %ecx LBB0_35: movq %rax, %rsi movq %rcx, %rdx andq $3, %rsi je LBB0_38 ## %bb.36: leal 1(%r10), %edi movq %rcx, %rdx .p2align 4, 0x90 LBB0_37: ## =>This Inner Loop Header: Depth=1 movq (%r14,%rdx,8), %r8 leal (%rdi,%rdx), %r9d movq %r8, (%rbx,%r9,8) incq %rdx decq %rsi jne LBB0_37 LBB0_38: subq %rax, %rcx cmpq $-4, %rcx ja LBB0_41 ## %bb.39: movl %r10d, %ecx .p2align 4, 0x90 LBB0_40: ## =>This Inner Loop Header: Depth=1 movq (%r14,%rdx,8), %rsi leal (%rcx,%rdx), %edi incl %edi movq %rsi, (%rbx,%rdi,8) movq 8(%r14,%rdx,8), %rsi leal 2(%rcx,%rdx), %edi movq %rsi, (%rbx,%rdi,8) movq 16(%r14,%rdx,8), %rsi leal 3(%rcx,%rdx), %edi movq %rsi, (%rbx,%rdi,8) movq 24(%r14,%rdx,8), %rsi leal (%rcx,%rdx), %edi addl $4, %edi movq %rsi, (%rbx,%rdi,8) addq $4, %rdx cmpq %rdx, %rax jne LBB0_40 LBB0_41: movq %r14, %rdi callq _free cmpl %r12d, %r13d cmovll %r13d, %r12d movl %r12d, %eax LBB0_42: addq $40, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_32: movl %eax, %ecx andl $-4, %ecx xorl %esi, %esi .p2align 4, 0x90 LBB0_33: ## =>This Inner Loop Header: Depth=1 movups (%r14,%rsi,8), %xmm0 movups 16(%r14,%rsi,8), %xmm1 leal (%rdx,%rsi), %edi movups %xmm0, (%rbx,%rdi,8) movups %xmm1, 16(%rbx,%rdi,8) addq $4, %rsi cmpq %rsi, %rcx jne LBB0_33 ## %bb.34: cmpl %eax, %ecx je LBB0_41 jmp LBB0_35 .cfi_endproc ## -- End function .comm _ARCHIVE_OK,4,2 ## @ARCHIVE_OK .comm _ARCHIVE_FATAL,4,2 ## @ARCHIVE_FATAL .no_dead_strip _archive_utility_string_sort_helper .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function archive_utility_string_sort_helper _archive_utility_string_sort_helper: ; @archive_utility_string_sort_helper .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 cmp w1, #1 b.hi LBB0_2 ; %bb.1: Lloh0: adrp x8, _ARCHIVE_OK@GOTPAGE Lloh1: ldr x8, [x8, _ARCHIVE_OK@GOTPAGEOFF] Lloh2: ldr w0, [x8] b LBB0_25 LBB0_2: mov x22, x1 mov x19, x0 mov w21, #0 ; =0x0 mov x20, #0 ; =0x0 mov x24, #0 ; =0x0 mov w23, #0 ; =0x0 ldr x25, [x0] mov w26, #1 ; =0x1 b LBB0_4 LBB0_3: ; in Loop: Header=BB0_4 Depth=1 mov w9, w26 ldr x10, [x19, x9, lsl #3] str x10, [x0, w8, uxtw #3] sub w26, w9, #1 cmp w26, w22 b.hi LBB0_10 LBB0_4: ; =>This Inner Loop Header: Depth=1 ldr x0, [x19, w26, uxtw #3] mov x1, x25 bl _strcmp tbz x0, #63, LBB0_7 ; %bb.5: ; in Loop: Header=BB0_4 Depth=1 add w27, w21, #1 lsl w1, w27, #3 mov x0, x24 bl _realloc cbz x0, LBB0_9 ; %bb.6: ; in Loop: Header=BB0_4 Depth=1 mov x8, x21 mov x24, x0 mov x21, x27 b LBB0_3 LBB0_7: ; in Loop: Header=BB0_4 Depth=1 add w27, w23, #1 lsl w1, w27, #3 mov x0, x20 bl _realloc cbz x0, LBB0_9 ; %bb.8: ; in Loop: Header=BB0_4 Depth=1 mov x8, x23 mov x23, x27 mov x20, x0 b LBB0_3 LBB0_9: mov x0, x20 bl _free mov x0, x24 bl _free Lloh3: adrp x8, _ARCHIVE_FATAL@GOTPAGE Lloh4: ldr x8, [x8, _ARCHIVE_FATAL@GOTPAGEOFF] Lloh5: ldr w0, [x8] b LBB0_25 LBB0_10: mov x0, x24 mov x1, x21 bl _archive_utility_string_sort_helper mov x22, x0 cbz w21, LBB0_18 ; %bb.11: mov x8, #0 ; =0x0 mov w26, w21 cmp w21, #8 b.lo LBB0_16 ; %bb.12: sub x9, x19, x24 cmp x9, #64 b.lo LBB0_16 ; %bb.13: and x8, x26, #0xfffffff8 add x9, x19, #32 add x10, x24, #32 mov x11, x8 LBB0_14: ; =>This Inner Loop Header: Depth=1 ldp q0, q1, [x10, #-32] ldp q2, q3, [x10], #64 stp q0, q1, [x9, #-32] stp q2, q3, [x9], #64 subs x11, x11, #8 b.ne LBB0_14 ; %bb.15: cmp x8, x26 b.eq LBB0_19 LBB0_16: lsl x10, x8, #3 add x9, x24, x10 add x10, x19, x10 sub x8, x26, x8 LBB0_17: ; =>This Inner Loop Header: Depth=1 ldr x11, [x9], #8 str x11, [x10], #8 subs x8, x8, #1 b.ne LBB0_17 b LBB0_19 LBB0_18: mov x26, #0 ; =0x0 LBB0_19: mov x0, x24 bl _free str x25, [x19, x26, lsl #3] mov x0, x20 mov x1, x23 bl _archive_utility_string_sort_helper mov x24, x0 cbz w23, LBB0_24 ; %bb.20: mov w8, w23 cmp w23, #16 b.hs LBB0_26 LBB0_21: mov x9, #0 ; =0x0 LBB0_22: add w10, w9, w21 add w10, w10, #1 add x11, x20, x9, lsl #3 sub x8, x8, x9 LBB0_23: ; =>This Inner Loop Header: Depth=1 ldr x9, [x11], #8 str x9, [x19, w10, uxtw #3] add w10, w10, #1 subs x8, x8, #1 b.ne LBB0_23 LBB0_24: mov x0, x20 bl _free cmp w22, w24 csel w0, w22, w24, lt LBB0_25: 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_26: mov x9, #0 ; =0x0 sub x10, x8, #1 mov w11, #-2 ; =0xfffffffe sub w11, w11, w21 cmp w11, w10 b.lo LBB0_22 ; %bb.27: lsr x10, x10, #32 cbnz x10, LBB0_22 ; %bb.28: add w10, w21, #1 add x9, x19, w10, uxtw #3 sub x9, x9, x20 cmp x9, #64 b.lo LBB0_21 ; %bb.29: and x9, x8, #0xfffffff8 add x11, x20, #32 mov x12, x9 LBB0_30: ; =>This Inner Loop Header: Depth=1 ldp q0, q1, [x11, #-32] ldp q2, q3, [x11], #64 add x13, x19, w10, uxtw #3 stp q0, q1, [x13] stp q2, q3, [x13, #32] add w10, w10, #8 subs x12, x12, #8 b.ne LBB0_30 ; %bb.31: cmp x9, x8 b.ne LBB0_22 b LBB0_24 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .cfi_endproc ; -- End function .comm _ARCHIVE_OK,4,2 ; @ARCHIVE_OK .comm _ARCHIVE_FATAL,4,2 ; @ARCHIVE_FATAL .no_dead_strip _archive_utility_string_sort_helper .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _mac_alg_list ## -- Begin function mac_alg_list .p2align 4, 0x90 _mac_alg_list: ## @mac_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 pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %edi, -44(%rbp) ## 4-byte Spill movq _macs@GOTPCREL(%rip), %rax movq (%rax), %r13 movq (%r13), %rdi testq %rdi, %rdi je LBB0_8 ## %bb.1: xorl %ebx, %ebx xorl %r14d, %r14d .p2align 4, 0x90 LBB0_2: ## =>This Inner Loop Header: Depth=1 testq %r14, %r14 je LBB0_4 ## %bb.3: ## in Loop: Header=BB0_2 Depth=1 movl -44(%rbp), %eax ## 4-byte Reload movb %al, (%r14,%rbx) incq %rbx movq (%r13), %rdi LBB0_4: ## in Loop: Header=BB0_2 Depth=1 callq _strlen movq %rax, %r12 movq %rbx, %rsi subq %rax, %rsi addq $2, %rsi movq %r14, %rdi callq _realloc testq %rax, %rax je LBB0_7 ## %bb.5: ## in Loop: Header=BB0_2 Depth=1 movq %rax, %r15 movq %rax, %rdi addq %rbx, %rdi movq (%r13), %rsi leaq 1(%r12), %rdx callq _memcpy addq %r12, %rbx movq -8(%r13), %rdi addq $-8, %r13 movq %r15, %r14 testq %rdi, %rdi jne LBB0_2 jmp LBB0_9 LBB0_7: movq %r14, %rdi callq _free LBB0_8: xorl %r15d, %r15d LBB0_9: movq %r15, %rax addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _macs,8,3 ## @macs .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _mac_alg_list ; -- Begin function mac_alg_list .p2align 2 _mac_alg_list: ; @mac_alg_list .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, _macs@GOTPAGE Lloh1: ldr x8, [x8, _macs@GOTPAGEOFF] Lloh2: ldr x23, [x8] ldr x0, [x23] cbz x0, LBB0_6 ; %bb.1: mov x24, #0 ; =0x0 mov x20, #0 ; =0x0 LBB0_2: ; =>This Inner Loop Header: Depth=1 cbz x20, LBB0_4 ; %bb.3: ; in Loop: Header=BB0_2 Depth=1 strb w19, [x20, x24] add x24, x24, #1 ldr x0, [x23] LBB0_4: ; in Loop: Header=BB0_2 Depth=1 bl _strlen mov x22, x0 sub x8, x24, x0 add x1, x8, #2 mov x0, x20 bl _realloc mov x21, x0 cbz x0, LBB0_7 ; %bb.5: ; in Loop: Header=BB0_2 Depth=1 ldr x1, [x23] add x0, x21, x24 add x2, x22, #1 bl _memcpy add x24, x22, x24 ldr x0, [x23, #-8]! mov x20, x21 cbnz x0, LBB0_2 b LBB0_8 LBB0_6: mov x21, #0 ; =0x0 b LBB0_8 LBB0_7: mov x0, x20 bl _free LBB0_8: mov x0, x21 ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload ldp x24, x23, [sp], #64 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _macs,8,3 ; @macs .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function add_cmd_list _add_cmd_list: ## @add_cmd_list .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %rbx pushq %rax .cfi_offset %rbx, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rsi, %rbx movq %rdi, %r14 movl (%rsi), %eax movl (%rdi), %r15d addl %eax, %r15d movl 4(%rdi), %edi cmpl %edi, %r15d jbe LBB0_6 ## %bb.1: callq _alloc_nr cmpl %r15d, %eax jb LBB0_3 ## %bb.2: movl 4(%r14), %edi callq _alloc_nr movl %eax, %r15d LBB0_3: movl %r15d, 4(%r14) movq 8(%r14), %rdi shll $2, %r15d movl %r15d, %esi callq _realloc testq %rax, %rax je LBB0_4 ## %bb.5: movq %rax, 8(%r14) movl (%rbx), %eax LBB0_6: testl %eax, %eax je LBB0_8 ## %bb.7: movq 8(%rbx), %rax movq 8(%r14), %rcx movl (%rax), %eax movl (%r14), %edx leal 1(%rdx), %esi movl %esi, (%r14) movl %eax, (%rcx,%rdx,4) LBB0_8: leaq 8(%rbx), %rdi callq _zfree movl $0, (%rbx) xorl %eax, %eax LBB0_9: addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq LBB0_4: movl $-1, %eax jmp LBB0_9 .cfi_endproc ## -- End function .no_dead_strip _add_cmd_list .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function add_cmd_list _add_cmd_list: ; @add_cmd_list .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x19, x1 mov x20, x0 ldr w8, [x1] ldp w9, w0, [x0] add w21, w8, w9 cmp w21, w0 b.ls LBB0_5 ; %bb.1: bl _alloc_nr cmp w0, w21 b.lo LBB0_3 ; %bb.2: ldr w0, [x20, #4] bl _alloc_nr mov x21, x0 LBB0_3: str w21, [x20, #4] ldr x0, [x20, #8] lsl w1, w21, #2 bl _realloc cbz x0, LBB0_9 ; %bb.4: str x0, [x20, #8] ldr w8, [x19] LBB0_5: cbz w8, LBB0_7 ; %bb.6: ldr x8, [x19, #8] ldr x9, [x20, #8] ldr w8, [x8] ldr w10, [x20] add w11, w10, #1 str w11, [x20] str w8, [x9, x10, lsl #2] LBB0_7: add x0, x19, #8 bl _zfree mov w0, #0 ; =0x0 str wzr, [x19] 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 LBB0_9: mov w0, #-1 ; =0xffffffff b LBB0_8 .cfi_endproc ; -- End function .no_dead_strip _add_cmd_list .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function r_debug_qnx_reg_write _r_debug_qnx_reg_write: ## @r_debug_qnx_reg_write .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %esi, %r15d movq %rdi, %r14 movl $0, -44(%rbp) movq 8(%rdi), %rax movl (%rax), %r12d movl 4(%rax), %edi movq _R_REG_NAME_PC@GOTPCREL(%rip), %rax movl (%rax), %esi callq _r_reg_get_name movq 8(%r14), %rcx movl 4(%rcx), %edi movq %rax, %rsi xorl %edx, %edx callq _r_reg_get movq _reg_buf@GOTPCREL(%rip), %r13 movl $-1, %ecx cmpq $0, (%r13) je LBB0_10 ## %bb.1: testq %rax, %rax je LBB0_3 ## %bb.2: movq 8(%r14), %rcx movl (%rax), %eax cmpl %eax, (%rcx) cmovnel %eax, %r12d LBB0_3: movl (%r14), %edi leaq -44(%rbp), %rdx movl %r15d, %esi callq _r_reg_get_bytes movl %eax, %edi callq _free movq _buf_size@GOTPCREL(%rip), %rbx movl -44(%rbp), %ecx cmpl %ecx, (%rbx) jge LBB0_6 ## %bb.4: movq (%r13), %rdi shll $2, %ecx movl %ecx, %esi callq _realloc testq %rax, %rax movl $-1, %ecx je LBB0_10 ## %bb.5: movq %rax, (%r13) movslq (%rbx), %rcx leaq (%rax,%rcx,4), %rdi movl -44(%rbp), %edx subl %ecx, %edx xorl %esi, %esi callq _memset movl -44(%rbp), %ecx LBB0_6: movl (%r14), %edi movq (%r13), %rdx movl %r15d, %esi xorl %r8d, %r8d movl %r12d, %r9d callq _r_reg_next_diff movl $1, %ecx testq %rax, %rax je LBB0_10 ## %bb.7: movq %rax, %r13 movq %r12, %rbx addl $7, %r12d testl %ebx, %ebx cmovnsl %ebx, %r12d sarl $3, %r12d .p2align 4, 0x90 LBB0_8: ## =>This Inner Loop Header: Depth=1 movl (%r14), %edi movq %r13, %rsi callq _r_reg_get_value movl %eax, -48(%rbp) movq _desc@GOTPCREL(%rip), %rax movl (%rax), %edi movl 4(%r13), %esi leaq -48(%rbp), %rdx movl %r12d, %ecx callq _qnxr_write_reg movl (%r14), %edi movq _reg_buf@GOTPCREL(%rip), %rax movq (%rax), %rdx movl -44(%rbp), %ecx movl %r15d, %esi movq %r13, %r8 movl %ebx, %r9d callq _r_reg_next_diff movq %rax, %r13 testq %rax, %rax jne LBB0_8 ## %bb.9: movl $1, %ecx LBB0_10: movl %ecx, %eax addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _R_REG_NAME_PC,4,2 ## @R_REG_NAME_PC .comm _reg_buf,8,3 ## @reg_buf .comm _buf_size,4,2 ## @buf_size .comm _desc,4,2 ## @desc .no_dead_strip _r_debug_qnx_reg_write .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function r_debug_qnx_reg_write _r_debug_qnx_reg_write: ; @r_debug_qnx_reg_write .cfi_startproc ; %bb.0: sub sp, sp, #96 stp x26, x25, [sp, #16] ; 16-byte Folded Spill stp x24, x23, [sp, #32] ; 16-byte Folded Spill stp x22, x21, [sp, #48] ; 16-byte Folded Spill stp x20, x19, [sp, #64] ; 16-byte Folded Spill stp x29, x30, [sp, #80] ; 16-byte Folded Spill add x29, sp, #80 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 mov x19, x1 mov x20, x0 str wzr, [sp, #12] ldr x8, [x0, #8] ldp w21, w0, [x8] Lloh0: adrp x8, _R_REG_NAME_PC@GOTPAGE Lloh1: ldr x8, [x8, _R_REG_NAME_PC@GOTPAGEOFF] Lloh2: ldr w1, [x8] bl _r_reg_get_name mov x1, x0 ldr x8, [x20, #8] ldr w0, [x8, #4] mov w2, #0 ; =0x0 bl _r_reg_get Lloh3: adrp x24, _reg_buf@GOTPAGE Lloh4: ldr x24, [x24, _reg_buf@GOTPAGEOFF] ldr x8, [x24] cbz x8, LBB0_10 ; %bb.1: cbz x0, LBB0_3 ; %bb.2: ldr x8, [x20, #8] ldr w8, [x8] ldr w9, [x0] cmp w8, w9 csel w21, w21, w9, eq LBB0_3: ldr w0, [x20] add x2, sp, #12 mov x1, x19 bl _r_reg_get_bytes bl _free Lloh5: adrp x22, _buf_size@GOTPAGE Lloh6: ldr x22, [x22, _buf_size@GOTPAGEOFF] ldr w8, [x22] ldr w3, [sp, #12] cmp w8, w3 b.ge LBB0_6 ; %bb.4: ldr x0, [x24] lsl w1, w3, #2 bl _realloc cbz x0, LBB0_10 ; %bb.5: str x0, [x24] ldrsw x8, [x22] add x0, x0, x8, lsl #2 ldr w9, [sp, #12] sub w2, w9, w8 mov w1, #0 ; =0x0 bl _memset ldr w3, [sp, #12] LBB0_6: ldr w0, [x20] ldr x2, [x24] mov x1, x19 mov x4, #0 ; =0x0 mov x5, x21 bl _r_reg_next_diff cbz x0, LBB0_9 ; %bb.7: mov x22, x0 add w8, w21, #7 cmp w21, #0 csel w8, w8, w21, lt asr w23, w8, #3 Lloh7: adrp x25, _desc@GOTPAGE Lloh8: ldr x25, [x25, _desc@GOTPAGEOFF] LBB0_8: ; =>This Inner Loop Header: Depth=1 ldr w0, [x20] mov x1, x22 bl _r_reg_get_value str w0, [sp, #8] ldr w0, [x25] ldr w1, [x22, #4] add x2, sp, #8 mov x3, x23 bl _qnxr_write_reg ldr w0, [x20] ldr x2, [x24] ldr w3, [sp, #12] mov x1, x19 mov x4, x22 mov x5, x21 bl _r_reg_next_diff mov x22, x0 cbnz x0, LBB0_8 LBB0_9: mov w0, #1 ; =0x1 b LBB0_11 LBB0_10: mov w0, #-1 ; =0xffffffff LBB0_11: ldp x29, x30, [sp, #80] ; 16-byte Folded Reload ldp x20, x19, [sp, #64] ; 16-byte Folded Reload ldp x22, x21, [sp, #48] ; 16-byte Folded Reload ldp x24, x23, [sp, #32] ; 16-byte Folded Reload ldp x26, x25, [sp, #16] ; 16-byte Folded Reload add sp, sp, #96 ret .loh AdrpLdrGot Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGot Lloh5, Lloh6 .loh AdrpLdrGot Lloh7, Lloh8 .cfi_endproc ; -- End function .comm _R_REG_NAME_PC,4,2 ; @R_REG_NAME_PC .comm _reg_buf,8,3 ; @reg_buf .comm _buf_size,4,2 ; @buf_size .comm _desc,4,2 ; @desc .no_dead_strip _r_debug_qnx_reg_write .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function uniqueadd _uniqueadd: ## @uniqueadd .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_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, -48(%rbp) ## 8-byte Spill movq (%rcx), %rax cmpb $0, (%rax) je LBB0_11 ## %bb.1: movq %rcx, %rbx movq %rdx, %r13 movq %rsi, %r14 movq -48(%rbp), %rax ## 8-byte Reload movq (%rax), %r12 cmpq $0, (%rsi) je LBB0_2 ## %bb.8: xorl %r15d, %r15d .p2align 4, 0x90 LBB0_10: ## =>This Inner Loop Header: Depth=1 movq (%r12,%r15,8), %rax movq (%rax), %rdi movq (%rbx), %rsi callq _strcmp testq %rax, %rax je LBB0_11 ## %bb.9: ## in Loop: Header=BB0_10 Depth=1 incq %r15 movq (%r14), %rax cmpq %rax, %r15 jb LBB0_10 ## %bb.3: cmpq (%r13), %rax je LBB0_4 jmp LBB0_7 LBB0_2: xorl %eax, %eax cmpq (%r13), %rax jne LBB0_7 LBB0_4: leaq 10(%rax), %rcx movq %rcx, (%r13) movq -48(%rbp), %rcx ## 8-byte Reload movq (%rcx), %rdi leaq 80(,%rax,8), %rsi callq _realloc movq %rax, %r12 testq %rax, %rax je LBB0_6 ## %bb.5: movq _EXIT_FAILURE@GOTPCREL(%rip), %rax movl (%rax), %edi leaq L_.str(%rip), %rsi callq _err LBB0_6: movq -48(%rbp), %rax ## 8-byte Reload movq %r12, (%rax) movq (%r14), %rax LBB0_7: leaq 1(%rax), %rcx movq %rcx, (%r14) movq %rbx, (%r12,%rax,8) LBB0_11: addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _EXIT_FAILURE,4,2 ## @EXIT_FAILURE .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "Can't allocate for rule list" .no_dead_strip _uniqueadd .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function uniqueadd _uniqueadd: ; @uniqueadd .cfi_startproc ; %bb.0: stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill stp x22, x21, [sp, #16] ; 16-byte Folded Spill stp x20, x19, [sp, #32] ; 16-byte Folded Spill stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 ldr x8, [x3] ldrb w8, [x8] cbz w8, LBB0_10 ; %bb.1: mov x19, x3 mov x23, x2 mov x20, x1 mov x21, x0 ldr x22, [x0] ldr x8, [x1] cbz x8, LBB0_5 ; %bb.2: mov x24, #0 ; =0x0 LBB0_3: ; =>This Inner Loop Header: Depth=1 ldr x8, [x22, x24, lsl #3] ldr x0, [x8] ldr x1, [x19] bl _strcmp cbz x0, LBB0_10 ; %bb.4: ; in Loop: Header=BB0_3 Depth=1 add x24, x24, #1 ldr x8, [x20] cmp x24, x8 b.lo LBB0_3 LBB0_5: ldr x9, [x23] cmp x8, x9 b.ne LBB0_9 ; %bb.6: add x8, x8, #10 str x8, [x23] ldr x0, [x21] lsl x1, x8, #3 bl _realloc mov x22, x0 cbz x0, LBB0_8 ; %bb.7: Lloh0: adrp x8, _EXIT_FAILURE@GOTPAGE Lloh1: ldr x8, [x8, _EXIT_FAILURE@GOTPAGEOFF] Lloh2: ldr w0, [x8] Lloh3: adrp x1, l_.str@PAGE Lloh4: add x1, x1, l_.str@PAGEOFF bl _err LBB0_8: str x22, [x21] ldr x8, [x20] LBB0_9: add x9, x8, #1 str x9, [x20] str x19, [x22, x8, lsl #3] 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 ldp x24, x23, [sp], #64 ; 16-byte Folded Reload ret .loh AdrpAdd Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _EXIT_FAILURE,4,2 ; @EXIT_FAILURE .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "Can't allocate for rule list" .no_dead_strip _uniqueadd .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _extend_env ## -- Begin function extend_env .p2align 4, 0x90 _extend_env: ## @extend_env .cfi_startproc ## %bb.0: 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 _env@GOTPCREL(%rip), %r14 movq (%r14), %rdi movq _num_env@GOTPCREL(%rip), %r15 movl (%r15), %eax leal -8(,%rax,8), %esi callq _realloc movq %rax, (%r14) leaq L_.str(%rip), %rsi movl $1, %edi callq _errx movq (%r14), %rax movslq (%r15), %rcx leal 1(%rcx), %edx movl %edx, (%r15) movq %rbx, (%rax,%rcx,8) addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _env,8,3 ## @env .comm _num_env,4,2 ## @num_env .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "Out of memory!" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _extend_env ; -- Begin function extend_env .p2align 2 _extend_env: ; @extend_env .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, _env@GOTPAGE Lloh1: ldr x20, [x20, _env@GOTPAGEOFF] ldr x0, [x20] Lloh2: adrp x21, _num_env@GOTPAGE Lloh3: ldr x21, [x21, _num_env@GOTPAGEOFF] ldr w8, [x21] lsl w8, w8, #3 sub w1, w8, #8 bl _realloc str x0, [x20] Lloh4: adrp x1, l_.str@PAGE Lloh5: add x1, x1, l_.str@PAGEOFF mov w0, #1 ; =0x1 bl _errx ldr x8, [x20] ldrsw x9, [x21] add w10, w9, #1 str w10, [x21] str x19, [x8, x9, lsl #3] ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret .loh AdrpAdd Lloh4, Lloh5 .loh AdrpLdrGot Lloh2, Lloh3 .loh AdrpLdrGot Lloh0, Lloh1 .cfi_endproc ; -- End function .comm _env,8,3 ; @env .comm _num_env,4,2 ; @num_env .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "Out of memory!" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function build_iovec _build_iovec: ## @build_iovec .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_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 movslq (%rsi), %r12 testq %r12, %r12 js LBB0_8 ## %bb.1: movq %r8, %r15 movq %rdx, %r13 movq %rsi, %rbx movq %rdi, %r14 movq %rcx, -56(%rbp) ## 8-byte Spill movq (%rdi), %rdi movl %r12d, %esi shll $4, %esi addl $-32, %esi callq _realloc movq %rax, (%r14) movl $-1, %ecx testq %rax, %rax jne LBB0_7 ## %bb.2: movq %r15, -48(%rbp) ## 8-byte Spill movq %r12, %r15 shlq $4, %r15 movq %r13, %rdi callq _strlen incl %eax movq (%r14), %rcx movl %eax, (%rcx,%r15) movq -48(%rbp), %rax ## 8-byte Reload movq %r12, %r13 decq %r13 shlq $4, %r13 movq -56(%rbp), %rdi ## 8-byte Reload movq %rdi, 8(%rcx,%r13) cmpq $-1, %rax jne LBB0_6 ## %bb.3: testq %rdi, %rdi je LBB0_4 ## %bb.5: callq _strlen ## kill: def $eax killed $eax def $rax incl %eax jmp LBB0_6 LBB0_4: xorl %eax, %eax LBB0_6: movq (%r14), %rcx movl %eax, (%rcx,%r13) movl %r12d, %ecx LBB0_7: movl %ecx, (%rbx) LBB0_8: addq $24, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _build_iovec .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function build_iovec _build_iovec: ; @build_iovec .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 w24, [x1] tbnz w24, #31, LBB0_9 ; %bb.1: mov x21, x4 mov x22, x3 mov x23, x2 mov x19, x1 mov x20, x0 ldr x0, [x0] lsl w8, w24, #4 sub w1, w8, #32 bl _realloc str x0, [x20] cbz x0, LBB0_3 ; %bb.2: mov w24, #-1 ; =0xffffffff b LBB0_8 LBB0_3: lsl x25, x24, #4 mov x0, x23 bl _strlen add w8, w0, #1 ldr x9, [x20] str w8, [x9, x25] sub w8, w24, #1 sxtw x23, w8 add x8, x9, w8, sxtw #4 str x22, [x8, #8] cmn x21, #1 b.ne LBB0_7 ; %bb.4: cbz x22, LBB0_6 ; %bb.5: mov x0, x22 bl _strlen add w21, w0, #1 b LBB0_7 LBB0_6: mov x21, #0 ; =0x0 LBB0_7: ldr x8, [x20] lsl x9, x23, #4 str w21, [x8, x9] LBB0_8: str w24, [x19] 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 ldp x26, x25, [sp], #80 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .no_dead_strip _build_iovec .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _bfd_realloc ## -- Begin function bfd_realloc .p2align 4, 0x90 _bfd_realloc: ## @bfd_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 movq %rsi, %rbx testq %rdi, %rdi movq %rsi, %rdi callq _malloc testq %rax, %rax setne %cl testq %rbx, %rbx sete %dl testb %cl, %dl jne LBB0_2 ## %bb.1: movq _bfd_error_no_memory@GOTPCREL(%rip), %rcx movl (%rcx), %edi movq %rax, %rbx callq _bfd_set_error movq %rbx, %rax LBB0_2: addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .comm _bfd_error_no_memory,4,2 ## @bfd_error_no_memory .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _bfd_realloc ; -- Begin function bfd_realloc .p2align 2 _bfd_realloc: ; @bfd_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 mov x19, x1 mov x0, x1 bl _malloc cbnz x19, LBB0_2 ; %bb.1: cbnz x0, LBB0_3 LBB0_2: Lloh0: adrp x8, _bfd_error_no_memory@GOTPAGE Lloh1: ldr x8, [x8, _bfd_error_no_memory@GOTPAGEOFF] Lloh2: ldr w8, [x8] mov x19, x0 mov x0, x8 bl _bfd_set_error mov x0, x19 LBB0_3: 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 _bfd_error_no_memory,4,2 ; @bfd_error_no_memory .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _reallocf ## -- Begin function reallocf .p2align 4, 0x90 _reallocf: ## @reallocf .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, %r14 movq %rdi, %rbx callq _realloc testq %rax, %rax je LBB0_2 ## %bb.1: testq %rbx, %rbx sete %cl testq %r14, %r14 sete %dl orb %cl, %dl jne LBB0_3 LBB0_2: movq %rbx, %rdi movq %rax, %rbx callq _free movq %rbx, %rax LBB0_3: 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 _reallocf ; -- Begin function reallocf .p2align 2 _reallocf: ; @reallocf .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x20, x1 mov x19, x0 bl _realloc cbz x0, LBB0_3 ; %bb.1: cbz x19, LBB0_4 ; %bb.2: cbz x20, LBB0_4 LBB0_3: mov x20, x0 mov x0, x19 bl _free mov x0, x20 LBB0_4: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function check_realloc_output _check_realloc_output: ## @check_realloc_output .cfi_startproc ## %bb.0: ## kill: def $esi killed $esi def $rsi movl $1, %eax cmpl %esi, (%rdi) jge LBB0_5 ## %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 %rdi, %rbx leal -1024(%rsi), %eax movl %eax, (%rdi) movl %esi, 4(%rdi) movq 8(%rdi), %rdi movl %eax, %esi callq _realloc testq %rax, %rax je LBB0_2 ## %bb.3: leaq L_.str(%rip), %rdi callq _hb_error movq 8(%rbx), %rdi callq _free xorps %xmm0, %xmm0 movups %xmm0, (%rbx) xorl %eax, %eax jmp LBB0_4 LBB0_2: movq $0, 8(%rbx) movl $1, %eax LBB0_4: addq $8, %rsp popq %rbx popq %rbp LBB0_5: retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "realloc failed!" .no_dead_strip _check_realloc_output .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function check_realloc_output _check_realloc_output: ; @check_realloc_output .cfi_startproc ; %bb.0: ldr w8, [x0] cmp w8, w1 b.ge 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, x0 sub w8, w1, #1024 stp w8, w1, [x0] ldr x0, [x0, #8] mov x1, x8 bl _realloc cbz x0, LBB0_4 ; %bb.2: Lloh0: adrp x0, l_.str@PAGE Lloh1: add x0, x0, l_.str@PAGEOFF bl _hb_error ldr x0, [x19, #8] bl _free mov w0, #0 ; =0x0 stp xzr, xzr, [x19] b LBB0_5 LBB0_3: mov w0, #1 ; =0x1 ret LBB0_4: str xzr, [x19, #8] mov w0, #1 ; =0x1 LBB0_5: 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 "realloc failed!" .no_dead_strip _check_realloc_output .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function _cset_add_filter __cset_add_filter: ## @_cset_add_filter .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx .cfi_offset %rbx, -48 .cfi_offset %r12, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdx, %r12 movl %esi, %r14d movq %rdi, %rbx movq 8(%rdi), %rdi movl (%rbx), %esi shll $4, %esi addl $16, %esi callq _realloc movq %rax, %r15 testq %rax, %rax je LBB0_2 ## %bb.1: leaq L_.str(%rip), %rdx movl $1, %edi xorl %esi, %esi callq _lafe_errc LBB0_2: movq %r12, %rdi callq _strdup movq %rax, %r12 testq %rax, %rax jne LBB0_4 ## %bb.3: leaq L_.str(%rip), %rdx movl $1, %edi xorl %esi, %esi callq _lafe_errc LBB0_4: movq %r15, 8(%rbx) movslq (%rbx), %rax leal -1(%rax), %ecx shlq $4, %rax movl %r14d, (%r15,%rax) movq %r12, 8(%r15,%rax) movl %ecx, (%rbx) popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "No memory" .no_dead_strip __cset_add_filter .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function _cset_add_filter __cset_add_filter: ; @_cset_add_filter .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 x22, x2 mov x20, x1 mov x19, x0 ldr x0, [x0, #8] ldr w8, [x19] lsl w8, w8, #4 add w1, w8, #16 bl _realloc mov x21, x0 cbz x0, LBB0_2 ; %bb.1: Lloh0: adrp x2, l_.str@PAGE Lloh1: add x2, x2, l_.str@PAGEOFF mov w0, #1 ; =0x1 mov w1, #0 ; =0x0 bl _lafe_errc LBB0_2: mov x0, x22 bl _strdup mov x22, x0 cbnz x0, LBB0_4 ; %bb.3: Lloh2: adrp x2, l_.str@PAGE Lloh3: add x2, x2, l_.str@PAGEOFF mov w0, #1 ; =0x1 mov w1, #0 ; =0x0 bl _lafe_errc LBB0_4: str x21, [x19, #8] ldrsw x8, [x19] add x9, x21, x8, lsl #4 str w20, [x9] str x22, [x9, #8] sub w8, w8, #1 str 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 .loh AdrpAdd Lloh0, Lloh1 .loh AdrpAdd Lloh2, Lloh3 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "No memory" .no_dead_strip __cset_add_filter .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _testRealloc ## -- Begin function testRealloc .p2align 4, 0x90 _testRealloc: ## @testRealloc .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 movl %esi, %ebx testq %rdi, %rdi je LBB0_4 ## %bb.1: movslq 32(%rdi), %r14 addq $32, %rdi leal 8(%rbx), %esi callq _realloc cmpl %r14d, %ebx jl LBB0_3 ## %bb.2: leaq (%rax,%r14,4), %rdi addq $32, %rdi movl %ebx, %edx subl %r14d, %edx xorl %esi, %esi movq %rax, %r14 callq _memset movq %r14, %rax LBB0_3: movl %ebx, (%rax) addq $32, %rax popq %rbx popq %r14 popq %rbp retq LBB0_4: movl %ebx, %edi popq %rbx popq %r14 popq %rbp jmp _testMalloc ## TAILCALL .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _testRealloc ; -- Begin function testRealloc .p2align 2 _testRealloc: ; @testRealloc .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_4 ; %bb.1: ldrsw x20, [x0, #32]! add w1, w19, #8 bl _realloc cmp w19, w20 b.lt LBB0_3 ; %bb.2: add x8, x0, x20, lsl #2 sub w2, w19, w20 mov x20, x0 add x0, x8, #32 mov w1, #0 ; =0x0 bl _memset mov x0, x20 LBB0_3: str w19, [x0], #32 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret LBB0_4: mov x0, x19 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _testMalloc .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 DoubleBuffer _DoubleBuffer: ## @DoubleBuffer .cfi_startproc ## %bb.0: testq %rcx, %rcx js LBB0_1 ## %bb.3: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %rbx pushq %rax .cfi_offset %rbx, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdx, %rax leaq (%rcx,%rcx), %rdx movq 8(%rdi), %r8 movl (%rdi), %edi cmpq %rsi, %rax je LBB0_4 ## %bb.6: movq %rax, %rsi callq *%r8 jmp LBB0_7 LBB0_1: xorl %eax, %eax retq LBB0_4: movq %rsi, %r14 movq %rcx, %rbx xorl %esi, %esi callq *%r8 movq %rax, %r15 xorl %eax, %eax testq %r15, %r15 je LBB0_7 ## %bb.5: movq %r15, %rdi movq %r14, %rsi movq %rbx, %rdx callq _memcpy movq %r15, %rax LBB0_7: addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _DoubleBuffer .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function DoubleBuffer _DoubleBuffer: ; @DoubleBuffer .cfi_startproc ; %bb.0: tbnz x3, #63, LBB0_3 ; %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 x8, x2 lsl x2, x3, #1 ldr x9, [x0, #8] ldr w0, [x0] cmp x8, x1 b.eq LBB0_4 ; %bb.2: mov x1, x8 blr x9 b LBB0_6 LBB0_3: mov x0, #0 ; =0x0 ret LBB0_4: mov x20, x1 mov x19, x3 mov x1, #0 ; =0x0 blr x9 cbz x0, LBB0_6 ; %bb.5: mov x21, x0 mov x1, x20 mov x2, x19 bl _memcpy mov x0, x21 LBB0_6: ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .no_dead_strip _DoubleBuffer .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function d_print_resize _d_print_resize: ## @d_print_resize .cfi_startproc ## %bb.0: cmpq $0, (%rdi) je LBB0_1 ## %bb.7: retq LBB0_1: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %rbx pushq %rax .cfi_offset %rbx, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdi, %rbx movq 8(%rdi), %r15 movq 16(%rdi), %r14 subq %rsi, %r15 cmpq %r14, %r15 jbe LBB0_6 ## %bb.2: xorl %eax, %eax .p2align 4, 0x90 LBB0_3: ## =>This Inner Loop Header: Depth=1 addq %r14, %r14 movq %rax, %rdi movq %r14, %rsi callq _realloc testq %rax, %rax je LBB0_4 ## %bb.5: ## in Loop: Header=BB0_3 Depth=1 movq %rax, (%rbx) movq %r14, 16(%rbx) cmpq %r14, %r15 ja LBB0_3 jmp LBB0_6 LBB0_4: movq (%rbx), %rdi callq _free movq $0, (%rbx) movl $1, 24(%rbx) LBB0_6: addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _d_print_resize .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function d_print_resize _d_print_resize: ; @d_print_resize .cfi_startproc ; %bb.0: ldr x8, [x0] cbz x8, LBB0_2 ; %bb.1: ret LBB0_2: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x19, x0 ldp x8, x20, [x0, #8] sub x21, x8, x1 cmp x21, x20 b.ls LBB0_7 ; %bb.3: mov x0, #0 ; =0x0 LBB0_4: ; =>This Inner Loop Header: Depth=1 lsl x20, x20, #1 mov x1, x20 bl _realloc cbz x0, LBB0_6 ; %bb.5: ; in Loop: Header=BB0_4 Depth=1 str x0, [x19] str x20, [x19, #16] cmp x21, x20 b.hi LBB0_4 b LBB0_7 LBB0_6: ldr x0, [x19] bl _free str xzr, [x19] mov w8, #1 ; =0x1 str w8, [x19, #24] 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 .cfi_endproc ; -- End function .no_dead_strip _d_print_resize .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_affinity LCPI0_0: .short 0 ## 0x0 .short 1 ## 0x1 .short 2 ## 0x2 .short 3 ## 0x3 .short 4 ## 0x4 .short 5 ## 0x5 .short 6 ## 0x6 .short 7 ## 0x7 .section __TEXT,__text,regular,pure_instructions .p2align 4, 0x90 _parse_affinity: ## @parse_affinity .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_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 leaq L_.str(%rip), %rdi callq _getenv testq %rax, %rax je LBB0_36 ## %bb.1: leaq -48(%rbp), %rsi movq %rax, %rdi xorl %edx, %edx movq %rax, %r14 callq _strtoul movq %rax, %rsi movq -48(%rbp), %rbx cmpq %rbx, %r14 sete %al cmpq $65536, %rsi ## imm = 0x10000 setae %cl orb %al, %cl je LBB0_2 LBB0_34: leaq L_.str.2(%rip), %rdi LBB0_35: callq _gomp_error LBB0_36: xorl %eax, %eax addq $40, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_2: xorl %r8d, %r8d xorl %r13d, %r13d xorl %r12d, %r12d .p2align 4, 0x90 LBB0_3: ## =>This Loop Header: Depth=1 ## Child Loop BB0_26 Depth 2 ## Child Loop BB0_24 Depth 2 ## Child Loop BB0_28 Depth 2 movl $1, %r15d cmpb $45, (%rbx) jne LBB0_4 ## %bb.5: ## in Loop: Header=BB0_3 Depth=1 movq %r12, -64(%rbp) ## 8-byte Spill movq %r8, -56(%rbp) ## 8-byte Spill movq %rsi, %r12 movq %rbx, %r14 incq %r14 movq %r14, %rdi leaq -48(%rbp), %rsi xorl %edx, %edx callq _strtoul movq -48(%rbp), %rbx cmpq %rbx, %r14 je LBB0_34 ## %bb.6: ## in Loop: Header=BB0_3 Depth=1 cmpq $65535, %rax ## imm = 0xFFFF ja LBB0_34 ## %bb.7: ## in Loop: Header=BB0_3 Depth=1 cmpq %r12, %rax jb LBB0_34 ## %bb.8: ## in Loop: Header=BB0_3 Depth=1 cmpb $58, (%rbx) jne LBB0_9 ## %bb.10: ## in Loop: Header=BB0_3 Depth=1 movq %rax, -72(%rbp) ## 8-byte Spill movq %rbx, %r14 incq %r14 movq %r14, %rdi leaq -48(%rbp), %rsi xorl %edx, %edx callq _strtoul movq -48(%rbp), %rbx cmpq %rbx, %r14 je LBB0_34 ## %bb.11: ## in Loop: Header=BB0_3 Depth=1 movq %rax, %r15 addq $-65536, %rax ## imm = 0xFFFF0000 cmpq $-65535, %rax ## imm = 0xFFFF0001 movq -72(%rbp), %rax ## 8-byte Reload movq %r12, %rsi movq -56(%rbp), %r8 ## 8-byte Reload movq -64(%rbp), %r12 ## 8-byte Reload jae LBB0_12 jmp LBB0_34 .p2align 4, 0x90 LBB0_4: ## in Loop: Header=BB0_3 Depth=1 movq %rsi, %rax jmp LBB0_12 .p2align 4, 0x90 LBB0_9: ## in Loop: Header=BB0_3 Depth=1 movq %r12, %rsi movq -56(%rbp), %r8 ## 8-byte Reload movq -64(%rbp), %r12 ## 8-byte Reload LBB0_12: ## in Loop: Header=BB0_3 Depth=1 subq %rsi, %rax movq %rax, %rcx orq %r15, %rcx shrq $32, %rcx je LBB0_13 ## %bb.14: ## in Loop: Header=BB0_3 Depth=1 xorl %edx, %edx divq %r15 movq %rax, %r14 jmp LBB0_15 .p2align 4, 0x90 LBB0_13: ## in Loop: Header=BB0_3 Depth=1 ## kill: def $eax killed $eax killed $rax xorl %edx, %edx divl %r15d movl %eax, %r14d LBB0_15: ## in Loop: Header=BB0_3 Depth=1 leaq (%r14,%r8), %rax decq %rax decq %r14 cmpq %r13, %rax jae LBB0_19 ## %bb.16: ## in Loop: Header=BB0_3 Depth=1 movq %r13, -56(%rbp) ## 8-byte Spill movq %r12, %r13 jmp LBB0_17 .p2align 4, 0x90 LBB0_19: ## in Loop: Header=BB0_3 Depth=1 cmpq $65, %r13 movl $64, %eax cmovbq %rax, %r13 leaq (,%r13,2), %rax cmpq %r14, %r13 leaq (%r13,%r14,2), %r13 cmovaq %rax, %r13 movq %r13, -56(%rbp) ## 8-byte Spill movq %rsi, -64(%rbp) ## 8-byte Spill leaq (,%r13,2), %rsi movq %r8, %r13 movq %r12, %rdi callq _realloc movq %r13, %r8 movq -64(%rbp), %rsi ## 8-byte Reload movq %rax, %r13 testq %rax, %rax je LBB0_20 LBB0_17: ## in Loop: Header=BB0_3 Depth=1 testq %r14, %r14 je LBB0_18 ## %bb.21: ## in Loop: Header=BB0_3 Depth=1 cmpq $7, %r14 ja LBB0_25 ## %bb.22: ## in Loop: Header=BB0_3 Depth=1 movq %r14, %rax movq %r8, %r12 movq %rsi, %rcx jmp LBB0_23 .p2align 4, 0x90 LBB0_18: ## in Loop: Header=BB0_3 Depth=1 movq %r8, %r12 jmp LBB0_28 .p2align 4, 0x90 LBB0_25: ## in Loop: Header=BB0_3 Depth=1 movq %r14, %rdx andq $-8, %rdx movl %r14d, %eax andl $7, %eax leaq (%r8,%rdx), %r12 movq %rdx, %rcx imulq %r15, %rcx addq %rsi, %rcx movd %esi, %xmm0 pshuflw $0, %xmm0, %xmm0 ## xmm0 = xmm0[0,0,0,0,4,5,6,7] pshufd $0, %xmm0, %xmm2 ## xmm2 = xmm0[0,0,0,0] movd %r15d, %xmm0 pshuflw $0, %xmm0, %xmm0 ## xmm0 = xmm0[0,0,0,0,4,5,6,7] pshufd $0, %xmm0, %xmm0 ## xmm0 = xmm0[0,0,0,0] movdqa %xmm0, %xmm1 pmullw LCPI0_0(%rip), %xmm1 ## [0,1,2,3,4,5,6,7] paddw %xmm2, %xmm1 psllw $3, %xmm0 leaq (,%r8,2), %rsi addq %r13, %rsi xorl %edi, %edi .p2align 4, 0x90 LBB0_26: ## Parent Loop BB0_3 Depth=1 ## => This Inner Loop Header: Depth=2 movdqu %xmm1, (%rsi,%rdi,2) addq $8, %rdi paddw %xmm0, %xmm1 cmpq %rdi, %rdx jne LBB0_26 ## %bb.27: ## in Loop: Header=BB0_3 Depth=1 cmpq %rdx, %r14 je LBB0_28 LBB0_23: ## in Loop: Header=BB0_3 Depth=1 movq %r12, %rdx .p2align 4, 0x90 LBB0_24: ## Parent Loop BB0_3 Depth=1 ## => This Inner Loop Header: Depth=2 leaq 1(%rdx), %r12 movw %cx, (%r13,%rdx,2) addl %r15d, %ecx ## kill: def $cx killed $cx killed $ecx def $rcx movq %r12, %rdx decq %rax jne LBB0_24 jmp LBB0_28 .p2align 4, 0x90 LBB0_37: ## in Loop: Header=BB0_28 Depth=2 incq %rbx LBB0_28: ## Parent Loop BB0_3 Depth=1 ## => This Inner Loop Header: Depth=2 movzbl (%rbx), %eax cmpl $9, %eax je LBB0_37 ## %bb.29: ## in Loop: Header=BB0_28 Depth=2 cmpl $32, %eax je LBB0_37 ## %bb.30: ## in Loop: Header=BB0_3 Depth=1 cmpl $44, %eax jne LBB0_32 ## %bb.31: ## in Loop: Header=BB0_3 Depth=1 incq %rbx LBB0_32: ## in Loop: Header=BB0_3 Depth=1 movq %rbx, %r14 movq %rbx, %rdi leaq -48(%rbp), %rsi xorl %edx, %edx callq _strtoul movq -48(%rbp), %rbx cmpq %rbx, %r14 je LBB0_34 ## %bb.33: ## in Loop: Header=BB0_3 Depth=1 movq %rax, %rsi movq %r12, %r8 movq %r13, %r12 cmpq $65536, %rax ## imm = 0x10000 movq -56(%rbp), %r13 ## 8-byte Reload jb LBB0_3 jmp LBB0_34 LBB0_20: movq %r12, %rdi callq _free leaq L_.str.1(%rip), %rdi jmp LBB0_35 .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "GOMP_CPU_AFFINITY" L_.str.1: ## @.str.1 .asciz "not enough memory to store GOMP_CPU_AFFINITY list" .comm _gomp_cpu_affinity,8,3 ## @gomp_cpu_affinity .comm _gomp_cpu_affinity_len,8,3 ## @gomp_cpu_affinity_len L_.str.2: ## @.str.2 .asciz "Invalid value for enviroment variable GOMP_CPU_AFFINITY" .no_dead_strip _parse_affinity .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_affinity lCPI0_0: .short 0 ; 0x0 .short 1 ; 0x1 .short 2 ; 0x2 .short 3 ; 0x3 .short 4 ; 0x4 .short 5 ; 0x5 .short 6 ; 0x6 .short 7 ; 0x7 .section __TEXT,__text,regular,pure_instructions .p2align 2 _parse_affinity: ; @parse_affinity .cfi_startproc ; %bb.0: sub sp, sp, #128 stp x28, x27, [sp, #32] ; 16-byte Folded Spill stp x26, x25, [sp, #48] ; 16-byte Folded Spill stp x24, x23, [sp, #64] ; 16-byte Folded Spill stp x22, x21, [sp, #80] ; 16-byte Folded Spill stp x20, x19, [sp, #96] ; 16-byte Folded Spill stp x29, x30, [sp, #112] ; 16-byte Folded Spill add x29, sp, #112 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset w27, -88 .cfi_offset w28, -96 Lloh0: adrp x0, l_.str@PAGE Lloh1: add x0, x0, l_.str@PAGEOFF bl _getenv cbz x0, LBB0_4 ; %bb.1: add x1, sp, #24 mov x19, x0 mov w2, #0 ; =0x0 bl _strtoul ldr x28, [sp, #24] cmp x19, x28 lsr x8, x0, #16 ccmp x8, #0, #0, ne b.eq LBB0_5 ; %bb.2: Lloh2: adrp x19, l_.str.2@PAGE Lloh3: add x19, x19, l_.str.2@PAGEOFF LBB0_3: mov x0, x19 bl _gomp_error LBB0_4: mov w0, #0 ; =0x0 ldp x29, x30, [sp, #112] ; 16-byte Folded Reload ldp x20, x19, [sp, #96] ; 16-byte Folded Reload ldp x22, x21, [sp, #80] ; 16-byte Folded Reload ldp x24, x23, [sp, #64] ; 16-byte Folded Reload ldp x26, x25, [sp, #48] ; 16-byte Folded Reload ldp x28, x27, [sp, #32] ; 16-byte Folded Reload add sp, sp, #128 ret LBB0_5: mov x21, x0 mov x26, #0 ; =0x0 mov x25, #0 ; =0x0 mov x20, #0 ; =0x0 Lloh4: adrp x8, lCPI0_0@PAGE Lloh5: ldr q0, [x8, lCPI0_0@PAGEOFF] str q0, [sp] ; 16-byte Folded Spill mov w27, #64 ; =0x40 Lloh6: adrp x19, l_.str.2@PAGE Lloh7: add x19, x19, l_.str.2@PAGEOFF LBB0_6: ; =>This Loop Header: Depth=1 ; Child Loop BB0_21 Depth 2 ; Child Loop BB0_24 Depth 2 ; Child Loop BB0_26 Depth 2 ldrb w8, [x28] cmp w8, #45 b.ne LBB0_11 ; %bb.7: ; in Loop: Header=BB0_6 Depth=1 add x22, x28, #1 add x1, sp, #24 mov x0, x22 mov w2, #0 ; =0x0 bl _strtoul ldr x28, [sp, #24] cmp x22, x28 lsr x8, x0, #16 ccmp x8, #0, #0, ne ccmp x0, x21, #0, eq b.lo LBB0_3 ; %bb.8: ; in Loop: Header=BB0_6 Depth=1 mov x23, x0 ldrb w8, [x28] cmp w8, #58 b.ne LBB0_12 ; %bb.9: ; in Loop: Header=BB0_6 Depth=1 add x24, x28, #1 add x1, sp, #24 mov x0, x24 mov w2, #0 ; =0x0 bl _strtoul ldr x28, [sp, #24] cmp x24, x28 b.eq LBB0_3 ; %bb.10: ; in Loop: Header=BB0_6 Depth=1 mov x22, x0 sub x8, x0, #16, lsl #12 ; =65536 mov x9, #-65535 ; =0xffffffffffff0001 cmp x8, x9 b.hs LBB0_13 b LBB0_3 LBB0_11: ; in Loop: Header=BB0_6 Depth=1 mov x23, x21 LBB0_12: ; in Loop: Header=BB0_6 Depth=1 mov w22, #1 ; =0x1 LBB0_13: ; in Loop: Header=BB0_6 Depth=1 sub x8, x23, x21 udiv x8, x8, x22 sub x24, x8, #1 add x8, x24, x26 cmp x8, x25 b.lo LBB0_16 ; %bb.14: ; in Loop: Header=BB0_6 Depth=1 cmp x25, #64 csel x8, x25, x27, hi lsl x9, x8, #1 add x10, x8, x24, lsl #1 cmp x8, x24 csel x25, x9, x10, hi lsl x1, x25, #1 mov x0, x20 bl _realloc cbz x0, LBB0_30 ; %bb.15: ; in Loop: Header=BB0_6 Depth=1 mov x20, x0 LBB0_16: ; in Loop: Header=BB0_6 Depth=1 cbz x24, LBB0_19 ; %bb.17: ; in Loop: Header=BB0_6 Depth=1 cmp x24, #31 b.hi LBB0_20 ; %bb.18: ; in Loop: Header=BB0_6 Depth=1 mov x8, x24 mov x23, x26 mov x9, x21 b LBB0_23 LBB0_19: ; in Loop: Header=BB0_6 Depth=1 mov x23, x26 b LBB0_26 LBB0_20: ; in Loop: Header=BB0_6 Depth=1 and x10, x24, #0xffffffffffffffe0 and x8, x24, #0x1f add x23, x26, x10 madd x9, x10, x22, x21 dup.8h v0, w21 dup.8h v1, w22 ldr q2, [sp] ; 16-byte Folded Reload mla.8h v0, v1, v2 lsl w11, w22, #3 dup.8h v1, w11 add x11, x20, x26, lsl #1 add x11, x11, #32 mov x12, x10 LBB0_21: ; Parent Loop BB0_6 Depth=1 ; => This Inner Loop Header: Depth=2 add.8h v2, v0, v1 add.8h v3, v2, v1 add.8h v4, v3, v1 stp q0, q2, [x11, #-32] stp q3, q4, [x11], #64 add.8h v0, v4, v1 subs x12, x12, #32 b.ne LBB0_21 ; %bb.22: ; in Loop: Header=BB0_6 Depth=1 cmp x24, x10 b.eq LBB0_26 LBB0_23: ; in Loop: Header=BB0_6 Depth=1 mov x10, x23 LBB0_24: ; Parent Loop BB0_6 Depth=1 ; => This Inner Loop Header: Depth=2 add x23, x10, #1 strh w9, [x20, x10, lsl #1] add x9, x9, x22 mov x10, x23 subs x8, x8, #1 b.ne LBB0_24 b LBB0_26 LBB0_25: ; in Loop: Header=BB0_26 Depth=2 add x28, x28, #1 LBB0_26: ; Parent Loop BB0_6 Depth=1 ; => This Inner Loop Header: Depth=2 ldrb w8, [x28] cmp w8, #9 b.eq LBB0_25 ; %bb.27: ; in Loop: Header=BB0_26 Depth=2 cmp w8, #32 b.eq LBB0_25 ; %bb.28: ; in Loop: Header=BB0_6 Depth=1 cmp w8, #44 cinc x22, x28, eq add x1, sp, #24 mov x0, x22 mov w2, #0 ; =0x0 bl _strtoul ldr x28, [sp, #24] cmp x22, x28 b.eq LBB0_3 ; %bb.29: ; in Loop: Header=BB0_6 Depth=1 mov x21, x0 mov x26, x23 cmp x0, #16, lsl #12 ; =65536 b.lo LBB0_6 b LBB0_3 LBB0_30: mov x0, x20 bl _free Lloh8: adrp x19, l_.str.1@PAGE Lloh9: add x19, x19, l_.str.1@PAGEOFF b LBB0_3 .loh AdrpAdd Lloh0, Lloh1 .loh AdrpAdd Lloh2, Lloh3 .loh AdrpAdd Lloh6, Lloh7 .loh AdrpLdr Lloh4, Lloh5 .loh AdrpAdd Lloh8, Lloh9 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "GOMP_CPU_AFFINITY" l_.str.1: ; @.str.1 .asciz "not enough memory to store GOMP_CPU_AFFINITY list" .comm _gomp_cpu_affinity,8,3 ; @gomp_cpu_affinity .comm _gomp_cpu_affinity_len,8,3 ; @gomp_cpu_affinity_len l_.str.2: ; @.str.2 .asciz "Invalid value for enviroment variable GOMP_CPU_AFFINITY" .no_dead_strip _parse_affinity .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 sub 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 .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 .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 movl $0, (%rsi) xorl %eax, %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 _strsplit_by_char ; -- Begin function strsplit_by_char .p2align 2 _strsplit_by_char: ; @strsplit_by_char .cfi_startproc ; %bb.0: str wzr, [x1] mov x0, #0 ; =0x0 ret .cfi_endproc ; -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _taosStringBuilderEnsureCapacity ## -- Begin function taosStringBuilderEnsureCapacity .p2align 4, 0x90 _taosStringBuilderEnsureCapacity: ## @taosStringBuilderEnsureCapacity .cfi_startproc ## %bb.0: 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 addq 24(%rdi), %rbx cmpq (%rdi), %rbx jb LBB0_4 ## %bb.1: movq %rdi, %r14 addq %rbx, %rbx movq 8(%rdi), %rdi movq %rbx, %rsi callq _realloc movq %rax, %r15 testq %rax, %rax je LBB0_3 ## %bb.2: movl 16(%r14), %edi movl $1, %esi callq _longjmp LBB0_3: movq %r15, 8(%r14) movq %rbx, (%r14) LBB0_4: 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 _taosStringBuilderEnsureCapacity ; -- Begin function taosStringBuilderEnsureCapacity .p2align 2 _taosStringBuilderEnsureCapacity: ; @taosStringBuilderEnsureCapacity .cfi_startproc ; %bb.0: ldr x8, [x0, #24] ldr x9, [x0] add x8, x8, x1 cmp x8, x9 b.lo 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 lsl x20, x8, #1 ldr x0, [x0, #8] mov x1, x20 bl _realloc mov x21, x0 cbz x0, LBB0_3 ; %bb.2: ldr w0, [x19, #16] mov w1, #1 ; =0x1 bl _longjmp LBB0_3: stp x20, x21, [x19] ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload LBB0_4: ret .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 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 movq %rdi, %r14 testq %rdi, %rdi jne LBB0_2 ## %bb.1: movl $1, %edi movl $16, %esi callq _calloc movq %rax, %r14 LBB0_2: movl (%r14), %eax cmpl 4(%r14), %eax jle LBB0_6 ## %bb.3: xorl %edi, %edi cmpq $0, 8(%r14) setne %dil jmp LBB0_4 LBB0_6: 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_7 LBB0_4: callq _assert testq %rbx, %rbx je LBB0_8 ## %bb.5: movq 8(%r14), %rax movslq 4(%r14), %rcx leal -1(%rcx), %edx movl %edx, 4(%r14) movq %rbx, (%rax,%rcx,8) jmp LBB0_8 LBB0_7: movq $0, (%r14) LBB0_8: 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 mov x20, x0 cbnz x0, LBB0_2 ; %bb.1: mov w0, #1 ; =0x1 mov w1, #16 ; =0x10 bl _calloc mov x20, x0 LBB0_2: ldp w8, w9, [x20] cmp w8, w9 b.le LBB0_4 ; %bb.3: ldr x8, [x20, #8] cmp x8, #0 cset w0, ne bl _assert cbnz x19, LBB0_6 b LBB0_8 LBB0_4: 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_7 ; %bb.5: mov w0, #1 ; =0x1 bl _assert cbz x19, LBB0_8 LBB0_6: ldr x8, [x20, #8] ldrsw x9, [x20, #4] sub w10, w9, #1 str w10, [x20, #4] str x19, [x8, x9, lsl #3] b LBB0_8 LBB0_7: str xzr, [x20] LBB0_8: 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 hpack_append_hdr _hpack_append_hdr: ## @hpack_append_hdr .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 .no_dead_strip _hpack_append_hdr .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function hpack_append_hdr _hpack_append_hdr: ; @hpack_append_hdr .cfi_startproc ; %bb.0: mov w0, #-1 ; =0xffffffff ret .cfi_endproc ; -- End function .no_dead_strip _hpack_append_hdr .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function alloc_fswitch _alloc_fswitch: ## @alloc_fswitch .cfi_startproc ## %bb.0: 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 movl %esi, %r15d movq %rdi, %rbx movq 8(%rdi), %rax cmpq %rax, (%rdi) jb LBB0_5 ## %bb.1: leaq (%rax,%rax,4), %r12 shrq $2, %r12 addq $16, %r12 movq 16(%rbx), %rdi leal (,%r12,8), %esi callq _realloc testq %rax, %rax je LBB0_2 ## %bb.4: movl %r12d, %ecx movq %rax, 16(%rbx) movq %rcx, 8(%rbx) movq (%rbx), %rcx leaq (%rax,%rcx,8), %rdi subl %ecx, %r12d shll $3, %r12d xorl %esi, %esi movl %r12d, %edx callq _memset LBB0_5: movl %r14d, %esi addq $16, %rsi movl $1, %edi callq _calloc testq %rax, %rax je LBB0_6 ## %bb.7: movq %rax, %rcx addq $16, %rcx movq %rcx, 8(%rax) movl %r15d, 4(%rax) movl %r14d, (%rax) movq (%rbx), %rcx movq 16(%rbx), %rdx leaq -1(%rcx), %rsi movq %rsi, (%rbx) movq %rax, (%rdx,%rcx,8) jmp LBB0_8 LBB0_6: movq 24(%rbx), %rbx movq _OSM_LOG_ERROR@GOTPCREL(%rip), %rax movl (%rax), %r14d movq _errno@GOTPCREL(%rip), %rax movl (%rax), %edi callq _strerror leaq L_.str.1(%rip), %rdx jmp LBB0_3 LBB0_2: movq 24(%rbx), %rbx movq _OSM_LOG_ERROR@GOTPCREL(%rip), %rax movl (%rax), %r14d movq _errno@GOTPCREL(%rip), %rax movl (%rax), %edi callq _strerror leaq L_.str(%rip), %rdx LBB0_3: movq %rbx, %rdi movl %r14d, %esi movl %eax, %ecx callq _OSM_LOG xorl %eax, %eax LBB0_8: popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _OSM_LOG_ERROR,4,2 ## @OSM_LOG_ERROR .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "ERR 4E02: realloc: %s\n" .comm _errno,4,2 ## @errno L_.str.1: ## @.str.1 .asciz "ERR 4E03: calloc: %s\n" .no_dead_strip _alloc_fswitch .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function alloc_fswitch _alloc_fswitch: ; @alloc_fswitch .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 ldp x9, x8, [x0] cmp x9, x8 b.lo LBB0_3 ; %bb.1: add x8, x8, x8, lsl #2 lsr x8, x8, #2 add x22, x8, #16 ldr x0, [x19, #16] lsl w1, w22, #3 bl _realloc cbz x0, LBB0_6 ; %bb.2: mov w8, w22 stp x8, x0, [x19, #8] ldr x8, [x19] add x0, x0, x8, lsl #3 sub w8, w22, w8 lsl w2, w8, #3 mov w1, #0 ; =0x0 bl _memset LBB0_3: mov w8, w20 add x1, x8, #16 mov w0, #1 ; =0x1 bl _calloc cbz x0, LBB0_5 ; %bb.4: add x8, x0, #16 str x8, [x0, #8] stp w20, w21, [x0] ldr x8, [x19, #16] ldr x9, [x19] sub x10, x9, #1 str x10, [x19] str x0, [x8, x9, lsl #3] b LBB0_8 LBB0_5: ldr x19, [x19, #24] Lloh0: adrp x8, _OSM_LOG_ERROR@GOTPAGE Lloh1: ldr x8, [x8, _OSM_LOG_ERROR@GOTPAGEOFF] Lloh2: ldr w20, [x8] Lloh3: adrp x8, _errno@GOTPAGE Lloh4: ldr x8, [x8, _errno@GOTPAGEOFF] Lloh5: ldr w0, [x8] bl _strerror mov x3, x0 Lloh6: adrp x2, l_.str.1@PAGE Lloh7: add x2, x2, l_.str.1@PAGEOFF b LBB0_7 LBB0_6: ldr x19, [x19, #24] Lloh8: adrp x8, _OSM_LOG_ERROR@GOTPAGE Lloh9: ldr x8, [x8, _OSM_LOG_ERROR@GOTPAGEOFF] Lloh10: ldr w20, [x8] Lloh11: adrp x8, _errno@GOTPAGE Lloh12: ldr x8, [x8, _errno@GOTPAGEOFF] Lloh13: ldr w0, [x8] bl _strerror mov x3, x0 Lloh14: adrp x2, l_.str@PAGE Lloh15: add x2, x2, l_.str@PAGEOFF LBB0_7: mov x0, x19 mov x1, x20 bl _OSM_LOG mov x0, #0 ; =0x0 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 AdrpAdd Lloh6, Lloh7 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpAdd Lloh14, Lloh15 .loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13 .loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10 .cfi_endproc ; -- End function .comm _OSM_LOG_ERROR,4,2 ; @OSM_LOG_ERROR .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "ERR 4E02: realloc: %s\n" .comm _errno,4,2 ; @errno l_.str.1: ; @.str.1 .asciz "ERR 4E03: calloc: %s\n" .no_dead_strip _alloc_fswitch .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_1 ## %bb.2: movq %rsi, %r14 movq %rdi, %rbx 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 LBB0_1: movq _ARCHIVE_FAILED@GOTPCREL(%rip), %r15 LBB0_5: movl (%r15), %eax addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq .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_5 ; %bb.1: mov x20, x1 mov x19, x0 ldr x0, [x0] ldr w8, [x19, #8] lsl w8, w8, #3 add w1, w8, #16 bl _realloc cbz x0, LBB0_4 ; %bb.2: 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_4 ; %bb.3: sub x9, x9, #1 str w9, [x19, #8] str xzr, [x8, x9, lsl #3] Lloh0: adrp x8, _ARCHIVE_OK@GOTPAGE Lloh1: ldr x8, [x8, _ARCHIVE_OK@GOTPAGEOFF] b LBB0_6 LBB0_4: Lloh2: adrp x8, _ARCHIVE_FATAL@GOTPAGE Lloh3: ldr x8, [x8, _ARCHIVE_FATAL@GOTPAGEOFF] b LBB0_6 LBB0_5: Lloh4: adrp x8, _ARCHIVE_FAILED@GOTPAGE Lloh5: ldr x8, [x8, _ARCHIVE_FAILED@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 str_realloc _str_realloc: ## @str_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 %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movq (%rdi), %r14 testq %r14, %r14 je LBB0_4 ## %bb.1: movq %rdi, %rbx movq %r14, %rdi callq _strlen leaq -1(%rax), %rsi movq %r14, %rdi callq _realloc testq %rax, %rax je LBB0_4 ## %bb.2: movq %rax, (%rbx) jmp LBB0_5 LBB0_4: xorl %eax, %eax LBB0_5: popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _str_realloc .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function str_realloc _str_realloc: ; @str_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 ldr x20, [x0] cbz x20, LBB0_3 ; %bb.1: mov x19, x0 mov x0, x20 bl _strlen sub x1, x0, #1 mov x0, x20 bl _realloc cbz x0, LBB0_4 ; %bb.2: str x0, [x19] b LBB0_4 LBB0_3: mov x0, #0 ; =0x0 LBB0_4: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .no_dead_strip _str_realloc .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function append_string _append_string: ## @append_string .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rcx, %r13 movq %rdx, %r15 movq %rsi, %rbx movq %rdi, %r14 movq %rcx, -48(%rbp) testl %r8d, %r8d je LBB0_2 ## %bb.1: movq _Q_RFC2253@GOTPCREL(%rip), %rax movl (%rax), %edx leaq -48(%rbp), %rcx movq %r15, %rdi movq %r13, %rsi callq _quote_string movq %rax, %r12 movq -48(%rbp), %r13 jmp LBB0_3 LBB0_2: movq %r15, %rdi callq _rk_UNCONST movq %rax, %r12 LBB0_3: movq (%r14), %rdi subq (%rbx), %r13 incq %r13 movq %r13, %rsi callq _realloc movq %rax, %r13 testq %rax, %rax jne LBB0_5 ## %bb.4: leaq L_.str(%rip), %rdi callq __hx509_abort LBB0_5: movq (%rbx), %rdi addq %r13, %rdi movq -48(%rbp), %rdx movq %r12, %rsi callq _memcpy cmpq %r15, %r12 je LBB0_7 ## %bb.6: movq %r12, %rdi callq _free LBB0_7: movq (%rbx), %rax movq -48(%rbp), %rcx movq %r13, %rdx addq %rax, %rdx movb $0, (%rcx,%rdx) movq %r13, (%r14) addq %rax, %rcx movq %rcx, (%rbx) xorl %eax, %eax addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _Q_RFC2253,4,2 ## @Q_RFC2253 .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "allocation failure" .no_dead_strip _append_string .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function append_string _append_string: ; @append_string .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 x23, x3 mov x21, x2 mov x19, x1 mov x20, x0 str x3, [sp, #8] cbz w4, LBB0_2 ; %bb.1: Lloh0: adrp x8, _Q_RFC2253@GOTPAGE Lloh1: ldr x8, [x8, _Q_RFC2253@GOTPAGEOFF] Lloh2: ldr w2, [x8] add x3, sp, #8 mov x0, x21 mov x1, x23 bl _quote_string mov x22, x0 ldr x23, [sp, #8] b LBB0_3 LBB0_2: mov x0, x21 bl _rk_UNCONST mov x22, x0 LBB0_3: ldr x0, [x20] ldr x8, [x19] sub x8, x23, x8 add x1, x8, #1 bl _realloc mov x23, x0 cbnz x0, LBB0_5 ; %bb.4: Lloh3: adrp x0, l_.str@PAGE Lloh4: add x0, x0, l_.str@PAGEOFF bl __hx509_abort LBB0_5: ldr x8, [x19] ldr x2, [sp, #8] add x0, x23, x8 mov x1, x22 bl _memcpy cmp x22, x21 b.eq LBB0_7 ; %bb.6: mov x0, x22 bl _free LBB0_7: ldr x8, [x19] ldr x9, [sp, #8] add x10, x23, x8 strb wzr, [x10, x9] str x23, [x20] add x8, x9, x8 str x8, [x19] 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 add sp, sp, #80 ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpAdd Lloh3, Lloh4 .cfi_endproc ; -- End function .comm _Q_RFC2253,4,2 ; @Q_RFC2253 .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "allocation failure" .no_dead_strip _append_string .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function pqAddTuple _pqAddTuple: ## @pqAddTuple .cfi_startproc ## %bb.0: 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), %rcx movq 8(%rdi), %rax cmpq %rax, %rcx jae LBB0_3 ## %bb.1: movq 24(%rdi), %rax LBB0_2: movq %rsi, (%rax,%rcx,8) decq %rcx movq %rcx, (%rdi) movl $1, %eax jmp LBB0_11 LBB0_3: movq _INT_MAX@GOTPCREL(%rip), %rcx movl (%rcx), %ebx movl %ebx, %ecx shrl $31, %ecx addl %ebx, %ecx sarl %ecx movslq %ecx, %rcx cmpq %rcx, %rax jbe LBB0_6 ## %bb.4: movslq %ebx, %r14 cmpq %r14, %rax jb LBB0_7 ## %bb.5: leaq L_.str(%rip), %rdi jmp LBB0_9 LBB0_6: leal (%rax,%rax), %ecx testq %rax, %rax movl $128, %ebx cmovnel %ecx, %ebx movslq %ebx, %r14 LBB0_7: movq _SIZE_MAX@GOTPCREL(%rip), %rax movslq (%rax), %rax shrq $3, %rax cmpq %r14, %rax jae LBB0_12 ## %bb.8: leaq L_.str.1(%rip), %rdi LBB0_9: movq %rdx, %rbx callq _libpq_gettext movq %rax, (%rbx) LBB0_10: xorl %eax, %eax LBB0_11: popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq LBB0_12: movq %rsi, %r15 leal (,%rbx,8), %esi movq %rdi, %r12 cmpq $0, 24(%rdi) je LBB0_15 ## %bb.13: movl %esi, %edi callq _malloc testq %rax, %rax jne LBB0_14 jmp LBB0_10 LBB0_15: xorl %edi, %edi callq _realloc testq %rax, %rax je LBB0_10 LBB0_14: movq %r12, %rdi movq %r15, %rsi subl 8(%r12), %ebx shll $3, %ebx addl %ebx, 16(%r12) movq %r14, 8(%r12) movq %rax, 24(%r12) movq (%r12), %rcx jmp LBB0_2 .cfi_endproc ## -- End function .comm _INT_MAX,4,2 ## @INT_MAX .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "PGresult cannot support more than INT_MAX tuples" .comm _SIZE_MAX,4,2 ## @SIZE_MAX L_.str.1: ## @.str.1 .asciz "size_t overflow" .no_dead_strip _pqAddTuple .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function pqAddTuple _pqAddTuple: ; @pqAddTuple .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 ldp x9, x8, [x0] cmp x9, x8 b.hs LBB0_3 ; %bb.1: ldr x8, [x0, #24] LBB0_2: str x1, [x8, x9, lsl #3] sub x8, x9, #1 str x8, [x0] mov w0, #1 ; =0x1 b LBB0_14 LBB0_3: Lloh0: adrp x9, _INT_MAX@GOTPAGE Lloh1: ldr x9, [x9, _INT_MAX@GOTPAGEOFF] Lloh2: ldr w20, [x9] add w9, w20, w20, lsr #31 asr w9, w9, #1 cmp x8, w9, sxtw b.ls LBB0_6 ; %bb.4: sxtw x19, w20 cmp x8, x19 b.hs LBB0_12 ; %bb.5: ; kill: def $w20 killed $w20 killed $x20 def $x20 b LBB0_7 LBB0_6: lsl w9, w8, #1 cmp x8, #0 mov w8, #128 ; =0x80 csel w20, w8, w9, eq sxtw x19, w20 LBB0_7: Lloh3: adrp x8, _SIZE_MAX@GOTPAGE Lloh4: ldr x8, [x8, _SIZE_MAX@GOTPAGEOFF] Lloh5: ldrsw x8, [x8] cmp x19, x8, lsr #3 b.ls LBB0_9 ; %bb.8: Lloh6: adrp x0, l_.str.1@PAGE Lloh7: add x0, x0, l_.str.1@PAGEOFF b LBB0_13 LBB0_9: mov x21, x1 mov x22, x0 ldr x8, [x0, #24] lsl w1, w20, #3 cbz x8, LBB0_15 ; %bb.10: mov x0, x1 bl _malloc mov x8, x0 cbz x0, LBB0_16 LBB0_11: mov x0, x22 mov x1, x21 ldr w9, [x22, #8] ldr w10, [x22, #16] sub w9, w20, w9 add w9, w10, w9, lsl #3 str w9, [x22, #16] str x19, [x22, #8] str x8, [x22, #24] ldr x9, [x22] b LBB0_2 LBB0_12: Lloh8: adrp x0, l_.str@PAGE Lloh9: add x0, x0, l_.str@PAGEOFF LBB0_13: mov x19, x2 bl _libpq_gettext mov x8, x0 mov w0, #0 ; =0x0 str x8, [x19] LBB0_14: ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret LBB0_15: mov x0, #0 ; =0x0 bl _realloc mov x8, x0 cbnz x0, LBB0_11 LBB0_16: mov w0, #0 ; =0x0 b LBB0_14 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpAdd Lloh6, Lloh7 .loh AdrpAdd Lloh8, Lloh9 .cfi_endproc ; -- End function .comm _INT_MAX,4,2 ; @INT_MAX .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "PGresult cannot support more than INT_MAX tuples" .comm _SIZE_MAX,4,2 ; @SIZE_MAX l_.str.1: ; @.str.1 .asciz "size_t overflow" .no_dead_strip _pqAddTuple .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 .globl _ck_array_put ## -- Begin function ck_array_put .p2align 4, 0x90 _ck_array_put: ## @ck_array_put .cfi_startproc ## %bb.0: cmpq $0, 8(%rdi) je LBB0_1 ## %bb.3: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdi, %rbx movq 24(%rdi), %r14 movl (%rdi), %r15d cmpl (%r14), %r15d jne LBB0_7 ## %bb.4: movq %rsi, %r13 movq 16(%rbx), %rax leal 16(,%r15,8), %esi movl %r15d, %edx shll $4, %edx addl $16, %edx movq %r14, %rdi movl $1, %ecx callq *(%rax) testq %rax, %rax je LBB0_5 ## %bb.6: movq %rax, %r14 leaq 24(%rbx), %r12 addl %r15d, %r15d movq %rax, %rdi movl %r15d, %esi callq _ck_pr_store_uint xorl %eax, %eax callq _ck_pr_fence_store movq %r12, %rdi movq %r14, %rsi callq _ck_pr_store_ptr movl (%rbx), %r15d movq %r13, %rsi LBB0_7: movq 8(%r14), %rax leal -1(%r15), %ecx movl %ecx, (%rbx) movslq %r15d, %rcx movq %rsi, (%rax,%rcx,8) movl $1, %eax LBB0_8: addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_1: ## implicit-def: $eax retq LBB0_5: xorl %eax, %eax jmp LBB0_8 .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _ck_array_put ; -- Begin function ck_array_put .p2align 2 _ck_array_put: ; @ck_array_put .cfi_startproc ; %bb.0: ldr x8, [x0, #8] cbz x8, LBB0_6 ; %bb.1: stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill stp x22, x21, [sp, #16] ; 16-byte Folded Spill stp x20, x19, [sp, #32] ; 16-byte Folded Spill stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 mov x20, x0 ldr x19, [x20, #24]! ldr w21, [x0] ldr w8, [x19] cmp w21, w8 b.ne LBB0_4 ; %bb.2: mov x22, x1 mov x23, x0 ldr x8, [x0, #16] ldr x8, [x8] lsl w9, w21, #3 lsl w10, w21, #4 add w1, w9, #16 add w2, w10, #16 mov x0, x19 mov w3, #1 ; =0x1 blr x8 cbz x0, LBB0_5 ; %bb.3: mov x19, x0 lsl w1, w21, #1 bl _ck_pr_store_uint bl _ck_pr_fence_store mov x0, x20 mov x1, x19 bl _ck_pr_store_ptr mov x0, x23 ldr w21, [x23] mov x1, x22 LBB0_4: ldr x8, [x19, #8] sub w9, w21, #1 str w9, [x0] str x1, [x8, w21, sxtw #3] mov w0, #1 ; =0x1 LBB0_5: 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_6: ; implicit-def: $w0 ret .cfi_endproc ; -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _heim_array_append_value ## -- Begin function heim_array_append_value .p2align 4, 0x90 _heim_array_append_value: ## @heim_array_append_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 %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movl %esi, %r14d movq %rdi, %rbx movq 8(%rdi), %rdi movl (%rbx), %eax leal 4(,%rax,4), %esi callq _realloc testq %rax, %rax je LBB0_2 ## %bb.1: movq _ENOMEM@GOTPCREL(%rip), %rax movl (%rax), %eax jmp LBB0_3 LBB0_2: movq $0, 8(%rbx) movl %r14d, %edi callq _heim_retain movq 8(%rbx), %rcx movslq (%rbx), %rdx leal -1(%rdx), %esi movl %esi, (%rbx) movl %eax, (%rcx,%rdx,4) xorl %eax, %eax LBB0_3: popq %rbx popq %r14 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 _heim_array_append_value ; -- Begin function heim_array_append_value .p2align 2 _heim_array_append_value: ; @heim_array_append_value .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x20, x1 mov x19, x0 ldr x0, [x0, #8] ldr w8, [x19] lsl w8, w8, #2 add w1, w8, #4 bl _realloc cbz x0, LBB0_2 ; %bb.1: Lloh0: adrp x8, _ENOMEM@GOTPAGE Lloh1: ldr x8, [x8, _ENOMEM@GOTPAGEOFF] Lloh2: ldr w0, [x8] b LBB0_3 LBB0_2: str xzr, [x19, #8] mov x0, x20 bl _heim_retain mov x8, x0 mov w0, #0 ; =0x0 ldr x9, [x19, #8] ldrsw x10, [x19] sub w11, w10, #1 str w11, [x19] str w8, [x9, x10, lsl #2] LBB0_3: 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 _ENOMEM,4,2 ; @ENOMEM .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _CheatAddCode ## -- Begin function CheatAddCode .p2align 4, 0x90 _CheatAddCode: ## @CheatAddCode .cfi_startproc ## %bb.0: 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 _cheatlist@GOTPCREL(%rip), %rbx movq (%rbx), %rax testq %rax, %rax je LBB0_1 ## %bb.2: movq _numcheats@GOTPCREL(%rip), %r14 movq (%r14), %rcx movq %rcx, %r8 shlq $5, %r8 movl %edi, (%rax,%r8) movq %rsi, 24(%rax,%r8) movq (%rbx), %rax movq %rdx, 16(%rax,%r8) movq (%rbx), %rax movq $0, 8(%rax,%r8) movq (%rbx), %rax movl $1, 4(%rax,%r8) incq %rcx movq %rcx, (%r14) movq _cheatsize@GOTPCREL(%rip), %r15 movq (%r15), %rsi cmpq %rsi, %rcx jb LBB0_4 ## %bb.3: shll $3, %esi movq %rax, %rdi ## kill: def $esi killed $esi killed $rsi callq _realloc shlq (%r15) movq %rax, (%rbx) movq (%r14), %rcx LBB0_4: movq _CHEATTYPE_NONE@GOTPCREL(%rip), %rdx movl (%rdx), %edx shlq $5, %rcx movl %edx, (%rax,%rcx) xorl %eax, %eax jmp LBB0_5 LBB0_1: movl $-1, %eax LBB0_5: addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _cheatlist,8,3 ## @cheatlist .comm _numcheats,8,3 ## @numcheats .comm _cheatsize,8,3 ## @cheatsize .comm _CHEATTYPE_NONE,4,2 ## @CHEATTYPE_NONE .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _CheatAddCode ; -- Begin function CheatAddCode .p2align 2 _CheatAddCode: ; @CheatAddCode .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, _cheatlist@GOTPAGE Lloh1: ldr x19, [x19, _cheatlist@GOTPAGEOFF] ldr x8, [x19] cbz x8, LBB0_4 ; %bb.1: Lloh2: adrp x20, _numcheats@GOTPAGE Lloh3: ldr x20, [x20, _numcheats@GOTPAGEOFF] ldr x9, [x20] lsl x10, x9, #5 add x8, x8, x10 str w0, [x8] str x1, [x8, #24] ldr x8, [x19] add x8, x8, x10 str x2, [x8, #16] ldr x8, [x19] add x8, x8, x10 str xzr, [x8, #8] ldr x0, [x19] add x8, x0, x10 mov w10, #1 ; =0x1 str w10, [x8, #4] add x9, x9, #1 str x9, [x20] Lloh4: adrp x21, _cheatsize@GOTPAGE Lloh5: ldr x21, [x21, _cheatsize@GOTPAGEOFF] ldr x8, [x21] cmp x9, x8 b.lo LBB0_3 ; %bb.2: lsl w1, w8, #3 bl _realloc str x0, [x19] ldr x8, [x21] lsl x8, x8, #1 str x8, [x21] ldr x9, [x20] LBB0_3: mov w8, #0 ; =0x0 Lloh6: adrp x10, _CHEATTYPE_NONE@GOTPAGE Lloh7: ldr x10, [x10, _CHEATTYPE_NONE@GOTPAGEOFF] Lloh8: ldr w10, [x10] lsl x9, x9, #5 str w10, [x0, x9] b LBB0_5 LBB0_4: mov w8, #-1 ; =0xffffffff LBB0_5: mov x0, x8 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGot Lloh4, Lloh5 .loh AdrpLdrGot Lloh2, Lloh3 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .cfi_endproc ; -- End function .comm _cheatlist,8,3 ; @cheatlist .comm _numcheats,8,3 ; @numcheats .comm _cheatsize,8,3 ; @cheatsize .comm _CHEATTYPE_NONE,4,2 ; @CHEATTYPE_NONE .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl __nc_realloc ## -- Begin function _nc_realloc .p2align 4, 0x90 __nc_realloc: ## @_nc_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 %ecx, %ebx movq %rdx, %r14 movq %rsi, %r15 movq %rdi, %r12 xorl %edi, %edi testq %rsi, %rsi setne %dil callq _ASSERT movq %r12, %rdi movq %r15, %rsi callq _realloc movq %rax, %r12 testq %rax, %rax je LBB0_1 ## %bb.2: movq _LOG_VVERB@GOTPCREL(%rip), %rax movl (%rax), %edi leaq L_.str.1(%rip), %rsi movq %r15, %rdx movq %r12, %rcx movq %r14, %r8 movl %ebx, %r9d callq _log_debug jmp LBB0_3 LBB0_1: leaq L_.str(%rip), %rdi movq %r15, %rsi movq %r14, %rdx movl %ebx, %ecx callq _log_error LBB0_3: movq %r12, %rax popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "realloc(%zu) failed @ %s:%d" .comm _LOG_VVERB,4,2 ## @LOG_VVERB L_.str.1: ## @.str.1 .asciz "realloc(%zu) at %p @ %s:%d" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl __nc_realloc ; -- Begin function _nc_realloc .p2align 2 __nc_realloc: ; @_nc_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 x19, x3 mov x20, x2 mov x21, x1 mov x22, x0 cmp x1, #0 cset w0, ne bl _ASSERT mov x0, x22 mov x1, x21 bl _realloc mov x22, x0 cbz x0, LBB0_2 ; %bb.1: Lloh0: adrp x8, _LOG_VVERB@GOTPAGE Lloh1: ldr x8, [x8, _LOG_VVERB@GOTPAGEOFF] Lloh2: ldr w0, [x8] Lloh3: adrp x1, l_.str.1@PAGE Lloh4: add x1, x1, l_.str.1@PAGEOFF mov x2, x21 mov x3, x22 mov x4, x20 mov x5, x19 bl _log_debug b LBB0_3 LBB0_2: Lloh5: adrp x0, l_.str@PAGE Lloh6: add x0, x0, l_.str@PAGEOFF mov x1, x21 mov x2, x20 mov x3, x19 bl _log_error LBB0_3: mov x0, x22 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret .loh AdrpAdd Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpAdd Lloh5, Lloh6 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "realloc(%zu) failed @ %s:%d" .comm _LOG_VVERB,4,2 ; @LOG_VVERB l_.str.1: ; @.str.1 .asciz "realloc(%zu) at %p @ %s:%d" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _markup_escape_text ## -- Begin function markup_escape_text .p2align 4, 0x90 _markup_escape_text: ## @markup_escape_text .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdi, %rbx callq _strlen movl %eax, %r12d leal -40(%r12), %r15d movl %r15d, %edi callq _malloc movq %rax, %r14 testl %r12d, %r12d jle LBB0_17 ## %bb.1: xorl %eax, %eax leaq LJTI0_0(%rip), %r12 jmp LBB0_2 LBB0_14: ## in Loop: Header=BB0_2 Depth=1 movb %cl, (%r14,%r13) .p2align 4, 0x90 LBB0_15: ## in Loop: Header=BB0_2 Depth=1 movslq %eax, %rcx movb $0, (%r14,%rcx) decq %rbx LBB0_2: ## =>This Inner Loop Header: Depth=1 leal -8(%r15), %ecx movslq %eax, %r13 cmpl %ecx, %eax jle LBB0_5 ## %bb.3: ## in Loop: Header=BB0_2 Depth=1 addl $40, %r15d movq %r14, %rdi movl %r15d, %esi callq _realloc testq %rax, %rax jne LBB0_16 ## %bb.4: ## in Loop: Header=BB0_2 Depth=1 xorl %r14d, %r14d LBB0_5: ## in Loop: Header=BB0_2 Depth=1 movzbl (%rbx), %ecx leaq 1(%r13), %rax leal -34(%rcx), %edx cmpl $28, %edx ja LBB0_14 ## %bb.6: ## in Loop: Header=BB0_2 Depth=1 movslq (%r12,%rdx,4), %rdx addq %r12, %rdx jmpq *%rdx LBB0_12: ## in Loop: Header=BB0_2 Depth=1 movb $38, (%r14,%r13) movb $113, (%r14,%rax) movl $997486453, 2(%r13,%r14) ## imm = 0x3B746F75 jmp LBB0_11 LBB0_10: ## in Loop: Header=BB0_2 Depth=1 movb $38, (%r14,%r13) movb $97, (%r14,%rax) movl $997420912, 2(%r13,%r14) ## imm = 0x3B736F70 LBB0_11: ## in Loop: Header=BB0_2 Depth=1 addl $6, %r13d movl %r13d, %eax jmp LBB0_15 LBB0_13: ## in Loop: Header=BB0_2 Depth=1 movb $38, (%r14,%r13) movb $97, (%r14,%rax) movw $28781, 2(%r13,%r14) ## imm = 0x706D leal 5(%r13), %eax movb $59, 4(%r13,%r14) jmp LBB0_15 LBB0_7: ## in Loop: Header=BB0_2 Depth=1 movb $38, (%r14,%r13) movb $108, (%r14,%rax) jmp LBB0_8 LBB0_9: ## in Loop: Header=BB0_2 Depth=1 movb $38, (%r14,%r13) movb $103, (%r14,%rax) LBB0_8: ## in Loop: Header=BB0_2 Depth=1 movw $15220, 2(%r13,%r14) ## imm = 0x3B74 addl $4, %r13d movl %r13d, %eax jmp LBB0_15 LBB0_16: movb $0, (%r14,%r13) LBB0_17: movq %r14, %rax addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc .p2align 2, 0x90 .data_region jt32 .set L0_0_set_12, LBB0_12-LJTI0_0 .set L0_0_set_14, LBB0_14-LJTI0_0 .set L0_0_set_13, LBB0_13-LJTI0_0 .set L0_0_set_10, LBB0_10-LJTI0_0 .set L0_0_set_7, LBB0_7-LJTI0_0 .set L0_0_set_9, LBB0_9-LJTI0_0 LJTI0_0: .long L0_0_set_12 .long L0_0_set_14 .long L0_0_set_14 .long L0_0_set_14 .long L0_0_set_13 .long L0_0_set_10 .long L0_0_set_14 .long L0_0_set_14 .long L0_0_set_14 .long L0_0_set_14 .long L0_0_set_14 .long L0_0_set_14 .long L0_0_set_14 .long L0_0_set_14 .long L0_0_set_14 .long L0_0_set_14 .long L0_0_set_14 .long L0_0_set_14 .long L0_0_set_14 .long L0_0_set_14 .long L0_0_set_14 .long L0_0_set_14 .long L0_0_set_14 .long L0_0_set_14 .long L0_0_set_14 .long L0_0_set_14 .long L0_0_set_7 .long L0_0_set_14 .long L0_0_set_9 .end_data_region ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _markup_escape_text ; -- Begin function markup_escape_text .p2align 2 _markup_escape_text: ; @markup_escape_text .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 _strlen mov x22, x0 sub w21, w0, #40 mov x0, x21 bl _malloc mov x20, x0 cmp w22, #1 b.lt LBB0_21 ; %bb.1: mov w22, #0 ; =0x0 mov w23, #38 ; =0x26 mov w26, #97 ; =0x61 mov w24, #28528 ; =0x6f70 movk w24, #15219, lsl #16 mov w25, #103 ; =0x67 mov w27, #15220 ; =0x3b74 mov w28, #108 ; =0x6c b LBB0_5 LBB0_2: ; in Loop: Header=BB0_5 Depth=1 add x9, x20, x9 strb w23, [x9] strb w26, [x20, x8] stur w24, [x9, #2] LBB0_3: ; in Loop: Header=BB0_5 Depth=1 add w22, w22, #6 LBB0_4: ; in Loop: Header=BB0_5 Depth=1 strb wzr, [x20, w22, sxtw] sub x19, x19, #1 LBB0_5: ; =>This Inner Loop Header: Depth=1 sub w8, w21, #8 cmp w22, w8 b.le LBB0_8 ; %bb.6: ; in Loop: Header=BB0_5 Depth=1 add w21, w21, #40 mov x0, x20 mov x1, x21 bl _realloc cbnz x0, LBB0_20 ; %bb.7: ; in Loop: Header=BB0_5 Depth=1 mov x20, #0 ; =0x0 LBB0_8: ; in Loop: Header=BB0_5 Depth=1 ldrb w10, [x19] sxtw x9, w22 add x8, x9, #1 cmp w10, #38 b.le LBB0_13 ; %bb.9: ; in Loop: Header=BB0_5 Depth=1 cmp w10, #39 b.eq LBB0_2 ; %bb.10: ; in Loop: Header=BB0_5 Depth=1 cmp w10, #62 b.eq LBB0_16 ; %bb.11: ; in Loop: Header=BB0_5 Depth=1 cmp w10, #60 b.ne LBB0_19 ; %bb.12: ; in Loop: Header=BB0_5 Depth=1 add x9, x20, x9 strb w23, [x9] strb w28, [x20, x8] b LBB0_17 LBB0_13: ; in Loop: Header=BB0_5 Depth=1 cmp w10, #34 b.eq LBB0_18 ; %bb.14: ; in Loop: Header=BB0_5 Depth=1 cmp w10, #38 b.ne LBB0_19 ; %bb.15: ; in Loop: Header=BB0_5 Depth=1 add x9, x20, x9 strb w23, [x9] strb w26, [x20, x8] mov w8, #28781 ; =0x706d strh w8, [x9, #2] add w22, w22, #5 mov w8, #59 ; =0x3b strb w8, [x9, #4] b LBB0_4 LBB0_16: ; in Loop: Header=BB0_5 Depth=1 add x9, x20, x9 strb w23, [x9] strb w25, [x20, x8] LBB0_17: ; in Loop: Header=BB0_5 Depth=1 strh w27, [x9, #2] add w22, w22, #4 b LBB0_4 LBB0_18: ; in Loop: Header=BB0_5 Depth=1 add x9, x20, x9 strb w23, [x9] mov w10, #113 ; =0x71 strb w10, [x20, x8] mov w8, #28533 ; =0x6f75 movk w8, #15220, lsl #16 stur w8, [x9, #2] b LBB0_3 LBB0_19: ; in Loop: Header=BB0_5 Depth=1 strb w10, [x20, x9] mov x22, x8 b LBB0_4 LBB0_20: strb wzr, [x20, w22, sxtw] LBB0_21: mov x0, x20 ldp x29, x30, [sp, #80] ; 16-byte Folded Reload ldp x20, x19, [sp, #64] ; 16-byte Folded Reload ldp x22, x21, [sp, #48] ; 16-byte Folded Reload ldp x24, x23, [sp, #32] ; 16-byte Folded Reload ldp x26, x25, [sp, #16] ; 16-byte Folded Reload ldp x28, x27, [sp], #96 ; 16-byte Folded Reload ret .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 pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rcx, %r15 movq %rdx, %r12 movq %rsi, %r13 movq %rdi, %rbx movl (%rdi), %ecx cmpl 4(%rdi), %ecx jne LBB0_1 ## %bb.2: movq %r8, -48(%rbp) ## 8-byte Spill movslq %ecx, %rax addq %rax, %rax movq _INITIAL_STATS_CAPACITY@GOTPCREL(%rip), %rcx movq (%rcx), %r14 cmpq %rax, %r14 cmovbel %eax, %r14d movq 8(%rbx), %rdi movl %r14d, %esi shll $5, %esi callq _realloc testq %rax, %rax je LBB0_3 ## %bb.4: movl %r14d, 4(%rbx) movq %rax, 8(%rbx) movl (%rbx), %ecx movq -48(%rbp), %r8 ## 8-byte Reload jmp LBB0_5 LBB0_1: movq 8(%rbx), %rax LBB0_5: movslq %ecx, %rcx movq %rcx, %rdx shlq $5, %rdx movq %r13, 24(%rax,%rdx) movq %r12, 16(%rax,%rdx) movq %r15, (%rax,%rdx) movq %r8, 8(%rax,%rdx) incl %ecx movl %ecx, (%rbx) movq _YRMCDS_OK@GOTPCREL(%rip), %rax LBB0_6: movl (%rax), %eax addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_3: movq _YRMCDS_OUT_OF_MEMORY@GOTPCREL(%rip), %rax jmp LBB0_6 .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 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 x21, x3 mov x22, x2 mov x23, x1 mov x20, x0 ldp w8, w9, [x0] cmp w8, w9 b.ne LBB0_3 ; %bb.1: sxtw x8, w8 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 w24, w9, w8, hi ldr x0, [x20, #8] lsl w1, w24, #5 bl _realloc cbz x0, LBB0_6 ; %bb.2: str w24, [x20, #4] str x0, [x20, #8] ldr w8, [x20] b LBB0_4 LBB0_3: ldr x0, [x20, #8] ; kill: def $w8 killed $w8 killed $x8 def $x8 LBB0_4: sxtw x9, w8 add x9, x0, x9, lsl #5 stp x22, x23, [x9, #16] stp x21, x19, [x9] add w8, w8, #1 str w8, [x20] Lloh3: adrp x8, _YRMCDS_OK@GOTPAGE Lloh4: ldr x8, [x8, _YRMCDS_OK@GOTPAGEOFF] LBB0_5: 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_6: Lloh5: adrp x8, _YRMCDS_OUT_OF_MEMORY@GOTPAGE Lloh6: ldr x8, [x8, _YRMCDS_OUT_OF_MEMORY@GOTPAGEOFF] b LBB0_5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGot Lloh3, Lloh4 .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: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %ecx, %r15d movl %edx, %r12d movl %esi, %r13d movq %rdi, %rbx movl (%rdi), %ecx leal 1(%rcx), %r14d movq 8(%rdi), %rax cmpl 4(%rdi), %r14d jl LBB0_4 ## %bb.1: movl %r8d, -44(%rbp) ## 4-byte Spill movl %r14d, %esi shll $5, %esi movq %rax, %rdi callq _realloc testq %rax, %rax je LBB0_2 ## %bb.3: addl %r14d, %r14d movq %rax, 8(%rbx) movl %r14d, 4(%rbx) movl (%rbx), %ecx movl -44(%rbp), %r8d ## 4-byte Reload LBB0_4: movslq %ecx, %rdx movq %rdx, %rsi shlq $4, %rsi leaq (%rax,%rsi), %rcx movl $-1, (%rax,%rsi) movb %r13b, 4(%rax,%rsi) movl %r12d, 12(%rax,%rsi) movw %r15w, 6(%rax,%rsi) movl %r8d, 8(%rax,%rsi) decl %edx movl %edx, (%rbx) LBB0_5: movq %rcx, %rax addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_2: xorl %ecx, %ecx jmp LBB0_5 .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: 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 x22, x3 mov x21, x2 mov x23, x1 mov x20, x0 ldp w8, w9, [x0] add w24, w8, #1 ldr x0, [x0, #8] cmp w24, w9 b.lt LBB0_3 ; %bb.1: lsl w1, w24, #5 bl _realloc cbz x0, LBB0_4 ; %bb.2: lsl w8, w24, #1 str x0, [x20, #8] str w8, [x20, #4] ldr w8, [x20] LBB0_3: add x0, x0, w8, sxtw #4 mov w9, #-1 ; =0xffffffff str w9, [x0] strb w23, [x0, #4] strh w22, [x0, #6] stp w19, w21, [x0, #8] sub w8, w8, #1 str w8, [x20] LBB0_4: 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_string_ensure ## -- Begin function archive_string_ensure .p2align 4, 0x90 _archive_string_ensure: ## @archive_string_ensure .cfi_startproc ## %bb.0: cmpq $0, (%rdi) je LBB0_1 LBB0_11: movq %rdi, %rax retq LBB0_1: movq 8(%rdi), %rcx cmpq %rsi, %rcx jae LBB0_11 ## %bb.2: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movl $32, %eax cmpq $32, %rcx jb LBB0_5 ## %bb.3: cmpq $8192, %rcx ## imm = 0x2000 jae LBB0_7 ## %bb.4: xorl %eax, %eax jmp LBB0_5 LBB0_7: movq %rcx, %rax shrq $2, %rax addq %rcx, %rax cmpq %rcx, %rax jbe LBB0_8 LBB0_5: movq %rdi, %rbx cmpq %rsi, %rax cmovaq %rax, %rsi xorl %edi, %edi movq %rsi, %r14 callq _realloc testq %rax, %rax je LBB0_9 ## %bb.6: movq %rbx, %rdi LBB0_8: callq _archive_string_free movq _ENOMEM@GOTPCREL(%rip), %rax movl (%rax), %eax movq _errno@GOTPCREL(%rip), %rcx movl %eax, (%rcx) xorl %edi, %edi jmp LBB0_10 LBB0_9: movq %rbx, %rdi movq $0, (%rbx) movq %r14, 8(%rbx) LBB0_10: popq %rbx popq %r14 popq %rbp movq %rdi, %rax retq .cfi_endproc ## -- End function .comm _ENOMEM,4,2 ## @ENOMEM .comm _errno,4,2 ## @errno .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _archive_string_ensure ; -- Begin function archive_string_ensure .p2align 2 _archive_string_ensure: ; @archive_string_ensure .cfi_startproc ; %bb.0: ldr x8, [x0] cbz x8, LBB0_2 LBB0_1: ret LBB0_2: ldr x9, [x0, #8] cmp x9, x1 b.hs LBB0_1 ; %bb.3: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 cmp x9, #32 b.hs LBB0_5 ; %bb.4: mov w8, #32 ; =0x20 b LBB0_8 LBB0_5: cmp x9, #2, lsl #12 ; =8192 b.hs LBB0_7 ; %bb.6: mov x8, #0 ; =0x0 b LBB0_8 LBB0_7: add x8, x9, x9, lsr #2 cmp x8, x9 b.ls LBB0_10 LBB0_8: mov x19, x0 cmp x8, x1 csel x20, x8, x1, hi mov x0, #0 ; =0x0 mov x1, x20 bl _realloc cbz x0, LBB0_11 ; %bb.9: mov x0, x19 LBB0_10: bl _archive_string_free mov x0, #0 ; =0x0 Lloh0: adrp x8, _ENOMEM@GOTPAGE Lloh1: ldr x8, [x8, _ENOMEM@GOTPAGEOFF] Lloh2: ldr w8, [x8] Lloh3: adrp x9, _errno@GOTPAGE Lloh4: ldr x9, [x9, _errno@GOTPAGEOFF] Lloh5: str w8, [x9] b LBB0_12 LBB0_11: mov x0, x19 stp xzr, x20, [x19] LBB0_12: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .loh AdrpLdrGotStr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _ENOMEM,4,2 ; @ENOMEM .comm _errno,4,2 ; @errno .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _ppy_realloc ## -- Begin function ppy_realloc .p2align 4, 0x90 _ppy_realloc: ## @ppy_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 .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _ppy_realloc ; -- Begin function ppy_realloc .p2align 2 _ppy_realloc: ; @ppy_realloc .cfi_startproc ; %bb.0: b _realloc .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 convert _convert: ## @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 callq _strdup testq %rax, %rax jne 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 "convert: cannot allocate memory" .comm _E2BIG,8,3 ## @E2BIG .comm _EINVAL,8,3 ## @EINVAL .comm _conv,8,3 ## @conv .comm _currentEncoding,8,3 ## @currentEncoding .comm _errno,8,3 ## @errno .comm _outputEncoding,4,2 ## @outputEncoding .no_dead_strip _convert .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function convert _convert: ; @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 bl _strdup 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 _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 "convert: cannot allocate memory" .comm _E2BIG,8,3 ; @E2BIG .comm _EINVAL,8,3 ; @EINVAL .comm _conv,8,3 ; @conv .comm _currentEncoding,8,3 ; @currentEncoding .comm _errno,8,3 ; @errno .comm _outputEncoding,4,2 ; @outputEncoding .no_dead_strip _convert .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function xnrealloc_inline _xnrealloc_inline: ## @xnrealloc_inline .cfi_startproc ## %bb.0: 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 %rsi, %r15 movq %rdi, %rbx movq %rsi, %rdi movq %rdx, %rsi callq _xalloc_oversized testq %rax, %rax je LBB0_1 LBB0_3: xorl %eax, %eax callq _xalloc_die jmp LBB0_4 LBB0_1: imulq %r15, %r14 movq %rbx, %rdi movq %r14, %rsi callq _realloc movq %rax, %rbx testq %rax, %rax je LBB0_2 LBB0_4: movq %rbx, %rax addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq LBB0_2: xorl %ebx, %ebx jmp LBB0_3 .cfi_endproc ## -- End function .no_dead_strip _xnrealloc_inline .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function xnrealloc_inline _xnrealloc_inline: ; @xnrealloc_inline .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 mov x0, x1 mov x1, x2 bl _xalloc_oversized cbz x0, LBB0_2 LBB0_1: bl _xalloc_die b LBB0_3 LBB0_2: mul x1, x20, x21 mov x0, x19 bl _realloc mov x19, x0 cbz x0, LBB0_1 LBB0_3: mov x0, x19 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .no_dead_strip _xnrealloc_inline .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function handleEnter _handleEnter: ## @handleEnter .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movq %rdi, %rbx movq %rdx, %rdi callq _wl_output_get_user_data movq %rax, %r14 movl (%rbx), %ecx movl 4(%rbx), %eax leal -1(%rcx), %edx cmpl %eax, %edx jle LBB0_1 ## %bb.2: leal -1(%rax), %ecx movl %ecx, 4(%rbx) movq 8(%rbx), %rdi leal -8(,%rax,8), %esi callq _realloc movq %rax, 8(%rbx) movl (%rbx), %ecx jmp LBB0_3 LBB0_1: movq 8(%rbx), %rax LBB0_3: leal 1(%rcx), %edx movl %edx, (%rbx) movslq %ecx, %rcx movq %r14, (%rax,%rcx,8) movq %rbx, %rdi popq %rbx popq %r14 popq %rbp jmp _checkScaleChange ## TAILCALL .cfi_endproc ## -- End function .no_dead_strip _handleEnter .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function handleEnter _handleEnter: ; @handleEnter .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x0 mov x0, x2 bl _wl_output_get_user_data mov x20, x0 ldp w8, w9, [x19] sub w10, w8, #1 cmp w10, w9 b.le LBB0_2 ; %bb.1: sub w8, w9, #1 str w8, [x19, #4] ldr x0, [x19, #8] lsl w1, w8, #3 bl _realloc str x0, [x19, #8] ldr w8, [x19] b LBB0_3 LBB0_2: ldr x0, [x19, #8] LBB0_3: add w9, w8, #1 str w9, [x19] str x20, [x0, w8, sxtw #3] mov x0, x19 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _checkScaleChange .cfi_endproc ; -- End function .no_dead_strip _handleEnter .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _tscAllocPayload ## -- Begin function tscAllocPayload .p2align 4, 0x90 _tscAllocPayload: ## @tscAllocPayload .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 movl %esi, %ebx movq %rdi, %r14 movl %esi, %edi notl %edi shrl $31, %edi callq _assert movq (%r14), %rdi movl 8(%r14), %edx testq %rdi, %rdi je LBB0_4 ## %bb.1: cmpl %ebx, %edx jge LBB0_6 ## %bb.2: movl %ebx, %esi callq _realloc testq %rax, %rax je LBB0_9 ## %bb.3: movq %rax, %rdi movq %rax, (%r14) jmp LBB0_5 LBB0_4: xorl %edi, %edi testl %edx, %edx sete %dil callq _assert movl %ebx, %edi callq _malloc movq %rax, %rdi movq %rax, (%r14) testq %rax, %rax je LBB0_9 LBB0_5: movl %ebx, 8(%r14) movl %ebx, %edx LBB0_6: xorl %esi, %esi callq _memset xorl %edi, %edi cmpl %ebx, 8(%r14) setge %dil callq _assert movq _TSDB_CODE_SUCCESS@GOTPCREL(%rip), %rax jmp LBB0_7 LBB0_9: movq _TSDB_CODE_CLI_OUT_OF_MEMORY@GOTPCREL(%rip), %rax LBB0_7: movl (%rax), %eax popq %rbx popq %r14 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 .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _tscAllocPayload ; -- Begin function tscAllocPayload .p2align 2 _tscAllocPayload: ; @tscAllocPayload .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 mvn w8, w1 lsr w0, w8, #31 bl _assert ldr x0, [x20] ldr w2, [x20, #8] cbz x0, LBB0_4 ; %bb.1: cmp w2, w19 b.ge LBB0_6 ; %bb.2: mov x1, x19 bl _realloc cbz x0, LBB0_7 ; %bb.3: str x0, [x20] b LBB0_5 LBB0_4: cmp w2, #0 cset w0, eq bl _assert mov x0, x19 bl _malloc str x0, [x20] cbz x0, LBB0_7 LBB0_5: str w19, [x20, #8] mov x2, x19 LBB0_6: mov w1, #0 ; =0x0 bl _memset ldr w8, [x20, #8] cmp w8, w19 cset w0, ge bl _assert Lloh0: adrp x8, _TSDB_CODE_SUCCESS@GOTPAGE Lloh1: ldr x8, [x8, _TSDB_CODE_SUCCESS@GOTPAGEOFF] b LBB0_8 LBB0_7: Lloh2: adrp x8, _TSDB_CODE_CLI_OUT_OF_MEMORY@GOTPAGE Lloh3: ldr x8, [x8, _TSDB_CODE_CLI_OUT_OF_MEMORY@GOTPAGEOFF] LBB0_8: ldr w0, [x8] ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGot Lloh2, Lloh3 .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 .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _openpam_straddch ## -- Begin function openpam_straddch .p2align 4, 0x90 _openpam_straddch: ## @openpam_straddch .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %ecx, %r14d movq %rdx, %rbx movq %rsi, %r15 movq %rdi, %r12 cmpq $0, (%rdi) je LBB0_5 ## %bb.1: movq _MIN_STR_SIZE@GOTPCREL(%rip), %rax movq (%rax), %r13 movq %r13, %rdi callq _malloc testq %rax, %rax je LBB0_2 ## %bb.4: movq %rax, (%r12) movq %r13, (%r15) movq $0, (%rbx) xorl %ecx, %ecx testl %r14d, %r14d je LBB0_10 LBB0_9: movb %r14b, (%rax,%rcx) incq %rcx movq %rcx, (%rbx) LBB0_10: movb $0, (%rax,%rcx) xorl %eax, %eax jmp LBB0_11 LBB0_5: movq (%r15), %r13 addq %r13, %r13 movq %r13, %rdi callq _malloc testq %rax, %rax je LBB0_6 ## %bb.7: movq %r13, (%r15) movq %rax, (%r12) movq (%rbx), %rcx testl %r14d, %r14d jne LBB0_9 jmp LBB0_10 LBB0_2: movq _PAM_LOG_ERROR@GOTPCREL(%rip), %rax movl (%rax), %edi leaq L_.str(%rip), %rsi jmp LBB0_3 LBB0_6: movq _PAM_LOG_ERROR@GOTPCREL(%rip), %rax movl (%rax), %edi leaq L_.str.1(%rip), %rsi LBB0_3: callq _openpam_log movq _ENOMEM@GOTPCREL(%rip), %rax movl (%rax), %eax movq _errno@GOTPCREL(%rip), %rcx movl %eax, (%rcx) movl $-1, %eax LBB0_11: addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _MIN_STR_SIZE,8,3 ## @MIN_STR_SIZE .comm _PAM_LOG_ERROR,4,2 ## @PAM_LOG_ERROR .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "malloc(): %m" .comm _ENOMEM,4,2 ## @ENOMEM .comm _errno,4,2 ## @errno L_.str.1: ## @.str.1 .asciz "realloc(): %m" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _openpam_straddch ; -- Begin function openpam_straddch .p2align 2 _openpam_straddch: ; @openpam_straddch .cfi_startproc ; %bb.0: stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill stp x22, x21, [sp, #16] ; 16-byte Folded Spill stp x20, x19, [sp, #32] ; 16-byte Folded Spill stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 mov x20, x3 mov x19, x2 mov x21, x1 mov x22, x0 ldr x8, [x0] cbz x8, LBB0_5 ; %bb.1: Lloh0: adrp x8, _MIN_STR_SIZE@GOTPAGE Lloh1: ldr x8, [x8, _MIN_STR_SIZE@GOTPAGEOFF] Lloh2: ldr x23, [x8] mov x0, x23 bl _malloc cbz x0, LBB0_7 ; %bb.2: mov x9, #0 ; =0x0 str x0, [x22] str x23, [x21] str xzr, [x19] cbz w20, LBB0_4 LBB0_3: strb w20, [x0, x9] add x9, x9, #1 str x9, [x19] LBB0_4: mov w8, #0 ; =0x0 strb wzr, [x0, x9] b LBB0_10 LBB0_5: ldr x8, [x21] lsl x23, x8, #1 mov x0, x23 bl _malloc cbz x0, LBB0_8 ; %bb.6: str x23, [x21] str x0, [x22] ldr x9, [x19] cbnz w20, LBB0_3 b LBB0_4 LBB0_7: Lloh3: adrp x8, _PAM_LOG_ERROR@GOTPAGE Lloh4: ldr x8, [x8, _PAM_LOG_ERROR@GOTPAGEOFF] Lloh5: ldr w0, [x8] Lloh6: adrp x1, l_.str@PAGE Lloh7: add x1, x1, l_.str@PAGEOFF b LBB0_9 LBB0_8: Lloh8: adrp x8, _PAM_LOG_ERROR@GOTPAGE Lloh9: ldr x8, [x8, _PAM_LOG_ERROR@GOTPAGEOFF] Lloh10: ldr w0, [x8] Lloh11: adrp x1, l_.str.1@PAGE Lloh12: add x1, x1, l_.str.1@PAGEOFF LBB0_9: bl _openpam_log Lloh13: adrp x8, _ENOMEM@GOTPAGE Lloh14: ldr x8, [x8, _ENOMEM@GOTPAGEOFF] Lloh15: ldr w8, [x8] Lloh16: adrp x9, _errno@GOTPAGE Lloh17: ldr x9, [x9, _errno@GOTPAGEOFF] Lloh18: str w8, [x9] mov w8, #-1 ; =0xffffffff LBB0_10: mov x0, x8 ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload ldp x24, x23, [sp], #64 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpAdd Lloh6, Lloh7 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpAdd Lloh11, Lloh12 .loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10 .loh AdrpLdrGotStr Lloh16, Lloh17, Lloh18 .loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh15 .cfi_endproc ; -- End function .comm _MIN_STR_SIZE,8,3 ; @MIN_STR_SIZE .comm _PAM_LOG_ERROR,4,2 ; @PAM_LOG_ERROR .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "malloc(): %m" .comm _ENOMEM,4,2 ; @ENOMEM .comm _errno,4,2 ; @errno l_.str.1: ; @.str.1 .asciz "realloc(): %m" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _tcase_add_test ## -- Begin function tcase_add_test .p2align 4, 0x90 _tcase_add_test: ## @tcase_add_test .cfi_startproc ## %bb.0: 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 xorl %edi, %edi testq %rbx, %rbx sete %dil callq _assert movslq (%rbx), %r12 movl 4(%rbx), %eax cmpl %eax, %r12d jne LBB0_1 ## %bb.2: leaq -400(,%r12,4), %rsi addq $-100, %r12 movq 8(%rbx), %rdi callq _realloc movq %rax, %r15 xorl %edi, %edi testq %rax, %rax setne %dil callq _assert movq %r15, 8(%rbx) movl %r12d, (%rbx) movl 4(%rbx), %eax jmp LBB0_3 LBB0_1: movq 8(%rbx), %r15 LBB0_3: cltq movl %r14d, (%r15,%rax,4) incl 4(%rbx) 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 _tcase_add_test ; -- Begin function tcase_add_test .p2align 2 _tcase_add_test: ; @tcase_add_test .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 cmp x0, #0 cset w0, eq bl _assert ldp w9, w8, [x19] cmp w9, w8 b.ne LBB0_2 ; %bb.1: sub w22, w9, #100 sbfiz x1, x22, #2, #32 ldr x0, [x19, #8] bl _realloc mov x21, x0 cmp x0, #0 cset w0, ne bl _assert str x21, [x19, #8] str w22, [x19] ldr w8, [x19, #4] b LBB0_3 LBB0_2: ldr x21, [x19, #8] LBB0_3: str w20, [x21, w8, sxtw #2] ldr w8, [x19, #4] add w8, w8, #1 str w8, [x19, #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 .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function decrypt_internal_special _decrypt_internal_special: ## @decrypt_internal_special .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_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, -72(%rbp) ## 8-byte Spill movq %r8, %r15 movq %rcx, -80(%rbp) ## 8-byte Spill movl %edx, -44(%rbp) ## 4-byte Spill movq %rsi, %r14 movl %edi, %r12d movq 8(%rsi), %rbx movl 24(%rbx), %edi callq _CHECKSUMSIZE movq %rax, %rsi movq (%rbx), %r13 addq %rax, %r13 movq 8(%rbx), %rcx movq %r15, %rax orq %rcx, %rax shrq $32, %rax je LBB0_1 ## %bb.2: movq %r15, %rax xorl %edx, %edx divq %rcx testq %rdx, %rdx je LBB0_5 LBB0_4: movl %r12d, %edi callq _krb5_clear_error_message movq _KRB5_BAD_MSIZE@GOTPCREL(%rip), %rax movq (%rax), %rax jmp LBB0_13 LBB0_1: movl %r15d, %eax xorl %edx, %edx divl %ecx ## kill: def $edx killed $edx def $rdx testq %rdx, %rdx jne LBB0_4 LBB0_5: cmpq %r13, %r15 jbe LBB0_6 ## %bb.7: movq %rsi, -56(%rbp) ## 8-byte Spill movq %r15, %rdi callq _malloc testq %rax, %rax je LBB0_11 ## %bb.8: movq %rax, %rdi movq %rax, -64(%rbp) ## 8-byte Spill movq -80(%rbp), %rsi ## 8-byte Reload movq %r15, %rdx callq _memcpy movq _FALSE@GOTPCREL(%rip), %rax movl (%rax), %r8d movq 16(%rbp), %rax movq %rax, (%rsp) movl %r12d, %edi movq %r14, %rsi movq -64(%rbp), %rdx ## 8-byte Reload movq %rdx, %r14 movq %r15, %rcx movl -44(%rbp), %r9d ## 4-byte Reload callq *16(%rbx) testq %rax, %rax je LBB0_10 ## %bb.9: movq %r14, %rdi movq %rax, %rbx callq _free movq %rbx, %rax jmp LBB0_13 LBB0_6: movq _KRB5_BAD_MSIZE@GOTPCREL(%rip), %rbx movq (%rbx), %r14 leaq L_.str(%rip), %rdi jmp LBB0_12 LBB0_10: subq %r13, %r15 movq %r14, %rsi addq -56(%rbp), %rsi ## 8-byte Folded Reload addq (%rbx), %rsi movq %r14, %rdi movq %r15, %rdx callq _memmove movq %r14, %rdi movq %r15, %rsi callq _realloc movq -72(%rbp), %rcx ## 8-byte Reload movq %rax, 8(%rcx) movq %r14, %rdi callq _free LBB0_11: movq _ENOMEM@GOTPCREL(%rip), %rbx movq (%rbx), %r14 leaq L_.str.2(%rip), %rdi LBB0_12: leaq L_.str.1(%rip), %rsi callq _N_ movl %r12d, %edi movq %r14, %rsi movl %eax, %edx callq _krb5_set_error_message movq (%rbx), %rax LBB0_13: addq $56, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _KRB5_BAD_MSIZE,8,3 ## @KRB5_BAD_MSIZE .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "Encrypted data shorter then checksum + confunder" L_.str.1: ## @.str.1 .space 1 .comm _ENOMEM,8,3 ## @ENOMEM L_.str.2: ## @.str.2 .asciz "malloc: out of memory" .comm _FALSE,4,2 ## @FALSE .no_dead_strip _decrypt_internal_special .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function decrypt_internal_special _decrypt_internal_special: ; @decrypt_internal_special .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, x6 mov x20, x5 mov x21, x4 mov x26, x3 mov x24, x2 mov x25, x1 mov x19, x0 ldr x27, [x1, #8] ldr w0, [x27, #24] bl _CHECKSUMSIZE ldr x8, [x27, #8] udiv x9, x21, x8 msub x8, x9, x8, x21 cbz x8, LBB0_2 ; %bb.1: mov x0, x19 bl _krb5_clear_error_message Lloh0: adrp x8, _KRB5_BAD_MSIZE@GOTPAGE Lloh1: ldr x8, [x8, _KRB5_BAD_MSIZE@GOTPAGEOFF] Lloh2: ldr x0, [x8] b LBB0_10 LBB0_2: ldr x8, [x27] add x28, x8, x0 cmp x21, x28 b.ls LBB0_6 ; %bb.3: str x0, [sp, #8] ; 8-byte Folded Spill mov x0, x21 bl _malloc cbz x0, LBB0_8 ; %bb.4: mov x23, x0 mov x1, x26 mov x2, x21 bl _memcpy ldr x8, [x27, #16] Lloh3: adrp x9, _FALSE@GOTPAGE Lloh4: ldr x9, [x9, _FALSE@GOTPAGEOFF] Lloh5: ldr w4, [x9] mov x0, x19 mov x1, x25 mov x2, x23 mov x3, x21 mov x5, x24 mov x6, x22 blr x8 cbz x0, LBB0_7 ; %bb.5: mov x19, x0 mov x0, x23 bl _free mov x0, x19 b LBB0_10 LBB0_6: Lloh6: adrp x21, _KRB5_BAD_MSIZE@GOTPAGE Lloh7: ldr x21, [x21, _KRB5_BAD_MSIZE@GOTPAGEOFF] ldr x20, [x21] Lloh8: adrp x0, l_.str@PAGE Lloh9: add x0, x0, l_.str@PAGEOFF b LBB0_9 LBB0_7: sub x21, x21, x28 ldr x8, [sp, #8] ; 8-byte Folded Reload add x8, x23, x8 ldr x9, [x27] add x1, x8, x9 mov x0, x23 mov x2, x21 bl _memmove mov x0, x23 mov x1, x21 bl _realloc str x0, [x20, #8] mov x0, x23 bl _free LBB0_8: Lloh10: adrp x21, _ENOMEM@GOTPAGE Lloh11: ldr x21, [x21, _ENOMEM@GOTPAGEOFF] ldr x20, [x21] Lloh12: adrp x0, l_.str.2@PAGE Lloh13: add x0, x0, l_.str.2@PAGEOFF LBB0_9: Lloh14: adrp x1, l_.str.1@PAGE Lloh15: 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_10: ldp x29, x30, [sp, #96] ; 16-byte Folded Reload ldp x20, x19, [sp, #80] ; 16-byte Folded Reload ldp x22, x21, [sp, #64] ; 16-byte Folded Reload ldp x24, x23, [sp, #48] ; 16-byte Folded Reload ldp x26, x25, [sp, #32] ; 16-byte Folded Reload ldp x28, x27, [sp, #16] ; 16-byte Folded Reload add sp, sp, #112 ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpAdd Lloh8, Lloh9 .loh AdrpLdrGot Lloh6, Lloh7 .loh AdrpAdd Lloh12, Lloh13 .loh AdrpLdrGot Lloh10, Lloh11 .loh AdrpAdd Lloh14, Lloh15 .cfi_endproc ; -- End function .comm _KRB5_BAD_MSIZE,8,3 ; @KRB5_BAD_MSIZE .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "Encrypted data shorter then checksum + confunder" l_.str.1: ; @.str.1 .space 1 .comm _ENOMEM,8,3 ; @ENOMEM l_.str.2: ; @.str.2 .asciz "malloc: out of memory" .comm _FALSE,4,2 ; @FALSE .no_dead_strip _decrypt_internal_special .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 %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movq (%rdi), %r14 movq %r14, %rax subq 8(%rdi), %rax movslq 16(%rdi), %rcx cmpq %rcx, %rax jge LBB0_10 ## %bb.1: movq %rdi, %rbx movq %r14, %rdi .p2align 4, 0x90 LBB0_2: ## =>This Inner Loop Header: Depth=1 movl (%r14), %esi callq _strcspn testl %eax, %eax jg LBB0_3 ## %bb.9: ## in Loop: Header=BB0_2 Depth=1 incl %eax movslq %eax, %rdi addq (%rbx), %rdi movq %rdi, (%rbx) movq %rdi, %rax subq 8(%rbx), %rax movslq 16(%rbx), %rcx cmpq %rcx, %rax jl LBB0_2 LBB0_10: movq _SQLITE_DONE@GOTPCREL(%rip), %rax movl (%rax), %eax popq %rbx popq %r14 popq %rbp retq LBB0_3: cmpl %eax, 20(%rbx) jg LBB0_5 ## %bb.4: leal 1(%rax), %esi movq 24(%rbx), %rdi callq _realloc movq %rax, 24(%rbx) LBB0_5: xorl %r14d, %r14d jmp LBB0_6 .p2align 4, 0x90 LBB0_8: ## in Loop: Header=BB0_6 Depth=1 movq 24(%rbx), %rcx movb %al, (%rcx,%r14) decq %r14 LBB0_6: ## =>This Inner Loop Header: Depth=1 movq (%rbx), %rax movzbl (%rax,%r14), %eax testb %al, %al js LBB0_8 ## %bb.7: ## in Loop: Header=BB0_6 Depth=1 movzbl %al, %edi callq _tolower jmp LBB0_8 .cfi_endproc ## -- End function .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: 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 ldp x20, x8, [x0] ldrsw x9, [x0, #16] sub x8, x20, x8 cmp x8, x9 b.ge LBB0_4 ; %bb.1: mov x19, x0 mov x0, x20 LBB0_2: ; =>This Inner Loop Header: Depth=1 ldr w1, [x20] bl _strcspn cmp w0, #1 b.ge LBB0_5 ; %bb.3: ; in Loop: Header=BB0_2 Depth=1 add w8, w0, #1 ldp x9, x10, [x19] add x0, x9, w8, sxtw str x0, [x19] ldrsw x8, [x19, #16] sub x9, x0, x10 cmp x9, x8 b.lt LBB0_2 LBB0_4: Lloh0: adrp x8, _SQLITE_DONE@GOTPAGE Lloh1: ldr x8, [x8, _SQLITE_DONE@GOTPAGEOFF] Lloh2: ldr w0, [x8] ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret LBB0_5: ldr w8, [x19, #20] cmp w8, w0 b.gt LBB0_7 ; %bb.6: ldr x8, [x19, #24] add w1, w0, #1 mov x0, x8 bl _realloc str x0, [x19, #24] LBB0_7: mov x20, #0 ; =0x0 b LBB0_9 LBB0_8: ; in Loop: Header=BB0_9 Depth=1 ldr x8, [x19, #24] strb w0, [x8, x20] sub x20, x20, #1 LBB0_9: ; =>This Inner Loop Header: Depth=1 ldr x8, [x19] ldrsb w8, [x8, x20] and w0, w8, #0xff tbnz w8, #31, LBB0_8 ; %bb.10: ; in Loop: Header=BB0_9 Depth=1 bl _tolower b LBB0_8 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .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 4, 0x90 ## -- Begin function AllocateVfd _AllocateVfd: ## @AllocateVfd .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_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 _LOG@GOTPCREL(%rip), %rax movl (%rax), %edi movq _SizeVfdCache@GOTPCREL(%rip), %r12 movl (%r12), %edx leaq L_.str(%rip), %rsi callq _elog movl %eax, %edi callq _DO_DB xorl %edi, %edi cmpl $0, (%r12) setg %dil callq _Assert movq _VfdCache@GOTPCREL(%rip), %r15 movq (%r15), %rdi movl (%rdi), %eax testl %eax, %eax jne LBB0_7 ## %bb.1: movl (%r12), %eax addl %eax, %eax cmpl $33, %eax movl $32, %r13d cmovgel %eax, %r13d leal (,%r13,8), %esi callq _realloc movq %rax, %rdi testq %rax, %rax je LBB0_3 ## %bb.2: movq _ERROR@GOTPCREL(%rip), %rax movl (%rax), %ebx movq _ERRCODE_OUT_OF_MEMORY@GOTPCREL(%rip), %rax movl (%rax), %eax movq %rdi, %r14 movl %eax, %edi callq _errcode leaq L_.str.1(%rip), %rdi callq _errmsg movl %ebx, %edi movl %eax, %esi callq _ereport movq %r14, %rdi LBB0_3: movq %rdi, (%r15) movslq (%r12), %rbx movq %r13, -48(%rbp) ## 8-byte Spill cmpl %r13d, %ebx jge LBB0_6 ## %bb.4: leal -1(%rbx), %r14d shlq $3, %rbx movq -48(%rbp), %r13 ## 8-byte Reload ## kill: def $r13d killed $r13d killed $r13 def $r13 negl %r13d movq _VFD_CLOSED@GOTPCREL(%rip), %r12 .p2align 4, 0x90 LBB0_5: ## =>This Inner Loop Header: Depth=1 addq %rbx, %rdi xorl %esi, %esi movl $8, %edx callq _MemSet movq (%r15), %rdi movl %r14d, (%rdi,%rbx) movl (%r12), %eax movl %eax, 4(%rdi,%rbx) addq $8, %rbx leal (%r14,%r13), %eax incl %eax movl %r14d, %ecx incl %ecx movl %ecx, %r14d cmpl $-1, %eax jne LBB0_5 LBB0_6: movq -48(%rbp), %rdx ## 8-byte Reload movl %edx, %eax movl $0, -8(%rdi,%rax,8) movq _SizeVfdCache@GOTPCREL(%rip), %rcx movl (%rcx), %eax movl %eax, (%rdi) movl %edx, (%rcx) movl (%rdi), %eax LBB0_7: cltq movl (%rdi,%rax,8), %ecx movl %ecx, (%rdi) addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _LOG,4,2 ## @LOG .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "AllocateVfd. Size %zu" .comm _SizeVfdCache,4,2 ## @SizeVfdCache .comm _VfdCache,8,3 ## @VfdCache .comm _ERROR,4,2 ## @ERROR .comm _ERRCODE_OUT_OF_MEMORY,4,2 ## @ERRCODE_OUT_OF_MEMORY L_.str.1: ## @.str.1 .asciz "out of memory" .comm _VFD_CLOSED,4,2 ## @VFD_CLOSED .no_dead_strip _AllocateVfd .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function AllocateVfd _AllocateVfd: ; @AllocateVfd .cfi_startproc ; %bb.0: stp x26, x25, [sp, #-80]! ; 16-byte Folded Spill stp x24, x23, [sp, #16] ; 16-byte Folded Spill stp x22, x21, [sp, #32] ; 16-byte Folded Spill stp x20, x19, [sp, #48] ; 16-byte Folded Spill stp x29, x30, [sp, #64] ; 16-byte Folded Spill add x29, sp, #64 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 Lloh0: adrp x8, _LOG@GOTPAGE Lloh1: ldr x8, [x8, _LOG@GOTPAGEOFF] Lloh2: ldr w0, [x8] Lloh3: adrp x20, _SizeVfdCache@GOTPAGE Lloh4: ldr x20, [x20, _SizeVfdCache@GOTPAGEOFF] ldr w2, [x20] Lloh5: adrp x1, l_.str@PAGE Lloh6: add x1, x1, l_.str@PAGEOFF bl _elog bl _DO_DB ldr w8, [x20] cmp w8, #0 cset w0, gt bl _Assert Lloh7: adrp x21, _VfdCache@GOTPAGE Lloh8: ldr x21, [x21, _VfdCache@GOTPAGEOFF] ldr x0, [x21] ldr w9, [x0] cbnz w9, LBB0_7 ; %bb.1: ldr w8, [x20] lsl w8, w8, #1 mov w9, #32 ; =0x20 cmp w8, #32 csel w22, w8, w9, gt lsl w1, w22, #3 bl _realloc cbz x0, LBB0_3 ; %bb.2: Lloh9: adrp x8, _ERROR@GOTPAGE Lloh10: ldr x8, [x8, _ERROR@GOTPAGEOFF] Lloh11: ldr w19, [x8] Lloh12: adrp x8, _ERRCODE_OUT_OF_MEMORY@GOTPAGE Lloh13: ldr x8, [x8, _ERRCODE_OUT_OF_MEMORY@GOTPAGEOFF] Lloh14: ldr w8, [x8] mov x23, x0 mov x0, x8 bl _errcode Lloh15: adrp x0, l_.str.1@PAGE Lloh16: add x0, x0, l_.str.1@PAGEOFF bl _errmsg mov x1, x0 mov x0, x19 bl _ereport mov x0, x23 LBB0_3: str x0, [x21] ldrsw x8, [x20] cmp w8, w22 b.ge LBB0_6 ; %bb.4: sub w19, w8, #1 lsl x23, x8, #3 neg w24, w22 Lloh17: adrp x25, _VFD_CLOSED@GOTPAGE Lloh18: ldr x25, [x25, _VFD_CLOSED@GOTPAGEOFF] LBB0_5: ; =>This Inner Loop Header: Depth=1 add x0, x0, x23 mov w1, #0 ; =0x0 mov w2, #8 ; =0x8 bl _MemSet ldr x0, [x21] add x8, x0, x23 str w19, [x8] ldr w9, [x25] str w9, [x8, #4] add w19, w19, #1 add x23, x23, #8 add w8, w24, w19 cmn w8, #1 b.ne LBB0_5 LBB0_6: add x8, x0, w22, uxtw #3 stur wzr, [x8, #-8] ldr w8, [x20] str w8, [x0] str w22, [x20] ldr w9, [x0] LBB0_7: sxtw x8, w9 sbfiz x9, x9, #3, #32 ldr w9, [x0, x9] str w9, [x0] 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 Lloh7, Lloh8 .loh AdrpAdd Lloh5, Lloh6 .loh AdrpLdrGot Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpAdd Lloh15, Lloh16 .loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14 .loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11 .loh AdrpLdrGot Lloh17, Lloh18 .cfi_endproc ; -- End function .comm _LOG,4,2 ; @LOG .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "AllocateVfd. Size %zu" .comm _SizeVfdCache,4,2 ; @SizeVfdCache .comm _VfdCache,8,3 ; @VfdCache .comm _ERROR,4,2 ; @ERROR .comm _ERRCODE_OUT_OF_MEMORY,4,2 ; @ERRCODE_OUT_OF_MEMORY l_.str.1: ; @.str.1 .asciz "out of memory" .comm _VFD_CLOSED,4,2 ; @VFD_CLOSED .no_dead_strip _AllocateVfd .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _taos_query ## -- Begin function taos_query .p2align 4, 0x90 _taos_query: ## @taos_query .cfi_startproc ## %bb.0: 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, %r14 testq %rdi, %rdi je LBB0_3 ## %bb.1: cmpq %r14, 8(%r14) je LBB0_3 ## %bb.2: movq _TSDB_CODE_DISCONNECTED@GOTPCREL(%rip), %rax movl (%rax), %eax movq _globalCode@GOTPCREL(%rip), %rcx movl %eax, (%rcx) jmp LBB0_7 LBB0_3: movq (%r14), %rbx movq %rsi, %r15 movq %rsi, %rdi callq _strlen movq _TSDB_MAX_SQL_LEN@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax jbe LBB0_5 ## %bb.4: leaq L_.str(%rip), %rdi movq %rbx, %rsi callq _tscError movq _TSDB_CODE_INVALID_SQL@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, 8(%rbx) jmp LBB0_7 LBB0_5: movq (%rbx), %rdi incq %rax movq %rax, %rsi callq _realloc testq %rax, %rax je LBB0_6 ## %bb.8: movq %rax, (%rbx) movq %rax, %rdi movq %r15, %rsi callq _strtolower movq %r14, %rdi movq %rbx, %rsi addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp jmp _taos_query_imp ## TAILCALL LBB0_6: movq _TSDB_CODE_CLI_OUT_OF_MEMORY@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, 8(%rbx) leaq L_.str.1(%rip), %rdi movq %rbx, %rsi callq _tscError movl 8(%rbx), %r15d movq %r14, %rdi callq _taos_errstr leaq L_.str.2(%rip), %rdi movq %rbx, %rsi movl %r15d, %edx movl %eax, %ecx movq %r14, %r8 callq _tscTrace movl 8(%rbx), %eax LBB0_7: addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _TSDB_CODE_DISCONNECTED,4,2 ## @TSDB_CODE_DISCONNECTED .comm _globalCode,4,2 ## @globalCode .comm _TSDB_MAX_SQL_LEN,8,3 ## @TSDB_MAX_SQL_LEN .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "%p sql too long" .comm _TSDB_CODE_INVALID_SQL,4,2 ## @TSDB_CODE_INVALID_SQL .comm _TSDB_CODE_CLI_OUT_OF_MEMORY,4,2 ## @TSDB_CODE_CLI_OUT_OF_MEMORY L_.str.1: ## @.str.1 .asciz "%p failed to malloc sql string buffer" L_.str.2: ## @.str.2 .asciz "%p SQL result:%d, %s pObj:%p" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _taos_query ; -- Begin function taos_query .p2align 2 _taos_query: ; @taos_query .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x20, x0 cbz x0, LBB0_3 ; %bb.1: ldr x8, [x20, #8] cmp x8, x20 b.eq LBB0_3 ; %bb.2: Lloh0: adrp x8, _TSDB_CODE_DISCONNECTED@GOTPAGE Lloh1: ldr x8, [x8, _TSDB_CODE_DISCONNECTED@GOTPAGEOFF] Lloh2: ldr w0, [x8] Lloh3: adrp x8, _globalCode@GOTPAGE Lloh4: ldr x8, [x8, _globalCode@GOTPAGEOFF] Lloh5: str w0, [x8] b LBB0_8 LBB0_3: ldr x19, [x20] mov x21, x1 mov x0, x1 bl _strlen Lloh6: adrp x8, _TSDB_MAX_SQL_LEN@GOTPAGE Lloh7: ldr x8, [x8, _TSDB_MAX_SQL_LEN@GOTPAGEOFF] Lloh8: ldr x8, [x8] cmp x0, x8 b.ls LBB0_5 ; %bb.4: Lloh9: adrp x0, l_.str@PAGE Lloh10: add x0, x0, l_.str@PAGEOFF mov x1, x19 bl _tscError Lloh11: adrp x8, _TSDB_CODE_INVALID_SQL@GOTPAGE Lloh12: ldr x8, [x8, _TSDB_CODE_INVALID_SQL@GOTPAGEOFF] Lloh13: ldr w0, [x8] str w0, [x19, #8] b LBB0_8 LBB0_5: ldr x8, [x19] add x1, x0, #1 mov x0, x8 bl _realloc cbz x0, LBB0_7 ; %bb.6: str x0, [x19] mov x1, x21 bl _strtolower mov x0, x20 mov x1, x19 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload b _taos_query_imp LBB0_7: Lloh14: adrp x8, _TSDB_CODE_CLI_OUT_OF_MEMORY@GOTPAGE Lloh15: ldr x8, [x8, _TSDB_CODE_CLI_OUT_OF_MEMORY@GOTPAGEOFF] Lloh16: ldr w8, [x8] str w8, [x19, #8] Lloh17: adrp x0, l_.str.1@PAGE Lloh18: add x0, x0, l_.str.1@PAGEOFF mov x1, x19 bl _tscError ldr w21, [x19, #8] mov x0, x20 bl _taos_errstr mov x3, x0 Lloh19: adrp x0, l_.str.2@PAGE Lloh20: add x0, x0, l_.str.2@PAGEOFF mov x1, x19 mov x2, x21 mov x4, x20 bl _tscTrace ldr w0, [x19, #8] 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 AdrpLdrGotStr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13 .loh AdrpAdd Lloh9, Lloh10 .loh AdrpAdd Lloh19, Lloh20 .loh AdrpAdd Lloh17, Lloh18 .loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16 .cfi_endproc ; -- End function .comm _TSDB_CODE_DISCONNECTED,4,2 ; @TSDB_CODE_DISCONNECTED .comm _globalCode,4,2 ; @globalCode .comm _TSDB_MAX_SQL_LEN,8,3 ; @TSDB_MAX_SQL_LEN .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "%p sql too long" .comm _TSDB_CODE_INVALID_SQL,4,2 ; @TSDB_CODE_INVALID_SQL .comm _TSDB_CODE_CLI_OUT_OF_MEMORY,4,2 ; @TSDB_CODE_CLI_OUT_OF_MEMORY l_.str.1: ; @.str.1 .asciz "%p failed to malloc sql string buffer" l_.str.2: ; @.str.2 .asciz "%p SQL result:%d, %s pObj:%p" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function alloc_flink _alloc_flink: ## @alloc_flink .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movq %rdi, %rbx movq 8(%rdi), %rax cmpq %rax, (%rdi) jb LBB0_5 ## %bb.1: leaq (%rax,%rax,4), %rax shrq $2, %rax movl $16, %r14d subq %rax, %r14 movq 16(%rbx), %rdi leal (,%r14,8), %esi callq _realloc testq %rax, %rax je LBB0_2 ## %bb.4: movl %r14d, %ecx movq %rax, 16(%rbx) movq %rcx, 8(%rbx) movq (%rbx), %rcx leaq (%rax,%rcx,8), %rdi subl %ecx, %r14d shll $3, %r14d xorl %esi, %esi movl %r14d, %edx callq _memset LBB0_5: movl $1, %edi movl $4, %esi callq _calloc testq %rax, %rax je LBB0_6 ## %bb.7: movq (%rbx), %rcx movq 16(%rbx), %rdx leaq -1(%rcx), %rsi movq %rsi, (%rbx) movq %rax, (%rdx,%rcx,8) jmp LBB0_8 LBB0_6: movq 24(%rbx), %rbx movq _OSM_LOG_ERROR@GOTPCREL(%rip), %rax movl (%rax), %r14d movq _errno@GOTPCREL(%rip), %rax movl (%rax), %edi callq _strerror leaq L_.str.1(%rip), %rdx jmp LBB0_3 LBB0_2: movq 24(%rbx), %rbx movq _OSM_LOG_ERROR@GOTPCREL(%rip), %rax movl (%rax), %r14d movq _errno@GOTPCREL(%rip), %rax movl (%rax), %edi callq _strerror leaq L_.str(%rip), %rdx LBB0_3: movq %rbx, %rdi movl %r14d, %esi movl %eax, %ecx callq _OSM_LOG xorl %eax, %eax LBB0_8: popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .comm _OSM_LOG_ERROR,4,2 ## @OSM_LOG_ERROR .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "ERR 4E04: realloc: %s\n" .comm _errno,4,2 ## @errno L_.str.1: ## @.str.1 .asciz "ERR 4E05: calloc: %s\n" .no_dead_strip _alloc_flink .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function alloc_flink _alloc_flink: ; @alloc_flink .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 ldp x9, x8, [x0] cmp x9, x8 b.lo LBB0_3 ; %bb.1: add x8, x8, x8, lsl #2 mov w9, #16 ; =0x10 sub x20, x9, x8, lsr #2 ldr x0, [x19, #16] lsl w1, w20, #3 bl _realloc cbz x0, LBB0_6 ; %bb.2: mov w8, w20 stp x8, x0, [x19, #8] ldr x8, [x19] add x0, x0, x8, lsl #3 sub w8, w20, w8 lsl w2, w8, #3 mov w1, #0 ; =0x0 bl _memset LBB0_3: mov w0, #1 ; =0x1 mov w1, #4 ; =0x4 bl _calloc cbz x0, LBB0_5 ; %bb.4: ldr x8, [x19, #16] ldr x9, [x19] sub x10, x9, #1 str x10, [x19] str x0, [x8, x9, lsl #3] b LBB0_8 LBB0_5: ldr x19, [x19, #24] Lloh0: adrp x8, _OSM_LOG_ERROR@GOTPAGE Lloh1: ldr x8, [x8, _OSM_LOG_ERROR@GOTPAGEOFF] Lloh2: ldr w20, [x8] Lloh3: adrp x8, _errno@GOTPAGE Lloh4: ldr x8, [x8, _errno@GOTPAGEOFF] Lloh5: ldr w0, [x8] bl _strerror mov x3, x0 Lloh6: adrp x2, l_.str.1@PAGE Lloh7: add x2, x2, l_.str.1@PAGEOFF b LBB0_7 LBB0_6: ldr x19, [x19, #24] Lloh8: adrp x8, _OSM_LOG_ERROR@GOTPAGE Lloh9: ldr x8, [x8, _OSM_LOG_ERROR@GOTPAGEOFF] Lloh10: ldr w20, [x8] Lloh11: adrp x8, _errno@GOTPAGE Lloh12: ldr x8, [x8, _errno@GOTPAGEOFF] Lloh13: ldr w0, [x8] bl _strerror mov x3, x0 Lloh14: adrp x2, l_.str@PAGE Lloh15: add x2, x2, l_.str@PAGEOFF LBB0_7: mov x0, x19 mov x1, x20 bl _OSM_LOG mov x0, #0 ; =0x0 LBB0_8: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .loh AdrpAdd Lloh6, Lloh7 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpAdd Lloh14, Lloh15 .loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13 .loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10 .cfi_endproc ; -- End function .comm _OSM_LOG_ERROR,4,2 ; @OSM_LOG_ERROR .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "ERR 4E04: realloc: %s\n" .comm _errno,4,2 ; @errno l_.str.1: ; @.str.1 .asciz "ERR 4E05: calloc: %s\n" .no_dead_strip _alloc_flink .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function parseUriList _parseUriList: ## @parseUriList .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_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, -56(%rbp) ## 8-byte Spill movl $0, (%rsi) leaq L_.str.1(%rip), %rsi callq _strtok testq %rax, %rax je LBB0_1 ## %bb.3: movq %rax, %r12 xorl %r15d, %r15d leaq L_.str.1(%rip), %rbx leaq -43(%rbp), %r13 movq -56(%rbp), %r14 ## 8-byte Reload cmpb $35, (%r12) je LBB0_6 jmp LBB0_8 LBB0_4: ## in Loop: Header=BB0_8 Depth=1 xorl %edi, %edi leaq L_.str.1(%rip), %rbx movq %rbx, %rsi callq _strtok movq %rax, %r12 testq %rax, %rax je LBB0_2 .p2align 4, 0x90 ## %bb.5: ## in Loop: Header=BB0_8 Depth=1 cmpb $35, (%r12) jne LBB0_8 LBB0_6: ## =>This Inner Loop Header: Depth=1 xorl %edi, %edi movq %rbx, %rsi callq _strtok testq %rax, %rax je LBB0_2 ## %bb.7: ## in Loop: Header=BB0_6 Depth=1 movq %rax, %r12 cmpb $35, (%r12) je LBB0_6 LBB0_8: ## =>This Loop Header: Depth=1 ## Child Loop BB0_10 Depth 2 ## Child Loop BB0_12 Depth 2 movl $7, %edx movq %r12, %rdi leaq L_.str(%rip), %rsi callq _strncmp testq %rax, %rax jne LBB0_11 ## %bb.9: ## in Loop: Header=BB0_8 Depth=1 addq $8, %r12 movq %r12, %rax .p2align 4, 0x90 LBB0_10: ## Parent Loop BB0_8 Depth=1 ## => This Inner Loop Header: Depth=2 leaq -1(%rax), %r12 cmpb $47, -1(%rax) movq %r12, %rax jne LBB0_10 LBB0_11: ## in Loop: Header=BB0_8 Depth=1 incl (%r14) movq %r12, %rdi callq _strlen leaq -1(%rax), %rdi movl $1, %esi callq _calloc movq %rax, %rbx movl (%r14), %esi shll $3, %esi movq %r15, %rdi callq _realloc movq %rax, %r15 movslq (%r14), %rcx movq %rbx, -8(%rax,%rcx,8) jmp LBB0_12 .p2align 4, 0x90 LBB0_13: ## in Loop: Header=BB0_12 Depth=2 testl %eax, %eax je LBB0_4 LBB0_14: ## in Loop: Header=BB0_12 Depth=2 movb %al, (%rbx) LBB0_18: ## in Loop: Header=BB0_12 Depth=2 incq %rbx incq %r12 LBB0_12: ## Parent Loop BB0_8 Depth=1 ## => This Inner Loop Header: Depth=2 movzbl (%r12), %eax cmpl $37, %eax jne LBB0_13 ## %bb.15: ## in Loop: Header=BB0_12 Depth=2 movzbl 1(%r12), %ecx testb %cl, %cl je LBB0_14 ## %bb.16: ## in Loop: Header=BB0_12 Depth=2 movzbl 2(%r12), %edx testb %dl, %dl je LBB0_14 ## %bb.17: ## in Loop: Header=BB0_12 Depth=2 addq $2, %r12 movb %cl, -43(%rbp) movb %dl, -42(%rbp) movb $0, -41(%rbp) movq %r13, %rdi xorl %esi, %esi movl $16, %edx callq _strtol movb %al, (%rbx) jmp LBB0_18 LBB0_1: xorl %r15d, %r15d LBB0_2: movq %r15, %rax addq $24, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "file://" L_.str.1: ## @.str.1 .asciz "\r\n" .no_dead_strip _parseUriList .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function parseUriList _parseUriList: ; @parseUriList .cfi_startproc ; %bb.0: sub sp, sp, #96 stp x26, x25, [sp, #16] ; 16-byte Folded Spill stp x24, x23, [sp, #32] ; 16-byte Folded Spill stp x22, x21, [sp, #48] ; 16-byte Folded Spill stp x20, x19, [sp, #64] ; 16-byte Folded Spill stp x29, x30, [sp, #80] ; 16-byte Folded Spill add x29, sp, #80 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 mov x19, x1 str wzr, [x1] Lloh0: adrp x1, l_.str.1@PAGE Lloh1: add x1, x1, l_.str.1@PAGEOFF bl _strtok mov x20, #0 ; =0x0 cbz x0, LBB0_15 ; %bb.1: Lloh2: adrp x21, l_.str.1@PAGE Lloh3: add x21, x21, l_.str.1@PAGEOFF Lloh4: adrp x22, l_.str@PAGE Lloh5: add x22, x22, l_.str@PAGEOFF b LBB0_3 LBB0_2: ; in Loop: Header=BB0_3 Depth=1 mov x0, #0 ; =0x0 mov x1, x21 bl _strtok cbz x0, LBB0_15 LBB0_3: ; =>This Loop Header: Depth=1 ; Child Loop BB0_6 Depth 2 ; Child Loop BB0_11 Depth 2 ldrb w8, [x0] cmp w8, #35 b.eq LBB0_2 ; %bb.4: ; in Loop: Header=BB0_3 Depth=1 mov x24, x0 mov x1, x22 mov w2, #7 ; =0x7 bl _strncmp cbnz x0, LBB0_7 ; %bb.5: ; in Loop: Header=BB0_3 Depth=1 add x24, x24, #8 LBB0_6: ; Parent Loop BB0_3 Depth=1 ; => This Inner Loop Header: Depth=2 ldrb w8, [x24, #-1]! cmp w8, #47 b.ne LBB0_6 LBB0_7: ; in Loop: Header=BB0_3 Depth=1 ldr w8, [x19] add w8, w8, #1 str w8, [x19] mov x0, x24 bl _strlen sub x0, x0, #1 mov w1, #1 ; =0x1 bl _calloc mov x23, x0 ldr w8, [x19] lsl w1, w8, #3 mov x0, x20 bl _realloc mov x20, x0 ldrsw x8, [x19] add x8, x0, x8, lsl #3 stur x23, [x8, #-8] b LBB0_11 LBB0_8: ; in Loop: Header=BB0_11 Depth=2 cbz w8, LBB0_2 LBB0_9: ; in Loop: Header=BB0_11 Depth=2 strb w8, [x23] LBB0_10: ; in Loop: Header=BB0_11 Depth=2 add x23, x23, #1 add x24, x24, #1 LBB0_11: ; Parent Loop BB0_3 Depth=1 ; => This Inner Loop Header: Depth=2 ldrb w8, [x24] cmp w8, #37 b.ne LBB0_8 ; %bb.12: ; in Loop: Header=BB0_11 Depth=2 ldrb w9, [x24, #1] cbz w9, LBB0_9 ; %bb.13: ; in Loop: Header=BB0_11 Depth=2 mov x25, x24 ldrb w10, [x25, #2]! cbz w10, LBB0_9 ; %bb.14: ; in Loop: Header=BB0_11 Depth=2 strb w9, [sp, #13] strb w10, [sp, #14] strb wzr, [sp, #15] add x0, sp, #13 mov x1, #0 ; =0x0 mov w2, #16 ; =0x10 bl _strtol strb w0, [x23] mov x24, x25 b LBB0_10 LBB0_15: mov x0, x20 ldp x29, x30, [sp, #80] ; 16-byte Folded Reload ldp x20, x19, [sp, #64] ; 16-byte Folded Reload ldp x22, x21, [sp, #48] ; 16-byte Folded Reload ldp x24, x23, [sp, #32] ; 16-byte Folded Reload ldp x26, x25, [sp, #16] ; 16-byte Folded Reload add sp, sp, #96 ret .loh AdrpAdd Lloh0, Lloh1 .loh AdrpAdd Lloh4, Lloh5 .loh AdrpAdd Lloh2, Lloh3 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "file://" l_.str.1: ; @.str.1 .asciz "\r\n" .no_dead_strip _parseUriList .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function allocstr _allocstr: ## @allocstr .cfi_startproc ## %bb.0: 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 callq _strlen decl %eax movslq %eax, %r14 movq _internal_stringsz@GOTPCREL(%rip), %r12 movq _internal_string@GOTPCREL(%rip), %r15 movq (%r15), %rdi cmpq %r14, (%r12) jae LBB0_4 ## %bb.1: movq %r14, %rsi callq _realloc testq %rax, %rax jne LBB0_3 ## %bb.2: movq %r14, (%r12) xorl %edi, %edi movq %rbx, %rsi callq _strcpy xorl %eax, %eax movq $0, (%r15) LBB0_3: popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq LBB0_4: movq %rbx, %rsi popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp jmp _strcpy ## TAILCALL .cfi_endproc ## -- End function .comm _internal_stringsz,8,3 ## @internal_stringsz .comm _internal_string,8,3 ## @internal_string .no_dead_strip _allocstr .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function allocstr _allocstr: ; @allocstr .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 bl _strlen sub w8, w0, #1 Lloh0: adrp x22, _internal_stringsz@GOTPAGE Lloh1: ldr x22, [x22, _internal_stringsz@GOTPAGEOFF] sxtw x20, w8 ldr x8, [x22] Lloh2: adrp x21, _internal_string@GOTPAGE Lloh3: ldr x21, [x21, _internal_string@GOTPAGEOFF] ldr x0, [x21] cmp x8, x20 b.hs LBB0_4 ; %bb.1: mov x1, x20 bl _realloc cbnz x0, LBB0_3 ; %bb.2: str x20, [x22] mov x1, x19 bl _strcpy str xzr, [x21] 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 LBB0_4: mov x1, x19 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload b _strcpy .loh AdrpLdrGot Lloh2, Lloh3 .loh AdrpLdrGot Lloh0, Lloh1 .cfi_endproc ; -- End function .comm _internal_stringsz,8,3 ; @internal_stringsz .comm _internal_string,8,3 ; @internal_string .no_dead_strip _allocstr .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function compile_tr _compile_tr: ## @compile_tr .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $56, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rsi, %r13 movq %rdi, %r14 movq %rsp, -88(%rbp) ## 8-byte Spill movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -48(%rbp) movq __POSIX2_LINE_MAX@GOTPCREL(%rip), %rbx movl (%rbx), %eax decl %eax callq ____chkstk_darwin addq $15, %rax andq $-16, %rax subq %rax, %rsp movq %rsp, %r12 movl (%rbx), %eax incl %eax callq ____chkstk_darwin addq $15, %rax andq $-16, %rax subq %rax, %rsp movq %rsp, %r15 movl $24, %edi callq _malloc movq %rax, %rbx movq %rax, (%r13) testq %rax, %rax je LBB0_2 ## %bb.1: movl $1, %edi xorl %esi, %esi callq _err LBB0_2: movq $0, 16(%rbx) movl $0, (%rbx) movzbl (%r14), %eax cmpl $92, %eax je LBB0_4 ## %bb.3: testl %eax, %eax jne LBB0_5 LBB0_4: movq _linenum@GOTPCREL(%rip), %rax movl (%rax), %edx movq _fname@GOTPCREL(%rip), %rax movl (%rax), %ecx leaq L_.str(%rip), %rsi movl $1, %edi callq _errx LBB0_5: movq %r14, %rdi movq %r12, %rsi movl $1, %edx callq _compile_delimited movq %rax, %r14 testq %rax, %rax jne LBB0_7 ## %bb.6: movq _linenum@GOTPCREL(%rip), %rax movl (%rax), %edx movq _fname@GOTPCREL(%rip), %rax movl (%rax), %ecx leaq L_.str.1(%rip), %rsi movl $1, %edi callq _errx LBB0_7: decq %r14 movq %r14, %rdi movq %r15, %rsi movl $1, %edx callq _compile_delimited movq %rax, -80(%rbp) ## 8-byte Spill testq %rax, %rax jne LBB0_9 ## %bb.8: movq _linenum@GOTPCREL(%rip), %rax movl (%rax), %edx movq _fname@GOTPCREL(%rip), %rax movl (%rax), %ecx leaq L_.str.2(%rip), %rsi movl $1, %edi callq _errx LBB0_9: xorl %eax, %eax callq _EATSPACE movq %r12, -56(%rbp) leaq -56(%rbp), %rsi xorl %edi, %edi xorl %edx, %edx xorl %ecx, %ecx callq _mbsrtowcs movq %rax, %r14 cmpq $-1, %rax jne LBB0_11 ## %bb.10: movl $1, %edi xorl %esi, %esi callq _err LBB0_11: movq %r15, -64(%rbp) leaq -64(%rbp), %rsi xorl %edi, %edi xorl %edx, %edx xorl %ecx, %ecx callq _mbsrtowcs movq %rax, %r15 cmpq $-1, %rax je LBB0_12 ## %bb.13: cmpq %r14, %r15 je LBB0_15 LBB0_14: movq _linenum@GOTPCREL(%rip), %rax movl (%rax), %edx movq _fname@GOTPCREL(%rip), %rax movl (%rax), %ecx leaq L_.str.3(%rip), %rsi movl $1, %edi callq _errx LBB0_15: movq _MB_CUR_MAX@GOTPCREL(%rip), %rax cmpl $1, (%rax) jne LBB0_22 ## %bb.16: movq _UCHAR_MAX@GOTPCREL(%rip), %rax cmpl $0, (%rax) js LBB0_19 ## %bb.17: xorl %ecx, %ecx .p2align 4, 0x90 LBB0_18: ## =>This Inner Loop Header: Depth=1 movq 8(%rbx), %rdx movb %cl, (%rdx,%rcx) decq %rcx movslq (%rax), %rdx cmpq %rdx, %rcx jle LBB0_18 LBB0_19: movq -56(%rbp), %rax movzbl (%rax), %eax testb %al, %al je LBB0_39 ## %bb.20: movq -64(%rbp), %rcx .p2align 4, 0x90 LBB0_21: ## =>This Inner Loop Header: Depth=1 movzbl (%rcx), %ecx movq 8(%rbx), %rdx movsbq %al, %rax movb %cl, (%rdx,%rax) movq -56(%rbp), %rax leaq 1(%rax), %rcx movq %rcx, -56(%rbp) movq -64(%rbp), %rcx incq %rcx movq %rcx, -64(%rbp) movzbl 1(%rax), %eax testb %al, %al jne LBB0_21 jmp LBB0_39 LBB0_22: leaq -72(%rbp), %rdi xorl %esi, %esi movl $4, %edx callq _memset leaq -68(%rbp), %rdi xorl %esi, %esi movl $4, %edx callq _memset movq _UCHAR_MAX@GOTPCREL(%rip), %r15 cmpl $0, (%r15) js LBB0_27 ## %bb.23: xorl %r14d, %r14d movq _WEOF@GOTPCREL(%rip), %r12 jmp LBB0_24 .p2align 4, 0x90 LBB0_26: ## in Loop: Header=BB0_24 Depth=1 movq 8(%rbx), %rax movb %cl, (%rax,%r14) leaq 1(%r14), %rax movslq (%r15), %rcx cmpq %rcx, %r14 movq %rax, %r14 jge LBB0_27 LBB0_24: ## =>This Inner Loop Header: Depth=1 movl %r14d, %edi callq _btowc movl $0, %ecx cmpq (%r12), %rax je LBB0_26 ## %bb.25: ## in Loop: Header=BB0_24 Depth=1 movl %r14d, %ecx jmp LBB0_26 LBB0_27: movq -56(%rbp), %rdi cmpb $0, (%rdi) je LBB0_39 ## %bb.28: movq _MB_LEN_MAX@GOTPCREL(%rip), %r15 jmp LBB0_29 .p2align 4, 0x90 LBB0_35: ## in Loop: Header=BB0_29 Depth=1 movslq (%rbx), %rcx leal 1(%rcx), %edx movl %edx, (%rbx) shlq $3, %rcx leaq (%rcx,%rcx,2), %r12 movq %r13, (%rax,%r12) movl 20(%rax,%r12), %edi movq -56(%rbp), %rsi movq %r13, %rdx callq _memcpy movq 16(%rbx), %rax movq %r14, 8(%rax,%r12) movl 16(%rax,%r12), %edi movq -64(%rbp), %rsi movq %r14, %rdx callq _memcpy LBB0_38: ## in Loop: Header=BB0_29 Depth=1 movq -56(%rbp), %rax movq %r13, %rdi addq %r14, -64(%rbp) addq %rax, %rdi movq %rdi, -56(%rbp) cmpb $0, (%rax,%r13) je LBB0_39 LBB0_29: ## =>This Inner Loop Header: Depth=1 movl (%r15), %esi leaq -72(%rbp), %rdx callq _mbrlen movq %rax, %r13 cmpq $-2, %rax jb LBB0_31 ## %bb.30: ## in Loop: Header=BB0_29 Depth=1 movq _EILSEQ@GOTPCREL(%rip), %rax movl (%rax), %esi movl $1, %edi xorl %edx, %edx callq _errc LBB0_31: ## in Loop: Header=BB0_29 Depth=1 movq -64(%rbp), %rdi movl (%r15), %esi leaq -68(%rbp), %rdx callq _mbrlen movq %rax, %r14 cmpq $-2, %rax jb LBB0_36 ## %bb.32: ## in Loop: Header=BB0_29 Depth=1 movq _EILSEQ@GOTPCREL(%rip), %rax movl (%rax), %esi movl $1, %edi xorl %edx, %edx callq _errc jmp LBB0_33 .p2align 4, 0x90 LBB0_36: ## in Loop: Header=BB0_29 Depth=1 movq %r13, %rax xorq $1, %rax movq %r14, %rcx xorq $1, %rcx orq %rax, %rcx jne LBB0_33 ## %bb.37: ## in Loop: Header=BB0_29 Depth=1 movq -64(%rbp), %rax movzbl (%rax), %eax movq 8(%rbx), %rcx movq -56(%rbp), %rdx movsbq (%rdx), %rdx movb %al, (%rcx,%rdx) jmp LBB0_38 .p2align 4, 0x90 LBB0_33: ## in Loop: Header=BB0_29 Depth=1 movq 8(%rbx), %rax movq -56(%rbp), %rcx movsbq (%rcx), %rcx movb $0, (%rax,%rcx) movq 16(%rbx), %rdi movl (%rbx), %eax leal (%rax,%rax,2), %eax leal 24(,%rax,8), %esi callq _realloc movq %rax, 16(%rbx) testq %rax, %rax jne LBB0_35 ## %bb.34: ## in Loop: Header=BB0_29 Depth=1 movl $1, %edi xorl %esi, %esi callq _err movq 16(%rbx), %rax jmp LBB0_35 LBB0_39: movq -88(%rbp), %rsp ## 8-byte Reload movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax cmpq -48(%rbp), %rax jne LBB0_41 ## %bb.40: movq -80(%rbp), %rax ## 8-byte Reload leaq -40(%rbp), %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_12: movl $1, %edi xorl %esi, %esi callq _err cmpq %r14, %r15 jne LBB0_14 jmp LBB0_15 LBB0_41: callq ___stack_chk_fail .cfi_endproc ## -- End function .comm __POSIX2_LINE_MAX,4,2 ## @_POSIX2_LINE_MAX .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "%lu: %s: transform pattern can not be delimited by newline or backslash" .comm _linenum,4,2 ## @linenum .comm _fname,4,2 ## @fname L_.str.1: ## @.str.1 .asciz "%lu: %s: unterminated transform source string" L_.str.2: ## @.str.2 .asciz "%lu: %s: unterminated transform target string" L_.str.3: ## @.str.3 .asciz "%lu: %s: transform strings are not the same length" .comm _MB_CUR_MAX,4,2 ## @MB_CUR_MAX .comm _UCHAR_MAX,4,2 ## @UCHAR_MAX .comm _WEOF,8,3 ## @WEOF .comm _MB_LEN_MAX,4,2 ## @MB_LEN_MAX .comm _EILSEQ,4,2 ## @EILSEQ .no_dead_strip _compile_tr .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function compile_tr _compile_tr: ; @compile_tr .cfi_startproc ; %bb.0: stp x28, x27, [sp, #-96]! ; 16-byte Folded Spill stp x26, x25, [sp, #16] ; 16-byte Folded Spill stp x24, x23, [sp, #32] ; 16-byte Folded Spill stp x22, x21, [sp, #48] ; 16-byte Folded Spill stp x20, x19, [sp, #64] ; 16-byte Folded Spill stp x29, x30, [sp, #80] ; 16-byte Folded Spill add x29, sp, #80 sub sp, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset w27, -88 .cfi_offset w28, -96 mov x23, x1 mov x20, x0 mov x24, sp Lloh0: adrp x8, ___stack_chk_guard@GOTPAGE Lloh1: ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] Lloh2: ldr x8, [x8] stur x8, [x29, #-88] Lloh3: adrp x12, __POSIX2_LINE_MAX@GOTPAGE Lloh4: ldr x12, [x12, __POSIX2_LINE_MAX@GOTPAGEOFF] ldr w8, [x12] sub w8, w8, #1 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 x22, x9, x8 mov sp, x22 ldr w8, [x12] add w8, w8, #1 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 x21, x9, x8 mov sp, x21 mov w0, #24 ; =0x18 bl _malloc mov x19, x0 str x0, [x23] cbz x0, LBB0_2 ; %bb.1: mov w0, #1 ; =0x1 mov x1, #0 ; =0x0 bl _err LBB0_2: str xzr, [x19, #16] str wzr, [x19] ldrb w8, [x20] Lloh9: adrp x23, _linenum@GOTPAGE Lloh10: ldr x23, [x23, _linenum@GOTPAGEOFF] Lloh11: adrp x25, _fname@GOTPAGE Lloh12: ldr x25, [x25, _fname@GOTPAGEOFF] cmp w8, #92 b.eq LBB0_4 ; %bb.3: cbnz w8, LBB0_5 LBB0_4: ldr w2, [x23] ldr w3, [x25] Lloh13: adrp x1, l_.str@PAGE Lloh14: add x1, x1, l_.str@PAGEOFF mov w0, #1 ; =0x1 bl _errx LBB0_5: mov x0, x20 mov x1, x22 mov w2, #1 ; =0x1 bl _compile_delimited mov x20, x0 cbnz x0, LBB0_7 ; %bb.6: ldr w2, [x23] ldr w3, [x25] Lloh15: adrp x1, l_.str.1@PAGE Lloh16: add x1, x1, l_.str.1@PAGEOFF mov w0, #1 ; =0x1 bl _errx LBB0_7: sub x0, x20, #1 mov x1, x21 mov w2, #1 ; =0x1 bl _compile_delimited mov x20, x0 cbnz x0, LBB0_9 ; %bb.8: ldr w2, [x23] ldr w3, [x25] Lloh17: adrp x1, l_.str.2@PAGE Lloh18: add x1, x1, l_.str.2@PAGEOFF mov w0, #1 ; =0x1 bl _errx LBB0_9: bl _EATSPACE stur x22, [x29, #-96] sub x1, x29, #96 mov x0, #0 ; =0x0 mov w2, #0 ; =0x0 mov x3, #0 ; =0x0 bl _mbsrtowcs mov x22, x0 cmn x0, #1 b.ne LBB0_11 ; %bb.10: mov w0, #1 ; =0x1 mov x1, #0 ; =0x0 bl _err LBB0_11: stur x21, [x29, #-104] sub x1, x29, #104 mov x0, #0 ; =0x0 mov w2, #0 ; =0x0 mov x3, #0 ; =0x0 bl _mbsrtowcs mov x21, x0 cmn x0, #1 b.eq LBB0_38 ; %bb.12: cmp x21, x22 b.eq LBB0_14 LBB0_13: ldr w2, [x23] ldr w3, [x25] Lloh19: adrp x1, l_.str.3@PAGE Lloh20: add x1, x1, l_.str.3@PAGEOFF mov w0, #1 ; =0x1 bl _errx LBB0_14: Lloh21: adrp x8, _MB_CUR_MAX@GOTPAGE Lloh22: ldr x8, [x8, _MB_CUR_MAX@GOTPAGEOFF] Lloh23: ldr w8, [x8] cmp w8, #1 b.ne LBB0_21 ; %bb.15: Lloh24: adrp x8, _UCHAR_MAX@GOTPAGE Lloh25: ldr x8, [x8, _UCHAR_MAX@GOTPAGEOFF] ldr w9, [x8] tbnz w9, #31, LBB0_18 ; %bb.16: mov x9, #0 ; =0x0 LBB0_17: ; =>This Inner Loop Header: Depth=1 ldr x10, [x19, #8] strb w9, [x10, x9] sub x9, x9, #1 ldrsw x10, [x8] cmp x9, x10 b.le LBB0_17 LBB0_18: ldur x8, [x29, #-96] ldrb w8, [x8] cbz w8, LBB0_36 ; %bb.19: ldur x9, [x29, #-104] LBB0_20: ; =>This Inner Loop Header: Depth=1 ldrb w9, [x9] ldr x10, [x19, #8] sxtb x8, w8 strb w9, [x10, x8] ldur x8, [x29, #-96] add x10, x8, #1 ldur x9, [x29, #-104] add x9, x9, #1 stp x9, x10, [x29, #-104] ldrb w8, [x8, #1] cbnz w8, LBB0_20 b LBB0_36 LBB0_21: sub x0, x29, #108 mov w1, #0 ; =0x0 mov w2, #4 ; =0x4 bl _memset sub x0, x29, #112 mov w1, #0 ; =0x0 mov w2, #4 ; =0x4 bl _memset Lloh26: adrp x22, _UCHAR_MAX@GOTPAGE Lloh27: ldr x22, [x22, _UCHAR_MAX@GOTPAGEOFF] ldr w8, [x22] tbnz w8, #31, LBB0_24 ; %bb.22: mov x21, #0 ; =0x0 Lloh28: adrp x23, _WEOF@GOTPAGE Lloh29: ldr x23, [x23, _WEOF@GOTPAGEOFF] LBB0_23: ; =>This Inner Loop Header: Depth=1 mov x0, x21 bl _btowc ldr x8, [x23] cmp x0, x8 csel w8, wzr, w21, eq ldr x9, [x19, #8] strb w8, [x9, x21] add x8, x21, #1 ldrsw x9, [x22] cmp x21, x9 mov x21, x8 b.lt LBB0_23 LBB0_24: ldur x0, [x29, #-96] ldrb w8, [x0] cbz w8, LBB0_36 ; %bb.25: Lloh30: adrp x23, _MB_LEN_MAX@GOTPAGE Lloh31: ldr x23, [x23, _MB_LEN_MAX@GOTPAGEOFF] Lloh32: adrp x25, _EILSEQ@GOTPAGE Lloh33: ldr x25, [x25, _EILSEQ@GOTPAGEOFF] mov w26, #24 ; =0x18 mov w27, #24 ; =0x18 b LBB0_28 LBB0_26: ; in Loop: Header=BB0_28 Depth=1 ldrsw x8, [x19] add w9, w8, #1 str w9, [x19] add x8, x8, x8, lsl #1 lsl x28, x8, #3 add x8, x0, x28 str x21, [x8] ldr w0, [x8, #20] ldur x1, [x29, #-96] mov x2, x21 bl _memcpy ldr x8, [x19, #16] add x8, x8, x28 str x22, [x8, #8] ldr w0, [x8, #16] ldur x1, [x29, #-104] mov x2, x22 bl _memcpy LBB0_27: ; in Loop: Header=BB0_28 Depth=1 ldp x8, x9, [x29, #-104] add x0, x9, x21 add x8, x8, x22 stp x8, x0, [x29, #-104] ldrb w8, [x0] cbz w8, LBB0_36 LBB0_28: ; =>This Inner Loop Header: Depth=1 ldr w1, [x23] sub x2, x29, #108 bl _mbrlen mov x21, x0 cmn x0, #2 b.lo LBB0_30 ; %bb.29: ; in Loop: Header=BB0_28 Depth=1 ldr w1, [x25] mov w0, #1 ; =0x1 mov x2, #0 ; =0x0 bl _errc LBB0_30: ; in Loop: Header=BB0_28 Depth=1 ldur x0, [x29, #-104] ldr w1, [x23] sub x2, x29, #112 bl _mbrlen mov x22, x0 cmn x0, #2 b.lo LBB0_32 ; %bb.31: ; in Loop: Header=BB0_28 Depth=1 ldr w1, [x25] mov w0, #1 ; =0x1 mov x2, #0 ; =0x0 bl _errc b LBB0_33 LBB0_32: ; in Loop: Header=BB0_28 Depth=1 cmp x21, #1 ccmp x22, #1, #0, eq b.eq LBB0_35 LBB0_33: ; in Loop: Header=BB0_28 Depth=1 ldr x8, [x19, #8] ldur x9, [x29, #-96] ldrsb x9, [x9] strb wzr, [x8, x9] ldr x0, [x19, #16] ldr w8, [x19] madd w1, w8, w26, w27 bl _realloc str x0, [x19, #16] cbnz x0, LBB0_26 ; %bb.34: ; in Loop: Header=BB0_28 Depth=1 mov w0, #1 ; =0x1 mov x1, #0 ; =0x0 bl _err ldr x0, [x19, #16] b LBB0_26 LBB0_35: ; in Loop: Header=BB0_28 Depth=1 ldp x8, x10, [x29, #-104] ldrb w8, [x8] ldr x9, [x19, #8] ldrsb x10, [x10] strb w8, [x9, x10] b LBB0_27 LBB0_36: mov sp, x24 ldur x8, [x29, #-88] Lloh34: adrp x9, ___stack_chk_guard@GOTPAGE Lloh35: ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF] Lloh36: ldr x9, [x9] cmp x9, x8 b.ne LBB0_39 ; %bb.37: 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_38: mov w0, #1 ; =0x1 mov x1, #0 ; =0x0 bl _err cmp x21, x22 b.ne LBB0_13 b LBB0_14 LBB0_39: bl ___stack_chk_fail .loh AdrpLdrGot Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGot Lloh11, Lloh12 .loh AdrpLdrGot Lloh9, Lloh10 .loh AdrpAdd Lloh13, Lloh14 .loh AdrpAdd Lloh15, Lloh16 .loh AdrpAdd Lloh17, Lloh18 .loh AdrpAdd Lloh19, Lloh20 .loh AdrpLdrGotLdr Lloh21, Lloh22, Lloh23 .loh AdrpLdrGot Lloh24, Lloh25 .loh AdrpLdrGot Lloh26, Lloh27 .loh AdrpLdrGot Lloh28, Lloh29 .loh AdrpLdrGot Lloh32, Lloh33 .loh AdrpLdrGot Lloh30, Lloh31 .loh AdrpLdrGotLdr Lloh34, Lloh35, Lloh36 .loh AdrpLdrGot Lloh5, Lloh6 .loh AdrpLdrGot Lloh7, Lloh8 .cfi_endproc ; -- End function .comm __POSIX2_LINE_MAX,4,2 ; @_POSIX2_LINE_MAX .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "%lu: %s: transform pattern can not be delimited by newline or backslash" .comm _linenum,4,2 ; @linenum .comm _fname,4,2 ; @fname l_.str.1: ; @.str.1 .asciz "%lu: %s: unterminated transform source string" l_.str.2: ; @.str.2 .asciz "%lu: %s: unterminated transform target string" l_.str.3: ; @.str.3 .asciz "%lu: %s: transform strings are not the same length" .comm _MB_CUR_MAX,4,2 ; @MB_CUR_MAX .comm _UCHAR_MAX,4,2 ; @UCHAR_MAX .comm _WEOF,8,3 ; @WEOF .comm _MB_LEN_MAX,4,2 ; @MB_LEN_MAX .comm _EILSEQ,4,2 ; @EILSEQ .no_dead_strip _compile_tr .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _hdb_replace_extension ## -- Begin function hdb_replace_extension .p2align 4, 0x90 _hdb_replace_extension: ## @hdb_replace_extension .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $56, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdx, %r15 movq %rsi, %rbx movl %edi, %r14d cmpq $0, (%rsi) je LBB0_4 ## %bb.1: movq (%r15), %rsi movq _choice_HDB_extension_data_asn1_ellipsis@GOTPCREL(%rip), %rax cmpq (%rax), %rsi jne LBB0_5 ## %bb.2: movl 8(%r15), %esi movl 12(%r15), %edi leaq -60(%rbp), %rdx leaq -52(%rbp), %rcx leaq -96(%rbp), %r8 leaq -88(%rbp), %r9 callq _der_get_tag testl %eax, %eax je LBB0_8 ## %bb.3: movl %eax, %r13d leaq L_.str.1(%rip), %rdx jmp LBB0_19 LBB0_4: movl $1, %edi movl $16, %esi callq _calloc movq %rax, (%rbx) testq %rax, %rax jne LBB0_16 jmp LBB0_21 LBB0_5: movq %rbx, %rdi callq _hdb_find_extension movq %rax, %r12 testq %r12, %r12 je LBB0_15 LBB0_6: movq %r12, %rdi callq _free_HDB_extension movq %r15, %rdi movq %r12, %rsi callq _copy_HDB_extension testl %eax, %eax je LBB0_23 ## %bb.7: movl %eax, %r13d leaq L_.str.3(%rip), %rdx jmp LBB0_19 LBB0_8: movq %r15, -80(%rbp) ## 8-byte Spill movl %r14d, -44(%rbp) ## 4-byte Spill movq %rbx, -72(%rbp) ## 8-byte Spill movq (%rbx), %rax movq _choice_HDB_extension_data_asn1_ellipsis@GOTPCREL(%rip), %rcx movq (%rcx), %rcx xorl %ebx, %ebx xorl %r15d, %r15d xorl %r12d, %r12d jmp LBB0_10 .p2align 4, 0x90 LBB0_9: ## in Loop: Header=BB0_10 Depth=1 decq %r15 addq $-16, %rbx cmpq (%rax), %r15 ja LBB0_14 LBB0_10: ## =>This Inner Loop Header: Depth=1 movq 8(%rax), %r14 cmpq %rcx, (%r14,%rbx) jne LBB0_9 ## %bb.11: ## in Loop: Header=BB0_10 Depth=1 movl 8(%r14,%rbx), %esi movl 12(%r14,%rbx), %edi leaq -56(%rbp), %rdx leaq -48(%rbp), %rcx leaq -92(%rbp), %r8 leaq -88(%rbp), %r9 callq _der_get_tag testl %eax, %eax jne LBB0_25 ## %bb.12: ## in Loop: Header=BB0_10 Depth=1 addq %rbx, %r14 movl -60(%rbp), %edi movl -52(%rbp), %edx movl %edx, %esi callq _MAKE_TAG movq %rax, %r13 movl -56(%rbp), %edi movl -48(%rbp), %edx movl %edx, %esi callq _MAKE_TAG cmpq %rax, %r13 cmoveq %r14, %r12 movq _choice_HDB_extension_data_asn1_ellipsis@GOTPCREL(%rip), %rax movq (%rax), %rcx movq -72(%rbp), %rax ## 8-byte Reload movq (%rax), %rax jmp LBB0_9 LBB0_14: movl -44(%rbp), %r14d ## 4-byte Reload movq -72(%rbp), %rbx ## 8-byte Reload movq -80(%rbp), %r15 ## 8-byte Reload testq %r12, %r12 jne LBB0_6 LBB0_15: movq (%rbx), %rax LBB0_16: movq 8(%rax), %rdi movl (%rax), %esi shll $4, %esi addl $16, %esi callq _realloc testq %rax, %rax je LBB0_21 ## %bb.17: movq (%rbx), %rcx movq %rax, 8(%rcx) movq (%rcx), %rsi shlq $4, %rsi addq %rax, %rsi movq %r15, %rdi callq _copy_HDB_extension testl %eax, %eax je LBB0_22 ## %bb.18: movl %eax, %r13d leaq L_.str.4(%rip), %rdx LBB0_19: movl %r14d, %edi LBB0_20: movl %r13d, %esi callq _krb5_set_error_message jmp LBB0_24 LBB0_21: movq _ENOMEM@GOTPCREL(%rip), %rbx movl (%rbx), %esi leaq L_.str(%rip), %rdx movl %r14d, %edi callq _krb5_set_error_message movl (%rbx), %r13d jmp LBB0_24 LBB0_22: movq (%rbx), %rax incq (%rax) LBB0_23: xorl %r13d, %r13d LBB0_24: movl %r13d, %eax addq $56, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_25: movl %eax, %r13d leaq L_.str.2(%rip), %rdx movl -44(%rbp), %edi ## 4-byte Reload jmp LBB0_20 .cfi_endproc ## -- End function .comm _ENOMEM,4,2 ## @ENOMEM .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "malloc: out of memory" .comm _choice_HDB_extension_data_asn1_ellipsis,8,3 ## @choice_HDB_extension_data_asn1_ellipsis L_.str.1: ## @.str.1 .asciz "hdb: failed to decode replacement hdb extention" L_.str.2: ## @.str.2 .asciz "hdb: failed to decode present hdb extention" L_.str.3: ## @.str.3 .asciz "hdb: failed to copy replacement hdb extention" L_.str.4: ## @.str.4 .asciz "hdb: failed to copy new extension" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _hdb_replace_extension ; -- Begin function hdb_replace_extension .p2align 2 _hdb_replace_extension: ; @hdb_replace_extension .cfi_startproc ; %bb.0: sub sp, sp, #128 stp x28, x27, [sp, #32] ; 16-byte Folded Spill stp x26, x25, [sp, #48] ; 16-byte Folded Spill stp x24, x23, [sp, #64] ; 16-byte Folded Spill stp x22, x21, [sp, #80] ; 16-byte Folded Spill stp x20, x19, [sp, #96] ; 16-byte Folded Spill stp x29, x30, [sp, #112] ; 16-byte Folded Spill add x29, sp, #112 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset w27, -88 .cfi_offset w28, -96 mov x21, x2 mov x20, x1 mov x19, x0 ldr x8, [x1] cbz x8, LBB0_4 ; %bb.1: ldr x1, [x21] Lloh0: adrp x24, _choice_HDB_extension_data_asn1_ellipsis@GOTPAGE Lloh1: ldr x24, [x24, _choice_HDB_extension_data_asn1_ellipsis@GOTPAGEOFF] ldr x8, [x24] cmp x1, x8 b.ne LBB0_5 ; %bb.2: ldp w1, w0, [x21, #8] add x2, sp, #28 add x3, sp, #20 add x4, sp, #12 mov x5, sp bl _der_get_tag cbz w0, LBB0_14 ; %bb.3: Lloh2: adrp x2, l_.str.1@PAGE Lloh3: add x2, x2, l_.str.1@PAGEOFF b LBB0_21 LBB0_4: mov w0, #1 ; =0x1 mov w1, #16 ; =0x10 bl _calloc str x0, [x20] cbnz x0, LBB0_10 b LBB0_13 LBB0_5: mov x0, x20 bl _hdb_find_extension mov x22, x0 LBB0_6: cbz x22, LBB0_9 ; %bb.7: mov x0, x22 bl _free_HDB_extension mov x0, x21 mov x1, x22 bl _copy_HDB_extension cbz w0, LBB0_22 ; %bb.8: Lloh4: adrp x2, l_.str.3@PAGE Lloh5: add x2, x2, l_.str.3@PAGEOFF b LBB0_21 LBB0_9: ldr x0, [x20] LBB0_10: ldr x8, [x0, #8] ldr w9, [x0] lsl w9, w9, #4 add w1, w9, #16 mov x0, x8 bl _realloc cbz x0, LBB0_13 ; %bb.11: ldr x8, [x20] str x0, [x8, #8] ldr x8, [x8] add x1, x0, x8, lsl #4 mov x0, x21 bl _copy_HDB_extension cbz w0, LBB0_19 ; %bb.12: Lloh6: adrp x2, l_.str.4@PAGE Lloh7: add x2, x2, l_.str.4@PAGEOFF b LBB0_21 LBB0_13: Lloh8: adrp x20, _ENOMEM@GOTPAGE Lloh9: ldr x20, [x20, _ENOMEM@GOTPAGEOFF] ldr w1, [x20] Lloh10: adrp x2, l_.str@PAGE Lloh11: add x2, x2, l_.str@PAGEOFF mov x0, x19 bl _krb5_set_error_message ldr w0, [x20] b LBB0_22 LBB0_14: mov x25, #0 ; =0x0 mov x26, #0 ; =0x0 mov x22, #0 ; =0x0 ldr x8, [x20] ldr x9, [x24] b LBB0_16 LBB0_15: ; in Loop: Header=BB0_16 Depth=1 sub x26, x26, #1 ldr x10, [x8] sub x25, x25, #16 cmp x26, x10 b.hi LBB0_6 LBB0_16: ; =>This Inner Loop Header: Depth=1 ldr x10, [x8, #8] add x27, x10, x25 ldr x10, [x27] cmp x10, x9 b.ne LBB0_15 ; %bb.17: ; in Loop: Header=BB0_16 Depth=1 ldp w1, w0, [x27, #8] add x2, sp, #24 add x3, sp, #16 add x4, sp, #8 mov x5, sp bl _der_get_tag cbnz w0, LBB0_20 ; %bb.18: ; in Loop: Header=BB0_16 Depth=1 ldr w0, [sp, #28] ldr w1, [sp, #20] mov x2, x1 bl _MAKE_TAG mov x23, x0 ldr w0, [sp, #24] ldr w1, [sp, #16] mov x2, x1 bl _MAKE_TAG cmp x23, x0 csel x22, x27, x22, eq ldr x9, [x24] ldr x8, [x20] b LBB0_15 LBB0_19: ldr x8, [x20] ldr x9, [x8] add x9, x9, #1 str x9, [x8] b LBB0_22 LBB0_20: Lloh12: adrp x2, l_.str.2@PAGE Lloh13: add x2, x2, l_.str.2@PAGEOFF LBB0_21: mov x20, x0 mov x0, x19 mov x1, x20 bl _krb5_set_error_message mov x0, x20 LBB0_22: ldp x29, x30, [sp, #112] ; 16-byte Folded Reload ldp x20, x19, [sp, #96] ; 16-byte Folded Reload ldp x22, x21, [sp, #80] ; 16-byte Folded Reload ldp x24, x23, [sp, #64] ; 16-byte Folded Reload ldp x26, x25, [sp, #48] ; 16-byte Folded Reload ldp x28, x27, [sp, #32] ; 16-byte Folded Reload add sp, sp, #128 ret .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpAdd Lloh2, Lloh3 .loh AdrpAdd Lloh4, Lloh5 .loh AdrpAdd Lloh6, Lloh7 .loh AdrpAdd Lloh10, Lloh11 .loh AdrpLdrGot Lloh8, Lloh9 .loh AdrpAdd Lloh12, Lloh13 .cfi_endproc ; -- End function .comm _ENOMEM,4,2 ; @ENOMEM .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "malloc: out of memory" .comm _choice_HDB_extension_data_asn1_ellipsis,8,3 ; @choice_HDB_extension_data_asn1_ellipsis l_.str.1: ; @.str.1 .asciz "hdb: failed to decode replacement hdb extention" l_.str.2: ; @.str.2 .asciz "hdb: failed to decode present hdb extention" l_.str.3: ; @.str.3 .asciz "hdb: failed to copy replacement hdb extention" l_.str.4: ; @.str.4 .asciz "hdb: failed to copy new extension" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function mpc_input_success _mpc_input_success: ## @mpc_input_success .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx .cfi_offset %rbx, -48 .cfi_offset %r12, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdx, %rbx movl %esi, %r14d movq %rdi, %r15 movq (%rdi), %rax movq _MPC_INPUT_PIPE@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax jne LBB0_1 LBB0_3: movq 8(%r15), %r12 movq %r12, %rdi callq _strlen ## kill: def $eax killed $eax def $rax leal -2(%rax), %esi movq %r12, %rdi callq _realloc movq %rax, %r12 movq %rax, 8(%r15) movq %rax, %rdi callq _strlen cltq movb $0, 1(%r12,%rax) movq 8(%r15), %r12 movq %r12, %rdi callq _strlen cltq movb %r14b, (%r12,%rax) jmp LBB0_4 LBB0_1: cmpq $0, 8(%r15) je LBB0_4 ## %bb.2: movq %r15, %rdi callq _mpc_input_buffer_in_range testl %eax, %eax je LBB0_3 LBB0_4: movb %r14b, 16(%r15) incl 40(%r15) incq 32(%r15) cmpb $10, %r14b jne LBB0_6 ## %bb.5: movq $0, 32(%r15) incl 24(%r15) LBB0_6: testq %rbx, %rbx je LBB0_8 ## %bb.7: movq %r15, %rdi movl $2, %esi callq _mpc_malloc movq %rax, (%rbx) movb %r14b, (%rax) movq (%rbx), %rax movb $0, 1(%rax) LBB0_8: movl $1, %eax popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _MPC_INPUT_PIPE,8,3 ## @MPC_INPUT_PIPE .no_dead_strip _mpc_input_success .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function mpc_input_success _mpc_input_success: ; @mpc_input_success .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 x8, [x0] Lloh0: adrp x9, _MPC_INPUT_PIPE@GOTPAGE Lloh1: ldr x9, [x9, _MPC_INPUT_PIPE@GOTPAGEOFF] Lloh2: ldr x9, [x9] cmp x8, x9 b.ne LBB0_2 LBB0_1: ldr x22, [x21, #8] mov x0, x22 bl _strlen sub w1, w0, #2 mov x0, x22 bl _realloc mov x22, x0 str x0, [x21, #8] bl _strlen add x8, x22, w0, sxtw strb wzr, [x8, #1] ldr x22, [x21, #8] mov x0, x22 bl _strlen strb w20, [x22, w0, sxtw] b LBB0_4 LBB0_2: ldr x8, [x21, #8] cbz x8, LBB0_4 ; %bb.3: mov x0, x21 bl _mpc_input_buffer_in_range cbz w0, LBB0_1 LBB0_4: strb w20, [x21, #16] ldr w8, [x21, #40] add w8, w8, #1 str w8, [x21, #40] ldr x8, [x21, #32] add x8, x8, #1 str x8, [x21, #32] cmp w20, #10 b.ne LBB0_6 ; %bb.5: str xzr, [x21, #32] ldr w8, [x21, #24] add w8, w8, #1 str w8, [x21, #24] LBB0_6: cbz x19, LBB0_8 ; %bb.7: mov x0, x21 mov w1, #2 ; =0x2 bl _mpc_malloc str x0, [x19] strb w20, [x0] ldr x8, [x19] strb wzr, [x8, #1] LBB0_8: mov w0, #1 ; =0x1 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _MPC_INPUT_PIPE,8,3 ; @MPC_INPUT_PIPE .no_dead_strip _mpc_input_success .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _input_item_AddOption ## -- Begin function input_item_AddOption .p2align 4, 0x90 _input_item_AddOption: ## @input_item_AddOption .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_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 testq %rsi, %rsi je LBB0_2 ## %bb.1: movq _VLC_EGENERIC@GOTPCREL(%rip), %rax movl (%rax), %ebx jmp LBB0_13 LBB0_2: movl %edx, %r15d movq %rdi, %r12 movq _VLC_SUCCESS@GOTPCREL(%rip), %rax movl (%rax), %ebx leaq 16(%rdi), %r13 movq %r13, %rdi callq _vlc_mutex_lock movq _VLC_INPUT_OPTION_UNIQUE@GOTPCREL(%rip), %rax movl (%rax), %eax orl %r15d, %eax je LBB0_7 ## %bb.3: cmpl $0, (%r12) jle LBB0_7 ## %bb.4: movl $1, %r14d .p2align 4, 0x90 LBB0_6: ## =>This Inner Loop Header: Depth=1 movq 32(%r12), %rax movl -4(%rax,%r14,4), %edi xorl %esi, %esi callq _strcmp testl %eax, %eax je LBB0_12 ## %bb.5: ## in Loop: Header=BB0_6 Depth=1 movslq (%r12), %rax decq %r14 cmpq %rax, %r14 jle LBB0_6 LBB0_7: movq %r13, -48(%rbp) ## 8-byte Spill movq 8(%r12), %rdi movq 24(%r12), %rsi decq %rsi callq _realloc testq %rax, %rax je LBB0_8 ## %bb.9: movq %rax, %r13 movq %rax, 8(%r12) xorl %edi, %edi callq _strdup movq %rax, %r14 xorl %edi, %edi testq %rax, %rax sete %dil callq _unlikely testq %rax, %rax je LBB0_10 LBB0_8: movq _VLC_ENOMEM@GOTPCREL(%rip), %rax movl (%rax), %ebx jmp LBB0_11 LBB0_10: movl (%r12), %edi movq 32(%r12), %rsi movq %r14, %rdx callq _TAB_APPEND movq 24(%r12), %rax leaq 1(%rax), %rcx movq %rcx, 24(%r12) movl %r15d, (%r13,%rax,4) LBB0_11: movq -48(%rbp), %r13 ## 8-byte Reload LBB0_12: movq %r13, %rdi callq _vlc_mutex_unlock LBB0_13: movl %ebx, %eax addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _VLC_SUCCESS,4,2 ## @VLC_SUCCESS .comm _VLC_EGENERIC,4,2 ## @VLC_EGENERIC .comm _VLC_INPUT_OPTION_UNIQUE,4,2 ## @VLC_INPUT_OPTION_UNIQUE .comm _VLC_ENOMEM,4,2 ## @VLC_ENOMEM .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _input_item_AddOption ; -- Begin function input_item_AddOption .p2align 2 _input_item_AddOption: ; @input_item_AddOption .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 cbz x1, LBB0_2 ; %bb.1: Lloh0: adrp x8, _VLC_EGENERIC@GOTPAGE Lloh1: ldr x8, [x8, _VLC_EGENERIC@GOTPAGEOFF] Lloh2: ldr w19, [x8] b LBB0_12 LBB0_2: mov x21, x2 mov x20, x0 Lloh3: adrp x8, _VLC_SUCCESS@GOTPAGE Lloh4: ldr x8, [x8, _VLC_SUCCESS@GOTPAGEOFF] Lloh5: ldr w19, [x8] add x0, x0, #16 bl _vlc_mutex_lock Lloh6: adrp x8, _VLC_INPUT_OPTION_UNIQUE@GOTPAGE Lloh7: ldr x8, [x8, _VLC_INPUT_OPTION_UNIQUE@GOTPAGEOFF] Lloh8: ldr w8, [x8] orr w8, w8, w21 cbz w8, LBB0_7 ; %bb.3: ldr w8, [x20] cmp w8, #1 b.lt LBB0_7 ; %bb.4: mov x22, #0 ; =0x0 LBB0_5: ; =>This Inner Loop Header: Depth=1 ldr x8, [x20, #32] ldr w0, [x8, x22, lsl #2] mov x1, #0 ; =0x0 bl _strcmp cbz w0, LBB0_11 ; %bb.6: ; in Loop: Header=BB0_5 Depth=1 sub x8, x22, #1 ldrsw x9, [x20] cmp x22, x9 mov x22, x8 b.le LBB0_5 LBB0_7: ldr x0, [x20, #8] ldr x8, [x20, #24] sub x1, x8, #1 bl _realloc cbz x0, LBB0_9 ; %bb.8: mov x22, x0 str x0, [x20, #8] mov x0, #0 ; =0x0 bl _strdup mov x23, x0 cmp x0, #0 cset w0, eq bl _unlikely cbz x0, LBB0_10 LBB0_9: Lloh9: adrp x8, _VLC_ENOMEM@GOTPAGE Lloh10: ldr x8, [x8, _VLC_ENOMEM@GOTPAGEOFF] Lloh11: ldr w19, [x8] b LBB0_11 LBB0_10: ldr w0, [x20] ldr x1, [x20, #32] mov x2, x23 bl _TAB_APPEND ldr x8, [x20, #24] add x9, x8, #1 str x9, [x20, #24] str w21, [x22, x8, lsl #2] LBB0_11: add x0, x20, #16 bl _vlc_mutex_unlock LBB0_12: mov x0, x19 ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload ldp x24, x23, [sp], #64 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11 .cfi_endproc ; -- End function .comm _VLC_SUCCESS,4,2 ; @VLC_SUCCESS .comm _VLC_EGENERIC,4,2 ; @VLC_EGENERIC .comm _VLC_INPUT_OPTION_UNIQUE,4,2 ; @VLC_INPUT_OPTION_UNIQUE .comm _VLC_ENOMEM,4,2 ; @VLC_ENOMEM .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function vlc_h2_parse_headers_append _vlc_h2_parse_headers_append: ## @vlc_h2_parse_headers_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 %rdx, %r14 movq %rsi, %r15 movq %rdi, %rbx xorl %edi, %edi cmpq $0, (%rbx) setne %dil callq _assert movq 8(%rbx), %rsi movq %rsi, %rax subq %r14, %rax cmpq $65537, %rax ## imm = 0x10001 jae LBB0_3 ## %bb.1: movq 16(%rbx), %rdi addq %r14, %rsi callq _realloc movq %rax, %r12 xorl %edi, %edi testq %rax, %rax sete %dil callq _unlikely testq %rax, %rax je LBB0_2 LBB0_3: movq _VLC_H2_INTERNAL_ERROR@GOTPCREL(%rip), %rax movl (%rax), %esi movq %rbx, %rdi popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp jmp _vlc_h2_parse_error ## TAILCALL LBB0_2: movq %r12, 16(%rbx) movq 8(%rbx), %rax leaq (%r12,%rax,4), %rdi movq %r15, %rsi movq %r14, %rdx callq _memcpy addq %r14, 8(%rbx) xorl %eax, %eax popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _VLC_H2_INTERNAL_ERROR,4,2 ## @VLC_H2_INTERNAL_ERROR .no_dead_strip _vlc_h2_parse_headers_append .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function vlc_h2_parse_headers_append _vlc_h2_parse_headers_append: ; @vlc_h2_parse_headers_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 mov x20, x2 mov x21, x1 mov x19, x0 ldr x8, [x0] cmp x8, #0 cset w0, ne bl _assert ldr x8, [x19, #8] sub x9, x8, x20 cmp x9, #16, lsl #12 ; =65536 b.hi LBB0_2 ; %bb.1: ldr x0, [x19, #16] add x1, x8, x20 bl _realloc mov x22, x0 cmp x0, #0 cset w0, eq bl _unlikely cbz x0, LBB0_3 LBB0_2: Lloh0: adrp x8, _VLC_H2_INTERNAL_ERROR@GOTPAGE Lloh1: ldr x8, [x8, _VLC_H2_INTERNAL_ERROR@GOTPAGEOFF] Lloh2: ldr w1, [x8] mov x0, x19 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload b _vlc_h2_parse_error LBB0_3: str x22, [x19, #16] ldr x8, [x19, #8] add x0, x22, x8, lsl #2 mov x1, x21 mov x2, x20 bl _memcpy ldr x8, [x19, #8] add x8, x8, x20 str x8, [x19, #8] mov w0, #0 ; =0x0 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _VLC_H2_INTERNAL_ERROR,4,2 ; @VLC_H2_INTERNAL_ERROR .no_dead_strip _vlc_h2_parse_headers_append .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function ws_receiveCallback _ws_receiveCallback: ## @ws_receiveCallback .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_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, %r13d movq %rsi, %r15 movq %rdi, %r14 leaq L_.str(%rip), %rdi movl %edx, %esi xorl %eax, %eax callq _NODE_DBG movq (%r14), %r12 movq $0, 64(%r12) leaq 56(%r12), %rbx movq %rbx, %rdi callq _os_timer_disarm movq _WS_PING_INTERVAL_MS@GOTPCREL(%rip), %rax movl (%rax), %esi movq %rbx, %rdi movl $1, %edx callq _os_timer_arm cmpq $0, (%r12) je LBB0_9 ## %bb.1: leaq L_.str.1(%rip), %rdi xorl %eax, %eax callq _NODE_DBG movq (%r12), %rdi movl 8(%r12), %eax subl %r13d, %eax movzwl %ax, %esi callq _realloc movq %rax, (%r12) testq %rax, %rax je LBB0_8 ## %bb.2: leaq L_.str.2(%rip), %rdi xorl %eax, %eax callq _NODE_DBG movl $-8, 12(%r12) LBB0_3: cmpq $0, 40(%r12) je LBB0_6 ## %bb.4: movq %r14, %rdi LBB0_5: addq $56, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp jmp _espconn_secure_disconnect ## TAILCALL LBB0_8: movzwl 8(%r12), %edi movzwl %r13w, %edx movq %r15, %rsi callq _memcpy movzwl 8(%r12), %ebx addw %r13w, %bx movw %bx, 8(%r12) movq (%r12), %r15 movzwl %bx, %esi leaq L_.str.3(%rip), %rdi xorl %eax, %eax callq _NODE_DBG movl %ebx, %r13d LBB0_9: testq %r15, %r15 je LBB0_64 ## %bb.10: movq %r14, -80(%rbp) ## 8-byte Spill movq %r12, -56(%rbp) ## 8-byte Spill jmp LBB0_11 .p2align 4, 0x90 LBB0_62: ## in Loop: Header=BB0_11 Depth=1 movzwl 8(%r12), %ecx addq %rcx, %rax movzwl %r13w, %edx movq %rax, %rdi movq %r15, %rsi callq _memcpy addw %r13w, 8(%r12) movq (%r12), %r15 LBB0_63: ## in Loop: Header=BB0_11 Depth=1 testq %r15, %r15 je LBB0_64 LBB0_11: ## =>This Inner Loop Header: Depth=1 movl %r13d, -64(%rbp) ## 4-byte Spill movsbl (%r15), %esi leaq L_.str.4(%rip), %rdi xorl %eax, %eax callq _NODE_DBG movsbl 1(%r15), %esi leaq L_.str.5(%rip), %rdi xorl %eax, %eax callq _NODE_DBG movsbl 2(%r15), %esi leaq L_.str.6(%rip), %rdi xorl %eax, %eax callq _NODE_DBG movsbl 3(%r15), %esi leaq L_.str.7(%rip), %rdi xorl %eax, %eax callq _NODE_DBG movsbl 4(%r15), %esi leaq L_.str.8(%rip), %rdi xorl %eax, %eax callq _NODE_DBG movsbl 5(%r15), %esi leaq L_.str.9(%rip), %rdi xorl %eax, %eax callq _NODE_DBG movsbl 6(%r15), %esi leaq L_.str.10(%rip), %rdi xorl %eax, %eax callq _NODE_DBG movsbl 7(%r15), %esi leaq L_.str.11(%rip), %rdi xorl %eax, %eax callq _NODE_DBG movzbl 1(%r15), %esi movl %esi, %ebx andl $127, %ebx cmpl $127, %ebx je LBB0_14 ## %bb.12: ## in Loop: Header=BB0_11 Depth=1 movl $2, %r13d cmpl $126, %ebx jne LBB0_16 ## %bb.13: ## in Loop: Header=BB0_11 Depth=1 leaq 3(%r15), %rax movsbl 2(%r15), %ecx shll $8, %ecx movl $4, %r13d jmp LBB0_15 .p2align 4, 0x90 LBB0_14: ## in Loop: Header=BB0_11 Depth=1 leaq 5(%r15), %rax movzbl 2(%r15), %ecx shll $24, %ecx movsbl 3(%r15), %edx shll $16, %edx addl %ecx, %edx movsbl 4(%r15), %ecx shll $8, %ecx addl %edx, %ecx movl $6, %r13d LBB0_15: ## in Loop: Header=BB0_11 Depth=1 movsbl (%rax), %ebx addl %ecx, %ebx LBB0_16: ## in Loop: Header=BB0_11 Depth=1 movzbl (%r15), %edx testb %sil, %sil jns LBB0_19 ## %bb.17: ## in Loop: Header=BB0_11 Depth=1 testl %ebx, %ebx jns LBB0_23 ## %bb.18: ## in Loop: Header=BB0_11 Depth=1 addl $4, %r13d LBB0_19: ## in Loop: Header=BB0_11 Depth=1 movzwl -64(%rbp), %eax ## 2-byte Folded Reload movl %eax, -60(%rbp) ## 4-byte Spill subl %r13d, %eax cmpl %eax, %ebx jg LBB0_20 ## %bb.26: ## in Loop: Header=BB0_11 Depth=1 movl %edx, %ecx andl $15, %ecx testb %dl, %dl js LBB0_34 ## %bb.27: ## in Loop: Header=BB0_11 Depth=1 movl %ecx, -44(%rbp) ## 4-byte Spill leaq L_.str.15(%rip), %rdi xorl %eax, %eax callq _NODE_DBG movq -56(%rbp), %r12 ## 8-byte Reload cmpq $0, 16(%r12) je LBB0_28 ## %bb.31: ## in Loop: Header=BB0_11 Depth=1 leaq L_.str.18(%rip), %rdi xorl %eax, %eax callq _NODE_DBG movq 16(%r12), %rdi movl 28(%r12), %eax addl %ebx, %eax movzwl %ax, %esi callq _realloc movq %rax, 16(%r12) testq %rax, %rax je LBB0_32 ## %bb.33: ## in Loop: Header=BB0_11 Depth=1 movslq 28(%r12), %rcx addq %rcx, %rax movl %r13d, %esi addq %r15, %rsi movzwl %bx, %edx movq %rax, %rdi callq _memcpy addl %ebx, 28(%r12) jmp LBB0_56 .p2align 4, 0x90 LBB0_34: ## in Loop: Header=BB0_11 Depth=1 movq _WS_OPCODE_CONTINUATION@GOTPCREL(%rip), %rax cmpl (%rax), %ecx movl %esi, -88(%rbp) ## 4-byte Spill movl %edx, -84(%rbp) ## 4-byte Spill jne LBB0_40 ## %bb.35: ## in Loop: Header=BB0_11 Depth=1 leaq L_.str.19(%rip), %rdi xorl %eax, %eax callq _NODE_DBG movq -56(%rbp), %r12 ## 8-byte Reload cmpq $0, 16(%r12) je LBB0_36 ## %bb.37: ## in Loop: Header=BB0_11 Depth=1 movl 28(%r12), %esi addl %ebx, %esi movl $1, %edi callq _calloc testq %rax, %rax je LBB0_38 ## %bb.39: ## in Loop: Header=BB0_11 Depth=1 movq 16(%r12), %rsi movzwl 28(%r12), %edx movq %rax, %rdi movq %rax, %r14 callq _memcpy movslq 28(%r12), %rdi movq %r14, -72(%rbp) ## 8-byte Spill addq %r14, %rdi movl %r13d, %esi addq %r15, %rsi movzwl %bx, %edx callq _memcpy movq 16(%r12), %rdi callq _os_free movq $0, 16(%r12) addl 28(%r12), %ebx movl 24(%r12), %eax movl %eax, -44(%rbp) ## 4-byte Spill movq $0, 24(%r12) jmp LBB0_48 .p2align 4, 0x90 LBB0_28: ## in Loop: Header=BB0_11 Depth=1 leaq L_.str.16(%rip), %rdi xorl %eax, %eax callq _NODE_DBG movl $1, %edi movl %ebx, %esi callq _calloc movq %rax, 16(%r12) testq %rax, %rax je LBB0_29 ## %bb.30: ## in Loop: Header=BB0_11 Depth=1 movl %r13d, %esi addq %r15, %rsi movzwl %bx, %r14d movq %rax, %rdi movl %r14d, %edx callq _memcpy movw %r14w, 8(%r12) movq -80(%rbp), %r14 ## 8-byte Reload movl -44(%rbp), %eax ## 4-byte Reload movl %eax, 24(%r12) jmp LBB0_56 LBB0_40: ## in Loop: Header=BB0_11 Depth=1 xorl %eax, %eax movl %r13d, %r14d movq _WS_OPCODE_CLOSE@GOTPCREL(%rip), %r12 movl %ecx, -44(%rbp) ## 4-byte Spill cmpl (%r12), %ecx jne LBB0_43 ## %bb.41: ## in Loop: Header=BB0_11 Depth=1 testl %ebx, %ebx jle LBB0_43 ## %bb.42: ## in Loop: Header=BB0_11 Depth=1 movsbl (%r15,%r14), %esi movzbl 1(%r15,%r14), %ecx addb $8, %cl shll %cl, %esi leaq L_.str.21(%rip), %rdi xorl %eax, %eax callq _NODE_DBG movl $2, %eax LBB0_43: ## in Loop: Header=BB0_11 Depth=1 movl %eax, -72(%rbp) ## 4-byte Spill movq %r14, %r12 movl %ebx, %r14d subl %eax, %r14d leal 1(%r14), %esi movl $1, %edi callq _calloc testq %rax, %rax je LBB0_44 ## %bb.47: ## in Loop: Header=BB0_11 Depth=1 addq %r15, %r12 movl -72(%rbp), %esi ## 4-byte Reload addq %r12, %rsi movzwl %r14w, %edx movq %rax, %rdi movq %rax, %r12 callq _memcpy movslq %r14d, %rax movq %r12, -72(%rbp) ## 8-byte Spill movb $0, (%r12,%rax) LBB0_48: ## in Loop: Header=BB0_11 Depth=1 movl -84(%rbp), %esi ## 4-byte Reload shrl $7, %esi movl -88(%rbp), %r14d ## 4-byte Reload shrl $7, %r14d leaq L_.str.23(%rip), %rdi xorl %eax, %eax callq _NODE_DBG leaq L_.str.24(%rip), %rdi movl -44(%rbp), %r12d ## 4-byte Reload movl %r12d, %esi xorl %eax, %eax callq _NODE_DBG leaq L_.str.25(%rip), %rdi movl %r14d, %esi xorl %eax, %eax callq _NODE_DBG leaq L_.str.26(%rip), %rdi movl %ebx, %esi xorl %eax, %eax callq _NODE_DBG leaq L_.str.27(%rip), %rdi movl -60(%rbp), %esi ## 4-byte Reload xorl %eax, %eax callq _NODE_DBG leaq L_.str.28(%rip), %rdi movl %r13d, %esi xorl %eax, %eax callq _NODE_DBG movq _WS_OPCODE_CLOSE@GOTPCREL(%rip), %rax cmpl (%rax), %r12d jne LBB0_50 ## %bb.49: ## in Loop: Header=BB0_11 Depth=1 leaq L_.str.29(%rip), %rdi movq -72(%rbp), %r14 ## 8-byte Reload movq %r14, %rsi xorl %eax, %eax callq _NODE_DBG movq _ws_closeSentCallback@GOTPCREL(%rip), %rax movl (%rax), %esi movq -80(%rbp), %r12 ## 8-byte Reload movq %r12, %rdi callq _espconn_regist_sentcb movq _WS_OPCODE_CLOSE@GOTPCREL(%rip), %rax movl (%rax), %esi movl %r13d, %edx addq %r15, %rdx movzwl %bx, %ecx movq %r12, %rdi callq _ws_sendFrame movq -56(%rbp), %rax ## 8-byte Reload movl $4, 32(%rax) jmp LBB0_55 LBB0_50: ## in Loop: Header=BB0_11 Depth=1 movq _WS_OPCODE_PONG@GOTPCREL(%rip), %rax movl (%rax), %esi movq _WS_OPCODE_PING@GOTPCREL(%rip), %rax cmpl (%rax), %r12d movq -80(%rbp), %rdi ## 8-byte Reload jne LBB0_52 ## %bb.51: ## in Loop: Header=BB0_11 Depth=1 movl %r13d, %edx addq %r15, %rdx movzwl %bx, %ecx callq _ws_sendFrame movq -72(%rbp), %r14 ## 8-byte Reload jmp LBB0_55 LBB0_52: ## in Loop: Header=BB0_11 Depth=1 cmpl %esi, %r12d movq -72(%rbp), %r14 ## 8-byte Reload je LBB0_55 ## %bb.53: ## in Loop: Header=BB0_11 Depth=1 movq -56(%rbp), %rax ## 8-byte Reload movq 48(%rax), %rax testq %rax, %rax je LBB0_55 ## %bb.54: ## in Loop: Header=BB0_11 Depth=1 movq -56(%rbp), %rdi ## 8-byte Reload movl %ebx, %esi movq %r14, %rdx movl %r12d, %ecx callq *%rax .p2align 4, 0x90 LBB0_55: ## in Loop: Header=BB0_11 Depth=1 movq %r14, %rdi callq _os_free movq -56(%rbp), %r12 ## 8-byte Reload movq -80(%rbp), %r14 ## 8-byte Reload LBB0_56: ## in Loop: Header=BB0_11 Depth=1 addl %r13d, %ebx leaq L_.str.28(%rip), %rdi movl %ebx, %esi xorl %eax, %eax callq _NODE_DBG cmpl -60(%rbp), %ebx ## 4-byte Folded Reload je LBB0_57 ## %bb.59: ## in Loop: Header=BB0_11 Depth=1 movl -64(%rbp), %r13d ## 4-byte Reload subl %ebx, %r13d movslq %ebx, %rax addq %rax, %r15 cmpq $0, (%r12) je LBB0_63 ## %bb.60: ## in Loop: Header=BB0_11 Depth=1 leaq L_.str.30(%rip), %rdi xorl %eax, %eax callq _NODE_DBG movq (%r12), %rdi movzwl 8(%r12), %eax addw %r13w, %ax movzwl %ax, %esi callq _realloc movq %rax, (%r12) testq %rax, %rax jne LBB0_62 ## %bb.61: leaq L_.str.31(%rip), %rdi xorl %eax, %eax callq _NODE_DBG movl $-14, 12(%r12) jmp LBB0_3 LBB0_6: movq %r14, %rdi LBB0_7: addq $56, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp jmp _espconn_disconnect ## TAILCALL LBB0_20: leaq L_.str.12(%rip), %rdi xorl %eax, %eax callq _NODE_DBG cmpq $0, (%r12) movl -64(%rbp), %ebx ## 4-byte Reload jne LBB0_64 ## %bb.21: leaq L_.str.13(%rip), %rdi xorl %eax, %eax callq _NODE_DBG movl $1, %edi movl -60(%rbp), %r13d ## 4-byte Reload movl %r13d, %esi callq _calloc movq %rax, (%r12) testq %rax, %rax je LBB0_22 ## %bb.25: movq %rax, %rdi movq %r15, %rsi movl %r13d, %edx callq _memcpy movw %bx, 8(%r12) jmp LBB0_64 LBB0_57: movq (%r12), %rdi testq %rdi, %rdi je LBB0_64 ## %bb.58: callq _os_free movq $0, (%r12) movw $0, 8(%r12) LBB0_64: addq $56, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_23: movl %r13d, %eax addq %r15, %rax addq $4, %rax xorl %ecx, %ecx .p2align 4, 0x90 LBB0_24: ## =>This Inner Loop Header: Depth=1 leal 3(%rcx), %edx testl %ecx, %ecx cmovnsl %ecx, %edx andl $-4, %edx movl %ecx, %esi subl %edx, %esi addl %r13d, %esi movslq %esi, %rdx movzbl (%r15,%rdx), %edx xorb %dl, (%rax,%rcx) decq %rcx jmp LBB0_24 LBB0_32: leaq L_.str.2(%rip), %rdi xorl %eax, %eax callq _NODE_DBG movl $-11, 12(%r12) jmp LBB0_3 LBB0_29: leaq L_.str.17(%rip), %rdi xorl %eax, %eax callq _NODE_DBG movl $-10, 12(%r12) jmp LBB0_3 LBB0_36: leaq L_.str.20(%rip), %rdi xorl %eax, %eax callq _NODE_DBG movl $-15, 12(%r12) jmp LBB0_3 LBB0_44: leaq L_.str.22(%rip), %rdi xorl %eax, %eax callq _NODE_DBG movq -56(%rbp), %rax ## 8-byte Reload movl $-13, 12(%rax) cmpq $0, 40(%rax) je LBB0_46 ## %bb.45: movq -80(%rbp), %rdi ## 8-byte Reload jmp LBB0_5 LBB0_38: leaq L_.str.2(%rip), %rdi xorl %eax, %eax callq _NODE_DBG movl $-12, 12(%r12) jmp LBB0_3 LBB0_22: leaq L_.str.14(%rip), %rdi xorl %eax, %eax callq _NODE_DBG movl $-9, 12(%r12) jmp LBB0_3 LBB0_46: movq -80(%rbp), %rdi ## 8-byte Reload jmp LBB0_7 .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "ws_receiveCallback %d \n" .comm _WS_PING_INTERVAL_MS,4,2 ## @WS_PING_INTERVAL_MS L_.str.1: ## @.str.1 .asciz "Appending new frameBuffer to old one \n" L_.str.2: ## @.str.2 .asciz "Failed to allocate new framebuffer, disconnecting...\n" L_.str.3: ## @.str.3 .asciz "New frameBufferLen: %d\n" L_.str.4: ## @.str.4 .asciz "b[0] = %d \n" L_.str.5: ## @.str.5 .asciz "b[1] = %d \n" L_.str.6: ## @.str.6 .asciz "b[2] = %d \n" L_.str.7: ## @.str.7 .asciz "b[3] = %d \n" L_.str.8: ## @.str.8 .asciz "b[4] = %d \n" L_.str.9: ## @.str.9 .asciz "b[5] = %d \n" L_.str.10: ## @.str.10 .asciz "b[6] = %d \n" L_.str.11: ## @.str.11 .asciz "b[7] = %d \n" L_.str.12: ## @.str.12 .asciz "INCOMPLETE Frame \n" L_.str.13: ## @.str.13 .asciz "Allocing new frameBuffer \n" L_.str.14: ## @.str.14 .asciz "Failed to allocate framebuffer, disconnecting... \n" L_.str.15: ## @.str.15 .asciz "PARTIAL frame! Should concat payload and later restore opcode\n" L_.str.16: ## @.str.16 .asciz "Allocing new payloadBuffer \n" L_.str.17: ## @.str.17 .asciz "Failed to allocate payloadBuffer, disconnecting...\n" L_.str.18: ## @.str.18 .asciz "Appending new payloadBuffer to old one \n" .comm _WS_OPCODE_CONTINUATION,4,2 ## @WS_OPCODE_CONTINUATION L_.str.19: ## @.str.19 .asciz "restoring original opcode\n" L_.str.20: ## @.str.20 .asciz "Got FIN continuation frame but didn't receive any beforehand, disconnecting...\n" .comm _WS_OPCODE_CLOSE,4,2 ## @WS_OPCODE_CLOSE L_.str.21: ## @.str.21 .asciz "Closing due to: %d\n" L_.str.22: ## @.str.22 .asciz "Failed to allocate payload, disconnecting...\n" L_.str.23: ## @.str.23 .asciz "isFin %d \n" L_.str.24: ## @.str.24 .asciz "opCode %d \n" L_.str.25: ## @.str.25 .asciz "hasMask %d \n" L_.str.26: ## @.str.26 .asciz "payloadLength %d \n" L_.str.27: ## @.str.27 .asciz "len %d \n" L_.str.28: ## @.str.28 .asciz "bufOffset %d \n" L_.str.29: ## @.str.29 .asciz "Closing message: %s\n" .comm _ws_closeSentCallback,4,2 ## @ws_closeSentCallback .comm _WS_OPCODE_PING,4,2 ## @WS_OPCODE_PING .comm _WS_OPCODE_PONG,4,2 ## @WS_OPCODE_PONG L_.str.30: ## @.str.30 .asciz "Reallocing frameBuffer to remove consumed frame\n" L_.str.31: ## @.str.31 .asciz "Failed to allocate new frame buffer, disconnecting...\n" .no_dead_strip _ws_receiveCallback .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function ws_receiveCallback _ws_receiveCallback: ; @ws_receiveCallback .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 x28, x2 mov x21, x1 mov x22, x0 str x28, [sp] Lloh0: adrp x0, l_.str@PAGE Lloh1: add x0, x0, l_.str@PAGEOFF bl _NODE_DBG ldr x20, [x22] str xzr, [x20, #64] add x0, x20, #56 bl _os_timer_disarm Lloh2: adrp x8, _WS_PING_INTERVAL_MS@GOTPAGE Lloh3: ldr x8, [x8, _WS_PING_INTERVAL_MS@GOTPAGEOFF] Lloh4: ldr w1, [x8] add x0, x20, #56 mov w2, #1 ; =0x1 bl _os_timer_arm ldr x8, [x20] cbz x8, LBB0_7 ; %bb.1: Lloh5: adrp x0, l_.str.1@PAGE Lloh6: add x0, x0, l_.str.1@PAGEOFF bl _NODE_DBG ldr x0, [x20] ldrh w8, [x20, #8] sub w8, w8, w28 and w1, w8, #0xffff bl _realloc str x0, [x20] cbz x0, LBB0_6 ; %bb.2: Lloh7: adrp x0, l_.str.2@PAGE Lloh8: add x0, x0, l_.str.2@PAGEOFF bl _NODE_DBG mov w8, #-8 ; =0xfffffff8 LBB0_3: str w8, [x20, #12] ldr x8, [x20, #40] cbz x8, LBB0_48 ; %bb.4: mov x0, x22 LBB0_5: ldp x29, x30, [sp, #128] ; 16-byte Folded Reload ldp x20, x19, [sp, #112] ; 16-byte Folded Reload ldp x22, x21, [sp, #96] ; 16-byte Folded Reload ldp x24, x23, [sp, #80] ; 16-byte Folded Reload ldp x26, x25, [sp, #64] ; 16-byte Folded Reload ldp x28, x27, [sp, #48] ; 16-byte Folded Reload add sp, sp, #144 b _espconn_secure_disconnect LBB0_6: ldrh w0, [x20, #8] mov x1, x21 mov x2, x28 bl _memcpy ldrh w8, [x20, #8] add w19, w8, w28 strh w19, [x20, #8] ldr x21, [x20] and x8, x19, #0xffff str x8, [sp] Lloh9: adrp x0, l_.str.3@PAGE Lloh10: add x0, x0, l_.str.3@PAGEOFF bl _NODE_DBG mov x28, x19 LBB0_7: cbz x21, LBB0_55 ; %bb.8: str x22, [sp, #16] ; 8-byte Folded Spill b LBB0_11 LBB0_9: ; in Loop: Header=BB0_11 Depth=1 ldrh w8, [x20, #8] add x0, x0, x8 and w2, w28, #0xffff mov x1, x21 bl _memcpy ldrh w8, [x20, #8] add w8, w8, w28 strh w8, [x20, #8] ldr x21, [x20] LBB0_10: ; in Loop: Header=BB0_11 Depth=1 cbz x21, LBB0_55 LBB0_11: ; =>This Inner Loop Header: Depth=1 ldrsb x8, [x21] str x8, [sp] Lloh11: adrp x0, l_.str.4@PAGE Lloh12: add x0, x0, l_.str.4@PAGEOFF bl _NODE_DBG ldrsb x8, [x21, #1] str x8, [sp] Lloh13: adrp x0, l_.str.5@PAGE Lloh14: add x0, x0, l_.str.5@PAGEOFF bl _NODE_DBG ldrsb x8, [x21, #2] str x8, [sp] Lloh15: adrp x0, l_.str.6@PAGE Lloh16: add x0, x0, l_.str.6@PAGEOFF bl _NODE_DBG mov x19, x21 ldrsb x8, [x19, #3]! str x8, [sp] Lloh17: adrp x0, l_.str.7@PAGE Lloh18: add x0, x0, l_.str.7@PAGEOFF bl _NODE_DBG ldrsb x8, [x21, #4] str x8, [sp] Lloh19: adrp x0, l_.str.8@PAGE Lloh20: add x0, x0, l_.str.8@PAGEOFF bl _NODE_DBG mov x23, x21 ldrsb x8, [x23, #5]! str x8, [sp] Lloh21: adrp x0, l_.str.9@PAGE Lloh22: add x0, x0, l_.str.9@PAGEOFF bl _NODE_DBG ldrsb x8, [x21, #6] str x8, [sp] Lloh23: adrp x0, l_.str.10@PAGE Lloh24: add x0, x0, l_.str.10@PAGEOFF bl _NODE_DBG ldrsb x8, [x21, #7] str x8, [sp] Lloh25: adrp x0, l_.str.11@PAGE Lloh26: add x0, x0, l_.str.11@PAGEOFF bl _NODE_DBG ldrb w25, [x21, #1] and w26, w25, #0x7f cmp w26, #127 b.eq LBB0_14 ; %bb.12: ; in Loop: Header=BB0_11 Depth=1 cmp w26, #126 b.ne LBB0_16 ; %bb.13: ; in Loop: Header=BB0_11 Depth=1 ldrsb w8, [x21, #2] lsl w8, w8, #8 mov w24, #4 ; =0x4 b LBB0_15 LBB0_14: ; in Loop: Header=BB0_11 Depth=1 ldrb w8, [x21, #2] ldrsb w9, [x21, #3] lsl w9, w9, #16 add w8, w9, w8, lsl #24 ldrsb w9, [x21, #4] add w8, w8, w9, lsl #8 mov w24, #6 ; =0x6 mov x19, x23 LBB0_15: ; in Loop: Header=BB0_11 Depth=1 ldrsb w9, [x19] add w26, w8, w9 b LBB0_17 LBB0_16: ; in Loop: Header=BB0_11 Depth=1 mov w24, #2 ; =0x2 LBB0_17: ; in Loop: Header=BB0_11 Depth=1 ldrb w19, [x21] sxtb w8, w25 tbz w8, #31, LBB0_20 ; %bb.18: ; in Loop: Header=BB0_11 Depth=1 tbz w26, #31, LBB0_56 ; %bb.19: ; in Loop: Header=BB0_11 Depth=1 add w24, w24, #4 LBB0_20: ; in Loop: Header=BB0_11 Depth=1 and w27, w28, #0xffff sub w8, w27, w24 cmp w26, w8 b.gt LBB0_50 ; %bb.21: ; in Loop: Header=BB0_11 Depth=1 str x28, [sp, #40] ; 8-byte Folded Spill sxtb w8, w19 and w28, w19, #0xf tbnz w8, #31, LBB0_25 ; %bb.22: ; in Loop: Header=BB0_11 Depth=1 Lloh27: adrp x0, l_.str.15@PAGE Lloh28: add x0, x0, l_.str.15@PAGEOFF bl _NODE_DBG ldr x8, [x20, #16] cbz x8, LBB0_29 ; %bb.23: ; in Loop: Header=BB0_11 Depth=1 Lloh29: adrp x0, l_.str.18@PAGE Lloh30: add x0, x0, l_.str.18@PAGEOFF bl _NODE_DBG ldr x0, [x20, #16] ldr w8, [x20, #28] add w8, w8, w26 and w1, w8, #0xffff bl _realloc str x0, [x20, #16] cbz x0, LBB0_58 ; %bb.24: ; in Loop: Header=BB0_11 Depth=1 ldrsw x8, [x20, #28] add x1, x21, w24, uxtw add x0, x0, x8 and w2, w26, #0xffff bl _memcpy ldr w8, [x20, #28] add w8, w8, w26 str w8, [x20, #28] b LBB0_44 LBB0_25: ; in Loop: Header=BB0_11 Depth=1 Lloh31: adrp x8, _WS_OPCODE_CONTINUATION@GOTPAGE Lloh32: ldr x8, [x8, _WS_OPCODE_CONTINUATION@GOTPAGEOFF] Lloh33: ldr w8, [x8] cmp w28, w8 b.ne LBB0_31 ; %bb.26: ; in Loop: Header=BB0_11 Depth=1 Lloh34: adrp x0, l_.str.19@PAGE Lloh35: add x0, x0, l_.str.19@PAGEOFF bl _NODE_DBG ldr x8, [x20, #16] cbz x8, LBB0_60 ; %bb.27: ; in Loop: Header=BB0_11 Depth=1 ldr w8, [x20, #28] add w1, w8, w26 mov w0, #1 ; =0x1 bl _calloc cbz x0, LBB0_63 ; %bb.28: ; in Loop: Header=BB0_11 Depth=1 mov x23, x0 ldr x1, [x20, #16] ldrh w2, [x20, #28] bl _memcpy ldrsw x8, [x20, #28] add x1, x21, w24, uxtw add x0, x23, x8 and w2, w26, #0xffff bl _memcpy ldr x0, [x20, #16] bl _os_free ldp w28, w8, [x20, #24] add w26, w8, w26 stp xzr, xzr, [x20, #16] b LBB0_36 LBB0_29: ; in Loop: Header=BB0_11 Depth=1 Lloh36: adrp x0, l_.str.16@PAGE Lloh37: add x0, x0, l_.str.16@PAGEOFF bl _NODE_DBG mov w0, #1 ; =0x1 mov x1, x26 bl _calloc str x0, [x20, #16] cbz x0, LBB0_59 ; %bb.30: ; in Loop: Header=BB0_11 Depth=1 add x1, x21, w24, uxtw and w2, w26, #0xffff bl _memcpy strh w26, [x20, #8] str w28, [x20, #24] b LBB0_44 LBB0_31: ; in Loop: Header=BB0_11 Depth=1 mov w9, #0 ; =0x0 Lloh38: adrp x8, _WS_OPCODE_CLOSE@GOTPAGE Lloh39: ldr x8, [x8, _WS_OPCODE_CLOSE@GOTPAGEOFF] Lloh40: ldr w8, [x8] add x23, x21, w24, uxtw cmp w28, w8 stp x27, x28, [sp, #24] ; 16-byte Folded Spill b.ne LBB0_34 ; %bb.32: ; in Loop: Header=BB0_11 Depth=1 cmp w26, #1 b.lt LBB0_34 ; %bb.33: ; in Loop: Header=BB0_11 Depth=1 ldrsb w8, [x23] ldrsb w9, [x23, #1] add w9, w9, #8 lsl w8, w8, w9 str x8, [sp] Lloh41: adrp x0, l_.str.21@PAGE Lloh42: add x0, x0, l_.str.21@PAGEOFF bl _NODE_DBG mov w9, #2 ; =0x2 LBB0_34: ; in Loop: Header=BB0_11 Depth=1 mov x28, x23 sub w22, w26, w9 add w1, w22, #1 mov w0, #1 ; =0x1 mov x27, x9 bl _calloc cbz x0, LBB0_61 ; %bb.35: ; in Loop: Header=BB0_11 Depth=1 mov x23, x0 add x1, x28, w27, uxtw and w2, w22, #0xffff bl _memcpy strb wzr, [x23, w22, sxtw] ldp x22, x27, [sp, #16] ; 16-byte Folded Reload ldr x28, [sp, #32] ; 8-byte Folded Reload LBB0_36: ; in Loop: Header=BB0_11 Depth=1 lsr w8, w19, #7 lsr w19, w25, #7 str x8, [sp] Lloh43: adrp x0, l_.str.23@PAGE Lloh44: add x0, x0, l_.str.23@PAGEOFF bl _NODE_DBG str x28, [sp] Lloh45: adrp x0, l_.str.24@PAGE Lloh46: add x0, x0, l_.str.24@PAGEOFF bl _NODE_DBG str x19, [sp] Lloh47: adrp x0, l_.str.25@PAGE Lloh48: add x0, x0, l_.str.25@PAGEOFF bl _NODE_DBG str x26, [sp] Lloh49: adrp x0, l_.str.26@PAGE Lloh50: add x0, x0, l_.str.26@PAGEOFF bl _NODE_DBG str x27, [sp] Lloh51: adrp x0, l_.str.27@PAGE Lloh52: add x0, x0, l_.str.27@PAGEOFF bl _NODE_DBG str x24, [sp] Lloh53: adrp x0, l_.str.28@PAGE Lloh54: add x0, x0, l_.str.28@PAGEOFF bl _NODE_DBG Lloh55: adrp x19, _WS_OPCODE_CLOSE@GOTPAGE Lloh56: ldr x19, [x19, _WS_OPCODE_CLOSE@GOTPAGEOFF] ldr w8, [x19] cmp w28, w8 b.ne LBB0_38 ; %bb.37: ; in Loop: Header=BB0_11 Depth=1 str x23, [sp] Lloh57: adrp x0, l_.str.29@PAGE Lloh58: add x0, x0, l_.str.29@PAGEOFF bl _NODE_DBG Lloh59: adrp x8, _ws_closeSentCallback@GOTPAGE Lloh60: ldr x8, [x8, _ws_closeSentCallback@GOTPAGEOFF] Lloh61: ldr w1, [x8] mov x0, x22 bl _espconn_regist_sentcb ldr w1, [x19] add x2, x21, w24, uxtw and w3, w26, #0xffff mov x0, x22 bl _ws_sendFrame mov w8, #4 ; =0x4 str w8, [x20, #32] b LBB0_43 LBB0_38: ; in Loop: Header=BB0_11 Depth=1 Lloh62: adrp x8, _WS_OPCODE_PING@GOTPAGE Lloh63: ldr x8, [x8, _WS_OPCODE_PING@GOTPAGEOFF] Lloh64: ldr w8, [x8] Lloh65: adrp x9, _WS_OPCODE_PONG@GOTPAGE Lloh66: ldr x9, [x9, _WS_OPCODE_PONG@GOTPAGEOFF] Lloh67: ldr w1, [x9] cmp w28, w8 b.ne LBB0_40 ; %bb.39: ; in Loop: Header=BB0_11 Depth=1 add x2, x21, w24, uxtw and w3, w26, #0xffff mov x0, x22 bl _ws_sendFrame b LBB0_43 LBB0_40: ; in Loop: Header=BB0_11 Depth=1 cmp w28, w1 b.eq LBB0_43 ; %bb.41: ; in Loop: Header=BB0_11 Depth=1 ldr x8, [x20, #48] cbz x8, LBB0_43 ; %bb.42: ; in Loop: Header=BB0_11 Depth=1 mov x0, x20 mov x1, x26 mov x2, x23 mov x3, x28 blr x8 LBB0_43: ; in Loop: Header=BB0_11 Depth=1 mov x0, x23 bl _os_free LBB0_44: ; in Loop: Header=BB0_11 Depth=1 add w19, w26, w24 str x19, [sp] Lloh68: adrp x0, l_.str.28@PAGE Lloh69: add x0, x0, l_.str.28@PAGEOFF bl _NODE_DBG cmp w19, w27 ldr x28, [sp, #40] ; 8-byte Folded Reload b.eq LBB0_53 ; %bb.45: ; in Loop: Header=BB0_11 Depth=1 sub w28, w28, w19 add x21, x21, w19, sxtw ldr x8, [x20] cbz x8, LBB0_10 ; %bb.46: ; in Loop: Header=BB0_11 Depth=1 Lloh70: adrp x0, l_.str.30@PAGE Lloh71: add x0, x0, l_.str.30@PAGEOFF bl _NODE_DBG ldr x0, [x20] ldrh w8, [x20, #8] add w8, w8, w28 and w1, w8, #0xffff bl _realloc str x0, [x20] cbnz x0, LBB0_9 ; %bb.47: Lloh72: adrp x0, l_.str.31@PAGE Lloh73: add x0, x0, l_.str.31@PAGEOFF bl _NODE_DBG mov w8, #-14 ; =0xfffffff2 b LBB0_3 LBB0_48: mov x0, x22 LBB0_49: ldp x29, x30, [sp, #128] ; 16-byte Folded Reload ldp x20, x19, [sp, #112] ; 16-byte Folded Reload ldp x22, x21, [sp, #96] ; 16-byte Folded Reload ldp x24, x23, [sp, #80] ; 16-byte Folded Reload ldp x26, x25, [sp, #64] ; 16-byte Folded Reload ldp x28, x27, [sp, #48] ; 16-byte Folded Reload add sp, sp, #144 b _espconn_disconnect LBB0_50: Lloh74: adrp x0, l_.str.12@PAGE Lloh75: add x0, x0, l_.str.12@PAGEOFF bl _NODE_DBG ldr x8, [x20] cbnz x8, LBB0_55 ; %bb.51: Lloh76: adrp x0, l_.str.13@PAGE Lloh77: add x0, x0, l_.str.13@PAGEOFF bl _NODE_DBG mov w0, #1 ; =0x1 mov x1, x27 bl _calloc str x0, [x20] cbz x0, LBB0_64 ; %bb.52: and w2, w28, #0xffff mov x1, x21 bl _memcpy strh w28, [x20, #8] b LBB0_55 LBB0_53: ldr x0, [x20] cbz x0, LBB0_55 ; %bb.54: bl _os_free str xzr, [x20] strh wzr, [x20, #8] LBB0_55: 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_56: mov x8, #0 ; =0x0 add x9, x21, w24, uxtw add x9, x9, #4 LBB0_57: ; =>This Inner Loop Header: Depth=1 negs w10, w8 and w10, w10, #0x3 and w11, w8, #0x3 csneg w10, w11, w10, mi add w10, w10, w24 ldrb w10, [x21, w10, sxtw] ldrb w11, [x9, x8] eor w10, w11, w10 strb w10, [x9, x8] sub x8, x8, #1 b LBB0_57 LBB0_58: Lloh78: adrp x0, l_.str.2@PAGE Lloh79: add x0, x0, l_.str.2@PAGEOFF bl _NODE_DBG mov w8, #-11 ; =0xfffffff5 b LBB0_3 LBB0_59: Lloh80: adrp x0, l_.str.17@PAGE Lloh81: add x0, x0, l_.str.17@PAGEOFF bl _NODE_DBG mov w8, #-10 ; =0xfffffff6 b LBB0_3 LBB0_60: Lloh82: adrp x0, l_.str.20@PAGE Lloh83: add x0, x0, l_.str.20@PAGEOFF bl _NODE_DBG mov w8, #-15 ; =0xfffffff1 b LBB0_3 LBB0_61: Lloh84: adrp x0, l_.str.22@PAGE Lloh85: add x0, x0, l_.str.22@PAGEOFF bl _NODE_DBG mov w8, #-13 ; =0xfffffff3 str w8, [x20, #12] ldr x8, [x20, #40] cbz x8, LBB0_65 ; %bb.62: ldr x0, [sp, #16] ; 8-byte Folded Reload b LBB0_5 LBB0_63: Lloh86: adrp x0, l_.str.2@PAGE Lloh87: add x0, x0, l_.str.2@PAGEOFF bl _NODE_DBG mov w8, #-12 ; =0xfffffff4 b LBB0_3 LBB0_64: Lloh88: adrp x0, l_.str.14@PAGE Lloh89: add x0, x0, l_.str.14@PAGEOFF bl _NODE_DBG mov w8, #-9 ; =0xfffffff7 b LBB0_3 LBB0_65: ldr x0, [sp, #16] ; 8-byte Folded Reload b LBB0_49 .loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4 .loh AdrpAdd Lloh0, Lloh1 .loh AdrpAdd Lloh5, Lloh6 .loh AdrpAdd Lloh7, Lloh8 .loh AdrpAdd Lloh9, Lloh10 .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 AdrpAdd Lloh13, Lloh14 .loh AdrpAdd Lloh11, Lloh12 .loh AdrpAdd Lloh27, Lloh28 .loh AdrpAdd Lloh29, Lloh30 .loh AdrpLdrGotLdr Lloh31, Lloh32, Lloh33 .loh AdrpAdd Lloh34, Lloh35 .loh AdrpAdd Lloh36, Lloh37 .loh AdrpLdrGotLdr Lloh38, Lloh39, Lloh40 .loh AdrpAdd Lloh41, Lloh42 .loh AdrpLdrGot Lloh55, Lloh56 .loh AdrpAdd Lloh53, Lloh54 .loh AdrpAdd Lloh51, Lloh52 .loh AdrpAdd Lloh49, Lloh50 .loh AdrpAdd Lloh47, Lloh48 .loh AdrpAdd Lloh45, Lloh46 .loh AdrpAdd Lloh43, Lloh44 .loh AdrpLdrGotLdr Lloh59, Lloh60, Lloh61 .loh AdrpAdd Lloh57, Lloh58 .loh AdrpLdrGotLdr Lloh65, Lloh66, Lloh67 .loh AdrpLdrGotLdr Lloh62, Lloh63, Lloh64 .loh AdrpAdd Lloh68, Lloh69 .loh AdrpAdd Lloh70, Lloh71 .loh AdrpAdd Lloh72, Lloh73 .loh AdrpAdd Lloh74, Lloh75 .loh AdrpAdd Lloh76, Lloh77 .loh AdrpAdd Lloh78, Lloh79 .loh AdrpAdd Lloh80, Lloh81 .loh AdrpAdd Lloh82, Lloh83 .loh AdrpAdd Lloh84, Lloh85 .loh AdrpAdd Lloh86, Lloh87 .loh AdrpAdd Lloh88, Lloh89 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "ws_receiveCallback %d \n" .comm _WS_PING_INTERVAL_MS,4,2 ; @WS_PING_INTERVAL_MS l_.str.1: ; @.str.1 .asciz "Appending new frameBuffer to old one \n" l_.str.2: ; @.str.2 .asciz "Failed to allocate new framebuffer, disconnecting...\n" l_.str.3: ; @.str.3 .asciz "New frameBufferLen: %d\n" l_.str.4: ; @.str.4 .asciz "b[0] = %d \n" l_.str.5: ; @.str.5 .asciz "b[1] = %d \n" l_.str.6: ; @.str.6 .asciz "b[2] = %d \n" l_.str.7: ; @.str.7 .asciz "b[3] = %d \n" l_.str.8: ; @.str.8 .asciz "b[4] = %d \n" l_.str.9: ; @.str.9 .asciz "b[5] = %d \n" l_.str.10: ; @.str.10 .asciz "b[6] = %d \n" l_.str.11: ; @.str.11 .asciz "b[7] = %d \n" l_.str.12: ; @.str.12 .asciz "INCOMPLETE Frame \n" l_.str.13: ; @.str.13 .asciz "Allocing new frameBuffer \n" l_.str.14: ; @.str.14 .asciz "Failed to allocate framebuffer, disconnecting... \n" l_.str.15: ; @.str.15 .asciz "PARTIAL frame! Should concat payload and later restore opcode\n" l_.str.16: ; @.str.16 .asciz "Allocing new payloadBuffer \n" l_.str.17: ; @.str.17 .asciz "Failed to allocate payloadBuffer, disconnecting...\n" l_.str.18: ; @.str.18 .asciz "Appending new payloadBuffer to old one \n" .comm _WS_OPCODE_CONTINUATION,4,2 ; @WS_OPCODE_CONTINUATION l_.str.19: ; @.str.19 .asciz "restoring original opcode\n" l_.str.20: ; @.str.20 .asciz "Got FIN continuation frame but didn't receive any beforehand, disconnecting...\n" .comm _WS_OPCODE_CLOSE,4,2 ; @WS_OPCODE_CLOSE l_.str.21: ; @.str.21 .asciz "Closing due to: %d\n" l_.str.22: ; @.str.22 .asciz "Failed to allocate payload, disconnecting...\n" l_.str.23: ; @.str.23 .asciz "isFin %d \n" l_.str.24: ; @.str.24 .asciz "opCode %d \n" l_.str.25: ; @.str.25 .asciz "hasMask %d \n" l_.str.26: ; @.str.26 .asciz "payloadLength %d \n" l_.str.27: ; @.str.27 .asciz "len %d \n" l_.str.28: ; @.str.28 .asciz "bufOffset %d \n" l_.str.29: ; @.str.29 .asciz "Closing message: %s\n" .comm _ws_closeSentCallback,4,2 ; @ws_closeSentCallback .comm _WS_OPCODE_PING,4,2 ; @WS_OPCODE_PING .comm _WS_OPCODE_PONG,4,2 ; @WS_OPCODE_PONG l_.str.30: ; @.str.30 .asciz "Reallocing frameBuffer to remove consumed frame\n" l_.str.31: ; @.str.31 .asciz "Failed to allocate new frame buffer, disconnecting...\n" .no_dead_strip _ws_receiveCallback .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _fiov_adjust ## -- Begin function fiov_adjust .p2align 4, 0x90 _fiov_adjust: ## @fiov_adjust .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %rbx pushq %rax .cfi_offset %rbx, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rsi, %rbx movq %rdi, %r14 movq (%rdi), %rax subq %rsi, %rax jae LBB0_1 LBB0_3: movq 16(%r14), %r15 movq %rbx, %rdi callq _FU_AT_LEAST movq _M_FUSEMSG@GOTPCREL(%rip), %rcx movl (%rcx), %edx movq _M_WAITOK@GOTPCREL(%rip), %rsi movq _M_ZERO@GOTPCREL(%rip), %rcx movl (%rcx), %ecx andl (%rsi), %ecx movq %r15, %rdi movq %rax, %rsi callq _realloc movq %rax, 16(%r14) testq %rax, %rax jne LBB0_5 ## %bb.4: leaq L_.str(%rip), %rdi callq _panic LBB0_5: movq %rbx, %rdi callq _FU_AT_LEAST movq %rax, (%r14) movq _fuse_iov_credit@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, 8(%r14) movq 16(%r14), %rdi movq %rbx, %rsi jmp LBB0_8 LBB0_1: movq _fuse_iov_permanent_bufsize@GOTPCREL(%rip), %rcx movq (%rcx), %rcx testq %rcx, %rcx sets %dl cmpq %rcx, %rax setbe %al orb %dl, %al jne LBB0_6 ## %bb.2: movq 8(%r14), %rax leaq 1(%rax), %rcx movq %rcx, 8(%r14) cmpq $-2, %rax jle LBB0_3 LBB0_6: movq 24(%r14), %rax movq %rbx, %rsi subq %rax, %rsi jb LBB0_9 ## %bb.7: movq 16(%r14), %rdi subq %rax, %rdi LBB0_8: callq _bzero LBB0_9: movq %rbx, 24(%r14) addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _fuse_iov_permanent_bufsize,8,3 ## @fuse_iov_permanent_bufsize .comm _M_FUSEMSG,4,2 ## @M_FUSEMSG .comm _M_WAITOK,4,2 ## @M_WAITOK .comm _M_ZERO,4,2 ## @M_ZERO .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "FUSE: realloc failed" .comm _fuse_iov_credit,8,3 ## @fuse_iov_credit .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _fiov_adjust ; -- Begin function fiov_adjust .p2align 2 _fiov_adjust: ; @fiov_adjust .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 ldr x8, [x0] subs x8, x8, x1 b.hs LBB0_4 LBB0_1: ldr x21, [x20, #16] mov x0, x19 bl _FU_AT_LEAST mov x1, x0 Lloh0: adrp x8, _M_FUSEMSG@GOTPAGE Lloh1: ldr x8, [x8, _M_FUSEMSG@GOTPAGEOFF] Lloh2: ldr w2, [x8] Lloh3: adrp x8, _M_WAITOK@GOTPAGE Lloh4: ldr x8, [x8, _M_WAITOK@GOTPAGEOFF] Lloh5: ldr w8, [x8] Lloh6: adrp x9, _M_ZERO@GOTPAGE Lloh7: ldr x9, [x9, _M_ZERO@GOTPAGEOFF] Lloh8: ldr w9, [x9] and w3, w9, w8 mov x0, x21 bl _realloc str x0, [x20, #16] cbnz x0, LBB0_3 ; %bb.2: Lloh9: adrp x0, l_.str@PAGE Lloh10: add x0, x0, l_.str@PAGEOFF bl _panic LBB0_3: mov x0, x19 bl _FU_AT_LEAST str x0, [x20] Lloh11: adrp x8, _fuse_iov_credit@GOTPAGE Lloh12: ldr x8, [x8, _fuse_iov_credit@GOTPAGEOFF] Lloh13: ldr x8, [x8] str x8, [x20, #8] ldr x0, [x20, #16] mov x1, x19 b LBB0_9 LBB0_4: Lloh14: adrp x9, _fuse_iov_permanent_bufsize@GOTPAGE Lloh15: ldr x9, [x9, _fuse_iov_permanent_bufsize@GOTPAGEOFF] Lloh16: ldr x9, [x9] tbnz x9, #63, LBB0_7 ; %bb.5: cmp x8, x9 b.ls LBB0_7 ; %bb.6: ldr x8, [x20, #8] add x9, x8, #1 str x9, [x20, #8] cmn x8, #2 b.le LBB0_1 LBB0_7: ldr x8, [x20, #24] subs x1, x19, x8 b.lo LBB0_10 ; %bb.8: ldr x9, [x20, #16] sub x0, x9, x8 LBB0_9: bl _bzero LBB0_10: str x19, [x20, #24] 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 Lloh6, Lloh7, Lloh8 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpAdd Lloh9, Lloh10 .loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13 .loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16 .cfi_endproc ; -- End function .comm _fuse_iov_permanent_bufsize,8,3 ; @fuse_iov_permanent_bufsize .comm _M_FUSEMSG,4,2 ; @M_FUSEMSG .comm _M_WAITOK,4,2 ; @M_WAITOK .comm _M_ZERO,4,2 ; @M_ZERO .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "FUSE: realloc failed" .comm _fuse_iov_credit,8,3 ; @fuse_iov_credit .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl __dwarf_write_uleb128_alloc ## -- Begin function _dwarf_write_uleb128_alloc .p2align 4, 0x90 __dwarf_write_uleb128_alloc: ## @_dwarf_write_uleb128_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, %rbx movl %ecx, %r15d movq %rdx, %r14 movq %rsi, %r12 movq %rdi, %r13 xorl %edi, %edi cmpl $0, (%rsi) setg %dil callq _assert movq (%r13), %rax .p2align 4, 0x90 LBB0_1: ## =>This Inner Loop Header: Depth=1 movslq (%r14), %rcx leaq (%rax,%rcx,4), %rdi movslq (%r12), %rcx leaq (%rax,%rcx,4), %rsi movl %r15d, %edx callq __dwarf_write_uleb128 testl %eax, %eax jns LBB0_4 ## %bb.2: ## in Loop: Header=BB0_1 Depth=1 movslq (%r12), %rsi addq %rsi, %rsi movl %esi, (%r12) movq (%r13), %rdi callq _realloc movq %rax, (%r13) testq %rax, %rax jne LBB0_1 ## %bb.3: movq _DW_DLE_MEMORY@GOTPCREL(%rip), %r14 movl (%r14), %edx xorl %edi, %edi movq %rbx, %rsi callq _DWARF_SET_ERROR jmp LBB0_5 LBB0_4: addl %eax, (%r14) movq _DW_DLE_NONE@GOTPCREL(%rip), %r14 LBB0_5: movl (%r14), %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_uleb128_alloc ; -- Begin function _dwarf_write_uleb128_alloc .p2align 2 __dwarf_write_uleb128_alloc: ; @_dwarf_write_uleb128_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 x21, x3 mov x20, x2 mov x22, x1 mov x23, x0 ldr w8, [x1] cmp w8, #0 cset w0, gt bl _assert ldr x0, [x23] LBB0_1: ; =>This Inner Loop Header: Depth=1 ldrsw x8, [x20] add x8, x0, x8, lsl #2 ldrsw x9, [x22] add x1, x0, x9, lsl #2 mov x0, x8 mov x2, x21 bl __dwarf_write_uleb128 tbz w0, #31, LBB0_4 ; %bb.2: ; in Loop: Header=BB0_1 Depth=1 ldrsw x8, [x22] lsl x1, x8, #1 str w1, [x22] 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 w8, [x20] add w8, w8, w0 str w8, [x20] 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 .p2align 4, 0x90 ## -- Begin function unicode_builtin_encoding_convert _unicode_builtin_encoding_convert: ## @unicode_builtin_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 movq $0, (%rdi) movq $0, (%rsi) movl (%rdx), %edi leaq L_.str(%rip), %rsi callq _ntlm_client_set_errmsg xorl %eax, %eax popq %rbp retq .cfi_endproc ## -- End function .comm _unicode_builtin_utf8_to_16,8,3 ## @unicode_builtin_utf8_to_16 .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "out of memory" .comm _unicode_builtin_utf16_to_8,8,3 ## @unicode_builtin_utf16_to_8 .comm _strictConversion,4,2 ## @strictConversion .comm _lenientConversion,4,2 ## @lenientConversion .comm _NTLM_UNICODE_MAX_LEN,8,3 ## @NTLM_UNICODE_MAX_LEN .no_dead_strip _unicode_builtin_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_builtin_encoding_convert _unicode_builtin_encoding_convert: ; @unicode_builtin_encoding_convert .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 str xzr, [x0] str xzr, [x1] ldr w0, [x2] Lloh0: adrp x1, l_.str@PAGE Lloh1: add x1, x1, l_.str@PAGEOFF bl _ntlm_client_set_errmsg mov w0, #0 ; =0x0 ldp x29, x30, [sp], #16 ; 16-byte Folded Reload ret .loh AdrpAdd Lloh0, Lloh1 .cfi_endproc ; -- End function .comm _unicode_builtin_utf8_to_16,8,3 ; @unicode_builtin_utf8_to_16 .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "out of memory" .comm _unicode_builtin_utf16_to_8,8,3 ; @unicode_builtin_utf16_to_8 .comm _strictConversion,4,2 ; @strictConversion .comm _lenientConversion,4,2 ; @lenientConversion .comm _NTLM_UNICODE_MAX_LEN,8,3 ; @NTLM_UNICODE_MAX_LEN .no_dead_strip _unicode_builtin_encoding_convert .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _resizeBuffer ## -- Begin function resizeBuffer .p2align 4, 0x90 _resizeBuffer: ## @resizeBuffer .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 movl $2, %edi callq _DBG_COUNT movq _oBuf@GOTPCREL(%rip), %r14 movq (%r14), %rax cvtsi2sdq 32(%rax), %xmm0 mulsd (%rax), %xmm0 divsd 8(%rax), %xmm0 cvttsd2si %xmm0, %rsi subq $-128, %rsi movq %rsi, 24(%rax) movq 16(%rax), %rdi callq _realloc movq %rax, %rbx testq %rax, %rax jne LBB0_2 ## %bb.1: movq _UZLIB_MEMORY_ERROR@GOTPCREL(%rip), %rax movl (%rax), %edi callq _UZLIB_THROW LBB0_2: movq (%r14), %rax movq %rbx, 16(%rax) popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .comm _oBuf,8,3 ## @oBuf .comm _UZLIB_MEMORY_ERROR,4,2 ## @UZLIB_MEMORY_ERROR .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _resizeBuffer ; -- Begin function resizeBuffer .p2align 2 _resizeBuffer: ; @resizeBuffer .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 w0, #2 ; =0x2 bl _DBG_COUNT Lloh0: adrp x20, _oBuf@GOTPAGE Lloh1: ldr x20, [x20, _oBuf@GOTPAGEOFF] ldr x8, [x20] ldr d0, [x8, #32] scvtf d0, d0 ldp d1, d2, [x8] fmul d0, d1, d0 fdiv d0, d0, d2 fcvtzs x9, d0 add x1, x9, #128 str x1, [x8, #24] ldr x0, [x8, #16] bl _realloc mov x19, x0 cbnz x0, LBB0_2 ; %bb.1: Lloh2: adrp x8, _UZLIB_MEMORY_ERROR@GOTPAGE Lloh3: ldr x8, [x8, _UZLIB_MEMORY_ERROR@GOTPAGEOFF] Lloh4: ldr w0, [x8] bl _UZLIB_THROW LBB0_2: ldr x8, [x20] str x19, [x8, #16] ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4 .cfi_endproc ; -- End function .comm _oBuf,8,3 ; @oBuf .comm _UZLIB_MEMORY_ERROR,4,2 ; @UZLIB_MEMORY_ERROR .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _cspace ## -- Begin function cspace .p2align 4, 0x90 _cspace: ## @cspace .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx .cfi_offset %rbx, -48 .cfi_offset %r12, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %ecx, %r12d movq %rdx, %rbx movq %rsi, %r15 movq %rdi, %r14 movq (%rdi), %rsi subq %rdx, %rsi leaq 1(%rsi), %rax cmpq 8(%rdi), %rax jb LBB0_3 ## %bb.1: addq $1025, %rsi ## imm = 0x401 movq %rsi, 8(%r14) movq 24(%r14), %rdi callq _realloc movq %rax, 24(%r14) movq %rax, 16(%r14) testq %rax, %rax je LBB0_3 ## %bb.2: leaq L_.str(%rip), %rsi movl $1, %edi callq _err LBB0_3: movq _REPLACE@GOTPCREL(%rip), %rax cmpl %r12d, (%rax) jne LBB0_4 ## %bb.5: movq $0, (%r14) xorl %edi, %edi jmp LBB0_6 LBB0_4: movq (%r14), %rdi LBB0_6: addq 16(%r14), %rdi movq %r15, %rsi movq %rbx, %rdx callq _memmove movq 16(%r14), %rax addq (%r14), %rbx movq %rbx, (%r14) movb $0, (%rax,%rbx) popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "realloc" .comm _REPLACE,4,2 ## @REPLACE .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _cspace ; -- Begin function cspace .p2align 2 _cspace: ; @cspace .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 x22, x3 mov x19, x2 mov x21, x1 mov x20, x0 ldp x8, x9, [x0] sub x8, x8, x2 add x10, x8, #1 cmp x10, x9 b.lo LBB0_3 ; %bb.1: add x1, x8, #1025 str x1, [x20, #8] ldr x0, [x20, #24] bl _realloc stp x0, x0, [x20, #16] cbz x0, LBB0_3 ; %bb.2: Lloh0: adrp x1, l_.str@PAGE Lloh1: add x1, x1, l_.str@PAGEOFF mov w0, #1 ; =0x1 bl _err LBB0_3: Lloh2: adrp x8, _REPLACE@GOTPAGE Lloh3: ldr x8, [x8, _REPLACE@GOTPAGEOFF] Lloh4: ldr w8, [x8] cmp w8, w22 b.ne LBB0_5 ; %bb.4: mov x8, #0 ; =0x0 str xzr, [x20] b LBB0_6 LBB0_5: ldr x8, [x20] LBB0_6: ldr x9, [x20, #16] add x0, x9, x8 mov x1, x21 mov x2, x19 bl _memmove ldr x8, [x20, #16] ldr x9, [x20] add x9, x9, x19 str x9, [x20] strb wzr, [x8, x9] ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret .loh AdrpAdd Lloh0, Lloh1 .loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "realloc" .comm _REPLACE,4,2 ; @REPLACE .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _mib_fetch_rtab ## -- Begin function mib_fetch_rtab .p2align 4, 0x90 _mib_fetch_rtab: ## @mib_fetch_rtab .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx subq $32, %rsp .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movq %rcx, %rbx movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -24(%rbp) movq _CTL_NET@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -48(%rbp) movq _PF_ROUTE@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -44(%rbp) movl $0, -40(%rbp) movl %edi, -36(%rbp) movl %esi, -32(%rbp) movl %edx, -28(%rbp) movq $0, (%rcx) leaq -48(%rbp), %r14 movq %r14, %rdi callq _nitems movq %r14, %rdi movl %eax, %esi xorl %edx, %edx movq %rbx, %rcx xorl %r8d, %r8d xorl %r9d, %r9d callq _sysctl cmpl $-1, %eax je LBB0_1 ## %bb.2: cmpq $0, (%rbx) je LBB0_4 ## %bb.3: movq _LOG_ERR@GOTPCREL(%rip), %rax movl (%rax), %edi leaq L_.str.1(%rip), %rsi xorl %eax, %eax callq _syslog xorl %edi, %edi callq _free jmp LBB0_4 LBB0_1: movq _LOG_ERR@GOTPCREL(%rip), %rax movl (%rax), %edi movl -48(%rbp), %edx movl -44(%rbp), %ecx movl -40(%rbp), %r8d movl -36(%rbp), %r9d movl -32(%rbp), %r10d movl -28(%rbp), %r11d leaq L_.str(%rip), %rsi xorl %eax, %eax pushq %r11 pushq %r10 callq _syslog addq $16, %rsp LBB0_4: movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax cmpq -24(%rbp), %rax jne LBB0_6 ## %bb.5: xorl %eax, %eax addq $32, %rsp popq %rbx popq %r14 popq %rbp retq LBB0_6: callq ___stack_chk_fail .cfi_endproc ## -- End function .comm _CTL_NET,4,2 ## @CTL_NET .comm _PF_ROUTE,4,2 ## @PF_ROUTE .comm _LOG_ERR,4,2 ## @LOG_ERR .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "sysctl estimate (%d,%d,%d,%d,%d,%d): %m" L_.str.1: ## @.str.1 .asciz "sysctl buffer: %m" .comm _errno,8,3 ## @errno .comm _ENOMEM,8,3 ## @ENOMEM .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _mib_fetch_rtab ; -- Begin function mib_fetch_rtab .p2align 2 _mib_fetch_rtab: ; @mib_fetch_rtab .cfi_startproc ; %bb.0: sub sp, sp, #112 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 mov x19, x3 Lloh0: adrp x8, ___stack_chk_guard@GOTPAGE Lloh1: ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] Lloh2: ldr x8, [x8] Lloh3: adrp x9, _CTL_NET@GOTPAGE Lloh4: ldr x9, [x9, _CTL_NET@GOTPAGEOFF] stur x8, [x29, #-24] Lloh5: ldr w8, [x9] Lloh6: adrp x9, _PF_ROUTE@GOTPAGE Lloh7: ldr x9, [x9, _PF_ROUTE@GOTPAGEOFF] Lloh8: ldr w9, [x9] stp w8, w9, [sp, #48] stp wzr, w0, [sp, #56] stp w1, w2, [sp, #64] str xzr, [x3] add x0, sp, #48 bl _nitems mov x1, x0 add x0, sp, #48 mov x2, #0 ; =0x0 mov x3, x19 mov x4, #0 ; =0x0 mov w5, #0 ; =0x0 bl _sysctl cmn w0, #1 b.eq LBB0_3 ; %bb.1: ldr x8, [x19] cbz x8, LBB0_4 ; %bb.2: Lloh9: adrp x8, _LOG_ERR@GOTPAGE Lloh10: ldr x8, [x8, _LOG_ERR@GOTPAGEOFF] Lloh11: ldr w0, [x8] Lloh12: adrp x1, l_.str.1@PAGE Lloh13: add x1, x1, l_.str.1@PAGEOFF bl _syslog mov x0, #0 ; =0x0 bl _free b LBB0_4 LBB0_3: Lloh14: adrp x8, _LOG_ERR@GOTPAGE Lloh15: ldr x8, [x8, _LOG_ERR@GOTPAGEOFF] Lloh16: ldr w0, [x8] ldp w8, w9, [sp, #48] ldp w10, w11, [sp, #56] ldp w12, w13, [sp, #64] stp x12, x13, [sp, #32] stp x10, x11, [sp, #16] stp x8, x9, [sp] Lloh17: adrp x1, l_.str@PAGE Lloh18: add x1, x1, l_.str@PAGEOFF bl _syslog LBB0_4: ldur x8, [x29, #-24] 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_6 ; %bb.5: mov x0, #0 ; =0x0 ldp x29, x30, [sp, #96] ; 16-byte Folded Reload ldp x20, x19, [sp, #80] ; 16-byte Folded Reload add sp, sp, #112 ret LBB0_6: bl ___stack_chk_fail .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpAdd Lloh12, Lloh13 .loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11 .loh AdrpAdd Lloh17, Lloh18 .loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16 .loh AdrpLdrGotLdr Lloh19, Lloh20, Lloh21 .cfi_endproc ; -- End function .comm _CTL_NET,4,2 ; @CTL_NET .comm _PF_ROUTE,4,2 ; @PF_ROUTE .comm _LOG_ERR,4,2 ; @LOG_ERR .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "sysctl estimate (%d,%d,%d,%d,%d,%d): %m" l_.str.1: ; @.str.1 .asciz "sysctl buffer: %m" .comm _errno,8,3 ; @errno .comm _ENOMEM,8,3 ; @ENOMEM .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function kputc _kputc: ## @kputc .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, %r14 movl %edi, %ebx movl (%rsi), %edi leal 1(%rdi), %eax cmpl 4(%rsi), %eax jge LBB0_2 ## %bb.1: movq 8(%r14), %rax jmp LBB0_3 LBB0_2: addl $2, %edi movl %edi, 4(%r14) ## kill: def $edi killed $edi killed $rdi callq _kroundup32 movq 8(%r14), %rdi movl 4(%r14), %esi callq _realloc movq %rax, 8(%r14) movl (%r14), %edi LBB0_3: leal -1(%rdi), %ecx movl %ecx, (%r14) movslq %edi, %rcx movb %bl, (%rax,%rcx) movq 8(%r14), %rax movslq (%r14), %rcx movb $0, (%rax,%rcx) movl %ebx, %eax popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _kputc .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function kputc _kputc: ; @kputc .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 ldp w9, w8, [x1] add w10, w9, #1 cmp w10, w8 b.ge LBB0_2 ; %bb.1: ldr x8, [x19, #8] b LBB0_3 LBB0_2: add w8, w9, #2 str w8, [x19, #4] mov x20, x0 mov x0, x8 bl _kroundup32 ldr x0, [x19, #8] ldr w1, [x19, #4] bl _realloc mov x8, x0 mov x0, x20 str x8, [x19, #8] ldr w9, [x19] LBB0_3: sub w10, w9, #1 str w10, [x19] strb w0, [x8, w9, sxtw] ldr x8, [x19, #8] ldrsw x9, [x19] strb wzr, [x8, x9] 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 _kputc .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function OpenDemux _OpenDemux: ## @OpenDemux .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $16, %rsp .cfi_offset %rbx, -48 .cfi_offset %r12, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdi, %r14 movq _VLC_EGENERIC@GOTPCREL(%rip), %r15 movl (%r15), %ebx leaq L_.str(%rip), %rsi callq _var_CreateGetBool testl %eax, %eax je LBB0_3 ## %bb.1: movl 16(%r14), %edi callq _assert movl 16(%r14), %edi leaq -40(%rbp), %rsi movl $7, %edx callq _vlc_stream_Peek cmpl $6, %eax jle LBB0_3 ## %bb.4: movq -40(%rbp), %rdi leaq L_.str.1(%rip), %rsi movl $7, %edx callq _memcmp testq %rax, %rax je LBB0_7 ## %bb.5: movq -40(%rbp), %rdi leaq L_.str.2(%rip), %rsi movl $6, %edx callq _memcmp testq %rax, %rax je LBB0_7 LBB0_3: movl (%r15), %ebx LBB0_22: movl %ebx, %eax addq $16, %rsp popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq LBB0_7: xorl %r15d, %r15d .p2align 4, 0x90 LBB0_8: ## =>This Inner Loop Header: Depth=1 leaq -1023(%r15), %rsi xorl %edi, %edi callq _realloc testq %rax, %rax jne LBB0_18 ## %bb.9: ## in Loop: Header=BB0_8 Depth=1 movl 16(%r14), %edi movq %r15, %rsi movl $1024, %edx ## imm = 0x400 callq _vlc_stream_Read testl %eax, %eax js LBB0_19 ## %bb.10: ## in Loop: Header=BB0_8 Depth=1 addq %rax, %r15 cmpq $65537, %r15 ## imm = 0x10001 jb LBB0_8 ## %bb.11: movq %r14, %rdi callq _VLC_OBJECT movl %eax, %edi xorl %esi, %esi callq _ParseSDP testq %rax, %rax je LBB0_20 ## %bb.12: movq %rax, %r15 movq %r14, %rdi callq _VLC_OBJECT movl %eax, %edi movq %r15, %rsi callq _ParseConnection testq %rax, %rax je LBB0_14 ## %bb.13: movq $0, (%r15) LBB0_14: movl 8(%r15), %edi callq _IsWellKnownPayload testl %eax, %eax je LBB0_17 ## %bb.15: cmpq $0, (%r15) je LBB0_17 ## %bb.16: movl $8, %edi callq _malloc movq %rax, %r12 xorl %edi, %edi testq %rax, %rax sete %dil callq _unlikely testq %rax, %rax je LBB0_23 LBB0_17: xorl %edi, %edi callq _FREENULL movq %r15, %rdi callq _FreeSDP jmp LBB0_22 LBB0_18: movq _VLC_ENOMEM@GOTPCREL(%rip), %rax movl (%rax), %ebx jmp LBB0_21 LBB0_19: leaq L_.str.3(%rip), %rsi movq %r14, %rdi callq _msg_Err jmp LBB0_21 LBB0_20: leaq L_.str.4(%rip), %rsi movq %r14, %rdi callq _msg_Warn LBB0_21: xorl %edi, %edi callq _FREENULL jmp LBB0_22 LBB0_23: movq %r15, (%r12) movq %r12, 8(%r14) movq _Control@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, 4(%r14) movq _Demux@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, (%r14) xorl %edi, %edi callq _FREENULL movq _VLC_SUCCESS@GOTPCREL(%rip), %rax movl (%rax), %ebx jmp LBB0_22 .cfi_endproc ## -- End function .comm _VLC_EGENERIC,4,2 ## @VLC_EGENERIC .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "sap-parse" L_.str.1: ## @.str.1 .asciz "v=0\r\no=" L_.str.2: ## @.str.2 .asciz "v=0\no=" .comm _VLC_ENOMEM,4,2 ## @VLC_ENOMEM L_.str.3: ## @.str.3 .asciz "cannot read SDP" L_.str.4: ## @.str.4 .asciz "invalid SDP" .comm _Control,4,2 ## @Control .comm _Demux,4,2 ## @Demux .comm _VLC_SUCCESS,4,2 ## @VLC_SUCCESS .no_dead_strip _OpenDemux .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function OpenDemux _OpenDemux: ; @OpenDemux .cfi_startproc ; %bb.0: sub sp, sp, #64 stp x22, x21, [sp, #16] ; 16-byte Folded Spill stp x20, x19, [sp, #32] ; 16-byte Folded Spill stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x20, x0 Lloh0: adrp x21, _VLC_EGENERIC@GOTPAGE Lloh1: ldr x21, [x21, _VLC_EGENERIC@GOTPAGEOFF] ldr w19, [x21] Lloh2: adrp x1, l_.str@PAGE Lloh3: add x1, x1, l_.str@PAGEOFF bl _var_CreateGetBool cbz w0, LBB0_4 ; %bb.1: ldr w0, [x20, #16] bl _assert ldr w0, [x20, #16] add x1, sp, #8 mov w2, #7 ; =0x7 bl _vlc_stream_Peek cmp w0, #6 b.le LBB0_4 ; %bb.2: ldr x0, [sp, #8] Lloh4: adrp x1, l_.str.1@PAGE Lloh5: add x1, x1, l_.str.1@PAGEOFF mov w2, #7 ; =0x7 bl _memcmp cbz x0, LBB0_6 ; %bb.3: ldr x0, [sp, #8] Lloh6: adrp x1, l_.str.2@PAGE Lloh7: add x1, x1, l_.str.2@PAGEOFF mov w2, #6 ; =0x6 bl _memcmp cbz x0, LBB0_6 LBB0_4: ldr w19, [x21] LBB0_5: mov x0, x19 ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload add sp, sp, #64 ret LBB0_6: mov x21, #0 ; =0x0 LBB0_7: ; =>This Inner Loop Header: Depth=1 sub x1, x21, #1023 mov x0, #0 ; =0x0 bl _realloc cbnz x0, LBB0_17 ; %bb.8: ; in Loop: Header=BB0_7 Depth=1 ldr w0, [x20, #16] mov x1, x21 mov w2, #1024 ; =0x400 bl _vlc_stream_Read tbnz w0, #31, LBB0_18 ; %bb.9: ; in Loop: Header=BB0_7 Depth=1 add x21, x0, x21 cmp x21, #16, lsl #12 ; =65536 b.ls LBB0_7 ; %bb.10: mov x0, x20 bl _VLC_OBJECT mov x1, #0 ; =0x0 bl _ParseSDP cbz x0, LBB0_19 ; %bb.11: mov x21, x0 mov x0, x20 bl _VLC_OBJECT mov x1, x21 bl _ParseConnection cbz x0, LBB0_13 ; %bb.12: str xzr, [x21] LBB0_13: ldr w0, [x21, #8] bl _IsWellKnownPayload cbz w0, LBB0_16 ; %bb.14: ldr x8, [x21] cbz x8, LBB0_16 ; %bb.15: mov w0, #8 ; =0x8 bl _malloc mov x22, x0 cmp x0, #0 cset w0, eq bl _unlikely cbz x0, LBB0_21 LBB0_16: mov x0, #0 ; =0x0 bl _FREENULL mov x0, x21 bl _FreeSDP b LBB0_5 LBB0_17: Lloh8: adrp x8, _VLC_ENOMEM@GOTPAGE Lloh9: ldr x8, [x8, _VLC_ENOMEM@GOTPAGEOFF] Lloh10: ldr w19, [x8] b LBB0_20 LBB0_18: Lloh11: adrp x1, l_.str.3@PAGE Lloh12: add x1, x1, l_.str.3@PAGEOFF mov x0, x20 bl _msg_Err b LBB0_20 LBB0_19: Lloh13: adrp x1, l_.str.4@PAGE Lloh14: add x1, x1, l_.str.4@PAGEOFF mov x0, x20 bl _msg_Warn LBB0_20: mov x0, #0 ; =0x0 bl _FREENULL b LBB0_5 LBB0_21: str x21, [x22] str x22, [x20, #8] Lloh15: adrp x8, _Control@GOTPAGE Lloh16: ldr x8, [x8, _Control@GOTPAGEOFF] Lloh17: ldr w8, [x8] Lloh18: adrp x9, _Demux@GOTPAGE Lloh19: ldr x9, [x9, _Demux@GOTPAGEOFF] Lloh20: ldr w9, [x9] stp w9, w8, [x20] bl _FREENULL Lloh21: adrp x8, _VLC_SUCCESS@GOTPAGE Lloh22: ldr x8, [x8, _VLC_SUCCESS@GOTPAGEOFF] Lloh23: ldr w19, [x8] b LBB0_5 .loh AdrpAdd Lloh2, Lloh3 .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpAdd Lloh4, Lloh5 .loh AdrpAdd Lloh6, Lloh7 .loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10 .loh AdrpAdd Lloh11, Lloh12 .loh AdrpAdd Lloh13, Lloh14 .loh AdrpLdrGotLdr Lloh21, Lloh22, Lloh23 .loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh20 .loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17 .cfi_endproc ; -- End function .comm _VLC_EGENERIC,4,2 ; @VLC_EGENERIC .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "sap-parse" l_.str.1: ; @.str.1 .asciz "v=0\r\no=" l_.str.2: ; @.str.2 .asciz "v=0\no=" .comm _VLC_ENOMEM,4,2 ; @VLC_ENOMEM l_.str.3: ; @.str.3 .asciz "cannot read SDP" l_.str.4: ; @.str.4 .asciz "invalid SDP" .comm _Control,4,2 ; @Control .comm _Demux,4,2 ; @Demux .comm _VLC_SUCCESS,4,2 ; @VLC_SUCCESS .no_dead_strip _OpenDemux .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function setindex2ifc _setindex2ifc: ## @setindex2ifc .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_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, %r14d movq _index2ifc@GOTPCREL(%rip), %rcx cmpq $0, (%rcx) jne LBB0_4 ## %bb.1: movq %rsi, %r15 movq _nindex2ifc@GOTPCREL(%rip), %rbx movl $5, (%rbx) movl $40, %edi movq %rcx, %r13 callq _malloc movq %r13, %r12 movq %rax, (%r13) testq %rax, %rax jne LBB0_3 ## %bb.2: leaq L_.str(%rip), %rdi callq _fatal movq (%r12), %rax LBB0_3: movl (%rbx), %edx shll $3, %edx movq %rax, %rdi xorl %esi, %esi callq _memset movq %r15, %rsi movq %r12, %rcx LBB0_4: movq _nindex2ifc@GOTPCREL(%rip), %rax movl (%rax), %r12d movslq %r12d, %r13 movl %r12d, %eax .p2align 4, 0x90 LBB0_5: ## =>This Inner Loop Header: Depth=1 movl %eax, %ebx leal (%rbx,%rbx), %eax cmpl %r14d, %ebx jle LBB0_5 ## %bb.6: movq (%rcx), %r15 cmpl %ebx, %r12d je LBB0_10 ## %bb.7: movq %rsi, -48(%rbp) ## 8-byte Spill leal (,%rbx,8), %esi movq %r15, %rdi callq _realloc movq %rax, %r15 testq %rax, %rax jne LBB0_9 ## %bb.8: leaq L_.str.1(%rip), %rdi callq _fatal LBB0_9: shlq $3, %r13 movq %r15, %rdi subq %r13, %rdi movq _nindex2ifc@GOTPCREL(%rip), %r13 movl (%r13), %edx subl %r12d, %edx shll $3, %edx xorl %esi, %esi callq _memset movq _index2ifc@GOTPCREL(%rip), %rax movq %r15, (%rax) movl %ebx, (%r13) movq -48(%rbp), %rsi ## 8-byte Reload LBB0_10: movslq %r14d, %rax movq %rsi, (%r15,%rax,8) addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _index2ifc,8,3 ## @index2ifc .comm _nindex2ifc,4,2 ## @nindex2ifc .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "malloc" L_.str.1: ## @.str.1 .asciz "realloc" .no_dead_strip _setindex2ifc .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function setindex2ifc _setindex2ifc: ; @setindex2ifc .cfi_startproc ; %bb.0: stp x26, x25, [sp, #-80]! ; 16-byte Folded Spill stp x24, x23, [sp, #16] ; 16-byte Folded Spill stp x22, x21, [sp, #32] ; 16-byte Folded Spill stp x20, x19, [sp, #48] ; 16-byte Folded Spill stp x29, x30, [sp, #64] ; 16-byte Folded Spill add x29, sp, #64 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 mov x19, x1 mov x20, x0 Lloh0: adrp x22, _index2ifc@GOTPAGE Lloh1: ldr x22, [x22, _index2ifc@GOTPAGEOFF] ldr x8, [x22] Lloh2: adrp x23, _nindex2ifc@GOTPAGE Lloh3: ldr x23, [x23, _nindex2ifc@GOTPAGEOFF] cbnz x8, LBB0_4 ; %bb.1: mov w8, #5 ; =0x5 str w8, [x23] mov w0, #40 ; =0x28 bl _malloc str x0, [x22] cbnz x0, LBB0_3 ; %bb.2: Lloh4: adrp x0, l_.str@PAGE Lloh5: add x0, x0, l_.str@PAGEOFF bl _fatal ldr x0, [x22] LBB0_3: ldr w8, [x23] lsl w2, w8, #3 mov w1, #0 ; =0x0 bl _memset LBB0_4: ldr w25, [x23] sxtw x26, w25 mov x8, x25 LBB0_5: ; =>This Inner Loop Header: Depth=1 mov x24, x8 lsl w8, w8, #1 cmp w24, w20 b.le LBB0_5 ; %bb.6: ldr x21, [x22] cmp w25, w24 b.eq LBB0_10 ; %bb.7: lsl w1, w24, #3 mov x0, x21 bl _realloc mov x21, x0 cbnz x0, LBB0_9 ; %bb.8: Lloh6: adrp x0, l_.str.1@PAGE Lloh7: add x0, x0, l_.str.1@PAGEOFF bl _fatal LBB0_9: sub x0, x21, x26, lsl #3 ldr w8, [x23] sub w8, w8, w25 lsl w2, w8, #3 mov w1, #0 ; =0x0 bl _memset str x21, [x22] str w24, [x23] LBB0_10: str x19, [x21, w20, sxtw #3] ldp x29, x30, [sp, #64] ; 16-byte Folded Reload ldp x20, x19, [sp, #48] ; 16-byte Folded Reload ldp x22, x21, [sp, #32] ; 16-byte Folded Reload ldp x24, x23, [sp, #16] ; 16-byte Folded Reload ldp x26, x25, [sp], #80 ; 16-byte Folded Reload ret .loh AdrpLdrGot Lloh2, Lloh3 .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpAdd Lloh4, Lloh5 .loh AdrpAdd Lloh6, Lloh7 .cfi_endproc ; -- End function .comm _index2ifc,8,3 ; @index2ifc .comm _nindex2ifc,4,2 ; @nindex2ifc .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "malloc" l_.str.1: ; @.str.1 .asciz "realloc" .no_dead_strip _setindex2ifc .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function StripTags _StripTags: ## @StripTags .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdi, %r14 callq _strlen leaq 1(%rax), %rdi callq _malloc testq %rax, %rax je LBB0_1 ## %bb.2: leaq L_.str(%rip), %rbx leaq L_.str.1(%rip), %r13 movq %rax, -48(%rbp) ## 8-byte Spill movq %rax, %r15 jmp LBB0_3 .p2align 4, 0x90 LBB0_4: ## in Loop: Header=BB0_3 Depth=1 cmpl $10, %ecx jne LBB0_5 ## %bb.24: ## in Loop: Header=BB0_3 Depth=1 movb $32, (%r14) movb $32, %al LBB0_25: ## in Loop: Header=BB0_3 Depth=1 movb %al, (%r15) incq %r15 LBB0_26: ## in Loop: Header=BB0_3 Depth=1 movq %r15, %r12 LBB0_27: ## in Loop: Header=BB0_3 Depth=1 cmpb $1, (%r14) sbbq $-1, %r14 movq %r12, %r15 LBB0_3: ## =>This Inner Loop Header: Depth=1 movzbl (%r14), %eax movzbl %al, %ecx cmpl $37, %ecx jle LBB0_4 ## %bb.8: ## in Loop: Header=BB0_3 Depth=1 cmpl $38, %ecx je LBB0_14 ## %bb.9: ## in Loop: Header=BB0_3 Depth=1 cmpl $60, %ecx jne LBB0_25 ## %bb.10: ## in Loop: Header=BB0_3 Depth=1 movq %r14, %rdi movq %rbx, %rsi movl $5, %edx callq _strncasecmp testq %rax, %rax jne LBB0_12 ## %bb.11: ## in Loop: Header=BB0_3 Depth=1 movb $10, (%r15) decq %r15 LBB0_12: ## in Loop: Header=BB0_3 Depth=1 movq %r14, %rdi movq %r13, %rsi jmp LBB0_13 .p2align 4, 0x90 LBB0_14: ## in Loop: Header=BB0_3 Depth=1 movq %r14, %rdi leaq L_.str.2(%rip), %rsi movl $4, %edx callq _strncasecmp testq %rax, %rax je LBB0_15 ## %bb.17: ## in Loop: Header=BB0_3 Depth=1 movq %r14, %rdi leaq L_.str.4(%rip), %rsi movl $4, %edx callq _strncasecmp testq %rax, %rax je LBB0_18 ## %bb.19: ## in Loop: Header=BB0_3 Depth=1 movq %r14, %rdi leaq L_.str.5(%rip), %rsi movl $5, %edx callq _strncasecmp testq %rax, %rax je LBB0_20 ## %bb.21: ## in Loop: Header=BB0_3 Depth=1 movq %r14, %rdi leaq L_.str.6(%rip), %rsi movl $6, %edx callq _strncasecmp leaq 1(%r15), %r12 testq %rax, %rax je LBB0_22 ## %bb.23: ## in Loop: Header=BB0_3 Depth=1 movb $38, (%r15) jmp LBB0_27 LBB0_5: ## in Loop: Header=BB0_3 Depth=1 testl %ecx, %ecx jne LBB0_25 jmp LBB0_6 LBB0_15: ## in Loop: Header=BB0_3 Depth=1 movb $60, (%r15) jmp LBB0_16 LBB0_18: ## in Loop: Header=BB0_3 Depth=1 movb $62, (%r15) jmp LBB0_16 LBB0_20: ## in Loop: Header=BB0_3 Depth=1 movb $38, (%r15) LBB0_16: ## in Loop: Header=BB0_3 Depth=1 incq %r15 movq %r14, %rdi leaq L_.str.3(%rip), %rsi LBB0_13: ## in Loop: Header=BB0_3 Depth=1 callq _strcspn cltq addq %rax, %r14 jmp LBB0_26 LBB0_22: ## in Loop: Header=BB0_3 Depth=1 movb $34, (%r15) movq %r14, %rdi leaq L_.str.3(%rip), %rsi callq _strcspn cltq addq %rax, %r14 jmp LBB0_27 LBB0_6: movb $0, (%r15) movq -48(%rbp), %rdi ## 8-byte Reload subl %edi, %r15d incl %r15d movl %r15d, %esi movq %rdi, %r14 callq _realloc movq %rax, %rbx xorl %edi, %edi testq %rax, %rax setne %dil callq _likely testq %rax, %rax movq %r14, %rax cmovneq %rbx, %rax jmp LBB0_7 LBB0_1: xorl %eax, %eax LBB0_7: 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 "<br/>" L_.str.1: ## @.str.1 .asciz ">" L_.str.2: ## @.str.2 .asciz "&lt;" L_.str.3: ## @.str.3 .asciz ";" L_.str.4: ## @.str.4 .asciz "&gt;" L_.str.5: ## @.str.5 .asciz "&amp;" L_.str.6: ## @.str.6 .asciz "&quot;" .no_dead_strip _StripTags .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function StripTags _StripTags: ; @StripTags .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, x0 bl _strlen add x0, x0, #1 bl _malloc cbz x0, LBB0_26 ; %bb.1: Lloh0: adrp x21, l_.str.2@PAGE Lloh1: add x21, x21, l_.str.2@PAGEOFF Lloh2: adrp x22, l_.str.3@PAGE Lloh3: add x22, x22, l_.str.3@PAGEOFF Lloh4: adrp x23, l_.str.4@PAGE Lloh5: add x23, x23, l_.str.4@PAGEOFF Lloh6: adrp x24, l_.str.5@PAGE Lloh7: add x24, x24, l_.str.5@PAGEOFF Lloh8: adrp x26, l_.str@PAGE Lloh9: add x26, x26, l_.str@PAGEOFF mov w25, #10 ; =0xa str x0, [sp, #8] ; 8-byte Folded Spill mov x28, x0 Lloh10: adrp x27, l_.str.1@PAGE Lloh11: add x27, x27, l_.str.1@PAGEOFF b LBB0_7 LBB0_2: ; in Loop: Header=BB0_7 Depth=1 cmp w8, #10 b.ne LBB0_18 ; %bb.3: ; in Loop: Header=BB0_7 Depth=1 mov w8, #32 ; =0x20 strb w8, [x20] LBB0_4: ; in Loop: Header=BB0_7 Depth=1 strb w8, [x28], #1 LBB0_5: ; in Loop: Header=BB0_7 Depth=1 mov x19, x28 LBB0_6: ; in Loop: Header=BB0_7 Depth=1 mov x8, x20 ldrb w9, [x8], #1 cmp w9, #0 csel x20, x20, x8, eq mov x28, x19 LBB0_7: ; =>This Inner Loop Header: Depth=1 ldrb w8, [x20] cmp w8, #37 b.le LBB0_2 ; %bb.8: ; in Loop: Header=BB0_7 Depth=1 cmp w8, #38 b.eq LBB0_13 ; %bb.9: ; in Loop: Header=BB0_7 Depth=1 cmp w8, #60 b.ne LBB0_4 ; %bb.10: ; in Loop: Header=BB0_7 Depth=1 mov x0, x20 mov x1, x26 mov w2, #5 ; =0x5 bl _strncasecmp cbnz x0, LBB0_12 ; %bb.11: ; in Loop: Header=BB0_7 Depth=1 strb w25, [x28], #-1 LBB0_12: ; in Loop: Header=BB0_7 Depth=1 mov x0, x20 mov x1, x27 b LBB0_23 LBB0_13: ; in Loop: Header=BB0_7 Depth=1 mov x0, x20 mov x1, x21 mov w2, #4 ; =0x4 bl _strncasecmp cbz x0, LBB0_19 ; %bb.14: ; in Loop: Header=BB0_7 Depth=1 mov x0, x20 mov x1, x23 mov w2, #4 ; =0x4 bl _strncasecmp cbz x0, LBB0_20 ; %bb.15: ; in Loop: Header=BB0_7 Depth=1 mov x0, x20 mov x1, x24 mov w2, #5 ; =0x5 bl _strncasecmp cbz x0, LBB0_21 ; %bb.16: ; in Loop: Header=BB0_7 Depth=1 mov x0, x20 Lloh12: adrp x1, l_.str.6@PAGE Lloh13: add x1, x1, l_.str.6@PAGEOFF mov w2, #6 ; =0x6 bl _strncasecmp add x19, x28, #1 cbz x0, LBB0_24 ; %bb.17: ; in Loop: Header=BB0_7 Depth=1 mov w8, #38 ; =0x26 strb w8, [x28] b LBB0_6 LBB0_18: ; in Loop: Header=BB0_7 Depth=1 cbnz w8, LBB0_4 b LBB0_25 LBB0_19: ; in Loop: Header=BB0_7 Depth=1 mov w8, #60 ; =0x3c b LBB0_22 LBB0_20: ; in Loop: Header=BB0_7 Depth=1 mov w8, #62 ; =0x3e b LBB0_22 LBB0_21: ; in Loop: Header=BB0_7 Depth=1 mov w8, #38 ; =0x26 LBB0_22: ; in Loop: Header=BB0_7 Depth=1 strb w8, [x28], #1 mov x0, x20 mov x1, x22 LBB0_23: ; in Loop: Header=BB0_7 Depth=1 bl _strcspn add x20, x20, w0, sxtw b LBB0_5 LBB0_24: ; in Loop: Header=BB0_7 Depth=1 mov w8, #34 ; =0x22 strb w8, [x28] mov x0, x20 mov x1, x22 bl _strcspn add x20, x20, w0, sxtw b LBB0_6 LBB0_25: strb wzr, [x28] ldr x19, [sp, #8] ; 8-byte Folded Reload sub w8, w28, w19 add w1, w8, #1 mov x0, x19 bl _realloc mov x20, x0 cmp x0, #0 cset w0, ne bl _likely cmp x0, #0 csel x0, x19, x20, eq LBB0_26: ldp x29, x30, [sp, #96] ; 16-byte Folded Reload ldp x20, x19, [sp, #80] ; 16-byte Folded Reload ldp x22, x21, [sp, #64] ; 16-byte Folded Reload ldp x24, x23, [sp, #48] ; 16-byte Folded Reload ldp x26, x25, [sp, #32] ; 16-byte Folded Reload ldp x28, x27, [sp, #16] ; 16-byte Folded Reload add sp, sp, #112 ret .loh AdrpAdd Lloh10, Lloh11 .loh AdrpAdd Lloh8, Lloh9 .loh AdrpAdd Lloh6, Lloh7 .loh AdrpAdd Lloh4, Lloh5 .loh AdrpAdd Lloh2, Lloh3 .loh AdrpAdd Lloh0, Lloh1 .loh AdrpAdd Lloh12, Lloh13 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "<br/>" l_.str.1: ; @.str.1 .asciz ">" l_.str.2: ; @.str.2 .asciz "&lt;" l_.str.3: ; @.str.3 .asciz ";" l_.str.4: ; @.str.4 .asciz "&gt;" l_.str.5: ; @.str.5 .asciz "&amp;" l_.str.6: ; @.str.6 .asciz "&quot;" .no_dead_strip _StripTags .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function add_byte _add_byte: ## @add_byte .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rcx, %r15 movq %rdx, %rbx movl %edi, %r14d leaq -1(%rdx), %rcx movq (%rsi), %rax cmpq (%r15), %rcx jbe LBB0_4 ## %bb.1: movq %rsi, %r12 movq _LINE_GROWTH@GOTPCREL(%rip), %rdx movslq (%rdx), %rdx addq %rcx, %rdx leaq -2(,%rdx,2), %r13 movq %rax, %rdi movq %r13, %rsi callq _realloc testq %rax, %rax je LBB0_2 ## %bb.3: movq %rax, (%r12) movq %r13, (%r15) LBB0_4: movb %r14b, (%rax,%rbx) xorl %eax, %eax LBB0_5: addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_2: movl $-1, %eax jmp LBB0_5 .cfi_endproc ## -- End function .comm _LINE_GROWTH,4,2 ## @LINE_GROWTH .no_dead_strip _add_byte .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function add_byte _add_byte: ; @add_byte .cfi_startproc ; %bb.0: stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill stp x22, x21, [sp, #16] ; 16-byte Folded Spill stp x20, x19, [sp, #32] ; 16-byte Folded Spill stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 mov x19, x2 mov x20, x0 sub x8, x2, #1 ldr x9, [x3] ldr x0, [x1] cmp x8, x9 b.ls LBB0_3 ; %bb.1: mov x21, x3 mov x22, x1 Lloh0: adrp x9, _LINE_GROWTH@GOTPAGE Lloh1: ldr x9, [x9, _LINE_GROWTH@GOTPAGEOFF] Lloh2: ldrsw x9, [x9] add x8, x9, x8 lsl x8, x8, #1 sub x23, x8, #2 mov x1, x23 bl _realloc cbz x0, LBB0_5 ; %bb.2: str x0, [x22] str x23, [x21] LBB0_3: mov w8, #0 ; =0x0 strb w20, [x0, x19] LBB0_4: mov x0, 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_5: mov w8, #-1 ; =0xffffffff b LBB0_4 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _LINE_GROWTH,4,2 ; @LINE_GROWTH .no_dead_strip _add_byte .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _script_request ## -- Begin function script_request .p2align 4, 0x90 _script_request: ## @script_request .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_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, %r15 movq %rdi, %rbx leaq L_.str(%rip), %rsi callq _lua_getglobal movq %rbx, %rdi movl $-1, %esi callq _lua_isfunction movl $1, %r12d testl %eax, %eax jne LBB0_2 ## %bb.1: leaq L_.str.1(%rip), %rsi movq %rbx, %rdi callq _lua_getglobal leaq L_.str(%rip), %rdx movq %rbx, %rdi movl $-1, %esi callq _lua_getfield movl $3, %r12d LBB0_2: movq %rbx, %rdi xorl %esi, %esi movl $1, %edx callq _lua_call movq %rbx, %rdi movl $-1, %esi movq %r14, %rdx callq _lua_tolstring movq %rax, %r13 movq (%r15), %rdi movq (%r14), %rsi callq _realloc movq %rax, (%r15) movq (%r14), %rdx movq %rax, %rdi movq %r13, %rsi callq _memcpy movq %rbx, %rdi movl %r12d, %esi addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp jmp _lua_pop ## TAILCALL .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "request" L_.str.1: ## @.str.1 .asciz "wrk" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _script_request ; -- Begin function script_request .p2align 2 _script_request: ; @script_request .cfi_startproc ; %bb.0: stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill stp x22, x21, [sp, #16] ; 16-byte Folded Spill stp x20, x19, [sp, #32] ; 16-byte Folded Spill stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 mov x20, x2 mov x21, x1 mov x19, x0 Lloh0: adrp x1, l_.str@PAGE Lloh1: add x1, x1, l_.str@PAGEOFF bl _lua_getglobal mov x0, x19 mov w1, #-1 ; =0xffffffff bl _lua_isfunction cbz w0, LBB0_2 ; %bb.1: mov w22, #1 ; =0x1 b LBB0_3 LBB0_2: Lloh2: adrp x1, l_.str.1@PAGE Lloh3: add x1, x1, l_.str.1@PAGEOFF mov x0, x19 bl _lua_getglobal Lloh4: adrp x2, l_.str@PAGE Lloh5: add x2, x2, l_.str@PAGEOFF mov x0, x19 mov w1, #-1 ; =0xffffffff bl _lua_getfield mov w22, #3 ; =0x3 LBB0_3: mov x0, x19 mov w1, #0 ; =0x0 mov w2, #1 ; =0x1 bl _lua_call mov x0, x19 mov w1, #-1 ; =0xffffffff mov x2, x20 bl _lua_tolstring mov x23, x0 ldr x0, [x21] ldr x1, [x20] bl _realloc str x0, [x21] ldr x2, [x20] mov x1, x23 bl _memcpy mov x0, x19 mov x1, x22 ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload ldp x24, x23, [sp], #64 ; 16-byte Folded Reload b _lua_pop .loh AdrpAdd Lloh0, Lloh1 .loh AdrpAdd Lloh4, Lloh5 .loh AdrpAdd Lloh2, Lloh3 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "request" l_.str.1: ; @.str.1 .asciz "wrk" .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 jne LBB0_2 ## %bb.1: leaq L_.str(%rip), %rdi movq %rax, %rbx callq _warnx xorl %eax, %eax callq _crash 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 "realloc failed" .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 cbnz x0, LBB0_2 ; %bb.1: Lloh0: adrp x8, l_.str@PAGE Lloh1: add x8, x8, l_.str@PAGEOFF mov x19, x0 mov x0, x8 bl _warnx bl _crash 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 "realloc failed" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function mrealloc _mrealloc: ## @mrealloc .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp testq %rsi, %rsi je LBB0_1 ## %bb.2: movq %rsi, %rdi movq %rdx, %rsi popq %rbp jmp _realloc ## TAILCALL LBB0_1: movq %rdx, %rsi popq %rbp jmp _mmalloc ## TAILCALL .cfi_endproc ## -- End function .no_dead_strip _mrealloc .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function mrealloc _mrealloc: ; @mrealloc .cfi_startproc ; %bb.0: cbz x1, LBB0_2 ; %bb.1: mov x0, x1 mov x1, x2 b _realloc LBB0_2: mov x1, x2 b _mmalloc .cfi_endproc ; -- End function .no_dead_strip _mrealloc .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function mmc_update_child_list _mmc_update_child_list: ## @mmc_update_child_list .cfi_startproc ## %bb.0: movl (%rdi), %esi testl %esi, %esi je LBB0_4 ## %bb.1: jle LBB0_3 .p2align 4, 0x90 LBB0_2: ## =>This Inner Loop Header: Depth=1 jmp LBB0_2 LBB0_4: movq 8(%rdi), %rdi movq _M_DEVBUF@GOTPCREL(%rip), %rax movl (%rax), %esi jmp _free ## TAILCALL LBB0_3: 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 shll $3, %esi movq _M_DEVBUF@GOTPCREL(%rip), %rcx movl (%rcx), %edx movq _M_WAITOK@GOTPCREL(%rip), %rcx movl (%rcx), %ecx movq %rdi, %rbx movq %rax, %rdi callq _realloc movq %rax, 8(%rbx) addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .comm _M_DEVBUF,4,2 ## @M_DEVBUF .comm _M_WAITOK,4,2 ## @M_WAITOK .no_dead_strip _mmc_update_child_list .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function mmc_update_child_list _mmc_update_child_list: ; @mmc_update_child_list .cfi_startproc ; %bb.0: ldr w9, [x0] cbz w9, LBB0_3 ; %bb.1: cmp w9, #1 b.lt LBB0_4 LBB0_2: ; =>This Inner Loop Header: Depth=1 b LBB0_2 LBB0_3: ldr x0, [x0, #8] Lloh0: adrp x8, _M_DEVBUF@GOTPAGE Lloh1: ldr x8, [x8, _M_DEVBUF@GOTPAGEOFF] Lloh2: ldr w1, [x8] b _free LBB0_4: 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] lsl w1, w9, #3 Lloh3: adrp x9, _M_DEVBUF@GOTPAGE Lloh4: ldr x9, [x9, _M_DEVBUF@GOTPAGEOFF] Lloh5: ldr w2, [x9] Lloh6: adrp x9, _M_WAITOK@GOTPAGE Lloh7: ldr x9, [x9, _M_WAITOK@GOTPAGEOFF] Lloh8: ldr w3, [x9] mov x19, x0 mov x0, x8 bl _realloc str x0, [x19, #8] ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .cfi_endproc ; -- End function .comm _M_DEVBUF,4,2 ; @M_DEVBUF .comm _M_WAITOK,4,2 ; @M_WAITOK .no_dead_strip _mmc_update_child_list .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function nvg__appendCommands _nvg__appendCommands: ## @nvg__appendCommands .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $24, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %edx, %ebx movq %rsi, %r15 movq %rdi, %r12 callq _nvg__getState movq %rax, -48(%rbp) ## 8-byte Spill movl (%r12), %r14d addl %ebx, %r14d movl 4(%r12), %eax cmpl %eax, %r14d jle LBB0_3 ## %bb.1: movl %eax, %ecx shrl $31, %ecx addl %eax, %ecx sarl %ecx subl %ecx, %r14d movq 8(%r12), %rdi leal (,%r14,4), %esi callq _realloc testq %rax, %rax je LBB0_14 ## %bb.2: movq %rax, 8(%r12) movl %r14d, 4(%r12) LBB0_3: movslq %ebx, %rax movss -8(%r15,%rax,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero movss %xmm0, 16(%r12) movss -4(%r15,%rax,4), %xmm0 ## xmm0 = mem[0],zero,zero,zero movq %r12, -56(%rbp) ## 8-byte Spill movss %xmm0, 20(%r12) testl %ebx, %ebx jle LBB0_13 ## %bb.4: xorl %r13d, %r13d leaq LJTI0_0(%rip), %r14 jmp LBB0_5 LBB0_9: ## in Loop: Header=BB0_5 Depth=1 leaq 4(%r12), %rdi leaq 8(%r12), %rsi movq -48(%rbp), %r14 ## 8-byte Reload movl (%r14), %edx movss 4(%r12), %xmm0 ## xmm0 = mem[0],zero,zero,zero movss 8(%r12), %xmm1 ## xmm1 = mem[0],zero,zero,zero callq _nvgTransformPoint leaq 12(%r12), %rdi leaq 16(%r12), %rsi movl (%r14), %edx movss 12(%r12), %xmm0 ## xmm0 = mem[0],zero,zero,zero movss 16(%r12), %xmm1 ## xmm1 = mem[0],zero,zero,zero callq _nvgTransformPoint leaq 20(%r12), %rdi leaq 24(%r12), %rsi movl (%r14), %edx leaq LJTI0_0(%rip), %r14 movss 20(%r12), %xmm0 ## xmm0 = mem[0],zero,zero,zero movss 24(%r12), %xmm1 ## xmm1 = mem[0],zero,zero,zero callq _nvgTransformPoint movl $7, %eax .p2align 4, 0x90 LBB0_12: ## in Loop: Header=BB0_5 Depth=1 addl %eax, %r13d cmpl %ebx, %r13d jge LBB0_13 LBB0_5: ## =>This Inner Loop Header: Depth=1 movslq %r13d, %rcx cvttss2si (%r15,%rcx,4), %eax addl $-128, %eax cmpl $4, %eax ja LBB0_11 ## %bb.6: ## in Loop: Header=BB0_5 Depth=1 leaq (%r15,%rcx,4), %r12 movslq (%r14,%rax,4), %rax addq %r14, %rax jmpq *%rax LBB0_8: ## in Loop: Header=BB0_5 Depth=1 leaq 4(%r12), %rdi leaq 8(%r12), %rsi movq -48(%rbp), %rax ## 8-byte Reload movl (%rax), %edx movss 4(%r12), %xmm0 ## xmm0 = mem[0],zero,zero,zero movss 8(%r12), %xmm1 ## xmm1 = mem[0],zero,zero,zero callq _nvgTransformPoint movl $3, %eax jmp LBB0_12 LBB0_10: ## in Loop: Header=BB0_5 Depth=1 movl $2, %eax jmp LBB0_12 LBB0_7: ## in Loop: Header=BB0_5 Depth=1 movl $-1, %eax jmp LBB0_12 LBB0_11: ## in Loop: Header=BB0_5 Depth=1 movl $1, %eax jmp LBB0_12 LBB0_13: movq -56(%rbp), %r14 ## 8-byte Reload movslq (%r14), %rdi shlq $2, %rdi addq 8(%r14), %rdi leal (,%rbx,4), %edx movq %r15, %rsi callq _memcpy addl %ebx, (%r14) LBB0_14: addq $24, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc .p2align 2, 0x90 .data_region jt32 .set L0_0_set_10, LBB0_10-LJTI0_0 .set L0_0_set_8, LBB0_8-LJTI0_0 .set L0_0_set_7, LBB0_7-LJTI0_0 .set L0_0_set_9, LBB0_9-LJTI0_0 LJTI0_0: .long L0_0_set_10 .long L0_0_set_8 .long L0_0_set_8 .long L0_0_set_7 .long L0_0_set_9 .end_data_region ## -- End function .no_dead_strip _nvg__appendCommands .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function nvg__appendCommands _nvg__appendCommands: ; @nvg__appendCommands .cfi_startproc ; %bb.0: stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill stp x22, x21, [sp, #16] ; 16-byte Folded Spill stp x20, x19, [sp, #32] ; 16-byte Folded Spill stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 mov x19, x2 mov x21, x1 mov x20, x0 bl _nvg__getState mov x22, x0 ldp w8, w9, [x20] add w8, w8, w19 cmp w8, w9 b.le LBB0_3 ; %bb.1: add w9, w9, w9, lsr #31 sub w23, w8, w9, asr #1 ldr x0, [x20, #8] lsl w1, w23, #2 bl _realloc cbz x0, LBB0_18 ; %bb.2: str x0, [x20, #8] str w23, [x20, #4] LBB0_3: add x8, x21, w19, sxtw #2 ldur s0, [x8, #-8] str s0, [x20, #16] ldur s0, [x8, #-4] str s0, [x20, #20] cmp w19, #1 b.lt LBB0_17 ; %bb.4: mov w24, #0 ; =0x0 b LBB0_9 LBB0_5: ; in Loop: Header=BB0_9 Depth=1 cmp w8, #128 b.eq LBB0_15 ; %bb.6: ; in Loop: Header=BB0_9 Depth=1 cmp w8, #129 b.ne LBB0_16 LBB0_7: ; in Loop: Header=BB0_9 Depth=1 ldr w2, [x22] ldr s0, [x0, #4]! mov x1, x0 ldr s1, [x1, #4]! bl _nvgTransformPoint mov w8, #3 ; =0x3 LBB0_8: ; in Loop: Header=BB0_9 Depth=1 add w24, w24, w8 cmp w24, w19 b.ge LBB0_17 LBB0_9: ; =>This Inner Loop Header: Depth=1 add x0, x21, w24, sxtw #2 ldr s0, [x0] fcvtzs w8, s0 cmp w8, #129 b.le LBB0_5 ; %bb.10: ; in Loop: Header=BB0_9 Depth=1 cmp w8, #130 b.eq LBB0_7 ; %bb.11: ; in Loop: Header=BB0_9 Depth=1 cmp w8, #131 b.eq LBB0_14 ; %bb.12: ; in Loop: Header=BB0_9 Depth=1 cmp w8, #132 b.ne LBB0_16 ; %bb.13: ; in Loop: Header=BB0_9 Depth=1 ldr w2, [x22] mov x8, x0 ldr s0, [x8, #4]! mov x1, x0 ldr s1, [x1, #8]! mov x23, x0 mov x0, x8 bl _nvgTransformPoint ldr w2, [x22] mov x0, x23 ldr s0, [x0, #12]! mov x1, x23 ldr s1, [x1, #16]! bl _nvgTransformPoint ldr w2, [x22] ldr s1, [x23, #24]! mov x0, x23 ldr s0, [x0, #-4]! mov x1, x23 bl _nvgTransformPoint mov w8, #7 ; =0x7 b LBB0_8 LBB0_14: ; in Loop: Header=BB0_9 Depth=1 mov w8, #-1 ; =0xffffffff b LBB0_8 LBB0_15: ; in Loop: Header=BB0_9 Depth=1 mov w8, #2 ; =0x2 b LBB0_8 LBB0_16: ; in Loop: Header=BB0_9 Depth=1 mov w8, #1 ; =0x1 b LBB0_8 LBB0_17: ldr x8, [x20, #8] ldrsw x9, [x20] add x0, x8, x9, lsl #2 lsl w2, w19, #2 mov x1, x21 bl _memcpy ldr w8, [x20] add w8, w8, w19 str w8, [x20] LBB0_18: ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload ldp x24, x23, [sp], #64 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .no_dead_strip _nvg__appendCommands .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _vc_uri_add_query ## -- Begin function vc_uri_add_query .p2align 4, 0x90 _vc_uri_add_query: ## @vc_uri_add_query .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_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 testq %rdi, %rdi sete %al testq %rsi, %rsi sete %cl xorl %ebx, %ebx orb %al, %cl jne LBB0_9 ## %bb.1: movq %rsi, %r15 movq %rdi, %r14 movq %rdx, -48(%rbp) ## 8-byte Spill movslq (%rdi), %r12 movq 8(%rdi), %rdi testq %rdi, %rdi je LBB0_3 ## %bb.2: movl %r12d, %esi shll $4, %esi addl $-16, %esi callq _realloc testq %rax, %rax jne LBB0_5 jmp LBB0_9 LBB0_3: movl $16, %edi callq _malloc testq %rax, %rax je LBB0_9 LBB0_5: movq %rax, 8(%r14) shlq $4, %r12 leaq (%rax,%r12), %r13 xorps %xmm0, %xmm0 movups %xmm0, (%rax,%r12) movq %r15, %rdi movq %r13, %rsi callq _duplicate_string testq %rax, %rax je LBB0_9 ## %bb.6: leaq 8(%r13), %rsi movq -48(%rbp), %rdi ## 8-byte Reload callq _duplicate_string testq %rax, %rax je LBB0_8 ## %bb.7: incl (%r14) movl $1, %ebx jmp LBB0_9 LBB0_8: movq %r13, %rdi callq _release_string LBB0_9: movl %ebx, %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 _vc_uri_add_query ; -- Begin function vc_uri_add_query .p2align 2 _vc_uri_add_query: ; @vc_uri_add_query .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, #0 ; =0x0 cbz x19, LBB0_9 ; %bb.1: mov x21, x1 cbz x1, LBB0_9 ; %bb.2: mov x20, x2 ldrsw x22, [x19] ldr x0, [x19, #8] cbz x0, LBB0_4 ; %bb.3: lsl w8, w22, #4 sub w1, w8, #16 bl _realloc cbnz x0, LBB0_5 b LBB0_9 LBB0_4: mov w0, #16 ; =0x10 bl _malloc cbz x0, LBB0_9 LBB0_5: str x0, [x19, #8] add x22, x0, x22, lsl #4 stp xzr, xzr, [x22] mov x0, x21 mov x1, x22 bl _duplicate_string cbz x0, LBB0_9 ; %bb.6: add x1, x22, #8 mov x0, x20 bl _duplicate_string cbz x0, LBB0_8 ; %bb.7: ldr w8, [x19] add w8, w8, #1 str w8, [x19] mov w0, #1 ; =0x1 b LBB0_9 LBB0_8: mov x0, x22 bl _release_string mov w0, #0 ; =0x0 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 .cfi_endproc ; -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _hx509_ca_tbs_add_eku ## -- Begin function hx509_ca_tbs_add_eku .p2align 4, 0x90 _hx509_ca_tbs_add_eku: ## @hx509_ca_tbs_add_eku .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_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, %r12 movq %rsi, %r15 movl %edi, %r14d xorl %ebx, %ebx xorl %r13d, %r13d .p2align 4, 0x90 LBB0_2: ## =>This Inner Loop Header: Depth=1 movl %r13d, %esi shlq $2, %rsi addq 8(%r15), %rsi movq %r12, %rdi callq _der_heim_oid_cmp testq %rax, %rax je LBB0_8 ## %bb.1: ## in Loop: Header=BB0_2 Depth=1 incl %r13d movl (%r15), %eax cmpl %eax, %r13d jbe LBB0_2 ## %bb.3: movq 8(%r15), %rdi leal -4(,%rax,4), %esi callq _realloc testq %rax, %rax je LBB0_5 ## %bb.4: movq _ENOMEM@GOTPCREL(%rip), %rbx movl (%rbx), %edx leaq L_.str(%rip), %rcx movl %r14d, %edi xorl %esi, %esi callq _hx509_set_error_string movl (%rbx), %ebx jmp LBB0_8 LBB0_5: movq $0, 8(%r15) movl (%r15), %esi shlq $2, %rsi movq %r12, %rdi callq _der_copy_oid testl %eax, %eax je LBB0_7 ## %bb.6: leaq L_.str(%rip), %rcx movl %r14d, %edi xorl %esi, %esi movl %eax, %edx movl %eax, %ebx callq _hx509_set_error_string jmp LBB0_8 LBB0_7: incl (%r15) LBB0_8: movl %ebx, %eax addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _ENOMEM,4,2 ## @ENOMEM .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "out of memory" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _hx509_ca_tbs_add_eku ; -- Begin function hx509_ca_tbs_add_eku .p2align 2 _hx509_ca_tbs_add_eku: ; @hx509_ca_tbs_add_eku .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill stp x20, x19, [sp, #16] ; 16-byte Folded Spill stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp, #32 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x21, x2 mov x20, x1 mov x19, x0 mov w22, #0 ; =0x0 LBB0_1: ; =>This Inner Loop Header: Depth=1 ldr x8, [x20, #8] add x1, x8, w22, uxtw #2 mov x0, x21 bl _der_heim_oid_cmp cbz x0, LBB0_8 ; %bb.2: ; in Loop: Header=BB0_1 Depth=1 add w22, w22, #1 ldr w8, [x20] cmp w22, w8 b.ls LBB0_1 ; %bb.3: ldr x0, [x20, #8] lsl w8, w8, #2 sub w1, w8, #4 bl _realloc cbz x0, LBB0_5 ; %bb.4: Lloh0: adrp x20, _ENOMEM@GOTPAGE Lloh1: ldr x20, [x20, _ENOMEM@GOTPAGEOFF] ldr w2, [x20] Lloh2: adrp x3, l_.str@PAGE Lloh3: add x3, x3, l_.str@PAGEOFF mov x0, x19 mov w1, #0 ; =0x0 bl _hx509_set_error_string ldr w0, [x20] b LBB0_8 LBB0_5: str xzr, [x20, #8] ldr w8, [x20] lsl x1, x8, #2 mov x0, x21 bl _der_copy_oid cbz w0, LBB0_7 ; %bb.6: Lloh4: adrp x3, l_.str@PAGE Lloh5: add x3, x3, l_.str@PAGEOFF mov x20, x0 mov x0, x19 mov w1, #0 ; =0x0 mov x2, x20 bl _hx509_set_error_string mov x0, x20 b LBB0_8 LBB0_7: ldr w8, [x20] add w8, w8, #1 str w8, [x20] 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 AdrpAdd Lloh2, Lloh3 .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpAdd Lloh4, Lloh5 .cfi_endproc ; -- End function .comm _ENOMEM,4,2 ; @ENOMEM .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "out of memory" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _setenv ## -- Begin function setenv .p2align 4, 0x90 _setenv: ## @setenv .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp ud2 .cfi_endproc ## -- End function .comm _environ,8,3 ## @environ .comm _lastenv,8,3 ## @lastenv .comm _EINVAL,4,2 ## @EINVAL .comm _errno,4,2 ## @errno .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _setenv ; -- Begin function setenv .p2align 2 _setenv: ; @setenv .cfi_startproc ; %bb.0: brk #0x1 .cfi_endproc ; -- End function .comm _environ,8,3 ; @environ .comm _lastenv,8,3 ; @lastenv .comm _EINVAL,4,2 ; @EINVAL .comm _errno,4,2 ; @errno .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 alloc_line LCPI0_0: .quad -8 ## 0xfffffffffffffff8 .quad -8 ## 0xfffffffffffffff8 .section __TEXT,__const LCPI0_1: .space 2,248 .section __TEXT,__text,regular,pure_instructions .p2align 4, 0x90 _alloc_line: ## @alloc_line .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %rbx pushq %rax .cfi_offset %rbx, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq _line_freelist@GOTPCREL(%rip), %r14 movq (%r14), %rbx testq %rbx, %rbx jne LBB0_12 ## %bb.1: movq _NALLOC@GOTPCREL(%rip), %r15 movl (%r15), %esi shll $3, %esi xorl %edi, %edi callq _realloc movq %rax, %rbx testq %rax, %rax je LBB0_3 ## %bb.2: movl $1, %edi xorl %esi, %esi callq _err LBB0_3: movq %rbx, (%r14) movslq (%r15), %rax testq %rax, %rax jle LBB0_4 ## %bb.5: movl $1, %edx cmpl $4, %eax jb LBB0_9 ## %bb.6: movl %eax, %esi andl $2147483644, %esi ## imm = 0x7FFFFFFC leal 1(%rsi), %edx leaq (%rbx,%rsi,8), %rcx addq $16, %rbx pmovsxbq LCPI0_1(%rip), %xmm0 ## xmm0 = [18446744073709551608,18446744073709551608] movq %rsi, %rdi .p2align 4, 0x90 LBB0_7: ## =>This Inner Loop Header: Depth=1 leaq -16(%rbx), %r8 leaq -8(%rbx), %r9 movq %r9, %xmm1 movq %r8, %xmm2 punpcklqdq %xmm1, %xmm2 ## xmm2 = xmm2[0],xmm1[0] leaq 8(%rbx), %r8 movq %rbx, %xmm1 movq %r8, %xmm3 punpcklqdq %xmm3, %xmm1 ## xmm1 = xmm1[0],xmm3[0] paddq %xmm0, %xmm2 paddq %xmm0, %xmm1 movdqu %xmm2, -16(%rbx) movdqu %xmm1, (%rbx) addq $32, %rbx addq $-4, %rdi jne LBB0_7 ## %bb.8: movq %rcx, %rbx cmpq %rax, %rsi je LBB0_11 LBB0_9: subl %edx, %eax incl %eax movq %rbx, %rcx .p2align 4, 0x90 LBB0_10: ## =>This Inner Loop Header: Depth=1 leaq -8(%rcx), %rdx movq %rdx, (%rcx) addq $8, %rcx decl %eax jne LBB0_10 jmp LBB0_11 LBB0_4: movq %rbx, %rcx LBB0_11: movq $0, (%rcx) movq (%r14), %rbx LBB0_12: movq (%rbx), %rax movq %rax, (%r14) movq %rbx, %rdi xorl %esi, %esi movl $8, %edx callq _memset movq %rbx, %rax addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _line_freelist,8,3 ## @line_freelist .comm _NALLOC,4,2 ## @NALLOC .no_dead_strip _alloc_line .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function alloc_line _alloc_line: ; @alloc_line .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, _line_freelist@GOTPAGE Lloh1: ldr x20, [x20, _line_freelist@GOTPAGEOFF] ldr x19, [x20] cbnz x19, LBB0_13 ; %bb.1: Lloh2: adrp x21, _NALLOC@GOTPAGE Lloh3: ldr x21, [x21, _NALLOC@GOTPAGEOFF] ldr w8, [x21] lsl w1, w8, #3 mov x0, #0 ; =0x0 bl _realloc mov x19, x0 cbz x0, LBB0_3 ; %bb.2: mov w0, #1 ; =0x1 mov x1, #0 ; =0x0 bl _err LBB0_3: str x19, [x20] ldr w9, [x21] cmp w9, #1 b.lt LBB0_6 ; %bb.4: cmp w9, #8 b.hs LBB0_7 ; %bb.5: mov w10, #1 ; =0x1 mov x8, x19 b LBB0_10 LBB0_6: mov x8, x19 b LBB0_12 LBB0_7: mov x12, #0 ; =0x0 and x11, x9, #0x7ffffff8 orr w10, w11, #0x1 lsl x13, x11, #3 add x8, x19, x13 mov x14, #-8 ; =0xfffffffffffffff8 dup.2d v0, x14 LBB0_8: ; =>This Inner Loop Header: Depth=1 add x14, x19, x12 add x15, x14, #8 fmov d1, x14 mov.d v1[1], x15 add x15, x14, #16 add x16, x14, #24 fmov d2, x15 mov.d v2[1], x16 add x15, x14, #32 add x16, x14, #40 fmov d3, x15 mov.d v3[1], x16 add x15, x14, #48 add x16, x14, #56 fmov d4, x15 mov.d v4[1], x16 add.2d v1, v1, v0 add.2d v2, v2, v0 add.2d v3, v3, v0 add.2d v4, v4, v0 stp q1, q2, [x14] stp q3, q4, [x14, #32] add x12, x12, #64 cmp x13, x12 b.ne LBB0_8 ; %bb.9: cmp x11, x9 b.eq LBB0_12 LBB0_10: sub w9, w9, w10 add w9, w9, #1 LBB0_11: ; =>This Inner Loop Header: Depth=1 sub x10, x8, #8 str x10, [x8], #8 subs w9, w9, #1 b.ne LBB0_11 LBB0_12: str xzr, [x8] ldr x19, [x20] LBB0_13: ldr x8, [x19] str x8, [x20] mov x0, x19 mov w1, #0 ; =0x0 mov w2, #8 ; =0x8 bl _memset mov x0, x19 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGot Lloh2, Lloh3 .cfi_endproc ; -- End function .comm _line_freelist,8,3 ; @line_freelist .comm _NALLOC,4,2 ; @NALLOC .no_dead_strip _alloc_line .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function posix_spawn_growportactions_np _posix_spawn_growportactions_np: ## @posix_spawn_growportactions_np .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq _EINVAL@GOTPCREL(%rip), %rax movl (%rax), %eax popq %rbp retq .cfi_endproc ## -- End function .comm _EINVAL,4,2 ## @EINVAL .comm _ENOMEM,4,2 ## @ENOMEM .no_dead_strip _posix_spawn_growportactions_np .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function posix_spawn_growportactions_np _posix_spawn_growportactions_np: ; @posix_spawn_growportactions_np .cfi_startproc ; %bb.0: Lloh0: adrp x8, _EINVAL@GOTPAGE Lloh1: ldr x8, [x8, _EINVAL@GOTPAGEOFF] Lloh2: ldr w0, [x8] ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _EINVAL,4,2 ; @EINVAL .comm _ENOMEM,4,2 ; @ENOMEM .no_dead_strip _posix_spawn_growportactions_np .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _luaT_realloc ## -- Begin function luaT_realloc .p2align 4, 0x90 _luaT_realloc: ## @luaT_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 %rbx pushq %rax .cfi_offset %rbx, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %edx, %ebx testq %rsi, %rsi je LBB0_9 ## %bb.1: testl %ebx, %ebx je LBB0_2 ## %bb.3: movq %rdi, %r14 jns LBB0_5 ## %bb.4: leaq L_.str(%rip), %rax movq %r14, %rdi movq %rsi, %r15 movq %rax, %rsi xorl %eax, %eax callq _luaL_error movq %r15, %rsi LBB0_5: movq %rsi, %rdi movl %ebx, %esi callq _realloc testq %rax, %rax jne LBB0_8 ## %bb.6: leal 1073741823(%rbx), %edx testl %ebx, %ebx cmovnsl %ebx, %edx sarl $30, %edx leaq L_.str.1(%rip), %rsi movq %r14, %rdi xorl %eax, %eax callq _luaL_error jmp LBB0_7 LBB0_9: movl %ebx, %esi addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp jmp _luaT_alloc ## TAILCALL LBB0_2: callq _luaT_free LBB0_7: xorl %eax, %eax LBB0_8: addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "$ Torch: invalid memory size -- maybe an overflow?" 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 _luaT_realloc ; -- Begin function luaT_realloc .p2align 2 _luaT_realloc: ; @luaT_realloc .cfi_startproc ; %bb.0: sub sp, sp, #64 stp x22, x21, [sp, #16] ; 16-byte Folded Spill stp x20, x19, [sp, #32] ; 16-byte Folded Spill stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x19, x2 cbz x1, LBB0_6 ; %bb.1: cbz w19, LBB0_7 ; %bb.2: mov x20, x0 tbz w19, #31, LBB0_4 ; %bb.3: Lloh0: adrp x8, l_.str@PAGE Lloh1: add x8, x8, l_.str@PAGEOFF mov x0, x20 mov x21, x1 mov x1, x8 bl _luaL_error mov x1, x21 LBB0_4: mov x0, x1 mov x1, x19 bl _realloc cbnz x0, LBB0_9 ; %bb.5: mov w8, #1073741823 ; =0x3fffffff add w8, w19, w8 cmp w19, #0 csel w8, w8, w19, lt asr w8, w8, #30 str x8, [sp] Lloh2: adrp x1, l_.str.1@PAGE Lloh3: add x1, x1, l_.str.1@PAGEOFF mov x0, x20 bl _luaL_error b LBB0_8 LBB0_6: mov x1, x19 ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload add sp, sp, #64 b _luaT_alloc LBB0_7: bl _luaT_free LBB0_8: mov x0, #0 ; =0x0 LBB0_9: ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload add sp, sp, #64 ret .loh AdrpAdd Lloh0, Lloh1 .loh AdrpAdd Lloh2, Lloh3 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "$ Torch: invalid memory size -- maybe an overflow?" 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 _flush_sock ## -- Begin function flush_sock .p2align 4, 0x90 _flush_sock: ## @flush_sock .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_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 leaq -44(%rbp), %r14 movq %r14, %rdi callq _FD_ZERO movq _sock@GOTPCREL(%rip), %r12 movq (%r12), %rdi movq %r14, %rsi callq _FD_SET leaq -64(%rbp), %r15 movq %r15, %rdi movl $16, %esi callq _bzero movq _timeout@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -56(%rbp) movq $0, -64(%rbp) movl $42, %edi callq _malloc movq %rax, %rbx movq (%r12), %rdi incq %rdi movq %r14, %rsi xorl %edx, %edx xorl %ecx, %ecx movq %r15, %r8 callq _select testq %rax, %rax js LBB0_1 ## %bb.2: movq (%r12), %rdi movl $42, %r14d movq %rbx, %rsi movl $42, %edx callq _read testl %eax, %eax jle LBB0_3 ## %bb.4: xorl %r13d, %r13d .p2align 4, 0x90 LBB0_5: ## =>This Inner Loop Header: Depth=1 addl %eax, %r13d addl $42, %r14d movq %rbx, %rdi movl %r14d, %esi callq _realloc movq %rax, %rbx movq (%r12), %rdi leaq (%rax,%r13), %r15 movq %r15, %rsi movl $42, %edx callq _read testl %eax, %eax jg LBB0_5 ## %bb.6: cmpl %r13d, %r14d jne LBB0_8 ## %bb.7: incl %r14d movq %rbx, %rdi movl %r14d, %esi callq _realloc jmp LBB0_8 LBB0_1: leaq L_.str(%rip), %rbx jmp LBB0_9 LBB0_3: movq %rbx, %r15 LBB0_8: movb $0, (%r15) LBB0_9: movq %rbx, %rax addq $24, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _sock,8,3 ## @sock .comm _timeout,4,2 ## @timeout .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .space 1 .comm _BUF_SIZE,4,2 ## @BUF_SIZE .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _flush_sock ; -- Begin function flush_sock .p2align 2 _flush_sock: ; @flush_sock .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 add x0, sp, #28 bl _FD_ZERO Lloh0: adrp x22, _sock@GOTPAGE Lloh1: ldr x22, [x22, _sock@GOTPAGEOFF] ldr x0, [x22] add x1, sp, #28 bl _FD_SET add x0, sp, #8 mov w1, #16 ; =0x10 bl _bzero Lloh2: adrp x8, _timeout@GOTPAGE Lloh3: ldr x8, [x8, _timeout@GOTPAGEOFF] Lloh4: ldr w8, [x8] str w8, [sp, #16] str xzr, [sp, #8] mov w0, #42 ; =0x2a bl _malloc mov x19, x0 ldr x8, [x22] add x0, x8, #1 add x1, sp, #28 add x4, sp, #8 mov x2, #0 ; =0x0 mov x3, #0 ; =0x0 bl _select tbnz x0, #63, LBB0_6 ; %bb.1: ldr x0, [x22] mov x1, x19 mov w2, #42 ; =0x2a bl _read cmp w0, #1 b.lt LBB0_7 ; %bb.2: mov w23, #0 ; =0x0 mov w20, #42 ; =0x2a LBB0_3: ; =>This Inner Loop Header: Depth=1 add w23, w0, w23 add w20, w20, #42 mov x0, x19 mov x1, x20 bl _realloc mov x19, x0 ldr x0, [x22] add x21, x19, x23 mov x1, x21 mov w2, #42 ; =0x2a bl _read cmp w0, #0 b.gt LBB0_3 ; %bb.4: cmp w20, w23 b.ne LBB0_8 ; %bb.5: add w1, w20, #1 mov x0, x19 bl _realloc b LBB0_8 LBB0_6: Lloh5: adrp x19, l_.str@PAGE Lloh6: add x19, x19, l_.str@PAGEOFF b LBB0_9 LBB0_7: mov x21, x19 LBB0_8: strb wzr, [x21] LBB0_9: mov x0, x19 ldp x29, x30, [sp, #80] ; 16-byte Folded Reload ldp x20, x19, [sp, #64] ; 16-byte Folded Reload ldp x22, x21, [sp, #48] ; 16-byte Folded Reload ldp x24, x23, [sp, #32] ; 16-byte Folded Reload add sp, sp, #96 ret .loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4 .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpAdd Lloh5, Lloh6 .cfi_endproc ; -- End function .comm _sock,8,3 ; @sock .comm _timeout,4,2 ; @timeout .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .space 1 .comm _BUF_SIZE,4,2 ; @BUF_SIZE .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function test_sbheap _test_sbheap: ## @test_sbheap .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 xorl %edi, %edi callq __set_sbh_threshold xorl %edi, %edi testl %eax, %eax sete %dil leaq L_.str(%rip), %rbx movq %rbx, %rsi xorl %eax, %eax callq _ok movl $1000, %edi ## imm = 0x3E8 callq __set_sbh_threshold xorl %edi, %edi testl %eax, %eax sete %dil movq %rbx, %rsi xorl %eax, %eax addq $8, %rsp popq %rbx popq %rbp jmp _ok ## TAILCALL .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "_set_sbh_threshold succeeded\n" .no_dead_strip _test_sbheap .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function test_sbheap _test_sbheap: ; @test_sbheap .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 w0, #0 ; =0x0 bl __set_sbh_threshold cmp w0, #0 cset w0, eq Lloh0: adrp x19, l_.str@PAGE Lloh1: add x19, x19, l_.str@PAGEOFF mov x1, x19 bl _ok mov w0, #1000 ; =0x3e8 bl __set_sbh_threshold cmp w0, #0 cset w0, eq mov x1, x19 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _ok .loh AdrpAdd Lloh0, Lloh1 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "_set_sbh_threshold succeeded\n" .no_dead_strip _test_sbheap .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function enum_dumpdevs _enum_dumpdevs: ## @enum_dumpdevs .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_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 $64, %edi callq _malloc movq %rax, -56(%rbp) ## 8-byte Spill testq %rax, %rax jne LBB0_1 ## %bb.10: movq _LOG_ERR@GOTPCREL(%rip), %rax movl (%rax), %edi leaq L_.str(%rip), %rsi jmp LBB0_11 LBB0_1: movl $8, -44(%rbp) ## 4-byte Folded Spill leaq L_.str.1(%rip), %r14 leaq L_.str.2(%rip), %r15 xorl %r13d, %r13d jmp LBB0_2 LBB0_8: ## in Loop: Header=BB0_2 Depth=1 movl (%r12), %edi callq _strdup movq -56(%rbp), %rcx ## 8-byte Reload movq %rax, (%rcx,%r13,8) incq %r13 testq %rax, %rax je LBB0_9 .p2align 4, 0x90 LBB0_2: ## =>This Inner Loop Header: Depth=1 xorl %eax, %eax callq _getfsent testq %rax, %rax je LBB0_2 ## %bb.3: ## in Loop: Header=BB0_2 Depth=1 movq %rax, %r12 movl 4(%rax), %edi movq %r14, %rsi callq _strcmp testq %rax, %rax jne LBB0_2 ## %bb.4: ## in Loop: Header=BB0_2 Depth=1 movl 4(%r12), %edi movq %r15, %rsi callq _strcmp testq %rax, %rax jne LBB0_2 ## %bb.5: ## in Loop: Header=BB0_2 Depth=1 movl -44(%rbp), %ebx ## 4-byte Reload movslq %ebx, %rax cmpq %rax, %r13 jl LBB0_8 ## %bb.6: ## in Loop: Header=BB0_2 Depth=1 movl %ebx, %esi shll $4, %esi movq -56(%rbp), %rdi ## 8-byte Reload callq _realloc movq %rax, -56(%rbp) ## 8-byte Spill testq %rax, %rax je LBB0_12 ## %bb.7: ## in Loop: Header=BB0_2 Depth=1 addl %ebx, %ebx movl %ebx, -44(%rbp) ## 4-byte Spill jmp LBB0_8 LBB0_9: movq _LOG_ERR@GOTPCREL(%rip), %rax movl (%rax), %edi leaq L_.str.4(%rip), %rsi jmp LBB0_11 LBB0_12: movq _LOG_ERR@GOTPCREL(%rip), %rax movl (%rax), %edi leaq L_.str.3(%rip), %rsi LBB0_11: callq _logmsg movl $1, %edi callq _exit .cfi_endproc ## -- End function .comm _LOG_ERR,4,2 ## @LOG_ERR .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "malloc(): %m" L_.str.1: ## @.str.1 .asciz "swap" L_.str.2: ## @.str.2 .asciz "dump" L_.str.3: ## @.str.3 .asciz "realloc(): %m" L_.str.4: ## @.str.4 .asciz "strdup(): %m" .no_dead_strip _enum_dumpdevs .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function enum_dumpdevs _enum_dumpdevs: ; @enum_dumpdevs .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 w0, #64 ; =0x40 bl _malloc cbnz x0, LBB0_2 ; %bb.1: Lloh0: adrp x8, _LOG_ERR@GOTPAGE Lloh1: ldr x8, [x8, _LOG_ERR@GOTPAGEOFF] Lloh2: ldr w0, [x8] Lloh3: adrp x1, l_.str@PAGE Lloh4: add x1, x1, l_.str@PAGEOFF b LBB0_12 LBB0_2: mov x19, x0 mov x23, #0 ; =0x0 mov w24, #8 ; =0x8 Lloh5: adrp x20, l_.str.1@PAGE Lloh6: add x20, x20, l_.str.1@PAGEOFF Lloh7: adrp x21, l_.str.2@PAGE Lloh8: add x21, x21, l_.str.2@PAGEOFF b LBB0_4 LBB0_3: ; in Loop: Header=BB0_4 Depth=1 ldr w0, [x22] bl _strdup str x0, [x19, x23, lsl #3] add x23, x23, #1 cbz x0, LBB0_10 LBB0_4: ; =>This Inner Loop Header: Depth=1 bl _getfsent cbz x0, LBB0_4 ; %bb.5: ; in Loop: Header=BB0_4 Depth=1 mov x22, x0 ldr w0, [x0, #4] mov x1, x20 bl _strcmp cbnz x0, LBB0_4 ; %bb.6: ; in Loop: Header=BB0_4 Depth=1 ldr w0, [x22, #4] mov x1, x21 bl _strcmp cbnz x0, LBB0_4 ; %bb.7: ; in Loop: Header=BB0_4 Depth=1 cmp x23, w24, sxtw b.lt LBB0_3 ; %bb.8: ; in Loop: Header=BB0_4 Depth=1 lsl w1, w24, #4 mov x0, x19 bl _realloc cbz x0, LBB0_11 ; %bb.9: ; in Loop: Header=BB0_4 Depth=1 mov x19, x0 lsl w24, w24, #1 b LBB0_3 LBB0_10: Lloh9: adrp x8, _LOG_ERR@GOTPAGE Lloh10: ldr x8, [x8, _LOG_ERR@GOTPAGEOFF] Lloh11: ldr w0, [x8] Lloh12: adrp x1, l_.str.4@PAGE Lloh13: add x1, x1, l_.str.4@PAGEOFF b LBB0_12 LBB0_11: Lloh14: adrp x8, _LOG_ERR@GOTPAGE Lloh15: ldr x8, [x8, _LOG_ERR@GOTPAGEOFF] Lloh16: ldr w0, [x8] Lloh17: adrp x1, l_.str.3@PAGE Lloh18: add x1, x1, l_.str.3@PAGEOFF LBB0_12: bl _logmsg mov w0, #1 ; =0x1 bl _exit .loh AdrpAdd Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpAdd Lloh7, Lloh8 .loh AdrpAdd Lloh5, Lloh6 .loh AdrpAdd Lloh12, Lloh13 .loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11 .loh AdrpAdd Lloh17, Lloh18 .loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16 .cfi_endproc ; -- End function .comm _LOG_ERR,4,2 ; @LOG_ERR .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "malloc(): %m" l_.str.1: ; @.str.1 .asciz "swap" l_.str.2: ; @.str.2 .asciz "dump" l_.str.3: ; @.str.3 .asciz "realloc(): %m" l_.str.4: ; @.str.4 .asciz "strdup(): %m" .no_dead_strip _enum_dumpdevs .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _cipher_alg_list ## -- Begin function cipher_alg_list .p2align 4, 0x90 _cipher_alg_list: ## @cipher_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 movq _ciphers@GOTPCREL(%rip), %rax movq (%rax), %rax cmpq $0, 16(%rax) je LBB0_7 ## %bb.1: movq _CFLAG_INTERNAL@GOTPCREL(%rip), %rcx movl (%rcx), %ecx .p2align 4, 0x90 LBB0_3: ## =>This Inner Loop Header: Depth=1 testl %ecx, (%rax) jne LBB0_7 ## %bb.4: ## in Loop: Header=BB0_3 Depth=1 testl %esi, %esi je LBB0_6 ## %bb.5: ## in Loop: Header=BB0_3 Depth=1 cmpq $0, 8(%rax) jne LBB0_6 ## %bb.2: ## in Loop: Header=BB0_3 Depth=1 cmpq $0, -8(%rax) leaq -24(%rax), %rax jne LBB0_3 jmp LBB0_7 LBB0_6: xorl %edi, %edi callq _free LBB0_7: xorl %eax, %eax popq %rbp retq .cfi_endproc ## -- End function .comm _ciphers,8,3 ## @ciphers .comm _CFLAG_INTERNAL,4,2 ## @CFLAG_INTERNAL .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _cipher_alg_list ; -- Begin function cipher_alg_list .p2align 2 _cipher_alg_list: ; @cipher_alg_list .cfi_startproc ; %bb.0: stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill mov x29, sp .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 Lloh0: adrp x8, _ciphers@GOTPAGE Lloh1: ldr x8, [x8, _ciphers@GOTPAGEOFF] Lloh2: ldr x8, [x8] ldr x9, [x8, #16] cbz x9, LBB0_7 ; %bb.1: Lloh3: adrp x9, _CFLAG_INTERNAL@GOTPAGE Lloh4: ldr x9, [x9, _CFLAG_INTERNAL@GOTPAGEOFF] Lloh5: ldr w9, [x9] LBB0_2: ; =>This Inner Loop Header: Depth=1 ldr w10, [x8] tst w9, w10 b.ne LBB0_7 ; %bb.3: ; in Loop: Header=BB0_2 Depth=1 cbz w1, LBB0_6 ; %bb.4: ; in Loop: Header=BB0_2 Depth=1 ldr x10, [x8, #8] cbnz x10, LBB0_6 ; %bb.5: ; in Loop: Header=BB0_2 Depth=1 ldur x10, [x8, #-8] sub x8, x8, #24 cbnz x10, LBB0_2 b LBB0_7 LBB0_6: mov x0, #0 ; =0x0 bl _free LBB0_7: mov x0, #0 ; =0x0 ldp x29, x30, [sp], #16 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .cfi_endproc ; -- End function .comm _ciphers,8,3 ; @ciphers .comm _CFLAG_INTERNAL,4,2 ; @CFLAG_INTERNAL .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _strbuf_grow ## -- Begin function strbuf_grow .p2align 4, 0x90 _strbuf_grow: ## @strbuf_grow .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movq %rdi, %rbx movq (%rdi), %rcx movq 8(%rdi), %rdi leaq (%rsi,%rcx), %r14 incq %r14 xorl %eax, %eax cmpq %rdi, %r14 jbe LBB0_12 ## %bb.1: cmpq %rcx, %r14 jbe LBB0_2 ## %bb.4: callq _alloc_nr cmpq %r14, %rax jbe LBB0_6 ## %bb.5: movq 8(%rbx), %rdi callq _alloc_nr movq %rax, %r14 LBB0_6: cmpq $0, 8(%rbx) je LBB0_7 ## %bb.8: movq 16(%rbx), %rdi jmp LBB0_9 LBB0_2: movq _E2BIG@GOTPCREL(%rip), %rcx jmp LBB0_3 LBB0_7: xorl %edi, %edi LBB0_9: movq %r14, %rsi callq _realloc testq %rax, %rax je LBB0_10 ## %bb.11: movq %rax, 16(%rbx) movq %r14, 8(%rbx) xorl %eax, %eax jmp LBB0_12 LBB0_10: movq _ENOMEM@GOTPCREL(%rip), %rcx LBB0_3: xorl %eax, %eax subl (%rcx), %eax LBB0_12: popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .comm _E2BIG,4,2 ## @E2BIG .comm _ENOMEM,4,2 ## @ENOMEM .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _strbuf_grow ; -- Begin function strbuf_grow .p2align 2 _strbuf_grow: ; @strbuf_grow .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 ldp x8, x0, [x0] add x9, x1, x8 add x20, x9, #1 cmp x20, x0 b.ls LBB0_6 ; %bb.1: cmp x20, x8 b.ls LBB0_7 ; %bb.2: bl _alloc_nr cmp x0, x20 b.ls LBB0_4 ; %bb.3: ldr x0, [x19, #8] bl _alloc_nr mov x20, x0 LBB0_4: ldr x8, [x19, #8] cbz x8, LBB0_8 ; %bb.5: ldr x0, [x19, #16] b LBB0_9 LBB0_6: mov w0, #0 ; =0x0 b LBB0_13 LBB0_7: Lloh0: adrp x8, _E2BIG@GOTPAGE Lloh1: ldr x8, [x8, _E2BIG@GOTPAGEOFF] b LBB0_12 LBB0_8: mov x0, #0 ; =0x0 LBB0_9: mov x1, x20 bl _realloc cbz x0, LBB0_11 ; %bb.10: mov x8, x0 mov w0, #0 ; =0x0 stp x20, x8, [x19, #8] b LBB0_13 LBB0_11: Lloh2: adrp x8, _ENOMEM@GOTPAGE Lloh3: ldr x8, [x8, _ENOMEM@GOTPAGEOFF] LBB0_12: ldr w8, [x8] neg w0, w8 LBB0_13: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGot Lloh2, Lloh3 .cfi_endproc ; -- End function .comm _E2BIG,4,2 ; @E2BIG .comm _ENOMEM,4,2 ; @ENOMEM .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _qrealloc ## -- Begin function qrealloc .p2align 4, 0x90 _qrealloc: ## @qrealloc .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 addl %ebx, %edx movq _memory_used@GOTPCREL(%rip), %rax addl %edx, (%rax) callq _realloc movq %rax, %r14 testq %rbx, %rbx sete %al testq %r14, %r14 sete %cl orb %al, %cl movzbl %cl, %edi callq _assert movq %r14, %rax popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .comm _memory_used,4,2 ## @memory_used .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _qrealloc ; -- Begin function qrealloc .p2align 2 _qrealloc: ; @qrealloc .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 Lloh0: adrp x8, _memory_used@GOTPAGE Lloh1: ldr x8, [x8, _memory_used@GOTPAGEOFF] ldr w9, [x8] add w10, w2, w19 add w9, w9, w10 str w9, [x8] bl _realloc mov x20, x0 cmp x19, #0 ccmp x0, #0, #4, ne cset w0, eq bl _assert mov x0, x20 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .loh AdrpLdrGot Lloh0, Lloh1 .cfi_endproc ; -- End function .comm _memory_used,4,2 ; @memory_used .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _hb_list_add ## -- Begin function hb_list_add .p2align 4, 0x90 _hb_list_add: ## @hb_list_add .cfi_startproc ## %bb.0: testq %rsi, %rsi je LBB0_5 ## %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 movl (%rdi), %ecx cmpl 4(%rdi), %ecx jne LBB0_2 ## %bb.3: movq _HB_LIST_DEFAULT_SIZE@GOTPCREL(%rip), %rax addl (%rax), %ecx movl %ecx, 4(%rdi) movq 8(%rdi), %rax shll $3, %ecx movq %rdi, %rbx movq %rax, %rdi movq %rsi, %r14 movl %ecx, %esi callq _realloc movq %r14, %rsi movq %rbx, %rdi movq %rax, 8(%rbx) movl (%rbx), %ecx jmp LBB0_4 LBB0_2: movq 8(%rdi), %rax LBB0_4: movslq %ecx, %rcx movq %rsi, (%rax,%rcx,8) incl %ecx movl %ecx, (%rdi) popq %rbx popq %r14 popq %rbp LBB0_5: retq .cfi_endproc ## -- End function .comm _HB_LIST_DEFAULT_SIZE,8,3 ## @HB_LIST_DEFAULT_SIZE .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _hb_list_add ; -- Begin function hb_list_add .p2align 2 _hb_list_add: ; @hb_list_add .cfi_startproc ; %bb.0: cbz x1, LBB0_5 ; %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 ldp w9, w8, [x0] cmp w9, w8 b.ne LBB0_3 ; %bb.2: Lloh0: adrp x8, _HB_LIST_DEFAULT_SIZE@GOTPAGE Lloh1: ldr x8, [x8, _HB_LIST_DEFAULT_SIZE@GOTPAGEOFF] Lloh2: ldr w8, [x8] add w9, w9, w8 str w9, [x0, #4] ldr x8, [x0, #8] lsl w9, w9, #3 mov x19, x0 mov x0, x8 mov x20, x1 mov x1, x9 bl _realloc mov x1, x20 mov x8, x0 mov x0, x19 str x8, [x19, #8] ldr w9, [x19] b LBB0_4 LBB0_3: ldr x8, [x0, #8] LBB0_4: str x1, [x8, w9, sxtw #3] add w8, w9, #1 str w8, [x0] ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload LBB0_5: ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _HB_LIST_DEFAULT_SIZE,8,3 ; @HB_LIST_DEFAULT_SIZE .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function r_bin_dwarf_expand_abbrev_decl _r_bin_dwarf_expand_abbrev_decl: ## @r_bin_dwarf_expand_abbrev_decl .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 movl (%rdi), %esi cmpl 4(%rdi), %esi jne LBB0_1 ## %bb.3: movq %rdi, %rbx movq 8(%rdi), %rdi shll $3, %esi callq _realloc testq %rax, %rax je LBB0_4 ## %bb.5: movslq (%rbx), %rcx leaq (,%rcx,4), %rdx shlq $4, %rcx movq %rax, %rdi subq %rcx, %rdi xorl %esi, %esi ## kill: def $edx killed $edx killed $rdx movq %rax, %r14 callq _memset xorl %eax, %eax movq %r14, 8(%rbx) shll (%rbx) jmp LBB0_6 LBB0_1: movq _EINVAL@GOTPCREL(%rip), %rcx jmp LBB0_2 LBB0_4: movq _ENOMEM@GOTPCREL(%rip), %rcx LBB0_2: xorl %eax, %eax subl (%rcx), %eax LBB0_6: popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .comm _EINVAL,4,2 ## @EINVAL .comm _ENOMEM,4,2 ## @ENOMEM .no_dead_strip _r_bin_dwarf_expand_abbrev_decl .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function r_bin_dwarf_expand_abbrev_decl _r_bin_dwarf_expand_abbrev_decl: ; @r_bin_dwarf_expand_abbrev_decl .cfi_startproc ; %bb.0: ldp w8, w9, [x0] cmp w8, w9 b.ne 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, x0 ldr x0, [x0, #8] lsl w1, w8, #3 bl _realloc cbz x0, LBB0_4 ; %bb.2: ldrsw x9, [x19] sub x8, x0, x9, lsl #4 lsl w2, w9, #2 mov x20, x0 mov x0, x8 mov w1, #0 ; =0x0 bl _memset mov w0, #0 ; =0x0 str x20, [x19, #8] ldr w8, [x19] lsl w8, w8, #1 str w8, [x19] b LBB0_5 LBB0_3: Lloh0: adrp x8, _EINVAL@GOTPAGE Lloh1: ldr x8, [x8, _EINVAL@GOTPAGEOFF] Lloh2: ldr w8, [x8] neg w0, w8 ret LBB0_4: Lloh3: adrp x8, _ENOMEM@GOTPAGE Lloh4: ldr x8, [x8, _ENOMEM@GOTPAGEOFF] Lloh5: ldr w8, [x8] neg w0, w8 LBB0_5: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .cfi_endproc ; -- End function .comm _EINVAL,4,2 ; @EINVAL .comm _ENOMEM,4,2 ; @ENOMEM .no_dead_strip _r_bin_dwarf_expand_abbrev_decl .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function add_linux_shareopt _add_linux_shareopt: ## @add_linux_shareopt .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_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, %r15 movq %rdi, %rbx movq (%rdi), %rdi testq %rdi, %rdi je LBB0_1 ## %bb.2: callq _strlen movslq %eax, %r13 movq (%rbx), %r12 jmp LBB0_3 LBB0_1: xorl %r12d, %r12d xorl %r13d, %r13d LBB0_3: movq %r15, -48(%rbp) ## 8-byte Spill movq %r15, %rdi callq _strlen movslq %eax, %r15 testq %r14, %r14 je LBB0_4 ## %bb.5: movq %r14, %rdi callq _strlen incl %eax cltq jmp LBB0_6 LBB0_4: xorl %eax, %eax LBB0_6: addq %r13, %r15 leaq (%rax,%r15), %rsi addq $2, %rsi movq %r12, %rdi callq _realloc testq %rax, %rax je LBB0_7 ## %bb.8: movq %rax, %r12 movb $0, (%rax,%r13) leaq L_.str(%rip), %rsi movq %rax, %rdi callq _strcat movq %r12, %rdi movq -48(%rbp), %rsi ## 8-byte Reload callq _strcat testq %r14, %r14 je LBB0_10 ## %bb.9: leaq L_.str.1(%rip), %rsi movq %r12, %rdi callq _strcat movq %r12, %rdi movq %r14, %rsi callq _strcat LBB0_10: movq %r12, (%rbx) movq _SA_OK@GOTPCREL(%rip), %rax jmp LBB0_11 LBB0_7: movq _SA_NO_MEMORY@GOTPCREL(%rip), %rax LBB0_11: movl (%rax), %eax addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _SA_NO_MEMORY,4,2 ## @SA_NO_MEMORY .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "," L_.str.1: ## @.str.1 .asciz "=" .comm _SA_OK,4,2 ## @SA_OK .no_dead_strip _add_linux_shareopt .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function add_linux_shareopt _add_linux_shareopt: ; @add_linux_shareopt .cfi_startproc ; %bb.0: stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill stp x22, x21, [sp, #16] ; 16-byte Folded Spill stp x20, x19, [sp, #32] ; 16-byte Folded Spill stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp, #48 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 mov x20, x2 mov x21, x1 mov x19, x0 ldr x0, [x0] cbz x0, LBB0_2 ; %bb.1: bl _strlen ; kill: def $w0 killed $w0 def $x0 sxtw x23, w0 ldr x22, [x19] b LBB0_3 LBB0_2: mov x22, #0 ; =0x0 mov x23, #0 ; =0x0 LBB0_3: mov x0, x21 bl _strlen ; kill: def $w0 killed $w0 def $x0 sxtw x24, w0 cbz x20, LBB0_5 ; %bb.4: mov x0, x20 bl _strlen add w8, w0, #1 sxtw x8, w8 b LBB0_6 LBB0_5: mov x8, #0 ; =0x0 LBB0_6: add x9, x23, x24 add x8, x9, x8 add x1, x8, #2 mov x0, x22 bl _realloc cbz x0, LBB0_10 ; %bb.7: mov x22, x0 strb wzr, [x0, x23] Lloh0: adrp x1, l_.str@PAGE Lloh1: add x1, x1, l_.str@PAGEOFF bl _strcat mov x0, x22 mov x1, x21 bl _strcat cbz x20, LBB0_9 ; %bb.8: Lloh2: adrp x1, l_.str.1@PAGE Lloh3: add x1, x1, l_.str.1@PAGEOFF mov x0, x22 bl _strcat mov x0, x22 mov x1, x20 bl _strcat LBB0_9: str x22, [x19] Lloh4: adrp x8, _SA_OK@GOTPAGE Lloh5: ldr x8, [x8, _SA_OK@GOTPAGEOFF] b LBB0_11 LBB0_10: Lloh6: adrp x8, _SA_NO_MEMORY@GOTPAGE Lloh7: ldr x8, [x8, _SA_NO_MEMORY@GOTPAGEOFF] LBB0_11: ldr w0, [x8] ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload ldp x24, x23, [sp], #64 ; 16-byte Folded Reload ret .loh AdrpAdd Lloh0, Lloh1 .loh AdrpAdd Lloh2, Lloh3 .loh AdrpLdrGot Lloh4, Lloh5 .loh AdrpLdrGot Lloh6, Lloh7 .cfi_endproc ; -- End function .comm _SA_NO_MEMORY,4,2 ; @SA_NO_MEMORY .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "," l_.str.1: ; @.str.1 .asciz "=" .comm _SA_OK,4,2 ; @SA_OK .no_dead_strip _add_linux_shareopt .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function scanopts _scanopts: ## @scanopts .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_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 leaq LJTI0_0(%rip), %r12 movq _optind@GOTPCREL(%rip), %r15 jmp LBB0_1 LBB0_26: ## in Loop: Header=BB0_1 Depth=1 movq _opt_q@GOTPCREL(%rip), %rax movl $1, (%rax) .p2align 4, 0x90 LBB0_1: ## =>This Loop Header: Depth=1 ## Child Loop BB0_8 Depth 2 movl %r14d, %edi movq %rbx, %rsi leaq L_.str(%rip), %rdx callq _getopt ## kill: def $eax killed $eax def $rax leal -66(%rax), %ecx cmpl $54, %ecx ja LBB0_2 ## %bb.4: ## in Loop: Header=BB0_1 Depth=1 movslq (%r12,%rcx,4), %rax addq %r12, %rax movq _bindirs@GOTPCREL(%rip), %r13 jmpq *%rax LBB0_5: ## in Loop: Header=BB0_1 Depth=1 movq _mandirs@GOTPCREL(%rip), %r13 jmp LBB0_7 LBB0_28: ## in Loop: Header=BB0_1 Depth=1 movq _opt_u@GOTPCREL(%rip), %rax movl $1, (%rax) jmp LBB0_1 LBB0_25: ## in Loop: Header=BB0_1 Depth=1 movq _opt_m@GOTPCREL(%rip), %rax movl $1, (%rax) jmp LBB0_1 LBB0_23: ## in Loop: Header=BB0_1 Depth=1 movq _opt_a@GOTPCREL(%rip), %rax movl $1, (%rax) jmp LBB0_1 LBB0_6: ## in Loop: Header=BB0_1 Depth=1 movq _sourcedirs@GOTPCREL(%rip), %r13 LBB0_7: ## in Loop: Header=BB0_1 Depth=1 movl $0, -44(%rbp) movq (%r13), %rdi movl $8, %esi callq _realloc movq %rax, (%r13) movslq -44(%rbp), %rcx movq $0, (%rax,%rcx,8) movl (%r15), %eax cmpl %r14d, %eax jg LBB0_1 .p2align 4, 0x90 LBB0_8: ## Parent Loop BB0_1 Depth=1 ## => This Inner Loop Header: Depth=2 cltq movq (%rbx,%rax,8), %rdi movzbl (%rdi), %eax addl $-45, %eax movl %eax, %ecx jne LBB0_14 ## %bb.9: ## in Loop: Header=BB0_8 Depth=2 movzbl 1(%rdi), %ecx addl $-102, %ecx jne LBB0_11 ## %bb.10: ## in Loop: Header=BB0_8 Depth=2 movzbl 2(%rdi), %ecx LBB0_11: ## in Loop: Header=BB0_8 Depth=2 testl %ecx, %ecx je LBB0_1 ## %bb.12: ## in Loop: Header=BB0_8 Depth=2 movzbl 1(%rdi), %ecx addl $-66, %ecx jne LBB0_14 ## %bb.13: ## in Loop: Header=BB0_8 Depth=2 movzbl 2(%rdi), %ecx .p2align 4, 0x90 LBB0_14: ## in Loop: Header=BB0_8 Depth=2 testl %ecx, %ecx je LBB0_1 ## %bb.15: ## in Loop: Header=BB0_8 Depth=2 testl %eax, %eax jne LBB0_21 ## %bb.16: ## in Loop: Header=BB0_8 Depth=2 movzbl 1(%rdi), %eax addl $-77, %eax jne LBB0_18 ## %bb.17: ## in Loop: Header=BB0_8 Depth=2 movzbl 2(%rdi), %eax LBB0_18: ## in Loop: Header=BB0_8 Depth=2 testl %eax, %eax je LBB0_1 ## %bb.19: ## in Loop: Header=BB0_8 Depth=2 movzbl 1(%rdi), %eax addl $-83, %eax jne LBB0_21 ## %bb.20: ## in Loop: Header=BB0_8 Depth=2 movzbl 2(%rdi), %eax .p2align 4, 0x90 LBB0_21: ## in Loop: Header=BB0_8 Depth=2 testl %eax, %eax je LBB0_1 ## %bb.22: ## in Loop: Header=BB0_8 Depth=2 movq %r13, %rsi leaq -44(%rbp), %rdx callq _decolonify movl (%r15), %ecx leal 1(%rcx), %eax movl %eax, (%r15) cmpl %r14d, %ecx jl LBB0_8 jmp LBB0_1 LBB0_24: ## in Loop: Header=BB0_1 Depth=1 movq _opt_b@GOTPCREL(%rip), %rax movl $1, (%rax) jmp LBB0_1 LBB0_27: ## in Loop: Header=BB0_1 Depth=1 movq _opt_s@GOTPCREL(%rip), %rax movl $1, (%rax) jmp LBB0_1 LBB0_29: ## in Loop: Header=BB0_1 Depth=1 movq _opt_x@GOTPCREL(%rip), %rax movl $1, (%rax) jmp LBB0_1 LBB0_2: ## in Loop: Header=BB0_1 Depth=1 cmpl $-1, %eax je LBB0_30 LBB0_3: ## in Loop: Header=BB0_1 Depth=1 xorl %eax, %eax callq _usage jmp LBB0_1 LBB0_30: movl (%r15), %eax cmpl %r14d, %eax jne LBB0_32 ## %bb.31: xorl %eax, %eax callq _usage movl (%r15), %eax LBB0_32: cltq leaq (%rbx,%rax,8), %rax movq _query@GOTPCREL(%rip), %rcx movq %rax, (%rcx) addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc .p2align 2, 0x90 .data_region jt32 .set L0_0_set_7, LBB0_7-LJTI0_0 .set L0_0_set_3, LBB0_3-LJTI0_0 .set L0_0_set_5, LBB0_5-LJTI0_0 .set L0_0_set_6, LBB0_6-LJTI0_0 .set L0_0_set_23, LBB0_23-LJTI0_0 .set L0_0_set_24, LBB0_24-LJTI0_0 .set L0_0_set_30, LBB0_30-LJTI0_0 .set L0_0_set_25, LBB0_25-LJTI0_0 .set L0_0_set_26, LBB0_26-LJTI0_0 .set L0_0_set_27, LBB0_27-LJTI0_0 .set L0_0_set_28, LBB0_28-LJTI0_0 .set L0_0_set_29, LBB0_29-LJTI0_0 LJTI0_0: .long L0_0_set_7 .long L0_0_set_3 .long L0_0_set_3 .long L0_0_set_3 .long L0_0_set_3 .long L0_0_set_3 .long L0_0_set_3 .long L0_0_set_3 .long L0_0_set_3 .long L0_0_set_3 .long L0_0_set_3 .long L0_0_set_5 .long L0_0_set_3 .long L0_0_set_3 .long L0_0_set_3 .long L0_0_set_3 .long L0_0_set_3 .long L0_0_set_6 .long L0_0_set_3 .long L0_0_set_3 .long L0_0_set_3 .long L0_0_set_3 .long L0_0_set_3 .long L0_0_set_3 .long L0_0_set_3 .long L0_0_set_3 .long L0_0_set_3 .long L0_0_set_3 .long L0_0_set_3 .long L0_0_set_3 .long L0_0_set_3 .long L0_0_set_23 .long L0_0_set_24 .long L0_0_set_3 .long L0_0_set_3 .long L0_0_set_3 .long L0_0_set_30 .long L0_0_set_3 .long L0_0_set_3 .long L0_0_set_3 .long L0_0_set_3 .long L0_0_set_3 .long L0_0_set_3 .long L0_0_set_25 .long L0_0_set_3 .long L0_0_set_3 .long L0_0_set_3 .long L0_0_set_26 .long L0_0_set_3 .long L0_0_set_27 .long L0_0_set_3 .long L0_0_set_28 .long L0_0_set_3 .long L0_0_set_3 .long L0_0_set_29 .end_data_region ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "BMSabfmqsux" .comm _bindirs,8,3 ## @bindirs .comm _mandirs,8,3 ## @mandirs .comm _sourcedirs,8,3 ## @sourcedirs .comm _optind,4,2 ## @optind .comm _opt_a,4,2 ## @opt_a .comm _opt_b,4,2 ## @opt_b .comm _opt_m,4,2 ## @opt_m .comm _opt_q,4,2 ## @opt_q .comm _opt_s,4,2 ## @opt_s .comm _opt_u,4,2 ## @opt_u .comm _opt_x,4,2 ## @opt_x .comm _query,8,3 ## @query .no_dead_strip _scanopts .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function scanopts _scanopts: ; @scanopts .cfi_startproc ; %bb.0: sub sp, sp, #112 stp x28, x27, [sp, #16] ; 16-byte Folded Spill stp x26, x25, [sp, #32] ; 16-byte Folded Spill stp x24, x23, [sp, #48] ; 16-byte Folded Spill stp x22, x21, [sp, #64] ; 16-byte Folded Spill stp x20, x19, [sp, #80] ; 16-byte Folded Spill stp x29, x30, [sp, #96] ; 16-byte Folded Spill add x29, sp, #96 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset w27, -88 .cfi_offset w28, -96 mov x19, x1 mov x20, x0 Lloh0: adrp x24, _bindirs@GOTPAGE Lloh1: ldr x24, [x24, _bindirs@GOTPAGEOFF] Lloh2: adrp x23, _optind@GOTPAGE Lloh3: ldr x23, [x23, _optind@GOTPAGEOFF] Lloh4: adrp x21, l_.str@PAGE Lloh5: add x21, x21, l_.str@PAGEOFF mov w28, #1 ; =0x1 Lloh6: adrp x25, _opt_s@GOTPAGE Lloh7: ldr x25, [x25, _opt_s@GOTPAGEOFF] Lloh8: adrp x27, _opt_u@GOTPAGE Lloh9: ldr x27, [x27, _opt_u@GOTPAGEOFF] Lloh10: adrp x26, _opt_x@GOTPAGE Lloh11: ldr x26, [x26, _opt_x@GOTPAGEOFF] b LBB0_2 LBB0_1: ; in Loop: Header=BB0_2 Depth=1 str w28, [x27] LBB0_2: ; =>This Loop Header: Depth=1 ; Child Loop BB0_22 Depth 2 mov x0, x20 mov x1, x19 mov x2, x21 bl _getopt cmp w0, #101 b.gt LBB0_8 ; %bb.3: ; in Loop: Header=BB0_2 Depth=1 cmp w0, #82 b.le LBB0_13 ; %bb.4: ; in Loop: Header=BB0_2 Depth=1 cmp w0, #83 b.eq LBB0_20 ; %bb.5: ; in Loop: Header=BB0_2 Depth=1 cmp w0, #97 b.eq LBB0_19 ; %bb.6: ; in Loop: Header=BB0_2 Depth=1 cmp w0, #98 b.ne LBB0_41 ; %bb.7: ; in Loop: Header=BB0_2 Depth=1 Lloh12: adrp x8, _opt_b@GOTPAGE Lloh13: ldr x8, [x8, _opt_b@GOTPAGEOFF] Lloh14: str w28, [x8] b LBB0_2 LBB0_8: ; in Loop: Header=BB0_2 Depth=1 cmp w0, #114 b.le LBB0_16 ; %bb.9: ; in Loop: Header=BB0_2 Depth=1 cmp w0, #115 b.eq LBB0_37 ; %bb.10: ; in Loop: Header=BB0_2 Depth=1 cmp w0, #117 b.eq LBB0_1 ; %bb.11: ; in Loop: Header=BB0_2 Depth=1 cmp w0, #120 b.ne LBB0_41 ; %bb.12: ; in Loop: Header=BB0_2 Depth=1 str w28, [x26] b LBB0_2 LBB0_13: ; in Loop: Header=BB0_2 Depth=1 mov x22, x24 cmp w0, #66 b.eq LBB0_21 ; %bb.14: ; in Loop: Header=BB0_2 Depth=1 cmp w0, #77 b.ne LBB0_39 ; %bb.15: ; in Loop: Header=BB0_2 Depth=1 Lloh15: adrp x22, _mandirs@GOTPAGE Lloh16: ldr x22, [x22, _mandirs@GOTPAGEOFF] b LBB0_21 LBB0_16: ; in Loop: Header=BB0_2 Depth=1 cmp w0, #109 b.eq LBB0_38 ; %bb.17: ; in Loop: Header=BB0_2 Depth=1 cmp w0, #113 b.ne LBB0_40 ; %bb.18: ; in Loop: Header=BB0_2 Depth=1 Lloh17: adrp x8, _opt_q@GOTPAGE Lloh18: ldr x8, [x8, _opt_q@GOTPAGEOFF] Lloh19: str w28, [x8] b LBB0_2 LBB0_19: ; in Loop: Header=BB0_2 Depth=1 Lloh20: adrp x8, _opt_a@GOTPAGE Lloh21: ldr x8, [x8, _opt_a@GOTPAGEOFF] Lloh22: str w28, [x8] b LBB0_2 LBB0_20: ; in Loop: Header=BB0_2 Depth=1 Lloh23: adrp x22, _sourcedirs@GOTPAGE Lloh24: ldr x22, [x22, _sourcedirs@GOTPAGEOFF] LBB0_21: ; in Loop: Header=BB0_2 Depth=1 str wzr, [sp, #12] ldr x0, [x22] mov w1, #8 ; =0x8 bl _realloc str x0, [x22] ldrsw x8, [sp, #12] str xzr, [x0, x8, lsl #3] ldr w8, [x23] cmp w8, w20 b.gt LBB0_2 LBB0_22: ; Parent Loop BB0_2 Depth=1 ; => This Inner Loop Header: Depth=2 ldr x0, [x19, w8, sxtw #3] ldrb w8, [x0] subs w8, w8, #45 mov x9, x8 b.ne LBB0_28 ; %bb.23: ; in Loop: Header=BB0_22 Depth=2 ldrb w9, [x0, #1] subs w9, w9, #102 b.ne LBB0_25 ; %bb.24: ; in Loop: Header=BB0_22 Depth=2 ldrb w9, [x0, #2] LBB0_25: ; in Loop: Header=BB0_22 Depth=2 cbz w9, LBB0_2 ; %bb.26: ; in Loop: Header=BB0_22 Depth=2 ldrb w9, [x0, #1] subs w9, w9, #66 b.ne LBB0_28 ; %bb.27: ; in Loop: Header=BB0_22 Depth=2 ldrb w9, [x0, #2] LBB0_28: ; in Loop: Header=BB0_22 Depth=2 cbz w9, LBB0_2 ; %bb.29: ; in Loop: Header=BB0_22 Depth=2 cbnz w8, LBB0_35 ; %bb.30: ; in Loop: Header=BB0_22 Depth=2 ldrb w8, [x0, #1] subs w8, w8, #77 b.ne LBB0_32 ; %bb.31: ; in Loop: Header=BB0_22 Depth=2 ldrb w8, [x0, #2] LBB0_32: ; in Loop: Header=BB0_22 Depth=2 cbz w8, LBB0_2 ; %bb.33: ; in Loop: Header=BB0_22 Depth=2 ldrb w8, [x0, #1] subs w8, w8, #83 b.ne LBB0_35 ; %bb.34: ; in Loop: Header=BB0_22 Depth=2 ldrb w8, [x0, #2] LBB0_35: ; in Loop: Header=BB0_22 Depth=2 cbz w8, LBB0_2 ; %bb.36: ; in Loop: Header=BB0_22 Depth=2 add x2, sp, #12 mov x1, x22 bl _decolonify ldr w9, [x23] add w8, w9, #1 str w8, [x23] cmp w9, w20 b.lt LBB0_22 b LBB0_2 LBB0_37: ; in Loop: Header=BB0_2 Depth=1 str w28, [x25] b LBB0_2 LBB0_38: ; in Loop: Header=BB0_2 Depth=1 Lloh25: adrp x8, _opt_m@GOTPAGE Lloh26: ldr x8, [x8, _opt_m@GOTPAGEOFF] Lloh27: str w28, [x8] b LBB0_2 LBB0_39: ; in Loop: Header=BB0_2 Depth=1 cmn w0, #1 b.ne LBB0_41 b LBB0_42 LBB0_40: ; in Loop: Header=BB0_2 Depth=1 cmp w0, #102 b.eq LBB0_42 LBB0_41: ; in Loop: Header=BB0_2 Depth=1 bl _usage b LBB0_2 LBB0_42: ldr w8, [x23] cmp w8, w20 b.ne LBB0_44 ; %bb.43: bl _usage ldr w8, [x23] LBB0_44: add x8, x19, w8, sxtw #3 Lloh28: adrp x9, _query@GOTPAGE Lloh29: ldr x9, [x9, _query@GOTPAGEOFF] Lloh30: str x8, [x9] ldp x29, x30, [sp, #96] ; 16-byte Folded Reload ldp x20, x19, [sp, #80] ; 16-byte Folded Reload ldp x22, x21, [sp, #64] ; 16-byte Folded Reload ldp x24, x23, [sp, #48] ; 16-byte Folded Reload ldp x26, x25, [sp, #32] ; 16-byte Folded Reload ldp x28, x27, [sp, #16] ; 16-byte Folded Reload add sp, sp, #112 ret .loh AdrpLdrGot Lloh10, Lloh11 .loh AdrpLdrGot Lloh8, Lloh9 .loh AdrpLdrGot Lloh6, Lloh7 .loh AdrpAdd Lloh4, Lloh5 .loh AdrpLdrGot Lloh2, Lloh3 .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGotStr Lloh12, Lloh13, Lloh14 .loh AdrpLdrGot Lloh15, Lloh16 .loh AdrpLdrGotStr Lloh17, Lloh18, Lloh19 .loh AdrpLdrGotStr Lloh20, Lloh21, Lloh22 .loh AdrpLdrGot Lloh23, Lloh24 .loh AdrpLdrGotStr Lloh25, Lloh26, Lloh27 .loh AdrpLdrGotStr Lloh28, Lloh29, Lloh30 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "BMSabfmqsux" .comm _bindirs,8,3 ; @bindirs .comm _mandirs,8,3 ; @mandirs .comm _sourcedirs,8,3 ; @sourcedirs .comm _optind,4,2 ; @optind .comm _opt_a,4,2 ; @opt_a .comm _opt_b,4,2 ; @opt_b .comm _opt_m,4,2 ; @opt_m .comm _opt_q,4,2 ; @opt_q .comm _opt_s,4,2 ; @opt_s .comm _opt_u,4,2 ; @opt_u .comm _opt_x,4,2 ; @opt_x .comm _query,8,3 ; @query .no_dead_strip _scanopts .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _openpam_straddch ## -- Begin function openpam_straddch .p2align 4, 0x90 _openpam_straddch: ## @openpam_straddch .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_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, %rbx movq %rsi, %r12 movq %rdi, %r14 movq (%rdi), %rax testq %rax, %rax je LBB0_1 ## %bb.4: movq (%rbx), %rcx testl %r15d, %r15d je LBB0_11 ## %bb.5: leaq -1(%rcx), %rdx movq (%r12), %r13 cmpq %r13, %rdx jb LBB0_10 ## %bb.6: addq %r13, %r13 movq %rax, %rdi movq %r13, %rsi callq _realloc testq %rax, %rax je LBB0_7 ## %bb.8: movq %r13, (%r12) movq %rax, (%r14) movq (%rbx), %rcx jmp LBB0_10 LBB0_1: movq _MIN_STR_SIZE@GOTPCREL(%rip), %rax movq (%rax), %r13 movq %r13, %rdi callq _malloc testq %rax, %rax je LBB0_2 ## %bb.9: movq %rax, (%r14) movq %r13, (%r12) movq $0, (%rbx) xorl %ecx, %ecx testl %r15d, %r15d je LBB0_11 LBB0_10: movb %r15b, (%rax,%rcx) movq (%rbx), %rcx incq %rcx movq %rcx, (%rbx) movq (%r14), %rax LBB0_11: movb $0, (%rax,%rcx) xorl %eax, %eax jmp LBB0_12 LBB0_2: movq _PAM_LOG_ERROR@GOTPCREL(%rip), %rax movl (%rax), %edi leaq L_.str(%rip), %rsi jmp LBB0_3 LBB0_7: movq _PAM_LOG_ERROR@GOTPCREL(%rip), %rax movl (%rax), %edi leaq L_.str.1(%rip), %rsi LBB0_3: callq _openpam_log movq _ENOMEM@GOTPCREL(%rip), %rax movl (%rax), %eax movq _errno@GOTPCREL(%rip), %rcx movl %eax, (%rcx) movl $-1, %eax LBB0_12: addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _MIN_STR_SIZE,8,3 ## @MIN_STR_SIZE .comm _PAM_LOG_ERROR,4,2 ## @PAM_LOG_ERROR .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "malloc(): %m" .comm _ENOMEM,4,2 ## @ENOMEM .comm _errno,4,2 ## @errno L_.str.1: ## @.str.1 .asciz "realloc(): %m" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _openpam_straddch ; -- Begin function openpam_straddch .p2align 2 _openpam_straddch: ; @openpam_straddch .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 x19, x2 mov x22, x1 mov x20, x0 ldr x0, [x0] cbz x0, LBB0_5 ; %bb.1: ldr x9, [x19] cbz w21, LBB0_8 ; %bb.2: sub x10, x9, #1 ldr x8, [x22] cmp x10, x8 b.lo LBB0_7 ; %bb.3: lsl x23, x8, #1 mov x1, x23 bl _realloc cbz x0, LBB0_10 ; %bb.4: str x23, [x22] str x0, [x20] ldr x9, [x19] b LBB0_7 LBB0_5: Lloh0: adrp x8, _MIN_STR_SIZE@GOTPAGE Lloh1: ldr x8, [x8, _MIN_STR_SIZE@GOTPAGEOFF] Lloh2: ldr x23, [x8] mov x0, x23 bl _malloc cbz x0, LBB0_9 ; %bb.6: mov x9, #0 ; =0x0 str x0, [x20] str x23, [x22] str xzr, [x19] cbz w21, LBB0_8 LBB0_7: strb w21, [x0, x9] ldr x8, [x19] add x9, x8, #1 str x9, [x19] ldr x0, [x20] LBB0_8: mov w8, #0 ; =0x0 strb wzr, [x0, x9] b LBB0_12 LBB0_9: Lloh3: adrp x8, _PAM_LOG_ERROR@GOTPAGE Lloh4: ldr x8, [x8, _PAM_LOG_ERROR@GOTPAGEOFF] Lloh5: ldr w0, [x8] Lloh6: adrp x1, l_.str@PAGE Lloh7: add x1, x1, l_.str@PAGEOFF b LBB0_11 LBB0_10: Lloh8: adrp x8, _PAM_LOG_ERROR@GOTPAGE Lloh9: ldr x8, [x8, _PAM_LOG_ERROR@GOTPAGEOFF] Lloh10: ldr w0, [x8] Lloh11: adrp x1, l_.str.1@PAGE Lloh12: add x1, x1, l_.str.1@PAGEOFF LBB0_11: bl _openpam_log Lloh13: adrp x8, _ENOMEM@GOTPAGE Lloh14: ldr x8, [x8, _ENOMEM@GOTPAGEOFF] Lloh15: ldr w8, [x8] Lloh16: adrp x9, _errno@GOTPAGE Lloh17: ldr x9, [x9, _errno@GOTPAGEOFF] Lloh18: str w8, [x9] mov w8, #-1 ; =0xffffffff LBB0_12: mov x0, x8 ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload ldp x24, x23, [sp], #64 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpAdd Lloh6, Lloh7 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpAdd Lloh11, Lloh12 .loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10 .loh AdrpLdrGotStr Lloh16, Lloh17, Lloh18 .loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh15 .cfi_endproc ; -- End function .comm _MIN_STR_SIZE,8,3 ; @MIN_STR_SIZE .comm _PAM_LOG_ERROR,4,2 ; @PAM_LOG_ERROR .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "malloc(): %m" .comm _ENOMEM,4,2 ; @ENOMEM .comm _errno,4,2 ; @errno l_.str.1: ; @.str.1 .asciz "realloc(): %m" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function dynconvert _dynconvert: ## @dynconvert .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %ecx, %r13d movl %edx, %r12d movq %rsi, %r15 movl %edi, -44(%rbp) ## 4-byte Spill movl %edx, %eax testl %edx, %edx jg LBB0_2 ## %bb.1: movq %r15, %rdi callq _strlen LBB0_2: movslq %eax, %r14 incq %r14 movq _MAX_CONV_EXPANSION@GOTPCREL(%rip), %rax imulq (%rax), %r14 movq %r14, %rdi callq _malloc testq %rax, %rax je LBB0_11 ## %bb.3: movq %rax, %rbx movq %rax, %rdi movq %r14, %rsi movl -44(%rbp), %edx ## 4-byte Reload movq %r15, %rcx movl %r12d, %r8d movl %r13d, %r9d callq _convert testl %eax, %eax js LBB0_10 ## %bb.4: testl %r12d, %r12d jns LBB0_7 ## %bb.5: movl %eax, %r15d movl %eax, %eax leaq (%rbx,%rax), %rdi movq %r14, %rsi subq %rax, %rsi movq _ASCII_CCSID@GOTPCREL(%rip), %rax movl (%rax), %r9d leaq _dynconvert.nullbyte(%rip), %rcx movl -44(%rbp), %edx ## 4-byte Reload movl $-1, %r8d callq _convert testl %eax, %eax js LBB0_10 ## %bb.6: movl %eax, %ecx movl %r15d, %eax addl %ecx, %eax LBB0_7: movl %eax, %ecx cmpq %rcx, %r14 jbe LBB0_12 ## %bb.8: movq %rbx, %rdi movl %eax, %esi callq _realloc testq %rax, %rax cmovneq %rax, %rbx jmp LBB0_12 LBB0_10: movq %rbx, %rdi callq _free LBB0_11: xorl %ebx, %ebx LBB0_12: movq %rbx, %rax addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__const _dynconvert.nullbyte: ## @dynconvert.nullbyte .byte 0 ## 0x0 .comm _MAX_CONV_EXPANSION,8,3 ## @MAX_CONV_EXPANSION .comm _ASCII_CCSID,4,2 ## @ASCII_CCSID .no_dead_strip _dynconvert .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function dynconvert _dynconvert: ; @dynconvert .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 x23, x3 mov x22, x2 mov x24, x1 mov x20, x0 mov x0, x2 cmp w2, #0 b.gt LBB0_2 ; %bb.1: mov x0, x24 bl _strlen ; kill: def $w0 killed $w0 def $x0 LBB0_2: sxtw x8, w0 Lloh0: adrp x9, _MAX_CONV_EXPANSION@GOTPAGE Lloh1: ldr x9, [x9, _MAX_CONV_EXPANSION@GOTPAGEOFF] Lloh2: ldr x9, [x9] madd x21, x9, x8, x9 mov x0, x21 bl _malloc mov x19, x0 cbz x0, LBB0_10 ; %bb.3: mov x0, x19 mov x1, x21 mov x2, x20 mov x3, x24 mov x4, x22 mov x5, x23 bl _convert tbnz w0, #31, LBB0_9 ; %bb.4: mov x23, x0 tbnz w22, #31, LBB0_6 ; %bb.5: cmp x21, w23, uxtw b.hi LBB0_8 b LBB0_10 LBB0_6: mov w8, w23 sub x1, x21, x8 Lloh3: adrp x9, _ASCII_CCSID@GOTPAGE Lloh4: ldr x9, [x9, _ASCII_CCSID@GOTPAGEOFF] Lloh5: ldr w5, [x9] Lloh6: adrp x3, _dynconvert.nullbyte@PAGE Lloh7: add x3, x3, _dynconvert.nullbyte@PAGEOFF add x0, x19, x8 mov x2, x20 mov w4, #-1 ; =0xffffffff bl _convert tbnz w0, #31, LBB0_9 ; %bb.7: add w23, w0, w23 cmp x21, w23, uxtw b.ls LBB0_10 LBB0_8: mov x0, x19 mov x1, x23 bl _realloc cmp x0, #0 csel x19, x19, x0, eq b LBB0_10 LBB0_9: mov x0, x19 bl _free mov x19, #0 ; =0x0 LBB0_10: mov x0, x19 ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload ldp x24, x23, [sp], #64 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpAdd Lloh6, Lloh7 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .cfi_endproc ; -- End function .section __TEXT,__const _dynconvert.nullbyte: ; @dynconvert.nullbyte .byte 0 ; 0x0 .comm _MAX_CONV_EXPANSION,8,3 ; @MAX_CONV_EXPANSION .comm _ASCII_CCSID,4,2 ; @ASCII_CCSID .no_dead_strip _dynconvert .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _tscAllocPayload ## -- Begin function tscAllocPayload .p2align 4, 0x90 _tscAllocPayload: ## @tscAllocPayload .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 movl %esi, %ebx movq %rdi, %r14 xorl %edi, %edi testl %esi, %esi setg %dil callq _assert cmpq $0, (%r14) movl 8(%r14), %edx je LBB0_3 ## %bb.1: xorl %edi, %edi testl %edx, %edx sete %dil callq _assert movl %ebx, %edi callq _malloc movq %rax, (%r14) testq %rax, %rax jne LBB0_6 jmp LBB0_2 LBB0_3: cmpl %ebx, %edx jge LBB0_7 ## %bb.4: xorl %edi, %edi movl %ebx, %esi callq _realloc testq %rax, %rax je LBB0_2 ## %bb.5: movq %rax, (%r14) LBB0_6: movl %ebx, 8(%r14) movl %ebx, %edx jmp LBB0_8 LBB0_2: movq _TSDB_CODE_CLI_OUT_OF_MEMORY@GOTPCREL(%rip), %rax jmp LBB0_9 LBB0_7: xorl %eax, %eax LBB0_8: movq %rax, %rdi xorl %esi, %esi callq _memset xorl %edi, %edi cmpl %ebx, 8(%r14) setge %dil callq _assert movq _TSDB_CODE_SUCCESS@GOTPCREL(%rip), %rax LBB0_9: movl (%rax), %eax popq %rbx popq %r14 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 .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _tscAllocPayload ; -- Begin function tscAllocPayload .p2align 2 _tscAllocPayload: ; @tscAllocPayload .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 cmp w1, #0 cset w0, gt bl _assert ldr x8, [x20] ldr w2, [x20, #8] cbz x8, LBB0_2 ; %bb.1: cmp w2, #0 cset w0, eq bl _assert mov x0, x19 bl _malloc str x0, [x20] cbnz x0, LBB0_5 b LBB0_6 LBB0_2: cmp w2, w19 b.ge LBB0_7 ; %bb.3: mov x0, #0 ; =0x0 mov x1, x19 bl _realloc cbz x0, LBB0_6 ; %bb.4: str x0, [x20] LBB0_5: str w19, [x20, #8] mov x2, x19 b LBB0_8 LBB0_6: Lloh0: adrp x8, _TSDB_CODE_CLI_OUT_OF_MEMORY@GOTPAGE Lloh1: ldr x8, [x8, _TSDB_CODE_CLI_OUT_OF_MEMORY@GOTPAGEOFF] b LBB0_9 LBB0_7: mov x0, #0 ; =0x0 LBB0_8: mov w1, #0 ; =0x0 bl _memset ldr w8, [x20, #8] cmp w8, w19 cset w0, ge bl _assert Lloh2: adrp x8, _TSDB_CODE_SUCCESS@GOTPAGE Lloh3: ldr x8, [x8, _TSDB_CODE_SUCCESS@GOTPAGEOFF] LBB0_9: ldr w0, [x8] ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGot Lloh2, Lloh3 .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 .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function handleEnter _handleEnter: ## @handleEnter .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movq %rdi, %rbx movq %rdx, %rdi callq _wl_output_get_user_data movq %rax, %r14 movl (%rbx), %ecx movl 4(%rbx), %eax leal -1(%rcx), %edx cmpl %eax, %edx jle LBB0_1 ## %bb.2: leal 1(%rax), %ecx movl %ecx, 4(%rbx) movq 8(%rbx), %rdi leal 8(,%rax,8), %esi callq _realloc movq %rax, 8(%rbx) movl (%rbx), %ecx jmp LBB0_3 LBB0_1: movq 8(%rbx), %rax LBB0_3: leal 1(%rcx), %edx movl %edx, (%rbx) movslq %ecx, %rcx movq %r14, (%rax,%rcx,8) movq %rbx, %rdi popq %rbx popq %r14 popq %rbp jmp _checkScaleChange ## TAILCALL .cfi_endproc ## -- End function .no_dead_strip _handleEnter .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function handleEnter _handleEnter: ; @handleEnter .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill stp x29, x30, [sp, #16] ; 16-byte Folded Spill add x29, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x0 mov x0, x2 bl _wl_output_get_user_data mov x20, x0 ldp w8, w9, [x19] sub w10, w8, #1 cmp w10, w9 b.le LBB0_2 ; %bb.1: add w8, w9, #1 str w8, [x19, #4] ldr x0, [x19, #8] lsl w1, w8, #3 bl _realloc str x0, [x19, #8] ldr w8, [x19] b LBB0_3 LBB0_2: ldr x0, [x19, #8] LBB0_3: add w9, w8, #1 str w9, [x19] str x20, [x0, w8, sxtw #3] mov x0, x19 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _checkScaleChange .cfi_endproc ; -- End function .no_dead_strip _handleEnter .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function xnrealloc_inline _xnrealloc_inline: ## @xnrealloc_inline .cfi_startproc ## %bb.0: 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 %rsi, %r15 movq %rdi, %rbx movq %rsi, %rdi movq %rdx, %rsi callq _xalloc_oversized testq %rax, %rax je LBB0_1 LBB0_3: xorl %eax, %eax callq _xalloc_die jmp LBB0_4 LBB0_1: imulq %r15, %r14 movq %rbx, %rdi movq %r14, %rsi callq _realloc movq %rax, %rbx testq %rax, %rax je LBB0_2 LBB0_4: movq %rbx, %rax addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq LBB0_2: xorl %ebx, %ebx jmp LBB0_3 .cfi_endproc ## -- End function .no_dead_strip _xnrealloc_inline .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function xnrealloc_inline _xnrealloc_inline: ; @xnrealloc_inline .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 mov x0, x1 mov x1, x2 bl _xalloc_oversized cbz x0, LBB0_2 LBB0_1: bl _xalloc_die b LBB0_3 LBB0_2: mul x1, x20, x21 mov x0, x19 bl _realloc mov x19, x0 cbz x0, LBB0_1 LBB0_3: mov x0, x19 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .no_dead_strip _xnrealloc_inline .subsections_via_symbols