	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rtl2832_sdr_s_tuner
_rtl2832_sdr_s_tuner:                   ## @rtl2832_sdr_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	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	callq	_video_drvdata
	movq	%rax, %rbx
	movq	8(%rax), %rdi
	leaq	L_.str(%rip), %rsi
	callq	_dev_dbg
	movl	(%r14), %eax
	testl	%eax, %eax
	je	LBB0_5
## %bb.1:
	cmpl	$1, %eax
	jne	LBB0_4
## %bb.2:
	movl	(%rbx), %edi
	movq	_tuner@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	_s_tuner@GOTPCREL(%rip), %r12
	movl	(%r12), %edx
	callq	_V4L2_SUBDEV_HAS_OP
	testq	%rax, %rax
	je	LBB0_3
## %bb.6:
	movl	(%rbx), %edi
	movl	(%r15), %esi
	movl	(%r12), %edx
	movq	%r14, %rcx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_v4l2_subdev_call               ## TAILCALL
LBB0_3:
	xorl	%eax, %eax
	cmpl	$1, (%r14)
	je	LBB0_5
LBB0_4:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_5:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"\n"

	.comm	_tuner,4,2                      ## @tuner
	.comm	_s_tuner,4,2                    ## @s_tuner
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_rtl2832_sdr_s_tuner
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rtl2832_sdr_s_tuner
_rtl2832_sdr_s_tuner:                   ; @rtl2832_sdr_s_tuner
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x2
	bl	_video_drvdata
	mov	x20, x0
	ldr	x0, [x0, #8]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_dbg
	ldr	w0, [x19]
	cbz	w0, LBB0_7
; %bb.1:
	cmp	w0, #1
	b.ne	LBB0_6
; %bb.2:
	ldr	w0, [x20]
Lloh2:
	adrp	x21, _tuner@GOTPAGE
Lloh3:
	ldr	x21, [x21, _tuner@GOTPAGEOFF]
	ldr	w1, [x21]
Lloh4:
	adrp	x22, _s_tuner@GOTPAGE
Lloh5:
	ldr	x22, [x22, _s_tuner@GOTPAGEOFF]
	ldr	w2, [x22]
	bl	_V4L2_SUBDEV_HAS_OP
	cbz	x0, LBB0_4
; %bb.3:
	ldr	w0, [x20]
	ldr	w1, [x21]
	ldr	w2, [x22]
	mov	x3, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_v4l2_subdev_call
LBB0_4:
	ldr	w8, [x19]
	cmp	w8, #1
	b.ne	LBB0_6
; %bb.5:
	mov	w0, #0
	b	LBB0_7
LBB0_6:
Lloh6:
	adrp	x8, _EINVAL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_7:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\n"

	.comm	_tuner,4,2                      ; @tuner
	.comm	_s_tuner,4,2                    ; @s_tuner
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_rtl2832_sdr_s_tuner
.subsections_via_symbols
