// File: /workspace/github_cpp_makefile_star2_O1/CMU-SAFARI[P]MQSim/src/ssd/Flash_Transaction_Queue.cpp
// Function: SSD_Components::Flash_Transaction_Queue::Report_results_in_XML(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, Utils::XmlWriter&)
void Flash_Transaction_Queue::Report_results_in_XML(std::string name_prefix, Utils::XmlWriter& xmlwriter)
	{
		std::string tmp = name_prefix;
		xmlwriter.Write_start_element_tag(tmp);

		std::string attr = "Name";
		std::string val = id;
		xmlwriter.Write_attribute_string_inline(attr, val);

		attr = "No_Of_Transactions_Enqueued";
		val = std::to_string(RequestQueueProbe.NRequests());
		xmlwriter.Write_attribute_string_inline(attr, val);

		attr = "No_Of_Transactions_Dequeued";
		val = std::to_string(RequestQueueProbe.NDepartures());
		xmlwriter.Write_attribute_string_inline(attr, val);

		attr = "Avg_Queue_Length";
		val = std::to_string(RequestQueueProbe.AvgQueueLength());
		xmlwriter.Write_attribute_string_inline(attr, val);

		attr = "Max_Queue_Length";
		val = std::to_string(RequestQueueProbe.MaxQueueLength());
		xmlwriter.Write_attribute_string_inline(attr, val);

		attr = "STDev_Queue_Length";
		val = std::to_string(RequestQueueProbe.STDevQueueLength());
		xmlwriter.Write_attribute_string_inline(attr, val);

		attr = "Avg_Transaction_Waiting_Time";
		val = std::to_string(RequestQueueProbe.AvgWaitingTime());
		xmlwriter.Write_attribute_string_inline(attr, val);

		attr = "Max_Transaction_Waiting_Time";
		val = std::to_string(RequestQueueProbe.MaxWaitingTime());
		xmlwriter.Write_attribute_string_inline(attr, val);

		xmlwriter.Write_end_element_tag();
	}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x2a8, %rsp            # imm = 0x2A8
movq %rdx, %rbx
movq %rdi, %r14
leaq 0x78(%rsp), %rax
movq %rax, -0x10(%rax)
movq (%rsi), %rax
movq 0x8(%rsi), %rdx
addq %rax, %rdx
leaq 0x68(%rsp), %r15
movq %r15, %rdi
movq %rax, %rsi
callq 0xb036
leaq 0x298(%rsp), %r12
movq %r12, -0x10(%r12)
movq (%r15), %rsi
movq 0x8(%r15), %rdx
addq %rsi, %rdx
leaq 0x288(%rsp), %rdi
callq 0xb036
leaq 0x288(%rsp), %rsi
movq %rbx, %rdi
callq 0x548fe
movq 0x288(%rsp), %rdi
cmpq %r12, %rdi
je 0x3eb44
callq 0x7370
leaq 0x38(%rsp), %rax
movq %rax, -0x10(%rax)
leaq 0x18fa8(%rip), %rsi     # 0x57afc
leaq 0x18fa5(%rip), %rdx     # 0x57b00
leaq 0x28(%rsp), %rdi
callq 0xb0c6
leaq 0x18(%rsp), %rax
movq %rax, -0x10(%rax)
movq 0x20(%r14), %rsi
movq 0x28(%r14), %rdx
addq %rsi, %rdx
leaq 0x8(%rsp), %rdi
callq 0xb036
leaq 0x278(%rsp), %r15
movq %r15, -0x10(%r15)
movq 0x28(%rsp), %rsi
movq 0x30(%rsp), %rdx
addq %rsi, %rdx
leaq 0x268(%rsp), %rdi
callq 0xb036
leaq 0x258(%rsp), %r12
movq %r12, -0x10(%r12)
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdx
addq %rsi, %rdx
leaq 0x248(%rsp), %rdi
callq 0xb036
leaq 0x268(%rsp), %rsi
leaq 0x248(%rsp), %rdx
movq %rbx, %rdi
callq 0x54af8
movq 0x248(%rsp), %rdi
cmpq %r12, %rdi
je 0x3ebfa
callq 0x7370
movq 0x268(%rsp), %rdi
cmpq %r15, %rdi
je 0x3ec0c
callq 0x7370
leaq 0x28(%rsp), %rdi
movq 0x8(%rdi), %rdx
leaq 0x1afdf(%rip), %rcx     # 0x59bfb
movl $0x1b, %r8d
xorl %esi, %esi
callq 0x7550
addq $0x40, %r14
movq %r14, %rdi
callq 0x4a1b4
movq %rax, %r15
movl $0x1, %esi
cmpq $0xa, %rax
jb 0x3ec92
movl $0x4, %esi
movabsq $0x346dc5d63886594b, %rdi # imm = 0x346DC5D63886594B
movq %r15, %rcx
cmpq $0x63, %rcx
jbe 0x3ec8b
cmpq $0x3e7, %rcx            # imm = 0x3E7
jbe 0x3ec90
cmpq $0x2710, %rcx           # imm = 0x2710
jb 0x3ec92
movq %rcx, %rax
mulq %rdi
shrq $0xb, %rdx
addl $0x4, %esi
cmpq $0x1869f, %rcx          # imm = 0x1869F
movq %rdx, %rcx
ja 0x3ec55
addl $-0x3, %esi
jmp 0x3ec92
addl $-0x2, %esi
jmp 0x3ec92
decl %esi
movl %esi, %esi
leaq 0x58(%rsp), %r13
movq %r13, -0x10(%r13)
leaq 0x48(%rsp), %rdi
xorl %edx, %edx
callq 0x7420
leaq 0x48(%rsp), %r12
movq (%r12), %rdi
movl 0x8(%r12), %esi
movq %r15, %rdx
callq 0x11602
leaq 0x8(%rsp), %rdi
movq %r12, %rsi
callq 0x7450
movq (%r12), %rdi
cmpq %r13, %rdi
je 0x3ecda
callq 0x7370
leaq 0x238(%rsp), %r15
movq %r15, -0x10(%r15)
movq 0x28(%rsp), %rsi
movq 0x30(%rsp), %rdx
addq %rsi, %rdx
leaq 0x228(%rsp), %rdi
callq 0xb036
leaq 0x218(%rsp), %r12
movq %r12, -0x10(%r12)
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdx
addq %rsi, %rdx
leaq 0x208(%rsp), %rdi
callq 0xb036
leaq 0x228(%rsp), %rsi
leaq 0x208(%rsp), %rdx
movq %rbx, %rdi
callq 0x54af8
movq 0x208(%rsp), %rdi
cmpq %r12, %rdi
je 0x3ed51
callq 0x7370
movq 0x228(%rsp), %rdi
cmpq %r15, %rdi
je 0x3ed63
callq 0x7370
leaq 0x28(%rsp), %rdi
movq 0x8(%rdi), %rdx
leaq 0x1aea4(%rip), %rcx     # 0x59c17
movl $0x1b, %r8d
xorl %esi, %esi
callq 0x7550
movq %r14, %rdi
callq 0x4a1ba
movq %rax, %r15
movl $0x1, %esi
cmpq $0xa, %rax
jb 0x3ede5
movl $0x4, %esi
movabsq $0x346dc5d63886594b, %rdi # imm = 0x346DC5D63886594B
movq %r15, %rcx
cmpq $0x63, %rcx
jbe 0x3edde
cmpq $0x3e7, %rcx            # imm = 0x3E7
jbe 0x3ede3
cmpq $0x2710, %rcx           # imm = 0x2710
jb 0x3ede5
movq %rcx, %rax
mulq %rdi
shrq $0xb, %rdx
addl $0x4, %esi
cmpq $0x1869f, %rcx          # imm = 0x1869F
movq %rdx, %rcx
ja 0x3eda8
addl $-0x3, %esi
jmp 0x3ede5
addl $-0x2, %esi
jmp 0x3ede5
decl %esi
movl %esi, %esi
leaq 0x48(%rsp), %rdi
movq %r13, (%rdi)
xorl %edx, %edx
callq 0x7420
leaq 0x48(%rsp), %r12
movq (%r12), %rdi
movl 0x8(%r12), %esi
movq %r15, %rdx
callq 0x11602
leaq 0x8(%rsp), %rdi
movq %r12, %rsi
callq 0x7450
movq (%r12), %rdi
cmpq %r13, %rdi
je 0x3ee27
callq 0x7370
leaq 0x1f8(%rsp), %r15
movq %r15, -0x10(%r15)
movq 0x28(%rsp), %rsi
movq 0x30(%rsp), %rdx
addq %rsi, %rdx
leaq 0x1e8(%rsp), %rdi
callq 0xb036
leaq 0x1d8(%rsp), %r12
movq %r12, -0x10(%r12)
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdx
addq %rsi, %rdx
leaq 0x1c8(%rsp), %rdi
callq 0xb036
leaq 0x1e8(%rsp), %rsi
leaq 0x1c8(%rsp), %rdx
movq %rbx, %rdi
callq 0x54af8
movq 0x1c8(%rsp), %rdi
cmpq %r12, %rdi
je 0x3ee9e
callq 0x7370
movq 0x1e8(%rsp), %rdi
cmpq %r15, %rdi
je 0x3eeb0
callq 0x7370
leaq 0x28(%rsp), %rdi
movq 0x8(%rdi), %rdx
leaq 0x1ad73(%rip), %rcx     # 0x59c33
movl $0x10, %r8d
xorl %esi, %esi
callq 0x7550
movq %r14, %rdi
callq 0x4a07a
movq 0x30084(%rip), %rsi     # 0x6ef60
leaq 0x17a44(%rip), %rcx     # 0x56927
leaq 0x48(%rsp), %rdi
movl $0x148, %edx            # imm = 0x148
movb $0x1, %al
callq 0x1167d
leaq 0x8(%rsp), %rdi
leaq 0x48(%rsp), %r15
movq %r15, %rsi
callq 0x7450
movq (%r15), %rdi
cmpq %r13, %rdi
je 0x3ef13
callq 0x7370
leaq 0x1b8(%rsp), %r15
movq %r15, -0x10(%r15)
movq 0x28(%rsp), %rsi
movq 0x30(%rsp), %rdx
addq %rsi, %rdx
leaq 0x1a8(%rsp), %rdi
callq 0xb036
leaq 0x198(%rsp), %r12
movq %r12, -0x10(%r12)
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdx
addq %rsi, %rdx
leaq 0x188(%rsp), %rdi
callq 0xb036
leaq 0x1a8(%rsp), %rsi
leaq 0x188(%rsp), %rdx
movq %rbx, %rdi
callq 0x54af8
movq 0x188(%rsp), %rdi
cmpq %r12, %rdi
je 0x3ef8a
callq 0x7370
movq 0x1a8(%rsp), %rdi
cmpq %r15, %rdi
je 0x3ef9c
callq 0x7370
leaq 0x28(%rsp), %rdi
movq 0x8(%rdi), %rdx
leaq 0x1ac98(%rip), %rcx     # 0x59c44
movl $0x10, %r8d
xorl %esi, %esi
callq 0x7550
movq %r14, %rdi
callq 0x4a072
movl %eax, %ebp
movl $0x1, %eax
cmpl $0xa, %ebp
jb 0x3f011
movl $0x4, %eax
movl $0xd1b71759, %ecx       # imm = 0xD1B71759
movl %ebp, %edx
cmpl $0x63, %edx
jbe 0x3f00a
cmpl $0x3e7, %edx            # imm = 0x3E7
jbe 0x3f00f
cmpl $0x2710, %edx           # imm = 0x2710
jb 0x3f011
movl %edx, %esi
imulq %rcx, %rsi
shrq $0x2d, %rsi
addl $0x4, %eax
cmpl $0x1869f, %edx          # imm = 0x1869F
movl %esi, %edx
ja 0x3efd9
addl $-0x3, %eax
jmp 0x3f011
addl $-0x2, %eax
jmp 0x3f011
decl %eax
movl %eax, %esi
leaq 0x48(%rsp), %rdi
movq %r13, (%rdi)
xorl %edx, %edx
callq 0x7420
leaq 0x48(%rsp), %r15
movq (%r15), %rdi
movl 0x8(%r15), %esi
movl %ebp, %edx
callq 0xafc9
leaq 0x8(%rsp), %rdi
movq %r15, %rsi
callq 0x7450
movq (%r15), %rdi
cmpq %r13, %rdi
je 0x3f04f
callq 0x7370
leaq 0x178(%rsp), %r15
movq %r15, -0x10(%r15)
movq 0x28(%rsp), %rsi
movq 0x30(%rsp), %rdx
addq %rsi, %rdx
leaq 0x168(%rsp), %rdi
callq 0xb036
leaq 0x158(%rsp), %r12
movq %r12, -0x10(%r12)
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdx
addq %rsi, %rdx
leaq 0x148(%rsp), %rdi
callq 0xb036
leaq 0x168(%rsp), %rsi
leaq 0x148(%rsp), %rdx
movq %rbx, %rdi
callq 0x54af8
movq 0x148(%rsp), %rdi
cmpq %r12, %rdi
je 0x3f0c6
callq 0x7370
movq 0x168(%rsp), %rdi
cmpq %r15, %rdi
je 0x3f0d8
callq 0x7370
leaq 0x28(%rsp), %rdi
movq 0x8(%rdi), %rdx
leaq 0x1ab6d(%rip), %rcx     # 0x59c55
movl $0x12, %r8d
xorl %esi, %esi
callq 0x7550
movq %r14, %rdi
callq 0x4a1d6
movq 0x2fe5c(%rip), %rsi     # 0x6ef60
leaq 0x1781c(%rip), %rcx     # 0x56927
leaq 0x48(%rsp), %rdi
movl $0x148, %edx            # imm = 0x148
movb $0x1, %al
callq 0x1167d
leaq 0x8(%rsp), %rdi
leaq 0x48(%rsp), %r15
movq %r15, %rsi
callq 0x7450
movq (%r15), %rdi
cmpq %r13, %rdi
je 0x3f13b
callq 0x7370
leaq 0x138(%rsp), %r15
movq %r15, -0x10(%r15)
movq 0x28(%rsp), %rsi
movq 0x30(%rsp), %rdx
addq %rsi, %rdx
leaq 0x128(%rsp), %rdi
callq 0xb036
leaq 0x118(%rsp), %r12
movq %r12, -0x10(%r12)
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdx
addq %rsi, %rdx
leaq 0x108(%rsp), %rdi
callq 0xb036
leaq 0x128(%rsp), %rsi
leaq 0x108(%rsp), %rdx
movq %rbx, %rdi
callq 0x54af8
movq 0x108(%rsp), %rdi
cmpq %r12, %rdi
je 0x3f1b2
callq 0x7370
movq 0x128(%rsp), %rdi
cmpq %r15, %rdi
je 0x3f1c4
callq 0x7370
leaq 0x28(%rsp), %rdi
movq 0x8(%rdi), %rdx
leaq 0x1aa94(%rip), %rcx     # 0x59c68
movl $0x1c, %r8d
xorl %esi, %esi
callq 0x7550
movq %r14, %rdi
callq 0x4a13c
movq %rax, %r15
movl $0x1, %esi
cmpq $0xa, %rax
jb 0x3f246
movl $0x4, %esi
movabsq $0x346dc5d63886594b, %rdi # imm = 0x346DC5D63886594B
movq %r15, %rcx
cmpq $0x63, %rcx
jbe 0x3f23f
cmpq $0x3e7, %rcx            # imm = 0x3E7
jbe 0x3f244
cmpq $0x2710, %rcx           # imm = 0x2710
jb 0x3f246
movq %rcx, %rax
mulq %rdi
shrq $0xb, %rdx
addl $0x4, %esi
cmpq $0x1869f, %rcx          # imm = 0x1869F
movq %rdx, %rcx
ja 0x3f209
addl $-0x3, %esi
jmp 0x3f246
addl $-0x2, %esi
jmp 0x3f246
decl %esi
movl %esi, %esi
leaq 0x48(%rsp), %rdi
movq %r13, (%rdi)
xorl %edx, %edx
callq 0x7420
leaq 0x48(%rsp), %r12
movq (%r12), %rdi
movl 0x8(%r12), %esi
movq %r15, %rdx
callq 0x11602
leaq 0x8(%rsp), %rdi
movq %r12, %rsi
callq 0x7450
movq (%r12), %rdi
cmpq %r13, %rdi
je 0x3f288
callq 0x7370
leaq 0xf8(%rsp), %r15
movq %r15, -0x10(%r15)
movq 0x28(%rsp), %rsi
movq 0x30(%rsp), %rdx
addq %rsi, %rdx
leaq 0xe8(%rsp), %rdi
callq 0xb036
leaq 0xd8(%rsp), %r12
movq %r12, -0x10(%r12)
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdx
addq %rsi, %rdx
leaq 0xc8(%rsp), %rdi
callq 0xb036
leaq 0xe8(%rsp), %rsi
leaq 0xc8(%rsp), %rdx
movq %rbx, %rdi
callq 0x54af8
movq 0xc8(%rsp), %rdi
cmpq %r12, %rdi
je 0x3f2ff
callq 0x7370
movq 0xe8(%rsp), %rdi
cmpq %r15, %rdi
je 0x3f311
callq 0x7370
leaq 0x28(%rsp), %rdi
movq 0x8(%rdi), %rdx
leaq 0x1a964(%rip), %rcx     # 0x59c85
movl $0x1c, %r8d
xorl %esi, %esi
callq 0x7550
movq %r14, %rdi
callq 0x4a11c
movq %rax, %r14
movl $0x1, %esi
cmpq $0xa, %rax
jb 0x3f393
movl $0x4, %esi
movabsq $0x346dc5d63886594b, %rdi # imm = 0x346DC5D63886594B
movq %r14, %rcx
cmpq $0x63, %rcx
jbe 0x3f38c
cmpq $0x3e7, %rcx            # imm = 0x3E7
jbe 0x3f391
cmpq $0x2710, %rcx           # imm = 0x2710
jb 0x3f393
movq %rcx, %rax
mulq %rdi
shrq $0xb, %rdx
addl $0x4, %esi
cmpq $0x1869f, %rcx          # imm = 0x1869F
movq %rdx, %rcx
ja 0x3f356
addl $-0x3, %esi
jmp 0x3f393
addl $-0x2, %esi
jmp 0x3f393
decl %esi
movl %esi, %esi
leaq 0x48(%rsp), %rdi
movq %r13, (%rdi)
xorl %edx, %edx
callq 0x7420
leaq 0x48(%rsp), %r15
movq (%r15), %rdi
movl 0x8(%r15), %esi
movq %r14, %rdx
callq 0x11602
leaq 0x8(%rsp), %rdi
movq %r15, %rsi
callq 0x7450
movq (%r15), %rdi
cmpq %r13, %rdi
je 0x3f3d2
callq 0x7370
leaq 0xb8(%rsp), %r14
movq %r14, -0x10(%r14)
movq 0x28(%rsp), %rsi
movq 0x30(%rsp), %rdx
addq %rsi, %rdx
leaq 0xa8(%rsp), %rdi
callq 0xb036
leaq 0x98(%rsp), %r15
movq %r15, -0x10(%r15)
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdx
addq %rsi, %rdx
leaq 0x88(%rsp), %rdi
callq 0xb036
leaq 0xa8(%rsp), %rsi
leaq 0x88(%rsp), %rdx
movq %rbx, %rdi
callq 0x54af8
movq 0x88(%rsp), %rdi
cmpq %r15, %rdi
je 0x3f448
callq 0x7370
movq 0xa8(%rsp), %rdi
cmpq %r14, %rdi
je 0x3f45a
callq 0x7370
movq %rbx, %rdi
callq 0x549ee
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x3f476
callq 0x7370
movq 0x28(%rsp), %rdi
leaq 0x38(%rsp), %rax
cmpq %rax, %rdi
je 0x3f48a
callq 0x7370
movq 0x68(%rsp), %rdi
leaq 0x78(%rsp), %rax
cmpq %rax, %rdi
je 0x3f49e
callq 0x7370
addq $0x2a8, %rsp            # imm = 0x2A8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq 0x88(%rsp), %rdi
cmpq %r15, %rdi
je 0x3f4ca
callq 0x7370
jmp 0x3f4ca
movq %rax, %rbx
movq 0xa8(%rsp), %rdi
cmpq %r14, %rdi
jne 0x3f5e8
jmp 0x3f61e
movq %rax, %rbx
movq 0xc8(%rsp), %rdi
cmpq %r12, %rdi
je 0x3f4fa
callq 0x7370
jmp 0x3f4fa
movq %rax, %rbx
movq 0xe8(%rsp), %rdi
jmp 0x3f5e3
movq %rax, %rbx
movq 0x108(%rsp), %rdi
cmpq %r12, %rdi
je 0x3f521
callq 0x7370
jmp 0x3f521
movq %rax, %rbx
movq 0x128(%rsp), %rdi
jmp 0x3f5e3
movq %rax, %rbx
movq 0x148(%rsp), %rdi
cmpq %r12, %rdi
je 0x3f548
callq 0x7370
jmp 0x3f548
movq %rax, %rbx
movq 0x168(%rsp), %rdi
jmp 0x3f5e3
movq %rax, %rbx
movq 0x188(%rsp), %rdi
cmpq %r12, %rdi
je 0x3f56f
callq 0x7370
jmp 0x3f56f
movq %rax, %rbx
movq 0x1a8(%rsp), %rdi
jmp 0x3f5e3
movq %rax, %rbx
movq 0x1c8(%rsp), %rdi
cmpq %r12, %rdi
je 0x3f593
callq 0x7370
jmp 0x3f593
movq %rax, %rbx
movq 0x1e8(%rsp), %rdi
jmp 0x3f5e3
movq %rax, %rbx
movq 0x208(%rsp), %rdi
cmpq %r12, %rdi
je 0x3f5b7
callq 0x7370
jmp 0x3f5b7
movq %rax, %rbx
movq 0x228(%rsp), %rdi
jmp 0x3f5e3
movq %rax, %rbx
movq 0x248(%rsp), %rdi
cmpq %r12, %rdi
je 0x3f5db
callq 0x7370
jmp 0x3f5db
movq %rax, %rbx
movq 0x268(%rsp), %rdi
cmpq %r15, %rdi
je 0x3f61e
callq 0x7370
jmp 0x3f61e
movq %rax, %rbx
jmp 0x3f632
jmp 0x3f608
movq %rax, %rbx
movq 0x288(%rsp), %rdi
cmpq %r12, %rdi
jne 0x3f641
jmp 0x3f646
movq %rax, %rbx
jmp 0x3f646
jmp 0x3f61b
jmp 0x3f61b
jmp 0x3f61b
jmp 0x3f61b
jmp 0x3f61b
jmp 0x3f61b
jmp 0x3f61b
movq %rax, %rbx
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x3f632
callq 0x7370
movq 0x28(%rsp), %rdi
leaq 0x38(%rsp), %rax
cmpq %rax, %rdi
je 0x3f646
callq 0x7370
movq 0x68(%rsp), %rdi
leaq 0x78(%rsp), %rax
cmpq %rax, %rdi
je 0x3f65a
callq 0x7370
movq %rbx, %rdi
callq 0x7620