	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function parse_treeish_dataref
_parse_treeish_dataref:                 ## @parse_treeish_dataref
	.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	%rdi, %r14
	movq	(%rdi), %rdi
	cmpb	$58, (%rdi)
	jne	LBB0_4
## %bb.1:
	movq	%r14, %rdi
	callq	_parse_mark_ref_space
	movl	%eax, %edi
	callq	_find_mark
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_3
## %bb.2:
	movq	_command_buf@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdi
	callq	_die
LBB0_3:
	movq	%rbx, %rsi
	addq	$8, %rsi
	leaq	-32(%rbp), %rdi
	callq	_oidcpy
	jmp	LBB0_8
LBB0_4:
	leaq	-32(%rbp), %rsi
	movq	%r14, %rdx
	callq	_parse_oid_hex
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	_command_buf@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.1(%rip), %rdi
	callq	_die
LBB0_6:
	leaq	-32(%rbp), %rdi
	callq	_find_object
	movq	%rax, %rbx
	movq	(%r14), %rax
	leaq	1(%rax), %rcx
	movq	%rcx, (%r14)
	cmpb	$32, (%rax)
	je	LBB0_8
## %bb.7:
	movq	_command_buf@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.2(%rip), %rdi
	callq	_die
LBB0_8:
	leaq	-32(%rbp), %r14
	movq	_OBJ_TREE@GOTPCREL(%rip), %r15
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_9 Depth=1
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_dereference
	movq	%rax, %rbx
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	testq	%rbx, %rbx
	je	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	(%rbx), %rax
	cmpq	(%r15), %rax
	jne	LBB0_11
## %bb.12:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Unknown mark: %s"

	.comm	_command_buf,4,2                ## @command_buf
L_.str.1:                               ## @.str.1
	.asciz	"Invalid dataref: %s"

L_.str.2:                               ## @.str.2
	.asciz	"Missing space after tree-ish: %s"

	.comm	_OBJ_TREE,8,3                   ## @OBJ_TREE
	.no_dead_strip	_parse_treeish_dataref
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function parse_treeish_dataref
_parse_treeish_dataref:                 ; @parse_treeish_dataref
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x20, x0
	ldr	x0, [x0]
	ldrb	w8, [x0]
	cmp	w8, #58
	b.ne	LBB0_4
; %bb.1:
	mov	x0, x20
	bl	_parse_mark_ref_space
	bl	_find_mark
	mov	x19, x0
	cbnz	x0, LBB0_3
; %bb.2:
Lloh0:
	adrp	x8, _command_buf@GOTPAGE
Lloh1:
	ldr	x8, [x8, _command_buf@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_die
LBB0_3:
	add	x1, x19, #8
	add	x0, sp, #8
	bl	_oidcpy
	b	LBB0_8
LBB0_4:
	add	x1, sp, #8
	mov	x2, x20
	bl	_parse_oid_hex
Lloh5:
	adrp	x21, _command_buf@GOTPAGE
Lloh6:
	ldr	x21, [x21, _command_buf@GOTPAGEOFF]
	cbz	x0, LBB0_6
; %bb.5:
	ldr	w1, [x21]
Lloh7:
	adrp	x0, l_.str.1@PAGE
Lloh8:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_die
LBB0_6:
	add	x0, sp, #8
	bl	_find_object
	mov	x19, x0
	ldr	x8, [x20]
	add	x9, x8, #1
	str	x9, [x20]
	ldrb	w8, [x8]
	cmp	w8, #32
	b.eq	LBB0_8
; %bb.7:
	ldr	w1, [x21]
Lloh9:
	adrp	x0, l_.str.2@PAGE
Lloh10:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_die
LBB0_8:
Lloh11:
	adrp	x20, _OBJ_TREE@GOTPAGE
Lloh12:
	ldr	x20, [x20, _OBJ_TREE@GOTPAGEOFF]
	b	LBB0_10
LBB0_9:                                 ;   in Loop: Header=BB0_10 Depth=1
	add	x1, sp, #8
	mov	x0, x19
	bl	_dereference
	mov	x19, x0
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	cbz	x19, LBB0_9
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	ldr	x8, [x19]
	ldr	x9, [x20]
	cmp	x8, x9
	b.ne	LBB0_9
; %bb.12:
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Unknown mark: %s"

	.comm	_command_buf,4,2                ; @command_buf
l_.str.1:                               ; @.str.1
	.asciz	"Invalid dataref: %s"

l_.str.2:                               ; @.str.2
	.asciz	"Missing space after tree-ish: %s"

	.comm	_OBJ_TREE,8,3                   ; @OBJ_TREE
	.no_dead_strip	_parse_treeish_dataref
.subsections_via_symbols
