	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_SyncRepInitConfig              ## -- Begin function SyncRepInitConfig
	.p2align	4, 0x90
_SyncRepInitConfig:                     ## @SyncRepInitConfig
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	xorl	%eax, %eax
	callq	_SyncRepGetStandbyPriority
	movl	%eax, %ebx
	movq	_MyWalSnd@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	cmpl	%ebx, (%rax)
	jne	LBB0_2
## %bb.1:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movq	_SyncRepLock@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	movq	_LW_EXCLUSIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_LWLockAcquire
	movq	(%r14), %rax
	movl	%ebx, (%rax)
	movl	(%r15), %edi
	callq	_LWLockRelease
	movq	_DEBUG1@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	_application_name@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdi
	movl	%ebx, %edx
	callq	_errmsg
	movl	%r14d, %edi
	movl	%eax, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ereport                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MyWalSnd,8,3                   ## @MyWalSnd
	.comm	_SyncRepLock,4,2                ## @SyncRepLock
	.comm	_LW_EXCLUSIVE,4,2               ## @LW_EXCLUSIVE
	.comm	_DEBUG1,4,2                     ## @DEBUG1
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"standby \"%s\" now has synchronous standby priority %u"

	.comm	_application_name,4,2           ## @application_name
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_SyncRepInitConfig              ; -- Begin function SyncRepInitConfig
	.p2align	2
_SyncRepInitConfig:                     ; @SyncRepInitConfig
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	bl	_SyncRepGetStandbyPriority
Lloh0:
	adrp	x20, _MyWalSnd@GOTPAGE
Lloh1:
	ldr	x20, [x20, _MyWalSnd@GOTPAGEOFF]
	ldr	x8, [x20]
	ldr	w8, [x8]
	cmp	w8, w0
	b.ne	LBB0_2
; %bb.1:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_2:
	mov	x19, x0
Lloh2:
	adrp	x21, _SyncRepLock@GOTPAGE
Lloh3:
	ldr	x21, [x21, _SyncRepLock@GOTPAGEOFF]
	ldr	w0, [x21]
Lloh4:
	adrp	x8, _LW_EXCLUSIVE@GOTPAGE
Lloh5:
	ldr	x8, [x8, _LW_EXCLUSIVE@GOTPAGEOFF]
Lloh6:
	ldr	w1, [x8]
	bl	_LWLockAcquire
	ldr	x8, [x20]
	str	w19, [x8]
	ldr	w0, [x21]
	bl	_LWLockRelease
Lloh7:
	adrp	x8, _DEBUG1@GOTPAGE
Lloh8:
	ldr	x8, [x8, _DEBUG1@GOTPAGEOFF]
Lloh9:
	ldr	w20, [x8]
Lloh10:
	adrp	x8, _application_name@GOTPAGE
Lloh11:
	ldr	x8, [x8, _application_name@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
Lloh13:
	adrp	x0, l_.str@PAGE
Lloh14:
	add	x0, x0, l_.str@PAGEOFF
	mov	x2, x19
	bl	_errmsg
	mov	x1, x0
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_ereport
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_MyWalSnd,8,3                   ; @MyWalSnd
	.comm	_SyncRepLock,4,2                ; @SyncRepLock
	.comm	_LW_EXCLUSIVE,4,2               ; @LW_EXCLUSIVE
	.comm	_DEBUG1,4,2                     ; @DEBUG1
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"standby \"%s\" now has synchronous standby priority %u"

	.comm	_application_name,4,2           ; @application_name
.subsections_via_symbols
