	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function walFramePgno
_walFramePgno:                          ## @walFramePgno
	.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
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movl	%esi, %edi
	callq	_walFramePage
	movq	(%rbx), %rcx
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movslq	%eax, %rsi
	movq	_HASHTABLE_NPAGE_ONE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	addl	%r14d, %eax
	movq	_HASHTABLE_NPAGE@GOTPCREL(%rip), %rdi
	cltd
	idivl	(%rdi)
	movslq	%edx, %rax
	shlq	$2, %rax
	addq	(%rcx,%rsi,8), %rax
	jmp	LBB0_3
LBB0_1:
	movq	(%rcx), %rax
	movq	_WALINDEX_HDR_SIZE@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rcx
	shrq	$2, %rcx
	movslq	%r14d, %rdx
	addq	%rcx, %rdx
	leaq	(%rax,%rdx,4), %rax
	addq	$-4, %rax
LBB0_3:
	movl	(%rax), %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_WALINDEX_HDR_SIZE,4,2          ## @WALINDEX_HDR_SIZE
	.comm	_HASHTABLE_NPAGE_ONE,4,2        ## @HASHTABLE_NPAGE_ONE
	.comm	_HASHTABLE_NPAGE,4,2            ## @HASHTABLE_NPAGE
	.no_dead_strip	_walFramePgno
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function walFramePgno
_walFramePgno:                          ; @walFramePgno
	.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, x1
	mov	x20, x0
	mov	x0, x1
	bl	_walFramePage
	ldr	x8, [x20]
	cbz	w0, LBB0_2
; %bb.1:
	ldr	x8, [x8, w0, sxtw #3]
Lloh0:
	adrp	x9, _HASHTABLE_NPAGE_ONE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _HASHTABLE_NPAGE_ONE@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	mvn	w9, w9
	add	w9, w9, w19
Lloh3:
	adrp	x10, _HASHTABLE_NPAGE@GOTPAGE
Lloh4:
	ldr	x10, [x10, _HASHTABLE_NPAGE@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	sdiv	w11, w9, w10
	msub	w9, w11, w10, w9
	add	x8, x8, w9, sxtw #2
	b	LBB0_3
LBB0_2:
Lloh6:
	adrp	x9, _WALINDEX_HDR_SIZE@GOTPAGE
Lloh7:
	ldr	x9, [x9, _WALINDEX_HDR_SIZE@GOTPAGEOFF]
	ldr	x8, [x8]
Lloh8:
	ldrsw	x9, [x9]
	lsr	x9, x9, #2
	add	x9, x9, w19, sxtw
	add	x8, x8, x9, lsl #2
	sub	x8, x8, #4
LBB0_3:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_WALINDEX_HDR_SIZE,4,2          ; @WALINDEX_HDR_SIZE
	.comm	_HASHTABLE_NPAGE_ONE,4,2        ; @HASHTABLE_NPAGE_ONE
	.comm	_HASHTABLE_NPAGE,4,2            ; @HASHTABLE_NPAGE
	.no_dead_strip	_walFramePgno
.subsections_via_symbols
