	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_compute_parallel_worker        ## -- Begin function compute_parallel_worker
	.p2align	4, 0x90
_compute_parallel_worker:               ## @compute_parallel_worker
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movl	(%rdi), %r15d
	cmpl	$-1, %r15d
	je	LBB0_1
LBB0_17:
	movl	%r15d, %edi
	movl	%r14d, %esi
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_Min                            ## TAILCALL
LBB0_1:
	movapd	%xmm0, %xmm3
	movq	8(%rdi), %rax
	movq	_RELOPT_BASEREL@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_6
## %bb.2:
	xorpd	%xmm0, %xmm0
	ucomisd	%xmm0, %xmm3
	jb	LBB0_4
## %bb.3:
	movq	_min_parallel_table_scan_size@GOTPCREL(%rip), %rax
	movsd	(%rax), %xmm2                   ## xmm2 = mem[0],zero
	ucomisd	%xmm3, %xmm2
	ja	LBB0_18
LBB0_4:
	ucomisd	%xmm0, %xmm1
	jb	LBB0_6
## %bb.5:
	movq	_min_parallel_index_scan_size@GOTPCREL(%rip), %rax
	movsd	(%rax), %xmm0                   ## xmm0 = mem[0],zero
	ucomisd	%xmm1, %xmm0
	jbe	LBB0_6
LBB0_18:
	xorl	%eax, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	xorl	%r15d, %r15d
	xorpd	%xmm4, %xmm4
	ucomisd	%xmm4, %xmm3
	movsd	%xmm1, -32(%rbp)                ## 8-byte Spill
	jb	LBB0_10
## %bb.7:
	movq	_min_parallel_table_scan_size@GOTPCREL(%rip), %rax
	movsd	(%rax), %xmm0                   ## xmm0 = mem[0],zero
	movl	$1, %r15d
	movl	$1, %edi
	movsd	%xmm3, -40(%rbp)                ## 8-byte Spill
	callq	_Max
	xorpd	%xmm4, %xmm4
	movsd	-40(%rbp), %xmm2                ## 8-byte Reload
                                        ## xmm2 = mem[0],zero
	movsd	-32(%rbp), %xmm1                ## 8-byte Reload
                                        ## xmm1 = mem[0],zero
                                        ## kill: def $eax killed $eax def $rax
	movq	_INT_MAX@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rcx
	imulq	$1431655766, %rcx, %rcx         ## imm = 0x55555556
	movq	%rcx, %rdx
	shrq	$63, %rdx
	shrq	$32, %rcx
	addl	%edx, %ecx
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	leal	(%rax,%rax,2), %eax
	xorps	%xmm0, %xmm0
	cvtsi2sd	%eax, %xmm0
	ucomisd	%xmm0, %xmm2
	jb	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	incl	%r15d
	cmpl	%ecx, %eax
	jle	LBB0_8
LBB0_10:
	ucomisd	%xmm4, %xmm1
	jb	LBB0_17
## %bb.11:
	movq	_min_parallel_index_scan_size@GOTPCREL(%rip), %rax
	movsd	(%rax), %xmm0                   ## xmm0 = mem[0],zero
	movl	$1, %ebx
	movl	$1, %edi
	callq	_Max
	movsd	-32(%rbp), %xmm1                ## 8-byte Reload
                                        ## xmm1 = mem[0],zero
                                        ## kill: def $eax killed $eax def $rax
	movq	_INT_MAX@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rcx
	imulq	$1431655766, %rcx, %rcx         ## imm = 0x55555556
	movq	%rcx, %rdx
	shrq	$63, %rdx
	shrq	$32, %rcx
	addl	%edx, %ecx
	.p2align	4, 0x90
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	leal	(%rax,%rax,2), %eax
	xorps	%xmm0, %xmm0
	cvtsi2sd	%eax, %xmm0
	ucomisd	%xmm0, %xmm1
	jb	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_12 Depth=1
	incl	%ebx
	cmpl	%ecx, %eax
	jle	LBB0_12
LBB0_14:
	testl	%r15d, %r15d
	jle	LBB0_15
## %bb.16:
	movl	%r15d, %edi
	movl	%ebx, %esi
	callq	_Min
	movl	%eax, %r15d
	jmp	LBB0_17
LBB0_15:
	movl	%ebx, %r15d
	jmp	LBB0_17
	.cfi_endproc
                                        ## -- End function
	.comm	_RELOPT_BASEREL,8,3             ## @RELOPT_BASEREL
	.comm	_min_parallel_table_scan_size,8,3 ## @min_parallel_table_scan_size
	.comm	_min_parallel_index_scan_size,8,3 ## @min_parallel_index_scan_size
	.comm	_INT_MAX,4,2                    ## @INT_MAX
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_compute_parallel_worker        ; -- Begin function compute_parallel_worker
	.p2align	2
_compute_parallel_worker:               ; @compute_parallel_worker
	.cfi_startproc
; %bb.0:
	stp	d9, d8, [sp, #-64]!             ; 16-byte Folded Spill
	.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
	.cfi_offset b8, -56
	.cfi_offset b9, -64
	mov	x19, x1
	ldr	w20, [x0]
	cmn	w20, #1
	b.eq	LBB0_2
LBB0_1:
	mov	x0, x20
	mov	x1, 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
	ldp	d9, d8, [sp], #64               ; 16-byte Folded Reload
	b	_Min
LBB0_2:
	fmov	d8, d1
	fmov	d9, d0
	ldr	x8, [x0, #8]
Lloh0:
	adrp	x9, _RELOPT_BASEREL@GOTPAGE
Lloh1:
	ldr	x9, [x9, _RELOPT_BASEREL@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_7
; %bb.3:
Lloh3:
	adrp	x8, _min_parallel_table_scan_size@GOTPAGE
Lloh4:
	ldr	x8, [x8, _min_parallel_table_scan_size@GOTPAGEOFF]
Lloh5:
	ldr	d0, [x8]
	fcmp	d9, #0.0
	fccmp	d0, d9, #4, ge
	b.gt	LBB0_6
; %bb.4:
	fcmp	d8, #0.0
	b.lt	LBB0_7
; %bb.5:
Lloh6:
	adrp	x8, _min_parallel_index_scan_size@GOTPAGE
Lloh7:
	ldr	x8, [x8, _min_parallel_index_scan_size@GOTPAGEOFF]
Lloh8:
	ldr	d0, [x8]
	fcmp	d0, d8
	b.le	LBB0_7
LBB0_6:
	mov	w0, #0
	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
	ldp	d9, d8, [sp], #64               ; 16-byte Folded Reload
	ret
LBB0_7:
	fcmp	d9, #0.0
Lloh9:
	adrp	x22, _INT_MAX@GOTPAGE
Lloh10:
	ldr	x22, [x22, _INT_MAX@GOTPAGEOFF]
	b.ge	LBB0_9
; %bb.8:
	mov	w20, #0
	b	LBB0_12
LBB0_9:
Lloh11:
	adrp	x8, _min_parallel_table_scan_size@GOTPAGE
Lloh12:
	ldr	x8, [x8, _min_parallel_table_scan_size@GOTPAGEOFF]
Lloh13:
	ldr	d0, [x8]
	mov	w20, #1
	mov	w0, #1
	bl	_Max
	ldrsw	x8, [x22]
	mov	w9, #21846
	movk	w9, #21845, lsl #16
	mul	x8, x8, x9
	lsr	x9, x8, #63
	lsr	x8, x8, #32
	add	w8, w8, w9
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	add	w0, w0, w0, lsl #1
	scvtf	d0, w0
	fcmp	d0, d9
	b.hi	LBB0_12
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	add	w20, w20, #1
	cmp	w0, w8
	b.le	LBB0_10
LBB0_12:
	fcmp	d8, #0.0
	b.lt	LBB0_1
; %bb.13:
Lloh14:
	adrp	x8, _min_parallel_index_scan_size@GOTPAGE
Lloh15:
	ldr	x8, [x8, _min_parallel_index_scan_size@GOTPAGEOFF]
Lloh16:
	ldr	d0, [x8]
	mov	w21, #1
	mov	w0, #1
	bl	_Max
	ldrsw	x8, [x22]
	mov	w9, #21846
	movk	w9, #21845, lsl #16
	mul	x8, x8, x9
	lsr	x9, x8, #63
	lsr	x8, x8, #32
	add	w8, w8, w9
LBB0_14:                                ; =>This Inner Loop Header: Depth=1
	add	w0, w0, w0, lsl #1
	scvtf	d0, w0
	fcmp	d0, d8
	b.hi	LBB0_16
; %bb.15:                               ;   in Loop: Header=BB0_14 Depth=1
	add	w21, w21, #1
	cmp	w0, w8
	b.le	LBB0_14
LBB0_16:
	cmp	w20, #1
	b.lt	LBB0_18
; %bb.17:
	mov	x0, x20
	mov	x1, x21
	bl	_Min
	mov	x20, x0
	b	LBB0_1
LBB0_18:
	mov	x20, x21
	b	LBB0_1
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_RELOPT_BASEREL,8,3             ; @RELOPT_BASEREL
	.comm	_min_parallel_table_scan_size,8,3 ; @min_parallel_table_scan_size
	.comm	_min_parallel_index_scan_size,8,3 ; @min_parallel_index_scan_size
	.comm	_INT_MAX,4,2                    ; @INT_MAX
.subsections_via_symbols
