	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cx2341x_ctrl_get_menu          ## -- Begin function cx2341x_ctrl_get_menu
	.p2align	4, 0x90
_cx2341x_ctrl_get_menu:                 ## @cx2341x_ctrl_get_menu
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
                                        ## kill: def $esi killed $esi def $rsi
	leal	-128(%rsi), %ecx
	cmpl	$8, %ecx
	ja	LBB0_6
## %bb.1:
	xorl	%eax, %eax
	leaq	LJTI0_0(%rip), %rdx
	movslq	(%rdx,%rcx,4), %rcx
	addq	%rdx, %rcx
	jmpq	*%rcx
LBB0_5:
	movl	%esi, %edi
	popq	%rbp
	jmp	_cx2341x_get_menu               ## TAILCALL
LBB0_6:
	movl	%esi, %edi
	popq	%rbp
	jmp	_v4l2_ctrl_get_menu             ## TAILCALL
LBB0_7:
	movq	_CX2341X_CAP_HAS_TS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rdi)
	leaq	_cx2341x_ctrl_get_menu.mpeg_stream_type_without_ts(%rip), %rcx
	leaq	_cx2341x_ctrl_get_menu.mpeg_stream_type_with_ts(%rip), %rax
	cmoveq	%rcx, %rax
LBB0_8:
	popq	%rbp
	retq
LBB0_2:
	movq	_CX2341X_CAP_HAS_AC3@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rdi)
	je	LBB0_4
## %bb.3:
	leaq	_cx2341x_ctrl_get_menu.mpeg_audio_encoding_l2_ac3(%rip), %rax
	popq	%rbp
	retq
LBB0_4:
	movl	$136, %edi
	popq	%rbp
	jmp	_v4l2_ctrl_get_menu             ## TAILCALL
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
LJTI0_0:
	.long	L0_0_set_7
	.long	L0_0_set_5
	.long	L0_0_set_5
	.long	L0_0_set_5
	.long	L0_0_set_5
	.long	L0_0_set_5
	.long	L0_0_set_8
	.long	L0_0_set_8
	.long	L0_0_set_2
	.end_data_region
                                        ## -- End function
	.section	__DATA,__const
	.p2align	4                               ## @cx2341x_ctrl_get_menu.mpeg_stream_type_without_ts
_cx2341x_ctrl_get_menu.mpeg_stream_type_without_ts:
	.quad	L_.str
	.quad	L_.str.1
	.quad	L_.str.2
	.quad	L_.str.3
	.quad	L_.str.4
	.quad	L_.str.5
	.quad	0

	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"MPEG-2 Program Stream"

L_.str.1:                               ## @.str.1
	.space	1

L_.str.2:                               ## @.str.2
	.asciz	"MPEG-1 System Stream"

L_.str.3:                               ## @.str.3
	.asciz	"MPEG-2 DVD-compatible Stream"

L_.str.4:                               ## @.str.4
	.asciz	"MPEG-1 VCD-compatible Stream"

L_.str.5:                               ## @.str.5
	.asciz	"MPEG-2 SVCD-compatible Stream"

	.section	__DATA,__data
	.p2align	4                               ## @cx2341x_ctrl_get_menu.mpeg_stream_type_with_ts
_cx2341x_ctrl_get_menu.mpeg_stream_type_with_ts:
	.quad	L_.str
	.quad	L_.str.6
	.quad	L_.str.2
	.quad	L_.str.3
	.quad	L_.str.4
	.quad	L_.str.5
	.quad	0

	.section	__TEXT,__cstring,cstring_literals
L_.str.6:                               ## @.str.6
	.asciz	"MPEG-2 Transport Stream"

	.section	__DATA,__data
	.p2align	4                               ## @cx2341x_ctrl_get_menu.mpeg_audio_encoding_l2_ac3
_cx2341x_ctrl_get_menu.mpeg_audio_encoding_l2_ac3:
	.quad	L_.str.1
	.quad	L_.str.7
	.quad	L_.str.1
	.quad	L_.str.1
	.quad	L_.str.8
	.quad	0

	.section	__TEXT,__cstring,cstring_literals
L_.str.7:                               ## @.str.7
	.asciz	"MPEG-1/2 Layer II"

L_.str.8:                               ## @.str.8
	.asciz	"AC-3"

	.comm	_CX2341X_CAP_HAS_TS,4,2         ## @CX2341X_CAP_HAS_TS
	.comm	_CX2341X_CAP_HAS_AC3,4,2        ## @CX2341X_CAP_HAS_AC3
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cx2341x_ctrl_get_menu          ; -- Begin function cx2341x_ctrl_get_menu
	.p2align	2
_cx2341x_ctrl_get_menu:                 ; @cx2341x_ctrl_get_menu
	.cfi_startproc
; %bb.0:
	sub	w9, w1, #128
	cmp	w9, #8
	b.hi	LBB0_3
; %bb.1:
	mov	x8, x0
	mov	x0, #0
Lloh0:
	adrp	x10, lJTI0_0@PAGE
Lloh1:
	add	x10, x10, lJTI0_0@PAGEOFF
	adr	x11, LBB0_2
	ldrb	w12, [x10, x9]
	add	x11, x11, x12, lsl #2
	br	x11
LBB0_2:
	mov	x0, x1
	b	_cx2341x_get_menu
LBB0_3:
	mov	x0, x1
	b	_v4l2_ctrl_get_menu
LBB0_4:
	ldr	w8, [x8]
Lloh2:
	adrp	x9, _CX2341X_CAP_HAS_TS@GOTPAGE
Lloh3:
	ldr	x9, [x9, _CX2341X_CAP_HAS_TS@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
Lloh5:
	adrp	x10, _cx2341x_ctrl_get_menu.mpeg_stream_type_with_ts@PAGE
Lloh6:
	add	x10, x10, _cx2341x_ctrl_get_menu.mpeg_stream_type_with_ts@PAGEOFF
Lloh7:
	adrp	x11, _cx2341x_ctrl_get_menu.mpeg_stream_type_without_ts@PAGE
Lloh8:
	add	x11, x11, _cx2341x_ctrl_get_menu.mpeg_stream_type_without_ts@PAGEOFF
	tst	w9, w8
	csel	x0, x11, x10, eq
LBB0_5:
	ret
LBB0_6:
	ldr	w8, [x8]
Lloh9:
	adrp	x9, _CX2341X_CAP_HAS_AC3@GOTPAGE
Lloh10:
	ldr	x9, [x9, _CX2341X_CAP_HAS_AC3@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_8
; %bb.7:
Lloh12:
	adrp	x0, _cx2341x_ctrl_get_menu.mpeg_audio_encoding_l2_ac3@PAGE
Lloh13:
	add	x0, x0, _cx2341x_ctrl_get_menu.mpeg_audio_encoding_l2_ac3@PAGEOFF
	ret
LBB0_8:
	mov	w0, #136
	b	_v4l2_ctrl_get_menu
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
                                        ; -- End function
	.section	__DATA,__const
	.p2align	3                               ; @cx2341x_ctrl_get_menu.mpeg_stream_type_without_ts
_cx2341x_ctrl_get_menu.mpeg_stream_type_without_ts:
	.quad	l_.str
	.quad	l_.str.1
	.quad	l_.str.2
	.quad	l_.str.3
	.quad	l_.str.4
	.quad	l_.str.5
	.quad	0

	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"MPEG-2 Program Stream"

l_.str.1:                               ; @.str.1
	.space	1

l_.str.2:                               ; @.str.2
	.asciz	"MPEG-1 System Stream"

l_.str.3:                               ; @.str.3
	.asciz	"MPEG-2 DVD-compatible Stream"

l_.str.4:                               ; @.str.4
	.asciz	"MPEG-1 VCD-compatible Stream"

l_.str.5:                               ; @.str.5
	.asciz	"MPEG-2 SVCD-compatible Stream"

	.section	__DATA,__data
	.p2align	3                               ; @cx2341x_ctrl_get_menu.mpeg_stream_type_with_ts
_cx2341x_ctrl_get_menu.mpeg_stream_type_with_ts:
	.quad	l_.str
	.quad	l_.str.6
	.quad	l_.str.2
	.quad	l_.str.3
	.quad	l_.str.4
	.quad	l_.str.5
	.quad	0

	.section	__TEXT,__cstring,cstring_literals
l_.str.6:                               ; @.str.6
	.asciz	"MPEG-2 Transport Stream"

	.section	__DATA,__data
	.p2align	3                               ; @cx2341x_ctrl_get_menu.mpeg_audio_encoding_l2_ac3
_cx2341x_ctrl_get_menu.mpeg_audio_encoding_l2_ac3:
	.quad	l_.str.1
	.quad	l_.str.7
	.quad	l_.str.1
	.quad	l_.str.1
	.quad	l_.str.8
	.quad	0

	.section	__TEXT,__cstring,cstring_literals
l_.str.7:                               ; @.str.7
	.asciz	"MPEG-1/2 Layer II"

l_.str.8:                               ; @.str.8
	.asciz	"AC-3"

	.comm	_CX2341X_CAP_HAS_TS,4,2         ; @CX2341X_CAP_HAS_TS
	.comm	_CX2341X_CAP_HAS_AC3,4,2        ; @CX2341X_CAP_HAS_AC3
.subsections_via_symbols
