user: 请显示与下面列出的汇编代码相匹配的C语言实现：

```asm
<main>:
  endbr64
  push   %r15
  mov    $0x50,%ecx
  pxor   %xmm0,%xmm0
  push   %r14
  lea    D31(%rip),%r14
  push   %r13
  mov    $0x14,%r13d
  push   %r12
  push   %rbp
  push   %rbx
  lea    D82(%rip),%rbx
  sub    $0x2f8,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x2e8(%rsp)
  xor    %eax,%eax
  lea    0x60(%rsp),%rdi
  movaps %xmm0,0x40(%rsp)
  lea    0x34(%rsp),%rbp
  mov    %rdi,0x28(%rsp)
  movaps %xmm0,0x50(%rsp)
  rep stos %rax,%es:(%rdi)
L10:
  mov    %rbp,%rsi
  mov    %rbx,%rdi
  xor    %eax,%eax
  call   <scanf@plt>
  mov    0x34(%rsp),%eax
  sub    $0x2,%eax
  cmp    $0x8,%eax
  ja     L16
L229:
  lea    0x80(%rsp),%rax
  mov    0x28(%rsp),%rbx
  xor    %r15d,%r15d
  lea    0x38(%rsp),%r14
  mov    %rax,(%rsp)
  mov    %rax,%rbp
  lea    D96(%rip),%r13
  nopl   0x0(%rax)
L11:
  lea    -0x20(%rbp),%r12
L46:
  mov    %r14,%rsi
  mov    %r13,%rdi
  xor    %eax,%eax
  add    $0x8,%r12
  call   <scanf@plt>
  movsd  0x38(%rsp),%xmm0
  movsd  %xmm0,-0x8(%r12)
  cmp    %r12,%rbp
  jne    L46
  mov    0x34(%rsp),%eax
  add    $0x1,%r15d
  add    $0x20,%rbp
  cmp    %r15d,%eax
  jg     L11
  test   %eax,%eax
  jle    L138
  pxor   %xmm4,%xmm4
  lea    -0x1(%rax),%edx
  xor    %ecx,%ecx
  xor    %esi,%esi
  shl    $0x5,%rdx
  movapd %xmm4,%xmm5
  add    (%rsp),%rdx
  xor    %edi,%edi
  movsd  D66(%rip),%xmm0
  movapd %xmm4,%xmm6
  xor    %r8d,%r8d
  movapd %xmm4,%xmm7
  movsd  D92(%rip),%xmm1
  movsd  D16(%rip),%xmm3
  nopl   0x0(%rax)
L30:
  movsd  (%rbx),%xmm2
  comisd %xmm0,%xmm2
  jb     L198
  comisd %xmm2,%xmm1
  jb     L198
  addsd  %xmm3,%xmm7
  mov    $0x1,%r8d
L198:
  movsd  0x8(%rbx),%xmm2
  comisd %xmm0,%xmm2
  jb     L94
  comisd %xmm2,%xmm1
  jb     L94
  addsd  %xmm3,%xmm6
  mov    $0x1,%edi
L94:
  movsd  0x10(%rbx),%xmm2
  comisd %xmm0,%xmm2
  jb     L42
  comisd %xmm2,%xmm1
  jb     L42
  addsd  %xmm3,%xmm5
  mov    $0x1,%esi
L42:
  movsd  0x18(%rbx),%xmm2
  comisd %xmm0,%xmm2
  jb     L191
  comisd %xmm2,%xmm1
  jb     L191
  addsd  %xmm3,%xmm4
  mov    $0x1,%ecx
L191:
  add    $0x20,%rbx
  cmp    %rbx,%rdx
  jne    L30
  test   %cl,%cl
  je     L34
  movsd  %xmm4,0x58(%rsp)
L34:
  test   %sil,%sil
  je     L101
  movsd  %xmm5,0x50(%rsp)
L101:
  test   %dil,%dil
  je     L116
  movsd  %xmm6,0x48(%rsp)
L116:
  test   %r8b,%r8b
  je     L188
  movsd  %xmm7,0x40(%rsp)
L188:
  pxor   %xmm0,%xmm0
  movapd 0x40(%rsp),%xmm7
  lea    D47(%rip),%rdi
  xor    %ebx,%ebx
  cvtsi2sd %eax,%xmm0
  lea    D83(%rip),%rbp
  lea    D40(%rip),%r13
  divsd  %xmm0,%xmm1
  unpcklpd %xmm1,%xmm1
  mulpd  %xmm1,%xmm7
  mulpd  0x50(%rsp),%xmm1
  movaps %xmm7,0x10(%rsp)
  movaps %xmm1,(%rsp)
  call   <puts@plt>
  mov    0x34(%rsp),%eax
  mov    0x28(%rsp),%r12
  test   %eax,%eax
  jle    L123
  cs nopw 0x0(%rax,%rax,1)
L13:
  movsd  (%r12),%xmm0
  mov    %rbp,%rdi
  add    $0x1,%ebx
  add    $0x20,%r12
  mov    $0x1,%eax
  call   <printf@plt>
  movsd  -0x18(%r12),%xmm0
  mov    %rbp,%rdi
  mov    $0x1,%eax
  call   <printf@plt>
  movsd  -0x10(%r12),%xmm0
  mov    %rbp,%rdi
  mov    $0x1,%eax
  call   <printf@plt>
  movsd  -0x8(%r12),%xmm0
  mov    %r13,%rdi
  mov    $0x1,%eax
  call   <printf@plt>
  mov    $0xa,%edi
  call   <putchar@plt>
  cmp    %ebx,0x34(%rsp)
  jg     L13
L123:
  movsd  0x10(%rsp),%xmm0
  mov    %rbp,%rdi
  mov    $0x1,%eax
  call   <printf@plt>
  movsd  0x18(%rsp),%xmm0
  mov    %rbp,%rdi
  mov    $0x1,%eax
  call   <printf@plt>
  movsd  (%rsp),%xmm0
  mov    %rbp,%rdi
  mov    $0x1,%eax
  call   <printf@plt>
  movsd  0x8(%rsp),%xmm0
  mov    %r13,%rdi
  mov    $0x1,%eax
  call   <printf@plt>
  mov    0x2e8(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L82
  add    $0x2f8,%rsp
  xor    %eax,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L16:
  mov    %r14,%rdi
  call   <puts@plt>
  sub    $0x1,%r13d
  jne    L10
  mov    0x34(%rsp),%eax
  movsd  D92(%rip),%xmm1
  test   %eax,%eax
  jle    L188
  jmp    L229
L138:
  movsd  D92(%rip),%xmm1
  jmp    L188
L82:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: unpack_data
arguments: data_tag: D31
type: string
name: unpack_data
arguments: data_tag: D82
type: string
name: unpack_data
arguments: data_tag: D96
type: string
name: unpack_data
arguments: data_tag: D66
type: byte[8]
name: unpack_data
arguments: data_tag: D92
type: f64
name: unpack_data
arguments: data_tag: D16
type: byte[8]
name: unpack_data
arguments: data_tag: D47
type: string
name: unpack_data
arguments: data_tag: D83
type: string
name: unpack_data
arguments: data_tag: D40
type: string

tool: D31: Pogresan unos broja. Unesite ponovno broj studenata:

tool: D82: %d

tool: D96: %lf

tool: {"D66": [0x00,0x00,0x00,0x00,0x00,0x00,0x49,0x40]}

tool: D92: 100

tool: {"D16": [0x00,0x00,0x00,0x00,0x00,0x00,0xf0,0x3f]}

tool: D47: Prolaznost:

tool: D83: %.0lf	

tool: D40: %.0lf

assistant: ```c
int main() {
  int i, j, studenti;
  double postotak, tablica[20][4] = {{0}}, prolaznost[4] = {}, pomocna[4] = {};
  for (i = 0; i < 20; i++) {
    scanf("%d", &studenti);
    if (studenti < 2 || studenti > 10) {
      printf("Pogresan unos broja. Unesite ponovno broj studenata:\n");
      continue;
    } else {
      break;
    }
  }
  for (i = 0; i < studenti; i++) {
    for (j = 0; j < 4; j++) {
      scanf("%lf", &postotak);
      tablica[i][j] = postotak;
    }
  }
  for (i = 0; i < studenti; i++) {
    for (j = 0; j < 4; j++) {
      if (tablica[i][j] >= 50 && tablica[i][j] <= 100) {
        prolaznost[j]++;
      }
    }
  }
  for (i = 0; i < 4; i++) {
    pomocna[i] = (100.00 / studenti) * prolaznost[i];
  }
  printf("Prolaznost:\n");
  for (i = 0; i < studenti; i++) {
    for (j = 0; j < 4; j++) {
      if (j <= 2) {
        printf("%.0lf\t", tablica[i][j]);
      } else {
        printf("%.0lf", tablica[i][j]);
      }
    }
    printf("\n");
  }
  for (i = 0; i < 4; i++) {
    if (i <= 2) {
      printf("%.0lf\t", pomocna[i]);
    } else {
      printf("%.0lf", pomocna[i]);
    }
  }
  return 0;
}
```