	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function files_ref_path
_files_ref_path:                        ## @files_ref_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	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	%rdx, -32(%rbp)
	movq	%rdx, %rdi
	callq	_ref_type
                                        ## kill: def $eax killed $eax def $rax
	leal	-128(%rax), %ecx
	cmpl	$2, %ecx
	jb	LBB0_7
## %bb.1:
	leal	-130(%rax), %ecx
	cmpl	$2, %ecx
	jb	LBB0_5
## %bb.2:
	cmpl	$132, %eax
	jne	LBB0_6
## %bb.3:
	leaq	L_.str.1(%rip), %rsi
	leaq	-32(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_skip_prefix
	testl	%eax, %eax
	jne	LBB0_5
## %bb.4:
	movq	-32(%rbp), %rsi
	leaq	L_.str.2(%rip), %rdi
	xorl	%eax, %eax
	callq	_BUG
LBB0_5:
	movl	(%r15), %edx
	movq	-32(%rbp), %rcx
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_strbuf_addf
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movl	4(%r15), %edx
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	movq	%rbx, %rcx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_strbuf_addf                    ## TAILCALL
LBB0_6:
	movq	%rbx, %rdi
	callq	_ref_type
	leaq	L_.str.3(%rip), %rdi
	movl	%eax, %esi
	movq	%rbx, %rdx
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_BUG                            ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s/%s"

L_.str.1:                               ## @.str.1
	.asciz	"main-worktree/"

L_.str.2:                               ## @.str.2
	.asciz	"ref %s is not a main pseudoref"

L_.str.3:                               ## @.str.3
	.asciz	"unknown ref type %d of ref %s"

	.no_dead_strip	_files_ref_path
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function files_ref_path
_files_ref_path:                        ; @files_ref_path
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	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
	mov	x21, x2
	mov	x19, x1
	mov	x20, x0
	str	x2, [sp, #24]
	mov	x0, x2
	bl	_ref_type
	sub	w8, w0, #128
	cmp	w8, #2
	b.lo	LBB0_6
; %bb.1:
	sub	w8, w0, #130
	cmp	w8, #2
	b.lo	LBB0_5
; %bb.2:
	cmp	w0, #132
	b.ne	LBB0_7
; %bb.3:
Lloh0:
	adrp	x1, l_.str.1@PAGE
Lloh1:
	add	x1, x1, l_.str.1@PAGEOFF
	add	x2, sp, #24
	mov	x0, x21
	bl	_skip_prefix
	cbnz	w0, LBB0_5
; %bb.4:
	ldr	x8, [sp, #24]
	str	x8, [sp]
Lloh2:
	adrp	x0, l_.str.2@PAGE
Lloh3:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_BUG
LBB0_5:
	ldr	w2, [x20]
	ldr	x3, [sp, #24]
Lloh4:
	adrp	x1, l_.str@PAGE
Lloh5:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_strbuf_addf
	b	LBB0_8
LBB0_6:
	ldr	w2, [x20, #4]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	mov	x3, x21
	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
	add	sp, sp, #80
	b	_strbuf_addf
LBB0_7:
	mov	x0, x21
	bl	_ref_type
                                        ; kill: def $w0 killed $w0 def $x0
	stp	x0, x21, [sp]
Lloh8:
	adrp	x0, l_.str.3@PAGE
Lloh9:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_BUG
LBB0_8:
	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
	add	sp, sp, #80
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s/%s"

l_.str.1:                               ; @.str.1
	.asciz	"main-worktree/"

l_.str.2:                               ; @.str.2
	.asciz	"ref %s is not a main pseudoref"

l_.str.3:                               ; @.str.3
	.asciz	"unknown ref type %d of ref %s"

	.no_dead_strip	_files_ref_path
.subsections_via_symbols
