user: 请将以下的汇编代码转换成C语言代码：

```asm
<maze_to_fig_solution>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x20,%rsp
  mov    %rdi,-0x8(%rbp)
  mov    %rsi,-0x10(%rbp)
  mov    %edx,-0x14(%rbp)
  mov    %ecx,-0x18(%rbp)
  mov    %r8d,-0x1c(%rbp)
  mov    -0x18(%rbp),%edx
  mov    -0x14(%rbp),%ecx
  mov    -0x10(%rbp),%rax
  mov    %ecx,%esi
  mov    %rax,%rdi
  call   <maze_get_cell@plt>
  and    $0x4000000,%eax
  test   %eax,%eax
  je     L53
  mov    -0x14(%rbp),%eax
  lea    -0x1(%rax),%ecx
  mov    -0x18(%rbp),%edi
  mov    -0x18(%rbp),%edx
  mov    -0x14(%rbp),%esi
  mov    -0x10(%rbp),%rax
  mov    %edi,%r8d
  mov    %rax,%rdi
  call   <maze_cells_connected@plt>
  test   %rax,%rax
  je     L88
  mov    -0x14(%rbp),%eax
  lea    -0x1(%rax),%ecx
  mov    -0x18(%rbp),%edx
  mov    -0x10(%rbp),%rax
  mov    %ecx,%esi
  mov    %rax,%rdi
  call   <maze_get_cell@plt>
  and    $0x4000000,%eax
  test   %eax,%eax
  je     L88
  mov    -0x14(%rbp),%eax
  imul   -0x1c(%rbp),%eax
  mov    %eax,%edx
  mov    -0x1c(%rbp),%eax
  mov    %eax,%ecx
  shr    $0x1f,%ecx
  add    %ecx,%eax
  sar    %eax
  lea    (%rdx,%rax,1),%edi
  mov    -0x18(%rbp),%eax
  imul   -0x1c(%rbp),%eax
  mov    %eax,%edx
  mov    -0x1c(%rbp),%eax
  mov    %eax,%ecx
  shr    $0x1f,%ecx
  add    %ecx,%eax
  sar    %eax
  lea    (%rdx,%rax,1),%ecx
  mov    -0x14(%rbp),%eax
  imul   -0x1c(%rbp),%eax
  mov    %eax,%edx
  mov    -0x18(%rbp),%eax
  imul   -0x1c(%rbp),%eax
  mov    %eax,%esi
  mov    -0x1c(%rbp),%eax
  mov    %eax,%r8d
  shr    $0x1f,%r8d
  add    %r8d,%eax
  sar    %eax
  add    %eax,%esi
  mov    -0x8(%rbp),%rax
  sub    $0x8,%rsp
  push   $0x33
  mov    $0xe,%r9d
  mov    %edi,%r8d
  mov    %rax,%rdi
  call   <maze_to_fig_line@plt>
  add    $0x10,%rsp
L88:
  mov    -0x14(%rbp),%eax
  lea    0x1(%rax),%ecx
  mov    -0x18(%rbp),%edi
  mov    -0x18(%rbp),%edx
  mov    -0x14(%rbp),%esi
  mov    -0x10(%rbp),%rax
  mov    %edi,%r8d
  mov    %rax,%rdi
  call   <maze_cells_connected@plt>
  test   %rax,%rax
  je     L58
  mov    -0x14(%rbp),%eax
  lea    0x1(%rax),%ecx
  mov    -0x18(%rbp),%edx
  mov    -0x10(%rbp),%rax
  mov    %ecx,%esi
  mov    %rax,%rdi
  call   <maze_get_cell@plt>
  and    $0x4000000,%eax
  test   %eax,%eax
  je     L58
  mov    -0x14(%rbp),%eax
  imul   -0x1c(%rbp),%eax
  mov    %eax,%edx
  mov    -0x1c(%rbp),%eax
  lea    (%rdx,%rax,1),%edi
  mov    -0x18(%rbp),%eax
  imul   -0x1c(%rbp),%eax
  mov    %eax,%edx
  mov    -0x1c(%rbp),%eax
  mov    %eax,%ecx
  shr    $0x1f,%ecx
  add    %ecx,%eax
  sar    %eax
  lea    (%rdx,%rax,1),%ecx
  mov    -0x14(%rbp),%eax
  imul   -0x1c(%rbp),%eax
  mov    %eax,%edx
  mov    -0x1c(%rbp),%eax
  mov    %eax,%esi
  shr    $0x1f,%esi
  add    %esi,%eax
  sar    %eax
  add    %eax,%edx
  mov    -0x18(%rbp),%eax
  imul   -0x1c(%rbp),%eax
  mov    %eax,%esi
  mov    -0x1c(%rbp),%eax
  mov    %eax,%r8d
  shr    $0x1f,%r8d
  add    %r8d,%eax
  sar    %eax
  add    %eax,%esi
  mov    -0x8(%rbp),%rax
  sub    $0x8,%rsp
  push   $0x33
  mov    $0xe,%r9d
  mov    %edi,%r8d
  mov    %rax,%rdi
  call   <maze_to_fig_line@plt>
  add    $0x10,%rsp
L58:
  mov    -0x18(%rbp),%eax
  lea    -0x1(%rax),%edi
  mov    -0x14(%rbp),%ecx
  mov    -0x18(%rbp),%edx
  mov    -0x14(%rbp),%esi
  mov    -0x10(%rbp),%rax
  mov    %edi,%r8d
  mov    %rax,%rdi
  call   <maze_cells_connected@plt>
  test   %rax,%rax
  je     L31
  mov    -0x18(%rbp),%eax
  lea    -0x1(%rax),%edx
  mov    -0x14(%rbp),%ecx
  mov    -0x10(%rbp),%rax
  mov    %ecx,%esi
  mov    %rax,%rdi
  call   <maze_get_cell@plt>
  and    $0x4000000,%eax
  test   %eax,%eax
  je     L31
  mov    -0x14(%rbp),%eax
  imul   -0x1c(%rbp),%eax
  mov    %eax,%edx
  mov    -0x1c(%rbp),%eax
  mov    %eax,%ecx
  shr    $0x1f,%ecx
  add    %ecx,%eax
  sar    %eax
  lea    (%rdx,%rax,1),%edi
  mov    -0x18(%rbp),%eax
  imul   -0x1c(%rbp),%eax
  mov    %eax,%edx
  mov    -0x1c(%rbp),%eax
  mov    %eax,%ecx
  shr    $0x1f,%ecx
  add    %ecx,%eax
  sar    %eax
  lea    (%rdx,%rax,1),%ecx
  mov    -0x14(%rbp),%eax
  imul   -0x1c(%rbp),%eax
  mov    %eax,%edx
  mov    -0x1c(%rbp),%eax
  mov    %eax,%esi
  shr    $0x1f,%esi
  add    %esi,%eax
  sar    %eax
  add    %eax,%edx
  mov    -0x18(%rbp),%eax
  imul   -0x1c(%rbp),%eax
  mov    %eax,%esi
  mov    -0x8(%rbp),%rax
  sub    $0x8,%rsp
  push   $0x33
  mov    $0xe,%r9d
  mov    %edi,%r8d
  mov    %rax,%rdi
  call   <maze_to_fig_line@plt>
  add    $0x10,%rsp
L31:
  mov    -0x18(%rbp),%eax
  lea    0x1(%rax),%edi
  mov    -0x14(%rbp),%ecx
  mov    -0x18(%rbp),%edx
  mov    -0x14(%rbp),%esi
  mov    -0x10(%rbp),%rax
  mov    %edi,%r8d
  mov    %rax,%rdi
  call   <maze_cells_connected@plt>
  test   %rax,%rax
  je     L25
  mov    -0x18(%rbp),%eax
  lea    0x1(%rax),%edx
  mov    -0x14(%rbp),%ecx
  mov    -0x10(%rbp),%rax
  mov    %ecx,%esi
  mov    %rax,%rdi
  call   <maze_get_cell@plt>
  and    $0x4000000,%eax
  test   %eax,%eax
  je     L25
  mov    -0x14(%rbp),%eax
  imul   -0x1c(%rbp),%eax
  mov    %eax,%edx
  mov    -0x1c(%rbp),%eax
  mov    %eax,%ecx
  shr    $0x1f,%ecx
  add    %ecx,%eax
  sar    %eax
  lea    (%rdx,%rax,1),%edi
  mov    -0x18(%rbp),%eax
  imul   -0x1c(%rbp),%eax
  mov    %eax,%edx
  mov    -0x1c(%rbp),%eax
  lea    (%rdx,%rax,1),%ecx
  mov    -0x14(%rbp),%eax
  imul   -0x1c(%rbp),%eax
  mov    %eax,%edx
  mov    -0x1c(%rbp),%eax
  mov    %eax,%esi
  shr    $0x1f,%esi
  add    %esi,%eax
  sar    %eax
  add    %eax,%edx
  mov    -0x18(%rbp),%eax
  imul   -0x1c(%rbp),%eax
  mov    %eax,%esi
  mov    -0x1c(%rbp),%eax
  mov    %eax,%r8d
  shr    $0x1f,%r8d
  add    %r8d,%eax
  sar    %eax
  add    %eax,%esi
  mov    -0x8(%rbp),%rax
  sub    $0x8,%rsp
  push   $0x33
  mov    $0xe,%r9d
  mov    %edi,%r8d
  mov    %rax,%rdi
  call   <maze_to_fig_line@plt>
  add    $0x10,%rsp
  jmp    L25
L53:
  nop
L25:
  leave
  ret
```

assistant: ```c
void maze_to_fig_solution(FILE *fp, struct maze *mp, int row, int col, int upc) {
  if ((maze_get_cell(mp, row, col) & 0x04000000) == 0)
    return;
  if (maze_cells_connected(mp, row, col, row - 1, col) && (maze_get_cell(mp, row - 1, col) & 0x04000000))
    maze_to_fig_line(fp, col * upc + upc / 2, row * upc, col * upc + upc / 2, row * upc + upc / 2, 14, 51);
  if (maze_cells_connected(mp, row, col, row + 1, col) && (maze_get_cell(mp, row + 1, col) & 0x04000000))
    maze_to_fig_line(fp, col * upc + upc / 2, row * upc + upc / 2, col * upc + upc / 2, row * upc + upc, 14, 51);
  if (maze_cells_connected(mp, row, col, row, col - 1) && (maze_get_cell(mp, row, col - 1) & 0x04000000))
    maze_to_fig_line(fp, col * upc, row * upc + upc / 2, col * upc + upc / 2, row * upc + upc / 2, 14, 51);
  if (maze_cells_connected(mp, row, col, row, col + 1) && (maze_get_cell(mp, row, col + 1) & 0x04000000))
    maze_to_fig_line(fp, col * upc + upc / 2, row * upc + upc / 2, col * upc + upc, row * upc + upc / 2, 14, 51);
}
```