	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function msi001_g_tuner
_msi001_g_tuner:                        ## @msi001_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rsi, %rbx
	callq	_sd_to_msi001_dev
	movq	(%rax), %rdi
	movl	20(%rbx), %edx
	leaq	L_.str(%rip), %rsi
	callq	_dev_dbg
	movl	16(%rbx), %edi
	leaq	L_.str.1(%rip), %rsi
	movl	$4, %edx
	callq	_strscpy
	movq	_V4L2_TUNER_RF@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 12(%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, (%rbx)
	movabsq	$4123168604209000000, %rax      ## imm = 0x3938700002EBAE40
	movq	%rax, 4(%rbx)
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	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 MSi001"

	.comm	_V4L2_TUNER_RF,4,2              ## @V4L2_TUNER_RF
	.comm	_V4L2_TUNER_CAP_1HZ,4,2         ## @V4L2_TUNER_CAP_1HZ
	.comm	_V4L2_TUNER_CAP_FREQ_BANDS,4,2  ## @V4L2_TUNER_CAP_FREQ_BANDS
	.no_dead_strip	_msi001_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 msi001_g_tuner
lCPI0_0:
	.long	49000000                        ; 0x2ebae40
	.long	960000000                       ; 0x39387000
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_msi001_g_tuner:                        ; @msi001_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, x1
	bl	_sd_to_msi001_dev
	ldr	x0, [x0]
	ldr	w2, [x19, #20]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_dbg
	ldr	w0, [x19, #16]
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w2, #4
	bl	_strscpy
Lloh4:
	adrp	x8, _V4L2_TUNER_RF@GOTPAGE
Lloh5:
	ldr	x8, [x8, _V4L2_TUNER_RF@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	str	w8, [x19, #12]
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]
Lloh13:
	adrp	x8, lCPI0_0@PAGE
Lloh14:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	stur	d0, [x19, #4]
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdr	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"index=%d\n"

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

	.comm	_V4L2_TUNER_RF,4,2              ; @V4L2_TUNER_RF
	.comm	_V4L2_TUNER_CAP_1HZ,4,2         ; @V4L2_TUNER_CAP_1HZ
	.comm	_V4L2_TUNER_CAP_FREQ_BANDS,4,2  ; @V4L2_TUNER_CAP_FREQ_BANDS
	.no_dead_strip	_msi001_g_tuner
.subsections_via_symbols
