	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function create_base_index
_create_base_index:                     ## @create_base_index
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -24
	testq	%rdi, %rdi
	je	LBB0_5
## %bb.1:
	movq	%rdi, %rbx
	leaq	-48(%rbp), %rdi
	xorl	%esi, %esi
	movl	$32, %edx
	callq	_memset
	movabsq	$4294967297, %rax               ## imm = 0x100000001
	movq	%rax, -48(%rbp)
	movl	$1, -40(%rbp)
	movq	_the_index@GOTPCREL(%rip), %rax
	movq	%rax, -24(%rbp)
	movq	%rax, -32(%rbp)
	movq	_oneway_merge@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -36(%rbp)
	movq	%rbx, %rdi
	callq	_parse_tree_indirect
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_3
## %bb.2:
	leaq	L_.str(%rip), %rdi
	callq	__
	movl	%eax, %edi
	callq	_die
LBB0_3:
	movq	%rbx, %rdi
	callq	_parse_tree
	movl	(%rbx), %edx
	movl	4(%rbx), %esi
	leaq	-16(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_init_tree_desc
	leaq	-48(%rbp), %rdx
	movl	$1, %edi
	movq	%rbx, %rsi
	callq	_unpack_trees
	testq	%rax, %rax
	jne	LBB0_6
## %bb.4:
	addq	$40, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_5:
	xorl	%eax, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_discard_cache                  ## TAILCALL
LBB0_6:
	movl	$128, %edi
	callq	_exit
	.cfi_endproc
                                        ## -- End function
	.comm	_the_index,4,2                  ## @the_index
	.comm	_oneway_merge,4,2               ## @oneway_merge
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"failed to unpack HEAD tree object"

	.no_dead_strip	_create_base_index
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function create_base_index
_create_base_index:                     ; @create_base_index
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	cbz	x0, LBB0_5
; %bb.1:
	mov	x19, x0
	add	x0, sp, #16
	mov	w1, #0
	mov	w2, #32
	bl	_memset
	movi.2s	v0, #1
	str	d0, [sp, #16]
	mov	w8, #1
Lloh0:
	adrp	x9, _the_index@GOTPAGE
Lloh1:
	ldr	x9, [x9, _the_index@GOTPAGEOFF]
	stp	x9, x9, [sp, #32]
Lloh2:
	adrp	x9, _oneway_merge@GOTPAGE
Lloh3:
	ldr	x9, [x9, _oneway_merge@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	stp	w8, w9, [sp, #24]
	mov	x0, x19
	bl	_parse_tree_indirect
	mov	x19, x0
	cbnz	x0, LBB0_3
; %bb.2:
Lloh5:
	adrp	x0, l_.str@PAGE
Lloh6:
	add	x0, x0, l_.str@PAGEOFF
	bl	__
	bl	_die
LBB0_3:
	mov	x0, x19
	bl	_parse_tree
	ldp	w2, w1, [x19]
	add	x0, sp, #8
	bl	_init_tree_desc
	add	x1, sp, #8
	add	x2, sp, #16
	mov	w0, #1
	bl	_unpack_trees
	cbnz	x0, LBB0_6
; %bb.4:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_5:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #80
	b	_discard_cache
LBB0_6:
	mov	w0, #128
	bl	_exit
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_the_index,4,2                  ; @the_index
	.comm	_oneway_merge,4,2               ; @oneway_merge
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"failed to unpack HEAD tree object"

	.no_dead_strip	_create_base_index
.subsections_via_symbols
