#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 */
typedef int uint8_t;
typedef int /*<<< orphan*/ FILE;

/* Variables and functions */
int /*<<< orphan*/ SEEK_CUR;
int /*<<< orphan*/ SEEK_END;
int /*<<< orphan*/ SEEK_SET;
int /*<<< orphan*/ bytes_to_num(int *, int);
int /*<<< orphan*/ fclose(int /*<<< orphan*/ *);
int /*<<< orphan*/ *fopen(char *, char *);
int /*<<< orphan*/ fprintf(int /*<<< orphan*/, char *, ...);
int /*<<< orphan*/ fread(int *, int, int, int /*<<< orphan*/ *);
int /*<<< orphan*/ fseek(int /*<<< orphan*/ *, int, int /*<<< orphan*/);
long ftell(int /*<<< orphan*/ *);
int getopt(int, char **, char *);
scalar_t__ malloc(int);
int /*<<< orphan*/ memmove(int *, int *, int);
size_t optind;
int /*<<< orphan*/ print_header(int *, int);
int /*<<< orphan*/ print_seperator();
int /*<<< orphan*/ print_usage(char *);
int /*<<< orphan*/ print_version();
int /*<<< orphan*/ printf(char *, ...);
int /*<<< orphan*/ sprintf(char *, char *, int /*<<< orphan*/);
int /*<<< orphan*/ stderr;
scalar_t__ write_keys(int *, char *, int);
int main(int argc, char *argv[]) {
  FILE *file;
  long filelength;
  int ch;
  uint8_t options = 0;
  char *input_file = NULL;
  while ((ch = getopt(argc, argv, "hmpv")) != -1) {
    switch (ch) {
    case 'm':
      options |= 0x02;
      break;
    case 'p':
      options |= 0x08;
      break;
    case 'v':
      print_version();
      return 1;
    case 'h':
      print_usage(argv[0]);
      return 1;
    default:
      return 1;
    }
  }
  input_file = argv[optind];
  if (!options || !input_file) {
    print_usage(argv[0]);
    return 1;
  }
  if ((file = fopen(input_file, "rb"))) {
    fseek(file, 0, SEEK_END);
    filelength = ftell(file);
    if (filelength == 1024)
      options |= 0x61;
    else if (filelength == 4096)
      options |= 0xF4;
    if (options & 0x05) {
      uint8_t *uid, *a_keys, *b_keys;
      if (((uid = (uint8_t *)malloc(8)) == NULL) ||
          ((a_keys = (uint8_t *)malloc(options & 0xF0)) == NULL) ||
          ((b_keys = (uint8_t *)malloc(options & 0xF0)) == NULL)) {
        fprintf(stderr, "Can not allocate enough memory!\n");
        return 1;
      }
      uint8_t *aptr = a_keys;
      uint8_t *bptr = b_keys;
      fseek(file, 0x00, SEEK_SET);
      fread(uid, 1, 8, file);
      print_header(uid, options & 0x05);
      fseek(file, 0x30, SEEK_SET);
      uint8_t i, offset = 0;
      for (i = 0; i < ((options & 0x05) == 0x01 ? 16 : 40); i++) {
        fseek(file, offset, SEEK_CUR);
        fread(aptr, 1, 6, file);
        fseek(file, 0x04, SEEK_CUR);
        fread(bptr, 1, 6, file);
        printf("|%03d|  %012lx  |  %012lx  |\n", i, bytes_to_num(aptr, 6),
               bytes_to_num(bptr, 6));
        aptr += 6;
        bptr += 6;
        if (i < 31)
          offset = 0x30;
        else
          offset = 0xF0;
      }
      print_seperator();
      printf("\n");
      fclose(file);
      char filename[15];
      if ((options & 0x0A) == 0x02) {
        sprintf(filename, "a%08lx.dump", bytes_to_num(uid, 4));
        if (write_keys(a_keys, filename, options & 0xF0))
          return 1;
        sprintf(filename, "b%08lx.dump", bytes_to_num(uid, 4));
        if (write_keys(b_keys, filename, options & 0xF0))
          return 1;
      } else {
        uint8_t *output;
        sprintf(filename, "%08lx.bin", bytes_to_num(uid, 4));
        if ((output = (uint8_t *)malloc((options & 0xF0) * 2)) != NULL) {
          memmove(output, a_keys, options & 0xF0);
          memmove(output + (options & 0xF0), b_keys, options & 0xF0);
        } else {
          fprintf(stderr, "Can not allocate enough memory!\n");
          return 1;
        }
        if (write_keys(output, filename, (options & 0xF0) * 2))
          return 1;
      }
    } else {
      fclose(file);
      fprintf(stderr, "File '%s' is not the correct size!\n", input_file);
      return 1;
    }
  } else {
    fprintf(stderr, "Can not open file '%s'\n", input_file);
    return 1;
  }
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0xa0,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
movl   $0x0,-0x28(%rbp)
movq   $0x0,-0x30(%rbp)
mov    -0x8(%rbp),%edi
mov    -0x10(%rbp),%rsi
lea    0xdf6(%rip),%rdx
call   1110 <getopt@plt>
mov    %eax,-0x24(%rbp)
cmp    $0xffffffff,%eax
je     12d8 <main+0xc8>
mov    -0x24(%rbp),%eax
add    $0xffffff98,%eax
mov    %eax,%ecx
mov    %rcx,-0x80(%rbp)
sub    $0xe,%eax
ja     12c7 <main+0xb7>
mov    -0x80(%rbp),%rax
lea    0xd89(%rip),%rcx
movslq (%rcx,%rax,4),%rax
add    %rcx,%rax
jmp    *%rax
mov    -0x28(%rbp),%eax
or     $0x2,%eax
mov    %eax,-0x28(%rbp)
jmp    12d3 <main+0xc3>
mov    -0x28(%rbp),%eax
or     $0x8,%eax
mov    %eax,-0x28(%rbp)
jmp    12d3 <main+0xc3>
mov    $0x0,%al
call   1050 <print_version@plt>
movl   $0x1,-0x4(%rbp)
jmp    17c3 <main+0x5b3>
mov    -0x10(%rbp),%rax
mov    (%rax),%rdi
call   1130 <print_usage@plt>
movl   $0x1,-0x4(%rbp)
jmp    17c3 <main+0x5b3>
movl   $0x1,-0x4(%rbp)
jmp    17c3 <main+0x5b3>
jmp    1238 <main+0x28>
mov    -0x10(%rbp),%rax
mov    0x2cf5(%rip),%rcx
mov    (%rcx),%rcx
mov    (%rax,%rcx,8),%rax
mov    %rax,-0x30(%rbp)
cmpl   $0x0,-0x28(%rbp)
je     1303 <main+0xf3>
cmpq   $0x0,-0x30(%rbp)
jne    131b <main+0x10b>
mov    -0x10(%rbp),%rax
mov    (%rax),%rdi
call   1130 <print_usage@plt>
movl   $0x1,-0x4(%rbp)
jmp    17c3 <main+0x5b3>
mov    -0x30(%rbp),%rdi
lea    0xd1b(%rip),%rsi
call   10f0 <fopen@plt>
mov    %rax,-0x18(%rbp)
cmp    $0x0,%rax
je     1795 <main+0x585>
mov    -0x18(%rbp),%rdi
mov    0x2ca4(%rip),%rax
mov    (%rax),%edx
xor    %esi,%esi
call   10d0 <fseek@plt>
mov    -0x18(%rbp),%rdi
call   10b0 <ftell@plt>
mov    %rax,-0x20(%rbp)
cmpq   $0x400,-0x20(%rbp)
jne    1376 <main+0x166>
mov    -0x28(%rbp),%eax
or     $0x61,%eax
mov    %eax,-0x28(%rbp)
jmp    1394 <main+0x184>
cmpq   $0x1000,-0x20(%rbp)
jne    138f <main+0x17f>
mov    -0x28(%rbp),%eax
or     $0xf4,%eax
mov    %eax,-0x28(%rbp)
jmp    1394 <main+0x184>
mov    -0x28(%rbp),%eax
and    $0x5,%eax
cmp    $0x0,%eax
je     1760 <main+0x550>
mov    $0x8,%edi
call   10c0 <malloc@plt>
mov    %rax,-0x38(%rbp)
cmp    $0x0,%rax
je     13f3 <main+0x1e3>
mov    -0x28(%rbp),%edi
and    $0xf0,%edi
call   10c0 <malloc@plt>
mov    %rax,-0x40(%rbp)
cmp    $0x0,%rax
je     13f3 <main+0x1e3>
mov    -0x28(%rbp),%edi
and    $0xf0,%edi
call   10c0 <malloc@plt>
mov    %rax,-0x48(%rbp)
cmp    $0x0,%rax
jne    1416 <main+0x206>
mov    0x2bce(%rip),%rax
mov    (%rax),%edi
lea    0xc41(%rip),%rsi
mov    $0x0,%al
call   1090 <fprintf@plt>
movl   $0x1,-0x4(%rbp)
jmp    17c3 <main+0x5b3>
mov    -0x40(%rbp),%rax
mov    %rax,-0x50(%rbp)
mov    -0x48(%rbp),%rax
mov    %rax,-0x58(%rbp)
mov    -0x18(%rbp),%rdi
mov    0x2b8f(%rip),%rax
mov    (%rax),%edx
xor    %esi,%esi
call   10d0 <fseek@plt>
mov    -0x38(%rbp),%rdi
mov    -0x18(%rbp),%rcx
mov    $0x1,%esi
mov    $0x8,%edx
call   1040 <fread@plt>
mov    -0x38(%rbp),%rdi
mov    -0x28(%rbp),%esi
and    $0x5,%esi
call   1100 <print_header@plt>
mov    -0x18(%rbp),%rdi
mov    0x2b55(%rip),%rax
mov    (%rax),%edx
mov    $0x30,%esi
call   10d0 <fseek@plt>
movl   $0x0,-0x60(%rbp)
movl   $0x0,-0x5c(%rbp)
mov    -0x5c(%rbp),%eax
mov    -0x28(%rbp),%esi
and    $0x5,%esi
mov    $0x28,%ecx
mov    $0x10,%edx
cmp    $0x1,%esi
cmove  %edx,%ecx
cmp    %ecx,%eax
jge    158f <main+0x37f>
mov    -0x18(%rbp),%rdi
mov    -0x60(%rbp),%esi
mov    0x2b2c(%rip),%rax
mov    (%rax),%edx
call   10d0 <fseek@plt>
mov    -0x50(%rbp),%rdi
mov    -0x18(%rbp),%rcx
mov    $0x1,%esi
mov    $0x6,%edx
call   1040 <fread@plt>
mov    -0x18(%rbp),%rdi
mov    0x2b03(%rip),%rax
mov    (%rax),%edx
mov    $0x4,%esi
call   10d0 <fseek@plt>
mov    -0x58(%rbp),%rdi
mov    -0x18(%rbp),%rcx
mov    $0x1,%esi
mov    $0x6,%edx
call   1040 <fread@plt>
mov    -0x5c(%rbp),%eax
mov    %eax,-0x88(%rbp)
mov    -0x50(%rbp),%rdi
mov    $0x6,%esi
call   10a0 <bytes_to_num@plt>
mov    %eax,-0x84(%rbp)
mov    -0x58(%rbp),%rdi
mov    $0x6,%esi
call   10a0 <bytes_to_num@plt>
mov    -0x88(%rbp),%esi
mov    -0x84(%rbp),%edx
mov    %eax,%ecx
lea    0xb25(%rip),%rdi
mov    $0x0,%al
call   1070 <printf@plt>
mov    -0x50(%rbp),%rax
add    $0x18,%rax
mov    %rax,-0x50(%rbp)
mov    -0x58(%rbp),%rax
add    $0x18,%rax
mov    %rax,-0x58(%rbp)
cmpl   $0x1f,-0x5c(%rbp)
jge    1575 <main+0x365>
movl   $0x30,-0x60(%rbp)
jmp    157c <main+0x36c>
movl   $0xf0,-0x60(%rbp)
jmp    1581 <main+0x371>
mov    -0x5c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x5c(%rbp)
jmp    1485 <main+0x275>
mov    $0x0,%al
call   1080 <print_seperator@plt>
lea    0xb2a(%rip),%rdi
mov    $0x0,%al
call   1070 <printf@plt>
mov    -0x18(%rbp),%rdi
call   1060 <fclose@plt>
mov    -0x28(%rbp),%eax
and    $0xa,%eax
cmp    $0x2,%eax
jne    1675 <main+0x465>
lea    -0x6f(%rbp),%rax
mov    %rax,-0x90(%rbp)
mov    -0x38(%rbp),%rdi
mov    $0x4,%esi
call   10a0 <bytes_to_num@plt>
mov    -0x90(%rbp),%rdi
mov    %eax,%edx
lea    0xa9e(%rip),%rsi
call   1120 <sprintf@plt>
mov    -0x40(%rbp),%rdi
lea    -0x6f(%rbp),%rsi
mov    -0x28(%rbp),%edx
and    $0xf0,%edx
call   1030 <write_keys@plt>
cmp    $0x0,%rax
je     1616 <main+0x406>
movl   $0x1,-0x4(%rbp)
jmp    17c3 <main+0x5b3>
lea    -0x6f(%rbp),%rax
mov    %rax,-0x98(%rbp)
mov    -0x38(%rbp),%rdi
mov    $0x4,%esi
call   10a0 <bytes_to_num@plt>
mov    -0x98(%rbp),%rdi
mov    %eax,%edx
lea    0xa50(%rip),%rsi
call   1120 <sprintf@plt>
mov    -0x48(%rbp),%rdi
lea    -0x6f(%rbp),%rsi
mov    -0x28(%rbp),%edx
and    $0xf0,%edx
call   1030 <write_keys@plt>
cmp    $0x0,%rax
je     1670 <main+0x460>
movl   $0x1,-0x4(%rbp)
jmp    17c3 <main+0x5b3>
jmp    175b <main+0x54b>
lea    -0x6f(%rbp),%rax
mov    %rax,-0xa0(%rbp)
mov    -0x38(%rbp),%rdi
mov    $0x4,%esi
call   10a0 <bytes_to_num@plt>
mov    -0xa0(%rbp),%rdi
mov    %eax,%edx
lea    0x9fd(%rip),%rsi
call   1120 <sprintf@plt>
mov    -0x28(%rbp),%edi
and    $0xf0,%edi
shl    $0x1,%edi
call   10c0 <malloc@plt>
mov    %rax,-0x78(%rbp)
cmp    $0x0,%rax
je     1704 <main+0x4f4>
mov    -0x78(%rbp),%rdi
mov    -0x40(%rbp),%rsi
mov    -0x28(%rbp),%edx
and    $0xf0,%edx
call   10e0 <memmove@plt>
mov    -0x78(%rbp),%rdi
mov    -0x28(%rbp),%eax
and    $0xf0,%eax
cltq
shl    $0x2,%rax
add    %rax,%rdi
mov    -0x48(%rbp),%rsi
mov    -0x28(%rbp),%edx
and    $0xf0,%edx
call   10e0 <memmove@plt>
jmp    1727 <main+0x517>
mov    0x28bd(%rip),%rax
mov    (%rax),%edi
lea    0x930(%rip),%rsi
mov    $0x0,%al
call   1090 <fprintf@plt>
movl   $0x1,-0x4(%rbp)
jmp    17c3 <main+0x5b3>
mov    -0x78(%rbp),%rdi
lea    -0x6f(%rbp),%rsi
mov    -0x28(%rbp),%edx
and    $0xf0,%edx
shl    $0x1,%edx
call   1030 <write_keys@plt>
cmp    $0x0,%rax
je     1756 <main+0x546>
movl   $0x1,-0x4(%rbp)
jmp    17c3 <main+0x5b3>
jmp    175b <main+0x54b>
jmp    1790 <main+0x580>
mov    -0x18(%rbp),%rdi
call   1060 <fclose@plt>
mov    0x2858(%rip),%rax
mov    (%rax),%edi
mov    -0x30(%rbp),%rdx
lea    0x928(%rip),%rsi
mov    $0x0,%al
call   1090 <fprintf@plt>
movl   $0x1,-0x4(%rbp)
jmp    17c3 <main+0x5b3>
jmp    17bc <main+0x5ac>
mov    0x282c(%rip),%rax
mov    (%rax),%edi
mov    -0x30(%rbp),%rdx
lea    0x920(%rip),%rsi
mov    $0x0,%al
call   1090 <fprintf@plt>
movl   $0x1,-0x4(%rbp)
jmp    17c3 <main+0x5b3>
movl   $0x0,-0x4(%rbp)
mov    -0x4(%rbp),%eax
add    $0xa0,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x38,%rsp
mov    %rsi,%r12
mov    %edi,%ebp
xor    %r15d,%r15d
lea    0xdff(%rip),%r14
lea    0xdbc(%rip),%rbx
jmp    1253 <main+0x33>
cs nopw 0x0(%rax,%rax,1)
or     %eax,%r15d
mov    %ebp,%edi
mov    %r12,%rsi
mov    %r14,%rdx
call   1120 <getopt@plt>
lea    -0x68(%rax),%ecx
cmp    $0xe,%ecx
ja     127d <main+0x5d>
mov    $0x2,%eax
movslq (%rbx,%rcx,4),%rcx
add    %rbx,%rcx
jmp    *%rcx
mov    $0x8,%eax
jmp    1250 <main+0x30>
cmp    $0xffffffff,%eax
jne    12f4 <main+0xd4>
test   %r15d,%r15d
je     12e2 <main+0xc2>
mov    0x2d4a(%rip),%rax
mov    (%rax),%rax
mov    (%r12,%rax,8),%r14
test   %r14,%r14
je     12e2 <main+0xc2>
lea    0xda0(%rip),%rsi
mov    %r14,%rdi
call   1100 <fopen@plt>
test   %rax,%rax
je     1308 <main+0xe8>
mov    %rax,%rbx
mov    0x2d30(%rip),%rax
mov    (%rax),%edx
mov    %rbx,%rdi
xor    %esi,%esi
call   10e0 <fseek@plt>
mov    %rbx,%rdi
call   10c0 <ftell@plt>
cmp    $0x1000,%rax
je     131d <main+0xfd>
cmp    $0x400,%rax
jne    1324 <main+0x104>
or     $0x61,%r15d
jmp    1324 <main+0x104>
mov    (%r12),%rdi
call   1140 <print_usage@plt>
jmp    12f4 <main+0xd4>
xor    %eax,%eax
call   1060 <print_version@plt>
mov    $0x1,%eax
add    $0x38,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret
mov    0x2cb9(%rip),%rax
mov    (%rax),%edi
lea    0xdb1(%rip),%rsi
jmp    155b <main+0x33b>
or     $0xf4,%r15d
mov    %r15d,%r12d
and    $0x5,%r12d
je     1543 <main+0x323>
mov    $0x8,%edi
call   10d0 <malloc@plt>
mov    %rax,(%rsp)
test   %rax,%rax
je     15e1 <main+0x3c1>
mov    %r15d,%ebp
and    $0xf0,%ebp
mov    %ebp,%edi
call   10d0 <malloc@plt>
test   %rax,%rax
je     15e1 <main+0x3c1>
mov    %rax,%r14
mov    %ebp,%edi
call   10d0 <malloc@plt>
test   %rax,%rax
je     15e1 <main+0x3c1>
mov    %rax,%r13
mov    %rbp,0x20(%rsp)
mov    %r14,%rbp
mov    0x2c3a(%rip),%rax
mov    (%rax),%edx
mov    %rbx,%rdi
xor    %esi,%esi
call   10e0 <fseek@plt>
mov    (%rsp),%r14
mov    %r14,%rdi
mov    $0x1,%esi
mov    $0x8,%edx
mov    %rbx,%rcx
call   1050 <fread@plt>
mov    %r14,%rdi
mov    %r12d,%esi
call   1110 <print_header@plt>
mov    0x2c03(%rip),%rax
mov    (%rax),%edx
mov    %rbx,%rdi
mov    $0x30,%esi
call   10e0 <fseek@plt>
cmp    $0x1,%r12d
mov    $0x10,%eax
mov    $0x28,%ecx
cmove  %eax,%ecx
mov    %ecx,0xc(%rsp)
xor    %esi,%esi
xor    %r14d,%r14d
mov    %r13,0x18(%rsp)
mov    %r13,%r12
mov    %rbp,0x10(%rsp)
mov    %rbp,%r13
cs nopw 0x0(%rax,%rax,1)
mov    0x2bd9(%rip),%rbp
mov    0x0(%rbp),%edx
mov    %rbx,%rdi
call   10e0 <fseek@plt>
mov    %r13,%rdi
mov    $0x1,%esi
mov    $0x6,%edx
mov    %rbx,%rcx
call   1050 <fread@plt>
mov    0x0(%rbp),%edx
mov    %rbx,%rdi
mov    $0x4,%esi
call   10e0 <fseek@plt>
mov    %r12,%rdi
mov    $0x1,%esi
mov    $0x6,%edx
mov    %rbx,%rcx
call   1050 <fread@plt>
mov    %r13,%rdi
mov    $0x6,%esi
call   10b0 <bytes_to_num@plt>
mov    %eax,%ebp
mov    %r12,%rdi
mov    $0x6,%esi
call   10b0 <bytes_to_num@plt>
lea    0xbf6(%rip),%rdi
mov    %r14d,%esi
mov    %ebp,%edx
mov    %eax,%ecx
xor    %eax,%eax
call   1080 <printf@plt>
add    $0x18,%r13
add    $0x18,%r12
cmp    $0x1f,%r14d
mov    $0xf0,%esi
mov    $0x30,%eax
cmovb  %eax,%esi
add    $0x1,%r14d
cmp    %r14d,0xc(%rsp)
jne    1400 <main+0x1e0>
xor    %eax,%eax
call   1090 <print_seperator@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
mov    %rbx,%rdi
call   1070 <fclose@plt>
and    $0xa,%r15d
mov    (%rsp),%rdi
mov    $0x4,%esi
call   10b0 <bytes_to_num@plt>
cmp    $0x2,%r15d
jne    156a <main+0x34a>
lea    0xba2(%rip),%rsi
lea    0x29(%rsp),%rbx
mov    %rbx,%rdi
mov    %eax,%edx
call   1130 <sprintf@plt>
mov    0x10(%rsp),%rdi
mov    %rbx,%rsi
mov    0x20(%rsp),%rbp
mov    %ebp,%edx
call   1040 <write_keys@plt>
test   %rax,%rax
mov    0x18(%rsp),%rbx
jne    12f4 <main+0xd4>
mov    (%rsp),%rdi
mov    $0x4,%esi
call   10b0 <bytes_to_num@plt>
lea    0xb68(%rip),%rsi
lea    0x29(%rsp),%r14
mov    %r14,%rdi
mov    %eax,%edx
call   1130 <sprintf@plt>
mov    %rbx,%rdi
mov    %r14,%rsi
mov    %ebp,%edx
jmp    15cc <main+0x3ac>
mov    %rbx,%rdi
call   1070 <fclose@plt>
mov    0x2a76(%rip),%rax
mov    (%rax),%edi
lea    0xb4a(%rip),%rsi
mov    %r14,%rdx
xor    %eax,%eax
call   10a0 <fprintf@plt>
jmp    12f4 <main+0xd4>
lea    0xb2a(%rip),%rsi
lea    0x29(%rsp),%rdi
mov    %eax,%edx
call   1130 <sprintf@plt>
mov    0x20(%rsp),%rbx
lea    (%rbx,%rbx,1),%r14d
mov    %r14d,%edi
call   10d0 <malloc@plt>
test   %rax,%rax
mov    0x18(%rsp),%r15
je     15e1 <main+0x3c1>
mov    %rax,%rbp
mov    %rax,%rdi
mov    0x10(%rsp),%rsi
mov    %ebx,%edx
call   10f0 <memmove@plt>
mov    %ebx,%eax
lea    0x0(,%rax,4),%rdi
add    %rbp,%rdi
mov    %r15,%rsi
mov    %ebx,%edx
call   10f0 <memmove@plt>
lea    0x29(%rsp),%rsi
mov    %rbp,%rdi
mov    %r14d,%edx
call   1040 <write_keys@plt>
test   %rax,%rax
jne    12f4 <main+0xd4>
xor    %eax,%eax
jmp    12f9 <main+0xd9>
mov    0x29e0(%rip),%rax
mov    (%rax),%edi
lea    0xa53(%rip),%rsi
xor    %eax,%eax
call   10a0 <fprintf@plt>
jmp    12f4 <main+0xd4>

LLVM IR (-O0):
@.str = [5 x i8] c"hmpv\00"
@optind = global i64 0
@.str.1 = [3 x i8] c"rb\00"
@SEEK_END = global i32 0
@stderr = global i32 0
@.str.2 = [33 x i8] c"Can not allocate enough memory!\0A\00"
@SEEK_SET = global i32 0
@SEEK_CUR = global i32 0
@.str.3 = [30 x i8] c"|%03d| %012lx | %012lx |\0A\00"
@.str.4 = [2 x i8] c"\0A\00"
@.str.5 = [12 x i8] c"a%08lx.dump\00"
@.str.6 = [12 x i8] c"b%08lx.dump\00"
@.str.7 = [10 x i8] c"%08lx.bin\00"
@.str.8 = [36 x i8] c"File '%s' is not the correct size!\0A\00"
@.str.9 = [24 x i8] c"Can not open file '%s'\0A\00"
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca i8**
%6 = alloca i32*
%7 = alloca i64
%8 = alloca i32
%9 = alloca i32
%10 = alloca i8*
%11 = alloca i32*
%12 = alloca i32*
%13 = alloca i32*
%14 = alloca i32*
%15 = alloca i32*
%16 = alloca i32
%17 = alloca i32
%18 = alloca [15 x i8]
%19 = alloca i32*
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
store i32 0, i32* %9
store i8* null, i8** %10
br label %20
20: ; preds = %41, %2
%21 = load i32, i32* %4
%22 = load i8**, i8*** %5
%23 = call i32 @getopt(i32 %21, i8** %22, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str, i64 0, i64 0))
store i32 %23, i32* %8
%24 = icmp ne i32 %23, -1
br i1 %24, label %25, label %42
25: ; preds = %20
%26 = load i32, i32* %8
switch i32 %26, label %40 [
i32 109, label %27
i32 112, label %30
i32 118, label %33
i32 104, label %35
]
27: ; preds = %25
%28 = load i32, i32* %9
%29 = or i32 %28, 2
store i32 %29, i32* %9
br label %41
30: ; preds = %25
%31 = load i32, i32* %9
%32 = or i32 %31, 8
store i32 %32, i32* %9
br label %41
33: ; preds = %25
%34 = call i32 (...) @print_version()
store i32 1, i32* %3
br label %243
35: ; preds = %25
%36 = load i8**, i8*** %5
%37 = getelementptr inbounds i8*, i8** %36, i64 0
%38 = load i8*, i8** %37
%39 = call i32 @print_usage(i8* %38)
store i32 1, i32* %3
br label %243
40: ; preds = %25
store i32 1, i32* %3
br label %243
41: ; preds = %30, %27
br label %20
42: ; preds = %20
%43 = load i8**, i8*** %5
%44 = load i64, i64* @optind
%45 = getelementptr inbounds i8*, i8** %43, i64 %44
%46 = load i8*, i8** %45
store i8* %46, i8** %10
%47 = load i32, i32* %9
%48 = icmp ne i32 %47, 0
br i1 %48, label %49, label %52
49: ; preds = %42
%50 = load i8*, i8** %10
%51 = icmp ne i8* %50, null
br i1 %51, label %57, label %52
52: ; preds = %49, %42
%53 = load i8**, i8*** %5
%54 = getelementptr inbounds i8*, i8** %53, i64 0
%55 = load i8*, i8** %54
%56 = call i32 @print_usage(i8* %55)
store i32 1, i32* %3
br label %243
57: ; preds = %49
%58 = load i8*, i8** %10
%59 = call i32* @fopen(i8* %58, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0))
store i32* %59, i32** %6
%60 = icmp ne i32* %59, null
br i1 %60, label %61, label %238
61: ; preds = %57
%62 = load i32*, i32** %6
%63 = load i32, i32* @SEEK_END
%64 = call i32 @fseek(i32* %62, i32 0, i32 %63)
%65 = load i32*, i32** %6
%66 = call i64 @ftell(i32* %65)
store i64 %66, i64* %7
%67 = load i64, i64* %7
%68 = icmp eq i64 %67, 1024
br i1 %68, label %69, label %72
69: ; preds = %61
%70 = load i32, i32* %9
%71 = or i32 %70, 97
store i32 %71, i32* %9
br label %79
72: ; preds = %61
%73 = load i64, i64* %7
%74 = icmp eq i64 %73, 4096
br i1 %74, label %75, label %78
75: ; preds = %72
%76 = load i32, i32* %9
%77 = or i32 %76, 244
store i32 %77, i32* %9
br label %78
78: ; preds = %75, %72
br label %79
79: ; preds = %78, %69
%80 = load i32, i32* %9
%81 = and i32 %80, 5
%82 = icmp ne i32 %81, 0
br i1 %82, label %83, label %231
83: ; preds = %79
%84 = call i64 @malloc(i32 8)
%85 = inttoptr i64 %84 to i32*
store i32* %85, i32** %11
%86 = icmp eq i32* %85, null
br i1 %86, label %99, label %87
87: ; preds = %83
%88 = load i32, i32* %9
%89 = and i32 %88, 240
%90 = call i64 @malloc(i32 %89)
%91 = inttoptr i64 %90 to i32*
store i32* %91, i32** %12
%92 = icmp eq i32* %91, null
br i1 %92, label %99, label %93
93: ; preds = %87
%94 = load i32, i32* %9
%95 = and i32 %94, 240
%96 = call i64 @malloc(i32 %95)
%97 = inttoptr i64 %96 to i32*
store i32* %97, i32** %13
%98 = icmp eq i32* %97, null
br i1 %98, label %99, label %102
99: ; preds = %93, %87, %83
%100 = load i32, i32* @stderr
%101 = call i32 (i32, i8*, ...) @fprintf(i32 %100, i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.2, i64 0, i64 0))
store i32 1, i32* %3
br label %243
102: ; preds = %93
%103 = load i32*, i32** %12
store i32* %103, i32** %14
%104 = load i32*, i32** %13
store i32* %104, i32** %15
%105 = load i32*, i32** %6
%106 = load i32, i32* @SEEK_SET
%107 = call i32 @fseek(i32* %105, i32 0, i32 %106)
%108 = load i32*, i32** %11
%109 = load i32*, i32** %6
%110 = call i32 @fread(i32* %108, i32 1, i32 8, i32* %109)
%111 = load i32*, i32** %11
%112 = load i32, i32* %9
%113 = and i32 %112, 5
%114 = call i32 @print_header(i32* %111, i32 %113)
%115 = load i32*, i32** %6
%116 = load i32, i32* @SEEK_SET
%117 = call i32 @fseek(i32* %115, i32 48, i32 %116)
store i32 0, i32* %17
store i32 0, i32* %16
br label %118
118: ; preds = %155, %102
%119 = load i32, i32* %16
%120 = load i32, i32* %9
%121 = and i32 %120, 5
%122 = icmp eq i32 %121, 1
%123 = zext i1 %122 to i64
%124 = select i1 %122, i32 16, i32 40
%125 = icmp slt i32 %119, %124
br i1 %125, label %126, label %158
126: ; preds = %118
%127 = load i32*, i32** %6
%128 = load i32, i32* %17
%129 = load i32, i32* @SEEK_CUR
%130 = call i32 @fseek(i32* %127, i32 %128, i32 %129)
%131 = load i32*, i32** %14
%132 = load i32*, i32** %6
%133 = call i32 @fread(i32* %131, i32 1, i32 6, i32* %132)
%134 = load i32*, i32** %6
%135 = load i32, i32* @SEEK_CUR
%136 = call i32 @fseek(i32* %134, i32 4, i32 %135)
%137 = load i32*, i32** %15
%138 = load i32*, i32** %6
%139 = call i32 @fread(i32* %137, i32 1, i32 6, i32* %138)
%140 = load i32, i32* %16
%141 = load i32*, i32** %14
%142 = call i32 @bytes_to_num(i32* %141, i32 6)
%143 = load i32*, i32** %15
%144 = call i32 @bytes_to_num(i32* %143, i32 6)
%145 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.3, i64 0, i64 0), i32 %140, i32 %142, i32 %144)
%146 = load i32*, i32** %14
%147 = getelementptr inbounds i32, i32* %146, i64 6
store i32* %147, i32** %14
%148 = load i32*, i32** %15
%149 = getelementptr inbounds i32, i32* %148, i64 6
store i32* %149, i32** %15
%150 = load i32, i32* %16
%151 = icmp slt i32 %150, 31
br i1 %151, label %152, label %153
152: ; preds = %126
store i32 48, i32* %17
br label %154
153: ; preds = %126
store i32 240, i32* %17
br label %154
154: ; preds = %153, %152
br label %155
155: ; preds = %154
%156 = load i32, i32* %16
%157 = add nsw i32 %156, 1
store i32 %157, i32* %16
br label %118
158: ; preds = %118
%159 = call i32 (...) @print_seperator()
%160 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.4, i64 0, i64 0))
%161 = load i32*, i32** %6
%162 = call i32 @fclose(i32* %161)
%163 = load i32, i32* %9
%164 = and i32 %163, 10
%165 = icmp eq i32 %164, 2
br i1 %165, label %166, label %191
166: ; preds = %158
%167 = getelementptr inbounds [15 x i8], [15 x i8]* %18, i64 0, i64 0
%168 = load i32*, i32** %11
%169 = call i32 @bytes_to_num(i32* %168, i32 4)
%170 = call i32 @sprintf(i8* %167, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.5, i64 0, i64 0), i32 %169)
%171 = load i32*, i32** %12
%172 = getelementptr inbounds [15 x i8], [15 x i8]* %18, i64 0, i64 0
%173 = load i32, i32* %9
%174 = and i32 %173, 240
%175 = call i64 @write_keys(i32* %171, i8* %172, i32 %174)
%176 = icmp ne i64 %175, 0
br i1 %176, label %177, label %178
177: ; preds = %166
store i32 1, i32* %3
br label %243
178: ; preds = %166
%179 = getelementptr inbounds [15 x i8], [15 x i8]* %18, i64 0, i64 0
%180 = load i32*, i32** %11
%181 = call i32 @bytes_to_num(i32* %180, i32 4)
%182 = call i32 @sprintf(i8* %179, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.6, i64 0, i64 0), i32 %181)
%183 = load i32*, i32** %13
%184 = getelementptr inbounds [15 x i8], [15 x i8]* %18, i64 0, i64 0
%185 = load i32, i32* %9
%186 = and i32 %185, 240
%187 = call i64 @write_keys(i32* %183, i8* %184, i32 %186)
%188 = icmp ne i64 %187, 0
br i1 %188, label %189, label %190
189: ; preds = %178
store i32 1, i32* %3
br label %243
190: ; preds = %178
br label %230
191: ; preds = %158
%192 = getelementptr inbounds [15 x i8], [15 x i8]* %18, i64 0, i64 0
%193 = load i32*, i32** %11
%194 = call i32 @bytes_to_num(i32* %193, i32 4)
%195 = call i32 @sprintf(i8* %192, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.7, i64 0, i64 0), i32 %194)
%196 = load i32, i32* %9
%197 = and i32 %196, 240
%198 = mul nsw i32 %197, 2
%199 = call i64 @malloc(i32 %198)
%200 = inttoptr i64 %199 to i32*
store i32* %200, i32** %19
%201 = icmp ne i32* %200, null
br i1 %201, label %202, label %217
202: ; preds = %191
%203 = load i32*, i32** %19
%204 = load i32*, i32** %12
%205 = load i32, i32* %9
%206 = and i32 %205, 240
%207 = call i32 @memmove(i32* %203, i32* %204, i32 %206)
%208 = load i32*, i32** %19
%209 = load i32, i32* %9
%210 = and i32 %209, 240
%211 = sext i32 %210 to i64
%212 = getelementptr inbounds i32, i32* %208, i64 %211
%213 = load i32*, i32** %13
%214 = load i32, i32* %9
%215 = and i32 %214, 240
%216 = call i32 @memmove(i32* %212, i32* %213, i32 %215)
br label %220
217: ; preds = %191
%218 = load i32, i32* @stderr
%219 = call i32 (i32, i8*, ...) @fprintf(i32 %218, i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.2, i64 0, i64 0))
store i32 1, i32* %3
br label %243
220: ; preds = %202
%221 = load i32*, i32** %19
%222 = getelementptr inbounds [15 x i8], [15 x i8]* %18, i64 0, i64 0
%223 = load i32, i32* %9
%224 = and i32 %223, 240
%225 = mul nsw i32 %224, 2
%226 = call i64 @write_keys(i32* %221, i8* %222, i32 %225)
%227 = icmp ne i64 %226, 0
br i1 %227, label %228, label %229
228: ; preds = %220
store i32 1, i32* %3
br label %243
229: ; preds = %220
br label %230
230: ; preds = %229, %190
br label %237
231: ; preds = %79
%232 = load i32*, i32** %6
%233 = call i32 @fclose(i32* %232)
%234 = load i32, i32* @stderr
%235 = load i8*, i8** %10
%236 = call i32 (i32, i8*, ...) @fprintf(i32 %234, i8* getelementptr inbounds ([36 x i8], [36 x i8]* @.str.8, i64 0, i64 0), i8* %235)
store i32 1, i32* %3
br label %243
237: ; preds = %230
br label %242
238: ; preds = %57
%239 = load i32, i32* @stderr
%240 = load i8*, i8** %10
%241 = call i32 (i32, i8*, ...) @fprintf(i32 %239, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.9, i64 0, i64 0), i8* %240)
store i32 1, i32* %3
br label %243
242: ; preds = %237
store i32 0, i32* %3
br label %243
243: ; preds = %242, %238, %231, %228, %217, %189, %177, %99, %52, %40, %35, %33
%244 = load i32, i32* %3
ret i32 %244
}

LLVM IR (-O2):
@.str = [5 x i8] c"hmpv\00"
@optind = global i64 0
@.str.1 = [3 x i8] c"rb\00"
@SEEK_END = global i32 0
@stderr = global i32 0
@.str.2 = [33 x i8] c"Can not allocate enough memory!\0A\00"
@SEEK_SET = global i32 0
@SEEK_CUR = global i32 0
@.str.3 = [30 x i8] c"|%03d| %012lx | %012lx |\0A\00"
@.str.5 = [12 x i8] c"a%08lx.dump\00"
@.str.6 = [12 x i8] c"b%08lx.dump\00"
@.str.7 = [10 x i8] c"%08lx.bin\00"
@.str.8 = [36 x i8] c"File '%s' is not the correct size!\0A\00"
@.str.9 = [24 x i8] c"Can not open file '%s'\0A\00"
define i32 @main(i32 %0, i8** %1) {
%3 = alloca [15 x i8]
br label %4
4: ; preds = %13, %2
%5 = phi i32 [ 0, %2 ], [ %15, %13 ]
%6 = tail call i32 @getopt(i32 %0, i8** %1, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str, i64 0, i64 0))
switch i32 %6, label %128 [
i32 -1, label %16
i32 109, label %13
i32 112, label %7
i32 118, label %8
i32 104, label %10
]
7: ; preds = %4
br label %13
8: ; preds = %4
%9 = tail call i32 (...) @print_version()
br label %128
10: ; preds = %4
%11 = load i8*, i8** %1
%12 = tail call i32 @print_usage(i8* %11)
br label %128
13: ; preds = %4, %7
%14 = phi i32 [ 8, %7 ], [ 2, %4 ]
%15 = or i32 %5, %14
br label %4
16: ; preds = %4
%17 = load i64, i64* @optind
%18 = getelementptr inbounds i8*, i8** %1, i64 %17
%19 = load i8*, i8** %18
%20 = icmp ne i32 %5, 0
%21 = icmp ne i8* %19, null
%22 = select i1 %20, i1 %21, i1 false
br i1 %22, label %26, label %23
23: ; preds = %16
%24 = load i8*, i8** %1
%25 = tail call i32 @print_usage(i8* %24)
br label %128
26: ; preds = %16
%27 = tail call i32* @fopen(i8* %19, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0))
%28 = icmp eq i32* %27, null
br i1 %28, label %125, label %29
29: ; preds = %26
%30 = load i32, i32* @SEEK_END
%31 = tail call i32 @fseek(i32* %27, i32 0, i32 %30)
%32 = tail call i64 @ftell(i32* %27)
switch i64 %32, label %37 [
i64 1024, label %33
i64 4096, label %35
]
33: ; preds = %29
%34 = or i32 %5, 97
br label %37
35: ; preds = %29
%36 = or i32 %5, 244
br label %37
37: ; preds = %29, %35, %33
%38 = phi i32 [ %34, %33 ], [ %36, %35 ], [ %5, %29 ]
%39 = and i32 %38, 5
%40 = icmp eq i32 %39, 0
br i1 %40, label %121, label %41
41: ; preds = %37
%42 = tail call i64 @malloc(i32 8)
%43 = inttoptr i64 %42 to i32*
%44 = icmp eq i64 %42, 0
br i1 %44, label %54, label %45
45: ; preds = %41
%46 = and i32 %38, 240
%47 = tail call i64 @malloc(i32 %46)
%48 = inttoptr i64 %47 to i32*
%49 = icmp eq i64 %47, 0
br i1 %49, label %54, label %50
50: ; preds = %45
%51 = tail call i64 @malloc(i32 %46)
%52 = inttoptr i64 %51 to i32*
%53 = icmp eq i64 %51, 0
br i1 %53, label %54, label %57
54: ; preds = %41, %45, %50
%55 = load i32, i32* @stderr
%56 = tail call i32 (i32, i8*, ...) @fprintf(i32 %55, i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.2, i64 0, i64 0))
br label %128
57: ; preds = %50
%58 = load i32, i32* @SEEK_SET
%59 = tail call i32 @fseek(i32* %27, i32 0, i32 %58)
%60 = tail call i32 @fread(i32* %43, i32 1, i32 8, i32* %27)
%61 = tail call i32 @print_header(i32* %43, i32 %39)
%62 = load i32, i32* @SEEK_SET
%63 = tail call i32 @fseek(i32* %27, i32 48, i32 %62)
%64 = icmp eq i32 %39, 1
%65 = select i1 %64, i32 16, i32 40
br label %66
66: ; preds = %57, %66
%67 = phi i32 [ 0, %57 ], [ %83, %66 ]
%68 = phi i32 [ 0, %57 ], [ %84, %66 ]
%69 = phi i32* [ %52, %57 ], [ %81, %66 ]
%70 = phi i32* [ %48, %57 ], [ %80, %66 ]
%71 = load i32, i32* @SEEK_CUR
%72 = tail call i32 @fseek(i32* %27, i32 %67, i32 %71)
%73 = tail call i32 @fread(i32* %70, i32 1, i32 6, i32* %27)
%74 = load i32, i32* @SEEK_CUR
%75 = tail call i32 @fseek(i32* %27, i32 4, i32 %74)
%76 = tail call i32 @fread(i32* %69, i32 1, i32 6, i32* %27)
%77 = tail call i32 @bytes_to_num(i32* %70, i32 6)
%78 = tail call i32 @bytes_to_num(i32* %69, i32 6)
%79 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([30 x i8], [30 x i8]* @.str.3, i64 0, i64 0), i32 %68, i32 %77, i32 %78)
%80 = getelementptr inbounds i32, i32* %70, i64 6
%81 = getelementptr inbounds i32, i32* %69, i64 6
%82 = icmp ult i32 %68, 31
%83 = select i1 %82, i32 48, i32 240
%84 = add nuw nsw i32 %68, 1
%85 = icmp eq i32 %84, %65
br i1 %85, label %86, label %66
86: ; preds = %66
%87 = tail call i32 (...) @print_seperator()
%88 = tail call i32 @putchar(i32 10)
%89 = tail call i32 @fclose(i32* %27)
%90 = getelementptr inbounds [15 x i8], [15 x i8]* %3, i64 0, i64 0
%91 = and i32 %38, 10
%92 = icmp eq i32 %91, 2
%93 = tail call i32 @bytes_to_num(i32* %43, i32 4)
br i1 %92, label %94, label %103
94: ; preds = %86
%95 = call i32 @sprintf(i8* %90, i8* dereferenceable(1) getelementptr inbounds ([12 x i8], [12 x i8]* @.str.5, i64 0, i64 0), i32 %93)
%96 = call i64 @write_keys(i32* %48, i8* %90, i32 %46)
%97 = icmp eq i64 %96, 0
br i1 %97, label %98, label %119
98: ; preds = %94
%99 = call i32 @bytes_to_num(i32* %43, i32 4)
%100 = call i32 @sprintf(i8* %90, i8* dereferenceable(1) getelementptr inbounds ([12 x i8], [12 x i8]* @.str.6, i64 0, i64 0), i32 %99)
%101 = call i64 @write_keys(i32* %52, i8* %90, i32 %46)
%102 = icmp eq i64 %101, 0
br i1 %102, label %120, label %119
103: ; preds = %86
%104 = call i32 @sprintf(i8* %90, i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.7, i64 0, i64 0), i32 %93)
%105 = shl nuw nsw i32 %46, 1
%106 = tail call i64 @malloc(i32 %105)
%107 = inttoptr i64 %106 to i32*
%108 = icmp eq i64 %106, 0
br i1 %108, label %109, label %112
109: ; preds = %103
%110 = load i32, i32* @stderr
%111 = tail call i32 (i32, i8*, ...) @fprintf(i32 %110, i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.2, i64 0, i64 0))
br label %119
112: ; preds = %103
%113 = tail call i32 @memmove(i32* %107, i32* %48, i32 %46)
%114 = zext i32 %46 to i64
%115 = getelementptr inbounds i32, i32* %107, i64 %114
%116 = tail call i32 @memmove(i32* %115, i32* %52, i32 %46)
%117 = call i64 @write_keys(i32* %107, i8* %90, i32 %105)
%118 = icmp eq i64 %117, 0
br i1 %118, label %120, label %119
119: ; preds = %112, %94, %98, %109
br label %128
120: ; preds = %112, %98
br label %128
121: ; preds = %37
%122 = tail call i32 @fclose(i32* %27)
%123 = load i32, i32* @stderr
%124 = tail call i32 (i32, i8*, ...) @fprintf(i32 %123, i8* getelementptr inbounds ([36 x i8], [36 x i8]* @.str.8, i64 0, i64 0), i8* %19)
br label %128
125: ; preds = %26
%126 = load i32, i32* @stderr
%127 = tail call i32 (i32, i8*, ...) @fprintf(i32 %126, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.9, i64 0, i64 0), i8* %19)
br label %128
128: ; preds = %4, %120, %54, %119, %125, %121, %23, %10, %8
%129 = phi i32 [ 1, %10 ], [ 1, %8 ], [ 1, %121 ], [ 1, %125 ], [ 1, %23 ], [ 0, %120 ], [ 1, %54 ], [ 1, %119 ], [ 1, %4 ]
ret i32 %129
}