	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function adv748x_afe_std
_adv748x_afe_std:                       ## @adv748x_afe_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_PAL_60@GOTPCREL(%rip), %rax
	cmpl	%edi, (%rax)
	jne	LBB0_3
## %bb.1:
	movq	_ADV748X_AFE_STD_PAL60@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_3:
	movq	_V4L2_STD_NTSC_443@GOTPCREL(%rip), %rax
	cmpl	%edi, (%rax)
	jne	LBB0_5
## %bb.4:
	movq	_ADV748X_AFE_STD_NTSC_443@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_5:
	movq	_V4L2_STD_PAL_N@GOTPCREL(%rip), %rax
	cmpl	%edi, (%rax)
	jne	LBB0_7
## %bb.6:
	movq	_ADV748X_AFE_STD_PAL_N@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_7:
	movq	_V4L2_STD_PAL_M@GOTPCREL(%rip), %rax
	cmpl	%edi, (%rax)
	jne	LBB0_9
## %bb.8:
	movq	_ADV748X_AFE_STD_PAL_M@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_9:
	movq	_V4L2_STD_PAL_Nc@GOTPCREL(%rip), %rax
	cmpl	%edi, (%rax)
	jne	LBB0_11
## %bb.10:
	movq	_ADV748X_AFE_STD_PAL_COMB_N@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_11:
	movq	_V4L2_STD_NTSC@GOTPCREL(%rip), %rax
	testl	%edi, (%rax)
	je	LBB0_13
## %bb.12:
	movq	_ADV748X_AFE_STD_NTSC_M@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_13:
	movq	_V4L2_STD_PAL@GOTPCREL(%rip), %rax
	testl	%edi, (%rax)
	je	LBB0_15
## %bb.14:
	movq	_ADV748X_AFE_STD_PAL_BG@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_15:
	movq	_V4L2_STD_SECAM@GOTPCREL(%rip), %rax
	testl	%edi, (%rax)
	je	LBB0_17
## %bb.16:
	movq	_ADV748X_AFE_STD_PAL_SECAM@GOTPCREL(%rip), %rax
LBB0_2:
	movl	(%rax), %eax
	popq	%rbp
	retq
LBB0_17:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_V4L2_STD_PAL_60,4,2            ## @V4L2_STD_PAL_60
	.comm	_ADV748X_AFE_STD_PAL60,4,2      ## @ADV748X_AFE_STD_PAL60
	.comm	_V4L2_STD_NTSC_443,4,2          ## @V4L2_STD_NTSC_443
	.comm	_ADV748X_AFE_STD_NTSC_443,4,2   ## @ADV748X_AFE_STD_NTSC_443
	.comm	_V4L2_STD_PAL_N,4,2             ## @V4L2_STD_PAL_N
	.comm	_ADV748X_AFE_STD_PAL_N,4,2      ## @ADV748X_AFE_STD_PAL_N
	.comm	_V4L2_STD_PAL_M,4,2             ## @V4L2_STD_PAL_M
	.comm	_ADV748X_AFE_STD_PAL_M,4,2      ## @ADV748X_AFE_STD_PAL_M
	.comm	_V4L2_STD_PAL_Nc,4,2            ## @V4L2_STD_PAL_Nc
	.comm	_ADV748X_AFE_STD_PAL_COMB_N,4,2 ## @ADV748X_AFE_STD_PAL_COMB_N
	.comm	_V4L2_STD_NTSC,4,2              ## @V4L2_STD_NTSC
	.comm	_ADV748X_AFE_STD_NTSC_M,4,2     ## @ADV748X_AFE_STD_NTSC_M
	.comm	_V4L2_STD_PAL,4,2               ## @V4L2_STD_PAL
	.comm	_ADV748X_AFE_STD_PAL_BG,4,2     ## @ADV748X_AFE_STD_PAL_BG
	.comm	_V4L2_STD_SECAM,4,2             ## @V4L2_STD_SECAM
	.comm	_ADV748X_AFE_STD_PAL_SECAM,4,2  ## @ADV748X_AFE_STD_PAL_SECAM
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_adv748x_afe_std
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function adv748x_afe_std
_adv748x_afe_std:                       ; @adv748x_afe_std
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _V4L2_STD_PAL_60@GOTPAGE
Lloh1:
	ldr	x8, [x8, _V4L2_STD_PAL_60@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w0
	b.ne	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _ADV748X_AFE_STD_PAL60@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ADV748X_AFE_STD_PAL60@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	ret
LBB0_2:
Lloh6:
	adrp	x8, _V4L2_STD_NTSC_443@GOTPAGE
Lloh7:
	ldr	x8, [x8, _V4L2_STD_NTSC_443@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	cmp	w8, w0
	b.ne	LBB0_4
; %bb.3:
Lloh9:
	adrp	x8, _ADV748X_AFE_STD_NTSC_443@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ADV748X_AFE_STD_NTSC_443@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	ret
LBB0_4:
Lloh12:
	adrp	x8, _V4L2_STD_PAL_N@GOTPAGE
Lloh13:
	ldr	x8, [x8, _V4L2_STD_PAL_N@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	cmp	w8, w0
	b.ne	LBB0_6
; %bb.5:
Lloh15:
	adrp	x8, _ADV748X_AFE_STD_PAL_N@GOTPAGE
Lloh16:
	ldr	x8, [x8, _ADV748X_AFE_STD_PAL_N@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
	ret
LBB0_6:
Lloh18:
	adrp	x8, _V4L2_STD_PAL_M@GOTPAGE
Lloh19:
	ldr	x8, [x8, _V4L2_STD_PAL_M@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	cmp	w8, w0
	b.ne	LBB0_8
; %bb.7:
Lloh21:
	adrp	x8, _ADV748X_AFE_STD_PAL_M@GOTPAGE
Lloh22:
	ldr	x8, [x8, _ADV748X_AFE_STD_PAL_M@GOTPAGEOFF]
Lloh23:
	ldr	w0, [x8]
	ret
LBB0_8:
Lloh24:
	adrp	x8, _V4L2_STD_PAL_Nc@GOTPAGE
Lloh25:
	ldr	x8, [x8, _V4L2_STD_PAL_Nc@GOTPAGEOFF]
Lloh26:
	ldr	w8, [x8]
	cmp	w8, w0
	b.ne	LBB0_10
; %bb.9:
Lloh27:
	adrp	x8, _ADV748X_AFE_STD_PAL_COMB_N@GOTPAGE
Lloh28:
	ldr	x8, [x8, _ADV748X_AFE_STD_PAL_COMB_N@GOTPAGEOFF]
Lloh29:
	ldr	w0, [x8]
	ret
LBB0_10:
Lloh30:
	adrp	x8, _V4L2_STD_NTSC@GOTPAGE
Lloh31:
	ldr	x8, [x8, _V4L2_STD_NTSC@GOTPAGEOFF]
Lloh32:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_12
; %bb.11:
Lloh33:
	adrp	x8, _ADV748X_AFE_STD_NTSC_M@GOTPAGE
Lloh34:
	ldr	x8, [x8, _ADV748X_AFE_STD_NTSC_M@GOTPAGEOFF]
Lloh35:
	ldr	w0, [x8]
	ret
LBB0_12:
Lloh36:
	adrp	x8, _V4L2_STD_PAL@GOTPAGE
Lloh37:
	ldr	x8, [x8, _V4L2_STD_PAL@GOTPAGEOFF]
Lloh38:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_14
; %bb.13:
Lloh39:
	adrp	x8, _ADV748X_AFE_STD_PAL_BG@GOTPAGE
Lloh40:
	ldr	x8, [x8, _ADV748X_AFE_STD_PAL_BG@GOTPAGEOFF]
Lloh41:
	ldr	w0, [x8]
	ret
LBB0_14:
Lloh42:
	adrp	x8, _V4L2_STD_SECAM@GOTPAGE
Lloh43:
	ldr	x8, [x8, _V4L2_STD_SECAM@GOTPAGEOFF]
Lloh44:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_16
; %bb.15:
Lloh45:
	adrp	x8, _ADV748X_AFE_STD_PAL_SECAM@GOTPAGE
Lloh46:
	ldr	x8, [x8, _ADV748X_AFE_STD_PAL_SECAM@GOTPAGEOFF]
Lloh47:
	ldr	w0, [x8]
	ret
LBB0_16:
Lloh48:
	adrp	x8, _EINVAL@GOTPAGE
Lloh49:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh50:
	ldr	w8, [x8]
	neg	w0, w8
	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 AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.cfi_endproc
                                        ; -- End function
	.comm	_V4L2_STD_PAL_60,4,2            ; @V4L2_STD_PAL_60
	.comm	_ADV748X_AFE_STD_PAL60,4,2      ; @ADV748X_AFE_STD_PAL60
	.comm	_V4L2_STD_NTSC_443,4,2          ; @V4L2_STD_NTSC_443
	.comm	_ADV748X_AFE_STD_NTSC_443,4,2   ; @ADV748X_AFE_STD_NTSC_443
	.comm	_V4L2_STD_PAL_N,4,2             ; @V4L2_STD_PAL_N
	.comm	_ADV748X_AFE_STD_PAL_N,4,2      ; @ADV748X_AFE_STD_PAL_N
	.comm	_V4L2_STD_PAL_M,4,2             ; @V4L2_STD_PAL_M
	.comm	_ADV748X_AFE_STD_PAL_M,4,2      ; @ADV748X_AFE_STD_PAL_M
	.comm	_V4L2_STD_PAL_Nc,4,2            ; @V4L2_STD_PAL_Nc
	.comm	_ADV748X_AFE_STD_PAL_COMB_N,4,2 ; @ADV748X_AFE_STD_PAL_COMB_N
	.comm	_V4L2_STD_NTSC,4,2              ; @V4L2_STD_NTSC
	.comm	_ADV748X_AFE_STD_NTSC_M,4,2     ; @ADV748X_AFE_STD_NTSC_M
	.comm	_V4L2_STD_PAL,4,2               ; @V4L2_STD_PAL
	.comm	_ADV748X_AFE_STD_PAL_BG,4,2     ; @ADV748X_AFE_STD_PAL_BG
	.comm	_V4L2_STD_SECAM,4,2             ; @V4L2_STD_SECAM
	.comm	_ADV748X_AFE_STD_PAL_SECAM,4,2  ; @ADV748X_AFE_STD_PAL_SECAM
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_adv748x_afe_std
.subsections_via_symbols
