// File: /workspace/github_cpp_makefile_star2_O3/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 %r15
pushq %r14
pushq %rbx
subq $0xf0, %rsp
movabsq $0x200000001, %rax      # imm = 0x200000001
leaq 0x40(%rsp), %rbx
movq %rax, (%rbx)
movl $0x3, 0x8(%rbx)
leaq 0x80(%rsp), %rdi
leaq 0x98(%rsp), %rcx
movl $0x3, %edx
movq %rbx, %rsi
callq 0x6c08
movw $0x1, (%rbx)
movb $0x1, 0x2(%rbx)
leaq 0x98(%rsp), %rdi
leaq 0x40(%rsp), %rsi
leaq 0x10(%rsp), %rcx
movl $0x3, %edx
callq 0x6baa
xorl %eax, %eax
movq %rax, 0x10(%rsp)
movl %eax, 0x18(%rsp)
movq %rax, 0x20(%rsp)
movl %eax, 0x28(%rsp)
movq %rax, 0x30(%rsp)
movb $0x1, %al
leaq 0xd8(%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 0xc0(%rsp), %rdi
leaq 0xf(%rsp), %rcx
movl $0x3, %edx
callq 0x6f38
leaq 0x40(%rsp), %rdi
leaq 0xc0(%rsp), %rsi
callq 0x727a
movq 0x68(%rsp), %rbx
movq 0x70(%rsp), %r15
movq 0x78(%rsp), %r14
xorps %xmm0, %xmm0
movups %xmm0, 0x68(%rsp)
movq $0x0, 0x78(%rsp)
leaq 0x10(%rsp), %rdi
callq 0x76b6
movq 0x60(%rsp), %rax
movq %rax, 0x30(%rsp)
movups 0x40(%rsp), %xmm0
movups 0x50(%rsp), %xmm1
movaps %xmm1, 0x20(%rsp)
movaps %xmm0, 0x10(%rsp)
xorl %eax, %eax
movq %rax, 0x40(%rsp)
movl %eax, 0x48(%rsp)
movq %rax, 0x50(%rsp)
movl %eax, 0x58(%rsp)
movq %rax, 0x60(%rsp)
movq 0x68(%rsp), %rdi
testq %rdi, %rdi
je 0x63f3
movq 0x78(%rsp), %rsi
subq %rdi, %rsi
callq 0x20f0
movq 0x40(%rsp), %rdi
testq %rdi, %rdi
je 0x63f3
movq 0x60(%rsp), %rsi
subq %rdi, %rsi
callq 0x20f0
xorl %eax, %eax
movq %rax, 0x40(%rsp)
movl %eax, 0x48(%rsp)
movq %rax, 0x50(%rsp)
movl %eax, 0x58(%rsp)
movq %rax, 0x60(%rsp)
movq 0xc0(%rsp), %rdi
testq %rdi, %rdi
je 0x6410
movq 0xd0(%rsp), %rsi
subq %rdi, %rsi
callq 0x20f0
movq %r15, %rdx
subq %rbx, %rdx
movq 0x80(%rsp), %rsi
movq 0x88(%rsp), %rax
subq %rsi, %rax
cmpq %rax, %rdx
jne 0x6521
cmpq %rbx, %r15
je 0x6447
movq %rbx, %rdi
callq 0x2100
testl %eax, %eax
jne 0x6521
movq 0x10(%rsp), %rdi
movq 0x20(%rsp), %rdx
movl 0x28(%rsp), %ecx
movq %rdx, %rax
subq %rdi, %rax
leaq (%rcx,%rax,8), %rax
movq 0x98(%rsp), %r8
movq 0xa8(%rsp), %rsi
movl 0xb0(%rsp), %r9d
subq %r8, %rsi
leaq (%r9,%rsi,8), %rsi
cmpq %rsi, %rax
jne 0x6502
xorl %esi, %esi
xorl %r9d, %r9d
callq 0x7b3c
testb %al, %al
je 0x6502
movq 0x10(%rsp), %rdi
testq %rdi, %rdi
je 0x64a8
movq 0x30(%rsp), %rsi
subq %rdi, %rsi
callq 0x20f0
testq %rbx, %rbx
je 0x64bb
subq %rbx, %r14
movq %rbx, %rdi
movq %r14, %rsi
callq 0x20f0
movq 0x98(%rsp), %rdi
testq %rdi, %rdi
je 0x64d8
movq 0xb8(%rsp), %rsi
subq %rdi, %rsi
callq 0x20f0
movq 0x80(%rsp), %rdi
testq %rdi, %rdi
je 0x64f5
movq 0x90(%rsp), %rsi
subq %rdi, %rsi
callq 0x20f0
addq $0xf0, %rsp
popq %rbx
popq %r14
popq %r15
retq
leaq 0x4058(%rip), %rdi      # 0xa561
leaq 0x3b5f(%rip), %rsi      # 0xa06f
leaq 0x4101(%rip), %rcx      # 0xa618
movl $0x14a, %edx            # imm = 0x14A
callq 0x2090
leaq 0x4012(%rip), %rdi      # 0xa53a
leaq 0x3b40(%rip), %rsi      # 0xa06f
leaq 0x40e2(%rip), %rcx      # 0xa618
movl $0x149, %edx            # imm = 0x149
callq 0x2090
movq %rax, %r15
jmp 0x6577
movq %rax, %rdi
callq 0x753d
movq %rax, %r15
movq 0xc0(%rsp), %rdi
testq %rdi, %rdi
je 0x6572
movq 0xd0(%rsp), %rsi
subq %rdi, %rsi
callq 0x20f0
jmp 0x6572
movq %rax, %r15
xorl %ebx, %ebx
xorl %r14d, %r14d
movq 0x10(%rsp), %rdi
testq %rdi, %rdi
je 0x658e
movq 0x30(%rsp), %rsi
subq %rdi, %rsi
callq 0x20f0
testq %rbx, %rbx
je 0x65a1
subq %rbx, %r14
movq %rbx, %rdi
movq %r14, %rsi
callq 0x20f0
movq 0x98(%rsp), %rdi
testq %rdi, %rdi
je 0x65da
movq 0xb8(%rsp), %rsi
subq %rdi, %rsi
callq 0x20f0
movq $0x0, 0x98(%rsp)
movl $0x0, 0xa0(%rsp)
jmp 0x65da
movq %rax, %r15
movq 0x80(%rsp), %rdi
testq %rdi, %rdi
je 0x65f7
movq 0x90(%rsp), %rsi
subq %rdi, %rsi
callq 0x20f0
movq %r15, %rdi
callq 0x2170