#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*/ printf(char *, char *, int);
int /*<<< orphan*/ puts(char *);
int main() {
  int s, a1 = 0;
  puts("Mar 18 2022");
  puts("/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/"
       "2022-01-22/02-19-57/repos/stanczyk/c.src/refs/heads/master/src/16/"
       "p16-02.c");
  printf("%s = %d\n", "__LINE__", 22);
  puts("00:57:34");
  s = ((2) + (3));
  printf("%s = %d\n", "s", s);
  a1 = 1;
  printf("%s = %d\n", "a1", a1);
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
movl   $0x0,-0x4(%rbp)
movl   $0x0,-0xc(%rbp)
lea    0xec3(%rip),%rdi
call   1030 <puts@plt>
lea    0xec3(%rip),%rdi
call   1030 <puts@plt>
lea    0xf42(%rip),%rdi
lea    0xf44(%rip),%rsi
mov    $0x16,%edx
call   1040 <printf@plt>
lea    0xf3c(%rip),%rdi
call   1030 <puts@plt>
movl   $0x5,-0x8(%rbp)
mov    -0x8(%rbp),%edx
lea    0xf14(%rip),%rdi
lea    0xf28(%rip),%rsi
call   1040 <printf@plt>
movl   $0x1,-0xc(%rbp)
mov    -0xc(%rbp),%edx
lea    0xef7(%rip),%rdi
lea    0xf0d(%rip),%rsi
call   1040 <printf@plt>
xor    %eax,%eax
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbx
lea    0xed8(%rip),%rdi
call   1030 <puts@plt>
lea    0xed8(%rip),%rdi
call   1030 <puts@plt>
lea    0xf57(%rip),%rbx
lea    0xf59(%rip),%rsi
mov    %rbx,%rdi
mov    $0x16,%edx
call   1040 <printf@plt>
lea    0xf4e(%rip),%rdi
call   1030 <puts@plt>
lea    0xf4b(%rip),%rsi
mov    %rbx,%rdi
mov    $0x5,%edx
call   1040 <printf@plt>
lea    0xf39(%rip),%rsi
mov    %rbx,%rdi
mov    $0x1,%edx
call   1040 <printf@plt>
xor    %eax,%eax
pop    %rbx
ret

LLVM IR (-O0):
@.str = [12 x i8] c"Mar 18 2022\00"
@.str.1 = [139 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/stanczyk/c.src/refs/heads/master/src/16/p16-02.c\00"
@.str.2 = [9 x i8] c"%s = %d\0A\00"
@.str.3 = [9 x i8] c"__LINE__\00"
@.str.4 = [9 x i8] c"00:57:34\00"
@.str.5 = [2 x i8] c"s\00"
@.str.6 = [3 x i8] c"a1\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca i32
%3 = alloca i32
store i32 0, i32* %1
store i32 0, i32* %3
%4 = call i32 @puts(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str, i64 0, i64 0))
%5 = call i32 @puts(i8* getelementptr inbounds ([139 x i8], [139 x i8]* @.str.1, i64 0, i64 0))
%6 = call i32 @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.3, i64 0, i64 0), i32 22)
%7 = call i32 @puts(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0))
store i32 5, i32* %2
%8 = load i32, i32* %2
%9 = call i32 @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.5, i64 0, i64 0), i32 %8)
store i32 1, i32* %3
%10 = load i32, i32* %3
%11 = call i32 @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.6, i64 0, i64 0), i32 %10)
ret i32 0
}

LLVM IR (-O2):
@.str = [12 x i8] c"Mar 18 2022\00"
@.str.1 = [139 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/stanczyk/c.src/refs/heads/master/src/16/p16-02.c\00"
@.str.2 = [9 x i8] c"%s = %d\0A\00"
@.str.3 = [9 x i8] c"__LINE__\00"
@.str.4 = [9 x i8] c"00:57:34\00"
@.str.5 = [2 x i8] c"s\00"
@.str.6 = [3 x i8] c"a1\00"
define i32 @main() {
%1 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([12 x i8], [12 x i8]* @.str, i64 0, i64 0))
%2 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([139 x i8], [139 x i8]* @.str.1, i64 0, i64 0))
%3 = tail call i32 @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.3, i64 0, i64 0), i32 22)
%4 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0))
%5 = tail call i32 @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.5, i64 0, i64 0), i32 5)
%6 = tail call i32 @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.6, i64 0, i64 0), i32 1)
ret i32 0
}