#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*/ __print_int(int);
int func();
int /*<<< orphan*/ pr(int, float);
int main() {
  int a;
  float b;
  {
    a = 2 + 5 * (3 - 1);
    b = 3.4 * (6.4 - 3.2);
  }
  pr(a, b);
  if (2 * 5 == 20 / 2) {
    __print_int(1);
  } else {
    __print_int(0);
  }
  for (a = 2 * (5 / 2); a < 20 / 2; ++a) {
    __print_int(a);
  }
  a = 10;
  while (a > 2 * 3) {
    __print_int(a--);
  }
  a = 3;
  do {
    __print_int(a++);
  } while (a < 4 + 3);
  __print_int(func());
  switch (6 + 3 * 2) {
  case 13 - 1:
    __print_int(1);
    break;
  case 6 / 5:
    __print_int(0);
    break;
  case 2 * 0:
    __print_int(0);
    break;
  }
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
movl   $0x0,-0x4(%rbp)
movl   $0xc,-0x8(%rbp)
movss  0xeb2(%rip),%xmm0
movss  %xmm0,-0xc(%rbp)
mov    -0x8(%rbp),%edi
movss  -0xc(%rbp),%xmm0
call   1030 <pr@plt>
mov    $0x1,%edi
call   1040 <__print_int@plt>
movl   $0x4,-0x8(%rbp)
cmpl   $0xa,-0x8(%rbp)
jge    1191 <main+0x61>
mov    -0x8(%rbp),%edi
call   1040 <__print_int@plt>
mov    -0x8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x8(%rbp)
jmp    1171 <main+0x41>
movl   $0xa,-0x8(%rbp)
cmpl   $0x6,-0x8(%rbp)
jle    11b7 <main+0x87>
mov    -0x8(%rbp),%edi
mov    %edi,%eax
add    $0xffffffff,%eax
mov    %eax,-0x8(%rbp)
call   1040 <__print_int@plt>
jmp    1198 <main+0x68>
movl   $0x3,-0x8(%rbp)
mov    -0x8(%rbp),%edi
mov    %edi,%eax
add    $0x1,%eax
mov    %eax,-0x8(%rbp)
call   1040 <__print_int@plt>
cmpl   $0x7,-0x8(%rbp)
jl     11be <main+0x8e>
mov    $0x0,%al
call   1050 <func@plt>
mov    %eax,%edi
call   1040 <__print_int@plt>
mov    $0x1,%edi
call   1040 <__print_int@plt>
xor    %eax,%eax
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rax
movss  0xec7(%rip),%xmm0
mov    $0xc,%edi
call   1030 <pr@plt>
mov    $0x1,%edi
call   1040 <__print_int@plt>
mov    $0x4,%edi
call   1040 <__print_int@plt>
mov    $0x5,%edi
call   1040 <__print_int@plt>
mov    $0x6,%edi
call   1040 <__print_int@plt>
mov    $0x7,%edi
call   1040 <__print_int@plt>
mov    $0x8,%edi
call   1040 <__print_int@plt>
mov    $0x9,%edi
call   1040 <__print_int@plt>
mov    $0xa,%edi
call   1040 <__print_int@plt>
mov    $0x9,%edi
call   1040 <__print_int@plt>
mov    $0x8,%edi
call   1040 <__print_int@plt>
mov    $0x7,%edi
call   1040 <__print_int@plt>
mov    $0x3,%edi
call   1040 <__print_int@plt>
mov    $0x4,%edi
call   1040 <__print_int@plt>
mov    $0x5,%edi
call   1040 <__print_int@plt>
mov    $0x6,%edi
call   1040 <__print_int@plt>
xor    %eax,%eax
call   1050 <func@plt>
mov    %eax,%edi
call   1040 <__print_int@plt>
mov    $0x1,%edi
call   1040 <__print_int@plt>
xor    %eax,%eax
pop    %rcx
ret

LLVM IR (-O0):
define i32 @main() {
%1 = alloca i32
%2 = alloca i32
%3 = alloca float
store i32 0, i32* %1
store i32 12, i32* %2
store float 0x4025C28F60000000, float* %3
%4 = load i32, i32* %2
%5 = load float, float* %3
%6 = call i32 @pr(i32 %4, float %5)
%7 = call i32 @__print_int(i32 1)
store i32 4, i32* %2
br label %8
8: ; preds = %14, %0
%9 = load i32, i32* %2
%10 = icmp slt i32 %9, 10
br i1 %10, label %11, label %17
11: ; preds = %8
%12 = load i32, i32* %2
%13 = call i32 @__print_int(i32 %12)
br label %14
14: ; preds = %11
%15 = load i32, i32* %2
%16 = add nsw i32 %15, 1
store i32 %16, i32* %2
br label %8
17: ; preds = %8
store i32 10, i32* %2
br label %18
18: ; preds = %21, %17
%19 = load i32, i32* %2
%20 = icmp sgt i32 %19, 6
br i1 %20, label %21, label %25
21: ; preds = %18
%22 = load i32, i32* %2
%23 = add nsw i32 %22, -1
store i32 %23, i32* %2
%24 = call i32 @__print_int(i32 %22)
br label %18
25: ; preds = %18
store i32 3, i32* %2
br label %26
26: ; preds = %30, %25
%27 = load i32, i32* %2
%28 = add nsw i32 %27, 1
store i32 %28, i32* %2
%29 = call i32 @__print_int(i32 %27)
br label %30
30: ; preds = %26
%31 = load i32, i32* %2
%32 = icmp slt i32 %31, 7
br i1 %32, label %26, label %33
33: ; preds = %30
%34 = call i32 (...) @func()
%35 = call i32 @__print_int(i32 %34)
%36 = call i32 @__print_int(i32 1)
ret i32 0
}

LLVM IR (-O2):
define i32 @main() {
%1 = tail call i32 @pr(i32 12, float 0x4025C28F60000000)
%2 = tail call i32 @__print_int(i32 1)
%3 = tail call i32 @__print_int(i32 4)
%4 = tail call i32 @__print_int(i32 5)
%5 = tail call i32 @__print_int(i32 6)
%6 = tail call i32 @__print_int(i32 7)
%7 = tail call i32 @__print_int(i32 8)
%8 = tail call i32 @__print_int(i32 9)
%9 = tail call i32 @__print_int(i32 10)
%10 = tail call i32 @__print_int(i32 9)
%11 = tail call i32 @__print_int(i32 8)
%12 = tail call i32 @__print_int(i32 7)
%13 = tail call i32 @__print_int(i32 3)
%14 = tail call i32 @__print_int(i32 4)
%15 = tail call i32 @__print_int(i32 5)
%16 = tail call i32 @__print_int(i32 6)
%17 = tail call i32 (...) @func()
%18 = tail call i32 @__print_int(i32 %17)
%19 = tail call i32 @__print_int(i32 1)
ret i32 0
}