#define NULL ((void *)0)
typedef unsigned long size_t; // Customize by platform.
typedef long intptr_t;
typedef unsigned long uintptr_t;
typedef long scalar_t__; // Either arithmetic or pointer type.
/* By default, we understand bool (as a convenience). */
typedef int bool;
#define false 0
#define true 1

/* Forward declarations */

/* Type definitions */

/* Variables and functions */
int armgetchar();
int /*<<< orphan*/ armprintf(char *, ...);
unsigned int twi_read_word(unsigned char, int);
int twi_main() {
  unsigned int data = 0;
  unsigned int object, ambient;
  unsigned char addr1 = 0x03;
  unsigned char addr2 = 0x04;
  while (1) {
    armprintf("Press ENTER to measure...\r");
    while (armgetchar() == -1)
      ;
    data = twi_read_word(addr1, 0x06);
    armprintf("SENSOR 3------------------\r");
    armprintf("Ambient Raw: %x\r", data);
    ambient = (unsigned int)(((float)data * 100) * 0.02) - 27315;
    armprintf("Ambient Temp: %d.%d C\r", ambient, data);
    data = twi_read_word(addr1, 0x07);
    armprintf("Zone 1 Raw: %x\r", data);
    object = (unsigned int)(((float)data * 100) * 0.02) - 27315;
    armprintf("Zone 1 Temp: %d.%d C\r", object, data);
    data = twi_read_word(addr1, 0x08);
    armprintf("Zone 2 Raw: %x\r", data);
    object = (unsigned int)(((float)data * 100) * 0.02) - 27315;
    armprintf("Zone 2 Temp: %d.%d C\r", object, data);
    armprintf("SENSOR 4------------------\r");
    data = twi_read_word(addr2, 0x06);
    armprintf("Ambient Raw: %x\r", data);
    ambient = (unsigned int)(((float)data * 100) * 0.02) - 27315;
    armprintf("Ambient Temp: %d.%d C\r", ambient, data);
    data = twi_read_word(addr2, 0x07);
    armprintf("Zone 1 Raw: %x\r", data);
    object = (unsigned int)(((float)data * 100) * 0.02) - 27315;
    armprintf("Zone 1 Temp: %d.%d C\r", object, data);
    data = twi_read_word(addr2, 0x08);
    armprintf("Zone 2 Raw: %x\r", data);
    object = (unsigned int)(((float)data * 100) * 0.02) - 27315;
    armprintf("Zone 2 Temp: %d.%d C\r", object, data);
  }
  return 0;
}


x86 assembly (clang, -O0):
<twi_main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x60,%rsp
movl   $0x0,-0x4(%rbp)
movb   $0x3,-0xd(%rbp)
movb   $0x4,-0xe(%rbp)
lea    0xec2(%rip),%rdi
mov    $0x0,%al
call   1030 <armprintf@plt>
mov    $0x0,%al
call   1050 <armgetchar@plt>
cmp    $0xffffffff,%eax
jne    116a <twi_main+0x3a>
jmp    1155 <twi_main+0x25>
movzbl -0xd(%rbp),%edi
mov    $0x6,%esi
mov    %esi,-0x5c(%rbp)
call   1040 <twi_read_word@plt>
mov    %eax,-0x4(%rbp)
lea    0xea6(%rip),%rdi
xor    %eax,%eax
mov    %al,-0x1d(%rbp)
call   1030 <armprintf@plt>
mov    -0x1d(%rbp),%al
mov    -0x4(%rbp),%esi
lea    0xeab(%rip),%rdi
mov    %rdi,-0x58(%rbp)
call   1030 <armprintf@plt>
mov    -0x1d(%rbp),%al
mov    -0x4(%rbp),%ecx
cvtsi2ss %rcx,%xmm0
movss  0xe48(%rip),%xmm1
movss  %xmm1,-0x1c(%rbp)
mulss  %xmm1,%xmm0
cvtss2sd %xmm0,%xmm0
movsd  0xe3b(%rip),%xmm1
movsd  %xmm1,-0x18(%rbp)
mulsd  %xmm1,%xmm0
cvttsd2si %xmm0,%rcx
add    $0xffff954d,%ecx
mov    %ecx,-0xc(%rbp)
mov    -0xc(%rbp),%esi
mov    -0x4(%rbp),%edx
lea    0xe67(%rip),%rdi
mov    %rdi,-0x50(%rbp)
call   1030 <armprintf@plt>
movzbl -0xd(%rbp),%edi
mov    $0x7,%esi
mov    %esi,-0x44(%rbp)
call   1040 <twi_read_word@plt>
mov    %eax,%ecx
mov    -0x1d(%rbp),%al
mov    %ecx,-0x4(%rbp)
mov    -0x4(%rbp),%esi
lea    0xe52(%rip),%rdi
mov    %rdi,-0x40(%rbp)
call   1030 <armprintf@plt>
movss  -0x1c(%rbp),%xmm2
movsd  -0x18(%rbp),%xmm1
mov    -0x1d(%rbp),%al
mov    -0x4(%rbp),%ecx
cvtsi2ss %rcx,%xmm0
mulss  %xmm2,%xmm0
cvtss2sd %xmm0,%xmm0
mulsd  %xmm1,%xmm0
cvttsd2si %xmm0,%rcx
add    $0xffff954d,%ecx
mov    %ecx,-0x8(%rbp)
mov    -0x8(%rbp),%esi
mov    -0x4(%rbp),%edx
lea    0xe1d(%rip),%rdi
mov    %rdi,-0x38(%rbp)
call   1030 <armprintf@plt>
movzbl -0xd(%rbp),%edi
mov    $0x8,%esi
mov    %esi,-0x2c(%rbp)
call   1040 <twi_read_word@plt>
mov    %eax,%ecx
mov    -0x1d(%rbp),%al
mov    %ecx,-0x4(%rbp)
mov    -0x4(%rbp),%esi
lea    0xe07(%rip),%rdi
mov    %rdi,-0x28(%rbp)
call   1030 <armprintf@plt>
movss  -0x1c(%rbp),%xmm2
movsd  -0x18(%rbp),%xmm1
mov    -0x1d(%rbp),%al
mov    -0x4(%rbp),%ecx
cvtsi2ss %rcx,%xmm0
mulss  %xmm2,%xmm0
cvtss2sd %xmm0,%xmm0
mulsd  %xmm1,%xmm0
cvttsd2si %xmm0,%rcx
add    $0xffff954d,%ecx
mov    %ecx,-0x8(%rbp)
mov    -0x8(%rbp),%esi
mov    -0x4(%rbp),%edx
lea    0xdd2(%rip),%rdi
call   1030 <armprintf@plt>
mov    -0x1d(%rbp),%al
lea    0xdd9(%rip),%rdi
call   1030 <armprintf@plt>
mov    -0x5c(%rbp),%esi
movzbl -0xe(%rbp),%edi
call   1040 <twi_read_word@plt>
mov    -0x58(%rbp),%rdi
mov    %eax,%ecx
mov    -0x1d(%rbp),%al
mov    %ecx,-0x4(%rbp)
mov    -0x4(%rbp),%esi
call   1030 <armprintf@plt>
mov    -0x50(%rbp),%rdi
movss  -0x1c(%rbp),%xmm2
movsd  -0x18(%rbp),%xmm1
mov    -0x1d(%rbp),%al
mov    -0x4(%rbp),%ecx
cvtsi2ss %rcx,%xmm0
mulss  %xmm2,%xmm0
cvtss2sd %xmm0,%xmm0
mulsd  %xmm1,%xmm0
cvttsd2si %xmm0,%rcx
add    $0xffff954d,%ecx
mov    %ecx,-0xc(%rbp)
mov    -0xc(%rbp),%esi
mov    -0x4(%rbp),%edx
call   1030 <armprintf@plt>
mov    -0x44(%rbp),%esi
movzbl -0xe(%rbp),%edi
call   1040 <twi_read_word@plt>
mov    -0x40(%rbp),%rdi
mov    %eax,%ecx
mov    -0x1d(%rbp),%al
mov    %ecx,-0x4(%rbp)
mov    -0x4(%rbp),%esi
call   1030 <armprintf@plt>
mov    -0x38(%rbp),%rdi
movss  -0x1c(%rbp),%xmm2
movsd  -0x18(%rbp),%xmm1
mov    -0x1d(%rbp),%al
mov    -0x4(%rbp),%ecx
cvtsi2ss %rcx,%xmm0
mulss  %xmm2,%xmm0
cvtss2sd %xmm0,%xmm0
mulsd  %xmm1,%xmm0
cvttsd2si %xmm0,%rcx
add    $0xffff954d,%ecx
mov    %ecx,-0x8(%rbp)
mov    -0x8(%rbp),%esi
mov    -0x4(%rbp),%edx
call   1030 <armprintf@plt>
mov    -0x2c(%rbp),%esi
movzbl -0xe(%rbp),%edi
call   1040 <twi_read_word@plt>
mov    -0x28(%rbp),%rdi
mov    %eax,%ecx
mov    -0x1d(%rbp),%al
mov    %ecx,-0x4(%rbp)
mov    -0x4(%rbp),%esi
call   1030 <armprintf@plt>
movss  -0x1c(%rbp),%xmm2
movsd  -0x18(%rbp),%xmm1
mov    -0x4(%rbp),%eax
cvtsi2ss %rax,%xmm0
mulss  %xmm2,%xmm0
cvtss2sd %xmm0,%xmm0
mulsd  %xmm1,%xmm0
cvttsd2si %xmm0,%rax
sub    $0x6ab3,%eax
mov    %eax,-0x8(%rbp)
mov    -0x8(%rbp),%esi
mov    -0x4(%rbp),%edx
lea    0xcaa(%rip),%rdi
mov    $0x0,%al
call   1030 <armprintf@plt>
jmp    1147 <twi_main+0x17>

x86 assembly (clang, -O2):
<twi_main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
push   %rax
nopl   0x0(%rax,%rax,1)
lea    0xec9(%rip),%rdi
xor    %eax,%eax
call   1030 <armprintf@plt>
xchg   %ax,%ax
xor    %eax,%eax
call   1050 <armgetchar@plt>
cmp    $0xffffffff,%eax
je     1150 <twi_main+0x20>
mov    $0x3,%edi
mov    $0x6,%esi
call   1040 <twi_read_word@plt>
mov    %eax,%r12d
lea    0xeb6(%rip),%rdi
xor    %eax,%eax
call   1030 <armprintf@plt>
lea    0xec4(%rip),%r13
mov    %r13,%rdi
mov    %r12d,%esi
xor    %eax,%eax
call   1030 <armprintf@plt>
mov    %r12d,%eax
xorps  %xmm0,%xmm0
cvtsi2ss %rax,%xmm0
movss  0xe5d(%rip),%xmm1
mulss  %xmm1,%xmm0
cvtss2sd %xmm0,%xmm0
movsd  0xe55(%rip),%xmm1
mulsd  %xmm1,%xmm0
cvttsd2si %xmm0,%rsi
add    $0xffff954d,%esi
lea    0xe8f(%rip),%rbp
mov    %rbp,%rdi
mov    %r12d,%edx
xor    %eax,%eax
call   1030 <armprintf@plt>
mov    $0x3,%edi
mov    $0x7,%esi
call   1040 <twi_read_word@plt>
mov    %eax,%ebx
lea    0xe81(%rip),%r12
mov    %r12,%rdi
mov    %eax,%esi
xor    %eax,%eax
call   1030 <armprintf@plt>
mov    %ebx,%eax
xorps  %xmm0,%xmm0
cvtsi2ss %rax,%xmm0
mulss  0xdf4(%rip),%xmm0
cvtss2sd %xmm0,%xmm0
mulsd  0xdf0(%rip),%xmm0
cvttsd2si %xmm0,%rsi
add    $0xffff954d,%esi
lea    0xe55(%rip),%r14
mov    %r14,%rdi
mov    %ebx,%edx
xor    %eax,%eax
call   1030 <armprintf@plt>
mov    $0x3,%edi
mov    $0x8,%esi
call   1040 <twi_read_word@plt>
mov    %eax,%ebx
lea    0xe47(%rip),%r15
mov    %r15,%rdi
mov    %eax,%esi
xor    %eax,%eax
call   1030 <armprintf@plt>
mov    %ebx,%eax
xorps  %xmm0,%xmm0
cvtsi2ss %rax,%xmm0
mulss  0xd94(%rip),%xmm0
cvtss2sd %xmm0,%xmm0
mulsd  0xd90(%rip),%xmm0
cvttsd2si %xmm0,%rsi
add    $0xffff954d,%esi
lea    0xe1b(%rip),%rdi
mov    %ebx,%edx
xor    %eax,%eax
call   1030 <armprintf@plt>
lea    0xe21(%rip),%rdi
xor    %eax,%eax
call   1030 <armprintf@plt>
mov    $0x4,%edi
mov    $0x6,%esi
call   1040 <twi_read_word@plt>
mov    %eax,%ebx
mov    %r13,%rdi
mov    %eax,%esi
xor    %eax,%eax
call   1030 <armprintf@plt>
mov    %ebx,%eax
xorps  %xmm0,%xmm0
cvtsi2ss %rax,%xmm0
mulss  0xd30(%rip),%xmm0
cvtss2sd %xmm0,%xmm0
mulsd  0xd2c(%rip),%xmm0
cvttsd2si %xmm0,%rsi
add    $0xffff954d,%esi
mov    %rbp,%rdi
mov    %ebx,%edx
xor    %eax,%eax
call   1030 <armprintf@plt>
mov    $0x4,%edi
mov    $0x7,%esi
call   1040 <twi_read_word@plt>
mov    %eax,%ebx
mov    %r12,%rdi
mov    %eax,%esi
xor    %eax,%eax
call   1030 <armprintf@plt>
mov    %ebx,%eax
xorps  %xmm0,%xmm0
cvtsi2ss %rax,%xmm0
mulss  0xcde(%rip),%xmm0
cvtss2sd %xmm0,%xmm0
mulsd  0xcda(%rip),%xmm0
cvttsd2si %xmm0,%rsi
add    $0xffff954d,%esi
mov    %r14,%rdi
mov    %ebx,%edx
xor    %eax,%eax
call   1030 <armprintf@plt>
mov    $0x4,%edi
mov    $0x8,%esi
call   1040 <twi_read_word@plt>
mov    %eax,%ebx
mov    %r15,%rdi
mov    %eax,%esi
xor    %eax,%eax
call   1030 <armprintf@plt>
mov    %ebx,%eax
xorps  %xmm0,%xmm0
cvtsi2ss %rax,%xmm0
mulss  0xc8c(%rip),%xmm0
cvtss2sd %xmm0,%xmm0
mulsd  0xc88(%rip),%xmm0
cvttsd2si %xmm0,%rsi
add    $0xffff954d,%esi
lea    0xd13(%rip),%rdi
mov    %ebx,%edx
xor    %eax,%eax
call   1030 <armprintf@plt>
jmp    1140 <twi_main+0x10>

LLVM IR (-O0):
@.str = [27 x i8] c"Press ENTER to measure...\0D\00"
@.str.1 = [28 x i8] c"SENSOR 3------------------\0D\00"
@.str.2 = [17 x i8] c"Ambient Raw: %x\0D\00"
@.str.3 = [23 x i8] c"Ambient Temp: %d.%d C\0D\00"
@.str.4 = [16 x i8] c"Zone 1 Raw: %x\0D\00"
@.str.5 = [22 x i8] c"Zone 1 Temp: %d.%d C\0D\00"
@.str.6 = [16 x i8] c"Zone 2 Raw: %x\0D\00"
@.str.7 = [22 x i8] c"Zone 2 Temp: %d.%d C\0D\00"
@.str.8 = [28 x i8] c"SENSOR 4------------------\0D\00"
define i32 @twi_main() {
%1 = alloca i32
%2 = alloca i32
%3 = alloca i32
%4 = alloca i8
%5 = alloca i8
store i32 0, i32* %1
store i8 3, i8* %4
store i8 4, i8* %5
br label %6
6: ; preds = %0, %12
%7 = call i32 (i8*, ...) @armprintf(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str, i64 0, i64 0))
br label %8
8: ; preds = %11, %6
%9 = call i32 (...) @armgetchar()
%10 = icmp eq i32 %9, -1
br i1 %10, label %11, label %12
11: ; preds = %8
br label %8
12: ; preds = %8
%13 = load i8, i8* %4
%14 = call i32 @twi_read_word(i8 zeroext %13, i32 6)
store i32 %14, i32* %1
%15 = call i32 (i8*, ...) @armprintf(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.1, i64 0, i64 0))
%16 = load i32, i32* %1
%17 = call i32 (i8*, ...) @armprintf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.2, i64 0, i64 0), i32 %16)
%18 = load i32, i32* %1
%19 = uitofp i32 %18 to float
%20 = fmul float %19, 1.000000e+02
%21 = fpext float %20 to double
%22 = fmul double %21, 2.000000e-02
%23 = fptoui double %22 to i32
%24 = sub i32 %23, 27315
store i32 %24, i32* %3
%25 = load i32, i32* %3
%26 = load i32, i32* %1
%27 = call i32 (i8*, ...) @armprintf(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.3, i64 0, i64 0), i32 %25, i32 %26)
%28 = load i8, i8* %4
%29 = call i32 @twi_read_word(i8 zeroext %28, i32 7)
store i32 %29, i32* %1
%30 = load i32, i32* %1
%31 = call i32 (i8*, ...) @armprintf(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.4, i64 0, i64 0), i32 %30)
%32 = load i32, i32* %1
%33 = uitofp i32 %32 to float
%34 = fmul float %33, 1.000000e+02
%35 = fpext float %34 to double
%36 = fmul double %35, 2.000000e-02
%37 = fptoui double %36 to i32
%38 = sub i32 %37, 27315
store i32 %38, i32* %2
%39 = load i32, i32* %2
%40 = load i32, i32* %1
%41 = call i32 (i8*, ...) @armprintf(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.5, i64 0, i64 0), i32 %39, i32 %40)
%42 = load i8, i8* %4
%43 = call i32 @twi_read_word(i8 zeroext %42, i32 8)
store i32 %43, i32* %1
%44 = load i32, i32* %1
%45 = call i32 (i8*, ...) @armprintf(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.6, i64 0, i64 0), i32 %44)
%46 = load i32, i32* %1
%47 = uitofp i32 %46 to float
%48 = fmul float %47, 1.000000e+02
%49 = fpext float %48 to double
%50 = fmul double %49, 2.000000e-02
%51 = fptoui double %50 to i32
%52 = sub i32 %51, 27315
store i32 %52, i32* %2
%53 = load i32, i32* %2
%54 = load i32, i32* %1
%55 = call i32 (i8*, ...) @armprintf(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.7, i64 0, i64 0), i32 %53, i32 %54)
%56 = call i32 (i8*, ...) @armprintf(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.8, i64 0, i64 0))
%57 = load i8, i8* %5
%58 = call i32 @twi_read_word(i8 zeroext %57, i32 6)
store i32 %58, i32* %1
%59 = load i32, i32* %1
%60 = call i32 (i8*, ...) @armprintf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.2, i64 0, i64 0), i32 %59)
%61 = load i32, i32* %1
%62 = uitofp i32 %61 to float
%63 = fmul float %62, 1.000000e+02
%64 = fpext float %63 to double
%65 = fmul double %64, 2.000000e-02
%66 = fptoui double %65 to i32
%67 = sub i32 %66, 27315
store i32 %67, i32* %3
%68 = load i32, i32* %3
%69 = load i32, i32* %1
%70 = call i32 (i8*, ...) @armprintf(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.3, i64 0, i64 0), i32 %68, i32 %69)
%71 = load i8, i8* %5
%72 = call i32 @twi_read_word(i8 zeroext %71, i32 7)
store i32 %72, i32* %1
%73 = load i32, i32* %1
%74 = call i32 (i8*, ...) @armprintf(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.4, i64 0, i64 0), i32 %73)
%75 = load i32, i32* %1
%76 = uitofp i32 %75 to float
%77 = fmul float %76, 1.000000e+02
%78 = fpext float %77 to double
%79 = fmul double %78, 2.000000e-02
%80 = fptoui double %79 to i32
%81 = sub i32 %80, 27315
store i32 %81, i32* %2
%82 = load i32, i32* %2
%83 = load i32, i32* %1
%84 = call i32 (i8*, ...) @armprintf(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.5, i64 0, i64 0), i32 %82, i32 %83)
%85 = load i8, i8* %5
%86 = call i32 @twi_read_word(i8 zeroext %85, i32 8)
store i32 %86, i32* %1
%87 = load i32, i32* %1
%88 = call i32 (i8*, ...) @armprintf(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.6, i64 0, i64 0), i32 %87)
%89 = load i32, i32* %1
%90 = uitofp i32 %89 to float
%91 = fmul float %90, 1.000000e+02
%92 = fpext float %91 to double
%93 = fmul double %92, 2.000000e-02
%94 = fptoui double %93 to i32
%95 = sub i32 %94, 27315
store i32 %95, i32* %2
%96 = load i32, i32* %2
%97 = load i32, i32* %1
%98 = call i32 (i8*, ...) @armprintf(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.7, i64 0, i64 0), i32 %96, i32 %97)
br label %6
}

LLVM IR (-O2):
@.str = [27 x i8] c"Press ENTER to measure...\0D\00"
@.str.1 = [28 x i8] c"SENSOR 3------------------\0D\00"
@.str.2 = [17 x i8] c"Ambient Raw: %x\0D\00"
@.str.3 = [23 x i8] c"Ambient Temp: %d.%d C\0D\00"
@.str.4 = [16 x i8] c"Zone 1 Raw: %x\0D\00"
@.str.5 = [22 x i8] c"Zone 1 Temp: %d.%d C\0D\00"
@.str.6 = [16 x i8] c"Zone 2 Raw: %x\0D\00"
@.str.7 = [22 x i8] c"Zone 2 Temp: %d.%d C\0D\00"
@.str.8 = [28 x i8] c"SENSOR 4------------------\0D\00"
define i32 @twi_main() {
br label %1
1: ; preds = %6, %0
%2 = tail call i32 (i8*, ...) @armprintf(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str, i64 0, i64 0))
br label %3
3: ; preds = %3, %1
%4 = tail call i32 (...) @armgetchar()
%5 = icmp eq i32 %4, -1
br i1 %5, label %3, label %6
6: ; preds = %3
%7 = tail call i32 @twi_read_word(i8 zeroext 3, i32 6)
%8 = tail call i32 (i8*, ...) @armprintf(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.1, i64 0, i64 0))
%9 = tail call i32 (i8*, ...) @armprintf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.2, i64 0, i64 0), i32 %7)
%10 = uitofp i32 %7 to float
%11 = fmul float %10, 1.000000e+02
%12 = fpext float %11 to double
%13 = fmul double %12, 2.000000e-02
%14 = fptoui double %13 to i32
%15 = add i32 %14, -27315
%16 = tail call i32 (i8*, ...) @armprintf(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.3, i64 0, i64 0), i32 %15, i32 %7)
%17 = tail call i32 @twi_read_word(i8 zeroext 3, i32 7)
%18 = tail call i32 (i8*, ...) @armprintf(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.4, i64 0, i64 0), i32 %17)
%19 = uitofp i32 %17 to float
%20 = fmul float %19, 1.000000e+02
%21 = fpext float %20 to double
%22 = fmul double %21, 2.000000e-02
%23 = fptoui double %22 to i32
%24 = add i32 %23, -27315
%25 = tail call i32 (i8*, ...) @armprintf(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.5, i64 0, i64 0), i32 %24, i32 %17)
%26 = tail call i32 @twi_read_word(i8 zeroext 3, i32 8)
%27 = tail call i32 (i8*, ...) @armprintf(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.6, i64 0, i64 0), i32 %26)
%28 = uitofp i32 %26 to float
%29 = fmul float %28, 1.000000e+02
%30 = fpext float %29 to double
%31 = fmul double %30, 2.000000e-02
%32 = fptoui double %31 to i32
%33 = add i32 %32, -27315
%34 = tail call i32 (i8*, ...) @armprintf(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.7, i64 0, i64 0), i32 %33, i32 %26)
%35 = tail call i32 (i8*, ...) @armprintf(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.8, i64 0, i64 0))
%36 = tail call i32 @twi_read_word(i8 zeroext 4, i32 6)
%37 = tail call i32 (i8*, ...) @armprintf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.2, i64 0, i64 0), i32 %36)
%38 = uitofp i32 %36 to float
%39 = fmul float %38, 1.000000e+02
%40 = fpext float %39 to double
%41 = fmul double %40, 2.000000e-02
%42 = fptoui double %41 to i32
%43 = add i32 %42, -27315
%44 = tail call i32 (i8*, ...) @armprintf(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.3, i64 0, i64 0), i32 %43, i32 %36)
%45 = tail call i32 @twi_read_word(i8 zeroext 4, i32 7)
%46 = tail call i32 (i8*, ...) @armprintf(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.4, i64 0, i64 0), i32 %45)
%47 = uitofp i32 %45 to float
%48 = fmul float %47, 1.000000e+02
%49 = fpext float %48 to double
%50 = fmul double %49, 2.000000e-02
%51 = fptoui double %50 to i32
%52 = add i32 %51, -27315
%53 = tail call i32 (i8*, ...) @armprintf(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.5, i64 0, i64 0), i32 %52, i32 %45)
%54 = tail call i32 @twi_read_word(i8 zeroext 4, i32 8)
%55 = tail call i32 (i8*, ...) @armprintf(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.6, i64 0, i64 0), i32 %54)
%56 = uitofp i32 %54 to float
%57 = fmul float %56, 1.000000e+02
%58 = fpext float %57 to double
%59 = fmul double %58, 2.000000e-02
%60 = fptoui double %59 to i32
%61 = add i32 %60, -27315
%62 = tail call i32 (i8*, ...) @armprintf(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.7, i64 0, i64 0), i32 %61, i32 %54)
br label %1
}