int ifstatment() {
  printf("----- START %s\n", __FUNCTION__);
  int x, y = 1, z;
  int a;
  if (y != 0)
    x = 5;
  printf("x"
         "= %"
         "d"
         "\t",
         (x)),
      putchar('\n');
  printf("** look at %s:%d **\n",
         "/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/"
         "2022-01-22/02-19-57/repos/reslaurentii/sandbox/refs/heads/master/src/"
         "ifstatment.c",
         13);
  if (y == 0)
    x = 3;
  else
    x = 5;
  printf("x"
         "= %"
         "d"
         "\t",
         (x)),
      putchar('\n');
  printf("** look at %s:%d **\n",
         "/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/"
         "2022-01-22/02-19-57/repos/reslaurentii/sandbox/refs/heads/master/src/"
         "ifstatment.c",
         18);
  x = 1;
  if (y < 0)
    if (y > 0)
      x = 3;
  printf("x"
         "= %"
         "d"
         "\t",
         (x)),
      putchar('\n');
  printf("** look at %s:%d **\n",
         "/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/"
         "2022-01-22/02-19-57/repos/reslaurentii/sandbox/refs/heads/master/src/"
         "ifstatment.c",
         23);
  if (z = y < 0)
    x = 3;
  else if (y == 0)
    x = 5;
  else
    x = 7;
  printf("x"
         "= %"
         "d"
         "\t",
         (x)),
      printf("z"
             "= %"
             "d"
             "\t",
             (z)),
      putchar('\n');
  printf("** look at %s:%d **\n",
         "/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/"
         "2022-01-22/02-19-57/repos/reslaurentii/sandbox/refs/heads/master/src/"
         "ifstatment.c",
         29);
  if (z = (y == 0))
    x = 5;
  x = 3;
  printf("x"
         "= %"
         "d"
         "\t",
         (x)),
      printf("z"
             "= %"
             "d"
             "\t",
             (z)),
      putchar('\n');
  printf("** look at %s:%d **\n",
         "/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/"
         "2022-01-22/02-19-57/repos/reslaurentii/sandbox/refs/heads/master/src/"
         "ifstatment.c",
         33);
  if (x = z = y)
    x = 3;
  printf("x"
         "= %"
         "d"
         "\t",
         (x)),
      printf("z"
             "= %"
             "d"
             "\t",
             (z)),
      putchar('\n');
  printf("** look at %s:%d **\n",
         "/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/"
         "2022-01-22/02-19-57/repos/reslaurentii/sandbox/refs/heads/master/src/"
         "ifstatment.c",
         37);
  if (a = a == a)
    z = 5;
  else
    z = 10;
  printf("a"
         "= %"
         "d"
         "\t",
         (a)),
      printf("z"
             "= %"
             "d"
             "\t",
             (z)),
      putchar('\n');
  printf("** look at %s:%d **\n",
         "/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/"
         "2022-01-22/02-19-57/repos/reslaurentii/sandbox/refs/heads/master/src/"
         "ifstatment.c",
         42);
  if (a = a != a)
    z = 5;
  else
    z = 10;
  printf("a"
         "= %"
         "d"
         "\t",
         (a)),
      printf("z"
             "= %"
             "d"
             "\t",
             (z)),
      putchar('\n');
  printf("** look at %s:%d **\n",
         "/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/"
         "2022-01-22/02-19-57/repos/reslaurentii/sandbox/refs/heads/master/src/"
         "ifstatment.c",
         47);
  printf("----- END %s\n", __FUNCTION__);
  return 0;
}


x86 assembly (clang, -O0):
<ifstatment>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
lea    0xed1(%rip),%rdi
lea    0xeda(%rip),%rsi
mov    $0x0,%al
call   1040 <printf@plt>
movl   $0x1,-0x8(%rbp)
cmpl   $0x0,-0x8(%rbp)
je     1155 <ifstatment+0x35>
movl   $0x5,-0x4(%rbp)
mov    -0x4(%rbp),%esi
lea    0xebc(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    $0xa,%edi
mov    $0x0,%al
call   1030 <putchar@plt>
lea    0xea9(%rip),%rdi
lea    0xeb7(%rip),%rsi
mov    $0xd,%edx
mov    $0x0,%al
call   1040 <printf@plt>
cmpl   $0x0,-0x8(%rbp)
jne    11a2 <ifstatment+0x82>
movl   $0x3,-0x4(%rbp)
jmp    11a9 <ifstatment+0x89>
movl   $0x5,-0x4(%rbp)
mov    -0x4(%rbp),%esi
lea    0xe68(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    $0xa,%edi
mov    $0x0,%al
call   1030 <putchar@plt>
lea    0xe55(%rip),%rdi
lea    0xe63(%rip),%rsi
mov    $0x12,%edx
mov    $0x0,%al
call   1040 <printf@plt>
movl   $0x1,-0x4(%rbp)
cmpl   $0x0,-0x8(%rbp)
jge    1207 <ifstatment+0xe7>
cmpl   $0x0,-0x8(%rbp)
jle    1202 <ifstatment+0xe2>
movl   $0x3,-0x4(%rbp)
jmp    1207 <ifstatment+0xe7>
mov    -0x4(%rbp),%esi
lea    0xe0a(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    $0xa,%edi
mov    $0x0,%al
call   1030 <putchar@plt>
lea    0xdf7(%rip),%rdi
lea    0xe05(%rip),%rsi
mov    $0x17,%edx
mov    $0x0,%al
call   1040 <printf@plt>
cmpl   $0x0,-0x8(%rbp)
setl   %al
mov    %al,%cl
and    $0x1,%cl
movzbl %cl,%ecx
mov    %ecx,-0xc(%rbp)
test   $0x1,%al
jne    125d <ifstatment+0x13d>
jmp    1269 <ifstatment+0x149>
movl   $0x3,-0x4(%rbp)
jmp    128b <ifstatment+0x16b>
cmpl   $0x0,-0x8(%rbp)
jne    127f <ifstatment+0x15f>
movl   $0x5,-0x4(%rbp)
jmp    1286 <ifstatment+0x166>
movl   $0x7,-0x4(%rbp)
jmp    128b <ifstatment+0x16b>
mov    -0x4(%rbp),%esi
lea    0xd86(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0xc(%rbp),%esi
lea    0xe23(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    $0xa,%edi
mov    $0x0,%al
call   1030 <putchar@plt>
lea    0xd62(%rip),%rdi
lea    0xd70(%rip),%rsi
mov    $0x1d,%edx
mov    $0x0,%al
call   1040 <printf@plt>
cmpl   $0x0,-0x8(%rbp)
sete   %al
mov    %al,%cl
and    $0x1,%cl
movzbl %cl,%ecx
mov    %ecx,-0xc(%rbp)
test   $0x1,%al
jne    12f2 <ifstatment+0x1d2>
jmp    12f9 <ifstatment+0x1d9>
movl   $0x5,-0x4(%rbp)
movl   $0x3,-0x4(%rbp)
mov    -0x4(%rbp),%esi
lea    0xd11(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0xc(%rbp),%esi
lea    0xdae(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    $0xa,%edi
mov    $0x0,%al
call   1030 <putchar@plt>
lea    0xced(%rip),%rdi
lea    0xcfb(%rip),%rsi
mov    $0x21,%edx
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0x8(%rbp),%eax
mov    %eax,-0xc(%rbp)
mov    %eax,-0x4(%rbp)
cmp    $0x0,%eax
je     1361 <ifstatment+0x241>
movl   $0x3,-0x4(%rbp)
mov    -0x4(%rbp),%esi
lea    0xcb0(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0xc(%rbp),%esi
lea    0xd4d(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    $0xa,%edi
mov    $0x0,%al
call   1030 <putchar@plt>
lea    0xc8c(%rip),%rdi
lea    0xc9a(%rip),%rsi
mov    $0x25,%edx
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0x10(%rbp),%eax
cmp    -0x10(%rbp),%eax
sete   %al
mov    %al,%cl
and    $0x1,%cl
movzbl %cl,%ecx
mov    %ecx,-0x10(%rbp)
test   $0x1,%al
jne    13ca <ifstatment+0x2aa>
jmp    13d6 <ifstatment+0x2b6>
movl   $0x5,-0xc(%rbp)
jmp    13dd <ifstatment+0x2bd>
movl   $0xa,-0xc(%rbp)
mov    -0x10(%rbp),%esi
lea    0xce9(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0xc(%rbp),%esi
lea    0xcd1(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    $0xa,%edi
mov    $0x0,%al
call   1030 <putchar@plt>
lea    0xc10(%rip),%rdi
lea    0xc1e(%rip),%rsi
mov    $0x2a,%edx
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0x10(%rbp),%eax
cmp    -0x10(%rbp),%eax
setne  %al
mov    %al,%cl
and    $0x1,%cl
movzbl %cl,%ecx
mov    %ecx,-0x10(%rbp)
test   $0x1,%al
jne    1446 <ifstatment+0x326>
jmp    1452 <ifstatment+0x332>
movl   $0x5,-0xc(%rbp)
jmp    1459 <ifstatment+0x339>
movl   $0xa,-0xc(%rbp)
mov    -0x10(%rbp),%esi
lea    0xc6d(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0xc(%rbp),%esi
lea    0xc55(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    $0xa,%edi
mov    $0x0,%al
call   1030 <putchar@plt>
lea    0xb94(%rip),%rdi
lea    0xba2(%rip),%rsi
mov    $0x2f,%edx
mov    $0x0,%al
call   1040 <printf@plt>
lea    0xc2f(%rip),%rdi
lea    0xb61(%rip),%rsi
mov    $0x0,%al
call   1040 <printf@plt>
xor    %eax,%eax
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<ifstatment>:
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
lea    0xed0(%rip),%rdi
lea    0xed9(%rip),%r14
mov    %r14,%rsi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xed3(%rip),%rbx
mov    %rbx,%rdi
mov    $0x5,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    $0xa,%edi
xor    %eax,%eax
call   1030 <putchar@plt>
lea    0xeb8(%rip),%r12
lea    0xec6(%rip),%r15
mov    %r12,%rdi
mov    %r15,%rsi
mov    $0xd,%edx
xor    %eax,%eax
call   1040 <printf@plt>
mov    %rbx,%rdi
mov    $0x5,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    $0xa,%edi
xor    %eax,%eax
call   1030 <putchar@plt>
mov    %r12,%rdi
mov    %r15,%rsi
mov    $0x12,%edx
xor    %eax,%eax
call   1040 <printf@plt>
mov    %rbx,%rdi
mov    $0x1,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    $0xa,%edi
xor    %eax,%eax
call   1030 <putchar@plt>
mov    %r12,%rdi
mov    %r15,%rsi
mov    $0x17,%edx
xor    %eax,%eax
call   1040 <printf@plt>
mov    %rbx,%rdi
mov    $0x7,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xed6(%rip),%r13
mov    %r13,%rdi
xor    %esi,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    $0xa,%edi
xor    %eax,%eax
call   1030 <putchar@plt>
mov    %r12,%rdi
mov    %r15,%rsi
mov    $0x1d,%edx
xor    %eax,%eax
call   1040 <printf@plt>
mov    %rbx,%rdi
mov    $0x3,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %r13,%rdi
xor    %esi,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    $0xa,%edi
xor    %eax,%eax
call   1030 <putchar@plt>
mov    %r12,%rdi
mov    %r15,%rsi
mov    $0x21,%edx
xor    %eax,%eax
call   1040 <printf@plt>
mov    %rbx,%rdi
mov    $0x3,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %r13,%rdi
mov    $0x1,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    $0xa,%edi
xor    %eax,%eax
call   1030 <putchar@plt>
mov    %r12,%rdi
mov    %r15,%rsi
mov    $0x25,%edx
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xe37(%rip),%rbx
mov    %rbx,%rdi
xor    %esi,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %r13,%rdi
mov    $0xa,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    $0xa,%edi
xor    %eax,%eax
call   1030 <putchar@plt>
mov    %r12,%rdi
mov    %r15,%rsi
mov    $0x2a,%edx
xor    %eax,%eax
call   1040 <printf@plt>
mov    %rbx,%rdi
xor    %esi,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %r13,%rdi
mov    $0xa,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    $0xa,%edi
xor    %eax,%eax
call   1030 <putchar@plt>
mov    %r12,%rdi
mov    %r15,%rsi
mov    $0x2f,%edx
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xdc5(%rip),%rdi
mov    %r14,%rsi
xor    %eax,%eax
call   1040 <printf@plt>
xor    %eax,%eax
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
ret

LLVM IR (-O0):
@.str = [16 x i8] c"----- START %s\0A\00"
@__FUNCTION__.ifstatment = [11 x i8] c"ifstatment\00"
@.str.1 = [7 x i8] c"x= %d\09\00"
@.str.2 = [21 x i8] c"** look at %s:%d **\0A\00"
@.str.3 = [146 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/reslaurentii/sandbox/refs/heads/master/src/ifstatment.c\00"
@.str.4 = [7 x i8] c"z= %d\09\00"
@.str.5 = [7 x i8] c"a= %d\09\00"
@.str.6 = [14 x i8] c"----- END %s\0A\00"
define i32 @ifstatment() {
%1 = alloca i32
%2 = alloca i32
%3 = alloca i32
%4 = alloca i32
%5 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([11 x i8], [11 x i8]* @__FUNCTION__.ifstatment, i64 0, i64 0))
store i32 1, i32* %2
%6 = load i32, i32* %2
%7 = icmp ne i32 %6, 0
br i1 %7, label %8, label %9
8: ; preds = %0
store i32 5, i32* %1
br label %9
9: ; preds = %8, %0
%10 = load i32, i32* %1
%11 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.1, i64 0, i64 0), i32 %10)
%12 = call i32 (i32, ...) bitcast (i32 (...)* @putchar to i32 (i32, ...)*)(i32 10)
%13 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([146 x i8], [146 x i8]* @.str.3, i64 0, i64 0), i32 13)
%14 = load i32, i32* %2
%15 = icmp eq i32 %14, 0
br i1 %15, label %16, label %17
16: ; preds = %9
store i32 3, i32* %1
br label %18
17: ; preds = %9
store i32 5, i32* %1
br label %18
18: ; preds = %17, %16
%19 = load i32, i32* %1
%20 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.1, i64 0, i64 0), i32 %19)
%21 = call i32 (i32, ...) bitcast (i32 (...)* @putchar to i32 (i32, ...)*)(i32 10)
%22 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([146 x i8], [146 x i8]* @.str.3, i64 0, i64 0), i32 18)
store i32 1, i32* %1
%23 = load i32, i32* %2
%24 = icmp slt i32 %23, 0
br i1 %24, label %25, label %30
25: ; preds = %18
%26 = load i32, i32* %2
%27 = icmp sgt i32 %26, 0
br i1 %27, label %28, label %29
28: ; preds = %25
store i32 3, i32* %1
br label %29
29: ; preds = %28, %25
br label %30
30: ; preds = %29, %18
%31 = load i32, i32* %1
%32 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.1, i64 0, i64 0), i32 %31)
%33 = call i32 (i32, ...) bitcast (i32 (...)* @putchar to i32 (i32, ...)*)(i32 10)
%34 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([146 x i8], [146 x i8]* @.str.3, i64 0, i64 0), i32 23)
%35 = load i32, i32* %2
%36 = icmp slt i32 %35, 0
%37 = zext i1 %36 to i32
store i32 %37, i32* %3
br i1 %36, label %38, label %39
38: ; preds = %30
store i32 3, i32* %1
br label %45
39: ; preds = %30
%40 = load i32, i32* %2
%41 = icmp eq i32 %40, 0
br i1 %41, label %42, label %43
42: ; preds = %39
store i32 5, i32* %1
br label %44
43: ; preds = %39
store i32 7, i32* %1
br label %44
44: ; preds = %43, %42
br label %45
45: ; preds = %44, %38
%46 = load i32, i32* %1
%47 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.1, i64 0, i64 0), i32 %46)
%48 = load i32, i32* %3
%49 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.4, i64 0, i64 0), i32 %48)
%50 = call i32 (i32, ...) bitcast (i32 (...)* @putchar to i32 (i32, ...)*)(i32 10)
%51 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([146 x i8], [146 x i8]* @.str.3, i64 0, i64 0), i32 29)
%52 = load i32, i32* %2
%53 = icmp eq i32 %52, 0
%54 = zext i1 %53 to i32
store i32 %54, i32* %3
br i1 %53, label %55, label %56
55: ; preds = %45
store i32 5, i32* %1
br label %56
56: ; preds = %55, %45
store i32 3, i32* %1
%57 = load i32, i32* %1
%58 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.1, i64 0, i64 0), i32 %57)
%59 = load i32, i32* %3
%60 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.4, i64 0, i64 0), i32 %59)
%61 = call i32 (i32, ...) bitcast (i32 (...)* @putchar to i32 (i32, ...)*)(i32 10)
%62 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([146 x i8], [146 x i8]* @.str.3, i64 0, i64 0), i32 33)
%63 = load i32, i32* %2
store i32 %63, i32* %3
store i32 %63, i32* %1
%64 = icmp ne i32 %63, 0
br i1 %64, label %65, label %66
65: ; preds = %56
store i32 3, i32* %1
br label %66
66: ; preds = %65, %56
%67 = load i32, i32* %1
%68 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.1, i64 0, i64 0), i32 %67)
%69 = load i32, i32* %3
%70 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.4, i64 0, i64 0), i32 %69)
%71 = call i32 (i32, ...) bitcast (i32 (...)* @putchar to i32 (i32, ...)*)(i32 10)
%72 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([146 x i8], [146 x i8]* @.str.3, i64 0, i64 0), i32 37)
%73 = load i32, i32* %4
%74 = load i32, i32* %4
%75 = icmp eq i32 %73, %74
%76 = zext i1 %75 to i32
store i32 %76, i32* %4
br i1 %75, label %77, label %78
77: ; preds = %66
store i32 5, i32* %3
br label %79
78: ; preds = %66
store i32 10, i32* %3
br label %79
79: ; preds = %78, %77
%80 = load i32, i32* %4
%81 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.5, i64 0, i64 0), i32 %80)
%82 = load i32, i32* %3
%83 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.4, i64 0, i64 0), i32 %82)
%84 = call i32 (i32, ...) bitcast (i32 (...)* @putchar to i32 (i32, ...)*)(i32 10)
%85 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([146 x i8], [146 x i8]* @.str.3, i64 0, i64 0), i32 42)
%86 = load i32, i32* %4
%87 = load i32, i32* %4
%88 = icmp ne i32 %86, %87
%89 = zext i1 %88 to i32
store i32 %89, i32* %4
br i1 %88, label %90, label %91
90: ; preds = %79
store i32 5, i32* %3
br label %92
91: ; preds = %79
store i32 10, i32* %3
br label %92
92: ; preds = %91, %90
%93 = load i32, i32* %4
%94 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.5, i64 0, i64 0), i32 %93)
%95 = load i32, i32* %3
%96 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.4, i64 0, i64 0), i32 %95)
%97 = call i32 (i32, ...) bitcast (i32 (...)* @putchar to i32 (i32, ...)*)(i32 10)
%98 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([146 x i8], [146 x i8]* @.str.3, i64 0, i64 0), i32 47)
%99 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.6, i64 0, i64 0), i8* getelementptr inbounds ([11 x i8], [11 x i8]* @__FUNCTION__.ifstatment, i64 0, i64 0))
ret i32 0
}

LLVM IR (-O2):
@.str = [16 x i8] c"----- START %s\0A\00"
@__FUNCTION__.ifstatment = [11 x i8] c"ifstatment\00"
@.str.1 = [7 x i8] c"x= %d\09\00"
@.str.2 = [21 x i8] c"** look at %s:%d **\0A\00"
@.str.3 = [146 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/reslaurentii/sandbox/refs/heads/master/src/ifstatment.c\00"
@.str.4 = [7 x i8] c"z= %d\09\00"
@.str.5 = [7 x i8] c"a= %d\09\00"
@.str.6 = [14 x i8] c"----- END %s\0A\00"
define i32 @ifstatment() {
%1 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([16 x i8], [16 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([11 x i8], [11 x i8]* @__FUNCTION__.ifstatment, i64 0, i64 0))
%2 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([7 x i8], [7 x i8]* @.str.1, i64 0, i64 0), i32 5)
%3 = tail call i32 (i32, ...) bitcast (i32 (...)* @putchar to i32 (i32, ...)*)(i32 10)
%4 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([21 x i8], [21 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([146 x i8], [146 x i8]* @.str.3, i64 0, i64 0), i32 13)
%5 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([7 x i8], [7 x i8]* @.str.1, i64 0, i64 0), i32 5)
%6 = tail call i32 (i32, ...) bitcast (i32 (...)* @putchar to i32 (i32, ...)*)(i32 10)
%7 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([21 x i8], [21 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([146 x i8], [146 x i8]* @.str.3, i64 0, i64 0), i32 18)
%8 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([7 x i8], [7 x i8]* @.str.1, i64 0, i64 0), i32 1)
%9 = tail call i32 (i32, ...) bitcast (i32 (...)* @putchar to i32 (i32, ...)*)(i32 10)
%10 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([21 x i8], [21 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([146 x i8], [146 x i8]* @.str.3, i64 0, i64 0), i32 23)
%11 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([7 x i8], [7 x i8]* @.str.1, i64 0, i64 0), i32 7)
%12 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([7 x i8], [7 x i8]* @.str.4, i64 0, i64 0), i32 0)
%13 = tail call i32 (i32, ...) bitcast (i32 (...)* @putchar to i32 (i32, ...)*)(i32 10)
%14 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([21 x i8], [21 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([146 x i8], [146 x i8]* @.str.3, i64 0, i64 0), i32 29)
%15 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([7 x i8], [7 x i8]* @.str.1, i64 0, i64 0), i32 3)
%16 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([7 x i8], [7 x i8]* @.str.4, i64 0, i64 0), i32 0)
%17 = tail call i32 (i32, ...) bitcast (i32 (...)* @putchar to i32 (i32, ...)*)(i32 10)
%18 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([21 x i8], [21 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([146 x i8], [146 x i8]* @.str.3, i64 0, i64 0), i32 33)
%19 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([7 x i8], [7 x i8]* @.str.1, i64 0, i64 0), i32 3)
%20 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([7 x i8], [7 x i8]* @.str.4, i64 0, i64 0), i32 1)
%21 = tail call i32 (i32, ...) bitcast (i32 (...)* @putchar to i32 (i32, ...)*)(i32 10)
%22 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([21 x i8], [21 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([146 x i8], [146 x i8]* @.str.3, i64 0, i64 0), i32 37)
%23 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([7 x i8], [7 x i8]* @.str.5, i64 0, i64 0), i32 0)
%24 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([7 x i8], [7 x i8]* @.str.4, i64 0, i64 0), i32 10)
%25 = tail call i32 (i32, ...) bitcast (i32 (...)* @putchar to i32 (i32, ...)*)(i32 10)
%26 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([21 x i8], [21 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([146 x i8], [146 x i8]* @.str.3, i64 0, i64 0), i32 42)
%27 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([7 x i8], [7 x i8]* @.str.5, i64 0, i64 0), i32 0)
%28 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([7 x i8], [7 x i8]* @.str.4, i64 0, i64 0), i32 10)
%29 = tail call i32 (i32, ...) bitcast (i32 (...)* @putchar to i32 (i32, ...)*)(i32 10)
%30 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([21 x i8], [21 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([146 x i8], [146 x i8]* @.str.3, i64 0, i64 0), i32 47)
%31 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([14 x i8], [14 x i8]* @.str.6, i64 0, i64 0), i8* getelementptr inbounds ([11 x i8], [11 x i8]* @__FUNCTION__.ifstatment, i64 0, i64 0))
ret i32 0
}