#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 print_menu(void) {
  printf("\n\n\n\t\t\t*** MAIN MENU ***\t\t\t\n");
  printf(">>> Select 1: to SELECT your 6 numbers from the range 1 to 42.\n");
  printf(">>> Select 2: to DISPLAY your 6 chosen numbers.\n");
  printf(">>> Select 3: to SORT your numbers in ascending order.\n");
  printf(">>> Select 4: to CHECK if you are a winner.\n");
  printf(">>> Select 5: to display the FREQUENCY of the numbers you have "
         "selected.\n");
  printf(">>> Select 6: to EXIT the game.\n\n");
  printf("\n>>> Please select a Menu Option: ");
}


x86 assembly (clang, -O0):
<print_menu>:
push   %rbp
mov    %rsp,%rbp
lea    0xee5(%rip),%rdi
call   1030 <printf@plt>
lea    0xef5(%rip),%rdi
call   1030 <printf@plt>
lea    0xf29(%rip),%rdi
call   1030 <printf@plt>
lea    0xf4e(%rip),%rdi
call   1030 <printf@plt>
lea    0xf7a(%rip),%rdi
call   1030 <printf@plt>
lea    0xf9b(%rip),%rdi
call   1030 <printf@plt>
lea    0xfd9(%rip),%rdi
call   1030 <printf@plt>
lea    0xfef(%rip),%rdi
call   1030 <printf@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<print_menu>:
push   %rax
lea    0xefb(%rip),%rdi
call   1030 <puts@plt>
lea    0xf0a(%rip),%rdi
call   1030 <puts@plt>
lea    0xf3d(%rip),%rdi
call   1030 <puts@plt>
lea    0xf61(%rip),%rdi
call   1030 <puts@plt>
lea    0xf8c(%rip),%rdi
call   1030 <puts@plt>
lea    0xfac(%rip),%rdi
call   1030 <puts@plt>
lea    0xfe9(%rip),%rdi
call   1030 <puts@plt>
lea    0xe84(%rip),%rdi
pop    %rax
jmp    1040 <printf@plt>

LLVM IR (-O0):
@.str = [28 x i8] c"\0A\0A\0A\09\09\09*** MAIN MENU ***\09\09\09\0A\00"
@.str.1 = [64 x i8] c">>> Select 1: to SELECT your 6 numbers from the range 1 to 42.\0A\00"
@.str.2 = [49 x i8] c">>> Select 2: to DISPLAY your 6 chosen numbers.\0A\00"
@.str.3 = [56 x i8] c">>> Select 3: to SORT your numbers in ascending order.\0A\00"
@.str.4 = [45 x i8] c">>> Select 4: to CHECK if you are a winner.\0A\00"
@.str.5 = [74 x i8] c">>> Select 5: to display the FREQUENCY of the numbers you have selected.\0A\00"
@.str.6 = [34 x i8] c">>> Select 6: to EXIT the game.\0A\0A\00"
@.str.7 = [35 x i8] c"\0A>>> Please select a Menu Option: \00"
define void @print_menu() {
%1 = call i32 @printf(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str, i64 0, i64 0))
%2 = call i32 @printf(i8* getelementptr inbounds ([64 x i8], [64 x i8]* @.str.1, i64 0, i64 0))
%3 = call i32 @printf(i8* getelementptr inbounds ([49 x i8], [49 x i8]* @.str.2, i64 0, i64 0))
%4 = call i32 @printf(i8* getelementptr inbounds ([56 x i8], [56 x i8]* @.str.3, i64 0, i64 0))
%5 = call i32 @printf(i8* getelementptr inbounds ([45 x i8], [45 x i8]* @.str.4, i64 0, i64 0))
%6 = call i32 @printf(i8* getelementptr inbounds ([74 x i8], [74 x i8]* @.str.5, i64 0, i64 0))
%7 = call i32 @printf(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.6, i64 0, i64 0))
%8 = call i32 @printf(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str.7, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@.str.7 = [35 x i8] c"\0A>>> Please select a Menu Option: \00"
@str = [27 x i8] c"\0A\0A\0A\09\09\09*** MAIN MENU ***\09\09\09\00"
@str.8 = [63 x i8] c">>> Select 1: to SELECT your 6 numbers from the range 1 to 42.\00"
@str.9 = [48 x i8] c">>> Select 2: to DISPLAY your 6 chosen numbers.\00"
@str.10 = [55 x i8] c">>> Select 3: to SORT your numbers in ascending order.\00"
@str.11 = [44 x i8] c">>> Select 4: to CHECK if you are a winner.\00"
@str.12 = [73 x i8] c">>> Select 5: to display the FREQUENCY of the numbers you have selected.\00"
@str.13 = [33 x i8] c">>> Select 6: to EXIT the game.\0A\00"
define void @print_menu() {
%1 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([27 x i8], [27 x i8]* @str, i64 0, i64 0))
%2 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([63 x i8], [63 x i8]* @str.8, i64 0, i64 0))
%3 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([48 x i8], [48 x i8]* @str.9, i64 0, i64 0))
%4 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([55 x i8], [55 x i8]* @str.10, i64 0, i64 0))
%5 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([44 x i8], [44 x i8]* @str.11, i64 0, i64 0))
%6 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([73 x i8], [73 x i8]* @str.12, i64 0, i64 0))
%7 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([33 x i8], [33 x i8]* @str.13, i64 0, i64 0))
%8 = tail call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([35 x i8], [35 x i8]* @.str.7, i64 0, i64 0))
ret void
}