#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*/ genembbin_fromfile(char *, char *);
int /*<<< orphan*/ printf(char *);
main() {
  printf(
      "/* embbin.h\n"
      " * Embedded binaries' tables\n"
      " *\n"
      " * *** Do not edit this file directly, it was generated by genembbin.c\n"
      " * *** genembbin is not invoked neither compiled by make,\n"
      " * *** thus it should be compiled and executed manually.\n"
      " *\n"
      " * Ziproxy - the HTTP acceleration proxy\n"
      " * This code is under the following conditions:\n"
      " *\n"
      " * "
      "---------------------------------------------------------------------\n"
      " * Copyright (c)2005-2013 Daniel Mealha Cabrita\n"
      " *\n"
      " * This program is free software; you can redistribute it and/or "
      "modify\n"
      " * it under the terms of the GNU General Public License as published "
      "by\n"
      " * the Free Software Foundation; either version 2 of the License, or\n"
      " * (at your option) any later version.\n"
      " *\n"
      " * This program is distributed in the hope that it will be useful,\n"
      " * but WITHOUT ANY WARRANTY; without even the implied warranty of\n"
      " * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n"
      " * GNU General Public License for more details.\n"
      " *\n"
      " * You should have received a copy of the GNU General Public License\n"
      " * along with this program; if not, write to the Free Software\n"
      " * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111 USA\n"
      " * "
      "---------------------------------------------------------------------\n"
      " */\n"
      "\n\n");
  printf("//To stop multiple inclusions.\n"
         "#ifndef EMBBIN_H\n"
         "#define EMBBIN_H\n"
         "\n");
  genembbin_fromfile("embbin_empty_image", "embbin/empty_image.gif");
  printf("\n"
         "#endif\n"
         "\n");
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
lea    0xed5(%rip),%rdi
call   1030 <printf@plt>
lea    0x139c(%rip),%rdi
call   1030 <printf@plt>
lea    0x13d3(%rip),%rdi
lea    0x13df(%rip),%rsi
call   1040 <genembbin_fromfile@plt>
lea    0x13ea(%rip),%rdi
call   1030 <printf@plt>
xor    %eax,%eax
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rax
lea    0xf02(%rip),%rdi
call   1030 <puts@plt>
lea    0x13c8(%rip),%rdi
call   1030 <puts@plt>
lea    0xec0(%rip),%rdi
lea    0xecc(%rip),%rsi
call   1040 <genembbin_fromfile@plt>
lea    0x13eb(%rip),%rdi
call   1030 <puts@plt>
xor    %eax,%eax
pop    %rcx
ret

LLVM IR (-O0):
@.str = [1235 x i8] c"/* embbin.h\0A * Embedded binaries' tables\0A *\0A * *** Do not edit this file directly, it was generated by genembbin.c\0A * *** genembbin is not invoked neither compiled by make,\0A * *** thus it should be compiled and executed manually.\0A *\0A * Ziproxy - the HTTP acceleration proxy\0A * This code is under the following conditions:\0A *\0A * ---------------------------------------------------------------------\0A * Copyright (c)2005-2013 Daniel Mealha Cabrita\0A *\0A * This program is free software; you can redistribute it and/or modify\0A * it under the terms of the GNU General Public License as published by\0A * the Free Software Foundation; either version 2 of the License, or\0A * (at your option) any later version.\0A *\0A * This program is distributed in the hope that it will be useful,\0A * but WITHOUT ANY WARRANTY; without even the implied warranty of\0A * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\0A * GNU General Public License for more details.\0A *\0A * You should have received a copy of the GNU General Public License\0A * along with this program; if not, write to the Free Software\0A * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111 USA\0A * ---------------------------------------------------------------------\0A */\0A\0A\0A\00"
@.str.1 = [67 x i8] c"//To stop multiple inclusions.\0A#ifndef EMBBIN_H\0A#define EMBBIN_H\0A\0A\00"
@.str.2 = [19 x i8] c"embbin_empty_image\00"
@.str.3 = [23 x i8] c"embbin/empty_image.gif\00"
@.str.4 = [10 x i8] c"\0A#endif\0A\0A\00"
define i32 @main() {
%1 = call i32 @printf(i8* getelementptr inbounds ([1235 x i8], [1235 x i8]* @.str, i64 0, i64 0))
%2 = call i32 @printf(i8* getelementptr inbounds ([67 x i8], [67 x i8]* @.str.1, i64 0, i64 0))
%3 = call i32 @genembbin_fromfile(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.3, i64 0, i64 0))
%4 = call i32 @printf(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.4, i64 0, i64 0))
ret i32 0
}

LLVM IR (-O2):
@.str.2 = [19 x i8] c"embbin_empty_image\00"
@.str.3 = [23 x i8] c"embbin/empty_image.gif\00"
@str = [1234 x i8] c"/* embbin.h\0A * Embedded binaries' tables\0A *\0A * *** Do not edit this file directly, it was generated by genembbin.c\0A * *** genembbin is not invoked neither compiled by make,\0A * *** thus it should be compiled and executed manually.\0A *\0A * Ziproxy - the HTTP acceleration proxy\0A * This code is under the following conditions:\0A *\0A * ---------------------------------------------------------------------\0A * Copyright (c)2005-2013 Daniel Mealha Cabrita\0A *\0A * This program is free software; you can redistribute it and/or modify\0A * it under the terms of the GNU General Public License as published by\0A * the Free Software Foundation; either version 2 of the License, or\0A * (at your option) any later version.\0A *\0A * This program is distributed in the hope that it will be useful,\0A * but WITHOUT ANY WARRANTY; without even the implied warranty of\0A * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\0A * GNU General Public License for more details.\0A *\0A * You should have received a copy of the GNU General Public License\0A * along with this program; if not, write to the Free Software\0A * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111 USA\0A * ---------------------------------------------------------------------\0A */\0A\0A\00"
@str.5 = [66 x i8] c"//To stop multiple inclusions.\0A#ifndef EMBBIN_H\0A#define EMBBIN_H\0A\00"
@str.6 = [9 x i8] c"\0A#endif\0A\00"
define i32 @main() {
%1 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([1234 x i8], [1234 x i8]* @str, i64 0, i64 0))
%2 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([66 x i8], [66 x i8]* @str.5, i64 0, i64 0))
%3 = tail call i32 @genembbin_fromfile(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.3, i64 0, i64 0))
%4 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @str.6, i64 0, i64 0))
ret i32 0
}