#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 */
scalar_t__ atoi(char *);
int /*<<< orphan*/ printf(char *, ...);
scalar_t__ strtok(char *, char *);
void hr20ParseStatusLine(char *line) {
  if (!line)
    return;
  char *trenner = (char *)strtok(line, " ");
  if (!trenner)
    return;
  if (trenner[0] != 'D') {
    printf("This is no status line\n");
    return;
  }
  trenner = (char *)strtok(NULL, " ");
  if (trenner)
    printf("Weekday: %d\n", trenner[1] - 48);
  trenner = (char *)strtok(NULL, " ");
  if (trenner)
    printf("Date:    %s\n", trenner);
  trenner = (char *)strtok(NULL, " ");
  if (trenner)
    printf("Time:    %s\n", trenner);
  trenner = (char *)strtok(NULL, " ");
  if (trenner[0] == 'M')
    printf("Mode:    manual\n");
  else if (trenner[0] == 'A')
    printf("Mode:    auto\n");
  else
    printf("Mode:    unknown\n");
  trenner = (char *)strtok(NULL, " ");
  trenner = (char *)strtok(NULL, " ");
  if (trenner)
    printf("Valve:   %s%%\n", trenner);
  trenner = (char *)strtok(NULL, " ");
  trenner = (char *)strtok(NULL, " ");
  if (trenner)
    printf("T is:    %.2f C\n", (float)atoi(trenner) / 100);
  trenner = (char *)strtok(NULL, " ");
  trenner = (char *)strtok(NULL, " ");
  if (trenner)
    printf("T set:   %.2f C\n", (float)atoi(trenner) / 100);
  trenner = (char *)strtok(NULL, " ");
  trenner = (char *)strtok(NULL, " ");
  if (trenner)
    printf("Bat:     %.2f V\n", (float)atoi(trenner) / 1000);
  return;
}


x86 assembly (clang, -O0):
<hr20ParseStatusLine>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
mov    %rdi,-0x8(%rbp)
cmpq   $0x0,-0x8(%rbp)
jne    114c <hr20ParseStatusLine+0x1c>
jmp    1401 <hr20ParseStatusLine+0x2d1>
mov    -0x8(%rbp),%rdi
lea    0xeb1(%rip),%rsi
call   1040 <strtok@plt>
mov    %rax,-0x10(%rbp)
cmpq   $0x0,-0x10(%rbp)
jne    1170 <hr20ParseStatusLine+0x40>
jmp    1401 <hr20ParseStatusLine+0x2d1>
mov    -0x10(%rbp),%rax
movsbl (%rax),%eax
cmp    $0x44,%eax
je     1193 <hr20ParseStatusLine+0x63>
lea    0xe83(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    1401 <hr20ParseStatusLine+0x2d1>
xor    %eax,%eax
mov    %eax,%edi
lea    0xe6a(%rip),%rsi
call   1040 <strtok@plt>
mov    %rax,-0x10(%rbp)
cmpq   $0x0,-0x10(%rbp)
je     11cb <hr20ParseStatusLine+0x9b>
mov    -0x10(%rbp),%rax
movsbl 0x1(%rax),%esi
sub    $0x30,%esi
lea    0xe5e(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
xor    %eax,%eax
mov    %eax,%edi
lea    0xe32(%rip),%rsi
call   1040 <strtok@plt>
mov    %rax,-0x10(%rbp)
cmpq   $0x0,-0x10(%rbp)
je     11fc <hr20ParseStatusLine+0xcc>
mov    -0x10(%rbp),%rsi
lea    0xe3a(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
xor    %eax,%eax
mov    %eax,%edi
lea    0xe01(%rip),%rsi
call   1040 <strtok@plt>
mov    %rax,-0x10(%rbp)
cmpq   $0x0,-0x10(%rbp)
je     122d <hr20ParseStatusLine+0xfd>
mov    -0x10(%rbp),%rsi
lea    0xe16(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
xor    %eax,%eax
mov    %eax,%edi
lea    0xdd0(%rip),%rsi
call   1040 <strtok@plt>
mov    %rax,-0x10(%rbp)
mov    -0x10(%rbp),%rax
movsbl (%rax),%eax
cmp    $0x4d,%eax
jne    1264 <hr20ParseStatusLine+0x134>
lea    0xdf1(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    129a <hr20ParseStatusLine+0x16a>
mov    -0x10(%rbp),%rax
movsbl (%rax),%eax
cmp    $0x41,%eax
jne    1287 <hr20ParseStatusLine+0x157>
lea    0xddf(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    1295 <hr20ParseStatusLine+0x165>
lea    0xddb(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    129a <hr20ParseStatusLine+0x16a>
xor    %eax,%eax
mov    %eax,%edi
lea    0xd63(%rip),%rsi
call   1040 <strtok@plt>
mov    %rax,-0x10(%rbp)
xor    %eax,%eax
mov    %eax,%edi
lea    0xd4f(%rip),%rsi
call   1040 <strtok@plt>
mov    %rax,-0x10(%rbp)
cmpq   $0x0,-0x10(%rbp)
je     12df <hr20ParseStatusLine+0x1af>
mov    -0x10(%rbp),%rsi
lea    0xda3(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
xor    %eax,%eax
mov    %eax,%edi
lea    0xd1e(%rip),%rsi
call   1040 <strtok@plt>
mov    %rax,-0x10(%rbp)
xor    %eax,%eax
mov    %eax,%edi
lea    0xd0a(%rip),%rsi
call   1040 <strtok@plt>
mov    %rax,-0x10(%rbp)
cmpq   $0x0,-0x10(%rbp)
je     133e <hr20ParseStatusLine+0x20e>
mov    -0x10(%rbp),%rdi
call   1050 <atoi@plt>
cvtsi2ss %rax,%xmm0
movss  0xcd8(%rip),%xmm1
divss  %xmm1,%xmm0
cvtss2sd %xmm0,%xmm0
lea    0xd53(%rip),%rdi
mov    $0x1,%al
call   1030 <printf@plt>
xor    %eax,%eax
mov    %eax,%edi
lea    0xcbf(%rip),%rsi
call   1040 <strtok@plt>
mov    %rax,-0x10(%rbp)
xor    %eax,%eax
mov    %eax,%edi
lea    0xcab(%rip),%rsi
call   1040 <strtok@plt>
mov    %rax,-0x10(%rbp)
cmpq   $0x0,-0x10(%rbp)
je     139d <hr20ParseStatusLine+0x26d>
mov    -0x10(%rbp),%rdi
call   1050 <atoi@plt>
cvtsi2ss %rax,%xmm0
movss  0xc79(%rip),%xmm1
divss  %xmm1,%xmm0
cvtss2sd %xmm0,%xmm0
lea    0xd05(%rip),%rdi
mov    $0x1,%al
call   1030 <printf@plt>
xor    %eax,%eax
mov    %eax,%edi
lea    0xc60(%rip),%rsi
call   1040 <strtok@plt>
mov    %rax,-0x10(%rbp)
xor    %eax,%eax
mov    %eax,%edi
lea    0xc4c(%rip),%rsi
call   1040 <strtok@plt>
mov    %rax,-0x10(%rbp)
cmpq   $0x0,-0x10(%rbp)
je     13fc <hr20ParseStatusLine+0x2cc>
mov    -0x10(%rbp),%rdi
call   1050 <atoi@plt>
cvtsi2ss %rax,%xmm0
movss  0xc1e(%rip),%xmm1
divss  %xmm1,%xmm0
cvtss2sd %xmm0,%xmm0
lea    0xcb7(%rip),%rdi
mov    $0x1,%al
call   1030 <printf@plt>
jmp    1401 <hr20ParseStatusLine+0x2d1>
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<hr20ParseStatusLine>:
push   %rbx
test   %rdi,%rdi
je     1317 <hr20ParseStatusLine+0x1d7>
lea    0xeb7(%rip),%rsi
call   1050 <strtok@plt>
test   %rax,%rax
je     1317 <hr20ParseStatusLine+0x1d7>
cmpb   $0x44,(%rax)
jne    1319 <hr20ParseStatusLine+0x1d9>
lea    0xe99(%rip),%rsi
xor    %edi,%edi
call   1050 <strtok@plt>
test   %rax,%rax
je     1190 <hr20ParseStatusLine+0x50>
movsbl 0x1(%rax),%esi
add    $0xffffffd0,%esi
lea    0xe81(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xe71(%rip),%rsi
xor    %edi,%edi
call   1050 <strtok@plt>
test   %rax,%rax
je     11b4 <hr20ParseStatusLine+0x74>
lea    0xe6d(%rip),%rdi
mov    %rax,%rsi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xe4d(%rip),%rsi
xor    %edi,%edi
call   1050 <strtok@plt>
test   %rax,%rax
je     11d8 <hr20ParseStatusLine+0x98>
lea    0xe56(%rip),%rdi
mov    %rax,%rsi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xe29(%rip),%rbx
xor    %edi,%edi
mov    %rbx,%rsi
call   1050 <strtok@plt>
mov    (%rax),%al
cmp    $0x41,%al
lea    0xe90(%rip),%rcx
lea    0xe78(%rip),%rdx
cmove  %rcx,%rdx
cmp    $0x4d,%al
lea    0xe8a(%rip),%rdi
cmovne %rdx,%rdi
call   1030 <puts@plt>
xor    %edi,%edi
mov    %rbx,%rsi
call   1050 <strtok@plt>
xor    %edi,%edi
mov    %rbx,%rsi
call   1050 <strtok@plt>
test   %rax,%rax
je     123b <hr20ParseStatusLine+0xfb>
lea    0xe00(%rip),%rdi
mov    %rax,%rsi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xdc6(%rip),%rbx
xor    %edi,%edi
mov    %rbx,%rsi
call   1050 <strtok@plt>
xor    %edi,%edi
mov    %rbx,%rsi
call   1050 <strtok@plt>
test   %rax,%rax
je     1282 <hr20ParseStatusLine+0x142>
mov    %rax,%rdi
call   1060 <atoi@plt>
cvtsi2ss %rax,%xmm0
divss  0xd90(%rip),%xmm0
cvtss2sd %xmm0,%xmm0
lea    0xdc5(%rip),%rdi
mov    $0x1,%al
call   1040 <printf@plt>
lea    0xd7f(%rip),%rbx
xor    %edi,%edi
mov    %rbx,%rsi
call   1050 <strtok@plt>
xor    %edi,%edi
mov    %rbx,%rsi
call   1050 <strtok@plt>
test   %rax,%rax
je     12cc <hr20ParseStatusLine+0x18c>
mov    %rax,%rdi
call   1060 <atoi@plt>
xorps  %xmm0,%xmm0
cvtsi2ss %rax,%xmm0
divss  0xd46(%rip),%xmm0
cvtss2sd %xmm0,%xmm0
lea    0xd8c(%rip),%rdi
mov    $0x1,%al
call   1040 <printf@plt>
lea    0xd35(%rip),%rbx
xor    %edi,%edi
mov    %rbx,%rsi
call   1050 <strtok@plt>
xor    %edi,%edi
mov    %rbx,%rsi
call   1050 <strtok@plt>
test   %rax,%rax
je     1317 <hr20ParseStatusLine+0x1d7>
mov    %rax,%rdi
call   1060 <atoi@plt>
xorps  %xmm0,%xmm0
cvtsi2ss %rax,%xmm0
divss  0xd00(%rip),%xmm0
cvtss2sd %xmm0,%xmm0
lea    0xd53(%rip),%rdi
mov    $0x1,%al
pop    %rbx
jmp    1040 <printf@plt>
pop    %rbx
ret
lea    0xd82(%rip),%rdi
pop    %rbx
jmp    1030 <puts@plt>

LLVM IR (-O0):
@.str = [2 x i8] c" \00"
@.str.1 = [24 x i8] c"This is no status line\0A\00"
@.str.2 = [13 x i8] c"Weekday: %d\0A\00"
@.str.3 = [13 x i8] c"Date: %s\0A\00"
@.str.4 = [13 x i8] c"Time: %s\0A\00"
@.str.5 = [17 x i8] c"Mode: manual\0A\00"
@.str.6 = [15 x i8] c"Mode: auto\0A\00"
@.str.7 = [18 x i8] c"Mode: unknown\0A\00"
@.str.8 = [15 x i8] c"Valve: %s%%\0A\00"
@.str.9 = [17 x i8] c"T is: %.2f C\0A\00"
@.str.10 = [17 x i8] c"T set: %.2f C\0A\00"
@.str.11 = [17 x i8] c"Bat: %.2f V\0A\00"
define void @hr20ParseStatusLine(i8* %0) {
%2 = alloca i8*
%3 = alloca i8*
store i8* %0, i8** %2
%4 = load i8*, i8** %2
%5 = icmp ne i8* %4, null
br i1 %5, label %7, label %6
6: ; preds = %1
br label %124
7: ; preds = %1
%8 = load i8*, i8** %2
%9 = call i64 @strtok(i8* %8, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0))
%10 = inttoptr i64 %9 to i8*
store i8* %10, i8** %3
%11 = load i8*, i8** %3
%12 = icmp ne i8* %11, null
br i1 %12, label %14, label %13
13: ; preds = %7
br label %124
14: ; preds = %7
%15 = load i8*, i8** %3
%16 = getelementptr inbounds i8, i8* %15, i64 0
%17 = load i8, i8* %16
%18 = sext i8 %17 to i32
%19 = icmp ne i32 %18, 68
br i1 %19, label %20, label %22
20: ; preds = %14
%21 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.1, i64 0, i64 0))
br label %124
22: ; preds = %14
%23 = call i64 @strtok(i8* null, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0))
%24 = inttoptr i64 %23 to i8*
store i8* %24, i8** %3
%25 = load i8*, i8** %3
%26 = icmp ne i8* %25, null
br i1 %26, label %27, label %34
27: ; preds = %22
%28 = load i8*, i8** %3
%29 = getelementptr inbounds i8, i8* %28, i64 1
%30 = load i8, i8* %29
%31 = sext i8 %30 to i32
%32 = sub nsw i32 %31, 48
%33 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.2, i64 0, i64 0), i32 %32)
br label %34
34: ; preds = %27, %22
%35 = call i64 @strtok(i8* null, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0))
%36 = inttoptr i64 %35 to i8*
store i8* %36, i8** %3
%37 = load i8*, i8** %3
%38 = icmp ne i8* %37, null
br i1 %38, label %39, label %42
39: ; preds = %34
%40 = load i8*, i8** %3
%41 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.3, i64 0, i64 0), i8* %40)
br label %42
42: ; preds = %39, %34
%43 = call i64 @strtok(i8* null, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0))
%44 = inttoptr i64 %43 to i8*
store i8* %44, i8** %3
%45 = load i8*, i8** %3
%46 = icmp ne i8* %45, null
br i1 %46, label %47, label %50
47: ; preds = %42
%48 = load i8*, i8** %3
%49 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.4, i64 0, i64 0), i8* %48)
br label %50
50: ; preds = %47, %42
%51 = call i64 @strtok(i8* null, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0))
%52 = inttoptr i64 %51 to i8*
store i8* %52, i8** %3
%53 = load i8*, i8** %3
%54 = getelementptr inbounds i8, i8* %53, i64 0
%55 = load i8, i8* %54
%56 = sext i8 %55 to i32
%57 = icmp eq i32 %56, 77
br i1 %57, label %58, label %60
58: ; preds = %50
%59 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.5, i64 0, i64 0))
br label %71
60: ; preds = %50
%61 = load i8*, i8** %3
%62 = getelementptr inbounds i8, i8* %61, i64 0
%63 = load i8, i8* %62
%64 = sext i8 %63 to i32
%65 = icmp eq i32 %64, 65
br i1 %65, label %66, label %68
66: ; preds = %60
%67 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.6, i64 0, i64 0))
br label %70
68: ; preds = %60
%69 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.7, i64 0, i64 0))
br label %70
70: ; preds = %68, %66
br label %71
71: ; preds = %70, %58
%72 = call i64 @strtok(i8* null, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0))
%73 = inttoptr i64 %72 to i8*
store i8* %73, i8** %3
%74 = call i64 @strtok(i8* null, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0))
%75 = inttoptr i64 %74 to i8*
store i8* %75, i8** %3
%76 = load i8*, i8** %3
%77 = icmp ne i8* %76, null
br i1 %77, label %78, label %81
78: ; preds = %71
%79 = load i8*, i8** %3
%80 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.8, i64 0, i64 0), i8* %79)
br label %81
81: ; preds = %78, %71
%82 = call i64 @strtok(i8* null, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0))
%83 = inttoptr i64 %82 to i8*
store i8* %83, i8** %3
%84 = call i64 @strtok(i8* null, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0))
%85 = inttoptr i64 %84 to i8*
store i8* %85, i8** %3
%86 = load i8*, i8** %3
%87 = icmp ne i8* %86, null
br i1 %87, label %88, label %95
88: ; preds = %81
%89 = load i8*, i8** %3
%90 = call i64 @atoi(i8* %89)
%91 = sitofp i64 %90 to float
%92 = fdiv float %91, 1.000000e+02
%93 = fpext float %92 to double
%94 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.9, i64 0, i64 0), double %93)
br label %95
95: ; preds = %88, %81
%96 = call i64 @strtok(i8* null, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0))
%97 = inttoptr i64 %96 to i8*
store i8* %97, i8** %3
%98 = call i64 @strtok(i8* null, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0))
%99 = inttoptr i64 %98 to i8*
store i8* %99, i8** %3
%100 = load i8*, i8** %3
%101 = icmp ne i8* %100, null
br i1 %101, label %102, label %109
102: ; preds = %95
%103 = load i8*, i8** %3
%104 = call i64 @atoi(i8* %103)
%105 = sitofp i64 %104 to float
%106 = fdiv float %105, 1.000000e+02
%107 = fpext float %106 to double
%108 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.10, i64 0, i64 0), double %107)
br label %109
109: ; preds = %102, %95
%110 = call i64 @strtok(i8* null, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0))
%111 = inttoptr i64 %110 to i8*
store i8* %111, i8** %3
%112 = call i64 @strtok(i8* null, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0))
%113 = inttoptr i64 %112 to i8*
store i8* %113, i8** %3
%114 = load i8*, i8** %3
%115 = icmp ne i8* %114, null
br i1 %115, label %116, label %123
116: ; preds = %109
%117 = load i8*, i8** %3
%118 = call i64 @atoi(i8* %117)
%119 = sitofp i64 %118 to float
%120 = fdiv float %119, 1.000000e+03
%121 = fpext float %120 to double
%122 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.11, i64 0, i64 0), double %121)
br label %123
123: ; preds = %116, %109
br label %124
124: ; preds = %123, %20, %13, %6
ret void
}

LLVM IR (-O2):
@.str = [2 x i8] c" \00"
@.str.2 = [13 x i8] c"Weekday: %d\0A\00"
@.str.3 = [13 x i8] c"Date: %s\0A\00"
@.str.4 = [13 x i8] c"Time: %s\0A\00"
@.str.8 = [15 x i8] c"Valve: %s%%\0A\00"
@.str.9 = [17 x i8] c"T is: %.2f C\0A\00"
@.str.10 = [17 x i8] c"T set: %.2f C\0A\00"
@.str.11 = [17 x i8] c"Bat: %.2f V\0A\00"
@str = [17 x i8] c"Mode: unknown\00"
@str.12 = [14 x i8] c"Mode: auto\00"
@str.13 = [16 x i8] c"Mode: manual\00"
@str.14 = [23 x i8] c"This is no status line\00"
define void @hr20ParseStatusLine(i8* %0) {
%2 = icmp eq i8* %0, null
br i1 %2, label %82, label %3
3: ; preds = %1
%4 = tail call i64 @strtok(i8* %0, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0))
%5 = icmp eq i64 %4, 0
br i1 %5, label %82, label %6
6: ; preds = %3
%7 = inttoptr i64 %4 to i8*
%8 = load i8, i8* %7
%9 = icmp eq i8 %8, 68
br i1 %9, label %12, label %10
10: ; preds = %6
%11 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([23 x i8], [23 x i8]* @str.14, i64 0, i64 0))
br label %82
12: ; preds = %6
%13 = tail call i64 @strtok(i8* null, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0))
%14 = icmp eq i64 %13, 0
br i1 %14, label %22, label %15
15: ; preds = %12
%16 = inttoptr i64 %13 to i8*
%17 = getelementptr inbounds i8, i8* %16, i64 1
%18 = load i8, i8* %17
%19 = sext i8 %18 to i32
%20 = add nsw i32 %19, -48
%21 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([13 x i8], [13 x i8]* @.str.2, i64 0, i64 0), i32 %20)
br label %22
22: ; preds = %15, %12
%23 = tail call i64 @strtok(i8* null, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0))
%24 = icmp eq i64 %23, 0
br i1 %24, label %28, label %25
25: ; preds = %22
%26 = inttoptr i64 %23 to i8*
%27 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([13 x i8], [13 x i8]* @.str.3, i64 0, i64 0), i8* %26)
br label %28
28: ; preds = %25, %22
%29 = tail call i64 @strtok(i8* null, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0))
%30 = icmp eq i64 %29, 0
br i1 %30, label %34, label %31
31: ; preds = %28
%32 = inttoptr i64 %29 to i8*
%33 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([13 x i8], [13 x i8]* @.str.4, i64 0, i64 0), i8* %32)
br label %34
34: ; preds = %31, %28
%35 = tail call i64 @strtok(i8* null, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0))
%36 = inttoptr i64 %35 to i8*
%37 = load i8, i8* %36
%38 = icmp eq i8 %37, 65
%39 = select i1 %38, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @str.12, i64 0, i64 0), i8* getelementptr inbounds ([17 x i8], [17 x i8]* @str, i64 0, i64 0)
%40 = icmp eq i8 %37, 77
%41 = select i1 %40, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @str.13, i64 0, i64 0), i8* %39
%42 = tail call i32 @puts(i8* dereferenceable(1) %41)
%43 = tail call i64 @strtok(i8* null, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0))
%44 = tail call i64 @strtok(i8* null, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0))
%45 = icmp eq i64 %44, 0
br i1 %45, label %49, label %46
46: ; preds = %34
%47 = inttoptr i64 %44 to i8*
%48 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([15 x i8], [15 x i8]* @.str.8, i64 0, i64 0), i8* %47)
br label %49
49: ; preds = %46, %34
%50 = tail call i64 @strtok(i8* null, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0))
%51 = tail call i64 @strtok(i8* null, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0))
%52 = icmp eq i64 %51, 0
br i1 %52, label %60, label %53
53: ; preds = %49
%54 = inttoptr i64 %51 to i8*
%55 = tail call i64 @atoi(i8* %54)
%56 = sitofp i64 %55 to float
%57 = fdiv float %56, 1.000000e+02
%58 = fpext float %57 to double
%59 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([17 x i8], [17 x i8]* @.str.9, i64 0, i64 0), double %58)
br label %60
60: ; preds = %53, %49
%61 = tail call i64 @strtok(i8* null, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0))
%62 = tail call i64 @strtok(i8* null, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0))
%63 = icmp eq i64 %62, 0
br i1 %63, label %71, label %64
64: ; preds = %60
%65 = inttoptr i64 %62 to i8*
%66 = tail call i64 @atoi(i8* %65)
%67 = sitofp i64 %66 to float
%68 = fdiv float %67, 1.000000e+02
%69 = fpext float %68 to double
%70 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([17 x i8], [17 x i8]* @.str.10, i64 0, i64 0), double %69)
br label %71
71: ; preds = %64, %60
%72 = tail call i64 @strtok(i8* null, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0))
%73 = tail call i64 @strtok(i8* null, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0))
%74 = icmp eq i64 %73, 0
br i1 %74, label %82, label %75
75: ; preds = %71
%76 = inttoptr i64 %73 to i8*
%77 = tail call i64 @atoi(i8* %76)
%78 = sitofp i64 %77 to float
%79 = fdiv float %78, 1.000000e+03
%80 = fpext float %79 to double
%81 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([17 x i8], [17 x i8]* @.str.11, i64 0, i64 0), double %80)
br label %82
82: ; preds = %10, %3, %75, %71, %1
ret void
}