#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 *, ...);
int /*<<< orphan*/ socketTest();
int /*<<< orphan*/ startFakeParent();
int /*<<< orphan*/ stopFakeParent();
int main(void) {
  do {
    printf("\n/*\n/* %s\n/*\n",
           "/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/"
           "2022-01-22/02-19-57/repos/alhart2015/CPUMonitor/refs/heads/master/"
           "back/back-test.c");
  } while (0);
  ;
  startFakeParent();
  do {
    printf("(test = %s) [ ", "socketTest");
    socketTest();
    printf("]\n");
  } while (0);
  ;
  stopFakeParent();
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
movl   $0x0,-0x4(%rbp)
lea    0xeaa(%rip),%rdi
lea    0xeb1(%rip),%rsi
mov    $0x0,%al
call   1050 <printf@plt>
mov    $0x0,%al
call   1060 <startFakeParent@plt>
lea    0xf2f(%rip),%rdi
lea    0xf37(%rip),%rsi
mov    $0x0,%al
call   1050 <printf@plt>
mov    $0x0,%al
call   1030 <socketTest@plt>
lea    0xf2d(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
mov    $0x0,%al
call   1040 <stopFakeParent@plt>
xor    %eax,%eax
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rax
lea    0xea8(%rip),%rdi
lea    0xeaf(%rip),%rsi
xor    %eax,%eax
call   1060 <printf@plt>
xor    %eax,%eax
call   1070 <startFakeParent@plt>
lea    0xf2d(%rip),%rdi
lea    0xf35(%rip),%rsi
xor    %eax,%eax
call   1060 <printf@plt>
xor    %eax,%eax
call   1030 <socketTest@plt>
lea    0xf2b(%rip),%rdi
call   1040 <puts@plt>
xor    %eax,%eax
call   1050 <stopFakeParent@plt>
xor    %eax,%eax
pop    %rcx
ret

LLVM IR (-O0):
@.str = [14 x i8] c"\0A/*\0A/* %s\0A/*\0A\00"
@.str.1 = [147 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/alhart2015/CPUMonitor/refs/heads/master/back/back-test.c\00"
@.str.2 = [15 x i8] c"(test = %s) [ \00"
@.str.3 = [11 x i8] c"socketTest\00"
@.str.4 = [3 x i8] c"]\0A\00"
define i32 @main() {
%1 = alloca i32
store i32 0, i32* %1
br label %2
2: ; preds = %0
%3 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([147 x i8], [147 x i8]* @.str.1, i64 0, i64 0))
br label %4
4: ; preds = %2
%5 = call i32 (...) @startFakeParent()
br label %6
6: ; preds = %4
%7 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.3, i64 0, i64 0))
%8 = call i32 (...) @socketTest()
%9 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.4, i64 0, i64 0))
br label %10
10: ; preds = %6
%11 = call i32 (...) @stopFakeParent()
ret i32 0
}

LLVM IR (-O2):
@.str = [14 x i8] c"\0A/*\0A/* %s\0A/*\0A\00"
@.str.1 = [147 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/alhart2015/CPUMonitor/refs/heads/master/back/back-test.c\00"
@.str.2 = [15 x i8] c"(test = %s) [ \00"
@.str.3 = [11 x i8] c"socketTest\00"
@str = [2 x i8] c"]\00"
define i32 @main() {
%1 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([14 x i8], [14 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([147 x i8], [147 x i8]* @.str.1, i64 0, i64 0))
%2 = tail call i32 (...) @startFakeParent()
%3 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([15 x i8], [15 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.3, i64 0, i64 0))
%4 = tail call i32 (...) @socketTest()
%5 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([2 x i8], [2 x i8]* @str, i64 0, i64 0))
%6 = tail call i32 (...) @stopFakeParent()
ret i32 0
}