user: 请将以下的汇编代码转换成C语言代码:

```asm
<split_audit_objective>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x1000,%rsp
  orq    $0x0,(%rsp)
  sub    $0x1000,%rsp
  orq    $0x0,(%rsp)
  sub    $0x58,%rsp
  mov    0x2090(%rsp),%rax
  mov    %rcx,0x10(%rsp)
  mov    %rax,%rcx
  mov    %rsi,0x18(%rsp)
  mov    %rdx,0x8(%rsp)
  mov    %r8,0x20(%rsp)
  mov    %r9,0x28(%rsp)
  mov    %rax,0x30(%rsp)
  mov    %fs:0x28,%rax
  mov    %rax,0x2048(%rsp)
  xor    %eax,%eax
  movl   $0x3e7,(%rcx)
  test   %rdi,%rdi
  je     L365
  test   %rsi,%rsi
  je     L365
  cmpq   $0x0,0x8(%rsp)
  je     L365
  cmpq   $0x0,0x10(%rsp)
  je     L365
  mov    %rdi,%r12
  call   <strlen@plt>
  test   %eax,%eax
  je     L365
  lea    D34(%rip),%rsi
  mov    %r12,%rdi
  call   <strstr@plt>
  lea    D131(%rip),%rsi
  mov    %r12,%rdi
  mov    %rax,%r13
  call   <strstr@plt>
  lea    D22(%rip),%rsi
  mov    %r12,%rdi
  mov    %rax,%rbp
  call   <strstr@plt>
  lea    D78(%rip),%rsi
  mov    %r12,%rdi
  mov    %rax,%r15
  call   <strstr@plt>
  mov    %rax,%r14
  test   %rax,%rax
  je     L121
L586:
  lea    D89(%rip),%rsi
  mov    %r12,%rdi
  call   <strstr@plt>
  mov    %rax,%rbx
  test   %rax,%rax
  je     L722
L571:
  mov    %r12,%rdi
  call   <strlen@plt>
  movslq %eax,%r8
  add    %r12,%r8
  test   %rbp,%rbp
  je     L198
  test   %r13,%r13
  je     L198
  lea    D34(%rip),%rdi
  mov    %r8,0x38(%rsp)
  call   <strlen@plt>
  mov    0x38(%rsp),%r8
  cltq
  add    %r13,%rax
  movzbl (%rax),%esi
  test   %sil,%sil
  je     L154
  cmp    %rax,%r15
  je     L154
  cmp    %rax,%r13
  je     L154
  cmp    %rax,%rbx
  setne  %r10b
  cmp    %rax,%r14
  setne  %dil
  test   %dil,%r10b
  je     L154
  cmp    %rax,%r8
  je     L154
  lea    0x40(%rsp),%r12
  mov    %r12,%rdi
  jmp    L407
  nopl   (%rax)
L553:
  cmp    %rax,%r13
  je     L707
  cmp    %rax,%r15
  je     L707
  cmp    %rax,%r14
  setne  %cl
  cmp    %rax,%rbx
  setne  %dl
  test   %dl,%cl
  je     L707
  cmp    %rax,%r8
  je     L707
L407:
  add    $0x1,%rax
  mov    %sil,(%rdi)
  add    $0x1,%rdi
  movzbl (%rax),%esi
  test   %sil,%sil
  jne    L553
L707:
  movb   $0x0,(%rdi)
  mov    %r12,%rdi
  mov    %r8,0x38(%rsp)
  call   <trim@plt>
  mov    %r12,%rdi
  call   <atoi@plt>
  lea    D131(%rip),%rdi
  mov    %eax,%r12d
  mov    $0x4,%eax
  cmp    %eax,%r12d
  cmovg  %eax,%r12d
  xor    %eax,%eax
  test   %r12d,%r12d
  cmovs  %eax,%r12d
  call   <strlen@plt>
  mov    0x38(%rsp),%r8
  cltq
  add    %rbp,%rax
  movzbl (%rax),%esi
  test   %sil,%sil
  je     L466
  cmp    %rax,%r13
  je     L466
  cmp    %rax,%r15
  je     L466
  cmp    %rax,%rbx
  setne  %r10b
  cmp    %rax,%r14
  setne  %dil
  test   %dil,%r10b
  mov    0x18(%rsp),%rdi
  jne    L448
  jmp    L62
  nopl   0x0(%rax,%rax,1)
L395:
  add    $0x1,%rax
  mov    %sil,(%rdi)
  add    $0x1,%rdi
  movzbl (%rax),%esi
  test   %sil,%sil
  je     L62
  cmp    %rax,%r13
  je     L62
  cmp    %rax,%r15
  je     L62
  cmp    %rax,%r14
  setne  %cl
  cmp    %rax,%rbx
  setne  %dl
  test   %dl,%cl
  je     L62
L448:
  cmp    %rax,%r8
  jne    L395
L62:
  movb   $0x0,(%rdi)
  mov    0x18(%rsp),%rdi
  mov    %r8,0x38(%rsp)
  call   <trim@plt>
  test   %r15,%r15
  mov    0x38(%rsp),%r8
  je     L424
  lea    D22(%rip),%rdi
  call   <strlen@plt>
  lea    D129(%rip),%rsi
  cltq
  lea    (%r15,%rax,1),%rdi
  mov    %rdi,0x18(%rsp)
  call   <regmatchInsensitive@plt>
  mov    0x18(%rsp),%rdi
  mov    0x38(%rsp),%r8
  mov    %rax,%r10
  mov    $0x1,%eax
  test   %r10,%r10
  je     L566
L230:
  mov    0x30(%rsp),%rdx
  mov    %eax,(%rdx)
  test   %r14,%r14
  je     L242
  mov    0x20(%rsp),%rax
  mov    %r8,0x18(%rsp)
  mov    (%rax),%edx
  test   %edx,%edx
  jne    L538
  lea    D78(%rip),%rdi
  call   <strlen@plt>
  mov    0x18(%rsp),%r8
  cltq
  add    %r14,%rax
L264:
  movzbl (%rax),%edi
  test   %dil,%dil
  je     L755
  cmp    %r13,%rax
  je     L755
  cmp    %r15,%rax
  je     L755
  cmp    %rbp,%rax
  setne  %r10b
  cmp    %rbx,%rax
  setne  %sil
  test   %sil,%r10b
  mov    0x8(%rsp),%rsi
  je     L140
  cmp    %r8,%rax
  jne    L300
  jmp    L140
  nopw   0x0(%rax,%rax,1)
L515:
  cmp    %rax,%r13
  je     L140
  cmp    %rax,%r15
  je     L140
  cmp    %rax,%rbx
  setne  %cl
  cmp    %rax,%rbp
  setne  %dl
  test   %dl,%cl
  je     L140
  cmp    %rax,%r8
  je     L140
L300:
  add    $0x1,%rax
  mov    %dil,(%rsi)
  add    $0x1,%rsi
  movzbl (%rax),%edi
  test   %dil,%dil
  jne    L515
L140:
  movb   $0x0,(%rsi)
  mov    0x8(%rsp),%rdi
  mov    %r8,0x18(%rsp)
  call   <trim@plt>
  mov    0x8(%rsp),%rdi
  call   <strlen@plt>
  mov    0x18(%rsp),%r8
  cmp    $0x1,%eax
  jne    L335
  mov    0x8(%rsp),%rax
  cmpb   $0x2a,(%rax)
  jne    L335
  cmpb   $0x0,0x1(%rax)
  jne    L335
L385:
  mov    0x8(%rsp),%rax
  movb   $0x0,(%rax)
L242:
  test   %rbx,%rbx
  je     L127
  mov    0x28(%rsp),%rax
  mov    %r8,0x8(%rsp)
  mov    (%rax),%eax
  test   %eax,%eax
  jne    L525
  lea    D89(%rip),%rdi
  call   <strlen@plt>
  mov    0x8(%rsp),%r8
  cltq
  add    %rax,%rbx
L161:
  movzbl (%rbx),%esi
  test   %sil,%sil
  je     L52
  cmp    %r15,%rbx
  je     L52
  cmp    %r13,%rbx
  je     L52
  cmp    %r14,%rbx
  setne  %dil
  cmp    %rbp,%rbx
  setne  %al
  test   %al,%dil
  mov    0x10(%rsp),%rax
  je     L428
  cmp    %r8,%rbx
  jne    L818
  jmp    L428
  nopl   0x0(%rax,%rax,1)
L283:
  cmp    %rbx,%r13
  je     L428
  cmp    %rbx,%r15
  je     L428
  cmp    %rbx,%rbp
  setne  %cl
  cmp    %rbx,%r14
  setne  %dl
  test   %dl,%cl
  je     L428
  cmp    %rbx,%r8
  je     L428
L818:
  add    $0x1,%rbx
  mov    %sil,(%rax)
  add    $0x1,%rax
  movzbl (%rbx),%esi
  test   %sil,%sil
  jne    L283
L428:
  mov    0x10(%rsp),%rbx
  movb   $0x0,(%rax)
  mov    %rbx,%rdi
  call   <trim@plt>
  mov    %rbx,%rdi
  call   <strlen@plt>
  cmp    $0x1,%eax
  jne    L96
  cmpb   $0x2a,(%rbx)
  jne    L96
  cmpb   $0x0,0x1(%rbx)
  jne    L96
L548:
  mov    0x10(%rsp),%rax
  movb   $0x0,(%rax)
L127:
  mov    0x2048(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L54
  add    $0x2058,%rsp
  mov    %r12d,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  nopw   0x0(%rax,%rax,1)
L566:
  lea    D140(%rip),%rsi
  mov    %r8,0x18(%rsp)
  call   <regmatchInsensitive@plt>
  mov    0x18(%rsp),%r8
  mov    %rax,%r10
  xor    %eax,%eax
  test   %r10,%r10
  jne    L230
  nopl   0x0(%rax)
L424:
  mov    $0x3e7,%eax
  jmp    L230
  nopw   0x0(%rax,%rax,1)
L525:
  lea    D102(%rip),%rdi
  call   <strlen@plt>
  mov    0x8(%rsp),%r8
  cltq
  add    %rax,%rbx
  jmp    L161
  nopl   0x0(%rax,%rax,1)
L538:
  lea    D49(%rip),%rdi
  call   <strlen@plt>
  mov    0x18(%rsp),%r8
  cltq
  add    %r14,%rax
  jmp    L264
  nopl   0x0(%rax,%rax,1)
L96:
  mov    0x10(%rsp),%rdi
  call   <strlen@plt>
  cmp    $0x3,%eax
  jne    L127
  mov    0x10(%rsp),%rdi
  lea    D117(%rip),%rsi
  call   <strcmp@plt>
  test   %eax,%eax
  je     L548
  jmp    L127
  nopl   0x0(%rax)
L335:
  mov    0x8(%rsp),%rdi
  mov    %r8,0x18(%rsp)
  call   <strlen@plt>
  mov    0x18(%rsp),%r8
  cmp    $0x3,%eax
  jne    L242
  mov    0x8(%rsp),%rdi
  lea    D117(%rip),%rsi
  call   <strcmp@plt>
  mov    0x18(%rsp),%r8
  test   %eax,%eax
  je     L385
  jmp    L242
L722:
  lea    D102(%rip),%rsi
  mov    %r12,%rdi
  call   <strstr@plt>
  mov    0x28(%rsp),%rdx
  cmp    $0x1,%rax
  mov    %rax,%rbx
  sbb    %eax,%eax
  or     $0x1,%eax
  mov    %eax,(%rdx)
  jmp    L571
  nopw   0x0(%rax,%rax,1)
L121:
  lea    D49(%rip),%rsi
  mov    %r12,%rdi
  call   <strstr@plt>
  mov    0x20(%rsp),%rdx
  cmp    $0x1,%rax
  mov    %rax,%r14
  sbb    %eax,%eax
  or     $0x1,%eax
  mov    %eax,(%rdx)
  jmp    L586
  nopw   0x0(%rax,%rax,1)
L154:
  lea    0x40(%rsp),%r12
  mov    %r12,%rdi
  jmp    L707
L198:
  mov    %r12,%rdx
  lea    D85(%rip),%rsi
  mov    $0x1,%edi
  call   <slog@plt>
L365:
  mov    $0xffffffff,%r12d
  jmp    L127
L466:
  mov    0x18(%rsp),%rdi
  jmp    L62
L755:
  mov    0x8(%rsp),%rsi
  jmp    L140
L52:
  mov    0x10(%rsp),%rax
  jmp    L428
L54:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: extract_symbolic_data
arguments: data_tag: D34
data_type: string
name: extract_symbolic_data
arguments: data_tag: D131
data_type: string
name: extract_symbolic_data
arguments: data_tag: D22
data_type: string
name: extract_symbolic_data
arguments: data_tag: D78
data_type: string
name: extract_symbolic_data
arguments: data_tag: D89
data_type: string
name: extract_symbolic_data
arguments: data_tag: D129
data_type: string
name: extract_symbolic_data
arguments: data_tag: D140
data_type: string
name: extract_symbolic_data
arguments: data_tag: D102
data_type: string
name: extract_symbolic_data
arguments: data_tag: D49
data_type: string
name: extract_symbolic_data
arguments: data_tag: D117
data_type: string
name: extract_symbolic_data
arguments: data_tag: D85
data_type: string

tool: D34: criticality=

tool: D131: event=

tool: D22: return=

tool: D78: user=

tool: D89: match=

tool: D129: ^[(]?success[)]?

tool: D140: ^[(]?failure[)]?

tool: D102: match!=

tool: D49: user!=

tool: D117: (*)

tool: D85: The following line does not contain the criticality, event: [%s]

assistant: ```c
int split_audit_objective(char *string, char *event, char *user, char *match, int *excludeflag, int *excludematchflag, int *returncode) {
  char *startevent, *startuser, *startmatch, *startcrit, *startreturn;
  char *stringpointer, *endstring;
  char *eventp, *userp, *matchp, *critp;
  char criticality[8192];
  int crit = 0;
  *returncode = 999;
  if (string == (char *)NULL || event == (char *)NULL || user == (char *)NULL || match == (char *)NULL) {
    return (-1);
  }
  if (!strlen(string)) {
    return (-1);
  }
  startcrit = strstr(string, "criticality=");
  startevent = strstr(string, "event=");
  startreturn = strstr(string, "return=");
  startuser = strstr(string, "user=");
  if (startuser == (char *)NULL) {
    startuser = strstr(string, "user!=");
    if (startuser != (char *)NULL) {
      *excludeflag = 1;
    } else {
      *excludeflag = -1;
    }
  }
  startmatch = strstr(string, "match=");
  if (startmatch == (char *)NULL) {
    startmatch = strstr(string, "match!=");
    if (startmatch != (char *)NULL) {
      *excludematchflag = 1;
    } else {
      *excludematchflag = -1;
    }
  }
  stringpointer = string;
  eventp = event;
  userp = user;
  matchp = match;
  critp = criticality;
  endstring = &string[strlen(string)];
  if (startevent == (char *)NULL || startcrit == (char *)NULL) {
    slog(1, "The following line does not contain the criticality, event: [%s]", string);
    return (-1);
  }
  stringpointer = startcrit + strlen("criticality=");
  while (*stringpointer && (stringpointer != startcrit && stringpointer != startreturn && stringpointer != startuser && stringpointer != startmatch && stringpointer != endstring)) {
    *critp = *stringpointer;
    critp++;
    stringpointer++;
  }
  *critp = '\0';
  trim(criticality);
  crit = atoi(criticality);
  if (crit < 0)
    crit = 0;
  if (crit > 4)
    crit = 4;
  stringpointer = startevent + strlen("event=");
  while (*stringpointer && (stringpointer != startcrit && stringpointer != startreturn && stringpointer != startuser && stringpointer != startmatch && stringpointer != endstring)) {
    *eventp = *stringpointer;
    eventp++;
    stringpointer++;
  }
  *eventp = '\0';
  trim(event);
  if (startreturn != (char *)NULL) {
    stringpointer = startreturn + strlen("return=");
    if (regmatchInsensitive(stringpointer, "^[(]?success[)]?")) {
      *returncode = 1;
    } else if (regmatchInsensitive(stringpointer, "^[(]?failure[)]?")) {
      *returncode = 0;
    } else {
      *returncode = 999;
    }
  } else {
    *returncode = 999;
  }
  if (startuser != (char *)NULL) {
    if (*excludeflag) {
      stringpointer = startuser + strlen("user!=");
    } else {
      stringpointer = startuser + strlen("user=");
    }
    while (*stringpointer && (stringpointer != startcrit && stringpointer != startreturn && stringpointer != startmatch && stringpointer != startevent && stringpointer != endstring)) {
      *userp = *stringpointer;
      stringpointer++;
      userp++;
    }
    *userp = '\0';
    trim(user);
    if (((strlen(user) == 1) && (!strcmp(user, "*"))) || ((strlen(user) == 3) && (!strcmp(user, "(*)")))) {
      user[0] = '\0';
    }
  }
  if (startmatch != (char *)NULL) {
    if (*excludematchflag) {
      stringpointer = startmatch + strlen("match!=");
    } else {
      stringpointer = startmatch + strlen("match=");
    }
    while (*stringpointer && (stringpointer != startcrit && stringpointer != startreturn && stringpointer != startevent && stringpointer != startuser && stringpointer != endstring)) {
      *matchp = *stringpointer;
      stringpointer++;
      matchp++;
    }
    *matchp = '\0';
    trim(match);
    if (((strlen(match) == 1) && (!strcmp(match, "*"))) || ((strlen(match) == 3) && (!strcmp(match, "(*)")))) {
      match[0] = '\0';
    }
  }
  return (crit);
}
```