	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function combine_residual_frame
_combine_residual_frame:                ## @combine_residual_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	$104, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	8(%rdi), %rdi
	movq	(%rdi), %r15
	movq	_DCA_PACKET_CORE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r15)
	je	LBB0_30
## %bb.1:
	movq	%rsi, %rbx
	movq	(%rsi), %r8
	movq	8(%r15), %rcx
	cmpq	%rcx, %r8
	jne	LBB0_31
## %bb.2:
	movl	(%r14), %r8d
	movl	16(%r15), %ecx
	cmpl	%ecx, %r8d
	jne	LBB0_32
## %bb.3:
	movq	%r8, -48(%rbp)                  ## 8-byte Spill
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_find_next_hier_dmix_chset
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	cmpl	$0, 8(%rbx)
	jle	LBB0_33
## %bb.4:
	movq	%r14, -72(%rbp)                 ## 8-byte Spill
	movq	%r15, -128(%rbp)                ## 8-byte Spill
	leaq	8(%r15), %rax
	movq	%rax, -136(%rbp)                ## 8-byte Spill
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	%eax, %ecx
	andl	$-8, %ecx
	movq	%rcx, -112(%rbp)                ## 8-byte Spill
	addq	$-8, %rcx
	movq	%rcx, -104(%rbp)                ## 8-byte Spill
	movq	%rcx, %rdx
	shrq	$3, %rdx
	incq	%rdx
	movq	%rdx, %rcx
	movq	%rdx, -96(%rbp)                 ## 8-byte Spill
	andq	$-2, %rdx
	movq	%rdx, -88(%rbp)                 ## 8-byte Spill
	negq	%rax
	movq	%rax, -120(%rbp)                ## 8-byte Spill
	xorl	%ecx, %ecx
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_6 Depth=1
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	incq	%rcx
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movslq	8(%rbx), %rax
	cmpq	%rax, %rcx
	jge	LBB0_33
LBB0_6:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_12 Depth 2
                                        ##     Child Loop BB0_21 Depth 2
                                        ##     Child Loop BB0_29 Depth 2
	movl	12(%rbx), %eax
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	btl	%ecx, %eax
	jb	LBB0_5
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	movq	16(%r13), %rax
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movl	(%rax,%rbx,4), %esi
	movq	-136(%rbp), %rdi                ## 8-byte Reload
	callq	_ff_dca_core_map_spkr
	testl	%eax, %eax
	js	LBB0_34
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=1
	movl	%eax, %r14d
	movl	24(%r13), %r12d
	movq	-72(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rdi
	movq	%r13, %rsi
	xorl	%edx, %edx
	movl	%ebx, %ecx
	callq	_chs_get_lsb_width
	movl	%eax, %r9d
	subl	%r12d, %r9d
	addl	$24, %r9d
	cmpl	$25, %r9d
	jge	LBB0_35
## %bb.9:                               ##   in Loop: Header=BB0_6 Depth=1
	leal	-1(%r9), %ecx
	movl	$1, %edx
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %edx
	testl	%r9d, %r9d
	movl	$0, %eax
	cmovlel	%eax, %edx
	movq	-128(%rbp), %rax                ## 8-byte Reload
	movq	24(%rax), %rax
	movl	%r14d, %ecx
	movq	(%rax,%rcx,8), %r8
	movq	48(%r13), %rax
	movq	(%rax), %rax
	movq	(%rax,%rbx,8), %rbx
	cmpq	$0, -80(%rbp)                   ## 8-byte Folded Reload
	je	LBB0_13
## %bb.10:                              ##   in Loop: Header=BB0_6 Depth=1
	cmpl	$0, -48(%rbp)                   ## 4-byte Folded Reload
	movq	%rdx, -144(%rbp)                ## 8-byte Spill
	jle	LBB0_5
## %bb.11:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	%r9, %r14
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movslq	40(%rax), %rax
	movslq	-64(%rbp), %rcx                 ## 4-byte Folded Reload
	addq	%rax, %rcx
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movq	32(%rax), %rax
	movl	(%rax,%rcx,4), %r12d
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_12:                                ##   Parent Loop BB0_6 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	(%r8,%r15,4), %edi
	movl	%r12d, %esi
	movq	%r8, %r13
	callq	_mul16
                                        ## kill: def $eax killed $eax def $rax
	movq	-144(%rbp), %rcx                ## 8-byte Reload
	leal	(%rax,%rcx), %edi
	movl	%r14d, %ecx
	sarl	%cl, %edi
	callq	_clip23
	movq	%r13, %r8
	addl	%eax, (%rbx,%r15,4)
	incq	%r15
	cmpq	%r15, -48(%rbp)                 ## 8-byte Folded Reload
	jne	LBB0_12
	jmp	LBB0_5
LBB0_13:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	testl	%esi, %esi
	jle	LBB0_5
## %bb.14:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	%rdx, %rdi
	cmpl	$8, %esi
	jb	LBB0_15
## %bb.16:                              ##   in Loop: Header=BB0_6 Depth=1
	leaq	(%r8,%rsi,4), %rax
	cmpq	%rax, %rbx
	jae	LBB0_19
## %bb.17:                              ##   in Loop: Header=BB0_6 Depth=1
	leaq	(%rbx,%rsi,4), %rax
	cmpq	%rax, %r8
	jae	LBB0_19
LBB0_15:                                ##   in Loop: Header=BB0_6 Depth=1
	xorl	%edx, %edx
LBB0_26:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	%rdx, %rax
	testb	$1, %sil
	je	LBB0_28
## %bb.27:                              ##   in Loop: Header=BB0_6 Depth=1
	movl	(%r8,%rdx,4), %eax
	addl	%edi, %eax
	movl	%r9d, %ecx
	sarl	%cl, %eax
	addl	%eax, (%rbx,%rdx,4)
	movq	%rdx, %rax
	orq	$1, %rax
LBB0_28:                                ##   in Loop: Header=BB0_6 Depth=1
	notq	%rdx
	cmpq	-120(%rbp), %rdx                ## 8-byte Folded Reload
	je	LBB0_5
	.p2align	4, 0x90
LBB0_29:                                ##   Parent Loop BB0_6 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	(%r8,%rax,4), %edx
	addl	%edi, %edx
	movl	%r9d, %ecx
	sarl	%cl, %edx
	addl	%edx, (%rbx,%rax,4)
	movl	4(%r8,%rax,4), %edx
	addl	%edi, %edx
	sarl	%cl, %edx
	addl	%edx, 4(%rbx,%rax,4)
	addq	$2, %rax
	cmpq	%rax, %rsi
	jne	LBB0_29
	jmp	LBB0_5
LBB0_19:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	%rdi, %rax
	movd	%eax, %xmm0
	pshufd	$0, %xmm0, %xmm1                ## xmm1 = xmm0[0,0,0,0]
	movq	%r9, %rax
	movd	%eax, %xmm0
	pmovzxdq	%xmm0, %xmm0                    ## xmm0 = xmm0[0],zero,xmm0[1],zero
	cmpq	$0, -104(%rbp)                  ## 8-byte Folded Reload
	je	LBB0_22
## %bb.20:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	-88(%rbp), %rdx                 ## 8-byte Reload
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_21:                                ##   Parent Loop BB0_6 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movdqu	(%r8,%rax,4), %xmm2
	movdqu	16(%r8,%rax,4), %xmm3
	paddd	%xmm1, %xmm2
	paddd	%xmm1, %xmm3
	psrad	%xmm0, %xmm2
	psrad	%xmm0, %xmm3
	movdqu	(%rbx,%rax,4), %xmm4
	paddd	%xmm2, %xmm4
	movdqu	16(%rbx,%rax,4), %xmm2
	paddd	%xmm3, %xmm2
	movdqu	32(%rbx,%rax,4), %xmm3
	movdqu	48(%rbx,%rax,4), %xmm5
	movdqu	%xmm4, (%rbx,%rax,4)
	movdqu	%xmm2, 16(%rbx,%rax,4)
	movdqu	32(%r8,%rax,4), %xmm2
	movdqu	48(%r8,%rax,4), %xmm4
	paddd	%xmm1, %xmm2
	paddd	%xmm1, %xmm4
	psrad	%xmm0, %xmm2
	paddd	%xmm3, %xmm2
	psrad	%xmm0, %xmm4
	paddd	%xmm5, %xmm4
	movdqu	%xmm2, 32(%rbx,%rax,4)
	movdqu	%xmm4, 48(%rbx,%rax,4)
	addq	$16, %rax
	addq	$-2, %rdx
	jne	LBB0_21
	jmp	LBB0_23
LBB0_22:                                ##   in Loop: Header=BB0_6 Depth=1
	xorl	%eax, %eax
LBB0_23:                                ##   in Loop: Header=BB0_6 Depth=1
	testb	$1, -96(%rbp)                   ## 1-byte Folded Reload
	je	LBB0_25
## %bb.24:                              ##   in Loop: Header=BB0_6 Depth=1
	movdqu	(%r8,%rax,4), %xmm2
	movdqu	16(%r8,%rax,4), %xmm3
	paddd	%xmm1, %xmm2
	paddd	%xmm1, %xmm3
	psrad	%xmm0, %xmm2
	psrad	%xmm0, %xmm3
	movdqu	(%rbx,%rax,4), %xmm0
	paddd	%xmm2, %xmm0
	movdqu	16(%rbx,%rax,4), %xmm1
	paddd	%xmm3, %xmm1
	movdqu	%xmm0, (%rbx,%rax,4)
	movdqu	%xmm1, 16(%rbx,%rax,4)
LBB0_25:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	-112(%rbp), %rax                ## 8-byte Reload
	movq	%rax, %rdx
	cmpq	%rsi, %rax
	je	LBB0_5
	jmp	LBB0_26
LBB0_30:
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	xorl	%eax, %eax
	callq	_av_log
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addq	$104, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_AVERROR                        ## TAILCALL
LBB0_31:
	movq	_AV_LOG_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.1(%rip), %rdx
	xorl	%eax, %eax
	callq	_av_log
	jmp	LBB0_37
LBB0_32:
	movq	_AV_LOG_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.2(%rip), %rdx
                                        ## kill: def $r8d killed $r8d killed $r8
	xorl	%eax, %eax
	callq	_av_log
	jmp	LBB0_37
LBB0_33:
	xorl	%eax, %eax
	jmp	LBB0_38
LBB0_34:
	movl	%ebx, %eax
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movq	8(%rcx), %rdi
	movq	_AV_LOG_WARNING@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	16(%r13), %rcx
	movl	(%rcx,%rax,4), %ecx
	leaq	L_.str.3(%rip), %rdx
	jmp	LBB0_36
LBB0_35:
	movq	8(%r15), %rdi
	movq	_AV_LOG_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.4(%rip), %rdx
	movl	%r9d, %ecx
LBB0_36:
	xorl	%eax, %eax
	callq	_av_log
LBB0_37:
	movq	_AVERROR_INVALIDDATA@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_38:
	addq	$104, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DCA_PACKET_CORE,4,2            ## @DCA_PACKET_CORE
	.comm	_AV_LOG_ERROR,4,2               ## @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Residual encoded channels are present without core\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_AV_LOG_WARNING,4,2             ## @AV_LOG_WARNING
L_.str.1:                               ## @.str.1
	.asciz	"Sample rate mismatch between core (%d Hz) and XLL (%d Hz)\n"

	.comm	_AVERROR_INVALIDDATA,4,2        ## @AVERROR_INVALIDDATA
L_.str.2:                               ## @.str.2
	.asciz	"Number of samples per frame mismatch between core (%d) and XLL (%d)\n"

L_.str.3:                               ## @.str.3
	.asciz	"Residual encoded channel (%d) references unavailable core channel\n"

L_.str.4:                               ## @.str.4
	.asciz	"Invalid core shift (%d bits)\n"

	.no_dead_strip	_combine_residual_frame
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function combine_residual_frame
_combine_residual_frame:                ; @combine_residual_frame
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x28, x27, [sp, #64]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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	x20, x0
	ldr	x0, [x0, #8]
	ldr	x25, [x0]
	ldr	w8, [x25]
Lloh0:
	adrp	x9, _DCA_PACKET_CORE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _DCA_PACKET_CORE@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_22
; %bb.1:
	mov	x19, x1
	ldr	x8, [x1]
	mov	x21, x25
	ldr	x9, [x21, #8]!
	cmp	x8, x9
	b.ne	LBB0_23
; %bb.2:
	ldr	w23, [x20]
	ldr	w8, [x25, #16]
	cmp	w23, w8
	b.ne	LBB0_24
; %bb.3:
	mov	x0, x20
	mov	x1, x19
	bl	_find_next_hier_dmix_chset
	str	x0, [sp, #48]                   ; 8-byte Folded Spill
	ldr	w8, [x19, #8]
	cmp	w8, #1
	b.lt	LBB0_27
; %bb.4:
	mov	x22, #0
	and	x8, x23, #0xfffffff0
	str	x8, [sp, #24]                   ; 8-byte Folded Spill
	str	x23, [sp, #56]                  ; 8-byte Folded Spill
	lsl	x8, x23, #2
	stp	x8, x21, [sp, #32]              ; 16-byte Folded Spill
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	x22, x22, #1
	ldrsw	x8, [x19, #8]
	cmp	x22, x8
	b.ge	LBB0_27
LBB0_6:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_12 Depth 2
                                        ;     Child Loop BB0_17 Depth 2
                                        ;     Child Loop BB0_21 Depth 2
	ldr	w8, [x19, #12]
	lsr	w8, w8, w22
	tbnz	w8, #0, LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x19, #16]
	ldr	w1, [x8, x22, lsl #2]
	ldr	x0, [sp, #40]                   ; 8-byte Folded Reload
	bl	_ff_dca_core_map_spkr
	tbnz	w0, #31, LBB0_28
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x24, x0
	ldr	w21, [x19, #24]
	mov	x0, x20
	mov	x1, x19
	mov	w2, #0
	mov	x3, x22
	bl	_chs_get_lsb_width
	sub	w8, w0, w21
	add	w27, w8, #24
	cmp	w27, #25
	b.ge	LBB0_29
; %bb.9:                                ;   in Loop: Header=BB0_6 Depth=1
	sub	w8, w27, #1
	mov	w9, #1
	lsl	w8, w9, w8
	cmp	w27, #0
	csel	w28, w8, wzr, gt
	ldr	x8, [x25, #24]
	ldr	x23, [x8, w24, uxtw #3]
	ldr	x8, [x19, #48]
	ldr	x8, [x8]
	ldr	x26, [x8, x22, lsl #3]
	ldr	x8, [sp, #48]                   ; 8-byte Folded Reload
	cbz	x8, LBB0_13
; %bb.10:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [sp, #56]                   ; 8-byte Folded Reload
	cmp	w8, #1
	b.lt	LBB0_5
; %bb.11:                               ;   in Loop: Header=BB0_6 Depth=1
	ldp	x8, x21, [sp, #48]              ; 16-byte Folded Reload
	ldr	x8, [x8, #32]
	ldr	w9, [x19, #40]
	add	w9, w9, w22
	ldr	w24, [x8, w9, sxtw #2]
LBB0_12:                                ;   Parent Loop BB0_6 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w0, [x23], #4
	mov	x1, x24
	bl	_mul16
	add	w8, w0, w28
	asr	w0, w8, w27
	bl	_clip23
	ldr	w8, [x26]
	add	w8, w8, w0
	str	w8, [x26], #4
	subs	x21, x21, #1
	b.ne	LBB0_12
	b	LBB0_5
LBB0_13:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [sp, #56]                   ; 8-byte Folded Reload
	cmp	w8, #1
	b.lt	LBB0_5
; %bb.14:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	x11, [sp, #56]                  ; 8-byte Folded Reload
	cmp	w11, #16
	b.lo	LBB0_19
; %bb.15:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	x9, [sp, #32]                   ; 8-byte Folded Reload
	add	x8, x26, x9
	add	x9, x23, x9
	cmp	x26, x9
	ccmp	x23, x8, #2, lo
	b.lo	LBB0_19
; %bb.16:                               ;   in Loop: Header=BB0_6 Depth=1
	dup.4s	v0, w28
	dup.4s	v1, w27
	add	x8, x26, #32
	add	x9, x23, #32
	ldr	x10, [sp, #24]                  ; 8-byte Folded Reload
LBB0_17:                                ;   Parent Loop BB0_6 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldp	q2, q3, [x9, #-32]
	ldp	q4, q5, [x9], #64
	add.4s	v2, v2, v0
	add.4s	v3, v3, v0
	add.4s	v4, v4, v0
	add.4s	v5, v5, v0
	neg.4s	v6, v1
	sshl.4s	v2, v2, v6
	sshl.4s	v3, v3, v6
	sshl.4s	v4, v4, v6
	sshl.4s	v5, v5, v6
	ldp	q6, q7, [x8, #-32]
	ldp	q16, q17, [x8]
	add.4s	v2, v2, v6
	add.4s	v3, v3, v7
	add.4s	v4, v4, v16
	add.4s	v5, v5, v17
	stp	q2, q3, [x8, #-32]
	stp	q4, q5, [x8], #64
	subs	x10, x10, #16
	b.ne	LBB0_17
; %bb.18:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [sp, #24]                   ; 8-byte Folded Reload
	mov	x10, x8
	cmp	x8, x11
	b.eq	LBB0_5
	b	LBB0_20
LBB0_19:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x10, #0
LBB0_20:                                ;   in Loop: Header=BB0_6 Depth=1
	lsl	x9, x10, #2
	add	x8, x26, x9
	add	x9, x23, x9
	ldr	x11, [sp, #56]                  ; 8-byte Folded Reload
	sub	x10, x11, x10
LBB0_21:                                ;   Parent Loop BB0_6 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w11, [x9], #4
	add	w11, w11, w28
	asr	w11, w11, w27
	ldr	w12, [x8]
	add	w11, w11, w12
	str	w11, [x8], #4
	subs	x10, x10, #1
	b.ne	LBB0_21
	b	LBB0_5
LBB0_22:
Lloh3:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
Lloh6:
	adrp	x2, l_.str@PAGE
Lloh7:
	add	x2, x2, l_.str@PAGEOFF
	bl	_av_log
Lloh8:
	adrp	x8, _EINVAL@GOTPAGE
Lloh9:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #160
	b	_AVERROR
LBB0_23:
Lloh11:
	adrp	x10, _AV_LOG_WARNING@GOTPAGE
Lloh12:
	ldr	x10, [x10, _AV_LOG_WARNING@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x10]
	stp	x9, x8, [sp]
Lloh14:
	adrp	x2, l_.str.1@PAGE
Lloh15:
	add	x2, x2, l_.str.1@PAGEOFF
	b	LBB0_25
LBB0_24:
Lloh16:
	adrp	x9, _AV_LOG_WARNING@GOTPAGE
Lloh17:
	ldr	x9, [x9, _AV_LOG_WARNING@GOTPAGEOFF]
Lloh18:
	ldr	w1, [x9]
	stp	x8, x23, [sp]
Lloh19:
	adrp	x2, l_.str.2@PAGE
Lloh20:
	add	x2, x2, l_.str.2@PAGEOFF
LBB0_25:
	bl	_av_log
Lloh21:
	adrp	x8, _AVERROR_INVALIDDATA@GOTPAGE
Lloh22:
	ldr	x8, [x8, _AVERROR_INVALIDDATA@GOTPAGEOFF]
Lloh23:
	ldr	w0, [x8]
LBB0_26:
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
LBB0_27:
	mov	w0, #0
	b	LBB0_26
LBB0_28:
	ldr	x0, [x20, #8]
Lloh24:
	adrp	x8, _AV_LOG_WARNING@GOTPAGE
Lloh25:
	ldr	x8, [x8, _AV_LOG_WARNING@GOTPAGEOFF]
Lloh26:
	ldr	w1, [x8]
	ldr	x8, [x19, #16]
	ldr	w8, [x8, w22, uxtw #2]
	str	x8, [sp]
Lloh27:
	adrp	x2, l_.str.3@PAGE
Lloh28:
	add	x2, x2, l_.str.3@PAGEOFF
	b	LBB0_25
LBB0_29:
	ldr	x0, [x20, #8]
Lloh29:
	adrp	x8, _AV_LOG_WARNING@GOTPAGE
Lloh30:
	ldr	x8, [x8, _AV_LOG_WARNING@GOTPAGEOFF]
Lloh31:
	ldr	w1, [x8]
	str	x27, [sp]
Lloh32:
	adrp	x2, l_.str.4@PAGE
Lloh33:
	add	x2, x2, l_.str.4@PAGEOFF
	b	LBB0_25
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.cfi_endproc
                                        ; -- End function
	.comm	_DCA_PACKET_CORE,4,2            ; @DCA_PACKET_CORE
	.comm	_AV_LOG_ERROR,4,2               ; @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Residual encoded channels are present without core\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_AV_LOG_WARNING,4,2             ; @AV_LOG_WARNING
l_.str.1:                               ; @.str.1
	.asciz	"Sample rate mismatch between core (%d Hz) and XLL (%d Hz)\n"

	.comm	_AVERROR_INVALIDDATA,4,2        ; @AVERROR_INVALIDDATA
l_.str.2:                               ; @.str.2
	.asciz	"Number of samples per frame mismatch between core (%d) and XLL (%d)\n"

l_.str.3:                               ; @.str.3
	.asciz	"Residual encoded channel (%d) references unavailable core channel\n"

l_.str.4:                               ; @.str.4
	.asciz	"Invalid core shift (%d bits)\n"

	.no_dead_strip	_combine_residual_frame
.subsections_via_symbols
