	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dss_sp_convert_coeffs
_dss_sp_convert_coeffs:                 ## @dss_sp_convert_coeffs
	.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	$8192, (%rsi)                   ## imm = 0x2000
	xorl	%r13d, %r13d
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	movq	%rsi, -72(%rbp)                 ## 8-byte Spill
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_1 Depth=1
	addq	$4, -48(%rbp)                   ## 8-byte Folded Spill
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, %r13
	cmpq	$14, %rax
	je	LBB0_5
LBB0_1:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_3 Depth 2
	leaq	1(%r13), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movl	(%rdi,%r13,4), %eax
	sarl	$2, %eax
	movl	%eax, 4(%rsi,%r13,4)
	testq	%r13, %r13
	je	LBB0_4
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	-56(%rbp), %rax                 ## 8-byte Reload
                                        ## kill: def $eax killed $eax killed $rax def $rax
	shrl	%eax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_3:                                 ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	4(%rsi,%r15,4), %r12d
	movl	(%r14), %ebx
	movl	(%rdi,%r13,4), %esi
	movl	%r12d, %edi
	movl	%ebx, %edx
	callq	_DSS_SP_FORMULA
	movl	%eax, %edi
	callq	_av_clip_int16
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, 4(%rcx,%r15,4)
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax,%r13,4), %esi
	movl	%ebx, %edi
	movl	%r12d, %edx
	callq	_DSS_SP_FORMULA
	movl	%eax, %edi
	callq	_av_clip_int16
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movl	%eax, (%r14)
	incq	%r15
	addq	$-4, %r14
	cmpq	-80(%rbp), %r15                 ## 8-byte Folded Reload
	jb	LBB0_3
	jmp	LBB0_4
LBB0_5:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_dss_sp_convert_coeffs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dss_sp_convert_coeffs
_dss_sp_convert_coeffs:                 ; @dss_sp_convert_coeffs
	.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
	mov	x8, #0
	mov	w9, #8192
	mov	x23, x1
	str	w9, [x23], #-8
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	add	x23, x23, #4
	mov	x8, x24
	cmp	x24, #14
	b.eq	LBB0_10
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	add	x24, x8, #1
	ldr	w9, [x20, x8, lsl #2]
	asr	w9, w9, #2
	str	w9, [x23, #12]
	cbz	x8, LBB0_1
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ubfx	x26, x24, #1, #31
	ldr	w21, [x19, #4]
	ldr	w22, [x23, #8]
	lsl	x25, x8, #2
	ldr	w1, [x20, x25]
	mov	x0, x21
	mov	x2, x22
	bl	_DSS_SP_FORMULA
	bl	_av_clip_int16
	str	w0, [x19, #4]
	ldr	w1, [x20, x25]
	mov	x0, x22
	mov	x2, x21
	bl	_DSS_SP_FORMULA
	bl	_av_clip_int16
	str	w0, [x23, #8]
	cmp	x26, #2
	b.lo	LBB0_1
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w21, [x19, #8]
	ldr	w22, [x23, #4]
	ldr	w1, [x20, x25]
	mov	x0, x21
	mov	x2, x22
	bl	_DSS_SP_FORMULA
	bl	_av_clip_int16
	str	w0, [x19, #8]
	ldr	w1, [x20, x25]
	mov	x0, x22
	mov	x2, x21
	bl	_DSS_SP_FORMULA
	bl	_av_clip_int16
	str	w0, [x23, #4]
	cmp	x26, #2
	b.eq	LBB0_1
; %bb.5:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w21, [x19, #12]
	ldr	w22, [x23]
	ldr	w1, [x20, x25]
	mov	x0, x21
	mov	x2, x22
	bl	_DSS_SP_FORMULA
	bl	_av_clip_int16
	str	w0, [x19, #12]
	ldr	w1, [x20, x25]
	mov	x0, x22
	mov	x2, x21
	bl	_DSS_SP_FORMULA
	bl	_av_clip_int16
	str	w0, [x23]
	cmp	x26, #4
	b.lo	LBB0_1
; %bb.6:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w21, [x19, #16]
	ldur	w22, [x23, #-4]
	ldr	w1, [x20, x25]
	mov	x0, x21
	mov	x2, x22
	bl	_DSS_SP_FORMULA
	bl	_av_clip_int16
	str	w0, [x19, #16]
	ldr	w1, [x20, x25]
	mov	x0, x22
	mov	x2, x21
	bl	_DSS_SP_FORMULA
	bl	_av_clip_int16
	stur	w0, [x23, #-4]
	cmp	x26, #4
	b.eq	LBB0_1
; %bb.7:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w21, [x19, #20]
	ldur	w22, [x23, #-8]
	ldr	w1, [x20, x25]
	mov	x0, x21
	mov	x2, x22
	bl	_DSS_SP_FORMULA
	bl	_av_clip_int16
	str	w0, [x19, #20]
	ldr	w1, [x20, x25]
	mov	x0, x22
	mov	x2, x21
	bl	_DSS_SP_FORMULA
	bl	_av_clip_int16
	stur	w0, [x23, #-8]
	cmp	x26, #6
	b.lo	LBB0_1
; %bb.8:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w21, [x19, #24]
	ldur	w22, [x23, #-12]
	ldr	w1, [x20, x25]
	mov	x0, x21
	mov	x2, x22
	bl	_DSS_SP_FORMULA
	bl	_av_clip_int16
	str	w0, [x19, #24]
	ldr	w1, [x20, x25]
	mov	x0, x22
	mov	x2, x21
	bl	_DSS_SP_FORMULA
	bl	_av_clip_int16
	stur	w0, [x23, #-12]
	cmp	x26, #6
	b.eq	LBB0_1
; %bb.9:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w21, [x19, #28]
	ldur	w22, [x23, #-16]
	ldr	w1, [x20, x25]
	mov	x0, x21
	mov	x2, x22
	bl	_DSS_SP_FORMULA
	bl	_av_clip_int16
	str	w0, [x19, #28]
	ldr	w1, [x20, x25]
	mov	x0, x22
	mov	x2, x21
	bl	_DSS_SP_FORMULA
	bl	_av_clip_int16
	stur	w0, [x23, #-16]
	b	LBB0_1
LBB0_10:
	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	_dss_sp_convert_coeffs
.subsections_via_symbols
