	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function horiz_slice_c
_horiz_slice_c:                         ## @horiz_slice_c
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, -48(%rbp)                 ## 4-byte Spill
                                        ## kill: def $esi killed $esi def $rsi
	movq	%rdi, -72(%rbp)                 ## 8-byte Spill
	testl	%edx, %edx
	jle	LBB0_21
## %bb.1:
	leal	-1(%rsi), %r8d
	movslq	%esi, %r11
	movl	%edx, %eax
	movq	%rax, -168(%rbp)                ## 8-byte Spill
	movl	%r11d, %ecx
	testq	%r8, %r8
	movl	$1, %edx
	cmovleq	%r8, %rdx
	movl	$1, %r10d
	movq	%r8, %rax
	subq	%rdx, %rax
	leal	-2(%r11), %r14d
	movq	%rdx, -144(%rbp)                ## 8-byte Spill
	addq	%r14, %rdx
	subq	%r8, %rdx
	movq	%rdx, -128(%rbp)                ## 8-byte Spill
	cmpq	$2, %r8
	cmovgeq	%r8, %r10
	leaq	-1(%rcx), %r9
	addq	$-2, %rcx
	movq	%rcx, -192(%rbp)                ## 8-byte Spill
	movl	%r9d, %ebx
	andl	$3, %ebx
	andq	$-4, %r9
	cmpl	%eax, %r14d
	setb	%dl
	movq	%rax, %rdi
	shrq	$32, %rdi
	setne	%cl
	orb	%dl, %cl
	movb	%cl, -42(%rbp)                  ## 1-byte Spill
	movl	$4, %edx
	mulq	%rdx
	seto	-41(%rbp)                       ## 1-byte Folded Spill
	negq	%rax
	movq	%rax, -120(%rbp)                ## 8-byte Spill
	movq	%r10, %rax
	movq	%r10, -88(%rbp)                 ## 8-byte Spill
	movl	%r10d, %r15d
	andl	$-8, %r15d
	movq	%r8, %rax
	subq	%r15, %rax
	movq	%rax, -176(%rbp)                ## 8-byte Spill
	movaps	%xmm0, %xmm2
	shufps	$0, %xmm0, %xmm2                ## xmm2 = xmm2[0,0],xmm0[0,0]
	movq	%r15, -184(%rbp)                ## 8-byte Spill
	negq	%r15
	movl	$4294967295, %r10d              ## imm = 0xFFFFFFFF
	addq	%r8, %r10
	shufps	$27, %xmm2, %xmm2               ## xmm2 = xmm2[3,2,1,0]
	movslq	%r8d, %rcx
	movq	%r14, -136(%rbp)                ## 8-byte Spill
	leaq	1(%r14), %rax
	movq	%rax, -112(%rbp)                ## 8-byte Spill
	leaq	1(%r8), %rax
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	leaq	16(%rdi), %r14
	movq	%r11, -152(%rbp)                ## 8-byte Spill
	leaq	(,%r11,4), %rax
	movq	%rax, -160(%rbp)                ## 8-byte Spill
	movq	%r8, -80(%rbp)                  ## 8-byte Spill
	leaq	(%rdi,%r8,4), %r12
	addq	$-12, %r12
	xorl	%eax, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%rsi, -96(%rbp)                 ## 8-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_20:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	incq	%rdx
	movq	-160(%rbp), %rax                ## 8-byte Reload
	addq	%rax, %r14
	addq	%rax, %rdi
	addq	%rax, %r12
	movq	%rdx, %rax
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	cmpq	-168(%rbp), %rdx                ## 8-byte Folded Reload
	je	LBB0_21
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_4 Depth 2
                                        ##       Child Loop BB0_7 Depth 3
                                        ##       Child Loop BB0_11 Depth 3
                                        ##       Child Loop BB0_15 Depth 3
                                        ##       Child Loop BB0_18 Depth 3
	cmpl	$0, -48(%rbp)                   ## 4-byte Folded Reload
	jle	LBB0_20
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	imulq	-152(%rbp), %r13                ## 8-byte Folded Reload
	movq	-136(%rbp), %rax                ## 8-byte Reload
	leaq	(%rax,%r13), %r8
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	addq	%r13, %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	leaq	(%rsi,%r8,4), %r8
	movq	-120(%rbp), %r11                ## 8-byte Reload
	leaq	(%r8,%r11), %rax
	cmpq	%r8, %rax
	seta	%dl
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rsi,%rax,4), %r8
	orb	-41(%rbp), %dl                  ## 1-byte Folded Reload
	leaq	(%r8,%r11), %rax
	cmpq	%r8, %rax
	movq	-128(%rbp), %rax                ## 8-byte Reload
	leaq	(%rax,%r13), %r11
	movq	-104(%rbp), %rax                ## 8-byte Reload
	leaq	(%rax,%r13), %r8
	leaq	(%rsi,%r11,4), %r11
	leaq	(%rsi,%r8,4), %r8
	seta	%al
	orb	-41(%rbp), %al                  ## 1-byte Folded Reload
	orb	-42(%rbp), %dl                  ## 1-byte Folded Reload
	orb	%al, %dl
	movb	%dl, -64(%rbp)                  ## 1-byte Spill
	cmpq	%r8, %r11
	movq	-112(%rbp), %rax                ## 8-byte Reload
	leaq	(%rax,%r13), %r11
	movq	-144(%rbp), %rax                ## 8-byte Reload
	leaq	(%rax,%r13), %r8
	leaq	(%rsi,%r11,4), %r11
	leaq	(%rsi,%r8,4), %rax
	setb	%r8b
	cmpq	%r11, %rax
	leaq	(%rsi,%r13,4), %r13
	movq	-96(%rbp), %rsi                 ## 8-byte Reload
	setb	%al
	andb	%r8b, %al
	movb	%al, -43(%rbp)                  ## 1-byte Spill
	xorl	%r11d, %r11d
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_22:                                ##   in Loop: Header=BB0_4 Depth=2
	movss	(%r13,%rcx,4), %xmm3            ## xmm3 = mem[0],zero,zero,zero
	mulss	%xmm1, %xmm3
	movss	%xmm3, (%r13,%rcx,4)
LBB0_19:                                ##   in Loop: Header=BB0_4 Depth=2
	incl	%r11d
	cmpl	-48(%rbp), %r11d                ## 4-byte Folded Reload
	je	LBB0_20
LBB0_4:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_7 Depth 3
                                        ##       Child Loop BB0_11 Depth 3
                                        ##       Child Loop BB0_15 Depth 3
                                        ##       Child Loop BB0_18 Depth 3
	movss	(%r13), %xmm3                   ## xmm3 = mem[0],zero,zero,zero
	mulss	%xmm1, %xmm3
	movss	%xmm3, (%r13)
	cmpl	$2, %esi
	jl	LBB0_22
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=2
	movl	$1, %eax
	cmpq	$3, -192(%rbp)                  ## 8-byte Folded Reload
	jb	LBB0_9
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=2
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_7:                                 ##   Parent Loop BB0_2 Depth=1
                                        ##     Parent Loop BB0_4 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	mulss	%xmm0, %xmm3
	addss	-12(%r14,%rax,4), %xmm3
	movss	%xmm3, -12(%r14,%rax,4)
	mulss	%xmm0, %xmm3
	addss	-8(%r14,%rax,4), %xmm3
	movss	%xmm3, -8(%r14,%rax,4)
	mulss	%xmm0, %xmm3
	addss	-4(%r14,%rax,4), %xmm3
	movss	%xmm3, -4(%r14,%rax,4)
	mulss	%xmm0, %xmm3
	addss	(%r14,%rax,4), %xmm3
	movss	%xmm3, (%r14,%rax,4)
	addq	$4, %rax
	cmpq	%rax, %r9
	jne	LBB0_7
## %bb.8:                               ##   in Loop: Header=BB0_4 Depth=2
	incq	%rax
LBB0_9:                                 ##   in Loop: Header=BB0_4 Depth=2
	testq	%rbx, %rbx
	je	LBB0_12
## %bb.10:                              ##   in Loop: Header=BB0_4 Depth=2
	leaq	(%rdi,%rax,4), %rax
	xorl	%r8d, %r8d
	.p2align	4, 0x90
LBB0_11:                                ##   Parent Loop BB0_2 Depth=1
                                        ##     Parent Loop BB0_4 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	mulss	%xmm0, %xmm3
	addss	(%rax,%r8,4), %xmm3
	movss	%xmm3, (%rax,%r8,4)
	incq	%r8
	cmpq	%r8, %rbx
	jne	LBB0_11
LBB0_12:                                ##   in Loop: Header=BB0_4 Depth=2
	movss	(%r13,%rcx,4), %xmm3            ## xmm3 = mem[0],zero,zero,zero
	mulss	%xmm1, %xmm3
	movss	%xmm3, (%r13,%rcx,4)
	cmpl	$2, %esi
	jl	LBB0_19
## %bb.13:                              ##   in Loop: Header=BB0_4 Depth=2
	cmpl	$8, -88(%rbp)                   ## 4-byte Folded Reload
	setb	%al
	orb	-64(%rbp), %al                  ## 1-byte Folded Reload
	orb	-43(%rbp), %al                  ## 1-byte Folded Reload
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	jne	LBB0_17
## %bb.14:                              ##   in Loop: Header=BB0_4 Depth=2
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_15:                                ##   Parent Loop BB0_2 Depth=1
                                        ##     Parent Loop BB0_4 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movups	-16(%r12,%rax,4), %xmm3
	movups	(%r12,%rax,4), %xmm4
	leal	(%r10,%rax), %edx
	movups	-28(%r13,%rdx,4), %xmm5
	movups	-12(%r13,%rdx,4), %xmm6
	mulps	%xmm2, %xmm4
	addps	%xmm6, %xmm4
	movups	%xmm4, -12(%r13,%rdx,4)
	mulps	%xmm2, %xmm3
	addps	%xmm5, %xmm3
	movups	%xmm3, -28(%r13,%rdx,4)
	addq	$-8, %rax
	cmpq	%rax, %r15
	jne	LBB0_15
## %bb.16:                              ##   in Loop: Header=BB0_4 Depth=2
	movq	-176(%rbp), %rax                ## 8-byte Reload
	movq	-184(%rbp), %rdx                ## 8-byte Reload
	cmpq	%rdx, -88(%rbp)                 ## 8-byte Folded Reload
	je	LBB0_19
LBB0_17:                                ##   in Loop: Header=BB0_4 Depth=2
	incq	%rax
	.p2align	4, 0x90
LBB0_18:                                ##   Parent Loop BB0_2 Depth=1
                                        ##     Parent Loop BB0_4 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	leal	-2(%rax), %edx
	movss	-4(%rdi,%rax,4), %xmm3          ## xmm3 = mem[0],zero,zero,zero
	mulss	%xmm0, %xmm3
	addss	(%r13,%rdx,4), %xmm3
	movss	%xmm3, (%r13,%rdx,4)
	decq	%rax
	cmpq	$1, %rax
	jg	LBB0_18
	jmp	LBB0_19
LBB0_21:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_horiz_slice_c
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function horiz_slice_c
_horiz_slice_c:                         ; @horiz_slice_c
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	.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
                                        ; kill: def $s0 killed $s0 def $q0
                                        ; kill: def $w1 killed $w1 def $x1
	cmp	w2, #1
	b.lt	LBB0_15
; %bb.1:
	mov	x8, #0
	sub	w9, w1, #1
	mov	x10, x9
	sxtw	x10, w10
	mov	w11, w1
	sxtw	x12, w1
	str	x12, [sp, #40]                  ; 8-byte Folded Spill
	cmp	x9, #1
	csinc	x12, x9, xzr, lt
	csinc	x13, x9, xzr, gt
	sub	x6, x9, x12
	sub	w14, w1, #2
	add	x15, x12, x14
	sub	x15, x15, x9
	str	x15, [sp, #32]                  ; 8-byte Folded Spill
	add	x15, x14, #1
	str	x15, [sp, #24]                  ; 8-byte Folded Spill
	add	x15, x9, #1
	str	x15, [sp, #16]                  ; 8-byte Folded Spill
	tst	x6, #0xffffffff00000000
	ccmp	w14, w6, #0, eq
	cset	w15, lo
	str	w15, [sp, #12]                  ; 4-byte Folded Spill
	cmp	xzr, x6, lsr #62
	cset	w5, ne
	and	x16, x13, #0xfffffff0
	sub	x7, x9, x16
	sbfiz	x19, x1, #2, #32
	dup.4s	v2, v0[0]
	add	x20, x0, #4
	add	x22, x0, w9, uxtw #2
	sub	x21, x11, #1
	mov	w11, #-1
	add	x15, x9, x11
	sub	x11, x22, #28
	mov	x24, x0
	mov	w2, w2
	neg	x25, x6, lsl #2
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x8, x8, #1
	add	x20, x20, x19
	add	x11, x11, x19
	add	x24, x24, x19
	cmp	x8, x2
	b.eq	LBB0_15
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_7 Depth 2
                                        ;       Child Loop BB0_8 Depth 3
                                        ;       Child Loop BB0_12 Depth 3
                                        ;       Child Loop BB0_14 Depth 3
	cmp	w3, #1
	b.lt	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	w26, #0
	ldr	x17, [sp, #40]                  ; 8-byte Folded Reload
	mul	x6, x8, x17
	ldr	x17, [sp, #32]                  ; 8-byte Folded Reload
	add	x22, x17, x6
	add	x22, x0, x22, lsl #2
	ldp	x4, x17, [sp, #16]              ; 16-byte Folded Reload
	add	x23, x17, x6
	add	x23, x0, x23, lsl #2
	add	x27, x12, x6
	add	x30, x0, x27, lsl #2
	add	x27, x6, x14
	add	x27, x0, x27, lsl #2
	add	x28, x6, x9
	add	x28, x0, x28, lsl #2
	add	x17, x27, x25
	cmp	x17, x27
	cset	w17, hi
	add	x27, x28, x25
	cmp	x27, x28
	add	x27, x4, x6
	add	x4, x0, x27, lsl #2
	add	x27, x0, x6, lsl #2
	orr	w17, w17, w5
	cset	w6, hi
	orr	w6, w6, w5
	ldr	w28, [sp, #12]                  ; 4-byte Folded Reload
	orr	w17, w28, w17
	orr	w28, w17, w6
	cmp	x22, x4
	ccmp	x30, x23, #2, lo
	cset	w30, lo
	b	LBB0_7
LBB0_5:                                 ;   in Loop: Header=BB0_7 Depth=2
	lsl	x17, x10, #2
	ldr	s3, [x27, x17]
	fmul	s3, s3, s1
	str	s3, [x27, x17]
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=2
	add	w26, w26, #1
	cmp	w26, w3
	b.eq	LBB0_2
LBB0_7:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_8 Depth 3
                                        ;       Child Loop BB0_12 Depth 3
                                        ;       Child Loop BB0_14 Depth 3
	ldr	s3, [x27]
	fmul	s3, s3, s1
	str	s3, [x27]
	mov	x6, x21
	mov	x22, x20
	cmp	w1, #2
	b.lt	LBB0_5
LBB0_8:                                 ;   Parent Loop BB0_3 Depth=1
                                        ;     Parent Loop BB0_7 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	ldr	s4, [x22]
	fmadd	s3, s0, s3, s4
	str	s3, [x22], #4
	subs	x6, x6, #1
	b.ne	LBB0_8
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=2
	lsl	x17, x10, #2
	ldr	s3, [x27, x17]
	fmul	s3, s3, s1
	str	s3, [x27, x17]
	cmp	w1, #2
	b.lt	LBB0_6
; %bb.10:                               ;   in Loop: Header=BB0_7 Depth=2
	cmp	x13, #16
	cset	w17, lo
	orr	w17, w17, w28
	orr	w17, w17, w30
	mov	x6, x9
	tbnz	w17, #0, LBB0_14
; %bb.11:                               ;   in Loop: Header=BB0_7 Depth=2
	mov	x23, x11
	mov	x22, x15
	mov	x6, x16
LBB0_12:                                ;   Parent Loop BB0_3 Depth=1
                                        ;     Parent Loop BB0_7 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	ldp	q4, q3, [x23]
	rev64.4s	v3, v3
	ext.16b	v3, v3, v3, #8
	rev64.4s	v4, v4
	ext.16b	v4, v4, v4, #8
	ldp	q6, q5, [x23, #-32]
	rev64.4s	v5, v5
	ext.16b	v5, v5, v5, #8
	rev64.4s	v6, v6
	ext.16b	v6, v6, v6, #8
	add	x17, x27, w22, uxtw #2
	ldur	q7, [x17, #-12]
	rev64.4s	v7, v7
	ext.16b	v7, v7, v7, #8
	ldur	q16, [x17, #-28]
	rev64.4s	v16, v16
	ext.16b	v16, v16, v16, #8
	ldur	q17, [x17, #-44]
	rev64.4s	v17, v17
	ext.16b	v17, v17, v17, #8
	ldur	q18, [x17, #-60]
	rev64.4s	v18, v18
	ext.16b	v18, v18, v18, #8
	fmla.4s	v7, v3, v2
	fmla.4s	v16, v4, v2
	fmla.4s	v17, v5, v2
	fmla.4s	v18, v6, v2
	rev64.4s	v3, v7
	ext.16b	v3, v3, v3, #8
	stur	q3, [x17, #-12]
	rev64.4s	v3, v16
	ext.16b	v3, v3, v3, #8
	stur	q3, [x17, #-28]
	rev64.4s	v3, v17
	ext.16b	v3, v3, v3, #8
	stur	q3, [x17, #-44]
	rev64.4s	v3, v18
	ext.16b	v3, v3, v3, #8
	stur	q3, [x17, #-60]
	sub	x22, x22, #16
	sub	x23, x23, #64
	sub	x6, x6, #16
	cbnz	x6, LBB0_12
; %bb.13:                               ;   in Loop: Header=BB0_7 Depth=2
	mov	x6, x7
	cmp	x13, x16
	b.eq	LBB0_6
LBB0_14:                                ;   Parent Loop BB0_3 Depth=1
                                        ;     Parent Loop BB0_7 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	ldr	s3, [x24, x6, lsl #2]
	subs	x6, x6, #1
	and	x17, x6, #0xffffffff
	lsl	x17, x17, #2
	ldr	s4, [x27, x17]
	fmadd	s3, s0, s3, s4
	str	s3, [x27, x17]
	b.gt	LBB0_14
	b	LBB0_6
LBB0_15:
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_horiz_slice_c
.subsections_via_symbols
