#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_ctime;
  int /*<<< orphan*/ st_mtime;
  int /*<<< orphan*/ st_atime;
};

/* 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*/ fprintf(int /*<<< orphan*/, char *);
int /*<<< orphan*/ perror(char *);
int /*<<< orphan*/ printf(char *, ...);
scalar_t__ stat(char *, struct stat *);
int /*<<< orphan*/ stderr;
int main(int argc, char *argv[]) {
  struct stat sb;
  char *filetype[] = {"unknown",   "FIFO",    "character device", "unknown",
                      "directory", "unknown", "block device",     "unknown",
                      "file",      "unknown", "symlink",          "unknown",
                      "socket"};
  if (argc != 2) {
    fprintf(stderr, "usage: listfile filename\n");
    exit(1);
  }
  if (stat(argv[1], &sb) < 0) {
    perror(argv[1]);
    exit(2);
  }
  printf("file type: %s\n", filetype[(sb.st_mode >> 12) & 017]);
  printf("permissions:   %c%c%c%c%c%c%c%c%c\n",
         (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("last accessed: %s", ctime(&sb.st_atime));
  printf("last modified: %s", ctime(&sb.st_mtime));
  printf("last change:   %s", ctime(&sb.st_ctime));
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
push   %r14
push   %rbx
sub    $0xb0,%rsp
mov    %edi,-0x14(%rbp)
mov    %rsi,-0x20(%rbp)
lea    -0xa0(%rbp),%rdi
lea    0x2bcd(%rip),%rsi
mov    $0x68,%edx
call   1070 <memcpy@plt>
cmpl   $0x2,-0x14(%rbp)
je     11c6 <main+0x56>
mov    0x2e02(%rip),%rax
mov    (%rax),%edi
lea    0xe92(%rip),%rsi
call   1050 <fprintf@plt>
mov    $0x1,%edi
call   1090 <exit@plt>
mov    -0x20(%rbp),%rax
mov    0x8(%rax),%rdi
lea    -0x30(%rbp),%rsi
call   1060 <stat@plt>
cmp    $0x0,%rax
jge    11f8 <main+0x88>
mov    -0x20(%rbp),%rax
mov    0x8(%rax),%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    0xe51(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0x30(%rbp),%ecx
mov    0x2d75(%rip),%rax
and    (%rax),%ecx
mov    $0x2d,%esi
mov    $0x72,%eax
cmp    $0x0,%ecx
cmovne %eax,%esi
mov    -0x30(%rbp),%ecx
mov    0x2d89(%rip),%rax
and    (%rax),%ecx
mov    $0x2d,%edx
mov    $0x77,%eax
cmp    $0x0,%ecx
cmovne %eax,%edx
mov    -0x30(%rbp),%edi
mov    0x2d7d(%rip),%rax
and    (%rax),%edi
mov    $0x2d,%ecx
mov    $0x78,%eax
cmp    $0x0,%edi
cmovne %eax,%ecx
mov    -0x30(%rbp),%edi
mov    0x2d31(%rip),%rax
and    (%rax),%edi
mov    $0x2d,%r8d
mov    $0x72,%eax
cmp    $0x0,%edi
cmovne %eax,%r8d
mov    -0x30(%rbp),%edi
mov    0x2d3b(%rip),%rax
and    (%rax),%edi
mov    $0x2d,%r9d
mov    $0x77,%eax
cmp    $0x0,%edi
cmovne %eax,%r9d
mov    -0x30(%rbp),%edi
mov    0x2d0d(%rip),%rax
and    (%rax),%edi
mov    $0x2d,%ebx
mov    $0x78,%eax
cmp    $0x0,%edi
cmovne %eax,%ebx
mov    -0x30(%rbp),%edi
mov    0x2cd1(%rip),%rax
and    (%rax),%edi
mov    $0x2d,%r11d
mov    $0x72,%eax
cmp    $0x0,%edi
cmovne %eax,%r11d
mov    -0x30(%rbp),%edi
mov    0x2c9b(%rip),%rax
and    (%rax),%edi
mov    $0x2d,%r10d
mov    $0x77,%eax
cmp    $0x0,%edi
cmovne %eax,%r10d
mov    -0x30(%rbp),%r14d
mov    0x2cd4(%rip),%rax
and    (%rax),%r14d
mov    $0x2d,%eax
mov    $0x78,%edi
cmp    $0x0,%r14d
cmovne %edi,%eax
lea    0xd4b(%rip),%rdi
mov    %ebx,(%rsp)
mov    %r11d,0x8(%rsp)
mov    %r10d,0x10(%rsp)
mov    %eax,0x18(%rsp)
mov    $0x0,%al
call   1040 <printf@plt>
lea    -0x30(%rbp),%rdi
add    $0xc,%rdi
call   1030 <ctime@plt>
mov    %rax,%rsi
lea    0xd3f(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
lea    -0x30(%rbp),%rdi
add    $0x8,%rdi
call   1030 <ctime@plt>
mov    %rax,%rsi
lea    0xd33(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
lea    -0x30(%rbp),%rdi
add    $0x4,%rdi
call   1030 <ctime@plt>
mov    %rax,%rsi
lea    0xd27(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
xor    %eax,%eax
add    $0xb0,%rsp
pop    %rbx
pop    %r14
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r14
push   %rbx
sub    $0x10,%rsp
cmp    $0x2,%edi
jne    12df <main+0x17f>
mov    %rsi,%rbx
mov    0x8(%rsi),%rdi
mov    %rsp,%rsi
call   1060 <stat@plt>
test   %rax,%rax
js     12fe <main+0x19e>
mov    (%rsp),%eax
shr    $0xa,%rax
and    $0x3c,%eax
lea    0xf32(%rip),%rcx
movslq (%rax,%rcx,1),%rsi
add    %rcx,%rsi
lea    0xebb(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    (%rsp),%eax
mov    0x2de7(%rip),%rcx
mov    (%rcx),%ecx
and    %eax,%ecx
mov    $0x2d,%ebp
mov    $0x72,%esi
cmove  %ebp,%esi
mov    $0x72,%r10d
mov    0x2df9(%rip),%rcx
mov    (%rcx),%ecx
and    %eax,%ecx
mov    $0x77,%r11d
mov    $0x77,%edx
cmove  %ebp,%edx
mov    0x2df0(%rip),%rcx
mov    (%rcx),%ecx
and    %eax,%ecx
mov    $0x78,%ecx
cmove  %ebp,%ecx
mov    0x2dad(%rip),%rbx
mov    (%rbx),%ebx
and    %eax,%ebx
mov    $0x72,%r8d
cmove  %ebp,%r8d
mov    0x2dc0(%rip),%rbx
mov    (%rbx),%ebx
and    %eax,%ebx
mov    $0x77,%r9d
cmove  %ebp,%r9d
mov    0x2d9b(%rip),%rbx
mov    (%rbx),%ebx
and    %eax,%ebx
mov    $0x78,%r14d
cmove  %ebp,%r14d
mov    $0x78,%ebx
mov    0x2d61(%rip),%rdi
mov    (%rdi),%edi
and    %eax,%edi
cmove  %ebp,%r10d
mov    0x2d3a(%rip),%rdi
mov    (%rdi),%edi
and    %eax,%edi
cmove  %ebp,%r11d
mov    0x2d83(%rip),%rdi
and    (%rdi),%eax
cmove  %ebp,%ebx
lea    0xe01(%rip),%rdi
xor    %eax,%eax
push   %rbx
push   %r11
push   %r10
push   %r14
call   1040 <printf@plt>
add    $0x20,%rsp
lea    0xc(%rsp),%rdi
call   1030 <ctime@plt>
lea    0xe01(%rip),%rdi
mov    %rax,%rsi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0x8(%rsp),%rdi
call   1030 <ctime@plt>
lea    0xdf8(%rip),%rdi
mov    %rax,%rsi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0x4(%rsp),%rdi
call   1030 <ctime@plt>
lea    0xdef(%rip),%rdi
mov    %rax,%rsi
xor    %eax,%eax
call   1040 <printf@plt>
xor    %eax,%eax
add    $0x10,%rsp
pop    %rbx
pop    %r14
pop    %rbp
ret
mov    0x2cd2(%rip),%rax
mov    (%rax),%edi
lea    0xd5a(%rip),%rsi
call   1050 <fprintf@plt>
mov    $0x1,%edi
call   1080 <exit@plt>
mov    0x8(%rbx),%rdi
call   1070 <perror@plt>
mov    $0x2,%edi
call   1080 <exit@plt>

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

LLVM IR (-O2):
%struct.stat = type { i32, i32, i32, i32 }
@.str = [8 x i8] c"unknown\00"
@.str.1 = [5 x i8] c"FIFO\00"
@.str.2 = [17 x i8] c"character device\00"
@.str.3 = [10 x i8] c"directory\00"
@.str.4 = [13 x i8] c"block device\00"
@.str.5 = [5 x i8] c"file\00"
@.str.6 = [8 x i8] c"symlink\00"
@.str.7 = [7 x i8] c"socket\00"
@reltable.main = [13 x i32] [i32 trunc (i64 sub (i64 ptrtoint ([8 x i8]* @.str to i64), i64 ptrtoint ([13 x i32]* @reltable.main to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([5 x i8]* @.str.1 to i64), i64 ptrtoint ([13 x i32]* @reltable.main to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([17 x i8]* @.str.2 to i64), i64 ptrtoint ([13 x i32]* @reltable.main to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([8 x i8]* @.str to i64), i64 ptrtoint ([13 x i32]* @reltable.main to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([10 x i8]* @.str.3 to i64), i64 ptrtoint ([13 x i32]* @reltable.main to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([8 x i8]* @.str to i64), i64 ptrtoint ([13 x i32]* @reltable.main to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([13 x i8]* @.str.4 to i64), i64 ptrtoint ([13 x i32]* @reltable.main to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([8 x i8]* @.str to i64), i64 ptrtoint ([13 x i32]* @reltable.main to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([5 x i8]* @.str.5 to i64), i64 ptrtoint ([13 x i32]* @reltable.main to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([8 x i8]* @.str to i64), i64 ptrtoint ([13 x i32]* @reltable.main to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([8 x i8]* @.str.6 to i64), i64 ptrtoint ([13 x i32]* @reltable.main to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([8 x i8]* @.str to i64), i64 ptrtoint ([13 x i32]* @reltable.main to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([7 x i8]* @.str.7 to i64), i64 ptrtoint ([13 x i32]* @reltable.main to i64)) to i32)]
@stderr = global i32 0
@.str.8 = [26 x i8] c"usage: listfile filename\0A\00"
@.str.9 = [15 x i8] c"file type: %s\0A\00"
@.str.10 = [35 x i8] c"permissions: %c%c%c%c%c%c%c%c%c\0A\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.11 = [18 x i8] c"last accessed: %s\00"
@.str.12 = [18 x i8] c"last modified: %s\00"
@.str.13 = [18 x i8] c"last change: %s\00"
define i32 @main(i32 %0, i8** nocapture %1) {
%3 = alloca %struct.stat
%4 = bitcast %struct.stat* %3 to i8*
%5 = icmp eq i32 %0, 2
br i1 %5, label %10, label %6
6: ; preds = %2
%7 = load i32, i32* @stderr
%8 = tail call i32 @fprintf(i32 %7, i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.8, i64 0, i64 0))
%9 = tail call i32 @exit(i32 1)
unreachable
10: ; preds = %2
%11 = getelementptr inbounds i8*, i8** %1, i64 1
%12 = load i8*, i8** %11
%13 = call i64 @stat(i8* %12, %struct.stat* %3)
%14 = icmp slt i64 %13, 0
br i1 %14, label %15, label %19
15: ; preds = %10
%16 = load i8*, i8** %11
%17 = call i32 @perror(i8* %16)
%18 = call i32 @exit(i32 2)
unreachable
19: ; preds = %10
%20 = getelementptr inbounds %struct.stat, %struct.stat* %3, i64 0, i32 0
%21 = load i32, i32* %20
%22 = lshr i32 %21, 12
%23 = and i32 %22, 15
%24 = zext i32 %23 to i64
%25 = shl i64 %24, 2
%26 = call i8* @llvm.load.relative.i64(i8* bitcast ([13 x i32]* @reltable.main to i8*), i64 %25)
%27 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([15 x i8], [15 x i8]* @.str.9, i64 0, i64 0), i8* %26)
%28 = load i32, i32* %20
%29 = load i32, i32* @S_IRUSR
%30 = and i32 %29, %28
%31 = icmp eq i32 %30, 0
%32 = select i1 %31, i32 45, i32 114
%33 = load i32, i32* @S_IWUSR
%34 = and i32 %33, %28
%35 = icmp eq i32 %34, 0
%36 = select i1 %35, i32 45, i32 119
%37 = load i32, i32* @S_IXUSR
%38 = and i32 %37, %28
%39 = icmp eq i32 %38, 0
%40 = select i1 %39, i32 45, i32 120
%41 = load i32, i32* @S_IRGRP
%42 = and i32 %41, %28
%43 = icmp eq i32 %42, 0
%44 = select i1 %43, i32 45, i32 114
%45 = load i32, i32* @S_IWGRP
%46 = and i32 %45, %28
%47 = icmp eq i32 %46, 0
%48 = select i1 %47, i32 45, i32 119
%49 = load i32, i32* @S_IXGRP
%50 = and i32 %49, %28
%51 = icmp eq i32 %50, 0
%52 = select i1 %51, i32 45, i32 120
%53 = load i32, i32* @S_IROTH
%54 = and i32 %53, %28
%55 = icmp eq i32 %54, 0
%56 = select i1 %55, i32 45, i32 114
%57 = load i32, i32* @S_IWOTH
%58 = and i32 %57, %28
%59 = icmp eq i32 %58, 0
%60 = select i1 %59, i32 45, i32 119
%61 = load i32, i32* @S_IXOTH
%62 = and i32 %61, %28
%63 = icmp eq i32 %62, 0
%64 = select i1 %63, i32 45, i32 120
%65 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([35 x i8], [35 x i8]* @.str.10, i64 0, i64 0), i32 %32, i32 %36, i32 %40, i32 %44, i32 %48, i32 %52, i32 %56, i32 %60, i32 %64)
%66 = getelementptr inbounds %struct.stat, %struct.stat* %3, i64 0, i32 3
%67 = call i8* @ctime(i32* %66)
%68 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([18 x i8], [18 x i8]* @.str.11, i64 0, i64 0), i8* %67)
%69 = getelementptr inbounds %struct.stat, %struct.stat* %3, i64 0, i32 2
%70 = call i8* @ctime(i32* %69)
%71 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([18 x i8], [18 x i8]* @.str.12, i64 0, i64 0), i8* %70)
%72 = getelementptr inbounds %struct.stat, %struct.stat* %3, i64 0, i32 1
%73 = call i8* @ctime(i32* %72)
%74 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([18 x i8], [18 x i8]* @.str.13, i64 0, i64 0), i8* %73)
ret i32 0
}