	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function add_promisor_object
_add_promisor_object:                   ## @add_promisor_object
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r15
	movq	%rdi, %rbx
	movq	_the_repository@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_parse_object
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r12
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_oidset_insert
	movq	(%r12), %rbx
	movq	_OBJ_TREE@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rbx
	jne	LBB0_8
## %bb.3:
	movq	%rbx, %rsi
	shrq	$32, %rsi
	leaq	-40(%rbp), %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	movl	%ebx, %edx
	callq	_init_tree_desc_gently
	testq	%rax, %rax
	jne	LBB0_7
## %bb.4:
	leaq	-40(%rbp), %rdi
	leaq	-48(%rbp), %rsi
	callq	_tree_entry_gently
	testq	%rax, %rax
	je	LBB0_7
## %bb.5:
	leaq	-48(%rbp), %rbx
	leaq	-40(%rbp), %r14
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_oidset_insert
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_tree_entry_gently
	testq	%rax, %rax
	jne	LBB0_6
LBB0_7:
	xorl	%r14d, %r14d
	jmp	LBB0_14
LBB0_1:
	movl	$1, %r14d
LBB0_14:
	movl	%r14d, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	movq	_OBJ_COMMIT@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rbx
	jne	LBB0_12
## %bb.9:
	movq	%r12, %rdi
	callq	_get_commit_tree_oid
	movq	%r15, %rdi
	movq	%rax, %rsi
	callq	_oidset_insert
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	testq	%rbx, %rbx
	je	LBB0_14
## %bb.10:                              ##   in Loop: Header=BB0_11 Depth=1
	movq	(%rbx), %rsi
	movq	%r15, %rdi
	callq	_oidset_insert
	movq	8(%rbx), %rbx
	jmp	LBB0_11
LBB0_12:
	movq	_OBJ_TAG@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	cmpq	(%rax), %rbx
	jne	LBB0_14
## %bb.13:
	movq	%r12, %rdi
	callq	_get_tagged_oid
	movq	%r15, %rdi
	movq	%rax, %rsi
	callq	_oidset_insert
	jmp	LBB0_14
	.cfi_endproc
                                        ## -- End function
	.comm	_the_repository,4,2             ## @the_repository
	.comm	_OBJ_TREE,8,3                   ## @OBJ_TREE
	.comm	_OBJ_COMMIT,8,3                 ## @OBJ_COMMIT
	.comm	_OBJ_TAG,8,3                    ## @OBJ_TAG
	.no_dead_strip	_add_promisor_object
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function add_promisor_object
_add_promisor_object:                   ; @add_promisor_object
	.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	x19, x3
	mov	x20, x0
Lloh0:
	adrp	x8, _the_repository@GOTPAGE
Lloh1:
	ldr	x8, [x8, _the_repository@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	mov	x1, x20
	bl	_parse_object
	cbz	x0, LBB0_5
; %bb.1:
	mov	x21, x0
	mov	x0, x19
	mov	x1, x20
	bl	_oidset_insert
	ldr	x20, [x21]
Lloh3:
	adrp	x8, _OBJ_TREE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _OBJ_TREE@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x20, x8
	b.ne	LBB0_6
; %bb.2:
	lsr	x1, x20, #32
	add	x0, sp, #8
                                        ; kill: def $w1 killed $w1 killed $x1
	mov	x2, x20
	bl	_init_tree_desc_gently
	cbnz	x0, LBB0_11
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x1, sp
	mov	x0, x19
	bl	_oidset_insert
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	add	x0, sp, #8
	mov	x1, sp
	bl	_tree_entry_gently
	cbnz	x0, LBB0_3
	b	LBB0_11
LBB0_5:
	mov	w0, #1
	b	LBB0_12
LBB0_6:
Lloh6:
	adrp	x8, _OBJ_COMMIT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _OBJ_COMMIT@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	cmp	x20, x8
	b.ne	LBB0_9
; %bb.7:
	mov	x0, x21
	bl	_get_commit_tree_oid
	mov	x1, x0
	mov	x0, x19
	bl	_oidset_insert
	cbz	x20, LBB0_11
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x1, [x20]
	mov	x0, x19
	bl	_oidset_insert
	ldr	x20, [x20, #8]
	cbnz	x20, LBB0_8
	b	LBB0_11
LBB0_9:
Lloh9:
	adrp	x8, _OBJ_TAG@GOTPAGE
Lloh10:
	ldr	x8, [x8, _OBJ_TAG@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	cmp	x20, x8
	b.ne	LBB0_11
; %bb.10:
	mov	x0, x21
	bl	_get_tagged_oid
	mov	x1, x0
	mov	x0, x19
	bl	_oidset_insert
LBB0_11:
	mov	w0, #0
LBB0_12:
	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 AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_the_repository,4,2             ; @the_repository
	.comm	_OBJ_TREE,8,3                   ; @OBJ_TREE
	.comm	_OBJ_COMMIT,8,3                 ; @OBJ_COMMIT
	.comm	_OBJ_TAG,8,3                    ; @OBJ_TAG
	.no_dead_strip	_add_promisor_object
.subsections_via_symbols
