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

```asm
<tft_fill_triangle>:
  endbr64
  push   %r15
  push   %r14
  mov    %edi,%r14d
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  mov    %esi,%ebx
  sub    $0x38,%rsp
  mov    0x70(%rsp),%eax
  mov    %edx,0x28(%rsp)
  mov    %ecx,0x10(%rsp)
  mov    %r8d,0x2c(%rsp)
  mov    %eax,0xc(%rsp)
  cmp    %r8d,%edx
  jle    L101
  cmp    %eax,%edx
  jg     L193
L114:
  mov    0x28(%rsp),%eax
  mov    0x2c(%rsp),%edi
  mov    %eax,0x2c(%rsp)
  mov    %ebx,%eax
  mov    0x10(%rsp),%ebx
  mov    %edi,0x28(%rsp)
  mov    %eax,0x10(%rsp)
L155:
  mov    0xc(%rsp),%esi
  cmp    %esi,0x28(%rsp)
  je     L13
L140:
  mov    0x10(%rsp),%edi
  mov    0x28(%rsp),%ecx
  mov    %r9d,%r13d
  sub    %ebx,%r13d
  mov    %edi,%eax
  sub    %edi,%r9d
  sub    %ebx,%eax
  mov    %r9d,0x18(%rsp)
  mov    %eax,0x20(%rsp)
  mov    0x2c(%rsp),%eax
  mov    %eax,%edx
  mov    %eax,0x14(%rsp)
  sub    %ecx,%edx
  mov    %edx,0x24(%rsp)
  mov    0xc(%rsp),%edx
  mov    %edx,%esi
  sub    %ecx,%esi
  mov    %esi,0x8(%rsp)
  mov    %edx,%esi
  sub    %eax,%esi
  mov    %esi,0x1c(%rsp)
  cmp    %edx,%eax
  je     L123
L10:
  mov    0xc(%rsp),%eax
  mov    %eax,0x14(%rsp)
  mov    0x2c(%rsp),%eax
  sub    $0x1,%eax
  mov    %eax,0xc(%rsp)
L123:
  mov    0x28(%rsp),%esi
  xor    %r15d,%r15d
  mov    %esi,%ebp
  cmp    %esi,0xc(%rsp)
  jl     L78
  mov    0x28(%rsp),%ebp
  mov    0x20(%rsp),%r15d
  mov    %r13d,%r12d
  mov    %ebx,%ecx
  mov    %ebx,%esi
  nopl   0x0(%rax)
L17:
  mov    %ebp,%r8d
  mov    %ebp,%edx
  mov    %r14d,%edi
  add    $0x1,%ebp
  call   <tft_fill@plt>
  cmp    %ebp,0xc(%rsp)
  jl     L90
  mov    %r15d,%eax
  add    0x20(%rsp),%r15d
  cltd
  idivl  0x24(%rsp)
  mov    %eax,%edi
  lea    (%rax,%rbx,1),%esi
  mov    %r12d,%eax
  add    %r13d,%r12d
  cltd
  idivl  0x8(%rsp)
  lea    (%rax,%rbx,1),%ecx
  cmp    %eax,%edi
  jle    L17
  mov    %esi,%eax
  mov    %ecx,%esi
  mov    %eax,%ecx
  jmp    L17
  xchg   %ax,%ax
L101:
  mov    0xc(%rsp),%edx
  cmp    %edx,0x2c(%rsp)
  jle    L155
  mov    0x28(%rsp),%esi
  mov    0xc(%rsp),%edx
  cmp    %edx,%esi
  jle    L4
  mov    0xc(%rsp),%edi
  mov    0x28(%rsp),%eax
  mov    %edi,0x28(%rsp)
  mov    0x2c(%rsp),%edi
  mov    %eax,0x2c(%rsp)
  mov    %ebx,%eax
  mov    %r9d,%ebx
  mov    0x10(%rsp),%r9d
  mov    %edi,0xc(%rsp)
  mov    %eax,0x10(%rsp)
  jmp    L140
  nopl   0x0(%rax)
L90:
  mov    %ebp,%eax
  sub    0x28(%rsp),%eax
  imul   %r13d,%eax
  mov    %eax,%r15d
L78:
  mov    %ebp,%r12d
  sub    0x2c(%rsp),%r12d
  imul   0x18(%rsp),%r12d
  cmp    0x14(%rsp),%ebp
  jg     L25
  mov    %ebx,%eax
  mov    %r15d,%ebx
  mov    %ebp,%r15d
  mov    %r12d,%ebp
  mov    %eax,%r12d
  nop
L23:
  mov    %ebp,%eax
  add    0x18(%rsp),%ebp
  cltd
  idivl  0x1c(%rsp)
  mov    0x10(%rsp),%edx
  lea    (%rax,%rdx,1),%esi
  mov    %ebx,%eax
  add    %r13d,%ebx
  cltd
  idivl  0x8(%rsp)
  lea    (%rax,%r12,1),%ecx
  cmp    %ecx,%esi
  jle    L158
  mov    %esi,%eax
  mov    %ecx,%esi
  mov    %eax,%ecx
L158:
  mov    %r15d,%r8d
  mov    %r15d,%edx
  mov    %r14d,%edi
  add    $0x1,%r15d
  call   <tft_fill@plt>
  cmp    0x14(%rsp),%r15d
  jle    L23
L25:
  add    $0x38,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  nopw   0x0(%rax,%rax,1)
L193:
  mov    0x2c(%rsp),%esi
  mov    0xc(%rsp),%edx
  cmp    %edx,%esi
  jle    L41
  mov    0x10(%rsp),%edi
  mov    0x2c(%rsp),%edx
  mov    %ebx,%r13d
  mov    0xc(%rsp),%ecx
  sub    %r9d,%r13d
  mov    %edi,%eax
  sub    %edi,%ebx
  sub    %r9d,%eax
  mov    %ebx,0x18(%rsp)
  mov    %eax,0x20(%rsp)
  mov    %edx,%eax
  sub    %ecx,%eax
  mov    %eax,0x24(%rsp)
  mov    0x28(%rsp),%eax
  mov    %ecx,0x28(%rsp)
  mov    %eax,%esi
  mov    %eax,%ebx
  mov    %eax,0xc(%rsp)
  sub    %edx,%ebx
  sub    %ecx,%esi
  mov    %ebx,0x1c(%rsp)
  mov    %r9d,%ebx
  mov    %esi,0x8(%rsp)
  jmp    L10
  nopl   (%rax)
L13:
  mov    0x10(%rsp),%esi
  cmp    %esi,%ebx
  jle    L51
  mov    %ebx,%eax
  mov    %esi,%ebx
  mov    %eax,0x10(%rsp)
L51:
  cmp    %r9d,%ebx
  jle    L33
L30:
  mov    0x28(%rsp),%edx
  mov    0x10(%rsp),%ecx
  add    $0x38,%rsp
  mov    %r14d,%edi
  pop    %rbx
  mov    %r9d,%esi
  pop    %rbp
  mov    %edx,%r8d
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  jmp    1050 <tft_fill@plt>
  nopl   0x0(%rax)
L41:
  mov    0x28(%rsp),%eax
  mov    %edx,0x2c(%rsp)
  mov    %esi,0x28(%rsp)
  mov    %eax,0xc(%rsp)
  mov    %ebx,%eax
  mov    0x10(%rsp),%ebx
  mov    %r9d,0x10(%rsp)
  mov    %eax,%r9d
  jmp    L140
  nopl   0x0(%rax,%rax,1)
L4:
  mov    0x2c(%rsp),%eax
  mov    %edx,0x28(%rsp)
  mov    %esi,0x2c(%rsp)
  mov    %eax,0xc(%rsp)
  mov    0x10(%rsp),%eax
  mov    %ebx,0x10(%rsp)
  mov    %r9d,%ebx
  mov    %eax,%r9d
  jmp    L114
  nopl   0x0(%rax,%rax,1)
L33:
  mov    0x10(%rsp),%eax
  cmp    %r9d,%eax
  cmovge %eax,%r9d
  mov    %r9d,0x10(%rsp)
  mov    %ebx,%r9d
  jmp    L30
```

assistant: ```c
void tft_fill_triangle(int color, int x0, int y0, int x1, int y1, int x2, int y2) {
  int a, b, y, last;
  if (y0 > y1) {
    {
      int _t = y0;
      y0 = y1;
      y1 = _t;
    };
    {
      int _t = x0;
      x0 = x1;
      x1 = _t;
    };
  }
  if (y1 > y2) {
    {
      int _t = y2;
      y2 = y1;
      y1 = _t;
    };
    {
      int _t = x2;
      x2 = x1;
      x1 = _t;
    };
  }
  if (y0 > y1) {
    {
      int _t = y0;
      y0 = y1;
      y1 = _t;
    };
    {
      int _t = x0;
      x0 = x1;
      x1 = _t;
    };
  }
  if (y0 == y2) {
    a = b = x0;
    if (x1 < a)
      a = x1;
    else if (x1 > b)
      b = x1;
    if (x2 < a)
      a = x2;
    else if (x2 > b)
      b = x2;
    tft_fill(color, a, y0, b, y0);
    return;
  }
  int dx01 = x1 - x0;
  int dy01 = y1 - y0;
  int dx02 = x2 - x0;
  int dy02 = y2 - y0;
  int dx12 = x2 - x1;
  int dy12 = y2 - y1;
  int sa = 0;
  int sb = 0;
  if (y1 == y2)
    last = y1;
  else
    last = y1 - 1;
  for (y = y0; y <= last; y++) {
    a = x0 + sa / dy01;
    b = x0 + sb / dy02;
    sa += dx01;
    sb += dx02;
    if (a > b) {
      int _t = a;
      a = b;
      b = _t;
    };
    tft_fill(color, a, y, b, y);
  }
  sa = dx12 * (y - y1);
  sb = dx02 * (y - y0);
  for (; y <= y2; y++) {
    a = x1 + sa / dy12;
    b = x0 + sb / dy02;
    sa += dx12;
    sb += dx02;
    if (a > b) {
      int _t = a;
      a = b;
      b = _t;
    };
    tft_fill(color, a, y, b, y);
  }
}
```