	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function si470x_i2c_probe
LCPI0_0:
	.quad	0x4055e00000000000              ## double 87.5
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_si470x_i2c_probe:                      ## @si470x_i2c_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, %r12
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$144, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	movq	%r12, 136(%rax)
	movl	$1, (%rax)
	leaq	112(%rax), %r14
	movq	%r14, %rdi
	callq	_mutex_init
	leaq	132(%rbx), %rdi
	callq	_init_completion
	movq	_si470x_get_register@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 128(%rbx)
	movq	_si470x_set_register@GOTPCREL(%rip), %rax
	movq	%rax, 8(%rbx)
	movq	_si470x_fops_open@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 124(%rbx)
	movq	_si470x_fops_release@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 120(%rbx)
	movq	_si470x_vidioc_querycap@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 116(%rbx)
	leaq	28(%rbx), %rsi
	movq	%r12, %rdi
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	callq	_v4l2_device_register
	testl	%eax, %eax
	js	LBB0_3
## %bb.4:
	leaq	32(%rbx), %r15
	movq	%r15, %rdi
	movl	$2, %esi
	callq	_v4l2_ctrl_handler_init
	movq	_V4L2_CID_AUDIO_MUTE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$1, (%rsp)
	movq	_si470x_ctrl_ops@GOTPCREL(%rip), %r13
	movq	%r15, %rdi
	movq	%r13, %rsi
	xorl	%ecx, %ecx
	movl	$1, %r8d
	movl	$1, %r9d
	callq	_v4l2_ctrl_new_std
	movq	_V4L2_CID_AUDIO_VOLUME@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$15, (%rsp)
	movq	%r15, %rdi
	movq	%r13, %rsi
	xorl	%ecx, %ecx
	movl	$15, %r8d
	movl	$1, %r9d
	callq	_v4l2_ctrl_new_std
	movl	32(%rbx), %r13d
	testl	%r13d, %r13d
	je	LBB0_6
## %bb.5:
	leaq	L_.str.1(%rip), %rsi
	movq	%r12, %rdi
	xorl	%eax, %eax
	callq	_dev_err
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	jmp	LBB0_21
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r13d, %r13d
	subl	(%rax), %r13d
	jmp	LBB0_22
LBB0_3:
	movl	%eax, %r13d
	leaq	L_.str(%rip), %rsi
	movq	%r12, %rdi
	xorl	%eax, %eax
	callq	_dev_err
	jmp	LBB0_22
LBB0_6:
	movq	%r15, 64(%rbx)
	movq	%r14, 56(%rbx)
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, 48(%rbx)
	movq	_video_device_release_empty@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 44(%rbx)
	movq	_V4L2_CAP_HW_FREQ_SEEK@GOTPCREL(%rip), %rax
	movq	_V4L2_CAP_READWRITE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	_V4L2_CAP_TUNER@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	leaq	40(%rbx), %r13
	movq	_V4L2_CAP_RADIO@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movq	_V4L2_CAP_RDS_CAPTURE@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movl	%ecx, 40(%rbx)
	movq	%r13, %rdi
	movq	%rbx, %rsi
	callq	_video_set_drvdata
	movq	_GPIOD_OUT_LOW@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.2(%rip), %rsi
	movq	%r12, %rdi
	callq	_devm_gpiod_get_optional
	movq	%rax, 104(%rbx)
	movq	%rax, %rdi
	callq	_IS_ERR
	movq	104(%rbx), %rdi
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	callq	_PTR_ERR
	movl	%eax, %r13d
	leaq	L_.str.3(%rip), %rsi
	movq	%r12, %rdi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_dev_err
	jmp	LBB0_20
LBB0_8:
	testq	%rdi, %rdi
	je	LBB0_10
## %bb.9:
	movl	$1, %esi
	callq	_gpiod_set_value
LBB0_10:
	movq	_POWERCFG_ENABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	16(%rbx), %rcx
	movq	_POWERCFG@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rsi
	movl	%eax, (%rcx,%rsi,4)
	movq	%rbx, %rdi
	callq	_si470x_set_register
	testq	%rax, %rax
	js	LBB0_11
## %bb.12:
	movl	$110, %edi
	callq	_msleep
	movq	%rbx, %rdi
	callq	_si470x_get_all_registers
	testq	%rax, %rax
	js	LBB0_11
## %bb.13:
	movq	%r13, -56(%rbp)                 ## 8-byte Spill
	movq	16(%rbx), %rax
	movq	_DEVICEID@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rax,%rcx,4), %edx
	movq	_SI_CHIPID@GOTPCREL(%rip), %r14
	movq	(%r14), %rcx
	movl	(%rax,%rcx,4), %ecx
	leaq	L_.str.4(%rip), %rsi
	movq	%r12, %rdi
	callq	_dev_info
	movq	16(%rbx), %rax
	movq	(%r14), %rcx
	movq	_SI_CHIPID_FIRMWARE@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	andl	(%rax,%rcx,4), %esi
	movq	_RADIO_FW_VERSION@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	cmpl	%edx, %esi
	jge	LBB0_15
## %bb.14:
	leaq	L_.str.5(%rip), %rsi
	movq	%r12, %rdi
	xorl	%eax, %eax
	callq	_dev_warn
	movq	16(%rbx), %rax
	movq	(%r14), %rcx
	movl	(%r13), %edx
	andl	(%rax,%rcx,4), %edx
	leaq	L_.str.6(%rip), %rsi
	movq	%r12, %rdi
	xorl	%eax, %eax
	callq	_dev_warn
	leaq	L_.str.7(%rip), %rsi
	movq	%r12, %rdi
	xorl	%eax, %eax
	callq	_dev_warn
	leaq	L_.str.8(%rip), %rsi
	movq	%r12, %rdi
	xorl	%eax, %eax
	callq	_dev_warn
LBB0_15:
	movq	_FREQ_MUL@GOTPCREL(%rip), %rax
	movsd	(%rax), %xmm0                   ## xmm0 = mem[0],zero
	mulsd	LCPI0_0(%rip), %xmm0
	movq	%rbx, %rdi
	callq	_si470x_set_freq
	movq	_rds_buf@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leal	(%rax,%rax,2), %esi
	movl	%esi, 24(%rbx)
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	callq	_devm_kmalloc
	movl	%eax, 96(%rbx)
	testl	%eax, %eax
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	je	LBB0_11
## %bb.16:
	movq	%rbx, %rdi
	addq	$72, %rdi
	xorpd	%xmm0, %xmm0
	movupd	%xmm0, 80(%rbx)
	callq	_init_waitqueue_head
	movl	4(%r12), %esi
	movq	_si470x_i2c_interrupt@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_IRQF_TRIGGER_FALLING@GOTPCREL(%rip), %rax
	movq	_IRQF_ONESHOT@GOTPCREL(%rip), %rdx
	movl	(%rdx), %r8d
	orl	(%rax), %r8d
	movq	_DRIVER_NAME@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movq	%rbx, (%rsp)
	movq	%r12, %rdi
	xorl	%edx, %edx
	callq	_devm_request_threaded_irq
	testl	%eax, %eax
	je	LBB0_18
## %bb.17:
	movl	%eax, %r13d
	leaq	L_.str.9(%rip), %rsi
	movq	%r12, %rdi
	xorl	%eax, %eax
	callq	_dev_err
	jmp	LBB0_20
LBB0_11:
	movq	_EIO@GOTPCREL(%rip), %rax
	xorl	%r13d, %r13d
	subl	(%rax), %r13d
LBB0_20:
	movq	%r15, %rdi
	callq	_v4l2_ctrl_handler_free
LBB0_21:
	movq	%r14, %rdi
	callq	_v4l2_device_unregister
LBB0_22:
	movl	%r13d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_18:
	movq	_VFL_TYPE_RADIO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_radio_nr@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_video_register_device
	testl	%eax, %eax
	je	LBB0_23
## %bb.19:
	movl	%eax, %r13d
	leaq	L_.str.10(%rip), %rsi
	movq	%r12, %rdi
	xorl	%eax, %eax
	callq	_dev_warn
	jmp	LBB0_20
LBB0_23:
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_i2c_set_clientdata
	xorl	%r13d, %r13d
	jmp	LBB0_22
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_si470x_get_register,4,2        ## @si470x_get_register
	.comm	_si470x_fops_open,4,2           ## @si470x_fops_open
	.comm	_si470x_fops_release,4,2        ## @si470x_fops_release
	.comm	_si470x_vidioc_querycap,4,2     ## @si470x_vidioc_querycap
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"couldn't register v4l2_device\n"

	.comm	_si470x_ctrl_ops,4,2            ## @si470x_ctrl_ops
	.comm	_V4L2_CID_AUDIO_MUTE,4,2        ## @V4L2_CID_AUDIO_MUTE
	.comm	_V4L2_CID_AUDIO_VOLUME,4,2      ## @V4L2_CID_AUDIO_VOLUME
L_.str.1:                               ## @.str.1
	.asciz	"couldn't register control\n"

	.comm	_si470x_viddev_template,32,3    ## @si470x_viddev_template
	.comm	_video_device_release_empty,4,2 ## @video_device_release_empty
	.comm	_V4L2_CAP_HW_FREQ_SEEK,4,2      ## @V4L2_CAP_HW_FREQ_SEEK
	.comm	_V4L2_CAP_READWRITE,4,2         ## @V4L2_CAP_READWRITE
	.comm	_V4L2_CAP_TUNER,4,2             ## @V4L2_CAP_TUNER
	.comm	_V4L2_CAP_RADIO,4,2             ## @V4L2_CAP_RADIO
	.comm	_V4L2_CAP_RDS_CAPTURE,4,2       ## @V4L2_CAP_RDS_CAPTURE
L_.str.2:                               ## @.str.2
	.asciz	"reset"

	.comm	_GPIOD_OUT_LOW,4,2              ## @GPIOD_OUT_LOW
L_.str.3:                               ## @.str.3
	.asciz	"Failed to request gpio: %d\n"

	.comm	_POWERCFG_ENABLE,4,2            ## @POWERCFG_ENABLE
	.comm	_POWERCFG,8,3                   ## @POWERCFG
	.comm	_EIO,4,2                        ## @EIO
L_.str.4:                               ## @.str.4
	.asciz	"DeviceID=0x%4.4hx ChipID=0x%4.4hx\n"

	.comm	_DEVICEID,8,3                   ## @DEVICEID
	.comm	_SI_CHIPID,8,3                  ## @SI_CHIPID
	.comm	_SI_CHIPID_FIRMWARE,4,2         ## @SI_CHIPID_FIRMWARE
	.comm	_RADIO_FW_VERSION,4,2           ## @RADIO_FW_VERSION
L_.str.5:                               ## @.str.5
	.asciz	"This driver is known to work with firmware version %hu,\n"

L_.str.6:                               ## @.str.6
	.asciz	"but the device has firmware version %hu.\n"

L_.str.7:                               ## @.str.7
	.asciz	"If you have some trouble using this driver,\n"

L_.str.8:                               ## @.str.8
	.asciz	"please report to V4L ML at linux-media@vger.kernel.org\n"

	.comm	_FREQ_MUL,8,3                   ## @FREQ_MUL
	.comm	_rds_buf,4,2                    ## @rds_buf
	.comm	_si470x_i2c_interrupt,4,2       ## @si470x_i2c_interrupt
	.comm	_IRQF_TRIGGER_FALLING,4,2       ## @IRQF_TRIGGER_FALLING
	.comm	_IRQF_ONESHOT,4,2               ## @IRQF_ONESHOT
	.comm	_DRIVER_NAME,4,2                ## @DRIVER_NAME
L_.str.9:                               ## @.str.9
	.asciz	"Failed to register interrupt\n"

	.comm	_VFL_TYPE_RADIO,4,2             ## @VFL_TYPE_RADIO
	.comm	_radio_nr,4,2                   ## @radio_nr
L_.str.10:                              ## @.str.10
	.asciz	"Could not register video device\n"

	.no_dead_strip	_si470x_i2c_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function si470x_i2c_probe
_si470x_i2c_probe:                      ; @si470x_i2c_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	x20, x0
Lloh0:
	adrp	x26, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x26, [x26, _GFP_KERNEL@GOTPAGEOFF]
	ldr	w2, [x26]
	mov	w1, #144
	bl	_devm_kzalloc
	cbz	x0, LBB0_4
; %bb.1:
	mov	x22, x0
	str	x20, [x0, #136]
	mov	w8, #1
	str	w8, [x0]
	add	x25, x0, #112
	mov	x0, x25
	bl	_mutex_init
	add	x0, x22, #132
	bl	_init_completion
Lloh2:
	adrp	x8, _si470x_get_register@GOTPAGE
Lloh3:
	ldr	x8, [x8, _si470x_get_register@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	adrp	x9, _si470x_set_register@GOTPAGE
Lloh6:
	ldr	x9, [x9, _si470x_set_register@GOTPAGEOFF]
	str	x9, [x22, #8]
Lloh7:
	adrp	x9, _si470x_fops_open@GOTPAGE
Lloh8:
	ldr	x9, [x9, _si470x_fops_open@GOTPAGEOFF]
Lloh9:
	ldr	w9, [x9]
	stp	w9, w8, [x22, #124]
Lloh10:
	adrp	x8, _si470x_fops_release@GOTPAGE
Lloh11:
	ldr	x8, [x8, _si470x_fops_release@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
Lloh13:
	adrp	x9, _si470x_vidioc_querycap@GOTPAGE
Lloh14:
	ldr	x9, [x9, _si470x_vidioc_querycap@GOTPAGEOFF]
Lloh15:
	ldr	w9, [x9]
	stp	w9, w8, [x22, #116]
	add	x19, x22, #28
	mov	x0, x20
	mov	x1, x19
	bl	_v4l2_device_register
	tbnz	w0, #31, LBB0_5
; %bb.2:
	add	x21, x22, #32
	mov	x0, x21
	mov	w1, #2
	bl	_v4l2_ctrl_handler_init
Lloh16:
	adrp	x8, _V4L2_CID_AUDIO_MUTE@GOTPAGE
Lloh17:
	ldr	x8, [x8, _V4L2_CID_AUDIO_MUTE@GOTPAGEOFF]
Lloh18:
	ldr	w2, [x8]
Lloh19:
	adrp	x23, _si470x_ctrl_ops@GOTPAGE
Lloh20:
	ldr	x23, [x23, _si470x_ctrl_ops@GOTPAGEOFF]
	mov	x0, x21
	mov	x1, x23
	mov	w3, #0
	mov	w4, #1
	mov	w5, #1
	mov	w6, #1
	bl	_v4l2_ctrl_new_std
Lloh21:
	adrp	x8, _V4L2_CID_AUDIO_VOLUME@GOTPAGE
Lloh22:
	ldr	x8, [x8, _V4L2_CID_AUDIO_VOLUME@GOTPAGEOFF]
Lloh23:
	ldr	w2, [x8]
	mov	x0, x21
	mov	x1, x23
	mov	w3, #0
	mov	w4, #15
	mov	w5, #1
	mov	w6, #15
	bl	_v4l2_ctrl_new_std
	ldr	w24, [x22, #32]
	cbz	w24, LBB0_6
; %bb.3:
Lloh24:
	adrp	x1, l_.str.1@PAGE
Lloh25:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_dev_err
	b	LBB0_20
LBB0_4:
Lloh26:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh27:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh28:
	ldr	w8, [x8]
	neg	w24, w8
	b	LBB0_21
LBB0_5:
	mov	x24, x0
Lloh29:
	adrp	x1, l_.str@PAGE
Lloh30:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_dev_err
	b	LBB0_21
LBB0_6:
Lloh31:
	adrp	x8, _V4L2_CAP_HW_FREQ_SEEK@GOTPAGE
Lloh32:
	ldr	x8, [x8, _V4L2_CAP_HW_FREQ_SEEK@GOTPAGEOFF]
Lloh33:
	ldr	w8, [x8]
Lloh34:
	adrp	x9, _V4L2_CAP_READWRITE@GOTPAGE
Lloh35:
	ldr	x9, [x9, _V4L2_CAP_READWRITE@GOTPAGEOFF]
Lloh36:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh37:
	adrp	x9, _V4L2_CAP_TUNER@GOTPAGE
Lloh38:
	ldr	x9, [x9, _V4L2_CAP_TUNER@GOTPAGEOFF]
Lloh39:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh40:
	adrp	x9, _V4L2_CAP_RADIO@GOTPAGE
Lloh41:
	ldr	x9, [x9, _V4L2_CAP_RADIO@GOTPAGEOFF]
Lloh42:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh43:
	adrp	x9, _V4L2_CAP_RDS_CAPTURE@GOTPAGE
Lloh44:
	ldr	x9, [x9, _V4L2_CAP_RDS_CAPTURE@GOTPAGEOFF]
Lloh45:
	ldr	w9, [x9]
	orr	w8, w8, w9
	mov	x23, x22
	str	w8, [x23, #40]!
	stp	x25, x21, [x22, #56]
	str	x19, [x22, #48]
Lloh46:
	adrp	x8, _video_device_release_empty@GOTPAGE
Lloh47:
	ldr	x8, [x8, _video_device_release_empty@GOTPAGEOFF]
Lloh48:
	ldr	w8, [x8]
	str	w8, [x22, #44]
	mov	x0, x23
	mov	x1, x22
	bl	_video_set_drvdata
Lloh49:
	adrp	x8, _GPIOD_OUT_LOW@GOTPAGE
Lloh50:
	ldr	x8, [x8, _GPIOD_OUT_LOW@GOTPAGEOFF]
Lloh51:
	ldr	w2, [x8]
Lloh52:
	adrp	x1, l_.str.2@PAGE
Lloh53:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x20
	bl	_devm_gpiod_get_optional
	str	x0, [x22, #104]
	bl	_IS_ERR
	mov	x8, x0
	ldr	x0, [x22, #104]
	cbz	x8, LBB0_9
; %bb.7:
	bl	_PTR_ERR
	mov	x24, x0
	str	x24, [sp]
Lloh54:
	adrp	x1, l_.str.3@PAGE
Lloh55:
	add	x1, x1, l_.str.3@PAGEOFF
LBB0_8:
	mov	x0, x20
	bl	_dev_err
	b	LBB0_19
LBB0_9:
	cbz	x0, LBB0_11
; %bb.10:
	mov	w1, #1
	bl	_gpiod_set_value
LBB0_11:
Lloh56:
	adrp	x8, _POWERCFG_ENABLE@GOTPAGE
Lloh57:
	ldr	x8, [x8, _POWERCFG_ENABLE@GOTPAGEOFF]
Lloh58:
	ldr	w8, [x8]
	ldr	x9, [x22, #16]
Lloh59:
	adrp	x10, _POWERCFG@GOTPAGE
Lloh60:
	ldr	x10, [x10, _POWERCFG@GOTPAGEOFF]
Lloh61:
	ldr	x1, [x10]
	str	w8, [x9, x1, lsl #2]
	mov	x0, x22
	bl	_si470x_set_register
	tbnz	x0, #63, LBB0_18
; %bb.12:
	mov	w0, #110
	bl	_msleep
	mov	x0, x22
	bl	_si470x_get_all_registers
	tbnz	x0, #63, LBB0_18
; %bb.13:
	ldr	x8, [x22, #16]
Lloh62:
	adrp	x9, _DEVICEID@GOTPAGE
Lloh63:
	ldr	x9, [x9, _DEVICEID@GOTPAGEOFF]
Lloh64:
	ldr	x9, [x9]
	ldr	w2, [x8, x9, lsl #2]
Lloh65:
	adrp	x24, _SI_CHIPID@GOTPAGE
Lloh66:
	ldr	x24, [x24, _SI_CHIPID@GOTPAGEOFF]
	ldr	x9, [x24]
	ldr	w3, [x8, x9, lsl #2]
Lloh67:
	adrp	x1, l_.str.4@PAGE
Lloh68:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x20
	bl	_dev_info
	ldr	x8, [x22, #16]
	ldr	x9, [x24]
	ldr	w8, [x8, x9, lsl #2]
Lloh69:
	adrp	x25, _SI_CHIPID_FIRMWARE@GOTPAGE
Lloh70:
	ldr	x25, [x25, _SI_CHIPID_FIRMWARE@GOTPAGEOFF]
	ldr	w9, [x25]
	and	w9, w9, w8
Lloh71:
	adrp	x8, _RADIO_FW_VERSION@GOTPAGE
Lloh72:
	ldr	x8, [x8, _RADIO_FW_VERSION@GOTPAGEOFF]
Lloh73:
	ldr	w8, [x8]
	cmp	w9, w8
	b.ge	LBB0_15
; %bb.14:
	str	x8, [sp]
Lloh74:
	adrp	x1, l_.str.5@PAGE
Lloh75:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x20
	bl	_dev_warn
	ldr	x8, [x22, #16]
	ldr	x9, [x24]
	ldr	w8, [x8, x9, lsl #2]
	ldr	w9, [x25]
	and	w8, w9, w8
	str	x8, [sp]
Lloh76:
	adrp	x1, l_.str.6@PAGE
Lloh77:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x20
	bl	_dev_warn
Lloh78:
	adrp	x1, l_.str.7@PAGE
Lloh79:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	x0, x20
	bl	_dev_warn
Lloh80:
	adrp	x1, l_.str.8@PAGE
Lloh81:
	add	x1, x1, l_.str.8@PAGEOFF
	mov	x0, x20
	bl	_dev_warn
LBB0_15:
Lloh82:
	adrp	x8, _FREQ_MUL@GOTPAGE
Lloh83:
	ldr	x8, [x8, _FREQ_MUL@GOTPAGEOFF]
Lloh84:
	ldr	d0, [x8]
	mov	x8, #246290604621824
	movk	x8, #16469, lsl #48
	fmov	d1, x8
	fmul	d0, d0, d1
	mov	x0, x22
	bl	_si470x_set_freq
Lloh85:
	adrp	x8, _rds_buf@GOTPAGE
Lloh86:
	ldr	x8, [x8, _rds_buf@GOTPAGEOFF]
Lloh87:
	ldr	w8, [x8]
	add	w1, w8, w8, lsl #1
	str	w1, [x22, #24]
	ldr	w2, [x26]
	mov	x0, x20
	bl	_devm_kmalloc
	str	w0, [x22, #96]
	cbz	w0, LBB0_18
; %bb.16:
	add	x0, x22, #72
	stp	xzr, xzr, [x22, #80]
	bl	_init_waitqueue_head
Lloh88:
	adrp	x8, _si470x_i2c_interrupt@GOTPAGE
Lloh89:
	ldr	x8, [x8, _si470x_i2c_interrupt@GOTPAGEOFF]
	ldr	w1, [x20, #4]
Lloh90:
	ldr	w3, [x8]
Lloh91:
	adrp	x8, _IRQF_TRIGGER_FALLING@GOTPAGE
Lloh92:
	ldr	x8, [x8, _IRQF_TRIGGER_FALLING@GOTPAGEOFF]
Lloh93:
	adrp	x9, _IRQF_ONESHOT@GOTPAGE
Lloh94:
	ldr	x9, [x9, _IRQF_ONESHOT@GOTPAGEOFF]
Lloh95:
	ldr	w8, [x8]
Lloh96:
	ldr	w9, [x9]
	orr	w4, w9, w8
Lloh97:
	adrp	x8, _DRIVER_NAME@GOTPAGE
Lloh98:
	ldr	x8, [x8, _DRIVER_NAME@GOTPAGEOFF]
Lloh99:
	ldr	w5, [x8]
	mov	x0, x20
	mov	x2, #0
	mov	x6, x22
	bl	_devm_request_threaded_irq
	cbz	w0, LBB0_22
; %bb.17:
	mov	x24, x0
Lloh100:
	adrp	x1, l_.str.9@PAGE
Lloh101:
	add	x1, x1, l_.str.9@PAGEOFF
	b	LBB0_8
LBB0_18:
Lloh102:
	adrp	x8, _EIO@GOTPAGE
Lloh103:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
Lloh104:
	ldr	w8, [x8]
	neg	w24, w8
LBB0_19:
	mov	x0, x21
	bl	_v4l2_ctrl_handler_free
LBB0_20:
	mov	x0, x19
	bl	_v4l2_device_unregister
LBB0_21:
	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_22:
Lloh105:
	adrp	x8, _VFL_TYPE_RADIO@GOTPAGE
Lloh106:
	ldr	x8, [x8, _VFL_TYPE_RADIO@GOTPAGEOFF]
Lloh107:
	ldr	w1, [x8]
Lloh108:
	adrp	x8, _radio_nr@GOTPAGE
Lloh109:
	ldr	x8, [x8, _radio_nr@GOTPAGEOFF]
Lloh110:
	ldr	w2, [x8]
	mov	x0, x23
	bl	_video_register_device
	mov	x24, x0
	cbz	w0, LBB0_24
; %bb.23:
Lloh111:
	adrp	x1, l_.str.10@PAGE
Lloh112:
	add	x1, x1, l_.str.10@PAGEOFF
	mov	x0, x20
	bl	_dev_warn
	b	LBB0_19
LBB0_24:
	mov	x0, x20
	mov	x1, x22
	bl	_i2c_set_clientdata
	b	LBB0_21
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpAdd	Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpAdd	Lloh54, Lloh55
	.loh AdrpLdrGotLdr	Lloh59, Lloh60, Lloh61
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh58
	.loh AdrpLdrGotLdr	Lloh71, Lloh72, Lloh73
	.loh AdrpLdrGot	Lloh69, Lloh70
	.loh AdrpAdd	Lloh67, Lloh68
	.loh AdrpLdrGot	Lloh65, Lloh66
	.loh AdrpLdrGotLdr	Lloh62, Lloh63, Lloh64
	.loh AdrpAdd	Lloh80, Lloh81
	.loh AdrpAdd	Lloh78, Lloh79
	.loh AdrpAdd	Lloh76, Lloh77
	.loh AdrpAdd	Lloh74, Lloh75
	.loh AdrpLdrGotLdr	Lloh85, Lloh86, Lloh87
	.loh AdrpLdrGotLdr	Lloh82, Lloh83, Lloh84
	.loh AdrpLdrGotLdr	Lloh97, Lloh98, Lloh99
	.loh AdrpLdrGotLdr	Lloh93, Lloh94, Lloh96
	.loh AdrpLdrGotLdr	Lloh91, Lloh92, Lloh95
	.loh AdrpLdrGotLdr	Lloh88, Lloh89, Lloh90
	.loh AdrpAdd	Lloh100, Lloh101
	.loh AdrpLdrGotLdr	Lloh102, Lloh103, Lloh104
	.loh AdrpLdrGotLdr	Lloh108, Lloh109, Lloh110
	.loh AdrpLdrGotLdr	Lloh105, Lloh106, Lloh107
	.loh AdrpAdd	Lloh111, Lloh112
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_si470x_get_register,4,2        ; @si470x_get_register
	.comm	_si470x_fops_open,4,2           ; @si470x_fops_open
	.comm	_si470x_fops_release,4,2        ; @si470x_fops_release
	.comm	_si470x_vidioc_querycap,4,2     ; @si470x_vidioc_querycap
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"couldn't register v4l2_device\n"

	.comm	_si470x_ctrl_ops,4,2            ; @si470x_ctrl_ops
	.comm	_V4L2_CID_AUDIO_MUTE,4,2        ; @V4L2_CID_AUDIO_MUTE
	.comm	_V4L2_CID_AUDIO_VOLUME,4,2      ; @V4L2_CID_AUDIO_VOLUME
l_.str.1:                               ; @.str.1
	.asciz	"couldn't register control\n"

	.comm	_si470x_viddev_template,32,3    ; @si470x_viddev_template
	.comm	_video_device_release_empty,4,2 ; @video_device_release_empty
	.comm	_V4L2_CAP_HW_FREQ_SEEK,4,2      ; @V4L2_CAP_HW_FREQ_SEEK
	.comm	_V4L2_CAP_READWRITE,4,2         ; @V4L2_CAP_READWRITE
	.comm	_V4L2_CAP_TUNER,4,2             ; @V4L2_CAP_TUNER
	.comm	_V4L2_CAP_RADIO,4,2             ; @V4L2_CAP_RADIO
	.comm	_V4L2_CAP_RDS_CAPTURE,4,2       ; @V4L2_CAP_RDS_CAPTURE
l_.str.2:                               ; @.str.2
	.asciz	"reset"

	.comm	_GPIOD_OUT_LOW,4,2              ; @GPIOD_OUT_LOW
l_.str.3:                               ; @.str.3
	.asciz	"Failed to request gpio: %d\n"

	.comm	_POWERCFG_ENABLE,4,2            ; @POWERCFG_ENABLE
	.comm	_POWERCFG,8,3                   ; @POWERCFG
	.comm	_EIO,4,2                        ; @EIO
l_.str.4:                               ; @.str.4
	.asciz	"DeviceID=0x%4.4hx ChipID=0x%4.4hx\n"

	.comm	_DEVICEID,8,3                   ; @DEVICEID
	.comm	_SI_CHIPID,8,3                  ; @SI_CHIPID
	.comm	_SI_CHIPID_FIRMWARE,4,2         ; @SI_CHIPID_FIRMWARE
	.comm	_RADIO_FW_VERSION,4,2           ; @RADIO_FW_VERSION
l_.str.5:                               ; @.str.5
	.asciz	"This driver is known to work with firmware version %hu,\n"

l_.str.6:                               ; @.str.6
	.asciz	"but the device has firmware version %hu.\n"

l_.str.7:                               ; @.str.7
	.asciz	"If you have some trouble using this driver,\n"

l_.str.8:                               ; @.str.8
	.asciz	"please report to V4L ML at linux-media@vger.kernel.org\n"

	.comm	_FREQ_MUL,8,3                   ; @FREQ_MUL
	.comm	_rds_buf,4,2                    ; @rds_buf
	.comm	_si470x_i2c_interrupt,4,2       ; @si470x_i2c_interrupt
	.comm	_IRQF_TRIGGER_FALLING,4,2       ; @IRQF_TRIGGER_FALLING
	.comm	_IRQF_ONESHOT,4,2               ; @IRQF_ONESHOT
	.comm	_DRIVER_NAME,4,2                ; @DRIVER_NAME
l_.str.9:                               ; @.str.9
	.asciz	"Failed to register interrupt\n"

	.comm	_VFL_TYPE_RADIO,4,2             ; @VFL_TYPE_RADIO
	.comm	_radio_nr,4,2                   ; @radio_nr
l_.str.10:                              ; @.str.10
	.asciz	"Could not register video device\n"

	.no_dead_strip	_si470x_i2c_probe
.subsections_via_symbols
