	.file	"extr_app_trace_to_host_example_main.c_adc1_sample_and_show.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"Sample:%d, Value:%d"
	.text
	.p2align 4
	.type	adc1_sample_and_show, @function
adc1_sample_and_show:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	xor	eax, eax
	lea	r13, .LC0[rip]
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	xor	r12d, r12d
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	ebp, edi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	call	esp_log_timestamp@PLT
	mov	ebx, eax
	.p2align 4,,10
	.p2align 3
.L2:
	mov	edi, DWORD PTR ADC1_TEST_CHANNEL[rip]
	add	r12d, 1
	call	adc1_get_raw@PLT
	mov	edi, DWORD PTR TAG[rip]
	mov	edx, r12d
	mov	rsi, r13
	mov	ecx, eax
	call	ESP_LOGI@PLT
	xor	eax, eax
	call	esp_log_timestamp@PLT
	sub	eax, ebx
	cmp	eax, ebp
	jl	.L2
	add	rsp, 8
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	adc1_sample_and_show, .-adc1_sample_and_show
	.comm	TAG,4,4
	.comm	ADC1_TEST_CHANNEL,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_app_trace_to_host_example_main.c_adc1_sample_and_show.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Sample:%d, Value:%d\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	adc1_sample_and_show, %function
adc1_sample_and_show:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r6, r0
	bl	esp_log_timestamp
	mov	r4, #0
	mov	r5, r0
	ldr	r9, .L6
	ldr	r8, .L6+4
	ldr	r7, .L6+8
.L2:
	ldr	r0, [r8]
	ldr	r10, [r9]
	bl	adc1_get_raw
	add	r4, r4, #1
	mov	r3, r0
	mov	r2, r4
	mov	r1, r7
	mov	r0, r10
	bl	ESP_LOGI
	bl	esp_log_timestamp
	sub	r0, r0, r5
	cmp	r0, r6
	blt	.L2
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L7:
	.align	2
.L6:
	.word	TAG
	.word	ADC1_TEST_CHANNEL
	.word	.LC0
	.size	adc1_sample_and_show, .-adc1_sample_and_show
	.comm	TAG,4,4
	.comm	ADC1_TEST_CHANNEL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
