#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*/ poDebugInit();
int /*<<< orphan*/ runScenario(int, int, int);
int main(int argc, char **argv) {
  poDebugInit();
  runScenario(10, 10, 200);
  runScenario(50, 50, 100);
  runScenario(200, 20, 100);
  runScenario(500, 100, 100);
  runScenario(200, 200, 10);
  runScenario(200, 100, 10);
  runScenario(500, 500, 10);
  ;
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    $0x0,%al
call   1040 <poDebugInit@plt>
mov    $0xa,%esi
mov    $0xc8,%edx
mov    %esi,%edi
call   1030 <runScenario@plt>
mov    $0x32,%esi
mov    $0x64,%edx
mov    %esi,%edi
call   1030 <runScenario@plt>
mov    $0xc8,%edi
mov    $0x14,%esi
mov    $0x64,%edx
call   1030 <runScenario@plt>
mov    $0x1f4,%edi
mov    $0x64,%edx
mov    %edx,%esi
call   1030 <runScenario@plt>
mov    $0xc8,%esi
mov    $0xa,%edx
mov    %esi,%edi
call   1030 <runScenario@plt>
mov    $0xc8,%edi
mov    $0x64,%esi
mov    $0xa,%edx
call   1030 <runScenario@plt>
mov    $0x1f4,%esi
mov    $0xa,%edx
mov    %esi,%edi
call   1030 <runScenario@plt>
xor    %eax,%eax
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rax
xor    %eax,%eax
call   1040 <poDebugInit@plt>
mov    $0xa,%edi
mov    $0xa,%esi
mov    $0xc8,%edx
call   1030 <runScenario@plt>
mov    $0x32,%edi
mov    $0x32,%esi
mov    $0x64,%edx
call   1030 <runScenario@plt>
mov    $0xc8,%edi
mov    $0x14,%esi
mov    $0x64,%edx
call   1030 <runScenario@plt>
mov    $0x1f4,%edi
mov    $0x64,%esi
mov    $0x64,%edx
call   1030 <runScenario@plt>
mov    $0xc8,%edi
mov    $0xc8,%esi
mov    $0xa,%edx
call   1030 <runScenario@plt>
mov    $0xc8,%edi
mov    $0x64,%esi
mov    $0xa,%edx
call   1030 <runScenario@plt>
mov    $0x1f4,%edi
mov    $0x1f4,%esi
mov    $0xa,%edx
call   1030 <runScenario@plt>
xor    %eax,%eax
pop    %rcx
ret

LLVM IR (-O0):
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca i8**
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
%6 = call i32 (...) @poDebugInit()
%7 = call i32 @runScenario(i32 10, i32 10, i32 200)
%8 = call i32 @runScenario(i32 50, i32 50, i32 100)
%9 = call i32 @runScenario(i32 200, i32 20, i32 100)
%10 = call i32 @runScenario(i32 500, i32 100, i32 100)
%11 = call i32 @runScenario(i32 200, i32 200, i32 10)
%12 = call i32 @runScenario(i32 200, i32 100, i32 10)
%13 = call i32 @runScenario(i32 500, i32 500, i32 10)
ret i32 0
}

LLVM IR (-O2):
define i32 @main(i32 %0, i8** nocapture readnone %1) {
%3 = tail call i32 (...) @poDebugInit()
%4 = tail call i32 @runScenario(i32 10, i32 10, i32 200)
%5 = tail call i32 @runScenario(i32 50, i32 50, i32 100)
%6 = tail call i32 @runScenario(i32 200, i32 20, i32 100)
%7 = tail call i32 @runScenario(i32 500, i32 100, i32 100)
%8 = tail call i32 @runScenario(i32 200, i32 200, i32 10)
%9 = tail call i32 @runScenario(i32 200, i32 100, i32 10)
%10 = tail call i32 @runScenario(i32 500, i32 500, i32 10)
ret i32 0
}