user: What is the c source code of the assembly code below?

```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    $0x88,%rsp
  mov    %rsi,0x18(%rsp)
  mov    %r15d,0x50(%rsp)
  mov    %edx,0x60(%rsp)
  mov    %rcx,0x30(%rsp)
  mov    %r8d,0x64(%rsp)
  mov    %r9,0x40(%rsp)
  mov    %r15,0x38(%rsp)
  call   <malloc@plt>
  mov    %rax,%rsi
  mov    %rax,0x20(%rsp)
  lea    0x1(%r12),%eax
  mov    %eax,(%rsi)
  lea    0x0(,%r15,8),%rax
  mov    %rbp,%rsi
  movslq %r13d,%rbp
  mov    %rax,0x58(%rsp)
  shl    $0x3,%rbp
  cmp    $0x1,%r15d
  jle    L227
  lea    -0x1(%r15),%ecx
  xor    %eax,%eax
L92:
  mov    (%rsi,%rax,4),%edi
  lea    0x1(%rdi),%edx
  mov    0x20(%rsp),%rdi
  mov    %edx,0x4(%rdi,%rax,4)
  add    $0x1,%rax
  cmp    %rax,%rcx
  jne    L92
  mov    0x58(%rsp),%rdi
  xor    %r12d,%r12d
  call   <malloc@plt>
  mov    %rax,%r15
L104:
  mov    0x18(%rsp),%rax
  movslq (%rax,%r12,4),%rdi
  shl    $0x2,%rdi
  call   <malloc@plt>
  mov    %rax,(%r15,%r12,8)
  add    $0x1,%r12
  cmp    %r12d,0x50(%rsp)
  jg     L104
L87:
  mov    %rbp,%rdi
  call   <malloc@plt>
  mov    0x64(%rsp),%edx
  mov    %rax,0x48(%rsp)
  mov    0x20(%rsp),%rax
  mov    (%rax),%eax
  mov    %eax,(%rsp)
  sub    $0x1,%eax
  mov    %eax,0x60(%rsp)
  mov    (%rbx),%eax
  mov    %eax,0x54(%rsp)
  test   %edx,%edx
  jle    L69
L179:
  movq   $0x0,0x10(%rsp)
  movslq 0x60(%rsp),%rax
  mov    %rax,0x78(%rsp)
  shl    $0x2,%rax
  mov    %rax,0x28(%rsp)
  movslq 0x54(%rsp),%rax
  mov    %rax,%rbx
  shl    $0x2,%rax
  mov    %rax,0x68(%rsp)
  lea    -0x1(%rbx),%eax
  lea    0x4(,%rax,4),%rax
  mov    %rax,0x70(%rsp)
L61:
  mov    0x18(%rsp),%rax
  mov    (%rax),%esi
  test   %esi,%esi
  jle    L167
  mov    0x30(%rsp),%rax
  mov    0x18(%rsp),%r13
  mov    %r15,%rbp
  mov    0x60(%rsp),%r14d
  mov    0x78(%rsp),%r12
  mov    (%rax),%rbx
  xor    %eax,%eax
  mov    %rax,%r15
  nopw   0x0(%rax,%rax,1)
L148:
  mov    (%rbx,%r15,8),%rdx
  mov    0x28(%rsp),%rax
  movss  (%rdx,%rax,1),%xmm1
  test   %r14d,%r14d
  jle    L228
  mov    0x40(%rsp),%rax
  mov    0x10(%rsp),%rsi
  mov    (%rax,%rsi,8),%rcx
  xor    %eax,%eax
  nopl   0x0(%rax,%rax,1)
L202:
  movss  (%rdx,%rax,4),%xmm0
  mulss  (%rcx,%rax,4),%xmm0
  add    $0x1,%rax
  addss  %xmm0,%xmm1
  cmp    %rax,%r12
  jne    L202
L228:
  xorps  D32(%rip),%xmm1
  pxor   %xmm0,%xmm0
  cvtss2sd %xmm1,%xmm0
  call   <exp@plt>
  mov    0x0(%rbp),%rax
  movsd  D48(%rip),%xmm1
  addsd  %xmm0,%xmm1
  movsd  D48(%rip),%xmm0
  divsd  %xmm1,%xmm0
  cvtsd2ss %xmm0,%xmm0
  movss  %xmm0,(%rax,%r15,4)
  add    $0x1,%r15
  cmp    %r15d,0x0(%r13)
  jg     L148
  mov    %rbp,%r15
L167:
  mov    $0x1,%r12d
  cmpl   $0x1,0x50(%rsp)
  mov    %r12,%r13
  jle    L161
  cs nopw 0x0(%rax,%rax,1)
L59:
  mov    0x20(%rsp),%rax
  mov    (%rax,%r13,4),%ebx
  mov    0x18(%rsp),%rax
  mov    (%rax,%r13,4),%eax
  lea    -0x1(%rbx),%r14d
  mov    %eax,(%rsp)
  test   %eax,%eax
  jle    L206
  movslq %r14d,%rbp
  mov    0x30(%rsp),%rsi
  sub    $0x2,%ebx
  lea    0x0(,%rbp,4),%rax
  xor    %ebp,%ebp
  mov    %ebx,0xc(%rsp)
  mov    %rbp,%rdi
  mov    (%rsi,%r13,8),%r12
  mov    %r15,%rbp
  mov    %rax,%rbx
  mov    %rdi,%r15
  nopw   0x0(%rax,%rax,1)
L113:
  mov    (%r12,%r15,8),%rcx
  movss  (%rcx,%rbx,1),%xmm1
  test   %r14d,%r14d
  jle    L190
  mov    -0x8(%rbp,%r13,8),%rdi
  mov    0xc(%rsp),%esi
  xor    %eax,%eax
  nopl   0x0(%rax)
L213:
  movss  (%rcx,%rax,4),%xmm0
  mulss  (%rdi,%rax,4),%xmm0
  mov    %rax,%rdx
  add    $0x1,%rax
  addss  %xmm0,%xmm1
  cmp    %rdx,%rsi
  jne    L213
L190:
  xorps  D32(%rip),%xmm1
  pxor   %xmm0,%xmm0
  cvtss2sd %xmm1,%xmm0
  call   <exp@plt>
  mov    0x0(%rbp,%r13,8),%rax
  movsd  D48(%rip),%xmm1
  addsd  %xmm0,%xmm1
  movsd  D48(%rip),%xmm0
  divsd  %xmm1,%xmm0
  cvtsd2ss %xmm0,%xmm0
  movss  %xmm0,(%rax,%r15,4)
  add    $0x1,%r15
  cmp    %r15d,(%rsp)
  jg     L113
  mov    %rbp,%r15
L206:
  add    $0x1,%r13
  cmp    %r13,0x38(%rsp)
  jne    L59
L161:
  mov    0x68(%rsp),%rdi
  call   <malloc@plt>
  mov    0x48(%rsp),%rsi
  mov    0x10(%rsp),%rbx
  lea    D9(%rip),%rdi
  mov    %rax,(%rsi,%rbx,8)
  lea    0x1(%rbx),%esi
  xor    %eax,%eax
  call   <printf@plt>
  mov    0x54(%rsp),%edi
  test   %edi,%edi
  jle    L136
  mov    0x58(%rsp),%rax
  mov    0x10(%rsp),%r13
  mov    %r15,(%rsp)
  xor    %ebp,%ebp
  mov    0x70(%rsp),%r14
  lea    D29(%rip),%rbx
  mov    -0x8(%r15,%rax,1),%r12
  mov    %r12,%r15
  mov    0x48(%rsp),%r12
  nopl   0x0(%rax,%rax,1)
L135:
  movss  (%r15,%rbp,1),%xmm0
  mov    (%r12,%r13,8),%rax
  mov    %rbx,%rdi
  movss  %xmm0,(%rax,%rbp,1)
  mov    $0x1,%eax
  add    $0x4,%rbp
  cvtss2sd %xmm0,%xmm0
  call   <printf@plt>
  cmp    %rbp,%r14
  jne    L135
  mov    (%rsp),%r15
L136:
  mov    $0xa,%edi
  call   <putchar@plt>
  addq   $0x1,0x10(%rsp)
  mov    0x10(%rsp),%rax
  cmp    %eax,0x64(%rsp)
  jg     L61
  mov    0x50(%rsp),%ecx
  test   %ecx,%ecx
  jle    L101
L69:
  xor    %ebx,%ebx
L48:
  mov    (%r15,%rbx,8),%rdi
  add    $0x1,%rbx
  call   <free@plt>
  cmp    %ebx,0x50(%rsp)
  jg     L48
L101:
  mov    0x20(%rsp),%rdi
  call   <free@plt>
  mov    0x48(%rsp),%rax
  add    $0x88,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L227:
  mov    0x58(%rsp),%rdi
  call   <malloc@plt>
  cmpl   $0x1,0x50(%rsp)
  mov    %rax,%r15
  je     L224
  mov    %rbp,%rdi
  call   <malloc@plt>
  mov    %rax,0x48(%rsp)
  mov    (%rbx),%eax
  mov    %eax,0x54(%rsp)
  mov    0x64(%rsp),%eax
  test   %eax,%eax
  jg     L179
  jmp    L101
L224:
  mov    0x18(%rsp),%rax
  movslq (%rax),%rdi
  shl    $0x2,%rdi
  call   <malloc@plt>
  mov    %rax,(%r15)
  jmp    L87
```

tool_calls: name: unpack_data
arguments: tag: D32
type: byte[16]
name: unpack_data
arguments: tag: D48
type: f32[2]
name: unpack_data
arguments: tag: D9
type: string
name: unpack_data
arguments: tag: D29
type: string

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

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

tool: D9: %d.

tool: D29:   %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;
}
```