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

```asm
<main>:
  endbr64
  push   %r13
  push   %r12
  lea    D82(%rip),%r12
  push   %rbp
  lea    D84(%rip),%rbp
  push   %rbx
  lea    D5(%rip),%rbx
  sub    $0x38,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x28(%rsp)
  xor    %eax,%eax
  movl   $0x0,0x14(%rsp)
L7:
  lea    D34(%rip),%r13
  jmp    L43
  nopw   0x0(%rax,%rax,1)
L45:
  mov    %rbp,%rdi
  xor    %eax,%eax
  call   <printf@plt>
  xor    %eax,%eax
  lea    0x14(%rsp),%rsi
  mov    %rbx,%rdi
  call   <scanf@plt>
  cmpl   $0xffffffff,0x14(%rsp)
  je     L17
  mov    %r12,%rdi
  xor    %eax,%eax
  call   <printf@plt>
  lea    0x18(%rsp),%rsi
  mov    %r13,%rdi
  xor    %eax,%eax
  call   <scanf@plt>
  lea    D93(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  lea    0x1c(%rsp),%rsi
  mov    %r13,%rdi
  xor    %eax,%eax
  call   <scanf@plt>
  lea    D98(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  lea    0x20(%rsp),%rsi
  mov    %r13,%rdi
  xor    %eax,%eax
  call   <scanf@plt>
  lea    D49(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  xor    %eax,%eax
  lea    0x24(%rsp),%rsi
  mov    %r13,%rdi
  call   <scanf@plt>
  movss  0x18(%rsp),%xmm1
  addss  0x1c(%rsp),%xmm1
  subss  0x20(%rsp),%xmm1
  comiss 0x24(%rsp),%xmm1
  ja     L18
  mov    0x14(%rsp),%eax
L43:
  cmp    $0xffffffff,%eax
  jne    L45
L17:
  mov    0x28(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L46
  add    $0x38,%rsp
  xor    %eax,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  ret
L18:
  mov    0x14(%rsp),%esi
  lea    D22(%rip),%rdi
  xor    %eax,%eax
  movss  %xmm1,0xc(%rsp)
  call   <printf@plt>
  lea    D91(%rip),%rdi
  pxor   %xmm0,%xmm0
  mov    $0x1,%eax
  cvtss2sd 0x24(%rsp),%xmm0
  call   <printf@plt>
  pxor   %xmm0,%xmm0
  movss  0xc(%rsp),%xmm1
  lea    D41(%rip),%rdi
  mov    $0x1,%eax
  cvtss2sd %xmm1,%xmm0
  call   <printf@plt>
  lea    D38(%rip),%rdi
  call   <puts@plt>
  mov    0x14(%rsp),%eax
  jmp    L7
L46:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: parse_data
arguments: tag: D82
type_infered: string
name: parse_data
arguments: tag: D84
type_infered: string
name: parse_data
arguments: tag: D5
type_infered: string
name: parse_data
arguments: tag: D34
type_infered: string
name: parse_data
arguments: tag: D93
type_infered: string
name: parse_data
arguments: tag: D98
type_infered: string
name: parse_data
arguments: tag: D49
type_infered: string
name: parse_data
arguments: tag: D22
type_infered: string
name: parse_data
arguments: tag: D91
type_infered: string
name: parse_data
arguments: tag: D41
type_infered: string
name: parse_data
arguments: tag: D38
type_infered: string

tool: D82: Enter beginning balance:

tool: D84: Enter account number (-1 to end):

tool: D5: %d

tool: D34: %f

tool: D93: Enter total charges:

tool: D98: Enter total credits:

tool: D49: Enter  credit limit:

tool: D22: Account: %d

tool: D91: 
Credit:%f

tool: D41: 
Balance:%.2f 

tool: D38: 
Credit Limit Exceeded.


assistant: ```c
int main(void) {
  int account_number = 0;
  float beginning_balance, total_charge, total_credit, credit_limit, balance;
  while (account_number != -1) {
    printf("Enter account number (-1 to end):");
    scanf("%d", &account_number);
    if (account_number == -1) {
      break;
    }
    printf("Enter beginning balance:");
    scanf("%f", &beginning_balance);
    printf("Enter total charges:");
    scanf("%f", &total_charge);
    printf("Enter total credits:");
    scanf("%f", &total_credit);
    printf("Enter  credit limit:");
    scanf("%f", &credit_limit);
    balance = beginning_balance + total_charge - total_credit;
    if (balance > credit_limit) {
      printf("Account: %d", account_number);
      printf("\nCredit:%f", credit_limit);
      printf("\nBalance:%.2f ", balance);
      printf("\nCredit Limit Exceeded.\n\n");
    }
  }
  return 0;
}
```