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

/* Variables and functions */
int S_IRGRP;
int S_IROTH;
int S_IRUSR;
scalar_t__ S_ISDIR(int);
int S_IWGRP;
int S_IWOTH;
int S_IWUSR;
int S_IXGRP;
int S_IXOTH;
int S_IXUSR;
char *ctime(int /*<<< orphan*/ *);
int /*<<< orphan*/ printf(char *, ...);
void print_file(struct stat file_stats, char *argv[]) {
  printf("Filename: %s\n", argv[1]);
  printf("Time of last modification: %s", ctime(&file_stats.st_mtime));
  printf("Time of last acess: %s", ctime(&file_stats.st_atime));
  printf("File Permissions: ");
  printf((S_ISDIR(file_stats.st_mode)) ? "d" : "-");
  printf((file_stats.st_mode & S_IRUSR) ? "r" : "-");
  printf((file_stats.st_mode & S_IWUSR) ? "w" : "-");
  printf((file_stats.st_mode & S_IXUSR) ? "x" : "-");
  printf((file_stats.st_mode & S_IRGRP) ? "r" : "-");
  printf((file_stats.st_mode & S_IWGRP) ? "w" : "-");
  printf((file_stats.st_mode & S_IXGRP) ? "x" : "-");
  printf((file_stats.st_mode & S_IROTH) ? "r" : "-");
  printf((file_stats.st_mode & S_IWOTH) ? "w" : "-");
  printf((file_stats.st_mode & S_IXOTH) ? "x" : "-");
  printf("\n\n");
}


x86 assembly (clang, -O0):
<print_file>:
push   %rbp
mov    %rsp,%rbp
sub    $0x30,%rsp
mov    %rdi,-0x20(%rbp)
mov    %esi,-0x18(%rbp)
mov    -0x20(%rbp),%rax
mov    %rax,-0x10(%rbp)
mov    -0x18(%rbp),%eax
mov    %eax,-0x8(%rbp)
mov    %rdx,-0x28(%rbp)
mov    -0x28(%rbp),%rax
mov    0x8(%rax),%rsi
lea    0xea0(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
lea    -0x10(%rbp),%rdi
add    $0x8,%rdi
call   1030 <ctime@plt>
mov    %rax,%rsi
lea    0xe90(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
lea    -0x10(%rbp),%rdi
add    $0x4,%rdi
call   1030 <ctime@plt>
mov    %rax,%rsi
lea    0xe90(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
lea    0xe99(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0x10(%rbp),%edi
call   1050 <S_ISDIR@plt>
mov    %rax,%rcx
lea    0xe95(%rip),%rdi
lea    0xe8c(%rip),%rax
cmp    $0x0,%rcx
cmovne %rax,%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0x10(%rbp),%ecx
mov    0x2dc5(%rip),%rax
and    (%rax),%ecx
lea    0xe6c(%rip),%rdi
lea    0xe67(%rip),%rax
cmp    $0x0,%ecx
cmovne %rax,%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0x10(%rbp),%ecx
mov    0x2dc5(%rip),%rax
and    (%rax),%ecx
lea    0xe44(%rip),%rdi
lea    0xe41(%rip),%rax
cmp    $0x0,%ecx
cmovne %rax,%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0x10(%rbp),%ecx
mov    0x2dad(%rip),%rax
and    (%rax),%ecx
lea    0xe1c(%rip),%rdi
lea    0xe1b(%rip),%rax
cmp    $0x0,%ecx
cmovne %rax,%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0x10(%rbp),%ecx
mov    0x2d5d(%rip),%rax
and    (%rax),%ecx
lea    0xdf4(%rip),%rdi
lea    0xdef(%rip),%rax
cmp    $0x0,%ecx
cmovne %rax,%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0x10(%rbp),%ecx
mov    0x2d55(%rip),%rax
and    (%rax),%ecx
lea    0xdcc(%rip),%rdi
lea    0xdc9(%rip),%rax
cmp    $0x0,%ecx
cmovne %rax,%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0x10(%rbp),%ecx
mov    0x2d1d(%rip),%rax
and    (%rax),%ecx
lea    0xda4(%rip),%rdi
lea    0xda3(%rip),%rax
cmp    $0x0,%ecx
cmovne %rax,%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0x10(%rbp),%ecx
mov    0x2cdd(%rip),%rax
and    (%rax),%ecx
lea    0xd7c(%rip),%rdi
lea    0xd77(%rip),%rax
cmp    $0x0,%ecx
cmovne %rax,%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0x10(%rbp),%ecx
mov    0x2c9d(%rip),%rax
and    (%rax),%ecx
lea    0xd54(%rip),%rdi
lea    0xd51(%rip),%rax
cmp    $0x0,%ecx
cmovne %rax,%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0x10(%rbp),%ecx
mov    0x2cc5(%rip),%rax
and    (%rax),%ecx
lea    0xd2c(%rip),%rdi
lea    0xd2b(%rip),%rax
cmp    $0x0,%ecx
cmovne %rax,%rdi
mov    $0x0,%al
call   1040 <printf@plt>
lea    0xd18(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
add    $0x30,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<print_file>:
push   %r15
push   %r14
push   %r12
push   %rbx
sub    $0x18,%rsp
mov    %rdi,0x8(%rsp)
lea    0x10(%rsp),%rbx
mov    %esi,0x10(%rsp)
mov    0x8(%rdx),%rsi
lea    0xe9c(%rip),%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    %rbx,%rdi
call   1040 <ctime@plt>
lea    0xe94(%rip),%rdi
mov    %rax,%rsi
xor    %eax,%eax
call   1050 <printf@plt>
lea    0xc(%rsp),%rdi
call   1040 <ctime@plt>
lea    0xe97(%rip),%rdi
mov    %rax,%rsi
xor    %eax,%eax
call   1050 <printf@plt>
lea    0xe9d(%rip),%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    0x8(%rsp),%edi
call   1060 <S_ISDIR@plt>
test   %rax,%rax
lea    0xe98(%rip),%r12
lea    0xe8f(%rip),%rdi
cmove  %r12,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    0x2dcf(%rip),%rax
mov    (%rax),%eax
and    0x8(%rsp),%eax
lea    0xe74(%rip),%r14
mov    %r14,%rdi
cmove  %r12,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    0x2dd5(%rip),%rax
mov    (%rax),%eax
and    0x8(%rsp),%eax
lea    0xe54(%rip),%r15
mov    %r15,%rdi
cmove  %r12,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    0x2dc3(%rip),%rax
mov    (%rax),%eax
and    0x8(%rsp),%eax
lea    0xe34(%rip),%rbx
mov    %rbx,%rdi
cmove  %r12,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    0x2d79(%rip),%rax
mov    (%rax),%eax
and    0x8(%rsp),%eax
mov    %r14,%rdi
cmove  %r12,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    0x2d7e(%rip),%rax
mov    (%rax),%eax
and    0x8(%rsp),%eax
mov    %r15,%rdi
cmove  %r12,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    0x2d53(%rip),%rax
mov    (%rax),%eax
and    0x8(%rsp),%eax
mov    %rbx,%rdi
cmove  %r12,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    0x2d20(%rip),%rax
mov    (%rax),%eax
and    0x8(%rsp),%eax
cmove  %r12,%r14
mov    %r14,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    0x2ced(%rip),%rax
mov    (%rax),%eax
and    0x8(%rsp),%eax
cmove  %r12,%r15
mov    %r15,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    0x2d22(%rip),%rax
mov    (%rax),%eax
and    0x8(%rsp),%eax
cmove  %r12,%rbx
mov    %rbx,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
lea    0xd2b(%rip),%rdi
call   1030 <puts@plt>
add    $0x18,%rsp
pop    %rbx
pop    %r12
pop    %r14
pop    %r15
ret

LLVM IR (-O0):
%struct.stat = type { i32, i32, i32 }
@.str = [14 x i8] c"Filename: %s\0A\00"
@.str.1 = [30 x i8] c"Time of last modification: %s\00"
@.str.2 = [23 x i8] c"Time of last acess: %s\00"
@.str.3 = [19 x i8] c"File Permissions: \00"
@.str.4 = [2 x i8] c"d\00"
@.str.5 = [2 x i8] c"-\00"
@S_IRUSR = global i32 0
@.str.6 = [2 x i8] c"r\00"
@S_IWUSR = global i32 0
@.str.7 = [2 x i8] c"w\00"
@S_IXUSR = global i32 0
@.str.8 = [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.9 = [3 x i8] c"\0A\0A\00"
define void @print_file(i64 %0, i32 %1, i8** %2) {
%4 = alloca %struct.stat
%5 = alloca { i64, i32 }
%6 = alloca i8**
%7 = getelementptr inbounds { i64, i32 }, { i64, i32 }* %5, i32 0, i32 0
store i64 %0, i64* %7
%8 = getelementptr inbounds { i64, i32 }, { i64, i32 }* %5, i32 0, i32 1
store i32 %1, i32* %8
%9 = bitcast %struct.stat* %4 to i8*
%10 = bitcast { i64, i32 }* %5 to i8*
store i8** %2, i8*** %6
%11 = load i8**, i8*** %6
%12 = getelementptr inbounds i8*, i8** %11, i64 1
%13 = load i8*, i8** %12
%14 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str, i64 0, i64 0), i8* %13)
%15 = getelementptr inbounds %struct.stat, %struct.stat* %4, i32 0, i32 2
%16 = call i8* @ctime(i32* %15)
%17 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.1, i64 0, i64 0), i8* %16)
%18 = getelementptr inbounds %struct.stat, %struct.stat* %4, i32 0, i32 1
%19 = call i8* @ctime(i32* %18)
%20 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.2, i64 0, i64 0), i8* %19)
%21 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.3, i64 0, i64 0))
%22 = getelementptr inbounds %struct.stat, %struct.stat* %4, i32 0, i32 0
%23 = load i32, i32* %22
%24 = call i64 @S_ISDIR(i32 %23)
%25 = icmp ne i64 %24, 0
%26 = zext i1 %25 to i64
%27 = select i1 %25, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.5, i64 0, i64 0)
%28 = call i32 (i8*, ...) @printf(i8* %27)
%29 = getelementptr inbounds %struct.stat, %struct.stat* %4, i32 0, i32 0
%30 = load i32, i32* %29
%31 = load i32, i32* @S_IRUSR
%32 = and i32 %30, %31
%33 = icmp ne i32 %32, 0
%34 = zext i1 %33 to i64
%35 = select i1 %33, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.6, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.5, i64 0, i64 0)
%36 = call i32 (i8*, ...) @printf(i8* %35)
%37 = getelementptr inbounds %struct.stat, %struct.stat* %4, i32 0, i32 0
%38 = load i32, i32* %37
%39 = load i32, i32* @S_IWUSR
%40 = and i32 %38, %39
%41 = icmp ne i32 %40, 0
%42 = zext i1 %41 to i64
%43 = select i1 %41, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.7, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.5, i64 0, i64 0)
%44 = call i32 (i8*, ...) @printf(i8* %43)
%45 = getelementptr inbounds %struct.stat, %struct.stat* %4, i32 0, i32 0
%46 = load i32, i32* %45
%47 = load i32, i32* @S_IXUSR
%48 = and i32 %46, %47
%49 = icmp ne i32 %48, 0
%50 = zext i1 %49 to i64
%51 = select i1 %49, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.8, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.5, i64 0, i64 0)
%52 = call i32 (i8*, ...) @printf(i8* %51)
%53 = getelementptr inbounds %struct.stat, %struct.stat* %4, i32 0, i32 0
%54 = load i32, i32* %53
%55 = load i32, i32* @S_IRGRP
%56 = and i32 %54, %55
%57 = icmp ne i32 %56, 0
%58 = zext i1 %57 to i64
%59 = select i1 %57, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.6, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.5, i64 0, i64 0)
%60 = call i32 (i8*, ...) @printf(i8* %59)
%61 = getelementptr inbounds %struct.stat, %struct.stat* %4, i32 0, i32 0
%62 = load i32, i32* %61
%63 = load i32, i32* @S_IWGRP
%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.7, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.5, i64 0, i64 0)
%68 = call i32 (i8*, ...) @printf(i8* %67)
%69 = getelementptr inbounds %struct.stat, %struct.stat* %4, i32 0, i32 0
%70 = load i32, i32* %69
%71 = load i32, i32* @S_IXGRP
%72 = and i32 %70, %71
%73 = icmp ne i32 %72, 0
%74 = zext i1 %73 to i64
%75 = select i1 %73, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.8, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.5, i64 0, i64 0)
%76 = call i32 (i8*, ...) @printf(i8* %75)
%77 = getelementptr inbounds %struct.stat, %struct.stat* %4, 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, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.6, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.5, i64 0, i64 0)
%84 = call i32 (i8*, ...) @printf(i8* %83)
%85 = getelementptr inbounds %struct.stat, %struct.stat* %4, i32 0, i32 0
%86 = load i32, i32* %85
%87 = load i32, i32* @S_IWOTH
%88 = and i32 %86, %87
%89 = icmp ne i32 %88, 0
%90 = zext i1 %89 to i64
%91 = select i1 %89, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.7, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.5, i64 0, i64 0)
%92 = call i32 (i8*, ...) @printf(i8* %91)
%93 = getelementptr inbounds %struct.stat, %struct.stat* %4, i32 0, i32 0
%94 = load i32, i32* %93
%95 = load i32, i32* @S_IXOTH
%96 = and i32 %94, %95
%97 = icmp ne i32 %96, 0
%98 = zext i1 %97 to i64
%99 = select i1 %97, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.8, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.5, i64 0, i64 0)
%100 = call i32 (i8*, ...) @printf(i8* %99)
%101 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.9, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
%struct.stat = type { i32, i32, i32 }
@.str = [14 x i8] c"Filename: %s\0A\00"
@.str.1 = [30 x i8] c"Time of last modification: %s\00"
@.str.2 = [23 x i8] c"Time of last acess: %s\00"
@.str.3 = [19 x i8] c"File Permissions: \00"
@.str.4 = [2 x i8] c"d\00"
@.str.5 = [2 x i8] c"-\00"
@S_IRUSR = global i32 0
@.str.6 = [2 x i8] c"r\00"
@S_IWUSR = global i32 0
@.str.7 = [2 x i8] c"w\00"
@S_IXUSR = global i32 0
@.str.8 = [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 = [2 x i8] c"\0A\00"
define void @print_file(i64 %0, i32 %1, i8** nocapture %2) {
%4 = alloca %struct.stat
%5 = bitcast %struct.stat* %4 to i64*
store i64 %0, i64* %5
%6 = getelementptr inbounds %struct.stat, %struct.stat* %4, i64 0, i32 2
store i32 %1, i32* %6
%7 = getelementptr inbounds i8*, i8** %2, i64 1
%8 = load i8*, i8** %7
%9 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([14 x i8], [14 x i8]* @.str, i64 0, i64 0), i8* %8)
%10 = call i8* @ctime(i32* %6)
%11 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([30 x i8], [30 x i8]* @.str.1, i64 0, i64 0), i8* %10)
%12 = getelementptr inbounds %struct.stat, %struct.stat* %4, i64 0, i32 1
%13 = call i8* @ctime(i32* %12)
%14 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([23 x i8], [23 x i8]* @.str.2, i64 0, i64 0), i8* %13)
%15 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([19 x i8], [19 x i8]* @.str.3, i64 0, i64 0))
%16 = getelementptr inbounds %struct.stat, %struct.stat* %4, i64 0, i32 0
%17 = load i32, i32* %16
%18 = call i64 @S_ISDIR(i32 %17)
%19 = icmp eq i64 %18, 0
%20 = select i1 %19, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.5, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.4, i64 0, i64 0)
%21 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) %20)
%22 = load i32, i32* %16
%23 = load i32, i32* @S_IRUSR
%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.5, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.6, i64 0, i64 0)
%27 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) %26)
%28 = load i32, i32* %16
%29 = load i32, i32* @S_IWUSR
%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.5, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.7, i64 0, i64 0)
%33 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) %32)
%34 = load i32, i32* %16
%35 = load i32, i32* @S_IXUSR
%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.5, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.8, i64 0, i64 0)
%39 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) %38)
%40 = load i32, i32* %16
%41 = load i32, i32* @S_IRGRP
%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.5, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.6, i64 0, i64 0)
%45 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) %44)
%46 = load i32, i32* %16
%47 = load i32, i32* @S_IWGRP
%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.5, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.7, i64 0, i64 0)
%51 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) %50)
%52 = load i32, i32* %16
%53 = load i32, i32* @S_IXGRP
%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.5, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.8, i64 0, i64 0)
%57 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) %56)
%58 = load i32, i32* %16
%59 = load i32, i32* @S_IROTH
%60 = and i32 %59, %58
%61 = icmp eq i32 %60, 0
%62 = select i1 %61, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.5, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.6, i64 0, i64 0)
%63 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) %62)
%64 = load i32, i32* %16
%65 = load i32, i32* @S_IWOTH
%66 = and i32 %65, %64
%67 = icmp eq i32 %66, 0
%68 = select i1 %67, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.5, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.7, i64 0, i64 0)
%69 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) %68)
%70 = load i32, i32* %16
%71 = load i32, i32* @S_IXOTH
%72 = and i32 %71, %70
%73 = icmp eq i32 %72, 0
%74 = select i1 %73, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.5, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.8, i64 0, i64 0)
%75 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) %74)
%76 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([2 x i8], [2 x i8]* @str, i64 0, i64 0))
ret void
}