#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_port(char *);
void xilinxcorelib_a_4172306344_2959432447_p_5(char *t0) {
  char *t1;
  char *t2;
  unsigned char t3;
  char *t4;
  char *t5;
  char *t6;
  char *t7;
  char *t8;
LAB0:
LAB3:
  t1 = (t0 + 2416U);
  t2 = *((char **)t1);
  t3 = *((unsigned char *)t2);
  t1 = (t0 + 10856);
  t4 = (t1 + 56U);
  t5 = *((char **)t4);
  t6 = (t5 + 56U);
  t7 = *((char **)t6);
  *((unsigned char *)t7) = t3;
  xsi_driver_first_trans_fast_port(t1);
LAB2:
  t8 = (t0 + 10440);
  *((int *)t8) = 1;
LAB1:
  return;
LAB4:
  goto LAB2;
}


x86 assembly (clang, -O0):
<xilinxcorelib_a_4172306344_2959432447_p_5>:
push   %rbp
mov    %rsp,%rbp
sub    $0x50,%rsp
mov    %rdi,-0x8(%rbp)
jmp    1121 <xilinxcorelib_a_4172306344_2959432447_p_5+0x11>
mov    -0x8(%rbp),%rax
add    $0x970,%rax
mov    %rax,-0x10(%rbp)
mov    -0x10(%rbp),%rax
mov    (%rax),%rax
mov    %rax,-0x18(%rbp)
mov    -0x18(%rbp),%rax
mov    (%rax),%al
mov    %al,-0x19(%rbp)
mov    -0x8(%rbp),%rax
add    $0x2a68,%rax
mov    %rax,-0x10(%rbp)
mov    -0x10(%rbp),%rax
add    $0x38,%rax
mov    %rax,-0x28(%rbp)
mov    -0x28(%rbp),%rax
mov    (%rax),%rax
mov    %rax,-0x30(%rbp)
mov    -0x30(%rbp),%rax
add    $0x38,%rax
mov    %rax,-0x38(%rbp)
mov    -0x38(%rbp),%rax
mov    (%rax),%rax
mov    %rax,-0x40(%rbp)
mov    -0x19(%rbp),%cl
mov    -0x40(%rbp),%rax
mov    %cl,(%rax)
mov    -0x10(%rbp),%rdi
call   1030 <xsi_driver_first_trans_fast_port@plt>
mov    -0x8(%rbp),%rax
add    $0x28c8,%rax
mov    %rax,-0x48(%rbp)
mov    -0x48(%rbp),%rax
movl   $0x1,(%rax)
add    $0x50,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<xilinxcorelib_a_4172306344_2959432447_p_5>:
push   %rbx
mov    %rdi,%rbx
mov    0x970(%rdi),%rax
mov    (%rax),%al
add    $0x2a68,%rdi
mov    0x2aa0(%rbx),%rcx
mov    0x38(%rcx),%rcx
mov    %al,(%rcx)
call   1030 <xsi_driver_first_trans_fast_port@plt>
movl   $0x1,0x28c8(%rbx)
pop    %rbx
ret

LLVM IR (-O0):
define void @xilinxcorelib_a_4172306344_2959432447_p_5(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*
store i8* %0, i8** %2
br label %11
11: ; preds = %1
br label %12
12: ; preds = %11
%13 = load i8*, i8** %2
%14 = getelementptr inbounds i8, i8* %13, i64 2416
store i8* %14, i8** %3
%15 = load i8*, i8** %3
%16 = bitcast i8* %15 to i8**
%17 = load i8*, i8** %16
store i8* %17, i8** %4
%18 = load i8*, i8** %4
%19 = load i8, i8* %18
store i8 %19, i8* %5
%20 = load i8*, i8** %2
%21 = getelementptr inbounds i8, i8* %20, i64 10856
store i8* %21, i8** %3
%22 = load i8*, i8** %3
%23 = getelementptr inbounds i8, i8* %22, i64 56
store i8* %23, i8** %6
%24 = load i8*, i8** %6
%25 = bitcast i8* %24 to i8**
%26 = load i8*, i8** %25
store i8* %26, i8** %7
%27 = load i8*, i8** %7
%28 = getelementptr inbounds i8, i8* %27, i64 56
store i8* %28, i8** %8
%29 = load i8*, i8** %8
%30 = bitcast i8* %29 to i8**
%31 = load i8*, i8** %30
store i8* %31, i8** %9
%32 = load i8, i8* %5
%33 = load i8*, i8** %9
store i8 %32, i8* %33
%34 = load i8*, i8** %3
%35 = call i32 @xsi_driver_first_trans_fast_port(i8* %34)
br label %36
36: ; preds = %42, %12
%37 = load i8*, i8** %2
%38 = getelementptr inbounds i8, i8* %37, i64 10440
store i8* %38, i8** %10
%39 = load i8*, i8** %10
%40 = bitcast i8* %39 to i32*
store i32 1, i32* %40
br label %41
41: ; preds = %36
ret void
42: ; No predecessors!
br label %36
}

LLVM IR (-O2):
define void @xilinxcorelib_a_4172306344_2959432447_p_5(i8* %0) {
%2 = getelementptr inbounds i8, i8* %0, i64 2416
%3 = bitcast i8* %2 to i8**
%4 = load i8*, i8** %3
%5 = load i8, i8* %4
%6 = getelementptr inbounds i8, i8* %0, i64 10856
%7 = getelementptr inbounds i8, i8* %0, i64 10912
%8 = bitcast i8* %7 to i8**
%9 = load i8*, i8** %8
%10 = getelementptr inbounds i8, i8* %9, i64 56
%11 = bitcast i8* %10 to i8**
%12 = load i8*, i8** %11
store i8 %5, i8* %12
%13 = tail call i32 @xsi_driver_first_trans_fast_port(i8* %6)
%14 = getelementptr inbounds i8, i8* %0, i64 10440
%15 = bitcast i8* %14 to i32*
store i32 1, i32* %15
ret void
}