user: 下面的汇编指令对应的C源代码是什么：

```asm
<test_case>:
  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    -0x3c(%rbp),%rdx
  lea    -0x40(%rbp),%rsi
  lea    D8(%rip),%rdi
  call   <scanf@plt>
  mov    -0x40(%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
L80:
  cmp    %rcx,%rsp
  je     L32
  sub    $0x1000,%rsp
  orq    $0x0,0xff8(%rsp)
  jmp    L80
L32:
  mov    %rsi,%rax
  and    $0xfff,%eax
  sub    %rax,%rsp
  test   %rax,%rax
  je     L176
  orq    $0x0,-0x8(%rsp,%rax,1)
L176:
  mov    %rsp,-0x48(%rbp)
  movslq -0x3c(%rbp),%rax
  lea    0xf(,%rax,4),%rax
  mov    %rax,%rsi
  and    $0xfffffffffffffff0,%rsi
  and    $0xfffffffffffff000,%rax
  mov    %rsp,%rcx
  sub    %rax,%rcx
L74:
  cmp    %rcx,%rsp
  je     L180
  sub    $0x1000,%rsp
  orq    $0x0,0xff8(%rsp)
  jmp    L74
L180:
  mov    %rsi,%rax
  and    $0xfff,%eax
  sub    %rax,%rsp
  test   %rax,%rax
  je     L185
  orq    $0x0,-0x8(%rsp,%rax,1)
L185:
  mov    %rsp,%r15
  test   %edx,%edx
  jle    L68
  mov    -0x48(%rbp),%rbx
  mov    $0x0,%r12d
  mov    $0x0,%r13d
  lea    D16(%rip),%r14
L71:
  mov    %rbx,%rsi
  mov    %r14,%rdi
  mov    $0x0,%eax
  call   <scanf@plt>
  movslq (%rbx),%rax
  add    %rax,%r13
  add    $0x1,%r12d
  add    $0x4,%rbx
  cmp    %r12d,-0x40(%rbp)
  jg     L71
  mov    -0x3c(%rbp),%eax
  test   %eax,%eax
  jle    L133
L171:
  mov    %r15,%rbx
  mov    $0x0,%r12d
  mov    $0x0,%r14d
  lea    D16(%rip),%r15
L117:
  mov    %rbx,%rsi
  mov    %r15,%rdi
  mov    $0x0,%eax
  call   <scanf@plt>
  movslq (%rbx),%rax
  add    %rax,%r14
  add    $0x1,%r12d
  mov    -0x3c(%rbp),%eax
  add    $0x4,%rbx
  cmp    %r12d,%eax
  jg     L117
L39:
  mov    -0x40(%rbp),%edx
  pxor   %xmm1,%xmm1
  cvtsi2sd %r13,%xmm1
  pxor   %xmm0,%xmm0
  cvtsi2sd %edx,%xmm0
  divsd  %xmm0,%xmm1
  pxor   %xmm2,%xmm2
  cvtsi2sd %r14,%xmm2
  pxor   %xmm0,%xmm0
  cvtsi2sd %eax,%xmm0
  divsd  %xmm0,%xmm2
  test   %edx,%edx
  jle    L13
  mov    -0x48(%rbp),%rcx
  mov    %rcx,%rax
  mov    %edx,%edx
  lea    (%rcx,%rdx,4),%rdx
  mov    $0x0,%esi
  jmp    L85
L133:
  mov    $0x0,%r14d
  jmp    L39
L114:
  add    $0x4,%rax
  cmp    %rdx,%rax
  je     L175
L85:
  pxor   %xmm0,%xmm0
  cvtsi2sdl (%rax),%xmm0
  comisd %xmm0,%xmm1
  jbe    L114
  comisd %xmm2,%xmm0
  seta   %cl
  movzbl %cl,%ecx
  add    %ecx,%esi
  jmp    L114
L13:
  mov    $0x0,%esi
L175:
  lea    D7(%rip),%rdi
  call   <printf@plt>
  mov    -0x38(%rbp),%rax
  sub    %fs:0x28,%rax
  jne    L173
  lea    -0x28(%rbp),%rsp
  pop    %rbx
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  pop    %rbp
  ret
L68:
  mov    $0x0,%r13d
  mov    $0x0,%esi
  cmpl   $0x0,-0x3c(%rbp)
  jg     L171
  jmp    L175
L173:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: unpack_data
arguments: tag: D8
type_guessed: string
name: unpack_data
arguments: tag: D16
type_guessed: string
name: unpack_data
arguments: tag: D7
type_guessed: string

tool: D8: %d %d

tool: D16: %d

tool: D7: %d


assistant: ```c
void test_case() {
  int cs, e;
  scanf("%d %d", &cs, &e);
  long long cs_total = 0L, e_total = 0L;
  int cs_students[cs], e_students[e];
  for (int i = 0; i < cs; i++) {
    scanf("%d", cs_students + i);
    cs_total += cs_students[i];
  }
  for (int i = 0; i < e; i++) {
    scanf("%d", e_students + i);
    e_total += e_students[i];
  }
  double cs_av = cs_total / (double)cs;
  double e_av = e_total / (double)e;
  int counter = 0;
  for (int i = 0; i < cs; i++) {
    if (cs_students[i] < cs_av && cs_students[i] > e_av)
      counter++;
  }
  printf("%d\n", counter);
}
```