#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*/ WriteHexSignature(int /*<<< orphan*/ *,
                                     unsigned char const *);
int /*<<< orphan*/ fprintf(int /*<<< orphan*/ *, char *, ...);
void WriteHeaderFile(FILE *f, unsigned const char c[]) {
  int i;
  fprintf(f, "/* "
             "*****************************************************************"
             "****\n");
  fprintf(f, " * PVMOS Header file generated by MeshHasher, DO NOT EDIT        "
             "      *\n");
  fprintf(f, " *                                                               "
             "      *\n");
  fprintf(f, " * What is this?                                                 "
             "      *\n");
  fprintf(f, " * PVMOS binary mesh format is not guaranteed to be compatable "
             "with    *\n");
  fprintf(f, " * future or past PVMOS versions. For simplicity the format is a "
             "      *\n");
  fprintf(f, " * straightforward binary dump of the mesh data structure. "
             "Obviosously *\n");
  fprintf(f, " * if anything changes in the data structures this format must "
             "change. *\n");
  fprintf(f, " * To verify compatibility we thus need some sort of data "
             "structure    *\n");
  fprintf(f, " * versioning. The coolest way is obviously to generate a data   "
             "      *\n");
  fprintf(f, " * structure signature so PVMOS can automatically detect "
             "incompatible  *\n");
  fprintf(f, " * changes.                                                      "
             "      *\n");
  fprintf(f, " * MeshHasher generates an md5 sum of a simple mesh and stores "
             "the     *\n");
  fprintf(f, " * hash in a header file for inclusion in PVMOS. The hash is "
             "included  *\n");
  fprintf(f, " * in the binary mesh files to verify compatibility.             "
             "      *\n");
  fprintf(f, " *                                                               "
             "      *\n");
  WriteHexSignature(f, c);
  fprintf(f, "/\n");
  fprintf(f, "#define _HAS_MESHHASH\n");
  fprintf(f, "int NMESHHASH=%d;\n", 16);
  fprintf(f, "unsigned char MESHHASH[] = {\n\t0x%02x", c[0]);
  for (i = 1; i < 16; i++)
    fprintf(f, ",\n\t0x%02x", c[i]);
  fprintf(f, "\n};\n");
}


x86 assembly (clang, -O0):
<WriteHeaderFile>:
push   %rbp
mov    %rsp,%rbp
sub    $0x20,%rsp
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    -0x8(%rbp),%rdi
lea    0xec5(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    -0x8(%rbp),%rdi
lea    0xefd(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    -0x8(%rbp),%rdi
lea    0xf35(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    -0x8(%rbp),%rdi
lea    0xf6d(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    -0x8(%rbp),%rdi
lea    0xfa5(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    -0x8(%rbp),%rdi
lea    0xfdd(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    -0x8(%rbp),%rdi
lea    0x1015(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    -0x8(%rbp),%rdi
lea    0x104d(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    -0x8(%rbp),%rdi
lea    0x1085(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    -0x8(%rbp),%rdi
lea    0x10bd(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    -0x8(%rbp),%rdi
lea    0x10f5(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    -0x8(%rbp),%rdi
lea    0x112d(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    -0x8(%rbp),%rdi
lea    0x1165(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    -0x8(%rbp),%rdi
lea    0x119d(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    -0x8(%rbp),%rdi
lea    0x11d5(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    -0x8(%rbp),%rdi
lea    0xe4b(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    -0x8(%rbp),%rdi
mov    -0x10(%rbp),%rsi
call   1040 <WriteHexSignature@plt>
mov    -0x8(%rbp),%rdi
lea    0x11ee(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    -0x8(%rbp),%rdi
lea    0x11df(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    -0x8(%rbp),%rdi
lea    0x11e4(%rip),%rsi
mov    $0x10,%edx
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    -0x8(%rbp),%rdi
mov    -0x10(%rbp),%rax
movzbl (%rax),%edx
lea    0x11d9(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
movl   $0x1,-0x14(%rbp)
cmpl   $0x10,-0x14(%rbp)
jge    12ee <WriteHeaderFile+0x1ce>
mov    -0x8(%rbp),%rdi
mov    -0x10(%rbp),%rax
movslq -0x14(%rbp),%rcx
movzbl (%rax,%rcx,1),%edx
lea    0x11cf(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    -0x14(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x14(%rbp)
jmp    12b8 <WriteHeaderFile+0x198>
mov    -0x8(%rbp),%rdi
lea    0x11b9(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
add    $0x20,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<WriteHeaderFile>:
push   %r15
push   %r14
push   %rbx
mov    %rsi,%r14
mov    %rdi,%rbx
lea    0xebe(%rip),%rdi
mov    $0x49,%esi
mov    $0x1,%edx
mov    %rbx,%rcx
call   1050 <fwrite@plt>
lea    0xeef(%rip),%rdi
mov    $0x49,%esi
mov    $0x1,%edx
mov    %rbx,%rcx
call   1050 <fwrite@plt>
lea    0xf20(%rip),%r15
mov    $0x49,%esi
mov    $0x1,%edx
mov    %r15,%rdi
mov    %rbx,%rcx
call   1050 <fwrite@plt>
lea    0xf4e(%rip),%rdi
mov    $0x49,%esi
mov    $0x1,%edx
mov    %rbx,%rcx
call   1050 <fwrite@plt>
lea    0xf7f(%rip),%rdi
mov    $0x49,%esi
mov    $0x1,%edx
mov    %rbx,%rcx
call   1050 <fwrite@plt>
lea    0xfb0(%rip),%rdi
mov    $0x49,%esi
mov    $0x1,%edx
mov    %rbx,%rcx
call   1050 <fwrite@plt>
lea    0xfe1(%rip),%rdi
mov    $0x49,%esi
mov    $0x1,%edx
mov    %rbx,%rcx
call   1050 <fwrite@plt>
lea    0x1012(%rip),%rdi
mov    $0x49,%esi
mov    $0x1,%edx
mov    %rbx,%rcx
call   1050 <fwrite@plt>
lea    0x1043(%rip),%rdi
mov    $0x49,%esi
mov    $0x1,%edx
mov    %rbx,%rcx
call   1050 <fwrite@plt>
lea    0x1074(%rip),%rdi
mov    $0x49,%esi
mov    $0x1,%edx
mov    %rbx,%rcx
call   1050 <fwrite@plt>
lea    0x10a5(%rip),%rdi
mov    $0x49,%esi
mov    $0x1,%edx
mov    %rbx,%rcx
call   1050 <fwrite@plt>
lea    0x10d6(%rip),%rdi
mov    $0x49,%esi
mov    $0x1,%edx
mov    %rbx,%rcx
call   1050 <fwrite@plt>
lea    0x1107(%rip),%rdi
mov    $0x49,%esi
mov    $0x1,%edx
mov    %rbx,%rcx
call   1050 <fwrite@plt>
lea    0x1138(%rip),%rdi
mov    $0x49,%esi
mov    $0x1,%edx
mov    %rbx,%rcx
call   1050 <fwrite@plt>
lea    0x1169(%rip),%rdi
mov    $0x49,%esi
mov    $0x1,%edx
mov    %rbx,%rcx
call   1050 <fwrite@plt>
mov    $0x49,%esi
mov    $0x1,%edx
mov    %r15,%rdi
mov    %rbx,%rcx
call   1050 <fwrite@plt>
mov    %rbx,%rdi
mov    %r14,%rsi
call   1040 <WriteHexSignature@plt>
lea    0x117a(%rip),%rdi
mov    $0x2,%esi
mov    $0x1,%edx
mov    %rbx,%rcx
call   1050 <fwrite@plt>
lea    0x1164(%rip),%rdi
mov    $0x16,%esi
mov    $0x1,%edx
mov    %rbx,%rcx
call   1050 <fwrite@plt>
lea    0x1162(%rip),%rsi
mov    %rbx,%rdi
mov    $0x10,%edx
xor    %eax,%eax
call   1030 <fprintf@plt>
movzbl (%r14),%edx
lea    0x115b(%rip),%rsi
mov    %rbx,%rdi
xor    %eax,%eax
call   1030 <fprintf@plt>
movzbl 0x1(%r14),%edx
lea    0x116a(%rip),%r15
mov    %rbx,%rdi
mov    %r15,%rsi
xor    %eax,%eax
call   1030 <fprintf@plt>
movzbl 0x2(%r14),%edx
mov    %rbx,%rdi
mov    %r15,%rsi
xor    %eax,%eax
call   1030 <fprintf@plt>
movzbl 0x3(%r14),%edx
mov    %rbx,%rdi
mov    %r15,%rsi
xor    %eax,%eax
call   1030 <fprintf@plt>
movzbl 0x4(%r14),%edx
mov    %rbx,%rdi
mov    %r15,%rsi
xor    %eax,%eax
call   1030 <fprintf@plt>
movzbl 0x5(%r14),%edx
mov    %rbx,%rdi
mov    %r15,%rsi
xor    %eax,%eax
call   1030 <fprintf@plt>
movzbl 0x6(%r14),%edx
mov    %rbx,%rdi
mov    %r15,%rsi
xor    %eax,%eax
call   1030 <fprintf@plt>
movzbl 0x7(%r14),%edx
mov    %rbx,%rdi
mov    %r15,%rsi
xor    %eax,%eax
call   1030 <fprintf@plt>
movzbl 0x8(%r14),%edx
mov    %rbx,%rdi
mov    %r15,%rsi
xor    %eax,%eax
call   1030 <fprintf@plt>
movzbl 0x9(%r14),%edx
mov    %rbx,%rdi
mov    %r15,%rsi
xor    %eax,%eax
call   1030 <fprintf@plt>
movzbl 0xa(%r14),%edx
mov    %rbx,%rdi
mov    %r15,%rsi
xor    %eax,%eax
call   1030 <fprintf@plt>
movzbl 0xb(%r14),%edx
mov    %rbx,%rdi
mov    %r15,%rsi
xor    %eax,%eax
call   1030 <fprintf@plt>
movzbl 0xc(%r14),%edx
mov    %rbx,%rdi
mov    %r15,%rsi
xor    %eax,%eax
call   1030 <fprintf@plt>
movzbl 0xd(%r14),%edx
mov    %rbx,%rdi
mov    %r15,%rsi
xor    %eax,%eax
call   1030 <fprintf@plt>
movzbl 0xe(%r14),%edx
mov    %rbx,%rdi
mov    %r15,%rsi
xor    %eax,%eax
call   1030 <fprintf@plt>
movzbl 0xf(%r14),%edx
mov    %rbx,%rdi
mov    %r15,%rsi
xor    %eax,%eax
call   1030 <fprintf@plt>
lea    0x1064(%rip),%rdi
mov    $0x4,%esi
mov    $0x1,%edx
mov    %rbx,%rcx
pop    %rbx
pop    %r14
pop    %r15
jmp    1050 <fwrite@plt>

LLVM IR (-O0):
@.str = [74 x i8] c"/* *********************************************************************\0A\00"
@.str.1 = [74 x i8] c" * PVMOS Header file generated by MeshHasher, DO NOT EDIT *\0A\00"
@.str.2 = [74 x i8] c" * *\0A\00"
@.str.3 = [74 x i8] c" * What is this? *\0A\00"
@.str.4 = [74 x i8] c" * PVMOS binary mesh format is not guaranteed to be compatable with *\0A\00"
@.str.5 = [74 x i8] c" * future or past PVMOS versions. For simplicity the format is a *\0A\00"
@.str.6 = [74 x i8] c" * straightforward binary dump of the mesh data structure. Obviosously *\0A\00"
@.str.7 = [74 x i8] c" * if anything changes in the data structures this format must change. *\0A\00"
@.str.8 = [74 x i8] c" * To verify compatibility we thus need some sort of data structure *\0A\00"
@.str.9 = [74 x i8] c" * versioning. The coolest way is obviously to generate a data *\0A\00"
@.str.10 = [74 x i8] c" * structure signature so PVMOS can automatically detect incompatible *\0A\00"
@.str.11 = [74 x i8] c" * changes. *\0A\00"
@.str.12 = [74 x i8] c" * MeshHasher generates an md5 sum of a simple mesh and stores the *\0A\00"
@.str.13 = [74 x i8] c" * hash in a header file for inclusion in PVMOS. The hash is included *\0A\00"
@.str.14 = [74 x i8] c" * in the binary mesh files to verify compatibility. *\0A\00"
@.str.15 = [3 x i8] c"/\0A\00"
@.str.16 = [23 x i8] c"#define _HAS_MESHHASH\0A\00"
@.str.17 = [19 x i8] c"int NMESHHASH=%d;\0A\00"
@.str.18 = [37 x i8] c"unsigned char MESHHASH[] = {\0A\090x%02x\00"
@.str.19 = [10 x i8] c",\0A\090x%02x\00"
@.str.20 = [5 x i8] c"\0A};\0A\00"
define void @WriteHeaderFile(i32* %0, i8* %1) {
%3 = alloca i32*
%4 = alloca i8*
%5 = alloca i32
store i32* %0, i32** %3
store i8* %1, i8** %4
%6 = load i32*, i32** %3
%7 = call i32 (i32*, i8*, ...) @fprintf(i32* %6, i8* getelementptr inbounds ([74 x i8], [74 x i8]* @.str, i64 0, i64 0))
%8 = load i32*, i32** %3
%9 = call i32 (i32*, i8*, ...) @fprintf(i32* %8, i8* getelementptr inbounds ([74 x i8], [74 x i8]* @.str.1, i64 0, i64 0))
%10 = load i32*, i32** %3
%11 = call i32 (i32*, i8*, ...) @fprintf(i32* %10, i8* getelementptr inbounds ([74 x i8], [74 x i8]* @.str.2, i64 0, i64 0))
%12 = load i32*, i32** %3
%13 = call i32 (i32*, i8*, ...) @fprintf(i32* %12, i8* getelementptr inbounds ([74 x i8], [74 x i8]* @.str.3, i64 0, i64 0))
%14 = load i32*, i32** %3
%15 = call i32 (i32*, i8*, ...) @fprintf(i32* %14, i8* getelementptr inbounds ([74 x i8], [74 x i8]* @.str.4, i64 0, i64 0))
%16 = load i32*, i32** %3
%17 = call i32 (i32*, i8*, ...) @fprintf(i32* %16, i8* getelementptr inbounds ([74 x i8], [74 x i8]* @.str.5, i64 0, i64 0))
%18 = load i32*, i32** %3
%19 = call i32 (i32*, i8*, ...) @fprintf(i32* %18, i8* getelementptr inbounds ([74 x i8], [74 x i8]* @.str.6, i64 0, i64 0))
%20 = load i32*, i32** %3
%21 = call i32 (i32*, i8*, ...) @fprintf(i32* %20, i8* getelementptr inbounds ([74 x i8], [74 x i8]* @.str.7, i64 0, i64 0))
%22 = load i32*, i32** %3
%23 = call i32 (i32*, i8*, ...) @fprintf(i32* %22, i8* getelementptr inbounds ([74 x i8], [74 x i8]* @.str.8, i64 0, i64 0))
%24 = load i32*, i32** %3
%25 = call i32 (i32*, i8*, ...) @fprintf(i32* %24, i8* getelementptr inbounds ([74 x i8], [74 x i8]* @.str.9, i64 0, i64 0))
%26 = load i32*, i32** %3
%27 = call i32 (i32*, i8*, ...) @fprintf(i32* %26, i8* getelementptr inbounds ([74 x i8], [74 x i8]* @.str.10, i64 0, i64 0))
%28 = load i32*, i32** %3
%29 = call i32 (i32*, i8*, ...) @fprintf(i32* %28, i8* getelementptr inbounds ([74 x i8], [74 x i8]* @.str.11, i64 0, i64 0))
%30 = load i32*, i32** %3
%31 = call i32 (i32*, i8*, ...) @fprintf(i32* %30, i8* getelementptr inbounds ([74 x i8], [74 x i8]* @.str.12, i64 0, i64 0))
%32 = load i32*, i32** %3
%33 = call i32 (i32*, i8*, ...) @fprintf(i32* %32, i8* getelementptr inbounds ([74 x i8], [74 x i8]* @.str.13, i64 0, i64 0))
%34 = load i32*, i32** %3
%35 = call i32 (i32*, i8*, ...) @fprintf(i32* %34, i8* getelementptr inbounds ([74 x i8], [74 x i8]* @.str.14, i64 0, i64 0))
%36 = load i32*, i32** %3
%37 = call i32 (i32*, i8*, ...) @fprintf(i32* %36, i8* getelementptr inbounds ([74 x i8], [74 x i8]* @.str.2, i64 0, i64 0))
%38 = load i32*, i32** %3
%39 = load i8*, i8** %4
%40 = call i32 @WriteHexSignature(i32* %38, i8* %39)
%41 = load i32*, i32** %3
%42 = call i32 (i32*, i8*, ...) @fprintf(i32* %41, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.15, i64 0, i64 0))
%43 = load i32*, i32** %3
%44 = call i32 (i32*, i8*, ...) @fprintf(i32* %43, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.16, i64 0, i64 0))
%45 = load i32*, i32** %3
%46 = call i32 (i32*, i8*, ...) @fprintf(i32* %45, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.17, i64 0, i64 0), i32 16)
%47 = load i32*, i32** %3
%48 = load i8*, i8** %4
%49 = getelementptr inbounds i8, i8* %48, i64 0
%50 = load i8, i8* %49
%51 = zext i8 %50 to i32
%52 = call i32 (i32*, i8*, ...) @fprintf(i32* %47, i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.18, i64 0, i64 0), i32 %51)
store i32 1, i32* %5
br label %53
53: ; preds = %65, %2
%54 = load i32, i32* %5
%55 = icmp slt i32 %54, 16
br i1 %55, label %56, label %68
56: ; preds = %53
%57 = load i32*, i32** %3
%58 = load i8*, i8** %4
%59 = load i32, i32* %5
%60 = sext i32 %59 to i64
%61 = getelementptr inbounds i8, i8* %58, i64 %60
%62 = load i8, i8* %61
%63 = zext i8 %62 to i32
%64 = call i32 (i32*, i8*, ...) @fprintf(i32* %57, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.19, i64 0, i64 0), i32 %63)
br label %65
65: ; preds = %56
%66 = load i32, i32* %5
%67 = add nsw i32 %66, 1
store i32 %67, i32* %5
br label %53
68: ; preds = %53
%69 = load i32*, i32** %3
%70 = call i32 (i32*, i8*, ...) @fprintf(i32* %69, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.20, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@.str = [74 x i8] c"/* *********************************************************************\0A\00"
@.str.1 = [74 x i8] c" * PVMOS Header file generated by MeshHasher, DO NOT EDIT *\0A\00"
@.str.2 = [74 x i8] c" * *\0A\00"
@.str.3 = [74 x i8] c" * What is this? *\0A\00"
@.str.4 = [74 x i8] c" * PVMOS binary mesh format is not guaranteed to be compatable with *\0A\00"
@.str.5 = [74 x i8] c" * future or past PVMOS versions. For simplicity the format is a *\0A\00"
@.str.6 = [74 x i8] c" * straightforward binary dump of the mesh data structure. Obviosously *\0A\00"
@.str.7 = [74 x i8] c" * if anything changes in the data structures this format must change. *\0A\00"
@.str.8 = [74 x i8] c" * To verify compatibility we thus need some sort of data structure *\0A\00"
@.str.9 = [74 x i8] c" * versioning. The coolest way is obviously to generate a data *\0A\00"
@.str.10 = [74 x i8] c" * structure signature so PVMOS can automatically detect incompatible *\0A\00"
@.str.11 = [74 x i8] c" * changes. *\0A\00"
@.str.12 = [74 x i8] c" * MeshHasher generates an md5 sum of a simple mesh and stores the *\0A\00"
@.str.13 = [74 x i8] c" * hash in a header file for inclusion in PVMOS. The hash is included *\0A\00"
@.str.14 = [74 x i8] c" * in the binary mesh files to verify compatibility. *\0A\00"
@.str.15 = [3 x i8] c"/\0A\00"
@.str.16 = [23 x i8] c"#define _HAS_MESHHASH\0A\00"
@.str.17 = [19 x i8] c"int NMESHHASH=%d;\0A\00"
@.str.18 = [37 x i8] c"unsigned char MESHHASH[] = {\0A\090x%02x\00"
@.str.19 = [10 x i8] c",\0A\090x%02x\00"
@.str.20 = [5 x i8] c"\0A};\0A\00"
define void @WriteHeaderFile(i32* %0, i8* %1) {
%3 = tail call i64 @fwrite(i8* getelementptr inbounds ([74 x i8], [74 x i8]* @.str, i64 0, i64 0), i64 73, i64 1, i32* %0)
%4 = tail call i64 @fwrite(i8* getelementptr inbounds ([74 x i8], [74 x i8]* @.str.1, i64 0, i64 0), i64 73, i64 1, i32* %0)
%5 = tail call i64 @fwrite(i8* getelementptr inbounds ([74 x i8], [74 x i8]* @.str.2, i64 0, i64 0), i64 73, i64 1, i32* %0)
%6 = tail call i64 @fwrite(i8* getelementptr inbounds ([74 x i8], [74 x i8]* @.str.3, i64 0, i64 0), i64 73, i64 1, i32* %0)
%7 = tail call i64 @fwrite(i8* getelementptr inbounds ([74 x i8], [74 x i8]* @.str.4, i64 0, i64 0), i64 73, i64 1, i32* %0)
%8 = tail call i64 @fwrite(i8* getelementptr inbounds ([74 x i8], [74 x i8]* @.str.5, i64 0, i64 0), i64 73, i64 1, i32* %0)
%9 = tail call i64 @fwrite(i8* getelementptr inbounds ([74 x i8], [74 x i8]* @.str.6, i64 0, i64 0), i64 73, i64 1, i32* %0)
%10 = tail call i64 @fwrite(i8* getelementptr inbounds ([74 x i8], [74 x i8]* @.str.7, i64 0, i64 0), i64 73, i64 1, i32* %0)
%11 = 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)
%12 = tail call i64 @fwrite(i8* getelementptr inbounds ([74 x i8], [74 x i8]* @.str.9, i64 0, i64 0), i64 73, i64 1, i32* %0)
%13 = tail call i64 @fwrite(i8* getelementptr inbounds ([74 x i8], [74 x i8]* @.str.10, i64 0, i64 0), i64 73, i64 1, i32* %0)
%14 = tail call i64 @fwrite(i8* getelementptr inbounds ([74 x i8], [74 x i8]* @.str.11, i64 0, i64 0), i64 73, i64 1, i32* %0)
%15 = tail call i64 @fwrite(i8* getelementptr inbounds ([74 x i8], [74 x i8]* @.str.12, i64 0, i64 0), i64 73, i64 1, i32* %0)
%16 = tail call i64 @fwrite(i8* getelementptr inbounds ([74 x i8], [74 x i8]* @.str.13, i64 0, i64 0), i64 73, i64 1, i32* %0)
%17 = tail call i64 @fwrite(i8* getelementptr inbounds ([74 x i8], [74 x i8]* @.str.14, i64 0, i64 0), i64 73, i64 1, i32* %0)
%18 = tail call i64 @fwrite(i8* getelementptr inbounds ([74 x i8], [74 x i8]* @.str.2, i64 0, i64 0), i64 73, i64 1, i32* %0)
%19 = tail call i32 @WriteHexSignature(i32* %0, i8* %1)
%20 = tail call i64 @fwrite(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.15, i64 0, i64 0), i64 2, i64 1, i32* %0)
%21 = tail call i64 @fwrite(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.16, i64 0, i64 0), i64 22, i64 1, i32* %0)
%22 = tail call i32 (i32*, i8*, ...) @fprintf(i32* %0, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.17, i64 0, i64 0), i32 16)
%23 = load i8, i8* %1
%24 = zext i8 %23 to i32
%25 = tail call i32 (i32*, i8*, ...) @fprintf(i32* %0, i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.18, i64 0, i64 0), i32 %24)
%26 = getelementptr inbounds i8, i8* %1, i64 1
%27 = load i8, i8* %26
%28 = zext i8 %27 to i32
%29 = tail call i32 (i32*, i8*, ...) @fprintf(i32* %0, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.19, i64 0, i64 0), i32 %28)
%30 = getelementptr inbounds i8, i8* %1, i64 2
%31 = load i8, i8* %30
%32 = zext i8 %31 to i32
%33 = tail call i32 (i32*, i8*, ...) @fprintf(i32* %0, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.19, i64 0, i64 0), i32 %32)
%34 = getelementptr inbounds i8, i8* %1, i64 3
%35 = load i8, i8* %34
%36 = zext i8 %35 to i32
%37 = tail call i32 (i32*, i8*, ...) @fprintf(i32* %0, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.19, i64 0, i64 0), i32 %36)
%38 = getelementptr inbounds i8, i8* %1, i64 4
%39 = load i8, i8* %38
%40 = zext i8 %39 to i32
%41 = tail call i32 (i32*, i8*, ...) @fprintf(i32* %0, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.19, i64 0, i64 0), i32 %40)
%42 = getelementptr inbounds i8, i8* %1, i64 5
%43 = load i8, i8* %42
%44 = zext i8 %43 to i32
%45 = tail call i32 (i32*, i8*, ...) @fprintf(i32* %0, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.19, i64 0, i64 0), i32 %44)
%46 = getelementptr inbounds i8, i8* %1, i64 6
%47 = load i8, i8* %46
%48 = zext i8 %47 to i32
%49 = tail call i32 (i32*, i8*, ...) @fprintf(i32* %0, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.19, i64 0, i64 0), i32 %48)
%50 = getelementptr inbounds i8, i8* %1, i64 7
%51 = load i8, i8* %50
%52 = zext i8 %51 to i32
%53 = tail call i32 (i32*, i8*, ...) @fprintf(i32* %0, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.19, i64 0, i64 0), i32 %52)
%54 = getelementptr inbounds i8, i8* %1, i64 8
%55 = load i8, i8* %54
%56 = zext i8 %55 to i32
%57 = tail call i32 (i32*, i8*, ...) @fprintf(i32* %0, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.19, i64 0, i64 0), i32 %56)
%58 = getelementptr inbounds i8, i8* %1, i64 9
%59 = load i8, i8* %58
%60 = zext i8 %59 to i32
%61 = tail call i32 (i32*, i8*, ...) @fprintf(i32* %0, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.19, i64 0, i64 0), i32 %60)
%62 = getelementptr inbounds i8, i8* %1, i64 10
%63 = load i8, i8* %62
%64 = zext i8 %63 to i32
%65 = tail call i32 (i32*, i8*, ...) @fprintf(i32* %0, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.19, i64 0, i64 0), i32 %64)
%66 = getelementptr inbounds i8, i8* %1, i64 11
%67 = load i8, i8* %66
%68 = zext i8 %67 to i32
%69 = tail call i32 (i32*, i8*, ...) @fprintf(i32* %0, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.19, i64 0, i64 0), i32 %68)
%70 = getelementptr inbounds i8, i8* %1, i64 12
%71 = load i8, i8* %70
%72 = zext i8 %71 to i32
%73 = tail call i32 (i32*, i8*, ...) @fprintf(i32* %0, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.19, i64 0, i64 0), i32 %72)
%74 = getelementptr inbounds i8, i8* %1, i64 13
%75 = load i8, i8* %74
%76 = zext i8 %75 to i32
%77 = tail call i32 (i32*, i8*, ...) @fprintf(i32* %0, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.19, i64 0, i64 0), i32 %76)
%78 = getelementptr inbounds i8, i8* %1, i64 14
%79 = load i8, i8* %78
%80 = zext i8 %79 to i32
%81 = tail call i32 (i32*, i8*, ...) @fprintf(i32* %0, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.19, i64 0, i64 0), i32 %80)
%82 = getelementptr inbounds i8, i8* %1, i64 15
%83 = load i8, i8* %82
%84 = zext i8 %83 to i32
%85 = tail call i32 (i32*, i8*, ...) @fprintf(i32* %0, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.19, i64 0, i64 0), i32 %84)
%86 = tail call i64 @fwrite(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.20, i64 0, i64 0), i64 4, i64 1, i32* %0)
ret void
}