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

```asm
<printBandsOnScreen>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  mov    %rsi,%r12
  push   %rbp
  mov    %rdx,%rbp
  push   %rbx
  mov    %edi,%ebx
  lea    D120(%rip),%rdi
  sub    $0x28,%rsp
  movss  %xmm0,0x18(%rsp)
  call   <puts@plt>
  test   %ebx,%ebx
  jle    L14
  movss  D8(%rip),%xmm7
  lea    -0x1(%rbx),%eax
  add    $0x4,%r12
  mov    %rbp,%rbx
  lea    0x4(%rbp,%rax,4),%r13
  mov    %r12,%r15
  lea    D110(%rip),%r14
  movss  %xmm7,0xc(%rsp)
  nopl   0x0(%rax,%rax,1)
L15:
  movss  -0x4(%r15),%xmm3
  movss  (%r15),%xmm1
  pxor   %xmm5,%xmm5
  movaps %xmm3,%xmm2
  mulss  %xmm1,%xmm2
  ucomiss %xmm2,%xmm5
  ja     L124
  sqrtss %xmm2,%xmm2
L117:
  pxor   %xmm0,%xmm0
  mov    %r14,%rdi
  cvtss2sd %xmm2,%xmm2
  cvtss2sd %xmm1,%xmm1
  cvtss2sd %xmm3,%xmm0
  pxor   %xmm3,%xmm3
  add    $0x4,%rbx
  add    $0x4,%r15
  mov    $0x4,%eax
  cvtss2sd -0x4(%rbx),%xmm3
  call   <printf@plt>
  movss  -0x4(%rbx),%xmm0
  maxss  0xc(%rsp),%xmm0
  movss  %xmm0,0xc(%rsp)
  cmp    %r13,%rbx
  jne    L15
  lea    D105(%rip),%rdi
  lea    D6(%rip),%r14
  call   <puts@plt>
  movss  0xc(%rsp),%xmm6
  pxor   %xmm1,%xmm1
  lea    D94(%rip),%rdi
  mov    $0x2,%eax
  movaps %xmm6,%xmm0
  subss  0x18(%rsp),%xmm0
  cvtss2sd %xmm6,%xmm1
  cvtss2sd %xmm0,%xmm0
  call   <printf@plt>
  lea    D98(%rip),%rax
  mov    %rax,%rdi
  mov    %rax,0x10(%rsp)
  call   <puts@plt>
  nopw   0x0(%rax,%rax,1)
L157:
  movss  -0x4(%r12),%xmm0
  mulss  (%r12),%xmm0
  pxor   %xmm7,%xmm7
  ucomiss %xmm0,%xmm7
  ja     L151
  sqrtss %xmm0,%xmm0
L144:
  mov    %r14,%rdi
  mov    $0x1,%eax
  cvtss2sd %xmm0,%xmm0
  call   <printf@plt>
  movss  0x0(%rbp),%xmm0
  subss  0xc(%rsp),%xmm0
  movss  0x18(%rsp),%xmm4
  addss  %xmm4,%xmm0
  divss  %xmm4,%xmm0
  mulss  D70(%rip),%xmm0
  cvttss2si %xmm0,%ebx
  test   %ebx,%ebx
  jle    L65
  xor    %r15d,%r15d
  nop
L54:
  mov    $0x2a,%edi
  add    $0x1,%r15d
  call   <putchar@plt>
  cmp    %r15d,%ebx
  jne    L54
  cmp    $0x45,%ebx
  jle    L75
  jmp    L146
  nopw   0x0(%rax,%rax,1)
L77:
  mov    $0x7c,%edi
  call   <putchar@plt>
  cmp    $0x46,%ebx
  je     L146
L75:
  add    $0x1,%ebx
  imul   $0xcccccccd,%ebx,%eax
  ror    %eax
  cmp    $0x19999999,%eax
  jbe    L77
  mov    $0x20,%edi
  call   <putchar@plt>
  cmp    $0x46,%ebx
  jne    L75
L146:
  mov    $0xa,%edi
  add    $0x4,%rbp
  add    $0x4,%r12
  call   <putchar@plt>
  cmp    %r13,%rbp
  jne    L157
L137:
  mov    0x10(%rsp),%rdi
  add    $0x28,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  jmp    1090 <puts@plt>
  nopl   0x0(%rax,%rax,1)
L65:
  xor    %ebx,%ebx
  jmp    L75
L14:
  lea    D105(%rip),%rdi
  call   <puts@plt>
  movss  D8(%rip),%xmm0
  subss  0x18(%rsp),%xmm0
  lea    D94(%rip),%rdi
  movsd  D13(%rip),%xmm1
  mov    $0x2,%eax
  cvtss2sd %xmm0,%xmm0
  call   <printf@plt>
  lea    D98(%rip),%rax
  mov    %rax,%rdi
  mov    %rax,0x10(%rsp)
  call   <puts@plt>
  jmp    L137
L124:
  movaps %xmm2,%xmm0
  movss  %xmm1,0x1c(%rsp)
  movss  %xmm3,0x10(%rsp)
  call   <sqrtf@plt>
  movss  0x1c(%rsp),%xmm1
  movss  0x10(%rsp),%xmm3
  movaps %xmm0,%xmm2
  jmp    L117
L151:
  call   <sqrtf@plt>
  jmp    L144
```

tool_calls: name: parse_data
arguments: tag: D120
datatype: string
name: parse_data
arguments: tag: D8
datatype: byte[4]
name: parse_data
arguments: tag: D110
datatype: string
name: parse_data
arguments: tag: D105
datatype: string
name: parse_data
arguments: tag: D6
datatype: string
name: parse_data
arguments: tag: D94
datatype: string
name: parse_data
arguments: tag: D98
datatype: string
name: parse_data
arguments: tag: D70
datatype: byte[4]
name: parse_data
arguments: tag: D13
datatype: byte[8]

tool: D120: 
 Final results of 1/3 octave analysis.

tool: {"D8": [0x00,0x00,0xc8,0xc2]}

tool: D110: Band %6.1f Hz - %6.1f Hz around %6.1f Hz: %5.2f dB/YREF*Hz


tool: D105: 
    1/3 octave analysis, plot


tool: D6: %-6.0f: 

tool: D94:      %2.1f                                                                %2.1f


tool: D98:       +----------------------------------------------------------------------+

tool: {"D70": [0x00,0x00,0x8c,0x42]}

tool: {"D13": [0x00,0x00,0x00,0x00,0x00,0x00,0x59,0xc0]}

assistant: ```c
void printBandsOnScreen(int octn, float *limits, float *calcvalues, float vrange) {
  int i;
  int val;
  int countthirdoct = 0;
  float octaveinflimit;
  float octavesuplimit;
  float centraloct;
  float max = -100.0f;
  printf("\n Final results of 1/3 octave analysis.\n");
  for (i = 0; i < octn; ++i) {
    octaveinflimit = limits[i];
    octavesuplimit = limits[i + 1];
    centraloct = sqrt(octavesuplimit * octaveinflimit);
    printf("Band %6.1f Hz - %6.1f Hz around %6.1f Hz: %5.2f dB/YREF*Hz\n", octaveinflimit, octavesuplimit, centraloct, calcvalues[i]);
    if (calcvalues[i] > max)
      max = calcvalues[i];
  }
  printf("\n    1/3 octave analysis, plot\n\n");
  int ncol = 70;
  int k;
  int lenline;
  printf("     %2.1f                                                                %2.1f\n", max - vrange, max);
  printf("      +----------------------------------------------------------------------+\n");
  for (i = 0; i < octn; ++i) {
    octaveinflimit = limits[i];
    octavesuplimit = limits[i + 1];
    centraloct = sqrt(octavesuplimit * octaveinflimit);
    printf("%-6.0f: ", centraloct);
    lenline = (calcvalues[i] - max + vrange) / (vrange)*ncol;
    for (k = 0; k < lenline; ++k)
      printf("*");
    for (; k < ncol; ++k) {
      if ((k + 1) % 10 == 0)
        printf("|");
      else
        printf(" ");
    }
    printf("\n");
  }
  printf("      +----------------------------------------------------------------------+\n");
}
```