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

```asm
<main>:
  endbr64
  push   %rbp
  mov    $0x64,%esi
  lea    D34(%rip),%rdi
  lea    D20(%rip),%rbp
  sub    $0x30,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x28(%rsp)
  xor    %eax,%eax
  movl   $0x64,0x8(%rsp)
  movl   $0xc8,0xc(%rsp)
  call   <printf@plt>
  mov    0xc(%rsp),%esi
  lea    D90(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  mov    0xc(%rsp),%esi
  mov    0x8(%rsp),%edi
  call   <cbv_swap@plt>
  mov    0x8(%rsp),%esi
  lea    D91(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  mov    0xc(%rsp),%esi
  lea    D45(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  mov    %rbp,%rdi
  call   <puts@plt>
  mov    0x8(%rsp),%esi
  lea    D11(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  mov    0xc(%rsp),%esi
  lea    D103(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  lea    0xc(%rsp),%rsi
  lea    0x8(%rsp),%rdi
  call   <cbr_swap@plt>
  mov    0x8(%rsp),%esi
  lea    D98(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  mov    0xc(%rsp),%esi
  lea    D2(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  mov    %rbp,%rdi
  call   <puts@plt>
  lea    0x10(%rsp),%rdi
  movdqa D69(%rip),%xmm0
  mov    $0x5,%esi
  movl   $0x32,0x20(%rsp)
  movaps %xmm0,0x10(%rsp)
  call   <getAverage@plt>
  lea    D1(%rip),%rdi
  mov    $0x1,%eax
  call   <printf@plt>
  mov    0x28(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L5
  add    $0x30,%rsp
  xor    %eax,%eax
  pop    %rbp
  ret
L5:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: retrieve_data
arguments: label: D34
type_guessed: string
name: retrieve_data
arguments: label: D20
type_guessed: string
name: retrieve_data
arguments: label: D90
type_guessed: string
name: retrieve_data
arguments: label: D91
type_guessed: string
name: retrieve_data
arguments: label: D45
type_guessed: string
name: retrieve_data
arguments: label: D11
type_guessed: string
name: retrieve_data
arguments: label: D103
type_guessed: string
name: retrieve_data
arguments: label: D98
type_guessed: string
name: retrieve_data
arguments: label: D2
type_guessed: string
name: retrieve_data
arguments: label: D69
type_guessed: byte[16]
name: retrieve_data
arguments: label: D1
type_guessed: string

tool: D34: value of a PRE cbv_swap : %d


tool: D20: ---

tool: D90: value of b PRE cbv_swap : %d


tool: D91: value of a POST cbv_swap : %d


tool: D45: value of b POST cbv_swap : %d


tool: D11: value of a PRE cbr_swap : %d


tool: D103: value of b PRE cbr_swap : %d


tool: D98: value of a POST cbr_swap : %d


tool: D2: value of b POST cbr_swap : %d


tool: {"D69": [0xe8,0x03,0x00,0x00,0x02,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x11,0x00,0x00,0x00]}

tool: D1: Average value is: %f


assistant: ```c
int main(int argc, char *argv[]) {
  int a = 100;
  int b = 200;
  printf("value of a PRE cbv_swap : %d\n", a);
  printf("value of b PRE cbv_swap : %d\n", b);
  cbv_swap(a, b);
  printf("value of a POST cbv_swap : %d\n", a);
  printf("value of b POST cbv_swap : %d\n", b);
  printf("---\n");
  printf("value of a PRE cbr_swap : %d\n", a);
  printf("value of b PRE cbr_swap : %d\n", b);
  cbr_swap(&a, &b);
  printf("value of a POST cbr_swap : %d\n", a);
  printf("value of b POST cbr_swap : %d\n", b);
  printf("---\n");
  int balance[5] = {1000, 2, 3, 17, 50};
  double avg = 0.0;
  avg = getAverage(balance, 5);
  printf("Average value is: %f\n", avg);
  return 0;
}
```