#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 */
typedef int /*<<< orphan*/ FILE;

/* Variables and functions */
int /*<<< orphan*/ fprintf(int /*<<< orphan*/ *, char *);
void PrintGPL(FILE *pf) {
  fprintf(
      pf,
      "-------------------------------------------------------------------"
      "\nSUDOKU SENSEI 1.03: a Sudoku Explainer Engine\nCopyright (C) 2005  "
      "Martin Knoblauch\n\nThis program is free software; you can redistribute "
      "it and/or\nmodify it under the terms of the GNU General Public "
      "License\nas published by the Free Software Foundation; either version "
      "2\nof the License, or (at your option) any later version.\n\nThis "
      "program is distributed in the hope that it will be useful,\nbut WITHOUT "
      "ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or "
      "FITNESS FOR A PARTICULAR PURPOSE.  See the\nGNU General Public License "
      "for more details.\n\nYou should have received a copy of the GNU General "
      "Public License\nalong with this program; if not, write to the Free "
      "Software\nFoundation, Inc., 51 Franklin Street, Fifth Floor, "
      "Boston,\nMA  02110-1301, USA.\n\nContact the author: comocomocomo AT "
      "users.sourceforge.net\nLatest versions: "
      "http://sourceforge.net/projects/"
      "sudoku-sensei\n---------------------------------------------------------"
      "----------\n\n");
}


x86 assembly (clang, -O0):
<PrintGPL>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
mov    %rdi,-0x8(%rbp)
mov    -0x8(%rbp),%rdi
lea    0xed9(%rip),%rsi
call   1030 <fprintf@plt>
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<PrintGPL>:
mov    %rdi,%rcx
lea    0xee6(%rip),%rdi
mov    $0x401,%esi
mov    $0x1,%edx
jmp    1030 <fwrite@plt>

LLVM IR (-O0):
@.str = [1026 x i8] c"-------------------------------------------------------------------\0ASUDOKU SENSEI 1.03: a Sudoku Explainer Engine\0ACopyright (C) 2005 Martin Knoblauch\0A\0AThis program is free software; you can redistribute it and/or\0Amodify it under the terms of the GNU General Public License\0Aas published by the Free Software Foundation; either version 2\0Aof the License, or (at your option) any later version.\0A\0AThis program is distributed 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 General Public License for more details.\0A\0AYou should have received a copy of the GNU General Public License\0Aalong with this program; if not, write to the Free Software\0AFoundation, Inc., 51 Franklin Street, Fifth Floor, Boston,\0AMA 02110-1301, USA.\0A\0AContact the author: comocomocomo AT users.sourceforge.net\0ALatest versions: http://sourceforge.net/projects/sudoku-sensei\0A-------------------------------------------------------------------\0A\0A\00"
define void @PrintGPL(i32* %0) {
%2 = alloca i32*
store i32* %0, i32** %2
%3 = load i32*, i32** %2
%4 = call i32 @fprintf(i32* %3, i8* getelementptr inbounds ([1026 x i8], [1026 x i8]* @.str, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@.str = [1026 x i8] c"-------------------------------------------------------------------\0ASUDOKU SENSEI 1.03: a Sudoku Explainer Engine\0ACopyright (C) 2005 Martin Knoblauch\0A\0AThis program is free software; you can redistribute it and/or\0Amodify it under the terms of the GNU General Public License\0Aas published by the Free Software Foundation; either version 2\0Aof the License, or (at your option) any later version.\0A\0AThis program is distributed 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 General Public License for more details.\0A\0AYou should have received a copy of the GNU General Public License\0Aalong with this program; if not, write to the Free Software\0AFoundation, Inc., 51 Franklin Street, Fifth Floor, Boston,\0AMA 02110-1301, USA.\0A\0AContact the author: comocomocomo AT users.sourceforge.net\0ALatest versions: http://sourceforge.net/projects/sudoku-sensei\0A-------------------------------------------------------------------\0A\0A\00"
define void @PrintGPL(i32* nocapture %0) {
%2 = tail call i64 @fwrite(i8* getelementptr inbounds ([1026 x i8], [1026 x i8]* @.str, i64 0, i64 0), i64 1025, i64 1, i32* %0)
ret void
}