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

```asm
<main>:
  endbr64
  push   %r15
  push   %r14
  lea    D32(%rip),%r14
  push   %r13
  lea    D26(%rip),%r13
  push   %r12
  push   %rbp
  push   %rbx
  xor    %ebx,%ebx
  sub    $0x8,%rsp
  jmp    L53
  nopl   0x0(%rax)
L18:
  cmp    %rbp,%rbp
  jne    L71
L61:
  mov    %r12,%rdi
  add    $0x7d0,%ebx
  call   <free@plt>
  mov    %rbp,%rdi
  call   <free@plt>
  cmp    $0xc350,%ebx
  je     L59
L53:
  lea    0x1(%rbx),%edi
  call   <malloc@plt>
  mov    %rax,%rbp
  test   %rax,%rax
  je     L39
  mov    %ebx,%edi
  mov    %rbp,%r15
  call   <random_string@plt>
  mov    %rbp,%rdi
  mov    %rax,%r12
  mov    %rax,%rsi
  call   <strcpy@plt>
  mov    %rbp,%rsi
  mov    %r12,%rdi
  call   <strcmp@plt>
  test   %rax,%rax
  je     L18
L66:
  mov    %r14,%rdi
  mov    %rbp,%rdx
  mov    %r12,%rsi
  xor    %eax,%eax
  call   <printf@plt>
  mov    $0x1,%edi
  call   <exit@plt>
  jmp    L61
  nopw   0x0(%rax,%rax,1)
L39:
  lea    D22(%rip),%rdi
  call   <puts@plt>
  mov    $0x2,%edi
  call   <exit@plt>
  mov    %ebx,%edi
  call   <random_string@plt>
  xor    %edi,%edi
  mov    %rax,%r12
  mov    %rax,%rsi
  call   <strcpy@plt>
  xor    %esi,%esi
  mov    %r12,%rdi
  mov    %rax,%r15
  call   <strcmp@plt>
  test   %rax,%rax
  jne    L66
L71:
  mov    %r13,%rdi
  mov    %r15,%rdx
  mov    %rbp,%rsi
  xor    %eax,%eax
  call   <printf@plt>
  mov    $0x1,%edi
  call   <exit@plt>
  jmp    L61
  nopl   0x0(%rax,%rax,1)
L59:
  lea    D20(%rip),%rdi
  call   <puts@plt>
  xor    %edi,%edi
  call   <exit@plt>
  add    $0x8,%rsp
  xor    %eax,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
```

tool_calls: name: parse_data
arguments: tag: D32
datatype: string
name: parse_data
arguments: tag: D26
datatype: string
name: parse_data
arguments: tag: D22
datatype: string
name: parse_data
arguments: tag: D20
datatype: string

tool: D32: strcpy/1-1.c Test Failed, string copy failed. Expected string: %s, But got: %s


tool: D26: strcpy/1-1.c Test Failed, return is not as expected. Expected return: %p, But obtained: %p


tool: D22: strcpy/1-1.cFailed to allocate memory

tool: D20: strcpy/1-1.c Test Passed, string copied successfully

assistant: ```c
int main(void) {
  char *ret_str;
  int i;
  for (i = 0; i < 50000; i += 2000) {
    char *sample_str_1;
    char *sample_str_2 = malloc(i + 1);
    if (sample_str_2 == NULL) {
      printf("strcpy/1-1.c"
             "Failed to allocate memory\n");
      exit(2);
    }
    sample_str_1 = random_string(i);
    ret_str = strcpy(sample_str_2, sample_str_1);
    if (strcmp(sample_str_1, sample_str_2) != 0) {
      printf("strcpy/1-1.c"
             " Test Failed, string copy failed. "
             "Expected string: %s, But got: %s\n",
             sample_str_1, sample_str_2);
      exit(1);
    } else if (ret_str != sample_str_2) {
      printf("strcpy/1-1.c"
             " Test Failed, return is not as expected. "
             "Expected return: %p, But obtained: %p\n",
             sample_str_2, ret_str);
      exit(1);
    }
    free(sample_str_1);
    free(sample_str_2);
  }
  printf("strcpy/1-1.c"
         " Test Passed, string copied successfully\n");
  exit(0);
}
```