	.file	"11076585.c"
	.intel_syntax noprefix
	.text
	.globl	adc_samples
	.bss
	.align 16
	.type	adc_samples, @object
	.size	adc_samples, 16
adc_samples:
	.zero	16
	.local	buffers
	.comm	buffers,64,32
	.text
	.globl	adc_buf_channel
	.type	adc_buf_channel, @function
adc_buf_channel:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	eax, edi
	mov	QWORD PTR -16[rbp], rsi
	mov	BYTE PTR -4[rbp], al
	movzx	eax, BYTE PTR -4[rbp]
	cdqe
	lea	rcx, 0[0+rax*8]
	lea	rdx, buffers[rip]
	mov	rax, QWORD PTR -16[rbp]
	mov	QWORD PTR [rcx+rdx], rax
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	adc_buf_channel, .-adc_buf_channel
	.globl	adc_init
	.type	adc_init, @function
adc_init:
.LFB1:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	eax, 98
	mov	BYTE PTR [rax], 0
	mov	eax, 97
	mov	BYTE PTR [rax], 0
	mov	eax, 39
	mov	BYTE PTR [rax], 64
	mov	eax, 40
	movzx	eax, BYTE PTR [rax]
	mov	edx, 40
	or	eax, -128
	mov	BYTE PTR [rdx], al
	mov	eax, 38
	mov	BYTE PTR [rax], -49
	mov	BYTE PTR -1[rbp], 0
	jmp	.L3
.L4:
	movzx	eax, BYTE PTR -1[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, buffers[rip]
	mov	QWORD PTR [rdx+rax], 0
	movzx	eax, BYTE PTR -1[rbp]
	add	eax, 1
	mov	BYTE PTR -1[rbp], al
.L3:
	cmp	BYTE PTR -1[rbp], 7
	jbe	.L4
	nop
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	adc_init, .-adc_init
	.globl	__vector_21
	.type	__vector_21, @function
__vector_21:
.LFB2:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	eax, 39
	movzx	eax, BYTE PTR [rax]
	and	eax, 7
	mov	BYTE PTR -12[rbp], al
	movzx	eax, BYTE PTR -12[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, buffers[rip]
	mov	rax, QWORD PTR [rdx+rax]
	mov	QWORD PTR -8[rbp], rax
	mov	eax, 36
	movzx	eax, WORD PTR [rax]
	mov	WORD PTR -10[rbp], ax
	movzx	eax, BYTE PTR -12[rbp]
	cdqe
	lea	rcx, [rax+rax]
	lea	rdx, adc_samples[rip]
	movzx	eax, WORD PTR -10[rbp]
	mov	WORD PTR [rcx+rdx], ax
	cmp	QWORD PTR -8[rbp], 0
	je	.L6
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR 66[rax]
	add	eax, 1
	mov	BYTE PTR -11[rbp], al
	cmp	BYTE PTR -11[rbp], 31
	jbe	.L7
	mov	BYTE PTR -11[rbp], 0
.L7:
	mov	rax, QWORD PTR -8[rbp]
	movzx	ecx, WORD PTR [rax]
	movzx	edx, BYTE PTR -11[rbp]
	mov	rax, QWORD PTR -8[rbp]
	movsx	rdx, edx
	movzx	eax, WORD PTR 2[rax+rdx*2]
	sub	ecx, eax
	mov	edx, ecx
	mov	rax, QWORD PTR -8[rbp]
	mov	WORD PTR [rax], dx
	movzx	edx, BYTE PTR -11[rbp]
	mov	rax, QWORD PTR -8[rbp]
	movsx	rdx, edx
	movzx	ecx, WORD PTR -10[rbp]
	mov	WORD PTR 2[rax+rdx*2], cx
	mov	rax, QWORD PTR -8[rbp]
	movzx	edx, WORD PTR [rax]
	movzx	eax, WORD PTR -10[rbp]
	add	edx, eax
	mov	rax, QWORD PTR -8[rbp]
	mov	WORD PTR [rax], dx
	mov	rax, QWORD PTR -8[rbp]
	movzx	edx, BYTE PTR -11[rbp]
	mov	BYTE PTR 66[rax], dl
.L6:
	movzx	eax, BYTE PTR -12[rbp]
	add	eax, 1
	mov	BYTE PTR -12[rbp], al
	cmp	BYTE PTR -12[rbp], 7
	jbe	.L8
	mov	BYTE PTR -12[rbp], 0
.L8:
	mov	edx, 39
	movzx	eax, BYTE PTR -12[rbp]
	or	eax, 64
	mov	BYTE PTR [rdx], al
	mov	eax, 38
	movzx	eax, BYTE PTR [rax]
	mov	edx, 38
	or	eax, 64
	mov	BYTE PTR [rdx], al
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	__vector_21, .-__vector_21
	.ident	"GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.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, 6
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"11076585.c"
	.text
	.comm	adc_samples,16,4
	.local	buffers
	.comm	buffers,32,4
	.align	2
	.global	adc_buf_channel
	.syntax unified
	.arm
	.fpu softvfp
	.type	adc_buf_channel, %function
adc_buf_channel:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	mov	r3, r0
	str	r1, [fp, #-12]
	strb	r3, [fp, #-5]
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	ldr	r1, .L2
	ldr	r2, [fp, #-12]
	str	r2, [r1, r3, lsl #2]
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L3:
	.align	2
.L2:
	.word	buffers
	.size	adc_buf_channel, .-adc_buf_channel
	.align	2
	.global	adc_init
	.syntax unified
	.arm
	.fpu softvfp
	.type	adc_init, %function
adc_init:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	mov	r3, #98
	mov	r2, #0
	strb	r2, [r3]
	mov	r3, #97
	mov	r2, #0
	strb	r2, [r3]
	mov	r3, #39
	mov	r2, #64
	strb	r2, [r3]
	mov	r3, #40
	ldrb	r3, [r3]
	and	r3, r3, #255
	mov	r2, #40
	mvn	r3, r3, lsl #25
	mvn	r3, r3, lsr #25
	and	r3, r3, #255
	strb	r3, [r2]
	mov	r3, #38
	mvn	r2, #48
	strb	r2, [r3]
	mov	r3, #0
	strb	r3, [fp, #-5]
	b	.L5
.L6:
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	ldr	r2, .L7
	mov	r1, #0
	str	r1, [r2, r3, lsl #2]
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	add	r3, r3, #1
	strb	r3, [fp, #-5]
.L5:
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #7
	bls	.L6
	nop
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L8:
	.align	2
.L7:
	.word	buffers
	.size	adc_init, .-adc_init
	.align	2
	.global	__vector_21
	.syntax unified
	.arm
	.fpu softvfp
	.type	__vector_21, %function
__vector_21:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	mov	r3, #39
	ldrb	r3, [r3]
	and	r3, r3, #255
	and	r3, r3, #7
	strb	r3, [fp, #-12]
	ldrb	r3, [fp, #-12]	@ zero_extendqisi2
	ldr	r2, .L13
	ldr	r3, [r2, r3, lsl #2]
	str	r3, [fp, #-8]
	mov	r3, #36
	ldrh	r3, [r3]	@ movhi
	strh	r3, [fp, #-10]	@ movhi
	ldrb	r3, [fp, #-12]	@ zero_extendqisi2
	ldr	r2, .L13+4
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r2, [fp, #-10]	@ movhi
	strh	r2, [r3]	@ movhi
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	beq	.L10
	ldr	r3, [fp, #-8]
	ldrb	r3, [r3, #66]	@ zero_extendqisi2
	add	r3, r3, #1
	strb	r3, [fp, #-11]
	ldrb	r3, [fp, #-11]	@ zero_extendqisi2
	cmp	r3, #31
	bls	.L11
	mov	r3, #0
	strb	r3, [fp, #-11]
.L11:
	ldr	r3, [fp, #-8]
	ldrh	r2, [r3]
	ldrb	r3, [fp, #-11]	@ zero_extendqisi2
	ldr	r1, [fp, #-8]
	lsl	r3, r3, #1
	add	r3, r1, r3
	add	r3, r3, #2
	ldrh	r3, [r3]
	sub	r3, r2, r3
	lsl	r3, r3, #16
	lsr	r2, r3, #16
	ldr	r3, [fp, #-8]
	strh	r2, [r3]	@ movhi
	ldrb	r3, [fp, #-11]	@ zero_extendqisi2
	ldr	r2, [fp, #-8]
	lsl	r3, r3, #1
	add	r3, r2, r3
	add	r3, r3, #2
	ldrh	r2, [fp, #-10]	@ movhi
	strh	r2, [r3]	@ movhi
	ldr	r3, [fp, #-8]
	ldrh	r2, [r3]
	ldrh	r3, [fp, #-10]	@ movhi
	add	r3, r2, r3
	lsl	r3, r3, #16
	lsr	r2, r3, #16
	ldr	r3, [fp, #-8]
	strh	r2, [r3]	@ movhi
	ldr	r3, [fp, #-8]
	ldrb	r2, [fp, #-11]
	strb	r2, [r3, #66]
.L10:
	ldrb	r3, [fp, #-12]	@ zero_extendqisi2
	add	r3, r3, #1
	strb	r3, [fp, #-12]
	ldrb	r3, [fp, #-12]	@ zero_extendqisi2
	cmp	r3, #7
	bls	.L12
	mov	r3, #0
	strb	r3, [fp, #-12]
.L12:
	mov	r2, #39
	ldrb	r3, [fp, #-12]
	orr	r3, r3, #64
	and	r3, r3, #255
	strb	r3, [r2]
	mov	r3, #38
	ldrb	r3, [r3]
	and	r3, r3, #255
	mov	r2, #38
	orr	r3, r3, #64
	and	r3, r3, #255
	strb	r3, [r2]
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L14:
	.align	2
.L13:
	.word	buffers
	.word	adc_samples
	.size	__vector_21, .-__vector_21
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
