// File: /workspace/github_cpp_makefile_star2_O2/tyhsu[P]Ewn/play.cpp
// Function: Play::compare_AI_mode()
void Play::compare_AI_mode()
{
    char mode_name[9][25] = { "evaluate_feature", \
                            "simulate_rand_type1", \
                            "simulate_rand_type2", \
                            "simulate_rand_type3", \
                            "simulate_rand_type4", \
                            "MCTS", \
                            "Random", \
                            "MCTS_simulate_rand_type3", \
                            "MCTS_simulate_rand_type4"};

    int mode_A, mode_B;
    int game_cnt;
    int win_cnt_A1 = 0, win_cnt_A2 = 0, win_cnt_B1 = 0, win_cnt_B2 = 0;
    double max_time_cost_A = 0, max_time_cost_B = 0;
    double total_time_cost_A = 0, total_time_cost_B = 0;
    double avg_move_timer_A1 = 0, avg_move_timer_B1 = 0, avg_move_timer_A2 = 0, avg_move_timer_B2 = 0;
    cout << "Please choose two AIs:" << endl;
    cout << "0)Minimax evaluating with feature" << endl;
    cout << "1)Minimax evaluating with simulation 1" << endl;
    cout << "2)Minimax evaluating with simulation 2" << endl;
    cout << "3)Minimax evaluating with simulation 3" << endl;
    cout << "4)Minimax evaluating with simulation 4" << endl;
    cout << "5)MCTS" << endl;
    cout << "6)Random" << endl;
    cout << "Choose: ";
    cout << "modeA choose: ";
    cin >> mode_A;
    cout << "modeB choose: ";
    cin >> mode_B;
    cout << "Please enter the count of the games: ";
    cin >> game_cnt;

    // modeA plays first, then modeB
    cout << "========== modeA then modeB ==========" << endl;
    for(int i = 0; i < game_cnt ; i++){
        Game init_game = this->game;
        EwnAI ewnAI1(mode_A);
        EwnAI ewnAI2(mode_B);
        while (1) {
            int debug = 0;
            int dice = init_game.roll_dice();

            int game_status;
            if (!init_game.get_is_switch()) {	// the first AI (A)
                cerr << "-";
                cerr.flush();
                clock_t init_time = clock();
                Movement mvmt = ewnAI1.AI_move(init_game, dice);
                game_status = init_game.update_game_status(mvmt);
                double time_cost = (double)(clock() - init_time) / CLOCKS_PER_SEC;
                max_time_cost_A = max(max_time_cost_A, time_cost);
                total_time_cost_A += time_cost;
                avg_move_timer_A1 += 1;
            }
            else {								// the second AI (B)
                cerr << "-";
                cerr.flush();
                clock_t init_time = clock();
                Movement mvmt = ewnAI2.AI_move(init_game, dice);
                game_status = init_game.update_game_status(mvmt);
                double time_cost = (double)(clock() - init_time) / CLOCKS_PER_SEC;
                max_time_cost_B = max(max_time_cost_B, time_cost);
                total_time_cost_B += time_cost;
                avg_move_timer_B1 += 1;
            }
            //update: 0(game continues), 1(A wins), 2(B wins)
            if (game_status!=0) {
                if (game_status==1) {
                    win_cnt_A1 ++ ;
                    cout << "A wins.  " << win_cnt_A1 + win_cnt_B1 << " games." << endl;
                }

                else {
                    win_cnt_B1 ++;
                    cout << "B wins.  " << win_cnt_A1 + win_cnt_B1 << " games." << endl;
                }
                break;
            }
            init_game.switch_player();
        }
    }
    printf("%-25s%-10s%-10s%-10s\n", "mode", "wins", "max_time_cost", "total_time_cost");
    printf("%-25s%-10d%-10lf%-10lf\n", mode_name[mode_A], win_cnt_A1, max_time_cost_A, total_time_cost_A);
    printf("%-25s%-10d%-10lf%-10lf\n", mode_name[mode_B], win_cnt_B1, max_time_cost_B, total_time_cost_B);

    // modeB plays first, then modeA
    cout << "========== modeB then modeA ==========" << endl;
    for (int i = 0; i < game_cnt ; i++){
        Game init_game = this->game;
        EwnAI ewnAI1(mode_B);
        EwnAI ewnAI2(mode_A);
        while (1) {
            int debug = 0;
            int dice = init_game.roll_dice();

            int game_status;
            if (!init_game.get_is_switch()) {	// the first AI (B)
                cerr << "-";
                cerr.flush();
                clock_t init_time = clock();
                Movement mvmt = ewnAI1.AI_move(init_game, dice);
                game_status = init_game.update_game_status(mvmt);
                double time_cost = (double)(clock() - init_time) / CLOCKS_PER_SEC;
                max_time_cost_B = max(max_time_cost_B, time_cost);
                avg_move_timer_B2 += 1;
            }
            else {							// the second AI (A)
                cerr << "-";
                cerr.flush();
                clock_t init_time = clock();
                Movement mvmt = ewnAI2.AI_move(init_game, dice);
                game_status = init_game.update_game_status(mvmt);
                double time_cost = (double)(clock() - init_time) / CLOCKS_PER_SEC;
                max_time_cost_A = max(max_time_cost_A, time_cost);
                avg_move_timer_A2 += 1;
            }
            //update: 0(game continues), 1(B wins), 2(A wins)
            if (game_status!=0) {
                if (game_status==1) {
                    win_cnt_B2 ++ ;
                    cout << "B wins.  " << win_cnt_A2 + win_cnt_B2 << " games." << endl;
                }

                else {
                    win_cnt_A2 ++;
                    cout << "A win.  " << win_cnt_A2 + win_cnt_B2 << " games." <<endl;
                }
                break;
            }
            init_game.switch_player();
        }
    }
    cout << endl << "==================================================" << endl;
    cout << "========== modeA then modeB ==========" << endl;
    printf("%-30s%-10s%-15s%-20s%-20s%s\n", "mode", "wins", "max_time_cost", "total_time_cost", "move_count", "time_cost_per_move(avg)");
    printf("%-30s%-10d%-15lf%-20lf%-20lf%lf\n", mode_name[mode_A], win_cnt_A1, max_time_cost_A, total_time_cost_A, avg_move_timer_A1, total_time_cost_A/avg_move_timer_A1);
    printf("%-30s%-10d%-15lf%-20lf%-20lf%lf\n", mode_name[mode_B], win_cnt_B1, max_time_cost_B, total_time_cost_B, avg_move_timer_B1, total_time_cost_B/avg_move_timer_B1);

    cout << "========== modeB then modeA ==========" << endl;
    printf("%-30s%-10s%-15s%-20s%-20s%s\n", "mode", "wins", "max_time_cost", "total_time_cost", "move_count", "time_cost_per_move(avg)");
    printf("%-30s%-10d%-15lf%-20lf%-20lf%lf\n", mode_name[mode_A], win_cnt_A2, max_time_cost_A, total_time_cost_A, avg_move_timer_A2, total_time_cost_A/avg_move_timer_A2);
    printf("%-30s%-10d%-15lf%-20lf%-20lf%lf\n", mode_name[mode_B], win_cnt_B2, max_time_cost_B, total_time_cost_B, avg_move_timer_B2, total_time_cost_B/avg_move_timer_B2);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xb48, %rsp            # imm = 0xB48
movq %rdi, -0xb0(%rbp)
leaq 0x538a(%rip), %rsi      # 0x85c0
leaq -0x1a0(%rbp), %rdi
movl $0xe1, %edx
callq 0x2110
movq 0x8d7a(%rip), %r14      # 0xbfc8
leaq 0x50df(%rip), %rsi      # 0x8334
movq %r14, %rdi
callq 0x2150
movq %rax, %rdi
callq 0x2090
leaq 0x50df(%rip), %rsi      # 0x834b
movq %r14, %rdi
callq 0x2150
movq %rax, %rdi
callq 0x2090
leaq 0x50ea(%rip), %rsi      # 0x836d
movq %r14, %rdi
callq 0x2150
movq %rax, %rdi
callq 0x2090
leaq 0x50fa(%rip), %rsi      # 0x8394
movq %r14, %rdi
callq 0x2150
movq %rax, %rdi
callq 0x2090
leaq 0x510a(%rip), %rsi      # 0x83bb
movq %r14, %rdi
callq 0x2150
movq %rax, %rdi
callq 0x2090
leaq 0x511a(%rip), %rsi      # 0x83e2
movq %r14, %rdi
callq 0x2150
movq %rax, %rdi
callq 0x2090
leaq 0x512a(%rip), %rsi      # 0x8409
movq %r14, %rdi
callq 0x2150
movq %rax, %rdi
callq 0x2090
leaq 0x511a(%rip), %rsi      # 0x8410
movq %r14, %rdi
callq 0x2150
movq %rax, %rdi
callq 0x2090
leaq 0x4d94(%rip), %rsi      # 0x80a1
movq %r14, %rdi
callq 0x2150
leaq 0x50fd(%rip), %rsi      # 0x8419
movq %r14, %rdi
callq 0x2150
movq 0x8cad(%rip), %rbx      # 0xbfd8
leaq -0x30(%rbp), %rsi
movq %rbx, %rdi
callq 0x20b0
leaq 0x50ea(%rip), %rsi      # 0x8428
movq %r14, %rdi
callq 0x2150
leaq -0x2c(%rbp), %rsi
movq %rbx, %rdi
callq 0x20b0
leaq 0x50de(%rip), %rsi      # 0x8437
movq %r14, %rdi
callq 0x2150
leaq -0x74(%rbp), %rsi
movq %rbx, %rdi
callq 0x20b0
leaq 0x50e9(%rip), %rsi      # 0x845d
movq %r14, %rdi
callq 0x2150
movq %rax, %rdi
callq 0x2090
xorl %eax, %eax
xorpd %xmm0, %xmm0
movsd %xmm0, -0x40(%rbp)
leaq -0x998(%rbp), %r13
movq 0x8c53(%rip), %r14      # 0xbff0
leaq -0xb68(%rbp), %r15
movsd %xmm0, -0x38(%rbp)
movsd %xmm0, -0xa0(%rbp)
movsd %xmm0, -0x98(%rbp)
movsd %xmm0, -0x70(%rbp)
movsd %xmm0, -0x68(%rbp)
movq $0x0, -0x58(%rbp)
movq $0x0, -0x50(%rbp)
cmpl -0x74(%rbp), %eax
jge 0x361e
movl %eax, -0x60(%rbp)
movq %r13, %rdi
movq -0xb0(%rbp), %rsi
callq 0x6336
movl -0x30(%rbp), %esi
leaq -0x6e0(%rbp), %rdi
callq 0x3e14
movl -0x2c(%rbp), %esi
leaq -0x440(%rbp), %rdi
callq 0x3e14
movq %r13, %rdi
callq 0x679c
movl %eax, %r12d
movq %r13, %rdi
callq 0x6d72
testb %al, %al
je 0x34c8
movq %r14, %rdi
leaq 0x4c0a(%rip), %rsi      # 0x803b
callq 0x2150
movq %r14, %rdi
callq 0x20d0
callq 0x20c0
movq %rax, %rbx
leaq -0x8b0(%rbp), %rdi
movq %r13, %rsi
callq 0x6336
leaq -0x440(%rbp), %rdi
leaq -0x8b0(%rbp), %rsi
movl %r12d, %edx
callq 0x3f00
movq %rax, -0x48(%rbp)
movq %r13, %rdi
leaq -0x48(%rbp), %rsi
callq 0x692c
movl %eax, %r12d
callq 0x20c0
subq %rbx, %rax
cvtsi2sd %rax, %xmm0
divsd 0x4c2d(%rip), %xmm0     # 0x80c0
movsd -0x70(%rbp), %xmm1
addsd %xmm0, %xmm1
movsd %xmm1, -0x70(%rbp)
maxsd -0x40(%rbp), %xmm0
movsd -0xa0(%rbp), %xmm1
addsd 0x4c12(%rip), %xmm1     # 0x80c8
movsd %xmm1, -0xa0(%rbp)
movsd %xmm0, -0x40(%rbp)
jmp 0x355c
movq %r14, %rdi
leaq 0x4b69(%rip), %rsi      # 0x803b
callq 0x2150
movq %r14, %rdi
callq 0x20d0
callq 0x20c0
movq %rax, %rbx
movq %r15, %rdi
movq %r13, %rsi
callq 0x6336
leaq -0x6e0(%rbp), %rdi
movq %r15, %rsi
movl %r12d, %edx
callq 0x3f00
movq %rax, -0x48(%rbp)
movq %r13, %rdi
leaq -0x48(%rbp), %rsi
callq 0x692c
movl %eax, %r12d
callq 0x20c0
subq %rbx, %rax
cvtsi2sd %rax, %xmm0
divsd 0x4b94(%rip), %xmm0     # 0x80c0
movsd -0x68(%rbp), %xmm1
addsd %xmm0, %xmm1
movsd %xmm1, -0x68(%rbp)
maxsd -0x38(%rbp), %xmm0
movsd -0x98(%rbp), %xmm1
addsd 0x4b79(%rip), %xmm1     # 0x80c8
movsd %xmm1, -0x98(%rbp)
movsd %xmm0, -0x38(%rbp)
testl %r12d, %r12d
jne 0x356e
movq %r13, %rdi
callq 0x6a92
jmp 0x340c
cmpl $0x1, %r12d
jne 0x35b9
movq 0x8a4d(%rip), %rdi      # 0xbfc8
leaq 0x4f02(%rip), %rsi      # 0x8484
callq 0x2150
movq -0x50(%rbp), %rdx
incl %edx
movq -0x58(%rbp), %rcx
movq %rdx, -0x50(%rbp)
leal (%rdx,%rcx), %esi
movq %rax, %rdi
callq 0x2210
movq %rax, %rdi
leaq 0x4ee4(%rip), %rsi      # 0x848e
callq 0x2150
movq %rax, %rdi
callq 0x2090
jmp 0x35fc
movq 0x8a08(%rip), %rdi      # 0xbfc8
leaq 0x4ecf(%rip), %rsi      # 0x8496
callq 0x2150
movq -0x58(%rbp), %rcx
incl %ecx
movq %rcx, -0x58(%rbp)
movq -0x50(%rbp), %rdx
leal (%rdx,%rcx), %esi
movq %rax, %rdi
callq 0x2210
movq %rax, %rdi
leaq 0x4e9f(%rip), %rsi      # 0x848e
callq 0x2150
movq %rax, %rdi
callq 0x2090
leaq -0x440(%rbp), %rdi
callq 0x3b3e
leaq -0x6e0(%rbp), %rdi
callq 0x3b3e
movl -0x60(%rbp), %eax
incl %eax
jmp 0x33d3
leaq 0x4e7b(%rip), %rdi      # 0x84a0
leaq 0x4a70(%rip), %rsi      # 0x809c
leaq 0x4e83(%rip), %rdx      # 0x84b6
leaq 0x4e81(%rip), %rcx      # 0x84bb
leaq 0x4e88(%rip), %r8       # 0x84c9
xorl %eax, %eax
callq 0x2030
movslq -0x30(%rbp), %rax
imulq $0x19, %rax, %rax
leaq (%rax,%rbp), %rsi
addq $-0x1a0, %rsi           # imm = 0xFE60
leaq 0x4e77(%rip), %rbx      # 0x84d9
movq %rbx, %rdi
movq -0x50(%rbp), %rdx
movsd -0x38(%rbp), %xmm0
movsd -0x68(%rbp), %xmm1
movb $0x2, %al
callq 0x2030
movslq -0x2c(%rbp), %rax
imulq $0x19, %rax, %rax
leaq (%rax,%rbp), %rsi
addq $-0x1a0, %rsi           # imm = 0xFE60
movq %rbx, %rdi
movq -0x58(%rbp), %rdx
movsd -0x40(%rbp), %xmm0
movsd -0x70(%rbp), %xmm1
movb $0x2, %al
callq 0x2030
movq 0x891c(%rip), %rdi      # 0xbfc8
leaq 0x4e3e(%rip), %rsi      # 0x84f1
callq 0x2150
movq %rax, %rdi
callq 0x2090
xorl %eax, %eax
xorpd %xmm0, %xmm0
movsd %xmm0, -0x90(%rbp)
leaq -0x998(%rbp), %r14
movq 0x8914(%rip), %r12      # 0xbff0
leaq -0xa80(%rbp), %r13
movsd %xmm0, -0x60(%rbp)
movq $0x0, -0x88(%rbp)
movq $0x0, -0x80(%rbp)
cmpl -0x74(%rbp), %eax
jge 0x3933
movl %eax, -0xa4(%rbp)
movq %r14, %rdi
movq -0xb0(%rbp), %rsi
callq 0x6336
movl -0x2c(%rbp), %esi
leaq -0x6e0(%rbp), %rdi
callq 0x3e14
movl -0x30(%rbp), %esi
leaq -0x440(%rbp), %rdi
callq 0x3e14
movq %r14, %rdi
callq 0x679c
movl %eax, %r15d
movq %r14, %rdi
callq 0x6d72
testb %al, %al
je 0x37e5
movq %r12, %rdi
leaq 0x48df(%rip), %rsi      # 0x803b
callq 0x2150
movq %r12, %rdi
callq 0x20d0
callq 0x20c0
movq %rax, %rbx
leaq -0x7c8(%rbp), %rdi
movq %r14, %rsi
callq 0x6336
leaq -0x440(%rbp), %rdi
leaq -0x7c8(%rbp), %rsi
movl %r15d, %edx
callq 0x3f00
movq %rax, -0x48(%rbp)
movq %r14, %rdi
leaq -0x48(%rbp), %rsi
callq 0x692c
movl %eax, %r15d
callq 0x20c0
subq %rbx, %rax
cvtsi2sd %rax, %xmm0
divsd 0x4902(%rip), %xmm0     # 0x80c0
maxsd -0x38(%rbp), %xmm0
movsd -0x90(%rbp), %xmm1
addsd 0x48f5(%rip), %xmm1     # 0x80c8
movsd %xmm1, -0x90(%rbp)
movsd %xmm0, -0x38(%rbp)
jmp 0x3865
movq %r12, %rdi
leaq 0x484c(%rip), %rsi      # 0x803b
callq 0x2150
movq %r12, %rdi
callq 0x20d0
callq 0x20c0
movq %rax, %rbx
movq %r13, %rdi
movq %r14, %rsi
callq 0x6336
leaq -0x6e0(%rbp), %rdi
movq %r13, %rsi
movl %r15d, %edx
callq 0x3f00
movq %rax, -0x48(%rbp)
movq %r14, %rdi
leaq -0x48(%rbp), %rsi
callq 0x692c
movl %eax, %r15d
callq 0x20c0
subq %rbx, %rax
cvtsi2sd %rax, %xmm0
divsd 0x4877(%rip), %xmm0     # 0x80c0
maxsd -0x40(%rbp), %xmm0
movsd -0x60(%rbp), %xmm1
addsd 0x486d(%rip), %xmm1     # 0x80c8
movsd %xmm1, -0x60(%rbp)
movsd %xmm0, -0x40(%rbp)
testl %r15d, %r15d
jne 0x3877
movq %r14, %rdi
callq 0x6a92
jmp 0x3737
cmpl $0x1, %r15d
jne 0x38c8
movq 0x8744(%rip), %rdi      # 0xbfc8
leaq 0x4c0b(%rip), %rsi      # 0x8496
callq 0x2150
movq -0x88(%rbp), %rcx
incl %ecx
movq %rcx, -0x88(%rbp)
movq -0x80(%rbp), %rdx
leal (%rdx,%rcx), %esi
movq %rax, %rdi
callq 0x2210
movq %rax, %rdi
leaq 0x4bd5(%rip), %rsi      # 0x848e
callq 0x2150
movq %rax, %rdi
callq 0x2090
jmp 0x390e
movq 0x86f9(%rip), %rdi      # 0xbfc8
leaq 0x4c42(%rip), %rsi      # 0x8518
callq 0x2150
movq -0x80(%rbp), %rdx
incl %edx
movq -0x88(%rbp), %rcx
movq %rdx, -0x80(%rbp)
leal (%rdx,%rcx), %esi
movq %rax, %rdi
callq 0x2210
movq %rax, %rdi
leaq 0x4b8d(%rip), %rsi      # 0x848e
callq 0x2150
movq %rax, %rdi
callq 0x2090
leaq -0x440(%rbp), %rdi
callq 0x3b3e
leaq -0x6e0(%rbp), %rdi
callq 0x3b3e
movl -0xa4(%rbp), %eax
incl %eax
jmp 0x36fb
movq 0x868e(%rip), %rbx      # 0xbfc8
movq %rbx, %rdi
callq 0x2090
leaq 0x4bd8(%rip), %rsi      # 0x8521
movq %rax, %rdi
callq 0x2150
movq %rax, %rdi
callq 0x2090
leaq 0x4afd(%rip), %rsi      # 0x845d
movq %rbx, %rdi
callq 0x2150
movq %rax, %rdi
callq 0x2090
leaq 0x4c05(%rip), %rax      # 0x857c
movq %rax, (%rsp)
leaq 0x4bd2(%rip), %r15      # 0x8554
leaq 0x4713(%rip), %r12      # 0x809c
leaq 0x4b26(%rip), %r13      # 0x84b6
leaq 0x4b24(%rip), %rcx      # 0x84bb
leaq 0x4b2b(%rip), %r8       # 0x84c9
leaq 0x4bcc(%rip), %r9       # 0x8571
movq %r15, %rdi
movq %r12, %rsi
movq %r13, %rdx
xorl %eax, %eax
callq 0x2030
movslq -0x30(%rbp), %rax
imulq $0x19, %rax, %rax
leaq (%rax,%rbp), %rsi
addq $-0x1a0, %rsi           # imm = 0xFE60
movsd -0x68(%rbp), %xmm1
movapd %xmm1, %xmm3
movsd -0x98(%rbp), %xmm2
divsd %xmm2, %xmm3
leaq 0x4bb0(%rip), %r14      # 0x8594
movq %r14, %rdi
movq -0x50(%rbp), %rdx
movsd -0x38(%rbp), %xmm0
movb $0x4, %al
callq 0x2030
movslq -0x2c(%rbp), %rax
imulq $0x19, %rax, %rax
leaq (%rax,%rbp), %rsi
addq $-0x1a0, %rsi           # imm = 0xFE60
movsd -0x70(%rbp), %xmm1
movapd %xmm1, %xmm3
movsd -0xa0(%rbp), %xmm2
divsd %xmm2, %xmm3
movq %r14, %rdi
movq -0x58(%rbp), %rdx
movsd -0x40(%rbp), %xmm0
movb $0x4, %al
callq 0x2030
leaq 0x4ab8(%rip), %rsi      # 0x84f1
movq %rbx, %rdi
callq 0x2150
movq %rax, %rdi
callq 0x2090
leaq 0x4b2c(%rip), %rax      # 0x857c
movq %rax, (%rsp)
movq %r15, %rdi
movq %r12, %rsi
movq %r13, %rdx
leaq 0x4a57(%rip), %rcx      # 0x84bb
leaq 0x4a5e(%rip), %r8       # 0x84c9
leaq 0x4aff(%rip), %r9       # 0x8571
xorl %eax, %eax
callq 0x2030
movslq -0x30(%rbp), %rax
imulq $0x19, %rax, %rax
leaq (%rax,%rbp), %rsi
addq $-0x1a0, %rsi           # imm = 0xFE60
movsd -0x68(%rbp), %xmm1
movapd %xmm1, %xmm3
movsd -0x90(%rbp), %xmm2
divsd %xmm2, %xmm3
movq %r14, %rdi
movq -0x80(%rbp), %rdx
movsd -0x38(%rbp), %xmm0
movb $0x4, %al
callq 0x2030
movslq -0x2c(%rbp), %rax
imulq $0x19, %rax, %rax
leaq (%rax,%rbp), %rsi
addq $-0x1a0, %rsi           # imm = 0xFE60
movsd -0x70(%rbp), %xmm1
movapd %xmm1, %xmm3
movsd -0x60(%rbp), %xmm2
divsd %xmm2, %xmm3
movq %r14, %rdi
movq -0x88(%rbp), %rdx
movsd -0x40(%rbp), %xmm0
movb $0x4, %al
callq 0x2030
addq $0xb48, %rsp            # imm = 0xB48
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x3b03
movq %rax, %rbx
jmp 0x3b29
jmp 0x3b1a
jmp 0x3b1a
jmp 0x3b1a
jmp 0x3b1a
jmp 0x3b1a
jmp 0x3b1a
jmp 0x3b1a
jmp 0x3b1a
jmp 0x3b1a
movq %rax, %rbx
leaq -0x440(%rbp), %rdi
callq 0x3b3e
leaq -0x6e0(%rbp), %rdi
callq 0x3b3e
movq %rbx, %rdi
callq 0x2220
nop