	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hva_ctrls_setup
_hva_ctrls_setup:                       ## @hva_ctrls_setup
	.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	%rdi, %rbx
	callq	_ctx_to_dev
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	_V4L2_MPEG_VIDEO_H264_SEI_FP_ARRANGEMENT_TYPE_TOP_BOTTOM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	leaq	8(%rbx), %r14
	movq	%r14, %rdi
	movl	$15, %esi
	callq	_v4l2_ctrl_handler_init
	movq	_V4L2_CID_MPEG_VIDEO_BITRATE_MODE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_V4L2_MPEG_VIDEO_BITRATE_MODE_CBR@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_hva_ctrl_ops@GOTPCREL(%rip), %r13
	movq	%r14, %rdi
	movq	%r13, %rsi
	xorl	%r8d, %r8d
	movl	%ecx, %r9d
	callq	_v4l2_ctrl_new_std_menu
	movq	_V4L2_CID_MPEG_VIDEO_GOP_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$16, (%rsp)
	movl	$1, %r12d
	movq	%r14, %rdi
	movq	%r13, %rsi
	movl	$1, %ecx
	movl	$60, %r8d
	movl	$1, %r9d
	callq	_v4l2_ctrl_new_std
	movq	_V4L2_CID_MPEG_VIDEO_BITRATE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$20000000, (%rsp)               ## imm = 0x1312D00
	movq	%r14, %rdi
	movq	%r13, %rsi
	movl	$1000, %ecx                     ## imm = 0x3E8
	movl	$60000000, %r8d                 ## imm = 0x3938700
	movl	$1000, %r9d                     ## imm = 0x3E8
	callq	_v4l2_ctrl_new_std
	movq	_V4L2_MPEG_VIDEO_ASPECT_1x1@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	$-2, %r8d
	roll	%cl, %r8d
	movl	$-2, %r15d
	movq	_V4L2_CID_MPEG_VIDEO_ASPECT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movq	%r13, %rsi
	movl	%ecx, %r9d
	callq	_v4l2_ctrl_new_std_menu
	movq	_V4L2_MPEG_VIDEO_H264_PROFILE_MAIN@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shll	%cl, %r12d
	movq	_V4L2_MPEG_VIDEO_H264_PROFILE_BASELINE@GOTPCREL(%rip), %rax
	movb	(%rax), %al
	btsl	%eax, %r12d
	movq	_V4L2_MPEG_VIDEO_H264_PROFILE_HIGH@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	btsl	%r9d, %r12d
	movq	_V4L2_MPEG_VIDEO_H264_PROFILE_STEREO_HIGH@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	btsl	%ecx, %r12d
	notl	%r12d
	movq	_V4L2_CID_MPEG_VIDEO_H264_PROFILE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movq	%r13, %rsi
	movl	%r12d, %r8d
	callq	_v4l2_ctrl_new_std_menu
	movq	_V4L2_CID_MPEG_VIDEO_H264_LEVEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_V4L2_MPEG_VIDEO_H264_LEVEL_4_2@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_V4L2_MPEG_VIDEO_H264_LEVEL_4_0@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movq	%r14, %rdi
	movq	%r13, %rsi
	xorl	%r8d, %r8d
	callq	_v4l2_ctrl_new_std_menu
	movq	_V4L2_CID_MPEG_VIDEO_H264_ENTROPY_MODE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_V4L2_MPEG_VIDEO_H264_ENTROPY_MODE_CABAC@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_V4L2_MPEG_VIDEO_H264_ENTROPY_MODE_CAVLC@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movq	%r14, %rdi
	movq	%r13, %rsi
	xorl	%r8d, %r8d
	callq	_v4l2_ctrl_new_std_menu
	movq	_V4L2_CID_MPEG_VIDEO_H264_CPB_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$3000, (%rsp)                   ## imm = 0xBB8
	movq	%r14, %rdi
	movq	%r13, %rsi
	movl	$1, %ecx
	movl	$10000, %r8d                    ## imm = 0x2710
	movl	$1, %r9d
	callq	_v4l2_ctrl_new_std
	movq	_V4L2_CID_MPEG_VIDEO_H264_8X8_TRANSFORM@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$0, (%rsp)
	movq	%r14, %rdi
	movq	%r13, %rsi
	xorl	%ecx, %ecx
	movl	$1, %r8d
	movl	$1, %r9d
	callq	_v4l2_ctrl_new_std
	movq	_V4L2_CID_MPEG_VIDEO_H264_MIN_QP@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$5, (%rsp)
	movq	%r14, %rdi
	movq	%r13, %rsi
	xorl	%ecx, %ecx
	movl	$51, %r8d
	movl	$1, %r9d
	callq	_v4l2_ctrl_new_std
	movq	_V4L2_CID_MPEG_VIDEO_H264_MAX_QP@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$51, (%rsp)
	movq	%r14, %rdi
	movq	%r13, %rsi
	xorl	%ecx, %ecx
	movl	$51, %r8d
	movl	$1, %r9d
	callq	_v4l2_ctrl_new_std
	movq	_V4L2_CID_MPEG_VIDEO_H264_VUI_SAR_ENABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$1, (%rsp)
	movq	%r14, %rdi
	movq	%r13, %rsi
	xorl	%ecx, %ecx
	movl	$1, %r8d
	movl	$1, %r9d
	callq	_v4l2_ctrl_new_std
	movq	_V4L2_MPEG_VIDEO_H264_VUI_SAR_IDC_1x1@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	$-2, %r8d
	roll	%cl, %r8d
	movq	_V4L2_CID_MPEG_VIDEO_H264_VUI_SAR_IDC@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movq	%r13, %rsi
	movl	%ecx, %r9d
	callq	_v4l2_ctrl_new_std_menu
	movq	_V4L2_CID_MPEG_VIDEO_H264_SEI_FRAME_PACKING@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$0, (%rsp)
	movq	%r14, %rdi
	movq	%r13, %rsi
	xorl	%ecx, %ecx
	movl	$1, %r8d
	movl	$1, %r9d
	callq	_v4l2_ctrl_new_std
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	roll	%cl, %r15d
	movq	_V4L2_CID_MPEG_VIDEO_H264_SEI_FP_ARRANGEMENT_TYPE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movq	%r13, %rsi
	movl	%ecx, %r9d
	movl	%r15d, %r8d
	callq	_v4l2_ctrl_new_std_menu
	movl	8(%rbx), %r15d
	testl	%r15d, %r15d
	je	LBB0_2
## %bb.1:
	movl	12(%rbx), %edx
	leaq	L_.str(%rip), %rsi
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	%r15d, %ecx
	callq	_dev_dbg
	movq	%r14, %rdi
	callq	_v4l2_ctrl_handler_free
	jmp	LBB0_3
LBB0_2:
	movq	%r14, %rdi
	callq	_v4l2_ctrl_handler_setup
	movq	_HVA_DEFAULT_FRAME_NUM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%rbx)
	movq	_HVA_DEFAULT_FRAME_DEN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rbx)
LBB0_3:
	movl	%r15d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_V4L2_MPEG_VIDEO_H264_SEI_FP_ARRANGEMENT_TYPE_TOP_BOTTOM,4,2 ## @V4L2_MPEG_VIDEO_H264_SEI_FP_ARRANGEMENT_TYPE_TOP_BOTTOM
	.comm	_hva_ctrl_ops,4,2               ## @hva_ctrl_ops
	.comm	_V4L2_CID_MPEG_VIDEO_BITRATE_MODE,4,2 ## @V4L2_CID_MPEG_VIDEO_BITRATE_MODE
	.comm	_V4L2_MPEG_VIDEO_BITRATE_MODE_CBR,4,2 ## @V4L2_MPEG_VIDEO_BITRATE_MODE_CBR
	.comm	_V4L2_CID_MPEG_VIDEO_GOP_SIZE,4,2 ## @V4L2_CID_MPEG_VIDEO_GOP_SIZE
	.comm	_V4L2_CID_MPEG_VIDEO_BITRATE,4,2 ## @V4L2_CID_MPEG_VIDEO_BITRATE
	.comm	_V4L2_MPEG_VIDEO_ASPECT_1x1,4,2 ## @V4L2_MPEG_VIDEO_ASPECT_1x1
	.comm	_V4L2_CID_MPEG_VIDEO_ASPECT,4,2 ## @V4L2_CID_MPEG_VIDEO_ASPECT
	.comm	_V4L2_MPEG_VIDEO_H264_PROFILE_BASELINE,4,2 ## @V4L2_MPEG_VIDEO_H264_PROFILE_BASELINE
	.comm	_V4L2_MPEG_VIDEO_H264_PROFILE_MAIN,4,2 ## @V4L2_MPEG_VIDEO_H264_PROFILE_MAIN
	.comm	_V4L2_MPEG_VIDEO_H264_PROFILE_HIGH,4,2 ## @V4L2_MPEG_VIDEO_H264_PROFILE_HIGH
	.comm	_V4L2_MPEG_VIDEO_H264_PROFILE_STEREO_HIGH,4,2 ## @V4L2_MPEG_VIDEO_H264_PROFILE_STEREO_HIGH
	.comm	_V4L2_CID_MPEG_VIDEO_H264_PROFILE,4,2 ## @V4L2_CID_MPEG_VIDEO_H264_PROFILE
	.comm	_V4L2_CID_MPEG_VIDEO_H264_LEVEL,4,2 ## @V4L2_CID_MPEG_VIDEO_H264_LEVEL
	.comm	_V4L2_MPEG_VIDEO_H264_LEVEL_4_2,4,2 ## @V4L2_MPEG_VIDEO_H264_LEVEL_4_2
	.comm	_V4L2_MPEG_VIDEO_H264_LEVEL_4_0,4,2 ## @V4L2_MPEG_VIDEO_H264_LEVEL_4_0
	.comm	_V4L2_CID_MPEG_VIDEO_H264_ENTROPY_MODE,4,2 ## @V4L2_CID_MPEG_VIDEO_H264_ENTROPY_MODE
	.comm	_V4L2_MPEG_VIDEO_H264_ENTROPY_MODE_CABAC,4,2 ## @V4L2_MPEG_VIDEO_H264_ENTROPY_MODE_CABAC
	.comm	_V4L2_MPEG_VIDEO_H264_ENTROPY_MODE_CAVLC,4,2 ## @V4L2_MPEG_VIDEO_H264_ENTROPY_MODE_CAVLC
	.comm	_V4L2_CID_MPEG_VIDEO_H264_CPB_SIZE,4,2 ## @V4L2_CID_MPEG_VIDEO_H264_CPB_SIZE
	.comm	_V4L2_CID_MPEG_VIDEO_H264_8X8_TRANSFORM,4,2 ## @V4L2_CID_MPEG_VIDEO_H264_8X8_TRANSFORM
	.comm	_V4L2_CID_MPEG_VIDEO_H264_MIN_QP,4,2 ## @V4L2_CID_MPEG_VIDEO_H264_MIN_QP
	.comm	_V4L2_CID_MPEG_VIDEO_H264_MAX_QP,4,2 ## @V4L2_CID_MPEG_VIDEO_H264_MAX_QP
	.comm	_V4L2_CID_MPEG_VIDEO_H264_VUI_SAR_ENABLE,4,2 ## @V4L2_CID_MPEG_VIDEO_H264_VUI_SAR_ENABLE
	.comm	_V4L2_MPEG_VIDEO_H264_VUI_SAR_IDC_1x1,4,2 ## @V4L2_MPEG_VIDEO_H264_VUI_SAR_IDC_1x1
	.comm	_V4L2_CID_MPEG_VIDEO_H264_VUI_SAR_IDC,4,2 ## @V4L2_CID_MPEG_VIDEO_H264_VUI_SAR_IDC
	.comm	_V4L2_CID_MPEG_VIDEO_H264_SEI_FRAME_PACKING,4,2 ## @V4L2_CID_MPEG_VIDEO_H264_SEI_FRAME_PACKING
	.comm	_V4L2_CID_MPEG_VIDEO_H264_SEI_FP_ARRANGEMENT_TYPE,4,2 ## @V4L2_CID_MPEG_VIDEO_H264_SEI_FP_ARRANGEMENT_TYPE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s controls setup failed (%d)\n"

	.comm	_HVA_DEFAULT_FRAME_NUM,4,2      ## @HVA_DEFAULT_FRAME_NUM
	.comm	_HVA_DEFAULT_FRAME_DEN,4,2      ## @HVA_DEFAULT_FRAME_DEN
	.no_dead_strip	_hva_ctrls_setup
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hva_ctrls_setup
_hva_ctrls_setup:                       ; @hva_ctrls_setup
	.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, x0
	bl	_ctx_to_dev
	mov	x21, x0
Lloh0:
	adrp	x8, _V4L2_MPEG_VIDEO_H264_SEI_FP_ARRANGEMENT_TYPE_TOP_BOTTOM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _V4L2_MPEG_VIDEO_H264_SEI_FP_ARRANGEMENT_TYPE_TOP_BOTTOM@GOTPAGEOFF]
Lloh2:
	ldr	w22, [x8]
	add	x20, x19, #8
	mov	x0, x20
	mov	w1, #15
	bl	_v4l2_ctrl_handler_init
Lloh3:
	adrp	x8, _V4L2_CID_MPEG_VIDEO_BITRATE_MODE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _V4L2_CID_MPEG_VIDEO_BITRATE_MODE@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
Lloh6:
	adrp	x8, _V4L2_MPEG_VIDEO_BITRATE_MODE_CBR@GOTPAGE
Lloh7:
	ldr	x8, [x8, _V4L2_MPEG_VIDEO_BITRATE_MODE_CBR@GOTPAGEOFF]
Lloh8:
	ldr	w3, [x8]
Lloh9:
	adrp	x23, _hva_ctrl_ops@GOTPAGE
Lloh10:
	ldr	x23, [x23, _hva_ctrl_ops@GOTPAGEOFF]
	mov	x0, x20
	mov	x1, x23
	mov	w4, #0
	mov	x5, x3
	bl	_v4l2_ctrl_new_std_menu
Lloh11:
	adrp	x8, _V4L2_CID_MPEG_VIDEO_GOP_SIZE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _V4L2_CID_MPEG_VIDEO_GOP_SIZE@GOTPAGEOFF]
Lloh13:
	ldr	w2, [x8]
	mov	w24, #1
	mov	x0, x20
	mov	x1, x23
	mov	w3, #1
	mov	w4, #60
	mov	w5, #1
	mov	w6, #16
	bl	_v4l2_ctrl_new_std
Lloh14:
	adrp	x8, _V4L2_CID_MPEG_VIDEO_BITRATE@GOTPAGE
Lloh15:
	ldr	x8, [x8, _V4L2_CID_MPEG_VIDEO_BITRATE@GOTPAGEOFF]
Lloh16:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x1, x23
	mov	w3, #1000
	mov	w4, #34560
	movk	w4, #915, lsl #16
	mov	w5, #1000
	mov	w6, #11520
	movk	w6, #305, lsl #16
	bl	_v4l2_ctrl_new_std
Lloh17:
	adrp	x8, _V4L2_MPEG_VIDEO_ASPECT_1x1@GOTPAGE
Lloh18:
	ldr	x8, [x8, _V4L2_MPEG_VIDEO_ASPECT_1x1@GOTPAGEOFF]
Lloh19:
	ldr	w3, [x8]
	lsl	w8, w24, w3
	mvn	w4, w8
Lloh20:
	adrp	x8, _V4L2_CID_MPEG_VIDEO_ASPECT@GOTPAGE
Lloh21:
	ldr	x8, [x8, _V4L2_CID_MPEG_VIDEO_ASPECT@GOTPAGEOFF]
Lloh22:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x1, x23
	mov	x5, x3
	bl	_v4l2_ctrl_new_std_menu
Lloh23:
	adrp	x8, _V4L2_MPEG_VIDEO_H264_PROFILE_BASELINE@GOTPAGE
Lloh24:
	ldr	x8, [x8, _V4L2_MPEG_VIDEO_H264_PROFILE_BASELINE@GOTPAGEOFF]
Lloh25:
	ldr	w8, [x8]
Lloh26:
	adrp	x9, _V4L2_MPEG_VIDEO_H264_PROFILE_MAIN@GOTPAGE
Lloh27:
	ldr	x9, [x9, _V4L2_MPEG_VIDEO_H264_PROFILE_MAIN@GOTPAGEOFF]
	lsl	w8, w24, w8
Lloh28:
	ldr	w9, [x9]
	lsl	w9, w24, w9
	orr	w8, w9, w8
Lloh29:
	adrp	x9, _V4L2_MPEG_VIDEO_H264_PROFILE_HIGH@GOTPAGE
Lloh30:
	ldr	x9, [x9, _V4L2_MPEG_VIDEO_H264_PROFILE_HIGH@GOTPAGEOFF]
Lloh31:
	ldr	w5, [x9]
	lsl	w9, w24, w5
	orr	w8, w8, w9
Lloh32:
	adrp	x9, _V4L2_MPEG_VIDEO_H264_PROFILE_STEREO_HIGH@GOTPAGE
Lloh33:
	ldr	x9, [x9, _V4L2_MPEG_VIDEO_H264_PROFILE_STEREO_HIGH@GOTPAGEOFF]
Lloh34:
	ldr	w3, [x9]
	lsl	w9, w24, w3
	orr	w8, w8, w9
	mvn	w4, w8
Lloh35:
	adrp	x8, _V4L2_CID_MPEG_VIDEO_H264_PROFILE@GOTPAGE
Lloh36:
	ldr	x8, [x8, _V4L2_CID_MPEG_VIDEO_H264_PROFILE@GOTPAGEOFF]
Lloh37:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x1, x23
                                        ; kill: def $w3 killed $w3 killed $x3
                                        ; kill: def $w5 killed $w5 killed $x5
	bl	_v4l2_ctrl_new_std_menu
Lloh38:
	adrp	x8, _V4L2_CID_MPEG_VIDEO_H264_LEVEL@GOTPAGE
Lloh39:
	ldr	x8, [x8, _V4L2_CID_MPEG_VIDEO_H264_LEVEL@GOTPAGEOFF]
Lloh40:
	ldr	w2, [x8]
Lloh41:
	adrp	x8, _V4L2_MPEG_VIDEO_H264_LEVEL_4_2@GOTPAGE
Lloh42:
	ldr	x8, [x8, _V4L2_MPEG_VIDEO_H264_LEVEL_4_2@GOTPAGEOFF]
Lloh43:
	ldr	w3, [x8]
Lloh44:
	adrp	x8, _V4L2_MPEG_VIDEO_H264_LEVEL_4_0@GOTPAGE
Lloh45:
	ldr	x8, [x8, _V4L2_MPEG_VIDEO_H264_LEVEL_4_0@GOTPAGEOFF]
Lloh46:
	ldr	w5, [x8]
	mov	x0, x20
	mov	x1, x23
	mov	w4, #0
	bl	_v4l2_ctrl_new_std_menu
Lloh47:
	adrp	x8, _V4L2_CID_MPEG_VIDEO_H264_ENTROPY_MODE@GOTPAGE
Lloh48:
	ldr	x8, [x8, _V4L2_CID_MPEG_VIDEO_H264_ENTROPY_MODE@GOTPAGEOFF]
Lloh49:
	ldr	w2, [x8]
Lloh50:
	adrp	x8, _V4L2_MPEG_VIDEO_H264_ENTROPY_MODE_CABAC@GOTPAGE
Lloh51:
	ldr	x8, [x8, _V4L2_MPEG_VIDEO_H264_ENTROPY_MODE_CABAC@GOTPAGEOFF]
Lloh52:
	ldr	w3, [x8]
Lloh53:
	adrp	x8, _V4L2_MPEG_VIDEO_H264_ENTROPY_MODE_CAVLC@GOTPAGE
Lloh54:
	ldr	x8, [x8, _V4L2_MPEG_VIDEO_H264_ENTROPY_MODE_CAVLC@GOTPAGEOFF]
Lloh55:
	ldr	w5, [x8]
	mov	x0, x20
	mov	x1, x23
	mov	w4, #0
	bl	_v4l2_ctrl_new_std_menu
Lloh56:
	adrp	x8, _V4L2_CID_MPEG_VIDEO_H264_CPB_SIZE@GOTPAGE
Lloh57:
	ldr	x8, [x8, _V4L2_CID_MPEG_VIDEO_H264_CPB_SIZE@GOTPAGEOFF]
Lloh58:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x1, x23
	mov	w3, #1
	mov	w4, #10000
	mov	w5, #1
	mov	w6, #3000
	bl	_v4l2_ctrl_new_std
Lloh59:
	adrp	x8, _V4L2_CID_MPEG_VIDEO_H264_8X8_TRANSFORM@GOTPAGE
Lloh60:
	ldr	x8, [x8, _V4L2_CID_MPEG_VIDEO_H264_8X8_TRANSFORM@GOTPAGEOFF]
Lloh61:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x1, x23
	mov	w3, #0
	mov	w4, #1
	mov	w5, #1
	mov	w6, #0
	bl	_v4l2_ctrl_new_std
Lloh62:
	adrp	x8, _V4L2_CID_MPEG_VIDEO_H264_MIN_QP@GOTPAGE
Lloh63:
	ldr	x8, [x8, _V4L2_CID_MPEG_VIDEO_H264_MIN_QP@GOTPAGEOFF]
Lloh64:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x1, x23
	mov	w3, #0
	mov	w4, #51
	mov	w5, #1
	mov	w6, #5
	bl	_v4l2_ctrl_new_std
Lloh65:
	adrp	x8, _V4L2_CID_MPEG_VIDEO_H264_MAX_QP@GOTPAGE
Lloh66:
	ldr	x8, [x8, _V4L2_CID_MPEG_VIDEO_H264_MAX_QP@GOTPAGEOFF]
Lloh67:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x1, x23
	mov	w3, #0
	mov	w4, #51
	mov	w5, #1
	mov	w6, #51
	bl	_v4l2_ctrl_new_std
Lloh68:
	adrp	x8, _V4L2_CID_MPEG_VIDEO_H264_VUI_SAR_ENABLE@GOTPAGE
Lloh69:
	ldr	x8, [x8, _V4L2_CID_MPEG_VIDEO_H264_VUI_SAR_ENABLE@GOTPAGEOFF]
Lloh70:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x1, x23
	mov	w3, #0
	mov	w4, #1
	mov	w5, #1
	mov	w6, #1
	bl	_v4l2_ctrl_new_std
Lloh71:
	adrp	x8, _V4L2_MPEG_VIDEO_H264_VUI_SAR_IDC_1x1@GOTPAGE
Lloh72:
	ldr	x8, [x8, _V4L2_MPEG_VIDEO_H264_VUI_SAR_IDC_1x1@GOTPAGEOFF]
Lloh73:
	ldr	w3, [x8]
	lsl	w8, w24, w3
	mvn	w4, w8
Lloh74:
	adrp	x8, _V4L2_CID_MPEG_VIDEO_H264_VUI_SAR_IDC@GOTPAGE
Lloh75:
	ldr	x8, [x8, _V4L2_CID_MPEG_VIDEO_H264_VUI_SAR_IDC@GOTPAGEOFF]
Lloh76:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x1, x23
	mov	x5, x3
	bl	_v4l2_ctrl_new_std_menu
Lloh77:
	adrp	x8, _V4L2_CID_MPEG_VIDEO_H264_SEI_FRAME_PACKING@GOTPAGE
Lloh78:
	ldr	x8, [x8, _V4L2_CID_MPEG_VIDEO_H264_SEI_FRAME_PACKING@GOTPAGEOFF]
Lloh79:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x1, x23
	mov	w3, #0
	mov	w4, #1
	mov	w5, #1
	mov	w6, #0
	bl	_v4l2_ctrl_new_std
	lsl	w8, w24, w22
	mvn	w4, w8
Lloh80:
	adrp	x8, _V4L2_CID_MPEG_VIDEO_H264_SEI_FP_ARRANGEMENT_TYPE@GOTPAGE
Lloh81:
	ldr	x8, [x8, _V4L2_CID_MPEG_VIDEO_H264_SEI_FP_ARRANGEMENT_TYPE@GOTPAGEOFF]
Lloh82:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x1, x23
	mov	x3, x22
	mov	x5, x22
	bl	_v4l2_ctrl_new_std_menu
	ldr	w22, [x19, #8]
	cbz	w22, LBB0_2
; %bb.1:
	ldr	w2, [x19, #12]
Lloh83:
	adrp	x1, l_.str@PAGE
Lloh84:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x21
	mov	x3, x22
	bl	_dev_dbg
	mov	x0, x20
	bl	_v4l2_ctrl_handler_free
	b	LBB0_3
LBB0_2:
	mov	x0, x20
	bl	_v4l2_ctrl_handler_setup
Lloh85:
	adrp	x8, _HVA_DEFAULT_FRAME_NUM@GOTPAGE
Lloh86:
	ldr	x8, [x8, _HVA_DEFAULT_FRAME_NUM@GOTPAGEOFF]
Lloh87:
	ldr	w8, [x8]
Lloh88:
	adrp	x9, _HVA_DEFAULT_FRAME_DEN@GOTPAGE
Lloh89:
	ldr	x9, [x9, _HVA_DEFAULT_FRAME_DEN@GOTPAGEOFF]
Lloh90:
	ldr	w9, [x9]
	stp	w9, w8, [x19]
LBB0_3:
	mov	x0, x22
	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 AdrpLdrGotLdr	Lloh80, Lloh81, Lloh82
	.loh AdrpLdrGotLdr	Lloh77, Lloh78, Lloh79
	.loh AdrpLdrGotLdr	Lloh74, Lloh75, Lloh76
	.loh AdrpLdrGotLdr	Lloh71, Lloh72, Lloh73
	.loh AdrpLdrGotLdr	Lloh68, Lloh69, Lloh70
	.loh AdrpLdrGotLdr	Lloh65, Lloh66, Lloh67
	.loh AdrpLdrGotLdr	Lloh62, Lloh63, Lloh64
	.loh AdrpLdrGotLdr	Lloh59, Lloh60, Lloh61
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh58
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh83, Lloh84
	.loh AdrpLdrGotLdr	Lloh88, Lloh89, Lloh90
	.loh AdrpLdrGotLdr	Lloh85, Lloh86, Lloh87
	.cfi_endproc
                                        ; -- End function
	.comm	_V4L2_MPEG_VIDEO_H264_SEI_FP_ARRANGEMENT_TYPE_TOP_BOTTOM,4,2 ; @V4L2_MPEG_VIDEO_H264_SEI_FP_ARRANGEMENT_TYPE_TOP_BOTTOM
	.comm	_hva_ctrl_ops,4,2               ; @hva_ctrl_ops
	.comm	_V4L2_CID_MPEG_VIDEO_BITRATE_MODE,4,2 ; @V4L2_CID_MPEG_VIDEO_BITRATE_MODE
	.comm	_V4L2_MPEG_VIDEO_BITRATE_MODE_CBR,4,2 ; @V4L2_MPEG_VIDEO_BITRATE_MODE_CBR
	.comm	_V4L2_CID_MPEG_VIDEO_GOP_SIZE,4,2 ; @V4L2_CID_MPEG_VIDEO_GOP_SIZE
	.comm	_V4L2_CID_MPEG_VIDEO_BITRATE,4,2 ; @V4L2_CID_MPEG_VIDEO_BITRATE
	.comm	_V4L2_MPEG_VIDEO_ASPECT_1x1,4,2 ; @V4L2_MPEG_VIDEO_ASPECT_1x1
	.comm	_V4L2_CID_MPEG_VIDEO_ASPECT,4,2 ; @V4L2_CID_MPEG_VIDEO_ASPECT
	.comm	_V4L2_MPEG_VIDEO_H264_PROFILE_BASELINE,4,2 ; @V4L2_MPEG_VIDEO_H264_PROFILE_BASELINE
	.comm	_V4L2_MPEG_VIDEO_H264_PROFILE_MAIN,4,2 ; @V4L2_MPEG_VIDEO_H264_PROFILE_MAIN
	.comm	_V4L2_MPEG_VIDEO_H264_PROFILE_HIGH,4,2 ; @V4L2_MPEG_VIDEO_H264_PROFILE_HIGH
	.comm	_V4L2_MPEG_VIDEO_H264_PROFILE_STEREO_HIGH,4,2 ; @V4L2_MPEG_VIDEO_H264_PROFILE_STEREO_HIGH
	.comm	_V4L2_CID_MPEG_VIDEO_H264_PROFILE,4,2 ; @V4L2_CID_MPEG_VIDEO_H264_PROFILE
	.comm	_V4L2_CID_MPEG_VIDEO_H264_LEVEL,4,2 ; @V4L2_CID_MPEG_VIDEO_H264_LEVEL
	.comm	_V4L2_MPEG_VIDEO_H264_LEVEL_4_2,4,2 ; @V4L2_MPEG_VIDEO_H264_LEVEL_4_2
	.comm	_V4L2_MPEG_VIDEO_H264_LEVEL_4_0,4,2 ; @V4L2_MPEG_VIDEO_H264_LEVEL_4_0
	.comm	_V4L2_CID_MPEG_VIDEO_H264_ENTROPY_MODE,4,2 ; @V4L2_CID_MPEG_VIDEO_H264_ENTROPY_MODE
	.comm	_V4L2_MPEG_VIDEO_H264_ENTROPY_MODE_CABAC,4,2 ; @V4L2_MPEG_VIDEO_H264_ENTROPY_MODE_CABAC
	.comm	_V4L2_MPEG_VIDEO_H264_ENTROPY_MODE_CAVLC,4,2 ; @V4L2_MPEG_VIDEO_H264_ENTROPY_MODE_CAVLC
	.comm	_V4L2_CID_MPEG_VIDEO_H264_CPB_SIZE,4,2 ; @V4L2_CID_MPEG_VIDEO_H264_CPB_SIZE
	.comm	_V4L2_CID_MPEG_VIDEO_H264_8X8_TRANSFORM,4,2 ; @V4L2_CID_MPEG_VIDEO_H264_8X8_TRANSFORM
	.comm	_V4L2_CID_MPEG_VIDEO_H264_MIN_QP,4,2 ; @V4L2_CID_MPEG_VIDEO_H264_MIN_QP
	.comm	_V4L2_CID_MPEG_VIDEO_H264_MAX_QP,4,2 ; @V4L2_CID_MPEG_VIDEO_H264_MAX_QP
	.comm	_V4L2_CID_MPEG_VIDEO_H264_VUI_SAR_ENABLE,4,2 ; @V4L2_CID_MPEG_VIDEO_H264_VUI_SAR_ENABLE
	.comm	_V4L2_MPEG_VIDEO_H264_VUI_SAR_IDC_1x1,4,2 ; @V4L2_MPEG_VIDEO_H264_VUI_SAR_IDC_1x1
	.comm	_V4L2_CID_MPEG_VIDEO_H264_VUI_SAR_IDC,4,2 ; @V4L2_CID_MPEG_VIDEO_H264_VUI_SAR_IDC
	.comm	_V4L2_CID_MPEG_VIDEO_H264_SEI_FRAME_PACKING,4,2 ; @V4L2_CID_MPEG_VIDEO_H264_SEI_FRAME_PACKING
	.comm	_V4L2_CID_MPEG_VIDEO_H264_SEI_FP_ARRANGEMENT_TYPE,4,2 ; @V4L2_CID_MPEG_VIDEO_H264_SEI_FP_ARRANGEMENT_TYPE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s controls setup failed (%d)\n"

	.comm	_HVA_DEFAULT_FRAME_NUM,4,2      ; @HVA_DEFAULT_FRAME_NUM
	.comm	_HVA_DEFAULT_FRAME_DEN,4,2      ; @HVA_DEFAULT_FRAME_DEN
	.no_dead_strip	_hva_ctrls_setup
.subsections_via_symbols
