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

```asm
<main>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  lea    D105(%rip),%r12
  push   %rbp
  mov    %r12,%rdi
  push   %rbx
  sub    $0x288,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x278(%rsp)
  xor    %eax,%eax
  lea    0x210(%rsp),%rsi
  lea    0x1a0(%rsp),%rbp
  call   <scanf@plt>
  mov    %rbp,%rsi
  mov    %r12,%rdi
  xor    %eax,%eax
  call   <scanf@plt>
  mov    %rbp,%rdi
  xor    %eax,%eax
  call   <atoi@plt>
  mov    %eax,%ebx
  movsbl 0x210(%rsp),%eax
  test   %al,%al
  je     L141
  mov    $0x1,%edx
  lea    0x20f(%rsp),%rsi
  nopl   (%rax)
L133:
  cmp    $0x20,%al
  je     L267
  sub    $0x30,%eax
  mov    %eax,0xc(%rsp,%rdx,4)
L267:
  mov    %edx,%ecx
  add    $0x1,%rdx
  movsbl (%rsi,%rdx,1),%eax
  test   %al,%al
  jne    L133
  cmp    $0x2,%ecx
  je     L199
  cmp    $0x3,%ecx
  je     L38
  cmp    $0x4,%ecx
  jne    L178
  mov    0x10(%rsp),%esi
  mov    0x14(%rsp),%edx
  xor    %ecx,%ecx
  mov    0x18(%rsp),%r12d
  mov    0x1c(%rsp),%ebp
  lea    (%rsi,%rdx,1),%r14d
  lea    (%r14,%r12,1),%r15d
  lea    (%r15,%rbp,1),%eax
  cmp    %eax,%ebx
  je     L288
L107:
  mov    %esi,%r13d
  sub    %edx,%r13d
  mov    %r13d,%eax
  sub    %r12d,%eax
  add    %ebp,%eax
  cmp    %eax,%ebx
  je     L160
L246:
  sub    %ebp,%r15d
  cmp    %r15d,%ebx
  je     L47
L90:
  sub    %r12d,%r14d
  add    %r12d,%r13d
  mov    %r14d,%eax
  mov    %r13d,%r15d
  sub    %ebp,%eax
  sub    %ebp,%r15d
  cmp    %eax,%ebx
  je     L264
  cmp    %r15d,%ebx
  je     L181
L156:
  test   %ecx,%ecx
  je     L199
  nopl   0x0(%rax,%rax,1)
L141:
  mov    0x278(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L316
  add    $0x288,%rsp
  xor    %eax,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L38:
  mov    0x10(%rsp),%r14d
  mov    0x14(%rsp),%r15d
  xor    %eax,%eax
  mov    0x18(%rsp),%r12d
  lea    (%r14,%r15,1),%r13d
  lea    0x0(%r13,%r12,1),%edx
  cmp    %edx,%ebx
  je     L93
L9:
  mov    %r14d,%ebp
  sub    %r15d,%ebp
  lea    (%r12,%rbp,1),%edx
  cmp    %edx,%ebx
  je     L226
L139:
  sub    %r12d,%r13d
  cmp    %r13d,%ebx
  je     L393
  sub    %r12d,%ebp
  cmp    %ebp,%ebx
  je     L277
  test   %eax,%eax
  jne    L141
L199:
  lea    D94(%rip),%rdi
  call   <puts@plt>
  jmp    L141
L178:
  cmp    $0x5,%ecx
  jne    L141
  mov    0x10(%rsp),%esi
  mov    0x14(%rsp),%edx
  xor    %ecx,%ecx
  mov    0x18(%rsp),%r14d
  mov    0x1c(%rsp),%r15d
  lea    (%rsi,%rdx,1),%ebp
  mov    0x20(%rsp),%r13d
  lea    0x0(%rbp,%r14,1),%r12d
  add    %r15d,%r12d
  lea    (%r12,%r13,1),%eax
  cmp    %eax,%ebx
  je     L361
L147:
  sub    %r14d,%ebp
  lea    0x0(%rbp,%r15,1),%eax
  add    %r13d,%eax
  cmp    %eax,%ebx
  je     L132
L269:
  sub    %r13d,%r12d
  cmp    %r12d,%ebx
  je     L18
L270:
  mov    %esi,%ebp
  sub    %edx,%ebp
  mov    %ebp,%r12d
  add    %r14d,%ebp
  sub    %r14d,%r12d
  sub    %r15d,%ebp
  add    %r15d,%r12d
  lea    0x0(%r13,%rbp,1),%r10d
  lea    0x0(%r13,%r12,1),%eax
  cmp    %eax,%ebx
  je     L286
  cmp    %r10d,%ebx
  jne    L156
L248:
  push   %rax
  mov    %r14d,%ecx
  mov    %r13d,%r9d
  mov    %r15d,%r8d
  push   %r10
  lea    D87(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  pop    %rdx
  pop    %rcx
  jmp    L141
L286:
  mov    %r10d,0xc(%rsp)
  mov    %r13d,%r9d
  mov    %r15d,%r8d
  xor    %eax,%eax
  push   %rdi
  mov    %r14d,%ecx
  lea    D68(%rip),%rdi
  push   %rbx
  mov    %edx,0x18(%rsp)
  mov    %esi,0x14(%rsp)
  call   <printf@plt>
  cmp    %ebp,%r12d
  pop    %r8
  pop    %r9
  mov    0x4(%rsp),%esi
  mov    0x8(%rsp),%edx
  mov    0xc(%rsp),%r10d
  jne    L141
  jmp    L248
L18:
  push   %r10
  mov    %r14d,%ecx
  mov    %r13d,%r9d
  mov    %r15d,%r8d
  push   %rbx
  lea    D62(%rip),%rdi
  xor    %eax,%eax
  mov    %edx,0x18(%rsp)
  mov    %esi,0x14(%rsp)
  call   <printf@plt>
  pop    %r11
  mov    $0x1,%ecx
  pop    %rbp
  mov    0x8(%rsp),%edx
  mov    0x4(%rsp),%esi
  jmp    L270
L132:
  push   %rax
  mov    %r14d,%ecx
  mov    %r13d,%r9d
  mov    %r15d,%r8d
  push   %rbx
  lea    D68(%rip),%rdi
  xor    %eax,%eax
  mov    %esi,0x14(%rsp)
  mov    %edx,0x18(%rsp)
  call   <printf@plt>
  pop    %rax
  mov    $0x1,%ecx
  pop    %rdx
  mov    0x8(%rsp),%edx
  mov    0x4(%rsp),%esi
  jmp    L269
L361:
  push   %rcx
  lea    D31(%rip),%rdi
  mov    %r14d,%ecx
  mov    %r13d,%r9d
  push   %rbx
  mov    %r15d,%r8d
  xor    %eax,%eax
  mov    %edx,0x18(%rsp)
  mov    %esi,0x14(%rsp)
  call   <printf@plt>
  pop    %rsi
  mov    $0x1,%ecx
  pop    %rdi
  mov    0x8(%rsp),%edx
  mov    0x4(%rsp),%esi
  jmp    L147
L393:
  mov    %ebx,%r8d
  mov    %r12d,%ecx
  mov    %r15d,%edx
  mov    %r14d,%esi
  lea    D7(%rip),%rdi
  xor    %eax,%eax
  sub    %r12d,%ebp
  call   <printf@plt>
  cmp    %ebp,%ebx
  jne    L141
L277:
  mov    %ebp,%r8d
  mov    %r12d,%ecx
  mov    %r15d,%edx
  mov    %r14d,%esi
  lea    D151(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  jmp    L141
L226:
  mov    %ebx,%r8d
  mov    %r12d,%ecx
  mov    %r15d,%edx
  mov    %r14d,%esi
  lea    D115(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  mov    $0x1,%eax
  jmp    L139
L93:
  mov    %ebx,%r8d
  mov    %r12d,%ecx
  mov    %r15d,%edx
  mov    %r14d,%esi
  lea    D115(%rip),%rdi
  call   <printf@plt>
  mov    $0x1,%eax
  jmp    L9
L264:
  xor    %eax,%eax
  mov    %ebx,%r9d
  mov    %ebp,%r8d
  mov    %r12d,%ecx
  lea    D123(%rip),%rdi
  mov    %edx,0x8(%rsp)
  mov    %esi,0x4(%rsp)
  call   <printf@plt>
  cmp    %r13d,%r14d
  mov    0x4(%rsp),%esi
  mov    0x8(%rsp),%edx
  jne    L141
L181:
  mov    %r15d,%r9d
  mov    %ebp,%r8d
  mov    %r12d,%ecx
  xor    %eax,%eax
  lea    D37(%rip),%rdi
  call   <printf@plt>
  jmp    L141
L47:
  mov    %r12d,%ecx
  mov    %ebx,%r9d
  mov    %ebp,%r8d
  xor    %eax,%eax
  lea    D2(%rip),%rdi
  mov    %edx,0x8(%rsp)
  mov    %esi,0x4(%rsp)
  call   <printf@plt>
  mov    0x8(%rsp),%edx
  mov    0x4(%rsp),%esi
  mov    $0x1,%ecx
  jmp    L90
L160:
  mov    %r12d,%ecx
  mov    %ebx,%r9d
  mov    %ebp,%r8d
  xor    %eax,%eax
  lea    D72(%rip),%rdi
  mov    %edx,0x8(%rsp)
  mov    %esi,0x4(%rsp)
  call   <printf@plt>
  mov    0x8(%rsp),%edx
  mov    0x4(%rsp),%esi
  mov    $0x1,%ecx
  jmp    L246
L288:
  mov    %r12d,%ecx
  mov    %ebx,%r9d
  mov    %ebp,%r8d
  xor    %eax,%eax
  lea    D55(%rip),%rdi
  mov    %edx,0x8(%rsp)
  mov    %esi,0x4(%rsp)
  call   <printf@plt>
  mov    0x8(%rsp),%edx
  mov    0x4(%rsp),%esi
  mov    $0x1,%ecx
  jmp    L107
L316:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: unpack_data
arguments: tag: D105
type: string
name: unpack_data
arguments: tag: D94
type: string
name: unpack_data
arguments: tag: D87
type: string
name: unpack_data
arguments: tag: D68
type: string
name: unpack_data
arguments: tag: D62
type: string
name: unpack_data
arguments: tag: D31
type: string
name: unpack_data
arguments: tag: D7
type: string
name: unpack_data
arguments: tag: D151
type: string
name: unpack_data
arguments: tag: D115
type: string
name: unpack_data
arguments: tag: D123
type: string
name: unpack_data
arguments: tag: D37
type: string
name: unpack_data
arguments: tag: D2
type: string
name: unpack_data
arguments: tag: D72
type: string
name: unpack_data
arguments: tag: D55
type: string

tool: D105: %s

tool: D94: -1

tool: D87: %d-%d+%d-%d+%d=%d


tool: D68: %d-%d-%d+%d+%d=%d


tool: D62: %d+%d+%d+%d-%d=%d


tool: D31: %d+%d+%d+%d+%d=%d


tool: D7: %d+%d-%d=%d


tool: D151: %d-%d-%d=%d


tool: D115: %d+%d+%d=%d


tool: D123: %d+%d-%d-%d=%d


tool: D37: %d-%d+%d-%d=%d


tool: D2: %d+%d+%d-%d=%d


tool: D72: %d-%d-%d+%d=%d


tool: D55: %d+%d+%d+%d=%d


assistant: ```c
int main() {
  int arr[100];
  char array1[100];
  char array[100];
  scanf("%s", array);
  scanf("%s", array1);
  int target = atoi(array1);
  int m = 0;
  for (m = 0; array[m]; m++) {
    if (array[m] != ' ') {
      arr[m] = array[m] - '0';
    }
  }
  int sum = 0;
  int flag = 0;
  if (m == 2) {
    sum = arr[0] + arr[1];
    sum = arr[0] - arr[1];
    if (flag == 0) {
      printf("-1\n");
    }
  }
  if (m == 3) {
    sum = arr[0] + arr[1] + arr[2];
    if (sum == target) {
      printf("%d+%d+%d=%d\n", arr[0], arr[1], arr[2], sum);
      flag = 1;
    }
    sum = arr[0] - arr[1] + arr[2];
    if (sum == target) {
      printf("%d+%d+%d=%d\n", arr[0], arr[1], arr[2], sum);
      flag = 1;
    }
    sum = arr[0] + arr[1] - arr[2];
    if (sum == target) {
      printf("%d+%d-%d=%d\n", arr[0], arr[1], arr[2], sum);
      flag = 1;
    }
    sum = arr[0] - arr[1] - arr[2];
    if (sum == target) {
      printf("%d-%d-%d=%d\n", arr[0], arr[1], arr[2], sum);
      flag = 1;
    }
    if (flag == 0) {
      printf("-1\n");
    }
  }
  if (m == 4) {
    sum = arr[0] + arr[1] + arr[2] + arr[3];
    if (sum == target) {
      printf("%d+%d+%d+%d=%d\n", arr[0], arr[1], arr[2], arr[3], sum);
      flag = 1;
    }
    sum = arr[0] - arr[1] - arr[2] + arr[3];
    if (sum == target) {
      flag = 1;
      printf("%d-%d-%d+%d=%d\n", arr[0], arr[1], arr[2], arr[3], sum);
    }
    sum = arr[0] + arr[1] + arr[2] - arr[3];
    if (sum == target) {
      flag = 1;
      printf("%d+%d+%d-%d=%d\n", arr[0], arr[1], arr[2], arr[3], sum);
    }
    sum = arr[0] + arr[1] - arr[2] - arr[3];
    if (sum == target) {
      flag = 1;
      printf("%d+%d-%d-%d=%d\n", arr[0], arr[1], arr[2], arr[3], sum);
    }
    sum = arr[0] - arr[1] + arr[2] - arr[3];
    if (sum == target) {
      flag = 1;
      printf("%d-%d+%d-%d=%d\n", arr[0], arr[1], arr[2], arr[3], sum);
    }
    if (flag == 0) {
      printf("-1\n");
    }
  }
  if (m == 5) {
    sum = arr[0] + arr[1] + arr[2] + arr[3] + arr[4];
    if (sum == target) {
      flag = 1;
      printf("%d+%d+%d+%d+%d=%d\n", arr[0], arr[1], arr[2], arr[3], arr[4], sum);
    }
    sum = arr[0] + arr[1] - arr[2] + arr[3] + arr[4];
    if (sum == target) {
      flag = 1;
      printf("%d-%d-%d+%d+%d=%d\n", arr[0], arr[1], arr[2], arr[3], arr[4], sum);
    }
    sum = arr[0] + arr[1] + arr[2] + arr[3] - arr[4];
    if (sum == target) {
      flag = 1;
      printf("%d+%d+%d+%d-%d=%d\n", arr[0], arr[1], arr[2], arr[3], arr[4], sum);
    }
    sum = arr[0] - arr[1] - arr[2] + arr[3] + arr[4];
    if (sum == target) {
      flag = 1;
      printf("%d-%d-%d+%d+%d=%d\n", arr[0], arr[1], arr[2], arr[3], arr[4], sum);
    }
    sum = arr[0] - arr[1] + arr[2] - arr[3] + arr[4];
    if (sum == target) {
      flag = 1;
      printf("%d-%d+%d-%d+%d=%d\n", arr[0], arr[1], arr[2], arr[3], arr[4], sum);
    }
    if (flag == 0) {
      printf("-1\n");
    }
  }
  return 0;
}
```