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

```asm
<main>:
  endbr64
  sub    $0x28,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x18(%rsp)
  xor    %eax,%eax
  movl   $0x0,0x10(%rsp)
  movl   $0x0,0x14(%rsp)
  lea    D14(%rip),%rdi
  call   <puts@plt>
  lea    0x10(%rsp),%rdx
  lea    0x14(%rsp),%rsi
  lea    D200(%rip),%rdi
  call   <scanf@plt>
  mov    0x14(%rsp),%eax
  pxor   %xmm0,%xmm0
  cvtsi2ss %eax,%xmm0
  mulss  0x10(%rsp),%xmm0
  movss  D197(%rip),%xmm1
  comiss %xmm0,%xmm1
  jbe    L112
  mulss  D31(%rip),%xmm0
  addss  D75(%rip),%xmm0
L119:
  movss  D133(%rip),%xmm1
  comiss %xmm0,%xmm1
  jbe    L91
  movaps %xmm1,%xmm0
L91:
  cmp    $0x7cf,%eax
  jg     L6
  pxor   %xmm1,%xmm1
  cvtsi2sd %eax,%xmm1
  mulsd  D119(%rip),%xmm1
  addsd  D9(%rip),%xmm1
  pxor   %xmm2,%xmm2
  cvtsd2ss %xmm1,%xmm2
  movss  %xmm2,0xc(%rsp)
L62:
  cvtss2sd %xmm0,%xmm0
  lea    D56(%rip),%rdi
  mov    $0x1,%eax
  call   <printf@plt>
  pxor   %xmm0,%xmm0
  cvtss2sd 0xc(%rsp),%xmm0
  lea    D92(%rip),%rdi
  mov    $0x1,%eax
  call   <printf@plt>
  mov    0x18(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L31
  mov    $0x0,%eax
  add    $0x28,%rsp
  ret
L112:
  movss  D36(%rip),%xmm1
  comiss %xmm0,%xmm1
  jbe    L100
  mulss  D66(%rip),%xmm0
  addss  D155(%rip),%xmm0
  jmp    L119
L100:
  movss  D225(%rip),%xmm1
  comiss %xmm0,%xmm1
  jbe    L90
  cvtss2sd %xmm0,%xmm0
  mulsd  D82(%rip),%xmm0
  addsd  D105(%rip),%xmm0
  cvtsd2ss %xmm0,%xmm0
  jmp    L119
L90:
  movss  D142(%rip),%xmm1
  comiss %xmm0,%xmm1
  jbe    L22
  cvtss2sd %xmm0,%xmm0
  mulsd  D169(%rip),%xmm0
  addsd  D37(%rip),%xmm0
  cvtsd2ss %xmm0,%xmm0
  jmp    L119
L22:
  cvtss2sd %xmm0,%xmm0
  mulsd  D195(%rip),%xmm0
  addsd  D191(%rip),%xmm0
  cvtsd2ss %xmm0,%xmm0
  jmp    L119
L6:
  pxor   %xmm1,%xmm1
  cvtsi2sd %eax,%xmm1
  mulsd  D163(%rip),%xmm1
  addsd  D9(%rip),%xmm1
  pxor   %xmm3,%xmm3
  cvtsd2ss %xmm1,%xmm3
  movss  %xmm3,0xc(%rsp)
  jmp    L62
L31:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: read_data
arguments: label: D14
type_guessed: string
name: read_data
arguments: label: D200
type_guessed: string
name: read_data
arguments: label: D197
type_guessed: byte[4]
name: read_data
arguments: label: D31
type_guessed: byte[4]
name: read_data
arguments: label: D75
type_guessed: byte[4]
name: read_data
arguments: label: D133
type_guessed: byte[4]
name: read_data
arguments: label: D119
type_guessed: byte[8]
name: read_data
arguments: label: D9
type_guessed: f32[2]
name: read_data
arguments: label: D56
type_guessed: string
name: read_data
arguments: label: D92
type_guessed: string
name: read_data
arguments: label: D36
type_guessed: byte[4]
name: read_data
arguments: label: D66
type_guessed: byte[4]
name: read_data
arguments: label: D155
type_guessed: byte[4]
name: read_data
arguments: label: D225
type_guessed: byte[4]
name: read_data
arguments: label: D82
type_guessed: byte[8]
name: read_data
arguments: label: D105
type_guessed: f32[2]
name: read_data
arguments: label: D142
type_guessed: byte[4]
name: read_data
arguments: label: D169
type_guessed: byte[8]
name: read_data
arguments: label: D37
type_guessed: f32[2]
name: read_data
arguments: label: D195
type_guessed: byte[8]
name: read_data
arguments: label: D191
type_guessed: f32[2]
name: read_data
arguments: label: D163
type_guessed: byte[8]

tool: D14: enter the amount and price of trade: (xxx * xxx)

tool: D200: %d * %f

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

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

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

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

tool: {"D119": [0xb8,0x1e,0x85,0xeb,0x51,0xb8,0x9e,0x3f]}

tool: {"D9": [0.0,3.0078125]}

tool: D56: comission: $%.2f


tool: D92: comission_of_competor: $%.2f


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

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

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

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

tool: {"D82": [0x5f,0x07,0xce,0x19,0x51,0xda,0x6b,0x3f]}

tool: {"D105": [0.0,3.390625]}

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

tool: {"D169": [0x2f,0x6e,0xa3,0x01,0xbc,0x05,0x62,0x3f]}

tool: {"D37": [0.0,3.552734375]}

tool: {"D195": [0x92,0xcb,0x7f,0x48,0xbf,0x7d,0x4d,0x3f]}

tool: {"D191": [0.0,3.748046875]}

tool: {"D163": [0x7b,0x14,0xae,0x47,0xe1,0x7a,0x94,0x3f]}

assistant: ```c
int main(void) {
  float comission = 0, comission_of_competor = 0, price = 0;
  int amount = 0;
  printf("enter the amount and price of trade: (xxx * xxx)\n");
  scanf("%d * %f", &amount, &price);
  float value = amount * price;
  if (value < 2500.00f) {
    comission = 30.00f + .017f * value;
  } else if (value < 6250.00f) {
    comission = 76.00f + .0066f * value;
  } else if (value < 20000.00f) {
    comission = 100.00f + .0034 * value;
  } else if (value < 50000.00f) {
    comission = 155.00f + .0022 * value;
  } else {
    comission = 255.00f + .0009 * value;
  }
  if (comission < 39.00f)
    comission = 39.00f;
  if (amount < 2000) {
    comission_of_competor = amount * .03 + 33;
  } else {
    comission_of_competor = amount * .02 + 33;
  }
  printf("comission: $%.2f\n", comission);
  printf("comission_of_competor: $%.2f\n", comission_of_competor);
  return 0;
}
```