	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function reset_hard
_reset_hard:                            ## @reset_hard
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	subq	$56, %rsp
	.cfi_offset %rbx, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -16(%rbp)
	leaq	L_.str(%rip), %rax
	movq	%rax, -64(%rbp)
	testl	%esi, %esi
	je	LBB0_1
## %bb.2:
	leaq	L_.str.1(%rip), %rax
	movq	%rax, -56(%rbp)
	movl	$2, %eax
	jmp	LBB0_3
LBB0_1:
	movl	$1, %eax
LBB0_3:
	movl	%eax, %ebx
	leaq	L_.str.2(%rip), %rax
	movq	%rax, -64(%rbp,%rbx,8)
	leaq	L_.str.3(%rip), %rax
	movq	%rax, -56(%rbp,%rbx,8)
	callq	_oid_to_hex
	movq	%rax, -48(%rbp,%rbx,8)
	movq	$0, -40(%rbp,%rbx,8)
	movq	_RUN_GIT_CMD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-64(%rbp), %rdi
	callq	_run_command_v_opt
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	leaq	L_.str.4(%rip), %rdi
	callq	__
	movl	%eax, %edi
	callq	_die
LBB0_5:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-16(%rbp), %rax
	jne	LBB0_7
## %bb.6:
	addq	$56, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_7:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"read-tree"

L_.str.1:                               ## @.str.1
	.asciz	"-v"

L_.str.2:                               ## @.str.2
	.asciz	"--reset"

L_.str.3:                               ## @.str.3
	.asciz	"-u"

	.comm	_RUN_GIT_CMD,4,2                ## @RUN_GIT_CMD
L_.str.4:                               ## @.str.4
	.asciz	"read-tree failed"

	.no_dead_strip	_reset_hard
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function reset_hard
_reset_hard:                            ; @reset_hard
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
Lloh3:
	adrp	x8, l_.str@PAGE
Lloh4:
	add	x8, x8, l_.str@PAGEOFF
	str	x8, [sp, #8]
	cbz	w1, LBB0_2
; %bb.1:
Lloh5:
	adrp	x8, l_.str.1@PAGE
Lloh6:
	add	x8, x8, l_.str.1@PAGEOFF
	str	x8, [sp, #16]
	mov	w19, #2
	b	LBB0_3
LBB0_2:
	mov	w19, #1
LBB0_3:
Lloh7:
	adrp	x8, l_.str.2@PAGE
Lloh8:
	add	x8, x8, l_.str.2@PAGEOFF
	add	x20, sp, #8
	str	x8, [x20, w19, uxtw #3]
	add	w8, w19, #1
	add	w21, w19, #2
Lloh9:
	adrp	x9, l_.str.3@PAGE
Lloh10:
	add	x9, x9, l_.str.3@PAGEOFF
	str	x9, [x20, w8, uxtw #3]
	bl	_oid_to_hex
	str	x0, [x20, w21, uxtw #3]
	add	w8, w19, #3
	str	xzr, [x20, w8, uxtw #3]
Lloh11:
	adrp	x8, _RUN_GIT_CMD@GOTPAGE
Lloh12:
	ldr	x8, [x8, _RUN_GIT_CMD@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	add	x0, sp, #8
	bl	_run_command_v_opt
	cbz	x0, LBB0_5
; %bb.4:
Lloh14:
	adrp	x0, l_.str.4@PAGE
Lloh15:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	__
	bl	_die
LBB0_5:
	ldur	x8, [x29, #-40]
Lloh16:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh17:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh18:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_7
; %bb.6:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_7:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"read-tree"

l_.str.1:                               ; @.str.1
	.asciz	"-v"

l_.str.2:                               ; @.str.2
	.asciz	"--reset"

l_.str.3:                               ; @.str.3
	.asciz	"-u"

	.comm	_RUN_GIT_CMD,4,2                ; @RUN_GIT_CMD
l_.str.4:                               ; @.str.4
	.asciz	"read-tree failed"

	.no_dead_strip	_reset_hard
.subsections_via_symbols
