	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function WalSndCheckTimeOut
_WalSndCheckTimeOut:                    ## @WalSndCheckTimeOut
	.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
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	_last_reply_timestamp@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	testq	%rdi, %rdi
	jle	LBB0_3
## %bb.1:
	movq	_wal_sender_timeout@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rsi
	callq	_TimestampTzPlusMilliseconds
	cmpq	$0, (%rbx)
	jle	LBB0_3
## %bb.2:
	movq	_last_processing@GOTPCREL(%rip), %rcx
	cmpq	%rax, (%rcx)
	jl	LBB0_3
## %bb.4:
	movq	_COMMERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leaq	L_.str(%rip), %rdi
	callq	_errmsg
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_ereport
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_WalSndShutdown                 ## TAILCALL
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_last_reply_timestamp,8,3       ## @last_reply_timestamp
	.comm	_wal_sender_timeout,8,3         ## @wal_sender_timeout
	.comm	_last_processing,8,3            ## @last_processing
	.comm	_COMMERROR,4,2                  ## @COMMERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"terminating walsender process due to replication timeout"

	.no_dead_strip	_WalSndCheckTimeOut
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function WalSndCheckTimeOut
_WalSndCheckTimeOut:                    ; @WalSndCheckTimeOut
	.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
Lloh0:
	adrp	x8, _last_reply_timestamp@GOTPAGE
Lloh1:
	ldr	x8, [x8, _last_reply_timestamp@GOTPAGEOFF]
Lloh2:
	ldr	x0, [x8]
	cmp	x0, #1
	b.lt	LBB0_2
; %bb.1:
Lloh3:
	adrp	x19, _wal_sender_timeout@GOTPAGE
Lloh4:
	ldr	x19, [x19, _wal_sender_timeout@GOTPAGEOFF]
	ldr	x1, [x19]
	bl	_TimestampTzPlusMilliseconds
	ldr	x8, [x19]
Lloh5:
	adrp	x9, _last_processing@GOTPAGE
Lloh6:
	ldr	x9, [x9, _last_processing@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	cmp	x8, #1
	ccmp	x9, x0, #8, ge
	b.ge	LBB0_3
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_3:
Lloh8:
	adrp	x8, _COMMERROR@GOTPAGE
Lloh9:
	ldr	x8, [x8, _COMMERROR@GOTPAGEOFF]
Lloh10:
	ldr	w19, [x8]
Lloh11:
	adrp	x0, l_.str@PAGE
Lloh12:
	add	x0, x0, l_.str@PAGEOFF
	bl	_errmsg
	mov	x1, x0
	mov	x0, x19
	bl	_ereport
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_WalSndShutdown
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_last_reply_timestamp,8,3       ; @last_reply_timestamp
	.comm	_wal_sender_timeout,8,3         ; @wal_sender_timeout
	.comm	_last_processing,8,3            ; @last_processing
	.comm	_COMMERROR,4,2                  ; @COMMERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"terminating walsender process due to replication timeout"

	.no_dead_strip	_WalSndCheckTimeOut
.subsections_via_symbols
