#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*/ __();
int getint();
int /*<<< orphan*/ putchar(int);
int /*<<< orphan*/ putint(int);
int main() {
  int a12343_;
  int _xx;
  int _sDaf__sdf21331;
  a12343_ = 233;
  _xx = 2333;
  _sDaf__sdf21331 = 23333;
  putint(a12343_ - _xx * _sDaf__sdf21331);
  putchar(10);
  int a;
  a = 1;
  {
    int a;
    __();
    a = 2;
    {
      int a;
      a = -3;
      putint(a + getint());
      putchar(10);
    }
    putint(a + getint());
    putchar(10);
  }
  putint(a);
  putchar(10);
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x30,%rsp
movl   $0x0,-0x4(%rbp)
movl   $0xe9,-0x8(%rbp)
movl   $0x91d,-0xc(%rbp)
movl   $0x5b25,-0x10(%rbp)
mov    -0x8(%rbp),%edi
mov    -0xc(%rbp),%eax
imul   -0x10(%rbp),%eax
sub    %eax,%edi
call   1040 <putint@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
movl   $0x1,-0x14(%rbp)
mov    $0x0,%al
call   1050 <__@plt>
movl   $0x2,-0x18(%rbp)
movl   $0xfffffffd,-0x1c(%rbp)
mov    -0x1c(%rbp),%eax
mov    %eax,-0x24(%rbp)
mov    $0x0,%al
call   1060 <getint@plt>
mov    -0x24(%rbp),%edi
add    %eax,%edi
call   1040 <putint@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
mov    -0x18(%rbp),%eax
mov    %eax,-0x20(%rbp)
mov    $0x0,%al
call   1060 <getint@plt>
mov    -0x20(%rbp),%edi
add    %eax,%edi
call   1040 <putint@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
mov    -0x14(%rbp),%edi
call   1040 <putint@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
xor    %eax,%eax
add    $0x30,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rax
mov    $0xfcc160b8,%edi
call   1040 <putint@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
xor    %eax,%eax
call   1050 <__@plt>
xor    %eax,%eax
call   1060 <getint@plt>
lea    -0x3(%rax),%edi
call   1040 <putint@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
xor    %eax,%eax
call   1060 <getint@plt>
lea    0x2(%rax),%edi
call   1040 <putint@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
mov    $0x1,%edi
call   1040 <putint@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
xor    %eax,%eax
pop    %rcx
ret

LLVM IR (-O0):
define i32 @main() {
%1 = alloca i32
%2 = alloca i32
%3 = alloca i32
%4 = alloca i32
%5 = alloca i32
%6 = alloca i32
%7 = alloca i32
store i32 0, i32* %1
store i32 233, i32* %2
store i32 2333, i32* %3
store i32 23333, i32* %4
%8 = load i32, i32* %2
%9 = load i32, i32* %3
%10 = load i32, i32* %4
%11 = mul nsw i32 %9, %10
%12 = sub nsw i32 %8, %11
%13 = call i32 @putint(i32 %12)
%14 = call i32 @putchar(i32 10)
store i32 1, i32* %5
%15 = call i32 (...) @__()
store i32 2, i32* %6
store i32 -3, i32* %7
%16 = load i32, i32* %7
%17 = call i32 (...) @getint()
%18 = add nsw i32 %16, %17
%19 = call i32 @putint(i32 %18)
%20 = call i32 @putchar(i32 10)
%21 = load i32, i32* %6
%22 = call i32 (...) @getint()
%23 = add nsw i32 %21, %22
%24 = call i32 @putint(i32 %23)
%25 = call i32 @putchar(i32 10)
%26 = load i32, i32* %5
%27 = call i32 @putint(i32 %26)
%28 = call i32 @putchar(i32 10)
ret i32 0
}

LLVM IR (-O2):
define i32 @main() {
%1 = tail call i32 @putint(i32 -54435656)
%2 = tail call i32 @putchar(i32 10)
%3 = tail call i32 (...) @__()
%4 = tail call i32 (...) @getint()
%5 = add nsw i32 %4, -3
%6 = tail call i32 @putint(i32 %5)
%7 = tail call i32 @putchar(i32 10)
%8 = tail call i32 (...) @getint()
%9 = add nsw i32 %8, 2
%10 = tail call i32 @putint(i32 %9)
%11 = tail call i32 @putchar(i32 10)
%12 = tail call i32 @putint(i32 1)
%13 = tail call i32 @putchar(i32 10)
ret i32 0
}