	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vidioc_s_tuner
_vidioc_s_tuner:                        ## @vidioc_s_tuner
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdx, %rbx
	callq	_video_drvdata
	cmpq	$0, (%rbx)
	jle	LBB0_1
## %bb.5:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_1:
	cmpl	$128, 8(%rbx)
	jne	LBB0_4
## %bb.2:
	movq	_MA901_WANT_MONO@GOTPCREL(%rip), %rcx
	jmp	LBB0_3
LBB0_4:
	movq	_MA901_WANT_STEREO@GOTPCREL(%rip), %rcx
LBB0_3:
	movl	(%rcx), %esi
	movq	%rax, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_ma901_set_stereo               ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_MA901_WANT_MONO,4,2            ## @MA901_WANT_MONO
	.comm	_MA901_WANT_STEREO,4,2          ## @MA901_WANT_STEREO
	.no_dead_strip	_vidioc_s_tuner
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vidioc_s_tuner
_vidioc_s_tuner:                        ; @vidioc_s_tuner
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x2
	bl	_video_drvdata
	ldr	x8, [x19]
	cmp	x8, #1
	b.lt	LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_2:
	ldr	w8, [x19, #8]
	cmp	w8, #128
	b.ne	LBB0_4
; %bb.3:
Lloh3:
	adrp	x8, _MA901_WANT_MONO@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MA901_WANT_MONO@GOTPAGEOFF]
	b	LBB0_5
LBB0_4:
Lloh5:
	adrp	x8, _MA901_WANT_STEREO@GOTPAGE
Lloh6:
	ldr	x8, [x8, _MA901_WANT_STEREO@GOTPAGEOFF]
LBB0_5:
	ldr	w1, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_ma901_set_stereo
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_MA901_WANT_MONO,4,2            ; @MA901_WANT_MONO
	.comm	_MA901_WANT_STEREO,4,2          ; @MA901_WANT_STEREO
	.no_dead_strip	_vidioc_s_tuner
.subsections_via_symbols
