	.file	"101225.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"sudo modprobe w1-gpio"
.LC1:
	.string	"sudo modprobe w1-therm"
.LC2:
	.string	"r"
	.align 8
.LC3:
	.string	"/sys/bus/w1/devices/28-01144eec7eaa/w1_slave"
.LC4:
	.string	"\n fopen Error!!!\n"
.LC5:
	.string	"\n fread() failed"
.LC7:
	.string	"mosquitto_pub -t temp -m %f"
	.align 8
.LC8:
	.string	"mosquitto_pub -r -t temp_chart -m \"%.2f %.2f %.2f %.2f %.2f %.2f %.2f %.2f %.2f %.2f %.2f %.2f\""
	.text
	.globl	main
	.type	main, @function
main:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 1280
	mov	DWORD PTR -1268[rbp], edi
	mov	QWORD PTR -1280[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -1232[rbp], 0
	mov	QWORD PTR -1216[rbp], 0
	mov	QWORD PTR -1208[rbp], 0
	mov	QWORD PTR -1200[rbp], 0
	mov	QWORD PTR -1192[rbp], 0
	mov	QWORD PTR -1184[rbp], 0
	mov	QWORD PTR -1176[rbp], 0
	lea	rax, -1152[rbp]
	mov	edx, 100
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	lea	rax, -1159[rbp]
	mov	edx, 7
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	lea	rdi, .LC0[rip]
	call	system@PLT
	lea	rdi, .LC1[rip]
	call	system@PLT
.L11:
	lea	rsi, .LC2[rip]
	lea	rdi, .LC3[rip]
	call	fopen@PLT
	mov	QWORD PTR -1232[rbp], rax
	cmp	QWORD PTR -1232[rbp], 0
	jne	.L2
	lea	rdi, .LC4[rip]
	call	puts@PLT
	jmp	.L3
.L2:
	mov	rdx, QWORD PTR -1232[rbp]
	lea	rax, -1152[rbp]
	mov	rcx, rdx
	mov	edx, 74
	mov	esi, 1
	mov	rdi, rax
	call	fread@PLT
	cmp	rax, 74
	je	.L4
	lea	rdi, .LC5[rip]
	call	puts@PLT
	mov	rax, QWORD PTR -1232[rbp]
	mov	rdi, rax
	call	fclose@PLT
	jmp	.L3
.L4:
	mov	rax, QWORD PTR -1232[rbp]
	mov	rdi, rax
	call	fclose@PLT
	movzx	eax, BYTE PTR -1083[rbp]
	mov	BYTE PTR -1159[rbp], al
	movzx	eax, BYTE PTR -1082[rbp]
	mov	BYTE PTR -1158[rbp], al
	movzx	eax, BYTE PTR -1081[rbp]
	mov	BYTE PTR -1157[rbp], al
	movzx	eax, BYTE PTR -1080[rbp]
	mov	BYTE PTR -1156[rbp], al
	movzx	eax, BYTE PTR -1079[rbp]
	mov	BYTE PTR -1155[rbp], al
	movzx	eax, BYTE PTR -1078[rbp]
	mov	BYTE PTR -1154[rbp], al
	lea	rax, -1159[rbp]
	mov	rdi, rax
	call	atof@PLT
	movq	rax, xmm0
	movsd	xmm0, QWORD PTR .LC6[rip]
	movq	xmm1, rax
	divsd	xmm1, xmm0
	pxor	xmm0, xmm0
	cvtsd2ss	xmm0, xmm1
	movss	DWORD PTR -1252[rbp], xmm0
	pxor	xmm2, xmm2
	cvtss2sd	xmm2, DWORD PTR -1252[rbp]
	movq	rdx, xmm2
	lea	rax, -1040[rbp]
	movq	xmm0, rdx
	lea	rsi, .LC7[rip]
	mov	rdi, rax
	mov	eax, 1
	call	sprintf@PLT
	lea	rax, -1040[rbp]
	mov	rdi, rax
	call	system@PLT
	lea	rax, -1240[rbp]
	mov	rdi, rax
	call	time@PLT
	lea	rax, -1240[rbp]
	mov	rdi, rax
	call	localtime@PLT
	mov	QWORD PTR -1224[rbp], rax
	mov	rax, QWORD PTR -1224[rbp]
	mov	eax, DWORD PTR 4[rax]
	mov	DWORD PTR -1248[rbp], eax
	mov	rax, QWORD PTR -1224[rbp]
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -1244[rbp], eax
	cmp	DWORD PTR -1248[rbp], 0
	jne	.L5
	cmp	DWORD PTR -1244[rbp], 2
	jle	.L6
.L5:
	cmp	DWORD PTR -1248[rbp], 15
	jne	.L7
	cmp	DWORD PTR -1244[rbp], 2
	jle	.L6
.L7:
	cmp	DWORD PTR -1248[rbp], 30
	jne	.L8
	cmp	DWORD PTR -1244[rbp], 2
	jle	.L6
.L8:
	cmp	DWORD PTR -1248[rbp], 45
	jne	.L3
	cmp	DWORD PTR -1244[rbp], 2
	jg	.L3
.L6:
	mov	DWORD PTR -1256[rbp], 11
	jmp	.L9
.L10:
	mov	eax, DWORD PTR -1256[rbp]
	sub	eax, 1
	cdqe
	movss	xmm0, DWORD PTR -1216[rbp+rax*4]
	mov	eax, DWORD PTR -1256[rbp]
	cdqe
	movss	DWORD PTR -1216[rbp+rax*4], xmm0
	sub	DWORD PTR -1256[rbp], 1
.L9:
	cmp	DWORD PTR -1256[rbp], 0
	jg	.L10
	movss	xmm0, DWORD PTR -1252[rbp]
	movss	DWORD PTR -1216[rbp], xmm0
	movss	xmm0, DWORD PTR -1172[rbp]
	pxor	xmm3, xmm3
	cvtss2sd	xmm3, xmm0
	movss	xmm0, DWORD PTR -1176[rbp]
	pxor	xmm2, xmm2
	cvtss2sd	xmm2, xmm0
	movss	xmm0, DWORD PTR -1180[rbp]
	pxor	xmm1, xmm1
	cvtss2sd	xmm1, xmm0
	movss	xmm0, DWORD PTR -1184[rbp]
	cvtss2sd	xmm0, xmm0
	movss	xmm4, DWORD PTR -1188[rbp]
	pxor	xmm7, xmm7
	cvtss2sd	xmm7, xmm4
	movss	xmm4, DWORD PTR -1192[rbp]
	pxor	xmm6, xmm6
	cvtss2sd	xmm6, xmm4
	movss	xmm4, DWORD PTR -1196[rbp]
	pxor	xmm5, xmm5
	cvtss2sd	xmm5, xmm4
	movss	xmm4, DWORD PTR -1200[rbp]
	cvtss2sd	xmm4, xmm4
	movss	xmm8, DWORD PTR -1204[rbp]
	pxor	xmm10, xmm10
	cvtss2sd	xmm10, xmm8
	movss	xmm8, DWORD PTR -1208[rbp]
	pxor	xmm9, xmm9
	cvtss2sd	xmm9, xmm8
	movss	xmm8, DWORD PTR -1212[rbp]
	cvtss2sd	xmm8, xmm8
	movss	xmm11, DWORD PTR -1216[rbp]
	pxor	xmm12, xmm12
	cvtss2sd	xmm12, xmm11
	movq	rdx, xmm12
	lea	rax, -1040[rbp]
	lea	rsp, -8[rsp]
	movsd	QWORD PTR [rsp], xmm3
	lea	rsp, -8[rsp]
	movsd	QWORD PTR [rsp], xmm2
	lea	rsp, -8[rsp]
	movsd	QWORD PTR [rsp], xmm1
	lea	rsp, -8[rsp]
	movsd	QWORD PTR [rsp], xmm0
	movapd	xmm3, xmm10
	movapd	xmm2, xmm9
	movapd	xmm1, xmm8
	movq	xmm0, rdx
	lea	rsi, .LC8[rip]
	mov	rdi, rax
	mov	eax, 8
	call	sprintf@PLT
	add	rsp, 32
	lea	rax, -1040[rbp]
	mov	rdi, rax
	call	system@PLT
	add	DWORD PTR -1260[rbp], 1
	mov	edx, DWORD PTR -1260[rbp]
	movsx	rax, edx
	imul	rax, rax, 715827883
	shr	rax, 32
	sar	eax
	mov	esi, edx
	sar	esi, 31
	sub	eax, esi
	mov	ecx, eax
	mov	eax, ecx
	add	eax, eax
	add	eax, ecx
	sal	eax, 2
	sub	edx, eax
	mov	DWORD PTR -1260[rbp], edx
.L3:
	mov	edi, 2
	call	sleep@PLT
	jmp	.L11
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC6:
	.long	0
	.long	1083129856
	.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	"101225.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"sudo modprobe w1-gpio\000"
	.align	2
.LC1:
	.ascii	"sudo modprobe w1-therm\000"
	.align	2
.LC2:
	.ascii	"r\000"
	.align	2
.LC3:
	.ascii	"/sys/bus/w1/devices/28-01144eec7eaa/w1_slave\000"
	.align	2
.LC4:
	.ascii	"\012 fopen Error!!!\012\000"
	.align	2
.LC5:
	.ascii	"\012 fread() failed\000"
	.global	__aeabi_ddiv
	.global	__aeabi_d2f
	.global	__aeabi_f2d
	.align	2
.LC6:
	.ascii	"mosquitto_pub -t temp -m %f\000"
	.align	2
.LC7:
	.ascii	"mosquitto_pub -r -t temp_chart -m \"%.2f %.2f %.2f "
	.ascii	"%.2f %.2f %.2f %.2f %.2f %.2f %.2f %.2f %.2f\"\000"
	.align	2
.LC8:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 1288
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, fp, lr}
	add	fp, sp, #28
	sub	sp, sp, #1376
	str	r0, [fp, #-1248]
	str	r1, [fp, #-1252]
	ldr	r3, .L13
	ldr	r3, [r3]
	str	r3, [fp, #-32]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-1232]
	sub	r3, fp, #1200
	sub	r3, r3, #12
	mov	r2, #48
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #1136
	sub	r3, r3, #12
	sub	r3, r3, #8
	mov	r2, #100
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #1152
	sub	r3, r3, #12
	mov	r2, #7
	mov	r1, #0
	mov	r0, r3
	bl	memset
	ldr	r0, .L13+4
	bl	system
	ldr	r0, .L13+8
	bl	system
.L11:
	ldr	r1, .L13+12
	ldr	r0, .L13+16
	bl	fopen
	str	r0, [fp, #-1232]
	ldr	r3, [fp, #-1232]
	cmp	r3, #0
	bne	.L2
	ldr	r0, .L13+20
	bl	puts
	b	.L3
.L2:
	sub	r0, fp, #1136
	sub	r0, r0, #12
	sub	r0, r0, #8
	ldr	r3, [fp, #-1232]
	mov	r2, #74
	mov	r1, #1
	bl	fread
	mov	r3, r0
	cmp	r3, #74
	beq	.L4
	ldr	r0, .L13+24
	bl	puts
	ldr	r0, [fp, #-1232]
	bl	fclose
	b	.L3
.L4:
	ldr	r0, [fp, #-1232]
	bl	fclose
	ldrb	r3, [fp, #-1087]	@ zero_extendqisi2
	strb	r3, [fp, #-1164]
	ldrb	r3, [fp, #-1086]	@ zero_extendqisi2
	strb	r3, [fp, #-1163]
	ldrb	r3, [fp, #-1085]	@ zero_extendqisi2
	strb	r3, [fp, #-1162]
	ldrb	r3, [fp, #-1084]	@ zero_extendqisi2
	strb	r3, [fp, #-1161]
	ldrb	r3, [fp, #-1083]	@ zero_extendqisi2
	strb	r3, [fp, #-1160]
	ldrb	r3, [fp, #-1082]	@ zero_extendqisi2
	strb	r3, [fp, #-1159]
	sub	r3, fp, #1152
	sub	r3, r3, #12
	mov	r0, r3
	bl	atof
	mov	r2, #0
	ldr	r3, .L13+28
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2f
	mov	r3, r0
	str	r3, [fp, #-1228]	@ float
	ldr	r0, [fp, #-1228]	@ float
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	sub	r0, fp, #1040
	sub	r0, r0, #12
	sub	r0, r0, #4
	ldr	r1, .L13+32
	bl	sprintf
	sub	r3, fp, #1040
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r0, r3
	bl	system
	sub	r3, fp, #1232
	sub	r3, r3, #12
	mov	r0, r3
	bl	time
	sub	r3, fp, #1232
	sub	r3, r3, #12
	mov	r0, r3
	bl	localtime
	str	r0, [fp, #-1224]
	ldr	r3, [fp, #-1224]
	ldr	r3, [r3, #4]
	str	r3, [fp, #-1220]
	ldr	r3, [fp, #-1224]
	ldr	r3, [r3]
	str	r3, [fp, #-1216]
	ldr	r3, [fp, #-1220]
	cmp	r3, #0
	bne	.L5
	ldr	r3, [fp, #-1216]
	cmp	r3, #2
	ble	.L6
.L5:
	ldr	r3, [fp, #-1220]
	cmp	r3, #15
	bne	.L7
	ldr	r3, [fp, #-1216]
	cmp	r3, #2
	ble	.L6
.L7:
	ldr	r3, [fp, #-1220]
	cmp	r3, #30
	bne	.L8
	ldr	r3, [fp, #-1216]
	cmp	r3, #2
	ble	.L6
.L8:
	ldr	r3, [fp, #-1220]
	cmp	r3, #45
	bne	.L3
	ldr	r3, [fp, #-1216]
	cmp	r3, #2
	bgt	.L3
.L6:
	mov	r3, #11
	str	r3, [fp, #-1236]
	b	.L9
.L10:
	ldr	r3, [fp, #-1236]
	sub	r3, r3, #1
	lsl	r3, r3, #2
	sub	r2, fp, #28
	add	r3, r2, r3
	ldr	r2, [r3, #-1184]	@ float
	ldr	r3, [fp, #-1236]
	lsl	r3, r3, #2
	sub	r1, fp, #28
	add	r3, r1, r3
	str	r2, [r3, #-1184]	@ float
	ldr	r3, [fp, #-1236]
	sub	r3, r3, #1
	str	r3, [fp, #-1236]
.L9:
	ldr	r3, [fp, #-1236]
	cmp	r3, #0
	bgt	.L10
	ldr	r3, [fp, #-1228]	@ float
	str	r3, [fp, #-1212]	@ float
	ldr	r3, [fp, #-1212]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	str	r0, [fp, #-1260]
	str	r1, [fp, #-1256]
	ldr	r3, [fp, #-1208]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	str	r0, [fp, #-1268]
	str	r1, [fp, #-1264]
	ldr	r3, [fp, #-1204]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	str	r0, [fp, #-1276]
	str	r1, [fp, #-1272]
	ldr	r3, [fp, #-1200]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	str	r0, [fp, #-1284]
	str	r1, [fp, #-1280]
	ldr	r3, [fp, #-1196]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	str	r0, [fp, #-1292]
	str	r1, [fp, #-1288]
	ldr	r3, [fp, #-1192]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	str	r0, [fp, #-1300]
	str	r1, [fp, #-1296]
	ldr	r3, [fp, #-1188]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	str	r0, [fp, #-1308]
	str	r1, [fp, #-1304]
	ldr	r3, [fp, #-1184]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	str	r0, [fp, #-1316]
	str	r1, [fp, #-1312]
	ldr	r3, [fp, #-1180]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r8, r0
	mov	r9, r1
	ldr	r3, [fp, #-1176]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r6, r0
	mov	r7, r1
	ldr	r3, [fp, #-1172]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r4, r0
	mov	r5, r1
	ldr	r3, [fp, #-1168]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	sub	r0, fp, #1040
	sub	r0, r0, #12
	sub	r0, r0, #4
	str	r2, [sp, #80]
	str	r3, [sp, #84]
	str	r4, [sp, #72]
	str	r5, [sp, #76]
	str	r6, [sp, #64]
	str	r7, [sp, #68]
	str	r8, [sp, #56]
	str	r9, [sp, #60]
	ldr	r3, [fp, #-1316]
	ldr	r4, [fp, #-1312]
	str	r3, [sp, #48]
	str	r4, [sp, #52]
	ldr	r3, [fp, #-1308]
	ldr	r4, [fp, #-1304]
	str	r3, [sp, #40]
	str	r4, [sp, #44]
	ldr	r3, [fp, #-1300]
	ldr	r4, [fp, #-1296]
	str	r3, [sp, #32]
	str	r4, [sp, #36]
	ldr	r3, [fp, #-1292]
	ldr	r4, [fp, #-1288]
	str	r3, [sp, #24]
	str	r4, [sp, #28]
	ldr	r3, [fp, #-1284]
	ldr	r4, [fp, #-1280]
	str	r3, [sp, #16]
	str	r4, [sp, #20]
	ldr	r3, [fp, #-1276]
	ldr	r4, [fp, #-1272]
	str	r3, [sp, #8]
	str	r4, [sp, #12]
	ldr	r3, [fp, #-1268]
	ldr	r4, [fp, #-1264]
	stm	sp, {r3-r4}
	ldr	r2, [fp, #-1260]
	ldr	r3, [fp, #-1256]
	ldr	r1, .L13+36
	bl	sprintf
	sub	r3, fp, #1040
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r0, r3
	bl	system
	ldr	r3, [fp, #-1240]
	add	r3, r3, #1
	str	r3, [fp, #-1240]
	ldr	r2, [fp, #-1240]
	ldr	r3, .L13+40
	smull	r1, r3, r2, r3
	asr	r1, r3, #1
	asr	r3, r2, #31
	sub	r1, r1, r3
	mov	r3, r1
	lsl	r3, r3, #1
	add	r3, r3, r1
	lsl	r3, r3, #2
	sub	r3, r2, r3
	str	r3, [fp, #-1240]
.L3:
	mov	r0, #2
	bl	sleep
	b	.L11
.L14:
	.align	2
.L13:
	.word	.LC8
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	1083129856
	.word	.LC6
	.word	.LC7
	.word	715827883
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
