	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function switch_cache_bottom
_switch_cache_bottom:                   ## @switch_cache_bottom
	.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	16(%rdi), %rbx
	xorl	%r14d, %r14d
	cmpq	$0, 16(%rbx)
	jne	LBB0_6
## %bb.1:
	movl	(%rbx), %r14d
	movl	8(%rdi), %eax
	movl	(%rdi), %edx
	movl	4(%rdi), %esi
	movl	%eax, %edi
	callq	_find_cache_pos
	cmpl	$-2, %eax
	jg	LBB0_3
## %bb.2:
	movl	$-2, %ecx
	subl	%eax, %ecx
	jmp	LBB0_5
LBB0_3:
	testl	%eax, %eax
	jns	LBB0_6
## %bb.4:
	movq	8(%rbx), %rax
	movl	(%rax), %ecx
LBB0_5:
	movl	%ecx, (%rbx)
LBB0_6:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_switch_cache_bottom
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function switch_cache_bottom
_switch_cache_bottom:                   ; @switch_cache_bottom
	.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
	ldr	x20, [x0, #16]
	ldr	x8, [x20, #16]
	cbz	x8, LBB0_2
; %bb.1:
	mov	w19, #0
	b	LBB0_7
LBB0_2:
	ldr	w19, [x20]
	ldp	w1, w8, [x0, #4]
	ldr	w2, [x0]
	mov	x0, x8
	bl	_find_cache_pos
	cmn	w0, #2
	b.gt	LBB0_4
; %bb.3:
	mov	w8, #-2
	sub	w8, w8, w0
	b	LBB0_6
LBB0_4:
	tbz	w0, #31, LBB0_7
; %bb.5:
	ldr	x8, [x20, #8]
	ldr	w8, [x8]
LBB0_6:
	str	w8, [x20]
LBB0_7:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_switch_cache_bottom
.subsections_via_symbols
