	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_parent
_get_parent:                            ## @get_parent
	.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
	movl	%r8d, %ebx
	movq	%rcx, %r14
	movq	%rdi, %r15
	movq	_GET_OID_COMMITTISH@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	leaq	-32(%rbp), %rcx
	callq	_get_oid_1
	testl	%eax, %eax
	jne	LBB0_12
## %bb.1:
	leaq	-32(%rbp), %rsi
	movq	%r15, %rdi
	callq	_lookup_commit_reference
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_parse_commit
	testq	%rax, %rax
	je	LBB0_2
LBB0_10:
	movq	_MISSING_OBJECT@GOTPCREL(%rip), %rax
	jmp	LBB0_11
LBB0_2:
	testl	%ebx, %ebx
	je	LBB0_3
## %bb.5:
	movq	(%r15), %rax
	testq	%rax, %rax
	je	LBB0_10
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	decl	%ebx
	je	LBB0_8
## %bb.9:                               ##   in Loop: Header=BB0_7 Depth=1
	movq	(%rax), %rax
	testq	%rax, %rax
	jne	LBB0_7
	jmp	LBB0_10
LBB0_3:
	addq	$8, %r15
	movq	%r14, %rdi
	movq	%r15, %rsi
	jmp	LBB0_4
LBB0_8:
	movq	8(%rax), %rsi
	movq	%r14, %rdi
LBB0_4:
	callq	_oidcpy
	movq	_FOUND@GOTPCREL(%rip), %rax
LBB0_11:
	movl	(%rax), %eax
LBB0_12:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GET_OID_COMMITTISH,4,2         ## @GET_OID_COMMITTISH
	.comm	_MISSING_OBJECT,4,2             ## @MISSING_OBJECT
	.comm	_FOUND,4,2                      ## @FOUND
	.no_dead_strip	_get_parent
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_parent
_get_parent:                            ; @get_parent
	.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, x4
	mov	x19, x3
	mov	x21, x0
Lloh0:
	adrp	x8, _GET_OID_COMMITTISH@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GET_OID_COMMITTISH@GOTPAGEOFF]
Lloh2:
	ldr	w4, [x8]
	add	x3, sp, #8
	bl	_get_oid_1
	cbnz	w0, LBB0_11
; %bb.1:
	add	x1, sp, #8
	mov	x0, x21
	bl	_lookup_commit_reference
	mov	x21, x0
	bl	_parse_commit
	cbz	x0, LBB0_3
LBB0_2:
Lloh3:
	adrp	x8, _MISSING_OBJECT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MISSING_OBJECT@GOTPAGEOFF]
	b	LBB0_10
LBB0_3:
	cbz	w20, LBB0_7
; %bb.4:
	ldr	x8, [x21]
	cbz	x8, LBB0_2
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	subs	w20, w20, #1
	b.eq	LBB0_8
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x8]
	cbnz	x8, LBB0_5
	b	LBB0_2
LBB0_7:
	add	x1, x21, #8
	b	LBB0_9
LBB0_8:
	ldr	x1, [x8, #8]
LBB0_9:
	mov	x0, x19
	bl	_oidcpy
Lloh5:
	adrp	x8, _FOUND@GOTPAGE
Lloh6:
	ldr	x8, [x8, _FOUND@GOTPAGEOFF]
LBB0_10:
	ldr	w0, [x8]
LBB0_11:
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_GET_OID_COMMITTISH,4,2         ; @GET_OID_COMMITTISH
	.comm	_MISSING_OBJECT,4,2             ; @MISSING_OBJECT
	.comm	_FOUND,4,2                      ; @FOUND
	.no_dead_strip	_get_parent
.subsections_via_symbols
