	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function StartChildProcess
_StartChildProcess:                     ## @StartChildProcess
	.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
	subq	$128, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%edi, %r14d
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -24(%rbp)
	leaq	L_.str(%rip), %rax
	movq	%rax, -112(%rbp)
	leaq	L_.str.1(%rip), %rdx
	leaq	-144(%rbp), %rbx
	movq	%rbx, %rdi
	movl	$32, %esi
	movl	%r14d, %ecx
	callq	_snprintf
	movq	%rbx, -104(%rbp)
	movq	$0, -96(%rbp)
	leaq	-112(%rbp), %rdi
	callq	_lengthof
	xorl	%edi, %edi
	cmpl	$3, %eax
	setge	%dil
	callq	_Assert
	xorl	%eax, %eax
	callq	_fork_process
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	jns	LBB0_13
## %bb.3:
	addl	$-128, %r14d
	cmpl	$4, %r14d
	ja	LBB0_10
## %bb.4:
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%r14,4), %rcx
	addq	%rax, %rcx
	jmpq	*%rcx
LBB0_8:
	movq	_LOG@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leaq	L_.str.5(%rip), %rdi
	jmp	LBB0_11
LBB0_1:
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_InitPostmasterChild
	xorl	%edi, %edi
	callq	_ClosePostmasterPorts
	movq	_TopMemoryContext@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_MemoryContextSwitchTo
	movq	_PostmasterContext@GOTPCREL(%rip), %r14
	movq	(%r14), %rdi
	callq	_MemoryContextDelete
	movq	$0, (%r14)
	leaq	-112(%rbp), %rsi
	movl	$2, %edi
	callq	_AuxiliaryProcessMain
	xorl	%edi, %edi
	callq	_ExitPostmaster
	jmp	LBB0_13
LBB0_5:
	movq	_LOG@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leaq	L_.str.2(%rip), %rdi
	callq	_errmsg
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_ereport
	movl	$1, %edi
	callq	_ExitPostmaster
	jmp	LBB0_12
LBB0_6:
	movq	_LOG@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leaq	L_.str.3(%rip), %rdi
	jmp	LBB0_11
LBB0_10:
	movq	_LOG@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leaq	L_.str.7(%rip), %rdi
	jmp	LBB0_11
LBB0_9:
	movq	_LOG@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leaq	L_.str.6(%rip), %rdi
	jmp	LBB0_11
LBB0_7:
	movq	_LOG@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leaq	L_.str.4(%rip), %rdi
LBB0_11:
	callq	_errmsg
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_ereport
LBB0_12:
	xorl	%ebx, %ebx
LBB0_13:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-24(%rbp), %rax
	jne	LBB0_15
## %bb.14:
	movq	%rbx, %rax
	addq	$128, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_15:
	callq	___stack_chk_fail
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
LJTI0_0:
	.long	L0_0_set_8
	.long	L0_0_set_9
	.long	L0_0_set_5
	.long	L0_0_set_7
	.long	L0_0_set_6
	.end_data_region
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"postgres"

L_.str.1:                               ## @.str.1
	.asciz	"-x%d"

	.comm	_TopMemoryContext,4,2           ## @TopMemoryContext
	.comm	_PostmasterContext,8,3          ## @PostmasterContext
	.comm	_errno,4,2                      ## @errno
	.comm	_LOG,4,2                        ## @LOG
L_.str.2:                               ## @.str.2
	.asciz	"could not fork startup process: %m"

L_.str.3:                               ## @.str.3
	.asciz	"could not fork background writer process: %m"

L_.str.4:                               ## @.str.4
	.asciz	"could not fork checkpointer process: %m"

L_.str.5:                               ## @.str.5
	.asciz	"could not fork WAL writer process: %m"

L_.str.6:                               ## @.str.6
	.asciz	"could not fork WAL receiver process: %m"

L_.str.7:                               ## @.str.7
	.asciz	"could not fork process: %m"

	.no_dead_strip	_StartChildProcess
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function StartChildProcess
_StartChildProcess:                     ; @StartChildProcess
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-24]
Lloh3:
	adrp	x8, l_.str@PAGE
Lloh4:
	add	x8, x8, l_.str@PAGEOFF
	str	x8, [sp, #40]
Lloh5:
	adrp	x2, l_.str.1@PAGE
Lloh6:
	add	x2, x2, l_.str.1@PAGEOFF
	add	x20, sp, #8
	add	x0, sp, #8
	mov	w1, #32
	mov	x3, x19
	bl	_snprintf
	stp	x20, xzr, [sp, #48]
	add	x0, sp, #40
	bl	_lengthof
	cmp	w0, #2
	cset	w0, gt
	bl	_Assert
	bl	_fork_process
	cbz	x0, LBB0_5
; %bb.1:
	tbz	x0, #63, LBB0_13
; %bb.2:
	sub	w8, w19, #128
	cmp	w8, #4
	b.hi	LBB0_8
; %bb.3:
Lloh7:
	adrp	x9, lJTI0_0@PAGE
Lloh8:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_4
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_4:
Lloh9:
	adrp	x8, _LOG@GOTPAGE
Lloh10:
	ldr	x8, [x8, _LOG@GOTPAGEOFF]
Lloh11:
	ldr	w19, [x8]
Lloh12:
	adrp	x0, l_.str.5@PAGE
Lloh13:
	add	x0, x0, l_.str.5@PAGEOFF
	b	LBB0_11
LBB0_5:
	bl	_InitPostmasterChild
	mov	w0, #0
	bl	_ClosePostmasterPorts
Lloh14:
	adrp	x8, _TopMemoryContext@GOTPAGE
Lloh15:
	ldr	x8, [x8, _TopMemoryContext@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
	bl	_MemoryContextSwitchTo
Lloh17:
	adrp	x19, _PostmasterContext@GOTPAGE
Lloh18:
	ldr	x19, [x19, _PostmasterContext@GOTPAGEOFF]
	ldr	x0, [x19]
	bl	_MemoryContextDelete
	str	xzr, [x19]
	add	x1, sp, #40
	mov	w0, #2
	bl	_AuxiliaryProcessMain
	mov	w0, #0
	bl	_ExitPostmaster
	b	LBB0_12
LBB0_6:
Lloh19:
	adrp	x8, _LOG@GOTPAGE
Lloh20:
	ldr	x8, [x8, _LOG@GOTPAGEOFF]
Lloh21:
	ldr	w19, [x8]
Lloh22:
	adrp	x0, l_.str.2@PAGE
Lloh23:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_errmsg
	mov	x1, x0
	mov	x0, x19
	bl	_ereport
	mov	w0, #1
	bl	_ExitPostmaster
	b	LBB0_12
LBB0_7:
Lloh24:
	adrp	x8, _LOG@GOTPAGE
Lloh25:
	ldr	x8, [x8, _LOG@GOTPAGEOFF]
Lloh26:
	ldr	w19, [x8]
Lloh27:
	adrp	x0, l_.str.3@PAGE
Lloh28:
	add	x0, x0, l_.str.3@PAGEOFF
	b	LBB0_11
LBB0_8:
Lloh29:
	adrp	x8, _LOG@GOTPAGE
Lloh30:
	ldr	x8, [x8, _LOG@GOTPAGEOFF]
Lloh31:
	ldr	w19, [x8]
Lloh32:
	adrp	x0, l_.str.7@PAGE
Lloh33:
	add	x0, x0, l_.str.7@PAGEOFF
	b	LBB0_11
LBB0_9:
Lloh34:
	adrp	x8, _LOG@GOTPAGE
Lloh35:
	ldr	x8, [x8, _LOG@GOTPAGEOFF]
Lloh36:
	ldr	w19, [x8]
Lloh37:
	adrp	x0, l_.str.6@PAGE
Lloh38:
	add	x0, x0, l_.str.6@PAGEOFF
	b	LBB0_11
LBB0_10:
Lloh39:
	adrp	x8, _LOG@GOTPAGE
Lloh40:
	ldr	x8, [x8, _LOG@GOTPAGEOFF]
Lloh41:
	ldr	w19, [x8]
Lloh42:
	adrp	x0, l_.str.4@PAGE
Lloh43:
	add	x0, x0, l_.str.4@PAGEOFF
LBB0_11:
	bl	_errmsg
	mov	x1, x0
	mov	x0, x19
	bl	_ereport
LBB0_12:
	mov	x0, #0
LBB0_13:
	ldur	x8, [x29, #-24]
Lloh44:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh45:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh46:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_15
; %bb.14:
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
LBB0_15:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpAdd	Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_4-LBB0_4)>>2
	.byte	(LBB0_9-LBB0_4)>>2
	.byte	(LBB0_6-LBB0_4)>>2
	.byte	(LBB0_10-LBB0_4)>>2
	.byte	(LBB0_7-LBB0_4)>>2
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"postgres"

l_.str.1:                               ; @.str.1
	.asciz	"-x%d"

	.comm	_TopMemoryContext,4,2           ; @TopMemoryContext
	.comm	_PostmasterContext,8,3          ; @PostmasterContext
	.comm	_errno,4,2                      ; @errno
	.comm	_LOG,4,2                        ; @LOG
l_.str.2:                               ; @.str.2
	.asciz	"could not fork startup process: %m"

l_.str.3:                               ; @.str.3
	.asciz	"could not fork background writer process: %m"

l_.str.4:                               ; @.str.4
	.asciz	"could not fork checkpointer process: %m"

l_.str.5:                               ; @.str.5
	.asciz	"could not fork WAL writer process: %m"

l_.str.6:                               ; @.str.6
	.asciz	"could not fork WAL receiver process: %m"

l_.str.7:                               ; @.str.7
	.asciz	"could not fork process: %m"

	.no_dead_strip	_StartChildProcess
.subsections_via_symbols
