	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function check_mode
_check_mode:                            ## @check_mode
	.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_RADIO@GOTPCREL(%rip), %rax
	cmpl	%esi, (%rax)
	jne	LBB0_1
## %bb.2:
	movq	_T_RADIO@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_T_ANALOG_TV@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %ecx
	movq	_EINVAL@GOTPCREL(%rip), %rdx
	xorl	%esi, %esi
	xorl	%eax, %eax
	subl	(%rdx), %eax
	testl	%ecx, (%rdi)
	cmovnel	%esi, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_V4L2_TUNER_RADIO,4,2           ## @V4L2_TUNER_RADIO
	.comm	_T_RADIO,4,2                    ## @T_RADIO
	.comm	_T_ANALOG_TV,4,2                ## @T_ANALOG_TV
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_check_mode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function check_mode
_check_mode:                            ; @check_mode
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _V4L2_TUNER_RADIO@GOTPAGE
Lloh1:
	ldr	x8, [x8, _V4L2_TUNER_RADIO@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _T_RADIO@GOTPAGE
Lloh4:
	ldr	x9, [x9, _T_RADIO@GOTPAGEOFF]
Lloh5:
	adrp	x10, _T_ANALOG_TV@GOTPAGE
Lloh6:
	ldr	x10, [x10, _T_ANALOG_TV@GOTPAGEOFF]
	cmp	w8, w1
	csel	x8, x9, x10, eq
	ldr	w8, [x8]
	ldr	w9, [x0]
Lloh7:
	adrp	x10, _EINVAL@GOTPAGE
Lloh8:
	ldr	x10, [x10, _EINVAL@GOTPAGEOFF]
Lloh9:
	ldr	w10, [x10]
	tst	w8, w9
	csneg	w0, wzr, w10, ne
	ret
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_V4L2_TUNER_RADIO,4,2           ; @V4L2_TUNER_RADIO
	.comm	_T_RADIO,4,2                    ; @T_RADIO
	.comm	_T_ANALOG_TV,4,2                ; @T_ANALOG_TV
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_check_mode
.subsections_via_symbols
