user: Converte this assembly snippet into its equivalent C code:

```asm
<one_step_big>:
  endbr64
  push   %rbp
  mov    %rsi,%r11
  mov    %rsp,%rbp
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  mov    %rcx,%r12
  push   %rbx
  mov    %rdx,%rbx
  sub    $0x48,%rsp
  mov    %rdi,-0x48(%rbp)
  mov    %r8d,-0x60(%rbp)
  mov    %rsp,%rcx
  mov    %r9d,-0x5c(%rbp)
  mov    %fs:0x28,%rax
  mov    %rax,-0x38(%rbp)
  xor    %eax,%eax
  movslq %r9d,%rax
  lea    0xf(,%rax,8),%rdx
  mov    %rdx,%rax
  and    $0xfffffffffffff000,%rdx
  sub    %rdx,%rcx
  and    $0xfffffffffffffff0,%rax
  cmp    %rcx,%rsp
  je     L63
L42:
  sub    $0x1000,%rsp
  orq    $0x0,0xff8(%rsp)
  cmp    %rcx,%rsp
  jne    L42
L63:
  and    $0xfff,%eax
  sub    %rax,%rsp
  test   %rax,%rax
  jne    L232
L258:
  mov    -0x5c(%rbp),%eax
  mov    %rsp,%r8
  mov    %r8,-0x58(%rbp)
  test   %eax,%eax
  jle    L254
  lea    -0x1(%rax),%edi
  mov    %rax,-0x50(%rbp)
  xor    %esi,%esi
  mov    %rax,%rcx
  mov    %rdi,-0x68(%rbp)
  mov    -0x48(%rbp),%rdi
  nopl   0x0(%rax)
L79:
  mov    (%rdi,%rsi,8),%rdx
  mov    %rdx,%r9
  mov    %rdx,%rax
  mov    %rdx,%r13
  shl    $0x9,%rax
  shr    $0x9,%r9
  and    %rax,%r9
  shr    %r13
  lea    (%rdx,%rdx,1),%rax
  mov    %r9,%r14
  and    %rax,%r13
  and    %rdx,%r14
  mov    %r13,%r10
  or     %r13,%r9
  mov    %r14,%rax
  shl    $0x9,%r14
  and    %rdx,%r10
  and    %rdx,%r9
  shr    $0x9,%rax
  or     %r14,%rax
  or     %r9,%rax
  mov    %r10,%r9
  add    %r10,%r10
  shr    %r9
  or     %r9,%rax
  or     %r10,%rax
  and    %rdx,%rax
  mov    %rax,(%r8,%rsi,8)
  add    $0x1,%rsi
  cmp    %rsi,%rcx
  jne    L79
  movabs $0x5555555555555555,%r9
  mov    -0x60(%rbp),%eax
  xor    %r14d,%r14d
  movabs $0x3333333333333333,%r8
  movabs $0xf0f0f0f0f0f0f0f,%r13
  nopl   0x0(%rax,%rax,1)
L7:
  mov    -0x58(%rbp),%rdi
  mov    %r14d,%r10d
  mov    (%rdi,%r14,8),%rsi
  mov    -0x48(%rbp),%rdi
  mov    %rsi,%rdx
  not    %rdx
  and    %rdx,(%rdi,%r14,8)
  test   %rsi,%rsi
  je     L88
  add    $0x1,%eax
  mov    $0x400,%ecx
  movslq %eax,%rdi
  jmp    L144
  nop
L110:
  add    %rcx,%rcx
L144:
  test   %rsi,%rcx
  je     L110
  mov    %r10d,-0x4(%r11,%rdi,4)
  mov    %rcx,%rdx
L211:
  mov    %rdx,%r15
  lea    (%rdx,%rdx,1),%rax
  shr    %r15
  or     %r15,%rax
  mov    %rdx,%r15
  or     %rdx,%rax
  shl    $0x9,%r15
  or     %r15,%rax
  mov    %rdx,%r15
  shr    $0x9,%r15
  or     %r15,%rax
  mov    %rdx,%r15
  and    %rsi,%rax
  mov    %rax,%rdx
  cmp    %rax,%r15
  jne    L211
  not    %rax
  mov    %rdx,%r15
  and    %rax,%rsi
  mov    %rdx,%rax
  and    %r9,%r15
  shr    %rax
  and    %r9,%rax
  add    %r15,%rax
  mov    %rax,%r15
  shr    $0x2,%rax
  and    %r8,%rax
  and    %r8,%r15
  add    %rax,%r15
  mov    %r15,%rax
  shr    $0x4,%rax
  add    %r15,%rax
  and    %r13,%rax
  mov    %rax,%r15
  shr    $0x8,%r15
  add    %r15,%rax
  mov    %rax,%r15
  shr    $0x10,%r15
  add    %rax,%r15
  mov    %r15,%rax
  shr    $0x20,%rax
  add    %r15,%rax
  mov    %rdx,%r15
  and    $0x7f,%eax
  xor    $0x1fc00,%r15
  mov    %eax,-0x4(%rbx,%rdi,4)
  mov    $0x1,%eax
  test   $0x1fc00,%r15d
  je     L28
  mov    %rdx,%r15
  xor    $0x3f80000,%r15
  test   $0x3f80000,%r15d
  je     L28
  mov    %rdx,%r15
  shr    $0x1c,%r15
  and    $0x7f,%r15d
  cmp    $0x7f,%r15
  je     L28
  mov    %rdx,%r15
  shr    $0x25,%r15
  and    $0x7f,%r15d
  cmp    $0x7f,%r15
  je     L28
  mov    %rdx,%r15
  shr    $0x2e,%r15
  and    $0x7f,%r15d
  cmp    $0x7f,%r15
  je     L28
  shr    $0x37,%rdx
  xor    %eax,%eax
  and    $0x7f,%edx
  cmp    $0x7f,%rdx
  sete   %al
  nopw   0x0(%rax,%rax,1)
L28:
  mov    %eax,-0x4(%r12,%rdi,4)
  mov    %edi,%eax
  add    $0x1,%rdi
  test   %rsi,%rsi
  jne    L144
L88:
  add    $0x1,%r14
  cmp    %r14,-0x50(%rbp)
  jne    L7
  cmp    %eax,-0x60(%rbp)
  je     L13
  mov    -0x48(%rbp),%rbx
  cmpl   $0x1,-0x5c(%rbp)
  mov    $0xffffffff,%esi
  mov    (%rbx),%r10
  lea    0x8(%rbx),%r11
  lea    0x10(%rbx),%rdi
  je     L150
  mov    -0x48(%rbp),%rbx
  mov    -0x5c(%rbp),%edi
  lea    0x8(%rbx),%r11
  lea    -0x2(%rdi),%ecx
  lea    0x10(%rbx),%rdi
  mov    %rcx,%rsi
  mov    %r11,%rdx
  lea    (%rdi,%rcx,8),%rcx
L181:
  or     (%rdx),%r10
  add    $0x8,%rdx
  cmp    %rdx,%rcx
  jne    L181
L150:
  mov    -0x68(%rbp),%rbx
  mov    -0x48(%rbp),%r12
  lea    (%rdi,%rsi,8),%r8
  mov    -0x5c(%rbp),%r13d
  lea    (%r11,%rbx,8),%r9
  movabs $0x3f80000000000000,%rbx
  nopl   0x0(%rax,%rax,1)
L57:
  mov    %r10,%rsi
  mov    %r10,%rdi
  mov    %r12,%rcx
  shr    $0x9,%rsi
  not    %rdi
  or     %rbx,%rsi
  nopl   0x0(%rax,%rax,1)
L180:
  mov    (%rcx),%r14
  add    $0x8,%rcx
  mov    %r14,%rdx
  and    %rsi,%r14
  shl    $0x9,%rdx
  and    %rdi,%rdx
  or     %r14,%rdx
  mov    %rdx,-0x8(%rcx)
  cmp    %rcx,%r9
  jne    L180
  mov    (%r12),%rcx
  cmp    $0x1,%r13d
  je     L53
  mov    %r11,%rdx
  nopl   (%rax)
L80:
  or     (%rdx),%rcx
  add    $0x8,%rdx
  cmp    %rdx,%r8
  jne    L80
L53:
  cmp    %rcx,%r10
  je     L13
  mov    %rcx,%r10
  jmp    L57
L254:
  mov    -0x60(%rbp),%eax
L13:
  mov    -0x38(%rbp),%rdx
  sub    %fs:0x28,%rdx
  jne    L31
  lea    -0x28(%rbp),%rsp
  pop    %rbx
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  pop    %rbp
  ret
L232:
  orq    $0x0,-0x8(%rsp,%rax,1)
  jmp    L258
L31:
  call   <__stack_chk_fail@plt>
```

assistant: ```c
int one_step_big(unsigned long long *color_table, int *color_combo, int *num_drops_combo, int *isLine_combo, int finish, int num_colors) {
  unsigned long long isErase_tables[num_colors];
  int combo_counter = finish;
  int num_c;
  unsigned long long tmp, tmp2;
  for (num_c = 0; num_c < num_colors; num_c++) {
    unsigned long long color = color_table[num_c];
    unsigned long long n, w, s, e;
    n = color >> 9;
    w = color >> 1;
    s = color << 9;
    e = color << 1;
    tmp = (color & n & s);
    tmp = tmp | (tmp >> 9) | (tmp << 9);
    tmp2 = (color & w & e);
    tmp2 = tmp2 | (tmp2 >> 1) | (tmp2 << 1);
    isErase_tables[num_c] = (color & tmp) | (color & tmp2);
  }
  for (num_c = 0; num_c < num_colors; num_c++) {
    unsigned long long isErase_table = isErase_tables[num_c];
    color_table[num_c] = color_table[num_c] & (~isErase_table);
    unsigned long long p = 1L << (9 + 1);
    while (isErase_table) {
      while (!(isErase_table & p)) {
        p = p << 1;
      }
      tmp = p;
      color_combo[combo_counter] = num_c;
      unsigned long long tmp_old;
      do {
        tmp_old = tmp;
        tmp = (tmp | (tmp << 1) | (tmp >> 1) | (tmp << 9) | (tmp >> 9)) & isErase_table;
      } while (tmp_old != tmp);
      isErase_table = isErase_table & (~tmp);
      unsigned long long bits = tmp;
      bits = (bits & 0x5555555555555555LU) + ((bits >> 1) & 0x5555555555555555LU);
      bits = (bits & 0x3333333333333333LU) + ((bits >> 2) & 0x3333333333333333LU);
      bits = (bits + (bits >> 4)) & 0x0F0F0F0F0F0F0F0FLU;
      bits = bits + (bits >> 8);
      bits = bits + (bits >> 16);
      bits = (bits + (bits >> 32)) & 0x0000007F;
      num_drops_combo[combo_counter] = bits;
      isLine_combo[combo_counter] = ((tmp >> (9 + 1)) & 127) == 127 || ((tmp >> (9 * 2 + 1)) & 127) == 127 || ((tmp >> (9 * 3 + 1)) & 127) == 127 || ((tmp >> (9 * 4 + 1)) & 127) == 127 || ((tmp >> (9 * 5 + 1)) & 127) == 127 || ((tmp >> (9 * 6 + 1)) & 127) == 127;
      combo_counter++;
    }
  }
  if (finish != combo_counter) {
    unsigned long long exist_table = color_table[0];
    for (num_c = 1; num_c < num_colors; num_c++) {
      exist_table = exist_table | color_table[num_c];
    }
    unsigned long long exist_org;
    do {
      exist_org = exist_table;
      unsigned long long exist_u = (exist_table >> 9) | 4575657221408423936L;
      for (num_c = 0; num_c < num_colors; num_c++) {
        unsigned long long color = color_table[num_c];
        unsigned long long color_u = color & exist_u;
        unsigned long long color_d = (color << 9) & (~exist_table);
        color_table[num_c] = color_u | color_d;
      }
      exist_table = color_table[0];
      for (num_c = 1; num_c < num_colors; num_c++) {
        exist_table = exist_table | color_table[num_c];
      }
    } while (exist_org != exist_table);
  }
  return combo_counter;
}
```