user: 这段汇编代码用C语言表示是什么样的?

```asm
<setAccountPassword>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  add    $0xffffffffffffff80,%rsp
  mov    %rdi,-0x68(%rbp)
  mov    %rsi,-0x70(%rbp)
  mov    %rdx,-0x78(%rbp)
  mov    %fs:0x28,%rax
  mov    %rax,-0x8(%rbp)
  xor    %eax,%eax
  movl   $0x0,-0x54(%rbp)
  lea    -0x50(%rbp),%rax
  mov    %rax,%rsi
  mov    $0x5b,%edi
  call   <mib_get@plt>
  lea    -0x50(%rbp),%rdx
  mov    -0x68(%rbp),%rax
  mov    %rdx,%rsi
  mov    %rax,%rdi
  call   <strcmp@plt>
  test   %rax,%rax
  jne    L28
  movl   $0x1,-0x54(%rbp)
  jmp    L155
L28:
  lea    -0x50(%rbp),%rax
  mov    %rax,%rsi
  mov    $0x26,%edi
  call   <mib_get@plt>
  lea    -0x50(%rbp),%rdx
  mov    -0x68(%rbp),%rax
  mov    %rdx,%rsi
  mov    %rax,%rdi
  call   <strcmp@plt>
  test   %rax,%rax
  jne    L39
  movl   $0x2,-0x54(%rbp)
  jmp    L155
L39:
  nop
L155:
  cmpl   $0x0,-0x54(%rbp)
  jne    L31
  lea    D38(%rip),%rax
  mov    %rax,%rdi
  call   <printf@plt>
  mov    $0xffffffff,%eax
  jmp    L166
L31:
  cmpl   $0x1,-0x54(%rbp)
  jne    L119
  lea    -0x30(%rbp),%rax
  mov    %rax,%rsi
  mov    $0x5c,%edi
  call   <mib_get@plt>
  test   %eax,%eax
  jne    L88
  lea    D56(%rip),%rax
  mov    %rax,%rdi
  call   <printf@plt>
  mov    $0xffffffff,%eax
  jmp    L166
L119:
  cmpl   $0x2,-0x54(%rbp)
  jne    L88
  lea    -0x30(%rbp),%rax
  mov    %rax,%rsi
  mov    $0x27,%edi
  call   <mib_get@plt>
  test   %eax,%eax
  jne    L88
  lea    D0(%rip),%rax
  mov    %rax,%rdi
  call   <printf@plt>
  mov    $0xffffffff,%eax
  jmp    L166
L88:
  lea    -0x30(%rbp),%rdx
  mov    -0x70(%rbp),%rax
  mov    %rdx,%rsi
  mov    %rax,%rdi
  call   <strcmp@plt>
  test   %rax,%rax
  je     L35
  lea    D48(%rip),%rax
  mov    %rax,%rdi
  call   <printf@plt>
  mov    $0xffffffff,%eax
  jmp    L166
L35:
  cmpl   $0x1,-0x54(%rbp)
  jne    L152
  mov    -0x78(%rbp),%rax
  mov    %rax,%rsi
  mov    $0x5c,%edi
  call   <mib_set@plt>
  test   %eax,%eax
  jne    L168
  lea    D59(%rip),%rax
  mov    %rax,%rdi
  call   <printf@plt>
  mov    $0xffffffff,%eax
  jmp    L166
L152:
  cmpl   $0x2,-0x54(%rbp)
  jne    L168
  mov    -0x78(%rbp),%rax
  mov    %rax,%rsi
  mov    $0x27,%edi
  call   <mib_set@plt>
  test   %eax,%eax
  jne    L168
  lea    D42(%rip),%rax
  mov    %rax,%rdi
  call   <printf@plt>
  mov    $0xffffffff,%eax
  jmp    L166
L168:
  mov    $0x0,%eax
  call   <writePasswdFile@plt>
  mov    $0x0,%eax
  call   <write_etcPassword@plt>
  mov    $0x0,%eax
L166:
  mov    -0x8(%rbp),%rdx
  sub    %fs:0x28,%rdx
  je     L103
  call   <__stack_chk_fail@plt>
L103:
  leave
  ret
```

tool_calls: name: unpack_data
arguments: tag: D38
type_infered: string
name: unpack_data
arguments: tag: D56
type_infered: string
name: unpack_data
arguments: tag: D0
type_infered: string
name: unpack_data
arguments: tag: D48
type_infered: string
name: unpack_data
arguments: tag: D59
type_infered: string
name: unpack_data
arguments: tag: D42
type_infered: string

tool: D38: username is not correct!


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


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


tool: D48: old password is not correct!


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


tool: D42: Set 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;
}
```