#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*/ snprintf(char *, int, char *, int);
int /*<<< orphan*/ sprintf(char *, char *, int, int, 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) {
    snprintf(errmsg, 81, "input hour value is out of range 0 - 23: %d (fftm2s)",
             hour);
    ffpmsg(errmsg);
    return (*status = 420);
  } else if (minute < 0 || minute > 59) {
    snprintf(errmsg, 81,
             "input minute value is out of range 0 - 59: %d (fftm2s)", minute);
    ffpmsg(errmsg);
    return (*status = 420);
  } else if (second < 0. || second >= 61) {
    snprintf(errmsg, 81,
             "input second value is out of range 0 - 60.999: %f (fftm2s)",
             second);
    ffpmsg(errmsg);
    return (*status = 420);
  } else if (decimals > 25) {
    snprintf(errmsg, 81,
             "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    1187 <fftm2s+0x47>
mov    0x18(%rbp),%rax
mov    (%rax),%eax
mov    %eax,-0x4(%rbp)
jmp    1408 <fftm2s+0x2c8>
mov    0x10(%rbp),%rax
movb   $0x0,(%rax)
cmpl   $0x0,-0x8(%rbp)
jne    11ac <fftm2s+0x6c>
cmpl   $0x0,-0xc(%rbp)
jne    11ac <fftm2s+0x6c>
cmpl   $0x0,-0x10(%rbp)
je     11e7 <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    11e2 <fftm2s+0xa2>
lea    0xe39(%rip),%rdi
call   1040 <ffpmsg@plt>
mov    0x18(%rbp),%rax
mov    (%rax),%eax
mov    %eax,-0x4(%rbp)
jmp    1408 <fftm2s+0x2c8>
jmp    11e7 <fftm2s+0xa7>
cmpl   $0x0,-0x14(%rbp)
jl     11fb <fftm2s+0xbb>
cmpl   $0x17,-0x14(%rbp)
jle    1232 <fftm2s+0xf2>
lea    -0x80(%rbp),%rdi
mov    -0x14(%rbp),%ecx
mov    $0x51,%esi
lea    0xe10(%rip),%rdx
call   1050 <snprintf@plt>
lea    -0x80(%rbp),%rdi
call   1040 <ffpmsg@plt>
mov    0x18(%rbp),%rax
movl   $0x1a4,(%rax)
movl   $0x1a4,-0x4(%rbp)
jmp    1408 <fftm2s+0x2c8>
cmpl   $0x0,-0x18(%rbp)
jl     1246 <fftm2s+0x106>
cmpl   $0x3b,-0x18(%rbp)
jle    127d <fftm2s+0x13d>
lea    -0x80(%rbp),%rdi
mov    -0x18(%rbp),%ecx
mov    $0x51,%esi
lea    0xdfa(%rip),%rdx
call   1050 <snprintf@plt>
lea    -0x80(%rbp),%rdi
call   1040 <ffpmsg@plt>
mov    0x18(%rbp),%rax
movl   $0x1a4,(%rax)
movl   $0x1a4,-0x4(%rbp)
jmp    1408 <fftm2s+0x2c8>
xorps  %xmm0,%xmm0
ucomisd -0x20(%rbp),%xmm0
ja     12a2 <fftm2s+0x162>
movsd  -0x20(%rbp),%xmm0
movsd  0xd68(%rip),%xmm1
ucomisd %xmm1,%xmm0
jb     12db <fftm2s+0x19b>
lea    -0x80(%rbp),%rdi
cvttsd2si -0x20(%rbp),%ecx
mov    $0x51,%esi
lea    0xdd3(%rip),%rdx
call   1050 <snprintf@plt>
lea    -0x80(%rbp),%rdi
call   1040 <ffpmsg@plt>
mov    0x18(%rbp),%rax
movl   $0x1a4,(%rax)
movl   $0x1a4,-0x4(%rbp)
jmp    1408 <fftm2s+0x2c8>
cmpl   $0x19,-0x24(%rbp)
jle    131c <fftm2s+0x1dc>
lea    -0x80(%rbp),%rdi
mov    -0x24(%rbp),%ecx
mov    $0x51,%esi
lea    0xdcd(%rip),%rdx
call   1050 <snprintf@plt>
lea    -0x80(%rbp),%rdi
call   1040 <ffpmsg@plt>
mov    0x18(%rbp),%rax
movl   $0x1a4,(%rax)
movl   $0x1a4,-0x4(%rbp)
jmp    1408 <fftm2s+0x2c8>
jmp    1321 <fftm2s+0x1e1>
jmp    1326 <fftm2s+0x1e6>
jmp    132b <fftm2s+0x1eb>
cmpl   $0x0,-0x24(%rbp)
jne    1341 <fftm2s+0x201>
movl   $0x2,-0x28(%rbp)
jmp    134a <fftm2s+0x20a>
mov    -0x24(%rbp),%eax
add    $0x3,%eax
mov    %eax,-0x28(%rbp)
cmpl   $0x0,-0x24(%rbp)
jge    1375 <fftm2s+0x235>
mov    0x10(%rbp),%rdi
mov    -0x8(%rbp),%edx
mov    -0xc(%rbp),%ecx
mov    -0x10(%rbp),%r8d
lea    0xd95(%rip),%rsi
mov    $0x0,%al
call   1060 <sprintf@plt>
jmp    13ff <fftm2s+0x2bf>
cmpl   $0x0,-0x8(%rbp)
jne    13bd <fftm2s+0x27d>
cmpl   $0x0,-0xc(%rbp)
jne    13bd <fftm2s+0x27d>
cmpl   $0x0,-0x10(%rbp)
jne    13bd <fftm2s+0x27d>
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    0xd6b(%rip),%rsi
mov    $0x1,%al
call   1060 <sprintf@plt>
jmp    13fa <fftm2s+0x2ba>
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    0xd27(%rip),%rsi
mov    %r11d,(%rsp)
mov    %r10d,0x8(%rsp)
mov    %eax,0x10(%rsp)
mov    $0x1,%al
call   1060 <sprintf@plt>
jmp    13ff <fftm2s+0x2bf>
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     1287 <fftm2s+0x147>
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     11e4 <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    11e4 <fftm2s+0xa4>
lea    0xe32(%rip),%rdi
call   1040 <ffpmsg@plt>
mov    (%r12),%eax
jmp    1287 <fftm2s+0x147>
cmp    $0x18,%r9d
jb     1203 <fftm2s+0xc3>
lea    0xe2d(%rip),%rdx
lea    0x10(%rsp),%rbx
mov    %rbx,%rdi
mov    $0x51,%esi
mov    %r9d,%ecx
jmp    126d <fftm2s+0x12d>
cmp    $0x3c,%r11d
jb     1222 <fftm2s+0xe2>
lea    0xe43(%rip),%rdx
lea    0x10(%rsp),%rbx
mov    %rbx,%rdi
mov    $0x51,%esi
mov    %r11d,%ecx
jmp    126d <fftm2s+0x12d>
xorpd  %xmm1,%xmm1
ucomisd %xmm0,%xmm1
ja     1255 <fftm2s+0x115>
ucomisd 0xdcc(%rip),%xmm0
jae    1255 <fftm2s+0x115>
cmp    $0x1a,%r13d
jl     1296 <fftm2s+0x156>
lea    0xe82(%rip),%rdx
lea    0x10(%rsp),%rbx
mov    %rbx,%rdi
mov    $0x51,%esi
mov    %r13d,%ecx
jmp    126d <fftm2s+0x12d>
cvttsd2si %xmm0,%ecx
lea    0xe2a(%rip),%rdx
lea    0x10(%rsp),%rbx
mov    %rbx,%rdi
mov    $0x51,%esi
call   1050 <snprintf@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     12dc <fftm2s+0x19c>
test   %ebp,%ebp
je     12fd <fftm2s+0x1bd>
sub    $0x8,%rsp
lea    0xe55(%rip),%rsi
mov    0xa8(%rsp),%rdi
mov    %r14d,%ecx
mov    %r15d,%r8d
mov    $0x1,%al
push   %r13
push   %r10
push   %r11
call   1060 <sprintf@plt>
add    $0x20,%rsp
jmp    11db <fftm2s+0x9b>
lea    0xe1b(%rip),%rsi
mov    0xa0(%rsp),%rdi
mov    %r14d,%ecx
mov    %r15d,%r8d
xor    %eax,%eax
call   1060 <sprintf@plt>
jmp    11db <fftm2s+0x9b>
lea    0xe18(%rip),%rsi
mov    0xa0(%rsp),%rdi
mov    %r9d,%edx
mov    %r11d,%ecx
mov    %r10d,%r8d
mov    %r13d,%r9d
mov    $0x1,%al
call   1060 <sprintf@plt>
jmp    11db <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 @snprintf(i8* %57, i32 81, 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 @snprintf(i8* %70, i32 81, 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 @snprintf(i8* %83, i32 81, 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 @snprintf(i8* %94, i32 81, 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, i32, 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, i32, 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, i32, 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 @snprintf(i8* %11, i32 81, i8* 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 @snprintf(i8* %11, i32 81, i8* 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 @snprintf(i8* %11, i32 81, i8* 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 @snprintf(i8* %11, i32 81, i8* 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, i32, 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, i32, 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, i32, 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
}