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

```asm
<test_timespec_to_string_should_be_able_to_output_all_time_units>:
  endbr64
  push   %rbp
  push   %rbx
  sub    $0x48,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x38(%rsp)
  xor    %eax,%eax
  movq   $0x0,0x10(%rsp)
  movq   $0x0,0x18(%rsp)
  movq   $0x0,0x20(%rsp)
  movq   $0x0,0x28(%rsp)
  movl   $0x0,0x8(%rsp)
  movl   $0x0,0xc(%rsp)
  lea    0x10(%rsp),%rbx
  lea    0x8(%rsp),%rbp
  mov    $0x20,%edx
  mov    %rbx,%rsi
  mov    %rbp,%rdi
  call   <_timespec_to_string@plt>
  lea    D24(%rip),%rsi
  mov    %rbx,%rdi
  call   <strcmp@plt>
  test   %rax,%rax
  sete   %dil
  movzbl %dil,%edi
  call   <assert@plt>
  movq   $0x0,0x10(%rsp)
  movq   $0x0,0x18(%rsp)
  movq   $0x0,0x20(%rsp)
  movq   $0x0,0x28(%rsp)
  movl   $0x1,0x8(%rsp)
  movl   $0x0,0xc(%rsp)
  mov    $0x20,%edx
  mov    %rbx,%rsi
  mov    %rbp,%rdi
  call   <_timespec_to_string@plt>
  lea    D14(%rip),%rsi
  mov    %rbx,%rdi
  call   <strcmp@plt>
  test   %rax,%rax
  sete   %dil
  movzbl %dil,%edi
  call   <assert@plt>
  movq   $0x0,0x10(%rsp)
  movq   $0x0,0x18(%rsp)
  movq   $0x0,0x20(%rsp)
  movq   $0x0,0x28(%rsp)
  movl   $0x3c,0x8(%rsp)
  movl   $0x0,0xc(%rsp)
  mov    $0x20,%edx
  mov    %rbx,%rsi
  mov    %rbp,%rdi
  call   <_timespec_to_string@plt>
  lea    D12(%rip),%rsi
  mov    %rbx,%rdi
  call   <strcmp@plt>
  test   %rax,%rax
  sete   %dil
  movzbl %dil,%edi
  call   <assert@plt>
  movq   $0x0,0x10(%rsp)
  movq   $0x0,0x18(%rsp)
  movq   $0x0,0x20(%rsp)
  movq   $0x0,0x28(%rsp)
  movl   $0xe10,0x8(%rsp)
  movl   $0x0,0xc(%rsp)
  mov    $0x20,%edx
  mov    %rbx,%rsi
  mov    %rbp,%rdi
  call   <_timespec_to_string@plt>
  lea    D22(%rip),%rsi
  mov    %rbx,%rdi
  call   <strcmp@plt>
  test   %rax,%rax
  sete   %dil
  movzbl %dil,%edi
  call   <assert@plt>
  movq   $0x0,0x10(%rsp)
  movq   $0x0,0x18(%rsp)
  movq   $0x0,0x20(%rsp)
  movq   $0x0,0x28(%rsp)
  movl   $0x15180,0x8(%rsp)
  movl   $0x0,0xc(%rsp)
  mov    $0x20,%edx
  mov    %rbx,%rsi
  mov    %rbp,%rdi
  call   <_timespec_to_string@plt>
  lea    D52(%rip),%rsi
  mov    %rbx,%rdi
  call   <strcmp@plt>
  test   %rax,%rax
  sete   %dil
  movzbl %dil,%edi
  call   <assert@plt>
  movq   $0x0,0x10(%rsp)
  movq   $0x0,0x18(%rsp)
  movq   $0x0,0x20(%rsp)
  movq   $0x0,0x28(%rsp)
  movl   $0x15fcd,0x8(%rsp)
  movl   $0x0,0xc(%rsp)
  mov    $0x20,%edx
  mov    %rbx,%rsi
  mov    %rbp,%rdi
  call   <_timespec_to_string@plt>
  lea    D48(%rip),%rsi
  mov    %rbx,%rdi
  call   <strcmp@plt>
  test   %rax,%rax
  sete   %dil
  movzbl %dil,%edi
  call   <assert@plt>
  mov    0x38(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L4
  add    $0x48,%rsp
  pop    %rbx
  pop    %rbp
  ret
L4:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: disassemble_data
arguments: tag: D24
data_type: string
name: disassemble_data
arguments: tag: D14
data_type: string
name: disassemble_data
arguments: tag: D12
data_type: string
name: disassemble_data
arguments: tag: D22
data_type: string
name: disassemble_data
arguments: tag: D52
data_type: string
name: disassemble_data
arguments: tag: D48
data_type: string

tool: D24: 0s

tool: D14: 1s

tool: D12: 1m

tool: D22: 1h

tool: D52: 1d

tool: D48: 1d1h1m1s

assistant: ```c
void test_timespec_to_string_should_be_able_to_output_all_time_units(void) {
  {
    char out[32] = {0};
    struct timespec time = {.tv_sec = (0), .tv_nsec = 0};
    _timespec_to_string(&time, out, sizeof(out));
    assert(strcmp(out, ("0s")) == 0 && "Output time value did not match expected "
                                       "0s");
  };
  {
    char out[32] = {0};
    struct timespec time = {.tv_sec = (1), .tv_nsec = 0};
    _timespec_to_string(&time, out, sizeof(out));
    assert(strcmp(out, ("1s")) == 0 && "Output time value did not match expected "
                                       "1s");
  };
  {
    char out[32] = {0};
    struct timespec time = {.tv_sec = (60), .tv_nsec = 0};
    _timespec_to_string(&time, out, sizeof(out));
    assert(strcmp(out, ("1m")) == 0 && "Output time value did not match expected "
                                       "1m");
  };
  {
    char out[32] = {0};
    struct timespec time = {.tv_sec = (60 * 60), .tv_nsec = 0};
    _timespec_to_string(&time, out, sizeof(out));
    assert(strcmp(out, ("1h")) == 0 && "Output time value did not match expected "
                                       "1h");
  };
  {
    char out[32] = {0};
    struct timespec time = {.tv_sec = (24 * 60 * 60), .tv_nsec = 0};
    _timespec_to_string(&time, out, sizeof(out));
    assert(strcmp(out, ("1d")) == 0 && "Output time value did not match expected "
                                       "1d");
  };
  {
    char out[32] = {0};
    struct timespec time = {.tv_sec = (24 * 60 * 60 + 60 * 60 + 60 + 1), .tv_nsec = 0};
    _timespec_to_string(&time, out, sizeof(out));
    assert(strcmp(out, ("1d1h1m1s")) == 0 && "Output time value did not match expected "
                                             "1d1h1m1s");
  };
}
```