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

```asm
<main>:
  endbr64
  push   %r15
  lea    D240(%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     L2
  mov    0x24(%rsp),%eax
  lea    D137(%rip),%rdx
  movslq (%rdx,%rax,4),%rax
  add    %rdx,%rax
  notrack jmp *%rax
  lea    D206(%rip),%rax
  lea    D458(%rip),%rbx
  mov    %rax,(%rsp)
  lea    D214(%rip),%rax
  lea    D44(%rip),%rbp
  mov    %rax,0x8(%rsp)
  lea    D319(%rip),%rax
  lea    D640(%rip),%r12
  mov    %rax,0x10(%rsp)
  lea    D573(%rip),%r13
  lea    D449(%rip),%r14
  lea    D3(%rip),%r15
  lea    D495(%rip),%r9
  nop
L65:
  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    D407(%rip),%rdi
  call   <printf@plt>
L2:
  mov    0x28(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L12
  add    $0x38,%rsp
  xor    %eax,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  lea    D458(%rip),%rbx
L91:
  mov    %rbx,%rdi
  lea    D44(%rip),%rbp
  call   <printf@plt>
  mov    %rbp,%rdi
  call   <printf@plt>
L15:
  mov    %rbx,%rdi
  lea    D640(%rip),%r12
  call   <printf@plt>
  mov    %rbp,%rdi
  call   <printf@plt>
  mov    %r12,%rdi
  call   <printf@plt>
L42:
  mov    %rbx,%rdi
  lea    D573(%rip),%r13
  call   <printf@plt>
  mov    %rbp,%rdi
  call   <printf@plt>
  mov    %r12,%rdi
  call   <printf@plt>
  mov    %r13,%rdi
  call   <printf@plt>
L1:
  mov    %rbx,%rdi
  lea    D449(%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>
L88:
  mov    %rbx,%rdi
  lea    D3(%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>
L19:
  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    D206(%rip),%rax
  mov    %rax,%rdi
  mov    %rax,(%rsp)
  call   <printf@plt>
L110:
  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    D214(%rip),%rax
  mov    %rax,%rdi
  mov    %rax,0x8(%rsp)
  call   <printf@plt>
L78:
  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    D319(%rip),%rax
  mov    %rax,%rdi
  mov    %rax,0x10(%rsp)
  call   <printf@plt>
L26:
  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    D495(%rip),%r9
  mov    %r9,%rdi
  mov    %r9,0x18(%rsp)
  call   <printf@plt>
  mov    0x18(%rsp),%r9
  jmp    L65
  lea    D458(%rip),%rbx
  lea    D44(%rip),%rbp
  jmp    L15
  lea    D458(%rip),%rbx
  lea    D44(%rip),%rbp
  lea    D640(%rip),%r12
  jmp    L42
  lea    D458(%rip),%rbx
  lea    D44(%rip),%rbp
  lea    D640(%rip),%r12
  lea    D573(%rip),%r13
  jmp    L1
  lea    D458(%rip),%rbx
  lea    D44(%rip),%rbp
  lea    D640(%rip),%r12
  lea    D573(%rip),%r13
  lea    D449(%rip),%r14
  jmp    L88
  lea    D458(%rip),%rbx
  lea    D44(%rip),%rbp
  lea    D640(%rip),%r12
  lea    D573(%rip),%r13
  lea    D449(%rip),%r14
  lea    D3(%rip),%r15
  jmp    L19
  lea    D206(%rip),%rax
  lea    D458(%rip),%rbx
  mov    %rax,(%rsp)
  lea    D44(%rip),%rbp
  lea    D640(%rip),%r12
  lea    D573(%rip),%r13
  lea    D449(%rip),%r14
  lea    D3(%rip),%r15
  jmp    L110
  lea    D206(%rip),%rax
  lea    D458(%rip),%rbx
  mov    %rax,(%rsp)
  lea    D214(%rip),%rax
  lea    D44(%rip),%rbp
  mov    %rax,0x8(%rsp)
  lea    D640(%rip),%r12
  lea    D573(%rip),%r13
  lea    D449(%rip),%r14
  lea    D3(%rip),%r15
  jmp    L78
  lea    D206(%rip),%rax
  lea    D458(%rip),%rbx
  mov    %rax,(%rsp)
  lea    D214(%rip),%rax
  lea    D44(%rip),%rbp
  mov    %rax,0x8(%rsp)
  lea    D319(%rip),%rax
  lea    D640(%rip),%r12
  mov    %rax,0x10(%rsp)
  lea    D573(%rip),%r13
  lea    D449(%rip),%r14
  lea    D3(%rip),%r15
  jmp    L26
  lea    D458(%rip),%rbx
  mov    %rbx,%rdi
  call   <printf@plt>
  jmp    L91
L12:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: extract_symbolic_data
arguments: data_tag: D240
type: string
name: extract_symbolic_data
arguments: data_tag: D206
type: string
name: extract_symbolic_data
arguments: data_tag: D458
type: string
name: extract_symbolic_data
arguments: data_tag: D214
type: string
name: extract_symbolic_data
arguments: data_tag: D44
type: string
name: extract_symbolic_data
arguments: data_tag: D319
type: string
name: extract_symbolic_data
arguments: data_tag: D640
type: string
name: extract_symbolic_data
arguments: data_tag: D573
type: string
name: extract_symbolic_data
arguments: data_tag: D449
type: string
name: extract_symbolic_data
arguments: data_tag: D3
type: string
name: extract_symbolic_data
arguments: data_tag: D495
type: string
name: extract_symbolic_data
arguments: data_tag: D407
type: string

tool: D240: %i

tool: D206:        *************


tool: D458:              *


tool: D214:       ***************


tool: D44:             ***


tool: D319:      *****************


tool: D640:            *****


tool: D573:           *******


tool: D449:          *********


tool: D3:         ***********


tool: D495:     *******************


tool: D407:    *********************


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;
}
```