#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 *);
void Welcome(int help) {
  printf("\t\t/************************\\\n");
  printf("\t\t|*** PCAdapt software ***|\n");
  printf("\t\t\\************************/\n\n");
  printf("\n\n");
  if (help)
    printf("Command line Help:\n\t-i path and name of the file containing your "
           "genotypes.\n\t-K number of factors to use\n\t-b number of burnin "
           "iterations\n\t-s number of iteration (including burnin)\n\t-o name "
           "of the output file\n\t-t 1 if you have individuals in lines\n\t-B "
           "Ising model parameter\n\t-I name of data file to initialise the "
           "chain with SVD\n\t-S 0 if you want the data to be unscaled.\n");
}


x86 assembly (clang, -O0):
<Welcome>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
mov    %edi,-0x4(%rbp)
lea    0xede(%rip),%rdi
call   1030 <printf@plt>
lea    0xef0(%rip),%rdi
call   1030 <printf@plt>
lea    0xf02(%rip),%rdi
call   1030 <printf@plt>
lea    0xf12(%rip),%rdi
call   1030 <printf@plt>
cmpl   $0x0,-0x4(%rbp)
je     1161 <Welcome+0x51>
lea    0xeff(%rip),%rdi
call   1030 <printf@plt>
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<Welcome>:
push   %rbx
mov    %edi,%ebx
lea    0xee6(%rip),%rdi
call   1030 <puts@plt>
lea    0xef7(%rip),%rdi
call   1030 <puts@plt>
lea    0xf08(%rip),%rdi
call   1030 <puts@plt>
lea    0xf18(%rip),%rdi
call   1030 <puts@plt>
test   %ebx,%ebx
je     1154 <Welcome+0x44>
lea    0xf0a(%rip),%rdi
pop    %rbx
jmp    1030 <puts@plt>
pop    %rbx
ret

LLVM IR (-O0):
@.str = [30 x i8] c"\09\09/************************\\\0A\00"
@.str.1 = [30 x i8] c"\09\09|*** PCAdapt software ***|\0A\00"
@.str.2 = [31 x i8] c"\09\09\\************************/\0A\0A\00"
@.str.3 = [3 x i8] c"\0A\0A\00"
@.str.4 = [372 x i8] c"Command line Help:\0A\09-i path and name of the file containing your genotypes.\0A\09-K number of factors to use\0A\09-b number of burnin iterations\0A\09-s number of iteration (including burnin)\0A\09-o name of the output file\0A\09-t 1 if you have individuals in lines\0A\09-B Ising model parameter\0A\09-I name of data file to initialise the chain with SVD\0A\09-S 0 if you want the data to be unscaled.\0A\00"
define void @Welcome(i32 %0) {
%2 = alloca i32
store i32 %0, i32* %2
%3 = call i32 @printf(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str, i64 0, i64 0))
%4 = call i32 @printf(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.1, i64 0, i64 0))
%5 = call i32 @printf(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.2, i64 0, i64 0))
%6 = call i32 @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0))
%7 = load i32, i32* %2
%8 = icmp ne i32 %7, 0
br i1 %8, label %9, label %11
9: ; preds = %1
%10 = call i32 @printf(i8* getelementptr inbounds ([372 x i8], [372 x i8]* @.str.4, i64 0, i64 0))
br label %11
11: ; preds = %9, %1
ret void
}

LLVM IR (-O2):
@str = [29 x i8] c"\09\09/************************\\\00"
@str.5 = [29 x i8] c"\09\09|*** PCAdapt software ***|\00"
@str.6 = [30 x i8] c"\09\09\\************************/\0A\00"
@str.7 = [2 x i8] c"\0A\00"
@str.8 = [371 x i8] c"Command line Help:\0A\09-i path and name of the file containing your genotypes.\0A\09-K number of factors to use\0A\09-b number of burnin iterations\0A\09-s number of iteration (including burnin)\0A\09-o name of the output file\0A\09-t 1 if you have individuals in lines\0A\09-B Ising model parameter\0A\09-I name of data file to initialise the chain with SVD\0A\09-S 0 if you want the data to be unscaled.\00"
define void @Welcome(i32 %0) {
%2 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([29 x i8], [29 x i8]* @str, i64 0, i64 0))
%3 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([29 x i8], [29 x i8]* @str.5, i64 0, i64 0))
%4 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([30 x i8], [30 x i8]* @str.6, i64 0, i64 0))
%5 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([2 x i8], [2 x i8]* @str.7, i64 0, i64 0))
%6 = icmp eq i32 %0, 0
br i1 %6, label %9, label %7
7: ; preds = %1
%8 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([371 x i8], [371 x i8]* @str.8, i64 0, i64 0))
br label %9
9: ; preds = %7, %1
ret void
}