	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dss_sp_gen_exc
_dss_sp_gen_exc:                        ## @dss_sp_gen_exc
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r14d
	movl	%edx, %ecx
	movq	%rdi, %r15
	cmpl	$71, %edx
	jg	LBB0_3
## %bb.1:
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	%edi, %eax
	cltd
	idivl	%ecx
	movl	%ecx, %eax
	subl	%edx, %eax
	cltq
	movl	(%rsi,%rax,4), %eax
	movl	%eax, (%r15,%rdi,4)
	leal	1(%rdi), %eax
	cltd
	idivl	%ecx
	movl	%ecx, %eax
	subl	%edx, %eax
	cltq
	movl	(%rsi,%rax,4), %eax
	movl	%eax, 4(%r15,%rdi,4)
	addq	$2, %rdi
	cmpq	$72, %rdi
	jne	LBB0_2
	jmp	LBB0_8
LBB0_3:
	movl	%ecx, %eax
	leaq	(%rsi,%rax,4), %rcx
	addq	$4, %rcx
	cmpq	%r15, %rcx
	jbe	LBB0_7
## %bb.4:
	leaq	288(%r15), %rcx
	leaq	(%rsi,%rax,4), %rdx
	addq	$-284, %rdx                     ## imm = 0xFEE4
	cmpq	%rcx, %rdx
	jae	LBB0_7
## %bb.5:
	leaq	(%rsi,%rax,4), %rax
	movl	$3, %ecx
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rax), %edx
	movl	%edx, -12(%r15,%rcx,4)
	movl	-4(%rax), %edx
	movl	%edx, -8(%r15,%rcx,4)
	movl	-8(%rax), %edx
	movl	%edx, -4(%r15,%rcx,4)
	movl	-12(%rax), %edx
	movl	%edx, (%r15,%rcx,4)
	addq	$-16, %rax
	addq	$4, %rcx
	cmpq	$75, %rcx
	jne	LBB0_6
	jmp	LBB0_8
LBB0_7:
	movdqu	-12(%rsi,%rax,4), %xmm0
	pshufd	$27, %xmm0, %xmm0               ## xmm0 = xmm0[3,2,1,0]
	movdqu	%xmm0, (%r15)
	movdqu	-28(%rsi,%rax,4), %xmm0
	pshufd	$27, %xmm0, %xmm0               ## xmm0 = xmm0[3,2,1,0]
	movdqu	%xmm0, 16(%r15)
	movdqu	-44(%rsi,%rax,4), %xmm0
	pshufd	$27, %xmm0, %xmm0               ## xmm0 = xmm0[3,2,1,0]
	movdqu	%xmm0, 32(%r15)
	movdqu	-60(%rsi,%rax,4), %xmm0
	pshufd	$27, %xmm0, %xmm0               ## xmm0 = xmm0[3,2,1,0]
	movdqu	%xmm0, 48(%r15)
	movdqu	-76(%rsi,%rax,4), %xmm0
	pshufd	$27, %xmm0, %xmm0               ## xmm0 = xmm0[3,2,1,0]
	movdqu	%xmm0, 64(%r15)
	movdqu	-92(%rsi,%rax,4), %xmm0
	pshufd	$27, %xmm0, %xmm0               ## xmm0 = xmm0[3,2,1,0]
	movdqu	%xmm0, 80(%r15)
	movdqu	-108(%rsi,%rax,4), %xmm0
	pshufd	$27, %xmm0, %xmm0               ## xmm0 = xmm0[3,2,1,0]
	movdqu	%xmm0, 96(%r15)
	movdqu	-124(%rsi,%rax,4), %xmm0
	pshufd	$27, %xmm0, %xmm0               ## xmm0 = xmm0[3,2,1,0]
	movdqu	%xmm0, 112(%r15)
	movdqu	-140(%rsi,%rax,4), %xmm0
	pshufd	$27, %xmm0, %xmm0               ## xmm0 = xmm0[3,2,1,0]
	movdqu	%xmm0, 128(%r15)
	movdqu	-156(%rsi,%rax,4), %xmm0
	pshufd	$27, %xmm0, %xmm0               ## xmm0 = xmm0[3,2,1,0]
	movdqu	%xmm0, 144(%r15)
	movdqu	-172(%rsi,%rax,4), %xmm0
	pshufd	$27, %xmm0, %xmm0               ## xmm0 = xmm0[3,2,1,0]
	movdqu	%xmm0, 160(%r15)
	movdqu	-188(%rsi,%rax,4), %xmm0
	pshufd	$27, %xmm0, %xmm0               ## xmm0 = xmm0[3,2,1,0]
	movdqu	%xmm0, 176(%r15)
	movdqu	-204(%rsi,%rax,4), %xmm0
	pshufd	$27, %xmm0, %xmm0               ## xmm0 = xmm0[3,2,1,0]
	movdqu	%xmm0, 192(%r15)
	movdqu	-220(%rsi,%rax,4), %xmm0
	pshufd	$27, %xmm0, %xmm0               ## xmm0 = xmm0[3,2,1,0]
	movdqu	%xmm0, 208(%r15)
	movdqu	-236(%rsi,%rax,4), %xmm0
	pshufd	$27, %xmm0, %xmm0               ## xmm0 = xmm0[3,2,1,0]
	movdqu	%xmm0, 224(%r15)
	movdqu	-252(%rsi,%rax,4), %xmm0
	pshufd	$27, %xmm0, %xmm0               ## xmm0 = xmm0[3,2,1,0]
	movdqu	%xmm0, 240(%r15)
	movdqu	-268(%rsi,%rax,4), %xmm0
	pshufd	$27, %xmm0, %xmm0               ## xmm0 = xmm0[3,2,1,0]
	movdqu	%xmm0, 256(%r15)
	movdqu	-284(%rsi,%rax,4), %xmm0
	pshufd	$27, %xmm0, %xmm0               ## xmm0 = xmm0[3,2,1,0]
	movdqu	%xmm0, 272(%r15)
LBB0_8:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r15,%rbx,4), %edi
	imull	%r14d, %edi
	sarl	$11, %edi
	callq	_av_clip_int16
	movl	%eax, (%r15,%rbx,4)
	incq	%rbx
	cmpq	$72, %rbx
	jne	LBB0_9
## %bb.10:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_dss_sp_gen_exc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dss_sp_gen_exc
_dss_sp_gen_exc:                        ; @dss_sp_gen_exc
	.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, x3
	mov	x20, x0
	cmp	w2, #71
	b.gt	LBB0_3
; %bb.1:
	mov	x8, #0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	sdiv	w9, w8, w2
	neg	w10, w8
	madd	w9, w9, w2, w10
	add	w9, w2, w9
	ldr	w9, [x1, w9, sxtw #2]
	str	w9, [x20, x8, lsl #2]
	add	x8, x8, #1
	cmp	x8, #72
	b.ne	LBB0_2
	b	LBB0_7
LBB0_3:
	mov	w9, w2
	add	x8, x20, #288
	add	x10, x1, w2, uxtw #2
	sub	x11, x10, #284
	add	x10, x10, #4
	cmp	x10, x20
	ccmp	x11, x8, #2, hi
	b.lo	LBB0_5
; %bb.4:
	add	x8, x1, x9, lsl #2
	ldr	q0, [x8, #-12]!
	rev64.4s	v0, v0
	ext.16b	v0, v0, v0, #8
	ldp	q2, q1, [x8, #-32]
	rev64.4s	v1, v1
	ext.16b	v1, v1, v1, #8
	stp	q0, q1, [x20]
	rev64.4s	v0, v2
	ext.16b	v0, v0, v0, #8
	ldp	q2, q1, [x8, #-64]
	rev64.4s	v1, v1
	ext.16b	v1, v1, v1, #8
	stp	q0, q1, [x20, #32]
	rev64.4s	v0, v2
	ext.16b	v0, v0, v0, #8
	ldp	q2, q1, [x8, #-96]
	rev64.4s	v1, v1
	ext.16b	v1, v1, v1, #8
	stp	q0, q1, [x20, #64]
	rev64.4s	v0, v2
	ext.16b	v0, v0, v0, #8
	ldp	q2, q1, [x8, #-128]
	rev64.4s	v1, v1
	ext.16b	v1, v1, v1, #8
	stp	q0, q1, [x20, #96]
	rev64.4s	v0, v2
	ext.16b	v0, v0, v0, #8
	ldp	q2, q1, [x8, #-160]
	rev64.4s	v1, v1
	ext.16b	v1, v1, v1, #8
	stp	q0, q1, [x20, #128]
	rev64.4s	v0, v2
	ext.16b	v0, v0, v0, #8
	ldp	q2, q1, [x8, #-192]
	rev64.4s	v1, v1
	ext.16b	v1, v1, v1, #8
	stp	q0, q1, [x20, #160]
	rev64.4s	v0, v2
	ext.16b	v0, v0, v0, #8
	ldp	q2, q1, [x8, #-224]
	rev64.4s	v1, v1
	ext.16b	v1, v1, v1, #8
	stp	q0, q1, [x20, #192]
	rev64.4s	v0, v2
	ext.16b	v0, v0, v0, #8
	ldp	q2, q1, [x8, #-256]
	rev64.4s	v1, v1
	ext.16b	v1, v1, v1, #8
	stp	q0, q1, [x20, #224]
	rev64.4s	v0, v2
	ext.16b	v0, v0, v0, #8
	sub	x8, x8, #272
	ldr	q1, [x8]
	rev64.4s	v1, v1
	ext.16b	v1, v1, v1, #8
	stp	q0, q1, [x20, #256]
	b	LBB0_7
LBB0_5:
	mov	x8, #0
	add	x9, x1, x9, lsl #2
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w10, [x9], #-4
	str	w10, [x20, x8]
	add	x8, x8, #4
	cmp	x8, #288
	b.ne	LBB0_6
LBB0_7:
	mov	x21, #0
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x20, x21]
	mul	w8, w8, w19
	asr	w0, w8, #11
	bl	_av_clip_int16
	str	w0, [x20, x21]
	add	x21, x21, #4
	cmp	x21, #288
	b.ne	LBB0_8
; %bb.9:
	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
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_dss_sp_gen_exc
.subsections_via_symbols
