	.file	"165766535.c"
	.intel_syntax noprefix
	.text
	.type	SHT31_Crc, @function
SHT31_Crc:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -24[rbp], rdi
	mov	eax, esi
	mov	BYTE PTR -28[rbp], al
	mov	BYTE PTR -2[rbp], -1
	mov	BYTE PTR -1[rbp], 0
	jmp	.L2
.L7:
	movzx	edx, BYTE PTR -1[rbp]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	xor	BYTE PTR -2[rbp], al
	mov	BYTE PTR -3[rbp], 8
	jmp	.L3
.L6:
	movzx	eax, BYTE PTR -2[rbp]
	test	al, al
	jns	.L4
	movzx	eax, BYTE PTR -2[rbp]
	add	eax, eax
	xor	eax, 49
	mov	BYTE PTR -2[rbp], al
	jmp	.L5
.L4:
	sal	BYTE PTR -2[rbp]
.L5:
	sub	BYTE PTR -3[rbp], 1
.L3:
	cmp	BYTE PTR -3[rbp], 0
	jne	.L6
	movzx	eax, BYTE PTR -1[rbp]
	add	eax, 1
	mov	BYTE PTR -1[rbp], al
.L2:
	movzx	eax, BYTE PTR -1[rbp]
	cmp	al, BYTE PTR -28[rbp]
	jb	.L7
	movzx	eax, BYTE PTR -2[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	SHT31_Crc, .-SHT31_Crc
	.section	.rodata
	.align 8
.LC0:
	.string	"Usage: sht31-dual-reader [OPTION]..."
	.align 8
.LC1:
	.string	"  no arguments: Print readings in terminal."
	.align 8
.LC2:
	.string	"  -raw          Print temperature and Humidity in terminal without text."
	.align 8
.LC3:
	.string	"  -h, --help    Print this message and exit."
	.text
	.globl	printHelp
	.type	printHelp, @function
printHelp:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	lea	rdi, .LC0[rip]
	call	puts@PLT
	lea	rdi, .LC1[rip]
	call	puts@PLT
	lea	rdi, .LC2[rip]
	call	puts@PLT
	lea	rdi, .LC3[rip]
	call	puts@PLT
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	printHelp, .-printHelp
	.section	.rodata
.LC4:
	.string	"-h"
.LC5:
	.string	"--help"
.LC6:
	.string	"/dev/i2c-1"
	.align 8
.LC7:
	.string	"Failed to open the bus for sensor 1 at %s\n"
.LC8:
	.string	"/dev/i2c-3"
	.align 8
.LC9:
	.string	"Failed to open the bus for sensor 2 at %s\n"
	.align 8
.LC10:
	.string	"Input/output error in sensor 1."
	.align 8
.LC11:
	.string	"Input/output error in sensor 2."
	.align 8
.LC17:
	.string	"Temperature CRC in sensor 1 is not OK."
	.align 8
.LC18:
	.string	"Temperature in sensor 1 is %.2f C\n"
	.align 8
.LC19:
	.string	"Temperature CRC in sensor 2 is not OK."
	.align 8
.LC20:
	.string	"Temperature in sensor 2 is %.2f C\n"
	.align 8
.LC21:
	.string	"Relative Humidity CRC in sensor 1 is not OK."
	.align 8
.LC22:
	.string	"Relative Humidity in sensor 1 is %.2f RH\n"
	.align 8
.LC23:
	.string	"Relative Humidity CRC in sensor 2 is not OK."
	.align 8
.LC24:
	.string	"Relative Humidity in sensor 2 is %.2f RH\n"
.LC25:
	.string	"-raw"
.LC26:
	.string	"100 0 100 0"
.LC27:
	.string	"%.2f %.2f %.2f %.2f\n"
.LC28:
	.string	"%.2f %.2f 100 0\n"
.LC29:
	.string	"100 0 %.2f %.2f\n"
.LC30:
	.string	"Unknown argument %s\n\n"
	.text
	.globl	main
	.type	main, @function
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, 112
	mov	DWORD PTR -100[rbp], edi
	mov	QWORD PTR -112[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	cmp	DWORD PTR -100[rbp], 2
	jne	.L11
	mov	rax, QWORD PTR -112[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	rsi, rax
	lea	rdi, .LC4[rip]
	call	strcmp@PLT
	test	eax, eax
	je	.L12
	mov	rax, QWORD PTR -112[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	rsi, rax
	lea	rdi, .LC5[rip]
	call	strcmp@PLT
	test	eax, eax
	je	.L12
.L11:
	cmp	DWORD PTR -100[rbp], 2
	jle	.L13
.L12:
	mov	eax, 0
	call	printHelp
	mov	edi, 1
	call	exit@PLT
.L13:
	mov	BYTE PTR -86[rbp], 1
	mov	BYTE PTR -85[rbp], 1
	lea	rax, .LC6[rip]
	mov	QWORD PTR -40[rbp], rax
	mov	rax, QWORD PTR -40[rbp]
	mov	esi, 2
	mov	rdi, rax
	mov	eax, 0
	call	open@PLT
	mov	DWORD PTR -80[rbp], eax
	cmp	DWORD PTR -80[rbp], 0
	jns	.L14
	lea	rsi, .LC6[rip]
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	mov	BYTE PTR -86[rbp], 0
.L14:
	lea	rax, .LC8[rip]
	mov	QWORD PTR -32[rbp], rax
	mov	rax, QWORD PTR -32[rbp]
	mov	esi, 2
	mov	rdi, rax
	mov	eax, 0
	call	open@PLT
	mov	DWORD PTR -76[rbp], eax
	cmp	DWORD PTR -76[rbp], 0
	jns	.L15
	lea	rsi, .LC8[rip]
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	mov	BYTE PTR -85[rbp], 0
.L15:
	cmp	BYTE PTR -86[rbp], 0
	je	.L16
	mov	eax, DWORD PTR -80[rbp]
	mov	edx, 68
	mov	esi, 1795
	mov	edi, eax
	mov	eax, 0
	call	ioctl@PLT
.L16:
	cmp	BYTE PTR -85[rbp], 0
	je	.L17
	mov	eax, DWORD PTR -76[rbp]
	mov	edx, 68
	mov	esi, 1795
	mov	edi, eax
	mov	eax, 0
	call	ioctl@PLT
.L17:
	mov	WORD PTR -22[rbp], 0
	mov	BYTE PTR -22[rbp], 44
	mov	BYTE PTR -21[rbp], 6
	cmp	BYTE PTR -86[rbp], 0
	je	.L18
	lea	rcx, -22[rbp]
	mov	eax, DWORD PTR -80[rbp]
	mov	edx, 2
	mov	rsi, rcx
	mov	edi, eax
	call	write@PLT
.L18:
	cmp	BYTE PTR -85[rbp], 0
	je	.L19
	lea	rcx, -22[rbp]
	mov	eax, DWORD PTR -76[rbp]
	mov	edx, 2
	mov	rsi, rcx
	mov	edi, eax
	call	write@PLT
.L19:
	mov	edi, 1
	call	sleep@PLT
	mov	DWORD PTR -20[rbp], 0
	mov	WORD PTR -16[rbp], 0
	mov	DWORD PTR -14[rbp], 0
	mov	WORD PTR -10[rbp], 0
	cmp	BYTE PTR -86[rbp], 0
	je	.L20
	lea	rcx, -20[rbp]
	mov	eax, DWORD PTR -80[rbp]
	mov	edx, 6
	mov	rsi, rcx
	mov	edi, eax
	call	read@PLT
	cmp	rax, 6
	je	.L20
	lea	rdi, .LC10[rip]
	call	puts@PLT
	mov	BYTE PTR -86[rbp], 0
.L20:
	cmp	BYTE PTR -85[rbp], 0
	je	.L21
	lea	rcx, -14[rbp]
	mov	eax, DWORD PTR -76[rbp]
	mov	edx, 6
	mov	rsi, rcx
	mov	edi, eax
	call	read@PLT
	cmp	rax, 6
	je	.L21
	lea	rdi, .LC11[rip]
	call	puts@PLT
	mov	BYTE PTR -85[rbp], 0
.L21:
	movsd	xmm0, QWORD PTR .LC12[rip]
	movsd	QWORD PTR -72[rbp], xmm0
	pxor	xmm0, xmm0
	movsd	QWORD PTR -64[rbp], xmm0
	movsd	xmm0, QWORD PTR .LC12[rip]
	movsd	QWORD PTR -56[rbp], xmm0
	pxor	xmm0, xmm0
	movsd	QWORD PTR -48[rbp], xmm0
	cmp	BYTE PTR -86[rbp], 0
	je	.L22
	movzx	eax, BYTE PTR -20[rbp]
	movsx	eax, al
	sal	eax, 8
	mov	edx, eax
	movzx	eax, BYTE PTR -19[rbp]
	movsx	eax, al
	add	eax, edx
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, eax
	movsd	xmm0, QWORD PTR .LC14[rip]
	mulsd	xmm0, xmm1
	movsd	xmm1, QWORD PTR .LC15[rip]
	divsd	xmm0, xmm1
	movsd	xmm1, QWORD PTR .LC16[rip]
	subsd	xmm0, xmm1
	movsd	QWORD PTR -72[rbp], xmm0
	movzx	eax, BYTE PTR -17[rbp]
	movsx	eax, al
	sal	eax, 8
	mov	edx, eax
	movzx	eax, BYTE PTR -16[rbp]
	movsx	eax, al
	add	eax, edx
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, eax
	movsd	xmm0, QWORD PTR .LC12[rip]
	mulsd	xmm0, xmm1
	movsd	xmm1, QWORD PTR .LC15[rip]
	divsd	xmm0, xmm1
	movsd	QWORD PTR -64[rbp], xmm0
.L22:
	cmp	BYTE PTR -85[rbp], 0
	je	.L23
	movzx	eax, BYTE PTR -14[rbp]
	movsx	eax, al
	sal	eax, 8
	mov	edx, eax
	movzx	eax, BYTE PTR -13[rbp]
	movsx	eax, al
	add	eax, edx
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, eax
	movsd	xmm0, QWORD PTR .LC14[rip]
	mulsd	xmm0, xmm1
	movsd	xmm1, QWORD PTR .LC15[rip]
	divsd	xmm0, xmm1
	movsd	xmm1, QWORD PTR .LC16[rip]
	subsd	xmm0, xmm1
	movsd	QWORD PTR -56[rbp], xmm0
	movzx	eax, BYTE PTR -11[rbp]
	movsx	eax, al
	sal	eax, 8
	mov	edx, eax
	movzx	eax, BYTE PTR -10[rbp]
	movsx	eax, al
	add	eax, edx
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, eax
	movsd	xmm0, QWORD PTR .LC12[rip]
	mulsd	xmm0, xmm1
	movsd	xmm1, QWORD PTR .LC15[rip]
	divsd	xmm0, xmm1
	movsd	QWORD PTR -48[rbp], xmm0
.L23:
	lea	rax, -20[rbp]
	mov	esi, 2
	mov	rdi, rax
	call	SHT31_Crc
	mov	BYTE PTR -84[rbp], al
	lea	rax, -14[rbp]
	mov	esi, 2
	mov	rdi, rax
	call	SHT31_Crc
	mov	BYTE PTR -83[rbp], al
	lea	rax, -20[rbp]
	add	rax, 3
	mov	esi, 2
	mov	rdi, rax
	call	SHT31_Crc
	mov	BYTE PTR -82[rbp], al
	lea	rax, -14[rbp]
	add	rax, 3
	mov	esi, 2
	mov	rdi, rax
	call	SHT31_Crc
	mov	BYTE PTR -81[rbp], al
	cmp	DWORD PTR -100[rbp], 1
	jg	.L24
	cmp	BYTE PTR -86[rbp], 0
	je	.L25
	movzx	edx, BYTE PTR -84[rbp]
	movzx	eax, BYTE PTR -18[rbp]
	movsx	eax, al
	cmp	edx, eax
	je	.L26
	lea	rdi, .LC17[rip]
	call	puts@PLT
	jmp	.L25
.L26:
	mov	rax, QWORD PTR -72[rbp]
	movq	xmm0, rax
	lea	rdi, .LC18[rip]
	mov	eax, 1
	call	printf@PLT
.L25:
	cmp	BYTE PTR -85[rbp], 0
	je	.L27
	movzx	edx, BYTE PTR -83[rbp]
	movzx	eax, BYTE PTR -12[rbp]
	movsx	eax, al
	cmp	edx, eax
	je	.L28
	lea	rdi, .LC19[rip]
	call	puts@PLT
	jmp	.L27
.L28:
	mov	rax, QWORD PTR -56[rbp]
	movq	xmm0, rax
	lea	rdi, .LC20[rip]
	mov	eax, 1
	call	printf@PLT
.L27:
	cmp	BYTE PTR -86[rbp], 0
	je	.L29
	movzx	edx, BYTE PTR -82[rbp]
	movzx	eax, BYTE PTR -15[rbp]
	movsx	eax, al
	cmp	edx, eax
	je	.L30
	lea	rdi, .LC21[rip]
	call	puts@PLT
	jmp	.L29
.L30:
	mov	rax, QWORD PTR -64[rbp]
	movq	xmm0, rax
	lea	rdi, .LC22[rip]
	mov	eax, 1
	call	printf@PLT
.L29:
	cmp	BYTE PTR -85[rbp], 0
	je	.L24
	movzx	edx, BYTE PTR -81[rbp]
	movzx	eax, BYTE PTR -9[rbp]
	movsx	eax, al
	cmp	edx, eax
	je	.L31
	lea	rdi, .LC23[rip]
	call	puts@PLT
	jmp	.L24
.L31:
	mov	rax, QWORD PTR -48[rbp]
	movq	xmm0, rax
	lea	rdi, .LC24[rip]
	mov	eax, 1
	call	printf@PLT
.L24:
	cmp	DWORD PTR -100[rbp], 2
	jne	.L46
	mov	rax, QWORD PTR -112[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	rsi, rax
	lea	rdi, .LC25[rip]
	call	strcmp@PLT
	test	eax, eax
	jne	.L33
	cmp	BYTE PTR -86[rbp], 0
	je	.L34
	cmp	BYTE PTR -85[rbp], 0
	je	.L34
	movzx	edx, BYTE PTR -84[rbp]
	movzx	eax, BYTE PTR -18[rbp]
	movsx	eax, al
	cmp	edx, eax
	jne	.L35
	movzx	edx, BYTE PTR -82[rbp]
	movzx	eax, BYTE PTR -15[rbp]
	movsx	eax, al
	cmp	edx, eax
	jne	.L35
	movzx	edx, BYTE PTR -83[rbp]
	movzx	eax, BYTE PTR -12[rbp]
	movsx	eax, al
	cmp	edx, eax
	jne	.L35
	movzx	edx, BYTE PTR -81[rbp]
	movzx	eax, BYTE PTR -9[rbp]
	movsx	eax, al
	cmp	edx, eax
	je	.L36
.L35:
	lea	rdi, .LC26[rip]
	call	puts@PLT
	jmp	.L32
.L36:
	movsd	xmm2, QWORD PTR -48[rbp]
	movsd	xmm1, QWORD PTR -56[rbp]
	movsd	xmm0, QWORD PTR -64[rbp]
	mov	rax, QWORD PTR -72[rbp]
	movapd	xmm3, xmm2
	movapd	xmm2, xmm1
	movapd	xmm1, xmm0
	movq	xmm0, rax
	lea	rdi, .LC27[rip]
	mov	eax, 4
	call	printf@PLT
	jmp	.L32
.L34:
	cmp	BYTE PTR -86[rbp], 0
	je	.L39
	movzx	eax, BYTE PTR -85[rbp]
	xor	eax, 1
	test	al, al
	je	.L39
	movzx	edx, BYTE PTR -84[rbp]
	movzx	eax, BYTE PTR -18[rbp]
	movsx	eax, al
	cmp	edx, eax
	jne	.L40
	movzx	edx, BYTE PTR -82[rbp]
	movzx	eax, BYTE PTR -15[rbp]
	movsx	eax, al
	cmp	edx, eax
	je	.L41
.L40:
	lea	rdi, .LC26[rip]
	call	puts@PLT
	jmp	.L39
.L41:
	movsd	xmm0, QWORD PTR -64[rbp]
	mov	rax, QWORD PTR -72[rbp]
	movapd	xmm1, xmm0
	movq	xmm0, rax
	lea	rdi, .LC28[rip]
	mov	eax, 2
	call	printf@PLT
.L39:
	movzx	eax, BYTE PTR -86[rbp]
	xor	eax, 1
	test	al, al
	je	.L42
	cmp	BYTE PTR -85[rbp], 0
	je	.L42
	movzx	edx, BYTE PTR -83[rbp]
	movzx	eax, BYTE PTR -12[rbp]
	movsx	eax, al
	cmp	edx, eax
	jne	.L43
	movzx	edx, BYTE PTR -81[rbp]
	movzx	eax, BYTE PTR -9[rbp]
	movsx	eax, al
	cmp	edx, eax
	je	.L44
.L43:
	lea	rdi, .LC26[rip]
	call	puts@PLT
	jmp	.L42
.L44:
	movsd	xmm0, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR -56[rbp]
	movapd	xmm1, xmm0
	movq	xmm0, rax
	lea	rdi, .LC29[rip]
	mov	eax, 2
	call	printf@PLT
.L42:
	movzx	eax, BYTE PTR -86[rbp]
	xor	eax, 1
	test	al, al
	je	.L46
	movzx	eax, BYTE PTR -85[rbp]
	xor	eax, 1
	test	al, al
	je	.L46
	lea	rdi, .LC26[rip]
	call	puts@PLT
	jmp	.L46
.L33:
	mov	rax, QWORD PTR -112[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	rsi, rax
	lea	rdi, .LC30[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	call	printHelp
	jmp	.L46
.L32:
.L46:
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L45
	call	__stack_chk_fail@PLT
.L45:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC12:
	.long	0
	.long	1079574528
	.align 8
.LC14:
	.long	0
	.long	1080418304
	.align 8
.LC15:
	.long	0
	.long	1089470432
	.align 8
.LC16:
	.long	0
	.long	1078362112
	.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	"165766535.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	SHT31_Crc, %function
SHT31_Crc:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #20
	str	r0, [fp, #-16]
	mov	r3, r1
	strb	r3, [fp, #-17]
	mvn	r3, #0
	strb	r3, [fp, #-6]
	mov	r3, #0
	strb	r3, [fp, #-5]
	b	.L2
.L7:
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldrb	r2, [r3]	@ zero_extendqisi2
	ldrb	r3, [fp, #-6]
	eor	r3, r3, r2
	strb	r3, [fp, #-6]
	mov	r3, #8
	strb	r3, [fp, #-7]
	b	.L3
.L6:
	ldrsb	r3, [fp, #-6]
	cmp	r3, #0
	bge	.L4
	ldrb	r3, [fp, #-6]	@ zero_extendqisi2
	lsl	r3, r3, #1
	lsl	r3, r3, #24
	asr	r3, r3, #24
	eor	r3, r3, #49
	lsl	r3, r3, #24
	asr	r3, r3, #24
	strb	r3, [fp, #-6]
	b	.L5
.L4:
	ldrb	r3, [fp, #-6]
	lsl	r3, r3, #1
	strb	r3, [fp, #-6]
.L5:
	ldrb	r3, [fp, #-7]
	sub	r3, r3, #1
	strb	r3, [fp, #-7]
.L3:
	ldrb	r3, [fp, #-7]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L6
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	add	r3, r3, #1
	strb	r3, [fp, #-5]
.L2:
	ldrb	r2, [fp, #-5]	@ zero_extendqisi2
	ldrb	r3, [fp, #-17]	@ zero_extendqisi2
	cmp	r2, r3
	bcc	.L7
	ldrb	r3, [fp, #-6]	@ zero_extendqisi2
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	SHT31_Crc, .-SHT31_Crc
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Usage: sht31-dual-reader [OPTION]...\000"
	.align	2
.LC1:
	.ascii	"  no arguments: Print readings in terminal.\000"
	.align	2
.LC2:
	.ascii	"  -raw          Print temperature and Humidity in t"
	.ascii	"erminal without text.\000"
	.align	2
.LC3:
	.ascii	"  -h, --help    Print this message and exit.\000"
	.text
	.align	2
	.global	printHelp
	.syntax unified
	.arm
	.fpu softvfp
	.type	printHelp, %function
printHelp:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r0, .L10
	bl	puts
	ldr	r0, .L10+4
	bl	puts
	ldr	r0, .L10+8
	bl	puts
	ldr	r0, .L10+12
	bl	puts
	nop
	pop	{fp, pc}
.L11:
	.align	2
.L10:
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.size	printHelp, .-printHelp
	.section	.rodata
	.align	2
.LC4:
	.ascii	"-h\000"
	.align	2
.LC5:
	.ascii	"--help\000"
	.align	2
.LC6:
	.ascii	"/dev/i2c-1\000"
	.align	2
.LC7:
	.ascii	"Failed to open the bus for sensor 1 at %s\012\000"
	.align	2
.LC8:
	.ascii	"/dev/i2c-3\000"
	.align	2
.LC9:
	.ascii	"Failed to open the bus for sensor 2 at %s\012\000"
	.align	2
.LC10:
	.ascii	"Input/output error in sensor 1.\000"
	.align	2
.LC11:
	.ascii	"Input/output error in sensor 2.\000"
	.global	__aeabi_i2d
	.global	__aeabi_dmul
	.global	__aeabi_ddiv
	.global	__aeabi_dsub
	.align	2
.LC12:
	.ascii	"Temperature CRC in sensor 1 is not OK.\000"
	.align	2
.LC13:
	.ascii	"Temperature in sensor 1 is %.2f C\012\000"
	.align	2
.LC14:
	.ascii	"Temperature CRC in sensor 2 is not OK.\000"
	.align	2
.LC15:
	.ascii	"Temperature in sensor 2 is %.2f C\012\000"
	.align	2
.LC16:
	.ascii	"Relative Humidity CRC in sensor 1 is not OK.\000"
	.align	2
.LC17:
	.ascii	"Relative Humidity in sensor 1 is %.2f RH\012\000"
	.align	2
.LC18:
	.ascii	"Relative Humidity CRC in sensor 2 is not OK.\000"
	.align	2
.LC19:
	.ascii	"Relative Humidity in sensor 2 is %.2f RH\012\000"
	.align	2
.LC20:
	.ascii	"-raw\000"
	.align	2
.LC21:
	.ascii	"100 0 100 0\000"
	.align	2
.LC22:
	.ascii	"%.2f %.2f %.2f %.2f\012\000"
	.align	2
.LC23:
	.ascii	"%.2f %.2f 100 0\012\000"
	.align	2
.LC24:
	.ascii	"100 0 %.2f %.2f\012\000"
	.align	2
.LC25:
	.ascii	"Unknown argument %s\012\012\000"
	.align	2
.LC26:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 88
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #112
	str	r0, [fp, #-88]
	str	r1, [fp, #-92]
	ldr	r3, .L49
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #-88]
	cmp	r3, #2
	bne	.L13
	ldr	r3, [fp, #-92]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L49+4
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L14
	ldr	r3, [fp, #-92]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L49+8
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L14
.L13:
	ldr	r3, [fp, #-88]
	cmp	r3, #2
	ble	.L15
.L14:
	bl	printHelp
	mov	r0, #1
	bl	exit
.L15:
	mov	r3, #1
	strb	r3, [fp, #-82]
	mov	r3, #1
	strb	r3, [fp, #-81]
	ldr	r3, .L49+12
	str	r3, [fp, #-76]
	mov	r1, #2
	ldr	r0, [fp, #-76]
	bl	open
	str	r0, [fp, #-72]
	ldr	r3, [fp, #-72]
	cmp	r3, #0
	bge	.L16
	ldr	r1, .L49+12
	ldr	r0, .L49+16
	bl	printf
	mov	r3, #0
	strb	r3, [fp, #-82]
.L16:
	ldr	r3, .L49+20
	str	r3, [fp, #-68]
	mov	r1, #2
	ldr	r0, [fp, #-68]
	bl	open
	str	r0, [fp, #-64]
	ldr	r3, [fp, #-64]
	cmp	r3, #0
	bge	.L17
	ldr	r1, .L49+20
	ldr	r0, .L49+24
	bl	printf
	mov	r3, #0
	strb	r3, [fp, #-81]
.L17:
	ldrb	r3, [fp, #-82]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L18
	mov	r2, #68
	ldr	r1, .L49+28
	ldr	r0, [fp, #-72]
	bl	ioctl
.L18:
	ldrb	r3, [fp, #-81]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L19
	mov	r2, #68
	ldr	r1, .L49+28
	ldr	r0, [fp, #-64]
	bl	ioctl
.L19:
	mov	r3, #0
	strh	r3, [fp, #-28]	@ movhi
	mov	r3, #44
	strb	r3, [fp, #-28]
	mov	r3, #6
	strb	r3, [fp, #-27]
	ldrb	r3, [fp, #-82]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L20
	sub	r3, fp, #28
	mov	r2, #2
	mov	r1, r3
	ldr	r0, [fp, #-72]
	bl	write
.L20:
	ldrb	r3, [fp, #-81]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L21
	sub	r3, fp, #28
	mov	r2, #2
	mov	r1, r3
	ldr	r0, [fp, #-64]
	bl	write
.L21:
	mov	r0, #1
	bl	sleep
	mov	r3, #0
	str	r3, [fp, #-24]
	mov	r3, #0
	strh	r3, [fp, #-20]	@ movhi
	mov	r3, #0
	str	r3, [fp, #-16]
	mov	r3, #0
	strh	r3, [fp, #-12]	@ movhi
	ldrb	r3, [fp, #-82]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L22
	sub	r3, fp, #24
	mov	r2, #6
	mov	r1, r3
	ldr	r0, [fp, #-72]
	bl	read
	mov	r3, r0
	cmp	r3, #6
	beq	.L22
	ldr	r0, .L49+32
	bl	puts
	mov	r3, #0
	strb	r3, [fp, #-82]
.L22:
	ldrb	r3, [fp, #-81]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L23
	sub	r3, fp, #16
	mov	r2, #6
	mov	r1, r3
	ldr	r0, [fp, #-64]
	bl	read
	mov	r3, r0
	cmp	r3, #6
	beq	.L23
	ldr	r0, .L49+36
	bl	puts
	mov	r3, #0
	strb	r3, [fp, #-81]
.L23:
	mov	r2, #0
	ldr	r3, .L49+40
	str	r2, [fp, #-60]
	str	r3, [fp, #-56]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-52]
	str	r3, [fp, #-48]
	mov	r2, #0
	ldr	r3, .L49+40
	str	r2, [fp, #-44]
	str	r3, [fp, #-40]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-36]
	str	r3, [fp, #-32]
	ldrb	r3, [fp, #-82]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L24
	ldrb	r3, [fp, #-24]	@ zero_extendqisi2
	lsl	r3, r3, #8
	ldrb	r2, [fp, #-23]	@ zero_extendqisi2
	add	r3, r3, r2
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, #0
	ldr	r3, .L49+44
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	mov	r2, #0
	ldr	r3, .L49+48
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	mov	r2, #0
	ldr	r3, .L49+52
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-60]
	str	r3, [fp, #-56]
	ldrb	r3, [fp, #-21]	@ zero_extendqisi2
	lsl	r3, r3, #8
	ldrb	r2, [fp, #-20]	@ zero_extendqisi2
	add	r3, r3, r2
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, #0
	ldr	r3, .L49+40
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	mov	r2, #0
	ldr	r3, .L49+48
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-52]
	str	r3, [fp, #-48]
.L24:
	ldrb	r3, [fp, #-81]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L25
	ldrb	r3, [fp, #-16]	@ zero_extendqisi2
	lsl	r3, r3, #8
	ldrb	r2, [fp, #-15]	@ zero_extendqisi2
	add	r3, r3, r2
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, #0
	ldr	r3, .L49+44
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	mov	r2, #0
	ldr	r3, .L49+48
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	mov	r2, #0
	ldr	r3, .L49+52
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-44]
	str	r3, [fp, #-40]
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
	lsl	r3, r3, #8
	ldrb	r2, [fp, #-12]	@ zero_extendqisi2
	add	r3, r3, r2
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, #0
	ldr	r3, .L49+40
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	mov	r2, #0
	ldr	r3, .L49+48
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-36]
	str	r3, [fp, #-32]
.L25:
	sub	r3, fp, #24
	mov	r1, #2
	mov	r0, r3
	bl	SHT31_Crc
	mov	r3, r0
	strb	r3, [fp, #-80]
	sub	r3, fp, #16
	mov	r1, #2
	mov	r0, r3
	bl	SHT31_Crc
	mov	r3, r0
	strb	r3, [fp, #-79]
	sub	r3, fp, #24
	add	r3, r3, #3
	mov	r1, #2
	mov	r0, r3
	bl	SHT31_Crc
	mov	r3, r0
	strb	r3, [fp, #-78]
	sub	r3, fp, #16
	add	r3, r3, #3
	mov	r1, #2
	mov	r0, r3
	bl	SHT31_Crc
	mov	r3, r0
	strb	r3, [fp, #-77]
	ldr	r3, [fp, #-88]
	cmp	r3, #1
	bgt	.L26
	ldrb	r3, [fp, #-82]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L27
	ldrb	r3, [fp, #-22]	@ zero_extendqisi2
	ldrb	r2, [fp, #-80]	@ zero_extendqisi2
	cmp	r2, r3
	beq	.L28
	ldr	r0, .L49+56
	bl	puts
	b	.L27
.L28:
	sub	r3, fp, #60
	ldmia	r3, {r2-r3}
	ldr	r0, .L49+60
	bl	printf
.L27:
	ldrb	r3, [fp, #-81]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L29
	ldrb	r3, [fp, #-14]	@ zero_extendqisi2
	ldrb	r2, [fp, #-79]	@ zero_extendqisi2
	cmp	r2, r3
	beq	.L30
	ldr	r0, .L49+64
	bl	puts
	b	.L29
.L30:
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	ldr	r0, .L49+68
	bl	printf
.L29:
	ldrb	r3, [fp, #-82]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L31
	ldrb	r3, [fp, #-19]	@ zero_extendqisi2
	ldrb	r2, [fp, #-78]	@ zero_extendqisi2
	cmp	r2, r3
	beq	.L32
	ldr	r0, .L49+72
	bl	puts
	b	.L31
.L32:
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	ldr	r0, .L49+76
	bl	printf
.L31:
	ldrb	r3, [fp, #-81]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L26
	ldrb	r3, [fp, #-11]	@ zero_extendqisi2
	ldrb	r2, [fp, #-77]	@ zero_extendqisi2
	cmp	r2, r3
	beq	.L33
	ldr	r0, .L49+80
	bl	puts
	b	.L26
.L33:
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	ldr	r0, .L49+84
	bl	printf
.L26:
	ldr	r3, [fp, #-88]
	cmp	r3, #2
	bne	.L48
	ldr	r3, [fp, #-92]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L49+88
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L35
	ldrb	r3, [fp, #-82]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L36
	ldrb	r3, [fp, #-81]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L36
	ldrb	r3, [fp, #-22]	@ zero_extendqisi2
	ldrb	r2, [fp, #-80]	@ zero_extendqisi2
	cmp	r2, r3
	bne	.L37
	ldrb	r3, [fp, #-19]	@ zero_extendqisi2
	ldrb	r2, [fp, #-78]	@ zero_extendqisi2
	cmp	r2, r3
	bne	.L37
	ldrb	r3, [fp, #-14]	@ zero_extendqisi2
	ldrb	r2, [fp, #-79]	@ zero_extendqisi2
	cmp	r2, r3
	bne	.L37
	ldrb	r3, [fp, #-11]	@ zero_extendqisi2
	ldrb	r2, [fp, #-77]	@ zero_extendqisi2
	cmp	r2, r3
	beq	.L38
.L37:
	ldr	r0, .L49+92
	bl	puts
	b	.L34
.L38:
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	str	r2, [sp, #16]
	str	r3, [sp, #20]
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	str	r2, [sp, #8]
	str	r3, [sp, #12]
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	stm	sp, {r2-r3}
	sub	r3, fp, #60
	ldmia	r3, {r2-r3}
	ldr	r0, .L49+96
	bl	printf
	b	.L34
.L36:
	ldrb	r3, [fp, #-82]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L41
	ldrb	r3, [fp, #-81]
	eor	r3, r3, #1
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L41
	ldrb	r3, [fp, #-22]	@ zero_extendqisi2
	ldrb	r2, [fp, #-80]	@ zero_extendqisi2
	cmp	r2, r3
	bne	.L42
	ldrb	r3, [fp, #-19]	@ zero_extendqisi2
	ldrb	r2, [fp, #-78]	@ zero_extendqisi2
	cmp	r2, r3
	beq	.L43
.L42:
	ldr	r0, .L49+92
	bl	puts
	b	.L41
.L43:
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	stm	sp, {r2-r3}
	sub	r3, fp, #60
	ldmia	r3, {r2-r3}
	ldr	r0, .L49+100
	bl	printf
.L41:
	ldrb	r3, [fp, #-82]
	eor	r3, r3, #1
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L44
	ldrb	r3, [fp, #-81]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L44
	ldrb	r3, [fp, #-14]	@ zero_extendqisi2
	ldrb	r2, [fp, #-79]	@ zero_extendqisi2
	cmp	r2, r3
	bne	.L45
	ldrb	r3, [fp, #-11]	@ zero_extendqisi2
	ldrb	r2, [fp, #-77]	@ zero_extendqisi2
	cmp	r2, r3
	beq	.L46
.L45:
	ldr	r0, .L49+92
	bl	puts
	b	.L44
.L46:
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	stm	sp, {r2-r3}
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	ldr	r0, .L49+104
	bl	printf
.L44:
	ldrb	r3, [fp, #-82]
	eor	r3, r3, #1
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L48
	ldrb	r3, [fp, #-81]
	eor	r3, r3, #1
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L48
	ldr	r0, .L49+92
	bl	puts
	b	.L48
.L35:
	ldr	r3, [fp, #-92]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L49+108
	bl	printf
	bl	printHelp
	b	.L48
.L34:
.L48:
	nop
	ldr	r3, .L49
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L47
	bl	__stack_chk_fail
.L47:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L50:
	.align	2
.L49:
	.word	.LC26
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	1795
	.word	.LC10
	.word	.LC11
	.word	1079574528
	.word	1080418304
	.word	1089470432
	.word	1078362112
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.word	.LC15
	.word	.LC16
	.word	.LC17
	.word	.LC18
	.word	.LC19
	.word	.LC20
	.word	.LC21
	.word	.LC22
	.word	.LC23
	.word	.LC24
	.word	.LC25
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
