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

/* Variables and functions */
char *ctime(int /*<<< orphan*/ *);
int /*<<< orphan*/ printf(char *, char *);
void Print_AccessModifyChangeTime(struct stat *pststat) {
  printf("\tLast Access time: %s", ctime(&pststat->st_atime));
  printf("\tLast Modify time: %s", ctime(&pststat->st_mtime));
  printf("\tLast Change time: %s", ctime(&pststat->st_mtime));
  return;
}


x86 assembly (clang, -O0):
<Print_AccessModifyChangeTime>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
mov    %rdi,-0x8(%rbp)
mov    -0x8(%rbp),%rdi
add    $0x4,%rdi
call   1030 <ctime@plt>
mov    %rax,%rsi
lea    0xebd(%rip),%rdi
call   1040 <printf@plt>
mov    -0x8(%rbp),%rdi
call   1030 <ctime@plt>
mov    %rax,%rsi
lea    0xebb(%rip),%rdi
call   1040 <printf@plt>
mov    -0x8(%rbp),%rdi
call   1030 <ctime@plt>
mov    %rax,%rsi
lea    0xeb9(%rip),%rdi
call   1040 <printf@plt>
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<Print_AccessModifyChangeTime>:
push   %rbx
mov    %rdi,%rbx
add    $0x4,%rdi
call   1030 <ctime@plt>
lea    0xecc(%rip),%rdi
mov    %rax,%rsi
call   1040 <printf@plt>
mov    %rbx,%rdi
call   1030 <ctime@plt>
lea    0xecb(%rip),%rdi
mov    %rax,%rsi
call   1040 <printf@plt>
mov    %rbx,%rdi
call   1030 <ctime@plt>
lea    0xeca(%rip),%rdi
mov    %rax,%rsi
pop    %rbx
jmp    1040 <printf@plt>

LLVM IR (-O0):
%struct.stat = type { i32, i32 }
@.str = [22 x i8] c"\09Last Access time: %s\00"
@.str.1 = [22 x i8] c"\09Last Modify time: %s\00"
@.str.2 = [22 x i8] c"\09Last Change time: %s\00"
define void @Print_AccessModifyChangeTime(%struct.stat* %0) {
%2 = alloca %struct.stat*
store %struct.stat* %0, %struct.stat** %2
%3 = load %struct.stat*, %struct.stat** %2
%4 = getelementptr inbounds %struct.stat, %struct.stat* %3, i32 0, i32 1
%5 = call i8* @ctime(i32* %4)
%6 = call i32 @printf(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str, i64 0, i64 0), i8* %5)
%7 = load %struct.stat*, %struct.stat** %2
%8 = getelementptr inbounds %struct.stat, %struct.stat* %7, i32 0, i32 0
%9 = call i8* @ctime(i32* %8)
%10 = call i32 @printf(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.1, i64 0, i64 0), i8* %9)
%11 = load %struct.stat*, %struct.stat** %2
%12 = getelementptr inbounds %struct.stat, %struct.stat* %11, i32 0, i32 0
%13 = call i8* @ctime(i32* %12)
%14 = call i32 @printf(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.2, i64 0, i64 0), i8* %13)
ret void
}

LLVM IR (-O2):
%struct.stat = type { i32, i32 }
@.str = [22 x i8] c"\09Last Access time: %s\00"
@.str.1 = [22 x i8] c"\09Last Modify time: %s\00"
@.str.2 = [22 x i8] c"\09Last Change time: %s\00"
define void @Print_AccessModifyChangeTime(%struct.stat* %0) {
%2 = getelementptr inbounds %struct.stat, %struct.stat* %0, i64 0, i32 1
%3 = tail call i8* @ctime(i32* %2)
%4 = tail call i32 @printf(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str, i64 0, i64 0), i8* %3)
%5 = getelementptr inbounds %struct.stat, %struct.stat* %0, i64 0, i32 0
%6 = tail call i8* @ctime(i32* %5)
%7 = tail call i32 @printf(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.1, i64 0, i64 0), i8* %6)
%8 = tail call i8* @ctime(i32* %5)
%9 = tail call i32 @printf(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.2, i64 0, i64 0), i8* %8)
ret void
}