#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 /*<<< orphan*/ ffpmsg(char *);
scalar_t__ ffverifydate(int, int, int, int *);
int /*<<< orphan*/ sprintf(char *, char *, int, ...);
int fftm2s(int year, int month, int day, int hour, int minute, double second,
           int decimals, char *datestr, int *status) {
  int width;
  char errmsg[81];
  if (*status > 0)
    return (*status);
  *datestr = '\0';
  if (year != 0 || month != 0 || day != 0) {
    if (ffverifydate(year, month, day, status) > 0) {
      ffpmsg("invalid date (fftm2s)");
      return (*status);
    }
  }
  if (hour < 0 || hour > 23) {
    sprintf(errmsg, "input hour value is out of range 0 - 23: %d (fftm2s)",
            hour);
    ffpmsg(errmsg);
    return (*status = 420);
  } else if (minute < 0 || minute > 59) {
    sprintf(errmsg, "input minute value is out of range 0 - 59: %d (fftm2s)",
            minute);
    ffpmsg(errmsg);
    return (*status = 420);
  } else if (second < 0. || second >= 61) {
    sprintf(errmsg,
            "input second value is out of range 0 - 60.999: %f (fftm2s)",
            second);
    ffpmsg(errmsg);
    return (*status = 420);
  } else if (decimals > 25) {
    sprintf(errmsg, "input decimals value is out of range 0 - 25: %d (fftm2s)",
            decimals);
    ffpmsg(errmsg);
    return (*status = 420);
  }
  if (decimals == 0)
    width = 2;
  else
    width = decimals + 3;
  if (decimals < 0) {
    sprintf(datestr, "%.4d-%.2d-%.2d", year, month, day);
  } else if (year == 0 && month == 0 && day == 0) {
    sprintf(datestr, "%.2d:%.2d:%0*.*f", hour, minute, width, decimals, second);
  } else {
    sprintf(datestr, "%.4d-%.2d-%.2dT%.2d:%.2d:%0*.*f", year, month, day, hour,
            minute, width, decimals, second);
  }
  return (*status);
}


x86 assembly (clang, -O0):
<fftm2s>:
push   %rbp
mov    %rsp,%rbp
sub    $0xa0,%rsp
mov    0x18(%rbp),%rax
mov    0x10(%rbp),%rax
mov    %edi,-0x8(%rbp)
mov    %esi,-0xc(%rbp)
mov    %edx,-0x10(%rbp)
mov    %ecx,-0x14(%rbp)
mov    %r8d,-0x18(%rbp)
movsd  %xmm0,-0x20(%rbp)
mov    %r9d,-0x24(%rbp)
mov    0x18(%rbp),%rax
cmpl   $0x0,(%rax)
jle    1177 <fftm2s+0x47>
mov    0x18(%rbp),%rax
mov    (%rax),%eax
mov    %eax,-0x4(%rbp)
jmp    13ec <fftm2s+0x2bc>
mov    0x10(%rbp),%rax
movb   $0x0,(%rax)
cmpl   $0x0,-0x8(%rbp)
jne    119c <fftm2s+0x6c>
cmpl   $0x0,-0xc(%rbp)
jne    119c <fftm2s+0x6c>
cmpl   $0x0,-0x10(%rbp)
je     11d7 <fftm2s+0xa7>
mov    -0x8(%rbp),%edi
mov    -0xc(%rbp),%esi
mov    -0x10(%rbp),%edx
mov    0x18(%rbp),%rcx
call   1030 <ffverifydate@plt>
cmp    $0x0,%rax
jle    11d2 <fftm2s+0xa2>
lea    0xe49(%rip),%rdi
call   1040 <ffpmsg@plt>
mov    0x18(%rbp),%rax
mov    (%rax),%eax
mov    %eax,-0x4(%rbp)
jmp    13ec <fftm2s+0x2bc>
jmp    11d7 <fftm2s+0xa7>
cmpl   $0x0,-0x14(%rbp)
jl     11eb <fftm2s+0xbb>
cmpl   $0x17,-0x14(%rbp)
jle    121f <fftm2s+0xef>
lea    -0x80(%rbp),%rdi
mov    -0x14(%rbp),%edx
lea    0xe25(%rip),%rsi
mov    $0x0,%al
call   1050 <sprintf@plt>
lea    -0x80(%rbp),%rdi
call   1040 <ffpmsg@plt>
mov    0x18(%rbp),%rax
movl   $0x1a4,(%rax)
movl   $0x1a4,-0x4(%rbp)
jmp    13ec <fftm2s+0x2bc>
cmpl   $0x0,-0x18(%rbp)
jl     1233 <fftm2s+0x103>
cmpl   $0x3b,-0x18(%rbp)
jle    1267 <fftm2s+0x137>
lea    -0x80(%rbp),%rdi
mov    -0x18(%rbp),%edx
lea    0xe12(%rip),%rsi
mov    $0x0,%al
call   1050 <sprintf@plt>
lea    -0x80(%rbp),%rdi
call   1040 <ffpmsg@plt>
mov    0x18(%rbp),%rax
movl   $0x1a4,(%rax)
movl   $0x1a4,-0x4(%rbp)
jmp    13ec <fftm2s+0x2bc>
xorps  %xmm0,%xmm0
ucomisd -0x20(%rbp),%xmm0
ja     128c <fftm2s+0x15c>
movsd  -0x20(%rbp),%xmm0
movsd  0xd7e(%rip),%xmm1
ucomisd %xmm1,%xmm0
jb     12c2 <fftm2s+0x192>
lea    -0x80(%rbp),%rdi
cvttsd2si -0x20(%rbp),%edx
lea    0xdee(%rip),%rsi
mov    $0x0,%al
call   1050 <sprintf@plt>
lea    -0x80(%rbp),%rdi
call   1040 <ffpmsg@plt>
mov    0x18(%rbp),%rax
movl   $0x1a4,(%rax)
movl   $0x1a4,-0x4(%rbp)
jmp    13ec <fftm2s+0x2bc>
cmpl   $0x19,-0x24(%rbp)
jle    1300 <fftm2s+0x1d0>
lea    -0x80(%rbp),%rdi
mov    -0x24(%rbp),%edx
lea    0xdeb(%rip),%rsi
mov    $0x0,%al
call   1050 <sprintf@plt>
lea    -0x80(%rbp),%rdi
call   1040 <ffpmsg@plt>
mov    0x18(%rbp),%rax
movl   $0x1a4,(%rax)
movl   $0x1a4,-0x4(%rbp)
jmp    13ec <fftm2s+0x2bc>
jmp    1305 <fftm2s+0x1d5>
jmp    130a <fftm2s+0x1da>
jmp    130f <fftm2s+0x1df>
cmpl   $0x0,-0x24(%rbp)
jne    1325 <fftm2s+0x1f5>
movl   $0x2,-0x28(%rbp)
jmp    132e <fftm2s+0x1fe>
mov    -0x24(%rbp),%eax
add    $0x3,%eax
mov    %eax,-0x28(%rbp)
cmpl   $0x0,-0x24(%rbp)
jge    1359 <fftm2s+0x229>
mov    0x10(%rbp),%rdi
mov    -0x8(%rbp),%edx
mov    -0xc(%rbp),%ecx
mov    -0x10(%rbp),%r8d
lea    0xdb1(%rip),%rsi
mov    $0x0,%al
call   1050 <sprintf@plt>
jmp    13e3 <fftm2s+0x2b3>
cmpl   $0x0,-0x8(%rbp)
jne    13a1 <fftm2s+0x271>
cmpl   $0x0,-0xc(%rbp)
jne    13a1 <fftm2s+0x271>
cmpl   $0x0,-0x10(%rbp)
jne    13a1 <fftm2s+0x271>
mov    0x10(%rbp),%rdi
mov    -0x14(%rbp),%edx
mov    -0x18(%rbp),%ecx
mov    -0x28(%rbp),%r8d
mov    -0x24(%rbp),%r9d
movsd  -0x20(%rbp),%xmm0
lea    0xd87(%rip),%rsi
mov    $0x1,%al
call   1050 <sprintf@plt>
jmp    13de <fftm2s+0x2ae>
mov    0x10(%rbp),%rdi
mov    -0x8(%rbp),%edx
mov    -0xc(%rbp),%ecx
mov    -0x10(%rbp),%r8d
mov    -0x14(%rbp),%r9d
mov    -0x18(%rbp),%r11d
mov    -0x28(%rbp),%r10d
mov    -0x24(%rbp),%eax
movsd  -0x20(%rbp),%xmm0
lea    0xd43(%rip),%rsi
mov    %r11d,(%rsp)
mov    %r10d,0x8(%rsp)
mov    %eax,0x10(%rsp)
mov    $0x1,%al
call   1050 <sprintf@plt>
jmp    13e3 <fftm2s+0x2b3>
mov    0x18(%rbp),%rax
mov    (%rax),%eax
mov    %eax,-0x4(%rbp)
mov    -0x4(%rbp),%eax
add    $0xa0,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<fftm2s>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x68,%rsp
mov    0xa8(%rsp),%r12
mov    (%r12),%eax
test   %eax,%eax
jg     1265 <fftm2s+0x135>
mov    %r9d,%r13d
mov    %r8d,%r11d
mov    %ecx,%r9d
mov    %edx,%r15d
mov    %esi,%r14d
mov    %edi,%edx
mov    0xa0(%rsp),%rax
movb   $0x0,(%rax)
mov    %esi,%ebp
or     %edi,%ebp
or     %r15d,%ebp
je     11d4 <fftm2s+0xa4>
mov    %edx,%edi
mov    %r14d,%esi
mov    %edx,0x4(%rsp)
mov    %r15d,%edx
mov    0xa8(%rsp),%rcx
mov    %r13,%r12
mov    %r11,%r13
mov    %r9d,%ebx
movsd  %xmm0,0x8(%rsp)
call   1030 <ffverifydate@plt>
mov    0x4(%rsp),%edx
movsd  0x8(%rsp),%xmm0
mov    %ebx,%r9d
mov    %r13,%r11
mov    %r12,%r13
mov    0xa8(%rsp),%r12
test   %rax,%rax
jle    11d4 <fftm2s+0xa4>
lea    0xe42(%rip),%rdi
call   1040 <ffpmsg@plt>
mov    (%r12),%eax
jmp    1265 <fftm2s+0x135>
cmp    $0x18,%r9d
jb     11ee <fftm2s+0xbe>
lea    0xe3d(%rip),%rsi
lea    0x10(%rsp),%rbx
mov    %rbx,%rdi
mov    %r9d,%edx
jmp    1249 <fftm2s+0x119>
cmp    $0x3c,%r11d
jb     1208 <fftm2s+0xd8>
lea    0xe58(%rip),%rsi
lea    0x10(%rsp),%rbx
mov    %rbx,%rdi
mov    %r11d,%edx
jmp    1249 <fftm2s+0x119>
xorpd  %xmm1,%xmm1
ucomisd %xmm0,%xmm1
ja     1236 <fftm2s+0x106>
ucomisd 0xde6(%rip),%xmm0
jae    1236 <fftm2s+0x106>
cmp    $0x1a,%r13d
jl     1274 <fftm2s+0x144>
lea    0xe9c(%rip),%rsi
lea    0x10(%rsp),%rbx
mov    %rbx,%rdi
mov    %r13d,%edx
jmp    1249 <fftm2s+0x119>
cvttsd2si %xmm0,%edx
lea    0xe49(%rip),%rsi
lea    0x10(%rsp),%rbx
mov    %rbx,%rdi
xor    %eax,%eax
call   1050 <sprintf@plt>
mov    %rbx,%rdi
call   1040 <ffpmsg@plt>
movl   $0x1a4,(%r12)
mov    $0x1a4,%eax
add    $0x68,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret
lea    0x3(%r13),%eax
mov    $0x2,%r10d
test   %r13d,%r13d
cmovne %eax,%r10d
js     12ba <fftm2s+0x18a>
test   %ebp,%ebp
je     12db <fftm2s+0x1ab>
sub    $0x8,%rsp
lea    0xe77(%rip),%rsi
mov    0xa8(%rsp),%rdi
mov    %r14d,%ecx
mov    %r15d,%r8d
mov    $0x1,%al
push   %r13
push   %r10
push   %r11
call   1050 <sprintf@plt>
add    $0x20,%rsp
jmp    11cb <fftm2s+0x9b>
lea    0xe3d(%rip),%rsi
mov    0xa0(%rsp),%rdi
mov    %r14d,%ecx
mov    %r15d,%r8d
xor    %eax,%eax
call   1050 <sprintf@plt>
jmp    11cb <fftm2s+0x9b>
lea    0xe3a(%rip),%rsi
mov    0xa0(%rsp),%rdi
mov    %r9d,%edx
mov    %r11d,%ecx
mov    %r10d,%r8d
mov    %r13d,%r9d
mov    $0x1,%al
call   1050 <sprintf@plt>
jmp    11cb <fftm2s+0x9b>

LLVM IR (-O0):
@.str = [22 x i8] c"invalid date (fftm2s)\00"
@.str.1 = [53 x i8] c"input hour value is out of range 0 - 23: %d (fftm2s)\00"
@.str.2 = [55 x i8] c"input minute value is out of range 0 - 59: %d (fftm2s)\00"
@.str.3 = [59 x i8] c"input second value is out of range 0 - 60.999: %f (fftm2s)\00"
@.str.4 = [57 x i8] c"input decimals value is out of range 0 - 25: %d (fftm2s)\00"
@.str.5 = [15 x i8] c"%.4d-%.2d-%.2d\00"
@.str.6 = [17 x i8] c"%.2d:%.2d:%0*.*f\00"
@.str.7 = [32 x i8] c"%.4d-%.2d-%.2dT%.2d:%.2d:%0*.*f\00"
define i32 @fftm2s(i32 %0, i32 %1, i32 %2, i32 %3, i32 %4, double %5, i32 %6, i8* %7, i32* %8) {
%10 = alloca i32
%11 = alloca i32
%12 = alloca i32
%13 = alloca i32
%14 = alloca i32
%15 = alloca i32
%16 = alloca double
%17 = alloca i32
%18 = alloca i8*
%19 = alloca i32*
%20 = alloca i32
%21 = alloca [81 x i8]
store i32 %0, i32* %11
store i32 %1, i32* %12
store i32 %2, i32* %13
store i32 %3, i32* %14
store i32 %4, i32* %15
store double %5, double* %16
store i32 %6, i32* %17
store i8* %7, i8** %18
store i32* %8, i32** %19
%22 = load i32*, i32** %19
%23 = load i32, i32* %22
%24 = icmp sgt i32 %23, 0
br i1 %24, label %25, label %28
25: ; preds = %9
%26 = load i32*, i32** %19
%27 = load i32, i32* %26
store i32 %27, i32* %10
br label %151
28: ; preds = %9
%29 = load i8*, i8** %18
store i8 0, i8* %29
%30 = load i32, i32* %11
%31 = icmp ne i32 %30, 0
br i1 %31, label %38, label %32
32: ; preds = %28
%33 = load i32, i32* %12
%34 = icmp ne i32 %33, 0
br i1 %34, label %38, label %35
35: ; preds = %32
%36 = load i32, i32* %13
%37 = icmp ne i32 %36, 0
br i1 %37, label %38, label %50
38: ; preds = %35, %32, %28
%39 = load i32, i32* %11
%40 = load i32, i32* %12
%41 = load i32, i32* %13
%42 = load i32*, i32** %19
%43 = call i64 @ffverifydate(i32 %39, i32 %40, i32 %41, i32* %42)
%44 = icmp sgt i64 %43, 0
br i1 %44, label %45, label %49
45: ; preds = %38
%46 = call i32 @ffpmsg(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str, i64 0, i64 0))
%47 = load i32*, i32** %19
%48 = load i32, i32* %47
store i32 %48, i32* %10
br label %151
49: ; preds = %38
br label %50
50: ; preds = %49, %35
%51 = load i32, i32* %14
%52 = icmp slt i32 %51, 0
br i1 %52, label %56, label %53
53: ; preds = %50
%54 = load i32, i32* %14
%55 = icmp sgt i32 %54, 23
br i1 %55, label %56, label %63
56: ; preds = %53, %50
%57 = getelementptr inbounds [81 x i8], [81 x i8]* %21, i64 0, i64 0
%58 = load i32, i32* %14
%59 = call i32 (i8*, i8*, i32, ...) @sprintf(i8* %57, i8* getelementptr inbounds ([53 x i8], [53 x i8]* @.str.1, i64 0, i64 0), i32 %58)
%60 = getelementptr inbounds [81 x i8], [81 x i8]* %21, i64 0, i64 0
%61 = call i32 @ffpmsg(i8* %60)
%62 = load i32*, i32** %19
store i32 420, i32* %62
store i32 420, i32* %10
br label %151
63: ; preds = %53
%64 = load i32, i32* %15
%65 = icmp slt i32 %64, 0
br i1 %65, label %69, label %66
66: ; preds = %63
%67 = load i32, i32* %15
%68 = icmp sgt i32 %67, 59
br i1 %68, label %69, label %76
69: ; preds = %66, %63
%70 = getelementptr inbounds [81 x i8], [81 x i8]* %21, i64 0, i64 0
%71 = load i32, i32* %15
%72 = call i32 (i8*, i8*, i32, ...) @sprintf(i8* %70, i8* getelementptr inbounds ([55 x i8], [55 x i8]* @.str.2, i64 0, i64 0), i32 %71)
%73 = getelementptr inbounds [81 x i8], [81 x i8]* %21, i64 0, i64 0
%74 = call i32 @ffpmsg(i8* %73)
%75 = load i32*, i32** %19
store i32 420, i32* %75
store i32 420, i32* %10
br label %151
76: ; preds = %66
%77 = load double, double* %16
%78 = fcmp olt double %77, 0.000000e+00
br i1 %78, label %82, label %79
79: ; preds = %76
%80 = load double, double* %16
%81 = fcmp oge double %80, 6.100000e+01
br i1 %81, label %82, label %90
82: ; preds = %79, %76
%83 = getelementptr inbounds [81 x i8], [81 x i8]* %21, i64 0, i64 0
%84 = load double, double* %16
%85 = fptosi double %84 to i32
%86 = call i32 (i8*, i8*, i32, ...) @sprintf(i8* %83, i8* getelementptr inbounds ([59 x i8], [59 x i8]* @.str.3, i64 0, i64 0), i32 %85)
%87 = getelementptr inbounds [81 x i8], [81 x i8]* %21, i64 0, i64 0
%88 = call i32 @ffpmsg(i8* %87)
%89 = load i32*, i32** %19
store i32 420, i32* %89
store i32 420, i32* %10
br label %151
90: ; preds = %79
%91 = load i32, i32* %17
%92 = icmp sgt i32 %91, 25
br i1 %92, label %93, label %100
93: ; preds = %90
%94 = getelementptr inbounds [81 x i8], [81 x i8]* %21, i64 0, i64 0
%95 = load i32, i32* %17
%96 = call i32 (i8*, i8*, i32, ...) @sprintf(i8* %94, i8* getelementptr inbounds ([57 x i8], [57 x i8]* @.str.4, i64 0, i64 0), i32 %95)
%97 = getelementptr inbounds [81 x i8], [81 x i8]* %21, i64 0, i64 0
%98 = call i32 @ffpmsg(i8* %97)
%99 = load i32*, i32** %19
store i32 420, i32* %99
store i32 420, i32* %10
br label %151
100: ; preds = %90
br label %101
101: ; preds = %100
br label %102
102: ; preds = %101
br label %103
103: ; preds = %102
%104 = load i32, i32* %17
%105 = icmp eq i32 %104, 0
br i1 %105, label %106, label %107
106: ; preds = %103
store i32 2, i32* %20
br label %110
107: ; preds = %103
%108 = load i32, i32* %17
%109 = add nsw i32 %108, 3
store i32 %109, i32* %20
br label %110
110: ; preds = %107, %106
%111 = load i32, i32* %17
%112 = icmp slt i32 %111, 0
br i1 %112, label %113, label %119
113: ; preds = %110
%114 = load i8*, i8** %18
%115 = load i32, i32* %11
%116 = load i32, i32* %12
%117 = load i32, i32* %13
%118 = call i32 (i8*, i8*, i32, ...) @sprintf(i8* %114, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.5, i64 0, i64 0), i32 %115, i32 %116, i32 %117)
br label %148
119: ; preds = %110
%120 = load i32, i32* %11
%121 = icmp eq i32 %120, 0
br i1 %121, label %122, label %136
122: ; preds = %119
%123 = load i32, i32* %12
%124 = icmp eq i32 %123, 0
br i1 %124, label %125, label %136
125: ; preds = %122
%126 = load i32, i32* %13
%127 = icmp eq i32 %126, 0
br i1 %127, label %128, label %136
128: ; preds = %125
%129 = load i8*, i8** %18
%130 = load i32, i32* %14
%131 = load i32, i32* %15
%132 = load i32, i32* %20
%133 = load i32, i32* %17
%134 = load double, double* %16
%135 = call i32 (i8*, i8*, i32, ...) @sprintf(i8* %129, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.6, i64 0, i64 0), i32 %130, i32 %131, i32 %132, i32 %133, double %134)
br label %147
136: ; preds = %125, %122, %119
%137 = load i8*, i8** %18
%138 = load i32, i32* %11
%139 = load i32, i32* %12
%140 = load i32, i32* %13
%141 = load i32, i32* %14
%142 = load i32, i32* %15
%143 = load i32, i32* %20
%144 = load i32, i32* %17
%145 = load double, double* %16
%146 = call i32 (i8*, i8*, i32, ...) @sprintf(i8* %137, i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.7, i64 0, i64 0), i32 %138, i32 %139, i32 %140, i32 %141, i32 %142, i32 %143, i32 %144, double %145)
br label %147
147: ; preds = %136, %128
br label %148
148: ; preds = %147, %113
%149 = load i32*, i32** %19
%150 = load i32, i32* %149
store i32 %150, i32* %10
br label %151
151: ; preds = %148, %93, %82, %69, %56, %45, %25
%152 = load i32, i32* %10
ret i32 %152
}

LLVM IR (-O2):
@.str = [22 x i8] c"invalid date (fftm2s)\00"
@.str.1 = [53 x i8] c"input hour value is out of range 0 - 23: %d (fftm2s)\00"
@.str.2 = [55 x i8] c"input minute value is out of range 0 - 59: %d (fftm2s)\00"
@.str.3 = [59 x i8] c"input second value is out of range 0 - 60.999: %f (fftm2s)\00"
@.str.4 = [57 x i8] c"input decimals value is out of range 0 - 25: %d (fftm2s)\00"
@.str.5 = [15 x i8] c"%.4d-%.2d-%.2d\00"
@.str.6 = [17 x i8] c"%.2d:%.2d:%0*.*f\00"
@.str.7 = [32 x i8] c"%.4d-%.2d-%.2dT%.2d:%.2d:%0*.*f\00"
define i32 @fftm2s(i32 %0, i32 %1, i32 %2, i32 %3, i32 %4, double %5, i32 %6, i8* nocapture writeonly %7, i32* %8) {
%10 = alloca [81 x i8]
%11 = getelementptr inbounds [81 x i8], [81 x i8]* %10, i64 0, i64 0
%12 = load i32, i32* %8
%13 = icmp sgt i32 %12, 0
br i1 %13, label %61, label %14
14: ; preds = %9
store i8 0, i8* %7
%15 = or i32 %1, %0
%16 = or i32 %15, %2
%17 = icmp eq i32 %16, 0
br i1 %17, label %24, label %18
18: ; preds = %14
%19 = tail call i64 @ffverifydate(i32 %0, i32 %1, i32 %2, i32* %8)
%20 = icmp sgt i64 %19, 0
br i1 %20, label %21, label %24
21: ; preds = %18
%22 = tail call i32 @ffpmsg(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str, i64 0, i64 0))
%23 = load i32, i32* %8
br label %61
24: ; preds = %18, %14
%25 = icmp ugt i32 %3, 23
br i1 %25, label %26, label %29
26: ; preds = %24
%27 = call i32 (i8*, i8*, i32, ...) @sprintf(i8* %11, i8* dereferenceable(1) getelementptr inbounds ([53 x i8], [53 x i8]* @.str.1, i64 0, i64 0), i32 %3)
%28 = call i32 @ffpmsg(i8* %11)
store i32 420, i32* %8
br label %61
29: ; preds = %24
%30 = icmp ugt i32 %4, 59
br i1 %30, label %31, label %34
31: ; preds = %29
%32 = call i32 (i8*, i8*, i32, ...) @sprintf(i8* %11, i8* dereferenceable(1) getelementptr inbounds ([55 x i8], [55 x i8]* @.str.2, i64 0, i64 0), i32 %4)
%33 = call i32 @ffpmsg(i8* %11)
store i32 420, i32* %8
br label %61
34: ; preds = %29
%35 = fcmp olt double %5, 0.000000e+00
%36 = fcmp oge double %5, 6.100000e+01
%37 = or i1 %35, %36
br i1 %37, label %38, label %42
38: ; preds = %34
%39 = fptosi double %5 to i32
%40 = call i32 (i8*, i8*, i32, ...) @sprintf(i8* %11, i8* dereferenceable(1) getelementptr inbounds ([59 x i8], [59 x i8]* @.str.3, i64 0, i64 0), i32 %39)
%41 = call i32 @ffpmsg(i8* %11)
store i32 420, i32* %8
br label %61
42: ; preds = %34
%43 = icmp sgt i32 %6, 25
br i1 %43, label %44, label %47
44: ; preds = %42
%45 = call i32 (i8*, i8*, i32, ...) @sprintf(i8* %11, i8* dereferenceable(1) getelementptr inbounds ([57 x i8], [57 x i8]* @.str.4, i64 0, i64 0), i32 %6)
%46 = call i32 @ffpmsg(i8* %11)
store i32 420, i32* %8
br label %61
47: ; preds = %42
%48 = icmp eq i32 %6, 0
%49 = add nsw i32 %6, 3
%50 = select i1 %48, i32 2, i32 %49
%51 = icmp slt i32 %6, 0
br i1 %51, label %52, label %54
52: ; preds = %47
%53 = tail call i32 (i8*, i8*, i32, ...) @sprintf(i8* %7, i8* dereferenceable(1) getelementptr inbounds ([15 x i8], [15 x i8]* @.str.5, i64 0, i64 0), i32 %0, i32 %1, i32 %2)
br label %59
54: ; preds = %47
br i1 %17, label %55, label %57
55: ; preds = %54
%56 = tail call i32 (i8*, i8*, i32, ...) @sprintf(i8* %7, i8* dereferenceable(1) getelementptr inbounds ([17 x i8], [17 x i8]* @.str.6, i64 0, i64 0), i32 %3, i32 %4, i32 %50, i32 %6, double %5)
br label %59
57: ; preds = %54
%58 = tail call i32 (i8*, i8*, i32, ...) @sprintf(i8* %7, i8* dereferenceable(1) getelementptr inbounds ([32 x i8], [32 x i8]* @.str.7, i64 0, i64 0), i32 %0, i32 %1, i32 %2, i32 %3, i32 %4, i32 %50, i32 %6, double %5)
br label %59
59: ; preds = %55, %57, %52
%60 = load i32, i32* %8
br label %61
61: ; preds = %9, %59, %44, %38, %31, %26, %21
%62 = phi i32 [ %23, %21 ], [ 420, %26 ], [ 420, %31 ], [ 420, %38 ], [ 420, %44 ], [ %60, %59 ], [ %12, %9 ]
ret i32 %62
}