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

```asm
<ssn_sprawdz>:
  endbr64
  push   %r15
  movslq %edi,%r15
  push   %r14
  push   %r13
  mov    %r8d,%r13d
  push   %r12
  mov    %edx,%r12d
  push   %rbp
  mov    %rsi,%rbp
  push   %rbx
  lea    0x0(,%r15,4),%rbx
  mov    %rbx,%rdi
  lea    -0x4(%rbp,%rbx,1),%rbx
  sub    $0xa8,%rsp
  mov    %rsi,0x20(%rsp)
  mov    %r15d,0x64(%rsp)
  mov    %edx,0x7c(%rsp)
  mov    %rcx,0x40(%rsp)
  mov    %r8d,0x90(%rsp)
  mov    %r9,0x50(%rsp)
  mov    %r15,0x48(%rsp)
  call   <malloc@plt>
  mov    %rax,%rsi
  mov    %rax,0x30(%rsp)
  lea    0x1(%r12),%eax
  mov    %eax,(%rsi)
  lea    0x0(,%r15,8),%rax
  mov    %rbp,%rsi
  movslq %r13d,%rbp
  mov    %rax,0x70(%rsp)
  shl    $0x3,%rbp
  cmp    $0x1,%r15d
  jle    L233
  lea    -0x2(%r15),%eax
  lea    -0x1(%r15),%ecx
  cmp    $0x2,%eax
  jbe    L266
  mov    %ecx,%edx
  movdqa D64(%rip),%xmm1
  xor    %eax,%eax
  shr    $0x2,%edx
  shl    $0x4,%rdx
L282:
  movdqu (%rsi,%rax,1),%xmm0
  mov    0x30(%rsp),%rdi
  paddd  %xmm1,%xmm0
  movups %xmm0,0x4(%rdi,%rax,1)
  add    $0x10,%rax
  cmp    %rax,%rdx
  jne    L282
  mov    %ecx,%edx
  and    $0xfffffffc,%edx
  lea    0x1(%rdx),%eax
  cmp    %ecx,%edx
  je     L217
L156:
  movslq %eax,%rcx
  mov    0x20(%rsp),%rdi
  mov    0x30(%rsp),%r11
  lea    0x0(,%rcx,4),%rdx
  mov    0x64(%rsp),%r8d
  mov    -0x4(%rdi,%rdx,1),%esi
  mov    %esi,0x10(%rsp)
  add    $0x1,%esi
  mov    %esi,(%r11,%rcx,4)
  lea    0x1(%rax),%esi
  cmp    %esi,%r8d
  jle    L217
  mov    (%rdi,%rcx,4),%ecx
  add    $0x2,%eax
  add    $0x1,%ecx
  mov    %ecx,0x4(%r11,%rdx,1)
  cmp    %eax,%r8d
  jle    L217
  mov    0x4(%rdi,%rdx,1),%eax
  mov    %eax,0x10(%rsp)
  add    $0x1,%eax
  mov    %eax,0x8(%r11,%rdx,1)
L217:
  mov    0x70(%rsp),%rdi
  xor    %r12d,%r12d
  call   <malloc@plt>
  mov    %rax,0x58(%rsp)
L214:
  mov    0x20(%rsp),%rax
  movslq (%rax,%r12,4),%rdi
  shl    $0x2,%rdi
  call   <malloc@plt>
  mov    0x58(%rsp),%rdi
  mov    %rax,(%rdi,%r12,8)
  add    $0x1,%r12
  cmp    %r12d,0x64(%rsp)
  jg     L214
L350:
  mov    %rbp,%rdi
  call   <malloc@plt>
  mov    0x90(%rsp),%edx
  mov    %rax,0x68(%rsp)
  mov    0x30(%rsp),%rax
  mov    (%rax),%eax
  mov    %eax,0x10(%rsp)
  sub    $0x1,%eax
  mov    %eax,0x7c(%rsp)
  mov    (%rbx),%eax
  mov    %eax,0x78(%rsp)
  test   %edx,%edx
  jle    L267
L164:
  movq   $0x0,0x28(%rsp)
  movslq 0x7c(%rsp),%rax
  mov    %rax,%rsi
  shl    $0x2,%rax
  mov    %rax,0x38(%rsp)
  movslq 0x78(%rsp),%rax
  mov    %rax,%rdi
  shl    $0x2,%rax
  mov    %rax,0x88(%rsp)
  lea    -0x1(%rsi),%eax
  mov    %eax,0x60(%rsp)
  mov    %esi,%eax
  and    $0xfffffffc,%esi
  shr    $0x2,%eax
  mov    %esi,0x94(%rsp)
  sub    $0x1,%eax
  add    $0x1,%rax
  shl    $0x4,%rax
  mov    %rax,0x98(%rsp)
  lea    -0x1(%rdi),%eax
  lea    0x4(,%rax,4),%rax
  mov    %rax,0x80(%rsp)
L245:
  mov    0x20(%rsp),%rax
  mov    (%rax),%esi
  test   %esi,%esi
  jle    L80
  mov    0x40(%rsp),%rax
  xor    %ebp,%ebp
  mov    0x58(%rsp),%r14
  mov    %rbp,%r13
  mov    0x94(%rsp),%r12d
  mov    0x7c(%rsp),%r15d
  mov    (%rax),%rbx
  mov    0x98(%rsp),%rbp
  nopw   0x0(%rax,%rax,1)
L29:
  mov    (%rbx,%r13,8),%rdx
  mov    0x38(%rsp),%rax
  movss  (%rdx,%rax,1),%xmm1
  test   %r15d,%r15d
  jle    L378
  mov    0x50(%rsp),%rax
  mov    0x28(%rsp),%rsi
  cmpl   $0x2,0x60(%rsp)
  mov    (%rax,%rsi,8),%rcx
  jbe    L188
  xor    %eax,%eax
  nopw   0x0(%rax,%rax,1)
L56:
  movups (%rcx,%rax,1),%xmm0
  movups (%rdx,%rax,1),%xmm4
  add    $0x10,%rax
  mulps  %xmm4,%xmm0
  addss  %xmm0,%xmm1
  movaps %xmm0,%xmm2
  shufps $0x55,%xmm0,%xmm2
  addss  %xmm1,%xmm2
  movaps %xmm0,%xmm1
  unpckhps %xmm0,%xmm1
  shufps $0xff,%xmm0,%xmm0
  addss  %xmm2,%xmm1
  addss  %xmm0,%xmm1
  cmp    %rbp,%rax
  jne    L56
  mov    %r12d,%eax
  cmp    %r15d,%r12d
  je     L378
L110:
  movslq %eax,%r10
  movss  (%rdx,%r10,4),%xmm0
  mulss  (%rcx,%r10,4),%xmm0
  lea    0x0(,%r10,4),%r9
  lea    0x1(%rax),%r10d
  addss  %xmm0,%xmm1
  cmp    %r10d,%r15d
  jle    L378
  movss  0x4(%rcx,%r9,1),%xmm0
  mulss  0x4(%rdx,%r9,1),%xmm0
  add    $0x2,%eax
  addss  %xmm0,%xmm1
  cmp    %eax,%r15d
  jle    L378
  movss  0x8(%rcx,%r9,1),%xmm0
  mulss  0x8(%rdx,%r9,1),%xmm0
  addss  %xmm0,%xmm1
L378:
  xorps  D2(%rip),%xmm1
  pxor   %xmm0,%xmm0
  cvtss2sd %xmm1,%xmm0
  call   <exp@plt>
  mov    (%r14),%rax
  movsd  D1(%rip),%xmm1
  addsd  %xmm0,%xmm1
  movsd  D1(%rip),%xmm0
  divsd  %xmm1,%xmm0
  cvtsd2ss %xmm0,%xmm0
  movss  %xmm0,(%rax,%r13,4)
  mov    0x20(%rsp),%rax
  add    $0x1,%r13
  cmp    %r13d,(%rax)
  jg     L29
L80:
  cmpl   $0x1,0x64(%rsp)
  mov    0x58(%rsp),%r15
  movq   $0x1,0x18(%rsp)
  jle    L26
  nopl   0x0(%rax)
L98:
  mov    0x30(%rsp),%rdi
  mov    0x18(%rsp),%rax
  mov    (%rdi,%rax,4),%ebp
  mov    0x20(%rsp),%rdi
  mov    (%rdi,%rax,4),%eax
  lea    -0x1(%rbp),%r13d
  mov    %eax,0x10(%rsp)
  test   %eax,%eax
  jle    L364
  movslq %r13d,%r12
  mov    0x18(%rsp),%rdi
  mov    %r13d,%ebx
  lea    0x0(,%r12,4),%rax
  and    $0xfffffffc,%ebx
  mov    %r15,%r12
  mov    %rax,0x8(%rsp)
  mov    0x40(%rsp),%rax
  mov    (%rax,%rdi,8),%r14
  lea    -0x2(%rbp),%eax
  mov    %r13d,%ebp
  mov    %eax,0x14(%rsp)
  mov    %r13d,%eax
  shr    $0x2,%eax
  lea    -0x1(%rax),%esi
  xor    %eax,%eax
  add    $0x1,%rsi
  mov    %rax,%r15
  shl    $0x4,%rsi
  mov    %rsi,%r13
  nop
L341:
  mov    (%r14,%r15,8),%rdx
  mov    0x8(%rsp),%rax
  movss  (%rdx,%rax,1),%xmm0
  test   %ebp,%ebp
  jle    L121
  cmpl   $0x2,0x14(%rsp)
  mov    (%r12),%rcx
  jbe    L63
  xor    %eax,%eax
  nopw   0x0(%rax,%rax,1)
L242:
  movups (%rcx,%rax,1),%xmm2
  movups (%rdx,%rax,1),%xmm3
  add    $0x10,%rax
  mulps  %xmm3,%xmm2
  addss  %xmm2,%xmm0
  movaps %xmm2,%xmm1
  shufps $0x55,%xmm2,%xmm1
  addss  %xmm0,%xmm1
  movaps %xmm2,%xmm0
  unpckhps %xmm2,%xmm0
  shufps $0xff,%xmm2,%xmm2
  addss  %xmm1,%xmm0
  addss  %xmm2,%xmm0
  cmp    %rax,%r13
  jne    L242
  mov    %ebx,%eax
  cmp    %ebp,%ebx
  je     L121
L12:
  movslq %eax,%r10
  movss  (%rdx,%r10,4),%xmm1
  mulss  (%rcx,%r10,4),%xmm1
  lea    0x0(,%r10,4),%r9
  lea    0x1(%rax),%r10d
  addss  %xmm1,%xmm0
  cmp    %r10d,%ebp
  jle    L121
  movss  0x4(%rdx,%r9,1),%xmm1
  mulss  0x4(%rcx,%r9,1),%xmm1
  add    $0x2,%eax
  addss  %xmm1,%xmm0
  cmp    %ebp,%eax
  jge    L121
  movss  0x8(%rcx,%r9,1),%xmm1
  mulss  0x8(%rdx,%r9,1),%xmm1
  addss  %xmm1,%xmm0
L121:
  xorps  D2(%rip),%xmm0
  cvtss2sd %xmm0,%xmm0
  call   <exp@plt>
  mov    0x8(%r12),%rax
  movsd  D1(%rip),%xmm1
  addsd  %xmm0,%xmm1
  movsd  D1(%rip),%xmm0
  divsd  %xmm1,%xmm0
  cvtsd2ss %xmm0,%xmm0
  movss  %xmm0,(%rax,%r15,4)
  add    $0x1,%r15
  cmp    %r15d,0x10(%rsp)
  jg     L341
  mov    %r12,%r15
L364:
  addq   $0x1,0x18(%rsp)
  add    $0x8,%r15
  mov    0x18(%rsp),%rax
  cmp    %rax,0x48(%rsp)
  jne    L98
L26:
  mov    0x88(%rsp),%rdi
  call   <malloc@plt>
  mov    0x68(%rsp),%rdi
  mov    0x28(%rsp),%rsi
  mov    %rax,(%rdi,%rsi,8)
  lea    D27(%rip),%rdi
  lea    0x1(%rsi),%esi
  xor    %eax,%eax
  call   <printf@plt>
  mov    0x78(%rsp),%edi
  test   %edi,%edi
  jle    L325
  mov    0x58(%rsp),%rax
  mov    0x70(%rsp),%rsi
  xor    %ebp,%ebp
  lea    D74(%rip),%rbx
  mov    0x80(%rsp),%r13
  mov    0x28(%rsp),%r14
  mov    -0x8(%rax,%rsi,1),%r12
  mov    0x68(%rsp),%r15
  nopl   0x0(%rax,%rax,1)
L163:
  movss  (%r12,%rbp,1),%xmm0
  mov    (%r15,%r14,8),%rax
  mov    %rbx,%rdi
  movss  %xmm0,(%rax,%rbp,1)
  mov    $0x1,%eax
  add    $0x4,%rbp
  cvtss2sd %xmm0,%xmm0
  call   <printf@plt>
  cmp    %rbp,%r13
  jne    L163
L325:
  mov    $0xa,%edi
  call   <putchar@plt>
  addq   $0x1,0x28(%rsp)
  mov    0x28(%rsp),%rax
  cmp    %eax,0x90(%rsp)
  jg     L245
  mov    0x64(%rsp),%ecx
  test   %ecx,%ecx
  jle    L127
L267:
  mov    0x58(%rsp),%rbp
  xor    %ebx,%ebx
L269:
  mov    0x0(%rbp,%rbx,8),%rdi
  add    $0x1,%rbx
  call   <free@plt>
  cmp    %ebx,0x64(%rsp)
  jg     L269
L127:
  mov    0x30(%rsp),%rdi
  call   <free@plt>
  mov    0x68(%rsp),%rax
  add    $0xa8,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L63:
  xor    %eax,%eax
  jmp    L12
L188:
  xor    %eax,%eax
  jmp    L110
L233:
  mov    %rax,%rdi
  call   <malloc@plt>
  cmpl   $0x1,0x64(%rsp)
  mov    %rax,0x58(%rsp)
  je     L187
  mov    %rbp,%rdi
  call   <malloc@plt>
  mov    %rax,0x68(%rsp)
  mov    (%rbx),%eax
  mov    %eax,0x78(%rsp)
  mov    0x90(%rsp),%eax
  test   %eax,%eax
  jg     L164
  jmp    L127
L266:
  mov    $0x1,%eax
  jmp    L156
L187:
  mov    0x20(%rsp),%rax
  movslq (%rax),%rdi
  shl    $0x2,%rdi
  call   <malloc@plt>
  mov    0x58(%rsp),%rdi
  mov    %rax,(%rdi)
  jmp    L350
```

tool_calls: name: disassemble_data
arguments: data_label: D64
type_guessed: byte[16]
name: disassemble_data
arguments: data_label: D2
type_guessed: byte[16]
name: disassemble_data
arguments: data_label: D1
type_guessed: f32[2]
name: disassemble_data
arguments: data_label: D27
type_guessed: string
name: disassemble_data
arguments: data_label: D74
type_guessed: string

tool: {"D64": [0x01,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x01,0x00,0x00,0x00]}

tool: {"D2": [0x00,0x00,0x00,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00]}

tool: {"D1": [0.0,1.875]}

tool: D27: %d.

tool: D74:   %f

assistant: ```c
float **ssn_sprawdz(const int liczbaWarstw, const int *const warstwy, const int in, const float *const *const *const ssn, const int liczbaProbek, const float *const *const probki) {
  int *const I = malloc(liczbaWarstw * sizeof(int));
  *(I + 0) = in + 1;
  for (int w = 1; w < liczbaWarstw; ++w) {
    *(I + w) = *(warstwy + w - 1) + 1;
  }
  float **const Y = malloc(liczbaWarstw * sizeof(float *));
  for (int w = 0; w < liczbaWarstw; ++w) {
    *(Y + w) = malloc(*(warstwy + w) * sizeof(float));
  }
  float **const E = malloc(liczbaProbek * sizeof(float *));
  const int liczWejsc = *(I + 0) - 1;
  const int liczWyjsc = *(warstwy + liczbaWarstw - 1);
  for (int p = 0; p < liczbaProbek; ++p) {
    for (int n = 0; n < *(warstwy + 0); ++n) {
      float s = *(*(*(ssn + 0) + n) + liczWejsc);
      for (int i = 0; i < liczWejsc; ++i) {
        s = s + *(*(*(ssn + 0) + n) + i) * *(*(probki + p) + i);
      }
      *(*(Y + 0) + n) = (1.0f / (1.0f + exp(-s)));
    }
    for (int w = 1; w < liczbaWarstw; ++w) {
      const int popWar = w - 1;
      const int liczWejsc = *(I + w) - 1;
      for (int n = 0; n < *(warstwy + w); ++n) {
        float s = *(*(*(ssn + w) + n) + liczWejsc);
        for (int i = 0; i < liczWejsc; ++i) {
          s = s + *(*(*(ssn + w) + n) + i) * *(*(Y + popWar) + i);
        }
        *(*(Y + w) + n) = (1.0f / (1.0f + exp(-s)));
      }
    }
    *(E + p) = malloc(liczWyjsc * sizeof(float));
    printf("%d.", p + 1);
    for (int n = 0; n < liczWyjsc; ++n) {
      *(*(E + p) + n) = *(*(Y + liczbaWarstw - 1) + n);
      printf("  %f", *(*(E + p) + n));
    }
    printf("\n");
  }
  for (int w = 0; w < liczbaWarstw; ++w) {
    free(*(Y + w));
  }
  free(I);
  return E;
}
```