#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*/ log_msg(char *);
void log_init() {
  log_msg("t-rEXP: Try a Regular Expression.\n\n");
  log_msg("\t\t   Katel\n");
  log_msg("\t\t   Farrel \n");
  log_msg("\t\t  CMatchelo\n");
  log_msg("\t\t    Sane\n");
  log_msg("                                  .\n                   "
          ";oooo:'....,:''lo;''''''.\n               "
          ".'.;00dccodollc:cc;;lxkkOOOKo'''.\n          "
          "...';oOkkl,..';'.;lollcccooodxkoldk0Kxl;\n       "
          "''lOd,..;:cc,...,:'...',:coxxkxlcc:'';lOX00o.\n     "
          ",dxoooc,..';;:c;,',',;,'',;;:coddoloolcclx0KXXOl\n    "
          ",oKKdcc:'..,;:cloddodkxl;''''',;;;;lddllodddoooox\n   "
          ".cxdlcll:..';;;::ccclcllcll:;;,,,;;:cc:;:::;,,;:,,\n  "
          "'oOxl;::;,....',;clllc::c:;;,,;;,,,;;,,'';;;c;,::.\n "
          ".ckxlc::,'.......'oxddooo;  "
          "...,,''',;;;col..o'\n.;cl:c:;;,......;;:clddodol'....;;,ccxkkOKk."
          "\ncxOoc:,,'........;cllloodddxl:;,'',,,,:lxd,.,.\noK0dl:;,'......  "
          ".;:;,,',;cxkkxoc::;;;,;;::lxl,'.\nldkxoc;''..........:;,,'',;:"
          "coxkkxoclcllllcllolk:\nc;loc:,.............,,',;;,''';:"
          "coooddddxdodoxxxo.\nddlc:;,.....',;;:cc:'  .'.. "
          ".,'...,ccloodkOkxxxl,\nllcc;,''..';looddxx.               . "
          "..',,,,'..\n::c:;,''';cldxdkOx,\ncc:::;,;:clodxkxOO.\ncc:::::"
          "clodddxkOOd.\n");
  log_msg("\n\nInstructions:\n");
  log_msg("Reserved characters for regular expressions:\n");
  log_msg("\t- Structural: ., (, )\n");
  log_msg(
      "\t- Operators: ? (none or one), + (at least one), * (zero or more)\n");
  log_msg("\t- Reserved characters for the process: $\n");
  log_msg("Conditional model in the regular expression: (SYMBOLS)OPERATOR. "
          "Example: (abcd)+, (a)*, (.)?\n");
  log_msg("The dot (.) can match any character.\n");
}


x86 assembly (clang, -O0):
<log_init>:
push   %rbp
mov    %rsp,%rbp
lea    0xee5(%rip),%rdi
call   1030 <log_msg@plt>
lea    0xefd(%rip),%rdi
call   1030 <log_msg@plt>
lea    0xefd(%rip),%rdi
call   1030 <log_msg@plt>
lea    0xeff(%rip),%rdi
call   1030 <log_msg@plt>
lea    0xf02(%rip),%rdi
call   1030 <log_msg@plt>
lea    0xf02(%rip),%rdi
call   1030 <log_msg@plt>
lea    0x127a(%rip),%rdi
call   1030 <log_msg@plt>
lea    0x127f(%rip),%rdi
call   1030 <log_msg@plt>
lea    0x12a1(%rip),%rdi
call   1030 <log_msg@plt>
lea    0x12ad(%rip),%rdi
call   1030 <log_msg@plt>
lea    0x12e4(%rip),%rdi
call   1030 <log_msg@plt>
lea    0x1303(%rip),%rdi
call   1030 <log_msg@plt>
lea    0x1355(%rip),%rdi
call   1030 <log_msg@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<log_init>:
push   %rax
lea    0xee8(%rip),%rdi
call   1030 <log_msg@plt>
lea    0xf00(%rip),%rdi
call   1030 <log_msg@plt>
lea    0xf00(%rip),%rdi
call   1030 <log_msg@plt>
lea    0xf02(%rip),%rdi
call   1030 <log_msg@plt>
lea    0xf05(%rip),%rdi
call   1030 <log_msg@plt>
lea    0xf05(%rip),%rdi
call   1030 <log_msg@plt>
lea    0x127d(%rip),%rdi
call   1030 <log_msg@plt>
lea    0x1282(%rip),%rdi
call   1030 <log_msg@plt>
lea    0x12a4(%rip),%rdi
call   1030 <log_msg@plt>
lea    0x12b0(%rip),%rdi
call   1030 <log_msg@plt>
lea    0x12e7(%rip),%rdi
call   1030 <log_msg@plt>
lea    0x1306(%rip),%rdi
call   1030 <log_msg@plt>
lea    0x1358(%rip),%rdi
pop    %rax
jmp    1030 <log_msg@plt>

LLVM IR (-O0):
@.str = [36 x i8] c"t-rEXP: Try a Regular Expression.\0A\0A\00"
@.str.1 = [12 x i8] c"\09\09 Katel\0A\00"
@.str.2 = [14 x i8] c"\09\09 Farrel \0A\00"
@.str.3 = [15 x i8] c"\09\09 CMatchelo\0A\00"
@.str.4 = [12 x i8] c"\09\09 Sane\0A\00"
@.str.5 = [900 x i8] c" .\0A ;oooo:'....,:''lo;''''''.\0A .'.;00dccodollc:cc;;lxkkOOOKo'''.\0A ...';oOkkl,..';'.;lollcccooodxkoldk0Kxl;\0A ''lOd,..;:cc,...,:'...',:coxxkxlcc:'';lOX00o.\0A ,dxoooc,..';;:c;,',',;,'',;;:coddoloolcclx0KXXOl\0A ,oKKdcc:'..,;:cloddodkxl;''''',;;;;lddllodddoooox\0A .cxdlcll:..';;;::ccclcllcll:;;,,,;;:cc:;:::;,,;:,,\0A 'oOxl;::;,....',;clllc::c:;;,,;;,,,;;,,'';;;c;,::.\0A .ckxlc::,'.......'oxddooo; ...,,''',;;;col..o'\0A.;cl:c:;;,......;;:clddodol'....;;,ccxkkOKk.\0AcxOoc:,,'........;cllloodddxl:;,'',,,,:lxd,.,.\0AoK0dl:;,'...... .;:;,,',;cxkkxoc::;;;,;;::lxl,'.\0Aldkxoc;''..........:;,,'',;:coxkkxoclcllllcllolk:\0Ac;loc:,.............,,',;;,''';:coooddddxdodoxxxo.\0Addlc:;,.....',;;:cc:' .'.. .,'...,ccloodkOkxxxl,\0Allcc;,''..';looddxx. . ..',,,,'..\0A::c:;,''';cldxdkOx,\0Acc:::;,;:clodxkxOO.\0Acc:::::clodddxkOOd.\0A\00"
@.str.6 = [17 x i8] c"\0A\0AInstructions:\0A\00"
@.str.7 = [46 x i8] c"Reserved characters for regular expressions:\0A\00"
@.str.8 = [24 x i8] c"\09- Structural: ., (, )\0A\00"
@.str.9 = [67 x i8] c"\09- Operators: ? (none or one), + (at least one), * (zero or more)\0A\00"
@.str.10 = [43 x i8] c"\09- Reserved characters for the process: $\0A\00"
@.str.11 = [94 x i8] c"Conditional model in the regular expression: (SYMBOLS)OPERATOR. Example: (abcd)+, (a)*, (.)?\0A\00"
@.str.12 = [38 x i8] c"The dot (.) can match any character.\0A\00"
define void @log_init() {
%1 = call i32 @log_msg(i8* getelementptr inbounds ([36 x i8], [36 x i8]* @.str, i64 0, i64 0))
%2 = call i32 @log_msg(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.1, i64 0, i64 0))
%3 = call i32 @log_msg(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.2, i64 0, i64 0))
%4 = call i32 @log_msg(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.3, i64 0, i64 0))
%5 = call i32 @log_msg(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.4, i64 0, i64 0))
%6 = call i32 @log_msg(i8* getelementptr inbounds ([900 x i8], [900 x i8]* @.str.5, i64 0, i64 0))
%7 = call i32 @log_msg(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.6, i64 0, i64 0))
%8 = call i32 @log_msg(i8* getelementptr inbounds ([46 x i8], [46 x i8]* @.str.7, i64 0, i64 0))
%9 = call i32 @log_msg(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.8, i64 0, i64 0))
%10 = call i32 @log_msg(i8* getelementptr inbounds ([67 x i8], [67 x i8]* @.str.9, i64 0, i64 0))
%11 = call i32 @log_msg(i8* getelementptr inbounds ([43 x i8], [43 x i8]* @.str.10, i64 0, i64 0))
%12 = call i32 @log_msg(i8* getelementptr inbounds ([94 x i8], [94 x i8]* @.str.11, i64 0, i64 0))
%13 = call i32 @log_msg(i8* getelementptr inbounds ([38 x i8], [38 x i8]* @.str.12, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@.str = [36 x i8] c"t-rEXP: Try a Regular Expression.\0A\0A\00"
@.str.1 = [12 x i8] c"\09\09 Katel\0A\00"
@.str.2 = [14 x i8] c"\09\09 Farrel \0A\00"
@.str.3 = [15 x i8] c"\09\09 CMatchelo\0A\00"
@.str.4 = [12 x i8] c"\09\09 Sane\0A\00"
@.str.5 = [900 x i8] c" .\0A ;oooo:'....,:''lo;''''''.\0A .'.;00dccodollc:cc;;lxkkOOOKo'''.\0A ...';oOkkl,..';'.;lollcccooodxkoldk0Kxl;\0A ''lOd,..;:cc,...,:'...',:coxxkxlcc:'';lOX00o.\0A ,dxoooc,..';;:c;,',',;,'',;;:coddoloolcclx0KXXOl\0A ,oKKdcc:'..,;:cloddodkxl;''''',;;;;lddllodddoooox\0A .cxdlcll:..';;;::ccclcllcll:;;,,,;;:cc:;:::;,,;:,,\0A 'oOxl;::;,....',;clllc::c:;;,,;;,,,;;,,'';;;c;,::.\0A .ckxlc::,'.......'oxddooo; ...,,''',;;;col..o'\0A.;cl:c:;;,......;;:clddodol'....;;,ccxkkOKk.\0AcxOoc:,,'........;cllloodddxl:;,'',,,,:lxd,.,.\0AoK0dl:;,'...... .;:;,,',;cxkkxoc::;;;,;;::lxl,'.\0Aldkxoc;''..........:;,,'',;:coxkkxoclcllllcllolk:\0Ac;loc:,.............,,',;;,''';:coooddddxdodoxxxo.\0Addlc:;,.....',;;:cc:' .'.. .,'...,ccloodkOkxxxl,\0Allcc;,''..';looddxx. . ..',,,,'..\0A::c:;,''';cldxdkOx,\0Acc:::;,;:clodxkxOO.\0Acc:::::clodddxkOOd.\0A\00"
@.str.6 = [17 x i8] c"\0A\0AInstructions:\0A\00"
@.str.7 = [46 x i8] c"Reserved characters for regular expressions:\0A\00"
@.str.8 = [24 x i8] c"\09- Structural: ., (, )\0A\00"
@.str.9 = [67 x i8] c"\09- Operators: ? (none or one), + (at least one), * (zero or more)\0A\00"
@.str.10 = [43 x i8] c"\09- Reserved characters for the process: $\0A\00"
@.str.11 = [94 x i8] c"Conditional model in the regular expression: (SYMBOLS)OPERATOR. Example: (abcd)+, (a)*, (.)?\0A\00"
@.str.12 = [38 x i8] c"The dot (.) can match any character.\0A\00"
define void @log_init() {
%1 = tail call i32 @log_msg(i8* getelementptr inbounds ([36 x i8], [36 x i8]* @.str, i64 0, i64 0))
%2 = tail call i32 @log_msg(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.1, i64 0, i64 0))
%3 = tail call i32 @log_msg(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.2, i64 0, i64 0))
%4 = tail call i32 @log_msg(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.3, i64 0, i64 0))
%5 = tail call i32 @log_msg(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.4, i64 0, i64 0))
%6 = tail call i32 @log_msg(i8* getelementptr inbounds ([900 x i8], [900 x i8]* @.str.5, i64 0, i64 0))
%7 = tail call i32 @log_msg(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.6, i64 0, i64 0))
%8 = tail call i32 @log_msg(i8* getelementptr inbounds ([46 x i8], [46 x i8]* @.str.7, i64 0, i64 0))
%9 = tail call i32 @log_msg(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.8, i64 0, i64 0))
%10 = tail call i32 @log_msg(i8* getelementptr inbounds ([67 x i8], [67 x i8]* @.str.9, i64 0, i64 0))
%11 = tail call i32 @log_msg(i8* getelementptr inbounds ([43 x i8], [43 x i8]* @.str.10, i64 0, i64 0))
%12 = tail call i32 @log_msg(i8* getelementptr inbounds ([94 x i8], [94 x i8]* @.str.11, i64 0, i64 0))
%13 = tail call i32 @log_msg(i8* getelementptr inbounds ([38 x i8], [38 x i8]* @.str.12, i64 0, i64 0))
ret void
}