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

```asm
<main>:
  endbr64
  push   %r14
  lea    D21(%rip),%r14
  push   %r13
  lea    D3(%rip),%r13
  push   %r12
  push   %rbp
  push   %rbx
  lea    D40(%rip),%rbx
  sub    $0x10,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x8(%rsp)
  xor    %eax,%eax
  lea    0x4(%rsp),%r12
  mov    %rsp,%rbp
  jmp    L154
  nop
L96:
  mov    %r14,%rdi
  call   <puts@plt>
L154:
  mov    %r13,%rdi
  xor    %eax,%eax
  call   <printf@plt>
  xor    %eax,%eax
  mov    %r12,%rdx
  mov    %rbp,%rsi
  mov    %rbx,%rdi
  call   <scanf@plt>
  cmpl   $0x1,(%rsp)
  jle    L96
  mov    0x4(%rsp),%edi
  test   %edi,%edi
  jle    L96
  shl    $0x3,%edi
  xor    %r14d,%r14d
  lea    D2(%rip),%r12
  call   <malloc@plt>
  mov    0x4(%rsp),%ecx
  mov    %rax,%r13
  mov    %rax,%rbp
  test   %ecx,%ecx
  jle    L125
L73:
  mov    (%rsp),%eax
  xor    %ebx,%ebx
  lea    0x0(,%rax,4),%edi
  call   <malloc@plt>
  mov    (%rsp),%edx
  mov    %rax,0x0(%rbp)
  test   %edx,%edx
  jg     L120
  jmp    L127
  xchg   %ax,%ax
L23:
  add    $0x1,%rbx
  cmp    %ebx,(%rsp)
  jle    L127
L120:
  lea    (%rax,%rbx,4),%rsi
  mov    %r12,%rdi
  xor    %eax,%eax
  call   <scanf@plt>
  mov    0x0(%rbp),%rax
  pxor   %xmm0,%xmm0
  ucomiss (%rax,%rbx,4),%xmm0
  jp     L23
  jne    L23
  lea    D35(%rip),%rdi
  call   <puts@plt>
L125:
  mov    0x8(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L101
  add    $0x10,%rsp
  xor    %eax,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  ret
  nopw   0x0(%rax,%rax,1)
L127:
  mov    0x4(%rsp),%eax
  add    $0x1,%r14d
  add    $0x8,%rbp
  cmp    %r14d,%eax
  jg     L73
  test   %eax,%eax
  jle    L125
  xor    %ebx,%ebx
  lea    D10(%rip),%rbp
  jmp    L63
  nopl   0x0(%rax)
L25:
  add    $0x8,%r13
  cmp    %ebx,0x4(%rsp)
  jle    L125
L63:
  mov    (%rsp),%esi
  mov    0x0(%r13),%rdi
  add    $0x1,%ebx
  call   <checkProgression@plt>
  test   %rax,%rax
  je     L25
  mov    %ebx,%esi
  mov    %rbp,%rdi
  xor    %eax,%eax
  call   <printf@plt>
  jmp    L25
L101:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: unpack_data
arguments: tag: D21
type_guessed: string
name: unpack_data
arguments: tag: D3
type_guessed: string
name: unpack_data
arguments: tag: D40
type_guessed: string
name: unpack_data
arguments: tag: D2
type_guessed: string
name: unpack_data
arguments: tag: D35
type_guessed: string
name: unpack_data
arguments: tag: D10
type_guessed: string

tool: D21: Error! Y must be positive and X must be > 1

tool: D3: Enter size (x y): 

tool: D40: %i%i

tool: D2: %f

tool: D35: Error. Member of geometry progression can't be null. Exiting...

tool: D10: Progression in %i line


assistant: ```c
int main(void) {
  int sizeX, sizeY;
  float **array;
  int i, j;
  int done = 0;
  while (!done) {
    printf("Enter size (x y): ");
    scanf("%i%i", &sizeX, &sizeY);
    (sizeX > 1 && sizeY > 0) ? done = 1 : printf("Error! Y must be positive and X must be > 1\n");
  }
  array = malloc(sizeY * sizeof(float *));
  for (i = 0; i < sizeY; i++) {
    array[i] = malloc(sizeX * sizeof(float));
    for (j = 0; j < sizeX; j++) {
      scanf("%f", &array[i][j]);
      if (array[i][j] == 0) {
        printf("Error. Member of geometry progression can't be null. Exiting...\n");
        return 0;
      }
    }
  }
  for (i = 0; i < sizeY; i++)
    if (checkProgression(array[i], sizeX))
      printf("Progression in %i line\n", i + 1);
  return 0;
}
```