	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function msi2500_probe
_msi2500_probe:                         ## @msi2500_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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$184, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	leaq	80(%rax), %rdi
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	callq	_mutex_init
	leaq	96(%rbx), %r13
	movq	%r13, %rdi
	callq	_mutex_init
	leaq	180(%rbx), %rdi
	callq	_spin_lock_init
	leaq	176(%rbx), %rdi
	callq	_INIT_LIST_HEAD
	movq	%r15, 40(%rbx)
	movq	%r15, %rdi
	callq	_interface_to_usbdev
	movl	%eax, 172(%rbx)
	movq	_bands@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax), %eax
	movl	%eax, 168(%rbx)
	movq	_formats@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	4(%rax), %ecx
	movl	%ecx, 164(%rbx)
	movl	(%rax), %eax
	movl	%eax, 160(%rbx)
	movq	_NUM_FORMATS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rbx)
	movq	_msi2500_emulated_fmt@GOTPCREL(%rip), %rcx
	cmpl	$0, (%rcx)
	jne	LBB0_4
## %bb.3:
	addl	$-2, %eax
	movl	%eax, (%rbx)
LBB0_4:
	movq	_V4L2_BUF_TYPE_SDR_CAPTURE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leaq	104(%rbx), %r12
	movl	%eax, 152(%rbx)
	movq	_VB2_MMAP@GOTPCREL(%rip), %rax
	movq	_VB2_USERPTR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	_VB2_READ@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movl	%ecx, 104(%rbx)
	movq	%rbx, 144(%rbx)
	movl	$4, 108(%rbx)
	movq	_msi2500_vb2_ops@GOTPCREL(%rip), %rax
	movq	%rax, 136(%rbx)
	movq	_vb2_vmalloc_memops@GOTPCREL(%rip), %rax
	movq	%rax, 128(%rbx)
	movq	_V4L2_BUF_FLAG_TIMESTAMP_MONOTONIC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 120(%rbx)
	movq	%r12, %rdi
	callq	_vb2_queue_init
	testl	%eax, %eax
	je	LBB0_7
## %bb.5:
	movl	%eax, %r14d
	movq	40(%rbx), %rdi
	leaq	L_.str.1(%rip), %rsi
	xorl	%eax, %eax
	callq	_dev_err
	jmp	LBB0_6
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	subl	(%rax), %r14d
	jmp	LBB0_22
LBB0_7:
	leaq	48(%rbx), %rdx
	movq	_msi2500_template@GOTPCREL(%rip), %rax
	movq	16(%rax), %rcx
	movq	%rcx, 64(%rbx)
	movups	(%rax), %xmm0
	movups	%xmm0, 48(%rbx)
	movq	%r12, 72(%rbx)
	movq	%rdx, %r12
	movq	%r13, 112(%rbx)
	movq	%rdx, %rdi
	movq	%rbx, %rsi
	callq	_video_set_drvdata
	movq	_msi2500_video_release@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leaq	8(%rbx), %r13
	movl	%eax, 16(%rbx)
	movq	%r15, %rdi
	movq	%r13, %rsi
	callq	_v4l2_device_register
	movq	40(%rbx), %rdi
	testl	%eax, %eax
	je	LBB0_9
## %bb.8:
	movl	%eax, %r14d
	leaq	L_.str.2(%rip), %rsi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_dev_err
	jmp	LBB0_6
LBB0_9:
	xorl	%r14d, %r14d
	xorl	%esi, %esi
	callq	_spi_alloc_master
	testq	%rax, %rax
	je	LBB0_10
## %bb.11:
	movq	%rax, %r15
	movq	%rax, 24(%rbx)
	movq	$0, 8(%rax)
	movl	$1, (%rax)
	movq	_msi2500_transfer_one_message@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%r15)
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_spi_master_set_devdata
	movq	%r15, %rdi
	callq	_spi_register_master
	testl	%eax, %eax
	je	LBB0_14
## %bb.12:
	movl	%eax, %r14d
	movq	%r15, %rdi
	callq	_spi_master_put
	jmp	LBB0_13
LBB0_10:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	subl	(%rax), %r14d
	jmp	LBB0_13
LBB0_14:
	movq	%r12, -48(%rbp)                 ## 8-byte Spill
	leaq	_msi2500_probe.board_info(%rip), %rdx
	movq	%r13, %rdi
	movq	%r15, %rsi
	callq	_v4l2_spi_new_subdev
	movq	%rax, 88(%rbx)
	testq	%rax, %rax
	je	LBB0_15
## %bb.16:
	movq	%rax, %r12
	movq	%rbx, %r15
	addq	$32, %r15
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_v4l2_ctrl_handler_init
	movl	32(%rbx), %r14d
	testl	%r14d, %r14d
	je	LBB0_19
## %bb.17:
	movq	40(%rbx), %rdi
	leaq	L_.str.4(%rip), %rsi
	xorl	%eax, %eax
	callq	_dev_err
	movq	%r15, %rdi
	callq	_v4l2_ctrl_handler_free
	jmp	LBB0_18
LBB0_15:
	movq	40(%rbx), %rdi
	leaq	L_.str.3(%rip), %rsi
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	callq	_dev_err
	movq	_ENODEV@GOTPCREL(%rip), %rax
	subl	(%rax), %r14d
LBB0_18:
	movq	24(%rbx), %rdi
	callq	_spi_unregister_master
LBB0_13:
	movq	%r13, %rdi
	callq	_v4l2_device_unregister
LBB0_6:
	movq	%rbx, %rdi
	callq	_kfree
LBB0_22:
	movl	%r14d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_19:
	movl	(%r12), %esi
	xorl	%r14d, %r14d
	movq	%r15, %rdi
	xorl	%edx, %edx
	movl	$1, %ecx
	callq	_v4l2_ctrl_add_handler
	movq	%r15, 8(%rbx)
	movq	%r13, 64(%rbx)
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, 56(%rbx)
	movq	_V4L2_CAP_SDR_CAPTURE@GOTPCREL(%rip), %rax
	movq	_V4L2_CAP_STREAMING@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	_V4L2_CAP_READWRITE@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movq	_V4L2_CAP_TUNER@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movl	%ecx, 48(%rbx)
	movq	_VFL_TYPE_SDR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-48(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rdi
	movl	$-1, %edx
	callq	_video_register_device
	movq	40(%rbx), %rdi
	testl	%eax, %eax
	je	LBB0_21
## %bb.20:
	movl	%eax, %r12d
	leaq	L_.str.5(%rip), %rsi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_dev_err
	movl	%r12d, %r14d
	jmp	LBB0_13
LBB0_21:
	movq	%rdi, %r12
	movq	%r15, %rdi
	callq	_video_device_node_name
	leaq	L_.str.6(%rip), %rsi
	movq	%r12, %rdi
	movl	%eax, %edx
	callq	_dev_info
	movq	40(%rbx), %rdi
	leaq	L_.str.7(%rip), %rsi
	callq	_dev_notice
	jmp	LBB0_22
	.cfi_endproc
                                        ## -- End function
	.section	__DATA,__data
	.p2align	3                               ## @msi2500_probe.board_info
_msi2500_probe.board_info:
	.quad	L_.str
	.long	12000000                        ## 0xb71b00
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.space	4

	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"msi001"

	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_bands,8,3                      ## @bands
	.comm	_formats,8,3                    ## @formats
	.comm	_NUM_FORMATS,4,2                ## @NUM_FORMATS
	.comm	_msi2500_emulated_fmt,4,2       ## @msi2500_emulated_fmt
	.comm	_V4L2_BUF_TYPE_SDR_CAPTURE,4,2  ## @V4L2_BUF_TYPE_SDR_CAPTURE
	.comm	_VB2_MMAP,4,2                   ## @VB2_MMAP
	.comm	_VB2_USERPTR,4,2                ## @VB2_USERPTR
	.comm	_VB2_READ,4,2                   ## @VB2_READ
	.comm	_msi2500_vb2_ops,4,2            ## @msi2500_vb2_ops
	.comm	_vb2_vmalloc_memops,4,2         ## @vb2_vmalloc_memops
	.comm	_V4L2_BUF_FLAG_TIMESTAMP_MONOTONIC,4,2 ## @V4L2_BUF_FLAG_TIMESTAMP_MONOTONIC
L_.str.1:                               ## @.str.1
	.asciz	"Could not initialize vb2 queue\n"

	.comm	_msi2500_template,32,3          ## @msi2500_template
	.comm	_msi2500_video_release,4,2      ## @msi2500_video_release
L_.str.2:                               ## @.str.2
	.asciz	"Failed to register v4l2-device (%d)\n"

	.comm	_msi2500_transfer_one_message,4,2 ## @msi2500_transfer_one_message
L_.str.3:                               ## @.str.3
	.asciz	"cannot get v4l2 subdevice\n"

	.comm	_ENODEV,4,2                     ## @ENODEV
L_.str.4:                               ## @.str.4
	.asciz	"Could not initialize controls\n"

	.comm	_V4L2_CAP_SDR_CAPTURE,4,2       ## @V4L2_CAP_SDR_CAPTURE
	.comm	_V4L2_CAP_STREAMING,4,2         ## @V4L2_CAP_STREAMING
	.comm	_V4L2_CAP_READWRITE,4,2         ## @V4L2_CAP_READWRITE
	.comm	_V4L2_CAP_TUNER,4,2             ## @V4L2_CAP_TUNER
	.comm	_VFL_TYPE_SDR,4,2               ## @VFL_TYPE_SDR
L_.str.5:                               ## @.str.5
	.asciz	"Failed to register as video device (%d)\n"

L_.str.6:                               ## @.str.6
	.asciz	"Registered as %s\n"

L_.str.7:                               ## @.str.7
	.asciz	"SDR API is still slightly experimental and functionality changes may follow\n"

	.no_dead_strip	_msi2500_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function msi2500_probe
_msi2500_probe:                         ; @msi2500_probe
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x23, x0
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w0, #184
	bl	_kzalloc
	cbz	x0, LBB0_5
; %bb.1:
	mov	x19, x0
	add	x21, x0, #80
	mov	x0, x21
	bl	_mutex_init
	add	x20, x19, #96
	mov	x0, x20
	bl	_mutex_init
	add	x0, x19, #180
	bl	_spin_lock_init
	add	x0, x19, #176
	bl	_INIT_LIST_HEAD
	str	x23, [x19, #40]
	mov	x0, x23
	bl	_interface_to_usbdev
Lloh3:
	adrp	x8, _bands@GOTPAGE
Lloh4:
	ldr	x8, [x8, _bands@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	ldr	w8, [x8]
	stp	w8, w0, [x19, #168]
Lloh6:
	adrp	x8, _formats@GOTPAGE
Lloh7:
	ldr	x8, [x8, _formats@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	ldr	d0, [x8]
Lloh9:
	adrp	x8, _NUM_FORMATS@GOTPAGE
Lloh10:
	ldr	x8, [x8, _NUM_FORMATS@GOTPAGEOFF]
	str	d0, [x19, #160]
Lloh11:
	ldr	w8, [x8]
	str	w8, [x19]
Lloh12:
	adrp	x9, _msi2500_emulated_fmt@GOTPAGE
Lloh13:
	ldr	x9, [x9, _msi2500_emulated_fmt@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	cbnz	w9, LBB0_3
; %bb.2:
	sub	w8, w8, #2
	str	w8, [x19]
LBB0_3:
Lloh15:
	adrp	x8, _V4L2_BUF_TYPE_SDR_CAPTURE@GOTPAGE
Lloh16:
	ldr	x8, [x8, _V4L2_BUF_TYPE_SDR_CAPTURE@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
Lloh18:
	adrp	x9, _VB2_MMAP@GOTPAGE
Lloh19:
	ldr	x9, [x9, _VB2_MMAP@GOTPAGEOFF]
Lloh20:
	adrp	x10, _VB2_USERPTR@GOTPAGE
Lloh21:
	ldr	x10, [x10, _VB2_USERPTR@GOTPAGEOFF]
Lloh22:
	ldr	w9, [x9]
Lloh23:
	ldr	w10, [x10]
	orr	w9, w10, w9
Lloh24:
	adrp	x10, _VB2_READ@GOTPAGE
Lloh25:
	ldr	x10, [x10, _VB2_READ@GOTPAGEOFF]
Lloh26:
	ldr	w10, [x10]
	orr	w9, w9, w10
	mov	x25, x19
	str	w9, [x25, #104]!
	str	w8, [x19, #152]
	str	x19, [x19, #144]
	mov	w8, #4
	str	w8, [x19, #108]
Lloh27:
	adrp	x8, _msi2500_vb2_ops@GOTPAGE
Lloh28:
	ldr	x8, [x8, _msi2500_vb2_ops@GOTPAGEOFF]
Lloh29:
	adrp	x9, _vb2_vmalloc_memops@GOTPAGE
Lloh30:
	ldr	x9, [x9, _vb2_vmalloc_memops@GOTPAGEOFF]
	stp	x9, x8, [x19, #128]
Lloh31:
	adrp	x8, _V4L2_BUF_FLAG_TIMESTAMP_MONOTONIC@GOTPAGE
Lloh32:
	ldr	x8, [x8, _V4L2_BUF_FLAG_TIMESTAMP_MONOTONIC@GOTPAGEOFF]
Lloh33:
	ldr	w8, [x8]
	str	w8, [x19, #120]
	mov	x0, x25
	bl	_vb2_queue_init
	cbz	w0, LBB0_6
; %bb.4:
	mov	x24, x0
	ldr	x0, [x19, #40]
Lloh34:
	adrp	x1, l_.str.1@PAGE
Lloh35:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_8
LBB0_5:
Lloh36:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh37:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh38:
	ldr	w8, [x8]
	neg	w24, w8
	b	LBB0_10
LBB0_6:
	add	x22, x19, #48
Lloh39:
	adrp	x8, _msi2500_template@GOTPAGE
Lloh40:
	ldr	x8, [x8, _msi2500_template@GOTPAGEOFF]
	ldr	q0, [x8]
	str	q0, [x19, #48]
	ldr	x8, [x8, #16]
	stp	x8, x25, [x19, #64]
	str	x20, [x19, #112]
	mov	x0, x22
	mov	x1, x19
	bl	_video_set_drvdata
Lloh41:
	adrp	x8, _msi2500_video_release@GOTPAGE
Lloh42:
	ldr	x8, [x8, _msi2500_video_release@GOTPAGEOFF]
Lloh43:
	ldr	w8, [x8]
	add	x20, x19, #8
	str	w8, [x19, #16]
	mov	x0, x23
	mov	x1, x20
	bl	_v4l2_device_register
	mov	x24, x0
	ldr	x0, [x19, #40]
	cbz	w24, LBB0_11
; %bb.7:
	str	x24, [sp]
Lloh44:
	adrp	x1, l_.str.2@PAGE
Lloh45:
	add	x1, x1, l_.str.2@PAGEOFF
LBB0_8:
	bl	_dev_err
LBB0_9:
	mov	x0, x19
	bl	_kfree
LBB0_10:
	mov	x0, x24
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_11:
	mov	w1, #0
	bl	_spi_alloc_master
	cbz	x0, LBB0_14
; %bb.12:
	mov	x23, x0
	str	x0, [x19, #24]
	str	xzr, [x0, #8]
	mov	w8, #1
	str	w8, [x0]
Lloh46:
	adrp	x8, _msi2500_transfer_one_message@GOTPAGE
Lloh47:
	ldr	x8, [x8, _msi2500_transfer_one_message@GOTPAGEOFF]
Lloh48:
	ldr	w8, [x8]
	str	w8, [x0, #4]
	mov	x1, x19
	bl	_spi_master_set_devdata
	mov	x0, x23
	bl	_spi_register_master
	cbz	w0, LBB0_15
; %bb.13:
	mov	x24, x0
	mov	x0, x23
	bl	_spi_master_put
	b	LBB0_20
LBB0_14:
Lloh49:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh50:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh51:
	ldr	w8, [x8]
	neg	w24, w8
	b	LBB0_20
LBB0_15:
Lloh52:
	adrp	x2, _msi2500_probe.board_info@PAGE
Lloh53:
	add	x2, x2, _msi2500_probe.board_info@PAGEOFF
	mov	x0, x20
	mov	x1, x23
	bl	_v4l2_spi_new_subdev
	str	x0, [x19, #88]
	cbz	x0, LBB0_18
; %bb.16:
	mov	x25, x0
	add	x23, x19, #32
	mov	x0, x23
	mov	w1, #0
	bl	_v4l2_ctrl_handler_init
	ldr	w24, [x19, #32]
	cbz	w24, LBB0_21
; %bb.17:
	ldr	x0, [x19, #40]
Lloh54:
	adrp	x1, l_.str.4@PAGE
Lloh55:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_dev_err
	mov	x0, x23
	bl	_v4l2_ctrl_handler_free
	b	LBB0_19
LBB0_18:
	ldr	x0, [x19, #40]
Lloh56:
	adrp	x1, l_.str.3@PAGE
Lloh57:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_dev_err
Lloh58:
	adrp	x8, _ENODEV@GOTPAGE
Lloh59:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh60:
	ldr	w8, [x8]
	neg	w24, w8
LBB0_19:
	ldr	x0, [x19, #24]
	bl	_spi_unregister_master
LBB0_20:
	mov	x0, x20
	bl	_v4l2_device_unregister
	b	LBB0_9
LBB0_21:
	ldr	w1, [x25]
	mov	x0, x23
	mov	x2, #0
	mov	w3, #1
	bl	_v4l2_ctrl_add_handler
	str	x23, [x19, #8]
Lloh61:
	adrp	x8, _V4L2_CAP_SDR_CAPTURE@GOTPAGE
Lloh62:
	ldr	x8, [x8, _V4L2_CAP_SDR_CAPTURE@GOTPAGEOFF]
	stp	x21, x20, [x19, #56]
Lloh63:
	ldr	w8, [x8]
Lloh64:
	adrp	x9, _V4L2_CAP_STREAMING@GOTPAGE
Lloh65:
	ldr	x9, [x9, _V4L2_CAP_STREAMING@GOTPAGEOFF]
Lloh66:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh67:
	adrp	x9, _V4L2_CAP_READWRITE@GOTPAGE
Lloh68:
	ldr	x9, [x9, _V4L2_CAP_READWRITE@GOTPAGEOFF]
Lloh69:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh70:
	adrp	x9, _V4L2_CAP_TUNER@GOTPAGE
Lloh71:
	ldr	x9, [x9, _V4L2_CAP_TUNER@GOTPAGEOFF]
Lloh72:
	ldr	w9, [x9]
	orr	w8, w8, w9
	str	w8, [x19, #48]
Lloh73:
	adrp	x8, _VFL_TYPE_SDR@GOTPAGE
Lloh74:
	ldr	x8, [x8, _VFL_TYPE_SDR@GOTPAGEOFF]
Lloh75:
	ldr	w1, [x8]
	mov	x0, x22
	mov	w2, #-1
	bl	_video_register_device
	mov	x24, x0
	ldr	x21, [x19, #40]
	cbz	w0, LBB0_23
; %bb.22:
	str	x24, [sp]
Lloh76:
	adrp	x1, l_.str.5@PAGE
Lloh77:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x21
	bl	_dev_err
                                        ; kill: def $w24 killed $w24 killed $x24 def $x24
	b	LBB0_20
LBB0_23:
	mov	x0, x22
	bl	_video_device_node_name
	mov	x2, x0
Lloh78:
	adrp	x1, l_.str.6@PAGE
Lloh79:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x21
	bl	_dev_info
	ldr	x0, [x19, #40]
Lloh80:
	adrp	x1, l_.str.7@PAGE
Lloh81:
	add	x1, x1, l_.str.7@PAGEOFF
	bl	_dev_notice
	b	LBB0_10
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh22
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGot	Lloh39, Lloh40
	.loh AdrpAdd	Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpAdd	Lloh52, Lloh53
	.loh AdrpAdd	Lloh54, Lloh55
	.loh AdrpLdrGotLdr	Lloh58, Lloh59, Lloh60
	.loh AdrpAdd	Lloh56, Lloh57
	.loh AdrpLdrGotLdr	Lloh73, Lloh74, Lloh75
	.loh AdrpLdrGotLdr	Lloh70, Lloh71, Lloh72
	.loh AdrpLdrGotLdr	Lloh67, Lloh68, Lloh69
	.loh AdrpLdrGotLdr	Lloh64, Lloh65, Lloh66
	.loh AdrpLdrGotLdr	Lloh61, Lloh62, Lloh63
	.loh AdrpAdd	Lloh76, Lloh77
	.loh AdrpAdd	Lloh80, Lloh81
	.loh AdrpAdd	Lloh78, Lloh79
	.cfi_endproc
                                        ; -- End function
	.section	__DATA,__data
	.p2align	3                               ; @msi2500_probe.board_info
_msi2500_probe.board_info:
	.quad	l_.str
	.long	12000000                        ; 0xb71b00
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.space	4

	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"msi001"

	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_bands,8,3                      ; @bands
	.comm	_formats,8,3                    ; @formats
	.comm	_NUM_FORMATS,4,2                ; @NUM_FORMATS
	.comm	_msi2500_emulated_fmt,4,2       ; @msi2500_emulated_fmt
	.comm	_V4L2_BUF_TYPE_SDR_CAPTURE,4,2  ; @V4L2_BUF_TYPE_SDR_CAPTURE
	.comm	_VB2_MMAP,4,2                   ; @VB2_MMAP
	.comm	_VB2_USERPTR,4,2                ; @VB2_USERPTR
	.comm	_VB2_READ,4,2                   ; @VB2_READ
	.comm	_msi2500_vb2_ops,4,2            ; @msi2500_vb2_ops
	.comm	_vb2_vmalloc_memops,4,2         ; @vb2_vmalloc_memops
	.comm	_V4L2_BUF_FLAG_TIMESTAMP_MONOTONIC,4,2 ; @V4L2_BUF_FLAG_TIMESTAMP_MONOTONIC
l_.str.1:                               ; @.str.1
	.asciz	"Could not initialize vb2 queue\n"

	.comm	_msi2500_template,32,3          ; @msi2500_template
	.comm	_msi2500_video_release,4,2      ; @msi2500_video_release
l_.str.2:                               ; @.str.2
	.asciz	"Failed to register v4l2-device (%d)\n"

	.comm	_msi2500_transfer_one_message,4,2 ; @msi2500_transfer_one_message
l_.str.3:                               ; @.str.3
	.asciz	"cannot get v4l2 subdevice\n"

	.comm	_ENODEV,4,2                     ; @ENODEV
l_.str.4:                               ; @.str.4
	.asciz	"Could not initialize controls\n"

	.comm	_V4L2_CAP_SDR_CAPTURE,4,2       ; @V4L2_CAP_SDR_CAPTURE
	.comm	_V4L2_CAP_STREAMING,4,2         ; @V4L2_CAP_STREAMING
	.comm	_V4L2_CAP_READWRITE,4,2         ; @V4L2_CAP_READWRITE
	.comm	_V4L2_CAP_TUNER,4,2             ; @V4L2_CAP_TUNER
	.comm	_VFL_TYPE_SDR,4,2               ; @VFL_TYPE_SDR
l_.str.5:                               ; @.str.5
	.asciz	"Failed to register as video device (%d)\n"

l_.str.6:                               ; @.str.6
	.asciz	"Registered as %s\n"

l_.str.7:                               ; @.str.7
	.asciz	"SDR API is still slightly experimental and functionality changes may follow\n"

	.no_dead_strip	_msi2500_probe
.subsections_via_symbols
