user: 提供的汇编代码用C语言表示会是什么样子:

```asm
<graph_fill_polygon>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x1000,%rsp
  orq    $0x0,(%rsp)
  sub    $0x18,%rsp
  mov    0x1060(%rsp),%r14d
  mov    %ecx,%r15d
  mov    %esi,0x38(%rsp)
  mov    %rdi,%rbx
  mov    %edx,%r13d
  mov    %dl,0x49(%rsp)
  mov    0x1050(%rsp),%rcx
  mov    %r8d,%ebp
  mov    %r9d,%r11d
  mov    %r15b,0x4a(%rsp)
  mov    %r8b,0x4b(%rsp)
  mov    %r9b,0x23(%rsp)
  mov    %fs:0x28,%rax
  mov    %rax,0x1008(%rsp)
  xor    %eax,%eax
  test   %esi,%esi
  je     L17
  lea    -0x1(%rsi),%eax
  mov    %rdi,%rdx
  mov    $0xfffe7961,%r12d
  mov    $0x1869f,%r10d
  lea    0x8(%rdi,%rax,8),%r9
  mov    $0x1869f,%r8d
  mov    $0xfffe7961,%eax
  nopl   0x0(%rax)
L136:
  mov    (%rdx),%esi
  mov    0x4(%rdx),%edi
  cmp    $0x270f,%esi
  je     L13
  cmp    $0x270f,%edi
  je     L13
  cmp    %esi,%r8d
  cmovg  %esi,%r8d
  cmp    %edi,%r10d
  cmovg  %edi,%r10d
  cmp    %esi,%r12d
  cmovl  %esi,%r12d
  cmp    %edi,%eax
  cmovl  %edi,%eax
L13:
  add    $0x8,%rdx
  cmp    %r9,%rdx
  jne    L136
  xor    %edi,%edi
  test   %r10d,%r10d
  mov    %r12d,%esi
  mov    %eax,%edx
  cmovs  %edi,%r10d
  test   %r8d,%r8d
  cmovns %r8d,%edi
  mov    %edi,(%rsp)
L279:
  mov    0x1058(%rsp),%edi
  sub    $0x1,%edi
  cmp    %esi,0x1058(%rsp)
  lea    -0x1(%r14),%esi
  cmovbe %edi,%r12d
  cmp    %edx,%r14d
  cmovbe %esi,%eax
  cmp    %r10d,%eax
  jl     L12
  mov    0x38(%rsp),%edi
  movzbl %r11b,%r9d
  mov    $0xff,%edx
  add    $0x1,%eax
  sub    %r9d,%edx
  movzbl %bpl,%ebp
  mov    %eax,0x44(%rsp)
  movzbl %r15b,%esi
  sub    $0x1,%edi
  imul   %edx,%ebp
  imul   %edx,%esi
  lea    (%rdi,%rdi,1),%eax
  mov    %edi,0x4c(%rsp)
  cltq
  lea    0x4(%rbx,%rax,4),%rax
  mov    %ebp,0x3c(%rsp)
  movzbl %r13b,%ebp
  mov    %rax,0x50(%rsp)
  imul   %edx,%ebp
  lea    0x60(%rsp),%rax
  mov    0x1058(%rsp),%edx
  mov    %rax,0x8(%rsp)
  lea    0x68(%rsp),%rax
  mov    %rax,0x58(%rsp)
  imul   %r10d,%edx
  lea    -0x1(%r12),%eax
  mov    %eax,0x30(%rsp)
  mov    (%rsp),%eax
  mov    %esi,0x40(%rsp)
  add    $0x1,%eax
  mov    %edx,0x4(%rsp)
  mov    %eax,0x34(%rsp)
L35:
  mov    0x38(%rsp),%eax
  test   %eax,%eax
  je     L277
  mov    0x50(%rsp),%rdi
  mov    0x4c(%rsp),%r11d
  mov    %eax,%r13d
  xor    %esi,%esi
  xor    %r8d,%r8d
  mov    (%rdi),%edi
  jmp    L100
  nopw   0x0(%rax,%rax,1)
L312:
  cmp    %r15d,%r10d
  jg     L53
L302:
  add    %eax,%eax
  mov    %r10d,%edx
  sub    %edi,%r15d
  movslq %r8d,%r14
  cltq
  sub    %edi,%edx
  add    $0x1,%r8d
  mov    (%rbx,%rax,4),%eax
  sub    (%rbx,%rsi,8),%eax
  imul   %edx,%eax
  cltd
  idiv   %r15d
  add    (%rbx,%rsi,8),%eax
  mov    %eax,0x60(%rsp,%r14,4)
L53:
  cmp    $0x3e8,%r8d
  je     L161
L242:
  add    $0x1,%rsi
  cmp    %r13,%rsi
  je     L63
L100:
  mov    %edi,%r15d
  mov    0x4(%rbx,%rsi,8),%edi
  mov    %r11d,%eax
  mov    %esi,%r11d
  cmp    %r10d,%edi
  jl     L312
  cmp    %r15d,%r10d
  jg     L302
  cmp    $0x3e8,%r8d
  jne    L242
L161:
  mov    $0x3e7,%r13d
L256:
  xor    %edx,%edx
  xor    %eax,%eax
L114:
  mov    0x8(%rsp),%rdi
  lea    (%rdi,%rax,4),%rax
  jmp    L224
L90:
  mov    (%rax),%edi
  mov    0x4(%rax),%r11d
  add    $0x4,%rax
  lea    0x1(%rdx),%esi
  cmp    %r11d,%edi
  jg     L167
  mov    %esi,%edx
L224:
  cmp    %r13d,%edx
  jl     L90
  test   %r8d,%r8d
  je     L59
  sub    $0x1,%r8d
  mov    0x58(%rsp),%rdi
  mov    %rbx,0x28(%rsp)
  shr    %r8d
  mov    %r10d,0x24(%rsp)
  mov    0x8(%rsp),%rdx
  mov    %r8d,%eax
  movzbl 0x49(%rsp),%ebx
  movzbl 0x4a(%rsp),%r13d
  movzbl 0x4b(%rsp),%r15d
  lea    (%rdi,%rax,8),%r14
  jmp    L72
  nopl   0x0(%rax,%rax,1)
L353:
  add    $0x8,%rdx
  cmp    %rdx,%r14
  je     L60
L72:
  mov    (%rdx),%eax
  cmp    %r12d,%eax
  jge    L60
  mov    0x4(%rdx),%edi
  cmp    (%rsp),%edi
  jle    L353
  cmp    (%rsp),%eax
  jg     L68
  mov    0x34(%rsp),%esi
  mov    %esi,(%rdx)
  mov    %esi,%eax
L68:
  cmp    %r12d,%edi
  jl     L208
  mov    0x30(%rsp),%eax
  mov    %eax,0x4(%rdx)
  mov    %eax,%edi
  mov    (%rdx),%eax
L208:
  cmp    %edi,%eax
  jge    L353
  cmpb   $0x0,0x23(%rsp)
  je     L73
  mov    0x4(%rsp),%r10d
  mov    %rdx,0x18(%rsp)
  mov    %r14,0x10(%rsp)
  mov    0x40(%rsp),%r14d
  add    %r10d,%eax
  add    %r10d,%edi
  mov    0x3c(%rsp),%r10d
  lea    (%rax,%rax,2),%esi
  lea    (%rdi,%rdi,2),%r11d
  nopw   0x0(%rax,%rax,1)
L243:
  movslq %esi,%rax
  add    $0x3,%esi
  lea    (%rcx,%rax,1),%r8
  lea    0x1(%rcx,%rax,1),%rdi
  lea    0x2(%rcx,%rax,1),%rdx
  movzbl (%r8),%eax
  imul   %r9d,%eax
  add    %r10d,%eax
  movzbl %ah,%eax
  mov    %al,(%r8)
  movzbl (%rdi),%eax
  imul   %r9d,%eax
  add    %r14d,%eax
  mov    %ah,(%rdi)
  movzbl (%rdx),%eax
  imul   %r9d,%eax
  add    %ebp,%eax
  mov    %ah,(%rdx)
  cmp    %esi,%r11d
  jne    L243
  mov    0x18(%rsp),%rdx
  mov    0x10(%rsp),%r14
  add    $0x8,%rdx
  cmp    %rdx,%r14
  jne    L72
L60:
  mov    0x24(%rsp),%r10d
  mov    0x28(%rsp),%rbx
L59:
  mov    0x1058(%rsp),%edi
  add    $0x1,%r10d
  add    %edi,0x4(%rsp)
  cmp    %r10d,0x44(%rsp)
  jne    L35
L12:
  mov    0x1008(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L69
  add    $0x1018,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  nopl   (%rax)
L73:
  mov    0x4(%rsp),%esi
  add    %esi,%eax
  add    %esi,%edi
  lea    (%rax,%rax,2),%eax
  lea    (%rdi,%rdi,2),%edi
  xchg   %ax,%ax
L286:
  movslq %eax,%rsi
  add    $0x3,%eax
  mov    %r15b,(%rcx,%rsi,1)
  mov    %r13b,0x1(%rcx,%rsi,1)
  mov    %bl,0x2(%rcx,%rsi,1)
  cmp    %eax,%edi
  jne    L286
  jmp    L353
  nopl   0x0(%rax)
L167:
  movslq %edx,%rax
  movslq %esi,%rsi
  mov    %r11d,0x60(%rsp,%rax,4)
  mov    %edi,0x60(%rsp,%rsi,4)
  test   %edx,%edx
  je     L114
  sub    $0x1,%edx
  movslq %edx,%rax
  jmp    L114
  nopw   0x0(%rax,%rax,1)
L63:
  lea    -0x1(%r8),%r13d
  jmp    L256
L277:
  mov    $0xffffffff,%r13d
  xor    %r8d,%r8d
  jmp    L256
L17:
  mov    $0x1869f,%r10d
  mov    $0xfffe7961,%edx
  mov    $0xfffe7961,%esi
  movl   $0x1869f,(%rsp)
  mov    $0xfffe7961,%eax
  mov    $0xfffe7961,%r12d
  jmp    L279
L69:
  call   <__stack_chk_fail@plt>
```

assistant: ```c
void graph_fill_polygon(int *points, unsigned int no_of_points, unsigned char r, unsigned char g, unsigned char b, unsigned char transparency, unsigned char *buffer, unsigned int img_width, unsigned int img_height) {
  int nodes, nodeX[1000], i, j, swap, n, x, y;
  int min_x = 99999, min_y = 99999;
  int max_x = -99999, max_y = -99999;
  for (i = 0; i < no_of_points; i++) {
    x = points[i * 2];
    y = points[i * 2 + 1];
    if ((x == 9999) || (y == 9999))
      continue;
    if (x < min_x)
      min_x = x;
    if (y < min_y)
      min_y = y;
    if (x > max_x)
      max_x = x;
    if (y > max_y)
      max_y = y;
  }
  if (min_x < 0)
    min_x = 0;
  if (min_y < 0)
    min_y = 0;
  if (max_x >= img_width)
    max_x = img_width - 1;
  if (max_y >= img_height)
    max_y = img_height - 1;
  for (y = min_y; y <= max_y; y++) {
    nodes = 0;
    j = no_of_points - 1;
    for (i = 0; i < no_of_points; i++) {
      if (((points[i * 2 + 1] < y) && (points[j * 2 + 1] >= y)) || ((points[j * 2 + 1] < y) && (points[i * 2 + 1] >= y))) {
        nodeX[nodes++] = points[i * 2] + (y - points[i * 2 + 1]) * (points[j * 2] - points[i * 2]) / (points[j * 2 + 1] - points[i * 2 + 1]);
      }
      j = i;
      if (nodes == 1000)
        break;
    }
    i = 0;
    while (i < nodes - 1) {
      if (nodeX[i] > nodeX[i + 1]) {
        swap = nodeX[i];
        nodeX[i] = nodeX[i + 1];
        nodeX[i + 1] = swap;
        if (i)
          i--;
      } else {
        i++;
      }
    }
    for (i = 0; i < nodes; i += 2) {
      if (nodeX[i] >= max_x)
        break;
      if (nodeX[i + 1] > min_x) {
        if (nodeX[i] <= min_x)
          nodeX[i] = min_x + 1;
        if (nodeX[i + 1] >= max_x)
          nodeX[i + 1] = max_x - 1;
        for (x = nodeX[i]; x < nodeX[i + 1]; x++) {
          n = ((y * img_width) + x) * 3;
          if (transparency == 0) {
            buffer[n] = b;
            buffer[n + 1] = g;
            buffer[n + 2] = r;
          } else {
            buffer[n] = ((b * (255 - transparency)) + (buffer[n] * transparency)) / 256;
            buffer[n + 1] = ((g * (255 - transparency)) + (buffer[n + 1] * transparency)) / 256;
            buffer[n + 2] = ((r * (255 - transparency)) + (buffer[n + 2] * transparency)) / 256;
          }
        }
      }
    }
  }
}
```