user: 这段汇编代码用C语言表示是什么样的？

```asm
<draw_3d_line_bresenham>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x50,%rsp
  mov    %edi,-0x34(%rbp)
  mov    %esi,-0x38(%rbp)
  mov    %edx,-0x3c(%rbp)
  mov    %ecx,-0x40(%rbp)
  mov    %r8d,-0x44(%rbp)
  mov    %r9d,-0x48(%rbp)
  mov    -0x40(%rbp),%eax
  cmp    -0x34(%rbp),%eax
  jle    L76
  mov    $0x1,%eax
  jmp    L5
L76:
  mov    $0xffffffff,%eax
L5:
  mov    %eax,-0x28(%rbp)
  mov    -0x44(%rbp),%eax
  cmp    -0x38(%rbp),%eax
  jle    L83
  mov    $0x1,%eax
  jmp    L4
L83:
  mov    $0xffffffff,%eax
L4:
  mov    %eax,-0x24(%rbp)
  mov    -0x48(%rbp),%eax
  cmp    -0x3c(%rbp),%eax
  jle    L10
  mov    $0x1,%eax
  jmp    L98
L10:
  mov    $0xffffffff,%eax
L98:
  mov    %eax,-0x20(%rbp)
  mov    -0x40(%rbp),%eax
  sub    -0x34(%rbp),%eax
  mov    %eax,%edx
  neg    %edx
  cmovns %edx,%eax
  mov    %eax,-0x1c(%rbp)
  mov    -0x44(%rbp),%eax
  sub    -0x38(%rbp),%eax
  mov    %eax,%edx
  neg    %edx
  cmovns %edx,%eax
  mov    %eax,-0x18(%rbp)
  mov    -0x48(%rbp),%eax
  sub    -0x3c(%rbp),%eax
  mov    %eax,%edx
  neg    %edx
  cmovns %edx,%eax
  mov    %eax,-0x14(%rbp)
  mov    -0x18(%rbp),%eax
  add    %eax,%eax
  sub    -0x1c(%rbp),%eax
  mov    %eax,-0x30(%rbp)
  mov    -0x14(%rbp),%eax
  add    %eax,%eax
  sub    -0x1c(%rbp),%eax
  mov    %eax,-0x2c(%rbp)
  mov    -0x18(%rbp),%eax
  add    %eax,%eax
  mov    %eax,-0x10(%rbp)
  mov    -0x18(%rbp),%eax
  sub    -0x1c(%rbp),%eax
  add    %eax,%eax
  mov    %eax,-0xc(%rbp)
  mov    -0x14(%rbp),%eax
  add    %eax,%eax
  mov    %eax,-0x8(%rbp)
  mov    -0x14(%rbp),%eax
  sub    -0x1c(%rbp),%eax
  add    %eax,%eax
  mov    %eax,-0x4(%rbp)
  jmp    L82
L66:
  mov    -0x3c(%rbp),%edx
  mov    -0x38(%rbp),%esi
  mov    -0x34(%rbp),%eax
  mov    $0x1,%ecx
  mov    %eax,%edi
  call   <vol_draw_op@plt>
  cmpl   $0x0,-0x30(%rbp)
  jg     L100
  mov    -0x10(%rbp),%eax
  add    %eax,-0x30(%rbp)
  jmp    L15
L100:
  mov    -0x24(%rbp),%eax
  add    %eax,-0x38(%rbp)
  mov    -0xc(%rbp),%eax
  add    %eax,-0x30(%rbp)
L15:
  cmpl   $0x0,-0x2c(%rbp)
  jg     L14
  mov    -0x8(%rbp),%eax
  add    %eax,-0x2c(%rbp)
  jmp    L89
L14:
  mov    -0x20(%rbp),%eax
  add    %eax,-0x3c(%rbp)
  mov    -0x4(%rbp),%eax
  add    %eax,-0x2c(%rbp)
L89:
  mov    -0x28(%rbp),%eax
  add    %eax,-0x34(%rbp)
L82:
  mov    -0x34(%rbp),%eax
  cmp    -0x40(%rbp),%eax
  jne    L66
  mov    -0x3c(%rbp),%edx
  mov    -0x38(%rbp),%esi
  mov    -0x34(%rbp),%eax
  mov    $0x1,%ecx
  mov    %eax,%edi
  call   <vol_draw_op@plt>
  nop
  leave
  ret
```

assistant: ```c
void draw_3d_line_bresenham(int x0, int y0, int z0, int x1, int y1, int z1) {
  int x_inc = (x1 > x0) ? +1 : -1, y_inc = (y1 > y0) ? +1 : -1, z_inc = (z1 > z0) ? +1 : -1;
  int dx = abs(x1 - x0), dy = abs(y1 - y0), dz = abs(z1 - z0);
  int d1 = 2 * dy - dx, d2 = 2 * dz - dx;
  int inc_e1 = 2 * dy, inc_ne1 = 2 * (dy - dx), inc_e2 = 2 * dz, inc_ne2 = 2 * (dz - dx);
  while (x0 != x1) {
    vol_draw_op(x0, y0, z0, 1);
    if (d1 <= 0)
      d1 += inc_e1;
    else {
      y0 += y_inc;
      d1 += inc_ne1;
    }
    if (d2 <= 0)
      d2 += inc_e2;
    else {
      z0 += z_inc;
      d2 += inc_ne2;
    }
    x0 += x_inc;
  }
  vol_draw_op(x0, y0, z0, 1);
}
```