user: 请将以下的汇编代码转换成C语言代码:

```asm
<ieee_p_3499444699_sub_16314984699443787938_3536714472>:
  endbr64
  push   %r15
  push   %r14
  mov    %r8,%r14
  push   %r13
  push   %r12
  mov    %r9,%r12
  push   %rbp
  mov    %rdi,%rbp
  push   %rbx
  mov    %rsi,%rbx
  sub    $0x58,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x48(%rsp)
  mov    0xc(%rcx),%eax
  lea    0x20(%rsp),%r15
  mov    %r15,%rsi
  lea    0x1(%rax),%r8d
  call   <ieee_std_logic_arith_conv_signed_zeroext@plt>
  lea    0x30(%rsp),%r9
  mov    %r12,%rcx
  mov    %rbp,%rdi
  mov    0xc(%r12),%r8d
  mov    %r9,%rsi
  mov    %r14,%rdx
  mov    %rax,%r13
  mov    %r9,0x8(%rsp)
  call   <ieee_std_logic_arith_conv_signed_signext@plt>
  mov    0x8(%rsp),%r9
  mov    %r15,%rcx
  mov    %r13,%rdx
  mov    %rax,%r8
  lea    0x10(%rsp),%rsi
  mov    %rbp,%rdi
  call   <ieee_std_logic_arith_mult_signed@plt>
  mov    0x1c(%rsp),%r13d
  mov    %rax,%rbp
  mov    %r13d,%edi
  call   <xsi_get_transient_memory@plt>
  mov    %r13d,%edx
  mov    %rbp,%rsi
  mov    %rax,%rdi
  mov    %rax,%r12
  call   <memcpy@plt>
  movq   0x10(%rsp),%xmm0
  mov    0x18(%rsp),%eax
  movd   %xmm0,%ecx
  pshufd $0xe5,%xmm0,%xmm1
  movd   %xmm1,%edx
  mov    %eax,0x8(%rbx)
  sub    %ecx,%edx
  movq   %xmm0,(%rbx)
  imul   %eax,%edx
  add    $0x1,%edx
  mov    %edx,0xc(%rbx)
  mov    0x48(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L2
  add    $0x58,%rsp
  mov    %r12,%rax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L2:
  call   <__stack_chk_fail@plt>
```

assistant: ```c
char *ieee_p_3499444699_sub_16314984699443787938_3536714472(char *t1, char *t2, char *t3, char *t4, char *t5, char *t6) {
  char t8[40];
  char t15[16];
  char t16[16];
  char t21[16];
  char *t0;
  char *t9;
  unsigned char t10;
  char *t11;
  char *t12;
  unsigned char t13;
  char *t14;
  char *t17;
  unsigned int t18;
  int t19;
  char *t20;
  char *t22;
  unsigned int t23;
  char *t24;
  char *t25;
  char *t26;
  unsigned int t27;
  char *t28;
  int t29;
  char *t30;
  int t31;
  char *t32;
  int t33;
  char *t34;
  char *t35;
  int t36;
  unsigned int t37;
LAB0:
  t9 = (t8 + 4U);
  t10 = (t3 != 0);
  if (t10 == 1)
    goto LAB3;
LAB2:
  t11 = (t8 + 12U);
  *((char **)t11) = t4;
  t12 = (t8 + 20U);
  t13 = (t5 != 0);
  if (t13 == 1)
    goto LAB5;
LAB4:
  t14 = (t8 + 28U);
  *((char **)t14) = t6;
  t17 = (t4 + 12U);
  t18 = *((unsigned int *)t17);
  t19 = (t18 + 1);
  t20 = ieee_std_logic_arith_conv_signed_zeroext(t1, t16, t3, t4, t19);
  t22 = (t6 + 12U);
  t23 = *((unsigned int *)t22);
  t24 = ieee_std_logic_arith_conv_signed_signext(t1, t21, t5, t6, ((t23)));
  t25 = ieee_std_logic_arith_mult_signed(t1, t15, t20, t16, t24, t21);
  t26 = (t15 + 12U);
  t27 = *((unsigned int *)t26);
  t27 = (t27 * 1U);
  t0 = xsi_get_transient_memory(t27);
  memcpy(t0, t25, t27);
  t28 = (t15 + 0U);
  t29 = *((int *)t28);
  t30 = (t15 + 4U);
  t31 = *((int *)t30);
  t32 = (t15 + 8U);
  t33 = *((int *)t32);
  t34 = (t2 + 0U);
  t35 = (t34 + 0U);
  *((int *)t35) = t29;
  t35 = (t34 + 4U);
  *((int *)t35) = t31;
  t35 = (t34 + 8U);
  *((int *)t35) = t33;
  t36 = (t31 - t29);
  t37 = (t36 * t33);
  t37 = (t37 + 1);
  t35 = (t34 + 12U);
  *((unsigned int *)t35) = t37;
LAB1:
  return t0;
LAB3:
  *((char **)t9) = t3;
  goto LAB2;
LAB5:
  *((char **)t12) = t5;
  goto LAB4;
LAB6:;
}
```