	.file	"extr_cx231xx-avcore.c_cx231xx_afe_init_channels.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	cx231xx_afe_init_channels
	.type	cx231xx_afe_init_channels, @function
cx231xx_afe_init_channels:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	esi, DWORD PTR ADC_PWRDN_CLAMP_CH1[rip]
	xor	edx, edx
	mov	rbp, rdi
	call	afe_write_byte@PLT
	mov	esi, DWORD PTR ADC_PWRDN_CLAMP_CH2[rip]
	mov	rdi, rbp
	xor	edx, edx
	call	afe_write_byte@PLT
	mov	esi, DWORD PTR ADC_PWRDN_CLAMP_CH3[rip]
	mov	rdi, rbp
	xor	edx, edx
	call	afe_write_byte@PLT
	mov	esi, DWORD PTR ADC_COM_QUANT[rip]
	mov	rdi, rbp
	mov	edx, 2
	call	afe_write_byte@PLT
	mov	esi, DWORD PTR ADC_FB_FRCRST_CH1[rip]
	mov	rdi, rbp
	mov	edx, 23
	call	afe_write_byte@PLT
	mov	esi, DWORD PTR ADC_FB_FRCRST_CH2[rip]
	mov	rdi, rbp
	mov	edx, 23
	call	afe_write_byte@PLT
	mov	esi, DWORD PTR ADC_FB_FRCRST_CH3[rip]
	mov	rdi, rbp
	mov	edx, 23
	call	afe_write_byte@PLT
	mov	esi, DWORD PTR ADC_CAL_ATEST_CH1[rip]
	mov	rdi, rbp
	mov	edx, 16
	call	afe_write_byte@PLT
	mov	esi, DWORD PTR ADC_CAL_ATEST_CH2[rip]
	mov	rdi, rbp
	mov	edx, 16
	call	afe_write_byte@PLT
	mov	esi, DWORD PTR ADC_CAL_ATEST_CH3[rip]
	mov	edx, 16
	mov	rdi, rbp
	call	afe_write_byte@PLT
	mov	edi, 5
	call	msleep@PLT
	mov	esi, DWORD PTR ADC_FB_FRCRST_CH1[rip]
	mov	rdi, rbp
	mov	edx, 7
	call	afe_write_byte@PLT
	mov	esi, DWORD PTR ADC_FB_FRCRST_CH2[rip]
	mov	rdi, rbp
	mov	edx, 7
	call	afe_write_byte@PLT
	mov	esi, DWORD PTR ADC_FB_FRCRST_CH3[rip]
	mov	rdi, rbp
	mov	edx, 7
	call	afe_write_byte@PLT
	mov	esi, DWORD PTR ADC_NTF_PRECLMP_EN_CH1[rip]
	mov	rdi, rbp
	mov	edx, 240
	call	afe_write_byte@PLT
	mov	esi, DWORD PTR ADC_NTF_PRECLMP_EN_CH2[rip]
	mov	rdi, rbp
	mov	edx, 240
	call	afe_write_byte@PLT
	mov	esi, DWORD PTR ADC_NTF_PRECLMP_EN_CH3[rip]
	mov	rdi, rbp
	mov	edx, 240
	call	afe_write_byte@PLT
	sub	rsp, 8
	.cfi_def_cfa_offset 24
	mov	rdi, rbp
	mov	edx, 8
	push	0
	.cfi_def_cfa_offset 32
	mov	ecx, DWORD PTR ADC_QGAIN_RES_TRM_CH1[rip]
	mov	r9d, 7
	mov	r8d, 3
	mov	esi, DWORD PTR AFE_DEVICE_ADDRESS[rip]
	call	cx231xx_reg_mask_write@PLT
	mov	ecx, DWORD PTR ADC_QGAIN_RES_TRM_CH2[rip]
	mov	rdi, rbp
	mov	esi, DWORD PTR AFE_DEVICE_ADDRESS[rip]
	mov	r9d, 7
	mov	r8d, 3
	mov	edx, 8
	mov	DWORD PTR [rsp], 0
	call	cx231xx_reg_mask_write@PLT
	mov	ecx, DWORD PTR ADC_QGAIN_RES_TRM_CH3[rip]
	mov	rdi, rbp
	mov	esi, DWORD PTR AFE_DEVICE_ADDRESS[rip]
	mov	r9d, 7
	mov	r8d, 3
	mov	edx, 8
	mov	DWORD PTR [rsp], 0
	call	cx231xx_reg_mask_write@PLT
	mov	esi, DWORD PTR ADC_DCSERVO_DEM_CH1[rip]
	mov	rdi, rbp
	mov	edx, 3
	call	afe_write_byte@PLT
	mov	esi, DWORD PTR ADC_DCSERVO_DEM_CH2[rip]
	mov	rdi, rbp
	mov	edx, 3
	call	afe_write_byte@PLT
	mov	esi, DWORD PTR ADC_DCSERVO_DEM_CH3[rip]
	pop	rax
	.cfi_def_cfa_offset 24
	mov	rdi, rbp
	pop	rdx
	.cfi_def_cfa_offset 16
	mov	edx, 3
	pop	rbp
	.cfi_def_cfa_offset 8
	jmp	afe_write_byte@PLT
	.cfi_endproc
.LFE0:
	.size	cx231xx_afe_init_channels, .-cx231xx_afe_init_channels
	.comm	AFE_DEVICE_ADDRESS,4,4
	.comm	ADC_QGAIN_RES_TRM_CH3,4,4
	.comm	ADC_QGAIN_RES_TRM_CH2,4,4
	.comm	ADC_QGAIN_RES_TRM_CH1,4,4
	.comm	ADC_PWRDN_CLAMP_CH3,4,4
	.comm	ADC_PWRDN_CLAMP_CH2,4,4
	.comm	ADC_PWRDN_CLAMP_CH1,4,4
	.comm	ADC_NTF_PRECLMP_EN_CH3,4,4
	.comm	ADC_NTF_PRECLMP_EN_CH2,4,4
	.comm	ADC_NTF_PRECLMP_EN_CH1,4,4
	.comm	ADC_FB_FRCRST_CH3,4,4
	.comm	ADC_FB_FRCRST_CH2,4,4
	.comm	ADC_FB_FRCRST_CH1,4,4
	.comm	ADC_DCSERVO_DEM_CH3,4,4
	.comm	ADC_DCSERVO_DEM_CH2,4,4
	.comm	ADC_DCSERVO_DEM_CH1,4,4
	.comm	ADC_COM_QUANT,4,4
	.comm	ADC_CAL_ATEST_CH3,4,4
	.comm	ADC_CAL_ATEST_CH2,4,4
	.comm	ADC_CAL_ATEST_CH1,4,4
	.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_cx231xx-avcore.c_cx231xx_afe_init_channels.c"
	.text
	.align	2
	.global	cx231xx_afe_init_channels
	.syntax unified
	.arm
	.fpu softvfp
	.type	cx231xx_afe_init_channels, %function
cx231xx_afe_init_channels:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r4, r0
	mov	r8, #0
	mov	r7, #7
	ldr	r3, .L4
	sub	sp, sp, #16
	ldr	r1, [r3]
	mov	r2, #0
	bl	afe_write_byte
	ldr	r3, .L4+4
	mov	r5, #3
	ldr	r1, [r3]
	mov	r0, r4
	mov	r2, #0
	bl	afe_write_byte
	ldr	r3, .L4+8
	mov	r2, r8
	ldr	r1, [r3]
	mov	r0, r4
	bl	afe_write_byte
	ldr	r3, .L4+12
	ldr	r10, .L4+16
	ldr	r1, [r3]
	ldr	r9, .L4+20
	mov	r0, r4
	mov	r2, #2
	bl	afe_write_byte
	ldr	r6, .L4+24
	ldr	r1, [r10]
	mov	r0, r4
	mov	r2, #23
	bl	afe_write_byte
	ldr	r1, [r9]
	mov	r0, r4
	mov	r2, #23
	bl	afe_write_byte
	ldr	r1, [r6]
	mov	r0, r4
	mov	r2, #23
	bl	afe_write_byte
	ldr	r3, .L4+28
	mov	r0, r4
	ldr	r1, [r3]
	mov	r2, #16
	bl	afe_write_byte
	ldr	r3, .L4+32
	mov	r0, r4
	ldr	r1, [r3]
	mov	r2, #16
	bl	afe_write_byte
	ldr	r3, .L4+36
	mov	r2, #16
	ldr	r1, [r3]
	mov	r0, r4
	bl	afe_write_byte
	mov	r0, #5
	bl	msleep
	mov	r2, r7
	ldr	r1, [r10]
	mov	r0, r4
	bl	afe_write_byte
	mov	r2, r7
	ldr	r1, [r9]
	mov	r0, r4
	bl	afe_write_byte
	mov	r2, r7
	ldr	r1, [r6]
	mov	r0, r4
	bl	afe_write_byte
	ldr	r3, .L4+40
	mov	r0, r4
	ldr	r1, [r3]
	mov	r2, #240
	bl	afe_write_byte
	ldr	r3, .L4+44
	mov	r0, r4
	ldr	r1, [r3]
	mov	r2, #240
	bl	afe_write_byte
	ldr	r3, .L4+48
	mov	r0, r4
	ldr	r1, [r3]
	mov	r2, #240
	bl	afe_write_byte
	stm	sp, {r5, r7, r8}
	ldr	r6, .L4+52
	ldr	r3, .L4+56
	ldr	r1, [r6]
	mov	r0, r4
	mov	r2, #8
	ldr	r3, [r3]
	bl	cx231xx_reg_mask_write
	stm	sp, {r5, r7, r8}
	ldr	r3, .L4+60
	ldr	r1, [r6]
	mov	r0, r4
	mov	r2, #8
	ldr	r3, [r3]
	bl	cx231xx_reg_mask_write
	stm	sp, {r5, r7, r8}
	ldr	r3, .L4+64
	ldr	r1, [r6]
	mov	r0, r4
	mov	r2, #8
	ldr	r3, [r3]
	bl	cx231xx_reg_mask_write
	ldr	r3, .L4+68
	mov	r2, r5
	ldr	r1, [r3]
	mov	r0, r4
	bl	afe_write_byte
	ldr	r3, .L4+72
	mov	r2, r5
	ldr	r1, [r3]
	mov	r0, r4
	bl	afe_write_byte
	mov	r0, r4
	mov	r2, r5
	ldr	r3, .L4+76
	ldr	r1, [r3]
	add	sp, sp, #16
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, lr}
	b	afe_write_byte
.L5:
	.align	2
.L4:
	.word	ADC_PWRDN_CLAMP_CH1
	.word	ADC_PWRDN_CLAMP_CH2
	.word	ADC_PWRDN_CLAMP_CH3
	.word	ADC_COM_QUANT
	.word	ADC_FB_FRCRST_CH1
	.word	ADC_FB_FRCRST_CH2
	.word	ADC_FB_FRCRST_CH3
	.word	ADC_CAL_ATEST_CH1
	.word	ADC_CAL_ATEST_CH2
	.word	ADC_CAL_ATEST_CH3
	.word	ADC_NTF_PRECLMP_EN_CH1
	.word	ADC_NTF_PRECLMP_EN_CH2
	.word	ADC_NTF_PRECLMP_EN_CH3
	.word	AFE_DEVICE_ADDRESS
	.word	ADC_QGAIN_RES_TRM_CH1
	.word	ADC_QGAIN_RES_TRM_CH2
	.word	ADC_QGAIN_RES_TRM_CH3
	.word	ADC_DCSERVO_DEM_CH1
	.word	ADC_DCSERVO_DEM_CH2
	.word	ADC_DCSERVO_DEM_CH3
	.size	cx231xx_afe_init_channels, .-cx231xx_afe_init_channels
	.comm	AFE_DEVICE_ADDRESS,4,4
	.comm	ADC_QGAIN_RES_TRM_CH3,4,4
	.comm	ADC_QGAIN_RES_TRM_CH2,4,4
	.comm	ADC_QGAIN_RES_TRM_CH1,4,4
	.comm	ADC_PWRDN_CLAMP_CH3,4,4
	.comm	ADC_PWRDN_CLAMP_CH2,4,4
	.comm	ADC_PWRDN_CLAMP_CH1,4,4
	.comm	ADC_NTF_PRECLMP_EN_CH3,4,4
	.comm	ADC_NTF_PRECLMP_EN_CH2,4,4
	.comm	ADC_NTF_PRECLMP_EN_CH1,4,4
	.comm	ADC_FB_FRCRST_CH3,4,4
	.comm	ADC_FB_FRCRST_CH2,4,4
	.comm	ADC_FB_FRCRST_CH1,4,4
	.comm	ADC_DCSERVO_DEM_CH3,4,4
	.comm	ADC_DCSERVO_DEM_CH2,4,4
	.comm	ADC_DCSERVO_DEM_CH1,4,4
	.comm	ADC_COM_QUANT,4,4
	.comm	ADC_CAL_ATEST_CH3,4,4
	.comm	ADC_CAL_ATEST_CH2,4,4
	.comm	ADC_CAL_ATEST_CH1,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
