	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_move_cache_to_base_index       ## -- Begin function move_cache_to_base_index
	.p2align	4, 0x90
_move_cache_to_base_index:              ## @move_cache_to_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	24(%rdi), %r14
	movq	(%r14), %rax
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	movq	16(%rax), %rsi
	testq	%rsi, %rsi
	je	LBB0_5
## %bb.2:
	movq	8(%rbx), %rdi
	testq	%rdi, %rdi
	jne	LBB0_4
## %bb.3:
	leaq	8(%rbx), %rdi
	xorl	%esi, %esi
	callq	_mem_pool_init
	movq	8(%rbx), %rdi
	movq	24(%rbx), %rax
	movq	(%rax), %rax
	movq	16(%rax), %rsi
LBB0_4:
	callq	_mem_pool_combine
LBB0_5:
	movl	$1, %edi
	movl	$40, %esi
	callq	_xcalloc
	movq	%rax, (%r14)
	movl	20(%rbx), %ecx
	movl	%ecx, 32(%rax)
	movl	16(%rbx), %ecx
	movl	%ecx, 28(%rax)
	movq	8(%rax), %rdi
	movl	(%rbx), %esi
	movl	24(%rax), %edx
	callq	_ALLOC_GROW
	movl	(%rbx), %edx
	movq	(%r14), %rax
	movl	%edx, (%rax)
	movq	8(%rbx), %rcx
	movq	%rcx, 16(%rax)
	movq	$0, 8(%rbx)
	movq	8(%rax), %rdi
	movl	4(%rbx), %esi
	callq	_COPY_ARRAY
	movq	(%r14), %rdi
	callq	_mark_base_index_entries
	movq	(%r14), %rcx
	movl	(%rcx), %r8d
	testl	%r8d, %r8d
	jle	LBB0_12
## %bb.6:
	movq	8(%rcx), %rcx
	cmpl	$1, %r8d
	jne	LBB0_8
## %bb.7:
	xorl	%edx, %edx
	jmp	LBB0_10
LBB0_8:
	movl	%r8d, %esi
	andl	$-2, %esi
	xorl	%edx, %edx
	movq	_CE_UPDATE_IN_BASE@GOTPCREL(%rip), %rdi
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rdi), %ebx
	notl	%ebx
	movq	(%rcx,%rdx,8), %rax
	andl	%ebx, (%rax)
	movl	(%rdi), %eax
	notl	%eax
	movq	8(%rcx,%rdx,8), %rbx
	andl	%eax, (%rbx)
	addq	$2, %rdx
	cmpq	%rdx, %rsi
	jne	LBB0_9
LBB0_10:
	testb	$1, %r8b
	je	LBB0_12
## %bb.11:
	movq	_CE_UPDATE_IN_BASE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	movq	(%rcx,%rdx,8), %rcx
	andl	%eax, (%rcx)
LBB0_12:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CE_UPDATE_IN_BASE,4,2          ## @CE_UPDATE_IN_BASE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_move_cache_to_base_index       ; -- Begin function move_cache_to_base_index
	.p2align	2
_move_cache_to_base_index:              ; @move_cache_to_base_index
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	x20, [x0, #24]
	ldr	x8, [x20]
	cbz	x8, LBB0_5
; %bb.1:
	ldr	x1, [x8, #16]
	cbz	x1, LBB0_5
; %bb.2:
	mov	x8, x19
	ldr	x0, [x8, #8]!
	cbnz	x0, LBB0_4
; %bb.3:
	mov	x0, x8
	mov	w1, #0
	bl	_mem_pool_init
	ldr	x0, [x19, #8]
	ldr	x8, [x19, #24]
	ldr	x8, [x8]
	ldr	x1, [x8, #16]
LBB0_4:
	bl	_mem_pool_combine
LBB0_5:
	mov	w0, #1
	mov	w1, #40
	bl	_xcalloc
	str	x0, [x20]
	ldr	d0, [x19, #16]
	stur	d0, [x0, #28]
	ldr	x8, [x0, #8]
	ldr	w1, [x19]
	ldr	w2, [x0, #24]
	mov	x0, x8
	bl	_ALLOC_GROW
	ldr	x8, [x20]
	ldp	w2, w1, [x19]
	str	w2, [x8]
	ldr	x9, [x19, #8]
	str	x9, [x8, #16]
	str	xzr, [x19, #8]
	ldr	x0, [x8, #8]
	bl	_COPY_ARRAY
	ldr	x0, [x20]
	bl	_mark_base_index_entries
	ldr	x9, [x20]
	ldr	w8, [x9]
	cmp	w8, #1
	b.lt	LBB0_8
; %bb.6:
	ldr	x9, [x9, #8]
Lloh0:
	adrp	x10, _CE_UPDATE_IN_BASE@GOTPAGE
Lloh1:
	ldr	x10, [x10, _CE_UPDATE_IN_BASE@GOTPAGEOFF]
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w11, [x10]
	ldr	x12, [x9], #8
	ldr	w13, [x12]
	bic	w11, w13, w11
	str	w11, [x12]
	subs	x8, x8, #1
	b.ne	LBB0_7
LBB0_8:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_CE_UPDATE_IN_BASE,4,2          ; @CE_UPDATE_IN_BASE
.subsections_via_symbols
