// File: /workspace/github_c_makefile_star2_O0/iciamyplant[P]Cub3d-Linux/src/raycasting.c
// Function: ft_get_texture
void	ft_get_texture(t_recup *recup)
{
	if (!(recup->texture[0].img = mlx_xpm_file_to_image(recup->data.mlx_ptr,
					recup->no, &(recup->texture[0].width),
					&(recup->texture[0].height))))
		ft_error(recup, "Texture SO\n");
	if (!(recup->texture[1].img = mlx_xpm_file_to_image(recup->data.mlx_ptr,
					recup->so, &(recup->texture[1].width),
					&(recup->texture[1].height))))
		ft_error(recup, "Texture NO\n");
	if (!(recup->texture[2].img = mlx_xpm_file_to_image(recup->data.mlx_ptr,
					recup->we, &(recup->texture[2].width),
					&(recup->texture[2].height))))
		ft_error(recup, "Texture EA\n");
	if (!(recup->texture[3].img = mlx_xpm_file_to_image(recup->data.mlx_ptr,
					recup->ea, &(recup->texture[3].width),
					&(recup->texture[3].height))))
		ft_error(recup, "Texture WE\n");
	if (!(recup->texture[4].img = mlx_xpm_file_to_image(recup->data.mlx_ptr,
					recup->sp, &(recup->texture[4].width),
					&(recup->texture[4].height))))
		ft_error(recup, "Texture S\n");
	ft_get_texture_adress(recup);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rax
movq 0x278(%rax), %rdi
movq -0x8(%rbp), %rax
movq 0x18(%rax), %rsi
movq -0x8(%rbp), %rdx
addq $0x98, %rdx
addq $0x48, %rdx
movq -0x8(%rbp), %rcx
addq $0x98, %rcx
addq $0x4c, %rcx
callq 0xe7a0
movq -0x8(%rbp), %rcx
movq %rax, 0xa8(%rcx)
cmpq $0x0, %rax
jne 0xa8b3
movq -0x8(%rbp), %rdi
leaq 0x585a(%rip), %rsi      # 0x10108
callq 0xb730
movq -0x8(%rbp), %rax
movq 0x278(%rax), %rdi
movq -0x8(%rbp), %rax
movq 0x20(%rax), %rsi
movq -0x8(%rbp), %rdx
addq $0x98, %rdx
addq $0x60, %rdx
addq $0x48, %rdx
movq -0x8(%rbp), %rcx
addq $0x98, %rcx
addq $0x60, %rcx
addq $0x4c, %rcx
callq 0xe7a0
movq -0x8(%rbp), %rcx
movq %rax, 0x108(%rcx)
cmpq $0x0, %rax
jne 0xa912
movq -0x8(%rbp), %rdi
leaq 0x5807(%rip), %rsi      # 0x10114
callq 0xb730
movq -0x8(%rbp), %rax
movq 0x278(%rax), %rdi
movq -0x8(%rbp), %rax
movq 0x28(%rax), %rsi
movq -0x8(%rbp), %rdx
addq $0x98, %rdx
addq $0xc0, %rdx
addq $0x48, %rdx
movq -0x8(%rbp), %rcx
addq $0x98, %rcx
addq $0xc0, %rcx
addq $0x4c, %rcx
callq 0xe7a0
movq -0x8(%rbp), %rcx
movq %rax, 0x168(%rcx)
cmpq $0x0, %rax
jne 0xa977
movq -0x8(%rbp), %rdi
leaq 0x57ae(%rip), %rsi      # 0x10120
callq 0xb730
movq -0x8(%rbp), %rax
movq 0x278(%rax), %rdi
movq -0x8(%rbp), %rax
movq 0x30(%rax), %rsi
movq -0x8(%rbp), %rdx
addq $0x98, %rdx
addq $0x120, %rdx            # imm = 0x120
addq $0x48, %rdx
movq -0x8(%rbp), %rcx
addq $0x98, %rcx
addq $0x120, %rcx            # imm = 0x120
addq $0x4c, %rcx
callq 0xe7a0
movq -0x8(%rbp), %rcx
movq %rax, 0x1c8(%rcx)
cmpq $0x0, %rax
jne 0xa9dc
movq -0x8(%rbp), %rdi
leaq 0x5755(%rip), %rsi      # 0x1012c
callq 0xb730
movq -0x8(%rbp), %rax
movq 0x278(%rax), %rdi
movq -0x8(%rbp), %rax
movq 0x38(%rax), %rsi
movq -0x8(%rbp), %rdx
addq $0x98, %rdx
addq $0x180, %rdx            # imm = 0x180
addq $0x48, %rdx
movq -0x8(%rbp), %rcx
addq $0x98, %rcx
addq $0x180, %rcx            # imm = 0x180
addq $0x4c, %rcx
callq 0xe7a0
movq -0x8(%rbp), %rcx
movq %rax, 0x228(%rcx)
cmpq $0x0, %rax
jne 0xaa41
movq -0x8(%rbp), %rdi
leaq 0x56fc(%rip), %rsi      # 0x10138
callq 0xb730
movq -0x8(%rbp), %rdi
callq 0xa670
addq $0x10, %rsp
popq %rbp
retq