	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function link_alt_odb_entry
_link_alt_odb_entry:                    ## @link_alt_odb_entry
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %r15
	movl	%ecx, -68(%rbp)                 ## 4-byte Spill
	movq	%rdx, %rbx
	movq	%rsi, %r13
	movq	%rdi, %r12
	movq	_STRBUF_INIT@GOTPCREL(%rip), %rax
	movups	(%rax), %xmm0
	movaps	%xmm0, -64(%rbp)
	movq	%rsi, %rdi
	callq	_is_absolute_path
	testq	%rbx, %rbx
	je	LBB0_3
## %bb.1:
	testl	%eax, %eax
	jne	LBB0_3
## %bb.2:
	leaq	-64(%rbp), %r14
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movl	$1, %edx
	callq	_strbuf_realpath
	movq	%r14, %rdi
	movl	$47, %esi
	callq	_strbuf_addch
LBB0_3:
	leaq	-64(%rbp), %r14
	movq	%r14, %rdi
	movq	%r13, %rsi
	callq	_strbuf_addstr
	movq	%r14, %rdi
	callq	_strbuf_normalize_path
	testq	%rbx, %rbx
	je	LBB0_6
## %bb.4:
	testq	%rax, %rax
	jns	LBB0_6
## %bb.5:
	leaq	L_.str(%rip), %rdi
	callq	__
	movq	-64(%rbp), %rsi
	movl	%eax, %edi
	callq	_error
	jmp	LBB0_12
LBB0_6:
	movl	-56(%rbp), %eax
	testl	%eax, %eax
	je	LBB0_10
## %bb.7:
	leaq	-64(%rbp), %rbx
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	-64(%rbp), %rcx
	movslq	%eax, %rsi
	cmpb	$47, -1(%rcx,%rsi)
	jne	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	decq	%rsi
	movq	%rbx, %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_strbuf_setlen
	movl	-56(%rbp), %eax
	testl	%eax, %eax
	jne	LBB0_8
LBB0_10:
	movq	(%r12), %rdi
	leaq	-64(%rbp), %rsi
	movq	%r15, %rdx
	callq	_alt_odb_usable
	testl	%eax, %eax
	je	LBB0_12
## %bb.11:
	movl	$1, %edi
	movl	$16, %esi
	callq	_xcalloc
	movq	%rax, %rbx
	movq	-64(%rbp), %rdi
	callq	_xstrdup
	movl	%eax, 8(%rbx)
	movq	(%r12), %rax
	movq	(%rax), %rax
	movq	%rbx, (%rax)
	movq	(%r12), %rax
	movq	%rbx, (%rax)
	movq	$0, (%rbx)
	movq	-64(%rbp), %rsi
	movl	-68(%rbp), %edx                 ## 4-byte Reload
	incl	%edx
	movq	%r12, %rdi
	callq	_read_info_alternates
	xorl	%ebx, %ebx
	jmp	LBB0_13
LBB0_12:
	movl	$-1, %ebx
LBB0_13:
	leaq	-64(%rbp), %rdi
	callq	_strbuf_release
	movl	%ebx, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_STRBUF_INIT,16,3               ## @STRBUF_INIT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"unable to normalize alternate object path: %s"

	.no_dead_strip	_link_alt_odb_entry
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function link_alt_odb_entry
_link_alt_odb_entry:                    ; @link_alt_odb_entry
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.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
	mov	x21, x4
	mov	x19, x3
	mov	x22, x2
	mov	x23, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _STRBUF_INIT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _STRBUF_INIT@GOTPAGEOFF]
Lloh2:
	ldr	q0, [x8]
	str	q0, [sp]
	mov	x0, x1
	bl	_is_absolute_path
	cbz	x22, LBB0_3
; %bb.1:
	cbnz	w0, LBB0_3
; %bb.2:
	mov	x0, sp
	mov	x1, x22
	mov	w2, #1
	bl	_strbuf_realpath
	mov	x0, sp
	mov	w1, #47
	bl	_strbuf_addch
LBB0_3:
	mov	x0, sp
	mov	x1, x23
	bl	_strbuf_addstr
	mov	x0, sp
	bl	_strbuf_normalize_path
	cbz	x22, LBB0_7
; %bb.4:
	tbz	x0, #63, LBB0_7
; %bb.5:
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	__
	ldr	x1, [sp]
	bl	_error
	b	LBB0_11
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, sp
                                        ; kill: def $w1 killed $w1 killed $x1
	bl	_strbuf_setlen
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [sp, #8]
	cbz	w8, LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	x9, [sp]
	sxtw	x8, w8
	sub	x1, x8, #1
	ldrb	w8, [x9, x1]
	cmp	w8, #47
	b.eq	LBB0_6
LBB0_9:
	ldr	x0, [x20]
	mov	x1, sp
	mov	x2, x21
	bl	_alt_odb_usable
	cbz	w0, LBB0_11
; %bb.10:
	mov	w0, #1
	mov	w1, #16
	bl	_xcalloc
	mov	x21, x0
	ldr	x0, [sp]
	bl	_xstrdup
	str	w0, [x21, #8]
	ldr	x8, [x20]
	ldr	x8, [x8]
	str	x21, [x8]
	ldr	x8, [x20]
	str	x21, [x8]
	str	xzr, [x21]
	ldr	x1, [sp]
	add	w2, w19, #1
	mov	x0, x20
	bl	_read_info_alternates
	mov	w19, #0
	b	LBB0_12
LBB0_11:
	mov	w19, #-1
LBB0_12:
	mov	x0, sp
	bl	_strbuf_release
	mov	x0, x19
	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
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_STRBUF_INIT,16,3               ; @STRBUF_INIT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"unable to normalize alternate object path: %s"

	.no_dead_strip	_link_alt_odb_entry
.subsections_via_symbols
