#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 */
struct stat {
  int st_mode;
  char *st_size;
  int /*<<< orphan*/ st_mtime;
};

/* Variables and functions */
int S_IRGRP;
int S_IROTH;
int S_IRUSR;
int S_IWGRP;
int S_IWOTH;
int S_IWUSR;
int S_IXGRP;
int S_IXOTH;
int S_IXUSR;
char *ctime(int /*<<< orphan*/ *);
int /*<<< orphan*/ exit(int);
int /*<<< orphan*/ perror(char *);
int /*<<< orphan*/ printf(char *, ...);
scalar_t__ stat(char *, struct stat *);
int strlen(char *);
void listfile(char *name) {
  struct stat sb;
  char *modtime;
  char *filetype[] = {"?", "p", "c", "?", "d", "?", "b",
                      "?", "-", "?", "l", "?", "s"};
  if (stat(name, &sb) < 0) {
    perror(name);
    exit(2);
  }
  printf("%s", filetype[(sb.st_mode >> 12) & 017]);
  printf("%c%c%c%c%c%c%c%c%c", (sb.st_mode & S_IRUSR) ? 'r' : '-',
         (sb.st_mode & S_IWUSR) ? 'w' : '-', (sb.st_mode & S_IXUSR) ? 'x' : '-',
         (sb.st_mode & S_IRGRP) ? 'r' : '-', (sb.st_mode & S_IWGRP) ? 'w' : '-',
         (sb.st_mode & S_IXGRP) ? 'x' : '-', (sb.st_mode & S_IROTH) ? 'r' : '-',
         (sb.st_mode & S_IWOTH) ? 'w' : '-',
         (sb.st_mode & S_IXOTH) ? 'x' : '-');
  printf("%8ld", sb.st_size);
  modtime = ctime(&sb.st_mtime);
  modtime[strlen(modtime) - 1] = '\0';
  printf("  %s  ", modtime);
  printf("%s\n", name);
}


x86 assembly (clang, -O0):
<listfile>:
push   %rbp
mov    %rsp,%rbp
push   %r14
push   %rbx
sub    $0xc0,%rsp
mov    %rdi,-0x18(%rbp)
lea    -0xa0(%rbp),%rdi
lea    0x2be0(%rip),%rsi
mov    $0x68,%edx
call   1070 <memcpy@plt>
mov    -0x18(%rbp),%rdi
lea    -0x30(%rbp),%rsi
call   1060 <stat@plt>
cmp    $0x0,%rax
jge    11c4 <listfile+0x54>
mov    -0x18(%rbp),%rdi
call   1080 <perror@plt>
mov    $0x2,%edi
call   1090 <exit@plt>
mov    -0x30(%rbp),%eax
sar    $0xc,%eax
and    $0xf,%eax
cltq
mov    -0xa0(%rbp,%rax,8),%rsi
ff
lea    0xe2c(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
mov    -0x30(%rbp),%ecx
mov    0x2db9(%rip),%rax
and    (%rax),%ecx
mov    $0x2d,%esi
mov    $0x72,%eax
cmp    $0x0,%ecx
cmovne %eax,%esi
mov    -0x30(%rbp),%ecx
mov    0x2dc5(%rip),%rax
and    (%rax),%ecx
mov    $0x2d,%edx
mov    $0x77,%eax
cmp    $0x0,%ecx
cmovne %eax,%edx
mov    -0x30(%rbp),%edi
mov    0x2db9(%rip),%rax
and    (%rax),%edi
mov    $0x2d,%ecx
mov    $0x78,%eax
cmp    $0x0,%edi
cmovne %eax,%ecx
mov    -0x30(%rbp),%edi
mov    0x2d75(%rip),%rax
and    (%rax),%edi
mov    $0x2d,%r8d
mov    $0x72,%eax
cmp    $0x0,%edi
cmovne %eax,%r8d
mov    -0x30(%rbp),%edi
mov    0x2d77(%rip),%rax
and    (%rax),%edi
mov    $0x2d,%r9d
mov    $0x77,%eax
cmp    $0x0,%edi
cmovne %eax,%r9d
mov    -0x30(%rbp),%edi
mov    0x2d49(%rip),%rax
and    (%rax),%edi
mov    $0x2d,%ebx
mov    $0x78,%eax
cmp    $0x0,%edi
cmovne %eax,%ebx
mov    -0x30(%rbp),%edi
mov    0x2d15(%rip),%rax
and    (%rax),%edi
mov    $0x2d,%r11d
mov    $0x72,%eax
cmp    $0x0,%edi
cmovne %eax,%r11d
mov    -0x30(%rbp),%edi
mov    0x2cdf(%rip),%rax
and    (%rax),%edi
mov    $0x2d,%r10d
mov    $0x77,%eax
cmp    $0x0,%edi
cmovne %eax,%r10d
mov    -0x30(%rbp),%r14d
mov    0x2d10(%rip),%rax
and    (%rax),%r14d
mov    $0x2d,%eax
mov    $0x78,%edi
cmp    $0x0,%r14d
cmovne %edi,%eax
lea    0xd1a(%rip),%rdi
mov    %ebx,(%rsp)
mov    %r11d,0x8(%rsp)
mov    %r10d,0x10(%rsp)
mov    %eax,0x18(%rsp)
mov    $0x0,%al
call   1050 <printf@plt>
mov    -0x28(%rbp),%rsi
lea    0xd0a(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
lea    -0x30(%rbp),%rdi
add    $0x10,%rdi
call   1030 <ctime@plt>
mov    %rax,-0x38(%rbp)
mov    -0x38(%rbp),%rax
mov    %rax,-0xa8(%rbp)
mov    -0x38(%rbp),%rdi
call   1040 <strlen@plt>
mov    %eax,%ecx
mov    -0xa8(%rbp),%rax
sub    $0x1,%ecx
movslq %ecx,%rcx
movb   $0x0,(%rax,%rcx,1)
mov    -0x38(%rbp),%rsi
lea    0xcc5(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
mov    -0x18(%rbp),%rsi
lea    0xcba(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
add    $0xc0,%rsp
pop    %rbx
pop    %r14
pop    %rbp
ret

x86 assembly (clang, -O2):
<listfile>:
push   %rbp
push   %r15
push   %r14
push   %rbx
sub    $0x18,%rsp
mov    %rdi,%r14
mov    %rsp,%rsi
call   1070 <stat@plt>
test   %rax,%rax
js     12db <listfile+0x16b>
mov    (%rsp),%eax
shr    $0xa,%rax
and    $0x3c,%eax
lea    0xe8d(%rip),%rcx
movslq (%rax,%rcx,1),%rsi
add    %rcx,%rsi
lea    0xe5d(%rip),%rdi
xor    %eax,%eax
call   1060 <printf@plt>
mov    (%rsp),%eax
mov    0x2dea(%rip),%rcx
mov    (%rcx),%ecx
and    %eax,%ecx
mov    $0x2d,%ebp
mov    $0x72,%esi
cmove  %ebp,%esi
mov    $0x72,%r10d
mov    0x2df4(%rip),%rcx
mov    (%rcx),%ecx
and    %eax,%ecx
mov    $0x77,%r11d
mov    $0x77,%edx
cmove  %ebp,%edx
mov    0x2deb(%rip),%rcx
mov    (%rcx),%ecx
and    %eax,%ecx
mov    $0x78,%ecx
cmove  %ebp,%ecx
mov    0x2db0(%rip),%rbx
mov    (%rbx),%ebx
and    %eax,%ebx
mov    $0x72,%r8d
cmove  %ebp,%r8d
mov    0x2dbb(%rip),%rbx
mov    (%rbx),%ebx
and    %eax,%ebx
mov    $0x77,%r9d
cmove  %ebp,%r9d
mov    0x2d96(%rip),%rbx
mov    (%rbx),%ebx
and    %eax,%ebx
mov    $0x78,%r15d
cmove  %ebp,%r15d
mov    $0x78,%ebx
mov    0x2d64(%rip),%rdi
mov    (%rdi),%edi
and    %eax,%edi
cmove  %ebp,%r10d
mov    0x2d3d(%rip),%rdi
mov    (%rdi),%edi
and    %eax,%edi
cmove  %ebp,%r11d
mov    0x2d7e(%rip),%rdi
and    (%rdi),%eax
cmove  %ebp,%ebx
lea    0xd97(%rip),%rdi
xor    %eax,%eax
push   %rbx
push   %r11
push   %r10
push   %r15
call   1060 <printf@plt>
add    $0x20,%rsp
mov    0x8(%rsp),%rsi
lea    0xd8c(%rip),%rdi
xor    %eax,%eax
call   1060 <printf@plt>
lea    0x10(%rsp),%rdi
call   1040 <ctime@plt>
mov    %rax,%rbx
mov    %rax,%rdi
call   1050 <strlen@plt>
cltq
movb   $0x0,-0x1(%rax,%rbx,1)
lea    0xd67(%rip),%rdi
mov    %rbx,%rsi
xor    %eax,%eax
call   1060 <printf@plt>
mov    %r14,%rdi
call   1030 <puts@plt>
add    $0x18,%rsp
pop    %rbx
pop    %r14
pop    %r15
pop    %rbp
ret
mov    %r14,%rdi
call   1080 <perror@plt>
mov    $0x2,%edi
call   1090 <exit@plt>

LLVM IR (-O0):
%struct.stat = type { i32, i8*, i32 }
@.str = [2 x i8] c"?\00"
@.str.1 = [2 x i8] c"p\00"
@.str.2 = [2 x i8] c"c\00"
@.str.3 = [2 x i8] c"d\00"
@.str.4 = [2 x i8] c"b\00"
@.str.5 = [2 x i8] c"-\00"
@.str.6 = [2 x i8] c"l\00"
@.str.7 = [2 x i8] c"s\00"
@__const.listfile.filetype = [13 x i8*] [i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i32 0, i32 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i32 0, i32 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i32 0, i32 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i32 0, i32 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i32 0, i32 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i32 0, i32 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.4, i32 0, i32 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i32 0, i32 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.5, i32 0, i32 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i32 0, i32 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.6, i32 0, i32 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i32 0, i32 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.7, i32 0, i32 0)]
@.str.8 = [3 x i8] c"%s\00"
@.str.9 = [19 x i8] c"%c%c%c%c%c%c%c%c%c\00"
@S_IRUSR = global i32 0
@S_IWUSR = global i32 0
@S_IXUSR = global i32 0
@S_IRGRP = global i32 0
@S_IWGRP = global i32 0
@S_IXGRP = global i32 0
@S_IROTH = global i32 0
@S_IWOTH = global i32 0
@S_IXOTH = global i32 0
@.str.10 = [5 x i8] c"%8ld\00"
@.str.11 = [7 x i8] c" %s \00"
@.str.12 = [4 x i8] c"%s\0A\00"
define void @listfile(i8* %0) {
%2 = alloca i8*
%3 = alloca %struct.stat
%4 = alloca i8*
%5 = alloca [13 x i8*]
store i8* %0, i8** %2
%6 = bitcast [13 x i8*]* %5 to i8*
%7 = load i8*, i8** %2
%8 = call i64 @stat(i8* %7, %struct.stat* %3)
%9 = icmp slt i64 %8, 0
br i1 %9, label %10, label %14
10: ; preds = %1
%11 = load i8*, i8** %2
%12 = call i32 @perror(i8* %11)
%13 = call i32 @exit(i32 2)
unreachable
14: ; preds = %1
%15 = getelementptr inbounds %struct.stat, %struct.stat* %3, i32 0, i32 0
%16 = load i32, i32* %15
%17 = ashr i32 %16, 12
%18 = and i32 %17, 15
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds [13 x i8*], [13 x i8*]* %5, i64 0, i64 %19
%21 = load i8*, i8** %20
%22 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.8, i64 0, i64 0), i8* %21)
%23 = getelementptr inbounds %struct.stat, %struct.stat* %3, i32 0, i32 0
%24 = load i32, i32* %23
%25 = load i32, i32* @S_IRUSR
%26 = and i32 %24, %25
%27 = icmp ne i32 %26, 0
%28 = zext i1 %27 to i64
%29 = select i1 %27, i32 114, i32 45
%30 = getelementptr inbounds %struct.stat, %struct.stat* %3, i32 0, i32 0
%31 = load i32, i32* %30
%32 = load i32, i32* @S_IWUSR
%33 = and i32 %31, %32
%34 = icmp ne i32 %33, 0
%35 = zext i1 %34 to i64
%36 = select i1 %34, i32 119, i32 45
%37 = getelementptr inbounds %struct.stat, %struct.stat* %3, i32 0, i32 0
%38 = load i32, i32* %37
%39 = load i32, i32* @S_IXUSR
%40 = and i32 %38, %39
%41 = icmp ne i32 %40, 0
%42 = zext i1 %41 to i64
%43 = select i1 %41, i32 120, i32 45
%44 = getelementptr inbounds %struct.stat, %struct.stat* %3, i32 0, i32 0
%45 = load i32, i32* %44
%46 = load i32, i32* @S_IRGRP
%47 = and i32 %45, %46
%48 = icmp ne i32 %47, 0
%49 = zext i1 %48 to i64
%50 = select i1 %48, i32 114, i32 45
%51 = getelementptr inbounds %struct.stat, %struct.stat* %3, i32 0, i32 0
%52 = load i32, i32* %51
%53 = load i32, i32* @S_IWGRP
%54 = and i32 %52, %53
%55 = icmp ne i32 %54, 0
%56 = zext i1 %55 to i64
%57 = select i1 %55, i32 119, i32 45
%58 = getelementptr inbounds %struct.stat, %struct.stat* %3, i32 0, i32 0
%59 = load i32, i32* %58
%60 = load i32, i32* @S_IXGRP
%61 = and i32 %59, %60
%62 = icmp ne i32 %61, 0
%63 = zext i1 %62 to i64
%64 = select i1 %62, i32 120, i32 45
%65 = getelementptr inbounds %struct.stat, %struct.stat* %3, i32 0, i32 0
%66 = load i32, i32* %65
%67 = load i32, i32* @S_IROTH
%68 = and i32 %66, %67
%69 = icmp ne i32 %68, 0
%70 = zext i1 %69 to i64
%71 = select i1 %69, i32 114, i32 45
%72 = getelementptr inbounds %struct.stat, %struct.stat* %3, i32 0, i32 0
%73 = load i32, i32* %72
%74 = load i32, i32* @S_IWOTH
%75 = and i32 %73, %74
%76 = icmp ne i32 %75, 0
%77 = zext i1 %76 to i64
%78 = select i1 %76, i32 119, i32 45
%79 = getelementptr inbounds %struct.stat, %struct.stat* %3, i32 0, i32 0
%80 = load i32, i32* %79
%81 = load i32, i32* @S_IXOTH
%82 = and i32 %80, %81
%83 = icmp ne i32 %82, 0
%84 = zext i1 %83 to i64
%85 = select i1 %83, i32 120, i32 45
%86 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.9, i64 0, i64 0), i32 %29, i32 %36, i32 %43, i32 %50, i32 %57, i32 %64, i32 %71, i32 %78, i32 %85)
%87 = getelementptr inbounds %struct.stat, %struct.stat* %3, i32 0, i32 1
%88 = load i8*, i8** %87
%89 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.10, i64 0, i64 0), i8* %88)
%90 = getelementptr inbounds %struct.stat, %struct.stat* %3, i32 0, i32 2
%91 = call i8* @ctime(i32* %90)
store i8* %91, i8** %4
%92 = load i8*, i8** %4
%93 = load i8*, i8** %4
%94 = call i32 @strlen(i8* %93)
%95 = sub nsw i32 %94, 1
%96 = sext i32 %95 to i64
%97 = getelementptr inbounds i8, i8* %92, i64 %96
store i8 0, i8* %97
%98 = load i8*, i8** %4
%99 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.11, i64 0, i64 0), i8* %98)
%100 = load i8*, i8** %2
%101 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.12, i64 0, i64 0), i8* %100)
ret void
}

LLVM IR (-O2):
%struct.stat = type { i32, i8*, i32 }
@.str = [2 x i8] c"?\00"
@.str.1 = [2 x i8] c"p\00"
@.str.2 = [2 x i8] c"c\00"
@.str.3 = [2 x i8] c"d\00"
@.str.4 = [2 x i8] c"b\00"
@.str.5 = [2 x i8] c"-\00"
@.str.6 = [2 x i8] c"l\00"
@.str.7 = [2 x i8] c"s\00"
@reltable.listfile = [13 x i32] [i32 trunc (i64 sub (i64 ptrtoint ([2 x i8]* @.str to i64), i64 ptrtoint ([13 x i32]* @reltable.listfile to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([2 x i8]* @.str.1 to i64), i64 ptrtoint ([13 x i32]* @reltable.listfile to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([2 x i8]* @.str.2 to i64), i64 ptrtoint ([13 x i32]* @reltable.listfile to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([2 x i8]* @.str to i64), i64 ptrtoint ([13 x i32]* @reltable.listfile to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([2 x i8]* @.str.3 to i64), i64 ptrtoint ([13 x i32]* @reltable.listfile to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([2 x i8]* @.str to i64), i64 ptrtoint ([13 x i32]* @reltable.listfile to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([2 x i8]* @.str.4 to i64), i64 ptrtoint ([13 x i32]* @reltable.listfile to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([2 x i8]* @.str to i64), i64 ptrtoint ([13 x i32]* @reltable.listfile to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([2 x i8]* @.str.5 to i64), i64 ptrtoint ([13 x i32]* @reltable.listfile to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([2 x i8]* @.str to i64), i64 ptrtoint ([13 x i32]* @reltable.listfile to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([2 x i8]* @.str.6 to i64), i64 ptrtoint ([13 x i32]* @reltable.listfile to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([2 x i8]* @.str to i64), i64 ptrtoint ([13 x i32]* @reltable.listfile to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([2 x i8]* @.str.7 to i64), i64 ptrtoint ([13 x i32]* @reltable.listfile to i64)) to i32)]
@.str.8 = [3 x i8] c"%s\00"
@.str.9 = [19 x i8] c"%c%c%c%c%c%c%c%c%c\00"
@S_IRUSR = global i32 0
@S_IWUSR = global i32 0
@S_IXUSR = global i32 0
@S_IRGRP = global i32 0
@S_IWGRP = global i32 0
@S_IXGRP = global i32 0
@S_IROTH = global i32 0
@S_IWOTH = global i32 0
@S_IXOTH = global i32 0
@.str.10 = [5 x i8] c"%8ld\00"
@.str.11 = [7 x i8] c" %s \00"
define void @listfile(i8* %0) {
%2 = alloca %struct.stat
%3 = bitcast %struct.stat* %2 to i8*
%4 = call i64 @stat(i8* %0, %struct.stat* %2)
%5 = icmp slt i64 %4, 0
br i1 %5, label %6, label %9
6: ; preds = %1
%7 = call i32 @perror(i8* %0)
%8 = call i32 @exit(i32 2)
unreachable
9: ; preds = %1
%10 = getelementptr inbounds %struct.stat, %struct.stat* %2, i64 0, i32 0
%11 = load i32, i32* %10
%12 = lshr i32 %11, 12
%13 = and i32 %12, 15
%14 = zext i32 %13 to i64
%15 = shl i64 %14, 2
%16 = call i8* @llvm.load.relative.i64(i8* bitcast ([13 x i32]* @reltable.listfile to i8*), i64 %15)
%17 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str.8, i64 0, i64 0), i8* %16)
%18 = load i32, i32* %10
%19 = load i32, i32* @S_IRUSR
%20 = and i32 %19, %18
%21 = icmp eq i32 %20, 0
%22 = select i1 %21, i32 45, i32 114
%23 = load i32, i32* @S_IWUSR
%24 = and i32 %23, %18
%25 = icmp eq i32 %24, 0
%26 = select i1 %25, i32 45, i32 119
%27 = load i32, i32* @S_IXUSR
%28 = and i32 %27, %18
%29 = icmp eq i32 %28, 0
%30 = select i1 %29, i32 45, i32 120
%31 = load i32, i32* @S_IRGRP
%32 = and i32 %31, %18
%33 = icmp eq i32 %32, 0
%34 = select i1 %33, i32 45, i32 114
%35 = load i32, i32* @S_IWGRP
%36 = and i32 %35, %18
%37 = icmp eq i32 %36, 0
%38 = select i1 %37, i32 45, i32 119
%39 = load i32, i32* @S_IXGRP
%40 = and i32 %39, %18
%41 = icmp eq i32 %40, 0
%42 = select i1 %41, i32 45, i32 120
%43 = load i32, i32* @S_IROTH
%44 = and i32 %43, %18
%45 = icmp eq i32 %44, 0
%46 = select i1 %45, i32 45, i32 114
%47 = load i32, i32* @S_IWOTH
%48 = and i32 %47, %18
%49 = icmp eq i32 %48, 0
%50 = select i1 %49, i32 45, i32 119
%51 = load i32, i32* @S_IXOTH
%52 = and i32 %51, %18
%53 = icmp eq i32 %52, 0
%54 = select i1 %53, i32 45, i32 120
%55 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([19 x i8], [19 x i8]* @.str.9, i64 0, i64 0), i32 %22, i32 %26, i32 %30, i32 %34, i32 %38, i32 %42, i32 %46, i32 %50, i32 %54)
%56 = getelementptr inbounds %struct.stat, %struct.stat* %2, i64 0, i32 1
%57 = load i8*, i8** %56
%58 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.10, i64 0, i64 0), i8* %57)
%59 = getelementptr inbounds %struct.stat, %struct.stat* %2, i64 0, i32 2
%60 = call i8* @ctime(i32* %59)
%61 = call i32 @strlen(i8* %60)
%62 = add nsw i32 %61, -1
%63 = sext i32 %62 to i64
%64 = getelementptr inbounds i8, i8* %60, i64 %63
store i8 0, i8* %64
%65 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([7 x i8], [7 x i8]* @.str.11, i64 0, i64 0), i8* %60)
%66 = call i32 @puts(i8* dereferenceable(1) %0)
ret void
}