	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_ac3dsp_downmix_fixed        ## -- Begin function ff_ac3dsp_downmix_fixed
	.p2align	4, 0x90
_ff_ac3dsp_downmix_fixed:               ## @ff_ac3dsp_downmix_fixed
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	.cfi_offset %rbx, -24
	movq	%rsi, %r10
	cmpl	%r8d, (%rdi)
	jne	LBB0_2
## %bb.1:
	cmpl	%ecx, 4(%rdi)
	jne	LBB0_2
## %bb.13:
	movq	8(%rdi), %rax
	testq	%rax, %rax
	jne	LBB0_12
	jmp	LBB0_14
LBB0_2:
	movl	%r8d, (%rdi)
	movl	%ecx, 4(%rdi)
	movq	$0, 8(%rdi)
	cmpl	$2, %ecx
	jne	LBB0_6
## %bb.3:
	cmpl	$5, %r8d
	jne	LBB0_6
## %bb.4:
	movq	(%rdx), %r11
	movq	8(%rdx), %rsi
	movl	8(%r11), %eax
	orl	(%rsi), %eax
	orl	12(%rsi), %eax
	orl	16(%r11), %eax
	movl	4(%rsi), %ebx
	movl	8(%rsi), %esi
	xorl	4(%r11), %ebx
	orl	%eax, %ebx
	xorl	(%r11), %esi
	orl	%ebx, %esi
	jne	LBB0_14
## %bb.5:
	movq	_ac3_downmix_5_to_2_symmetric_c_fixed@GOTPCREL(%rip), %rax
	jmp	LBB0_11
LBB0_6:
	cmpl	$1, %ecx
	jne	LBB0_14
## %bb.7:
	cmpl	$5, %r8d
	jne	LBB0_14
## %bb.8:
	movq	(%rdx), %rax
	movl	(%rax), %esi
	cmpl	8(%rax), %esi
	jne	LBB0_14
## %bb.9:
	movl	12(%rax), %esi
	cmpl	16(%rax), %esi
	jne	LBB0_14
## %bb.10:
	movq	_ac3_downmix_5_to_1_symmetric_c_fixed@GOTPCREL(%rip), %rax
LBB0_11:
	movq	%rax, 8(%rdi)
LBB0_12:
	movq	%r10, %rdi
	movq	%rdx, %rsi
	movl	%r9d, %edx
	popq	%rbx
	popq	%rbp
	jmpq	*%rax                           ## TAILCALL
LBB0_14:
	movq	%r10, %rdi
	movq	%rdx, %rsi
	movl	%ecx, %edx
	movl	%r8d, %ecx
	movl	%r9d, %r8d
	popq	%rbx
	popq	%rbp
	jmp	_ac3_downmix_c_fixed            ## TAILCALL
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_ac3dsp_downmix_fixed        ; -- Begin function ff_ac3dsp_downmix_fixed
	.p2align	2
_ff_ac3dsp_downmix_fixed:               ; @ff_ac3dsp_downmix_fixed
	.cfi_startproc
; %bb.0:
	ldr	w8, [x0]
	cmp	w8, w4
	b.ne	LBB0_3
; %bb.1:
	ldr	w8, [x0, #4]
	cmp	w8, w3
	b.ne	LBB0_3
; %bb.2:
	ldr	x6, [x0, #8]
	cbnz	x6, LBB0_13
	b	LBB0_14
LBB0_3:
	stp	w4, w3, [x0]
	str	xzr, [x0, #8]
	cmp	w3, #2
	b.ne	LBB0_7
; %bb.4:
	cmp	w4, #5
	b.ne	LBB0_7
; %bb.5:
	ldp	x9, x8, [x2]
	ldr	w10, [x9, #8]
	ldp	w11, w12, [x8]
	orr	w10, w10, w11
	ldp	w8, w11, [x8, #8]
	orr	w10, w10, w11
	ldr	w11, [x9, #16]
	orr	w10, w10, w11
	ldp	w9, w11, [x9]
	eor	w11, w12, w11
	orr	w10, w10, w11
	eor	w8, w8, w9
	orr	w8, w10, w8
	cbnz	w8, LBB0_14
; %bb.6:
Lloh0:
	adrp	x6, _ac3_downmix_5_to_2_symmetric_c_fixed@GOTPAGE
Lloh1:
	ldr	x6, [x6, _ac3_downmix_5_to_2_symmetric_c_fixed@GOTPAGEOFF]
	b	LBB0_12
LBB0_7:
	cmp	w3, #1
	b.ne	LBB0_14
; %bb.8:
	cmp	w4, #5
	b.ne	LBB0_14
; %bb.9:
	ldr	x8, [x2]
	ldr	w9, [x8]
	ldr	w10, [x8, #8]
	cmp	w9, w10
	b.ne	LBB0_14
; %bb.10:
	ldp	w9, w8, [x8, #12]
	cmp	w9, w8
	b.ne	LBB0_14
; %bb.11:
Lloh2:
	adrp	x6, _ac3_downmix_5_to_1_symmetric_c_fixed@GOTPAGE
Lloh3:
	ldr	x6, [x6, _ac3_downmix_5_to_1_symmetric_c_fixed@GOTPAGEOFF]
LBB0_12:
	str	x6, [x0, #8]
LBB0_13:
	mov	x0, x1
	mov	x1, x2
	mov	x2, x5
	br	x6
LBB0_14:
	mov	x0, x1
	mov	x1, x2
	mov	x2, x3
	mov	x3, x4
	mov	x4, x5
	b	_ac3_downmix_c_fixed
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
