user: 请将这段汇编代码片段转换成等效的C代码：

```asm
<main>:
  endbr64
  push   %r15
  lea    D59(%rip),%rdi
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x38,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x28(%rsp)
  xor    %eax,%eax
  lea    0x24(%rsp),%rsi
  movl   $0x0,0x24(%rsp)
  call   <scanf@plt>
  cmpl   $0xb,0x24(%rsp)
  ja     L91
  mov    0x24(%rsp),%eax
  lea    D405(%rip),%rdx
  movslq (%rdx,%rax,4),%rax
  add    %rdx,%rax
  notrack jmp *%rax
  lea    D567(%rip),%rax
  lea    D650(%rip),%rbx
  mov    %rax,(%rsp)
  lea    D337(%rip),%rax
  lea    D241(%rip),%rbp
  mov    %rax,0x8(%rsp)
  lea    D302(%rip),%rax
  lea    D463(%rip),%r12
  mov    %rax,0x10(%rsp)
  lea    D193(%rip),%r13
  lea    D511(%rip),%r14
  lea    D209(%rip),%r15
  lea    D379(%rip),%r9
  nop
L25:
  mov    %rbx,%rdi
  mov    %r9,0x18(%rsp)
  call   <printf@plt>
  mov    %rbp,%rdi
  call   <printf@plt>
  mov    %r12,%rdi
  call   <printf@plt>
  mov    %r13,%rdi
  call   <printf@plt>
  mov    %r14,%rdi
  call   <printf@plt>
  mov    %r15,%rdi
  call   <printf@plt>
  mov    (%rsp),%rdi
  call   <printf@plt>
  mov    0x8(%rsp),%rdi
  call   <printf@plt>
  mov    0x10(%rsp),%rdi
  call   <printf@plt>
  mov    0x18(%rsp),%rdi
  call   <printf@plt>
  lea    D510(%rip),%rdi
  call   <printf@plt>
L91:
  mov    0x28(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L57
  add    $0x38,%rsp
  xor    %eax,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  lea    D650(%rip),%rbx
L119:
  mov    %rbx,%rdi
  lea    D241(%rip),%rbp
  call   <printf@plt>
  mov    %rbp,%rdi
  call   <printf@plt>
L47:
  mov    %rbx,%rdi
  lea    D463(%rip),%r12
  call   <printf@plt>
  mov    %rbp,%rdi
  call   <printf@plt>
  mov    %r12,%rdi
  call   <printf@plt>
L11:
  mov    %rbx,%rdi
  lea    D193(%rip),%r13
  call   <printf@plt>
  mov    %rbp,%rdi
  call   <printf@plt>
  mov    %r12,%rdi
  call   <printf@plt>
  mov    %r13,%rdi
  call   <printf@plt>
L37:
  mov    %rbx,%rdi
  lea    D511(%rip),%r14
  call   <printf@plt>
  mov    %rbp,%rdi
  call   <printf@plt>
  mov    %r12,%rdi
  call   <printf@plt>
  mov    %r13,%rdi
  call   <printf@plt>
  mov    %r14,%rdi
  call   <printf@plt>
L27:
  mov    %rbx,%rdi
  lea    D209(%rip),%r15
  call   <printf@plt>
  mov    %rbp,%rdi
  call   <printf@plt>
  mov    %r12,%rdi
  call   <printf@plt>
  mov    %r13,%rdi
  call   <printf@plt>
  mov    %r14,%rdi
  call   <printf@plt>
  mov    %r15,%rdi
  call   <printf@plt>
L17:
  mov    %rbx,%rdi
  call   <printf@plt>
  mov    %rbp,%rdi
  call   <printf@plt>
  mov    %r12,%rdi
  call   <printf@plt>
  mov    %r13,%rdi
  call   <printf@plt>
  mov    %r14,%rdi
  call   <printf@plt>
  mov    %r15,%rdi
  call   <printf@plt>
  lea    D567(%rip),%rax
  mov    %rax,%rdi
  mov    %rax,(%rsp)
  call   <printf@plt>
L72:
  mov    %rbx,%rdi
  call   <printf@plt>
  mov    %rbp,%rdi
  call   <printf@plt>
  mov    %r12,%rdi
  call   <printf@plt>
  mov    %r13,%rdi
  call   <printf@plt>
  mov    %r14,%rdi
  call   <printf@plt>
  mov    %r15,%rdi
  call   <printf@plt>
  mov    (%rsp),%rdi
  call   <printf@plt>
  lea    D337(%rip),%rax
  mov    %rax,%rdi
  mov    %rax,0x8(%rsp)
  call   <printf@plt>
L81:
  mov    %rbx,%rdi
  call   <printf@plt>
  mov    %rbp,%rdi
  call   <printf@plt>
  mov    %r12,%rdi
  call   <printf@plt>
  mov    %r13,%rdi
  call   <printf@plt>
  mov    %r14,%rdi
  call   <printf@plt>
  mov    %r15,%rdi
  call   <printf@plt>
  mov    (%rsp),%rdi
  call   <printf@plt>
  mov    0x8(%rsp),%rdi
  call   <printf@plt>
  lea    D302(%rip),%rax
  mov    %rax,%rdi
  mov    %rax,0x10(%rsp)
  call   <printf@plt>
L90:
  mov    %rbx,%rdi
  call   <printf@plt>
  mov    %rbp,%rdi
  call   <printf@plt>
  mov    %r12,%rdi
  call   <printf@plt>
  mov    %r13,%rdi
  call   <printf@plt>
  mov    %r14,%rdi
  call   <printf@plt>
  mov    %r15,%rdi
  call   <printf@plt>
  mov    (%rsp),%rdi
  call   <printf@plt>
  mov    0x8(%rsp),%rdi
  call   <printf@plt>
  mov    0x10(%rsp),%rdi
  call   <printf@plt>
  lea    D379(%rip),%r9
  mov    %r9,%rdi
  mov    %r9,0x18(%rsp)
  call   <printf@plt>
  mov    0x18(%rsp),%r9
  jmp    L25
  lea    D650(%rip),%rbx
  lea    D241(%rip),%rbp
  jmp    L47
  lea    D650(%rip),%rbx
  lea    D241(%rip),%rbp
  lea    D463(%rip),%r12
  jmp    L11
  lea    D650(%rip),%rbx
  lea    D241(%rip),%rbp
  lea    D463(%rip),%r12
  lea    D193(%rip),%r13
  jmp    L37
  lea    D650(%rip),%rbx
  lea    D241(%rip),%rbp
  lea    D463(%rip),%r12
  lea    D193(%rip),%r13
  lea    D511(%rip),%r14
  jmp    L27
  lea    D650(%rip),%rbx
  lea    D241(%rip),%rbp
  lea    D463(%rip),%r12
  lea    D193(%rip),%r13
  lea    D511(%rip),%r14
  lea    D209(%rip),%r15
  jmp    L17
  lea    D567(%rip),%rax
  lea    D650(%rip),%rbx
  mov    %rax,(%rsp)
  lea    D241(%rip),%rbp
  lea    D463(%rip),%r12
  lea    D193(%rip),%r13
  lea    D511(%rip),%r14
  lea    D209(%rip),%r15
  jmp    L72
  lea    D567(%rip),%rax
  lea    D650(%rip),%rbx
  mov    %rax,(%rsp)
  lea    D337(%rip),%rax
  lea    D241(%rip),%rbp
  mov    %rax,0x8(%rsp)
  lea    D463(%rip),%r12
  lea    D193(%rip),%r13
  lea    D511(%rip),%r14
  lea    D209(%rip),%r15
  jmp    L81
  lea    D567(%rip),%rax
  lea    D650(%rip),%rbx
  mov    %rax,(%rsp)
  lea    D337(%rip),%rax
  lea    D241(%rip),%rbp
  mov    %rax,0x8(%rsp)
  lea    D302(%rip),%rax
  lea    D463(%rip),%r12
  mov    %rax,0x10(%rsp)
  lea    D193(%rip),%r13
  lea    D511(%rip),%r14
  lea    D209(%rip),%r15
  jmp    L90
  lea    D650(%rip),%rbx
  mov    %rbx,%rdi
  call   <printf@plt>
  jmp    L119
L57:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: read_data
arguments: data_tag: D59
data_type: string
name: read_data
arguments: data_tag: D567
data_type: string
name: read_data
arguments: data_tag: D650
data_type: string
name: read_data
arguments: data_tag: D337
data_type: string
name: read_data
arguments: data_tag: D241
data_type: string
name: read_data
arguments: data_tag: D302
data_type: string
name: read_data
arguments: data_tag: D463
data_type: string
name: read_data
arguments: data_tag: D193
data_type: string
name: read_data
arguments: data_tag: D511
data_type: string
name: read_data
arguments: data_tag: D209
data_type: string
name: read_data
arguments: data_tag: D379
data_type: string
name: read_data
arguments: data_tag: D510
data_type: string

tool: D59: %i

tool: D567:        *************


tool: D650:              *


tool: D337:       ***************


tool: D241:             ***


tool: D302:      *****************


tool: D463:            *****


tool: D193:           *******


tool: D511:          *********


tool: D209:         ***********


tool: D379:     *******************


tool: D510:    *********************


assistant: ```c
int main() {
  int chrs = 0;
  scanf("%i", &chrs);
  switch (chrs) {
  case 1:
    printf("             *\n");
  case 2:
    printf("             *\n");
    printf("            ***\n");
  case 3:
    printf("             *\n");
    printf("            ***\n");
    printf("           *****\n");
  case 4:
    printf("             *\n");
    printf("            ***\n");
    printf("           *****\n");
    printf("          *******\n");
  case 5:
    printf("             *\n");
    printf("            ***\n");
    printf("           *****\n");
    printf("          *******\n");
    printf("         *********\n");
  case 6:
    printf("             *\n");
    printf("            ***\n");
    printf("           *****\n");
    printf("          *******\n");
    printf("         *********\n");
    printf("        ***********\n");
  case 7:
    printf("             *\n");
    printf("            ***\n");
    printf("           *****\n");
    printf("          *******\n");
    printf("         *********\n");
    printf("        ***********\n");
    printf("       *************\n");
  case 8:
    printf("             *\n");
    printf("            ***\n");
    printf("           *****\n");
    printf("          *******\n");
    printf("         *********\n");
    printf("        ***********\n");
    printf("       *************\n");
    printf("      ***************\n");
  case 9:
    printf("             *\n");
    printf("            ***\n");
    printf("           *****\n");
    printf("          *******\n");
    printf("         *********\n");
    printf("        ***********\n");
    printf("       *************\n");
    printf("      ***************\n");
    printf("     *****************\n");
  case 10:
    printf("             *\n");
    printf("            ***\n");
    printf("           *****\n");
    printf("          *******\n");
    printf("         *********\n");
    printf("        ***********\n");
    printf("       *************\n");
    printf("      ***************\n");
    printf("     *****************\n");
    printf("    *******************\n");
  case 11:
    printf("             *\n");
    printf("            ***\n");
    printf("           *****\n");
    printf("          *******\n");
    printf("         *********\n");
    printf("        ***********\n");
    printf("       *************\n");
    printf("      ***************\n");
    printf("     *****************\n");
    printf("    *******************\n");
    printf("   *********************\n");
  }
  return 0;
}
```