user: 请将这段汇编代码片段转换成等效的C代码:

```asm
<main>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x18,%rsp
  cmp    $0x1,%edi
  jle    L220
  lea    -0x2(%rdi),%eax
  lea    0x8(%rsi),%rbp
  shr    %eax
  lea    D140(%rip),%r12
  shl    $0x4,%rax
  lea    0x18(%rsi,%rax,1),%r13
  nopl   0x0(%rax)
L106:
  mov    0x0(%rbp),%rdi
  mov    %r12,%rsi
  call   <strcmp@plt>
  test   %rax,%rax
  jne    L231
  mov    0x8(%rbp),%rdi
  add    $0x10,%rbp
  call   <atoi@plt>
  mov    %eax,%ebx
  cmp    %r13,%rbp
  jne    L106
  mov    %eax,%edi
  call   <malloc@plt>
  mov    %rax,%rbp
  test   %ebx,%ebx
  jle    L294
  lea    -0x1(%rbx),%eax
  mov    $0x2,%edx
  movb   $0x0,0x0(%rbp)
  cmp    %edx,%eax
  cmovg  %edx,%eax
  cmp    $0x1,%ebx
  je     L171
L373:
  sub    $0x1,%eax
  movb   $0x0,0x1(%rbp)
  je     L196
  movb   $0x0,0x2(%rbp)
  mov    $0x3,%edx
L317:
  cmp    %ebx,%edx
  jge    L315
  mov    %ebx,%edi
  sub    %edx,%edi
  lea    -0x1(%rdi),%eax
  cmp    $0xe,%eax
  jbe    L124
  mov    %edi,%eax
  movd   %edx,%xmm7
  pxor   %xmm4,%xmm4
  movslq %edx,%rcx
  shr    $0x4,%eax
  add    %rbp,%rcx
  pshufd $0x0,%xmm7,%xmm5
  movdqa D135(%rip),%xmm10
  lea    -0x1(%rax),%esi
  lea    0x10(%rcx),%rax
  movdqa D166(%rip),%xmm3
  movdqa D152(%rip),%xmm9
  shl    $0x4,%rsi
  paddd  D49(%rip),%xmm5
  movdqa D70(%rip),%xmm8
  movdqa D161(%rip),%xmm7
  movdqa D98(%rip),%xmm6
  add    %rax,%rsi
  jmp    L157
  xchg   %ax,%ax
L219:
  add    $0x10,%rax
L157:
  movdqa %xmm5,%xmm0
  paddd  %xmm10,%xmm5
  movdqa %xmm0,%xmm11
  movdqa %xmm0,%xmm2
  movdqa %xmm0,%xmm1
  paddd  %xmm9,%xmm11
  pand   %xmm3,%xmm2
  paddd  %xmm8,%xmm1
  pand   %xmm3,%xmm11
  pcmpeqd %xmm4,%xmm2
  paddd  %xmm7,%xmm0
  pcmpeqd %xmm4,%xmm11
  pand   %xmm3,%xmm1
  pand   %xmm3,%xmm0
  pcmpeqd %xmm4,%xmm1
  pcmpeqd %xmm4,%xmm0
  pand   %xmm3,%xmm2
  pand   %xmm3,%xmm11
  movdqa %xmm2,%xmm12
  punpcklwd %xmm11,%xmm2
  punpckhwd %xmm11,%xmm12
  pand   %xmm3,%xmm0
  movdqa %xmm2,%xmm11
  pand   %xmm3,%xmm1
  punpcklwd %xmm12,%xmm2
  punpckhwd %xmm12,%xmm11
  punpcklwd %xmm11,%xmm2
  movdqa %xmm1,%xmm11
  punpcklwd %xmm0,%xmm1
  punpckhwd %xmm0,%xmm11
  movdqa %xmm1,%xmm0
  pand   %xmm6,%xmm2
  punpckhwd %xmm11,%xmm0
  punpcklwd %xmm11,%xmm1
  punpcklwd %xmm0,%xmm1
  pand   %xmm6,%xmm1
  packuswb %xmm1,%xmm2
  movups %xmm2,(%rcx)
  mov    %rax,%rcx
  cmp    %rax,%rsi
  jne    L219
  mov    %edi,%eax
  and    $0xfffffff0,%eax
  add    %eax,%edx
  cmp    %eax,%edi
  je     L315
L124:
  mov    %edx,%edi
  mov    $0x1,%eax
  movslq %edx,%rcx
  and    $0x1,%edi
  mov    %eax,%esi
  sub    %edi,%esi
  mov    %sil,0x0(%rbp,%rcx,1)
  lea    0x1(%rdx),%ecx
  cmp    %ebx,%ecx
  jge    L315
  movslq %ecx,%rsi
  mov    %eax,%edi
  and    $0x1,%ecx
  sub    %ecx,%edi
  lea    0x2(%rdx),%ecx
  mov    %dil,0x0(%rbp,%rsi,1)
  cmp    %ebx,%ecx
  jge    L315
  movslq %ecx,%rsi
  mov    %eax,%edi
  and    $0x1,%ecx
  sub    %ecx,%edi
  lea    0x3(%rdx),%ecx
  mov    %dil,0x0(%rbp,%rsi,1)
  cmp    %ebx,%ecx
  jge    L315
  movslq %ecx,%rsi
  mov    %eax,%edi
  and    $0x1,%ecx
  sub    %ecx,%edi
  lea    0x4(%rdx),%ecx
  mov    %dil,0x0(%rbp,%rsi,1)
  cmp    %ebx,%ecx
  jge    L315
  movslq %ecx,%rsi
  mov    %eax,%edi
  and    $0x1,%ecx
  sub    %ecx,%edi
  lea    0x5(%rdx),%ecx
  mov    %dil,0x0(%rbp,%rsi,1)
  cmp    %ebx,%ecx
  jge    L315
  movslq %ecx,%rsi
  mov    %eax,%edi
  and    $0x1,%ecx
  sub    %ecx,%edi
  lea    0x6(%rdx),%ecx
  mov    %dil,0x0(%rbp,%rsi,1)
  cmp    %ebx,%ecx
  jge    L315
  movslq %ecx,%rsi
  mov    %eax,%edi
  and    $0x1,%ecx
  sub    %ecx,%edi
  lea    0x7(%rdx),%ecx
  mov    %dil,0x0(%rbp,%rsi,1)
  cmp    %ebx,%ecx
  jge    L315
  movslq %ecx,%rsi
  mov    %eax,%edi
  and    $0x1,%ecx
  sub    %ecx,%edi
  lea    0x8(%rdx),%ecx
  mov    %dil,0x0(%rbp,%rsi,1)
  cmp    %ebx,%ecx
  jge    L315
  movslq %ecx,%rsi
  mov    %eax,%edi
  and    $0x1,%ecx
  sub    %ecx,%edi
  lea    0x9(%rdx),%ecx
  mov    %dil,0x0(%rbp,%rsi,1)
  cmp    %ebx,%ecx
  jge    L315
  movslq %ecx,%rsi
  and    $0x1,%ecx
  sub    %ecx,%eax
  mov    %al,0x0(%rbp,%rsi,1)
  lea    0xa(%rdx),%eax
  cmp    %ebx,%eax
  jge    L315
  movslq %eax,%rsi
  and    $0x1,%eax
  mov    %eax,%ecx
  mov    $0x1,%eax
  mov    %eax,%edi
  sub    %ecx,%edi
  lea    0xb(%rdx),%ecx
  mov    %dil,0x0(%rbp,%rsi,1)
  cmp    %ebx,%ecx
  jge    L315
  movslq %ecx,%rsi
  mov    %eax,%edi
  and    $0x1,%ecx
  sub    %ecx,%edi
  lea    0xc(%rdx),%ecx
  mov    %dil,0x0(%rbp,%rsi,1)
  cmp    %ebx,%ecx
  jge    L315
  movslq %ecx,%rsi
  mov    %eax,%edi
  and    $0x1,%ecx
  sub    %ecx,%edi
  lea    0xd(%rdx),%ecx
  mov    %dil,0x0(%rbp,%rsi,1)
  cmp    %ebx,%ecx
  jge    L315
  movslq %ecx,%rsi
  mov    %eax,%edi
  and    $0x1,%ecx
  add    $0xe,%edx
  sub    %ecx,%edi
  mov    %dil,0x0(%rbp,%rsi,1)
  cmp    %ebx,%edx
  jge    L315
  movslq %edx,%rcx
  and    $0x1,%edx
  sub    %edx,%eax
  mov    %al,0x0(%rbp,%rcx,1)
L315:
  xor    %eax,%eax
  call   <D2MCE_Mtime@plt>
  movsd  %xmm0,0x8(%rsp)
  cmp    $0x3,%ebx
  jle    L338
  mov    $0x6,%ecx
  mov    $0x3,%edx
  jmp    L369
  nopl   (%rax)
L59:
  add    $0x2,%rdx
  add    $0x4,%ecx
  cmp    %edx,%ebx
  jle    L75
L369:
  cmpb   $0x1,0x0(%rbp,%rdx,1)
  je     L59
  mov    %edx,%eax
  imul   %edx,%eax
  cmp    %ebx,%eax
  jg     L75
  cmp    %ebx,%ecx
  jge    L59
  movslq %ecx,%rax
  nopw   0x0(%rax,%rax,1)
L89:
  movb   $0x1,0x0(%rbp,%rax,1)
  add    %rdx,%rax
  cmp    %eax,%ebx
  jg     L89
  add    $0x2,%rdx
  add    $0x4,%ecx
  cmp    %edx,%ebx
  jg     L369
L75:
  xor    %eax,%eax
  call   <D2MCE_Mtime@plt>
  subsd  0x8(%rsp),%xmm0
  mov    %ebx,%esi
  xor    %eax,%eax
  lea    D148(%rip),%rdi
  movq   %xmm0,%r15
  call   <printf@plt>
  mov    %ebx,%esi
  lea    D67(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
L48:
  mov    $0x2,%r12d
  xor    %r13d,%r13d
  lea    D37(%rip),%r14
  jmp    L34
  nopl   0x0(%rax,%rax,1)
L57:
  add    $0x1,%r12
  cmp    %r12d,%ebx
  jle    L216
L34:
  cmpb   $0x0,0x0(%rbp,%r12,1)
  mov    %r12d,%esi
  jne    L57
  mov    %r14,%rdi
  xor    %eax,%eax
  add    $0x1,%r12
  add    $0x1,%r13d
  call   <printf@plt>
  cmp    %r12d,%ebx
  jg     L34
L216:
  lea    D26(%rip),%rdi
  mov    %r13d,%esi
  xor    %eax,%eax
  call   <printf@plt>
  movq   %r15,%xmm0
  mov    $0x1,%eax
  lea    D146(%rip),%rdi
  call   <printf@plt>
L82:
  add    $0x18,%rsp
  xor    %eax,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L231:
  lea    D38(%rip),%rdi
  call   <puts@plt>
  lea    D35(%rip),%rdi
  call   <puts@plt>
  jmp    L82
L220:
  mov    $0x64,%edi
  mov    $0x64,%ebx
  call   <malloc@plt>
  movb   $0x0,(%rax)
  mov    %rax,%rbp
  mov    $0x2,%eax
  jmp    L373
L294:
  xor    %eax,%eax
  call   <D2MCE_Mtime@plt>
  movsd  %xmm0,0x8(%rsp)
L338:
  xor    %eax,%eax
  xor    %r13d,%r13d
  call   <D2MCE_Mtime@plt>
  subsd  0x8(%rsp),%xmm0
  mov    %ebx,%esi
  xor    %eax,%eax
  lea    D148(%rip),%rdi
  movq   %xmm0,%r15
  call   <printf@plt>
  mov    %ebx,%esi
  lea    D67(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  cmp    $0x3,%ebx
  jne    L216
  jmp    L48
L171:
  mov    $0x1,%edx
  jmp    L317
L196:
  mov    $0x2,%edx
  jmp    L317
```

tool_calls: name: parse_data
arguments: data_tag: D140
type: string
name: parse_data
arguments: data_tag: D135
type: byte[16]
name: parse_data
arguments: data_tag: D166
type: byte[16]
name: parse_data
arguments: data_tag: D152
type: byte[16]
name: parse_data
arguments: data_tag: D49
type: byte[16]
name: parse_data
arguments: data_tag: D70
type: byte[16]
name: parse_data
arguments: data_tag: D161
type: byte[16]
name: parse_data
arguments: data_tag: D98
type: byte[16]
name: parse_data
arguments: data_tag: D148
type: string
name: parse_data
arguments: data_tag: D67
type: string
name: parse_data
arguments: data_tag: D37
type: string
name: parse_data
arguments: data_tag: D26
type: string
name: parse_data
arguments: data_tag: D146
type: string
name: parse_data
arguments: data_tag: D38
type: string
name: parse_data
arguments: data_tag: D35
type: string

tool: D140: -s

tool: {"D135": [0x10,0x00,0x00,0x00,0x10,0x00,0x00,0x00,0x10,0x00,0x00,0x00,0x10,0x00,0x00,0x00]}

tool: {"D166": [0x01,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x01,0x00,0x00,0x00]}

tool: {"D152": [0x04,0x00,0x00,0x00,0x04,0x00,0x00,0x00,0x04,0x00,0x00,0x00,0x04,0x00,0x00,0x00]}

tool: {"D49": [0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x02,0x00,0x00,0x00,0x03,0x00,0x00,0x00]}

tool: {"D70": [0x08,0x00,0x00,0x00,0x08,0x00,0x00,0x00,0x08,0x00,0x00,0x00,0x08,0x00,0x00,0x00]}

tool: {"D161": [0x0c,0x00,0x00,0x00,0x0c,0x00,0x00,0x00,0x0c,0x00,0x00,0x00,0x0c,0x00,0x00,0x00]}

tool: {"D98": [0xff,0x00,0xff,0x00,0xff,0x00,0xff,0x00,0xff,0x00,0xff,0x00,0xff,0x00,0xff,0x00]}

tool: D148: 
data size:%d


tool: D67: <%d prime have:


tool: D37: %d 

tool: D26: 
find prime count:%d

tool: D146: 
process time=%f


tool: D38: the argument only have:

tool: D35: -s: the size of vector ex: -s 256

assistant: ```c
int main(int argc, char *argv[]) {
  char *_n;
  int i, j;
  int prime = 2;
  int _number_count = 100;
  int count;
  double time;
  if (argc > 1) {
    for (i = 1; i < argc;) {
      if (strcmp(argv[i], "-s") == 0) {
        _number_count = atoi(argv[i + 1]);
        i += 2;
      } else {
        printf("the argument only have:\n");
        printf("-s: the size of vector ex: -s 256\n");
        return 0;
      }
    }
  }
  _n = (char *)malloc(sizeof(char) * _number_count);
  for (i = 0; i < _number_count; i++) {
    if (i > 2 && i % 2 == 0)
      _n[i] = 1;
    else
      _n[i] = 0;
  }
  time = -D2MCE_Mtime();
  for (i = 3; i < _number_count; i += 2) {
    if (_n[i] != 1) {
      prime = i;
      if (prime * prime > _number_count)
        break;
      for (j = prime + prime; j < _number_count; j += prime)
        _n[j] = 1;
    }
  }
  time += D2MCE_Mtime();
  count = 0;
  printf("\ndata size:%d\n", _number_count);
  printf("<%d prime have:\n", _number_count);
  for (i = 2; i < _number_count; i++) {
    if (_n[i] == 0) {
      count++;
      printf("%d ", i);
    }
  }
  printf("\nfind prime count:%d", count);
  printf("\nprocess time=%f\n", time);
  return 0;
}
```