	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cxusb_medion_s_tuner
_cxusb_medion_s_tuner:                  ## @cxusb_medion_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, %r15
	movq	%rdi, %rbx
	callq	_video_drvdata
	movq	(%rax), %r12
	movq	%rbx, %rdi
	callq	_video_devdata
	cmpq	$0, (%r15)
	je	LBB0_3
## %bb.1:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_2
LBB0_3:
	movq	%rax, %r14
	movl	20(%r12), %edi
	movq	_s_tuner@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	movq	%r15, %rsi
	movq	%r15, %rcx
	xorl	%eax, %eax
	callq	_v4l2_subdev_call
	testl	%eax, %eax
	jne	LBB0_2
## %bb.4:
	movl	16(%r12), %edi
	movl	(%rbx), %edx
	movq	%r15, %rsi
	movq	%r15, %rcx
	xorl	%eax, %eax
	callq	_v4l2_subdev_call
	testl	%eax, %eax
	je	LBB0_5
LBB0_2:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movq	(%r14), %rax
	movq	_VFL_TYPE_GRABBER@GOTPCREL(%rip), %rcx
	movl	(%r12), %edi
	cmpq	(%rcx), %rax
	jne	LBB0_7
## %bb.6:
	movq	_video@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	_s_std@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	8(%r12), %rcx
	xorl	%eax, %eax
	callq	_v4l2_subdev_call
	jmp	LBB0_8
LBB0_7:
	movq	_s_radio@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rsi
	xorl	%eax, %eax
	callq	_v4l2_subdev_call
LBB0_8:
	movl	(%r12), %edi
	movl	(%rbx), %edx
	movq	%r15, %rsi
	movq	%r15, %rcx
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_v4l2_subdev_call               ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_s_tuner,4,2                    ## @s_tuner
	.comm	_VFL_TYPE_GRABBER,8,3           ## @VFL_TYPE_GRABBER
	.comm	_video,8,3                      ## @video
	.comm	_s_std,4,2                      ## @s_std
	.comm	_s_radio,4,2                    ## @s_radio
	.no_dead_strip	_cxusb_medion_s_tuner
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cxusb_medion_s_tuner
_cxusb_medion_s_tuner:                  ; @cxusb_medion_s_tuner
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x20, x0
	bl	_video_drvdata
	ldr	x21, [x0]
	mov	x0, x20
	bl	_video_devdata
	ldr	x8, [x19]
	cbz	x8, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_8
LBB0_2:
	mov	x20, x0
	ldr	w0, [x21, #20]
Lloh3:
	adrp	x22, _s_tuner@GOTPAGE
Lloh4:
	ldr	x22, [x22, _s_tuner@GOTPAGEOFF]
	ldr	w2, [x22]
	str	x19, [sp]
	mov	x1, x19
	bl	_v4l2_subdev_call
	cbnz	w0, LBB0_8
; %bb.3:
	ldr	w0, [x21, #16]
	ldr	w2, [x22]
	str	x19, [sp]
	mov	x1, x19
	bl	_v4l2_subdev_call
	cbnz	w0, LBB0_8
; %bb.4:
	ldr	x8, [x20]
Lloh5:
	adrp	x9, _VFL_TYPE_GRABBER@GOTPAGE
Lloh6:
	ldr	x9, [x9, _VFL_TYPE_GRABBER@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	ldr	w0, [x21]
	cmp	x8, x9
	b.ne	LBB0_6
; %bb.5:
Lloh8:
	adrp	x8, _video@GOTPAGE
Lloh9:
	ldr	x8, [x8, _video@GOTPAGEOFF]
Lloh10:
	ldr	x1, [x8]
Lloh11:
	adrp	x8, _s_std@GOTPAGE
Lloh12:
	ldr	x8, [x8, _s_std@GOTPAGEOFF]
Lloh13:
	ldr	w2, [x8]
	ldr	x8, [x21, #8]
	str	x8, [sp]
	b	LBB0_7
LBB0_6:
Lloh14:
	adrp	x8, _s_radio@GOTPAGE
Lloh15:
	ldr	x8, [x8, _s_radio@GOTPAGEOFF]
Lloh16:
	ldr	w2, [x8]
	mov	x1, x19
LBB0_7:
	bl	_v4l2_subdev_call
	ldr	w0, [x21]
	ldr	w2, [x22]
	str	x19, [sp]
	mov	x1, x19
	bl	_v4l2_subdev_call
LBB0_8:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_s_tuner,4,2                    ; @s_tuner
	.comm	_VFL_TYPE_GRABBER,8,3           ; @VFL_TYPE_GRABBER
	.comm	_video,8,3                      ; @video
	.comm	_s_std,4,2                      ; @s_std
	.comm	_s_radio,4,2                    ; @s_radio
	.no_dead_strip	_cxusb_medion_s_tuner
.subsections_via_symbols
