#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*/ concatenation(char *, int, int);
int /*<<< orphan*/ printf(char *, ...);
int /*<<< orphan*/ scanf(char *, char *);
int strlen(char *);
char menu() {
  char choice;
  char authorTitle[] = "Programme réalisé par :";
  char author[] = "Guillaume QUITTET";
  char groupTitle[] = "Groupe :";
  char group[] = "5";
  char menuTitle[] = "Menu du jeu";
  char releaseDateTitle[] = "Date de version :";
  char releaseDate[] = "13/10/2015";
  char sectionTitle[] = "Section :";
  char section[] = "Informatique";
  char title[] = "TP7 : Jeu du Puissance 4";
  char yearTitle[] = "Année académique :";
  char year[] = "BA1P";
  concatenation("\033[0;92m-\033[0m", strlen(authorTitle) + strlen(author) + 1,
                1);
  printf("\033[0;91m%s\033[0;93m%20s\n\033[0;91m%s \033[0;93m%s\033[0;91m%19s "
         "\033[0;93m%s\n\033[0;91m%s \033[0;93m%s\n\033[0;91m%s \033[0;93m%s\n",
         authorTitle, author, sectionTitle, section, groupTitle, group,
         yearTitle, year, releaseDateTitle, releaseDate);
  concatenation("\033[0;92m-\033[0m", strlen(authorTitle) + strlen(author) + 1,
                1);
  printf("\033[0;96m%s\033[0m\n", title);
  concatenation("\033[0;92m=\033[0m",
                ((strlen(author) + strlen(menuTitle)) / 2) + 1, 0);
  printf(" \033[0;91m%s\033[0m ", menuTitle);
  concatenation("\033[0;92m=\033[0m",
                ((strlen(author) + strlen(menuTitle)) / 2) + 1, 1);
  printf("\033[0;96m(1) : Lancer une partie\n(2) : Afficher les règles du "
         "jeu\n(3) : Quittet\033[0m\n");
  concatenation("\033[0;92m=\033[0m", strlen(authorTitle) + strlen(author), 1);
  printf("Faites votre choix? : ");
  scanf("%c", &choice);
  return choice;
}


x86 assembly (clang, -O0):
<menu>:
push   %rbp
mov    %rsp,%rbp
push   %r14
push   %rbx
sub    $0x120,%rsp
mov    0xeab(%rip),%rax
mov    %rax,-0x30(%rbp)
mov    0xea8(%rip),%rax
mov    %rax,-0x28(%rbp)
mov    0xea5(%rip),%rax
mov    %rax,-0x20(%rbp)
mov    0xea2(%rip),%ax
mov    %ax,-0x18(%rbp)
mov    0xe9f(%rip),%rax
mov    %rax,-0x50(%rbp)
mov    0xe9c(%rip),%rax
mov    %rax,-0x48(%rbp)
mov    0xe99(%rip),%ax
mov    %ax,-0x40(%rbp)
mov    0xef3(%rip),%rax
mov    %rax,-0x59(%rbp)
mov    0xef1(%rip),%al
mov    %al,-0x51(%rbp)
mov    0xefd(%rip),%ax
mov    %ax,-0x5b(%rbp)
mov    0xedd(%rip),%rax
mov    %rax,-0x67(%rbp)
mov    0xedb(%rip),%eax
mov    %eax,-0x5f(%rbp)
mov    0xe6b(%rip),%rax
mov    %rax,-0x80(%rbp)
mov    0xe68(%rip),%rax
mov    %rax,-0x78(%rbp)
mov    0xe65(%rip),%ax
mov    %ax,-0x70(%rbp)
mov    0xeb4(%rip),%rax
mov    %rax,-0x8b(%rbp)
mov    0xeae(%rip),%ax
mov    %ax,-0x83(%rbp)
mov    0xea3(%rip),%al
mov    %al,-0x81(%rbp)
mov    0xe97(%rip),%rax
mov    %rax,-0x95(%rbp)
mov    0xe91(%rip),%ax
mov    %ax,-0x8d(%rbp)
mov    0xe85(%rip),%rax
mov    %rax,-0xa2(%rbp)
mov    0xe80(%rip),%eax
mov    %eax,-0x9a(%rbp)
mov    0xe78(%rip),%al
mov    %al,-0x96(%rbp)
mov    0xe00(%rip),%rax
mov    %rax,-0xc0(%rbp)
mov    0xdfa(%rip),%rax
mov    %rax,-0xb8(%rbp)
mov    0xdf4(%rip),%rax
mov    %rax,-0xb0(%rbp)
mov    0xdef(%rip),%al
mov    %al,-0xa8(%rbp)
mov    0xdea(%rip),%rax
mov    %rax,-0xe0(%rbp)
mov    0xde4(%rip),%rax
mov    %rax,-0xd8(%rbp)
mov    0xddf(%rip),%eax
mov    %eax,-0xd0(%rbp)
mov    0xdd7(%rip),%al
mov    %al,-0xcc(%rbp)
mov    0xe03(%rip),%eax
mov    %eax,-0xe5(%rbp)
mov    0xdfb(%rip),%al
mov    %al,-0xe1(%rbp)
lea    -0x30(%rbp),%rdi
call   1040 <strlen@plt>
mov    %eax,-0xfc(%rbp)
lea    -0x50(%rbp),%rdi
call   1040 <strlen@plt>
mov    -0xfc(%rbp),%esi
add    %eax,%esi
add    $0x1,%esi
lea    0xdcc(%rip),%rdi
mov    $0x1,%edx
call   1030 <concatenation@plt>
lea    -0x30(%rbp),%rsi
lea    -0x50(%rbp),%rdx
lea    -0x95(%rbp),%rcx
lea    -0xa2(%rbp),%r8
lea    -0x59(%rbp),%r9
lea    -0x5b(%rbp),%r14
lea    -0xe0(%rbp),%rbx
lea    -0xe5(%rbp),%r11
lea    -0x80(%rbp),%r10
lea    -0x8b(%rbp),%rax
lea    0xd91(%rip),%rdi
mov    %r14,(%rsp)
mov    %rbx,0x8(%rsp)
mov    %r11,0x10(%rsp)
mov    %r10,0x18(%rsp)
mov    %rax,0x20(%rsp)
mov    $0x0,%al
call   1050 <printf@plt>
lea    -0x30(%rbp),%rdi
call   1040 <strlen@plt>
mov    %eax,-0xf8(%rbp)
lea    -0x50(%rbp),%rdi
call   1040 <strlen@plt>
mov    -0xf8(%rbp),%esi
add    %eax,%esi
add    $0x1,%esi
lea    0xd3b(%rip),%rdi
mov    $0x1,%edx
call   1030 <concatenation@plt>
lea    -0xc0(%rbp),%rsi
lea    0xd97(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
lea    -0x50(%rbp),%rdi
call   1040 <strlen@plt>
mov    %eax,-0xf4(%rbp)
lea    -0x67(%rbp),%rdi
call   1040 <strlen@plt>
mov    %eax,%ecx
mov    -0xf4(%rbp),%eax
add    %ecx,%eax
mov    $0x2,%ecx
cltd
idiv   %ecx
mov    %eax,%esi
add    $0x1,%esi
lea    0xd69(%rip),%rdi
xor    %edx,%edx
call   1030 <concatenation@plt>
lea    -0x67(%rbp),%rsi
lea    0xd64(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
lea    -0x50(%rbp),%rdi
call   1040 <strlen@plt>
mov    %eax,-0xf0(%rbp)
lea    -0x67(%rbp),%rdi
call   1040 <strlen@plt>
mov    %eax,%ecx
mov    -0xf0(%rbp),%eax
add    %ecx,%eax
mov    $0x2,%ecx
cltd
idiv   %ecx
mov    %eax,%esi
add    $0x1,%esi
lea    0xd1a(%rip),%rdi
mov    $0x1,%edx
call   1030 <concatenation@plt>
lea    0xd26(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
lea    -0x30(%rbp),%rdi
call   1040 <strlen@plt>
mov    %eax,-0xec(%rbp)
lea    -0x50(%rbp),%rdi
call   1040 <strlen@plt>
mov    -0xec(%rbp),%esi
add    %eax,%esi
lea    0xcdb(%rip),%rdi
mov    $0x1,%edx
call   1030 <concatenation@plt>
lea    0xd3b(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
lea    0xd44(%rip),%rdi
lea    -0x11(%rbp),%rsi
call   1060 <scanf@plt>
movsbl -0x11(%rbp),%eax
add    $0x120,%rsp
pop    %rbx
pop    %r14
pop    %rbp
ret

x86 assembly (clang, -O2):
<menu>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x108,%rsp
movups 0xea2(%rip),%xmm0
movups %xmm0,0xea(%rsp)
movaps 0xe89(%rip),%xmm0
movaps %xmm0,0xe0(%rsp)
movaps 0xe9a(%rip),%xmm0
movaps %xmm0,0x80(%rsp)
movw   $0x54,0x90(%rsp)
movabs $0x3a206570756f7247,%rax
65 20 3a
mov    %rax,0x10(%rsp)
movb   $0x0,0x18(%rsp)
movw   $0x35,0x6(%rsp)
movabs $0x20756420756e654d,%rax
64 75 20
mov    %rax,0x40(%rsp)
movl   $0x75656a,0x48(%rsp)
movaps 0xe6f(%rip),%xmm0
movaps %xmm0,0x60(%rsp)
movw   $0x3a,0x70(%rsp)
movabs $0x30322f30312f3331,%rax
2f 32 30
mov    %rax,0x30(%rsp)
movl   $0x353130,0x37(%rsp)
movabs $0x206e6f6974636553,%rax
6f 6e 20
mov    %rax,0x20(%rsp)
movw   $0x3a,0x28(%rsp)
movabs $0x6575716974616d,%rax
mov    %rax,0x55(%rsp)
movabs $0x74616d726f666e49,%rax
6d 61 74
mov    %rax,0x50(%rsp)
movups 0xe3a(%rip),%xmm0
movups %xmm0,0xc9(%rsp)
movaps 0xe22(%rip),%xmm0
movaps %xmm0,0xc0(%rsp)
movabs $0x3a20657571696d,%rax
mov    %rax,0xad(%rsp)
movaps 0xe21(%rip),%xmm0
movaps %xmm0,0xa0(%rsp)
movb   $0x0,0xc(%rsp)
movl   $0x50314142,0x8(%rsp)
50
lea    0xe0(%rsp),%r14
mov    %r14,%rdi
call   1050 <strlen@plt>
mov    %eax,%ebx
lea    0x80(%rsp),%r15
mov    %r15,%rdi
call   1050 <strlen@plt>
lea    (%rbx,%rax,1),%esi
add    $0x1,%esi
lea    0xe2e(%rip),%r12
mov    %r12,%rdi
mov    $0x1,%edx
call   1040 <concatenation@plt>
sub    $0x8,%rsp
lea    0x38(%rsp),%rbp
lea    0x68(%rsp),%rbx
lea    0x10(%rsp),%r10
lea    0xa8(%rsp),%r11
lea    0xe(%rsp),%r13
lea    0xe07(%rip),%rdi
lea    0x28(%rsp),%rcx
lea    0x58(%rsp),%r8
lea    0x18(%rsp),%r9
mov    %r14,%rsi
mov    %r15,%rdx
mov    $0x0,%eax
push   %rbp
push   %rbx
push   %r10
push   %r11
push   %r13
call   1060 <printf@plt>
add    $0x30,%rsp
mov    %r14,%rdi
call   1050 <strlen@plt>
mov    %eax,%ebx
mov    %r15,%rdi
call   1050 <strlen@plt>
lea    (%rbx,%rax,1),%esi
add    $0x1,%esi
mov    %r12,%rdi
mov    $0x1,%edx
call   1040 <concatenation@plt>
lea    0xe17(%rip),%rdi
lea    0xc0(%rsp),%rsi
xor    %eax,%eax
call   1060 <printf@plt>
mov    %r15,%rdi
call   1050 <strlen@plt>
mov    %eax,%ebp
lea    0x40(%rsp),%rbx
mov    %rbx,%rdi
call   1050 <strlen@plt>
add    %eax,%ebp
mov    %ebp,%esi
shr    $0x1f,%esi
add    %ebp,%esi
sar    %esi
add    $0x1,%esi
lea    0xdeb(%rip),%r12
mov    %r12,%rdi
xor    %edx,%edx
call   1040 <concatenation@plt>
lea    0xde7(%rip),%rdi
mov    %rbx,%rsi
xor    %eax,%eax
call   1060 <printf@plt>
mov    %r15,%rdi
call   1050 <strlen@plt>
mov    %eax,%ebp
mov    %rbx,%rdi
call   1050 <strlen@plt>
add    %eax,%ebp
mov    %ebp,%esi
shr    $0x1f,%esi
add    %ebp,%esi
sar    %esi
add    $0x1,%esi
mov    %r12,%rdi
mov    $0x1,%edx
call   1040 <concatenation@plt>
lea    0xdd3(%rip),%rdi
call   1030 <puts@plt>
mov    %r14,%rdi
call   1050 <strlen@plt>
mov    %eax,%ebx
mov    %r15,%rdi
call   1050 <strlen@plt>
add    %eax,%ebx
mov    %r12,%rdi
mov    %ebx,%esi
mov    $0x1,%edx
call   1040 <concatenation@plt>
lea    0xd8a(%rip),%rdi
xor    %eax,%eax
call   1060 <printf@plt>
lea    0xd93(%rip),%rdi
lea    0x5(%rsp),%rsi
call   1070 <scanf@plt>
mov    0x5(%rsp),%al
add    $0x108,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@__const.menu.authorTitle = [26 x i8] c"Programme r\C3\A9alis\C3\A9 par :\00"
@__const.menu.author = [18 x i8] c"Guillaume QUITTET\00"
@__const.menu.groupTitle = [9 x i8] c"Groupe :\00"
@__const.menu.group = [2 x i8] c"5\00"
@__const.menu.menuTitle = [12 x i8] c"Menu du jeu\00"
@__const.menu.releaseDateTitle = [18 x i8] c"Date de version :\00"
@__const.menu.releaseDate = [11 x i8] c"13/10/2015\00"
@__const.menu.sectionTitle = [10 x i8] c"Section :\00"
@__const.menu.section = [13 x i8] c"Informatique\00"
@__const.menu.title = [25 x i8] c"TP7 : Jeu du Puissance 4\00"
@__const.menu.yearTitle = [21 x i8] c"Ann\C3\A9e acad\C3\A9mique :\00"
@__const.menu.year = [5 x i8] c"BA1P\00"
@.str = [13 x i8] c"\1B[0;92m-\1B[0m\00"
@.str.1 = [103 x i8] c"\1B[0;91m%s\1B[0;93m%20s\0A\1B[0;91m%s \1B[0;93m%s\1B[0;91m%19s \1B[0;93m%s\0A\1B[0;91m%s \1B[0;93m%s\0A\1B[0;91m%s \1B[0;93m%s\0A\00"
@.str.2 = [15 x i8] c"\1B[0;96m%s\1B[0m\0A\00"
@.str.3 = [13 x i8] c"\1B[0;92m=\1B[0m\00"
@.str.4 = [16 x i8] c" \1B[0;91m%s\1B[0m \00"
@.str.5 = [84 x i8] c"\1B[0;96m(1) : Lancer une partie\0A(2) : Afficher les r\C3\A8gles du jeu\0A(3) : Quittet\1B[0m\0A\00"
@.str.6 = [23 x i8] c"Faites votre choix? : \00"
@.str.7 = [3 x i8] c"%c\00"
define signext i8 @menu() {
%1 = alloca i8
%2 = alloca [26 x i8]
%3 = alloca [18 x i8]
%4 = alloca [9 x i8]
%5 = alloca [2 x i8]
%6 = alloca [12 x i8]
%7 = alloca [18 x i8]
%8 = alloca [11 x i8]
%9 = alloca [10 x i8]
%10 = alloca [13 x i8]
%11 = alloca [25 x i8]
%12 = alloca [21 x i8]
%13 = alloca [5 x i8]
%14 = bitcast [26 x i8]* %2 to i8*
%15 = bitcast [18 x i8]* %3 to i8*
%16 = bitcast [9 x i8]* %4 to i8*
%17 = bitcast [2 x i8]* %5 to i8*
%18 = bitcast [12 x i8]* %6 to i8*
%19 = bitcast [18 x i8]* %7 to i8*
%20 = bitcast [11 x i8]* %8 to i8*
%21 = bitcast [10 x i8]* %9 to i8*
%22 = bitcast [13 x i8]* %10 to i8*
%23 = bitcast [25 x i8]* %11 to i8*
%24 = bitcast [21 x i8]* %12 to i8*
%25 = bitcast [5 x i8]* %13 to i8*
%26 = getelementptr inbounds [26 x i8], [26 x i8]* %2, i64 0, i64 0
%27 = call i32 @strlen(i8* %26)
%28 = getelementptr inbounds [18 x i8], [18 x i8]* %3, i64 0, i64 0
%29 = call i32 @strlen(i8* %28)
%30 = add nsw i32 %27, %29
%31 = add nsw i32 %30, 1
%32 = call i32 @concatenation(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str, i64 0, i64 0), i32 %31, i32 1)
%33 = getelementptr inbounds [26 x i8], [26 x i8]* %2, i64 0, i64 0
%34 = getelementptr inbounds [18 x i8], [18 x i8]* %3, i64 0, i64 0
%35 = getelementptr inbounds [10 x i8], [10 x i8]* %9, i64 0, i64 0
%36 = getelementptr inbounds [13 x i8], [13 x i8]* %10, i64 0, i64 0
%37 = getelementptr inbounds [9 x i8], [9 x i8]* %4, i64 0, i64 0
%38 = getelementptr inbounds [2 x i8], [2 x i8]* %5, i64 0, i64 0
%39 = getelementptr inbounds [21 x i8], [21 x i8]* %12, i64 0, i64 0
%40 = getelementptr inbounds [5 x i8], [5 x i8]* %13, i64 0, i64 0
%41 = getelementptr inbounds [18 x i8], [18 x i8]* %7, i64 0, i64 0
%42 = getelementptr inbounds [11 x i8], [11 x i8]* %8, i64 0, i64 0
%43 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([103 x i8], [103 x i8]* @.str.1, i64 0, i64 0), i8* %33, i8* %34, i8* %35, i8* %36, i8* %37, i8* %38, i8* %39, i8* %40, i8* %41, i8* %42)
%44 = getelementptr inbounds [26 x i8], [26 x i8]* %2, i64 0, i64 0
%45 = call i32 @strlen(i8* %44)
%46 = getelementptr inbounds [18 x i8], [18 x i8]* %3, i64 0, i64 0
%47 = call i32 @strlen(i8* %46)
%48 = add nsw i32 %45, %47
%49 = add nsw i32 %48, 1
%50 = call i32 @concatenation(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str, i64 0, i64 0), i32 %49, i32 1)
%51 = getelementptr inbounds [25 x i8], [25 x i8]* %11, i64 0, i64 0
%52 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.2, i64 0, i64 0), i8* %51)
%53 = getelementptr inbounds [18 x i8], [18 x i8]* %3, i64 0, i64 0
%54 = call i32 @strlen(i8* %53)
%55 = getelementptr inbounds [12 x i8], [12 x i8]* %6, i64 0, i64 0
%56 = call i32 @strlen(i8* %55)
%57 = add nsw i32 %54, %56
%58 = sdiv i32 %57, 2
%59 = add nsw i32 %58, 1
%60 = call i32 @concatenation(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.3, i64 0, i64 0), i32 %59, i32 0)
%61 = getelementptr inbounds [12 x i8], [12 x i8]* %6, i64 0, i64 0
%62 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.4, i64 0, i64 0), i8* %61)
%63 = getelementptr inbounds [18 x i8], [18 x i8]* %3, i64 0, i64 0
%64 = call i32 @strlen(i8* %63)
%65 = getelementptr inbounds [12 x i8], [12 x i8]* %6, i64 0, i64 0
%66 = call i32 @strlen(i8* %65)
%67 = add nsw i32 %64, %66
%68 = sdiv i32 %67, 2
%69 = add nsw i32 %68, 1
%70 = call i32 @concatenation(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.3, i64 0, i64 0), i32 %69, i32 1)
%71 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([84 x i8], [84 x i8]* @.str.5, i64 0, i64 0))
%72 = getelementptr inbounds [26 x i8], [26 x i8]* %2, i64 0, i64 0
%73 = call i32 @strlen(i8* %72)
%74 = getelementptr inbounds [18 x i8], [18 x i8]* %3, i64 0, i64 0
%75 = call i32 @strlen(i8* %74)
%76 = add nsw i32 %73, %75
%77 = call i32 @concatenation(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.3, i64 0, i64 0), i32 %76, i32 1)
%78 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.6, i64 0, i64 0))
%79 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.7, i64 0, i64 0), i8* %1)
%80 = load i8, i8* %1
ret i8 %80
}

LLVM IR (-O2):
@__const.menu.authorTitle = [26 x i8] c"Programme r\C3\A9alis\C3\A9 par :\00"
@__const.menu.author = [18 x i8] c"Guillaume QUITTET\00"
@__const.menu.groupTitle = [9 x i8] c"Groupe :\00"
@__const.menu.menuTitle = [12 x i8] c"Menu du jeu\00"
@__const.menu.releaseDateTitle = [18 x i8] c"Date de version :\00"
@__const.menu.releaseDate = [11 x i8] c"13/10/2015\00"
@__const.menu.sectionTitle = [10 x i8] c"Section :\00"
@__const.menu.section = [13 x i8] c"Informatique\00"
@__const.menu.title = [25 x i8] c"TP7 : Jeu du Puissance 4\00"
@__const.menu.yearTitle = [21 x i8] c"Ann\C3\A9e acad\C3\A9mique :\00"
@__const.menu.year = [5 x i8] c"BA1P\00"
@.str = [13 x i8] c"\1B[0;92m-\1B[0m\00"
@.str.1 = [103 x i8] c"\1B[0;91m%s\1B[0;93m%20s\0A\1B[0;91m%s \1B[0;93m%s\1B[0;91m%19s \1B[0;93m%s\0A\1B[0;91m%s \1B[0;93m%s\0A\1B[0;91m%s \1B[0;93m%s\0A\00"
@.str.2 = [15 x i8] c"\1B[0;96m%s\1B[0m\0A\00"
@.str.3 = [13 x i8] c"\1B[0;92m=\1B[0m\00"
@.str.4 = [16 x i8] c" \1B[0;91m%s\1B[0m \00"
@.str.6 = [23 x i8] c"Faites votre choix? : \00"
@.str.7 = [3 x i8] c"%c\00"
@str = [83 x i8] c"\1B[0;96m(1) : Lancer une partie\0A(2) : Afficher les r\C3\A8gles du jeu\0A(3) : Quittet\1B[0m\00"
define signext i8 @menu() {
%1 = alloca i8
%2 = alloca [26 x i8]
%3 = alloca [18 x i8]
%4 = alloca [9 x i8]
%5 = alloca i16
%6 = alloca [12 x i8]
%7 = alloca [18 x i8]
%8 = alloca [11 x i8]
%9 = alloca [10 x i8]
%10 = alloca [13 x i8]
%11 = alloca [25 x i8]
%12 = alloca [21 x i8]
%13 = alloca [5 x i8]
%14 = getelementptr inbounds [26 x i8], [26 x i8]* %2, i64 0, i64 0
%15 = getelementptr inbounds [18 x i8], [18 x i8]* %3, i64 0, i64 0
%16 = getelementptr inbounds [9 x i8], [9 x i8]* %4, i64 0, i64 0
%17 = bitcast i16* %5 to i8*
store i16 53, i16* %5
%18 = getelementptr inbounds [12 x i8], [12 x i8]* %6, i64 0, i64 0
%19 = getelementptr inbounds [18 x i8], [18 x i8]* %7, i64 0, i64 0
%20 = getelementptr inbounds [11 x i8], [11 x i8]* %8, i64 0, i64 0
%21 = getelementptr inbounds [10 x i8], [10 x i8]* %9, i64 0, i64 0
%22 = getelementptr inbounds [13 x i8], [13 x i8]* %10, i64 0, i64 0
%23 = getelementptr inbounds [25 x i8], [25 x i8]* %11, i64 0, i64 0
%24 = getelementptr inbounds [21 x i8], [21 x i8]* %12, i64 0, i64 0
%25 = getelementptr inbounds [5 x i8], [5 x i8]* %13, i64 0, i64 0
%26 = call i32 @strlen(i8* %14)
%27 = call i32 @strlen(i8* %15)
%28 = add i32 %26, 1
%29 = add i32 %28, %27
%30 = call i32 @concatenation(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str, i64 0, i64 0), i32 %29, i32 1)
%31 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([103 x i8], [103 x i8]* @.str.1, i64 0, i64 0), i8* %14, i8* %15, i8* %21, i8* %22, i8* %16, i16* %5, i8* %24, i8* %25, i8* %19, i8* %20)
%32 = call i32 @strlen(i8* %14)
%33 = call i32 @strlen(i8* %15)
%34 = add i32 %32, 1
%35 = add i32 %34, %33
%36 = call i32 @concatenation(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str, i64 0, i64 0), i32 %35, i32 1)
%37 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([15 x i8], [15 x i8]* @.str.2, i64 0, i64 0), i8* %23)
%38 = call i32 @strlen(i8* %15)
%39 = call i32 @strlen(i8* %18)
%40 = add nsw i32 %39, %38
%41 = sdiv i32 %40, 2
%42 = add nsw i32 %41, 1
%43 = call i32 @concatenation(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.3, i64 0, i64 0), i32 %42, i32 0)
%44 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([16 x i8], [16 x i8]* @.str.4, i64 0, i64 0), i8* %18)
%45 = call i32 @strlen(i8* %15)
%46 = call i32 @strlen(i8* %18)
%47 = add nsw i32 %46, %45
%48 = sdiv i32 %47, 2
%49 = add nsw i32 %48, 1
%50 = call i32 @concatenation(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.3, i64 0, i64 0), i32 %49, i32 1)
%51 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([83 x i8], [83 x i8]* @str, i64 0, i64 0))
%52 = call i32 @strlen(i8* %14)
%53 = call i32 @strlen(i8* %15)
%54 = add nsw i32 %53, %52
%55 = call i32 @concatenation(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.3, i64 0, i64 0), i32 %54, i32 1)
%56 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([23 x i8], [23 x i8]* @.str.6, i64 0, i64 0))
%57 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.7, i64 0, i64 0), i8* %1)
%58 = load i8, i8* %1
ret i8 %58
}