// File: /workspace/github_cpp_makefile_star2_O1/rurban[P]dgnlib/dgnread.cpp
// Function: DGNReadElement
DGNElemCore *DGNReadElement( DGNHandle hDGN )

{
    DGNInfo     *psDGN = (DGNInfo *) hDGN;
    DGNElemCore *psElement = NULL;
    int         nType, nLevel;
    int         bInsideFilter;

/* -------------------------------------------------------------------- */
/*      Load the element data into the current buffer.  If a spatial    */
/*      filter is in effect, loop until we get something within our     */
/*      spatial constraints.                                            */
/* -------------------------------------------------------------------- */
    do { 
        bInsideFilter = TRUE;

        if( !DGNLoadRawElement( psDGN, &nType, &nLevel ) )
            return NULL;
        
        if( psDGN->has_spatial_filter )
        {
            GUInt32     nXMin, nXMax, nYMin, nYMax;
            
            if( !psDGN->sf_converted_to_uor )
                DGNSpatialFilterToUOR( psDGN );

            if( !DGNGetRawExtents( psDGN, nType, NULL,
                                   &nXMin, &nYMin, NULL,
                                   &nXMax, &nYMax, NULL ) )
            {
                /* If we don't have spatial characterists for the element
                   we will pass it through. */
                bInsideFilter = TRUE;
            }
            else if( nXMin > psDGN->sf_max_x
                     || nYMin > psDGN->sf_max_y
                     || nXMax < psDGN->sf_min_x
                     || nYMax < psDGN->sf_min_y )
                bInsideFilter = FALSE;

            /*
            ** We want to select complex elements based on the extents of
            ** the header, not the individual elements.
            */
            if( nType == DGNT_COMPLEX_CHAIN_HEADER
                || nType == DGNT_COMPLEX_SHAPE_HEADER )
            {
                psDGN->in_complex_group = TRUE;
                psDGN->select_complex_group = bInsideFilter;
            }
            else if( psDGN->abyElem[0] & 0x80 /* complex flag set */ )
            {
                if( psDGN->in_complex_group )
                    bInsideFilter = psDGN->select_complex_group;
            }
            else
                psDGN->in_complex_group = FALSE;
        }
    } while( !bInsideFilter );

/* -------------------------------------------------------------------- */
/*      Convert into an element structure.                              */
/* -------------------------------------------------------------------- */
    psElement = DGNProcessElement( psDGN, nType, nLevel );

    return psElement;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movq %rdi, %r9
leaq 0x10(%rsp), %r15
leaq 0x24(%rsp), %r12
leaq 0x20(%rsp), %r13
leaq 0x18(%rsp), %rbp
movq %rdi, 0x8(%rsp)
movq %r9, %rdi
movq %r15, %rsi
movq %r12, %rdx
movq %r9, %rbx
callq 0x8b80
testl %eax, %eax
je 0x9223
cmpl $0x0, 0x20378(%rbx)
movq %rbx, %r9
je 0x9043
cmpl $0x0, 0x2037c(%r9)
jne 0x8f7e
movq %r9, %rdi
callq 0xeaa9
movq 0x8(%rsp), %r9
movl 0x10(%rsp), %r14d
subq $0x8, %rsp
movq %r9, %rdi
movl %r14d, %esi
xorl %edx, %edx
movq %r13, %rcx
movq %rbp, %r8
movq %r9, %rbx
xorl %r9d, %r9d
pushq $0x0
leaq 0x24(%rsp), %rax
pushq %rax
leaq 0x34(%rsp), %rax
pushq %rax
callq 0x8de6
addq $0x20, %rsp
movl $0x1, %ecx
testl %eax, %eax
je 0x8ff5
movl 0x20(%rsp), %eax
cmpl 0x20390(%rbx), %eax
movq %rbx, %r9
ja 0x8ff1
movl 0x18(%rsp), %eax
cmpl 0x20394(%r9), %eax
ja 0x8ff1
movl 0x1c(%rsp), %eax
cmpl 0x20388(%r9), %eax
jb 0x8ff1
movl 0x14(%rsp), %eax
cmpl 0x2038c(%r9), %eax
jae 0x8ff8
xorl %ecx, %ecx
jmp 0x8ff8
movq %rbx, %r9
andl $-0x3, %r14d
cmpl $0xc, %r14d
jne 0x9016
movl $0x1, 0x20384(%r9)
movl %ecx, 0x20380(%r9)
jmp 0x903b
cmpb $0x0, 0x10(%r9)
js 0x902a
movl $0x0, 0x20384(%r9)
jmp 0x903b
cmpl $0x0, 0x20384(%r9)
je 0x903b
movl 0x20380(%r9), %ecx
testl %ecx, %ecx
je 0x8f3e
movl 0x10(%rsp), %ecx
movl 0x24(%rsp), %eax
leal -0x1(%rcx), %edx
cmpl $0x24, %edx
ja 0x9377
leaq 0x8686(%rip), %rcx      # 0x116e4
movslq (%rcx,%rdx,4), %rdx
addq %rcx, %rdx
jmpq *%rdx
movslq 0x20018(%r9), %r14
shlq $0x2, %r14
movzwl 0x34(%r9), %r15d
leal (%r15,%r15,2), %eax
leal 0x58(,%rax,8), %edi
movl $0x1, %esi
callq 0x2d54
movq %rax, %r12
movl $0x2, 0xc(%rax)
movq 0x8(%rsp), %rdi
movq %rax, %rsi
callq 0xafa2
movq 0x8(%rsp), %r9
movl 0xc(%r9), %eax
movl %r15d, %ecx
imull %r14d, %ecx
addl $0x26, %ecx
cmpl %ecx, %eax
jge 0x90f1
addl $-0x26, %eax
cltd
idivl %r14d
leaq 0x87bb(%rip), %rdx      # 0x11883
movl $0x2, %edi
movl $0x1, %esi
movl %eax, %ecx
movl %r15d, %r8d
xorl %eax, %eax
callq 0x46dc
movq 0x8(%rsp), %r9
movl 0xc(%r9), %eax
addl $-0x26, %eax
cltd
idivl %r14d
movl %eax, %r15d
movl %r15d, 0x50(%r12)
testl %r15d, %r15d
jle 0xaf0c
movl 0x20018(%r9), %eax
movsd 0x20020(%r9), %xmm0
movsd 0x20028(%r9), %xmm1
movapd 0x7140(%rip), %xmm4     # 0x10260
xorpd %xmm4, %xmm1
movsd 0x20030(%r9), %xmm2
xorpd %xmm4, %xmm2
movsd 0x20038(%r9), %xmm3
xorpd %xmm4, %xmm3
movl %r15d, %ecx
shlq $0x3, %rcx
leaq (%rcx,%rcx,2), %rcx
leaq 0x41(%r9), %rdx
xorl %esi, %esi
movzwl -0x9(%rdx), %edi
movzbl -0xa(%rdx), %r8d
shll $0x18, %r8d
orl %edi, %r8d
movzbl -0xb(%rdx), %edi
shll $0x10, %edi
orl %r8d, %edi
xorps %xmm4, %xmm4
cvtsi2sd %edi, %xmm4
movsd %xmm4, 0x58(%r12,%rsi)
movzwl -0x5(%rdx), %edi
movzbl -0x6(%rdx), %r8d
shll $0x18, %r8d
orl %edi, %r8d
movzbl -0x7(%rdx), %edi
shll $0x10, %edi
orl %r8d, %edi
xorps %xmm4, %xmm4
cvtsi2sd %edi, %xmm4
movsd %xmm4, 0x60(%r12,%rsi)
cmpl $0x3, %eax
jne 0x91cc
movzwl -0x1(%rdx), %edi
movzbl -0x2(%rdx), %r8d
shll $0x18, %r8d
orl %edi, %r8d
movzbl -0x3(%rdx), %edi
shll $0x10, %edi
orl %r8d, %edi
xorps %xmm4, %xmm4
cvtsi2sd %edi, %xmm4
movsd %xmm4, 0x68(%r12,%rsi)
movsd 0x58(%r12,%rsi), %xmm4
mulsd %xmm0, %xmm4
addsd %xmm1, %xmm4
movsd %xmm4, 0x58(%r12,%rsi)
movsd 0x60(%r12,%rsi), %xmm4
mulsd %xmm0, %xmm4
addsd %xmm2, %xmm4
movsd %xmm4, 0x60(%r12,%rsi)
movsd 0x68(%r12,%rsi), %xmm4
mulsd %xmm0, %xmm4
addsd %xmm3, %xmm4
movsd %xmm4, 0x68(%r12,%rsi)
addq $0x18, %rsi
addq %r14, %rdx
cmpq %rsi, %rcx
jne 0x914f
jmp 0xaf0c
xorl %r12d, %r12d
jmp 0xaf70
movl $0x60, %edi
movl $0x1, %esi
callq 0x2d54
movq %rax, %r12
movl $0x7, 0xc(%rax)
movq 0x8(%rsp), %rdi
movq %rax, %rsi
callq 0xafa2
movq 0x8(%rsp), %r9
movzwl 0x34(%r9), %eax
movl %eax, 0x50(%r12)
movzwl 0x36(%r9), %eax
movl %eax, 0x54(%r12)
movzbl 0x38(%r9), %eax
movl %eax, 0x58(%r12)
movzbl 0x39(%r9), %eax
incl %eax
movl %eax, 0x5c(%r12)
jmp 0xaf0c
movl $0x60, %edi
movl $0x1, %esi
callq 0x2d54
movq %rax, %r12
movl $0x7, 0xc(%rax)
movq 0x8(%rsp), %rdi
movq %rax, %rsi
callq 0xafa2
movq 0x8(%rsp), %r9
movzwl 0x34(%r9), %eax
movl %eax, 0x50(%r12)
movzwl 0x36(%r9), %eax
movl %eax, 0x54(%r12)
jmp 0xaf0c
movzbl 0x2e(%r9), %eax
movzbl 0x2f(%r9), %ecx
shll $0x9, %ecx
leal (%rcx,%rax,2), %edx
addl $-0x4, %edx
leal (%rcx,%rax,2), %ebx
decl %ebx
testl %edx, %edx
cmovnsl %edx, %ebx
leal (%rcx,%rax,2), %ebp
sarl $0x2, %ebx
movslq %ebx, %rax
leaq 0x54(,%rax,4), %rdi
movl $0x1, %esi
movq %r9, %r14
callq 0x2d54
movq %rax, %r12
movl $0x11, 0xc(%rax)
movq %r14, %rdi
movq %rax, %rsi
callq 0xafa2
cmpl $0x8, %ebp
jb 0x955d
cmpl $0x2, %ebx
movl $0x1, %eax
cmovgel %ebx, %eax
xorl %ecx, %ecx
movss 0x8455(%rip), %xmm0     # 0x1178c
movq 0x8(%rsp), %r9
movzwl 0x36(%r9,%rcx,4), %edx
movzbl 0x35(%r9,%rcx,4), %esi
shll $0x18, %esi
orl %edx, %esi
movzbl 0x34(%r9,%rcx,4), %edx
shll $0x10, %edx
orl %esi, %edx
xorps %xmm1, %xmm1
cvtsi2ss %edx, %xmm1
mulss %xmm0, %xmm1
movss %xmm1, 0x50(%r12,%rcx,4)
incq %rcx
cmpq %rcx, %rax
jne 0x933c
jmp 0xaf0c
cmpl $0x42, %ecx
jne 0x9537
cmpl $0x18, %eax
jne 0x9537
movq %r9, %rdi
callq 0xb9b6
jmp 0x9f5c
movl $0x58, %edi
movl $0x1, %esi
callq 0x2d54
movq %rax, %r12
movl $0x12, 0xc(%rax)
movq 0x8(%rsp), %rdi
movq %rax, %rsi
callq 0xafa2
movq 0x8(%rsp), %r9
movzwl 0x34(%r9), %eax
movl %eax, 0x50(%r12)
jmp 0xaf0c
xorl %eax, %eax
cmpl $0x2, 0x20018(%r9)
setne %al
shll $0x4, %eax
movzbl 0x4a(%r9,%rax), %r15d
leaq 0x90(%r15), %rdi
movl $0x1, %esi
callq 0x2d54
movq %rax, %r12
movl $0x6, 0xc(%rax)
movq 0x8(%rsp), %rdi
movq %rax, %rsi
callq 0xafa2
movq 0x8(%rsp), %r13
leaq 0x10(%r13), %rsi
movzbl 0x34(%r13), %eax
movl %eax, 0x50(%r12)
movzbl 0x35(%r13), %eax
movl %eax, 0x54(%r12)
movzwl 0x38(%r13), %eax
movzbl 0x37(%r13), %ecx
shll $0x18, %ecx
orl %eax, %ecx
movzbl 0x36(%r13), %eax
shll $0x10, %eax
orl %ecx, %eax
cvtsi2sd %eax, %xmm1
movsd 0x20020(%r13), %xmm0
mulsd %xmm0, %xmm1
movsd 0x8213(%rip), %xmm2     # 0x11670
mulsd %xmm2, %xmm1
movsd 0x6daf(%rip), %xmm3     # 0x10218
divsd %xmm3, %xmm1
movsd %xmm1, 0x58(%r12)
movzwl 0x3c(%r13), %eax
movzbl 0x3b(%r13), %ecx
shll $0x18, %ecx
orl %eax, %ecx
movzbl 0x3a(%r13), %eax
shll $0x10, %eax
orl %ecx, %eax
xorps %xmm1, %xmm1
cvtsi2sd %eax, %xmm1
mulsd %xmm0, %xmm1
mulsd %xmm2, %xmm1
divsd %xmm3, %xmm1
movsd %xmm1, 0x60(%r12)
cmpl $0x2, 0x20018(%r13)
jne 0xa27a
movzwl 0x40(%r13), %eax
movzbl 0x3f(%r13), %ecx
shll $0x18, %ecx
orl %eax, %ecx
movzbl 0x3e(%r13), %eax
shll $0x10, %eax
orl %ecx, %eax
xorps %xmm1, %xmm1
cvtsi2sd %eax, %xmm1
divsd 0x819b(%rip), %xmm1     # 0x11678
movsd %xmm1, 0x68(%r12)
movl $0x3c, %eax
movl $0x78, %ecx
movl $0x47, %edx
movl $0x49, %r8d
movl $0x48, %r9d
movl $0x46, %edi
movl $0x70, %r10d
movl $0x43, %r11d
movl $0x45, %r14d
movl $0x44, %ebp
movl $0x42, %ebx
jmp 0xa2dd
cmpl $0x1, %eax
jne 0x9537
movq %r9, %rdi
callq 0xb531
jmp 0x9f5c
movl $0x50, %edi
movl $0x1, %esi
callq 0x2d54
movq %rax, %r12
movl $0x1, 0xc(%rax)
movq 0x8(%rsp), %rdi
movq %rax, %rsi
callq 0xafa2
movq 0x8(%rsp), %r9
jmp 0xaf0c
movl $0xa0, %edi
movl $0x1, %esi
callq 0x2d54
movq %rax, %r12
movl $0x5, 0xc(%rax)
movq 0x8(%rsp), %rdi
movq %rax, %rsi
callq 0xafa2
leaq 0x68(%r12), %rdi
movq 0x8(%rsp), %rax
movq 0x34(%rax), %rax
movq %rax, 0x68(%r12)
callq 0x70b4
movq 0x8(%rsp), %rax
movsd 0x20020(%rax), %xmm0
mulsd 0x68(%r12), %xmm0
movsd %xmm0, 0x68(%r12)
leaq 0x70(%r12), %rdi
movq 0x8(%rsp), %rax
movq 0x3c(%rax), %rax
movq %rax, 0x70(%r12)
callq 0x70b4
movq 0x8(%rsp), %rdx
movsd 0x20020(%rdx), %xmm0
mulsd 0x70(%r12), %xmm0
movsd %xmm0, 0x70(%r12)
cmpl $0x2, 0x20018(%rdx)
jne 0xa437
movzwl 0x46(%rdx), %eax
movzbl 0x45(%rdx), %ecx
shll $0x18, %ecx
orl %eax, %ecx
movzbl 0x44(%rdx), %eax
shll $0x10, %eax
orl %ecx, %eax
xorps %xmm0, %xmm0
cvtsi2sd %eax, %xmm0
divsd 0x8053(%rip), %xmm0     # 0x11678
movsd %xmm0, 0x78(%r12)
leaq 0x50(%r12), %rdi
movq 0x48(%rdx), %rax
movq %rax, 0x50(%r12)
callq 0x70b4
movq %r12, %rdi
addq $0x58, %rdi
movq 0x8(%rsp), %rax
movq 0x50(%rax), %rax
movq %rax, 0x58(%r12)
callq 0x70b4
movq 0x8(%rsp), %r9
jmp 0xa505
movl $0x68, %edi
movl $0x1, %esi
callq 0x2d54
movq %rax, %r12
movl $0x9, 0xc(%rax)
movq 0x8(%rsp), %rdi
movq %rax, %rsi
callq 0xafa2
movq 0x8(%rsp), %r9
movzwl 0x5a(%r9), %eax
movl %eax, 0x50(%r12)
movl 0x54(%r9), %ecx
movl %ecx, 0x54(%r12)
movzwl 0x58(%r9), %ecx
movl %ecx, 0x58(%r12)
movzwl 0xa6(%r9), %ecx
movl %ecx, 0x5c(%r12)
cmpl $0x4, %eax
je 0xacf7
cmpl $0x3, %eax
je 0xace6
cmpl $0x1, %eax
jne 0xaf0c
leaq 0xaa(%r9), %rdi
callq 0x2e6c
movq 0x8(%rsp), %r9
movq %rax, 0x60(%r12)
jmp 0xaf0c
movl $0xa0, %edi
movl $0x1, %esi
callq 0x2d54
movq %rax, %r12
movl $0x5, 0xc(%rax)
movq 0x8(%rsp), %rdi
movq %rax, %rsi
callq 0xafa2
movq 0x8(%rsp), %rsi
movzwl 0x36(%rsi), %eax
movzbl 0x35(%rsi), %ecx
shll $0x18, %ecx
orl %eax, %ecx
movzbl 0x34(%rsi), %eax
shll $0x10, %eax
orl %ecx, %eax
cvtsi2sd %eax, %xmm0
divsd 0x7f3d(%rip), %xmm0     # 0x11678
movsd %xmm0, 0x90(%r12)
movsbl 0x39(%rsi), %eax
testl %eax, %eax
js 0xaaa4
movzbl 0x3a(%rsi), %ecx
movzbl 0x3b(%rsi), %edx
shll $0x8, %edx
shll $0x18, %eax
orl %ecx, %eax
orl %edx, %eax
movzbl 0x38(%rsi), %ecx
shll $0x10, %ecx
orl %eax, %ecx
jmp 0xaac0
movl $0x88, %edi
movl $0x1, %esi
callq 0x2d54
movq %rax, %r12
movl $0xb, 0xc(%rax)
movq 0x8(%rsp), %rdi
movq %rax, %rsi
callq 0xafa2
movq 0x8(%rsp), %rax
movzwl 0x30(%rax), %edi
leaq 0x54(%r12), %rsi
callq 0x7477
movq 0x8(%rsp), %rax
movzwl 0x32(%rax), %edi
leaq 0x57(%r12), %rsi
callq 0x7477
movq 0x8(%rsp), %r9
movzwl 0x36(%r9), %eax
movl %eax, 0x24(%r12)
movzwl 0x38(%r9), %eax
movw %ax, 0x60(%r12)
movzwl 0x3a(%r9), %eax
movw %ax, 0x62(%r12)
movzwl 0x3c(%r9), %eax
movw %ax, 0x64(%r12)
movzwl 0x3e(%r9), %eax
movw %ax, 0x66(%r12)
movzwl 0x40(%r9), %eax
movw %ax, 0x68(%r12)
movzwl 0x42(%r9), %eax
movw %ax, 0x6a(%r12)
movzwl 0x34(%r9), %eax
movl %eax, 0x5c(%r12)
leaq 0x6c(%r12), %r14
xorpd %xmm0, %xmm0
movupd %xmm0, 0x6c(%r12)
movupd %xmm0, 0x78(%r12)
xorl %ebx, %ebx
movzwl 0x44(%r9,%rbx,2), %edi
movq %r14, %rsi
callq 0x7477
movq 0x8(%rsp), %r9
incq %rbx
addq $0x3, %r14
cmpq $0x9, %rbx
jne 0x9831
jmp 0xaf0c
movl $0x88, %edi
movl $0x1, %esi
callq 0x2d54
movq %rax, %r12
movl $0x2, %ebx
movl %ebx, 0xc(%rax)
movq 0x8(%rsp), %rdi
movq %rax, %rsi
callq 0xafa2
movq 0x8(%rsp), %r9
movl %ebx, 0x50(%r12)
movl 0x20018(%r9), %eax
movzwl 0x36(%r9), %ecx
movzbl 0x35(%r9), %edx
shll $0x18, %edx
orl %ecx, %edx
movzbl 0x34(%r9), %ecx
shll $0x10, %ecx
orl %edx, %ecx
cvtsi2sd %ecx, %xmm0
movsd %xmm0, 0x58(%r12)
movzwl 0x3a(%r9), %ecx
movzbl 0x39(%r9), %edx
shll $0x18, %edx
orl %ecx, %edx
movzbl 0x38(%r9), %ecx
shll $0x10, %ecx
orl %edx, %ecx
xorps %xmm0, %xmm0
cvtsi2sd %ecx, %xmm0
movsd %xmm0, 0x60(%r12)
movzwl 0x3e(%r9), %ecx
movzbl 0x3d(%r9), %edx
shll $0x18, %edx
orl %ecx, %edx
movzbl 0x3c(%r9), %ecx
shll $0x10, %ecx
orl %edx, %ecx
xorps %xmm0, %xmm0
cvtsi2sd %ecx, %xmm0
cmpl %ebx, %eax
jne 0xa57e
leaq 0x40(%r9), %rax
leaq 0x41(%r9), %rsi
movsd %xmm0, 0x70(%r12)
movzwl 0x42(%r9), %edx
movl $0x78, %ecx
jmp 0xa5e5
movl $0x110, %edi            # imm = 0x110
movl $0x1, %esi
callq 0x2d54
movq %rax, %r12
movl $0x8, 0xc(%rax)
movq 0x8(%rsp), %rdi
movq %rax, %rsi
callq 0xafa2
movq 0x8(%rsp), %rax
movzwl 0x34(%rax), %eax
movl %eax, 0x50(%r12)
movq 0x8(%rsp), %rax
movzwl 0x36(%rax), %edi
leaq 0x54(%r12), %rsi
callq 0x7477
movq 0x8(%rsp), %rax
movzwl 0x38(%rax), %edi
leaq 0x57(%r12), %rsi
callq 0x7477
movq 0x8(%rsp), %r9
movzwl 0x3a(%r9), %eax
movw %ax, 0x5c(%r12)
movzwl 0x3c(%r9), %eax
movw %ax, 0x5e(%r12)
movzwl 0x3e(%r9), %eax
movw %ax, 0x60(%r12)
movzwl 0x40(%r9), %eax
movw %ax, 0x62(%r12)
movzwl 0x42(%r9), %eax
movw %ax, 0x64(%r12)
movl 0x20018(%r9), %eax
movzwl 0x46(%r9), %ecx
movzbl 0x45(%r9), %edx
shll $0x18, %edx
orl %ecx, %edx
movzbl 0x44(%r9), %ecx
shll $0x10, %ecx
orl %edx, %ecx
cvtsi2sd %ecx, %xmm0
movsd %xmm0, 0x68(%r12)
movzwl 0x4a(%r9), %ecx
movzbl 0x49(%r9), %edx
shll $0x18, %edx
orl %ecx, %edx
movzbl 0x48(%r9), %ecx
shll $0x10, %ecx
orl %edx, %ecx
xorps %xmm0, %xmm0
cvtsi2sd %ecx, %xmm0
movsd %xmm0, 0x70(%r12)
movzwl 0x4e(%r9), %ecx
movzbl 0x4d(%r9), %edx
shll $0x18, %edx
orl %ecx, %edx
movzbl 0x4c(%r9), %ecx
shll $0x10, %ecx
orl %edx, %ecx
xorps %xmm0, %xmm0
cvtsi2sd %ecx, %xmm0
cmpl $0x2, %eax
jne 0xa6b1
movsd %xmm0, 0x80(%r12)
movzwl 0x52(%r9), %eax
movzbl 0x51(%r9), %ecx
shll $0x18, %ecx
orl %eax, %ecx
movzbl 0x50(%r9), %eax
shll $0x10, %eax
orl %ecx, %eax
xorps %xmm0, %xmm0
cvtsi2sd %eax, %xmm0
movsd %xmm0, 0x88(%r12)
movzwl 0x56(%r9), %eax
movzbl 0x55(%r9), %ecx
shll $0x18, %ecx
orl %eax, %ecx
movzbl 0x54(%r9), %eax
shll $0x10, %eax
orl %ecx, %eax
cvtsi2sd %eax, %xmm1
movsd 0x7187(%rip), %xmm0     # 0x10c10
mulsd %xmm0, %xmm1
movsd %xmm1, 0x98(%r12)
movzwl 0x5a(%r9), %eax
movzbl 0x59(%r9), %ecx
shll $0x18, %ecx
orl %eax, %ecx
movzbl 0x58(%r9), %eax
shll $0x10, %eax
orl %ecx, %eax
xorps %xmm1, %xmm1
cvtsi2sd %eax, %xmm1
mulsd %xmm0, %xmm1
movsd %xmm1, 0xa0(%r12)
movzwl 0x5e(%r9), %eax
movzbl 0x5d(%r9), %ecx
shll $0x18, %ecx
orl %eax, %ecx
movzbl 0x5c(%r9), %eax
shll $0x10, %eax
orl %ecx, %eax
xorps %xmm1, %xmm1
cvtsi2sd %eax, %xmm1
mulsd %xmm0, %xmm1
movsd %xmm1, 0xa8(%r12)
movzwl 0x62(%r9), %eax
movzbl 0x61(%r9), %ecx
shll $0x18, %ecx
orl %eax, %ecx
movzbl 0x60(%r9), %eax
shll $0x10, %eax
orl %ecx, %eax
xorps %xmm1, %xmm1
cvtsi2sd %eax, %xmm1
mulsd %xmm0, %xmm1
movsd %xmm1, 0xb0(%r12)
movzwl 0x66(%r9), %eax
movzbl 0x65(%r9), %ecx
shll $0x18, %ecx
orl %eax, %ecx
movzbl 0x64(%r9), %eax
shll $0x10, %eax
orl %ecx, %eax
xorps %xmm0, %xmm0
cvtsi2sd %eax, %xmm0
movsd %xmm0, 0xe0(%r12)
movzwl 0x6a(%r9), %eax
movzbl 0x69(%r9), %ecx
shll $0x18, %ecx
orl %eax, %ecx
movzbl 0x68(%r9), %eax
shll $0x10, %eax
orl %ecx, %eax
xorps %xmm0, %xmm0
cvtsi2sd %eax, %xmm0
movsd %xmm0, 0xe8(%r12)
movzwl 0x56(%r9), %eax
movzbl 0x55(%r9), %ecx
shll $0x18, %ecx
orl %eax, %ecx
movzbl 0x54(%r9), %eax
shll $0x10, %eax
orl %ecx, %eax
xorps %xmm1, %xmm1
cvtsi2sd %eax, %xmm1
movzwl 0x5a(%r9), %eax
movzbl 0x59(%r9), %ecx
shll $0x18, %ecx
orl %eax, %ecx
movzbl 0x58(%r9), %ebp
shll $0x10, %ebp
orl %ecx, %ebp
cvtsi2sd %ebp, %xmm3
movzwl 0x5e(%r9), %eax
movzbl 0x5d(%r9), %ecx
shll $0x18, %ecx
orl %eax, %ecx
movzbl 0x5c(%r9), %eax
shll $0x10, %eax
orl %ecx, %eax
xorps %xmm0, %xmm0
cvtsi2sd %eax, %xmm0
movzwl 0x62(%r9), %eax
movzbl 0x61(%r9), %ecx
shll $0x18, %ecx
orl %eax, %ecx
movzbl 0x60(%r9), %eax
shll $0x10, %eax
orl %ecx, %eax
cvtsi2sd %eax, %xmm4
movapd %xmm1, %xmm2
mulsd %xmm1, %xmm2
mulsd %xmm0, %xmm0
addsd %xmm2, %xmm0
xorpd %xmm2, %xmm2
ucomisd %xmm2, %xmm0
movsd %xmm1, 0x28(%rsp)
movsd %xmm0, 0x30(%rsp)
jb 0xad14
sqrtsd %xmm0, %xmm0
jmp 0xad35
movl $0x60, %edi
movl $0x1, %esi
callq 0x2d54
movq %rax, %r12
movl $0xf, 0xc(%rax)
movq 0x8(%rsp), %rdi
movq %rax, %rsi
callq 0xafa2
movq 0x8(%rsp), %r9
movzwl 0x36(%r9), %eax
movzbl 0x35(%r9), %ecx
shll $0x18, %ecx
orq %rax, %rcx
movzbl 0x34(%r9), %eax
shll $0x10, %eax
orq %rcx, %rax
movq %rax, 0x50(%r12)
movb 0x38(%r9), %al
andb $0xf, %al
addb $0x2, %al
movb %al, 0x58(%r12)
movb 0x38(%r9), %al
andb $-0x10, %al
movb %al, 0x59(%r12)
movb 0x39(%r9), %al
movb %al, 0x5a(%r12)
movzwl 0x3a(%r9), %eax
movw %ax, 0x5c(%r12)
movzwl 0x3c(%r9), %eax
movw %ax, 0x5e(%r12)
jmp 0xaf0c
movl $0xa8, %edi
movl $0x1, %esi
callq 0x2d54
movq %rax, %r12
movl $0xc, 0xc(%rax)
movq 0x8(%rsp), %rdi
movq %rax, %rsi
callq 0xafa2
movq 0x8(%rsp), %rax
movzwl 0x34(%rax), %eax
movw %ax, 0x50(%r12)
movq 0x8(%rsp), %rax
movzwl 0x38(%rax), %eax
movq 0x8(%rsp), %rcx
movzbl 0x37(%rcx), %ecx
shll $0x18, %ecx
orl %eax, %ecx
movq 0x8(%rsp), %rax
movzbl 0x36(%rax), %eax
shll $0x10, %eax
orl %ecx, %eax
movl %eax, 0x54(%r12)
movq 0x8(%rsp), %rax
movzwl 0x3c(%rax), %eax
movq 0x8(%rsp), %rcx
movzbl 0x3b(%rcx), %ecx
shll $0x18, %ecx
orl %eax, %ecx
movq 0x8(%rsp), %rax
movzbl 0x3a(%rax), %eax
shll $0x10, %eax
orl %ecx, %eax
movl %eax, 0x58(%r12)
movq 0x8(%rsp), %rax
movzwl 0x40(%rax), %eax
movq 0x8(%rsp), %rcx
movzbl 0x3f(%rcx), %ecx
shll $0x18, %ecx
orl %eax, %ecx
movq 0x8(%rsp), %rax
movzbl 0x3e(%rax), %eax
shll $0x10, %eax
orl %ecx, %eax
movl %eax, 0x5c(%r12)
movq 0x8(%rsp), %rax
movzwl 0x44(%rax), %eax
movq 0x8(%rsp), %rcx
movzbl 0x43(%rcx), %ecx
shll $0x18, %ecx
orl %eax, %ecx
movq 0x8(%rsp), %rax
movzbl 0x42(%rax), %eax
shll $0x10, %eax
orl %ecx, %eax
movl %eax, 0x60(%r12)
leaq 0x68(%r12), %rdi
movq 0x8(%rsp), %rax
movq 0x46(%rax), %rax
movq %rax, 0x68(%r12)
callq 0x70b4
leaq 0x70(%r12), %rdi
movq 0x8(%rsp), %rax
movq 0x4e(%rax), %rax
movq %rax, 0x70(%r12)
callq 0x70b4
leaq 0x78(%r12), %rdi
movq 0x8(%rsp), %rax
movq 0x56(%rax), %rax
movq %rax, 0x78(%r12)
callq 0x70b4
leaq 0x80(%r12), %rdi
movq 0x8(%rsp), %rax
movq 0x5e(%rax), %rax
movq %rax, 0x80(%r12)
callq 0x70b4
leaq 0x88(%r12), %rdi
movq 0x8(%rsp), %rax
movq 0x66(%rax), %rax
movq %rax, 0x88(%r12)
callq 0x70b4
leaq 0x90(%r12), %rdi
movq 0x8(%rsp), %rax
movq 0x6e(%rax), %rax
movq %rax, 0x90(%r12)
callq 0x70b4
leaq 0x98(%r12), %rdi
movq 0x8(%rsp), %rax
movq 0x76(%rax), %rax
movq %rax, 0x98(%r12)
callq 0x70b4
leaq 0xa0(%r12), %rdi
movq 0x8(%rsp), %rax
movq 0x7e(%rax), %rax
movq %rax, 0xa0(%r12)
callq 0x70b4
movq 0x8(%rsp), %r9
movsd 0x20020(%r9), %xmm0
movsd 0x80(%r12), %xmm1
mulsd %xmm0, %xmm1
movsd %xmm1, 0x80(%r12)
movsd 0xa0(%r12), %xmm1
mulsd %xmm0, %xmm1
movsd %xmm1, 0xa0(%r12)
movsd 0x20028(%r9), %xmm1
movsd 0x68(%r12), %xmm2
mulsd %xmm0, %xmm2
subsd %xmm1, %xmm2
movsd %xmm2, 0x68(%r12)
movsd 0x20030(%r9), %xmm2
movsd 0x70(%r12), %xmm3
mulsd %xmm0, %xmm3
subsd %xmm2, %xmm3
movsd %xmm3, 0x70(%r12)
movsd 0x20038(%r9), %xmm3
movsd 0x78(%r12), %xmm4
mulsd %xmm0, %xmm4
subsd %xmm3, %xmm4
movsd %xmm4, 0x78(%r12)
movsd 0x88(%r12), %xmm4
mulsd %xmm0, %xmm4
subsd %xmm1, %xmm4
movsd %xmm4, 0x88(%r12)
movsd 0x90(%r12), %xmm1
mulsd %xmm0, %xmm1
subsd %xmm2, %xmm1
movsd %xmm1, 0x90(%r12)
mulsd 0x98(%r12), %xmm0
subsd %xmm3, %xmm0
movsd %xmm0, 0x98(%r12)
jmp 0xaf0c
movq %r9, %rdi
callq 0xb5b7
movq 0x8(%rsp), %r9
movq %rax, %r12
jmp 0xaf0c
movl $0xa0, %edi
movl $0x1, %esi
callq 0x2d54
movq %rax, %r12
movl $0xd, 0xc(%rax)
movq 0x8(%rsp), %rdi
movq %rax, %rsi
callq 0xafa2
movq 0x8(%rsp), %r15
movzwl 0x34(%r15), %eax
movl %eax, 0x50(%r12)
movzwl 0x36(%r15), %eax
movl %eax, 0x54(%r12)
movzwl 0x38(%r15), %eax
movl %eax, 0x58(%r12)
movzbl 0x3a(%r15), %eax
movw %ax, 0x5c(%r12)
movzbl 0x3b(%r15), %eax
movw %ax, 0x5e(%r12)
movzbl 0x3c(%r15), %eax
movw %ax, 0x60(%r12)
movzbl 0x3d(%r15), %eax
movw %ax, 0x62(%r12)
movzwl 0x44(%r15), %eax
movzbl 0x43(%r15), %ecx
shll $0x18, %ecx
orl %eax, %ecx
movzbl 0x42(%r15), %eax
shll $0x10, %eax
orl %ecx, %eax
cvtsi2sd %eax, %xmm1
movsd 0x20020(%r15), %xmm0
mulsd %xmm0, %xmm1
movsd 0x7660(%rip), %xmm2     # 0x11670
mulsd %xmm2, %xmm1
movsd 0x61fc(%rip), %xmm3     # 0x10218
divsd %xmm3, %xmm1
movsd %xmm1, 0x70(%r12)
movzwl 0x48(%r15), %eax
movzbl 0x47(%r15), %ecx
shll $0x18, %ecx
orl %eax, %ecx
movzbl 0x46(%r15), %eax
shll $0x10, %eax
orl %ecx, %eax
xorps %xmm1, %xmm1
cvtsi2sd %eax, %xmm1
mulsd %xmm0, %xmm1
mulsd %xmm2, %xmm1
divsd %xmm3, %xmm1
movsd %xmm1, 0x78(%r12)
cmpl $0x2, 0x20018(%r15)
jne 0xa974
movzwl 0x4c(%r15), %eax
movzbl 0x4b(%r15), %ecx
shll $0x18, %ecx
orl %eax, %ecx
movzbl 0x4a(%r15), %eax
shll $0x10, %eax
orl %ecx, %eax
xorps %xmm1, %xmm1
cvtsi2sd %eax, %xmm1
divsd 0x75e8(%rip), %xmm1     # 0x11678
movl $0x90, %eax
movl $0x53, %ecx
movl $0x55, %esi
movl $0x54, %edi
movl $0x52, %edx
movl $0x88, %r8d
movl $0x4f, %r9d
movl $0x51, %r11d
movl $0x50, %ebx
movl $0x4e, %r10d
movl $0x80, %r14d
jmp 0xa9d0
movl $0x70, %edi
movl $0x1, %esi
callq 0x2d54
movq %rax, %r12
movl $0xe, 0xc(%rax)
movq 0x8(%rsp), %rdi
movq %rax, %rsi
callq 0xafa2
movq 0x8(%rsp), %r9
movzwl 0x36(%r9), %eax
movzbl 0x35(%r9), %ecx
shll $0x18, %ecx
orq %rax, %rcx
movzbl 0x34(%r9), %eax
shll $0x10, %eax
orq %rcx, %rax
movq %rax, 0x50(%r12)
movb 0x39(%r9), %al
movb %al, 0x58(%r12)
movb 0x38(%r9), %al
andb $0xf, %al
addb $0x2, %al
movb %al, 0x59(%r12)
movzbl 0x38(%r9), %eax
andl $-0x10, %eax
movw %ax, 0x5a(%r12)
movzwl 0x3a(%r9), %eax
movw %ax, 0x5c(%r12)
movzwl 0x3c(%r9), %eax
movw %ax, 0x5e(%r12)
movzwl 0x3e(%r9), %eax
movw %ax, 0x60(%r12)
movb 0x40(%r9), %al
andb $0xf, %al
addb $0x2, %al
movb %al, 0x62(%r12)
movzbl 0x40(%r9), %eax
andl $-0x10, %eax
movw %ax, 0x64(%r12)
movzwl 0x42(%r9), %eax
movw %ax, 0x66(%r12)
movzwl 0x44(%r9), %eax
movw %ax, 0x68(%r12)
movzwl 0x46(%r9), %eax
movw %ax, 0x6a(%r12)
movzbl 0x48(%r9), %eax
movzbl 0x49(%r9), %ecx
imull $0x22c, %ecx, %ecx      # imm = 0x22C
addl %eax, %ecx
movw %cx, 0x6c(%r12)
jmp 0xaf0c
movzwl 0x36(%r9), %ebx
leal (%rbx,%rbx,2), %eax
leal 0x58(,%rax,8), %edi
movl $0x1, %esi
callq 0x2d54
movq %rax, %r12
movl $0x10, 0xc(%rax)
movq 0x8(%rsp), %rdi
movq %rax, %rsi
callq 0xafa2
movq 0x8(%rsp), %r9
movzwl 0x34(%r9), %eax
movw %ax, 0x50(%r12)
movw %bx, 0x52(%r12)
movswl %bx, %eax
testl %eax, %eax
jle 0xaf0c
movl %eax, %eax
leaq (%rax,%rax,2), %rax
leaq 0x3f(%r9), %rcx
xorl %edx, %edx
movzwl -0x5(%rcx), %esi
movzbl -0x6(%rcx), %edi
shll $0x18, %edi
orl %esi, %edi
movzbl -0x7(%rcx), %esi
shll $0x10, %esi
orl %edi, %esi
xorps %xmm0, %xmm0
cvtsi2sd %esi, %xmm0
movsd %xmm0, 0x58(%r12,%rdx,8)
movzwl -0x1(%rcx), %esi
movzbl -0x2(%rcx), %edi
shll $0x18, %edi
orl %esi, %edi
movzbl -0x3(%rcx), %esi
shll $0x10, %esi
orl %edi, %esi
xorps %xmm0, %xmm0
cvtsi2sd %esi, %xmm0
movsd %xmm0, 0x60(%r12,%rdx,8)
movq $0x0, 0x68(%r12,%rdx,8)
addq $0x3, %rdx
addq $0x8, %rcx
cmpq %rdx, %rax
jne 0xa217
jmp 0xaf0c
movzwl 0x50(%r13), %eax
movzbl 0x4f(%r13), %ecx
shll $0x18, %ecx
orl %eax, %ecx
movzbl 0x4e(%r13), %eax
shll $0x10, %eax
orl %ecx, %eax
xorps %xmm1, %xmm1
cvtsi2sd %eax, %xmm1
movsd %xmm1, 0x70(%r12)
movl $0x4c, %eax
movl $0x80, %ecx
movl $0x57, %edx
movl $0x59, %r8d
movl $0x58, %r9d
movl $0x56, %edi
movl $0x78, %r10d
movl $0x53, %r11d
movl $0x55, %r14d
movl $0x54, %ebp
movl $0x52, %ebx
movzbl (%r13,%rbp), %ebp
movzbl (%r13,%r14), %r14d
shll $0x8, %r14d
orl %ebp, %r14d
movzbl (%r13,%r11), %r11d
shll $0x18, %r11d
orl %r14d, %r11d
movzbl (%r13,%rbx), %ebx
shll $0x10, %ebx
orl %r11d, %ebx
xorps %xmm1, %xmm1
cvtsi2sd %ebx, %xmm1
movsd %xmm1, (%r12,%r10)
movzbl (%r13,%r9), %r9d
movzbl (%r13,%r8), %r8d
shll $0x8, %r8d
orl %r9d, %r8d
movzbl (%r13,%rdx), %edx
shll $0x18, %edx
orl %r8d, %edx
movzbl (%r13,%rdi), %edi
shll $0x10, %edi
orl %edx, %edi
xorps %xmm1, %xmm1
cvtsi2sd %edi, %xmm1
movsd %xmm1, (%r12,%rcx)
movsd 0x70(%r12), %xmm1
mulsd %xmm0, %xmm1
subsd 0x20028(%r13), %xmm1
movsd %xmm1, 0x70(%r12)
movsd 0x78(%r12), %xmm1
mulsd %xmm0, %xmm1
subsd 0x20030(%r13), %xmm1
movsd %xmm1, 0x78(%r12)
mulsd 0x80(%r12), %xmm0
subsd 0x20038(%r13), %xmm0
movsd %xmm0, 0x80(%r12)
addq %rax, %rsi
cmpb $-0x1, 0x10(%r13,%rax)
jne 0xa412
cmpb $-0x3, 0x1(%rsi)
jne 0xa412
movq %r13, %r9
xorl %eax, %eax
cmpb $0x4, %r15b
jb 0xa404
shrb %r15b
movzbl %r15b, %ecx
decl %ecx
xorl %edx, %edx
movzwl 0x2(%rsi,%rdx,2), %edi
movl %eax, %r8d
cmpl $0xff, %edi
ja 0xa3e6
movb %dil, 0x88(%r12,%r8)
movl $0x1, %edi
jmp 0xa3f8
rolw $0x8, %di
movw %di, 0x88(%r12,%r8)
movl $0x2, %edi
addl %edi, %eax
incq %rdx
cmpq %rdx, %rcx
jne 0xa3c7
movl %eax, %eax
movb $0x0, 0x88(%r12,%rax)
jmp 0xaf0c
movq %r12, %rdi
addq $0x88, %rdi
movq %r15, %rdx
callq 0x2240
movq 0x8(%rsp), %r9
movb $0x0, 0x88(%r12,%r15)
jmp 0xaf0c
leaq 0x50(%r12), %rdi
movq 0x54(%rdx), %rax
movq %rax, 0x50(%r12)
callq 0x70b4
leaq 0x58(%r12), %rdi
movq 0x8(%rsp), %rax
movq 0x5c(%rax), %rax
movq %rax, 0x58(%r12)
callq 0x70b4
movq %r12, %rdi
addq $0x60, %rdi
movq 0x8(%rsp), %rax
movq 0x64(%rax), %rax
movq %rax, 0x60(%r12)
callq 0x70b4
movq 0x8(%rsp), %r9
movzwl 0x46(%r9), %eax
movzbl 0x45(%r9), %ecx
shll $0x18, %ecx
orl %eax, %ecx
movzbl 0x44(%r9), %eax
shll $0x10, %eax
orl %ecx, %eax
movl %eax, 0x80(%r12)
movzwl 0x4a(%r9), %eax
movzbl 0x49(%r9), %ecx
shll $0x18, %ecx
orl %eax, %ecx
movzbl 0x48(%r9), %eax
shll $0x10, %eax
orl %ecx, %eax
movl %eax, 0x84(%r12)
movzwl 0x4e(%r9), %eax
movzbl 0x4d(%r9), %ecx
shll $0x18, %ecx
orl %eax, %ecx
movzbl 0x4c(%r9), %eax
shll $0x10, %eax
orl %ecx, %eax
movl %eax, 0x88(%r12)
movzwl 0x52(%r9), %eax
movzbl 0x51(%r9), %ecx
shll $0x18, %ecx
orl %eax, %ecx
movzbl 0x50(%r9), %eax
shll $0x10, %eax
orl %ecx, %eax
movl %eax, 0x8c(%r12)
movsd 0x20020(%r9), %xmm0
movsd 0x50(%r12), %xmm1
mulsd %xmm0, %xmm1
subsd 0x20028(%r9), %xmm1
movsd %xmm1, 0x50(%r12)
movsd 0x58(%r12), %xmm1
mulsd %xmm0, %xmm1
subsd 0x20030(%r9), %xmm1
movsd %xmm1, 0x58(%r12)
mulsd 0x60(%r12), %xmm0
subsd 0x20038(%r9), %xmm0
movsd %xmm0, 0x60(%r12)
movq $0x0, 0x90(%r12)
movabsq $0x4076800000000000, %rax # imm = 0x4076800000000000
movq %rax, 0x98(%r12)
jmp 0xaf0c
movsd %xmm0, 0x68(%r12)
movzwl 0x42(%r9), %eax
movzbl 0x41(%r9), %ecx
shll $0x18, %ecx
orl %eax, %ecx
movzbl 0x40(%r9), %eax
shll $0x10, %eax
orl %ecx, %eax
xorps %xmm0, %xmm0
cvtsi2sd %eax, %xmm0
movsd %xmm0, 0x70(%r12)
movzwl 0x46(%r9), %eax
movzbl 0x45(%r9), %ecx
shll $0x18, %ecx
orl %eax, %ecx
movzbl 0x44(%r9), %eax
shll $0x10, %eax
orl %ecx, %eax
xorps %xmm0, %xmm0
cvtsi2sd %eax, %xmm0
movsd %xmm0, 0x78(%r12)
leaq 0x48(%r9), %rax
movzwl 0x4a(%r9), %edx
leaq 0x49(%r9), %rsi
movl $0x80, %ecx
movzbl (%rsi), %esi
shll $0x18, %esi
orl %edx, %esi
movzbl (%rax), %eax
shll $0x10, %eax
orl %esi, %eax
xorps %xmm0, %xmm0
cvtsi2sd %eax, %xmm0
movsd %xmm0, (%r12,%rcx)
movsd 0x20020(%r9), %xmm0
movsd 0x20028(%r9), %xmm1
movsd 0x58(%r12), %xmm2
mulsd %xmm0, %xmm2
subsd %xmm1, %xmm2
movsd %xmm2, 0x58(%r12)
movsd 0x20030(%r9), %xmm2
movsd 0x60(%r12), %xmm3
mulsd %xmm0, %xmm3
subsd %xmm2, %xmm3
movsd %xmm3, 0x60(%r12)
movsd 0x20038(%r9), %xmm3
movsd 0x68(%r12), %xmm4
mulsd %xmm0, %xmm4
subsd %xmm3, %xmm4
movsd %xmm4, 0x68(%r12)
movsd 0x70(%r12), %xmm4
mulsd %xmm0, %xmm4
subsd %xmm1, %xmm4
movsd %xmm4, 0x70(%r12)
movsd 0x78(%r12), %xmm1
mulsd %xmm0, %xmm1
subsd %xmm2, %xmm1
movsd %xmm1, 0x78(%r12)
mulsd 0x80(%r12), %xmm0
subsd %xmm3, %xmm0
movsd %xmm0, 0x80(%r12)
jmp 0xaf0c
movsd %xmm0, 0x78(%r12)
movzwl 0x52(%r9), %eax
movzbl 0x51(%r9), %ecx
shll $0x18, %ecx
orl %eax, %ecx
movzbl 0x50(%r9), %eax
shll $0x10, %eax
orl %ecx, %eax
xorps %xmm0, %xmm0
cvtsi2sd %eax, %xmm0
movsd %xmm0, 0x80(%r12)
movzwl 0x56(%r9), %eax
movzbl 0x55(%r9), %ecx
shll $0x18, %ecx
orl %eax, %ecx
movzbl 0x54(%r9), %eax
shll $0x10, %eax
orl %ecx, %eax
xorps %xmm0, %xmm0
cvtsi2sd %eax, %xmm0
movsd %xmm0, 0x88(%r12)
movzwl 0x5a(%r9), %eax
movzbl 0x59(%r9), %ecx
shll $0x18, %ecx
orl %eax, %ecx
movzbl 0x58(%r9), %eax
shll $0x10, %eax
orl %ecx, %eax
xorps %xmm0, %xmm0
cvtsi2sd %eax, %xmm0
movsd %xmm0, 0x90(%r12)
movzwl 0x5e(%r9), %eax
movzbl 0x5d(%r9), %ecx
shll $0x18, %ecx
orl %eax, %ecx
movzbl 0x5c(%r9), %eax
shll $0x10, %eax
orl %ecx, %eax
cvtsi2sd %eax, %xmm1
movsd 0x64b5(%rip), %xmm0     # 0x10c10
mulsd %xmm0, %xmm1
movsd %xmm1, 0x98(%r12)
movzwl 0x62(%r9), %eax
movzbl 0x61(%r9), %ecx
shll $0x18, %ecx
orl %eax, %ecx
movzbl 0x60(%r9), %eax
shll $0x10, %eax
orl %ecx, %eax
xorps %xmm1, %xmm1
cvtsi2sd %eax, %xmm1
mulsd %xmm0, %xmm1
movsd %xmm1, 0xa0(%r12)
movzwl 0x66(%r9), %eax
movzbl 0x65(%r9), %ecx
shll $0x18, %ecx
orl %eax, %ecx
movzbl 0x64(%r9), %eax
shll $0x10, %eax
orl %ecx, %eax
xorps %xmm1, %xmm1
cvtsi2sd %eax, %xmm1
mulsd %xmm0, %xmm1
movsd %xmm1, 0xa8(%r12)
movzwl 0x6a(%r9), %eax
movzbl 0x69(%r9), %ecx
shll $0x18, %ecx
orl %eax, %ecx
movzbl 0x68(%r9), %eax
shll $0x10, %eax
orl %ecx, %eax
xorps %xmm1, %xmm1
cvtsi2sd %eax, %xmm1
mulsd %xmm0, %xmm1
movsd %xmm1, 0xb0(%r12)
movzwl 0x6e(%r9), %eax
movzbl 0x6d(%r9), %ecx
shll $0x18, %ecx
orl %eax, %ecx
movzbl 0x6c(%r9), %eax
shll $0x10, %eax
orl %ecx, %eax
xorps %xmm1, %xmm1
cvtsi2sd %eax, %xmm1
mulsd %xmm0, %xmm1
movsd %xmm1, 0xb8(%r12)
movzwl 0x72(%r9), %eax
movzbl 0x71(%r9), %ecx
shll $0x18, %ecx
orl %eax, %ecx
movzbl 0x70(%r9), %eax
shll $0x10, %eax
orl %ecx, %eax
xorps %xmm1, %xmm1
cvtsi2sd %eax, %xmm1
mulsd %xmm0, %xmm1
movsd %xmm1, 0xc0(%r12)
movzwl 0x76(%r9), %eax
movzbl 0x75(%r9), %ecx
shll $0x18, %ecx
orl %eax, %ecx
movzbl 0x74(%r9), %eax
shll $0x10, %eax
orl %ecx, %eax
xorps %xmm1, %xmm1
cvtsi2sd %eax, %xmm1
mulsd %xmm0, %xmm1
movsd %xmm1, 0xc8(%r12)
movzwl 0x7a(%r9), %eax
movzbl 0x79(%r9), %ecx
shll $0x18, %ecx
orl %eax, %ecx
movzbl 0x78(%r9), %eax
shll $0x10, %eax
orl %ecx, %eax
xorps %xmm1, %xmm1
cvtsi2sd %eax, %xmm1
mulsd %xmm0, %xmm1
movsd %xmm1, 0xd0(%r12)
movzwl 0x7e(%r9), %eax
movzbl 0x7d(%r9), %ecx
shll $0x18, %ecx
orl %eax, %ecx
movzbl 0x7c(%r9), %eax
shll $0x10, %eax
orl %ecx, %eax
xorps %xmm1, %xmm1
cvtsi2sd %eax, %xmm1
mulsd %xmm0, %xmm1
movsd %xmm1, 0xd8(%r12)
movzwl 0x82(%r9), %eax
movzbl 0x81(%r9), %ecx
shll $0x18, %ecx
orl %eax, %ecx
movzbl 0x80(%r9), %eax
shll $0x10, %eax
orl %ecx, %eax
cvtsi2sd %eax, %xmm0
movsd %xmm0, 0xe0(%r12)
movzwl 0x86(%r9), %eax
movzbl 0x85(%r9), %ecx
shll $0x18, %ecx
orl %eax, %ecx
movzbl 0x84(%r9), %eax
shll $0x10, %eax
orl %ecx, %eax
xorps %xmm0, %xmm0
cvtsi2sd %eax, %xmm0
movsd %xmm0, 0xe8(%r12)
movzwl 0x8a(%r9), %eax
movzbl 0x89(%r9), %ecx
shll $0x18, %ecx
orl %eax, %ecx
movzbl 0x88(%r9), %eax
shll $0x10, %eax
orl %ecx, %eax
xorps %xmm0, %xmm0
cvtsi2sd %eax, %xmm0
movsd %xmm0, 0xf0(%r12)
jmp 0xae02
movzwl 0x5c(%r15), %eax
movzbl 0x5b(%r15), %ecx
shll $0x18, %ecx
orl %eax, %ecx
movzbl 0x5a(%r15), %eax
shll $0x10, %eax
orl %ecx, %eax
xorps %xmm1, %xmm1
cvtsi2sd %eax, %xmm1
movl $0x98, %eax
movl $0x63, %ecx
movl $0x65, %esi
movl $0x64, %edi
movl $0x62, %edx
movl $0x90, %r8d
movl $0x5f, %r9d
movl $0x61, %r11d
movl $0x60, %ebx
movl $0x5e, %r10d
movl $0x88, %r14d
movsd %xmm1, (%r12,%r14)
movzbl (%r15,%rbx), %ebx
movzbl (%r15,%r11), %r11d
shll $0x8, %r11d
orl %ebx, %r11d
movzbl (%r15,%r9), %r9d
shll $0x18, %r9d
orl %r11d, %r9d
movzbl (%r15,%r10), %r10d
shll $0x10, %r10d
orl %r9d, %r10d
xorps %xmm1, %xmm1
cvtsi2sd %r10d, %xmm1
movsd %xmm1, (%r12,%r8)
movzbl (%r15,%rdi), %edi
movzbl (%r15,%rsi), %esi
shll $0x8, %esi
orl %edi, %esi
movzbl (%r15,%rcx), %ecx
shll $0x18, %ecx
orl %esi, %ecx
movzbl (%r15,%rdx), %edx
shll $0x10, %edx
orl %ecx, %edx
xorps %xmm1, %xmm1
cvtsi2sd %edx, %xmm1
movsd %xmm1, (%r12,%rax)
movsd 0x88(%r12), %xmm1
mulsd %xmm0, %xmm1
subsd 0x20028(%r15), %xmm1
movsd %xmm1, 0x88(%r12)
movsd 0x90(%r12), %xmm1
mulsd %xmm0, %xmm1
subsd 0x20030(%r15), %xmm1
movsd %xmm1, 0x90(%r12)
mulsd 0x98(%r12), %xmm0
subsd 0x20038(%r15), %xmm0
movsd %xmm0, 0x98(%r12)
movq %r15, %r9
jmp 0xaf0c
andb $0x7f, %al
movb %al, 0x39(%rsi)
negb %al
movzbl %al, %ecx
shll $0x18, %ecx
movzbl 0x38(%rsi), %eax
shll $0x10, %eax
movzwl 0x3a(%rsi), %edx
orl %eax, %edx
subl %edx, %ecx
testl %ecx, %ecx
je 0xaad5
xorps %xmm0, %xmm0
cvtsi2sd %ecx, %xmm0
divsd 0x6ba5(%rip), %xmm0     # 0x11678
jmp 0xaadd
movsd 0x6ba3(%rip), %xmm0     # 0x11680
movsd %xmm0, 0x98(%r12)
leaq 0x68(%r12), %rdi
movq 0x3c(%rsi), %rax
movq %rax, 0x68(%r12)
callq 0x70b4
movq 0x8(%rsp), %rax
movsd 0x20020(%rax), %xmm0
mulsd 0x68(%r12), %xmm0
movsd %xmm0, 0x68(%r12)
leaq 0x70(%r12), %rdi
movq 0x8(%rsp), %rax
movq 0x44(%rax), %rax
movq %rax, 0x70(%r12)
callq 0x70b4
movq 0x8(%rsp), %rdx
movsd 0x20020(%rdx), %xmm0
mulsd 0x70(%r12), %xmm0
movsd %xmm0, 0x70(%r12)
cmpl $0x2, 0x20018(%rdx)
jne 0xabb4
movzwl 0x4e(%rdx), %eax
movzbl 0x4d(%rdx), %ecx
shll $0x18, %ecx
orl %eax, %ecx
movzbl 0x4c(%rdx), %eax
shll $0x10, %eax
orl %ecx, %eax
xorps %xmm0, %xmm0
cvtsi2sd %eax, %xmm0
divsd 0x6b02(%rip), %xmm0     # 0x11678
movsd %xmm0, 0x78(%r12)
leaq 0x50(%r12), %rdi
movq 0x50(%rdx), %rax
movq %rax, 0x50(%r12)
callq 0x70b4
movq %r12, %rdi
addq $0x58, %rdi
movq 0x8(%rsp), %rax
movq 0x58(%rax), %rax
movq %rax, 0x58(%r12)
callq 0x70b4
movq 0x8(%rsp), %r9
jmp 0xac8b
movq $0x0, 0x78(%r12)
leaq 0x50(%r12), %rdi
movq 0x5c(%rdx), %rax
movq %rax, 0x50(%r12)
callq 0x70b4
leaq 0x58(%r12), %rdi
movq 0x8(%rsp), %rax
movq 0x64(%rax), %rax
movq %rax, 0x58(%r12)
callq 0x70b4
movq %r12, %rdi
addq $0x60, %rdi
movq 0x8(%rsp), %rax
movq 0x6c(%rax), %rax
movq %rax, 0x60(%r12)
callq 0x70b4
movq 0x8(%rsp), %r9
movzwl 0x4e(%r9), %eax
movzbl 0x4d(%r9), %ecx
shll $0x18, %ecx
orl %eax, %ecx
movzbl 0x4c(%r9), %eax
shll $0x10, %eax
orl %ecx, %eax
movl %eax, 0x80(%r12)
movzwl 0x52(%r9), %eax
movzbl 0x51(%r9), %ecx
shll $0x18, %ecx
orl %eax, %ecx
movzbl 0x50(%r9), %eax
shll $0x10, %eax
orl %ecx, %eax
movl %eax, 0x84(%r12)
movzwl 0x56(%r9), %eax
movzbl 0x55(%r9), %ecx
shll $0x18, %ecx
orl %eax, %ecx
movzbl 0x54(%r9), %eax
shll $0x10, %eax
orl %ecx, %eax
movl %eax, 0x88(%r12)
movzwl 0x5a(%r9), %eax
movzbl 0x59(%r9), %ecx
shll $0x18, %ecx
orl %eax, %ecx
movzbl 0x58(%r9), %eax
shll $0x10, %eax
orl %ecx, %eax
movl %eax, 0x8c(%r12)
movsd 0x20020(%r9), %xmm0
movsd 0x50(%r12), %xmm1
mulsd %xmm0, %xmm1
subsd 0x20028(%r9), %xmm1
movsd %xmm1, 0x50(%r12)
movsd 0x58(%r12), %xmm1
mulsd %xmm0, %xmm1
subsd 0x20030(%r9), %xmm1
movsd %xmm1, 0x58(%r12)
mulsd 0x60(%r12), %xmm0
subsd 0x20038(%r9), %xmm0
movsd %xmm0, 0x60(%r12)
jmp 0xaf0c
movl 0xaa(%r9), %eax
movl %eax, 0x60(%r12)
jmp 0xaf0c
movq %r12, %rdi
addq $0x60, %rdi
movq 0xaa(%r9), %rax
movq %rax, 0x60(%r12)
callq 0x70b4
jmp 0x955d
movsd %xmm3, 0x40(%rsp)
movsd %xmm4, 0x38(%rsp)
callq 0x2220
xorpd %xmm2, %xmm2
movsd 0x38(%rsp), %xmm4
movsd 0x40(%rsp), %xmm3
divsd 0x694b(%rip), %xmm0     # 0x11688
movsd %xmm0, 0xf8(%r12)
mulsd %xmm4, %xmm4
mulsd %xmm3, %xmm3
addsd %xmm4, %xmm3
ucomisd %xmm2, %xmm3
jb 0xad62
xorps %xmm0, %xmm0
sqrtsd %xmm3, %xmm0
jmp 0xad6b
movapd %xmm3, %xmm0
callq 0x2220
movq 0x8(%rsp), %r9
movsd 0x30(%rsp), %xmm1
divsd 0x690a(%rip), %xmm0     # 0x11688
movsd %xmm0, 0x100(%r12)
xorpd %xmm0, %xmm0
ucomisd %xmm1, %xmm0
jae 0xadc2
ucomisd %xmm0, %xmm1
jb 0xada1
xorps %xmm0, %xmm0
sqrtsd %xmm1, %xmm0
jmp 0xadaa
movapd %xmm1, %xmm0
callq 0x2220
movsd 0x28(%rsp), %xmm1
divsd %xmm0, %xmm1
movapd %xmm1, %xmm0
callq 0x22c0
movq 0x8(%rsp), %r9
movsd %xmm0, 0x108(%r12)
mulsd 0x5e24(%rip), %xmm0     # 0x10bf8
divsd 0x68b4(%rip), %xmm0     # 0x11690
testl %ebp, %ebp
je 0xadf8
movsd 0x6898(%rip), %xmm1     # 0x11680
subsd %xmm0, %xmm1
movsd %xmm1, 0x108(%r12)
jmp 0xae02
movsd %xmm0, 0x108(%r12)
movsd 0x20020(%r9), %xmm0
movsd 0x20028(%r9), %xmm1
movsd 0x68(%r12), %xmm2
mulsd %xmm0, %xmm2
subsd %xmm1, %xmm2
movsd %xmm2, 0x68(%r12)
movsd 0x20030(%r9), %xmm2
movsd 0x70(%r12), %xmm3
mulsd %xmm0, %xmm3
subsd %xmm2, %xmm3
movsd %xmm3, 0x70(%r12)
movsd 0x20038(%r9), %xmm3
movsd 0x78(%r12), %xmm4
mulsd %xmm0, %xmm4
subsd %xmm3, %xmm4
movsd %xmm4, 0x78(%r12)
movsd 0x80(%r12), %xmm4
mulsd %xmm0, %xmm4
subsd %xmm1, %xmm4
movsd %xmm4, 0x80(%r12)
movsd 0x88(%r12), %xmm4
mulsd %xmm0, %xmm4
subsd %xmm2, %xmm4
movsd %xmm4, 0x88(%r12)
movsd 0x90(%r12), %xmm4
mulsd %xmm0, %xmm4
subsd %xmm3, %xmm4
movsd %xmm4, 0x90(%r12)
movsd 0xe0(%r12), %xmm4
mulsd %xmm0, %xmm4
subsd %xmm1, %xmm4
movsd %xmm4, 0xe0(%r12)
movsd 0xe8(%r12), %xmm1
mulsd %xmm0, %xmm1
subsd %xmm2, %xmm1
movsd %xmm1, 0xe8(%r12)
mulsd 0xf0(%r12), %xmm0
subsd %xmm3, %xmm0
movsd %xmm0, 0xf0(%r12)
cmpl $0x1, 0xc(%r12)
je 0xaf1e
testb $0x1, 0x2001c(%r9)
je 0xaf4c
movslq 0xc(%r9), %rdi
movl %edi, 0x40(%r12)
callq 0x2d9b
movq %rax, 0x48(%r12)
movq 0x8(%rsp), %rcx
leaq 0x10(%rcx), %rsi
movslq 0x40(%r12), %rdx
movq %rax, %rdi
callq 0x2240
movq 0x8(%rsp), %r9
movl 0x8(%r9), %eax
decl %eax
movl %eax, 0x8(%r12)
movq (%r9), %rdi
movq %r9, %rbx
callq 0x6f53
movl 0xc(%rbx), %ecx
subl %ecx, %eax
movl %eax, (%r12)
movl %ecx, 0x4(%r12)
movq %r12, %rax
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq