// File: /workspace/github_cpp_makefile_star2_O1/tdv[P]boss/boss/examples/simple_enum/main.cpp
// Function: CreateTestCollection()
Boss::RefObjPtr<Boss::IEnum> CreateTestCollection()
{
  auto Collection = Boss::Base<Boss::Enum>::Create();
  // FixPrice
  Collection->AddItem(Boss::Base<MyNs::Impl::FixPrice>::Create(10));
  Collection->AddItem(Boss::Base<MyNs::Impl::FixPrice>::Create(15));
  // BestOffer
  Collection->AddItem(Boss::Base<MyNs::Impl::BestOffer>::Create(7));
  // Auction
  Collection->AddItem(Boss::Base<MyNs::Impl::Auction>::Create(42));
  Collection->AddItem(Boss::Base<MyNs::Impl::Auction>::Create(17));
  Collection->AddItem(Boss::Base<MyNs::Impl::Auction>::Create(55));
  return Collection;
}

// Assembly:
pushq %r14
pushq %rbx
subq $0x48, %rsp
movq %rdi, %rbx
leaq 0x10(%rsp), %r14
movq %r14, %rdi
callq 0x19304
movq (%r14), %r14
leaq 0xc(%rsp), %rsi
movl $0xa, (%rsi)
leaq 0x40(%rsp), %rdi
callq 0x19470
leaq 0x40(%rsp), %rsi
movq %r14, %rdi
callq 0x193d8
movq 0x40(%rsp), %rdi
testq %rdi, %rdi
je 0x180ff
movq (%rdi), %rax
callq *0x20(%rax)
movq $0x0, 0x40(%rsp)
movq 0x10(%rsp), %r14
leaq 0xc(%rsp), %rsi
movl $0xf, (%rsi)
leaq 0x38(%rsp), %rdi
callq 0x19470
leaq 0x38(%rsp), %rsi
movq %r14, %rdi
callq 0x193d8
movq 0x38(%rsp), %rdi
testq %rdi, %rdi
je 0x1813f
movq (%rdi), %rax
callq *0x20(%rax)
movq $0x0, 0x38(%rsp)
movq 0x10(%rsp), %r14
leaq 0xc(%rsp), %rsi
movl $0x7, (%rsi)
leaq 0x30(%rsp), %rdi
callq 0x195a0
leaq 0x30(%rsp), %rsi
movq %r14, %rdi
callq 0x19508
movq 0x30(%rsp), %rdi
testq %rdi, %rdi
je 0x1817f
movq (%rdi), %rax
callq *0x20(%rax)
movq $0x0, 0x30(%rsp)
movq 0x10(%rsp), %r14
leaq 0xc(%rsp), %rsi
movl $0x2a, (%rsi)
leaq 0x28(%rsp), %rdi
callq 0x196ea
leaq 0x28(%rsp), %rsi
movq %r14, %rdi
callq 0x19652
movq 0x28(%rsp), %rdi
testq %rdi, %rdi
je 0x181bf
movq (%rdi), %rax
callq *0x20(%rax)
movq $0x0, 0x28(%rsp)
movq 0x10(%rsp), %r14
leaq 0xc(%rsp), %rsi
movl $0x11, (%rsi)
leaq 0x20(%rsp), %rdi
callq 0x196ea
leaq 0x20(%rsp), %rsi
movq %r14, %rdi
callq 0x19652
movq 0x20(%rsp), %rdi
testq %rdi, %rdi
je 0x181ff
movq (%rdi), %rax
callq *0x20(%rax)
movq $0x0, 0x20(%rsp)
movq 0x10(%rsp), %r14
leaq 0xc(%rsp), %rsi
movl $0x37, (%rsi)
leaq 0x18(%rsp), %rdi
callq 0x196ea
leaq 0x18(%rsp), %rsi
movq %r14, %rdi
callq 0x19652
movq 0x18(%rsp), %rdi
testq %rdi, %rdi
je 0x1823f
movq (%rdi), %rax
callq *0x20(%rax)
movq $0x0, 0x18(%rsp)
movq 0x10(%rsp), %rax
leaq 0x8(%rax), %rcx
testq %rax, %rax
cmoveq %rax, %rcx
movq %rcx, (%rbx)
movq %rbx, %rax
addq $0x48, %rsp
popq %rbx
popq %r14
retq
jmp 0x1837e
jmp 0x1837e
jmp 0x1837e
jmp 0x1837e
jmp 0x1837e
jmp 0x1837e
movq %rax, %rbx
movq 0x18(%rsp), %rdi
testq %rdi, %rdi
je 0x18297
movq (%rdi), %rax
callq *0x20(%rax)
movq $0x0, 0x18(%rsp)
jmp 0x18366
jmp 0x1837e
jmp 0x18363
movq %rax, %rbx
movq 0x20(%rsp), %rdi
testq %rdi, %rdi
je 0x182c2
movq (%rdi), %rax
callq *0x20(%rax)
movq $0x0, 0x20(%rsp)
jmp 0x18366
jmp 0x1837e
jmp 0x18363
movq %rax, %rbx
movq 0x28(%rsp), %rdi
testq %rdi, %rdi
je 0x182ed
movq (%rdi), %rax
callq *0x20(%rax)
movq $0x0, 0x28(%rsp)
jmp 0x18366
jmp 0x1837e
jmp 0x18363
movq %rax, %rbx
movq 0x30(%rsp), %rdi
testq %rdi, %rdi
je 0x18312
movq (%rdi), %rax
callq *0x20(%rax)
movq $0x0, 0x30(%rsp)
jmp 0x18366
jmp 0x1837e
jmp 0x18363
movq %rax, %rbx
movq 0x38(%rsp), %rdi
testq %rdi, %rdi
je 0x18334
movq (%rdi), %rax
callq *0x20(%rax)
movq $0x0, 0x38(%rsp)
jmp 0x18366
jmp 0x1837e
jmp 0x18363
movq %rax, %rbx
movq 0x40(%rsp), %rdi
testq %rdi, %rdi
je 0x18356
movq (%rdi), %rax
callq *0x20(%rax)
movq $0x0, 0x40(%rsp)
jmp 0x18366
jmp 0x1837e
movq %rax, %rbx
movq 0x10(%rsp), %rdi
testq %rdi, %rdi
je 0x18376
movq (%rdi), %rax
callq *0x20(%rax)
movq %rbx, %rdi
callq 0xbc480
movq %rax, %rdi
callq 0x19dff