	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function decode_prediction
_decode_prediction:                     ## @decode_prediction
	.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
	movq	%rdx, %r15
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	%rdx, %rdi
	callq	_get_bits1
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	movq	%r15, %rdi
	movl	$5, %esi
	callq	_get_bits
	movl	%eax, (%rbx)
	testl	%eax, %eax
	je	LBB0_3
## %bb.2:
	cmpl	$31, %eax
	jge	LBB0_3
LBB0_4:
	movl	16(%rbx), %edi
	movq	_ff_aac_pred_sfb_max@GOTPCREL(%rip), %r13
	movq	(%r13), %rax
	movq	(%r14), %rcx
	movq	8(%rcx), %rcx
	movl	(%rax,%rcx,4), %esi
	callq	_FFMIN
	testl	%eax, %eax
	jle	LBB0_7
## %bb.5:
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	callq	_get_bits1
	movq	8(%rbx), %rcx
	movq	%rax, (%rcx,%r12,8)
	incq	%r12
	movl	16(%rbx), %edi
	movq	(%r13), %rax
	movq	(%r14), %rcx
	movq	8(%rcx), %rcx
	movl	(%rax,%rcx,4), %esi
	callq	_FFMIN
	cltq
	cmpq	%rax, %r12
	jl	LBB0_6
LBB0_7:
	xorl	%eax, %eax
	jmp	LBB0_8
LBB0_3:
	movl	8(%r14), %edi
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	callq	_av_log
	movq	_AVERROR_INVALIDDATA@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_8:
                                        ## kill: def $eax killed $eax killed $rax
	addq	$8, %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	"Invalid Predictor Reset Group.\n"

	.comm	_AVERROR_INVALIDDATA,4,2        ## @AVERROR_INVALIDDATA
	.comm	_ff_aac_pred_sfb_max,8,3        ## @ff_aac_pred_sfb_max
	.no_dead_strip	_decode_prediction
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function decode_prediction
_decode_prediction:                     ; @decode_prediction
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x19, x2
	mov	x21, x1
	mov	x20, x0
	mov	x0, x2
	bl	_get_bits1
	cbz	x0, LBB0_3
; %bb.1:
	mov	x0, x19
	mov	w1, #5
	bl	_get_bits
	str	w0, [x21]
	cbz	w0, LBB0_7
; %bb.2:
	cmp	w0, #31
	b.ge	LBB0_7
LBB0_3:
Lloh0:
	adrp	x22, _ff_aac_pred_sfb_max@GOTPAGE
Lloh1:
	ldr	x22, [x22, _ff_aac_pred_sfb_max@GOTPAGEOFF]
	ldr	w0, [x21, #16]
	ldr	x8, [x22]
	ldr	x9, [x20]
	ldr	x9, [x9, #8]
	ldr	w1, [x8, x9, lsl #2]
	bl	_FFMIN
	cmp	w0, #1
	b.lt	LBB0_6
; %bb.4:
	mov	x23, #0
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	bl	_get_bits1
	ldr	x8, [x21, #8]
	str	x0, [x8, x23, lsl #3]
	add	x23, x23, #1
	ldr	w0, [x21, #16]
	ldr	x8, [x22]
	ldr	x9, [x20]
	ldr	x9, [x9, #8]
	ldr	w1, [x8, x9, lsl #2]
	bl	_FFMIN
	cmp	x23, w0, sxtw
	b.lt	LBB0_5
LBB0_6:
	mov	w0, #0
	b	LBB0_8
LBB0_7:
	ldr	w0, [x20, #8]
Lloh2:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh3:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
Lloh5:
	adrp	x2, l_.str@PAGE
Lloh6:
	add	x2, x2, l_.str@PAGEOFF
	bl	_av_log
Lloh7:
	adrp	x8, _AVERROR_INVALIDDATA@GOTPAGE
Lloh8:
	ldr	x8, [x8, _AVERROR_INVALIDDATA@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
LBB0_8:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_AV_LOG_ERROR,4,2               ; @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Invalid Predictor Reset Group.\n"

	.comm	_AVERROR_INVALIDDATA,4,2        ; @AVERROR_INVALIDDATA
	.comm	_ff_aac_pred_sfb_max,8,3        ; @ff_aac_pred_sfb_max
	.no_dead_strip	_decode_prediction
.subsections_via_symbols
