// File: /workspace/github_c_makefile_star2_O3/hfiguiere[P]exifprobe/jp2000.c
// Function: process_jpc_cod
unsigned long
process_jpc_cod(FILE *inptr,unsigned long marker_offset,unsigned short tag,
                                    struct image_summary *summary_entry,
                                    int indent)
{
    unsigned long max_offset;
    unsigned short seg_length;
    unsigned short cstyle;
    unsigned short decomp;
    unsigned short progorder;
    unsigned short nlayers;
    unsigned short cbw;
    unsigned short cbh;
    unsigned short cbstyle;
    unsigned short transform;
    unsigned short qmfbid;
    unsigned short part_wh;
    char *name;
    int chpr = 0;
    int i;

    name = jp2000tagname(tag);
    seg_length = read_ushort(inptr,TIFF_MOTOROLA,marker_offset + 2);
    print_tag_address(SECTION|ENTRY,marker_offset,indent,"@");
    if((LIST_MODE))
    {
        if((PRINT_TAGINFO))
        {
            if((PRINT_LONGNAMES))
                chpr += printf("JP2.jp2c.");
            chpr += printf("%s",name);
        }
        if((PRINT_VALUE))
            chpr += printf(" = @%lu:%u",marker_offset,seg_length + 2);
    }
    else
        chpr += printf("<%#x=%s> length %u",tag,name,seg_length);
    max_offset = marker_offset + seg_length + 2;
    marker_offset += 4;

    cstyle = read_ubyte(inptr,marker_offset);
    chpr = newline(chpr);
    print_tag_address(ENTRY,marker_offset,indent + 8,"=");
    if((PRINT_TAGINFO))
    {
        if((PRINT_LONGNAMES))
            chpr += printf("JP2.jp2c.cod.");
        chpr += printf("codingStyle");
    }
    if((PRINT_VALUE))
    {
        chpr += printf(" = %#x",cstyle & 0xff);
        chpr += printf(" = entropy coder with");
        if((cstyle & 1) == 0)
            chpr += printf("out");
        chpr += printf(" partitions,");
        if(cstyle & 2)
            chpr += printf(" with SOP markers and");
        else
            chpr += printf(" without SOP markers and");
        if(cstyle & 4)
            chpr += printf(" with EPH markers");
        else
            chpr += printf(" without EPH markers");
    }
    marker_offset++;
    progorder = read_ubyte(inptr,marker_offset);
    chpr = newline(chpr);
    print_tag_address(ENTRY,marker_offset,indent + 8,"=");
    if((PRINT_TAGINFO))
    {
        if((PRINT_LONGNAMES))
            chpr += printf("JP2.jp2c.cod.");
        chpr += printf("ProgressionOrder");
    }
    if((PRINT_VALUE))
        chpr += printf(" = %#x",progorder & 0xff);
    marker_offset++;
    nlayers = read_ushort(inptr,TIFF_MOTOROLA,marker_offset);
    chpr = newline(chpr);
    print_tag_address(ENTRY,marker_offset,indent + 8,"=");
    if((PRINT_TAGINFO))
    {
        if((PRINT_LONGNAMES))
            chpr += printf("JP2.jp2c.cod.");
        chpr += printf("NumberOfLayers");
    }
    if((PRINT_VALUE))
        chpr += printf(" = %#x",nlayers & 0xff);
    marker_offset += 2;
    transform = read_ubyte(inptr,marker_offset);
    chpr = newline(chpr);
    print_tag_address(ENTRY,marker_offset,indent + 8,"=");
    if((PRINT_TAGINFO))
    {
        if((PRINT_LONGNAMES))
            chpr += printf("JP2.jp2c.cod.");
        chpr += printf("MultiComponentTransform");
    }
    if((PRINT_VALUE))
    {
        chpr += printf(" = %#x",transform & 0xff);
        if(transform & 1)
            chpr += printf(" = 5/3 reversible");
        else
            chpr += printf(" = 9/7 irreversible");
    }
    /* Record transform in the first byte of                      */
    /* summary_entry->compression; quantization will be recorded  */
    /* in the second byte. This overwrites the useless            */
    /* "compression" indicator in ihdr.                           */
    if(summary_entry)
        summary_entry->compression = transform & 1;
    marker_offset++;
    decomp = read_ubyte(inptr,marker_offset);
    chpr = newline(chpr);
    print_tag_address(ENTRY,marker_offset,indent + 8,"=");
    if((PRINT_TAGINFO))
    {
        if((PRINT_LONGNAMES))
            chpr += printf("JP2.jp2c.cod.");
        chpr += printf("DecompLevels");
    }
    if((PRINT_VALUE))
        chpr += printf(" = %u",decomp & 0xff);
    marker_offset++;
    cbw = read_ubyte(inptr,marker_offset);
    chpr = newline(chpr);
    print_tag_address(ENTRY,marker_offset,indent + 8,"=");
    if((PRINT_TAGINFO))
    {
        if((PRINT_LONGNAMES))
            chpr += printf("JP2.jp2c.cod.");
        chpr += printf("CodeBlockWidthExponent");
    }
    if((PRINT_VALUE))
    {
        if((LIST_MODE))
        {
            chpr += printf(" = %#x",(cbw & 0xff) + 2);
            chpr = newline(chpr);
            /* pseudotag                                              */
            print_tag_address(ENTRY,HERE,indent + 8,"*");
            if((PRINT_TAGINFO))
            {
                if((PRINT_LONGNAMES))
                    chpr += printf("JP2.jp2c.cod.");
                chpr += printf("CodeBlockWidth");
            }
            if((PRINT_VALUE))
                chpr += printf(" = %g",pow(2.0,(double)(cbw + 2)));
        }
        else
            chpr += printf(" = %#x + 2 # cbw -> %g",cbw & 0xff,
                                            pow(2.0,(double)(cbw + 2)));
    }
    marker_offset++;
    cbh = read_ubyte(inptr,marker_offset);
    chpr = newline(chpr);
    print_tag_address(ENTRY,marker_offset,indent + 8,"=");
    if((PRINT_TAGINFO))
    {
        if((PRINT_LONGNAMES))
            chpr += printf("JP2.jp2c.cod.");
        chpr += printf("CodeBlockHeightExponent");
    }
    if((PRINT_VALUE))
    {
        if((LIST_MODE))
        {
            chpr += printf(" = %#x",(cbh & 0xff) + 2);
            chpr = newline(chpr);
            /* pseudotag                                              */
            print_tag_address(ENTRY,HERE,indent + 8,"*");
            if((PRINT_TAGINFO))
            {
                if((PRINT_LONGNAMES))
                    chpr += printf("JP2.jp2c.cod.");
                chpr += printf("CodeBlockHeight");
            }
            if((PRINT_VALUE))
                chpr += printf(" = %g",pow(2.0,(double)(cbh + 2)));
        }
        else
            chpr += printf(" = %#x + 2 # cbh -> %g",cbh & 0xff,
                                            pow(2.0,(double)(cbh + 2)));
    }
    marker_offset++;
    cbstyle = read_ubyte(inptr,marker_offset);
    chpr = newline(chpr);
    print_tag_address(ENTRY,marker_offset,indent + 8,"=");
    if((PRINT_TAGINFO))
    {
        if((PRINT_LONGNAMES))
            chpr += printf("JP2.jp2c.cod.");
        chpr += printf("CodeBLockStyle");
    }
    if((PRINT_VALUE))
        chpr += printf(" = %#x",cbstyle & 0xff);
    marker_offset++;
    qmfbid = read_ubyte(inptr,marker_offset);
    chpr = newline(chpr);
    print_tag_address(ENTRY,marker_offset,indent + 8,"=");
    if((PRINT_TAGINFO))
    {
        if((PRINT_LONGNAMES))
            chpr += printf("JP2.jp2c.cod.");
        chpr += printf("QMIFBankId");
    }
    if((PRINT_VALUE))
        chpr += printf(" = %#x",qmfbid & 0xff);
    marker_offset++;
    if(cstyle & 1)
    {
        for(i = 0; i <= decomp; ++i)
        {
            part_wh = read_ubyte(inptr,marker_offset++);
            chpr = newline(chpr);
            print_tag_address(ENTRY,marker_offset,indent + 8,"=");
            if((LIST_MODE))
            {
                if((PRINT_TAGINFO))
                {
                    if((PRINT_LONGNAMES))
                        chpr += printf("JP2.jp2c.cod.");
                    chpr += printf("Partition%dWidth",i);
                }
                if((PRINT_VALUE))
                    chpr += printf(" = %u",part_wh & 0xf);
                chpr = newline(chpr);

                print_tag_address(ENTRY,marker_offset,indent + 8,"=");
                if((PRINT_TAGINFO))
                {
                    if((PRINT_LONGNAMES))
                        chpr += printf("JP2.jp2c.cod.");
                    chpr += printf("Partition%dHeight",i);
                }
                if((PRINT_VALUE))
                    chpr += printf(" = %u",(part_wh >> 4) & 0xf);
            }
            else 
            {
                if((PRINT_TAGINFO))
                    chpr += printf("partition %d width",i);
                if((PRINT_VALUE))
                    chpr += printf(" = %u,",part_wh & 0xf);
                    
                if((PRINT_TAGINFO))
                    chpr += printf(" height = ");
                if((PRINT_VALUE))
                    chpr += printf(" = %u",(part_wh >> 4) & 0xf);
            }
        }
    }
    if(!(LIST_MODE))
    {
        chpr = newline(chpr);
        print_tag_address(SECTION|ENTRY,marker_offset - 1,indent,"@");
        chpr += printf("</%#x=%s> ",tag,name);
    }
    if(marker_offset > max_offset)
            printred(" READ PAST END OF BOX");
    chpr = newline(chpr);

    return(max_offset);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movl %r8d, %r12d
movq %rcx, 0x30(%rsp)
movl %edx, %ebx
movq %rsi, %r14
movq %rdi, %rbp
movl %edx, %edi
callq 0xc94f
movq %rax, %r13
leaq 0x2(%r14), %r15
movq %rbp, 0x10(%rsp)
movq %rbp, %rdi
movl $0x4d4d, %esi           # imm = 0x4D4D
movq %r15, %rdx
callq 0x45af
movl %eax, %ebp
leaq 0x1c7f5(%rip), %rcx     # 0x410dc
movl $0x4043333, %edi        # imm = 0x4043333
movq %r14, %rsi
movq %r12, 0x20(%rsp)
movl %r12d, %edx
callq 0x55eb
leaq 0x3387d(%rip), %rax     # 0x58180
movq (%rax), %rax
movzwl %bp, %r12d
movzwl %bx, %esi
testl $0x1040000, %eax        # imm = 0x1040000
movq %r15, 0x40(%rsp)
movl %esi, 0x1c(%rsp)
je 0x24935
leaq 0x24656(%rip), %rdi     # 0x48f7a
movq %r13, %rdx
movl %r12d, %ecx
xorl %eax, %eax
callq 0x3120
movl %eax, %ebx
jmp 0x24991
testl $0x3003, %eax           # imm = 0x3003
je 0x24973
xorl %ebp, %ebp
testb $0x40, %al
je 0x24952
leaq 0x245ff(%rip), %rdi     # 0x48f48
xorl %eax, %eax
callq 0x3120
movl %eax, %ebp
leaq 0x1c73e(%rip), %rdi     # 0x41097
movq %r13, %rsi
xorl %eax, %eax
callq 0x3120
movl %eax, %ebx
addl %ebp, %ebx
leaq 0x33812(%rip), %rax     # 0x58180
movq (%rax), %rax
jmp 0x24975
xorl %ebx, %ebx
testb $0x30, %al
je 0x24991
leal 0x2(%r12), %edx
leaq 0x245ea(%rip), %rdi     # 0x48f6f
movq %r14, %rsi
xorl %eax, %eax
callq 0x3120
addl %eax, %ebx
leaq 0x4(%r14), %r15
movq 0x10(%rsp), %rdi
movq %r15, %rsi
callq 0x4d48
movl %eax, 0x18(%rsp)
movl %ebx, %edi
callq 0x1707a
movl %eax, %ebx
movq 0x20(%rsp), %rax
leal 0x8(%rax), %edx
leaq 0x20007(%rip), %rcx     # 0x449c5
movl $0x4003333, %edi        # imm = 0x4003333
movq %r15, %rsi
movl %edx, 0xc(%rsp)
callq 0x55eb
leaq 0x337aa(%rip), %rax     # 0x58180
movq (%rax), %rax
testl $0x3003, %eax           # imm = 0x3003
je 0x24a0e
testb $0x40, %al
je 0x249f4
leaq 0x246ff(%rip), %rdi     # 0x490ea
xorl %eax, %eax
callq 0x3120
addl %eax, %ebx
leaq 0x246fd(%rip), %rdi     # 0x490f8
xorl %eax, %eax
callq 0x3120
addl %eax, %ebx
leaq 0x33775(%rip), %rax     # 0x58180
movq (%rax), %rax
testb $0x30, %al
movq %r13, 0x28(%rsp)
je 0x24ab8
movl 0x18(%rsp), %r15d
movzwl %r15w, %r13d
movzbl %r13b, %esi
leaq 0x246d5(%rip), %rdi     # 0x49104
xorl %eax, %eax
callq 0x3120
movl %eax, %ebp
addl %ebx, %ebp
leaq 0x246ca(%rip), %rdi     # 0x4910b
xorl %eax, %eax
callq 0x3120
movl %eax, %ebx
addl %ebp, %ebx
testb $0x1, %r15b
jne 0x24a62
leaq 0x1e8f7(%rip), %rdi     # 0x43350
xorl %eax, %eax
callq 0x3120
addl %eax, %ebx
leaq 0x246b8(%rip), %rdi     # 0x49121
xorl %eax, %eax
callq 0x3120
movl %eax, %ebp
addl %ebx, %ebp
testb $0x2, %r13b
leaq 0x246c5(%rip), %rax     # 0x49144
leaq 0x246a8(%rip), %rdi     # 0x4912e
cmoveq %rax, %rdi
xorl %eax, %eax
callq 0x3120
movl %eax, %r15d
testb $0x4, %r13b
leaq 0x246d0(%rip), %rax     # 0x4916f
leaq 0x246b7(%rip), %rdi     # 0x4915d
cmoveq %rax, %rdi
xorl %eax, %eax
callq 0x3120
movl %eax, %ebx
addl %r15d, %ebx
addl %ebp, %ebx
leaq 0x5(%r14), %r15
movq 0x10(%rsp), %rdi
movq %r15, %rsi
callq 0x4d48
movl %eax, %ebp
movl %ebx, %edi
callq 0x1707a
movl %eax, %ebx
leaq 0x1feea(%rip), %rcx     # 0x449c5
movl $0x4003333, %edi        # imm = 0x4003333
movq %r15, %rsi
movl 0xc(%rsp), %edx
callq 0x55eb
leaq 0x3368d(%rip), %rax     # 0x58180
movq (%rax), %rax
testl $0x3003, %eax           # imm = 0x3003
je 0x24b2b
testb $0x40, %al
je 0x24b11
leaq 0x245e2(%rip), %rdi     # 0x490ea
xorl %eax, %eax
callq 0x3120
addl %eax, %ebx
leaq 0x2466c(%rip), %rdi     # 0x49184
xorl %eax, %eax
callq 0x3120
addl %eax, %ebx
leaq 0x33658(%rip), %rax     # 0x58180
movq (%rax), %rax
testb $0x30, %al
je 0x24b43
movzbl %bpl, %esi
leaq 0x245ca(%rip), %rdi     # 0x49104
xorl %eax, %eax
callq 0x3120
addl %eax, %ebx
leaq 0x6(%r14), %r15
movq 0x10(%rsp), %rdi
movl $0x4d4d, %esi           # imm = 0x4D4D
movq %r15, %rdx
callq 0x45af
movl %eax, %ebp
movl %ebx, %edi
callq 0x1707a
movl %eax, %ebx
leaq 0x1fe5a(%rip), %rcx     # 0x449c5
movl $0x4003333, %edi        # imm = 0x4003333
movq %r15, %rsi
movl 0xc(%rsp), %edx
callq 0x55eb
leaq 0x335fd(%rip), %rax     # 0x58180
movq (%rax), %rax
testl $0x3003, %eax           # imm = 0x3003
je 0x24bbb
testb $0x40, %al
je 0x24ba1
leaq 0x24552(%rip), %rdi     # 0x490ea
xorl %eax, %eax
callq 0x3120
addl %eax, %ebx
leaq 0x245ed(%rip), %rdi     # 0x49195
xorl %eax, %eax
callq 0x3120
addl %eax, %ebx
leaq 0x335c8(%rip), %rax     # 0x58180
movq (%rax), %rax
testb $0x30, %al
je 0x24bd3
movzbl %bpl, %esi
leaq 0x2453a(%rip), %rdi     # 0x49104
xorl %eax, %eax
callq 0x3120
addl %eax, %ebx
leaq 0x8(%r14), %r15
movq 0x10(%rsp), %rdi
movq %r15, %rsi
callq 0x4d48
movl %eax, %ebp
movl %ebx, %edi
callq 0x1707a
movl %eax, %ebx
leaq 0x1fdcf(%rip), %rcx     # 0x449c5
movl $0x4003333, %edi        # imm = 0x4003333
movq %r15, %rsi
movl 0xc(%rsp), %edx
callq 0x55eb
leaq 0x33572(%rip), %rax     # 0x58180
movq (%rax), %rax
testl $0x3003, %eax           # imm = 0x3003
je 0x24c46
testb $0x40, %al
je 0x24c2c
leaq 0x244c7(%rip), %rdi     # 0x490ea
xorl %eax, %eax
callq 0x3120
addl %eax, %ebx
leaq 0x24571(%rip), %rdi     # 0x491a4
xorl %eax, %eax
callq 0x3120
addl %eax, %ebx
leaq 0x3353d(%rip), %rax     # 0x58180
movq (%rax), %rax
testb $0x30, %al
je 0x24c87
movzwl %bp, %eax
movzbl %al, %r15d
leaq 0x244ac(%rip), %rdi     # 0x49104
movl %r15d, %esi
xorl %eax, %eax
callq 0x3120
movl %eax, %r13d
testb $0x1, %r15b
leaq 0x2455e(%rip), %rax     # 0x491ce
leaq 0x24545(%rip), %rdi     # 0x491bc
cmoveq %rax, %rdi
xorl %eax, %eax
callq 0x3120
addl %r13d, %eax
addl %eax, %ebx
movq %r12, 0x38(%rsp)
movq 0x30(%rsp), %rax
testq %rax, %rax
je 0x24c9f
andl $0x1, %ebp
movl %ebp, 0xc8(%rax)
leaq 0x9(%r14), %r15
movq 0x10(%rsp), %rdi
movq %r15, %rsi
callq 0x4d48
movl %eax, %r12d
movl %ebx, %edi
callq 0x1707a
movl %eax, %ebx
leaq 0x1fd02(%rip), %rcx     # 0x449c5
movl $0x4003333, %edi        # imm = 0x4003333
movq %r15, %rsi
movl 0xc(%rsp), %edx
callq 0x55eb
leaq 0x334a5(%rip), %rax     # 0x58180
movq (%rax), %rax
testl $0x3003, %eax           # imm = 0x3003
je 0x24d13
testb $0x40, %al
je 0x24cf9
leaq 0x243fa(%rip), %rdi     # 0x490ea
xorl %eax, %eax
callq 0x3120
addl %eax, %ebx
leaq 0x244e2(%rip), %rdi     # 0x491e2
xorl %eax, %eax
callq 0x3120
addl %eax, %ebx
leaq 0x33470(%rip), %rax     # 0x58180
movq (%rax), %rax
testb $0x30, %al
je 0x24d2b
movzbl %r12b, %esi
leaq 0x2027c(%rip), %rdi     # 0x44f9e
xorl %eax, %eax
callq 0x3120
addl %eax, %ebx
leaq 0xa(%r14), %r15
movq 0x10(%rsp), %rdi
movq %r15, %rsi
callq 0x4d48
movl %eax, %ebp
movl %ebx, %edi
callq 0x1707a
movl %eax, %ebx
leaq 0x1fc77(%rip), %rcx     # 0x449c5
movl $0x4003333, %edi        # imm = 0x4003333
movq %r15, %rsi
movl 0xc(%rsp), %edx
callq 0x55eb
leaq 0x3341a(%rip), %rax     # 0x58180
movq (%rax), %rax
testl $0x3003, %eax           # imm = 0x3003
je 0x24d9e
testb $0x40, %al
je 0x24d84
leaq 0x2436f(%rip), %rdi     # 0x490ea
xorl %eax, %eax
callq 0x3120
addl %eax, %ebx
leaq 0x24464(%rip), %rdi     # 0x491ef
xorl %eax, %eax
callq 0x3120
addl %eax, %ebx
leaq 0x333e5(%rip), %rax     # 0x58180
movq (%rax), %rax
testb $0x30, %al
je 0x24e71
movzwl %bp, %r15d
movzbl %r15b, %ebp
testl $0x1040000, %eax        # imm = 0x1040000
je 0x24dd8
addl $0x2, %r15d
cvtsi2sd %r15d, %xmm0
callq 0x3040
leaq 0x24451(%rip), %rdi     # 0x4921b
movl %ebp, %esi
movb $0x1, %al
callq 0x3120
jmp 0x24e6f
addl $0x2, %ebp
leaq 0x24322(%rip), %rdi     # 0x49104
movl %ebp, %esi
xorl %eax, %eax
callq 0x3120
addl %eax, %ebx
movl %ebx, %edi
callq 0x1707a
movl %eax, %ebx
leaq 0x1cb5c(%rip), %rcx     # 0x41959
movl $0x4003333, %edi        # imm = 0x4003333
movl $0xffffffff, %esi       # imm = 0xFFFFFFFF
movl 0xc(%rsp), %edx
callq 0x55eb
leaq 0x33369(%rip), %rax     # 0x58180
movq (%rax), %rax
testl $0x3003, %eax           # imm = 0x3003
je 0x24e4f
testb $0x40, %al
je 0x24e35
leaq 0x242be(%rip), %rdi     # 0x490ea
xorl %eax, %eax
callq 0x3120
addl %eax, %ebx
leaq 0x243ca(%rip), %rdi     # 0x49206
xorl %eax, %eax
callq 0x3120
addl %eax, %ebx
leaq 0x33334(%rip), %rax     # 0x58180
movq (%rax), %rax
testb $0x30, %al
je 0x24e71
addl $0x2, %r15d
cvtsi2sd %r15d, %xmm0
callq 0x3040
leaq 0x243ad(%rip), %rdi     # 0x49215
movb $0x1, %al
callq 0x3120
addl %eax, %ebx
leaq 0xb(%r14), %r15
movq 0x10(%rsp), %rdi
movq %r15, %rsi
callq 0x4d48
movl %eax, %ebp
movl %ebx, %edi
callq 0x1707a
movl %eax, %ebx
leaq 0x1fb31(%rip), %rcx     # 0x449c5
movl $0x4003333, %edi        # imm = 0x4003333
movq %r15, %rsi
movl 0xc(%rsp), %edx
callq 0x55eb
leaq 0x332d4(%rip), %rax     # 0x58180
movq (%rax), %rax
testl $0x3003, %eax           # imm = 0x3003
je 0x24ee4
testb $0x40, %al
je 0x24eca
leaq 0x24229(%rip), %rdi     # 0x490ea
xorl %eax, %eax
callq 0x3120
addl %eax, %ebx
leaq 0x24361(%rip), %rdi     # 0x49232
xorl %eax, %eax
callq 0x3120
addl %eax, %ebx
leaq 0x3329f(%rip), %rax     # 0x58180
movq (%rax), %rax
testb $0x30, %al
je 0x24fbd
movzwl %bp, %r15d
movzbl %r15b, %ebp
testl $0x1040000, %eax        # imm = 0x1040000
je 0x24f21
addl $0x2, %r15d
xorps %xmm0, %xmm0
cvtsi2sd %r15d, %xmm0
callq 0x3040
leaq 0x24347(%rip), %rdi     # 0x4925a
movl %ebp, %esi
movb $0x1, %al
callq 0x3120
jmp 0x24fbb
addl $0x2, %ebp
leaq 0x241d9(%rip), %rdi     # 0x49104
movl %ebp, %esi
xorl %eax, %eax
callq 0x3120
addl %eax, %ebx
movl %ebx, %edi
callq 0x1707a
movl %eax, %ebx
leaq 0x1ca13(%rip), %rcx     # 0x41959
movl $0x4003333, %edi        # imm = 0x4003333
movl $0xffffffff, %esi       # imm = 0xFFFFFFFF
movl 0xc(%rsp), %edx
callq 0x55eb
leaq 0x33220(%rip), %rax     # 0x58180
movq (%rax), %rax
testl $0x3003, %eax           # imm = 0x3003
je 0x24f98
testb $0x40, %al
je 0x24f7e
leaq 0x24175(%rip), %rdi     # 0x490ea
xorl %eax, %eax
callq 0x3120
addl %eax, %ebx
leaq 0x242c5(%rip), %rdi     # 0x4924a
xorl %eax, %eax
callq 0x3120
addl %eax, %ebx
leaq 0x331eb(%rip), %rax     # 0x58180
movq (%rax), %rax
testb $0x30, %al
je 0x24fbd
addl $0x2, %r15d
xorps %xmm0, %xmm0
cvtsi2sd %r15d, %xmm0
callq 0x3040
leaq 0x24261(%rip), %rdi     # 0x49215
movb $0x1, %al
callq 0x3120
addl %eax, %ebx
leaq 0xc(%r14), %r15
movq 0x10(%rsp), %rdi
movq %r15, %rsi
callq 0x4d48
movl %eax, %ebp
movl %ebx, %edi
callq 0x1707a
movl %eax, %ebx
leaq 0x1f9e5(%rip), %rcx     # 0x449c5
movl $0x4003333, %edi        # imm = 0x4003333
movq %r15, %rsi
movl 0xc(%rsp), %edx
callq 0x55eb
leaq 0x33188(%rip), %rax     # 0x58180
movq (%rax), %rax
testl $0x3003, %eax           # imm = 0x3003
je 0x25030
testb $0x40, %al
je 0x25016
leaq 0x240dd(%rip), %rdi     # 0x490ea
xorl %eax, %eax
callq 0x3120
addl %eax, %ebx
leaq 0x24254(%rip), %rdi     # 0x49271
xorl %eax, %eax
callq 0x3120
addl %eax, %ebx
leaq 0x33153(%rip), %rax     # 0x58180
movq (%rax), %rax
testb $0x30, %al
je 0x25048
movzbl %bpl, %esi
leaq 0x240c5(%rip), %rdi     # 0x49104
xorl %eax, %eax
callq 0x3120
addl %eax, %ebx
leaq 0xd(%r14), %r13
movq 0x10(%rsp), %rdi
movq %r13, %rsi
callq 0x4d48
movl %eax, %r15d
movl %ebx, %edi
callq 0x1707a
movl %eax, %ebp
leaq 0x1f959(%rip), %rcx     # 0x449c5
movl $0x4003333, %edi        # imm = 0x4003333
movq %r13, %rsi
movl 0xc(%rsp), %edx
callq 0x55eb
leaq 0x330fc(%rip), %rax     # 0x58180
movq (%rax), %rax
testl $0x3003, %eax           # imm = 0x3003
je 0x250bc
testb $0x40, %al
je 0x250a2
leaq 0x24051(%rip), %rdi     # 0x490ea
xorl %eax, %eax
callq 0x3120
addl %eax, %ebp
leaq 0x241d7(%rip), %rdi     # 0x49280
xorl %eax, %eax
callq 0x3120
addl %eax, %ebp
leaq 0x330c7(%rip), %rax     # 0x58180
movq (%rax), %rax
testb $0x30, %al
je 0x250d4
movzbl %r15b, %esi
leaq 0x24039(%rip), %rdi     # 0x49104
xorl %eax, %eax
callq 0x3120
addl %eax, %ebp
addq $0xe, %r14
testb $0x1, 0x18(%rsp)
je 0x25276
movzwl %r12w, %ebx
incl %ebx
leaq 0x1f8d5(%rip), %r12     # 0x449c5
xorl %r13d, %r13d
movq %r14, %rsi
incq %r14
movq 0x10(%rsp), %rdi
callq 0x4d48
movl %eax, %r15d
movl %ebp, %edi
callq 0x1707a
movl %eax, %ebp
movl $0x4003333, %edi        # imm = 0x4003333
movq %r14, %rsi
movl 0xc(%rsp), %edx
movq %r12, %rcx
callq 0x55eb
leaq 0x33056(%rip), %rax     # 0x58180
movq (%rax), %rax
testl $0x1040000, %eax        # imm = 0x1040000
je 0x2519a
testl $0x3003, %eax           # imm = 0x3003
je 0x25158
leaq 0x2416c(%rip), %rdi     # 0x492ae
movl %r13d, %esi
xorl %eax, %eax
callq 0x3120
addl %eax, %ebp
leaq 0x3302b(%rip), %rax     # 0x58180
movq (%rax), %rax
testb $0x30, %al
je 0x2517c
movl %r15d, %esi
andl $0xf, %esi
leaq 0x24158(%rip), %rdi     # 0x492c1
xorl %eax, %eax
callq 0x3120
addl %eax, %ebp
leaq 0x33007(%rip), %rax     # 0x58180
movq (%rax), %rax
testl $0x3003, %eax           # imm = 0x3003
je 0x2524b
leaq 0x2413a(%rip), %rdi     # 0x492c8
xorl %eax, %eax
callq 0x3120
jmp 0x2523f
testl $0x3003, %eax           # imm = 0x3003
je 0x251d2
testb $0x40, %al
je 0x251b5
leaq 0x23f3e(%rip), %rdi     # 0x490ea
xorl %eax, %eax
callq 0x3120
addl %eax, %ebp
leaq 0x240cf(%rip), %rdi     # 0x4928b
movl %r13d, %esi
xorl %eax, %eax
callq 0x3120
addl %eax, %ebp
leaq 0x32fb1(%rip), %rax     # 0x58180
movq (%rax), %rax
testb $0x30, %al
je 0x251ec
movl %r15d, %esi
andl $0xf, %esi
leaq 0x1fdbb(%rip), %rdi     # 0x44f9e
xorl %eax, %eax
callq 0x3120
addl %eax, %ebp
movl %ebp, %edi
callq 0x1707a
movl %eax, %ebp
movl $0x4003333, %edi        # imm = 0x4003333
movq %r14, %rsi
movl 0xc(%rsp), %edx
movq %r12, %rcx
callq 0x55eb
leaq 0x32f70(%rip), %rax     # 0x58180
movq (%rax), %rax
testl $0x3003, %eax           # imm = 0x3003
je 0x2524b
testb $0x40, %al
je 0x2522e
leaq 0x23ec5(%rip), %rdi     # 0x490ea
xorl %eax, %eax
callq 0x3120
addl %eax, %ebp
leaq 0x24067(%rip), %rdi     # 0x4929c
movl %r13d, %esi
xorl %eax, %eax
callq 0x3120
addl %eax, %ebp
leaq 0x32f38(%rip), %rax     # 0x58180
movq (%rax), %rax
testb $0x30, %al
je 0x2526a
shrl $0x4, %r15d
andl $0xf, %r15d
leaq 0x1fd40(%rip), %rdi     # 0x44f9e
movl %r15d, %esi
xorl %eax, %eax
callq 0x3120
addl %eax, %ebp
incl %r13d
cmpl %r13d, %ebx
jne 0x250f3
movq 0x40(%rsp), %r15
addq 0x38(%rsp), %r15
leaq 0x32ef9(%rip), %rax     # 0x58180
movzwl 0x2(%rax), %eax
testl $0x104, %eax            # imm = 0x104
je 0x252d0
movl %ebp, %edi
callq 0x1707a
movl %eax, %ebx
leaq -0x1(%r14), %rsi
leaq 0x1be36(%rip), %rcx     # 0x410dc
movl $0x4043333, %edi        # imm = 0x4043333
movq 0x20(%rsp), %rdx
callq 0x55eb
leaq 0x23e0d(%rip), %rdi     # 0x490c9
movl 0x1c(%rsp), %esi
movq 0x28(%rsp), %rdx
xorl %eax, %eax
callq 0x3120
movl %eax, %ebp
addl %ebx, %ebp
cmpq %r15, %r14
jbe 0x252e1
leaq 0x23df8(%rip), %rdi     # 0x490d4
callq 0x5c26
movl %ebp, %edi
callq 0x1707a
movq %r15, %rax
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq