	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function parse_x96_frame_data
_parse_x96_frame_data:                  ## @parse_x96_frame_data
	.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
	movl	%edx, %r14d
	movq	%rdi, %rbx
	callq	_parse_x96_coding_header
	testl	%eax, %eax
	js	LBB0_21
## %bb.1:
	movl	$0, -44(%rbp)
	cmpl	$0, (%rbx)
	jle	LBB0_6
## %bb.2:
	xorl	%r15d, %r15d
	leaq	-44(%rbp), %r12
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_parse_x96_subframe_header
	testl	%eax, %eax
	js	LBB0_21
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%rbx, %rdi
	movl	%r15d, %esi
	movl	%r14d, %edx
	movq	%r12, %rcx
	callq	_parse_x96_subframe_audio
	testl	%eax, %eax
	js	LBB0_21
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	incl	%r15d
	cmpl	(%rbx), %r15d
	jl	LBB0_3
LBB0_6:
	cmpl	%r14d, 4(%rbx)
	jle	LBB0_19
## %bb.7:
	movslq	%r14d, %r14
	movq	_DCA_SUBBANDS_X96@GOTPCREL(%rip), %r15
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_9 Depth=1
	incq	%r14
	movslq	4(%rbx), %rax
	cmpq	%rax, %r14
	jge	LBB0_19
LBB0_9:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_15 Depth 2
	movq	8(%rbx), %rcx
	movq	16(%rbx), %rdx
	movl	(%rcx,%r14,4), %eax
	movslq	(%rdx,%r14,4), %rdx
	testq	%rdx, %rdx
	je	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=1
	movl	-4(%rcx,%rdx,4), %esi
	movl	%eax, %edi
	callq	_FFMAX
LBB0_11:                                ##   in Loop: Header=BB0_9 Depth=1
	cmpl	$0, (%r15)
	jle	LBB0_8
## %bb.12:                              ##   in Loop: Header=BB0_9 Depth=1
	movslq	%eax, %r13
	xorl	%r12d, %r12d
	jmp	LBB0_15
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_15 Depth=2
	addl	%eax, %edx
	shll	$2, %edx
	xorl	%esi, %esi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_memset
LBB0_14:                                ##   in Loop: Header=BB0_15 Depth=2
	incq	%r12
	movslq	(%r15), %rax
	cmpq	%rax, %r12
	jge	LBB0_8
LBB0_15:                                ##   Parent Loop BB0_9 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	24(%rbx), %rax
	movq	(%rax,%r14,8), %rax
	movslq	(%rax,%r12,4), %rdi
	movq	_DCA_ADPCM_COEFFS@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	subq	%rax, %rdi
	movslq	32(%rbx), %rcx
	movslq	36(%rbx), %rdx
	cmpq	%rcx, %r12
	jl	LBB0_13
## %bb.16:                              ##   in Loop: Header=BB0_15 Depth=2
	cmpq	%r13, %r12
	jge	LBB0_13
## %bb.17:                              ##   in Loop: Header=BB0_15 Depth=2
	leaq	(%rdi,%rdx,4), %rsi
	callq	_AV_COPY128
	jmp	LBB0_14
LBB0_21:
	movl	%eax, %r13d
	jmp	LBB0_22
LBB0_19:
	xorl	%r13d, %r13d
	xorl	%eax, %eax
	callq	_emms_c
LBB0_22:
	movl	%r13d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DCA_SUBBANDS_X96,4,2           ## @DCA_SUBBANDS_X96
	.comm	_DCA_ADPCM_COEFFS,4,2           ## @DCA_ADPCM_COEFFS
	.no_dead_strip	_parse_x96_frame_data
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function parse_x96_frame_data
_parse_x96_frame_data:                  ; @parse_x96_frame_data
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.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
	mov	x20, x2
	mov	x19, x0
	bl	_parse_x96_coding_header
	tbnz	w0, #31, LBB0_18
; %bb.1:
	str	wzr, [sp, #12]
	ldr	w8, [x19]
	cmp	w8, #1
	b.lt	LBB0_6
; %bb.2:
	mov	w21, #0
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	mov	x1, x20
	bl	_parse_x96_subframe_header
	tbnz	w0, #31, LBB0_18
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x3, sp, #12
	mov	x0, x19
	mov	x1, x21
	mov	x2, x20
	bl	_parse_x96_subframe_audio
	tbnz	w0, #31, LBB0_18
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	add	w21, w21, #1
	ldr	w8, [x19]
	cmp	w21, w8
	b.lt	LBB0_3
LBB0_6:
	ldr	w8, [x19, #4]
	cmp	w8, w20
	b.le	LBB0_17
; %bb.7:
	sxtw	x20, w20
Lloh0:
	adrp	x21, _DCA_SUBBANDS_X96@GOTPAGE
Lloh1:
	ldr	x21, [x21, _DCA_SUBBANDS_X96@GOTPAGEOFF]
Lloh2:
	adrp	x22, _DCA_ADPCM_COEFFS@GOTPAGE
Lloh3:
	ldr	x22, [x22, _DCA_ADPCM_COEFFS@GOTPAGEOFF]
	b	LBB0_9
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=1
	add	x20, x20, #1
	ldrsw	x8, [x19, #4]
	cmp	x20, x8
	b.ge	LBB0_17
LBB0_9:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_15 Depth 2
	lsl	x9, x20, #2
	ldp	x8, x10, [x19, #8]
	ldr	w0, [x8, x9]
	ldr	w9, [x10, x9]
	cbz	w9, LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	sub	w9, w9, #1
	ldr	w1, [x8, w9, sxtw #2]
                                        ; kill: def $w0 killed $w0 killed $x0
	bl	_FFMAX
                                        ; kill: def $w0 killed $w0 def $x0
LBB0_11:                                ;   in Loop: Header=BB0_9 Depth=1
	ldr	w8, [x21]
	cmp	w8, #1
	b.lt	LBB0_8
; %bb.12:                               ;   in Loop: Header=BB0_9 Depth=1
	mov	x23, #0
	sxtw	x24, w0
	b	LBB0_15
LBB0_13:                                ;   in Loop: Header=BB0_15 Depth=2
	add	w8, w9, w8
	lsl	w2, w8, #2
	mov	w1, #0
	bl	_memset
LBB0_14:                                ;   in Loop: Header=BB0_15 Depth=2
	add	x23, x23, #1
	ldrsw	x8, [x21]
	cmp	x23, x8
	b.ge	LBB0_8
LBB0_15:                                ;   Parent Loop BB0_9 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [x19, #24]
	ldr	x8, [x8, x20, lsl #3]
	ldrsw	x9, [x8, x23, lsl #2]
	ldrsw	x8, [x22]
	sub	x0, x9, x8
	ldpsw	x10, x9, [x19, #32]
	cmp	x23, x10
	ccmp	x23, x24, #0, ge
	b.ge	LBB0_13
; %bb.16:                               ;   in Loop: Header=BB0_15 Depth=2
	add	x1, x0, x9, lsl #2
	bl	_AV_COPY128
	b	LBB0_14
LBB0_17:
	bl	_emms_c
	mov	w0, #0
LBB0_18:
	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
	add	sp, sp, #80
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_DCA_SUBBANDS_X96,4,2           ; @DCA_SUBBANDS_X96
	.comm	_DCA_ADPCM_COEFFS,4,2           ; @DCA_ADPCM_COEFFS
	.no_dead_strip	_parse_x96_frame_data
.subsections_via_symbols
