	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function FloatDown
_FloatDown:                             ## @FloatDown
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r12d
	movq	8(%rdi), %r14
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	movq	16(%rdi), %r15
	movslq	%esi, %rax
	movq	(%r15,%rax,8), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	%r15, -80(%rbp)                 ## 8-byte Spill
	movq	%r14, -72(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	leal	(%r12,%r12), %r13d
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	cmpl	(%rax), %r13d
	jge	LBB0_4
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	%r13d, %ebx
	orl	$1, %ebx
	movslq	%ebx, %rax
	movq	(%r15,%rax,8), %rax
	movl	4(%r14,%rax,8), %edi
	movslq	%r13d, %rax
	movq	(%r15,%rax,8), %rax
	movl	4(%r14,%rax,8), %esi
	callq	_LEQ
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	%ebx, %r13d
LBB0_4:                                 ##   in Loop: Header=BB0_1 Depth=1
	xorl	%edi, %edi
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	cmpl	4(%rbx), %r13d
	setle	%dil
	callq	_assert
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	movslq	%r12d, %r12
	cmpl	(%rbx), %r13d
	movq	-80(%rbp), %r15                 ## 8-byte Reload
	movq	-72(%rbp), %r14                 ## 8-byte Reload
	jg	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_1 Depth=1
	movslq	%r13d, %rax
	movq	(%r15,%rax,8), %rbx
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	4(%r14,%rax,8), %edi
	movl	4(%r14,%rbx,8), %esi
	callq	_LEQ
	testq	%rax, %rax
	jne	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%rbx, (%r15,%r12,8)
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	%eax, (%r14,%rbx,8)
	movl	%r13d, %r12d
	jmp	LBB0_1
LBB0_6:
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	%rcx, (%r15,%r12,8)
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	%eax, (%r14,%rcx,8)
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_FloatDown
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function FloatDown
_FloatDown:                             ; @FloatDown
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [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 w25, -72
	.cfi_offset w26, -80
	mov	x19, x1
	mov	x20, x0
	ldp	x22, x21, [x0, #8]
	ldr	x23, [x21, w1, sxtw #3]
	add	x8, x22, x23, lsl #3
	add	x24, x8, #4
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	lsl	w25, w19, #1
	ldr	w8, [x20]
	cmp	w25, w8
	b.ge	LBB0_3
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	sxtw	x8, w25
	orr	x26, x8, #0x1
	ldr	x8, [x21, x26, lsl #3]
	add	x8, x22, x8, lsl #3
	ldr	w0, [x8, #4]
	ldr	x8, [x21, w25, sxtw #3]
	add	x8, x22, x8, lsl #3
	ldr	w1, [x8, #4]
	bl	_LEQ
	cmp	x0, #0
	csel	w25, w25, w26, eq
LBB0_3:                                 ;   in Loop: Header=BB0_1 Depth=1
	ldr	w8, [x20, #4]
	cmp	w25, w8
	cset	w0, le
	bl	_assert
	ldr	w8, [x20]
	cmp	w25, w8
	b.gt	LBB0_6
; %bb.4:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	x26, [x21, w25, sxtw #3]
	ldr	w0, [x24]
	add	x8, x22, x26, lsl #3
	ldr	w1, [x8, #4]
	bl	_LEQ
	cbnz	x0, LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_1 Depth=1
	str	x26, [x21, w19, sxtw #3]
	lsl	x8, x26, #3
	str	w19, [x22, x8]
	mov	x19, x25
	b	LBB0_1
LBB0_6:
	str	x23, [x21, w19, sxtw #3]
	lsl	x8, x23, #3
	str	w19, [x22, x8]
	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	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_FloatDown
.subsections_via_symbols
