	.file	"extr_therm_windtunnel.c_restore_regs.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	restore_regs, @function
restore_regs:
.LFB0:
	.cfi_startproc
	endbr64
	sub	rsp, 8
	.cfi_def_cfa_offset 16
	mov	rdi, QWORD PTR x[rip+24]
	lea	rsi, dev_attr_cpu_temperature[rip]
	call	device_remove_file@PLT
	mov	rdi, QWORD PTR x[rip+24]
	lea	rsi, dev_attr_case_temperature[rip]
	call	device_remove_file@PLT
	mov	edx, DWORD PTR x[rip+20]
	mov	edi, DWORD PTR x[rip+4]
	mov	ecx, 1
	mov	esi, 1
	call	write_reg@PLT
	mov	edx, DWORD PTR x[rip+16]
	mov	edi, DWORD PTR x[rip+4]
	mov	ecx, 1
	mov	esi, 32
	call	write_reg@PLT
	mov	edx, DWORD PTR x[rip+12]
	mov	edi, DWORD PTR x[rip+4]
	mov	ecx, 1
	mov	esi, 35
	call	write_reg@PLT
	mov	edx, DWORD PTR x[rip+8]
	mov	edi, DWORD PTR x[rip+4]
	mov	ecx, 1
	mov	esi, 37
	call	write_reg@PLT
	mov	edx, DWORD PTR x[rip]
	mov	edi, DWORD PTR x[rip+4]
	xor	esi, esi
	mov	ecx, 1
	add	rsp, 8
	.cfi_def_cfa_offset 8
	jmp	write_reg@PLT
	.cfi_endproc
.LFE0:
	.size	restore_regs, .-restore_regs
	.comm	x,32,32
	.comm	dev_attr_cpu_temperature,4,4
	.comm	dev_attr_case_temperature,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_therm_windtunnel.c_restore_regs.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	restore_regs, %function
restore_regs:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, lr}
	ldr	r4, .L4
	ldr	r1, .L4+4
	ldr	r0, [r4, #24]
	bl	device_remove_file
	ldr	r0, [r4, #24]
	ldr	r1, .L4+8
	bl	device_remove_file
	mov	r3, #1
	ldr	r2, [r4, #20]
	mov	r1, r3
	ldr	r0, [r4, #4]
	bl	write_reg
	ldr	r2, [r4, #16]
	mov	r3, #1
	mov	r1, #32
	ldr	r0, [r4, #4]
	bl	write_reg
	ldr	r2, [r4, #12]
	mov	r3, #1
	mov	r1, #35
	ldr	r0, [r4, #4]
	bl	write_reg
	ldmib	r4, {r0, r2}
	mov	r3, #1
	mov	r1, #37
	bl	write_reg
	ldr	r2, [r4]
	ldr	r0, [r4, #4]
	mov	r3, #1
	pop	{r4, lr}
	mov	r1, #0
	b	write_reg
.L5:
	.align	2
.L4:
	.word	x
	.word	dev_attr_cpu_temperature
	.word	dev_attr_case_temperature
	.size	restore_regs, .-restore_regs
	.comm	x,28,4
	.comm	dev_attr_cpu_temperature,4,4
	.comm	dev_attr_case_temperature,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
