	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal4,4byte_literals
	.p2align	2                               ## -- Begin function do_despill_slice
LCPI0_0:
	.long	0x3f800000                      ## float 1
LCPI0_1:
	.long	0x437f0000                      ## float 255
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_do_despill_slice:                      ## @do_despill_slice
	.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	$104, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r8d
	movq	%rsi, -64(%rbp)                 ## 8-byte Spill
	movl	(%rsi), %esi
	movl	%esi, %eax
	imull	%edx, %eax
	cltd
	idivl	%ecx
	movl	%eax, %ebx
	incl	%r8d
	imull	%esi, %r8d
	movl	%r8d, %eax
	cltd
	idivl	%ecx
	movl	%eax, -76(%rbp)                 ## 4-byte Spill
	cmpl	%eax, %ebx
	jge	LBB0_11
## %bb.1:
	movq	(%rdi), %rdx
	movss	8(%rdx), %xmm0                  ## xmm0 = mem[0],zero,zero,zero
	movss	%xmm0, -104(%rbp)               ## 4-byte Spill
	movss	12(%rdx), %xmm0                 ## xmm0 = mem[0],zero,zero,zero
	movss	%xmm0, -100(%rbp)               ## 4-byte Spill
	movss	16(%rdx), %xmm0                 ## xmm0 = mem[0],zero,zero,zero
	movss	%xmm0, -96(%rbp)                ## 4-byte Spill
	movss	20(%rdx), %xmm0                 ## xmm0 = mem[0],zero,zero,zero
	movss	%xmm0, -92(%rbp)                ## 4-byte Spill
	movss	24(%rdx), %xmm1                 ## xmm1 = mem[0],zero,zero,zero
	movss	LCPI0_0(%rip), %xmm2            ## xmm2 = mem[0],zero,zero,zero
	movaps	%xmm2, %xmm0
	movss	%xmm1, -88(%rbp)                ## 4-byte Spill
	subss	%xmm1, %xmm0
	subss	28(%rdx), %xmm2
	mulss	%xmm0, %xmm2
	movss	%xmm2, -84(%rbp)                ## 4-byte Spill
	movq	(%rdx), %rax
	movslq	12(%rax), %rcx
	movq	%rcx, -120(%rbp)                ## 8-byte Spill
	movslq	8(%rax), %rcx
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	movslq	4(%rax), %r13
	movslq	(%rax), %rax
	movq	%rax, -136(%rbp)                ## 8-byte Spill
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	24(%rax), %eax
	movss	LCPI0_1(%rip), %xmm2            ## xmm2 = mem[0],zero,zero,zero
	movq	%rdx, -128(%rbp)                ## 8-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	-80(%rbp), %ebx                 ## 4-byte Reload
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	incl	%ebx
	cmpl	-76(%rbp), %ebx                 ## 4-byte Folded Reload
	je	LBB0_11
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_4 Depth 2
	testl	%eax, %eax
	jle	LBB0_10
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movq	8(%rcx), %rax
	movq	16(%rcx), %rcx
	movq	(%rax), %rax
	movl	(%rcx), %ecx
	movl	%ebx, -80(%rbp)                 ## 4-byte Spill
	imull	%ebx, %ecx
	movslq	%ecx, %rcx
	leaq	(%rax,%rcx,4), %r12
	xorl	%r14d, %r14d
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_4 Depth=2
	incq	%r14
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movslq	24(%rax), %rax
	addq	$16, %r12
	cmpq	%rax, %r14
	movss	LCPI0_1(%rip), %xmm2            ## xmm2 = mem[0],zero,zero,zero
	jge	LBB0_9
LBB0_4:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movss	(%r12,%r13,4), %xmm4            ## xmm4 = mem[0],zero,zero,zero
	divss	%xmm2, %xmm4
	movss	(%r12,%rcx,4), %xmm3            ## xmm3 = mem[0],zero,zero,zero
	divss	%xmm2, %xmm3
	cmpq	$0, 40(%rdx)
	movaps	%xmm3, %xmm1
	movaps	%xmm4, %xmm0
	movq	%r13, %r15
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=2
	movaps	%xmm4, %xmm1
	movaps	%xmm3, %xmm0
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=2
	mulss	-84(%rbp), %xmm1                ## 4-byte Folded Reload
	movq	-136(%rbp), %rbx                ## 8-byte Reload
	movss	(%r12,%rbx,4), %xmm5            ## xmm5 = mem[0],zero,zero,zero
	divss	%xmm2, %xmm5
	movss	%xmm5, -44(%rbp)                ## 4-byte Spill
	movaps	%xmm5, %xmm2
	mulss	-88(%rbp), %xmm2                ## 4-byte Folded Reload
	addss	%xmm1, %xmm2
	subss	%xmm2, %xmm0
	xorps	%xmm1, %xmm1
	movss	%xmm3, -112(%rbp)               ## 4-byte Spill
	movss	%xmm4, -48(%rbp)                ## 4-byte Spill
	callq	_FFMAX
	movaps	%xmm0, %xmm2
	movss	%xmm0, -52(%rbp)                ## 4-byte Spill
	mulss	-100(%rbp), %xmm0               ## 4-byte Folded Reload
	addss	-44(%rbp), %xmm0                ## 4-byte Folded Reload
	movss	-104(%rbp), %xmm1               ## 4-byte Reload
                                        ## xmm1 = mem[0],zero,zero,zero
	mulss	%xmm2, %xmm1
	movss	%xmm1, -44(%rbp)                ## 4-byte Spill
	addss	%xmm1, %xmm0
	xorps	%xmm1, %xmm1
	callq	_FFMAX
	movss	%xmm0, -108(%rbp)               ## 4-byte Spill
	movss	-52(%rbp), %xmm0                ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	mulss	-96(%rbp), %xmm0                ## 4-byte Folded Reload
	addss	-48(%rbp), %xmm0                ## 4-byte Folded Reload
	addss	-44(%rbp), %xmm0                ## 4-byte Folded Reload
	xorps	%xmm1, %xmm1
	callq	_FFMAX
	movss	%xmm0, -48(%rbp)                ## 4-byte Spill
	movss	-52(%rbp), %xmm0                ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	mulss	-92(%rbp), %xmm0                ## 4-byte Folded Reload
	addss	-112(%rbp), %xmm0               ## 4-byte Folded Reload
	addss	-44(%rbp), %xmm0                ## 4-byte Folded Reload
	xorps	%xmm1, %xmm1
	callq	_FFMAX
	movss	%xmm0, -44(%rbp)                ## 4-byte Spill
	movss	-108(%rbp), %xmm0               ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	mulss	LCPI0_1(%rip), %xmm0
	callq	_av_clip_uint8
	movss	%xmm0, (%r12,%rbx,4)
	movss	-48(%rbp), %xmm0                ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	mulss	LCPI0_1(%rip), %xmm0
	callq	_av_clip_uint8
	movq	%r15, %r13
	movss	%xmm0, (%r12,%r15,4)
	movss	-44(%rbp), %xmm0                ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	mulss	LCPI0_1(%rip), %xmm0
	callq	_av_clip_uint8
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movss	%xmm0, (%r12,%rcx,4)
	movq	-128(%rbp), %rax                ## 8-byte Reload
	cmpq	$0, 32(%rax)
	movq	%rax, %rdx
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=2
	movss	LCPI0_0(%rip), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	subss	-52(%rbp), %xmm0                ## 4-byte Folded Reload
	mulss	LCPI0_1(%rip), %xmm0
	movq	%rdx, %rbx
	callq	_av_clip_uint8
	movq	%rbx, %rdx
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movq	-120(%rbp), %rax                ## 8-byte Reload
	movss	%xmm0, (%r12,%rax,4)
	jmp	LBB0_8
LBB0_11:
	xorl	%eax, %eax
	addq	$104, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_do_despill_slice
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function do_despill_slice
_do_despill_slice:                      ; @do_despill_slice
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #208
	.cfi_def_cfa_offset 208
	stp	d15, d14, [sp, #48]             ; 16-byte Folded Spill
	stp	d13, d12, [sp, #64]             ; 16-byte Folded Spill
	stp	d11, d10, [sp, #80]             ; 16-byte Folded Spill
	stp	d9, d8, [sp, #96]               ; 16-byte Folded Spill
	stp	x28, x27, [sp, #112]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #128]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #144]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #160]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #176]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #192]            ; 16-byte Folded Spill
	add	x29, sp, #192
	.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 w27, -88
	.cfi_offset w28, -96
	.cfi_offset b8, -104
	.cfi_offset b9, -112
	.cfi_offset b10, -120
	.cfi_offset b11, -128
	.cfi_offset b12, -136
	.cfi_offset b13, -144
	.cfi_offset b14, -152
	.cfi_offset b15, -160
	ldr	w8, [x1]
	mul	w9, w8, w2
	sdiv	w20, w9, w3
	add	w8, w8, w9
	sdiv	w21, w8, w3
	cmp	w20, w21
	b.ge	LBB0_8
; %bb.1:
	mov	x19, x1
	ldr	x22, [x0]
	ldp	s12, s1, [x22, #8]
	ldr	s0, [x22, #16]
	stp	s0, s1, [sp, #40]               ; 8-byte Folded Spill
	ldp	s0, s13, [x22, #20]
	str	s0, [sp, #36]                   ; 4-byte Folded Spill
	fmov	s2, #1.00000000
	ldr	s0, [x22, #28]
	fsub	s1, s2, s13
	fsub	s0, s2, s0
	fmul	s14, s1, s0
	ldr	x8, [x22]
	ldrsw	x10, [x8, #12]
	ldrsw	x9, [x8, #8]
	stp	x9, x10, [sp, #16]              ; 16-byte Folded Spill
	ldpsw	x8, x9, [x8]
	stp	x8, x9, [sp]                    ; 16-byte Folded Spill
	ldr	w8, [x1, #24]
	mov	w27, #1132396544
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	w20, w20, #1
	cmp	w20, w21
	b.eq	LBB0_8
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_6 Depth 2
	cmp	w8, #1
	b.lt	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x28, #0
	ldp	x8, x9, [x19, #8]
	ldr	x8, [x8]
	ldr	w9, [x9]
	ldr	x10, [sp]                       ; 8-byte Folded Reload
	add	x10, x8, x10, lsl #2
	mul	w9, w9, w20
	sbfiz	x9, x9, #2, #32
	add	x23, x10, x9
	ldr	x10, [sp, #8]                   ; 8-byte Folded Reload
	add	x10, x8, x10, lsl #2
	add	x24, x10, x9
	ldr	x10, [sp, #16]                  ; 8-byte Folded Reload
	add	x10, x8, x10, lsl #2
	add	x25, x10, x9
	ldr	x10, [sp, #24]                  ; 8-byte Folded Reload
	add	x8, x8, x10, lsl #2
	add	x26, x8, x9
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=2
	add	x28, x28, #1
	add	x23, x23, #16
	ldrsw	x8, [x19, #24]
	add	x24, x24, #16
	add	x25, x25, #16
	add	x26, x26, #16
	cmp	x28, x8
	b.ge	LBB0_2
LBB0_6:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	s0, [x23]
	fmov	s15, w27
	fdiv	s9, s0, s15
	ldr	s0, [x24]
	fdiv	s10, s0, s15
	ldr	s0, [x25]
	fdiv	s11, s0, s15
	ldr	x8, [x22, #40]
	cmp	x8, #0
	fcsel	s0, s11, s10, eq
	fcsel	s1, s10, s11, eq
	fmul	s0, s14, s0
	fmadd	s0, s9, s13, s0
	fsub	s0, s1, s0
	movi	d1, #0000000000000000
	bl	_FFMAX
	fmov	s8, s0
	ldr	s0, [sp, #44]                   ; 4-byte Folded Reload
	fmadd	s0, s8, s0, s9
	fmadd	s0, s12, s8, s0
	movi	d1, #0000000000000000
	bl	_FFMAX
	fmov	s9, s0
	ldr	s0, [sp, #40]                   ; 4-byte Folded Reload
	fmadd	s0, s8, s0, s10
	fmadd	s0, s12, s8, s0
	movi	d1, #0000000000000000
	bl	_FFMAX
	fmov	s10, s0
	ldr	s0, [sp, #36]                   ; 4-byte Folded Reload
	fmadd	s0, s8, s0, s11
	fmadd	s0, s12, s8, s0
	movi	d1, #0000000000000000
	bl	_FFMAX
	fmov	s11, s0
	fmul	s0, s9, s15
	bl	_av_clip_uint8
	str	s0, [x23]
	fmul	s0, s10, s15
	bl	_av_clip_uint8
	str	s0, [x24]
	fmul	s0, s11, s15
	bl	_av_clip_uint8
	str	s0, [x25]
	ldr	x8, [x22, #32]
	cbz	x8, LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=2
	fmov	s0, #1.00000000
	fsub	s0, s0, s8
	fmov	s1, w27
	fmul	s0, s0, s1
	bl	_av_clip_uint8
	str	s0, [x26]
	b	LBB0_5
LBB0_8:
	mov	w0, #0
	ldp	x29, x30, [sp, #192]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #176]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #160]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #144]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #128]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #112]            ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #96]               ; 16-byte Folded Reload
	ldp	d11, d10, [sp, #80]             ; 16-byte Folded Reload
	ldp	d13, d12, [sp, #64]             ; 16-byte Folded Reload
	ldp	d15, d14, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #208
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_do_despill_slice
.subsections_via_symbols
