	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function resolve_relative_path
_resolve_relative_path:                 ## @resolve_relative_path
	.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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_starts_with
	testl	%eax, %eax
	jne	LBB0_2
## %bb.1:
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	callq	_starts_with
	testl	%eax, %eax
	je	LBB0_9
LBB0_2:
	movq	_the_repository@GOTPCREL(%rip), %rax
	cmpq	%rbx, (%rax)
	je	LBB0_3
LBB0_4:
	leaq	L_.str.2(%rip), %rdi
	callq	_die
	jmp	LBB0_5
LBB0_3:
	xorl	%eax, %eax
	callq	_is_inside_work_tree
	testl	%eax, %eax
	je	LBB0_4
LBB0_5:
	movq	_startup_info@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax), %rbx
	testq	%rbx, %rbx
	je	LBB0_6
## %bb.7:
	movq	%rbx, %rdi
	callq	_strlen
	movl	%eax, %esi
	jmp	LBB0_8
LBB0_6:
	xorl	%esi, %esi
LBB0_8:
	movq	%rbx, %rdi
	movq	%r14, %rdx
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_prefix_path                    ## TAILCALL
LBB0_9:
	xorl	%eax, %eax
	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	"../"

	.comm	_the_repository,8,3             ## @the_repository
L_.str.2:                               ## @.str.2
	.asciz	"relative path syntax can't be used outside working tree."

	.comm	_startup_info,8,3               ## @startup_info
	.no_dead_strip	_resolve_relative_path
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function resolve_relative_path
_resolve_relative_path:                 ; @resolve_relative_path
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_starts_with
	cbnz	w0, LBB0_2
; %bb.1:
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_starts_with
	cbz	w0, LBB0_9
LBB0_2:
Lloh4:
	adrp	x8, _the_repository@GOTPAGE
Lloh5:
	ldr	x8, [x8, _the_repository@GOTPAGEOFF]
Lloh6:
	ldr	x8, [x8]
	cmp	x8, x20
	b.eq	LBB0_4
LBB0_3:
Lloh7:
	adrp	x0, l_.str.2@PAGE
Lloh8:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_die
	b	LBB0_5
LBB0_4:
	bl	_is_inside_work_tree
	cbz	w0, LBB0_3
LBB0_5:
Lloh9:
	adrp	x8, _startup_info@GOTPAGE
Lloh10:
	ldr	x8, [x8, _startup_info@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	ldr	x20, [x8]
	cbz	x20, LBB0_7
; %bb.6:
	mov	x0, x20
	bl	_strlen
	mov	x1, x0
	b	LBB0_8
LBB0_7:
	mov	w1, #0
LBB0_8:
	mov	x0, x20
	mov	x2, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_prefix_path
LBB0_9:
	mov	x0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"./"

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

	.comm	_the_repository,8,3             ; @the_repository
l_.str.2:                               ; @.str.2
	.asciz	"relative path syntax can't be used outside working tree."

	.comm	_startup_info,8,3               ; @startup_info
	.no_dead_strip	_resolve_relative_path
.subsections_via_symbols
