// File: /workspace/github_cpp_makefile_star2_O1/bsegovia[P]boodew/boodew.cpp
// Function: boodew::loop_builtin(std::vector<boodew::value, std::allocator<boodew::value>> const&)
static value loop_builtin(args arg) {
  value last;
  auto const n = int(vtod(get(arg,2)));
  for (int i = 0; i < n; ++i) {
    try {
      new_local(vtos(get(arg,1)), stov(to_string(i)));
      last = ex(vtos(get(arg,3)));
    } catch (bool b) { if (b) break; else continue; }
  }
  return last;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xd8, %rsp
movq %rsi, %rcx
leaq 0x10(%rdi), %rax
movq %rax, 0x20(%rsp)
movq %rax, (%rdi)
movq $0x0, 0x8(%rdi)
movq %rdi, 0x10(%rsp)
movb $0x0, 0x10(%rdi)
movl $0x2, %esi
movq %rcx, 0x28(%rsp)
movq %rcx, %rdi
callq 0x492e
movq %rax, %rdi
callq 0x4860
cvttsd2si %xmm0, %eax
movl %eax, 0xc(%rsp)
testl %eax, %eax
jle 0x50ef
leaq 0x88(%rsp), %rbx
leaq 0x60(%rsp), %r12
movq 0x10(%rsp), %rax
addq $0x20, %rax
movq %rax, 0x70(%rsp)
xorl %ebp, %ebp
leaq 0x50(%rsp), %r15
leaq 0x78(%rsp), %r13
movq %r12, %r14
movl $0x1, %esi
movq 0x28(%rsp), %rdi
callq 0x492e
movq %r15, %rdi
movq %rax, %rsi
callq 0x47da
movl $0x1, %r12d
cmpl $0xa, %ebp
jb 0x4eb9
movl $0x4, %r12d
movl %ebp, %eax
cmpl $0x63, %eax
jbe 0x4eb0
cmpl $0x3e7, %eax            # imm = 0x3E7
jbe 0x4eb6
cmpl $0x2710, %eax           # imm = 0x2710
jb 0x4eb9
movl %eax, %ecx
movl $0xd1b71759, %edx       # imm = 0xD1B71759
imulq %rdx, %rcx
shrq $0x2d, %rcx
addl $0x4, %r12d
cmpl $0x1869f, %eax          # imm = 0x1869F
movl %ecx, %eax
ja 0x4e7b
addl $-0x3, %r12d
jmp 0x4eb9
addl $-0x2, %r12d
jmp 0x4eb9
decl %r12d
movl %r12d, %esi
leaq 0x40(%rsp), %rax
movq %rax, 0x30(%rsp)
leaq 0x30(%rsp), %rdi
movl $0x2d, %edx
callq 0x3250
movq 0x30(%rsp), %rdi
movl %r12d, %esi
movl %ebp, %edx
callq 0x7bbd
movq %rbx, 0x78(%rsp)
movq 0x30(%rsp), %rsi
movq 0x38(%rsp), %rdx
addq %rsi, %rdx
movq %r13, %rdi
callq 0x71b2
movq $0x0, 0x98(%rsp)
movb $0x0, 0xa0(%rsp)
movl $0x0, 0xa4(%rsp)
leaq 0xa8(%rsp), %rdi
movq %r15, %rsi
movq %r13, %rdx
movq %r14, %r12
callq 0x5c22
movq 0xa8(%rsp), %rdi
leaq 0xb8(%rsp), %rax
cmpq %rax, %rdi
je 0x4f58
movq 0xb8(%rsp), %rsi
incq %rsi
callq 0x3200
movq 0x78(%rsp), %rdi
cmpq %rbx, %rdi
je 0x4f72
movq 0x88(%rsp), %rsi
incq %rsi
callq 0x3200
movq 0x30(%rsp), %rdi
leaq 0x40(%rsp), %rax
cmpq %rax, %rdi
je 0x4f8e
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x3200
movq 0x50(%rsp), %rdi
cmpq %r12, %rdi
je 0x4fa5
movq 0x60(%rsp), %rsi
incq %rsi
callq 0x3200
movl $0x3, %esi
movq 0x28(%rsp), %rdi
callq 0x492e
movq %r15, %rdi
movq %rax, %rsi
callq 0x47da
movq %r13, %rdi
movq %r15, %rsi
callq 0x54e9
movq 0x10(%rsp), %rdi
movq %r13, %rsi
callq 0x3260
movupd 0x10(%rbx), %xmm0
movq 0x70(%rsp), %rax
movupd %xmm0, (%rax)
movq 0x78(%rsp), %rdi
cmpq %rbx, %rdi
je 0x4fff
movq 0x88(%rsp), %rsi
incq %rsi
callq 0x3200
movq 0x50(%rsp), %rdi
cmpq %r12, %rdi
je 0x5016
movq 0x60(%rsp), %rsi
incq %rsi
callq 0x3200
incl %ebp
cmpl 0xc(%rsp), %ebp
jne 0x4e4b
jmp 0x50ef
movq %rdx, (%rsp)
movq %rax, 0x18(%rsp)
movq 0x50(%rsp), %rdi
cmpq %r12, %rdi
je 0x50c1
movq 0x60(%rsp), %rsi
incq %rsi
callq 0x3200
jmp 0x50c1
movq %rdx, (%rsp)
movq %rax, %r12
movq 0x78(%rsp), %rdi
cmpq %rbx, %rdi
je 0x5077
movq 0x88(%rsp), %rsi
incq %rsi
callq 0x3200
jmp 0x5077
movq %rdx, (%rsp)
movq %rax, %r12
movq 0x30(%rsp), %rdi
leaq 0x40(%rsp), %rax
cmpq %rax, %rdi
je 0x509c
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x3200
jmp 0x509c
movq %rdx, (%rsp)
movq %rax, %r12
movq 0x50(%rsp), %rdi
cmpq %r14, %rdi
je 0x50b3
movq 0x60(%rsp), %rsi
incq %rsi
callq 0x3200
movq %r12, %rdi
jmp 0x50cf
movq %rdx, (%rsp)
movq %rax, 0x18(%rsp)
movq 0x18(%rsp), %rdi
jmp 0x50cf
movq %rdx, (%rsp)
movq %rax, %rdi
cmpl $0x1, (%rsp)
jne 0x5106
callq 0x30d0
movb (%rax), %r12b
callq 0x32e0
testb %r12b, %r12b
jne 0x50ef
movq %r14, %r12
jmp 0x5016
movq 0x10(%rsp), %rax
addq $0xd8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rdi, %rbx
jmp 0x510e
movq %rax, %rbx
movq 0x10(%rsp), %rax
movq (%rax), %rdi
cmpq 0x20(%rsp), %rdi
je 0x512d
movq 0x20(%rsp), %rax
movq (%rax), %rsi
incq %rsi
callq 0x3200
movq %rbx, %rdi
callq 0x3300