	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_prepare_multi_pack_index_one   ## -- Begin function prepare_multi_pack_index_one
	.p2align	4, 0x90
_prepare_multi_pack_index_one:          ## @prepare_multi_pack_index_one
	.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
	movl	%edx, %r14d
	movq	%rsi, %r12
	movq	%rdi, %r15
	movl	_prepare_multi_pack_index_one.env_value(%rip), %eax
	testl	%eax, %eax
	js	LBB0_1
## %bb.2:
	testl	%eax, %eax
	jne	LBB0_5
	jmp	LBB0_3
LBB0_1:
	movq	_GIT_TEST_MULTI_PACK_INDEX@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	_git_env_bool
	movl	%eax, _prepare_multi_pack_index_one.env_value(%rip)
	testl	%eax, %eax
	jne	LBB0_5
LBB0_3:
	leaq	L_.str(%rip), %rsi
	leaq	-36(%rbp), %rdx
	movq	%r15, %rdi
	callq	_repo_config_get_bool
	movq	%rax, %rcx
	xorl	%eax, %eax
	testq	%rcx, %rcx
	jne	LBB0_13
## %bb.4:
	cmpl	$0, -36(%rbp)
	je	LBB0_13
LBB0_5:
	movq	(%r15), %rax
	movq	(%rax), %rbx
	testq	%rbx, %rbx
	je	LBB0_7
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movl	8(%rbx), %esi
	movq	%r12, %rdi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_12
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	(%rbx), %rbx
	testq	%rbx, %rbx
	jne	LBB0_9
LBB0_7:
	movq	%r12, %rdi
	movl	%r14d, %esi
	callq	_load_multi_pack_index
	testq	%rax, %rax
	je	LBB0_8
## %bb.11:
	movq	(%r15), %rcx
	movq	(%rcx), %rdx
	movq	%rdx, (%rax)
	movq	%rax, (%rcx)
LBB0_12:
	movl	$1, %eax
	jmp	LBB0_13
LBB0_8:
	xorl	%eax, %eax
LBB0_13:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__DATA,__data
	.p2align	2                               ## @prepare_multi_pack_index_one.env_value
_prepare_multi_pack_index_one.env_value:
	.long	4294967295                      ## 0xffffffff

	.comm	_GIT_TEST_MULTI_PACK_INDEX,4,2  ## @GIT_TEST_MULTI_PACK_INDEX
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"core.multipackindex"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_prepare_multi_pack_index_one   ; -- Begin function prepare_multi_pack_index_one
	.p2align	2
_prepare_multi_pack_index_one:          ; @prepare_multi_pack_index_one
	.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	x20, x2
	mov	x21, x1
	mov	x19, x0
	adrp	x22, _prepare_multi_pack_index_one.env_value@PAGE
	ldr	w0, [x22, _prepare_multi_pack_index_one.env_value@PAGEOFF]
	tbnz	w0, #31, LBB0_2
; %bb.1:
	cbnz	w0, LBB0_5
	b	LBB0_3
LBB0_2:
Lloh0:
	adrp	x8, _GIT_TEST_MULTI_PACK_INDEX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GIT_TEST_MULTI_PACK_INDEX@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	mov	w1, #0
	bl	_git_env_bool
	str	w0, [x22, _prepare_multi_pack_index_one.env_value@PAGEOFF]
	cbnz	w0, LBB0_5
LBB0_3:
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	add	x2, sp, #12
	mov	x0, x19
	bl	_repo_config_get_bool
	mov	x8, x0
	mov	w0, #0
	cbnz	x8, LBB0_11
; %bb.4:
	ldr	w8, [sp, #12]
	cbz	w8, LBB0_11
LBB0_5:
	ldr	x8, [x19]
	ldr	x22, [x8]
	cbz	x22, LBB0_8
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x22, #8]
	mov	x0, x21
	bl	_strcmp
	cbz	w0, LBB0_10
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x22, [x22]
	cbnz	x22, LBB0_6
LBB0_8:
	mov	x0, x21
	mov	x1, x20
	bl	_load_multi_pack_index
	cbz	x0, LBB0_11
; %bb.9:
	ldr	x8, [x19]
	ldr	x9, [x8]
	str	x9, [x0]
	str	x0, [x8]
LBB0_10:
	mov	w0, #1
LBB0_11:
	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 AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.section	__DATA,__data
	.p2align	2                               ; @prepare_multi_pack_index_one.env_value
_prepare_multi_pack_index_one.env_value:
	.long	4294967295                      ; 0xffffffff

	.comm	_GIT_TEST_MULTI_PACK_INDEX,4,2  ; @GIT_TEST_MULTI_PACK_INDEX
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"core.multipackindex"

.subsections_via_symbols
