// File: /workspace/github_cpp_makefile_star2_O2/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 0x2003d0(%rip), %eax    # 0x608552
movq %rax, (%rsp)
leal (,%rax,8), %ebx
movq %rbx, %rdi
callq 0x414190
movq %rax, 0x2004ec(%rip)    # 0x608688
movq %rbx, %rdi
callq 0x414190
movq %rax, 0x2004e5(%rip)    # 0x608690
movq %rbx, %rdi
callq 0x414190
movq %rax, 0x2004de(%rip)    # 0x608698
movq %rbx, %rdi
callq 0x414190
movq %rax, 0x2004d7(%rip)    # 0x6086a0
movq %rbx, %rdi
callq 0x414190
movq %rax, 0x2004d0(%rip)    # 0x6086a8
addq $0x10, %rbx
movq %rbx, %rdi
callq 0x414190
movq %rax, 0x2004c5(%rip)    # 0x6086b0
movq %rbx, %rdi
callq 0x414190
movq %rax, 0x2004be(%rip)    # 0x6086b8
movq %rbx, %rdi
callq 0x414190
movq %rax, 0x2004b7(%rip)    # 0x6086c0
movq %rbx, %rdi
callq 0x414190
movq %rax, 0x2004b0(%rip)    # 0x6086c8
movq %rbx, %rdi
callq 0x414190
movq %rax, 0x2004a9(%rip)    # 0x6086d0
movzbl 0x1fdf23(%rip), %ebx    # 0x606151
imulq $0x18, %rbx, %rcx
leaq 0x8(%rcx), %r14
leaq -0x18(%rcx), %rax
xorl %ebp, %ebp
pushq $0x18
popq %rsi
xorl %edx, %edx
divq %rsi
negq %rdx
leaq (%rcx,%rdx), %r15
addq $-0x18, %r15
addq $0x18, %r15
movzbl %bpl, %r13d
cmpw %r13w, (%rsp)
jbe 0x40833d
movq %rbx, %rdi
callq 0x414190
movq %rax, %r12
movq %rax, %rdi
xorl %esi, %esi
movq %rbx, %rdx
callq 0x401080
movq 0x200407(%rip), %rax    # 0x608688
movq %r12, (%rax,%r13,8)
movq %r14, %rdi
callq 0x414190
leaq 0x8(%rax), %r12
movq %rbx, (%rax)
testq %rbx, %rbx
je 0x4082a6
movq %r12, %rdi
xorl %esi, %esi
movq %r15, %rdx
callq 0x401080
movq 0x2003e3(%rip), %rax    # 0x608690
movq %r12, (%rax,%r13,8)
movq %r14, %rdi
callq 0x414190
leaq 0x8(%rax), %r12
movq %rbx, (%rax)
testq %rbx, %rbx
je 0x4082d2
movq %r12, %rdi
xorl %esi, %esi
movq %r15, %rdx
callq 0x401080
movq 0x2003bf(%rip), %rax    # 0x608698
movq %r12, (%rax,%r13,8)
movq %r14, %rdi
callq 0x414190
leaq 0x8(%rax), %r12
movq %rbx, (%rax)
testq %rbx, %rbx
je 0x4082fe
movq %r12, %rdi
xorl %esi, %esi
movq %r15, %rdx
callq 0x401080
movq 0x20039b(%rip), %rax    # 0x6086a0
movq %r12, (%rax,%r13,8)
movq %r14, %rdi
callq 0x414190
leaq 0x8(%rax), %r12
movq %rbx, (%rax)
testq %rbx, %rbx
je 0x40832a
movq %r12, %rdi
xorl %esi, %esi
movq %r15, %rdx
callq 0x401080
movq 0x200377(%rip), %rax    # 0x6086a8
movq %r12, (%rax,%r13,8)
incb %bpl
jmp 0x408253
movq (%rsp), %rax
addl $0x2, %eax
movq %rax, (%rsp)
movzbl 0x200295(%rip), %ebx    # 0x6085e4
imulq $0x18, %rbx, %rcx
leaq 0x8(%rcx), %r14
leaq -0x18(%rcx), %rax
xorl %ebp, %ebp
xorl %edx, %edx
pushq $0x18
popq %rsi
divq %rsi
negq %rdx
leaq (%rcx,%rdx), %r15
addq $-0x18, %r15
addq $0x18, %r15
movzbl %bpl, %r13d
cmpl %r13d, (%rsp)
jbe 0x40845d
movq %rbx, %rdi
callq 0x414190
movq %rax, %r12
movq %rax, %rdi
xorl %esi, %esi
movq %rbx, %rdx
callq 0x401080
movq 0x20030f(%rip), %rax    # 0x6086b0
movq %r12, (%rax,%r13,8)
movq %r14, %rdi
callq 0x414190
leaq 0x8(%rax), %r12
movq %rbx, (%rax)
testq %rbx, %rbx
je 0x4083c6
movq %r12, %rdi
xorl %esi, %esi
movq %r15, %rdx
callq 0x401080
movq 0x2002eb(%rip), %rax    # 0x6086b8
movq %r12, (%rax,%r13,8)
movq %r14, %rdi
callq 0x414190
leaq 0x8(%rax), %r12
movq %rbx, (%rax)
testq %rbx, %rbx
je 0x4083f2
movq %r12, %rdi
xorl %esi, %esi
movq %r15, %rdx
callq 0x401080
movq 0x2002c7(%rip), %rax    # 0x6086c0
movq %r12, (%rax,%r13,8)
movq %r14, %rdi
callq 0x414190
leaq 0x8(%rax), %r12
movq %rbx, (%rax)
testq %rbx, %rbx
je 0x40841e
movq %r12, %rdi
xorl %esi, %esi
movq %r15, %rdx
callq 0x401080
movq 0x2002a3(%rip), %rax    # 0x6086c8
movq %r12, (%rax,%r13,8)
movq %r14, %rdi
callq 0x414190
leaq 0x8(%rax), %r12
movq %rbx, (%rax)
testq %rbx, %rbx
je 0x40844a
movq %r12, %rdi
xorl %esi, %esi
movq %r15, %rdx
callq 0x401080
movq 0x20027f(%rip), %rax    # 0x6086d0
movq %r12, (%rax,%r13,8)
incb %bpl
jmp 0x408374
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq