	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vdec_op_g_volatile_ctrl
_vdec_op_g_volatile_ctrl:               ## @vdec_op_g_volatile_ctrl
	.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	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	callq	_ctrl_to_inst
	movq	%rax, %rbx
	movl	(%r14), %eax
	addl	$-128, %eax
	cmpl	$6, %eax
	ja	LBB0_12
## %bb.1:
	movq	_HFI_PROPERTY_PARAM_PROFILE_LEVEL_CURRENT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_2:
	leaq	-32(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_hfi_session_get_property
	testl	%eax, %eax
	je	LBB0_4
## %bb.3:
	movl	16(%rbx), %eax
	jmp	LBB0_5
LBB0_6:
	leaq	-32(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_hfi_session_get_property
	testl	%eax, %eax
	je	LBB0_8
## %bb.7:
	movl	12(%rbx), %eax
	jmp	LBB0_5
LBB0_4:
	movl	-28(%rbp), %eax
	movl	%eax, 16(%rbx)
	jmp	LBB0_5
LBB0_12:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_13
LBB0_9:
	movl	8(%rbx), %eax
	jmp	LBB0_5
LBB0_10:
	movq	(%rbx), %rax
	movq	(%rax), %rax
	movl	(%rax), %r15d
	movq	_HFI_BUFFER_OUTPUT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-40(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_venus_helper_get_bufreq
	xorl	%ebx, %ebx
	testl	%eax, %eax
	jne	LBB0_13
## %bb.11:
	leaq	-40(%rbp), %rdi
	movl	%r15d, %esi
	callq	_HFI_BUFREQ_COUNT_MIN
	movl	%eax, 4(%r14)
	jmp	LBB0_13
LBB0_8:
	movl	-32(%rbp), %eax
	movl	%eax, 12(%rbx)
LBB0_5:
	movl	%eax, 4(%r14)
	xorl	%ebx, %ebx
LBB0_13:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
LJTI0_0:
	.long	L0_0_set_2
	.long	L0_0_set_2
	.long	L0_0_set_6
	.long	L0_0_set_2
	.long	L0_0_set_6
	.long	L0_0_set_9
	.long	L0_0_set_10
	.end_data_region
                                        ## -- End function
	.comm	_HFI_PROPERTY_PARAM_PROFILE_LEVEL_CURRENT,4,2 ## @HFI_PROPERTY_PARAM_PROFILE_LEVEL_CURRENT
	.comm	_HFI_BUFFER_OUTPUT,4,2          ## @HFI_BUFFER_OUTPUT
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_vdec_op_g_volatile_ctrl
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vdec_op_g_volatile_ctrl
_vdec_op_g_volatile_ctrl:               ; @vdec_op_g_volatile_ctrl
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x19, x0
	bl	_ctrl_to_inst
	ldr	w8, [x19]
	sub	w8, w8, #128
	cmp	w8, #6
	b.hi	LBB0_7
; %bb.1:
	mov	x20, x0
Lloh0:
	adrp	x9, _HFI_PROPERTY_PARAM_PROFILE_LEVEL_CURRENT@GOTPAGE
Lloh1:
	ldr	x9, [x9, _HFI_PROPERTY_PARAM_PROFILE_LEVEL_CURRENT@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x9]
Lloh3:
	adrp	x9, lJTI0_0@PAGE
Lloh4:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
	mov	x2, sp
	mov	x0, x20
	bl	_hfi_session_get_property
	cbz	w0, LBB0_6
; %bb.3:
	ldr	w8, [x20, #16]
	b	LBB0_13
LBB0_4:
	mov	x2, sp
	mov	x0, x20
	bl	_hfi_session_get_property
	cbz	w0, LBB0_11
; %bb.5:
	ldr	w8, [x20, #12]
	b	LBB0_13
LBB0_6:
	ldr	w8, [sp, #4]
	str	w8, [x20, #16]
	b	LBB0_13
LBB0_7:
Lloh5:
	adrp	x8, _EINVAL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_15
LBB0_8:
	mov	w0, #0
	ldr	w8, [x20, #8]
	b	LBB0_14
LBB0_9:
	ldr	x8, [x20]
	ldr	x8, [x8]
	ldr	w21, [x8]
Lloh8:
	adrp	x8, _HFI_BUFFER_OUTPUT@GOTPAGE
Lloh9:
	ldr	x8, [x8, _HFI_BUFFER_OUTPUT@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	add	x2, sp, #8
	mov	x0, x20
	bl	_venus_helper_get_bufreq
	cbz	w0, LBB0_12
; %bb.10:
	mov	w0, #0
	b	LBB0_15
LBB0_11:
	ldr	w8, [sp]
	str	w8, [x20, #12]
	b	LBB0_13
LBB0_12:
	add	x0, sp, #8
	mov	x1, x21
	bl	_HFI_BUFREQ_COUNT_MIN
	mov	x8, x0
LBB0_13:
	mov	w0, #0
LBB0_14:
	str	w8, [x19, #4]
LBB0_15:
	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
	add	sp, sp, #64
	ret
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_8-LBB0_2)>>2
	.byte	(LBB0_9-LBB0_2)>>2
                                        ; -- End function
	.comm	_HFI_PROPERTY_PARAM_PROFILE_LEVEL_CURRENT,4,2 ; @HFI_PROPERTY_PARAM_PROFILE_LEVEL_CURRENT
	.comm	_HFI_BUFFER_OUTPUT,4,2          ; @HFI_BUFFER_OUTPUT
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_vdec_op_g_volatile_ctrl
.subsections_via_symbols
