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

```asm
<print_int>:
  endbr64
  push   %r14
  mov    %edx,%eax
  mov    %rsi,%r14
  mov    %ecx,%esi
  push   %r13
  mov    %r9d,%r13d
  push   %r12
  push   %rbp
  mov    %rdi,%rbp
  push   %rbx
  sub    $0x60,%rsp
  mov    0xa0(%rsp),%r10d
  movzbl 0x98(%rsp),%edx
  mov    %fs:0x28,%rcx
  mov    %rcx,0x58(%rsp)
  xor    %ecx,%ecx
  movsbl %r10b,%r9d
  test   %eax,%eax
  je     L83
  test   %r8d,%r8d
  setne  %dil
  cmp    $0xa,%esi
  sete   %cl
  test   %cl,%dil
  je     L155
  test   %eax,%eax
  js     L26
L155:
  mov    %eax,%ecx
  xor    %ebx,%ebx
L169:
  movb   $0x0,0x4f(%rsp)
  lea    0x4f(%rsp),%rdi
  lea    -0xa(%rdx),%r8d
  jmp    L77
  nopw   0x0(%rax,%rax,1)
L165:
  add    %r8d,%edx
  mov    %dl,-0x1(%rdi)
  cmp    %esi,%ecx
  jb     L146
L141:
  mov    %eax,%ecx
  mov    %r12,%rdi
L77:
  mov    %ecx,%eax
  xor    %edx,%edx
  lea    -0x1(%rdi),%r12
  div    %esi
  cmp    $0x9,%dl
  jg     L165
  add    $0x30,%edx
  mov    %dl,-0x1(%rdi)
  cmp    %esi,%ecx
  jae    L141
L146:
  cmp    $0x30,%r10b
  je     L99
  test   %ebx,%ebx
  je     L1
  movl   $0x0,0xa8(%rsp)
  movb   $0x2d,-0x1(%r12)
  lea    -0x2(%rdi),%r12
L89:
  mov    %r13d,%ecx
  mov    %r12,%rdx
  mov    %r14,%rsi
  mov    %rbp,%rdi
  mov    0x90(%rsp),%r8d
  call   <print_string@plt>
  add    0xa8(%rsp),%eax
L0:
  mov    0x58(%rsp),%rdx
  sub    %fs:0x28,%rdx
  jne    L91
  add    $0x60,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  ret
  nopl   0x0(%rax)
L1:
  mov    0xa8(%rsp),%eax
  test   %eax,%eax
  je     L89
  movb   $0x2b,-0x1(%r12)
  lea    -0x2(%rdi),%r12
  movl   $0x0,0xa8(%rsp)
  jmp    L89
  nopw   0x0(%rax,%rax,1)
L99:
  test   %ebx,%ebx
  jne    L121
  mov    0xa8(%rsp),%edx
  test   %edx,%edx
  je     L89
  mov    $0x2b,%edx
  mov    %r14,%rsi
  mov    %rbp,%rdi
  mov    %r9d,0xc(%rsp)
  call   <print_char@plt>
  sub    $0x1,%r13d
  mov    0xc(%rsp),%r9d
  movl   $0x1,0xa8(%rsp)
  jmp    L89
  nopl   (%rax)
L83:
  mov    $0x30,%ecx
  mov    0x90(%rsp),%r8d
  lea    0x10(%rsp),%rdx
  mov    %r14,%rsi
  mov    %cx,0x10(%rsp)
  mov    %r13d,%ecx
  call   <print_string@plt>
  jmp    L0
  nop
L26:
  neg    %eax
  mov    $0x1,%ebx
  mov    %eax,%ecx
  jmp    L169
  xchg   %ax,%ax
L121:
  mov    $0x2d,%edx
  mov    %r14,%rsi
  mov    %rbp,%rdi
  mov    %r9d,0xc(%rsp)
  call   <print_char@plt>
  sub    $0x1,%r13d
  mov    0xc(%rsp),%r9d
  mov    %ebx,0xa8(%rsp)
  jmp    L89
L91:
  call   <__stack_chk_fail@plt>
```

assistant: ```c
int print_int(char **out, size_t *size, int num, int radix, int sign, int width, int align_right, char letter_base, char padding_char, int plus) {
  char buf[64], *s;
  int neg = 0, count = 0;
  unsigned int unum = num;
  if (num == 0) {
    buf[0] = '0';
    buf[1] = '\0';
    return print_string(out, size, buf, width, align_right, padding_char);
  }
  if (sign && radix == 10 && num < 0) {
    neg = 1;
    unum = -num;
  }
  s = &buf[sizeof(buf) - 1];
  *s = '\0';
  while (unum > 0) {
    char digit = unum % radix;
    if (digit >= 10)
      digit += letter_base - 10;
    else
      digit += '0';
    *(--s) = digit;
    unum /= radix;
  }
  if (padding_char == '0') {
    if (neg) {
      print_char(out, size, '-');
      count++;
      width--;
    } else if (plus) {
      print_char(out, size, '+');
      count++;
      width--;
    }
  } else {
    if (neg) {
      *(--s) = '-';
    } else if (plus) {
      *(--s) = '+';
    }
  }
  return count + print_string(out, size, s, width, align_right, padding_char);
}
```