	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function add_rename_dst
_add_rename_dst:                        ## @add_rename_dst
	.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	_find_rename_dst
	movl	%eax, %ebx
	movl	$-1, %eax
	testl	%ebx, %ebx
	jns	LBB0_4
## %bb.1:
	movl	%ebx, %r12d
	notl	%r12d
	movq	_rename_dst@GOTPCREL(%rip), %r15
	movq	(%r15), %rdi
	movq	_rename_dst_nr@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	incl	%esi
	movq	_rename_dst_alloc@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_ALLOC_GROW
	movl	(%r13), %eax
	leal	1(%rax), %edx
	movl	%edx, (%r13)
	cmpl	%r12d, %eax
	jl	LBB0_3
## %bb.2:
	movq	(%r15), %rax
	movslq	%r12d, %rcx
	shlq	$4, %rcx
	leaq	(%rax,%rcx), %rsi
	leaq	(%rax,%rcx), %rdi
	addq	$16, %rdi
	addl	%ebx, %edx
	callq	_MOVE_ARRAY
LBB0_3:
	movl	12(%r14), %edi
	callq	_alloc_filespec
	movq	(%r15), %rcx
	movl	%r12d, %ebx
	shlq	$4, %rbx
	movl	%eax, 8(%rcx,%rbx)
	leaq	8(%r14), %rsi
	movl	(%r14), %ecx
	movl	4(%r14), %edx
	movl	%eax, %edi
	callq	_fill_filespec
	movq	(%r15), %rax
	movq	$0, (%rax,%rbx)
	xorl	%eax, %eax
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_rename_dst,8,3                 ## @rename_dst
	.comm	_rename_dst_nr,4,2              ## @rename_dst_nr
	.comm	_rename_dst_alloc,4,2           ## @rename_dst_alloc
	.no_dead_strip	_add_rename_dst
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function add_rename_dst
_add_rename_dst:                        ; @add_rename_dst
	.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, x0
	bl	_find_rename_dst
	tbnz	w0, #31, LBB0_2
; %bb.1:
	mov	w0, #-1
	b	LBB0_5
LBB0_2:
	mov	x20, x0
	mvn	w22, w0
Lloh0:
	adrp	x21, _rename_dst@GOTPAGE
Lloh1:
	ldr	x21, [x21, _rename_dst@GOTPAGEOFF]
Lloh2:
	adrp	x23, _rename_dst_nr@GOTPAGE
Lloh3:
	ldr	x23, [x23, _rename_dst_nr@GOTPAGEOFF]
	ldr	x0, [x21]
	ldr	w8, [x23]
	add	w1, w8, #1
Lloh4:
	adrp	x8, _rename_dst_alloc@GOTPAGE
Lloh5:
	ldr	x8, [x8, _rename_dst_alloc@GOTPAGEOFF]
Lloh6:
	ldr	w2, [x8]
	bl	_ALLOC_GROW
	ldr	w9, [x23]
	add	w8, w9, #1
	str	w8, [x23]
	cmp	w9, w22
	b.lt	LBB0_4
; %bb.3:
	ldr	x9, [x21]
	add	x1, x9, w22, sxtw #4
	add	x0, x1, #16
	add	w2, w8, w20
	bl	_MOVE_ARRAY
LBB0_4:
	ldr	w0, [x19, #12]
	bl	_alloc_filespec
	ldr	x8, [x21]
	lsl	x20, x22, #4
	add	x8, x8, x20
	str	w0, [x8, #8]
	add	x1, x19, #8
	ldp	w3, w2, [x19]
	bl	_fill_filespec
	mov	w0, #0
	ldr	x8, [x21]
	str	xzr, [x8, x20]
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
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_rename_dst,8,3                 ; @rename_dst
	.comm	_rename_dst_nr,4,2              ; @rename_dst_nr
	.comm	_rename_dst_alloc,4,2           ; @rename_dst_alloc
	.no_dead_strip	_add_rename_dst
.subsections_via_symbols
