	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function calc_hist_selectivity
LCPI0_0:
	.quad	0xbff0000000000000              ## double -1
LCPI0_1:
	.quad	0x3ff0000000000000              ## double 1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_calc_hist_selectivity:                 ## @calc_hist_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	$120, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r12d
	movq	%rdx, %r15
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movl	4(%rdi), %esi
	movq	%rbx, %rdi
	callq	_statistic_proc_security_check
	movsd	LCPI0_0(%rip), %xmm0            ## xmm0 = mem[0],zero
	testl	%eax, %eax
	je	LBB0_39
## %bb.1:
	movl	(%r14), %edi
	callq	_OidIsValid
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movl	(%r14), %esi
	movq	%rbx, %rdi
	callq	_statistic_proc_security_check
	testl	%eax, %eax
	je	LBB0_15
LBB0_3:
	movl	(%rbx), %edi
	callq	_HeapTupleIsValid
	testq	%rax, %rax
	je	LBB0_15
## %bb.4:
	movl	(%rbx), %esi
	movq	_STATISTIC_KIND_BOUNDS_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	-144(%rbp), %rdi
	callq	_get_attstatsslot
	testq	%rax, %rax
	movsd	LCPI0_0(%rip), %xmm0            ## xmm0 = mem[0],zero
	je	LBB0_39
## %bb.5:
	movq	%rbx, -112(%rbp)                ## 8-byte Spill
	movq	%r15, -120(%rbp)                ## 8-byte Spill
	movq	%r12, -128(%rbp)                ## 8-byte Spill
	movl	-144(%rbp), %r15d
	leal	(,%r15,4), %ebx
	movl	%ebx, %edi
	callq	_palloc
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movl	%ebx, %edi
	callq	_palloc
	movq	%rax, %rbx
	movq	%r15, -72(%rbp)                 ## 8-byte Spill
	testl	%r15d, %r15d
	jle	LBB0_10
## %bb.6:
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	leaq	(,%rax,4), %r15
	leaq	-84(%rbp), %r12
	xorl	%r13d, %r13d
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_8 Depth=1
	addq	$4, %r13
	cmpq	%r13, %r15
	je	LBB0_10
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	-136(%rbp), %rax
	movl	(%rax,%r13), %edi
	callq	_DatumGetRangeTypeP
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	leaq	(%rcx,%r13), %rdx
	leaq	(%rbx,%r13), %rcx
	movq	%r14, %rdi
	movq	%rax, %rsi
	movq	%r12, %r8
	callq	_range_deserialize
	cmpl	$0, -84(%rbp)
	je	LBB0_7
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	callq	_elog
	jmp	LBB0_7
LBB0_15:
	movsd	LCPI0_0(%rip), %xmm0            ## xmm0 = mem[0],zero
	jmp	LBB0_39
LBB0_10:
	movq	-128(%rbp), %r15                ## 8-byte Reload
	movl	%r15d, %eax
	andl	$-3, %eax
	cmpl	$137, %eax
	jne	LBB0_16
## %bb.11:
	movq	-112(%rbp), %r12                ## 8-byte Reload
	movl	(%r12), %edi
	callq	_HeapTupleIsValid
	movsd	LCPI0_0(%rip), %xmm0            ## xmm0 = mem[0],zero
	movsd	%xmm0, -56(%rbp)                ## 8-byte Spill
	testq	%rax, %rax
	je	LBB0_38
## %bb.12:
	movl	(%r12), %esi
	movq	_STATISTIC_KIND_RANGE_LENGTH_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	-104(%rbp), %rdi
	callq	_get_attstatsslot
	testq	%rax, %rax
	je	LBB0_38
## %bb.13:
	cmpl	$2, -104(%rbp)
	jge	LBB0_17
	jmp	LBB0_22
LBB0_16:
	leaq	-104(%rbp), %rdi
	xorl	%esi, %esi
	movl	$16, %edx
	callq	_memset
LBB0_17:
	leaq	-48(%rbp), %rdx
	leaq	-64(%rbp), %rcx
	leaq	-84(%rbp), %r8
	movq	%r14, %r12
	movq	%r14, %rdi
	movq	-120(%rbp), %rsi                ## 8-byte Reload
	callq	_range_deserialize
	xorl	%edi, %edi
	cmpl	$0, -84(%rbp)
	sete	%dil
	callq	_Assert
	leal	-128(%r15), %eax
	cmpl	$11, %eax
	ja	LBB0_21
## %bb.18:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_19:
	leaq	-48(%rbp), %rsi
	movq	%r12, %rdi
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
                                        ## kill: def $ecx killed $ecx killed $rcx
	xorl	%r8d, %r8d
	jmp	LBB0_30
LBB0_20:
	leaq	-48(%rbp), %rsi
	movq	%r12, %rdi
	movq	%rbx, %rdx
	movq	-72(%rbp), %r14                 ## 8-byte Reload
	movl	%r14d, %ecx
	xorl	%r8d, %r8d
	callq	_calc_hist_selectivity_scalar
	movsd	%xmm0, -56(%rbp)                ## 8-byte Spill
	leaq	-64(%rbp), %rsi
	movq	%r12, %rdi
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
	movl	%r14d, %ecx
	movl	$1, %r8d
	callq	_calc_hist_selectivity_scalar
	movsd	LCPI0_1(%rip), %xmm2            ## xmm2 = mem[0],zero
	movapd	%xmm2, %xmm1
	subsd	%xmm0, %xmm1
	addsd	-56(%rbp), %xmm1                ## 8-byte Folded Reload
	subsd	%xmm1, %xmm2
	movsd	%xmm2, -56(%rbp)                ## 8-byte Spill
	jmp	LBB0_37
LBB0_21:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	movl	%r15d, %edx
	xorl	%eax, %eax
	callq	_elog
LBB0_22:
	movsd	LCPI0_0(%rip), %xmm0            ## xmm0 = mem[0],zero
	jmp	LBB0_36
LBB0_23:
	leaq	-64(%rbp), %rsi
	jmp	LBB0_29
LBB0_24:
	leaq	-48(%rbp), %rsi
	movq	%r12, %rdi
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
	jmp	LBB0_27
LBB0_25:
	leaq	-48(%rbp), %rsi
	movq	%r12, %rdi
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
	jmp	LBB0_34
LBB0_26:
	leaq	-48(%rbp), %rsi
	movq	%r12, %rdi
	movq	%rbx, %rdx
LBB0_27:
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
                                        ## kill: def $ecx killed $ecx killed $rcx
	xorl	%r8d, %r8d
	jmp	LBB0_35
LBB0_28:
	leaq	-48(%rbp), %rsi
LBB0_29:
	movq	%r12, %rdi
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
                                        ## kill: def $ecx killed $ecx killed $rcx
	movl	$1, %r8d
LBB0_30:
	callq	_calc_hist_selectivity_scalar
	movsd	LCPI0_1(%rip), %xmm1            ## xmm1 = mem[0],zero
	subsd	%xmm0, %xmm1
	movsd	%xmm1, -56(%rbp)                ## 8-byte Spill
	jmp	LBB0_37
LBB0_31:
	movq	-96(%rbp), %r9
	movl	-104(%rbp), %eax
	movl	%eax, (%rsp)
	leaq	-48(%rbp), %rsi
	leaq	-64(%rbp), %rdx
	movq	%r12, %rdi
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	movq	-72(%rbp), %r8                  ## 8-byte Reload
                                        ## kill: def $r8d killed $r8d killed $r8
	callq	_calc_hist_selectivity_contains
	jmp	LBB0_36
LBB0_32:
	cmpl	$0, -48(%rbp)
	je	LBB0_40
LBB0_33:
	leaq	-64(%rbp), %rsi
	movq	%r12, %rdi
	movq	%rbx, %rdx
LBB0_34:
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
                                        ## kill: def $ecx killed $ecx killed $rcx
	movl	$1, %r8d
LBB0_35:
	callq	_calc_hist_selectivity_scalar
LBB0_36:
	movsd	%xmm0, -56(%rbp)                ## 8-byte Spill
LBB0_37:
	leaq	-104(%rbp), %rdi
	callq	_free_attstatsslot
LBB0_38:
	leaq	-144(%rbp), %rdi
	callq	_free_attstatsslot
	movsd	-56(%rbp), %xmm0                ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
LBB0_39:
	addq	$120, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_40:
	cmpl	$0, -64(%rbp)
	jne	LBB0_19
## %bb.41:
	movq	-96(%rbp), %r9
	movl	-104(%rbp), %eax
	movl	%eax, (%rsp)
	leaq	-48(%rbp), %rsi
	leaq	-64(%rbp), %rdx
	movq	%r12, %rdi
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	movq	-72(%rbp), %r8                  ## 8-byte Reload
                                        ## kill: def $r8d killed $r8d killed $r8
	callq	_calc_hist_selectivity_contained
	jmp	LBB0_36
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_23, LBB0_23-LJTI0_0
.set L0_0_set_20, LBB0_20-LJTI0_0
.set L0_0_set_19, LBB0_19-LJTI0_0
.set L0_0_set_33, LBB0_33-LJTI0_0
.set L0_0_set_24, LBB0_24-LJTI0_0
.set L0_0_set_25, LBB0_25-LJTI0_0
.set L0_0_set_26, LBB0_26-LJTI0_0
.set L0_0_set_28, LBB0_28-LJTI0_0
.set L0_0_set_31, LBB0_31-LJTI0_0
.set L0_0_set_32, LBB0_32-LJTI0_0
LJTI0_0:
	.long	L0_0_set_23
	.long	L0_0_set_20
	.long	L0_0_set_19
	.long	L0_0_set_33
	.long	L0_0_set_24
	.long	L0_0_set_25
	.long	L0_0_set_26
	.long	L0_0_set_19
	.long	L0_0_set_28
	.long	L0_0_set_31
	.long	L0_0_set_20
	.long	L0_0_set_32
	.end_data_region
                                        ## -- End function
	.comm	_STATISTIC_KIND_BOUNDS_HISTOGRAM,4,2 ## @STATISTIC_KIND_BOUNDS_HISTOGRAM
	.comm	_InvalidOid,4,2                 ## @InvalidOid
	.comm	_ATTSTATSSLOT_VALUES,4,2        ## @ATTSTATSSLOT_VALUES
	.comm	_ERROR,4,2                      ## @ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"bounds histogram contains an empty range"

	.comm	_STATISTIC_KIND_RANGE_LENGTH_HISTOGRAM,4,2 ## @STATISTIC_KIND_RANGE_LENGTH_HISTOGRAM
L_.str.1:                               ## @.str.1
	.asciz	"unknown range operator %u"

	.no_dead_strip	_calc_hist_selectivity
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function calc_hist_selectivity
_calc_hist_selectivity:                 ; @calc_hist_selectivity
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #192
	.cfi_def_cfa_offset 192
	stp	d9, d8, [sp, #80]               ; 16-byte Folded Spill
	stp	x28, x27, [sp, #96]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #112]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #128]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #144]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #160]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #176]            ; 16-byte Folded Spill
	add	x29, sp, #176
	.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	x22, x3
	mov	x23, x2
	mov	x25, x1
	mov	x19, x0
	ldr	w1, [x0, #4]
	mov	x0, x25
	bl	_statistic_proc_security_check
	fmov	d8, #-1.00000000
	cbz	w0, LBB0_36
; %bb.1:
	ldr	w0, [x19]
	bl	_OidIsValid
	cbz	x0, LBB0_3
; %bb.2:
	ldr	w1, [x19]
	mov	x0, x25
	bl	_statistic_proc_security_check
	cbz	w0, LBB0_36
LBB0_3:
	ldr	w0, [x25]
	bl	_HeapTupleIsValid
	cbz	x0, LBB0_36
; %bb.4:
	ldr	w1, [x25]
Lloh0:
	adrp	x8, _STATISTIC_KIND_BOUNDS_HISTOGRAM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _STATISTIC_KIND_BOUNDS_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, #64
	bl	_get_attstatsslot
	cbz	x0, LBB0_36
; %bb.5:
	ldr	w20, [sp, #64]
	lsl	w24, w20, #2
	mov	x0, x24
	bl	_palloc
	mov	x21, x0
	mov	x0, x24
	bl	_palloc
	mov	x24, x0
	str	x20, [sp, #16]                  ; 8-byte Folded Spill
	cmp	w20, #1
	b.lt	LBB0_10
; %bb.6:
	mov	x27, #0
	ldr	x8, [sp, #16]                   ; 8-byte Folded Reload
	lsl	x28, x8, #2
Lloh9:
	adrp	x20, _ERROR@GOTPAGE
Lloh10:
	ldr	x20, [x20, _ERROR@GOTPAGEOFF]
Lloh11:
	adrp	x26, l_.str@PAGE
Lloh12:
	add	x26, x26, l_.str@PAGEOFF
	b	LBB0_8
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	add	x27, x27, #4
	cmp	x28, x27
	b.eq	LBB0_10
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [sp, #72]
	ldr	w0, [x8, x27]
	bl	_DatumGetRangeTypeP
	mov	x1, x0
	add	x2, x21, x27
	add	x3, x24, x27
	add	x4, sp, #28
	mov	x0, x19
	bl	_range_deserialize
	ldr	w8, [sp, #28]
	cbz	w8, LBB0_7
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	w0, [x20]
	mov	x1, x26
	bl	_elog
	b	LBB0_7
LBB0_10:
	and	w8, w22, #0xfffffffd
	cmp	w8, #137
	b.ne	LBB0_14
; %bb.11:
	ldr	w0, [x25]
	bl	_HeapTupleIsValid
	fmov	d8, #-1.00000000
	cbz	x0, LBB0_35
; %bb.12:
	ldr	w1, [x25]
Lloh13:
	adrp	x8, _STATISTIC_KIND_RANGE_LENGTH_HISTOGRAM@GOTPAGE
Lloh14:
	ldr	x8, [x8, _STATISTIC_KIND_RANGE_LENGTH_HISTOGRAM@GOTPAGEOFF]
Lloh15:
	ldr	w2, [x8]
Lloh16:
	adrp	x8, _InvalidOid@GOTPAGE
Lloh17:
	ldr	x8, [x8, _InvalidOid@GOTPAGEOFF]
Lloh18:
	ldr	w3, [x8]
Lloh19:
	adrp	x8, _ATTSTATSSLOT_VALUES@GOTPAGE
Lloh20:
	ldr	x8, [x8, _ATTSTATSSLOT_VALUES@GOTPAGEOFF]
Lloh21:
	ldr	w4, [x8]
	add	x0, sp, #48
	bl	_get_attstatsslot
	cbz	x0, LBB0_35
; %bb.13:
	ldr	w8, [sp, #48]
	fmov	d8, #-1.00000000
	cmp	w8, #2
	b.ge	LBB0_15
	b	LBB0_34
LBB0_14:
	add	x0, sp, #48
	mov	w1, #0
	mov	w2, #16
	bl	_memset
LBB0_15:
	add	x2, sp, #40
	add	x3, sp, #32
	add	x4, sp, #28
	mov	x0, x19
	mov	x1, x23
	bl	_range_deserialize
	ldr	w8, [sp, #28]
	cmp	w8, #0
	cset	w0, eq
	bl	_Assert
	sub	w8, w22, #128
	cmp	w8, #11
	b.hi	LBB0_19
; %bb.16:
Lloh22:
	adrp	x9, lJTI0_0@PAGE
Lloh23:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_17
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_17:
	add	x1, sp, #40
	mov	x0, x19
	mov	x2, x21
	ldr	x3, [sp, #16]                   ; 8-byte Folded Reload
                                        ; kill: def $w3 killed $w3 killed $x3
	mov	w4, #0
	b	LBB0_27
LBB0_18:
	add	x1, sp, #40
	mov	x0, x19
	mov	x2, x24
	ldr	x20, [sp, #16]                  ; 8-byte Folded Reload
	mov	x3, x20
	mov	w4, #0
	bl	_calc_hist_selectivity_scalar
	fmov	d8, d0
	add	x1, sp, #32
	mov	x0, x19
	mov	x2, x21
	mov	x3, x20
	mov	w4, #1
	bl	_calc_hist_selectivity_scalar
	fmov	d1, #1.00000000
	fsub	d0, d1, d0
	fadd	d0, d8, d0
	fsub	d8, d1, d0
	b	LBB0_34
LBB0_19:
Lloh24:
	adrp	x8, _ERROR@GOTPAGE
Lloh25:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh26:
	ldr	w0, [x8]
	str	x22, [sp]
Lloh27:
	adrp	x1, l_.str.1@PAGE
Lloh28:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_elog
	fmov	d8, #-1.00000000
	b	LBB0_34
LBB0_20:
	add	x1, sp, #32
	b	LBB0_26
LBB0_21:
	add	x1, sp, #40
	mov	x0, x19
	mov	x2, x21
	b	LBB0_24
LBB0_22:
	add	x1, sp, #40
	mov	x0, x19
	mov	x2, x21
	b	LBB0_31
LBB0_23:
	add	x1, sp, #40
	mov	x0, x19
	mov	x2, x24
LBB0_24:
	ldr	x3, [sp, #16]                   ; 8-byte Folded Reload
                                        ; kill: def $w3 killed $w3 killed $x3
	mov	w4, #0
	b	LBB0_32
LBB0_25:
	add	x1, sp, #40
LBB0_26:
	mov	x0, x19
	mov	x2, x21
	ldr	x3, [sp, #16]                   ; 8-byte Folded Reload
                                        ; kill: def $w3 killed $w3 killed $x3
	mov	w4, #1
LBB0_27:
	bl	_calc_hist_selectivity_scalar
	fmov	d1, #1.00000000
	fsub	d8, d1, d0
	b	LBB0_34
LBB0_28:
	ldr	x5, [sp, #56]
	ldr	w6, [sp, #48]
	add	x1, sp, #40
	add	x2, sp, #32
	mov	x0, x19
	mov	x3, x21
	ldr	x4, [sp, #16]                   ; 8-byte Folded Reload
                                        ; kill: def $w4 killed $w4 killed $x4
	bl	_calc_hist_selectivity_contains
	b	LBB0_33
LBB0_29:
	ldr	w8, [sp, #40]
	cbz	w8, LBB0_37
LBB0_30:
	add	x1, sp, #32
	mov	x0, x19
	mov	x2, x24
LBB0_31:
	ldr	x3, [sp, #16]                   ; 8-byte Folded Reload
                                        ; kill: def $w3 killed $w3 killed $x3
	mov	w4, #1
LBB0_32:
	bl	_calc_hist_selectivity_scalar
LBB0_33:
	fmov	d8, d0
LBB0_34:
	add	x0, sp, #48
	bl	_free_attstatsslot
LBB0_35:
	add	x0, sp, #64
	bl	_free_attstatsslot
LBB0_36:
	fmov	d0, d8
	ldp	x29, x30, [sp, #176]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #160]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #144]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #128]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #112]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #96]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #80]               ; 16-byte Folded Reload
	add	sp, sp, #192
	ret
LBB0_37:
	ldr	w8, [sp, #32]
	cbnz	w8, LBB0_17
; %bb.38:
	ldr	x5, [sp, #56]
	ldr	w6, [sp, #48]
	add	x1, sp, #40
	add	x2, sp, #32
	mov	x0, x19
	mov	x3, x21
	ldr	x4, [sp, #16]                   ; 8-byte Folded Reload
                                        ; kill: def $w4 killed $w4 killed $x4
	bl	_calc_hist_selectivity_contained
	b	LBB0_33
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_20-LBB0_17)>>2
	.byte	(LBB0_18-LBB0_17)>>2
	.byte	(LBB0_17-LBB0_17)>>2
	.byte	(LBB0_30-LBB0_17)>>2
	.byte	(LBB0_21-LBB0_17)>>2
	.byte	(LBB0_22-LBB0_17)>>2
	.byte	(LBB0_23-LBB0_17)>>2
	.byte	(LBB0_17-LBB0_17)>>2
	.byte	(LBB0_25-LBB0_17)>>2
	.byte	(LBB0_28-LBB0_17)>>2
	.byte	(LBB0_18-LBB0_17)>>2
	.byte	(LBB0_29-LBB0_17)>>2
                                        ; -- End function
	.comm	_STATISTIC_KIND_BOUNDS_HISTOGRAM,4,2 ; @STATISTIC_KIND_BOUNDS_HISTOGRAM
	.comm	_InvalidOid,4,2                 ; @InvalidOid
	.comm	_ATTSTATSSLOT_VALUES,4,2        ; @ATTSTATSSLOT_VALUES
	.comm	_ERROR,4,2                      ; @ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"bounds histogram contains an empty range"

	.comm	_STATISTIC_KIND_RANGE_LENGTH_HISTOGRAM,4,2 ; @STATISTIC_KIND_RANGE_LENGTH_HISTOGRAM
l_.str.1:                               ; @.str.1
	.asciz	"unknown range operator %u"

	.no_dead_strip	_calc_hist_selectivity
.subsections_via_symbols
