user: 请从给定的汇编指令推导出C源代码：

```asm
<dobldobl_scaler>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  push   %r14
  push   %r13
  push   %r12
  push   %rbx
  sub    $0x10,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,-0x28(%rbp)
  xor    %eax,%eax
  call   <syscon_read_dobldobl_system@plt>
  test   %eax,%eax
  je     L82
L87:
  mov    -0x28(%rbp),%rdx
  sub    %fs:0x28,%rdx
  jne    L72
  lea    -0x20(%rbp),%rsp
  pop    %rbx
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %rbp
  ret
L82:
  lea    D29(%rip),%rdi
  call   <puts@plt>
  mov    $0x0,%eax
  call   <syscon_write_dobldobl_system@plt>
  lea    -0x2c(%rbp),%rdi
  call   <syscon_number_of_dobldobl_polynomials@plt>
  test   %eax,%eax
  jne    L87
  mov    %rsp,%r12
  mov    -0x2c(%rbp),%eax
  lea    0x4(,%rax,8),%eax
  cltq
  shl    $0x3,%rax
  mov    %rax,%rcx
  and    $0xfffffffffffff000,%rcx
  mov    %rsp,%rdx
  sub    %rcx,%rdx
L54:
  cmp    %rdx,%rsp
  je     L34
  sub    $0x1000,%rsp
  orq    $0x0,0xff8(%rsp)
  jmp    L54
L34:
  mov    %rax,%rdx
  and    $0xfff,%edx
  sub    %rdx,%rsp
  test   %rdx,%rdx
  je     L22
  orq    $0x0,-0x8(%rsp,%rdx,1)
L22:
  mov    %rsp,%r13
  mov    %r13,%rsi
  mov    $0x2,%edi
  call   <dobldobl_scale_system@plt>
  mov    -0x2c(%rbp),%eax
  shl    $0x3,%eax
  cltq
  movsd  0x0(%r13,%rax,8),%xmm0
  lea    D12(%rip),%rdi
  mov    $0x1,%eax
  call   <printf@plt>
  lea    D39(%rip),%rdi
  call   <puts@plt>
  cmpl   $0x0,-0x2c(%rbp)
  jle    L24
  mov    $0x0,%ebx
  lea    D43(%rip),%r14
L37:
  movsd  0x0(%r13,%rbx,8),%xmm0
  lea    0x3(%rbx),%esi
  test   %ebx,%ebx
  cmovns %ebx,%esi
  sar    $0x2,%esi
  movsd  0x18(%r13,%rbx,8),%xmm3
  movsd  0x10(%r13,%rbx,8),%xmm2
  movsd  0x8(%r13,%rbx,8),%xmm1
  mov    %r14,%rdi
  mov    $0x4,%eax
  call   <printf@plt>
  add    $0x4,%rbx
  mov    -0x2c(%rbp),%eax
  shl    $0x3,%eax
  cmp    %ebx,%eax
  jg     L37
L24:
  lea    D29(%rip),%rdi
  call   <puts@plt>
  mov    $0x0,%eax
  call   <syscon_write_dobldobl_system@plt>
  mov    %r12,%rsp
  jmp    L87
L72:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: disassemble_data
arguments: data_label: D29
type_infered: string
name: disassemble_data
arguments: data_label: D12
type_infered: string
name: disassemble_data
arguments: data_label: D39
type_infered: string
name: disassemble_data
arguments: data_label: D43
type_infered: string

tool: D29: 
The system in the container : 

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


tool: D39: The scaling coefficients : 

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


assistant: ```c
int dobldobl_scaler(void) {
  int fail, dim, i;
  fail = syscon_read_dobldobl_system();
  if (fail == 0) {
    printf("\nThe system in the container : \n");
    fail = syscon_write_dobldobl_system();
    fail = syscon_number_of_dobldobl_polynomials(&dim);
    if (fail == 0) {
      double c[8 * dim + 4];
      fail = dobldobl_scale_system(2, c);
      printf("The estimated inverse condition number : %.3e\n", c[8 * dim]);
      printf("The scaling coefficients : \n");
      for (i = 0; i < 8 * dim; i = i + 4)
        printf("%2d : %.15e %.15e  %.15e %.15e\n", i / 4, c[i], c[i + 1], c[i + 2], c[i + 3]);
      printf("\nThe system in the container : \n");
      fail = syscon_write_dobldobl_system();
    }
  }
  return fail;
}
```