// File: /workspace/github_cpp_makefile_star2_O1/tomfunkhouser[P]gaps/pkgs/jpeg/jdmarker.c
// Function: read_markers
METHODDEF(int)
read_markers (j_decompress_ptr cinfo)
{
  /* Outer loop repeats once for each marker. */
  for (;;) {
    /* Collect the marker proper, unless we already did. */
    /* NB: first_marker() enforces the requirement that SOI appear first. */
    if (cinfo->unread_marker == 0) {
      if (! cinfo->marker->saw_SOI) {
	if (! first_marker(cinfo))
	  return JPEG_SUSPENDED;
      } else {
	if (! next_marker(cinfo))
	  return JPEG_SUSPENDED;
      }
    }
    /* At this point cinfo->unread_marker contains the marker code and the
     * input point is just past the marker proper, but before any parameters.
     * A suspension will cause us to return with this state still true.
     */
    switch (cinfo->unread_marker) {
    case M_SOI:
      if (! get_soi(cinfo))
	return JPEG_SUSPENDED;
      break;

    case M_SOF0:		/* Baseline */
    case M_SOF1:		/* Extended sequential, Huffman */
      if (! get_sof(cinfo, FALSE, FALSE))
	return JPEG_SUSPENDED;
      break;

    case M_SOF2:		/* Progressive, Huffman */
      if (! get_sof(cinfo, TRUE, FALSE))
	return JPEG_SUSPENDED;
      break;

    case M_SOF9:		/* Extended sequential, arithmetic */
      if (! get_sof(cinfo, FALSE, TRUE))
	return JPEG_SUSPENDED;
      break;

    case M_SOF10:		/* Progressive, arithmetic */
      if (! get_sof(cinfo, TRUE, TRUE))
	return JPEG_SUSPENDED;
      break;

    /* Currently unsupported SOFn types */
    case M_SOF3:		/* Lossless, Huffman */
    case M_SOF5:		/* Differential sequential, Huffman */
    case M_SOF6:		/* Differential progressive, Huffman */
    case M_SOF7:		/* Differential lossless, Huffman */
    case M_JPG:			/* Reserved for JPEG extensions */
    case M_SOF11:		/* Lossless, arithmetic */
    case M_SOF13:		/* Differential sequential, arithmetic */
    case M_SOF14:		/* Differential progressive, arithmetic */
    case M_SOF15:		/* Differential lossless, arithmetic */
      ERREXIT1(cinfo, JERR_SOF_UNSUPPORTED, cinfo->unread_marker);
      break;

    case M_SOS:
      if (! get_sos(cinfo))
	return JPEG_SUSPENDED;
      cinfo->unread_marker = 0;	/* processed the marker */
      return JPEG_REACHED_SOS;
    
    case M_EOI:
      TRACEMS(cinfo, 1, JTRC_EOI);
      cinfo->unread_marker = 0;	/* processed the marker */
      return JPEG_REACHED_EOI;
      
    case M_DAC:
      if (! get_dac(cinfo))
	return JPEG_SUSPENDED;
      break;
      
    case M_DHT:
      if (! get_dht(cinfo))
	return JPEG_SUSPENDED;
      break;
      
    case M_DQT:
      if (! get_dqt(cinfo))
	return JPEG_SUSPENDED;
      break;
      
    case M_DRI:
      if (! get_dri(cinfo))
	return JPEG_SUSPENDED;
      break;
      
    case M_APP0:
    case M_APP1:
    case M_APP2:
    case M_APP3:
    case M_APP4:
    case M_APP5:
    case M_APP6:
    case M_APP7:
    case M_APP8:
    case M_APP9:
    case M_APP10:
    case M_APP11:
    case M_APP12:
    case M_APP13:
    case M_APP14:
    case M_APP15:
      if (! (*((my_marker_ptr) cinfo->marker)->process_APPn[
		cinfo->unread_marker - (int) M_APP0]) (cinfo))
	return JPEG_SUSPENDED;
      break;
      
    case M_COM:
      if (! (*((my_marker_ptr) cinfo->marker)->process_COM) (cinfo))
	return JPEG_SUSPENDED;
      break;

    case M_RST0:		/* these are all parameterless */
    case M_RST1:
    case M_RST2:
    case M_RST3:
    case M_RST4:
    case M_RST5:
    case M_RST6:
    case M_RST7:
    case M_TEM:
      TRACEMS1(cinfo, 1, JTRC_PARMLESS_MARKER, cinfo->unread_marker);
      break;

    case M_DNL:			/* Ignore DNL ... perhaps the wrong thing */
      if (! skip_variable(cinfo))
	return JPEG_SUSPENDED;
      break;

    default:			/* must be DHP, EXP, JPGn, or RESn */
      /* For now, we treat the reserved markers as fatal errors since they are
       * likely to be used to signal incompatible JPEG Part 3 extensions.
       * Once the JPEG 3 version-number marker is well defined, this code
       * ought to change!
       */
      ERREXIT1(cinfo, JERR_UNKNOWN_MARKER, cinfo->unread_marker);
      break;
    }
    /* Successfully processed marker, so reset state variable */
    cinfo->unread_marker = 0;
  } /* end loop */
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x168, %rsp            # imm = 0x168
movq %rdi, %rbx
leaq 0x108(%rdi), %rax
movq %rax, 0x48(%rsp)
leaq 0xe8(%rdi), %rax
movq %rax, 0x40(%rsp)
leaq 0x140(%rdi), %rax
movq %rax, 0x18(%rsp)
leaq 0x150(%rdi), %rax
movq %rax, 0x58(%rsp)
leaq 0x160(%rdi), %rax
movq %rax, 0x50(%rsp)
leaq 0x2d6a8(%rip), %r14     # 0xaa844
cmpl $0x0, 0x21c(%rbx)
jne 0x7d260
movq 0x248(%rbx), %rax
cmpl $0x0, 0x18(%rax)
je 0x7d1cb
movq %rbx, %rdi
callq 0x7cf3e
testl %eax, %eax
jne 0x7d260
jmp 0x7dd0c
movq 0x28(%rbx), %r14
movq 0x8(%r14), %r15
testq %r15, %r15
jne 0x7d1eb
movq %rbx, %rdi
callq *0x18(%r14)
testl %eax, %eax
je 0x7dd0c
movq 0x8(%r14), %r15
movq (%r14), %r12
movzbl (%r12), %ebp
decq %r15
je 0x7d1fd
incq %r12
jmp 0x7d213
movq %rbx, %rdi
callq *0x18(%r14)
testl %eax, %eax
je 0x7dd0c
movq (%r14), %r12
movq 0x8(%r14), %r15
movb (%r12), %al
movzbl %al, %r13d
movl %ebp, %eax
notb %al
movl %r13d, %ecx
xorb $-0x28, %cl
orb %al, %cl
je 0x7d245
movq (%rbx), %rax
movl $0x35, 0x28(%rax)
movl %ebp, 0x2c(%rax)
movq (%rbx), %rax
movl %r13d, 0x30(%rax)
movq (%rbx), %rax
movq %rbx, %rdi
callq *(%rax)
decq %r15
incq %r12
movl %r13d, 0x21c(%rbx)
movq %r12, (%r14)
movq %r15, 0x8(%r14)
leaq 0x2d5e4(%rip), %r14     # 0xaa844
movl 0x21c(%rbx), %eax
leal -0xc0(%rax), %ecx
cmpl $0x3e, %ecx
ja 0x7d2c7
movslq (%r14,%rcx,4), %rcx
addq %r14, %rcx
jmpq *%rcx
cltq
movq 0x248(%rbx), %rcx
movq %rbx, %rdi
callq *-0x6d0(%rcx,%rax,8)
testl %eax, %eax
jne 0x7d9e2
jmp 0x7dd0c
movq (%rbx), %rcx
movl $0x3c, 0x28(%rcx)
movl %eax, 0x2c(%rcx)
movq (%rbx), %rax
movq %rbx, %rdi
callq *(%rax)
jmp 0x7d9e2
xorl %ebp, %ebp
movq %rbx, %rdi
xorl %esi, %esi
jmp 0x7d33a
movq %rbx, %rdi
callq 0x7dda5
jmp 0x7d28d
cmpl $0x1, %eax
jne 0x7d2ec
movq (%rbx), %rcx
movl $0x5c, 0x28(%rcx)
movl %eax, 0x2c(%rcx)
movq (%rbx), %rax
movq %rbx, %rdi
movl $0x1, %esi
callq *0x8(%rax)
jmp 0x7d9e2
movq (%rbx), %rcx
movl $0x44, 0x28(%rcx)
jmp 0x7d2a4
movq 0x28(%rbx), %rbp
movq 0x8(%rbp), %r14
testq %r14, %r14
jne 0x7d317
movq %rbx, %rdi
callq *0x18(%rbp)
testl %eax, %eax
je 0x7dd0c
movq 0x8(%rbp), %r14
movq (%rbp), %r15
movzbl (%r15), %r12d
decq %r14
je 0x7d4a1
incq %r15
jmp 0x7d4b7
xorl %ebp, %ebp
movq %rbx, %rdi
movl $0x1, %esi
xorl %edx, %edx
jmp 0x7d3ac
movq 0x28(%rbx), %r14
movq 0x8(%r14), %r15
testq %r15, %r15
jne 0x7d35e
movq %rbx, %rdi
callq *0x18(%r14)
testl %eax, %eax
je 0x7dd0c
movq 0x8(%r14), %r15
movq (%r14), %r12
movzbl (%r12), %r13d
decq %r15
je 0x7d6ff
incq %r12
jmp 0x7d715
movq 0x248(%rbx), %rax
movq %rbx, %rdi
callq *0x28(%rax)
jmp 0x7d28d
movq %rbx, %rdi
movl $0x1, %esi
movl $0x1, %edx
callq 0x7e370
jmp 0x7d28d
xorl %ebp, %ebp
movq %rbx, %rdi
xorl %esi, %esi
movl $0x1, %edx
callq 0x7e370
testl %eax, %eax
jne 0x7d9e2
jmp 0x7dd0e
movq (%rbx), %rax
movl $0x66, 0x28(%rax)
movq %rbx, %rdi
movl $0x1, %esi
callq *0x8(%rax)
movq 0x248(%rbx), %rax
cmpl $0x0, 0x18(%rax)
je 0x7d3ef
movq (%rbx), %rax
movl $0x3d, 0x28(%rax)
movq %rbx, %rdi
callq *(%rax)
movq 0x18(%rsp), %rax
xorps %xmm0, %xmm0
movups %xmm0, (%rax)
movq 0x58(%rsp), %rax
movaps 0x2cc0a(%rip), %xmm0    # 0xaa010
movups %xmm0, (%rax)
movq 0x50(%rsp), %rax
movdqa 0x2cc0a(%rip), %xmm0    # 0xaa020
movdqu %xmm0, (%rax)
movq $0x0, 0x170(%rbx)
xorl %eax, %eax
movl %eax, 0x3c(%rbx)
movl %eax, 0x188(%rbx)
movw $0x101, 0x178(%rbx)     # imm = 0x101
movb %al, 0x17a(%rbx)
movq $0x10001, 0x17c(%rbx) # imm = 0x10001
movb %al, 0x184(%rbx)
movq 0x248(%rbx), %rax
movl $0x1, 0x18(%rax)
jmp 0x7d9e2
movq 0x28(%rbx), %r13
movq 0x8(%r13), %r14
testq %r14, %r14
jne 0x7d483
movq %rbx, %rdi
callq *0x18(%r13)
testl %eax, %eax
je 0x7dd0c
movq 0x8(%r13), %r14
movq (%r13), %r15
movzbl (%r15), %r12d
decq %r14
movq %r13, 0x8(%rsp)
je 0x7d747
incq %r15
jmp 0x7d75e
movq %rbx, %rdi
callq *0x18(%rbp)
testl %eax, %eax
je 0x7dd0c
movq (%rbp), %r15
movq 0x8(%rbp), %r14
shll $0x8, %r12d
decq %r14
movzbl (%r15), %eax
incq %r15
movq %r12, %rcx
orq %rax, %rcx
addq %rax, %r12
addq $-0x2, %r12
cmpq $0x13, %rcx
jb 0x7d6de
movq %r12, 0x10(%rsp)
testq %r14, %r14
jne 0x7d4fc
movq %rbx, %rdi
callq *0x18(%rbp)
testl %eax, %eax
je 0x7dd0c
movq (%rbp), %r15
movq 0x8(%rbp), %r14
movzbl (%r15), %ecx
movq (%rbx), %rax
movl $0x50, 0x28(%rax)
movq %rcx, 0x8(%rsp)
movl %ecx, 0x2c(%rax)
movq (%rbx), %rax
movq %rbx, %rdi
movl $0x1, %esi
callq *0x8(%rax)
movb $0x0, 0x20(%rsp)
incq %r15
decq %r14
xorl %r13d, %r13d
movl $0x1, %r12d
testq %r14, %r14
jne 0x7d54f
movq %rbx, %rdi
callq *0x18(%rbp)
testl %eax, %eax
je 0x7dd0c
movq (%rbp), %r15
movq 0x8(%rbp), %r14
movzbl (%r15), %eax
movb %al, 0x20(%rsp,%r12)
addl %eax, %r13d
incq %r12
incq %r15
decq %r14
cmpq $0x11, %r12
jne 0x7d534
addq $-0x11, 0x10(%rsp)
movq (%rbx), %rax
movd 0x21(%rsp), %xmm0
pxor %xmm1, %xmm1
punpcklbw %xmm1, %xmm0    # xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1],xmm0[2],xmm1[2],xmm0[3],xmm1[3],xmm0[4],xmm1[4],xmm0[5],xmm1[5],xmm0[6],xmm1[6],xmm0[7],xmm1[7]
punpcklwd %xmm1, %xmm0    # xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1],xmm0[2],xmm1[2],xmm0[3],xmm1[3]
movdqu %xmm0, 0x2c(%rax)
movd 0x25(%rsp), %xmm0
punpcklbw %xmm1, %xmm0    # xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1],xmm0[2],xmm1[2],xmm0[3],xmm1[3],xmm0[4],xmm1[4],xmm0[5],xmm1[5],xmm0[6],xmm1[6],xmm0[7],xmm1[7]
punpcklwd %xmm1, %xmm0    # xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1],xmm0[2],xmm1[2],xmm0[3],xmm1[3]
movdqu %xmm0, 0x3c(%rax)
movl $0x56, %r12d
movl %r12d, 0x28(%rax)
movq %rbx, %rdi
movl $0x2, %esi
callq *0x8(%rax)
movq (%rbx), %rax
movd 0x29(%rsp), %xmm0
pxor %xmm1, %xmm1
punpcklbw %xmm1, %xmm0    # xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1],xmm0[2],xmm1[2],xmm0[3],xmm1[3],xmm0[4],xmm1[4],xmm0[5],xmm1[5],xmm0[6],xmm1[6],xmm0[7],xmm1[7]
punpcklwd %xmm1, %xmm0    # xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1],xmm0[2],xmm1[2],xmm0[3],xmm1[3]
movdqu %xmm0, 0x2c(%rax)
movd 0x2d(%rsp), %xmm0
punpcklbw %xmm1, %xmm0    # xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1],xmm0[2],xmm1[2],xmm0[3],xmm1[3],xmm0[4],xmm1[4],xmm0[5],xmm1[5],xmm0[6],xmm1[6],xmm0[7],xmm1[7]
punpcklwd %xmm1, %xmm0    # xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1],xmm0[2],xmm1[2],xmm0[3],xmm1[3]
movdqu %xmm0, 0x3c(%rax)
movl %r12d, 0x28(%rax)
movq %rbx, %rdi
movl $0x2, %esi
callq *0x8(%rax)
movl %r13d, %r12d
cmpl $0x100, %r13d           # imm = 0x100
ja 0x7d601
cmpq %r12, 0x10(%rsp)
jge 0x7d610
movq (%rbx), %rax
movl $0x8, 0x28(%rax)
movq %rbx, %rdi
callq *(%rax)
testl %r13d, %r13d
je 0x7d649
xorl %r13d, %r13d
testq %r14, %r14
jne 0x7d633
movq %rbx, %rdi
callq *0x18(%rbp)
testl %eax, %eax
je 0x7dd0c
movq (%rbp), %r15
movq 0x8(%rbp), %r14
decq %r14
movb (%r15), %al
incq %r15
movb %al, 0x60(%rsp,%r13)
incq %r13
cmpq %r13, %r12
jne 0x7d618
movq 0x8(%rsp), %rsi
leal -0x10(%rsi), %eax
testb $0x10, %sil
movq 0x48(%rsp), %rcx
leaq (%rcx,%rax,8), %rcx
movl %esi, %edx
cmovel %esi, %eax
movq 0x40(%rsp), %rsi
leaq (%rsi,%rdx,8), %r13
cmovneq %rcx, %r13
cmpl $0x4, %eax
jl 0x7d68a
movq (%rbx), %rcx
movl $0x1e, 0x28(%rcx)
movl %eax, 0x2c(%rcx)
movq (%rbx), %rax
movq %rbx, %rdi
callq *(%rax)
cmpq $0x0, (%r13)
jne 0x7d69d
movq %rbx, %rdi
callq 0x86a82
movq %rax, (%r13)
movq 0x10(%rsp), %rax
subq %r12, %rax
movq %rax, %r12
movq (%r13), %rax
movb 0x30(%rsp), %cl
movb %cl, 0x10(%rax)
movdqa 0x20(%rsp), %xmm0
movdqu %xmm0, (%rax)
movq (%r13), %rdi
addq $0x11, %rdi
movl $0x100, %edx            # imm = 0x100
leaq 0x60(%rsp), %rsi
callq 0xe370
cmpq $0x10, %r12
jg 0x7d4dc
testq %r12, %r12
je 0x7d6f2
movq (%rbx), %rax
movl $0xb, 0x28(%rax)
movq %rbx, %rdi
callq *(%rax)
movq %r15, (%rbp)
movq %r14, 0x8(%rbp)
jmp 0x7d9db
movq %rbx, %rdi
callq *0x18(%r14)
testl %eax, %eax
je 0x7dd0c
movq (%r14), %r12
movq 0x8(%r14), %r15
shll $0x8, %r13d
movzbl (%r12), %eax
orl %eax, %r13d
cmpl $0x4, %r13d
je 0x7d736
movq (%rbx), %rax
movl $0xb, 0x28(%rax)
movq %rbx, %rdi
callq *(%rax)
decq %r15
je 0x7d965
incq %r12
jmp 0x7d97b
movq %rbx, %rdi
callq *0x18(%r13)
testl %eax, %eax
je 0x7dd0c
movq (%r13), %r15
movq 0x8(%r13), %r14
shll $0x8, %r12d
decq %r14
movzbl (%r15), %eax
incq %r15
movq %r12, %rcx
orq %rax, %rcx
addq %rax, %r12
addq $-0x2, %r12
cmpq $0x3, %rcx
jb 0x7d943
testq %r14, %r14
jne 0x7d7a3
movq %rbx, %rdi
movq 0x8(%rsp), %r14
callq *0x18(%r14)
testl %eax, %eax
je 0x7dd0c
movq (%r14), %r15
movq 0x8(%r14), %r14
movq %r12, 0x38(%rsp)
movzbl (%r15), %r12d
movl %r12d, %eax
shrl $0x4, %eax
movq %r12, 0x10(%rsp)
andl $0xf, %r12d
movq (%rbx), %rcx
movl $0x51, 0x28(%rcx)
movl %r12d, 0x2c(%rcx)
movq (%rbx), %rcx
movl %eax, 0x30(%rcx)
movq (%rbx), %rax
movq %rbx, %rdi
movl $0x1, %esi
callq *0x8(%rax)
cmpl $0x4, %r12d
jb 0x7d7f9
movq (%rbx), %rax
movl $0x1f, 0x28(%rax)
movl %r12d, 0x2c(%rax)
movq (%rbx), %rax
movq %rbx, %rdi
callq *(%rax)
cmpq $0x0, 0xc8(%rbx,%r12,8)
jne 0x7d814
movq %rbx, %rdi
callq 0x86a68
movq %rax, 0xc8(%rbx,%r12,8)
movq 0xc8(%rbx,%r12,8), %r12
decq %r14
incq %r15
xorl %r13d, %r13d
cmpb $0x10, 0x10(%rsp)
jae 0x7d852
testq %r14, %r14
jne 0x7d84c
movq %rbx, %rdi
movq 0x8(%rsp), %r14
callq *0x18(%r14)
testl %eax, %eax
je 0x7dd0c
movq (%r14), %r15
movq 0x8(%r14), %r14
movzbl (%r15), %ebp
jmp 0x7d8a4
testq %r14, %r14
jne 0x7d872
movq %rbx, %rdi
movq 0x8(%rsp), %r14
callq *0x18(%r14)
testl %eax, %eax
je 0x7dd0c
movq (%r14), %r15
movq 0x8(%r14), %r14
movzbl (%r15), %ebp
decq %r14
je 0x7d880
incq %r15
jmp 0x7d89b
movq %rbx, %rdi
movq 0x8(%rsp), %r14
callq *0x18(%r14)
testl %eax, %eax
je 0x7dd0c
movq (%r14), %r15
movq 0x8(%r14), %r14
shll $0x8, %ebp
movzbl (%r15), %eax
orl %eax, %ebp
leaq 0x2d3d5(%rip), %rax     # 0xaac80
movslq (%rax,%r13,4), %rax
movw %bp, (%r12,%rax,2)
incq %r13
decq %r14
incq %r15
cmpq $0x40, %r13
jne 0x7d825
movq (%rbx), %rax
cmpl $0x2, 0x7c(%rax)
pxor %xmm1, %xmm1
jl 0x7d91e
movq $-0x8, %r13
movq (%rbx), %rax
movq 0x10(%r12,%r13,2), %xmm0
punpcklwd %xmm1, %xmm0    # xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1],xmm0[2],xmm1[2],xmm0[3],xmm1[3]
movdqu %xmm0, 0x2c(%rax)
movq 0x18(%r12,%r13,2), %xmm0
punpcklwd %xmm1, %xmm0    # xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1],xmm0[2],xmm1[2],xmm0[3],xmm1[3]
movdqu %xmm0, 0x3c(%rax)
movl $0x5d, 0x28(%rax)
movq %rbx, %rdi
movl $0x2, %esi
callq *0x8(%rax)
pxor %xmm1, %xmm1
addq $0x8, %r13
cmpq $0x38, %r13
jb 0x7d8db
xorl %eax, %eax
cmpb $0x10, 0x10(%rsp)
setb %al
shll $0x6, %eax
movq 0x38(%rsp), %r12
addq %rax, %r12
addq $-0x81, %r12
testq %r12, %r12
jg 0x7d783
testq %r12, %r12
je 0x7d957
movq (%rbx), %rax
movl $0xb, 0x28(%rax)
movq %rbx, %rdi
callq *(%rax)
movq 0x8(%rsp), %rax
movq %r15, (%rax)
movq %r14, 0x8(%rax)
jmp 0x7d9db
movq %rbx, %rdi
callq *0x18(%r14)
testl %eax, %eax
je 0x7dd0c
movq (%r14), %r12
movq 0x8(%r14), %r15
movzbl (%r12), %ebp
decq %r15
je 0x7d98a
incq %r12
jmp 0x7d9a0
movq %rbx, %rdi
callq *0x18(%r14)
testl %eax, %eax
je 0x7dd0c
movq (%r14), %r12
movq 0x8(%r14), %r15
shll $0x8, %ebp
decq %r15
movzbl (%r12), %r13d
incq %r12
orl %ebp, %r13d
movq (%rbx), %rax
movl $0x52, 0x28(%rax)
movl %r13d, 0x2c(%rax)
movq (%rbx), %rax
movq %rbx, %rdi
movl $0x1, %esi
callq *0x8(%rax)
movl %r13d, 0x170(%rbx)
movq %r12, (%r14)
movq %r15, 0x8(%r14)
leaq 0x2ce62(%rip), %r14     # 0xaa844
movl $0x0, 0x21c(%rbx)
jmp 0x7d19c
movq (%rbx), %rax
movl $0x55, 0x28(%rax)
movq %rbx, %rdi
movl $0x1, %esi
callq *0x8(%rax)
movl $0x0, 0x21c(%rbx)
movl $0x2, %ebp
jmp 0x7dd0e
movq 0x28(%rbx), %rax
movq (%rax), %rcx
movq %rax, 0x8(%rsp)
movq 0x8(%rax), %r12
movq 0x248(%rbx), %rax
cmpl $0x0, 0x1c(%rax)
jne 0x7da4c
movq (%rbx), %rax
movl $0x3e, 0x28(%rax)
movq %rbx, %rdi
movq %rcx, %r14
callq *(%rax)
movq %r14, %rcx
testq %r12, %r12
jne 0x7da6c
movq %rbx, %rdi
movq 0x8(%rsp), %r14
callq *0x18(%r14)
testl %eax, %eax
je 0x7dd0c
movq (%r14), %rcx
movq 0x8(%r14), %r12
movzbl (%rcx), %r13d
decq %r12
je 0x7da7a
incq %rcx
jmp 0x7da95
movq %rbx, %rdi
movq 0x8(%rsp), %r14
callq *0x18(%r14)
testl %eax, %eax
je 0x7dd0c
movq (%r14), %rcx
movq 0x8(%r14), %r12
movzbl (%rcx), %r14d
decq %r12
je 0x7daa3
incq %rcx
jmp 0x7dabe
movq %rbx, %rdi
movq 0x8(%rsp), %r15
callq *0x18(%r15)
testl %eax, %eax
je 0x7dd0c
movq (%r15), %rcx
movq 0x8(%r15), %r12
shll $0x8, %r13d
orq %r13, %r14
movq %rcx, %r13
movzbl (%rcx), %r15d
movq (%rbx), %rax
movl $0x67, 0x28(%rax)
movl %r15d, 0x2c(%rax)
movq (%rbx), %rax
movq %rbx, %rdi
movl $0x1, %esi
callq *0x8(%rax)
leal 0x6(,%r15,2), %eax
cmpl %eax, %r14d
jne 0x7dafd
leal -0x5(%r15), %eax
cmpb $-0x5, %al
ja 0x7db0c
movq (%rbx), %rax
movl $0xb, 0x28(%rax)
movq %rbx, %rdi
callq *(%rax)
movl %r15d, 0x1b0(%rbx)
movq %r13, %rcx
incq %rcx
decq %r12
testl %r15d, %r15d
je 0x7dc0c
movl %r15d, %eax
movq %rax, 0x18(%rsp)
xorl %ebp, %ebp
testq %r12, %r12
jne 0x7db4f
movq %rbx, %rdi
movq 0x8(%rsp), %r14
callq *0x18(%r14)
testl %eax, %eax
je 0x7dd0c
movq (%r14), %rcx
movq 0x8(%r14), %r12
movzbl (%rcx), %r13d
decq %r12
je 0x7db5d
incq %rcx
jmp 0x7db78
movq %rbx, %rdi
movq 0x8(%rsp), %r14
callq *0x18(%r14)
testl %eax, %eax
je 0x7dd0c
movq (%r14), %rcx
movq 0x8(%r14), %r12
movzbl (%rcx), %r15d
movq 0x130(%rbx), %r14
movl 0x38(%rbx), %eax
testl %eax, %eax
movq %rcx, 0x10(%rsp)
jle 0x7db9c
cmpl %r13d, (%r14)
je 0x7dbb2
addq $0x60, %r14
decl %eax
jne 0x7db8f
movq (%rbx), %rax
movl $0x5, 0x28(%rax)
movl %r13d, 0x2c(%rax)
movq (%rbx), %rax
movq %rbx, %rdi
callq *(%rax)
movq %r14, 0x1b8(%rbx,%rbp,8)
movl %r15d, %eax
shrl $0x4, %eax
movl %eax, 0x14(%r14)
andl $0xf, %r15d
movl %r15d, 0x18(%r14)
movq (%rbx), %rax
movl %r13d, 0x2c(%rax)
movl 0x14(%r14), %ecx
movl %ecx, 0x30(%rax)
movl 0x18(%r14), %ecx
movl %ecx, 0x34(%rax)
movl $0x68, 0x28(%rax)
movq %rbx, %rdi
movl $0x1, %esi
callq *0x8(%rax)
incq %rbp
movq 0x10(%rsp), %rcx
incq %rcx
decq %r12
cmpq 0x18(%rsp), %rbp
jne 0x7db2f
testq %r12, %r12
jne 0x7dc2c
movq %rbx, %rdi
movq 0x8(%rsp), %r14
callq *0x18(%r14)
testl %eax, %eax
je 0x7dd0c
movq (%r14), %rcx
movq 0x8(%r14), %r12
movzbl (%rcx), %eax
movl %eax, 0x20c(%rbx)
decq %r12
je 0x7dc3f
incq %rcx
jmp 0x7dc5a
movq %rbx, %rdi
movq 0x8(%rsp), %r14
callq *0x18(%r14)
testl %eax, %eax
je 0x7dd0c
movq (%r14), %rcx
movq 0x8(%r14), %r12
movzbl (%rcx), %eax
movl %eax, 0x210(%rbx)
decq %r12
je 0x7dc6d
incq %rcx
jmp 0x7dc88
movq %rbx, %rdi
movq 0x8(%rsp), %r14
callq *0x18(%r14)
testl %eax, %eax
je 0x7dd0c
movq (%r14), %rcx
movq 0x8(%r14), %r12
decq %r12
movzbl (%rcx), %eax
incq %rcx
movq %rcx, %r14
movl %eax, %ecx
shrl $0x4, %ecx
movl %ecx, 0x214(%rbx)
andl $0xf, %eax
movl %eax, 0x218(%rbx)
movq (%rbx), %rax
movl 0x20c(%rbx), %ecx
movl %ecx, 0x2c(%rax)
movl 0x210(%rbx), %ecx
movl %ecx, 0x30(%rax)
movl 0x214(%rbx), %ecx
movl %ecx, 0x34(%rax)
movl 0x218(%rbx), %ecx
movl %ecx, 0x38(%rax)
movl $0x69, 0x28(%rax)
movl $0x1, %ebp
movq %rbx, %rdi
movl $0x1, %esi
callq *0x8(%rax)
movq 0x248(%rbx), %rax
xorl %ecx, %ecx
movl %ecx, 0x20(%rax)
incl 0xac(%rbx)
movq 0x8(%rsp), %rax
movq %r14, (%rax)
movq %r12, 0x8(%rax)
movl %ecx, 0x21c(%rbx)
jmp 0x7dd0e
xorl %ebp, %ebp
movl %ebp, %eax
addq $0x168, %rsp            # imm = 0x168
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq