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

```asm
<nis_destroygroup>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbx
  sub    $0x18,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,-0x38(%rbp)
  xor    %eax,%eax
  test   %rdi,%rdi
  je     L39
  cmpb   $0x0,(%rdi)
  mov    %rdi,%r12
  jne    L139
L39:
  mov    D8(%rip),%rax
  mov    (%rax),%r12d
L57:
  mov    -0x38(%rbp),%rax
  sub    %fs:0x28,%rax
  jne    L60
  lea    -0x28(%rbp),%rsp
  mov    %r12d,%eax
  pop    %rbx
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  pop    %rbp
  ret
L139:
  call   <strlen@plt>
  mov    %rsp,%rsi
  mov    %rsp,%rbx
  lea    0x41(%rax),%rdx
  mov    %rdx,%rcx
  and    $0xfffffffffffff000,%rdx
  and    $0xfffffffffffffff0,%rcx
  sub    %rdx,%rsi
L161:
  cmp    %rsi,%rsp
  je     L160
  sub    $0x1000,%rsp
  orq    $0x0,0xff8(%rsp)
  jmp    L161
  nopw   0x0(%rax,%rax,1)
L160:
  and    $0xfff,%ecx
  sub    %rcx,%rsp
  test   %rcx,%rcx
  jne    L37
L138:
  lea    0x3(%rax),%rsi
  add    $0x12,%rax
  mov    %rsp,%rcx
  mov    %rsp,%r13
  mov    %rax,%rdx
  and    $0xfffffffffffff000,%rax
  sub    %rax,%rcx
  and    $0xfffffffffffffff0,%rdx
  cmp    %rcx,%rsp
  je     L44
L87:
  sub    $0x1000,%rsp
  orq    $0x0,0xff8(%rsp)
  cmp    %rcx,%rsp
  jne    L87
L44:
  and    $0xfff,%edx
  sub    %rdx,%rsp
  test   %rdx,%rdx
  je     L13
  orq    $0x0,-0x8(%rsp,%rdx,1)
L13:
  lea    0xf(%rsi),%rax
  mov    %rsp,%rcx
  mov    %rsp,%r8
  mov    %rax,%rdx
  and    $0xfffffffffffff000,%rax
  sub    %rax,%rcx
  and    $0xfffffffffffffff0,%rdx
  cmp    %rcx,%rsp
  je     L111
L115:
  sub    $0x1000,%rsp
  orq    $0x0,0xff8(%rsp)
  cmp    %rcx,%rsp
  jne    L115
L111:
  and    $0xfff,%edx
  sub    %rdx,%rsp
  test   %rdx,%rdx
  je     L40
  orq    $0x0,-0x8(%rsp,%rdx,1)
L40:
  lea    -0x1(%rsi),%r15d
  mov    %r12,%rdi
  mov    %r8,%rsi
  mov    %r15d,%edx
  call   <nis_leaf_of_r@plt>
  mov    %r13,%rdi
  mov    %rax,%rsi
  call   <stpcpy@plt>
  mov    %rsp,%rsi
  mov    %r15d,%edx
  mov    %r12,%rdi
  mov    %rax,%r14
  movabs $0x5f7370756f72672e,%rax
  mov    %rax,(%r14)
  movl   $0x726964,0x8(%r14)
  call   <nis_domain_of_r@plt>
  mov    %rax,%rsi
  test   %rax,%rax
  je     L63
  cmpb   $0x0,(%rax)
  jne    L50
L63:
  xor    %esi,%esi
  mov    %r13,%rdi
  call   <nis_remove@plt>
  mov    %rax,%r13
  mov    %rax,%rdi
  call   <NIS_RES_STATUS@plt>
  mov    %r13,%rdi
  mov    %eax,%r12d
  call   <nis_freeresult@plt>
  mov    %rbx,%rsp
  jmp    L57
  xchg   %ax,%ax
L37:
  orq    $0x0,-0x8(%rsp,%rcx,1)
  jmp    L138
  nopl   0x0(%rax,%rax,1)
L50:
  movb   $0x2e,0xb(%r14)
  lea    0xc(%r14),%rdi
  call   <strcpy@plt>
  jmp    L63
L60:
  call   <__stack_chk_fail@plt>
```

assistant: ```c
nis_error nis_destroygroup(const_nis_name group) {
  if (group != NULL && group[0] != '\0') {
    size_t grouplen = strlen(group);
    char buf[grouplen + 50];
    char leafbuf[grouplen + 3];
    char domainbuf[grouplen + 3];
    nis_error status;
    nis_result *res;
    char *cp, *cp2;
    cp = stpcpy(buf, nis_leaf_of_r(group, leafbuf, sizeof(leafbuf) - 1));
    cp = stpcpy(cp, ".groups_dir");
    cp2 = nis_domain_of_r(group, domainbuf, sizeof(domainbuf) - 1);
    if (cp2 != NULL && cp2[0] != '\0') {
      *cp++ = '.';
      stpcpy(cp, cp2);
    }
    res = nis_remove(buf, NULL);
    status = NIS_RES_STATUS(res);
    nis_freeresult(res);
    return status;
  } else
    return NIS_FAIL;
}
```