user: What would the C source look like for the assembly code provided here?

```asm
<main>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbx
  sub    $0x28,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,-0x38(%rbp)
  xor    %eax,%eax
  lea    -0x40(%rbp),%rsi
  lea    D67(%rip),%rdi
  call   <scanf@plt>
  mov    -0x40(%rbp),%eax
  lea    -0x1(%rax),%edx
  mov    %edx,-0x40(%rbp)
  test   %eax,%eax
  je     L90
  lea    D37(%rip),%r15
  jmp    L3
L170:
  mov    %rsi,%rax
  and    $0xfff,%eax
  sub    %rax,%rsp
  test   %rax,%rax
  je     L32
  orq    $0x0,-0x8(%rsp,%rax,1)
L32:
  mov    %rsp,%rbx
  pxor   %xmm0,%xmm0
  test   %edx,%edx
  jle    L96
  mov    %rbx,%rsi
  mov    %r15,%rdi
  mov    $0x0,%eax
  call   <scanf@plt>
  add    $0x4,%rbx
  mov    $0x1,%r12d
  pxor   %xmm4,%xmm4
  movss  %xmm4,-0x44(%rbp)
  jmp    L161
L98:
  lea    D62(%rip),%rdi
  call   <puts@plt>
  jmp    L110
L137:
  add    $0x1,%r12
  add    $0x4,%rbx
L161:
  mov    %r12d,%r14d
  mov    %rbx,%r13
  movss  -0x44(%rbp),%xmm2
  addss  -0x4(%rbx),%xmm2
  movss  %xmm2,-0x44(%rbp)
  cmp    %r12d,-0x3c(%rbp)
  jle    L33
  mov    %rbx,%rsi
  mov    %r15,%rdi
  mov    $0x0,%eax
  call   <scanf@plt>
  test   %r12d,%r12d
  jle    L137
  movss  -0x4(%r13),%xmm0
  ucomiss 0x0(%r13),%xmm0
  jp     L137
  jne    L137
  lea    0x2(%r14),%eax
  cmp    %eax,-0x3c(%rbp)
  je     L98
L110:
  mov    -0x50(%rbp),%rsp
L90:
  mov    -0x38(%rbp),%rax
  sub    %fs:0x28,%rax
  jne    L2
  mov    $0x0,%eax
  lea    -0x28(%rbp),%rsp
  pop    %rbx
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  pop    %rbp
  ret
L33:
  movaps %xmm2,%xmm0
  divss  D60(%rip),%xmm0
  cvttss2si %xmm0,%eax
  lea    (%rax,%rax,2),%eax
  add    %eax,%eax
  pxor   %xmm1,%xmm1
  cvtsi2ss %eax,%xmm1
  ucomiss %xmm2,%xmm1
  jp     L1
  je     L96
L1:
  lea    D6(%rip),%rdi
  call   <puts@plt>
  jmp    L53
L96:
  subss  D64(%rip),%xmm0
  cvtss2sd %xmm0,%xmm0
  lea    D38(%rip),%rdi
  mov    $0x1,%eax
  call   <printf@plt>
L53:
  mov    -0x50(%rbp),%rsp
  mov    -0x40(%rbp),%eax
  lea    -0x1(%rax),%edx
  mov    %edx,-0x40(%rbp)
  test   %eax,%eax
  je     L90
L3:
  mov    %rsp,-0x50(%rbp)
  lea    -0x3c(%rbp),%rsi
  lea    D67(%rip),%rdi
  mov    $0x0,%eax
  call   <scanf@plt>
  mov    -0x3c(%rbp),%edx
  movslq %edx,%rax
  lea    0xf(,%rax,4),%rax
  mov    %rax,%rsi
  and    $0xfffffffffffffff0,%rsi
  and    $0xfffffffffffff000,%rax
  mov    %rsp,%rcx
  sub    %rax,%rcx
L111:
  cmp    %rcx,%rsp
  je     L170
  sub    $0x1000,%rsp
  orq    $0x0,0xff8(%rsp)
  jmp    L111
L2:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: unpack_data
arguments: tag: D67
data_type: string
name: unpack_data
arguments: tag: D37
data_type: string
name: unpack_data
arguments: tag: D62
data_type: string
name: unpack_data
arguments: tag: D60
data_type: byte[4]
name: unpack_data
arguments: tag: D6
data_type: string
name: unpack_data
arguments: tag: D64
data_type: byte[4]
name: unpack_data
arguments: tag: D38
data_type: string

tool: D67: %d

tool: D37: %f

tool: D62: 0

tool: {"D60": [0x00,0x00,0xc0,0x40]}

tool: D6: ANGRY

tool: {"D64": [0x00,0x00,0x80,0x3f]}

tool: D38: %.0f


assistant: ```c
int main() {
  int t;
  scanf("%d", &t);
  while (t--) {
    float sum = 0, x1 = 0;
    int a, c = 0;
    float x = 0;
    scanf("%d", &a);
    float n[a];
    int i, xx;
    for (i = 0; i < a; i++) {
      c++;
      scanf("%f", &n[i]);
      if (i > 0)
        if (n[i - 1] == n[i]) {
          c++;
          if (c == a)
            printf("0\n");
          return 0;
        }
      sum += n[i];
    }
    x = (float)(sum / 6);
    xx = (int)(x)*6;
    if (xx == sum)
      printf("%.0f\n", x - 1);
    else
      printf("ANGRY\n");
  }
  return 0;
}
```