// File: /workspace/github_c_makefile_star2_O0/iciamyplant[P]Cub3d-Linux/src/parsing_color_resolution_texture.c
// Function: ft_color_resolution
void	ft_color_resolution(char **str, t_recup *recup)
{
	int			i;

	i = 0;
	recup->i = 1;
	if (recup->sizeline > 0 && (recup->no == NULL || recup->so == NULL ||
				recup->we == NULL || recup->ea == NULL || recup->sp == NULL))
		recup->erreur = 2;
	if ((recup->no != NULL || recup->so != NULL || recup->we != NULL ||
				recup->ea != NULL || recup->sp != NULL) && (recup->rx == 0
				|| recup->ry == 0))
		recup->erreur = 2;
	if (*str[i] == 'R')
	{
		if (recup->rx != 0 && recup->ry != 0)
			recup->erreur = 2;
		recup->rx = ft_atoi2(*str, recup);
		recup->ry = ft_atoi2(*str, recup);
		if (ft_atoi2(*str, recup) > 0 || recup->rx == 0 || recup->ry == 0)
			recup->erreur = 2;
	}
	else if (*str[i] == 'F')
		recup->f = ft_atoi3(*str, recup);
	else if (*str[i] == 'C')
		recup->c = ft_atoi3(*str, recup);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movl $0x0, -0x14(%rbp)
movq -0x10(%rbp), %rax
movl $0x1, 0x8(%rax)
movq -0x10(%rbp), %rax
cmpl $0x0, 0x44(%rax)
jle 0x817e
movq -0x10(%rbp), %rax
cmpq $0x0, 0x18(%rax)
je 0x8173
movq -0x10(%rbp), %rax
cmpq $0x0, 0x20(%rax)
je 0x8173
movq -0x10(%rbp), %rax
cmpq $0x0, 0x28(%rax)
je 0x8173
movq -0x10(%rbp), %rax
cmpq $0x0, 0x30(%rax)
je 0x8173
movq -0x10(%rbp), %rax
cmpq $0x0, 0x38(%rax)
jne 0x817e
movq -0x10(%rbp), %rax
movl $0x2, 0x74(%rax)
movq -0x10(%rbp), %rax
cmpq $0x0, 0x18(%rax)
jne 0x81b5
movq -0x10(%rbp), %rax
cmpq $0x0, 0x20(%rax)
jne 0x81b5
movq -0x10(%rbp), %rax
cmpq $0x0, 0x28(%rax)
jne 0x81b5
movq -0x10(%rbp), %rax
cmpq $0x0, 0x30(%rax)
jne 0x81b5
movq -0x10(%rbp), %rax
cmpq $0x0, 0x38(%rax)
je 0x81d3
movq -0x10(%rbp), %rax
cmpl $0x0, (%rax)
je 0x81c8
movq -0x10(%rbp), %rax
cmpl $0x0, 0x4(%rax)
jne 0x81d3
movq -0x10(%rbp), %rax
movl $0x2, 0x74(%rax)
movq -0x8(%rbp), %rax
movslq -0x14(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movsbl (%rax), %eax
cmpl $0x52, %eax
jne 0x826f
movq -0x10(%rbp), %rax
cmpl $0x0, (%rax)
je 0x8209
movq -0x10(%rbp), %rax
cmpl $0x0, 0x4(%rax)
je 0x8209
movq -0x10(%rbp), %rax
movl $0x2, 0x74(%rax)
movq -0x8(%rbp), %rax
movq (%rax), %rdi
movq -0x10(%rbp), %rsi
callq 0x7940
movl %eax, %ecx
movq -0x10(%rbp), %rax
movl %ecx, (%rax)
movq -0x8(%rbp), %rax
movq (%rax), %rdi
movq -0x10(%rbp), %rsi
callq 0x7940
movl %eax, %ecx
movq -0x10(%rbp), %rax
movl %ecx, 0x4(%rax)
movq -0x8(%rbp), %rax
movq (%rax), %rdi
movq -0x10(%rbp), %rsi
callq 0x7940
cmpl $0x0, %eax
jg 0x8262
movq -0x10(%rbp), %rax
cmpl $0x0, (%rax)
je 0x8262
movq -0x10(%rbp), %rax
cmpl $0x0, 0x4(%rax)
jne 0x826d
movq -0x10(%rbp), %rax
movl $0x2, 0x74(%rax)
jmp 0x82cf
movq -0x8(%rbp), %rax
movslq -0x14(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movsbl (%rax), %eax
cmpl $0x46, %eax
jne 0x829e
movq -0x8(%rbp), %rax
movq (%rax), %rdi
movq -0x10(%rbp), %rsi
callq 0x7b60
movl %eax, %ecx
movq -0x10(%rbp), %rax
movl %ecx, 0xc(%rax)
jmp 0x82cd
movq -0x8(%rbp), %rax
movslq -0x14(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movsbl (%rax), %eax
cmpl $0x43, %eax
jne 0x82cb
movq -0x8(%rbp), %rax
movq (%rax), %rdi
movq -0x10(%rbp), %rsi
callq 0x7b60
movl %eax, %ecx
movq -0x10(%rbp), %rax
movl %ecx, 0x10(%rax)
jmp 0x82cd
jmp 0x82cf
addq $0x20, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)
nop