	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pgstat_gist_page
_pgstat_gist_page:                      ## @pgstat_gist_page
	.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	%ecx, %r8d
	movl	%esi, %ebx
	movq	%rdi, %r14
	movq	_MAIN_FORKNUM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_RBM_NORMAL@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%ebx, %edi
	callq	_ReadBufferExtended
	movl	%eax, %r15d
	movq	_GIST_SHARE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r15d, %edi
	callq	_LockBuffer
	movl	%ebx, %edi
	movl	%r15d, %esi
	callq	_gistcheckpage
	movl	%r15d, %edi
	callq	_BufferGetPage
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_GistPageIsLeaf
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_FirstOffsetNumber@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movl	%ebx, %edi
	callq	_PageGetMaxOffsetNumber
	movq	%r14, %rdi
	movl	%ebx, %esi
	movl	%r12d, %edx
	movl	%eax, %ecx
	callq	_pgstat_index_page
LBB0_2:
	movl	%r15d, %edi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_UnlockReleaseBuffer            ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MAIN_FORKNUM,4,2               ## @MAIN_FORKNUM
	.comm	_RBM_NORMAL,4,2                 ## @RBM_NORMAL
	.comm	_GIST_SHARE,4,2                 ## @GIST_SHARE
	.comm	_FirstOffsetNumber,4,2          ## @FirstOffsetNumber
	.no_dead_strip	_pgstat_gist_page
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pgstat_gist_page
_pgstat_gist_page:                      ; @pgstat_gist_page
	.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	x4, x3
	mov	x21, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _MAIN_FORKNUM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MAIN_FORKNUM@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _RBM_NORMAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _RBM_NORMAL@GOTPAGEOFF]
Lloh5:
	ldr	w3, [x8]
	mov	x0, x21
	bl	_ReadBufferExtended
	mov	x20, x0
Lloh6:
	adrp	x8, _GIST_SHARE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _GIST_SHARE@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	bl	_LockBuffer
	mov	x0, x21
	mov	x1, x20
	bl	_gistcheckpage
	mov	x0, x20
	bl	_BufferGetPage
	mov	x21, x0
	bl	_GistPageIsLeaf
	cbz	x0, LBB0_2
; %bb.1:
Lloh9:
	adrp	x8, _FirstOffsetNumber@GOTPAGE
Lloh10:
	ldr	x8, [x8, _FirstOffsetNumber@GOTPAGEOFF]
Lloh11:
	ldr	w22, [x8]
	mov	x0, x21
	bl	_PageGetMaxOffsetNumber
	mov	x3, x0
	mov	x0, x19
	mov	x1, x21
	mov	x2, x22
	bl	_pgstat_index_page
LBB0_2:
	mov	x0, x20
	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
	b	_UnlockReleaseBuffer
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_MAIN_FORKNUM,4,2               ; @MAIN_FORKNUM
	.comm	_RBM_NORMAL,4,2                 ; @RBM_NORMAL
	.comm	_GIST_SHARE,4,2                 ; @GIST_SHARE
	.comm	_FirstOffsetNumber,4,2          ; @FirstOffsetNumber
	.no_dead_strip	_pgstat_gist_page
.subsections_via_symbols
