	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_merge_base_index               ## -- Begin function merge_base_index
	.p2align	4, 0x90
_merge_base_index:                      ## @merge_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	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	24(%rdi), %r12
	movq	40(%r12), %rdi
	callq	_mark_base_index_entries
	movq	8(%r14), %rax
	movq	%rax, 24(%r12)
	movl	(%r14), %eax
	movl	%eax, (%r12)
	movq	40(%r12), %rax
	movl	(%rax), %esi
	movl	%esi, (%r14)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 8(%r14)
	xorl	%edi, %edi
	xorl	%edx, %edx
	callq	_ALLOC_GROW
	movq	8(%r14), %rdi
	movq	40(%r12), %rax
	movl	4(%rax), %esi
	movl	(%r14), %edx
	callq	_COPY_ARRAY
	movq	$0, 32(%r12)
	movl	$0, 4(%r12)
	movq	8(%r12), %rdi
	movq	_replace_entry@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdx
	callq	_ewah_each_bit
	movq	16(%r12), %rdi
	movq	_mark_entry_for_delete@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdx
	callq	_ewah_each_bit
	cmpq	$0, 32(%r12)
	je	LBB0_2
## %bb.1:
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_remove_marked_cache_entries
LBB0_2:
	leaq	8(%r12), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movl	4(%r12), %ebx
	cmpl	(%r12), %ebx
	jae	LBB0_7
## %bb.3:
	movq	_ADD_CACHE_KEEP_CACHE_TREE@GOTPCREL(%rip), %r15
	movq	_ADD_CACHE_SKIP_DFCHECK@GOTPCREL(%rip), %r13
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	24(%r12), %rax
	movq	(%rax,%rbx,8), %rsi
	movl	(%r15), %edx
	movq	_ADD_CACHE_OK_TO_ADD@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	orl	(%r13), %edx
	movq	%r14, %rdi
	callq	_add_index_entry
	movq	24(%r12), %rax
	movq	$0, (%rax,%rbx,8)
	incq	%rbx
	movl	(%r12), %eax
	cmpq	%rax, %rbx
	jae	LBB0_7
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	24(%r12), %rax
	movq	(%rax,%rbx,8), %rdi
	callq	_ce_namelen
	testl	%eax, %eax
	jne	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	leaq	L_.str(%rip), %rdi
	movl	%ebx, %esi
	callq	_die
	jmp	LBB0_6
LBB0_7:
	movq	16(%r12), %rdi
	callq	_ewah_free
	movq	8(%r12), %rdi
	callq	_ewah_free
	movq	24(%r12), %rdi
	callq	_FREE_AND_NULL
	movl	$0, (%r12)
	xorps	%xmm0, %xmm0
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movups	%xmm0, (%rax)
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_replace_entry,4,2              ## @replace_entry
	.comm	_mark_entry_for_delete,4,2      ## @mark_entry_for_delete
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"corrupt link extension, entry %d should have non-zero length name"

	.comm	_ADD_CACHE_OK_TO_ADD,4,2        ## @ADD_CACHE_OK_TO_ADD
	.comm	_ADD_CACHE_KEEP_CACHE_TREE,4,2  ## @ADD_CACHE_KEEP_CACHE_TREE
	.comm	_ADD_CACHE_SKIP_DFCHECK,4,2     ## @ADD_CACHE_SKIP_DFCHECK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_merge_base_index               ; -- Begin function merge_base_index
	.p2align	2
_merge_base_index:                      ; @merge_base_index
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x0
	ldr	x22, [x0, #24]
	ldr	x0, [x22, #40]
	bl	_mark_base_index_entries
	ldr	x8, [x19, #8]
	str	x8, [x22, #24]
	ldr	w8, [x19]
	str	w8, [x22]
	ldr	x8, [x22, #40]
	ldr	w1, [x8]
	str	w1, [x19]
	stp	xzr, xzr, [x19, #8]
	mov	x0, #0
	mov	x2, #0
	bl	_ALLOC_GROW
	ldr	x0, [x19, #8]
	ldr	x8, [x22, #40]
	ldr	w1, [x8, #4]
	ldr	w2, [x19]
	bl	_COPY_ARRAY
	str	xzr, [x22, #32]
	str	wzr, [x22, #4]
	mov	x23, x22
	ldr	x0, [x23, #8]!
Lloh0:
	adrp	x8, _replace_entry@GOTPAGE
Lloh1:
	ldr	x8, [x8, _replace_entry@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x2, x19
	bl	_ewah_each_bit
	ldr	x0, [x22, #16]
Lloh3:
	adrp	x8, _mark_entry_for_delete@GOTPAGE
Lloh4:
	ldr	x8, [x8, _mark_entry_for_delete@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x2, x19
	bl	_ewah_each_bit
	ldr	x8, [x22, #32]
	cbz	x8, LBB0_2
; %bb.1:
	mov	x0, x19
	mov	w1, #0
	bl	_remove_marked_cache_entries
LBB0_2:
	ldp	w8, w20, [x22]
	cmp	w20, w8
	b.hs	LBB0_7
; %bb.3:
Lloh6:
	adrp	x21, l_.str@PAGE
Lloh7:
	add	x21, x21, l_.str@PAGEOFF
Lloh8:
	adrp	x24, _ADD_CACHE_OK_TO_ADD@GOTPAGE
Lloh9:
	ldr	x24, [x24, _ADD_CACHE_OK_TO_ADD@GOTPAGEOFF]
Lloh10:
	adrp	x25, _ADD_CACHE_KEEP_CACHE_TREE@GOTPAGE
Lloh11:
	ldr	x25, [x25, _ADD_CACHE_KEEP_CACHE_TREE@GOTPAGEOFF]
Lloh12:
	adrp	x26, _ADD_CACHE_SKIP_DFCHECK@GOTPAGE
Lloh13:
	ldr	x26, [x26, _ADD_CACHE_SKIP_DFCHECK@GOTPAGEOFF]
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x22, #24]
	lsl	x27, x20, #3
	ldr	x1, [x8, x27]
	ldr	w8, [x24]
	ldr	w9, [x25]
	orr	w8, w9, w8
	ldr	w9, [x26]
	orr	w2, w8, w9
	mov	x0, x19
	bl	_add_index_entry
	ldr	x8, [x22, #24]
	str	xzr, [x8, x27]
	add	x20, x20, #1
	ldr	w8, [x22]
	cmp	x20, x8
	b.hs	LBB0_7
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x22, #24]
	ldr	x0, [x8, x20, lsl #3]
	bl	_ce_namelen
	cbnz	w0, LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x21
	mov	x1, x20
	bl	_die
	b	LBB0_4
LBB0_7:
	ldr	x0, [x22, #16]
	bl	_ewah_free
	ldr	x0, [x22, #8]
	bl	_ewah_free
	ldr	x0, [x22, #24]
	bl	_FREE_AND_NULL
	str	wzr, [x22]
	stp	xzr, xzr, [x23]
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_replace_entry,4,2              ; @replace_entry
	.comm	_mark_entry_for_delete,4,2      ; @mark_entry_for_delete
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"corrupt link extension, entry %d should have non-zero length name"

	.comm	_ADD_CACHE_OK_TO_ADD,4,2        ; @ADD_CACHE_OK_TO_ADD
	.comm	_ADD_CACHE_KEEP_CACHE_TREE,4,2  ; @ADD_CACHE_KEEP_CACHE_TREE
	.comm	_ADD_CACHE_SKIP_DFCHECK,4,2     ; @ADD_CACHE_SKIP_DFCHECK
.subsections_via_symbols
