	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function replace_name
_replace_name:                          ## @replace_name
	.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	$1, %r15d
	testq	%rdi, %rdi
	je	LBB0_12
## %bb.1:
	movq	%rdi, %rbx
	movl	(%rdi), %eax
	cmpl	%esi, %eax
	jl	LBB0_12
## %bb.2:
	cmpl	$2, %esi
	jne	LBB0_11
## %bb.3:
	cmpl	$2, %eax
	jne	LBB0_11
## %bb.4:
	movq	%rcx, %r14
	movq	%rdx, %r12
	cmpq	$0, 8(%rbx)
	je	LBB0_5
LBB0_8:
	movq	_the_repository@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r12, %rsi
	callq	_lookup_tag
	xorl	%r15d, %r15d
	testq	%rax, %rax
	je	LBB0_12
## %bb.9:
	movq	%rax, %r12
	movq	%rax, %rdi
	callq	_parse_tag
	testq	%rax, %rax
	jne	LBB0_12
## %bb.10:
	movq	%r12, (%r14)
	movq	8(%rbx), %rax
	movq	(%rax), %rax
	movl	$1, %r15d
	cmpq	(%r12), %rax
	jl	LBB0_12
LBB0_11:
	xorl	%r15d, %r15d
LBB0_12:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movq	_the_repository@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	16(%rbx), %rsi
	callq	_lookup_tag
	testq	%rax, %rax
	je	LBB0_12
## %bb.6:
	movq	%rax, %r13
	movq	%rax, %rdi
	callq	_parse_tag
	testq	%rax, %rax
	jne	LBB0_12
## %bb.7:
	movq	%r13, 8(%rbx)
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.comm	_the_repository,4,2             ## @the_repository
	.no_dead_strip	_replace_name
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function replace_name
_replace_name:                          ; @replace_name
	.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
	cbz	x0, LBB0_2
; %bb.1:
	mov	x20, x0
	ldr	w8, [x0]
	cmp	w8, w1
	b.ge	LBB0_3
LBB0_2:
	mov	w0, #1
	b	LBB0_10
LBB0_3:
	cmp	w1, #2
	b.ne	LBB0_9
; %bb.4:
	cmp	w8, #2
	b.ne	LBB0_9
; %bb.5:
	mov	x19, x3
	mov	x21, x2
	ldr	x8, [x20, #8]
Lloh0:
	adrp	x23, _the_repository@GOTPAGE
Lloh1:
	ldr	x23, [x23, _the_repository@GOTPAGEOFF]
	cbz	x8, LBB0_11
LBB0_6:
	ldr	w0, [x23]
	mov	x1, x21
	bl	_lookup_tag
	cbz	x0, LBB0_10
; %bb.7:
	mov	x21, x0
	bl	_parse_tag
	cbnz	x0, LBB0_9
; %bb.8:
	str	x21, [x19]
	ldr	x8, [x20, #8]
	ldr	x8, [x8]
	ldr	x9, [x21]
	cmp	x8, x9
	b.lt	LBB0_2
LBB0_9:
	mov	w0, #0
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
LBB0_11:
	ldr	w0, [x23]
	add	x1, x20, #16
	bl	_lookup_tag
	cbz	x0, LBB0_2
; %bb.12:
	mov	x22, x0
	bl	_parse_tag
	cbnz	x0, LBB0_2
; %bb.13:
	str	x22, [x20, #8]
	b	LBB0_6
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_the_repository,4,2             ; @the_repository
	.no_dead_strip	_replace_name
.subsections_via_symbols
