	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function _hash_readnext
__hash_readnext:                        ## @_hash_readnext
	.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	%rsi, %rbx
	movq	%rdi, %r13
	movl	8(%rdi), %r12d
	movslq	4(%rdi), %r15
	movq	(%rcx), %rax
	movl	(%rax), %r14d
	movq	(%rsi), %rax
	cmpq	(%r15), %rax
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	je	LBB0_2
## %bb.1:
	cmpq	8(%r15), %rax
	jne	LBB0_3
LBB0_2:
	movq	_BUFFER_LOCK_UNLOCK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	%rax, %rdi
	callq	_LockBuffer
	jmp	LBB0_4
LBB0_3:
	movl	%r12d, %edi
	movq	%rax, %rsi
	callq	__hash_relbuf
LBB0_4:
	movq	_InvalidBuffer@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%rbx)
	xorl	%eax, %eax
	callq	_CHECK_FOR_INTERRUPTS
	movl	%r14d, %edi
	callq	_BlockNumberIsValid
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	_HASH_READ@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_LH_OVERFLOW_PAGE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%r12d, %edi
	movl	%r14d, %esi
	callq	__hash_getbuf
	movq	%rax, %rdi
	movq	%rax, (%rbx)
LBB0_9:
	callq	_BufferGetPage
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movl	%eax, (%rbx)
	movl	(%r13), %edi
	movl	%r12d, %esi
	movl	%eax, %edx
	callq	_TestForOldSnapshot
	movl	(%rbx), %edi
	callq	_PageGetSpecialPointer
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, (%rcx)
LBB0_10:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	cmpq	$0, 24(%r15)
	je	LBB0_10
## %bb.7:
	cmpl	$0, 16(%r15)
	jne	LBB0_10
## %bb.8:
	movq	8(%r15), %rdi
	movq	%rdi, (%rbx)
	callq	_BufferIsValid
	movl	%eax, %edi
	callq	_Assert
	movq	(%rbx), %rdi
	movq	_BUFFER_LOCK_SHARE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_LockBuffer
	movq	(%rbx), %rdi
	callq	_BufferGetBlockNumber
	movl	(%r13), %edx
	movl	%r12d, %edi
	movl	%eax, %esi
	callq	_PredicateLockPage
	movl	$1, 16(%r15)
	movq	(%rbx), %rdi
	jmp	LBB0_9
	.cfi_endproc
                                        ## -- End function
	.comm	_BUFFER_LOCK_UNLOCK,4,2         ## @BUFFER_LOCK_UNLOCK
	.comm	_InvalidBuffer,8,3              ## @InvalidBuffer
	.comm	_HASH_READ,4,2                  ## @HASH_READ
	.comm	_LH_OVERFLOW_PAGE,4,2           ## @LH_OVERFLOW_PAGE
	.comm	_BUFFER_LOCK_SHARE,4,2          ## @BUFFER_LOCK_SHARE
	.no_dead_strip	__hash_readnext
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function _hash_readnext
__hash_readnext:                        ; @_hash_readnext
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x3
	mov	x20, x2
	mov	x23, x1
	mov	x22, x0
	ldp	w25, w21, [x0, #4]
                                        ; kill: def $w25 killed $w25 def $x25
	sxtw	x25, w25
	ldr	x8, [x3]
	ldr	w24, [x8]
	ldr	x8, [x1]
	ldr	x9, [x25]
	cmp	x8, x9
	b.eq	LBB0_2
; %bb.1:
	ldr	x9, [x25, #8]
	cmp	x8, x9
	b.ne	LBB0_3
LBB0_2:
Lloh0:
	adrp	x9, _BUFFER_LOCK_UNLOCK@GOTPAGE
Lloh1:
	ldr	x9, [x9, _BUFFER_LOCK_UNLOCK@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x9]
	mov	x0, x8
	bl	_LockBuffer
	b	LBB0_4
LBB0_3:
	mov	x0, x21
	mov	x1, x8
	bl	__hash_relbuf
LBB0_4:
Lloh3:
	adrp	x8, _InvalidBuffer@GOTPAGE
Lloh4:
	ldr	x8, [x8, _InvalidBuffer@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	str	x8, [x23]
	bl	_CHECK_FOR_INTERRUPTS
	mov	x0, x24
	bl	_BlockNumberIsValid
	cbz	x0, LBB0_8
; %bb.5:
Lloh6:
	adrp	x8, _HASH_READ@GOTPAGE
Lloh7:
	ldr	x8, [x8, _HASH_READ@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
Lloh9:
	adrp	x8, _LH_OVERFLOW_PAGE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _LH_OVERFLOW_PAGE@GOTPAGEOFF]
Lloh11:
	ldr	w3, [x8]
	mov	x0, x21
	mov	x1, x24
	bl	__hash_getbuf
	str	x0, [x23]
LBB0_6:
	bl	_BufferGetPage
	mov	x2, x0
	str	w0, [x20]
	ldr	w0, [x22]
	mov	x1, x21
	bl	_TestForOldSnapshot
	ldr	w0, [x20]
	bl	_PageGetSpecialPointer
	str	x0, [x19]
LBB0_7:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_8:
	ldr	x8, [x25, #24]
	cbz	x8, LBB0_7
; %bb.9:
	ldr	w8, [x25, #16]
	cbnz	w8, LBB0_7
; %bb.10:
	ldr	x0, [x25, #8]
	str	x0, [x23]
	bl	_BufferIsValid
	bl	_Assert
	ldr	x0, [x23]
Lloh12:
	adrp	x8, _BUFFER_LOCK_SHARE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _BUFFER_LOCK_SHARE@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	bl	_LockBuffer
	ldr	x0, [x23]
	bl	_BufferGetBlockNumber
	mov	x1, x0
	ldr	w2, [x22]
	mov	x0, x21
	bl	_PredicateLockPage
	mov	w8, #1
	str	w8, [x25, #16]
	ldr	x0, [x23]
	b	LBB0_6
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_BUFFER_LOCK_UNLOCK,4,2         ; @BUFFER_LOCK_UNLOCK
	.comm	_InvalidBuffer,8,3              ; @InvalidBuffer
	.comm	_HASH_READ,4,2                  ; @HASH_READ
	.comm	_LH_OVERFLOW_PAGE,4,2           ; @LH_OVERFLOW_PAGE
	.comm	_BUFFER_LOCK_SHARE,4,2          ; @BUFFER_LOCK_SHARE
	.no_dead_strip	__hash_readnext
.subsections_via_symbols
