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

```asm
<main>:
  endbr64
  push   %r15
  lea    D43(%rip),%rdi
  push   %r14
  push   %r13
  lea    D5(%rip),%r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x38,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x28(%rsp)
  xor    %eax,%eax
  mov    %rsp,%rbx
  lea    0x28(%rsp),%r12
  call   <puts@plt>
  movdqa D1(%rip),%xmm0
  mov    D53(%rip),%rax
  mov    %rbx,%rbp
  lea    D56(%rip),%rdi
  movaps %xmm0,(%rsp)
  movdqa D37(%rip),%xmm0
  mov    %rax,0x20(%rsp)
  xor    %eax,%eax
  movaps %xmm0,0x10(%rsp)
  call   <printf@plt>
  nopl   0x0(%rax,%rax,1)
L77:
  mov    0x0(%rbp),%esi
  mov    %r13,%rdi
  xor    %eax,%eax
  add    $0x4,%rbp
  call   <printf@plt>
  cmp    %r12,%rbp
  jne    L77
  mov    $0xa,%edi
  mov    $0x8,%r14d
  mov    $0x7,%ebp
  mov    $0x9,%r15d
  call   <putchar@plt>
  mov    %rbx,%rax
  mov    $0x6,%r11d
  xor    %ecx,%ecx
  mov    $0x5,%r10d
  mov    $0x4,%r9d
  mov    $0x3,%r8d
  mov    $0x2,%edi
  jmp    L47
  nopl   (%rax)
L78:
  cmp    $0xa,%ecx
  je     L141
L183:
  add    $0x4,%rax
  add    $0x1,%edi
  add    $0x1,%r15d
  add    $0x1,%r8d
  add    $0x1,%r9d
  add    $0x1,%r10d
  add    $0x1,%r11d
  add    $0x1,%ebp
  add    $0x1,%r14d
L47:
  mov    (%rax),%edx
  add    $0x1,%ecx
  test   %edx,%edx
  jne    L78
  cmp    $0xa,%ecx
  je     L141
  mov    0x4(%rax),%edx
  test   %edx,%edx
  jne    L250
  movslq %edi,%rsi
  cmp    $0xa,%edi
  je     L183
  mov    0x8(%rax),%edx
  test   %edx,%edx
  jne    L164
  movslq %r8d,%rsi
  cmp    $0xa,%r8d
  je     L183
  mov    0xc(%rax),%edx
  test   %edx,%edx
  jne    L164
  movslq %r9d,%rsi
  cmp    $0xa,%r9d
  je     L183
  mov    0x10(%rax),%edx
  test   %edx,%edx
  jne    L164
  movslq %r10d,%rsi
  cmp    $0xa,%r10d
  je     L183
  mov    0x14(%rax),%edx
  test   %edx,%edx
  jne    L164
  movslq %r11d,%rsi
  cmp    $0xa,%r11d
  je     L183
  mov    0x18(%rax),%edx
  test   %edx,%edx
  jne    L164
  movslq %ebp,%rsi
  cmp    $0xa,%ebp
  je     L183
  mov    0x1c(%rax),%edx
  test   %edx,%edx
  jne    L164
  movslq %r14d,%rsi
  cmp    $0xa,%r14d
  je     L183
  mov    0x20(%rax),%edx
  test   %edx,%edx
  jne    L164
  movslq %r15d,%rsi
  cmp    $0xa,%r15d
  je     L183
  mov    0x24(%rax),%edx
  test   %edx,%edx
  je     L183
  xchg   %ax,%ax
L164:
  movl   $0x0,(%rsp,%rsi,4)
  mov    %edx,(%rax)
  jmp    L183
  xchg   %ax,%ax
L141:
  lea    D57(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  xchg   %ax,%ax
L165:
  mov    (%rbx),%esi
  mov    %r13,%rdi
  xor    %eax,%eax
  add    $0x4,%rbx
  call   <printf@plt>
  cmp    %r12,%rbx
  jne    L165
  mov    $0xa,%edi
  call   <putchar@plt>
  mov    0x28(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L201
  add    $0x38,%rsp
  xor    %eax,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L250:
  movslq %ecx,%rsi
  jmp    L164
L201:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: parse_data
arguments: tag: D43
type_guessed: string
name: parse_data
arguments: tag: D5
type_guessed: string
name: parse_data
arguments: tag: D1
type_guessed: byte[16]
name: parse_data
arguments: tag: D53
type_guessed: byte[8]
name: parse_data
arguments: tag: D56
type_guessed: string
name: parse_data
arguments: tag: D37
type_guessed: byte[16]
name: parse_data
arguments: tag: D57
type_guessed: string

tool: D43: Move non-zero to left and zero's to right

tool: D5: %d 

tool: {"D1": [0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00]}

tool: {"D53": [0x00,0x00,0x00,0x00,0x02,0x00,0x00,0x00]}

tool: D56: Given :

tool: {"D37": [0x01,0x00,0x00,0x00,0x02,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x00,0x00,0x00,0x00]}

tool: D57: Output: 

assistant: ```c
int main() {
  printf("Move non-zero to left and zero's to right\n");
  int arr[] = {1, 0, 0, 0, 1, 2, 3, 0, 0, 2};
  int len = (int)(sizeof(arr) / sizeof(int));
  printf("Given :");
  for (int i = 0; i < len; i++) {
    printf("%d ", arr[i]);
  }
  printf("\n");
  for (int i = 0; i < len; i++) {
    if (arr[i] != 0) {
      continue;
    }
    int j = i + 1;
    while (j < len) {
      if (arr[j] != 0) {
        int temp = arr[j];
        arr[j] = arr[i];
        arr[i] = temp;
        break;
      }
      j++;
    }
  }
  printf("Output: ");
  for (int i = 0; i < len; i++) {
    printf("%d ", arr[i]);
  }
  printf("\n");
  return 0;
}
```