	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal4,4byte_literals
	.p2align	2                               ## -- Begin function seed_curve
LCPI0_0:
	.long	0x3dcccccd                      ## float 0.100000001
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_seed_curve:                            ## @seed_curve
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, %ebx
	movl	%ecx, %r14d
	movl	%edx, %r12d
	movq	%rsi, %r13
	movq	%rdi, %r15
	movss	%xmm0, -44(%rbp)                ## 4-byte Spill
	addss	%xmm0, %xmm1
	movq	_P_LEVEL_0@GOTPCREL(%rip), %rax
	subss	(%rax), %xmm1
	mulss	LCPI0_0(%rip), %xmm1
	cvttss2si	%xmm1, %edi
	xorl	%esi, %esi
	callq	_max
	movq	_P_LEVELS@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rsi
	decq	%rsi
	movl	%eax, %edi
	callq	_min
	cltq
	movq	(%r13,%rax,8), %rdx
	cvttss2si	4(%rdx), %esi
	movss	(%rdx), %xmm0                   ## xmm0 = mem[0],zero,zero,zero
	cvttss2si	%xmm0, %eax
	cmpl	%esi, %eax
	jge	LBB0_7
## %bb.1:
	movq	_EHMER_OFFSET@GOTPCREL(%rip), %rcx
	subss	(%rcx), %xmm0
	xorps	%xmm1, %xmm1
	cvtsi2ss	%ebx, %xmm1
	mulss	%xmm0, %xmm1
	xorps	%xmm0, %xmm0
	cvtsi2ss	%r12d, %xmm0
	addss	%xmm1, %xmm0
	movl	%ebx, %ecx
	sarl	%ecx
	xorps	%xmm1, %xmm1
	cvtsi2ss	%ecx, %xmm1
	subss	%xmm1, %xmm0
	cvttss2si	%xmm0, %ecx
	movslq	%eax, %rdi
	notl	%eax
	addl	%esi, %eax
	leaq	(%rdx,%rdi,4), %rdx
	addq	$8, %rdx
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	testl	%ecx, %ecx
	jle	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movss	(%rdx,%rsi,4), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	addss	-44(%rbp), %xmm0                ## 4-byte Folded Reload
	movl	%ecx, %edi
	ucomiss	(%r15,%rdi,4), %xmm0
	jbe	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movss	%xmm0, (%r15,%rdi,4)
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	addl	%ebx, %ecx
	cmpl	%r14d, %ecx
	jge	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	leaq	1(%rsi), %rdi
	cmpl	%esi, %eax
	movq	%rdi, %rsi
	jne	LBB0_2
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_P_LEVEL_0,4,2                  ## @P_LEVEL_0
	.comm	_P_LEVELS,8,3                   ## @P_LEVELS
	.comm	_EHMER_OFFSET,4,2               ## @EHMER_OFFSET
	.no_dead_strip	_seed_curve
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function seed_curve
_seed_curve:                            ; @seed_curve
	.cfi_startproc
; %bb.0:
	stp	d9, d8, [sp, #-80]!             ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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 b8, -72
	.cfi_offset b9, -80
	mov	x19, x4
	mov	x20, x3
	mov	x22, x2
	fmov	s8, s0
	mov	x23, x1
	mov	x21, x0
	fadd	s0, s0, s1
Lloh0:
	adrp	x8, _P_LEVEL_0@GOTPAGE
Lloh1:
	ldr	x8, [x8, _P_LEVEL_0@GOTPAGEOFF]
Lloh2:
	ldr	s1, [x8]
	fsub	s0, s0, s1
	mov	w8, #52429
	movk	w8, #15820, lsl #16
	fmov	s1, w8
	fmul	s0, s0, s1
	fcvtzs	w0, s0
	mov	w1, #0
	bl	_max
Lloh3:
	adrp	x8, _P_LEVELS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _P_LEVELS@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	sub	x1, x8, #1
	bl	_min
	ldr	x9, [x23, w0, sxtw #3]
	ldp	s0, s1, [x9]
	fcvtzs	w11, s1
	fcvtzs	w10, s0
	cmp	w10, w11
	b.ge	LBB0_7
; %bb.1:
Lloh6:
	adrp	x8, _EHMER_OFFSET@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EHMER_OFFSET@GOTPAGEOFF]
Lloh8:
	ldr	s1, [x8]
	scvtf	s2, w19
	scvtf	s3, w22
	fsub	s0, s0, s1
	fmadd	s0, s0, s2, s3
	asr	w8, w19, #1
	scvtf	s1, w8
	fsub	s0, s0, s1
	fcvtzs	w8, s0
	mvn	w12, w10
	add	w11, w12, w11
	add	x9, x9, w10, sxtw #2
	add	x9, x9, #8
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x10, x11
	cmp	w8, #1
	b.lt	LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	s0, [x9]
	fadd	s0, s0, s8
	ldr	s1, [x21, w8, uxtw #2]
	fcmp	s1, s0
	b.pl	LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	w11, w8
	str	s0, [x21, x11, lsl #2]
LBB0_5:                                 ;   in Loop: Header=BB0_2 Depth=1
	add	w8, w8, w19
	cmp	w8, w20
	b.ge	LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_2 Depth=1
	sub	w11, w10, #1
	add	x9, x9, #4
	cbnz	w10, LBB0_2
LBB0_7:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp], #80               ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_P_LEVEL_0,4,2                  ; @P_LEVEL_0
	.comm	_P_LEVELS,8,3                   ; @P_LEVELS
	.comm	_EHMER_OFFSET,4,2               ; @EHMER_OFFSET
	.no_dead_strip	_seed_curve
.subsections_via_symbols
