	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_ctrl
_get_ctrl:                              ## @get_ctrl
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rdx), %eax
	addl	$-128, %eax
	cmpl	$13, %eax
	ja	LBB0_19
## %bb.1:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_14:
	movq	_V4L2_MPEG_VIDEO_ENCODING_MPEG_2@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_17:
	imull	$1000, 36(%rsi), %eax           ## imm = 0x3E8
	jmp	LBB0_4
LBB0_18:
	movl	40(%rsi), %eax
	jmp	LBB0_4
LBB0_16:
	imull	$1000, 32(%rsi), %eax           ## imm = 0x3E8
	jmp	LBB0_4
LBB0_15:
	movl	28(%rsi), %eax
	jmp	LBB0_4
LBB0_2:
	movq	_V4L2_MPEG_STREAM_TYPE_MPEG2_TS@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_7:
	movl	8(%rsi), %eax
	jmp	LBB0_4
LBB0_5:
	movl	(%rsi), %eax
	jmp	LBB0_4
LBB0_8:
	movl	12(%rsi), %eax
	jmp	LBB0_4
LBB0_6:
	movl	4(%rsi), %eax
	jmp	LBB0_4
LBB0_13:
	movq	_V4L2_MPEG_AUDIO_SAMPLING_FREQ_48000@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %eax
	jmp	LBB0_4
LBB0_10:
	movl	20(%rsi), %eax
	jmp	LBB0_4
LBB0_9:
	movl	16(%rsi), %eax
	jmp	LBB0_4
LBB0_11:
	testl	%edi, %edi
	je	LBB0_19
## %bb.12:
	movl	24(%rsi), %eax
LBB0_4:
	movl	%eax, 4(%rdx)
	xorl	%eax, %eax
	popq	%rbp
	retq
LBB0_19:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_17, LBB0_17-LJTI0_0
.set L0_0_set_18, LBB0_18-LJTI0_0
.set L0_0_set_16, LBB0_16-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.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_6, LBB0_6-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
LJTI0_0:
	.long	L0_0_set_14
	.long	L0_0_set_17
	.long	L0_0_set_18
	.long	L0_0_set_16
	.long	L0_0_set_15
	.long	L0_0_set_2
	.long	L0_0_set_7
	.long	L0_0_set_5
	.long	L0_0_set_8
	.long	L0_0_set_6
	.long	L0_0_set_13
	.long	L0_0_set_10
	.long	L0_0_set_9
	.long	L0_0_set_11
	.end_data_region
                                        ## -- End function
	.comm	_V4L2_MPEG_STREAM_TYPE_MPEG2_TS,4,2 ## @V4L2_MPEG_STREAM_TYPE_MPEG2_TS
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_V4L2_MPEG_AUDIO_SAMPLING_FREQ_48000,4,2 ## @V4L2_MPEG_AUDIO_SAMPLING_FREQ_48000
	.comm	_V4L2_MPEG_VIDEO_ENCODING_MPEG_2,4,2 ## @V4L2_MPEG_VIDEO_ENCODING_MPEG_2
	.no_dead_strip	_get_ctrl
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_ctrl
_get_ctrl:                              ; @get_ctrl
	.cfi_startproc
; %bb.0:
	ldr	w8, [x2]
	sub	w8, w8, #128
	cmp	w8, #13
	b.hi	LBB0_19
; %bb.1:
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	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	w0, #0
Lloh2:
	adrp	x8, _V4L2_MPEG_VIDEO_ENCODING_MPEG_2@GOTPAGE
Lloh3:
	ldr	x8, [x8, _V4L2_MPEG_VIDEO_ENCODING_MPEG_2@GOTPAGEOFF]
	b	LBB0_14
LBB0_3:
	mov	w0, #0
	ldr	w8, [x1, #36]
	b	LBB0_6
LBB0_4:
	mov	w0, #0
	ldr	w8, [x1, #40]
	str	w8, [x2, #4]
	ret
LBB0_5:
	mov	w0, #0
	ldr	w8, [x1, #32]
LBB0_6:
	mov	w9, #1000
	mul	w8, w8, w9
	str	w8, [x2, #4]
	ret
LBB0_7:
	mov	w0, #0
	ldr	w8, [x1, #28]
	str	w8, [x2, #4]
	ret
LBB0_8:
	mov	w0, #0
Lloh4:
	adrp	x8, _V4L2_MPEG_STREAM_TYPE_MPEG2_TS@GOTPAGE
Lloh5:
	ldr	x8, [x8, _V4L2_MPEG_STREAM_TYPE_MPEG2_TS@GOTPAGEOFF]
	b	LBB0_14
LBB0_9:
	mov	w0, #0
	ldr	w8, [x1, #8]
	str	w8, [x2, #4]
	ret
LBB0_10:
	mov	w0, #0
	ldr	w8, [x1]
	str	w8, [x2, #4]
	ret
LBB0_11:
	mov	w0, #0
	ldr	w8, [x1, #12]
	str	w8, [x2, #4]
	ret
LBB0_12:
	mov	w0, #0
	ldr	w8, [x1, #4]
	str	w8, [x2, #4]
	ret
LBB0_13:
	mov	w0, #0
Lloh6:
	adrp	x8, _V4L2_MPEG_AUDIO_SAMPLING_FREQ_48000@GOTPAGE
Lloh7:
	ldr	x8, [x8, _V4L2_MPEG_AUDIO_SAMPLING_FREQ_48000@GOTPAGEOFF]
LBB0_14:
	ldr	w8, [x8]
	str	w8, [x2, #4]
	ret
LBB0_15:
	mov	w0, #0
	ldr	w8, [x1, #20]
	str	w8, [x2, #4]
	ret
LBB0_16:
	mov	w0, #0
	ldr	w8, [x1, #16]
	str	w8, [x2, #4]
	ret
LBB0_17:
	cbz	w0, LBB0_19
; %bb.18:
	mov	w0, #0
	ldr	w8, [x1, #24]
	str	w8, [x2, #4]
	ret
LBB0_19:
Lloh8:
	adrp	x8, _EINVAL@GOTPAGE
Lloh9:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	neg	w0, w8
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_8-LBB0_2)>>2
	.byte	(LBB0_9-LBB0_2)>>2
	.byte	(LBB0_10-LBB0_2)>>2
	.byte	(LBB0_11-LBB0_2)>>2
	.byte	(LBB0_12-LBB0_2)>>2
	.byte	(LBB0_13-LBB0_2)>>2
	.byte	(LBB0_15-LBB0_2)>>2
	.byte	(LBB0_16-LBB0_2)>>2
	.byte	(LBB0_17-LBB0_2)>>2
                                        ; -- End function
	.comm	_V4L2_MPEG_STREAM_TYPE_MPEG2_TS,4,2 ; @V4L2_MPEG_STREAM_TYPE_MPEG2_TS
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_V4L2_MPEG_AUDIO_SAMPLING_FREQ_48000,4,2 ; @V4L2_MPEG_AUDIO_SAMPLING_FREQ_48000
	.comm	_V4L2_MPEG_VIDEO_ENCODING_MPEG_2,4,2 ; @V4L2_MPEG_VIDEO_ENCODING_MPEG_2
	.no_dead_strip	_get_ctrl
.subsections_via_symbols
