#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;
  scalar_t__ st_blocks;
  scalar_t__ st_blksize;
  scalar_t__ st_size;
  int /*<<< orphan*/ st_rdev;
  scalar_t__ st_gid;
  scalar_t__ st_uid;
  scalar_t__ st_nlink;
  scalar_t__ st_ino;
};

/* Variables and functions */
#define S_IFBLK 134
#define S_IFCHR 133
#define S_IFDIR 132
#define S_IFIFO 131
#define S_IFLNK 130
int S_IFMT;
#define S_IFREG 129
#define S_IFSOCK 128
scalar_t__ S_ISBLK(int);
scalar_t__ S_ISCHR(int);
char *ctime(int /*<<< orphan*/ *);
scalar_t__ major(int /*<<< orphan*/);
scalar_t__ minor(int /*<<< orphan*/);
int /*<<< orphan*/ printf(char *, ...);
void displayStatInfo(const struct stat *sb) {
  printf("File type:                ");
  switch (sb->st_mode & S_IFMT) {
  case S_IFREG:
    printf("regular file\n");
    break;
  case S_IFDIR:
    printf("directory\n");
    break;
  case S_IFCHR:
    printf("character device\n");
    break;
  case S_IFBLK:
    printf("block device\n");
    break;
  case S_IFLNK:
    printf("symbolic (soft) link\n");
    break;
  case S_IFIFO:
    printf("FIFO or pipe\n");
    break;
  case S_IFSOCK:
    printf("socket\n");
    break;
  default:
    printf("unknown file type?\n");
    break;
  }
  printf("I-node number:            %ld\n", (long)sb->st_ino);
  printf("Number of (hard) links:   %ld\n", (long)sb->st_nlink);
  printf("Ownership:                UID=%ld   GID=%ld\n", (long)sb->st_uid,
         (long)sb->st_gid);
  if (S_ISCHR(sb->st_mode) || S_ISBLK(sb->st_mode))
    printf("Device number (st_rdev):  major=%ld; minor=%ld\n",
           (long)major(sb->st_rdev), (long)minor(sb->st_rdev));
  printf("File size:                %lld bytes\n", (long long)sb->st_size);
  printf("Optimal I/O block size:   %ld bytes\n", (long)sb->st_blksize);
  printf("512B blocks allocated:    %lld\n", (long long)sb->st_blocks);
  printf("Last file access:         %s", ctime(&sb->st_atime));
  printf("Last file modification:   %s", ctime(&sb->st_mtime));
  printf("Last status change:       %s", ctime(&sb->st_ctime));
}


x86 assembly (clang, -O0):
<displayStatInfo>:
push   %rbp
mov    %rsp,%rbp
sub    $0x20,%rsp
mov    %rdi,-0x8(%rbp)
lea    0xea9(%rip),%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    -0x8(%rbp),%rax
mov    (%rax),%eax
mov    0x2e59(%rip),%rcx
mov    (%rcx),%ecx
and    %ecx,%eax
add    $0xffffff80,%eax
mov    %eax,%ecx
mov    %rcx,-0x10(%rbp)
sub    $0x6,%eax
ja     1236 <displayStatInfo+0xd6>
mov    -0x10(%rbp),%rax
lea    0xe58(%rip),%rcx
movslq (%rcx,%rax,4),%rax
add    %rcx,%rax
jmp    *%rax
lea    0xe7f(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
jmp    1244 <displayStatInfo+0xe4>
lea    0xe7a(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
jmp    1244 <displayStatInfo+0xe4>
lea    0xe72(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
jmp    1244 <displayStatInfo+0xe4>
lea    0xe71(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
jmp    1244 <displayStatInfo+0xe4>
lea    0xe6c(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
jmp    1244 <displayStatInfo+0xe4>
lea    0xe6f(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
jmp    1244 <displayStatInfo+0xe4>
lea    0xe6a(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
jmp    1244 <displayStatInfo+0xe4>
lea    0xe5f(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
mov    -0x8(%rbp),%rax
mov    0x48(%rax),%rsi
lea    0xe5d(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
mov    -0x8(%rbp),%rax
mov    0x40(%rax),%rsi
lea    0xe66(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
mov    -0x8(%rbp),%rax
mov    0x38(%rax),%rsi
mov    -0x8(%rbp),%rax
mov    0x30(%rax),%rdx
lea    0xe67(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
mov    -0x8(%rbp),%rax
mov    (%rax),%edi
call   1070 <S_ISCHR@plt>
cmp    $0x0,%rax
jne    12b8 <displayStatInfo+0x158>
mov    -0x8(%rbp),%rax
mov    (%rax),%edi
call   1080 <S_ISBLK@plt>
cmp    $0x0,%rax
je     12e9 <displayStatInfo+0x189>
mov    -0x8(%rbp),%rax
mov    0x28(%rax),%edi
call   1060 <major@plt>
mov    %rax,-0x18(%rbp)
mov    -0x8(%rbp),%rax
mov    0x28(%rax),%edi
call   1040 <minor@plt>
mov    -0x18(%rbp),%rsi
mov    %rax,%rdx
lea    0xe39(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
mov    -0x8(%rbp),%rax
mov    0x20(%rax),%rsi
lea    0xe53(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
mov    -0x8(%rbp),%rax
mov    0x18(%rax),%rsi
lea    0xe63(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
mov    -0x8(%rbp),%rax
mov    0x10(%rax),%rsi
lea    0xe72(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
mov    -0x8(%rbp),%rdi
add    $0xc,%rdi
call   1030 <ctime@plt>
mov    %rax,%rsi
lea    0xe74(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
mov    -0x8(%rbp),%rdi
add    $0x8,%rdi
call   1030 <ctime@plt>
mov    %rax,%rsi
lea    0xe73(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
mov    -0x8(%rbp),%rdi
add    $0x4,%rdi
call   1030 <ctime@plt>
mov    %rax,%rsi
lea    0xe72(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
add    $0x20,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<displayStatInfo>:
push   %r14
push   %rbx
push   %rax
mov    %rdi,%rbx
lea    0xe82(%rip),%rdi
xor    %eax,%eax
call   1060 <printf@plt>
mov    0x2e54(%rip),%rax
mov    (%rax),%eax
and    (%rbx),%eax
add    $0xffffff80,%eax
cmp    $0x6,%eax
ja     11aa <displayStatInfo+0x3a>
cltq
lea    0x104b(%rip),%rcx
movslq (%rcx,%rax,4),%rdi
add    %rcx,%rdi
jmp    11b1 <displayStatInfo+0x41>
lea    0x1025(%rip),%rdi
call   1030 <puts@plt>
mov    0x48(%rbx),%rsi
lea    0xe5a(%rip),%rdi
xor    %eax,%eax
call   1060 <printf@plt>
mov    0x40(%rbx),%rsi
lea    0xe67(%rip),%rdi
xor    %eax,%eax
call   1060 <printf@plt>
mov    0x30(%rbx),%rdx
mov    0x38(%rbx),%rsi
lea    0xe70(%rip),%rdi
xor    %eax,%eax
call   1060 <printf@plt>
mov    (%rbx),%edi
call   1080 <S_ISCHR@plt>
test   %rax,%rax
jne    1208 <displayStatInfo+0x98>
mov    (%rbx),%edi
call   1090 <S_ISBLK@plt>
test   %rax,%rax
je     122f <displayStatInfo+0xbf>
mov    0x28(%rbx),%edi
call   1070 <major@plt>
mov    %rax,%r14
mov    0x28(%rbx),%edi
call   1050 <minor@plt>
lea    0xe64(%rip),%rdi
mov    %r14,%rsi
mov    %rax,%rdx
xor    %eax,%eax
call   1060 <printf@plt>
mov    0x20(%rbx),%rsi
lea    0xe7c(%rip),%rdi
xor    %eax,%eax
call   1060 <printf@plt>
mov    0x18(%rbx),%rsi
lea    0xe90(%rip),%rdi
xor    %eax,%eax
call   1060 <printf@plt>
mov    0x10(%rbx),%rsi
lea    0xea3(%rip),%rdi
xor    %eax,%eax
call   1060 <printf@plt>
lea    0xc(%rbx),%rdi
call   1040 <ctime@plt>
lea    0xeac(%rip),%rdi
mov    %rax,%rsi
xor    %eax,%eax
call   1060 <printf@plt>
lea    0x8(%rbx),%rdi
call   1040 <ctime@plt>
lea    0xeaf(%rip),%rdi
mov    %rax,%rsi
xor    %eax,%eax
call   1060 <printf@plt>
add    $0x4,%rbx
mov    %rbx,%rdi
call   1040 <ctime@plt>
lea    0xeaf(%rip),%rdi
mov    %rax,%rsi
xor    %eax,%eax
add    $0x8,%rsp
pop    %rbx
pop    %r14
jmp    1060 <printf@plt>

LLVM IR (-O0):
%struct.stat = type { i32, i32, i32, i32, i64, i64, i64, i32, i64, i64, i64, i64 }
@.str = [27 x i8] c"File type: \00"
@S_IFMT = global i32 0
@.str.1 = [14 x i8] c"regular file\0A\00"
@.str.2 = [11 x i8] c"directory\0A\00"
@.str.3 = [18 x i8] c"character device\0A\00"
@.str.4 = [14 x i8] c"block device\0A\00"
@.str.5 = [22 x i8] c"symbolic (soft) link\0A\00"
@.str.6 = [14 x i8] c"FIFO or pipe\0A\00"
@.str.7 = [8 x i8] c"socket\0A\00"
@.str.8 = [20 x i8] c"unknown file type?\0A\00"
@.str.9 = [31 x i8] c"I-node number: %ld\0A\00"
@.str.10 = [31 x i8] c"Number of (hard) links: %ld\0A\00"
@.str.11 = [45 x i8] c"Ownership: UID=%ld GID=%ld\0A\00"
@.str.12 = [48 x i8] c"Device number (st_rdev): major=%ld; minor=%ld\0A\00"
@.str.13 = [38 x i8] c"File size: %lld bytes\0A\00"
@.str.14 = [37 x i8] c"Optimal I/O block size: %ld bytes\0A\00"
@.str.15 = [32 x i8] c"512B blocks allocated: %lld\0A\00"
@.str.16 = [29 x i8] c"Last file access: %s\00"
@.str.17 = [29 x i8] c"Last file modification: %s\00"
@.str.18 = [29 x i8] c"Last status change: %s\00"
define void @displayStatInfo(%struct.stat* %0) {
%2 = alloca %struct.stat*
store %struct.stat* %0, %struct.stat** %2
%3 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str, i64 0, i64 0))
%4 = load %struct.stat*, %struct.stat** %2
%5 = getelementptr inbounds %struct.stat, %struct.stat* %4, i32 0, i32 0
%6 = load i32, i32* %5
%7 = load i32, i32* @S_IFMT
%8 = and i32 %6, %7
switch i32 %8, label %23 [
i32 129, label %9
i32 132, label %11
i32 133, label %13
i32 134, label %15
i32 130, label %17
i32 131, label %19
i32 128, label %21
]
9: ; preds = %1
%10 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.1, i64 0, i64 0))
br label %25
11: ; preds = %1
%12 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.2, i64 0, i64 0))
br label %25
13: ; preds = %1
%14 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.3, i64 0, i64 0))
br label %25
15: ; preds = %1
%16 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.4, i64 0, i64 0))
br label %25
17: ; preds = %1
%18 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.5, i64 0, i64 0))
br label %25
19: ; preds = %1
%20 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.6, i64 0, i64 0))
br label %25
21: ; preds = %1
%22 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.7, i64 0, i64 0))
br label %25
23: ; preds = %1
%24 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.8, i64 0, i64 0))
br label %25
25: ; preds = %23, %21, %19, %17, %15, %13, %11, %9
%26 = load %struct.stat*, %struct.stat** %2
%27 = getelementptr inbounds %struct.stat, %struct.stat* %26, i32 0, i32 11
%28 = load i64, i64* %27
%29 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.9, i64 0, i64 0), i64 %28)
%30 = load %struct.stat*, %struct.stat** %2
%31 = getelementptr inbounds %struct.stat, %struct.stat* %30, i32 0, i32 10
%32 = load i64, i64* %31
%33 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.10, i64 0, i64 0), i64 %32)
%34 = load %struct.stat*, %struct.stat** %2
%35 = getelementptr inbounds %struct.stat, %struct.stat* %34, i32 0, i32 9
%36 = load i64, i64* %35
%37 = load %struct.stat*, %struct.stat** %2
%38 = getelementptr inbounds %struct.stat, %struct.stat* %37, i32 0, i32 8
%39 = load i64, i64* %38
%40 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([45 x i8], [45 x i8]* @.str.11, i64 0, i64 0), i64 %36, i64 %39)
%41 = load %struct.stat*, %struct.stat** %2
%42 = getelementptr inbounds %struct.stat, %struct.stat* %41, i32 0, i32 0
%43 = load i32, i32* %42
%44 = call i64 @S_ISCHR(i32 %43)
%45 = icmp ne i64 %44, 0
br i1 %45, label %52, label %46
46: ; preds = %25
%47 = load %struct.stat*, %struct.stat** %2
%48 = getelementptr inbounds %struct.stat, %struct.stat* %47, i32 0, i32 0
%49 = load i32, i32* %48
%50 = call i64 @S_ISBLK(i32 %49)
%51 = icmp ne i64 %50, 0
br i1 %51, label %52, label %62
52: ; preds = %46, %25
%53 = load %struct.stat*, %struct.stat** %2
%54 = getelementptr inbounds %struct.stat, %struct.stat* %53, i32 0, i32 7
%55 = load i32, i32* %54
%56 = call i64 @major(i32 %55)
%57 = load %struct.stat*, %struct.stat** %2
%58 = getelementptr inbounds %struct.stat, %struct.stat* %57, i32 0, i32 7
%59 = load i32, i32* %58
%60 = call i64 @minor(i32 %59)
%61 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([48 x i8], [48 x i8]* @.str.12, i64 0, i64 0), i64 %56, i64 %60)
br label %62
62: ; preds = %52, %46
%63 = load %struct.stat*, %struct.stat** %2
%64 = getelementptr inbounds %struct.stat, %struct.stat* %63, i32 0, i32 6
%65 = load i64, i64* %64
%66 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([38 x i8], [38 x i8]* @.str.13, i64 0, i64 0), i64 %65)
%67 = load %struct.stat*, %struct.stat** %2
%68 = getelementptr inbounds %struct.stat, %struct.stat* %67, i32 0, i32 5
%69 = load i64, i64* %68
%70 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.14, i64 0, i64 0), i64 %69)
%71 = load %struct.stat*, %struct.stat** %2
%72 = getelementptr inbounds %struct.stat, %struct.stat* %71, i32 0, i32 4
%73 = load i64, i64* %72
%74 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.15, i64 0, i64 0), i64 %73)
%75 = load %struct.stat*, %struct.stat** %2
%76 = getelementptr inbounds %struct.stat, %struct.stat* %75, i32 0, i32 3
%77 = call i8* @ctime(i32* %76)
%78 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.16, i64 0, i64 0), i8* %77)
%79 = load %struct.stat*, %struct.stat** %2
%80 = getelementptr inbounds %struct.stat, %struct.stat* %79, i32 0, i32 2
%81 = call i8* @ctime(i32* %80)
%82 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.17, i64 0, i64 0), i8* %81)
%83 = load %struct.stat*, %struct.stat** %2
%84 = getelementptr inbounds %struct.stat, %struct.stat* %83, i32 0, i32 1
%85 = call i8* @ctime(i32* %84)
%86 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.18, i64 0, i64 0), i8* %85)
ret void
}

LLVM IR (-O2):
%struct.stat = type { i32, i32, i32, i32, i64, i64, i64, i32, i64, i64, i64, i64 }
@.str = [27 x i8] c"File type: \00"
@S_IFMT = global i32 0
@.str.9 = [31 x i8] c"I-node number: %ld\0A\00"
@.str.10 = [31 x i8] c"Number of (hard) links: %ld\0A\00"
@.str.11 = [45 x i8] c"Ownership: UID=%ld GID=%ld\0A\00"
@.str.12 = [48 x i8] c"Device number (st_rdev): major=%ld; minor=%ld\0A\00"
@.str.13 = [38 x i8] c"File size: %lld bytes\0A\00"
@.str.14 = [37 x i8] c"Optimal I/O block size: %ld bytes\0A\00"
@.str.15 = [32 x i8] c"512B blocks allocated: %lld\0A\00"
@.str.16 = [29 x i8] c"Last file access: %s\00"
@.str.17 = [29 x i8] c"Last file modification: %s\00"
@.str.18 = [29 x i8] c"Last status change: %s\00"
@str = [7 x i8] c"socket\00"
@str.19 = [13 x i8] c"FIFO or pipe\00"
@str.20 = [21 x i8] c"symbolic (soft) link\00"
@str.21 = [13 x i8] c"block device\00"
@str.22 = [17 x i8] c"character device\00"
@str.23 = [10 x i8] c"directory\00"
@str.24 = [13 x i8] c"regular file\00"
@str.25 = [19 x i8] c"unknown file type?\00"
@reltable.displayStatInfo = [7 x i32] [i32 trunc (i64 sub (i64 ptrtoint ([7 x i8]* @str to i64), i64 ptrtoint ([7 x i32]* @reltable.displayStatInfo to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([13 x i8]* @str.24 to i64), i64 ptrtoint ([7 x i32]* @reltable.displayStatInfo to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([21 x i8]* @str.20 to i64), i64 ptrtoint ([7 x i32]* @reltable.displayStatInfo to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([13 x i8]* @str.19 to i64), i64 ptrtoint ([7 x i32]* @reltable.displayStatInfo to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([10 x i8]* @str.23 to i64), i64 ptrtoint ([7 x i32]* @reltable.displayStatInfo to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([17 x i8]* @str.22 to i64), i64 ptrtoint ([7 x i32]* @reltable.displayStatInfo to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([13 x i8]* @str.21 to i64), i64 ptrtoint ([7 x i32]* @reltable.displayStatInfo to i64)) to i32)]
define void @displayStatInfo(%struct.stat* %0) {
%2 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([27 x i8], [27 x i8]* @.str, i64 0, i64 0))
%3 = getelementptr inbounds %struct.stat, %struct.stat* %0, i64 0, i32 0
%4 = load i32, i32* %3
%5 = load i32, i32* @S_IFMT
%6 = and i32 %5, %4
%7 = add i32 %6, -128
%8 = icmp ult i32 %7, 7
br i1 %8, label %9, label %13
9: ; preds = %1
%10 = sext i32 %7 to i64
%11 = shl i64 %10, 2
%12 = call i8* @llvm.load.relative.i64(i8* bitcast ([7 x i32]* @reltable.displayStatInfo to i8*), i64 %11)
br label %13
13: ; preds = %1, %9
%14 = phi i8* [ %12, %9 ], [ getelementptr inbounds ([19 x i8], [19 x i8]* @str.25, i64 0, i64 0), %1 ]
%15 = tail call i32 @puts(i8* dereferenceable(1) %14)
%16 = getelementptr inbounds %struct.stat, %struct.stat* %0, i64 0, i32 11
%17 = load i64, i64* %16
%18 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([31 x i8], [31 x i8]* @.str.9, i64 0, i64 0), i64 %17)
%19 = getelementptr inbounds %struct.stat, %struct.stat* %0, i64 0, i32 10
%20 = load i64, i64* %19
%21 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([31 x i8], [31 x i8]* @.str.10, i64 0, i64 0), i64 %20)
%22 = getelementptr inbounds %struct.stat, %struct.stat* %0, i64 0, i32 9
%23 = load i64, i64* %22
%24 = getelementptr inbounds %struct.stat, %struct.stat* %0, i64 0, i32 8
%25 = load i64, i64* %24
%26 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([45 x i8], [45 x i8]* @.str.11, i64 0, i64 0), i64 %23, i64 %25)
%27 = load i32, i32* %3
%28 = tail call i64 @S_ISCHR(i32 %27)
%29 = icmp eq i64 %28, 0
br i1 %29, label %30, label %34
30: ; preds = %13
%31 = load i32, i32* %3
%32 = tail call i64 @S_ISBLK(i32 %31)
%33 = icmp eq i64 %32, 0
br i1 %33, label %41, label %34
34: ; preds = %30, %13
%35 = getelementptr inbounds %struct.stat, %struct.stat* %0, i64 0, i32 7
%36 = load i32, i32* %35
%37 = tail call i64 @major(i32 %36)
%38 = load i32, i32* %35
%39 = tail call i64 @minor(i32 %38)
%40 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([48 x i8], [48 x i8]* @.str.12, i64 0, i64 0), i64 %37, i64 %39)
br label %41
41: ; preds = %34, %30
%42 = getelementptr inbounds %struct.stat, %struct.stat* %0, i64 0, i32 6
%43 = load i64, i64* %42
%44 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([38 x i8], [38 x i8]* @.str.13, i64 0, i64 0), i64 %43)
%45 = getelementptr inbounds %struct.stat, %struct.stat* %0, i64 0, i32 5
%46 = load i64, i64* %45
%47 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([37 x i8], [37 x i8]* @.str.14, i64 0, i64 0), i64 %46)
%48 = getelementptr inbounds %struct.stat, %struct.stat* %0, i64 0, i32 4
%49 = load i64, i64* %48
%50 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([32 x i8], [32 x i8]* @.str.15, i64 0, i64 0), i64 %49)
%51 = getelementptr inbounds %struct.stat, %struct.stat* %0, i64 0, i32 3
%52 = tail call i8* @ctime(i32* %51)
%53 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([29 x i8], [29 x i8]* @.str.16, i64 0, i64 0), i8* %52)
%54 = getelementptr inbounds %struct.stat, %struct.stat* %0, i64 0, i32 2
%55 = tail call i8* @ctime(i32* %54)
%56 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([29 x i8], [29 x i8]* @.str.17, i64 0, i64 0), i8* %55)
%57 = getelementptr inbounds %struct.stat, %struct.stat* %0, i64 0, i32 1
%58 = tail call i8* @ctime(i32* %57)
%59 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([29 x i8], [29 x i8]* @.str.18, i64 0, i64 0), i8* %58)
ret void
}