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

```asm
<block_mult_ed>:
  endbr64
  push   %r15
  movslq %ecx,%r15
  push   %r14
  mov    %r15d,%eax
  mov    %r15,%r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  mov    %r8d,%ebx
  sub    $0x68,%rsp
  mov    %rdx,0x58(%rsp)
  cltd
  idiv   %r8d
  mov    %rdi,0x20(%rsp)
  mov    %rsi,0x28(%rsp)
  lea    0x0(,%r15,8),%rdi
  mov    %eax,0x1c(%rsp)
  call   <malloc@plt>
  mov    %rax,0x40(%rsp)
  test   %r15d,%r15d
  jle    L92
  mov    %r14d,%r13d
  shl    $0x2,%r15
  mov    %rax,%r12
  mov    %r13,0x8(%rsp)
  lea    (%rax,%r13,8),%rbp
  mov    %ebx,%r13d
  mov    %rax,%rbx
L300:
  mov    %r15,%rdi
  add    $0x8,%rbx
  call   <malloc@plt>
  mov    %rax,-0x8(%rbx)
  cmp    %rbp,%rbx
  jne    L300
  mov    %r13d,%ebx
  mov    0x8(%rsp),%r13
  shl    $0x2,%r13
L15:
  mov    (%r12),%rdi
  mov    %r13,%rdx
  xor    %esi,%esi
  add    $0x8,%r12
  call   <memset@plt>
  cmp    %rbp,%r12
  jne    L15
L92:
  movslq %ebx,%rbp
  lea    0x0(,%rbp,8),%r12
  mov    %r12,%rdi
  call   <malloc@plt>
  mov    %rax,%r15
  test   %ebx,%ebx
  jle    L242
  mov    %ebx,%edx
  lea    0x0(,%rbp,4),%rax
  mov    %ebx,0x10(%rsp)
  mov    %r15,%rbp
  lea    0x0(,%rdx,8),%r13
  mov    %rax,0x8(%rsp)
  mov    %r15,%rbx
  lea    0x0(%r13,%r15,1),%rax
  mov    %rax,0x30(%rsp)
L254:
  mov    0x8(%rsp),%rdi
  mov    %rdx,0x38(%rsp)
  add    $0x8,%rbx
  call   <malloc@plt>
  mov    0x38(%rsp),%rdx
  mov    %rax,-0x8(%rbx)
  cmp    0x30(%rsp),%rbx
  jne    L254
  lea    0x0(,%rdx,4),%rax
  mov    0x10(%rsp),%ebx
  mov    %rax,0x10(%rsp)
L168:
  mov    0x0(%rbp),%rdi
  mov    0x10(%rsp),%rdx
  xor    %esi,%esi
  add    $0x8,%rbp
  call   <memset@plt>
  cmp    0x30(%rsp),%rbp
  jne    L168
  mov    %r12,%rdi
  call   <malloc@plt>
  mov    %r14d,0x38(%rsp)
  mov    %rax,%rbp
  lea    0x0(%r13,%rax,1),%rax
  mov    %ebx,0x48(%rsp)
  mov    %rax,0x30(%rsp)
  mov    %rbp,%r14
  mov    %rbp,%rbx
L265:
  mov    0x8(%rsp),%rdi
  add    $0x8,%rbx
  call   <malloc@plt>
  mov    %rax,-0x8(%rbx)
  cmp    0x30(%rsp),%rbx
  jne    L265
  mov    0x48(%rsp),%eax
  mov    %r14,%rbx
  mov    0x38(%rsp),%r14d
  mov    %eax,0x38(%rsp)
L269:
  mov    (%rbx),%rdi
  mov    0x10(%rsp),%rdx
  xor    %esi,%esi
  add    $0x8,%rbx
  call   <memset@plt>
  cmp    0x30(%rsp),%rbx
  jne    L269
  mov    0x38(%rsp),%ebx
  mov    %r12,%rdi
  call   <malloc@plt>
  mov    %r14d,0x30(%rsp)
  mov    %ebx,0x38(%rsp)
  mov    %rax,%r12
  add    %rax,%r13
  mov    %rax,%r14
  mov    %rax,%rbx
L268:
  mov    0x8(%rsp),%rdi
  add    $0x8,%rbx
  call   <malloc@plt>
  mov    %rax,-0x8(%rbx)
  cmp    %r13,%rbx
  jne    L268
  mov    0x38(%rsp),%eax
  mov    %r14,%rbx
  mov    0x30(%rsp),%r14d
  mov    %eax,0x8(%rsp)
L174:
  mov    (%rbx),%rdi
  mov    0x10(%rsp),%rdx
  xor    %esi,%esi
  add    $0x8,%rbx
  call   <memset@plt>
  cmp    %r13,%rbx
  jne    L174
  mov    0x8(%rsp),%ebx
L136:
  mov    0x1c(%rsp),%eax
  test   %eax,%eax
  jle    L259
  lea    -0x1(%rbx),%eax
  movl   $0x0,0x10(%rsp)
  add    $0x1,%rax
  lea    (%r15,%rax,8),%rcx
  shl    $0x2,%rax
  mov    %rcx,0x50(%rsp)
  mov    %rax,0x48(%rsp)
L33:
  movl   $0x0,0x8(%rsp)
  nopl   (%rax)
L10:
  xor    %r13d,%r13d
  nopl   0x0(%rax,%rax,1)
L221:
  mov    0x10(%rsp),%r8d
  mov    0x20(%rsp),%rdi
  mov    %r13d,%r9d
  mov    %ebx,%ecx
  mov    %r14d,%edx
  mov    %rbp,%rsi
  xor    %eax,%eax
  call   <create_block_line@plt>
  mov    0x8(%rsp),%r9d
  mov    %r13d,%r8d
  mov    %ebx,%ecx
  mov    0x28(%rsp),%rdi
  mov    %r14d,%edx
  mov    %r12,%rsi
  xor    %eax,%eax
  add    $0x1,%r13d
  call   <create_block_column@plt>
  mov    %ebx,%ecx
  mov    %rbp,%rdx
  mov    %r12,%rsi
  mov    %rbp,%rdi
  xor    %eax,%eax
  call   <multy@plt>
  mov    %ebx,%ecx
  mov    %r15,%rdx
  mov    %rbp,%rsi
  mov    %r15,%rdi
  xor    %eax,%eax
  call   <sum@plt>
  cmp    %r13d,0x1c(%rsp)
  jne    L221
  mov    0x8(%rsp),%r9d
  mov    0x10(%rsp),%r8d
  xor    %eax,%eax
  mov    %ebx,%ecx
  mov    0x40(%rsp),%rdi
  mov    %r14d,%edx
  mov    %r15,%rsi
  call   <bring_block_back@plt>
  test   %ebx,%ebx
  jle    L318
  mov    %rbp,0x30(%rsp)
  mov    0x48(%rsp),%r13
  mov    0x50(%rsp),%rbp
  mov    %ebx,0x38(%rsp)
  mov    %r15,%rbx
  nop
L271:
  mov    (%rbx),%rdi
  mov    %r13,%rdx
  xor    %esi,%esi
  add    $0x8,%rbx
  call   <memset@plt>
  cmp    %rbp,%rbx
  jne    L271
  mov    0x30(%rsp),%rbp
  mov    0x38(%rsp),%ebx
L318:
  addl   $0x1,0x8(%rsp)
  mov    0x8(%rsp),%eax
  cmp    %eax,0x1c(%rsp)
  jne    L10
  addl   $0x1,0x10(%rsp)
  mov    0x10(%rsp),%eax
  cmp    %eax,0x1c(%rsp)
  jne    L33
L259:
  test   %r14d,%r14d
  jle    L56
  lea    -0x1(%r14),%eax
  mov    %r14d,%edi
  mov    %r14d,%r13d
  xor    %esi,%esi
  mov    %eax,0x10(%rsp)
  mov    %r14d,%eax
  and    $0xfffffffc,%edi
  shr    $0x2,%eax
  mov    %edi,%r8d
  lea    -0x1(%rax),%ecx
  lea    0x1(%rdi),%eax
  shl    $0x2,%r8
  add    $0x1,%rcx
  mov    %eax,0x1c(%rsp)
  lea    0x0(,%rax,4),%r11
  lea    0x2(%rdi),%eax
  shl    $0x4,%rcx
  mov    %eax,0x20(%rsp)
  lea    0x0(,%rax,4),%r10
  mov    %rcx,0x8(%rsp)
L329:
  mov    0x58(%rsp),%rcx
  mov    0x40(%rsp),%rax
  mov    (%rcx,%rsi,8),%rdx
  mov    (%rax,%rsi,8),%rax
  mov    %rdx,%rcx
  lea    0x4(%rax),%r9
  sub    %r9,%rcx
  cmp    $0x8,%rcx
  jbe    L328
  xor    %r9d,%r9d
  cmpl   $0x2,0x10(%rsp)
  mov    0x8(%rsp),%rcx
  jbe    L328
L304:
  movdqu (%rax,%r9,1),%xmm0
  movups %xmm0,(%rdx,%r9,1)
  add    $0x10,%r9
  cmp    %r9,%rcx
  jne    L304
  mov    %rcx,0x8(%rsp)
  cmp    %edi,%r14d
  je     L276
  mov    (%rax,%r8,1),%r9d
  mov    %r9d,(%rdx,%r8,1)
  cmp    0x1c(%rsp),%r14d
  jle    L276
  mov    (%rax,%r11,1),%r9d
  mov    %r9d,(%rdx,%r11,1)
  cmp    0x20(%rsp),%r14d
  jle    L276
  mov    (%rax,%r10,1),%eax
  mov    %eax,(%rdx,%r10,1)
L276:
  add    $0x1,%rsi
  cmp    %r13,%rsi
  jne    L329
  mov    0x40(%rsp),%rax
  mov    %rax,%r14
  lea    (%rax,%rsi,8),%r13
L160:
  mov    (%r14),%rdi
  add    $0x8,%r14
  call   <free@plt>
  cmp    %r14,%r13
  jne    L160
L56:
  mov    0x40(%rsp),%rdi
  call   <free@plt>
  test   %ebx,%ebx
  jle    L325
  mov    %ebx,%ebx
  mov    %r15,%r13
  shl    $0x3,%rbx
  lea    (%r15,%rbx,1),%r14
L176:
  mov    0x0(%r13),%rdi
  add    $0x8,%r13
  call   <free@plt>
  cmp    %r13,%r14
  jne    L176
  mov    %r15,%rdi
  mov    %rbp,%r13
  lea    0x0(%rbp,%rbx,1),%r14
  call   <free@plt>
L285:
  mov    0x0(%r13),%rdi
  add    $0x8,%r13
  call   <free@plt>
  cmp    %r13,%r14
  jne    L285
  mov    %rbp,%rdi
  add    %r12,%rbx
  mov    %r12,%rbp
  call   <free@plt>
L64:
  mov    0x0(%rbp),%rdi
  add    $0x8,%rbp
  call   <free@plt>
  cmp    %rbp,%rbx
  jne    L64
L70:
  mov    %r12,%rdi
  call   <free@plt>
  add    $0x68,%rsp
  xor    %eax,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L328:
  xor    %r9d,%r9d
L118:
  mov    (%rax,%r9,4),%ecx
  mov    %ecx,(%rdx,%r9,4)
  add    $0x1,%r9
  cmp    %r13,%r9
  jne    L118
  jmp    L276
L242:
  mov    %r12,%rdi
  call   <malloc@plt>
  mov    %r12,%rdi
  mov    %rax,%rbp
  call   <malloc@plt>
  mov    %rax,%r12
  jmp    L136
L325:
  mov    %r15,%rdi
  call   <free@plt>
  mov    %rbp,%rdi
  call   <free@plt>
  jmp    L70
```

assistant: ```c
int block_mult_ed(int **input1, int **input2, int **out, int size, int param) {
  int i, j, k, a, b;
  int p = size / param;
  int **temp = (int **)malloc(size * sizeof(int *));
  for (i = 0; i < size; i++)
    temp[i] = (int *)malloc(size * sizeof(int));
  for (i = 0; i < size; i++)
    for (j = 0; j < size; j++)
      temp[i][j] = 0;
  int **temp_min = (int **)malloc(param * sizeof(int *));
  for (i = 0; i < param; i++)
    temp_min[i] = (int *)malloc(param * sizeof(int));
  for (i = 0; i < param; i++)
    for (j = 0; j < param; j++)
      temp_min[i][j] = 0;
  int **line = (int **)malloc(param * sizeof(int *));
  for (i = 0; i < param; i++)
    line[i] = (int *)malloc(param * sizeof(int));
  for (i = 0; i < param; i++)
    for (j = 0; j < param; j++)
      line[i][j] = 0;
  int **column = (int **)malloc(param * sizeof(int *));
  for (i = 0; i < param; i++)
    column[i] = (int *)malloc(param * sizeof(int));
  for (i = 0; i < param; i++)
    for (j = 0; j < param; j++)
      column[i][j] = 0;
  for (i = 0; i < p; i++)
    for (j = 0; j < p; j++) {
      for (k = 0; k < p; k++) {
        create_block_line(input1, line, size, param, i, k);
        create_block_column(input2, column, size, param, k, j);
        multy(line, column, line, param);
        sum(temp_min, line, temp_min, param);
      }
      bring_block_back(temp, temp_min, size, param, i, j);
      for (a = 0; a < param; a++)
        for (b = 0; b < param; b++)
          temp_min[a][b] = 0;
    }
  for (i = 0; i < size; i++)
    for (j = 0; j < size; j++)
      out[i][j] = temp[i][j];
  for (i = 0; i < size; i++)
    free(temp[i]);
  free(temp);
  for (i = 0; i < param; i++)
    free(temp_min[i]);
  free(temp_min);
  for (i = 0; i < param; i++)
    free(line[i]);
  free(line);
  for (i = 0; i < param; i++)
    free(column[i]);
  free(column);
  return 0;
}
```