	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function commit_is_complete
_commit_is_complete:                    ## @commit_is_complete
	.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	(%rdi), %eax
	movq	_SEEN@GOTPCREL(%rip), %rcx
	movl	$1, %r15d
	testl	%eax, (%rcx)
	jne	LBB0_48
## %bb.1:
	movq	_INCOMPLETE@GOTPCREL(%rip), %r13
	xorl	%r15d, %r15d
	testl	%eax, (%r13)
	jne	LBB0_48
## %bb.2:
	movq	%rdi, %rbx
	leaq	-80(%rbp), %r15
	movq	%r15, %rdi
	xorl	%esi, %esi
	movl	$16, %edx
	callq	_memset
	leaq	-64(%rbp), %r14
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	$16, %edx
	callq	_memset
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movq	%r15, %rdx
	callq	_add_object_array
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movq	%r14, %rdx
	callq	_add_object_array
	movq	_STUDYING@GOTPCREL(%rip), %r14
	movl	(%r14), %eax
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	orl	%eax, (%rbx)
	cmpl	$0, -80(%rbp)
	je	LBB0_15
## %bb.3:
	leaq	-80(%rbp), %r12
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_4 Depth=1
	cmpl	$0, -80(%rbp)
	movq	%r15, %r13
	je	LBB0_15
LBB0_4:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_10 Depth 2
	movq	%r12, %rdi
	callq	_object_array_pop
	movq	%rax, %rbx
	cmpl	$0, 8(%rax)
	jne	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	_the_repository@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	addq	$4, %rsi
	callq	_parse_object
	testl	%eax, %eax
	jne	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	(%r13), %eax
	orl	%eax, (%rbx)
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_4 Depth=1
	movl	(%rbx), %eax
	testl	%eax, (%r13)
	movq	_SEEN@GOTPCREL(%rip), %r10
	jne	LBB0_49
## %bb.8:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%r13, %r15
	testl	%eax, (%r10)
	jne	LBB0_14
## %bb.9:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	16(%rbx), %r13
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_10 Depth=2
	movq	8(%r13), %r13
LBB0_10:                                ##   Parent Loop BB0_4 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	testq	%r13, %r13
	je	LBB0_14
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=2
	movq	(%r13), %rbx
	movl	(%rbx), %eax
	movl	(%r14), %ecx
	testl	%eax, %ecx
	jne	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_10 Depth=2
	orl	%eax, %ecx
	movl	%ecx, (%rbx)
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movq	%r12, %rdx
	callq	_add_object_array
	movq	%rbx, %rdi
	xorl	%esi, %esi
	leaq	-64(%rbp), %rdx
	callq	_add_object_array
	jmp	LBB0_13
LBB0_15:
	movl	$1, %r15d
	cmpl	$0, -64(%rbp)
	jle	LBB0_47
## %bb.16:
	xorl	%ebx, %ebx
	xorl	%r13d, %r13d
	jmp	LBB0_17
	.p2align	4, 0x90
LBB0_19:                                ##   in Loop: Header=BB0_17 Depth=1
	incq	%rbx
	movslq	-64(%rbp), %rax
	cmpq	%rax, %rbx
	jge	LBB0_20
LBB0_17:                                ## =>This Inner Loop Header: Depth=1
	movq	-56(%rbp), %rax
	movq	(%rax,%rbx,8), %r12
	movq	%r12, %rdi
	callq	_get_commit_tree_oid
	movl	%eax, %edi
	callq	_tree_is_complete
	testl	%eax, %eax
	jne	LBB0_19
## %bb.18:                              ##   in Loop: Header=BB0_17 Depth=1
	movq	_INCOMPLETE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%r12)
	movl	$1, %r13d
	jmp	LBB0_19
LBB0_20:
	testl	%r13d, %r13d
	je	LBB0_22
## %bb.21:
	xorl	%r9d, %r9d
	movq	_SEEN@GOTPCREL(%rip), %r10
	movq	-48(%rbp), %r11                 ## 8-byte Reload
	movq	_INCOMPLETE@GOTPCREL(%rip), %r13
	jmp	LBB0_30
LBB0_49:
	movl	-64(%rbp), %eax
	xorl	%r9d, %r9d
	movq	-48(%rbp), %r11                 ## 8-byte Reload
LBB0_30:
	testl	%eax, %eax
	jle	LBB0_37
## %bb.31:
	movq	-56(%rbp), %rdx
	movl	%eax, %r8d
	cmpl	$1, %eax
	jne	LBB0_33
## %bb.32:
	xorl	%edi, %edi
	jmp	LBB0_35
LBB0_33:
	movl	%r8d, %esi
	andl	$-2, %esi
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_34:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r14), %ecx
	notl	%ecx
	movq	(%rdx,%rdi,8), %rbx
	andl	%ecx, (%rbx)
	movl	(%r14), %ecx
	notl	%ecx
	movq	8(%rdx,%rdi,8), %rbx
	andl	%ecx, (%rbx)
	addq	$2, %rdi
	cmpq	%rdi, %rsi
	jne	LBB0_34
LBB0_35:
	testb	$1, %r8b
	je	LBB0_37
## %bb.36:
	movl	(%r14), %ecx
	notl	%ecx
	movq	(%rdx,%rdi,8), %rdx
	andl	%ecx, (%rdx)
LBB0_37:
	testb	%r9b, %r9b
	je	LBB0_41
## %bb.38:
	movl	$1, %r15d
	testl	%eax, %eax
	jle	LBB0_47
## %bb.39:
	movq	-56(%rbp), %rcx
	movl	%eax, %edx
	leaq	-1(%rdx), %rsi
	movl	%edx, %eax
	andl	$3, %eax
	cmpq	$3, %rsi
	jae	LBB0_42
## %bb.40:
	xorl	%esi, %esi
	jmp	LBB0_44
LBB0_41:
	movl	(%r13), %eax
	orl	%eax, (%r11)
	xorl	%r15d, %r15d
	jmp	LBB0_47
LBB0_22:
	testl	%eax, %eax
	jle	LBB0_47
## %bb.23:
	movl	%eax, %ecx
	movq	-56(%rbp), %rsi
	leaq	-1(%rcx), %rdi
	movl	%ecx, %r8d
	andl	$3, %r8d
	cmpq	$3, %rdi
	jae	LBB0_25
## %bb.24:
	xorl	%edi, %edi
	movq	_SEEN@GOTPCREL(%rip), %r10
	movq	-48(%rbp), %r11                 ## 8-byte Reload
	movq	_INCOMPLETE@GOTPCREL(%rip), %r13
	jmp	LBB0_27
LBB0_42:
	andl	$-4, %edx
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_43:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r10), %edi
	movq	(%rcx,%rsi,8), %rbx
	orl	%edi, (%rbx)
	movl	(%r10), %edi
	movq	8(%rcx,%rsi,8), %rbx
	orl	%edi, (%rbx)
	movl	(%r10), %edi
	movq	16(%rcx,%rsi,8), %rbx
	orl	%edi, (%rbx)
	movl	(%r10), %edi
	movq	24(%rcx,%rsi,8), %rbx
	orl	%edi, (%rbx)
	addq	$4, %rsi
	cmpq	%rsi, %rdx
	jne	LBB0_43
LBB0_44:
	testq	%rax, %rax
	je	LBB0_47
## %bb.45:
	leaq	(%rcx,%rsi,8), %rcx
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_46:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r10), %esi
	movq	(%rcx,%rdx,8), %rdi
	orl	%esi, (%rdi)
	incq	%rdx
	cmpq	%rdx, %rax
	jne	LBB0_46
LBB0_47:
	leaq	-80(%rbp), %rdi
	callq	_object_array_clear
	leaq	-64(%rbp), %rdi
	callq	_object_array_clear
LBB0_48:
	movl	%r15d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_25:
	andl	$-4, %ecx
	xorl	%edi, %edi
	movq	_SEEN@GOTPCREL(%rip), %r10
	movq	-48(%rbp), %r11                 ## 8-byte Reload
	movq	_INCOMPLETE@GOTPCREL(%rip), %r13
	.p2align	4, 0x90
LBB0_26:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r10), %ebx
	movq	(%rsi,%rdi,8), %rdx
	orl	%ebx, (%rdx)
	movl	(%r10), %edx
	movq	8(%rsi,%rdi,8), %rbx
	orl	%edx, (%rbx)
	movl	(%r10), %edx
	movq	16(%rsi,%rdi,8), %rbx
	orl	%edx, (%rbx)
	movl	(%r10), %edx
	movq	24(%rsi,%rdi,8), %rbx
	orl	%edx, (%rbx)
	addq	$4, %rdi
	cmpq	%rdi, %rcx
	jne	LBB0_26
LBB0_27:
	movb	$1, %r9b
	testq	%r8, %r8
	je	LBB0_30
## %bb.28:
	leaq	(%rsi,%rdi,8), %rsi
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_29:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r10), %edx
	movq	(%rsi,%rdi,8), %rbx
	orl	%edx, (%rbx)
	incq	%rdi
	cmpq	%rdi, %r8
	jne	LBB0_29
	jmp	LBB0_30
	.cfi_endproc
                                        ## -- End function
	.comm	_SEEN,4,2                       ## @SEEN
	.comm	_INCOMPLETE,4,2                 ## @INCOMPLETE
	.comm	_STUDYING,4,2                   ## @STUDYING
	.comm	_the_repository,4,2             ## @the_repository
	.no_dead_strip	_commit_is_complete
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function commit_is_complete
_commit_is_complete:                    ; @commit_is_complete
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	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
	ldr	w8, [x0]
Lloh0:
	adrp	x21, _SEEN@GOTPAGE
Lloh1:
	ldr	x21, [x21, _SEEN@GOTPAGEOFF]
	ldr	w9, [x21]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
	mov	w20, #1
	b	LBB0_37
LBB0_2:
Lloh2:
	adrp	x22, _INCOMPLETE@GOTPAGE
Lloh3:
	ldr	x22, [x22, _INCOMPLETE@GOTPAGEOFF]
	ldr	w9, [x22]
	tst	w9, w8
	b.eq	LBB0_4
; %bb.3:
	mov	w20, #0
	b	LBB0_37
LBB0_4:
	mov	x19, x0
	add	x0, sp, #16
	mov	w1, #0
	mov	w2, #16
	bl	_memset
	mov	x0, sp
	mov	w1, #0
	mov	w2, #16
	bl	_memset
	add	x2, sp, #16
	mov	x0, x19
	mov	x1, #0
	bl	_add_object_array
	mov	x2, sp
	mov	x0, x19
	mov	x1, #0
	bl	_add_object_array
Lloh4:
	adrp	x23, _STUDYING@GOTPAGE
Lloh5:
	ldr	x23, [x23, _STUDYING@GOTPAGEOFF]
	ldr	w8, [x23]
	ldr	w9, [x19]
	orr	w8, w9, w8
	str	w8, [x19]
	ldr	w8, [sp, #16]
	cbz	w8, LBB0_16
; %bb.5:
Lloh6:
	adrp	x24, _the_repository@GOTPAGE
Lloh7:
	ldr	x24, [x24, _the_repository@GOTPAGEOFF]
	b	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	ldr	w8, [sp, #16]
	cbz	w8, LBB0_16
LBB0_7:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_14 Depth 2
	add	x0, sp, #16
	bl	_object_array_pop
	mov	x20, x0
	ldr	w8, [x0, #8]
	cbnz	w8, LBB0_10
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	w0, [x24]
	add	x1, x20, #4
	bl	_parse_object
	cbnz	w0, LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	w8, [x22]
	ldr	w9, [x20]
	orr	w8, w9, w8
	str	w8, [x20]
LBB0_10:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	w8, [x20]
	ldr	w9, [x22]
	tst	w9, w8
	b.ne	LBB0_23
; %bb.11:                               ;   in Loop: Header=BB0_7 Depth=1
	ldr	w9, [x21]
	tst	w9, w8
	b.ne	LBB0_6
; %bb.12:                               ;   in Loop: Header=BB0_7 Depth=1
	ldr	x25, [x20, #16]
	cbnz	x25, LBB0_14
	b	LBB0_6
LBB0_13:                                ;   in Loop: Header=BB0_14 Depth=2
	ldr	x25, [x25, #8]
	cbz	x25, LBB0_6
LBB0_14:                                ;   Parent Loop BB0_7 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x20, [x25]
	ldr	w8, [x20]
	ldr	w9, [x23]
	tst	w9, w8
	b.ne	LBB0_13
; %bb.15:                               ;   in Loop: Header=BB0_14 Depth=2
	orr	w8, w9, w8
	str	w8, [x20]
	add	x2, sp, #16
	mov	x0, x20
	mov	x1, #0
	bl	_add_object_array
	mov	x2, sp
	mov	x0, x20
	mov	x1, #0
	bl	_add_object_array
	b	LBB0_13
LBB0_16:
	ldr	w8, [sp]
	cmp	w8, #1
	b.lt	LBB0_34
; %bb.17:
	mov	x24, #0
	mov	w25, #0
	b	LBB0_19
LBB0_18:                                ;   in Loop: Header=BB0_19 Depth=1
	add	x24, x24, #1
	ldrsw	x8, [sp]
	cmp	x24, x8
	b.ge	LBB0_21
LBB0_19:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [sp, #8]
	ldr	x20, [x8, x24, lsl #3]
	mov	x0, x20
	bl	_get_commit_tree_oid
	bl	_tree_is_complete
	cbnz	w0, LBB0_18
; %bb.20:                               ;   in Loop: Header=BB0_19 Depth=1
	ldr	w8, [x22]
	ldr	w9, [x20]
	orr	w8, w9, w8
	str	w8, [x20]
	mov	w25, #1
	b	LBB0_18
LBB0_21:
	cbz	w25, LBB0_24
; %bb.22:
	mov	w9, #0
	cmp	w8, #1
	b.ge	LBB0_28
	b	LBB0_30
LBB0_23:
	mov	w9, #0
	ldr	w8, [sp]
	cmp	w8, #1
	b.ge	LBB0_28
	b	LBB0_30
LBB0_24:
	cmp	w8, #1
	b.lt	LBB0_34
; %bb.25:
	and	x9, x8, #0xffffffff
	ldr	x10, [sp, #8]
LBB0_26:                                ; =>This Inner Loop Header: Depth=1
	ldr	w11, [x21]
	ldr	x12, [x10], #8
	ldr	w13, [x12]
	orr	w11, w13, w11
	str	w11, [x12]
	subs	x9, x9, #1
	b.ne	LBB0_26
; %bb.27:
	mov	w9, #1
	cmp	w8, #1
	b.lt	LBB0_30
LBB0_28:
	ldr	x10, [sp, #8]
	mov	w11, w8
LBB0_29:                                ; =>This Inner Loop Header: Depth=1
	ldr	w12, [x23]
	ldr	x13, [x10], #8
	ldr	w14, [x13]
	bic	w12, w14, w12
	str	w12, [x13]
	subs	x11, x11, #1
	b.ne	LBB0_29
LBB0_30:
	cbz	w9, LBB0_35
; %bb.31:
	cmp	w8, #1
	b.lt	LBB0_34
; %bb.32:
	ldr	x9, [sp, #8]
	mov	w8, w8
LBB0_33:                                ; =>This Inner Loop Header: Depth=1
	ldr	w10, [x21]
	ldr	x11, [x9], #8
	ldr	w12, [x11]
	orr	w10, w12, w10
	str	w10, [x11]
	subs	x8, x8, #1
	b.ne	LBB0_33
LBB0_34:
	mov	w20, #1
	b	LBB0_36
LBB0_35:
	mov	w20, #0
	ldr	w8, [x22]
	ldr	w9, [x19]
	orr	w8, w9, w8
	str	w8, [x19]
LBB0_36:
	add	x0, sp, #16
	bl	_object_array_clear
	mov	x0, sp
	bl	_object_array_clear
LBB0_37:
	mov	x0, x20
	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
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_SEEN,4,2                       ; @SEEN
	.comm	_INCOMPLETE,4,2                 ; @INCOMPLETE
	.comm	_STUDYING,4,2                   ; @STUDYING
	.comm	_the_repository,4,2             ; @the_repository
	.no_dead_strip	_commit_is_complete
.subsections_via_symbols
