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

```asm
<aan_mascara_canal>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x40,%rsp
  mov    %rdi,-0x28(%rbp)
  mov    %rsi,-0x30(%rbp)
  mov    %edx,-0x34(%rbp)
  mov    %ecx,-0x38(%rbp)
  mov    %r8,-0x40(%rbp)
  mov    $0x18,%edi
  call   <malloc@plt>
  mov    %rax,-0x8(%rbp)
  mov    $0x24,%edi
  call   <malloc@plt>
  mov    %rax,%rdx
  mov    -0x8(%rbp),%rax
  mov    %rdx,(%rax)
  movl   $0x0,-0xc(%rbp)
  jmp    L407
L359:
  mov    -0x8(%rbp),%rax
  mov    (%rax),%rcx
  mov    -0xc(%rbp),%edx
  mov    %edx,%eax
  add    %eax,%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0xc(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rsi
  mov    -0x8(%rbp),%rax
  add    %rsi,%rax
  add    %rcx,%rdx
  mov    %rdx,(%rax)
  addl   $0x1,-0xc(%rbp)
L407:
  cmpl   $0x2,-0xc(%rbp)
  jle    L359
  movl   $0x0,-0x18(%rbp)
  jmp    L565
L115:
  movl   $0x0,-0x1c(%rbp)
  jmp    L447
L471:
  cmpl   $0x0,-0x1c(%rbp)
  jne    L111
  cmpl   $0x0,-0x18(%rbp)
  jne    L111
  mov    -0x8(%rbp),%rax
  mov    (%rax),%rax
  mov    -0x28(%rbp),%rdx
  movss  (%rdx),%xmm0
  movss  %xmm0,(%rax)
  mov    -0x8(%rbp),%rax
  mov    (%rax),%rax
  lea    0x4(%rax),%rdx
  mov    -0x28(%rbp),%rax
  movss  (%rax),%xmm0
  movss  %xmm0,(%rdx)
  mov    -0x8(%rbp),%rax
  mov    (%rax),%rax
  lea    0x8(%rax),%rdx
  mov    -0x28(%rbp),%rax
  movss  0x4(%rax),%xmm0
  movss  %xmm0,(%rdx)
  mov    -0x8(%rbp),%rax
  add    $0x8,%rax
  mov    (%rax),%rax
  mov    -0x28(%rbp),%rdx
  movss  (%rdx),%xmm0
  movss  %xmm0,(%rax)
  mov    -0x34(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x28(%rbp),%rax
  add    %rax,%rdx
  mov    -0x8(%rbp),%rax
  add    $0x10,%rax
  mov    (%rax),%rax
  movss  (%rdx),%xmm0
  movss  %xmm0,(%rax)
  movl   $0x1,-0x14(%rbp)
  jmp    L458
L4:
  movl   $0x1,-0x10(%rbp)
  jmp    L520
L169:
  mov    -0x18(%rbp),%eax
  lea    -0x1(%rax),%edx
  mov    -0x14(%rbp),%eax
  add    %edx,%eax
  imul   -0x34(%rbp),%eax
  mov    %eax,%edx
  mov    -0x1c(%rbp),%eax
  lea    -0x1(%rax),%ecx
  mov    -0x10(%rbp),%eax
  add    %ecx,%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x28(%rbp),%rax
  add    %rax,%rdx
  mov    -0x14(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rcx
  mov    -0x8(%rbp),%rax
  add    %rcx,%rax
  mov    (%rax),%rcx
  mov    -0x10(%rbp),%eax
  cltq
  shl    $0x2,%rax
  add    %rcx,%rax
  movss  (%rdx),%xmm0
  movss  %xmm0,(%rax)
  addl   $0x1,-0x10(%rbp)
L520:
  cmpl   $0x2,-0x10(%rbp)
  jle    L169
  addl   $0x1,-0x14(%rbp)
L458:
  cmpl   $0x2,-0x14(%rbp)
  jle    L4
  jmp    L557
L111:
  mov    -0x34(%rbp),%eax
  sub    $0x1,%eax
  cmp    %eax,-0x1c(%rbp)
  jne    L317
  cmpl   $0x0,-0x18(%rbp)
  jne    L317
  mov    -0x34(%rbp),%eax
  cltq
  shl    $0x2,%rax
  lea    -0x4(%rax),%rdx
  mov    -0x28(%rbp),%rax
  add    %rax,%rdx
  mov    -0x8(%rbp),%rax
  mov    (%rax),%rax
  add    $0x8,%rax
  movss  (%rdx),%xmm0
  movss  %xmm0,(%rax)
  mov    -0x34(%rbp),%eax
  cltq
  shl    $0x2,%rax
  lea    -0x4(%rax),%rdx
  mov    -0x28(%rbp),%rax
  add    %rax,%rdx
  mov    -0x8(%rbp),%rax
  mov    (%rax),%rax
  add    $0x4,%rax
  movss  (%rdx),%xmm0
  movss  %xmm0,(%rax)
  mov    -0x34(%rbp),%eax
  cltq
  shl    $0x2,%rax
  lea    -0x8(%rax),%rdx
  mov    -0x28(%rbp),%rax
  add    %rax,%rdx
  mov    -0x8(%rbp),%rax
  mov    (%rax),%rax
  movss  (%rdx),%xmm0
  movss  %xmm0,(%rax)
  mov    -0x34(%rbp),%eax
  cltq
  shl    $0x2,%rax
  lea    -0x4(%rax),%rdx
  mov    -0x28(%rbp),%rax
  add    %rax,%rdx
  mov    -0x8(%rbp),%rax
  add    $0x8,%rax
  mov    (%rax),%rax
  add    $0x8,%rax
  movss  (%rdx),%xmm0
  movss  %xmm0,(%rax)
  mov    -0x34(%rbp),%eax
  add    %eax,%eax
  cltq
  shl    $0x2,%rax
  lea    -0x4(%rax),%rdx
  mov    -0x28(%rbp),%rax
  add    %rax,%rdx
  mov    -0x8(%rbp),%rax
  add    $0x10,%rax
  mov    (%rax),%rax
  add    $0x8,%rax
  movss  (%rdx),%xmm0
  movss  %xmm0,(%rax)
  movl   $0x1,-0x14(%rbp)
  jmp    L60
L395:
  movl   $0x0,-0x10(%rbp)
  jmp    L78
L521:
  mov    -0x18(%rbp),%eax
  lea    -0x1(%rax),%edx
  mov    -0x14(%rbp),%eax
  add    %edx,%eax
  imul   -0x34(%rbp),%eax
  mov    %eax,%edx
  mov    -0x1c(%rbp),%eax
  lea    -0x1(%rax),%ecx
  mov    -0x10(%rbp),%eax
  add    %ecx,%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x28(%rbp),%rax
  add    %rax,%rdx
  mov    -0x14(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rcx
  mov    -0x8(%rbp),%rax
  add    %rcx,%rax
  mov    (%rax),%rcx
  mov    -0x10(%rbp),%eax
  cltq
  shl    $0x2,%rax
  add    %rcx,%rax
  movss  (%rdx),%xmm0
  movss  %xmm0,(%rax)
  addl   $0x1,-0x10(%rbp)
L78:
  cmpl   $0x1,-0x10(%rbp)
  jle    L521
  addl   $0x1,-0x14(%rbp)
L60:
  cmpl   $0x2,-0x14(%rbp)
  jle    L395
  jmp    L557
L317:
  cmpl   $0x0,-0x1c(%rbp)
  jne    L154
  mov    -0x38(%rbp),%eax
  sub    $0x1,%eax
  cmp    %eax,-0x18(%rbp)
  jne    L154
  mov    -0x18(%rbp),%eax
  sub    $0x1,%eax
  imul   -0x34(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x28(%rbp),%rax
  add    %rax,%rdx
  mov    -0x8(%rbp),%rax
  mov    (%rax),%rax
  add    $0x8,%rax
  movss  (%rdx),%xmm0
  movss  %xmm0,(%rax)
  mov    -0x18(%rbp),%eax
  sub    $0x1,%eax
  imul   -0x34(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x28(%rbp),%rax
  add    %rax,%rdx
  mov    -0x8(%rbp),%rax
  mov    (%rax),%rax
  add    $0x4,%rax
  movss  (%rdx),%xmm0
  movss  %xmm0,(%rax)
  mov    -0x18(%rbp),%eax
  sub    $0x1,%eax
  imul   -0x34(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x28(%rbp),%rax
  add    %rax,%rdx
  mov    -0x8(%rbp),%rax
  add    $0x8,%rax
  mov    (%rax),%rax
  add    $0x8,%rax
  movss  (%rdx),%xmm0
  movss  %xmm0,(%rax)
  mov    -0x18(%rbp),%eax
  sub    $0x2,%eax
  imul   -0x34(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x28(%rbp),%rax
  add    %rax,%rdx
  mov    -0x8(%rbp),%rax
  mov    (%rax),%rax
  movss  (%rdx),%xmm0
  movss  %xmm0,(%rax)
  mov    -0x18(%rbp),%eax
  sub    $0x1,%eax
  imul   -0x34(%rbp),%eax
  cltq
  add    $0x1,%rax
  lea    0x0(,%rax,4),%rdx
  mov    -0x28(%rbp),%rax
  add    %rax,%rdx
  mov    -0x8(%rbp),%rax
  add    $0x10,%rax
  mov    (%rax),%rax
  add    $0x8,%rax
  movss  (%rdx),%xmm0
  movss  %xmm0,(%rax)
  movl   $0x0,-0x14(%rbp)
  jmp    L8
L89:
  movl   $0x1,-0x10(%rbp)
  jmp    L461
L254:
  mov    -0x18(%rbp),%eax
  lea    -0x1(%rax),%edx
  mov    -0x14(%rbp),%eax
  add    %edx,%eax
  imul   -0x34(%rbp),%eax
  mov    %eax,%edx
  mov    -0x1c(%rbp),%eax
  lea    -0x1(%rax),%ecx
  mov    -0x10(%rbp),%eax
  add    %ecx,%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x28(%rbp),%rax
  add    %rax,%rdx
  mov    -0x14(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rcx
  mov    -0x8(%rbp),%rax
  add    %rcx,%rax
  mov    (%rax),%rcx
  mov    -0x10(%rbp),%eax
  cltq
  shl    $0x2,%rax
  add    %rcx,%rax
  movss  (%rdx),%xmm0
  movss  %xmm0,(%rax)
  addl   $0x1,-0x10(%rbp)
L461:
  cmpl   $0x2,-0x10(%rbp)
  jle    L254
  addl   $0x1,-0x14(%rbp)
L8:
  cmpl   $0x1,-0x14(%rbp)
  jle    L89
  jmp    L557
L154:
  mov    -0x34(%rbp),%eax
  sub    $0x1,%eax
  cmp    %eax,-0x1c(%rbp)
  jne    L96
  mov    -0x38(%rbp),%eax
  sub    $0x1,%eax
  cmp    %eax,-0x18(%rbp)
  jne    L96
  mov    -0x34(%rbp),%eax
  imul   -0x38(%rbp),%eax
  cltq
  shl    $0x2,%rax
  lea    -0x4(%rax),%rdx
  mov    -0x28(%rbp),%rax
  add    %rax,%rdx
  mov    -0x8(%rbp),%rax
  add    $0x10,%rax
  mov    (%rax),%rax
  add    $0x8,%rax
  movss  (%rdx),%xmm0
  movss  %xmm0,(%rax)
  mov    -0x34(%rbp),%eax
  imul   -0x38(%rbp),%eax
  cltq
  shl    $0x2,%rax
  lea    -0x4(%rax),%rdx
  mov    -0x28(%rbp),%rax
  add    %rax,%rdx
  mov    -0x8(%rbp),%rax
  add    $0x8,%rax
  mov    (%rax),%rax
  add    $0x8,%rax
  movss  (%rdx),%xmm0
  movss  %xmm0,(%rax)
  mov    -0x38(%rbp),%eax
  sub    $0x1,%eax
  imul   -0x34(%rbp),%eax
  cltq
  shl    $0x2,%rax
  lea    -0x4(%rax),%rdx
  mov    -0x28(%rbp),%rax
  add    %rax,%rdx
  mov    -0x8(%rbp),%rax
  mov    (%rax),%rax
  add    $0x8,%rax
  movss  (%rdx),%xmm0
  movss  %xmm0,(%rax)
  mov    -0x34(%rbp),%eax
  imul   -0x38(%rbp),%eax
  cltq
  shl    $0x2,%rax
  lea    -0x4(%rax),%rdx
  mov    -0x28(%rbp),%rax
  add    %rax,%rdx
  mov    -0x8(%rbp),%rax
  add    $0x10,%rax
  mov    (%rax),%rax
  add    $0x4,%rax
  movss  (%rdx),%xmm0
  movss  %xmm0,(%rax)
  mov    -0x34(%rbp),%eax
  imul   -0x38(%rbp),%eax
  cltq
  shl    $0x2,%rax
  lea    -0x8(%rax),%rdx
  mov    -0x28(%rbp),%rax
  add    %rax,%rdx
  mov    -0x8(%rbp),%rax
  add    $0x10,%rax
  mov    (%rax),%rax
  movss  (%rdx),%xmm0
  movss  %xmm0,(%rax)
  movl   $0x0,-0x14(%rbp)
  jmp    L46
L272:
  movl   $0x0,-0x10(%rbp)
  jmp    L360
L606:
  mov    -0x18(%rbp),%eax
  lea    -0x1(%rax),%edx
  mov    -0x14(%rbp),%eax
  add    %edx,%eax
  imul   -0x34(%rbp),%eax
  mov    %eax,%edx
  mov    -0x1c(%rbp),%eax
  lea    -0x1(%rax),%ecx
  mov    -0x10(%rbp),%eax
  add    %ecx,%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x28(%rbp),%rax
  add    %rax,%rdx
  mov    -0x14(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rcx
  mov    -0x8(%rbp),%rax
  add    %rcx,%rax
  mov    (%rax),%rcx
  mov    -0x10(%rbp),%eax
  cltq
  shl    $0x2,%rax
  add    %rcx,%rax
  movss  (%rdx),%xmm0
  movss  %xmm0,(%rax)
  addl   $0x1,-0x10(%rbp)
L360:
  cmpl   $0x1,-0x10(%rbp)
  jle    L606
  addl   $0x1,-0x14(%rbp)
L46:
  cmpl   $0x1,-0x14(%rbp)
  jle    L272
  jmp    L557
L96:
  cmpl   $0x0,-0x1c(%rbp)
  jne    L79
  mov    -0x18(%rbp),%eax
  sub    $0x1,%eax
  imul   -0x34(%rbp),%eax
  mov    %eax,%edx
  mov    -0x1c(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x28(%rbp),%rax
  add    %rax,%rdx
  mov    -0x8(%rbp),%rax
  mov    (%rax),%rax
  movss  (%rdx),%xmm0
  movss  %xmm0,(%rax)
  mov    -0x34(%rbp),%eax
  imul   -0x18(%rbp),%eax
  mov    %eax,%edx
  mov    -0x1c(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x28(%rbp),%rax
  add    %rax,%rdx
  mov    -0x8(%rbp),%rax
  add    $0x8,%rax
  mov    (%rax),%rax
  movss  (%rdx),%xmm0
  movss  %xmm0,(%rax)
  mov    -0x18(%rbp),%eax
  add    $0x1,%eax
  imul   -0x34(%rbp),%eax
  mov    %eax,%edx
  mov    -0x1c(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x28(%rbp),%rax
  add    %rax,%rdx
  mov    -0x8(%rbp),%rax
  add    $0x10,%rax
  mov    (%rax),%rax
  movss  (%rdx),%xmm0
  movss  %xmm0,(%rax)
  movl   $0x0,-0x14(%rbp)
  jmp    L518
L230:
  movl   $0x1,-0x10(%rbp)
  jmp    L187
L148:
  mov    -0x18(%rbp),%eax
  lea    -0x1(%rax),%edx
  mov    -0x14(%rbp),%eax
  add    %edx,%eax
  imul   -0x34(%rbp),%eax
  mov    %eax,%edx
  mov    -0x1c(%rbp),%eax
  lea    -0x1(%rax),%ecx
  mov    -0x10(%rbp),%eax
  add    %ecx,%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x28(%rbp),%rax
  add    %rax,%rdx
  mov    -0x14(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rcx
  mov    -0x8(%rbp),%rax
  add    %rcx,%rax
  mov    (%rax),%rcx
  mov    -0x10(%rbp),%eax
  cltq
  shl    $0x2,%rax
  add    %rcx,%rax
  movss  (%rdx),%xmm0
  movss  %xmm0,(%rax)
  addl   $0x1,-0x10(%rbp)
L187:
  cmpl   $0x2,-0x10(%rbp)
  jle    L148
  addl   $0x1,-0x14(%rbp)
L518:
  cmpl   $0x2,-0x14(%rbp)
  jle    L230
  jmp    L557
L79:
  mov    -0x34(%rbp),%eax
  sub    $0x1,%eax
  cmp    %eax,-0x1c(%rbp)
  jne    L170
  mov    -0x18(%rbp),%eax
  sub    $0x1,%eax
  imul   -0x34(%rbp),%eax
  mov    %eax,%edx
  mov    -0x1c(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x28(%rbp),%rax
  add    %rax,%rdx
  mov    -0x8(%rbp),%rax
  mov    (%rax),%rax
  add    $0x8,%rax
  movss  (%rdx),%xmm0
  movss  %xmm0,(%rax)
  mov    -0x34(%rbp),%eax
  imul   -0x18(%rbp),%eax
  mov    %eax,%edx
  mov    -0x1c(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x28(%rbp),%rax
  add    %rax,%rdx
  mov    -0x8(%rbp),%rax
  add    $0x8,%rax
  mov    (%rax),%rax
  add    $0x8,%rax
  movss  (%rdx),%xmm0
  movss  %xmm0,(%rax)
  mov    -0x18(%rbp),%eax
  add    $0x1,%eax
  imul   -0x34(%rbp),%eax
  mov    %eax,%edx
  mov    -0x1c(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x28(%rbp),%rax
  add    %rax,%rdx
  mov    -0x8(%rbp),%rax
  add    $0x10,%rax
  mov    (%rax),%rax
  add    $0x8,%rax
  movss  (%rdx),%xmm0
  movss  %xmm0,(%rax)
  movl   $0x0,-0x14(%rbp)
  jmp    L84
L481:
  movl   $0x0,-0x10(%rbp)
  jmp    L424
L314:
  mov    -0x18(%rbp),%eax
  lea    -0x1(%rax),%edx
  mov    -0x14(%rbp),%eax
  add    %edx,%eax
  imul   -0x34(%rbp),%eax
  mov    %eax,%edx
  mov    -0x1c(%rbp),%eax
  lea    -0x1(%rax),%ecx
  mov    -0x10(%rbp),%eax
  add    %ecx,%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x28(%rbp),%rax
  add    %rax,%rdx
  mov    -0x14(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rcx
  mov    -0x8(%rbp),%rax
  add    %rcx,%rax
  mov    (%rax),%rcx
  mov    -0x10(%rbp),%eax
  cltq
  shl    $0x2,%rax
  add    %rcx,%rax
  movss  (%rdx),%xmm0
  movss  %xmm0,(%rax)
  addl   $0x1,-0x10(%rbp)
L424:
  cmpl   $0x1,-0x10(%rbp)
  jle    L314
  addl   $0x1,-0x14(%rbp)
L84:
  cmpl   $0x2,-0x14(%rbp)
  jle    L481
  jmp    L557
L170:
  cmpl   $0x0,-0x18(%rbp)
  jne    L607
  mov    -0x34(%rbp),%eax
  imul   -0x18(%rbp),%eax
  mov    %eax,%edx
  mov    -0x1c(%rbp),%eax
  sub    $0x1,%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x28(%rbp),%rax
  add    %rax,%rdx
  mov    -0x8(%rbp),%rax
  mov    (%rax),%rax
  movss  (%rdx),%xmm0
  movss  %xmm0,(%rax)
  mov    -0x34(%rbp),%eax
  imul   -0x18(%rbp),%eax
  mov    %eax,%edx
  mov    -0x1c(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x28(%rbp),%rax
  add    %rax,%rdx
  mov    -0x8(%rbp),%rax
  mov    (%rax),%rax
  add    $0x4,%rax
  movss  (%rdx),%xmm0
  movss  %xmm0,(%rax)
  mov    -0x34(%rbp),%eax
  imul   -0x18(%rbp),%eax
  mov    %eax,%edx
  mov    -0x1c(%rbp),%eax
  add    $0x1,%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x28(%rbp),%rax
  add    %rax,%rdx
  mov    -0x8(%rbp),%rax
  mov    (%rax),%rax
  add    $0x8,%rax
  movss  (%rdx),%xmm0
  movss  %xmm0,(%rax)
  movl   $0x1,-0x14(%rbp)
  jmp    L304
L362:
  movl   $0x0,-0x10(%rbp)
  jmp    L552
L166:
  mov    -0x18(%rbp),%eax
  lea    -0x1(%rax),%edx
  mov    -0x14(%rbp),%eax
  add    %edx,%eax
  imul   -0x34(%rbp),%eax
  mov    %eax,%edx
  mov    -0x1c(%rbp),%eax
  lea    -0x1(%rax),%ecx
  mov    -0x10(%rbp),%eax
  add    %ecx,%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x28(%rbp),%rax
  add    %rax,%rdx
  mov    -0x14(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rcx
  mov    -0x8(%rbp),%rax
  add    %rcx,%rax
  mov    (%rax),%rcx
  mov    -0x10(%rbp),%eax
  cltq
  shl    $0x2,%rax
  add    %rcx,%rax
  movss  (%rdx),%xmm0
  movss  %xmm0,(%rax)
  addl   $0x1,-0x10(%rbp)
L552:
  cmpl   $0x2,-0x10(%rbp)
  jle    L166
  addl   $0x1,-0x14(%rbp)
L304:
  cmpl   $0x2,-0x14(%rbp)
  jle    L362
  jmp    L557
L607:
  mov    -0x38(%rbp),%eax
  sub    $0x1,%eax
  cmp    %eax,-0x18(%rbp)
  jne    L332
  mov    -0x34(%rbp),%eax
  imul   -0x18(%rbp),%eax
  mov    %eax,%edx
  mov    -0x1c(%rbp),%eax
  sub    $0x1,%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x28(%rbp),%rax
  add    %rax,%rdx
  mov    -0x8(%rbp),%rax
  add    $0x10,%rax
  mov    (%rax),%rax
  movss  (%rdx),%xmm0
  movss  %xmm0,(%rax)
  mov    -0x34(%rbp),%eax
  imul   -0x18(%rbp),%eax
  mov    %eax,%edx
  mov    -0x1c(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x28(%rbp),%rax
  add    %rax,%rdx
  mov    -0x8(%rbp),%rax
  add    $0x10,%rax
  mov    (%rax),%rax
  add    $0x4,%rax
  movss  (%rdx),%xmm0
  movss  %xmm0,(%rax)
  mov    -0x34(%rbp),%eax
  imul   -0x18(%rbp),%eax
  mov    %eax,%edx
  mov    -0x1c(%rbp),%eax
  add    $0x1,%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x28(%rbp),%rax
  add    %rax,%rdx
  mov    -0x8(%rbp),%rax
  add    $0x10,%rax
  mov    (%rax),%rax
  add    $0x8,%rax
  movss  (%rdx),%xmm0
  movss  %xmm0,(%rax)
  movl   $0x0,-0x14(%rbp)
  jmp    L174
L405:
  movl   $0x0,-0x10(%rbp)
  jmp    L7
L100:
  mov    -0x18(%rbp),%eax
  lea    -0x1(%rax),%edx
  mov    -0x14(%rbp),%eax
  add    %edx,%eax
  imul   -0x34(%rbp),%eax
  mov    %eax,%edx
  mov    -0x1c(%rbp),%eax
  lea    -0x1(%rax),%ecx
  mov    -0x10(%rbp),%eax
  add    %ecx,%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x28(%rbp),%rax
  add    %rax,%rdx
  mov    -0x14(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rcx
  mov    -0x8(%rbp),%rax
  add    %rcx,%rax
  mov    (%rax),%rcx
  mov    -0x10(%rbp),%eax
  cltq
  shl    $0x2,%rax
  add    %rcx,%rax
  movss  (%rdx),%xmm0
  movss  %xmm0,(%rax)
  addl   $0x1,-0x10(%rbp)
L7:
  cmpl   $0x2,-0x10(%rbp)
  jle    L100
  addl   $0x1,-0x14(%rbp)
L174:
  cmpl   $0x1,-0x14(%rbp)
  jle    L405
  jmp    L557
L332:
  movl   $0x0,-0x14(%rbp)
  jmp    L226
L118:
  movl   $0x0,-0x10(%rbp)
  jmp    L236
L188:
  mov    -0x18(%rbp),%eax
  lea    -0x1(%rax),%edx
  mov    -0x14(%rbp),%eax
  add    %edx,%eax
  imul   -0x34(%rbp),%eax
  mov    %eax,%edx
  mov    -0x1c(%rbp),%eax
  lea    -0x1(%rax),%ecx
  mov    -0x10(%rbp),%eax
  add    %ecx,%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x28(%rbp),%rax
  add    %rax,%rdx
  mov    -0x14(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rcx
  mov    -0x8(%rbp),%rax
  add    %rcx,%rax
  mov    (%rax),%rcx
  mov    -0x10(%rbp),%eax
  cltq
  shl    $0x2,%rax
  add    %rcx,%rax
  movss  (%rdx),%xmm0
  movss  %xmm0,(%rax)
  addl   $0x1,-0x10(%rbp)
L236:
  cmpl   $0x2,-0x10(%rbp)
  jle    L188
  addl   $0x1,-0x14(%rbp)
L226:
  cmpl   $0x2,-0x14(%rbp)
  jle    L118
L557:
  mov    -0x8(%rbp),%rdx
  mov    -0x40(%rbp),%rax
  mov    %rdx,%rsi
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <pixel_resultante@plt>
  mov    %eax,%edx
  mov    -0x34(%rbp),%eax
  imul   -0x18(%rbp),%eax
  mov    %eax,%ecx
  mov    -0x1c(%rbp),%eax
  add    %ecx,%eax
  cltq
  lea    0x0(,%rax,4),%rcx
  mov    -0x30(%rbp),%rax
  add    %rcx,%rax
  pxor   %xmm0,%xmm0
  cvtsi2ss %edx,%xmm0
  movss  %xmm0,(%rax)
  addl   $0x1,-0x1c(%rbp)
L447:
  mov    -0x1c(%rbp),%eax
  cmp    -0x34(%rbp),%eax
  jl     L471
  addl   $0x1,-0x18(%rbp)
L565:
  mov    -0x18(%rbp),%eax
  cmp    -0x38(%rbp),%eax
  jl     L115
  mov    -0x8(%rbp),%rax
  mov    (%rax),%rax
  mov    %rax,%rdi
  call   <free@plt>
  mov    -0x8(%rbp),%rax
  mov    %rax,%rdi
  call   <free@plt>
  nop
  leave
  ret
```

assistant: ```c
void aan_mascara_canal(float *canal_input, float *canal_output, int width, int height, float **m) {
  int i, j, k, l;
  float **area;
  {
    int ml;
    area = (float **)malloc(sizeof(float *) * (3));
    area[0] = (float *)malloc(sizeof(float) * (3) * (3));
    for (ml = 0; ml < (3); ml++)
      area[ml] = &(area[0][ml * (3)]);
  };
  for (j = 0; j < height; j++) {
    for (i = 0; i < width; i++) {
      if (i == 0 && j == 0) {
        area[0][0] = canal_input[0];
        area[0][1] = canal_input[0];
        area[0][2] = canal_input[1];
        area[1][0] = canal_input[0];
        area[2][0] = canal_input[width];
        for (k = 1; k < 3; k++)
          for (l = 1; l < 3; l++)
            area[k][l] = canal_input[(width * (j - 1 + k)) + (i - 1 + l)];
      } else if (i == (width - 1) && j == 0) {
        area[0][2] = canal_input[width - 1];
        area[0][1] = canal_input[width - 1];
        area[0][0] = canal_input[width - 2];
        area[1][2] = canal_input[width - 1];
        area[2][2] = canal_input[width * 2 - 1];
        for (k = 1; k < 3; k++)
          for (l = 0; l < 2; l++)
            area[k][l] = canal_input[(width * (j - 1 + k)) + (i - 1 + l)];
      } else if (i == 0 && j == (height - 1)) {
        area[0][2] = canal_input[width * (j - 1)];
        area[0][1] = canal_input[width * (j - 1)];
        area[1][2] = canal_input[width * (j - 1)];
        area[0][0] = canal_input[width * (j - 2)];
        area[2][2] = canal_input[(width * (j - 1)) + 1];
        for (k = 0; k < 2; k++)
          for (l = 1; l < 3; l++)
            area[k][l] = canal_input[(width * (j - 1 + k)) + (i - 1 + l)];
      } else if (i == (width - 1) && j == (height - 1)) {
        area[2][2] = canal_input[width * height - 1];
        area[1][2] = canal_input[width * height - 1];
        area[0][2] = canal_input[width * (height - 1) - 1];
        area[2][1] = canal_input[width * height - 1];
        area[2][0] = canal_input[width * height - 2];
        for (k = 0; k < 2; k++)
          for (l = 0; l < 2; l++)
            area[k][l] = canal_input[(width * (j - 1 + k)) + (i - 1 + l)];
      } else if (i == 0) {
        area[0][0] = canal_input[(width * (j - 1 + 0)) + i];
        area[1][0] = canal_input[(width * (j - 1 + 1)) + i];
        area[2][0] = canal_input[(width * (j - 1 + 2)) + i];
        for (k = 0; k < 3; k++)
          for (l = 1; l < 3; l++)
            area[k][l] = canal_input[(width * (j - 1 + k)) + (i - 1 + l)];
      } else if (i == (width - 1)) {
        area[0][2] = canal_input[(width * (j - 1 + 0)) + i];
        area[1][2] = canal_input[(width * (j - 1 + 1)) + i];
        area[2][2] = canal_input[(width * (j - 1 + 2)) + i];
        for (k = 0; k < 3; k++)
          for (l = 0; l < 2; l++)
            area[k][l] = canal_input[(width * (j - 1 + k)) + (i - 1 + l)];
      } else if (j == 0) {
        area[0][0] = canal_input[(width * j) + (i - 1 + 0)];
        area[0][1] = canal_input[(width * j) + (i - 1 + 1)];
        area[0][2] = canal_input[(width * j) + (i - 1 + 2)];
        for (k = 1; k < 3; k++)
          for (l = 0; l < 3; l++)
            area[k][l] = canal_input[(width * (j - 1 + k)) + (i - 1 + l)];
      } else if (j == (height - 1)) {
        area[2][0] = canal_input[(width * j) + (i - 1 + 0)];
        area[2][1] = canal_input[(width * j) + (i - 1 + 1)];
        area[2][2] = canal_input[(width * j) + (i - 1 + 2)];
        for (k = 0; k < 2; k++)
          for (l = 0; l < 3; l++)
            area[k][l] = canal_input[(width * (j - 1 + k)) + (i - 1 + l)];
      } else {
        for (k = 0; k < 3; k++)
          for (l = 0; l < 3; l++)
            area[k][l] = canal_input[width * (j - 1 + k) + (i - 1 + l)];
      }
      canal_output[width * j + i] = pixel_resultante(m, area);
    }
  }
  {
    free(area[0]);
    free(area);
  };
}
```