#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 mode_t;

/* Variables and functions */
int EXIT_SUCCESS;
int O_CREAT;
int O_RDWR;
int /*<<< orphan*/ SEEK_CUR;
int S_IRGRP;
int S_IROTH;
int S_IRUSR;
int S_IWGRP;
int S_IWOTH;
int S_IWUSR;
int /*<<< orphan*/ close(int);
int lseek(int, int, int /*<<< orphan*/);
int open(char *, int, int);
int /*<<< orphan*/ read(int, char *, int);
int /*<<< orphan*/ sprintf(char *, char *, int);
int /*<<< orphan*/ write(int, char *, int);
int posix_io(void) {
  char filename[64];
  char *buffer = "eeeeee";
  char read_buffer[5];
  int file_handlers[5];
  int i = 0;
  int j = 0;
  mode_t mode = S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH | S_IWOTH;
  for (i = 0; i < 5; i++) {
    sprintf(filename, "./datafile_%d", i);
    file_handlers[i] = open(filename, O_RDWR | O_CREAT, mode);
  }
  int offset;
  for (i = 0; i < 5; i++) {
    for (j = 0; j < 5; j++) {
      write(file_handlers[i], buffer, 5);
    }
  }
  for (i = 0; i < 5; i++) {
    offset = lseek(file_handlers[i], -25, SEEK_CUR);
  }
  for (i = 0; i < 5; i++) {
    for (j = 0; j < 5; j++) {
      read(file_handlers[i], read_buffer, 5);
    }
  }
  for (i = 4; i >= 0; i--) {
    close(file_handlers[i]);
  }
  return EXIT_SUCCESS;
}


x86 assembly (clang, -O0):
<posix_io>:
push   %rbp
mov    %rsp,%rbp
sub    $0x80,%rsp
lea    0xe8e(%rip),%rax
mov    %rax,-0x48(%rbp)
movl   $0x0,-0x74(%rbp)
movl   $0x0,-0x78(%rbp)
mov    0x2e1d(%rip),%rax
mov    (%rax),%eax
mov    0x2e34(%rip),%rcx
or     (%rcx),%eax
mov    0x2e1b(%rip),%rcx
or     (%rcx),%eax
mov    0x2e2a(%rip),%rcx
or     (%rcx),%eax
mov    0x2e01(%rip),%rcx
or     (%rcx),%eax
mov    0x2dd8(%rip),%rcx
or     (%rcx),%eax
mov    %eax,-0x7c(%rbp)
movl   $0x0,-0x74(%rbp)
cmpl   $0x5,-0x74(%rbp)
jge    1217 <posix_io+0xb7>
lea    -0x40(%rbp),%rdi
mov    -0x74(%rbp),%edx
lea    0xe2b(%rip),%rsi
call   1080 <sprintf@plt>
lea    -0x40(%rbp),%rdi
mov    0x2df4(%rip),%rax
mov    (%rax),%esi
mov    0x2e03(%rip),%rax
or     (%rax),%esi
mov    -0x7c(%rbp),%edx
call   1070 <open@plt>
mov    %eax,%ecx
movslq -0x74(%rbp),%rax
mov    %ecx,-0x70(%rbp,%rax,4)
mov    -0x74(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x74(%rbp)
jmp    11c4 <posix_io+0x64>
movl   $0x0,-0x74(%rbp)
cmpl   $0x5,-0x74(%rbp)
jge    1270 <posix_io+0x110>
movl   $0x0,-0x78(%rbp)
cmpl   $0x5,-0x78(%rbp)
jge    125d <posix_io+0xfd>
movslq -0x74(%rbp),%rax
mov    -0x70(%rbp,%rax,4),%edi
mov    -0x48(%rbp),%rsi
mov    $0x5,%edx
call   1030 <write@plt>
mov    -0x78(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x78(%rbp)
jmp    122f <posix_io+0xcf>
jmp    1262 <posix_io+0x102>
mov    -0x74(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x74(%rbp)
jmp    121e <posix_io+0xbe>
movl   $0x0,-0x74(%rbp)
cmpl   $0x5,-0x74(%rbp)
jge    12ad <posix_io+0x14d>
movslq -0x74(%rbp),%rax
mov    -0x70(%rbp,%rax,4),%edi
mov    0x2d48(%rip),%rax
mov    (%rax),%edx
mov    $0xffffffe7,%esi
call   1040 <lseek@plt>
mov    %eax,-0x80(%rbp)
mov    -0x74(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x74(%rbp)
jmp    1277 <posix_io+0x117>
movl   $0x0,-0x74(%rbp)
cmpl   $0x5,-0x74(%rbp)
jge    1306 <posix_io+0x1a6>
movl   $0x0,-0x78(%rbp)
cmpl   $0x5,-0x78(%rbp)
jge    12f3 <posix_io+0x193>
movslq -0x74(%rbp),%rax
mov    -0x70(%rbp,%rax,4),%edi
lea    -0x4d(%rbp),%rsi
mov    $0x5,%edx
call   1060 <read@plt>
mov    -0x78(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x78(%rbp)
jmp    12c5 <posix_io+0x165>
jmp    12f8 <posix_io+0x198>
mov    -0x74(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x74(%rbp)
jmp    12b4 <posix_io+0x154>
movl   $0x4,-0x74(%rbp)
cmpl   $0x0,-0x74(%rbp)
jl     1332 <posix_io+0x1d2>
movslq -0x74(%rbp),%rax
mov    -0x70(%rbp,%rax,4),%edi
call   1050 <close@plt>
mov    -0x74(%rbp),%eax
add    $0xffffffff,%eax
mov    %eax,-0x74(%rbp)
jmp    130d <posix_io+0x1ad>
mov    0x2c67(%rip),%rax
mov    (%rax),%eax
add    $0x80,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<posix_io>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x58,%rsp
mov    0x2e33(%rip),%rax
mov    0x2e4c(%rip),%rcx
mov    (%rcx),%ebx
or     (%rax),%ebx
mov    0x2e31(%rip),%rax
or     (%rax),%ebx
mov    0x2e40(%rip),%rax
or     (%rax),%ebx
mov    0x2e17(%rip),%rax
or     (%rax),%ebx
mov    0x2dee(%rip),%rax
or     (%rax),%ebx
lea    0xe5c(%rip),%r13
lea    0x10(%rsp),%rbp
mov    %rbp,%rdi
mov    %r13,%rsi
xor    %edx,%edx
call   1080 <sprintf@plt>
mov    0x2e1c(%rip),%r15
mov    0x2e2d(%rip),%r14
mov    (%r14),%esi
or     (%r15),%esi
mov    %rbp,%rdi
mov    %ebx,%edx
call   1070 <open@plt>
mov    %eax,(%rsp)
mov    %rbp,%rdi
mov    %r13,%rsi
mov    $0x1,%edx
call   1080 <sprintf@plt>
mov    (%r14),%esi
or     (%r15),%esi
mov    %rbp,%rdi
mov    %ebx,%edx
call   1070 <open@plt>
mov    %eax,0x4(%rsp)
mov    %rbp,%rdi
mov    %r13,%rsi
mov    $0x2,%edx
call   1080 <sprintf@plt>
mov    (%r14),%esi
or     (%r15),%esi
mov    %rbp,%rdi
mov    %ebx,%edx
call   1070 <open@plt>
mov    %eax,%r12d
mov    %rbp,%rdi
mov    %r13,%rsi
mov    $0x3,%edx
call   1080 <sprintf@plt>
mov    (%r14),%esi
or     (%r15),%esi
mov    %rbp,%rdi
mov    %ebx,%edx
call   1070 <open@plt>
mov    %eax,%r13d
mov    %rbp,%rdi
lea    0xdb5(%rip),%rsi
mov    $0x4,%edx
call   1080 <sprintf@plt>
mov    (%r14),%esi
or     (%r15),%esi
mov    %rbp,%rdi
mov    %ebx,%edx
call   1070 <open@plt>
mov    %eax,%ebx
lea    0xd8b(%rip),%rbp
mov    (%rsp),%r14d
mov    %r14d,%edi
mov    %rbp,%rsi
mov    $0x5,%edx
call   1030 <write@plt>
mov    %r14d,%edi
mov    %rbp,%rsi
mov    $0x5,%edx
call   1030 <write@plt>
mov    %r14d,%edi
mov    %rbp,%rsi
mov    $0x5,%edx
call   1030 <write@plt>
mov    %r14d,%edi
mov    %rbp,%rsi
mov    $0x5,%edx
call   1030 <write@plt>
mov    %r14d,%edi
mov    %rbp,%rsi
mov    $0x5,%edx
call   1030 <write@plt>
mov    0x4(%rsp),%r15d
mov    %r15d,%edi
mov    %rbp,%rsi
mov    $0x5,%edx
call   1030 <write@plt>
mov    %r15d,%edi
mov    %rbp,%rsi
mov    $0x5,%edx
call   1030 <write@plt>
mov    %r15d,%edi
mov    %rbp,%rsi
mov    $0x5,%edx
call   1030 <write@plt>
mov    %r15d,%edi
mov    %rbp,%rsi
mov    $0x5,%edx
call   1030 <write@plt>
mov    %r15d,%edi
mov    %rbp,%rsi
mov    $0x5,%edx
call   1030 <write@plt>
mov    %r12d,%edi
mov    %rbp,%rsi
mov    $0x5,%edx
call   1030 <write@plt>
mov    %r12d,%edi
mov    %rbp,%rsi
mov    $0x5,%edx
call   1030 <write@plt>
mov    %r12d,%edi
mov    %rbp,%rsi
mov    $0x5,%edx
call   1030 <write@plt>
mov    %r12d,%edi
mov    %rbp,%rsi
mov    $0x5,%edx
call   1030 <write@plt>
mov    %r12d,%edi
mov    %rbp,%rsi
mov    $0x5,%edx
call   1030 <write@plt>
mov    %r13d,%edi
mov    %rbp,%rsi
mov    $0x5,%edx
call   1030 <write@plt>
mov    %r13d,%edi
mov    %rbp,%rsi
mov    $0x5,%edx
call   1030 <write@plt>
mov    %r13d,%edi
mov    %rbp,%rsi
mov    $0x5,%edx
call   1030 <write@plt>
mov    %r13d,%edi
mov    %rbp,%rsi
mov    $0x5,%edx
call   1030 <write@plt>
mov    %r13d,%edi
mov    %rbp,%rsi
mov    $0x5,%edx
call   1030 <write@plt>
mov    %ebx,%edi
mov    %rbp,%rsi
mov    $0x5,%edx
call   1030 <write@plt>
mov    %ebx,%edi
mov    %rbp,%rsi
mov    $0x5,%edx
call   1030 <write@plt>
mov    %ebx,%edi
mov    %rbp,%rsi
mov    $0x5,%edx
call   1030 <write@plt>
mov    %ebx,%edi
mov    %rbp,%rsi
mov    $0x5,%edx
call   1030 <write@plt>
mov    %ebx,%edi
mov    %rbp,%rsi
mov    $0x5,%edx
call   1030 <write@plt>
mov    0x2bc8(%rip),%rbp
mov    0x0(%rbp),%edx
mov    %r14d,%edi
mov    $0xffffffe7,%esi
call   1040 <lseek@plt>
mov    0x0(%rbp),%edx
mov    %r15d,%edi
mov    $0xffffffe7,%esi
call   1040 <lseek@plt>
mov    0x0(%rbp),%edx
mov    %r12d,%edi
mov    $0xffffffe7,%esi
call   1040 <lseek@plt>
mov    0x0(%rbp),%edx
mov    %r13d,%edi
mov    $0xffffffe7,%esi
call   1040 <lseek@plt>
mov    0x0(%rbp),%edx
mov    %ebx,%edi
mov    $0xffffffe7,%esi
call   1040 <lseek@plt>
lea    0xb(%rsp),%rbp
mov    %r14d,%edi
mov    %rbp,%rsi
mov    $0x5,%edx
call   1060 <read@plt>
mov    %r14d,%edi
mov    %rbp,%rsi
mov    $0x5,%edx
call   1060 <read@plt>
mov    %r14d,%edi
mov    %rbp,%rsi
mov    $0x5,%edx
call   1060 <read@plt>
mov    %r14d,%edi
mov    %rbp,%rsi
mov    $0x5,%edx
call   1060 <read@plt>
mov    %r14d,%edi
mov    %rbp,%rsi
mov    $0x5,%edx
call   1060 <read@plt>
mov    %r15d,%edi
mov    %rbp,%rsi
mov    $0x5,%edx
call   1060 <read@plt>
mov    %r15d,%edi
mov    %rbp,%rsi
mov    $0x5,%edx
call   1060 <read@plt>
mov    %r15d,%edi
mov    %rbp,%rsi
mov    $0x5,%edx
call   1060 <read@plt>
mov    %r15d,%edi
mov    %rbp,%rsi
mov    $0x5,%edx
call   1060 <read@plt>
mov    %r15d,%edi
mov    %rbp,%rsi
mov    $0x5,%edx
call   1060 <read@plt>
mov    %r12d,%edi
mov    %rbp,%rsi
mov    $0x5,%edx
call   1060 <read@plt>
mov    %r12d,%edi
mov    %rbp,%rsi
mov    $0x5,%edx
call   1060 <read@plt>
mov    %r12d,%edi
mov    %rbp,%rsi
mov    $0x5,%edx
call   1060 <read@plt>
mov    %r12d,%edi
mov    %rbp,%rsi
mov    $0x5,%edx
call   1060 <read@plt>
mov    %r12d,%edi
mov    %rbp,%rsi
mov    $0x5,%edx
call   1060 <read@plt>
mov    %r13d,%edi
mov    %rbp,%rsi
mov    $0x5,%edx
call   1060 <read@plt>
mov    %r13d,%edi
mov    %rbp,%rsi
mov    $0x5,%edx
call   1060 <read@plt>
mov    %r13d,%edi
mov    %rbp,%rsi
mov    $0x5,%edx
call   1060 <read@plt>
mov    %r13d,%edi
mov    %rbp,%rsi
mov    $0x5,%edx
call   1060 <read@plt>
mov    %r13d,%edi
mov    %rbp,%rsi
mov    $0x5,%edx
call   1060 <read@plt>
mov    %ebx,%edi
mov    %rbp,%rsi
mov    $0x5,%edx
call   1060 <read@plt>
mov    %ebx,%edi
mov    %rbp,%rsi
mov    $0x5,%edx
call   1060 <read@plt>
mov    %ebx,%edi
mov    %rbp,%rsi
mov    $0x5,%edx
call   1060 <read@plt>
mov    %ebx,%edi
mov    %rbp,%rsi
mov    $0x5,%edx
call   1060 <read@plt>
mov    %ebx,%edi
mov    %rbp,%rsi
mov    $0x5,%edx
call   1060 <read@plt>
mov    %ebx,%edi
call   1050 <close@plt>
mov    %r13d,%edi
call   1050 <close@plt>
mov    %r12d,%edi
call   1050 <close@plt>
mov    %r15d,%edi
call   1050 <close@plt>
mov    %r14d,%edi
call   1050 <close@plt>
mov    0x2983(%rip),%rax
mov    (%rax),%eax
add    $0x58,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@.str = [7 x i8] c"eeeeee\00"
@S_IRUSR = global i32 0
@S_IWUSR = global i32 0
@S_IRGRP = global i32 0
@S_IWGRP = global i32 0
@S_IROTH = global i32 0
@S_IWOTH = global i32 0
@.str.1 = [14 x i8] c"./datafile_%d\00"
@O_RDWR = global i32 0
@O_CREAT = global i32 0
@SEEK_CUR = global i32 0
@EXIT_SUCCESS = global i32 0
define i32 @posix_io() {
%1 = alloca [64 x i8]
%2 = alloca i8*
%3 = alloca [5 x i8]
%4 = alloca [5 x i32]
%5 = alloca i32
%6 = alloca i32
%7 = alloca i32
%8 = alloca i32
store i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str, i64 0, i64 0), i8** %2
store i32 0, i32* %5
store i32 0, i32* %6
%9 = load i32, i32* @S_IRUSR
%10 = load i32, i32* @S_IWUSR
%11 = or i32 %9, %10
%12 = load i32, i32* @S_IRGRP
%13 = or i32 %11, %12
%14 = load i32, i32* @S_IWGRP
%15 = or i32 %13, %14
%16 = load i32, i32* @S_IROTH
%17 = or i32 %15, %16
%18 = load i32, i32* @S_IWOTH
%19 = or i32 %17, %18
store i32 %19, i32* %7
store i32 0, i32* %5
br label %20
20: ; preds = %36, %0
%21 = load i32, i32* %5
%22 = icmp slt i32 %21, 5
br i1 %22, label %23, label %39
23: ; preds = %20
%24 = getelementptr inbounds [64 x i8], [64 x i8]* %1, i64 0, i64 0
%25 = load i32, i32* %5
%26 = call i32 @sprintf(i8* %24, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.1, i64 0, i64 0), i32 %25)
%27 = getelementptr inbounds [64 x i8], [64 x i8]* %1, i64 0, i64 0
%28 = load i32, i32* @O_RDWR
%29 = load i32, i32* @O_CREAT
%30 = or i32 %28, %29
%31 = load i32, i32* %7
%32 = call i32 @open(i8* %27, i32 %30, i32 %31)
%33 = load i32, i32* %5
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds [5 x i32], [5 x i32]* %4, i64 0, i64 %34
store i32 %32, i32* %35
br label %36
36: ; preds = %23
%37 = load i32, i32* %5
%38 = add nsw i32 %37, 1
store i32 %38, i32* %5
br label %20
39: ; preds = %20
store i32 0, i32* %5
br label %40
40: ; preds = %58, %39
%41 = load i32, i32* %5
%42 = icmp slt i32 %41, 5
br i1 %42, label %43, label %61
43: ; preds = %40
store i32 0, i32* %6
br label %44
44: ; preds = %54, %43
%45 = load i32, i32* %6
%46 = icmp slt i32 %45, 5
br i1 %46, label %47, label %57
47: ; preds = %44
%48 = load i32, i32* %5
%49 = sext i32 %48 to i64
%50 = getelementptr inbounds [5 x i32], [5 x i32]* %4, i64 0, i64 %49
%51 = load i32, i32* %50
%52 = load i8*, i8** %2
%53 = call i32 @write(i32 %51, i8* %52, i32 5)
br label %54
54: ; preds = %47
%55 = load i32, i32* %6
%56 = add nsw i32 %55, 1
store i32 %56, i32* %6
br label %44
57: ; preds = %44
br label %58
58: ; preds = %57
%59 = load i32, i32* %5
%60 = add nsw i32 %59, 1
store i32 %60, i32* %5
br label %40
61: ; preds = %40
store i32 0, i32* %5
br label %62
62: ; preds = %72, %61
%63 = load i32, i32* %5
%64 = icmp slt i32 %63, 5
br i1 %64, label %65, label %75
65: ; preds = %62
%66 = load i32, i32* %5
%67 = sext i32 %66 to i64
%68 = getelementptr inbounds [5 x i32], [5 x i32]* %4, i64 0, i64 %67
%69 = load i32, i32* %68
%70 = load i32, i32* @SEEK_CUR
%71 = call i32 @lseek(i32 %69, i32 -25, i32 %70)
store i32 %71, i32* %8
br label %72
72: ; preds = %65
%73 = load i32, i32* %5
%74 = add nsw i32 %73, 1
store i32 %74, i32* %5
br label %62
75: ; preds = %62
store i32 0, i32* %5
br label %76
76: ; preds = %94, %75
%77 = load i32, i32* %5
%78 = icmp slt i32 %77, 5
br i1 %78, label %79, label %97
79: ; preds = %76
store i32 0, i32* %6
br label %80
80: ; preds = %90, %79
%81 = load i32, i32* %6
%82 = icmp slt i32 %81, 5
br i1 %82, label %83, label %93
83: ; preds = %80
%84 = load i32, i32* %5
%85 = sext i32 %84 to i64
%86 = getelementptr inbounds [5 x i32], [5 x i32]* %4, i64 0, i64 %85
%87 = load i32, i32* %86
%88 = getelementptr inbounds [5 x i8], [5 x i8]* %3, i64 0, i64 0
%89 = call i32 @read(i32 %87, i8* %88, i32 5)
br label %90
90: ; preds = %83
%91 = load i32, i32* %6
%92 = add nsw i32 %91, 1
store i32 %92, i32* %6
br label %80
93: ; preds = %80
br label %94
94: ; preds = %93
%95 = load i32, i32* %5
%96 = add nsw i32 %95, 1
store i32 %96, i32* %5
br label %76
97: ; preds = %76
store i32 4, i32* %5
br label %98
98: ; preds = %107, %97
%99 = load i32, i32* %5
%100 = icmp sge i32 %99, 0
br i1 %100, label %101, label %110
101: ; preds = %98
%102 = load i32, i32* %5
%103 = sext i32 %102 to i64
%104 = getelementptr inbounds [5 x i32], [5 x i32]* %4, i64 0, i64 %103
%105 = load i32, i32* %104
%106 = call i32 @close(i32 %105)
br label %107
107: ; preds = %101
%108 = load i32, i32* %5
%109 = add nsw i32 %108, -1
store i32 %109, i32* %5
br label %98
110: ; preds = %98
%111 = load i32, i32* @EXIT_SUCCESS
ret i32 %111
}

LLVM IR (-O2):
@.str = [7 x i8] c"eeeeee\00"
@S_IRUSR = global i32 0
@S_IWUSR = global i32 0
@S_IRGRP = global i32 0
@S_IWGRP = global i32 0
@S_IROTH = global i32 0
@S_IWOTH = global i32 0
@.str.1 = [14 x i8] c"./datafile_%d\00"
@O_RDWR = global i32 0
@O_CREAT = global i32 0
@SEEK_CUR = global i32 0
@EXIT_SUCCESS = global i32 0
define i32 @posix_io() {
%1 = alloca [64 x i8]
%2 = alloca [5 x i8]
%3 = getelementptr inbounds [64 x i8], [64 x i8]* %1, i64 0, i64 0
%4 = getelementptr inbounds [5 x i8], [5 x i8]* %2, i64 0, i64 0
%5 = load i32, i32* @S_IRUSR
%6 = load i32, i32* @S_IWUSR
%7 = or i32 %6, %5
%8 = load i32, i32* @S_IRGRP
%9 = or i32 %7, %8
%10 = load i32, i32* @S_IWGRP
%11 = or i32 %9, %10
%12 = load i32, i32* @S_IROTH
%13 = or i32 %11, %12
%14 = load i32, i32* @S_IWOTH
%15 = or i32 %13, %14
%16 = call i32 @sprintf(i8* %3, i8* dereferenceable(1) getelementptr inbounds ([14 x i8], [14 x i8]* @.str.1, i64 0, i64 0), i32 0)
%17 = load i32, i32* @O_RDWR
%18 = load i32, i32* @O_CREAT
%19 = or i32 %18, %17
%20 = call i32 @open(i8* %3, i32 %19, i32 %15)
%21 = call i32 @sprintf(i8* %3, i8* dereferenceable(1) getelementptr inbounds ([14 x i8], [14 x i8]* @.str.1, i64 0, i64 0), i32 1)
%22 = load i32, i32* @O_RDWR
%23 = load i32, i32* @O_CREAT
%24 = or i32 %23, %22
%25 = call i32 @open(i8* %3, i32 %24, i32 %15)
%26 = call i32 @sprintf(i8* %3, i8* dereferenceable(1) getelementptr inbounds ([14 x i8], [14 x i8]* @.str.1, i64 0, i64 0), i32 2)
%27 = load i32, i32* @O_RDWR
%28 = load i32, i32* @O_CREAT
%29 = or i32 %28, %27
%30 = call i32 @open(i8* %3, i32 %29, i32 %15)
%31 = call i32 @sprintf(i8* %3, i8* dereferenceable(1) getelementptr inbounds ([14 x i8], [14 x i8]* @.str.1, i64 0, i64 0), i32 3)
%32 = load i32, i32* @O_RDWR
%33 = load i32, i32* @O_CREAT
%34 = or i32 %33, %32
%35 = call i32 @open(i8* %3, i32 %34, i32 %15)
%36 = call i32 @sprintf(i8* %3, i8* dereferenceable(1) getelementptr inbounds ([14 x i8], [14 x i8]* @.str.1, i64 0, i64 0), i32 4)
%37 = load i32, i32* @O_RDWR
%38 = load i32, i32* @O_CREAT
%39 = or i32 %38, %37
%40 = call i32 @open(i8* %3, i32 %39, i32 %15)
%41 = tail call i32 @write(i32 %20, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str, i64 0, i64 0), i32 5)
%42 = tail call i32 @write(i32 %20, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str, i64 0, i64 0), i32 5)
%43 = tail call i32 @write(i32 %20, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str, i64 0, i64 0), i32 5)
%44 = tail call i32 @write(i32 %20, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str, i64 0, i64 0), i32 5)
%45 = tail call i32 @write(i32 %20, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str, i64 0, i64 0), i32 5)
%46 = tail call i32 @write(i32 %25, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str, i64 0, i64 0), i32 5)
%47 = tail call i32 @write(i32 %25, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str, i64 0, i64 0), i32 5)
%48 = tail call i32 @write(i32 %25, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str, i64 0, i64 0), i32 5)
%49 = tail call i32 @write(i32 %25, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str, i64 0, i64 0), i32 5)
%50 = tail call i32 @write(i32 %25, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str, i64 0, i64 0), i32 5)
%51 = tail call i32 @write(i32 %30, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str, i64 0, i64 0), i32 5)
%52 = tail call i32 @write(i32 %30, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str, i64 0, i64 0), i32 5)
%53 = tail call i32 @write(i32 %30, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str, i64 0, i64 0), i32 5)
%54 = tail call i32 @write(i32 %30, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str, i64 0, i64 0), i32 5)
%55 = tail call i32 @write(i32 %30, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str, i64 0, i64 0), i32 5)
%56 = tail call i32 @write(i32 %35, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str, i64 0, i64 0), i32 5)
%57 = tail call i32 @write(i32 %35, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str, i64 0, i64 0), i32 5)
%58 = tail call i32 @write(i32 %35, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str, i64 0, i64 0), i32 5)
%59 = tail call i32 @write(i32 %35, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str, i64 0, i64 0), i32 5)
%60 = tail call i32 @write(i32 %35, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str, i64 0, i64 0), i32 5)
%61 = tail call i32 @write(i32 %40, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str, i64 0, i64 0), i32 5)
%62 = tail call i32 @write(i32 %40, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str, i64 0, i64 0), i32 5)
%63 = tail call i32 @write(i32 %40, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str, i64 0, i64 0), i32 5)
%64 = tail call i32 @write(i32 %40, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str, i64 0, i64 0), i32 5)
%65 = tail call i32 @write(i32 %40, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str, i64 0, i64 0), i32 5)
%66 = load i32, i32* @SEEK_CUR
%67 = tail call i32 @lseek(i32 %20, i32 -25, i32 %66)
%68 = load i32, i32* @SEEK_CUR
%69 = tail call i32 @lseek(i32 %25, i32 -25, i32 %68)
%70 = load i32, i32* @SEEK_CUR
%71 = tail call i32 @lseek(i32 %30, i32 -25, i32 %70)
%72 = load i32, i32* @SEEK_CUR
%73 = tail call i32 @lseek(i32 %35, i32 -25, i32 %72)
%74 = load i32, i32* @SEEK_CUR
%75 = tail call i32 @lseek(i32 %40, i32 -25, i32 %74)
%76 = call i32 @read(i32 %20, i8* %4, i32 5)
%77 = call i32 @read(i32 %20, i8* %4, i32 5)
%78 = call i32 @read(i32 %20, i8* %4, i32 5)
%79 = call i32 @read(i32 %20, i8* %4, i32 5)
%80 = call i32 @read(i32 %20, i8* %4, i32 5)
%81 = call i32 @read(i32 %25, i8* %4, i32 5)
%82 = call i32 @read(i32 %25, i8* %4, i32 5)
%83 = call i32 @read(i32 %25, i8* %4, i32 5)
%84 = call i32 @read(i32 %25, i8* %4, i32 5)
%85 = call i32 @read(i32 %25, i8* %4, i32 5)
%86 = call i32 @read(i32 %30, i8* %4, i32 5)
%87 = call i32 @read(i32 %30, i8* %4, i32 5)
%88 = call i32 @read(i32 %30, i8* %4, i32 5)
%89 = call i32 @read(i32 %30, i8* %4, i32 5)
%90 = call i32 @read(i32 %30, i8* %4, i32 5)
%91 = call i32 @read(i32 %35, i8* %4, i32 5)
%92 = call i32 @read(i32 %35, i8* %4, i32 5)
%93 = call i32 @read(i32 %35, i8* %4, i32 5)
%94 = call i32 @read(i32 %35, i8* %4, i32 5)
%95 = call i32 @read(i32 %35, i8* %4, i32 5)
%96 = call i32 @read(i32 %40, i8* %4, i32 5)
%97 = call i32 @read(i32 %40, i8* %4, i32 5)
%98 = call i32 @read(i32 %40, i8* %4, i32 5)
%99 = call i32 @read(i32 %40, i8* %4, i32 5)
%100 = call i32 @read(i32 %40, i8* %4, i32 5)
%101 = tail call i32 @close(i32 %40)
%102 = tail call i32 @close(i32 %35)
%103 = tail call i32 @close(i32 %30)
%104 = tail call i32 @close(i32 %25)
%105 = tail call i32 @close(i32 %20)
%106 = load i32, i32* @EXIT_SUCCESS
ret i32 %106
}