// File: /workspace/github_cpp_makefile_star2_O1/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 0x3b128(%rip), %rsi     # 0x5526d
leaq 0x3b142(%rip), %rdx     # 0x5528e
leaq 0x48(%rsp), %r15
movq %r15, %rdi
callq 0xb0c6
leaq 0x198(%rsp), %r12
movq %r12, -0x10(%r12)
movq (%r15), %rsi
movq 0x8(%r15), %rdx
addq %rsi, %rdx
leaq 0x188(%rsp), %rdi
callq 0xb036
leaq 0x188(%rsp), %rsi
movq %rbx, %rdi
callq 0x54454
movq 0x188(%rsp), %rdi
cmpq %r12, %rdi
je 0x1a19f
callq 0x7370
movq %r14, %rdi
movq %rbx, %rsi
callq 0x16a70
leaq 0x30(%rsp), %rax
movq %rax, -0x10(%rax)
leaq 0x3d1f3(%rip), %rsi     # 0x573ad
leaq 0x3d1f5(%rip), %rdx     # 0x573b6
leaq 0x20(%rsp), %rdi
callq 0xb0c6
leaq 0x10(%rsp), %rax
movq %rax, -0x10(%rax)
movq 0x50(%r14), %rsi
movq 0x58(%r14), %rdx
addq %rsi, %rdx
movq %rsp, %rdi
callq 0xb036
leaq 0x178(%rsp), %r15
movq %r15, -0x10(%r15)
movq 0x20(%rsp), %rsi
movq 0x28(%rsp), %rdx
addq %rsi, %rdx
leaq 0x168(%rsp), %rdi
callq 0xb036
leaq 0x158(%rsp), %r12
movq %r12, -0x10(%r12)
movq (%rsp), %rsi
movq 0x8(%rsp), %rdx
addq %rsi, %rdx
leaq 0x148(%rsp), %rdi
callq 0xb036
leaq 0x168(%rsp), %rsi
leaq 0x148(%rsp), %rdx
movq %rbx, %rdi
callq 0x5456c
movq 0x148(%rsp), %rdi
cmpq %r12, %rdi
je 0x1a25d
callq 0x7370
movq 0x168(%rsp), %rdi
cmpq %r15, %rdi
je 0x1a26f
callq 0x7370
leaq 0x20(%rsp), %rdi
movq 0x8(%rdi), %rdx
leaq 0x3d138(%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 0x1a2ed
movl $0x4, %r12d
movl $0xd1b71759, %eax       # imm = 0xD1B71759
movl %ebp, %ecx
cmpl $0x63, %ecx
jbe 0x1a2e4
cmpl $0x3e7, %ecx            # imm = 0x3E7
jbe 0x1a2ea
cmpl $0x2710, %ecx           # imm = 0x2710
jb 0x1a2ed
movl %ecx, %edx
imulq %rax, %rdx
shrq $0x2d, %rdx
addl $0x4, %r12d
cmpl $0x1869f, %ecx          # imm = 0x1869F
movl %edx, %ecx
ja 0x1a2b1
addl $-0x3, %r12d
jmp 0x1a2ed
addl $-0x2, %r12d
jmp 0x1a2ed
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 0xafc9
movq %rsp, %rdi
movq %r13, %rsi
callq 0x7450
movq (%r13), %rdi
cmpq %rbx, %rdi
movq %rbx, %r13
je 0x1a34d
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 0xb036
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 0xb036
leaq 0x108(%rsp), %rsi
leaq 0xe8(%rsp), %rdx
movq %rbx, %rdi
callq 0x5456c
movq 0xe8(%rsp), %rdi
cmpq %r12, %rdi
je 0x1a3c8
callq 0x7370
movq 0x108(%rsp), %rdi
cmpq %r15, %rdi
je 0x1a3da
callq 0x7370
leaq 0x20(%rsp), %rdi
movq 0x8(%rdi), %rdx
leaq 0x3cfe7(%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 0x1a458
movl $0x4, %r12d
movl $0xd1b71759, %eax       # imm = 0xD1B71759
movl %ebp, %ecx
cmpl $0x63, %ecx
jbe 0x1a44f
cmpl $0x3e7, %ecx            # imm = 0x3E7
jbe 0x1a455
cmpl $0x2710, %ecx           # imm = 0x2710
jb 0x1a458
movl %ecx, %edx
imulq %rax, %rdx
shrq $0x2d, %rdx
addl $0x4, %r12d
cmpl $0x1869f, %ecx          # imm = 0x1869F
movl %edx, %ecx
ja 0x1a41c
addl $-0x3, %r12d
jmp 0x1a458
addl $-0x2, %r12d
jmp 0x1a458
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 0xafc9
movq %rsp, %rdi
movq %r13, %rsi
callq 0x7450
movq (%r13), %rdi
cmpq %rbx, %rdi
je 0x1a4aa
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 0xb036
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 0xb036
leaq 0xc8(%rsp), %rsi
leaq 0xa8(%rsp), %rdx
movq %rbx, %rdi
callq 0x5456c
movq 0xa8(%rsp), %rdi
cmpq %r12, %rdi
je 0x1a525
callq 0x7370
movq 0xc8(%rsp), %rdi
cmpq %r15, %rdi
je 0x1a537
callq 0x7370
leaq 0x20(%rsp), %rdi
movq 0x8(%rdi), %rdx
leaq 0x3ce96(%rip), %rcx     # 0x573dd
movl $0x9, %r8d
xorl %esi, %esi
callq 0x7550
movl 0x78(%r14), %eax
cmpq $0x3, %rax
jae 0x1a585
leaq 0x3cfb3(%rip), %rdx     # 0x57518
movslq (%rdx,%rax,4), %rcx
addq %rdx, %rcx
leaq 0x3cfb5(%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 0xb036
leaq 0x78(%rsp), %r15
movq %r15, -0x10(%r15)
movq (%rsp), %rsi
movq 0x8(%rsp), %rdx
addq %rsi, %rdx
leaq 0x68(%rsp), %rdi
callq 0xb036
leaq 0x88(%rsp), %rsi
leaq 0x68(%rsp), %rdx
movq %rbx, %rdi
callq 0x5456c
movq 0x68(%rsp), %rdi
cmpq %r15, %rdi
je 0x1a5ee
callq 0x7370
movq 0x88(%rsp), %rdi
cmpq %r14, %rdi
je 0x1a600
callq 0x7370
movq %rbx, %rdi
callq 0x547fc
movq (%rsp), %rdi
leaq 0x10(%rsp), %rax
cmpq %rax, %rdi
je 0x1a61b
callq 0x7370
movq 0x20(%rsp), %rdi
leaq 0x30(%rsp), %rax
cmpq %rax, %rdi
je 0x1a62f
callq 0x7370
movq 0x48(%rsp), %rdi
leaq 0x58(%rsp), %rax
cmpq %rax, %rdi
je 0x1a643
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 0x1a66c
callq 0x7370
jmp 0x1a66c
movq %rax, %rbx
movq 0x88(%rsp), %rdi
cmpq %r14, %rdi
jne 0x1a6f1
jmp 0x1a719
movq %rax, %rbx
movq 0xa8(%rsp), %rdi
cmpq %r12, %rdi
je 0x1a698
callq 0x7370
jmp 0x1a698
movq %rax, %rbx
movq 0xc8(%rsp), %rdi
jmp 0x1a6ec
jmp 0x1a716
movq %rax, %rbx
movq 0xe8(%rsp), %rdi
cmpq %r12, %rdi
je 0x1a6be
callq 0x7370
jmp 0x1a6be
movq %rax, %rbx
movq 0x108(%rsp), %rdi
jmp 0x1a6ec
jmp 0x1a716
movq %rax, %rbx
movq 0x148(%rsp), %rdi
cmpq %r12, %rdi
je 0x1a6e4
callq 0x7370
jmp 0x1a6e4
movq %rax, %rbx
movq 0x168(%rsp), %rdi
cmpq %r15, %rdi
je 0x1a719
callq 0x7370
jmp 0x1a719
movq %rax, %rbx
jmp 0x1a72c
jmp 0x1a711
movq %rax, %rbx
movq 0x188(%rsp), %rdi
cmpq %r12, %rdi
jne 0x1a73b
jmp 0x1a740
movq %rax, %rbx
jmp 0x1a740
movq %rax, %rbx
movq (%rsp), %rdi
leaq 0x10(%rsp), %rax
cmpq %rax, %rdi
je 0x1a72c
callq 0x7370
movq 0x20(%rsp), %rdi
leaq 0x30(%rsp), %rax
cmpq %rax, %rdi
je 0x1a740
callq 0x7370
movq 0x48(%rsp), %rdi
leaq 0x58(%rsp), %rax
cmpq %rax, %rdi
je 0x1a754
callq 0x7370
movq %rbx, %rdi
callq 0x7620