	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function r_debug_lstLibAdd
_r_debug_lstLibAdd:                     ## @r_debug_lstLibAdd
	.cfi_startproc
## %bb.0:
	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, %rbx
	movq	%rdx, %r15
	movl	%esi, %r14d
	movl	%edi, %r12d
	movq	_lstLib@GOTPCREL(%rip), %r13
	movq	(%r13), %rax
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	movq	_PLIB_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	shll	$2, %esi
	movq	_MEM_COMMIT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_PAGE_READWRITE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	xorl	%edi, %edi
	callq	_VirtualAlloc
	movq	%rax, (%r13)
LBB0_2:
	movq	_lstLibPtr@GOTPCREL(%rip), %r13
	movq	%rax, (%r13)
	movq	_PLIB_MAX@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, %ecx
	jle	LBB0_10
## %bb.3:
	addq	$32, %rax
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	$0, -16(%rax)
	je	LBB0_5
## %bb.9:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%rax, (%r13)
	addq	$32, %rax
	decl	%ecx
	jne	LBB0_4
LBB0_10:
	leaq	L_.str(%rip), %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_eprintf                        ## TAILCALL
LBB0_5:
	movl	%r12d, -8(%rax)
	movq	%r15, -16(%rax)
	movl	%r14d, -24(%rax)
	movl	-28(%rax), %edi
	movq	_MAX_PATH@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	decl	%edx
	movq	%rbx, %rsi
	callq	_strncpy
	movq	%rbx, %rdi
	callq	_strlen
	movslq	%eax, %rcx
	movq	%rcx, %rdx
	shlq	$32, %rdx
	movabsq	$8589934592, %rax               ## imm = 0x200000000
	addq	%rdx, %rax
	movl	$-1, %edx
	movabsq	$-4294967296, %rsi              ## imm = 0xFFFFFFFF00000000
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	addq	%rsi, %rax
	incl	%edx
	cmpb	$92, (%rbx,%rcx)
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	leaq	-1(%rcx), %rdi
	testq	%rcx, %rcx
	movq	%rdi, %rcx
	jns	LBB0_6
LBB0_8:
	movq	(%r13), %rcx
	movl	(%rcx), %edi
	sarq	$32, %rax
	addq	%rax, %rbx
	movq	%rbx, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_strncpy                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_lstLib,8,3                     ## @lstLib
	.comm	_PLIB_MAX,4,2                   ## @PLIB_MAX
	.comm	_MEM_COMMIT,4,2                 ## @MEM_COMMIT
	.comm	_PAGE_READWRITE,4,2             ## @PAGE_READWRITE
	.comm	_lstLibPtr,8,3                  ## @lstLibPtr
	.comm	_MAX_PATH,4,2                   ## @MAX_PATH
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"r_debug_lstLibAdd: Cannot find slot\n"

	.no_dead_strip	_r_debug_lstLibAdd
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function r_debug_lstLibAdd
_r_debug_lstLibAdd:                     ; @r_debug_lstLibAdd
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x3
	mov	x21, x2
	mov	x20, x1
	mov	x22, x0
Lloh0:
	adrp	x23, _lstLib@GOTPAGE
Lloh1:
	ldr	x23, [x23, _lstLib@GOTPAGEOFF]
	ldr	x0, [x23]
Lloh2:
	adrp	x24, _PLIB_MAX@GOTPAGE
Lloh3:
	ldr	x24, [x24, _PLIB_MAX@GOTPAGEOFF]
	cbnz	x0, LBB0_2
; %bb.1:
	ldr	w8, [x24]
	lsl	w1, w8, #2
Lloh4:
	adrp	x8, _MEM_COMMIT@GOTPAGE
Lloh5:
	ldr	x8, [x8, _MEM_COMMIT@GOTPAGEOFF]
Lloh6:
	ldr	w2, [x8]
Lloh7:
	adrp	x8, _PAGE_READWRITE@GOTPAGE
Lloh8:
	ldr	x8, [x8, _PAGE_READWRITE@GOTPAGEOFF]
Lloh9:
	ldr	w3, [x8]
	bl	_VirtualAlloc
	str	x0, [x23]
LBB0_2:
Lloh10:
	adrp	x23, _lstLibPtr@GOTPAGE
Lloh11:
	ldr	x23, [x23, _lstLibPtr@GOTPAGEOFF]
	str	x0, [x23]
	ldr	w8, [x24]
	cmp	w8, #1
	b.lt	LBB0_6
; %bb.3:
	add	x9, x0, #32
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldur	x10, [x9, #-16]
	cbz	x10, LBB0_7
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	str	x9, [x23]
	add	x9, x9, #32
	subs	w8, w8, #1
	b.ne	LBB0_4
LBB0_6:
Lloh12:
	adrp	x0, l_.str@PAGE
Lloh13:
	add	x0, x0, l_.str@PAGEOFF
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_eprintf
LBB0_7:
	stur	w22, [x9, #-8]
	stur	x21, [x9, #-16]
	stur	w20, [x9, #-24]
	ldur	w0, [x9, #-28]
Lloh14:
	adrp	x8, _MAX_PATH@GOTPAGE
Lloh15:
	ldr	x8, [x8, _MAX_PATH@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	sub	w2, w8, #1
	mov	x1, x19
	bl	_strncpy
	mov	x0, x19
	bl	_strlen
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x10, w0
	mov	x8, #8589934592
	add	x8, x8, x10, lsl #32
	mov	w2, #-1
	mov	x9, #-4294967296
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	mov	x11, x10
	ldrb	w10, [x19, x10]
	add	x8, x8, x9
	add	w2, w2, #1
	cmp	w10, #92
	b.eq	LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	sub	x10, x11, #1
	tbz	x11, #63, LBB0_8
LBB0_10:
	ldr	x9, [x23]
	ldr	w0, [x9]
	add	x1, x19, x8, asr #32
	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	_strncpy
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_lstLib,8,3                     ; @lstLib
	.comm	_PLIB_MAX,4,2                   ; @PLIB_MAX
	.comm	_MEM_COMMIT,4,2                 ; @MEM_COMMIT
	.comm	_PAGE_READWRITE,4,2             ; @PAGE_READWRITE
	.comm	_lstLibPtr,8,3                  ; @lstLibPtr
	.comm	_MAX_PATH,4,2                   ; @MAX_PATH
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"r_debug_lstLibAdd: Cannot find slot\n"

	.no_dead_strip	_r_debug_lstLibAdd
.subsections_via_symbols
