	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function got_oid
_got_oid:                               ## @got_oid
	.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
	movq	%rdx, %r14
	movq	%rsi, %r12
	movq	%rdi, %rbx
	callq	_get_oid_hex
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
	movq	%rbx, %rsi
	callq	_die
LBB0_2:
	movq	%r12, %rdi
	callq	_has_object_file
	testl	%eax, %eax
	je	LBB0_3
## %bb.4:
	movq	_the_repository@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r12, %rsi
	callq	_parse_object
	movq	%rax, %r15
	testq	%rax, %rax
	jne	LBB0_6
## %bb.5:
	movq	%r12, %rdi
	callq	_oid_to_hex
	leaq	L_.str.1(%rip), %rdi
	movq	%rax, %rsi
	callq	_die
LBB0_6:
	movq	(%r15), %rsi
	movq	_OBJ_COMMIT@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rsi
	jne	LBB0_17
## %bb.7:
	movl	8(%r15), %ecx
	movq	_THEY_HAVE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	testl	%ecx, %edx
	jne	LBB0_9
## %bb.8:
	movl	%edx, %edi
	orl	%ecx, %edi
	movl	%edi, 8(%r15)
LBB0_9:
	movq	_oldest_have@GOTPCREL(%rip), %rdi
	movq	(%rdi), %rbx
	testq	%rbx, %rbx
	je	LBB0_11
## %bb.10:
	cmpq	%rbx, %rsi
	jge	LBB0_12
LBB0_11:
	movq	%rsi, (%rdi)
LBB0_12:
	movq	8(%r15), %rsi
	testq	%rsi, %rsi
	je	LBB0_16
## %bb.13:
	movq	(%rsi), %rdi
	orl	%edx, (%rdi)
	.p2align	4, 0x90
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	movq	8(%rsi), %rsi
	testq	%rsi, %rsi
	je	LBB0_16
## %bb.14:                              ##   in Loop: Header=BB0_15 Depth=1
	movl	(%rax), %edi
	movq	(%rsi), %rbx
	orl	%edi, (%rbx)
	jmp	LBB0_15
LBB0_3:
	movl	$-1, %eax
	jmp	LBB0_18
LBB0_16:
	xorl	%eax, %eax
	testl	%ecx, %edx
	jne	LBB0_18
LBB0_17:
	movq	%r15, %rdi
	xorl	%esi, %esi
	movq	%r14, %rdx
	callq	_add_object_array
	movl	$1, %eax
LBB0_18:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"git upload-pack: expected SHA1 object, got '%s'"

	.comm	_the_repository,4,2             ## @the_repository
L_.str.1:                               ## @.str.1
	.asciz	"oops (%s)"

	.comm	_OBJ_COMMIT,8,3                 ## @OBJ_COMMIT
	.comm	_THEY_HAVE,4,2                  ## @THEY_HAVE
	.comm	_oldest_have,8,3                ## @oldest_have
	.no_dead_strip	_got_oid
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function got_oid
_got_oid:                               ; @got_oid
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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, x2
	mov	x21, x1
	mov	x20, x0
	bl	_get_oid_hex
	cbz	x0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x20
	bl	_die
LBB0_2:
	mov	x0, x21
	bl	_has_object_file
	cbz	w0, LBB0_16
; %bb.3:
Lloh2:
	adrp	x8, _the_repository@GOTPAGE
Lloh3:
	ldr	x8, [x8, _the_repository@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	mov	x1, x21
	bl	_parse_object
	mov	x20, x0
	cbnz	x0, LBB0_5
; %bb.4:
	mov	x0, x21
	bl	_oid_to_hex
	mov	x1, x0
Lloh5:
	adrp	x0, l_.str.1@PAGE
Lloh6:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_die
LBB0_5:
	ldr	x11, [x20]
Lloh7:
	adrp	x8, _OBJ_COMMIT@GOTPAGE
Lloh8:
	ldr	x8, [x8, _OBJ_COMMIT@GOTPAGEOFF]
Lloh9:
	ldr	x8, [x8]
	cmp	x11, x8
	b.ne	LBB0_15
; %bb.6:
	ldr	w12, [x20, #8]
Lloh10:
	adrp	x8, _THEY_HAVE@GOTPAGE
Lloh11:
	ldr	x8, [x8, _THEY_HAVE@GOTPAGEOFF]
	ldr	w10, [x8]
	ands	w9, w10, w12
	b.ne	LBB0_8
; %bb.7:
	orr	w12, w10, w12
	str	w12, [x20, #8]
LBB0_8:
Lloh12:
	adrp	x12, _oldest_have@GOTPAGE
Lloh13:
	ldr	x12, [x12, _oldest_have@GOTPAGEOFF]
	ldr	x13, [x12]
	cmp	x13, #0
	ccmp	x11, x13, #8, ne
	b.ge	LBB0_10
; %bb.9:
	str	x11, [x12]
LBB0_10:
	ldr	x11, [x20, #8]
	cbz	x11, LBB0_13
; %bb.11:
	ldp	x12, x11, [x11]
	ldr	w13, [x12]
	orr	w10, w13, w10
	str	w10, [x12]
	cbz	x11, LBB0_13
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	ldr	w10, [x8]
	ldr	x12, [x11]
	ldr	w13, [x12]
	orr	w10, w13, w10
	str	w10, [x12]
	ldr	x11, [x11, #8]
	cbnz	x11, LBB0_12
LBB0_13:
	cbz	w9, LBB0_15
; %bb.14:
	mov	w0, #0
	b	LBB0_17
LBB0_15:
	mov	x0, x20
	mov	x1, #0
	mov	x2, x19
	bl	_add_object_array
	mov	w0, #1
	b	LBB0_17
LBB0_16:
	mov	w0, #-1
LBB0_17:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"git upload-pack: expected SHA1 object, got '%s'"

	.comm	_the_repository,4,2             ; @the_repository
l_.str.1:                               ; @.str.1
	.asciz	"oops (%s)"

	.comm	_OBJ_COMMIT,8,3                 ; @OBJ_COMMIT
	.comm	_THEY_HAVE,4,2                  ; @THEY_HAVE
	.comm	_oldest_have,8,3                ; @oldest_have
	.no_dead_strip	_got_oid
.subsections_via_symbols
