	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vdec_vp9_get_param
_vdec_vp9_get_param:                    ## @vdec_vp9_get_param
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	%esi, %eax
	leal	-128(%rax), %ecx
	cmpl	$4, %ecx
	ja	LBB0_3
## %bb.1:
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%rcx,4), %rcx
	addq	%rax, %rcx
	jmpq	*%rcx
LBB0_2:
	movq	%rdx, %rsi
	callq	_get_pic_info
	jmp	LBB0_6
LBB0_3:
	leaq	L_.str(%rip), %rsi
	movl	%eax, %edx
	callq	_mtk_vcodec_err
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbp
	retq
LBB0_4:
	movq	%rdx, %rsi
	callq	_get_free_fb
	jmp	LBB0_6
LBB0_5:
	movq	_MAX_VP9_DPB_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rdx)
	jmp	LBB0_6
LBB0_7:
	movq	%rdx, %rsi
	callq	_get_disp_fb
	jmp	LBB0_6
LBB0_8:
	movq	%rdx, %rsi
	callq	_get_crop_info
LBB0_6:
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
LJTI0_0:
	.long	L0_0_set_2
	.long	L0_0_set_4
	.long	L0_0_set_5
	.long	L0_0_set_7
	.long	L0_0_set_8
	.end_data_region
                                        ## -- End function
	.comm	_MAX_VP9_DPB_SIZE,4,2           ## @MAX_VP9_DPB_SIZE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"not supported param type %d"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_vdec_vp9_get_param
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vdec_vp9_get_param
_vdec_vp9_get_param:                    ; @vdec_vp9_get_param
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	sub	w9, w1, #128
	cmp	w9, #4
	b.hi	LBB0_3
; %bb.1:
Lloh0:
	adrp	x8, lJTI0_0@PAGE
Lloh1:
	add	x8, x8, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x8, x9]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
	mov	x1, x2
	bl	_get_pic_info
	b	LBB0_8
LBB0_3:
	mov	x8, x1
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x8
	bl	_mtk_vcodec_err
Lloh4:
	adrp	x8, _EINVAL@GOTPAGE
Lloh5:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	neg	w0, w8
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_4:
	mov	x1, x2
	bl	_get_free_fb
	b	LBB0_8
LBB0_5:
	mov	w0, #0
Lloh7:
	adrp	x8, _MAX_VP9_DPB_SIZE@GOTPAGE
Lloh8:
	ldr	x8, [x8, _MAX_VP9_DPB_SIZE@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	str	w8, [x2]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_6:
	mov	x1, x2
	bl	_get_disp_fb
	b	LBB0_8
LBB0_7:
	mov	x1, x2
	bl	_get_crop_info
LBB0_8:
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
                                        ; -- End function
	.comm	_MAX_VP9_DPB_SIZE,4,2           ; @MAX_VP9_DPB_SIZE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"not supported param type %d"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_vdec_vp9_get_param
.subsections_via_symbols
