user: Translate the below assembly code into C programming language:

```asm
<convolutionOfMatrix>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x1000,%rsp
  orq    $0x0,(%rsp)
  sub    $0x300,%rsp
  mov    %rdi,-0x12e8(%rbp)
  mov    %rsi,-0x12f0(%rbp)
  mov    %edx,-0x12f4(%rbp)
  mov    %fs:0x28,%rax
  mov    %rax,-0x8(%rbp)
  xor    %eax,%eax
  movl   $0x0,-0x12e0(%rbp)
  movl   $0x0,-0x12dc(%rbp)
  movl   $0x0,-0x12d8(%rbp)
  movl   $0x0,-0x12d4(%rbp)
  cmpl   $0x2,-0x12f4(%rbp)
  jne    L212
  movl   $0x0,-0x12e0(%rbp)
  jmp    L63
L277:
  movl   $0x0,-0x12dc(%rbp)
  jmp    L292
L190:
  addl   $0x1,-0x12dc(%rbp)
L292:
  mov    -0x12dc(%rbp),%eax
  cmp    -0x12f4(%rbp),%eax
  jl     L190
  addl   $0x1,-0x12e0(%rbp)
L63:
  mov    -0x12e0(%rbp),%eax
  cmp    -0x12f4(%rbp),%eax
  jl     L277
  jmp    L236
L212:
  movl   $0x0,-0x12d8(%rbp)
  movl   $0x0,-0x12e0(%rbp)
  jmp    L354
L374:
  movl   $0x0,-0x12d4(%rbp)
  movl   $0x0,-0x12dc(%rbp)
  jmp    L67
L77:
  mov    -0x12e0(%rbp),%eax
  movslq %eax,%rdx
  mov    %rdx,%rax
  shl    $0x2,%rax
  add    %rdx,%rax
  shl    $0x5,%rax
  mov    %rax,%rdx
  mov    -0x12e8(%rbp),%rax
  add    %rax,%rdx
  mov    -0x12dc(%rbp),%eax
  cltq
  movsd  (%rdx,%rax,8),%xmm0
  mov    -0x12d4(%rbp),%eax
  movslq %eax,%rcx
  mov    -0x12d8(%rbp),%eax
  movslq %eax,%rdx
  mov    %rdx,%rax
  shl    $0x2,%rax
  add    %rdx,%rax
  shl    $0x2,%rax
  add    %rcx,%rax
  movsd  %xmm0,-0x12d0(%rbp,%rax,8)
  addl   $0x1,-0x12d4(%rbp)
  addl   $0x1,-0x12dc(%rbp)
L67:
  mov    -0x12f4(%rbp),%eax
  mov    %eax,%edx
  shr    $0x1f,%edx
  add    %edx,%eax
  sar    %eax
  cmp    %eax,-0x12dc(%rbp)
  jl     L77
  addl   $0x1,-0x12d8(%rbp)
  addl   $0x1,-0x12e0(%rbp)
L354:
  mov    -0x12f4(%rbp),%eax
  mov    %eax,%edx
  shr    $0x1f,%edx
  add    %edx,%eax
  sar    %eax
  cmp    %eax,-0x12e0(%rbp)
  jl     L374
  mov    -0x12f4(%rbp),%eax
  mov    %eax,%edx
  shr    $0x1f,%edx
  add    %edx,%eax
  sar    %eax
  mov    %eax,%edx
  lea    -0xc90(%rbp),%rcx
  lea    -0x12d0(%rbp),%rax
  mov    %rcx,%rsi
  mov    %rax,%rdi
  call   <convolution2d@plt>
  movl   $0x0,-0x12d8(%rbp)
  movl   $0x0,-0x12e0(%rbp)
  jmp    L273
L387:
  movl   $0x0,-0x12d4(%rbp)
  movl   $0x0,-0x12dc(%rbp)
  jmp    L91
L52:
  mov    -0x12e0(%rbp),%eax
  movslq %eax,%rdx
  mov    %rdx,%rax
  shl    $0x2,%rax
  add    %rdx,%rax
  shl    $0x5,%rax
  mov    %rax,%rdx
  mov    -0x12f0(%rbp),%rax
  lea    (%rdx,%rax,1),%rcx
  mov    -0x12d4(%rbp),%eax
  movslq %eax,%rsi
  mov    -0x12d8(%rbp),%eax
  movslq %eax,%rdx
  mov    %rdx,%rax
  shl    $0x2,%rax
  add    %rdx,%rax
  shl    $0x2,%rax
  add    %rsi,%rax
  movsd  -0xc90(%rbp,%rax,8),%xmm0
  mov    -0x12dc(%rbp),%eax
  cltq
  movsd  %xmm0,(%rcx,%rax,8)
  addl   $0x1,-0x12d4(%rbp)
  addl   $0x1,-0x12dc(%rbp)
L91:
  mov    -0x12f4(%rbp),%eax
  mov    %eax,%edx
  shr    $0x1f,%edx
  add    %edx,%eax
  sar    %eax
  cmp    %eax,-0x12dc(%rbp)
  jl     L52
  addl   $0x1,-0x12d8(%rbp)
  addl   $0x1,-0x12e0(%rbp)
L273:
  mov    -0x12f4(%rbp),%eax
  mov    %eax,%edx
  shr    $0x1f,%edx
  add    %edx,%eax
  sar    %eax
  cmp    %eax,-0x12e0(%rbp)
  jl     L387
  movl   $0x0,-0x12d8(%rbp)
  movl   $0x0,-0x12e0(%rbp)
  jmp    L111
L219:
  movl   $0x0,-0x12d4(%rbp)
  mov    -0x12f4(%rbp),%eax
  mov    %eax,%edx
  shr    $0x1f,%edx
  add    %edx,%eax
  sar    %eax
  mov    %eax,-0x12dc(%rbp)
  jmp    L103
L6:
  mov    -0x12e0(%rbp),%eax
  movslq %eax,%rdx
  mov    %rdx,%rax
  shl    $0x2,%rax
  add    %rdx,%rax
  shl    $0x5,%rax
  mov    %rax,%rdx
  mov    -0x12e8(%rbp),%rax
  add    %rax,%rdx
  mov    -0x12dc(%rbp),%eax
  cltq
  movsd  (%rdx,%rax,8),%xmm0
  mov    -0x12d4(%rbp),%eax
  movslq %eax,%rcx
  mov    -0x12d8(%rbp),%eax
  movslq %eax,%rdx
  mov    %rdx,%rax
  shl    $0x2,%rax
  add    %rdx,%rax
  shl    $0x2,%rax
  add    %rcx,%rax
  movsd  %xmm0,-0x12d0(%rbp,%rax,8)
  addl   $0x1,-0x12d4(%rbp)
  addl   $0x1,-0x12dc(%rbp)
L103:
  mov    -0x12dc(%rbp),%eax
  cmp    -0x12f4(%rbp),%eax
  jl     L6
  addl   $0x1,-0x12d8(%rbp)
  addl   $0x1,-0x12e0(%rbp)
L111:
  mov    -0x12f4(%rbp),%eax
  mov    %eax,%edx
  shr    $0x1f,%edx
  add    %edx,%eax
  sar    %eax
  cmp    %eax,-0x12e0(%rbp)
  jl     L219
  mov    -0x12f4(%rbp),%eax
  mov    %eax,%edx
  shr    $0x1f,%edx
  add    %edx,%eax
  sar    %eax
  mov    %eax,%edx
  lea    -0xc90(%rbp),%rcx
  lea    -0x12d0(%rbp),%rax
  mov    %rcx,%rsi
  mov    %rax,%rdi
  call   <convolution2d@plt>
  movl   $0x0,-0x12d8(%rbp)
  movl   $0x0,-0x12e0(%rbp)
  jmp    L370
L180:
  movl   $0x0,-0x12d4(%rbp)
  mov    -0x12f4(%rbp),%eax
  mov    %eax,%edx
  shr    $0x1f,%edx
  add    %edx,%eax
  sar    %eax
  mov    %eax,-0x12dc(%rbp)
  jmp    L271
L7:
  mov    -0x12e0(%rbp),%eax
  movslq %eax,%rdx
  mov    %rdx,%rax
  shl    $0x2,%rax
  add    %rdx,%rax
  shl    $0x5,%rax
  mov    %rax,%rdx
  mov    -0x12f0(%rbp),%rax
  lea    (%rdx,%rax,1),%rcx
  mov    -0x12d4(%rbp),%eax
  movslq %eax,%rsi
  mov    -0x12d8(%rbp),%eax
  movslq %eax,%rdx
  mov    %rdx,%rax
  shl    $0x2,%rax
  add    %rdx,%rax
  shl    $0x2,%rax
  add    %rsi,%rax
  movsd  -0xc90(%rbp,%rax,8),%xmm0
  mov    -0x12dc(%rbp),%eax
  cltq
  movsd  %xmm0,(%rcx,%rax,8)
  addl   $0x1,-0x12d4(%rbp)
  addl   $0x1,-0x12dc(%rbp)
L271:
  mov    -0x12dc(%rbp),%eax
  cmp    -0x12f4(%rbp),%eax
  jl     L7
  addl   $0x1,-0x12d8(%rbp)
  addl   $0x1,-0x12e0(%rbp)
L370:
  mov    -0x12f4(%rbp),%eax
  mov    %eax,%edx
  shr    $0x1f,%edx
  add    %edx,%eax
  sar    %eax
  cmp    %eax,-0x12e0(%rbp)
  jl     L180
  movl   $0x0,-0x12d8(%rbp)
  mov    -0x12f4(%rbp),%eax
  mov    %eax,%edx
  shr    $0x1f,%edx
  add    %edx,%eax
  sar    %eax
  mov    %eax,-0x12e0(%rbp)
  jmp    L59
L171:
  movl   $0x0,-0x12d4(%rbp)
  movl   $0x0,-0x12dc(%rbp)
  jmp    L90
L14:
  mov    -0x12e0(%rbp),%eax
  movslq %eax,%rdx
  mov    %rdx,%rax
  shl    $0x2,%rax
  add    %rdx,%rax
  shl    $0x5,%rax
  mov    %rax,%rdx
  mov    -0x12e8(%rbp),%rax
  add    %rax,%rdx
  mov    -0x12dc(%rbp),%eax
  cltq
  movsd  (%rdx,%rax,8),%xmm0
  mov    -0x12d4(%rbp),%eax
  movslq %eax,%rcx
  mov    -0x12d8(%rbp),%eax
  movslq %eax,%rdx
  mov    %rdx,%rax
  shl    $0x2,%rax
  add    %rdx,%rax
  shl    $0x2,%rax
  add    %rcx,%rax
  movsd  %xmm0,-0x12d0(%rbp,%rax,8)
  addl   $0x1,-0x12d4(%rbp)
  addl   $0x1,-0x12dc(%rbp)
L90:
  mov    -0x12f4(%rbp),%eax
  mov    %eax,%edx
  shr    $0x1f,%edx
  add    %edx,%eax
  sar    %eax
  cmp    %eax,-0x12dc(%rbp)
  jl     L14
  addl   $0x1,-0x12d8(%rbp)
  addl   $0x1,-0x12e0(%rbp)
L59:
  mov    -0x12e0(%rbp),%eax
  cmp    -0x12f4(%rbp),%eax
  jl     L171
  mov    -0x12f4(%rbp),%eax
  mov    %eax,%edx
  shr    $0x1f,%edx
  add    %edx,%eax
  sar    %eax
  mov    %eax,%edx
  lea    -0xc90(%rbp),%rcx
  lea    -0x12d0(%rbp),%rax
  mov    %rcx,%rsi
  mov    %rax,%rdi
  call   <convolution2d@plt>
  movl   $0x0,-0x12d8(%rbp)
  mov    -0x12f4(%rbp),%eax
  mov    %eax,%edx
  shr    $0x1f,%edx
  add    %edx,%eax
  sar    %eax
  mov    %eax,-0x12e0(%rbp)
  jmp    L117
L301:
  movl   $0x0,-0x12d4(%rbp)
  movl   $0x0,-0x12dc(%rbp)
  jmp    L331
L215:
  mov    -0x12e0(%rbp),%eax
  movslq %eax,%rdx
  mov    %rdx,%rax
  shl    $0x2,%rax
  add    %rdx,%rax
  shl    $0x5,%rax
  mov    %rax,%rdx
  mov    -0x12f0(%rbp),%rax
  lea    (%rdx,%rax,1),%rcx
  mov    -0x12d4(%rbp),%eax
  movslq %eax,%rsi
  mov    -0x12d8(%rbp),%eax
  movslq %eax,%rdx
  mov    %rdx,%rax
  shl    $0x2,%rax
  add    %rdx,%rax
  shl    $0x2,%rax
  add    %rsi,%rax
  movsd  -0xc90(%rbp,%rax,8),%xmm0
  mov    -0x12dc(%rbp),%eax
  cltq
  movsd  %xmm0,(%rcx,%rax,8)
  addl   $0x1,-0x12d4(%rbp)
  addl   $0x1,-0x12dc(%rbp)
L331:
  mov    -0x12f4(%rbp),%eax
  mov    %eax,%edx
  shr    $0x1f,%edx
  add    %edx,%eax
  sar    %eax
  cmp    %eax,-0x12dc(%rbp)
  jl     L215
  addl   $0x1,-0x12d8(%rbp)
  addl   $0x1,-0x12e0(%rbp)
L117:
  mov    -0x12e0(%rbp),%eax
  cmp    -0x12f4(%rbp),%eax
  jl     L301
  movl   $0x0,-0x12d8(%rbp)
  mov    -0x12f4(%rbp),%eax
  mov    %eax,%edx
  shr    $0x1f,%edx
  add    %edx,%eax
  sar    %eax
  mov    %eax,-0x12e0(%rbp)
  jmp    L365
L291:
  movl   $0x0,-0x12d4(%rbp)
  mov    -0x12f4(%rbp),%eax
  mov    %eax,%edx
  shr    $0x1f,%edx
  add    %edx,%eax
  sar    %eax
  mov    %eax,-0x12dc(%rbp)
  jmp    L115
L344:
  mov    -0x12e0(%rbp),%eax
  movslq %eax,%rdx
  mov    %rdx,%rax
  shl    $0x2,%rax
  add    %rdx,%rax
  shl    $0x5,%rax
  mov    %rax,%rdx
  mov    -0x12e8(%rbp),%rax
  add    %rax,%rdx
  mov    -0x12dc(%rbp),%eax
  cltq
  movsd  (%rdx,%rax,8),%xmm0
  mov    -0x12d4(%rbp),%eax
  movslq %eax,%rcx
  mov    -0x12d8(%rbp),%eax
  movslq %eax,%rdx
  mov    %rdx,%rax
  shl    $0x2,%rax
  add    %rdx,%rax
  shl    $0x2,%rax
  add    %rcx,%rax
  movsd  %xmm0,-0x12d0(%rbp,%rax,8)
  addl   $0x1,-0x12d4(%rbp)
  addl   $0x1,-0x12dc(%rbp)
L115:
  mov    -0x12dc(%rbp),%eax
  cmp    -0x12f4(%rbp),%eax
  jl     L344
  addl   $0x1,-0x12d8(%rbp)
  addl   $0x1,-0x12e0(%rbp)
L365:
  mov    -0x12e0(%rbp),%eax
  cmp    -0x12f4(%rbp),%eax
  jl     L291
  mov    -0x12f4(%rbp),%eax
  mov    %eax,%edx
  shr    $0x1f,%edx
  add    %edx,%eax
  sar    %eax
  mov    %eax,%edx
  lea    -0xc90(%rbp),%rcx
  lea    -0x12d0(%rbp),%rax
  mov    %rcx,%rsi
  mov    %rax,%rdi
  call   <convolution2d@plt>
  movl   $0x0,-0x12d8(%rbp)
  mov    -0x12f4(%rbp),%eax
  mov    %eax,%edx
  shr    $0x1f,%edx
  add    %edx,%eax
  sar    %eax
  mov    %eax,-0x12e0(%rbp)
  jmp    L232
L10:
  movl   $0x0,-0x12d4(%rbp)
  mov    -0x12f4(%rbp),%eax
  mov    %eax,%edx
  shr    $0x1f,%edx
  add    %edx,%eax
  sar    %eax
  mov    %eax,-0x12dc(%rbp)
  jmp    L328
L310:
  mov    -0x12e0(%rbp),%eax
  movslq %eax,%rdx
  mov    %rdx,%rax
  shl    $0x2,%rax
  add    %rdx,%rax
  shl    $0x5,%rax
  mov    %rax,%rdx
  mov    -0x12f0(%rbp),%rax
  lea    (%rdx,%rax,1),%rcx
  mov    -0x12d4(%rbp),%eax
  movslq %eax,%rsi
  mov    -0x12d8(%rbp),%eax
  movslq %eax,%rdx
  mov    %rdx,%rax
  shl    $0x2,%rax
  add    %rdx,%rax
  shl    $0x2,%rax
  add    %rsi,%rax
  movsd  -0xc90(%rbp,%rax,8),%xmm0
  mov    -0x12dc(%rbp),%eax
  cltq
  movsd  %xmm0,(%rcx,%rax,8)
  addl   $0x1,-0x12d4(%rbp)
  addl   $0x1,-0x12dc(%rbp)
L328:
  mov    -0x12dc(%rbp),%eax
  cmp    -0x12f4(%rbp),%eax
  jl     L310
  addl   $0x1,-0x12d8(%rbp)
  addl   $0x1,-0x12e0(%rbp)
L232:
  mov    -0x12e0(%rbp),%eax
  cmp    -0x12f4(%rbp),%eax
  jl     L10
L236:
  nop
  mov    -0x8(%rbp),%rax
  sub    %fs:0x28,%rax
  je     L214
  call   <__stack_chk_fail@plt>
L214:
  leave
  ret
```

assistant: ```c
void convolutionOfMatrix(double arr[][20], double conv[][20], int size) {
  int i = 0;
  int j = 0;
  int m = 0;
  int n = 0;
  double arr1[10][20];
  double convolution[20][20];
  if (size == 2) {
    for (i = 0; i < size; i++) {
      for (j = 0; j < size; j++)
        conv[i][j] == arr[i][j];
    }
  } else {
    m = 0;
    for (i = 0; i < size / 2; i++) {
      n = 0;
      for (j = 0; j < size / 2; j++) {
        arr1[m][n] = arr[i][j];
        n++;
      }
      m++;
    }
    convolution2d(arr1, convolution, size / 2);
    m = 0;
    for (i = 0; i < size / 2; i++) {
      n = 0;
      for (j = 0; j < size / 2; j++) {
        conv[i][j] = convolution[m][n];
        n++;
      }
      m++;
    }
    m = 0;
    for (i = 0; i < size / 2; i++) {
      n = 0;
      for (j = size / 2; j < size; j++) {
        arr1[m][n] = arr[i][j];
        n++;
      }
      m++;
    }
    convolution2d(arr1, convolution, size / 2);
    m = 0;
    for (i = 0; i < size / 2; i++) {
      n = 0;
      for (j = size / 2; j < size; j++) {
        conv[i][j] = convolution[m][n];
        n++;
      }
      m++;
    }
    m = 0;
    for (i = size / 2; i < size; i++) {
      n = 0;
      for (j = 0; j < size / 2; j++) {
        arr1[m][n] = arr[i][j];
        n++;
      }
      m++;
    }
    convolution2d(arr1, convolution, size / 2);
    m = 0;
    for (i = size / 2; i < size; i++) {
      n = 0;
      for (j = 0; j < size / 2; j++) {
        conv[i][j] = convolution[m][n];
        n++;
      }
      m++;
    }
    m = 0;
    for (i = size / 2; i < size; i++) {
      n = 0;
      for (j = size / 2; j < size; j++) {
        arr1[m][n] = arr[i][j];
        n++;
      }
      m++;
    }
    convolution2d(arr1, convolution, size / 2);
    m = 0;
    for (i = size / 2; i < size; i++) {
      n = 0;
      for (j = size / 2; j < size; j++) {
        conv[i][j] = convolution[m][n];
        n++;
      }
      m++;
    }
  }
}
```