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

// Assembly:
pushq %rbx
subq $0x100, %rsp            # imm = 0x100
movabsq $0x200000001, %rax      # imm = 0x200000001
leaq 0x78(%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 $0x1, (%rbx)
movb $0x1, 0x2(%rbx)
leaq 0x38(%rsp), %rdi
leaq 0x78(%rsp), %rsi
leaq 0x10(%rsp), %rcx
movl $0x3, %edx
callq 0x6fb8
xorl %eax, %eax
movq %rax, 0x70(%rsp)
xorps %xmm0, %xmm0
movaps %xmm0, 0x60(%rsp)
movq %rax, 0x10(%rsp)
movl %eax, 0x18(%rsp)
movq %rax, 0x20(%rsp)
movl %eax, 0x28(%rsp)
movq %rax, 0x30(%rsp)
movb $0x1, %al
leaq 0xe8(%rsp), %rsi
movb %al, (%rsi)
movl $0x1, 0x4(%rsi)
movb $0x0, 0x8(%rsi)
movl $0x2, 0xc(%rsi)
movb %al, 0x10(%rsi)
movl $0x3, 0x14(%rsi)
leaq 0xd0(%rsp), %rdi
leaq 0xf(%rsp), %rcx
movl $0x3, %edx
callq 0x73a0
leaq 0x78(%rsp), %rdi
leaq 0xd0(%rsp), %rsi
callq 0x76df
leaq 0xa0(%rsp), %rsi
leaq 0x60(%rsp), %rdi
callq 0x8abe
leaq 0x10(%rsp), %rdi
callq 0x7b7c
movq 0x98(%rsp), %rax
movq %rax, 0x30(%rsp)
movups 0x78(%rsp), %xmm0
movups 0x88(%rsp), %xmm1
movaps %xmm1, 0x20(%rsp)
movaps %xmm0, 0x10(%rsp)
xorl %eax, %eax
movq %rax, 0x78(%rsp)
movl %eax, 0x80(%rsp)
movq %rax, 0x88(%rsp)
movl %eax, 0x90(%rsp)
movq %rax, 0x98(%rsp)
movq 0xa0(%rsp), %rdi
testq %rdi, %rdi
je 0x6719
movq 0xb0(%rsp), %rsi
subq %rdi, %rsi
callq 0x20f0
movq 0x78(%rsp), %rdi
testq %rdi, %rdi
je 0x6758
movq 0x98(%rsp), %rsi
subq %rdi, %rsi
callq 0x20f0
xorl %eax, %eax
movq %rax, 0x78(%rsp)
movl %eax, 0x80(%rsp)
movq %rax, 0x88(%rsp)
movl %eax, 0x90(%rsp)
movq %rax, 0x98(%rsp)
movq 0xd0(%rsp), %rdi
testq %rdi, %rdi
je 0x6775
movq 0xe0(%rsp), %rsi
subq %rdi, %rsi
callq 0x20f0
movq 0x60(%rsp), %rdi
movq 0x68(%rsp), %rax
movq %rax, %rdx
subq %rdi, %rdx
movq 0xb8(%rsp), %rsi
movq 0xc0(%rsp), %rcx
subq %rsi, %rcx
cmpq %rcx, %rdx
jne 0x68b8
cmpq %rdi, %rax
je 0x67b3
callq 0x2100
testl %eax, %eax
jne 0x68b8
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 0x6899
xorl %esi, %esi
xorl %r9d, %r9d
callq 0x800e
testb %al, %al
je 0x6899
movq 0x10(%rsp), %rdi
testq %rdi, %rdi
je 0x682c
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 0x6843
movq 0x70(%rsp), %rsi
subq %rdi, %rsi
callq 0x20f0
movq 0x38(%rsp), %rdi
testq %rdi, %rdi
je 0x6873
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 0xb8(%rsp), %rdi
testq %rdi, %rdi
je 0x6890
movq 0xc8(%rsp), %rsi
subq %rdi, %rsi
callq 0x20f0
addq $0x100, %rsp            # imm = 0x100
popq %rbx
retq
leaq 0x3cc1(%rip), %rdi      # 0xa561
leaq 0x37c8(%rip), %rsi      # 0xa06f
leaq 0x3d6a(%rip), %rcx      # 0xa618
movl $0x14a, %edx            # imm = 0x14A
callq 0x2090
leaq 0x3c7b(%rip), %rdi      # 0xa53a
leaq 0x37a9(%rip), %rsi      # 0xa06f
leaq 0x3d4b(%rip), %rcx      # 0xa618
movl $0x149, %edx            # imm = 0x149
callq 0x2090
jmp 0x6903
movq %rax, %rdi
callq 0x7a03
movq %rax, %rbx
movq 0xd0(%rsp), %rdi
testq %rdi, %rdi
je 0x6906
movq 0xe0(%rsp), %rsi
subq %rdi, %rsi
callq 0x20f0
jmp 0x6906
movq %rax, %rbx
movq 0x10(%rsp), %rdi
testq %rdi, %rdi
je 0x6936
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 0x694d
movq 0x70(%rsp), %rsi
subq %rdi, %rsi
callq 0x20f0
movq 0x38(%rsp), %rdi
testq %rdi, %rdi
je 0x6982
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 0x6982
movq %rax, %rbx
movq 0xb8(%rsp), %rdi
testq %rdi, %rdi
je 0x699f
movq 0xc8(%rsp), %rsi
subq %rdi, %rsi
callq 0x20f0
movq %rbx, %rdi
callq 0x2170