	.file	"extr_rtc_touchpad.c_touch_pad_set_voltage.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	touch_pad_set_voltage
	.type	touch_pad_set_voltage, @function
touch_pad_set_voltage:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	xor	eax, eax
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rbx, rdx
	call	RTC_TOUCH_ENTER_CRITICAL@PLT
	cmp	QWORD PTR TOUCH_HVOLT_KEEP[rip], r12
	jge	.L2
	mov	QWORD PTR RTCCNTL[rip+16], r12
.L2:
	cmp	QWORD PTR TOUCH_LVOLT_KEEP[rip], rbp
	jge	.L3
	mov	QWORD PTR RTCCNTL[rip+8], rbp
.L3:
	cmp	QWORD PTR TOUCH_HVOLT_ATTEN_KEEP[rip], rbx
	jge	.L4
	mov	QWORD PTR RTCCNTL[rip], rbx
.L4:
	xor	eax, eax
	call	RTC_TOUCH_EXIT_CRITICAL@PLT
	pop	rbx
	.cfi_def_cfa_offset 24
	mov	eax, DWORD PTR ESP_OK[rip]
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	touch_pad_set_voltage, .-touch_pad_set_voltage
	.comm	TOUCH_LVOLT_KEEP,8,8
	.comm	TOUCH_HVOLT_KEEP,8,8
	.comm	TOUCH_HVOLT_ATTEN_KEEP,8,8
	.comm	RTCCNTL,24,16
	.comm	ESP_OK,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_rtc_touchpad.c_touch_pad_set_voltage.c"
	.text
	.align	2
	.global	touch_pad_set_voltage
	.syntax unified
	.arm
	.fpu softvfp
	.type	touch_pad_set_voltage, %function
touch_pad_set_voltage:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r6, r0
	mov	r5, r1
	mov	r4, r2
	bl	RTC_TOUCH_ENTER_CRITICAL
	ldr	r3, .L7
	ldr	r3, [r3]
	cmp	r3, r6
	ldrlt	r3, .L7+4
	strlt	r6, [r3, #8]
	ldr	r3, .L7+8
	ldr	r3, [r3]
	cmp	r3, r5
	ldrlt	r3, .L7+4
	strlt	r5, [r3, #4]
	ldr	r3, .L7+12
	ldr	r3, [r3]
	cmp	r3, r4
	ldrlt	r3, .L7+4
	strlt	r4, [r3]
	bl	RTC_TOUCH_EXIT_CRITICAL
	ldr	r3, .L7+16
	ldr	r0, [r3]
	pop	{r4, r5, r6, pc}
.L8:
	.align	2
.L7:
	.word	TOUCH_HVOLT_KEEP
	.word	RTCCNTL
	.word	TOUCH_LVOLT_KEEP
	.word	TOUCH_HVOLT_ATTEN_KEEP
	.word	ESP_OK
	.size	touch_pad_set_voltage, .-touch_pad_set_voltage
	.comm	TOUCH_LVOLT_KEEP,4,4
	.comm	TOUCH_HVOLT_KEEP,4,4
	.comm	TOUCH_HVOLT_ATTEN_KEEP,4,4
	.comm	RTCCNTL,12,4
	.comm	ESP_OK,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
