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

```asm
<parse>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x1000,%rsp
  orq    $0x0,(%rsp)
  sub    $0x1000,%rsp
  orq    $0x0,(%rsp)
  sub    $0x750,%rsp
  mov    %rdi,-0x2748(%rbp)
  mov    %rsi,-0x2750(%rbp)
  mov    %fs:0x28,%rax
  mov    %rax,-0x8(%rbp)
  xor    %eax,%eax
  movl   $0x0,-0x2730(%rbp)
  mov    -0x2748(%rbp),%rax
  mov    %rax,%rdi
  call   <strlen@plt>
  mov    %eax,-0x2724(%rbp)
  movl   $0x0,-0x2734(%rbp)
  movl   $0x0,-0x2738(%rbp)
  jmp    L102
L42:
  movl   $0x0,-0x2734(%rbp)
  movl   $0x0,-0x272c(%rbp)
  jmp    L40
L22:
  mov    -0x2738(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x2748(%rbp),%rax
  lea    (%rdx,%rax,1),%rcx
  mov    -0x2734(%rbp),%eax
  lea    0x1(%rax),%edx
  mov    %edx,-0x2734(%rbp)
  movzbl (%rcx),%edx
  movslq %eax,%rsi
  mov    -0x2730(%rbp),%eax
  movslq %eax,%rcx
  mov    %rcx,%rax
  shl    $0x2,%rax
  add    %rcx,%rax
  lea    0x0(,%rax,4),%rcx
  add    %rcx,%rax
  shl    $0x2,%rax
  add    %rbp,%rax
  add    %rsi,%rax
  sub    $0x2720,%rax
  mov    %dl,(%rax)
  addl   $0x1,-0x2738(%rbp)
  movl   $0x1,-0x272c(%rbp)
L40:
  mov    -0x2738(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x2748(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  cmp    $0x20,%al
  je     L23
  mov    -0x2738(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x2748(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  cmp    $0x9,%al
  je     L23
  mov    -0x2738(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x2748(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  cmp    $0xa,%al
  jne    L22
L23:
  cmpl   $0x1,-0x272c(%rbp)
  jne    L68
  mov    -0x2734(%rbp),%eax
  movslq %eax,%rcx
  mov    -0x2730(%rbp),%eax
  movslq %eax,%rdx
  mov    %rdx,%rax
  shl    $0x2,%rax
  add    %rdx,%rax
  lea    0x0(,%rax,4),%rdx
  add    %rdx,%rax
  shl    $0x2,%rax
  add    %rbp,%rax
  add    %rcx,%rax
  sub    $0x2720,%rax
  movb   $0x0,(%rax)
  addl   $0x1,-0x2730(%rbp)
L68:
  addl   $0x1,-0x2738(%rbp)
L102:
  mov    -0x2738(%rbp),%eax
  cmp    -0x2724(%rbp),%eax
  jl     L42
  mov    -0x2734(%rbp),%eax
  movslq %eax,%rcx
  mov    -0x2730(%rbp),%eax
  movslq %eax,%rdx
  mov    %rdx,%rax
  shl    $0x2,%rax
  add    %rdx,%rax
  lea    0x0(,%rax,4),%rdx
  add    %rdx,%rax
  shl    $0x2,%rax
  add    %rbp,%rax
  add    %rcx,%rax
  sub    $0x2720,%rax
  movb   $0x0,(%rax)
  movl   $0x0,-0x2728(%rbp)
  movl   $0x0,-0x2738(%rbp)
  jmp    L114
L76:
  movl   $0x0,-0x2734(%rbp)
  jmp    L69
L43:
  mov    -0x2728(%rbp),%eax
  lea    0x1(%rax),%edx
  mov    %edx,-0x2728(%rbp)
  movslq %eax,%rdx
  mov    -0x2750(%rbp),%rax
  lea    (%rdx,%rax,1),%rcx
  mov    -0x2734(%rbp),%eax
  movslq %eax,%rsi
  mov    -0x2738(%rbp),%eax
  movslq %eax,%rdx
  mov    %rdx,%rax
  shl    $0x2,%rax
  add    %rdx,%rax
  lea    0x0(,%rax,4),%rdx
  add    %rdx,%rax
  shl    $0x2,%rax
  add    %rbp,%rax
  add    %rsi,%rax
  sub    $0x2720,%rax
  movzbl (%rax),%eax
  mov    %al,(%rcx)
  addl   $0x1,-0x2734(%rbp)
L69:
  lea    -0x2720(%rbp),%rcx
  mov    -0x2738(%rbp),%eax
  movslq %eax,%rdx
  mov    %rdx,%rax
  shl    $0x2,%rax
  add    %rdx,%rax
  lea    0x0(,%rax,4),%rdx
  add    %rdx,%rax
  shl    $0x2,%rax
  add    %rcx,%rax
  mov    %rax,%rdi
  call   <strlen@plt>
  cmp    %eax,-0x2734(%rbp)
  jl     L43
  mov    -0x2728(%rbp),%eax
  lea    0x1(%rax),%edx
  mov    %edx,-0x2728(%rbp)
  movslq %eax,%rdx
  mov    -0x2750(%rbp),%rax
  add    %rdx,%rax
  movb   $0x20,(%rax)
  addl   $0x1,-0x2738(%rbp)
L114:
  mov    -0x2738(%rbp),%eax
  cmp    -0x2730(%rbp),%eax
  jl     L76
  mov    -0x2728(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x2750(%rbp),%rax
  add    %rdx,%rax
  movb   $0x0,(%rax)
  nop
  mov    -0x8(%rbp),%rax
  sub    %fs:0x28,%rax
  je     L112
  call   <__stack_chk_fail@plt>
L112:
  leave
  ret
```

assistant: ```c
void parse(char a[], char test[]) {
  int i, j;
  char sec_str[100][100];
  int sec_ptr = 0;
  int len = strlen(a);
  j = 0;
  for (i = 0; i < len; i++) {
    j = 0;
    int check = 0;
    while (a[i] != ' ' && a[i] != '\t' && a[i] != '\n') {
      sec_str[sec_ptr][j++] = a[i];
      i++;
      check = 1;
    }
    if (check == 1) {
      sec_str[sec_ptr][j] = '\0';
      sec_ptr++;
    }
  }
  sec_str[sec_ptr][j] = '\0';
  int test_ptr = 0;
  for (i = 0; i < sec_ptr; i++) {
    for (j = 0; j < strlen(sec_str[i]); j++) {
      test[test_ptr++] = sec_str[i][j];
    }
    test[test_ptr++] = ' ';
  }
  test[test_ptr] = '\0';
}
```