	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal4,4byte_literals
	.p2align	2                               ## -- Begin function mcelem_array_contained_selec
LCPI0_0:
	.long	0x3f800000                      ## float 1
LCPI0_1:
	.long	0x3f000000                      ## float 0.5
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4
LCPI0_2:
	.long	0x80000000                      ## float -0
	.long	0x80000000                      ## float -0
	.long	0x80000000                      ## float -0
	.long	0x80000000                      ## float -0
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3
LCPI0_3:
	.quad	0x4079000000000000              ## double 400
LCPI0_4:
	.quad	0x3fe0000000000000              ## double 0.5
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_mcelem_array_contained_selec:          ## @mcelem_array_contained_selec
	.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
	movq	%r8, -144(%rbp)                 ## 8-byte Spill
	movq	%rdi, -168(%rbp)                ## 8-byte Spill
	testq	%rdx, %rdx
	je	LBB0_2
## %bb.1:
	movl	%esi, %r12d
	leal	3(%r12), %eax
	cmpl	%ecx, %eax
	jne	LBB0_2
## %bb.4:
	movq	16(%rbp), %rax
	testq	%rax, %rax
	je	LBB0_2
## %bb.5:
	movl	24(%rbp), %r13d
	cmpl	$2, %r13d
	jle	LBB0_2
## %bb.6:
	movl	%r9d, %r14d
	movq	%rdx, %rbx
	movslq	%r12d, %rdx
	movss	(%rbx,%rdx,4), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	movss	%xmm0, -48(%rbp)                ## 4-byte Spill
	movq	%rdx, -88(%rbp)                 ## 8-byte Spill
	movss	8(%rbx,%rdx,4), %xmm0           ## xmm0 = mem[0],zero,zero,zero
	movss	%xmm0, -132(%rbp)               ## 4-byte Spill
	decl	%r13d
	movss	(%rax,%r13,4), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	movaps	%xmm0, -80(%rbp)                ## 16-byte Spill
	leal	(,%r14,4), %edi
	callq	_palloc
	movq	%rax, %r15
	testl	%r14d, %r14d
	movq	%r13, -152(%rbp)                ## 8-byte Spill
	jle	LBB0_7
## %bb.24:
	movss	-48(%rbp), %xmm0                ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	mulss	LCPI0_1(%rip), %xmm0
	movss	%xmm0, -48(%rbp)                ## 4-byte Spill
	movl	%r14d, %eax
	movq	%rax, -176(%rbp)                ## 8-byte Spill
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	negq	%rax
	movq	%rax, -160(%rbp)                ## 8-byte Spill
	movss	LCPI0_0(%rip), %xmm4            ## xmm4 = mem[0],zero,zero,zero
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	xorl	%r13d, %r13d
	movaps	-80(%rbp), %xmm5                ## 16-byte Reload
	movq	%rbx, %r14
	movq	%r15, -112(%rbp)                ## 8-byte Spill
	movq	%rbx, -104(%rbp)                ## 8-byte Spill
	movq	%r12, -96(%rbp)                 ## 8-byte Spill
	jmp	LBB0_25
	.p2align	4, 0x90
LBB0_28:                                ##   in Loop: Header=BB0_25 Depth=1
	movss	-48(%rbp), %xmm1                ## 4-byte Reload
                                        ## xmm1 = mem[0],zero,zero,zero
LBB0_36:                                ##   in Loop: Header=BB0_25 Depth=1
	movq	_DEFAULT_CONTAIN_SEL@GOTPCREL(%rip), %rax
	movss	(%rax), %xmm0                   ## xmm0 = mem[0],zero,zero,zero
	callq	_Min
	movss	%xmm0, (%r15,%rbx,4)
	movaps	-80(%rbp), %xmm5                ## 16-byte Reload
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
LBB0_37:                                ##   in Loop: Header=BB0_25 Depth=1
	incl	%r13d
	movss	-44(%rbp), %xmm4                ## 4-byte Reload
                                        ## xmm4 = mem[0],zero,zero,zero
	movq	-184(%rbp), %rdx                ## 8-byte Reload
LBB0_38:                                ##   in Loop: Header=BB0_25 Depth=1
	incq	%rdx
	cmpq	-176(%rbp), %rdx                ## 8-byte Folded Reload
	je	LBB0_8
LBB0_25:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_30 Depth 2
	movaps	%xmm5, -80(%rbp)                ## 16-byte Spill
	movss	%xmm4, -44(%rbp)                ## 4-byte Spill
	testq	%rdx, %rdx
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	je	LBB0_27
## %bb.26:                              ##   in Loop: Header=BB0_25 Depth=1
	movl	$4294967295, %eax               ## imm = 0xFFFFFFFF
	addl	%edx, %eax
	movq	-144(%rbp), %rcx                ## 8-byte Reload
	leaq	(%rcx,%rax,4), %rdi
	leaq	(%rcx,%rdx,4), %rsi
	movq	%r14, %rbx
	movq	%r15, %r14
	movq	%rdx, %r15
	movq	40(%rbp), %rdx
	callq	_element_compare
	movq	%r15, %rdx
	movq	%r14, %r15
	movq	%rbx, %r14
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movaps	-80(%rbp), %xmm5                ## 16-byte Reload
	movss	-44(%rbp), %xmm4                ## 4-byte Reload
                                        ## xmm4 = mem[0],zero,zero,zero
	testl	%eax, %eax
	je	LBB0_38
LBB0_27:                                ##   in Loop: Header=BB0_25 Depth=1
	movslq	%r13d, %rbx
	cmpl	%r12d, %ecx
	movq	%rdx, -184(%rbp)                ## 8-byte Spill
	jge	LBB0_28
## %bb.29:                              ##   in Loop: Header=BB0_25 Depth=1
	movq	%rbx, -120(%rbp)                ## 8-byte Spill
	movq	%r13, -128(%rbp)                ## 8-byte Spill
	movq	-144(%rbp), %rax                ## 8-byte Reload
	leaq	(%rax,%rdx,4), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movslq	%ecx, %r15
	movq	%r15, %r13
	shlq	$32, %r13
	movq	-168(%rbp), %rax                ## 8-byte Reload
	leaq	(%rax,%r15,4), %r12
	leaq	(%r14,%r15,4), %rbx
	addq	-160(%rbp), %r15                ## 8-byte Folded Reload
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_30:                                ##   Parent Loop BB0_25 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%r12, %rdi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	movq	40(%rbp), %rdx
	callq	_element_compare
	testl	%eax, %eax
	jns	LBB0_33
## %bb.31:                              ##   in Loop: Header=BB0_30 Depth=2
	movss	(%rbx), %xmm0                   ## xmm0 = mem[0],zero,zero,zero
	movss	LCPI0_0(%rip), %xmm1            ## xmm1 = mem[0],zero,zero,zero
	subss	%xmm0, %xmm1
	movss	-44(%rbp), %xmm2                ## 4-byte Reload
                                        ## xmm2 = mem[0],zero,zero,zero
	mulss	%xmm1, %xmm2
	movss	%xmm2, -44(%rbp)                ## 4-byte Spill
	movaps	-80(%rbp), %xmm1                ## 16-byte Reload
	subss	%xmm0, %xmm1
	movaps	%xmm1, -80(%rbp)                ## 16-byte Spill
	movl	$4294967295, %eax               ## imm = 0xFFFFFFFF
	addq	%rax, %r13
	incq	%r13
	decq	%r14
	addq	$4, %r12
	addq	$4, %rbx
	cmpq	%r14, %r15
	jne	LBB0_30
## %bb.32:                              ##   in Loop: Header=BB0_25 Depth=1
	movq	-96(%rbp), %r12                 ## 8-byte Reload
	movl	%r12d, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	-112(%rbp), %r15                ## 8-byte Reload
	movq	-104(%rbp), %r14                ## 8-byte Reload
	movq	-128(%rbp), %r13                ## 8-byte Reload
	movss	-48(%rbp), %xmm1                ## 4-byte Reload
                                        ## xmm1 = mem[0],zero,zero,zero
	jmp	LBB0_35
LBB0_33:                                ##   in Loop: Header=BB0_25 Depth=1
	movss	-48(%rbp), %xmm1                ## 4-byte Reload
                                        ## xmm1 = mem[0],zero,zero,zero
	je	LBB0_39
## %bb.34:                              ##   in Loop: Header=BB0_25 Depth=1
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	%eax, %eax
	subq	%r14, %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	-112(%rbp), %r15                ## 8-byte Reload
	movq	-104(%rbp), %r14                ## 8-byte Reload
	movq	-96(%rbp), %r12                 ## 8-byte Reload
	movq	-128(%rbp), %r13                ## 8-byte Reload
LBB0_35:                                ##   in Loop: Header=BB0_25 Depth=1
	movq	-120(%rbp), %rbx                ## 8-byte Reload
	jmp	LBB0_36
LBB0_39:                                ##   in Loop: Header=BB0_25 Depth=1
	sarq	$30, %r13
	movq	-104(%rbp), %rbx                ## 8-byte Reload
	movss	(%rbx,%r13), %xmm0              ## xmm0 = mem[0],zero,zero,zero
	movq	-112(%rbp), %r15                ## 8-byte Reload
	movq	-120(%rbp), %rax                ## 8-byte Reload
	movss	%xmm0, (%r15,%rax,4)
	movaps	-80(%rbp), %xmm5                ## 16-byte Reload
	subss	(%rbx,%r13), %xmm5
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	subl	%r14d, %ecx
	movq	%rbx, %r14
	incl	%ecx
	movq	-96(%rbp), %r12                 ## 8-byte Reload
	movq	-128(%rbp), %r13                ## 8-byte Reload
	jmp	LBB0_37
LBB0_2:
	movq	_DEFAULT_CONTAIN_SEL@GOTPCREL(%rip), %rax
	movss	(%rax), %xmm0                   ## xmm0 = mem[0],zero,zero,zero
	jmp	LBB0_3
LBB0_7:
	xorl	%r13d, %r13d
	movss	LCPI0_0(%rip), %xmm4            ## xmm4 = mem[0],zero,zero,zero
	xorl	%ecx, %ecx
	movaps	-80(%rbp), %xmm5                ## 16-byte Reload
	movq	%rbx, %r14
LBB0_8:
	cmpl	%r12d, %ecx
	jge	LBB0_15
## %bb.9:
	movslq	%ecx, %rax
	movl	%r12d, %edx
	subl	%ecx, %edx
	movq	%rax, %rcx
	notq	%rcx
	addq	-88(%rbp), %rcx                 ## 8-byte Folded Reload
	andq	$3, %rdx
	je	LBB0_12
## %bb.10:
	movss	LCPI0_0(%rip), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movss	(%r14,%rax,4), %xmm1            ## xmm1 = mem[0],zero,zero,zero
	movaps	%xmm0, %xmm2
	subss	%xmm1, %xmm2
	mulss	%xmm2, %xmm4
	subss	%xmm1, %xmm5
	incq	%rax
	decq	%rdx
	jne	LBB0_11
LBB0_12:
	cmpq	$3, %rcx
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	jb	LBB0_15
## %bb.13:
	movss	LCPI0_0(%rip), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	.p2align	4, 0x90
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	movss	(%r14,%rax,4), %xmm1            ## xmm1 = mem[0],zero,zero,zero
	movss	4(%r14,%rax,4), %xmm2           ## xmm2 = mem[0],zero,zero,zero
	movaps	%xmm0, %xmm3
	subss	%xmm1, %xmm3
	mulss	%xmm4, %xmm3
	subss	%xmm1, %xmm5
	movaps	%xmm0, %xmm1
	subss	%xmm2, %xmm1
	mulss	%xmm3, %xmm1
	subss	%xmm2, %xmm5
	movss	8(%r14,%rax,4), %xmm2           ## xmm2 = mem[0],zero,zero,zero
	movaps	%xmm0, %xmm3
	subss	%xmm2, %xmm3
	mulss	%xmm1, %xmm3
	subss	%xmm2, %xmm5
	movss	12(%r14,%rax,4), %xmm1          ## xmm1 = mem[0],zero,zero,zero
	movaps	%xmm0, %xmm4
	subss	%xmm1, %xmm4
	mulss	%xmm3, %xmm4
	subss	%xmm1, %xmm5
	addq	$4, %rax
	cmpq	%rax, %rcx
	jne	LBB0_14
LBB0_15:
	movss	%xmm4, -44(%rbp)                ## 4-byte Spill
	movaps	LCPI0_2(%rip), %xmm0            ## xmm0 = [-0.0E+0,-0.0E+0,-0.0E+0,-0.0E+0]
	movaps	%xmm5, -80(%rbp)                ## 16-byte Spill
	xorps	%xmm5, %xmm0
	callq	_exp
	movl	%r13d, %ecx
	addl	%r12d, %ecx
	movss	%xmm0, -56(%rbp)                ## 4-byte Spill
	movq	%r14, %rbx
	jle	LBB0_18
## %bb.16:
	imull	$100, %r12d, %eax
	cltd
	idivl	%ecx
	cmpl	%eax, %r13d
	jle	LBB0_18
## %bb.17:
	xorps	%xmm0, %xmm0
	cvtsi2sd	%r12d, %xmm0
	movsd	LCPI0_3(%rip), %xmm1            ## xmm1 = mem[0],zero
	mulsd	%xmm0, %xmm1
	movapd	%xmm0, %xmm2
	mulsd	%xmm0, %xmm2
	addsd	%xmm1, %xmm2
	xorps	%xmm1, %xmm1
	sqrtsd	%xmm2, %xmm1
	subsd	%xmm0, %xmm1
	mulsd	LCPI0_4(%rip), %xmm1
	cvttsd2si	%xmm1, %r14d
	movq	_float_compare_desc@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r15, %rdi
	movl	%r13d, %esi
	movl	$4, %edx
	callq	_qsort
	movl	%r14d, %r13d
LBB0_18:
	xorpd	%xmm0, %xmm0
	movss	%xmm0, -64(%rbp)                ## 4-byte Spill
	xorpd	%xmm0, %xmm0
	movq	%r15, %rdi
	movl	%r13d, %esi
	movl	%r13d, %edx
	callq	_calc_distr
	movq	%rax, %r14
	movq	%rbx, %rdi
	movl	%r12d, %esi
	movl	%r13d, %edx
	movaps	-80(%rbp), %xmm0                ## 16-byte Reload
	callq	_calc_distr
	movq	%rax, %rbx
	movq	16(%rbp), %rdi
	movq	-152(%rbp), %rsi                ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	movl	%r13d, %edx
	callq	_calc_hist
	movq	%rax, %r12
	testl	%r13d, %r13d
	movss	-44(%rbp), %xmm3                ## 4-byte Reload
                                        ## xmm3 = mem[0],zero,zero,zero
	js	LBB0_23
## %bb.19:
	mulss	-56(%rbp), %xmm3                ## 4-byte Folded Reload
	incl	%r13d
	xorps	%xmm0, %xmm0
	xorl	%eax, %eax
	xorpd	%xmm1, %xmm1
	movss	%xmm1, -64(%rbp)                ## 4-byte Spill
	jmp	LBB0_20
	.p2align	4, 0x90
LBB0_22:                                ##   in Loop: Header=BB0_20 Depth=1
	incq	%rax
	cmpq	%rax, %r13
	je	LBB0_23
LBB0_20:                                ## =>This Inner Loop Header: Depth=1
	movss	(%rbx,%rax,4), %xmm1            ## xmm1 = mem[0],zero,zero,zero
	ucomiss	%xmm0, %xmm1
	jbe	LBB0_22
## %bb.21:                              ##   in Loop: Header=BB0_20 Depth=1
	movss	(%r12,%rax,4), %xmm2            ## xmm2 = mem[0],zero,zero,zero
	mulss	%xmm3, %xmm2
	mulss	(%r14,%rax,4), %xmm2
	divss	%xmm1, %xmm2
	movss	-64(%rbp), %xmm1                ## 4-byte Reload
                                        ## xmm1 = mem[0],zero,zero,zero
	addss	%xmm2, %xmm1
	movss	%xmm1, -64(%rbp)                ## 4-byte Spill
	jmp	LBB0_22
LBB0_23:
	movq	%r14, %rdi
	callq	_pfree
	movq	%rbx, %rdi
	callq	_pfree
	movq	%r12, %rdi
	callq	_pfree
	movq	%r15, %rdi
	callq	_pfree
	movss	LCPI0_0(%rip), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	subss	-132(%rbp), %xmm0               ## 4-byte Folded Reload
	mulss	-64(%rbp), %xmm0                ## 4-byte Folded Reload
	movss	%xmm0, -80(%rbp)                ## 4-byte Spill
	callq	_CLAMP_PROBABILITY
	movss	-80(%rbp), %xmm0                ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
LBB0_3:
	addq	$152, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DEFAULT_CONTAIN_SEL,4,2        ## @DEFAULT_CONTAIN_SEL
	.comm	_float_compare_desc,4,2         ## @float_compare_desc
	.comm	_EFFORT,4,2                     ## @EFFORT
	.no_dead_strip	_mcelem_array_contained_selec
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mcelem_array_contained_selec
_mcelem_array_contained_selec:          ; @mcelem_array_contained_selec
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #224
	.cfi_def_cfa_offset 224
	stp	d13, d12, [sp, #80]             ; 16-byte Folded Spill
	stp	d11, d10, [sp, #96]             ; 16-byte Folded Spill
	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
	.cfi_offset b10, -120
	.cfi_offset b11, -128
	.cfi_offset b12, -136
	.cfi_offset b13, -144
	stp	x0, x4, [sp, #56]               ; 16-byte Folded Spill
	str	x2, [sp, #72]                   ; 8-byte Folded Spill
	cbz	x2, LBB0_20
; %bb.1:
	mov	x28, x1
	add	w8, w1, #3
	cmp	w8, w3
	b.ne	LBB0_20
; %bb.2:
	mov	x19, x6
	cbz	x6, LBB0_20
; %bb.3:
	cmp	w7, #2
	b.le	LBB0_20
; %bb.4:
	mov	x23, x5
	sxtw	x8, w28
	str	x8, [sp, #48]                   ; 8-byte Folded Spill
	ldr	x8, [sp, #72]                   ; 8-byte Folded Reload
	add	x8, x8, w28, sxtw #2
	ldr	s9, [x8]
	ldr	s10, [x8, #8]
	sub	w20, w7, #1
	ldr	s8, [x19, w20, uxtw #2]
	lsl	w0, w5, #2
	bl	_palloc
	mov	x26, x0
	cmp	w23, #1
	str	x19, [sp, #16]                  ; 8-byte Folded Spill
	str	w20, [sp, #12]                  ; 4-byte Folded Spill
	b.lt	LBB0_21
; %bb.5:
	mov	x19, #0
	mov	w22, #0
	mov	w24, #0
	ldr	x27, [x29, #24]
	fmov	s0, #0.50000000
	fmul	s9, s9, s0
	mov	w20, w23
	fmov	s12, #1.00000000
	mov	x21, #4294967296
	fmov	s11, #1.00000000
	ldr	x23, [sp, #64]                  ; 8-byte Folded Reload
	stp	x28, x26, [sp, #32]             ; 16-byte Folded Spill
	str	x20, [sp, #24]                  ; 8-byte Folded Spill
	b	LBB0_12
LBB0_6:                                 ;   in Loop: Header=BB0_12 Depth=1
	cbz	w0, LBB0_19
; %bb.7:                                ;   in Loop: Header=BB0_12 Depth=1
	ldp	x28, x26, [sp, #32]             ; 16-byte Folded Reload
LBB0_8:                                 ;   in Loop: Header=BB0_12 Depth=1
	ldr	x23, [sp, #64]                  ; 8-byte Folded Reload
	ldr	x20, [sp, #24]                  ; 8-byte Folded Reload
LBB0_9:                                 ;   in Loop: Header=BB0_12 Depth=1
Lloh0:
	adrp	x8, _DEFAULT_CONTAIN_SEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DEFAULT_CONTAIN_SEL@GOTPAGEOFF]
Lloh2:
	ldr	s0, [x8]
	fmov	s1, s9
	bl	_Min
	str	s0, [x26, w24, sxtw #2]
LBB0_10:                                ;   in Loop: Header=BB0_12 Depth=1
	add	w24, w24, #1
LBB0_11:                                ;   in Loop: Header=BB0_12 Depth=1
	add	x19, x19, #1
	cmp	x19, x20
	b.eq	LBB0_22
LBB0_12:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_16 Depth 2
	cbz	x19, LBB0_14
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=1
	sub	w8, w19, #1
	add	x0, x23, w8, uxtw #2
	add	x1, x23, x19, lsl #2
	mov	x2, x27
	bl	_element_compare
	cbz	w0, LBB0_11
LBB0_14:                                ;   in Loop: Header=BB0_12 Depth=1
	cmp	w22, w28
	b.ge	LBB0_9
; %bb.15:                               ;   in Loop: Header=BB0_12 Depth=1
	sxtw	x8, w22
	sbfiz	x20, x22, #32, #32
	sbfiz	x9, x22, #2, #32
	ldr	x10, [sp, #56]                  ; 8-byte Folded Reload
	add	x28, x10, x9
	ldr	x10, [sp, #72]                  ; 8-byte Folded Reload
	add	x26, x10, x9
	ldr	x9, [sp, #48]                   ; 8-byte Folded Reload
	sub	x25, x9, x8
	add	x23, x23, x19, lsl #2
LBB0_16:                                ;   Parent Loop BB0_12 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x0, x28
	mov	x1, x23
	mov	x2, x27
	bl	_element_compare
	tbz	w0, #31, LBB0_6
; %bb.17:                               ;   in Loop: Header=BB0_16 Depth=2
	ldr	s0, [x26], #4
	fsub	s1, s12, s0
	fmul	s11, s11, s1
	fsub	s8, s8, s0
	add	x20, x20, x21
	add	w22, w22, #1
	add	x28, x28, #4
	subs	x25, x25, #1
	b.ne	LBB0_16
; %bb.18:                               ;   in Loop: Header=BB0_12 Depth=1
	ldp	x28, x26, [sp, #32]             ; 16-byte Folded Reload
	mov	x22, x28
	b	LBB0_8
LBB0_19:                                ;   in Loop: Header=BB0_12 Depth=1
	asr	x8, x20, #30
	ldp	x23, x9, [sp, #64]              ; 16-byte Folded Reload
	ldr	s0, [x9, x8]
	ldp	x28, x26, [sp, #32]             ; 16-byte Folded Reload
	str	s0, [x26, w24, sxtw #2]
	ldr	s0, [x9, x8]
	fsub	s8, s8, s0
	add	w22, w22, #1
	ldr	x20, [sp, #24]                  ; 8-byte Folded Reload
	b	LBB0_10
LBB0_20:
Lloh3:
	adrp	x8, _DEFAULT_CONTAIN_SEL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _DEFAULT_CONTAIN_SEL@GOTPAGEOFF]
Lloh5:
	ldr	s8, [x8]
	b	LBB0_35
LBB0_21:
	mov	w24, #0
	mov	w22, #0
	fmov	s11, #1.00000000
LBB0_22:
	cmp	w22, w28
	b.ge	LBB0_25
; %bb.23:
	ldr	x8, [sp, #72]                   ; 8-byte Folded Reload
	add	x8, x8, w22, sxtw #2
	fmov	s0, #1.00000000
	ldr	x9, [sp, #48]                   ; 8-byte Folded Reload
	sub	x9, x9, w22, sxtw
	ldr	x20, [sp, #16]                  ; 8-byte Folded Reload
	ldr	w22, [sp, #12]                  ; 4-byte Folded Reload
LBB0_24:                                ; =>This Inner Loop Header: Depth=1
	ldr	s1, [x8], #4
	fsub	s2, s0, s1
	fmul	s11, s11, s2
	fsub	s8, s8, s1
	subs	x9, x9, #1
	b.ne	LBB0_24
	b	LBB0_26
LBB0_25:
	ldr	x20, [sp, #16]                  ; 8-byte Folded Reload
	ldr	w22, [sp, #12]                  ; 4-byte Folded Reload
LBB0_26:
	fneg	s0, s8
	bl	_exp
	fmov	s9, s0
	add	w8, w24, w28
	cmp	w8, #1
	b.lt	LBB0_29
; %bb.27:
	mov	w9, #100
	mul	w9, w28, w9
	sdiv	w8, w9, w8
	cmp	w24, w8
	b.le	LBB0_29
; %bb.28:
	scvtf	d0, w28
	mov	x8, #4645744490609377280
	fmov	d1, x8
	fmul	d1, d0, d1
	fmadd	d1, d0, d0, d1
	fsqrt	d1, d1
	fsub	d0, d1, d0
	fmov	d1, #0.50000000
	fmul	d0, d0, d1
	fcvtzs	w19, d0
Lloh6:
	adrp	x8, _float_compare_desc@GOTPAGE
Lloh7:
	ldr	x8, [x8, _float_compare_desc@GOTPAGEOFF]
Lloh8:
	ldr	w3, [x8]
	mov	x0, x26
	mov	x1, x24
	mov	w2, #4
	bl	_qsort
	mov	x24, x19
LBB0_29:
	movi	d12, #0000000000000000
	movi	d0, #0000000000000000
	mov	x0, x26
	mov	x1, x24
	mov	x2, x24
	bl	_calc_distr
	mov	x25, x0
	ldr	x0, [sp, #72]                   ; 8-byte Folded Reload
	mov	x1, x28
	mov	x2, x24
	fmov	s0, s8
	bl	_calc_distr
	mov	x21, x0
	mov	x0, x20
	mov	x1, x22
	mov	x2, x24
	bl	_calc_hist
	mov	x20, x0
	tbnz	w24, #31, LBB0_34
; %bb.30:
	fmul	s0, s11, s9
	add	w8, w24, #1
	movi	d12, #0000000000000000
	mov	x9, x21
	mov	x10, x20
	mov	x11, x25
	b	LBB0_32
LBB0_31:                                ;   in Loop: Header=BB0_32 Depth=1
	add	x11, x11, #4
	add	x10, x10, #4
	add	x9, x9, #4
	subs	x8, x8, #1
	b.eq	LBB0_34
LBB0_32:                                ; =>This Inner Loop Header: Depth=1
	ldr	s1, [x9]
	fcmp	s1, #0.0
	b.le	LBB0_31
; %bb.33:                               ;   in Loop: Header=BB0_32 Depth=1
	ldr	s2, [x10]
	fmul	s2, s0, s2
	ldr	s3, [x11]
	fmul	s2, s2, s3
	fdiv	s1, s2, s1
	fadd	s12, s12, s1
	b	LBB0_31
LBB0_34:
	mov	x0, x25
	bl	_pfree
	mov	x0, x21
	bl	_pfree
	mov	x0, x20
	bl	_pfree
	mov	x0, x26
	bl	_pfree
	fmov	s0, #1.00000000
	fsub	s0, s0, s10
	fmul	s8, s0, s12
	fmov	s0, s8
	bl	_CLAMP_PROBABILITY
LBB0_35:
	fmov	s0, s8
	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
	ldp	d11, d10, [sp, #96]             ; 16-byte Folded Reload
	ldp	d13, d12, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #224
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_DEFAULT_CONTAIN_SEL,4,2        ; @DEFAULT_CONTAIN_SEL
	.comm	_float_compare_desc,4,2         ; @float_compare_desc
	.comm	_EFFORT,4,2                     ; @EFFORT
	.no_dead_strip	_mcelem_array_contained_selec
.subsections_via_symbols
