// File: /workspace/github_cpp_makefile_star2_O1/massykezzoul[P]jeu-de-la-vie/configuration/configuration.cpp
// Function: extraire_cle_valeur(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>&)
bool extraire_cle_valeur(string ligne,string& cle,string& valeur) {
	ligne = nettoyer_ligne(ligne);
	/* trouver la clé */
	cle = get_chaine(ligne);
	/* Il faut vérifié que la clé est conforme */
	/* trouver les deux points */
	if (get_chaine(ligne,cle.size()) != ":") {
		cle = "";
		valeur = "";
		return false;
	} else {
		int debut = cle.size()+ 3;
		valeur = ligne.substr(debut,ligne.find_first_of(debut)-debut);
		/* il faut verifier que la valeur est correcte par rapport à la clé */
		if (verif_valeur(cle,valeur)) {
			return true;
		} else {
			cle = "";
			valeur = "";
			return false;
		}
	}
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xc8, %rsp
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, %r15
leaq 0xb8(%rsp), %r13
movq %r13, -0x10(%r13)
movq (%rdi), %rsi
movq 0x8(%rdi), %rdx
addq %rsi, %rdx
leaq 0xa8(%rsp), %r12
movq %r12, %rdi
callq 0x4ea6
leaq 0x8(%rsp), %rdi
movq %r12, %rsi
callq 0x51dc
leaq 0x8(%rsp), %r12
movq %r15, %rdi
movq %r12, %rsi
callq 0x21f0
movq (%r12), %rdi
leaq 0x18(%rsp), %rbp
cmpq %rbp, %rdi
je 0x56d8
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x21a0
movq 0xa8(%rsp), %rdi
cmpq %r13, %rdi
je 0x56f5
movq 0xb8(%rsp), %rsi
incq %rsi
callq 0x21a0
leaq 0x98(%rsp), %r13
movq %r13, -0x10(%r13)
movq (%r15), %rsi
movq 0x8(%r15), %rdx
addq %rsi, %rdx
leaq 0x88(%rsp), %r12
movq %r12, %rdi
callq 0x4ea6
leaq 0x8(%rsp), %rdi
movq %r12, %rsi
xorl %edx, %edx
callq 0x531c
leaq 0x8(%rsp), %r12
movq %r14, %rdi
movq %r12, %rsi
callq 0x21f0
movq (%r12), %rdi
cmpq %rbp, %rdi
je 0x5750
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x21a0
movq 0x88(%rsp), %rdi
cmpq %r13, %rdi
je 0x576d
movq 0x98(%rsp), %rsi
incq %rsi
callq 0x21a0
leaq 0x78(%rsp), %r13
movq %r13, -0x10(%r13)
movq (%r15), %rsi
movq 0x8(%r15), %rdx
addq %rsi, %rdx
leaq 0x68(%rsp), %r12
movq %r12, %rdi
callq 0x4ea6
movq 0x8(%r14), %rdx
leaq 0x8(%rsp), %rdi
movq %r12, %rsi
callq 0x531c
leaq 0x1d37(%rip), %rsi      # 0x74dc
leaq 0x8(%rsp), %r12
movq %r12, %rdi
callq 0x20a0
movl %eax, %ebp
movq (%r12), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x57cf
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x21a0
movq 0x68(%rsp), %rdi
cmpq %r13, %rdi
je 0x57e6
movq 0x78(%rsp), %rsi
incq %rsi
callq 0x21a0
movq 0x8(%r14), %rdx
testl %ebp, %ebp
je 0x57fd
leaq 0x18b5(%rip), %rcx      # 0x70aa
xorl %r15d, %r15d
jmp 0x58db
addl $0x3, %edx
movslq %edx, %r12
movsbl %r12b, %esi
movq %r15, %rdi
xorl %edx, %edx
callq 0x2220
subq %r12, %rax
leaq 0x8(%rsp), %r13
movq %r13, %rdi
movq %r15, %rsi
movq %r12, %rdx
movq %rax, %rcx
callq 0x21c0
movq %rbx, %rdi
movq %r13, %rsi
callq 0x21f0
movq (%r13), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x5850
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x21a0
leaq 0x58(%rsp), %r12
movq %r12, -0x10(%r12)
movq (%r14), %rsi
movq 0x8(%r14), %rdx
addq %rsi, %rdx
leaq 0x48(%rsp), %rdi
callq 0x4ea6
leaq 0x38(%rsp), %r13
movq %r13, -0x10(%r13)
movq (%rbx), %rsi
movq 0x8(%rbx), %rdx
addq %rsi, %rdx
leaq 0x28(%rsp), %rdi
callq 0x4ea6
leaq 0x48(%rsp), %rdi
leaq 0x28(%rsp), %rsi
callq 0x5370
movl %eax, %r15d
movq 0x28(%rsp), %rdi
cmpq %r13, %rdi
je 0x58b4
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x21a0
movq 0x48(%rsp), %rdi
cmpq %r12, %rdi
je 0x58cb
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x21a0
testb %r15b, %r15b
jne 0x5900
movq 0x8(%r14), %rdx
leaq 0x17cf(%rip), %rcx      # 0x70aa
movq %r14, %rdi
xorl %esi, %esi
xorl %r8d, %r8d
callq 0x2290
movq 0x8(%rbx), %rdx
leaq 0x17b7(%rip), %rcx      # 0x70aa
movq %rbx, %rdi
xorl %esi, %esi
xorl %r8d, %r8d
callq 0x2290
movl %r15d, %eax
addq $0xc8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq 0x28(%rsp), %rdi
cmpq %r13, %rdi
je 0x5934
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x21a0
jmp 0x5934
movq %rax, %rbx
movq 0x48(%rsp), %rdi
cmpq %r12, %rdi
je 0x5993
movq 0x58(%rsp), %rsi
jmp 0x598b
movq %rax, %rbx
movq 0x68(%rsp), %rdi
cmpq %r13, %rdi
je 0x5993
movq 0x78(%rsp), %rsi
jmp 0x598b
movq %rax, %rbx
movq 0x88(%rsp), %rdi
cmpq %r13, %rdi
je 0x5993
movq 0x98(%rsp), %rsi
jmp 0x598b
movq %rax, %rbx
movq 0xa8(%rsp), %rdi
cmpq %r13, %rdi
je 0x5993
movq 0xb8(%rsp), %rsi
incq %rsi
callq 0x21a0
movq %rbx, %rdi
callq 0x22e0