// File: /workspace/github_c_makefile_star2_O0/iciamyplant[P]Cub3d-Linux/src/raycasting.c
// Function: ft_mlx
int		ft_mlx(t_recup *recup)
{
	ft_initialisation2(recup);
	if (!(recup->data.mlx_ptr = mlx_init()))
		ft_error(recup, "Mlx init impossible\n");
	mlx_get_screen_size(recup->data.mlx_ptr, &recup->screenx, &recup->screeny);
	recup->rx = (recup->rx > recup->screenx) ? recup->screenx : recup->rx;
	recup->ry = (recup->ry > recup->screeny) ? recup->screeny : recup->ry;
	ft_get_texture(recup);
	recup->data.img = mlx_new_image(recup->data.mlx_ptr, recup->rx, recup->ry);
	recup->data.addr = (int *)mlx_get_data_addr(recup->data.img, &recup->data.
			bits_per_pixel, &recup->data.line_length, &recup->data.endian);
	if (recup->save == 1)
		ft_raycasting(recup);
	recup->data.mlx_win = mlx_new_window(recup->data.mlx_ptr, recup->rx,
			recup->ry, "Hello world!");
	recup->data.img2 = mlx_new_image(recup->data.mlx_ptr, recup->rx, recup->ry);
	recup->data.addr2 = (int *)mlx_get_data_addr(recup->data.img2, &recup->
			data.bits_per_pixel, &recup->data.line_length, &recup->data.endian);
	mlx_hook(recup->data.mlx_win, 33, 1L << 17, ft_exit, recup);
	mlx_hook(recup->data.mlx_win, 2, 1L << 0, ft_key_press, recup);
	mlx_loop_hook(recup->data.mlx_ptr, ft_raycasting, recup);
	mlx_hook(recup->data.mlx_win, 3, 1L << 1, ft_key_release, recup);
	mlx_loop(recup->data.mlx_ptr);
	return (0);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rdi
callq 0x9030
movb $0x0, %al
callq 0xcb00
movq -0x8(%rbp), %rcx
movq %rax, 0x278(%rcx)
cmpq $0x0, %rax
jne 0xab8d
movq -0x8(%rbp), %rdi
leaq 0x55bb(%rip), %rsi      # 0x10143
callq 0xb730
movq -0x8(%rbp), %rax
movq 0x278(%rax), %rdi
movq -0x8(%rbp), %rsi
addq $0x6c, %rsi
movq -0x8(%rbp), %rdx
addq $0x70, %rdx
callq 0xf190
movq -0x8(%rbp), %rax
movl (%rax), %eax
movq -0x8(%rbp), %rcx
cmpl 0x6c(%rcx), %eax
jle 0xabc8
movq -0x8(%rbp), %rax
movl 0x6c(%rax), %eax
movl %eax, -0xc(%rbp)
jmp 0xabd1
movq -0x8(%rbp), %rax
movl (%rax), %eax
movl %eax, -0xc(%rbp)
movl -0xc(%rbp), %ecx
movq -0x8(%rbp), %rax
movl %ecx, (%rax)
movq -0x8(%rbp), %rax
movl 0x4(%rax), %eax
movq -0x8(%rbp), %rcx
cmpl 0x70(%rcx), %eax
jle 0xabf6
movq -0x8(%rbp), %rax
movl 0x70(%rax), %eax
movl %eax, -0x10(%rbp)
jmp 0xac00
movq -0x8(%rbp), %rax
movl 0x4(%rax), %eax
movl %eax, -0x10(%rbp)
movl -0x10(%rbp), %ecx
movq -0x8(%rbp), %rax
movl %ecx, 0x4(%rax)
movq -0x8(%rbp), %rdi
callq 0xa850
movq -0x8(%rbp), %rax
movq 0x278(%rax), %rdi
movq -0x8(%rbp), %rax
movl (%rax), %esi
movq -0x8(%rbp), %rax
movl 0x4(%rax), %edx
callq 0xd590
movq %rax, %rcx
movq -0x8(%rbp), %rax
movq %rcx, 0x288(%rax)
movq -0x8(%rbp), %rax
movq 0x288(%rax), %rdi
movq -0x8(%rbp), %rsi
addq $0x278, %rsi            # imm = 0x278
addq $0x20, %rsi
movq -0x8(%rbp), %rdx
addq $0x278, %rdx            # imm = 0x278
addq $0x24, %rdx
movq -0x8(%rbp), %rcx
addq $0x278, %rcx            # imm = 0x278
addq $0x28, %rcx
callq 0xd810
movq %rax, %rcx
movq -0x8(%rbp), %rax
movq %rcx, 0x290(%rax)
movq -0x8(%rbp), %rax
cmpl $0x1, 0x68(%rax)
jne 0xac9c
movq -0x8(%rbp), %rdi
callq 0xaa50
movq -0x8(%rbp), %rax
movq 0x278(%rax), %rdi
movq -0x8(%rbp), %rax
movl (%rax), %esi
movq -0x8(%rbp), %rax
movl 0x4(%rax), %edx
leaq 0x549d(%rip), %rcx      # 0x10158
callq 0xce00
movq %rax, %rcx
movq -0x8(%rbp), %rax
movq %rcx, 0x280(%rax)
movq -0x8(%rbp), %rax
movq 0x278(%rax), %rdi
movq -0x8(%rbp), %rax
movl (%rax), %esi
movq -0x8(%rbp), %rax
movl 0x4(%rax), %edx
callq 0xd590
movq %rax, %rcx
movq -0x8(%rbp), %rax
movq %rcx, 0x2c8(%rax)
movq -0x8(%rbp), %rax
movq 0x2c8(%rax), %rdi
movq -0x8(%rbp), %rsi
addq $0x278, %rsi            # imm = 0x278
addq $0x20, %rsi
movq -0x8(%rbp), %rdx
addq $0x278, %rdx            # imm = 0x278
addq $0x24, %rdx
movq -0x8(%rbp), %rcx
addq $0x278, %rcx            # imm = 0x278
addq $0x28, %rcx
callq 0xd810
movq %rax, %rcx
movq -0x8(%rbp), %rax
movq %rcx, 0x2d0(%rax)
movq -0x8(%rbp), %rax
movq 0x280(%rax), %rdi
movq -0x8(%rbp), %r8
movl $0x21, %esi
movl $0x20000, %edx          # imm = 0x20000
leaq 0xb9c(%rip), %rcx       # 0xb900
callq 0xf0b0
movq -0x8(%rbp), %rax
movq 0x280(%rax), %rdi
movq -0x8(%rbp), %r8
movl $0x2, %esi
movl $0x1, %edx
leaq -0x22f9(%rip), %rcx     # 0x8a90
callq 0xf0b0
movq -0x8(%rbp), %rax
movq 0x278(%rax), %rdi
movq -0x8(%rbp), %rdx
leaq -0x354(%rip), %rsi      # 0xaa50
callq 0xd070
movq -0x8(%rbp), %rax
movq 0x280(%rax), %rdi
movq -0x8(%rbp), %r8
movl $0x3, %esi
movl $0x2, %edx
leaq -0x2269(%rip), %rcx     # 0x8b60
callq 0xf0b0
movq -0x8(%rbp), %rax
movq 0x278(%rax), %rdi
callq 0xcf70
xorl %eax, %eax
addq $0x10, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)