#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 */
unsigned long INT_MAX;
int MAP_FILE;
int MAP_PRIVATE;
int /*<<< orphan*/ PROT_READ;
int /*<<< orphan*/ errno;
int /*<<< orphan*/ exit(int);
int /*<<< orphan*/ fclose(int /*<<< orphan*/ *);
int /*<<< orphan*/ fileno(int /*<<< orphan*/ *);
int /*<<< orphan*/ *fopen(char *, char *);
int /*<<< orphan*/ fprintf(int /*<<< orphan*/, char *, char *, ...);
int /*<<< orphan*/ fwrite(void *, int, unsigned long, int /*<<< orphan*/);
void *mmap(int /*<<< orphan*/, unsigned long, int /*<<< orphan*/, int,
           int /*<<< orphan*/, unsigned long);
int sscanf(char *, char *, unsigned long *);
int /*<<< orphan*/ stderr;
int /*<<< orphan*/ stdout;
char *strerror(int /*<<< orphan*/);
int main(int argc, char **argv) {
  char *fname;
  FILE *f;
  unsigned long offset, len;
  void *address;
  if (argc != 4 || sscanf(argv[2], "%li", &offset) != 1 ||
      sscanf(argv[3], "%li", &len) != 1) {
    fprintf(stderr, "%s: Usage \"%s <file> <offset> <len>\"\n", argv[0],
            argv[0]);
    exit(1);
  }
  if (offset == INT_MAX) {
    if (argv[2][1] == 'x')
      sscanf(argv[2] + 2, "%lx", &offset);
    else
      sscanf(argv[2], "%lu", &offset);
  }
  fname = argv[1];
  if (!(f = fopen(fname, "r"))) {
    fprintf(stderr, "%s: %s: %s\n", argv[0], fname, strerror(errno));
    exit(1);
  }
  address = mmap(0, len, PROT_READ, MAP_FILE | MAP_PRIVATE, fileno(f), offset);
  if (address == (void *)-1) {
    fprintf(stderr, "%s: mmap(): %s\n", argv[0], strerror(errno));
    exit(1);
  }
  fclose(f);
  fprintf(stderr, "mapped \"%s\" from %lu (0x%08lx) to %lu (0x%08lx)\n", fname,
          offset, offset, offset + len, offset + len);
  fwrite(address, 1, len, stdout);
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x80,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
cmpl   $0x4,-0x8(%rbp)
jne    11f5 <main+0x65>
mov    -0x10(%rbp),%rax
mov    0x10(%rax),%rdi
lea    0xe3e(%rip),%rsi
lea    -0x28(%rbp),%rdx
call   1070 <sscanf@plt>
cmp    $0x1,%eax
jne    11f5 <main+0x65>
mov    -0x10(%rbp),%rax
mov    0x18(%rax),%rdi
lea    0xe1d(%rip),%rsi
lea    -0x30(%rbp),%rdx
call   1070 <sscanf@plt>
cmp    $0x1,%eax
je     1224 <main+0x94>
mov    0x2dcc(%rip),%rax
mov    (%rax),%edi
mov    -0x10(%rbp),%rax
mov    (%rax),%rdx
mov    -0x10(%rbp),%rax
mov    (%rax),%rcx
lea    0xdf1(%rip),%rsi
mov    $0x0,%al
call   1050 <fprintf@plt>
mov    $0x1,%edi
call   1090 <exit@plt>
mov    -0x28(%rbp),%rax
mov    0x2db1(%rip),%rcx
cmp    (%rcx),%rax
jne    128b <main+0xfb>
mov    -0x10(%rbp),%rax
mov    0x10(%rax),%rax
movsbl 0x1(%rax),%eax
cmp    $0x78,%eax
jne    126e <main+0xde>
mov    -0x10(%rbp),%rax
mov    0x10(%rax),%rdi
add    $0x2,%rdi
lea    0xdca(%rip),%rsi
lea    -0x28(%rbp),%rdx
call   1070 <sscanf@plt>
jmp    1286 <main+0xf6>
mov    -0x10(%rbp),%rax
mov    0x10(%rax),%rdi
lea    0xdb1(%rip),%rsi
lea    -0x28(%rbp),%rdx
call   1070 <sscanf@plt>
jmp    128b <main+0xfb>
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rax
mov    %rax,-0x18(%rbp)
mov    -0x18(%rbp),%rdi
lea    0xd90(%rip),%rsi
call   1080 <fopen@plt>
mov    %rax,-0x20(%rbp)
cmp    $0x0,%rax
jne    1308 <main+0x178>
mov    0x2d0c(%rip),%rax
mov    (%rax),%eax
mov    %eax,-0x4c(%rbp)
mov    -0x10(%rbp),%rax
mov    (%rax),%rax
mov    %rax,-0x48(%rbp)
mov    -0x18(%rbp),%rax
mov    %rax,-0x40(%rbp)
mov    0x2ce5(%rip),%rax
mov    (%rax),%edi
call   10b0 <strerror@plt>
mov    -0x4c(%rbp),%edi
mov    -0x48(%rbp),%rdx
mov    -0x40(%rbp),%rcx
mov    %rax,%r8
lea    0xd3d(%rip),%rsi
mov    $0x0,%al
call   1050 <fprintf@plt>
mov    $0x1,%edi
call   1090 <exit@plt>
mov    -0x30(%rbp),%rax
mov    %rax,-0x60(%rbp)
mov    0x2ce1(%rip),%rax
mov    (%rax),%eax
mov    %eax,-0x54(%rbp)
mov    0x2cb5(%rip),%rax
mov    (%rax),%eax
mov    0x2c84(%rip),%rcx
or     (%rcx),%eax
mov    %eax,-0x50(%rbp)
mov    -0x20(%rbp),%rdi
call   1060 <fileno@plt>
mov    -0x60(%rbp),%rsi
mov    -0x54(%rbp),%edx
mov    -0x50(%rbp),%ecx
mov    %eax,%r8d
mov    -0x28(%rbp),%r9
xor    %edi,%edi
call   1040 <mmap@plt>
mov    %rax,-0x38(%rbp)
mov    $0xffffffffffffffff,%rax
cmp    %rax,-0x38(%rbp)
jne    13ae <main+0x21e>
mov    0x2c5a(%rip),%rax
mov    (%rax),%eax
mov    %eax,-0x6c(%rbp)
mov    -0x10(%rbp),%rax
mov    (%rax),%rax
mov    %rax,-0x68(%rbp)
mov    0x2c3b(%rip),%rax
mov    (%rax),%edi
call   10b0 <strerror@plt>
mov    -0x6c(%rbp),%edi
mov    -0x68(%rbp),%rdx
mov    %rax,%rcx
lea    0xca3(%rip),%rsi
mov    $0x0,%al
call   1050 <fprintf@plt>
mov    $0x1,%edi
call   1090 <exit@plt>
mov    -0x20(%rbp),%rdi
call   1030 <fclose@plt>
mov    0x2c0a(%rip),%rax
mov    (%rax),%edi
mov    -0x18(%rbp),%rdx
mov    -0x28(%rbp),%rcx
mov    -0x28(%rbp),%r8
mov    -0x28(%rbp),%r9
add    -0x30(%rbp),%r9
mov    -0x28(%rbp),%rax
add    -0x30(%rbp),%rax
lea    0xc6d(%rip),%rsi
mov    %rax,(%rsp)
mov    $0x0,%al
call   1050 <fprintf@plt>
mov    -0x38(%rbp),%rdi
mov    -0x30(%rbp),%rdx
mov    0x2bbb(%rip),%rax
mov    (%rax),%ecx
mov    $0x1,%esi
call   10a0 <fwrite@plt>
xor    %eax,%eax
add    $0x80,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x18,%rsp
mov    %rsi,%r15
cmp    $0x4,%edi
jne    12ed <main+0x15d>
mov    0x10(%r15),%rdi
lea    0xe4b(%rip),%rsi
lea    0x8(%rsp),%rdx
call   1070 <sscanf@plt>
cmp    $0x1,%eax
jne    12ed <main+0x15d>
mov    0x18(%r15),%rdi
lea    0xe2d(%rip),%rsi
lea    0x10(%rsp),%rdx
call   1070 <sscanf@plt>
cmp    $0x1,%eax
jne    12ed <main+0x15d>
mov    0x8(%rsp),%rax
mov    0x2dee(%rip),%rcx
cmp    (%rcx),%rax
jne    121f <main+0x8f>
mov    0x10(%r15),%rdi
cmpb   $0x78,0x1(%rdi)
jne    120e <main+0x7e>
add    $0x2,%rdi
lea    0xe1e(%rip),%rsi
jmp    1215 <main+0x85>
lea    0xe19(%rip),%rsi
lea    0x8(%rsp),%rdx
call   1070 <sscanf@plt>
mov    0x8(%r15),%r14
lea    0xe08(%rip),%rsi
mov    %r14,%rdi
call   1080 <fopen@plt>
test   %rax,%rax
je     1305 <main+0x175>
mov    %rax,%rbx
mov    0x10(%rsp),%r12
mov    0x2dae(%rip),%rax
mov    (%rax),%r13d
mov    0x2d84(%rip),%rax
mov    0x2d55(%rip),%rcx
mov    (%rcx),%ebp
or     (%rax),%ebp
mov    %rbx,%rdi
call   1060 <fileno@plt>
mov    0x8(%rsp),%r9
xor    %edi,%edi
mov    %r12,%rsi
mov    %r13d,%edx
mov    %ebp,%ecx
mov    %eax,%r8d
call   1040 <mmap@plt>
cmp    $0xffffffffffffffff,%rax
je     1342 <main+0x1b2>
mov    %rax,%r12
mov    %rbx,%rdi
call   1030 <fclose@plt>
mov    0x2d2e(%rip),%rax
mov    (%rax),%edi
mov    0x8(%rsp),%rcx
mov    0x10(%rsp),%r9
add    %rcx,%r9
mov    %r9,(%rsp)
lea    0xd9c(%rip),%rsi
mov    %r14,%rdx
mov    %rcx,%r8
xor    %eax,%eax
call   1050 <fprintf@plt>
mov    0x10(%rsp),%rdx
mov    0x2ceb(%rip),%rax
mov    (%rax),%ecx
mov    %r12,%rdi
mov    $0x1,%esi
call   10a0 <fwrite@plt>
xor    %eax,%eax
add    $0x18,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret
mov    0x2cd4(%rip),%rax
mov    (%rax),%edi
mov    (%r15),%rcx
lea    0xd04(%rip),%rsi
mov    %rcx,%rdx
jmp    136b <main+0x1db>
mov    0x2cbc(%rip),%rax
mov    (%rax),%ebx
mov    (%r15),%r15
mov    0x2ca8(%rip),%rax
mov    (%rax),%edi
call   10b0 <strerror@plt>
lea    0xd0e(%rip),%rsi
mov    %ebx,%edi
mov    %r15,%rdx
mov    %r14,%rcx
mov    %rax,%r8
xor    %eax,%eax
call   1050 <fprintf@plt>
mov    $0x1,%edi
call   1090 <exit@plt>
mov    0x2c7f(%rip),%rax
mov    (%rax),%ebx
mov    (%r15),%rbp
mov    0x2c6b(%rip),%rax
mov    (%rax),%edi
call   10b0 <strerror@plt>
lea    0xcdd(%rip),%rsi
mov    %ebx,%edi
mov    %rbp,%rdx
mov    %rax,%rcx
xor    %eax,%eax
call   1050 <fprintf@plt>
mov    $0x1,%edi
call   1090 <exit@plt>

LLVM IR (-O0):
@.str = [4 x i8] c"%li\00"
@stderr = global i32 0
@.str.1 = [38 x i8] c"%s: Usage \22%s <file> <offset> <len>\22\0A\00"
@INT_MAX = global i64 0
@.str.2 = [4 x i8] c"%lx\00"
@.str.3 = [4 x i8] c"%lu\00"
@.str.4 = [2 x i8] c"r\00"
@.str.5 = [12 x i8] c"%s: %s: %s\0A\00"
@errno = global i32 0
@PROT_READ = global i32 0
@MAP_FILE = global i32 0
@MAP_PRIVATE = global i32 0
@.str.6 = [16 x i8] c"%s: mmap(): %s\0A\00"
@.str.7 = [49 x i8] c"mapped \22%s\22 from %lu (0x%08lx) to %lu (0x%08lx)\0A\00"
@stdout = global i32 0
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca i8**
%6 = alloca i8*
%7 = alloca i32*
%8 = alloca i64
%9 = alloca i64
%10 = alloca i8*
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
%11 = load i32, i32* %4
%12 = icmp ne i32 %11, 4
br i1 %12, label %25, label %13
13: ; preds = %2
%14 = load i8**, i8*** %5
%15 = getelementptr inbounds i8*, i8** %14, i64 2
%16 = load i8*, i8** %15
%17 = call i32 @sscanf(i8* %16, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i64* %8)
%18 = icmp ne i32 %17, 1
br i1 %18, label %25, label %19
19: ; preds = %13
%20 = load i8**, i8*** %5
%21 = getelementptr inbounds i8*, i8** %20, i64 3
%22 = load i8*, i8** %21
%23 = call i32 @sscanf(i8* %22, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i64* %9)
%24 = icmp ne i32 %23, 1
br i1 %24, label %25, label %35
25: ; preds = %19, %13, %2
%26 = load i32, i32* @stderr
%27 = load i8**, i8*** %5
%28 = getelementptr inbounds i8*, i8** %27, i64 0
%29 = load i8*, i8** %28
%30 = load i8**, i8*** %5
%31 = getelementptr inbounds i8*, i8** %30, i64 0
%32 = load i8*, i8** %31
%33 = call i32 (i32, i8*, i8*, ...) @fprintf(i32 %26, i8* getelementptr inbounds ([38 x i8], [38 x i8]* @.str.1, i64 0, i64 0), i8* %29, i8* %32)
%34 = call i32 @exit(i32 1)
unreachable
35: ; preds = %19
%36 = load i64, i64* %8
%37 = load i64, i64* @INT_MAX
%38 = icmp eq i64 %36, %37
br i1 %38, label %39, label %59
39: ; preds = %35
%40 = load i8**, i8*** %5
%41 = getelementptr inbounds i8*, i8** %40, i64 2
%42 = load i8*, i8** %41
%43 = getelementptr inbounds i8, i8* %42, i64 1
%44 = load i8, i8* %43
%45 = sext i8 %44 to i32
%46 = icmp eq i32 %45, 120
br i1 %46, label %47, label %53
47: ; preds = %39
%48 = load i8**, i8*** %5
%49 = getelementptr inbounds i8*, i8** %48, i64 2
%50 = load i8*, i8** %49
%51 = getelementptr inbounds i8, i8* %50, i64 2
%52 = call i32 @sscanf(i8* %51, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0), i64* %8)
br label %58
53: ; preds = %39
%54 = load i8**, i8*** %5
%55 = getelementptr inbounds i8*, i8** %54, i64 2
%56 = load i8*, i8** %55
%57 = call i32 @sscanf(i8* %56, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.3, i64 0, i64 0), i64* %8)
br label %58
58: ; preds = %53, %47
br label %59
59: ; preds = %58, %35
%60 = load i8**, i8*** %5
%61 = getelementptr inbounds i8*, i8** %60, i64 1
%62 = load i8*, i8** %61
store i8* %62, i8** %6
%63 = load i8*, i8** %6
%64 = call i32* @fopen(i8* %63, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.4, i64 0, i64 0))
store i32* %64, i32** %7
%65 = icmp ne i32* %64, null
br i1 %65, label %76, label %66
66: ; preds = %59
%67 = load i32, i32* @stderr
%68 = load i8**, i8*** %5
%69 = getelementptr inbounds i8*, i8** %68, i64 0
%70 = load i8*, i8** %69
%71 = load i8*, i8** %6
%72 = load i32, i32* @errno
%73 = call i8* @strerror(i32 %72)
%74 = call i32 (i32, i8*, i8*, ...) @fprintf(i32 %67, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.5, i64 0, i64 0), i8* %70, i8* %71, i8* %73)
%75 = call i32 @exit(i32 1)
unreachable
76: ; preds = %59
%77 = load i64, i64* %9
%78 = load i32, i32* @PROT_READ
%79 = load i32, i32* @MAP_FILE
%80 = load i32, i32* @MAP_PRIVATE
%81 = or i32 %79, %80
%82 = load i32*, i32** %7
%83 = call i32 @fileno(i32* %82)
%84 = load i64, i64* %8
%85 = call i8* @mmap(i32 0, i64 %77, i32 %78, i32 %81, i32 %83, i64 %84)
store i8* %85, i8** %10
%86 = load i8*, i8** %10
%87 = icmp eq i8* %86, inttoptr (i64 -1 to i8*)
br i1 %87, label %88, label %97
88: ; preds = %76
%89 = load i32, i32* @stderr
%90 = load i8**, i8*** %5
%91 = getelementptr inbounds i8*, i8** %90, i64 0
%92 = load i8*, i8** %91
%93 = load i32, i32* @errno
%94 = call i8* @strerror(i32 %93)
%95 = call i32 (i32, i8*, i8*, ...) @fprintf(i32 %89, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.6, i64 0, i64 0), i8* %92, i8* %94)
%96 = call i32 @exit(i32 1)
unreachable
97: ; preds = %76
%98 = load i32*, i32** %7
%99 = call i32 @fclose(i32* %98)
%100 = load i32, i32* @stderr
%101 = load i8*, i8** %6
%102 = load i64, i64* %8
%103 = load i64, i64* %8
%104 = load i64, i64* %8
%105 = load i64, i64* %9
%106 = add i64 %104, %105
%107 = load i64, i64* %8
%108 = load i64, i64* %9
%109 = add i64 %107, %108
%110 = call i32 (i32, i8*, i8*, ...) @fprintf(i32 %100, i8* getelementptr inbounds ([49 x i8], [49 x i8]* @.str.7, i64 0, i64 0), i8* %101, i64 %102, i64 %103, i64 %106, i64 %109)
%111 = load i8*, i8** %10
%112 = load i64, i64* %9
%113 = load i32, i32* @stdout
%114 = call i32 @fwrite(i8* %111, i32 1, i64 %112, i32 %113)
ret i32 0
}

LLVM IR (-O2):
@.str = [4 x i8] c"%li\00"
@stderr = global i32 0
@.str.1 = [38 x i8] c"%s: Usage \22%s <file> <offset> <len>\22\0A\00"
@INT_MAX = global i64 0
@.str.2 = [4 x i8] c"%lx\00"
@.str.3 = [4 x i8] c"%lu\00"
@.str.4 = [2 x i8] c"r\00"
@.str.5 = [12 x i8] c"%s: %s: %s\0A\00"
@errno = global i32 0
@PROT_READ = global i32 0
@MAP_FILE = global i32 0
@MAP_PRIVATE = global i32 0
@.str.6 = [16 x i8] c"%s: mmap(): %s\0A\00"
@.str.7 = [49 x i8] c"mapped \22%s\22 from %lu (0x%08lx) to %lu (0x%08lx)\0A\00"
@stdout = global i32 0
define i32 @main(i32 %0, i8** nocapture %1) {
%3 = alloca i64
%4 = alloca i64
%5 = bitcast i64* %3 to i8*
%6 = bitcast i64* %4 to i8*
%7 = icmp eq i32 %0, 4
br i1 %7, label %8, label %18
8: ; preds = %2
%9 = getelementptr inbounds i8*, i8** %1, i64 2
%10 = load i8*, i8** %9
%11 = call i32 @sscanf(i8* %10, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i64* %3)
%12 = icmp eq i32 %11, 1
br i1 %12, label %13, label %18
13: ; preds = %8
%14 = getelementptr inbounds i8*, i8** %1, i64 3
%15 = load i8*, i8** %14
%16 = call i32 @sscanf(i8* %15, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i64* %4)
%17 = icmp eq i32 %16, 1
br i1 %17, label %23, label %18
18: ; preds = %13, %8, %2
%19 = load i32, i32* @stderr
%20 = load i8*, i8** %1
%21 = call i32 (i32, i8*, i8*, ...) @fprintf(i32 %19, i8* getelementptr inbounds ([38 x i8], [38 x i8]* @.str.1, i64 0, i64 0), i8* %20, i8* %20)
%22 = call i32 @exit(i32 1)
unreachable
23: ; preds = %13
%24 = load i64, i64* %3
%25 = load i64, i64* @INT_MAX
%26 = icmp eq i64 %24, %25
br i1 %26, label %27, label %37
27: ; preds = %23
%28 = load i8*, i8** %9
%29 = getelementptr inbounds i8, i8* %28, i64 1
%30 = load i8, i8* %29
%31 = icmp eq i8 %30, 120
br i1 %31, label %32, label %35
32: ; preds = %27
%33 = getelementptr inbounds i8, i8* %28, i64 2
%34 = call i32 @sscanf(i8* %33, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0), i64* %3)
br label %37
35: ; preds = %27
%36 = call i32 @sscanf(i8* %28, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.3, i64 0, i64 0), i64* %3)
br label %37
37: ; preds = %32, %35, %23
%38 = getelementptr inbounds i8*, i8** %1, i64 1
%39 = load i8*, i8** %38
%40 = call i32* @fopen(i8* %39, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.4, i64 0, i64 0))
%41 = icmp eq i32* %40, null
br i1 %41, label %42, label %49
42: ; preds = %37
%43 = load i32, i32* @stderr
%44 = load i8*, i8** %1
%45 = load i32, i32* @errno
%46 = call i8* @strerror(i32 %45)
%47 = call i32 (i32, i8*, i8*, ...) @fprintf(i32 %43, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.5, i64 0, i64 0), i8* %44, i8* %39, i8* %46)
%48 = call i32 @exit(i32 1)
unreachable
49: ; preds = %37
%50 = load i64, i64* %4
%51 = load i32, i32* @PROT_READ
%52 = load i32, i32* @MAP_FILE
%53 = load i32, i32* @MAP_PRIVATE
%54 = or i32 %53, %52
%55 = call i32 @fileno(i32* %40)
%56 = load i64, i64* %3
%57 = call i8* @mmap(i32 0, i64 %50, i32 %51, i32 %54, i32 %55, i64 %56)
%58 = icmp eq i8* %57, inttoptr (i64 -1 to i8*)
br i1 %58, label %59, label %66
59: ; preds = %49
%60 = load i32, i32* @stderr
%61 = load i8*, i8** %1
%62 = load i32, i32* @errno
%63 = call i8* @strerror(i32 %62)
%64 = call i32 (i32, i8*, i8*, ...) @fprintf(i32 %60, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.6, i64 0, i64 0), i8* %61, i8* %63)
%65 = call i32 @exit(i32 1)
unreachable
66: ; preds = %49
%67 = call i32 @fclose(i32* %40)
%68 = load i32, i32* @stderr
%69 = load i64, i64* %3
%70 = load i64, i64* %4
%71 = add i64 %70, %69
%72 = call i32 (i32, i8*, i8*, ...) @fprintf(i32 %68, i8* getelementptr inbounds ([49 x i8], [49 x i8]* @.str.7, i64 0, i64 0), i8* %39, i64 %69, i64 %69, i64 %71, i64 %71)
%73 = load i64, i64* %4
%74 = load i32, i32* @stdout
%75 = call i32 @fwrite(i8* %57, i32 1, i64 %73, i32 %74)
ret i32 0
}