user: What is the c source code of the assembly code below:

```asm
<decode_sch>:
  endbr64
  push   %r15
  push   %r14
  mov    %rcx,%r14
  push   %r13
  push   %r12
  mov    %rdx,%r12
  mov    $0x27,%edx
  push   %rbp
  mov    %rsi,%rbp
  mov    %rdi,%rsi
  push   %rbx
  mov    %rdi,%rbx
  sub    $0xa8,%rsp
  mov    %r8,(%rsp)
  lea    0x40(%rsp),%r13
  lea    0x10(%rsp),%r15
  mov    %r9,0x8(%rsp)
  mov    %r13,%rdi
  mov    %fs:0x28,%rax
  mov    %rax,0x98(%rsp)
  xor    %eax,%eax
  call   <memcpy@plt>
  lea    0x67(%rbx),%rsi
  lea    0x67(%rsp),%rdi
  mov    $0x27,%edx
  call   <memcpy@plt>
  mov    %r15,%rsi
  mov    %r13,%rdi
  call   <conv_decode@plt>
  mov    %eax,%ebx
  test   %eax,%eax
  je     L30
L66:
  mov    0x98(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L86
  add    $0xa8,%rsp
  mov    %ebx,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  cs nopw 0x0(%rax,%rax,1)
L30:
  mov    %r15,%rdi
  call   <parity_check@plt>
  test   %rax,%rax
  jne    L9
  test   %rbp,%rbp
  je     L66
  test   %r12,%r12
  je     L66
  mov    (%rsp),%rcx
  test   %r14,%r14
  setne  %dl
  test   %rcx,%rcx
  setne  %al
  test   %al,%dl
  je     L66
  mov    0x8(%rsp),%rsi
  test   %rsi,%rsi
  je     L66
  movzbl 0x11(%rsp),%eax
  movzbl 0x10(%rsp),%edx
  shl    $0xa,%eax
  shl    $0x9,%edx
  or     %edx,%eax
  movzbl 0x27(%rsp),%edx
  or     %edx,%eax
  movzbl 0x1f(%rsp),%edx
  shl    $0x8,%edx
  or     %edx,%eax
  movzbl 0x1e(%rsp),%edx
  shl    $0x7,%edx
  or     %edx,%eax
  movzbl 0x1d(%rsp),%edx
  shl    $0x6,%edx
  or     %edx,%eax
  movzbl 0x1c(%rsp),%edx
  shl    $0x5,%edx
  or     %edx,%eax
  movzbl 0x1b(%rsp),%edx
  shl    $0x4,%edx
  or     %edx,%eax
  movzbl 0x1a(%rsp),%edx
  shl    $0x3,%edx
  or     %edx,%eax
  movzbl 0x19(%rsp),%edx
  shl    $0x2,%edx
  or     %edx,%eax
  movzbl 0x18(%rsp),%edx
  add    %edx,%edx
  or     %edx,%eax
  movzbl 0x25(%rsp),%edx
  mov    %eax,0x0(%rbp)
  movzbl 0x26(%rsp),%eax
  shl    $0x3,%edx
  shl    $0x4,%eax
  or     %edx,%eax
  movzbl 0x22(%rsp),%edx
  or     %edx,%eax
  movzbl 0x24(%rsp),%edx
  shl    $0x2,%edx
  or     %edx,%eax
  movzbl 0x23(%rsp),%edx
  add    %edx,%edx
  or     %edx,%eax
  movzbl 0x20(%rsp),%edx
  mov    %eax,(%r12)
  movzbl 0x21(%rsp),%eax
  add    %edx,%edx
  shl    $0x2,%eax
  or     %edx,%eax
  movzbl 0x28(%rsp),%edx
  or     %edx,%eax
  movzbl 0x13(%rsp),%edx
  lea    (%rax,%rax,4),%eax
  lea    0x1(%rax,%rax,1),%eax
  mov    %eax,(%r14)
  movzbl 0x14(%rsp),%eax
  shl    $0x2,%eax
  add    %edx,%edx
  or     %edx,%eax
  movzbl 0x12(%rsp),%edx
  or     %edx,%eax
  movzbl 0x16(%rsp),%edx
  mov    %eax,(%rsi)
  movzbl 0x17(%rsp),%eax
  add    %edx,%edx
  shl    $0x2,%eax
  or     %edx,%eax
  movzbl 0x15(%rsp),%edx
  or     %edx,%eax
  mov    %eax,(%rcx)
  jmp    L66
  nop
L9:
  mov    $0x1,%ebx
  jmp    L66
L86:
  call   <__stack_chk_fail@plt>
```

assistant: ```c
int decode_sch(const unsigned char *buf, int *t1_o, int *t2_o, int *t3_o, int *ncc_o, int *bcc_o) {
  int errors, t1, t2, t3p, t3, ncc, bcc;
  unsigned char data[(2 * (25 + 10 + 4))], decoded_data[(25 + 10 + 4)];
  memcpy(data, buf, 39);
  memcpy(data + 39, buf + 39 + 64, 39);
  errors = conv_decode(data, decoded_data);
  if (errors) {
    return errors;
  }
  if (parity_check(decoded_data)) {
    return 1;
  }
  ncc = (decoded_data[7] << 2) | (decoded_data[6] << 1) | (decoded_data[5] << 0);
  bcc = (decoded_data[4] << 2) | (decoded_data[3] << 1) | (decoded_data[2] << 0);
  t1 = (decoded_data[1] << 10) | (decoded_data[0] << 9) | (decoded_data[15] << 8) | (decoded_data[14] << 7) | (decoded_data[13] << 6) | (decoded_data[12] << 5) | (decoded_data[11] << 4) | (decoded_data[10] << 3) | (decoded_data[9] << 2) | (decoded_data[8] << 1) | (decoded_data[23] << 0);
  t2 = (decoded_data[22] << 4) | (decoded_data[21] << 3) | (decoded_data[20] << 2) | (decoded_data[19] << 1) | (decoded_data[18] << 0);
  t3p = (decoded_data[17] << 2) | (decoded_data[16] << 1) | (decoded_data[24] << 0);
  t3 = 10 * t3p + 1;
  if (t1_o && t2_o && t3_o && ncc_o && bcc_o) {
    *t1_o = t1;
    *t2_o = t2;
    *t3_o = t3;
    *bcc_o = bcc;
    *ncc_o = ncc;
  }
  return 0;
}
```