	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function min_curve
_min_curve:                             ## @min_curve
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_EHMER_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	testl	%r9d, %r9d
	jle	LBB0_30
## %bb.1:
	cmpl	$8, %r9d
	jb	LBB0_2
## %bb.3:
	leaq	(%rsi,%r9,4), %rcx
	cmpq	%rdi, %rcx
	jbe	LBB0_6
## %bb.4:
	leaq	(%rdi,%r9,4), %rcx
	cmpq	%rsi, %rcx
	jbe	LBB0_6
LBB0_2:
	xorl	%ecx, %ecx
LBB0_25:
	movq	%rcx, %rdx
	notq	%rdx
	testb	$1, %r9b
	je	LBB0_29
## %bb.26:
	movss	(%rsi,%rcx,4), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	movss	(%rdi,%rcx,4), %xmm1            ## xmm1 = mem[0],zero,zero,zero
	ucomiss	%xmm0, %xmm1
	jbe	LBB0_28
## %bb.27:
	movss	%xmm0, (%rdi,%rcx,4)
LBB0_28:
	orq	$1, %rcx
LBB0_29:
	addq	%r9, %rdx
	jne	LBB0_32
	jmp	LBB0_30
	.p2align	4, 0x90
LBB0_31:                                ##   in Loop: Header=BB0_32 Depth=1
	addq	$2, %rcx
	cmpq	%rcx, %r9
	je	LBB0_30
LBB0_32:                                ## =>This Inner Loop Header: Depth=1
	movss	(%rsi,%rcx,4), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	movss	(%rdi,%rcx,4), %xmm1            ## xmm1 = mem[0],zero,zero,zero
	ucomiss	%xmm0, %xmm1
	jbe	LBB0_34
## %bb.33:                              ##   in Loop: Header=BB0_32 Depth=1
	movss	%xmm0, (%rdi,%rcx,4)
LBB0_34:                                ##   in Loop: Header=BB0_32 Depth=1
	movss	4(%rsi,%rcx,4), %xmm0           ## xmm0 = mem[0],zero,zero,zero
	movss	4(%rdi,%rcx,4), %xmm1           ## xmm1 = mem[0],zero,zero,zero
	ucomiss	%xmm0, %xmm1
	jbe	LBB0_31
## %bb.35:                              ##   in Loop: Header=BB0_32 Depth=1
	movss	%xmm0, 4(%rdi,%rcx,4)
	jmp	LBB0_31
LBB0_6:
	movl	%r9d, %ecx
	andl	$-8, %ecx
	leaq	(,%r9,4), %r8
	andq	$-32, %r8
	xorl	%edx, %edx
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_8 Depth=1
	addq	$32, %rdx
	cmpq	%rdx, %r8
	je	LBB0_24
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movups	(%rsi,%rdx), %xmm1
	movups	16(%rsi,%rdx), %xmm0
	movups	(%rdi,%rdx), %xmm3
	ucomiss	%xmm1, %xmm3
	jbe	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	movss	%xmm1, (%rdi,%rdx)
LBB0_10:                                ##   in Loop: Header=BB0_8 Depth=1
	movaps	%xmm1, %xmm2
	cmpltps	%xmm3, %xmm2
	pextrb	$4, %xmm2, %eax
	testb	$1, %al
	je	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_8 Depth=1
	extractps	$1, %xmm1, 4(%rdi,%rdx)
LBB0_12:                                ##   in Loop: Header=BB0_8 Depth=1
	pextrb	$8, %xmm2, %eax
	testb	$1, %al
	je	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_8 Depth=1
	extractps	$2, %xmm1, 8(%rdi,%rdx)
LBB0_14:                                ##   in Loop: Header=BB0_8 Depth=1
	pextrb	$12, %xmm2, %eax
	testb	$1, %al
	je	LBB0_16
## %bb.15:                              ##   in Loop: Header=BB0_8 Depth=1
	extractps	$3, %xmm1, 12(%rdi,%rdx)
LBB0_16:                                ##   in Loop: Header=BB0_8 Depth=1
	movups	16(%rdi,%rdx), %xmm2
	ucomiss	%xmm0, %xmm2
	jbe	LBB0_18
## %bb.17:                              ##   in Loop: Header=BB0_8 Depth=1
	movss	%xmm0, 16(%rdi,%rdx)
LBB0_18:                                ##   in Loop: Header=BB0_8 Depth=1
	movaps	%xmm0, %xmm1
	cmpltps	%xmm2, %xmm1
	pextrb	$4, %xmm1, %eax
	testb	$1, %al
	je	LBB0_20
## %bb.19:                              ##   in Loop: Header=BB0_8 Depth=1
	extractps	$1, %xmm0, 20(%rdi,%rdx)
LBB0_20:                                ##   in Loop: Header=BB0_8 Depth=1
	pextrb	$8, %xmm1, %eax
	testb	$1, %al
	je	LBB0_22
## %bb.21:                              ##   in Loop: Header=BB0_8 Depth=1
	extractps	$2, %xmm0, 24(%rdi,%rdx)
LBB0_22:                                ##   in Loop: Header=BB0_8 Depth=1
	pextrb	$12, %xmm1, %eax
	testb	$1, %al
	je	LBB0_7
## %bb.23:                              ##   in Loop: Header=BB0_8 Depth=1
	extractps	$3, %xmm0, 28(%rdi,%rdx)
	jmp	LBB0_7
LBB0_24:
	cmpq	%r9, %rcx
	jne	LBB0_25
LBB0_30:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EHMER_MAX,4,2                  ## @EHMER_MAX
	.no_dead_strip	_min_curve
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function min_curve
_min_curve:                             ; @min_curve
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _EHMER_MAX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EHMER_MAX@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, #1
	b.lt	LBB0_27
; %bb.1:
	cmp	w8, #8
	b.lo	LBB0_21
; %bb.2:
	lsl	x9, x8, #2
	add	x10, x0, x9
	add	x9, x1, x9
	cmp	x9, x0
	ccmp	x10, x1, #0, hi
	b.hi	LBB0_21
; %bb.3:
	and	x9, x8, #0xfffffff8
	add	x10, x0, #16
	add	x11, x1, #16
	mov	x12, x9
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x10, x10, #32
	add	x11, x11, #32
	subs	x12, x12, #8
	b.eq	LBB0_26
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldp	d3, d2, [x11, #-16]
	ldp	d1, d0, [x11]
	ldur	d4, [x10, #-16]
	fcmgt.2s	v4, v4, v3
	fmov	w13, s4
	tbz	w13, #0, LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	stur	s3, [x10, #-16]
LBB0_7:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov.s	w13, v4[1]
	tbz	w13, #0, LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	sub	x13, x10, #12
	st1.s	{ v3 }[1], [x13]
LBB0_9:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldur	d3, [x10, #-8]
	fcmgt.2s	v3, v3, v2
	fmov	w13, s3
	tbz	w13, #0, LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_5 Depth=1
	stur	s2, [x10, #-8]
LBB0_11:                                ;   in Loop: Header=BB0_5 Depth=1
	mov.s	w13, v3[1]
	tbz	w13, #0, LBB0_13
; %bb.12:                               ;   in Loop: Header=BB0_5 Depth=1
	sub	x13, x10, #4
	st1.s	{ v2 }[1], [x13]
LBB0_13:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	d2, [x10]
	fcmgt.2s	v2, v2, v1
	fmov	w13, s2
	tbz	w13, #0, LBB0_15
; %bb.14:                               ;   in Loop: Header=BB0_5 Depth=1
	str	s1, [x10]
LBB0_15:                                ;   in Loop: Header=BB0_5 Depth=1
	mov.s	w13, v2[1]
	tbz	w13, #0, LBB0_17
; %bb.16:                               ;   in Loop: Header=BB0_5 Depth=1
	add	x13, x10, #4
	st1.s	{ v1 }[1], [x13]
LBB0_17:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	d1, [x10, #8]
	fcmgt.2s	v1, v1, v0
	fmov	w13, s1
	tbz	w13, #0, LBB0_19
; %bb.18:                               ;   in Loop: Header=BB0_5 Depth=1
	str	s0, [x10, #8]
LBB0_19:                                ;   in Loop: Header=BB0_5 Depth=1
	mov.s	w13, v1[1]
	tbz	w13, #0, LBB0_4
; %bb.20:                               ;   in Loop: Header=BB0_5 Depth=1
	add	x13, x10, #12
	st1.s	{ v0 }[1], [x13]
	b	LBB0_4
LBB0_21:
	mov	x9, #0
LBB0_22:
	lsl	x11, x9, #2
	add	x10, x0, x11
	add	x11, x1, x11
	sub	x8, x8, x9
	b	LBB0_24
LBB0_23:                                ;   in Loop: Header=BB0_24 Depth=1
	add	x10, x10, #4
	add	x11, x11, #4
	subs	x8, x8, #1
	b.eq	LBB0_27
LBB0_24:                                ; =>This Inner Loop Header: Depth=1
	ldr	s0, [x11]
	ldr	s1, [x10]
	fcmp	s0, s1
	b.pl	LBB0_23
; %bb.25:                               ;   in Loop: Header=BB0_24 Depth=1
	str	s0, [x10]
	b	LBB0_23
LBB0_26:
	cmp	x9, x8
	b.ne	LBB0_22
LBB0_27:
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_EHMER_MAX,4,2                  ; @EHMER_MAX
	.no_dead_strip	_min_curve
.subsections_via_symbols
