user: Demonstrate the C code that generates the assembly output below:

```asm
<main>:
  endbr64
  push   %rbp
  lea    D12(%rip),%rdi
  mov    %rsp,%rbp
  push   %r14
  lea    D3(%rip),%r14
  push   %r13
  push   %r12
  push   %rbx
  sub    $0x10,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,-0x28(%rbp)
  xor    %eax,%eax
  call   <printf@plt>
  lea    -0x30(%rbp),%rsi
  mov    %r14,%rdi
  call   <scanf@plt>
  lea    D10(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  lea    -0x2c(%rbp),%rsi
  mov    %r14,%rdi
  call   <scanf@plt>
  movslq -0x2c(%rbp),%rax
  mov    %rsp,%rcx
  lea    0xf(,%rax,4),%rax
  mov    %rax,%rdx
  and    $0xfffffffffffff000,%rax
  sub    %rax,%rcx
  and    $0xfffffffffffffff0,%rdx
  cmp    %rcx,%rsp
  je     L58
L20:
  sub    $0x1000,%rsp
  orq    $0x0,0xff8(%rsp)
  cmp    %rcx,%rsp
  jne    L20
L58:
  and    $0xfff,%edx
  sub    %rdx,%rsp
  test   %rdx,%rdx
  jne    L129
L75:
  xor    %eax,%eax
  lea    D28(%rip),%rdi
  mov    %rsp,%r13
  call   <printf@plt>
  cmpl   $0x0,-0x2c(%rbp)
  jle    L113
  mov    %r13,%r12
  xor    %ebx,%ebx
  nopw   0x0(%rax,%rax,1)
L50:
  mov    %r12,%rsi
  mov    %r14,%rdi
  add    $0x1,%ebx
  add    $0x4,%r12
  call   <scanf@plt>
  cmp    %ebx,-0x2c(%rbp)
  jg     L50
L113:
  lea    D51(%rip),%rdi
  call   <puts@plt>
  mov    -0x30(%rbp),%edx
  test   %edx,%edx
  js     L95
  xor    %r12d,%r12d
  lea    D52(%rip),%r14
  nopl   0x0(%rax)
L108:
  mov    %r12d,%esi
  mov    %r14,%rdi
  xor    %eax,%eax
  call   <printf@plt>
  mov    -0x2c(%rbp),%eax
  test   %eax,%eax
  jle    L134
  xor    %ebx,%ebx
  jmp    L96
  nopl   0x0(%rax,%rax,1)
L97:
  add    $0x1,%rbx
  cmp    %ebx,-0x2c(%rbp)
  jle    L134
L96:
  cmp    %r12d,0x0(%r13,%rbx,4)
  jne    L97
  mov    $0x2a,%edi
  add    $0x1,%rbx
  call   <putchar@plt>
  cmp    %ebx,-0x2c(%rbp)
  jg     L96
  nopl   0x0(%rax,%rax,1)
L134:
  mov    $0xa,%edi
  add    $0x1,%r12d
  call   <putchar@plt>
  cmp    %r12d,-0x30(%rbp)
  jge    L108
L95:
  mov    -0x28(%rbp),%rax
  sub    %fs:0x28,%rax
  jne    L82
  lea    -0x20(%rbp),%rsp
  xor    %eax,%eax
  pop    %rbx
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %rbp
  ret
L129:
  orq    $0x0,-0x8(%rsp,%rdx,1)
  jmp    L75
L82:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: parse_data
arguments: tag: D12
type_guessed: string
name: parse_data
arguments: tag: D3
type_guessed: string
name: parse_data
arguments: tag: D10
type_guessed: string
name: parse_data
arguments: tag: D28
type_guessed: string
name: parse_data
arguments: tag: D51
type_guessed: string
name: parse_data
arguments: tag: D52
type_guessed: string

tool: D12: Enter range: 

tool: D3: %d

tool: D10: Enter length: 

tool: D28: Enter array: 

tool: D51: Histogram: 

tool: D52: %d: 

assistant: ```c
int main() {
  int i, j;
  int range;
  int length;
  printf("Enter range: ");
  scanf("%d", &range);
  printf("Enter length: ");
  scanf("%d", &length);
  int input[length];
  printf("Enter array: ");
  for (i = 0; i < length; i++) {
    scanf("%d", &input[i]);
  }
  printf("Histogram: \n");
  for (j = 0; j <= range; j++) {
    printf("%d: ", j);
    for (i = 0; i < length; i++) {
      if (j == input[i]) {
        printf("*");
      }
    }
    printf("\n");
  }
  return 0;
}
```