// File: /workspace/github_c_makefile_star2_O0/florianne1212[P]Cub3D_42/srcs/graph.c
// Function: ft_graph
void			ft_graph(t_args argy, t_map mapy)
{
	t_mlx_coord	xco;
	t_img_coord	imgco;

	xco.mlx = mlx_init();
	argy = check_resolution(argy, xco);
	imgco.argi = argy;
	imgco = init_imgco(imgco, mapy);
	if (argy.save == 0)
		xco.mlx_win = mlx_new_window(xco.mlx, argy.reso_x, argy.reso_y, "cub");
	imgco.key = init_key();
	imgco.img = init_img(xco, argy);
	imgco.mlx = xco;
	imgco.text_sp = load_sprite(&imgco);
	imgco = *load_textures(&imgco);
	if (!(imgco.calc = malloc(sizeof(t_calc_sprite))))
		return ;
	if (!(imgco.buf_sprit = malloc(sizeof(double) * imgco.argi.reso_x)))
		return ;
	imgco = manage_3d(&imgco);
	save(&imgco);
	mlx_hook(imgco.mlx.mlx_win, 2, 1L << 0, key_pressed, &imgco);
	mlx_hook(imgco.mlx.mlx_win, 3, 1L << 1, key_released, &imgco);
	mlx_hook(imgco.mlx.mlx_win, 33, 1L << 17, stop_all, &imgco);
	mlx_loop_hook(xco.mlx, &my_loop, &imgco);
	mlx_loop(xco.mlx);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x880, %rsp            # imm = 0x880
leaq 0x98(%rbp), %rax
movq %rax, -0x670(%rbp)
leaq 0x10(%rbp), %rax
movq %rax, -0x668(%rbp)
movb $0x0, %al
callq 0xf1d0
movq -0x668(%rbp), %rsi
movq %rax, -0x20(%rbp)
movq %rsp, %rax
movl $0x11, %ecx
movq %rax, %rdi
rep  movsq (%rsi), %es:(%rdi)
movups -0x20(%rbp), %xmm0
movups -0x10(%rbp), %xmm1
movups %xmm1, 0x98(%rax)
movups %xmm0, 0x88(%rax)
leaq -0x290(%rbp), %rdi
callq 0xc380
movq -0x668(%rbp), %rdi
leaq -0x290(%rbp), %rsi
movl $0x88, %edx
callq 0x7400
movq -0x668(%rbp), %rsi
leaq -0x208(%rbp), %rdi
addq $0x138, %rdi            # imm = 0x138
movl $0x88, %edx
callq 0x7400
movq %rsp, %rax
movl $0x3d, %ecx
leaq -0x208(%rbp), %rsi
movq %rax, %rdi
rep  movsq (%rsi), %es:(%rdi)
movq -0x670(%rbp), %rcx
movq 0x20(%rcx), %rdx
movq %rdx, 0x208(%rax)
movups (%rcx), %xmm0
movups 0x10(%rcx), %xmm1
movups %xmm1, 0x1f8(%rax)
movups %xmm0, 0x1e8(%rax)
leaq -0x478(%rbp), %rdi
callq 0xd950
leaq -0x208(%rbp), %rdi
leaq -0x478(%rbp), %rsi
movl $0x1e8, %edx            # imm = 0x1E8
callq 0x7400
movq -0x668(%rbp), %rax
cmpl $0x0, 0x6c(%rax)
jne 0x8ebb
movq -0x668(%rbp), %rax
movq -0x20(%rbp), %rdi
movl 0x8(%rax), %esi
movl 0xc(%rax), %edx
leaq 0x9555(%rip), %rcx      # 0x12407
callq 0xf4d0
movq %rax, -0x18(%rbp)
callq 0x8b90
movq -0x668(%rbp), %rsi
movq %rax, -0x130(%rbp)
movq %rsp, %rax
movq %rax, %rdi
addq $0x20, %rdi
movl $0x11, %ecx
rep  movsq (%rsi), %es:(%rdi)
movups -0x20(%rbp), %xmm0
movups -0x10(%rbp), %xmm1
movups %xmm1, 0x10(%rax)
movups %xmm0, (%rax)
callq 0x8cf0
movq %rax, -0xd8(%rbp)
movq -0x20(%rbp), %rax
movq %rax, -0xf8(%rbp)
movq -0x18(%rbp), %rax
movq %rax, -0xf0(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0xe8(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0xe0(%rbp)
leaq -0x208(%rbp), %rdi
callq 0xa880
movq %rax, -0x128(%rbp)
leaq -0x208(%rbp), %rdi
callq 0xa300
movq %rax, %rsi
leaq -0x208(%rbp), %rdi
movl $0x1e8, %edx            # imm = 0x1E8
callq 0x7400
movl $0x48, %edi
callq 0x7100
movq %rax, -0x120(%rbp)
cmpq $0x0, %rax
jne 0x8f76
jmp 0x905b
movslq -0xc8(%rbp), %rdi
shlq $0x3, %rdi
callq 0x7100
movq %rax, -0x148(%rbp)
cmpq $0x0, %rax
jne 0x8f98
jmp 0x905b
leaq -0x660(%rbp), %rdi
leaq -0x208(%rbp), %rsi
callq 0xd3d0
leaq -0x208(%rbp), %rdi
leaq -0x660(%rbp), %rsi
movl $0x1e8, %edx            # imm = 0x1E8
callq 0x7400
leaq -0x208(%rbp), %rdi
callq 0x84c0
movq -0xf0(%rbp), %rdi
movl $0x2, %esi
movl $0x1, %edx
leaq 0x2e9(%rip), %rcx       # 0x92d0
leaq -0x208(%rbp), %r8
callq 0x116f0
movq -0xf0(%rbp), %rdi
movl $0x3, %esi
movl $0x2, %edx
leaq 0x395(%rip), %rcx       # 0x93a0
leaq -0x208(%rbp), %r8
callq 0x116f0
movq -0xf0(%rbp), %rdi
movl $0x21, %esi
movl $0x20000, %edx          # imm = 0x20000
leaq 0x271(%rip), %rcx       # 0x92a0
leaq -0x208(%rbp), %r8
callq 0x116f0
movq -0x20(%rbp), %rdi
leaq -0x436(%rip), %rsi      # 0x8c10
leaq -0x208(%rbp), %rdx
callq 0xf740
movq -0x20(%rbp), %rdi
callq 0xf640
addq $0x880, %rsp            # imm = 0x880
popq %rbp
retq
nopw %cs:(%rax,%rax)
nop