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

```asm
<setup_add_owner>:
  endbr64
  push   %r14
  mov    $0xa,%edi
  push   %r13
  push   %r12
  push   %rbp
  sub    $0x158,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x148(%rsp)
  xor    %eax,%eax
  mov    %rsp,%rbp
  lea    0x40(%rsp),%r12
  lea    0x20(%rsp),%r14
  call   <putchar@plt>
  lea    D188(%rip),%rdi
  call   <puts@plt>
  lea    D13(%rip),%rdi
  call   <puts@plt>
  lea    D58(%rip),%rdi
  call   <puts@plt>
  lea    D76(%rip),%rdi
  call   <puts@plt>
  lea    D186(%rip),%rdi
  call   <puts@plt>
  lea    D61(%rip),%rdi
  call   <puts@plt>
  lea    D39(%rip),%rdi
  call   <puts@plt>
  xor    %ecx,%ecx
  mov    $0x20,%edx
  mov    %rbp,%rsi
  lea    D144(%rip),%rdi
  call   <text_input@plt>
  xor    %ecx,%ecx
  mov    $0x100,%edx
  mov    %r12,%rsi
  lea    D81(%rip),%rdi
  call   <text_input@plt>
  lea    D38(%rip),%rdi
  call   <system@plt>
  xor    %ecx,%ecx
  mov    $0x20,%edx
  mov    %r14,%rsi
  lea    D162(%rip),%rdi
  call   <text_input@plt>
  lea    D94(%rip),%rdi
  call   <system@plt>
  lea    D98(%rip),%rdi
  call   <puts@plt>
  cmpb   $0x0,(%rsp)
  je     L31
  cmpb   $0x0,0x40(%rsp)
  je     L31
  mov    %rbp,%rdi
  call   <userdb_find_byname@plt>
  test   %rax,%rax
  jne    L58
  mov    %r12,%rsi
  mov    %rbp,%rdi
  call   <userdb_add@plt>
  mov    %eax,%r13d
  test   %eax,%eax
  je     L84
  mov    %r12,%rdx
  mov    %rbp,%rsi
  lea    D20(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  xor    %r8d,%r8d
  xor    %edx,%edx
  xor    %esi,%esi
  lea    D165(%rip),%rcx
  mov    %r13d,%edi
  xor    %r12d,%r12d
  call   <mode_set@plt>
  cmpb   $0x0,0x20(%rsp)
  jne    L85
L41:
  mov    0x148(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L15
  add    $0x158,%rsp
  mov    %r12d,%eax
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  ret
  nopl   0x0(%rax,%rax,1)
L58:
  mov    %rbp,%rsi
  lea    D57(%rip),%rdi
  xor    %eax,%eax
  xor    %r12d,%r12d
  call   <printf@plt>
  jmp    L41
  cs nopw 0x0(%rax,%rax,1)
L85:
  mov    %r13d,%edi
  mov    %r14,%rsi
  call   <userdb_set_password@plt>
  lea    D47(%rip),%rdi
  call   <puts@plt>
  jmp    L41
  nopl   0x0(%rax)
L31:
  lea    D141(%rip),%rdi
  mov    $0xffffffff,%r12d
  call   <puts@plt>
  jmp    L41
L84:
  mov    %rbp,%rsi
  lea    D140(%rip),%rdi
  xor    %eax,%eax
  mov    $0xffffffff,%r12d
  call   <printf@plt>
  jmp    L41
L15:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: extract_symbolic_data
arguments: data_label: D188
datatype: string
name: extract_symbolic_data
arguments: data_label: D13
datatype: string
name: extract_symbolic_data
arguments: data_label: D58
datatype: string
name: extract_symbolic_data
arguments: data_label: D76
datatype: string
name: extract_symbolic_data
arguments: data_label: D186
datatype: string
name: extract_symbolic_data
arguments: data_label: D61
datatype: string
name: extract_symbolic_data
arguments: data_label: D39
datatype: string
name: extract_symbolic_data
arguments: data_label: D144
datatype: string
name: extract_symbolic_data
arguments: data_label: D81
datatype: string
name: extract_symbolic_data
arguments: data_label: D38
datatype: string
name: extract_symbolic_data
arguments: data_label: D162
datatype: string
name: extract_symbolic_data
arguments: data_label: D94
datatype: string
name: extract_symbolic_data
arguments: data_label: D98
datatype: string
name: extract_symbolic_data
arguments: data_label: D20
datatype: string
name: extract_symbolic_data
arguments: data_label: D165
datatype: string
name: extract_symbolic_data
arguments: data_label: D57
datatype: string
name: extract_symbolic_data
arguments: data_label: D47
datatype: string
name: extract_symbolic_data
arguments: data_label: D141
datatype: string
name: extract_symbolic_data
arguments: data_label: D140
datatype: string

tool: D188: This will add an owner to your database.


tool: D13: It is important for security that you use the most specific

tool: D58: mask possible.


tool: D76: It is highly recommended that you set a password for this

tool: D186: user.  Users with passwords will have to authenticate with

tool: D61: the bot using the `auth' command before using any privileged

tool: D39: commands.


tool: D144: Handle

tool: D81: Mask

tool: D38: stty -echo

tool: D162: Password

tool: D94: stty echo

tool: D98: 


tool: D20: Added owner `%s' with mask `%s'.


tool: D165: +w

tool: D57: User `%s' already exists.


tool: D47: Set password.

tool: D141: Canceled.

tool: D140: Could not add bot user `%s' to database.


assistant: ```c
int setup_add_owner(void) {
  char name[32], mask[256], pass[32];
  int id;
  putchar('\n');
  printf("This will add an owner to your database.\n\n");
  printf("It is important for security that you use the most specific\n");
  printf("mask possible.\n\n");
  printf("It is highly recommended that you set a password for this\n");
  printf("user.  Users with passwords will have to authenticate with\n");
  printf("the bot using the `auth' command before using any privileged\n");
  printf("commands.\n\n");
  text_input("Handle", name, 32, NULL);
  text_input("Mask", mask, 256, NULL);
  system("stty -echo");
  text_input("Password", pass, 32, NULL);
  system("stty echo");
  printf("\n\n");
  if ((name[0] == 0) || (mask[0] == 0)) {
    printf("Canceled.\n");
    return -1;
  }
  if (userdb_find_byname(name)) {
    printf("User `%s' already exists.\n", name);
  } else {
    id = userdb_add(name, mask);
    if (id == 0) {
      printf("Could not add bot user `%s' to database.\n", name);
      return -1;
    }
    printf("Added owner `%s' with mask `%s'.\n", name, mask);
    mode_set(id, NULL, NULL, "+w", NULL);
    if (pass[0] != 0) {
      userdb_set_password(id, pass);
      printf("Set password.\n");
    }
  }
  return 0;
}
```