#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*/ fprintf(int /*<<< orphan*/, char *, ...);
int /*<<< orphan*/ stderr;
unsigned int strlen(char *);
void show_usage(char *pgname) {
  unsigned int i;
  fprintf(stderr,
          "  %s : Tool to update firmware of Cardbus-MIMO-1/Leon3 card through "
          "the PCI interface,\n",
          pgname);
  fprintf(stderr, "    ");
  for (i = 0; i < strlen(pgname); i++)
    fprintf(stderr, " ");
  fprintf(stderr, " that is, even without using the Xilinx parallel cable. The "
                  "tool performs sequentially\n");
  fprintf(stderr, "    ");
  for (i = 0; i < strlen(pgname); i++)
    fprintf(stderr, " ");
  fprintf(stderr, " the 5 following operations:\n");
  fprintf(stderr, "    ");
  for (i = 0; i < strlen(pgname); i++)
    fprintf(stderr, " ");
  fprintf(stderr, "       1) Ask card driver to reboot (optionally)\n");
  fprintf(stderr, "    ");
  for (i = 0; i < strlen(pgname); i++)
    fprintf(stderr, " ");
  fprintf(stderr, "       2) Ask card driver to transfer .text section\n");
  fprintf(stderr, "    ");
  for (i = 0; i < strlen(pgname); i++)
    fprintf(stderr, " ");
  fprintf(stderr, "       3) Ask card driver to transfer .data section\n");
  fprintf(stderr, "    ");
  for (i = 0; i < strlen(pgname); i++)
    fprintf(stderr, " ");
  fprintf(stderr, "       4) Ask card driver to clear .bss section\n");
  fprintf(stderr, "    ");
  for (i = 0; i < strlen(pgname); i++)
    fprintf(stderr, " ");
  fprintf(
      stderr,
      "       5) Ask card driver to have Leon processor set stack-pointer\n");
  fprintf(stderr, "    ");
  for (i = 0; i < strlen(pgname); i++)
    fprintf(stderr, " ");
  fprintf(stderr, "          and jump to firmware entry.\n");
  fprintf(stderr, "Usage:\n");
  fprintf(stderr,
          "  %s [-f|--firmware 'filename'] [-s|--stackptr value] "
          "[-b|--forcereboot]\n",
          pgname);
  fprintf(stderr, "   ");
  for (i = 0; i < strlen(pgname); i++)
    fprintf(stderr, " ");
  fprintf(stderr, "[-v|-vv|-vvv|-vvvv] [-h|--help] [-p|--pretend]\n\n");
  fprintf(stderr, "  [-f|--firmware ]     Mandatory option, to set the name of "
                  "the executable file\n");
  fprintf(stderr, "                       of the firmware to update the remote "
                  "card with.\n");
  fprintf(stderr, "                       The file should be an executable "
                  "file in the Sparc32 ELF binary\n");
  fprintf(stderr, "                       format, containing at least the 3 "
                  "mandatory sections .text, .data & .bss\n");
  fprintf(stderr, "  [-s|--stackptr]      Mandatory option, to set the value "
                  "of the stack pointer before\n");
  fprintf(stderr, "                       giving hand to the firmware. The "
                  "specified value must be an integer\n");
  fprintf(stderr, "                       number of 8 hexadecimal digits "
                  "preceded by token '0x'.\n");
  fprintf(stderr, "  [-b|--forcereboot]   Force reboot of Leon processor "
                  "before updating the firmware.\n");
  fprintf(stderr, "  [-p|--pretend]       Just pretend to transfer commands "
                  "(ioctls) to driver, don't do it\n");
  fprintf(stderr, "                       actually. Useful together with "
                  "verbose -vv switch.\n");
  fprintf(stderr,
          "  [-n|--noexec]        Transfer all data and text segments, but "
          "don't do actually start the code on Leon (no START_EXEC).\n");
  fprintf(stderr, "  [-v|-vv|-vvv|-vvvv]  Verbose modes.\n");
  fprintf(stderr, "  [-h|--help]          Displays this help.\n");
}


x86 assembly (clang, -O0):
<show_usage>:
push   %rbp
mov    %rsp,%rbp
sub    $0x30,%rsp
mov    %rdi,-0x8(%rbp)
mov    0x2ead(%rip),%rax
mov    (%rax),%edi
mov    -0x8(%rbp),%rdx
lea    0xec0(%rip),%rsi
mov    $0x0,%al
call   1040 <fprintf@plt>
mov    0x2e92(%rip),%rax
mov    (%rax),%edi
lea    0xf01(%rip),%rsi
mov    $0x0,%al
call   1040 <fprintf@plt>
movl   $0x0,-0xc(%rbp)
mov    -0xc(%rbp),%eax
mov    %eax,-0x10(%rbp)
mov    -0x8(%rbp),%rdi
call   1030 <strlen@plt>
mov    %eax,%ecx
mov    -0x10(%rbp),%eax
cmp    %ecx,%eax
jae    11a6 <show_usage+0x86>
mov    0x2e58(%rip),%rax
mov    (%rax),%edi
lea    0xeca(%rip),%rsi
mov    $0x0,%al
call   1040 <fprintf@plt>
mov    -0xc(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0xc(%rbp)
jmp    1165 <show_usage+0x45>
mov    0x2e33(%rip),%rax
mov    (%rax),%edi
lea    0xea7(%rip),%rsi
mov    $0x0,%al
call   1040 <fprintf@plt>
mov    0x2e1c(%rip),%rax
mov    (%rax),%edi
lea    0xe8b(%rip),%rsi
mov    $0x0,%al
call   1040 <fprintf@plt>
movl   $0x0,-0xc(%rbp)
mov    -0xc(%rbp),%eax
mov    %eax,-0x14(%rbp)
mov    -0x8(%rbp),%rdi
call   1030 <strlen@plt>
mov    %eax,%ecx
mov    -0x14(%rbp),%eax
cmp    %ecx,%eax
jae    121c <show_usage+0xfc>
mov    0x2de2(%rip),%rax
mov    (%rax),%edi
lea    0xe54(%rip),%rsi
mov    $0x0,%al
call   1040 <fprintf@plt>
mov    -0xc(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0xc(%rbp)
jmp    11db <show_usage+0xbb>
mov    0x2dbd(%rip),%rax
mov    (%rax),%edi
lea    0xe89(%rip),%rsi
mov    $0x0,%al
call   1040 <fprintf@plt>
mov    0x2da6(%rip),%rax
mov    (%rax),%edi
lea    0xe15(%rip),%rsi
mov    $0x0,%al
call   1040 <fprintf@plt>
movl   $0x0,-0xc(%rbp)
mov    -0xc(%rbp),%eax
mov    %eax,-0x18(%rbp)
mov    -0x8(%rbp),%rdi
call   1030 <strlen@plt>
mov    %eax,%ecx
mov    -0x18(%rbp),%eax
cmp    %ecx,%eax
jae    1292 <show_usage+0x172>
mov    0x2d6c(%rip),%rax
mov    (%rax),%edi
lea    0xdde(%rip),%rsi
mov    $0x0,%al
call   1040 <fprintf@plt>
mov    -0xc(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0xc(%rbp)
jmp    1251 <show_usage+0x131>
mov    0x2d47(%rip),%rax
mov    (%rax),%edi
lea    0xe31(%rip),%rsi
mov    $0x0,%al
call   1040 <fprintf@plt>
mov    0x2d30(%rip),%rax
mov    (%rax),%edi
lea    0xd9f(%rip),%rsi
mov    $0x0,%al
call   1040 <fprintf@plt>
movl   $0x0,-0xc(%rbp)
mov    -0xc(%rbp),%eax
mov    %eax,-0x1c(%rbp)
mov    -0x8(%rbp),%rdi
call   1030 <strlen@plt>
mov    %eax,%ecx
mov    -0x1c(%rbp),%eax
cmp    %ecx,%eax
jae    1308 <show_usage+0x1e8>
mov    0x2cf6(%rip),%rax
mov    (%rax),%edi
lea    0xd68(%rip),%rsi
mov    $0x0,%al
call   1040 <fprintf@plt>
mov    -0xc(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0xc(%rbp)
jmp    12c7 <show_usage+0x1a7>
mov    0x2cd1(%rip),%rax
mov    (%rax),%edi
lea    0xded(%rip),%rsi
mov    $0x0,%al
call   1040 <fprintf@plt>
mov    0x2cba(%rip),%rax
mov    (%rax),%edi
lea    0xd29(%rip),%rsi
mov    $0x0,%al
call   1040 <fprintf@plt>
movl   $0x0,-0xc(%rbp)
mov    -0xc(%rbp),%eax
mov    %eax,-0x20(%rbp)
mov    -0x8(%rbp),%rdi
call   1030 <strlen@plt>
mov    %eax,%ecx
mov    -0x20(%rbp),%eax
cmp    %ecx,%eax
jae    137e <show_usage+0x25e>
mov    0x2c80(%rip),%rax
mov    (%rax),%edi
lea    0xcf2(%rip),%rsi
mov    $0x0,%al
call   1040 <fprintf@plt>
mov    -0xc(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0xc(%rbp)
jmp    133d <show_usage+0x21d>
mov    0x2c5b(%rip),%rax
mov    (%rax),%edi
lea    0xdac(%rip),%rsi
mov    $0x0,%al
call   1040 <fprintf@plt>
mov    0x2c44(%rip),%rax
mov    (%rax),%edi
lea    0xcb3(%rip),%rsi
mov    $0x0,%al
call   1040 <fprintf@plt>
movl   $0x0,-0xc(%rbp)
mov    -0xc(%rbp),%eax
mov    %eax,-0x24(%rbp)
mov    -0x8(%rbp),%rdi
call   1030 <strlen@plt>
mov    %eax,%ecx
mov    -0x24(%rbp),%eax
cmp    %ecx,%eax
jae    13f4 <show_usage+0x2d4>
mov    0x2c0a(%rip),%rax
mov    (%rax),%edi
lea    0xc7c(%rip),%rsi
mov    $0x0,%al
call   1040 <fprintf@plt>
mov    -0xc(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0xc(%rbp)
jmp    13b3 <show_usage+0x293>
mov    0x2be5(%rip),%rax
mov    (%rax),%edi
lea    0xd6b(%rip),%rsi
mov    $0x0,%al
call   1040 <fprintf@plt>
mov    0x2bce(%rip),%rax
mov    (%rax),%edi
lea    0xc3d(%rip),%rsi
mov    $0x0,%al
call   1040 <fprintf@plt>
movl   $0x0,-0xc(%rbp)
mov    -0xc(%rbp),%eax
mov    %eax,-0x28(%rbp)
mov    -0x8(%rbp),%rdi
call   1030 <strlen@plt>
mov    %eax,%ecx
mov    -0x28(%rbp),%eax
cmp    %ecx,%eax
jae    146a <show_usage+0x34a>
mov    0x2b94(%rip),%rax
mov    (%rax),%edi
lea    0xc06(%rip),%rsi
mov    $0x0,%al
call   1040 <fprintf@plt>
mov    -0xc(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0xc(%rbp)
jmp    1429 <show_usage+0x309>
mov    0x2b6f(%rip),%rax
mov    (%rax),%edi
lea    0xd26(%rip),%rsi
mov    $0x0,%al
call   1040 <fprintf@plt>
mov    0x2b58(%rip),%rax
mov    (%rax),%edi
lea    0xbc7(%rip),%rsi
mov    $0x0,%al
call   1040 <fprintf@plt>
movl   $0x0,-0xc(%rbp)
mov    -0xc(%rbp),%eax
mov    %eax,-0x2c(%rbp)
mov    -0x8(%rbp),%rdi
call   1030 <strlen@plt>
mov    %eax,%ecx
mov    -0x2c(%rbp),%eax
cmp    %ecx,%eax
jae    14e0 <show_usage+0x3c0>
mov    0x2b1e(%rip),%rax
mov    (%rax),%edi
lea    0xb90(%rip),%rsi
mov    $0x0,%al
call   1040 <fprintf@plt>
mov    -0xc(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0xc(%rbp)
jmp    149f <show_usage+0x37f>
mov    0x2af9(%rip),%rax
mov    (%rax),%edi
lea    0xcf4(%rip),%rsi
mov    $0x0,%al
call   1040 <fprintf@plt>
mov    0x2ae2(%rip),%rax
mov    (%rax),%edi
lea    0xd04(%rip),%rsi
mov    $0x0,%al
call   1040 <fprintf@plt>
mov    0x2acb(%rip),%rax
mov    (%rax),%edi
mov    -0x8(%rbp),%rdx
lea    0xcf1(%rip),%rsi
mov    $0x0,%al
call   1040 <fprintf@plt>
mov    0x2ab0(%rip),%rax
mov    (%rax),%edi
lea    0xb20(%rip),%rsi
mov    $0x0,%al
call   1040 <fprintf@plt>
movl   $0x0,-0xc(%rbp)
mov    -0xc(%rbp),%eax
mov    %eax,-0x30(%rbp)
mov    -0x8(%rbp),%rdi
call   1030 <strlen@plt>
mov    %eax,%ecx
mov    -0x30(%rbp),%eax
cmp    %ecx,%eax
jae    1588 <show_usage+0x468>
mov    0x2a76(%rip),%rax
mov    (%rax),%edi
lea    0xae8(%rip),%rsi
mov    $0x0,%al
call   1040 <fprintf@plt>
mov    -0xc(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0xc(%rbp)
jmp    1547 <show_usage+0x427>
mov    0x2a51(%rip),%rax
mov    (%rax),%edi
lea    0xcc5(%rip),%rsi
mov    $0x0,%al
call   1040 <fprintf@plt>
mov    0x2a3a(%rip),%rax
mov    (%rax),%edi
lea    0xcdf(%rip),%rsi
mov    $0x0,%al
call   1040 <fprintf@plt>
mov    0x2a23(%rip),%rax
mov    (%rax),%edi
lea    0xd19(%rip),%rsi
mov    $0x0,%al
call   1040 <fprintf@plt>
mov    0x2a0c(%rip),%rax
mov    (%rax),%edi
lea    0xd4a(%rip),%rsi
mov    $0x0,%al
call   1040 <fprintf@plt>
mov    0x29f5(%rip),%rax
mov    (%rax),%edi
lea    0xd8b(%rip),%rsi
mov    $0x0,%al
call   1040 <fprintf@plt>
mov    0x29de(%rip),%rax
mov    (%rax),%edi
lea    0xdd5(%rip),%rsi
mov    $0x0,%al
call   1040 <fprintf@plt>
mov    0x29c7(%rip),%rax
mov    (%rax),%edi
lea    0xe15(%rip),%rsi
mov    $0x0,%al
call   1040 <fprintf@plt>
mov    0x29b0(%rip),%rax
mov    (%rax),%edi
lea    0xe5a(%rip),%rsi
mov    $0x0,%al
call   1040 <fprintf@plt>
mov    0x2999(%rip),%rax
mov    (%rax),%edi
lea    0xe92(%rip),%rsi
mov    $0x0,%al
call   1040 <fprintf@plt>
mov    0x2982(%rip),%rax
mov    (%rax),%edi
lea    0xed0(%rip),%rsi
mov    $0x0,%al
call   1040 <fprintf@plt>
mov    0x296b(%rip),%rax
mov    (%rax),%edi
lea    0xf13(%rip),%rsi
mov    $0x0,%al
call   1040 <fprintf@plt>
mov    0x2954(%rip),%rax
mov    (%rax),%edi
lea    0xf47(%rip),%rsi
mov    $0x0,%al
call   1040 <fprintf@plt>
mov    0x293d(%rip),%rax
mov    (%rax),%edi
lea    0xfab(%rip),%rsi
mov    $0x0,%al
call   1040 <fprintf@plt>
mov    0x2926(%rip),%rax
mov    (%rax),%edi
lea    0xfbb(%rip),%rsi
mov    $0x0,%al
call   1040 <fprintf@plt>
add    $0x30,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<show_usage>:
push   %rbp
push   %r15
push   %r14
push   %rbx
push   %rax
mov    %rdi,%rbx
mov    0x2eaf(%rip),%r15
mov    (%r15),%edi
lea    0xec5(%rip),%rsi
mov    %rbx,%rdx
xor    %eax,%eax
call   1040 <fprintf@plt>
mov    (%r15),%edi
lea    0xf09(%rip),%rsi
xor    %eax,%eax
call   1040 <fprintf@plt>
mov    %rbx,%rdi
call   1030 <strlen@plt>
test   %eax,%eax
je     118c <show_usage+0x6c>
lea    0xef2(%rip),%r14
xor    %ebp,%ebp
nopl   0x0(%rax,%rax,1)
mov    (%r15),%edi
mov    %r14,%rsi
xor    %eax,%eax
call   1040 <fprintf@plt>
add    $0x1,%ebp
mov    %rbx,%rdi
call   1030 <strlen@plt>
cmp    %eax,%ebp
jb     1170 <show_usage+0x50>
mov    (%r15),%edi
lea    0xec7(%rip),%rsi
xor    %eax,%eax
call   1040 <fprintf@plt>
mov    (%r15),%edi
lea    0xeb1(%rip),%rsi
xor    %eax,%eax
call   1040 <fprintf@plt>
mov    %rbx,%rdi
call   1030 <strlen@plt>
test   %eax,%eax
je     11ec <show_usage+0xcc>
lea    0xe9a(%rip),%r14
xor    %ebp,%ebp
cs nopw 0x0(%rax,%rax,1)
nopl   (%rax)
mov    (%r15),%edi
mov    %r14,%rsi
xor    %eax,%eax
call   1040 <fprintf@plt>
add    $0x1,%ebp
mov    %rbx,%rdi
call   1030 <strlen@plt>
cmp    %eax,%ebp
jb     11d0 <show_usage+0xb0>
mov    (%r15),%edi
lea    0xebf(%rip),%rsi
xor    %eax,%eax
call   1040 <fprintf@plt>
mov    (%r15),%edi
lea    0xe51(%rip),%rsi
xor    %eax,%eax
call   1040 <fprintf@plt>
mov    %rbx,%rdi
call   1030 <strlen@plt>
test   %eax,%eax
je     124c <show_usage+0x12c>
lea    0xe3a(%rip),%r14
xor    %ebp,%ebp
cs nopw 0x0(%rax,%rax,1)
nopl   (%rax)
mov    (%r15),%edi
mov    %r14,%rsi
xor    %eax,%eax
call   1040 <fprintf@plt>
add    $0x1,%ebp
mov    %rbx,%rdi
call   1030 <strlen@plt>
cmp    %eax,%ebp
jb     1230 <show_usage+0x110>
mov    (%r15),%edi
lea    0xe7d(%rip),%rsi
xor    %eax,%eax
call   1040 <fprintf@plt>
mov    (%r15),%edi
lea    0xdf1(%rip),%rsi
xor    %eax,%eax
call   1040 <fprintf@plt>
mov    %rbx,%rdi
call   1030 <strlen@plt>
test   %eax,%eax
je     12ac <show_usage+0x18c>
lea    0xdda(%rip),%r14
xor    %ebp,%ebp
cs nopw 0x0(%rax,%rax,1)
nopl   (%rax)
mov    (%r15),%edi
mov    %r14,%rsi
xor    %eax,%eax
call   1040 <fprintf@plt>
add    $0x1,%ebp
mov    %rbx,%rdi
call   1030 <strlen@plt>
cmp    %eax,%ebp
jb     1290 <show_usage+0x170>
mov    (%r15),%edi
lea    0xe4f(%rip),%rsi
xor    %eax,%eax
call   1040 <fprintf@plt>
mov    (%r15),%edi
lea    0xd91(%rip),%rsi
xor    %eax,%eax
call   1040 <fprintf@plt>
mov    %rbx,%rdi
call   1030 <strlen@plt>
test   %eax,%eax
je     130c <show_usage+0x1ec>
lea    0xd7a(%rip),%r14
xor    %ebp,%ebp
cs nopw 0x0(%rax,%rax,1)
nopl   (%rax)
mov    (%r15),%edi
mov    %r14,%rsi
xor    %eax,%eax
call   1040 <fprintf@plt>
add    $0x1,%ebp
mov    %rbx,%rdi
call   1030 <strlen@plt>
cmp    %eax,%ebp
jb     12f0 <show_usage+0x1d0>
mov    (%r15),%edi
lea    0xe24(%rip),%rsi
xor    %eax,%eax
call   1040 <fprintf@plt>
mov    (%r15),%edi
lea    0xd31(%rip),%rsi
xor    %eax,%eax
call   1040 <fprintf@plt>
mov    %rbx,%rdi
call   1030 <strlen@plt>
test   %eax,%eax
je     136c <show_usage+0x24c>
lea    0xd1a(%rip),%r14
xor    %ebp,%ebp
cs nopw 0x0(%rax,%rax,1)
nopl   (%rax)
mov    (%r15),%edi
mov    %r14,%rsi
xor    %eax,%eax
call   1040 <fprintf@plt>
add    $0x1,%ebp
mov    %rbx,%rdi
call   1030 <strlen@plt>
cmp    %eax,%ebp
jb     1350 <show_usage+0x230>
mov    (%r15),%edi
lea    0xdf9(%rip),%rsi
xor    %eax,%eax
call   1040 <fprintf@plt>
mov    (%r15),%edi
lea    0xcd1(%rip),%rsi
xor    %eax,%eax
call   1040 <fprintf@plt>
mov    %rbx,%rdi
call   1030 <strlen@plt>
test   %eax,%eax
je     13cc <show_usage+0x2ac>
lea    0xcba(%rip),%r14
xor    %ebp,%ebp
cs nopw 0x0(%rax,%rax,1)
nopl   (%rax)
mov    (%r15),%edi
mov    %r14,%rsi
xor    %eax,%eax
call   1040 <fprintf@plt>
add    $0x1,%ebp
mov    %rbx,%rdi
call   1030 <strlen@plt>
cmp    %eax,%ebp
jb     13b0 <show_usage+0x290>
mov    (%r15),%edi
lea    0xdca(%rip),%rsi
xor    %eax,%eax
call   1040 <fprintf@plt>
mov    (%r15),%edi
lea    0xc71(%rip),%rsi
xor    %eax,%eax
call   1040 <fprintf@plt>
mov    %rbx,%rdi
call   1030 <strlen@plt>
test   %eax,%eax
je     142c <show_usage+0x30c>
lea    0xc5a(%rip),%r14
xor    %ebp,%ebp
cs nopw 0x0(%rax,%rax,1)
nopl   (%rax)
mov    (%r15),%edi
mov    %r14,%rsi
xor    %eax,%eax
call   1040 <fprintf@plt>
add    $0x1,%ebp
mov    %rbx,%rdi
call   1030 <strlen@plt>
cmp    %eax,%ebp
jb     1410 <show_usage+0x2f0>
mov    (%r15),%edi
lea    0xdae(%rip),%rsi
xor    %eax,%eax
call   1040 <fprintf@plt>
mov    (%r15),%edi
lea    0xdc4(%rip),%rsi
xor    %eax,%eax
call   1040 <fprintf@plt>
mov    (%r15),%edi
lea    0xdbb(%rip),%rsi
mov    %rbx,%rdx
xor    %eax,%eax
call   1040 <fprintf@plt>
mov    (%r15),%edi
lea    0xbed(%rip),%rsi
xor    %eax,%eax
call   1040 <fprintf@plt>
mov    %rbx,%rdi
call   1030 <strlen@plt>
test   %eax,%eax
je     14ac <show_usage+0x38c>
lea    0xbd5(%rip),%r14
xor    %ebp,%ebp
nopl   0x0(%rax,%rax,1)
mov    (%r15),%edi
mov    %r14,%rsi
xor    %eax,%eax
call   1040 <fprintf@plt>
add    $0x1,%ebp
mov    %rbx,%rdi
call   1030 <strlen@plt>
cmp    %eax,%ebp
jb     1490 <show_usage+0x370>
mov    (%r15),%edi
lea    0xda7(%rip),%rsi
xor    %eax,%eax
call   1040 <fprintf@plt>
mov    (%r15),%edi
lea    0xdc7(%rip),%rsi
xor    %eax,%eax
call   1040 <fprintf@plt>
mov    (%r15),%edi
lea    0xe07(%rip),%rsi
xor    %eax,%eax
call   1040 <fprintf@plt>
mov    (%r15),%edi
lea    0xe3e(%rip),%rsi
xor    %eax,%eax
call   1040 <fprintf@plt>
mov    (%r15),%edi
lea    0xe85(%rip),%rsi
xor    %eax,%eax
call   1040 <fprintf@plt>
mov    (%r15),%edi
lea    0xed5(%rip),%rsi
xor    %eax,%eax
call   1040 <fprintf@plt>
mov    (%r15),%edi
lea    0xf1b(%rip),%rsi
xor    %eax,%eax
call   1040 <fprintf@plt>
mov    (%r15),%edi
lea    0xf66(%rip),%rsi
xor    %eax,%eax
call   1040 <fprintf@plt>
mov    (%r15),%edi
lea    0xfa4(%rip),%rsi
xor    %eax,%eax
call   1040 <fprintf@plt>
mov    (%r15),%edi
lea    0xfe8(%rip),%rsi
xor    %eax,%eax
call   1040 <fprintf@plt>
mov    (%r15),%edi
lea    0x1031(%rip),%rsi
xor    %eax,%eax
call   1040 <fprintf@plt>
mov    (%r15),%edi
lea    0x106b(%rip),%rsi
xor    %eax,%eax
call   1040 <fprintf@plt>
mov    (%r15),%edi
lea    0x10d5(%rip),%rsi
xor    %eax,%eax
call   1040 <fprintf@plt>
mov    (%r15),%edi
lea    0x10eb(%rip),%rsi
xor    %eax,%eax
add    $0x8,%rsp
pop    %rbx
pop    %r14
pop    %r15
pop    %rbp
jmp    1040 <fprintf@plt>

LLVM IR (-O0):
@stderr = global i32 0
@.str = [88 x i8] c" %s : Tool to update firmware of Cardbus-MIMO-1/Leon3 card through the PCI interface,\0A\00"
@.str.1 = [5 x i8] c" \00"
@.str.2 = [2 x i8] c" \00"
@.str.3 = [88 x i8] c" that is, even without using the Xilinx parallel cable. The tool performs sequentially\0A\00"
@.str.4 = [30 x i8] c" the 5 following operations:\0A\00"
@.str.5 = [50 x i8] c" 1) Ask card driver to reboot (optionally)\0A\00"
@.str.6 = [53 x i8] c" 2) Ask card driver to transfer .text section\0A\00"
@.str.7 = [53 x i8] c" 3) Ask card driver to transfer .data section\0A\00"
@.str.8 = [49 x i8] c" 4) Ask card driver to clear .bss section\0A\00"
@.str.9 = [68 x i8] c" 5) Ask card driver to have Leon processor set stack-pointer\0A\00"
@.str.10 = [39 x i8] c" and jump to firmware entry.\0A\00"
@.str.11 = [8 x i8] c"Usage:\0A\00"
@.str.12 = [74 x i8] c" %s [-f|--firmware 'filename'] [-s|--stackptr value] [-b|--forcereboot]\0A\00"
@.str.13 = [4 x i8] c" \00"
@.str.14 = [49 x i8] c"[-v|-vv|-vvv|-vvvv] [-h|--help] [-p|--pretend]\0A\0A\00"
@.str.15 = [81 x i8] c" [-f|--firmware ] Mandatory option, to set the name of the executable file\0A\00"
@.str.16 = [72 x i8] c" of the firmware to update the remote card with.\0A\00"
@.str.17 = [88 x i8] c" The file should be an executable file in the Sparc32 ELF binary\0A\00"
@.str.18 = [97 x i8] c" format, containing at least the 3 mandatory sections .text, .data & .bss\0A\00"
@.str.19 = [87 x i8] c" [-s|--stackptr] Mandatory option, to set the value of the stack pointer before\0A\00"
@.str.20 = [92 x i8] c" giving hand to the firmware. The specified value must be an integer\0A\00"
@.str.21 = [79 x i8] c" number of 8 hexadecimal digits preceded by token '0x'.\0A\00"
@.str.22 = [85 x i8] c" [-b|--forcereboot] Force reboot of Leon processor before updating the firmware.\0A\00"
@.str.23 = [90 x i8] c" [-p|--pretend] Just pretend to transfer commands (ioctls) to driver, don't do it\0A\00"
@.str.24 = [75 x i8] c" actually. Useful together with verbose -vv switch.\0A\00"
@.str.25 = [123 x i8] c" [-n|--noexec] Transfer all data and text segments, but don't do actually start the code on Leon (no START_EXEC).\0A\00"
@.str.26 = [39 x i8] c" [-v|-vv|-vvv|-vvvv] Verbose modes.\0A\00"
@.str.27 = [44 x i8] c" [-h|--help] Displays this help.\0A\00"
define void @show_usage(i8* %0) {
%2 = alloca i8*
%3 = alloca i32
store i8* %0, i8** %2
%4 = load i32, i32* @stderr
%5 = load i8*, i8** %2
%6 = call i32 (i32, i8*, ...) @fprintf(i32 %4, i8* getelementptr inbounds ([88 x i8], [88 x i8]* @.str, i64 0, i64 0), i8* %5)
%7 = load i32, i32* @stderr
%8 = call i32 (i32, i8*, ...) @fprintf(i32 %7, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0))
store i32 0, i32* %3
br label %9
9: ; preds = %17, %1
%10 = load i32, i32* %3
%11 = load i8*, i8** %2
%12 = call i32 @strlen(i8* %11)
%13 = icmp ult i32 %10, %12
br i1 %13, label %14, label %20
14: ; preds = %9
%15 = load i32, i32* @stderr
%16 = call i32 (i32, i8*, ...) @fprintf(i32 %15, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0))
br label %17
17: ; preds = %14
%18 = load i32, i32* %3
%19 = add i32 %18, 1
store i32 %19, i32* %3
br label %9
20: ; preds = %9
%21 = load i32, i32* @stderr
%22 = call i32 (i32, i8*, ...) @fprintf(i32 %21, i8* getelementptr inbounds ([88 x i8], [88 x i8]* @.str.3, i64 0, i64 0))
%23 = load i32, i32* @stderr
%24 = call i32 (i32, i8*, ...) @fprintf(i32 %23, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0))
store i32 0, i32* %3
br label %25
25: ; preds = %33, %20
%26 = load i32, i32* %3
%27 = load i8*, i8** %2
%28 = call i32 @strlen(i8* %27)
%29 = icmp ult i32 %26, %28
br i1 %29, label %30, label %36
30: ; preds = %25
%31 = load i32, i32* @stderr
%32 = call i32 (i32, i8*, ...) @fprintf(i32 %31, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0))
br label %33
33: ; preds = %30
%34 = load i32, i32* %3
%35 = add i32 %34, 1
store i32 %35, i32* %3
br label %25
36: ; preds = %25
%37 = load i32, i32* @stderr
%38 = call i32 (i32, i8*, ...) @fprintf(i32 %37, i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.4, i64 0, i64 0))
%39 = load i32, i32* @stderr
%40 = call i32 (i32, i8*, ...) @fprintf(i32 %39, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0))
store i32 0, i32* %3
br label %41
41: ; preds = %49, %36
%42 = load i32, i32* %3
%43 = load i8*, i8** %2
%44 = call i32 @strlen(i8* %43)
%45 = icmp ult i32 %42, %44
br i1 %45, label %46, label %52
46: ; preds = %41
%47 = load i32, i32* @stderr
%48 = call i32 (i32, i8*, ...) @fprintf(i32 %47, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0))
br label %49
49: ; preds = %46
%50 = load i32, i32* %3
%51 = add i32 %50, 1
store i32 %51, i32* %3
br label %41
52: ; preds = %41
%53 = load i32, i32* @stderr
%54 = call i32 (i32, i8*, ...) @fprintf(i32 %53, i8* getelementptr inbounds ([50 x i8], [50 x i8]* @.str.5, i64 0, i64 0))
%55 = load i32, i32* @stderr
%56 = call i32 (i32, i8*, ...) @fprintf(i32 %55, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0))
store i32 0, i32* %3
br label %57
57: ; preds = %65, %52
%58 = load i32, i32* %3
%59 = load i8*, i8** %2
%60 = call i32 @strlen(i8* %59)
%61 = icmp ult i32 %58, %60
br i1 %61, label %62, label %68
62: ; preds = %57
%63 = load i32, i32* @stderr
%64 = call i32 (i32, i8*, ...) @fprintf(i32 %63, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0))
br label %65
65: ; preds = %62
%66 = load i32, i32* %3
%67 = add i32 %66, 1
store i32 %67, i32* %3
br label %57
68: ; preds = %57
%69 = load i32, i32* @stderr
%70 = call i32 (i32, i8*, ...) @fprintf(i32 %69, i8* getelementptr inbounds ([53 x i8], [53 x i8]* @.str.6, i64 0, i64 0))
%71 = load i32, i32* @stderr
%72 = call i32 (i32, i8*, ...) @fprintf(i32 %71, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0))
store i32 0, i32* %3
br label %73
73: ; preds = %81, %68
%74 = load i32, i32* %3
%75 = load i8*, i8** %2
%76 = call i32 @strlen(i8* %75)
%77 = icmp ult i32 %74, %76
br i1 %77, label %78, label %84
78: ; preds = %73
%79 = load i32, i32* @stderr
%80 = call i32 (i32, i8*, ...) @fprintf(i32 %79, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0))
br label %81
81: ; preds = %78
%82 = load i32, i32* %3
%83 = add i32 %82, 1
store i32 %83, i32* %3
br label %73
84: ; preds = %73
%85 = load i32, i32* @stderr
%86 = call i32 (i32, i8*, ...) @fprintf(i32 %85, i8* getelementptr inbounds ([53 x i8], [53 x i8]* @.str.7, i64 0, i64 0))
%87 = load i32, i32* @stderr
%88 = call i32 (i32, i8*, ...) @fprintf(i32 %87, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0))
store i32 0, i32* %3
br label %89
89: ; preds = %97, %84
%90 = load i32, i32* %3
%91 = load i8*, i8** %2
%92 = call i32 @strlen(i8* %91)
%93 = icmp ult i32 %90, %92
br i1 %93, label %94, label %100
94: ; preds = %89
%95 = load i32, i32* @stderr
%96 = call i32 (i32, i8*, ...) @fprintf(i32 %95, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0))
br label %97
97: ; preds = %94
%98 = load i32, i32* %3
%99 = add i32 %98, 1
store i32 %99, i32* %3
br label %89
100: ; preds = %89
%101 = load i32, i32* @stderr
%102 = call i32 (i32, i8*, ...) @fprintf(i32 %101, i8* getelementptr inbounds ([49 x i8], [49 x i8]* @.str.8, i64 0, i64 0))
%103 = load i32, i32* @stderr
%104 = call i32 (i32, i8*, ...) @fprintf(i32 %103, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0))
store i32 0, i32* %3
br label %105
105: ; preds = %113, %100
%106 = load i32, i32* %3
%107 = load i8*, i8** %2
%108 = call i32 @strlen(i8* %107)
%109 = icmp ult i32 %106, %108
br i1 %109, label %110, label %116
110: ; preds = %105
%111 = load i32, i32* @stderr
%112 = call i32 (i32, i8*, ...) @fprintf(i32 %111, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0))
br label %113
113: ; preds = %110
%114 = load i32, i32* %3
%115 = add i32 %114, 1
store i32 %115, i32* %3
br label %105
116: ; preds = %105
%117 = load i32, i32* @stderr
%118 = call i32 (i32, i8*, ...) @fprintf(i32 %117, i8* getelementptr inbounds ([68 x i8], [68 x i8]* @.str.9, i64 0, i64 0))
%119 = load i32, i32* @stderr
%120 = call i32 (i32, i8*, ...) @fprintf(i32 %119, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0))
store i32 0, i32* %3
br label %121
121: ; preds = %129, %116
%122 = load i32, i32* %3
%123 = load i8*, i8** %2
%124 = call i32 @strlen(i8* %123)
%125 = icmp ult i32 %122, %124
br i1 %125, label %126, label %132
126: ; preds = %121
%127 = load i32, i32* @stderr
%128 = call i32 (i32, i8*, ...) @fprintf(i32 %127, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0))
br label %129
129: ; preds = %126
%130 = load i32, i32* %3
%131 = add i32 %130, 1
store i32 %131, i32* %3
br label %121
132: ; preds = %121
%133 = load i32, i32* @stderr
%134 = call i32 (i32, i8*, ...) @fprintf(i32 %133, i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str.10, i64 0, i64 0))
%135 = load i32, i32* @stderr
%136 = call i32 (i32, i8*, ...) @fprintf(i32 %135, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.11, i64 0, i64 0))
%137 = load i32, i32* @stderr
%138 = load i8*, i8** %2
%139 = call i32 (i32, i8*, ...) @fprintf(i32 %137, i8* getelementptr inbounds ([74 x i8], [74 x i8]* @.str.12, i64 0, i64 0), i8* %138)
%140 = load i32, i32* @stderr
%141 = call i32 (i32, i8*, ...) @fprintf(i32 %140, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.13, i64 0, i64 0))
store i32 0, i32* %3
br label %142
142: ; preds = %150, %132
%143 = load i32, i32* %3
%144 = load i8*, i8** %2
%145 = call i32 @strlen(i8* %144)
%146 = icmp ult i32 %143, %145
br i1 %146, label %147, label %153
147: ; preds = %142
%148 = load i32, i32* @stderr
%149 = call i32 (i32, i8*, ...) @fprintf(i32 %148, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0))
br label %150
150: ; preds = %147
%151 = load i32, i32* %3
%152 = add i32 %151, 1
store i32 %152, i32* %3
br label %142
153: ; preds = %142
%154 = load i32, i32* @stderr
%155 = call i32 (i32, i8*, ...) @fprintf(i32 %154, i8* getelementptr inbounds ([49 x i8], [49 x i8]* @.str.14, i64 0, i64 0))
%156 = load i32, i32* @stderr
%157 = call i32 (i32, i8*, ...) @fprintf(i32 %156, i8* getelementptr inbounds ([81 x i8], [81 x i8]* @.str.15, i64 0, i64 0))
%158 = load i32, i32* @stderr
%159 = call i32 (i32, i8*, ...) @fprintf(i32 %158, i8* getelementptr inbounds ([72 x i8], [72 x i8]* @.str.16, i64 0, i64 0))
%160 = load i32, i32* @stderr
%161 = call i32 (i32, i8*, ...) @fprintf(i32 %160, i8* getelementptr inbounds ([88 x i8], [88 x i8]* @.str.17, i64 0, i64 0))
%162 = load i32, i32* @stderr
%163 = call i32 (i32, i8*, ...) @fprintf(i32 %162, i8* getelementptr inbounds ([97 x i8], [97 x i8]* @.str.18, i64 0, i64 0))
%164 = load i32, i32* @stderr
%165 = call i32 (i32, i8*, ...) @fprintf(i32 %164, i8* getelementptr inbounds ([87 x i8], [87 x i8]* @.str.19, i64 0, i64 0))
%166 = load i32, i32* @stderr
%167 = call i32 (i32, i8*, ...) @fprintf(i32 %166, i8* getelementptr inbounds ([92 x i8], [92 x i8]* @.str.20, i64 0, i64 0))
%168 = load i32, i32* @stderr
%169 = call i32 (i32, i8*, ...) @fprintf(i32 %168, i8* getelementptr inbounds ([79 x i8], [79 x i8]* @.str.21, i64 0, i64 0))
%170 = load i32, i32* @stderr
%171 = call i32 (i32, i8*, ...) @fprintf(i32 %170, i8* getelementptr inbounds ([85 x i8], [85 x i8]* @.str.22, i64 0, i64 0))
%172 = load i32, i32* @stderr
%173 = call i32 (i32, i8*, ...) @fprintf(i32 %172, i8* getelementptr inbounds ([90 x i8], [90 x i8]* @.str.23, i64 0, i64 0))
%174 = load i32, i32* @stderr
%175 = call i32 (i32, i8*, ...) @fprintf(i32 %174, i8* getelementptr inbounds ([75 x i8], [75 x i8]* @.str.24, i64 0, i64 0))
%176 = load i32, i32* @stderr
%177 = call i32 (i32, i8*, ...) @fprintf(i32 %176, i8* getelementptr inbounds ([123 x i8], [123 x i8]* @.str.25, i64 0, i64 0))
%178 = load i32, i32* @stderr
%179 = call i32 (i32, i8*, ...) @fprintf(i32 %178, i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str.26, i64 0, i64 0))
%180 = load i32, i32* @stderr
%181 = call i32 (i32, i8*, ...) @fprintf(i32 %180, i8* getelementptr inbounds ([44 x i8], [44 x i8]* @.str.27, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@stderr = global i32 0
@.str = [88 x i8] c" %s : Tool to update firmware of Cardbus-MIMO-1/Leon3 card through the PCI interface,\0A\00"
@.str.1 = [5 x i8] c" \00"
@.str.2 = [2 x i8] c" \00"
@.str.3 = [88 x i8] c" that is, even without using the Xilinx parallel cable. The tool performs sequentially\0A\00"
@.str.4 = [30 x i8] c" the 5 following operations:\0A\00"
@.str.5 = [50 x i8] c" 1) Ask card driver to reboot (optionally)\0A\00"
@.str.6 = [53 x i8] c" 2) Ask card driver to transfer .text section\0A\00"
@.str.7 = [53 x i8] c" 3) Ask card driver to transfer .data section\0A\00"
@.str.8 = [49 x i8] c" 4) Ask card driver to clear .bss section\0A\00"
@.str.9 = [68 x i8] c" 5) Ask card driver to have Leon processor set stack-pointer\0A\00"
@.str.10 = [39 x i8] c" and jump to firmware entry.\0A\00"
@.str.11 = [8 x i8] c"Usage:\0A\00"
@.str.12 = [74 x i8] c" %s [-f|--firmware 'filename'] [-s|--stackptr value] [-b|--forcereboot]\0A\00"
@.str.13 = [4 x i8] c" \00"
@.str.14 = [49 x i8] c"[-v|-vv|-vvv|-vvvv] [-h|--help] [-p|--pretend]\0A\0A\00"
@.str.15 = [81 x i8] c" [-f|--firmware ] Mandatory option, to set the name of the executable file\0A\00"
@.str.16 = [72 x i8] c" of the firmware to update the remote card with.\0A\00"
@.str.17 = [88 x i8] c" The file should be an executable file in the Sparc32 ELF binary\0A\00"
@.str.18 = [97 x i8] c" format, containing at least the 3 mandatory sections .text, .data & .bss\0A\00"
@.str.19 = [87 x i8] c" [-s|--stackptr] Mandatory option, to set the value of the stack pointer before\0A\00"
@.str.20 = [92 x i8] c" giving hand to the firmware. The specified value must be an integer\0A\00"
@.str.21 = [79 x i8] c" number of 8 hexadecimal digits preceded by token '0x'.\0A\00"
@.str.22 = [85 x i8] c" [-b|--forcereboot] Force reboot of Leon processor before updating the firmware.\0A\00"
@.str.23 = [90 x i8] c" [-p|--pretend] Just pretend to transfer commands (ioctls) to driver, don't do it\0A\00"
@.str.24 = [75 x i8] c" actually. Useful together with verbose -vv switch.\0A\00"
@.str.25 = [123 x i8] c" [-n|--noexec] Transfer all data and text segments, but don't do actually start the code on Leon (no START_EXEC).\0A\00"
@.str.26 = [39 x i8] c" [-v|-vv|-vvv|-vvvv] Verbose modes.\0A\00"
@.str.27 = [44 x i8] c" [-h|--help] Displays this help.\0A\00"
define void @show_usage(i8* %0) {
%2 = load i32, i32* @stderr
%3 = tail call i32 (i32, i8*, ...) @fprintf(i32 %2, i8* getelementptr inbounds ([88 x i8], [88 x i8]* @.str, i64 0, i64 0), i8* %0)
%4 = load i32, i32* @stderr
%5 = tail call i32 (i32, i8*, ...) @fprintf(i32 %4, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0))
%6 = tail call i32 @strlen(i8* %0)
%7 = icmp eq i32 %6, 0
br i1 %7, label %15, label %8
8: ; preds = %1, %8
%9 = phi i32 [ %12, %8 ], [ 0, %1 ]
%10 = load i32, i32* @stderr
%11 = tail call i32 (i32, i8*, ...) @fprintf(i32 %10, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0))
%12 = add nuw i32 %9, 1
%13 = tail call i32 @strlen(i8* %0)
%14 = icmp ult i32 %12, %13
br i1 %14, label %8, label %15
15: ; preds = %8, %1
%16 = load i32, i32* @stderr
%17 = tail call i32 (i32, i8*, ...) @fprintf(i32 %16, i8* getelementptr inbounds ([88 x i8], [88 x i8]* @.str.3, i64 0, i64 0))
%18 = load i32, i32* @stderr
%19 = tail call i32 (i32, i8*, ...) @fprintf(i32 %18, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0))
%20 = tail call i32 @strlen(i8* %0)
%21 = icmp eq i32 %20, 0
br i1 %21, label %29, label %22
22: ; preds = %15, %22
%23 = phi i32 [ %26, %22 ], [ 0, %15 ]
%24 = load i32, i32* @stderr
%25 = tail call i32 (i32, i8*, ...) @fprintf(i32 %24, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0))
%26 = add nuw i32 %23, 1
%27 = tail call i32 @strlen(i8* %0)
%28 = icmp ult i32 %26, %27
br i1 %28, label %22, label %29
29: ; preds = %22, %15
%30 = load i32, i32* @stderr
%31 = tail call i32 (i32, i8*, ...) @fprintf(i32 %30, i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.4, i64 0, i64 0))
%32 = load i32, i32* @stderr
%33 = tail call i32 (i32, i8*, ...) @fprintf(i32 %32, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0))
%34 = tail call i32 @strlen(i8* %0)
%35 = icmp eq i32 %34, 0
br i1 %35, label %43, label %36
36: ; preds = %29, %36
%37 = phi i32 [ %40, %36 ], [ 0, %29 ]
%38 = load i32, i32* @stderr
%39 = tail call i32 (i32, i8*, ...) @fprintf(i32 %38, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0))
%40 = add nuw i32 %37, 1
%41 = tail call i32 @strlen(i8* %0)
%42 = icmp ult i32 %40, %41
br i1 %42, label %36, label %43
43: ; preds = %36, %29
%44 = load i32, i32* @stderr
%45 = tail call i32 (i32, i8*, ...) @fprintf(i32 %44, i8* getelementptr inbounds ([50 x i8], [50 x i8]* @.str.5, i64 0, i64 0))
%46 = load i32, i32* @stderr
%47 = tail call i32 (i32, i8*, ...) @fprintf(i32 %46, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0))
%48 = tail call i32 @strlen(i8* %0)
%49 = icmp eq i32 %48, 0
br i1 %49, label %57, label %50
50: ; preds = %43, %50
%51 = phi i32 [ %54, %50 ], [ 0, %43 ]
%52 = load i32, i32* @stderr
%53 = tail call i32 (i32, i8*, ...) @fprintf(i32 %52, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0))
%54 = add nuw i32 %51, 1
%55 = tail call i32 @strlen(i8* %0)
%56 = icmp ult i32 %54, %55
br i1 %56, label %50, label %57
57: ; preds = %50, %43
%58 = load i32, i32* @stderr
%59 = tail call i32 (i32, i8*, ...) @fprintf(i32 %58, i8* getelementptr inbounds ([53 x i8], [53 x i8]* @.str.6, i64 0, i64 0))
%60 = load i32, i32* @stderr
%61 = tail call i32 (i32, i8*, ...) @fprintf(i32 %60, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0))
%62 = tail call i32 @strlen(i8* %0)
%63 = icmp eq i32 %62, 0
br i1 %63, label %71, label %64
64: ; preds = %57, %64
%65 = phi i32 [ %68, %64 ], [ 0, %57 ]
%66 = load i32, i32* @stderr
%67 = tail call i32 (i32, i8*, ...) @fprintf(i32 %66, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0))
%68 = add nuw i32 %65, 1
%69 = tail call i32 @strlen(i8* %0)
%70 = icmp ult i32 %68, %69
br i1 %70, label %64, label %71
71: ; preds = %64, %57
%72 = load i32, i32* @stderr
%73 = tail call i32 (i32, i8*, ...) @fprintf(i32 %72, i8* getelementptr inbounds ([53 x i8], [53 x i8]* @.str.7, i64 0, i64 0))
%74 = load i32, i32* @stderr
%75 = tail call i32 (i32, i8*, ...) @fprintf(i32 %74, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0))
%76 = tail call i32 @strlen(i8* %0)
%77 = icmp eq i32 %76, 0
br i1 %77, label %85, label %78
78: ; preds = %71, %78
%79 = phi i32 [ %82, %78 ], [ 0, %71 ]
%80 = load i32, i32* @stderr
%81 = tail call i32 (i32, i8*, ...) @fprintf(i32 %80, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0))
%82 = add nuw i32 %79, 1
%83 = tail call i32 @strlen(i8* %0)
%84 = icmp ult i32 %82, %83
br i1 %84, label %78, label %85
85: ; preds = %78, %71
%86 = load i32, i32* @stderr
%87 = tail call i32 (i32, i8*, ...) @fprintf(i32 %86, i8* getelementptr inbounds ([49 x i8], [49 x i8]* @.str.8, i64 0, i64 0))
%88 = load i32, i32* @stderr
%89 = tail call i32 (i32, i8*, ...) @fprintf(i32 %88, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0))
%90 = tail call i32 @strlen(i8* %0)
%91 = icmp eq i32 %90, 0
br i1 %91, label %99, label %92
92: ; preds = %85, %92
%93 = phi i32 [ %96, %92 ], [ 0, %85 ]
%94 = load i32, i32* @stderr
%95 = tail call i32 (i32, i8*, ...) @fprintf(i32 %94, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0))
%96 = add nuw i32 %93, 1
%97 = tail call i32 @strlen(i8* %0)
%98 = icmp ult i32 %96, %97
br i1 %98, label %92, label %99
99: ; preds = %92, %85
%100 = load i32, i32* @stderr
%101 = tail call i32 (i32, i8*, ...) @fprintf(i32 %100, i8* getelementptr inbounds ([68 x i8], [68 x i8]* @.str.9, i64 0, i64 0))
%102 = load i32, i32* @stderr
%103 = tail call i32 (i32, i8*, ...) @fprintf(i32 %102, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0))
%104 = tail call i32 @strlen(i8* %0)
%105 = icmp eq i32 %104, 0
br i1 %105, label %113, label %106
106: ; preds = %99, %106
%107 = phi i32 [ %110, %106 ], [ 0, %99 ]
%108 = load i32, i32* @stderr
%109 = tail call i32 (i32, i8*, ...) @fprintf(i32 %108, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0))
%110 = add nuw i32 %107, 1
%111 = tail call i32 @strlen(i8* %0)
%112 = icmp ult i32 %110, %111
br i1 %112, label %106, label %113
113: ; preds = %106, %99
%114 = load i32, i32* @stderr
%115 = tail call i32 (i32, i8*, ...) @fprintf(i32 %114, i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str.10, i64 0, i64 0))
%116 = load i32, i32* @stderr
%117 = tail call i32 (i32, i8*, ...) @fprintf(i32 %116, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.11, i64 0, i64 0))
%118 = load i32, i32* @stderr
%119 = tail call i32 (i32, i8*, ...) @fprintf(i32 %118, i8* getelementptr inbounds ([74 x i8], [74 x i8]* @.str.12, i64 0, i64 0), i8* %0)
%120 = load i32, i32* @stderr
%121 = tail call i32 (i32, i8*, ...) @fprintf(i32 %120, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.13, i64 0, i64 0))
%122 = tail call i32 @strlen(i8* %0)
%123 = icmp eq i32 %122, 0
br i1 %123, label %131, label %124
124: ; preds = %113, %124
%125 = phi i32 [ %128, %124 ], [ 0, %113 ]
%126 = load i32, i32* @stderr
%127 = tail call i32 (i32, i8*, ...) @fprintf(i32 %126, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0))
%128 = add nuw i32 %125, 1
%129 = tail call i32 @strlen(i8* %0)
%130 = icmp ult i32 %128, %129
br i1 %130, label %124, label %131
131: ; preds = %124, %113
%132 = load i32, i32* @stderr
%133 = tail call i32 (i32, i8*, ...) @fprintf(i32 %132, i8* getelementptr inbounds ([49 x i8], [49 x i8]* @.str.14, i64 0, i64 0))
%134 = load i32, i32* @stderr
%135 = tail call i32 (i32, i8*, ...) @fprintf(i32 %134, i8* getelementptr inbounds ([81 x i8], [81 x i8]* @.str.15, i64 0, i64 0))
%136 = load i32, i32* @stderr
%137 = tail call i32 (i32, i8*, ...) @fprintf(i32 %136, i8* getelementptr inbounds ([72 x i8], [72 x i8]* @.str.16, i64 0, i64 0))
%138 = load i32, i32* @stderr
%139 = tail call i32 (i32, i8*, ...) @fprintf(i32 %138, i8* getelementptr inbounds ([88 x i8], [88 x i8]* @.str.17, i64 0, i64 0))
%140 = load i32, i32* @stderr
%141 = tail call i32 (i32, i8*, ...) @fprintf(i32 %140, i8* getelementptr inbounds ([97 x i8], [97 x i8]* @.str.18, i64 0, i64 0))
%142 = load i32, i32* @stderr
%143 = tail call i32 (i32, i8*, ...) @fprintf(i32 %142, i8* getelementptr inbounds ([87 x i8], [87 x i8]* @.str.19, i64 0, i64 0))
%144 = load i32, i32* @stderr
%145 = tail call i32 (i32, i8*, ...) @fprintf(i32 %144, i8* getelementptr inbounds ([92 x i8], [92 x i8]* @.str.20, i64 0, i64 0))
%146 = load i32, i32* @stderr
%147 = tail call i32 (i32, i8*, ...) @fprintf(i32 %146, i8* getelementptr inbounds ([79 x i8], [79 x i8]* @.str.21, i64 0, i64 0))
%148 = load i32, i32* @stderr
%149 = tail call i32 (i32, i8*, ...) @fprintf(i32 %148, i8* getelementptr inbounds ([85 x i8], [85 x i8]* @.str.22, i64 0, i64 0))
%150 = load i32, i32* @stderr
%151 = tail call i32 (i32, i8*, ...) @fprintf(i32 %150, i8* getelementptr inbounds ([90 x i8], [90 x i8]* @.str.23, i64 0, i64 0))
%152 = load i32, i32* @stderr
%153 = tail call i32 (i32, i8*, ...) @fprintf(i32 %152, i8* getelementptr inbounds ([75 x i8], [75 x i8]* @.str.24, i64 0, i64 0))
%154 = load i32, i32* @stderr
%155 = tail call i32 (i32, i8*, ...) @fprintf(i32 %154, i8* getelementptr inbounds ([123 x i8], [123 x i8]* @.str.25, i64 0, i64 0))
%156 = load i32, i32* @stderr
%157 = tail call i32 (i32, i8*, ...) @fprintf(i32 %156, i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str.26, i64 0, i64 0))
%158 = load i32, i32* @stderr
%159 = tail call i32 (i32, i8*, ...) @fprintf(i32 %158, i8* getelementptr inbounds ([44 x i8], [44 x i8]* @.str.27, i64 0, i64 0))
ret void
}