#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*/ exit(int);
int /*<<< orphan*/ fclose(int /*<<< orphan*/ *);
int /*<<< orphan*/ *fopen(char *, char *);
int /*<<< orphan*/ fprintf(int /*<<< orphan*/ *, char *, ...);
int /*<<< orphan*/ printf(char *);
int main(void) {
  FILE *file = fopen("types.h", "w");
  char *intType;
  char *byteType;
  char *shortType;
  char *pointerType;
  if (!file) {
    printf("Could not open types.h for writing...\n");
    exit(-1);
  }
  printf("Analyzing architecture, to determine types...");
  fprintf(file, "#ifndef _TYPES\n");
  fprintf(file, "#define _TYPES\n\n");
  fprintf(file, "/* 32 bit integer */\n");
  if (sizeof(int) == 4)
    intType = "int";
  else if (sizeof(long int) == 4)
    intType = "long int";
  else if (sizeof(short int) == 4)
    intType = "short int";
  else {
    printf("Cannot find a 32 bit integer type on this machine.\n");
    exit(-1);
  }
  fprintf(file, "typedef %s Int32;\n", intType);
  fprintf(file, "typedef unsigned %s UInt32;\n\n", intType);
  fprintf(file, "/* Pointer type */\n");
  if (sizeof(void *) == sizeof(int))
    pointerType = "int";
  else if (sizeof(void *) == sizeof(long int))
    pointerType = "long int";
  else if (sizeof(void *) == sizeof(short int))
    pointerType = "short int";
  else {
    printf("Cannot find integer the size of a pointer on this machine.\n");
    exit(-1);
  }
  fprintf(file, "typedef %s Pointer;\n\n", pointerType);
  fprintf(file, "/* 16 bit integer */\n");
  if (sizeof(int) == 2)
    shortType = "int";
  else if (sizeof(long int) == 2)
    shortType = "long int";
  else if (sizeof(short int) == 2)
    shortType = "short int";
  else {
    printf("Cannot find a 16 bit integer type on this machine.\n");
    exit(-1);
  }
  fprintf(file, "typedef %s Int16;\n", shortType);
  fprintf(file, "typedef unsigned %s UInt16;\n\n", shortType);
  fprintf(file, "/* 8 bit integer */\n");
  if (sizeof(int) == 1)
    byteType = "int";
  else if (sizeof(long int) == 1)
    byteType = "long int";
  else if (sizeof(short int) == 1)
    byteType = "short int";
  else if (sizeof(char) == 1)
    byteType = "char";
  else {
    printf("Cannot find an 8 bit integer type on this machine.\n");
    exit(-1);
  }
  fprintf(file, "typedef %s Char;\n", byteType);
  fprintf(file, "typedef unsigned %s Byte;\n\n", byteType);
  fprintf(file, "/* Supplimentary types */\n");
  fprintf(file, "typedef %s *CString;\n", byteType);
  fprintf(file, "typedef unsigned %s Flag;\n\n", byteType);
  fprintf(file, "#endif\n");
  fclose(file);
  printf("done.\n");
  exit(0);
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x30,%rsp
movl   $0x0,-0x4(%rbp)
lea    0xe9a(%rip),%rdi
lea    0xe9b(%rip),%rsi
call   1060 <fopen@plt>
mov    %rax,-0x10(%rbp)
cmpq   $0x0,-0x10(%rbp)
jne    1197 <main+0x47>
lea    0xe82(%rip),%rdi
call   1040 <printf@plt>
mov    $0xffffffff,%edi
call   1070 <exit@plt>
lea    0xe93(%rip),%rdi
call   1040 <printf@plt>
mov    -0x10(%rbp),%rdi
lea    0xeb1(%rip),%rsi
mov    $0x0,%al
call   1050 <fprintf@plt>
mov    -0x10(%rbp),%rdi
lea    0xeaf(%rip),%rsi
mov    $0x0,%al
call   1050 <fprintf@plt>
mov    -0x10(%rbp),%rdi
lea    0xeae(%rip),%rsi
mov    $0x0,%al
call   1050 <fprintf@plt>
lea    0xf00(%rip),%rax
mov    %rax,-0x18(%rbp)
mov    -0x10(%rbp),%rdi
mov    -0x18(%rbp),%rdx
lea    0xea3(%rip),%rsi
mov    $0x0,%al
call   1050 <fprintf@plt>
mov    -0x10(%rbp),%rdi
mov    -0x18(%rbp),%rdx
lea    0xea0(%rip),%rsi
mov    $0x0,%al
call   1050 <fprintf@plt>
mov    -0x10(%rbp),%rdi
lea    0xeac(%rip),%rsi
mov    $0x0,%al
call   1050 <fprintf@plt>
lea    0xeb2(%rip),%rax
mov    %rax,-0x30(%rbp)
mov    -0x10(%rbp),%rdi
mov    -0x30(%rbp),%rdx
lea    0xea8(%rip),%rsi
mov    $0x0,%al
call   1050 <fprintf@plt>
mov    -0x10(%rbp),%rdi
lea    0xeac(%rip),%rsi
mov    $0x0,%al
call   1050 <fprintf@plt>
lea    0xeb4(%rip),%rax
mov    %rax,-0x28(%rbp)
mov    -0x10(%rbp),%rdi
mov    -0x28(%rbp),%rdx
lea    0xeab(%rip),%rsi
mov    $0x0,%al
call   1050 <fprintf@plt>
mov    -0x10(%rbp),%rdi
mov    -0x28(%rbp),%rdx
lea    0xea8(%rip),%rsi
mov    $0x0,%al
call   1050 <fprintf@plt>
mov    -0x10(%rbp),%rdi
lea    0xeb4(%rip),%rsi
mov    $0x0,%al
call   1050 <fprintf@plt>
lea    0xebb(%rip),%rax
mov    %rax,-0x20(%rbp)
mov    -0x10(%rbp),%rdi
mov    -0x20(%rbp),%rdx
lea    0xead(%rip),%rsi
mov    $0x0,%al
call   1050 <fprintf@plt>
mov    -0x10(%rbp),%rdi
mov    -0x20(%rbp),%rdx
lea    0xea9(%rip),%rsi
mov    $0x0,%al
call   1050 <fprintf@plt>
mov    -0x10(%rbp),%rdi
lea    0xeb3(%rip),%rsi
mov    $0x0,%al
call   1050 <fprintf@plt>
mov    -0x10(%rbp),%rdi
mov    -0x20(%rbp),%rdx
lea    0xeb8(%rip),%rsi
mov    $0x0,%al
call   1050 <fprintf@plt>
mov    -0x10(%rbp),%rdi
mov    -0x20(%rbp),%rdx
lea    0xeb8(%rip),%rsi
mov    $0x0,%al
call   1050 <fprintf@plt>
mov    -0x10(%rbp),%rdi
lea    0xec2(%rip),%rsi
mov    $0x0,%al
call   1050 <fprintf@plt>
mov    -0x10(%rbp),%rdi
call   1030 <fclose@plt>
lea    0xeb3(%rip),%rdi
call   1040 <printf@plt>
xor    %edi,%edi
call   1070 <exit@plt>

x86 assembly (clang, -O2):
<main>:
push   %r14
push   %rbx
push   %rax
lea    0xe85(%rip),%rdi
lea    0xe86(%rip),%rsi
call   1070 <fopen@plt>
test   %rax,%rax
jne    11a2 <main+0x32>
lea    0x102e(%rip),%rdi
call   1030 <puts@plt>
mov    $0xffffffff,%edi
call   1080 <exit@plt>
mov    %rax,%rbx
lea    0xe5e(%rip),%rdi
call   1050 <printf@plt>
lea    0xe80(%rip),%rdi
mov    $0xf,%esi
mov    $0x1,%edx
mov    %rbx,%rcx
call   1090 <fwrite@plt>
lea    0xe77(%rip),%rdi
mov    $0x10,%esi
mov    $0x1,%edx
mov    %rbx,%rcx
call   1090 <fwrite@plt>
lea    0xe6f(%rip),%rdi
mov    $0x15,%esi
mov    $0x1,%edx
mov    %rbx,%rcx
call   1090 <fwrite@plt>
lea    0xe6c(%rip),%rsi
lea    0xeaf(%rip),%r14
mov    %rbx,%rdi
mov    %r14,%rdx
xor    %eax,%eax
call   1060 <fprintf@plt>
lea    0xe64(%rip),%rsi
mov    %rbx,%rdi
mov    %r14,%rdx
xor    %eax,%eax
call   1060 <fprintf@plt>
lea    0xe6e(%rip),%rdi
mov    $0x13,%esi
mov    $0x1,%edx
mov    %rbx,%rcx
call   1090 <fwrite@plt>
lea    0xe72(%rip),%rsi
lea    0xe62(%rip),%rdx
mov    %rbx,%rdi
xor    %eax,%eax
call   1060 <fprintf@plt>
lea    0xe70(%rip),%rdi
mov    $0x15,%esi
mov    $0x1,%edx
mov    %rbx,%rcx
call   1090 <fwrite@plt>
lea    0xe77(%rip),%rsi
lea    0xe66(%rip),%r14
mov    %rbx,%rdi
mov    %r14,%rdx
xor    %eax,%eax
call   1060 <fprintf@plt>
lea    0xe6f(%rip),%rsi
mov    %rbx,%rdi
mov    %r14,%rdx
xor    %eax,%eax
call   1060 <fprintf@plt>
lea    0xe79(%rip),%rdi
mov    $0x14,%esi
mov    $0x1,%edx
mov    %rbx,%rcx
call   1090 <fwrite@plt>
lea    0xe7a(%rip),%rsi
lea    0xe6e(%rip),%r14
mov    %rbx,%rdi
mov    %r14,%rdx
xor    %eax,%eax
call   1060 <fprintf@plt>
lea    0xe71(%rip),%rsi
mov    %rbx,%rdi
mov    %r14,%rdx
xor    %eax,%eax
call   1060 <fprintf@plt>
lea    0xe79(%rip),%rdi
mov    $0x1a,%esi
mov    $0x1,%edx
mov    %rbx,%rcx
call   1090 <fwrite@plt>
lea    0xe7b(%rip),%rsi
mov    %rbx,%rdi
mov    %r14,%rdx
xor    %eax,%eax
call   1060 <fprintf@plt>
lea    0xe7d(%rip),%rsi
mov    %rbx,%rdi
mov    %r14,%rdx
xor    %eax,%eax
call   1060 <fprintf@plt>
lea    0xe85(%rip),%rdi
mov    $0x7,%esi
mov    $0x1,%edx
mov    %rbx,%rcx
call   1090 <fwrite@plt>
mov    %rbx,%rdi
call   1040 <fclose@plt>
lea    0xe92(%rip),%rdi
call   1030 <puts@plt>
xor    %edi,%edi
call   1080 <exit@plt>

LLVM IR (-O0):
@.str = [8 x i8] c"types.h\00"
@.str.1 = [2 x i8] c"w\00"
@.str.2 = [39 x i8] c"Could not open types.h for writing...\0A\00"
@.str.3 = [46 x i8] c"Analyzing architecture, to determine types...\00"
@.str.4 = [16 x i8] c"#ifndef _TYPES\0A\00"
@.str.5 = [17 x i8] c"#define _TYPES\0A\0A\00"
@.str.6 = [22 x i8] c"/* 32 bit integer */\0A\00"
@.str.7 = [4 x i8] c"int\00"
@.str.8 = [19 x i8] c"typedef %s Int32;\0A\00"
@.str.9 = [30 x i8] c"typedef unsigned %s UInt32;\0A\0A\00"
@.str.10 = [20 x i8] c"/* Pointer type */\0A\00"
@.str.11 = [9 x i8] c"long int\00"
@.str.12 = [22 x i8] c"typedef %s Pointer;\0A\0A\00"
@.str.13 = [22 x i8] c"/* 16 bit integer */\0A\00"
@.str.14 = [10 x i8] c"short int\00"
@.str.15 = [19 x i8] c"typedef %s Int16;\0A\00"
@.str.16 = [30 x i8] c"typedef unsigned %s UInt16;\0A\0A\00"
@.str.17 = [21 x i8] c"/* 8 bit integer */\0A\00"
@.str.18 = [5 x i8] c"char\00"
@.str.19 = [18 x i8] c"typedef %s Char;\0A\00"
@.str.20 = [28 x i8] c"typedef unsigned %s Byte;\0A\0A\00"
@.str.21 = [27 x i8] c"/* Supplimentary types */\0A\00"
@.str.22 = [22 x i8] c"typedef %s *CString;\0A\00"
@.str.23 = [28 x i8] c"typedef unsigned %s Flag;\0A\0A\00"
@.str.24 = [8 x i8] c"#endif\0A\00"
@.str.25 = [7 x i8] c"done.\0A\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca i32*
%3 = alloca i8*
%4 = alloca i8*
%5 = alloca i8*
%6 = alloca i8*
store i32 0, i32* %1
%7 = call i32* @fopen(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
store i32* %7, i32** %2
%8 = load i32*, i32** %2
%9 = icmp ne i32* %8, null
br i1 %9, label %13, label %10
10: ; preds = %0
%11 = call i32 @printf(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str.2, i64 0, i64 0))
%12 = call i32 @exit(i32 -1)
unreachable
13: ; preds = %0
%14 = call i32 @printf(i8* getelementptr inbounds ([46 x i8], [46 x i8]* @.str.3, i64 0, i64 0))
%15 = load i32*, i32** %2
%16 = call i32 (i32*, i8*, ...) @fprintf(i32* %15, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.4, i64 0, i64 0))
%17 = load i32*, i32** %2
%18 = call i32 (i32*, i8*, ...) @fprintf(i32* %17, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.5, i64 0, i64 0))
%19 = load i32*, i32** %2
%20 = call i32 (i32*, i8*, ...) @fprintf(i32* %19, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.6, i64 0, i64 0))
store i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.7, i64 0, i64 0), i8** %3
%21 = load i32*, i32** %2
%22 = load i8*, i8** %3
%23 = call i32 (i32*, i8*, ...) @fprintf(i32* %21, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.8, i64 0, i64 0), i8* %22)
%24 = load i32*, i32** %2
%25 = load i8*, i8** %3
%26 = call i32 (i32*, i8*, ...) @fprintf(i32* %24, i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.9, i64 0, i64 0), i8* %25)
%27 = load i32*, i32** %2
%28 = call i32 (i32*, i8*, ...) @fprintf(i32* %27, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.10, i64 0, i64 0))
store i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.11, i64 0, i64 0), i8** %6
%29 = load i32*, i32** %2
%30 = load i8*, i8** %6
%31 = call i32 (i32*, i8*, ...) @fprintf(i32* %29, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.12, i64 0, i64 0), i8* %30)
%32 = load i32*, i32** %2
%33 = call i32 (i32*, i8*, ...) @fprintf(i32* %32, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.13, i64 0, i64 0))
store i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.14, i64 0, i64 0), i8** %5
%34 = load i32*, i32** %2
%35 = load i8*, i8** %5
%36 = call i32 (i32*, i8*, ...) @fprintf(i32* %34, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.15, i64 0, i64 0), i8* %35)
%37 = load i32*, i32** %2
%38 = load i8*, i8** %5
%39 = call i32 (i32*, i8*, ...) @fprintf(i32* %37, i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.16, i64 0, i64 0), i8* %38)
%40 = load i32*, i32** %2
%41 = call i32 (i32*, i8*, ...) @fprintf(i32* %40, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.17, i64 0, i64 0))
store i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.18, i64 0, i64 0), i8** %4
%42 = load i32*, i32** %2
%43 = load i8*, i8** %4
%44 = call i32 (i32*, i8*, ...) @fprintf(i32* %42, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.19, i64 0, i64 0), i8* %43)
%45 = load i32*, i32** %2
%46 = load i8*, i8** %4
%47 = call i32 (i32*, i8*, ...) @fprintf(i32* %45, i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.20, i64 0, i64 0), i8* %46)
%48 = load i32*, i32** %2
%49 = call i32 (i32*, i8*, ...) @fprintf(i32* %48, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.21, i64 0, i64 0))
%50 = load i32*, i32** %2
%51 = load i8*, i8** %4
%52 = call i32 (i32*, i8*, ...) @fprintf(i32* %50, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.22, i64 0, i64 0), i8* %51)
%53 = load i32*, i32** %2
%54 = load i8*, i8** %4
%55 = call i32 (i32*, i8*, ...) @fprintf(i32* %53, i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.23, i64 0, i64 0), i8* %54)
%56 = load i32*, i32** %2
%57 = call i32 (i32*, i8*, ...) @fprintf(i32* %56, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.24, i64 0, i64 0))
%58 = load i32*, i32** %2
%59 = call i32 @fclose(i32* %58)
%60 = call i32 @printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.25, i64 0, i64 0))
%61 = call i32 @exit(i32 0)
unreachable
}

LLVM IR (-O2):
@.str = [8 x i8] c"types.h\00"
@.str.1 = [2 x i8] c"w\00"
@.str.3 = [46 x i8] c"Analyzing architecture, to determine types...\00"
@.str.4 = [16 x i8] c"#ifndef _TYPES\0A\00"
@.str.5 = [17 x i8] c"#define _TYPES\0A\0A\00"
@.str.6 = [22 x i8] c"/* 32 bit integer */\0A\00"
@.str.7 = [4 x i8] c"int\00"
@.str.8 = [19 x i8] c"typedef %s Int32;\0A\00"
@.str.9 = [30 x i8] c"typedef unsigned %s UInt32;\0A\0A\00"
@.str.10 = [20 x i8] c"/* Pointer type */\0A\00"
@.str.11 = [9 x i8] c"long int\00"
@.str.12 = [22 x i8] c"typedef %s Pointer;\0A\0A\00"
@.str.13 = [22 x i8] c"/* 16 bit integer */\0A\00"
@.str.14 = [10 x i8] c"short int\00"
@.str.15 = [19 x i8] c"typedef %s Int16;\0A\00"
@.str.16 = [30 x i8] c"typedef unsigned %s UInt16;\0A\0A\00"
@.str.17 = [21 x i8] c"/* 8 bit integer */\0A\00"
@.str.18 = [5 x i8] c"char\00"
@.str.19 = [18 x i8] c"typedef %s Char;\0A\00"
@.str.20 = [28 x i8] c"typedef unsigned %s Byte;\0A\0A\00"
@.str.21 = [27 x i8] c"/* Supplimentary types */\0A\00"
@.str.22 = [22 x i8] c"typedef %s *CString;\0A\00"
@.str.23 = [28 x i8] c"typedef unsigned %s Flag;\0A\0A\00"
@.str.24 = [8 x i8] c"#endif\0A\00"
@str = [38 x i8] c"Could not open types.h for writing...\00"
@str.26 = [6 x i8] c"done.\00"
define i32 @main() {
%1 = tail call i32* @fopen(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
%2 = icmp eq i32* %1, null
br i1 %2, label %3, label %6
3: ; preds = %0
%4 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([38 x i8], [38 x i8]* @str, i64 0, i64 0))
%5 = tail call i32 @exit(i32 -1)
unreachable
6: ; preds = %0
%7 = tail call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([46 x i8], [46 x i8]* @.str.3, i64 0, i64 0))
%8 = tail call i64 @fwrite(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.4, i64 0, i64 0), i64 15, i64 1, i32* %1)
%9 = tail call i64 @fwrite(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.5, i64 0, i64 0), i64 16, i64 1, i32* %1)
%10 = tail call i64 @fwrite(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.6, i64 0, i64 0), i64 21, i64 1, i32* %1)
%11 = tail call i32 (i32*, i8*, ...) @fprintf(i32* %1, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.8, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.7, i64 0, i64 0))
%12 = tail call i32 (i32*, i8*, ...) @fprintf(i32* %1, i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.9, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.7, i64 0, i64 0))
%13 = tail call i64 @fwrite(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.10, i64 0, i64 0), i64 19, i64 1, i32* %1)
%14 = tail call i32 (i32*, i8*, ...) @fprintf(i32* %1, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.12, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.11, i64 0, i64 0))
%15 = tail call i64 @fwrite(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.13, i64 0, i64 0), i64 21, i64 1, i32* %1)
%16 = tail call i32 (i32*, i8*, ...) @fprintf(i32* %1, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.15, i64 0, i64 0), i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.14, i64 0, i64 0))
%17 = tail call i32 (i32*, i8*, ...) @fprintf(i32* %1, i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.16, i64 0, i64 0), i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.14, i64 0, i64 0))
%18 = tail call i64 @fwrite(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.17, i64 0, i64 0), i64 20, i64 1, i32* %1)
%19 = tail call i32 (i32*, i8*, ...) @fprintf(i32* %1, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.19, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.18, i64 0, i64 0))
%20 = tail call i32 (i32*, i8*, ...) @fprintf(i32* %1, i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.20, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.18, i64 0, i64 0))
%21 = tail call i64 @fwrite(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.21, i64 0, i64 0), i64 26, i64 1, i32* %1)
%22 = tail call i32 (i32*, i8*, ...) @fprintf(i32* %1, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.22, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.18, i64 0, i64 0))
%23 = tail call i32 (i32*, i8*, ...) @fprintf(i32* %1, i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.23, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.18, i64 0, i64 0))
%24 = tail call i64 @fwrite(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.24, i64 0, i64 0), i64 7, i64 1, i32* %1)
%25 = tail call i32 @fclose(i32* %1)
%26 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @str.26, i64 0, i64 0))
%27 = tail call i32 @exit(i32 0)
unreachable
}