user: 请将这段汇编代码片段转换成等效的C代码:

```asm
<main>:
  endbr64
  push   %r15
  lea    D73(%rip),%rdi
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  lea    D47(%rip),%rbp
  push   %rbx
  sub    $0x48,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x38(%rsp)
  xor    %eax,%eax
  lea    0x24(%rsp),%r12
  call   <printf@plt>
  xor    %eax,%eax
  mov    %r12,%rsi
  mov    %rbp,%rdi
  call   <scanf@plt>
  cmpl   $0xffffffff,0x24(%rsp)
  je     L0
  lea    0x2c(%rsp),%rax
  lea    D54(%rip),%r15
  mov    %rax,0x10(%rsp)
  lea    0x30(%rsp),%rax
  lea    0x28(%rsp),%r14
  mov    %rax,(%rsp)
  lea    0x34(%rsp),%rax
  lea    D32(%rip),%rbx
  mov    %rax,0x8(%rsp)
  lea    D24(%rip),%r13
  jmp    L54
  nopl   0x0(%rax,%rax,1)
L20:
  lea    D6(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  xor    %eax,%eax
  mov    %r12,%rsi
  mov    %rbp,%rdi
  call   <scanf@plt>
  cmpl   $0xffffffff,0x24(%rsp)
  je     L0
L54:
  mov    %r15,%rdi
  xor    %eax,%eax
  call   <printf@plt>
  mov    %r14,%rsi
  mov    %rbx,%rdi
  xor    %eax,%eax
  call   <scanf@plt>
  mov    %r13,%rdi
  xor    %eax,%eax
  call   <printf@plt>
  mov    0x10(%rsp),%rsi
  mov    %rbx,%rdi
  xor    %eax,%eax
  call   <scanf@plt>
  lea    D79(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  mov    (%rsp),%rsi
  mov    %rbx,%rdi
  xor    %eax,%eax
  call   <scanf@plt>
  lea    D26(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  mov    0x8(%rsp),%rsi
  xor    %eax,%eax
  mov    %rbx,%rdi
  call   <scanf@plt>
  movss  0x28(%rsp),%xmm1
  addss  0x2c(%rsp),%xmm1
  subss  0x30(%rsp),%xmm1
  comiss 0x34(%rsp),%xmm1
  jbe    L20
  mov    0x24(%rsp),%esi
  lea    D115(%rip),%rdi
  xor    %eax,%eax
  movss  %xmm1,0x1c(%rsp)
  call   <printf@plt>
  lea    D46(%rip),%rdi
  pxor   %xmm0,%xmm0
  mov    $0x1,%eax
  cvtss2sd 0x34(%rsp),%xmm0
  call   <printf@plt>
  pxor   %xmm0,%xmm0
  movss  0x1c(%rsp),%xmm1
  lea    D100(%rip),%rdi
  mov    $0x1,%eax
  cvtss2sd %xmm1,%xmm0
  call   <printf@plt>
  lea    D83(%rip),%rdi
  call   <puts@plt>
  jmp    L20
  nop
L0:
  mov    0x38(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L27
  add    $0x48,%rsp
  xor    %eax,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L27:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: unpack_data
arguments: tag: D73
data_type: string
name: unpack_data
arguments: tag: D47
data_type: string
name: unpack_data
arguments: tag: D54
data_type: string
name: unpack_data
arguments: tag: D32
data_type: string
name: unpack_data
arguments: tag: D24
data_type: string
name: unpack_data
arguments: tag: D6
data_type: string
name: unpack_data
arguments: tag: D79
data_type: string
name: unpack_data
arguments: tag: D26
data_type: string
name: unpack_data
arguments: tag: D115
data_type: string
name: unpack_data
arguments: tag: D46
data_type: string
name: unpack_data
arguments: tag: D100
data_type: string
name: unpack_data
arguments: tag: D83
data_type: string

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

tool: D47: %d

tool: D54: Enter beginning balance: 

tool: D32: %f

tool: D24: Enter total charges: 

tool: D6: 

Enter account number (-1 to end): 

tool: D79: Enter total credits: 

tool: D26: Enter credit limit: 

tool: D115: Account:      %d


tool: D46: Credit limit: %.2f


tool: D100: Balance:      %.2f


tool: D83: Credit Limit Exceeded.

assistant: ```c
int main() {
  int accountNumber;
  float beginningBalance, totalCharges, totalCredits, creditLimit;
  float balance;
  printf("Enter account number (-1 to end): ");
  scanf("%d", &accountNumber);
  while (accountNumber != -1) {
    printf("Enter beginning balance: ");
    scanf("%f", &beginningBalance);
    printf("Enter total charges: ");
    scanf("%f", &totalCharges);
    printf("Enter total credits: ");
    scanf("%f", &totalCredits);
    printf("Enter credit limit: ");
    scanf("%f", &creditLimit);
    balance = beginningBalance + totalCharges - totalCredits;
    if (balance > creditLimit) {
      printf("Account:      %d\n", accountNumber);
      printf("Credit limit: %.2f\n", creditLimit);
      printf("Balance:      %.2f\n", balance);
      printf("Credit Limit Exceeded.\n");
    }
    printf("\n\nEnter account number (-1 to end): ");
    scanf("%d", &accountNumber);
  }
  return 0;
}
```