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

```asm
<trivial_zero_9j>:
  endbr64
  push   %r12
  mov    %edx,%r10d
  mov    %ecx,%edx
  push   %rbp
  push   %rbx
  mov    0x28(%rsp),%r11d
  mov    0x30(%rsp),%ebx
  mov    0x20(%rsp),%ecx
  mov    %r11d,%eax
  mov    %r11d,%r12d
  or     %ebx,%eax
  lea    (%r11,%rbx,1),%ebp
  sub    %ebx,%r12d
  or     %ecx,%eax
  sub    %ecx,%ebp
  or     %r9d,%eax
  or     %ebp,%eax
  mov    %ecx,%ebp
  sub    %r12d,%ebp
  mov    %ebx,%r12d
  or     %ebp,%eax
  sub    %r11d,%r12d
  mov    %ecx,%ebp
  sub    %r12d,%ebp
  mov    %r8d,%r12d
  or     %ebp,%eax
  lea    (%r8,%r9,1),%ebp
  sub    %r9d,%r12d
  or     %r8d,%eax
  sub    %edx,%ebp
  or     %edx,%eax
  or     %r10d,%eax
  or     %ebp,%eax
  mov    %edx,%ebp
  sub    %r12d,%ebp
  mov    %r9d,%r12d
  sub    %r8d,%r12d
  or     %ebp,%eax
  mov    %edx,%ebp
  sub    %r12d,%ebp
  mov    %r9d,%r12d
  or     %ebp,%eax
  lea    (%r9,%rbx,1),%ebp
  sub    %ebx,%r12d
  or     %esi,%eax
  sub    %r10d,%ebp
  or     %ebp,%eax
  mov    %r10d,%ebp
  sub    %r12d,%ebp
  mov    %ebx,%r12d
  sub    %r9d,%r12d
  or     %ebp,%eax
  mov    %r10d,%ebp
  sub    %r12d,%ebp
  mov    %r8d,%r12d
  or     %ebp,%eax
  lea    (%r8,%r11,1),%ebp
  or     %edi,%eax
  sub    %esi,%ebp
  sub    %r11d,%r12d
  or     %ebp,%eax
  mov    %esi,%ebp
  sub    %r12d,%ebp
  mov    %r11d,%r12d
  sub    %r8d,%r12d
  or     %ebp,%eax
  mov    %esi,%ebp
  sub    %r12d,%ebp
  mov    %esi,%r12d
  or     %ebp,%eax
  lea    (%rsi,%r10,1),%ebp
  sub    %r10d,%r12d
  sub    %edi,%ebp
  or     %ebp,%eax
  mov    %edi,%ebp
  sub    %r12d,%ebp
  mov    %r10d,%r12d
  sub    %esi,%r12d
  or     %ebp,%eax
  mov    %edi,%ebp
  sub    %r12d,%ebp
  mov    %edx,%r12d
  or     %ebp,%eax
  lea    (%rdx,%rcx,1),%ebp
  sub    %ecx,%r12d
  sub    %edi,%ebp
  or     %ebp,%eax
  mov    %edi,%ebp
  sub    %r12d,%ebp
  mov    %ecx,%r12d
  or     %ebp,%eax
  sub    %edx,%r12d
  mov    %edi,%ebp
  sub    %r12d,%ebp
  lea    (%rcx,%r11,1),%r12d
  or     %ebp,%eax
  lea    (%rdx,%r8,1),%ebp
  add    %ebx,%r12d
  add    %esi,%r8d
  add    %r9d,%ebp
  add    %r10d,%r9d
  and    $0x80000000,%eax
  or     %r12d,%ebp
  add    %ebx,%r9d
  pop    %rbx
  or     %ebp,%r9d
  add    %r11d,%r8d
  add    %edi,%esi
  add    %edx,%edi
  or     %r9d,%r8d
  add    %r10d,%esi
  add    %ecx,%edi
  pop    %rbp
  or     %r8d,%esi
  pop    %r12
  or     %esi,%edi
  and    $0x1,%edi
  or     %edi,%eax
  ret
```

assistant: ```c
int trivial_zero_9j(int two_j1, int two_j2, int two_j3, int two_j4, int two_j5, int two_j6, int two_j7, int two_j8, int two_j9) {
  int collect_sign = 0;
  int collect_odd = 0;
  do {
    collect_sign |= (two_j1) | (two_j2) | (two_j3);
  } while (0);
  do {
    collect_sign |= (two_j4) | (two_j5) | (two_j6);
  } while (0);
  do {
    collect_sign |= (two_j7) | (two_j8) | (two_j9);
  } while (0);
  do {
    collect_odd |= (two_j1) + (two_j2) + (two_j3);
    collect_sign |= (((two_j2) + (two_j3)) - (two_j1));
    collect_sign |= ((two_j1) - ((two_j2) - (two_j3)));
    collect_sign |= ((two_j1) - ((two_j3) - (two_j2)));
  } while (0);
  do {
    collect_odd |= (two_j4) + (two_j5) + (two_j6);
    collect_sign |= (((two_j5) + (two_j6)) - (two_j4));
    collect_sign |= ((two_j4) - ((two_j5) - (two_j6)));
    collect_sign |= ((two_j4) - ((two_j6) - (two_j5)));
  } while (0);
  do {
    collect_odd |= (two_j7) + (two_j8) + (two_j9);
    collect_sign |= (((two_j8) + (two_j9)) - (two_j7));
    collect_sign |= ((two_j7) - ((two_j8) - (two_j9)));
    collect_sign |= ((two_j7) - ((two_j9) - (two_j8)));
  } while (0);
  do {
    collect_odd |= (two_j1) + (two_j4) + (two_j7);
    collect_sign |= (((two_j4) + (two_j7)) - (two_j1));
    collect_sign |= ((two_j1) - ((two_j4) - (two_j7)));
    collect_sign |= ((two_j1) - ((two_j7) - (two_j4)));
  } while (0);
  do {
    collect_odd |= (two_j2) + (two_j5) + (two_j8);
    collect_sign |= (((two_j5) + (two_j8)) - (two_j2));
    collect_sign |= ((two_j2) - ((two_j5) - (two_j8)));
    collect_sign |= ((two_j2) - ((two_j8) - (two_j5)));
  } while (0);
  do {
    collect_odd |= (two_j3) + (two_j6) + (two_j9);
    collect_sign |= (((two_j6) + (two_j9)) - (two_j3));
    collect_sign |= ((two_j3) - ((two_j6) - (two_j9)));
    collect_sign |= ((two_j3) - ((two_j9) - (two_j6)));
  } while (0);
  return ((collect_sign & (1 << (sizeof(int) * 8 - 1))) | (collect_odd & 1));
}
```