#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 */
double DecaPower(int);
scalar_t__ atoi(char *);
int /*<<< orphan*/ printf(char *, char *, char *, char *, double, double,
                          double);
int /*<<< orphan*/ strcpy(char *, char *);
int strlen(char *);
void RF_Parsing5(char *Data, double *PID_P, double *PID_I, double *PID_D,
                 double *PID_cmd) {
  int i, j, k, token_cnt = 0;
  int comm_check = 0;
  int comm_posi = 0;
  char temp[10] = "'\0',";
  char S_PID_P[10] = "'\0',";
  char S_PID_I[10] = "'\0',";
  char S_PID_D[10] = "'\0',";
  char S_PID_cmd[10] = "'\0',";
  for (i = 0, token_cnt = 0; i < strlen(Data); i++) {
    for (j = 0; ((Data[i + j] != ',') && (Data[i + j] != '*')); j++) {
      temp[j] = Data[i + j];
      if (temp[j] == '\0') {
        break;
      }
    }
    temp[j] = '\0';
    for (k = 0; k < strlen(temp); k++) {
      if (temp[k] == '.')
        comm_check = 1;
      if (comm_check == 1) {
        temp[k] = temp[k + 1];
        comm_posi += 1;
      }
    }
    comm_check = 0;
    switch (token_cnt) {
    case 1:
      strcpy(S_PID_P, temp);
      *PID_P = (((double)atoi(S_PID_P)) / DecaPower(comm_posi));
      comm_posi = 0;
      break;
    case 2:
      strcpy(S_PID_I, temp);
      *PID_I = (((double)atoi(S_PID_I)) / DecaPower(comm_posi));
      comm_posi = 0;
      break;
    case 3:
      strcpy(S_PID_D, temp);
      *PID_D = (((double)atoi(S_PID_D)) / DecaPower(comm_posi));
      comm_posi = 0;
      break;
    case 4:
      strcpy(S_PID_cmd, temp);
      *PID_cmd = (((double)atoi(S_PID_cmd)) / DecaPower(comm_posi));
      comm_posi = 0;
      break;
    }
    token_cnt++;
    i += j;
    printf("%s, %s, %s, %.4f,%.4f,%.4f\n", S_PID_P, S_PID_I, S_PID_D, *PID_P,
           *PID_I, *PID_D);
  }
}


x86 assembly (clang, -O0):
<RF_Parsing5>:
push   %rbp
mov    %rsp,%rbp
sub    $0xb0,%rsp
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    %rdx,-0x18(%rbp)
mov    %rcx,-0x20(%rbp)
mov    %r8,-0x28(%rbp)
movl   $0x0,-0x38(%rbp)
movl   $0x0,-0x3c(%rbp)
movl   $0x0,-0x40(%rbp)
mov    0xe85(%rip),%rax
mov    %rax,-0x4a(%rbp)
mov    0xe82(%rip),%ax
mov    %ax,-0x42(%rbp)
mov    0xe79(%rip),%rax
mov    %rax,-0x54(%rbp)
mov    0xe76(%rip),%ax
mov    %ax,-0x4c(%rbp)
mov    0xe6d(%rip),%rax
mov    %rax,-0x5e(%rbp)
mov    0xe6a(%rip),%ax
mov    %ax,-0x56(%rbp)
mov    0xe61(%rip),%rax
mov    %rax,-0x68(%rbp)
mov    0xe5e(%rip),%ax
mov    %ax,-0x60(%rbp)
mov    0xe55(%rip),%rax
mov    %rax,-0x72(%rbp)
mov    0xe52(%rip),%ax
mov    %ax,-0x6a(%rbp)
movl   $0x0,-0x2c(%rbp)
movl   $0x0,-0x38(%rbp)
mov    -0x2c(%rbp),%eax
mov    %eax,-0x78(%rbp)
mov    -0x8(%rbp),%rdi
call   1040 <strlen@plt>
mov    %eax,%ecx
mov    -0x78(%rbp),%eax
cmp    %ecx,%eax
jge    14e6 <RF_Parsing5+0x396>
movl   $0x0,-0x30(%rbp)
mov    -0x8(%rbp),%rax
mov    -0x2c(%rbp),%ecx
add    -0x30(%rbp),%ecx
movslq %ecx,%rcx
movsbl (%rax,%rcx,1),%ecx
xor    %eax,%eax
cmp    $0x2c,%ecx
mov    %al,-0x79(%rbp)
je     125c <RF_Parsing5+0x10c>
mov    -0x8(%rbp),%rax
mov    -0x2c(%rbp),%ecx
add    -0x30(%rbp),%ecx
movslq %ecx,%rcx
movsbl (%rax,%rcx,1),%eax
cmp    $0x2a,%eax
setne  %al
mov    %al,-0x79(%rbp)
mov    -0x79(%rbp),%al
test   $0x1,%al
jne    126c <RF_Parsing5+0x11c>
jmp    12ae <RF_Parsing5+0x15e>
mov    -0x8(%rbp),%rax
mov    -0x2c(%rbp),%ecx
add    -0x30(%rbp),%ecx
movslq %ecx,%rcx
mov    (%rax,%rcx,1),%cl
movslq -0x30(%rbp),%rax
mov    %cl,-0x4a(%rbp,%rax,1)
movslq -0x30(%rbp),%rax
movsbl -0x4a(%rbp,%rax,1),%eax
cmp    $0x0,%eax
jne    129b <RF_Parsing5+0x14b>
jmp    12ae <RF_Parsing5+0x15e>
jmp    12a0 <RF_Parsing5+0x150>
mov    -0x30(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x30(%rbp)
jmp    1223 <RF_Parsing5+0xd3>
movslq -0x30(%rbp),%rax
movb   $0x0,-0x4a(%rbp,%rax,1)
movl   $0x0,-0x34(%rbp)
mov    -0x34(%rbp),%eax
mov    %eax,-0x80(%rbp)
lea    -0x4a(%rbp),%rdi
call   1040 <strlen@plt>
mov    %eax,%ecx
mov    -0x80(%rbp),%eax
cmp    %ecx,%eax
jge    132d <RF_Parsing5+0x1dd>
movslq -0x34(%rbp),%rax
movsbl -0x4a(%rbp,%rax,1),%eax
cmp    $0x2e,%eax
jne    12f3 <RF_Parsing5+0x1a3>
movl   $0x1,-0x3c(%rbp)
cmpl   $0x1,-0x3c(%rbp)
jne    131a <RF_Parsing5+0x1ca>
mov    -0x34(%rbp),%eax
add    $0x1,%eax
cltq
mov    -0x4a(%rbp,%rax,1),%cl
movslq -0x34(%rbp),%rax
mov    %cl,-0x4a(%rbp,%rax,1)
mov    -0x40(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x40(%rbp)
jmp    131f <RF_Parsing5+0x1cf>
mov    -0x34(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x34(%rbp)
jmp    12be <RF_Parsing5+0x16e>
movl   $0x0,-0x3c(%rbp)
mov    -0x38(%rbp),%eax
add    $0xffffffff,%eax
mov    %eax,%ecx
mov    %rcx,-0x88(%rbp)
sub    $0x3,%eax
ja     1496 <RF_Parsing5+0x346>
mov    -0x88(%rbp),%rax
lea    0xca6(%rip),%rcx
movslq (%rcx,%rax,4),%rax
add    %rcx,%rax
jmp    *%rax
lea    -0x54(%rbp),%rdi
lea    -0x4a(%rbp),%rsi
call   1030 <strcpy@plt>
lea    -0x54(%rbp),%rdi
call   1060 <atoi@plt>
cvtsi2sd %rax,%xmm0
movsd  %xmm0,-0x90(%rbp)
ff
mov    -0x40(%rbp),%edi
call   1070 <DecaPower@plt>
movaps %xmm0,%xmm1
movsd  -0x90(%rbp),%xmm0
ff
divsd  %xmm1,%xmm0
mov    -0x10(%rbp),%rax
movsd  %xmm0,(%rax)
movl   $0x0,-0x40(%rbp)
jmp    1496 <RF_Parsing5+0x346>
lea    -0x5e(%rbp),%rdi
lea    -0x4a(%rbp),%rsi
call   1030 <strcpy@plt>
lea    -0x5e(%rbp),%rdi
call   1060 <atoi@plt>
cvtsi2sd %rax,%xmm0
movsd  %xmm0,-0x98(%rbp)
ff
mov    -0x40(%rbp),%edi
call   1070 <DecaPower@plt>
movaps %xmm0,%xmm1
movsd  -0x98(%rbp),%xmm0
ff
divsd  %xmm1,%xmm0
mov    -0x18(%rbp),%rax
movsd  %xmm0,(%rax)
movl   $0x0,-0x40(%rbp)
jmp    1496 <RF_Parsing5+0x346>
lea    -0x68(%rbp),%rdi
lea    -0x4a(%rbp),%rsi
call   1030 <strcpy@plt>
lea    -0x68(%rbp),%rdi
call   1060 <atoi@plt>
cvtsi2sd %rax,%xmm0
movsd  %xmm0,-0xa0(%rbp)
ff
mov    -0x40(%rbp),%edi
call   1070 <DecaPower@plt>
movaps %xmm0,%xmm1
movsd  -0xa0(%rbp),%xmm0
ff
divsd  %xmm1,%xmm0
mov    -0x20(%rbp),%rax
movsd  %xmm0,(%rax)
movl   $0x0,-0x40(%rbp)
jmp    1496 <RF_Parsing5+0x346>
lea    -0x72(%rbp),%rdi
lea    -0x4a(%rbp),%rsi
call   1030 <strcpy@plt>
lea    -0x72(%rbp),%rdi
call   1060 <atoi@plt>
cvtsi2sd %rax,%xmm0
movsd  %xmm0,-0xa8(%rbp)
ff
mov    -0x40(%rbp),%edi
call   1070 <DecaPower@plt>
movaps %xmm0,%xmm1
movsd  -0xa8(%rbp),%xmm0
ff
divsd  %xmm1,%xmm0
mov    -0x28(%rbp),%rax
movsd  %xmm0,(%rax)
movl   $0x0,-0x40(%rbp)
mov    -0x38(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x38(%rbp)
mov    -0x30(%rbp),%eax
add    -0x2c(%rbp),%eax
mov    %eax,-0x2c(%rbp)
lea    -0x54(%rbp),%rsi
lea    -0x5e(%rbp),%rdx
lea    -0x68(%rbp),%rcx
mov    -0x10(%rbp),%rax
movsd  (%rax),%xmm0
mov    -0x18(%rbp),%rax
movsd  (%rax),%xmm1
mov    -0x20(%rbp),%rax
movsd  (%rax),%xmm2
lea    0xb6f(%rip),%rdi
call   1050 <printf@plt>
mov    -0x2c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x2c(%rbp)
jmp    1200 <RF_Parsing5+0xb0>
add    $0xb0,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<RF_Parsing5>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x88,%rsp
mov    %r8,0x70(%rsp)
mov    %rcx,0x50(%rsp)
mov    %rdx,0x48(%rsp)
mov    %rsi,0x58(%rsp)
mov    %rdi,%r15
movw   $0x0,0x8(%rsp)
movq   $0x2c270027,(%rsp)
2c
movw   $0x0,0x40(%rsp)
movq   $0x2c270027,0x38(%rsp)
27 2c
movw   $0x0,0x30(%rsp)
movq   $0x2c270027,0x28(%rsp)
27 2c
movw   $0x0,0x20(%rsp)
movq   $0x2c270027,0x18(%rsp)
27 2c
movw   $0x0,0x68(%rsp)
movq   $0x2c270027,0x60(%rsp)
27 2c
call   1040 <strlen@plt>
test   %eax,%eax
jle    138f <RF_Parsing5+0x23f>
xor    %r14d,%r14d
mov    %rsp,%r12
xor    %eax,%eax
mov    %rax,0x10(%rsp)
xor    %ebx,%ebx
jmp    1298 <RF_Parsing5+0x148>
nopl   0x0(%rax,%rax,1)
lea    0x60(%rsp),%r15
mov    0x70(%rsp),%rbx
mov    %r15,%rdi
mov    %r12,%rsi
call   1030 <strcpy@plt>
mov    %r15,%rdi
call   1060 <atoi@plt>
xorps  %xmm0,%xmm0
cvtsi2sd %rax,%xmm0
movsd  %xmm0,0x78(%rsp)
mov    %r14d,%edi
call   1070 <DecaPower@plt>
movsd  0x78(%rsp),%xmm1
divsd  %xmm0,%xmm1
movsd  %xmm1,(%rbx)
xor    %r14d,%r14d
mov    %rbp,%r15
mov    0x10(%rsp),%rax
add    $0x1,%eax
mov    %rax,0x10(%rsp)
mov    0x58(%rsp),%rax
movsd  (%rax),%xmm0
mov    0x48(%rsp),%rax
movsd  (%rax),%xmm1
mov    0x50(%rsp),%rax
movsd  (%rax),%xmm2
lea    0xdb4(%rip),%rdi
lea    0x38(%rsp),%rsi
lea    0x28(%rsp),%rdx
lea    0x18(%rsp),%rcx
call   1050 <printf@plt>
mov    0x80(%rsp),%rbx
add    %r13d,%ebx
add    $0x1,%ebx
mov    %r15,%rdi
call   1040 <strlen@plt>
cmp    %eax,%ebx
jge    138f <RF_Parsing5+0x23f>
movslq %ebx,%rax
add    %r15,%rax
xor    %r13d,%r13d
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax,%rax,1)
movzbl (%rax,%r13,1),%ecx
cmp    $0x2a,%cl
je     12d0 <RF_Parsing5+0x180>
cmp    $0x2c,%cl
je     12d0 <RF_Parsing5+0x180>
mov    %cl,(%rsp,%r13,1)
test   %cl,%cl
je     12d0 <RF_Parsing5+0x180>
add    $0x1,%r13
jmp    12b0 <RF_Parsing5+0x160>
nopl   (%rax)
mov    %r13d,%eax
movb   $0x0,(%rsp,%rax,1)
mov    %r12,%rdi
call   1040 <strlen@plt>
test   %eax,%eax
mov    %rbx,0x80(%rsp)
jle    1340 <RF_Parsing5+0x1f0>
xor    %eax,%eax
xor    %ebx,%ebx
jmp    1313 <RF_Parsing5+0x1c3>
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax,%rax,1)
mov    %r12,%rdi
call   1040 <strlen@plt>
movslq %eax,%rcx
mov    %rbp,%rax
cmp    %rcx,%rbp
jge    1340 <RF_Parsing5+0x1f0>
cmpb   $0x2e,(%rsp,%rax,1)
mov    $0x1,%ecx
cmove  %ecx,%ebx
lea    0x1(%rax),%rbp
cmp    $0x1,%ebx
jne    1300 <RF_Parsing5+0x1b0>
movzbl 0x1(%rsp,%rax,1),%ecx
mov    %cl,(%rsp,%rax,1)
add    $0x1,%r14d
jmp    1300 <RF_Parsing5+0x1b0>
cs nopw 0x0(%rax,%rax,1)
mov    0x10(%rsp),%rax
add    $0xffffffff,%eax
cmp    $0x3,%eax
ja     1237 <RF_Parsing5+0xe7>
mov    %r15,%rbp
lea    0xca5(%rip),%rcx
movslq (%rcx,%rax,4),%rax
add    %rcx,%rax
lea    0x38(%rsp),%r15
mov    0x58(%rsp),%rbx
jmp    *%rax
lea    0x28(%rsp),%r15
mov    0x48(%rsp),%rbx
jmp    11fa <RF_Parsing5+0xaa>
nopl   (%rax)
lea    0x18(%rsp),%r15
mov    0x50(%rsp),%rbx
jmp    11fa <RF_Parsing5+0xaa>
add    $0x88,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@__const.RF_Parsing5.temp = [10 x i8] c"'\00',\00\00\00\00\00\00"
@__const.RF_Parsing5.S_PID_P = [10 x i8] c"'\00',\00\00\00\00\00\00"
@__const.RF_Parsing5.S_PID_I = [10 x i8] c"'\00',\00\00\00\00\00\00"
@__const.RF_Parsing5.S_PID_D = [10 x i8] c"'\00',\00\00\00\00\00\00"
@__const.RF_Parsing5.S_PID_cmd = [10 x i8] c"'\00',\00\00\00\00\00\00"
@.str = [28 x i8] c"%s, %s, %s, %.4f,%.4f,%.4f\0A\00"
define void @RF_Parsing5(i8* %0, double* %1, double* %2, double* %3, double* %4) {
%6 = alloca i8*
%7 = alloca double*
%8 = alloca double*
%9 = alloca double*
%10 = alloca double*
%11 = alloca i32
%12 = alloca i32
%13 = alloca i32
%14 = alloca i32
%15 = alloca i32
%16 = alloca i32
%17 = alloca [10 x i8]
%18 = alloca [10 x i8]
%19 = alloca [10 x i8]
%20 = alloca [10 x i8]
%21 = alloca [10 x i8]
store i8* %0, i8** %6
store double* %1, double** %7
store double* %2, double** %8
store double* %3, double** %9
store double* %4, double** %10
store i32 0, i32* %14
store i32 0, i32* %15
store i32 0, i32* %16
%22 = bitcast [10 x i8]* %17 to i8*
%23 = bitcast [10 x i8]* %18 to i8*
%24 = bitcast [10 x i8]* %19 to i8*
%25 = bitcast [10 x i8]* %20 to i8*
%26 = bitcast [10 x i8]* %21 to i8*
store i32 0, i32* %11
store i32 0, i32* %14
br label %27
27: ; preds = %174, %5
%28 = load i32, i32* %11
%29 = load i8*, i8** %6
%30 = call i32 @strlen(i8* %29)
%31 = icmp slt i32 %28, %30
br i1 %31, label %32, label %177
32: ; preds = %27
store i32 0, i32* %12
br label %33
33: ; preds = %74, %32
%34 = load i8*, i8** %6
%35 = load i32, i32* %11
%36 = load i32, i32* %12
%37 = add nsw i32 %35, %36
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds i8, i8* %34, i64 %38
%40 = load i8, i8* %39
%41 = sext i8 %40 to i32
%42 = icmp ne i32 %41, 44
br i1 %42, label %43, label %53
43: ; preds = %33
%44 = load i8*, i8** %6
%45 = load i32, i32* %11
%46 = load i32, i32* %12
%47 = add nsw i32 %45, %46
%48 = sext i32 %47 to i64
%49 = getelementptr inbounds i8, i8* %44, i64 %48
%50 = load i8, i8* %49
%51 = sext i8 %50 to i32
%52 = icmp ne i32 %51, 42
br label %53
53: ; preds = %43, %33
%54 = phi i1 [ false, %33 ], [ %52, %43 ]
br i1 %54, label %55, label %77
55: ; preds = %53
%56 = load i8*, i8** %6
%57 = load i32, i32* %11
%58 = load i32, i32* %12
%59 = add nsw i32 %57, %58
%60 = sext i32 %59 to i64
%61 = getelementptr inbounds i8, i8* %56, i64 %60
%62 = load i8, i8* %61
%63 = load i32, i32* %12
%64 = sext i32 %63 to i64
%65 = getelementptr inbounds [10 x i8], [10 x i8]* %17, i64 0, i64 %64
store i8 %62, i8* %65
%66 = load i32, i32* %12
%67 = sext i32 %66 to i64
%68 = getelementptr inbounds [10 x i8], [10 x i8]* %17, i64 0, i64 %67
%69 = load i8, i8* %68
%70 = sext i8 %69 to i32
%71 = icmp eq i32 %70, 0
br i1 %71, label %72, label %73
72: ; preds = %55
br label %77
73: ; preds = %55
br label %74
74: ; preds = %73
%75 = load i32, i32* %12
%76 = add nsw i32 %75, 1
store i32 %76, i32* %12
br label %33
77: ; preds = %72, %53
%78 = load i32, i32* %12
%79 = sext i32 %78 to i64
%80 = getelementptr inbounds [10 x i8], [10 x i8]* %17, i64 0, i64 %79
store i8 0, i8* %80
store i32 0, i32* %13
br label %81
81: ; preds = %109, %77
%82 = load i32, i32* %13
%83 = getelementptr inbounds [10 x i8], [10 x i8]* %17, i64 0, i64 0
%84 = call i32 @strlen(i8* %83)
%85 = icmp slt i32 %82, %84
br i1 %85, label %86, label %112
86: ; preds = %81
%87 = load i32, i32* %13
%88 = sext i32 %87 to i64
%89 = getelementptr inbounds [10 x i8], [10 x i8]* %17, i64 0, i64 %88
%90 = load i8, i8* %89
%91 = sext i8 %90 to i32
%92 = icmp eq i32 %91, 46
br i1 %92, label %93, label %94
93: ; preds = %86
store i32 1, i32* %15
br label %94
94: ; preds = %93, %86
%95 = load i32, i32* %15
%96 = icmp eq i32 %95, 1
br i1 %96, label %97, label %108
97: ; preds = %94
%98 = load i32, i32* %13
%99 = add nsw i32 %98, 1
%100 = sext i32 %99 to i64
%101 = getelementptr inbounds [10 x i8], [10 x i8]* %17, i64 0, i64 %100
%102 = load i8, i8* %101
%103 = load i32, i32* %13
%104 = sext i32 %103 to i64
%105 = getelementptr inbounds [10 x i8], [10 x i8]* %17, i64 0, i64 %104
store i8 %102, i8* %105
%106 = load i32, i32* %16
%107 = add nsw i32 %106, 1
store i32 %107, i32* %16
br label %108
108: ; preds = %97, %94
br label %109
109: ; preds = %108
%110 = load i32, i32* %13
%111 = add nsw i32 %110, 1
store i32 %111, i32* %13
br label %81
112: ; preds = %81
store i32 0, i32* %15
%113 = load i32, i32* %14
switch i32 %113, label %158 [
i32 1, label %114
i32 2, label %125
i32 3, label %136
i32 4, label %147
]
114: ; preds = %112
%115 = getelementptr inbounds [10 x i8], [10 x i8]* %18, i64 0, i64 0
%116 = getelementptr inbounds [10 x i8], [10 x i8]* %17, i64 0, i64 0
%117 = call i32 @strcpy(i8* %115, i8* %116)
%118 = getelementptr inbounds [10 x i8], [10 x i8]* %18, i64 0, i64 0
%119 = call i64 @atoi(i8* %118)
%120 = sitofp i64 %119 to double
%121 = load i32, i32* %16
%122 = call double @DecaPower(i32 %121)
%123 = fdiv double %120, %122
%124 = load double*, double** %7
store double %123, double* %124
store i32 0, i32* %16
br label %158
125: ; preds = %112
%126 = getelementptr inbounds [10 x i8], [10 x i8]* %19, i64 0, i64 0
%127 = getelementptr inbounds [10 x i8], [10 x i8]* %17, i64 0, i64 0
%128 = call i32 @strcpy(i8* %126, i8* %127)
%129 = getelementptr inbounds [10 x i8], [10 x i8]* %19, i64 0, i64 0
%130 = call i64 @atoi(i8* %129)
%131 = sitofp i64 %130 to double
%132 = load i32, i32* %16
%133 = call double @DecaPower(i32 %132)
%134 = fdiv double %131, %133
%135 = load double*, double** %8
store double %134, double* %135
store i32 0, i32* %16
br label %158
136: ; preds = %112
%137 = getelementptr inbounds [10 x i8], [10 x i8]* %20, i64 0, i64 0
%138 = getelementptr inbounds [10 x i8], [10 x i8]* %17, i64 0, i64 0
%139 = call i32 @strcpy(i8* %137, i8* %138)
%140 = getelementptr inbounds [10 x i8], [10 x i8]* %20, i64 0, i64 0
%141 = call i64 @atoi(i8* %140)
%142 = sitofp i64 %141 to double
%143 = load i32, i32* %16
%144 = call double @DecaPower(i32 %143)
%145 = fdiv double %142, %144
%146 = load double*, double** %9
store double %145, double* %146
store i32 0, i32* %16
br label %158
147: ; preds = %112
%148 = getelementptr inbounds [10 x i8], [10 x i8]* %21, i64 0, i64 0
%149 = getelementptr inbounds [10 x i8], [10 x i8]* %17, i64 0, i64 0
%150 = call i32 @strcpy(i8* %148, i8* %149)
%151 = getelementptr inbounds [10 x i8], [10 x i8]* %21, i64 0, i64 0
%152 = call i64 @atoi(i8* %151)
%153 = sitofp i64 %152 to double
%154 = load i32, i32* %16
%155 = call double @DecaPower(i32 %154)
%156 = fdiv double %153, %155
%157 = load double*, double** %10
store double %156, double* %157
store i32 0, i32* %16
br label %158
158: ; preds = %112, %147, %136, %125, %114
%159 = load i32, i32* %14
%160 = add nsw i32 %159, 1
store i32 %160, i32* %14
%161 = load i32, i32* %12
%162 = load i32, i32* %11
%163 = add nsw i32 %162, %161
store i32 %163, i32* %11
%164 = getelementptr inbounds [10 x i8], [10 x i8]* %18, i64 0, i64 0
%165 = getelementptr inbounds [10 x i8], [10 x i8]* %19, i64 0, i64 0
%166 = getelementptr inbounds [10 x i8], [10 x i8]* %20, i64 0, i64 0
%167 = load double*, double** %7
%168 = load double, double* %167
%169 = load double*, double** %8
%170 = load double, double* %169
%171 = load double*, double** %9
%172 = load double, double* %171
%173 = call i32 @printf(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str, i64 0, i64 0), i8* %164, i8* %165, i8* %166, double %168, double %170, double %172)
br label %174
174: ; preds = %158
%175 = load i32, i32* %11
%176 = add nsw i32 %175, 1
store i32 %176, i32* %11
br label %27
177: ; preds = %27
ret void
}

LLVM IR (-O2):
@__const.RF_Parsing5.S_PID_cmd = [10 x i8] c"'\00',\00\00\00\00\00\00"
@.str = [28 x i8] c"%s, %s, %s, %.4f,%.4f,%.4f\0A\00"
define void @RF_Parsing5(i8* %0, double* nocapture %1, double* nocapture %2, double* nocapture %3, double* nocapture writeonly %4) {
%6 = alloca [10 x i8]
%7 = alloca [10 x i8]
%8 = alloca [10 x i8]
%9 = alloca [10 x i8]
%10 = alloca [10 x i8]
%11 = getelementptr inbounds [10 x i8], [10 x i8]* %6, i64 0, i64 0
%12 = getelementptr inbounds [10 x i8], [10 x i8]* %7, i64 0, i64 0
%13 = getelementptr inbounds [10 x i8], [10 x i8]* %8, i64 0, i64 0
%14 = getelementptr inbounds [10 x i8], [10 x i8]* %9, i64 0, i64 0
%15 = getelementptr inbounds [10 x i8], [10 x i8]* %10, i64 0, i64 0
%16 = call i32 @strlen(i8* %0)
%17 = icmp sgt i32 %16, 0
br i1 %17, label %18, label %81
18: ; preds = %5, %71
%19 = phi i32 [ %72, %71 ], [ 0, %5 ]
%20 = phi i32 [ %73, %71 ], [ 0, %5 ]
%21 = phi i32 [ %78, %71 ], [ 0, %5 ]
%22 = sext i32 %21 to i64
br label %23
23: ; preds = %18, %31
%24 = phi i64 [ 0, %18 ], [ %32, %31 ]
%25 = add nsw i64 %24, %22
%26 = getelementptr inbounds i8, i8* %0, i64 %25
%27 = load i8, i8* %26
switch i8 %27, label %28 [
i8 44, label %33
i8 42, label %33
]
28: ; preds = %23
%29 = getelementptr inbounds [10 x i8], [10 x i8]* %6, i64 0, i64 %24
store i8 %27, i8* %29
%30 = icmp eq i8 %27, 0
br i1 %30, label %33, label %31
31: ; preds = %28
%32 = add nuw i64 %24, 1
br label %23
33: ; preds = %23, %23, %28
%34 = trunc i64 %25 to i32
%35 = and i64 %24, 4294967295
%36 = getelementptr inbounds [10 x i8], [10 x i8]* %6, i64 0, i64 %35
store i8 0, i8* %36
%37 = call i32 @strlen(i8* %11)
%38 = icmp sgt i32 %37, 0
br i1 %38, label %39, label %58
39: ; preds = %33, %53
%40 = phi i64 [ %48, %53 ], [ 0, %33 ]
%41 = phi i32 [ %54, %53 ], [ %19, %33 ]
%42 = phi i32 [ %46, %53 ], [ 0, %33 ]
%43 = getelementptr inbounds [10 x i8], [10 x i8]* %6, i64 0, i64 %40
%44 = load i8, i8* %43
%45 = icmp eq i8 %44, 46
%46 = select i1 %45, i32 1, i32 %42
%47 = icmp eq i32 %46, 1
%48 = add nuw nsw i64 %40, 1
br i1 %47, label %49, label %53
49: ; preds = %39
%50 = getelementptr inbounds [10 x i8], [10 x i8]* %6, i64 0, i64 %48
%51 = load i8, i8* %50
store i8 %51, i8* %43
%52 = add nsw i32 %41, 1
br label %53
53: ; preds = %39, %49
%54 = phi i32 [ %52, %49 ], [ %41, %39 ]
%55 = call i32 @strlen(i8* %11)
%56 = sext i32 %55 to i64
%57 = icmp slt i64 %48, %56
br i1 %57, label %39, label %58
58: ; preds = %53, %33
%59 = phi i32 [ %19, %33 ], [ %54, %53 ]
switch i32 %20, label %71 [
i32 1, label %63
i32 2, label %60
i32 3, label %61
i32 4, label %62
]
60: ; preds = %58
br label %63
61: ; preds = %58
br label %63
62: ; preds = %58
br label %63
63: ; preds = %58, %60, %61, %62
%64 = phi i8* [ %15, %62 ], [ %14, %61 ], [ %13, %60 ], [ %12, %58 ]
%65 = phi double* [ %4, %62 ], [ %3, %61 ], [ %2, %60 ], [ %1, %58 ]
%66 = call i32 @strcpy(i8* %64, i8* %11)
%67 = call i64 @atoi(i8* %64)
%68 = sitofp i64 %67 to double
%69 = call double @DecaPower(i32 %59)
%70 = fdiv double %68, %69
store double %70, double* %65
br label %71
71: ; preds = %63, %58
%72 = phi i32 [ %59, %58 ], [ 0, %63 ]
%73 = add nuw nsw i32 %20, 1
%74 = load double, double* %1
%75 = load double, double* %2
%76 = load double, double* %3
%77 = call i32 @printf(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str, i64 0, i64 0), i8* %12, i8* %13, i8* %14, double %74, double %75, double %76)
%78 = add nsw i32 %34, 1
%79 = call i32 @strlen(i8* %0)
%80 = icmp slt i32 %78, %79
br i1 %80, label %18, label %81
81: ; preds = %71, %5
ret void
}