	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cmd__match_trees               ## -- Begin function cmd__match_trees
	.p2align	4, 0x90
_cmd__match_trees:                      ## @cmd__match_trees
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	xorl	%eax, %eax
	callq	_setup_git_directory
	movq	8(%r15), %rdi
	leaq	-40(%rbp), %rsi
	callq	_get_oid
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	8(%r15), %rsi
	leaq	L_.str(%rip), %rdi
	callq	_die
LBB0_2:
	movq	16(%r15), %rdi
	leaq	-32(%rbp), %rsi
	callq	_get_oid
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	16(%r15), %rsi
	leaq	L_.str(%rip), %rdi
	callq	_die
LBB0_4:
	leaq	-40(%rbp), %rdi
	callq	_parse_tree_indirect
	movq	%rax, %r14
	testq	%rax, %rax
	jne	LBB0_6
## %bb.5:
	movq	8(%r15), %rsi
	leaq	L_.str.1(%rip), %rdi
	callq	_die
LBB0_6:
	leaq	-32(%rbp), %rdi
	callq	_parse_tree_indirect
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_8
## %bb.7:
	movq	16(%r15), %rsi
	leaq	L_.str.1(%rip), %rdi
	callq	_die
LBB0_8:
	movq	_the_repository@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-48(%rbp), %r15
	movq	%r14, %rsi
	movq	%rbx, %rdx
	movq	%r15, %rcx
	movl	$-1, %r8d
	callq	_shift_tree
	movq	%r15, %rdi
	callq	_oid_to_hex
	leaq	L_.str.2(%rip), %rdi
	movq	%rax, %rsi
	callq	_printf
	xorl	%edi, %edi
	callq	_exit
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"cannot parse %s as an object name"

L_.str.1:                               ## @.str.1
	.asciz	"not a tree-ish %s"

	.comm	_the_repository,4,2             ## @the_repository
L_.str.2:                               ## @.str.2
	.asciz	"shifted: %s\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cmd__match_trees               ; -- Begin function cmd__match_trees
	.p2align	2
_cmd__match_trees:                      ; @cmd__match_trees
	.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	x19, x1
	bl	_setup_git_directory
	ldr	x0, [x19, #8]
	add	x1, sp, #24
	bl	_get_oid
	cbz	x0, LBB0_2
; %bb.1:
	ldr	x1, [x19, #8]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_die
LBB0_2:
	ldr	x0, [x19, #16]
	add	x1, sp, #16
	bl	_get_oid
	cbz	x0, LBB0_4
; %bb.3:
	ldr	x1, [x19, #16]
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
	bl	_die
LBB0_4:
	add	x0, sp, #24
	bl	_parse_tree_indirect
	mov	x20, x0
	cbnz	x0, LBB0_6
; %bb.5:
	ldr	x1, [x19, #8]
Lloh4:
	adrp	x0, l_.str.1@PAGE
Lloh5:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_die
LBB0_6:
	add	x0, sp, #16
	bl	_parse_tree_indirect
	mov	x21, x0
	cbnz	x0, LBB0_8
; %bb.7:
	ldr	x1, [x19, #16]
Lloh6:
	adrp	x0, l_.str.1@PAGE
Lloh7:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_die
LBB0_8:
Lloh8:
	adrp	x8, _the_repository@GOTPAGE
Lloh9:
	ldr	x8, [x8, _the_repository@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	add	x3, sp, #8
	mov	x1, x20
	mov	x2, x21
	mov	w4, #-1
	bl	_shift_tree
	add	x0, sp, #8
	bl	_oid_to_hex
	mov	x1, x0
Lloh11:
	adrp	x0, l_.str.2@PAGE
Lloh12:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_printf
	mov	w0, #0
	bl	_exit
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"cannot parse %s as an object name"

l_.str.1:                               ; @.str.1
	.asciz	"not a tree-ish %s"

	.comm	_the_repository,4,2             ; @the_repository
l_.str.2:                               ; @.str.2
	.asciz	"shifted: %s\n"

.subsections_via_symbols
