	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_MarkPostmasterChildWalSender   ## -- Begin function MarkPostmasterChildWalSender
	.p2align	4, 0x90
_MarkPostmasterChildWalSender:          ## @MarkPostmasterChildWalSender
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	_MyPMChildSlot@GOTPCREL(%rip), %rax
	movslq	(%rax), %rbx
	movq	_am_walsender@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_Assert
	testq	%rbx, %rbx
	jle	LBB0_1
## %bb.2:
	movq	_PMSignalState@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	xorl	%edi, %edi
	cmpl	(%rax), %ebx
	setle	%dil
	jmp	LBB0_3
LBB0_1:
	xorl	%edi, %edi
LBB0_3:
	callq	_Assert
	movq	_PMSignalState@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	movq	8(%rax), %rax
	movq	-8(%rax,%rbx,8), %rax
	movq	_PM_CHILD_ACTIVE@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	sete	%dil
	callq	_Assert
	movq	_PM_CHILD_WALSENDER@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%r14), %rcx
	movq	8(%rcx), %rcx
	movq	%rax, -8(%rcx,%rbx,8)
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MyPMChildSlot,4,2              ## @MyPMChildSlot
	.comm	_am_walsender,4,2               ## @am_walsender
	.comm	_PMSignalState,8,3              ## @PMSignalState
	.comm	_PM_CHILD_ACTIVE,8,3            ## @PM_CHILD_ACTIVE
	.comm	_PM_CHILD_WALSENDER,8,3         ## @PM_CHILD_WALSENDER
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_MarkPostmasterChildWalSender   ; -- Begin function MarkPostmasterChildWalSender
	.p2align	2
_MarkPostmasterChildWalSender:          ; @MarkPostmasterChildWalSender
	.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
Lloh0:
	adrp	x8, _MyPMChildSlot@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MyPMChildSlot@GOTPAGEOFF]
Lloh2:
	ldr	w21, [x8]
Lloh3:
	adrp	x8, _am_walsender@GOTPAGE
Lloh4:
	ldr	x8, [x8, _am_walsender@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_Assert
Lloh6:
	adrp	x19, _PMSignalState@GOTPAGE
Lloh7:
	ldr	x19, [x19, _PMSignalState@GOTPAGEOFF]
	subs	w20, w21, #1
	b.lt	LBB0_2
; %bb.1:
	ldr	x8, [x19]
	ldr	w8, [x8]
	cmp	w21, w8
	cset	w0, le
	b	LBB0_3
LBB0_2:
	mov	w0, #0
LBB0_3:
	bl	_Assert
	ldr	x8, [x19]
	ldr	x8, [x8, #8]
	sbfiz	x20, x20, #3, #32
	ldr	x8, [x8, x20]
Lloh8:
	adrp	x9, _PM_CHILD_ACTIVE@GOTPAGE
Lloh9:
	ldr	x9, [x9, _PM_CHILD_ACTIVE@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, eq
	bl	_Assert
Lloh11:
	adrp	x8, _PM_CHILD_WALSENDER@GOTPAGE
Lloh12:
	ldr	x8, [x8, _PM_CHILD_WALSENDER@GOTPAGEOFF]
Lloh13:
	ldr	x8, [x8]
	ldr	x9, [x19]
	ldr	x9, [x9, #8]
	str	x8, [x9, 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
	ret
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_MyPMChildSlot,4,2              ; @MyPMChildSlot
	.comm	_am_walsender,4,2               ; @am_walsender
	.comm	_PMSignalState,8,3              ; @PMSignalState
	.comm	_PM_CHILD_ACTIVE,8,3            ; @PM_CHILD_ACTIVE
	.comm	_PM_CHILD_WALSENDER,8,3         ; @PM_CHILD_WALSENDER
.subsections_via_symbols
