	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function do_start_bgworker
_do_start_bgworker:                     ## @do_start_bgworker
	.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
	movq	%rdi, %rbx
	xorl	%edi, %edi
	cmpq	$0, (%rbx)
	sete	%dil
	callq	_Assert
	movq	%rbx, %rdi
	callq	_assign_backendlist_entry
	testl	%eax, %eax
	je	LBB0_1
## %bb.3:
	movq	_DEBUG1@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movl	16(%rbx), %esi
	leaq	L_.str(%rip), %rdi
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	callq	_errmsg
	movl	%r15d, %edi
	movl	%eax, %esi
	callq	_ereport
	xorl	%eax, %eax
	callq	_fork_process
	cmpq	$-1, %rax
	je	LBB0_7
## %bb.4:
	testq	%rax, %rax
	je	LBB0_8
## %bb.5:
	movq	%rax, (%rbx)
	movq	8(%rbx), %rcx
	movq	%rax, (%rcx)
	movq	%rbx, %rdi
	callq	_ReportBackgroundWorkerPID
	movq	8(%rbx), %rsi
	addq	$8, %rsi
	movq	_BackendList@GOTPCREL(%rip), %rdi
	callq	_dlist_push_head
	movl	$1, %r14d
	jmp	LBB0_6
LBB0_1:
	xorl	%r14d, %r14d
	jmp	LBB0_2
LBB0_7:
	movq	_LOG@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_errmsg
	movl	%r15d, %edi
	movl	%eax, %esi
	callq	_ereport
	movl	32(%rbx), %edi
	callq	_ReleasePostmasterChildSlot
	movl	$0, 32(%rbx)
	movq	8(%rbx), %rdi
	callq	_free
	movq	$0, 8(%rbx)
LBB0_2:
	xorl	%eax, %eax
	callq	_GetCurrentTimestamp
	movq	%rax, 24(%rbx)
LBB0_6:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	addq	$16, %rbx
	xorl	%eax, %eax
	callq	_InitPostmasterChild
	xorl	%edi, %edi
	callq	_ClosePostmasterPorts
	movq	_TopMemoryContext@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	movl	$4, %esi
	callq	_MemoryContextAlloc
	movq	_MyBgworkerEntry@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movq	%rax, %rdi
	movq	%rbx, %rsi
	movl	$4, %edx
	callq	_memcpy
	movl	(%r14), %edi
	callq	_MemoryContextSwitchTo
	movq	_PostmasterContext@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	callq	_MemoryContextDelete
	movq	$0, (%rbx)
	xorl	%eax, %eax
	callq	_StartBackgroundWorker
	movl	$1, %edi
	callq	_exit
	.cfi_endproc
                                        ## -- End function
	.comm	_DEBUG1,4,2                     ## @DEBUG1
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"starting background worker process \"%s\""

	.comm	_LOG,4,2                        ## @LOG
L_.str.1:                               ## @.str.1
	.asciz	"could not fork worker process: %m"

	.comm	_TopMemoryContext,4,2           ## @TopMemoryContext
	.comm	_MyBgworkerEntry,8,3            ## @MyBgworkerEntry
	.comm	_PostmasterContext,8,3          ## @PostmasterContext
	.comm	_BackendList,4,2                ## @BackendList
	.no_dead_strip	_do_start_bgworker
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function do_start_bgworker
_do_start_bgworker:                     ; @do_start_bgworker
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x0
	ldr	x8, [x0]
	cmp	x8, #0
	cset	w0, eq
	bl	_Assert
	mov	x0, x19
	bl	_assign_backendlist_entry
	cbz	w0, LBB0_5
; %bb.1:
Lloh0:
	adrp	x8, _DEBUG1@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DEBUG1@GOTPAGEOFF]
Lloh2:
	ldr	w21, [x8]
	mov	x20, x19
	ldr	w8, [x20, #16]!
	str	x8, [sp]
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_errmsg
	mov	x1, x0
	mov	x0, x21
	bl	_ereport
	bl	_fork_process
	cmn	x0, #1
	b.eq	LBB0_4
; %bb.2:
	cbz	x0, LBB0_7
; %bb.3:
	str	x0, [x19]
	ldr	x8, [x19, #8]
	str	x0, [x8]
	mov	x0, x19
	bl	_ReportBackgroundWorkerPID
	ldr	x8, [x19, #8]
	add	x1, x8, #8
Lloh5:
	adrp	x0, _BackendList@GOTPAGE
Lloh6:
	ldr	x0, [x0, _BackendList@GOTPAGEOFF]
	bl	_dlist_push_head
	mov	w0, #1
	b	LBB0_6
LBB0_4:
Lloh7:
	adrp	x8, _LOG@GOTPAGE
Lloh8:
	ldr	x8, [x8, _LOG@GOTPAGEOFF]
Lloh9:
	ldr	w20, [x8]
Lloh10:
	adrp	x0, l_.str.1@PAGE
Lloh11:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_errmsg
	mov	x1, x0
	mov	x0, x20
	bl	_ereport
	ldr	w0, [x19, #32]
	bl	_ReleasePostmasterChildSlot
	str	wzr, [x19, #32]
	ldr	x0, [x19, #8]
	bl	_free
	str	xzr, [x19, #8]
LBB0_5:
	bl	_GetCurrentTimestamp
	mov	x8, x0
	mov	w0, #0
	str	x8, [x19, #24]
LBB0_6:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_7:
	bl	_InitPostmasterChild
	mov	w0, #0
	bl	_ClosePostmasterPorts
Lloh12:
	adrp	x19, _TopMemoryContext@GOTPAGE
Lloh13:
	ldr	x19, [x19, _TopMemoryContext@GOTPAGEOFF]
	ldr	w0, [x19]
	mov	w1, #4
	bl	_MemoryContextAlloc
Lloh14:
	adrp	x8, _MyBgworkerEntry@GOTPAGE
Lloh15:
	ldr	x8, [x8, _MyBgworkerEntry@GOTPAGEOFF]
Lloh16:
	str	x0, [x8]
	mov	x1, x20
	mov	w2, #4
	bl	_memcpy
	ldr	w0, [x19]
	bl	_MemoryContextSwitchTo
Lloh17:
	adrp	x19, _PostmasterContext@GOTPAGE
Lloh18:
	ldr	x19, [x19, _PostmasterContext@GOTPAGEOFF]
	ldr	x0, [x19]
	bl	_MemoryContextDelete
	str	xzr, [x19]
	bl	_StartBackgroundWorker
	mov	w0, #1
	bl	_exit
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotStr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_DEBUG1,4,2                     ; @DEBUG1
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"starting background worker process \"%s\""

	.comm	_LOG,4,2                        ; @LOG
l_.str.1:                               ; @.str.1
	.asciz	"could not fork worker process: %m"

	.comm	_TopMemoryContext,4,2           ; @TopMemoryContext
	.comm	_MyBgworkerEntry,8,3            ; @MyBgworkerEntry
	.comm	_PostmasterContext,8,3          ; @PostmasterContext
	.comm	_BackendList,4,2                ; @BackendList
	.no_dead_strip	_do_start_bgworker
.subsections_via_symbols
