// File: /workspace/github_cpp_makefile_star2_O2/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 $0x148, %rsp            # imm = 0x148
movq %rdi, %rbx
leaq 0x108(%rdi), %rax
movq %rax, 0x18(%rsp)
leaq 0xe8(%rdi), %rax
movq %rax, (%rsp)
movl 0x21c(%rdi), %r14d
leaq 0x2b1c6(%rip), %r15     # 0x9b5a4
pushq $0x2
popq %r13
testl %r14d, %r14d
jne 0x704ad
movq 0x248(%rbx), %rax
cmpl $0x0, 0x18(%rax)
je 0x70414
movq %rbx, %rdi
callq 0x70203
testl %eax, %eax
je 0x70f38
movl 0x21c(%rbx), %r14d
jmp 0x704ad
movq 0x28(%rbx), %r15
movq 0x8(%r15), %r12
testq %r12, %r12
jne 0x70434
movq %rbx, %rdi
callq *0x18(%r15)
testl %eax, %eax
je 0x70f38
movq 0x8(%r15), %r12
movq (%r15), %r13
movzbl (%r13), %ebp
decq %r12
je 0x70446
incq %r13
jmp 0x7045c
movq %rbx, %rdi
callq *0x18(%r15)
testl %eax, %eax
je 0x70f38
movq (%r15), %r13
movq 0x8(%r15), %r12
movb (%r13), %al
movzbl %al, %r14d
movl %ebp, %eax
notb %al
movl %r14d, %ecx
xorb $-0x28, %cl
orb %al, %cl
je 0x7048e
movq (%rbx), %rax
movl $0x35, 0x28(%rax)
movl %ebp, 0x2c(%rax)
movq (%rbx), %rax
movl %r14d, 0x30(%rax)
movq (%rbx), %rax
movq %rbx, %rdi
callq *(%rax)
decq %r12
incq %r13
movl %r14d, 0x21c(%rbx)
movq %r13, (%r15)
movq %r12, 0x8(%r15)
pushq $0x2
popq %r13
leaq 0x2b0f7(%rip), %r15     # 0x9b5a4
leal -0xc0(%r14), %eax
cmpl $0x3e, %eax
ja 0x70517
movslq (%r15,%rax,4), %rax
addq %r15, %rax
jmpq *%rax
movq 0x248(%rbx), %rax
addl $0xffffff20, %r14d      # imm = 0xFFFFFF20
movq %rbx, %rdi
callq *0x30(%rax,%r14,8)
testl %eax, %eax
jne 0x70bd9
jmp 0x70f38
movq (%rbx), %rax
movl $0x3c, 0x28(%rax)
movl %r14d, 0x2c(%rax)
movq (%rbx), %rax
movq %rbx, %rdi
callq *(%rax)
jmp 0x70bd9
xorl %r12d, %r12d
movq %rbx, %rdi
xorl %esi, %esi
jmp 0x70592
movq %rbx, %rdi
callq 0x70fcf
jmp 0x704d8
cmpl $0x1, %r14d
jne 0x7053c
movq (%rbx), %rax
movl $0x5c, 0x28(%rax)
movl %r14d, 0x2c(%rax)
movq (%rbx), %rax
movq %rbx, %rdi
pushq $0x1
popq %rsi
callq *0x8(%rax)
jmp 0x70bd9
movq (%rbx), %rax
movl $0x44, 0x28(%rax)
jmp 0x704ef
movq 0x28(%rbx), %r12
movq 0x8(%r12), %r14
testq %r14, %r14
jne 0x7056f
movq %rbx, %rdi
callq *0x18(%r12)
testl %eax, %eax
je 0x70f38
movq 0x8(%r12), %r14
pushq $0x2
popq %r13
movq (%r12), %rbp
movzbl (%rbp), %r15d
decq %r14
je 0x706ee
incq %rbp
jmp 0x7070b
xorl %r12d, %r12d
movq %rbx, %rdi
pushq $0x1
popq %rsi
xorl %edx, %edx
jmp 0x705fe
movq 0x28(%rbx), %r14
movq 0x8(%r14), %r15
testq %r15, %r15
jne 0x705b6
movq %rbx, %rdi
callq *0x18(%r14)
testl %eax, %eax
je 0x70f38
movq 0x8(%r14), %r15
movq (%r14), %r12
movzbl (%r12), %r13d
decq %r15
je 0x70924
incq %r12
jmp 0x7093a
movq 0x248(%rbx), %rax
movq %rbx, %rdi
callq *0x28(%rax)
jmp 0x704d8
movq %rbx, %rdi
pushq $0x1
popq %rdx
movl %edx, %esi
callq 0x71594
jmp 0x704d8
xorl %r12d, %r12d
movq %rbx, %rdi
xorl %esi, %esi
pushq $0x1
popq %rdx
callq 0x71594
testl %eax, %eax
jne 0x70bd9
jmp 0x70f3b
movq (%rbx), %rax
movl $0x66, 0x28(%rax)
movq %rbx, %rdi
pushq $0x1
popq %rsi
callq *0x8(%rax)
movq 0x248(%rbx), %rax
cmpl $0x0, 0x18(%rax)
je 0x7063f
movq (%rbx), %rax
movl $0x3d, 0x28(%rax)
movq %rbx, %rdi
callq *(%rax)
pushq $-0x10
popq %rax
testq %rax, %rax
je 0x70664
movb $0x0, 0x150(%rbx,%rax)
movb $0x1, 0x160(%rbx,%rax)
movb $0x5, 0x170(%rbx,%rax)
incq %rax
jmp 0x70642
andq $0x0, 0x170(%rbx)
andl $0x0, 0x3c(%rbx)
andl $0x0, 0x188(%rbx)
movw $0x101, 0x178(%rbx)     # imm = 0x101
xorl %eax, %eax
movb %al, 0x17a(%rbx)
movq $0x10001, 0x17c(%rbx) # imm = 0x10001
movb %al, 0x184(%rbx)
movq 0x248(%rbx), %rax
movl $0x1, 0x18(%rax)
jmp 0x70bd9
movq 0x28(%rbx), %r12
movq 0x8(%r12), %r15
testq %r15, %r15
jne 0x706cf
movq %rbx, %rdi
callq *0x18(%r12)
testl %eax, %eax
je 0x70f38
movq 0x8(%r12), %r15
movq (%r12), %rbp
movzbl (%rbp), %r14d
decq %r15
movq %r12, 0x8(%rsp)
je 0x7096c
incq %rbp
jmp 0x70985
movq %rbx, %rdi
callq *0x18(%r12)
testl %eax, %eax
je 0x70f38
movq (%r12), %rbp
movq 0x8(%r12), %r14
pushq $0x2
popq %r13
shll $0x8, %r15d
decq %r14
movzbl (%rbp), %eax
incq %rbp
addq %rax, %r15
addq $-0x2, %r15
cmpq $0x11, %r15
jl 0x70c07
movq %r15, 0x10(%rsp)
testq %r14, %r14
jne 0x7074d
movq %rbx, %rdi
callq *0x18(%r12)
testl %eax, %eax
je 0x70f38
movq (%r12), %rbp
movq 0x8(%r12), %r14
movzbl (%rbp), %ecx
movq (%rbx), %rax
movl $0x50, 0x28(%rax)
movq %rcx, 0x8(%rsp)
movl %ecx, 0x2c(%rax)
movq (%rbx), %rax
movq %rbx, %rdi
pushq $0x1
popq %rsi
callq *0x8(%rax)
movb $0x0, 0x20(%rsp)
xorl %r13d, %r13d
pushq $0x1
popq %r15
incq %rbp
decq %r14
cmpq $0x11, %r15
je 0x707b6
testq %r14, %r14
jne 0x707a5
movq %rbx, %rdi
callq *0x18(%r12)
testl %eax, %eax
je 0x70f38
movq (%r12), %rbp
movq 0x8(%r12), %r14
movzbl (%rbp), %eax
movb %al, 0x20(%rsp,%r15)
addl %eax, %r13d
incq %r15
jmp 0x7077b
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)
pushq $0x56
popq %rcx
movl %ecx, 0x28(%rax)
movq %rbx, %rdi
pushq $0x2
popq %r15
movl %r15d, %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)
pushq $0x56
popq %rcx
movl %ecx, 0x28(%rax)
movq %rbx, %rdi
movl %r15d, %esi
callq *0x8(%rax)
movl %r13d, %r15d
cmpl $0x100, %r13d           # imm = 0x100
ja 0x7084b
cmpq %r15, 0x10(%rsp)
jge 0x7085a
movq (%rbx), %rax
movl $0x8, 0x28(%rax)
movq %rbx, %rdi
callq *(%rax)
xorl %r13d, %r13d
cmpq %r13, %r15
je 0x70893
testq %r14, %r14
jne 0x70880
movq %rbx, %rdi
callq *0x18(%r12)
testl %eax, %eax
je 0x70f38
movq (%r12), %rbp
movq 0x8(%r12), %r14
decq %r14
movb (%rbp), %al
incq %rbp
movb %al, 0x40(%rsp,%r13)
incq %r13
jmp 0x7085d
movq 0x8(%rsp), %rsi
leal -0x10(%rsi), %eax
testb $0x10, %sil
movq 0x18(%rsp), %rcx
leaq (%rcx,%rax,8), %rcx
movl %esi, %edx
cmovel %esi, %eax
movq (%rsp), %rsi
leaq (%rsi,%rdx,8), %r13
cmovneq %rcx, %r13
cmpl $0x4, %eax
jl 0x708d3
movq (%rbx), %rcx
movl $0x1e, 0x28(%rcx)
movl %eax, 0x2c(%rcx)
movq (%rbx), %rax
movq %rbx, %rdi
callq *(%rax)
movq (%r13), %rax
testq %rax, %rax
jne 0x708e8
movq %rbx, %rdi
callq 0x79138
movq %rax, (%r13)
movq 0x10(%rsp), %rcx
subq %r15, %rcx
movq %rcx, %r15
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 0x40(%rsp), %rsi
callq 0xe380
pushq $0x2
popq %r13
jmp 0x70720
movq %rbx, %rdi
callq *0x18(%r14)
testl %eax, %eax
je 0x70f38
movq (%r14), %r12
movq 0x8(%r14), %r15
shll $0x8, %r13d
movzbl (%r12), %eax
orl %eax, %r13d
cmpl $0x4, %r13d
je 0x7095b
movq (%rbx), %rax
movl $0xb, 0x28(%rax)
movq %rbx, %rdi
callq *(%rax)
decq %r15
je 0x70b5a
incq %r12
jmp 0x70b70
movq %rbx, %rdi
callq *0x18(%r12)
testl %eax, %eax
je 0x70f38
movq (%r12), %rbp
movq 0x8(%r12), %r15
shll $0x8, %r14d
decq %r15
movzbl (%rbp), %eax
incq %rbp
leaq (%r14,%rax), %r12
addq $-0x2, %r12
testq %r12, %r12
jle 0x70be8
testq %r15, %r15
jne 0x709c4
movq %rbx, %rdi
movq 0x8(%rsp), %r14
callq *0x18(%r14)
testl %eax, %eax
je 0x70f38
movq (%r14), %rbp
movq 0x8(%r14), %r15
movq %r12, 0x38(%rsp)
movzbl (%rbp), %r14d
movl %r14d, %eax
shrl $0x4, %eax
movq %r14, 0x10(%rsp)
andl $0xf, %r14d
movq (%rbx), %rcx
movl $0x51, 0x28(%rcx)
movl %r14d, 0x2c(%rcx)
movq (%rbx), %rcx
movl %eax, 0x30(%rcx)
movq (%rbx), %rax
movq %rbx, %rdi
pushq $0x1
popq %rsi
callq *0x8(%rax)
cmpl $0x4, %r14d
jb 0x70a19
movq (%rbx), %rax
movl $0x1f, 0x28(%rax)
movl %r14d, 0x2c(%rax)
movq (%rbx), %rax
movq %rbx, %rdi
callq *(%rax)
movq 0xc8(%rbx,%r14,8), %r12
testq %r12, %r12
jne 0x70a39
movq %rbx, %rdi
callq 0x79121
movq %rax, %r12
movq %rax, 0xc8(%rbx,%r14,8)
xorl %r13d, %r13d
decq %r15
incq %rbp
cmpq $0x40, %r13
je 0x70ae7
cmpb $0x10, 0x10(%rsp)
jae 0x70a7a
testq %r15, %r15
jne 0x70a73
movq %rbx, %rdi
movq 0x8(%rsp), %r14
callq *0x18(%r14)
testl %eax, %eax
je 0x70f38
movq (%r14), %rbp
movq 0x8(%r14), %r15
movzbl (%rbp), %r14d
jmp 0x70acf
testq %r15, %r15
jne 0x70a9a
movq %rbx, %rdi
movq 0x8(%rsp), %r14
callq *0x18(%r14)
testl %eax, %eax
je 0x70f38
movq (%r14), %rbp
movq 0x8(%r14), %r15
movzbl (%rbp), %r14d
decq %r15
je 0x70aa9
incq %rbp
jmp 0x70ac4
movq %rbx, %rdi
movq 0x8(%rsp), %r15
callq *0x18(%r15)
testl %eax, %eax
je 0x70f38
movq (%r15), %rbp
movq 0x8(%r15), %r15
shll $0x8, %r14d
movzbl (%rbp), %eax
orl %eax, %r14d
leaq 0x2af0a(%rip), %rax     # 0x9b9e0
movslq (%rax,%r13,4), %rax
movw %r14w, (%r12,%rax,2)
incq %r13
jmp 0x70a3c
movq (%rbx), %rax
cmpl $0x2, 0x7c(%rax)
pushq $0x2
popq %r13
jl 0x70b39
xorl %r14d, %r14d
cmpq $0x3f, %r14
ja 0x70b39
movq (%rbx), %rax
movq (%r12,%r14,2), %xmm0
pxor %xmm1, %xmm1
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 0x8(%r12,%r14,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 %r13d, %esi
callq *0x8(%rax)
addq $0x8, %r14
jmp 0x70af7
xorl %eax, %eax
cmpb $0x10, 0x10(%rsp)
setb %al
shll $0x6, %eax
movq 0x38(%rsp), %r12
addq %rax, %r12
addq $-0x81, %r12
jmp 0x7099b
movq %rbx, %rdi
callq *0x18(%r14)
testl %eax, %eax
je 0x70f38
movq (%r14), %r12
movq 0x8(%r14), %r15
movzbl (%r12), %ebp
decq %r15
je 0x70b7f
incq %r12
jmp 0x70b95
movq %rbx, %rdi
callq *0x18(%r14)
testl %eax, %eax
je 0x70f38
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
pushq $0x1
popq %rsi
callq *0x8(%rax)
movl %r13d, 0x170(%rbx)
movq %r12, (%r14)
movq %r15, 0x8(%r14)
pushq $0x2
popq %r13
leaq 0x2a9cb(%rip), %r15     # 0x9b5a4
andl $0x0, 0x21c(%rbx)
xorl %r14d, %r14d
jmp 0x703e2
je 0x70bf9
movq (%rbx), %rax
movl $0xb, 0x28(%rax)
movq %rbx, %rdi
callq *(%rax)
movq 0x8(%rsp), %rax
movq %rbp, (%rax)
movq %r15, 0x8(%rax)
jmp 0x70bd2
testq %r15, %r15
je 0x70c1b
movq (%rbx), %rax
movl $0xb, 0x28(%rax)
movq %rbx, %rdi
callq *(%rax)
movq %rbp, (%r12)
movq %r14, 0x8(%r12)
jmp 0x70bd2
movq 0x28(%rbx), %rax
movq (%rax), %rbp
movq %rax, (%rsp)
movq 0x8(%rax), %r13
movq 0x248(%rbx), %rax
cmpl $0x0, 0x1c(%rax)
jne 0x70c51
movq (%rbx), %rax
movl $0x3e, 0x28(%rax)
movq %rbx, %rdi
callq *(%rax)
testq %r13, %r13
jne 0x70c70
movq %rbx, %rdi
movq (%rsp), %r14
callq *0x18(%r14)
testl %eax, %eax
je 0x70f38
movq (%r14), %rbp
movq 0x8(%r14), %r13
movzbl (%rbp), %r14d
decq %r13
je 0x70ca1
incq %rbp
jmp 0x70cbb
movq (%rbx), %rax
movl $0x55, 0x28(%rax)
pushq $0x1
popq %rsi
movq %rbx, %rdi
callq *0x8(%rax)
andl $0x0, 0x21c(%rbx)
movl %r13d, %r12d
jmp 0x70f3b
movq %rbx, %rdi
movq (%rsp), %r15
callq *0x18(%r15)
testl %eax, %eax
je 0x70f38
movq (%r15), %rbp
movq 0x8(%r15), %r13
movzbl (%rbp), %r12d
decq %r13
je 0x70cca
incq %rbp
jmp 0x70ce4
movq %rbx, %rdi
movq (%rsp), %r15
callq *0x18(%r15)
testl %eax, %eax
je 0x70f38
movq (%r15), %rbp
movq 0x8(%r15), %r13
shll $0x8, %r14d
orq %r14, %r12
movzbl (%rbp), %r14d
movq (%rbx), %rax
movl $0x67, 0x28(%rax)
movl %r14d, 0x2c(%rax)
movq (%rbx), %rax
pushq $0x1
popq %rsi
movq %rbx, %rdi
callq *0x8(%rax)
leal 0x6(,%r14,2), %eax
cmpl %eax, %r12d
jne 0x70d1f
leal -0x5(%r14), %eax
cmpb $-0x5, %al
ja 0x70d2e
movq (%rbx), %rax
movl $0xb, 0x28(%rax)
movq %rbx, %rdi
callq *(%rax)
movl %r14d, 0x1b0(%rbx)
movl %r14d, %eax
movq %rax, 0x18(%rsp)
pushq $0x1
popq %r12
xorl %r15d, %r15d
incq %rbp
decq %r13
cmpq 0x18(%rsp), %r15
je 0x70e43
testq %r13, %r13
jne 0x70d74
movq %rbx, %rdi
movq (%rsp), %r14
callq *0x18(%r14)
testl %eax, %eax
je 0x70f38
movq (%r14), %rbp
movq 0x8(%r14), %r13
movq %r15, 0x10(%rsp)
movzbl (%rbp), %r14d
decq %r13
je 0x70d88
incq %rbp
jmp 0x70da2
movq %rbx, %rdi
movq (%rsp), %r15
callq *0x18(%r15)
testl %eax, %eax
je 0x70f38
movq (%r15), %rbp
movq 0x8(%r15), %r13
movq %rbp, 0x8(%rsp)
movzbl (%rbp), %ebp
movq 0x130(%rbx), %rax
movl 0x38(%rbx), %ecx
testl %ecx, %ecx
movl $0x0, %edx
cmovlel %edx, %ecx
imulq $0x60, %rcx, %r15
addq %rax, %r15
subl $0x1, %ecx
jb 0x70dd6
cmpl %r14d, (%rax)
je 0x70dee
addq $0x60, %rax
jmp 0x70dc6
movq (%rbx), %rax
movl $0x5, 0x28(%rax)
movl %r14d, 0x2c(%rax)
movq (%rbx), %rax
movq %rbx, %rdi
callq *(%rax)
jmp 0x70df1
movq %rax, %r15
movq 0x10(%rsp), %rdx
movq %r15, 0x1b8(%rbx,%rdx,8)
movl %ebp, %eax
shrl $0x4, %eax
movl %eax, 0x14(%r15)
andl $0xf, %ebp
movl %ebp, 0x18(%r15)
movq (%rbx), %rax
movl %r14d, 0x2c(%rax)
movl 0x14(%r15), %ecx
movl %ecx, 0x30(%rax)
movl 0x18(%r15), %ecx
movq %rdx, %r15
movl %ecx, 0x34(%rax)
movl $0x68, 0x28(%rax)
movq %rbx, %rdi
movl %r12d, %esi
callq *0x8(%rax)
incq %r15
movq 0x8(%rsp), %rbp
jmp 0x70d44
testq %r13, %r13
jne 0x70e62
movq %rbx, %rdi
movq (%rsp), %r14
callq *0x18(%r14)
testl %eax, %eax
je 0x70f38
movq (%r14), %rbp
movq 0x8(%r14), %r13
movzbl (%rbp), %eax
movl %eax, 0x20c(%rbx)
decq %r13
je 0x70e76
incq %rbp
jmp 0x70e90
movq %rbx, %rdi
movq (%rsp), %r14
callq *0x18(%r14)
testl %eax, %eax
je 0x70f38
movq (%r14), %rbp
movq 0x8(%r14), %r13
movzbl (%rbp), %eax
movl %eax, 0x210(%rbx)
decq %r13
je 0x70ea4
incq %rbp
jmp 0x70ebe
movq %rbx, %rdi
movq (%rsp), %r14
callq *0x18(%r14)
testl %eax, %eax
je 0x70f38
movq (%r14), %rbp
movq 0x8(%r14), %r13
decq %r13
movzbl (%rbp), %eax
incq %rbp
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)
movq %rbx, %rdi
movl %r12d, %esi
callq *0x8(%rax)
movq 0x248(%rbx), %rax
andl $0x0, 0x20(%rax)
incl 0xac(%rbx)
movq (%rsp), %rax
movq %rbp, (%rax)
movq %r13, 0x8(%rax)
andl $0x0, 0x21c(%rbx)
jmp 0x70f3b
xorl %r12d, %r12d
movl %r12d, %eax
addq $0x148, %rsp            # imm = 0x148
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq