#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 act_of_god();
int /*<<< orphan*/ getchar();
int /*<<< orphan*/ printf(char *, ...);
int /*<<< orphan*/ puts(char *);
int rand();
int /*<<< orphan*/ scanf(char *, int *);
int /*<<< orphan*/ srand(int /*<<< orphan*/);
int /*<<< orphan*/ time(int /*<<< orphan*/ *);
int main() {
  srand(time(NULL));
  int people = 100;
  int food = 200;
  int sow = 0;
  int tables = 0;
  int z;
  puts(
      "\n\n\n\n\n\n\n\n\tCymon's Games\n\n\thttp://WWW.CYMONSGAMES.COM\n\n\n"
      "   This game and its code is a 2008 Cymon's Games game.\n"
      "   If you have enjoyed this game or would just like to have a new game\n"
      "   each week please visit:\n"
      "   http://WWW.CYMONSGAMES.COM for C/C++ programming resources and "
      "programs\n"
      "   for everyone, beginners and advanced users alike.\n\n");
  printf("\n\tPress ENTER to continue...\n\n\n\n\n\n");
  getchar();
  puts("\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nRULER\n-----\n\n");
input:
  printf("%d lbs of food and %d people\nInput food for sowing ", food, people);
  scanf("%d", &sow);
  printf("and the amount for our peoples table sire? ");
  scanf("%d", &tables);
  if (sow + tables > food) {
    printf("you can't put %d lbs on the tables and sow %d lbs this "
           "year,  sire\n",
           tables, sow);
    goto input;
  }
  z = food - (sow + tables);
  people = ((float)tables / (float)people) * (people / 2) + tables;
  if (people < 10) {
    printf("\nThe few people that survived the hard winter have left "
           "for pastures new.\nYour empire has crumbled like many before it and"
           "many that will rise in\nits ashes");
    return 0;
  }
  if (rand() % 5 == 0)
    sow = act_of_god();
  food = z + (sow * 3.5);
  if (people > 1000 && food > 1000) {
    printf(
        "\nSire, your majesty is known throughout the world.\n"
        "Statues are errected in your honour today because our nation is "
        "strong "
        "and\nsafe from harm, our nation is currently %d strong and we have "
        "supplies\nof %d to feed us.  We now longer need your guidance in "
        "these matters you\ncan sit in state without vexation on our earthly "
        "matters.\n\nALL HAIL THE KING!",
        people, food);
    return 0;
  }
  printf("\nA New Year Dawns\n");
  goto input;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x20,%rsp
movl   $0x0,-0x4(%rbp)
xor    %eax,%eax
mov    %eax,%edi
call   1080 <time@plt>
mov    %eax,%edi
call   1060 <srand@plt>
movl   $0x64,-0x8(%rbp)
movl   $0xc8,-0xc(%rbp)
movl   $0x0,-0x10(%rbp)
movl   $0x0,-0x14(%rbp)
lea    0xe46(%rip),%rdi
call   1040 <puts@plt>
lea    0xf8c(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
mov    $0x0,%al
call   1070 <getchar@plt>
lea    0xf9a(%rip),%rdi
call   1040 <puts@plt>
mov    -0xc(%rbp),%esi
mov    -0x8(%rbp),%edx
lea    0xfa5(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
lea    0xfcb(%rip),%rdi
lea    -0x10(%rbp),%rsi
call   1090 <scanf@plt>
lea    0xfbe(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
lea    0xfad(%rip),%rdi
lea    -0x14(%rbp),%rsi
call   1090 <scanf@plt>
mov    -0x10(%rbp),%eax
add    -0x14(%rbp),%eax
cmp    -0xc(%rbp),%eax
jle    1252 <main+0xd2>
mov    -0x14(%rbp),%esi
mov    -0x10(%rbp),%edx
lea    0xfb7(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
jmp    11e8 <main+0x68>
mov    -0xc(%rbp),%eax
mov    -0x10(%rbp),%ecx
add    -0x14(%rbp),%ecx
sub    %ecx,%eax
mov    %eax,-0x18(%rbp)
cvtsi2ssl -0x14(%rbp),%xmm0
cvtsi2ssl -0x8(%rbp),%xmm1
divss  %xmm1,%xmm0
mov    -0x8(%rbp),%eax
mov    $0x2,%ecx
cltd
idiv   %ecx
cvtsi2ss %eax,%xmm2
cvtsi2ssl -0x14(%rbp),%xmm1
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
cvttss2si %xmm0,%eax
mov    %eax,-0x8(%rbp)
cmpl   $0xa,-0x8(%rbp)
jge    12b5 <main+0x135>
lea    0xf9f(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
movl   $0x0,-0x4(%rbp)
jmp    1345 <main+0x1c5>
mov    $0x0,%al
call   10a0 <rand@plt>
mov    $0x5,%ecx
cltd
idiv   %ecx
cmp    $0x0,%edx
jne    12d7 <main+0x157>
mov    $0x0,%al
call   1030 <act_of_god@plt>
mov    %eax,-0x10(%rbp)
cvtsi2sdl -0x18(%rbp),%xmm1
cvtsi2sdl -0x10(%rbp),%xmm0
movsd  0xd17(%rip),%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
cvttsd2si %xmm0,%eax
mov    %eax,-0xc(%rbp)
cmpl   $0x3e8,-0x8(%rbp)
jle    1332 <main+0x1b2>
cmpl   $0x3e8,-0xc(%rbp)
jle    1332 <main+0x1b2>
mov    -0x8(%rbp),%esi
mov    -0xc(%rbp),%edx
lea    0xfbd(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
movl   $0x0,-0x4(%rbp)
jmp    1345 <main+0x1c5>
lea    0x10ff(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
jmp    11e8 <main+0x68>
mov    -0x4(%rbp),%eax
add    $0x20,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x18,%rsp
xor    %edi,%edi
call   1080 <time@plt>
mov    %eax,%edi
call   1060 <srand@plt>
movl   $0x0,0x8(%rsp)
movl   $0x0,0xc(%rsp)
lea    0xe55(%rip),%rdi
call   1040 <puts@plt>
lea    0x1256(%rip),%rdi
call   1040 <puts@plt>
xor    %eax,%eax
call   1070 <getchar@plt>
lea    0xf88(%rip),%rdi
call   1040 <puts@plt>
mov    $0xc8,%ebx
mov    $0x64,%r13d
lea    0xf8e(%rip),%rdi
lea    0xfbb(%rip),%rbp
lea    0x8(%rsp),%r12
lea    0xfb2(%rip),%r14
lea    0xc(%rsp),%r15
jmp    1223 <main+0xa3>
cs nopw 0x0(%rax,%rax,1)
nopl   (%rax)
lea    0x1220(%rip),%rdi
call   1040 <puts@plt>
lea    0xf54(%rip),%rdi
mov    %ebx,%esi
mov    %r13d,0x10(%rsp)
mov    %r13d,%edx
xor    %eax,%eax
call   1050 <printf@plt>
mov    %rbp,%rdi
mov    %r12,%rsi
call   1090 <scanf@plt>
mov    %r14,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    %rbp,%rdi
mov    %r15,%rsi
call   1090 <scanf@plt>
mov    0x8(%rsp),%edx
mov    0xc(%rsp),%esi
lea    (%rsi,%rdx,1),%eax
mov    %ebx,0x14(%rsp)
cmp    %eax,%ebx
jge    12f0 <main+0x170>
lea    0x8(%rsp),%r13
lea    0xf37(%rip),%r14
lea    0xc(%rsp),%r15
lea    0xf28(%rip),%rbp
mov    0x10(%rsp),%ebx
mov    0x14(%rsp),%r12d
nopl   0x0(%rax)
lea    0xf43(%rip),%rdi
xor    %eax,%eax
call   1050 <printf@plt>
lea    0xed2(%rip),%rdi
mov    %r12d,%esi
mov    %ebx,%edx
xor    %eax,%eax
call   1050 <printf@plt>
mov    %rbp,%rdi
mov    %r13,%rsi
call   1090 <scanf@plt>
mov    %r14,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    %rbp,%rdi
mov    %r15,%rsi
call   1090 <scanf@plt>
mov    0x8(%rsp),%edx
mov    0xc(%rsp),%esi
lea    (%rsi,%rdx,1),%eax
cmp    %eax,%r12d
jl     1290 <main+0x110>
jmp    12f4 <main+0x174>
cs nopw 0x0(%rax,%rax,1)
nopl   (%rax)
mov    0x10(%rsp),%ebx
xorps  %xmm0,%xmm0
cvtsi2ss %esi,%xmm0
xorps  %xmm1,%xmm1
cvtsi2ss %ebx,%xmm1
movaps %xmm0,%xmm2
divss  %xmm1,%xmm2
mov    %ebx,%ecx
shr    $0x1f,%ecx
add    %ebx,%ecx
sar    %ecx
xorps  %xmm1,%xmm1
cvtsi2ss %ecx,%xmm1
mulss  %xmm2,%xmm1
addss  %xmm0,%xmm1
cvttss2si %xmm1,%r13d
cmp    $0x9,%r13d
jle    13cf <main+0x24f>
mov    0x14(%rsp),%ebx
sub    %eax,%ebx
xor    %eax,%eax
call   10a0 <rand@plt>
imul   $0xcccccccd,%eax,%eax
add    $0x19999999,%eax
cmp    $0x33333333,%eax
jb     1360 <main+0x1e0>
mov    0x8(%rsp),%eax
jmp    136b <main+0x1eb>
cs nopw 0x0(%rax,%rax,1)
nop
xor    %eax,%eax
call   1030 <act_of_god@plt>
mov    %eax,0x8(%rsp)
lea    0x8(%rsp),%r12
lea    0xe37(%rip),%r14
lea    0xc(%rsp),%r15
lea    0xe28(%rip),%rbp
xorps  %xmm0,%xmm0
cvtsi2sd %ebx,%xmm0
xorps  %xmm1,%xmm1
cvtsi2sd %eax,%xmm1
mulsd  0xc67(%rip),%xmm1
addsd  %xmm0,%xmm1
cvttsd2si %xmm1,%ebx
cmp    $0x3e9,%r13d
jb     1210 <main+0x90>
cmp    $0x3e9,%ebx
jl     1210 <main+0x90>
lea    0xef8(%rip),%rdi
mov    %r13d,%esi
mov    %ebx,%edx
xor    %eax,%eax
call   1050 <printf@plt>
jmp    13dd <main+0x25d>
lea    0xe48(%rip),%rdi
xor    %eax,%eax
call   1050 <printf@plt>
xor    %eax,%eax
add    $0x18,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@.str = [338 x i8] c"\0A\0A\0A\0A\0A\0A\0A\0A\09Cymon's Games\0A\0A\09http://WWW.CYMONSGAMES.COM\0A\0A\0A This game and its code is a 2008 Cymon's Games game.\0A If you have enjoyed this game or would just like to have a new game\0A each week please visit:\0A http://WWW.CYMONSGAMES.COM for C/C++ programming resources and programs\0A for everyone, beginners and advanced users alike.\0A\0A\00"
@.str.1 = [35 x i8] c"\0A\09Press ENTER to continue...\0A\0A\0A\0A\0A\0A\00"
@.str.2 = [29 x i8] c"\0A\0A\0A\0A\0A\0A\0A\0A\0A\0A\0A\0A\0A\0A\0ARULER\0A-----\0A\0A\00"
@.str.3 = [52 x i8] c"%d lbs of food and %d people\0AInput food for sowing \00"
@.str.4 = [3 x i8] c"%d\00"
@.str.5 = [44 x i8] c"and the amount for our peoples table sire? \00"
@.str.6 = [68 x i8] c"you can't put %d lbs on the tables and sow %d lbs this year, sire\0A\00"
@.str.7 = [155 x i8] c"\0AThe few people that survived the hard winter have left for pastures new.\0AYour empire has crumbled like many before it andmany that will rise in\0Aits ashes\00"
@.str.8 = [348 x i8] c"\0ASire, your majesty is known throughout the world.\0AStatues are errected in your honour today because our nation is strong and\0Asafe from harm, our nation is currently %d strong and we have supplies\0Aof %d to feed us. We now longer need your guidance in these matters you\0Acan sit in state without vexation on our earthly matters.\0A\0AALL HAIL THE KING!\00"
@.str.9 = [19 x i8] c"\0AA New Year Dawns\0A\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca i32
%3 = alloca i32
%4 = alloca i32
%5 = alloca i32
%6 = alloca i32
store i32 0, i32* %1
%7 = call i32 @time(i32* null)
%8 = call i32 @srand(i32 %7)
store i32 100, i32* %2
store i32 200, i32* %3
store i32 0, i32* %4
store i32 0, i32* %5
%9 = call i32 @puts(i8* getelementptr inbounds ([338 x i8], [338 x i8]* @.str, i64 0, i64 0))
%10 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str.1, i64 0, i64 0))
%11 = call i32 (...) @getchar()
%12 = call i32 @puts(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.2, i64 0, i64 0))
br label %13
13: ; preds = %73, %25, %0
%14 = load i32, i32* %3
%15 = load i32, i32* %2
%16 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([52 x i8], [52 x i8]* @.str.3, i64 0, i64 0), i32 %14, i32 %15)
%17 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.4, i64 0, i64 0), i32* %4)
%18 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([44 x i8], [44 x i8]* @.str.5, i64 0, i64 0))
%19 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.4, i64 0, i64 0), i32* %5)
%20 = load i32, i32* %4
%21 = load i32, i32* %5
%22 = add nsw i32 %20, %21
%23 = load i32, i32* %3
%24 = icmp sgt i32 %22, %23
br i1 %24, label %25, label %29
25: ; preds = %13
%26 = load i32, i32* %5
%27 = load i32, i32* %4
%28 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([68 x i8], [68 x i8]* @.str.6, i64 0, i64 0), i32 %26, i32 %27)
br label %13
29: ; preds = %13
%30 = load i32, i32* %3
%31 = load i32, i32* %4
%32 = load i32, i32* %5
%33 = add nsw i32 %31, %32
%34 = sub nsw i32 %30, %33
store i32 %34, i32* %6
%35 = load i32, i32* %5
%36 = sitofp i32 %35 to float
%37 = load i32, i32* %2
%38 = sitofp i32 %37 to float
%39 = fdiv float %36, %38
%40 = load i32, i32* %2
%41 = sdiv i32 %40, 2
%42 = sitofp i32 %41 to float
%43 = load i32, i32* %5
%44 = sitofp i32 %43 to float
%45 = call float @llvm.fmuladd.f32(float %39, float %42, float %44)
%46 = fptosi float %45 to i32
store i32 %46, i32* %2
%47 = load i32, i32* %2
%48 = icmp slt i32 %47, 10
br i1 %48, label %49, label %51
49: ; preds = %29
%50 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([155 x i8], [155 x i8]* @.str.7, i64 0, i64 0))
store i32 0, i32* %1
br label %75
51: ; preds = %29
%52 = call i32 (...) @rand()
%53 = srem i32 %52, 5
%54 = icmp eq i32 %53, 0
br i1 %54, label %55, label %57
55: ; preds = %51
%56 = call i32 (...) @act_of_god()
store i32 %56, i32* %4
br label %57
57: ; preds = %55, %51
%58 = load i32, i32* %6
%59 = sitofp i32 %58 to double
%60 = load i32, i32* %4
%61 = sitofp i32 %60 to double
%62 = call double @llvm.fmuladd.f64(double %61, double 3.500000e+00, double %59)
%63 = fptosi double %62 to i32
store i32 %63, i32* %3
%64 = load i32, i32* %2
%65 = icmp sgt i32 %64, 1000
br i1 %65, label %66, label %73
66: ; preds = %57
%67 = load i32, i32* %3
%68 = icmp sgt i32 %67, 1000
br i1 %68, label %69, label %73
69: ; preds = %66
%70 = load i32, i32* %2
%71 = load i32, i32* %3
%72 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([348 x i8], [348 x i8]* @.str.8, i64 0, i64 0), i32 %70, i32 %71)
store i32 0, i32* %1
br label %75
73: ; preds = %66, %57
%74 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.9, i64 0, i64 0))
br label %13
75: ; preds = %69, %49
%76 = load i32, i32* %1
ret i32 %76
}

LLVM IR (-O2):
@.str = [338 x i8] c"\0A\0A\0A\0A\0A\0A\0A\0A\09Cymon's Games\0A\0A\09http://WWW.CYMONSGAMES.COM\0A\0A\0A This game and its code is a 2008 Cymon's Games game.\0A If you have enjoyed this game or would just like to have a new game\0A each week please visit:\0A http://WWW.CYMONSGAMES.COM for C/C++ programming resources and programs\0A for everyone, beginners and advanced users alike.\0A\0A\00"
@.str.2 = [29 x i8] c"\0A\0A\0A\0A\0A\0A\0A\0A\0A\0A\0A\0A\0A\0A\0ARULER\0A-----\0A\0A\00"
@.str.3 = [52 x i8] c"%d lbs of food and %d people\0AInput food for sowing \00"
@.str.4 = [3 x i8] c"%d\00"
@.str.5 = [44 x i8] c"and the amount for our peoples table sire? \00"
@.str.6 = [68 x i8] c"you can't put %d lbs on the tables and sow %d lbs this year, sire\0A\00"
@.str.7 = [155 x i8] c"\0AThe few people that survived the hard winter have left for pastures new.\0AYour empire has crumbled like many before it andmany that will rise in\0Aits ashes\00"
@.str.8 = [348 x i8] c"\0ASire, your majesty is known throughout the world.\0AStatues are errected in your honour today because our nation is strong and\0Asafe from harm, our nation is currently %d strong and we have supplies\0Aof %d to feed us. We now longer need your guidance in these matters you\0Acan sit in state without vexation on our earthly matters.\0A\0AALL HAIL THE KING!\00"
@str = [34 x i8] c"\0A\09Press ENTER to continue...\0A\0A\0A\0A\0A\00"
@str.10 = [18 x i8] c"\0AA New Year Dawns\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca i32
%3 = tail call i32 @time(i32* null)
%4 = tail call i32 @srand(i32 %3)
%5 = bitcast i32* %1 to i8*
store i32 0, i32* %1
%6 = bitcast i32* %2 to i8*
store i32 0, i32* %2
%7 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([338 x i8], [338 x i8]* @.str, i64 0, i64 0))
%8 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([34 x i8], [34 x i8]* @str, i64 0, i64 0))
%9 = tail call i32 (...) @getchar()
%10 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([29 x i8], [29 x i8]* @.str.2, i64 0, i64 0))
br label %11
11: ; preds = %67, %0
%12 = phi i32 [ %44, %67 ], [ 100, %0 ]
%13 = phi i32 [ %61, %67 ], [ 200, %0 ]
%14 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([52 x i8], [52 x i8]* @.str.3, i64 0, i64 0), i32 %13, i32 %12)
%15 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.4, i64 0, i64 0), i32* %1)
%16 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([44 x i8], [44 x i8]* @.str.5, i64 0, i64 0))
%17 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.4, i64 0, i64 0), i32* %2)
%18 = load i32, i32* %1
%19 = load i32, i32* %2
%20 = add nsw i32 %19, %18
%21 = icmp slt i32 %13, %20
br i1 %21, label %22, label %34
22: ; preds = %11, %22
%23 = phi i32 [ %31, %22 ], [ %19, %11 ]
%24 = phi i32 [ %30, %22 ], [ %18, %11 ]
%25 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([68 x i8], [68 x i8]* @.str.6, i64 0, i64 0), i32 %23, i32 %24)
%26 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([52 x i8], [52 x i8]* @.str.3, i64 0, i64 0), i32 %13, i32 %12)
%27 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.4, i64 0, i64 0), i32* %1)
%28 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([44 x i8], [44 x i8]* @.str.5, i64 0, i64 0))
%29 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.4, i64 0, i64 0), i32* %2)
%30 = load i32, i32* %1
%31 = load i32, i32* %2
%32 = add nsw i32 %31, %30
%33 = icmp slt i32 %13, %32
br i1 %33, label %22, label %34
34: ; preds = %22, %11
%35 = phi i32 [ %19, %11 ], [ %31, %22 ]
%36 = phi i32 [ %20, %11 ], [ %32, %22 ]
%37 = sub nsw i32 %13, %36
%38 = sitofp i32 %35 to float
%39 = sitofp i32 %12 to float
%40 = fdiv float %38, %39
%41 = sdiv i32 %12, 2
%42 = sitofp i32 %41 to float
%43 = call float @llvm.fmuladd.f32(float %40, float %42, float %38)
%44 = fptosi float %43 to i32
%45 = icmp slt i32 %44, 10
br i1 %45, label %46, label %48
46: ; preds = %34
%47 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([155 x i8], [155 x i8]* @.str.7, i64 0, i64 0))
br label %69
48: ; preds = %34
%49 = call i32 (...) @rand()
%50 = srem i32 %49, 5
%51 = icmp eq i32 %50, 0
br i1 %51, label %54, label %52
52: ; preds = %48
%53 = load i32, i32* %1
br label %56
54: ; preds = %48
%55 = call i32 (...) @act_of_god()
store i32 %55, i32* %1
br label %56
56: ; preds = %52, %54
%57 = phi i32 [ %53, %52 ], [ %55, %54 ]
%58 = sitofp i32 %37 to double
%59 = sitofp i32 %57 to double
%60 = call double @llvm.fmuladd.f64(double %59, double 3.500000e+00, double %58)
%61 = fptosi double %60 to i32
%62 = icmp ugt i32 %44, 1000
%63 = icmp sgt i32 %61, 1000
%64 = select i1 %62, i1 %63, i1 false
br i1 %64, label %65, label %67
65: ; preds = %56
%66 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([348 x i8], [348 x i8]* @.str.8, i64 0, i64 0), i32 %44, i32 %61)
br label %69
67: ; preds = %56
%68 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([18 x i8], [18 x i8]* @str.10, i64 0, i64 0))
br label %11
69: ; preds = %65, %46
ret i32 0
}