user: Converte this assembly snippet into its equivalent C code:

```asm
<xilinxcorelib_a_3146741991_0543512595_p_1>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  add    $0xffffffffffffff80,%rsp
  mov    %rdi,-0x78(%rbp)
  movb   $0x0,-0x64(%rbp)
  cmpb   $0x1,-0x64(%rbp)
  je     L10
  nop
  movb   $0x0,-0x65(%rbp)
L55:
  cmpb   $0x1,-0x65(%rbp)
  je     L67
  nop
  movb   $0x0,-0x62(%rbp)
  movzbl -0x62(%rbp),%eax
  mov    %al,-0x66(%rbp)
L41:
  cmpb   $0x0,-0x66(%rbp)
  jne    L40
  nop
  mov    -0x78(%rbp),%rax
  add    $0x76b0,%rax
  mov    %rax,-0x60(%rbp)
  mov    -0x60(%rbp),%rax
  add    $0x38,%rax
  mov    %rax,-0x58(%rbp)
  mov    -0x58(%rbp),%rax
  mov    (%rax),%rax
  mov    %rax,-0x50(%rbp)
  mov    -0x50(%rbp),%rax
  add    $0x38,%rax
  mov    %rax,-0x48(%rbp)
  mov    -0x48(%rbp),%rax
  mov    (%rax),%rax
  mov    %rax,-0x40(%rbp)
  mov    -0x40(%rbp),%rax
  movb   $0x2,(%rax)
  mov    -0x60(%rbp),%rax
  mov    %rax,%rdi
  call   <xsi_driver_first_trans_fast_port@plt>
L27:
  mov    -0x78(%rbp),%rax
  add    $0x6e90,%rax
  mov    %rax,-0x8(%rbp)
  mov    -0x8(%rbp),%rax
  movl   $0x1,(%rax)
  jmp    L22
L40:
  nop
  mov    -0x78(%rbp),%rax
  add    $0x1730,%rax
  mov    %rax,-0x38(%rbp)
  mov    -0x38(%rbp),%rax
  mov    (%rax),%rax
  mov    %rax,-0x30(%rbp)
  mov    -0x30(%rbp),%rax
  movzbl (%rax),%eax
  mov    %al,-0x61(%rbp)
  mov    -0x78(%rbp),%rax
  add    $0x76b0,%rax
  mov    %rax,-0x38(%rbp)
  mov    -0x38(%rbp),%rax
  add    $0x38,%rax
  mov    %rax,-0x28(%rbp)
  mov    -0x28(%rbp),%rax
  mov    (%rax),%rax
  mov    %rax,-0x20(%rbp)
  mov    -0x20(%rbp),%rax
  add    $0x38,%rax
  mov    %rax,-0x18(%rbp)
  mov    -0x18(%rbp),%rax
  mov    (%rax),%rax
  mov    %rax,-0x10(%rbp)
  mov    -0x10(%rbp),%rax
  movzbl -0x61(%rbp),%edx
  mov    %dl,(%rax)
  mov    -0x38(%rbp),%rax
  mov    %rax,%rdi
  call   <xsi_driver_first_trans_fast_port@plt>
  jmp    L27
L67:
  nop
  movb   $0x1,-0x66(%rbp)
  jmp    L41
L10:
  nop
  movb   $0x0,-0x63(%rbp)
  movzbl -0x63(%rbp),%eax
  mov    %al,-0x65(%rbp)
  jmp    L55
L22:
  leave
  ret
```

assistant: ```c
void xilinxcorelib_a_3146741991_0543512595_p_1(char *t0) {
  unsigned char t1;
  unsigned char t2;
  unsigned char t3;
  unsigned char t4;
  unsigned char t5;
  char *t6;
  char *t7;
  unsigned char t8;
  char *t9;
  char *t10;
  char *t11;
  char *t12;
  char *t13;
  char *t14;
  char *t15;
  char *t16;
  char *t17;
  char *t18;
LAB0:
  t3 = (0 == 1);
  if (t3 == 1)
    goto LAB8;
LAB9:
  t2 = (unsigned char)0;
LAB10:
  if (t2 == 1)
    goto LAB5;
LAB6:
  t5 = (0 == 1);
  t1 = t5;
LAB7:
  if (t1 != 0)
    goto LAB3;
LAB4:
LAB11:
  t13 = (t0 + 30384);
  t14 = (t13 + 56U);
  t15 = *((char **)t14);
  t16 = (t15 + 56U);
  t17 = *((char **)t16);
  *((unsigned char *)t17) = (unsigned char)2;
  xsi_driver_first_trans_fast_port(t13);
LAB2:
  t18 = (t0 + 28304);
  *((int *)t18) = 1;
LAB1:
  return;
LAB3:
  t6 = (t0 + 5936U);
  t7 = *((char **)t6);
  t8 = *((unsigned char *)t7);
  t6 = (t0 + 30384);
  t9 = (t6 + 56U);
  t10 = *((char **)t9);
  t11 = (t10 + 56U);
  t12 = *((char **)t11);
  *((unsigned char *)t12) = t8;
  xsi_driver_first_trans_fast_port(t6);
  goto LAB2;
LAB5:
  t1 = (unsigned char)1;
  goto LAB7;
LAB8:
  t4 = (0 == 1);
  t2 = t4;
  goto LAB10;
LAB12:
  goto LAB2;
}
```