	.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, %r15
	movq	%rdx, %rbx
	movl	%esi, %r14d
	movl	%edi, %r12d
	movq	_lstLib@GOTPCREL(%rip), %r13
	movq	(%r13), %rax
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_lstLibPtr@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	jmp	LBB0_3
LBB0_2:
	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)
	movq	_lstLibPtr@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	testq	%rax, %rax
	je	LBB0_14
LBB0_3:
	movq	_PLIB_MAX@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, %ecx
	jle	LBB0_12
## %bb.4:
	addq	$24, %rax
	movq	_lstLibPtr@GOTPCREL(%rip), %r13
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	-24(%rax), %rdx
	cmpq	%rbx, %rdx
	je	LBB0_13
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	testq	%rdx, %rdx
	je	LBB0_7
## %bb.11:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	%rax, (%r13)
	addq	$24, %rax
	decl	%ecx
	jne	LBB0_5
LBB0_12:
	leaq	L_.str.1(%rip), %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_eprintf                        ## TAILCALL
LBB0_13:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movl	%r12d, -4(%rax)
	movq	%rbx, -24(%rax)
	movl	%r14d, -8(%rax)
	movl	-12(%rax), %edi
	movq	_MAX_PATH@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	decq	%rdx
	movq	%r15, %rsi
	callq	_strncpy
	movq	%r15, %rdi
	callq	_strlen
	cltq
	leaq	(%rax,%r15), %rsi
	addq	$2, %rsi
	movq	$-1, %rdx
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	incq	%rdx
	cmpb	$92, -2(%rsi)
	leaq	-1(%rsi), %rsi
	je	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	leaq	-1(%rax), %rcx
	testq	%rax, %rax
	movq	%rcx, %rax
	jns	LBB0_8
LBB0_10:
	movq	(%r13), %rax
	movl	8(%rax), %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_strncpy                        ## TAILCALL
LBB0_14:
	leaq	L_.str(%rip), %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_R_LOG_ERROR                    ## 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
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Failed to allocate memory"

	.comm	_MAX_PATH,8,3                   ## @MAX_PATH
L_.str.1:                               ## @.str.1
	.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	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x3
	mov	x21, x2
	mov	x20, x1
	mov	x22, x0
Lloh0:
	adrp	x25, _lstLib@GOTPAGE
Lloh1:
	ldr	x25, [x25, _lstLib@GOTPAGEOFF]
	ldr	x0, [x25]
Lloh2:
	adrp	x23, _lstLibPtr@GOTPAGE
Lloh3:
	ldr	x23, [x23, _lstLibPtr@GOTPAGEOFF]
Lloh4:
	adrp	x24, _PLIB_MAX@GOTPAGE
Lloh5:
	ldr	x24, [x24, _PLIB_MAX@GOTPAGEOFF]
	cbz	x0, LBB0_2
; %bb.1:
	str	x0, [x23]
	b	LBB0_3
LBB0_2:
	ldr	w8, [x24]
	lsl	w1, w8, #2
Lloh6:
	adrp	x8, _MEM_COMMIT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MEM_COMMIT@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
Lloh9:
	adrp	x8, _PAGE_READWRITE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _PAGE_READWRITE@GOTPAGEOFF]
Lloh11:
	ldr	w3, [x8]
	bl	_VirtualAlloc
	str	x0, [x25]
	str	x0, [x23]
	cbz	x0, LBB0_14
LBB0_3:
	ldr	w8, [x24]
	cmp	w8, #1
	b.lt	LBB0_8
; %bb.4:
	add	x9, x0, #24
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldur	x10, [x9, #-24]
	cmp	x10, x21
	b.eq	LBB0_9
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	cbz	x10, LBB0_10
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	str	x9, [x23]
	add	x9, x9, #24
	subs	w8, w8, #1
	b.ne	LBB0_5
LBB0_8:
Lloh12:
	adrp	x0, l_.str.1@PAGE
Lloh13:
	add	x0, x0, l_.str.1@PAGEOFF
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_eprintf
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
LBB0_10:
	stur	x21, [x9, #-24]
	stp	w20, w22, [x9, #-8]
	ldur	w0, [x9, #-12]
Lloh14:
	adrp	x8, _MAX_PATH@GOTPAGE
Lloh15:
	ldr	x8, [x8, _MAX_PATH@GOTPAGEOFF]
Lloh16:
	ldr	x8, [x8]
	sub	x2, x8, #1
	mov	x1, x19
	bl	_strncpy
	mov	x0, x19
	bl	_strlen
                                        ; kill: def $w0 killed $w0 def $x0
	mov	x9, #0
	sxtw	x8, w0
	add	x10, x19, x8
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	ldrb	w12, [x10, x9]
	sub	x11, x9, #1
	cmp	w12, #92
	b.eq	LBB0_13
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=1
	add	x12, x8, x9
	mov	x9, x11
	tbz	x12, #63, LBB0_11
LBB0_13:
	ldr	x9, [x23]
	ldr	w0, [x9, #8]
	add	x8, x19, x8
	add	x8, x8, x11
	add	x1, x8, #2
	mvn	x2, x11
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_strncpy
LBB0_14:
Lloh17:
	adrp	x0, l_.str@PAGE
Lloh18:
	add	x0, x0, l_.str@PAGEOFF
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_R_LOG_ERROR
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.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
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Failed to allocate memory"

	.comm	_MAX_PATH,8,3                   ; @MAX_PATH
l_.str.1:                               ; @.str.1
	.asciz	"__r_debug_lstLibAdd: Cannot find slot\n"

	.no_dead_strip	___r_debug_lstLibAdd
.subsections_via_symbols
