	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ProcessWalSndrMessage
_ProcessWalSndrMessage:                 ## @ProcessWalSndrMessage
	.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	%rsi, %r14
	movq	%rdi, %r12
	movq	_WalRcv@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	xorl	%eax, %eax
	callq	_GetCurrentTimestamp
	movq	%rax, %r15
	leaq	8(%rbx), %r13
	movq	%r13, %rdi
	callq	_SpinLockAcquire
	cmpq	%r12, (%rbx)
	jge	LBB0_2
## %bb.1:
	movq	%r14, 32(%rbx)
LBB0_2:
	movq	%r12, (%rbx)
	movq	%r14, 24(%rbx)
	movq	%r15, 16(%rbx)
	movq	%r13, %rdi
	callq	_SpinLockRelease
	movq	_log_min_messages@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_DEBUG2@GOTPCREL(%rip), %r12
	cmpq	(%r12), %rax
	jle	LBB0_3
## %bb.7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movq	%r14, %rdi
	callq	_timestamptz_to_str
	movl	%eax, %edi
	callq	_pstrdup
	movq	%rax, %r14
	movq	%r15, %rdi
	callq	_timestamptz_to_str
	movl	%eax, %edi
	callq	_pstrdup
	movq	%rax, %r15
	xorl	%eax, %eax
	callq	_GetReplicationApplyDelay
	movl	%eax, %ebx
	movq	(%r12), %r12
	xorl	%eax, %eax
	callq	_GetReplicationTransferLatency
	cmpl	$-1, %ebx
	je	LBB0_4
## %bb.5:
	leaq	L_.str.1(%rip), %rsi
	movq	%r12, %rdi
	movq	%r14, %rdx
	movq	%r15, %rcx
	movl	%ebx, %r8d
	movl	%eax, %r9d
	xorl	%eax, %eax
	callq	_elog
	jmp	LBB0_6
LBB0_4:
	leaq	L_.str(%rip), %rsi
	movq	%r12, %rdi
	movq	%r14, %rdx
	movq	%r15, %rcx
	movl	%eax, %r8d
	xorl	%eax, %eax
	callq	_elog
LBB0_6:
	movq	%r14, %rdi
	callq	_pfree
	movq	%r15, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_pfree                          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_WalRcv,8,3                     ## @WalRcv
	.comm	_log_min_messages,8,3           ## @log_min_messages
	.comm	_DEBUG2,8,3                     ## @DEBUG2
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"sendtime %s receipttime %s replication apply delay (N/A) transfer latency %d ms"

L_.str.1:                               ## @.str.1
	.asciz	"sendtime %s receipttime %s replication apply delay %d ms transfer latency %d ms"

	.no_dead_strip	_ProcessWalSndrMessage
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ProcessWalSndrMessage
_ProcessWalSndrMessage:                 ; @ProcessWalSndrMessage
	.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	x19, x1
	mov	x21, x0
Lloh0:
	adrp	x8, _WalRcv@GOTPAGE
Lloh1:
	ldr	x8, [x8, _WalRcv@GOTPAGEOFF]
Lloh2:
	ldr	x23, [x8]
	bl	_GetCurrentTimestamp
	mov	x20, x0
	add	x22, x23, #8
	mov	x0, x22
	bl	_SpinLockAcquire
	ldr	x8, [x23]
	cmp	x8, x21
	b.ge	LBB0_2
; %bb.1:
	str	x19, [x23, #32]
LBB0_2:
	str	x21, [x23]
	stp	x20, x19, [x23, #16]
	mov	x0, x22
	bl	_SpinLockRelease
Lloh3:
	adrp	x8, _log_min_messages@GOTPAGE
Lloh4:
	ldr	x8, [x8, _log_min_messages@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
Lloh6:
	adrp	x22, _DEBUG2@GOTPAGE
Lloh7:
	ldr	x22, [x22, _DEBUG2@GOTPAGEOFF]
	ldr	x9, [x22]
	cmp	x8, x9
	b.le	LBB0_4
; %bb.3:
	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
LBB0_4:
	mov	x0, x19
	bl	_timestamptz_to_str
	bl	_pstrdup
	mov	x19, x0
	mov	x0, x20
	bl	_timestamptz_to_str
	bl	_pstrdup
	mov	x20, x0
	bl	_GetReplicationApplyDelay
	mov	x21, x0
	ldr	x22, [x22]
	bl	_GetReplicationTransferLatency
	mov	x4, x0
	cmn	w21, #1
	b.eq	LBB0_6
; %bb.5:
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
	str	x4, [sp]
	mov	x0, x22
	mov	x2, x19
	mov	x3, x20
	mov	x4, x21
	b	LBB0_7
LBB0_6:
Lloh10:
	adrp	x1, l_.str@PAGE
Lloh11:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x22
	mov	x2, x19
	mov	x3, x20
                                        ; kill: def $w4 killed $w4 killed $x4
LBB0_7:
	bl	_elog
	mov	x0, x19
	bl	_pfree
	mov	x0, x20
	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
	b	_pfree
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_WalRcv,8,3                     ; @WalRcv
	.comm	_log_min_messages,8,3           ; @log_min_messages
	.comm	_DEBUG2,8,3                     ; @DEBUG2
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"sendtime %s receipttime %s replication apply delay (N/A) transfer latency %d ms"

l_.str.1:                               ; @.str.1
	.asciz	"sendtime %s receipttime %s replication apply delay %d ms transfer latency %d ms"

	.no_dead_strip	_ProcessWalSndrMessage
.subsections_via_symbols
