	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_dca_lbr_filter_frame        ## -- Begin function ff_dca_lbr_filter_frame
	.p2align	4, 0x90
_ff_dca_lbr_filter_frame:               ## @ff_dca_lbr_filter_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
	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, %r14
	movq	%rdi, %r15
	movq	48(%rdi), %rdi
	movl	(%r15), %ebx
	andl	$7, %ebx
	movq	_channel_layouts@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	-4(%rax,%rbx,4), %eax
	movl	%eax, 4(%rdi)
	movq	_channel_counts@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movslq	-4(%rcx,%rbx,4), %rdx
	movl	%edx, (%rdi)
	movl	44(%r15), %ecx
	movl	%ecx, 28(%rdi)
	movq	_AV_SAMPLE_FMT_FLTP@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 24(%rdi)
	movq	$0, 16(%rdi)
	movq	_FF_PROFILE_DTS_EXPRESS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 12(%rdi)
	movl	40(%r15), %ecx
	movl	%ecx, 8(%rdi)
	movq	_LBR_FLAG_LFE_PRESENT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, 4(%r15)
	movq	%rdx, -72(%rbp)                 ## 8-byte Spill
	je	LBB0_1
## %bb.2:
	movq	_AV_CH_LOW_FREQUENCY@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	%eax, 4(%rdi)
	leal	1(%rdx), %eax
	movl	%eax, (%rdi)
	movq	_channel_reorder_lfe@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_channel_reorder_nolfe@GOTPCREL(%rip), %rax
LBB0_3:
	movq	(%rax), %rax
	movq	-8(%rax,%rbx,8), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movb	8(%r15), %cl
	movl	$1024, %eax                     ## imm = 0x400
	shll	%cl, %eax
	movl	%eax, (%r14)
	movq	%r14, %rsi
	xorl	%edx, %edx
	callq	_ff_get_buffer
	testl	%eax, %eax
	js	LBB0_18
## %bb.4:
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	movl	12(%r15), %esi
	testl	%esi, %esi
	jle	LBB0_15
## %bb.5:
	xorl	%r13d, %r13d
	xorl	%r14d, %r14d
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_6 Depth=1
	incq	%r14
	movl	12(%r15), %esi
	leal	1(%rsi), %eax
	shrl	$31, %eax
	addl	%esi, %eax
	incl	%eax
	sarl	%eax
	cltq
	addq	$2, %r13
	cmpq	%rax, %r14
	jge	LBB0_15
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	decl	%esi
	leal	1(%r13), %edi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_FFMIN
	movl	%eax, %ebx
	movq	%r15, %rdi
	movl	%r13d, %esi
	movl	%eax, %edx
	callq	_decode_grid
	movq	%r15, %rdi
	movl	%r13d, %esi
	movl	%ebx, %edx
	callq	_random_ts
	movq	%r15, %rdi
	movl	%r13d, %esi
	movl	%ebx, %edx
	callq	_filter_ts
	movl	%ebx, %r12d
	cmpq	%r12, %r13
	je	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movl	16(%r15), %eax
	btl	%r13d, %eax
	jae	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	%r15, %rdi
	movl	%r13d, %esi
	movl	%r12d, %edx
	callq	_decode_part_stereo
LBB0_9:                                 ##   in Loop: Header=BB0_6 Depth=1
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	cmpq	%rbx, %r13
	jge	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax), %rax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	(%rcx,%r13,8), %rcx
	movq	(%rax,%rcx,8), %rdx
	movq	%r15, %rdi
	movl	%r13d, %esi
	callq	_transform_channel
LBB0_11:                                ##   in Loop: Header=BB0_6 Depth=1
	cmpq	%r12, %r13
	je	LBB0_14
## %bb.12:                              ##   in Loop: Header=BB0_6 Depth=1
	cmpl	%ebx, %r12d
	jge	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax), %rax
	movslq	%r12d, %rsi
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	(%rcx,%rsi,8), %rcx
	movq	(%rax,%rcx,8), %rdx
	movq	%r15, %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_transform_channel
	jmp	LBB0_14
LBB0_15:
	movq	_LBR_FLAG_LFE_PRESENT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 4(%r15)
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	je	LBB0_17
## %bb.16:
	movq	32(%r15), %r9
	movq	8(%rbx), %rax
	movq	_lfe_index@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	movq	-8(%rcx,%rdx,8), %rcx
	movq	(%rax,%rcx,8), %rdi
	movl	24(%r15), %esi
	movq	_ff_dca_lfe_iir@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	20(%r15), %eax
	movb	8(%r15), %cl
	movl	$16, %r8d
	shll	%cl, %r8d
	movl	%eax, %ecx
	callq	*(%r9)
LBB0_17:
	movq	_AV_MATRIX_ENCODING_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_ff_side_data_update_matrix_encoding
	movl	%eax, %ecx
	sarl	$31, %ecx
	andl	%ecx, %eax
LBB0_18:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_channel_layouts,8,3            ## @channel_layouts
	.comm	_channel_counts,8,3             ## @channel_counts
	.comm	_AV_SAMPLE_FMT_FLTP,4,2         ## @AV_SAMPLE_FMT_FLTP
	.comm	_FF_PROFILE_DTS_EXPRESS,4,2     ## @FF_PROFILE_DTS_EXPRESS
	.comm	_LBR_FLAG_LFE_PRESENT,4,2       ## @LBR_FLAG_LFE_PRESENT
	.comm	_AV_CH_LOW_FREQUENCY,4,2        ## @AV_CH_LOW_FREQUENCY
	.comm	_channel_reorder_lfe,8,3        ## @channel_reorder_lfe
	.comm	_channel_reorder_nolfe,8,3      ## @channel_reorder_nolfe
	.comm	_lfe_index,8,3                  ## @lfe_index
	.comm	_ff_dca_lfe_iir,4,2             ## @ff_dca_lfe_iir
	.comm	_AV_MATRIX_ENCODING_NONE,4,2    ## @AV_MATRIX_ENCODING_NONE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_dca_lbr_filter_frame        ; -- Begin function ff_dca_lbr_filter_frame
	.p2align	2
_ff_dca_lbr_filter_frame:               ; @ff_dca_lbr_filter_frame
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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, x1
	mov	x20, x0
	ldr	x0, [x0, #48]
	ldp	w8, w9, [x20]
	and	x8, x8, #0x7
	sub	x23, x8, #1
Lloh0:
	adrp	x8, _channel_layouts@GOTPAGE
Lloh1:
	ldr	x8, [x8, _channel_layouts@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	lsl	x10, x23, #2
	ldr	w8, [x8, x10]
	str	w8, [x0, #4]
Lloh3:
	adrp	x11, _channel_counts@GOTPAGE
Lloh4:
	ldr	x11, [x11, _channel_counts@GOTPAGEOFF]
Lloh5:
	ldr	x11, [x11]
	ldrsw	x24, [x11, x10]
	str	w24, [x0]
Lloh6:
	adrp	x10, _AV_SAMPLE_FMT_FLTP@GOTPAGE
Lloh7:
	ldr	x10, [x10, _AV_SAMPLE_FMT_FLTP@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
	ldp	w12, w11, [x20, #40]
	stp	w10, w11, [x0, #24]
	str	xzr, [x0, #16]
Lloh9:
	adrp	x10, _FF_PROFILE_DTS_EXPRESS@GOTPAGE
Lloh10:
	ldr	x10, [x10, _FF_PROFILE_DTS_EXPRESS@GOTPAGEOFF]
Lloh11:
	ldr	w10, [x10]
	stp	w12, w10, [x0, #8]
Lloh12:
	adrp	x25, _LBR_FLAG_LFE_PRESENT@GOTPAGE
Lloh13:
	ldr	x25, [x25, _LBR_FLAG_LFE_PRESENT@GOTPAGEOFF]
	ldr	w10, [x25]
	tst	w10, w9
	b.eq	LBB0_2
; %bb.1:
Lloh14:
	adrp	x9, _AV_CH_LOW_FREQUENCY@GOTPAGE
Lloh15:
	ldr	x9, [x9, _AV_CH_LOW_FREQUENCY@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	orr	w8, w9, w8
	add	w9, w24, #1
	stp	w9, w8, [x0]
Lloh17:
	adrp	x8, _channel_reorder_lfe@GOTPAGE
Lloh18:
	ldr	x8, [x8, _channel_reorder_lfe@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:
Lloh19:
	adrp	x8, _channel_reorder_nolfe@GOTPAGE
Lloh20:
	ldr	x8, [x8, _channel_reorder_nolfe@GOTPAGEOFF]
LBB0_3:
	ldr	x8, [x8]
	ldr	x26, [x8, x23, lsl #3]
	ldr	w8, [x20, #8]
	mov	w9, #1024
	lsl	w8, w9, w8
	str	w8, [x19]
	mov	x1, x19
	mov	w2, #0
	bl	_ff_get_buffer
	tbnz	w0, #31, LBB0_18
; %bb.4:
	ldr	w8, [x20, #12]
	cmp	w8, #1
	b.lt	LBB0_15
; %bb.5:
	mov	x21, #0
	mov	x27, #0
	b	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	add	x27, x27, #1
	ldr	w8, [x20, #12]
	add	w9, w8, #1
	add	w10, w8, #2
	cmp	w9, #0
	csinc	w9, w10, w8, lt
	asr	w9, w9, #1
	add	x21, x21, #2
	cmp	x27, w9, sxtw
	b.ge	LBB0_15
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	sub	w1, w8, #1
	add	w0, w21, #1
	bl	_FFMIN
	mov	x22, x0
	mov	x0, x20
	mov	x1, x21
	mov	x2, x22
	bl	_decode_grid
	mov	x0, x20
	mov	x1, x21
	mov	x2, x22
	bl	_random_ts
	mov	x0, x20
	mov	x1, x21
	mov	x2, x22
	bl	_filter_ts
	mov	w22, w22
	cmp	x21, x22
	b.eq	LBB0_10
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	w8, [x20, #16]
	lsr	w8, w8, w21
	tbz	w8, #0, LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x20
	mov	x1, x21
	mov	x2, x22
	bl	_decode_part_stereo
LBB0_10:                                ;   in Loop: Header=BB0_7 Depth=1
	cmp	x21, x24
	b.ge	LBB0_12
; %bb.11:                               ;   in Loop: Header=BB0_7 Depth=1
	ldr	x8, [x19, #8]
	ldr	x9, [x26, x21, lsl #3]
	ldr	x2, [x8, x9, lsl #3]
	mov	x0, x20
	mov	x1, x21
	bl	_transform_channel
LBB0_12:                                ;   in Loop: Header=BB0_7 Depth=1
	cmp	x21, x22
	b.eq	LBB0_6
; %bb.13:                               ;   in Loop: Header=BB0_7 Depth=1
	cmp	w22, w24
	b.ge	LBB0_6
; %bb.14:                               ;   in Loop: Header=BB0_7 Depth=1
	ldr	x8, [x19, #8]
	ldr	x9, [x26, w22, sxtw #3]
	ldr	x2, [x8, x9, lsl #3]
	mov	x0, x20
	mov	x1, x22
	bl	_transform_channel
	b	LBB0_6
LBB0_15:
	ldr	w8, [x20, #4]
	ldr	w9, [x25]
	tst	w9, w8
	b.eq	LBB0_17
; %bb.16:
	ldr	x8, [x20, #32]
	ldr	x8, [x8]
	ldr	x9, [x19, #8]
Lloh21:
	adrp	x10, _lfe_index@GOTPAGE
Lloh22:
	ldr	x10, [x10, _lfe_index@GOTPAGEOFF]
Lloh23:
	ldr	x10, [x10]
	ldr	x10, [x10, x23, lsl #3]
	ldr	x0, [x9, x10, lsl #3]
Lloh24:
	adrp	x9, _ff_dca_lfe_iir@GOTPAGE
Lloh25:
	ldr	x9, [x9, _ff_dca_lfe_iir@GOTPAGEOFF]
Lloh26:
	ldr	w2, [x9]
	ldp	w3, w1, [x20, #20]
	ldr	w9, [x20, #8]
	mov	w10, #16
	lsl	w4, w10, w9
	blr	x8
LBB0_17:
Lloh27:
	adrp	x8, _AV_MATRIX_ENCODING_NONE@GOTPAGE
Lloh28:
	ldr	x8, [x8, _AV_MATRIX_ENCODING_NONE@GOTPAGEOFF]
Lloh29:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_ff_side_data_update_matrix_encoding
	cmp	w0, #0
	csel	w0, w0, wzr, lt
LBB0_18:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.cfi_endproc
                                        ; -- End function
	.comm	_channel_layouts,8,3            ; @channel_layouts
	.comm	_channel_counts,8,3             ; @channel_counts
	.comm	_AV_SAMPLE_FMT_FLTP,4,2         ; @AV_SAMPLE_FMT_FLTP
	.comm	_FF_PROFILE_DTS_EXPRESS,4,2     ; @FF_PROFILE_DTS_EXPRESS
	.comm	_LBR_FLAG_LFE_PRESENT,4,2       ; @LBR_FLAG_LFE_PRESENT
	.comm	_AV_CH_LOW_FREQUENCY,4,2        ; @AV_CH_LOW_FREQUENCY
	.comm	_channel_reorder_lfe,8,3        ; @channel_reorder_lfe
	.comm	_channel_reorder_nolfe,8,3      ; @channel_reorder_nolfe
	.comm	_lfe_index,8,3                  ; @lfe_index
	.comm	_ff_dca_lfe_iir,4,2             ; @ff_dca_lfe_iir
	.comm	_AV_MATRIX_ENCODING_NONE,4,2    ; @AV_MATRIX_ENCODING_NONE
.subsections_via_symbols
