// File: swxlion[P]swxJson/tests/swxJsonAdvancedTest_fetch_v2.cpp
// Function: test_unordered_dict()
void test_unordered_dict()
{
	cout<<endl<<"[Test unordered map] ..."<<endl;

	try {

		JsonPtr json = Json::parse(dictDemo.c_str());
		cout<<"get json:"<<endl;
		cout<<json<<endl<<endl;

		test_unordered_dict<std::string>(json, "strDict", "--- string unordered map:");
		test_unordered_dict<int>(json, "intDict", "--- int unordered map:");
	}
	catch (const JsonError &e)
	{
		cout<<"[Error]: "<<e.message()<<" line: "<<e.lineNumber()<<", fun: "<<e.function()<<endl;
	}
}

// Assembly:
subq $0xc8, %rsp
movq 0x4a65a(%rip), %rdi     # 0x97fd8
movq 0x4a62b(%rip), %rsi     # 0x97fb0
movq %rsi, 0x68(%rsp)
callq 0x4a360
movq %rax, %rdi
leaq 0x34bc6(%rip), %rsi     # 0x8255f
callq 0x4a300
movq 0x68(%rsp), %rsi
movq %rax, %rdi
callq 0x4a360
leaq 0x4a9a6(%rip), %rdi     # 0x98358
callq 0x4a100
movq %rax, %rsi
leaq 0xb8(%rsp), %rdi
callq 0x7d040
jmp 0x4d9c9
movq 0x4a608(%rip), %rdi     # 0x97fd8
leaq 0x3482f(%rip), %rsi     # 0x82206
callq 0x4a300
movq %rax, 0x60(%rsp)
jmp 0x4d9e3
movq 0x60(%rsp), %rdi
movq 0x4a5c1(%rip), %rsi     # 0x97fb0
callq 0x4a360
jmp 0x4d9f6
leaq 0x98(%rsp), %rdi
movq %rdi, 0x50(%rsp)
leaq 0xb8(%rsp), %rsi
callq 0x4e240
movq 0x50(%rsp), %rsi
movq 0x4a5bc(%rip), %rdi     # 0x97fd8
callq 0x69de0
movq %rax, 0x58(%rsp)
jmp 0x4da28
movq 0x58(%rsp), %rdi
movq 0x4a57c(%rip), %rsi     # 0x97fb0
callq 0x4a360
movq %rax, 0x48(%rsp)
jmp 0x4da40
movq 0x48(%rsp), %rdi
movq 0x4a564(%rip), %rsi     # 0x97fb0
callq 0x4a360
jmp 0x4da53
leaq 0x98(%rsp), %rdi
callq 0x4e270
leaq 0x88(%rsp), %rdi
movq %rdi, 0x40(%rsp)
leaq 0xb8(%rsp), %rsi
callq 0x4e240
movq 0x40(%rsp), %rdi
leaq 0x34aac(%rip), %rsi     # 0x82532
leaq 0x34aeb(%rip), %rdx     # 0x82578
callq 0x51540
jmp 0x4da94
leaq 0x88(%rsp), %rdi
callq 0x4e270
leaq 0x78(%rsp), %rdi
movq %rdi, 0x38(%rsp)
leaq 0xb8(%rsp), %rsi
callq 0x4e240
movq 0x38(%rsp), %rdi
leaq 0x34a86(%rip), %rsi     # 0x8254a
leaq 0x34ac7(%rip), %rdx     # 0x82592
callq 0x517f0
jmp 0x4dad2
leaq 0x78(%rsp), %rdi
callq 0x4e270
leaq 0xb8(%rsp), %rdi
callq 0x4e270
jmp 0x4dc6f
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0xb0(%rsp)
movl %eax, 0xac(%rsp)
jmp 0x4db8e
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0xb0(%rsp)
movl %eax, 0xac(%rsp)
jmp 0x4db81
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0xb0(%rsp)
movl %eax, 0xac(%rsp)
leaq 0x98(%rsp), %rdi
callq 0x4e270
jmp 0x4db81
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0xb0(%rsp)
movl %eax, 0xac(%rsp)
leaq 0x88(%rsp), %rdi
callq 0x4e270
jmp 0x4db81
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0xb0(%rsp)
movl %eax, 0xac(%rsp)
leaq 0x78(%rsp), %rdi
callq 0x4e270
leaq 0xb8(%rsp), %rdi
callq 0x4e270
movl 0xac(%rsp), %eax
movl $0x1, %ecx
cmpl %ecx, %eax
jne 0x4dc94
movq 0xb0(%rsp), %rdi
callq 0x4a0f0
movq %rax, 0x70(%rsp)
movq 0x4a41d(%rip), %rdi     # 0x97fd8
leaq 0x3464e(%rip), %rsi     # 0x82210
callq 0x4a300
movq %rax, 0x30(%rsp)
jmp 0x4dbce
movq 0x70(%rsp), %rdi
callq 0x4e480
movq 0x30(%rsp), %rdi
movq %rax, %rsi
callq 0x4a2c0
movq %rax, 0x28(%rsp)
jmp 0x4dbec
movq 0x28(%rsp), %rdi
leaq 0x34622(%rip), %rsi     # 0x8221a
callq 0x4a300
movq %rax, 0x20(%rsp)
jmp 0x4dc04
movq 0x70(%rsp), %rdi
callq 0x4e490
movq 0x20(%rsp), %rdi
movl %eax, %esi
callq 0x4a510
movq %rax, 0x18(%rsp)
jmp 0x4dc21
movq 0x18(%rsp), %rdi
leaq 0x345f5(%rip), %rsi     # 0x82222
callq 0x4a300
movq %rax, 0x10(%rsp)
jmp 0x4dc39
movq 0x70(%rsp), %rdi
callq 0x4e4a0
movq 0x10(%rsp), %rdi
movq %rax, %rsi
callq 0x4a300
movq %rax, 0x8(%rsp)
jmp 0x4dc57
movq 0x8(%rsp), %rdi
movq 0x4a34d(%rip), %rsi     # 0x97fb0
callq 0x4a360
jmp 0x4dc6a
callq 0x4a4e0
addq $0xc8, %rsp
retq
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0xb0(%rsp)
movl %eax, 0xac(%rsp)
callq 0x4a4e0
jmp 0x4dc92
jmp 0x4dc94
movq 0xb0(%rsp), %rdi
callq 0x4a520
movq %rax, %rdi
callq 0x4e020
nopl (%rax)