	.file	"737204.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
	.align 8
.LC0:
	.string	"/sys/bus/w1/devices/28-8000000178d0/w1_slave"
.LC1:
	.string	"open device file error"
.LC2:
	.string	"read()"
.LC4:
	.string	"%.3f C\n"
	.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, 176
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	esi, 0
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	open@PLT
	mov	DWORD PTR -164[rbp], eax
	cmp	DWORD PTR -164[rbp], -1
	jne	.L2
	lea	rdi, .LC1[rip]
	call	perror@PLT
	mov	eax, 1
	jmp	.L13
.L2:
	lea	rcx, -144[rbp]
	mov	eax, DWORD PTR -164[rbp]
	mov	edx, 128
	mov	rsi, rcx
	mov	edi, eax
	call	read@PLT
	mov	DWORD PTR -160[rbp], eax
	cmp	DWORD PTR -160[rbp], 0
	je	.L16
	cmp	DWORD PTR -160[rbp], -1
	jne	.L2
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	cmp	eax, 4
	je	.L17
	lea	rdi, .LC2[rip]
	call	perror@PLT
	mov	eax, DWORD PTR -164[rbp]
	mov	edi, eax
	call	close@PLT
	mov	eax, 1
	jmp	.L13
.L17:
	nop
	jmp	.L2
.L16:
	nop
	mov	DWORD PTR -172[rbp], 0
	jmp	.L8
.L12:
	mov	eax, DWORD PTR -172[rbp]
	cdqe
	movzx	eax, BYTE PTR -144[rbp+rax]
	cmp	al, 116
	jne	.L9
	mov	DWORD PTR -168[rbp], 0
	jmp	.L10
.L11:
	mov	eax, DWORD PTR -172[rbp]
	lea	edx, 2[rax]
	mov	eax, DWORD PTR -168[rbp]
	add	eax, edx
	cdqe
	movzx	edx, BYTE PTR -144[rbp+rax]
	mov	eax, DWORD PTR -168[rbp]
	cdqe
	mov	BYTE PTR -149[rbp+rax], dl
	add	DWORD PTR -168[rbp], 1
.L10:
	mov	eax, DWORD PTR -168[rbp]
	cmp	eax, 4
	jbe	.L11
.L9:
	add	DWORD PTR -172[rbp], 1
.L8:
	mov	eax, DWORD PTR -172[rbp]
	cmp	eax, 127
	jbe	.L12
	lea	rax, -149[rbp]
	mov	rdi, rax
	call	atoi@PLT
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, eax
	movss	xmm1, DWORD PTR .LC3[rip]
	divss	xmm0, xmm1
	movss	DWORD PTR -156[rbp], xmm0
	pxor	xmm2, xmm2
	cvtss2sd	xmm2, DWORD PTR -156[rbp]
	movq	rax, xmm2
	movq	xmm0, rax
	lea	rdi, .LC4[rip]
	mov	eax, 1
	call	printf@PLT
	mov	eax, DWORD PTR -164[rbp]
	mov	edi, eax
	call	close@PLT
	mov	eax, 0
.L13:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L14
	call	__stack_chk_fail@PLT
.L14:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.section	.rodata
	.align 4
.LC3:
	.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	"737204.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"/sys/bus/w1/devices/28-8000000178d0/w1_slave\000"
	.align	2
.LC1:
	.ascii	"open device file error\000"
	.align	2
.LC2:
	.ascii	"read()\000"
	.global	__aeabi_i2f
	.global	__aeabi_fdiv
	.global	__aeabi_f2d
	.align	2
.LC3:
	.ascii	"%.3f C\012\000"
	.align	2
.LC4:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 160
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #160
	ldr	r3, .L18
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r1, #0
	ldr	r0, .L18+4
	bl	open
	str	r0, [fp, #-156]
	ldr	r3, [fp, #-156]
	cmn	r3, #1
	bne	.L2
	ldr	r0, .L18+8
	bl	perror
	mov	r3, #1
	b	.L13
.L2:
	sub	r3, fp, #136
	mov	r2, #128
	mov	r1, r3
	ldr	r0, [fp, #-156]
	bl	read
	str	r0, [fp, #-152]
	ldr	r3, [fp, #-152]
	cmp	r3, #0
	beq	.L16
	ldr	r3, [fp, #-152]
	cmn	r3, #1
	bne	.L2
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	cmp	r3, #4
	beq	.L17
	ldr	r0, .L18+12
	bl	perror
	ldr	r0, [fp, #-156]
	bl	close
	mov	r3, #1
	b	.L13
.L17:
	nop
	b	.L2
.L16:
	nop
	mov	r3, #0
	str	r3, [fp, #-164]
	b	.L8
.L12:
	sub	r2, fp, #136
	ldr	r3, [fp, #-164]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #116
	bne	.L9
	mov	r3, #0
	str	r3, [fp, #-160]
	b	.L10
.L11:
	ldr	r3, [fp, #-164]
	add	r2, r3, #2
	ldr	r3, [fp, #-160]
	add	r3, r2, r3
	sub	r2, fp, #4
	add	r3, r2, r3
	ldrb	r1, [r3, #-132]	@ zero_extendqisi2
	sub	r2, fp, #144
	ldr	r3, [fp, #-160]
	add	r3, r2, r3
	mov	r2, r1
	strb	r2, [r3]
	ldr	r3, [fp, #-160]
	add	r3, r3, #1
	str	r3, [fp, #-160]
.L10:
	ldr	r3, [fp, #-160]
	cmp	r3, #4
	bls	.L11
.L9:
	ldr	r3, [fp, #-164]
	add	r3, r3, #1
	str	r3, [fp, #-164]
.L8:
	ldr	r3, [fp, #-164]
	cmp	r3, #127
	bls	.L12
	sub	r3, fp, #144
	mov	r0, r3
	bl	atoi
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_i2f
	mov	r3, r0
	ldr	r1, .L18+16
	mov	r0, r3
	bl	__aeabi_fdiv
	mov	r3, r0
	str	r3, [fp, #-148]	@ float
	ldr	r0, [fp, #-148]	@ float
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L18+20
	bl	printf
	ldr	r0, [fp, #-156]
	bl	close
	mov	r3, #0
.L13:
	ldr	r2, .L18
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L14
	bl	__stack_chk_fail
.L14:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L19:
	.align	2
.L18:
	.word	.LC4
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	1148846080
	.word	.LC3
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
