user: 请将这段汇编代码片段转换成等效的C代码:

```asm
<source>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0xc0,%rsp
  mov    %rdi,-0xb8(%rbp)
  mov    %esi,-0xbc(%rbp)
  mov    %fs:0x28,%rax
  mov    %rax,-0x8(%rbp)
  xor    %eax,%eax
  movl   $0xffffffff,-0x9c(%rbp)
  movl   $0x1,-0x98(%rbp)
  movl   $0x1,-0xa0(%rbp)
  jmp    L144
L38:
  movl   $0x0,-0xac(%rbp)
  movl   $0x1,-0xa4(%rbp)
  jmp    L122
L69:
  mov    -0xa0(%rbp),%eax
  movslq %eax,%rdx
  mov    %rdx,%rax
  shl    $0x2,%rax
  add    %rdx,%rax
  shl    $0x4,%rax
  mov    %rax,%rdx
  mov    -0xb8(%rbp),%rax
  add    %rax,%rdx
  mov    -0xa4(%rbp),%eax
  cltq
  mov    (%rdx,%rax,4),%eax
  add    %eax,-0xac(%rbp)
  addl   $0x1,-0xa4(%rbp)
L122:
  mov    -0xa4(%rbp),%eax
  cmp    -0xbc(%rbp),%eax
  jle    L69
  mov    -0xa0(%rbp),%eax
  cltq
  mov    -0xac(%rbp),%edx
  mov    %edx,-0x60(%rbp,%rax,4)
  addl   $0x1,-0xa0(%rbp)
L144:
  mov    -0xa0(%rbp),%eax
  cmp    -0xbc(%rbp),%eax
  jle    L38
  movl   $0x1,-0xa4(%rbp)
  jmp    L94
L5:
  mov    -0xa4(%rbp),%eax
  cltq
  mov    -0x60(%rbp,%rax,4),%eax
  test   %eax,%eax
  jne    L149
  addl   $0x1,-0x9c(%rbp)
  mov    -0x9c(%rbp),%eax
  cltq
  mov    -0xa4(%rbp),%edx
  mov    %edx,-0x90(%rbp,%rax,4)
L149:
  addl   $0x1,-0xa4(%rbp)
L94:
  mov    -0xa4(%rbp),%eax
  cmp    -0xbc(%rbp),%eax
  jle    L5
  jmp    L88
L42:
  mov    -0x9c(%rbp),%eax
  lea    -0x1(%rax),%edx
  mov    %edx,-0x9c(%rbp)
  cltq
  mov    -0x90(%rbp,%rax,4),%eax
  mov    %eax,-0x94(%rbp)
  mov    -0x98(%rbp),%eax
  lea    0x1(%rax),%edx
  mov    %edx,-0x98(%rbp)
  cltq
  mov    -0x94(%rbp),%edx
  mov    %edx,-0x30(%rbp,%rax,4)
  movl   $0x1,-0xa8(%rbp)
  jmp    L81
L36:
  mov    -0xa8(%rbp),%eax
  cltq
  mov    -0x60(%rbp,%rax,4),%eax
  lea    -0x1(%rax),%edx
  mov    -0xa8(%rbp),%eax
  cltq
  mov    %edx,-0x60(%rbp,%rax,4)
  mov    -0xa8(%rbp),%eax
  cltq
  mov    -0x60(%rbp,%rax,4),%eax
  test   %eax,%eax
  jne    L60
  addl   $0x1,-0x9c(%rbp)
  mov    -0x9c(%rbp),%eax
  cltq
  mov    -0xa8(%rbp),%edx
  mov    %edx,-0x90(%rbp,%rax,4)
L60:
  addl   $0x1,-0xa8(%rbp)
L81:
  mov    -0xa8(%rbp),%eax
  cmp    -0xbc(%rbp),%eax
  jle    L36
L88:
  cmpl   $0xffffffff,-0x9c(%rbp)
  jne    L42
  lea    D5(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    -0xbc(%rbp),%eax
  mov    %eax,-0xa4(%rbp)
  jmp    L115
L93:
  mov    -0xa4(%rbp),%eax
  cltq
  mov    -0x30(%rbp,%rax,4),%eax
  mov    %eax,%esi
  lea    D0(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  subl   $0x1,-0xa4(%rbp)
L115:
  cmpl   $0x0,-0xa4(%rbp)
  jg     L93
  nop
  mov    -0x8(%rbp),%rax
  sub    %fs:0x28,%rax
  je     L18
  call   <__stack_chk_fail@plt>
L18:
  leave
  ret
```

tool_calls: name: disassemble_data
arguments: data_tag: D5
data_type: string
name: disassemble_data
arguments: data_tag: D0
data_type: string

tool: D5: 
Order:

tool: D0: %d	

assistant: ```c
void source(int a[20][20], int n) {
  int sum, s[10], indegree[10], u, v, i, j, t[10];
  int top = -1, k = 1;
  for (j = 1; j <= n; j++) {
    sum = 0;
    for (i = 1; i <= n; i++) {
      sum = a[j][i] + sum;
    }
    indegree[j] = sum;
  }
  for (i = 1; i <= n; i++) {
    if (indegree[i] == 0)
      s[++top] = i;
  }
  while (top != -1) {
    u = s[top--];
    t[k++] = u;
    for (v = 1; v <= n; v++) {
      indegree[v] -= 1;
      if (indegree[v] == 0)
        s[++top] = v;
    }
  }
  printf("\nOrder:");
  for (i = n; i > 0; i--) {
    printf("%d\t", t[i]);
  }
}
```