	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pgstat_btree_page
_pgstat_btree_page:                     ## @pgstat_btree_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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r8d
	movl	%esi, %r15d
	movq	%rdi, %r14
	movq	_MAIN_FORKNUM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_RBM_NORMAL@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%r15d, %edi
	callq	_ReadBufferExtended
	movl	%eax, %ebx
	movq	_BT_READ@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%ebx, %edi
	callq	_LockBuffer
	movl	%ebx, %edi
	callq	_BufferGetPage
	movl	%eax, %r12d
	movl	%eax, %edi
	callq	_PageIsNew
	testq	%rax, %rax
	jne	LBB0_1
## %bb.2:
	movl	%r12d, %edi
	callq	_PageGetSpecialPointer
	movq	%rax, %r13
	movq	%rax, %rdi
	callq	_P_IGNORE
	testq	%rax, %rax
	je	LBB0_3
LBB0_1:
	movq	_BLCKSZ@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addl	%eax, (%r14)
LBB0_5:
	movl	%r15d, %edi
	movl	%ebx, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	__bt_relbuf                     ## TAILCALL
LBB0_3:
	movq	%r13, %rdi
	callq	_P_ISLEAF
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	%r13, %rdi
	callq	_P_FIRSTDATAKEY
	movl	%eax, %r13d
	movl	%r12d, %edi
	callq	_PageGetMaxOffsetNumber
	movq	%r14, %rdi
	movl	%r12d, %esi
	movl	%r13d, %edx
	movl	%eax, %ecx
	callq	_pgstat_index_page
	jmp	LBB0_5
	.cfi_endproc
                                        ## -- End function
	.comm	_MAIN_FORKNUM,4,2               ## @MAIN_FORKNUM
	.comm	_RBM_NORMAL,4,2                 ## @RBM_NORMAL
	.comm	_BT_READ,4,2                    ## @BT_READ
	.comm	_BLCKSZ,8,3                     ## @BLCKSZ
	.no_dead_strip	_pgstat_btree_page
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pgstat_btree_page
_pgstat_btree_page:                     ; @pgstat_btree_page
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x4, x3
	mov	x19, x1
	mov	x20, 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, x19
	bl	_ReadBufferExtended
	mov	x21, x0
Lloh6:
	adrp	x8, _BT_READ@GOTPAGE
Lloh7:
	ldr	x8, [x8, _BT_READ@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	bl	_LockBuffer
	mov	x0, x21
	bl	_BufferGetPage
	mov	x22, x0
	bl	_PageIsNew
	cbnz	x0, LBB0_2
; %bb.1:
	mov	x0, x22
	bl	_PageGetSpecialPointer
	mov	x23, x0
	bl	_P_IGNORE
	cbz	x0, LBB0_4
LBB0_2:
Lloh9:
	adrp	x8, _BLCKSZ@GOTPAGE
Lloh10:
	ldr	x8, [x8, _BLCKSZ@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	ldr	w9, [x20]
	add	w8, w9, w8
	str	w8, [x20]
LBB0_3:
	mov	x0, x19
	mov	x1, x21
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	__bt_relbuf
LBB0_4:
	mov	x0, x23
	bl	_P_ISLEAF
	cbz	x0, LBB0_3
; %bb.5:
	mov	x0, x23
	bl	_P_FIRSTDATAKEY
	mov	x23, x0
	mov	x0, x22
	bl	_PageGetMaxOffsetNumber
	mov	x3, x0
	mov	x0, x20
	mov	x1, x22
	mov	x2, x23
	bl	_pgstat_index_page
	b	LBB0_3
	.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	_BT_READ,4,2                    ; @BT_READ
	.comm	_BLCKSZ,8,3                     ; @BLCKSZ
	.no_dead_strip	_pgstat_btree_page
.subsections_via_symbols
