	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function msi2500_g_tuner
_msi2500_g_tuner:                       ## @msi2500_g_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdx, %rbx
	callq	_video_drvdata
	movq	%rax, %r14
	movl	4(%rax), %edi
	movl	(%rbx), %edx
	leaq	L_.str(%rip), %rsi
	callq	_dev_dbg
	movl	(%rbx), %eax
	cmpl	$1, %eax
	je	LBB0_3
## %bb.1:
	testl	%eax, %eax
	jne	LBB0_4
## %bb.2:
	movl	20(%rbx), %edi
	leaq	L_.str.1(%rip), %rsi
	movl	$4, %edx
	callq	_strscpy
	movq	_V4L2_TUNER_ADC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%rbx)
	movq	_V4L2_TUNER_CAP_1HZ@GOTPCREL(%rip), %rax
	movq	_V4L2_TUNER_CAP_FREQ_BANDS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movl	%ecx, 4(%rbx)
	movabsq	$64424509441200000, %rax        ## imm = 0xE4E1C000124F80
	movq	%rax, 8(%rbx)
	xorl	%eax, %eax
	jmp	LBB0_5
LBB0_3:
	movl	(%r14), %edi
	movq	_tuner@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_g_tuner@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rcx
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_v4l2_subdev_call               ## TAILCALL
LBB0_4:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_5:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"index=%d\n"

L_.str.1:                               ## @.str.1
	.asciz	"Mirics MSi2500"

	.comm	_V4L2_TUNER_ADC,4,2             ## @V4L2_TUNER_ADC
	.comm	_V4L2_TUNER_CAP_1HZ,4,2         ## @V4L2_TUNER_CAP_1HZ
	.comm	_V4L2_TUNER_CAP_FREQ_BANDS,4,2  ## @V4L2_TUNER_CAP_FREQ_BANDS
	.comm	_tuner,4,2                      ## @tuner
	.comm	_g_tuner,4,2                    ## @g_tuner
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_msi2500_g_tuner
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function msi2500_g_tuner
lCPI0_0:
	.long	1200000                         ; 0x124f80
	.long	15000000                        ; 0xe4e1c0
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_msi2500_g_tuner:                       ; @msi2500_g_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
	mov	x20, x0
	ldr	w0, [x0, #4]
	ldr	w2, [x19]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_dbg
	ldr	w8, [x19]
	cmp	w8, #1
	b.eq	LBB0_3
; %bb.1:
	cbnz	w8, LBB0_4
; %bb.2:
	ldr	w0, [x19, #20]
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w2, #4
	bl	_strscpy
	mov	w0, #0
Lloh4:
	adrp	x8, _V4L2_TUNER_ADC@GOTPAGE
Lloh5:
	ldr	x8, [x8, _V4L2_TUNER_ADC@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	str	w8, [x19, #16]
Lloh7:
	adrp	x8, _V4L2_TUNER_CAP_1HZ@GOTPAGE
Lloh8:
	ldr	x8, [x8, _V4L2_TUNER_CAP_1HZ@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
Lloh10:
	adrp	x9, _V4L2_TUNER_CAP_FREQ_BANDS@GOTPAGE
Lloh11:
	ldr	x9, [x9, _V4L2_TUNER_CAP_FREQ_BANDS@GOTPAGEOFF]
Lloh12:
	ldr	w9, [x9]
	orr	w8, w9, w8
	str	w8, [x19, #4]
Lloh13:
	adrp	x8, lCPI0_0@PAGE
Lloh14:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	str	d0, [x19, #8]
	b	LBB0_5
LBB0_3:
	ldr	w0, [x20]
Lloh15:
	adrp	x8, _tuner@GOTPAGE
Lloh16:
	ldr	x8, [x8, _tuner@GOTPAGEOFF]
Lloh17:
	adrp	x9, _g_tuner@GOTPAGE
Lloh18:
	ldr	x9, [x9, _g_tuner@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
Lloh20:
	ldr	w2, [x9]
	mov	x3, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_v4l2_subdev_call
LBB0_4:
Lloh21:
	adrp	x8, _EINVAL@GOTPAGE
Lloh22:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdr	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh19
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"index=%d\n"

l_.str.1:                               ; @.str.1
	.asciz	"Mirics MSi2500"

	.comm	_V4L2_TUNER_ADC,4,2             ; @V4L2_TUNER_ADC
	.comm	_V4L2_TUNER_CAP_1HZ,4,2         ; @V4L2_TUNER_CAP_1HZ
	.comm	_V4L2_TUNER_CAP_FREQ_BANDS,4,2  ; @V4L2_TUNER_CAP_FREQ_BANDS
	.comm	_tuner,4,2                      ; @tuner
	.comm	_g_tuner,4,2                    ; @g_tuner
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_msi2500_g_tuner
.subsections_via_symbols
