user: 请将以下的汇编代码转换成C语言代码：

```asm
<sc_reduce32>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x28,%rsp
  mov    %rdi,%rbx
  call   <load_3@plt>
  and    $0x1fffff,%eax
  mov    %eax,%r14d
  lea    0x2(%rbx),%rdi
  call   <load_4@plt>
  sar    $0x5,%eax
  and    $0x1fffff,%eax
  mov    %eax,0x8(%rsp)
  lea    0x5(%rbx),%rdi
  call   <load_3@plt>
  mov    %eax,%r13d
  sar    $0x2,%r13d
  and    $0x1fffff,%r13d
  lea    0x7(%rbx),%rdi
  call   <load_4@plt>
  sar    $0x7,%eax
  and    $0x1fffff,%eax
  mov    %eax,0xc(%rsp)
  lea    0xa(%rbx),%rdi
  call   <load_4@plt>
  mov    %eax,%r12d
  sar    $0x4,%r12d
  and    $0x1fffff,%r12d
  lea    0xd(%rbx),%rdi
  call   <load_3@plt>
  sar    %eax
  mov    %eax,%esi
  and    $0x1fffff,%esi
  mov    %esi,0x10(%rsp)
  lea    0xf(%rbx),%rdi
  call   <load_4@plt>
  mov    %eax,%ebp
  sar    $0x6,%ebp
  and    $0x1fffff,%ebp
  lea    0x12(%rbx),%rdi
  call   <load_3@plt>
  sar    $0x3,%eax
  mov    %eax,%edx
  and    $0x1fffff,%edx
  mov    %edx,0x14(%rsp)
  lea    0x15(%rbx),%rdi
  call   <load_3@plt>
  mov    %eax,%r15d
  and    $0x1fffff,%r15d
  lea    0x17(%rbx),%rdi
  call   <load_4@plt>
  sar    $0x5,%eax
  mov    %eax,%ecx
  and    $0x1fffff,%ecx
  mov    %ecx,0x18(%rsp)
  lea    0x1a(%rbx),%rdi
  call   <load_3@plt>
  sar    $0x2,%eax
  and    $0x1fffff,%eax
  mov    %eax,0x1c(%rsp)
  lea    0x1c(%rbx),%rdi
  call   <load_4@plt>
  mov    %eax,%r9d
  sar    $0x7,%r9d
  lea    0x100000(%r14),%eax
  mov    %eax,%r8d
  sar    $0x15,%r8d
  add    0x8(%rsp),%r8d
  and    $0xffe00000,%eax
  sub    %eax,%r14d
  lea    0x100000(%r13),%eax
  mov    %eax,%edx
  sar    $0x15,%edx
  add    0xc(%rsp),%edx
  and    $0xffe00000,%eax
  sub    %eax,%r13d
  lea    0x100000(%r12),%eax
  mov    %eax,%edi
  sar    $0x15,%edi
  add    0x10(%rsp),%edi
  and    $0xffe00000,%eax
  sub    %eax,%r12d
  lea    0x100000(%rbp),%eax
  mov    %eax,%esi
  sar    $0x15,%esi
  mov    %esi,%ecx
  add    0x14(%rsp),%ecx
  and    $0xffe00000,%eax
  sub    %eax,%ebp
  lea    0x100000(%r15),%esi
  mov    %esi,%eax
  sar    $0x15,%eax
  add    0x18(%rsp),%eax
  and    $0xffe00000,%esi
  sub    %esi,%r15d
  mov    0x1c(%rsp),%r11d
  lea    0x100000(%r11),%r10d
  mov    %r10d,%esi
  sar    $0x15,%esi
  add    %r9d,%esi
  and    $0xffe00000,%r10d
  sub    %r10d,%r11d
  mov    %r11d,%r9d
  lea    0x100000(%r8),%r11d
  mov    %r11d,%r10d
  sar    $0x15,%r10d
  add    %r13d,%r10d
  and    $0xffe00000,%r11d
  sub    %r11d,%r8d
  lea    0x100000(%rdx),%r13d
  mov    %r13d,%r11d
  sar    $0x15,%r11d
  add    %r12d,%r11d
  and    $0xffe00000,%r13d
  sub    %r13d,%edx
  lea    0x100000(%rdi),%r12d
  mov    %r12d,%r13d
  sar    $0x15,%r13d
  add    %r13d,%ebp
  and    $0xffe00000,%r12d
  sub    %r12d,%edi
  lea    0x100000(%rcx),%r13d
  mov    %r13d,%r12d
  sar    $0x15,%r12d
  add    %r15d,%r12d
  mov    %r13d,%r15d
  and    $0xffe00000,%r15d
  sub    %r15d,%ecx
  mov    %ecx,%r13d
  lea    0x100000(%rax),%ecx
  mov    %ecx,%r15d
  sar    $0x15,%r15d
  add    %r9d,%r15d
  and    $0xffe00000,%ecx
  sub    %ecx,%eax
  lea    0x100000(%rsi),%r9d
  mov    %r9d,%ecx
  sar    $0x15,%ecx
  and    $0xffe00000,%r9d
  sub    %r9d,%esi
  imul   $0xa2c13,%ecx,%r9d
  add    %r14d,%r9d
  imul   $0x72d18,%ecx,%r14d
  add    %r14d,%r8d
  imul   $0x9fb67,%ecx,%r14d
  add    %r14d,%r10d
  imul   $0xfff0c653,%ecx,%r14d
  add    %r14d,%edx
  imul   $0x215d1,%ecx,%r14d
  add    %r14d,%r11d
  imul   $0xfff59083,%ecx,%ecx
  add    %edi,%ecx
  mov    %r9d,%edi
  sar    $0x15,%edi
  add    %r8d,%edi
  and    $0x1fffff,%r9d
  mov    %edi,%r8d
  sar    $0x15,%r8d
  add    %r10d,%r8d
  and    $0x1fffff,%edi
  mov    %edi,%r10d
  mov    %r8d,%edi
  sar    $0x15,%edi
  add    %edx,%edi
  mov    %r8d,%edx
  and    $0x1fffff,%edx
  mov    %edi,%r8d
  sar    $0x15,%r8d
  add    %r11d,%r8d
  and    $0x1fffff,%edi
  mov    %edi,%r11d
  mov    %r8d,%edi
  sar    $0x15,%edi
  add    %ecx,%edi
  mov    %r8d,%ecx
  and    $0x1fffff,%ecx
  mov    %edi,%r8d
  sar    $0x15,%r8d
  add    %ebp,%r8d
  and    $0x1fffff,%edi
  mov    %edi,%ebp
  mov    %r8d,%edi
  sar    $0x15,%edi
  add    %edi,%r13d
  and    $0x1fffff,%r8d
  mov    %r13d,%edi
  sar    $0x15,%edi
  add    %r12d,%edi
  mov    %r13d,%r12d
  and    $0x1fffff,%r12d
  mov    %edi,%r13d
  sar    $0x15,%r13d
  add    %eax,%r13d
  and    $0x1fffff,%edi
  mov    %r13d,%r14d
  sar    $0x15,%r14d
  add    %r15d,%r14d
  and    $0x1fffff,%r13d
  mov    %r14d,%eax
  sar    $0x15,%eax
  add    %eax,%esi
  and    $0x1fffff,%r14d
  mov    %esi,%r15d
  sar    $0x15,%r15d
  and    $0x1fffff,%esi
  imul   $0xa2c13,%r15d,%eax
  add    %r9d,%eax
  imul   $0x72d18,%r15d,%r9d
  add    %r9d,%r10d
  imul   $0x9fb67,%r15d,%r9d
  add    %edx,%r9d
  imul   $0xfff0c653,%r15d,%edx
  add    %r11d,%edx
  imul   $0x215d1,%r15d,%r11d
  add    %ecx,%r11d
  imul   $0xfff59083,%r15d,%r15d
  add    %ebp,%r15d
  mov    %eax,%ecx
  sar    $0x15,%ecx
  add    %r10d,%ecx
  and    $0x1fffff,%eax
  mov    %eax,%r10d
  mov    %ecx,%ebp
  sar    $0x15,%ebp
  add    %r9d,%ebp
  and    $0x1fffff,%ecx
  mov    %ecx,%r9d
  mov    %ebp,%eax
  sar    $0x15,%eax
  add    %edx,%eax
  and    $0x1fffff,%ebp
  mov    %eax,%ecx
  sar    $0x15,%ecx
  add    %r11d,%ecx
  and    $0x1fffff,%eax
  mov    %eax,%r11d
  mov    %ecx,%eax
  sar    $0x15,%eax
  add    %r15d,%eax
  and    $0x1fffff,%ecx
  mov    %eax,%edx
  sar    $0x15,%edx
  add    %r8d,%edx
  and    $0x1fffff,%eax
  mov    %eax,%r8d
  mov    %edx,%eax
  sar    $0x15,%eax
  add    %eax,%r12d
  and    $0x1fffff,%edx
  mov    %r12d,%eax
  sar    $0x15,%eax
  add    %eax,%edi
  and    $0x1fffff,%r12d
  mov    %edi,%eax
  sar    $0x15,%eax
  add    %r13d,%eax
  and    $0x1fffff,%edi
  mov    %eax,%r13d
  sar    $0x15,%r13d
  add    %r13d,%r14d
  and    $0x1fffff,%eax
  mov    %eax,%r15d
  mov    %r14d,%r13d
  sar    $0x15,%r13d
  add    %esi,%r13d
  mov    %r14d,%esi
  and    $0x1fffff,%esi
  mov    %r10b,(%rbx)
  mov    %r10d,%eax
  movzbl %ah,%eax
  mov    %al,0x1(%rbx)
  sar    $0x10,%r10d
  mov    %r9d,%r14d
  shl    $0x5,%r14d
  or     %r14d,%r10d
  mov    %r10b,0x2(%rbx)
  mov    %r9d,%r10d
  sar    $0x3,%r10d
  mov    %r10b,0x3(%rbx)
  mov    %r9d,%r10d
  sar    $0xb,%r10d
  mov    %r10b,0x4(%rbx)
  sar    $0x13,%r9d
  lea    0x0(,%rbp,4),%r10d
  or     %r10d,%r9d
  mov    %r9b,0x5(%rbx)
  mov    %ebp,%r9d
  sar    $0x6,%r9d
  mov    %r9b,0x6(%rbx)
  sar    $0xe,%ebp
  mov    %r11d,%r9d
  shl    $0x7,%r9d
  or     %r9d,%ebp
  mov    %bpl,0x7(%rbx)
  mov    %r11d,%r9d
  sar    %r9d
  mov    %r9b,0x8(%rbx)
  mov    %r11d,%r9d
  sar    $0x9,%r9d
  mov    %r9b,0x9(%rbx)
  sar    $0x11,%r11d
  mov    %ecx,%r9d
  shl    $0x4,%r9d
  or     %r9d,%r11d
  mov    %r11b,0xa(%rbx)
  mov    %ecx,%r9d
  sar    $0x4,%r9d
  mov    %r9b,0xb(%rbx)
  mov    %ecx,%r9d
  sar    $0xc,%r9d
  mov    %r9b,0xc(%rbx)
  sar    $0x14,%ecx
  lea    (%r8,%r8,1),%r9d
  or     %r9d,%ecx
  mov    %cl,0xd(%rbx)
  mov    %r8d,%ecx
  sar    $0x7,%ecx
  mov    %cl,0xe(%rbx)
  sar    $0xf,%r8d
  mov    %edx,%ecx
  shl    $0x6,%ecx
  or     %ecx,%r8d
  mov    %r8b,0xf(%rbx)
  mov    %edx,%ecx
  sar    $0x2,%ecx
  mov    %cl,0x10(%rbx)
  mov    %edx,%ecx
  sar    $0xa,%ecx
  mov    %cl,0x11(%rbx)
  sar    $0x12,%edx
  lea    0x0(,%r12,8),%ecx
  or     %ecx,%edx
  mov    %dl,0x12(%rbx)
  mov    %r12d,%edx
  sar    $0x5,%edx
  mov    %dl,0x13(%rbx)
  sar    $0xd,%r12d
  mov    %r12b,0x14(%rbx)
  mov    %dil,0x15(%rbx)
  mov    %edi,%eax
  movzbl %ah,%eax
  mov    %al,0x16(%rbx)
  sar    $0x10,%edi
  mov    %r15d,%eax
  shl    $0x5,%eax
  or     %eax,%edi
  mov    %dil,0x17(%rbx)
  mov    %r15d,%eax
  sar    $0x3,%eax
  mov    %al,0x18(%rbx)
  mov    %r15d,%eax
  sar    $0xb,%eax
  mov    %al,0x19(%rbx)
  mov    %r15d,%eax
  sar    $0x13,%eax
  lea    0x0(,%rsi,4),%edx
  or     %edx,%eax
  mov    %al,0x1a(%rbx)
  mov    %esi,%eax
  sar    $0x6,%eax
  mov    %al,0x1b(%rbx)
  sar    $0xe,%esi
  mov    %r13d,%eax
  shl    $0x7,%eax
  or     %eax,%esi
  mov    %sil,0x1c(%rbx)
  mov    %r13d,%eax
  sar    %eax
  mov    %al,0x1d(%rbx)
  mov    %r13d,%eax
  sar    $0x9,%eax
  mov    %al,0x1e(%rbx)
  sar    $0x11,%r13d
  mov    %r13b,0x1f(%rbx)
  add    $0x28,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
```

assistant: ```c
void sc_reduce32(unsigned char *s) {
  int64_t s0 = 2097151 & load_3(s);
  int64_t s1 = 2097151 & (load_4(s + 2) >> 5);
  int64_t s2 = 2097151 & (load_3(s + 5) >> 2);
  int64_t s3 = 2097151 & (load_4(s + 7) >> 7);
  int64_t s4 = 2097151 & (load_4(s + 10) >> 4);
  int64_t s5 = 2097151 & (load_3(s + 13) >> 1);
  int64_t s6 = 2097151 & (load_4(s + 15) >> 6);
  int64_t s7 = 2097151 & (load_3(s + 18) >> 3);
  int64_t s8 = 2097151 & load_3(s + 21);
  int64_t s9 = 2097151 & (load_4(s + 23) >> 5);
  int64_t s10 = 2097151 & (load_3(s + 26) >> 2);
  int64_t s11 = (load_4(s + 28) >> 7);
  int64_t s12 = 0;
  int64_t carry0;
  int64_t carry1;
  int64_t carry2;
  int64_t carry3;
  int64_t carry4;
  int64_t carry5;
  int64_t carry6;
  int64_t carry7;
  int64_t carry8;
  int64_t carry9;
  int64_t carry10;
  int64_t carry11;
  carry0 = (s0 + (1 << 20)) >> 21;
  s1 += carry0;
  s0 -= carry0 << 21;
  carry2 = (s2 + (1 << 20)) >> 21;
  s3 += carry2;
  s2 -= carry2 << 21;
  carry4 = (s4 + (1 << 20)) >> 21;
  s5 += carry4;
  s4 -= carry4 << 21;
  carry6 = (s6 + (1 << 20)) >> 21;
  s7 += carry6;
  s6 -= carry6 << 21;
  carry8 = (s8 + (1 << 20)) >> 21;
  s9 += carry8;
  s8 -= carry8 << 21;
  carry10 = (s10 + (1 << 20)) >> 21;
  s11 += carry10;
  s10 -= carry10 << 21;
  carry1 = (s1 + (1 << 20)) >> 21;
  s2 += carry1;
  s1 -= carry1 << 21;
  carry3 = (s3 + (1 << 20)) >> 21;
  s4 += carry3;
  s3 -= carry3 << 21;
  carry5 = (s5 + (1 << 20)) >> 21;
  s6 += carry5;
  s5 -= carry5 << 21;
  carry7 = (s7 + (1 << 20)) >> 21;
  s8 += carry7;
  s7 -= carry7 << 21;
  carry9 = (s9 + (1 << 20)) >> 21;
  s10 += carry9;
  s9 -= carry9 << 21;
  carry11 = (s11 + (1 << 20)) >> 21;
  s12 += carry11;
  s11 -= carry11 << 21;
  s0 += s12 * 666643;
  s1 += s12 * 470296;
  s2 += s12 * 654183;
  s3 -= s12 * 997805;
  s4 += s12 * 136657;
  s5 -= s12 * 683901;
  s12 = 0;
  carry0 = s0 >> 21;
  s1 += carry0;
  s0 -= carry0 << 21;
  carry1 = s1 >> 21;
  s2 += carry1;
  s1 -= carry1 << 21;
  carry2 = s2 >> 21;
  s3 += carry2;
  s2 -= carry2 << 21;
  carry3 = s3 >> 21;
  s4 += carry3;
  s3 -= carry3 << 21;
  carry4 = s4 >> 21;
  s5 += carry4;
  s4 -= carry4 << 21;
  carry5 = s5 >> 21;
  s6 += carry5;
  s5 -= carry5 << 21;
  carry6 = s6 >> 21;
  s7 += carry6;
  s6 -= carry6 << 21;
  carry7 = s7 >> 21;
  s8 += carry7;
  s7 -= carry7 << 21;
  carry8 = s8 >> 21;
  s9 += carry8;
  s8 -= carry8 << 21;
  carry9 = s9 >> 21;
  s10 += carry9;
  s9 -= carry9 << 21;
  carry10 = s10 >> 21;
  s11 += carry10;
  s10 -= carry10 << 21;
  carry11 = s11 >> 21;
  s12 += carry11;
  s11 -= carry11 << 21;
  s0 += s12 * 666643;
  s1 += s12 * 470296;
  s2 += s12 * 654183;
  s3 -= s12 * 997805;
  s4 += s12 * 136657;
  s5 -= s12 * 683901;
  carry0 = s0 >> 21;
  s1 += carry0;
  s0 -= carry0 << 21;
  carry1 = s1 >> 21;
  s2 += carry1;
  s1 -= carry1 << 21;
  carry2 = s2 >> 21;
  s3 += carry2;
  s2 -= carry2 << 21;
  carry3 = s3 >> 21;
  s4 += carry3;
  s3 -= carry3 << 21;
  carry4 = s4 >> 21;
  s5 += carry4;
  s4 -= carry4 << 21;
  carry5 = s5 >> 21;
  s6 += carry5;
  s5 -= carry5 << 21;
  carry6 = s6 >> 21;
  s7 += carry6;
  s6 -= carry6 << 21;
  carry7 = s7 >> 21;
  s8 += carry7;
  s7 -= carry7 << 21;
  carry8 = s8 >> 21;
  s9 += carry8;
  s8 -= carry8 << 21;
  carry9 = s9 >> 21;
  s10 += carry9;
  s9 -= carry9 << 21;
  carry10 = s10 >> 21;
  s11 += carry10;
  s10 -= carry10 << 21;
  s[0] = (unsigned char)(s0 >> 0);
  s[1] = (unsigned char)(s0 >> 8);
  s[2] = (unsigned char)((s0 >> 16) | (s1 << 5));
  s[3] = (unsigned char)(s1 >> 3);
  s[4] = (unsigned char)(s1 >> 11);
  s[5] = (unsigned char)((s1 >> 19) | (s2 << 2));
  s[6] = (unsigned char)(s2 >> 6);
  s[7] = (unsigned char)((s2 >> 14) | (s3 << 7));
  s[8] = (unsigned char)(s3 >> 1);
  s[9] = (unsigned char)(s3 >> 9);
  s[10] = (unsigned char)((s3 >> 17) | (s4 << 4));
  s[11] = (unsigned char)(s4 >> 4);
  s[12] = (unsigned char)(s4 >> 12);
  s[13] = (unsigned char)((s4 >> 20) | (s5 << 1));
  s[14] = (unsigned char)(s5 >> 7);
  s[15] = (unsigned char)((s5 >> 15) | (s6 << 6));
  s[16] = (unsigned char)(s6 >> 2);
  s[17] = (unsigned char)(s6 >> 10);
  s[18] = (unsigned char)((s6 >> 18) | (s7 << 3));
  s[19] = (unsigned char)(s7 >> 5);
  s[20] = (unsigned char)(s7 >> 13);
  s[21] = (unsigned char)(s8 >> 0);
  s[22] = (unsigned char)(s8 >> 8);
  s[23] = (unsigned char)((s8 >> 16) | (s9 << 5));
  s[24] = (unsigned char)(s9 >> 3);
  s[25] = (unsigned char)(s9 >> 11);
  s[26] = (unsigned char)((s9 >> 19) | (s10 << 2));
  s[27] = (unsigned char)(s10 >> 6);
  s[28] = (unsigned char)((s10 >> 14) | (s11 << 7));
  s[29] = (unsigned char)(s11 >> 1);
  s[30] = (unsigned char)(s11 >> 9);
  s[31] = (unsigned char)(s11 >> 17);
}
```