	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function GetStandbyFlushRecPtr
_GetStandbyFlushRecPtr:                 ## @GetStandbyFlushRecPtr
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -24
	leaq	-16(%rbp), %rsi
	xorl	%edi, %edi
	callq	_GetWalRcvWriteRecPtr
	movq	%rax, %rbx
	leaq	-24(%rbp), %rdi
	callq	_GetXLogReplayRecPtr
	movq	-24(%rbp), %rcx
	movq	_ThisTimeLineID@GOTPCREL(%rip), %rdx
	movq	%rcx, (%rdx)
	cmpq	%rax, %rbx
	cmovleq	%rax, %rbx
	cmpq	%rcx, -16(%rbp)
	cmoveq	%rbx, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ThisTimeLineID,8,3             ## @ThisTimeLineID
	.no_dead_strip	_GetStandbyFlushRecPtr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function GetStandbyFlushRecPtr
_GetStandbyFlushRecPtr:                 ; @GetStandbyFlushRecPtr
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x1, sp
	mov	x0, #0
	bl	_GetWalRcvWriteRecPtr
	mov	x19, x0
	add	x0, sp, #8
	bl	_GetXLogReplayRecPtr
	ldr	x8, [sp, #8]
Lloh0:
	adrp	x9, _ThisTimeLineID@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ThisTimeLineID@GOTPAGEOFF]
Lloh2:
	str	x8, [x9]
	ldr	x9, [sp]
	cmp	x19, x0
	ccmp	x9, x8, #0, gt
	csel	x0, x19, x0, eq
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotStr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ThisTimeLineID,8,3             ; @ThisTimeLineID
	.no_dead_strip	_GetStandbyFlushRecPtr
.subsections_via_symbols
