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

```asm
<fp_test>:
  endbr64
  push   %r15
  lea    D124(%rip),%rdi
  lea    D133(%rip),%r15
  push   %r14
  lea    D143(%rip),%r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x48,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x38(%rsp)
  xor    %eax,%eax
  lea    0x19(%rsp),%r13
  lea    0x20(%rsp),%r12
  call   <puts@plt>
  lea    D128(%rip),%rdi
  call   <puts@plt>
  mov    %r13,%rdi
  mov    %r14,%rsi
  call   <strcpy@plt>
  movl   $0x0,0xc(%rsp)
  mov    %r12,%rax
  mov    %r13,%r12
  mov    %rax,%r13
L82:
  movl   $0x0,0x8(%rsp)
  xor    %ebp,%ebp
L51:
  xor    %ebx,%ebx
L55:
  mov    %r14,%rsi
  mov    %r12,%rdi
  call   <strcpy@plt>
  mov    0xc(%rsp),%edx
  test   %edx,%edx
  je     L126
L16:
  mov    0x8(%rsp),%eax
  test   %eax,%eax
  je     L81
L115:
  test   %ebp,%ebp
  je     L159
L160:
  test   %ebx,%ebx
  je     L70
L38:
  mov    %r12,%rsi
  lea    D101(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  mov    %r12,%rsi
  mov    %r13,%rdi
  call   <strcpy@plt>
  lea    D20(%rip),%rsi
  mov    %r13,%rdi
  call   <strcat@plt>
  mov    $0xffffff85,%esi
  mov    %r13,%rdi
  xor    %eax,%eax
  call   <printf@plt>
  mov    %r12,%rsi
  mov    %r13,%rdi
  call   <strcpy@plt>
  lea    D111(%rip),%rsi
  mov    %r13,%rdi
  call   <strcat@plt>
  mov    $0xff,%esi
  mov    %r13,%rdi
  xor    %eax,%eax
  call   <printf@plt>
  mov    %r12,%rsi
  mov    %r13,%rdi
  call   <strcpy@plt>
  lea    D141(%rip),%rsi
  mov    %r13,%rdi
  call   <strcat@plt>
  mov    $0xff,%esi
  mov    %r13,%rdi
  xor    %eax,%eax
  call   <printf@plt>
  mov    %r12,%rsi
  mov    %r13,%rdi
  call   <strcpy@plt>
  lea    D58(%rip),%rsi
  mov    %r13,%rdi
  call   <strcat@plt>
  mov    $0xff,%esi
  mov    %r13,%rdi
  xor    %eax,%eax
  call   <printf@plt>
  mov    %r12,%rsi
  mov    %r13,%rdi
  call   <strcpy@plt>
  mov    %r15,%rsi
  mov    %r13,%rdi
  call   <strcat@plt>
  mov    %r13,%rdi
  xor    %eax,%eax
  mov    $0xffffffff,%esi
  call   <printf@plt>
  mov    $0xa,%edi
  call   <putchar@plt>
  cmp    $0x1,%ebx
  jne    L108
  cmp    $0x1,%ebp
  je     L35
  mov    $0x1,%ebp
  jmp    L51
  nopl   (%rax)
L108:
  mov    $0x1,%ebx
  jmp    L55
  nopw   0x0(%rax,%rax,1)
L35:
  cmpl   $0x1,0x8(%rsp)
  je     L130
  movl   $0x1,0x8(%rsp)
  xor    %ebp,%ebp
  jmp    L51
  xchg   %ax,%ax
L70:
  lea    D134(%rip),%rsi
  mov    %r12,%rdi
  call   <strcat@plt>
  jmp    L38
  nopl   0x0(%rax)
L159:
  lea    D138(%rip),%rsi
  mov    %r12,%rdi
  call   <strcat@plt>
  jmp    L160
  nopl   0x0(%rax)
L81:
  lea    D91(%rip),%rsi
  mov    %r12,%rdi
  call   <strcat@plt>
  jmp    L115
  nopl   0x0(%rax)
L126:
  lea    D7(%rip),%rsi
  mov    %r12,%rdi
  call   <strcat@plt>
  jmp    L16
  nopl   0x0(%rax)
L130:
  cmpl   $0x1,0xc(%rsp)
  je     L27
  movl   $0x1,0xc(%rsp)
  jmp    L82
  nopl   0x0(%rax)
L27:
  xor    %esi,%esi
  lea    D117(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  xor    %esi,%esi
  xor    %eax,%eax
  lea    D118(%rip),%rdi
  call   <printf@plt>
  mov    0x38(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L4
  add    $0x48,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L4:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: unpack_data
arguments: data_tag: D124
type: string
name: unpack_data
arguments: data_tag: D133
type: string
name: unpack_data
arguments: data_tag: D143
type: string
name: unpack_data
arguments: data_tag: D128
type: string
name: unpack_data
arguments: data_tag: D101
type: string
name: unpack_data
arguments: data_tag: D20
type: string
name: unpack_data
arguments: data_tag: D111
type: string
name: unpack_data
arguments: data_tag: D141
type: string
name: unpack_data
arguments: data_tag: D58
type: string
name: unpack_data
arguments: data_tag: D134
type: string
name: unpack_data
arguments: data_tag: D138
type: string
name: unpack_data
arguments: data_tag: D91
type: string
name: unpack_data
arguments: data_tag: D7
type: string
name: unpack_data
arguments: data_tag: D117
type: string
name: unpack_data
arguments: data_tag: D118
type: string

tool: D124: 
Formatted output test

tool: D133: 6u |

tool: D143: %

tool: D128: prefix  6d      6o      6x      6X      6u

tool: D101: %5s |

tool: D20: 6d |

tool: D111: 6o |

tool: D141: 6x |

tool: D58: 6X |

tool: D134: 0

tool: D138: #

tool: D91: +

tool: D7: -

tool: D117: %10s


tool: D118: %-10s


assistant: ```c
void fp_test(void) {
  int i, j, k, l;
  char buf[7];
  char *prefix = buf;
  char tp[20];
  puts("\nFormatted output test");
  printf("prefix  6d      6o      6x      6X      6u\n");
  strcpy(prefix, "%");
  for (i = 0; i < 2; i++) {
    for (j = 0; j < 2; j++) {
      for (k = 0; k < 2; k++) {
        for (l = 0; l < 2; l++) {
          strcpy(prefix, "%");
          if (i == 0)
            strcat(prefix, "-");
          if (j == 0)
            strcat(prefix, "+");
          if (k == 0)
            strcat(prefix, "#");
          if (l == 0)
            strcat(prefix, "0");
          printf("%5s |", prefix);
          strcpy(tp, prefix);
          strcat(tp, "6d |");
          printf(tp, -123);
          strcpy(tp, prefix);
          strcat(tp, "6o |");
          printf(tp, 255);
          strcpy(tp, prefix);
          strcat(tp, "6x |");
          printf(tp, 255);
          strcpy(tp, prefix);
          strcat(tp, "6X |");
          printf(tp, 255);
          strcpy(tp, prefix);
          strcat(tp, "6u |");
          printf(tp, (~0));
          printf("\n");
        }
      }
    }
  }
  printf("%10s\n", (char *)NULL);
  printf("%-10s\n", (char *)NULL);
}
```