	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function list_replace_refs
_list_replace_refs:                     ## @list_replace_refs
	.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	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	testq	%rdi, %rdi
	leaq	L_.str(%rip), %rax
	cmovneq	%rdi, %rax
	movq	%rax, -32(%rbp)
	movq	_REPLACE_FORMAT_SHORT@GOTPCREL(%rip), %r14
	testq	%rsi, %rsi
	je	LBB0_7
## %bb.1:
	movq	%rsi, %rbx
	cmpb	$0, (%rsi)
	je	LBB0_7
## %bb.2:
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_7
## %bb.3:
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_4
## %bb.5:
	leaq	L_.str.3(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_6
## %bb.8:
	leaq	L_.str.4(%rip), %rdi
	callq	__
	movl	%eax, %edi
	movq	%rbx, %rsi
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_error                          ## TAILCALL
LBB0_4:
	movq	_REPLACE_FORMAT_MEDIUM@GOTPCREL(%rip), %r14
	jmp	LBB0_7
LBB0_6:
	movq	_REPLACE_FORMAT_LONG@GOTPCREL(%rip), %r14
LBB0_7:
	movl	(%r14), %eax
	movl	%eax, -24(%rbp)
	movq	_the_repository@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_show_reference@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-32(%rbp), %rdx
	callq	_for_each_replace_ref
	xorl	%eax, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"*"

L_.str.1:                               ## @.str.1
	.asciz	"short"

	.comm	_REPLACE_FORMAT_SHORT,4,2       ## @REPLACE_FORMAT_SHORT
L_.str.2:                               ## @.str.2
	.asciz	"medium"

	.comm	_REPLACE_FORMAT_MEDIUM,4,2      ## @REPLACE_FORMAT_MEDIUM
L_.str.3:                               ## @.str.3
	.asciz	"long"

	.comm	_REPLACE_FORMAT_LONG,4,2        ## @REPLACE_FORMAT_LONG
L_.str.4:                               ## @.str.4
	.asciz	"invalid replace format '%s'\nvalid formats are 'short', 'medium' and 'long'"

	.comm	_the_repository,4,2             ## @the_repository
	.comm	_show_reference,4,2             ## @show_reference
	.no_dead_strip	_list_replace_refs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function list_replace_refs
_list_replace_refs:                     ; @list_replace_refs
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	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
Lloh0:
	adrp	x8, l_.str@PAGE
Lloh1:
	add	x8, x8, l_.str@PAGEOFF
	cmp	x0, #0
	csel	x8, x8, x0, eq
	str	x8, [sp]
	cbz	x1, LBB0_6
; %bb.1:
	mov	x19, x1
	ldrb	w8, [x1]
	cbz	w8, LBB0_6
; %bb.2:
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_strcmp
	cbz	w0, LBB0_6
; %bb.3:
Lloh4:
	adrp	x1, l_.str.2@PAGE
Lloh5:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_strcmp
	cbz	w0, LBB0_8
; %bb.4:
Lloh6:
	adrp	x1, l_.str.3@PAGE
Lloh7:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_strcmp
	cbz	w0, LBB0_9
; %bb.5:
Lloh8:
	adrp	x0, l_.str.4@PAGE
Lloh9:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	__
	mov	x1, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	b	_error
LBB0_6:
Lloh10:
	adrp	x8, _REPLACE_FORMAT_SHORT@GOTPAGE
Lloh11:
	ldr	x8, [x8, _REPLACE_FORMAT_SHORT@GOTPAGEOFF]
LBB0_7:
	ldr	w8, [x8]
	str	w8, [sp, #8]
Lloh12:
	adrp	x8, _the_repository@GOTPAGE
Lloh13:
	ldr	x8, [x8, _the_repository@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
Lloh15:
	adrp	x8, _show_reference@GOTPAGE
Lloh16:
	ldr	x8, [x8, _show_reference@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	mov	x2, sp
	bl	_for_each_replace_ref
	mov	w0, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_8:
Lloh18:
	adrp	x8, _REPLACE_FORMAT_MEDIUM@GOTPAGE
Lloh19:
	ldr	x8, [x8, _REPLACE_FORMAT_MEDIUM@GOTPAGEOFF]
	b	LBB0_7
LBB0_9:
Lloh20:
	adrp	x8, _REPLACE_FORMAT_LONG@GOTPAGE
Lloh21:
	ldr	x8, [x8, _REPLACE_FORMAT_LONG@GOTPAGEOFF]
	b	LBB0_7
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"*"

l_.str.1:                               ; @.str.1
	.asciz	"short"

	.comm	_REPLACE_FORMAT_SHORT,4,2       ; @REPLACE_FORMAT_SHORT
l_.str.2:                               ; @.str.2
	.asciz	"medium"

	.comm	_REPLACE_FORMAT_MEDIUM,4,2      ; @REPLACE_FORMAT_MEDIUM
l_.str.3:                               ; @.str.3
	.asciz	"long"

	.comm	_REPLACE_FORMAT_LONG,4,2        ; @REPLACE_FORMAT_LONG
l_.str.4:                               ; @.str.4
	.asciz	"invalid replace format '%s'\nvalid formats are 'short', 'medium' and 'long'"

	.comm	_the_repository,4,2             ; @the_repository
	.comm	_show_reference,4,2             ; @show_reference
	.no_dead_strip	_list_replace_refs
.subsections_via_symbols
