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

```asm
<quaddobl_scaler>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbx
  sub    $0x18,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,-0x38(%rbp)
  xor    %eax,%eax
  call   <syscon_read_quaddobl_system@plt>
  mov    %eax,%r12d
  test   %eax,%eax
  je     L82
L22:
  mov    -0x38(%rbp),%rax
  sub    %fs:0x28,%rax
  jne    L40
  lea    -0x28(%rbp),%rsp
  mov    %r12d,%eax
  pop    %rbx
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  pop    %rbp
  ret
  nopl   (%rax)
L82:
  lea    D18(%rip),%r13
  mov    %r13,%rdi
  call   <puts@plt>
  xor    %eax,%eax
  call   <syscon_write_quaddobl_system@plt>
  lea    -0x3c(%rbp),%rdi
  call   <syscon_number_of_quaddobl_polynomials@plt>
  mov    %eax,%r12d
  test   %eax,%eax
  jne    L22
  mov    -0x3c(%rbp),%eax
  mov    %rsp,%rdx
  mov    %rsp,%r14
  shl    $0x4,%eax
  add    $0x8,%eax
  cltq
  shl    $0x3,%rax
  mov    %rax,%rcx
  and    $0xfffffffffffff000,%rcx
  sub    %rcx,%rdx
  cmp    %rdx,%rsp
  je     L43
L88:
  sub    $0x1000,%rsp
  orq    $0x0,0xff8(%rsp)
  cmp    %rdx,%rsp
  jne    L88
L43:
  and    $0xfff,%eax
  sub    %rax,%rsp
  test   %rax,%rax
  je     L32
  orq    $0x0,-0x8(%rsp,%rax,1)
L32:
  mov    %rsp,%rbx
  mov    $0x2,%edi
  mov    %rbx,%rsi
  call   <quaddobl_scale_system@plt>
  mov    -0x3c(%rbp),%eax
  lea    D0(%rip),%rdi
  shl    $0x4,%eax
  cltq
  movsd  (%rbx,%rax,8),%xmm0
  mov    $0x1,%eax
  call   <printf@plt>
  lea    D33(%rip),%rdi
  call   <puts@plt>
  mov    -0x3c(%rbp),%eax
  test   %eax,%eax
  jle    L79
  lea    D11(%rip),%r15
  nopl   (%rax)
L54:
  movsd  0x38(%rbx),%xmm7
  movsd  0x30(%rbx),%xmm6
  mov    %r12d,%esi
  mov    %r15,%rdi
  movsd  0x28(%rbx),%xmm5
  movsd  0x20(%rbx),%xmm4
  sar    $0x3,%esi
  mov    $0x8,%eax
  movsd  0x18(%rbx),%xmm3
  movsd  (%rbx),%xmm0
  add    $0x4,%r12d
  add    $0x20,%rbx
  movsd  -0x10(%rbx),%xmm2
  movsd  -0x18(%rbx),%xmm1
  call   <printf@plt>
  mov    -0x3c(%rbp),%eax
  shl    $0x4,%eax
  cmp    %eax,%r12d
  jl     L54
L79:
  mov    %r13,%rdi
  call   <puts@plt>
  xor    %eax,%eax
  call   <syscon_write_quaddobl_system@plt>
  mov    %r14,%rsp
  mov    %eax,%r12d
  jmp    L22
L40:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: extract_symbolic_data
arguments: tag: D18
type: string
name: extract_symbolic_data
arguments: tag: D0
type: string
name: extract_symbolic_data
arguments: tag: D33
type: string
name: extract_symbolic_data
arguments: tag: D11
type: string

tool: D18: 
The system in the container : 

tool: D0: The estimated inverse condition number : %.3e


tool: D33: The scaling coefficients : 

tool: D11: %2d : %.15e %.15e %.15e %.15e  %.15e %.15e %.15e %.15e


assistant: ```c
int quaddobl_scaler(void) {
  int fail, dim, i;
  fail = syscon_read_quaddobl_system();
  if (fail == 0) {
    printf("\nThe system in the container : \n");
    fail = syscon_write_quaddobl_system();
    fail = syscon_number_of_quaddobl_polynomials(&dim);
    if (fail == 0) {
      double c[16 * dim + 8];
      fail = quaddobl_scale_system(2, c);
      printf("The estimated inverse condition number : %.3e\n", c[16 * dim]);
      printf("The scaling coefficients : \n");
      for (i = 0; i < 16 * dim; i = i + 4)
        printf("%2d : %.15e %.15e %.15e %.15e  %.15e %.15e %.15e %.15e\n", i / 8, c[i], c[i + 1], c[i + 2], c[i + 3], c[i + 4], c[i + 5], c[i + 6], c[i + 7]);
      printf("\nThe system in the container : \n");
      fail = syscon_write_quaddobl_system();
    }
  }
  return fail;
}
```