	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function add_parents_only
_add_parents_only:                      ## @add_parents_only
	.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
	movl	%ecx, %r12d
	movl	%edx, %ebx
	movq	%rsi, %r14
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	movq	_UNINTERESTING@GOTPCREL(%rip), %rax
	movq	_BOTTOM@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r13d
	orl	(%rax), %r13d
	xorl	%eax, %eax
	xorl	%r15d, %r15d
	cmpb	$94, (%rsi)
	sete	%r15b
	cmovnel	%eax, %r13d
	addq	%rsi, %r15
	leaq	-48(%rbp), %rsi
	movq	%r15, %rdi
	callq	_get_oid_committish
	testq	%rax, %rax
	movl	$0, %eax
	jne	LBB0_1
## %bb.2:
	movq	%r14, -80(%rbp)                 ## 8-byte Spill
	movq	%r12, -72(%rbp)                 ## 8-byte Spill
	xorl	%ebx, %r13d
	leaq	-48(%rbp), %rbx
	movq	%r15, %r14
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%r14, %rsi
	movq	%rbx, %rdx
	xorl	%ecx, %ecx
	callq	_get_reference
	movq	%rax, %r12
	testq	%rax, %rax
	jne	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	cmpq	$0, (%rax)
	jne	LBB0_20
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	(%r12), %r15
	movq	_OBJ_TAG@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r15
	jne	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	testq	%r15, %r15
	je	LBB0_20
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	leaq	-48(%rbp), %rbx
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_oidcpy
	jmp	LBB0_3
LBB0_8:
	movq	_OBJ_COMMIT@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r15
	jne	LBB0_20
## %bb.9:
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	testl	%ebx, %ebx
	je	LBB0_12
## %bb.10:
	movq	%r15, %rdi
	callq	_commit_list_count
	cmpl	%ebx, %eax
	movl	$0, %eax
	jl	LBB0_1
## %bb.11:
	movq	(%r12), %r15
LBB0_12:
	movl	$1, %eax
	testq	%r15, %r15
	je	LBB0_1
## %bb.13:
	leal	-1(%rbx), %ecx
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	jmp	LBB0_16
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_16 Depth=1
	movq	(%r15), %rbx
	movl	%r13d, %r8d
	orl	%r13d, 8(%rbx)
	movl	%ecx, -60(%rbp)                 ## 4-byte Spill
	movq	_REV_CMD_PARENTS_ONLY@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r12, %rdi
	movq	%rbx, %rsi
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
	callq	_add_rev_cmdline
	movq	%r12, %rdi
	movq	%rbx, %rsi
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	movq	%r14, %rdx
	callq	_add_pending_object
	movl	-60(%rbp), %ecx                 ## 4-byte Reload
LBB0_15:                                ##   in Loop: Header=BB0_16 Depth=1
	movq	8(%r15), %r15
	testq	%r15, %r15
	je	LBB0_21
LBB0_16:                                ## =>This Inner Loop Header: Depth=1
	subl	$1, %ecx
	setb	%al
	testl	%ebx, %ebx
	je	LBB0_14
## %bb.17:                              ##   in Loop: Header=BB0_16 Depth=1
	testb	%al, %al
	je	LBB0_15
	jmp	LBB0_14
LBB0_20:
	xorl	%eax, %eax
LBB0_1:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_21:
	movl	$1, %eax
	jmp	LBB0_1
	.cfi_endproc
                                        ## -- End function
	.comm	_UNINTERESTING,4,2              ## @UNINTERESTING
	.comm	_BOTTOM,4,2                     ## @BOTTOM
	.comm	_OBJ_TAG,8,3                    ## @OBJ_TAG
	.comm	_OBJ_COMMIT,8,3                 ## @OBJ_COMMIT
	.comm	_REV_CMD_PARENTS_ONLY,4,2       ## @REV_CMD_PARENTS_ONLY
	.no_dead_strip	_add_parents_only
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function add_parents_only
_add_parents_only:                      ; @add_parents_only
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x3
	mov	x23, x2
	mov	x20, x1
	mov	x21, x0
	mov	x8, x1
	ldrb	w9, [x8], #1
Lloh0:
	adrp	x10, _UNINTERESTING@GOTPAGE
Lloh1:
	ldr	x10, [x10, _UNINTERESTING@GOTPAGEOFF]
Lloh2:
	adrp	x11, _BOTTOM@GOTPAGE
Lloh3:
	ldr	x11, [x11, _BOTTOM@GOTPAGEOFF]
Lloh4:
	ldr	w10, [x10]
Lloh5:
	ldr	w11, [x11]
	orr	w10, w11, w10
	cmp	w9, #94
	csel	w24, w10, wzr, eq
	csel	x22, x1, x8, ne
	add	x1, sp, #8
	mov	x0, x22
	bl	_get_oid_committish
	mov	x8, x0
	mov	w0, #0
	cbnz	x8, LBB0_11
; %bb.1:
	eor	w23, w24, w23
Lloh6:
	adrp	x26, _OBJ_TAG@GOTPAGE
Lloh7:
	ldr	x26, [x26, _OBJ_TAG@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	add	x2, sp, #8
	mov	x0, x21
	mov	x1, x22
	mov	w3, #0
	bl	_get_reference
	mov	x25, x0
	cbnz	x0, LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x21]
	cbnz	x8, LBB0_10
LBB0_4:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	x24, [x25]
	ldr	x8, [x26]
	cmp	x24, x8
	b.ne	LBB0_7
; %bb.5:                                ;   in Loop: Header=BB0_2 Depth=1
	cbz	x24, LBB0_10
; %bb.6:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x0, sp, #8
	mov	x1, x24
	bl	_oidcpy
	b	LBB0_2
LBB0_7:
Lloh8:
	adrp	x8, _OBJ_COMMIT@GOTPAGE
Lloh9:
	ldr	x8, [x8, _OBJ_COMMIT@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	cmp	x24, x8
	b.ne	LBB0_10
; %bb.8:
	cbz	w19, LBB0_13
; %bb.9:
	mov	x0, x24
	bl	_commit_list_count
	cmp	w0, w19
	b.ge	LBB0_12
LBB0_10:
	mov	w0, #0
LBB0_11:
	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
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_12:
	ldr	x24, [x25]
LBB0_13:
	cbz	x24, LBB0_19
; %bb.14:
	sub	w26, w19, #1
Lloh11:
	adrp	x27, _REV_CMD_PARENTS_ONLY@GOTPAGE
Lloh12:
	ldr	x27, [x27, _REV_CMD_PARENTS_ONLY@GOTPAGEOFF]
	b	LBB0_17
LBB0_15:                                ;   in Loop: Header=BB0_17 Depth=1
	ldr	x25, [x24]
	ldr	w8, [x25, #8]
	orr	w8, w8, w23
	str	w8, [x25, #8]
	ldr	w3, [x27]
	mov	x0, x21
	mov	x1, x25
	mov	x2, x20
	mov	x4, x23
	bl	_add_rev_cmdline
	mov	x0, x21
	mov	x1, x25
	mov	x2, x22
	bl	_add_pending_object
LBB0_16:                                ;   in Loop: Header=BB0_17 Depth=1
	ldr	x24, [x24, #8]
	sub	w26, w26, #1
	cbz	x24, LBB0_19
LBB0_17:                                ; =>This Inner Loop Header: Depth=1
	cbz	w19, LBB0_15
; %bb.18:                               ;   in Loop: Header=BB0_17 Depth=1
	cbnz	w26, LBB0_16
	b	LBB0_15
LBB0_19:
	mov	w0, #1
	b	LBB0_11
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_UNINTERESTING,4,2              ; @UNINTERESTING
	.comm	_BOTTOM,4,2                     ; @BOTTOM
	.comm	_OBJ_TAG,8,3                    ; @OBJ_TAG
	.comm	_OBJ_COMMIT,8,3                 ; @OBJ_COMMIT
	.comm	_REV_CMD_PARENTS_ONLY,4,2       ; @REV_CMD_PARENTS_ONLY
	.no_dead_strip	_add_parents_only
.subsections_via_symbols
