	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function usbtv_norm_to_16f_reg
_usbtv_norm_to_16f_reg:                 ## @usbtv_norm_to_16f_reg
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_V4L2_STD_NTSC@GOTPCREL(%rip), %rcx
	movl	$184, %eax
	testl	%edi, (%rcx)
	je	LBB0_1
LBB0_5:
	popq	%rbp
	retq
LBB0_1:
	movq	_V4L2_STD_PAL@GOTPCREL(%rip), %rcx
	movl	$238, %eax
	testl	%edi, (%rcx)
	jne	LBB0_5
## %bb.2:
	movq	_V4L2_STD_SECAM@GOTPCREL(%rip), %rcx
	movl	$255, %eax
	testl	%edi, (%rcx)
	jne	LBB0_5
## %bb.3:
	movq	_V4L2_STD_NTSC_443@GOTPCREL(%rip), %rcx
	movl	$168, %eax
	testl	%edi, (%rcx)
	jne	LBB0_5
## %bb.4:
	movq	_V4L2_STD_PAL_M@GOTPCREL(%rip), %rax
	movq	_V4L2_STD_PAL_60@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	andl	%edi, %ecx
	movl	$188, %eax
	cmovel	%ecx, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_V4L2_STD_NTSC,4,2              ## @V4L2_STD_NTSC
	.comm	_V4L2_STD_PAL,4,2               ## @V4L2_STD_PAL
	.comm	_V4L2_STD_SECAM,4,2             ## @V4L2_STD_SECAM
	.comm	_V4L2_STD_NTSC_443,4,2          ## @V4L2_STD_NTSC_443
	.comm	_V4L2_STD_PAL_M,4,2             ## @V4L2_STD_PAL_M
	.comm	_V4L2_STD_PAL_60,4,2            ## @V4L2_STD_PAL_60
	.no_dead_strip	_usbtv_norm_to_16f_reg
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function usbtv_norm_to_16f_reg
_usbtv_norm_to_16f_reg:                 ; @usbtv_norm_to_16f_reg
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _V4L2_STD_NTSC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _V4L2_STD_NTSC@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_2
; %bb.1:
	mov	w0, #184
	ret
LBB0_2:
Lloh3:
	adrp	x8, _V4L2_STD_PAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _V4L2_STD_PAL@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_4
; %bb.3:
	mov	w0, #238
	ret
LBB0_4:
Lloh6:
	adrp	x8, _V4L2_STD_SECAM@GOTPAGE
Lloh7:
	ldr	x8, [x8, _V4L2_STD_SECAM@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_6
; %bb.5:
	mov	w0, #255
	ret
LBB0_6:
Lloh9:
	adrp	x8, _V4L2_STD_NTSC_443@GOTPAGE
Lloh10:
	ldr	x8, [x8, _V4L2_STD_NTSC_443@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_8
; %bb.7:
	mov	w0, #168
	ret
LBB0_8:
Lloh12:
	adrp	x8, _V4L2_STD_PAL_M@GOTPAGE
Lloh13:
	ldr	x8, [x8, _V4L2_STD_PAL_M@GOTPAGEOFF]
Lloh14:
	adrp	x9, _V4L2_STD_PAL_60@GOTPAGE
Lloh15:
	ldr	x9, [x9, _V4L2_STD_PAL_60@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
Lloh17:
	ldr	w9, [x9]
	orr	w8, w9, w8
	tst	w8, w0
	mov	w8, #188
	csel	w0, wzr, w8, eq
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_V4L2_STD_NTSC,4,2              ; @V4L2_STD_NTSC
	.comm	_V4L2_STD_PAL,4,2               ; @V4L2_STD_PAL
	.comm	_V4L2_STD_SECAM,4,2             ; @V4L2_STD_SECAM
	.comm	_V4L2_STD_NTSC_443,4,2          ; @V4L2_STD_NTSC_443
	.comm	_V4L2_STD_PAL_M,4,2             ; @V4L2_STD_PAL_M
	.comm	_V4L2_STD_PAL_60,4,2            ; @V4L2_STD_PAL_60
	.no_dead_strip	_usbtv_norm_to_16f_reg
.subsections_via_symbols
