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

```asm
<maze_to_fig_solution>:
  endbr64
  push   %r15
  push   %r14
  mov    %rsi,%r14
  push   %r13
  mov    %rdi,%r13
  mov    %r14,%rdi
  push   %r12
  mov    %r8d,%r12d
  push   %rbp
  mov    %ecx,%ebp
  push   %rbx
  mov    %edx,%ebx
  mov    %ecx,%edx
  mov    %ebx,%esi
  sub    $0x8,%rsp
  call   <maze_get_cell@plt>
  test   $0x4000000,%eax
  jne    L23
L111:
  add    $0x8,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  nopl   0x0(%rax)
L23:
  lea    -0x1(%rbx),%r15d
  mov    %ebp,%r8d
  mov    %ebp,%edx
  mov    %ebx,%esi
  mov    %r15d,%ecx
  mov    %r14,%rdi
  call   <maze_cells_connected@plt>
  test   %rax,%rax
  jne    L116
L66:
  lea    0x1(%rbx),%r15d
  mov    %ebp,%r8d
  mov    %ebp,%edx
  mov    %ebx,%esi
  mov    %r15d,%ecx
  mov    %r14,%rdi
  call   <maze_cells_connected@plt>
  test   %rax,%rax
  jne    L92
L93:
  lea    -0x1(%rbp),%r15d
  mov    %ebx,%ecx
  mov    %ebp,%edx
  mov    %ebx,%esi
  mov    %r15d,%r8d
  mov    %r14,%rdi
  call   <maze_cells_connected@plt>
  test   %rax,%rax
  jne    L29
L100:
  lea    0x1(%rbp),%r15d
  mov    %ebx,%ecx
  mov    %ebp,%edx
  mov    %ebx,%esi
  mov    %r15d,%r8d
  mov    %r14,%rdi
  call   <maze_cells_connected@plt>
  test   %rax,%rax
  je     L111
  mov    %r15d,%edx
  mov    %ebx,%esi
  mov    %r14,%rdi
  call   <maze_get_cell@plt>
  test   $0x4000000,%eax
  je     L111
  mov    %r12d,%esi
  imul   %r12d,%ebx
  sub    $0x8,%rsp
  mov    %r13,%rdi
  shr    $0x1f,%esi
  imul   %r12d,%ebp
  push   $0x33
  mov    $0xe,%r9d
  add    %r12d,%esi
  sar    %esi
  lea    (%rbx,%rsi,1),%edx
  lea    0x0(%rbp,%r12,1),%ecx
  add    %ebp,%esi
  mov    %edx,%r8d
  call   <maze_to_fig_line@plt>
  pop    %rax
  pop    %rdx
  jmp    L111
  nopl   0x0(%rax)
L29:
  mov    %r15d,%edx
  mov    %ebx,%esi
  mov    %r14,%rdi
  call   <maze_get_cell@plt>
  test   $0x4000000,%eax
  je     L100
  mov    %r12d,%ecx
  mov    %ebx,%edx
  mov    %ebp,%esi
  sub    $0x8,%rsp
  imul   %r12d,%edx
  shr    $0x1f,%ecx
  push   $0x33
  mov    $0xe,%r9d
  imul   %r12d,%esi
  add    %r12d,%ecx
  mov    %r13,%rdi
  sar    %ecx
  add    %ecx,%edx
  mov    %edx,%r8d
  add    %esi,%ecx
  call   <maze_to_fig_line@plt>
  pop    %rcx
  pop    %rsi
  jmp    L100
  nopl   0x0(%rax)
L92:
  mov    %ebp,%edx
  mov    %r15d,%esi
  mov    %r14,%rdi
  call   <maze_get_cell@plt>
  test   $0x4000000,%eax
  je     L93
  mov    %r12d,%edx
  mov    %ebp,%esi
  mov    %ebx,%eax
  sub    $0x8,%rsp
  imul   %r12d,%esi
  shr    $0x1f,%edx
  push   $0x33
  mov    %r13,%rdi
  imul   %r12d,%eax
  add    %r12d,%edx
  mov    $0xe,%r9d
  sar    %edx
  add    %edx,%esi
  lea    (%rax,%r12,1),%r8d
  add    %eax,%edx
  mov    %esi,%ecx
  call   <maze_to_fig_line@plt>
  pop    %rdi
  pop    %r8
  jmp    L93
  nopl   (%rax)
L116:
  mov    %ebp,%edx
  mov    %r15d,%esi
  mov    %r14,%rdi
  call   <maze_get_cell@plt>
  test   $0x4000000,%eax
  je     L66
  mov    %r12d,%eax
  mov    %ebp,%esi
  mov    %ebx,%edx
  sub    $0x8,%rsp
  imul   %r12d,%esi
  shr    $0x1f,%eax
  push   $0x33
  mov    $0xe,%r9d
  imul   %r12d,%edx
  add    %r12d,%eax
  mov    %r13,%rdi
  sar    %eax
  add    %eax,%esi
  lea    (%rdx,%rax,1),%r8d
  mov    %esi,%ecx
  call   <maze_to_fig_line@plt>
  pop    %r9
  pop    %r10
  jmp    L66
```

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);
}
```