user: 请从给定的汇编指令推导出C源代码:

```asm
<main>:
  endbr64
  push   %r15
  pxor   %xmm0,%xmm0
  push   %r14
  push   %r13
  lea    D33(%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    L106
  lea    0x1c(%rsp),%rax
  lea    D10(%rip),%r12
  mov    %rax,(%rsp)
  lea    0x18(%rsp),%rbp
  lea    D31(%rip),%rbx
  lea    D46(%rip),%r15
  nopw   0x0(%rax,%rax,1)
L7:
  movl   $0xfffffffd,0x18(%rsp)
  nopl   0x0(%rax,%rax,1)
L95:
  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     L95
  pxor   %xmm0,%xmm0
  mov    %r15,%rdi
  cvtsi2sd %eax,%xmm0
  mulsd  D5(%rip),%xmm0
  xor    %eax,%eax
  addsd  D20(%rip),%xmm0
  cvttsd2si %xmm0,%r14d
  mov    %r14d,%esi
  call   <printf@plt>
  cmp    $0x12b,%r14d
  jg     L4
  addl   $0x1,0x20(%rsp)
L164:
  mov    %r13,%rdi
  call   <puts@plt>
  lea    D89(%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     L7
L106:
  lea    0x20(%rsp),%rbx
  mov    $0xc7,%r15d
  lea    D49(%rip),%r14
  lea    D16(%rip),%r12
  lea    D43(%rip),%rbp
  cs nopw 0x0(%rax,%rax,1)
L187:
  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    L187
  mov    0xc(%rsp),%esi
  lea    D105(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  mov    %r13,%rdi
  call   <puts@plt>
  mov    0x48(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L16
  add    $0x58,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  nopl   (%rax)
L4:
  cmp    $0x18f,%r14d
  jg     L195
  addl   $0x1,0x24(%rsp)
  jmp    L164
  nopl   0x0(%rax,%rax,1)
L195:
  cmp    $0x1f3,%r14d
  jg     L14
  addl   $0x1,0x28(%rsp)
  jmp    L164
  nopl   0x0(%rax,%rax,1)
L14:
  cmp    $0x257,%r14d
  jg     L61
  addl   $0x1,0x2c(%rsp)
  jmp    L164
L61:
  cmp    $0x2bb,%r14d
  jg     L50
  addl   $0x1,0x30(%rsp)
  jmp    L164
L50:
  cmp    $0x31f,%r14d
  jle    L159
  cmp    $0x383,%r14d
  jg     L80
  addl   $0x1,0x38(%rsp)
  jmp    L164
L159:
  addl   $0x1,0x34(%rsp)
  jmp    L164
L80:
  cmp    $0x3e7,%r14d
  jg     L76
  addl   $0x1,0x3c(%rsp)
  jmp    L164
L76:
  addl   $0x1,0xc(%rsp)
  mov    0xc(%rsp),%eax
  mov    %eax,0x40(%rsp)
  jmp    L164
L16:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: disassemble_data
arguments: data_label: D33
data_type: string
name: disassemble_data
arguments: data_label: D10
data_type: string
name: disassemble_data
arguments: data_label: D31
data_type: string
name: disassemble_data
arguments: data_label: D46
data_type: string
name: disassemble_data
arguments: data_label: D5
data_type: f64
name: disassemble_data
arguments: data_label: D20
data_type: byte[8]
name: disassemble_data
arguments: data_label: D89
data_type: string
name: disassemble_data
arguments: data_label: D49
data_type: string
name: disassemble_data
arguments: data_label: D16
data_type: string
name: disassemble_data
arguments: data_label: D43
data_type: string
name: disassemble_data
arguments: data_label: D105
data_type: string

tool: D33: ----------

tool: D10: Sales:	

tool: D31: %d

tool: D46: Salary:	%d


tool: D5: 0.09

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

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

tool: D49: %d - 

tool: D16: %d:	

tool: D43: %d


tool: D105: 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");
}
```