	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_delta_base_sha1
_get_delta_base_sha1:                   ## @get_delta_base_sha1
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movl	%edx, -12(%rbp)
	movq	_OBJ_REF_DELTA@GOTPCREL(%rip), %rax
	cmpl	%ecx, (%rax)
	jne	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	xorl	%ecx, %ecx
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_use_pack                       ## TAILCALL
LBB0_2:
	movq	_OBJ_OFS_DELTA@GOTPCREL(%rip), %rax
	cmpl	%ecx, (%rax)
	jne	LBB0_8
## %bb.3:
	leaq	-12(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_get_delta_base
	testl	%eax, %eax
	je	LBB0_8
## %bb.4:
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_find_pack_revindex
	testq	%rax, %rax
	je	LBB0_8
## %bb.5:
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_nth_packed_object_sha1
	jmp	LBB0_9
LBB0_8:
	xorl	%eax, %eax
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_OBJ_REF_DELTA,4,2              ## @OBJ_REF_DELTA
	.comm	_OBJ_OFS_DELTA,4,2              ## @OBJ_OFS_DELTA
	.no_dead_strip	_get_delta_base_sha1
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_delta_base_sha1
_get_delta_base_sha1:                   ; @get_delta_base_sha1
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x0
	str	w2, [sp, #12]
Lloh0:
	adrp	x8, _OBJ_REF_DELTA@GOTPAGE
Lloh1:
	ldr	x8, [x8, _OBJ_REF_DELTA@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w3
	b.ne	LBB0_2
; %bb.1:
	mov	x0, x19
	mov	x3, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	b	_use_pack
LBB0_2:
Lloh3:
	adrp	x8, _OBJ_OFS_DELTA@GOTPAGE
Lloh4:
	ldr	x8, [x8, _OBJ_OFS_DELTA@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmp	w8, w3
	b.ne	LBB0_6
; %bb.3:
	add	x2, sp, #12
	mov	x0, x19
	bl	_get_delta_base
	cbz	w0, LBB0_6
; %bb.4:
	mov	x1, x0
	mov	x0, x19
	bl	_find_pack_revindex
	cbz	x0, LBB0_7
; %bb.5:
	ldr	w1, [x0]
	mov	x0, x19
	bl	_nth_packed_object_sha1
	b	LBB0_7
LBB0_6:
	mov	x0, #0
LBB0_7:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_OBJ_REF_DELTA,4,2              ; @OBJ_REF_DELTA
	.comm	_OBJ_OFS_DELTA,4,2              ; @OBJ_OFS_DELTA
	.no_dead_strip	_get_delta_base_sha1
.subsections_via_symbols
