// File: /workspace/github_cpp_makefile_star2_O3/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 0x620b
leaq 0x198(%rsp), %r12
movq %r12, -0x10(%r12)
leaq 0x1323(%rip), %rsi      # 0x7565
leaq 0x1320(%rip), %rdx      # 0x7569
leaq 0x188(%rsp), %rdi
callq 0x4f4c
leaq 0x128(%rsp), %r15
movq %r15, -0x10(%r15)
leaq 0x1301(%rip), %rsi      # 0x756a
leaq 0x1318(%rip), %rdx      # 0x7588
leaq 0x118(%rsp), %rdi
callq 0x4f4c
leaq 0x1d8(%rsp), %rdi
leaq 0x188(%rsp), %rdx
leaq 0x118(%rsp), %r9
xorl %esi, %esi
movl $0x68, %ecx
movl $0x4, %r8d
callq 0x5d3e
movq 0x118(%rsp), %rdi
cmpq %r15, %rdi
je 0x62c4
movq 0x128(%rsp), %rsi
incq %rsi
callq 0x21a0
movq 0x188(%rsp), %rdi
cmpq %r12, %rdi
je 0x62e1
movq 0x198(%rsp), %rsi
incq %rsi
callq 0x21a0
leaq 0x118(%rsp), %rdi
movq %r15, (%rdi)
leaq 0x1296(%rip), %rsi      # 0x7589
leaq 0x1296(%rip), %rdx      # 0x7590
callq 0x4f4c
leaq 0xd8(%rsp), %r12
movq %r12, -0x10(%r12)
leaq 0x127e(%rip), %rsi      # 0x7591
leaq 0x1296(%rip), %rdx      # 0x75b0
leaq 0xc8(%rsp), %rdi
callq 0x4f4c
leaq 0x188(%rsp), %rdi
leaq 0x118(%rsp), %rdx
leaq 0xc8(%rsp), %r9
movl $0x1, %esi
movl $0x76, %ecx
movl $0x4, %r8d
callq 0x5d3e
movq 0xc8(%rsp), %rdi
cmpq %r12, %rdi
je 0x6371
movq 0xd8(%rsp), %rsi
incq %rsi
callq 0x21a0
movq 0x118(%rsp), %rdi
cmpq %r15, %rdi
je 0x638e
movq 0x128(%rsp), %rsi
incq %rsi
callq 0x21a0
leaq 0xc8(%rsp), %rdi
movq %r12, (%rdi)
leaq 0x1211(%rip), %rsi      # 0x75b1
leaq 0x1213(%rip), %rdx      # 0x75ba
callq 0x4f4c
leaq 0x88(%rsp), %r15
movq %r15, -0x10(%r15)
leaq 0x11fc(%rip), %rsi      # 0x75bb
leaq 0x122d(%rip), %rdx      # 0x75f3
leaq 0x78(%rsp), %rdi
callq 0x4f4c
leaq 0x118(%rsp), %rdi
leaq 0xc8(%rsp), %rdx
leaq 0x78(%rsp), %r9
movl $0x2, %esi
movl $0x64, %ecx
xorl %r8d, %r8d
callq 0x5d3e
movq 0x78(%rsp), %rdi
cmpq %r15, %rdi
je 0x6411
movq 0x88(%rsp), %rsi
incq %rsi
callq 0x21a0
movq 0xc8(%rsp), %rdi
cmpq %r12, %rdi
je 0x642e
movq 0xd8(%rsp), %rsi
incq %rsi
callq 0x21a0
leaq 0x78(%rsp), %rdi
movq %r15, (%rdi)
leaq 0x11b7(%rip), %rsi      # 0x75f4
leaq 0x11b6(%rip), %rdx      # 0x75fa
callq 0x4f4c
leaq 0x38(%rsp), %r12
movq %r12, -0x10(%r12)
leaq 0x11a1(%rip), %rsi      # 0x75fb
leaq 0x11bb(%rip), %rdx      # 0x761c
leaq 0x28(%rsp), %rdi
callq 0x4f4c
leaq 0xc8(%rsp), %rdi
leaq 0x78(%rsp), %rdx
leaq 0x28(%rsp), %r9
movl $0x3, %esi
movl $0x63, %ecx
movl $0x3, %r8d
callq 0x5d3e
movq 0x28(%rsp), %rdi
cmpq %r12, %rdi
je 0x64a9
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x21a0
movq 0x78(%rsp), %rdi
cmpq %r15, %rdi
je 0x64c3
movq 0x88(%rsp), %rsi
incq %rsi
callq 0x21a0
leaq 0x28(%rsp), %rdi
movq %r12, (%rdi)
leaq 0x114b(%rip), %rsi      # 0x761d
leaq 0x114f(%rip), %rdx      # 0x7628
callq 0x4f4c
leaq 0x18(%rsp), %r15
movq %r15, -0x10(%r15)
leaq 0x113b(%rip), %rsi      # 0x7629
leaq 0x1173(%rip), %rdx      # 0x7668
leaq 0x8(%rsp), %rdi
callq 0x4f4c
leaq 0x78(%rsp), %rdi
leaq 0x28(%rsp), %rdx
leaq 0x8(%rsp), %r9
movl $0x4, %esi
movl $0x70, %ecx
movl $0x1, %r8d
callq 0x5d3e
movq 0x8(%rsp), %rdi
cmpq %r15, %rdi
je 0x653a
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x21a0
movq 0x28(%rsp), %rdi
cmpq %r12, %rdi
je 0x6551
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x21a0
leaq 0x8(%rsp), %rdi
movq %r15, (%rdi)
leaq 0x1109(%rip), %rsi      # 0x7669
leaq 0x1107(%rip), %rdx      # 0x766e
callq 0x4f4c
leaq 0x178(%rsp), %r12
movq %r12, -0x10(%r12)
leaq 0x10ef(%rip), %rsi      # 0x766f
leaq 0x1124(%rip), %rdx      # 0x76ab
leaq 0x168(%rsp), %rdi
callq 0x4f4c
leaq 0x28(%rsp), %rdi
leaq 0x8(%rsp), %rdx
leaq 0x168(%rsp), %r9
movl $0x5, %esi
movl $0x73, %ecx
xorl %r8d, %r8d
callq 0x5d3e
movq 0x168(%rsp), %rdi
cmpq %r12, %rdi
je 0x65d5
movq 0x178(%rsp), %rsi
incq %rsi
callq 0x21a0
movq 0x8(%rsp), %rdi
cmpq %r15, %rdi
je 0x65ec
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x21a0
leaq 0x1d8(%rsp), %rsi
movq %rbx, %rdi
callq 0x6a0c
leaq 0x188(%rsp), %rsi
movq %rbx, %rdi
callq 0x6a0c
leaq 0x118(%rsp), %rsi
movq %rbx, %rdi
callq 0x6a0c
leaq 0xc8(%rsp), %rsi
movq %rbx, %rdi
callq 0x6a0c
leaq 0x78(%rsp), %rsi
movq %rbx, %rdi
callq 0x6a0c
leaq 0x28(%rsp), %rsi
movq %rbx, %rdi
callq 0x6a0c
leaq 0x68(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x6661
movq 0x68(%rsp), %rsi
incq %rsi
callq 0x21a0
leaq 0x40(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x667c
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x21a0
leaq 0xb8(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x669d
movq 0xb8(%rsp), %rsi
incq %rsi
callq 0x21a0
leaq 0x90(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x66be
movq 0x90(%rsp), %rsi
incq %rsi
callq 0x21a0
leaq 0x108(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x66df
movq 0x108(%rsp), %rsi
incq %rsi
callq 0x21a0
leaq 0xe0(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x6700
movq 0xe0(%rsp), %rsi
incq %rsi
callq 0x21a0
leaq 0x158(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x6721
movq 0x158(%rsp), %rsi
incq %rsi
callq 0x21a0
leaq 0x130(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x6742
movq 0x130(%rsp), %rsi
incq %rsi
callq 0x21a0
leaq 0x1c8(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x6763
movq 0x1c8(%rsp), %rsi
incq %rsi
callq 0x21a0
leaq 0x1a0(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x6784
movq 0x1a0(%rsp), %rsi
incq %rsi
callq 0x21a0
leaq 0x218(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x67a5
movq 0x218(%rsp), %rsi
incq %rsi
callq 0x21a0
leaq 0x1f0(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x67c6
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 0x67fa
movq 0x178(%rsp), %rsi
incq %rsi
callq 0x21a0
jmp 0x67fa
movq %rax, %r14
movq 0x8(%rsp), %rdi
cmpq %r15, %rdi
je 0x69ac
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x21a0
jmp 0x69ac
movq %rax, %r14
jmp 0x69ac
movq %rax, %r14
movq 0x8(%rsp), %rdi
cmpq %r15, %rdi
je 0x6841
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x21a0
jmp 0x6841
movq %rax, %r14
movq 0x28(%rsp), %rdi
cmpq %r12, %rdi
je 0x69b6
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x21a0
jmp 0x69b6
movq %rax, %r14
jmp 0x69b6
movq %rax, %r14
movq 0x28(%rsp), %rdi
cmpq %r12, %rdi
je 0x6888
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x21a0
jmp 0x6888
movq %rax, %r14
movq 0x78(%rsp), %rdi
cmpq %r15, %rdi
je 0x69c3
movq 0x88(%rsp), %rsi
incq %rsi
callq 0x21a0
jmp 0x69c3
movq %rax, %r14
jmp 0x69c3
movq %rax, %r14
movq 0x78(%rsp), %rdi
cmpq %r15, %rdi
je 0x68d5
movq 0x88(%rsp), %rsi
incq %rsi
callq 0x21a0
jmp 0x68d5
movq %rax, %r14
movq 0xc8(%rsp), %rdi
cmpq %r12, %rdi
je 0x69d0
movq 0xd8(%rsp), %rsi
incq %rsi
callq 0x21a0
jmp 0x69d0
movq %rax, %r14
jmp 0x69d0
movq %rax, %r14
movq 0xc8(%rsp), %rdi
cmpq %r12, %rdi
je 0x6928
movq 0xd8(%rsp), %rsi
incq %rsi
callq 0x21a0
jmp 0x6928
movq %rax, %r14
movq 0x118(%rsp), %rdi
cmpq %r15, %rdi
je 0x69dd
movq 0x128(%rsp), %rsi
incq %rsi
callq 0x21a0
jmp 0x69dd
movq %rax, %r14
jmp 0x69dd
movq %rax, %r14
movq 0x118(%rsp), %rdi
cmpq %r15, %rdi
je 0x697b
movq 0x128(%rsp), %rsi
incq %rsi
callq 0x21a0
jmp 0x697b
movq %rax, %r14
movq 0x188(%rsp), %rdi
cmpq %r12, %rdi
je 0x69ea
movq 0x198(%rsp), %rsi
incq %rsi
callq 0x21a0
jmp 0x69ea
movq %rax, %r14
jmp 0x69ea
movq %rax, %r14
leaq 0x28(%rsp), %rdi
callq 0x6e68
leaq 0x78(%rsp), %rdi
callq 0x6e68
leaq 0xc8(%rsp), %rdi
callq 0x6e68
leaq 0x118(%rsp), %rdi
callq 0x6e68
leaq 0x188(%rsp), %rdi
callq 0x6e68
leaq 0x1d8(%rsp), %rdi
callq 0x6e68
movl $0x2d8, %r15d           # imm = 0x2D8
leaq (%rbx,%r15), %rdi
callq 0x6e68
addq $-0x50, %r15
cmpq $-0x48, %r15
jne 0x69f0
movq %r14, %rdi
callq 0x22e0
nop