// File: /workspace/github_cpp_makefile_star2_O3/CMU-SAFARI[P]MQSim/src/exec/IO_Flow_Parameter_Set.cpp
// Function: IO_Flow_Parameter_Set_Trace_Based::XML_serialize(Utils::XmlWriter&)
void IO_Flow_Parameter_Set_Trace_Based::XML_serialize(Utils::XmlWriter& xmlwriter)
{

	std::string tmp = "IO_Flow_Parameter_Set_Trace_Based";
	xmlwriter.Write_open_tag(tmp);
	IO_Flow_Parameter_Set::XML_serialize(xmlwriter);

	std::string attr = "File_Path";
	std::string val = File_Path;
	xmlwriter.Write_attribute_string(attr, val);

	attr = "Percentage_To_Be_Executed";
	val = std::to_string(Percentage_To_Be_Executed);
	xmlwriter.Write_attribute_string(attr, val);

	attr = "Relay_Count";
	val = std::to_string(Relay_Count);
	xmlwriter.Write_attribute_string(attr, val);

	attr = "Time_Unit";
	switch (Time_Unit) {
		case Trace_Time_Unit::PICOSECOND:
			val = "PICOSECOND";
			break;
		case Trace_Time_Unit::NANOSECOND:
			val = "NANOSECOND";
			break;
		case Trace_Time_Unit::MICROSECOND:
			val = "MICROSECOND";
			break;
	}
	xmlwriter.Write_attribute_string(attr, val);

	xmlwriter.Write_close_tag();
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x1a8, %rsp            # imm = 0x1A8
movq %rsi, %rbx
movq %rdi, %r14
leaq 0x58(%rsp), %rax
movq %rax, -0x10(%rax)
leaq 0x3b1b2(%rip), %rsi     # 0x5526d
leaq 0x3b1cc(%rip), %rdx     # 0x5528e
leaq 0x48(%rsp), %r15
movq %r15, %rdi
callq 0xafc8
leaq 0x198(%rsp), %r12
movq %r12, -0x10(%r12)
movq (%r15), %rsi
movq 0x8(%r15), %rdx
addq %rsi, %rdx
leaq 0x188(%rsp), %rdi
callq 0xaf32
leaq 0x188(%rsp), %rsi
movq %rbx, %rdi
callq 0x53af8
movq 0x188(%rsp), %rdi
cmpq %r12, %rdi
je 0x1a115
callq 0x7370
movq %r14, %rdi
movq %rbx, %rsi
callq 0x16974
leaq 0x30(%rsp), %rax
movq %rax, -0x10(%rax)
leaq 0x3d27d(%rip), %rsi     # 0x573ad
leaq 0x3d27f(%rip), %rdx     # 0x573b6
leaq 0x20(%rsp), %rdi
callq 0xafc8
leaq 0x10(%rsp), %rax
movq %rax, -0x10(%rax)
movq 0x50(%r14), %rsi
movq 0x58(%r14), %rdx
addq %rsi, %rdx
movq %rsp, %rdi
callq 0xaf32
leaq 0x178(%rsp), %r15
movq %r15, -0x10(%r15)
movq 0x20(%rsp), %rsi
movq 0x28(%rsp), %rdx
addq %rsi, %rdx
leaq 0x168(%rsp), %rdi
callq 0xaf32
leaq 0x158(%rsp), %r12
movq %r12, -0x10(%r12)
movq (%rsp), %rsi
movq 0x8(%rsp), %rdx
addq %rsi, %rdx
leaq 0x148(%rsp), %rdi
callq 0xaf32
leaq 0x168(%rsp), %rsi
leaq 0x148(%rsp), %rdx
movq %rbx, %rdi
callq 0x53c10
movq 0x148(%rsp), %rdi
cmpq %r12, %rdi
je 0x1a1d3
callq 0x7370
movq 0x168(%rsp), %rdi
cmpq %r15, %rdi
je 0x1a1e5
callq 0x7370
leaq 0x20(%rsp), %rdi
movq 0x8(%rdi), %rdx
leaq 0x3d1c2(%rip), %rcx     # 0x573b7
movl $0x19, %r8d
xorl %esi, %esi
callq 0x7550
movl 0x70(%r14), %r15d
movl %r15d, %ebp
negl %ebp
cmovsl %r15d, %ebp
movl $0x1, %r12d
cmpl $0xa, %ebp
jb 0x1a263
movl $0x4, %r12d
movl $0xd1b71759, %eax       # imm = 0xD1B71759
movl %ebp, %ecx
cmpl $0x63, %ecx
jbe 0x1a25a
cmpl $0x3e7, %ecx            # imm = 0x3E7
jbe 0x1a260
cmpl $0x2710, %ecx           # imm = 0x2710
jb 0x1a263
movl %ecx, %edx
imulq %rax, %rdx
shrq $0x2d, %rdx
addl $0x4, %r12d
cmpl $0x1869f, %ecx          # imm = 0x1869F
movl %edx, %ecx
ja 0x1a227
addl $-0x3, %r12d
jmp 0x1a263
addl $-0x2, %r12d
jmp 0x1a263
decl %r12d
movq %rbx, 0x40(%rsp)
shrl $0x1f, %r15d
leal (%r12,%r15), %esi
leaq 0x138(%rsp), %rbx
movq %rbx, -0x10(%rbx)
leaq 0x128(%rsp), %rdi
movl $0x2d, %edx
callq 0x7420
leaq 0x128(%rsp), %r13
addq (%r13), %r15
movq %r15, %rdi
movl %r12d, %esi
movl %ebp, %edx
callq 0xaec5
movq %rsp, %rdi
movq %r13, %rsi
callq 0x7450
movq (%r13), %rdi
cmpq %rbx, %rdi
movq %rbx, %r13
je 0x1a2c3
callq 0x7370
leaq 0x118(%rsp), %r15
movq %r15, -0x10(%r15)
movq 0x20(%rsp), %rsi
movq 0x28(%rsp), %rdx
addq %rsi, %rdx
leaq 0x108(%rsp), %rdi
callq 0xaf32
movq 0x40(%rsp), %rbx
leaq 0xf8(%rsp), %r12
movq %r12, -0x10(%r12)
movq (%rsp), %rsi
movq 0x8(%rsp), %rdx
addq %rsi, %rdx
leaq 0xe8(%rsp), %rdi
callq 0xaf32
leaq 0x108(%rsp), %rsi
leaq 0xe8(%rsp), %rdx
movq %rbx, %rdi
callq 0x53c10
movq 0xe8(%rsp), %rdi
cmpq %r12, %rdi
je 0x1a33e
callq 0x7370
movq 0x108(%rsp), %rdi
cmpq %r15, %rdi
je 0x1a350
callq 0x7370
leaq 0x20(%rsp), %rdi
movq 0x8(%rdi), %rdx
leaq 0x3d071(%rip), %rcx     # 0x573d1
movl $0xb, %r8d
xorl %esi, %esi
callq 0x7550
movl 0x74(%r14), %r15d
movl %r15d, %ebp
negl %ebp
cmovsl %r15d, %ebp
movl $0x1, %r12d
cmpl $0xa, %ebp
jb 0x1a3ce
movl $0x4, %r12d
movl $0xd1b71759, %eax       # imm = 0xD1B71759
movl %ebp, %ecx
cmpl $0x63, %ecx
jbe 0x1a3c5
cmpl $0x3e7, %ecx            # imm = 0x3E7
jbe 0x1a3cb
cmpl $0x2710, %ecx           # imm = 0x2710
jb 0x1a3ce
movl %ecx, %edx
imulq %rax, %rdx
shrq $0x2d, %rdx
addl $0x4, %r12d
cmpl $0x1869f, %ecx          # imm = 0x1869F
movl %edx, %ecx
ja 0x1a392
addl $-0x3, %r12d
jmp 0x1a3ce
addl $-0x2, %r12d
jmp 0x1a3ce
decl %r12d
shrl $0x1f, %r15d
leal (%r12,%r15), %esi
leaq 0x128(%rsp), %rdi
movq %r13, (%rdi)
movl $0x2d, %edx
callq 0x7420
movq %r13, %rbx
leaq 0x128(%rsp), %r13
addq (%r13), %r15
movq %r15, %rdi
movl %r12d, %esi
movl %ebp, %edx
callq 0xaec5
movq %rsp, %rdi
movq %r13, %rsi
callq 0x7450
movq (%r13), %rdi
cmpq %rbx, %rdi
je 0x1a420
callq 0x7370
leaq 0xd8(%rsp), %r15
movq %r15, -0x10(%r15)
movq 0x20(%rsp), %rsi
movq 0x28(%rsp), %rdx
addq %rsi, %rdx
leaq 0xc8(%rsp), %rdi
callq 0xaf32
movq 0x40(%rsp), %rbx
leaq 0xb8(%rsp), %r12
movq %r12, -0x10(%r12)
movq (%rsp), %rsi
movq 0x8(%rsp), %rdx
addq %rsi, %rdx
leaq 0xa8(%rsp), %rdi
callq 0xaf32
leaq 0xc8(%rsp), %rsi
leaq 0xa8(%rsp), %rdx
movq %rbx, %rdi
callq 0x53c10
movq 0xa8(%rsp), %rdi
cmpq %r12, %rdi
je 0x1a49b
callq 0x7370
movq 0xc8(%rsp), %rdi
cmpq %r15, %rdi
je 0x1a4ad
callq 0x7370
leaq 0x20(%rsp), %rdi
movq 0x8(%rdi), %rdx
leaq 0x3cf20(%rip), %rcx     # 0x573dd
movl $0x9, %r8d
xorl %esi, %esi
callq 0x7550
movl 0x78(%r14), %eax
cmpq $0x3, %rax
jae 0x1a4fb
leaq 0x3d03d(%rip), %rdx     # 0x57518
movslq (%rdx,%rax,4), %rcx
addq %rdx, %rcx
leaq 0x3d03f(%rip), %rdx     # 0x57528
movq (%rdx,%rax,8), %r8
movq %rsp, %rdi
movq 0x8(%rdi), %rdx
xorl %esi, %esi
callq 0x7550
leaq 0x98(%rsp), %r14
movq %r14, -0x10(%r14)
movq 0x20(%rsp), %rsi
movq 0x28(%rsp), %rdx
addq %rsi, %rdx
leaq 0x88(%rsp), %rdi
callq 0xaf32
leaq 0x78(%rsp), %r15
movq %r15, -0x10(%r15)
movq (%rsp), %rsi
movq 0x8(%rsp), %rdx
addq %rsi, %rdx
leaq 0x68(%rsp), %rdi
callq 0xaf32
leaq 0x88(%rsp), %rsi
leaq 0x68(%rsp), %rdx
movq %rbx, %rdi
callq 0x53c10
movq 0x68(%rsp), %rdi
cmpq %r15, %rdi
je 0x1a564
callq 0x7370
movq 0x88(%rsp), %rdi
cmpq %r14, %rdi
je 0x1a576
callq 0x7370
movq %rbx, %rdi
callq 0x53e9a
movq (%rsp), %rdi
leaq 0x10(%rsp), %rax
cmpq %rax, %rdi
je 0x1a591
callq 0x7370
movq 0x20(%rsp), %rdi
leaq 0x30(%rsp), %rax
cmpq %rax, %rdi
je 0x1a5a5
callq 0x7370
movq 0x48(%rsp), %rdi
leaq 0x58(%rsp), %rax
cmpq %rax, %rdi
je 0x1a5b9
callq 0x7370
addq $0x1a8, %rsp            # imm = 0x1A8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq 0x68(%rsp), %rdi
cmpq %r15, %rdi
je 0x1a5e2
callq 0x7370
jmp 0x1a5e2
movq %rax, %rbx
movq 0x88(%rsp), %rdi
cmpq %r14, %rdi
jne 0x1a667
jmp 0x1a68f
movq %rax, %rbx
movq 0xa8(%rsp), %rdi
cmpq %r12, %rdi
je 0x1a60e
callq 0x7370
jmp 0x1a60e
movq %rax, %rbx
movq 0xc8(%rsp), %rdi
jmp 0x1a662
jmp 0x1a68c
movq %rax, %rbx
movq 0xe8(%rsp), %rdi
cmpq %r12, %rdi
je 0x1a634
callq 0x7370
jmp 0x1a634
movq %rax, %rbx
movq 0x108(%rsp), %rdi
jmp 0x1a662
jmp 0x1a68c
movq %rax, %rbx
movq 0x148(%rsp), %rdi
cmpq %r12, %rdi
je 0x1a65a
callq 0x7370
jmp 0x1a65a
movq %rax, %rbx
movq 0x168(%rsp), %rdi
cmpq %r15, %rdi
je 0x1a68f
callq 0x7370
jmp 0x1a68f
movq %rax, %rbx
jmp 0x1a6a2
jmp 0x1a687
movq %rax, %rbx
movq 0x188(%rsp), %rdi
cmpq %r12, %rdi
jne 0x1a6b1
jmp 0x1a6b6
movq %rax, %rbx
jmp 0x1a6b6
movq %rax, %rbx
movq (%rsp), %rdi
leaq 0x10(%rsp), %rax
cmpq %rax, %rdi
je 0x1a6a2
callq 0x7370
movq 0x20(%rsp), %rdi
leaq 0x30(%rsp), %rax
cmpq %rax, %rdi
je 0x1a6b6
callq 0x7370
movq 0x48(%rsp), %rdi
leaq 0x58(%rsp), %rax
cmpq %rax, %rdi
je 0x1a6ca
callq 0x7370
movq %rbx, %rdi
callq 0x7620