user: What is the c source code of the assembly code below:

```asm
<print_graph>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  mov    %edx,%r12d
  push   %rbx
  sub    $0x28,%rsp
  mov    %esi,-0x44(%rbp)
  mov    %rsp,%rcx
  mov    %fs:0x28,%rax
  mov    %rax,-0x38(%rbp)
  xor    %eax,%eax
  movslq %esi,%rax
  lea    0xf(,%rax,4),%rax
  mov    %rax,%rdx
  and    $0xfffffffffffff000,%rax
  sub    %rax,%rcx
  and    $0xfffffffffffffff0,%rdx
  cmp    %rcx,%rsp
  je     L70
L188:
  sub    $0x1000,%rsp
  orq    $0x0,0xff8(%rsp)
  cmp    %rcx,%rsp
  jne    L188
L70:
  and    $0xfff,%edx
  sub    %rdx,%rsp
  test   %rdx,%rdx
  jne    L51
L168:
  mov    -0x44(%rbp),%ebx
  mov    %rsp,%rdx
  mov    %r12d,%ecx
  lea    D11(%rip),%r13
  mov    %rdx,-0x50(%rbp)
  mov    %ebx,%esi
  call   <calc_bars@plt>
  mov    %ebx,%eax
  mov    $0x1,%ebx
  sub    $0x1,%eax
  mov    %eax,-0x48(%rbp)
  cmp    $0x1,%r12d
  jle    L59
  cs nopw 0x0(%rax,%rax,1)
L31:
  mov    -0x44(%rbp),%eax
  test   %eax,%eax
  jle    L50
  mov    -0x48(%rbp),%edx
  test   %edx,%edx
  jle    L164
  mov    -0x50(%rbp),%rax
  xor    %r15d,%r15d
  lea    0x4(%rax),%r14
  nopl   (%rax)
L66:
  mov    %r12d,%eax
  sub    (%r14),%eax
  add    $0x1,%r15d
  mov    $0x23,%esi
  cmp    %ebx,%eax
  jle    L83
  mov    $0x20,%esi
L83:
  mov    %r13,%rdi
  add    $0x4,%r14
  call   <printf@plt>
  cmp    -0x48(%rbp),%r15d
  jl     L66
  cmp    %r15d,-0x44(%rbp)
  jle    L50
L41:
  mov    -0x50(%rbp),%rcx
  mov    %r12d,%eax
  add    $0x1,%r15d
  sub    (%rcx),%eax
  cmp    %ebx,%eax
  jle    L182
  mov    $0x20,%esi
  mov    %r13,%rdi
  call   <printf@plt>
  cmp    %r15d,-0x44(%rbp)
  jg     L41
L50:
  mov    $0xa,%edi
  add    $0x1,%ebx
  call   <putchar@plt>
  cmp    %ebx,%r12d
  jne    L31
L59:
  cmpl   $0x1,-0x44(%rbp)
  mov    $0x1,%ebx
  lea    D20(%rip),%r12
  jle    L95
  nopl   0x0(%rax)
L26:
  mov    %ebx,%esi
  mov    %r12,%rdi
  add    $0x1,%ebx
  call   <printf@plt>
  cmp    %ebx,-0x44(%rbp)
  jne    L26
L95:
  mov    -0x48(%rbp),%esi
  lea    D2(%rip),%rdi
  call   <printf@plt>
  mov    -0x38(%rbp),%rax
  sub    %fs:0x28,%rax
  jne    L72
  lea    -0x28(%rbp),%rsp
  pop    %rbx
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  pop    %rbp
  ret
  nop
L182:
  mov    $0x23,%esi
  mov    %r13,%rdi
  call   <printf@plt>
  cmp    %r15d,-0x44(%rbp)
  jg     L41
  jmp    L50
  nopl   0x0(%rax)
L164:
  xor    %r15d,%r15d
  jmp    L41
L51:
  orq    $0x0,-0x8(%rsp,%rdx,1)
  jmp    L168
L72:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: disassemble_data
arguments: tag: D11
type: string
name: disassemble_data
arguments: tag: D20
type: string
name: disassemble_data
arguments: tag: D2
type: string

tool: D11:    %c

tool: D20: %4d

tool: D2:  >%2d


assistant: ```c
void print_graph(int values[], int size, int max_bar_size) {
  int bars[size];
  calc_bars(values, size, bars, max_bar_size);
  int i, j;
  for (i = 1; i < max_bar_size; i++) {
    for (j = 0; j < size; j++) {
      int idx = j < size - 1 ? j + 1 : 0;
      printf("   %c", max_bar_size - bars[idx] <= i ? '#' : ' ');
    }
    putchar('\n');
  }
  for (j = 1; j < size; j++) {
    printf("%4d", j);
  }
  printf(" >%2d\n", size - 1);
}
```