	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function heap_xlog_freeze_page
_heap_xlog_freeze_page:                 ## @heap_xlog_freeze_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
	movq	%rdi, %r15
	movl	(%rdi), %r14d
	callq	_XLogRecGetData
	movq	%rax, %r12
	movq	_InHotStandby@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_2
## %bb.1:
	movl	4(%r12), %ebx
	movl	%ebx, %edi
	callq	_TransactionIdRetreat
	leaq	-48(%rbp), %rdx
	movq	%r15, %rdi
	xorl	%esi, %esi
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_XLogRecGetBlockTag
	movl	-48(%rbp), %esi
	movl	%ebx, %edi
	callq	_ResolveRecoveryConflictWithSnapshot
LBB0_2:
	leaq	-44(%rbp), %rdx
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_XLogReadBufferForRedo
	movq	_BLK_NEEDS_REDO@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_7
## %bb.3:
	movl	-44(%rbp), %edi
	callq	_BufferGetPage
	movl	%eax, %r13d
	movq	%r15, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_XLogRecGetBlockData
	cmpl	$0, (%r12)
	jle	LBB0_6
## %bb.4:
	movq	%rax, %rbx
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rbx), %esi
	movl	%r13d, %edi
	callq	_PageGetItemId
	movl	%r13d, %edi
	movl	%eax, %esi
	callq	_PageGetItem
	movq	%rax, %rdi
	movq	%rbx, %rsi
	callq	_heap_execute_freeze_tuple
	incq	%r15
	movslq	(%r12), %rax
	addq	$4, %rbx
	cmpq	%rax, %r15
	jl	LBB0_5
LBB0_6:
	movl	%r13d, %edi
	movl	%r14d, %esi
	callq	_PageSetLSN
	movl	-44(%rbp), %edi
	callq	_MarkBufferDirty
LBB0_7:
	movl	-44(%rbp), %edi
	callq	_BufferIsValid
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:
	movl	-44(%rbp), %edi
	callq	_UnlockReleaseBuffer
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_InHotStandby,8,3               ## @InHotStandby
	.comm	_BLK_NEEDS_REDO,8,3             ## @BLK_NEEDS_REDO
	.no_dead_strip	_heap_xlog_freeze_page
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function heap_xlog_freeze_page
_heap_xlog_freeze_page:                 ; @heap_xlog_freeze_page
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.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
	mov	x21, x0
	ldr	w19, [x0]
	bl	_XLogRecGetData
	mov	x20, x0
Lloh0:
	adrp	x8, _InHotStandby@GOTPAGE
Lloh1:
	ldr	x8, [x8, _InHotStandby@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cbz	x8, LBB0_2
; %bb.1:
	ldr	w22, [x20, #4]
	mov	x0, x22
	bl	_TransactionIdRetreat
	add	x2, sp, #8
	mov	x0, x21
	mov	w1, #0
	mov	x3, #0
	mov	x4, #0
	bl	_XLogRecGetBlockTag
	ldr	w1, [sp, #8]
	mov	x0, x22
	bl	_ResolveRecoveryConflictWithSnapshot
LBB0_2:
	add	x2, sp, #12
	mov	x0, x21
	mov	w1, #0
	bl	_XLogReadBufferForRedo
Lloh3:
	adrp	x8, _BLK_NEEDS_REDO@GOTPAGE
Lloh4:
	ldr	x8, [x8, _BLK_NEEDS_REDO@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_7
; %bb.3:
	ldr	w0, [sp, #12]
	bl	_BufferGetPage
	mov	x22, x0
	mov	x0, x21
	mov	w1, #0
	mov	x2, #0
	bl	_XLogRecGetBlockData
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_6
; %bb.4:
	mov	x21, x0
	mov	x23, #0
	mov	x24, x0
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x24], #4
	mov	x0, x22
	bl	_PageGetItemId
	mov	x1, x0
	mov	x0, x22
	bl	_PageGetItem
	mov	x1, x21
	bl	_heap_execute_freeze_tuple
	add	x23, x23, #1
	ldrsw	x8, [x20]
	mov	x21, x24
	cmp	x23, x8
	b.lt	LBB0_5
LBB0_6:
	mov	x0, x22
	mov	x1, x19
	bl	_PageSetLSN
	ldr	w0, [sp, #12]
	bl	_MarkBufferDirty
LBB0_7:
	ldr	w0, [sp, #12]
	bl	_BufferIsValid
	cbz	x0, LBB0_9
; %bb.8:
	ldr	w0, [sp, #12]
	bl	_UnlockReleaseBuffer
LBB0_9:
	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
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_InHotStandby,8,3               ; @InHotStandby
	.comm	_BLK_NEEDS_REDO,8,3             ; @BLK_NEEDS_REDO
	.no_dead_strip	_heap_xlog_freeze_page
.subsections_via_symbols
