#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_FAILURE;
int /*<<< orphan*/ EXIT_SUCCESS;
int /*<<< orphan*/ exit(int /*<<< orphan*/);
int /*<<< orphan*/ fclose(int /*<<< orphan*/ *);
int /*<<< orphan*/ *fopen(char *, char *);
int /*<<< orphan*/ fprintf(int /*<<< orphan*/, char *, char *);
int fwrite(char *, int, int, int /*<<< orphan*/ *);
char *malloc(int);
int /*<<< orphan*/ perror(char *);
int sscanf(char *, char *, int *);
int /*<<< orphan*/ stderr;
int main(int argc, char *argv[]) {
  int i;
  FILE *fp;
  int taille_bloc;
  int nb_blocs;
  char *buffer;
  if ((argc != 4) || ((fp = fopen(argv[1], "w")) < 0) ||
      (sscanf(argv[2], "%d", &taille_bloc) != 1) ||
      (sscanf(argv[3], "%d", &nb_blocs) != 1)) {
    fprintf(stderr, "usage: %s <fichier> <taille_bloc> <nb_blocs>\n", argv[0]);
    exit(EXIT_FAILURE);
  }
  if ((buffer = malloc(taille_bloc)) == NULL) {
    perror("malloc");
    exit(EXIT_FAILURE);
  }
  for (i = 0; i < taille_bloc; i++)
    buffer[i] = i % 255;
  for (i = 0; i < nb_blocs; i++)
    if (fwrite(buffer, taille_bloc, 1, fp) != 1) {
      perror("write");
      exit(EXIT_FAILURE);
    }
  fclose(fp);
  exit(EXIT_SUCCESS);
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x30,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
cmpl   $0x4,-0x8(%rbp)
jne    1204 <main+0x84>
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rdi
lea    0xe51(%rip),%rsi
call   1070 <fopen@plt>
mov    %rax,-0x20(%rbp)
cmp    $0x0,%rax
jb     1204 <main+0x84>
mov    -0x10(%rbp),%rax
mov    0x10(%rax),%rdi
lea    0xe31(%rip),%rsi
lea    -0x24(%rbp),%rdx
call   1060 <sscanf@plt>
cmp    $0x1,%eax
jne    1204 <main+0x84>
mov    -0x10(%rbp),%rax
mov    0x18(%rax),%rdi
lea    0xe10(%rip),%rsi
lea    -0x28(%rbp),%rdx
call   1060 <sscanf@plt>
cmp    $0x1,%eax
je     122e <main+0xae>
mov    0x2dd5(%rip),%rax
mov    (%rax),%edi
mov    -0x10(%rbp),%rax
mov    (%rax),%rdx
lea    0xdea(%rip),%rsi
call   1040 <fprintf@plt>
mov    0x2db1(%rip),%rax
mov    (%rax),%edi
call   1090 <exit@plt>
mov    -0x24(%rbp),%edi
call   1050 <malloc@plt>
mov    %rax,-0x30(%rbp)
cmp    $0x0,%rax
jne    125e <main+0xde>
lea    0xde8(%rip),%rdi
call   1080 <perror@plt>
mov    0x2d81(%rip),%rax
mov    (%rax),%edi
call   1090 <exit@plt>
movl   $0x0,-0x14(%rbp)
mov    -0x14(%rbp),%eax
cmp    -0x24(%rbp),%eax
jge    1295 <main+0x115>
mov    -0x14(%rbp),%eax
mov    $0xff,%ecx
cltd
idiv   %ecx
mov    -0x30(%rbp),%rax
movslq -0x14(%rbp),%rcx
mov    %dl,(%rax,%rcx,1)
mov    -0x14(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x14(%rbp)
jmp    1265 <main+0xe5>
movl   $0x0,-0x14(%rbp)
mov    -0x14(%rbp),%eax
cmp    -0x28(%rbp),%eax
jge    12f3 <main+0x173>
mov    -0x30(%rbp),%rdi
mov    -0x24(%rbp),%esi
mov    -0x20(%rbp),%rcx
mov    $0x1,%edx
call   10a0 <fwrite@plt>
cmp    $0x1,%eax
je     12e0 <main+0x160>
lea    0xd6d(%rip),%rdi
call   1080 <perror@plt>
mov    0x2cff(%rip),%rax
mov    (%rax),%edi
call   1090 <exit@plt>
jmp    12e5 <main+0x165>
mov    -0x14(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x14(%rbp)
jmp    129c <main+0x11c>
mov    -0x20(%rbp),%rdi
call   1030 <fclose@plt>
mov    0x2ccd(%rip),%rax
mov    (%rax),%edi
call   1090 <exit@plt>

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %rbx
push   %rax
mov    %rsi,%rbx
cmp    $0x4,%edi
jne    11f2 <main+0x72>
mov    0x8(%rbx),%rdi
lea    0xee6(%rip),%rsi
call   1070 <fopen@plt>
mov    %rax,%r14
mov    0x10(%rbx),%rdi
lea    0xed5(%rip),%rsi
lea    0x4(%rsp),%rdx
call   1060 <sscanf@plt>
cmp    $0x1,%eax
jne    11f2 <main+0x72>
mov    0x18(%rbx),%rdi
lea    0xebb(%rip),%rsi
mov    %rsp,%rdx
call   1060 <sscanf@plt>
cmp    $0x1,%eax
jne    11f2 <main+0x72>
mov    0x4(%rsp),%r15d
mov    %r15d,%edi
call   1050 <malloc@plt>
test   %rax,%rax
jne    1218 <main+0x98>
lea    0xec6(%rip),%rdi
jmp    1638 <main+0x4b8>
mov    0x2de7(%rip),%rax
mov    (%rax),%edi
mov    (%rbx),%rdx
lea    0xe80(%rip),%rsi
call   1040 <fprintf@plt>
mov    0x2dc7(%rip),%rax
mov    (%rax),%edi
call   1090 <exit@plt>
mov    %rax,%rbx
test   %r15d,%r15d
jle    15ed <main+0x46d>
cmp    $0x10,%r15d
jae    1231 <main+0xb1>
xor    %eax,%eax
jmp    15c6 <main+0x446>
mov    %r15d,%eax
and    $0xfffffff0,%eax
lea    -0x10(%rax),%rdx
mov    %rdx,%rcx
shr    $0x4,%rcx
add    $0x1,%rcx
test   %rdx,%rdx
jne    125a <main+0xda>
movdqa 0xdad(%rip),%xmm2
xor    %edx,%edx
jmp    15b7 <main+0x437>
mov    %rcx,%rsi
and    $0xfffffffffffffffe,%rsi
movdqa 0xda7(%rip),%xmm1
movdqa 0xdaf(%rip),%xmm0
movdqa 0xdb6(%rip),%xmm11
movdqa 0xdbd(%rip),%xmm12
xor    %edx,%edx
movdqa 0xdc2(%rip),%xmm10
movdqa 0xdc9(%rip),%xmm8
movdqa 0xdd0(%rip),%xmm9
movdqa %xmm0,%xmm2
pmuludq %xmm10,%xmm2
pshufd $0xed,%xmm2,%xmm7
pshufd $0xf5,%xmm0,%xmm2
pmuludq %xmm10,%xmm2
pshufd $0xed,%xmm2,%xmm2
punpckldq %xmm2,%xmm7
psrld  $0x7,%xmm7
movdqa %xmm7,%xmm2
pslld  $0x8,%xmm2
psubd  %xmm2,%xmm7
paddd  %xmm0,%xmm7
movdqa %xmm1,%xmm2
pmuludq %xmm10,%xmm2
pshufd $0xed,%xmm2,%xmm2
pshufd $0xf5,%xmm1,%xmm3
pmuludq %xmm10,%xmm3
pshufd $0xed,%xmm3,%xmm3
punpckldq %xmm3,%xmm2
psrld  $0x7,%xmm2
movdqa %xmm2,%xmm3
pslld  $0x8,%xmm3
psubd  %xmm3,%xmm2
paddd  %xmm1,%xmm2
packuswb %xmm2,%xmm7
movdqa %xmm12,%xmm2
pmuludq %xmm10,%xmm2
pshufd $0xed,%xmm2,%xmm2
pshufd $0xf5,%xmm12,%xmm3
pmuludq %xmm10,%xmm3
pshufd $0xed,%xmm3,%xmm3
punpckldq %xmm3,%xmm2
psrld  $0x7,%xmm2
movdqa %xmm2,%xmm3
pslld  $0x8,%xmm3
psubd  %xmm3,%xmm2
paddd  %xmm12,%xmm2
movdqa %xmm11,%xmm3
pmuludq %xmm10,%xmm3
pshufd $0xed,%xmm3,%xmm3
pshufd $0xf5,%xmm11,%xmm5
pmuludq %xmm10,%xmm5
pshufd $0xed,%xmm5,%xmm5
punpckldq %xmm5,%xmm3
psrld  $0x7,%xmm3
movdqa %xmm3,%xmm5
pslld  $0x8,%xmm5
psubd  %xmm5,%xmm3
paddd  %xmm11,%xmm3
packuswb %xmm3,%xmm2
packuswb %xmm7,%xmm2
movdqu %xmm2,(%rbx,%rdx,1)
movdqa %xmm11,%xmm7
paddd  %xmm8,%xmm7
movdqa %xmm12,%xmm2
paddd  %xmm8,%xmm2
movdqa %xmm1,%xmm3
paddd  %xmm8,%xmm3
movdqa %xmm0,%xmm4
paddd  %xmm8,%xmm4
movdqa %xmm4,%xmm5
pmuludq %xmm10,%xmm5
pshufd $0xed,%xmm5,%xmm5
pshufd $0xf5,%xmm4,%xmm6
pmuludq %xmm10,%xmm6
pshufd $0xed,%xmm6,%xmm6
punpckldq %xmm6,%xmm5
psrld  $0x7,%xmm5
movdqa %xmm5,%xmm6
pslld  $0x8,%xmm6
psubd  %xmm6,%xmm5
paddd  %xmm4,%xmm5
movdqa %xmm3,%xmm4
pmuludq %xmm10,%xmm4
pshufd $0xed,%xmm4,%xmm4
pshufd $0xf5,%xmm3,%xmm6
pmuludq %xmm10,%xmm6
pshufd $0xed,%xmm6,%xmm6
punpckldq %xmm6,%xmm4
psrld  $0x7,%xmm4
movdqa %xmm4,%xmm6
pslld  $0x8,%xmm6
psubd  %xmm6,%xmm4
paddd  %xmm3,%xmm4
packuswb %xmm4,%xmm5
movdqa %xmm2,%xmm3
pmuludq %xmm10,%xmm3
pshufd $0xed,%xmm3,%xmm3
pshufd $0xf5,%xmm2,%xmm4
pmuludq %xmm10,%xmm4
pshufd $0xed,%xmm4,%xmm4
punpckldq %xmm4,%xmm3
psrld  $0x7,%xmm3
movdqa %xmm3,%xmm4
pslld  $0x8,%xmm4
psubd  %xmm4,%xmm3
paddd  %xmm2,%xmm3
movdqa %xmm7,%xmm2
pmuludq %xmm10,%xmm2
pshufd $0xed,%xmm2,%xmm2
pshufd $0xf5,%xmm7,%xmm4
pmuludq %xmm10,%xmm4
pshufd $0xed,%xmm4,%xmm4
punpckldq %xmm4,%xmm2
psrld  $0x7,%xmm2
movdqa %xmm2,%xmm4
pslld  $0x8,%xmm4
psubd  %xmm4,%xmm2
paddd  %xmm7,%xmm2
packuswb %xmm2,%xmm3
packuswb %xmm5,%xmm3
movdqu %xmm3,0x10(%rbx,%rdx,1)
add    $0x20,%rdx
paddd  %xmm9,%xmm12
paddd  %xmm9,%xmm11
paddd  %xmm9,%xmm0
paddd  %xmm9,%xmm1
add    $0xfffffffffffffffe,%rsi
jne    12a0 <main+0x120>
movdqa %xmm0,%xmm2
pmuludq %xmm10,%xmm2
pshufd $0xed,%xmm2,%xmm5
pshufd $0xf5,%xmm0,%xmm2
pmuludq %xmm10,%xmm2
pshufd $0xed,%xmm2,%xmm2
punpckldq %xmm2,%xmm5
psrld  $0x7,%xmm5
movdqa %xmm5,%xmm2
pslld  $0x8,%xmm2
psubd  %xmm2,%xmm5
paddd  %xmm0,%xmm5
movdqa %xmm1,%xmm0
pmuludq %xmm10,%xmm0
pshufd $0xed,%xmm0,%xmm0
pshufd $0xf5,%xmm1,%xmm2
pmuludq %xmm10,%xmm2
pshufd $0xed,%xmm2,%xmm2
punpckldq %xmm2,%xmm0
psrld  $0x7,%xmm0
movdqa %xmm0,%xmm2
pslld  $0x8,%xmm2
psubd  %xmm2,%xmm0
paddd  %xmm1,%xmm0
packuswb %xmm0,%xmm5
movdqa %xmm12,%xmm0
pmuludq %xmm10,%xmm0
pshufd $0xed,%xmm0,%xmm2
pshufd $0xf5,%xmm12,%xmm0
pmuludq %xmm10,%xmm0
pshufd $0xed,%xmm0,%xmm0
punpckldq %xmm0,%xmm2
psrld  $0x7,%xmm2
movdqa %xmm2,%xmm0
pslld  $0x8,%xmm0
psubd  %xmm0,%xmm2
paddd  %xmm12,%xmm2
movdqa %xmm11,%xmm0
pmuludq %xmm10,%xmm0
pshufd $0xed,%xmm0,%xmm0
pshufd $0xf5,%xmm11,%xmm1
pmuludq %xmm10,%xmm1
pshufd $0xed,%xmm1,%xmm1
punpckldq %xmm1,%xmm0
psrld  $0x7,%xmm0
movdqa %xmm0,%xmm1
pslld  $0x8,%xmm1
psubd  %xmm1,%xmm0
paddd  %xmm11,%xmm0
packuswb %xmm0,%xmm2
packuswb %xmm5,%xmm2
test   $0x1,%cl
je     15c1 <main+0x441>
movdqu %xmm2,(%rbx,%rdx,1)
cmp    %r15,%rax
je     15ed <main+0x46d>
mov    $0x80808081,%ecx
mov    %rax,%rdx
xchg   %ax,%ax
mov    %eax,%esi
imul   %rcx,%rsi
shr    $0x27,%rsi
add    %al,%sil
mov    %sil,(%rbx,%rdx,1)
add    $0x1,%rdx
add    $0x1,%eax
cmp    %rdx,%r15
jne    15d0 <main+0x450>
cmpl   $0x0,(%rsp)
jle    1642 <main+0x4c2>
mov    %rbx,%rdi
mov    %r15d,%esi
mov    $0x1,%edx
mov    %r14,%rcx
call   10a0 <fwrite@plt>
cmp    $0x1,%eax
jne    1631 <main+0x4b1>
xor    %ebp,%ebp
nopl   (%rax)
add    $0x1,%ebp
cmp    (%rsp),%ebp
jge    1642 <main+0x4c2>
mov    0x4(%rsp),%esi
mov    %rbx,%rdi
mov    $0x1,%edx
mov    %r14,%rcx
call   10a0 <fwrite@plt>
cmp    $0x1,%eax
je     1610 <main+0x490>
lea    0xa82(%rip),%rdi
call   1080 <perror@plt>
jmp    120a <main+0x8a>
mov    %r14,%rdi
call   1030 <fclose@plt>
mov    0x297f(%rip),%rax
mov    (%rax),%edi
call   1090 <exit@plt>

LLVM IR (-O0):
@.str = [2 x i8] c"w\00"
@.str.1 = [3 x i8] c"%d\00"
@stderr = global i32 0
@.str.2 = [46 x i8] c"usage: %s <fichier> <taille_bloc> <nb_blocs>\0A\00"
@EXIT_FAILURE = global i32 0
@.str.3 = [7 x i8] c"malloc\00"
@.str.4 = [6 x i8] c"write\00"
@EXIT_SUCCESS = global i32 0
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca i8**
%6 = alloca i32
%7 = alloca i32*
%8 = alloca i32
%9 = alloca i32
%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 %31, label %13
13: ; preds = %2
%14 = load i8**, i8*** %5
%15 = getelementptr inbounds i8*, i8** %14, i64 1
%16 = load i8*, i8** %15
%17 = call i32* @fopen(i8* %16, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0))
store i32* %17, i32** %7
%18 = icmp ult i32* %17, null
br i1 %18, label %31, label %19
19: ; preds = %13
%20 = load i8**, i8*** %5
%21 = getelementptr inbounds i8*, i8** %20, i64 2
%22 = load i8*, i8** %21
%23 = call i32 @sscanf(i8* %22, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %8)
%24 = icmp ne i32 %23, 1
br i1 %24, label %31, label %25
25: ; preds = %19
%26 = load i8**, i8*** %5
%27 = getelementptr inbounds i8*, i8** %26, i64 3
%28 = load i8*, i8** %27
%29 = call i32 @sscanf(i8* %28, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %9)
%30 = icmp ne i32 %29, 1
br i1 %30, label %31, label %39
31: ; preds = %25, %19, %13, %2
%32 = load i32, i32* @stderr
%33 = load i8**, i8*** %5
%34 = getelementptr inbounds i8*, i8** %33, i64 0
%35 = load i8*, i8** %34
%36 = call i32 @fprintf(i32 %32, i8* getelementptr inbounds ([46 x i8], [46 x i8]* @.str.2, i64 0, i64 0), i8* %35)
%37 = load i32, i32* @EXIT_FAILURE
%38 = call i32 @exit(i32 %37)
unreachable
39: ; preds = %25
%40 = load i32, i32* %8
%41 = call i8* @malloc(i32 %40)
store i8* %41, i8** %10
%42 = icmp eq i8* %41, null
br i1 %42, label %43, label %47
43: ; preds = %39
%44 = call i32 @perror(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.3, i64 0, i64 0))
%45 = load i32, i32* @EXIT_FAILURE
%46 = call i32 @exit(i32 %45)
unreachable
47: ; preds = %39
store i32 0, i32* %6
br label %48
48: ; preds = %60, %47
%49 = load i32, i32* %6
%50 = load i32, i32* %8
%51 = icmp slt i32 %49, %50
br i1 %51, label %52, label %63
52: ; preds = %48
%53 = load i32, i32* %6
%54 = srem i32 %53, 255
%55 = trunc i32 %54 to i8
%56 = load i8*, i8** %10
%57 = load i32, i32* %6
%58 = sext i32 %57 to i64
%59 = getelementptr inbounds i8, i8* %56, i64 %58
store i8 %55, i8* %59
br label %60
60: ; preds = %52
%61 = load i32, i32* %6
%62 = add nsw i32 %61, 1
store i32 %62, i32* %6
br label %48
63: ; preds = %48
store i32 0, i32* %6
br label %64
64: ; preds = %79, %63
%65 = load i32, i32* %6
%66 = load i32, i32* %9
%67 = icmp slt i32 %65, %66
br i1 %67, label %68, label %82
68: ; preds = %64
%69 = load i8*, i8** %10
%70 = load i32, i32* %8
%71 = load i32*, i32** %7
%72 = call i32 @fwrite(i8* %69, i32 %70, i32 1, i32* %71)
%73 = icmp ne i32 %72, 1
br i1 %73, label %74, label %78
74: ; preds = %68
%75 = call i32 @perror(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.4, i64 0, i64 0))
%76 = load i32, i32* @EXIT_FAILURE
%77 = call i32 @exit(i32 %76)
unreachable
78: ; preds = %68
br label %79
79: ; preds = %78
%80 = load i32, i32* %6
%81 = add nsw i32 %80, 1
store i32 %81, i32* %6
br label %64
82: ; preds = %64
%83 = load i32*, i32** %7
%84 = call i32 @fclose(i32* %83)
%85 = load i32, i32* @EXIT_SUCCESS
%86 = call i32 @exit(i32 %85)
unreachable
}

LLVM IR (-O2):
@.str = [2 x i8] c"w\00"
@.str.1 = [3 x i8] c"%d\00"
@stderr = global i32 0
@.str.2 = [46 x i8] c"usage: %s <fichier> <taille_bloc> <nb_blocs>\0A\00"
@EXIT_FAILURE = global i32 0
@.str.3 = [7 x i8] c"malloc\00"
@.str.4 = [6 x i8] c"write\00"
@EXIT_SUCCESS = global i32 0
define i32 @main(i32 %0, i8** nocapture %1) {
%3 = alloca i32
%4 = alloca i32
%5 = bitcast i32* %3 to i8*
%6 = bitcast i32* %4 to i8*
%7 = icmp eq i32 %0, 4
br i1 %7, label %8, label %21
8: ; preds = %2
%9 = getelementptr inbounds i8*, i8** %1, i64 1
%10 = load i8*, i8** %9
%11 = tail call i32* @fopen(i8* %10, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0))
%12 = getelementptr inbounds i8*, i8** %1, i64 2
%13 = load i8*, i8** %12
%14 = call i32 @sscanf(i8* %13, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %3)
%15 = icmp eq i32 %14, 1
br i1 %15, label %16, label %21
16: ; preds = %8
%17 = getelementptr inbounds i8*, i8** %1, i64 3
%18 = load i8*, i8** %17
%19 = call i32 @sscanf(i8* %18, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %4)
%20 = icmp eq i32 %19, 1
br i1 %20, label %27, label %21
21: ; preds = %16, %8, %2
%22 = load i32, i32* @stderr
%23 = load i8*, i8** %1
%24 = call i32 @fprintf(i32 %22, i8* getelementptr inbounds ([46 x i8], [46 x i8]* @.str.2, i64 0, i64 0), i8* %23)
%25 = load i32, i32* @EXIT_FAILURE
%26 = call i32 @exit(i32 %25)
unreachable
27: ; preds = %16
%28 = load i32, i32* %3
%29 = call i8* @malloc(i32 %28)
%30 = icmp eq i8* %29, null
br i1 %30, label %77, label %31
31: ; preds = %27
%32 = icmp sgt i32 %28, 0
br i1 %32, label %33, label %81
33: ; preds = %31
%34 = zext i32 %28 to i64
%35 = icmp ult i32 %28, 16
br i1 %35, label %75, label %36
36: ; preds = %33
%37 = and i64 %34, 4294967280
%38 = add nsw i64 %37, -16
%39 = lshr exact i64 %38, 4
%40 = add nuw nsw i64 %39, 1
%41 = and i64 %40, 1
%42 = icmp eq i64 %38, 0
br i1 %42, label %66, label %43
43: ; preds = %36
%44 = and i64 %40, 2305843009213693950
br label %45
45: ; preds = %45, %43
%46 = phi i64 [ 0, %43 ], [ %59, %45 ]
%47 = phi <16 x i32> [ <i32 0, i32 1, i32 2, i32 3, i32 4, i32 5, i32 6, i32 7, i32 8, i32 9, i32 10, i32 11, i32 12, i32 13, i32 14, i32 15>, %43 ], [ %60, %45 ]
%48 = phi i64 [ 0, %43 ], [ %61, %45 ]
%49 = urem <16 x i32> %47, <i32 255, i32 255, i32 255, i32 255, i32 255, i32 255, i32 255, i32 255, i32 255, i32 255, i32 255, i32 255, i32 255, i32 255, i32 255, i32 255>
%50 = trunc <16 x i32> %49 to <16 x i8>
%51 = getelementptr inbounds i8, i8* %29, i64 %46
%52 = bitcast i8* %51 to <16 x i8>*
store <16 x i8> %50, <16 x i8>* %52
%53 = or i64 %46, 16
%54 = add <16 x i32> %47, <i32 16, i32 16, i32 16, i32 16, i32 16, i32 16, i32 16, i32 16, i32 16, i32 16, i32 16, i32 16, i32 16, i32 16, i32 16, i32 16>
%55 = urem <16 x i32> %54, <i32 255, i32 255, i32 255, i32 255, i32 255, i32 255, i32 255, i32 255, i32 255, i32 255, i32 255, i32 255, i32 255, i32 255, i32 255, i32 255>
%56 = trunc <16 x i32> %55 to <16 x i8>
%57 = getelementptr inbounds i8, i8* %29, i64 %53
%58 = bitcast i8* %57 to <16 x i8>*
store <16 x i8> %56, <16 x i8>* %58
%59 = add nuw i64 %46, 32
%60 = add <16 x i32> %47, <i32 32, i32 32, i32 32, i32 32, i32 32, i32 32, i32 32, i32 32, i32 32, i32 32, i32 32, i32 32, i32 32, i32 32, i32 32, i32 32>
%61 = add i64 %48, 2
%62 = icmp eq i64 %61, %44
br i1 %62, label %63, label %45
63: ; preds = %45
%64 = urem <16 x i32> %60, <i32 255, i32 255, i32 255, i32 255, i32 255, i32 255, i32 255, i32 255, i32 255, i32 255, i32 255, i32 255, i32 255, i32 255, i32 255, i32 255>
%65 = trunc <16 x i32> %64 to <16 x i8>
br label %66
66: ; preds = %63, %36
%67 = phi i64 [ 0, %36 ], [ %59, %63 ]
%68 = phi <16 x i8> [ <i8 0, i8 1, i8 2, i8 3, i8 4, i8 5, i8 6, i8 7, i8 8, i8 9, i8 10, i8 11, i8 12, i8 13, i8 14, i8 15>, %36 ], [ %65, %63 ]
%69 = icmp eq i64 %41, 0
br i1 %69, label %73, label %70
70: ; preds = %66
%71 = getelementptr inbounds i8, i8* %29, i64 %67
%72 = bitcast i8* %71 to <16 x i8>*
store <16 x i8> %68, <16 x i8>* %72
br label %73
73: ; preds = %66, %70
%74 = icmp eq i64 %37, %34
br i1 %74, label %81, label %75
75: ; preds = %33, %73
%76 = phi i64 [ 0, %33 ], [ %37, %73 ]
br label %87
77: ; preds = %27
%78 = call i32 @perror(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.3, i64 0, i64 0))
%79 = load i32, i32* @EXIT_FAILURE
%80 = call i32 @exit(i32 %79)
unreachable
81: ; preds = %87, %73, %31
%82 = load i32, i32* %4
%83 = icmp sgt i32 %82, 0
br i1 %83, label %84, label %108
84: ; preds = %81
%85 = call i32 @fwrite(i8* %29, i32 %28, i32 1, i32* %11)
%86 = icmp eq i32 %85, 1
br i1 %86, label %95, label %104
87: ; preds = %75, %87
%88 = phi i64 [ %93, %87 ], [ %76, %75 ]
%89 = trunc i64 %88 to i32
%90 = urem i32 %89, 255
%91 = trunc i32 %90 to i8
%92 = getelementptr inbounds i8, i8* %29, i64 %88
store i8 %91, i8* %92
%93 = add nuw nsw i64 %88, 1
%94 = icmp eq i64 %93, %34
br i1 %94, label %81, label %87
95: ; preds = %84, %99
%96 = phi i32 [ %103, %99 ], [ 1, %84 ]
%97 = load i32, i32* %4
%98 = icmp slt i32 %96, %97
br i1 %98, label %99, label %108
99: ; preds = %95
%100 = load i32, i32* %3
%101 = call i32 @fwrite(i8* %29, i32 %100, i32 1, i32* %11)
%102 = icmp eq i32 %101, 1
%103 = add nuw nsw i32 %96, 1
br i1 %102, label %95, label %104
104: ; preds = %99, %84
%105 = call i32 @perror(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.4, i64 0, i64 0))
%106 = load i32, i32* @EXIT_FAILURE
%107 = call i32 @exit(i32 %106)
unreachable
108: ; preds = %95, %81
%109 = call i32 @fclose(i32* %11)
%110 = load i32, i32* @EXIT_SUCCESS
%111 = call i32 @exit(i32 %110)
unreachable
}