user: Demonstrate the C code that generates the assembly output below:

```asm
<getFileContentFormat>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0xe0,%rsp
  mov    %rdi,-0xd8(%rbp)
  mov    %rsi,-0xe0(%rbp)
  mov    %rdx,-0xa0(%rbp)
  mov    %rcx,-0x98(%rbp)
  mov    %r8,-0x90(%rbp)
  mov    %r9,-0x88(%rbp)
  test   %al,%al
  je     L69
  movaps %xmm0,-0x80(%rbp)
  movaps %xmm1,-0x70(%rbp)
  movaps %xmm2,-0x60(%rbp)
  movaps %xmm3,-0x50(%rbp)
  movaps %xmm4,-0x40(%rbp)
  movaps %xmm5,-0x30(%rbp)
  movaps %xmm6,-0x20(%rbp)
  movaps %xmm7,-0x10(%rbp)
L69:
  cmpq   $0x0,-0xd8(%rbp)
  je     L47
  cmpq   $0x0,-0xe0(%rbp)
  jne    L118
L47:
  mov    D31(%rip),%rax
  mov    (%rax),%edx
  mov    D33(%rip),%rax
  mov    %edx,(%rax)
  mov    $0xffffffff,%eax
  jmp    L24
L118:
  mov    -0xe0(%rbp),%rdx
  mov    -0xc4(%rbp),%eax
  mov    %rdx,%rsi
  mov    %eax,%edi
  call   <va_start@plt>
  mov    -0xc4(%rbp),%edx
  mov    -0xc0(%rbp),%eax
  mov    %edx,%esi
  mov    %eax,%edi
  call   <va_copy@plt>
  mov    -0xc0(%rbp),%edx
  mov    -0xe0(%rbp),%rax
  mov    %edx,%ecx
  mov    %rax,%rdx
  mov    $0x0,%esi
  mov    $0x0,%edi
  call   <vsnprintf@plt>
  add    $0x1,%rax
  mov    %rax,%rdi
  call   <malloc@plt>
  mov    %rax,-0xb8(%rbp)
  cmpq   $0x0,-0xb8(%rbp)
  jne    L103
  mov    -0xc4(%rbp),%eax
  mov    %eax,%edi
  call   <va_end@plt>
  mov    -0xc0(%rbp),%eax
  mov    %eax,%edi
  call   <va_end@plt>
  mov    D3(%rip),%rax
  mov    (%rax),%edx
  mov    D33(%rip),%rax
  mov    %edx,(%rax)
  mov    $0xffffffff,%eax
  jmp    L24
L103:
  mov    -0xc4(%rbp),%edx
  mov    -0xe0(%rbp),%rcx
  mov    -0xb8(%rbp),%rax
  mov    %rcx,%rsi
  mov    %rax,%rdi
  call   <vsprintf@plt>
  mov    -0xc4(%rbp),%eax
  mov    %eax,%edi
  call   <va_end@plt>
  mov    -0xc0(%rbp),%eax
  mov    %eax,%edi
  call   <va_end@plt>
  mov    D18(%rip),%rax
  mov    (%rax),%edx
  mov    -0xb8(%rbp),%rax
  mov    %edx,%esi
  mov    %rax,%rdi
  call   <open@plt>
  mov    %eax,-0xbc(%rbp)
  cmpl   $0xffffffff,-0xbc(%rbp)
  jne    L1
  mov    -0xb8(%rbp),%rax
  mov    %rax,%rdi
  call   <free@plt>
  mov    $0xffffffff,%eax
  jmp    L24
L1:
  mov    -0xbc(%rbp),%eax
  mov    %eax,%edi
  call   <ptGetFileContent@plt>
  mov    -0xd8(%rbp),%rdx
  mov    %rax,(%rdx)
  mov    -0xd8(%rbp),%rax
  mov    (%rax),%rax
  test   %rax,%rax
  jne    L110
  mov    -0xb8(%rbp),%rax
  mov    %rax,%rdi
  call   <free@plt>
  mov    -0xbc(%rbp),%eax
  mov    %eax,%edi
  call   <close@plt>
  mov    $0xffffffff,%eax
  jmp    L24
L110:
  mov    -0xbc(%rbp),%eax
  mov    %eax,%edi
  call   <close@plt>
  cmp    $0xffffffff,%eax
  jne    L12
  mov    -0xd8(%rbp),%rax
  mov    (%rax),%rax
  mov    %rax,%rdi
  call   <free@plt>
  mov    -0xb8(%rbp),%rax
  mov    %rax,%rdi
  call   <free@plt>
  mov    $0xffffffff,%eax
  jmp    L24
L12:
  mov    -0xb8(%rbp),%rax
  mov    %rax,%rdi
  call   <free@plt>
  mov    $0x0,%eax
L24:
  leave
  ret
```

assistant: ```c
int getFileContentFormat(char **content, const char *format, ...) {
  if (!content || !format) {
    errno = EINVAL;
    return -1;
  }
  va_list ap, apn;
  va_start(ap, format);
  va_copy(apn, ap);
  char *path = (char *)malloc(vsnprintf(NULL, 0, format, apn) + 1);
  if (!path) {
    va_end(ap);
    va_end(apn);
    errno = ENOMEM;
    return -1;
  }
  vsprintf(path, format, ap);
  va_end(ap);
  va_end(apn);
  int fn = open(path, O_RDONLY);
  if (fn == -1) {
    free(path);
    return -1;
  }
  *content = ptGetFileContent(fn);
  if (*content == NULL) {
    free(path);
    close(fn);
    return -1;
  }
  if (-1 == close(fn)) {
    free(*content);
    free(path);
    return -1;
  }
  free(path);
  return 0;
}
```