	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function add_recent_object
_add_recent_object:                     ## @add_recent_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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	cmpq	%rsi, (%rdx)
	jge	LBB0_10
## %bb.1:
	movq	%rdx, %r14
	movq	%rdi, %r15
	movq	_the_repository@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	movq	%r15, %rsi
	xorl	%edx, %edx
	callq	_oid_object_info
	movl	%eax, %ebx
	leal	-129(%rbx), %eax
	cmpl	$2, %eax
	jb	LBB0_6
## %bb.2:
	cmpl	$128, %ebx
	je	LBB0_11
## %bb.3:
	cmpl	$131, %ebx
	jne	LBB0_5
## %bb.4:
	movl	(%r12), %edi
	movq	%r15, %rsi
	callq	_lookup_blob
	jmp	LBB0_7
LBB0_10:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_parse_object_or_die
	jmp	LBB0_7
LBB0_11:
	movl	(%r12), %edi
	movq	%r15, %rsi
	callq	_lookup_tree
LBB0_7:
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_9
	jmp	LBB0_8
LBB0_5:
	movq	%r15, %rdi
	callq	_oid_to_hex
	movl	%eax, %r12d
	movl	%ebx, %edi
	callq	_type_name
	leaq	L_.str.1(%rip), %rdi
	movl	%r12d, %esi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_die
LBB0_8:
	movq	%r15, %rdi
	callq	_oid_to_hex
	leaq	L_.str.2(%rip), %rdi
	xorl	%ebx, %ebx
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_die
LBB0_9:
	movl	8(%r14), %edi
	leaq	L_.str.3(%rip), %rdx
	movq	%rbx, %rsi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_add_pending_object             ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_the_repository,4,2             ## @the_repository
	.section	__TEXT,__cstring,cstring_literals
L_.str.1:                               ## @.str.1
	.asciz	"unknown object type for %s: %s"

L_.str.2:                               ## @.str.2
	.asciz	"unable to lookup %s"

L_.str.3:                               ## @.str.3
	.space	1

	.no_dead_strip	_add_recent_object
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function add_recent_object
_add_recent_object:                     ; @add_recent_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
	ldr	x8, [x2]
	cmp	x8, x1
	b.ge	LBB0_5
; %bb.1:
	mov	x19, x2
	mov	x20, x0
Lloh0:
	adrp	x22, _the_repository@GOTPAGE
Lloh1:
	ldr	x22, [x22, _the_repository@GOTPAGEOFF]
	ldr	w0, [x22]
	mov	x1, x20
	mov	x2, #0
	bl	_oid_object_info
	sub	w8, w0, #129
	cmp	w8, #2
	b.lo	LBB0_6
; %bb.2:
	mov	x21, x0
	cmp	w0, #128
	b.eq	LBB0_7
; %bb.3:
	cmp	w21, #131
	b.ne	LBB0_8
; %bb.4:
	ldr	w0, [x22]
	mov	x1, x20
	bl	_lookup_blob
	mov	x1, x0
	cbnz	x0, LBB0_10
	b	LBB0_9
LBB0_5:
	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
LBB0_6:
	mov	x0, x20
	mov	x1, #0
	bl	_parse_object_or_die
	mov	x1, x0
	cbnz	x0, LBB0_10
	b	LBB0_9
LBB0_7:
	ldr	w0, [x22]
	mov	x1, x20
	bl	_lookup_tree
	mov	x1, x0
	cbnz	x0, LBB0_10
	b	LBB0_9
LBB0_8:
	mov	x0, x20
	bl	_oid_to_hex
	mov	x22, x0
	mov	x0, x21
	bl	_type_name
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x22
	bl	_die
LBB0_9:
	mov	x0, x20
	bl	_oid_to_hex
	mov	x1, x0
Lloh4:
	adrp	x0, l_.str.2@PAGE
Lloh5:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_die
	mov	x1, #0
LBB0_10:
	ldr	w0, [x19, #8]
Lloh6:
	adrp	x2, l_.str.3@PAGE
Lloh7:
	add	x2, x2, l_.str.3@PAGEOFF
	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
	b	_add_pending_object
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_the_repository,4,2             ; @the_repository
	.section	__TEXT,__cstring,cstring_literals
l_.str.1:                               ; @.str.1
	.asciz	"unknown object type for %s: %s"

l_.str.2:                               ; @.str.2
	.asciz	"unable to lookup %s"

l_.str.3:                               ; @.str.3
	.space	1

	.no_dead_strip	_add_recent_object
.subsections_via_symbols
