#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 */

/* Variables and functions */
int pintlen(int);
int /*<<< orphan*/ printf(char *, char *, int, char *, ...);
int main(void) {
  {
    if ((pintlen(1)) == (1))
      printf("%s:%i: OK %s == %s\n",
             "/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/"
             "2022-01-22/02-19-57/repos/arsv/sninit/refs/heads/master/test/"
             "pintlen.c",
             10, "pintlen(1)", "1");
    else
      printf("%s:%i: FAIL %s = "
             "%i"
             " != %s\n",
             "/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/"
             "2022-01-22/02-19-57/repos/arsv/sninit/refs/heads/master/test/"
             "pintlen.c",
             10, "pintlen(1)", pintlen(1), "1");
  };
  {
    if ((pintlen(12)) == (2))
      printf("%s:%i: OK %s == %s\n",
             "/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/"
             "2022-01-22/02-19-57/repos/arsv/sninit/refs/heads/master/test/"
             "pintlen.c",
             11, "pintlen(12)", "2");
    else
      printf("%s:%i: FAIL %s = "
             "%i"
             " != %s\n",
             "/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/"
             "2022-01-22/02-19-57/repos/arsv/sninit/refs/heads/master/test/"
             "pintlen.c",
             11, "pintlen(12)", pintlen(12), "2");
  };
  {
    if ((pintlen(123)) == (3))
      printf("%s:%i: OK %s == %s\n",
             "/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/"
             "2022-01-22/02-19-57/repos/arsv/sninit/refs/heads/master/test/"
             "pintlen.c",
             12, "pintlen(123)", "3");
    else
      printf("%s:%i: FAIL %s = "
             "%i"
             " != %s\n",
             "/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/"
             "2022-01-22/02-19-57/repos/arsv/sninit/refs/heads/master/test/"
             "pintlen.c",
             12, "pintlen(123)", pintlen(123), "3");
  };
  {
    if ((pintlen(1234)) == (4))
      printf("%s:%i: OK %s == %s\n",
             "/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/"
             "2022-01-22/02-19-57/repos/arsv/sninit/refs/heads/master/test/"
             "pintlen.c",
             13, "pintlen(1234)", "4");
    else
      printf("%s:%i: FAIL %s = "
             "%i"
             " != %s\n",
             "/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/"
             "2022-01-22/02-19-57/repos/arsv/sninit/refs/heads/master/test/"
             "pintlen.c",
             13, "pintlen(1234)", pintlen(1234), "4");
  };
  {
    if ((pintlen(12345)) == (5))
      printf("%s:%i: OK %s == %s\n",
             "/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/"
             "2022-01-22/02-19-57/repos/arsv/sninit/refs/heads/master/test/"
             "pintlen.c",
             14, "pintlen(12345)", "5");
    else
      printf("%s:%i: FAIL %s = "
             "%i"
             " != %s\n",
             "/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/"
             "2022-01-22/02-19-57/repos/arsv/sninit/refs/heads/master/test/"
             "pintlen.c",
             14, "pintlen(12345)", pintlen(12345), "5");
  };
  {
    if ((pintlen(0)) == (0))
      printf("%s:%i: OK %s == %s\n",
             "/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/"
             "2022-01-22/02-19-57/repos/arsv/sninit/refs/heads/master/test/"
             "pintlen.c",
             15, "pintlen(0)", "0");
    else
      printf("%s:%i: FAIL %s = "
             "%i"
             " != %s\n",
             "/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/"
             "2022-01-22/02-19-57/repos/arsv/sninit/refs/heads/master/test/"
             "pintlen.c",
             15, "pintlen(0)", pintlen(0), "0");
  };
  {
    if ((pintlen(-1)) == (0))
      printf("%s:%i: OK %s == %s\n",
             "/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/"
             "2022-01-22/02-19-57/repos/arsv/sninit/refs/heads/master/test/"
             "pintlen.c",
             16, "pintlen(-1)", "0");
    else
      printf("%s:%i: FAIL %s = "
             "%i"
             " != %s\n",
             "/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/"
             "2022-01-22/02-19-57/repos/arsv/sninit/refs/heads/master/test/"
             "pintlen.c",
             16, "pintlen(-1)", pintlen(-1), "0");
  };
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
movl   $0x0,-0x4(%rbp)
mov    $0x1,%edi
call   1040 <pintlen@plt>
cmp    $0x1,%eax
jne    116f <main+0x4f>
lea    0xeb7(%rip),%rdi
lea    0xec4(%rip),%rsi
mov    $0xa,%edx
lea    0xf3f(%rip),%rcx
lea    0xf43(%rip),%r8
mov    $0x0,%al
call   1030 <printf@plt>
jmp    11a4 <main+0x84>
mov    $0x1,%edi
call   1040 <pintlen@plt>
mov    %eax,%r8d
lea    0xf25(%rip),%rdi
lea    0xe8a(%rip),%rsi
mov    $0xa,%edx
lea    0xf05(%rip),%rcx
lea    0xf09(%rip),%r9
mov    $0x0,%al
call   1030 <printf@plt>
mov    $0xc,%edi
call   1040 <pintlen@plt>
cmp    $0x2,%eax
jne    11e4 <main+0xc4>
lea    0xe42(%rip),%rdi
lea    0xe4f(%rip),%rsi
mov    $0xb,%edx
lea    0xef2(%rip),%rcx
lea    0xef7(%rip),%r8
mov    $0x0,%al
call   1030 <printf@plt>
jmp    1219 <main+0xf9>
mov    $0xc,%edi
call   1040 <pintlen@plt>
mov    %eax,%r8d
lea    0xeb0(%rip),%rdi
lea    0xe15(%rip),%rsi
mov    $0xb,%edx
lea    0xeb8(%rip),%rcx
lea    0xebd(%rip),%r9
mov    $0x0,%al
call   1030 <printf@plt>
mov    $0x7b,%edi
call   1040 <pintlen@plt>
cmp    $0x3,%eax
jne    1259 <main+0x139>
lea    0xdcd(%rip),%rdi
lea    0xdda(%rip),%rsi
mov    $0xc,%edx
lea    0xe8b(%rip),%rcx
lea    0xe91(%rip),%r8
mov    $0x0,%al
call   1030 <printf@plt>
jmp    128e <main+0x16e>
mov    $0x7b,%edi
call   1040 <pintlen@plt>
mov    %eax,%r8d
lea    0xe3b(%rip),%rdi
lea    0xda0(%rip),%rsi
mov    $0xc,%edx
lea    0xe51(%rip),%rcx
lea    0xe57(%rip),%r9
mov    $0x0,%al
call   1030 <printf@plt>
mov    $0x4d2,%edi
call   1040 <pintlen@plt>
cmp    $0x4,%eax
jne    12ce <main+0x1ae>
lea    0xd58(%rip),%rdi
lea    0xd65(%rip),%rsi
mov    $0xd,%edx
lea    0xe25(%rip),%rcx
lea    0xe2c(%rip),%r8
mov    $0x0,%al
call   1030 <printf@plt>
jmp    1303 <main+0x1e3>
mov    $0x4d2,%edi
call   1040 <pintlen@plt>
mov    %eax,%r8d
lea    0xdc6(%rip),%rdi
lea    0xd2b(%rip),%rsi
mov    $0xd,%edx
lea    0xdeb(%rip),%rcx
lea    0xdf2(%rip),%r9
mov    $0x0,%al
call   1030 <printf@plt>
mov    $0x3039,%edi
call   1040 <pintlen@plt>
cmp    $0x5,%eax
jne    1343 <main+0x223>
lea    0xce3(%rip),%rdi
lea    0xcf0(%rip),%rsi
mov    $0xe,%edx
lea    0xdc0(%rip),%rcx
lea    0xdc8(%rip),%r8
mov    $0x0,%al
call   1030 <printf@plt>
jmp    1378 <main+0x258>
mov    $0x3039,%edi
call   1040 <pintlen@plt>
mov    %eax,%r8d
lea    0xd51(%rip),%rdi
lea    0xcb6(%rip),%rsi
mov    $0xe,%edx
lea    0xd86(%rip),%rcx
lea    0xd8e(%rip),%r9
mov    $0x0,%al
call   1030 <printf@plt>
xor    %edi,%edi
call   1040 <pintlen@plt>
cmp    $0x0,%eax
jne    13b5 <main+0x295>
lea    0xc71(%rip),%rdi
lea    0xc7e(%rip),%rsi
mov    $0xf,%edx
lea    0xd5f(%rip),%rcx
lea    0xd63(%rip),%r8
mov    $0x0,%al
call   1030 <printf@plt>
jmp    13e7 <main+0x2c7>
xor    %edi,%edi
call   1040 <pintlen@plt>
mov    %eax,%r8d
lea    0xce2(%rip),%rdi
lea    0xc47(%rip),%rsi
mov    $0xf,%edx
lea    0xd28(%rip),%rcx
lea    0xd2c(%rip),%r9
mov    $0x0,%al
call   1030 <printf@plt>
mov    $0xffffffff,%edi
call   1040 <pintlen@plt>
cmp    $0x0,%eax
jne    1427 <main+0x307>
lea    0xbff(%rip),%rdi
lea    0xc0c(%rip),%rsi
mov    $0x10,%edx
lea    0xcfa(%rip),%rcx
lea    0xcf1(%rip),%r8
mov    $0x0,%al
call   1030 <printf@plt>
jmp    145c <main+0x33c>
mov    $0xffffffff,%edi
call   1040 <pintlen@plt>
mov    %eax,%r8d
lea    0xc6d(%rip),%rdi
lea    0xbd2(%rip),%rsi
mov    $0x10,%edx
lea    0xcc0(%rip),%rcx
lea    0xcb7(%rip),%r9
mov    $0x0,%al
call   1030 <printf@plt>
xor    %eax,%eax
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rax
mov    $0x1,%edi
call   1040 <pintlen@plt>
cmp    $0x1,%eax
jne    115a <main+0x3a>
lea    0xec9(%rip),%rdi
lea    0xed6(%rip),%rsi
lea    0xf56(%rip),%rcx
lea    0xf5a(%rip),%r8
mov    $0xa,%edx
xor    %eax,%eax
call   1030 <printf@plt>
jmp    118f <main+0x6f>
mov    $0x1,%edi
call   1040 <pintlen@plt>
lea    0xf3d(%rip),%rdi
lea    0xea2(%rip),%rsi
lea    0xf22(%rip),%rcx
lea    0xf26(%rip),%r9
mov    $0xa,%edx
mov    %eax,%r8d
xor    %eax,%eax
call   1030 <printf@plt>
mov    $0xc,%edi
call   1040 <pintlen@plt>
cmp    $0x2,%eax
jne    11c8 <main+0xa8>
lea    0xe5b(%rip),%rdi
lea    0xe68(%rip),%rsi
lea    0xf10(%rip),%rcx
lea    0xf15(%rip),%r8
mov    $0xb,%edx
xor    %eax,%eax
call   1030 <printf@plt>
jmp    11fd <main+0xdd>
mov    $0xc,%edi
call   1040 <pintlen@plt>
lea    0xecf(%rip),%rdi
lea    0xe34(%rip),%rsi
lea    0xedc(%rip),%rcx
lea    0xee1(%rip),%r9
mov    $0xb,%edx
mov    %eax,%r8d
xor    %eax,%eax
call   1030 <printf@plt>
mov    $0x7b,%edi
call   1040 <pintlen@plt>
cmp    $0x3,%eax
jne    1236 <main+0x116>
lea    0xded(%rip),%rdi
lea    0xdfa(%rip),%rsi
lea    0xeb0(%rip),%rcx
lea    0xeb6(%rip),%r8
mov    $0xc,%edx
xor    %eax,%eax
call   1030 <printf@plt>
jmp    126b <main+0x14b>
mov    $0x7b,%edi
call   1040 <pintlen@plt>
lea    0xe61(%rip),%rdi
lea    0xdc6(%rip),%rsi
lea    0xe7c(%rip),%rcx
lea    0xe82(%rip),%r9
mov    $0xc,%edx
mov    %eax,%r8d
xor    %eax,%eax
call   1030 <printf@plt>
mov    $0x4d2,%edi
call   1040 <pintlen@plt>
cmp    $0x4,%eax
jne    12a4 <main+0x184>
lea    0xd7f(%rip),%rdi
lea    0xd8c(%rip),%rsi
lea    0xe51(%rip),%rcx
lea    0xe58(%rip),%r8
mov    $0xd,%edx
xor    %eax,%eax
call   1030 <printf@plt>
jmp    12d9 <main+0x1b9>
mov    $0x4d2,%edi
call   1040 <pintlen@plt>
lea    0xdf3(%rip),%rdi
lea    0xd58(%rip),%rsi
lea    0xe1d(%rip),%rcx
lea    0xe24(%rip),%r9
mov    $0xd,%edx
mov    %eax,%r8d
xor    %eax,%eax
call   1030 <printf@plt>
mov    $0x3039,%edi
call   1040 <pintlen@plt>
cmp    $0x5,%eax
jne    1312 <main+0x1f2>
lea    0xd11(%rip),%rdi
lea    0xd1e(%rip),%rsi
lea    0xdf3(%rip),%rcx
lea    0xdfb(%rip),%r8
mov    $0xe,%edx
xor    %eax,%eax
call   1030 <printf@plt>
jmp    1347 <main+0x227>
mov    $0x3039,%edi
call   1040 <pintlen@plt>
lea    0xd85(%rip),%rdi
lea    0xcea(%rip),%rsi
lea    0xdbf(%rip),%rcx
lea    0xdc7(%rip),%r9
mov    $0xe,%edx
mov    %eax,%r8d
xor    %eax,%eax
call   1030 <printf@plt>
xor    %edi,%edi
call   1040 <pintlen@plt>
test   %eax,%eax
je     1386 <main+0x266>
xor    %edi,%edi
call   1040 <pintlen@plt>
lea    0xd48(%rip),%rdi
lea    0xcad(%rip),%rsi
lea    0xd93(%rip),%rcx
lea    0xd97(%rip),%r9
mov    $0xf,%edx
mov    %eax,%r8d
xor    %eax,%eax
call   1030 <printf@plt>
jmp    13ae <main+0x28e>
lea    0xc73(%rip),%rdi
lea    0xc80(%rip),%rsi
lea    0xd66(%rip),%rcx
lea    0xd6a(%rip),%r8
mov    $0xf,%edx
xor    %eax,%eax
call   1030 <printf@plt>
mov    $0xffffffff,%edi
call   1040 <pintlen@plt>
test   %eax,%eax
je     13f3 <main+0x2d3>
mov    $0xffffffff,%edi
call   1040 <pintlen@plt>
lea    0xcdb(%rip),%rdi
lea    0xc40(%rip),%rsi
lea    0xd33(%rip),%rcx
lea    0xd2a(%rip),%r9
mov    $0x10,%edx
mov    %eax,%r8d
xor    %eax,%eax
call   1030 <printf@plt>
jmp    141b <main+0x2fb>
lea    0xc06(%rip),%rdi
lea    0xc13(%rip),%rsi
lea    0xd06(%rip),%rcx
lea    0xcfd(%rip),%r8
mov    $0x10,%edx
xor    %eax,%eax
call   1030 <printf@plt>
xor    %eax,%eax
pop    %rcx
ret

LLVM IR (-O0):
@.str = [20 x i8] c"%s:%i: OK %s == %s\0A\00"
@.str.1 = [135 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/arsv/sninit/refs/heads/master/test/pintlen.c\00"
@.str.2 = [11 x i8] c"pintlen(1)\00"
@.str.3 = [2 x i8] c"1\00"
@.str.4 = [27 x i8] c"%s:%i: FAIL %s = %i != %s\0A\00"
@.str.5 = [12 x i8] c"pintlen(12)\00"
@.str.6 = [2 x i8] c"2\00"
@.str.7 = [13 x i8] c"pintlen(123)\00"
@.str.8 = [2 x i8] c"3\00"
@.str.9 = [14 x i8] c"pintlen(1234)\00"
@.str.10 = [2 x i8] c"4\00"
@.str.11 = [15 x i8] c"pintlen(12345)\00"
@.str.12 = [2 x i8] c"5\00"
@.str.13 = [11 x i8] c"pintlen(0)\00"
@.str.14 = [2 x i8] c"0\00"
@.str.15 = [12 x i8] c"pintlen(-1)\00"
define i32 @main() {
%1 = alloca i32
store i32 0, i32* %1
%2 = call i32 @pintlen(i32 1)
%3 = icmp eq i32 %2, 1
br i1 %3, label %4, label %6
4: ; preds = %0
%5 = call i32 (i8*, i8*, i32, i8*, ...) @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([135 x i8], [135 x i8]* @.str.1, i64 0, i64 0), i32 10, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0))
br label %9
6: ; preds = %0
%7 = call i32 @pintlen(i32 1)
%8 = call i32 (i8*, i8*, i32, i8*, ...) @printf(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([135 x i8], [135 x i8]* @.str.1, i64 0, i64 0), i32 10, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.2, i64 0, i64 0), i32 %7, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0))
br label %9
9: ; preds = %6, %4
%10 = call i32 @pintlen(i32 12)
%11 = icmp eq i32 %10, 2
br i1 %11, label %12, label %14
12: ; preds = %9
%13 = call i32 (i8*, i8*, i32, i8*, ...) @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([135 x i8], [135 x i8]* @.str.1, i64 0, i64 0), i32 11, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.5, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.6, i64 0, i64 0))
br label %17
14: ; preds = %9
%15 = call i32 @pintlen(i32 12)
%16 = call i32 (i8*, i8*, i32, i8*, ...) @printf(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([135 x i8], [135 x i8]* @.str.1, i64 0, i64 0), i32 11, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.5, i64 0, i64 0), i32 %15, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.6, i64 0, i64 0))
br label %17
17: ; preds = %14, %12
%18 = call i32 @pintlen(i32 123)
%19 = icmp eq i32 %18, 3
br i1 %19, label %20, label %22
20: ; preds = %17
%21 = call i32 (i8*, i8*, i32, i8*, ...) @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([135 x i8], [135 x i8]* @.str.1, i64 0, i64 0), i32 12, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.7, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.8, i64 0, i64 0))
br label %25
22: ; preds = %17
%23 = call i32 @pintlen(i32 123)
%24 = call i32 (i8*, i8*, i32, i8*, ...) @printf(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([135 x i8], [135 x i8]* @.str.1, i64 0, i64 0), i32 12, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.7, i64 0, i64 0), i32 %23, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.8, i64 0, i64 0))
br label %25
25: ; preds = %22, %20
%26 = call i32 @pintlen(i32 1234)
%27 = icmp eq i32 %26, 4
br i1 %27, label %28, label %30
28: ; preds = %25
%29 = call i32 (i8*, i8*, i32, i8*, ...) @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([135 x i8], [135 x i8]* @.str.1, i64 0, i64 0), i32 13, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.9, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.10, i64 0, i64 0))
br label %33
30: ; preds = %25
%31 = call i32 @pintlen(i32 1234)
%32 = call i32 (i8*, i8*, i32, i8*, ...) @printf(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([135 x i8], [135 x i8]* @.str.1, i64 0, i64 0), i32 13, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.9, i64 0, i64 0), i32 %31, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.10, i64 0, i64 0))
br label %33
33: ; preds = %30, %28
%34 = call i32 @pintlen(i32 12345)
%35 = icmp eq i32 %34, 5
br i1 %35, label %36, label %38
36: ; preds = %33
%37 = call i32 (i8*, i8*, i32, i8*, ...) @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([135 x i8], [135 x i8]* @.str.1, i64 0, i64 0), i32 14, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.11, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.12, i64 0, i64 0))
br label %41
38: ; preds = %33
%39 = call i32 @pintlen(i32 12345)
%40 = call i32 (i8*, i8*, i32, i8*, ...) @printf(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([135 x i8], [135 x i8]* @.str.1, i64 0, i64 0), i32 14, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.11, i64 0, i64 0), i32 %39, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.12, i64 0, i64 0))
br label %41
41: ; preds = %38, %36
%42 = call i32 @pintlen(i32 0)
%43 = icmp eq i32 %42, 0
br i1 %43, label %44, label %46
44: ; preds = %41
%45 = call i32 (i8*, i8*, i32, i8*, ...) @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([135 x i8], [135 x i8]* @.str.1, i64 0, i64 0), i32 15, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.13, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.14, i64 0, i64 0))
br label %49
46: ; preds = %41
%47 = call i32 @pintlen(i32 0)
%48 = call i32 (i8*, i8*, i32, i8*, ...) @printf(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([135 x i8], [135 x i8]* @.str.1, i64 0, i64 0), i32 15, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.13, i64 0, i64 0), i32 %47, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.14, i64 0, i64 0))
br label %49
49: ; preds = %46, %44
%50 = call i32 @pintlen(i32 -1)
%51 = icmp eq i32 %50, 0
br i1 %51, label %52, label %54
52: ; preds = %49
%53 = call i32 (i8*, i8*, i32, i8*, ...) @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([135 x i8], [135 x i8]* @.str.1, i64 0, i64 0), i32 16, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.15, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.14, i64 0, i64 0))
br label %57
54: ; preds = %49
%55 = call i32 @pintlen(i32 -1)
%56 = call i32 (i8*, i8*, i32, i8*, ...) @printf(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([135 x i8], [135 x i8]* @.str.1, i64 0, i64 0), i32 16, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.15, i64 0, i64 0), i32 %55, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.14, i64 0, i64 0))
br label %57
57: ; preds = %54, %52
ret i32 0
}

LLVM IR (-O2):
@.str = [20 x i8] c"%s:%i: OK %s == %s\0A\00"
@.str.1 = [135 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/arsv/sninit/refs/heads/master/test/pintlen.c\00"
@.str.2 = [11 x i8] c"pintlen(1)\00"
@.str.3 = [2 x i8] c"1\00"
@.str.4 = [27 x i8] c"%s:%i: FAIL %s = %i != %s\0A\00"
@.str.5 = [12 x i8] c"pintlen(12)\00"
@.str.6 = [2 x i8] c"2\00"
@.str.7 = [13 x i8] c"pintlen(123)\00"
@.str.8 = [2 x i8] c"3\00"
@.str.9 = [14 x i8] c"pintlen(1234)\00"
@.str.10 = [2 x i8] c"4\00"
@.str.11 = [15 x i8] c"pintlen(12345)\00"
@.str.12 = [2 x i8] c"5\00"
@.str.13 = [11 x i8] c"pintlen(0)\00"
@.str.14 = [2 x i8] c"0\00"
@.str.15 = [12 x i8] c"pintlen(-1)\00"
define i32 @main() {
%1 = tail call i32 @pintlen(i32 1)
%2 = icmp eq i32 %1, 1
br i1 %2, label %3, label %5
3: ; preds = %0
%4 = tail call i32 (i8*, i8*, i32, i8*, ...) @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([135 x i8], [135 x i8]* @.str.1, i64 0, i64 0), i32 10, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0))
br label %8
5: ; preds = %0
%6 = tail call i32 @pintlen(i32 1)
%7 = tail call i32 (i8*, i8*, i32, i8*, ...) @printf(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([135 x i8], [135 x i8]* @.str.1, i64 0, i64 0), i32 10, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.2, i64 0, i64 0), i32 %6, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0))
br label %8
8: ; preds = %5, %3
%9 = tail call i32 @pintlen(i32 12)
%10 = icmp eq i32 %9, 2
br i1 %10, label %11, label %13
11: ; preds = %8
%12 = tail call i32 (i8*, i8*, i32, i8*, ...) @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([135 x i8], [135 x i8]* @.str.1, i64 0, i64 0), i32 11, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.5, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.6, i64 0, i64 0))
br label %16
13: ; preds = %8
%14 = tail call i32 @pintlen(i32 12)
%15 = tail call i32 (i8*, i8*, i32, i8*, ...) @printf(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([135 x i8], [135 x i8]* @.str.1, i64 0, i64 0), i32 11, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.5, i64 0, i64 0), i32 %14, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.6, i64 0, i64 0))
br label %16
16: ; preds = %13, %11
%17 = tail call i32 @pintlen(i32 123)
%18 = icmp eq i32 %17, 3
br i1 %18, label %19, label %21
19: ; preds = %16
%20 = tail call i32 (i8*, i8*, i32, i8*, ...) @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([135 x i8], [135 x i8]* @.str.1, i64 0, i64 0), i32 12, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.7, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.8, i64 0, i64 0))
br label %24
21: ; preds = %16
%22 = tail call i32 @pintlen(i32 123)
%23 = tail call i32 (i8*, i8*, i32, i8*, ...) @printf(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([135 x i8], [135 x i8]* @.str.1, i64 0, i64 0), i32 12, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.7, i64 0, i64 0), i32 %22, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.8, i64 0, i64 0))
br label %24
24: ; preds = %21, %19
%25 = tail call i32 @pintlen(i32 1234)
%26 = icmp eq i32 %25, 4
br i1 %26, label %27, label %29
27: ; preds = %24
%28 = tail call i32 (i8*, i8*, i32, i8*, ...) @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([135 x i8], [135 x i8]* @.str.1, i64 0, i64 0), i32 13, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.9, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.10, i64 0, i64 0))
br label %32
29: ; preds = %24
%30 = tail call i32 @pintlen(i32 1234)
%31 = tail call i32 (i8*, i8*, i32, i8*, ...) @printf(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([135 x i8], [135 x i8]* @.str.1, i64 0, i64 0), i32 13, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.9, i64 0, i64 0), i32 %30, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.10, i64 0, i64 0))
br label %32
32: ; preds = %29, %27
%33 = tail call i32 @pintlen(i32 12345)
%34 = icmp eq i32 %33, 5
br i1 %34, label %35, label %37
35: ; preds = %32
%36 = tail call i32 (i8*, i8*, i32, i8*, ...) @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([135 x i8], [135 x i8]* @.str.1, i64 0, i64 0), i32 14, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.11, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.12, i64 0, i64 0))
br label %40
37: ; preds = %32
%38 = tail call i32 @pintlen(i32 12345)
%39 = tail call i32 (i8*, i8*, i32, i8*, ...) @printf(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([135 x i8], [135 x i8]* @.str.1, i64 0, i64 0), i32 14, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.11, i64 0, i64 0), i32 %38, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.12, i64 0, i64 0))
br label %40
40: ; preds = %37, %35
%41 = tail call i32 @pintlen(i32 0)
%42 = icmp eq i32 %41, 0
br i1 %42, label %43, label %45
43: ; preds = %40
%44 = tail call i32 (i8*, i8*, i32, i8*, ...) @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([135 x i8], [135 x i8]* @.str.1, i64 0, i64 0), i32 15, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.13, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.14, i64 0, i64 0))
br label %48
45: ; preds = %40
%46 = tail call i32 @pintlen(i32 0)
%47 = tail call i32 (i8*, i8*, i32, i8*, ...) @printf(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([135 x i8], [135 x i8]* @.str.1, i64 0, i64 0), i32 15, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.13, i64 0, i64 0), i32 %46, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.14, i64 0, i64 0))
br label %48
48: ; preds = %45, %43
%49 = tail call i32 @pintlen(i32 -1)
%50 = icmp eq i32 %49, 0
br i1 %50, label %51, label %53
51: ; preds = %48
%52 = tail call i32 (i8*, i8*, i32, i8*, ...) @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([135 x i8], [135 x i8]* @.str.1, i64 0, i64 0), i32 16, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.15, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.14, i64 0, i64 0))
br label %56
53: ; preds = %48
%54 = tail call i32 @pintlen(i32 -1)
%55 = tail call i32 (i8*, i8*, i32, i8*, ...) @printf(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([135 x i8], [135 x i8]* @.str.1, i64 0, i64 0), i32 16, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.15, i64 0, i64 0), i32 %54, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.14, i64 0, i64 0))
br label %56
56: ; preds = %53, %51
ret i32 0
}