// File: /workspace/github_cpp_makefile_star2_O1/kdungs[P]cpp-prelude/test_prelude.cc
// Function: test_unzip3()
auto test_unzip3() -> void {
  using Prelude::unzip3;
  auto expectL = std::vector<int>{1, 2, 3};
  auto expectM = std::vector<char>{'a', 'b', 'c'};
  auto expectR = std::vector<bool>{true, false, true};
  std::vector<int> resultL;
  std::vector<char> resultM;
  std::vector<bool> resultR;
  std::tie(resultL, resultM, resultR) =
      unzip3(std::vector<std::tuple<int, char, bool>>{
          std::make_tuple(1, 'a', true), std::make_tuple(2, 'b', false),
          std::make_tuple(3, 'c', true)});
  assert(resultL == expectL);
  assert(resultM == expectM);
  assert(resultR == expectR);
}

// Assembly:
pushq %rbx
subq $0x170, %rsp            # imm = 0x170
movabsq $0x200000001, %rax      # imm = 0x200000001
leaq 0xe8(%rsp), %rbx
movq %rax, (%rbx)
movl $0x3, 0x8(%rbx)
leaq 0xb8(%rsp), %rdi
leaq 0x38(%rsp), %rcx
movl $0x3, %edx
movq %rbx, %rsi
callq 0x7016
movw $0x6261, (%rbx)         # imm = 0x6261
movb $0x63, 0x2(%rbx)
leaq 0xa0(%rsp), %rdi
leaq 0xe8(%rsp), %rsi
leaq 0x38(%rsp), %rcx
movl $0x3, %edx
callq 0x75aa
leaq 0xe8(%rsp), %rsi
movw $0x1, (%rsi)
movb $0x1, 0x2(%rsi)
leaq 0x38(%rsp), %rdi
leaq 0x10(%rsp), %rbx
movl $0x3, %edx
movq %rbx, %rcx
callq 0x6fb8
xorl %eax, %eax
movq %rax, 0x90(%rsp)
xorps %xmm0, %xmm0
movaps %xmm0, 0x80(%rsp)
movq %rax, 0x70(%rsp)
movaps %xmm0, 0x60(%rsp)
movq %rax, 0x10(%rsp)
movl %eax, 0x18(%rsp)
movq %rax, 0x20(%rsp)
movl %eax, 0x28(%rsp)
movq %rax, 0x30(%rsp)
leaq 0x158(%rsp), %rsi
movw $0x6101, (%rsi)         # imm = 0x6101
movl $0x1, 0x4(%rsi)
movw $0x6200, 0x8(%rsi)      # imm = 0x6200
movl $0x2, 0xc(%rsi)
movw $0x6301, 0x10(%rsi)     # imm = 0x6301
movl $0x3, 0x14(%rsi)
leaq 0xd0(%rsp), %rdi
leaq 0xf(%rsp), %rcx
movl $0x3, %edx
callq 0x79be
leaq 0xe8(%rsp), %rdi
leaq 0xd0(%rsp), %rsi
callq 0x7820
leaq 0x140(%rsp), %rdi
movq %rbx, (%rdi)
leaq 0x60(%rsp), %rax
movq %rax, 0x8(%rdi)
leaq 0x80(%rsp), %rax
movq %rax, 0x10(%rdi)
leaq 0xe8(%rsp), %rsi
callq 0x9c10
movq 0x128(%rsp), %rdi
testq %rdi, %rdi
je 0x6b0f
movq 0x138(%rsp), %rsi
subq %rdi, %rsi
callq 0x20f0
movq 0x110(%rsp), %rdi
testq %rdi, %rdi
je 0x6b2c
movq 0x120(%rsp), %rsi
subq %rdi, %rsi
callq 0x20f0
movq 0xe8(%rsp), %rdi
testq %rdi, %rdi
je 0x6b71
movq 0x108(%rsp), %rsi
subq %rdi, %rsi
callq 0x20f0
xorl %eax, %eax
movq %rax, 0xe8(%rsp)
movl %eax, 0xf0(%rsp)
movq %rax, 0xf8(%rsp)
movl %eax, 0x100(%rsp)
movq %rax, 0x108(%rsp)
movq 0xd0(%rsp), %rdi
testq %rdi, %rdi
je 0x6b8e
movq 0xe0(%rsp), %rsi
subq %rdi, %rsi
callq 0x20f0
movq 0x80(%rsp), %rdi
movq 0x88(%rsp), %rax
movq %rax, %rdx
subq %rdi, %rdx
movq 0xb8(%rsp), %rsi
movq 0xc0(%rsp), %rcx
subq %rsi, %rcx
cmpq %rcx, %rdx
jne 0x6d4f
cmpq %rdi, %rax
je 0x6bd2
callq 0x2100
testl %eax, %eax
jne 0x6d4f
movq 0x60(%rsp), %rdi
movq 0x68(%rsp), %rax
movq %rax, %rdx
subq %rdi, %rdx
movq 0xa0(%rsp), %rsi
movq 0xa8(%rsp), %rcx
subq %rsi, %rcx
cmpq %rcx, %rdx
jne 0x6d6e
cmpq %rdi, %rax
je 0x6c10
callq 0x2100
testl %eax, %eax
jne 0x6d6e
movq 0x10(%rsp), %rdi
movq 0x20(%rsp), %rdx
movl 0x28(%rsp), %ecx
movq %rdx, %rax
subq %rdi, %rax
leaq (%rcx,%rax,8), %rax
movq 0x38(%rsp), %r8
movq 0x48(%rsp), %rsi
movl 0x50(%rsp), %r9d
subq %r8, %rsi
leaq (%r9,%rsi,8), %rsi
cmpq %rsi, %rax
jne 0x6d30
xorl %esi, %esi
xorl %r9d, %r9d
callq 0x800e
testb %al, %al
je 0x6d30
movq 0x10(%rsp), %rdi
testq %rdi, %rdi
je 0x6c89
movq 0x30(%rsp), %rsi
subq %rdi, %rsi
callq 0x20f0
xorl %eax, %eax
movq %rax, 0x10(%rsp)
movl %eax, 0x18(%rsp)
movq %rax, 0x20(%rsp)
movl %eax, 0x28(%rsp)
movq %rax, 0x30(%rsp)
movq 0x60(%rsp), %rdi
testq %rdi, %rdi
je 0x6ca0
movq 0x70(%rsp), %rsi
subq %rdi, %rsi
callq 0x20f0
movq 0x80(%rsp), %rdi
testq %rdi, %rdi
je 0x6cbd
movq 0x90(%rsp), %rsi
subq %rdi, %rsi
callq 0x20f0
movq 0x38(%rsp), %rdi
testq %rdi, %rdi
je 0x6ced
movq 0x58(%rsp), %rsi
subq %rdi, %rsi
callq 0x20f0
xorl %eax, %eax
movq %rax, 0x38(%rsp)
movl %eax, 0x40(%rsp)
movq %rax, 0x48(%rsp)
movl %eax, 0x50(%rsp)
movq %rax, 0x58(%rsp)
movq 0xa0(%rsp), %rdi
testq %rdi, %rdi
je 0x6d0a
movq 0xb0(%rsp), %rsi
subq %rdi, %rsi
callq 0x20f0
movq 0xb8(%rsp), %rdi
testq %rdi, %rdi
je 0x6d27
movq 0xc8(%rsp), %rsi
subq %rdi, %rsi
callq 0x20f0
addq $0x170, %rsp            # imm = 0x170
popq %rbx
retq
leaq 0x382a(%rip), %rdi      # 0xa561
leaq 0x3331(%rip), %rsi      # 0xa06f
leaq 0x38e5(%rip), %rcx      # 0xa62a
movl $0x15b, %edx            # imm = 0x15B
callq 0x2090
leaq 0x37e4(%rip), %rdi      # 0xa53a
leaq 0x3312(%rip), %rsi      # 0xa06f
leaq 0x38c6(%rip), %rcx      # 0xa62a
movl $0x159, %edx            # imm = 0x159
callq 0x2090
leaq 0x38c8(%rip), %rdi      # 0xa63d
leaq 0x32f3(%rip), %rsi      # 0xa06f
leaq 0x38a7(%rip), %rcx      # 0xa62a
movl $0x15a, %edx            # imm = 0x15A
callq 0x2090
jmp 0x6db9
movq %rax, %rdi
callq 0x7a03
movq %rax, %rbx
movq 0xd0(%rsp), %rdi
testq %rdi, %rdi
je 0x6dbc
movq 0xe0(%rsp), %rsi
subq %rdi, %rsi
callq 0x20f0
jmp 0x6dbc
movq %rax, %rbx
movq 0x10(%rsp), %rdi
testq %rdi, %rdi
je 0x6dec
movq 0x30(%rsp), %rsi
subq %rdi, %rsi
callq 0x20f0
xorl %eax, %eax
movq %rax, 0x10(%rsp)
movl %eax, 0x18(%rsp)
movq %rax, 0x20(%rsp)
movl %eax, 0x28(%rsp)
movq %rax, 0x30(%rsp)
movq 0x60(%rsp), %rdi
testq %rdi, %rdi
je 0x6e03
movq 0x70(%rsp), %rsi
subq %rdi, %rsi
callq 0x20f0
movq 0x80(%rsp), %rdi
testq %rdi, %rdi
je 0x6e20
movq 0x90(%rsp), %rsi
subq %rdi, %rsi
callq 0x20f0
movq 0x38(%rsp), %rdi
testq %rdi, %rdi
je 0x6e55
movq 0x58(%rsp), %rsi
subq %rdi, %rsi
callq 0x20f0
xorl %eax, %eax
movq %rax, 0x38(%rsp)
movl %eax, 0x40(%rsp)
movq %rax, 0x48(%rsp)
movl %eax, 0x50(%rsp)
movq %rax, 0x58(%rsp)
jmp 0x6e55
movq %rax, %rbx
movq 0xa0(%rsp), %rdi
testq %rdi, %rdi
je 0x6e77
movq 0xb0(%rsp), %rsi
subq %rdi, %rsi
callq 0x20f0
jmp 0x6e77
movq %rax, %rbx
movq 0xb8(%rsp), %rdi
testq %rdi, %rdi
je 0x6e94
movq 0xc8(%rsp), %rsi
subq %rdi, %rsi
callq 0x20f0
movq %rbx, %rdi
callq 0x2170