// File: /workspace/github_c_makefile_star2_O0/OnionIoT[P]lv_example/lvgl/src/lv_misc/lv_printf.c
// Function: vsnprintf
static int _vsnprintf(out_fct_type out, char* buffer, const size_t maxlen, const char* format, va_list va)
{
  unsigned int flags, width, precision, n;
  size_t idx = 0U;

  if (!buffer) {
    // use null output function
    out = _out_null;
  }

  while (*format)
  {
    // format specifier?  %[flags][width][.precision][length]
    if (*format != '%') {
      // no
      out(*format, buffer, idx++, maxlen);
      format++;
      continue;
    }
    else {
      // yes, evaluate it
      format++;
    }

    // evaluate flags
    flags = 0U;
    do {
      switch (*format) {
        case '0': flags |= FLAGS_ZEROPAD; format++; n = 1U; break;
        case '-': flags |= FLAGS_LEFT;    format++; n = 1U; break;
        case '+': flags |= FLAGS_PLUS;    format++; n = 1U; break;
        case ' ': flags |= FLAGS_SPACE;   format++; n = 1U; break;
        case '#': flags |= FLAGS_HASH;    format++; n = 1U; break;
        default :                                   n = 0U; break;
      }
    } while (n);

    // evaluate width field
    width = 0U;
    if (_is_digit(*format)) {
      width = _atoi(&format);
    }
    else if (*format == '*') {
      const int w = va_arg(va, int);
      if (w < 0) {
        flags |= FLAGS_LEFT;    // reverse padding
        width = (unsigned int)-w;
      }
      else {
        width = (unsigned int)w;
      }
      format++;
    }

    // evaluate precision field
    precision = 0U;
    if (*format == '.') {
      flags |= FLAGS_PRECISION;
      format++;
      if (_is_digit(*format)) {
        precision = _atoi(&format);
      }
      else if (*format == '*') {
        const int prec = (int)va_arg(va, int);
        precision = prec > 0 ? (unsigned int)prec : 0U;
        format++;
      }
    }

    // evaluate length field
    switch (*format) {
      case 'l' :
        flags |= FLAGS_LONG;
        format++;
        if (*format == 'l') {
          flags |= FLAGS_LONG_LONG;
          format++;
        }
        break;
      case 'h' :
        flags |= FLAGS_SHORT;
        format++;
        if (*format == 'h') {
          flags |= FLAGS_CHAR;
          format++;
        }
        break;
#if defined(PRINTF_SUPPORT_PTRDIFF_T)
      case 't' :
        flags |= (sizeof(ptrdiff_t) == sizeof(long) ? FLAGS_LONG : FLAGS_LONG_LONG);
        format++;
        break;
#endif
      case 'j' :
        flags |= (sizeof(intmax_t) == sizeof(long) ? FLAGS_LONG : FLAGS_LONG_LONG);
        format++;
        break;
      case 'z' :
        flags |= (sizeof(size_t) == sizeof(long) ? FLAGS_LONG : FLAGS_LONG_LONG);
        format++;
        break;
      default :
        break;
    }

    // evaluate specifier
    switch (*format) {
      case 'd' :
      case 'i' :
      case 'u' :
      case 'x' :
      case 'X' :
      case 'o' :
      case 'b' : {
        // set the base
        unsigned int base;
        if (*format == 'x' || *format == 'X') {
          base = 16U;
        }
        else if (*format == 'o') {
          base =  8U;
        }
        else if (*format == 'b') {
          base =  2U;
        }
        else {
          base = 10U;
          flags &= ~FLAGS_HASH;   // no hash for dec format
        }
        // uppercase
        if (*format == 'X') {
          flags |= FLAGS_UPPERCASE;
        }

        // no plus or space flag for u, x, X, o, b
        if ((*format != 'i') && (*format != 'd')) {
          flags &= ~(FLAGS_PLUS | FLAGS_SPACE);
        }

        // ignore '0' flag when precision is given
        if (flags & FLAGS_PRECISION) {
          flags &= ~FLAGS_ZEROPAD;
        }

        // convert the integer
        if ((*format == 'i') || (*format == 'd')) {
          // signed
          if (flags & FLAGS_LONG_LONG) {
#if defined(PRINTF_SUPPORT_LONG_LONG)
            const long long value = va_arg(va, long long);
            idx = _ntoa_long_long(out, buffer, idx, maxlen, (unsigned long long)(value > 0 ? value : 0 - value), value < 0, base, precision, width, flags);
#endif
          }
          else if (flags & FLAGS_LONG) {
            const long value = va_arg(va, long);
            idx = _ntoa_long(out, buffer, idx, maxlen, (unsigned long)(value > 0 ? value : 0 - value), value < 0, base, precision, width, flags);
          }
          else {
            const int value = (flags & FLAGS_CHAR) ? (char)va_arg(va, int) : (flags & FLAGS_SHORT) ? (short int)va_arg(va, int) : va_arg(va, int);
            idx = _ntoa_long(out, buffer, idx, maxlen, (unsigned int)(value > 0 ? value : 0 - value), value < 0, base, precision, width, flags);
          }
        }
        else {
          // unsigned
          if (flags & FLAGS_LONG_LONG) {
#if defined(PRINTF_SUPPORT_LONG_LONG)
            idx = _ntoa_long_long(out, buffer, idx, maxlen, va_arg(va, unsigned long long), false, base, precision, width, flags);
#endif
          }
          else if (flags & FLAGS_LONG) {
            idx = _ntoa_long(out, buffer, idx, maxlen, va_arg(va, unsigned long), false, base, precision, width, flags);
          }
          else {
            const unsigned int value = (flags & FLAGS_CHAR) ? (unsigned char)va_arg(va, unsigned int) : (flags & FLAGS_SHORT) ? (unsigned short int)va_arg(va, unsigned int) : va_arg(va, unsigned int);
            idx = _ntoa_long(out, buffer, idx, maxlen, value, false, base, precision, width, flags);
          }
        }
        format++;
        break;
      }
#if defined(PRINTF_SUPPORT_FLOAT)
      case 'f' :
      case 'F' :
        if (*format == 'F') flags |= FLAGS_UPPERCASE;
        idx = _ftoa(out, buffer, idx, maxlen, va_arg(va, double), precision, width, flags);
        format++;
        break;
#if defined(PRINTF_SUPPORT_EXPONENTIAL)
      case 'e':
      case 'E':
      case 'g':
      case 'G':
        if ((*format == 'g')||(*format == 'G')) flags |= FLAGS_ADAPT_EXP;
        if ((*format == 'E')||(*format == 'G')) flags |= FLAGS_UPPERCASE;
        idx = _etoa(out, buffer, idx, maxlen, va_arg(va, double), precision, width, flags);
        format++;
        break;
#endif  // PRINTF_SUPPORT_EXPONENTIAL
#endif  // PRINTF_SUPPORT_FLOAT
      case 'c' : {
        unsigned int l = 1U;
        // pre padding
        if (!(flags & FLAGS_LEFT)) {
          while (l++ < width) {
            out(' ', buffer, idx++, maxlen);
          }
        }
        // char output
        out((char)va_arg(va, int), buffer, idx++, maxlen);
        // post padding
        if (flags & FLAGS_LEFT) {
          while (l++ < width) {
            out(' ', buffer, idx++, maxlen);
          }
        }
        format++;
        break;
      }

      case 's' : {
        const char* p = va_arg(va, char*);
        unsigned int l = _strnlen_s(p, precision ? precision : (size_t)-1);
        // pre padding
        if (flags & FLAGS_PRECISION) {
          l = (l < precision ? l : precision);
        }
        if (!(flags & FLAGS_LEFT)) {
          while (l++ < width) {
            out(' ', buffer, idx++, maxlen);
          }
        }
        // string output
        while ((*p != 0) && (!(flags & FLAGS_PRECISION) || precision--)) {
          out(*(p++), buffer, idx++, maxlen);
        }
        // post padding
        if (flags & FLAGS_LEFT) {
          while (l++ < width) {
            out(' ', buffer, idx++, maxlen);
          }
        }
        format++;
        break;
      }

      case 'p' : {
        width = sizeof(void*) * 2U;
        flags |= FLAGS_ZEROPAD | FLAGS_UPPERCASE;
#if defined(PRINTF_SUPPORT_LONG_LONG)
        const bool is_ll = sizeof(uintptr_t) == sizeof(long long);
        if (is_ll) {
          idx = _ntoa_long_long(out, buffer, idx, maxlen, (uintptr_t)va_arg(va, void*), false, 16U, precision, width, flags);
        }
        else {
#endif
          idx = _ntoa_long(out, buffer, idx, maxlen, (unsigned long)((uintptr_t)va_arg(va, void*)), false, 16U, precision, width, flags);
#if defined(PRINTF_SUPPORT_LONG_LONG)
        }
#endif
        format++;
        break;
      }

      case '%' :
        out('%', buffer, idx++, maxlen);
        format++;
        break;

      default :
        out(*format, buffer, idx++, maxlen);
        format++;
        break;
    }
  }

  // termination
  out((char)0, buffer, idx < maxlen ? idx : maxlen - 1U, maxlen);

  // return written chars without terminating \0
  return (int)idx;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
subq $0x3b0, %rsp            # imm = 0x3B0
movq %rdi, -0x18(%rbp)
movq %rsi, -0x20(%rbp)
movq %rdx, -0x28(%rbp)
movq %rcx, -0x30(%rbp)
movq %r8, -0x38(%rbp)
movq $0x0, -0x50(%rbp)
cmpq $0x0, -0x20(%rbp)
jne 0x479ac
leaq 0x14d8(%rip), %rax      # 0x48e80
movq %rax, -0x18(%rbp)
jmp 0x479ae
movq -0x30(%rbp), %rax
cmpb $0x0, (%rax)
je 0x48d98
movq -0x30(%rbp), %rax
movsbl (%rax), %eax
cmpl $0x25, %eax
je 0x479fd
movq -0x18(%rbp), %rax
movq -0x30(%rbp), %rcx
movb (%rcx), %dil
movq -0x20(%rbp), %rsi
movq -0x50(%rbp), %rdx
movq %rdx, %rcx
addq $0x1, %rcx
movq %rcx, -0x50(%rbp)
movq -0x28(%rbp), %rcx
movsbl %dil, %edi
callq *%rax
movq -0x30(%rbp), %rax
addq $0x1, %rax
movq %rax, -0x30(%rbp)
jmp 0x479ae
movq -0x30(%rbp), %rax
addq $0x1, %rax
movq %rax, -0x30(%rbp)
movl $0x0, -0x3c(%rbp)
movq -0x30(%rbp), %rax
movsbl (%rax), %eax
addl $-0x20, %eax
movl %eax, %ecx
movq %rcx, -0x98(%rbp)
subl $0x10, %eax
ja 0x47ad9
movq -0x98(%rbp), %rax
leaq 0x24256(%rip), %rcx     # 0x6bc90
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movl -0x3c(%rbp), %eax
orl $0x1, %eax
movl %eax, -0x3c(%rbp)
movq -0x30(%rbp), %rax
addq $0x1, %rax
movq %rax, -0x30(%rbp)
movl $0x1, -0x48(%rbp)
jmp 0x47ae0
movl -0x3c(%rbp), %eax
orl $0x2, %eax
movl %eax, -0x3c(%rbp)
movq -0x30(%rbp), %rax
addq $0x1, %rax
movq %rax, -0x30(%rbp)
movl $0x1, -0x48(%rbp)
jmp 0x47ae0
movl -0x3c(%rbp), %eax
orl $0x4, %eax
movl %eax, -0x3c(%rbp)
movq -0x30(%rbp), %rax
addq $0x1, %rax
movq %rax, -0x30(%rbp)
movl $0x1, -0x48(%rbp)
jmp 0x47ae0
movl -0x3c(%rbp), %eax
orl $0x8, %eax
movl %eax, -0x3c(%rbp)
movq -0x30(%rbp), %rax
addq $0x1, %rax
movq %rax, -0x30(%rbp)
movl $0x1, -0x48(%rbp)
jmp 0x47ae0
movl -0x3c(%rbp), %eax
orl $0x10, %eax
movl %eax, -0x3c(%rbp)
movq -0x30(%rbp), %rax
addq $0x1, %rax
movq %rax, -0x30(%rbp)
movl $0x1, -0x48(%rbp)
jmp 0x47ae0
movl $0x0, -0x48(%rbp)
jmp 0x47ae2
cmpl $0x0, -0x48(%rbp)
jne 0x47a10
movl $0x0, -0x40(%rbp)
movq -0x30(%rbp), %rax
movsbl (%rax), %edi
callq 0x48ea0
testb $0x1, %al
jne 0x47b05
jmp 0x47b16
leaq -0x30(%rbp), %rdi
callq 0x48ed0
movl %eax, -0x40(%rbp)
jmp 0x47bb6
movq -0x30(%rbp), %rax
movsbl (%rax), %eax
cmpl $0x2a, %eax
jne 0x47bb4
movq -0x38(%rbp), %rax
movq %rax, -0xa8(%rbp)
movl (%rax), %eax
movl %eax, -0x9c(%rbp)
cmpl $0x28, %eax
ja 0x47b60
movq -0xa8(%rbp), %rcx
movl -0x9c(%rbp), %edx
movslq %edx, %rax
addq 0x10(%rcx), %rax
addl $0x8, %edx
movl %edx, (%rcx)
movq %rax, -0xb0(%rbp)
jmp 0x47b7d
movq -0xa8(%rbp), %rcx
movq 0x8(%rcx), %rax
movq %rax, %rdx
addq $0x8, %rdx
movq %rdx, 0x8(%rcx)
movq %rax, -0xb0(%rbp)
movq -0xb0(%rbp), %rax
movl (%rax), %eax
movl %eax, -0x54(%rbp)
cmpl $0x0, -0x54(%rbp)
jge 0x47ba2
movl -0x3c(%rbp), %eax
orl $0x2, %eax
movl %eax, -0x3c(%rbp)
xorl %eax, %eax
subl -0x54(%rbp), %eax
movl %eax, -0x40(%rbp)
jmp 0x47ba8
movl -0x54(%rbp), %eax
movl %eax, -0x40(%rbp)
movq -0x30(%rbp), %rax
addq $0x1, %rax
movq %rax, -0x30(%rbp)
jmp 0x47bb6
movl $0x0, -0x44(%rbp)
movq -0x30(%rbp), %rax
movsbl (%rax), %eax
cmpl $0x2e, %eax
jne 0x47cae
movl -0x3c(%rbp), %eax
orl $0x400, %eax            # imm = 0x400
movl %eax, -0x3c(%rbp)
movq -0x30(%rbp), %rax
addq $0x1, %rax
movq %rax, -0x30(%rbp)
movq -0x30(%rbp), %rax
movsbl (%rax), %edi
callq 0x48ea0
testb $0x1, %al
jne 0x47bf6
jmp 0x47c07
leaq -0x30(%rbp), %rdi
callq 0x48ed0
movl %eax, -0x44(%rbp)
jmp 0x47cac
movq -0x30(%rbp), %rax
movsbl (%rax), %eax
cmpl $0x2a, %eax
jne 0x47caa
movq -0x38(%rbp), %rax
movq %rax, -0xc0(%rbp)
movl (%rax), %eax
movl %eax, -0xb4(%rbp)
cmpl $0x28, %eax
ja 0x47c51
movq -0xc0(%rbp), %rcx
movl -0xb4(%rbp), %edx
movslq %edx, %rax
addq 0x10(%rcx), %rax
addl $0x8, %edx
movl %edx, (%rcx)
movq %rax, -0xc8(%rbp)
jmp 0x47c6e
movq -0xc0(%rbp), %rcx
movq 0x8(%rcx), %rax
movq %rax, %rdx
addq $0x8, %rdx
movq %rdx, 0x8(%rcx)
movq %rax, -0xc8(%rbp)
movq -0xc8(%rbp), %rax
movl (%rax), %eax
movl %eax, -0x58(%rbp)
cmpl $0x0, -0x58(%rbp)
jle 0x47c8b
movl -0x58(%rbp), %eax
movl %eax, -0xcc(%rbp)
jmp 0x47c95
xorl %eax, %eax
movl %eax, -0xcc(%rbp)
jmp 0x47c95
movl -0xcc(%rbp), %eax
movl %eax, -0x44(%rbp)
movq -0x30(%rbp), %rax
addq $0x1, %rax
movq %rax, -0x30(%rbp)
jmp 0x47cac
jmp 0x47cae
movq -0x30(%rbp), %rax
movsbl (%rax), %eax
addl $-0x68, %eax
movl %eax, %ecx
movq %rcx, -0xd8(%rbp)
subl $0x12, %eax
ja 0x47da5
movq -0xd8(%rbp), %rax
leaq 0x23ffc(%rip), %rcx     # 0x6bcd4
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movl -0x3c(%rbp), %eax
orl $0x100, %eax            # imm = 0x100
movl %eax, -0x3c(%rbp)
movq -0x30(%rbp), %rax
addq $0x1, %rax
movq %rax, -0x30(%rbp)
movq -0x30(%rbp), %rax
movsbl (%rax), %eax
cmpl $0x6c, %eax
jne 0x47d1b
movl -0x3c(%rbp), %eax
orl $0x200, %eax            # imm = 0x200
movl %eax, -0x3c(%rbp)
movq -0x30(%rbp), %rax
addq $0x1, %rax
movq %rax, -0x30(%rbp)
jmp 0x47da7
movl -0x3c(%rbp), %eax
orl $0x80, %eax
movl %eax, -0x3c(%rbp)
movq -0x30(%rbp), %rax
addq $0x1, %rax
movq %rax, -0x30(%rbp)
movq -0x30(%rbp), %rax
movsbl (%rax), %eax
cmpl $0x68, %eax
jne 0x47d58
movl -0x3c(%rbp), %eax
orl $0x40, %eax
movl %eax, -0x3c(%rbp)
movq -0x30(%rbp), %rax
addq $0x1, %rax
movq %rax, -0x30(%rbp)
jmp 0x47da7
movl -0x3c(%rbp), %eax
orl $0x100, %eax            # imm = 0x100
movl %eax, -0x3c(%rbp)
movq -0x30(%rbp), %rax
addq $0x1, %rax
movq %rax, -0x30(%rbp)
jmp 0x47da7
movl -0x3c(%rbp), %eax
orl $0x100, %eax            # imm = 0x100
movl %eax, -0x3c(%rbp)
movq -0x30(%rbp), %rax
addq $0x1, %rax
movq %rax, -0x30(%rbp)
jmp 0x47da7
movl -0x3c(%rbp), %eax
orl $0x100, %eax            # imm = 0x100
movl %eax, -0x3c(%rbp)
movq -0x30(%rbp), %rax
addq $0x1, %rax
movq %rax, -0x30(%rbp)
jmp 0x47da7
jmp 0x47da7
movq -0x30(%rbp), %rax
movsbl (%rax), %eax
addl $-0x25, %eax
movl %eax, %ecx
movq %rcx, -0xe0(%rbp)
subl $0x53, %eax
ja 0x48d5f
movq -0xe0(%rbp), %rax
leaq 0x23f4f(%rip), %rcx     # 0x6bd20
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movq -0x30(%rbp), %rax
movsbl (%rax), %eax
cmpl $0x78, %eax
je 0x47df2
movq -0x30(%rbp), %rax
movsbl (%rax), %eax
cmpl $0x58, %eax
jne 0x47dfb
movl $0x10, -0x5c(%rbp)
jmp 0x47e39
movq -0x30(%rbp), %rax
movsbl (%rax), %eax
cmpl $0x6f, %eax
jne 0x47e10
movl $0x8, -0x5c(%rbp)
jmp 0x47e37
movq -0x30(%rbp), %rax
movsbl (%rax), %eax
cmpl $0x62, %eax
jne 0x47e25
movl $0x2, -0x5c(%rbp)
jmp 0x47e35
movl $0xa, -0x5c(%rbp)
movl -0x3c(%rbp), %eax
andl $-0x11, %eax
movl %eax, -0x3c(%rbp)
jmp 0x47e37
jmp 0x47e39
movq -0x30(%rbp), %rax
movsbl (%rax), %eax
cmpl $0x58, %eax
jne 0x47e4e
movl -0x3c(%rbp), %eax
orl $0x20, %eax
movl %eax, -0x3c(%rbp)
movq -0x30(%rbp), %rax
movsbl (%rax), %eax
cmpl $0x69, %eax
je 0x47e6f
movq -0x30(%rbp), %rax
movsbl (%rax), %eax
cmpl $0x64, %eax
je 0x47e6f
movl -0x3c(%rbp), %eax
andl $-0xd, %eax
movl %eax, -0x3c(%rbp)
movl -0x3c(%rbp), %eax
andl $0x400, %eax            # imm = 0x400
cmpl $0x0, %eax
je 0x47e85
movl -0x3c(%rbp), %eax
andl $-0x2, %eax
movl %eax, -0x3c(%rbp)
movq -0x30(%rbp), %rax
movsbl (%rax), %eax
cmpl $0x69, %eax
je 0x47ea1
movq -0x30(%rbp), %rax
movsbl (%rax), %eax
cmpl $0x64, %eax
jne 0x4830d
movl -0x3c(%rbp), %eax
andl $0x200, %eax            # imm = 0x200
cmpl $0x0, %eax
je 0x47fc9
movq -0x38(%rbp), %rax
movq %rax, -0xf0(%rbp)
movl (%rax), %eax
movl %eax, -0xe4(%rbp)
cmpl $0x28, %eax
ja 0x47eec
movq -0xf0(%rbp), %rcx
movl -0xe4(%rbp), %edx
movslq %edx, %rax
addq 0x10(%rcx), %rax
addl $0x8, %edx
movl %edx, (%rcx)
movq %rax, -0xf8(%rbp)
jmp 0x47f09
movq -0xf0(%rbp), %rcx
movq 0x8(%rcx), %rax
movq %rax, %rdx
addq $0x8, %rdx
movq %rdx, 0x8(%rcx)
movq %rax, -0xf8(%rbp)
movq -0xf8(%rbp), %rax
movq (%rax), %rax
movq %rax, -0x68(%rbp)
movq -0x18(%rbp), %rax
movq %rax, -0x118(%rbp)
movq -0x20(%rbp), %rax
movq %rax, -0x110(%rbp)
movq -0x50(%rbp), %rax
movq %rax, -0x108(%rbp)
movq -0x28(%rbp), %rax
movq %rax, -0x100(%rbp)
cmpq $0x0, -0x68(%rbp)
jle 0x47f57
movq -0x68(%rbp), %rax
movq %rax, -0x120(%rbp)
jmp 0x47f64
xorl %eax, %eax
subq -0x68(%rbp), %rax
movq %rax, -0x120(%rbp)
movq -0x100(%rbp), %rcx
movq -0x108(%rbp), %rdx
movq -0x110(%rbp), %rsi
movq -0x118(%rbp), %rdi
movq -0x120(%rbp), %r8
cmpq $0x0, -0x68(%rbp)
setl %al
movl -0x5c(%rbp), %r9d
movl %r9d, %r10d
movl -0x44(%rbp), %r11d
movl -0x40(%rbp), %ebx
movl -0x3c(%rbp), %r14d
movq %rsp, %r9
movl %r14d, 0x18(%r9)
movl %ebx, 0x10(%r9)
movl %r11d, 0x8(%r9)
movq %r10, (%r9)
movzbl %al, %r9d
andl $0x1, %r9d
callq 0x48f30
movq %rax, -0x50(%rbp)
jmp 0x48308
movl -0x3c(%rbp), %eax
andl $0x100, %eax            # imm = 0x100
cmpl $0x0, %eax
je 0x480f1
movq -0x38(%rbp), %rax
movq %rax, -0x130(%rbp)
movl (%rax), %eax
movl %eax, -0x124(%rbp)
cmpl $0x28, %eax
ja 0x48014
movq -0x130(%rbp), %rcx
movl -0x124(%rbp), %edx
movslq %edx, %rax
addq 0x10(%rcx), %rax
addl $0x8, %edx
movl %edx, (%rcx)
movq %rax, -0x138(%rbp)
jmp 0x48031
movq -0x130(%rbp), %rcx
movq 0x8(%rcx), %rax
movq %rax, %rdx
addq $0x8, %rdx
movq %rdx, 0x8(%rcx)
movq %rax, -0x138(%rbp)
movq -0x138(%rbp), %rax
movq (%rax), %rax
movq %rax, -0x70(%rbp)
movq -0x18(%rbp), %rax
movq %rax, -0x158(%rbp)
movq -0x20(%rbp), %rax
movq %rax, -0x150(%rbp)
movq -0x50(%rbp), %rax
movq %rax, -0x148(%rbp)
movq -0x28(%rbp), %rax
movq %rax, -0x140(%rbp)
cmpq $0x0, -0x70(%rbp)
jle 0x4807f
movq -0x70(%rbp), %rax
movq %rax, -0x160(%rbp)
jmp 0x4808c
xorl %eax, %eax
subq -0x70(%rbp), %rax
movq %rax, -0x160(%rbp)
movq -0x140(%rbp), %rcx
movq -0x148(%rbp), %rdx
movq -0x150(%rbp), %rsi
movq -0x158(%rbp), %rdi
movq -0x160(%rbp), %r8
cmpq $0x0, -0x70(%rbp)
setl %al
movl -0x5c(%rbp), %r9d
movl %r9d, %r10d
movl -0x44(%rbp), %r11d
movl -0x40(%rbp), %ebx
movl -0x3c(%rbp), %r14d
movq %rsp, %r9
movl %r14d, 0x18(%r9)
movl %ebx, 0x10(%r9)
movl %r11d, 0x8(%r9)
movq %r10, (%r9)
movzbl %al, %r9d
andl $0x1, %r9d
callq 0x49090
movq %rax, -0x50(%rbp)
jmp 0x48306
movl -0x3c(%rbp), %eax
andl $0x40, %eax
cmpl $0x0, %eax
je 0x4816a
movq -0x38(%rbp), %rax
movq %rax, -0x170(%rbp)
movl (%rax), %eax
movl %eax, -0x164(%rbp)
cmpl $0x28, %eax
ja 0x48136
movq -0x170(%rbp), %rcx
movl -0x164(%rbp), %edx
movslq %edx, %rax
addq 0x10(%rcx), %rax
addl $0x8, %edx
movl %edx, (%rcx)
movq %rax, -0x178(%rbp)
jmp 0x48153
movq -0x170(%rbp), %rcx
movq 0x8(%rcx), %rax
movq %rax, %rdx
addq $0x8, %rdx
movq %rdx, 0x8(%rcx)
movq %rax, -0x178(%rbp)
movq -0x178(%rbp), %rax
movl (%rax), %eax
movsbl %al, %eax
movl %eax, -0x17c(%rbp)
jmp 0x48252
movl -0x3c(%rbp), %eax
andl $0x80, %eax
cmpl $0x0, %eax
je 0x481e0
movq -0x38(%rbp), %rax
movq %rax, -0x188(%rbp)
movl (%rax), %eax
movl %eax, -0x180(%rbp)
cmpl $0x28, %eax
ja 0x481b1
movq -0x188(%rbp), %rcx
movl -0x180(%rbp), %edx
movslq %edx, %rax
addq 0x10(%rcx), %rax
addl $0x8, %edx
movl %edx, (%rcx)
movq %rax, -0x190(%rbp)
jmp 0x481ce
movq -0x188(%rbp), %rcx
movq 0x8(%rcx), %rax
movq %rax, %rdx
addq $0x8, %rdx
movq %rdx, 0x8(%rcx)
movq %rax, -0x190(%rbp)
movq -0x190(%rbp), %rax
movl (%rax), %eax
cwtl
movl %eax, -0x194(%rbp)
jmp 0x48246
movq -0x38(%rbp), %rax
movq %rax, -0x1a0(%rbp)
movl (%rax), %eax
movl %eax, -0x198(%rbp)
cmpl $0x28, %eax
ja 0x4821a
movq -0x1a0(%rbp), %rcx
movl -0x198(%rbp), %edx
movslq %edx, %rax
addq 0x10(%rcx), %rax
addl $0x8, %edx
movl %edx, (%rcx)
movq %rax, -0x1a8(%rbp)
jmp 0x48237
movq -0x1a0(%rbp), %rcx
movq 0x8(%rcx), %rax
movq %rax, %rdx
addq $0x8, %rdx
movq %rdx, 0x8(%rcx)
movq %rax, -0x1a8(%rbp)
movq -0x1a8(%rbp), %rax
movl (%rax), %eax
movl %eax, -0x194(%rbp)
movl -0x194(%rbp), %eax
movl %eax, -0x17c(%rbp)
movl -0x17c(%rbp), %eax
movl %eax, -0x74(%rbp)
movq -0x18(%rbp), %rax
movq %rax, -0x1c8(%rbp)
movq -0x20(%rbp), %rax
movq %rax, -0x1c0(%rbp)
movq -0x50(%rbp), %rax
movq %rax, -0x1b8(%rbp)
movq -0x28(%rbp), %rax
movq %rax, -0x1b0(%rbp)
cmpl $0x0, -0x74(%rbp)
jle 0x48298
movl -0x74(%rbp), %eax
movl %eax, -0x1cc(%rbp)
jmp 0x482a3
xorl %eax, %eax
subl -0x74(%rbp), %eax
movl %eax, -0x1cc(%rbp)
movq -0x1b0(%rbp), %rcx
movq -0x1b8(%rbp), %rdx
movq -0x1c0(%rbp), %rsi
movq -0x1c8(%rbp), %rdi
movl -0x1cc(%rbp), %eax
movl %eax, %eax
movl %eax, %r8d
cmpl $0x0, -0x74(%rbp)
setl %al
movl -0x5c(%rbp), %r9d
movl %r9d, %r10d
movl -0x44(%rbp), %r11d
movl -0x40(%rbp), %ebx
movl -0x3c(%rbp), %r14d
movq %rsp, %r9
movl %r14d, 0x18(%r9)
movl %ebx, 0x10(%r9)
movl %r11d, 0x8(%r9)
movq %r10, (%r9)
movzbl %al, %r9d
andl $0x1, %r9d
callq 0x49090
movq %rax, -0x50(%rbp)
jmp 0x48308
jmp 0x4869b
movl -0x3c(%rbp), %eax
andl $0x200, %eax            # imm = 0x200
cmpl $0x0, %eax
je 0x483fa
movq -0x18(%rbp), %rax
movq %rax, -0x1f8(%rbp)
movq -0x20(%rbp), %rax
movq %rax, -0x1f0(%rbp)
movq -0x50(%rbp), %rax
movq %rax, -0x1e8(%rbp)
movq -0x28(%rbp), %rax
movq %rax, -0x1e0(%rbp)
movq -0x38(%rbp), %rax
movq %rax, -0x1d8(%rbp)
movl (%rax), %eax
movl %eax, -0x1d0(%rbp)
cmpl $0x28, %eax
ja 0x48384
movq -0x1d8(%rbp), %rcx
movl -0x1d0(%rbp), %edx
movslq %edx, %rax
addq 0x10(%rcx), %rax
addl $0x8, %edx
movl %edx, (%rcx)
movq %rax, -0x200(%rbp)
jmp 0x483a1
movq -0x1d8(%rbp), %rcx
movq 0x8(%rcx), %rax
movq %rax, %rdx
addq $0x8, %rdx
movq %rdx, 0x8(%rcx)
movq %rax, -0x200(%rbp)
movq -0x1e0(%rbp), %rcx
movq -0x1e8(%rbp), %rdx
movq -0x1f0(%rbp), %rsi
movq -0x1f8(%rbp), %rdi
movq -0x200(%rbp), %rax
movq (%rax), %r8
movl -0x5c(%rbp), %eax
movl %eax, %ebx
movl -0x44(%rbp), %r11d
movl -0x40(%rbp), %r10d
movl -0x3c(%rbp), %eax
xorl %r9d, %r9d
movq %rbx, (%rsp)
movl %r11d, 0x8(%rsp)
movl %r10d, 0x10(%rsp)
movl %eax, 0x18(%rsp)
callq 0x48f30
movq %rax, -0x50(%rbp)
jmp 0x48699
movl -0x3c(%rbp), %eax
andl $0x100, %eax            # imm = 0x100
cmpl $0x0, %eax
je 0x484e7
movq -0x18(%rbp), %rax
movq %rax, -0x230(%rbp)
movq -0x20(%rbp), %rax
movq %rax, -0x228(%rbp)
movq -0x50(%rbp), %rax
movq %rax, -0x220(%rbp)
movq -0x28(%rbp), %rax
movq %rax, -0x218(%rbp)
movq -0x38(%rbp), %rax
movq %rax, -0x210(%rbp)
movl (%rax), %eax
movl %eax, -0x204(%rbp)
cmpl $0x28, %eax
ja 0x48471
movq -0x210(%rbp), %rcx
movl -0x204(%rbp), %edx
movslq %edx, %rax
addq 0x10(%rcx), %rax
addl $0x8, %edx
movl %edx, (%rcx)
movq %rax, -0x238(%rbp)
jmp 0x4848e
movq -0x210(%rbp), %rcx
movq 0x8(%rcx), %rax
movq %rax, %rdx
addq $0x8, %rdx
movq %rdx, 0x8(%rcx)
movq %rax, -0x238(%rbp)
movq -0x218(%rbp), %rcx
movq -0x220(%rbp), %rdx
movq -0x228(%rbp), %rsi
movq -0x230(%rbp), %rdi
movq -0x238(%rbp), %rax
movq (%rax), %r8
movl -0x5c(%rbp), %eax
movl %eax, %ebx
movl -0x44(%rbp), %r11d
movl -0x40(%rbp), %r10d
movl -0x3c(%rbp), %eax
xorl %r9d, %r9d
movq %rbx, (%rsp)
movl %r11d, 0x8(%rsp)
movl %r10d, 0x10(%rsp)
movl %eax, 0x18(%rsp)
callq 0x49090
movq %rax, -0x50(%rbp)
jmp 0x48697
movl -0x3c(%rbp), %eax
andl $0x40, %eax
cmpl $0x0, %eax
je 0x48560
movq -0x38(%rbp), %rax
movq %rax, -0x248(%rbp)
movl (%rax), %eax
movl %eax, -0x23c(%rbp)
cmpl $0x28, %eax
ja 0x4852c
movq -0x248(%rbp), %rcx
movl -0x23c(%rbp), %edx
movslq %edx, %rax
addq 0x10(%rcx), %rax
addl $0x8, %edx
movl %edx, (%rcx)
movq %rax, -0x250(%rbp)
jmp 0x48549
movq -0x248(%rbp), %rcx
movq 0x8(%rcx), %rax
movq %rax, %rdx
addq $0x8, %rdx
movq %rdx, 0x8(%rcx)
movq %rax, -0x250(%rbp)
movq -0x250(%rbp), %rax
movl (%rax), %eax
movzbl %al, %eax
movl %eax, -0x254(%rbp)
jmp 0x4864a
movl -0x3c(%rbp), %eax
andl $0x80, %eax
cmpl $0x0, %eax
je 0x485d8
movq -0x38(%rbp), %rax
movq %rax, -0x260(%rbp)
movl (%rax), %eax
movl %eax, -0x258(%rbp)
cmpl $0x28, %eax
ja 0x485a7
movq -0x260(%rbp), %rcx
movl -0x258(%rbp), %edx
movslq %edx, %rax
addq 0x10(%rcx), %rax
addl $0x8, %edx
movl %edx, (%rcx)
movq %rax, -0x268(%rbp)
jmp 0x485c4
movq -0x260(%rbp), %rcx
movq 0x8(%rcx), %rax
movq %rax, %rdx
addq $0x8, %rdx
movq %rdx, 0x8(%rcx)
movq %rax, -0x268(%rbp)
movq -0x268(%rbp), %rax
movl (%rax), %eax
movzwl %ax, %eax
movl %eax, -0x26c(%rbp)
jmp 0x4863e
movq -0x38(%rbp), %rax
movq %rax, -0x278(%rbp)
movl (%rax), %eax
movl %eax, -0x270(%rbp)
cmpl $0x28, %eax
ja 0x48612
movq -0x278(%rbp), %rcx
movl -0x270(%rbp), %edx
movslq %edx, %rax
addq 0x10(%rcx), %rax
addl $0x8, %edx
movl %edx, (%rcx)
movq %rax, -0x280(%rbp)
jmp 0x4862f
movq -0x278(%rbp), %rcx
movq 0x8(%rcx), %rax
movq %rax, %rdx
addq $0x8, %rdx
movq %rdx, 0x8(%rcx)
movq %rax, -0x280(%rbp)
movq -0x280(%rbp), %rax
movl (%rax), %eax
movl %eax, -0x26c(%rbp)
movl -0x26c(%rbp), %eax
movl %eax, -0x254(%rbp)
movl -0x254(%rbp), %eax
movl %eax, -0x78(%rbp)
movq -0x18(%rbp), %rdi
movq -0x20(%rbp), %rsi
movq -0x50(%rbp), %rdx
movq -0x28(%rbp), %rcx
movl -0x78(%rbp), %eax
movl %eax, %r8d
movl -0x5c(%rbp), %eax
movl %eax, %ebx
movl -0x44(%rbp), %r11d
movl -0x40(%rbp), %r10d
movl -0x3c(%rbp), %eax
xorl %r9d, %r9d
movq %rbx, (%rsp)
movl %r11d, 0x8(%rsp)
movl %r10d, 0x10(%rsp)
movl %eax, 0x18(%rsp)
callq 0x49090
movq %rax, -0x50(%rbp)
jmp 0x48699
jmp 0x4869b
movq -0x30(%rbp), %rax
addq $0x1, %rax
movq %rax, -0x30(%rbp)
jmp 0x48d93
movq -0x30(%rbp), %rax
movsbl (%rax), %eax
cmpl $0x46, %eax
jne 0x486c1
movl -0x3c(%rbp), %eax
orl $0x20, %eax
movl %eax, -0x3c(%rbp)
movq -0x18(%rbp), %rax
movq %rax, -0x2b8(%rbp)
movq -0x20(%rbp), %rax
movq %rax, -0x2b0(%rbp)
movq -0x50(%rbp), %rax
movq %rax, -0x2a8(%rbp)
movq -0x28(%rbp), %rax
movq %rax, -0x2a0(%rbp)
movq -0x38(%rbp), %rax
movq %rax, -0x298(%rbp)
movq %rax, %rcx
addq $0x4, %rcx
movq %rcx, -0x290(%rbp)
movl 0x4(%rax), %eax
movl %eax, -0x284(%rbp)
cmpl $0xa0, %eax
ja 0x4873f
movq -0x290(%rbp), %rcx
movl -0x284(%rbp), %edx
movq -0x298(%rbp), %rsi
movslq %edx, %rax
addq 0x10(%rsi), %rax
addl $0x10, %edx
movl %edx, (%rcx)
movq %rax, -0x2c0(%rbp)
jmp 0x4875c
movq -0x298(%rbp), %rcx
movq 0x8(%rcx), %rax
movq %rax, %rdx
addq $0x8, %rdx
movq %rdx, 0x8(%rcx)
movq %rax, -0x2c0(%rbp)
movq -0x2a0(%rbp), %rcx
movq -0x2a8(%rbp), %rdx
movq -0x2b0(%rbp), %rsi
movq -0x2b8(%rbp), %rdi
movq -0x2c0(%rbp), %rax
movsd (%rax), %xmm0
movl -0x44(%rbp), %r8d
movl -0x40(%rbp), %r9d
movl -0x3c(%rbp), %eax
movl %eax, (%rsp)
callq 0x491f0
movq %rax, -0x50(%rbp)
movq -0x30(%rbp), %rax
addq $0x1, %rax
movq %rax, -0x30(%rbp)
jmp 0x48d93
movq -0x30(%rbp), %rax
movsbl (%rax), %eax
cmpl $0x67, %eax
je 0x487c3
movq -0x30(%rbp), %rax
movsbl (%rax), %eax
cmpl $0x47, %eax
jne 0x487ce
movl -0x3c(%rbp), %eax
orl $0x800, %eax            # imm = 0x800
movl %eax, -0x3c(%rbp)
movq -0x30(%rbp), %rax
movsbl (%rax), %eax
cmpl $0x45, %eax
je 0x487e6
movq -0x30(%rbp), %rax
movsbl (%rax), %eax
cmpl $0x47, %eax
jne 0x487ef
movl -0x3c(%rbp), %eax
orl $0x20, %eax
movl %eax, -0x3c(%rbp)
movq -0x18(%rbp), %rax
movq %rax, -0x2f8(%rbp)
movq -0x20(%rbp), %rax
movq %rax, -0x2f0(%rbp)
movq -0x50(%rbp), %rax
movq %rax, -0x2e8(%rbp)
movq -0x28(%rbp), %rax
movq %rax, -0x2e0(%rbp)
movq -0x38(%rbp), %rax
movq %rax, -0x2d8(%rbp)
movq %rax, %rcx
addq $0x4, %rcx
movq %rcx, -0x2d0(%rbp)
movl 0x4(%rax), %eax
movl %eax, -0x2c4(%rbp)
cmpl $0xa0, %eax
ja 0x4886d
movq -0x2d0(%rbp), %rcx
movl -0x2c4(%rbp), %edx
movq -0x2d8(%rbp), %rsi
movslq %edx, %rax
addq 0x10(%rsi), %rax
addl $0x10, %edx
movl %edx, (%rcx)
movq %rax, -0x300(%rbp)
jmp 0x4888a
movq -0x2d8(%rbp), %rcx
movq 0x8(%rcx), %rax
movq %rax, %rdx
addq $0x8, %rdx
movq %rdx, 0x8(%rcx)
movq %rax, -0x300(%rbp)
movq -0x2e0(%rbp), %rcx
movq -0x2e8(%rbp), %rdx
movq -0x2f0(%rbp), %rsi
movq -0x2f8(%rbp), %rdi
movq -0x300(%rbp), %rax
movsd (%rax), %xmm0
movl -0x44(%rbp), %r8d
movl -0x40(%rbp), %r9d
movl -0x3c(%rbp), %eax
movl %eax, (%rsp)
callq 0x49800
movq %rax, -0x50(%rbp)
movq -0x30(%rbp), %rax
addq $0x1, %rax
movq %rax, -0x30(%rbp)
jmp 0x48d93
movl $0x1, -0x7c(%rbp)
movl -0x3c(%rbp), %eax
andl $0x2, %eax
cmpl $0x0, %eax
jne 0x48923
jmp 0x488ed
movl -0x7c(%rbp), %eax
movl %eax, %ecx
addl $0x1, %ecx
movl %ecx, -0x7c(%rbp)
cmpl -0x40(%rbp), %eax
jae 0x48921
movq -0x18(%rbp), %rax
movq -0x20(%rbp), %rsi
movq -0x50(%rbp), %rdx
movq %rdx, %rcx
addq $0x1, %rcx
movq %rcx, -0x50(%rbp)
movq -0x28(%rbp), %rcx
movl $0x20, %edi
callq *%rax
jmp 0x488ed
jmp 0x48923
movq -0x18(%rbp), %rax
movq %rax, -0x318(%rbp)
movq -0x38(%rbp), %rax
movq %rax, -0x310(%rbp)
movl (%rax), %eax
movl %eax, -0x304(%rbp)
cmpl $0x28, %eax
ja 0x48968
movq -0x310(%rbp), %rcx
movl -0x304(%rbp), %edx
movslq %edx, %rax
addq 0x10(%rcx), %rax
addl $0x8, %edx
movl %edx, (%rcx)
movq %rax, -0x320(%rbp)
jmp 0x48985
movq -0x310(%rbp), %rcx
movq 0x8(%rcx), %rax
movq %rax, %rdx
addq $0x8, %rdx
movq %rdx, 0x8(%rcx)
movq %rax, -0x320(%rbp)
movq -0x318(%rbp), %rax
movq -0x320(%rbp), %rcx
movl (%rcx), %ecx
movb %cl, %dil
movq -0x20(%rbp), %rsi
movq -0x50(%rbp), %rdx
movq %rdx, %rcx
addq $0x1, %rcx
movq %rcx, -0x50(%rbp)
movq -0x28(%rbp), %rcx
movsbl %dil, %edi
callq *%rax
movl -0x3c(%rbp), %eax
andl $0x2, %eax
cmpl $0x0, %eax
je 0x489f8
jmp 0x489c2
movl -0x7c(%rbp), %eax
movl %eax, %ecx
addl $0x1, %ecx
movl %ecx, -0x7c(%rbp)
cmpl -0x40(%rbp), %eax
jae 0x489f6
movq -0x18(%rbp), %rax
movq -0x20(%rbp), %rsi
movq -0x50(%rbp), %rdx
movq %rdx, %rcx
addq $0x1, %rcx
movq %rcx, -0x50(%rbp)
movq -0x28(%rbp), %rcx
movl $0x20, %edi
callq *%rax
jmp 0x489c2
jmp 0x489f8
movq -0x30(%rbp), %rax
addq $0x1, %rax
movq %rax, -0x30(%rbp)
jmp 0x48d93
movq -0x38(%rbp), %rax
movq %rax, -0x330(%rbp)
movl (%rax), %eax
movl %eax, -0x324(%rbp)
cmpl $0x28, %eax
ja 0x48a43
movq -0x330(%rbp), %rcx
movl -0x324(%rbp), %edx
movslq %edx, %rax
addq 0x10(%rcx), %rax
addl $0x8, %edx
movl %edx, (%rcx)
movq %rax, -0x338(%rbp)
jmp 0x48a60
movq -0x330(%rbp), %rcx
movq 0x8(%rcx), %rax
movq %rax, %rdx
addq $0x8, %rdx
movq %rdx, 0x8(%rcx)
movq %rax, -0x338(%rbp)
movq -0x338(%rbp), %rax
movq (%rax), %rax
movq %rax, -0x88(%rbp)
movq -0x88(%rbp), %rax
movq %rax, -0x340(%rbp)
cmpl $0x0, -0x44(%rbp)
je 0x48a91
movl -0x44(%rbp), %eax
movq %rax, -0x348(%rbp)
jmp 0x48aa1
movq $-0x1, %rax
movq %rax, -0x348(%rbp)
jmp 0x48aa1
movq -0x340(%rbp), %rdi
movq -0x348(%rbp), %rsi
callq 0x49d80
movl %eax, -0x8c(%rbp)
movl -0x3c(%rbp), %eax
andl $0x400, %eax            # imm = 0x400
cmpl $0x0, %eax
je 0x48af5
movl -0x8c(%rbp), %eax
cmpl -0x44(%rbp), %eax
jae 0x48ae0
movl -0x8c(%rbp), %eax
movl %eax, -0x34c(%rbp)
jmp 0x48ae9
movl -0x44(%rbp), %eax
movl %eax, -0x34c(%rbp)
movl -0x34c(%rbp), %eax
movl %eax, -0x8c(%rbp)
movl -0x3c(%rbp), %eax
andl $0x2, %eax
cmpl $0x0, %eax
jne 0x48b3e
jmp 0x48b02
movl -0x8c(%rbp), %eax
movl %eax, %ecx
addl $0x1, %ecx
movl %ecx, -0x8c(%rbp)
cmpl -0x40(%rbp), %eax
jae 0x48b3c
movq -0x18(%rbp), %rax
movq -0x20(%rbp), %rsi
movq -0x50(%rbp), %rdx
movq %rdx, %rcx
addq $0x1, %rcx
movq %rcx, -0x50(%rbp)
movq -0x28(%rbp), %rcx
movl $0x20, %edi
callq *%rax
jmp 0x48b02
jmp 0x48b3e
jmp 0x48b40
movq -0x88(%rbp), %rax
movsbl (%rax), %ecx
xorl %eax, %eax
cmpl $0x0, %ecx
movb %al, -0x34d(%rbp)
je 0x48b90
movl -0x3c(%rbp), %ecx
andl $0x400, %ecx            # imm = 0x400
movb $0x1, %al
cmpl $0x0, %ecx
movb %al, -0x34e(%rbp)
je 0x48b84
movl -0x44(%rbp), %eax
movl %eax, %ecx
addl $-0x1, %ecx
movl %ecx, -0x44(%rbp)
cmpl $0x0, %eax
setne %al
movb %al, -0x34e(%rbp)
movb -0x34e(%rbp), %al
movb %al, -0x34d(%rbp)
movb -0x34d(%rbp), %al
testb $0x1, %al
jne 0x48b9c
jmp 0x48bda
movq -0x18(%rbp), %rax
movq -0x88(%rbp), %rcx
movq %rcx, %rdx
addq $0x1, %rdx
movq %rdx, -0x88(%rbp)
movb (%rcx), %dil
movq -0x20(%rbp), %rsi
movq -0x50(%rbp), %rdx
movq %rdx, %rcx
addq $0x1, %rcx
movq %rcx, -0x50(%rbp)
movq -0x28(%rbp), %rcx
movsbl %dil, %edi
callq *%rax
jmp 0x48b40
movl -0x3c(%rbp), %eax
andl $0x2, %eax
cmpl $0x0, %eax
je 0x48c23
jmp 0x48be7
movl -0x8c(%rbp), %eax
movl %eax, %ecx
addl $0x1, %ecx
movl %ecx, -0x8c(%rbp)
cmpl -0x40(%rbp), %eax
jae 0x48c21
movq -0x18(%rbp), %rax
movq -0x20(%rbp), %rsi
movq -0x50(%rbp), %rdx
movq %rdx, %rcx
addq $0x1, %rcx
movq %rcx, -0x50(%rbp)
movq -0x28(%rbp), %rcx
movl $0x20, %edi
callq *%rax
jmp 0x48be7
jmp 0x48c23
movq -0x30(%rbp), %rax
addq $0x1, %rax
movq %rax, -0x30(%rbp)
jmp 0x48d93
movl $0x10, -0x40(%rbp)
movl -0x3c(%rbp), %eax
orl $0x21, %eax
movl %eax, -0x3c(%rbp)
movb $0x1, -0x8d(%rbp)
movq -0x18(%rbp), %rax
movq %rax, -0x380(%rbp)
movq -0x20(%rbp), %rax
movq %rax, -0x378(%rbp)
movq -0x50(%rbp), %rax
movq %rax, -0x370(%rbp)
movq -0x28(%rbp), %rax
movq %rax, -0x368(%rbp)
movq -0x38(%rbp), %rax
movq %rax, -0x360(%rbp)
movl (%rax), %eax
movl %eax, -0x354(%rbp)
cmpl $0x28, %eax
ja 0x48cb1
movq -0x360(%rbp), %rcx
movl -0x354(%rbp), %edx
movslq %edx, %rax
addq 0x10(%rcx), %rax
addl $0x8, %edx
movl %edx, (%rcx)
movq %rax, -0x388(%rbp)
jmp 0x48cce
movq -0x360(%rbp), %rcx
movq 0x8(%rcx), %rax
movq %rax, %rdx
addq $0x8, %rdx
movq %rdx, 0x8(%rcx)
movq %rax, -0x388(%rbp)
movq -0x368(%rbp), %rcx
movq -0x370(%rbp), %rdx
movq -0x378(%rbp), %rsi
movq -0x380(%rbp), %rdi
movq -0x388(%rbp), %rax
movq (%rax), %r8
movl -0x44(%rbp), %r11d
movl -0x40(%rbp), %r10d
movl -0x3c(%rbp), %eax
xorl %r9d, %r9d
movq $0x10, (%rsp)
movl %r11d, 0x8(%rsp)
movl %r10d, 0x10(%rsp)
movl %eax, 0x18(%rsp)
callq 0x48f30
movq %rax, -0x50(%rbp)
movq -0x30(%rbp), %rax
addq $0x1, %rax
movq %rax, -0x30(%rbp)
jmp 0x48d93
movq -0x18(%rbp), %rax
movq -0x20(%rbp), %rsi
movq -0x50(%rbp), %rdx
movq %rdx, %rcx
addq $0x1, %rcx
movq %rcx, -0x50(%rbp)
movq -0x28(%rbp), %rcx
movl $0x25, %edi
callq *%rax
movq -0x30(%rbp), %rax
addq $0x1, %rax
movq %rax, -0x30(%rbp)
jmp 0x48d93
movq -0x18(%rbp), %rax
movq -0x30(%rbp), %rcx
movb (%rcx), %dil
movq -0x20(%rbp), %rsi
movq -0x50(%rbp), %rdx
movq %rdx, %rcx
addq $0x1, %rcx
movq %rcx, -0x50(%rbp)
movq -0x28(%rbp), %rcx
movsbl %dil, %edi
callq *%rax
movq -0x30(%rbp), %rax
addq $0x1, %rax
movq %rax, -0x30(%rbp)
jmp 0x479ae
movq -0x18(%rbp), %rax
movq %rax, -0x398(%rbp)
movq -0x20(%rbp), %rax
movq %rax, -0x390(%rbp)
movq -0x50(%rbp), %rax
cmpq -0x28(%rbp), %rax
jae 0x48dc5
movq -0x50(%rbp), %rax
movq %rax, -0x3a0(%rbp)
jmp 0x48dd4
movq -0x28(%rbp), %rax
subq $0x1, %rax
movq %rax, -0x3a0(%rbp)
movq -0x398(%rbp), %rax
movq -0x390(%rbp), %rsi
movq -0x3a0(%rbp), %rdx
movq -0x28(%rbp), %rcx
xorl %edi, %edi
callq *%rax
movq -0x50(%rbp), %rax
addq $0x3b0, %rsp            # imm = 0x3B0
popq %rbx
popq %r14
popq %rbp
retq
nopw %cs:(%rax,%rax)