#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*/ free(char *);
int /*<<< orphan*/ insert_file(char *);
scalar_t__ malloc(int);
int /*<<< orphan*/ printf(char *, ...);
int /*<<< orphan*/ rule_for_word(char *, char *);
int /*<<< orphan*/ rules_from_file(char *, char *);
int /*<<< orphan*/ sprintf(char *, char *, char *, char *);
int /*<<< orphan*/ strcpy(char *, char *);
int strlen(char *);
int main(int argc, char *argv[]) {
  char filename[4096];
  char *include_path;
  if (argc < 2) {
    include_path = (char *)malloc(sizeof(char) * 2);
    strcpy(include_path, ".");
  } else {
    include_path = (char *)malloc(sizeof(char) * strlen(argv[1]));
    strcpy(include_path, argv[1]);
  }
  sprintf(filename, "%s/%s", include_path, "user_code_top.metaflex");
  insert_file(filename);
  sprintf(filename, "%s/%s", include_path, "roman_numbers.metaflex");
  insert_file(filename);
  printf("\n%%%%\n");
  sprintf(filename, "%s/%s", include_path, "article.wordlist");
  rules_from_file(filename, "ARTICLE");
  sprintf(filename, "%s/%s", include_path, "be.wordlist");
  rules_from_file(filename, "BE");
  sprintf(filename, "%s/%s", include_path, "character.wordlist");
  rules_from_file(filename, "CHARACTER");
  sprintf(filename, "%s/%s", include_path, "first_person.wordlist");
  rules_from_file(filename, "FIRST_PERSON");
  sprintf(filename, "%s/%s", include_path, "first_person_possessive.wordlist");
  rules_from_file(filename, "FIRST_PERSON_POSSESSIVE");
  sprintf(filename, "%s/%s", include_path, "first_person_reflexive.wordlist");
  rules_from_file(filename, "FIRST_PERSON_REFLEXIVE");
  sprintf(filename, "%s/%s", include_path, "negative_adjective.wordlist");
  rules_from_file(filename, "NEGATIVE_ADJECTIVE");
  sprintf(filename, "%s/%s", include_path, "negative_comparative.wordlist");
  rules_from_file(filename, "NEGATIVE_COMPARATIVE");
  sprintf(filename, "%s/%s", include_path, "negative_noun.wordlist");
  rules_from_file(filename, "NEGATIVE_NOUN");
  sprintf(filename, "%s/%s", include_path, "neutral_adjective.wordlist");
  rules_from_file(filename, "NEUTRAL_ADJECTIVE");
  sprintf(filename, "%s/%s", include_path, "neutral_noun.wordlist");
  rules_from_file(filename, "NEUTRAL_NOUN");
  sprintf(filename, "%s/%s", include_path, "nothing.wordlist");
  rules_from_file(filename, "NOTHING");
  sprintf(filename, "%s/%s", include_path, "positive_adjective.wordlist");
  rules_from_file(filename, "POSITIVE_ADJECTIVE");
  sprintf(filename, "%s/%s", include_path, "positive_comparative.wordlist");
  rules_from_file(filename, "POSITIVE_COMPARATIVE");
  sprintf(filename, "%s/%s", include_path, "positive_noun.wordlist");
  rules_from_file(filename, "POSITIVE_NOUN");
  sprintf(filename, "%s/%s", include_path, "second_person.wordlist");
  rules_from_file(filename, "SECOND_PERSON");
  sprintf(filename, "%s/%s", include_path, "second_person_possessive.wordlist");
  rules_from_file(filename, "SECOND_PERSON_POSSESSIVE");
  sprintf(filename, "%s/%s", include_path, "second_person_reflexive.wordlist");
  rules_from_file(filename, "SECOND_PERSON_REFLEXIVE");
  sprintf(filename, "%s/%s", include_path, "third_person_possessive.wordlist");
  rules_from_file(filename, "THIRD_PERSON_POSSESSIVE");
  printf("\n /* single word rules */\n");
  rule_for_word("and", "AND");
  rule_for_word("as", "AS");
  rule_for_word("enter", "ENTER");
  rule_for_word("exeunt", "EXEUNT");
  rule_for_word("exit", "EXIT");
  rule_for_word("heart", "HEART");
  rule_for_word("if not", "IF_NOT");
  rule_for_word("if so", "IF_SO");
  rule_for_word("less", "LESS");
  rule_for_word("let us", "LET_US");
  rule_for_word("listen to", "LISTEN_TO");
  rule_for_word("mind", "MIND");
  rule_for_word("more", "MORE");
  rule_for_word("not", "NOT");
  rule_for_word("open", "OPEN");
  rule_for_word("proceed to", "PROCEED_TO");
  rule_for_word("recall", "RECALL");
  rule_for_word("remember", "REMEMBER");
  rule_for_word("return to", "RETURN_TO");
  rule_for_word("speak", "SPEAK");
  rule_for_word("than", "THAN");
  rule_for_word("the cube of", "THE_CUBE_OF");
  rule_for_word("the difference between", "THE_DIFFERENCE_BETWEEN");
  rule_for_word("the factorial of", "THE_FACTORIAL_OF");
  rule_for_word("the product of", "THE_PRODUCT_OF");
  rule_for_word("the quotient between", "THE_QUOTIENT_BETWEEN");
  rule_for_word("the remainder of the quotient between",
                "THE_REMAINDER_OF_THE_QUOTIENT_BETWEEN");
  rule_for_word("the square of", "THE_SQUARE_OF");
  rule_for_word("the square root of", "THE_SQUARE_ROOT_OF");
  rule_for_word("the sum of", "THE_SUM_OF");
  rule_for_word("twice", "TWICE");
  rule_for_word("we must", "WE_MUST");
  rule_for_word("we shall", "WE_SHALL");
  sprintf(filename, "%s/%s", include_path, "terminals.metaflex");
  printf("\n /* rules for terminals from file %s */", filename);
  insert_file(filename);
  printf("\n%%%%\n");
  sprintf(filename, "%s/%s", include_path, "user_code_bottom.metaflex");
  insert_file(filename);
  free(include_path);
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x1020,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
cmpl   $0x2,-0x8(%rbp)
jge    11dc <main+0x4c>
mov    $0x2,%edi
call   10a0 <malloc@plt>
mov    %rax,-0x1018(%rbp)
mov    -0x1018(%rbp),%rdi
lea    0xe2e(%rip),%rsi
call   1040 <strcpy@plt>
jmp    1211 <main+0x81>
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rdi
call   1060 <strlen@plt>
cltq
shl    $0x0,%rax
mov    %eax,%edi
call   10a0 <malloc@plt>
mov    %rax,-0x1018(%rbp)
mov    -0x1018(%rbp),%rdi
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rsi
call   1040 <strcpy@plt>
lea    -0x1010(%rbp),%rdi
mov    -0x1018(%rbp),%rdx
lea    0xddc(%rip),%rsi
lea    0xddb(%rip),%rcx
call   10b0 <sprintf@plt>
lea    -0x1010(%rbp),%rdi
call   1090 <insert_file@plt>
lea    -0x1010(%rbp),%rdi
mov    -0x1018(%rbp),%rdx
lea    0xdaf(%rip),%rsi
lea    0xdc5(%rip),%rcx
call   10b0 <sprintf@plt>
lea    -0x1010(%rbp),%rdi
call   1090 <insert_file@plt>
lea    0xdc4(%rip),%rdi
mov    $0x0,%al
call   1070 <printf@plt>
lea    -0x1010(%rbp),%rdi
mov    -0x1018(%rbp),%rdx
lea    0xd74(%rip),%rsi
lea    0xda8(%rip),%rcx
call   10b0 <sprintf@plt>
lea    -0x1010(%rbp),%rdi
lea    0xda6(%rip),%rsi
call   1050 <rules_from_file@plt>
lea    -0x1010(%rbp),%rdi
mov    -0x1018(%rbp),%rdx
lea    0xd40(%rip),%rsi
lea    0xd8d(%rip),%rcx
call   10b0 <sprintf@plt>
lea    -0x1010(%rbp),%rdi
lea    0xd86(%rip),%rsi
call   1050 <rules_from_file@plt>
lea    -0x1010(%rbp),%rdi
mov    -0x1018(%rbp),%rdx
lea    0xd0c(%rip),%rsi
lea    0xd68(%rip),%rcx
call   10b0 <sprintf@plt>
lea    -0x1010(%rbp),%rdi
lea    0xd68(%rip),%rsi
call   1050 <rules_from_file@plt>
lea    -0x1010(%rbp),%rdi
mov    -0x1018(%rbp),%rdx
lea    0xcd8(%rip),%rsi
lea    0xd51(%rip),%rcx
call   10b0 <sprintf@plt>
lea    -0x1010(%rbp),%rdi
lea    0xd54(%rip),%rsi
call   1050 <rules_from_file@plt>
lea    -0x1010(%rbp),%rdi
mov    -0x1018(%rbp),%rdx
lea    0xca4(%rip),%rsi
lea    0xd40(%rip),%rcx
call   10b0 <sprintf@plt>
lea    -0x1010(%rbp),%rdi
lea    0xd4e(%rip),%rsi
call   1050 <rules_from_file@plt>
lea    -0x1010(%rbp),%rdi
mov    -0x1018(%rbp),%rdx
lea    0xc70(%rip),%rsi
lea    0xd45(%rip),%rcx
call   10b0 <sprintf@plt>
lea    -0x1010(%rbp),%rdi
lea    0xd52(%rip),%rsi
call   1050 <rules_from_file@plt>
lea    -0x1010(%rbp),%rdi
mov    -0x1018(%rbp),%rdx
lea    0xc3c(%rip),%rsi
lea    0xd48(%rip),%rcx
call   10b0 <sprintf@plt>
lea    -0x1010(%rbp),%rdi
lea    0xd51(%rip),%rsi
call   1050 <rules_from_file@plt>
lea    -0x1010(%rbp),%rdi
mov    -0x1018(%rbp),%rdx
lea    0xc08(%rip),%rsi
lea    0xd43(%rip),%rcx
call   10b0 <sprintf@plt>
lea    -0x1010(%rbp),%rdi
lea    0xd4e(%rip),%rsi
call   1050 <rules_from_file@plt>
lea    -0x1010(%rbp),%rdi
mov    -0x1018(%rbp),%rdx
lea    0xbd4(%rip),%rsi
lea    0xd42(%rip),%rcx
call   10b0 <sprintf@plt>
lea    -0x1010(%rbp),%rdi
lea    0xd46(%rip),%rsi
call   1050 <rules_from_file@plt>
lea    -0x1010(%rbp),%rdi
mov    -0x1018(%rbp),%rdx
lea    0xba0(%rip),%rsi
lea    0xd33(%rip),%rcx
call   10b0 <sprintf@plt>
lea    -0x1010(%rbp),%rdi
lea    0xd3b(%rip),%rsi
call   1050 <rules_from_file@plt>
lea    -0x1010(%rbp),%rdi
mov    -0x1018(%rbp),%rdx
lea    0xb6c(%rip),%rsi
lea    0xd2c(%rip),%rcx
call   10b0 <sprintf@plt>
lea    -0x1010(%rbp),%rdi
lea    0xd2f(%rip),%rsi
call   1050 <rules_from_file@plt>
lea    -0x1010(%rbp),%rdi
mov    -0x1018(%rbp),%rdx
lea    0xb38(%rip),%rsi
lea    0xd1b(%rip),%rcx
call   10b0 <sprintf@plt>
lea    -0x1010(%rbp),%rdi
lea    0xd19(%rip),%rsi
call   1050 <rules_from_file@plt>
lea    -0x1010(%rbp),%rdi
mov    -0x1018(%rbp),%rdx
lea    0xb04(%rip),%rsi
lea    0xd00(%rip),%rcx
call   10b0 <sprintf@plt>
lea    -0x1010(%rbp),%rdi
lea    0xd09(%rip),%rsi
call   1050 <rules_from_file@plt>
lea    -0x1010(%rbp),%rdi
mov    -0x1018(%rbp),%rdx
lea    0xad0(%rip),%rsi
lea    0xcfb(%rip),%rcx
call   10b0 <sprintf@plt>
lea    -0x1010(%rbp),%rdi
lea    0xd06(%rip),%rsi
call   1050 <rules_from_file@plt>
lea    -0x1010(%rbp),%rdi
mov    -0x1018(%rbp),%rdx
lea    0xa9c(%rip),%rsi
lea    0xcfa(%rip),%rcx
call   10b0 <sprintf@plt>
lea    -0x1010(%rbp),%rdi
lea    0xcfe(%rip),%rsi
call   1050 <rules_from_file@plt>
lea    -0x1010(%rbp),%rdi
mov    -0x1018(%rbp),%rdx
lea    0xa68(%rip),%rsi
lea    0xceb(%rip),%rcx
call   10b0 <sprintf@plt>
lea    -0x1010(%rbp),%rdi
lea    0xcef(%rip),%rsi
call   1050 <rules_from_file@plt>
lea    -0x1010(%rbp),%rdi
mov    -0x1018(%rbp),%rdx
lea    0xa34(%rip),%rsi
lea    0xcdc(%rip),%rcx
call   10b0 <sprintf@plt>
lea    -0x1010(%rbp),%rdi
lea    0xceb(%rip),%rsi
call   1050 <rules_from_file@plt>
lea    -0x1010(%rbp),%rdi
mov    -0x1018(%rbp),%rdx
lea    0xa00(%rip),%rsi
lea    0xce3(%rip),%rcx
call   10b0 <sprintf@plt>
lea    -0x1010(%rbp),%rdi
lea    0xcf1(%rip),%rsi
call   1050 <rules_from_file@plt>
lea    -0x1010(%rbp),%rdi
mov    -0x1018(%rbp),%rdx
lea    0x9cc(%rip),%rsi
lea    0xce8(%rip),%rcx
call   10b0 <sprintf@plt>
lea    -0x1010(%rbp),%rdi
lea    0xcf6(%rip),%rsi
call   1050 <rules_from_file@plt>
lea    0xd02(%rip),%rdi
mov    $0x0,%al
call   1070 <printf@plt>
lea    0xd0f(%rip),%rdi
lea    0xd0c(%rip),%rsi
call   1080 <rule_for_word@plt>
lea    0xd04(%rip),%rdi
lea    0xd00(%rip),%rsi
call   1080 <rule_for_word@plt>
lea    0xcf7(%rip),%rdi
lea    0xcf6(%rip),%rsi
call   1080 <rule_for_word@plt>
lea    0xcf0(%rip),%rdi
lea    0xcf0(%rip),%rsi
call   1080 <rule_for_word@plt>
lea    0xceb(%rip),%rdi
lea    0xce9(%rip),%rsi
call   1080 <rule_for_word@plt>
lea    0xce2(%rip),%rdi
lea    0xce1(%rip),%rsi
call   1080 <rule_for_word@plt>
lea    0xcdb(%rip),%rdi
lea    0xcdb(%rip),%rsi
call   1080 <rule_for_word@plt>
lea    0xcd6(%rip),%rdi
lea    0xcd5(%rip),%rsi
call   1080 <rule_for_word@plt>
lea    0xccf(%rip),%rdi
lea    0xccd(%rip),%rsi
call   1080 <rule_for_word@plt>
lea    0xcc6(%rip),%rdi
lea    0xcc6(%rip),%rsi
call   1080 <rule_for_word@plt>
lea    0xcc1(%rip),%rdi
lea    0xcc4(%rip),%rsi
call   1080 <rule_for_word@plt>
lea    0xcc2(%rip),%rdi
lea    0xcc0(%rip),%rsi
call   1080 <rule_for_word@plt>
lea    0xcb9(%rip),%rdi
lea    0xcb7(%rip),%rsi
call   1080 <rule_for_word@plt>
lea    0xc59(%rip),%rdi
lea    0xc59(%rip),%rsi
call   1080 <rule_for_word@plt>
lea    0xc9d(%rip),%rdi
lea    0xc9b(%rip),%rsi
call   1080 <rule_for_word@plt>
lea    0xc94(%rip),%rdi
lea    0xc98(%rip),%rsi
call   1080 <rule_for_word@plt>
lea    0xc97(%rip),%rdi
lea    0xc97(%rip),%rsi
call   1080 <rule_for_word@plt>
lea    0xc92(%rip),%rdi
lea    0xc94(%rip),%rsi
call   1080 <rule_for_word@plt>
lea    0xc91(%rip),%rdi
lea    0xc94(%rip),%rsi
call   1080 <rule_for_word@plt>
lea    0xc92(%rip),%rdi
lea    0xc91(%rip),%rsi
call   1080 <rule_for_word@plt>
lea    0xc8b(%rip),%rdi
lea    0xc89(%rip),%rsi
call   1080 <rule_for_word@plt>
lea    0xc82(%rip),%rdi
lea    0xc87(%rip),%rsi
call   1080 <rule_for_word@plt>
lea    0xc87(%rip),%rdi
lea    0xc97(%rip),%rsi
call   1080 <rule_for_word@plt>
lea    0xca2(%rip),%rdi
lea    0xcac(%rip),%rsi
call   1080 <rule_for_word@plt>
lea    0xcb1(%rip),%rdi
lea    0xcb9(%rip),%rsi
call   1080 <rule_for_word@plt>
lea    0xccd(%rip),%rdi
lea    0xcec(%rip),%rsi
call   1080 <rule_for_word@plt>
lea    0xca9(%rip),%rdi
lea    0xcc8(%rip),%rsi
call   1080 <rule_for_word@plt>
lea    0xce2(%rip),%rdi
lea    0xce9(%rip),%rsi
call   1080 <rule_for_word@plt>
lea    0xceb(%rip),%rdi
lea    0xcf7(%rip),%rsi
call   1080 <rule_for_word@plt>
lea    0xcfe(%rip),%rdi
lea    0xd02(%rip),%rsi
call   1080 <rule_for_word@plt>
lea    0xd01(%rip),%rdi
lea    0xd00(%rip),%rsi
call   1080 <rule_for_word@plt>
lea    0xcfa(%rip),%rdi
lea    0xcfb(%rip),%rsi
call   1080 <rule_for_word@plt>
lea    0xcf7(%rip),%rdi
lea    0xcf9(%rip),%rsi
call   1080 <rule_for_word@plt>
lea    -0x1010(%rbp),%rdi
mov    -0x1018(%rbp),%rdx
lea    0x717(%rip),%rsi
lea    0xce1(%rip),%rcx
call   10b0 <sprintf@plt>
lea    -0x1010(%rbp),%rsi
lea    0xce1(%rip),%rdi
mov    $0x0,%al
call   1070 <printf@plt>
lea    -0x1010(%rbp),%rdi
call   1090 <insert_file@plt>
lea    0x717(%rip),%rdi
mov    $0x0,%al
call   1070 <printf@plt>
lea    -0x1010(%rbp),%rdi
mov    -0x1018(%rbp),%rdx
lea    0x6c7(%rip),%rsi
lea    0xccd(%rip),%rcx
call   10b0 <sprintf@plt>
lea    -0x1010(%rbp),%rdi
call   1090 <insert_file@plt>
mov    -0x1018(%rbp),%rdi
call   1030 <free@plt>
xor    %eax,%eax
add    $0x1020,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x1000,%rsp
cmp    $0x1,%edi
jg     11cb <main+0x2b>
mov    $0x2,%edi
call   10b0 <malloc@plt>
mov    %rax,%r13
lea    0xe37(%rip),%rsi
jmp    11e5 <main+0x45>
mov    %rsi,%rbx
mov    0x8(%rsi),%rdi
call   1070 <strlen@plt>
mov    %eax,%edi
call   10b0 <malloc@plt>
mov    %rax,%r13
mov    0x8(%rbx),%rsi
mov    %rax,%rdi
call   1040 <strcpy@plt>
lea    0xe0e(%rip),%r15
lea    0xe0d(%rip),%rcx
mov    %rsp,%r14
mov    %r14,%rdi
mov    %r15,%rsi
mov    %r13,%rdx
call   10c0 <sprintf@plt>
mov    %r14,%rdi
call   10a0 <insert_file@plt>
lea    0xe04(%rip),%rcx
mov    %r14,%rdi
mov    %r15,%rsi
mov    %r13,%rdx
call   10c0 <sprintf@plt>
mov    %r14,%rdi
call   10a0 <insert_file@plt>
lea    0xdfe(%rip),%r12
mov    %r12,%rdi
xor    %eax,%eax
call   1080 <printf@plt>
lea    0xdf4(%rip),%rcx
mov    %r14,%rdi
mov    %r15,%rsi
mov    %r13,%rdx
call   10c0 <sprintf@plt>
lea    0xdf0(%rip),%rsi
mov    %r14,%rdi
call   1060 <rules_from_file@plt>
lea    0xde9(%rip),%rcx
mov    %r14,%rdi
mov    %r15,%rsi
mov    %r13,%rdx
call   10c0 <sprintf@plt>
lea    0xde0(%rip),%rsi
mov    %r14,%rdi
call   1060 <rules_from_file@plt>
lea    0xdd4(%rip),%rcx
mov    %r14,%rdi
mov    %r15,%rsi
mov    %r13,%rdx
call   10c0 <sprintf@plt>
lea    0xdd2(%rip),%rsi
mov    %r14,%rdi
call   1060 <rules_from_file@plt>
lea    0xdcd(%rip),%rcx
mov    %r14,%rdi
mov    %r15,%rsi
mov    %r13,%rdx
call   10c0 <sprintf@plt>
lea    0xdce(%rip),%rsi
mov    %r14,%rdi
call   1060 <rules_from_file@plt>
lea    0xdcc(%rip),%rcx
mov    %r14,%rdi
mov    %r15,%rsi
mov    %r13,%rdx
call   10c0 <sprintf@plt>
lea    0xdd8(%rip),%rsi
mov    %r14,%rdi
call   1060 <rules_from_file@plt>
lea    0xde1(%rip),%rcx
mov    %r14,%rdi
mov    %r15,%rsi
mov    %r13,%rdx
call   10c0 <sprintf@plt>
lea    0xdec(%rip),%rsi
mov    %r14,%rdi
call   1060 <rules_from_file@plt>
lea    0xdf4(%rip),%rcx
mov    %r14,%rdi
mov    %r15,%rsi
mov    %r13,%rdx
call   10c0 <sprintf@plt>
lea    0xdfb(%rip),%rsi
mov    %r14,%rdi
call   1060 <rules_from_file@plt>
lea    0xdff(%rip),%rcx
mov    %r14,%rdi
mov    %r15,%rsi
mov    %r13,%rdx
call   10c0 <sprintf@plt>
lea    0xe08(%rip),%rsi
mov    %r14,%rdi
call   1060 <rules_from_file@plt>
lea    0xe0e(%rip),%rcx
mov    %r14,%rdi
mov    %r15,%rsi
mov    %r13,%rdx
call   10c0 <sprintf@plt>
lea    0xe10(%rip),%rsi
mov    %r14,%rdi
call   1060 <rules_from_file@plt>
lea    0xe0f(%rip),%rcx
mov    %r14,%rdi
mov    %r15,%rsi
mov    %r13,%rdx
call   10c0 <sprintf@plt>
lea    0xe15(%rip),%rsi
mov    %r14,%rdi
call   1060 <rules_from_file@plt>
lea    0xe18(%rip),%rcx
mov    %r14,%rdi
mov    %r15,%rsi
mov    %r13,%rdx
call   10c0 <sprintf@plt>
lea    0xe19(%rip),%rsi
mov    %r14,%rdi
call   1060 <rules_from_file@plt>
lea    0xe17(%rip),%rcx
mov    %r14,%rdi
mov    %r15,%rsi
mov    %r13,%rdx
call   10c0 <sprintf@plt>
lea    0xe13(%rip),%rsi
mov    %r14,%rdi
call   1060 <rules_from_file@plt>
lea    0xe0c(%rip),%rcx
mov    %r14,%rdi
mov    %r15,%rsi
mov    %r13,%rdx
call   10c0 <sprintf@plt>
lea    0xe13(%rip),%rsi
mov    %r14,%rdi
call   1060 <rules_from_file@plt>
lea    0xe17(%rip),%rcx
mov    %r14,%rdi
mov    %r15,%rsi
mov    %r13,%rdx
call   10c0 <sprintf@plt>
lea    0xe20(%rip),%rsi
mov    %r14,%rdi
call   1060 <rules_from_file@plt>
lea    0xe26(%rip),%rcx
mov    %r14,%rdi
mov    %r15,%rsi
mov    %r13,%rdx
call   10c0 <sprintf@plt>
lea    0xe28(%rip),%rsi
mov    %r14,%rdi
call   1060 <rules_from_file@plt>
lea    0xe27(%rip),%rcx
mov    %r14,%rdi
mov    %r15,%rsi
mov    %r13,%rdx
call   10c0 <sprintf@plt>
lea    0xe29(%rip),%rsi
mov    %r14,%rdi
call   1060 <rules_from_file@plt>
lea    0xe28(%rip),%rcx
mov    %r14,%rdi
mov    %r15,%rsi
mov    %r13,%rdx
call   10c0 <sprintf@plt>
lea    0xe35(%rip),%rsi
mov    %r14,%rdi
call   1060 <rules_from_file@plt>
lea    0xe3f(%rip),%rcx
mov    %r14,%rdi
mov    %r15,%rsi
mov    %r13,%rdx
call   10c0 <sprintf@plt>
lea    0xe4b(%rip),%rsi
mov    %r14,%rdi
call   1060 <rules_from_file@plt>
lea    0xe54(%rip),%rcx
mov    %r14,%rdi
mov    %r15,%rsi
mov    %r13,%rdx
call   10c0 <sprintf@plt>
lea    0xe60(%rip),%rsi
mov    %r14,%rdi
call   1060 <rules_from_file@plt>
lea    0x1119(%rip),%rdi
call   1050 <puts@plt>
lea    0xe5d(%rip),%rdi
lea    0xe5a(%rip),%rsi
call   1090 <rule_for_word@plt>
lea    0xe52(%rip),%rdi
lea    0xe4e(%rip),%rsi
call   1090 <rule_for_word@plt>
lea    0xe45(%rip),%rdi
lea    0xe44(%rip),%rsi
call   1090 <rule_for_word@plt>
lea    0xe3e(%rip),%rdi
lea    0xe3e(%rip),%rsi
call   1090 <rule_for_word@plt>
lea    0xe39(%rip),%rdi
lea    0xe37(%rip),%rsi
call   1090 <rule_for_word@plt>
lea    0xe30(%rip),%rdi
lea    0xe2f(%rip),%rsi
call   1090 <rule_for_word@plt>
lea    0xe29(%rip),%rdi
lea    0xe29(%rip),%rsi
call   1090 <rule_for_word@plt>
lea    0xe24(%rip),%rdi
lea    0xe23(%rip),%rsi
call   1090 <rule_for_word@plt>
lea    0xe1d(%rip),%rdi
lea    0xe1b(%rip),%rsi
call   1090 <rule_for_word@plt>
lea    0xe14(%rip),%rdi
lea    0xe14(%rip),%rsi
call   1090 <rule_for_word@plt>
lea    0xe0f(%rip),%rdi
lea    0xe12(%rip),%rsi
call   1090 <rule_for_word@plt>
lea    0xe10(%rip),%rdi
lea    0xe0e(%rip),%rsi
call   1090 <rule_for_word@plt>
lea    0xe07(%rip),%rdi
lea    0xe05(%rip),%rsi
call   1090 <rule_for_word@plt>
lea    0xda7(%rip),%rdi
lea    0xda7(%rip),%rsi
call   1090 <rule_for_word@plt>
lea    0xdeb(%rip),%rdi
lea    0xde9(%rip),%rsi
call   1090 <rule_for_word@plt>
lea    0xde2(%rip),%rdi
lea    0xde6(%rip),%rsi
call   1090 <rule_for_word@plt>
lea    0xde5(%rip),%rdi
lea    0xde5(%rip),%rsi
call   1090 <rule_for_word@plt>
lea    0xde0(%rip),%rdi
lea    0xde2(%rip),%rsi
call   1090 <rule_for_word@plt>
lea    0xddf(%rip),%rdi
lea    0xde2(%rip),%rsi
call   1090 <rule_for_word@plt>
lea    0xde0(%rip),%rdi
lea    0xddf(%rip),%rsi
call   1090 <rule_for_word@plt>
lea    0xdd9(%rip),%rdi
lea    0xdd7(%rip),%rsi
call   1090 <rule_for_word@plt>
lea    0xdd0(%rip),%rdi
lea    0xdd5(%rip),%rsi
call   1090 <rule_for_word@plt>
lea    0xdd5(%rip),%rdi
lea    0xde5(%rip),%rsi
call   1090 <rule_for_word@plt>
lea    0xdf0(%rip),%rdi
lea    0xdfa(%rip),%rsi
call   1090 <rule_for_word@plt>
lea    0xdff(%rip),%rdi
lea    0xe07(%rip),%rsi
call   1090 <rule_for_word@plt>
lea    0xe1b(%rip),%rdi
lea    0xe3a(%rip),%rsi
call   1090 <rule_for_word@plt>
lea    0xdf7(%rip),%rdi
lea    0xe16(%rip),%rsi
call   1090 <rule_for_word@plt>
lea    0xe30(%rip),%rdi
lea    0xe37(%rip),%rsi
call   1090 <rule_for_word@plt>
lea    0xe39(%rip),%rdi
lea    0xe45(%rip),%rsi
call   1090 <rule_for_word@plt>
lea    0xe4c(%rip),%rdi
lea    0xe50(%rip),%rsi
call   1090 <rule_for_word@plt>
lea    0xe4f(%rip),%rdi
lea    0xe4e(%rip),%rsi
call   1090 <rule_for_word@plt>
lea    0xe48(%rip),%rdi
lea    0xe49(%rip),%rsi
call   1090 <rule_for_word@plt>
lea    0xe45(%rip),%rdi
lea    0xe47(%rip),%rsi
call   1090 <rule_for_word@plt>
lea    0xe44(%rip),%rcx
mov    %r14,%rdi
mov    %r15,%rsi
mov    %r13,%rdx
call   10c0 <sprintf@plt>
lea    0xe42(%rip),%rdi
mov    %r14,%rsi
xor    %eax,%eax
call   1080 <printf@plt>
mov    %r14,%rdi
call   10a0 <insert_file@plt>
mov    %r12,%rdi
xor    %eax,%eax
call   1080 <printf@plt>
lea    0xe48(%rip),%rcx
mov    %r14,%rdi
mov    %r15,%rsi
mov    %r13,%rdx
call   10c0 <sprintf@plt>
mov    %r14,%rdi
call   10a0 <insert_file@plt>
mov    %r13,%rdi
call   1030 <free@plt>
xor    %eax,%eax
add    $0x1000,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
ret

LLVM IR (-O0):
@.str = [2 x i8] c".\00"
@.str.1 = [6 x i8] c"%s/%s\00"
@.str.2 = [23 x i8] c"user_code_top.metaflex\00"
@.str.3 = [23 x i8] c"roman_numbers.metaflex\00"
@.str.4 = [7 x i8] c"\0A%%%%\0A\00"
@.str.5 = [17 x i8] c"article.wordlist\00"
@.str.6 = [8 x i8] c"ARTICLE\00"
@.str.7 = [12 x i8] c"be.wordlist\00"
@.str.8 = [3 x i8] c"BE\00"
@.str.9 = [19 x i8] c"character.wordlist\00"
@.str.10 = [10 x i8] c"CHARACTER\00"
@.str.11 = [22 x i8] c"first_person.wordlist\00"
@.str.12 = [13 x i8] c"FIRST_PERSON\00"
@.str.13 = [33 x i8] c"first_person_possessive.wordlist\00"
@.str.14 = [24 x i8] c"FIRST_PERSON_POSSESSIVE\00"
@.str.15 = [32 x i8] c"first_person_reflexive.wordlist\00"
@.str.16 = [23 x i8] c"FIRST_PERSON_REFLEXIVE\00"
@.str.17 = [28 x i8] c"negative_adjective.wordlist\00"
@.str.18 = [19 x i8] c"NEGATIVE_ADJECTIVE\00"
@.str.19 = [30 x i8] c"negative_comparative.wordlist\00"
@.str.20 = [21 x i8] c"NEGATIVE_COMPARATIVE\00"
@.str.21 = [23 x i8] c"negative_noun.wordlist\00"
@.str.22 = [14 x i8] c"NEGATIVE_NOUN\00"
@.str.23 = [27 x i8] c"neutral_adjective.wordlist\00"
@.str.24 = [18 x i8] c"NEUTRAL_ADJECTIVE\00"
@.str.25 = [22 x i8] c"neutral_noun.wordlist\00"
@.str.26 = [13 x i8] c"NEUTRAL_NOUN\00"
@.str.27 = [17 x i8] c"nothing.wordlist\00"
@.str.28 = [8 x i8] c"NOTHING\00"
@.str.29 = [28 x i8] c"positive_adjective.wordlist\00"
@.str.30 = [19 x i8] c"POSITIVE_ADJECTIVE\00"
@.str.31 = [30 x i8] c"positive_comparative.wordlist\00"
@.str.32 = [21 x i8] c"POSITIVE_COMPARATIVE\00"
@.str.33 = [23 x i8] c"positive_noun.wordlist\00"
@.str.34 = [14 x i8] c"POSITIVE_NOUN\00"
@.str.35 = [23 x i8] c"second_person.wordlist\00"
@.str.36 = [14 x i8] c"SECOND_PERSON\00"
@.str.37 = [34 x i8] c"second_person_possessive.wordlist\00"
@.str.38 = [25 x i8] c"SECOND_PERSON_POSSESSIVE\00"
@.str.39 = [33 x i8] c"second_person_reflexive.wordlist\00"
@.str.40 = [24 x i8] c"SECOND_PERSON_REFLEXIVE\00"
@.str.41 = [33 x i8] c"third_person_possessive.wordlist\00"
@.str.42 = [24 x i8] c"THIRD_PERSON_POSSESSIVE\00"
@.str.43 = [27 x i8] c"\0A /* single word rules */\0A\00"
@.str.44 = [4 x i8] c"and\00"
@.str.45 = [4 x i8] c"AND\00"
@.str.46 = [3 x i8] c"as\00"
@.str.47 = [3 x i8] c"AS\00"
@.str.48 = [6 x i8] c"enter\00"
@.str.49 = [6 x i8] c"ENTER\00"
@.str.50 = [7 x i8] c"exeunt\00"
@.str.51 = [7 x i8] c"EXEUNT\00"
@.str.52 = [5 x i8] c"exit\00"
@.str.53 = [5 x i8] c"EXIT\00"
@.str.54 = [6 x i8] c"heart\00"
@.str.55 = [6 x i8] c"HEART\00"
@.str.56 = [7 x i8] c"if not\00"
@.str.57 = [7 x i8] c"IF_NOT\00"
@.str.58 = [6 x i8] c"if so\00"
@.str.59 = [6 x i8] c"IF_SO\00"
@.str.60 = [5 x i8] c"less\00"
@.str.61 = [5 x i8] c"LESS\00"
@.str.62 = [7 x i8] c"let us\00"
@.str.63 = [7 x i8] c"LET_US\00"
@.str.64 = [10 x i8] c"listen to\00"
@.str.65 = [10 x i8] c"LISTEN_TO\00"
@.str.66 = [5 x i8] c"mind\00"
@.str.67 = [5 x i8] c"MIND\00"
@.str.68 = [5 x i8] c"more\00"
@.str.69 = [5 x i8] c"MORE\00"
@.str.70 = [4 x i8] c"not\00"
@.str.71 = [4 x i8] c"NOT\00"
@.str.72 = [5 x i8] c"open\00"
@.str.73 = [5 x i8] c"OPEN\00"
@.str.74 = [11 x i8] c"proceed to\00"
@.str.75 = [11 x i8] c"PROCEED_TO\00"
@.str.76 = [7 x i8] c"recall\00"
@.str.77 = [7 x i8] c"RECALL\00"
@.str.78 = [9 x i8] c"remember\00"
@.str.79 = [9 x i8] c"REMEMBER\00"
@.str.80 = [10 x i8] c"return to\00"
@.str.81 = [10 x i8] c"RETURN_TO\00"
@.str.82 = [6 x i8] c"speak\00"
@.str.83 = [6 x i8] c"SPEAK\00"
@.str.84 = [5 x i8] c"than\00"
@.str.85 = [5 x i8] c"THAN\00"
@.str.86 = [12 x i8] c"the cube of\00"
@.str.87 = [12 x i8] c"THE_CUBE_OF\00"
@.str.88 = [23 x i8] c"the difference between\00"
@.str.89 = [23 x i8] c"THE_DIFFERENCE_BETWEEN\00"
@.str.90 = [17 x i8] c"the factorial of\00"
@.str.91 = [17 x i8] c"THE_FACTORIAL_OF\00"
@.str.92 = [15 x i8] c"the product of\00"
@.str.93 = [15 x i8] c"THE_PRODUCT_OF\00"
@.str.94 = [21 x i8] c"the quotient between\00"
@.str.95 = [21 x i8] c"THE_QUOTIENT_BETWEEN\00"
@.str.96 = [38 x i8] c"the remainder of the quotient between\00"
@.str.97 = [38 x i8] c"THE_REMAINDER_OF_THE_QUOTIENT_BETWEEN\00"
@.str.98 = [14 x i8] c"the square of\00"
@.str.99 = [14 x i8] c"THE_SQUARE_OF\00"
@.str.100 = [19 x i8] c"the square root of\00"
@.str.101 = [19 x i8] c"THE_SQUARE_ROOT_OF\00"
@.str.102 = [11 x i8] c"the sum of\00"
@.str.103 = [11 x i8] c"THE_SUM_OF\00"
@.str.104 = [6 x i8] c"twice\00"
@.str.105 = [6 x i8] c"TWICE\00"
@.str.106 = [8 x i8] c"we must\00"
@.str.107 = [8 x i8] c"WE_MUST\00"
@.str.108 = [9 x i8] c"we shall\00"
@.str.109 = [9 x i8] c"WE_SHALL\00"
@.str.110 = [19 x i8] c"terminals.metaflex\00"
@.str.111 = [41 x i8] c"\0A /* rules for terminals from file %s */\00"
@.str.112 = [26 x i8] c"user_code_bottom.metaflex\00"
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca i8**
%6 = alloca [4096 x i8]
%7 = alloca i8*
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
%8 = load i32, i32* %4
%9 = icmp slt i32 %8, 2
br i1 %9, label %10, label %15
10: ; preds = %2
%11 = call i64 @malloc(i32 2)
%12 = inttoptr i64 %11 to i8*
store i8* %12, i8** %7
%13 = load i8*, i8** %7
%14 = call i32 @strcpy(i8* %13, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0))
br label %30
15: ; preds = %2
%16 = load i8**, i8*** %5
%17 = getelementptr inbounds i8*, i8** %16, i64 1
%18 = load i8*, i8** %17
%19 = call i32 @strlen(i8* %18)
%20 = sext i32 %19 to i64
%21 = mul i64 1, %20
%22 = trunc i64 %21 to i32
%23 = call i64 @malloc(i32 %22)
%24 = inttoptr i64 %23 to i8*
store i8* %24, i8** %7
%25 = load i8*, i8** %7
%26 = load i8**, i8*** %5
%27 = getelementptr inbounds i8*, i8** %26, i64 1
%28 = load i8*, i8** %27
%29 = call i32 @strcpy(i8* %25, i8* %28)
br label %30
30: ; preds = %15, %10
%31 = getelementptr inbounds [4096 x i8], [4096 x i8]* %6, i64 0, i64 0
%32 = load i8*, i8** %7
%33 = call i32 @sprintf(i8* %31, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), i8* %32, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.2, i64 0, i64 0))
%34 = getelementptr inbounds [4096 x i8], [4096 x i8]* %6, i64 0, i64 0
%35 = call i32 @insert_file(i8* %34)
%36 = getelementptr inbounds [4096 x i8], [4096 x i8]* %6, i64 0, i64 0
%37 = load i8*, i8** %7
%38 = call i32 @sprintf(i8* %36, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), i8* %37, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.3, i64 0, i64 0))
%39 = getelementptr inbounds [4096 x i8], [4096 x i8]* %6, i64 0, i64 0
%40 = call i32 @insert_file(i8* %39)
%41 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.4, i64 0, i64 0))
%42 = getelementptr inbounds [4096 x i8], [4096 x i8]* %6, i64 0, i64 0
%43 = load i8*, i8** %7
%44 = call i32 @sprintf(i8* %42, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), i8* %43, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.5, i64 0, i64 0))
%45 = getelementptr inbounds [4096 x i8], [4096 x i8]* %6, i64 0, i64 0
%46 = call i32 @rules_from_file(i8* %45, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.6, i64 0, i64 0))
%47 = getelementptr inbounds [4096 x i8], [4096 x i8]* %6, i64 0, i64 0
%48 = load i8*, i8** %7
%49 = call i32 @sprintf(i8* %47, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), i8* %48, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.7, i64 0, i64 0))
%50 = getelementptr inbounds [4096 x i8], [4096 x i8]* %6, i64 0, i64 0
%51 = call i32 @rules_from_file(i8* %50, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.8, i64 0, i64 0))
%52 = getelementptr inbounds [4096 x i8], [4096 x i8]* %6, i64 0, i64 0
%53 = load i8*, i8** %7
%54 = call i32 @sprintf(i8* %52, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), i8* %53, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.9, i64 0, i64 0))
%55 = getelementptr inbounds [4096 x i8], [4096 x i8]* %6, i64 0, i64 0
%56 = call i32 @rules_from_file(i8* %55, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.10, i64 0, i64 0))
%57 = getelementptr inbounds [4096 x i8], [4096 x i8]* %6, i64 0, i64 0
%58 = load i8*, i8** %7
%59 = call i32 @sprintf(i8* %57, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), i8* %58, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.11, i64 0, i64 0))
%60 = getelementptr inbounds [4096 x i8], [4096 x i8]* %6, i64 0, i64 0
%61 = call i32 @rules_from_file(i8* %60, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.12, i64 0, i64 0))
%62 = getelementptr inbounds [4096 x i8], [4096 x i8]* %6, i64 0, i64 0
%63 = load i8*, i8** %7
%64 = call i32 @sprintf(i8* %62, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), i8* %63, i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.13, i64 0, i64 0))
%65 = getelementptr inbounds [4096 x i8], [4096 x i8]* %6, i64 0, i64 0
%66 = call i32 @rules_from_file(i8* %65, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.14, i64 0, i64 0))
%67 = getelementptr inbounds [4096 x i8], [4096 x i8]* %6, i64 0, i64 0
%68 = load i8*, i8** %7
%69 = call i32 @sprintf(i8* %67, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), i8* %68, i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.15, i64 0, i64 0))
%70 = getelementptr inbounds [4096 x i8], [4096 x i8]* %6, i64 0, i64 0
%71 = call i32 @rules_from_file(i8* %70, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.16, i64 0, i64 0))
%72 = getelementptr inbounds [4096 x i8], [4096 x i8]* %6, i64 0, i64 0
%73 = load i8*, i8** %7
%74 = call i32 @sprintf(i8* %72, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), i8* %73, i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.17, i64 0, i64 0))
%75 = getelementptr inbounds [4096 x i8], [4096 x i8]* %6, i64 0, i64 0
%76 = call i32 @rules_from_file(i8* %75, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.18, i64 0, i64 0))
%77 = getelementptr inbounds [4096 x i8], [4096 x i8]* %6, i64 0, i64 0
%78 = load i8*, i8** %7
%79 = call i32 @sprintf(i8* %77, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), i8* %78, i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.19, i64 0, i64 0))
%80 = getelementptr inbounds [4096 x i8], [4096 x i8]* %6, i64 0, i64 0
%81 = call i32 @rules_from_file(i8* %80, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.20, i64 0, i64 0))
%82 = getelementptr inbounds [4096 x i8], [4096 x i8]* %6, i64 0, i64 0
%83 = load i8*, i8** %7
%84 = call i32 @sprintf(i8* %82, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), i8* %83, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.21, i64 0, i64 0))
%85 = getelementptr inbounds [4096 x i8], [4096 x i8]* %6, i64 0, i64 0
%86 = call i32 @rules_from_file(i8* %85, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.22, i64 0, i64 0))
%87 = getelementptr inbounds [4096 x i8], [4096 x i8]* %6, i64 0, i64 0
%88 = load i8*, i8** %7
%89 = call i32 @sprintf(i8* %87, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), i8* %88, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.23, i64 0, i64 0))
%90 = getelementptr inbounds [4096 x i8], [4096 x i8]* %6, i64 0, i64 0
%91 = call i32 @rules_from_file(i8* %90, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.24, i64 0, i64 0))
%92 = getelementptr inbounds [4096 x i8], [4096 x i8]* %6, i64 0, i64 0
%93 = load i8*, i8** %7
%94 = call i32 @sprintf(i8* %92, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), i8* %93, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.25, i64 0, i64 0))
%95 = getelementptr inbounds [4096 x i8], [4096 x i8]* %6, i64 0, i64 0
%96 = call i32 @rules_from_file(i8* %95, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.26, i64 0, i64 0))
%97 = getelementptr inbounds [4096 x i8], [4096 x i8]* %6, i64 0, i64 0
%98 = load i8*, i8** %7
%99 = call i32 @sprintf(i8* %97, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), i8* %98, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.27, i64 0, i64 0))
%100 = getelementptr inbounds [4096 x i8], [4096 x i8]* %6, i64 0, i64 0
%101 = call i32 @rules_from_file(i8* %100, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.28, i64 0, i64 0))
%102 = getelementptr inbounds [4096 x i8], [4096 x i8]* %6, i64 0, i64 0
%103 = load i8*, i8** %7
%104 = call i32 @sprintf(i8* %102, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), i8* %103, i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.29, i64 0, i64 0))
%105 = getelementptr inbounds [4096 x i8], [4096 x i8]* %6, i64 0, i64 0
%106 = call i32 @rules_from_file(i8* %105, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.30, i64 0, i64 0))
%107 = getelementptr inbounds [4096 x i8], [4096 x i8]* %6, i64 0, i64 0
%108 = load i8*, i8** %7
%109 = call i32 @sprintf(i8* %107, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), i8* %108, i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.31, i64 0, i64 0))
%110 = getelementptr inbounds [4096 x i8], [4096 x i8]* %6, i64 0, i64 0
%111 = call i32 @rules_from_file(i8* %110, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.32, i64 0, i64 0))
%112 = getelementptr inbounds [4096 x i8], [4096 x i8]* %6, i64 0, i64 0
%113 = load i8*, i8** %7
%114 = call i32 @sprintf(i8* %112, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), i8* %113, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.33, i64 0, i64 0))
%115 = getelementptr inbounds [4096 x i8], [4096 x i8]* %6, i64 0, i64 0
%116 = call i32 @rules_from_file(i8* %115, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.34, i64 0, i64 0))
%117 = getelementptr inbounds [4096 x i8], [4096 x i8]* %6, i64 0, i64 0
%118 = load i8*, i8** %7
%119 = call i32 @sprintf(i8* %117, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), i8* %118, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.35, i64 0, i64 0))
%120 = getelementptr inbounds [4096 x i8], [4096 x i8]* %6, i64 0, i64 0
%121 = call i32 @rules_from_file(i8* %120, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.36, i64 0, i64 0))
%122 = getelementptr inbounds [4096 x i8], [4096 x i8]* %6, i64 0, i64 0
%123 = load i8*, i8** %7
%124 = call i32 @sprintf(i8* %122, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), i8* %123, i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.37, i64 0, i64 0))
%125 = getelementptr inbounds [4096 x i8], [4096 x i8]* %6, i64 0, i64 0
%126 = call i32 @rules_from_file(i8* %125, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.38, i64 0, i64 0))
%127 = getelementptr inbounds [4096 x i8], [4096 x i8]* %6, i64 0, i64 0
%128 = load i8*, i8** %7
%129 = call i32 @sprintf(i8* %127, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), i8* %128, i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.39, i64 0, i64 0))
%130 = getelementptr inbounds [4096 x i8], [4096 x i8]* %6, i64 0, i64 0
%131 = call i32 @rules_from_file(i8* %130, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.40, i64 0, i64 0))
%132 = getelementptr inbounds [4096 x i8], [4096 x i8]* %6, i64 0, i64 0
%133 = load i8*, i8** %7
%134 = call i32 @sprintf(i8* %132, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), i8* %133, i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.41, i64 0, i64 0))
%135 = getelementptr inbounds [4096 x i8], [4096 x i8]* %6, i64 0, i64 0
%136 = call i32 @rules_from_file(i8* %135, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.42, i64 0, i64 0))
%137 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.43, i64 0, i64 0))
%138 = call i32 @rule_for_word(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.44, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.45, i64 0, i64 0))
%139 = call i32 @rule_for_word(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.46, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.47, i64 0, i64 0))
%140 = call i32 @rule_for_word(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.48, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.49, i64 0, i64 0))
%141 = call i32 @rule_for_word(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.50, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.51, i64 0, i64 0))
%142 = call i32 @rule_for_word(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.52, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.53, i64 0, i64 0))
%143 = call i32 @rule_for_word(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.54, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.55, i64 0, i64 0))
%144 = call i32 @rule_for_word(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.56, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.57, i64 0, i64 0))
%145 = call i32 @rule_for_word(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.58, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.59, i64 0, i64 0))
%146 = call i32 @rule_for_word(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.60, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.61, i64 0, i64 0))
%147 = call i32 @rule_for_word(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.62, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.63, i64 0, i64 0))
%148 = call i32 @rule_for_word(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.64, i64 0, i64 0), i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.65, i64 0, i64 0))
%149 = call i32 @rule_for_word(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.66, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.67, i64 0, i64 0))
%150 = call i32 @rule_for_word(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.68, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.69, i64 0, i64 0))
%151 = call i32 @rule_for_word(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.70, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.71, i64 0, i64 0))
%152 = call i32 @rule_for_word(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.72, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.73, i64 0, i64 0))
%153 = call i32 @rule_for_word(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.74, i64 0, i64 0), i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.75, i64 0, i64 0))
%154 = call i32 @rule_for_word(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.76, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.77, i64 0, i64 0))
%155 = call i32 @rule_for_word(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.78, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.79, i64 0, i64 0))
%156 = call i32 @rule_for_word(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.80, i64 0, i64 0), i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.81, i64 0, i64 0))
%157 = call i32 @rule_for_word(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.82, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.83, i64 0, i64 0))
%158 = call i32 @rule_for_word(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.84, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.85, i64 0, i64 0))
%159 = call i32 @rule_for_word(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.86, i64 0, i64 0), i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.87, i64 0, i64 0))
%160 = call i32 @rule_for_word(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.88, i64 0, i64 0), i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.89, i64 0, i64 0))
%161 = call i32 @rule_for_word(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.90, i64 0, i64 0), i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.91, i64 0, i64 0))
%162 = call i32 @rule_for_word(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.92, i64 0, i64 0), i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.93, i64 0, i64 0))
%163 = call i32 @rule_for_word(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.94, i64 0, i64 0), i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.95, i64 0, i64 0))
%164 = call i32 @rule_for_word(i8* getelementptr inbounds ([38 x i8], [38 x i8]* @.str.96, i64 0, i64 0), i8* getelementptr inbounds ([38 x i8], [38 x i8]* @.str.97, i64 0, i64 0))
%165 = call i32 @rule_for_word(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.98, i64 0, i64 0), i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.99, i64 0, i64 0))
%166 = call i32 @rule_for_word(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.100, i64 0, i64 0), i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.101, i64 0, i64 0))
%167 = call i32 @rule_for_word(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.102, i64 0, i64 0), i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.103, i64 0, i64 0))
%168 = call i32 @rule_for_word(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.104, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.105, i64 0, i64 0))
%169 = call i32 @rule_for_word(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.106, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.107, i64 0, i64 0))
%170 = call i32 @rule_for_word(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.108, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.109, i64 0, i64 0))
%171 = getelementptr inbounds [4096 x i8], [4096 x i8]* %6, i64 0, i64 0
%172 = load i8*, i8** %7
%173 = call i32 @sprintf(i8* %171, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), i8* %172, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.110, i64 0, i64 0))
%174 = getelementptr inbounds [4096 x i8], [4096 x i8]* %6, i64 0, i64 0
%175 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str.111, i64 0, i64 0), i8* %174)
%176 = getelementptr inbounds [4096 x i8], [4096 x i8]* %6, i64 0, i64 0
%177 = call i32 @insert_file(i8* %176)
%178 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.4, i64 0, i64 0))
%179 = getelementptr inbounds [4096 x i8], [4096 x i8]* %6, i64 0, i64 0
%180 = load i8*, i8** %7
%181 = call i32 @sprintf(i8* %179, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), i8* %180, i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.112, i64 0, i64 0))
%182 = getelementptr inbounds [4096 x i8], [4096 x i8]* %6, i64 0, i64 0
%183 = call i32 @insert_file(i8* %182)
%184 = load i8*, i8** %7
%185 = call i32 @free(i8* %184)
ret i32 0
}

LLVM IR (-O2):
@.str = [2 x i8] c".\00"
@.str.1 = [6 x i8] c"%s/%s\00"
@.str.2 = [23 x i8] c"user_code_top.metaflex\00"
@.str.3 = [23 x i8] c"roman_numbers.metaflex\00"
@.str.4 = [7 x i8] c"\0A%%%%\0A\00"
@.str.5 = [17 x i8] c"article.wordlist\00"
@.str.6 = [8 x i8] c"ARTICLE\00"
@.str.7 = [12 x i8] c"be.wordlist\00"
@.str.8 = [3 x i8] c"BE\00"
@.str.9 = [19 x i8] c"character.wordlist\00"
@.str.10 = [10 x i8] c"CHARACTER\00"
@.str.11 = [22 x i8] c"first_person.wordlist\00"
@.str.12 = [13 x i8] c"FIRST_PERSON\00"
@.str.13 = [33 x i8] c"first_person_possessive.wordlist\00"
@.str.14 = [24 x i8] c"FIRST_PERSON_POSSESSIVE\00"
@.str.15 = [32 x i8] c"first_person_reflexive.wordlist\00"
@.str.16 = [23 x i8] c"FIRST_PERSON_REFLEXIVE\00"
@.str.17 = [28 x i8] c"negative_adjective.wordlist\00"
@.str.18 = [19 x i8] c"NEGATIVE_ADJECTIVE\00"
@.str.19 = [30 x i8] c"negative_comparative.wordlist\00"
@.str.20 = [21 x i8] c"NEGATIVE_COMPARATIVE\00"
@.str.21 = [23 x i8] c"negative_noun.wordlist\00"
@.str.22 = [14 x i8] c"NEGATIVE_NOUN\00"
@.str.23 = [27 x i8] c"neutral_adjective.wordlist\00"
@.str.24 = [18 x i8] c"NEUTRAL_ADJECTIVE\00"
@.str.25 = [22 x i8] c"neutral_noun.wordlist\00"
@.str.26 = [13 x i8] c"NEUTRAL_NOUN\00"
@.str.27 = [17 x i8] c"nothing.wordlist\00"
@.str.28 = [8 x i8] c"NOTHING\00"
@.str.29 = [28 x i8] c"positive_adjective.wordlist\00"
@.str.30 = [19 x i8] c"POSITIVE_ADJECTIVE\00"
@.str.31 = [30 x i8] c"positive_comparative.wordlist\00"
@.str.32 = [21 x i8] c"POSITIVE_COMPARATIVE\00"
@.str.33 = [23 x i8] c"positive_noun.wordlist\00"
@.str.34 = [14 x i8] c"POSITIVE_NOUN\00"
@.str.35 = [23 x i8] c"second_person.wordlist\00"
@.str.36 = [14 x i8] c"SECOND_PERSON\00"
@.str.37 = [34 x i8] c"second_person_possessive.wordlist\00"
@.str.38 = [25 x i8] c"SECOND_PERSON_POSSESSIVE\00"
@.str.39 = [33 x i8] c"second_person_reflexive.wordlist\00"
@.str.40 = [24 x i8] c"SECOND_PERSON_REFLEXIVE\00"
@.str.41 = [33 x i8] c"third_person_possessive.wordlist\00"
@.str.42 = [24 x i8] c"THIRD_PERSON_POSSESSIVE\00"
@.str.44 = [4 x i8] c"and\00"
@.str.45 = [4 x i8] c"AND\00"
@.str.46 = [3 x i8] c"as\00"
@.str.47 = [3 x i8] c"AS\00"
@.str.48 = [6 x i8] c"enter\00"
@.str.49 = [6 x i8] c"ENTER\00"
@.str.50 = [7 x i8] c"exeunt\00"
@.str.51 = [7 x i8] c"EXEUNT\00"
@.str.52 = [5 x i8] c"exit\00"
@.str.53 = [5 x i8] c"EXIT\00"
@.str.54 = [6 x i8] c"heart\00"
@.str.55 = [6 x i8] c"HEART\00"
@.str.56 = [7 x i8] c"if not\00"
@.str.57 = [7 x i8] c"IF_NOT\00"
@.str.58 = [6 x i8] c"if so\00"
@.str.59 = [6 x i8] c"IF_SO\00"
@.str.60 = [5 x i8] c"less\00"
@.str.61 = [5 x i8] c"LESS\00"
@.str.62 = [7 x i8] c"let us\00"
@.str.63 = [7 x i8] c"LET_US\00"
@.str.64 = [10 x i8] c"listen to\00"
@.str.65 = [10 x i8] c"LISTEN_TO\00"
@.str.66 = [5 x i8] c"mind\00"
@.str.67 = [5 x i8] c"MIND\00"
@.str.68 = [5 x i8] c"more\00"
@.str.69 = [5 x i8] c"MORE\00"
@.str.70 = [4 x i8] c"not\00"
@.str.71 = [4 x i8] c"NOT\00"
@.str.72 = [5 x i8] c"open\00"
@.str.73 = [5 x i8] c"OPEN\00"
@.str.74 = [11 x i8] c"proceed to\00"
@.str.75 = [11 x i8] c"PROCEED_TO\00"
@.str.76 = [7 x i8] c"recall\00"
@.str.77 = [7 x i8] c"RECALL\00"
@.str.78 = [9 x i8] c"remember\00"
@.str.79 = [9 x i8] c"REMEMBER\00"
@.str.80 = [10 x i8] c"return to\00"
@.str.81 = [10 x i8] c"RETURN_TO\00"
@.str.82 = [6 x i8] c"speak\00"
@.str.83 = [6 x i8] c"SPEAK\00"
@.str.84 = [5 x i8] c"than\00"
@.str.85 = [5 x i8] c"THAN\00"
@.str.86 = [12 x i8] c"the cube of\00"
@.str.87 = [12 x i8] c"THE_CUBE_OF\00"
@.str.88 = [23 x i8] c"the difference between\00"
@.str.89 = [23 x i8] c"THE_DIFFERENCE_BETWEEN\00"
@.str.90 = [17 x i8] c"the factorial of\00"
@.str.91 = [17 x i8] c"THE_FACTORIAL_OF\00"
@.str.92 = [15 x i8] c"the product of\00"
@.str.93 = [15 x i8] c"THE_PRODUCT_OF\00"
@.str.94 = [21 x i8] c"the quotient between\00"
@.str.95 = [21 x i8] c"THE_QUOTIENT_BETWEEN\00"
@.str.96 = [38 x i8] c"the remainder of the quotient between\00"
@.str.97 = [38 x i8] c"THE_REMAINDER_OF_THE_QUOTIENT_BETWEEN\00"
@.str.98 = [14 x i8] c"the square of\00"
@.str.99 = [14 x i8] c"THE_SQUARE_OF\00"
@.str.100 = [19 x i8] c"the square root of\00"
@.str.101 = [19 x i8] c"THE_SQUARE_ROOT_OF\00"
@.str.102 = [11 x i8] c"the sum of\00"
@.str.103 = [11 x i8] c"THE_SUM_OF\00"
@.str.104 = [6 x i8] c"twice\00"
@.str.105 = [6 x i8] c"TWICE\00"
@.str.106 = [8 x i8] c"we must\00"
@.str.107 = [8 x i8] c"WE_MUST\00"
@.str.108 = [9 x i8] c"we shall\00"
@.str.109 = [9 x i8] c"WE_SHALL\00"
@.str.110 = [19 x i8] c"terminals.metaflex\00"
@.str.111 = [41 x i8] c"\0A /* rules for terminals from file %s */\00"
@.str.112 = [26 x i8] c"user_code_bottom.metaflex\00"
@str = [26 x i8] c"\0A /* single word rules */\00"
define i32 @main(i32 %0, i8** nocapture %1) {
%3 = alloca [4096 x i8]
%4 = getelementptr inbounds [4096 x i8], [4096 x i8]* %3, i64 0, i64 0
%5 = icmp slt i32 %0, 2
br i1 %5, label %6, label %10
6: ; preds = %2
%7 = tail call i64 @malloc(i32 2)
%8 = inttoptr i64 %7 to i8*
%9 = tail call i32 @strcpy(i8* %8, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0))
br label %18
10: ; preds = %2
%11 = getelementptr inbounds i8*, i8** %1, i64 1
%12 = load i8*, i8** %11
%13 = tail call i32 @strlen(i8* %12)
%14 = tail call i64 @malloc(i32 %13)
%15 = inttoptr i64 %14 to i8*
%16 = load i8*, i8** %11
%17 = tail call i32 @strcpy(i8* %15, i8* %16)
br label %18
18: ; preds = %10, %6
%19 = phi i8* [ %8, %6 ], [ %15, %10 ]
%20 = call i32 @sprintf(i8* %4, i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), i8* %19, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.2, i64 0, i64 0))
%21 = call i32 @insert_file(i8* %4)
%22 = call i32 @sprintf(i8* %4, i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), i8* %19, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.3, i64 0, i64 0))
%23 = call i32 @insert_file(i8* %4)
%24 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([7 x i8], [7 x i8]* @.str.4, i64 0, i64 0))
%25 = call i32 @sprintf(i8* %4, i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), i8* %19, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.5, i64 0, i64 0))
%26 = call i32 @rules_from_file(i8* %4, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.6, i64 0, i64 0))
%27 = call i32 @sprintf(i8* %4, i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), i8* %19, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.7, i64 0, i64 0))
%28 = call i32 @rules_from_file(i8* %4, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.8, i64 0, i64 0))
%29 = call i32 @sprintf(i8* %4, i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), i8* %19, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.9, i64 0, i64 0))
%30 = call i32 @rules_from_file(i8* %4, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.10, i64 0, i64 0))
%31 = call i32 @sprintf(i8* %4, i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), i8* %19, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.11, i64 0, i64 0))
%32 = call i32 @rules_from_file(i8* %4, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.12, i64 0, i64 0))
%33 = call i32 @sprintf(i8* %4, i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), i8* %19, i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.13, i64 0, i64 0))
%34 = call i32 @rules_from_file(i8* %4, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.14, i64 0, i64 0))
%35 = call i32 @sprintf(i8* %4, i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), i8* %19, i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.15, i64 0, i64 0))
%36 = call i32 @rules_from_file(i8* %4, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.16, i64 0, i64 0))
%37 = call i32 @sprintf(i8* %4, i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), i8* %19, i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.17, i64 0, i64 0))
%38 = call i32 @rules_from_file(i8* %4, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.18, i64 0, i64 0))
%39 = call i32 @sprintf(i8* %4, i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), i8* %19, i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.19, i64 0, i64 0))
%40 = call i32 @rules_from_file(i8* %4, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.20, i64 0, i64 0))
%41 = call i32 @sprintf(i8* %4, i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), i8* %19, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.21, i64 0, i64 0))
%42 = call i32 @rules_from_file(i8* %4, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.22, i64 0, i64 0))
%43 = call i32 @sprintf(i8* %4, i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), i8* %19, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.23, i64 0, i64 0))
%44 = call i32 @rules_from_file(i8* %4, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.24, i64 0, i64 0))
%45 = call i32 @sprintf(i8* %4, i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), i8* %19, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.25, i64 0, i64 0))
%46 = call i32 @rules_from_file(i8* %4, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.26, i64 0, i64 0))
%47 = call i32 @sprintf(i8* %4, i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), i8* %19, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.27, i64 0, i64 0))
%48 = call i32 @rules_from_file(i8* %4, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.28, i64 0, i64 0))
%49 = call i32 @sprintf(i8* %4, i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), i8* %19, i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.29, i64 0, i64 0))
%50 = call i32 @rules_from_file(i8* %4, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.30, i64 0, i64 0))
%51 = call i32 @sprintf(i8* %4, i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), i8* %19, i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.31, i64 0, i64 0))
%52 = call i32 @rules_from_file(i8* %4, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.32, i64 0, i64 0))
%53 = call i32 @sprintf(i8* %4, i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), i8* %19, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.33, i64 0, i64 0))
%54 = call i32 @rules_from_file(i8* %4, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.34, i64 0, i64 0))
%55 = call i32 @sprintf(i8* %4, i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), i8* %19, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.35, i64 0, i64 0))
%56 = call i32 @rules_from_file(i8* %4, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.36, i64 0, i64 0))
%57 = call i32 @sprintf(i8* %4, i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), i8* %19, i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.37, i64 0, i64 0))
%58 = call i32 @rules_from_file(i8* %4, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.38, i64 0, i64 0))
%59 = call i32 @sprintf(i8* %4, i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), i8* %19, i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.39, i64 0, i64 0))
%60 = call i32 @rules_from_file(i8* %4, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.40, i64 0, i64 0))
%61 = call i32 @sprintf(i8* %4, i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), i8* %19, i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.41, i64 0, i64 0))
%62 = call i32 @rules_from_file(i8* %4, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.42, i64 0, i64 0))
%63 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([26 x i8], [26 x i8]* @str, i64 0, i64 0))
%64 = call i32 @rule_for_word(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.44, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.45, i64 0, i64 0))
%65 = call i32 @rule_for_word(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.46, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.47, i64 0, i64 0))
%66 = call i32 @rule_for_word(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.48, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.49, i64 0, i64 0))
%67 = call i32 @rule_for_word(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.50, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.51, i64 0, i64 0))
%68 = call i32 @rule_for_word(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.52, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.53, i64 0, i64 0))
%69 = call i32 @rule_for_word(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.54, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.55, i64 0, i64 0))
%70 = call i32 @rule_for_word(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.56, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.57, i64 0, i64 0))
%71 = call i32 @rule_for_word(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.58, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.59, i64 0, i64 0))
%72 = call i32 @rule_for_word(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.60, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.61, i64 0, i64 0))
%73 = call i32 @rule_for_word(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.62, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.63, i64 0, i64 0))
%74 = call i32 @rule_for_word(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.64, i64 0, i64 0), i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.65, i64 0, i64 0))
%75 = call i32 @rule_for_word(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.66, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.67, i64 0, i64 0))
%76 = call i32 @rule_for_word(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.68, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.69, i64 0, i64 0))
%77 = call i32 @rule_for_word(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.70, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.71, i64 0, i64 0))
%78 = call i32 @rule_for_word(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.72, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.73, i64 0, i64 0))
%79 = call i32 @rule_for_word(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.74, i64 0, i64 0), i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.75, i64 0, i64 0))
%80 = call i32 @rule_for_word(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.76, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.77, i64 0, i64 0))
%81 = call i32 @rule_for_word(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.78, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.79, i64 0, i64 0))
%82 = call i32 @rule_for_word(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.80, i64 0, i64 0), i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.81, i64 0, i64 0))
%83 = call i32 @rule_for_word(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.82, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.83, i64 0, i64 0))
%84 = call i32 @rule_for_word(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.84, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.85, i64 0, i64 0))
%85 = call i32 @rule_for_word(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.86, i64 0, i64 0), i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.87, i64 0, i64 0))
%86 = call i32 @rule_for_word(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.88, i64 0, i64 0), i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.89, i64 0, i64 0))
%87 = call i32 @rule_for_word(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.90, i64 0, i64 0), i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.91, i64 0, i64 0))
%88 = call i32 @rule_for_word(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.92, i64 0, i64 0), i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.93, i64 0, i64 0))
%89 = call i32 @rule_for_word(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.94, i64 0, i64 0), i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.95, i64 0, i64 0))
%90 = call i32 @rule_for_word(i8* getelementptr inbounds ([38 x i8], [38 x i8]* @.str.96, i64 0, i64 0), i8* getelementptr inbounds ([38 x i8], [38 x i8]* @.str.97, i64 0, i64 0))
%91 = call i32 @rule_for_word(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.98, i64 0, i64 0), i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.99, i64 0, i64 0))
%92 = call i32 @rule_for_word(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.100, i64 0, i64 0), i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.101, i64 0, i64 0))
%93 = call i32 @rule_for_word(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.102, i64 0, i64 0), i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.103, i64 0, i64 0))
%94 = call i32 @rule_for_word(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.104, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.105, i64 0, i64 0))
%95 = call i32 @rule_for_word(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.106, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.107, i64 0, i64 0))
%96 = call i32 @rule_for_word(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.108, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.109, i64 0, i64 0))
%97 = call i32 @sprintf(i8* %4, i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), i8* %19, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.110, i64 0, i64 0))
%98 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([41 x i8], [41 x i8]* @.str.111, i64 0, i64 0), i8* %4)
%99 = call i32 @insert_file(i8* %4)
%100 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([7 x i8], [7 x i8]* @.str.4, i64 0, i64 0))
%101 = call i32 @sprintf(i8* %4, i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), i8* %19, i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.112, i64 0, i64 0))
%102 = call i32 @insert_file(i8* %4)
%103 = call i32 @free(i8* %19)
ret i32 0
}