	.file	"726058.c"
	.intel_syntax noprefix
	.text
	.globl	temp_global
	.bss
	.align 4
	.type	temp_global, @object
	.size	temp_global, 4
temp_global:
	.zero	4
	.globl	temp_global_lock_flag
	.align 4
	.type	temp_global_lock_flag, @object
	.size	temp_global_lock_flag, 4
temp_global_lock_flag:
	.zero	4
	.text
	.globl	LOCK_temp_flag
	.type	LOCK_temp_flag, @function
LOCK_temp_flag:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	DWORD PTR temp_global_lock_flag[rip], 0
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	LOCK_temp_flag, .-LOCK_temp_flag
	.globl	UNLOCK_temp_flag
	.type	UNLOCK_temp_flag, @function
UNLOCK_temp_flag:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	DWORD PTR temp_global_lock_flag[rip], 1
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	UNLOCK_temp_flag, .-UNLOCK_temp_flag
	.section	.rodata
.LC0:
	.string	"28-"
	.align 8
.LC1:
	.string	"Couldn't open the w1 devices directory"
.LC2:
	.string	"%s/%s/w1_slave"
.LC3:
	.string	"Couldn't open the w1 device."
.LC4:
	.string	"t="
	.text
	.globl	temp_thread_main
	.type	temp_thread_main, @function
temp_thread_main:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 496
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	movabs	rax, 8319663842577183535
	movabs	rdx, 7599372902197196591
	mov	QWORD PTR -432[rbp], rax
	mov	QWORD PTR -424[rbp], rdx
	mov	DWORD PTR -416[rbp], 7562595
	lea	rax, -432[rbp]
	mov	rdi, rax
	call	opendir@PLT
	mov	QWORD PTR -480[rbp], rax
	cmp	QWORD PTR -480[rbp], 0
	je	.L4
	jmp	.L5
.L6:
	mov	rax, QWORD PTR -472[rbp]
	movzx	eax, BYTE PTR 18[rax]
	cmp	al, 10
	jne	.L5
	mov	rax, QWORD PTR -472[rbp]
	add	rax, 19
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	call	strstr@PLT
	test	rax, rax
	je	.L5
	mov	rax, QWORD PTR -472[rbp]
	lea	rdx, 19[rax]
	lea	rax, -448[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
.L5:
	mov	rax, QWORD PTR -480[rbp]
	mov	rdi, rax
	call	readdir@PLT
	mov	QWORD PTR -472[rbp], rax
	cmp	QWORD PTR -472[rbp], 0
	jne	.L6
	mov	rax, QWORD PTR -480[rbp]
	mov	rdi, rax
	call	closedir@PLT
	jmp	.L7
.L4:
	lea	rdi, .LC1[rip]
	call	perror@PLT
.L7:
	lea	rcx, -448[rbp]
	lea	rdx, -432[rbp]
	lea	rax, -400[rbp]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
.L11:
	lea	rax, -400[rbp]
	mov	esi, 0
	mov	rdi, rax
	mov	eax, 0
	call	open@PLT
	mov	DWORD PTR -488[rbp], eax
	cmp	DWORD PTR -488[rbp], -1
	jne	.L9
	lea	rdi, .LC3[rip]
	call	perror@PLT
	jmp	.L9
.L10:
	lea	rax, -272[rbp]
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	call	strstr@PLT
	lea	rcx, 2[rax]
	lea	rax, -454[rbp]
	mov	edx, 5
	mov	rsi, rcx
	mov	rdi, rax
	call	strncpy@PLT
	lea	rax, -454[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	strtof@PLT
	movd	eax, xmm0
	mov	DWORD PTR -484[rbp], eax
	call	LOCK_temp_flag
	movss	xmm0, DWORD PTR -484[rbp]
	movss	xmm1, DWORD PTR .LC5[rip]
	divss	xmm0, xmm1
	movss	DWORD PTR temp_global[rip], xmm0
	call	UNLOCK_temp_flag
.L9:
	lea	rcx, -272[rbp]
	mov	eax, DWORD PTR -488[rbp]
	mov	edx, 256
	mov	rsi, rcx
	mov	edi, eax
	call	read@PLT
	mov	QWORD PTR -464[rbp], rax
	cmp	QWORD PTR -464[rbp], 0
	jg	.L10
	mov	eax, DWORD PTR -488[rbp]
	mov	edi, eax
	call	close@PLT
	jmp	.L11
	.cfi_endproc
.LFE8:
	.size	temp_thread_main, .-temp_thread_main
	.section	.rodata
	.align 4
.LC5:
	.long	1148846080
	.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	"726058.c"
	.text
	.global	temp_global
	.bss
	.align	2
	.type	temp_global, %object
	.size	temp_global, 4
temp_global:
	.space	4
	.global	temp_global_lock_flag
	.align	2
	.type	temp_global_lock_flag, %object
	.size	temp_global_lock_flag, 4
temp_global_lock_flag:
	.space	4
	.text
	.align	2
	.global	LOCK_temp_flag
	.syntax unified
	.arm
	.fpu softvfp
	.type	LOCK_temp_flag, %function
LOCK_temp_flag:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	ldr	r3, .L2
	mov	r2, #0
	str	r2, [r3]
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L3:
	.align	2
.L2:
	.word	temp_global_lock_flag
	.size	LOCK_temp_flag, .-LOCK_temp_flag
	.align	2
	.global	UNLOCK_temp_flag
	.syntax unified
	.arm
	.fpu softvfp
	.type	UNLOCK_temp_flag, %function
UNLOCK_temp_flag:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	ldr	r3, .L5
	mov	r2, #1
	str	r2, [r3]
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L6:
	.align	2
.L5:
	.word	temp_global_lock_flag
	.size	UNLOCK_temp_flag, .-UNLOCK_temp_flag
	.section	.rodata
	.align	2
.LC1:
	.ascii	"28-\000"
	.align	2
.LC2:
	.ascii	"Couldn't open the w1 devices directory\000"
	.align	2
.LC3:
	.ascii	"%s/%s/w1_slave\000"
	.align	2
.LC4:
	.ascii	"Couldn't open the w1 device.\000"
	.align	2
.LC5:
	.ascii	"t=\000"
	.global	__aeabi_fdiv
	.align	2
.LC0:
	.ascii	"/sys/bus/w1/devices\000"
	.align	2
.LC6:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	temp_thread_main
	.syntax unified
	.arm
	.fpu softvfp
	.type	temp_thread_main, %function
temp_thread_main:
	@ args = 0, pretend = 0, frame = 456
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #456
	ldr	r3, .L17
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, .L17+4
	sub	ip, fp, #412
	mov	lr, r3
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldr	r3, [lr]
	str	r3, [ip]
	sub	r3, fp, #412
	mov	r0, r3
	bl	opendir
	str	r0, [fp, #-456]
	ldr	r3, [fp, #-456]
	cmp	r3, #0
	beq	.L8
	b	.L9
.L10:
	ldr	r3, [fp, #-452]
	ldrb	r3, [r3, #10]	@ zero_extendqisi2
	cmp	r3, #10
	bne	.L9
	ldr	r3, [fp, #-452]
	add	r3, r3, #11
	ldr	r1, .L17+8
	mov	r0, r3
	bl	strstr
	mov	r3, r0
	cmp	r3, #0
	beq	.L9
	ldr	r3, [fp, #-452]
	add	r2, r3, #11
	sub	r3, fp, #428
	mov	r1, r2
	mov	r0, r3
	bl	strcpy
.L9:
	ldr	r0, [fp, #-456]
	bl	readdir
	str	r0, [fp, #-452]
	ldr	r3, [fp, #-452]
	cmp	r3, #0
	bne	.L10
	ldr	r0, [fp, #-456]
	bl	closedir
	b	.L11
.L8:
	ldr	r0, .L17+12
	bl	perror
.L11:
	sub	r3, fp, #428
	sub	r2, fp, #412
	sub	r0, fp, #392
	ldr	r1, .L17+16
	bl	sprintf
.L15:
	sub	r3, fp, #392
	mov	r1, #0
	mov	r0, r3
	bl	open
	str	r0, [fp, #-448]
	ldr	r3, [fp, #-448]
	cmn	r3, #1
	bne	.L13
	ldr	r0, .L17+20
	bl	perror
	b	.L13
.L14:
	sub	r3, fp, #264
	ldr	r1, .L17+24
	mov	r0, r3
	bl	strstr
	mov	r3, r0
	add	r1, r3, #2
	sub	r3, fp, #436
	mov	r2, #5
	mov	r0, r3
	bl	strncpy
	sub	r3, fp, #436
	mov	r1, #0
	mov	r0, r3
	bl	strtof
	str	r0, [fp, #-440]	@ float
	bl	LOCK_temp_flag
	ldr	r1, .L17+28
	ldr	r0, [fp, #-440]	@ float
	bl	__aeabi_fdiv
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L17+32
	str	r2, [r3]	@ float
	bl	UNLOCK_temp_flag
.L13:
	sub	r3, fp, #264
	mov	r2, #256
	mov	r1, r3
	ldr	r0, [fp, #-448]
	bl	read
	str	r0, [fp, #-444]
	ldr	r3, [fp, #-444]
	cmp	r3, #0
	bgt	.L14
	ldr	r0, [fp, #-448]
	bl	close
	b	.L15
.L18:
	.align	2
.L17:
	.word	.LC6
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	1148846080
	.word	temp_global
	.size	temp_thread_main, .-temp_thread_main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
