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

```asm
<main>:
  endbr64
  sub    $0x18,%rsp
  lea    D84(%rip),%rdi
  mov    %fs:0x28,%rax
  mov    %rax,0x8(%rsp)
  xor    %eax,%eax
  call   <printf@plt>
  mov    %rsp,%rsi
  lea    D88(%rip),%rdi
  xor    %eax,%eax
  call   <scanf@plt>
  lea    D21(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  xor    %eax,%eax
  lea    0x4(%rsp),%rsi
  lea    D67(%rip),%rdi
  call   <scanf@plt>
  pxor   %xmm0,%xmm0
  movss  D268(%rip),%xmm1
  cvtsi2ssl (%rsp),%xmm0
  mulss  0x4(%rsp),%xmm0
  comiss %xmm0,%xmm1
  jbe    L99
  mulss  D85(%rip),%xmm0
  addss  D144(%rip),%xmm0
L66:
  movss  D177(%rip),%xmm1
  lea    D134(%rip),%rdi
  mov    $0x1,%eax
  maxss  %xmm0,%xmm1
  pxor   %xmm0,%xmm0
  cvtss2sd %xmm1,%xmm0
  call   <printf@plt>
  mov    (%rsp),%eax
  pxor   %xmm0,%xmm0
  cvtsi2ss %eax,%xmm0
  cmp    $0x7d0,%eax
  jle    L97
  mulss  D184(%rip),%xmm0
L128:
  addss  D29(%rip),%xmm0
  lea    D18(%rip),%rdi
  mov    $0x1,%eax
  cvtss2sd %xmm0,%xmm0
  call   <printf@plt>
  mov    0x8(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L105
  xor    %eax,%eax
  add    $0x18,%rsp
  ret
L99:
  movss  D228(%rip),%xmm1
  comiss %xmm0,%xmm1
  jbe    L100
  mulss  D71(%rip),%xmm0
  addss  D56(%rip),%xmm0
  jmp    L66
L97:
  mulss  D121(%rip),%xmm0
  jmp    L128
L100:
  movss  D24(%rip),%xmm1
  comiss %xmm0,%xmm1
  ja     L127
  movss  D55(%rip),%xmm1
  comiss %xmm0,%xmm1
  jbe    L76
  mulss  D135(%rip),%xmm0
  addss  D140(%rip),%xmm0
  jmp    L66
L127:
  mulss  D149(%rip),%xmm0
  addss  D16(%rip),%xmm0
  jmp    L66
L76:
  movss  D147(%rip),%xmm1
  comiss %xmm0,%xmm1
  jbe    L21
  mulss  D169(%rip),%xmm0
  addss  D20(%rip),%xmm0
  jmp    L66
L21:
  mulss  D197(%rip),%xmm0
  addss  D17(%rip),%xmm0
  jmp    L66
L105:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: parse_data
arguments: data_label: D84
type_guessed: string
name: parse_data
arguments: data_label: D88
type_guessed: string
name: parse_data
arguments: data_label: D21
type_guessed: string
name: parse_data
arguments: data_label: D67
type_guessed: string
name: parse_data
arguments: data_label: D268
type_guessed: byte[4]
name: parse_data
arguments: data_label: D85
type_guessed: byte[4]
name: parse_data
arguments: data_label: D144
type_guessed: byte[4]
name: parse_data
arguments: data_label: D177
type_guessed: byte[4]
name: parse_data
arguments: data_label: D134
type_guessed: string
name: parse_data
arguments: data_label: D184
type_guessed: byte[4]
name: parse_data
arguments: data_label: D29
type_guessed: byte[4]
name: parse_data
arguments: data_label: D18
type_guessed: string
name: parse_data
arguments: data_label: D228
type_guessed: byte[4]
name: parse_data
arguments: data_label: D71
type_guessed: byte[4]
name: parse_data
arguments: data_label: D56
type_guessed: byte[4]
name: parse_data
arguments: data_label: D121
type_guessed: byte[4]
name: parse_data
arguments: data_label: D24
type_guessed: byte[4]
name: parse_data
arguments: data_label: D55
type_guessed: byte[4]
name: parse_data
arguments: data_label: D135
type_guessed: byte[4]
name: parse_data
arguments: data_label: D140
type_guessed: byte[4]
name: parse_data
arguments: data_label: D149
type_guessed: byte[4]
name: parse_data
arguments: data_label: D16
type_guessed: byte[4]
name: parse_data
arguments: data_label: D147
type_guessed: byte[4]
name: parse_data
arguments: data_label: D169
type_guessed: byte[4]
name: parse_data
arguments: data_label: D20
type_guessed: byte[4]
name: parse_data
arguments: data_label: D197
type_guessed: byte[4]
name: parse_data
arguments: data_label: D17
type_guessed: byte[4]

tool: D84: Enter number of shares: 

tool: D88: %d

tool: D21: Enter price per share: 

tool: D67: %f

tool: {"D268": [0x00,0x40,0x1c,0x45]}

tool: {"D85": [0x96,0x43,0x8b,0x3c]}

tool: {"D144": [0x00,0x00,0xf0,0x41]}

tool: {"D177": [0x00,0x00,0x1c,0x42]}

tool: D134: Commission: $%.2f


tool: {"D184": [0x0a,0xd7,0xa3,0x3c]}

tool: {"D29": [0x00,0x00,0x04,0x42]}

tool: D18: Rivals comission: $%.2f


tool: {"D228": [0x00,0x50,0xc3,0x45]}

tool: {"D71": [0xd0,0x44,0xd8,0x3b]}

tool: {"D56": [0x00,0x00,0x60,0x42]}

tool: {"D121": [0x8f,0xc2,0xf5,0x3c]}

tool: {"D24": [0x00,0x40,0x9c,0x46]}

tool: {"D55": [0x00,0x50,0x43,0x47]}

tool: {"D135": [0xe0,0x2d,0x10,0x3b]}

tool: {"D140": [0x00,0x00,0xc8,0x42]}

tool: {"D149": [0x89,0xd2,0x5e,0x3b]}

tool: {"D16": [0x00,0x00,0x98,0x42]}

tool: {"D147": [0x00,0x24,0xf4,0x48]}

tool: {"D169": [0xe0,0x2d,0x90,0x3a]}

tool: {"D20": [0x00,0x00,0x1b,0x43]}

tool: {"D197": [0xfa,0xed,0x6b,0x3a]}

tool: {"D17": [0x00,0x00,0x7f,0x43]}

assistant: ```c
int main(void) {
  int num;
  float commission, price, competitor, value;
  printf("Enter number of shares: ");
  scanf("%d", &num);
  printf("Enter price per share: ");
  scanf("%f", &price);
  value = num * price;
  if (value < 2500.00f)
    commission = 30.00f + .017f * value;
  else if (value < 6250.00f)
    commission = 56.00f + .0066f * value;
  else if (value < 20000.00f)
    commission = 76.00f + .0034f * value;
  else if (value < 50000.00f)
    commission = 100.00f + .0022f * value;
  else if (value < 500000.00f)
    commission = 155.00f + .0011f * value;
  else
    commission = 255.00f + .0009f * value;
  if (commission < 39.00f)
    commission = 39.00f;
  printf("Commission: $%.2f\n", commission);
  printf("Rivals comission: $%.2f\n", 33.00f + (num > 2000 ? num * .02f : num * .03f));
  return 0;
}
```