user: Converte this assembly snippet into its equivalent C code:

```asm
<test_one_easter_egg>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbx
  sub    $0x48,%rsp
  mov    %edi,%eax
  mov    %rsi,-0x70(%rbp)
  mov    %al,-0x64(%rbp)
  mov    %fs:0x28,%rax
  mov    %rax,-0x38(%rbp)
  xor    %eax,%eax
  mov    %rsp,%rax
  mov    %rax,%rbx
  mov    -0x70(%rbp),%rax
  mov    %rax,%rdi
  call   <strlen@plt>
  mov    %rax,%rdx
  sub    $0x1,%rdx
  mov    %rdx,-0x48(%rbp)
  mov    %rax,%r14
  mov    $0x0,%r15d
  mov    %rax,%r12
  mov    $0x0,%r13d
  mov    $0x10,%edx
  sub    $0x1,%rdx
  add    %rdx,%rax
  mov    $0x10,%ecx
  mov    $0x0,%edx
  div    %rcx
  imul   $0x10,%rax,%rax
  mov    %rax,%rcx
  and    $0xfffffffffffff000,%rcx
  mov    %rsp,%rdx
  sub    %rcx,%rdx
L120:
  cmp    %rdx,%rsp
  je     L15
  sub    $0x1000,%rsp
  orq    $0x0,0xff8(%rsp)
  jmp    L120
L15:
  mov    %rax,%rdx
  and    $0xfff,%edx
  sub    %rdx,%rsp
  mov    %rax,%rdx
  and    $0xfff,%edx
  test   %rdx,%rdx
  je     L14
  and    $0xfff,%eax
  sub    $0x8,%rax
  add    %rsp,%rax
  orq    $0x0,(%rax)
L14:
  mov    %rsp,%rax
  add    $0x0,%rax
  mov    %rax,-0x40(%rbp)
  mov    -0x70(%rbp),%rax
  mov    %rax,%rdi
  call   <strlen@plt>
  mov    %eax,%edx
  mov    -0x40(%rbp),%rax
  mov    $0x0,%esi
  mov    %rax,%rdi
  call   <memset@plt>
  mov    -0x40(%rbp),%rax
  mov    %rax,%rdi
  call   <capture@plt>
  mov    %eax,-0x60(%rbp)
  movsbl -0x64(%rbp),%eax
  mov    %eax,%edi
  call   <g@plt>
  mov    -0x60(%rbp),%eax
  mov    %eax,%edi
  call   <uncapture@plt>
  mov    %eax,-0x5c(%rbp)
  mov    -0x5c(%rbp),%eax
  test   %eax,%eax
  sete   %al
  movzbl %al,%eax
  mov    %eax,-0x58(%rbp)
  cmpl   $0x0,-0x58(%rbp)
  je     L187
  lea    D129(%rip),%rax
  jmp    L188
L187:
  lea    D68(%rip),%rax
L188:
  mov    %rax,%rsi
  lea    D2(%rip),%rax
  mov    %rax,%rdi
  call   <printf@plt>
  cmpl   $0x0,-0x58(%rbp)
  jne    L1
  lea    D147(%rip),%rax
  jmp    L99
L1:
  movl   $0x1,-0x54(%rbp)
  cmpl   $0x0,-0x54(%rbp)
  je     L195
  lea    D129(%rip),%rax
  jmp    L38
L195:
  lea    D68(%rip),%rax
L38:
  mov    %rax,%rsi
  lea    D2(%rip),%rax
  mov    %rax,%rdi
  call   <printf@plt>
  cmpl   $0x0,-0x54(%rbp)
  jne    L142
  lea    D135(%rip),%rax
  jmp    L99
L142:
  mov    -0x40(%rbp),%rax
  mov    %rax,%rdi
  call   <strlen@plt>
  test   %rax,%rax
  setg   %al
  movzbl %al,%eax
  mov    %eax,-0x50(%rbp)
  cmpl   $0x0,-0x50(%rbp)
  je     L155
  lea    D129(%rip),%rax
  jmp    L94
L155:
  lea    D68(%rip),%rax
L94:
  mov    %rax,%rsi
  lea    D2(%rip),%rax
  mov    %rax,%rdi
  call   <printf@plt>
  cmpl   $0x0,-0x50(%rbp)
  jne    L178
  lea    D45(%rip),%rax
  jmp    L99
L178:
  mov    -0x70(%rbp),%rax
  mov    %rax,%rdi
  call   <strlen@plt>
  mov    %rax,%rdx
  mov    -0x40(%rbp),%rcx
  mov    -0x70(%rbp),%rax
  mov    %rcx,%rsi
  mov    %rax,%rdi
  call   <strncmp@plt>
  test   %rax,%rax
  sete   %al
  movzbl %al,%eax
  mov    %eax,-0x4c(%rbp)
  cmpl   $0x0,-0x4c(%rbp)
  je     L81
  lea    D129(%rip),%rax
  jmp    L179
L81:
  lea    D68(%rip),%rax
L179:
  mov    %rax,%rsi
  lea    D2(%rip),%rax
  mov    %rax,%rdi
  call   <printf@plt>
  cmpl   $0x0,-0x4c(%rbp)
  jne    L60
  lea    D1(%rip),%rax
  jmp    L99
L60:
  mov    $0x0,%eax
L99:
  mov    %rbx,%rsp
  mov    -0x38(%rbp),%rdx
  sub    %fs:0x28,%rdx
  je     L169
  call   <__stack_chk_fail@plt>
L169:
  lea    -0x28(%rbp),%rsp
  pop    %rbx
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  pop    %rbp
  ret
```

tool_calls: name: disassemble_data
arguments: data_tag: D129
type_guessed: string
name: disassemble_data
arguments: data_tag: D68
type_guessed: string
name: disassemble_data
arguments: data_tag: D2
type_guessed: string
name: disassemble_data
arguments: data_tag: D147
type_guessed: string
name: disassemble_data
arguments: data_tag: D135
type_guessed: string
name: disassemble_data
arguments: data_tag: D45
type_guessed: string
name: disassemble_data
arguments: data_tag: D1
type_guessed: string

tool: D129: +

tool: D68: -

tool: D2: %s

tool: D147: easter_egg did not run successfully

tool: D135: easter_egg output was null

tool: D45: easter_egg output was empty

tool: D1: easter_egg did not have correct output

assistant: ```c
char *test_one_easter_egg(char c, char *expected) {
  char output[strlen(expected) * sizeof(char)];
  memset(output, 0, strlen(expected) * sizeof(char));
  do {
    int result = ({
                   int ret, std_save = capture(output);
                   g(c);
                   ret = uncapture(std_save);
                   ret;
                 }) == (0);
    printf("%s", (result ? "+" : "-"));
    if (!result)
      return "easter_egg did not run successfully";
  } while (0);
  do {
    int result = output != NULL;
    printf("%s", (result ? "+" : "-"));
    if (!result)
      return "easter_egg output was null";
  } while (0);
  do {
    int result = strlen(output) > 0;
    printf("%s", (result ? "+" : "-"));
    if (!result)
      return "easter_egg output was empty";
  } while (0);
  do {
    int result = strncmp(expected, output, strlen(expected)) == 0;
    printf("%s", (result ? "+" : "-"));
    if (!result)
      return "easter_egg did not have correct output";
  } while (0);
  return (0);
}
```