int preprocessor2(void) {
  printf("----- START %s\n", __FUNCTION__);
  {
    int x = 1;
    printf("a= %d\t", (int)(- -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/"
         "preprocessor.c",
         57);
  {
    printf("a= %d\t", (int)((((10080 / 60) / 24) / 7)));
    putchar('\n');
    printf("a= %d\t", (int)((((86400 / 60) / 60) / 24)));
    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/"
         "preprocessor.c",
         63);
  {
    static char input[] = "\twihch\tif?";
    char c;
    int i, oldi, temp;
    for (oldi = -1, i = 0; (c = input[i]) != '\0'; i++)
      if (c < ' ')
        if (c == '\t')
          for (temp = 8 - (i - oldi - 1) % 8, oldi = i; temp; temp--)
            putchar(' ');
        else
          putchar(c);
    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/"
         "preprocessor.c",
         76);
  printf("----- END %s\n", __FUNCTION__);
  return 0;
}


x86 assembly (clang, -O0):
<preprocessor2>:
push   %rbp
mov    %rsp,%rbp
sub    $0x20,%rsp
lea    0xed1(%rip),%rdi
lea    0xeda(%rip),%rsi
mov    $0x0,%al
call   1040 <printf@plt>
movl   $0x1,-0x4(%rbp)
xor    %eax,%eax
sub    -0x4(%rbp),%eax
xor    %esi,%esi
sub    %eax,%esi
lea    0xeca(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    $0xa,%edi
mov    $0x0,%al
call   1030 <putchar@plt>
lea    0xeb7(%rip),%rdi
lea    0xec5(%rip),%rsi
mov    $0x39,%edx
mov    $0x0,%al
call   1040 <printf@plt>
lea    0xe96(%rip),%rdi
mov    $0x1,%esi
mov    $0x0,%al
call   1040 <printf@plt>
mov    $0xa,%edi
mov    $0x0,%al
call   1030 <putchar@plt>
lea    0xe77(%rip),%rdi
mov    $0x1,%esi
mov    $0x0,%al
call   1040 <printf@plt>
mov    $0xa,%edi
mov    $0x0,%al
call   1030 <putchar@plt>
lea    0xe5f(%rip),%rdi
lea    0xe6d(%rip),%rsi
mov    $0x3f,%edx
mov    $0x0,%al
call   1040 <printf@plt>
movl   $0xffffffff,-0x10(%rbp)
movl   $0x0,-0xc(%rbp)
movslq -0xc(%rbp),%rcx
lea    0x2e3e(%rip),%rax
mov    (%rax,%rcx,1),%al
mov    %al,-0x5(%rbp)
movsbl %al,%eax
cmp    $0x0,%eax
je     128b <preprocessor2+0x16b>
movsbl -0x5(%rbp),%eax
cmp    $0x20,%eax
jge    1278 <preprocessor2+0x158>
movsbl -0x5(%rbp),%eax
cmp    $0x9,%eax
jne    1268 <preprocessor2+0x148>
mov    -0xc(%rbp),%eax
sub    -0x10(%rbp),%eax
sub    $0x1,%eax
mov    $0x8,%ecx
cltd
idiv   %ecx
mov    $0x8,%eax
sub    %edx,%eax
mov    %eax,-0x14(%rbp)
mov    -0xc(%rbp),%eax
mov    %eax,-0x10(%rbp)
cmpl   $0x0,-0x14(%rbp)
je     1263 <preprocessor2+0x143>
mov    $0x20,%edi
mov    $0x0,%al
call   1030 <putchar@plt>
mov    -0x14(%rbp),%eax
add    $0xffffffff,%eax
mov    %eax,-0x14(%rbp)
jmp    123f <preprocessor2+0x11f>
jmp    1273 <preprocessor2+0x153>
movsbl -0x5(%rbp),%edi
mov    $0x0,%al
call   1030 <putchar@plt>
jmp    1278 <preprocessor2+0x158>
jmp    127d <preprocessor2+0x15d>
mov    -0xc(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0xc(%rbp)
jmp    11e7 <preprocessor2+0xc7>
mov    $0xa,%edi
mov    $0x0,%al
call   1030 <putchar@plt>
lea    0xd87(%rip),%rdi
lea    0xd95(%rip),%rsi
mov    $0x4c,%edx
mov    $0x0,%al
call   1040 <printf@plt>
lea    0xe16(%rip),%rdi
lea    0xd51(%rip),%rsi
mov    $0x0,%al
call   1040 <printf@plt>
xor    %eax,%eax
add    $0x20,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<preprocessor2>:
push   %rbp
push   %r15
push   %r14
push   %r12
push   %rbx
lea    0xed1(%rip),%rdi
lea    0xeda(%rip),%rsi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xeda(%rip),%rbx
mov    %rbx,%rdi
mov    $0x1,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    $0xa,%edi
xor    %eax,%eax
call   1030 <putchar@plt>
lea    0xebf(%rip),%r14
lea    0xecd(%rip),%r15
mov    %r14,%rdi
mov    %r15,%rsi
mov    $0x39,%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    %rbx,%rdi
mov    $0x1,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    $0xa,%edi
xor    %eax,%eax
call   1030 <putchar@plt>
mov    %r14,%rdi
mov    %r15,%rsi
mov    $0x3f,%edx
xor    %eax,%eax
call   1040 <printf@plt>
mov    $0xffffffff,%r12d
mov    $0x9,%edi
mov    $0x441,%r14d
lea    0xeef(%rip),%r15
xor    %ebx,%ebx
jmp    1200 <preprocessor2+0xe0>
xor    %eax,%eax
call   1030 <putchar@plt>
nopw   0x0(%rax,%rax,1)
movsbl 0x1(%rbx,%r15,1),%edi
add    $0x1,%rbx
cmp    $0xa,%rbx
je     1245 <preprocessor2+0x125>
bt     %rbx,%r14
jae    11f0 <preprocessor2+0xd0>
cmp    $0x6,%ebx
je     120f <preprocessor2+0xef>
test   %ebx,%ebx
jne    11e3 <preprocessor2+0xc3>
not    %r12d
mov    %ebx,%ebp
add    %r12d,%ebp
lea    0x7(%rbx,%r12,1),%eax
cmovns %ebp,%eax
and    $0xfffffff8,%eax
sub    %eax,%ebp
add    $0xfffffff8,%ebp
nopw   0x0(%rax,%rax,1)
mov    $0x20,%edi
xor    %eax,%eax
call   1030 <putchar@plt>
inc    %ebp
jne    1230 <preprocessor2+0x110>
mov    %ebx,%r12d
jmp    11f0 <preprocessor2+0xd0>
mov    $0xa,%edi
xor    %eax,%eax
call   1030 <putchar@plt>
lea    0xdcd(%rip),%rdi
lea    0xddb(%rip),%rsi
mov    $0x4c,%edx
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xe67(%rip),%rdi
lea    0xd97(%rip),%rsi
xor    %eax,%eax
call   1040 <printf@plt>
xor    %eax,%eax
pop    %rbx
pop    %r12
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@.str = [16 x i8] c"----- START %s\0A\00"
@__FUNCTION__.preprocessor2 = [14 x i8] c"preprocessor2\00"
@.str.1 = [7 x i8] c"a= %d\09\00"
@.str.2 = [21 x i8] c"** look at %s:%d **\0A\00"
@.str.3 = [148 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/preprocessor.c\00"
@preprocessor2.input = internal global [11 x i8] c"\09wihch\09if?\00"
@.str.4 = [14 x i8] c"----- END %s\0A\00"
define i32 @preprocessor2() {
%1 = alloca i32
%2 = alloca i8
%3 = alloca i32
%4 = alloca i32
%5 = alloca i32
%6 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([14 x i8], [14 x i8]* @__FUNCTION__.preprocessor2, i64 0, i64 0))
store i32 1, i32* %1
%7 = load i32, i32* %1
%8 = sub nsw i32 0, %7
%9 = sub nsw i32 0, %8
%10 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.1, i64 0, i64 0), i32 %9)
%11 = call i32 (i32, ...) bitcast (i32 (...)* @putchar to i32 (i32, ...)*)(i32 10)
%12 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([148 x i8], [148 x i8]* @.str.3, i64 0, i64 0), i32 57)
%13 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.1, i64 0, i64 0), i32 1)
%14 = call i32 (i32, ...) bitcast (i32 (...)* @putchar to i32 (i32, ...)*)(i32 10)
%15 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.1, i64 0, i64 0), i32 1)
%16 = call i32 (i32, ...) bitcast (i32 (...)* @putchar to i32 (i32, ...)*)(i32 10)
%17 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([148 x i8], [148 x i8]* @.str.3, i64 0, i64 0), i32 63)
store i32 -1, i32* %4
store i32 0, i32* %3
br label %18
18: ; preds = %56, %0
%19 = load i32, i32* %3
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds [11 x i8], [11 x i8]* @preprocessor2.input, i64 0, i64 %20
%22 = load i8, i8* %21
store i8 %22, i8* %2
%23 = sext i8 %22 to i32
%24 = icmp ne i32 %23, 0
br i1 %24, label %25, label %59
25: ; preds = %18
%26 = load i8, i8* %2
%27 = sext i8 %26 to i32
%28 = icmp slt i32 %27, 32
br i1 %28, label %29, label %55
29: ; preds = %25
%30 = load i8, i8* %2
%31 = sext i8 %30 to i32
%32 = icmp eq i32 %31, 9
br i1 %32, label %33, label %50
33: ; preds = %29
%34 = load i32, i32* %3
%35 = load i32, i32* %4
%36 = sub nsw i32 %34, %35
%37 = sub nsw i32 %36, 1
%38 = srem i32 %37, 8
%39 = sub nsw i32 8, %38
store i32 %39, i32* %5
%40 = load i32, i32* %3
store i32 %40, i32* %4
br label %41
41: ; preds = %46, %33
%42 = load i32, i32* %5
%43 = icmp ne i32 %42, 0
br i1 %43, label %44, label %49
44: ; preds = %41
%45 = call i32 (i32, ...) bitcast (i32 (...)* @putchar to i32 (i32, ...)*)(i32 32)
br label %46
46: ; preds = %44
%47 = load i32, i32* %5
%48 = add nsw i32 %47, -1
store i32 %48, i32* %5
br label %41
49: ; preds = %41
br label %54
50: ; preds = %29
%51 = load i8, i8* %2
%52 = sext i8 %51 to i32
%53 = call i32 (i32, ...) bitcast (i32 (...)* @putchar to i32 (i32, ...)*)(i32 %52)
br label %54
54: ; preds = %50, %49
br label %55
55: ; preds = %54, %25
br label %56
56: ; preds = %55
%57 = load i32, i32* %3
%58 = add nsw i32 %57, 1
store i32 %58, i32* %3
br label %18
59: ; preds = %18
%60 = call i32 (i32, ...) bitcast (i32 (...)* @putchar to i32 (i32, ...)*)(i32 10)
%61 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([148 x i8], [148 x i8]* @.str.3, i64 0, i64 0), i32 76)
%62 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([14 x i8], [14 x i8]* @__FUNCTION__.preprocessor2, i64 0, i64 0))
ret i32 0
}

LLVM IR (-O2):
@.str = [16 x i8] c"----- START %s\0A\00"
@__FUNCTION__.preprocessor2 = [14 x i8] c"preprocessor2\00"
@.str.1 = [7 x i8] c"a= %d\09\00"
@.str.2 = [21 x i8] c"** look at %s:%d **\0A\00"
@.str.3 = [148 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/preprocessor.c\00"
@preprocessor2.input = internal unnamed_addr constant [11 x i8] c"\09wihch\09if?\00"
@.str.4 = [14 x i8] c"----- END %s\0A\00"
define i32 @preprocessor2() {
%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 ([14 x i8], [14 x i8]* @__FUNCTION__.preprocessor2, 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 1)
%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 ([148 x i8], [148 x i8]* @.str.3, i64 0, i64 0), i32 57)
%5 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([7 x i8], [7 x i8]* @.str.1, i64 0, i64 0), i32 1)
%6 = tail call i32 (i32, ...) bitcast (i32 (...)* @putchar to i32 (i32, ...)*)(i32 10)
%7 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([7 x i8], [7 x i8]* @.str.1, i64 0, i64 0), i32 1)
%8 = tail call i32 (i32, ...) bitcast (i32 (...)* @putchar to i32 (i32, ...)*)(i32 10)
%9 = 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 ([148 x i8], [148 x i8]* @.str.3, i64 0, i64 0), i32 63)
br label %10
10: ; preds = %0, %31
%11 = phi i64 [ 0, %0 ], [ %33, %31 ]
%12 = phi i32 [ 9, %0 ], [ %36, %31 ]
%13 = phi i32 [ -1, %0 ], [ %32, %31 ]
%14 = lshr i64 1089, %11
%15 = and i64 %14, 1
%16 = icmp eq i64 %15, 0
br i1 %16, label %31, label %17
17: ; preds = %10
%18 = trunc i64 %11 to i32
switch i32 %18, label %29 [
i32 6, label %19
i32 0, label %19
]
19: ; preds = %17, %17
%20 = xor i32 %13, -1
%21 = add i32 %18, %20
%22 = srem i32 %21, 8
%23 = sub nsw i32 8, %22
br label %24
24: ; preds = %19, %24
%25 = phi i32 [ %27, %24 ], [ %23, %19 ]
%26 = tail call i32 (i32, ...) bitcast (i32 (...)* @putchar to i32 (i32, ...)*)(i32 32)
%27 = add nsw i32 %25, -1
%28 = icmp eq i32 %27, 0
br i1 %28, label %31, label %24
29: ; preds = %17
%30 = tail call i32 (i32, ...) bitcast (i32 (...)* @putchar to i32 (i32, ...)*)(i32 %12)
br label %31
31: ; preds = %24, %10, %29
%32 = phi i32 [ %13, %29 ], [ %13, %10 ], [ %18, %24 ]
%33 = add nuw nsw i64 %11, 1
%34 = getelementptr inbounds [11 x i8], [11 x i8]* @preprocessor2.input, i64 0, i64 %33
%35 = load i8, i8* %34
%36 = sext i8 %35 to i32
%37 = icmp eq i64 %33, 10
br i1 %37, label %38, label %10
38: ; preds = %31
%39 = tail call i32 (i32, ...) bitcast (i32 (...)* @putchar to i32 (i32, ...)*)(i32 10)
%40 = 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 ([148 x i8], [148 x i8]* @.str.3, i64 0, i64 0), i32 76)
%41 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([14 x i8], [14 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([14 x i8], [14 x i8]* @__FUNCTION__.preprocessor2, i64 0, i64 0))
ret i32 0
}