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

```asm
<setAccountPassword>:
  endbr64
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x58,%rsp
  mov    %rdi,%rbx
  mov    %rsi,%r13
  mov    %rdx,%r12
  mov    %fs:0x28,%rax
  mov    %rax,0x48(%rsp)
  xor    %eax,%eax
  mov    %rsp,%rbp
  mov    %rbp,%rsi
  mov    $0x5b,%edi
  call   <mib_get@plt>
  mov    %rbp,%rsi
  mov    %rbx,%rdi
  call   <strcmp@plt>
  test   %rax,%rax
  jne    L108
  lea    0x20(%rsp),%rsi
  mov    $0x5c,%edi
  call   <mib_get@plt>
  test   %eax,%eax
  je     L87
  lea    0x20(%rsp),%rsi
  mov    %r13,%rdi
  call   <strcmp@plt>
  test   %rax,%rax
  jne    L82
  mov    %r12,%rsi
  mov    $0x5c,%edi
  call   <mib_set@plt>
  test   %eax,%eax
  je     L114
L43:
  mov    $0x0,%eax
  call   <writePasswdFile@plt>
  mov    $0x0,%eax
  call   <write_etcPassword@plt>
  mov    $0x0,%eax
L3:
  mov    0x48(%rsp),%rdx
  sub    %fs:0x28,%rdx
  jne    L49
  add    $0x58,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  ret
L108:
  mov    %rbp,%rsi
  mov    $0x26,%edi
  call   <mib_get@plt>
  mov    %rbp,%rsi
  mov    %rbx,%rdi
  call   <strcmp@plt>
  test   %rax,%rax
  jne    L7
  lea    0x20(%rsp),%rsi
  mov    $0x27,%edi
  call   <mib_get@plt>
  test   %eax,%eax
  je     L42
  lea    0x20(%rsp),%rsi
  mov    %r13,%rdi
  call   <strcmp@plt>
  test   %rax,%rax
  jne    L82
  mov    %r12,%rsi
  mov    $0x27,%edi
  call   <mib_set@plt>
  test   %eax,%eax
  jne    L43
  lea    D25(%rip),%rdi
  call   <printf@plt>
  mov    $0xffffffff,%eax
  jmp    L3
L7:
  lea    D1(%rip),%rdi
  call   <printf@plt>
  mov    $0xffffffff,%eax
  jmp    L3
L87:
  lea    D31(%rip),%rdi
  call   <printf@plt>
  mov    $0xffffffff,%eax
  jmp    L3
L42:
  lea    D47(%rip),%rdi
  call   <printf@plt>
  mov    $0xffffffff,%eax
  jmp    L3
L82:
  lea    D4(%rip),%rdi
  call   <printf@plt>
  mov    $0xffffffff,%eax
  jmp    L3
L114:
  lea    D3(%rip),%rdi
  call   <printf@plt>
  mov    $0xffffffff,%eax
  jmp    L3
L49:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: extract_symbolic_data
arguments: data_label: D25
datatype: string
name: extract_symbolic_data
arguments: data_label: D1
datatype: string
name: extract_symbolic_data
arguments: data_label: D31
datatype: string
name: extract_symbolic_data
arguments: data_label: D47
datatype: string
name: extract_symbolic_data
arguments: data_label: D4
datatype: string
name: extract_symbolic_data
arguments: data_label: D3
datatype: string

tool: D25: Set user password to MIB database failed.


tool: D1: username is not correct!


tool: D31: Get super user password from MIB database error!


tool: D47: Get user password from MIB database failed.


tool: D4: old password is not correct!


tool: D3: Set Super user password to MIB database failed.


assistant: ```c
int setAccountPassword(char *user, char *oldpasswd, char *newpasswd) {
  char usName[30];
  char oldMIBpass[30];
  int selnum = 0;
  mib_get(0 + 91, (void *)usName);
  if (!strcmp(user, usName)) {
    selnum = 1;
    goto check_oldpwd;
  }
  mib_get(0 + 38, (void *)usName);
  if (!strcmp(user, usName)) {
    selnum = 2;
    goto check_oldpwd;
  }
check_oldpwd:
  if (selnum == 0) {
    printf("username is not correct!\n");
    return -1;
  }
  if (selnum == 1) {
    if (!mib_get(0 + 92, (void *)oldMIBpass)) {
      printf("Get super user password from MIB database error!\n");
      return -1;
    }
  } else if (selnum == 2) {
    if (!mib_get(0 + 39, (void *)oldMIBpass)) {
      printf("Get user password from MIB database failed.\n");
      return -1;
    }
  }
  if (strcmp(oldpasswd, oldMIBpass) != 0) {
    printf("old password is not correct!\n");
    return -1;
  }
  if (selnum == 1) {
    if (!mib_set(0 + 92, (void *)newpasswd)) {
      printf("Set Super user password to MIB database failed.\n");
      return -1;
    }
  } else if (selnum == 2) {
    if (!mib_set(0 + 39, (void *)newpasswd)) {
      printf("Set user password to MIB database failed.\n");
      return -1;
    }
  }
  writePasswdFile();
  write_etcPassword();
  return 0;
}
```