#define NULL ((void *)0)
typedef unsigned long size_t; // Customize by platform.
typedef long intptr_t;
typedef unsigned long uintptr_t;
typedef long scalar_t__; // Either arithmetic or pointer type.
/* By default, we understand bool (as a convenience). */
typedef int bool;
#define false 0
#define true 1

/* Forward declarations */

/* Type definitions */

/* Variables and functions */
int /*<<< orphan*/ xsi_driver_first_trans_fast(char *);
void xilinxcorelib_a_3146741991_0543512595_p_3(char *t0) {
  unsigned char t1;
  char *t2;
  char *t3;
  unsigned char t4;
  char *t5;
  char *t6;
  char *t7;
  char *t8;
  char *t9;
  char *t10;
  char *t11;
  char *t12;
  char *t13;
  char *t14;
LAB0:
  t1 = (0 == 1);
  if (t1 != 0)
    goto LAB3;
LAB4:
LAB5:
  t9 = (t0 + 30512);
  t10 = (t9 + 56U);
  t11 = *((char **)t10);
  t12 = (t11 + 56U);
  t13 = *((char **)t12);
  *((unsigned char *)t13) = (unsigned char)3;
  xsi_driver_first_trans_fast(t9);
LAB2:
  t14 = (t0 + 28336);
  *((int *)t14) = 1;
LAB1:
  return;
LAB3:
  t2 = (t0 + 1616U);
  t3 = *((char **)t2);
  t4 = *((unsigned char *)t3);
  t2 = (t0 + 30512);
  t5 = (t2 + 56U);
  t6 = *((char **)t5);
  t7 = (t6 + 56U);
  t8 = *((char **)t7);
  *((unsigned char *)t8) = t4;
  xsi_driver_first_trans_fast(t2);
  goto LAB2;
LAB6:
  goto LAB2;
}


x86 assembly (clang, -O0):
<xilinxcorelib_a_3146741991_0543512595_p_3>:
push   %rbp
mov    %rsp,%rbp
sub    $0x80,%rsp
mov    %rdi,-0x8(%rbp)
movb   $0x0,-0x9(%rbp)
movzbl -0x9(%rbp),%eax
cmp    $0x0,%eax
je     1135 <xilinxcorelib_a_3146741991_0543512595_p_3+0x25>
jmp    11ac <xilinxcorelib_a_3146741991_0543512595_p_3+0x9c>
jmp    113a <xilinxcorelib_a_3146741991_0543512595_p_3+0x2a>
jmp    113f <xilinxcorelib_a_3146741991_0543512595_p_3+0x2f>
mov    -0x8(%rbp),%rax
add    $0x7730,%rax
mov    %rax,-0x50(%rbp)
mov    -0x50(%rbp),%rax
add    $0x38,%rax
mov    %rax,-0x58(%rbp)
mov    -0x58(%rbp),%rax
mov    (%rax),%rax
mov    %rax,-0x60(%rbp)
mov    -0x60(%rbp),%rax
add    $0x38,%rax
mov    %rax,-0x68(%rbp)
mov    -0x68(%rbp),%rax
mov    (%rax),%rax
mov    %rax,-0x70(%rbp)
mov    -0x70(%rbp),%rax
movb   $0x3,(%rax)
mov    -0x50(%rbp),%rdi
call   1030 <xsi_driver_first_trans_fast@plt>
mov    -0x8(%rbp),%rax
add    $0x6eb0,%rax
mov    %rax,-0x78(%rbp)
mov    -0x78(%rbp),%rax
movl   $0x1,(%rax)
add    $0x80,%rsp
pop    %rbp
ret
mov    -0x8(%rbp),%rax
add    $0x650,%rax
mov    %rax,-0x18(%rbp)
mov    -0x18(%rbp),%rax
mov    (%rax),%rax
mov    %rax,-0x20(%rbp)
mov    -0x20(%rbp),%rax
mov    (%rax),%al
mov    %al,-0x21(%rbp)
mov    -0x8(%rbp),%rax
add    $0x7730,%rax
mov    %rax,-0x18(%rbp)
mov    -0x18(%rbp),%rax
add    $0x38,%rax
mov    %rax,-0x30(%rbp)
mov    -0x30(%rbp),%rax
mov    (%rax),%rax
mov    %rax,-0x38(%rbp)
mov    -0x38(%rbp),%rax
add    $0x38,%rax
mov    %rax,-0x40(%rbp)
mov    -0x40(%rbp),%rax
mov    (%rax),%rax
mov    %rax,-0x48(%rbp)
mov    -0x21(%rbp),%cl
mov    -0x48(%rbp),%rax
mov    %cl,(%rax)
mov    -0x18(%rbp),%rdi
call   1030 <xsi_driver_first_trans_fast@plt>
jmp    118b <xilinxcorelib_a_3146741991_0543512595_p_3+0x7b>

x86 assembly (clang, -O2):
<xilinxcorelib_a_3146741991_0543512595_p_3>:
push   %rbx
mov    %rdi,%rbx
add    $0x7730,%rdi
mov    0x7768(%rbx),%rax
mov    0x38(%rax),%rax
movb   $0x3,(%rax)
call   1030 <xsi_driver_first_trans_fast@plt>
movl   $0x1,0x6eb0(%rbx)
pop    %rbx
ret

LLVM IR (-O0):
define void @xilinxcorelib_a_3146741991_0543512595_p_3(i8* %0) {
%2 = alloca i8*
%3 = alloca i8
%4 = alloca i8*
%5 = alloca i8*
%6 = alloca i8
%7 = alloca i8*
%8 = alloca i8*
%9 = alloca i8*
%10 = alloca i8*
%11 = alloca i8*
%12 = alloca i8*
%13 = alloca i8*
%14 = alloca i8*
%15 = alloca i8*
%16 = alloca i8*
store i8* %0, i8** %2
br label %17
17: ; preds = %1
store i8 0, i8* %3
%18 = load i8, i8* %3
%19 = zext i8 %18 to i32
%20 = icmp ne i32 %19, 0
br i1 %20, label %21, label %22
21: ; preds = %17
br label %46
22: ; preds = %17
br label %23
23: ; preds = %22
br label %24
24: ; preds = %23
%25 = load i8*, i8** %2
%26 = getelementptr inbounds i8, i8* %25, i64 30512
store i8* %26, i8** %11
%27 = load i8*, i8** %11
%28 = getelementptr inbounds i8, i8* %27, i64 56
store i8* %28, i8** %12
%29 = load i8*, i8** %12
%30 = bitcast i8* %29 to i8**
%31 = load i8*, i8** %30
store i8* %31, i8** %13
%32 = load i8*, i8** %13
%33 = getelementptr inbounds i8, i8* %32, i64 56
store i8* %33, i8** %14
%34 = load i8*, i8** %14
%35 = bitcast i8* %34 to i8**
%36 = load i8*, i8** %35
store i8* %36, i8** %15
%37 = load i8*, i8** %15
store i8 3, i8* %37
%38 = load i8*, i8** %11
%39 = call i32 @xsi_driver_first_trans_fast(i8* %38)
br label %40
40: ; preds = %70, %46, %24
%41 = load i8*, i8** %2
%42 = getelementptr inbounds i8, i8* %41, i64 28336
store i8* %42, i8** %16
%43 = load i8*, i8** %16
%44 = bitcast i8* %43 to i32*
store i32 1, i32* %44
br label %45
45: ; preds = %40
ret void
46: ; preds = %21
%47 = load i8*, i8** %2
%48 = getelementptr inbounds i8, i8* %47, i64 1616
store i8* %48, i8** %4
%49 = load i8*, i8** %4
%50 = bitcast i8* %49 to i8**
%51 = load i8*, i8** %50
store i8* %51, i8** %5
%52 = load i8*, i8** %5
%53 = load i8, i8* %52
store i8 %53, i8* %6
%54 = load i8*, i8** %2
%55 = getelementptr inbounds i8, i8* %54, i64 30512
store i8* %55, i8** %4
%56 = load i8*, i8** %4
%57 = getelementptr inbounds i8, i8* %56, i64 56
store i8* %57, i8** %7
%58 = load i8*, i8** %7
%59 = bitcast i8* %58 to i8**
%60 = load i8*, i8** %59
store i8* %60, i8** %8
%61 = load i8*, i8** %8
%62 = getelementptr inbounds i8, i8* %61, i64 56
store i8* %62, i8** %9
%63 = load i8*, i8** %9
%64 = bitcast i8* %63 to i8**
%65 = load i8*, i8** %64
store i8* %65, i8** %10
%66 = load i8, i8* %6
%67 = load i8*, i8** %10
store i8 %66, i8* %67
%68 = load i8*, i8** %4
%69 = call i32 @xsi_driver_first_trans_fast(i8* %68)
br label %40
70: ; No predecessors!
br label %40
}

LLVM IR (-O2):
define void @xilinxcorelib_a_3146741991_0543512595_p_3(i8* %0) {
%2 = getelementptr inbounds i8, i8* %0, i64 30512
%3 = getelementptr inbounds i8, i8* %0, i64 30568
%4 = bitcast i8* %3 to i8**
%5 = load i8*, i8** %4
%6 = getelementptr inbounds i8, i8* %5, i64 56
%7 = bitcast i8* %6 to i8**
%8 = load i8*, i8** %7
store i8 3, i8* %8
%9 = tail call i32 @xsi_driver_first_trans_fast(i8* %2)
%10 = getelementptr inbounds i8, i8* %0, i64 28336
%11 = bitcast i8* %10 to i32*
store i32 1, i32* %11
ret void
}