user: 下面的汇编指令对应的C源代码是什么:

```asm
<AskForBonus>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x8,%rsp
  mov    %rdi,%r12
  mov    %rsi,%rbp
  mov    %rdx,%r15
  mov    %rcx,%r14
  mov    %r8,%rbx
  lea    D53(%rip),%rdi
  call   <printf@plt>
  lea    D106(%rip),%rdi
  call   <printf@plt>
  lea    D40(%rip),%rdi
  call   <printf@plt>
  lea    D81(%rip),%rdi
  call   <printf@plt>
  lea    D95(%rip),%rdi
  call   <printf@plt>
  mov    %r12,%rsi
  lea    D94(%rip),%rdi
  mov    $0x0,%eax
  call   <scanf@plt>
  lea    D75(%rip),%r13
  lea    D94(%rip),%r12
L9:
  mov    %r13,%rdi
  call   <printf@plt>
  mov    %rbp,%rsi
  mov    %r12,%rdi
  mov    $0x0,%eax
  call   <scanf@plt>
  cmpl   $0x1,0x0(%rbp)
  ja     L9
  lea    D23(%rip),%rdi
  call   <printf@plt>
  mov    %r15,%rsi
  lea    D94(%rip),%rbp
  mov    %rbp,%rdi
  mov    $0x0,%eax
  call   <scanf@plt>
  lea    D31(%rip),%rdi
  call   <printf@plt>
  mov    %r14,%rsi
  mov    %rbp,%rdi
  mov    $0x0,%eax
  call   <scanf@plt>
  lea    D33(%rip),%r12
L16:
  mov    %r12,%rdi
  call   <printf@plt>
  mov    %rbx,%rsi
  mov    %rbp,%rdi
  mov    $0x0,%eax
  call   <scanf@plt>
  cmpl   $0x1,(%rbx)
  ja     L16
  add    $0x8,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
```

tool_calls: name: read_data
arguments: data_tag: D53
data_type: string
name: read_data
arguments: data_tag: D106
data_type: string
name: read_data
arguments: data_tag: D40
data_type: string
name: read_data
arguments: data_tag: D81
data_type: string
name: read_data
arguments: data_tag: D95
data_type: string
name: read_data
arguments: data_tag: D94
data_type: string
name: read_data
arguments: data_tag: D75
data_type: string
name: read_data
arguments: data_tag: D23
data_type: string
name: read_data
arguments: data_tag: D31
data_type: string
name: read_data
arguments: data_tag: D33
data_type: string

tool: D53: ToBeFree's Dice Fight Probability Calculator, version 1.42.2


tool: D106: This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more details.


tool: D40: GPL 3.0, https://github.com/ToBeFree/DiceCalculator



tool: D81: When the simulation is running, press Ctrl+C to exit.


tool: D95: Enter integer bonus (e.g. 1 or -2): 

tool: D94: %d

tool: D75: Add 0.5 to the bonus? (0 for no, 1 for yes): 

tool: D23: How many dice? 

tool: D31: How many sides per die? 

tool: D33: Enable fast calculation mode (print each 100,000,000th line only)? (0 for no, 1 for yes): 

assistant: ```c
void AskForBonus(int *bonus, int *floatbonus, unsigned int *numberofdice, unsigned int *numberofsides, int *fastmode) {
  printf("ToBeFree's Dice Fight Probability Calculator, version 1.42.2\n");
  printf("This program is distributed in the hope that it will be useful, "
         "but WITHOUT ANY WARRANTY; "
         "without even the implied warranty of MERCHANTABILITY "
         "or FITNESS FOR A PARTICULAR PURPOSE.  See the "
         "GNU General Public License for more details.\n");
  printf("GPL 3.0, https://github.com/ToBeFree/DiceCalculator\n\n");
  printf("When the simulation is running, press Ctrl+C to exit.\n");
  printf("Enter integer bonus (e.g. 1 or -2): ");
  scanf("%d", bonus);
  do {
    printf("Add 0.5 to the bonus? (0 for no, 1 for yes): ");
    scanf("%d", floatbonus);
  } while (((*floatbonus) != 0) && ((*floatbonus) != 1));
  printf("How many dice? ");
  scanf("%d", numberofdice);
  printf("How many sides per die? ");
  scanf("%d", numberofsides);
  do {
    printf("Enable fast calculation mode (print each 100,000,000th line only)? "
           "(0 for no, 1 for yes): ");
    scanf("%d", fastmode);
  } while (((*fastmode) != 0) && ((*fastmode) != 1));
}
```