// File: /workspace/github_cpp_makefile_star2_O2/whitefusion[P]Jaipur_cardgame-/AllBonus.cpp
// Function: All_Bonus::pBonus()
void All_Bonus::pBonus()
{
      int i, c, ts, tf;
    cout << ">>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>BONUS<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<" << endl;
 //   cout << "============================================================================================================================================================================================" << endl;


	ts = 3;  
	tf = 6;
	for (i = ts; i < tf; ++i){
	    cout << "  "; 
	    for(c = 0; c < getSize(i)-1; ++c)
		cout << "  * *";
	    if (getSize(i) > 0){
		cout << "  * * *";
		cout << "           ";
	    }
	}
	cout << endl;

	for (i = ts; i < tf; ++i){
	    cout << "  ";
	    for (c = 0; c < getSize(i)-1; ++c)
		cout << "*    ";
	    if (getSize(i) > 0){
		cout << "*       *";
		cout << "         ";
	    }
	}
	cout << endl;

	for (i = ts; i < tf; ++i){
	    cout << " ";
	    for (c = 0; c < getSize(i)-1; ++c)
			cout << "*    "; // comment this line if test
            //for test
            /*
		    if (allBonus.at(i-3).at(c).getVal() == 10)
                cout << allBonus.at(i-3).at(c).getVal() << "   "; // for test to visualize
		    else 
                cout << allBonus.at(i-3).at(c).getVal() << "    "; // for test to visualize
            */
            

	    if (getSize(i) > 0){
		    cout << "*  " << allBonus.at(i-3).at(c).getType() << " *";
		    cout << "        ";
	    }
	    else
		    cout << " ";
	}
	cout << endl;

	for (i = ts; i < tf; ++i){
	    cout << " ";
	    for (c = 0; c < getSize(i)-1; ++c)
		    cout << "*    ";
	    if (getSize(i) > 0){
            cout << "*         *"; // comment this line if test
            //for test
            /*
            if (allBonus.at(i-3).at(c).getVal()==10)
                cout << "*   -" << allBonus.at(i-3).at(c).getVal() << "-  *"; // for test to visualize
            else 
                cout << "*   -" << allBonus.at(i-3).at(c).getVal() << "-   *"; // for test to visualize
            */
            
		    cout << "        ";
	    }
	    else
		    cout << " ";
	}
	cout << endl;

	for (i = ts; i < tf; ++i){
	    cout << "  ";
	    for (c = 0; c < getSize(i)-1; ++c)
		cout << "*    ";
	    if (getSize(i) > 0){
		cout << "*       *";
		cout << "         ";
	    }
	}
	cout << endl;

	for (i = ts; i < tf; ++i){
	    cout << "  "; 
	    for(c = 0; c < getSize(i)-1; ++c)
		cout << "  * *";
	    if (getSize(i) > 0){
		cout << "  * * *";
		cout << "           ";
	    }
	}
	cout << endl;

//    cout << "============================================================================================================================================================================================" << endl;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rdi, %rbx
movq 0xe7ac(%rip), %r14      # 0x14fd0
leaq 0x6c93(%rip), %rsi      # 0xd4be
movq %r14, %rdi
callq 0x21b0
movq %rax, %rdi
callq 0x20f0
pushq $0x3
popq %rbp
leaq 0x6acf(%rip), %r15      # 0xd314
leaq 0x6ab1(%rip), %r12      # 0xd2fd
cmpl $0x6, %ebp
je 0x68b0
movq %r14, %rdi
movq %r15, %rsi
callq 0x21b0
xorl %r13d, %r13d
movq %rbx, %rdi
movl %ebp, %esi
callq 0x66f8
decl %eax
cmpl %eax, %r13d
jge 0x6880
movq %r14, %rdi
movq %r12, %rsi
callq 0x21b0
incl %r13d
jmp 0x685f
movq %rbx, %rdi
movl %ebp, %esi
callq 0x66f8
testl %eax, %eax
jle 0x68ac
movq %r14, %rdi
leaq 0x6a6b(%rip), %rsi      # 0xd303
callq 0x21b0
movq %r14, %rdi
leaq 0x6a64(%rip), %rsi      # 0xd30b
callq 0x21b0
incl %ebp
jmp 0x684c
movq 0xe719(%rip), %r14      # 0x14fd0
movq %r14, %rdi
callq 0x20f0
pushq $0x3
popq %rbp
leaq 0x6a4b(%rip), %r15      # 0xd314
leaq 0x6a47(%rip), %r12      # 0xd317
cmpl $0x6, %ebp
je 0x6934
movq %r14, %rdi
movq %r15, %rsi
callq 0x21b0
xorl %r13d, %r13d
movq %rbx, %rdi
movl %ebp, %esi
callq 0x66f8
decl %eax
cmpl %eax, %r13d
jge 0x6904
movq %r14, %rdi
movq %r12, %rsi
callq 0x21b0
incl %r13d
jmp 0x68e3
movq %rbx, %rdi
movl %ebp, %esi
callq 0x66f8
testl %eax, %eax
jle 0x6930
movq %r14, %rdi
leaq 0x6a01(%rip), %rsi      # 0xd31d
callq 0x21b0
movq %r14, %rdi
leaq 0x69e2(%rip), %rsi      # 0xd30d
callq 0x21b0
incl %ebp
jmp 0x68d0
movq 0xe695(%rip), %r14      # 0x14fd0
movq %r14, %rdi
callq 0x20f0
pushq $0x3
popq %r15
leaq 0x69c7(%rip), %r12      # 0xd315
leaq 0x69c2(%rip), %r13      # 0xd317
cmpq $0x6, %r15
je 0x6a15
movq %r14, %rdi
movq %r12, %rsi
callq 0x21b0
xorl %ebp, %ebp
movq %rbx, %rdi
movl %r15d, %esi
callq 0x66f8
decl %eax
cmpl %eax, %ebp
jge 0x698d
movq %r14, %rdi
movq %r13, %rsi
callq 0x21b0
incq %rbp
jmp 0x696c
movq %rbx, %rdi
movl %r15d, %esi
callq 0x66f8
movq %r12, %rsi
testl %eax, %eax
jle 0x6a05
movq %r14, %rdi
leaq 0x697e(%rip), %rsi      # 0xd327
callq 0x21b0
movq %rax, (%rsp)
leaq -0x3(%r15), %rsi
movq %rbx, %rdi
callq 0x541e
movq %rax, %rdi
movq %rbp, %rsi
callq 0x5444
leaq 0x8(%rsp), %rbp
movq %rbp, %rdi
movq %rax, %rsi
callq 0x3c6a
movq (%rsp), %rdi
movq %rbp, %rsi
callq 0x2180
movq %rax, %rdi
leaq 0x6b94(%rip), %rsi      # 0xd583
callq 0x21b0
leaq 0x8(%rsp), %rdi
callq 0x20e0
leaq 0x6909(%rip), %rsi      # 0xd30e
movq %r14, %rdi
callq 0x21b0
incq %r15
jmp 0x6955
movq 0xe5b4(%rip), %r14      # 0x14fd0
movq %r14, %rdi
callq 0x20f0
pushq $0x3
popq %rbp
leaq 0x68e7(%rip), %r15      # 0xd315
leaq 0x68e2(%rip), %r12      # 0xd317
cmpl $0x6, %ebp
je 0x6a9c
movq %r14, %rdi
movq %r15, %rsi
callq 0x21b0
xorl %r13d, %r13d
movq %rbx, %rdi
movl %ebp, %esi
callq 0x66f8
decl %eax
cmpl %eax, %r13d
jge 0x6a69
movq %r14, %rdi
movq %r12, %rsi
callq 0x21b0
incl %r13d
jmp 0x6a48
movq %rbx, %rdi
movl %ebp, %esi
callq 0x66f8
movq %r15, %rsi
testl %eax, %eax
jle 0x6a90
movq %r14, %rdi
leaq 0x6af6(%rip), %rsi      # 0xd57a
callq 0x21b0
leaq 0x687e(%rip), %rsi      # 0xd30e
movq %r14, %rdi
callq 0x21b0
incl %ebp
jmp 0x6a35
movq 0xe52d(%rip), %r14      # 0x14fd0
movq %r14, %rdi
callq 0x20f0
pushq $0x3
popq %rbp
leaq 0x685f(%rip), %r15      # 0xd314
leaq 0x685b(%rip), %r12      # 0xd317
cmpl $0x6, %ebp
je 0x6b20
movq %r14, %rdi
movq %r15, %rsi
callq 0x21b0
xorl %r13d, %r13d
movq %rbx, %rdi
movl %ebp, %esi
callq 0x66f8
decl %eax
cmpl %eax, %r13d
jge 0x6af0
movq %r14, %rdi
movq %r12, %rsi
callq 0x21b0
incl %r13d
jmp 0x6acf
movq %rbx, %rdi
movl %ebp, %esi
callq 0x66f8
testl %eax, %eax
jle 0x6b1c
movq %r14, %rdi
leaq 0x6815(%rip), %rsi      # 0xd31d
callq 0x21b0
movq %r14, %rdi
leaq 0x67f6(%rip), %rsi      # 0xd30d
callq 0x21b0
incl %ebp
jmp 0x6abc
movq 0xe4a9(%rip), %r14      # 0x14fd0
movq %r14, %rdi
callq 0x20f0
pushq $0x3
popq %rbp
leaq 0x67db(%rip), %r15      # 0xd314
leaq 0x67bd(%rip), %r12      # 0xd2fd
cmpl $0x6, %ebp
je 0x6ba4
movq %r14, %rdi
movq %r15, %rsi
callq 0x21b0
xorl %r13d, %r13d
movq %rbx, %rdi
movl %ebp, %esi
callq 0x66f8
decl %eax
cmpl %eax, %r13d
jge 0x6b74
movq %r14, %rdi
movq %r12, %rsi
callq 0x21b0
incl %r13d
jmp 0x6b53
movq %rbx, %rdi
movl %ebp, %esi
callq 0x66f8
testl %eax, %eax
jle 0x6ba0
movq %r14, %rdi
leaq 0x6777(%rip), %rsi      # 0xd303
callq 0x21b0
movq %r14, %rdi
leaq 0x6770(%rip), %rsi      # 0xd30b
callq 0x21b0
incl %ebp
jmp 0x6b40
movq 0xe425(%rip), %rdi      # 0x14fd0
callq 0x20f0
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
leaq 0x8(%rsp), %rdi
callq 0x20e0
movq %rbx, %rdi
callq 0x22a0