#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*/ b2(int);
int /*<<< orphan*/ c2(int);
int *d1(int);
int /*<<< orphan*/ d2(int);
int /*<<< orphan*/ f(int);
int /*<<< orphan*/ free(int *);
int /*<<< orphan*/ l(int);
int /*<<< orphan*/ malloc(int);
int /*<<< orphan*/ n1(int);
int /*<<< orphan*/ o(int);
int /*<<< orphan*/ q(int);
int /*<<< orphan*/ r(int);
int /*<<< orphan*/ s5(int);
int /*<<< orphan*/ t(int);
int /*<<< orphan*/ u(int);
int /*<<< orphan*/ w(int);
int /*<<< orphan*/ x(int);
int /*<<< orphan*/ y(int);
int /*<<< orphan*/ z(int);
int main(void) {
  int *d1p = d1(706);
  free(d1p);
  d2(5);
  c2(30);
  b2(20);
  f(10);
  l(60);
  n1(30);
  o(20);
  q(7);
  r(3);
  s5(30);
  t(20);
  u(19);
  w(9);
  x(8);
  y(7);
  z(5);
  z(1);
  malloc(10);
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
mov    $0x2c2,%edi
call   10b0 <d1@plt>
mov    %rax,-0x8(%rbp)
mov    -0x8(%rbp),%rdi
call   1030 <free@plt>
mov    $0x5,%edi
call   1150 <d2@plt>
mov    $0x1e,%edi
call   1040 <c2@plt>
mov    $0x14,%edi
call   10c0 <b2@plt>
mov    $0xa,%edi
call   10a0 <f@plt>
mov    $0x3c,%edi
call   1050 <l@plt>
mov    $0x1e,%edi
call   10d0 <n1@plt>
mov    $0x14,%edi
call   1100 <o@plt>
mov    $0x7,%edi
call   1140 <q@plt>
mov    $0x3,%edi
call   1070 <r@plt>
mov    $0x1e,%edi
call   10f0 <s5@plt>
mov    $0x14,%edi
call   1060 <t@plt>
mov    $0x13,%edi
call   1130 <u@plt>
mov    $0x9,%edi
call   1110 <w@plt>
mov    $0x8,%edi
call   1090 <x@plt>
mov    $0x7,%edi
call   1120 <y@plt>
mov    $0x5,%edi
call   1080 <z@plt>
mov    $0x1,%edi
call   1080 <z@plt>
mov    $0xa,%edi
call   10e0 <malloc@plt>
xor    %eax,%eax
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rax
mov    $0x2c2,%edi
call   10b0 <d1@plt>
mov    %rax,%rdi
call   1030 <free@plt>
mov    $0x5,%edi
call   1150 <d2@plt>
mov    $0x1e,%edi
call   1040 <c2@plt>
mov    $0x14,%edi
call   10c0 <b2@plt>
mov    $0xa,%edi
call   10a0 <f@plt>
mov    $0x3c,%edi
call   1050 <l@plt>
mov    $0x1e,%edi
call   10d0 <n1@plt>
mov    $0x14,%edi
call   1100 <o@plt>
mov    $0x7,%edi
call   1140 <q@plt>
mov    $0x3,%edi
call   1070 <r@plt>
mov    $0x1e,%edi
call   10f0 <s5@plt>
mov    $0x14,%edi
call   1060 <t@plt>
mov    $0x13,%edi
call   1130 <u@plt>
mov    $0x9,%edi
call   1110 <w@plt>
mov    $0x8,%edi
call   1090 <x@plt>
mov    $0x7,%edi
call   1120 <y@plt>
mov    $0x5,%edi
call   1080 <z@plt>
mov    $0x1,%edi
call   1080 <z@plt>
mov    $0xa,%edi
call   10e0 <malloc@plt>
xor    %eax,%eax
pop    %rcx
ret

LLVM IR (-O0):
define i32 @main() {
%1 = alloca i32*
%2 = call i32* @d1(i32 706)
store i32* %2, i32** %1
%3 = load i32*, i32** %1
%4 = call i32 @free(i32* %3)
%5 = call i32 @d2(i32 5)
%6 = call i32 @c2(i32 30)
%7 = call i32 @b2(i32 20)
%8 = call i32 @f(i32 10)
%9 = call i32 @l(i32 60)
%10 = call i32 @n1(i32 30)
%11 = call i32 @o(i32 20)
%12 = call i32 @q(i32 7)
%13 = call i32 @r(i32 3)
%14 = call i32 @s5(i32 30)
%15 = call i32 @t(i32 20)
%16 = call i32 @u(i32 19)
%17 = call i32 @w(i32 9)
%18 = call i32 @x(i32 8)
%19 = call i32 @y(i32 7)
%20 = call i32 @z(i32 5)
%21 = call i32 @z(i32 1)
%22 = call i32 @malloc(i32 10)
ret i32 0
}

LLVM IR (-O2):
define i32 @main() {
%1 = tail call i32* @d1(i32 706)
%2 = tail call i32 @free(i32* %1)
%3 = tail call i32 @d2(i32 5)
%4 = tail call i32 @c2(i32 30)
%5 = tail call i32 @b2(i32 20)
%6 = tail call i32 @f(i32 10)
%7 = tail call i32 @l(i32 60)
%8 = tail call i32 @n1(i32 30)
%9 = tail call i32 @o(i32 20)
%10 = tail call i32 @q(i32 7)
%11 = tail call i32 @r(i32 3)
%12 = tail call i32 @s5(i32 30)
%13 = tail call i32 @t(i32 20)
%14 = tail call i32 @u(i32 19)
%15 = tail call i32 @w(i32 9)
%16 = tail call i32 @x(i32 8)
%17 = tail call i32 @y(i32 7)
%18 = tail call i32 @z(i32 5)
%19 = tail call i32 @z(i32 1)
%20 = tail call i32 @malloc(i32 10)
ret i32 0
}