	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function kmin_hj
LCPI0_0:
	.quad	0x7fffffffffffffff              ## double NaN
	.quad	0x7fffffffffffffff              ## double NaN
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3
LCPI0_1:
	.quad	0x3fe0000000000000              ## double 0.5
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_kmin_hj
	.p2align	4, 0x90
_kmin_hj:                               ## @kmin_hj
	.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	$168, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, -60(%rbp)                 ## 4-byte Spill
	movsd	%xmm1, -184(%rbp)               ## 8-byte Spill
	movapd	%xmm0, -128(%rbp)               ## 16-byte Spill
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	movq	%rdx, %rbx
	movl	%esi, %r12d
	movq	%rdi, -80(%rbp)                 ## 8-byte Spill
	movl	%esi, %edi
	movl	$8, %esi
	callq	_calloc
	movq	%rax, %r14
	movl	%r12d, %edi
	movl	$8, %esi
	callq	_calloc
	movq	%rax, %r15
	testl	%r12d, %r12d
	je	LBB0_1
## %bb.2:
	movl	%r12d, %r13d
	xorl	%eax, %eax
	cmpl	$4, %r12d
	jb	LBB0_3
## %bb.4:
	movq	%r15, %rcx
	subq	%rbx, %rcx
	cmpq	$32, %rcx
	movapd	-128(%rbp), %xmm7               ## 16-byte Reload
	jb	LBB0_8
## %bb.5:
	movl	%r13d, %eax
	andl	$-4, %eax
	movddup	%xmm7, %xmm2                    ## xmm2 = xmm7[0,0]
	leaq	(,%r13,8), %rcx
	andq	$-32, %rcx
	xorl	%edx, %edx
	movapd	LCPI0_0(%rip), %xmm3            ## xmm3 = [NaN,NaN]
	xorpd	%xmm4, %xmm4
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movupd	(%rbx,%rdx), %xmm5
	movupd	16(%rbx,%rdx), %xmm6
	andpd	%xmm3, %xmm5
	andpd	%xmm3, %xmm6
	mulpd	%xmm2, %xmm5
	mulpd	%xmm2, %xmm6
	movapd	%xmm5, %xmm0
	cmpeqpd	%xmm4, %xmm0
	movapd	%xmm6, %xmm1
	cmpeqpd	%xmm4, %xmm1
	blendvpd	%xmm0, %xmm2, %xmm5
	movapd	%xmm1, %xmm0
	blendvpd	%xmm0, %xmm2, %xmm6
	movupd	%xmm5, (%r15,%rdx)
	movupd	%xmm6, 16(%r15,%rdx)
	addq	$32, %rdx
	cmpq	%rdx, %rcx
	jne	LBB0_6
## %bb.7:
	cmpq	%r13, %rax
	jne	LBB0_8
	jmp	LBB0_13
LBB0_1:
	xorl	%r13d, %r13d
	jmp	LBB0_13
LBB0_3:
	movapd	-128(%rbp), %xmm7               ## 16-byte Reload
LBB0_8:
	movq	%rax, %rcx
	notq	%rcx
	testb	$1, %r13b
	je	LBB0_10
## %bb.9:
	movsd	(%rbx,%rax,8), %xmm0            ## xmm0 = mem[0],zero
	andpd	LCPI0_0(%rip), %xmm0
	mulsd	%xmm7, %xmm0
	xorpd	%xmm1, %xmm1
	cmpeqsd	%xmm0, %xmm1
	movapd	%xmm1, %xmm2
	andnpd	%xmm0, %xmm2
	andpd	%xmm7, %xmm1
	orpd	%xmm2, %xmm1
	movlpd	%xmm1, (%r15,%rax,8)
	orq	$1, %rax
LBB0_10:
	addq	%r13, %rcx
	je	LBB0_13
## %bb.11:
	movapd	LCPI0_0(%rip), %xmm0            ## xmm0 = [NaN,NaN]
	xorpd	%xmm1, %xmm1
	.p2align	4, 0x90
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movsd	(%rbx,%rax,8), %xmm2            ## xmm2 = mem[0],zero
	andpd	%xmm0, %xmm2
	mulsd	%xmm7, %xmm2
	movapd	%xmm2, %xmm3
	cmpeqsd	%xmm1, %xmm3
	movapd	%xmm3, %xmm4
	andnpd	%xmm2, %xmm4
	andpd	%xmm7, %xmm3
	orpd	%xmm4, %xmm3
	movlpd	%xmm3, (%r15,%rax,8)
	movsd	8(%rbx,%rax,8), %xmm2           ## xmm2 = mem[0],zero
	andpd	%xmm0, %xmm2
	mulsd	%xmm7, %xmm2
	movapd	%xmm2, %xmm3
	cmpeqsd	%xmm1, %xmm3
	movapd	%xmm3, %xmm4
	andnpd	%xmm2, %xmm4
	andpd	%xmm7, %xmm3
	orpd	%xmm4, %xmm3
	movlpd	%xmm3, 8(%r15,%rax,8)
	addq	$2, %rax
	cmpq	%rax, %r13
	jne	LBB0_12
LBB0_13:
	movl	%r12d, %edi
	movq	%rbx, %rsi
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	callq	*-80(%rbp)                      ## 8-byte Folded Reload
	movsd	%xmm0, -56(%rbp)                ## 8-byte Spill
	movl	$1, -48(%rbp)
	leal	(,%r12,8), %eax
	movl	%eax, -84(%rbp)                 ## 4-byte Spill
	leaq	(%r15,%r13,8), %rsi
	leaq	(%rbx,%r13,8), %r8
	movl	%r13d, %ecx
	andl	$-4, %ecx
	movq	%rcx, -176(%rbp)                ## 8-byte Spill
	addq	$-4, %rcx
	movq	%rcx, -168(%rbp)                ## 8-byte Spill
	shrq	$2, %rcx
	incq	%rcx
	cmpq	%r8, %r15
	setb	%al
	cmpq	%rbx, %rsi
	seta	%dl
	leaq	(%r14,%r13,8), %rdi
	andb	%al, %dl
	cmpq	%rdi, %r15
	setb	%r9b
	cmpq	%rsi, %r14
	setb	%al
	andb	%r9b, %al
	orb	%dl, %al
	cmpq	%rbx, %rdi
	seta	%sil
	cmpq	%r8, %r14
	setb	%dl
	andb	%sil, %dl
	orb	%al, %dl
	movb	%dl, -41(%rbp)                  ## 1-byte Spill
	movl	%r13d, %eax
	andl	$-2, %eax
	movq	%rax, -152(%rbp)                ## 8-byte Spill
	movapd	-128(%rbp), %xmm0               ## 16-byte Reload
	movddup	%xmm0, %xmm5                    ## xmm5 = xmm0[0,0]
	movq	%rcx, %rax
	movq	%rcx, -160(%rbp)                ## 8-byte Spill
	andq	$-2, %rcx
	movq	%rcx, -136(%rbp)                ## 8-byte Spill
	leaq	(,%r13,8), %rax
	andq	$-16, %rax
	movq	%rax, -144(%rbp)                ## 8-byte Spill
	movsd	%xmm0, -104(%rbp)               ## 8-byte Spill
	movq	%r13, -96(%rbp)                 ## 8-byte Spill
	movapd	%xmm5, -208(%rbp)               ## 16-byte Spill
	.p2align	4, 0x90
LBB0_14:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_15 Depth 2
                                        ##       Child Loop BB0_20 Depth 3
                                        ##       Child Loop BB0_22 Depth 3
                                        ##       Child Loop BB0_35 Depth 3
                                        ##     Child Loop BB0_39 Depth 2
                                        ##     Child Loop BB0_43 Depth 2
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movl	-84(%rbp), %edx                 ## 4-byte Reload
	callq	_memcpy
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	movl	%r12d, %esi
	movq	%r14, %rdx
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movsd	-56(%rbp), %xmm0                ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	movq	%r15, %r8
	leaq	-48(%rbp), %r9
	callq	___kmin_hj_aux
	movapd	%xmm0, %xmm5
LBB0_15:                                ##   Parent Loop BB0_14 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_20 Depth 3
                                        ##       Child Loop BB0_22 Depth 3
                                        ##       Child Loop BB0_35 Depth 3
	movsd	-56(%rbp), %xmm0                ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	ucomisd	%xmm5, %xmm0
	jbe	LBB0_25
## %bb.16:                              ##   in Loop: Header=BB0_15 Depth=2
	movsd	%xmm5, -56(%rbp)                ## 8-byte Spill
	testl	%r12d, %r12d
	movapd	LCPI0_0(%rip), %xmm4            ## xmm4 = [NaN,NaN]
	je	LBB0_23
## %bb.17:                              ##   in Loop: Header=BB0_15 Depth=2
	cmpl	$2, %r13d
	setb	%al
	orb	-41(%rbp), %al                  ## 1-byte Folded Reload
	je	LBB0_19
## %bb.18:                              ##   in Loop: Header=BB0_15 Depth=2
	xorl	%eax, %eax
	jmp	LBB0_22
	.p2align	4, 0x90
LBB0_19:                                ##   in Loop: Header=BB0_15 Depth=2
	xorl	%eax, %eax
	movq	-144(%rbp), %rcx                ## 8-byte Reload
	.p2align	4, 0x90
LBB0_20:                                ##   Parent Loop BB0_14 Depth=1
                                        ##     Parent Loop BB0_15 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movupd	(%rbx,%rax), %xmm1
	movupd	(%r14,%rax), %xmm2
	movapd	%xmm1, %xmm0
	cmpltpd	%xmm2, %xmm0
	movupd	(%r15,%rax), %xmm2
	andpd	%xmm4, %xmm2
	xorpd	%xmm3, %xmm3
	subpd	%xmm2, %xmm3
	blendvpd	%xmm0, %xmm2, %xmm3
	movupd	%xmm3, (%r15,%rax)
	movupd	(%r14,%rax), %xmm0
	movupd	%xmm0, (%rbx,%rax)
	addpd	%xmm0, %xmm0
	subpd	%xmm1, %xmm0
	movupd	%xmm0, (%r14,%rax)
	addq	$16, %rax
	cmpq	%rax, %rcx
	jne	LBB0_20
## %bb.21:                              ##   in Loop: Header=BB0_15 Depth=2
	movq	-152(%rbp), %rcx                ## 8-byte Reload
	movq	%rcx, %rax
	cmpq	%rcx, %r13
	je	LBB0_23
	.p2align	4, 0x90
LBB0_22:                                ##   Parent Loop BB0_14 Depth=1
                                        ##     Parent Loop BB0_15 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movsd	(%rbx,%rax,8), %xmm0            ## xmm0 = mem[0],zero
	movsd	(%r15,%rax,8), %xmm1            ## xmm1 = mem[0],zero
	andpd	%xmm4, %xmm1
	xorpd	%xmm2, %xmm2
	subsd	%xmm1, %xmm2
	movapd	%xmm0, %xmm3
	cmpltsd	(%r14,%rax,8), %xmm3
	andpd	%xmm3, %xmm1
	andnpd	%xmm2, %xmm3
	orpd	%xmm1, %xmm3
	movlpd	%xmm3, (%r15,%rax,8)
	movsd	(%r14,%rax,8), %xmm1            ## xmm1 = mem[0],zero
	movsd	%xmm1, (%rbx,%rax,8)
	movsd	(%r14,%rax,8), %xmm1            ## xmm1 = mem[0],zero
	addsd	%xmm1, %xmm1
	subsd	%xmm0, %xmm1
	movsd	%xmm1, (%r14,%rax,8)
	incq	%rax
	cmpq	%rax, %r13
	jne	LBB0_22
LBB0_23:                                ##   in Loop: Header=BB0_15 Depth=2
	movl	-60(%rbp), %eax                 ## 4-byte Reload
	cmpl	%eax, -48(%rbp)
	jge	LBB0_24
## %bb.30:                              ##   in Loop: Header=BB0_15 Depth=2
	movl	%r12d, %edi
	movq	%r14, %rsi
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	movq	-80(%rbp), %r13                 ## 8-byte Reload
	callq	*%r13
	incl	-48(%rbp)
	movq	%r13, %rdi
	movl	%r12d, %esi
	movq	%r14, %rdx
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movq	%r15, %r8
	leaq	-48(%rbp), %r9
	callq	___kmin_hj_aux
	movapd	%xmm0, %xmm5
	ucomisd	-56(%rbp), %xmm0                ## 8-byte Folded Reload
	jae	LBB0_31
## %bb.32:                              ##   in Loop: Header=BB0_15 Depth=2
	testl	%r12d, %r12d
	movq	-96(%rbp), %r13                 ## 8-byte Reload
	je	LBB0_25
## %bb.33:                              ##   in Loop: Header=BB0_15 Depth=2
	xorl	%eax, %eax
	movapd	LCPI0_0(%rip), %xmm2            ## xmm2 = [NaN,NaN]
	movsd	LCPI0_1(%rip), %xmm3            ## xmm3 = mem[0],zero
	.p2align	4, 0x90
LBB0_35:                                ##   Parent Loop BB0_14 Depth=1
                                        ##     Parent Loop BB0_15 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movsd	(%r14,%rax,8), %xmm0            ## xmm0 = mem[0],zero
	subsd	(%rbx,%rax,8), %xmm0
	andpd	%xmm2, %xmm0
	movsd	(%r15,%rax,8), %xmm1            ## xmm1 = mem[0],zero
	andpd	%xmm2, %xmm1
	mulsd	%xmm3, %xmm1
	ucomisd	%xmm1, %xmm0
	ja	LBB0_15
## %bb.34:                              ##   in Loop: Header=BB0_35 Depth=3
	incq	%rax
	cmpq	%rax, %r13
	jne	LBB0_35
LBB0_25:                                ##   in Loop: Header=BB0_14 Depth=1
	movsd	-104(%rbp), %xmm0               ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	ucomisd	-184(%rbp), %xmm0               ## 8-byte Folded Reload
	movapd	-128(%rbp), %xmm4               ## 16-byte Reload
	jb	LBB0_44
## %bb.26:                              ##   in Loop: Header=BB0_14 Depth=1
	movl	-60(%rbp), %eax                 ## 4-byte Reload
	cmpl	%eax, -48(%rbp)
	jge	LBB0_44
## %bb.27:                              ##   in Loop: Header=BB0_14 Depth=1
	mulsd	%xmm4, %xmm0
	movsd	%xmm0, -104(%rbp)               ## 8-byte Spill
	testl	%r12d, %r12d
	movapd	-208(%rbp), %xmm5               ## 16-byte Reload
	je	LBB0_14
## %bb.28:                              ##   in Loop: Header=BB0_14 Depth=1
	cmpl	$4, %r13d
	jae	LBB0_36
## %bb.29:                              ##   in Loop: Header=BB0_14 Depth=1
	xorl	%eax, %eax
	jmp	LBB0_43
	.p2align	4, 0x90
LBB0_36:                                ##   in Loop: Header=BB0_14 Depth=1
	cmpq	$0, -168(%rbp)                  ## 8-byte Folded Reload
	je	LBB0_37
## %bb.38:                              ##   in Loop: Header=BB0_14 Depth=1
	movq	-136(%rbp), %rcx                ## 8-byte Reload
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_39:                                ##   Parent Loop BB0_14 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movupd	(%r15,%rax,8), %xmm0
	movupd	16(%r15,%rax,8), %xmm1
	movupd	32(%r15,%rax,8), %xmm2
	movupd	48(%r15,%rax,8), %xmm3
	mulpd	%xmm5, %xmm0
	mulpd	%xmm5, %xmm1
	movupd	%xmm0, (%r15,%rax,8)
	movupd	%xmm1, 16(%r15,%rax,8)
	mulpd	%xmm5, %xmm2
	mulpd	%xmm5, %xmm3
	movupd	%xmm2, 32(%r15,%rax,8)
	movupd	%xmm3, 48(%r15,%rax,8)
	addq	$8, %rax
	addq	$-2, %rcx
	jne	LBB0_39
## %bb.40:                              ##   in Loop: Header=BB0_14 Depth=1
	testb	$1, -160(%rbp)                  ## 1-byte Folded Reload
	je	LBB0_42
LBB0_41:                                ##   in Loop: Header=BB0_14 Depth=1
	movupd	(%r15,%rax,8), %xmm0
	movupd	16(%r15,%rax,8), %xmm1
	mulpd	%xmm5, %xmm0
	mulpd	%xmm5, %xmm1
	movupd	%xmm0, (%r15,%rax,8)
	movupd	%xmm1, 16(%r15,%rax,8)
LBB0_42:                                ##   in Loop: Header=BB0_14 Depth=1
	movq	-176(%rbp), %rcx                ## 8-byte Reload
	movq	%rcx, %rax
	cmpq	%rcx, %r13
	je	LBB0_14
	.p2align	4, 0x90
LBB0_43:                                ##   Parent Loop BB0_14 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movsd	(%r15,%rax,8), %xmm0            ## xmm0 = mem[0],zero
	mulsd	%xmm4, %xmm0
	movsd	%xmm0, (%r15,%rax,8)
	incq	%rax
	cmpq	%rax, %r13
	jne	LBB0_43
	jmp	LBB0_14
LBB0_37:                                ##   in Loop: Header=BB0_14 Depth=1
	xorl	%eax, %eax
	testb	$1, -160(%rbp)                  ## 1-byte Folded Reload
	jne	LBB0_41
	jmp	LBB0_42
LBB0_24:                                ##   in Loop: Header=BB0_14 Depth=1
	movsd	-56(%rbp), %xmm5                ## 8-byte Reload
                                        ## xmm5 = mem[0],zero
	jmp	LBB0_25
LBB0_31:                                ##   in Loop: Header=BB0_14 Depth=1
	movq	-96(%rbp), %r13                 ## 8-byte Reload
	jmp	LBB0_25
LBB0_44:
	movq	%r14, %rdi
	movsd	%xmm5, -56(%rbp)                ## 8-byte Spill
	callq	_free
	movq	%r15, %rdi
	callq	_free
	movsd	-56(%rbp), %xmm0                ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	addq	$168, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_kmin_hj                        ; -- Begin function kmin_hj
	.p2align	2
_kmin_hj:                               ; @kmin_hj
	.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
	mov	x19, x4
	fmov	d8, d1
	str	q0, [sp, #48]                   ; 16-byte Folded Spill
	mov	x20, x3
	mov	x21, x2
	mov	x22, x1
	mov	x23, x0
	mov	x0, x1
	mov	w1, #8
	bl	_calloc
	mov	x24, x0
	mov	x0, x22
	mov	w1, #8
	bl	_calloc
	mov	x25, x0
	cbz	w22, LBB0_6
; %bb.1:
	mov	x8, #0
	mov	w27, w22
	cmp	w22, #8
	b.lo	LBB0_7
; %bb.2:
	sub	x9, x25, x21
	cmp	x9, #64
	ldr	q17, [sp, #48]                  ; 16-byte Folded Reload
	b.lo	LBB0_8
; %bb.3:
	and	x8, x27, #0xfffffff8
	dup.2d	v0, v17[0]
	add	x9, x25, #32
	add	x10, x21, #32
	mov	x11, x8
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldp	q1, q2, [x10, #-32]
	ldp	q3, q4, [x10], #64
	fabs.2d	v1, v1
	fabs.2d	v2, v2
	fabs.2d	v3, v3
	fabs.2d	v4, v4
	fmul.2d	v1, v1, v0
	fmul.2d	v2, v2, v0
	fmul.2d	v3, v3, v0
	fmul.2d	v4, v4, v17[0]
	fcmeq.2d	v5, v1, #0.0
	fcmeq.2d	v6, v2, #0.0
	fcmeq.2d	v7, v3, #0.0
	fcmeq.2d	v16, v4, #0.0
	bit.16b	v1, v0, v5
	bit.16b	v2, v0, v6
	bit.16b	v3, v0, v7
	stp	q1, q2, [x9, #-32]
	mov.16b	v1, v16
	bsl.16b	v1, v0, v4
	stp	q3, q1, [x9], #64
	subs	x11, x11, #8
	b.ne	LBB0_4
; %bb.5:
	cmp	x8, x27
	b.ne	LBB0_8
	b	LBB0_10
LBB0_6:
	mov	x27, #0
	b	LBB0_10
LBB0_7:
	ldr	q17, [sp, #48]                  ; 16-byte Folded Reload
LBB0_8:
	lsl	x10, x8, #3
	add	x9, x25, x10
	add	x10, x21, x10
	sub	x8, x27, x8
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldr	d0, [x10], #8
	fabs	d0, d0
	fmul	d0, d0, d17
	fcmp	d0, #0.0
	fcsel	d0, d17, d0, eq
	str	d0, [x9], #8
	subs	x8, x8, #1
	b.ne	LBB0_9
LBB0_10:
	mov	x0, x22
	mov	x1, x21
	mov	x2, x20
	blr	x23
	fmov	d9, d0
	mov	w8, #1
	str	w8, [sp, #76]
	lsl	w26, w22, #3
	lsl	x8, x27, #3
	add	x9, x25, x8
	add	x10, x21, x8
	cmp	x25, x10
	ccmp	x9, x21, #0, lo
	cset	w11, hi
	add	x8, x24, x8
	cmp	x25, x8
	ccmp	x24, x9, #2, lo
	cset	w9, lo
	orr	w9, w11, w9
	cmp	x8, x21
	ccmp	x24, x10, #2, hi
	cset	w8, lo
	orr	w8, w9, w8
	str	w8, [sp, #28]                   ; 4-byte Folded Spill
	and	x9, x27, #0xfffffffe
	ldr	q0, [sp, #48]                   ; 16-byte Folded Reload
	dup.2d	v5, v0[0]
	and	x28, x27, #0xfffffff8
	add	x8, x25, #32
	stp	x8, x9, [sp, #8]                ; 16-byte Folded Spill
	fmov	d11, #0.50000000
	movi	d12, #0000000000000000
	fmov	d13, d0
	str	q5, [sp, #32]                   ; 16-byte Folded Spill
LBB0_11:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_12 Depth 2
                                        ;       Child Loop BB0_16 Depth 3
                                        ;       Child Loop BB0_19 Depth 3
                                        ;       Child Loop BB0_23 Depth 3
                                        ;     Child Loop BB0_32 Depth 2
                                        ;     Child Loop BB0_35 Depth 2
	mov	x0, x24
	mov	x1, x21
	mov	x2, x26
	bl	_memcpy
	add	x5, sp, #76
	mov	x0, x23
	mov	x1, x22
	mov	x2, x24
	mov	x3, x20
	fmov	d0, d9
	mov	x4, x25
	bl	___kmin_hj_aux
	fmov	d10, d0
	fcmp	d0, d9
	movi.2d	v5, #0000000000000000
	b.pl	LBB0_27
LBB0_12:                                ;   Parent Loop BB0_11 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_16 Depth 3
                                        ;       Child Loop BB0_19 Depth 3
                                        ;       Child Loop BB0_23 Depth 3
	fmov	d9, d10
	cbz	w22, LBB0_20
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=2
	cmp	x27, #2
	cset	w8, lo
	ldr	w9, [sp, #28]                   ; 4-byte Folded Reload
	orr	w8, w8, w9
	tbz	w8, #0, LBB0_15
; %bb.14:                               ;   in Loop: Header=BB0_12 Depth=2
	mov	x11, #0
	b	LBB0_18
LBB0_15:                                ;   in Loop: Header=BB0_12 Depth=2
	ldr	x8, [sp, #16]                   ; 8-byte Folded Reload
	mov	x9, x25
	mov	x10, x24
	mov	x11, x21
LBB0_16:                                ;   Parent Loop BB0_11 Depth=1
                                        ;     Parent Loop BB0_12 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	ldr	q0, [x11]
	ldr	q1, [x10]
	fcmgt.2d	v2, v1, v0
	ldr	q3, [x9]
	fabs.2d	v3, v3
	fsub.2d	v4, v5, v3
	bsl.16b	v2, v3, v4
	str	q2, [x9], #16
	str	q1, [x11], #16
	fadd.2d	v1, v1, v1
	fsub.2d	v0, v1, v0
	str	q0, [x10], #16
	subs	x8, x8, #2
	b.ne	LBB0_16
; %bb.17:                               ;   in Loop: Header=BB0_12 Depth=2
	ldr	x8, [sp, #16]                   ; 8-byte Folded Reload
	mov	x11, x8
	cmp	x27, x8
	b.eq	LBB0_20
LBB0_18:                                ;   in Loop: Header=BB0_12 Depth=2
	lsl	x10, x11, #3
	add	x8, x25, x10
	add	x9, x24, x10
	add	x10, x21, x10
	sub	x11, x27, x11
LBB0_19:                                ;   Parent Loop BB0_11 Depth=1
                                        ;     Parent Loop BB0_12 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	ldr	d0, [x10]
	ldr	d1, [x9]
	ldr	d2, [x8]
	fabs	d2, d2
	fsub	d3, d12, d2
	fcmp	d1, d0
	fcsel	d1, d2, d3, gt
	str	d1, [x8], #8
	ldr	d1, [x9]
	str	d1, [x10], #8
	ldr	d1, [x9]
	fadd	d1, d1, d1
	fsub	d0, d1, d0
	str	d0, [x9], #8
	subs	x11, x11, #1
	b.ne	LBB0_19
LBB0_20:                                ;   in Loop: Header=BB0_12 Depth=2
	ldr	w8, [sp, #76]
	cmp	w8, w19
	b.ge	LBB0_26
; %bb.21:                               ;   in Loop: Header=BB0_12 Depth=2
	mov	x0, x22
	mov	x1, x24
	mov	x2, x20
	blr	x23
	ldr	w8, [sp, #76]
	add	w8, w8, #1
	str	w8, [sp, #76]
	add	x5, sp, #76
	mov	x0, x23
	mov	x1, x22
	mov	x2, x24
	mov	x3, x20
	mov	x4, x25
	bl	___kmin_hj_aux
	fmov	d10, d0
	fcmp	d0, d9
	ccmp	w22, #0, #4, lt
	b.eq	LBB0_27
; %bb.22:                               ;   in Loop: Header=BB0_12 Depth=2
	mov	x8, x27
	mov	x9, x24
	mov	x10, x21
	mov	x11, x25
	movi.2d	v5, #0000000000000000
LBB0_23:                                ;   Parent Loop BB0_11 Depth=1
                                        ;     Parent Loop BB0_12 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	ldr	d0, [x9]
	ldr	d1, [x10]
	fabd	d0, d0, d1
	ldr	d1, [x11]
	fabs	d1, d1
	fmul	d1, d1, d11
	fcmp	d0, d1
	b.gt	LBB0_25
; %bb.24:                               ;   in Loop: Header=BB0_23 Depth=3
	add	x11, x11, #8
	add	x10, x10, #8
	add	x9, x9, #8
	subs	x8, x8, #1
	b.ne	LBB0_23
	b	LBB0_27
LBB0_25:                                ;   in Loop: Header=BB0_12 Depth=2
	fcmp	d10, d9
	b.mi	LBB0_12
	b	LBB0_27
LBB0_26:                                ;   in Loop: Header=BB0_11 Depth=1
	fmov	d10, d9
LBB0_27:                                ;   in Loop: Header=BB0_11 Depth=1
	ldr	w8, [sp, #76]
	fcmp	d13, d8
	ccmp	w8, w19, #0, ge
	b.ge	LBB0_36
; %bb.28:                               ;   in Loop: Header=BB0_11 Depth=1
	ldp	q5, q4, [sp, #32]               ; 32-byte Folded Reload
	fmul	d13, d13, d4
	cbz	w22, LBB0_11
; %bb.29:                               ;   in Loop: Header=BB0_11 Depth=1
	cmp	x27, #8
	b.hs	LBB0_31
; %bb.30:                               ;   in Loop: Header=BB0_11 Depth=1
	mov	x9, #0
	b	LBB0_34
LBB0_31:                                ;   in Loop: Header=BB0_11 Depth=1
	mov	x8, x28
	ldr	x9, [sp, #8]                    ; 8-byte Folded Reload
LBB0_32:                                ;   Parent Loop BB0_11 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldp	q0, q1, [x9, #-32]
	ldp	q2, q3, [x9]
	fmul.2d	v0, v0, v5
	fmul.2d	v1, v1, v5
	fmul.2d	v2, v2, v5
	fmul.2d	v3, v3, v4[0]
	stp	q0, q1, [x9, #-32]
	stp	q2, q3, [x9], #64
	subs	x8, x8, #8
	b.ne	LBB0_32
; %bb.33:                               ;   in Loop: Header=BB0_11 Depth=1
	mov	x9, x28
	cmp	x27, x28
	b.eq	LBB0_11
LBB0_34:                                ;   in Loop: Header=BB0_11 Depth=1
	add	x8, x25, x9, lsl #3
	sub	x9, x27, x9
LBB0_35:                                ;   Parent Loop BB0_11 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	d0, [x8]
	fmul	d0, d0, d4
	str	d0, [x8], #8
	subs	x9, x9, #1
	b.ne	LBB0_35
	b	LBB0_11
LBB0_36:
	mov	x0, x24
	bl	_free
	mov	x0, x25
	bl	_free
	fmov	d0, d10
	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
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
