	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rtl2832_sdr_probe
_rtl2832_sdr_probe:                     ## @rtl2832_sdr_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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	8(%rdi), %r12
	leaq	L_.str(%rip), %rsi
	callq	_dev_dbg
	testq	%r12, %r12
	je	LBB0_1
## %bb.3:
	movq	(%rbx), %rax
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	movl	(%rax), %edi
	callq	_try_module_get
	testl	%eax, %eax
	je	LBB0_6
## %bb.7:
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$184, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_8
## %bb.9:
	movq	%rax, %r14
	movq	24(%r12), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	%rax, 176(%r14)
	movq	%rbx, 168(%r14)
	movl	16(%r12), %eax
	movl	%eax, 164(%r14)
	movq	8(%r12), %rax
	movl	(%rax), %eax
	movl	%eax, 160(%r14)
	movq	_bands_adc@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax), %eax
	movl	%eax, 156(%r14)
	movq	_bands_fm@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax), %eax
	movl	%eax, 152(%r14)
	movq	_formats@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	4(%rax), %ecx
	movl	%ecx, 148(%r14)
	movl	(%rax), %eax
	movl	%eax, 144(%r14)
	movq	_NUM_FORMATS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r14)
	movq	_rtl2832_sdr_emulated_fmt@GOTPCREL(%rip), %rcx
	cmpl	$0, (%rcx)
	jne	LBB0_11
## %bb.10:
	decl	%eax
	movl	%eax, (%r14)
LBB0_11:
	leaq	56(%r14), %rdi
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	callq	_mutex_init
	leaq	60(%r14), %rdi
	movq	%rdi, -72(%rbp)                 ## 8-byte Spill
	callq	_mutex_init
	leaq	140(%r14), %rdi
	callq	_spin_lock_init
	leaq	136(%r14), %rdi
	callq	_INIT_LIST_HEAD
	movq	_V4L2_BUF_TYPE_SDR_CAPTURE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leaq	64(%r14), %r13
	movl	%eax, 112(%r14)
	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, 64(%r14)
	movq	%r14, 104(%r14)
	movl	$4, 68(%r14)
	movq	_rtl2832_sdr_vb2_ops@GOTPCREL(%rip), %rax
	movq	%rax, 96(%r14)
	movq	_vb2_vmalloc_memops@GOTPCREL(%rip), %rax
	movq	%rax, 88(%r14)
	movq	_V4L2_BUF_FLAG_TIMESTAMP_MONOTONIC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 80(%r14)
	movq	%r13, %rdi
	callq	_vb2_queue_init
	testl	%eax, %eax
	je	LBB0_13
## %bb.12:
	movl	%eax, %r15d
	leaq	L_.str.4(%rip), %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_dev_err
	jmp	LBB0_30
LBB0_1:
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_2
LBB0_4:
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	callq	_dev_dbg
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%r15d, %r15d
	subl	(%rax), %r15d
	jmp	LBB0_32
LBB0_6:
	leaq	L_.str.3(%rip), %rsi
LBB0_2:
	xorl	%r15d, %r15d
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_dev_err
	movq	_EINVAL@GOTPCREL(%rip), %rax
	subl	(%rax), %r15d
	jmp	LBB0_32
LBB0_8:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r15d, %r15d
	subl	(%rax), %r15d
	jmp	LBB0_31
LBB0_13:
	movq	%r13, -56(%rbp)                 ## 8-byte Spill
	movq	-72(%rbp), %r13                 ## 8-byte Reload
	movl	(%r12), %eax
	addl	$-128, %eax
	cmpl	$5, %eax
	ja	LBB0_33
## %bb.14:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_21:
	leaq	4(%r14), %r15
	movq	%r15, %rdi
	movl	$2, %esi
	callq	_v4l2_ctrl_handler_init
	movq	_V4L2_CID_RF_TUNER_BANDWIDTH_AUTO@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$1, (%rsp)
	movq	_rtl2832_sdr_ctrl_ops@GOTPCREL(%rip), %r12
	movq	%r15, %rdi
	movq	%r12, %rsi
	xorl	%ecx, %ecx
	movl	$1, %r8d
	movl	$1, %r9d
	callq	_v4l2_ctrl_new_std
	leaq	120(%r14), %rcx
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	movq	%rax, 120(%r14)
	movq	_V4L2_CID_RF_TUNER_BANDWIDTH@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$0, (%rsp)
	movq	%r15, %rdi
	movq	%r12, %rsi
	xorl	%ecx, %ecx
	movl	$8000000, %r8d                  ## imm = 0x7A1200
	movl	$100000, %r9d                   ## imm = 0x186A0
	jmp	LBB0_22
LBB0_23:
	leaq	4(%r14), %r15
	movq	%r15, %rdi
	movl	$2, %esi
	callq	_v4l2_ctrl_handler_init
	movq	_V4L2_CID_RF_TUNER_BANDWIDTH_AUTO@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$1, (%rsp)
	movq	_rtl2832_sdr_ctrl_ops@GOTPCREL(%rip), %r12
	movq	%r15, %rdi
	movq	%r12, %rsi
	xorl	%ecx, %ecx
	movl	$1, %r8d
	movl	$1, %r9d
	callq	_v4l2_ctrl_new_std
	leaq	120(%r14), %rcx
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	movq	%rax, 120(%r14)
	movq	_V4L2_CID_RF_TUNER_BANDWIDTH@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$6000000, (%rsp)                ## imm = 0x5B8D80
	movq	%r15, %rdi
	movq	%r12, %rsi
	movl	$6000000, %ecx                  ## imm = 0x5B8D80
	movl	$8000000, %r8d                  ## imm = 0x7A1200
	movl	$1000000, %r9d                  ## imm = 0xF4240
LBB0_22:
	callq	_v4l2_ctrl_new_std
	movq	%rax, 128(%r14)
	movl	$2, %edi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_v4l2_ctrl_auto_cluster
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	jmp	LBB0_18
LBB0_33:
	leaq	4(%r14), %rdi
	xorl	%r15d, %r15d
	xorl	%esi, %esi
	callq	_v4l2_ctrl_handler_init
	leaq	L_.str.5(%rip), %rsi
	jmp	LBB0_20
LBB0_24:
	leaq	4(%r14), %r15
	movq	%r15, %rdi
	movl	$2, %esi
	jmp	LBB0_16
LBB0_15:
	leaq	4(%r14), %r15
	movq	%r15, %rdi
	movl	$9, %esi
LBB0_16:
	callq	_v4l2_ctrl_handler_init
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	testq	%rax, %rax
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	je	LBB0_18
## %bb.17:
	movl	(%rax), %esi
	movq	%r15, %rdi
	xorl	%edx, %edx
	movl	$1, %ecx
	callq	_v4l2_ctrl_add_handler
LBB0_18:
	movl	4(%r14), %r15d
	testl	%r15d, %r15d
	je	LBB0_25
## %bb.19:
	leaq	L_.str.6(%rip), %rsi
LBB0_20:
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_dev_err
	jmp	LBB0_29
LBB0_25:
	leaq	24(%r14), %rdx
	movq	_rtl2832_sdr_template@GOTPCREL(%rip), %rax
	movq	16(%rax), %rcx
	movq	%rcx, 40(%r14)
	movups	(%rax), %xmm0
	movups	%xmm0, 24(%r14)
	movq	%r12, 48(%r14)
	movq	%r13, 72(%r14)
	movq	%rdx, %r13
	movq	%rdx, %rdi
	movq	%r14, %rsi
	callq	_video_set_drvdata
	movq	_rtl2832_sdr_video_release@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leaq	8(%r14), %r12
	movl	%eax, 16(%r14)
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_v4l2_device_register
	testl	%eax, %eax
	je	LBB0_27
## %bb.26:
	movl	%eax, %r15d
	leaq	L_.str.7(%rip), %rsi
	movq	%rbx, %rdi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_dev_err
	jmp	LBB0_29
LBB0_27:
	leaq	4(%r14), %rax
	movq	%rax, 8(%r14)
	movq	%r12, 40(%r14)
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, 32(%r14)
	movq	_VFL_DIR_RX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%r14)
	movq	_VFL_TYPE_SDR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	movl	$-1, %edx
	callq	_video_register_device
	testl	%eax, %eax
	je	LBB0_34
## %bb.28:
	movl	%eax, %r15d
	leaq	L_.str.8(%rip), %rsi
	movq	%rbx, %rdi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_dev_err
	movq	%r12, %rdi
	callq	_v4l2_device_unregister
LBB0_29:
	movq	%r14, %rdi
	addq	$4, %rdi
	callq	_v4l2_ctrl_handler_free
LBB0_30:
	movq	%r14, %rdi
	callq	_kfree
LBB0_31:
	movq	(%rbx), %rax
	movq	(%rax), %rax
	movl	(%rax), %edi
	callq	_module_put
LBB0_32:
	movl	%r15d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_34:
	movq	%r13, %rdi
	callq	_video_device_node_name
	leaq	L_.str.9(%rip), %rsi
	xorl	%r15d, %r15d
	movq	%rbx, %rdi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_dev_info
	leaq	L_.str.10(%rip), %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_dev_info
	leaq	L_.str.11(%rip), %rsi
	movq	%rbx, %rdi
	callq	_dev_notice
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_platform_set_drvdata
	jmp	LBB0_32
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_21, LBB0_21-LJTI0_0
.set L0_0_set_24, LBB0_24-LJTI0_0
.set L0_0_set_23, LBB0_23-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
LJTI0_0:
	.long	L0_0_set_21
	.long	L0_0_set_21
	.long	L0_0_set_24
	.long	L0_0_set_23
	.long	L0_0_set_23
	.long	L0_0_set_15
	.end_data_region
                                        ## -- End function
	.comm	_rtl2832_sdr_ctrl_ops,4,2       ## @rtl2832_sdr_ctrl_ops
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"\n"

L_.str.1:                               ## @.str.1
	.asciz	"Cannot proceed without platform data\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
L_.str.2:                               ## @.str.2
	.asciz	"No parent device\n"

L_.str.3:                               ## @.str.3
	.asciz	"Refcount fail"

	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_bands_adc,8,3                  ## @bands_adc
	.comm	_bands_fm,8,3                   ## @bands_fm
	.comm	_formats,8,3                    ## @formats
	.comm	_NUM_FORMATS,4,2                ## @NUM_FORMATS
	.comm	_rtl2832_sdr_emulated_fmt,4,2   ## @rtl2832_sdr_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	_rtl2832_sdr_vb2_ops,4,2        ## @rtl2832_sdr_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.4:                               ## @.str.4
	.asciz	"Could not initialize vb2 queue\n"

	.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
L_.str.5:                               ## @.str.5
	.asciz	"Unsupported tuner\n"

L_.str.6:                               ## @.str.6
	.asciz	"Could not initialize controls\n"

	.comm	_rtl2832_sdr_template,32,3      ## @rtl2832_sdr_template
	.comm	_rtl2832_sdr_video_release,4,2  ## @rtl2832_sdr_video_release
L_.str.7:                               ## @.str.7
	.asciz	"Failed to register v4l2-device %d\n"

	.comm	_VFL_DIR_RX,4,2                 ## @VFL_DIR_RX
	.comm	_VFL_TYPE_SDR,4,2               ## @VFL_TYPE_SDR
L_.str.8:                               ## @.str.8
	.asciz	"Failed to register as video device %d\n"

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

L_.str.10:                              ## @.str.10
	.asciz	"Realtek RTL2832 SDR attached\n"

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

	.no_dead_strip	_rtl2832_sdr_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rtl2832_sdr_probe
_rtl2832_sdr_probe:                     ; @rtl2832_sdr_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	x19, x0
	ldr	x25, [x0, #8]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_dbg
	cbz	x25, LBB0_8
; %bb.1:
	ldr	x8, [x19]
	ldr	x8, [x8]
	cbz	x8, LBB0_9
; %bb.2:
	ldr	w0, [x8]
	bl	_try_module_get
	cbz	w0, LBB0_10
; %bb.3:
Lloh2:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	w0, #184
	bl	_kzalloc
	cbz	x0, LBB0_13
; %bb.4:
	mov	x20, x0
	ldr	x26, [x25, #24]
	stp	x19, x26, [x0, #168]
	ldr	w8, [x25, #16]
	ldr	x9, [x25, #8]
	ldr	w9, [x9]
	stp	w9, w8, [x0, #160]
Lloh5:
	adrp	x8, _bands_adc@GOTPAGE
Lloh6:
	ldr	x8, [x8, _bands_adc@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	ldr	w8, [x8]
Lloh8:
	adrp	x9, _bands_fm@GOTPAGE
Lloh9:
	ldr	x9, [x9, _bands_fm@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	ldr	w9, [x9]
	stp	w9, w8, [x0, #152]
Lloh11:
	adrp	x8, _formats@GOTPAGE
Lloh12:
	ldr	x8, [x8, _formats@GOTPAGEOFF]
Lloh13:
	ldr	x8, [x8]
	ldr	d0, [x8]
Lloh14:
	adrp	x8, _NUM_FORMATS@GOTPAGE
Lloh15:
	ldr	x8, [x8, _NUM_FORMATS@GOTPAGEOFF]
	str	d0, [x0, #144]
Lloh16:
	ldr	w8, [x8]
	str	w8, [x0]
Lloh17:
	adrp	x9, _rtl2832_sdr_emulated_fmt@GOTPAGE
Lloh18:
	ldr	x9, [x9, _rtl2832_sdr_emulated_fmt@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x9]
	cbnz	w9, LBB0_6
; %bb.5:
	sub	w8, w8, #1
	str	w8, [x20]
LBB0_6:
	add	x21, x20, #56
	mov	x0, x21
	bl	_mutex_init
	add	x22, x20, #60
	mov	x0, x22
	bl	_mutex_init
	add	x0, x20, #140
	bl	_spin_lock_init
	add	x0, x20, #136
	bl	_INIT_LIST_HEAD
Lloh20:
	adrp	x8, _V4L2_BUF_TYPE_SDR_CAPTURE@GOTPAGE
Lloh21:
	ldr	x8, [x8, _V4L2_BUF_TYPE_SDR_CAPTURE@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
Lloh23:
	adrp	x9, _VB2_MMAP@GOTPAGE
Lloh24:
	ldr	x9, [x9, _VB2_MMAP@GOTPAGEOFF]
Lloh25:
	adrp	x10, _VB2_USERPTR@GOTPAGE
Lloh26:
	ldr	x10, [x10, _VB2_USERPTR@GOTPAGEOFF]
Lloh27:
	ldr	w9, [x9]
Lloh28:
	ldr	w10, [x10]
	orr	w9, w10, w9
Lloh29:
	adrp	x10, _VB2_READ@GOTPAGE
Lloh30:
	ldr	x10, [x10, _VB2_READ@GOTPAGEOFF]
Lloh31:
	ldr	w10, [x10]
	orr	w9, w9, w10
	mov	x23, x20
	str	w9, [x23, #64]!
	str	w8, [x20, #112]
	str	x20, [x20, #104]
	mov	w8, #4
	str	w8, [x20, #68]
Lloh32:
	adrp	x8, _rtl2832_sdr_vb2_ops@GOTPAGE
Lloh33:
	ldr	x8, [x8, _rtl2832_sdr_vb2_ops@GOTPAGEOFF]
Lloh34:
	adrp	x9, _vb2_vmalloc_memops@GOTPAGE
Lloh35:
	ldr	x9, [x9, _vb2_vmalloc_memops@GOTPAGEOFF]
	stp	x9, x8, [x20, #88]
Lloh36:
	adrp	x8, _V4L2_BUF_FLAG_TIMESTAMP_MONOTONIC@GOTPAGE
Lloh37:
	ldr	x8, [x8, _V4L2_BUF_FLAG_TIMESTAMP_MONOTONIC@GOTPAGEOFF]
Lloh38:
	ldr	w8, [x8]
	str	w8, [x20, #80]
	mov	x0, x23
	bl	_vb2_queue_init
	cbz	w0, LBB0_14
; %bb.7:
	mov	x24, x0
Lloh39:
	adrp	x1, l_.str.4@PAGE
Lloh40:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x19
	bl	_dev_err
	b	LBB0_30
LBB0_8:
Lloh41:
	adrp	x1, l_.str.1@PAGE
Lloh42:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_11
LBB0_9:
Lloh43:
	adrp	x1, l_.str.2@PAGE
Lloh44:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_dev_dbg
	b	LBB0_12
LBB0_10:
Lloh45:
	adrp	x1, l_.str.3@PAGE
Lloh46:
	add	x1, x1, l_.str.3@PAGEOFF
LBB0_11:
	mov	x0, x19
	bl	_dev_err
LBB0_12:
Lloh47:
	adrp	x8, _EINVAL@GOTPAGE
Lloh48:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh49:
	ldr	w8, [x8]
	neg	w24, w8
	b	LBB0_32
LBB0_13:
Lloh50:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh51:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh52:
	ldr	w8, [x8]
	neg	w24, w8
	b	LBB0_31
LBB0_14:
	ldr	w8, [x25]
	sub	w8, w8, #128
	cmp	w8, #5
	b.hi	LBB0_19
; %bb.15:
Lloh53:
	adrp	x9, lJTI0_0@PAGE
Lloh54:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_16
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_16:
	add	x24, x20, #4
	mov	x0, x24
	mov	w1, #2
	bl	_v4l2_ctrl_handler_init
Lloh55:
	adrp	x8, _V4L2_CID_RF_TUNER_BANDWIDTH_AUTO@GOTPAGE
Lloh56:
	ldr	x8, [x8, _V4L2_CID_RF_TUNER_BANDWIDTH_AUTO@GOTPAGEOFF]
Lloh57:
	ldr	w2, [x8]
Lloh58:
	adrp	x25, _rtl2832_sdr_ctrl_ops@GOTPAGE
Lloh59:
	ldr	x25, [x25, _rtl2832_sdr_ctrl_ops@GOTPAGEOFF]
	mov	x0, x24
	mov	x1, x25
	mov	w3, #0
	mov	w4, #1
	mov	w5, #1
	mov	w6, #1
	bl	_v4l2_ctrl_new_std
	mov	x26, x20
	str	x0, [x26, #120]!
Lloh60:
	adrp	x8, _V4L2_CID_RF_TUNER_BANDWIDTH@GOTPAGE
Lloh61:
	ldr	x8, [x8, _V4L2_CID_RF_TUNER_BANDWIDTH@GOTPAGEOFF]
Lloh62:
	ldr	w2, [x8]
	mov	x0, x24
	mov	x1, x25
	mov	w3, #0
	mov	w4, #4608
	movk	w4, #122, lsl #16
	mov	w5, #34464
	movk	w5, #1, lsl #16
	mov	w6, #0
	b	LBB0_18
LBB0_17:
	add	x24, x20, #4
	mov	x0, x24
	mov	w1, #2
	bl	_v4l2_ctrl_handler_init
Lloh63:
	adrp	x8, _V4L2_CID_RF_TUNER_BANDWIDTH_AUTO@GOTPAGE
Lloh64:
	ldr	x8, [x8, _V4L2_CID_RF_TUNER_BANDWIDTH_AUTO@GOTPAGEOFF]
Lloh65:
	ldr	w2, [x8]
Lloh66:
	adrp	x25, _rtl2832_sdr_ctrl_ops@GOTPAGE
Lloh67:
	ldr	x25, [x25, _rtl2832_sdr_ctrl_ops@GOTPAGEOFF]
	mov	x0, x24
	mov	x1, x25
	mov	w3, #0
	mov	w4, #1
	mov	w5, #1
	mov	w6, #1
	bl	_v4l2_ctrl_new_std
	mov	x26, x20
	str	x0, [x26, #120]!
Lloh68:
	adrp	x8, _V4L2_CID_RF_TUNER_BANDWIDTH@GOTPAGE
Lloh69:
	ldr	x8, [x8, _V4L2_CID_RF_TUNER_BANDWIDTH@GOTPAGEOFF]
Lloh70:
	ldr	w2, [x8]
	mov	x0, x24
	mov	x1, x25
	mov	w3, #36224
	movk	w3, #91, lsl #16
	mov	w4, #4608
	movk	w4, #122, lsl #16
	mov	w5, #16960
	movk	w5, #15, lsl #16
	mov	w6, #36224
	movk	w6, #91, lsl #16
LBB0_18:
	bl	_v4l2_ctrl_new_std
	str	x0, [x26, #8]
	mov	w0, #2
	mov	x1, x26
	mov	w2, #0
	mov	w3, #0
	bl	_v4l2_ctrl_auto_cluster
	b	LBB0_24
LBB0_19:
	add	x0, x20, #4
	mov	w1, #0
	bl	_v4l2_ctrl_handler_init
Lloh71:
	adrp	x1, l_.str.5@PAGE
Lloh72:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x19
	bl	_dev_err
	mov	w24, #0
	b	LBB0_29
LBB0_20:
	add	x24, x20, #4
	mov	x0, x24
	mov	w1, #2
	b	LBB0_22
LBB0_21:
	add	x24, x20, #4
	mov	x0, x24
	mov	w1, #9
LBB0_22:
	bl	_v4l2_ctrl_handler_init
	cbz	x26, LBB0_24
; %bb.23:
	ldr	w1, [x26]
	mov	x0, x24
	mov	x2, #0
	mov	w3, #1
	bl	_v4l2_ctrl_add_handler
LBB0_24:
	mov	x26, x20
	ldr	w24, [x26, #4]!
	cbz	w24, LBB0_26
; %bb.25:
Lloh73:
	adrp	x1, l_.str.6@PAGE
Lloh74:
	add	x1, x1, l_.str.6@PAGEOFF
	b	LBB0_28
LBB0_26:
	add	x25, x20, #24
Lloh75:
	adrp	x8, _rtl2832_sdr_template@GOTPAGE
Lloh76:
	ldr	x8, [x8, _rtl2832_sdr_template@GOTPAGEOFF]
	ldr	q0, [x8]
	stur	q0, [x20, #24]
	ldr	x8, [x8, #16]
	stp	x8, x23, [x20, #40]
	str	x22, [x20, #72]
	mov	x0, x25
	mov	x1, x20
	bl	_video_set_drvdata
Lloh77:
	adrp	x8, _rtl2832_sdr_video_release@GOTPAGE
Lloh78:
	ldr	x8, [x8, _rtl2832_sdr_video_release@GOTPAGEOFF]
Lloh79:
	ldr	w8, [x8]
	add	x22, x20, #8
	str	w8, [x20, #16]
	mov	x0, x19
	mov	x1, x22
	bl	_v4l2_device_register
	cbz	w0, LBB0_33
; %bb.27:
	mov	x24, x0
	str	x24, [sp]
Lloh80:
	adrp	x1, l_.str.7@PAGE
Lloh81:
	add	x1, x1, l_.str.7@PAGEOFF
LBB0_28:
	mov	x0, x19
	bl	_dev_err
LBB0_29:
	add	x0, x20, #4
	bl	_v4l2_ctrl_handler_free
LBB0_30:
	mov	x0, x20
	bl	_kfree
LBB0_31:
	ldr	x8, [x19]
	ldr	x8, [x8]
	ldr	w0, [x8]
	bl	_module_put
LBB0_32:
	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_33:
	str	x26, [x20, #8]
Lloh82:
	adrp	x8, _VFL_DIR_RX@GOTPAGE
Lloh83:
	ldr	x8, [x8, _VFL_DIR_RX@GOTPAGEOFF]
	stp	x21, x22, [x20, #32]
Lloh84:
	ldr	w8, [x8]
	str	w8, [x20, #24]
Lloh85:
	adrp	x8, _VFL_TYPE_SDR@GOTPAGE
Lloh86:
	ldr	x8, [x8, _VFL_TYPE_SDR@GOTPAGEOFF]
Lloh87:
	ldr	w1, [x8]
	mov	x0, x25
	mov	w2, #-1
	bl	_video_register_device
	mov	x24, x0
	cbz	w0, LBB0_35
; %bb.34:
	str	x24, [sp]
Lloh88:
	adrp	x1, l_.str.8@PAGE
Lloh89:
	add	x1, x1, l_.str.8@PAGEOFF
	mov	x0, x19
	bl	_dev_err
	mov	x0, x22
	bl	_v4l2_device_unregister
                                        ; kill: def $w24 killed $w24 killed $x24 def $x24
	b	LBB0_29
LBB0_35:
	mov	x0, x25
	bl	_video_device_node_name
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh90:
	adrp	x1, l_.str.9@PAGE
Lloh91:
	add	x1, x1, l_.str.9@PAGEOFF
	mov	x0, x19
	bl	_dev_info
Lloh92:
	adrp	x1, l_.str.10@PAGE
Lloh93:
	add	x1, x1, l_.str.10@PAGEOFF
	mov	x0, x19
	bl	_dev_info
Lloh94:
	adrp	x1, l_.str.11@PAGE
Lloh95:
	add	x1, x1, l_.str.11@PAGEOFF
	mov	x0, x19
	bl	_dev_notice
	mov	x0, x19
	mov	x1, x20
	bl	_platform_set_drvdata
	b	LBB0_32
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGot	Lloh34, Lloh35
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh27
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh39, Lloh40
	.loh AdrpAdd	Lloh41, Lloh42
	.loh AdrpAdd	Lloh43, Lloh44
	.loh AdrpAdd	Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpAdd	Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh60, Lloh61, Lloh62
	.loh AdrpLdrGot	Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.loh AdrpLdrGotLdr	Lloh68, Lloh69, Lloh70
	.loh AdrpLdrGot	Lloh66, Lloh67
	.loh AdrpLdrGotLdr	Lloh63, Lloh64, Lloh65
	.loh AdrpAdd	Lloh71, Lloh72
	.loh AdrpAdd	Lloh73, Lloh74
	.loh AdrpLdrGotLdr	Lloh77, Lloh78, Lloh79
	.loh AdrpLdrGot	Lloh75, Lloh76
	.loh AdrpAdd	Lloh80, Lloh81
	.loh AdrpLdrGotLdr	Lloh85, Lloh86, Lloh87
	.loh AdrpLdrGotLdr	Lloh82, Lloh83, Lloh84
	.loh AdrpAdd	Lloh88, Lloh89
	.loh AdrpAdd	Lloh94, Lloh95
	.loh AdrpAdd	Lloh92, Lloh93
	.loh AdrpAdd	Lloh90, Lloh91
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_16-LBB0_16)>>2
	.byte	(LBB0_16-LBB0_16)>>2
	.byte	(LBB0_20-LBB0_16)>>2
	.byte	(LBB0_17-LBB0_16)>>2
	.byte	(LBB0_17-LBB0_16)>>2
	.byte	(LBB0_21-LBB0_16)>>2
                                        ; -- End function
	.comm	_rtl2832_sdr_ctrl_ops,4,2       ; @rtl2832_sdr_ctrl_ops
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\n"

l_.str.1:                               ; @.str.1
	.asciz	"Cannot proceed without platform data\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
l_.str.2:                               ; @.str.2
	.asciz	"No parent device\n"

l_.str.3:                               ; @.str.3
	.asciz	"Refcount fail"

	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_bands_adc,8,3                  ; @bands_adc
	.comm	_bands_fm,8,3                   ; @bands_fm
	.comm	_formats,8,3                    ; @formats
	.comm	_NUM_FORMATS,4,2                ; @NUM_FORMATS
	.comm	_rtl2832_sdr_emulated_fmt,4,2   ; @rtl2832_sdr_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	_rtl2832_sdr_vb2_ops,4,2        ; @rtl2832_sdr_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.4:                               ; @.str.4
	.asciz	"Could not initialize vb2 queue\n"

	.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
l_.str.5:                               ; @.str.5
	.asciz	"Unsupported tuner\n"

l_.str.6:                               ; @.str.6
	.asciz	"Could not initialize controls\n"

	.comm	_rtl2832_sdr_template,32,3      ; @rtl2832_sdr_template
	.comm	_rtl2832_sdr_video_release,4,2  ; @rtl2832_sdr_video_release
l_.str.7:                               ; @.str.7
	.asciz	"Failed to register v4l2-device %d\n"

	.comm	_VFL_DIR_RX,4,2                 ; @VFL_DIR_RX
	.comm	_VFL_TYPE_SDR,4,2               ; @VFL_TYPE_SDR
l_.str.8:                               ; @.str.8
	.asciz	"Failed to register as video device %d\n"

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

l_.str.10:                              ; @.str.10
	.asciz	"Realtek RTL2832 SDR attached\n"

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

	.no_dead_strip	_rtl2832_sdr_probe
.subsections_via_symbols
