// File: /workspace/github_cpp_makefile_star2_O3/kdungs[P]cpp-prelude/test_prelude.cc
// Function: test_break_()
auto test_break_() -> void {
  using Prelude::break_;
  auto expectL = std::vector<int>{1, 2, 3, 4};
  auto expectR = std::vector<int>{5, 6, 7, 8};
  std::vector<int> resultL, resultR;
  std::tie(resultL, resultR) = break_([](int x) { return x >= 5; },
                                      std::vector<int>{1, 2, 3, 4, 5, 6, 7, 8});
  assert(resultL == expectL);
  assert(resultR == expectR);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xf8, %rsp
movaps 0x4b53(%rip), %xmm0     # 0xa010
leaq 0x40(%rsp), %rbx
movaps %xmm0, (%rbx)
leaq 0x28(%rsp), %rdi
leaq 0x90(%rsp), %rcx
movl $0x4, %edx
movq %rbx, %rsi
callq 0x6c08
movaps 0x4b6a(%rip), %xmm0     # 0xa050
movaps %xmm0, (%rbx)
leaq 0x10(%rsp), %rdi
leaq 0x40(%rsp), %rsi
leaq 0x90(%rsp), %rcx
movl $0x4, %edx
callq 0x6c08
movups 0x56a0(%rip), %xmm0     # 0xabac
leaq 0xd0(%rsp), %rsi
movaps %xmm0, 0x10(%rsi)
movups 0x567d(%rip), %xmm0     # 0xab9c
movaps %xmm0, (%rsi)
leaq 0x78(%rsp), %rdi
leaq 0xf(%rsp), %rcx
movl $0x8, %edx
callq 0x6c08
xorps %xmm0, %xmm0
leaq 0xb0(%rsp), %rax
movaps %xmm0, (%rax)
leaq 0x163f(%rip), %rcx      # 0x6b8a
movq %rcx, 0x18(%rax)
leaq 0x163c(%rip), %rcx      # 0x6b92
movq %rcx, 0x10(%rax)
leaq 0x90(%rsp), %rsi
movq $0x0, 0x8(%rsi)
movq %rax, (%rsi)
leaq 0x2000(%rip), %rax      # 0x7574
movq %rax, 0x18(%rsi)
leaq 0x1ffb(%rip), %rax      # 0x757a
movq %rax, 0x10(%rsi)
leaq 0x40(%rsp), %rdi
leaq 0x78(%rsp), %rdx
callq 0x861f
movq 0xa0(%rsp), %rax
testq %rax, %rax
je 0x55b1
leaq 0x90(%rsp), %rdi
movq %rdi, %rsi
movl $0x3, %edx
callq *%rax
movq 0xc0(%rsp), %rax
testq %rax, %rax
je 0x55d0
leaq 0xb0(%rsp), %rdi
movq %rdi, %rsi
movl $0x3, %edx
callq *%rax
movq 0x58(%rsp), %rbx
movq 0x60(%rsp), %rbp
movq 0x68(%rsp), %r14
xorps %xmm0, %xmm0
movups %xmm0, 0x58(%rsp)
xorl %eax, %eax
movq %rax, 0x68(%rsp)
movq 0x40(%rsp), %r15
movq 0x48(%rsp), %r13
movq 0x50(%rsp), %r12
movaps %xmm0, 0x40(%rsp)
movq %rax, 0x50(%rsp)
movq 0x78(%rsp), %rdi
testq %rdi, %rdi
je 0x5621
movq 0x88(%rsp), %rsi
subq %rdi, %rsi
callq 0x20f0
movq %rbp, %rdx
subq %rbx, %rdx
movq 0x28(%rsp), %rsi
movq 0x30(%rsp), %rax
subq %rsi, %rax
cmpq %rax, %rdx
jne 0x56e9
cmpq %rbx, %rbp
je 0x5652
movq %rbx, %rdi
callq 0x2100
testl %eax, %eax
jne 0x56e9
movq %r13, %rdx
subq %r15, %rdx
movq 0x10(%rsp), %rsi
movq 0x18(%rsp), %rax
subq %rsi, %rax
cmpq %rax, %rdx
jne 0x5708
cmpq %r15, %r13
je 0x5683
movq %r15, %rdi
callq 0x2100
testl %eax, %eax
jne 0x5708
testq %r15, %r15
je 0x5696
subq %r15, %r12
movq %r15, %rdi
movq %r12, %rsi
callq 0x20f0
testq %rbx, %rbx
je 0x56a9
subq %rbx, %r14
movq %rbx, %rdi
movq %r14, %rsi
callq 0x20f0
movq 0x10(%rsp), %rdi
testq %rdi, %rdi
je 0x56c0
movq 0x20(%rsp), %rsi
subq %rdi, %rsi
callq 0x20f0
movq 0x28(%rsp), %rdi
testq %rdi, %rdi
je 0x56d7
movq 0x38(%rsp), %rsi
subq %rdi, %rsi
callq 0x20f0
addq $0xf8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x4e4a(%rip), %rdi      # 0xa53a
leaq 0x4978(%rip), %rsi      # 0xa06f
leaq 0x4eb3(%rip), %rcx      # 0xa5b1
movl $0x114, %edx            # imm = 0x114
callq 0x2090
leaq 0x4e52(%rip), %rdi      # 0xa561
leaq 0x4959(%rip), %rsi      # 0xa06f
leaq 0x4e94(%rip), %rcx      # 0xa5b1
movl $0x115, %edx            # imm = 0x115
callq 0x2090
jmp 0x578a
jmp 0x578a
movq %rax, %rbx
movq 0xa0(%rsp), %rax
testq %rax, %rax
je 0x574d
leaq 0x90(%rsp), %rdi
movq %rdi, %rsi
movl $0x3, %edx
callq *%rax
movq 0xc0(%rsp), %rax
testq %rax, %rax
je 0x576c
leaq 0xb0(%rsp), %rdi
movq %rdi, %rsi
movl $0x3, %edx
callq *%rax
movq 0x78(%rsp), %rdi
testq %rdi, %rdi
je 0x5795
movq 0x88(%rsp), %rsi
subq %rdi, %rsi
callq 0x20f0
jmp 0x5795
jmp 0x578a
movq %rax, %rdi
callq 0x753d
movq %rax, %rbx
movq 0x10(%rsp), %rdi
testq %rdi, %rdi
je 0x57b1
movq 0x20(%rsp), %rsi
subq %rdi, %rsi
callq 0x20f0
jmp 0x57b1
movq %rax, %rbx
movq 0x28(%rsp), %rdi
testq %rdi, %rdi
je 0x57c8
movq 0x38(%rsp), %rsi
subq %rdi, %rsi
callq 0x20f0
movq %rbx, %rdi
callq 0x2170