// File: /workspace/github_cpp_makefile_star2_O3/MPSLab-ASU[P]DiRAC/./src/baseAccelSim.cc
// Function: baseAccelSim::define_vars_network_comm_management()
void baseAccelSim::define_vars_network_comm_management()
{
	read_data_RF_pass																		= new bool*[RF_passes];
	RF_pass_network_read_operand												= new std::vector<uint8_t>*[RF_passes];
	RF_pass_network_read_operand_offset_network_packet	= new std::vector<uint16_t>*[RF_passes];
	RF_pass_network_read_operand_burst_width_elements		= new std::vector<uint32_t>*[RF_passes];
	RF_pass_network_read_operand_offset_base_addr_SPM		= new std::vector<uint32_t>*[RF_passes];
	write_data_RF_pass																	= new bool*[RF_passes + WB_delay_RF_pass];
	RF_pass_network_write_operand												= new std::vector<uint8_t>*[RF_passes + WB_delay_RF_pass];
	RF_pass_network_write_operand_offset_network_packet	= new std::vector<uint16_t>*[RF_passes + WB_delay_RF_pass];
	RF_pass_network_write_operand_burst_width_elements	= new std::vector<uint32_t>*[RF_passes + WB_delay_RF_pass];
	RF_pass_network_write_operand_offset_base_addr_SPM	= new std::vector<uint32_t>*[RF_passes + WB_delay_RF_pass];
	for(uint8_t it=0; it < RF_passes; it++)
	{
		read_data_RF_pass[it]																		= new bool[inNetworks]();
		RF_pass_network_read_operand[it]												= new std::vector<uint8_t>[inNetworks];
		RF_pass_network_read_operand_offset_network_packet[it]	= new std::vector<uint16_t>[inNetworks];
		RF_pass_network_read_operand_burst_width_elements[it]		= new std::vector<uint32_t>[inNetworks];
		RF_pass_network_read_operand_offset_base_addr_SPM[it]		= new std::vector<uint32_t>[inNetworks];
	}
	for(uint8_t it=0; it < RF_passes + WB_delay_RF_pass; it++)
	{
		write_data_RF_pass[it]																	= new bool[outNetworks]();
		RF_pass_network_write_operand[it]												= new std::vector<uint8_t>[outNetworks];
		RF_pass_network_write_operand_offset_network_packet[it]	= new std::vector<uint16_t>[outNetworks];
		RF_pass_network_write_operand_burst_width_elements[it]	= new std::vector<uint32_t>[outNetworks];
		RF_pass_network_write_operand_offset_base_addr_SPM[it]	= new std::vector<uint32_t>[outNetworks];
	}
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movzwl 0x200827(%rip), %r13d   # 0x60b552
leal (,%r13,8), %ebx
movq %rbx, %rdi
callq 0x418d20
movq %rax, 0x200946(%rip)    # 0x60b688
movq %rbx, %rdi
callq 0x418d20
movq %rax, 0x20093f(%rip)    # 0x60b690
movq %rbx, %rdi
callq 0x418d20
movq %rax, 0x200938(%rip)    # 0x60b698
movq %rbx, %rdi
callq 0x418d20
movq %rax, 0x200931(%rip)    # 0x60b6a0
movq %rbx, %rdi
callq 0x418d20
movq %rax, 0x20092a(%rip)    # 0x60b6a8
addq $0x10, %rbx
movq %rbx, %rdi
callq 0x418d20
movq %rax, 0x20091f(%rip)    # 0x60b6b0
movq %rbx, %rdi
callq 0x418d20
movq %rax, 0x200918(%rip)    # 0x60b6b8
movq %rbx, %rdi
callq 0x418d20
movq %rax, 0x200911(%rip)    # 0x60b6c0
movq %rbx, %rdi
callq 0x418d20
movq %rax, 0x20090a(%rip)    # 0x60b6c8
movq %rbx, %rdi
callq 0x418d20
movq %rax, 0x200903(%rip)    # 0x60b6d0
testl %r13d, %r13d
je 0x40aef8
movzbl 0x1fe374(%rip), %ebx    # 0x609151
movl %ebx, %eax
shll $0x3, %eax
leaq (%rax,%rax,2), %r14
addq $0x8, %r14
leaq (%rax,%rax,2), %rax
addq $-0x18, %rax
movabsq $-0x5555555555555555, %rcx # imm = 0xAAAAAAAAAAAAAAAB
mulq %rcx
shrq $0x4, %rdx
leaq (%rdx,%rdx,2), %rax
leaq 0x18(,%rax,8), %r15
xorl %ebp, %ebp
movq %rbx, %rdi
callq 0x418d20
movq %rax, %r12
movq %rax, %rdi
xorl %esi, %esi
movq %rbx, %rdx
callq 0x401088
movq 0x200858(%rip), %rax    # 0x60b688
movzbl %bpl, %ebp
movq %r12, (%rax,%rbp,8)
movq %r14, %rdi
callq 0x418d20
leaq 0x8(%rax), %r12
movq %rbx, (%rax)
testq %rbx, %rbx
je 0x40ae59
movq %r12, %rdi
xorl %esi, %esi
movq %r15, %rdx
callq 0x401088
movq 0x200830(%rip), %rax    # 0x60b690
movq %r12, (%rax,%rbp,8)
movq %r14, %rdi
callq 0x418d20
leaq 0x8(%rax), %r12
movq %rbx, (%rax)
testq %rbx, %rbx
je 0x40ae85
movq %r12, %rdi
xorl %esi, %esi
movq %r15, %rdx
callq 0x401088
movq 0x20080c(%rip), %rax    # 0x60b698
movq %r12, (%rax,%rbp,8)
movq %r14, %rdi
callq 0x418d20
leaq 0x8(%rax), %r12
movq %rbx, (%rax)
testq %rbx, %rbx
je 0x40aeb1
movq %r12, %rdi
xorl %esi, %esi
movq %r15, %rdx
callq 0x401088
movq 0x2007e8(%rip), %rax    # 0x60b6a0
movq %r12, (%rax,%rbp,8)
movq %r14, %rdi
callq 0x418d20
leaq 0x8(%rax), %r12
movq %rbx, (%rax)
testq %rbx, %rbx
je 0x40aedd
movq %r12, %rdi
xorl %esi, %esi
movq %r15, %rdx
callq 0x401088
movq 0x2007c4(%rip), %rax    # 0x60b6a8
movq %r12, (%rax,%rbp,8)
incl %ebp
movzbl %bpl, %eax
cmpw %ax, %r13w
ja 0x40ae11
addl $0x2, %r13d
movzbl 0x2006e1(%rip), %ebx    # 0x60b5e4
movl %ebx, %eax
shll $0x3, %eax
leaq (%rax,%rax,2), %r14
addq $0x8, %r14
leaq (%rax,%rax,2), %rax
addq $-0x18, %rax
movabsq $-0x5555555555555555, %rcx # imm = 0xAAAAAAAAAAAAAAAB
mulq %rcx
shrq $0x4, %rdx
leaq (%rdx,%rdx,2), %rax
leaq 0x18(,%rax,8), %r15
xorl %ebp, %ebp
movq %rbx, %rdi
callq 0x418d20
movq %rax, %r12
movq %rax, %rdi
xorl %esi, %esi
movq %rbx, %rdx
callq 0x401088
movq 0x20075a(%rip), %rax    # 0x60b6b0
movzbl %bpl, %ebp
movq %r12, (%rax,%rbp,8)
movq %r14, %rdi
callq 0x418d20
leaq 0x8(%rax), %r12
movq %rbx, (%rax)
testq %rbx, %rbx
je 0x40af7f
movq %r12, %rdi
xorl %esi, %esi
movq %r15, %rdx
callq 0x401088
movq 0x200732(%rip), %rax    # 0x60b6b8
movq %r12, (%rax,%rbp,8)
movq %r14, %rdi
callq 0x418d20
leaq 0x8(%rax), %r12
movq %rbx, (%rax)
testq %rbx, %rbx
je 0x40afab
movq %r12, %rdi
xorl %esi, %esi
movq %r15, %rdx
callq 0x401088
movq 0x20070e(%rip), %rax    # 0x60b6c0
movq %r12, (%rax,%rbp,8)
movq %r14, %rdi
callq 0x418d20
leaq 0x8(%rax), %r12
movq %rbx, (%rax)
testq %rbx, %rbx
je 0x40afd7
movq %r12, %rdi
xorl %esi, %esi
movq %r15, %rdx
callq 0x401088
movq 0x2006ea(%rip), %rax    # 0x60b6c8
movq %r12, (%rax,%rbp,8)
movq %r14, %rdi
callq 0x418d20
leaq 0x8(%rax), %r12
movq %rbx, (%rax)
testq %rbx, %rbx
je 0x40b003
movq %r12, %rdi
xorl %esi, %esi
movq %r15, %rdx
callq 0x401088
movq 0x2006c6(%rip), %rax    # 0x60b6d0
movq %r12, (%rax,%rbp,8)
incl %ebp
movzbl %bpl, %eax
cmpl %eax, %r13d
ja 0x40af37
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq