	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function kmin_brent
LCPI0_0:
	.quad	0x3ff9e3779b9486e5              ## double 1.6180339886999999
LCPI0_1:
	.quad	0x4059000000000000              ## double 100
LCPI0_4:
	.quad	0x3bc79ca10c924223              ## double 9.9999999999999995E-21
LCPI0_5:
	.quad	0x3fe0000000000000              ## double 0.5
LCPI0_6:
	.quad	0xbfe0000000000000              ## double -0.5
LCPI0_7:
	.quad	0x3fd8722191ade46b              ## double 0.38196601130000002
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4
LCPI0_2:
	.quad	0x7fffffffffffffff              ## double NaN
	.quad	0x7fffffffffffffff              ## double NaN
LCPI0_3:
	.quad	0xbbc79ca10c924223              ## double -9.9999999999999995E-21
	.quad	0x3bc79ca10c924223              ## double 9.9999999999999995E-21
LCPI0_8:
	.quad	0x8000000000000000              ## double -0
	.quad	0x8000000000000000              ## double -0
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_kmin_brent
	.p2align	4, 0x90
_kmin_brent:                            ## @kmin_brent
	.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	%r12
	pushq	%rbx
	subq	$176, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movsd	%xmm2, -168(%rbp)               ## 8-byte Spill
	movq	%rsi, %r15
	movsd	%xmm1, -40(%rbp)                ## 8-byte Spill
	movq	%rdi, %r12
	movsd	%xmm0, -80(%rbp)                ## 8-byte Spill
	movq	%rsi, %rdi
	callq	*%r12
	movsd	%xmm0, -56(%rbp)                ## 8-byte Spill
	movsd	-40(%rbp), %xmm0                ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	movq	%r15, %rdi
	callq	*%r12
	movsd	-56(%rbp), %xmm1                ## 8-byte Reload
                                        ## xmm1 = mem[0],zero
	ucomisd	%xmm1, %xmm0
	jbe	LBB0_1
## %bb.2:
	movsd	%xmm0, -112(%rbp)               ## 8-byte Spill
	movsd	-80(%rbp), %xmm1                ## 8-byte Reload
                                        ## xmm1 = mem[0],zero
	movsd	-40(%rbp), %xmm2                ## 8-byte Reload
                                        ## xmm2 = mem[0],zero
	jmp	LBB0_3
LBB0_1:
	movsd	%xmm1, -112(%rbp)               ## 8-byte Spill
	movsd	%xmm0, -56(%rbp)                ## 8-byte Spill
	movsd	-40(%rbp), %xmm1                ## 8-byte Reload
                                        ## xmm1 = mem[0],zero
	movsd	-80(%rbp), %xmm2                ## 8-byte Reload
                                        ## xmm2 = mem[0],zero
LBB0_3:
	movsd	%xmm1, -96(%rbp)                ## 8-byte Spill
	movapd	%xmm1, %xmm0
	movsd	%xmm2, -40(%rbp)                ## 8-byte Spill
	subsd	%xmm2, %xmm0
	mulsd	LCPI0_0(%rip), %xmm0
	addsd	%xmm1, %xmm0
	movsd	%xmm0, -48(%rbp)                ## 8-byte Spill
	movq	%r15, %rdi
	callq	*%r12
	movsd	-56(%rbp), %xmm7                ## 8-byte Reload
                                        ## xmm7 = mem[0],zero
	ucomisd	%xmm0, %xmm7
	jbe	LBB0_4
## %bb.6:
	movapd	%xmm0, %xmm11
	leaq	LCPI0_3(%rip), %rbx
	movsd	-96(%rbp), %xmm6                ## 8-byte Reload
                                        ## xmm6 = mem[0],zero
	movapd	%xmm6, %xmm8
	movsd	-48(%rbp), %xmm9                ## 8-byte Reload
                                        ## xmm9 = mem[0],zero
	movsd	-40(%rbp), %xmm12               ## 8-byte Reload
                                        ## xmm12 = mem[0],zero
	movsd	-112(%rbp), %xmm4               ## 8-byte Reload
                                        ## xmm4 = mem[0],zero
	jmp	LBB0_7
LBB0_4:
	movapd	%xmm7, %xmm10
	movsd	-48(%rbp), %xmm13               ## 8-byte Reload
                                        ## xmm13 = mem[0],zero
	jmp	LBB0_5
LBB0_23:                                ##   in Loop: Header=BB0_7 Depth=1
	mulsd	LCPI0_0(%rip), %xmm4
	addsd	%xmm9, %xmm4
	movapd	%xmm0, %xmm1
	cmpltsd	%xmm9, %xmm1
	movapd	%xmm0, %xmm3
	cmpltsd	%xmm8, %xmm3
	cmpltsd	%xmm0, %xmm8
	movapd	%xmm8, %xmm2
	andnpd	%xmm4, %xmm2
	andpd	%xmm0, %xmm8
	orpd	%xmm2, %xmm8
	andpd	%xmm1, %xmm8
	andnpd	%xmm4, %xmm1
	orpd	%xmm1, %xmm8
	movapd	%xmm9, %xmm1
	cmpltsd	%xmm0, %xmm1
	movapd	%xmm3, %xmm2
	andnpd	%xmm8, %xmm2
	andpd	%xmm0, %xmm3
	orpd	%xmm2, %xmm3
	andpd	%xmm1, %xmm3
	andnpd	%xmm8, %xmm1
	orpd	%xmm1, %xmm3
	movapd	%xmm9, -80(%rbp)                ## 16-byte Spill
	.p2align	4, 0x90
LBB0_24:                                ##   in Loop: Header=BB0_7 Depth=1
	movapd	%xmm3, -96(%rbp)                ## 16-byte Spill
	movsd	%xmm6, -40(%rbp)                ## 8-byte Spill
	movsd	%xmm11, -48(%rbp)               ## 8-byte Spill
	movsd	%xmm7, -112(%rbp)               ## 8-byte Spill
	movapd	%xmm3, %xmm0
	movq	%r15, %rdi
	callq	*%r12
	movsd	-112(%rbp), %xmm4               ## 8-byte Reload
                                        ## xmm4 = mem[0],zero
	movsd	-40(%rbp), %xmm12               ## 8-byte Reload
                                        ## xmm12 = mem[0],zero
	movapd	-96(%rbp), %xmm13               ## 16-byte Reload
	movsd	-48(%rbp), %xmm10               ## 8-byte Reload
                                        ## xmm10 = mem[0],zero
	movapd	%xmm0, %xmm11
	ucomisd	%xmm0, %xmm10
	movapd	-80(%rbp), %xmm8                ## 16-byte Reload
	movapd	%xmm8, %xmm6
	movapd	%xmm13, %xmm9
	movapd	%xmm10, %xmm7
	jbe	LBB0_25
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movapd	%xmm6, %xmm1
	subsd	%xmm12, %xmm1
	movapd	%xmm7, %xmm2
	subsd	%xmm11, %xmm2
	mulsd	%xmm1, %xmm2
	movapd	%xmm6, %xmm0
	subsd	%xmm9, %xmm0
	movapd	%xmm7, %xmm3
	subsd	%xmm4, %xmm3
	mulsd	%xmm0, %xmm3
	xorl	%eax, %eax
	ucomisd	%xmm2, %xmm3
	seta	%al
	mulsd	%xmm3, %xmm0
	subsd	%xmm2, %xmm3
	movapd	%xmm3, %xmm4
	andpd	LCPI0_2(%rip), %xmm4
	movsd	(%rbx,%rax,8), %xmm5            ## xmm5 = mem[0],zero
	cmpltsd	LCPI0_4(%rip), %xmm4
	andpd	%xmm4, %xmm5
	andnpd	%xmm3, %xmm4
	orpd	%xmm5, %xmm4
	mulsd	%xmm1, %xmm2
	subsd	%xmm2, %xmm0
	addsd	%xmm4, %xmm4
	divsd	%xmm4, %xmm0
	movapd	%xmm9, %xmm4
	subsd	%xmm6, %xmm4
	subsd	%xmm0, %xmm8
	movapd	%xmm4, %xmm0
	mulsd	LCPI0_1(%rip), %xmm0
	ucomisd	%xmm8, %xmm6
	movapd	%xmm8, -80(%rbp)                ## 16-byte Spill
	movsd	%xmm6, -96(%rbp)                ## 8-byte Spill
	movsd	%xmm9, -48(%rbp)                ## 8-byte Spill
	movsd	%xmm11, -112(%rbp)              ## 8-byte Spill
	jbe	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	ucomisd	%xmm9, %xmm8
	ja	LBB0_11
LBB0_9:                                 ##   in Loop: Header=BB0_7 Depth=1
	ucomisd	%xmm6, %xmm8
	jbe	LBB0_16
## %bb.10:                              ##   in Loop: Header=BB0_7 Depth=1
	ucomisd	%xmm8, %xmm9
	jbe	LBB0_16
LBB0_11:                                ##   in Loop: Header=BB0_7 Depth=1
	movapd	%xmm4, -144(%rbp)               ## 16-byte Spill
	movsd	%xmm12, -40(%rbp)               ## 8-byte Spill
	movsd	%xmm7, -56(%rbp)                ## 8-byte Spill
	movapd	%xmm8, %xmm0
	movq	%r15, %rdi
	callq	*%r12
	movsd	-112(%rbp), %xmm11              ## 8-byte Reload
                                        ## xmm11 = mem[0],zero
	movapd	%xmm0, %xmm10
	ucomisd	%xmm0, %xmm11
	ja	LBB0_12
## %bb.13:                              ##   in Loop: Header=BB0_7 Depth=1
	movsd	-56(%rbp), %xmm7                ## 8-byte Reload
                                        ## xmm7 = mem[0],zero
	ucomisd	%xmm7, %xmm10
	ja	LBB0_14
## %bb.15:                              ##   in Loop: Header=BB0_7 Depth=1
	movapd	-144(%rbp), %xmm3               ## 16-byte Reload
	mulsd	LCPI0_0(%rip), %xmm3
	movsd	-48(%rbp), %xmm0                ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	addsd	%xmm0, %xmm3
	movapd	%xmm0, -80(%rbp)                ## 16-byte Spill
	movsd	-96(%rbp), %xmm6                ## 8-byte Reload
                                        ## xmm6 = mem[0],zero
	jmp	LBB0_24
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_7 Depth=1
	addsd	%xmm6, %xmm0
	ucomisd	%xmm8, %xmm9
	jbe	LBB0_18
## %bb.17:                              ##   in Loop: Header=BB0_7 Depth=1
	ucomisd	%xmm0, %xmm8
	ja	LBB0_20
LBB0_18:                                ##   in Loop: Header=BB0_7 Depth=1
	ucomisd	%xmm9, %xmm8
	jbe	LBB0_23
## %bb.19:                              ##   in Loop: Header=BB0_7 Depth=1
	ucomisd	%xmm8, %xmm0
	jbe	LBB0_23
LBB0_20:                                ##   in Loop: Header=BB0_7 Depth=1
	movapd	%xmm8, %xmm0
	movq	%r15, %rdi
	callq	*%r12
	movsd	-112(%rbp), %xmm7               ## 8-byte Reload
                                        ## xmm7 = mem[0],zero
	ucomisd	%xmm0, %xmm7
	jbe	LBB0_21
## %bb.22:                              ##   in Loop: Header=BB0_7 Depth=1
	movapd	-80(%rbp), %xmm1                ## 16-byte Reload
	movapd	%xmm1, %xmm3
	movsd	-48(%rbp), %xmm6                ## 8-byte Reload
                                        ## xmm6 = mem[0],zero
	subsd	%xmm6, %xmm3
	mulsd	LCPI0_0(%rip), %xmm3
	addsd	%xmm1, %xmm3
	movapd	%xmm0, %xmm11
	jmp	LBB0_24
LBB0_12:
	movsd	-48(%rbp), %xmm13               ## 8-byte Reload
                                        ## xmm13 = mem[0],zero
	movsd	-96(%rbp), %xmm12               ## 8-byte Reload
                                        ## xmm12 = mem[0],zero
	movapd	-80(%rbp), %xmm8                ## 16-byte Reload
	jmp	LBB0_25
LBB0_14:
	movapd	%xmm7, %xmm10
	movapd	-80(%rbp), %xmm13               ## 16-byte Reload
LBB0_5:
	movsd	-96(%rbp), %xmm8                ## 8-byte Reload
                                        ## xmm8 = mem[0],zero
	movsd	-40(%rbp), %xmm12               ## 8-byte Reload
                                        ## xmm12 = mem[0],zero
LBB0_25:
	movapd	%xmm12, %xmm9
	maxsd	%xmm13, %xmm9
	minsd	%xmm12, %xmm13
	xorpd	%xmm0, %xmm0
	movapd	%xmm0, -160(%rbp)               ## 16-byte Spill
	movl	$100, %ebx
	movapd	LCPI0_2(%rip), %xmm11           ## xmm11 = [NaN,NaN]
	movapd	%xmm10, %xmm5
	movapd	%xmm8, %xmm7
	movapd	%xmm8, %xmm12
	xorpd	%xmm15, %xmm15
	movapd	%xmm10, %xmm14
	movapd	%xmm8, %xmm6
	jmp	LBB0_26
	.p2align	4, 0x90
LBB0_40:                                ##   in Loop: Header=BB0_26 Depth=1
	movapd	%xmm3, %xmm2
	cmpnlesd	%xmm6, %xmm2
	movapd	%xmm2, %xmm1
	andpd	%xmm3, %xmm1
	andnpd	-112(%rbp), %xmm2               ## 16-byte Folded Reload
	orpd	%xmm1, %xmm2
	movapd	%xmm0, %xmm1
	movapd	%xmm2, %xmm9
	movapd	%xmm4, %xmm2
	movsd	-48(%rbp), %xmm5                ## 8-byte Reload
                                        ## xmm5 = mem[0],zero
	movapd	LCPI0_2(%rip), %xmm11           ## xmm11 = [NaN,NaN]
LBB0_49:                                ##   in Loop: Header=BB0_26 Depth=1
	movapd	-128(%rbp), %xmm15              ## 16-byte Reload
	movapd	%xmm2, %xmm13
	movapd	%xmm6, %xmm8
	movapd	%xmm3, %xmm12
	movapd	%xmm1, %xmm14
	decl	%ebx
	je	LBB0_50
LBB0_26:                                ## =>This Inner Loop Header: Depth=1
	movapd	%xmm13, %xmm0
	addsd	%xmm9, %xmm0
	mulsd	LCPI0_5(%rip), %xmm0
	movapd	LCPI0_2(%rip), %xmm3            ## xmm3 = [NaN,NaN]
	andpd	%xmm3, %xmm6
	mulsd	-168(%rbp), %xmm6               ## 8-byte Folded Reload
	addsd	LCPI0_4(%rip), %xmm6
	movapd	%xmm6, %xmm1
	addsd	%xmm6, %xmm1
	movapd	%xmm8, %xmm2
	subsd	%xmm0, %xmm2
	andpd	%xmm3, %xmm2
	movapd	%xmm9, %xmm3
	subsd	%xmm13, %xmm3
	mulsd	LCPI0_6(%rip), %xmm3
	addsd	%xmm1, %xmm3
	ucomisd	%xmm2, %xmm3
	jae	LBB0_27
## %bb.28:                              ##   in Loop: Header=BB0_26 Depth=1
	movapd	%xmm15, %xmm2
	andpd	%xmm11, %xmm2
	ucomisd	%xmm6, %xmm2
	movsd	%xmm10, -48(%rbp)               ## 8-byte Spill
	movapd	%xmm13, -96(%rbp)               ## 16-byte Spill
	movapd	%xmm9, -112(%rbp)               ## 16-byte Spill
	movsd	%xmm12, -56(%rbp)               ## 8-byte Spill
	movsd	%xmm14, -40(%rbp)               ## 8-byte Spill
	movapd	%xmm5, -208(%rbp)               ## 16-byte Spill
	movapd	%xmm7, -192(%rbp)               ## 16-byte Spill
	jbe	LBB0_36
## %bb.29:                              ##   in Loop: Header=BB0_26 Depth=1
	movapd	%xmm8, %xmm3
	subsd	%xmm12, %xmm3
	movapd	%xmm14, %xmm4
	subsd	%xmm5, %xmm4
	mulsd	%xmm3, %xmm4
	movapd	%xmm8, %xmm5
	subsd	%xmm7, %xmm5
	movapd	%xmm14, %xmm2
	subsd	%xmm10, %xmm2
	mulsd	%xmm5, %xmm2
	mulsd	%xmm4, %xmm3
	mulsd	%xmm2, %xmm5
	subsd	%xmm3, %xmm5
	subsd	%xmm4, %xmm2
	addsd	%xmm2, %xmm2
	xorpd	%xmm4, %xmm4
	subsd	%xmm5, %xmm4
	xorpd	%xmm3, %xmm3
	cmpltsd	%xmm2, %xmm3
	movapd	LCPI0_2(%rip), %xmm7            ## xmm7 = [NaN,NaN]
	andpd	%xmm7, %xmm2
	andpd	%xmm3, %xmm4
	andnpd	%xmm5, %xmm3
	orpd	%xmm4, %xmm3
	movapd	%xmm3, %xmm4
	andpd	%xmm7, %xmm4
	movapd	%xmm2, %xmm5
	mulsd	LCPI0_5(%rip), %xmm5
	mulsd	%xmm5, %xmm15
	andpd	%xmm7, %xmm15
	ucomisd	%xmm15, %xmm4
	jae	LBB0_36
## %bb.30:                              ##   in Loop: Header=BB0_26 Depth=1
	movapd	%xmm13, %xmm4
	subsd	%xmm8, %xmm4
	mulsd	%xmm2, %xmm4
	ucomisd	%xmm3, %xmm4
	jae	LBB0_36
## %bb.31:                              ##   in Loop: Header=BB0_26 Depth=1
	movapd	%xmm9, %xmm4
	subsd	%xmm8, %xmm4
	mulsd	%xmm2, %xmm4
	ucomisd	%xmm4, %xmm3
	jae	LBB0_36
## %bb.32:                              ##   in Loop: Header=BB0_26 Depth=1
	divsd	%xmm2, %xmm3
	movapd	%xmm8, %xmm2
	addsd	%xmm3, %xmm2
	movapd	%xmm2, %xmm4
	subsd	%xmm13, %xmm4
	ucomisd	%xmm4, %xmm1
	ja	LBB0_35
## %bb.33:                              ##   in Loop: Header=BB0_26 Depth=1
	movapd	%xmm9, %xmm4
	subsd	%xmm2, %xmm4
	ucomisd	%xmm4, %xmm1
	ja	LBB0_35
## %bb.34:                              ##   in Loop: Header=BB0_26 Depth=1
	movapd	-160(%rbp), %xmm0               ## 16-byte Reload
	movapd	%xmm0, -128(%rbp)               ## 16-byte Spill
	movapd	%xmm3, %xmm4
	jmp	LBB0_37
	.p2align	4, 0x90
LBB0_36:                                ##   in Loop: Header=BB0_26 Depth=1
	cmpnlesd	%xmm8, %xmm0
	movapd	%xmm0, %xmm1
	andpd	%xmm9, %xmm1
	andnpd	%xmm13, %xmm0
	orpd	%xmm1, %xmm0
	subsd	%xmm8, %xmm0
	movapd	%xmm0, %xmm4
	mulsd	LCPI0_7(%rip), %xmm4
	movapd	%xmm0, -128(%rbp)               ## 16-byte Spill
LBB0_37:                                ##   in Loop: Header=BB0_26 Depth=1
	movapd	%xmm4, %xmm0
	andpd	%xmm11, %xmm0
	movapd	%xmm6, %xmm1
	xorpd	LCPI0_8(%rip), %xmm1
	xorpd	%xmm2, %xmm2
	cmpltsd	%xmm4, %xmm2
	movapd	%xmm2, %xmm3
	andpd	%xmm6, %xmm3
	andnpd	%xmm1, %xmm2
	orpd	%xmm3, %xmm2
	cmpnlesd	%xmm0, %xmm6
	andpd	%xmm6, %xmm2
	movapd	%xmm4, -160(%rbp)               ## 16-byte Spill
	andnpd	%xmm4, %xmm6
	orpd	%xmm2, %xmm6
	addsd	%xmm8, %xmm6
	movapd	%xmm6, -144(%rbp)               ## 16-byte Spill
	movapd	%xmm6, %xmm0
	movq	%r15, %rdi
	movapd	%xmm8, -80(%rbp)                ## 16-byte Spill
	callq	*%r12
	movsd	-40(%rbp), %xmm10               ## 8-byte Reload
                                        ## xmm10 = mem[0],zero
	ucomisd	%xmm0, %xmm10
	jae	LBB0_38
## %bb.41:                              ##   in Loop: Header=BB0_26 Depth=1
	movapd	-144(%rbp), %xmm6               ## 16-byte Reload
	movapd	-80(%rbp), %xmm4                ## 16-byte Reload
	ucomisd	%xmm6, %xmm4
	movapd	%xmm6, %xmm2
	movsd	-56(%rbp), %xmm7                ## 8-byte Reload
                                        ## xmm7 = mem[0],zero
	ja	LBB0_43
## %bb.42:                              ##   in Loop: Header=BB0_26 Depth=1
	movapd	-96(%rbp), %xmm2                ## 16-byte Reload
LBB0_43:                                ##   in Loop: Header=BB0_26 Depth=1
	movapd	%xmm6, %xmm1
	cmpltsd	%xmm4, %xmm1
	movapd	-112(%rbp), %xmm9               ## 16-byte Reload
	andpd	%xmm1, %xmm9
	andnpd	%xmm6, %xmm1
	orpd	%xmm1, %xmm9
	movsd	-48(%rbp), %xmm12               ## 8-byte Reload
                                        ## xmm12 = mem[0],zero
	ucomisd	%xmm0, %xmm12
	movapd	LCPI0_2(%rip), %xmm11           ## xmm11 = [NaN,NaN]
	movapd	-208(%rbp), %xmm8               ## 16-byte Reload
	jae	LBB0_44
## %bb.45:                              ##   in Loop: Header=BB0_26 Depth=1
	ucomisd	%xmm4, %xmm7
	jne	LBB0_46
	jnp	LBB0_44
LBB0_46:                                ##   in Loop: Header=BB0_26 Depth=1
	movapd	-192(%rbp), %xmm5               ## 16-byte Reload
	movapd	%xmm5, %xmm1
	cmpeqpd	%xmm4, %xmm1
	movapd	%xmm0, %xmm3
	cmplepd	%xmm8, %xmm3
	orpd	%xmm1, %xmm3
	movd	%xmm3, %eax
	ucomisd	%xmm7, %xmm5
	setnp	%cl
	sete	%dl
	andb	%cl, %dl
	orb	%al, %dl
	testb	$1, %dl
	jne	LBB0_48
## %bb.47:                              ##   in Loop: Header=BB0_26 Depth=1
	movapd	%xmm5, %xmm6
	movapd	%xmm8, %xmm0
LBB0_48:                                ##   in Loop: Header=BB0_26 Depth=1
	movapd	%xmm10, %xmm1
	movapd	%xmm7, %xmm3
	movapd	%xmm6, %xmm7
	movapd	%xmm4, %xmm6
	movapd	%xmm0, %xmm5
	movapd	%xmm12, %xmm10
	jmp	LBB0_49
	.p2align	4, 0x90
LBB0_38:                                ##   in Loop: Header=BB0_26 Depth=1
	movapd	-144(%rbp), %xmm6               ## 16-byte Reload
	movapd	-80(%rbp), %xmm3                ## 16-byte Reload
	ucomisd	%xmm3, %xmm6
	movapd	-96(%rbp), %xmm4                ## 16-byte Reload
	movsd	-56(%rbp), %xmm7                ## 8-byte Reload
                                        ## xmm7 = mem[0],zero
	jb	LBB0_40
## %bb.39:                              ##   in Loop: Header=BB0_26 Depth=1
	movapd	%xmm3, %xmm4
	jmp	LBB0_40
	.p2align	4, 0x90
LBB0_44:                                ##   in Loop: Header=BB0_26 Depth=1
	movapd	%xmm10, %xmm1
	movapd	%xmm6, %xmm3
	movapd	%xmm4, %xmm6
	movapd	%xmm12, %xmm5
	movapd	%xmm0, %xmm10
	jmp	LBB0_49
LBB0_35:                                ##   in Loop: Header=BB0_26 Depth=1
	xorpd	%xmm1, %xmm1
	subsd	%xmm6, %xmm1
	movaps	-160(%rbp), %xmm2               ## 16-byte Reload
	movaps	%xmm2, -128(%rbp)               ## 16-byte Spill
	movapd	%xmm8, %xmm2
	cmpltsd	%xmm0, %xmm2
	movapd	%xmm2, %xmm0
	andnpd	%xmm1, %xmm0
	andpd	%xmm6, %xmm2
	orpd	%xmm0, %xmm2
	movapd	%xmm2, %xmm4
	jmp	LBB0_37
LBB0_27:
	movapd	%xmm14, %xmm1
	movapd	%xmm8, %xmm6
LBB0_50:
	movsd	%xmm6, (%r14)
	movapd	%xmm1, %xmm0
	addq	$176, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_21:
	movapd	%xmm7, %xmm10
	movaps	-80(%rbp), %xmm13               ## 16-byte Reload
	movsd	-48(%rbp), %xmm8                ## 8-byte Reload
                                        ## xmm8 = mem[0],zero
	movsd	-96(%rbp), %xmm12               ## 8-byte Reload
                                        ## xmm12 = mem[0],zero
	jmp	LBB0_25
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_kmin_brent                     ; -- Begin function kmin_brent
	.p2align	2
_kmin_brent:                            ; @kmin_brent
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #176
	.cfi_def_cfa_offset 176
	stp	d15, d14, [sp, #32]             ; 16-byte Folded Spill
	stp	d13, d12, [sp, #48]             ; 16-byte Folded Spill
	stp	d11, d10, [sp, #64]             ; 16-byte Folded Spill
	stp	d9, d8, [sp, #80]               ; 16-byte Folded Spill
	stp	x26, x25, [sp, #96]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #112]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #128]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #144]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #160]            ; 16-byte Folded Spill
	add	x29, sp, #160
	.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 b8, -88
	.cfi_offset b9, -96
	.cfi_offset b10, -104
	.cfi_offset b11, -112
	.cfi_offset b12, -120
	.cfi_offset b13, -128
	.cfi_offset b14, -136
	.cfi_offset b15, -144
	mov	x19, x2
	str	d2, [sp]                        ; 8-byte Folded Spill
	mov	x20, x1
	fmov	d8, d1
	fmov	d9, d0
	mov	x21, x0
	mov	x0, x1
	blr	x21
	fmov	d12, d0
	fmov	d0, d8
	mov	x0, x20
	blr	x21
	fcmp	d0, d12
	b.le	LBB0_2
; %bb.1:
	fmov	d11, d0
	fmov	d14, d9
	b	LBB0_3
LBB0_2:
	fmov	d11, d12
	fmov	d12, d0
	fmov	d14, d8
	fmov	d8, d9
LBB0_3:
	str	d8, [sp, #24]                   ; 8-byte Folded Spill
	fsub	d0, d14, d8
	mov	x8, #34533
	movk	x8, #39828, lsl #16
	movk	x8, #58231, lsl #32
	movk	x8, #16377, lsl #48
	fmov	d1, x8
	fmadd	d15, d0, d1, d14
	fmov	d0, d15
	mov	x0, x20
	blr	x21
	fcmp	d12, d0
	b.le	LBB0_5
; %bb.4:
	fmov	d13, d0
	mov	x22, #4636737291354636288
	mov	x23, #16931
	movk	x23, #3218, lsl #16
	movk	x23, #40097, lsl #32
	movk	x23, #48071, lsl #48
	mov	x24, #16931
	movk	x24, #3218, lsl #16
	movk	x24, #40097, lsl #32
	movk	x24, #15303, lsl #48
	mov	x25, #34533
	movk	x25, #39828, lsl #16
	movk	x25, #58231, lsl #32
	movk	x25, #16377, lsl #48
	ldr	d8, [sp, #24]                   ; 8-byte Folded Reload
	b	LBB0_9
LBB0_5:
	fmov	d10, d12
	fmov	d1, d15
	fmov	d9, d14
	ldr	d8, [sp, #24]                   ; 8-byte Folded Reload
	b	LBB0_22
LBB0_6:                                 ;   in Loop: Header=BB0_9 Depth=1
	fcmp	d9, d0
	cset	w8, mi
	cset	w9, gt
	fcmp	d0, d15
	cset	w10, gt
	and	w9, w10, w9
	cset	w10, mi
	and	w8, w10, w8
	orr	w8, w9, w8
	fmov	d1, x25
	fmadd	d1, d16, d1, d15
	cmp	w8, #0
	fcsel	d1, d0, d1, ne
LBB0_7:                                 ;   in Loop: Header=BB0_9 Depth=1
	fmov	d9, d15
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=1
	fmov	d8, d14
	fmov	d10, d13
	fmov	d11, d12
	fmov	d0, d1
	mov	x0, x20
	fmov	d12, d1
	blr	x21
	fmov	d1, d12
	fmov	d13, d0
	fcmp	d10, d0
	fmov	d14, d9
	fmov	d15, d12
	fmov	d12, d10
	b.le	LBB0_22
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	fsub	d16, d15, d14
	fsub	d0, d14, d8
	fsub	d1, d12, d13
	fmul	d1, d0, d1
	fsub	d2, d14, d15
	fsub	d3, d12, d11
	fmul	d3, d2, d3
	fsub	d4, d3, d1
	fabd	d5, d3, d1
	fcmp	d3, d1
	fmov	d6, x23
	fmov	d7, x24
	fcsel	d6, d7, d6, gt
	fcmp	d5, d7
	fcsel	d4, d6, d4, mi
	fneg	d0, d0
	fmul	d0, d1, d0
	fmadd	d0, d2, d3, d0
	fadd	d1, d4, d4
	fdiv	d0, d0, d1
	fsub	d9, d14, d0
	fcmp	d14, d9
	fccmp	d9, d15, #4, gt
	b.gt	LBB0_15
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	fcmp	d14, d9
	fccmp	d9, d15, #0, mi
	b.mi	LBB0_15
; %bb.11:                               ;   in Loop: Header=BB0_9 Depth=1
	fmov	d0, x22
	fmadd	d0, d16, d0, d14
	fcmp	d9, d15
	fccmp	d9, d0, #4, mi
	b.gt	LBB0_13
; %bb.12:                               ;   in Loop: Header=BB0_9 Depth=1
	fcmp	d9, d15
	fccmp	d9, d0, #0, gt
	b.pl	LBB0_6
LBB0_13:                                ;   in Loop: Header=BB0_9 Depth=1
	fmov	d0, d9
	mov	x0, x20
	blr	x21
	fcmp	d0, d13
	b.pl	LBB0_20
; %bb.14:                               ;   in Loop: Header=BB0_9 Depth=1
	fsub	d1, d9, d15
	fmov	d2, x25
	fmadd	d1, d1, d2, d9
	fmov	d12, d13
	fmov	d13, d0
	fmov	d14, d15
	b	LBB0_8
LBB0_15:                                ;   in Loop: Header=BB0_9 Depth=1
	fmov	d11, d16
	fmov	d0, d9
	mov	x0, x20
	blr	x21
	fmov	d10, d0
	fcmp	d0, d13
	b.mi	LBB0_18
; %bb.16:                               ;   in Loop: Header=BB0_9 Depth=1
	fcmp	d10, d12
	b.gt	LBB0_19
; %bb.17:                               ;   in Loop: Header=BB0_9 Depth=1
	fmov	d0, x25
	fmadd	d1, d11, d0, d15
	b	LBB0_7
LBB0_18:
	fmov	d1, d15
	b	LBB0_21
LBB0_19:
	fmov	d10, d12
	fmov	d1, d9
	fmov	d9, d14
	b	LBB0_22
LBB0_20:
	fmov	d10, d13
	fmov	d1, d9
	fmov	d9, d15
LBB0_21:
	fmov	d8, d14
LBB0_22:
	fcmp	d8, d1
	fcsel	d7, d8, d1, gt
	fcsel	d16, d1, d8, gt
	mov	w22, #100
	mov	x23, #16931
	movk	x23, #3218, lsl #16
	movk	x23, #40097, lsl #32
	movk	x23, #15303, lsl #48
	mov	x24, #58475
	movk	x24, #37293, lsl #16
	movk	x24, #29217, lsl #32
	movk	x24, #16344, lsl #48
	fmov	d17, d10
	fmov	d13, d9
	fmov	d8, d9
	movi	d0, #0000000000000000
	str	d0, [sp, #8]                    ; 8-byte Folded Spill
	movi	d18, #0000000000000000
	fmov	d15, d10
	b	LBB0_25
LBB0_23:                                ;   in Loop: Header=BB0_25 Depth=1
	fcmp	d11, d9
	fmov	d7, d12
	fcsel	d7, d12, d11, mi
	fmov	d16, d14
	fcsel	d16, d11, d14, mi
	ldr	d1, [sp, #16]                   ; 8-byte Folded Reload
	fcmp	d0, d1
	cset	w8, ls
	fcmp	d13, d9
	cset	w9, eq
	orr	w8, w8, w9
	fcmp	d13, d8
	cset	w9, eq
	orr	w8, w8, w9
	cmp	w8, #0
	fcsel	d2, d11, d13, ne
	fcsel	d3, d0, d1, ne
	fcmp	d0, d10
	fccmp	d8, d9, #4, hi
	fcsel	d1, d11, d8, eq
	fcsel	d8, d8, d2, eq
	fcsel	d2, d0, d10, eq
	fcsel	d10, d10, d3, eq
	fmov	d0, d15
	fmov	d11, d9
	fmov	d15, d2
LBB0_24:                                ;   in Loop: Header=BB0_25 Depth=1
	ldr	d18, [sp, #24]                  ; 8-byte Folded Reload
	fmov	d17, d10
	fmov	d10, d15
	fmov	d13, d8
	fmov	d8, d1
	fmov	d15, d0
	subs	w22, w22, #1
	b.eq	LBB0_35
LBB0_25:                                ; =>This Inner Loop Header: Depth=1
	fadd	d0, d16, d7
	fmov	d1, #0.50000000
	fmul	d1, d0, d1
	fabs	d0, d9
	fmov	d2, x23
	ldr	d3, [sp]                        ; 8-byte Folded Reload
	fmadd	d0, d3, d0, d2
	fadd	d2, d0, d0
	fabd	d3, d9, d1
	fsub	d4, d7, d16
	fmov	d5, #-0.50000000
	fmadd	d4, d4, d5, d2
	fcmp	d3, d4
	b.ls	LBB0_34
; %bb.26:                               ;   in Loop: Header=BB0_25 Depth=1
	fabs	d3, d18
	fcmp	d3, d0
	str	d17, [sp, #16]                  ; 8-byte Folded Spill
	b.le	LBB0_28
; %bb.27:                               ;   in Loop: Header=BB0_25 Depth=1
	fsub	d3, d9, d8
	fsub	d4, d15, d17
	fmul	d4, d3, d4
	fsub	d5, d9, d13
	fsub	d6, d15, d10
	fmul	d6, d5, d6
	fneg	d3, d3
	fmul	d3, d4, d3
	fmadd	d5, d5, d6, d3
	fsub	d3, d6, d4
	fadd	d4, d3, d3
	movi	d3, #0000000000000000
	fsub	d6, d3, d5
	fabs	d3, d4
	fcmp	d4, #0.0
	fcsel	d4, d6, d5, gt
	fabs	d5, d4
	fmov	d6, #0.50000000
	fmul	d6, d3, d6
	fmul	d6, d18, d6
	fabs	d6, d6
	fcmp	d5, d6
	fsub	d5, d16, d9
	fmul	d5, d5, d3
	fccmp	d4, d5, #0, lt
	fsub	d5, d7, d9
	fmul	d5, d5, d3
	fccmp	d4, d5, #0, hi
	b.lt	LBB0_31
LBB0_28:                                ;   in Loop: Header=BB0_25 Depth=1
	fcmp	d9, d1
	fmov	d12, d7
	fmov	d14, d16
	fcsel	d1, d7, d16, lt
	fsub	d2, d1, d9
	fmov	d1, x24
	str	d2, [sp, #24]                   ; 8-byte Folded Spill
	fmul	d3, d2, d1
LBB0_29:                                ;   in Loop: Header=BB0_25 Depth=1
	fabs	d1, d3
	fneg	d2, d0
	fcmp	d3, #0.0
	fcsel	d2, d0, d2, gt
	fcmp	d1, d0
	str	d3, [sp, #8]                    ; 8-byte Folded Spill
	fcsel	d0, d2, d3, lt
	fadd	d11, d9, d0
	fmov	d0, d11
	mov	x0, x20
	blr	x21
	fcmp	d0, d15
	b.hi	LBB0_23
; %bb.30:                               ;   in Loop: Header=BB0_25 Depth=1
	fcmp	d11, d9
	fmov	d7, d12
	fcsel	d7, d9, d12, lt
	fmov	d16, d14
	fcsel	d16, d14, d9, lt
	fmov	d1, d9
	fmov	d9, d11
	b	LBB0_24
LBB0_31:                                ;   in Loop: Header=BB0_25 Depth=1
	fdiv	d3, d4, d3
	fadd	d4, d9, d3
	fsub	d5, d4, d16
	fsub	d4, d7, d4
	fcmp	d5, d2
	fccmp	d4, d2, #8, pl
	b.pl	LBB0_33
; %bb.32:                               ;   in Loop: Header=BB0_25 Depth=1
	fmov	d14, d16
	fmov	d12, d7
	movi	d2, #0000000000000000
	fsub	d2, d2, d0
	fcmp	d1, d9
	ldr	d1, [sp, #8]                    ; 8-byte Folded Reload
	str	d1, [sp, #24]                   ; 8-byte Folded Spill
	fcsel	d3, d0, d2, gt
	b	LBB0_29
LBB0_33:                                ;   in Loop: Header=BB0_25 Depth=1
	fmov	d14, d16
	fmov	d12, d7
	ldr	d1, [sp, #8]                    ; 8-byte Folded Reload
	str	d1, [sp, #24]                   ; 8-byte Folded Spill
	b	LBB0_29
LBB0_34:
	fmov	d0, d15
	fmov	d11, d9
LBB0_35:
	str	d11, [x19]
	ldp	x29, x30, [sp, #160]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #144]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #128]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #112]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #96]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #80]               ; 16-byte Folded Reload
	ldp	d11, d10, [sp, #64]             ; 16-byte Folded Reload
	ldp	d13, d12, [sp, #48]             ; 16-byte Folded Reload
	ldp	d15, d14, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #176
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
