	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ParallelSlotsSetup             ## -- Begin function ParallelSlotsSetup
	.p2align	4, 0x90
_ParallelSlotsSetup:                    ## @ParallelSlotsSetup
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, -88(%rbp)                  ## 8-byte Spill
	movl	%r8d, -44(%rbp)                 ## 4-byte Spill
	movq	%rcx, -80(%rbp)                 ## 8-byte Spill
	movq	%rdx, -72(%rbp)                 ## 8-byte Spill
	movq	%rsi, -64(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r14
	movl	32(%rbp), %ebx
	movq	24(%rbp), %r15
	xorl	%edi, %edi
	testq	%r15, %r15
	setne	%dil
	callq	_Assert
	leal	(,%rbx,4), %edi
	callq	_pg_malloc
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%rax, %rdi
	movq	%r15, %rsi
	callq	_init_slot
	cmpl	$2, %ebx
	jl	LBB0_4
## %bb.1:
	movl	%ebx, %ebx
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	leaq	4(%rax), %r12
	movl	$1, %r15d
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	subq	$8, %rsp
	movq	%r14, %rdi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	movl	-44(%rbp), %r8d                 ## 4-byte Reload
	movq	-88(%rbp), %r9                  ## 8-byte Reload
	pushq	$1
	pushq	$0
	movl	16(%rbp), %eax
	pushq	%rax
	callq	_connectDatabase
	addq	$32, %rsp
	movq	%rax, %r13
	movq	%rax, %rdi
	callq	_PQsocket
	movq	_FD_SETSIZE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jge	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r12, %rdi
	movq	%r13, %rsi
	callq	_init_slot
	incq	%r15
	addq	$4, %r12
	cmpq	%r15, %rbx
	jne	LBB0_2
LBB0_4:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	leaq	L_.str(%rip), %rdi
	movl	%r15d, %esi
	callq	_pg_log_fatal
	movl	$1, %edi
	callq	_exit
	.cfi_endproc
                                        ## -- End function
	.comm	_FD_SETSIZE,8,3                 ## @FD_SETSIZE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"too many jobs for this platform -- try %d"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ParallelSlotsSetup             ; -- Begin function ParallelSlotsSetup
	.p2align	2
_ParallelSlotsSetup:                    ; @ParallelSlotsSetup
	.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	x26, x7
	str	w6, [sp, #28]                   ; 4-byte Folded Spill
	mov	x20, x5
	mov	x21, x4
	mov	x22, x3
	mov	x23, x2
	mov	x24, x1
	mov	x25, x0
	ldr	w19, [x29, #16]
	cmp	x7, #0
	cset	w0, ne
	bl	_Assert
	lsl	w0, w19, #2
	bl	_pg_malloc
	str	x0, [sp, #16]                   ; 8-byte Folded Spill
	mov	x1, x26
	bl	_init_slot
	cmp	w19, #2
	b.lt	LBB0_4
; %bb.1:
	ldr	x8, [sp, #16]                   ; 8-byte Folded Reload
	add	x27, x8, #4
	mov	w28, #1
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	w8, #1
	str	w8, [sp]
	mov	x0, x25
	mov	x1, x24
	mov	x2, x23
	mov	x3, x22
	mov	x4, x21
	mov	x5, x20
	ldr	w6, [sp, #28]                   ; 4-byte Folded Reload
	mov	w7, #0
	bl	_connectDatabase
	mov	x26, x0
	bl	_PQsocket
Lloh0:
	adrp	x8, _FD_SETSIZE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FD_SETSIZE@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ge	LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x27
	mov	x1, x26
	bl	_init_slot
	add	x28, x28, #1
	add	x27, x27, #4
	cmp	x19, x28
	b.ne	LBB0_2
LBB0_4:
	ldr	x0, [sp, #16]                   ; 8-byte Folded Reload
	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_5:
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x28
	bl	_pg_log_fatal
	mov	w0, #1
	bl	_exit
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_FD_SETSIZE,8,3                 ; @FD_SETSIZE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"too many jobs for this platform -- try %d"

.subsections_via_symbols
