	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function ineq_histogram_selectivity
LCPI0_0:
	.quad	0xbff0000000000000              ## double -1
LCPI0_1:
	.quad	0x3ff0000000000000              ## double 1
LCPI0_2:
	.quad	0x3fe0000000000000              ## double 0.5
LCPI0_3:
	.quad	0x3f847ae147ae147b              ## double 0.01
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_ineq_histogram_selectivity
	.p2align	4, 0x90
_ineq_histogram_selectivity:            ## @ineq_histogram_selectivity
	.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	$152, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, -88(%rbp)                 ## 4-byte Spill
	movl	%r8d, %r15d
	movl	%ecx, -64(%rbp)                 ## 4-byte Spill
	movq	%rdx, %r14
	movq	%rsi, %rbx
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	movl	4(%rsi), %edi
	callq	_HeapTupleIsValid
	movsd	LCPI0_0(%rip), %xmm0            ## xmm0 = mem[0],zero
	testq	%rax, %rax
	je	LBB0_52
## %bb.1:
	movl	(%r14), %esi
	movq	%rbx, %rdi
	callq	_statistic_proc_security_check
	testq	%rax, %rax
	je	LBB0_2
## %bb.3:
	movl	4(%rbx), %esi
	movq	_STATISTIC_KIND_HISTOGRAM@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_InvalidOid@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_ATTSTATSSLOT_VALUES@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	leaq	-128(%rbp), %rdi
	callq	_get_attstatsslot
	testq	%rax, %rax
	movsd	LCPI0_0(%rip), %xmm0            ## xmm0 = mem[0],zero
	je	LBB0_52
## %bb.4:
	movl	-128(%rbp), %r13d
	cmpl	$2, %r13d
	jl	LBB0_5
## %bb.6:
	movq	%rbx, -80(%rbp)                 ## 8-byte Spill
	movl	%r15d, -68(%rbp)                ## 4-byte Spill
	xorl	%r12d, %r12d
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	cmpl	$2, %r13d
	jne	LBB0_8
## %bb.7:
	movl	-96(%rbp), %edx
	movq	-120(%rbp), %rcx
	leaq	4(%rcx), %r8
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	callq	_get_actual_variable_range
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_17:                                ##   in Loop: Header=BB0_8 Depth=1
	incl	%r15d
	movl	%r15d, %r12d
	cmpl	%r13d, %r12d
	jge	LBB0_19
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	leal	(%r12,%r13), %eax
	movl	%eax, %r15d
	shrl	$31, %r15d
	addl	%eax, %r15d
	sarl	%r15d
	leal	(%r12,%r13), %ecx
	incl	%ecx
	movl	-128(%rbp), %eax
	movslq	%r15d, %rbx
	cmpl	$2, %ecx
	ja	LBB0_11
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	cmpl	$3, %eax
	jl	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_8 Depth=1
	movl	-96(%rbp), %edx
	movq	-120(%rbp), %rcx
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	xorl	%r8d, %r8d
	jmp	LBB0_14
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_8 Depth=1
	cmpl	$3, %eax
	jl	LBB0_15
## %bb.12:                              ##   in Loop: Header=BB0_8 Depth=1
	decl	%eax
	cmpl	%eax, %r15d
	jne	LBB0_15
## %bb.13:                              ##   in Loop: Header=BB0_8 Depth=1
	movl	-96(%rbp), %edx
	leaq	(,%rbx,4), %r8
	addq	-120(%rbp), %r8
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	xorl	%ecx, %ecx
LBB0_14:                                ##   in Loop: Header=BB0_8 Depth=1
	callq	_get_actual_variable_range
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
LBB0_15:                                ##   in Loop: Header=BB0_8 Depth=1
	movl	-112(%rbp), %esi
	movq	-120(%rbp), %rax
	movl	(%rax,%rbx,4), %edx
	movq	%r14, %rdi
	movl	-88(%rbp), %ecx                 ## 4-byte Reload
	callq	_FunctionCall2Coll
	movl	%eax, %edi
	callq	_DatumGetBool
	xorl	%ecx, %ecx
	testl	%eax, %eax
	sete	%cl
	cmpl	$0, -64(%rbp)                   ## 4-byte Folded Reload
	cmovel	%eax, %ecx
	testl	%ecx, %ecx
	jne	LBB0_17
## %bb.16:                              ##   in Loop: Header=BB0_8 Depth=1
	movl	%r15d, %r13d
	cmpl	%r13d, %r12d
	jl	LBB0_8
LBB0_19:
	testl	%r12d, %r12d
	jle	LBB0_20
## %bb.21:
	cmpl	-128(%rbp), %r12d
	jge	LBB0_22
## %bb.23:
	movl	-68(%rbp), %eax                 ## 4-byte Reload
	cmpl	%eax, -64(%rbp)                 ## 4-byte Folded Reload
	je	LBB0_25
## %bb.24:
	xorpd	%xmm0, %xmm0
	cmpl	$1, %r12d
	jne	LBB0_29
LBB0_25:
	leaq	-136(%rbp), %rsi
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_get_variable_numdistinct
	movsd	%xmm0, -56(%rbp)                ## 8-byte Spill
	movl	4(%rbx), %esi
	movq	_STATISTIC_KIND_MCV@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_InvalidOid@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_ATTSTATSSLOT_NUMBERS@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	leaq	-184(%rbp), %rdi
	callq	_get_attstatsslot
	testq	%rax, %rax
	je	LBB0_27
## %bb.26:
	xorps	%xmm0, %xmm0
	cvtsi2sdq	-160(%rbp), %xmm0
	movsd	-56(%rbp), %xmm1                ## 8-byte Reload
                                        ## xmm1 = mem[0],zero
	subsd	%xmm0, %xmm1
	movsd	%xmm1, -56(%rbp)                ## 8-byte Spill
	leaq	-184(%rbp), %rdi
	callq	_free_attstatsslot
LBB0_27:
	xorpd	%xmm0, %xmm0
	movsd	-56(%rbp), %xmm1                ## 8-byte Reload
                                        ## xmm1 = mem[0],zero
	ucomisd	LCPI0_1(%rip), %xmm1
	jbe	LBB0_29
## %bb.28:
	movsd	LCPI0_1(%rip), %xmm0            ## xmm0 = mem[0],zero
	divsd	%xmm1, %xmm0
LBB0_29:
	movsd	%xmm0, -56(%rbp)                ## 8-byte Spill
	movl	-112(%rbp), %edx
	movq	-120(%rbp), %rax
	leal	-1(%r12), %r14d
	movl	(%rax,%r14,4), %r8d
	movl	%r12d, %ecx
	movl	(%rax,%rcx,4), %r9d
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %eax
	subq	$8, %rsp
	leaq	-136(%rbp), %rbx
	leaq	-144(%rbp), %r10
	leaq	-184(%rbp), %rcx
	movl	-88(%rbp), %edi                 ## 4-byte Reload
	movl	16(%rbp), %esi
	pushq	%rbx
	pushq	%r10
	pushq	%rax
	callq	_convert_to_scalar
	addq	$32, %rsp
	movsd	LCPI0_2(%rip), %xmm4            ## xmm4 = mem[0],zero
	testq	%rax, %rax
	je	LBB0_37
## %bb.30:
	movsd	-136(%rbp), %xmm1               ## xmm1 = mem[0],zero
	movsd	-144(%rbp), %xmm2               ## xmm2 = mem[0],zero
	ucomisd	%xmm1, %xmm2
	jae	LBB0_37
## %bb.31:
	movsd	-184(%rbp), %xmm0               ## xmm0 = mem[0],zero
	xorpd	%xmm4, %xmm4
	ucomisd	%xmm0, %xmm2
	jae	LBB0_37
## %bb.32:
	ucomisd	%xmm1, %xmm0
	jae	LBB0_33
## %bb.34:
	subsd	%xmm2, %xmm0
	subsd	%xmm2, %xmm1
	divsd	%xmm1, %xmm0
	movsd	%xmm0, -88(%rbp)                ## 8-byte Spill
	callq	_isnan
	movsd	-88(%rbp), %xmm5                ## 8-byte Reload
                                        ## xmm5 = mem[0],zero
	movsd	LCPI0_2(%rip), %xmm1            ## xmm1 = mem[0],zero
	movapd	%xmm1, %xmm0
	testq	%rax, %rax
	jne	LBB0_36
## %bb.35:
	movapd	%xmm5, %xmm0
LBB0_36:
	xorpd	%xmm2, %xmm2
	movapd	%xmm5, %xmm3
	cmpltsd	%xmm2, %xmm3
	movapd	%xmm3, %xmm2
	andnpd	%xmm0, %xmm2
	andpd	%xmm1, %xmm3
	orpd	%xmm2, %xmm3
	movsd	LCPI0_1(%rip), %xmm4            ## xmm4 = mem[0],zero
	cmpltsd	%xmm5, %xmm4
	movapd	%xmm4, %xmm2
	andnpd	%xmm3, %xmm2
	andpd	%xmm1, %xmm4
	orpd	%xmm2, %xmm4
	jmp	LBB0_37
LBB0_2:
	movsd	LCPI0_0(%rip), %xmm0            ## xmm0 = mem[0],zero
	jmp	LBB0_52
LBB0_5:
	movsd	LCPI0_0(%rip), %xmm0            ## xmm0 = mem[0],zero
	movsd	%xmm0, -64(%rbp)                ## 8-byte Spill
	jmp	LBB0_51
LBB0_20:
	xorpd	%xmm0, %xmm0
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	jmp	LBB0_43
LBB0_22:
	movsd	LCPI0_1(%rip), %xmm0            ## xmm0 = mem[0],zero
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	jmp	LBB0_43
LBB0_33:
	movsd	LCPI0_1(%rip), %xmm4            ## xmm4 = mem[0],zero
LBB0_37:
	movl	-128(%rbp), %eax
	decl	%eax
	xorps	%xmm0, %xmm0
	cvtsi2sd	%r14d, %xmm0
	addsd	%xmm4, %xmm0
	xorps	%xmm1, %xmm1
	cvtsi2sd	%eax, %xmm1
	divsd	%xmm1, %xmm0
	cmpl	$1, %r12d
	je	LBB0_38
## %bb.39:
	movl	-68(%rbp), %eax                 ## 4-byte Reload
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	movsd	-56(%rbp), %xmm2                ## 8-byte Reload
                                        ## xmm2 = mem[0],zero
	jmp	LBB0_40
LBB0_38:
	movsd	LCPI0_1(%rip), %xmm1            ## xmm1 = mem[0],zero
	subsd	%xmm4, %xmm1
	movsd	-56(%rbp), %xmm2                ## 8-byte Reload
                                        ## xmm2 = mem[0],zero
	mulsd	%xmm2, %xmm1
	addsd	%xmm1, %xmm0
	movl	-68(%rbp), %eax                 ## 4-byte Reload
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
LBB0_40:
	cmpl	%eax, -64(%rbp)                 ## 4-byte Folded Reload
	je	LBB0_42
## %bb.41:
	xorpd	%xmm2, %xmm2
LBB0_42:
	subsd	%xmm2, %xmm0
LBB0_43:
	movsd	LCPI0_1(%rip), %xmm3            ## xmm3 = mem[0],zero
	cmpl	$0, -64(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_45
## %bb.44:
	movapd	%xmm3, %xmm1
	subsd	%xmm0, %xmm1
	movapd	%xmm1, %xmm0
LBB0_45:
	testl	%ecx, %ecx
	je	LBB0_47
## %bb.46:
	movsd	%xmm0, -64(%rbp)                ## 8-byte Spill
	callq	_CLAMP_PROBABILITY
	jmp	LBB0_51
LBB0_47:
	movl	-128(%rbp), %eax
	decl	%eax
	xorps	%xmm2, %xmm2
	cvtsi2sd	%eax, %xmm2
	movsd	LCPI0_3(%rip), %xmm1            ## xmm1 = mem[0],zero
	divsd	%xmm2, %xmm1
	ucomisd	%xmm0, %xmm1
	jbe	LBB0_49
## %bb.48:
	movsd	%xmm1, -64(%rbp)                ## 8-byte Spill
	jmp	LBB0_51
LBB0_49:
	subsd	%xmm1, %xmm3
	movsd	%xmm0, -64(%rbp)                ## 8-byte Spill
	ucomisd	%xmm3, %xmm0
	jbe	LBB0_51
## %bb.50:
	movsd	%xmm3, -64(%rbp)                ## 8-byte Spill
LBB0_51:
	leaq	-128(%rbp), %rdi
	callq	_free_attstatsslot
	movsd	-64(%rbp), %xmm0                ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
LBB0_52:
	addq	$152, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_STATISTIC_KIND_HISTOGRAM,4,2   ## @STATISTIC_KIND_HISTOGRAM
	.comm	_InvalidOid,4,2                 ## @InvalidOid
	.comm	_ATTSTATSSLOT_VALUES,4,2        ## @ATTSTATSSLOT_VALUES
	.comm	_STATISTIC_KIND_MCV,4,2         ## @STATISTIC_KIND_MCV
	.comm	_ATTSTATSSLOT_NUMBERS,4,2       ## @ATTSTATSSLOT_NUMBERS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ineq_histogram_selectivity     ; -- Begin function ineq_histogram_selectivity
	.p2align	2
_ineq_histogram_selectivity:            ; @ineq_histogram_selectivity
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #224
	.cfi_def_cfa_offset 224
	stp	d9, d8, [sp, #112]              ; 16-byte Folded Spill
	stp	x28, x27, [sp, #128]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #144]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #160]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #176]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #192]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #208]            ; 16-byte Folded Spill
	add	x29, sp, #208
	.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
	.cfi_offset b8, -104
	.cfi_offset b9, -112
	mov	x21, x6
	mov	x22, x5
	mov	x20, x4
	mov	x19, x3
	mov	x25, x2
	mov	x23, x1
	mov	x26, x0
	ldr	w0, [x1, #4]
	bl	_HeapTupleIsValid
	fmov	d8, #-1.00000000
	cbz	x0, LBB0_34
; %bb.1:
	ldr	w1, [x25]
	mov	x0, x23
	bl	_statistic_proc_security_check
	cbz	x0, LBB0_34
; %bb.2:
	ldr	w1, [x23, #4]
Lloh0:
	adrp	x8, _STATISTIC_KIND_HISTOGRAM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _STATISTIC_KIND_HISTOGRAM@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
Lloh3:
	adrp	x8, _InvalidOid@GOTPAGE
Lloh4:
	ldr	x8, [x8, _InvalidOid@GOTPAGEOFF]
Lloh5:
	ldr	w3, [x8]
Lloh6:
	adrp	x8, _ATTSTATSSLOT_VALUES@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ATTSTATSSLOT_VALUES@GOTPAGEOFF]
Lloh8:
	ldr	w4, [x8]
	add	x0, sp, #72
	bl	_get_attstatsslot
	cbz	x0, LBB0_34
; %bb.3:
	ldr	w28, [sp, #72]
	fmov	d8, #-1.00000000
	cmp	w28, #2
	b.lt	LBB0_33
; %bb.4:
	str	w20, [sp, #12]                  ; 4-byte Folded Spill
	b.ne	LBB0_6
; %bb.5:
	ldr	w2, [sp, #104]
	ldr	x3, [sp, #80]
	add	x4, x3, #4
	mov	x0, x26
	mov	x1, x23
	bl	_get_actual_variable_range
	mov	x24, x0
	b	LBB0_7
LBB0_6:
	mov	w24, #0
LBB0_7:
	mov	w27, #0
	b	LBB0_11
LBB0_8:                                 ;   in Loop: Header=BB0_11 Depth=1
	ldr	w2, [sp, #104]
	ldr	x3, [sp, #80]
	mov	x0, x26
	mov	x1, x23
	mov	x4, #0
LBB0_9:                                 ;   in Loop: Header=BB0_11 Depth=1
	bl	_get_actual_variable_range
	mov	x24, x0
LBB0_10:                                ;   in Loop: Header=BB0_11 Depth=1
	ldr	w1, [sp, #88]
	ldr	x8, [sp, #80]
	ldr	w2, [x8, w20, sxtw #2]
	mov	x0, x25
	mov	x3, x22
	bl	_FunctionCall2Coll
	bl	_DatumGetBool
	cmp	w0, #0
	cset	w8, eq
	cmp	w19, #0
	csel	w8, w0, w8, eq
	cmp	w8, #0
	csel	w28, w20, w28, eq
	csinc	w27, w27, w20, eq
	cmp	w27, w28
	b.ge	LBB0_14
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	add	w8, w27, w28
	cmp	w8, #0
	cinc	w9, w8, lt
	asr	w20, w9, #1
	add	w9, w8, #1
	ldr	w8, [sp, #72]
	cmp	w9, #2
	ccmp	w8, #3, #8, ls
	b.ge	LBB0_8
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=1
	sub	w9, w8, #1
	cmp	w8, #3
	ccmp	w20, w9, #0, ge
	b.ne	LBB0_10
; %bb.13:                               ;   in Loop: Header=BB0_11 Depth=1
	ldr	w2, [sp, #104]
	ldr	x8, [sp, #80]
	add	x4, x8, w20, sxtw #2
	mov	x0, x26
	mov	x1, x23
	mov	x3, #0
	b	LBB0_9
LBB0_14:
	subs	w25, w27, #1
	b.lt	LBB0_27
; %bb.15:
	ldr	w8, [sp, #72]
	fmov	d0, #1.00000000
	cmp	w27, w8
	b.ge	LBB0_28
; %bb.16:
	ldr	w20, [sp, #12]                  ; 4-byte Folded Reload
	cmp	w19, w20
	b.eq	LBB0_18
; %bb.17:
	movi	d9, #0000000000000000
	cmp	w27, #1
	b.ne	LBB0_21
LBB0_18:
	add	x1, sp, #64
	mov	x0, x23
	bl	_get_variable_numdistinct
	fmov	d8, d0
Lloh9:
	adrp	x8, _STATISTIC_KIND_MCV@GOTPAGE
Lloh10:
	ldr	x8, [x8, _STATISTIC_KIND_MCV@GOTPAGEOFF]
	ldr	w1, [x23, #4]
Lloh11:
	ldr	w2, [x8]
Lloh12:
	adrp	x8, _InvalidOid@GOTPAGE
Lloh13:
	ldr	x8, [x8, _InvalidOid@GOTPAGEOFF]
Lloh14:
	ldr	w3, [x8]
Lloh15:
	adrp	x8, _ATTSTATSSLOT_NUMBERS@GOTPAGE
Lloh16:
	ldr	x8, [x8, _ATTSTATSSLOT_NUMBERS@GOTPAGEOFF]
Lloh17:
	ldr	w4, [x8]
	add	x0, sp, #16
	bl	_get_attstatsslot
	cbz	x0, LBB0_20
; %bb.19:
	ldr	d0, [sp, #40]
	scvtf	d0, d0
	fsub	d8, d8, d0
	add	x0, sp, #16
	bl	_free_attstatsslot
LBB0_20:
	fmov	d0, #1.00000000
	fdiv	d1, d0, d8
	fcmp	d8, d0
	movi	d0, #0000000000000000
	fcsel	d9, d1, d0, gt
LBB0_21:
	ldr	w2, [sp, #88]
	ldr	x8, [sp, #80]
	ldr	w4, [x8, w25, uxtw #2]
	ldr	w5, [x8, w27, uxtw #2]
	ldr	w6, [x23]
	add	x8, sp, #64
	str	x8, [sp]
	add	x3, sp, #16
	add	x7, sp, #56
	mov	x0, x22
	mov	x1, x21
	bl	_convert_to_scalar
	fmov	d0, #0.50000000
	cbz	x0, LBB0_26
; %bb.22:
	ldp	d2, d1, [sp, #56]
	fcmp	d1, d2
	b.ls	LBB0_26
; %bb.23:
	ldr	d3, [sp, #16]
	movi	d0, #0000000000000000
	fcmp	d3, d2
	b.ls	LBB0_26
; %bb.24:
	fmov	d0, #1.00000000
	fcmp	d3, d1
	b.ge	LBB0_26
; %bb.25:
	fsub	d0, d3, d2
	fsub	d1, d1, d2
	fdiv	d8, d0, d1
	fmov	d0, d8
	bl	_isnan
	cmp	x0, #0
	movi	d0, #0000000000000000
	fccmp	d8, d0, #8, eq
	fmov	d0, #1.00000000
	fccmp	d8, d0, #0, pl
	fmov	d0, #0.50000000
	fcsel	d0, d0, d8, gt
LBB0_26:
	scvtf	d1, w25
	fadd	d1, d0, d1
	ldr	w8, [sp, #72]
	sub	w8, w8, #1
	scvtf	d2, w8
	fdiv	d1, d1, d2
	fmov	d2, #1.00000000
	fsub	d0, d2, d0
	fmadd	d0, d9, d0, d1
	cmp	w27, #1
	fcsel	d0, d0, d1, eq
	cmp	w19, w20
	movi	d1, #0000000000000000
	fcsel	d1, d9, d1, eq
	fsub	d0, d0, d1
	b	LBB0_28
LBB0_27:
	movi	d0, #0000000000000000
LBB0_28:
	fmov	d1, #1.00000000
	fsub	d1, d1, d0
	cmp	w19, #0
	fcsel	d8, d0, d1, eq
	cbz	w24, LBB0_30
; %bb.29:
	fmov	d0, d8
	bl	_CLAMP_PROBABILITY
	b	LBB0_33
LBB0_30:
	ldr	w8, [sp, #72]
	sub	w8, w8, #1
	scvtf	d0, w8
	mov	x8, #5243
	movk	x8, #18350, lsl #16
	movk	x8, #31457, lsl #32
	movk	x8, #16260, lsl #48
	fmov	d1, x8
	fdiv	d0, d1, d0
	fcmp	d8, d0
	b.mi	LBB0_32
; %bb.31:
	fmov	d1, #1.00000000
	fsub	d0, d1, d0
	fcmp	d8, d0
	b.le	LBB0_33
LBB0_32:
	fmov	d8, d0
LBB0_33:
	add	x0, sp, #72
	bl	_free_attstatsslot
LBB0_34:
	fmov	d0, d8
	ldp	x29, x30, [sp, #208]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #192]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #176]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #160]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #144]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #128]            ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #112]              ; 16-byte Folded Reload
	add	sp, sp, #224
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_STATISTIC_KIND_HISTOGRAM,4,2   ; @STATISTIC_KIND_HISTOGRAM
	.comm	_InvalidOid,4,2                 ; @InvalidOid
	.comm	_ATTSTATSSLOT_VALUES,4,2        ; @ATTSTATSSLOT_VALUES
	.comm	_STATISTIC_KIND_MCV,4,2         ; @STATISTIC_KIND_MCV
	.comm	_ATTSTATSSLOT_NUMBERS,4,2       ; @ATTSTATSSLOT_NUMBERS
.subsections_via_symbols
