#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 */
typedef int /*<<< orphan*/ time_t;

/* Variables and functions */
int /*<<< orphan*/ _debug(char *, int, int, char *, int /*<<< orphan*/);
int /*<<< orphan*/ ctime(int /*<<< orphan*/ *);
scalar_t__ malloc(int);
int /*<<< orphan*/ parsedate(char *, int /*<<< orphan*/ *);
int /*<<< orphan*/ sprintf(char *, char *, char *, char *);
int /*<<< orphan*/ time(int /*<<< orphan*/ *);
void setTimeValue(char *searchDir) {
  void setFileTime(char *, time_t *);
  time_t *newOldTime, *newOlderTime, *newOldestTime, *newExactTime;
  char olderTime[] = "01:00:00 2002/01/01";
  char oldestTime[] = "01:00:00 2001/01/01";
  char exactTime[] = "01:00:01 2002/01/01";
  char testFile[1000] = {'\0'};
  newOldTime = (time_t *)malloc(sizeof(time_t));
  newOlderTime = (time_t *)malloc(sizeof(time_t));
  newOldestTime = (time_t *)malloc(sizeof(time_t));
  newExactTime = (time_t *)malloc(sizeof(time_t));
  *newOldTime = time(NULL);
  *newOlderTime = parsedate(olderTime, NULL);
  *newOldestTime = parsedate(oldestTime, NULL);
  *newExactTime = parsedate(exactTime, NULL);
  _debug("/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/"
         "2022-01-22/02-19-57/repos/CS4098Group/Project/refs/heads/master/peos/"
         "os/virtual_repository/testSuites/testUpdateTestSite.c",
         107, 5, "newOldTime is %s", ctime(newOldTime));
  _debug("/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/"
         "2022-01-22/02-19-57/repos/CS4098Group/Project/refs/heads/master/peos/"
         "os/virtual_repository/testSuites/testUpdateTestSite.c",
         108, 5, "newOlderTime is %s", ctime(newOlderTime));
  _debug("/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/"
         "2022-01-22/02-19-57/repos/CS4098Group/Project/refs/heads/master/peos/"
         "os/virtual_repository/testSuites/testUpdateTestSite.c",
         109, 5, "newOldestTime is %s", ctime(newOldestTime));
  _debug("/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/"
         "2022-01-22/02-19-57/repos/CS4098Group/Project/refs/heads/master/peos/"
         "os/virtual_repository/testSuites/testUpdateTestSite.c",
         110, 5, "newExactTime is %s", ctime(newExactTime));
  sprintf(testFile, "%s/%s", searchDir, "testTIME.txt");
  setFileTime(testFile, newExactTime);
  sprintf(testFile, "%s/%s", searchDir, "testID1.c");
  setFileTime(testFile, newOldestTime);
  sprintf(testFile, "%s/%s", searchDir, "testDATE1.c");
  setFileTime(testFile, newOldestTime);
  sprintf(testFile, "%s/%s", searchDir, "testNAME1.c");
  setFileTime(testFile, newOldestTime);
  sprintf(testFile, "%s/%s", searchDir, "testID2.c");
  setFileTime(testFile, newOlderTime);
  sprintf(testFile, "%s/%s", searchDir, "testDATE2.c");
  setFileTime(testFile, newOlderTime);
  sprintf(testFile, "%s/%s", searchDir, "testNAME2.c");
  setFileTime(testFile, newOlderTime);
  sprintf(testFile, "%s/%s", searchDir, "testID3.c");
  setFileTime(testFile, newOldTime);
  sprintf(testFile, "%s/%s", searchDir, "testDATE3.c");
  setFileTime(testFile, newOldTime);
  sprintf(testFile, "%s/%s", searchDir, "testNAME3.c");
  setFileTime(testFile, newOldTime);
}


x86 assembly (clang, -O0):
<setTimeValue>:
push   %rbp
mov    %rsp,%rbp
sub    $0x470,%rsp
mov    %rdi,-0x8(%rbp)
mov    0xe6a(%rip),%rax
mov    %rax,-0x40(%rbp)
mov    0xe67(%rip),%rax
mov    %rax,-0x38(%rbp)
mov    0xe65(%rip),%eax
mov    %eax,-0x30(%rbp)
mov    0xe6b(%rip),%rax
mov    %rax,-0x60(%rbp)
mov    0xe68(%rip),%rax
mov    %rax,-0x58(%rbp)
mov    0xe66(%rip),%eax
mov    %eax,-0x50(%rbp)
mov    0xe6c(%rip),%rax
mov    %rax,-0x80(%rbp)
mov    0xe69(%rip),%rax
mov    %rax,-0x78(%rbp)
mov    0xe67(%rip),%eax
mov    %eax,-0x70(%rbp)
lea    -0x470(%rbp),%rdi
xor    %esi,%esi
mov    $0x3e8,%edx
call   1040 <memset@plt>
mov    $0x4,%edi
call   1070 <malloc@plt>
mov    %rax,-0x10(%rbp)
mov    $0x4,%edi
call   1070 <malloc@plt>
mov    %rax,-0x18(%rbp)
mov    $0x4,%edi
call   1070 <malloc@plt>
mov    %rax,-0x20(%rbp)
mov    $0x4,%edi
call   1070 <malloc@plt>
mov    %rax,-0x28(%rbp)
xor    %eax,%eax
mov    %eax,%edi
call   1060 <time@plt>
mov    %eax,%ecx
mov    -0x10(%rbp),%rax
mov    %ecx,(%rax)
lea    -0x40(%rbp),%rdi
xor    %eax,%eax
mov    %eax,%esi
call   1090 <parsedate@plt>
mov    %eax,%ecx
mov    -0x18(%rbp),%rax
mov    %ecx,(%rax)
lea    -0x60(%rbp),%rdi
xor    %eax,%eax
mov    %eax,%esi
call   1090 <parsedate@plt>
mov    %eax,%ecx
mov    -0x20(%rbp),%rax
mov    %ecx,(%rax)
lea    -0x80(%rbp),%rdi
xor    %eax,%eax
mov    %eax,%esi
call   1090 <parsedate@plt>
mov    %eax,%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,(%rax)
mov    -0x10(%rbp),%rdi
call   1030 <ctime@plt>
mov    %eax,%r8d
lea    0xdba(%rip),%rdi
mov    $0x6b,%esi
mov    $0x5,%edx
lea    0xe64(%rip),%rcx
call   1050 <_debug@plt>
mov    -0x18(%rbp),%rdi
call   1030 <ctime@plt>
mov    %eax,%r8d
lea    0xd91(%rip),%rdi
mov    $0x6c,%esi
mov    $0x5,%edx
lea    0xe4c(%rip),%rcx
call   1050 <_debug@plt>
mov    -0x20(%rbp),%rdi
call   1030 <ctime@plt>
mov    %eax,%r8d
lea    0xd68(%rip),%rdi
mov    $0x6d,%esi
mov    $0x5,%edx
lea    0xe36(%rip),%rcx
call   1050 <_debug@plt>
mov    -0x28(%rbp),%rdi
call   1030 <ctime@plt>
mov    %eax,%r8d
lea    0xd3f(%rip),%rdi
mov    $0x6e,%esi
mov    $0x5,%edx
lea    0xe21(%rip),%rcx
call   1050 <_debug@plt>
lea    -0x470(%rbp),%rdi
mov    -0x8(%rbp),%rdx
lea    0xe1d(%rip),%rsi
lea    0xe1c(%rip),%rcx
call   1080 <sprintf@plt>
lea    -0x470(%rbp),%rdi
mov    -0x28(%rbp),%rsi
call   10a0 <setFileTime@plt>
lea    -0x470(%rbp),%rdi
mov    -0x8(%rbp),%rdx
lea    0xdef(%rip),%rsi
lea    0xdfb(%rip),%rcx
call   1080 <sprintf@plt>
lea    -0x470(%rbp),%rdi
mov    -0x20(%rbp),%rsi
call   10a0 <setFileTime@plt>
lea    -0x470(%rbp),%rdi
mov    -0x8(%rbp),%rdx
lea    0xdc1(%rip),%rsi
lea    0xdd7(%rip),%rcx
call   1080 <sprintf@plt>
lea    -0x470(%rbp),%rdi
mov    -0x20(%rbp),%rsi
call   10a0 <setFileTime@plt>
lea    -0x470(%rbp),%rdi
mov    -0x8(%rbp),%rdx
lea    0xd93(%rip),%rsi
lea    0xdb5(%rip),%rcx
call   1080 <sprintf@plt>
lea    -0x470(%rbp),%rdi
mov    -0x20(%rbp),%rsi
call   10a0 <setFileTime@plt>
lea    -0x470(%rbp),%rdi
mov    -0x8(%rbp),%rdx
lea    0xd65(%rip),%rsi
lea    0xd93(%rip),%rcx
call   1080 <sprintf@plt>
lea    -0x470(%rbp),%rdi
mov    -0x18(%rbp),%rsi
call   10a0 <setFileTime@plt>
lea    -0x470(%rbp),%rdi
mov    -0x8(%rbp),%rdx
lea    0xd37(%rip),%rsi
lea    0xd6f(%rip),%rcx
call   1080 <sprintf@plt>
lea    -0x470(%rbp),%rdi
mov    -0x18(%rbp),%rsi
call   10a0 <setFileTime@plt>
lea    -0x470(%rbp),%rdi
mov    -0x8(%rbp),%rdx
lea    0xd09(%rip),%rsi
lea    0xd4d(%rip),%rcx
call   1080 <sprintf@plt>
lea    -0x470(%rbp),%rdi
mov    -0x18(%rbp),%rsi
call   10a0 <setFileTime@plt>
lea    -0x470(%rbp),%rdi
mov    -0x8(%rbp),%rdx
lea    0xcdb(%rip),%rsi
lea    0xd2b(%rip),%rcx
call   1080 <sprintf@plt>
lea    -0x470(%rbp),%rdi
mov    -0x10(%rbp),%rsi
call   10a0 <setFileTime@plt>
lea    -0x470(%rbp),%rdi
mov    -0x8(%rbp),%rdx
lea    0xcad(%rip),%rsi
lea    0xd07(%rip),%rcx
call   1080 <sprintf@plt>
lea    -0x470(%rbp),%rdi
mov    -0x10(%rbp),%rsi
call   10a0 <setFileTime@plt>
lea    -0x470(%rbp),%rdi
mov    -0x8(%rbp),%rdx
lea    0xc7f(%rip),%rsi
lea    0xce5(%rip),%rcx
call   1080 <sprintf@plt>
lea    -0x470(%rbp),%rdi
mov    -0x10(%rbp),%rsi
call   10a0 <setFileTime@plt>
add    $0x470,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<setTimeValue>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x458,%rsp
mov    %rdi,%r14
movaps 0xe65(%rip),%xmm0
movaps %xmm0,0x50(%rsp)
movl   $0x31302f,0x60(%rsp)
movaps 0xe71(%rip),%xmm0
movaps %xmm0,0x30(%rsp)
movl   $0x31302f,0x40(%rsp)
movaps 0xe7d(%rip),%xmm0
movaps %xmm0,0x10(%rsp)
movl   $0x31302f,0x20(%rsp)
lea    0x70(%rsp),%r15
mov    $0x3e8,%edx
mov    %r15,%rdi
xor    %esi,%esi
call   1040 <memset@plt>
mov    $0x4,%edi
call   1070 <malloc@plt>
mov    %rax,%rbp
mov    $0x4,%edi
call   1070 <malloc@plt>
mov    %rax,%rbx
mov    $0x4,%edi
call   1070 <malloc@plt>
mov    %rax,%r13
mov    $0x4,%edi
call   1070 <malloc@plt>
mov    %rax,%r12
xor    %edi,%edi
call   1060 <time@plt>
mov    %eax,0x0(%rbp)
mov    %rbp,0x8(%rsp)
lea    0x50(%rsp),%rdi
xor    %esi,%esi
call   1090 <parsedate@plt>
mov    %eax,(%rbx)
mov    %rbx,(%rsp)
lea    0x30(%rsp),%rdi
xor    %esi,%esi
call   1090 <parsedate@plt>
mov    %eax,0x0(%r13)
lea    0x10(%rsp),%rdi
xor    %esi,%esi
call   1090 <parsedate@plt>
mov    %eax,(%r12)
mov    %rbp,%rdi
call   1030 <ctime@plt>
lea    0xdec(%rip),%rbp
lea    0xea0(%rip),%rcx
mov    %rbp,%rdi
mov    $0x6b,%esi
mov    $0x5,%edx
mov    %eax,%r8d
call   1050 <_debug@plt>
mov    %rbx,%rdi
call   1030 <ctime@plt>
lea    0xe8d(%rip),%rcx
mov    %rbp,%rdi
mov    $0x6c,%esi
mov    $0x5,%edx
mov    %eax,%r8d
call   1050 <_debug@plt>
mov    %r13,%rdi
call   1030 <ctime@plt>
lea    0xe7c(%rip),%rcx
mov    %rbp,%rdi
mov    $0x6d,%esi
mov    $0x5,%edx
mov    %eax,%r8d
call   1050 <_debug@plt>
mov    %r12,%rdi
call   1030 <ctime@plt>
lea    0xe6c(%rip),%rcx
mov    %rbp,%rdi
mov    $0x6e,%esi
mov    $0x5,%edx
mov    %eax,%r8d
call   1050 <_debug@plt>
lea    0xe63(%rip),%rbx
lea    0xe62(%rip),%rcx
mov    %r15,%rdi
mov    %rbx,%rsi
mov    %r14,%rdx
call   1080 <sprintf@plt>
mov    %r15,%rdi
mov    %r12,%rsi
call   10a0 <setFileTime@plt>
lea    0xe4f(%rip),%rcx
mov    %r15,%rdi
mov    %rbx,%rsi
mov    %r14,%rdx
call   1080 <sprintf@plt>
mov    %r15,%rdi
mov    %r13,%rsi
call   10a0 <setFileTime@plt>
lea    0xe39(%rip),%rcx
mov    %r15,%rdi
mov    %rbx,%rsi
mov    %r14,%rdx
call   1080 <sprintf@plt>
mov    %r15,%rdi
mov    %r13,%rsi
call   10a0 <setFileTime@plt>
lea    0xe25(%rip),%rcx
mov    %r15,%rdi
mov    %rbx,%rsi
mov    %r14,%rdx
call   1080 <sprintf@plt>
mov    %r15,%rdi
mov    %r13,%rsi
call   10a0 <setFileTime@plt>
lea    0xe11(%rip),%rcx
mov    %r15,%rdi
mov    %rbx,%rsi
mov    %r14,%rdx
call   1080 <sprintf@plt>
mov    %r15,%rdi
mov    (%rsp),%rbp
mov    %rbp,%rsi
call   10a0 <setFileTime@plt>
lea    0xdf7(%rip),%rcx
mov    %r15,%rdi
mov    %rbx,%rsi
mov    %r14,%rdx
call   1080 <sprintf@plt>
mov    %r15,%rdi
mov    %rbp,%rsi
call   10a0 <setFileTime@plt>
lea    0xde3(%rip),%rcx
mov    %r15,%rdi
mov    %rbx,%rsi
mov    %r14,%rdx
call   1080 <sprintf@plt>
mov    %r15,%rdi
mov    %rbp,%rsi
call   10a0 <setFileTime@plt>
lea    0xdcf(%rip),%rcx
mov    %r15,%rdi
mov    %rbx,%rsi
mov    %r14,%rdx
call   1080 <sprintf@plt>
mov    %r15,%rdi
mov    0x8(%rsp),%rbp
mov    %rbp,%rsi
call   10a0 <setFileTime@plt>
lea    0xdb4(%rip),%rcx
mov    %r15,%rdi
mov    %rbx,%rsi
mov    %r14,%rdx
call   1080 <sprintf@plt>
mov    %r15,%rdi
mov    %rbp,%rsi
call   10a0 <setFileTime@plt>
lea    0xda0(%rip),%rcx
mov    %r15,%rdi
mov    %rbx,%rsi
mov    %r14,%rdx
call   1080 <sprintf@plt>
mov    %r15,%rdi
mov    %rbp,%rsi
call   10a0 <setFileTime@plt>
add    $0x458,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@__const.setTimeValue.olderTime = [20 x i8] c"01:00:00 2002/01/01\00"
@__const.setTimeValue.oldestTime = [20 x i8] c"01:00:00 2001/01/01\00"
@__const.setTimeValue.exactTime = [20 x i8] c"01:00:01 2002/01/01\00"
@.str = [187 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/CS4098Group/Project/refs/heads/master/peos/os/virtual_repository/testSuites/testUpdateTestSite.c\00"
@.str.1 = [17 x i8] c"newOldTime is %s\00"
@.str.2 = [19 x i8] c"newOlderTime is %s\00"
@.str.3 = [20 x i8] c"newOldestTime is %s\00"
@.str.4 = [19 x i8] c"newExactTime is %s\00"
@.str.5 = [6 x i8] c"%s/%s\00"
@.str.6 = [13 x i8] c"testTIME.txt\00"
@.str.7 = [10 x i8] c"testID1.c\00"
@.str.8 = [12 x i8] c"testDATE1.c\00"
@.str.9 = [12 x i8] c"testNAME1.c\00"
@.str.10 = [10 x i8] c"testID2.c\00"
@.str.11 = [12 x i8] c"testDATE2.c\00"
@.str.12 = [12 x i8] c"testNAME2.c\00"
@.str.13 = [10 x i8] c"testID3.c\00"
@.str.14 = [12 x i8] c"testDATE3.c\00"
@.str.15 = [12 x i8] c"testNAME3.c\00"
define void @setTimeValue(i8* %0) {
%2 = alloca i8*
%3 = alloca i32*
%4 = alloca i32*
%5 = alloca i32*
%6 = alloca i32*
%7 = alloca [20 x i8]
%8 = alloca [20 x i8]
%9 = alloca [20 x i8]
%10 = alloca [1000 x i8]
store i8* %0, i8** %2
%11 = bitcast [20 x i8]* %7 to i8*
%12 = bitcast [20 x i8]* %8 to i8*
%13 = bitcast [20 x i8]* %9 to i8*
%14 = bitcast [1000 x i8]* %10 to i8*
%15 = call i64 @malloc(i32 4)
%16 = inttoptr i64 %15 to i32*
store i32* %16, i32** %3
%17 = call i64 @malloc(i32 4)
%18 = inttoptr i64 %17 to i32*
store i32* %18, i32** %4
%19 = call i64 @malloc(i32 4)
%20 = inttoptr i64 %19 to i32*
store i32* %20, i32** %5
%21 = call i64 @malloc(i32 4)
%22 = inttoptr i64 %21 to i32*
store i32* %22, i32** %6
%23 = call i32 @time(i32* null)
%24 = load i32*, i32** %3
store i32 %23, i32* %24
%25 = getelementptr inbounds [20 x i8], [20 x i8]* %7, i64 0, i64 0
%26 = call i32 @parsedate(i8* %25, i32* null)
%27 = load i32*, i32** %4
store i32 %26, i32* %27
%28 = getelementptr inbounds [20 x i8], [20 x i8]* %8, i64 0, i64 0
%29 = call i32 @parsedate(i8* %28, i32* null)
%30 = load i32*, i32** %5
store i32 %29, i32* %30
%31 = getelementptr inbounds [20 x i8], [20 x i8]* %9, i64 0, i64 0
%32 = call i32 @parsedate(i8* %31, i32* null)
%33 = load i32*, i32** %6
store i32 %32, i32* %33
%34 = load i32*, i32** %3
%35 = call i32 @ctime(i32* %34)
%36 = call i32 @_debug(i8* getelementptr inbounds ([187 x i8], [187 x i8]* @.str, i64 0, i64 0), i32 107, i32 5, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.1, i64 0, i64 0), i32 %35)
%37 = load i32*, i32** %4
%38 = call i32 @ctime(i32* %37)
%39 = call i32 @_debug(i8* getelementptr inbounds ([187 x i8], [187 x i8]* @.str, i64 0, i64 0), i32 108, i32 5, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.2, i64 0, i64 0), i32 %38)
%40 = load i32*, i32** %5
%41 = call i32 @ctime(i32* %40)
%42 = call i32 @_debug(i8* getelementptr inbounds ([187 x i8], [187 x i8]* @.str, i64 0, i64 0), i32 109, i32 5, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.3, i64 0, i64 0), i32 %41)
%43 = load i32*, i32** %6
%44 = call i32 @ctime(i32* %43)
%45 = call i32 @_debug(i8* getelementptr inbounds ([187 x i8], [187 x i8]* @.str, i64 0, i64 0), i32 110, i32 5, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.4, i64 0, i64 0), i32 %44)
%46 = getelementptr inbounds [1000 x i8], [1000 x i8]* %10, i64 0, i64 0
%47 = load i8*, i8** %2
%48 = call i32 @sprintf(i8* %46, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.5, i64 0, i64 0), i8* %47, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.6, i64 0, i64 0))
%49 = getelementptr inbounds [1000 x i8], [1000 x i8]* %10, i64 0, i64 0
%50 = load i32*, i32** %6
%51 = getelementptr inbounds [1000 x i8], [1000 x i8]* %10, i64 0, i64 0
%52 = load i8*, i8** %2
%53 = call i32 @sprintf(i8* %51, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.5, i64 0, i64 0), i8* %52, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.7, i64 0, i64 0))
%54 = getelementptr inbounds [1000 x i8], [1000 x i8]* %10, i64 0, i64 0
%55 = load i32*, i32** %5
%56 = getelementptr inbounds [1000 x i8], [1000 x i8]* %10, i64 0, i64 0
%57 = load i8*, i8** %2
%58 = call i32 @sprintf(i8* %56, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.5, i64 0, i64 0), i8* %57, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.8, i64 0, i64 0))
%59 = getelementptr inbounds [1000 x i8], [1000 x i8]* %10, i64 0, i64 0
%60 = load i32*, i32** %5
%61 = getelementptr inbounds [1000 x i8], [1000 x i8]* %10, i64 0, i64 0
%62 = load i8*, i8** %2
%63 = call i32 @sprintf(i8* %61, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.5, i64 0, i64 0), i8* %62, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.9, i64 0, i64 0))
%64 = getelementptr inbounds [1000 x i8], [1000 x i8]* %10, i64 0, i64 0
%65 = load i32*, i32** %5
%66 = getelementptr inbounds [1000 x i8], [1000 x i8]* %10, i64 0, i64 0
%67 = load i8*, i8** %2
%68 = call i32 @sprintf(i8* %66, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.5, i64 0, i64 0), i8* %67, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.10, i64 0, i64 0))
%69 = getelementptr inbounds [1000 x i8], [1000 x i8]* %10, i64 0, i64 0
%70 = load i32*, i32** %4
%71 = getelementptr inbounds [1000 x i8], [1000 x i8]* %10, i64 0, i64 0
%72 = load i8*, i8** %2
%73 = call i32 @sprintf(i8* %71, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.5, i64 0, i64 0), i8* %72, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.11, i64 0, i64 0))
%74 = getelementptr inbounds [1000 x i8], [1000 x i8]* %10, i64 0, i64 0
%75 = load i32*, i32** %4
%76 = getelementptr inbounds [1000 x i8], [1000 x i8]* %10, i64 0, i64 0
%77 = load i8*, i8** %2
%78 = call i32 @sprintf(i8* %76, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.5, i64 0, i64 0), i8* %77, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.12, i64 0, i64 0))
%79 = getelementptr inbounds [1000 x i8], [1000 x i8]* %10, i64 0, i64 0
%80 = load i32*, i32** %4
%81 = getelementptr inbounds [1000 x i8], [1000 x i8]* %10, i64 0, i64 0
%82 = load i8*, i8** %2
%83 = call i32 @sprintf(i8* %81, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.5, i64 0, i64 0), i8* %82, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.13, i64 0, i64 0))
%84 = getelementptr inbounds [1000 x i8], [1000 x i8]* %10, i64 0, i64 0
%85 = load i32*, i32** %3
%86 = getelementptr inbounds [1000 x i8], [1000 x i8]* %10, i64 0, i64 0
%87 = load i8*, i8** %2
%88 = call i32 @sprintf(i8* %86, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.5, i64 0, i64 0), i8* %87, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.14, i64 0, i64 0))
%89 = getelementptr inbounds [1000 x i8], [1000 x i8]* %10, i64 0, i64 0
%90 = load i32*, i32** %3
%91 = getelementptr inbounds [1000 x i8], [1000 x i8]* %10, i64 0, i64 0
%92 = load i8*, i8** %2
%93 = call i32 @sprintf(i8* %91, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.5, i64 0, i64 0), i8* %92, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.15, i64 0, i64 0))
%94 = getelementptr inbounds [1000 x i8], [1000 x i8]* %10, i64 0, i64 0
%95 = load i32*, i32** %3
ret void
}

LLVM IR (-O2):
@__const.setTimeValue.olderTime = [20 x i8] c"01:00:00 2002/01/01\00"
@__const.setTimeValue.oldestTime = [20 x i8] c"01:00:00 2001/01/01\00"
@__const.setTimeValue.exactTime = [20 x i8] c"01:00:01 2002/01/01\00"
@.str = [187 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/CS4098Group/Project/refs/heads/master/peos/os/virtual_repository/testSuites/testUpdateTestSite.c\00"
@.str.1 = [17 x i8] c"newOldTime is %s\00"
@.str.2 = [19 x i8] c"newOlderTime is %s\00"
@.str.3 = [20 x i8] c"newOldestTime is %s\00"
@.str.4 = [19 x i8] c"newExactTime is %s\00"
@.str.5 = [6 x i8] c"%s/%s\00"
@.str.6 = [13 x i8] c"testTIME.txt\00"
@.str.7 = [10 x i8] c"testID1.c\00"
@.str.8 = [12 x i8] c"testDATE1.c\00"
@.str.9 = [12 x i8] c"testNAME1.c\00"
@.str.10 = [10 x i8] c"testID2.c\00"
@.str.11 = [12 x i8] c"testDATE2.c\00"
@.str.12 = [12 x i8] c"testNAME2.c\00"
@.str.13 = [10 x i8] c"testID3.c\00"
@.str.14 = [12 x i8] c"testDATE3.c\00"
@.str.15 = [12 x i8] c"testNAME3.c\00"
define void @setTimeValue(i8* %0) {
%2 = alloca [20 x i8]
%3 = alloca [20 x i8]
%4 = alloca [20 x i8]
%5 = alloca [1000 x i8]
%6 = getelementptr inbounds [20 x i8], [20 x i8]* %2, i64 0, i64 0
%7 = getelementptr inbounds [20 x i8], [20 x i8]* %3, i64 0, i64 0
%8 = getelementptr inbounds [20 x i8], [20 x i8]* %4, i64 0, i64 0
%9 = getelementptr inbounds [1000 x i8], [1000 x i8]* %5, i64 0, i64 0
%10 = tail call i64 @malloc(i32 4)
%11 = inttoptr i64 %10 to i32*
%12 = tail call i64 @malloc(i32 4)
%13 = inttoptr i64 %12 to i32*
%14 = tail call i64 @malloc(i32 4)
%15 = inttoptr i64 %14 to i32*
%16 = tail call i64 @malloc(i32 4)
%17 = inttoptr i64 %16 to i32*
%18 = tail call i32 @time(i32* null)
store i32 %18, i32* %11
%19 = call i32 @parsedate(i8* %6, i32* null)
store i32 %19, i32* %13
%20 = call i32 @parsedate(i8* %7, i32* null)
store i32 %20, i32* %15
%21 = call i32 @parsedate(i8* %8, i32* null)
store i32 %21, i32* %17
%22 = call i32 @ctime(i32* %11)
%23 = call i32 @_debug(i8* getelementptr inbounds ([187 x i8], [187 x i8]* @.str, i64 0, i64 0), i32 107, i32 5, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.1, i64 0, i64 0), i32 %22)
%24 = call i32 @ctime(i32* %13)
%25 = call i32 @_debug(i8* getelementptr inbounds ([187 x i8], [187 x i8]* @.str, i64 0, i64 0), i32 108, i32 5, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.2, i64 0, i64 0), i32 %24)
%26 = call i32 @ctime(i32* %15)
%27 = call i32 @_debug(i8* getelementptr inbounds ([187 x i8], [187 x i8]* @.str, i64 0, i64 0), i32 109, i32 5, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.3, i64 0, i64 0), i32 %26)
%28 = call i32 @ctime(i32* %17)
%29 = call i32 @_debug(i8* getelementptr inbounds ([187 x i8], [187 x i8]* @.str, i64 0, i64 0), i32 110, i32 5, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.4, i64 0, i64 0), i32 %28)
%30 = call i32 @sprintf(i8* %9, i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.5, i64 0, i64 0), i8* %0, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.6, i64 0, i64 0))
%31 = call i32 @sprintf(i8* %9, i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.5, i64 0, i64 0), i8* %0, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.7, i64 0, i64 0))
%32 = call i32 @sprintf(i8* %9, i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.5, i64 0, i64 0), i8* %0, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.8, i64 0, i64 0))
%33 = call i32 @sprintf(i8* %9, i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.5, i64 0, i64 0), i8* %0, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.9, i64 0, i64 0))
%34 = call i32 @sprintf(i8* %9, i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.5, i64 0, i64 0), i8* %0, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.10, i64 0, i64 0))
%35 = call i32 @sprintf(i8* %9, i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.5, i64 0, i64 0), i8* %0, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.11, i64 0, i64 0))
%36 = call i32 @sprintf(i8* %9, i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.5, i64 0, i64 0), i8* %0, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.12, i64 0, i64 0))
%37 = call i32 @sprintf(i8* %9, i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.5, i64 0, i64 0), i8* %0, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.13, i64 0, i64 0))
%38 = call i32 @sprintf(i8* %9, i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.5, i64 0, i64 0), i8* %0, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.14, i64 0, i64 0))
%39 = call i32 @sprintf(i8* %9, i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.5, i64 0, i64 0), i8* %0, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.15, i64 0, i64 0))
ret void
}