	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ra288_decode_frame
_ra288_decode_frame:                    ## @ra288_decode_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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %rax
	movq	%rdi, %rbx
	movl	(%rcx), %ecx
	movl	(%rdi), %r8d
	cmpl	%r8d, %ecx
	jge	LBB0_2
## %bb.1:
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	movq	%rbx, %rdi
	callq	_av_log
	movq	_AVERROR_INVALIDDATA@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_2:
	movq	%rdx, %r15
	movq	%rsi, %r14
	movq	8(%rax), %rsi
	movq	8(%rbx), %r12
	leaq	-48(%rbp), %rdi
	movl	%r8d, %edx
	callq	_init_get_bits8
	testl	%eax, %eax
	js	LBB0_11
## %bb.3:
	movq	_RA288_BLOCK_SIZE@GOTPCREL(%rip), %rcx
	movq	_RA288_BLOCKS_PER_FRAME@GOTPCREL(%rip), %r13
	movl	(%r13), %eax
	imull	(%rcx), %eax
	movl	%eax, (%r14)
	movq	%rbx, %rdi
	movq	%r14, %rsi
	xorl	%edx, %edx
	callq	_ff_get_buffer
	testl	%eax, %eax
	js	LBB0_11
## %bb.4:
	movq	%r15, -56(%rbp)                 ## 8-byte Spill
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	cmpl	$0, (%r13)
	jle	LBB0_9
## %bb.5:
	movq	8(%r14), %rax
	movq	(%rax), %r13
	xorl	%r15d, %r15d
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_6 Depth=1
	leaq	(%r13,%r14,4), %r13
	incl	%r15d
	movq	_RA288_BLOCKS_PER_FRAME@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r15d
	jge	LBB0_9
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	_amptable@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	leaq	-48(%rbp), %r14
	movq	%r14, %rdi
	movl	$3, %esi
	callq	_get_bits
	movss	(%rbx,%rax,4), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	movss	%xmm0, -44(%rbp)                ## 4-byte Spill
	movl	%r15d, %esi
	andl	$1, %esi
	orl	$6, %esi
	movq	%r14, %rdi
	callq	_get_bits
	movq	%r12, %rdi
	movss	-44(%rbp), %xmm0                ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	movl	%eax, %esi
	callq	_decode
	movq	24(%r12), %rsi
	movl	$424, %eax                      ## imm = 0x1A8
	addq	%rax, %rsi
	movq	_RA288_BLOCK_SIZE@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	shll	$2, %edx
	movq	%r13, %rdi
	callq	_memcpy
	movslq	(%rbx), %r14
	movl	%r15d, %eax
	andl	$7, %eax
	cmpl	$3, %eax
	jne	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	24(%r12), %rsi
	movl	16(%r12), %r8d
	movl	20(%r12), %edx
	movq	_syn_window@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_syn_bw_tab@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movq	%r12, %rdi
	pushq	$70
	pushq	$35
	pushq	$40
	pushq	$36
	callq	_backward_filter
	addq	$32, %rsp
	movq	8(%r12), %rsi
	movl	(%r12), %r8d
	movl	4(%r12), %edx
	movq	_gain_window@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_gain_bw_tab@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movq	%r12, %rdi
	pushq	$28
	pushq	$20
	pushq	$8
	pushq	$10
	callq	_backward_filter
	addq	$32, %rsp
	jmp	LBB0_8
LBB0_9:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	$1, (%rax)
	movq	-64(%rbp), %rax                 ## 8-byte Reload
LBB0_10:
	movl	(%rax), %eax
LBB0_11:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AV_LOG_ERROR,4,2               ## @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Error! Input buffer is too small [%d<%d]\n"

	.comm	_AVERROR_INVALIDDATA,4,2        ## @AVERROR_INVALIDDATA
	.comm	_RA288_BLOCK_SIZE,4,2           ## @RA288_BLOCK_SIZE
	.comm	_RA288_BLOCKS_PER_FRAME,4,2     ## @RA288_BLOCKS_PER_FRAME
	.comm	_amptable,8,3                   ## @amptable
	.comm	_syn_window,4,2                 ## @syn_window
	.comm	_syn_bw_tab,4,2                 ## @syn_bw_tab
	.comm	_gain_window,4,2                ## @gain_window
	.comm	_gain_bw_tab,4,2                ## @gain_bw_tab
	.no_dead_strip	_ra288_decode_frame
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ra288_decode_frame
_ra288_decode_frame:                    ; @ra288_decode_frame
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	d9, d8, [sp, #32]               ; 16-byte Folded Spill
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
	.cfi_offset b8, -104
	.cfi_offset b9, -112
	mov	x8, x3
	mov	x19, x0
	ldr	w3, [x3]
	ldr	w4, [x0]
	cmp	w3, w4
	b.ge	LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x19
	bl	_av_log
Lloh5:
	adrp	x8, _AVERROR_INVALIDDATA@GOTPAGE
Lloh6:
	ldr	x8, [x8, _AVERROR_INVALIDDATA@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	b	LBB0_10
LBB0_2:
	mov	x20, x2
	mov	x22, x1
	ldr	x1, [x8, #8]
	ldr	x21, [x19, #8]
	add	x0, sp, #28
	mov	x2, x4
	bl	_init_get_bits8
	tbnz	w0, #31, LBB0_10
; %bb.3:
Lloh8:
	adrp	x23, _RA288_BLOCK_SIZE@GOTPAGE
Lloh9:
	ldr	x23, [x23, _RA288_BLOCK_SIZE@GOTPAGEOFF]
	ldr	w8, [x23]
Lloh10:
	adrp	x24, _RA288_BLOCKS_PER_FRAME@GOTPAGE
Lloh11:
	ldr	x24, [x24, _RA288_BLOCKS_PER_FRAME@GOTPAGEOFF]
	ldr	w9, [x24]
	mul	w8, w9, w8
	str	w8, [x22]
	mov	x0, x19
	mov	x1, x22
	mov	w2, #0
	bl	_ff_get_buffer
	tbnz	w0, #31, LBB0_10
; %bb.4:
	str	x20, [sp, #16]                  ; 8-byte Folded Spill
	ldr	w8, [x24]
	cmp	w8, #1
	b.lt	LBB0_9
; %bb.5:
	mov	w25, #0
	ldr	x8, [x22, #8]
	ldr	x22, [x8]
Lloh12:
	adrp	x26, _amptable@GOTPAGE
Lloh13:
	ldr	x26, [x26, _amptable@GOTPAGEOFF]
Lloh14:
	adrp	x28, _gain_bw_tab@GOTPAGE
Lloh15:
	ldr	x28, [x28, _gain_bw_tab@GOTPAGEOFF]
	mov	x20, #20
	movk	x20, #28, lsl #32
	b	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	add	x22, x22, x27, lsl #2
	add	w25, w25, #1
	ldr	w8, [x24]
	cmp	w25, w8
	b.ge	LBB0_9
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x27, [x26]
	add	x0, sp, #28
	mov	w1, #3
	bl	_get_bits
	ldr	s8, [x27, x0, lsl #2]
	mov	w1, #6
	bfxil	w1, w25, #0, #1
	add	x0, sp, #28
	bl	_get_bits
	mov	x1, x0
	mov	x0, x21
	fmov	s0, s8
                                        ; kill: def $w1 killed $w1 killed $x1
	bl	_decode
	ldr	x8, [x21, #24]
	add	x1, x8, #424
	ldr	w8, [x23]
	lsl	w2, w8, #2
	mov	x0, x22
	bl	_memcpy
	ldrsw	x27, [x23]
	and	w8, w25, #0x7
	cmp	w8, #3
	b.ne	LBB0_6
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	x1, [x21, #24]
Lloh16:
	adrp	x8, _syn_window@GOTPAGE
Lloh17:
	ldr	x8, [x8, _syn_window@GOTPAGEOFF]
Lloh18:
	ldr	w3, [x8]
	ldp	w4, w2, [x21, #16]
Lloh19:
	adrp	x8, _syn_bw_tab@GOTPAGE
Lloh20:
	ldr	x8, [x8, _syn_bw_tab@GOTPAGEOFF]
Lloh21:
	ldr	w5, [x8]
	mov	x8, #35
	movk	x8, #70, lsl #32
	str	x8, [sp]
	mov	x0, x21
	mov	w6, #36
	mov	w7, #40
	bl	_backward_filter
	ldr	x1, [x21, #8]
Lloh22:
	adrp	x8, _gain_window@GOTPAGE
Lloh23:
	ldr	x8, [x8, _gain_window@GOTPAGEOFF]
Lloh24:
	ldr	w3, [x8]
	ldp	w4, w2, [x21]
	ldr	w5, [x28]
	str	x20, [sp]
	mov	x0, x21
	mov	w6, #10
	mov	w7, #8
	bl	_backward_filter
	b	LBB0_6
LBB0_9:
	mov	w8, #1
	ldr	x9, [sp, #16]                   ; 8-byte Folded Reload
	str	w8, [x9]
	ldr	w0, [x19]
LBB0_10:
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #32]               ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_AV_LOG_ERROR,4,2               ; @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Error! Input buffer is too small [%d<%d]\n"

	.comm	_AVERROR_INVALIDDATA,4,2        ; @AVERROR_INVALIDDATA
	.comm	_RA288_BLOCK_SIZE,4,2           ; @RA288_BLOCK_SIZE
	.comm	_RA288_BLOCKS_PER_FRAME,4,2     ; @RA288_BLOCKS_PER_FRAME
	.comm	_amptable,8,3                   ; @amptable
	.comm	_syn_window,4,2                 ; @syn_window
	.comm	_syn_bw_tab,4,2                 ; @syn_bw_tab
	.comm	_gain_window,4,2                ; @gain_window
	.comm	_gain_bw_tab,4,2                ; @gain_bw_tab
	.no_dead_strip	_ra288_decode_frame
.subsections_via_symbols
