#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 */
void *malloc(int);
int /*<<< orphan*/ strncpy(char *, char *, int);
int load_frames(char ***frames, int **delays) {
  int i;
  *frames = malloc(5 * sizeof(char *));
  for (i = 0; i < 5; i++) {
    (*frames)[i] = malloc(10000 * sizeof(char));
  }
  strncpy((*frames)[0],
          "TTTTTTTT  UU    UU\n"
          "   TT     UU    UU\n"
          "   TT      UU  UU\n"
          "   TT       UUUU\n"
          "\n"
          "                         __________\n"
          "                   .ooooTOOOOOOOOOOToo..\n"
          "                _./OOOOOOOOOOOOOOOOO****\\._\n"
          "              ./OOOOOOOOOOOOOOOOOOO********\\._\n"
          "            ./OOOOOOOOOOOOOOOOOOOOO***********\\._\n"
          "           /OOOOOOOOOOOOOOOOOOOOOOOO*************\\.\n"
          "     _____/^^^^^^^^TTTTTPPPVTTTOOOOOO**************\\.\n"
          "    |*****\\OOOOOO/Ooooooo..._____-\\p****************L\n"
          "  ./*******\\OOOO/OOO9/^¨^VOOOOOOOO\\-'''''\\***********|\n"
          " /********T/\\OO|OO/        '^-VOOOOOOOOOO\\..\\********|\n"
          "|********/:/ '\\U/   _*##*-    |:7TOOOOOOOOOA..\\****.V\n"
          " \\******/:/        *.-^^-.   .|:::\\OOOOOO^vOOA..\\*/\n"
          "  \\LLLL/::_\\      .//a\\.'.^. /:::::^PPv/:::\\VOVOVOA-.\n"
          "      /::|0.|     | Y0/.'./  /::::::::::::::::| \\OOOO\\\n"
          "      |::\\./       ^--..-'  /::::::::::::\\:::::  \\OOOO\\\n"
          "       .-^                ./::::::::::::::;:::::\\ \\OOOO\\\n"
          "       \\                 /::./|:::::::::::\\:::::\\  ^-T-^\n"
          "        )              .^.-^ .|::::::::::::^:::::\\\n"
          "        /                    /.^\\:::::::::::\\:::::\\\n"
          "        |/^-                /   .^:::./\\::::|\\::::\\\n"
          "        \\\\.-^                   /::./::.\\:::| \\::::\\\n"
          "         )                     /::/\\:::|\\:::.| \\.:::\\\n"
          "         |                   ./:.^  \\:/  Y:::|   \\.::\\\n"
          "         (__                /.-^\\    V   \\:::|     \\.:\\\n"
          "       ./:::^^^^-----.           \\        \\:/        \\.\\\n"
          "       /::/\\::::::./  \\           \\        V          ^-.\n"
          "      /:/.  \\:::./     \\           \\\n"
          "      V^    |:./       .|\n"
          "           /./          \\\n"
          "           V\n",
          10000);
  strncpy((*frames)[1],
          "TTTTTTTT  UU    UU  TTTTTTTT  UU    UU\n"
          "   TT     UU    UU     TT     UU    UU\n"
          "   TT      UU  UU      TT      UU  UU\n"
          "   TT       UUUU       TT       UUUU\n"
          "\n"
          "                         __________\n"
          "                   .ooooTOOOOOOOOOOToo..\n"
          "                _./OOOOOOOOOOOOOOOOO****\\._\n"
          "              ./OOOOOOOOOOOOOOOOOOO********\\._\n"
          "            ./OOOOOOOOOOOOOOOOOOOOO***********\\._\n"
          "           /OOOOOOOOOOOOOOOOOOOOOOOO*************\\.\n"
          "     _____/^^^^^^^^TTTTTPPPVTTTOOOOOO**************\\.\n"
          "    |*****\\OOOOOO/Ooooooo..._____-\\p****************L\n"
          "  ./*******\\OOOO/OOO9/^¨^VOOOOOOOO\\-'''''\\***********|\n"
          " /********T/\\OO|OO/        '^-VOOOOOOOOOO\\..\\********|\n"
          "|********/:/ '\\U/   _*##*-    |:7TOOOOOOOOOA..\\****.V\n"
          " \\******/:/        *.-^^-.   .|:::\\OOOOOO^vOOA..\\*/\n"
          "  \\LLLL/::_\\      .//a\\.'.^. /:::::^PPv/:::\\VOVOVOA-.\n"
          "      /::|0.|     | Y0/.'./  /::::::::::::::::| \\OOOO\\\n"
          "      |::\\./       ^--..-'  /::::::::::::\\:::::  \\OOOO\\\n"
          "       .-^                ./::::::::::::::;:::::\\ \\OOOO\\\n"
          "       \\                 /::./|:::::::::::\\:::::\\  ^-T-^\n"
          "        )              .^.-^ .|::::::::::::^:::::\\\n"
          "        /                    /.^\\:::::::::::\\:::::\\\n"
          "        |.-_                /   .^:::./\\::::|\\::::\\\n"
          "        \\\\-^                    /::./::.\\:::| \\::::\\\n"
          "         )                     /::/\\:::|\\:::.| \\.:::\\\n"
          "         |                   ./:.^  \\:/  Y:::|   \\.::\\\n"
          "         (__                /.-^\\    V   \\:::|     \\.:\\\n"
          "       ./:::^^^^-----.           \\        \\:/        \\.\\\n"
          "       /::/\\::::::./  \\           \\        V          ^-.\n"
          "      /:/.  \\:::./     \\           \\\n"
          "      V^    |:./       .|\n"
          "           /./          \\\n"
          "           V\n",
          10000);
  strncpy((*frames)[2],
          "TTTTTTTT  UU    UU  TTTTTTTT  UU    UU  RRRRR   UU    UU  /\\\n"
          "   TT     UU    UU     TT     UU    UU  RR  RR  UU    UU  \\/\n"
          "   TT      UU  UU      TT      UU  UU   RRRRR    UU  UU\n"
          "   TT       UUUU       TT       UUUU    RR  RR    UUUU    ()\n"
          "\n"
          "                         __________\n"
          "                   .ooooTOOOOOOOOOOToo..\n"
          "                _./OOOOOOOOOOOOOOOOO****\\._\n"
          "              ./OOOOOOOOOOOOOOOOOOO********\\._\n"
          "            ./OOOOOOOOOOOOOOOOOOOOO***********\\._\n"
          "           /OOOOOOOOOOOOOOOOOOOOOOOO*************\\.\n"
          "     _____/^^^^^^^^TTTTTPPPVTTTOOOOOO**************\\.\n"
          "    |*****\\OOOOOO/Ooooooo..._____-\\p****************L\n"
          "  ./*******\\OOOO/OOO9/^¨^VOOOOOOOO\\-'''''\\***********|\n"
          " /********T/\\OO|OO/        '^-VOOOOOOOOOO\\..\\********|\n"
          "|********/:/ '\\U/   _*##*-    |:7TOOOOOOOOOA..\\****.V\n"
          " \\******/:/        *.-^^-.   .|:::\\OOOOOO^vOOA..\\*/\n"
          "  \\LLLL/::_\\      .//a\\.'.^. /:::::^PPv/:::\\VOVOVOA-.\n"
          "      /::|0.|     | Y0/.'./  /::::::::::::::::| \\OOOO\\\n"
          "      |::\\./       ^--..-'  /::::::::::::\\:::::  \\OOOO\\\n"
          "       .-^                ./::::::::::::::;:::::\\ \\OOOO\\\n"
          "       \\                 /::./|:::::::::::\\:::::\\  ^-T-^\n"
          "        )              .^.-^ .|::::::::::::^:::::\\\n"
          "        /                    /.^\\:::::::::::\\:::::\\\n"
          "        |/^-                /   .^:::./\\::::|\\::::\\\n"
          "        \\\\.-^                   /::./::.\\:::| \\::::\\\n"
          "         )                     /::/\\:::|\\:::.| \\.:::\\\n"
          "         |                   ./:.^  \\:/  Y:::|   \\.::\\\n"
          "         (__                /.-^\\    V   \\:::|     \\.:\\\n"
          "       ./:::^^^^-----.           \\        \\:/        \\.\\\n"
          "       /::/\\::::::./  \\           \\        V          ^-.\n"
          "      /:/.  \\:::./     \\           \\\n"
          "      V^    |:./       .|\n"
          "           /./          \\\n"
          "           V\n",
          10000);
  strncpy((*frames)[3],
          "TTTTTTTT  UU    UU  TTTTTTTT  UU    UU  RRRRR   UU    UU  /\\\n"
          "   TT     UU    UU     TT     UU    UU  RR  RR  UU    UU  \\/\n"
          "   TT      UU  UU      TT      UU  UU   RRRRR    UU  UU\n"
          "   TT       UUUU       TT       UUUU    RR  RR    UUUU    ()\n"
          "\n"
          "                         __________\n"
          "                   .ooooTOOOOOOOOOOToo..\n"
          "                _./OOOOOOOOOOOOOOOOO****\\._\n"
          "              ./OOOOOOOOOOOOOOOOOOO********\\._\n"
          "            ./OOOOOOOOOOOOOOOOOOOOO***********\\._\n"
          "           /OOOOOOOOOOOOOOOOOOOOOOOO*************\\.\n"
          "     _____/^^^^^^^^TTTTTPPPVTTTOOOOOO**************\\.\n"
          "    |*****\\OOOOOO/Ooooooo..._____-\\p****************L\n"
          "  ./*******\\OOOO/OOO9/^¨^VOOOOOOOO\\-'''''\\***********|\n"
          " /********T/\\OO|OO/        '^-VOOOOOOOOOO\\..\\********|\n"
          "|********/:/ '\\U/             |:7TOOOOOOOOOA..\\****.V\n"
          " \\******/:/         .*##*--  .|:::\\OOOOOO^vOOA..\\*/\n"
          "  \\LLLL/:: \\      .--'^^^\\   /:::::^PPv/:::\\VOVOVOA-.\n"
          "      /::|o-|     \\ Y0__'.>  /::::::::::::::::| \\OOOO\\\n"
          "      |::\\./       ^^^  ^   /::::::::::::\\:::::  \\OOOO\\\n"
          "       .-^                ./::::::::::::::;:::::\\ \\OOOO\\\n"
          "       \\                 /::./|:::::::::::\\:::::\\  ^-T-^\n"
          "        )              .^.-^ .|::::::::::::^:::::\\\n"
          "        /          .::       /.^\\:::::::::::\\:::::\\\n"
          "        |.--        ::      /   .^:::./\\::::|\\::::\\\n"
          "        \\'-^'                   /::./::.\\:::| \\::::\\\n"
          "         )                     /::/\\:::|\\:::.| \\.:::\\\n"
          "         |                   ./:.^  \\:/  Y:::|   \\.::\\\n"
          "         (__                /.-^\\    V   \\:::|     \\.:\\\n"
          "       ./:::^^^^-----.           \\        \\:/        \\.\\\n"
          "       /::/\\::::::./  \\           \\        V          ^-.\n"
          "      /:/.  \\:::./     \\           \\\n"
          "      V^    |:./       .|\n"
          "           /./          \\\n"
          "           V\n",
          10000);
  strncpy((*frames)[4],
          "TTTTTTTT  UU    UU  TTTTTTTT  UU    UU  RRRRR   UU    UU  /\\\n"
          "   TT     UU    UU     TT     UU    UU  RR  RR  UU    UU  \\/\n"
          "   TT      UU  UU      TT      UU  UU   RRRRR    UU  UU\n"
          "   TT       UUUU       TT       UUUU    RR  RR    UUUU    ()\n"
          "\n"
          "                         __________\n"
          "                   .ooooTOOOOOOOOOOToo..\n"
          "                _./OOOOOOOOOOOOOOOOO****\\._\n"
          "              ./OOOOOOOOOOOOOOOOOOO********\\._\n"
          "            ./OOOOOOOOOOOOOOOOOOOOO***********\\._\n"
          "           /OOOOOOOOOOOOOOOOOOOOOOOO*************\\.\n"
          "     _____/^^^^^^^^TTTTTPPPVTTTOOOOOO**************\\.\n"
          "    |*****\\OOOOOO/Ooooooo..._____-\\p****************L\n"
          "  ./*******\\OOOO/OOO9/^¨^VOOOOOOOO\\-'''''\\***********|\n"
          " /********T/\\OO|OO/        '^-VOOOOOOOOOO\\..\\********|\n"
          "|********/:/ '\\U/             |:7TOOOOOOOOOA..\\****.V\n"
          " \\******/:/                  .|:::\\OOOOOO^vOOA..\\*/\n"
          "  \\LLLL/:: \\      .-.*##*-.  /:::::^PPv/:::\\VOVOVOA-.\n"
          "      /::|.-|       .---..   /::::::::::::::::| \\OOOO\\\n"
          "      |::\\./       ^      ^ /::::::::::::\\:::::  \\OOOO\\\n"
          "       .-^                ./::::::::::::::;:::::\\ \\OOOO\\\n"
          "       \\           .:.   /::./|:::::::::::\\:::::\\  ^-T-^\n"
          "        )         .:::..^.-^ .|::::::::::::^:::::\\\n"
          "        /         .::::      /.^\\:::::::::::\\:::::\\\n"
          "        |__..,     .:::.    /   .^:::./\\::::|\\::::\\\n"
          "        \\'^^'        ''         /::./::.\\:::| \\::::\\\n"
          "         )                     /::/\\:::|\\:::.| \\.:::\\\n"
          "         |                   ./:.^  \\:/  Y:::|   \\.::\\\n"
          "         (__                /.-^\\    V   \\:::|     \\.:\\\n"
          "       ./:::^^^^-----.           \\        \\:/        \\.\\\n"
          "       /::/\\::::::./  \\           \\        V          ^-.\n"
          "      /:/.  \\:::./     \\           \\\n"
          "      V^    |:./       .|\n"
          "           /./          \\\n"
          "           V\n",
          10000);
  (*delays) = malloc(5 * sizeof(int));
  (*delays)[0] = 300000;
  (*delays)[1] = 200000;
  (*delays)[2] = 1000000;
  (*delays)[3] = 100000;
  (*delays)[4] = 1000000;
  return 5;
}


x86 assembly (clang, -O0):
<load_frames>:
push   %rbp
mov    %rsp,%rbp
sub    $0x20,%rsp
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    $0x28,%edi
call   1040 <malloc@plt>
mov    %rax,%rcx
mov    -0x8(%rbp),%rax
mov    %rcx,(%rax)
movl   $0x0,-0x14(%rbp)
cmpl   $0x5,-0x14(%rbp)
jge    117f <load_frames+0x5f>
mov    $0x2710,%edi
call   1040 <malloc@plt>
mov    %rax,%rdx
mov    -0x8(%rbp),%rax
mov    (%rax),%rax
movslq -0x14(%rbp),%rcx
mov    %rdx,(%rax,%rcx,8)
mov    -0x14(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x14(%rbp)
jmp    114b <load_frames+0x2b>
mov    -0x8(%rbp),%rax
mov    (%rax),%rax
mov    (%rax),%rdi
lea    0xe70(%rip),%rsi
mov    $0x2710,%edx
call   1030 <strncpy@plt>
mov    -0x8(%rbp),%rax
mov    (%rax),%rax
mov    0x8(%rax),%rdi
lea    0x1457(%rip),%rsi
mov    $0x2710,%edx
call   1030 <strncpy@plt>
mov    -0x8(%rbp),%rax
mov    (%rax),%rax
mov    0x10(%rax),%rdi
lea    0x1a8e(%rip),%rsi
mov    $0x2710,%edx
call   1030 <strncpy@plt>
mov    -0x8(%rbp),%rax
mov    (%rax),%rax
mov    0x18(%rax),%rdi
lea    0x211b(%rip),%rsi
mov    $0x2710,%edx
call   1030 <strncpy@plt>
mov    -0x8(%rbp),%rax
mov    (%rax),%rax
mov    0x20(%rax),%rdi
lea    0x27a8(%rip),%rsi
mov    $0x2710,%edx
call   1030 <strncpy@plt>
mov    $0x14,%edi
call   1040 <malloc@plt>
mov    %rax,%rcx
mov    -0x10(%rbp),%rax
mov    %rcx,(%rax)
mov    -0x10(%rbp),%rax
mov    (%rax),%rax
movl   $0x493e0,(%rax)
mov    -0x10(%rbp),%rax
mov    (%rax),%rax
movl   $0x30d40,0x4(%rax)
mov    -0x10(%rbp),%rax
mov    (%rax),%rax
movl   $0xf4240,0x8(%rax)
mov    -0x10(%rbp),%rax
mov    (%rax),%rax
movl   $0x186a0,0xc(%rax)
mov    -0x10(%rbp),%rax
mov    (%rax),%rax
movl   $0xf4240,0x10(%rax)
mov    $0x5,%eax
add    $0x20,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<load_frames>:
push   %r15
push   %r14
push   %r12
push   %rbx
push   %rax
mov    %rsi,%r14
mov    %rdi,%r15
mov    $0x28,%edi
call   1040 <malloc@plt>
mov    %rax,%rbx
mov    %rax,(%r15)
mov    $0x2710,%edi
call   1040 <malloc@plt>
mov    %rax,%r12
mov    %rax,(%rbx)
mov    $0x2710,%edi
call   1040 <malloc@plt>
mov    %rax,0x8(%rbx)
mov    $0x2710,%edi
call   1040 <malloc@plt>
mov    %rax,0x10(%rbx)
mov    $0x2710,%edi
call   1040 <malloc@plt>
mov    %rax,0x18(%rbx)
mov    $0x2710,%edi
call   1040 <malloc@plt>
mov    %rax,0x20(%rbx)
lea    0xe83(%rip),%rsi
mov    %r12,%rdi
mov    $0x2710,%edx
call   1030 <strncpy@plt>
mov    (%r15),%rax
mov    0x8(%rax),%rdi
lea    0x146b(%rip),%rsi
mov    $0x2710,%edx
call   1030 <strncpy@plt>
mov    (%r15),%rax
mov    0x10(%rax),%rdi
lea    0x1aa6(%rip),%rsi
mov    $0x2710,%edx
call   1030 <strncpy@plt>
mov    (%r15),%rax
mov    0x18(%rax),%rdi
lea    0x2137(%rip),%rsi
mov    $0x2710,%edx
call   1030 <strncpy@plt>
mov    (%r15),%rax
mov    0x20(%rax),%rdi
lea    0x27c8(%rip),%rsi
mov    $0x2710,%edx
call   1030 <strncpy@plt>
mov    $0x14,%edi
call   1040 <malloc@plt>
mov    %rax,(%r14)
movaps 0xdf2(%rip),%xmm0
movups %xmm0,(%rax)
movl   $0xf4240,0x10(%rax)
mov    $0x5,%eax
add    $0x8,%rsp
pop    %rbx
pop    %r12
pop    %r14
pop    %r15
ret

LLVM IR (-O0):
@.str = [1539 x i8] c"TTTTTTTT UU UU\0A TT UU UU\0A TT UU UU\0A TT UUUU\0A\0A __________\0A .ooooTOOOOOOOOOOToo..\0A _./OOOOOOOOOOOOOOOOO****\\._\0A ./OOOOOOOOOOOOOOOOOOO********\\._\0A ./OOOOOOOOOOOOOOOOOOOOO***********\\._\0A /OOOOOOOOOOOOOOOOOOOOOOOO*************\\.\0A _____/^^^^^^^^TTTTTPPPVTTTOOOOOO**************\\.\0A |*****\\OOOOOO/Ooooooo..._____-\\p****************L\0A ./*******\\OOOO/OOO9/^\C2\A8^VOOOOOOOO\\-'''''\\***********|\0A /********T/\\OO|OO/ '^-VOOOOOOOOOO\\..\\********|\0A|********/:/ '\\U/ _*##*- |:7TOOOOOOOOOA..\\****.V\0A \\******/:/ *.-^^-. .|:::\\OOOOOO^vOOA..\\*/\0A \\LLLL/::_\\ .//a\\.'.^. /:::::^PPv/:::\\VOVOVOA-.\0A /::|0.| | Y0/.'./ /::::::::::::::::| \\OOOO\\\0A |::\\./ ^--..-' /::::::::::::\\::::: \\OOOO\\\0A .-^ ./::::::::::::::;:::::\\ \\OOOO\\\0A \\ /::./|:::::::::::\\:::::\\ ^-T-^\0A ) .^.-^ .|::::::::::::^:::::\\\0A / /.^\\:::::::::::\\:::::\\\0A |/^- / .^:::./\\::::|\\::::\\\0A \\\\.-^ /::./::.\\:::| \\::::\\\0A ) /::/\\:::|\\:::.| \\.:::\\\0A | ./:.^ \\:/ Y:::| \\.::\\\0A (__ /.-^\\ V \\:::| \\.:\\\0A ./:::^^^^-----. \\ \\:/ \\.\\\0A /::/\\::::::./ \\ \\ V ^-.\0A /:/. \\:::./ \\ \\\0A V^ |:./ .|\0A /./ \\\0A V\0A\00"
@.str.1 = [1619 x i8] c"TTTTTTTT UU UU TTTTTTTT UU UU\0A TT UU UU TT UU UU\0A TT UU UU TT UU UU\0A TT UUUU TT UUUU\0A\0A __________\0A .ooooTOOOOOOOOOOToo..\0A _./OOOOOOOOOOOOOOOOO****\\._\0A ./OOOOOOOOOOOOOOOOOOO********\\._\0A ./OOOOOOOOOOOOOOOOOOOOO***********\\._\0A /OOOOOOOOOOOOOOOOOOOOOOOO*************\\.\0A _____/^^^^^^^^TTTTTPPPVTTTOOOOOO**************\\.\0A |*****\\OOOOOO/Ooooooo..._____-\\p****************L\0A ./*******\\OOOO/OOO9/^\C2\A8^VOOOOOOOO\\-'''''\\***********|\0A /********T/\\OO|OO/ '^-VOOOOOOOOOO\\..\\********|\0A|********/:/ '\\U/ _*##*- |:7TOOOOOOOOOA..\\****.V\0A \\******/:/ *.-^^-. .|:::\\OOOOOO^vOOA..\\*/\0A \\LLLL/::_\\ .//a\\.'.^. /:::::^PPv/:::\\VOVOVOA-.\0A /::|0.| | Y0/.'./ /::::::::::::::::| \\OOOO\\\0A |::\\./ ^--..-' /::::::::::::\\::::: \\OOOO\\\0A .-^ ./::::::::::::::;:::::\\ \\OOOO\\\0A \\ /::./|:::::::::::\\:::::\\ ^-T-^\0A ) .^.-^ .|::::::::::::^:::::\\\0A / /.^\\:::::::::::\\:::::\\\0A |.-_ / .^:::./\\::::|\\::::\\\0A \\\\-^ /::./::.\\:::| \\::::\\\0A ) /::/\\:::|\\:::.| \\.:::\\\0A | ./:.^ \\:/ Y:::| \\.::\\\0A (__ /.-^\\ V \\:::| \\.:\\\0A ./:::^^^^-----. \\ \\:/ \\.\\\0A /::/\\::::::./ \\ \\ V ^-.\0A /:/. \\:::./ \\ \\\0A V^ |:./ .|\0A /./ \\\0A V\0A\00"
@.str.2 = [1705 x i8] c"TTTTTTTT UU UU TTTTTTTT UU UU RRRRR UU UU /\\\0A TT UU UU TT UU UU RR RR UU UU \\/\0A TT UU UU TT UU UU RRRRR UU UU\0A TT UUUU TT UUUU RR RR UUUU ()\0A\0A __________\0A .ooooTOOOOOOOOOOToo..\0A _./OOOOOOOOOOOOOOOOO****\\._\0A ./OOOOOOOOOOOOOOOOOOO********\\._\0A ./OOOOOOOOOOOOOOOOOOOOO***********\\._\0A /OOOOOOOOOOOOOOOOOOOOOOOO*************\\.\0A _____/^^^^^^^^TTTTTPPPVTTTOOOOOO**************\\.\0A |*****\\OOOOOO/Ooooooo..._____-\\p****************L\0A ./*******\\OOOO/OOO9/^\C2\A8^VOOOOOOOO\\-'''''\\***********|\0A /********T/\\OO|OO/ '^-VOOOOOOOOOO\\..\\********|\0A|********/:/ '\\U/ _*##*- |:7TOOOOOOOOOA..\\****.V\0A \\******/:/ *.-^^-. .|:::\\OOOOOO^vOOA..\\*/\0A \\LLLL/::_\\ .//a\\.'.^. /:::::^PPv/:::\\VOVOVOA-.\0A /::|0.| | Y0/.'./ /::::::::::::::::| \\OOOO\\\0A |::\\./ ^--..-' /::::::::::::\\::::: \\OOOO\\\0A .-^ ./::::::::::::::;:::::\\ \\OOOO\\\0A \\ /::./|:::::::::::\\:::::\\ ^-T-^\0A ) .^.-^ .|::::::::::::^:::::\\\0A / /.^\\:::::::::::\\:::::\\\0A |/^- / .^:::./\\::::|\\::::\\\0A \\\\.-^ /::./::.\\:::| \\::::\\\0A ) /::/\\:::|\\:::.| \\.:::\\\0A | ./:.^ \\:/ Y:::| \\.::\\\0A (__ /.-^\\ V \\:::| \\.:\\\0A ./:::^^^^-----. \\ \\:/ \\.\\\0A /::/\\::::::./ \\ \\ V ^-.\0A /:/. \\:::./ \\ \\\0A V^ |:./ .|\0A /./ \\\0A V\0A\00"
@.str.3 = [1705 x i8] c"TTTTTTTT UU UU TTTTTTTT UU UU RRRRR UU UU /\\\0A TT UU UU TT UU UU RR RR UU UU \\/\0A TT UU UU TT UU UU RRRRR UU UU\0A TT UUUU TT UUUU RR RR UUUU ()\0A\0A __________\0A .ooooTOOOOOOOOOOToo..\0A _./OOOOOOOOOOOOOOOOO****\\._\0A ./OOOOOOOOOOOOOOOOOOO********\\._\0A ./OOOOOOOOOOOOOOOOOOOOO***********\\._\0A /OOOOOOOOOOOOOOOOOOOOOOOO*************\\.\0A _____/^^^^^^^^TTTTTPPPVTTTOOOOOO**************\\.\0A |*****\\OOOOOO/Ooooooo..._____-\\p****************L\0A ./*******\\OOOO/OOO9/^\C2\A8^VOOOOOOOO\\-'''''\\***********|\0A /********T/\\OO|OO/ '^-VOOOOOOOOOO\\..\\********|\0A|********/:/ '\\U/ |:7TOOOOOOOOOA..\\****.V\0A \\******/:/ .*##*-- .|:::\\OOOOOO^vOOA..\\*/\0A \\LLLL/:: \\ .--'^^^\\ /:::::^PPv/:::\\VOVOVOA-.\0A /::|o-| \\ Y0__'.> /::::::::::::::::| \\OOOO\\\0A |::\\./ ^^^ ^ /::::::::::::\\::::: \\OOOO\\\0A .-^ ./::::::::::::::;:::::\\ \\OOOO\\\0A \\ /::./|:::::::::::\\:::::\\ ^-T-^\0A ) .^.-^ .|::::::::::::^:::::\\\0A / .:: /.^\\:::::::::::\\:::::\\\0A |.-- :: / .^:::./\\::::|\\::::\\\0A \\'-^' /::./::.\\:::| \\::::\\\0A ) /::/\\:::|\\:::.| \\.:::\\\0A | ./:.^ \\:/ Y:::| \\.::\\\0A (__ /.-^\\ V \\:::| \\.:\\\0A ./:::^^^^-----. \\ \\:/ \\.\\\0A /::/\\::::::./ \\ \\ V ^-.\0A /:/. \\:::./ \\ \\\0A V^ |:./ .|\0A /./ \\\0A V\0A\00"
@.str.4 = [1705 x i8] c"TTTTTTTT UU UU TTTTTTTT UU UU RRRRR UU UU /\\\0A TT UU UU TT UU UU RR RR UU UU \\/\0A TT UU UU TT UU UU RRRRR UU UU\0A TT UUUU TT UUUU RR RR UUUU ()\0A\0A __________\0A .ooooTOOOOOOOOOOToo..\0A _./OOOOOOOOOOOOOOOOO****\\._\0A ./OOOOOOOOOOOOOOOOOOO********\\._\0A ./OOOOOOOOOOOOOOOOOOOOO***********\\._\0A /OOOOOOOOOOOOOOOOOOOOOOOO*************\\.\0A _____/^^^^^^^^TTTTTPPPVTTTOOOOOO**************\\.\0A |*****\\OOOOOO/Ooooooo..._____-\\p****************L\0A ./*******\\OOOO/OOO9/^\C2\A8^VOOOOOOOO\\-'''''\\***********|\0A /********T/\\OO|OO/ '^-VOOOOOOOOOO\\..\\********|\0A|********/:/ '\\U/ |:7TOOOOOOOOOA..\\****.V\0A \\******/:/ .|:::\\OOOOOO^vOOA..\\*/\0A \\LLLL/:: \\ .-.*##*-. /:::::^PPv/:::\\VOVOVOA-.\0A /::|.-| .---.. /::::::::::::::::| \\OOOO\\\0A |::\\./ ^ ^ /::::::::::::\\::::: \\OOOO\\\0A .-^ ./::::::::::::::;:::::\\ \\OOOO\\\0A \\ .:. /::./|:::::::::::\\:::::\\ ^-T-^\0A ) .:::..^.-^ .|::::::::::::^:::::\\\0A / .:::: /.^\\:::::::::::\\:::::\\\0A |__.., .:::. / .^:::./\\::::|\\::::\\\0A \\'^^' '' /::./::.\\:::| \\::::\\\0A ) /::/\\:::|\\:::.| \\.:::\\\0A | ./:.^ \\:/ Y:::| \\.::\\\0A (__ /.-^\\ V \\:::| \\.:\\\0A ./:::^^^^-----. \\ \\:/ \\.\\\0A /::/\\::::::./ \\ \\ V ^-.\0A /:/. \\:::./ \\ \\\0A V^ |:./ .|\0A /./ \\\0A V\0A\00"
define i32 @load_frames(i8*** %0, i32** %1) {
%3 = alloca i8***
%4 = alloca i32**
%5 = alloca i32
store i8*** %0, i8**** %3
store i32** %1, i32*** %4
%6 = call i8* @malloc(i32 40)
%7 = bitcast i8* %6 to i8**
%8 = load i8***, i8**** %3
store i8** %7, i8*** %8
store i32 0, i32* %5
br label %9
9: ; preds = %19, %2
%10 = load i32, i32* %5
%11 = icmp slt i32 %10, 5
br i1 %11, label %12, label %22
12: ; preds = %9
%13 = call i8* @malloc(i32 10000)
%14 = load i8***, i8**** %3
%15 = load i8**, i8*** %14
%16 = load i32, i32* %5
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds i8*, i8** %15, i64 %17
store i8* %13, i8** %18
br label %19
19: ; preds = %12
%20 = load i32, i32* %5
%21 = add nsw i32 %20, 1
store i32 %21, i32* %5
br label %9
22: ; preds = %9
%23 = load i8***, i8**** %3
%24 = load i8**, i8*** %23
%25 = getelementptr inbounds i8*, i8** %24, i64 0
%26 = load i8*, i8** %25
%27 = call i32 @strncpy(i8* %26, i8* getelementptr inbounds ([1539 x i8], [1539 x i8]* @.str, i64 0, i64 0), i32 10000)
%28 = load i8***, i8**** %3
%29 = load i8**, i8*** %28
%30 = getelementptr inbounds i8*, i8** %29, i64 1
%31 = load i8*, i8** %30
%32 = call i32 @strncpy(i8* %31, i8* getelementptr inbounds ([1619 x i8], [1619 x i8]* @.str.1, i64 0, i64 0), i32 10000)
%33 = load i8***, i8**** %3
%34 = load i8**, i8*** %33
%35 = getelementptr inbounds i8*, i8** %34, i64 2
%36 = load i8*, i8** %35
%37 = call i32 @strncpy(i8* %36, i8* getelementptr inbounds ([1705 x i8], [1705 x i8]* @.str.2, i64 0, i64 0), i32 10000)
%38 = load i8***, i8**** %3
%39 = load i8**, i8*** %38
%40 = getelementptr inbounds i8*, i8** %39, i64 3
%41 = load i8*, i8** %40
%42 = call i32 @strncpy(i8* %41, i8* getelementptr inbounds ([1705 x i8], [1705 x i8]* @.str.3, i64 0, i64 0), i32 10000)
%43 = load i8***, i8**** %3
%44 = load i8**, i8*** %43
%45 = getelementptr inbounds i8*, i8** %44, i64 4
%46 = load i8*, i8** %45
%47 = call i32 @strncpy(i8* %46, i8* getelementptr inbounds ([1705 x i8], [1705 x i8]* @.str.4, i64 0, i64 0), i32 10000)
%48 = call i8* @malloc(i32 20)
%49 = bitcast i8* %48 to i32*
%50 = load i32**, i32*** %4
store i32* %49, i32** %50
%51 = load i32**, i32*** %4
%52 = load i32*, i32** %51
%53 = getelementptr inbounds i32, i32* %52, i64 0
store i32 300000, i32* %53
%54 = load i32**, i32*** %4
%55 = load i32*, i32** %54
%56 = getelementptr inbounds i32, i32* %55, i64 1
store i32 200000, i32* %56
%57 = load i32**, i32*** %4
%58 = load i32*, i32** %57
%59 = getelementptr inbounds i32, i32* %58, i64 2
store i32 1000000, i32* %59
%60 = load i32**, i32*** %4
%61 = load i32*, i32** %60
%62 = getelementptr inbounds i32, i32* %61, i64 3
store i32 100000, i32* %62
%63 = load i32**, i32*** %4
%64 = load i32*, i32** %63
%65 = getelementptr inbounds i32, i32* %64, i64 4
store i32 1000000, i32* %65
ret i32 5
}

LLVM IR (-O2):
@.str = [1539 x i8] c"TTTTTTTT UU UU\0A TT UU UU\0A TT UU UU\0A TT UUUU\0A\0A __________\0A .ooooTOOOOOOOOOOToo..\0A _./OOOOOOOOOOOOOOOOO****\\._\0A ./OOOOOOOOOOOOOOOOOOO********\\._\0A ./OOOOOOOOOOOOOOOOOOOOO***********\\._\0A /OOOOOOOOOOOOOOOOOOOOOOOO*************\\.\0A _____/^^^^^^^^TTTTTPPPVTTTOOOOOO**************\\.\0A |*****\\OOOOOO/Ooooooo..._____-\\p****************L\0A ./*******\\OOOO/OOO9/^\C2\A8^VOOOOOOOO\\-'''''\\***********|\0A /********T/\\OO|OO/ '^-VOOOOOOOOOO\\..\\********|\0A|********/:/ '\\U/ _*##*- |:7TOOOOOOOOOA..\\****.V\0A \\******/:/ *.-^^-. .|:::\\OOOOOO^vOOA..\\*/\0A \\LLLL/::_\\ .//a\\.'.^. /:::::^PPv/:::\\VOVOVOA-.\0A /::|0.| | Y0/.'./ /::::::::::::::::| \\OOOO\\\0A |::\\./ ^--..-' /::::::::::::\\::::: \\OOOO\\\0A .-^ ./::::::::::::::;:::::\\ \\OOOO\\\0A \\ /::./|:::::::::::\\:::::\\ ^-T-^\0A ) .^.-^ .|::::::::::::^:::::\\\0A / /.^\\:::::::::::\\:::::\\\0A |/^- / .^:::./\\::::|\\::::\\\0A \\\\.-^ /::./::.\\:::| \\::::\\\0A ) /::/\\:::|\\:::.| \\.:::\\\0A | ./:.^ \\:/ Y:::| \\.::\\\0A (__ /.-^\\ V \\:::| \\.:\\\0A ./:::^^^^-----. \\ \\:/ \\.\\\0A /::/\\::::::./ \\ \\ V ^-.\0A /:/. \\:::./ \\ \\\0A V^ |:./ .|\0A /./ \\\0A V\0A\00"
@.str.1 = [1619 x i8] c"TTTTTTTT UU UU TTTTTTTT UU UU\0A TT UU UU TT UU UU\0A TT UU UU TT UU UU\0A TT UUUU TT UUUU\0A\0A __________\0A .ooooTOOOOOOOOOOToo..\0A _./OOOOOOOOOOOOOOOOO****\\._\0A ./OOOOOOOOOOOOOOOOOOO********\\._\0A ./OOOOOOOOOOOOOOOOOOOOO***********\\._\0A /OOOOOOOOOOOOOOOOOOOOOOOO*************\\.\0A _____/^^^^^^^^TTTTTPPPVTTTOOOOOO**************\\.\0A |*****\\OOOOOO/Ooooooo..._____-\\p****************L\0A ./*******\\OOOO/OOO9/^\C2\A8^VOOOOOOOO\\-'''''\\***********|\0A /********T/\\OO|OO/ '^-VOOOOOOOOOO\\..\\********|\0A|********/:/ '\\U/ _*##*- |:7TOOOOOOOOOA..\\****.V\0A \\******/:/ *.-^^-. .|:::\\OOOOOO^vOOA..\\*/\0A \\LLLL/::_\\ .//a\\.'.^. /:::::^PPv/:::\\VOVOVOA-.\0A /::|0.| | Y0/.'./ /::::::::::::::::| \\OOOO\\\0A |::\\./ ^--..-' /::::::::::::\\::::: \\OOOO\\\0A .-^ ./::::::::::::::;:::::\\ \\OOOO\\\0A \\ /::./|:::::::::::\\:::::\\ ^-T-^\0A ) .^.-^ .|::::::::::::^:::::\\\0A / /.^\\:::::::::::\\:::::\\\0A |.-_ / .^:::./\\::::|\\::::\\\0A \\\\-^ /::./::.\\:::| \\::::\\\0A ) /::/\\:::|\\:::.| \\.:::\\\0A | ./:.^ \\:/ Y:::| \\.::\\\0A (__ /.-^\\ V \\:::| \\.:\\\0A ./:::^^^^-----. \\ \\:/ \\.\\\0A /::/\\::::::./ \\ \\ V ^-.\0A /:/. \\:::./ \\ \\\0A V^ |:./ .|\0A /./ \\\0A V\0A\00"
@.str.2 = [1705 x i8] c"TTTTTTTT UU UU TTTTTTTT UU UU RRRRR UU UU /\\\0A TT UU UU TT UU UU RR RR UU UU \\/\0A TT UU UU TT UU UU RRRRR UU UU\0A TT UUUU TT UUUU RR RR UUUU ()\0A\0A __________\0A .ooooTOOOOOOOOOOToo..\0A _./OOOOOOOOOOOOOOOOO****\\._\0A ./OOOOOOOOOOOOOOOOOOO********\\._\0A ./OOOOOOOOOOOOOOOOOOOOO***********\\._\0A /OOOOOOOOOOOOOOOOOOOOOOOO*************\\.\0A _____/^^^^^^^^TTTTTPPPVTTTOOOOOO**************\\.\0A |*****\\OOOOOO/Ooooooo..._____-\\p****************L\0A ./*******\\OOOO/OOO9/^\C2\A8^VOOOOOOOO\\-'''''\\***********|\0A /********T/\\OO|OO/ '^-VOOOOOOOOOO\\..\\********|\0A|********/:/ '\\U/ _*##*- |:7TOOOOOOOOOA..\\****.V\0A \\******/:/ *.-^^-. .|:::\\OOOOOO^vOOA..\\*/\0A \\LLLL/::_\\ .//a\\.'.^. /:::::^PPv/:::\\VOVOVOA-.\0A /::|0.| | Y0/.'./ /::::::::::::::::| \\OOOO\\\0A |::\\./ ^--..-' /::::::::::::\\::::: \\OOOO\\\0A .-^ ./::::::::::::::;:::::\\ \\OOOO\\\0A \\ /::./|:::::::::::\\:::::\\ ^-T-^\0A ) .^.-^ .|::::::::::::^:::::\\\0A / /.^\\:::::::::::\\:::::\\\0A |/^- / .^:::./\\::::|\\::::\\\0A \\\\.-^ /::./::.\\:::| \\::::\\\0A ) /::/\\:::|\\:::.| \\.:::\\\0A | ./:.^ \\:/ Y:::| \\.::\\\0A (__ /.-^\\ V \\:::| \\.:\\\0A ./:::^^^^-----. \\ \\:/ \\.\\\0A /::/\\::::::./ \\ \\ V ^-.\0A /:/. \\:::./ \\ \\\0A V^ |:./ .|\0A /./ \\\0A V\0A\00"
@.str.3 = [1705 x i8] c"TTTTTTTT UU UU TTTTTTTT UU UU RRRRR UU UU /\\\0A TT UU UU TT UU UU RR RR UU UU \\/\0A TT UU UU TT UU UU RRRRR UU UU\0A TT UUUU TT UUUU RR RR UUUU ()\0A\0A __________\0A .ooooTOOOOOOOOOOToo..\0A _./OOOOOOOOOOOOOOOOO****\\._\0A ./OOOOOOOOOOOOOOOOOOO********\\._\0A ./OOOOOOOOOOOOOOOOOOOOO***********\\._\0A /OOOOOOOOOOOOOOOOOOOOOOOO*************\\.\0A _____/^^^^^^^^TTTTTPPPVTTTOOOOOO**************\\.\0A |*****\\OOOOOO/Ooooooo..._____-\\p****************L\0A ./*******\\OOOO/OOO9/^\C2\A8^VOOOOOOOO\\-'''''\\***********|\0A /********T/\\OO|OO/ '^-VOOOOOOOOOO\\..\\********|\0A|********/:/ '\\U/ |:7TOOOOOOOOOA..\\****.V\0A \\******/:/ .*##*-- .|:::\\OOOOOO^vOOA..\\*/\0A \\LLLL/:: \\ .--'^^^\\ /:::::^PPv/:::\\VOVOVOA-.\0A /::|o-| \\ Y0__'.> /::::::::::::::::| \\OOOO\\\0A |::\\./ ^^^ ^ /::::::::::::\\::::: \\OOOO\\\0A .-^ ./::::::::::::::;:::::\\ \\OOOO\\\0A \\ /::./|:::::::::::\\:::::\\ ^-T-^\0A ) .^.-^ .|::::::::::::^:::::\\\0A / .:: /.^\\:::::::::::\\:::::\\\0A |.-- :: / .^:::./\\::::|\\::::\\\0A \\'-^' /::./::.\\:::| \\::::\\\0A ) /::/\\:::|\\:::.| \\.:::\\\0A | ./:.^ \\:/ Y:::| \\.::\\\0A (__ /.-^\\ V \\:::| \\.:\\\0A ./:::^^^^-----. \\ \\:/ \\.\\\0A /::/\\::::::./ \\ \\ V ^-.\0A /:/. \\:::./ \\ \\\0A V^ |:./ .|\0A /./ \\\0A V\0A\00"
@.str.4 = [1705 x i8] c"TTTTTTTT UU UU TTTTTTTT UU UU RRRRR UU UU /\\\0A TT UU UU TT UU UU RR RR UU UU \\/\0A TT UU UU TT UU UU RRRRR UU UU\0A TT UUUU TT UUUU RR RR UUUU ()\0A\0A __________\0A .ooooTOOOOOOOOOOToo..\0A _./OOOOOOOOOOOOOOOOO****\\._\0A ./OOOOOOOOOOOOOOOOOOO********\\._\0A ./OOOOOOOOOOOOOOOOOOOOO***********\\._\0A /OOOOOOOOOOOOOOOOOOOOOOOO*************\\.\0A _____/^^^^^^^^TTTTTPPPVTTTOOOOOO**************\\.\0A |*****\\OOOOOO/Ooooooo..._____-\\p****************L\0A ./*******\\OOOO/OOO9/^\C2\A8^VOOOOOOOO\\-'''''\\***********|\0A /********T/\\OO|OO/ '^-VOOOOOOOOOO\\..\\********|\0A|********/:/ '\\U/ |:7TOOOOOOOOOA..\\****.V\0A \\******/:/ .|:::\\OOOOOO^vOOA..\\*/\0A \\LLLL/:: \\ .-.*##*-. /:::::^PPv/:::\\VOVOVOA-.\0A /::|.-| .---.. /::::::::::::::::| \\OOOO\\\0A |::\\./ ^ ^ /::::::::::::\\::::: \\OOOO\\\0A .-^ ./::::::::::::::;:::::\\ \\OOOO\\\0A \\ .:. /::./|:::::::::::\\:::::\\ ^-T-^\0A ) .:::..^.-^ .|::::::::::::^:::::\\\0A / .:::: /.^\\:::::::::::\\:::::\\\0A |__.., .:::. / .^:::./\\::::|\\::::\\\0A \\'^^' '' /::./::.\\:::| \\::::\\\0A ) /::/\\:::|\\:::.| \\.:::\\\0A | ./:.^ \\:/ Y:::| \\.::\\\0A (__ /.-^\\ V \\:::| \\.:\\\0A ./:::^^^^-----. \\ \\:/ \\.\\\0A /::/\\::::::./ \\ \\ V ^-.\0A /:/. \\:::./ \\ \\\0A V^ |:./ .|\0A /./ \\\0A V\0A\00"
define i32 @load_frames(i8*** nocapture %0, i32** nocapture %1) {
%3 = tail call dereferenceable_or_null(40) i8* @malloc(i32 40)
%4 = bitcast i8*** %0 to i8**
store i8* %3, i8** %4
%5 = tail call dereferenceable_or_null(10000) i8* @malloc(i32 10000)
%6 = bitcast i8* %3 to i8**
store i8* %5, i8** %6
%7 = tail call dereferenceable_or_null(10000) i8* @malloc(i32 10000)
%8 = getelementptr inbounds i8*, i8** %6, i64 1
store i8* %7, i8** %8
%9 = tail call dereferenceable_or_null(10000) i8* @malloc(i32 10000)
%10 = getelementptr inbounds i8*, i8** %6, i64 2
store i8* %9, i8** %10
%11 = tail call dereferenceable_or_null(10000) i8* @malloc(i32 10000)
%12 = getelementptr inbounds i8*, i8** %6, i64 3
store i8* %11, i8** %12
%13 = tail call dereferenceable_or_null(10000) i8* @malloc(i32 10000)
%14 = getelementptr inbounds i8*, i8** %6, i64 4
store i8* %13, i8** %14
%15 = tail call i32 @strncpy(i8* %5, i8* getelementptr inbounds ([1539 x i8], [1539 x i8]* @.str, i64 0, i64 0), i32 10000)
%16 = load i8**, i8*** %0
%17 = getelementptr inbounds i8*, i8** %16, i64 1
%18 = load i8*, i8** %17
%19 = tail call i32 @strncpy(i8* %18, i8* getelementptr inbounds ([1619 x i8], [1619 x i8]* @.str.1, i64 0, i64 0), i32 10000)
%20 = load i8**, i8*** %0
%21 = getelementptr inbounds i8*, i8** %20, i64 2
%22 = load i8*, i8** %21
%23 = tail call i32 @strncpy(i8* %22, i8* getelementptr inbounds ([1705 x i8], [1705 x i8]* @.str.2, i64 0, i64 0), i32 10000)
%24 = load i8**, i8*** %0
%25 = getelementptr inbounds i8*, i8** %24, i64 3
%26 = load i8*, i8** %25
%27 = tail call i32 @strncpy(i8* %26, i8* getelementptr inbounds ([1705 x i8], [1705 x i8]* @.str.3, i64 0, i64 0), i32 10000)
%28 = load i8**, i8*** %0
%29 = getelementptr inbounds i8*, i8** %28, i64 4
%30 = load i8*, i8** %29
%31 = tail call i32 @strncpy(i8* %30, i8* getelementptr inbounds ([1705 x i8], [1705 x i8]* @.str.4, i64 0, i64 0), i32 10000)
%32 = tail call dereferenceable_or_null(20) i8* @malloc(i32 20)
%33 = bitcast i8* %32 to i32*
%34 = bitcast i32** %1 to i8**
store i8* %32, i8** %34
%35 = bitcast i8* %32 to <4 x i32>*
store <4 x i32> <i32 300000, i32 200000, i32 1000000, i32 100000>, <4 x i32>* %35
%36 = getelementptr inbounds i32, i32* %33, i64 4
store i32 1000000, i32* %36
ret i32 5
}