	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function parse_treeish_arg
_parse_treeish_arg:                     ## @parse_treeish_arg
	.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	%rdx, %r14
	movq	%rsi, %r15
	movq	(%rdi), %rbx
	testl	%ecx, %ecx
	je	LBB0_5
## %bb.1:
	movq	_remote_allow_unreachable@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jne	LBB0_5
## %bb.2:
	movq	$0, -64(%rbp)
	movq	%rbx, %rdi
	movl	$58, %esi
	callq	_strchrnul
	movq	%rax, %r12
	subl	%ebx, %r12d
	leaq	-48(%rbp), %rdx
	leaq	-64(%rbp), %rcx
	movq	%rbx, %rdi
	movl	%r12d, %esi
	callq	_dwim_ref
	testl	%eax, %eax
	jne	LBB0_4
## %bb.3:
	leaq	L_.str(%rip), %rdi
	callq	__
	movl	%eax, %edi
	movl	%r12d, %esi
	movq	%rbx, %rdx
	xorl	%eax, %eax
	callq	_die
LBB0_4:
	movq	-64(%rbp), %rdi
	callq	_free
LBB0_5:
	leaq	-48(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_get_oid
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	leaq	L_.str.1(%rip), %rdi
	callq	__
	movl	%eax, %edi
	movq	%rbx, %rsi
	xorl	%eax, %eax
	callq	_die
LBB0_7:
	movl	32(%r15), %edi
	leaq	-48(%rbp), %rsi
	movl	$1, %edx
	callq	_lookup_commit_reference_gently
	movq	%rax, %r13
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:
	movq	%r13, %r12
	addq	$4, %r12
	movl	(%r13), %eax
	jmp	LBB0_10
LBB0_9:
	xorl	%r12d, %r12d
	xorl	%edi, %edi
	callq	_time
LBB0_10:
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
	leaq	-48(%rbp), %rdi
	callq	_parse_tree_indirect
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_11
## %bb.12:
	testq	%r14, %r14
	jne	LBB0_13
	jmp	LBB0_17
LBB0_11:
	leaq	L_.str.2(%rip), %rdi
	callq	__
	movq	%r14, -72(%rbp)                 ## 8-byte Spill
	movl	%eax, %r14d
	leaq	-48(%rbp), %rdi
	callq	_oid_to_hex
	movl	%r14d, %edi
	movq	-72(%rbp), %r14                 ## 8-byte Reload
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_die
	testq	%r14, %r14
	je	LBB0_17
LBB0_13:
	movl	32(%r15), %edi
	leaq	-64(%rbp), %rcx
	leaq	-50(%rbp), %r8
	movq	%rbx, %rsi
	movq	%r14, %rdx
	callq	_get_tree_entry
	testl	%eax, %eax
	je	LBB0_14
LBB0_15:
	leaq	L_.str.3(%rip), %rdi
	callq	__
	movl	%eax, %edi
	xorl	%eax, %eax
	callq	_die
	jmp	LBB0_16
LBB0_14:
	movzwl	-50(%rbp), %edi
	callq	_S_ISDIR
	testl	%eax, %eax
	je	LBB0_15
LBB0_16:
	leaq	-64(%rbp), %rdi
	callq	_parse_tree_indirect
	movq	%rax, %rbx
LBB0_17:
	movq	%rbx, 24(%r15)
	movq	%r12, 16(%r15)
	movq	%r13, 8(%r15)
	movl	-56(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, (%r15)
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_remote_allow_unreachable,4,2   ## @remote_allow_unreachable
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"no such ref: %.*s"

L_.str.1:                               ## @.str.1
	.asciz	"not a valid object name: %s"

L_.str.2:                               ## @.str.2
	.asciz	"not a tree object: %s"

L_.str.3:                               ## @.str.3
	.asciz	"current working directory is untracked"

	.no_dead_strip	_parse_treeish_arg
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function parse_treeish_arg
_parse_treeish_arg:                     ; @parse_treeish_arg
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x20, x2
	mov	x19, x1
	ldr	x21, [x0]
	cbz	w3, LBB0_5
; %bb.1:
Lloh0:
	adrp	x8, _remote_allow_unreachable@GOTPAGE
Lloh1:
	ldr	x8, [x8, _remote_allow_unreachable@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cbnz	w8, LBB0_5
; %bb.2:
	str	xzr, [sp, #32]
	mov	x0, x21
	mov	w1, #58
	bl	_strchrnul
	sub	w22, w0, w21
	add	x2, sp, #40
	add	x3, sp, #32
	mov	x0, x21
	mov	x1, x22
	bl	_dwim_ref
	cbnz	w0, LBB0_4
; %bb.3:
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	__
	stp	x22, x21, [sp]
	bl	_die
LBB0_4:
	ldr	x0, [sp, #32]
	bl	_free
LBB0_5:
	add	x1, sp, #40
	mov	x0, x21
	bl	_get_oid
	cbz	x0, LBB0_7
; %bb.6:
Lloh5:
	adrp	x0, l_.str.1@PAGE
Lloh6:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	__
	str	x21, [sp]
	bl	_die
LBB0_7:
	ldr	w0, [x19, #32]
	add	x1, sp, #40
	mov	w2, #1
	bl	_lookup_commit_reference_gently
	mov	x21, x0
	cbz	x0, LBB0_9
; %bb.8:
	mov	x25, x21
	ldr	w22, [x25], #4
	b	LBB0_10
LBB0_9:
	bl	_time
	mov	x22, x0
	mov	x25, #0
LBB0_10:
	add	x0, sp, #40
	bl	_parse_tree_indirect
	mov	x23, x0
	cbz	x0, LBB0_12
; %bb.11:
	cbnz	x20, LBB0_13
	b	LBB0_17
LBB0_12:
Lloh7:
	adrp	x0, l_.str.2@PAGE
Lloh8:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	__
	mov	x24, x0
	add	x0, sp, #40
	bl	_oid_to_hex
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
	mov	x0, x24
	bl	_die
	cbz	x20, LBB0_17
LBB0_13:
	ldr	w0, [x19, #32]
	add	x3, sp, #32
	add	x4, sp, #30
	mov	x1, x23
	mov	x2, x20
	bl	_get_tree_entry
	cbz	w0, LBB0_15
LBB0_14:
Lloh9:
	adrp	x0, l_.str.3@PAGE
Lloh10:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	__
	bl	_die
	b	LBB0_16
LBB0_15:
	ldrh	w0, [sp, #30]
	bl	_S_ISDIR
	cbz	w0, LBB0_14
LBB0_16:
	add	x0, sp, #32
	bl	_parse_tree_indirect
	mov	x23, x0
LBB0_17:
	stp	x25, x23, [x19, #16]
	str	x21, [x19, #8]
	str	w22, [x19]
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_remote_allow_unreachable,4,2   ; @remote_allow_unreachable
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"no such ref: %.*s"

l_.str.1:                               ; @.str.1
	.asciz	"not a valid object name: %s"

l_.str.2:                               ; @.str.2
	.asciz	"not a tree object: %s"

l_.str.3:                               ; @.str.3
	.asciz	"current working directory is untracked"

	.no_dead_strip	_parse_treeish_arg
.subsections_via_symbols
