#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*/ display_version();
int /*<<< orphan*/ printf(char *);
void display_license(void) {
  display_version();
  printf(
      "  Copyright 1998       Steven Young (sdyoung@well.com)\n  Copyright "
      "1998-2002  Robert James Kaes (rjkaes@users.sourceforge.net)\n  "
      "Copyright 1999       George Talusan (gstalusan@uwaterloo.ca)\n  "
      "Copyright 2000       Chris Lightfoot (chris@ex-parrot.com)\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, or (at your option)\n  "
      "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-1307, USA.\n");
}


x86 assembly (clang, -O0):
<display_license>:
push   %rbp
mov    %rsp,%rbp
mov    $0x0,%al
call   1030 <display_version@plt>
lea    0xece(%rip),%rdi
call   1040 <printf@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<display_license>:
push   %rax
xor    %eax,%eax
call   1040 <display_version@plt>
lea    0xed1(%rip),%rdi
pop    %rax
jmp    1030 <puts@plt>

LLVM IR (-O0):
@.str = [936 x i8] c" Copyright 1998 Steven Young (sdyoung@well.com)\0A Copyright 1998-2002 Robert James Kaes (rjkaes@users.sourceforge.net)\0A Copyright 1999 George Talusan (gstalusan@uwaterloo.ca)\0A Copyright 2000 Chris Lightfoot (chris@ex-parrot.com)\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, or (at your option)\0A 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-1307, USA.\0A\00"
define void @display_license() {
%1 = call i32 (...) @display_version()
%2 = call i32 @printf(i8* getelementptr inbounds ([936 x i8], [936 x i8]* @.str, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@str = [935 x i8] c" Copyright 1998 Steven Young (sdyoung@well.com)\0A Copyright 1998-2002 Robert James Kaes (rjkaes@users.sourceforge.net)\0A Copyright 1999 George Talusan (gstalusan@uwaterloo.ca)\0A Copyright 2000 Chris Lightfoot (chris@ex-parrot.com)\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, or (at your option)\0A 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-1307, USA.\00"
define void @display_license() {
%1 = tail call i32 (...) @display_version()
%2 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([935 x i8], [935 x i8]* @str, i64 0, i64 0))
ret void
}