	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tw5864_from_v4l2_std
_tw5864_from_v4l2_std:                  ## @tw5864_from_v4l2_std
	.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_M@GOTPCREL(%rip), %rax
	testl	%edi, (%rax)
	je	LBB0_2
## %bb.1:
	movq	_STD_NTSC@GOTPCREL(%rip), %rax
	jmp	LBB0_15
LBB0_2:
	movq	_V4L2_STD_PAL_B@GOTPCREL(%rip), %rax
	testl	%edi, (%rax)
	je	LBB0_4
## %bb.3:
	movq	_STD_PAL@GOTPCREL(%rip), %rax
	jmp	LBB0_15
LBB0_4:
	movq	_V4L2_STD_SECAM_B@GOTPCREL(%rip), %rax
	testl	%edi, (%rax)
	je	LBB0_6
## %bb.5:
	movq	_STD_SECAM@GOTPCREL(%rip), %rax
	jmp	LBB0_15
LBB0_6:
	movq	_V4L2_STD_NTSC_443@GOTPCREL(%rip), %rax
	testl	%edi, (%rax)
	je	LBB0_8
## %bb.7:
	movq	_STD_NTSC443@GOTPCREL(%rip), %rax
	jmp	LBB0_15
LBB0_8:
	movq	_V4L2_STD_PAL_M@GOTPCREL(%rip), %rax
	testl	%edi, (%rax)
	je	LBB0_10
## %bb.9:
	movq	_STD_PAL_M@GOTPCREL(%rip), %rax
	jmp	LBB0_15
LBB0_10:
	movq	_V4L2_STD_PAL_Nc@GOTPCREL(%rip), %rax
	testl	%edi, (%rax)
	je	LBB0_12
## %bb.11:
	movq	_STD_PAL_CN@GOTPCREL(%rip), %rax
	jmp	LBB0_15
LBB0_12:
	movq	_V4L2_STD_PAL_60@GOTPCREL(%rip), %rax
	testl	%edi, (%rax)
	jne	LBB0_13
## %bb.14:
	movq	_STD_INVALID@GOTPCREL(%rip), %rax
	jmp	LBB0_15
LBB0_13:
	movq	_STD_PAL_60@GOTPCREL(%rip), %rax
LBB0_15:
	movl	(%rax), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_V4L2_STD_NTSC_M,4,2            ## @V4L2_STD_NTSC_M
	.comm	_STD_NTSC,4,2                   ## @STD_NTSC
	.comm	_V4L2_STD_PAL_B,4,2             ## @V4L2_STD_PAL_B
	.comm	_STD_PAL,4,2                    ## @STD_PAL
	.comm	_V4L2_STD_SECAM_B,4,2           ## @V4L2_STD_SECAM_B
	.comm	_STD_SECAM,4,2                  ## @STD_SECAM
	.comm	_V4L2_STD_NTSC_443,4,2          ## @V4L2_STD_NTSC_443
	.comm	_STD_NTSC443,4,2                ## @STD_NTSC443
	.comm	_V4L2_STD_PAL_M,4,2             ## @V4L2_STD_PAL_M
	.comm	_STD_PAL_M,4,2                  ## @STD_PAL_M
	.comm	_V4L2_STD_PAL_Nc,4,2            ## @V4L2_STD_PAL_Nc
	.comm	_STD_PAL_CN,4,2                 ## @STD_PAL_CN
	.comm	_V4L2_STD_PAL_60,4,2            ## @V4L2_STD_PAL_60
	.comm	_STD_PAL_60,4,2                 ## @STD_PAL_60
	.comm	_STD_INVALID,4,2                ## @STD_INVALID
	.no_dead_strip	_tw5864_from_v4l2_std
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tw5864_from_v4l2_std
_tw5864_from_v4l2_std:                  ; @tw5864_from_v4l2_std
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _V4L2_STD_NTSC_M@GOTPAGE
Lloh1:
	ldr	x8, [x8, _V4L2_STD_NTSC_M@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _STD_NTSC@GOTPAGE
Lloh4:
	ldr	x8, [x8, _STD_NTSC@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	ret
LBB0_2:
Lloh6:
	adrp	x8, _V4L2_STD_PAL_B@GOTPAGE
Lloh7:
	ldr	x8, [x8, _V4L2_STD_PAL_B@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_4
; %bb.3:
Lloh9:
	adrp	x8, _STD_PAL@GOTPAGE
Lloh10:
	ldr	x8, [x8, _STD_PAL@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	ret
LBB0_4:
Lloh12:
	adrp	x8, _V4L2_STD_SECAM_B@GOTPAGE
Lloh13:
	ldr	x8, [x8, _V4L2_STD_SECAM_B@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_6
; %bb.5:
Lloh15:
	adrp	x8, _STD_SECAM@GOTPAGE
Lloh16:
	ldr	x8, [x8, _STD_SECAM@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
	ret
LBB0_6:
Lloh18:
	adrp	x8, _V4L2_STD_NTSC_443@GOTPAGE
Lloh19:
	ldr	x8, [x8, _V4L2_STD_NTSC_443@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_8
; %bb.7:
Lloh21:
	adrp	x8, _STD_NTSC443@GOTPAGE
Lloh22:
	ldr	x8, [x8, _STD_NTSC443@GOTPAGEOFF]
Lloh23:
	ldr	w0, [x8]
	ret
LBB0_8:
Lloh24:
	adrp	x8, _V4L2_STD_PAL_M@GOTPAGE
Lloh25:
	ldr	x8, [x8, _V4L2_STD_PAL_M@GOTPAGEOFF]
Lloh26:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_10
; %bb.9:
Lloh27:
	adrp	x8, _STD_PAL_M@GOTPAGE
Lloh28:
	ldr	x8, [x8, _STD_PAL_M@GOTPAGEOFF]
Lloh29:
	ldr	w0, [x8]
	ret
LBB0_10:
Lloh30:
	adrp	x8, _V4L2_STD_PAL_Nc@GOTPAGE
Lloh31:
	ldr	x8, [x8, _V4L2_STD_PAL_Nc@GOTPAGEOFF]
Lloh32:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_12
; %bb.11:
Lloh33:
	adrp	x8, _STD_PAL_CN@GOTPAGE
Lloh34:
	ldr	x8, [x8, _STD_PAL_CN@GOTPAGEOFF]
Lloh35:
	ldr	w0, [x8]
	ret
LBB0_12:
Lloh36:
	adrp	x8, _V4L2_STD_PAL_60@GOTPAGE
Lloh37:
	ldr	x8, [x8, _V4L2_STD_PAL_60@GOTPAGEOFF]
Lloh38:
	ldr	w8, [x8]
Lloh39:
	adrp	x9, _STD_PAL_60@GOTPAGE
Lloh40:
	ldr	x9, [x9, _STD_PAL_60@GOTPAGEOFF]
Lloh41:
	adrp	x10, _STD_INVALID@GOTPAGE
Lloh42:
	ldr	x10, [x10, _STD_INVALID@GOTPAGEOFF]
	tst	w8, w0
	csel	x8, x10, x9, eq
	ldr	w0, [x8]
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGot	Lloh41, Lloh42
	.loh AdrpLdrGot	Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.cfi_endproc
                                        ; -- End function
	.comm	_V4L2_STD_NTSC_M,4,2            ; @V4L2_STD_NTSC_M
	.comm	_STD_NTSC,4,2                   ; @STD_NTSC
	.comm	_V4L2_STD_PAL_B,4,2             ; @V4L2_STD_PAL_B
	.comm	_STD_PAL,4,2                    ; @STD_PAL
	.comm	_V4L2_STD_SECAM_B,4,2           ; @V4L2_STD_SECAM_B
	.comm	_STD_SECAM,4,2                  ; @STD_SECAM
	.comm	_V4L2_STD_NTSC_443,4,2          ; @V4L2_STD_NTSC_443
	.comm	_STD_NTSC443,4,2                ; @STD_NTSC443
	.comm	_V4L2_STD_PAL_M,4,2             ; @V4L2_STD_PAL_M
	.comm	_STD_PAL_M,4,2                  ; @STD_PAL_M
	.comm	_V4L2_STD_PAL_Nc,4,2            ; @V4L2_STD_PAL_Nc
	.comm	_STD_PAL_CN,4,2                 ; @STD_PAL_CN
	.comm	_V4L2_STD_PAL_60,4,2            ; @V4L2_STD_PAL_60
	.comm	_STD_PAL_60,4,2                 ; @STD_PAL_60
	.comm	_STD_INVALID,4,2                ; @STD_INVALID
	.no_dead_strip	_tw5864_from_v4l2_std
.subsections_via_symbols
