user: 请显示与下面列出的汇编代码相匹配的C语言实现：

```asm
<Valid_User>:
  endbr64
  push   %r15
  mov    %rcx,%r15
  lea    D72(%rip),%rcx
  push   %r14
  movq   %rcx,%xmm0
  lea    D0(%rip),%rcx
  mov    %rsi,%r14
  push   %r13
  mov    %rdi,%r13
  lea    D63(%rip),%rdi
  push   %r12
  mov    %r8,%r12
  push   %rbp
  mov    %rdx,%rbp
  lea    D43(%rip),%rdx
  sub    $0x50,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x48(%rsp)
  lea    D18(%rip),%rax
  movq   $0x0,0x40(%rsp)
  movq   %rax,%xmm1
  lea    D15(%rip),%rax
  punpcklqdq %xmm1,%xmm0
  movq   %rax,%xmm2
  lea    D48(%rip),%rax
  movaps %xmm0,(%rsp)
  movq   %rcx,%xmm0
  movq   %rax,%xmm3
  lea    D68(%rip),%rax
  punpcklqdq %xmm2,%xmm0
  movq   %rax,%xmm4
  xor    %eax,%eax
  movaps %xmm0,0x10(%rsp)
  movq   %rdx,%xmm0
  punpcklqdq %xmm3,%xmm0
  movaps %xmm0,0x20(%rsp)
  movq   %rdi,%xmm0
  punpcklqdq %xmm4,%xmm0
  movaps %xmm0,0x30(%rsp)
  call   <SMB_Init@plt>
  mov    %rbp,%rsi
  mov    %r12,%rdx
  xor    %edi,%edi
  call   <SMB_Connect_Server@plt>
  mov    %rax,%rbp
  test   %rax,%rax
  je     L16
L61:
  mov    %rsp,%rsi
  mov    %rbp,%rdi
  call   <SMB_Negotiate@plt>
  test   %rax,%rax
  js     L49
  mov    %r13,%rsi
  mov    %rbp,%rdi
  mov    %r14,%rdx
  call   <SMB_Logon_Server@plt>
  xor    %esi,%esi
  mov    %rbp,%rdi
  test   %rax,%rax
  js     L71
  call   <SMB_Discon@plt>
  xor    %eax,%eax
L33:
  mov    0x48(%rsp),%rdx
  sub    %fs:0x28,%rdx
  jne    L48
  add    $0x50,%rsp
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  nopl   0x0(%rax,%rax,1)
L16:
  mov    %r12,%rdx
  mov    %r15,%rsi
  xor    %edi,%edi
  call   <SMB_Connect_Server@plt>
  mov    %rax,%rbp
  test   %rax,%rax
  jne    L61
  mov    $0x1,%eax
  jmp    L33
  nopl   0x0(%rax)
L49:
  xor    %esi,%esi
  mov    %rbp,%rdi
  call   <SMB_Discon@plt>
  mov    $0x2,%eax
  jmp    L33
  nopl   0x0(%rax)
L71:
  call   <SMB_Discon@plt>
  mov    $0x3,%eax
  jmp    L33
L48:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: unpack_data
arguments: tag: D72
type_guessed: string
name: unpack_data
arguments: tag: D0
type_guessed: string
name: unpack_data
arguments: tag: D63
type_guessed: string
name: unpack_data
arguments: tag: D43
type_guessed: string
name: unpack_data
arguments: tag: D18
type_guessed: string
name: unpack_data
arguments: tag: D15
type_guessed: string
name: unpack_data
arguments: tag: D48
type_guessed: string
name: unpack_data
arguments: tag: D68
type_guessed: string

tool: D72: PC NETWORK PROGRAM 1.0

tool: D0: MICROSOFT NETWORKS 3.0

tool: D63: NT LM 0.12

tool: D43: LM1.2X002

tool: D18: MICROSOFT NETWORKS 1.03

tool: D15: LANMAN1.0

tool: D48: Samba

tool: D68: NT LANMAN 1.0

assistant: ```c
int Valid_User(char *USERNAME, char *PASSWORD, char *SERVER, char *BACKUP, char *DOMAIN) {
  const char *SMB_Prots[] = {"PC NETWORK PROGRAM 1.0", "MICROSOFT NETWORKS 1.03", "MICROSOFT NETWORKS 3.0", "LANMAN1.0", "LM1.2X002", "Samba", "NT LM 0.12", "NT LANMAN 1.0", NULL};
  void *con;
  SMB_Init();
  con = SMB_Connect_Server(NULL, SERVER, DOMAIN);
  if (con == NULL) {
    con = SMB_Connect_Server(NULL, BACKUP, DOMAIN);
    if (con == NULL) {
      return (1);
    }
  }
  if (SMB_Negotiate(con, SMB_Prots) < 0) {
    SMB_Discon(con, 0);
    return (2);
  }
  if (SMB_Logon_Server(con, USERNAME, PASSWORD) < 0) {
    SMB_Discon(con, 0);
    return (3);
  }
  SMB_Discon(con, 0);
  return (0);
}
```