#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;
  int /*<<< orphan*/ st_mtime;
  scalar_t__ st_size;
  int /*<<< orphan*/ st_gid;
  int /*<<< orphan*/ st_uid;
  scalar_t__ st_nlink;
};
struct passwd {
  char *pw_name;
};
struct group {
  char *gr_name;
};

/* 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;
struct group *getgrgid(int /*<<< orphan*/);
struct passwd *getpwuid(int /*<<< orphan*/);
int /*<<< orphan*/ localtime(int /*<<< orphan*/ *);
int /*<<< orphan*/ printf(char *, ...);
int /*<<< orphan*/ strftime(char *, int, char *, int /*<<< orphan*/);
void file_info(struct stat *buffer) {
  printf((buffer->st_mode & S_IRUSR) ? "r" : "-");
  printf((buffer->st_mode & S_IWUSR) ? "w" : "-");
  printf((buffer->st_mode & S_IXUSR) ? "x" : "-");
  printf((buffer->st_mode & S_IRGRP) ? "r" : "-");
  printf((buffer->st_mode & S_IWGRP) ? "w" : "-");
  printf((buffer->st_mode & S_IXGRP) ? "x" : "-");
  printf((buffer->st_mode & S_IROTH) ? "r" : "-");
  printf((buffer->st_mode & S_IWOTH) ? "w" : "-");
  printf((buffer->st_mode & S_IXOTH) ? "x" : "-");
  printf(" %ld", (long)buffer->st_nlink);
  struct passwd *own = getpwuid(buffer->st_uid);
  printf(" %s", own->pw_name);
  struct group *gr = getgrgid(buffer->st_gid);
  printf(" %s", gr->gr_name);
  printf(" %lld", (long long)buffer->st_size);
  char date[14];
  strftime(date, 14, " %m %d %H:%M", localtime(&(buffer->st_mtime)));
  printf("%s", date);
}


x86 assembly (clang, -O0):
<file_info>:
push   %rbp
mov    %rsp,%rbp
sub    $0x30,%rsp
mov    %rdi,-0x8(%rbp)
mov    -0x8(%rbp),%rax
mov    (%rax),%ecx
mov    0x2e3f(%rip),%rax
and    (%rax),%ecx
lea    0xe90(%rip),%rdi
lea    0xe87(%rip),%rax
cmp    $0x0,%ecx
cmovne %rax,%rdi
mov    $0x0,%al
call   1050 <printf@plt>
mov    -0x8(%rbp),%rax
mov    (%rax),%ecx
mov    0x2e3c(%rip),%rax
and    (%rax),%ecx
lea    0xe65(%rip),%rdi
lea    0xe60(%rip),%rax
cmp    $0x0,%ecx
cmovne %rax,%rdi
mov    $0x0,%al
call   1050 <printf@plt>
mov    -0x8(%rbp),%rax
mov    (%rax),%ecx
mov    0x2e21(%rip),%rax
and    (%rax),%ecx
lea    0xe3a(%rip),%rdi
lea    0xe37(%rip),%rax
cmp    $0x0,%ecx
cmovne %rax,%rdi
mov    $0x0,%al
call   1050 <printf@plt>
mov    -0x8(%rbp),%rax
mov    (%rax),%ecx
mov    0x2dce(%rip),%rax
and    (%rax),%ecx
lea    0xe0f(%rip),%rdi
lea    0xe06(%rip),%rax
cmp    $0x0,%ecx
cmovne %rax,%rdi
mov    $0x0,%al
call   1050 <printf@plt>
mov    -0x8(%rbp),%rax
mov    (%rax),%ecx
mov    0x2dc3(%rip),%rax
and    (%rax),%ecx
lea    0xde4(%rip),%rdi
lea    0xddf(%rip),%rax
cmp    $0x0,%ecx
cmovne %rax,%rdi
mov    $0x0,%al
call   1050 <printf@plt>
mov    -0x8(%rbp),%rax
mov    (%rax),%ecx
mov    0x2d88(%rip),%rax
and    (%rax),%ecx
lea    0xdb9(%rip),%rdi
lea    0xdb6(%rip),%rax
cmp    $0x0,%ecx
cmovne %rax,%rdi
mov    $0x0,%al
call   1050 <printf@plt>
mov    -0x8(%rbp),%rax
mov    (%rax),%ecx
mov    0x2d45(%rip),%rax
and    (%rax),%ecx
lea    0xd8e(%rip),%rdi
lea    0xd85(%rip),%rax
cmp    $0x0,%ecx
cmovne %rax,%rdi
mov    $0x0,%al
call   1050 <printf@plt>
mov    -0x8(%rbp),%rax
mov    (%rax),%ecx
mov    0x2d02(%rip),%rax
and    (%rax),%ecx
lea    0xd63(%rip),%rdi
lea    0xd5e(%rip),%rax
cmp    $0x0,%ecx
cmovne %rax,%rdi
mov    $0x0,%al
call   1050 <printf@plt>
mov    -0x8(%rbp),%rax
mov    (%rax),%ecx
mov    0x2d27(%rip),%rax
and    (%rax),%ecx
lea    0xd38(%rip),%rdi
lea    0xd35(%rip),%rax
cmp    $0x0,%ecx
cmovne %rax,%rdi
mov    $0x0,%al
call   1050 <printf@plt>
mov    -0x8(%rbp),%rax
mov    0x18(%rax),%rsi
lea    0xd1a(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
mov    -0x8(%rbp),%rax
mov    0x14(%rax),%edi
call   1040 <getpwuid@plt>
mov    %rax,-0x10(%rbp)
mov    -0x10(%rbp),%rax
mov    (%rax),%rsi
lea    0xcfa(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
mov    -0x8(%rbp),%rax
mov    0x10(%rax),%edi
call   1060 <getgrgid@plt>
mov    %rax,-0x18(%rbp)
mov    -0x18(%rbp),%rax
mov    (%rax),%rsi
lea    0xcd5(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
mov    -0x8(%rbp),%rax
mov    0x8(%rax),%rsi
lea    0xcc3(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
lea    -0x26(%rbp),%rax
mov    %rax,-0x30(%rbp)
mov    -0x8(%rbp),%rdi
add    $0x4,%rdi
call   1030 <localtime@plt>
mov    -0x30(%rbp),%rdi
mov    %eax,%ecx
mov    $0xe,%esi
lea    0xc9b(%rip),%rdx
call   1070 <strftime@plt>
lea    -0x26(%rbp),%rsi
lea    0xc82(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
add    $0x30,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<file_info>:
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x10,%rsp
mov    %rdi,%rbx
mov    0x2e41(%rip),%rax
mov    (%rax),%eax
and    (%rdi),%eax
lea    0xe90(%rip),%r13
lea    0xe87(%rip),%r14
mov    %r14,%rdi
cmove  %r13,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    0x2e42(%rip),%rax
mov    (%rax),%eax
and    (%rbx),%eax
lea    0xe6b(%rip),%r15
mov    %r15,%rdi
cmove  %r13,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    0x2e32(%rip),%rax
mov    (%rax),%eax
and    (%rbx),%eax
lea    0xe4d(%rip),%r12
mov    %r12,%rdi
cmove  %r13,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    0x2dea(%rip),%rax
mov    (%rax),%eax
and    (%rbx),%eax
mov    %r14,%rdi
cmove  %r13,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    0x2df1(%rip),%rax
mov    (%rax),%eax
and    (%rbx),%eax
mov    %r15,%rdi
cmove  %r13,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    0x2dc8(%rip),%rax
mov    (%rax),%eax
and    (%rbx),%eax
mov    %r12,%rdi
cmove  %r13,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    0x2d97(%rip),%rax
mov    (%rax),%eax
and    (%rbx),%eax
cmove  %r13,%r14
mov    %r14,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    0x2d66(%rip),%rax
mov    (%rax),%eax
and    (%rbx),%eax
cmove  %r13,%r15
mov    %r15,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    0x2d9d(%rip),%rax
mov    (%rax),%eax
and    (%rbx),%eax
cmove  %r13,%r12
mov    %r12,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    0x18(%rbx),%rsi
lea    0xda0(%rip),%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    0x14(%rbx),%edi
call   1040 <getpwuid@plt>
mov    (%rax),%rsi
lea    0xd8c(%rip),%r14
mov    %r14,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    0x10(%rbx),%edi
call   1060 <getgrgid@plt>
mov    (%rax),%rsi
mov    %r14,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    0x8(%rbx),%rsi
lea    0xd66(%rip),%rdi
xor    %eax,%eax
call   1050 <printf@plt>
add    $0x4,%rbx
mov    %rbx,%rdi
call   1030 <localtime@plt>
lea    0xd52(%rip),%rdx
lea    0x2(%rsp),%rbx
mov    %rbx,%rdi
mov    $0xe,%esi
mov    %eax,%ecx
call   1070 <strftime@plt>
lea    0xd2e(%rip),%rdi
mov    %rbx,%rsi
xor    %eax,%eax
call   1050 <printf@plt>
add    $0x10,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
ret

LLVM IR (-O0):
%struct.stat = type { i32, i32, i64, i32, i32, i64 }
%struct.passwd = type { i8* }
%struct.group = type { i8* }
@S_IRUSR = global i32 0
@.str = [2 x i8] c"r\00"
@.str.1 = [2 x i8] c"-\00"
@S_IWUSR = global i32 0
@.str.2 = [2 x i8] c"w\00"
@S_IXUSR = global i32 0
@.str.3 = [2 x i8] c"x\00"
@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.4 = [5 x i8] c" %ld\00"
@.str.5 = [4 x i8] c" %s\00"
@.str.6 = [6 x i8] c" %lld\00"
@.str.7 = [13 x i8] c" %m %d %H:%M\00"
@.str.8 = [3 x i8] c"%s\00"
define void @file_info(%struct.stat* %0) {
%2 = alloca %struct.stat*
%3 = alloca %struct.passwd*
%4 = alloca %struct.group*
%5 = alloca [14 x i8]
store %struct.stat* %0, %struct.stat** %2
%6 = load %struct.stat*, %struct.stat** %2
%7 = getelementptr inbounds %struct.stat, %struct.stat* %6, i32 0, i32 0
%8 = load i32, i32* %7
%9 = load i32, i32* @S_IRUSR
%10 = and i32 %8, %9
%11 = icmp ne i32 %10, 0
%12 = zext i1 %11 to i64
%13 = select i1 %11, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0)
%14 = call i32 (i8*, ...) @printf(i8* %13)
%15 = load %struct.stat*, %struct.stat** %2
%16 = getelementptr inbounds %struct.stat, %struct.stat* %15, i32 0, i32 0
%17 = load i32, i32* %16
%18 = load i32, i32* @S_IWUSR
%19 = and i32 %17, %18
%20 = icmp ne i32 %19, 0
%21 = zext i1 %20 to i64
%22 = select i1 %20, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0)
%23 = call i32 (i8*, ...) @printf(i8* %22)
%24 = load %struct.stat*, %struct.stat** %2
%25 = getelementptr inbounds %struct.stat, %struct.stat* %24, i32 0, i32 0
%26 = load i32, i32* %25
%27 = load i32, i32* @S_IXUSR
%28 = and i32 %26, %27
%29 = icmp ne i32 %28, 0
%30 = zext i1 %29 to i64
%31 = select i1 %29, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0)
%32 = call i32 (i8*, ...) @printf(i8* %31)
%33 = load %struct.stat*, %struct.stat** %2
%34 = getelementptr inbounds %struct.stat, %struct.stat* %33, i32 0, i32 0
%35 = load i32, i32* %34
%36 = load i32, i32* @S_IRGRP
%37 = and i32 %35, %36
%38 = icmp ne i32 %37, 0
%39 = zext i1 %38 to i64
%40 = select i1 %38, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0)
%41 = call i32 (i8*, ...) @printf(i8* %40)
%42 = load %struct.stat*, %struct.stat** %2
%43 = getelementptr inbounds %struct.stat, %struct.stat* %42, i32 0, i32 0
%44 = load i32, i32* %43
%45 = load i32, i32* @S_IWGRP
%46 = and i32 %44, %45
%47 = icmp ne i32 %46, 0
%48 = zext i1 %47 to i64
%49 = select i1 %47, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0)
%50 = call i32 (i8*, ...) @printf(i8* %49)
%51 = load %struct.stat*, %struct.stat** %2
%52 = getelementptr inbounds %struct.stat, %struct.stat* %51, i32 0, i32 0
%53 = load i32, i32* %52
%54 = load i32, i32* @S_IXGRP
%55 = and i32 %53, %54
%56 = icmp ne i32 %55, 0
%57 = zext i1 %56 to i64
%58 = select i1 %56, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0)
%59 = call i32 (i8*, ...) @printf(i8* %58)
%60 = load %struct.stat*, %struct.stat** %2
%61 = getelementptr inbounds %struct.stat, %struct.stat* %60, i32 0, i32 0
%62 = load i32, i32* %61
%63 = load i32, i32* @S_IROTH
%64 = and i32 %62, %63
%65 = icmp ne i32 %64, 0
%66 = zext i1 %65 to i64
%67 = select i1 %65, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0)
%68 = call i32 (i8*, ...) @printf(i8* %67)
%69 = load %struct.stat*, %struct.stat** %2
%70 = getelementptr inbounds %struct.stat, %struct.stat* %69, i32 0, i32 0
%71 = load i32, i32* %70
%72 = load i32, i32* @S_IWOTH
%73 = and i32 %71, %72
%74 = icmp ne i32 %73, 0
%75 = zext i1 %74 to i64
%76 = select i1 %74, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0)
%77 = call i32 (i8*, ...) @printf(i8* %76)
%78 = load %struct.stat*, %struct.stat** %2
%79 = getelementptr inbounds %struct.stat, %struct.stat* %78, 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, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0)
%86 = call i32 (i8*, ...) @printf(i8* %85)
%87 = load %struct.stat*, %struct.stat** %2
%88 = getelementptr inbounds %struct.stat, %struct.stat* %87, i32 0, i32 5
%89 = load i64, i64* %88
%90 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.4, i64 0, i64 0), i64 %89)
%91 = load %struct.stat*, %struct.stat** %2
%92 = getelementptr inbounds %struct.stat, %struct.stat* %91, i32 0, i32 4
%93 = load i32, i32* %92
%94 = call %struct.passwd* @getpwuid(i32 %93)
store %struct.passwd* %94, %struct.passwd** %3
%95 = load %struct.passwd*, %struct.passwd** %3
%96 = getelementptr inbounds %struct.passwd, %struct.passwd* %95, i32 0, i32 0
%97 = load i8*, i8** %96
%98 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.5, i64 0, i64 0), i8* %97)
%99 = load %struct.stat*, %struct.stat** %2
%100 = getelementptr inbounds %struct.stat, %struct.stat* %99, i32 0, i32 3
%101 = load i32, i32* %100
%102 = call %struct.group* @getgrgid(i32 %101)
store %struct.group* %102, %struct.group** %4
%103 = load %struct.group*, %struct.group** %4
%104 = getelementptr inbounds %struct.group, %struct.group* %103, i32 0, i32 0
%105 = load i8*, i8** %104
%106 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.5, i64 0, i64 0), i8* %105)
%107 = load %struct.stat*, %struct.stat** %2
%108 = getelementptr inbounds %struct.stat, %struct.stat* %107, i32 0, i32 2
%109 = load i64, i64* %108
%110 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.6, i64 0, i64 0), i64 %109)
%111 = getelementptr inbounds [14 x i8], [14 x i8]* %5, i64 0, i64 0
%112 = load %struct.stat*, %struct.stat** %2
%113 = getelementptr inbounds %struct.stat, %struct.stat* %112, i32 0, i32 1
%114 = call i32 @localtime(i32* %113)
%115 = call i32 @strftime(i8* %111, i32 14, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.7, i64 0, i64 0), i32 %114)
%116 = getelementptr inbounds [14 x i8], [14 x i8]* %5, i64 0, i64 0
%117 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.8, i64 0, i64 0), i8* %116)
ret void
}

LLVM IR (-O2):
%struct.stat = type { i32, i32, i64, i32, i32, i64 }
%struct.passwd = type { i8* }
%struct.group = type { i8* }
@S_IRUSR = global i32 0
@.str = [2 x i8] c"r\00"
@.str.1 = [2 x i8] c"-\00"
@S_IWUSR = global i32 0
@.str.2 = [2 x i8] c"w\00"
@S_IXUSR = global i32 0
@.str.3 = [2 x i8] c"x\00"
@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.4 = [5 x i8] c" %ld\00"
@.str.5 = [4 x i8] c" %s\00"
@.str.6 = [6 x i8] c" %lld\00"
@.str.7 = [13 x i8] c" %m %d %H:%M\00"
@.str.8 = [3 x i8] c"%s\00"
define void @file_info(%struct.stat* %0) {
%2 = alloca [14 x i8]
%3 = getelementptr inbounds %struct.stat, %struct.stat* %0, i64 0, i32 0
%4 = load i32, i32* %3
%5 = load i32, i32* @S_IRUSR
%6 = and i32 %5, %4
%7 = icmp eq i32 %6, 0
%8 = select i1 %7, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0)
%9 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) %8)
%10 = load i32, i32* %3
%11 = load i32, i32* @S_IWUSR
%12 = and i32 %11, %10
%13 = icmp eq i32 %12, 0
%14 = select i1 %13, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0)
%15 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) %14)
%16 = load i32, i32* %3
%17 = load i32, i32* @S_IXUSR
%18 = and i32 %17, %16
%19 = icmp eq i32 %18, 0
%20 = select i1 %19, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0)
%21 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) %20)
%22 = load i32, i32* %3
%23 = load i32, i32* @S_IRGRP
%24 = and i32 %23, %22
%25 = icmp eq i32 %24, 0
%26 = select i1 %25, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0)
%27 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) %26)
%28 = load i32, i32* %3
%29 = load i32, i32* @S_IWGRP
%30 = and i32 %29, %28
%31 = icmp eq i32 %30, 0
%32 = select i1 %31, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0)
%33 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) %32)
%34 = load i32, i32* %3
%35 = load i32, i32* @S_IXGRP
%36 = and i32 %35, %34
%37 = icmp eq i32 %36, 0
%38 = select i1 %37, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0)
%39 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) %38)
%40 = load i32, i32* %3
%41 = load i32, i32* @S_IROTH
%42 = and i32 %41, %40
%43 = icmp eq i32 %42, 0
%44 = select i1 %43, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0)
%45 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) %44)
%46 = load i32, i32* %3
%47 = load i32, i32* @S_IWOTH
%48 = and i32 %47, %46
%49 = icmp eq i32 %48, 0
%50 = select i1 %49, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0)
%51 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) %50)
%52 = load i32, i32* %3
%53 = load i32, i32* @S_IXOTH
%54 = and i32 %53, %52
%55 = icmp eq i32 %54, 0
%56 = select i1 %55, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0)
%57 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) %56)
%58 = getelementptr inbounds %struct.stat, %struct.stat* %0, i64 0, i32 5
%59 = load i64, i64* %58
%60 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.4, i64 0, i64 0), i64 %59)
%61 = getelementptr inbounds %struct.stat, %struct.stat* %0, i64 0, i32 4
%62 = load i32, i32* %61
%63 = tail call %struct.passwd* @getpwuid(i32 %62)
%64 = getelementptr inbounds %struct.passwd, %struct.passwd* %63, i64 0, i32 0
%65 = load i8*, i8** %64
%66 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.5, i64 0, i64 0), i8* %65)
%67 = getelementptr inbounds %struct.stat, %struct.stat* %0, i64 0, i32 3
%68 = load i32, i32* %67
%69 = tail call %struct.group* @getgrgid(i32 %68)
%70 = getelementptr inbounds %struct.group, %struct.group* %69, i64 0, i32 0
%71 = load i8*, i8** %70
%72 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.5, i64 0, i64 0), i8* %71)
%73 = getelementptr inbounds %struct.stat, %struct.stat* %0, i64 0, i32 2
%74 = load i64, i64* %73
%75 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.6, i64 0, i64 0), i64 %74)
%76 = getelementptr inbounds [14 x i8], [14 x i8]* %2, i64 0, i64 0
%77 = getelementptr inbounds %struct.stat, %struct.stat* %0, i64 0, i32 1
%78 = tail call i32 @localtime(i32* %77)
%79 = call i32 @strftime(i8* %76, i32 14, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.7, i64 0, i64 0), i32 %78)
%80 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str.8, i64 0, i64 0), i8* %76)
ret void
}