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

```asm
<main>:
  endbr64
  push   %r13
  lea    D36(%rip),%rdi
  push   %r12
  lea    D1(%rip),%r12
  push   %rbp
  push   %rbx
  sub    $0x1b8,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x1a8(%rsp)
  xor    %eax,%eax
  call   <printf@plt>
  lea    0xc(%rsp),%rsi
  mov    %r12,%rdi
  call   <scanf@plt>
  mov    0xc(%rsp),%ecx
  test   %ecx,%ecx
  jle    L65
  lea    0x14(%rsp),%rbp
  mov    $0x1,%ebx
  lea    D24(%rip),%r13
  nopl   (%rax)
L16:
  mov    %r13,%rdi
  xor    %eax,%eax
  add    $0x1,%ebx
  call   <printf@plt>
  mov    %rbp,%rsi
  mov    %r12,%rdi
  add    $0x4,%rbp
  call   <scanf@plt>
  cmp    %ebx,0xc(%rsp)
  jge    L16
L65:
  lea    D25(%rip),%rdi
  call   <puts@plt>
  mov    0xc(%rsp),%eax
  test   %eax,%eax
  jle    L9
  mov    $0x1,%ebx
  xor    %ebp,%ebp
  lea    0x10(%rsp),%r12
  lea    D23(%rip),%r13
  nopl   (%rax)
L11:
  mov    (%r12,%rbx,4),%esi
  mov    %r13,%rdi
  xor    %eax,%eax
  call   <printf@plt>
  mov    0xc(%rsp),%eax
  add    (%r12,%rbx,4),%ebp
  add    $0x1,%rbx
  cmp    %ebx,%eax
  jge    L11
L46:
  pxor   %xmm0,%xmm0
  pxor   %xmm1,%xmm1
  lea    D21(%rip),%rdi
  cvtsi2ss %eax,%xmm1
  mov    $0x1,%eax
  cvtsi2ss %ebp,%xmm0
  divss  %xmm1,%xmm0
  cvtss2sd %xmm0,%xmm0
  call   <printf@plt>
  lea    D0(%rip),%rdi
  call   <puts@plt>
  mov    0xc(%rsp),%edx
  test   %edx,%edx
  jle    L7
  lea    0x14(%rsp),%rbp
  mov    $0x1,%r12d
  cs nopw 0x0(%rax,%rax,1)
L5:
  mov    0x0(%rbp),%eax
  mov    $0x1,%ebx
  test   %eax,%eax
  jle    L63
  nopl   0x0(%rax)
L25:
  mov    $0x2a,%edi
  add    $0x1,%ebx
  call   <putchar@plt>
  cmp    %ebx,0x0(%rbp)
  jge    L25
L63:
  mov    $0xa,%edi
  add    $0x1,%r12d
  add    $0x4,%rbp
  call   <putchar@plt>
  cmp    %r12d,0xc(%rsp)
  jge    L5
L7:
  mov    0x1a8(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L29
  add    $0x1b8,%rsp
  xor    %eax,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  ret
L9:
  xor    %ebp,%ebp
  jmp    L46
L29:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: extract_symbolic_data
arguments: label: D36
type_guessed: string
name: extract_symbolic_data
arguments: label: D1
type_guessed: string
name: extract_symbolic_data
arguments: label: D24
type_guessed: string
name: extract_symbolic_data
arguments: label: D25
type_guessed: string
name: extract_symbolic_data
arguments: label: D23
type_guessed: string
name: extract_symbolic_data
arguments: label: D21
type_guessed: string
name: extract_symbolic_data
arguments: label: D0
type_guessed: string

tool: D36: Kac sayi:

tool: D1: %d

tool: D24: Sayi girin: 

tool: D25: Girilen sayilar:

tool: D23: %d


tool: D21: Ortalama:%f


tool: D0: Bar graph:

assistant: ```c
int main() {
  int sayi_sayisi, i, j;
  int sayilar[100];
  int tmp = 0;
  float ortalama;
  printf("Kac sayi:");
  scanf("%d", &sayi_sayisi);
  for (i = 1; i <= sayi_sayisi; i++) {
    printf("Sayi girin: ");
    scanf("%d", &sayilar[i]);
  }
  printf("Girilen sayilar:\n");
  for (i = 1; i <= sayi_sayisi; i++) {
    printf("%d\n", sayilar[i]);
    tmp += sayilar[i];
  }
  ortalama = (float)tmp / sayi_sayisi;
  printf("Ortalama:%f\n", ortalama);
  printf("Bar graph:\n");
  for (i = 1; i <= sayi_sayisi; i++) {
    for (j = 1; j <= sayilar[i]; j++) {
      printf("*");
    }
    printf("\n");
  }
  return 0;
}
```