	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__hash_getcachedmetap           ## -- Begin function _hash_getcachedmetap
	.p2align	4, 0x90
__hash_getcachedmetap:                  ## @_hash_getcachedmetap
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %ebx
	movq	%rsi, %r12
	movq	%rdi, %r14
	movq	%rsi, %rdi
	callq	_Assert
	movq	(%r14), %rax
	testl	%ebx, %ebx
	je	LBB0_1
## %bb.3:
	testq	%rax, %rax
	je	LBB0_2
## %bb.4:
	xorl	%r15d, %r15d
	jmp	LBB0_5
LBB0_1:
	testq	%rax, %rax
	jne	LBB0_11
LBB0_2:
	movl	8(%r14), %edi
	movl	$4, %esi
	callq	_MemoryContextAlloc
	movq	%rax, %r15
LBB0_5:
	movl	(%r12), %edi
	callq	_BufferIsValid
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	movl	(%r12), %edi
	movq	_BUFFER_LOCK_SHARE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_LockBuffer
	movl	(%r12), %edi
	jmp	LBB0_8
LBB0_7:
	movq	_HASH_METAPAGE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_HASH_READ@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_LH_META_PAGE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r14, %rdi
	callq	__hash_getbuf
	movl	%eax, %edi
	movl	%eax, (%r12)
LBB0_8:
	callq	_BufferGetPage
	movq	(%r14), %rbx
	testq	%rbx, %rbx
	jne	LBB0_10
## %bb.9:
	movq	%r15, (%r14)
	movq	%r15, %rbx
LBB0_10:
	movl	%eax, %edi
	callq	_HashPageGetMeta
	movq	%rbx, %rdi
	movl	%eax, %esi
	movl	$4, %edx
	callq	_memcpy
	movl	(%r12), %edi
	movq	_BUFFER_LOCK_UNLOCK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_LockBuffer
	movq	(%r14), %rax
LBB0_11:
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BUFFER_LOCK_SHARE,4,2          ## @BUFFER_LOCK_SHARE
	.comm	_HASH_METAPAGE,4,2              ## @HASH_METAPAGE
	.comm	_HASH_READ,4,2                  ## @HASH_READ
	.comm	_LH_META_PAGE,4,2               ## @LH_META_PAGE
	.comm	_BUFFER_LOCK_UNLOCK,4,2         ## @BUFFER_LOCK_UNLOCK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__hash_getcachedmetap           ; -- Begin function _hash_getcachedmetap
	.p2align	2
__hash_getcachedmetap:                  ; @_hash_getcachedmetap
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x21, x2
	mov	x20, x1
	mov	x19, x0
	mov	x0, x1
	bl	_Assert
	ldr	x0, [x19]
	cbz	w21, LBB0_3
; %bb.1:
	cbz	x0, LBB0_4
; %bb.2:
	mov	x21, #0
	b	LBB0_5
LBB0_3:
	cbnz	x0, LBB0_11
LBB0_4:
	ldr	w0, [x19, #8]
	mov	w1, #4
	bl	_MemoryContextAlloc
	mov	x21, x0
LBB0_5:
	ldr	w0, [x20]
	bl	_BufferIsValid
	cbz	x0, LBB0_7
; %bb.6:
	ldr	w0, [x20]
Lloh0:
	adrp	x8, _BUFFER_LOCK_SHARE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BUFFER_LOCK_SHARE@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_LockBuffer
	ldr	w0, [x20]
	b	LBB0_8
LBB0_7:
Lloh3:
	adrp	x8, _HASH_METAPAGE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _HASH_METAPAGE@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
Lloh6:
	adrp	x8, _HASH_READ@GOTPAGE
Lloh7:
	ldr	x8, [x8, _HASH_READ@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
Lloh9:
	adrp	x8, _LH_META_PAGE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _LH_META_PAGE@GOTPAGEOFF]
Lloh11:
	ldr	w3, [x8]
	mov	x0, x19
	bl	__hash_getbuf
	str	w0, [x20]
LBB0_8:
	bl	_BufferGetPage
	ldr	x22, [x19]
	cbnz	x22, LBB0_10
; %bb.9:
	str	x21, [x19]
	mov	x22, x21
LBB0_10:
	bl	_HashPageGetMeta
	mov	x1, x0
	mov	x0, x22
	mov	w2, #4
	bl	_memcpy
	ldr	w0, [x20]
Lloh12:
	adrp	x8, _BUFFER_LOCK_UNLOCK@GOTPAGE
Lloh13:
	ldr	x8, [x8, _BUFFER_LOCK_UNLOCK@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	bl	_LockBuffer
	ldr	x0, [x19]
LBB0_11:
                                        ; kill: def $w0 killed $w0 killed $x0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_BUFFER_LOCK_SHARE,4,2          ; @BUFFER_LOCK_SHARE
	.comm	_HASH_METAPAGE,4,2              ; @HASH_METAPAGE
	.comm	_HASH_READ,4,2                  ; @HASH_READ
	.comm	_LH_META_PAGE,4,2               ; @LH_META_PAGE
	.comm	_BUFFER_LOCK_UNLOCK,4,2         ; @BUFFER_LOCK_UNLOCK
.subsections_via_symbols
