	.file	"53687.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"/dev/i2c-1"
	.align 8
.LC1:
	.string	"Failed to open I2C interface %s Error: %s\n"
	.align 8
.LC2:
	.string	"Failed to select I2C slave device! Error: %s\n"
	.align 8
.LC3:
	.string	"Failed to enable SMBus packet error checking, error: %s\n"
	.align 8
.LC4:
	.string	"Failed to perform I2C_SMBUS transaction, error: %s\n"
.LC8:
	.string	"%04.2f\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, 80
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	esi, 2
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	open@PLT
	mov	DWORD PTR -76[rbp], eax
	cmp	DWORD PTR -76[rbp], 0
	jns	.L2
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rdx
	lea	rdx, .LC0[rip]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, -1
	jmp	.L7
.L2:
	mov	BYTE PTR -78[rbp], 90
	movzx	edx, BYTE PTR -78[rbp]
	mov	eax, DWORD PTR -76[rbp]
	mov	esi, 1795
	mov	edi, eax
	mov	eax, 0
	call	ioctl@PLT
	test	eax, eax
	jns	.L4
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, -1
	jmp	.L7
.L4:
	mov	eax, DWORD PTR -76[rbp]
	mov	edx, 1
	mov	esi, 1800
	mov	edi, eax
	mov	eax, 0
	call	ioctl@PLT
	test	eax, eax
	jns	.L5
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, -1
	jmp	.L7
.L5:
	mov	BYTE PTR -77[rbp], 6
	mov	BYTE PTR -64[rbp], 1
	movzx	eax, BYTE PTR -77[rbp]
	mov	BYTE PTR -63[rbp], al
	mov	DWORD PTR -60[rbp], 3
	lea	rax, -48[rbp]
	mov	QWORD PTR -56[rbp], rax
	lea	rdx, -64[rbp]
	mov	eax, DWORD PTR -76[rbp]
	mov	esi, 1824
	mov	edi, eax
	mov	eax, 0
	call	ioctl@PLT
	test	eax, eax
	jns	.L6
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, -1
	jmp	.L7
.L6:
	movzx	eax, WORD PTR -48[rbp]
	movzx	eax, ax
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, eax
	movsd	QWORD PTR -72[rbp], xmm0
	movsd	xmm1, QWORD PTR -72[rbp]
	movsd	xmm0, QWORD PTR .LC5[rip]
	mulsd	xmm0, xmm1
	movsd	xmm1, QWORD PTR .LC6[rip]
	subsd	xmm0, xmm1
	movsd	QWORD PTR -72[rbp], xmm0
	movsd	xmm0, QWORD PTR -72[rbp]
	movsd	xmm1, QWORD PTR .LC7[rip]
	subsd	xmm0, xmm1
	movsd	QWORD PTR -72[rbp], xmm0
	mov	rax, QWORD PTR -72[rbp]
	movq	xmm0, rax
	lea	rdi, .LC8[rip]
	mov	eax, 1
	call	printf@PLT
	mov	eax, 0
.L7:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L8
	call	__stack_chk_fail@PLT
.L8:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC5:
	.long	1202590843
	.long	1066695393
	.align 8
.LC6:
	.long	1202590843
	.long	1065646817
	.align 8
.LC7:
	.long	1717986918
	.long	1081152102
	.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	"53687.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"/dev/i2c-1\000"
	.align	2
.LC1:
	.ascii	"Failed to open I2C interface %s Error: %s\012\000"
	.align	2
.LC2:
	.ascii	"Failed to select I2C slave device! Error: %s\012\000"
	.align	2
.LC3:
	.ascii	"Failed to enable SMBus packet error checking, error"
	.ascii	": %s\012\000"
	.align	2
.LC4:
	.ascii	"Failed to perform I2C_SMBUS transaction, error: %s\012"
	.ascii	"\000"
	.global	__aeabi_ui2d
	.global	__aeabi_dmul
	.global	__aeabi_dsub
	.align	2
.LC5:
	.ascii	"%04.2f\012\000"
	.align	2
.LC6:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 72
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #76
	ldr	r3, .L9
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r1, #2
	ldr	r0, .L9+4
	bl	open
	str	r0, [fp, #-80]
	ldr	r3, [fp, #-80]
	cmp	r3, #0
	bge	.L2
	ldr	r3, .L9+8
	ldr	r4, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	ldr	r2, .L9+4
	ldr	r1, .L9+12
	mov	r0, r4
	bl	fprintf
	mvn	r3, #0
	b	.L7
.L2:
	mov	r3, #90
	strb	r3, [fp, #-82]
	ldrb	r3, [fp, #-82]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r1, .L9+16
	ldr	r0, [fp, #-80]
	bl	ioctl
	mov	r3, r0
	cmp	r3, #0
	bge	.L4
	ldr	r3, .L9+8
	ldr	r4, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	mov	r2, r3
	ldr	r1, .L9+20
	mov	r0, r4
	bl	fprintf
	mvn	r3, #0
	b	.L7
.L4:
	mov	r2, #1
	ldr	r1, .L9+24
	ldr	r0, [fp, #-80]
	bl	ioctl
	mov	r3, r0
	cmp	r3, #0
	bge	.L5
	ldr	r3, .L9+8
	ldr	r4, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	mov	r2, r3
	ldr	r1, .L9+28
	mov	r0, r4
	bl	fprintf
	mvn	r3, #0
	b	.L7
.L5:
	mov	r3, #6
	strb	r3, [fp, #-81]
	mov	r3, #1
	strb	r3, [fp, #-64]
	ldrb	r3, [fp, #-81]
	strb	r3, [fp, #-63]
	mov	r3, #3
	str	r3, [fp, #-60]
	sub	r3, fp, #52
	str	r3, [fp, #-56]
	sub	r3, fp, #64
	mov	r2, r3
	mov	r1, #1824
	ldr	r0, [fp, #-80]
	bl	ioctl
	mov	r3, r0
	cmp	r3, #0
	bge	.L6
	ldr	r3, .L9+8
	ldr	r4, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	mov	r2, r3
	ldr	r1, .L9+32
	mov	r0, r4
	bl	fprintf
	mvn	r3, #0
	b	.L7
.L6:
	ldrh	r3, [fp, #-52]
	mov	r0, r3
	bl	__aeabi_ui2d
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-76]
	str	r3, [fp, #-72]
	ldr	r2, .L9+36
	ldr	r3, .L9+40
	sub	r1, fp, #76
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r2, .L9+36
	ldr	r3, .L9+44
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-76]
	str	r3, [fp, #-72]
	ldr	r2, .L9+48
	ldr	r3, .L9+52
	sub	r1, fp, #76
	ldmia	r1, {r0-r1}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-76]
	str	r3, [fp, #-72]
	sub	r3, fp, #76
	ldmia	r3, {r2-r3}
	ldr	r0, .L9+56
	bl	printf
	mov	r3, #0
.L7:
	ldr	r2, .L9
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L8
	bl	__stack_chk_fail
.L8:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L10:
	.align	2
.L9:
	.word	.LC6
	.word	.LC0
	.word	stderr
	.word	.LC1
	.word	1795
	.word	.LC2
	.word	1800
	.word	.LC3
	.word	.LC4
	.word	1202590843
	.word	1066695393
	.word	1065646817
	.word	1717986918
	.word	1081152102
	.word	.LC5
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
