#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*/ printf(char *, char *, ...);
void primary() {
  printf("\nMemory Frequency is at %s, %s mode\n", "16 Mhz", "Quad Channel");
  printf("  Primary Master : %s\n", "PLYTRN PL1000-23");
  printf("   Primary Slave : %s\n", "Empty");
}


x86 assembly (clang, -O0):
<primary>:
push   %rbp
mov    %rsp,%rbp
lea    0xee5(%rip),%rdi
lea    0xf03(%rip),%rsi
lea    0xf03(%rip),%rdx
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf02(%rip),%rdi
lea    0xf12(%rip),%rsi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf15(%rip),%rdi
lea    0xf25(%rip),%rsi
mov    $0x0,%al
call   1030 <printf@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<primary>:
push   %rax
lea    0xee8(%rip),%rdi
lea    0xf06(%rip),%rsi
lea    0xf06(%rip),%rdx
xor    %eax,%eax
call   1030 <printf@plt>
lea    0xf05(%rip),%rdi
lea    0xf15(%rip),%rsi
xor    %eax,%eax
call   1030 <printf@plt>
lea    0xf18(%rip),%rdi
lea    0xf28(%rip),%rsi
xor    %eax,%eax
pop    %rcx
jmp    1030 <printf@plt>

LLVM IR (-O0):
@.str = [37 x i8] c"\0AMemory Frequency is at %s, %s mode\0A\00"
@.str.1 = [7 x i8] c"16 Mhz\00"
@.str.2 = [13 x i8] c"Quad Channel\00"
@.str.3 = [23 x i8] c" Primary Master : %s\0A\00"
@.str.4 = [17 x i8] c"PLYTRN PL1000-23\00"
@.str.5 = [23 x i8] c" Primary Slave : %s\0A\00"
@.str.6 = [6 x i8] c"Empty\00"
define void @primary() {
%1 = call i32 (i8*, i8*, ...) @printf(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.2, i64 0, i64 0))
%2 = call i32 (i8*, i8*, ...) @printf(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.4, i64 0, i64 0))
%3 = call i32 (i8*, i8*, ...) @printf(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.5, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.6, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@.str = [37 x i8] c"\0AMemory Frequency is at %s, %s mode\0A\00"
@.str.1 = [7 x i8] c"16 Mhz\00"
@.str.2 = [13 x i8] c"Quad Channel\00"
@.str.3 = [23 x i8] c" Primary Master : %s\0A\00"
@.str.4 = [17 x i8] c"PLYTRN PL1000-23\00"
@.str.5 = [23 x i8] c" Primary Slave : %s\0A\00"
@.str.6 = [6 x i8] c"Empty\00"
define void @primary() {
%1 = tail call i32 (i8*, i8*, ...) @printf(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.2, i64 0, i64 0))
%2 = tail call i32 (i8*, i8*, ...) @printf(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.4, i64 0, i64 0))
%3 = tail call i32 (i8*, i8*, ...) @printf(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.5, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.6, i64 0, i64 0))
ret void
}