// File: /workspace/github_c_makefile_star2_O1/WalterLuong[P]push_swap/srcs/push_swap/sort_five_hundred.c
// Function: init_chunks_fh
void	init_chunks_fh(t_chunk_fh *ch, t_list *la)
{
	ch->chunk1 = ft_lstsize(la) / 15;
	ch->chunk2 = 2 * (ft_lstsize(la) / 15);
	ch->chunk3 = 3 * (ft_lstsize(la) / 15);
	ch->chunk4 = 4 * (ft_lstsize(la) / 15);
	ch->chunk5 = 5 * (ft_lstsize(la) / 15);
	ch->chunk6 = 6 * (ft_lstsize(la) / 15);
	ch->chunk7 = 7 * (ft_lstsize(la) / 15);
	ch->chunk8 = 8 * (ft_lstsize(la) / 15);
	ch->chunk9 = 9 * (ft_lstsize(la) / 15);
	ch->chunk10 = 10 * (ft_lstsize(la) / 15);
	ch->chunk11 = 11 * (ft_lstsize(la) / 15);
	ch->chunk12 = 12 * (ft_lstsize(la) / 15);
	ch->chunk13 = 13 * (ft_lstsize(la) / 15);
	ch->chunk14 = 14 * (ft_lstsize(la) / 15);
	ch->chunk15 = ft_lstsize(la) - 2;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %r14
movq %rdi, %rbx
movq %rsi, %rdi
callq 0x33b1
cltq
imulq $-0x77777777, %rax, %rcx # imm = 0x88888889
shrq $0x20, %rcx
addl %ecx, %eax
movl %eax, %ecx
shrl $0x1f, %ecx
sarl $0x3, %eax
addl %ecx, %eax
movl %eax, (%rbx)
movq %r14, %rdi
callq 0x33b1
cltq
imulq $-0x77777777, %rax, %rcx # imm = 0x88888889
shrq $0x20, %rcx
addl %ecx, %eax
movl %eax, %ecx
shrl $0x1f, %ecx
sarl $0x3, %eax
addl %ecx, %eax
addl %eax, %eax
movl %eax, 0x4(%rbx)
movq %r14, %rdi
callq 0x33b1
cltq
imulq $-0x77777777, %rax, %rcx # imm = 0x88888889
shrq $0x20, %rcx
addl %ecx, %eax
movl %eax, %ecx
shrl $0x1f, %ecx
sarl $0x3, %eax
addl %ecx, %eax
leal (%rax,%rax,2), %eax
movl %eax, 0x8(%rbx)
movq %r14, %rdi
callq 0x33b1
cltq
imulq $-0x77777777, %rax, %rcx # imm = 0x88888889
shrq $0x20, %rcx
addl %ecx, %eax
movl %eax, %ecx
shrl $0x1f, %ecx
sarl $0x3, %eax
addl %ecx, %eax
shll $0x2, %eax
movl %eax, 0xc(%rbx)
movq %r14, %rdi
callq 0x33b1
cltq
imulq $-0x77777777, %rax, %rcx # imm = 0x88888889
shrq $0x20, %rcx
addl %ecx, %eax
movl %eax, %ecx
shrl $0x1f, %ecx
sarl $0x3, %eax
addl %ecx, %eax
leal (%rax,%rax,4), %eax
movl %eax, 0x10(%rbx)
movq %r14, %rdi
callq 0x33b1
cltq
imulq $-0x77777777, %rax, %rcx # imm = 0x88888889
shrq $0x20, %rcx
addl %ecx, %eax
movl %eax, %ecx
shrl $0x1f, %ecx
sarl $0x3, %eax
addl %ecx, %eax
addl %eax, %eax
leal (%rax,%rax,2), %eax
movl %eax, 0x14(%rbx)
movq %r14, %rdi
callq 0x33b1
cltq
imulq $-0x77777777, %rax, %rcx # imm = 0x88888889
shrq $0x20, %rcx
addl %ecx, %eax
movl %eax, %ecx
shrl $0x1f, %ecx
sarl $0x3, %eax
addl %ecx, %eax
leal (,%rax,8), %ecx
subl %eax, %ecx
movl %ecx, 0x18(%rbx)
movq %r14, %rdi
callq 0x33b1
cltq
imulq $-0x77777777, %rax, %rcx # imm = 0x88888889
shrq $0x20, %rcx
addl %ecx, %eax
movl %eax, %ecx
shrl $0x1f, %ecx
shrl $0x3, %eax
addl %ecx, %eax
shll $0x3, %eax
movl %eax, 0x1c(%rbx)
movq %r14, %rdi
callq 0x33b1
cltq
imulq $-0x77777777, %rax, %rcx # imm = 0x88888889
shrq $0x20, %rcx
addl %ecx, %eax
movl %eax, %ecx
shrl $0x1f, %ecx
sarl $0x3, %eax
addl %ecx, %eax
leal (%rax,%rax,8), %eax
movl %eax, 0x20(%rbx)
movq %r14, %rdi
callq 0x33b1
cltq
imulq $-0x77777777, %rax, %rcx # imm = 0x88888889
shrq $0x20, %rcx
addl %ecx, %eax
movl %eax, %ecx
shrl $0x1f, %ecx
sarl $0x3, %eax
addl %ecx, %eax
addl %eax, %eax
leal (%rax,%rax,4), %eax
movl %eax, 0x24(%rbx)
movq %r14, %rdi
callq 0x33b1
cltq
imulq $-0x77777777, %rax, %rcx # imm = 0x88888889
shrq $0x20, %rcx
addl %ecx, %eax
movl %eax, %ecx
shrl $0x1f, %ecx
sarl $0x3, %eax
addl %ecx, %eax
leal (%rax,%rax,4), %ecx
leal (%rax,%rcx,2), %eax
movl %eax, 0x28(%rbx)
movq %r14, %rdi
callq 0x33b1
cltq
imulq $-0x77777777, %rax, %rcx # imm = 0x88888889
shrq $0x20, %rcx
addl %ecx, %eax
movl %eax, %ecx
shrl $0x1f, %ecx
sarl $0x3, %eax
addl %ecx, %eax
shll $0x2, %eax
leal (%rax,%rax,2), %eax
movl %eax, 0x2c(%rbx)
movq %r14, %rdi
callq 0x33b1
cltq
imulq $-0x77777777, %rax, %rcx # imm = 0x88888889
shrq $0x20, %rcx
addl %ecx, %eax
movl %eax, %ecx
shrl $0x1f, %ecx
sarl $0x3, %eax
addl %ecx, %eax
leal (%rax,%rax,2), %ecx
leal (%rax,%rcx,4), %eax
movl %eax, 0x30(%rbx)
movq %r14, %rdi
callq 0x33b1
cltq
imulq $-0x77777777, %rax, %rcx # imm = 0x88888889
shrq $0x20, %rcx
addl %ecx, %eax
movl %eax, %ecx
shrl $0x1f, %ecx
sarl $0x3, %eax
addl %ecx, %eax
leal (%rax,%rax), %ecx
shll $0x4, %eax
subl %ecx, %eax
movl %eax, 0x34(%rbx)
movq %r14, %rdi
callq 0x33b1
addl $-0x2, %eax
movl %eax, 0x38(%rbx)
addq $0x8, %rsp
popq %rbx
popq %r14
retq