#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*/ fputs(char *, int /*<<< orphan*/ *);
void print_license(FILE *f) {
  fputs("Copyright © 2004--2009 R.F. Smith <rsmith@xs4all.nl>."
        " All rights reserved\n\n",
        f);
  fputs("Redistribution and use in source and binary forms, "
        "with or without\n",
        f);
  fputs("modification, are permitted provided that the following"
        " conditions\n",
        f);
  fputs("are met:\n", f);
  fputs("1. Redistributions of source code must retain the above"
        " copyright\n",
        f);
  fputs("   notice, this list of conditions and the following"
        " disclaimer.\n",
        f);
  fputs("2. Redistributions in binary form must reproduce the"
        " above copyright\n",
        f);
  fputs("   notice, this list of conditions and the following"
        " disclaimer in the\n",
        f);
  fputs("   documentation and/or other materials provided with"
        " the distribution.\n\n",
        f);
  fputs("THIS SOFTWARE IS PROVIDED BY AUTHOR AND CONTRIBUTORS"
        " ``AS IS'' AND\n",
        f);
  fputs("ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT"
        " LIMITED TO, THE\n",
        f);
  fputs("IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR"
        " A PARTICULAR PURPOSE\n",
        f);
  fputs("ARE DISCLAIMED.  IN NO EVENT SHALL AUTHOR OR CONTRIBUTORS"
        " BE LIABLE\n",
        f);
  fputs("FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,"
        " OR CONSEQUENTIAL\n",
        f);
  fputs("DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF"
        " SUBSTITUTE GOODS\n",
        f);
  fputs("OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS"
        " INTERRUPTION)\n",
        f);
  fputs("HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER"
        " IN CONTRACT, STRICT\n",
        f);
  fputs("LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)"
        " ARISING IN ANY WAY\n",
        f);
  fputs("OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE"
        " POSSIBILITY OF\n",
        f);
  fputs("SUCH DAMAGE.\n", f);
}


x86 assembly (clang, -O0):
<print_license>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
mov    %rdi,-0x8(%rbp)
mov    -0x8(%rbp),%rsi
lea    0xed9(%rip),%rdi
call   1030 <fputs@plt>
mov    -0x8(%rbp),%rsi
lea    0xf16(%rip),%rdi
call   1030 <fputs@plt>
mov    -0x8(%rbp),%rsi
lea    0xf4a(%rip),%rdi
call   1030 <fputs@plt>
mov    -0x8(%rbp),%rsi
lea    0xf7e(%rip),%rdi
call   1030 <fputs@plt>
mov    -0x8(%rbp),%rsi
lea    0xf78(%rip),%rdi
call   1030 <fputs@plt>
mov    -0x8(%rbp),%rsi
lea    0xfab(%rip),%rdi
call   1030 <fputs@plt>
mov    -0x8(%rbp),%rsi
lea    0xfdd(%rip),%rdi
call   1030 <fputs@plt>
mov    -0x8(%rbp),%rsi
lea    0x1013(%rip),%rdi
call   1030 <fputs@plt>
mov    -0x8(%rbp),%rsi
lea    0x104b(%rip),%rdi
call   1030 <fputs@plt>
mov    -0x8(%rbp),%rsi
lea    0x1085(%rip),%rdi
call   1030 <fputs@plt>
mov    -0x8(%rbp),%rsi
lea    0x10b9(%rip),%rdi
call   1030 <fputs@plt>
mov    -0x8(%rbp),%rsi
lea    0x10f0(%rip),%rdi
call   1030 <fputs@plt>
mov    -0x8(%rbp),%rsi
lea    0x112c(%rip),%rdi
call   1030 <fputs@plt>
mov    -0x8(%rbp),%rsi
lea    0x1161(%rip),%rdi
call   1030 <fputs@plt>
mov    -0x8(%rbp),%rsi
lea    0x119d(%rip),%rdi
call   1030 <fputs@plt>
mov    -0x8(%rbp),%rsi
lea    0x11d6(%rip),%rdi
call   1030 <fputs@plt>
mov    -0x8(%rbp),%rsi
lea    0x120d(%rip),%rdi
call   1030 <fputs@plt>
mov    -0x8(%rbp),%rsi
lea    0x1249(%rip),%rdi
call   1030 <fputs@plt>
mov    -0x8(%rbp),%rsi
lea    0x1284(%rip),%rdi
call   1030 <fputs@plt>
mov    -0x8(%rbp),%rsi
lea    0x12bc(%rip),%rdi
call   1030 <fputs@plt>
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<print_license>:
push   %rbx
mov    %rdi,%rbx
lea    0xee5(%rip),%rdi
mov    $0x4c,%esi
mov    $0x1,%edx
mov    %rbx,%rcx
call   1030 <fwrite@plt>
lea    0xf19(%rip),%rdi
mov    $0x43,%esi
mov    $0x1,%edx
mov    %rbx,%rcx
call   1030 <fwrite@plt>
lea    0xf44(%rip),%rdi
mov    $0x43,%esi
mov    $0x1,%edx
mov    %rbx,%rcx
call   1030 <fwrite@plt>
lea    0xf6f(%rip),%rdi
mov    $0x9,%esi
mov    $0x1,%edx
mov    %rbx,%rcx
call   1030 <fwrite@plt>
lea    0xf60(%rip),%rdi
mov    $0x42,%esi
mov    $0x1,%edx
mov    %rbx,%rcx
call   1030 <fwrite@plt>
lea    0xf8a(%rip),%rdi
mov    $0x41,%esi
mov    $0x1,%edx
mov    %rbx,%rcx
call   1030 <fwrite@plt>
lea    0xfb3(%rip),%rdi
mov    $0x45,%esi
mov    $0x1,%edx
mov    %rbx,%rcx
call   1030 <fwrite@plt>
lea    0xfe0(%rip),%rdi
mov    $0x47,%esi
mov    $0x1,%edx
mov    %rbx,%rcx
call   1030 <fwrite@plt>
lea    0x100f(%rip),%rdi
mov    $0x49,%esi
mov    $0x1,%edx
mov    %rbx,%rcx
call   1030 <fwrite@plt>
lea    0x1040(%rip),%rdi
mov    $0x43,%esi
mov    $0x1,%edx
mov    %rbx,%rcx
call   1030 <fwrite@plt>
lea    0x106b(%rip),%rdi
mov    $0x46,%esi
mov    $0x1,%edx
mov    %rbx,%rcx
call   1030 <fwrite@plt>
lea    0x1099(%rip),%rdi
mov    $0x4b,%esi
mov    $0x1,%edx
mov    %rbx,%rcx
call   1030 <fwrite@plt>
lea    0x10cc(%rip),%rdi
mov    $0x44,%esi
mov    $0x1,%edx
mov    %rbx,%rcx
call   1030 <fwrite@plt>
lea    0x10f8(%rip),%rdi
mov    $0x4b,%esi
mov    $0x1,%edx
mov    %rbx,%rcx
call   1030 <fwrite@plt>
lea    0x112b(%rip),%rdi
mov    $0x48,%esi
mov    $0x1,%edx
mov    %rbx,%rcx
call   1030 <fwrite@plt>
lea    0x115b(%rip),%rdi
mov    $0x46,%esi
mov    $0x1,%edx
mov    %rbx,%rcx
call   1030 <fwrite@plt>
lea    0x1189(%rip),%rdi
mov    $0x4b,%esi
mov    $0x1,%edx
mov    %rbx,%rcx
call   1030 <fwrite@plt>
lea    0x11bc(%rip),%rdi
mov    $0x4a,%esi
mov    $0x1,%edx
mov    %rbx,%rcx
call   1030 <fwrite@plt>
lea    0x11ee(%rip),%rdi
mov    $0x47,%esi
mov    $0x1,%edx
mov    %rbx,%rcx
call   1030 <fwrite@plt>
lea    0x121d(%rip),%rdi
mov    $0xd,%esi
mov    $0x1,%edx
mov    %rbx,%rcx
pop    %rbx
jmp    1030 <fwrite@plt>

LLVM IR (-O0):
@.str = [77 x i8] c"Copyright \C2\A9 2004--2009 R.F. Smith <rsmith@xs4all.nl>. All rights reserved\0A\0A\00"
@.str.1 = [68 x i8] c"Redistribution and use in source and binary forms, with or without\0A\00"
@.str.2 = [68 x i8] c"modification, are permitted provided that the following conditions\0A\00"
@.str.3 = [10 x i8] c"are met:\0A\00"
@.str.4 = [67 x i8] c"1. Redistributions of source code must retain the above copyright\0A\00"
@.str.5 = [66 x i8] c" notice, this list of conditions and the following disclaimer.\0A\00"
@.str.6 = [70 x i8] c"2. Redistributions in binary form must reproduce the above copyright\0A\00"
@.str.7 = [72 x i8] c" notice, this list of conditions and the following disclaimer in the\0A\00"
@.str.8 = [74 x i8] c" documentation and/or other materials provided with the distribution.\0A\0A\00"
@.str.9 = [68 x i8] c"THIS SOFTWARE IS PROVIDED BY AUTHOR AND CONTRIBUTORS ``AS IS'' AND\0A\00"
@.str.10 = [71 x i8] c"ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\0A\00"
@.str.11 = [76 x i8] c"IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\0A\00"
@.str.12 = [69 x i8] c"ARE DISCLAIMED. IN NO EVENT SHALL AUTHOR OR CONTRIBUTORS BE LIABLE\0A\00"
@.str.13 = [76 x i8] c"FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\0A\00"
@.str.14 = [73 x i8] c"DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS\0A\00"
@.str.15 = [71 x i8] c"OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\0A\00"
@.str.16 = [76 x i8] c"HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\0A\00"
@.str.17 = [75 x i8] c"LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\0A\00"
@.str.18 = [72 x i8] c"OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF\0A\00"
@.str.19 = [14 x i8] c"SUCH DAMAGE.\0A\00"
define void @print_license(i32* %0) {
%2 = alloca i32*
store i32* %0, i32** %2
%3 = load i32*, i32** %2
%4 = call i32 @fputs(i8* getelementptr inbounds ([77 x i8], [77 x i8]* @.str, i64 0, i64 0), i32* %3)
%5 = load i32*, i32** %2
%6 = call i32 @fputs(i8* getelementptr inbounds ([68 x i8], [68 x i8]* @.str.1, i64 0, i64 0), i32* %5)
%7 = load i32*, i32** %2
%8 = call i32 @fputs(i8* getelementptr inbounds ([68 x i8], [68 x i8]* @.str.2, i64 0, i64 0), i32* %7)
%9 = load i32*, i32** %2
%10 = call i32 @fputs(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.3, i64 0, i64 0), i32* %9)
%11 = load i32*, i32** %2
%12 = call i32 @fputs(i8* getelementptr inbounds ([67 x i8], [67 x i8]* @.str.4, i64 0, i64 0), i32* %11)
%13 = load i32*, i32** %2
%14 = call i32 @fputs(i8* getelementptr inbounds ([66 x i8], [66 x i8]* @.str.5, i64 0, i64 0), i32* %13)
%15 = load i32*, i32** %2
%16 = call i32 @fputs(i8* getelementptr inbounds ([70 x i8], [70 x i8]* @.str.6, i64 0, i64 0), i32* %15)
%17 = load i32*, i32** %2
%18 = call i32 @fputs(i8* getelementptr inbounds ([72 x i8], [72 x i8]* @.str.7, i64 0, i64 0), i32* %17)
%19 = load i32*, i32** %2
%20 = call i32 @fputs(i8* getelementptr inbounds ([74 x i8], [74 x i8]* @.str.8, i64 0, i64 0), i32* %19)
%21 = load i32*, i32** %2
%22 = call i32 @fputs(i8* getelementptr inbounds ([68 x i8], [68 x i8]* @.str.9, i64 0, i64 0), i32* %21)
%23 = load i32*, i32** %2
%24 = call i32 @fputs(i8* getelementptr inbounds ([71 x i8], [71 x i8]* @.str.10, i64 0, i64 0), i32* %23)
%25 = load i32*, i32** %2
%26 = call i32 @fputs(i8* getelementptr inbounds ([76 x i8], [76 x i8]* @.str.11, i64 0, i64 0), i32* %25)
%27 = load i32*, i32** %2
%28 = call i32 @fputs(i8* getelementptr inbounds ([69 x i8], [69 x i8]* @.str.12, i64 0, i64 0), i32* %27)
%29 = load i32*, i32** %2
%30 = call i32 @fputs(i8* getelementptr inbounds ([76 x i8], [76 x i8]* @.str.13, i64 0, i64 0), i32* %29)
%31 = load i32*, i32** %2
%32 = call i32 @fputs(i8* getelementptr inbounds ([73 x i8], [73 x i8]* @.str.14, i64 0, i64 0), i32* %31)
%33 = load i32*, i32** %2
%34 = call i32 @fputs(i8* getelementptr inbounds ([71 x i8], [71 x i8]* @.str.15, i64 0, i64 0), i32* %33)
%35 = load i32*, i32** %2
%36 = call i32 @fputs(i8* getelementptr inbounds ([76 x i8], [76 x i8]* @.str.16, i64 0, i64 0), i32* %35)
%37 = load i32*, i32** %2
%38 = call i32 @fputs(i8* getelementptr inbounds ([75 x i8], [75 x i8]* @.str.17, i64 0, i64 0), i32* %37)
%39 = load i32*, i32** %2
%40 = call i32 @fputs(i8* getelementptr inbounds ([72 x i8], [72 x i8]* @.str.18, i64 0, i64 0), i32* %39)
%41 = load i32*, i32** %2
%42 = call i32 @fputs(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.19, i64 0, i64 0), i32* %41)
ret void
}

LLVM IR (-O2):
@.str = [77 x i8] c"Copyright \C2\A9 2004--2009 R.F. Smith <rsmith@xs4all.nl>. All rights reserved\0A\0A\00"
@.str.1 = [68 x i8] c"Redistribution and use in source and binary forms, with or without\0A\00"
@.str.2 = [68 x i8] c"modification, are permitted provided that the following conditions\0A\00"
@.str.3 = [10 x i8] c"are met:\0A\00"
@.str.4 = [67 x i8] c"1. Redistributions of source code must retain the above copyright\0A\00"
@.str.5 = [66 x i8] c" notice, this list of conditions and the following disclaimer.\0A\00"
@.str.6 = [70 x i8] c"2. Redistributions in binary form must reproduce the above copyright\0A\00"
@.str.7 = [72 x i8] c" notice, this list of conditions and the following disclaimer in the\0A\00"
@.str.8 = [74 x i8] c" documentation and/or other materials provided with the distribution.\0A\0A\00"
@.str.9 = [68 x i8] c"THIS SOFTWARE IS PROVIDED BY AUTHOR AND CONTRIBUTORS ``AS IS'' AND\0A\00"
@.str.10 = [71 x i8] c"ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\0A\00"
@.str.11 = [76 x i8] c"IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\0A\00"
@.str.12 = [69 x i8] c"ARE DISCLAIMED. IN NO EVENT SHALL AUTHOR OR CONTRIBUTORS BE LIABLE\0A\00"
@.str.13 = [76 x i8] c"FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\0A\00"
@.str.14 = [73 x i8] c"DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS\0A\00"
@.str.15 = [71 x i8] c"OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\0A\00"
@.str.16 = [76 x i8] c"HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\0A\00"
@.str.17 = [75 x i8] c"LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\0A\00"
@.str.18 = [72 x i8] c"OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF\0A\00"
@.str.19 = [14 x i8] c"SUCH DAMAGE.\0A\00"
define void @print_license(i32* nocapture %0) {
%2 = tail call i64 @fwrite(i8* getelementptr inbounds ([77 x i8], [77 x i8]* @.str, i64 0, i64 0), i64 76, i64 1, i32* %0)
%3 = tail call i64 @fwrite(i8* getelementptr inbounds ([68 x i8], [68 x i8]* @.str.1, i64 0, i64 0), i64 67, i64 1, i32* %0)
%4 = tail call i64 @fwrite(i8* getelementptr inbounds ([68 x i8], [68 x i8]* @.str.2, i64 0, i64 0), i64 67, i64 1, i32* %0)
%5 = tail call i64 @fwrite(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.3, i64 0, i64 0), i64 9, i64 1, i32* %0)
%6 = tail call i64 @fwrite(i8* getelementptr inbounds ([67 x i8], [67 x i8]* @.str.4, i64 0, i64 0), i64 66, i64 1, i32* %0)
%7 = tail call i64 @fwrite(i8* getelementptr inbounds ([66 x i8], [66 x i8]* @.str.5, i64 0, i64 0), i64 65, i64 1, i32* %0)
%8 = tail call i64 @fwrite(i8* getelementptr inbounds ([70 x i8], [70 x i8]* @.str.6, i64 0, i64 0), i64 69, i64 1, i32* %0)
%9 = tail call i64 @fwrite(i8* getelementptr inbounds ([72 x i8], [72 x i8]* @.str.7, i64 0, i64 0), i64 71, i64 1, i32* %0)
%10 = tail call i64 @fwrite(i8* getelementptr inbounds ([74 x i8], [74 x i8]* @.str.8, i64 0, i64 0), i64 73, i64 1, i32* %0)
%11 = tail call i64 @fwrite(i8* getelementptr inbounds ([68 x i8], [68 x i8]* @.str.9, i64 0, i64 0), i64 67, i64 1, i32* %0)
%12 = tail call i64 @fwrite(i8* getelementptr inbounds ([71 x i8], [71 x i8]* @.str.10, i64 0, i64 0), i64 70, i64 1, i32* %0)
%13 = tail call i64 @fwrite(i8* getelementptr inbounds ([76 x i8], [76 x i8]* @.str.11, i64 0, i64 0), i64 75, i64 1, i32* %0)
%14 = tail call i64 @fwrite(i8* getelementptr inbounds ([69 x i8], [69 x i8]* @.str.12, i64 0, i64 0), i64 68, i64 1, i32* %0)
%15 = tail call i64 @fwrite(i8* getelementptr inbounds ([76 x i8], [76 x i8]* @.str.13, i64 0, i64 0), i64 75, i64 1, i32* %0)
%16 = tail call i64 @fwrite(i8* getelementptr inbounds ([73 x i8], [73 x i8]* @.str.14, i64 0, i64 0), i64 72, i64 1, i32* %0)
%17 = tail call i64 @fwrite(i8* getelementptr inbounds ([71 x i8], [71 x i8]* @.str.15, i64 0, i64 0), i64 70, i64 1, i32* %0)
%18 = tail call i64 @fwrite(i8* getelementptr inbounds ([76 x i8], [76 x i8]* @.str.16, i64 0, i64 0), i64 75, i64 1, i32* %0)
%19 = tail call i64 @fwrite(i8* getelementptr inbounds ([75 x i8], [75 x i8]* @.str.17, i64 0, i64 0), i64 74, i64 1, i32* %0)
%20 = tail call i64 @fwrite(i8* getelementptr inbounds ([72 x i8], [72 x i8]* @.str.18, i64 0, i64 0), i64 71, i64 1, i32* %0)
%21 = tail call i64 @fwrite(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.19, i64 0, i64 0), i64 13, i64 1, i32* %0)
ret void
}