	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function max_seeds
_max_seeds:                             ## @max_seeds
	.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
	movq	%rdx, %r14
	movq	%rsi, %rbx
	movq	%rdi, %r15
	movq	(%rdi), %rdx
	movl	8(%rdi), %r12d
	movq	%rsi, %rdi
	movl	%r12d, %esi
	callq	_seed_chase
	movq	32(%r15), %r9
	cmpq	$2, %r9
	jl	LBB0_1
## %bb.27:
	movq	16(%r15), %rdx
	movslq	24(%r15), %r11
	movl	(%rdx), %r13d
	sarl	%r12d
	addl	%r11d, %r12d
	movl	%r13d, %eax
	subl	%r12d, %eax
	movslq	%eax, %rdi
	movq	40(%r15), %r8
	leaq	-1(%r9), %r12
	movl	$1, %esi
	xorl	%ecx, %ecx
	movq	_NEGINF@GOTPCREL(%rip), %r10
	.p2align	4, 0x90
LBB0_28:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_30 Depth 2
                                        ##     Child Loop BB0_35 Depth 2
	movl	(%rdx,%rsi,4), %esi
	addl	%r13d, %esi
	sarl	%esi
	movslq	%esi, %rsi
	subq	%r11, %rsi
	movss	(%r8), %xmm0                    ## xmm0 = mem[0],zero,zero,zero
	minss	(%rbx,%rdi,4), %xmm0
	cmpq	%rsi, %rdi
	jge	LBB0_32
## %bb.29:                              ##   in Loop: Header=BB0_28 Depth=1
	movss	(%r10), %xmm1                   ## xmm1 = mem[0],zero,zero,zero
	.p2align	4, 0x90
LBB0_30:                                ##   Parent Loop BB0_28 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movss	4(%rbx,%rdi,4), %xmm2           ## xmm2 = mem[0],zero,zero,zero
	incq	%rdi
	movaps	%xmm2, %xmm3
	cmpltss	%xmm0, %xmm3
	movaps	%xmm3, %xmm4
	andps	%xmm2, %xmm4
	movaps	%xmm0, %xmm5
	cmpeqss	%xmm1, %xmm5
	movaps	%xmm5, %xmm6
	andps	%xmm2, %xmm6
	andnps	%xmm0, %xmm5
	orps	%xmm6, %xmm5
	andnps	%xmm5, %xmm3
	orps	%xmm4, %xmm3
	movaps	%xmm1, %xmm0
	cmpltss	%xmm2, %xmm0
	andps	%xmm0, %xmm3
	andnps	%xmm5, %xmm0
	orps	%xmm3, %xmm0
	cmpq	%rsi, %rdi
	jl	LBB0_30
## %bb.31:                              ##   in Loop: Header=BB0_28 Depth=1
	movq	%rsi, %rdi
LBB0_32:                                ##   in Loop: Header=BB0_28 Depth=1
	cmpq	%r9, %rcx
	jge	LBB0_39
## %bb.33:                              ##   in Loop: Header=BB0_28 Depth=1
	leaq	(%rdi,%r11), %rsi
	movslq	%r13d, %rax
	cmpq	%rax, %rsi
	jl	LBB0_39
	.p2align	4, 0x90
LBB0_35:                                ##   Parent Loop BB0_28 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	ucomiss	(%r14,%rcx,4), %xmm0
	jbe	LBB0_37
## %bb.36:                              ##   in Loop: Header=BB0_35 Depth=2
	movss	%xmm0, (%r14,%rcx,4)
LBB0_37:                                ##   in Loop: Header=BB0_35 Depth=2
	cmpq	%rcx, %r12
	je	LBB0_38
## %bb.41:                              ##   in Loop: Header=BB0_35 Depth=2
	movslq	4(%rdx,%rcx,4), %rax
	incq	%rcx
	cmpq	%rax, %rsi
	jge	LBB0_35
	jmp	LBB0_39
	.p2align	4, 0x90
LBB0_38:                                ##   in Loop: Header=BB0_28 Depth=1
	movq	%r9, %rcx
LBB0_39:                                ##   in Loop: Header=BB0_28 Depth=1
	leaq	1(%rcx), %rsi
	cmpq	%r9, %rsi
	jge	LBB0_2
## %bb.40:                              ##   in Loop: Header=BB0_28 Depth=1
	movl	(%rdx,%rcx,4), %r13d
	jmp	LBB0_28
LBB0_1:
	xorl	%ecx, %ecx
LBB0_2:
	movq	%r9, %rax
	subq	%rcx, %rax
	jle	LBB0_26
## %bb.3:
	movq	(%r15), %rdx
	movss	-4(%rbx,%rdx,4), %xmm0          ## xmm0 = mem[0],zero,zero,zero
	cmpq	$8, %rax
	jb	LBB0_23
## %bb.4:
	movq	%rax, %rdx
	andq	$-8, %rdx
	movaps	%xmm0, %xmm1
	shufps	$0, %xmm0, %xmm1                ## xmm1 = xmm1[0,0],xmm0[0,0]
	leaq	(%r14,%rcx,4), %rsi
	addq	%rdx, %rcx
	xorl	%edi, %edi
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_21:                                ##   in Loop: Header=BB0_5 Depth=1
	addq	$8, %rdi
	cmpq	%rdi, %rdx
	je	LBB0_22
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movups	(%rsi,%rdi,4), %xmm2
	ucomiss	%xmm2, %xmm1
	jbe	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movss	%xmm0, (%rsi,%rdi,4)
LBB0_7:                                 ##   in Loop: Header=BB0_5 Depth=1
	cmpltps	%xmm1, %xmm2
	pextrb	$4, %xmm2, %ebx
	testb	$1, %bl
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=1
	movss	%xmm0, 4(%rsi,%rdi,4)
LBB0_9:                                 ##   in Loop: Header=BB0_5 Depth=1
	pextrb	$8, %xmm2, %ebx
	testb	$1, %bl
	je	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_5 Depth=1
	movss	%xmm0, 8(%rsi,%rdi,4)
LBB0_11:                                ##   in Loop: Header=BB0_5 Depth=1
	pextrb	$12, %xmm2, %ebx
	testb	$1, %bl
	je	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_5 Depth=1
	movss	%xmm0, 12(%rsi,%rdi,4)
LBB0_13:                                ##   in Loop: Header=BB0_5 Depth=1
	movups	16(%rsi,%rdi,4), %xmm2
	ucomiss	%xmm2, %xmm1
	jbe	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_5 Depth=1
	movss	%xmm0, 16(%rsi,%rdi,4)
LBB0_15:                                ##   in Loop: Header=BB0_5 Depth=1
	cmpltps	%xmm1, %xmm2
	pextrb	$4, %xmm2, %ebx
	testb	$1, %bl
	je	LBB0_17
## %bb.16:                              ##   in Loop: Header=BB0_5 Depth=1
	movss	%xmm0, 20(%rsi,%rdi,4)
LBB0_17:                                ##   in Loop: Header=BB0_5 Depth=1
	pextrb	$8, %xmm2, %ebx
	testb	$1, %bl
	je	LBB0_19
## %bb.18:                              ##   in Loop: Header=BB0_5 Depth=1
	movss	%xmm0, 24(%rsi,%rdi,4)
LBB0_19:                                ##   in Loop: Header=BB0_5 Depth=1
	pextrb	$12, %xmm2, %ebx
	testb	$1, %bl
	je	LBB0_21
## %bb.20:                              ##   in Loop: Header=BB0_5 Depth=1
	movss	%xmm0, 28(%rsi,%rdi,4)
	jmp	LBB0_21
LBB0_22:
	cmpq	%rdx, %rax
	jne	LBB0_23
LBB0_26:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.p2align	4, 0x90
LBB0_25:                                ##   in Loop: Header=BB0_23 Depth=1
	incq	%rcx
	cmpq	%rcx, %r9
	je	LBB0_26
LBB0_23:                                ## =>This Inner Loop Header: Depth=1
	ucomiss	(%r14,%rcx,4), %xmm0
	jbe	LBB0_25
## %bb.24:                              ##   in Loop: Header=BB0_23 Depth=1
	movss	%xmm0, (%r14,%rcx,4)
	jmp	LBB0_25
	.cfi_endproc
                                        ## -- End function
	.comm	_NEGINF,4,2                     ## @NEGINF
	.no_dead_strip	_max_seeds
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function max_seeds
_max_seeds:                             ; @max_seeds
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	ldr	x2, [x0]
	ldr	w22, [x0, #8]
	mov	x0, x1
	mov	x1, x22
	bl	_seed_chase
	ldr	x8, [x21, #32]
	cmp	x8, #2
	b.lt	LBB0_15
; %bb.1:
	mov	x11, #0
	ldr	x9, [x21, #16]
	ldrsw	x10, [x21, #24]
	mov	x12, x9
	ldr	w0, [x12], #4
	add	w13, w10, w22, asr #1
	sub	w13, w0, w13
	sxtw	x16, w13
	ldr	x13, [x21, #40]
	add	x14, x20, #4
	sub	x15, x8, #1
	mov	w1, #1
Lloh0:
	adrp	x17, _NEGINF@GOTPAGE
Lloh1:
	ldr	x17, [x17, _NEGINF@GOTPAGEOFF]
LBB0_2:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_4 Depth 2
                                        ;     Child Loop BB0_8 Depth 2
	ldr	s0, [x20, x16, lsl #2]
	ldr	w1, [x9, x1, lsl #2]
	add	w1, w1, w0
	sbfx	x1, x1, #1, #31
	ldr	s1, [x13]
	fcmp	s0, s1
	fcsel	s0, s1, s0, gt
	sub	x1, x1, x10
	cmp	x16, x1
	b.ge	LBB0_6
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	s1, [x17]
LBB0_4:                                 ;   Parent Loop BB0_2 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	s2, [x14, x16, lsl #2]
	add	x2, x16, #1
	fcmp	s2, s0
	fccmp	s2, s1, #4, mi
	fccmp	s0, s1, #4, le
	fcsel	s0, s2, s0, eq
	mov	x16, x2
	cmp	x2, x1
	b.lt	LBB0_4
; %bb.5:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x16, x1
LBB0_6:                                 ;   in Loop: Header=BB0_2 Depth=1
	cmp	x11, x8
	b.ge	LBB0_13
; %bb.7:                                ;   in Loop: Header=BB0_2 Depth=1
	sxtw	x1, w0
	add	x0, x16, x10
	cmp	x0, x1
	b.lt	LBB0_13
LBB0_8:                                 ;   Parent Loop BB0_2 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	s1, [x19, x11, lsl #2]
	fcmp	s1, s0
	b.pl	LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=2
	str	s0, [x19, x11, lsl #2]
LBB0_10:                                ;   in Loop: Header=BB0_8 Depth=2
	cmp	x15, x11
	b.eq	LBB0_12
; %bb.11:                               ;   in Loop: Header=BB0_8 Depth=2
	ldrsw	x1, [x12, x11, lsl #2]
	add	x11, x11, #1
	cmp	x0, x1
	b.ge	LBB0_8
	b	LBB0_13
LBB0_12:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x11, x8
LBB0_13:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x1, x11, #1
	cmp	x1, x8
	b.ge	LBB0_16
; %bb.14:                               ;   in Loop: Header=BB0_2 Depth=1
	ldr	w0, [x9, x11, lsl #2]
	b	LBB0_2
LBB0_15:
	mov	x11, #0
LBB0_16:
	subs	x9, x8, x11
	b.le	LBB0_54
; %bb.17:
	ldr	x10, [x21]
	add	x10, x20, x10, lsl #2
	ldur	s0, [x10, #-4]
	cmp	x9, #16
	b.hs	LBB0_19
; %bb.18:
	mov	x10, x11
	b	LBB0_55
LBB0_19:
	and	x12, x9, #0xfffffffffffffff0
	add	x10, x11, x12
	dup.4s	v1, v0[0]
	add	x11, x19, x11, lsl #2
	add	x11, x11, #32
	mov	x13, x12
	b	LBB0_21
LBB0_20:                                ;   in Loop: Header=BB0_21 Depth=1
	add	x11, x11, #64
	subs	x13, x13, #16
	b.eq	LBB0_53
LBB0_21:                                ; =>This Inner Loop Header: Depth=1
	ldur	q2, [x11, #-32]
	fcmgt.4s	v2, v1, v2
	xtn.4h	v2, v2
	umov.h	w14, v2[0]
	tbnz	w14, #0, LBB0_43
; %bb.22:                               ;   in Loop: Header=BB0_21 Depth=1
	umov.h	w14, v2[1]
	tbnz	w14, #0, LBB0_44
LBB0_23:                                ;   in Loop: Header=BB0_21 Depth=1
	umov.h	w14, v2[2]
	tbnz	w14, #0, LBB0_45
LBB0_24:                                ;   in Loop: Header=BB0_21 Depth=1
	umov.h	w14, v2[3]
	tbz	w14, #0, LBB0_26
LBB0_25:                                ;   in Loop: Header=BB0_21 Depth=1
	stur	s0, [x11, #-20]
LBB0_26:                                ;   in Loop: Header=BB0_21 Depth=1
	ldur	q2, [x11, #-16]
	fcmgt.4s	v2, v1, v2
	xtn.4h	v2, v2
	umov.h	w14, v2[0]
	tbnz	w14, #0, LBB0_46
; %bb.27:                               ;   in Loop: Header=BB0_21 Depth=1
	umov.h	w14, v2[1]
	tbnz	w14, #0, LBB0_47
LBB0_28:                                ;   in Loop: Header=BB0_21 Depth=1
	umov.h	w14, v2[2]
	tbnz	w14, #0, LBB0_48
LBB0_29:                                ;   in Loop: Header=BB0_21 Depth=1
	umov.h	w14, v2[3]
	tbz	w14, #0, LBB0_31
LBB0_30:                                ;   in Loop: Header=BB0_21 Depth=1
	stur	s0, [x11, #-4]
LBB0_31:                                ;   in Loop: Header=BB0_21 Depth=1
	ldr	q2, [x11]
	fcmgt.4s	v2, v1, v2
	xtn.4h	v2, v2
	umov.h	w14, v2[0]
	tbz	w14, #0, LBB0_33
; %bb.32:                               ;   in Loop: Header=BB0_21 Depth=1
	str	s0, [x11]
LBB0_33:                                ;   in Loop: Header=BB0_21 Depth=1
	umov.h	w14, v2[1]
	tbz	w14, #0, LBB0_35
; %bb.34:                               ;   in Loop: Header=BB0_21 Depth=1
	str	s0, [x11, #4]
LBB0_35:                                ;   in Loop: Header=BB0_21 Depth=1
	ldr	q3, [x11, #16]
	umov.h	w14, v2[2]
	tbz	w14, #0, LBB0_37
; %bb.36:                               ;   in Loop: Header=BB0_21 Depth=1
	str	s0, [x11, #8]
LBB0_37:                                ;   in Loop: Header=BB0_21 Depth=1
	umov.h	w14, v2[3]
	tbz	w14, #0, LBB0_39
; %bb.38:                               ;   in Loop: Header=BB0_21 Depth=1
	str	s0, [x11, #12]
LBB0_39:                                ;   in Loop: Header=BB0_21 Depth=1
	fcmgt.4s	v2, v1, v3
	xtn.4h	v2, v2
	umov.h	w14, v2[0]
	tbnz	w14, #0, LBB0_49
; %bb.40:                               ;   in Loop: Header=BB0_21 Depth=1
	umov.h	w14, v2[1]
	tbnz	w14, #0, LBB0_50
LBB0_41:                                ;   in Loop: Header=BB0_21 Depth=1
	umov.h	w14, v2[2]
	tbnz	w14, #0, LBB0_51
LBB0_42:                                ;   in Loop: Header=BB0_21 Depth=1
	umov.h	w14, v2[3]
	tbz	w14, #0, LBB0_20
	b	LBB0_52
LBB0_43:                                ;   in Loop: Header=BB0_21 Depth=1
	stur	s0, [x11, #-32]
	umov.h	w14, v2[1]
	tbz	w14, #0, LBB0_23
LBB0_44:                                ;   in Loop: Header=BB0_21 Depth=1
	stur	s0, [x11, #-28]
	umov.h	w14, v2[2]
	tbz	w14, #0, LBB0_24
LBB0_45:                                ;   in Loop: Header=BB0_21 Depth=1
	stur	s0, [x11, #-24]
	umov.h	w14, v2[3]
	tbnz	w14, #0, LBB0_25
	b	LBB0_26
LBB0_46:                                ;   in Loop: Header=BB0_21 Depth=1
	stur	s0, [x11, #-16]
	umov.h	w14, v2[1]
	tbz	w14, #0, LBB0_28
LBB0_47:                                ;   in Loop: Header=BB0_21 Depth=1
	stur	s0, [x11, #-12]
	umov.h	w14, v2[2]
	tbz	w14, #0, LBB0_29
LBB0_48:                                ;   in Loop: Header=BB0_21 Depth=1
	stur	s0, [x11, #-8]
	umov.h	w14, v2[3]
	tbnz	w14, #0, LBB0_30
	b	LBB0_31
LBB0_49:                                ;   in Loop: Header=BB0_21 Depth=1
	str	s0, [x11, #16]
	umov.h	w14, v2[1]
	tbz	w14, #0, LBB0_41
LBB0_50:                                ;   in Loop: Header=BB0_21 Depth=1
	str	s0, [x11, #20]
	umov.h	w14, v2[2]
	tbz	w14, #0, LBB0_42
LBB0_51:                                ;   in Loop: Header=BB0_21 Depth=1
	str	s0, [x11, #24]
	umov.h	w14, v2[3]
	tbz	w14, #0, LBB0_20
LBB0_52:                                ;   in Loop: Header=BB0_21 Depth=1
	str	s0, [x11, #28]
	b	LBB0_20
LBB0_53:
	cmp	x9, x12
	b.ne	LBB0_55
LBB0_54:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_55:
	sub	x8, x8, x10
	add	x9, x19, x10, lsl #2
	b	LBB0_57
LBB0_56:                                ;   in Loop: Header=BB0_57 Depth=1
	add	x9, x9, #4
	subs	x8, x8, #1
	b.eq	LBB0_54
LBB0_57:                                ; =>This Inner Loop Header: Depth=1
	ldr	s1, [x9]
	fcmp	s1, s0
	b.pl	LBB0_56
; %bb.58:                               ;   in Loop: Header=BB0_57 Depth=1
	str	s0, [x9]
	b	LBB0_56
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_NEGINF,4,2                     ; @NEGINF
	.no_dead_strip	_max_seeds
.subsections_via_symbols
