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

```asm
<main>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x1b0,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,-0x8(%rbp)
  xor    %eax,%eax
  movl   $0x0,-0x1a8(%rbp)
  movl   $0x0,-0x1a4(%rbp)
  lea    D33(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
L70:
  lea    -0x1b0(%rbp),%rax
  mov    %rax,%rsi
  lea    D19(%rip),%rax
  mov    %rax,%rdi
  call   <scanf@plt>
  movss  -0x1b0(%rbp),%xmm0
  ucomiss D37(%rip),%xmm0
  jp     L24
  ucomiss D37(%rip),%xmm0
  je     L81
L24:
  movss  -0x1b0(%rbp),%xmm0
  pxor   %xmm1,%xmm1
  ucomiss %xmm1,%xmm0
  jp     L29
  pxor   %xmm1,%xmm1
  ucomiss %xmm1,%xmm0
  je     L5
L29:
  mov    -0x1a4(%rbp),%eax
  lea    0x1(%rax),%edx
  mov    %edx,-0x1a4(%rbp)
  movss  -0x1b0(%rbp),%xmm0
  cltq
  movss  %xmm0,-0x1a0(%rbp,%rax,4)
L5:
  mov    -0x1a8(%rbp),%eax
  lea    0x1(%rax),%edx
  mov    %edx,-0x1a8(%rbp)
  movss  -0x1b0(%rbp),%xmm0
  cltq
  movss  %xmm0,-0xd0(%rbp,%rax,4)
  jmp    L70
L81:
  nop
  mov    -0x1a4(%rbp),%eax
  mov    %eax,-0x1ac(%rbp)
  jmp    L16
L64:
  mov    -0x1ac(%rbp),%eax
  cltq
  pxor   %xmm0,%xmm0
  movss  %xmm0,-0x1a0(%rbp,%rax,4)
  addl   $0x1,-0x1ac(%rbp)
L16:
  mov    -0x1ac(%rbp),%eax
  cmp    -0x1a8(%rbp),%eax
  jl     L64
  mov    -0x1a8(%rbp),%eax
  mov    %eax,-0x1a4(%rbp)
  lea    D8(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  movl   $0x0,-0x1ac(%rbp)
  jmp    L11
L42:
  mov    -0x1ac(%rbp),%eax
  cltq
  movss  -0xd0(%rbp,%rax,4),%xmm0
  pxor   %xmm2,%xmm2
  cvtss2sd %xmm0,%xmm2
  movq   %xmm2,%rax
  movq   %rax,%xmm0
  lea    D12(%rip),%rax
  mov    %rax,%rdi
  mov    $0x1,%eax
  call   <printf@plt>
  addl   $0x1,-0x1ac(%rbp)
L11:
  mov    -0x1ac(%rbp),%eax
  cmp    -0x1a8(%rbp),%eax
  jl     L42
  mov    $0xa,%edi
  call   <putchar@plt>
  lea    D66(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  movl   $0x0,-0x1ac(%rbp)
  jmp    L9
L1:
  mov    -0x1ac(%rbp),%eax
  cltq
  movss  -0x1a0(%rbp,%rax,4),%xmm0
  pxor   %xmm3,%xmm3
  cvtss2sd %xmm0,%xmm3
  movq   %xmm3,%rax
  movq   %rax,%xmm0
  lea    D12(%rip),%rax
  mov    %rax,%rdi
  mov    $0x1,%eax
  call   <printf@plt>
  addl   $0x1,-0x1ac(%rbp)
L9:
  mov    -0x1ac(%rbp),%eax
  cmp    -0x1a4(%rbp),%eax
  jl     L1
  mov    $0xa,%edi
  call   <putchar@plt>
  mov    $0x0,%eax
  mov    -0x8(%rbp),%rdx
  sub    %fs:0x28,%rdx
  je     L59
  call   <__stack_chk_fail@plt>
L59:
  leave
  ret
```

tool_calls: name: unpack_data
arguments: data_tag: D33
data_type: string
name: unpack_data
arguments: data_tag: D19
data_type: string
name: unpack_data
arguments: data_tag: D37
data_type: byte[4]
name: unpack_data
arguments: data_tag: D8
data_type: string
name: unpack_data
arguments: data_tag: D12
data_type: string
name: unpack_data
arguments: data_tag: D66
data_type: string

tool: D33: Entre com um vetor: 

tool: D19: %f

tool: {"D37": [0x00,0xc0,0x79,0xc4]}

tool: D8: Vetor original: 

tool: D12: %.1f 

tool: D66: Vetor compactado: 

assistant: ```c
int main() {
  int i;
  float n;
  float compressedVector[50], originalVector[50];
  int originalVectorSize = 0, compressedVectorSize = 0;
  printf("Entre com um vetor: ");
  while (1) {
    scanf("%f", &n);
    if (n == -999)
      break;
    if (n != 0)
      compressedVector[compressedVectorSize++] = n;
    originalVector[originalVectorSize++] = n;
  }
  for (i = compressedVectorSize; i < originalVectorSize; i++) {
    compressedVector[i] = 0;
  }
  compressedVectorSize = originalVectorSize;
  printf("Vetor original: ");
  for (i = 0; i < originalVectorSize; i++) {
    printf("%.1f ", originalVector[i]);
  }
  printf("\n");
  printf("Vetor compactado: ");
  for (i = 0; i < compressedVectorSize; i++) {
    printf("%.1f ", compressedVector[i]);
  }
  printf("\n");
  return 0;
}
```