// File: /workspace/github_cpp_makefile_star2_O2/AngelPn[P]L5R-card_game/src/DeckBuilder.cpp
// Function: DeckBuilder::createDynastyDeck[abi:cxx11]()
list<BlackCard *> *DeckBuilder::createDynastyDeck()
{
	int i;
	//Create Personalities
	//NO_DEFENSIVE 10
	for (i = 0; i < NO_DEFENSIVE; i++)
		black->push_back(new Defender("Footsoldiers", DEFENDER));
	//NO_ATTACKING 10
	for (i = 0; i < NO_ATTACKING; i++)
		black->push_back(new Attacker("Steadfast bushi", ATTACKER));
	//NO_SHOGUN	2
	black->push_back(new Shogun("Akodo Kaneka", SHOGUN));
	black->push_back(new Shogun("Isawa Shi en", SHOGUN));
	//NO_CHANCELLOR 2
	black->push_back(new Chancellor("Hida Shozen", CHANCELLOR));
	black->push_back(new Chancellor("Mirimuto Enishi", CHANCELLOR));
	//NO_CHAMPION 1
	black->push_back(new Champion("Hida Kisada", CHAMPION));
	//Create holdings
	for (i = 0; i < NO_PLAIN; i++)
		black->push_back(new Plain("Rice Fields", PLAIN));
	for (i = 0; i < NO_FARMS; i++)
		black->push_back(new Farmland("Fish Farms", FARMS));
	for (i = 0; i < NO_MINE; i++)
		black->push_back(new Mine("Ashio Copper Mine", MINE));
	for (i = 0; i < NO_GOLD_MINE; i++)
		black->push_back(new GoldMine("Konomai Gold Mine", GOLD_MINE));
	for (i = 0; i < NO_CRYSTAL_MINE; i++)
		black->push_back(new CrystalMine("Ichinokawa Crystal Mine", CRYSTAL_MINE));
	for (i = 0; i < NO_SOLO; i++)
		black->push_back(new GiftsandFavour("Gifts and Favors", SOLO));

	return black;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x1b8, %rsp            # imm = 0x1B8
movq %rdi, %rbx
pushq $0xa
popq %r14
leaq 0x198(%rsp), %r13
subl $0x1, %r14d
jb 0x3c85
movq 0x8(%rbx), %rbp
pushq $0x58
popq %rdi
callq 0x31b0
movq %rax, %r15
movq %r13, %rdi
leaq 0x6457(%rip), %rsi      # 0xa0a2
leaq 0x7(%rsp), %rdx
callq 0x4498
movb $0x1, %r12b
movq %r15, %rdi
movq %r13, %rsi
pushq $0x1
popq %rdx
callq 0x487c
movq %r15, 0x8(%rsp)
xorl %r12d, %r12d
movq %rbp, %rdi
leaq 0x8(%rsp), %rsi
callq 0x4870
movq %r13, %rdi
callq 0x30c0
jmp 0x3c2c
pushq $0xa
popq %r15
leaq 0x178(%rsp), %r13
movq 0x8(%rbx), %r14
pushq $0x58
popq %rdi
subl $0x1, %r15d
jb 0x3ce9
callq 0x31b0
movq %rax, %rbp
movq %r13, %rdi
leaq 0x63ff(%rip), %rsi      # 0xa0af
leaq 0x7(%rsp), %rdx
callq 0x4498
movb $0x1, %r12b
movq %rbp, %rdi
movq %r13, %rsi
xorl %edx, %edx
callq 0x48d0
movq %rbp, 0x8(%rsp)
xorl %r12d, %r12d
movq %r14, %rdi
leaq 0x8(%rsp), %rsi
callq 0x4870
movq %r13, %rdi
callq 0x30c0
jmp 0x3c91
callq 0x31b0
movq %rax, %r15
leaq 0x63c7(%rip), %rsi      # 0xa0bf
leaq 0x98(%rsp), %rdi
leaq 0x7(%rsp), %rdx
callq 0x4498
movb $0x1, %bpl
leaq 0x98(%rsp), %rsi
pushq $0x2
popq %rdx
movq %r15, %rdi
callq 0x4924
leaq 0x8(%rsp), %rsi
movq %r15, (%rsi)
xorl %ebp, %ebp
movq %r14, %rdi
callq 0x4870
leaq 0x98(%rsp), %rdi
callq 0x30c0
movq 0x8(%rbx), %r15
pushq $0x58
popq %rdi
callq 0x31b0
movq %rax, %r14
leaq 0x6377(%rip), %rsi      # 0xa0cc
leaq 0x78(%rsp), %rdi
leaq 0x7(%rsp), %rdx
callq 0x4498
movb $0x1, %bpl
leaq 0x78(%rsp), %rsi
pushq $0x2
popq %rdx
movq %r14, %rdi
callq 0x4924
leaq 0x8(%rsp), %rsi
movq %r14, (%rsi)
xorl %ebp, %ebp
movq %r15, %rdi
callq 0x4870
leaq 0x78(%rsp), %rdi
callq 0x30c0
movq 0x8(%rbx), %r15
pushq $0x58
popq %rdi
callq 0x31b0
movq %rax, %r14
leaq 0x6330(%rip), %rsi      # 0xa0d9
leaq 0x58(%rsp), %rdi
leaq 0x7(%rsp), %rdx
callq 0x4498
movb $0x1, %bpl
leaq 0x58(%rsp), %rsi
pushq $0x3
popq %rdx
movq %r14, %rdi
callq 0x4978
leaq 0x8(%rsp), %rsi
movq %r14, (%rsi)
xorl %ebp, %ebp
movq %r15, %rdi
callq 0x4870
leaq 0x58(%rsp), %rdi
callq 0x30c0
movq 0x8(%rbx), %r15
pushq $0x58
popq %rdi
callq 0x31b0
movq %rax, %r14
leaq 0x62e8(%rip), %rsi      # 0xa0e5
leaq 0x38(%rsp), %rdi
leaq 0x7(%rsp), %rdx
callq 0x4498
movb $0x1, %r12b
leaq 0x38(%rsp), %rsi
pushq $0x3
popq %rbp
movq %r14, %rdi
movl %ebp, %edx
callq 0x4978
leaq 0x8(%rsp), %rsi
movq %r14, (%rsi)
xorl %r12d, %r12d
movq %r15, %rdi
callq 0x4870
leaq 0x38(%rsp), %rdi
callq 0x30c0
movq 0x8(%rbx), %r15
pushq $0x58
popq %rdi
callq 0x31b0
movq %rax, %r14
leaq 0x62a1(%rip), %rsi      # 0xa0f5
leaq 0x18(%rsp), %rdi
leaq 0x7(%rsp), %rdx
callq 0x4498
movb $0x1, %r12b
leaq 0x18(%rsp), %rsi
pushq $0x4
popq %rdx
movq %r14, %rdi
callq 0x49cc
leaq 0x8(%rsp), %rsi
movq %r14, (%rsi)
xorl %r12d, %r12d
movq %r15, %rdi
callq 0x4870
leaq 0x18(%rsp), %rdi
callq 0x30c0
leaq 0x158(%rsp), %r13
subl $0x1, %ebp
jb 0x3ef2
movq 0x8(%rbx), %r14
pushq $0x48
popq %rdi
callq 0x31b0
movq %rax, %r15
movq %r13, %rdi
leaq 0x6248(%rip), %rsi      # 0xa101
leaq 0x7(%rsp), %rdx
callq 0x4498
movb $0x1, %r12b
movq %r15, %rdi
movq %r13, %rsi
xorl %edx, %edx
callq 0x4a20
movq %r15, 0x8(%rsp)
xorl %r12d, %r12d
movq %r14, %rdi
leaq 0x8(%rsp), %rsi
callq 0x4870
movq %r13, %rdi
callq 0x30c0
jmp 0x3e9b
pushq $0x3
popq %r14
leaq 0x138(%rsp), %r13
subl $0x1, %r14d
jb 0x3f57
movq 0x8(%rbx), %rbp
pushq $0x48
popq %rdi
callq 0x31b0
movq %rax, %r12
movq %r13, %rdi
leaq 0x61f0(%rip), %rsi      # 0xa10d
leaq 0x7(%rsp), %rdx
callq 0x4498
movb $0x1, %r15b
movq %r12, %rdi
movq %r13, %rsi
pushq $0x4
popq %rdx
callq 0x4a74
movq %r12, 0x8(%rsp)
xorl %r15d, %r15d
movq %rbp, %rdi
leaq 0x8(%rsp), %rsi
callq 0x4870
movq %r13, %rdi
callq 0x30c0
jmp 0x3efe
pushq $0x3
popq %r14
leaq 0x118(%rsp), %r13
subl $0x1, %r14d
jb 0x3fbc
movq 0x8(%rbx), %rbp
pushq $0x48
popq %rdi
callq 0x31b0
movq %rax, %r12
movq %r13, %rdi
leaq 0x6196(%rip), %rsi      # 0xa118
leaq 0x7(%rsp), %rdx
callq 0x4498
movb $0x1, %r15b
movq %r12, %rdi
movq %r13, %rsi
pushq $0x1
popq %rdx
callq 0x4ac8
movq %r12, 0x8(%rsp)
xorl %r15d, %r15d
movq %rbp, %rdi
leaq 0x8(%rsp), %rsi
callq 0x4870
movq %r13, %rdi
callq 0x30c0
jmp 0x3f63
pushq $0x3
popq %r15
leaq 0xf8(%rsp), %r13
pushq $0x2
popq %rbp
movq %rbx, 0x10(%rsp)
subl $0x1, %r15d
jb 0x402b
movq 0x8(%rbx), %r14
pushq $0x48
popq %rdi
callq 0x31b0
movq %rax, %r12
movq %r13, %rdi
leaq 0x613b(%rip), %rsi      # 0xa12a
leaq 0x7(%rsp), %rdx
callq 0x4498
movb $0x1, %bl
movq %r12, %rdi
movq %r13, %rsi
movl %ebp, %edx
callq 0x4b1c
movq %r12, 0x8(%rsp)
xorl %ebx, %ebx
movq %r14, %rdi
leaq 0x8(%rsp), %rsi
callq 0x4870
movq %r13, %rdi
callq 0x30c0
movq 0x10(%rsp), %rbx
jmp 0x3fd0
pushq $0x3
popq %r14
leaq 0xd8(%rsp), %r15
subl $0x1, %r14d
jb 0x4093
movq 0x8(%rbx), %r13
pushq $0x48
popq %rdi
callq 0x31b0
movq %rax, %r12
movq %r15, %rdi
leaq 0x60e6(%rip), %rsi      # 0xa13c
leaq 0x7(%rsp), %rdx
callq 0x4498
movb $0x1, %bl
movq %r12, %rdi
movq %r15, %rsi
pushq $0x3
popq %rdx
callq 0x4b70
movq %r12, 0x8(%rsp)
xorl %ebx, %ebx
movq %r13, %rdi
leaq 0x8(%rsp), %rsi
callq 0x4870
movq %r15, %rdi
callq 0x30c0
movq 0x10(%rsp), %rbx
jmp 0x4037
leaq 0xb8(%rsp), %r12
leaq 0x8(%rsp), %r14
movq 0x8(%rbx), %r15
subl $0x1, %ebp
jb 0x40f9
pushq $0x48
popq %rdi
callq 0x31b0
movq %rax, %r13
movq %r12, %rdi
leaq 0x6096(%rip), %rsi      # 0xa154
leaq 0x7(%rsp), %rdx
callq 0x4498
movb $0x1, %bl
movq %r13, %rdi
movq %r12, %rsi
pushq $0x5
popq %rdx
callq 0x4bc4
movq %r13, 0x8(%rsp)
xorl %ebx, %ebx
movq %r15, %rdi
movq %r14, %rsi
callq 0x4870
movq %r12, %rdi
callq 0x30c0
movq 0x10(%rsp), %rbx
jmp 0x40a0
movq %r15, %rax
addq $0x1b8, %rsp            # imm = 0x1B8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x4114
jmp 0x4114
jmp 0x4114
movq %rax, %rbx
jmp 0x4158
jmp 0x41ac
movq %rax, %rbx
leaq 0x18(%rsp), %rdi
jmp 0x4130
movq %rax, %rbx
leaq 0x38(%rsp), %rdi
callq 0x30c0
testb %r12b, %r12b
jne 0x4158
jmp 0x4163
movq %rax, %rbx
leaq 0x58(%rsp), %rdi
jmp 0x414e
movq %rax, %rbx
leaq 0x78(%rsp), %rdi
callq 0x30c0
testb %bpl, %bpl
je 0x4163
pushq $0x58
popq %rsi
movq %r14, %rdi
callq 0x31c0
movq %rbx, %r14
jmp 0x427d
movq %rax, %r14
leaq 0x98(%rsp), %rdi
callq 0x30c0
testb %bpl, %bpl
jne 0x4272
jmp 0x427d
movq %rax, %r14
jmp 0x41cc
jmp 0x4194
jmp 0x4194
jmp 0x4194
movq %rax, %r14
jmp 0x421f
movq %rax, %r14
jmp 0x423c
movq %rax, %r14
jmp 0x4255
movq %rax, %r14
jmp 0x4272
movq %rax, %r14
leaq 0xb8(%rsp), %rdi
callq 0x30c0
testb %bl, %bl
je 0x427d
pushq $0x48
popq %rsi
movq %r13, %rdi
jmp 0x4278
movq %rax, %r14
leaq 0xd8(%rsp), %rdi
jmp 0x41ef
movq %rax, %r14
leaq 0xf8(%rsp), %rdi
callq 0x30c0
testb %bl, %bl
jne 0x421f
jmp 0x427d
movq %rax, %r14
leaq 0x118(%rsp), %rdi
jmp 0x4215
movq %rax, %r14
leaq 0x138(%rsp), %rdi
callq 0x30c0
testb %r15b, %r15b
je 0x427d
pushq $0x48
popq %rsi
movq %r12, %rdi
jmp 0x4278
movq %rax, %r14
leaq 0x158(%rsp), %rdi
callq 0x30c0
testb %r12b, %r12b
je 0x427d
pushq $0x48
jmp 0x4274
movq %rax, %r14
leaq 0x178(%rsp), %rdi
callq 0x30c0
testb %r12b, %r12b
je 0x427d
pushq $0x58
popq %rsi
movq %rbp, %rdi
jmp 0x4278
movq %rax, %r14
leaq 0x198(%rsp), %rdi
callq 0x30c0
testb %r12b, %r12b
je 0x427d
pushq $0x58
popq %rsi
movq %r15, %rdi
callq 0x31c0
movq %r14, %rdi
callq 0x3260
nop