// File: /workspace/github_cpp_makefile_star2_O3/whitefusion[P]Jaipur_cardgame-/AllBonus.cpp
// Function: All_Bonus::newABonus()
void All_Bonus::newABonus(){
    for (int i = 0; i < 3; ++i)
        allBonus.at(i).clear();
    allBonus.clear();

    for (int i = 0; i < 3; ++i)
        size[i] = 0;

    size[0] = 6;
    size[1] = 6;
    size[2] = 6;
    int i;
    size_t j;
    Token temp;
    vector<Token> tempvec;

    for(i = 0; i < 3 ; ++i){
        temp.setType(BonusName[i+1]);
        for( j = 0; j < Bonus.at(i).size(); ++j){
            temp.setVal(Bonus.at(i).at(j));
            tempvec.push_back(temp);
        }
        allBonus.push_back(tempvec);
        tempvec.clear();
    }

    shuffle();
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x78, %rsp
xorl %r14d, %r14d
movabsq $-0x5555555555555555, %r13 # imm = 0xAAAAAAAAAAAAAAAB
movq %rdi, (%rsp)
movq (%rdi), %rax
movq 0x8(%rdi), %rdx
subq %rax, %rdx
sarq $0x3, %rdx
imulq %r13, %rdx
cmpq %r14, %rdx
jbe 0x7227
leaq (%r14,%r14,2), %rcx
movq (%rax,%rcx,8), %rbx
movq 0x8(%rax,%rcx,8), %r12
cmpq %rbx, %r12
je 0x7058
leaq (%rax,%rcx,8), %rbp
movq %rbx, %r15
movq %r15, %rdi
callq 0x40b8
addq $0x28, %r15
cmpq %r12, %r15
jne 0x703f
movq %rbx, 0x8(%rbp)
movq (%rsp), %rdi
incq %r14
cmpq $0x3, %r14
jne 0x700b
movq (%rdi), %rbx
movq 0x8(%rdi), %r15
cmpq %rbx, %r15
je 0x7089
movq %rbx, %r14
movq %r14, %rdi
callq 0x60d6
addq $0x18, %r14
cmpq %r15, %r14
jne 0x7070
movq (%rsp), %rdi
movq %rbx, 0x8(%rdi)
movabsq $0x600000006, %rax      # imm = 0x600000006
movq %rax, 0x18(%rdi)
movl $0x6, 0x20(%rdi)
leaq 0x50(%rsp), %r14
movq %r14, %rdi
callq 0x405c
xorps %xmm0, %xmm0
leaq 0x30(%rsp), %r15
movaps %xmm0, (%r15)
movq $0x0, 0x10(%r15)
leaq 0x20(%rsp), %rbp
xorl %r12d, %r12d
leaq 0x10(%rsp), %rbx
leaq 0x1(%r12), %rax
movq %rax, 0x48(%rsp)
movl %eax, 0xc(%rsp)
leaq 0xf157(%rip), %rdi      # 0x16238
leaq 0xc(%rsp), %rsi
callq 0x5ff0
movq %rbp, 0x10(%rsp)
movq (%rax), %rsi
movq 0x8(%rax), %rdx
addq %rsi, %rdx
movq %rbx, %rdi
callq 0x3f2e
movq %r14, %rdi
movq %rbx, %rsi
callq 0x40d4
movq 0x10(%rsp), %rdi
cmpq %rbp, %rdi
je 0x7124
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x21a0
movq 0xf145(%rip), %rdx      # 0x16270
movq 0xf136(%rip), %rax      # 0x16268
subq %rax, %rdx
sarq $0x3, %rdx
imulq %r13, %rdx
cmpq %r12, %rdx
jbe 0x7216
leaq (%r12,%r12,2), %rbx
xorl %ebp, %ebp
movq (%rax,%rbx,8), %rcx
movq 0x8(%rax,%rbx,8), %rax
subq %rcx, %rax
sarq $0x2, %rax
cmpq %rax, %rbp
jae 0x719a
movl (%rcx,%rbp,4), %esi
movq %r14, %rdi
callq 0x424c
movq %r15, %rdi
movq %r14, %rsi
callq 0x6056
incq %rbp
movq 0xf0ef(%rip), %rdx      # 0x16270
movq 0xf0e0(%rip), %rax      # 0x16268
subq %rax, %rdx
sarq $0x3, %rdx
imulq %r13, %rdx
cmpq %r12, %rdx
ja 0x714c
jmp 0x7216
movq (%rsp), %rdi
movq %r15, %rsi
callq 0x60aa
movq 0x30(%rsp), %rbx
movq 0x38(%rsp), %rbp
cmpq %rbx, %rbp
je 0x71ce
movq %rbx, %r12
movq %r12, %rdi
callq 0x40b8
addq $0x28, %r12
cmpq %rbp, %r12
jne 0x71b8
movq %rbx, 0x38(%rsp)
movq 0x48(%rsp), %rax
movq %rax, %r12
cmpq $0x3, %rax
leaq 0x20(%rsp), %rbp
leaq 0x10(%rsp), %rbx
jne 0x70cc
movq (%rsp), %rdi
callq 0x727a
leaq 0x30(%rsp), %rdi
callq 0x60d6
leaq 0x50(%rsp), %rdi
callq 0x40b8
addq $0x78, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x913b(%rip), %rdi      # 0x10358
movq %r12, %rsi
xorl %eax, %eax
callq 0x21f0
leaq 0x912a(%rip), %rdi      # 0x10358
movq %r14, %rsi
xorl %eax, %eax
callq 0x21f0
jmp 0x725a
movq %rax, %rbx
movq 0x10(%rsp), %rdi
cmpq %rbp, %rdi
je 0x725d
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x21a0
jmp 0x725d
jmp 0x725a
jmp 0x725a
movq %rax, %rbx
leaq 0x30(%rsp), %rdi
callq 0x60d6
leaq 0x50(%rsp), %rdi
callq 0x40b8
movq %rbx, %rdi
callq 0x2280
nop