	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function ParallelBackupStart
LCPI0_0:
	.space	16
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_ParallelBackupStart
	.p2align	4, 0x90
_ParallelBackupStart:                   ## @ParallelBackupStart
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	xorl	%edi, %edi
	cmpl	$0, 8(%r14)
	setg	%dil
	callq	_Assert
	movl	$24, %edi
	callq	_pg_malloc
	movq	%rax, %r13
	movl	8(%r14), %edi
	movl	%edi, (%rax)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 8(%rax)
	cmpl	$1, %edi
	je	LBB0_15
## %bb.1:
	shll	$3, %edi
	callq	_pg_malloc0
	movq	%rax, 16(%r13)
	movl	(%r13), %eax
	shll	$3, %eax
	leal	(%rax,%rax,8), %edi
	callq	_pg_malloc0
	movq	%rax, 8(%r13)
	movq	_shutdown_info@GOTPCREL(%rip), %rax
	movq	%r13, (%rax)
	movq	%r14, -72(%rbp)                 ## 8-byte Spill
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_set_archive_cancel_info
	xorl	%edi, %edi
	callq	_fflush
	cmpl	$0, (%r13)
	jle	LBB0_14
## %bb.2:
	movq	%r13, %rax
	addq	$8, %rax
	xorl	%r15d, %r15d
	xorl	%r14d, %r14d
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	%r13, 24(%r12,%r15)
	movq	_PIPE_READ@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	-56(%rbp,%rax,4), %edi
	callq	_closesocket
	movq	_PIPE_WRITE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	-64(%rbp,%rax,4), %edi
	callq	_closesocket
	incq	%r14
	movq	%rbx, %r13
	movslq	(%rbx), %rax
	addq	$72, %r15
	cmpq	%rax, %r14
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	jge	LBB0_14
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rax), %r12
	leaq	-56(%rbp), %rdi
	callq	_pgpipe
	testq	%rax, %rax
	js	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	leaq	-64(%rbp), %rdi
	callq	_pgpipe
	testq	%rax, %rax
	jns	LBB0_6
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	leaq	L_.str(%rip), %rdi
	callq	_fatal
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	%r13, %rbx
	movq	16(%r13), %rax
	movq	$0, (%rax,%r14,8)
	movq	_WRKR_IDLE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 64(%r12,%r15)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 40(%r12,%r15)
	movq	$0, 56(%r12,%r15)
	movq	_PIPE_READ@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	-64(%rbp,%rax,4), %ecx
	movl	%ecx, (%r12,%r15)
	movq	_PIPE_WRITE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	-56(%rbp,%rcx,4), %edx
	movl	%edx, 4(%r12,%r15)
	movl	-56(%rbp,%rax,4), %eax
	movl	%eax, 8(%r12,%r15)
	movl	-64(%rbp,%rcx,4), %eax
	movl	%eax, 12(%r12,%r15)
	xorl	%eax, %eax
	callq	_fork
	testq	%rax, %rax
	je	LBB0_7
## %bb.11:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	%rax, %r13
	jns	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_3 Depth=1
	leaq	L_.str.1(%rip), %rdi
	callq	_fatal
	jmp	LBB0_13
LBB0_14:
	movq	_SIGPIPE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_SIG_IGN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_pqsignal
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	(%rdi), %rsi
	callq	_set_archive_cancel_info
	movq	%r13, %rdi
	callq	_set_cancel_pstate
LBB0_15:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_17
## %bb.16:
	movq	%r13, %rax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	xorl	%eax, %eax
	callq	_getpid
	leaq	(%r12,%r15), %r13
	movq	%rax, 24(%r12,%r15)
	movq	_signal_info@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
	movq	_PIPE_READ@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	-64(%rbp,%rax,4), %edi
	callq	_closesocket
	movq	_PIPE_WRITE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	-56(%rbp,%rax,4), %edi
	callq	_closesocket
	testl	%r14d, %r14d
	movq	-80(%rbp), %r15                 ## 8-byte Reload
	je	LBB0_10
## %bb.8:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r15), %rax
	movl	(%rax,%rbx), %edi
	callq	_closesocket
	movq	(%r15), %rax
	movl	4(%rax,%rbx), %edi
	callq	_closesocket
	addq	$72, %rbx
	decq	%r14
	jne	LBB0_9
LBB0_10:
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	%r13, %rsi
	callq	_RunWorker
	xorl	%edi, %edi
	callq	_exit
LBB0_17:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_shutdown_info,8,3              ## @shutdown_info
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"could not create communication channels: %m"

	.comm	_WRKR_IDLE,4,2                  ## @WRKR_IDLE
	.comm	_PIPE_READ,8,3                  ## @PIPE_READ
	.comm	_PIPE_WRITE,8,3                 ## @PIPE_WRITE
	.comm	_signal_info,4,2                ## @signal_info
L_.str.1:                               ## @.str.1
	.asciz	"could not create worker process: %m"

	.comm	_SIGPIPE,4,2                    ## @SIGPIPE
	.comm	_SIG_IGN,4,2                    ## @SIG_IGN
	.comm	_getLocalPQExpBuffer,4,2        ## @getLocalPQExpBuffer
	.comm	_getThreadLocalPQExpBuffer,4,2  ## @getThreadLocalPQExpBuffer
	.comm	_init_spawned_worker_win32,4,2  ## @init_spawned_worker_win32
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ParallelBackupStart            ; -- Begin function ParallelBackupStart
	.p2align	2
_ParallelBackupStart:                   ; @ParallelBackupStart
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #24]
	ldr	w8, [x0, #8]
	cmp	w8, #0
	cset	w0, gt
	bl	_Assert
	mov	w0, #24
	bl	_pg_malloc
	mov	x20, x0
	ldr	w8, [x19, #8]
	str	w8, [x0]
	mov	x25, x0
	str	xzr, [x25, #8]!
	str	xzr, [x0, #16]
	cmp	w8, #1
	b.eq	LBB0_11
; %bb.1:
	lsl	w0, w8, #3
	bl	_pg_malloc0
	str	x0, [x20, #16]
	ldr	w8, [x20]
	add	w8, w8, w8, lsl #3
	lsl	w0, w8, #3
	bl	_pg_malloc0
	str	x0, [x20, #8]
Lloh3:
	adrp	x8, _shutdown_info@GOTPAGE
Lloh4:
	ldr	x8, [x8, _shutdown_info@GOTPAGEOFF]
Lloh5:
	str	x20, [x8]
	str	x19, [sp]                       ; 8-byte Folded Spill
	mov	x0, x19
	mov	x1, #0
	bl	_set_archive_cancel_info
	mov	x0, #0
	bl	_fflush
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_10
; %bb.2:
	mov	x22, #0
	mov	x26, #0
	add	x21, sp, #16
	add	x19, sp, #8
Lloh6:
	adrp	x24, _PIPE_WRITE@GOTPAGE
Lloh7:
	ldr	x24, [x24, _PIPE_WRITE@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x8, x27, x22
	str	x24, [x8, #24]
Lloh8:
	adrp	x8, _PIPE_READ@GOTPAGE
Lloh9:
	ldr	x8, [x8, _PIPE_READ@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	ldr	w0, [x21, x8, lsl #2]
	bl	_closesocket
	mov	x24, x28
	ldr	x8, [x28]
	ldr	w0, [x19, x8, lsl #2]
	bl	_closesocket
	add	x26, x26, #1
	ldrsw	x8, [x20]
	add	x22, x22, #72
	cmp	x26, x8
	b.ge	LBB0_10
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x27, [x25]
	add	x0, sp, #16
	bl	_pgpipe
	tbnz	x0, #63, LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x0, sp, #8
	bl	_pgpipe
	tbz	x0, #63, LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_4 Depth=1
Lloh11:
	adrp	x0, l_.str@PAGE
Lloh12:
	add	x0, x0, l_.str@PAGEOFF
	bl	_fatal
LBB0_7:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x20, #16]
	str	xzr, [x8, x26, lsl #3]
Lloh13:
	adrp	x8, _WRKR_IDLE@GOTPAGE
Lloh14:
	ldr	x8, [x8, _WRKR_IDLE@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	add	x23, x27, x22
	str	w8, [x23, #64]
	stp	xzr, xzr, [x23, #48]
	str	xzr, [x23, #40]
Lloh16:
	adrp	x8, _PIPE_READ@GOTPAGE
Lloh17:
	ldr	x8, [x8, _PIPE_READ@GOTPAGEOFF]
Lloh18:
	ldr	x8, [x8]
	lsl	x8, x8, #2
	ldr	w9, [x19, x8]
	str	w9, [x23]
	mov	x28, x24
	ldr	x9, [x24]
	lsl	x9, x9, #2
	ldr	w10, [x21, x9]
	str	w10, [x23, #4]
	ldr	w8, [x21, x8]
	str	w8, [x23, #8]
	ldr	w8, [x19, x9]
	str	w8, [x23, #12]
	bl	_fork
	cbz	x0, LBB0_13
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x24, x0
	tbz	x0, #63, LBB0_3
; %bb.9:                                ;   in Loop: Header=BB0_4 Depth=1
Lloh19:
	adrp	x0, l_.str.1@PAGE
Lloh20:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_fatal
	b	LBB0_3
LBB0_10:
Lloh21:
	adrp	x8, _SIGPIPE@GOTPAGE
Lloh22:
	ldr	x8, [x8, _SIGPIPE@GOTPAGEOFF]
Lloh23:
	ldr	w0, [x8]
Lloh24:
	adrp	x8, _SIG_IGN@GOTPAGE
Lloh25:
	ldr	x8, [x8, _SIG_IGN@GOTPAGEOFF]
Lloh26:
	ldr	w1, [x8]
	bl	_pqsignal
	ldr	x0, [sp]                        ; 8-byte Folded Reload
	ldr	x1, [x0]
	bl	_set_archive_cancel_info
	mov	x0, x20
	bl	_set_cancel_pstate
LBB0_11:
	ldr	x8, [sp, #24]
Lloh27:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh28:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh29:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_17
; %bb.12:
	mov	x0, x20
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_13:
	bl	_getpid
	str	x0, [x23, #24]
Lloh30:
	adrp	x8, _signal_info@GOTPAGE
Lloh31:
	ldr	x8, [x8, _signal_info@GOTPAGEOFF]
	mov	w9, #1
Lloh32:
	str	w9, [x8]
Lloh33:
	adrp	x8, _PIPE_READ@GOTPAGE
Lloh34:
	ldr	x8, [x8, _PIPE_READ@GOTPAGEOFF]
Lloh35:
	ldr	x8, [x8]
	add	x9, sp, #8
	ldr	w0, [x9, x8, lsl #2]
	bl	_closesocket
	ldr	x8, [x28]
	add	x9, sp, #16
	ldr	w0, [x9, x8, lsl #2]
	bl	_closesocket
	cbz	w26, LBB0_16
; %bb.14:
	mov	x19, #0
LBB0_15:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x25]
	ldr	w0, [x8, x19]
	bl	_closesocket
	ldr	x8, [x25]
	add	x8, x8, x19
	ldr	w0, [x8, #4]
	bl	_closesocket
	add	x19, x19, #72
	subs	x26, x26, #1
	b.ne	LBB0_15
LBB0_16:
	ldr	x0, [sp]                        ; 8-byte Folded Reload
	mov	x1, x23
	bl	_RunWorker
	mov	w0, #0
	bl	_exit
LBB0_17:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotStr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotStr	Lloh30, Lloh31, Lloh32
	.cfi_endproc
                                        ; -- End function
	.comm	_shutdown_info,8,3              ; @shutdown_info
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"could not create communication channels: %m"

	.comm	_WRKR_IDLE,4,2                  ; @WRKR_IDLE
	.comm	_PIPE_READ,8,3                  ; @PIPE_READ
	.comm	_PIPE_WRITE,8,3                 ; @PIPE_WRITE
	.comm	_signal_info,4,2                ; @signal_info
l_.str.1:                               ; @.str.1
	.asciz	"could not create worker process: %m"

	.comm	_SIGPIPE,4,2                    ; @SIGPIPE
	.comm	_SIG_IGN,4,2                    ; @SIG_IGN
	.comm	_getLocalPQExpBuffer,4,2        ; @getLocalPQExpBuffer
	.comm	_getThreadLocalPQExpBuffer,4,2  ; @getThreadLocalPQExpBuffer
	.comm	_init_spawned_worker_win32,4,2  ; @init_spawned_worker_win32
.subsections_via_symbols
