	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sbc_synthesize_four
_sbc_synthesize_four:                   ## @sbc_synthesize_four
	.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
	movq	%rsi, %r12
	movslq	%edx, %r9
	movq	(%rdi), %rax
	movq	8(%rdi), %rdx
	movq	(%rax,%r9,8), %r15
	movq	(%rdx,%r9,8), %r14
	leaq	320(%r15), %rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movslq	%ecx, %r11
	xorl	%r13d, %r13d
	movq	_ff_synmatrix4@GOTPCREL(%rip), %rbx
	movq	%r8, -64(%rbp)                  ## 8-byte Spill
	movq	%r9, -56(%rbp)                  ## 8-byte Spill
	movq	%r11, -72(%rbp)                 ## 8-byte Spill
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	(%rbx), %rcx
	movq	(%rcx,%r13,8), %rcx
	movq	(%r12), %rdx
	movq	(%rdx,%r11,8), %rdx
	movq	(%rdx,%r9,8), %rdx
	movl	(%rdx), %esi
	movl	4(%rdx), %edi
	imull	(%rcx), %esi
	imull	8(%rcx), %edi
	addl	%esi, %edi
	movl	8(%rdx), %esi
	imull	16(%rcx), %esi
	addl	%edi, %esi
	movl	12(%rdx), %edx
	imull	24(%rcx), %edx
	addl	%esi, %edx
	sarl	$15, %edx
	cltq
	movl	%edx, (%r15,%rax,4)
	incq	%r13
	cmpq	$8, %r13
	je	LBB0_4
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r14,%r13,4), %ecx
	leal	-1(%rcx), %eax
	movl	%eax, (%r14,%r13,4)
	testl	%ecx, %ecx
	jg	LBB0_3
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	$79, (%r14,%r13,4)
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	movq	%r15, %rsi
	movl	$36, %edx
	callq	_memcpy
	movq	-72(%rbp), %r11                 ## 8-byte Reload
	movq	-56(%rbp), %r9                  ## 8-byte Reload
	movq	-64(%rbp), %r8                  ## 8-byte Reload
	movl	(%r14,%r13,4), %eax
	jmp	LBB0_3
LBB0_4:
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	shll	$3, %eax
	movslq	%eax, %r12
	shlq	$2, %r12
	addq	$16, %r14
	movl	$4, %r13d
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movslq	-16(%r14), %rax
	movq	_ff_sbc_proto_4_40m0@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdx
	movl	-16(%rdx,%r13,4), %edi
	imull	(%r15,%rax,4), %edi
	movslq	(%r14), %rcx
	movq	_ff_sbc_proto_4_40m1@GOTPCREL(%rip), %rsi
	movq	(%rsi), %rsi
	movl	-16(%rsi,%r13,4), %ebx
	imull	4(%r15,%rcx,4), %ebx
	addl	%edi, %ebx
	movl	-12(%rdx,%r13,4), %edi
	imull	8(%r15,%rax,4), %edi
	addl	%ebx, %edi
	movl	-12(%rsi,%r13,4), %ebx
	imull	12(%r15,%rcx,4), %ebx
	addl	%edi, %ebx
	movl	-8(%rdx,%r13,4), %edi
	imull	16(%r15,%rax,4), %edi
	addl	%ebx, %edi
	movl	-8(%rsi,%r13,4), %ebx
	imull	20(%r15,%rcx,4), %ebx
	addl	%edi, %ebx
	movl	-4(%rdx,%r13,4), %edi
	imull	24(%r15,%rax,4), %edi
	addl	%ebx, %edi
	movl	-4(%rsi,%r13,4), %ebx
	imull	28(%r15,%rcx,4), %ebx
	addl	%edi, %ebx
	movl	(%rdx,%r13,4), %edx
	imull	32(%r15,%rax,4), %edx
	addl	%ebx, %edx
	movl	(%rsi,%r13,4), %edi
	imull	36(%r15,%rcx,4), %edi
	addl	%edx, %edi
	movq	(%r8), %rax
	movq	(%rax,%r9,8), %rbx
	addq	%r12, %rbx
	sarl	$15, %edi
	callq	_av_clip_int16
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_AV_WN16A
	movq	-56(%rbp), %r9                  ## 8-byte Reload
	movq	-64(%rbp), %r8                  ## 8-byte Reload
	addq	$5, %r13
	addq	$8, %r12
	addq	$4, %r14
	cmpq	$24, %r13
	jne	LBB0_5
## %bb.6:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ff_synmatrix4,8,3              ## @ff_synmatrix4
	.comm	_ff_sbc_proto_4_40m0,8,3        ## @ff_sbc_proto_4_40m0
	.comm	_ff_sbc_proto_4_40m1,8,3        ## @ff_sbc_proto_4_40m1
	.no_dead_strip	_sbc_synthesize_four
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sbc_synthesize_four
_sbc_synthesize_four:                   ; @sbc_synthesize_four
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x4
                                        ; kill: def $w3 killed $w3 def $x3
                                        ; kill: def $w2 killed $w2 def $x2
	mov	x22, x1
	mov	x25, #0
	sbfiz	x8, x2, #3, #32
	ldp	x9, x10, [x0]
	ldr	x20, [x9, x8]
	ldr	x26, [x10, x8]
	sxtw	x24, w2
	add	x23, x20, #320
	str	x3, [sp, #8]                    ; 8-byte Folded Spill
	sxtw	x27, w3
Lloh0:
	adrp	x21, _ff_synmatrix4@GOTPAGE
Lloh1:
	ldr	x21, [x21, _ff_synmatrix4@GOTPAGEOFF]
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	x9, [x21]
	ldr	x9, [x9, x25, lsl #3]
	ldr	w10, [x9]
	ldr	x11, [x22]
	ldr	x11, [x11, x27, lsl #3]
	ldr	x11, [x11, x24, lsl #3]
	ldp	w12, w13, [x11]
	mul	w10, w12, w10
	ldr	w12, [x9, #8]
	madd	w10, w13, w12, w10
	ldr	w12, [x9, #16]
	ldp	w13, w11, [x11, #8]
	madd	w10, w13, w12, w10
	ldr	w9, [x9, #24]
	madd	w9, w11, w9, w10
	asr	w9, w9, #15
	str	w9, [x20, w8, sxtw #2]
	add	x25, x25, #1
	cmp	x25, #8
	b.eq	LBB0_4
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	lsl	x28, x25, #2
	ldr	w9, [x26, x28]
	sub	w8, w9, #1
	str	w8, [x26, x28]
	cmp	w9, #0
	b.gt	LBB0_1
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	w8, #79
	str	w8, [x26, x28]
	mov	x0, x23
	mov	x1, x20
	mov	w2, #36
	bl	_memcpy
	ldr	w8, [x26, x28]
	b	LBB0_1
LBB0_4:
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	lsl	w8, w8, #3
	add	x22, x26, #16
	sbfiz	x23, x8, #2, #32
	mov	w25, #16
Lloh2:
	adrp	x26, _ff_sbc_proto_4_40m0@GOTPAGE
Lloh3:
	ldr	x26, [x26, _ff_sbc_proto_4_40m0@GOTPAGEOFF]
Lloh4:
	adrp	x27, _ff_sbc_proto_4_40m1@GOTPAGE
Lloh5:
	ldr	x27, [x27, _ff_sbc_proto_4_40m1@GOTPAGEOFF]
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldursw	x8, [x22, #-16]
	ldr	w9, [x20, x8, lsl #2]
	ldr	x10, [x26]
	add	x10, x10, x25
	ldp	w11, w12, [x10, #-16]
	mul	w9, w11, w9
	ldr	w11, [x22], #4
	add	w13, w11, #1
	ldr	w13, [x20, w13, sxtw #2]
	ldr	x14, [x27]
	add	x14, x14, x25
	ldp	w15, w16, [x14, #-16]
	madd	w9, w15, w13, w9
	add	w13, w8, #2
	ldr	w13, [x20, w13, sxtw #2]
	madd	w9, w12, w13, w9
	add	w12, w11, #3
	ldr	w12, [x20, w12, sxtw #2]
	madd	w9, w16, w12, w9
	add	w12, w8, #4
	ldr	w12, [x20, w12, sxtw #2]
	ldp	w13, w15, [x10, #-8]
	madd	w9, w13, w12, w9
	add	w12, w11, #5
	ldr	w12, [x20, w12, sxtw #2]
	ldp	w13, w16, [x14, #-8]
	madd	w9, w13, w12, w9
	add	w12, w8, #6
	ldr	w12, [x20, w12, sxtw #2]
	madd	w9, w15, w12, w9
	ldr	x12, [x19]
	ldr	x12, [x12, x24, lsl #3]
	add	x21, x12, x23
	add	w12, w11, #7
	ldr	w12, [x20, w12, sxtw #2]
	madd	w9, w16, w12, w9
	add	w8, w8, #8
	ldr	w8, [x20, w8, sxtw #2]
	ldr	w10, [x10]
	madd	w8, w10, w8, w9
	add	w9, w11, #9
	ldr	w9, [x20, w9, sxtw #2]
	ldr	w10, [x14]
	madd	w8, w10, w9, w8
	asr	w0, w8, #15
	bl	_av_clip_int16
	mov	x1, x0
	mov	x0, x21
	bl	_AV_WN16A
	add	x25, x25, #20
	add	x23, x23, #8
	cmp	x25, #96
	b.ne	LBB0_5
; %bb.6:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_ff_synmatrix4,8,3              ; @ff_synmatrix4
	.comm	_ff_sbc_proto_4_40m0,8,3        ; @ff_sbc_proto_4_40m0
	.comm	_ff_sbc_proto_4_40m1,8,3        ; @ff_sbc_proto_4_40m1
	.no_dead_strip	_sbc_synthesize_four
.subsections_via_symbols
