	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dss_sp_decode_one_frame
_dss_sp_decode_one_frame:               ## @dss_sp_decode_one_frame
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r15
	movq	%rdx, %rsi
	callq	_dss_sp_unpack_coeffs
	movq	%r15, %rdi
	callq	_dss_sp_unpack_filter
	movq	8(%r15), %rdi
	movl	28(%r15), %esi
	callq	_dss_sp_convert_coeffs
	movq	_SUBFRAMES@GOTPCREL(%rip), %r12
	cmpl	$0, (%r12)
	jle	LBB0_7
## %bb.1:
	xorl	%r13d, %r13d
	movq	_dss_sp_adaptive_gain@GOTPCREL(%rip), %r14
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	movdqu	276(%rax), %xmm0
	pshufd	$27, %xmm0, %xmm0               ## xmm0 = xmm0[3,2,1,0]
	movdqu	%xmm0, (%rdx)
	movdqu	260(%rax), %xmm0
	pshufd	$27, %xmm0, %xmm0               ## xmm0 = xmm0[3,2,1,0]
	movdqu	%xmm0, 16(%rdx)
	movdqu	244(%rax), %xmm0
	pshufd	$27, %xmm0, %xmm0               ## xmm0 = xmm0[3,2,1,0]
	movdqu	%xmm0, 32(%rdx)
	movdqu	228(%rax), %xmm0
	pshufd	$27, %xmm0, %xmm0               ## xmm0 = xmm0[3,2,1,0]
	movdqu	%xmm0, 48(%rdx)
	movdqu	212(%rax), %xmm0
	pshufd	$27, %xmm0, %xmm0               ## xmm0 = xmm0[3,2,1,0]
	movdqu	%xmm0, 64(%rdx)
	movdqu	196(%rax), %xmm0
	pshufd	$27, %xmm0, %xmm0               ## xmm0 = xmm0[3,2,1,0]
	movdqu	%xmm0, 80(%rdx)
	movdqu	180(%rax), %xmm0
	pshufd	$27, %xmm0, %xmm0               ## xmm0 = xmm0[3,2,1,0]
	movdqu	%xmm0, 96(%rdx)
	movdqu	164(%rax), %xmm0
	pshufd	$27, %xmm0, %xmm0               ## xmm0 = xmm0[3,2,1,0]
	movdqu	%xmm0, 112(%rdx)
	movdqu	148(%rax), %xmm0
	pshufd	$27, %xmm0, %xmm0               ## xmm0 = xmm0[3,2,1,0]
	movdqu	%xmm0, 128(%rdx)
	movdqu	132(%rax), %xmm0
	pshufd	$27, %xmm0, %xmm0               ## xmm0 = xmm0[3,2,1,0]
	movdqu	%xmm0, 144(%rdx)
	movdqu	116(%rax), %xmm0
	pshufd	$27, %xmm0, %xmm0               ## xmm0 = xmm0[3,2,1,0]
	movdqu	%xmm0, 160(%rdx)
	movdqu	100(%rax), %xmm0
	pshufd	$27, %xmm0, %xmm0               ## xmm0 = xmm0[3,2,1,0]
	movdqu	%xmm0, 176(%rdx)
	movdqu	84(%rax), %xmm0
	pshufd	$27, %xmm0, %xmm0               ## xmm0 = xmm0[3,2,1,0]
	movdqu	%xmm0, 192(%rdx)
	movdqu	68(%rax), %xmm0
	pshufd	$27, %xmm0, %xmm0               ## xmm0 = xmm0[3,2,1,0]
	movdqu	%xmm0, 208(%rdx)
	movdqu	52(%rax), %xmm0
	pshufd	$27, %xmm0, %xmm0               ## xmm0 = xmm0[3,2,1,0]
	movdqu	%xmm0, 224(%rdx)
	movdqu	36(%rax), %xmm0
	pshufd	$27, %xmm0, %xmm0               ## xmm0 = xmm0[3,2,1,0]
	movdqu	%xmm0, 240(%rdx)
	movdqu	20(%rax), %xmm0
	pshufd	$27, %xmm0, %xmm0               ## xmm0 = xmm0[3,2,1,0]
	movdqu	%xmm0, 256(%rdx)
	movdqu	4(%rax), %xmm0
	pshufd	$27, %xmm0, %xmm0               ## xmm0 = xmm0[3,2,1,0]
	movdqu	%xmm0, 272(%rdx)
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	24(%r15), %esi
	movl	28(%r15), %edi
	callq	_dss_sp_shift_sq_sub
	movq	(%r15), %rax
	movq	8(%r15), %rcx
	movl	(%rcx), %esi
	movq	(%rax,%r13,8), %rdx
	movq	%r15, %rdi
	movl	$72, %ecx
	callq	_dss_sp_sf_synthesis
	incq	%r13
	movslq	(%r12), %rax
	cmpq	%rax, %r13
	jge	LBB0_7
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_5 Depth 2
	movq	16(%r15), %rdi
	movq	32(%r15), %rsi
	movq	56(%r15), %rax
	leaq	(,%r13,4), %rbx
	movl	(%rax,%r13,4), %edx
	movq	(%r14), %rax
	movq	40(%r15), %rcx
	movq	(%rcx,%r13,8), %rcx
	movl	(%rax,%rcx,4), %ecx
	callq	_dss_sp_gen_exc
	movq	16(%r15), %rdi
	addq	48(%r15), %rbx
	movq	%rbx, %rsi
	callq	_dss_sp_add_pulses
	movq	16(%r15), %rdi
	movq	32(%r15), %rsi
	callq	_dss_sp_update_buf
	movq	16(%r15), %rdx
	movq	32(%r15), %rax
	leaq	292(%rax), %rcx
	cmpq	%rcx, %rdx
	jae	LBB0_8
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	leaq	288(%rdx), %rcx
	leaq	4(%rax), %rsi
	cmpq	%rcx, %rsi
	jae	LBB0_8
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	leaq	12(%rdx), %rcx
	movl	$72, %esi
	.p2align	4, 0x90
LBB0_5:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	(%rax,%rsi,4), %edi
	movl	%edi, -12(%rcx)
	movl	-4(%rax,%rsi,4), %edi
	movl	%edi, -8(%rcx)
	movl	-8(%rax,%rsi,4), %edi
	movl	%edi, -4(%rcx)
	movl	-12(%rax,%rsi,4), %edi
	movl	%edi, (%rcx)
	addq	$16, %rcx
	addq	$-4, %rsi
	jne	LBB0_5
	jmp	LBB0_6
LBB0_7:
	movq	(%r15), %rax
	movq	(%rax), %rsi
	movq	%r15, %rdi
	callq	_dss_sp_update_state
	movq	(%r15), %rax
	movq	(%rax), %rsi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	$264, %edx                      ## imm = 0x108
	callq	_dss_sp_32to16bit
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SUBFRAMES,4,2                  ## @SUBFRAMES
	.comm	_dss_sp_adaptive_gain,8,3       ## @dss_sp_adaptive_gain
	.no_dead_strip	_dss_sp_decode_one_frame
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dss_sp_decode_one_frame
_dss_sp_decode_one_frame:               ; @dss_sp_decode_one_frame
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x1
	mov	x20, x0
	mov	x1, x2
	bl	_dss_sp_unpack_coeffs
	mov	x0, x20
	bl	_dss_sp_unpack_filter
	ldr	x0, [x20, #8]
	ldr	w1, [x20, #28]
	bl	_dss_sp_convert_coeffs
Lloh0:
	adrp	x21, _SUBFRAMES@GOTPAGE
Lloh1:
	ldr	x21, [x21, _SUBFRAMES@GOTPAGEOFF]
	ldr	w8, [x21]
	cmp	w8, #1
	b.lt	LBB0_8
; %bb.1:
	mov	x22, #0
Lloh2:
	adrp	x23, _dss_sp_adaptive_gain@GOTPAGE
Lloh3:
	ldr	x23, [x23, _dss_sp_adaptive_gain@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x9, x8, #260
	ldp	q1, q0, [x9]
	rev64.4s	v0, v0
	ext.16b	v0, v0, v0, #8
	rev64.4s	v1, v1
	ext.16b	v1, v1, v1, #8
	stp	q0, q1, [x2]
	ldur	q0, [x8, #244]
	rev64.4s	v0, v0
	ext.16b	v0, v0, v0, #8
	ldur	q1, [x8, #228]
	rev64.4s	v1, v1
	ext.16b	v1, v1, v1, #8
	stp	q0, q1, [x2, #32]
	ldur	q0, [x8, #212]
	rev64.4s	v0, v0
	ext.16b	v0, v0, v0, #8
	ldur	q1, [x8, #196]
	rev64.4s	v1, v1
	ext.16b	v1, v1, v1, #8
	stp	q0, q1, [x2, #64]
	ldur	q0, [x8, #180]
	rev64.4s	v0, v0
	ext.16b	v0, v0, v0, #8
	ldur	q1, [x8, #164]
	rev64.4s	v1, v1
	ext.16b	v1, v1, v1, #8
	stp	q0, q1, [x2, #96]
	ldur	q0, [x8, #148]
	rev64.4s	v0, v0
	ext.16b	v0, v0, v0, #8
	ldur	q1, [x8, #132]
	rev64.4s	v1, v1
	ext.16b	v1, v1, v1, #8
	stp	q0, q1, [x2, #128]
	ldur	q0, [x8, #116]
	rev64.4s	v0, v0
	ext.16b	v0, v0, v0, #8
	ldur	q1, [x8, #100]
	rev64.4s	v1, v1
	ext.16b	v1, v1, v1, #8
	stp	q0, q1, [x2, #160]
	ldur	q0, [x8, #84]
	rev64.4s	v0, v0
	ext.16b	v0, v0, v0, #8
	ldur	q1, [x8, #68]
	rev64.4s	v1, v1
	ext.16b	v1, v1, v1, #8
	stp	q0, q1, [x2, #192]
	ldur	q0, [x8, #52]
	rev64.4s	v0, v0
	ext.16b	v0, v0, v0, #8
	ldur	q1, [x8, #36]
	rev64.4s	v1, v1
	ext.16b	v1, v1, v1, #8
	stp	q0, q1, [x2, #224]
	ldur	q0, [x8, #20]
	rev64.4s	v0, v0
	ext.16b	v0, v0, v0, #8
	ldur	q1, [x8, #4]
	rev64.4s	v1, v1
	ext.16b	v1, v1, v1, #8
	stp	q0, q1, [x2, #256]
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldp	w1, w0, [x20, #24]
	bl	_dss_sp_shift_sq_sub
	ldp	x9, x8, [x20]
	ldr	w1, [x8]
	ldr	x2, [x9, x22, lsl #3]
	mov	x0, x20
	mov	w3, #72
	bl	_dss_sp_sf_synthesis
	add	x22, x22, #1
	ldrsw	x8, [x21]
	cmp	x22, x8
	b.ge	LBB0_8
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_7 Depth 2
	ldr	x0, [x20, #16]
	ldr	x8, [x20, #56]
	lsl	x24, x22, #2
	ldr	w2, [x8, x24]
	ldr	x8, [x23]
	ldp	x1, x9, [x20, #32]
	ldr	x9, [x9, x22, lsl #3]
	ldr	w3, [x8, x9, lsl #2]
	bl	_dss_sp_gen_exc
	ldr	x0, [x20, #16]
	ldr	x8, [x20, #48]
	add	x1, x8, x24
	bl	_dss_sp_add_pulses
	ldr	x0, [x20, #16]
	ldr	x1, [x20, #32]
	bl	_dss_sp_update_buf
	ldr	x8, [x20, #32]
	ldr	x2, [x20, #16]
	add	x9, x8, #292
	cmp	x2, x9
	b.hs	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x9, x2, #288
	add	x10, x8, #4
	cmp	x10, x9
	b.hs	LBB0_2
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x9, x2
	mov	w10, #288
LBB0_7:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w11, [x8, x10]
	str	w11, [x9], #4
	subs	x10, x10, #4
	b.ne	LBB0_7
	b	LBB0_3
LBB0_8:
	ldr	x8, [x20]
	ldr	x1, [x8]
	mov	x0, x20
	bl	_dss_sp_update_state
	ldr	x8, [x20]
	ldr	x1, [x8]
	mov	x0, x19
	mov	w2, #264
	bl	_dss_sp_32to16bit
	mov	w0, #0
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_SUBFRAMES,4,2                  ; @SUBFRAMES
	.comm	_dss_sp_adaptive_gain,8,3       ; @dss_sp_adaptive_gain
	.no_dead_strip	_dss_sp_decode_one_frame
.subsections_via_symbols
