user: 请显示与下面列出的汇编代码相匹配的C语言实现：

```asm
<main>:
  endbr64
  push   %r15
  pxor   %xmm0,%xmm0
  push   %r14
  push   %r13
  lea    D106(%rip),%r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x58,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x48(%rsp)
  xor    %eax,%eax
  movaps %xmm0,0x20(%rsp)
  movaps %xmm0,0x30(%rsp)
  movl   $0x0,0x40(%rsp)
  movl   $0x1,0x1c(%rsp)
  call   <clrscr@plt>
  mov    %r13,%rdi
  call   <puts@plt>
  cmpl   $0x1,0x1c(%rsp)
  movl   $0x0,0xc(%rsp)
  jne    L114
  lea    0x1c(%rsp),%rax
  lea    D85(%rip),%r12
  mov    %rax,(%rsp)
  lea    0x18(%rsp),%rbp
  lea    D37(%rip),%rbx
  lea    D91(%rip),%r15
  nopw   0x0(%rax,%rax,1)
L40:
  movl   $0xfffffffd,0x18(%rsp)
  nopl   0x0(%rax,%rax,1)
L57:
  mov    %r12,%rdi
  xor    %eax,%eax
  call   <printf@plt>
  mov    %rbp,%rsi
  mov    %rbx,%rdi
  call   <scanf@plt>
  mov    0x18(%rsp),%eax
  test   %eax,%eax
  js     L57
  pxor   %xmm0,%xmm0
  mov    %r15,%rdi
  cvtsi2sd %eax,%xmm0
  mulsd  D38(%rip),%xmm0
  xor    %eax,%eax
  addsd  D89(%rip),%xmm0
  cvttsd2si %xmm0,%r14d
  mov    %r14d,%esi
  call   <printf@plt>
  cmp    $0x12b,%r14d
  jg     L10
  addl   $0x1,0x20(%rsp)
L204:
  mov    %r13,%rdi
  call   <puts@plt>
  lea    D82(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  mov    (%rsp),%rsi
  mov    %rbx,%rdi
  call   <scanf@plt>
  mov    %r13,%rdi
  call   <puts@plt>
  mov    %r13,%rdi
  call   <puts@plt>
  cmpl   $0x1,0x1c(%rsp)
  je     L40
L114:
  lea    0x20(%rsp),%rbx
  mov    $0xc7,%r15d
  lea    D68(%rip),%r14
  lea    D72(%rip),%r12
  lea    D83(%rip),%rbp
  cs nopw 0x0(%rax,%rax,1)
L82:
  lea    0x1(%r15),%esi
  mov    %r14,%rdi
  xor    %eax,%eax
  add    $0x64,%r15d
  call   <printf@plt>
  mov    %r15d,%esi
  mov    %r12,%rdi
  xor    %eax,%eax
  call   <printf@plt>
  mov    (%rbx),%esi
  mov    %rbp,%rdi
  xor    %eax,%eax
  add    $0x4,%rbx
  call   <printf@plt>
  cmp    $0x3e7,%r15d
  jne    L82
  mov    0xc(%rsp),%esi
  lea    D9(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  mov    %r13,%rdi
  call   <puts@plt>
  mov    0x48(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L182
  add    $0x58,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  nopl   (%rax)
L10:
  cmp    $0x18f,%r14d
  jg     L37
  addl   $0x1,0x24(%rsp)
  jmp    L204
  nopl   0x0(%rax,%rax,1)
L37:
  cmp    $0x1f3,%r14d
  jg     L1
  addl   $0x1,0x28(%rsp)
  jmp    L204
  nopl   0x0(%rax,%rax,1)
L1:
  cmp    $0x257,%r14d
  jg     L156
  addl   $0x1,0x2c(%rsp)
  jmp    L204
L156:
  cmp    $0x2bb,%r14d
  jg     L131
  addl   $0x1,0x30(%rsp)
  jmp    L204
L131:
  cmp    $0x31f,%r14d
  jle    L43
  cmp    $0x383,%r14d
  jg     L25
  addl   $0x1,0x38(%rsp)
  jmp    L204
L43:
  addl   $0x1,0x34(%rsp)
  jmp    L204
L25:
  cmp    $0x3e7,%r14d
  jg     L42
  addl   $0x1,0x3c(%rsp)
  jmp    L204
L42:
  addl   $0x1,0xc(%rsp)
  mov    0xc(%rsp),%eax
  mov    %eax,0x40(%rsp)
  jmp    L204
L182:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: read_data
arguments: label: D106
type: string
name: read_data
arguments: label: D85
type: string
name: read_data
arguments: label: D37
type: string
name: read_data
arguments: label: D91
type: string
name: read_data
arguments: label: D38
type: f64
name: read_data
arguments: label: D89
type: byte[8]
name: read_data
arguments: label: D82
type: string
name: read_data
arguments: label: D68
type: string
name: read_data
arguments: label: D72
type: string
name: read_data
arguments: label: D83
type: string
name: read_data
arguments: label: D9
type: string

tool: D106: ----------

tool: D85: Sales:	

tool: D37: %d

tool: D91: Salary:	%d


tool: D38: 0.09

tool: {"D89": [0x00,0x00,0x00,0x00,0x00,0x00,0x69,0x40]}

tool: D82: Continue? (1 = yes, 0 = no) 

tool: D68: %d - 

tool: D72: %d:	

tool: D83: %d


tool: D9: 1000+    :	%d


assistant: ```c
void main() {
  int ranges[9] = {0};
  int curSale;
  int curTotal;
  int cont = 1;
  int numPref = 199;
  int i;
  clrscr();
  printf("----------\n");
  while (cont == 1) {
    curSale = -3;
    while (curSale < 0) {
      printf("Sales:\t");
      scanf("%d", &curSale);
    }
    curTotal = 200 + (0.09 * curSale);
    printf("Salary:\t%d\n", curTotal);
    if (curTotal <= 299) {
      ranges[0] += 1;
    } else if (curTotal <= 399) {
      ranges[1] += 1;
    } else if (curTotal <= 499) {
      ranges[2] += 1;
    } else if (curTotal <= 599) {
      ranges[3] += 1;
    } else if (curTotal <= 699) {
      ranges[4] += 1;
    } else if (curTotal <= 799) {
      ranges[5] += 1;
    } else if (curTotal <= 899) {
      ranges[6] += 1;
    } else if (curTotal <= 999) {
      ranges[7] += 1;
    } else {
      ranges[8] += 1;
    }
    printf("----------\n");
    printf("Continue? (1 = yes, 0 = no) ");
    scanf("%d", &cont);
    printf("----------\n");
    printf("----------\n");
  }
  for (i = 0; i <= 7; i += 1) {
    numPref += 1;
    printf("%d - ", numPref);
    numPref += 99;
    printf("%d:\t", numPref);
    printf("%d\n", ranges[i]);
  }
  printf("1000+    :\t%d\n", ranges[i]);
  printf("----------\n");
}
```