	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function HandleParallelMessage
_HandleParallelMessage:                 ## @HandleParallelMessage
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	movl	%esi, %r15d
	movq	%rdi, %r14
	movq	(%rdi), %rax
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movslq	%r15d, %rcx
	cmpl	$0, (%rax,%rcx,4)
	jne	LBB0_3
## %bb.2:
	movl	$1, (%rax,%rcx,4)
	incl	24(%r14)
LBB0_3:
	movq	%rbx, %rdi
	callq	_pq_getmsgbyte
	movsbl	%al, %edx
	leal	-65(%rdx), %eax
	cmpl	$23, %eax
	ja	LBB0_13
## %bb.4:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_5:
	leaq	-40(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_pq_parse_errornotice
	movl	-36(%rbp), %edi
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_Min
	movl	%eax, -36(%rbp)
	movq	_force_parallel_mode@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_FORCE_PARALLEL_REGRESS@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_10
## %bb.6:
	movl	-40(%rbp), %ebx
	leaq	L_.str.1(%rip), %rdi
	callq	__
	testl	%ebx, %ebx
	je	LBB0_8
## %bb.7:
	leaq	L_.str(%rip), %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_psprintf
	jmp	LBB0_9
LBB0_11:
	movq	%rbx, %rdi
	movl	$4, %esi
	callq	_pq_getmsgint
	movl	%eax, %r14d
	movq	%rbx, %rdi
	callq	_pq_getmsgrawstring
	movq	%rax, %r15
	movq	%rbx, %rdi
	callq	_pq_getmsgrawstring
	movq	%rax, %r12
	movq	%rbx, %rdi
	callq	_pq_endmessage
	movq	%r15, %rdi
	movq	%r12, %rsi
	movl	%r14d, %edx
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_NotifyMyFrontEnd               ## TAILCALL
LBB0_13:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%rbx), %ecx
	leaq	L_.str.2(%rip), %rsi
                                        ## kill: def $edx killed $edx killed $rdx
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_elog                           ## TAILCALL
LBB0_14:
	movq	%rbx, %rdi
	movl	$4, %esi
	callq	_pq_getmsgint
	movl	%eax, %r12d
	movq	%rbx, %rdi
	movl	$4, %esi
	callq	_pq_getmsgint
	movq	%rbx, %rdi
	callq	_pq_getmsgend
	movq	8(%r14), %rax
	movslq	%r15d, %rcx
	shlq	$4, %rcx
	movl	%r12d, 8(%rax,%rcx)
	jmp	LBB0_15
LBB0_12:
	movq	8(%r14), %rax
	movslq	%r15d, %rbx
	shlq	$4, %rbx
	movq	(%rax,%rbx), %rdi
	callq	_shm_mq_detach
	movq	8(%r14), %rax
	movq	$0, (%rax,%rbx)
	jmp	LBB0_15
LBB0_8:
	movl	%eax, %edi
	callq	_pstrdup
LBB0_9:
	movl	%eax, -40(%rbp)
LBB0_10:
	movq	_error_context_stack@GOTPCREL(%rip), %r15
	movq	(%r15), %rbx
	movq	16(%r14), %rax
	movq	%rax, (%r15)
	leaq	-40(%rbp), %rdi
	callq	_ThrowErrorData
	movq	%rbx, (%r15)
LBB0_15:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
LJTI0_0:
	.long	L0_0_set_11
	.long	L0_0_set_13
	.long	L0_0_set_13
	.long	L0_0_set_13
	.long	L0_0_set_5
	.long	L0_0_set_13
	.long	L0_0_set_13
	.long	L0_0_set_13
	.long	L0_0_set_13
	.long	L0_0_set_13
	.long	L0_0_set_14
	.long	L0_0_set_13
	.long	L0_0_set_13
	.long	L0_0_set_5
	.long	L0_0_set_13
	.long	L0_0_set_13
	.long	L0_0_set_13
	.long	L0_0_set_13
	.long	L0_0_set_13
	.long	L0_0_set_13
	.long	L0_0_set_13
	.long	L0_0_set_13
	.long	L0_0_set_13
	.long	L0_0_set_12
	.end_data_region
                                        ## -- End function
	.comm	_ERROR,4,2                      ## @ERROR
	.comm	_force_parallel_mode,4,2        ## @force_parallel_mode
	.comm	_FORCE_PARALLEL_REGRESS,4,2     ## @FORCE_PARALLEL_REGRESS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s\n%s"

L_.str.1:                               ## @.str.1
	.asciz	"parallel worker"

	.comm	_error_context_stack,8,3        ## @error_context_stack
L_.str.2:                               ## @.str.2
	.asciz	"unrecognized message type received from parallel worker: %c (message length %d bytes)"

	.no_dead_strip	_HandleParallelMessage
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function HandleParallelMessage
_HandleParallelMessage:                 ; @HandleParallelMessage
	.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	x20, x2
	mov	x21, x1
	mov	x19, x0
	ldr	x8, [x0]
	cbz	x8, LBB0_3
; %bb.1:
	ldr	w9, [x8, w21, sxtw #2]
	cbnz	w9, LBB0_3
; %bb.2:
	sxtw	x9, w21
	mov	w10, #1
	str	w10, [x8, x9, lsl #2]
	ldr	w8, [x19, #24]
	add	w8, w8, #1
	str	w8, [x19, #24]
LBB0_3:
	mov	x0, x20
	bl	_pq_getmsgbyte
	mov	x2, x0
	sub	w8, w0, #65
	cmp	w8, #23
	b.hi	LBB0_9
; %bb.4:
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_5
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_5:
	add	x1, sp, #8
	mov	x0, x20
	bl	_pq_parse_errornotice
	ldr	w0, [sp, #12]
Lloh2:
	adrp	x8, _ERROR@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	bl	_Min
Lloh5:
	adrp	x8, _force_parallel_mode@GOTPAGE
Lloh6:
	ldr	x8, [x8, _force_parallel_mode@GOTPAGEOFF]
	str	w0, [sp, #12]
Lloh7:
	ldr	w8, [x8]
Lloh8:
	adrp	x9, _FORCE_PARALLEL_REGRESS@GOTPAGE
Lloh9:
	ldr	x9, [x9, _FORCE_PARALLEL_REGRESS@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	cmp	w8, w9
	b.eq	LBB0_14
; %bb.6:
	ldr	w20, [sp, #8]
Lloh11:
	adrp	x0, l_.str.1@PAGE
Lloh12:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	__
	mov	x2, x0
	cbz	w20, LBB0_12
; %bb.7:
Lloh13:
	adrp	x0, l_.str@PAGE
Lloh14:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x20
	bl	_psprintf
	b	LBB0_13
LBB0_8:
	mov	x0, x20
	mov	w1, #4
	bl	_pq_getmsgint
	mov	x19, x0
	mov	x0, x20
	bl	_pq_getmsgrawstring
	mov	x21, x0
	mov	x0, x20
	bl	_pq_getmsgrawstring
	mov	x22, x0
	mov	x0, x20
	bl	_pq_endmessage
	mov	x0, x21
	mov	x1, x22
	mov	x2, x19
	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
	b	_NotifyMyFrontEnd
LBB0_9:
Lloh15:
	adrp	x8, _ERROR@GOTPAGE
Lloh16:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
	ldr	w3, [x20]
Lloh18:
	adrp	x1, l_.str.2@PAGE
Lloh19:
	add	x1, x1, l_.str.2@PAGEOFF
	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
	b	_elog
LBB0_10:
	mov	x0, x20
	mov	w1, #4
	bl	_pq_getmsgint
	mov	x22, x0
	mov	x0, x20
	mov	w1, #4
	bl	_pq_getmsgint
	mov	x0, x20
	bl	_pq_getmsgend
	ldr	x8, [x19, #8]
	add	x8, x8, w21, sxtw #4
	str	w22, [x8, #8]
	b	LBB0_15
LBB0_11:
	ldr	x8, [x19, #8]
                                        ; kill: def $w21 killed $w21 killed $x21 def $x21
	sbfiz	x20, x21, #4, #32
	ldr	x0, [x8, x20]
	bl	_shm_mq_detach
	ldr	x8, [x19, #8]
	str	xzr, [x8, x20]
	b	LBB0_15
LBB0_12:
	mov	x0, x2
	bl	_pstrdup
LBB0_13:
	str	w0, [sp, #8]
LBB0_14:
Lloh20:
	adrp	x20, _error_context_stack@GOTPAGE
Lloh21:
	ldr	x20, [x20, _error_context_stack@GOTPAGEOFF]
	ldr	x21, [x20]
	ldr	x8, [x19, #16]
	str	x8, [x20]
	add	x0, sp, #8
	bl	_ThrowErrorData
	str	x21, [x20]
LBB0_15:
	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
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh20, Lloh21
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_8-LBB0_5)>>2
	.byte	(LBB0_9-LBB0_5)>>2
	.byte	(LBB0_9-LBB0_5)>>2
	.byte	(LBB0_9-LBB0_5)>>2
	.byte	(LBB0_5-LBB0_5)>>2
	.byte	(LBB0_9-LBB0_5)>>2
	.byte	(LBB0_9-LBB0_5)>>2
	.byte	(LBB0_9-LBB0_5)>>2
	.byte	(LBB0_9-LBB0_5)>>2
	.byte	(LBB0_9-LBB0_5)>>2
	.byte	(LBB0_10-LBB0_5)>>2
	.byte	(LBB0_9-LBB0_5)>>2
	.byte	(LBB0_9-LBB0_5)>>2
	.byte	(LBB0_5-LBB0_5)>>2
	.byte	(LBB0_9-LBB0_5)>>2
	.byte	(LBB0_9-LBB0_5)>>2
	.byte	(LBB0_9-LBB0_5)>>2
	.byte	(LBB0_9-LBB0_5)>>2
	.byte	(LBB0_9-LBB0_5)>>2
	.byte	(LBB0_9-LBB0_5)>>2
	.byte	(LBB0_9-LBB0_5)>>2
	.byte	(LBB0_9-LBB0_5)>>2
	.byte	(LBB0_9-LBB0_5)>>2
	.byte	(LBB0_11-LBB0_5)>>2
                                        ; -- End function
	.comm	_ERROR,4,2                      ; @ERROR
	.comm	_force_parallel_mode,4,2        ; @force_parallel_mode
	.comm	_FORCE_PARALLEL_REGRESS,4,2     ; @FORCE_PARALLEL_REGRESS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s\n%s"

l_.str.1:                               ; @.str.1
	.asciz	"parallel worker"

	.comm	_error_context_stack,8,3        ; @error_context_stack
l_.str.2:                               ; @.str.2
	.asciz	"unrecognized message type received from parallel worker: %c (message length %d bytes)"

	.no_dead_strip	_HandleParallelMessage
.subsections_via_symbols
