#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 */

/* Variables and functions */
int /*<<< orphan*/ print_log(char *, ...);
void version_display(void) {
  print_log("\n");
  print_log("\t*********************************************\n");
  print_log("\t*      FCI   DMB RECEIVER MODEL             *\n");
  print_log("\t*                                           *\n");
  print_log("\t*         %s  %s             *\n", "Mar 15 2022", "10:54:29");
  print_log("\t*                                           *\n");
  print_log("\t*       Digital Multimedia Broadcast        *\n");
  print_log("\t*                                           *\n");
  print_log("\t*            http://www.fci.co.kr           *\n");
  print_log("\t*********************************************\n");
  print_log("\tVersion Information\n");
  print_log("\tFunctions:\n");
  print_log("\n");
}


x86 assembly (clang, -O0):
<version_display>:
push   %rbp
mov    %rsp,%rbp
lea    0xf73(%rip),%rdi
mov    $0x0,%al
call   1030 <print_log@plt>
lea    0xed7(%rip),%rdi
mov    $0x0,%al
call   1030 <print_log@plt>
lea    0xef9(%rip),%rdi
mov    $0x0,%al
call   1030 <print_log@plt>
lea    0xf1b(%rip),%rdi
mov    $0x0,%al
call   1030 <print_log@plt>
lea    0xf3d(%rip),%rdi
lea    0xf57(%rip),%rsi
lea    0xf5c(%rip),%rdx
mov    $0x0,%al
call   1030 <print_log@plt>
lea    0xef1(%rip),%rdi
mov    $0x0,%al
call   1030 <print_log@plt>
lea    0xf49(%rip),%rdi
mov    $0x0,%al
call   1030 <print_log@plt>
lea    0xed5(%rip),%rdi
mov    $0x0,%al
call   1030 <print_log@plt>
lea    0xf5d(%rip),%rdi
mov    $0x0,%al
call   1030 <print_log@plt>
lea    0xe59(%rip),%rdi
mov    $0x0,%al
call   1030 <print_log@plt>
lea    0xf71(%rip),%rdi
mov    $0x0,%al
call   1030 <print_log@plt>
lea    0xf79(%rip),%rdi
mov    $0x0,%al
call   1030 <print_log@plt>
lea    0xebd(%rip),%rdi
mov    $0x0,%al
call   1030 <print_log@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<version_display>:
push   %r15
push   %r14
push   %rbx
lea    0xf72(%rip),%r14
mov    %r14,%rdi
xor    %eax,%eax
call   1030 <print_log@plt>
lea    0xed3(%rip),%r15
mov    %r15,%rdi
xor    %eax,%eax
call   1030 <print_log@plt>
lea    0xef2(%rip),%rdi
xor    %eax,%eax
call   1030 <print_log@plt>
lea    0xf14(%rip),%rbx
mov    %rbx,%rdi
xor    %eax,%eax
call   1030 <print_log@plt>
lea    0xf33(%rip),%rdi
lea    0xf4d(%rip),%rsi
lea    0xf52(%rip),%rdx
xor    %eax,%eax
call   1030 <print_log@plt>
mov    %rbx,%rdi
xor    %eax,%eax
call   1030 <print_log@plt>
lea    0xf43(%rip),%rdi
xor    %eax,%eax
call   1030 <print_log@plt>
mov    %rbx,%rdi
xor    %eax,%eax
call   1030 <print_log@plt>
lea    0xf5b(%rip),%rdi
xor    %eax,%eax
call   1030 <print_log@plt>
mov    %r15,%rdi
xor    %eax,%eax
call   1030 <print_log@plt>
lea    0xf73(%rip),%rdi
xor    %eax,%eax
call   1030 <print_log@plt>
lea    0xf7b(%rip),%rdi
xor    %eax,%eax
call   1030 <print_log@plt>
mov    %r14,%rdi
xor    %eax,%eax
pop    %rbx
pop    %r14
pop    %r15
jmp    1030 <print_log@plt>

LLVM IR (-O0):
@.str = [2 x i8] c"\0A\00"
@.str.1 = [48 x i8] c"\09*********************************************\0A\00"
@.str.2 = [48 x i8] c"\09* FCI DMB RECEIVER MODEL *\0A\00"
@.str.3 = [48 x i8] c"\09* *\0A\00"
@.str.4 = [33 x i8] c"\09* %s %s *\0A\00"
@.str.5 = [12 x i8] c"Mar 15 2022\00"
@.str.6 = [9 x i8] c"10:54:29\00"
@.str.7 = [48 x i8] c"\09* Digital Multimedia Broadcast *\0A\00"
@.str.8 = [48 x i8] c"\09* http://www.fci.co.kr *\0A\00"
@.str.9 = [22 x i8] c"\09Version Information\0A\00"
@.str.10 = [13 x i8] c"\09Functions:\0A\00"
define void @version_display() {
%1 = call i32 (i8*, ...) @print_log(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0))
%2 = call i32 (i8*, ...) @print_log(i8* getelementptr inbounds ([48 x i8], [48 x i8]* @.str.1, i64 0, i64 0))
%3 = call i32 (i8*, ...) @print_log(i8* getelementptr inbounds ([48 x i8], [48 x i8]* @.str.2, i64 0, i64 0))
%4 = call i32 (i8*, ...) @print_log(i8* getelementptr inbounds ([48 x i8], [48 x i8]* @.str.3, i64 0, i64 0))
%5 = call i32 (i8*, ...) @print_log(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.5, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.6, i64 0, i64 0))
%6 = call i32 (i8*, ...) @print_log(i8* getelementptr inbounds ([48 x i8], [48 x i8]* @.str.3, i64 0, i64 0))
%7 = call i32 (i8*, ...) @print_log(i8* getelementptr inbounds ([48 x i8], [48 x i8]* @.str.7, i64 0, i64 0))
%8 = call i32 (i8*, ...) @print_log(i8* getelementptr inbounds ([48 x i8], [48 x i8]* @.str.3, i64 0, i64 0))
%9 = call i32 (i8*, ...) @print_log(i8* getelementptr inbounds ([48 x i8], [48 x i8]* @.str.8, i64 0, i64 0))
%10 = call i32 (i8*, ...) @print_log(i8* getelementptr inbounds ([48 x i8], [48 x i8]* @.str.1, i64 0, i64 0))
%11 = call i32 (i8*, ...) @print_log(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.9, i64 0, i64 0))
%12 = call i32 (i8*, ...) @print_log(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.10, i64 0, i64 0))
%13 = call i32 (i8*, ...) @print_log(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@.str = [2 x i8] c"\0A\00"
@.str.1 = [48 x i8] c"\09*********************************************\0A\00"
@.str.2 = [48 x i8] c"\09* FCI DMB RECEIVER MODEL *\0A\00"
@.str.3 = [48 x i8] c"\09* *\0A\00"
@.str.4 = [33 x i8] c"\09* %s %s *\0A\00"
@.str.5 = [12 x i8] c"Mar 15 2022\00"
@.str.6 = [9 x i8] c"10:54:29\00"
@.str.7 = [48 x i8] c"\09* Digital Multimedia Broadcast *\0A\00"
@.str.8 = [48 x i8] c"\09* http://www.fci.co.kr *\0A\00"
@.str.9 = [22 x i8] c"\09Version Information\0A\00"
@.str.10 = [13 x i8] c"\09Functions:\0A\00"
define void @version_display() {
%1 = tail call i32 (i8*, ...) @print_log(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0))
%2 = tail call i32 (i8*, ...) @print_log(i8* getelementptr inbounds ([48 x i8], [48 x i8]* @.str.1, i64 0, i64 0))
%3 = tail call i32 (i8*, ...) @print_log(i8* getelementptr inbounds ([48 x i8], [48 x i8]* @.str.2, i64 0, i64 0))
%4 = tail call i32 (i8*, ...) @print_log(i8* getelementptr inbounds ([48 x i8], [48 x i8]* @.str.3, i64 0, i64 0))
%5 = tail call i32 (i8*, ...) @print_log(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.5, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.6, i64 0, i64 0))
%6 = tail call i32 (i8*, ...) @print_log(i8* getelementptr inbounds ([48 x i8], [48 x i8]* @.str.3, i64 0, i64 0))
%7 = tail call i32 (i8*, ...) @print_log(i8* getelementptr inbounds ([48 x i8], [48 x i8]* @.str.7, i64 0, i64 0))
%8 = tail call i32 (i8*, ...) @print_log(i8* getelementptr inbounds ([48 x i8], [48 x i8]* @.str.3, i64 0, i64 0))
%9 = tail call i32 (i8*, ...) @print_log(i8* getelementptr inbounds ([48 x i8], [48 x i8]* @.str.8, i64 0, i64 0))
%10 = tail call i32 (i8*, ...) @print_log(i8* getelementptr inbounds ([48 x i8], [48 x i8]* @.str.1, i64 0, i64 0))
%11 = tail call i32 (i8*, ...) @print_log(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.9, i64 0, i64 0))
%12 = tail call i32 (i8*, ...) @print_log(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.10, i64 0, i64 0))
%13 = tail call i32 (i8*, ...) @print_log(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0))
ret void
}