user: 请将以下的汇编代码转换成C语言代码:

```asm
<main>:
  endbr64
  push   %r13
  lea    D57(%rip),%rdi
  push   %r12
  lea    D88(%rip),%r12
  push   %rbp
  push   %rbx
  xor    %ebx,%ebx
  sub    $0xe8,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0xd8(%rsp)
  xor    %eax,%eax
  lea    0x10(%rsp),%rbp
  call   <puts@plt>
  lea    0xc(%rsp),%rsi
  lea    D12(%rip),%rdi
  xor    %eax,%eax
  call   <scanf@plt>
  lea    D48(%rip),%rdi
  call   <puts@plt>
  mov    0xc(%rsp),%edx
  test   %edx,%edx
  jle    L21
  nopl   (%rax)
L115:
  mov    %rbp,%rsi
  mov    %r12,%rdi
  xor    %eax,%eax
  add    $0x1,%ebx
  call   <scanf@plt>
  add    $0x4,%rbp
  cmp    %ebx,0xc(%rsp)
  jg     L115
L21:
  lea    D79(%rip),%rbp
  xor    %r12d,%r12d
  lea    0x10(%rsp),%rbx
  mov    %rbp,%rdi
  lea    D2(%rip),%r13
  call   <puts@plt>
  mov    0xc(%rsp),%eax
  test   %eax,%eax
  jle    L86
  nopl   0x0(%rax)
L20:
  mov    %r13,%rdi
  pxor   %xmm0,%xmm0
  mov    $0x1,%eax
  cvtss2sd (%rbx,%r12,4),%xmm0
  call   <printf@plt>
  mov    0xc(%rsp),%edi
  add    $0x1,%r12
  cmp    %r12d,%edi
  jg     L20
  cmp    $0x1,%edi
  jle    L86
  lea    -0x2(%rdi),%r8d
  mov    %rbx,%rdx
  lea    -0x1(%rdi),%r10d
  mov    $0x1,%esi
  add    $0x2,%r8
  lea    0x14(%rsp),%r9
  nopw   0x0(%rax,%rax,1)
L35:
  cmp    %esi,%edi
  jle    L83
  mov    %r10d,%eax
  sub    %esi,%eax
  lea    -0x1(%rsi,%rax,1),%rax
  lea    (%r9,%rax,4),%rcx
  mov    %rdx,%rax
  nopl   (%rax)
L38:
  movss  (%rdx),%xmm0
  movss  0x4(%rax),%xmm1
  comiss %xmm1,%xmm0
  jbe    L46
  movss  %xmm1,(%rdx)
  movss  %xmm0,0x4(%rax)
L46:
  add    $0x4,%rax
  cmp    %rax,%rcx
  jne    L38
L83:
  add    $0x1,%rsi
  add    $0x4,%rdx
  cmp    %rsi,%r8
  jne    L35
L86:
  mov    %rbp,%rdi
  lea    0x10(%rsp),%rbx
  lea    D2(%rip),%r13
  xor    %ebp,%ebp
  call   <puts@plt>
  mov    0xc(%rsp),%eax
  test   %eax,%eax
  jle    L13
  nopl   0x0(%rax,%rax,1)
L22:
  pxor   %xmm0,%xmm0
  mov    %r13,%rdi
  mov    $0x1,%eax
  cvtss2sd (%rbx,%rbp,4),%xmm0
  call   <printf@plt>
  mov    0xc(%rsp),%eax
  add    $0x1,%rbp
  cmp    %ebp,%eax
  jg     L22
L13:
  mov    %eax,%edx
  shr    $0x1f,%edx
  add    %eax,%edx
  sar    %edx
  movslq %edx,%rdx
  shl    $0x2,%rdx
  movss  0x10(%rsp,%rdx,1),%xmm0
  test   $0x1,%al
  jne    L126
  addss  0xc(%rsp,%rdx,1),%xmm0
  mulss  D27(%rip),%xmm0
L126:
  lea    D55(%rip),%rdi
  mov    $0x1,%eax
  cvtss2sd %xmm0,%xmm0
  call   <printf@plt>
  mov    0xd8(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L111
  add    $0xe8,%rsp
  xor    %eax,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  ret
L111:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: extract_symbolic_data
arguments: label: D57
datatype: string
name: extract_symbolic_data
arguments: label: D88
datatype: string
name: extract_symbolic_data
arguments: label: D12
datatype: string
name: extract_symbolic_data
arguments: label: D48
datatype: string
name: extract_symbolic_data
arguments: label: D79
datatype: string
name: extract_symbolic_data
arguments: label: D2
datatype: string
name: extract_symbolic_data
arguments: label: D27
datatype: byte[4]
name: extract_symbolic_data
arguments: label: D55
datatype: string

tool: D57: 
Enter the no of elements in the array

tool: D88: %f

tool: D12: %d

tool: D48: 
Enter elements of Array

tool: D79: 
The elements of Array

tool: D2: %0.2f 	

tool: {"D27": [0x00,0x00,0x00,0x3f]}

tool: D55: 
Median = %f


assistant: ```c
int main() {
  int iNum, i, j;
  float faArr1[50], fTemp;
  float *fPtr;
  float fMedian;
  fPtr = faArr1;
  printf("\nEnter the no of elements in the array\n");
  scanf("%d", &iNum);
  printf("\nEnter elements of Array\n");
  for (i = 0; i < iNum; i++)
    scanf("%f", fPtr + i);
  printf("\nThe elements of Array\n");
  for (i = 0; i < iNum; i++)
    printf("%0.2f \t", *(fPtr + i));
  for (i = 0; i < iNum - 1; i++) {
    for (j = i + 1; j < iNum; j++) {
      if (faArr1[i] > faArr1[j]) {
        fTemp = faArr1[i];
        faArr1[i] = faArr1[j];
        faArr1[j] = fTemp;
      }
    }
  }
  printf("\nThe elements of Array\n");
  for (i = 0; i < iNum; i++)
    printf("%0.2f \t", *(fPtr + i));
  if (iNum % 2)
    fMedian = *(fPtr + (iNum / 2));
  else
    fMedian = (*(fPtr + (iNum / 2)) + *(fPtr + (iNum / 2) - 1)) / 2.0f;
  printf("\nMedian = %f\n", fMedian);
  return 0;
}
```