#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 /*<<< orphan*/ test(char *, int, char *, int, char, int, int, ...);
int main(void) {
  test(
      "/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/"
      "2022-01-22/02-19-57/repos/arsv/u2ps/refs/heads/master/test/ct_takecsi.c",
      96, "\033[m", 3, 'm', 1, 0);
  test(
      "/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/"
      "2022-01-22/02-19-57/repos/arsv/u2ps/refs/heads/master/test/ct_takecsi.c",
      97, "\033[0m", 4, 'm', 1, 0);
  test(
      "/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/"
      "2022-01-22/02-19-57/repos/arsv/u2ps/refs/heads/master/test/ct_takecsi.c",
      98, "\033[1m", 4, 'm', 1, 1);
  test(
      "/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/"
      "2022-01-22/02-19-57/repos/arsv/u2ps/refs/heads/master/test/ct_takecsi.c",
      99, "\033[1;2m", 6, 'm', 2, 1, 2);
  test(
      "/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/"
      "2022-01-22/02-19-57/repos/arsv/u2ps/refs/heads/master/test/ct_takecsi.c",
      100, "\033[12;34m", 8, 'm', 2, 12, 34);
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x20,%rsp
movl   $0x0,-0x4(%rbp)
lea    0xeda(%rip),%rdi
mov    $0x60,%esi
lea    0xf56(%rip),%rdx
mov    $0x3,%ecx
mov    $0x6d,%r8d
mov    $0x1,%r9d
xor    %eax,%eax
movl   $0x0,(%rsp)
mov    $0x0,%al
call   1030 <test@plt>
lea    0xea6(%rip),%rdi
mov    $0x61,%esi
lea    0xf26(%rip),%rdx
mov    $0x4,%ecx
mov    $0x6d,%r8d
mov    $0x1,%r9d
xor    %eax,%eax
movl   $0x0,(%rsp)
mov    $0x0,%al
call   1030 <test@plt>
lea    0xe72(%rip),%rdi
mov    $0x62,%esi
lea    0xef7(%rip),%rdx
mov    $0x4,%ecx
mov    $0x6d,%r8d
mov    $0x1,%r9d
movl   $0x1,(%rsp)
mov    $0x0,%al
call   1030 <test@plt>
lea    0xe40(%rip),%rdi
mov    $0x63,%esi
lea    0xeca(%rip),%rdx
mov    $0x6,%ecx
mov    $0x6d,%r8d
mov    $0x2,%r9d
movl   $0x1,(%rsp)
movl   $0x2,0x8(%rsp)
mov    $0x0,%al
call   1030 <test@plt>
lea    0xe06(%rip),%rdi
mov    $0x64,%esi
lea    0xe97(%rip),%rdx
mov    $0x8,%ecx
mov    $0x6d,%r8d
mov    $0x2,%r9d
movl   $0xc,(%rsp)
movl   $0x22,0x8(%rsp)
mov    $0x0,%al
call   1030 <test@plt>
xor    %eax,%eax
add    $0x20,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbx
sub    $0x10,%rsp
movl   $0x0,(%rsp)
lea    0xedd(%rip),%rbx
lea    0xf5e(%rip),%rdx
mov    %rbx,%rdi
mov    $0x60,%esi
mov    $0x3,%ecx
mov    $0x6d,%r8d
mov    $0x1,%r9d
xor    %eax,%eax
call   1030 <test@plt>
movl   $0x0,(%rsp)
lea    0xf34(%rip),%rdx
mov    %rbx,%rdi
mov    $0x61,%esi
mov    $0x4,%ecx
mov    $0x6d,%r8d
mov    $0x1,%r9d
xor    %eax,%eax
call   1030 <test@plt>
movl   $0x1,(%rsp)
lea    0xf0b(%rip),%rdx
mov    %rbx,%rdi
mov    $0x62,%esi
mov    $0x4,%ecx
mov    $0x6d,%r8d
mov    $0x1,%r9d
xor    %eax,%eax
call   1030 <test@plt>
movl   $0x2,0x8(%rsp)
movl   $0x1,(%rsp)
lea    0xeda(%rip),%rdx
mov    %rbx,%rdi
mov    $0x63,%esi
mov    $0x6,%ecx
mov    $0x6d,%r8d
mov    $0x2,%r9d
xor    %eax,%eax
call   1030 <test@plt>
movl   $0x22,0x8(%rsp)
movl   $0xc,(%rsp)
lea    0xeab(%rip),%rdx
mov    %rbx,%rdi
mov    $0x64,%esi
mov    $0x8,%ecx
mov    $0x6d,%r8d
mov    $0x2,%r9d
xor    %eax,%eax
call   1030 <test@plt>
xor    %eax,%eax
add    $0x10,%rsp
pop    %rbx
ret

LLVM IR (-O0):
@.str = [136 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/arsv/u2ps/refs/heads/master/test/ct_takecsi.c\00"
@.str.1 = [4 x i8] c"\1B[m\00"
@.str.2 = [5 x i8] c"\1B[0m\00"
@.str.3 = [5 x i8] c"\1B[1m\00"
@.str.4 = [7 x i8] c"\1B[1;2m\00"
@.str.5 = [9 x i8] c"\1B[12;34m\00"
define i32 @main() {
%1 = alloca i32
store i32 0, i32* %1
%2 = call i32 (i8*, i32, i8*, i32, i8, i32, i32, ...) @test(i8* getelementptr inbounds ([136 x i8], [136 x i8]* @.str, i64 0, i64 0), i32 96, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), i32 3, i8 signext 109, i32 1, i32 0)
%3 = call i32 (i8*, i32, i8*, i32, i8, i32, i32, ...) @test(i8* getelementptr inbounds ([136 x i8], [136 x i8]* @.str, i64 0, i64 0), i32 97, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.2, i64 0, i64 0), i32 4, i8 signext 109, i32 1, i32 0)
%4 = call i32 (i8*, i32, i8*, i32, i8, i32, i32, ...) @test(i8* getelementptr inbounds ([136 x i8], [136 x i8]* @.str, i64 0, i64 0), i32 98, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.3, i64 0, i64 0), i32 4, i8 signext 109, i32 1, i32 1)
%5 = call i32 (i8*, i32, i8*, i32, i8, i32, i32, ...) @test(i8* getelementptr inbounds ([136 x i8], [136 x i8]* @.str, i64 0, i64 0), i32 99, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.4, i64 0, i64 0), i32 6, i8 signext 109, i32 2, i32 1, i32 2)
%6 = call i32 (i8*, i32, i8*, i32, i8, i32, i32, ...) @test(i8* getelementptr inbounds ([136 x i8], [136 x i8]* @.str, i64 0, i64 0), i32 100, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.5, i64 0, i64 0), i32 8, i8 signext 109, i32 2, i32 12, i32 34)
ret i32 0
}

LLVM IR (-O2):
@.str = [136 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/arsv/u2ps/refs/heads/master/test/ct_takecsi.c\00"
@.str.1 = [4 x i8] c"\1B[m\00"
@.str.2 = [5 x i8] c"\1B[0m\00"
@.str.3 = [5 x i8] c"\1B[1m\00"
@.str.4 = [7 x i8] c"\1B[1;2m\00"
@.str.5 = [9 x i8] c"\1B[12;34m\00"
define i32 @main() {
%1 = tail call i32 (i8*, i32, i8*, i32, i8, i32, i32, ...) @test(i8* getelementptr inbounds ([136 x i8], [136 x i8]* @.str, i64 0, i64 0), i32 96, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), i32 3, i8 signext 109, i32 1, i32 0)
%2 = tail call i32 (i8*, i32, i8*, i32, i8, i32, i32, ...) @test(i8* getelementptr inbounds ([136 x i8], [136 x i8]* @.str, i64 0, i64 0), i32 97, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.2, i64 0, i64 0), i32 4, i8 signext 109, i32 1, i32 0)
%3 = tail call i32 (i8*, i32, i8*, i32, i8, i32, i32, ...) @test(i8* getelementptr inbounds ([136 x i8], [136 x i8]* @.str, i64 0, i64 0), i32 98, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.3, i64 0, i64 0), i32 4, i8 signext 109, i32 1, i32 1)
%4 = tail call i32 (i8*, i32, i8*, i32, i8, i32, i32, ...) @test(i8* getelementptr inbounds ([136 x i8], [136 x i8]* @.str, i64 0, i64 0), i32 99, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.4, i64 0, i64 0), i32 6, i8 signext 109, i32 2, i32 1, i32 2)
%5 = tail call i32 (i8*, i32, i8*, i32, i8, i32, i32, ...) @test(i8* getelementptr inbounds ([136 x i8], [136 x i8]* @.str, i64 0, i64 0), i32 100, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.5, i64 0, i64 0), i32 8, i8 signext 109, i32 2, i32 12, i32 34)
ret i32 0
}