#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*/ add(int);
int /*<<< orphan*/ del();
int /*<<< orphan*/ printQ();
int /*<<< orphan*/ push(int);
int main() {
  add(1);
  add(2);
  add(3);
  add(4);
  del();
  add(5);
  add(6);
  add(7);
  add(8);
  printQ();
  push(1);
  push(2);
  push(3);
  push(4);
  push(5);
  push(6);
  return 1;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
movl   $0x0,-0x4(%rbp)
mov    $0x1,%edi
call   1030 <add@plt>
mov    $0x2,%edi
call   1030 <add@plt>
mov    $0x3,%edi
call   1030 <add@plt>
mov    $0x4,%edi
call   1030 <add@plt>
mov    $0x0,%al
call   1060 <del@plt>
mov    $0x5,%edi
call   1030 <add@plt>
mov    $0x6,%edi
call   1030 <add@plt>
mov    $0x7,%edi
call   1030 <add@plt>
mov    $0x8,%edi
call   1030 <add@plt>
mov    $0x0,%al
call   1040 <printQ@plt>
mov    $0x1,%edi
call   1050 <push@plt>
mov    $0x2,%edi
call   1050 <push@plt>
mov    $0x3,%edi
call   1050 <push@plt>
mov    $0x4,%edi
call   1050 <push@plt>
mov    $0x5,%edi
call   1050 <push@plt>
mov    $0x6,%edi
call   1050 <push@plt>
mov    $0x1,%eax
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rax
mov    $0x1,%edi
call   1030 <add@plt>
mov    $0x2,%edi
call   1030 <add@plt>
mov    $0x3,%edi
call   1030 <add@plt>
mov    $0x4,%edi
call   1030 <add@plt>
xor    %eax,%eax
call   1060 <del@plt>
mov    $0x5,%edi
call   1030 <add@plt>
mov    $0x6,%edi
call   1030 <add@plt>
mov    $0x7,%edi
call   1030 <add@plt>
mov    $0x8,%edi
call   1030 <add@plt>
xor    %eax,%eax
call   1040 <printQ@plt>
mov    $0x1,%edi
call   1050 <push@plt>
mov    $0x2,%edi
call   1050 <push@plt>
mov    $0x3,%edi
call   1050 <push@plt>
mov    $0x4,%edi
call   1050 <push@plt>
mov    $0x5,%edi
call   1050 <push@plt>
mov    $0x6,%edi
call   1050 <push@plt>
mov    $0x1,%eax
pop    %rcx
ret

LLVM IR (-O0):
define i32 @main() {
%1 = alloca i32
store i32 0, i32* %1
%2 = call i32 @add(i32 1)
%3 = call i32 @add(i32 2)
%4 = call i32 @add(i32 3)
%5 = call i32 @add(i32 4)
%6 = call i32 (...) @del()
%7 = call i32 @add(i32 5)
%8 = call i32 @add(i32 6)
%9 = call i32 @add(i32 7)
%10 = call i32 @add(i32 8)
%11 = call i32 (...) @printQ()
%12 = call i32 @push(i32 1)
%13 = call i32 @push(i32 2)
%14 = call i32 @push(i32 3)
%15 = call i32 @push(i32 4)
%16 = call i32 @push(i32 5)
%17 = call i32 @push(i32 6)
ret i32 1
}

LLVM IR (-O2):
define i32 @main() {
%1 = tail call i32 @add(i32 1)
%2 = tail call i32 @add(i32 2)
%3 = tail call i32 @add(i32 3)
%4 = tail call i32 @add(i32 4)
%5 = tail call i32 (...) @del()
%6 = tail call i32 @add(i32 5)
%7 = tail call i32 @add(i32 6)
%8 = tail call i32 @add(i32 7)
%9 = tail call i32 @add(i32 8)
%10 = tail call i32 (...) @printQ()
%11 = tail call i32 @push(i32 1)
%12 = tail call i32 @push(i32 2)
%13 = tail call i32 @push(i32 3)
%14 = tail call i32 @push(i32 4)
%15 = tail call i32 @push(i32 5)
%16 = tail call i32 @push(i32 6)
ret i32 1
}