	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function msi001_probe
_msi001_probe:                          ## @msi001_probe
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	leaq	L_.str(%rip), %rsi
	callq	_dev_dbg
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$72, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	movq	%r14, 64(%rax)
	movq	_bands@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax), %eax
	movl	%eax, 56(%rbx)
	leaq	8(%rbx), %rdi
	movq	_msi001_ops@GOTPCREL(%rip), %rdx
	movq	%r14, %rsi
	callq	_v4l2_spi_subdev_init
	movq	%rbx, %rdi
	movl	$5, %esi
	callq	_v4l2_ctrl_handler_init
	movq	_V4L2_CID_RF_TUNER_BANDWIDTH_AUTO@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$1, (%rsp)
	movq	_msi001_ctrl_ops@GOTPCREL(%rip), %r15
	movq	%rbx, %rdi
	movq	%r15, %rsi
	xorl	%ecx, %ecx
	movl	$1, %r8d
	movl	$1, %r9d
	callq	_v4l2_ctrl_new_std
	movq	%rbx, %r12
	addq	$40, %r12
	movq	%rax, 40(%rbx)
	movq	_V4L2_CID_RF_TUNER_BANDWIDTH@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$200000, (%rsp)                 ## imm = 0x30D40
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movl	$200000, %ecx                   ## imm = 0x30D40
	movl	$8000000, %r8d                  ## imm = 0x7A1200
	movl	$1, %r9d
	callq	_v4l2_ctrl_new_std
	movq	%rax, 48(%rbx)
	movl	$2, %edi
	movq	%r12, %rsi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_v4l2_ctrl_auto_cluster
	movq	_V4L2_CID_RF_TUNER_LNA_GAIN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$1, (%rsp)
	movq	%rbx, %rdi
	movq	%r15, %rsi
	xorl	%ecx, %ecx
	movl	$1, %r8d
	movl	$1, %r9d
	callq	_v4l2_ctrl_new_std
	movq	%rax, 32(%rbx)
	movq	_V4L2_CID_RF_TUNER_MIXER_GAIN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$1, (%rsp)
	movq	%rbx, %rdi
	movq	%r15, %rsi
	xorl	%ecx, %ecx
	movl	$1, %r8d
	movl	$1, %r9d
	callq	_v4l2_ctrl_new_std
	movq	%rax, 24(%rbx)
	movq	_V4L2_CID_RF_TUNER_IF_GAIN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$0, (%rsp)
	movq	%rbx, %rdi
	movq	%r15, %rsi
	xorl	%ecx, %ecx
	movl	$59, %r8d
	movl	$1, %r9d
	callq	_v4l2_ctrl_new_std
	movq	%rax, 16(%rbx)
	movl	(%rbx), %r15d
	testl	%r15d, %r15d
	je	LBB0_4
## %bb.3:
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	callq	_dev_err
	movq	%rbx, %rdi
	callq	_v4l2_ctrl_handler_free
	movq	%rbx, %rdi
	callq	_kfree
	jmp	LBB0_5
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r15d, %r15d
	subl	(%rax), %r15d
	jmp	LBB0_5
LBB0_4:
	movq	%rbx, 8(%rbx)
	xorl	%r15d, %r15d
LBB0_5:
	movl	%r15d, %eax
	addq	$16, %rsp
	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	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_bands,8,3                      ## @bands
	.comm	_msi001_ops,4,2                 ## @msi001_ops
	.comm	_msi001_ctrl_ops,4,2            ## @msi001_ctrl_ops
	.comm	_V4L2_CID_RF_TUNER_BANDWIDTH_AUTO,4,2 ## @V4L2_CID_RF_TUNER_BANDWIDTH_AUTO
	.comm	_V4L2_CID_RF_TUNER_BANDWIDTH,4,2 ## @V4L2_CID_RF_TUNER_BANDWIDTH
	.comm	_V4L2_CID_RF_TUNER_LNA_GAIN,4,2 ## @V4L2_CID_RF_TUNER_LNA_GAIN
	.comm	_V4L2_CID_RF_TUNER_MIXER_GAIN,4,2 ## @V4L2_CID_RF_TUNER_MIXER_GAIN
	.comm	_V4L2_CID_RF_TUNER_IF_GAIN,4,2  ## @V4L2_CID_RF_TUNER_IF_GAIN
L_.str.1:                               ## @.str.1
	.asciz	"Could not initialize controls\n"

	.no_dead_strip	_msi001_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function msi001_probe
_msi001_probe:                          ; @msi001_probe
	.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, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_dbg
Lloh2:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	w0, #72
	bl	_kzalloc
	cbz	x0, LBB0_3
; %bb.1:
	mov	x20, x0
	str	x19, [x0, #64]
Lloh5:
	adrp	x8, _bands@GOTPAGE
Lloh6:
	ldr	x8, [x8, _bands@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	ldr	w8, [x8]
	str	w8, [x0, #56]
	add	x0, x0, #8
Lloh8:
	adrp	x2, _msi001_ops@GOTPAGE
Lloh9:
	ldr	x2, [x2, _msi001_ops@GOTPAGEOFF]
	mov	x1, x19
	bl	_v4l2_spi_subdev_init
	mov	x0, x20
	mov	w1, #5
	bl	_v4l2_ctrl_handler_init
Lloh10:
	adrp	x8, _V4L2_CID_RF_TUNER_BANDWIDTH_AUTO@GOTPAGE
Lloh11:
	ldr	x8, [x8, _V4L2_CID_RF_TUNER_BANDWIDTH_AUTO@GOTPAGEOFF]
Lloh12:
	ldr	w2, [x8]
Lloh13:
	adrp	x21, _msi001_ctrl_ops@GOTPAGE
Lloh14:
	ldr	x21, [x21, _msi001_ctrl_ops@GOTPAGEOFF]
	mov	x0, x20
	mov	x1, x21
	mov	w3, #0
	mov	w4, #1
	mov	w5, #1
	mov	w6, #1
	bl	_v4l2_ctrl_new_std
	mov	x22, x20
	str	x0, [x22, #40]!
Lloh15:
	adrp	x8, _V4L2_CID_RF_TUNER_BANDWIDTH@GOTPAGE
Lloh16:
	ldr	x8, [x8, _V4L2_CID_RF_TUNER_BANDWIDTH@GOTPAGEOFF]
Lloh17:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x1, x21
	mov	w3, #3392
	movk	w3, #3, lsl #16
	mov	w4, #4608
	movk	w4, #122, lsl #16
	mov	w5, #1
	mov	w6, #3392
	movk	w6, #3, lsl #16
	bl	_v4l2_ctrl_new_std
	str	x0, [x20, #48]
	mov	w0, #2
	mov	x1, x22
	mov	w2, #0
	mov	w3, #0
	bl	_v4l2_ctrl_auto_cluster
Lloh18:
	adrp	x8, _V4L2_CID_RF_TUNER_LNA_GAIN@GOTPAGE
Lloh19:
	ldr	x8, [x8, _V4L2_CID_RF_TUNER_LNA_GAIN@GOTPAGEOFF]
Lloh20:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x1, x21
	mov	w3, #0
	mov	w4, #1
	mov	w5, #1
	mov	w6, #1
	bl	_v4l2_ctrl_new_std
	str	x0, [x20, #32]
Lloh21:
	adrp	x8, _V4L2_CID_RF_TUNER_MIXER_GAIN@GOTPAGE
Lloh22:
	ldr	x8, [x8, _V4L2_CID_RF_TUNER_MIXER_GAIN@GOTPAGEOFF]
Lloh23:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x1, x21
	mov	w3, #0
	mov	w4, #1
	mov	w5, #1
	mov	w6, #1
	bl	_v4l2_ctrl_new_std
	str	x0, [x20, #24]
Lloh24:
	adrp	x8, _V4L2_CID_RF_TUNER_IF_GAIN@GOTPAGE
Lloh25:
	ldr	x8, [x8, _V4L2_CID_RF_TUNER_IF_GAIN@GOTPAGEOFF]
Lloh26:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x1, x21
	mov	w3, #0
	mov	w4, #59
	mov	w5, #1
	mov	w6, #0
	bl	_v4l2_ctrl_new_std
	str	x0, [x20, #16]
	ldr	w21, [x20]
	cbz	w21, LBB0_4
; %bb.2:
Lloh27:
	adrp	x1, l_.str.1@PAGE
Lloh28:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_dev_err
	mov	x0, x20
	bl	_v4l2_ctrl_handler_free
	mov	x0, x20
	bl	_kfree
	b	LBB0_5
LBB0_3:
Lloh29:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh30:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh31:
	ldr	w8, [x8]
	neg	w21, w8
	b	LBB0_5
LBB0_4:
	str	x20, [x20, #8]
LBB0_5:
	mov	x0, x21
	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 AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\n"

	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_bands,8,3                      ; @bands
	.comm	_msi001_ops,4,2                 ; @msi001_ops
	.comm	_msi001_ctrl_ops,4,2            ; @msi001_ctrl_ops
	.comm	_V4L2_CID_RF_TUNER_BANDWIDTH_AUTO,4,2 ; @V4L2_CID_RF_TUNER_BANDWIDTH_AUTO
	.comm	_V4L2_CID_RF_TUNER_BANDWIDTH,4,2 ; @V4L2_CID_RF_TUNER_BANDWIDTH
	.comm	_V4L2_CID_RF_TUNER_LNA_GAIN,4,2 ; @V4L2_CID_RF_TUNER_LNA_GAIN
	.comm	_V4L2_CID_RF_TUNER_MIXER_GAIN,4,2 ; @V4L2_CID_RF_TUNER_MIXER_GAIN
	.comm	_V4L2_CID_RF_TUNER_IF_GAIN,4,2  ; @V4L2_CID_RF_TUNER_IF_GAIN
l_.str.1:                               ; @.str.1
	.asciz	"Could not initialize controls\n"

	.no_dead_strip	_msi001_probe
.subsections_via_symbols
