// File: salda[P]convex_hull_of_intersections/convex_hull_of_intersections.cpp
// Function: main
int main() {
    /*auto start = chrono::high_resolution_clock::now();*/
    /*ofstream worst_case_input("worst_case_input.txt");
    worst_case_input << "1000" << endl;
    for (int i = 0; i != 1000; ++i)
        worst_case_input << "C " << (-499 + i) * 2000 << " " << (499 - i) * 2000 << " " << "1000000" << endl;
    return 0;*/

    std::size_t element_count;
    //ifstream input("worst_case_input.txt");
    /*ifstream input("example_input.txt");
    string helper;
    getline(input, helper);
    element_count = stoi(helper);*/
    cin >> element_count;
    cin.sync();

    vector<square_area> elements(element_count);
    vector<pair<double, double>> collisions;

    for (auto& element : elements) {
        string line;
        getline(cin, line);
        //getline(input, line);
        istringstream stream(&line.c_str()[2]);

        if (line.front() == 'L') {
            element.type = square_area::square_area_line;
            stream >> element.first_x;
            stream >> element.first_y;
            stream >> element.second_x;
            stream >> element.second_y;            
            element.lower_left_x = min(element.first_x, element.second_x);
            element.lower_left_y = min(element.first_y, element.second_y);
            element.top_right_x = max(element.first_x, element.second_x);
            element.top_right_y = max(element.first_y, element.second_y);
        }
        else {
            element.type = square_area::square_area_circle;
            stream >> element.center_x;
            stream >> element.center_y;
            stream >> element.radius;
            element.lower_left_x = element.center_x - element.radius;
            element.lower_left_y = element.center_y - element.radius;
            element.top_right_x = element.center_x + element.radius;
            element.top_right_y = element.center_y + element.radius;
        }

        for (auto& element_to_check_intersection : elements) {
            if (&element_to_check_intersection == &element)
                break;
            if (((element.lower_left_x >= element_to_check_intersection.lower_left_x && element.lower_left_x <= element_to_check_intersection.top_right_x) || // TODO try to remove
                (element_to_check_intersection.lower_left_x >= element.lower_left_x && element_to_check_intersection.lower_left_x <= element.top_right_x))
                && ((element.lower_left_y >= element_to_check_intersection.lower_left_y && element.lower_left_y <= element_to_check_intersection.top_right_y) ||
                (element_to_check_intersection.lower_left_y >= element.lower_left_y && element_to_check_intersection.lower_left_y <= element.top_right_y)))
            {
                if (element.type == square_area::square_area_line && element_to_check_intersection.type == square_area::square_area_line) { // TODO caching + optimize
                    long long int element_square_x_length = element.second_x - element.first_x;
                    long long int element_square_y_length = element.second_y - element.first_y;
                    long long int element_to_check_intersection_square_x_length = element_to_check_intersection.second_x - element_to_check_intersection.first_x;
                    long long int element_to_check_intersection_square_y_length = element_to_check_intersection.second_y - element_to_check_intersection.first_y;
                    
                    int starting_x_difference = element.first_x - element_to_check_intersection.first_x;
                    int starting_y_difference = element.first_y - element_to_check_intersection.first_y;

                    double r = element_square_x_length * element_to_check_intersection_square_y_length - element_to_check_intersection_square_x_length * element_square_y_length;
                    double s = (element_square_x_length * starting_y_difference - element_square_y_length * starting_x_difference) / r;
                    if (s < 0 || s > 1)
                        continue;

                    double t = (element_to_check_intersection_square_x_length * starting_y_difference - element_to_check_intersection_square_y_length * starting_x_difference) / r;
                    if (t < 0 || t > 1)
                        continue;

                    collisions.emplace_back(element.first_x + t * element_square_x_length, element.first_y + t * element_square_y_length);
                }
                else if (element.type == square_area::square_area_circle && element_to_check_intersection.type == square_area::square_area_circle) { // TODO caching + optimize
                    double distance_between_centers_x = element_to_check_intersection.center_x - element.center_x;
                    double distance_between_centers_y = element_to_check_intersection.center_y - element.center_y;
                    double distance_between_centers = hypot(distance_between_centers_x, distance_between_centers_y);
                    if (distance_between_centers > element.radius + element_to_check_intersection.radius || distance_between_centers < abs(element.radius - element_to_check_intersection.radius))
                        continue;

                    long long int element_radius_square = (long long int)element.radius * element.radius;
                    double a = (element_radius_square - (long long int)element_to_check_intersection.radius * element_to_check_intersection.radius + distance_between_centers * distance_between_centers) / (2 * distance_between_centers);
                    double h = sqrt(element_radius_square - a * a);

                    double helper1 = distance_between_centers_x / distance_between_centers;
                    double helper2 = distance_between_centers_y / distance_between_centers;
                    double helper3 = h * helper1;
                    double helper4 = h * helper2;

                    double intersection_area_center_x = element.center_x + a * helper1;
                    double intersection_area_center_y = element.center_y + a * helper2;

                    collisions.emplace_back(intersection_area_center_x + helper4,  intersection_area_center_y - helper3);
                    collisions.emplace_back(intersection_area_center_x - helper4,  intersection_area_center_y + helper3);
                }
                else { // TODO caching + optimize
                    square_area& line = element.type == square_area::square_area_line ? element : element_to_check_intersection;
                    square_area& circle = element.type == square_area::square_area_circle ? element : element_to_check_intersection;
                    
                    long long int line_x_length = line.second_x - line.first_x;
                    long long int line_y_length = line.second_y - line.first_y;

                    int distance_between_circle_center_and_line_first_x = circle.center_x - line.first_x;
                    int distance_between_circle_center_and_line_first_y = circle.center_y - line.first_y;
                    
                    double line_length = hypot(line_x_length, line_y_length);
                    double distance_between_center_and_line = abs(line_x_length * distance_between_circle_center_and_line_first_y - line_y_length * distance_between_circle_center_and_line_first_x) / line_length;
                    if (distance_between_center_and_line > circle.radius)
                        continue;
                    
                    double Dx = line_x_length / line_length;
                    double Dy = line_y_length / line_length;
                    
                    double distance_from_A_to_closest_point_to_circle_center_on_line = Dx * distance_between_circle_center_and_line_first_x + Dy * distance_between_circle_center_and_line_first_y;
                    double distance_from_circle_center_to_line = sqrt((long long int)circle.radius * circle.radius - distance_between_center_and_line * distance_between_center_and_line);
                    
                    double helper1 = distance_from_A_to_closest_point_to_circle_center_on_line - distance_from_circle_center_to_line;
                    double helper3 = helper1 / line_length;
                    if (helper3 >= 0 && helper3 <= 1)
                        collisions.emplace_back(line.first_x + helper1 * Dx,  line.first_y + helper1 * Dy);

                    if (distance_between_center_and_line != circle.radius) {
                        double helper2 = distance_from_A_to_closest_point_to_circle_center_on_line + distance_from_circle_center_to_line;
                        double helper4 = helper2 / line_length;
                        if (helper4 >= 0 && helper4 <= 1)
                            collisions.emplace_back(line.first_x + helper2 * Dx,  line.first_y + helper2 * Dy);
                    }
                }
            }
        }
    }

    sort(collisions.begin(), collisions.end());
    collisions.erase(unique(collisions.begin(), collisions.end()), collisions.end());
    cout << collisions.size() << endl << fixed << setprecision(4);

    for (auto& collision : collisions)
        cout << collision.first << " " << collision.second << endl;

    Ouellet_hull convex_hull_class(move(collisions));
    vector<pair<double, double>> convex_hull = convex_hull_class.get_result();
    cout << convex_hull.size() << endl;        

    double convex_hull_area_twice = 0.0;
    size_t j = convex_hull.size() - 1;
    for (size_t i = 0; i != convex_hull.size(); ++i) {
        cout << convex_hull[i].first << " " << convex_hull[i].second << endl;
        convex_hull_area_twice += (convex_hull[j].first + convex_hull[i].first) * (convex_hull[j].second - convex_hull[i].second);
        j = i;
    }
    cout << abs(convex_hull_area_twice / 2);

    /*cout << endl << "Elapsed time: " << chrono::duration<double>(chrono::high_resolution_clock::now() - start).count() << endl;
    cin.sync();
    cin.ignore();*/
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x600, %rsp            # imm = 0x600
movl $0x0, -0x4(%rbp)
movq 0xdb77(%rip), %rdi      # 0xffe0
movq %rdi, -0x4f8(%rbp)
leaq -0x10(%rbp), %rsi
callq 0x2260
movq -0x4f8(%rbp), %rdi
callq 0x21d0
movq -0x10(%rbp), %rax
movq %rax, -0x4f0(%rbp)
leaq -0x29(%rbp), %rdi
movq %rdi, -0x4e8(%rbp)
callq 0x37b0
movq -0x4f0(%rbp), %rsi
movq -0x4e8(%rbp), %rdx
leaq -0x28(%rbp), %rdi
callq 0x37d0
jmp 0x24b9
leaq -0x29(%rbp), %rdi
callq 0x3840
leaq -0x58(%rbp), %rdi
callq 0x3860
leaq -0x28(%rbp), %rax
movq %rax, -0x60(%rbp)
movq -0x60(%rbp), %rdi
callq 0x3880
movq %rax, -0x68(%rbp)
movq -0x60(%rbp), %rdi
callq 0x38b0
movq %rax, -0x70(%rbp)
leaq -0x68(%rbp), %rdi
leaq -0x70(%rbp), %rsi
callq 0x38e0
testb $0x1, %al
jne 0x2503
jmp 0x3211
leaq -0x68(%rbp), %rdi
callq 0x3920
movq %rax, -0x78(%rbp)
leaq -0x98(%rbp), %rdi
movq %rdi, -0x500(%rbp)
callq 0x2250
movq -0x500(%rbp), %rsi
movq 0xdaaf(%rip), %rdi      # 0xffe0
callq 0x2040
jmp 0x2538
leaq -0x98(%rbp), %rdi
callq 0x20c0
addq $0x2, %rax
movq %rax, -0x510(%rbp)
leaq -0x239(%rbp), %rdi
movq %rdi, -0x508(%rbp)
callq 0x22d0
movq -0x510(%rbp), %rsi
movq -0x508(%rbp), %rdx
leaq -0x238(%rbp), %rdi
callq 0x3940
jmp 0x257e
leaq -0x218(%rbp), %rdi
leaq -0x238(%rbp), %rsi
movl $0x8, %edx
callq 0x22b0
jmp 0x2598
leaq -0x238(%rbp), %rdi
callq 0x2120
leaq -0x239(%rbp), %rdi
callq 0x2210
leaq -0x98(%rbp), %rdi
callq 0x2060
movsbl (%rax), %eax
cmpl $0x4c, %eax
jne 0x2762
movq -0x78(%rbp), %rax
movl $0x0, 0x2c(%rax)
movq -0x78(%rbp), %rsi
addq $0x10, %rsi
leaq -0x218(%rbp), %rdi
callq 0x2110
jmp 0x25e9
movq -0x78(%rbp), %rsi
addq $0x14, %rsi
leaq -0x218(%rbp), %rdi
callq 0x2110
jmp 0x25ff
movq -0x78(%rbp), %rsi
addq $0x18, %rsi
leaq -0x218(%rbp), %rdi
callq 0x2110
jmp 0x2615
movq -0x78(%rbp), %rsi
addq $0x1c, %rsi
leaq -0x218(%rbp), %rdi
callq 0x2110
jmp 0x262b
movq -0x78(%rbp), %rsi
movq %rsi, %rdi
addq $0x10, %rdi
addq $0x18, %rsi
callq 0x39f0
movq %rax, -0x518(%rbp)
jmp 0x2648
movq -0x518(%rbp), %rax
movl (%rax), %ecx
movq -0x78(%rbp), %rax
movl %ecx, (%rax)
movq -0x78(%rbp), %rsi
movq %rsi, %rdi
addq $0x14, %rdi
addq $0x1c, %rsi
callq 0x39f0
movq %rax, -0x520(%rbp)
jmp 0x2674
movq -0x520(%rbp), %rax
movl (%rax), %ecx
movq -0x78(%rbp), %rax
movl %ecx, 0x4(%rax)
movq -0x78(%rbp), %rsi
movq %rsi, %rdi
addq $0x10, %rdi
addq $0x18, %rsi
callq 0x3a30
movq %rax, -0x528(%rbp)
jmp 0x26a1
movq -0x528(%rbp), %rax
movl (%rax), %ecx
movq -0x78(%rbp), %rax
movl %ecx, 0x8(%rax)
movq -0x78(%rbp), %rsi
movq %rsi, %rdi
addq $0x14, %rdi
addq $0x1c, %rsi
callq 0x3a30
movq %rax, -0x530(%rbp)
jmp 0x26ce
movq -0x530(%rbp), %rax
movl (%rax), %ecx
movq -0x78(%rbp), %rax
movl %ecx, 0xc(%rax)
jmp 0x2802
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x38(%rbp)
movl %eax, -0x3c(%rbp)
leaq -0x29(%rbp), %rdi
callq 0x3840
jmp 0x379d
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x38(%rbp)
movl %eax, -0x3c(%rbp)
jmp 0x3200
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x38(%rbp)
movl %eax, -0x3c(%rbp)
jmp 0x2734
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x38(%rbp)
movl %eax, -0x3c(%rbp)
leaq -0x238(%rbp), %rdi
callq 0x2120
leaq -0x239(%rbp), %rdi
callq 0x2210
jmp 0x3200
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x38(%rbp)
movl %eax, -0x3c(%rbp)
leaq -0x218(%rbp), %rdi
callq 0x20e0
jmp 0x3200
movq -0x78(%rbp), %rax
movl $0x1, 0x2c(%rax)
movq -0x78(%rbp), %rsi
addq $0x20, %rsi
leaq -0x218(%rbp), %rdi
callq 0x2110
jmp 0x2783
movq -0x78(%rbp), %rsi
addq $0x24, %rsi
leaq -0x218(%rbp), %rdi
callq 0x2110
jmp 0x2799
movq -0x78(%rbp), %rsi
addq $0x28, %rsi
leaq -0x218(%rbp), %rdi
callq 0x2110
jmp 0x27af
movq -0x78(%rbp), %rax
movl 0x20(%rax), %ecx
movq -0x78(%rbp), %rax
subl 0x28(%rax), %ecx
movq -0x78(%rbp), %rax
movl %ecx, (%rax)
movq -0x78(%rbp), %rax
movl 0x24(%rax), %ecx
movq -0x78(%rbp), %rax
subl 0x28(%rax), %ecx
movq -0x78(%rbp), %rax
movl %ecx, 0x4(%rax)
movq -0x78(%rbp), %rax
movl 0x20(%rax), %ecx
movq -0x78(%rbp), %rax
addl 0x28(%rax), %ecx
movq -0x78(%rbp), %rax
movl %ecx, 0x8(%rax)
movq -0x78(%rbp), %rax
movl 0x24(%rax), %ecx
movq -0x78(%rbp), %rax
addl 0x28(%rax), %ecx
movq -0x78(%rbp), %rax
movl %ecx, 0xc(%rax)
leaq -0x28(%rbp), %rax
movq %rax, -0x248(%rbp)
movq -0x248(%rbp), %rdi
callq 0x3880
movq %rax, -0x250(%rbp)
movq -0x248(%rbp), %rdi
callq 0x38b0
movq %rax, -0x258(%rbp)
leaq -0x250(%rbp), %rdi
leaq -0x258(%rbp), %rsi
callq 0x38e0
testb $0x1, %al
jne 0x284f
jmp 0x31da
leaq -0x250(%rbp), %rdi
callq 0x3920
movq %rax, -0x260(%rbp)
movq -0x260(%rbp), %rax
cmpq -0x78(%rbp), %rax
jne 0x2874
jmp 0x31da
movq -0x78(%rbp), %rax
movl (%rax), %eax
movq -0x260(%rbp), %rcx
cmpl (%rcx), %eax
jl 0x2897
movq -0x78(%rbp), %rax
movl (%rax), %eax
movq -0x260(%rbp), %rcx
cmpl 0x8(%rcx), %eax
jle 0x28c2
movq -0x260(%rbp), %rax
movl (%rax), %eax
movq -0x78(%rbp), %rcx
cmpl (%rcx), %eax
jl 0x31c7
movq -0x260(%rbp), %rax
movl (%rax), %eax
movq -0x78(%rbp), %rcx
cmpl 0x8(%rcx), %eax
jg 0x31c7
movq -0x78(%rbp), %rax
movl 0x4(%rax), %eax
movq -0x260(%rbp), %rcx
cmpl 0x4(%rcx), %eax
jl 0x28e8
movq -0x78(%rbp), %rax
movl 0x4(%rax), %eax
movq -0x260(%rbp), %rcx
cmpl 0xc(%rcx), %eax
jle 0x2916
movq -0x260(%rbp), %rax
movl 0x4(%rax), %eax
movq -0x78(%rbp), %rcx
cmpl 0x4(%rcx), %eax
jl 0x31c7
movq -0x260(%rbp), %rax
movl 0x4(%rax), %eax
movq -0x78(%rbp), %rcx
cmpl 0xc(%rcx), %eax
jg 0x31c7
movq -0x78(%rbp), %rax
cmpl $0x0, 0x2c(%rax)
jne 0x2b33
movq -0x260(%rbp), %rax
cmpl $0x0, 0x2c(%rax)
jne 0x2b33
movq -0x78(%rbp), %rax
movl 0x18(%rax), %eax
movq -0x78(%rbp), %rcx
subl 0x10(%rcx), %eax
cltq
movq %rax, -0x268(%rbp)
movq -0x78(%rbp), %rax
movl 0x1c(%rax), %eax
movq -0x78(%rbp), %rcx
subl 0x14(%rcx), %eax
cltq
movq %rax, -0x270(%rbp)
movq -0x260(%rbp), %rax
movl 0x18(%rax), %eax
movq -0x260(%rbp), %rcx
subl 0x10(%rcx), %eax
cltq
movq %rax, -0x278(%rbp)
movq -0x260(%rbp), %rax
movl 0x1c(%rax), %eax
movq -0x260(%rbp), %rcx
subl 0x14(%rcx), %eax
cltq
movq %rax, -0x280(%rbp)
movq -0x78(%rbp), %rax
movl 0x10(%rax), %eax
movq -0x260(%rbp), %rcx
subl 0x10(%rcx), %eax
movl %eax, -0x284(%rbp)
movq -0x78(%rbp), %rax
movl 0x14(%rax), %eax
movq -0x260(%rbp), %rcx
subl 0x14(%rcx), %eax
movl %eax, -0x288(%rbp)
movq -0x268(%rbp), %rax
imulq -0x280(%rbp), %rax
movq -0x278(%rbp), %rcx
imulq -0x270(%rbp), %rcx
subq %rcx, %rax
cvtsi2sd %rax, %xmm0
movsd %xmm0, -0x290(%rbp)
movq -0x268(%rbp), %rax
movslq -0x288(%rbp), %rcx
imulq %rcx, %rax
movq -0x270(%rbp), %rcx
movslq -0x284(%rbp), %rdx
imulq %rdx, %rcx
subq %rcx, %rax
cvtsi2sd %rax, %xmm0
divsd -0x290(%rbp), %xmm0
movsd %xmm0, -0x298(%rbp)
xorps %xmm0, %xmm0
ucomisd -0x298(%rbp), %xmm0
ja 0x2a58
movsd -0x298(%rbp), %xmm0
movsd 0x85be(%rip), %xmm1     # 0xb010
ucomisd %xmm1, %xmm0
jbe 0x2a5d
jmp 0x31c9
movq -0x278(%rbp), %rax
movslq -0x288(%rbp), %rcx
imulq %rcx, %rax
movq -0x280(%rbp), %rcx
movslq -0x284(%rbp), %rdx
imulq %rdx, %rcx
subq %rcx, %rax
cvtsi2sd %rax, %xmm0
divsd -0x290(%rbp), %xmm0
movsd %xmm0, -0x2a0(%rbp)
xorps %xmm0, %xmm0
ucomisd -0x2a0(%rbp), %xmm0
ja 0x2abc
movsd -0x2a0(%rbp), %xmm0
movsd 0x855a(%rip), %xmm1     # 0xb010
ucomisd %xmm1, %xmm0
jbe 0x2ac1
jmp 0x31c9
movq -0x78(%rbp), %rax
cvtsi2sdl 0x10(%rax), %xmm1
movsd -0x2a0(%rbp), %xmm0
cvtsi2sdq -0x268(%rbp), %xmm2
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
movsd %xmm0, -0x2a8(%rbp)
movq -0x78(%rbp), %rax
cvtsi2sdl 0x14(%rax), %xmm1
movsd -0x2a0(%rbp), %xmm0
cvtsi2sdq -0x270(%rbp), %xmm2
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
movsd %xmm0, -0x2b0(%rbp)
leaq -0x58(%rbp), %rdi
leaq -0x2a8(%rbp), %rsi
leaq -0x2b0(%rbp), %rdx
callq 0x3a70
jmp 0x2b2e
jmp 0x31c5
movq -0x78(%rbp), %rax
cmpl $0x1, 0x2c(%rax)
jne 0x2dde
movq -0x260(%rbp), %rax
cmpl $0x1, 0x2c(%rax)
jne 0x2dde
movq -0x260(%rbp), %rax
movl 0x20(%rax), %eax
movq -0x78(%rbp), %rcx
subl 0x20(%rcx), %eax
cvtsi2sd %eax, %xmm0
movsd %xmm0, -0x2b8(%rbp)
movq -0x260(%rbp), %rax
movl 0x24(%rax), %eax
movq -0x78(%rbp), %rcx
subl 0x24(%rcx), %eax
cvtsi2sd %eax, %xmm0
movsd %xmm0, -0x2c0(%rbp)
movsd -0x2b8(%rbp), %xmm0
movsd -0x2c0(%rbp), %xmm1
callq 0x2080
movsd %xmm0, -0x2c8(%rbp)
movsd -0x2c8(%rbp), %xmm0
movq -0x78(%rbp), %rax
movl 0x28(%rax), %eax
movq -0x260(%rbp), %rcx
addl 0x28(%rcx), %eax
cvtsi2sd %eax, %xmm1
ucomisd %xmm1, %xmm0
ja 0x2bf6
movsd -0x2c8(%rbp), %xmm1
movq -0x78(%rbp), %rax
movl 0x28(%rax), %eax
movq -0x260(%rbp), %rcx
subl 0x28(%rcx), %eax
movl %eax, %ecx
negl %ecx
cmovnsl %ecx, %eax
cvtsi2sd %eax, %xmm0
ucomisd %xmm1, %xmm0
jbe 0x2bfb
jmp 0x31c9
movq -0x78(%rbp), %rax
movslq 0x28(%rax), %rax
imulq %rax, %rax
movq %rax, -0x2d0(%rbp)
movq -0x2d0(%rbp), %rax
movq -0x260(%rbp), %rcx
movslq 0x28(%rcx), %rcx
imulq %rcx, %rcx
subq %rcx, %rax
cvtsi2sd %rax, %xmm2
movsd -0x2c8(%rbp), %xmm1
movaps %xmm1, %xmm0
mulsd %xmm0, %xmm0
addsd %xmm2, %xmm0
addsd %xmm1, %xmm1
divsd %xmm1, %xmm0
movsd %xmm0, -0x2d8(%rbp)
cvtsi2sdq -0x2d0(%rbp), %xmm0
movsd -0x2d8(%rbp), %xmm1
mulsd %xmm1, %xmm1
subsd %xmm1, %xmm0
callq 0x2160
movsd %xmm0, -0x2e0(%rbp)
movsd -0x2b8(%rbp), %xmm0
movsd -0x2c8(%rbp), %xmm1
divsd %xmm1, %xmm0
movsd %xmm0, -0x2e8(%rbp)
movsd -0x2c0(%rbp), %xmm0
movsd -0x2c8(%rbp), %xmm1
divsd %xmm1, %xmm0
movsd %xmm0, -0x2f0(%rbp)
movsd -0x2e0(%rbp), %xmm0
movsd -0x2e8(%rbp), %xmm1
mulsd %xmm1, %xmm0
movsd %xmm0, -0x2f8(%rbp)
movsd -0x2e0(%rbp), %xmm0
movsd -0x2f0(%rbp), %xmm1
mulsd %xmm1, %xmm0
movsd %xmm0, -0x300(%rbp)
movq -0x78(%rbp), %rax
cvtsi2sdl 0x20(%rax), %xmm1
movsd -0x2d8(%rbp), %xmm0
movsd -0x2e8(%rbp), %xmm2
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
movsd %xmm0, -0x308(%rbp)
movq -0x78(%rbp), %rax
cvtsi2sdl 0x24(%rax), %xmm1
movsd -0x2d8(%rbp), %xmm0
movsd -0x2f0(%rbp), %xmm2
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
movsd %xmm0, -0x310(%rbp)
movsd -0x308(%rbp), %xmm0
movsd -0x300(%rbp), %xmm1
addsd %xmm1, %xmm0
movsd %xmm0, -0x318(%rbp)
movsd -0x310(%rbp), %xmm0
movsd -0x2f8(%rbp), %xmm1
subsd %xmm1, %xmm0
movsd %xmm0, -0x320(%rbp)
leaq -0x58(%rbp), %rdi
leaq -0x318(%rbp), %rsi
leaq -0x320(%rbp), %rdx
callq 0x3a70
jmp 0x2d88
movsd -0x308(%rbp), %xmm0
movsd -0x300(%rbp), %xmm1
subsd %xmm1, %xmm0
movsd %xmm0, -0x328(%rbp)
movsd -0x310(%rbp), %xmm0
movsd -0x2f8(%rbp), %xmm1
addsd %xmm1, %xmm0
movsd %xmm0, -0x330(%rbp)
leaq -0x58(%rbp), %rdi
leaq -0x328(%rbp), %rsi
leaq -0x330(%rbp), %rdx
callq 0x3a70
jmp 0x2dd9
jmp 0x31c3
movq -0x78(%rbp), %rax
cmpl $0x0, 0x2c(%rax)
jne 0x2df5
movq -0x78(%rbp), %rax
movq %rax, -0x538(%rbp)
jmp 0x2e03
movq -0x260(%rbp), %rax
movq %rax, -0x538(%rbp)
movq -0x538(%rbp), %rax
movq %rax, -0x338(%rbp)
movq -0x78(%rbp), %rax
cmpl $0x1, 0x2c(%rax)
jne 0x2e28
movq -0x78(%rbp), %rax
movq %rax, -0x540(%rbp)
jmp 0x2e36
movq -0x260(%rbp), %rax
movq %rax, -0x540(%rbp)
movq -0x540(%rbp), %rax
movq %rax, -0x340(%rbp)
movq -0x338(%rbp), %rax
movl 0x10(%rax), %ecx
movl 0x18(%rax), %eax
subl %ecx, %eax
cltq
movq %rax, -0x348(%rbp)
movq -0x338(%rbp), %rax
movl 0x14(%rax), %ecx
movl 0x1c(%rax), %eax
subl %ecx, %eax
cltq
movq %rax, -0x350(%rbp)
movq -0x340(%rbp), %rax
movl 0x20(%rax), %eax
movq -0x338(%rbp), %rcx
movl 0x10(%rcx), %ecx
subl %ecx, %eax
movl %eax, -0x354(%rbp)
movq -0x340(%rbp), %rax
movl 0x24(%rax), %eax
movq -0x338(%rbp), %rcx
movl 0x14(%rcx), %ecx
subl %ecx, %eax
movl %eax, -0x358(%rbp)
movq -0x348(%rbp), %rdi
movq -0x350(%rbp), %rsi
callq 0x3af0
movsd %xmm0, -0x548(%rbp)
jmp 0x2ec9
movsd -0x548(%rbp), %xmm0
movsd %xmm0, -0x360(%rbp)
movq -0x348(%rbp), %rdi
movslq -0x358(%rbp), %rax
imulq %rax, %rdi
movq -0x350(%rbp), %rax
movslq -0x354(%rbp), %rcx
imulq %rcx, %rax
subq %rax, %rdi
callq 0x3b20
movq %rax, -0x550(%rbp)
jmp 0x2f0e
movq -0x550(%rbp), %rax
cvtsi2sd %rax, %xmm0
divsd -0x360(%rbp), %xmm0
movsd %xmm0, -0x368(%rbp)
movsd -0x368(%rbp), %xmm0
movq -0x340(%rbp), %rax
cvtsi2sdl 0x28(%rax), %xmm1
ucomisd %xmm1, %xmm0
jbe 0x2f49
jmp 0x31c9
cvtsi2sdq -0x348(%rbp), %xmm0
divsd -0x360(%rbp), %xmm0
movsd %xmm0, -0x370(%rbp)
cvtsi2sdq -0x350(%rbp), %xmm0
divsd -0x360(%rbp), %xmm0
movsd %xmm0, -0x378(%rbp)
movsd -0x370(%rbp), %xmm0
cvtsi2sdl -0x354(%rbp), %xmm2
movsd -0x378(%rbp), %xmm1
cvtsi2sdl -0x358(%rbp), %xmm3
mulsd %xmm3, %xmm1
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
movsd %xmm0, -0x380(%rbp)
movq -0x340(%rbp), %rax
movslq 0x28(%rax), %rax
movq -0x340(%rbp), %rcx
movslq 0x28(%rcx), %rcx
imulq %rcx, %rax
cvtsi2sd %rax, %xmm1
movsd -0x368(%rbp), %xmm0
movsd -0x368(%rbp), %xmm2
movq %xmm0, %rax
movabsq $-0x8000000000000000, %rcx # imm = 0x8000000000000000
xorq %rcx, %rax
movq %rax, %xmm0
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
callq 0x2160
movsd %xmm0, -0x388(%rbp)
movsd -0x380(%rbp), %xmm0
subsd -0x388(%rbp), %xmm0
movsd %xmm0, -0x390(%rbp)
movsd -0x390(%rbp), %xmm0
divsd -0x360(%rbp), %xmm0
movsd %xmm0, -0x398(%rbp)
movsd -0x398(%rbp), %xmm0
xorps %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jb 0x30d4
movsd 0x7fb9(%rip), %xmm0     # 0xb010
ucomisd -0x398(%rbp), %xmm0
jb 0x30d4
movq -0x338(%rbp), %rax
cvtsi2sdl 0x10(%rax), %xmm1
movsd -0x390(%rbp), %xmm0
movsd -0x370(%rbp), %xmm2
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
movsd %xmm0, -0x3a0(%rbp)
movq -0x338(%rbp), %rax
cvtsi2sdl 0x14(%rax), %xmm1
movsd -0x390(%rbp), %xmm0
movsd -0x378(%rbp), %xmm2
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
movsd %xmm0, -0x3a8(%rbp)
leaq -0x58(%rbp), %rdi
leaq -0x3a0(%rbp), %rsi
leaq -0x3a8(%rbp), %rdx
callq 0x3a70
jmp 0x30d2
jmp 0x30d4
movsd -0x368(%rbp), %xmm0
movq -0x340(%rbp), %rax
cvtsi2sdl 0x28(%rax), %xmm1
ucomisd %xmm1, %xmm0
jne 0x30f5
jp 0x30f5
jmp 0x31c1
movsd -0x380(%rbp), %xmm0
addsd -0x388(%rbp), %xmm0
movsd %xmm0, -0x3b0(%rbp)
movsd -0x3b0(%rbp), %xmm0
divsd -0x360(%rbp), %xmm0
movsd %xmm0, -0x3b8(%rbp)
movsd -0x3b8(%rbp), %xmm0
xorps %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jb 0x31bf
movsd 0x7ece(%rip), %xmm0     # 0xb010
ucomisd -0x3b8(%rbp), %xmm0
jb 0x31bf
movq -0x338(%rbp), %rax
cvtsi2sdl 0x10(%rax), %xmm1
movsd -0x3b0(%rbp), %xmm0
movsd -0x370(%rbp), %xmm2
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
movsd %xmm0, -0x3c0(%rbp)
movq -0x338(%rbp), %rax
cvtsi2sdl 0x14(%rax), %xmm1
movsd -0x3b0(%rbp), %xmm0
movsd -0x378(%rbp), %xmm2
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
movsd %xmm0, -0x3c8(%rbp)
leaq -0x58(%rbp), %rdi
leaq -0x3c0(%rbp), %rsi
leaq -0x3c8(%rbp), %rdx
callq 0x3a70
jmp 0x31bd
jmp 0x31bf
jmp 0x31c1
jmp 0x31c3
jmp 0x31c5
jmp 0x31c7
jmp 0x31c9
leaq -0x250(%rbp), %rdi
callq 0x3b40
jmp 0x2833
leaq -0x218(%rbp), %rdi
callq 0x20e0
leaq -0x98(%rbp), %rdi
callq 0x2120
leaq -0x68(%rbp), %rdi
callq 0x3b40
jmp 0x24ed
leaq -0x98(%rbp), %rdi
callq 0x2120
jmp 0x378b
leaq -0x58(%rbp), %rdi
movq %rdi, -0x558(%rbp)
callq 0x3ba0
movq -0x558(%rbp), %rdi
movq %rax, -0x3d0(%rbp)
callq 0x3bd0
movq %rax, -0x3d8(%rbp)
movq -0x3d0(%rbp), %rdi
movq -0x3d8(%rbp), %rsi
callq 0x3b60
jmp 0x3250
leaq -0x58(%rbp), %rdi
movq %rdi, -0x568(%rbp)
callq 0x3ba0
movq -0x568(%rbp), %rdi
movq %rax, -0x3f0(%rbp)
callq 0x3bd0
movq %rax, -0x3f8(%rbp)
movq -0x3f0(%rbp), %rdi
movq -0x3f8(%rbp), %rsi
callq 0x3c90
movq %rax, -0x560(%rbp)
jmp 0x3296
movq -0x560(%rbp), %rax
movq %rax, -0x3e8(%rbp)
leaq -0x3e0(%rbp), %rdi
leaq -0x3e8(%rbp), %rsi
callq 0x3cd0
leaq -0x58(%rbp), %rdi
movq %rdi, -0x578(%rbp)
callq 0x3bd0
movq %rax, -0x408(%rbp)
leaq -0x400(%rbp), %rdi
leaq -0x408(%rbp), %rsi
callq 0x3cd0
movq -0x578(%rbp), %rdi
movq -0x3e0(%rbp), %rsi
movq -0x400(%rbp), %rdx
callq 0x3c00
movq %rax, -0x570(%rbp)
jmp 0x3304
movq -0x570(%rbp), %rax
movq %rax, -0x410(%rbp)
leaq -0x58(%rbp), %rdi
callq 0x3d10
movq %rax, %rsi
movq 0xccab(%rip), %rdi      # 0xffd0
callq 0x2050
movq %rax, -0x580(%rbp)
jmp 0x3333
movq -0x580(%rbp), %rdi
movq 0xcc7f(%rip), %rsi      # 0xffc0
callq 0x21f0
movq %rax, -0x588(%rbp)
jmp 0x334f
movq -0x588(%rbp), %rdi
leaq 0x9d3(%rip), %rsi       # 0x3d30
callq 0x2090
movq %rax, -0x590(%rbp)
jmp 0x336b
movl $0x4, %edi
callq 0x3d60
movl %eax, -0x594(%rbp)
jmp 0x337d
movq -0x590(%rbp), %rdi
movl -0x594(%rbp), %eax
movl %eax, -0x414(%rbp)
movl -0x414(%rbp), %esi
callq 0x2290
jmp 0x339d
leaq -0x58(%rbp), %rax
movq %rax, -0x420(%rbp)
movq -0x420(%rbp), %rdi
callq 0x3ba0
movq %rax, -0x428(%rbp)
movq -0x420(%rbp), %rdi
callq 0x3bd0
movq %rax, -0x430(%rbp)
leaq -0x428(%rbp), %rdi
leaq -0x430(%rbp), %rsi
callq 0x3d80
testb $0x1, %al
jne 0x33ea
jmp 0x3493
leaq -0x428(%rbp), %rdi
callq 0x3dc0
movq %rax, -0x438(%rbp)
movq -0x438(%rbp), %rax
movsd (%rax), %xmm0
movq 0xcbc1(%rip), %rdi      # 0xffd0
callq 0x22f0
movq %rax, -0x5a0(%rbp)
jmp 0x341d
movq -0x5a0(%rbp), %rdi
leaq 0x7c05(%rip), %rsi      # 0xb030
callq 0x21b0
movq %rax, -0x5a8(%rbp)
jmp 0x3439
movq -0x5a8(%rbp), %rdi
movq -0x438(%rbp), %rax
movsd 0x8(%rax), %xmm0
callq 0x22f0
movq %rax, -0x5b0(%rbp)
jmp 0x345a
movq -0x5b0(%rbp), %rdi
movq 0xcb58(%rip), %rsi      # 0xffc0
callq 0x21f0
jmp 0x346f
jmp 0x3471
leaq -0x428(%rbp), %rdi
callq 0x3de0
jmp 0x33ce
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x38(%rbp)
movl %eax, -0x3c(%rbp)
jmp 0x378b
leaq -0x4b0(%rbp), %rdi
movq %rdi, -0x5b8(%rbp)
leaq -0x58(%rbp), %rsi
callq 0x3e00
movq -0x5b8(%rbp), %rsi
leaq -0x498(%rbp), %rdi
callq 0x84c0
jmp 0x34bf
leaq -0x4b0(%rbp), %rdi
callq 0x3e30
leaq -0x4c8(%rbp), %rdi
leaq -0x498(%rbp), %rsi
callq 0x8540
jmp 0x34e0
leaq -0x4c8(%rbp), %rdi
callq 0x3d10
movq %rax, %rsi
movq 0xcada(%rip), %rdi      # 0xffd0
callq 0x2050
movq %rax, -0x5c0(%rbp)
jmp 0x3504
movq -0x5c0(%rbp), %rdi
movq 0xcaae(%rip), %rsi      # 0xffc0
callq 0x21f0
jmp 0x3519
xorps %xmm0, %xmm0
movsd %xmm0, -0x4d0(%rbp)
leaq -0x4c8(%rbp), %rdi
callq 0x3d10
subq $0x1, %rax
movq %rax, -0x4d8(%rbp)
movq $0x0, -0x4e0(%rbp)
movq -0x4e0(%rbp), %rax
movq %rax, -0x5c8(%rbp)
leaq -0x4c8(%rbp), %rdi
callq 0x3d10
movq %rax, %rcx
movq -0x5c8(%rbp), %rax
cmpq %rcx, %rax
je 0x3710
movq -0x4e0(%rbp), %rsi
leaq -0x4c8(%rbp), %rdi
callq 0x3e90
movsd (%rax), %xmm0
movq 0xca3f(%rip), %rdi      # 0xffd0
callq 0x22f0
movq %rax, -0x5d0(%rbp)
jmp 0x359f
movq -0x5d0(%rbp), %rdi
leaq 0x7a83(%rip), %rsi      # 0xb030
callq 0x21b0
movq %rax, -0x5d8(%rbp)
jmp 0x35bb
movq -0x4e0(%rbp), %rsi
leaq -0x4c8(%rbp), %rdi
callq 0x3e90
movq -0x5d8(%rbp), %rdi
movsd 0x8(%rax), %xmm0
callq 0x22f0
movq %rax, -0x5e0(%rbp)
jmp 0x35e8
movq -0x5e0(%rbp), %rdi
movq 0xc9ca(%rip), %rsi      # 0xffc0
callq 0x21f0
jmp 0x35fd
movq -0x4d8(%rbp), %rsi
leaq -0x4c8(%rbp), %rdi
callq 0x3e90
movsd (%rax), %xmm0
movsd %xmm0, -0x5f8(%rbp)
movq -0x4e0(%rbp), %rsi
leaq -0x4c8(%rbp), %rdi
callq 0x3e90
movsd -0x5f8(%rbp), %xmm0
addsd (%rax), %xmm0
movsd %xmm0, -0x5e8(%rbp)
movq -0x4d8(%rbp), %rsi
leaq -0x4c8(%rbp), %rdi
callq 0x3e90
movsd 0x8(%rax), %xmm0
movsd %xmm0, -0x5f0(%rbp)
movq -0x4e0(%rbp), %rsi
leaq -0x4c8(%rbp), %rdi
callq 0x3e90
movsd -0x5f0(%rbp), %xmm2
movsd -0x5e8(%rbp), %xmm0
subsd 0x8(%rax), %xmm2
movsd -0x4d0(%rbp), %xmm1
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
movsd %xmm0, -0x4d0(%rbp)
movq -0x4e0(%rbp), %rax
movq %rax, -0x4d8(%rbp)
movq -0x4e0(%rbp), %rax
addq $0x1, %rax
movq %rax, -0x4e0(%rbp)
jmp 0x3546
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x38(%rbp)
movl %eax, -0x3c(%rbp)
leaq -0x4b0(%rbp), %rdi
callq 0x3e30
jmp 0x378b
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x38(%rbp)
movl %eax, -0x3c(%rbp)
jmp 0x377f
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x38(%rbp)
movl %eax, -0x3c(%rbp)
leaq -0x4c8(%rbp), %rdi
callq 0x3e30
jmp 0x377f
movsd -0x4d0(%rbp), %xmm0
movsd 0x78e8(%rip), %xmm1     # 0xb008
mulsd %xmm1, %xmm0
callq 0x3eb0
movsd %xmm0, -0x600(%rbp)
jmp 0x3733
movsd -0x600(%rbp), %xmm0
movq 0xc88e(%rip), %rdi      # 0xffd0
callq 0x22f0
jmp 0x3749
leaq -0x4c8(%rbp), %rdi
callq 0x3e30
leaq -0x498(%rbp), %rdi
callq 0x3ed0
leaq -0x58(%rbp), %rdi
callq 0x3e30
leaq -0x28(%rbp), %rdi
callq 0x3ef0
movl -0x4(%rbp), %eax
addq $0x600, %rsp            # imm = 0x600
popq %rbp
retq
leaq -0x498(%rbp), %rdi
callq 0x3ed0
leaq -0x58(%rbp), %rdi
callq 0x3e30
leaq -0x28(%rbp), %rdi
callq 0x3ef0
movq -0x38(%rbp), %rdi
callq 0x22c0
nopw %cs:(%rax,%rax)