#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*/ fflush(int /*<<< orphan*/);
int /*<<< orphan*/ printf(char *);
int /*<<< orphan*/ stdout;
void print_program_info(void) {
  printf("\n");
  printf("                "
         "*****************************************************\n");
  printf("                * AMBER Bond Angle and Dihedral Parameter Optimiser "
         "*\n");
  printf("                *                                                   "
         "*\n");
  printf("                *                      v3.0.0                       "
         "*\n");
  printf("                *                                                   "
         "*\n");
  printf("                *                    Written by:                    "
         "*\n");
  printf("                *                 Robin Betz (2011)                 "
         "*\n");
  printf("                *                 Ross Walker (2004)                "
         "*\n");
  printf("                *          The Walker Molecular Dynamics Lab        "
         "*\n");
  printf("                *         University of California, San Diego       "
         "*\n");
  printf("                *            La Jolla, California, 92092            "
         "*\n");
  printf("                *                       USA                         "
         "*\n");
  printf("                "
         "*****************************************************\n");
  printf("\n");
  fflush(stdout);
}


x86 assembly (clang, -O0):
<print_program_info>:
push   %rbp
mov    %rsp,%rbp
lea    0xfa8(%rip),%rdi
call   1030 <printf@plt>
lea    0xec9(%rip),%rdi
call   1030 <printf@plt>
lea    0xf04(%rip),%rdi
call   1030 <printf@plt>
lea    0xf3f(%rip),%rdi
call   1030 <printf@plt>
lea    0xf7a(%rip),%rdi
call   1030 <printf@plt>
lea    0xf27(%rip),%rdi
call   1030 <printf@plt>
lea    0xfa9(%rip),%rdi
call   1030 <printf@plt>
lea    0xfe4(%rip),%rdi
call   1030 <printf@plt>
lea    0x101f(%rip),%rdi
call   1030 <printf@plt>
lea    0x105a(%rip),%rdi
call   1030 <printf@plt>
lea    0x1095(%rip),%rdi
call   1030 <printf@plt>
lea    0x10d0(%rip),%rdi
call   1030 <printf@plt>
lea    0x110b(%rip),%rdi
call   1030 <printf@plt>
lea    0xe39(%rip),%rdi
call   1030 <printf@plt>
lea    0xf00(%rip),%rdi
call   1030 <printf@plt>
mov    0x2e01(%rip),%rax
mov    (%rax),%edi
call   1040 <fflush@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<print_program_info>:
push   %r14
push   %rbx
push   %rax
mov    $0xa,%edi
call   1030 <putchar@plt>
lea    0x1177(%rip),%r14
mov    %r14,%rdi
call   1040 <puts@plt>
lea    0xeac(%rip),%rdi
call   1040 <puts@plt>
lea    0xf2c(%rip),%rbx
mov    %rbx,%rdi
call   1040 <puts@plt>
lea    0xed7(%rip),%rdi
call   1040 <puts@plt>
mov    %rbx,%rdi
call   1040 <puts@plt>
lea    0xf4f(%rip),%rdi
call   1040 <puts@plt>
lea    0xf89(%rip),%rdi
call   1040 <puts@plt>
lea    0xfc3(%rip),%rdi
call   1040 <puts@plt>
lea    0xffd(%rip),%rdi
call   1040 <puts@plt>
lea    0x1037(%rip),%rdi
call   1040 <puts@plt>
lea    0x1071(%rip),%rdi
call   1040 <puts@plt>
lea    0x10ab(%rip),%rdi
call   1040 <puts@plt>
mov    %r14,%rdi
call   1040 <puts@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
mov    0x2df7(%rip),%rax
mov    (%rax),%edi
add    $0x8,%rsp
pop    %rbx
pop    %r14
jmp    1050 <fflush@plt>

LLVM IR (-O0):
@.str = [2 x i8] c"\0A\00"
@.str.1 = [71 x i8] c" *****************************************************\0A\00"
@.str.2 = [71 x i8] c" * AMBER Bond Angle and Dihedral Parameter Optimiser *\0A\00"
@.str.3 = [71 x i8] c" * *\0A\00"
@.str.4 = [71 x i8] c" * v3.0.0 *\0A\00"
@.str.5 = [71 x i8] c" * Written by: *\0A\00"
@.str.6 = [71 x i8] c" * Robin Betz (2011) *\0A\00"
@.str.7 = [71 x i8] c" * Ross Walker (2004) *\0A\00"
@.str.8 = [71 x i8] c" * The Walker Molecular Dynamics Lab *\0A\00"
@.str.9 = [71 x i8] c" * University of California, San Diego *\0A\00"
@.str.10 = [71 x i8] c" * La Jolla, California, 92092 *\0A\00"
@.str.11 = [71 x i8] c" * USA *\0A\00"
@stdout = global i32 0
define void @print_program_info() {
%1 = call i32 @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0))
%2 = call i32 @printf(i8* getelementptr inbounds ([71 x i8], [71 x i8]* @.str.1, i64 0, i64 0))
%3 = call i32 @printf(i8* getelementptr inbounds ([71 x i8], [71 x i8]* @.str.2, i64 0, i64 0))
%4 = call i32 @printf(i8* getelementptr inbounds ([71 x i8], [71 x i8]* @.str.3, i64 0, i64 0))
%5 = call i32 @printf(i8* getelementptr inbounds ([71 x i8], [71 x i8]* @.str.4, i64 0, i64 0))
%6 = call i32 @printf(i8* getelementptr inbounds ([71 x i8], [71 x i8]* @.str.3, i64 0, i64 0))
%7 = call i32 @printf(i8* getelementptr inbounds ([71 x i8], [71 x i8]* @.str.5, i64 0, i64 0))
%8 = call i32 @printf(i8* getelementptr inbounds ([71 x i8], [71 x i8]* @.str.6, i64 0, i64 0))
%9 = call i32 @printf(i8* getelementptr inbounds ([71 x i8], [71 x i8]* @.str.7, i64 0, i64 0))
%10 = call i32 @printf(i8* getelementptr inbounds ([71 x i8], [71 x i8]* @.str.8, i64 0, i64 0))
%11 = call i32 @printf(i8* getelementptr inbounds ([71 x i8], [71 x i8]* @.str.9, i64 0, i64 0))
%12 = call i32 @printf(i8* getelementptr inbounds ([71 x i8], [71 x i8]* @.str.10, i64 0, i64 0))
%13 = call i32 @printf(i8* getelementptr inbounds ([71 x i8], [71 x i8]* @.str.11, i64 0, i64 0))
%14 = call i32 @printf(i8* getelementptr inbounds ([71 x i8], [71 x i8]* @.str.1, i64 0, i64 0))
%15 = call i32 @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0))
%16 = load i32, i32* @stdout
%17 = call i32 @fflush(i32 %16)
ret void
}

LLVM IR (-O2):
@stdout = global i32 0
@str.12 = [70 x i8] c" * AMBER Bond Angle and Dihedral Parameter Optimiser *\00"
@str.14 = [70 x i8] c" * v3.0.0 *\00"
@str.15 = [70 x i8] c" * *\00"
@str.16 = [70 x i8] c" * Written by: *\00"
@str.17 = [70 x i8] c" * Robin Betz (2011) *\00"
@str.18 = [70 x i8] c" * Ross Walker (2004) *\00"
@str.19 = [70 x i8] c" * The Walker Molecular Dynamics Lab *\00"
@str.20 = [70 x i8] c" * University of California, San Diego *\00"
@str.21 = [70 x i8] c" * La Jolla, California, 92092 *\00"
@str.22 = [70 x i8] c" * USA *\00"
@str.23 = [70 x i8] c" *****************************************************\00"
define void @print_program_info() {
%1 = tail call i32 @putchar(i32 10)
%2 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([70 x i8], [70 x i8]* @str.23, i64 0, i64 0))
%3 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([70 x i8], [70 x i8]* @str.12, i64 0, i64 0))
%4 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([70 x i8], [70 x i8]* @str.15, i64 0, i64 0))
%5 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([70 x i8], [70 x i8]* @str.14, i64 0, i64 0))
%6 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([70 x i8], [70 x i8]* @str.15, i64 0, i64 0))
%7 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([70 x i8], [70 x i8]* @str.16, i64 0, i64 0))
%8 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([70 x i8], [70 x i8]* @str.17, i64 0, i64 0))
%9 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([70 x i8], [70 x i8]* @str.18, i64 0, i64 0))
%10 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([70 x i8], [70 x i8]* @str.19, i64 0, i64 0))
%11 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([70 x i8], [70 x i8]* @str.20, i64 0, i64 0))
%12 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([70 x i8], [70 x i8]* @str.21, i64 0, i64 0))
%13 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([70 x i8], [70 x i8]* @str.22, i64 0, i64 0))
%14 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([70 x i8], [70 x i8]* @str.23, i64 0, i64 0))
%15 = tail call i32 @putchar(i32 10)
%16 = load i32, i32* @stdout
%17 = tail call i32 @fflush(i32 %16)
ret void
}