	.file	"extr_radio-si470x-common.c_si470x_start.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	si470x_start
	.type	si470x_start, @function
si470x_start:
.LFB0:
	.cfi_startproc
	endbr64
	mov	rsi, QWORD PTR POWERCFG[rip]
	mov	eax, DWORD PTR POWERCFG_DMUTE[rip]
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rdi
	mov	rdx, QWORD PTR [rdi]
	or	eax, DWORD PTR POWERCFG_ENABLE[rip]
	or	eax, DWORD PTR POWERCFG_RDSM[rip]
	mov	DWORD PTR [rdx+rsi*4], eax
	call	si470x_set_register@PLT
	test	eax, eax
	js	.L1
	mov	rsi, QWORD PTR SYSCONFIG1[rip]
	mov	rax, QWORD PTR 0[rbp]
	mov	rdi, rbp
	mov	edx, DWORD PTR SYSCONFIG1_DE[rip]
	mov	DWORD PTR [rax+rsi*4], edx
	call	si470x_set_register@PLT
	test	eax, eax
	js	.L1
	mov	eax, DWORD PTR band[rip]
	mov	edx, DWORD PTR space[rip]
	mov	rdi, rbp
	mov	rsi, QWORD PTR SYSCONFIG2[rip]
	mov	rcx, QWORD PTR 0[rbp]
	sal	eax, 6
	sal	edx, 4
	and	eax, DWORD PTR SYSCONFIG2_BAND[rip]
	and	edx, DWORD PTR SYSCONFIG2_SPACE[rip]
	or	eax, edx
	or	eax, 16143
	mov	DWORD PTR [rcx+rsi*4], eax
	call	si470x_set_register@PLT
	test	eax, eax
	js	.L1
	mov	rax, QWORD PTR 0[rbp]
	mov	rdx, QWORD PTR CHANNEL[rip]
	mov	rdi, rbp
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	mov	esi, DWORD PTR [rax+rdx*4]
	and	esi, DWORD PTR CHANNEL_CHAN[rip]
	jmp	si470x_set_chan@PLT
.L2:
	.p2align 4,,10
	.p2align 3
.L1:
	.cfi_restore_state
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	si470x_start, .-si470x_start
	.comm	space,4,4
	.comm	band,4,4
	.comm	SYSCONFIG2_SPACE,4,4
	.comm	SYSCONFIG2_BAND,4,4
	.comm	SYSCONFIG2,8,8
	.comm	SYSCONFIG1_DE,4,4
	.comm	SYSCONFIG1,8,8
	.comm	POWERCFG_RDSM,4,4
	.comm	POWERCFG_ENABLE,4,4
	.comm	POWERCFG_DMUTE,4,4
	.comm	POWERCFG,8,8
	.comm	CHANNEL_CHAN,4,4
	.comm	CHANNEL,8,8
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_radio-si470x-common.c_si470x_start.c"
	.text
	.align	2
	.global	si470x_start
	.syntax unified
	.arm
	.fpu softvfp
	.type	si470x_start, %function
si470x_start:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r2, .L5
	ldr	r3, .L5+4
	ldr	ip, .L5+8
	ldr	r1, [r2]
	ldr	r3, [r3]
	ldr	r2, .L5+12
	ldr	ip, [ip]
	orr	r3, r3, r1
	ldr	r1, [r2]
	ldr	r2, [r0]
	orr	r3, r3, ip
	push	{r4, lr}
	str	r3, [r2, r1, lsl #2]
	mov	r4, r0
	bl	si470x_set_register
	cmp	r0, #0
	poplt	{r4, pc}
	ldr	r2, .L5+16
	ldr	r3, .L5+20
	ldr	r1, [r2]
	ldr	r2, [r3]
	ldr	r3, [r4]
	mov	r0, r4
	str	r2, [r3, r1, lsl #2]
	bl	si470x_set_register
	cmp	r0, #0
	poplt	{r4, pc}
	ldr	r0, .L5+24
	ldr	r3, .L5+28
	ldr	r1, .L5+32
	ldr	r2, .L5+36
	ldr	r0, [r0]
	ldr	r1, [r1]
	ldr	r3, [r3]
	ldr	r2, [r2]
	and	r3, r3, r0, lsl #6
	and	r2, r2, r1, lsl #4
	ldr	r1, .L5+40
	orr	r3, r3, r2
	ldr	r1, [r1]
	ldr	r2, [r4]
	orr	r3, r3, #16128
	orr	r3, r3, #15
	mov	r0, r4
	str	r3, [r2, r1, lsl #2]
	bl	si470x_set_register
	cmp	r0, #0
	poplt	{r4, pc}
	ldr	r3, .L5+44
	ldr	r2, [r4]
	ldr	r1, [r3]
	ldr	r3, .L5+48
	ldr	r1, [r2, r1, lsl #2]
	ldr	r3, [r3]
	mov	r0, r4
	pop	{r4, lr}
	and	r1, r1, r3
	b	si470x_set_chan
.L6:
	.align	2
.L5:
	.word	POWERCFG_ENABLE
	.word	POWERCFG_DMUTE
	.word	POWERCFG_RDSM
	.word	POWERCFG
	.word	SYSCONFIG1
	.word	SYSCONFIG1_DE
	.word	band
	.word	SYSCONFIG2_BAND
	.word	space
	.word	SYSCONFIG2_SPACE
	.word	SYSCONFIG2
	.word	CHANNEL
	.word	CHANNEL_CHAN
.L2:
	.size	si470x_start, .-si470x_start
	.comm	space,4,4
	.comm	band,4,4
	.comm	SYSCONFIG2_SPACE,4,4
	.comm	SYSCONFIG2_BAND,4,4
	.comm	SYSCONFIG2,4,4
	.comm	SYSCONFIG1_DE,4,4
	.comm	SYSCONFIG1,4,4
	.comm	POWERCFG_RDSM,4,4
	.comm	POWERCFG_ENABLE,4,4
	.comm	POWERCFG_DMUTE,4,4
	.comm	POWERCFG,4,4
	.comm	CHANNEL_CHAN,4,4
	.comm	CHANNEL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
