// File: /workspace/github_cpp_makefile_star2_O1/grisu48[P]geoJson/geoJson.cpp
// Function: processStream(std::istream&, std::ostream&)
static bool processStream(istream &in, ostream &out = cout) {
	out << setprecision(7);
	
    // Read stream to end
    stringstream buf;
    string text;
    while((getline(in, text)))
        buf << text << '\n';
    text = buf.str();
    
    
    // Parse GPX
    try {
        xml_document<> doc;                     // character type defaults to char
        doc.parse<0>((char*)text.c_str());      // 0 means default parse flags
        
        xml_node<> *node = doc.first_node("gpx");
        if(node == NULL) throw "No data";
        
        // Get GPX attributes
        map<string, string> attrs;              // GPX attributes
        for (xml_attribute<> *attr = node->first_attribute(); attr; attr = attr->next_attribute())
            attrs[attr->name()] = attr->value();

        vector<Coords> coords;

        // Read out tracks
        for (xml_node<> *child = node->first_node("trk"); child; child = child->next_sibling("trk"))
        {
            // Scan for track segments
            for (xml_node<> *seg = child->first_node("trkseg"); seg; seg = seg->next_sibling("trkseg")) {
                // And track points
                for (xml_node<> *pt = seg->first_node("trkpt"); pt; pt = pt->next_sibling("trkpt")) {
                    
                    Coords coord;
                    
                    for (xml_attribute<> *attr = pt->first_attribute(); attr; attr = attr->next_attribute()) {
                        string name = attr->name();
                        if(name == "lon")
                            coord.lon = ::atof(attr->value());
                        else if(name == "lat")
                            coord.lat = ::atof(attr->value());
                    }
                    for (xml_node<> *p = pt->first_node(); p; p = p->next_sibling()) {
                        string name = p->name();
                        if(name == "ele")
                            coord.ele = ::atof(p->value());
                        else if (name == "time")
                            coord.time = p->value();
                    }
                    
                    coords.push_back(coord);
                    
                }
            }
        }
        
        printGeoJson(out, coords);
        
    } catch (parse_error &e) {
        cerr << "Parse error: " << e.what() << endl;
        return false;
    } catch (const char* msg) {
        cerr << "Parse error: No GPX data" << endl;
        return false;
    }
    return true;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x102f8, %rsp          # imm = 0x102F8
movq %rdi, %rbx
movq (%rsi), %rax
movq -0x18(%rax), %rax
movq %rsi, 0x8(%rsp)
movq $0x7, 0x8(%rsi,%rax)
leaq 0xe8(%rsp), %rdi
callq 0x2170
leaq 0x78(%rsp), %rax
movq %rax, -0x10(%rax)
movq $0x0, -0x8(%rax)
movb $0x0, (%rax)
leaq 0xf8(%rsp), %r14
leaq 0x68(%rsp), %r15
leaq 0x270(%rsp), %r12
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x21d0
movsbl %al, %edx
movq %rbx, %rdi
movq %r15, %rsi
callq 0x2330
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
testb $0x5, 0x20(%rax,%rcx)
jne 0x2d71
movq 0x68(%rsp), %rsi
movq 0x70(%rsp), %rdx
movq %r14, %rdi
callq 0x2210
movb $0xa, 0x270(%rsp)
movl $0x1, %edx
movq %rax, %rdi
movq %r12, %rsi
callq 0x2210
jmp 0x2d15
leaq 0x100(%rsp), %rsi
leaq 0x270(%rsp), %rdi
callq 0x22b0
leaq 0x68(%rsp), %rdi
leaq 0x270(%rsp), %rbx
movq %rbx, %rsi
callq 0x2220
movq (%rbx), %rdi
leaq 0x280(%rsp), %rax
cmpq %rax, %rdi
je 0x2db0
callq 0x21c0
xorl %eax, %eax
leaq 0x2d0(%rsp), %rcx
movq %rax, -0x40(%rcx)
vxorps %xmm0, %xmm0, %xmm0
vmovaps %xmm0, -0x60(%rcx)
movl $0x0, -0x38(%rcx)
movq %rax, -0x30(%rcx)
movq %rax, -0x20(%rcx)
leaq 0x102e8(%rsp), %rax
leaq 0x2e8(%rsp), %rcx
vmovups %xmm0, (%rax)
movq %rcx, -0x18(%rcx)
movq %rcx, -0x10(%rcx)
movq %rax, -0x8(%rcx)
movq 0x68(%rsp), %rsi
leaq 0x270(%rsp), %rdi
callq 0x3b98
leaq 0x3477(%rip), %rsi      # 0x6286
leaq 0x270(%rsp), %rdi
xorl %edx, %edx
movl $0x1, %ecx
callq 0x3cc8
testq %rax, %rax
je 0x393e
leaq 0xc0(%rsp), %rdx
movl $0x0, (%rdx)
xorl %ecx, %ecx
movq %rcx, 0x8(%rdx)
movq %rdx, 0x10(%rdx)
movq %rdx, 0x18(%rdx)
movq %rcx, 0x20(%rdx)
movq %rax, 0x18(%rsp)
movq 0x40(%rax), %r15
testq %r15, %r15
je 0x2eea
leaq 0x6365(%rip), %r12      # 0x91ca
leaq 0x20(%rsp), %r14
movq 0x8(%r15), %r13
testq %r13, %r13
cmoveq %r12, %r13
movq (%r15), %rsi
testq %rsi, %rsi
cmoveq %r12, %rsi
movq %r14, %rdi
leaq 0x98(%rsp), %rdx
callq 0x20e0
leaq 0xb8(%rsp), %rdi
movq %r14, %rsi
callq 0x3df4
movq %rax, %rbp
movq 0x8(%rax), %rbx
movq %r13, %rdi
callq 0x2100
movq %rbp, %rdi
xorl %esi, %esi
movq %rbx, %rdx
movq %r13, %rcx
movq %rax, %r8
callq 0x22a0
movq 0x20(%rsp), %rdi
leaq 0x30(%rsp), %rax
cmpq %rax, %rdi
je 0x2ed5
callq 0x21c0
movq 0x20(%r15), %rax
testq %rax, %rax
je 0x2ee2
movq 0x30(%r15), %rax
movq %rax, %r15
testq %rax, %rax
jne 0x2e6a
vxorps %xmm0, %xmm0, %xmm0
vmovaps %xmm0, 0x50(%rsp)
movq $0x0, 0x60(%rsp)
leaq 0x338e(%rip), %rsi      # 0x6292
movq 0x18(%rsp), %rdi
xorl %edx, %edx
movl $0x1, %ecx
callq 0x3cc8
testq %rax, %rax
je 0x31d2
leaq 0x40(%rsp), %r15
leaq 0x62a0(%rip), %rbp      # 0x91ca
leaq 0x98(%rsp), %rbx
leaq 0x17(%rsp), %r12
leaq 0x3365(%rip), %r13      # 0x62a3
movq %rax, 0x88(%rsp)
movq %rax, %rdi
leaq 0x3346(%rip), %rsi      # 0x6296
xorl %edx, %edx
movl $0x1, %ecx
callq 0x3cc8
movq %rax, %r14
testq %rax, %rax
je 0x31ae
movq %r14, %rdi
leaq 0x332b(%rip), %rsi      # 0x629d
xorl %edx, %edx
movl $0x1, %ecx
callq 0x3cc8
movq %r14, 0x90(%rsp)
testq %rax, %rax
je 0x3187
xorl %ecx, %ecx
movq %rcx, 0x20(%rsp)
movl $0x0, 0x28(%rsp)
movq %r15, 0x30(%rsp)
movq %rcx, 0x38(%rsp)
movb $0x0, 0x40(%rsp)
movq %rax, 0x18(%rsp)
movq 0x40(%rax), %r14
testq %r14, %r14
je 0x305f
movq (%r14), %rsi
testq %rsi, %rsi
cmoveq %rbp, %rsi
movq %rbx, %rdi
movq %r12, %rdx
callq 0x20e0
movq %rbx, %rdi
movq %r13, %rsi
callq 0x20b0
testl %eax, %eax
je 0x3012
movq %rbx, %rdi
leaq 0x32ba(%rip), %rsi      # 0x62a7
callq 0x20b0
testl %eax, %eax
jne 0x302c
movq 0x8(%r14), %rdi
testq %rdi, %rdi
cmoveq %rbp, %rdi
callq 0x2230
vcvtsd2ss %xmm0, %xmm0, %xmm0
vmovss %xmm0, 0x24(%rsp)
jmp 0x302c
movq 0x8(%r14), %rdi
testq %rdi, %rdi
cmoveq %rbp, %rdi
callq 0x2230
vcvtsd2ss %xmm0, %xmm0, %xmm0
vmovss %xmm0, 0x20(%rsp)
movq 0x98(%rsp), %rdi
leaq 0xa8(%rsp), %rax
cmpq %rax, %rdi
je 0x3046
callq 0x21c0
movq 0x20(%r14), %rax
testq %rax, %rax
je 0x3053
movq 0x30(%r14), %rax
movq %rax, %r14
testq %rax, %rax
jne 0x2fbf
movq 0x18(%rsp), %rax
movq 0x30(%rax), %r13
testq %r13, %r13
leaq 0x3239(%rip), %r14      # 0x62ab
leaq 0x3236(%rip), %r15      # 0x62af
je 0x313c
movq (%r13), %rsi
testq %rsi, %rsi
cmoveq %rbp, %rsi
movq %rbx, %rdi
movq %r12, %rdx
callq 0x20e0
movq %rbx, %rdi
movq %r14, %rsi
callq 0x20b0
testl %eax, %eax
je 0x30f0
movq %rbx, %rdi
movq %r15, %rsi
callq 0x20b0
testl %eax, %eax
jne 0x310a
movq 0x8(%r13), %r15
testq %r15, %r15
cmoveq %rbp, %r15
movq 0x38(%rsp), %r14
movq %r15, %rdi
callq 0x2100
leaq 0x30(%rsp), %rdi
xorl %esi, %esi
movq %r14, %rdx
leaq 0x31cf(%rip), %r14      # 0x62ab
movq %r15, %rcx
leaq 0x31c9(%rip), %r15      # 0x62af
movq %rax, %r8
callq 0x22a0
jmp 0x310a
movq 0x8(%r13), %rdi
testq %rdi, %rdi
cmoveq %rbp, %rdi
callq 0x2230
vcvtsd2ss %xmm0, %xmm0, %xmm0
vmovss %xmm0, 0x28(%rsp)
movq 0x98(%rsp), %rdi
leaq 0xa8(%rsp), %rax
cmpq %rax, %rdi
je 0x3124
callq 0x21c0
cmpq $0x0, 0x20(%r13)
je 0x391f
movq 0x58(%r13), %r13
testq %r13, %r13
jne 0x307f
leaq 0x50(%rsp), %rdi
leaq 0x20(%rsp), %rsi
callq 0x3f98
movq 0x30(%rsp), %rdi
leaq 0x40(%rsp), %r15
cmpq %r15, %rdi
je 0x315f
callq 0x21c0
movq 0x18(%rsp), %rdi
leaq 0x3132(%rip), %rsi      # 0x629d
xorl %edx, %edx
movl $0x1, %ecx
callq 0x3e70
testq %rax, %rax
leaq 0x3122(%rip), %r13      # 0x62a3
jne 0x2f8f
movq 0x90(%rsp), %rdi
leaq 0x3100(%rip), %rsi      # 0x6296
xorl %edx, %edx
movl $0x1, %ecx
callq 0x3e70
movq %rax, %r14
testq %rax, %rax
jne 0x2f68
movq 0x88(%rsp), %rdi
leaq 0x30d5(%rip), %rsi      # 0x6292
xorl %edx, %edx
movl $0x1, %ecx
callq 0x3e70
testq %rax, %rax
jne 0x2f3e
leaq 0x33e2(%rip), %rsi      # 0x65bb
movl $0x1, %edx
movq 0x8(%rsp), %rdi
callq 0x2210
movq 0x8(%rsp), %rcx
movq (%rcx), %rax
movq -0x18(%rax), %rdi
addq %rcx, %rdi
movl $0xa, %esi
callq 0x21d0
movsbl %al, %esi
movq 0x8(%rsp), %rdi
callq 0x2040
movq %rax, %rdi
callq 0x2150
movq %rax, %rbx
leaq 0x3360(%rip), %rsi      # 0x6580
movl $0x20, %edx
movq %rax, %rdi
callq 0x2210
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x21d0
movsbl %al, %esi
movq %rbx, %rdi
callq 0x2040
movq %rax, %rdi
callq 0x2150
movq %rax, %rbx
leaq 0x3343(%rip), %rsi      # 0x65a1
movl $0x11, %edx
movq %rax, %rdi
callq 0x2210
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x21d0
movsbl %al, %esi
movq %rbx, %rdi
callq 0x2040
movq %rax, %rdi
callq 0x2150
movq %rax, %rbx
leaq 0x3317(%rip), %rsi      # 0x65b3
movl $0x9, %edx
movq %rax, %rdi
callq 0x2210
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x21d0
movsbl %al, %esi
movq %rbx, %rdi
callq 0x2040
movq %rax, %rdi
callq 0x2150
movq %rax, %rbx
leaq 0x32e3(%rip), %rsi      # 0x65bd
movl $0x1e, %edx
movq %rax, %rdi
callq 0x2210
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x21d0
movsbl %al, %esi
movq %rbx, %rdi
callq 0x2040
movq %rax, %rdi
callq 0x2150
movq %rax, %rbx
leaq 0x32c4(%rip), %rsi      # 0x65dc
movl $0x1b, %edx
movq %rax, %rdi
callq 0x2210
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x21d0
movsbl %al, %esi
movq %rbx, %rdi
callq 0x2040
movq %rax, %rdi
callq 0x2150
movq %rax, %rbx
leaq 0x32a2(%rip), %rsi      # 0x65f8
movl $0x1f, %edx
movq %rax, %rdi
callq 0x2210
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x21d0
movsbl %al, %esi
movq %rbx, %rdi
callq 0x2040
movq %rax, %rdi
callq 0x2150
movq 0x50(%rsp), %r15
cmpq 0x58(%rsp), %r15
je 0x3402
movb $0x1, %bpl
leaq 0x3039(%rip), %rbx      # 0x63d9
leaq 0x3271(%rip), %r14      # 0x6618
testb $0x1, %bpl
je 0x33b1
xorl %ebp, %ebp
jmp 0x33c3
movl $0x2, %edx
movq 0x8(%rsp), %rdi
movq %r14, %rsi
callq 0x2210
movl $0x1, %edx
movq 0x8(%rsp), %rdi
movq %rbx, %rsi
callq 0x2210
movq 0x10(%r15), %rsi
movq 0x18(%r15), %rdx
movq 0x8(%rsp), %rdi
callq 0x2210
movl $0x1, %edx
movq %rax, %rdi
movq %rbx, %rsi
callq 0x2210
addq $0x30, %r15
cmpq 0x58(%rsp), %r15
jne 0x33a7
leaq 0x32c5(%rip), %rsi      # 0x66ce
movl $0x1, %edx
movq 0x8(%rsp), %rdi
callq 0x2210
movq 0x8(%rsp), %rcx
movq (%rcx), %rax
movq -0x18(%rax), %rdi
addq %rcx, %rdi
movl $0xa, %esi
callq 0x21d0
movsbl %al, %esi
movq 0x8(%rsp), %rdi
callq 0x2040
movq %rax, %rdi
callq 0x2150
leaq 0x31ce(%rip), %rsi      # 0x661b
movl $0xe, %edx
movq 0x8(%rsp), %rdi
callq 0x2210
movq 0x8(%rsp), %rcx
movq (%rcx), %rax
movq -0x18(%rax), %rdi
addq %rcx, %rdi
movl $0xa, %esi
callq 0x21d0
movsbl %al, %esi
movq 0x8(%rsp), %rdi
callq 0x2040
movq %rax, %rdi
callq 0x2150
leaq 0x3199(%rip), %rsi      # 0x662a
movl $0x19, %edx
movq 0x8(%rsp), %rdi
callq 0x2210
movq 0x8(%rsp), %rcx
movq (%rcx), %rax
movq -0x18(%rax), %rdi
addq %rcx, %rdi
movl $0xa, %esi
callq 0x21d0
movsbl %al, %esi
movq 0x8(%rsp), %rdi
callq 0x2040
movq %rax, %rdi
callq 0x2150
leaq 0x316f(%rip), %rsi      # 0x6644
movl $0x25, %edx
movq 0x8(%rsp), %rdi
callq 0x2210
movq 0x8(%rsp), %rcx
movq (%rcx), %rax
movq -0x18(%rax), %rdi
addq %rcx, %rdi
movl $0xa, %esi
callq 0x21d0
movsbl %al, %esi
movq 0x8(%rsp), %rdi
callq 0x2040
movq %rax, %rdi
callq 0x2150
leaq 0x3151(%rip), %rsi      # 0x666a
movl $0x20, %edx
movq 0x8(%rsp), %rdi
callq 0x2210
movq 0x8(%rsp), %rcx
movq (%rcx), %rax
movq -0x18(%rax), %rdi
addq %rcx, %rdi
movl $0xa, %esi
callq 0x21d0
movsbl %al, %esi
movq 0x8(%rsp), %rdi
callq 0x2040
movq %rax, %rdi
callq 0x2150
movq 0x50(%rsp), %rbx
cmpq 0x58(%rsp), %rbx
je 0x3732
movb $0x1, %r15b
leaq 0x3131(%rip), %r12      # 0x66a1
leaq 0x3063(%rip), %r13      # 0x65da
leaq 0x313c(%rip), %rbp      # 0x66ba
testb $0x1, %r15b
je 0x3589
xorl %r15d, %r15d
jmp 0x35cd
movl $0x2, %edx
movq 0x8(%rsp), %rdi
leaq 0x307e(%rip), %rsi      # 0x6618
callq 0x2210
movq 0x8(%rsp), %rcx
movq (%rcx), %rax
movq -0x18(%rax), %rdi
addq %rcx, %rdi
movl $0xa, %esi
callq 0x21d0
movsbl %al, %esi
movq 0x8(%rsp), %rdi
callq 0x2040
movq %rax, %rdi
callq 0x2150
movl $0x15, %edx
movq 0x8(%rsp), %rdi
leaq 0x30ad(%rip), %rsi      # 0x668b
callq 0x2210
movq 0x8(%rsp), %rcx
movq (%rcx), %rax
movq -0x18(%rax), %rdi
addq %rcx, %rdi
movl $0xa, %esi
callq 0x21d0
movsbl %al, %esi
movq 0x8(%rsp), %rdi
callq 0x2040
movq %rax, %rdi
callq 0x2150
movl $0x18, %edx
movq 0x8(%rsp), %rdi
movq %r12, %rsi
callq 0x2210
vcvtss2sd (%rbx), %xmm1, %xmm0
movq 0x8(%rsp), %rdi
callq 0x22c0
movq %rax, %r14
movl $0x1, %edx
movq %rax, %rdi
movq %r13, %rsi
callq 0x2210
movq (%r14), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x21d0
movsbl %al, %esi
movq %r14, %rdi
callq 0x2040
movq %rax, %rdi
callq 0x2150
movl $0x18, %edx
movq 0x8(%rsp), %rdi
movq %r12, %rsi
callq 0x2210
vcvtss2sd 0x4(%rbx), %xmm1, %xmm0
movq 0x8(%rsp), %rdi
callq 0x22c0
movq %rax, %r14
movl $0x1, %edx
movq %rax, %rdi
movq %r13, %rsi
callq 0x2210
movq (%r14), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x21d0
movsbl %al, %esi
movq %r14, %rdi
callq 0x2040
movq %rax, %rdi
callq 0x2150
movl $0x18, %edx
movq 0x8(%rsp), %rdi
movq %r12, %rsi
callq 0x2210
vcvtss2sd 0x8(%rbx), %xmm1, %xmm0
movq 0x8(%rsp), %rdi
callq 0x22c0
movq %rax, %r14
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x21d0
movsbl %al, %esi
movq %r14, %rdi
callq 0x2040
movq %rax, %rdi
callq 0x2150
movl $0x15, %edx
movq 0x8(%rsp), %rdi
movq %rbp, %rsi
callq 0x2210
addq $0x30, %rbx
cmpq 0x58(%rsp), %rbx
jne 0x357e
movq 0x8(%rsp), %rcx
movq (%rcx), %rax
movq -0x18(%rax), %rdi
addq %rcx, %rdi
movl $0xa, %esi
callq 0x21d0
movsbl %al, %esi
movq 0x8(%rsp), %rdi
callq 0x2040
movq %rax, %rdi
callq 0x2150
leaq 0x2f57(%rip), %rsi      # 0x66be
movl $0x11, %edx
movq 0x8(%rsp), %rdi
callq 0x2210
movq 0x8(%rsp), %rcx
movq (%rcx), %rax
movq -0x18(%rax), %rdi
addq %rcx, %rdi
movl $0xa, %esi
callq 0x21d0
movsbl %al, %esi
movq 0x8(%rsp), %rdi
callq 0x2040
movq %rax, %rdi
callq 0x2150
leaq 0x2f25(%rip), %rsi      # 0x66d0
movl $0xd, %edx
movq 0x8(%rsp), %rdi
callq 0x2210
movq 0x8(%rsp), %rcx
movq (%rcx), %rax
movq -0x18(%rax), %rdi
addq %rcx, %rdi
movl $0xa, %esi
callq 0x21d0
movsbl %al, %esi
movq 0x8(%rsp), %rdi
callq 0x2040
movq %rax, %rdi
callq 0x2150
leaq 0x2ee5(%rip), %rsi      # 0x66d4
movl $0x9, %edx
movq 0x8(%rsp), %rdi
callq 0x2210
movq 0x8(%rsp), %rcx
movq (%rcx), %rax
movq -0x18(%rax), %rdi
addq %rcx, %rdi
movl $0xa, %esi
callq 0x21d0
movsbl %al, %esi
movq 0x8(%rsp), %rdi
callq 0x2040
movq %rax, %rdi
callq 0x2150
leaq 0x2e97(%rip), %rsi      # 0x66ca
movl $0x5, %edx
movq 0x8(%rsp), %rdi
callq 0x2210
movq 0x8(%rsp), %rcx
movq (%rcx), %rax
movq -0x18(%rax), %rdi
addq %rcx, %rdi
movl $0xa, %esi
callq 0x21d0
movsbl %al, %esi
movq 0x8(%rsp), %rdi
callq 0x2040
movq %rax, %rdi
callq 0x2150
leaq 0x2e65(%rip), %rsi      # 0x66dc
movl $0x1, %edx
movq 0x8(%rsp), %rdi
callq 0x2210
movq 0x8(%rsp), %rcx
movq (%rcx), %rax
movq -0x18(%rax), %rdi
addq %rcx, %rdi
movl $0xa, %esi
callq 0x21d0
movsbl %al, %esi
movq 0x8(%rsp), %rdi
callq 0x2040
movq %rax, %rdi
callq 0x2150
leaq 0x50(%rsp), %rdi
callq 0x3fc4
leaq 0xb8(%rsp), %rdi
callq 0x5958
leaq 0x2d0(%rsp), %rdi
callq 0x59ae
movq 0x68(%rsp), %rdi
leaq 0x78(%rsp), %rax
cmpq %rax, %rdi
je 0x38ec
callq 0x21c0
movq 0x56a5(%rip), %rsi      # 0x8f98
leaq 0xe8(%rsp), %rdi
callq 0x2180
leaq 0x168(%rsp), %rdi
callq 0x20c0
addq $0x102f8, %rsp          # imm = 0x102F8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x2bcf(%rip), %rdi      # 0x64f5
leaq 0x29b3(%rip), %rsi      # 0x62e0
leaq 0x2bd0(%rip), %rcx      # 0x6504
movl $0x3ee, %edx            # imm = 0x3EE
callq 0x2140
movl $0x8, %edi
callq 0x2110
leaq 0x293b(%rip), %rcx      # 0x628a
movq %rcx, (%rax)
movq 0x564f(%rip), %rsi      # 0x8fa8
movq %rax, %rdi
xorl %edx, %edx
callq 0x22f0
jmp 0x3b90
jmp 0x39f2
jmp 0x3971
jmp 0x39b0
movq %rdx, %r14
movq %rax, %rbx
jmp 0x3a57
jmp 0x39f2
movq %rdx, %r14
movq %rax, %rbx
jmp 0x3a4a
movq %rdx, %r14
movq %rax, %rbx
movq 0x20(%rsp), %rdi
leaq 0x30(%rsp), %rax
cmpq %rax, %rdi
je 0x3a4a
callq 0x21c0
jmp 0x3a4a
jmp 0x39f2
jmp 0x39f2
movq %rax, %rbx
movq 0x68(%rsp), %rdi
leaq 0x78(%rsp), %rax
cmpq %rax, %rdi
je 0x39c7
callq 0x21c0
movq 0x55ca(%rip), %rsi      # 0x8f98
leaq 0xe8(%rsp), %rdi
callq 0x2180
leaq 0x168(%rsp), %rdi
callq 0x20c0
movq %rbx, %rdi
callq 0x2310
jmp 0x39f2
movq %rdx, %r14
movq %rax, %rbx
jmp 0x3a40
jmp 0x3a1e
movq %rdx, %r14
movq %rax, %rbx
movq 0x98(%rsp), %rdi
leaq 0xa8(%rsp), %rax
cmpq %rax, %rdi
je 0x3a24
callq 0x21c0
jmp 0x3a24
movq %rdx, %r14
movq %rax, %rbx
leaq 0x40(%rsp), %r15
jmp 0x3a31
movq %rdx, %r14
movq %rax, %rbx
movq 0x30(%rsp), %rdi
cmpq %r15, %rdi
je 0x3a40
callq 0x21c0
leaq 0x50(%rsp), %rdi
callq 0x3fc4
leaq 0xb8(%rsp), %rdi
callq 0x5958
leaq 0x2d0(%rsp), %rdi
callq 0x59ae
cmpl $0x2, %r14d
jne 0x3ac1
movq %rbx, %rdi
callq 0x20f0
movq %rax, %r14
movq 0x5574(%rip), %rbx      # 0x8ff0
leaq 0x284a(%rip), %rsi      # 0x62cd
movl $0xd, %edx
movq %rbx, %rdi
callq 0x2210
movq (%r14), %rax
movq %r14, %rdi
callq *0x10(%rax)
testq %rax, %rax
je 0x3b23
movq %rax, %r14
movq %rax, %rdi
callq 0x2100
movq 0x553c(%rip), %rdi      # 0x8ff0
movq %r14, %rsi
movq %rax, %rdx
callq 0x2210
jmp 0x3b3a
cmpl $0x1, %r14d
jne 0x39b3
movq %rbx, %rdi
callq 0x20f0
movq 0x5516(%rip), %rbx      # 0x8ff0
leaq 0x27d3(%rip), %rsi      # 0x62b4
movl $0x18, %edx
movq %rbx, %rdi
callq 0x2210
movq (%rbx), %rax
addq -0x18(%rax), %rbx
movq %rbx, %rdi
movl $0xa, %esi
callq 0x21d0
movsbl %al, %esi
movq 0x54e4(%rip), %rdi      # 0x8ff0
callq 0x2040
movq %rax, %rdi
callq 0x2150
callq 0x22d0
jmp 0x38d8
movq (%rbx), %rax
movq -0x18(%rax), %rax
leaq (%rbx,%rax), %rdi
movl 0x20(%rbx,%rax), %esi
orl $0x1, %esi
callq 0x22e0
movq (%rbx), %rax
addq -0x18(%rax), %rbx
movq %rbx, %rdi
movl $0xa, %esi
callq 0x21d0
movsbl %al, %esi
movq 0x5498(%rip), %rdi      # 0x8ff0
callq 0x2040
movq %rax, %rdi
callq 0x2150
callq 0x22d0
jmp 0x38d8
jmp 0x39b0
jmp 0x3b90
movq %rax, %rbx
callq 0x22d0
jmp 0x39b3
movq %rax, %rbx
callq 0x22d0
jmp 0x39b3
movq %rax, %rdi
callq 0x4012