// File: 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
movq %rsp, %rbp
subq $0x1b0, %rsp            # imm = 0x1B0
movq %rsi, %rax
movq %rdi, %rsi
movq %rsi, -0x168(%rbp)
movq %rsi, -0x10(%rbp)
movq %rax, -0x18(%rbp)
movq %rdx, -0x20(%rbp)
leaq -0x60(%rbp), %rdi
movq %rdi, -0x160(%rbp)
callq 0x3110
movq -0x160(%rbp), %rsi
leaq -0x40(%rbp), %rdi
callq 0x74d0
jmp 0x7cc6
movq -0x168(%rbp), %rdi
leaq -0x40(%rbp), %rsi
movq %rsi, -0x178(%rbp)
callq 0x32e0
movq -0x178(%rbp), %rdi
callq 0x3160
leaq -0x60(%rbp), %rdi
callq 0x3160
movq -0x168(%rbp), %rsi
leaq -0xb0(%rbp), %rdi
movq %rdi, -0x170(%rbp)
callq 0x3110
movq -0x170(%rbp), %rsi
xorl %eax, %eax
movl %eax, %edx
leaq -0x90(%rbp), %rdi
callq 0x7770
jmp 0x7d25
movq -0x18(%rbp), %rdi
leaq -0x90(%rbp), %rsi
movq %rsi, -0x188(%rbp)
callq 0x32e0
movq -0x188(%rbp), %rdi
callq 0x3160
leaq -0xb0(%rbp), %rdi
callq 0x3160
movq -0x168(%rbp), %rsi
leaq -0xf0(%rbp), %rdi
movq %rdi, -0x180(%rbp)
callq 0x3110
movq -0x18(%rbp), %rdi
callq 0x3190
movq -0x180(%rbp), %rsi
movq %rax, %rdx
leaq -0xd0(%rbp), %rdi
callq 0x7770
jmp 0x7d8f
leaq 0x274e(%rip), %rsi      # 0xa4e4
leaq -0xd0(%rbp), %rdi
callq 0x6b10
movb %al, -0x189(%rbp)
jmp 0x7daa
leaq -0xd0(%rbp), %rdi
callq 0x3160
leaq -0xf0(%rbp), %rdi
callq 0x3160
movb -0x189(%rbp), %al
testb $0x1, %al
jne 0x7dd1
jmp 0x7e68
movq -0x18(%rbp), %rdi
leaq 0x22d6(%rip), %rsi      # 0xa0b2
callq 0x3340
movq -0x20(%rbp), %rdi
leaq 0x22c6(%rip), %rsi      # 0xa0b2
callq 0x3340
movb $0x0, -0x1(%rbp)
jmp 0x7fa4
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x68(%rbp)
movl %eax, -0x6c(%rbp)
leaq -0x60(%rbp), %rdi
callq 0x3160
jmp 0x7fb2
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x68(%rbp)
movl %eax, -0x6c(%rbp)
leaq -0xb0(%rbp), %rdi
callq 0x3160
jmp 0x7fb2
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x68(%rbp)
movl %eax, -0x6c(%rbp)
jmp 0x7e57
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x68(%rbp)
movl %eax, -0x6c(%rbp)
leaq -0xd0(%rbp), %rdi
callq 0x3160
leaq -0xf0(%rbp), %rdi
callq 0x3160
jmp 0x7fb2
movq -0x18(%rbp), %rdi
callq 0x3190
movq -0x168(%rbp), %rdi
addl $0x3, %eax
movl %eax, -0xf4(%rbp)
movslq -0xf4(%rbp), %rax
movq %rax, -0x1a0(%rbp)
movsbl %al, %esi
xorl %eax, %eax
movl %eax, %edx
callq 0x3170
movq -0x168(%rbp), %rsi
movq -0x1a0(%rbp), %rdx
movq %rax, %rcx
movslq -0xf4(%rbp), %rax
subq %rax, %rcx
leaq -0x118(%rbp), %rdi
movq %rdi, -0x198(%rbp)
callq 0x3260
movq -0x198(%rbp), %rsi
movq -0x20(%rbp), %rdi
callq 0x32e0
movq -0x198(%rbp), %rdi
callq 0x3160
movq -0x18(%rbp), %rsi
leaq -0x138(%rbp), %rdi
callq 0x3110
movq -0x20(%rbp), %rsi
leaq -0x158(%rbp), %rdi
callq 0x3110
jmp 0x7f07
leaq -0x138(%rbp), %rdi
leaq -0x158(%rbp), %rsi
callq 0x7800
movb %al, -0x1a1(%rbp)
jmp 0x7f22
leaq -0x158(%rbp), %rdi
callq 0x3160
leaq -0x138(%rbp), %rdi
callq 0x3160
movb -0x1a1(%rbp), %al
testb $0x1, %al
jne 0x7f46
jmp 0x7f80
movb $0x1, -0x1(%rbp)
jmp 0x7fa4
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x68(%rbp)
movl %eax, -0x6c(%rbp)
jmp 0x7f72
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x68(%rbp)
movl %eax, -0x6c(%rbp)
leaq -0x158(%rbp), %rdi
callq 0x3160
leaq -0x138(%rbp), %rdi
callq 0x3160
jmp 0x7fb2
movq -0x18(%rbp), %rdi
leaq 0x2127(%rip), %rsi      # 0xa0b2
callq 0x3340
movq -0x20(%rbp), %rdi
leaq 0x2117(%rip), %rsi      # 0xa0b2
callq 0x3340
movb $0x0, -0x1(%rbp)
movb -0x1(%rbp), %al
andb $0x1, %al
addq $0x1b0, %rsp            # imm = 0x1B0
popq %rbp
retq
movq -0x68(%rbp), %rdi
callq 0x33f0
nopl (%rax,%rax)