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

```asm
<branch_2_check>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x30,%rsp
  mov    %rdi,-0x28(%rbp)
  mov    %fs:0x28,%rax
  mov    %rax,-0x8(%rbp)
  xor    %eax,%eax
  mov    $0x0,%eax
  call   <createStringArray@plt>
  mov    %rax,-0x10(%rbp)
  movl   $0x0,-0x14(%rbp)
  lea    -0x14(%rbp),%rdx
  mov    -0x10(%rbp),%rcx
  mov    -0x28(%rbp),%rax
  mov    %rcx,%rsi
  mov    %rax,%rdi
  call   <splitString@plt>
  mov    -0x14(%rbp),%eax
  cmp    $0x3,%eax
  jne    L46
  mov    -0x10(%rbp),%rax
  mov    (%rax),%rax
  lea    D59(%rip),%rdx
  mov    %rdx,%rsi
  mov    %rax,%rdi
  call   <strcmp@plt>
  test   %rax,%rax
  jne    L46
  mov    -0x10(%rbp),%rax
  add    $0x8,%rax
  mov    (%rax),%rax
  lea    D24(%rip),%rdx
  mov    %rdx,%rsi
  mov    %rax,%rdi
  call   <strcmp@plt>
  test   %rax,%rax
  jne    L46
  mov    -0x10(%rbp),%rax
  add    $0x10,%rax
  mov    (%rax),%rax
  lea    D16(%rip),%rdx
  mov    %rdx,%rsi
  mov    %rax,%rdi
  call   <strcmp@plt>
  test   %rax,%rax
  jne    L46
  mov    -0x10(%rbp),%rax
  mov    %rax,%rdi
  call   <destroyStringArray@plt>
  mov    $0x1,%eax
  jmp    L86
L46:
  mov    -0x14(%rbp),%eax
  cmp    $0x4,%eax
  jne    L12
  mov    -0x10(%rbp),%rax
  mov    (%rax),%rax
  lea    D13(%rip),%rdx
  mov    %rdx,%rsi
  mov    %rax,%rdi
  call   <strcmp@plt>
  test   %rax,%rax
  jne    L12
  mov    -0x10(%rbp),%rax
  add    $0x8,%rax
  mov    (%rax),%rax
  lea    D24(%rip),%rdx
  mov    %rdx,%rsi
  mov    %rax,%rdi
  call   <strcmp@plt>
  test   %rax,%rax
  jne    L12
  mov    -0x10(%rbp),%rax
  add    $0x10,%rax
  mov    (%rax),%rax
  lea    D24(%rip),%rdx
  mov    %rdx,%rsi
  mov    %rax,%rdi
  call   <strcmp@plt>
  test   %rax,%rax
  jne    L12
  mov    -0x10(%rbp),%rax
  add    $0x18,%rax
  mov    (%rax),%rax
  lea    D12(%rip),%rdx
  mov    %rdx,%rsi
  mov    %rax,%rdi
  call   <strcmp@plt>
  test   %rax,%rax
  jne    L12
  mov    -0x10(%rbp),%rax
  mov    %rax,%rdi
  call   <destroyStringArray@plt>
  mov    $0x1,%eax
  jmp    L86
L12:
  mov    -0x10(%rbp),%rax
  mov    (%rax),%rax
  mov    %rax,%rdi
  call   <isLabel@plt>
  test   %rax,%rax
  je     L63
  mov    -0x10(%rbp),%rax
  mov    %rax,%rdi
  call   <destroyStringArray@plt>
  mov    $0x1,%eax
  jmp    L86
L63:
  mov    -0x14(%rbp),%eax
  cmp    $0x2,%eax
  jne    L134
  mov    -0x10(%rbp),%rax
  mov    (%rax),%rax
  lea    D61(%rip),%rdx
  mov    %rdx,%rsi
  mov    %rax,%rdi
  call   <strcmp@plt>
  test   %rax,%rax
  je     L92
  mov    -0x10(%rbp),%rax
  mov    (%rax),%rax
  lea    D69(%rip),%rdx
  mov    %rdx,%rsi
  mov    %rax,%rdi
  call   <strcmp@plt>
  test   %rax,%rax
  je     L92
  mov    -0x10(%rbp),%rax
  mov    (%rax),%rax
  lea    D84(%rip),%rdx
  mov    %rdx,%rsi
  mov    %rax,%rdi
  call   <strcmp@plt>
  test   %rax,%rax
  jne    L134
L92:
  mov    -0x10(%rbp),%rax
  mov    %rax,%rdi
  call   <destroyStringArray@plt>
  mov    $0x1,%eax
  jmp    L86
L134:
  mov    -0x10(%rbp),%rax
  mov    %rax,%rdi
  call   <destroyStringArray@plt>
  mov    $0x0,%eax
L86:
  mov    -0x8(%rbp),%rdx
  sub    %fs:0x28,%rdx
  je     L168
  call   <__stack_chk_fail@plt>
L168:
  leave
  ret
```

tool_calls: name: parse_data
arguments: tag: D59
datatype: string
name: parse_data
arguments: tag: D24
datatype: string
name: parse_data
arguments: tag: D16
datatype: string
name: parse_data
arguments: tag: D13
datatype: string
name: parse_data
arguments: tag: D12
datatype: string
name: parse_data
arguments: tag: D61
datatype: string
name: parse_data
arguments: tag: D69
datatype: string
name: parse_data
arguments: tag: D84
datatype: string

tool: D59: cmp

tool: D24: r0

tool: D16: #0

tool: D13: sub

tool: D12: #1

tool: D61: ble

tool: D69: bgt

tool: D84: b

assistant: ```c
int branch_2_check(char *line) {
  char **splitted = createStringArray();
  int n = 0;
  splitString(line, splitted, &n);
  if (n == 3) {
    if (strcmp(splitted[0], "cmp") == 0 && strcmp(splitted[1], "r0") == 0 && strcmp(splitted[2], "#0") == 0) {
      destroyStringArray(splitted);
      return 1;
    }
  }
  if (n == 4) {
    if (strcmp(splitted[0], "sub") == 0 && strcmp(splitted[1], "r0") == 0 && strcmp(splitted[2], "r0") == 0 && strcmp(splitted[3], "#1") == 0) {
      destroyStringArray(splitted);
      return 1;
    }
  }
  if (isLabel(splitted[0])) {
    destroyStringArray(splitted);
    return 1;
  }
  if (n == 2) {
    if (strcmp(splitted[0], "ble") == 0 || strcmp(splitted[0], "bgt") == 0 || strcmp(splitted[0], "b") == 0) {
      destroyStringArray(splitted);
      return 1;
    }
  }
  destroyStringArray(splitted);
  return 0;
}
```