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

```asm
<checkaddline>:
  endbr64
  push   %r15
  movslq %edx,%r15
  movslq %esi,%rdx
  mov    %esi,%ecx
  push   %r14
  lea    (%rdx,%rdx,8),%r14
  sub    %r15d,%ecx
  push   %r13
  shl    $0x4,%r14
  mov    %rdi,%r13
  push   %r12
  lea    (%r15,%r15,8),%r12
  push   %rbp
  shl    $0x4,%r12
  mov    %esi,%ebp
  mov    %r15d,%esi
  push   %rbx
  lea    (%rdi,%r12,1),%rax
  lea    (%rdi,%r14,1),%r12
  mov    %ebp,%edi
  mov    %r15,%rbx
  sub    $0x28,%rsp
  movl   $0x1,(%rax,%rdx,4)
  movl   $0x1,(%r12,%r15,4)
  mov    %rdx,0x10(%rsp)
  mov    %ecx,0xc(%rsp)
  mov    %rax,0x18(%rsp)
  call   <min@plt>
  movslq %eax,%rdi
  sar    $0x1f,%eax
  imul   $0x2aaaaaab,%rdi,%rdi
  shr    $0x20,%rdi
  sub    %eax,%edi
  call   <floor@plt>
  mov    0xc(%rsp),%ecx
  mov    0x10(%rsp),%rdx
  lea    0x1(%rcx),%eax
  test   $0xfffffffd,%eax
  jne    L267
  cmp    $0x5,%ebp
  jg     L75
L172:
  xor    %ecx,%ecx
L232:
  add    $0x6,%ebx
  movslq %ebx,%rbx
  lea    0x0(%r13,%rbx,4),%rax
  cmpl   $0x1,0x360(%r14,%rax,1)
  je     L102
L53:
  add    $0x28,%rsp
  mov    $0x1,%eax
  pop    %rbx
  sub    %ecx,%eax
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  cs nopw 0x0(%rax,%rax,1)
L267:
  cmp    $0xfffffffa,%ecx
  je     L70
  cmp    $0x6,%ecx
  je     L70
L2:
  add    $0x28,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  nopl   0x0(%rax)
L75:
  lea    -0x6(%r15),%eax
  cltq
  lea    0x0(%r13,%rax,4),%rcx
  cmpl   $0x1,-0x360(%r14,%rcx,1)
  je     L246
L58:
  cmp    $0x1d,%ebp
  jle    L172
L92:
  add    $0x28,%rsp
  mov    $0x1,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  nopl   0x0(%rax,%rax,1)
L70:
  lea    0x5(%rbp),%eax
  cmp    $0xa,%eax
  jbe    L279
  lea    -0x1(%rbx),%eax
  cltq
  lea    0x0(%r13,%rax,4),%rcx
  cmpl   $0x1,-0x90(%r14,%rcx,1)
  je     L165
L279:
  lea    0x6(%rbp),%eax
  cmp    $0xa,%eax
  jbe    L92
  xor    %ecx,%ecx
L180:
  add    $0x1,%ebx
  movslq %ebx,%rbx
  lea    0x0(%r13,%rbx,4),%rax
  cmpl   $0x1,0x90(%r14,%rax,1)
  jne    L53
  add    $0x1,%ebp
  movslq %ebp,%rbp
  cmpl   $0x1,(%r12,%rbp,4)
  jne    L53
L291:
  mov    0x18(%rsp),%rax
  cmpl   $0x1,(%rax,%rbx,4)
  jne    L53
  xor    %eax,%eax
  cmpl   $0x1,(%r12,%r15,4)
  je     L2
  mov    0x18(%rsp),%rsi
  cmpl   $0x1,(%rsi,%rdx,4)
  jne    L53
  jmp    L2
  xchg   %ax,%ax
L246:
  lea    -0x6(%rbp),%ecx
  movslq %ecx,%rcx
  cmpl   $0x1,(%r12,%rcx,4)
  jne    L58
  mov    0x18(%rsp),%rsi
  mov    (%rsi,%rax,4),%ecx
  cmp    $0x1,%ecx
  jne    L58
  cmpl   $0x1,(%r12,%r15,4)
  je     L282
  cmpl   $0x1,(%rsi,%rdx,4)
  jne    L58
L282:
  cmp    $0x1d,%ebp
  jle    L232
  xor    %eax,%eax
  jmp    L2
  nopl   0x0(%rax,%rax,1)
L102:
  add    $0x6,%ebp
  movslq %ebp,%rbp
  cmpl   $0x1,(%r12,%rbp,4)
  jne    L53
  jmp    L291
  xchg   %ax,%ax
L165:
  lea    -0x1(%rbp),%ecx
  movslq %ecx,%rcx
  cmpl   $0x1,(%r12,%rcx,4)
  jne    L279
  mov    0x18(%rsp),%rsi
  mov    (%rsi,%rax,4),%ecx
  cmp    $0x1,%ecx
  jne    L279
  cmpl   $0x1,(%r12,%r15,4)
  je     L265
  cmpl   $0x1,(%rsi,%rdx,4)
  jne    L279
L265:
  lea    0x6(%rbp),%eax
  cmp    $0xa,%eax
  ja     L180
  xor    %eax,%eax
  jmp    L2
```

assistant: ```c
int checkaddline(int madhugrid[36][36], int tempp1, int tempp2) {
  int t, temp, flag, tmp;
  madhugrid[tempp1][tempp2] = madhugrid[tempp2][tempp1] = 1;
  t = tempp1 - tempp2;
  temp = min(tempp1, tempp2);
  tmp = floor(temp / 6);
  if (t == -1 || t == 1) {
    flag = 0;
    if (tempp1 > 5 && madhugrid[tempp1 - 6][tempp2 - 6] == 1 && madhugrid[tempp1][tempp1 - 6] == 1 && madhugrid[tempp2][tempp2 - 6] == 1) {
      if ((madhugrid[tempp1][tempp2] == 1 || madhugrid[tempp2][tempp1] == 1)) {
        flag = 1;
      }
    }
    if (tempp1 < 30 && madhugrid[tempp1 + 6][tempp2 + 6] == 1 && madhugrid[tempp1][tempp1 + 6] == 1 && madhugrid[tempp2][tempp2 + 6] == 1) {
      if ((madhugrid[tempp1][tempp2] == 1 || madhugrid[tempp2][tempp1] == 1)) {
        flag = 1;
      }
    }
    if (flag) {
      return 0;
    } else {
      return 1;
    }
  } else if (t == -6 || t == 6) {
    flag = 0;
    if (tempp1 / 6 != 0 && madhugrid[tempp1 - 1][tempp2 - 1] == 1 && madhugrid[tempp1][tempp1 - 1] == 1 && madhugrid[tempp2][tempp2 - 1] == 1) {
      if ((madhugrid[tempp1][tempp2] == 1 || madhugrid[tempp2][tempp1] == 1)) {
        flag = 1;
      }
    }
    if ((tempp1 + 1) / 6 != 0 && madhugrid[tempp1 + 1][tempp2 + 1] == 1 && madhugrid[tempp1][tempp1 + 1] == 1 && madhugrid[tempp2][tempp2 + 1] == 1) {
      if ((madhugrid[tempp1][tempp2] == 1 || madhugrid[tempp2][tempp1] == 1)) {
        flag = 1;
      }
    }
    if (flag) {
      return 0;
    } else {
      return 1;
    }
  }
}
```