	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cost_group                     ## -- Begin function cost_group
	.p2align	4, 0x90
_cost_group:                            ## @cost_group
	.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	$40, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_cpu_operator_cost@GOTPCREL(%rip), %rax
	mulsd	(%rax), %xmm3
	cvtsi2sd	%edx, %xmm4
	movq	%rdi, %r14
	mulsd	%xmm3, %xmm4
	addsd	%xmm2, %xmm4
	testq	%rcx, %rcx
	je	LBB0_2
## %bb.1:
	movq	%rcx, %rbx
	movq	%rsi, %r15
	leaq	-64(%rbp), %rdi
	movq	%rcx, %rsi
	movq	%r15, %rdx
	movsd	%xmm4, -40(%rbp)                ## 8-byte Spill
	movsd	%xmm1, -32(%rbp)                ## 8-byte Spill
	movsd	%xmm0, -48(%rbp)                ## 8-byte Spill
	callq	_cost_qual_eval
	xorps	%xmm0, %xmm0
	cvtsi2sdq	-56(%rbp), %xmm0
	movsd	-32(%rbp), %xmm1                ## 8-byte Reload
                                        ## xmm1 = mem[0],zero
	addsd	%xmm0, %xmm1
	movsd	%xmm1, -32(%rbp)                ## 8-byte Spill
	movsd	-64(%rbp), %xmm1                ## xmm1 = mem[0],zero
	mulsd	-48(%rbp), %xmm1                ## 8-byte Folded Reload
	addsd	%xmm0, %xmm1
	movsd	-40(%rbp), %xmm0                ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	addsd	%xmm1, %xmm0
	movsd	%xmm0, -40(%rbp)                ## 8-byte Spill
	movq	_JOIN_INNER@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r15, %rdi
	movq	%rbx, %rsi
	xorl	%edx, %edx
	xorl	%r8d, %r8d
	callq	_clauselist_selectivity
	mulsd	-48(%rbp), %xmm0                ## 8-byte Folded Reload
	callq	_clamp_row_est
	movsd	-32(%rbp), %xmm1                ## 8-byte Reload
                                        ## xmm1 = mem[0],zero
	movsd	-40(%rbp), %xmm4                ## 8-byte Reload
                                        ## xmm4 = mem[0],zero
LBB0_2:
	movsd	%xmm0, (%r14)
	movsd	%xmm1, 8(%r14)
	movsd	%xmm4, 16(%r14)
	addq	$40, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_cpu_operator_cost,8,3          ## @cpu_operator_cost
	.comm	_JOIN_INNER,4,2                 ## @JOIN_INNER
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cost_group                     ; -- Begin function cost_group
	.p2align	2
_cost_group:                            ; @cost_group
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	d11, d10, [sp, #16]             ; 16-byte Folded Spill
	stp	d9, d8, [sp, #32]               ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset b10, -72
	.cfi_offset b11, -80
	fmov	d8, d1
	fmov	d9, d0
	mov	x19, x0
Lloh0:
	adrp	x8, _cpu_operator_cost@GOTPAGE
Lloh1:
	ldr	x8, [x8, _cpu_operator_cost@GOTPAGEOFF]
Lloh2:
	ldr	d0, [x8]
	fmul	d0, d0, d3
	scvtf	d1, w2
	fmadd	d10, d0, d1, d2
	cbz	x3, LBB0_2
; %bb.1:
	mov	x20, x3
	mov	x21, x1
	mov	x0, sp
	mov	x1, x3
	mov	x2, x21
	bl	_cost_qual_eval
	ldp	d1, d0, [sp]
	scvtf	d0, d0
	fadd	d8, d0, d8
	fmadd	d0, d9, d1, d0
	fadd	d10, d10, d0
Lloh3:
	adrp	x8, _JOIN_INNER@GOTPAGE
Lloh4:
	ldr	x8, [x8, _JOIN_INNER@GOTPAGEOFF]
Lloh5:
	ldr	w3, [x8]
	mov	x0, x21
	mov	x1, x20
	mov	w2, #0
	mov	x4, #0
	bl	_clauselist_selectivity
	fmul	d0, d0, d9
	bl	_clamp_row_est
	fmov	d9, d0
LBB0_2:
	str	d9, [x19]
	str	d8, [x19, #8]
	str	d10, [x19, #16]
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #32]               ; 16-byte Folded Reload
	ldp	d11, d10, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_cpu_operator_cost,8,3          ; @cpu_operator_cost
	.comm	_JOIN_INNER,4,2                 ; @JOIN_INNER
.subsections_via_symbols
