#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 */
char EOF;
int /*<<< orphan*/ exit(int);
char *next_token(char *, int, int /*<<< orphan*/);
int /*<<< orphan*/ printf(char *, char *, int);
char *strtok(char *, char *);
int /*<<< orphan*/ test_column(char *, int /*<<< orphan*/ *, int, int, int,
                               char *);
int /*<<< orphan*/ test_token_ped(char, int, int, char *);
void fill_line_ped(int *data, char *szbuff, int M, int i, char *input_file,
                   FILE *File, char *ref) {
  char *token1, *token2;
  int tmp;
  int j;
  token1 = strtok(szbuff, " \t\n");
  if (!token1) {
    printf("Error while reading individual informations of %s file"
           " at line %d.\n\n",
           input_file, i + 1);
    exit(1);
  }
  for (j = 0; j < 5; j++)
    token1 = next_token(input_file, i + 1, 0);
  j = 0;
  token1 = strtok(NULL, " \t\n");
  token2 = strtok(NULL, " \t\n");
  while (token1 && token2 && token1[0] != EOF && token2[0] != EOF &&
         token1[0] != 10 && token2[0] != 10 && j < M) {
    test_token_ped(token1[0], j + 1, i + 1, input_file);
    test_token_ped(token2[0], j + 1, i + 1, input_file);
    tmp = 0;
    if (ref[j] == '0') {
      if (token1[0] == '0' && token2[0] == '0') {
        tmp = 9;
      } else if (token2[0] != '0' && token1[0] == '0') {
        ref[j] = token2[0];
        tmp = 9;
      } else if (token1[0] != '0' && token2[0] == '0') {
        ref[j] = token1[0];
        tmp = 9;
      } else {
        ref[j] = token2[0];
        tmp = 1;
        if (token1[0] == ref[j])
          tmp++;
      }
    } else {
      if (token1[0] == '0' || token2[0] == '0')
        tmp = 9;
      else {
        if (token1[0] == ref[j])
          tmp++;
        if (token2[0] == ref[j])
          tmp++;
      }
    }
    data[i * M + j] = tmp;
    token1 = strtok(NULL, " \t\n");
    token2 = strtok(NULL, " \t\n");
    j++;
  }
  test_column(input_file, File, j, i + 1, M, token1);
}


x86 assembly (clang, -O0):
<fill_line_ped>:
push   %rbp
mov    %rsp,%rbp
sub    $0x50,%rsp
mov    0x10(%rbp),%rax
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    %edx,-0x14(%rbp)
mov    %ecx,-0x18(%rbp)
mov    %r8,-0x20(%rbp)
mov    %r9,-0x28(%rbp)
mov    -0x10(%rbp),%rdi
lea    0xe73(%rip),%rsi
call   1070 <strtok@plt>
mov    %rax,-0x30(%rbp)
cmpq   $0x0,-0x30(%rbp)
jne    11c1 <fill_line_ped+0x61>
mov    -0x20(%rbp),%rsi
mov    -0x18(%rbp),%edx
add    $0x1,%edx
lea    0xe52(%rip),%rdi
call   1030 <printf@plt>
mov    $0x1,%edi
call   1080 <exit@plt>
movl   $0x0,-0x40(%rbp)
cmpl   $0x5,-0x40(%rbp)
jge    11f5 <fill_line_ped+0x95>
mov    -0x20(%rbp),%rdi
mov    -0x18(%rbp),%esi
add    $0x1,%esi
xor    %edx,%edx
call   1040 <next_token@plt>
mov    %rax,-0x30(%rbp)
mov    -0x40(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x40(%rbp)
jmp    11c8 <fill_line_ped+0x68>
movl   $0x0,-0x40(%rbp)
xor    %eax,%eax
mov    %eax,%edi
lea    0xdf9(%rip),%rsi
call   1070 <strtok@plt>
mov    %rax,-0x30(%rbp)
xor    %eax,%eax
mov    %eax,%edi
lea    0xde5(%rip),%rsi
call   1070 <strtok@plt>
mov    %rax,-0x38(%rbp)
xor    %eax,%eax
cmpq   $0x0,-0x30(%rbp)
mov    %al,-0x41(%rbp)
je     12b6 <fill_line_ped+0x156>
xor    %eax,%eax
cmpq   $0x0,-0x38(%rbp)
mov    %al,-0x41(%rbp)
je     12b6 <fill_line_ped+0x156>
mov    -0x30(%rbp),%rax
movsbl (%rax),%ecx
mov    0x2d96(%rip),%rax
movsbl (%rax),%edx
xor    %eax,%eax
cmp    %edx,%ecx
mov    %al,-0x41(%rbp)
je     12b6 <fill_line_ped+0x156>
mov    -0x38(%rbp),%rax
movsbl (%rax),%ecx
mov    0x2d78(%rip),%rax
movsbl (%rax),%edx
xor    %eax,%eax
cmp    %edx,%ecx
mov    %al,-0x41(%rbp)
je     12b6 <fill_line_ped+0x156>
mov    -0x30(%rbp),%rax
movsbl (%rax),%ecx
xor    %eax,%eax
cmp    $0xa,%ecx
mov    %al,-0x41(%rbp)
je     12b6 <fill_line_ped+0x156>
mov    -0x38(%rbp),%rax
movsbl (%rax),%ecx
xor    %eax,%eax
cmp    $0xa,%ecx
mov    %al,-0x41(%rbp)
je     12b6 <fill_line_ped+0x156>
mov    -0x40(%rbp),%eax
cmp    -0x14(%rbp),%eax
setl   %al
mov    %al,-0x41(%rbp)
mov    -0x41(%rbp),%al
test   $0x1,%al
jne    12c6 <fill_line_ped+0x166>
jmp    14df <fill_line_ped+0x37f>
mov    -0x30(%rbp),%rax
mov    (%rax),%al
mov    -0x40(%rbp),%esi
add    $0x1,%esi
mov    -0x18(%rbp),%edx
add    $0x1,%edx
mov    -0x20(%rbp),%rcx
movsbl %al,%edi
call   1060 <test_token_ped@plt>
mov    -0x38(%rbp),%rax
mov    (%rax),%al
mov    -0x40(%rbp),%esi
add    $0x1,%esi
mov    -0x18(%rbp),%edx
add    $0x1,%edx
mov    -0x20(%rbp),%rcx
movsbl %al,%edi
call   1060 <test_token_ped@plt>
movl   $0x0,-0x3c(%rbp)
mov    0x10(%rbp),%rax
movslq -0x40(%rbp),%rcx
movsbl (%rax,%rcx,1),%eax
cmp    $0x30,%eax
jne    1414 <fill_line_ped+0x2b4>
mov    -0x30(%rbp),%rax
movsbl (%rax),%eax
cmp    $0x30,%eax
jne    134a <fill_line_ped+0x1ea>
mov    -0x38(%rbp),%rax
movsbl (%rax),%eax
cmp    $0x30,%eax
jne    134a <fill_line_ped+0x1ea>
movl   $0x9,-0x3c(%rbp)
jmp    140f <fill_line_ped+0x2af>
mov    -0x38(%rbp),%rax
movsbl (%rax),%eax
cmp    $0x30,%eax
je     1387 <fill_line_ped+0x227>
mov    -0x30(%rbp),%rax
movsbl (%rax),%eax
cmp    $0x30,%eax
jne    1387 <fill_line_ped+0x227>
mov    -0x38(%rbp),%rax
mov    (%rax),%dl
mov    0x10(%rbp),%rax
movslq -0x40(%rbp),%rcx
mov    %dl,(%rax,%rcx,1)
movl   $0x9,-0x3c(%rbp)
jmp    140a <fill_line_ped+0x2aa>
mov    -0x30(%rbp),%rax
movsbl (%rax),%eax
cmp    $0x30,%eax
je     13c4 <fill_line_ped+0x264>
mov    -0x38(%rbp),%rax
movsbl (%rax),%eax
cmp    $0x30,%eax
jne    13c4 <fill_line_ped+0x264>
mov    -0x30(%rbp),%rax
mov    (%rax),%dl
mov    0x10(%rbp),%rax
movslq -0x40(%rbp),%rcx
mov    %dl,(%rax,%rcx,1)
movl   $0x9,-0x3c(%rbp)
jmp    1405 <fill_line_ped+0x2a5>
mov    -0x38(%rbp),%rax
mov    (%rax),%dl
mov    0x10(%rbp),%rax
movslq -0x40(%rbp),%rcx
mov    %dl,(%rax,%rcx,1)
movl   $0x1,-0x3c(%rbp)
mov    -0x30(%rbp),%rax
movsbl (%rax),%eax
mov    0x10(%rbp),%rcx
movslq -0x40(%rbp),%rdx
movsbl (%rcx,%rdx,1),%ecx
cmp    %ecx,%eax
jne    1400 <fill_line_ped+0x2a0>
mov    -0x3c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x3c(%rbp)
jmp    1405 <fill_line_ped+0x2a5>
jmp    140a <fill_line_ped+0x2aa>
jmp    140f <fill_line_ped+0x2af>
jmp    1492 <fill_line_ped+0x332>
mov    -0x30(%rbp),%rax
movsbl (%rax),%eax
cmp    $0x30,%eax
je     1434 <fill_line_ped+0x2d4>
mov    -0x38(%rbp),%rax
movsbl (%rax),%eax
cmp    $0x30,%eax
jne    1440 <fill_line_ped+0x2e0>
movl   $0x9,-0x3c(%rbp)
jmp    148d <fill_line_ped+0x32d>
mov    -0x30(%rbp),%rax
movsbl (%rax),%eax
mov    0x10(%rbp),%rcx
movslq -0x40(%rbp),%rdx
movsbl (%rcx,%rdx,1),%ecx
cmp    %ecx,%eax
jne    1464 <fill_line_ped+0x304>
mov    -0x3c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x3c(%rbp)
mov    -0x38(%rbp),%rax
movsbl (%rax),%eax
mov    0x10(%rbp),%rcx
movslq -0x40(%rbp),%rdx
movsbl (%rcx,%rdx,1),%ecx
cmp    %ecx,%eax
jne    1488 <fill_line_ped+0x328>
mov    -0x3c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x3c(%rbp)
jmp    148d <fill_line_ped+0x32d>
jmp    1492 <fill_line_ped+0x332>
mov    -0x3c(%rbp),%edx
mov    -0x8(%rbp),%rax
mov    -0x18(%rbp),%ecx
imul   -0x14(%rbp),%ecx
add    -0x40(%rbp),%ecx
movslq %ecx,%rcx
mov    %edx,(%rax,%rcx,4)
xor    %eax,%eax
mov    %eax,%edi
lea    0xb4c(%rip),%rsi
call   1070 <strtok@plt>
mov    %rax,-0x30(%rbp)
xor    %eax,%eax
mov    %eax,%edi
lea    0xb38(%rip),%rsi
call   1070 <strtok@plt>
mov    %rax,-0x38(%rbp)
mov    -0x40(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x40(%rbp)
jmp    1224 <fill_line_ped+0xc4>
mov    -0x20(%rbp),%rdi
mov    -0x28(%rbp),%rsi
mov    -0x40(%rbp),%edx
mov    -0x18(%rbp),%ecx
add    $0x1,%ecx
mov    -0x14(%rbp),%r8d
mov    -0x30(%rbp),%r9
call   1050 <test_column@plt>
add    $0x50,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<fill_line_ped>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x38,%rsp
mov    %r9,0x28(%rsp)
mov    %r8,%rbp
mov    %ecx,%r14d
mov    %edx,0xc(%rsp)
mov    %rsi,%rax
mov    %rdi,0x18(%rsp)
mov    0x70(%rsp),%rcx
mov    %rcx,0x10(%rsp)
lea    0xe6a(%rip),%rsi
mov    %rax,%rdi
call   1070 <strtok@plt>
lea    0x1(%r14),%r13d
test   %rax,%rax
je     13bf <fill_line_ped+0x25f>
xor    %ebx,%ebx
mov    %rbp,%rdi
mov    %r13d,%esi
xor    %edx,%edx
call   1040 <next_token@plt>
mov    %rbp,%rdi
mov    %r13d,%esi
xor    %edx,%edx
call   1040 <next_token@plt>
mov    %rbp,%rdi
mov    %r13d,%esi
xor    %edx,%edx
call   1040 <next_token@plt>
mov    %rbp,%rdi
mov    %r13d,%esi
xor    %edx,%edx
call   1040 <next_token@plt>
mov    %rbp,%rdi
mov    %r13d,%esi
xor    %edx,%edx
call   1040 <next_token@plt>
lea    0xe0b(%rip),%r15
xor    %edi,%edi
mov    %r15,%rsi
call   1070 <strtok@plt>
mov    %rax,%r12
xor    %edi,%edi
mov    %r15,%rsi
call   1070 <strtok@plt>
test   %r12,%r12
je     1397 <fill_line_ped+0x237>
mov    %rax,%r15
test   %rax,%rax
je     1397 <fill_line_ped+0x237>
mov    0xc(%rsp),%eax
imul   %eax,%r14d
cltq
mov    %rax,0x30(%rsp)
movslq %r14d,%rax
mov    0x18(%rsp),%rcx
lea    (%rcx,%rax,4),%rax
mov    %rax,0x18(%rsp)
xor    %ebx,%ebx
mov    %rbp,0x20(%rsp)
nopl   0x0(%rax,%rax,1)
movzbl (%r12),%eax
mov    0x2d8c(%rip),%rcx
movzbl (%rcx),%ecx
cmp    %cl,%al
je     1397 <fill_line_ped+0x237>
cmp    0x30(%rsp),%rbx
jge    1397 <fill_line_ped+0x237>
movzbl (%r15),%edx
cmp    $0xa,%dl
je     1397 <fill_line_ped+0x237>
cmp    %cl,%dl
je     1397 <fill_line_ped+0x237>
cmp    $0xa,%al
je     1397 <fill_line_ped+0x237>
lea    0x1(%rbx),%r14d
movsbl %al,%edi
mov    %r14d,%esi
mov    %r13d,%edx
mov    %rbp,%rcx
call   1060 <test_token_ped@plt>
movsbl (%r15),%edi
mov    %r14d,%esi
mov    %r13d,%edx
mov    %rbp,%rcx
call   1060 <test_token_ped@plt>
mov    0x10(%rsp),%rax
movzbl (%rax,%rbx,1),%edx
movzbl (%r12),%ecx
cmp    $0x30,%dl
jne    12f0 <fill_line_ped+0x190>
movzbl (%r15),%edx
cmp    $0x30,%cl
jne    1320 <fill_line_ped+0x1c0>
mov    $0x9,%eax
cmp    $0x30,%dl
je     1350 <fill_line_ped+0x1f0>
mov    0x10(%rsp),%rcx
mov    %dl,(%rcx,%rbx,1)
jmp    1350 <fill_line_ped+0x1f0>
cs nopw 0x0(%rax,%rax,1)
mov    $0x9,%eax
cmp    $0x30,%cl
je     1350 <fill_line_ped+0x1f0>
movzbl (%r15),%esi
cmp    $0x30,%sil
je     1350 <fill_line_ped+0x1f0>
xor    %edi,%edi
cmp    %dl,%cl
sete   %dil
lea    0x1(%rdi),%eax
cmp    %dl,%sil
cmovne %edi,%eax
jmp    1350 <fill_line_ped+0x1f0>
nopw   0x0(%rax,%rax,1)
cmp    $0x30,%dl
jne    1334 <fill_line_ped+0x1d4>
mov    0x10(%rsp),%rax
mov    %cl,(%rax,%rbx,1)
mov    $0x9,%eax
jmp    1350 <fill_line_ped+0x1f0>
mov    0x10(%rsp),%rax
mov    %dl,(%rax,%rbx,1)
xor    %eax,%eax
cmp    %dl,(%r12)
sete   %al
add    $0x1,%eax
nopl   0x0(%rax,%rax,1)
mov    0x18(%rsp),%rcx
mov    %eax,(%rcx,%rbx,4)
xor    %edi,%edi
lea    0xc9f(%rip),%rbp
mov    %rbp,%rsi
call   1070 <strtok@plt>
mov    %rax,%r12
xor    %edi,%edi
mov    %rbp,%rsi
call   1070 <strtok@plt>
add    $0x1,%rbx
test   %r12,%r12
je     1392 <fill_line_ped+0x232>
mov    %rax,%r15
test   %rax,%rax
mov    0x20(%rsp),%rbp
jne    1250 <fill_line_ped+0xf0>
jmp    1397 <fill_line_ped+0x237>
mov    0x20(%rsp),%rbp
mov    %rbp,%rdi
mov    0x28(%rsp),%rsi
mov    %ebx,%edx
mov    %r13d,%ecx
mov    0xc(%rsp),%r8d
mov    %r12,%r9
add    $0x38,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
jmp    1050 <test_column@plt>
lea    0xc3e(%rip),%rdi
mov    %rbp,%rsi
mov    %r13d,%edx
call   1030 <printf@plt>
mov    $0x1,%edi
call   1080 <exit@plt>

LLVM IR (-O0):
@.str = [4 x i8] c" \09\0A\00"
@.str.1 = [69 x i8] c"Error while reading individual informations of %s file at line %d.\0A\0A\00"
@EOF = global i8 0
define void @fill_line_ped(i32* %0, i8* %1, i32 %2, i32 %3, i8* %4, i32* %5, i8* %6) {
%8 = alloca i32*
%9 = alloca i8*
%10 = alloca i32
%11 = alloca i32
%12 = alloca i8*
%13 = alloca i32*
%14 = alloca i8*
%15 = alloca i8*
%16 = alloca i8*
%17 = alloca i32
%18 = alloca i32
store i32* %0, i32** %8
store i8* %1, i8** %9
store i32 %2, i32* %10
store i32 %3, i32* %11
store i8* %4, i8** %12
store i32* %5, i32** %13
store i8* %6, i8** %14
%19 = load i8*, i8** %9
%20 = call i8* @strtok(i8* %19, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0))
store i8* %20, i8** %15
%21 = load i8*, i8** %15
%22 = icmp ne i8* %21, null
br i1 %22, label %29, label %23
23: ; preds = %7
%24 = load i8*, i8** %12
%25 = load i32, i32* %11
%26 = add nsw i32 %25, 1
%27 = call i32 @printf(i8* getelementptr inbounds ([69 x i8], [69 x i8]* @.str.1, i64 0, i64 0), i8* %24, i32 %26)
%28 = call i32 @exit(i32 1)
unreachable
29: ; preds = %7
store i32 0, i32* %18
br label %30
30: ; preds = %38, %29
%31 = load i32, i32* %18
%32 = icmp slt i32 %31, 5
br i1 %32, label %33, label %41
33: ; preds = %30
%34 = load i8*, i8** %12
%35 = load i32, i32* %11
%36 = add nsw i32 %35, 1
%37 = call i8* @next_token(i8* %34, i32 %36, i32 0)
store i8* %37, i8** %15
br label %38
38: ; preds = %33
%39 = load i32, i32* %18
%40 = add nsw i32 %39, 1
store i32 %40, i32* %18
br label %30
41: ; preds = %30
store i32 0, i32* %18
%42 = call i8* @strtok(i8* null, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0))
store i8* %42, i8** %15
%43 = call i8* @strtok(i8* null, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0))
store i8* %43, i8** %16
br label %44
44: ; preds = %234, %41
%45 = load i8*, i8** %15
%46 = icmp ne i8* %45, null
br i1 %46, label %47, label %82
47: ; preds = %44
%48 = load i8*, i8** %16
%49 = icmp ne i8* %48, null
br i1 %49, label %50, label %82
50: ; preds = %47
%51 = load i8*, i8** %15
%52 = getelementptr inbounds i8, i8* %51, i64 0
%53 = load i8, i8* %52
%54 = sext i8 %53 to i32
%55 = load i8, i8* @EOF
%56 = sext i8 %55 to i32
%57 = icmp ne i32 %54, %56
br i1 %57, label %58, label %82
58: ; preds = %50
%59 = load i8*, i8** %16
%60 = getelementptr inbounds i8, i8* %59, i64 0
%61 = load i8, i8* %60
%62 = sext i8 %61 to i32
%63 = load i8, i8* @EOF
%64 = sext i8 %63 to i32
%65 = icmp ne i32 %62, %64
br i1 %65, label %66, label %82
66: ; preds = %58
%67 = load i8*, i8** %15
%68 = getelementptr inbounds i8, i8* %67, i64 0
%69 = load i8, i8* %68
%70 = sext i8 %69 to i32
%71 = icmp ne i32 %70, 10
br i1 %71, label %72, label %82
72: ; preds = %66
%73 = load i8*, i8** %16
%74 = getelementptr inbounds i8, i8* %73, i64 0
%75 = load i8, i8* %74
%76 = sext i8 %75 to i32
%77 = icmp ne i32 %76, 10
br i1 %77, label %78, label %82
78: ; preds = %72
%79 = load i32, i32* %18
%80 = load i32, i32* %10
%81 = icmp slt i32 %79, %80
br label %82
82: ; preds = %78, %72, %66, %58, %50, %47, %44
%83 = phi i1 [ false, %72 ], [ false, %66 ], [ false, %58 ], [ false, %50 ], [ false, %47 ], [ false, %44 ], [ %81, %78 ]
br i1 %83, label %84, label %248
84: ; preds = %82
%85 = load i8*, i8** %15
%86 = getelementptr inbounds i8, i8* %85, i64 0
%87 = load i8, i8* %86
%88 = load i32, i32* %18
%89 = add nsw i32 %88, 1
%90 = load i32, i32* %11
%91 = add nsw i32 %90, 1
%92 = load i8*, i8** %12
%93 = call i32 @test_token_ped(i8 signext %87, i32 %89, i32 %91, i8* %92)
%94 = load i8*, i8** %16
%95 = getelementptr inbounds i8, i8* %94, i64 0
%96 = load i8, i8* %95
%97 = load i32, i32* %18
%98 = add nsw i32 %97, 1
%99 = load i32, i32* %11
%100 = add nsw i32 %99, 1
%101 = load i8*, i8** %12
%102 = call i32 @test_token_ped(i8 signext %96, i32 %98, i32 %100, i8* %101)
store i32 0, i32* %17
%103 = load i8*, i8** %14
%104 = load i32, i32* %18
%105 = sext i32 %104 to i64
%106 = getelementptr inbounds i8, i8* %103, i64 %105
%107 = load i8, i8* %106
%108 = sext i8 %107 to i32
%109 = icmp eq i32 %108, 48
br i1 %109, label %110, label %189
110: ; preds = %84
%111 = load i8*, i8** %15
%112 = getelementptr inbounds i8, i8* %111, i64 0
%113 = load i8, i8* %112
%114 = sext i8 %113 to i32
%115 = icmp eq i32 %114, 48
br i1 %115, label %116, label %123
116: ; preds = %110
%117 = load i8*, i8** %16
%118 = getelementptr inbounds i8, i8* %117, i64 0
%119 = load i8, i8* %118
%120 = sext i8 %119 to i32
%121 = icmp eq i32 %120, 48
br i1 %121, label %122, label %123
122: ; preds = %116
store i32 9, i32* %17
br label %188
123: ; preds = %116, %110
%124 = load i8*, i8** %16
%125 = getelementptr inbounds i8, i8* %124, i64 0
%126 = load i8, i8* %125
%127 = sext i8 %126 to i32
%128 = icmp ne i32 %127, 48
br i1 %128, label %129, label %143
129: ; preds = %123
%130 = load i8*, i8** %15
%131 = getelementptr inbounds i8, i8* %130, i64 0
%132 = load i8, i8* %131
%133 = sext i8 %132 to i32
%134 = icmp eq i32 %133, 48
br i1 %134, label %135, label %143
135: ; preds = %129
%136 = load i8*, i8** %16
%137 = getelementptr inbounds i8, i8* %136, i64 0
%138 = load i8, i8* %137
%139 = load i8*, i8** %14
%140 = load i32, i32* %18
%141 = sext i32 %140 to i64
%142 = getelementptr inbounds i8, i8* %139, i64 %141
store i8 %138, i8* %142
store i32 9, i32* %17
br label %187
143: ; preds = %129, %123
%144 = load i8*, i8** %15
%145 = getelementptr inbounds i8, i8* %144, i64 0
%146 = load i8, i8* %145
%147 = sext i8 %146 to i32
%148 = icmp ne i32 %147, 48
br i1 %148, label %149, label %163
149: ; preds = %143
%150 = load i8*, i8** %16
%151 = getelementptr inbounds i8, i8* %150, i64 0
%152 = load i8, i8* %151
%153 = sext i8 %152 to i32
%154 = icmp eq i32 %153, 48
br i1 %154, label %155, label %163
155: ; preds = %149
%156 = load i8*, i8** %15
%157 = getelementptr inbounds i8, i8* %156, i64 0
%158 = load i8, i8* %157
%159 = load i8*, i8** %14
%160 = load i32, i32* %18
%161 = sext i32 %160 to i64
%162 = getelementptr inbounds i8, i8* %159, i64 %161
store i8 %158, i8* %162
store i32 9, i32* %17
br label %186
163: ; preds = %149, %143
%164 = load i8*, i8** %16
%165 = getelementptr inbounds i8, i8* %164, i64 0
%166 = load i8, i8* %165
%167 = load i8*, i8** %14
%168 = load i32, i32* %18
%169 = sext i32 %168 to i64
%170 = getelementptr inbounds i8, i8* %167, i64 %169
store i8 %166, i8* %170
store i32 1, i32* %17
%171 = load i8*, i8** %15
%172 = getelementptr inbounds i8, i8* %171, i64 0
%173 = load i8, i8* %172
%174 = sext i8 %173 to i32
%175 = load i8*, i8** %14
%176 = load i32, i32* %18
%177 = sext i32 %176 to i64
%178 = getelementptr inbounds i8, i8* %175, i64 %177
%179 = load i8, i8* %178
%180 = sext i8 %179 to i32
%181 = icmp eq i32 %174, %180
br i1 %181, label %182, label %185
182: ; preds = %163
%183 = load i32, i32* %17
%184 = add nsw i32 %183, 1
store i32 %184, i32* %17
br label %185
185: ; preds = %182, %163
br label %186
186: ; preds = %185, %155
br label %187
187: ; preds = %186, %135
br label %188
188: ; preds = %187, %122
br label %234
189: ; preds = %84
%190 = load i8*, i8** %15
%191 = getelementptr inbounds i8, i8* %190, i64 0
%192 = load i8, i8* %191
%193 = sext i8 %192 to i32
%194 = icmp eq i32 %193, 48
br i1 %194, label %201, label %195
195: ; preds = %189
%196 = load i8*, i8** %16
%197 = getelementptr inbounds i8, i8* %196, i64 0
%198 = load i8, i8* %197
%199 = sext i8 %198 to i32
%200 = icmp eq i32 %199, 48
br i1 %200, label %201, label %202
201: ; preds = %195, %189
store i32 9, i32* %17
br label %233
202: ; preds = %195
%203 = load i8*, i8** %15
%204 = getelementptr inbounds i8, i8* %203, i64 0
%205 = load i8, i8* %204
%206 = sext i8 %205 to i32
%207 = load i8*, i8** %14
%208 = load i32, i32* %18
%209 = sext i32 %208 to i64
%210 = getelementptr inbounds i8, i8* %207, i64 %209
%211 = load i8, i8* %210
%212 = sext i8 %211 to i32
%213 = icmp eq i32 %206, %212
br i1 %213, label %214, label %217
214: ; preds = %202
%215 = load i32, i32* %17
%216 = add nsw i32 %215, 1
store i32 %216, i32* %17
br label %217
217: ; preds = %214, %202
%218 = load i8*, i8** %16
%219 = getelementptr inbounds i8, i8* %218, i64 0
%220 = load i8, i8* %219
%221 = sext i8 %220 to i32
%222 = load i8*, i8** %14
%223 = load i32, i32* %18
%224 = sext i32 %223 to i64
%225 = getelementptr inbounds i8, i8* %222, i64 %224
%226 = load i8, i8* %225
%227 = sext i8 %226 to i32
%228 = icmp eq i32 %221, %227
br i1 %228, label %229, label %232
229: ; preds = %217
%230 = load i32, i32* %17
%231 = add nsw i32 %230, 1
store i32 %231, i32* %17
br label %232
232: ; preds = %229, %217
br label %233
233: ; preds = %232, %201
br label %234
234: ; preds = %233, %188
%235 = load i32, i32* %17
%236 = load i32*, i32** %8
%237 = load i32, i32* %11
%238 = load i32, i32* %10
%239 = mul nsw i32 %237, %238
%240 = load i32, i32* %18
%241 = add nsw i32 %239, %240
%242 = sext i32 %241 to i64
%243 = getelementptr inbounds i32, i32* %236, i64 %242
store i32 %235, i32* %243
%244 = call i8* @strtok(i8* null, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0))
store i8* %244, i8** %15
%245 = call i8* @strtok(i8* null, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0))
store i8* %245, i8** %16
%246 = load i32, i32* %18
%247 = add nsw i32 %246, 1
store i32 %247, i32* %18
br label %44
248: ; preds = %82
%249 = load i8*, i8** %12
%250 = load i32*, i32** %13
%251 = load i32, i32* %18
%252 = load i32, i32* %11
%253 = add nsw i32 %252, 1
%254 = load i32, i32* %10
%255 = load i8*, i8** %15
%256 = call i32 @test_column(i8* %249, i32* %250, i32 %251, i32 %253, i32 %254, i8* %255)
ret void
}

LLVM IR (-O2):
@.str = [4 x i8] c" \09\0A\00"
@.str.1 = [69 x i8] c"Error while reading individual informations of %s file at line %d.\0A\0A\00"
@EOF = global i8 0
define void @fill_line_ped(i32* nocapture writeonly %0, i8* %1, i32 %2, i32 %3, i8* %4, i32* %5, i8* nocapture %6) {
%8 = tail call i8* @strtok(i8* %1, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0))
%9 = icmp eq i8* %8, null
%10 = add nsw i32 %3, 1
br i1 %9, label %22, label %11
11: ; preds = %7
%12 = tail call i8* @next_token(i8* %4, i32 %10, i32 0)
%13 = tail call i8* @next_token(i8* %4, i32 %10, i32 0)
%14 = tail call i8* @next_token(i8* %4, i32 %10, i32 0)
%15 = tail call i8* @next_token(i8* %4, i32 %10, i32 0)
%16 = tail call i8* @next_token(i8* %4, i32 %10, i32 0)
%17 = tail call i8* @strtok(i8* null, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0))
%18 = tail call i8* @strtok(i8* null, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0))
%19 = icmp ne i8* %17, null
%20 = icmp ne i8* %18, null
%21 = select i1 %19, i1 %20, i1 false
br i1 %21, label %25, label %90
22: ; preds = %7
%23 = tail call i32 @printf(i8* getelementptr inbounds ([69 x i8], [69 x i8]* @.str.1, i64 0, i64 0), i8* %4, i32 %10)
%24 = tail call i32 @exit(i32 1)
unreachable
25: ; preds = %11
%26 = mul nsw i32 %3, %2
%27 = sext i32 %2 to i64
%28 = sext i32 %26 to i64
br label %29
29: ; preds = %25, %77
%30 = phi i64 [ 0, %25 ], [ %46, %77 ]
%31 = phi i8* [ %18, %25 ], [ %82, %77 ]
%32 = phi i8* [ %17, %25 ], [ %81, %77 ]
%33 = load i8, i8* %32
%34 = load i8, i8* @EOF
%35 = icmp eq i8 %33, %34
br i1 %35, label %86, label %36
36: ; preds = %29
%37 = load i8, i8* %31
%38 = icmp eq i8 %37, %34
%39 = icmp eq i8 %33, 10
%40 = select i1 %38, i1 true, i1 %39
%41 = icmp eq i8 %37, 10
%42 = or i1 %41, %40
%43 = icmp sge i64 %30, %27
%44 = or i1 %43, %42
br i1 %44, label %86, label %45
45: ; preds = %36
%46 = add nuw nsw i64 %30, 1
%47 = trunc i64 %46 to i32
%48 = tail call i32 @test_token_ped(i8 signext %33, i32 %47, i32 %10, i8* %4)
%49 = load i8, i8* %31
%50 = tail call i32 @test_token_ped(i8 signext %49, i32 %47, i32 %10, i8* %4)
%51 = getelementptr inbounds i8, i8* %6, i64 %30
%52 = load i8, i8* %51
%53 = icmp eq i8 %52, 48
%54 = load i8, i8* %32
%55 = icmp eq i8 %54, 48
br i1 %53, label %56, label %67
56: ; preds = %45
%57 = load i8, i8* %31
%58 = icmp eq i8 %57, 48
br i1 %55, label %59, label %60
59: ; preds = %56
br i1 %58, label %77, label %61
60: ; preds = %56
br i1 %58, label %62, label %63
61: ; preds = %59
store i8 %57, i8* %51
br label %77
62: ; preds = %60
store i8 %54, i8* %51
br label %77
63: ; preds = %60
store i8 %57, i8* %51
%64 = load i8, i8* %32
%65 = icmp eq i8 %64, %57
%66 = select i1 %65, i32 2, i32 1
br label %77
67: ; preds = %45
br i1 %55, label %77, label %68
68: ; preds = %67
%69 = load i8, i8* %31
%70 = icmp eq i8 %69, 48
br i1 %70, label %77, label %71
71: ; preds = %68
%72 = icmp eq i8 %54, %52
%73 = zext i1 %72 to i32
%74 = icmp eq i8 %69, %52
%75 = select i1 %72, i32 2, i32 1
%76 = select i1 %74, i32 %75, i32 %73
br label %77
77: ; preds = %71, %63, %67, %68, %59, %62, %61
%78 = phi i32 [ 9, %61 ], [ 9, %62 ], [ 9, %59 ], [ %66, %63 ], [ 9, %68 ], [ 9, %67 ], [ %76, %71 ]
%79 = add nsw i64 %30, %28
%80 = getelementptr inbounds i32, i32* %0, i64 %79
store i32 %78, i32* %80
%81 = tail call i8* @strtok(i8* null, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0))
%82 = tail call i8* @strtok(i8* null, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0))
%83 = icmp ne i8* %81, null
%84 = icmp ne i8* %82, null
%85 = select i1 %83, i1 %84, i1 false
br i1 %85, label %29, label %86
86: ; preds = %36, %29, %77
%87 = phi i64 [ %46, %77 ], [ %30, %29 ], [ %30, %36 ]
%88 = phi i8* [ %81, %77 ], [ %32, %29 ], [ %32, %36 ]
%89 = trunc i64 %87 to i32
br label %90
90: ; preds = %86, %11
%91 = phi i8* [ %17, %11 ], [ %88, %86 ]
%92 = phi i32 [ 0, %11 ], [ %89, %86 ]
%93 = tail call i32 @test_column(i8* %4, i32* %5, i32 %92, i32 %10, i32 %2, i8* %91)
ret void
}