user: Translate the below assembly code into C programming language:

```asm
<main>:
  endbr64
  push   %r15
  lea    D73(%rip),%rsi
  push   %r14
  lea    D32(%rip),%r14
  push   %r13
  mov    %r14,%rdi
  push   %r12
  push   %rbp
  lea    D30(%rip),%rbp
  push   %rbx
  sub    $0x28,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x18(%rsp)
  xor    %eax,%eax
  lea    0x10(%rsp),%r12
  movl   $0x0,0x10(%rsp)
  movl   $0x0,0x14(%rsp)
  call   <printf@plt>
  mov    %r12,%rsi
  mov    %rbp,%rdi
  call   <scanf@plt>
  movss  D0(%rip),%xmm4
  ucomiss 0x10(%rsp),%xmm4
  jp     L38
  je     L55
L38:
  lea    0x14(%rsp),%rax
  pxor   %xmm5,%xmm5
  xor    %ebx,%ebx
  mov    %rax,0x8(%rsp)
  lea    D36(%rip),%r15
  lea    D34(%rip),%r13
  movss  %xmm5,(%rsp)
  nopw   0x0(%rax,%rax,1)
L33:
  mov    %r15,%rsi
  mov    %r14,%rdi
  xor    %eax,%eax
  add    $0x1,%ebx
  call   <printf@plt>
  mov    0x8(%rsp),%rsi
  mov    %rbp,%rdi
  call   <scanf@plt>
  lea    D9(%rip),%rsi
  mov    %r13,%rdi
  pxor   %xmm0,%xmm0
  mov    $0x1,%eax
  movss  0x14(%rsp),%xmm1
  divss  0x10(%rsp),%xmm1
  cvtss2sd %xmm1,%xmm0
  movss  %xmm1,0x4(%rsp)
  call   <printf@plt>
  movss  0x4(%rsp),%xmm1
  mov    %r14,%rdi
  xor    %eax,%eax
  addss  (%rsp),%xmm1
  lea    D97(%rip),%rsi
  movss  %xmm1,(%rsp)
  call   <printf@plt>
  mov    %r12,%rsi
  mov    %rbp,%rdi
  call   <scanf@plt>
  movss  D0(%rip),%xmm3
  ucomiss 0x10(%rsp),%xmm3
  jp     L33
  jne    L33
  test   %ebx,%ebx
  je     L55
  pxor   %xmm1,%xmm1
  movss  (%rsp),%xmm0
  mov    %r13,%rdi
  mov    $0x1,%eax
  cvtsi2ss %rbx,%xmm1
  lea    D3(%rip),%rsi
  divss  %xmm1,%xmm0
  cvtss2sd %xmm0,%xmm0
  call   <printf@plt>
L51:
  mov    0x18(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L6
  add    $0x28,%rsp
  xor    %eax,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L55:
  lea    D78(%rip),%rsi
  mov    %r14,%rdi
  xor    %eax,%eax
  call   <printf@plt>
  jmp    L51
L6:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: retrieve_data
arguments: data_tag: D73
datatype: string
name: retrieve_data
arguments: data_tag: D32
datatype: string
name: retrieve_data
arguments: data_tag: D30
datatype: string
name: retrieve_data
arguments: data_tag: D0
datatype: byte[4]
name: retrieve_data
arguments: data_tag: D36
datatype: string
name: retrieve_data
arguments: data_tag: D34
datatype: string
name: retrieve_data
arguments: data_tag: D9
datatype: string
name: retrieve_data
arguments: data_tag: D97
datatype: string
name: retrieve_data
arguments: data_tag: D3
datatype: string
name: retrieve_data
arguments: data_tag: D78
datatype: string

tool: D73: Enter the gallons used (-1 to end): 

tool: D32: %s

tool: D30: %f

tool: {"D0": [0x00,0x00,0x80,0xbf]}

tool: D36: Enter the miles driven: 

tool: D34: %s %f

tool: D9: The miles/gallon for this tank was 

tool: D97: 

Enter the gallons used (-1 to end): 

tool: D3: 

The overall average miles/gallon was 

tool: D78: 

Tough Luck....

assistant: ```c
int main(void) {
  unsigned int counter = 0;
  float gallons = 0.0;
  float miles = 0.0;
  float milesPerGallon;
  float average = 0.0;
  printf("%s", "Enter the gallons used (-1 to end): ");
  scanf("%f", &gallons);
  while (gallons != -1) {
    printf("%s", "Enter the miles driven: ");
    scanf("%f", &miles);
    milesPerGallon = miles / gallons;
    printf("%s %f", "The miles/gallon for this tank was ", milesPerGallon);
    average = average + milesPerGallon;
    counter++;
    printf("%s", "\n\nEnter the gallons used (-1 to end): ");
    scanf("%f", &gallons);
  }
  if (counter != 0)
    printf("%s %f", "\n\nThe overall average miles/gallon was ", (average / counter));
  else
    printf("%s", "\n\nTough Luck....");
  return 0;
}
```