	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_saa7134_tvaudio_rx2mode        ## -- Begin function saa7134_tvaudio_rx2mode
	.p2align	4, 0x90
_saa7134_tvaudio_rx2mode:               ## @saa7134_tvaudio_rx2mode
	.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_TUNER_SUB_STEREO@GOTPCREL(%rip), %rax
	testl	%edi, (%rax)
	je	LBB0_2
## %bb.1:
	movq	_V4L2_TUNER_MODE_STEREO@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_2:
	movq	_V4L2_TUNER_SUB_LANG1@GOTPCREL(%rip), %rax
	testl	%edi, (%rax)
	je	LBB0_4
## %bb.3:
	movq	_V4L2_TUNER_MODE_LANG1@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_4:
	movq	_V4L2_TUNER_SUB_LANG2@GOTPCREL(%rip), %rax
	testl	%edi, (%rax)
	je	LBB0_5
## %bb.6:
	movq	_V4L2_TUNER_MODE_LANG2@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_5:
	movq	_V4L2_TUNER_MODE_MONO@GOTPCREL(%rip), %rax
LBB0_7:
	movl	(%rax), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_V4L2_TUNER_MODE_MONO,4,2       ## @V4L2_TUNER_MODE_MONO
	.comm	_V4L2_TUNER_SUB_STEREO,4,2      ## @V4L2_TUNER_SUB_STEREO
	.comm	_V4L2_TUNER_MODE_STEREO,4,2     ## @V4L2_TUNER_MODE_STEREO
	.comm	_V4L2_TUNER_SUB_LANG1,4,2       ## @V4L2_TUNER_SUB_LANG1
	.comm	_V4L2_TUNER_MODE_LANG1,4,2      ## @V4L2_TUNER_MODE_LANG1
	.comm	_V4L2_TUNER_SUB_LANG2,4,2       ## @V4L2_TUNER_SUB_LANG2
	.comm	_V4L2_TUNER_MODE_LANG2,4,2      ## @V4L2_TUNER_MODE_LANG2
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_saa7134_tvaudio_rx2mode        ; -- Begin function saa7134_tvaudio_rx2mode
	.p2align	2
_saa7134_tvaudio_rx2mode:               ; @saa7134_tvaudio_rx2mode
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _V4L2_TUNER_SUB_STEREO@GOTPAGE
Lloh1:
	ldr	x8, [x8, _V4L2_TUNER_SUB_STEREO@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _V4L2_TUNER_MODE_STEREO@GOTPAGE
Lloh4:
	ldr	x8, [x8, _V4L2_TUNER_MODE_STEREO@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	ret
LBB0_2:
Lloh6:
	adrp	x8, _V4L2_TUNER_SUB_LANG1@GOTPAGE
Lloh7:
	ldr	x8, [x8, _V4L2_TUNER_SUB_LANG1@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_4
; %bb.3:
Lloh9:
	adrp	x8, _V4L2_TUNER_MODE_LANG1@GOTPAGE
Lloh10:
	ldr	x8, [x8, _V4L2_TUNER_MODE_LANG1@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	ret
LBB0_4:
Lloh12:
	adrp	x8, _V4L2_TUNER_MODE_MONO@GOTPAGE
Lloh13:
	ldr	x8, [x8, _V4L2_TUNER_MODE_MONO@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
Lloh15:
	adrp	x9, _V4L2_TUNER_SUB_LANG2@GOTPAGE
Lloh16:
	ldr	x9, [x9, _V4L2_TUNER_SUB_LANG2@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
Lloh18:
	adrp	x10, _V4L2_TUNER_MODE_LANG2@GOTPAGE
Lloh19:
	ldr	x10, [x10, _V4L2_TUNER_MODE_LANG2@GOTPAGEOFF]
Lloh20:
	ldr	w10, [x10]
	tst	w9, w0
	csel	w0, w8, w10, eq
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_V4L2_TUNER_MODE_MONO,4,2       ; @V4L2_TUNER_MODE_MONO
	.comm	_V4L2_TUNER_SUB_STEREO,4,2      ; @V4L2_TUNER_SUB_STEREO
	.comm	_V4L2_TUNER_MODE_STEREO,4,2     ; @V4L2_TUNER_MODE_STEREO
	.comm	_V4L2_TUNER_SUB_LANG1,4,2       ; @V4L2_TUNER_SUB_LANG1
	.comm	_V4L2_TUNER_MODE_LANG1,4,2      ; @V4L2_TUNER_MODE_LANG1
	.comm	_V4L2_TUNER_SUB_LANG2,4,2       ; @V4L2_TUNER_SUB_LANG2
	.comm	_V4L2_TUNER_MODE_LANG2,4,2      ; @V4L2_TUNER_MODE_LANG2
.subsections_via_symbols
