// File: /workspace/github_cpp_makefile_star2_O1/massykezzoul[P]jeu-de-la-vie/option/option.cpp
// Function: Option_tab::Option_tab()
Option_tab::Option_tab():nb(0){
	// Définition des options disponible
	Option opt1(Option::HELP,"help",'h',Option::NOPE,
		"Affiche les aides du programme");
	
	Option opt2(Option::VERSION,"version",'v',Option::NOPE,
		"Affiche la version du programme"); 
	
	Option opt3(Option::DIMENSION,"dimension",'d',Option::INT,
		"Precisé la dimension du tableau, Doit etre entre 3 et N"); 
	
	Option opt4(Option::CONFIG,"config",'c',Option::STR,
		"Donne le fichier de configuration");
	
	Option opt5(Option::PROBABILITY,"probability",'p',Option::FLOAT,
		"Spécifié le pourcentage de cellule vivante dans la population");

	Option opt6(Option::SPEED,"speed",'s',Option::INT,
		"Spécifié la vitesse de défilement des generations.(en ms)");
	/* 
	Pour l'ajout d'une option : 
	Option opt7(Option::Id*,"nom de l'option**",'raccourci**',Option::type_argument,
		"courte description");

		* L'identifiant de l'option (voir 'option.h' ligne:6)
		** Doivent ếtre Unique
	*/

	// Ajout des option définit dans un tableau d'option
	add(opt1);
	add(opt2);
	add(opt3);
	add(opt4);
	add(opt5);
	add(opt6);
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x228, %rsp            # imm = 0x228
movq %rdi, %rbx
movq $0x0, (%rdi)
leaq 0x48(%rdi), %rax
movl $0x320, %ecx            # imm = 0x320
xorl %edx, %edx
leaq -0x28(%rax), %rsi
movq %rsi, -0x38(%rax)
movq %rdx, -0x30(%rax)
movb %dl, -0x28(%rax)
movq %rax, -0x10(%rax)
movq %rdx, -0x8(%rax)
movb %dl, (%rax)
addq $0x50, %rax
addq $-0x50, %rcx
jne 0x61d7
leaq 0x198(%rsp), %r12
movq %r12, -0x10(%r12)
leaq 0x133f(%rip), %rsi      # 0x754d
leaq 0x133c(%rip), %rdx      # 0x7551
leaq 0x188(%rsp), %rdi
callq 0x4f36
leaq 0x128(%rsp), %r15
movq %r15, -0x10(%r15)
leaq 0x131d(%rip), %rsi      # 0x7552
leaq 0x1334(%rip), %rdx      # 0x7570
leaq 0x118(%rsp), %rdi
callq 0x4f36
leaq 0x1d8(%rsp), %rdi
leaq 0x188(%rsp), %rdx
leaq 0x118(%rsp), %r9
xorl %esi, %esi
movl $0x68, %ecx
movl $0x4, %r8d
callq 0x5d0a
movq 0x118(%rsp), %rdi
cmpq %r15, %rdi
je 0x6290
movq 0x128(%rsp), %rsi
incq %rsi
callq 0x21a0
movq 0x188(%rsp), %rdi
cmpq %r12, %rdi
je 0x62ad
movq 0x198(%rsp), %rsi
incq %rsi
callq 0x21a0
leaq 0x118(%rsp), %rdi
movq %r15, (%rdi)
leaq 0x12b2(%rip), %rsi      # 0x7571
leaq 0x12b2(%rip), %rdx      # 0x7578
callq 0x4f36
leaq 0xd8(%rsp), %r12
movq %r12, -0x10(%r12)
leaq 0x129a(%rip), %rsi      # 0x7579
leaq 0x12b2(%rip), %rdx      # 0x7598
leaq 0xc8(%rsp), %rdi
callq 0x4f36
leaq 0x188(%rsp), %rdi
leaq 0x118(%rsp), %rdx
leaq 0xc8(%rsp), %r9
movl $0x1, %esi
movl $0x76, %ecx
movl $0x4, %r8d
callq 0x5d0a
movq 0xc8(%rsp), %rdi
cmpq %r12, %rdi
je 0x633d
movq 0xd8(%rsp), %rsi
incq %rsi
callq 0x21a0
movq 0x118(%rsp), %rdi
cmpq %r15, %rdi
je 0x635a
movq 0x128(%rsp), %rsi
incq %rsi
callq 0x21a0
leaq 0xc8(%rsp), %rdi
movq %r12, (%rdi)
leaq 0x122d(%rip), %rsi      # 0x7599
leaq 0x122f(%rip), %rdx      # 0x75a2
callq 0x4f36
leaq 0x88(%rsp), %r15
movq %r15, -0x10(%r15)
leaq 0x1218(%rip), %rsi      # 0x75a3
leaq 0x1249(%rip), %rdx      # 0x75db
leaq 0x78(%rsp), %rdi
callq 0x4f36
leaq 0x118(%rsp), %rdi
leaq 0xc8(%rsp), %rdx
leaq 0x78(%rsp), %r9
movl $0x2, %esi
movl $0x64, %ecx
xorl %r8d, %r8d
callq 0x5d0a
movq 0x78(%rsp), %rdi
cmpq %r15, %rdi
je 0x63dd
movq 0x88(%rsp), %rsi
incq %rsi
callq 0x21a0
movq 0xc8(%rsp), %rdi
cmpq %r12, %rdi
je 0x63fa
movq 0xd8(%rsp), %rsi
incq %rsi
callq 0x21a0
leaq 0x78(%rsp), %rdi
movq %r15, (%rdi)
leaq 0x11d3(%rip), %rsi      # 0x75dc
leaq 0x11d2(%rip), %rdx      # 0x75e2
callq 0x4f36
leaq 0x38(%rsp), %r12
movq %r12, -0x10(%r12)
leaq 0x11bd(%rip), %rsi      # 0x75e3
leaq 0x11d7(%rip), %rdx      # 0x7604
leaq 0x28(%rsp), %rdi
callq 0x4f36
leaq 0xc8(%rsp), %rdi
leaq 0x78(%rsp), %rdx
leaq 0x28(%rsp), %r9
movl $0x3, %esi
movl $0x63, %ecx
movl $0x3, %r8d
callq 0x5d0a
movq 0x28(%rsp), %rdi
cmpq %r12, %rdi
je 0x6475
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x21a0
movq 0x78(%rsp), %rdi
cmpq %r15, %rdi
je 0x648f
movq 0x88(%rsp), %rsi
incq %rsi
callq 0x21a0
leaq 0x28(%rsp), %rdi
movq %r12, (%rdi)
leaq 0x1167(%rip), %rsi      # 0x7605
leaq 0x116b(%rip), %rdx      # 0x7610
callq 0x4f36
leaq 0x18(%rsp), %r15
movq %r15, -0x10(%r15)
leaq 0x1157(%rip), %rsi      # 0x7611
leaq 0x118f(%rip), %rdx      # 0x7650
leaq 0x8(%rsp), %rdi
callq 0x4f36
leaq 0x78(%rsp), %rdi
leaq 0x28(%rsp), %rdx
leaq 0x8(%rsp), %r9
movl $0x4, %esi
movl $0x70, %ecx
movl $0x1, %r8d
callq 0x5d0a
movq 0x8(%rsp), %rdi
cmpq %r15, %rdi
je 0x6506
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x21a0
movq 0x28(%rsp), %rdi
cmpq %r12, %rdi
je 0x651d
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x21a0
leaq 0x8(%rsp), %rdi
movq %r15, (%rdi)
leaq 0x1125(%rip), %rsi      # 0x7651
leaq 0x1123(%rip), %rdx      # 0x7656
callq 0x4f36
leaq 0x178(%rsp), %r12
movq %r12, -0x10(%r12)
leaq 0x110b(%rip), %rsi      # 0x7657
leaq 0x1140(%rip), %rdx      # 0x7693
leaq 0x168(%rsp), %rdi
callq 0x4f36
leaq 0x28(%rsp), %rdi
leaq 0x8(%rsp), %rdx
leaq 0x168(%rsp), %r9
movl $0x5, %esi
movl $0x73, %ecx
xorl %r8d, %r8d
callq 0x5d0a
movq 0x168(%rsp), %rdi
cmpq %r12, %rdi
je 0x65a1
movq 0x178(%rsp), %rsi
incq %rsi
callq 0x21a0
movq 0x8(%rsp), %rdi
cmpq %r15, %rdi
je 0x65b8
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x21a0
leaq 0x1d8(%rsp), %rsi
movq %rbx, %rdi
callq 0x69d8
leaq 0x188(%rsp), %rsi
movq %rbx, %rdi
callq 0x69d8
leaq 0x118(%rsp), %rsi
movq %rbx, %rdi
callq 0x69d8
leaq 0xc8(%rsp), %rsi
movq %rbx, %rdi
callq 0x69d8
leaq 0x78(%rsp), %rsi
movq %rbx, %rdi
callq 0x69d8
leaq 0x28(%rsp), %rsi
movq %rbx, %rdi
callq 0x69d8
leaq 0x68(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x662d
movq 0x68(%rsp), %rsi
incq %rsi
callq 0x21a0
leaq 0x40(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x6648
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x21a0
leaq 0xb8(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x6669
movq 0xb8(%rsp), %rsi
incq %rsi
callq 0x21a0
leaq 0x90(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x668a
movq 0x90(%rsp), %rsi
incq %rsi
callq 0x21a0
leaq 0x108(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x66ab
movq 0x108(%rsp), %rsi
incq %rsi
callq 0x21a0
leaq 0xe0(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x66cc
movq 0xe0(%rsp), %rsi
incq %rsi
callq 0x21a0
leaq 0x158(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x66ed
movq 0x158(%rsp), %rsi
incq %rsi
callq 0x21a0
leaq 0x130(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x670e
movq 0x130(%rsp), %rsi
incq %rsi
callq 0x21a0
leaq 0x1c8(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x672f
movq 0x1c8(%rsp), %rsi
incq %rsi
callq 0x21a0
leaq 0x1a0(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x6750
movq 0x1a0(%rsp), %rsi
incq %rsi
callq 0x21a0
leaq 0x218(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x6771
movq 0x218(%rsp), %rsi
incq %rsi
callq 0x21a0
leaq 0x1f0(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x6792
movq 0x1f0(%rsp), %rsi
incq %rsi
callq 0x21a0
addq $0x228, %rsp            # imm = 0x228
popq %rbx
popq %r12
popq %r14
popq %r15
retq
movq %rax, %r14
movq 0x168(%rsp), %rdi
cmpq %r12, %rdi
je 0x67c6
movq 0x178(%rsp), %rsi
incq %rsi
callq 0x21a0
jmp 0x67c6
movq %rax, %r14
movq 0x8(%rsp), %rdi
cmpq %r15, %rdi
je 0x6978
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x21a0
jmp 0x6978
movq %rax, %r14
jmp 0x6978
movq %rax, %r14
movq 0x8(%rsp), %rdi
cmpq %r15, %rdi
je 0x680d
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x21a0
jmp 0x680d
movq %rax, %r14
movq 0x28(%rsp), %rdi
cmpq %r12, %rdi
je 0x6982
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x21a0
jmp 0x6982
movq %rax, %r14
jmp 0x6982
movq %rax, %r14
movq 0x28(%rsp), %rdi
cmpq %r12, %rdi
je 0x6854
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x21a0
jmp 0x6854
movq %rax, %r14
movq 0x78(%rsp), %rdi
cmpq %r15, %rdi
je 0x698f
movq 0x88(%rsp), %rsi
incq %rsi
callq 0x21a0
jmp 0x698f
movq %rax, %r14
jmp 0x698f
movq %rax, %r14
movq 0x78(%rsp), %rdi
cmpq %r15, %rdi
je 0x68a1
movq 0x88(%rsp), %rsi
incq %rsi
callq 0x21a0
jmp 0x68a1
movq %rax, %r14
movq 0xc8(%rsp), %rdi
cmpq %r12, %rdi
je 0x699c
movq 0xd8(%rsp), %rsi
incq %rsi
callq 0x21a0
jmp 0x699c
movq %rax, %r14
jmp 0x699c
movq %rax, %r14
movq 0xc8(%rsp), %rdi
cmpq %r12, %rdi
je 0x68f4
movq 0xd8(%rsp), %rsi
incq %rsi
callq 0x21a0
jmp 0x68f4
movq %rax, %r14
movq 0x118(%rsp), %rdi
cmpq %r15, %rdi
je 0x69a9
movq 0x128(%rsp), %rsi
incq %rsi
callq 0x21a0
jmp 0x69a9
movq %rax, %r14
jmp 0x69a9
movq %rax, %r14
movq 0x118(%rsp), %rdi
cmpq %r15, %rdi
je 0x6947
movq 0x128(%rsp), %rsi
incq %rsi
callq 0x21a0
jmp 0x6947
movq %rax, %r14
movq 0x188(%rsp), %rdi
cmpq %r12, %rdi
je 0x69b6
movq 0x198(%rsp), %rsi
incq %rsi
callq 0x21a0
jmp 0x69b6
movq %rax, %r14
jmp 0x69b6
movq %rax, %r14
leaq 0x28(%rsp), %rdi
callq 0x6e34
leaq 0x78(%rsp), %rdi
callq 0x6e34
leaq 0xc8(%rsp), %rdi
callq 0x6e34
leaq 0x118(%rsp), %rdi
callq 0x6e34
leaq 0x188(%rsp), %rdi
callq 0x6e34
leaq 0x1d8(%rsp), %rdi
callq 0x6e34
movl $0x2d8, %r15d           # imm = 0x2D8
leaq (%rbx,%r15), %rdi
callq 0x6e34
addq $-0x50, %r15
cmpq $-0x48, %r15
jne 0x69bc
movq %r14, %rdi
callq 0x22e0
nop