#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 */
scalar_t__ _add(char *, char *, char *);
scalar_t__ _add_fail(char *, char *, int);
scalar_t__ _sub(char *, char *, char *);
scalar_t__ _sub_fail(char *, char *);
int /*<<< orphan*/ printf(char *, int, int);
int main(int argc, char **argv) {
  int errs = 0, tests = 0;
  tests++;
  errs += _add("I", "I", "II");
  tests++;
  errs += _add("I", "II", "III");
  tests++;
  errs += _add("II", "III", "V");
  tests++;
  errs += _add("IV", "I", "V");
  tests++;
  errs += _add("V", "I", "VI");
  tests++;
  errs += _add("IV", "V", "IX");
  tests++;
  errs += _add("V", "V", "X");
  tests++;
  errs += _add("VI", "IV", "X");
  tests++;
  errs += _add("I", "IX", "X");
  tests++;
  errs += _add("IX", "X", "XIX");
  tests++;
  errs += _add("V", "XIV", "XIX");
  tests++;
  errs += _add("V", "XV", "XX");
  tests++;
  errs += _add("L", "I", "LI");
  tests++;
  errs += _add("L", "XI", "LXI");
  tests++;
  errs += _add("XLIX", "I", "L");
  tests++;
  errs += _add("XX", "XX", "XL");
  tests++;
  errs += _add("XL", "X", "L");
  tests++;
  errs += _add("L", "L", "C");
  tests++;
  errs += _add("XCIX", "II", "CI");
  tests++;
  errs += _add("CC", "CC", "CD");
  tests++;
  errs += _add("CDXCIX", "I", "D");
  tests++;
  errs += _add("CM", "C", "M");
  tests++;
  errs += _add("CMXCIX", "V", "MIV");
  tests++;
  errs += _add("DCCCXCIX", "X", "CMIX");
  tests++;
  errs += _add("MCMXC", "L", "MMXL");
  tests++;
  errs += _add("I", "MMMCMXCVIII", "MMMCMXCIX");
  tests++;
  errs += _add("MMMDCCCLXXXVIII", "I", "MMMDCCCLXXXIX");
  tests++;
  errs += _add("MCMXCIX", "MCMXCIX", "MMMCMXCVIII");
  tests++;
  errs += _add_fail("I", "I", 2);
  tests++;
  errs += _add_fail("MCMXCIX", "MMCMXCIX", 32);
  tests++;
  errs += _add_fail("J", "I", 32);
  tests++;
  errs += _add_fail("I", "IM", 32);
  tests++;
  errs += _sub("II", "I", "I");
  tests++;
  errs += _sub("III", "I", "II");
  tests++;
  errs += _sub("V", "I", "IV");
  tests++;
  errs += _sub("IV", "I", "III");
  tests++;
  errs += _sub("V", "IV", "I");
  tests++;
  errs += _sub("X", "V", "V");
  tests++;
  errs += _sub("X", "I", "IX");
  tests++;
  errs += _sub("X", "VI", "IV");
  tests++;
  errs += _sub("CX", "V", "CV");
  tests++;
  errs += _sub("CXI", "V", "CVI");
  tests++;
  errs += _sub("M", "I", "CMXCIX");
  tests++;
  errs += _sub_fail("I", "II");
  tests++;
  errs += _sub_fail("IJ", "I");
  tests++;
  errs += _sub_fail("MM", "IM");
  printf("test result: %d passed, %d failed\n", tests - errs, errs);
  return errs;
  (void)argc;
  (void)argv;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x20,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
movl   $0x0,-0x14(%rbp)
movl   $0x0,-0x18(%rbp)
mov    -0x18(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x18(%rbp)
lea    0xe93(%rip),%rsi
lea    0xec4(%rip),%rdx
mov    %rsi,%rdi
call   1040 <_add@plt>
mov    %rax,%rcx
movslq -0x14(%rbp),%rax
add    %rcx,%rax
mov    %eax,-0x14(%rbp)
mov    -0x18(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x18(%rbp)
lea    0xe67(%rip),%rdi
lea    0xe98(%rip),%rsi
lea    0xe90(%rip),%rdx
call   1040 <_add@plt>
mov    %rax,%rcx
movslq -0x14(%rbp),%rax
add    %rcx,%rax
mov    %eax,-0x14(%rbp)
mov    -0x18(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x18(%rbp)
lea    0xe6f(%rip),%rdi
lea    0xe67(%rip),%rsi
lea    0xe93(%rip),%rdx
call   1040 <_add@plt>
mov    %rax,%rcx
movslq -0x14(%rbp),%rax
add    %rcx,%rax
mov    %eax,-0x14(%rbp)
mov    -0x18(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x18(%rbp)
lea    0xe1a(%rip),%rdi
lea    0xe00(%rip),%rsi
lea    0xe63(%rip),%rdx
call   1040 <_add@plt>
mov    %rax,%rcx
movslq -0x14(%rbp),%rax
add    %rcx,%rax
mov    %eax,-0x14(%rbp)
mov    -0x18(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x18(%rbp)
lea    0xe41(%rip),%rdi
lea    0xdd0(%rip),%rsi
lea    0xe3a(%rip),%rdx
call   1040 <_add@plt>
mov    %rax,%rcx
movslq -0x14(%rbp),%rax
add    %rcx,%rax
mov    %eax,-0x14(%rbp)
mov    -0x18(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x18(%rbp)
lea    0xdba(%rip),%rdi
lea    0xe0a(%rip),%rsi
lea    0xdb5(%rip),%rdx
call   1040 <_add@plt>
mov    %rax,%rcx
movslq -0x14(%rbp),%rax
add    %rcx,%rax
mov    %eax,-0x14(%rbp)
mov    -0x18(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x18(%rbp)
lea    0xde1(%rip),%rsi
lea    0xdd7(%rip),%rdx
mov    %rsi,%rdi
call   1040 <_add@plt>
mov    %rax,%rcx
movslq -0x14(%rbp),%rax
add    %rcx,%rax
mov    %eax,-0x14(%rbp)
mov    -0x18(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x18(%rbp)
lea    0xdbc(%rip),%rdi
lea    0xd57(%rip),%rsi
lea    0xda4(%rip),%rdx
call   1040 <_add@plt>
mov    %rax,%rcx
movslq -0x14(%rbp),%rax
add    %rcx,%rax
mov    %eax,-0x14(%rbp)
mov    -0x18(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x18(%rbp)
lea    0xd1b(%rip),%rdi
lea    0xd30(%rip),%rsi
lea    0xd74(%rip),%rdx
call   1040 <_add@plt>
mov    %rax,%rcx
movslq -0x14(%rbp),%rax
add    %rcx,%rax
mov    %eax,-0x14(%rbp)
mov    -0x18(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x18(%rbp)
lea    0xd07(%rip),%rdi
lea    0xd4b(%rip),%rsi
lea    0xd3c(%rip),%rdx
call   1040 <_add@plt>
mov    %rax,%rcx
movslq -0x14(%rbp),%rax
add    %rcx,%rax
mov    %eax,-0x14(%rbp)
mov    -0x18(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x18(%rbp)
lea    0xd25(%rip),%rdi
lea    0xc9d(%rip),%rsi
lea    0xd0c(%rip),%rdx
call   1040 <_add@plt>
mov    %rax,%rcx
movslq -0x14(%rbp),%rax
add    %rcx,%rax
mov    %eax,-0x14(%rbp)
mov    -0x18(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x18(%rbp)
lea    0xcf5(%rip),%rdi
lea    0xc71(%rip),%rsi
lea    0xc6d(%rip),%rdx
call   1040 <_add@plt>
mov    %rax,%rcx
movslq -0x14(%rbp),%rax
add    %rcx,%rax
mov    %eax,-0x14(%rbp)
mov    -0x18(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x18(%rbp)
lea    0xc88(%rip),%rdi
lea    0xc54(%rip),%rsi
lea    0xc40(%rip),%rdx
call   1040 <_add@plt>
mov    %rax,%rcx
movslq -0x14(%rbp),%rax
add    %rcx,%rax
mov    %eax,-0x14(%rbp)
mov    -0x18(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x18(%rbp)
lea    0xc58(%rip),%rdi
lea    0xc91(%rip),%rsi
lea    0xc13(%rip),%rdx
call   1040 <_add@plt>
mov    %rax,%rcx
movslq -0x14(%rbp),%rax
add    %rcx,%rax
mov    %eax,-0x14(%rbp)
mov    -0x18(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x18(%rbp)
lea    0xbf5(%rip),%rdi
lea    0xbf4(%rip),%rsi
lea    0xc1a(%rip),%rdx
call   1040 <_add@plt>
mov    %rax,%rcx
movslq -0x14(%rbp),%rax
add    %rcx,%rax
mov    %eax,-0x14(%rbp)
mov    -0x18(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x18(%rbp)
lea    0xbbb(%rip),%rsi
lea    0xbf0(%rip),%rdx
mov    %rsi,%rdi
call   1040 <_add@plt>
mov    %rax,%rcx
movslq -0x14(%rbp),%rax
add    %rcx,%rax
mov    %eax,-0x14(%rbp)
mov    -0x18(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x18(%rbp)
lea    0xbcb(%rip),%rdi
lea    0xbff(%rip),%rsi
lea    0xbbe(%rip),%rdx
call   1040 <_add@plt>
mov    %rax,%rcx
movslq -0x14(%rbp),%rax
add    %rcx,%rax
mov    %eax,-0x14(%rbp)
mov    -0x18(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x18(%rbp)
lea    0xb9c(%rip),%rsi
lea    0xb6b(%rip),%rdx
mov    %rsi,%rdi
call   1040 <_add@plt>
mov    %rax,%rcx
movslq -0x14(%rbp),%rax
add    %rcx,%rax
mov    %eax,-0x14(%rbp)
mov    -0x18(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x18(%rbp)
lea    0xb5d(%rip),%rdi
lea    0xb74(%rip),%rsi
lea    0xb34(%rip),%rdx
call   1040 <_add@plt>
mov    %rax,%rcx
movslq -0x14(%rbp),%rax
add    %rcx,%rax
mov    %eax,-0x14(%rbp)
mov    -0x18(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x18(%rbp)
lea    0xb15(%rip),%rsi
lea    0xb11(%rip),%rdx
mov    %rsi,%rdi
call   1040 <_add@plt>
mov    %rax,%rcx
movslq -0x14(%rbp),%rax
add    %rcx,%rax
mov    %eax,-0x14(%rbp)
mov    -0x18(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x18(%rbp)
lea    0xaef(%rip),%rdi
lea    0xae0(%rip),%rsi
lea    0xadf(%rip),%rdx
call   1040 <_add@plt>
mov    %rax,%rcx
movslq -0x14(%rbp),%rax
add    %rcx,%rax
mov    %eax,-0x14(%rbp)
mov    -0x18(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x18(%rbp)
lea    0xac6(%rip),%rdi
lea    0xab3(%rip),%rsi
lea    0xab9(%rip),%rdx
call   1040 <_add@plt>
mov    %rax,%rcx
movslq -0x14(%rbp),%rax
add    %rcx,%rax
mov    %eax,-0x14(%rbp)
mov    -0x18(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x18(%rbp)
lea    0xac5(%rip),%rdi
lea    0xaea(%rip),%rsi
lea    0xa8b(%rip),%rdx
call   1040 <_add@plt>
mov    %rax,%rcx
movslq -0x14(%rbp),%rax
add    %rcx,%rax
mov    %eax,-0x14(%rbp)
mov    -0x18(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x18(%rbp)
lea    0xa6d(%rip),%rdi
lea    0xab7(%rip),%rsi
lea    0xa68(%rip),%rdx
call   1040 <_add@plt>
mov    %rax,%rcx
movslq -0x14(%rbp),%rax
add    %rcx,%rax
mov    %eax,-0x14(%rbp)
mov    -0x18(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x18(%rbp)
lea    0xa4b(%rip),%rdi
lea    0xa4d(%rip),%rsi
lea    0xa43(%rip),%rdx
call   1040 <_add@plt>
mov    %rax,%rcx
movslq -0x14(%rbp),%rax
add    %rcx,%rax
mov    %eax,-0x14(%rbp)
mov    -0x18(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x18(%rbp)
lea    0x9f7(%rip),%rdi
lea    0xa1f(%rip),%rsi
lea    0xa24(%rip),%rdx
call   1040 <_add@plt>
mov    %rax,%rcx
movslq -0x14(%rbp),%rax
add    %rcx,%rax
mov    %eax,-0x14(%rbp)
mov    -0x18(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x18(%rbp)
lea    0xa0c(%rip),%rdi
lea    0x9c0(%rip),%rsi
lea    0xa0e(%rip),%rdx
call   1040 <_add@plt>
mov    %rax,%rcx
movslq -0x14(%rbp),%rax
add    %rcx,%rax
mov    %eax,-0x14(%rbp)
mov    -0x18(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x18(%rbp)
lea    0x9d4(%rip),%rsi
lea    0x9bf(%rip),%rdx
mov    %rsi,%rdi
call   1040 <_add@plt>
mov    %rax,%rcx
movslq -0x14(%rbp),%rax
add    %rcx,%rax
mov    %eax,-0x14(%rbp)
mov    -0x18(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x18(%rbp)
lea    0x96b(%rip),%rsi
mov    $0x2,%edx
mov    %rsi,%rdi
call   1060 <_add_fail@plt>
mov    %rax,%rcx
movslq -0x14(%rbp),%rax
add    %rcx,%rax
mov    %eax,-0x14(%rbp)
mov    -0x18(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x18(%rbp)
lea    0x97e(%rip),%rdi
lea    0x976(%rip),%rsi
mov    $0x20,%edx
call   1060 <_add_fail@plt>
mov    %rax,%rcx
movslq -0x14(%rbp),%rax
add    %rcx,%rax
mov    %eax,-0x14(%rbp)
mov    -0x18(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x18(%rbp)
lea    0x988(%rip),%rdi
lea    0x90c(%rip),%rsi
mov    $0x20,%edx
call   1060 <_add_fail@plt>
mov    %rax,%rcx
movslq -0x14(%rbp),%rax
add    %rcx,%rax
mov    %eax,-0x14(%rbp)
mov    -0x18(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x18(%rbp)
lea    0x8e5(%rip),%rdi
lea    0x941(%rip),%rsi
mov    $0x20,%edx
call   1060 <_add_fail@plt>
mov    %rax,%rcx
movslq -0x14(%rbp),%rax
add    %rcx,%rax
mov    %eax,-0x14(%rbp)
mov    -0x18(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x18(%rbp)
lea    0x8ef(%rip),%rdi
lea    0x8b0(%rip),%rdx
mov    %rdx,%rsi
call   1050 <_sub@plt>
mov    %rax,%rcx
movslq -0x14(%rbp),%rax
add    %rcx,%rax
mov    %eax,-0x14(%rbp)
mov    -0x18(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x18(%rbp)
lea    0x8c2(%rip),%rdi
lea    0x884(%rip),%rsi
lea    0x8b5(%rip),%rdx
call   1050 <_sub@plt>
mov    %rax,%rcx
movslq -0x14(%rbp),%rax
add    %rcx,%rax
mov    %eax,-0x14(%rbp)
mov    -0x18(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x18(%rbp)
lea    0x8c5(%rip),%rdi
lea    0x854(%rip),%rsi
lea    0x860(%rip),%rdx
call   1050 <_sub@plt>
mov    %rax,%rcx
movslq -0x14(%rbp),%rax
add    %rcx,%rax
mov    %eax,-0x14(%rbp)
mov    -0x18(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x18(%rbp)
lea    0x83e(%rip),%rdi
lea    0x824(%rip),%rsi
lea    0x854(%rip),%rdx
call   1050 <_sub@plt>
mov    %rax,%rcx
movslq -0x14(%rbp),%rax
add    %rcx,%rax
mov    %eax,-0x14(%rbp)
mov    -0x18(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x18(%rbp)
lea    0x865(%rip),%rdi
lea    0x807(%rip),%rsi
lea    0x7ed(%rip),%rdx
call   1050 <_sub@plt>
mov    %rax,%rcx
movslq -0x14(%rbp),%rax
add    %rcx,%rax
mov    %eax,-0x14(%rbp)
mov    -0x18(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x18(%rbp)
lea    0x832(%rip),%rdi
lea    0x82e(%rip),%rdx
mov    %rdx,%rsi
call   1050 <_sub@plt>
mov    %rax,%rcx
movslq -0x14(%rbp),%rax
add    %rcx,%rax
mov    %eax,-0x14(%rbp)
mov    -0x18(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x18(%rbp)
lea    0x806(%rip),%rdi
lea    0x798(%rip),%rsi
lea    0x7ad(%rip),%rdx
call   1050 <_sub@plt>
mov    %rax,%rcx
movslq -0x14(%rbp),%rax
add    %rcx,%rax
mov    %eax,-0x14(%rbp)
mov    -0x18(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x18(%rbp)
lea    0x7d6(%rip),%rdi
lea    0x7d9(%rip),%rsi
lea    0x774(%rip),%rdx
call   1050 <_sub@plt>
mov    %rax,%rcx
movslq -0x14(%rbp),%rax
add    %rcx,%rax
mov    %eax,-0x14(%rbp)
mov    -0x18(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x18(%rbp)
lea    0x7a5(%rip),%rdi
lea    0x7a2(%rip),%rsi
lea    0x79a(%rip),%rdx
call   1050 <_sub@plt>
mov    %rax,%rcx
movslq -0x14(%rbp),%rax
add    %rcx,%rax
mov    %eax,-0x14(%rbp)
mov    -0x18(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x18(%rbp)
lea    0x77b(%rip),%rdi
lea    0x772(%rip),%rsi
lea    0x771(%rip),%rdx
call   1050 <_sub@plt>
mov    %rax,%rcx
movslq -0x14(%rbp),%rax
add    %rcx,%rax
mov    %eax,-0x14(%rbp)
mov    -0x18(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x18(%rbp)
lea    0x6ef(%rip),%rdi
lea    0x6d8(%rip),%rsi
lea    0x70f(%rip),%rdx
call   1050 <_sub@plt>
mov    %rax,%rcx
movslq -0x14(%rbp),%rax
add    %rcx,%rax
mov    %eax,-0x14(%rbp)
mov    -0x18(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x18(%rbp)
lea    0x6af(%rip),%rdi
lea    0x6e0(%rip),%rsi
call   1070 <_sub_fail@plt>
mov    %rax,%rcx
movslq -0x14(%rbp),%rax
add    %rcx,%rax
mov    %eax,-0x14(%rbp)
mov    -0x18(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x18(%rbp)
lea    0x6fa(%rip),%rdi
lea    0x67f(%rip),%rsi
call   1070 <_sub_fail@plt>
mov    %rax,%rcx
movslq -0x14(%rbp),%rax
add    %rcx,%rax
mov    %eax,-0x14(%rbp)
mov    -0x18(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x18(%rbp)
lea    0x6d4(%rip),%rdi
lea    0x6b9(%rip),%rsi
call   1070 <_sub_fail@plt>
mov    %rax,%rcx
movslq -0x14(%rbp),%rax
add    %rcx,%rax
mov    %eax,-0x14(%rbp)
mov    -0x18(%rbp),%esi
sub    -0x14(%rbp),%esi
mov    -0x14(%rbp),%edx
lea    0x6ae(%rip),%rdi
call   1030 <printf@plt>
mov    -0x14(%rbp),%eax
add    $0x20,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
push   %rax
lea    0xeb5(%rip),%r14
lea    0xee6(%rip),%r13
mov    %r14,%rdi
mov    %r14,%rsi
mov    %r13,%rdx
call   1040 <_add@plt>
mov    %rax,%rbp
lea    0xecd(%rip),%r12
mov    %r14,%rdi
mov    %r13,%rsi
mov    %r12,%rdx
call   1040 <_add@plt>
mov    %rax,%rbx
add    %ebp,%ebx
lea    0xee6(%rip),%r15
mov    %r13,%rdi
mov    %r12,%rsi
mov    %r15,%rdx
call   1040 <_add@plt>
mov    %rax,%rbp
add    %ebx,%ebp
lea    0xe75(%rip),%r13
mov    %r13,%rdi
mov    %r14,%rsi
mov    %r15,%rdx
call   1040 <_add@plt>
mov    %rax,%rbx
add    %ebp,%ebx
lea    0xeb9(%rip),%r12
mov    %r15,%rdi
mov    %r14,%rsi
mov    %r12,%rdx
call   1040 <_add@plt>
mov    %rax,%rbp
add    %ebx,%ebp
lea    0xe4a(%rip),%r14
mov    %r13,%rdi
mov    %r15,%rsi
mov    %r14,%rdx
call   1040 <_add@plt>
mov    %rax,%rbx
add    %ebp,%ebx
lea    0xe7b(%rip),%rdx
mov    %r15,%rdi
mov    %r15,%rsi
mov    %rdx,%r15
call   1040 <_add@plt>
mov    %rax,%rbp
add    %ebx,%ebp
mov    %r12,%rdi
mov    %r13,%rsi
mov    %r15,%rdx
call   1040 <_add@plt>
mov    %rax,%rbx
add    %ebp,%ebx
lea    0xde7(%rip),%rdi
mov    %r14,%rsi
mov    %r15,%rdx
call   1040 <_add@plt>
mov    %rax,%rbp
add    %ebx,%ebp
lea    0xe2f(%rip),%r12
mov    %r14,%rdi
mov    %r15,%rsi
mov    %r12,%rdx
call   1040 <_add@plt>
mov    %rax,%rbx
add    %ebp,%ebx
lea    0xd9f(%rip),%rsi
lea    0xe19(%rip),%r14
mov    %r14,%rdi
mov    %r12,%rdx
call   1040 <_add@plt>
mov    %rax,%rbp
add    %ebx,%ebp
lea    0xd85(%rip),%rsi
lea    0xd81(%rip),%r13
mov    %r14,%rdi
mov    %r13,%rdx
call   1040 <_add@plt>
mov    %rax,%rbx
add    %ebp,%ebx
lea    0xda7(%rip),%r12
lea    0xd66(%rip),%rdx
mov    %r12,%rdi
lea    0xd69(%rip),%r14
mov    %r14,%rsi
call   1040 <_add@plt>
mov    %rax,%rbp
add    %ebx,%ebp
lea    0xdc2(%rip),%rsi
lea    0xd44(%rip),%rdx
mov    %r12,%rdi
call   1040 <_add@plt>
mov    %rax,%rbx
add    %ebp,%ebx
lea    0xd34(%rip),%rdi
mov    %r14,%rsi
mov    %r12,%rdx
call   1040 <_add@plt>
mov    %rax,%rbp
add    %ebx,%ebp
lea    0xd4f(%rip),%r15
mov    %r13,%rdi
mov    %r13,%rsi
mov    %r15,%rdx
call   1040 <_add@plt>
mov    %rax,%rbx
add    %ebp,%ebx
mov    %r15,%rdi
lea    0xd6d(%rip),%r15
mov    %r15,%rsi
mov    %r12,%rdx
call   1040 <_add@plt>
mov    %rax,%rbp
add    %ebx,%ebp
lea    0xcf2(%rip),%r13
mov    %r12,%rdi
mov    %r12,%rsi
mov    %r13,%rdx
call   1040 <_add@plt>
mov    %rax,%rbx
add    %ebp,%ebx
lea    0xcef(%rip),%rdi
lea    0xccd(%rip),%rdx
lea    0xcff(%rip),%rsi
call   1040 <_add@plt>
mov    %rax,%rbp
add    %ebx,%ebp
lea    0xcb8(%rip),%rdi
lea    0xcb4(%rip),%rdx
mov    %rdi,%rsi
call   1040 <_add@plt>
mov    %rax,%rbx
add    %ebp,%ebx
lea    0xca3(%rip),%rdi
lea    0xc9a(%rip),%rdx
mov    %r14,%rsi
call   1040 <_add@plt>
mov    %rax,%rbp
add    %ebx,%ebp
lea    0xc8f(%rip),%rdi
lea    0xc89(%rip),%rdx
mov    %r13,%rsi
call   1040 <_add@plt>
mov    %rax,%rbx
add    %ebp,%ebx
lea    0xca3(%rip),%rdi
lea    0xc70(%rip),%rdx
lea    0xcc1(%rip),%rsi
call   1040 <_add@plt>
mov    %rax,%rbp
add    %ebx,%ebp
lea    0xc5c(%rip),%rdi
lea    0xc5e(%rip),%rdx
mov    %r15,%rsi
call   1040 <_add@plt>
mov    %rax,%rbx
add    %ebp,%ebx
lea    0xc4f(%rip),%rdi
lea    0xc4e(%rip),%rdx
mov    %r12,%rsi
call   1040 <_add@plt>
mov    %rax,%rbp
add    %ebx,%ebp
lea    0xc3f(%rip),%r15
lea    0xc44(%rip),%rdx
mov    %r14,%rdi
mov    %r15,%rsi
call   1040 <_add@plt>
mov    %rax,%rbx
add    %ebp,%ebx
lea    0xc37(%rip),%rdi
lea    0xc40(%rip),%rdx
mov    %r14,%rsi
call   1040 <_add@plt>
mov    %rax,%rbp
add    %ebx,%ebp
lea    0xc14(%rip),%r12
mov    %r12,%rdi
mov    %r12,%rsi
mov    %r15,%rdx
call   1040 <_add@plt>
mov    %rax,%rbx
add    %ebp,%ebx
mov    %r14,%rdi
mov    %r14,%rsi
mov    $0x2,%edx
call   1060 <_add_fail@plt>
mov    %rax,%rbp
add    %ebx,%ebp
lea    0xbe4(%rip),%rsi
mov    %r12,%rdi
mov    $0x20,%edx
call   1060 <_add_fail@plt>
mov    %rax,%rbx
add    %ebp,%ebx
lea    0xc04(%rip),%rdi
mov    %r14,%rsi
mov    $0x20,%edx
call   1060 <_add_fail@plt>
mov    %rax,%rbp
add    %ebx,%ebp
lea    0xbd9(%rip),%rsi
mov    %r14,%rdi
mov    $0x20,%edx
call   1060 <_add_fail@plt>
mov    %rax,%rbx
add    %ebp,%ebx
lea    0xb95(%rip),%r15
mov    %r15,%rdi
mov    %r14,%rsi
mov    %r14,%rdx
call   1050 <_sub@plt>
mov    %rax,%rbp
add    %ebx,%ebp
lea    0xb7a(%rip),%r13
mov    %r13,%rdi
mov    %r14,%rsi
mov    %r15,%rdx
call   1050 <_sub@plt>
mov    %rax,%rbx
add    %ebp,%ebx
lea    0xb93(%rip),%r12
mov    %r12,%rdi
mov    %r14,%rsi
lea    0xb2f(%rip),%r15
mov    %r15,%rdx
call   1050 <_sub@plt>
mov    %rax,%rbp
add    %ebx,%ebp
mov    %r15,%rdi
mov    %r14,%rsi
mov    %r13,%rdx
call   1050 <_sub@plt>
mov    %rax,%rbx
add    %ebp,%ebx
mov    %r12,%rdi
mov    %r15,%rsi
mov    %r14,%rdx
call   1050 <_sub@plt>
mov    %rax,%rbp
add    %ebx,%ebp
lea    0xb49(%rip),%r13
mov    %r13,%rdi
mov    %r12,%rsi
mov    %r12,%rdx
call   1050 <_sub@plt>
mov    %rax,%rbx
add    %ebp,%ebx
mov    %r13,%rdi
mov    %r14,%rsi
lea    0xade(%rip),%rdx
call   1050 <_sub@plt>
mov    %rax,%rbp
add    %ebx,%ebp
mov    %r13,%rdi
lea    0xb1f(%rip),%rsi
mov    %r15,%rdx
call   1050 <_sub@plt>
mov    %rax,%rbx
add    %ebp,%ebx
lea    0xb00(%rip),%rdi
lea    0xafc(%rip),%rdx
mov    %r12,%rsi
call   1050 <_sub@plt>
mov    %rax,%rbp
add    %ebx,%ebp
lea    0xaeb(%rip),%rdi
lea    0xae8(%rip),%rdx
mov    %r12,%rsi
call   1050 <_sub@plt>
mov    %rax,%rbx
add    %ebp,%ebx
lea    0xa74(%rip),%rdi
mov    %r14,%rsi
lea    0xa98(%rip),%rdx
call   1050 <_sub@plt>
mov    %rax,%rbp
add    %ebx,%ebp
mov    %r14,%rdi
lea    0xa7e(%rip),%rsi
call   1070 <_sub_fail@plt>
mov    %rax,%rbx
add    %ebp,%ebx
lea    0xaa9(%rip),%rdi
mov    %r14,%rsi
call   1070 <_sub_fail@plt>
mov    %rax,%rbp
add    %ebx,%ebp
lea    0xa98(%rip),%rdi
lea    0xa7d(%rip),%rsi
call   1070 <_sub_fail@plt>
mov    %rax,%rbx
add    %ebp,%ebx
mov    $0x2e,%esi
sub    %ebx,%esi
lea    0xa7c(%rip),%rdi
mov    %ebx,%edx
call   1030 <printf@plt>
mov    %ebx,%eax
add    $0x8,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@.str = [2 x i8] c"I\00"
@.str.1 = [3 x i8] c"II\00"
@.str.2 = [4 x i8] c"III\00"
@.str.3 = [2 x i8] c"V\00"
@.str.4 = [3 x i8] c"IV\00"
@.str.5 = [3 x i8] c"VI\00"
@.str.6 = [3 x i8] c"IX\00"
@.str.7 = [2 x i8] c"X\00"
@.str.8 = [4 x i8] c"XIX\00"
@.str.9 = [4 x i8] c"XIV\00"
@.str.10 = [3 x i8] c"XV\00"
@.str.11 = [3 x i8] c"XX\00"
@.str.12 = [2 x i8] c"L\00"
@.str.13 = [3 x i8] c"LI\00"
@.str.14 = [3 x i8] c"XI\00"
@.str.15 = [4 x i8] c"LXI\00"
@.str.16 = [5 x i8] c"XLIX\00"
@.str.17 = [3 x i8] c"XL\00"
@.str.18 = [2 x i8] c"C\00"
@.str.19 = [5 x i8] c"XCIX\00"
@.str.20 = [3 x i8] c"CI\00"
@.str.21 = [3 x i8] c"CC\00"
@.str.22 = [3 x i8] c"CD\00"
@.str.23 = [7 x i8] c"CDXCIX\00"
@.str.24 = [2 x i8] c"D\00"
@.str.25 = [3 x i8] c"CM\00"
@.str.26 = [2 x i8] c"M\00"
@.str.27 = [7 x i8] c"CMXCIX\00"
@.str.28 = [4 x i8] c"MIV\00"
@.str.29 = [9 x i8] c"DCCCXCIX\00"
@.str.30 = [5 x i8] c"CMIX\00"
@.str.31 = [6 x i8] c"MCMXC\00"
@.str.32 = [5 x i8] c"MMXL\00"
@.str.33 = [12 x i8] c"MMMCMXCVIII\00"
@.str.34 = [10 x i8] c"MMMCMXCIX\00"
@.str.35 = [16 x i8] c"MMMDCCCLXXXVIII\00"
@.str.36 = [14 x i8] c"MMMDCCCLXXXIX\00"
@.str.37 = [8 x i8] c"MCMXCIX\00"
@.str.38 = [9 x i8] c"MMCMXCIX\00"
@.str.39 = [2 x i8] c"J\00"
@.str.40 = [3 x i8] c"IM\00"
@.str.41 = [3 x i8] c"CX\00"
@.str.42 = [3 x i8] c"CV\00"
@.str.43 = [4 x i8] c"CXI\00"
@.str.44 = [4 x i8] c"CVI\00"
@.str.45 = [3 x i8] c"IJ\00"
@.str.46 = [3 x i8] c"MM\00"
@.str.47 = [35 x i8] c"test result: %d passed, %d failed\0A\00"
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca i8**
%6 = alloca i32
%7 = alloca i32
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
store i32 0, i32* %6
store i32 0, i32* %7
%8 = load i32, i32* %7
%9 = add nsw i32 %8, 1
store i32 %9, i32* %7
%10 = call i64 @_add(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0))
%11 = load i32, i32* %6
%12 = sext i32 %11 to i64
%13 = add nsw i64 %12, %10
%14 = trunc i64 %13 to i32
store i32 %14, i32* %6
%15 = load i32, i32* %7
%16 = add nsw i32 %15, 1
store i32 %16, i32* %7
%17 = call i64 @_add(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0))
%18 = load i32, i32* %6
%19 = sext i32 %18 to i64
%20 = add nsw i64 %19, %17
%21 = trunc i64 %20 to i32
store i32 %21, i32* %6
%22 = load i32, i32* %7
%23 = add nsw i32 %22, 1
store i32 %23, i32* %7
%24 = call i64 @_add(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0))
%25 = load i32, i32* %6
%26 = sext i32 %25 to i64
%27 = add nsw i64 %26, %24
%28 = trunc i64 %27 to i32
store i32 %28, i32* %6
%29 = load i32, i32* %7
%30 = add nsw i32 %29, 1
store i32 %30, i32* %7
%31 = call i64 @_add(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0))
%32 = load i32, i32* %6
%33 = sext i32 %32 to i64
%34 = add nsw i64 %33, %31
%35 = trunc i64 %34 to i32
store i32 %35, i32* %6
%36 = load i32, i32* %7
%37 = add nsw i32 %36, 1
store i32 %37, i32* %7
%38 = call i64 @_add(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.5, i64 0, i64 0))
%39 = load i32, i32* %6
%40 = sext i32 %39 to i64
%41 = add nsw i64 %40, %38
%42 = trunc i64 %41 to i32
store i32 %42, i32* %6
%43 = load i32, i32* %7
%44 = add nsw i32 %43, 1
store i32 %44, i32* %7
%45 = call i64 @_add(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.6, i64 0, i64 0))
%46 = load i32, i32* %6
%47 = sext i32 %46 to i64
%48 = add nsw i64 %47, %45
%49 = trunc i64 %48 to i32
store i32 %49, i32* %6
%50 = load i32, i32* %7
%51 = add nsw i32 %50, 1
store i32 %51, i32* %7
%52 = call i64 @_add(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.7, i64 0, i64 0))
%53 = load i32, i32* %6
%54 = sext i32 %53 to i64
%55 = add nsw i64 %54, %52
%56 = trunc i64 %55 to i32
store i32 %56, i32* %6
%57 = load i32, i32* %7
%58 = add nsw i32 %57, 1
store i32 %58, i32* %7
%59 = call i64 @_add(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.5, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.7, i64 0, i64 0))
%60 = load i32, i32* %6
%61 = sext i32 %60 to i64
%62 = add nsw i64 %61, %59
%63 = trunc i64 %62 to i32
store i32 %63, i32* %6
%64 = load i32, i32* %7
%65 = add nsw i32 %64, 1
store i32 %65, i32* %7
%66 = call i64 @_add(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.6, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.7, i64 0, i64 0))
%67 = load i32, i32* %6
%68 = sext i32 %67 to i64
%69 = add nsw i64 %68, %66
%70 = trunc i64 %69 to i32
store i32 %70, i32* %6
%71 = load i32, i32* %7
%72 = add nsw i32 %71, 1
store i32 %72, i32* %7
%73 = call i64 @_add(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.6, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.7, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.8, i64 0, i64 0))
%74 = load i32, i32* %6
%75 = sext i32 %74 to i64
%76 = add nsw i64 %75, %73
%77 = trunc i64 %76 to i32
store i32 %77, i32* %6
%78 = load i32, i32* %7
%79 = add nsw i32 %78, 1
store i32 %79, i32* %7
%80 = call i64 @_add(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.9, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.8, i64 0, i64 0))
%81 = load i32, i32* %6
%82 = sext i32 %81 to i64
%83 = add nsw i64 %82, %80
%84 = trunc i64 %83 to i32
store i32 %84, i32* %6
%85 = load i32, i32* %7
%86 = add nsw i32 %85, 1
store i32 %86, i32* %7
%87 = call i64 @_add(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.10, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.11, i64 0, i64 0))
%88 = load i32, i32* %6
%89 = sext i32 %88 to i64
%90 = add nsw i64 %89, %87
%91 = trunc i64 %90 to i32
store i32 %91, i32* %6
%92 = load i32, i32* %7
%93 = add nsw i32 %92, 1
store i32 %93, i32* %7
%94 = call i64 @_add(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.12, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.13, i64 0, i64 0))
%95 = load i32, i32* %6
%96 = sext i32 %95 to i64
%97 = add nsw i64 %96, %94
%98 = trunc i64 %97 to i32
store i32 %98, i32* %6
%99 = load i32, i32* %7
%100 = add nsw i32 %99, 1
store i32 %100, i32* %7
%101 = call i64 @_add(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.12, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.14, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.15, i64 0, i64 0))
%102 = load i32, i32* %6
%103 = sext i32 %102 to i64
%104 = add nsw i64 %103, %101
%105 = trunc i64 %104 to i32
store i32 %105, i32* %6
%106 = load i32, i32* %7
%107 = add nsw i32 %106, 1
store i32 %107, i32* %7
%108 = call i64 @_add(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.16, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.12, i64 0, i64 0))
%109 = load i32, i32* %6
%110 = sext i32 %109 to i64
%111 = add nsw i64 %110, %108
%112 = trunc i64 %111 to i32
store i32 %112, i32* %6
%113 = load i32, i32* %7
%114 = add nsw i32 %113, 1
store i32 %114, i32* %7
%115 = call i64 @_add(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.11, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.11, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.17, i64 0, i64 0))
%116 = load i32, i32* %6
%117 = sext i32 %116 to i64
%118 = add nsw i64 %117, %115
%119 = trunc i64 %118 to i32
store i32 %119, i32* %6
%120 = load i32, i32* %7
%121 = add nsw i32 %120, 1
store i32 %121, i32* %7
%122 = call i64 @_add(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.17, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.7, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.12, i64 0, i64 0))
%123 = load i32, i32* %6
%124 = sext i32 %123 to i64
%125 = add nsw i64 %124, %122
%126 = trunc i64 %125 to i32
store i32 %126, i32* %6
%127 = load i32, i32* %7
%128 = add nsw i32 %127, 1
store i32 %128, i32* %7
%129 = call i64 @_add(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.12, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.12, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.18, i64 0, i64 0))
%130 = load i32, i32* %6
%131 = sext i32 %130 to i64
%132 = add nsw i64 %131, %129
%133 = trunc i64 %132 to i32
store i32 %133, i32* %6
%134 = load i32, i32* %7
%135 = add nsw i32 %134, 1
store i32 %135, i32* %7
%136 = call i64 @_add(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.19, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.20, i64 0, i64 0))
%137 = load i32, i32* %6
%138 = sext i32 %137 to i64
%139 = add nsw i64 %138, %136
%140 = trunc i64 %139 to i32
store i32 %140, i32* %6
%141 = load i32, i32* %7
%142 = add nsw i32 %141, 1
store i32 %142, i32* %7
%143 = call i64 @_add(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.21, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.21, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.22, i64 0, i64 0))
%144 = load i32, i32* %6
%145 = sext i32 %144 to i64
%146 = add nsw i64 %145, %143
%147 = trunc i64 %146 to i32
store i32 %147, i32* %6
%148 = load i32, i32* %7
%149 = add nsw i32 %148, 1
store i32 %149, i32* %7
%150 = call i64 @_add(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.23, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.24, i64 0, i64 0))
%151 = load i32, i32* %6
%152 = sext i32 %151 to i64
%153 = add nsw i64 %152, %150
%154 = trunc i64 %153 to i32
store i32 %154, i32* %6
%155 = load i32, i32* %7
%156 = add nsw i32 %155, 1
store i32 %156, i32* %7
%157 = call i64 @_add(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.25, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.18, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.26, i64 0, i64 0))
%158 = load i32, i32* %6
%159 = sext i32 %158 to i64
%160 = add nsw i64 %159, %157
%161 = trunc i64 %160 to i32
store i32 %161, i32* %6
%162 = load i32, i32* %7
%163 = add nsw i32 %162, 1
store i32 %163, i32* %7
%164 = call i64 @_add(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.27, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.28, i64 0, i64 0))
%165 = load i32, i32* %6
%166 = sext i32 %165 to i64
%167 = add nsw i64 %166, %164
%168 = trunc i64 %167 to i32
store i32 %168, i32* %6
%169 = load i32, i32* %7
%170 = add nsw i32 %169, 1
store i32 %170, i32* %7
%171 = call i64 @_add(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.29, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.7, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.30, i64 0, i64 0))
%172 = load i32, i32* %6
%173 = sext i32 %172 to i64
%174 = add nsw i64 %173, %171
%175 = trunc i64 %174 to i32
store i32 %175, i32* %6
%176 = load i32, i32* %7
%177 = add nsw i32 %176, 1
store i32 %177, i32* %7
%178 = call i64 @_add(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.31, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.12, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.32, i64 0, i64 0))
%179 = load i32, i32* %6
%180 = sext i32 %179 to i64
%181 = add nsw i64 %180, %178
%182 = trunc i64 %181 to i32
store i32 %182, i32* %6
%183 = load i32, i32* %7
%184 = add nsw i32 %183, 1
store i32 %184, i32* %7
%185 = call i64 @_add(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.33, i64 0, i64 0), i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.34, i64 0, i64 0))
%186 = load i32, i32* %6
%187 = sext i32 %186 to i64
%188 = add nsw i64 %187, %185
%189 = trunc i64 %188 to i32
store i32 %189, i32* %6
%190 = load i32, i32* %7
%191 = add nsw i32 %190, 1
store i32 %191, i32* %7
%192 = call i64 @_add(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.35, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.36, i64 0, i64 0))
%193 = load i32, i32* %6
%194 = sext i32 %193 to i64
%195 = add nsw i64 %194, %192
%196 = trunc i64 %195 to i32
store i32 %196, i32* %6
%197 = load i32, i32* %7
%198 = add nsw i32 %197, 1
store i32 %198, i32* %7
%199 = call i64 @_add(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.37, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.37, i64 0, i64 0), i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.33, i64 0, i64 0))
%200 = load i32, i32* %6
%201 = sext i32 %200 to i64
%202 = add nsw i64 %201, %199
%203 = trunc i64 %202 to i32
store i32 %203, i32* %6
%204 = load i32, i32* %7
%205 = add nsw i32 %204, 1
store i32 %205, i32* %7
%206 = call i64 @_add_fail(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0), i32 2)
%207 = load i32, i32* %6
%208 = sext i32 %207 to i64
%209 = add nsw i64 %208, %206
%210 = trunc i64 %209 to i32
store i32 %210, i32* %6
%211 = load i32, i32* %7
%212 = add nsw i32 %211, 1
store i32 %212, i32* %7
%213 = call i64 @_add_fail(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.37, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.38, i64 0, i64 0), i32 32)
%214 = load i32, i32* %6
%215 = sext i32 %214 to i64
%216 = add nsw i64 %215, %213
%217 = trunc i64 %216 to i32
store i32 %217, i32* %6
%218 = load i32, i32* %7
%219 = add nsw i32 %218, 1
store i32 %219, i32* %7
%220 = call i64 @_add_fail(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.39, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0), i32 32)
%221 = load i32, i32* %6
%222 = sext i32 %221 to i64
%223 = add nsw i64 %222, %220
%224 = trunc i64 %223 to i32
store i32 %224, i32* %6
%225 = load i32, i32* %7
%226 = add nsw i32 %225, 1
store i32 %226, i32* %7
%227 = call i64 @_add_fail(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.40, i64 0, i64 0), i32 32)
%228 = load i32, i32* %6
%229 = sext i32 %228 to i64
%230 = add nsw i64 %229, %227
%231 = trunc i64 %230 to i32
store i32 %231, i32* %6
%232 = load i32, i32* %7
%233 = add nsw i32 %232, 1
store i32 %233, i32* %7
%234 = call i64 @_sub(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0))
%235 = load i32, i32* %6
%236 = sext i32 %235 to i64
%237 = add nsw i64 %236, %234
%238 = trunc i64 %237 to i32
store i32 %238, i32* %6
%239 = load i32, i32* %7
%240 = add nsw i32 %239, 1
store i32 %240, i32* %7
%241 = call i64 @_sub(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0))
%242 = load i32, i32* %6
%243 = sext i32 %242 to i64
%244 = add nsw i64 %243, %241
%245 = trunc i64 %244 to i32
store i32 %245, i32* %6
%246 = load i32, i32* %7
%247 = add nsw i32 %246, 1
store i32 %247, i32* %7
%248 = call i64 @_sub(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.4, i64 0, i64 0))
%249 = load i32, i32* %6
%250 = sext i32 %249 to i64
%251 = add nsw i64 %250, %248
%252 = trunc i64 %251 to i32
store i32 %252, i32* %6
%253 = load i32, i32* %7
%254 = add nsw i32 %253, 1
store i32 %254, i32* %7
%255 = call i64 @_sub(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0))
%256 = load i32, i32* %6
%257 = sext i32 %256 to i64
%258 = add nsw i64 %257, %255
%259 = trunc i64 %258 to i32
store i32 %259, i32* %6
%260 = load i32, i32* %7
%261 = add nsw i32 %260, 1
store i32 %261, i32* %7
%262 = call i64 @_sub(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0))
%263 = load i32, i32* %6
%264 = sext i32 %263 to i64
%265 = add nsw i64 %264, %262
%266 = trunc i64 %265 to i32
store i32 %266, i32* %6
%267 = load i32, i32* %7
%268 = add nsw i32 %267, 1
store i32 %268, i32* %7
%269 = call i64 @_sub(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.7, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0))
%270 = load i32, i32* %6
%271 = sext i32 %270 to i64
%272 = add nsw i64 %271, %269
%273 = trunc i64 %272 to i32
store i32 %273, i32* %6
%274 = load i32, i32* %7
%275 = add nsw i32 %274, 1
store i32 %275, i32* %7
%276 = call i64 @_sub(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.7, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.6, i64 0, i64 0))
%277 = load i32, i32* %6
%278 = sext i32 %277 to i64
%279 = add nsw i64 %278, %276
%280 = trunc i64 %279 to i32
store i32 %280, i32* %6
%281 = load i32, i32* %7
%282 = add nsw i32 %281, 1
store i32 %282, i32* %7
%283 = call i64 @_sub(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.7, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.5, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.4, i64 0, i64 0))
%284 = load i32, i32* %6
%285 = sext i32 %284 to i64
%286 = add nsw i64 %285, %283
%287 = trunc i64 %286 to i32
store i32 %287, i32* %6
%288 = load i32, i32* %7
%289 = add nsw i32 %288, 1
store i32 %289, i32* %7
%290 = call i64 @_sub(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.41, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.42, i64 0, i64 0))
%291 = load i32, i32* %6
%292 = sext i32 %291 to i64
%293 = add nsw i64 %292, %290
%294 = trunc i64 %293 to i32
store i32 %294, i32* %6
%295 = load i32, i32* %7
%296 = add nsw i32 %295, 1
store i32 %296, i32* %7
%297 = call i64 @_sub(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.43, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.44, i64 0, i64 0))
%298 = load i32, i32* %6
%299 = sext i32 %298 to i64
%300 = add nsw i64 %299, %297
%301 = trunc i64 %300 to i32
store i32 %301, i32* %6
%302 = load i32, i32* %7
%303 = add nsw i32 %302, 1
store i32 %303, i32* %7
%304 = call i64 @_sub(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.26, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.27, i64 0, i64 0))
%305 = load i32, i32* %6
%306 = sext i32 %305 to i64
%307 = add nsw i64 %306, %304
%308 = trunc i64 %307 to i32
store i32 %308, i32* %6
%309 = load i32, i32* %7
%310 = add nsw i32 %309, 1
store i32 %310, i32* %7
%311 = call i64 @_sub_fail(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0))
%312 = load i32, i32* %6
%313 = sext i32 %312 to i64
%314 = add nsw i64 %313, %311
%315 = trunc i64 %314 to i32
store i32 %315, i32* %6
%316 = load i32, i32* %7
%317 = add nsw i32 %316, 1
store i32 %317, i32* %7
%318 = call i64 @_sub_fail(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.45, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0))
%319 = load i32, i32* %6
%320 = sext i32 %319 to i64
%321 = add nsw i64 %320, %318
%322 = trunc i64 %321 to i32
store i32 %322, i32* %6
%323 = load i32, i32* %7
%324 = add nsw i32 %323, 1
store i32 %324, i32* %7
%325 = call i64 @_sub_fail(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.40, i64 0, i64 0))
%326 = load i32, i32* %6
%327 = sext i32 %326 to i64
%328 = add nsw i64 %327, %325
%329 = trunc i64 %328 to i32
store i32 %329, i32* %6
%330 = load i32, i32* %7
%331 = load i32, i32* %6
%332 = sub nsw i32 %330, %331
%333 = load i32, i32* %6
%334 = call i32 @printf(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str.47, i64 0, i64 0), i32 %332, i32 %333)
%335 = load i32, i32* %6
ret i32 %335
}

LLVM IR (-O2):
@.str = [2 x i8] c"I\00"
@.str.1 = [3 x i8] c"II\00"
@.str.2 = [4 x i8] c"III\00"
@.str.3 = [2 x i8] c"V\00"
@.str.4 = [3 x i8] c"IV\00"
@.str.5 = [3 x i8] c"VI\00"
@.str.6 = [3 x i8] c"IX\00"
@.str.7 = [2 x i8] c"X\00"
@.str.8 = [4 x i8] c"XIX\00"
@.str.9 = [4 x i8] c"XIV\00"
@.str.10 = [3 x i8] c"XV\00"
@.str.11 = [3 x i8] c"XX\00"
@.str.12 = [2 x i8] c"L\00"
@.str.13 = [3 x i8] c"LI\00"
@.str.14 = [3 x i8] c"XI\00"
@.str.15 = [4 x i8] c"LXI\00"
@.str.16 = [5 x i8] c"XLIX\00"
@.str.17 = [3 x i8] c"XL\00"
@.str.18 = [2 x i8] c"C\00"
@.str.19 = [5 x i8] c"XCIX\00"
@.str.20 = [3 x i8] c"CI\00"
@.str.21 = [3 x i8] c"CC\00"
@.str.22 = [3 x i8] c"CD\00"
@.str.23 = [7 x i8] c"CDXCIX\00"
@.str.24 = [2 x i8] c"D\00"
@.str.25 = [3 x i8] c"CM\00"
@.str.26 = [2 x i8] c"M\00"
@.str.27 = [7 x i8] c"CMXCIX\00"
@.str.28 = [4 x i8] c"MIV\00"
@.str.29 = [9 x i8] c"DCCCXCIX\00"
@.str.30 = [5 x i8] c"CMIX\00"
@.str.31 = [6 x i8] c"MCMXC\00"
@.str.32 = [5 x i8] c"MMXL\00"
@.str.33 = [12 x i8] c"MMMCMXCVIII\00"
@.str.34 = [10 x i8] c"MMMCMXCIX\00"
@.str.35 = [16 x i8] c"MMMDCCCLXXXVIII\00"
@.str.36 = [14 x i8] c"MMMDCCCLXXXIX\00"
@.str.37 = [8 x i8] c"MCMXCIX\00"
@.str.38 = [9 x i8] c"MMCMXCIX\00"
@.str.39 = [2 x i8] c"J\00"
@.str.40 = [3 x i8] c"IM\00"
@.str.41 = [3 x i8] c"CX\00"
@.str.42 = [3 x i8] c"CV\00"
@.str.43 = [4 x i8] c"CXI\00"
@.str.44 = [4 x i8] c"CVI\00"
@.str.45 = [3 x i8] c"IJ\00"
@.str.46 = [3 x i8] c"MM\00"
@.str.47 = [35 x i8] c"test result: %d passed, %d failed\0A\00"
define i32 @main(i32 %0, i8** nocapture readnone %1) {
%3 = tail call i64 @_add(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0))
%4 = tail call i64 @_add(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0))
%5 = add i64 %4, %3
%6 = tail call i64 @_add(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0))
%7 = add i64 %5, %6
%8 = tail call i64 @_add(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0))
%9 = add i64 %7, %8
%10 = tail call i64 @_add(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.5, i64 0, i64 0))
%11 = add i64 %9, %10
%12 = tail call i64 @_add(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.6, i64 0, i64 0))
%13 = add i64 %11, %12
%14 = tail call i64 @_add(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.7, i64 0, i64 0))
%15 = add i64 %13, %14
%16 = tail call i64 @_add(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.5, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.7, i64 0, i64 0))
%17 = add i64 %15, %16
%18 = tail call i64 @_add(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.6, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.7, i64 0, i64 0))
%19 = add i64 %17, %18
%20 = tail call i64 @_add(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.6, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.7, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.8, i64 0, i64 0))
%21 = add i64 %19, %20
%22 = tail call i64 @_add(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.9, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.8, i64 0, i64 0))
%23 = add i64 %21, %22
%24 = tail call i64 @_add(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.10, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.11, i64 0, i64 0))
%25 = add i64 %23, %24
%26 = tail call i64 @_add(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.12, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.13, i64 0, i64 0))
%27 = add i64 %25, %26
%28 = tail call i64 @_add(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.12, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.14, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.15, i64 0, i64 0))
%29 = add i64 %27, %28
%30 = tail call i64 @_add(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.16, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.12, i64 0, i64 0))
%31 = add i64 %29, %30
%32 = tail call i64 @_add(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.11, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.11, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.17, i64 0, i64 0))
%33 = add i64 %31, %32
%34 = tail call i64 @_add(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.17, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.7, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.12, i64 0, i64 0))
%35 = add i64 %33, %34
%36 = tail call i64 @_add(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.12, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.12, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.18, i64 0, i64 0))
%37 = add i64 %35, %36
%38 = tail call i64 @_add(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.19, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.20, i64 0, i64 0))
%39 = add i64 %37, %38
%40 = tail call i64 @_add(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.21, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.21, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.22, i64 0, i64 0))
%41 = add i64 %39, %40
%42 = tail call i64 @_add(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.23, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.24, i64 0, i64 0))
%43 = add i64 %41, %42
%44 = tail call i64 @_add(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.25, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.18, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.26, i64 0, i64 0))
%45 = add i64 %43, %44
%46 = tail call i64 @_add(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.27, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.28, i64 0, i64 0))
%47 = add i64 %45, %46
%48 = tail call i64 @_add(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.29, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.7, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.30, i64 0, i64 0))
%49 = add i64 %47, %48
%50 = tail call i64 @_add(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.31, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.12, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.32, i64 0, i64 0))
%51 = add i64 %49, %50
%52 = tail call i64 @_add(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.33, i64 0, i64 0), i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.34, i64 0, i64 0))
%53 = add i64 %51, %52
%54 = tail call i64 @_add(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.35, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.36, i64 0, i64 0))
%55 = add i64 %53, %54
%56 = tail call i64 @_add(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.37, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.37, i64 0, i64 0), i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.33, i64 0, i64 0))
%57 = add i64 %55, %56
%58 = tail call i64 @_add_fail(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0), i32 2)
%59 = add i64 %57, %58
%60 = tail call i64 @_add_fail(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.37, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.38, i64 0, i64 0), i32 32)
%61 = add i64 %59, %60
%62 = tail call i64 @_add_fail(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.39, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0), i32 32)
%63 = add i64 %61, %62
%64 = tail call i64 @_add_fail(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.40, i64 0, i64 0), i32 32)
%65 = add i64 %63, %64
%66 = tail call i64 @_sub(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0))
%67 = add i64 %65, %66
%68 = tail call i64 @_sub(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0))
%69 = add i64 %67, %68
%70 = tail call i64 @_sub(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.4, i64 0, i64 0))
%71 = add i64 %69, %70
%72 = tail call i64 @_sub(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0))
%73 = add i64 %71, %72
%74 = tail call i64 @_sub(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0))
%75 = add i64 %73, %74
%76 = tail call i64 @_sub(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.7, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0))
%77 = add i64 %75, %76
%78 = tail call i64 @_sub(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.7, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.6, i64 0, i64 0))
%79 = add i64 %77, %78
%80 = tail call i64 @_sub(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.7, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.5, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.4, i64 0, i64 0))
%81 = add i64 %79, %80
%82 = tail call i64 @_sub(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.41, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.42, i64 0, i64 0))
%83 = add i64 %81, %82
%84 = tail call i64 @_sub(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.43, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.44, i64 0, i64 0))
%85 = add i64 %83, %84
%86 = tail call i64 @_sub(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.26, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.27, i64 0, i64 0))
%87 = add i64 %85, %86
%88 = tail call i64 @_sub_fail(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0))
%89 = add i64 %87, %88
%90 = tail call i64 @_sub_fail(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.45, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0))
%91 = add i64 %89, %90
%92 = tail call i64 @_sub_fail(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.40, i64 0, i64 0))
%93 = add i64 %91, %92
%94 = trunc i64 %93 to i32
%95 = sub nsw i32 46, %94
%96 = tail call i32 @printf(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str.47, i64 0, i64 0), i32 %95, i32 %94)
ret i32 %94
}