	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__hash_getbucketbuf_from_hashkey ## -- Begin function _hash_getbucketbuf_from_hashkey
	.p2align	4, 0x90
__hash_getbucketbuf_from_hashkey:       ## @_hash_getbucketbuf_from_hashkey
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	movl	%esi, -48(%rbp)                 ## 4-byte Spill
	movl	%edi, %r13d
	movq	_HASH_READ@GOTPCREL(%rip), %rax
	cmpl	%edx, (%rax)
	sete	%al
	movq	_HASH_WRITE@GOTPCREL(%rip), %rcx
	movl	%edx, -52(%rbp)                 ## 4-byte Spill
	cmpl	%edx, (%rcx)
	movq	_InvalidBuffer@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, -44(%rbp)
	sete	%cl
	orb	%al, %cl
	movzbl	%cl, %edi
	callq	_Assert
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	%r13d, %edi
	leaq	-44(%rbp), %rsi
	callq	__hash_getcachedmetap
	movq	%rax, %rbx
	xorl	%edi, %edi
	testq	%rax, %rax
	setne	%dil
	callq	_Assert
	movq	(%rbx), %rsi
	movl	12(%rbx), %edx
	movl	8(%rbx), %ecx
	movl	-48(%rbp), %edi                 ## 4-byte Reload
	callq	__hash_hashkey2bucket
	movq	%rax, %r12
	movq	%rbx, %rdi
	movq	%rax, %rsi
	callq	_BUCKET_TO_BLKNO
	movq	_LH_BUCKET_PAGE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%r13d, %edi
	movl	%eax, %esi
	movl	-52(%rbp), %edx                 ## 4-byte Reload
	callq	__hash_getbuf
	movl	%eax, %r14d
	movl	%eax, %edi
	callq	_BufferGetPage
	movl	%eax, %edi
	callq	_PageGetSpecialPointer
	movq	%rax, %r15
	xorl	%edi, %edi
	cmpq	%r12, (%rax)
	sete	%dil
	callq	_Assert
	movq	8(%r15), %rax
	xorl	%edi, %edi
	movq	_InvalidBlockNumber@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	setne	%dil
	callq	_Assert
	movq	8(%r15), %rax
	cmpq	(%rbx), %rax
	jle	LBB0_3
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	%r13d, %edi
	movl	%r14d, %esi
	callq	__hash_relbuf
	movl	$1, %edx
	jmp	LBB0_1
LBB0_3:
	movl	-44(%rbp), %edi
	callq	_BufferIsValid
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movl	-44(%rbp), %esi
	movl	%r13d, %edi
	callq	__hash_dropbuf
LBB0_5:
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	movq	%rbx, (%rax)
LBB0_7:
	movl	%r14d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_InvalidBuffer,4,2              ## @InvalidBuffer
	.comm	_HASH_READ,4,2                  ## @HASH_READ
	.comm	_HASH_WRITE,4,2                 ## @HASH_WRITE
	.comm	_LH_BUCKET_PAGE,4,2             ## @LH_BUCKET_PAGE
	.comm	_InvalidBlockNumber,8,3         ## @InvalidBlockNumber
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__hash_getbucketbuf_from_hashkey ; -- Begin function _hash_getbucketbuf_from_hashkey
	.p2align	2
__hash_getbucketbuf_from_hashkey:       ; @_hash_getbucketbuf_from_hashkey
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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, x3
	mov	x21, x2
	mov	x22, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _InvalidBuffer@GOTPAGE
Lloh1:
	ldr	x8, [x8, _InvalidBuffer@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [sp, #12]
Lloh3:
	adrp	x8, _HASH_READ@GOTPAGE
Lloh4:
	ldr	x8, [x8, _HASH_READ@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmp	w8, w2
Lloh6:
	adrp	x8, _HASH_WRITE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _HASH_WRITE@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	ccmp	w8, w2, #4, ne
	cset	w0, eq
	bl	_Assert
	mov	w2, #0
Lloh9:
	adrp	x27, _LH_BUCKET_PAGE@GOTPAGE
Lloh10:
	ldr	x27, [x27, _LH_BUCKET_PAGE@GOTPAGEOFF]
Lloh11:
	adrp	x28, _InvalidBlockNumber@GOTPAGE
Lloh12:
	ldr	x28, [x28, _InvalidBlockNumber@GOTPAGEOFF]
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	add	x1, sp, #12
	mov	x0, x20
	bl	__hash_getcachedmetap
	mov	x23, x0
	cmp	x0, #0
	cset	w0, ne
	bl	_Assert
	ldr	x1, [x23]
	ldp	w3, w2, [x23, #8]
	mov	x0, x22
	bl	__hash_hashkey2bucket
	mov	x25, x0
	mov	x0, x23
	mov	x1, x25
	bl	_BUCKET_TO_BLKNO
	mov	x1, x0
	ldr	w3, [x27]
	mov	x0, x20
	mov	x2, x21
	bl	__hash_getbuf
	mov	x24, x0
	bl	_BufferGetPage
	bl	_PageGetSpecialPointer
	mov	x26, x0
	ldr	x8, [x0]
	cmp	x8, x25
	cset	w0, eq
	bl	_Assert
	ldr	x8, [x26, #8]
	ldr	x9, [x28]
	cmp	x8, x9
	cset	w0, ne
	bl	_Assert
	ldr	x8, [x26, #8]
	ldr	x9, [x23]
	cmp	x8, x9
	b.le	LBB0_3
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	x0, x20
	mov	x1, x24
	bl	__hash_relbuf
	mov	w2, #1
	b	LBB0_1
LBB0_3:
	ldr	w0, [sp, #12]
	bl	_BufferIsValid
	cbz	x0, LBB0_5
; %bb.4:
	ldr	w1, [sp, #12]
	mov	x0, x20
	bl	__hash_dropbuf
LBB0_5:
	cbz	x19, LBB0_7
; %bb.6:
	str	x23, [x19]
LBB0_7:
	mov	x0, x24
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_InvalidBuffer,4,2              ; @InvalidBuffer
	.comm	_HASH_READ,4,2                  ; @HASH_READ
	.comm	_HASH_WRITE,4,2                 ; @HASH_WRITE
	.comm	_LH_BUCKET_PAGE,4,2             ; @LH_BUCKET_PAGE
	.comm	_InvalidBlockNumber,8,3         ; @InvalidBlockNumber
.subsections_via_symbols
