	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dss_sp_update_state
_dss_sp_update_state:                   ## @dss_sp_update_state
	.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, %r12
	movq	%rdi, %r14
	movq	(%rdi), %rax
	movq	1168(%rax), %rcx
	movq	%rcx, 16(%rax)
	movups	1152(%rax), %xmm0
	movups	%xmm0, (%rax)
	movq	_SUBFRAMES@GOTPCREL(%rip), %rcx
	cmpl	$0, (%rcx)
	jle	LBB0_3
## %bb.1:
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r12,%rdx,4), %esi
	movl	%esi, 24(%rax,%rdx,4)
	incq	%rdx
	movslq	(%rcx), %rsi
	shlq	$3, %rsi
	leaq	(%rsi,%rsi,8), %rsi
	cmpq	%rsi, %rdx
	jl	LBB0_2
LBB0_3:
	xorl	%ebx, %ebx
	movl	$6, %r13d
	movq	_dss_sp_sinc@GOTPCREL(%rip), %r15
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r15), %rcx
	movslq	%r13d, %r13
	movslq	%ebx, %rbx
	movl	(%rcx,%rbx,4), %edx
	movl	44(%rcx,%rbx,4), %esi
	imull	(%rax,%r13,4), %edx
	imull	-4(%rax,%r13,4), %esi
	addl	%edx, %esi
	movl	88(%rcx,%rbx,4), %edx
	imull	-8(%rax,%r13,4), %edx
	addl	%esi, %edx
	movl	132(%rcx,%rbx,4), %esi
	imull	-12(%rax,%r13,4), %esi
	addl	%edx, %esi
	movl	176(%rcx,%rbx,4), %edx
	imull	-16(%rax,%r13,4), %edx
	addl	%esi, %edx
	movl	220(%rcx,%rbx,4), %edi
	imull	-20(%rax,%r13,4), %edi
	addl	%edx, %edi
	sarl	$15, %edi
	callq	_av_clip_int16
	movl	%eax, (%r12)
	incl	%ebx
	movslq	%ebx, %rbx
	imulq	$780903145, %rbx, %rax          ## imm = 0x2E8BA2E9
	movq	%rax, %rcx
	shrq	$63, %rcx
	sarq	$33, %rax
	addl	%ecx, %eax
	leal	(%rax,%rax,4), %ecx
	leal	(%rax,%rcx,2), %eax
	xorl	%ecx, %ecx
	subl	%eax, %ebx
	sete	%cl
	addl	%ecx, %r13d
	incl	%r13d
	movq	(%r14), %rdi
	callq	_FF_ARRAY_ELEMS
	cmpl	%eax, %r13d
	jge	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	(%r14), %rax
	addq	$4, %r12
	jmp	LBB0_4
LBB0_6:
	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_sinc,8,3                ## @dss_sp_sinc
	.no_dead_strip	_dss_sp_update_state
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dss_sp_update_state
_dss_sp_update_state:                   ; @dss_sp_update_state
	.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
	ldr	x8, [x0]
	ldr	q0, [x8, #1152]
	str	q0, [x8]
	ldr	x9, [x8, #1168]
	str	x9, [x8, #16]
Lloh0:
	adrp	x9, _SUBFRAMES@GOTPAGE
Lloh1:
	ldr	x9, [x9, _SUBFRAMES@GOTPAGEOFF]
	ldr	w10, [x9]
	cmp	w10, #1
	b.lt	LBB0_3
; %bb.1:
	mov	x10, #0
	add	x11, x8, #24
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	lsl	x12, x10, #2
	ldr	w13, [x19, x12]
	str	w13, [x11, x12]
	add	x10, x10, #1
	ldrsw	x12, [x9]
	add	x12, x12, x12, lsl #3
	cmp	x10, x12, lsl #3
	b.lt	LBB0_2
LBB0_3:
	mov	w23, #0
	mov	w26, #6
Lloh2:
	adrp	x21, _dss_sp_sinc@GOTPAGE
Lloh3:
	ldr	x21, [x21, _dss_sp_sinc@GOTPAGEOFF]
	mov	w22, #41705
	movk	w22, #11915, lsl #16
	mov	w24, #11
	mov	w25, #7
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x21]
	add	x8, x8, w26, sxtw #2
	ldr	w10, [x8]
	add	x9, x9, w23, sxtw #2
	ldr	w11, [x9]
	mul	w10, w11, w10
	ldur	w11, [x8, #-4]
	ldr	w12, [x9, #44]
	madd	w10, w12, w11, w10
	ldr	w11, [x9, #88]
	ldp	w13, w12, [x8, #-12]
	madd	w10, w11, w12, w10
	ldr	w11, [x9, #132]
	madd	w10, w11, w13, w10
	ldr	w11, [x9, #176]
	ldp	w8, w12, [x8, #-20]
	madd	w10, w11, w12, w10
	ldr	w9, [x9, #220]
	madd	w8, w9, w8, w10
	add	w9, w23, #1
	smull	x10, w9, w22
	lsr	x11, x10, #63
	asr	x10, x10, #33
	add	w10, w10, w11
	msub	w23, w10, w24, w9
	cmp	w23, #0
	cinc	w9, w25, eq
	add	w26, w26, w9
	asr	w0, w8, #15
	bl	_av_clip_int16
	str	w0, [x19]
	sub	w26, w26, #6
	ldr	x0, [x20]
	bl	_FF_ARRAY_ELEMS
	cmp	w26, w0
	b.ge	LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x20]
	add	x19, x19, #4
	b	LBB0_4
LBB0_6:
	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
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_SUBFRAMES,4,2                  ; @SUBFRAMES
	.comm	_dss_sp_sinc,8,3                ; @dss_sp_sinc
	.no_dead_strip	_dss_sp_update_state
.subsections_via_symbols
