#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*/ printf(char *);
void printHeader() {
  printf("\nACADO Toolkit -- A Toolkit for Automatic Control and Dynamic "
         "Optimization.\n"
         "Copyright (C) 2008-2013 by Boris Houska, Hans Joachim Ferreau,\n"
         "Milan Vukov and Rien Quirynen, KU Leuven.\n");
  printf(
      "Developed within the Optimization in Engineering Center (OPTEC) under\n"
      "supervision of Moritz Diehl. All rights reserved.\n\n"
      "ACADO Toolkit is distributed under the terms of the GNU Lesser\n"
      "General Public License 3 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 Lesser General Public License for more details.\n\n");
}


x86 assembly (clang, -O0):
<printHeader>:
push   %rbp
mov    %rsp,%rbp
lea    0xee5(%rip),%rdi
call   1030 <printf@plt>
lea    0xf8f(%rip),%rdi
call   1030 <printf@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<printHeader>:
push   %rax
lea    0xee8(%rip),%rdi
call   1030 <puts@plt>
lea    0xf91(%rip),%rdi
pop    %rax
jmp    1030 <puts@plt>

LLVM IR (-O0):
@.str = [182 x i8] c"\0AACADO Toolkit -- A Toolkit for Automatic Control and Dynamic Optimization.\0ACopyright (C) 2008-2013 by Boris Houska, Hans Joachim Ferreau,\0AMilan Vukov and Rien Quirynen, KU Leuven.\0A\00"
@.str.1 = [423 x i8] c"Developed within the Optimization in Engineering Center (OPTEC) under\0Asupervision of Moritz Diehl. All rights reserved.\0A\0AACADO Toolkit is distributed under the terms of the GNU Lesser\0AGeneral Public License 3 in the hope that it will be useful,\0Abut WITHOUT ANY WARRANTY; without even the implied warranty of\0AMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\0AGNU Lesser General Public License for more details.\0A\0A\00"
define void @printHeader() {
%1 = call i32 @printf(i8* getelementptr inbounds ([182 x i8], [182 x i8]* @.str, i64 0, i64 0))
%2 = call i32 @printf(i8* getelementptr inbounds ([423 x i8], [423 x i8]* @.str.1, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@str = [181 x i8] c"\0AACADO Toolkit -- A Toolkit for Automatic Control and Dynamic Optimization.\0ACopyright (C) 2008-2013 by Boris Houska, Hans Joachim Ferreau,\0AMilan Vukov and Rien Quirynen, KU Leuven.\00"
@str.2 = [422 x i8] c"Developed within the Optimization in Engineering Center (OPTEC) under\0Asupervision of Moritz Diehl. All rights reserved.\0A\0AACADO Toolkit is distributed under the terms of the GNU Lesser\0AGeneral Public License 3 in the hope that it will be useful,\0Abut WITHOUT ANY WARRANTY; without even the implied warranty of\0AMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\0AGNU Lesser General Public License for more details.\0A\00"
define void @printHeader() {
%1 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([181 x i8], [181 x i8]* @str, i64 0, i64 0))
%2 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([422 x i8], [422 x i8]* @str.2, i64 0, i64 0))
ret void
}