LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: iamlouk[P]asbi/src/context.cc
// Function: asbi::Context::run(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, std::shared_ptr<asbi::Env>)
Value Context::run(const std::string& str, std::shared_ptr<Env> env) {
	tok::Tokenizer toker(str);
	Parser parser(toker, this);
	auto ast = parser.parse()->optimize();
	std::vector<OpCode> ops;
	ast->to_vmops(this, ops);
	delete ast;

	return execute(ops, env, this);
}

// Assembly:
subq $0x198, %rsp            # imm = 0x198
movq %rdx, 0x58(%rsp)
movq %rdi, 0x180(%rsp)
movq %rsi, 0x178(%rsp)
movq %rdx, 0x170(%rsp)
movq 0x180(%rsp), %rax
movq %rax, 0x68(%rsp)
movq 0x178(%rsp), %rsi
leaq 0x140(%rsp), %rdi
callq 0x27750
movq 0x68(%rsp), %rsi
movups 0x140(%rsp), %xmm0
movups 0x150(%rsp), %xmm1
movups 0x160(%rsp), %xmm2
movaps %xmm2, 0xf0(%rsp)
movaps %xmm1, 0xe0(%rsp)
movaps %xmm0, 0xd0(%rsp)
movaps 0xd0(%rsp), %xmm0
movaps 0xe0(%rsp), %xmm1
movaps 0xf0(%rsp), %xmm2
movq %rsp, %rax
movups %xmm2, 0x20(%rax)
movups %xmm1, 0x10(%rax)
movups %xmm0, (%rax)
leaq 0x108(%rsp), %rdi
movq %rdi, 0x60(%rsp)
callq 0xdc90
movq 0x60(%rsp), %rdi
callq 0xdd80
movq %rax, %rdi
movq (%rdi), %rax
movq 0x10(%rax), %rax
callq *%rax
movq %rax, 0xc8(%rsp)
leaq 0xb0(%rsp), %rdi
movq %rdi, 0x70(%rsp)
callq 0x1f8e0
movq 0x68(%rsp), %rsi
movq 0x70(%rsp), %rdx
movq 0xc8(%rsp), %rdi
movq (%rdi), %rax
movq 0x18(%rax), %rax
callq *%rax
jmp 0x26d90
movq 0xc8(%rsp), %rax
movq %rax, 0x50(%rsp)
cmpq $0x0, %rax
je 0x26dae
movq 0x50(%rsp), %rdi
movq (%rdi), %rax
callq *0x8(%rax)
leaq 0x88(%rsp), %rdi
leaq 0xb0(%rsp), %rsi
callq 0x22d90
jmp 0x26dc5
movq 0x58(%rsp), %rsi
leaq 0x78(%rsp), %rdi
movq %rdi, 0x38(%rsp)
callq 0x7d80
movq 0x38(%rsp), %rsi
movq 0x68(%rsp), %rdx
leaq 0x88(%rsp), %rdi
callq 0x1abf0
movq %rdx, 0x40(%rsp)
movl %eax, 0x4c(%rsp)
jmp 0x26dfb
movq 0x40(%rsp), %rax
movl 0x4c(%rsp), %ecx
movl %ecx, 0x188(%rsp)
movq %rax, 0x190(%rsp)
leaq 0x78(%rsp), %rdi
callq 0x7db0
leaq 0x88(%rsp), %rdi
callq 0x22e90
leaq 0xb0(%rsp), %rdi
callq 0x22e90
movl 0x188(%rsp), %eax
movq 0x190(%rsp), %rdx
addq $0x198, %rsp            # imm = 0x198
retq
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0xa8(%rsp)
movl %eax, 0xa4(%rsp)
jmp 0x26e8f
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0xa8(%rsp)
movl %eax, 0xa4(%rsp)
leaq 0x78(%rsp), %rdi
callq 0x7db0
leaq 0x88(%rsp), %rdi
callq 0x22e90
leaq 0xb0(%rsp), %rdi
callq 0x22e90
movq 0xa8(%rsp), %rdi
callq 0x67a0
nopl (%rax)
// File: iamlouk[P]asbi/src/context.cc
// Function: asbi::Env::to_map(asbi::Context*) const
Value Env::to_map(Context* ctx) const {
	auto mc = new MapContainer(ctx);
	for (auto [name, value]: vars) {
		mc->set(Value::string(name), value);
	}

	if (outer != nullptr)
		mc->set(Value::symbol("outer_scope", ctx), outer->to_map(ctx));

	return Value::map(mc);
}

// Assembly:
subq $0xd8, %rsp
movq %rdi, 0xc0(%rsp)
movq %rsi, 0xb8(%rsp)
movq 0xc0(%rsp), %rax
movq %rax, 0x10(%rsp)
movl $0x68, %edi
callq 0x6460
movq %rax, %rdi
movq %rdi, %rax
movq %rax, 0x18(%rsp)
movq 0xb8(%rsp), %rsi
callq 0x212d0
jmp 0x27108
movq 0x10(%rsp), %rax
movq 0x18(%rsp), %rcx
movq %rcx, 0xb0(%rsp)
addq $0x20, %rax
movq %rax, 0x98(%rsp)
movq 0x98(%rsp), %rdi
callq 0x27320
movq %rax, 0x90(%rsp)
movq 0x98(%rsp), %rdi
callq 0x27350
movq %rax, 0x88(%rsp)
leaq 0x90(%rsp), %rdi
leaq 0x88(%rsp), %rsi
callq 0x27380
testb $0x1, %al
jne 0x2716e
jmp 0x27245
leaq 0x90(%rsp), %rdi
callq 0x273a0
movq (%rax), %rcx
movq %rcx, 0x70(%rsp)
movq 0x8(%rax), %rcx
movq %rcx, 0x78(%rsp)
movq 0x10(%rax), %rax
movq %rax, 0x80(%rsp)
leaq 0x70(%rsp), %rdi
callq 0x273c0
movq %rax, 0x68(%rsp)
leaq 0x70(%rsp), %rdi
callq 0x273d0
movq %rax, 0x60(%rsp)
movq 0xb0(%rsp), %rax
movq %rax, 0x8(%rsp)
movq 0x68(%rsp), %rax
movq (%rax), %rdi
callq 0x1d180
movq 0x8(%rsp), %rdi
movl %eax, 0x50(%rsp)
movq %rdx, 0x58(%rsp)
movq 0x60(%rsp), %rax
movq (%rax), %rcx
movq %rcx, 0x40(%rsp)
movq 0x8(%rax), %rax
movq %rax, 0x48(%rsp)
movl 0x50(%rsp), %esi
movq 0x58(%rsp), %rdx
movl 0x40(%rsp), %ecx
movq 0x48(%rsp), %r8
callq 0x21550
leaq 0x90(%rsp), %rdi
callq 0x273e0
jmp 0x27150
movq 0x18(%rsp), %rdi
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0xa8(%rsp)
movl %eax, 0xa4(%rsp)
movl $0x68, %esi
callq 0x6470
jmp 0x272f3
movq 0x10(%rsp), %rdi
xorl %eax, %eax
movl %eax, %esi
callq 0x1aab0
testb $0x1, %al
jne 0x27259
jmp 0x272c0
movq 0xb0(%rsp), %rax
movq %rax, (%rsp)
movq 0xb8(%rsp), %rsi
leaq 0x11f03(%rip), %rdi     # 0x39177
callq 0x217d0
movq 0x10(%rsp), %rdi
movl %eax, 0x30(%rsp)
movq %rdx, 0x38(%rsp)
callq 0x7bd0
movq %rax, %rdi
movq 0xb8(%rsp), %rsi
callq 0x270c0
movq (%rsp), %rdi
movl %eax, 0x20(%rsp)
movq %rdx, 0x28(%rsp)
movl 0x30(%rsp), %esi
movq 0x38(%rsp), %rdx
movl 0x20(%rsp), %ecx
movq 0x28(%rsp), %r8
callq 0x21550
movq 0xb0(%rsp), %rdi
callq 0x7be0
movl %eax, 0xc8(%rsp)
movq %rdx, 0xd0(%rsp)
movl 0xc8(%rsp), %eax
movq 0xd0(%rsp), %rdx
addq $0xd8, %rsp
retq
movq 0xa8(%rsp), %rdi
callq 0x67a0
// File: iamlouk[P]asbi/src/macros.cc
// Function: macro_assert(int, asbi::Context*, std::shared_ptr<asbi::Env>)
static Value macro_assert(int n, Context* ctx, std::shared_ptr<Env>) {
	if (n == 2) {
		auto msg = ctx->pop();
		auto val = ctx->pop();
		if (!(val == Value::boolean(true))) {
			std::cerr << "==asbi==: Assertion failed: " << val.to_string(true) << " (" << msg.to_string(false) << ")\n";
			throw std::runtime_error("assertion failed");
		}
		return Value::nil();
	}

	throw std::runtime_error("assert macro usage error");
}

// Assembly:
subq $0xe8, %rsp
movl %edi, 0xd4(%rsp)
movq %rsi, 0xc8(%rsp)
movq %rdx, 0xc0(%rsp)
cmpl $0x2, 0xd4(%rsp)
jne 0x2a559
movq 0xc8(%rsp), %rdi
callq 0x26b50
movl %eax, 0xb0(%rsp)
movq %rdx, 0xb8(%rsp)
movq 0xc8(%rsp), %rdi
callq 0x26b50
movl %eax, 0xa0(%rsp)
movq %rdx, 0xa8(%rsp)
movl $0x1, %edi
callq 0x1d0d0
movl %eax, 0x90(%rsp)
movq %rdx, 0x98(%rsp)
leaq 0xa0(%rsp), %rdi
leaq 0x90(%rsp), %rsi
callq 0x21de0
xorb $-0x1, %al
testb $0x1, %al
jne 0x2a3ed
jmp 0x2a52e
movq 0x21bf4(%rip), %rdi     # 0x4bfe8
leaq 0xee97(%rip), %rsi      # 0x39292
callq 0x6450
movq %rax, 0x28(%rsp)
leaq 0x70(%rsp), %rdi
movq %rdi, 0x30(%rsp)
leaq 0xa0(%rsp), %rsi
movl $0x1, %edx
callq 0x220c0
movq 0x28(%rsp), %rdi
movq 0x30(%rsp), %rsi
callq 0x63d0
movq %rax, 0x38(%rsp)
jmp 0x2a437
movq 0x38(%rsp), %rdi
leaq 0xe66c(%rip), %rsi      # 0x38aaf
callq 0x6450
movq %rax, 0x20(%rsp)
jmp 0x2a44f
leaq 0x40(%rsp), %rdi
leaq 0xb0(%rsp), %rsi
xorl %edx, %edx
callq 0x220c0
jmp 0x2a465
movq 0x20(%rsp), %rdi
leaq 0x40(%rsp), %rsi
callq 0x63d0
movq %rax, 0x18(%rsp)
jmp 0x2a47b
movq 0x18(%rsp), %rdi
leaq 0xdc7b(%rip), %rsi      # 0x38102
callq 0x6450
jmp 0x2a48e
leaq 0x40(%rsp), %rdi
callq 0x6290
leaq 0x70(%rsp), %rdi
callq 0x6290
movl $0x10, %edi
callq 0x6200
movq %rax, %rdi
movq %rdi, %rax
movq %rax, 0x10(%rsp)
leaq 0xedf1(%rip), %rsi      # 0x392af
callq 0x6160
jmp 0x2a4c5
movq 0x10(%rsp), %rdi
movq 0x21b1f(%rip), %rsi     # 0x4bff0
movq 0x21ac8(%rip), %rdx     # 0x4bfa0
callq 0x6780
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x68(%rsp)
movl %eax, 0x64(%rsp)
jmp 0x2a505
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x68(%rsp)
movl %eax, 0x64(%rsp)
leaq 0x40(%rsp), %rdi
callq 0x6290
leaq 0x70(%rsp), %rdi
callq 0x6290
jmp 0x2a5ac
movq 0x10(%rsp), %rdi
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x68(%rsp)
movl %eax, 0x64(%rsp)
callq 0x6320
jmp 0x2a5ac
callq 0x1d110
movl %eax, 0xd8(%rsp)
movq %rdx, 0xe0(%rsp)
movl 0xd8(%rsp), %eax
movq 0xe0(%rsp), %rdx
addq $0xe8, %rsp
retq
movl $0x10, %edi
callq 0x6200
movq %rax, %rdi
movq %rdi, %rax
movq %rax, 0x8(%rsp)
leaq 0xed4b(%rip), %rsi      # 0x392c0
callq 0x6160
jmp 0x2a57c
movq 0x8(%rsp), %rdi
movq 0x21a68(%rip), %rsi     # 0x4bff0
movq 0x21a11(%rip), %rdx     # 0x4bfa0
callq 0x6780
movq 0x8(%rsp), %rdi
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x68(%rsp)
movl %eax, 0x64(%rsp)
callq 0x6320
movq 0x68(%rsp), %rdi
callq 0x67a0
nopw %cs:(%rax,%rax)
// File: iamlouk[P]asbi/src/macros.cc
// Function: macro_mod(int, asbi::Context*, std::shared_ptr<asbi::Env>)
static Value macro_mod(int n, Context* ctx, std::shared_ptr<Env>) {
	if (n != 2)
		throw std::runtime_error("mod macro usage error");

	auto a = ctx->pop();
	auto b = ctx->pop();
	if (a.type != type_t::Number || b.type != type_t::Number)
		throw std::runtime_error("mod macro usage error");

	return Value::number(static_cast<int>(a._number) % static_cast<int>(b._number));
}

// Assembly:
subq $0x68, %rsp
movl %edi, 0x54(%rsp)
movq %rsi, 0x48(%rsp)
movq %rdx, 0x40(%rsp)
cmpl $0x2, 0x54(%rsp)
je 0x2a631
movl $0x10, %edi
callq 0x6200
movq %rax, %rdi
movq %rdi, %rax
movq %rax, 0x8(%rsp)
leaq 0xece4(%rip), %rsi      # 0x392d9
callq 0x6160
jmp 0x2a5fc
movq 0x8(%rsp), %rdi
movq 0x219e8(%rip), %rsi     # 0x4bff0
movq 0x21991(%rip), %rdx     # 0x4bfa0
callq 0x6780
movq 0x8(%rsp), %rdi
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x38(%rsp)
movl %eax, 0x34(%rsp)
callq 0x6320
jmp 0x2a6e6
movq 0x48(%rsp), %rdi
callq 0x26b50
movl %eax, 0x20(%rsp)
movq %rdx, 0x28(%rsp)
movq 0x48(%rsp), %rdi
callq 0x26b50
movl %eax, 0x10(%rsp)
movq %rdx, 0x18(%rsp)
cmpl $0x1, 0x20(%rsp)
jne 0x2a665
cmpl $0x1, 0x10(%rsp)
je 0x2a6b7
movl $0x10, %edi
callq 0x6200
movq %rax, %rdi
movq %rdi, %rax
movq %rax, (%rsp)
leaq 0xec59(%rip), %rsi      # 0x392d9
callq 0x6160
jmp 0x2a687
movq (%rsp), %rdi
movq 0x2195e(%rip), %rsi     # 0x4bff0
movq 0x21907(%rip), %rdx     # 0x4bfa0
callq 0x6780
movq (%rsp), %rdi
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x38(%rsp)
movl %eax, 0x34(%rsp)
callq 0x6320
jmp 0x2a6e6
cvttsd2si 0x28(%rsp), %eax
cvttsd2si 0x18(%rsp), %ecx
cltd
idivl %ecx
cvtsi2sd %edx, %xmm0
callq 0x1d090
movl %eax, 0x58(%rsp)
movq %rdx, 0x60(%rsp)
movl 0x58(%rsp), %eax
movq 0x60(%rsp), %rdx
addq $0x68, %rsp
retq
movq 0x38(%rsp), %rdi
callq 0x67a0
// File: iamlouk[P]asbi/src/macros.cc
// Function: macro_toInt(int, asbi::Context*, std::shared_ptr<asbi::Env>)
static Value macro_toInt(int n, Context* ctx, std::shared_ptr<Env>) {
	if (n != 1)
		throw std::runtime_error("toInt macro usage error");

	auto num = ctx->pop();
	if (num.type != type_t::Number)
		throw std::runtime_error("toInt macro usage error");

	return Value::number(floor(num._number));
}

// Assembly:
subq $0x58, %rsp
movl %edi, 0x44(%rsp)
movq %rsi, 0x38(%rsp)
movq %rdx, 0x30(%rsp)
cmpl $0x1, 0x44(%rsp)
je 0x2a811
movl $0x10, %edi
callq 0x6200
movq %rax, %rdi
movq %rdi, %rax
movq %rax, 0x8(%rsp)
leaq 0xeb33(%rip), %rsi      # 0x39308
callq 0x6160
jmp 0x2a7dc
movq 0x8(%rsp), %rdi
movq 0x21808(%rip), %rsi     # 0x4bff0
movq 0x217b1(%rip), %rdx     # 0x4bfa0
callq 0x6780
movq 0x8(%rsp), %rdi
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x28(%rsp)
movl %eax, 0x24(%rsp)
callq 0x6320
jmp 0x2a8a4
movq 0x38(%rsp), %rdi
callq 0x26b50
movl %eax, 0x10(%rsp)
movq %rdx, 0x18(%rsp)
cmpl $0x1, 0x10(%rsp)
je 0x2a87d
movl $0x10, %edi
callq 0x6200
movq %rax, %rdi
movq %rdi, %rax
movq %rax, (%rsp)
leaq 0xeac2(%rip), %rsi      # 0x39308
callq 0x6160
jmp 0x2a84d
movq (%rsp), %rdi
movq 0x21798(%rip), %rsi     # 0x4bff0
movq 0x21741(%rip), %rdx     # 0x4bfa0
callq 0x6780
movq (%rsp), %rdi
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x28(%rsp)
movl %eax, 0x24(%rsp)
callq 0x6320
jmp 0x2a8a4
movsd 0x18(%rsp), %xmm0
callq 0x6750
callq 0x1d090
movl %eax, 0x48(%rsp)
movq %rdx, 0x50(%rsp)
movl 0x48(%rsp), %eax
movq 0x50(%rsp), %rdx
addq $0x58, %rsp
retq
movq 0x28(%rsp), %rdi
callq 0x67a0
nop
// File: iamlouk[P]asbi/src/macros.cc
// Function: macro_len(int, asbi::Context*, std::shared_ptr<asbi::Env>)
static Value macro_len(int n, Context* ctx, std::shared_ptr<Env>) {
	if (n != 1)
		throw std::runtime_error("len macro usage error");

	auto val = ctx->pop();
	if (val.type == type_t::Map)
		return Value::number(val._map->vecdata.size());

	if (val.type == type_t::String)
		return Value::number(val._string->data.size());

	throw std::runtime_error("len macro usage error");
}

// Assembly:
subq $0x58, %rsp
movl %edi, 0x44(%rsp)
movq %rsi, 0x38(%rsp)
movq %rdx, 0x30(%rsp)
cmpl $0x1, 0x44(%rsp)
je 0x2a921
movl $0x10, %edi
callq 0x6200
movq %rax, %rdi
movq %rdi, %rax
movq %rax, 0x8(%rsp)
leaq 0xea3b(%rip), %rsi      # 0x39320
callq 0x6160
jmp 0x2a8ec
movq 0x8(%rsp), %rdi
movq 0x216f8(%rip), %rsi     # 0x4bff0
movq 0x216a1(%rip), %rdx     # 0x4bfa0
callq 0x6780
movq 0x8(%rsp), %rdi
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x28(%rsp)
movl %eax, 0x24(%rsp)
callq 0x6320
jmp 0x2aa2f
movq 0x38(%rsp), %rdi
callq 0x26b50
movl %eax, 0x10(%rsp)
movq %rdx, 0x18(%rsp)
cmpl $0x6, 0x10(%rsp)
jne 0x2a983
movq 0x18(%rsp), %rdi
addq $0x50, %rdi
callq 0x1d030
movq %rax, %xmm0
movaps 0xe83b(%rip), %xmm1     # 0x39190
punpckldq %xmm1, %xmm0    # xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1]
movapd 0xe83f(%rip), %xmm1     # 0x391a0
subpd %xmm1, %xmm0
movaps %xmm0, %xmm1
unpckhpd %xmm0, %xmm0            # xmm0 = xmm0[1,1]
addsd %xmm1, %xmm0
callq 0x1d090
movl %eax, 0x48(%rsp)
movq %rdx, 0x50(%rsp)
jmp 0x2aa21
cmpl $0x4, 0x10(%rsp)
jne 0x2a9cf
movq 0x18(%rsp), %rdi
addq $0x20, %rdi
callq 0x62f0
movq %rax, %xmm0
movaps 0xe7ec(%rip), %xmm1     # 0x39190
punpckldq %xmm1, %xmm0    # xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1]
movapd 0xe7f0(%rip), %xmm1     # 0x391a0
subpd %xmm1, %xmm0
movaps %xmm0, %xmm1
unpckhpd %xmm0, %xmm0            # xmm0 = xmm0[1,1]
addsd %xmm1, %xmm0
callq 0x1d090
movl %eax, 0x48(%rsp)
movq %rdx, 0x50(%rsp)
jmp 0x2aa21
movl $0x10, %edi
callq 0x6200
movq %rax, %rdi
movq %rdi, %rax
movq %rax, (%rsp)
leaq 0xe936(%rip), %rsi      # 0x39320
callq 0x6160
jmp 0x2a9f1
movq (%rsp), %rdi
movq 0x215f4(%rip), %rsi     # 0x4bff0
movq 0x2159d(%rip), %rdx     # 0x4bfa0
callq 0x6780
movq (%rsp), %rdi
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x28(%rsp)
movl %eax, 0x24(%rsp)
callq 0x6320
jmp 0x2aa2f
movl 0x48(%rsp), %eax
movq 0x50(%rsp), %rdx
addq $0x58, %rsp
retq
movq 0x28(%rsp), %rdi
callq 0x67a0
nopl (%rax)
// File: iamlouk[P]asbi/src/macros.cc
// Function: macro_debug(int, asbi::Context*, std::shared_ptr<asbi::Env>)
static Value macro_debug(int n, Context* ctx, std::shared_ptr<Env>) {
	if (n != 1)
		throw std::runtime_error("__debug macro usage error");

	std::cerr << "==asbi==: Stack start" << '\n';
	for (unsigned int i = 0; i < ctx->stack.size(); ++i) {
		std::cerr << i << ": " << ctx->stack[i].to_string(true) << '\n';
	}
	std::cerr << "==asbi==: Stack end" << '\n';

	return ctx->pop();
}

// Assembly:
subq $0x88, %rsp
movl %edi, 0x74(%rsp)
movq %rsi, 0x68(%rsp)
movq %rdx, 0x60(%rsp)
cmpl $0x1, 0x74(%rsp)
je 0x2aab4
movl $0x10, %edi
callq 0x6200
movq %rax, %rdi
movq %rdi, %rax
movq %rax, 0x28(%rsp)
leaq 0xe8be(%rip), %rsi      # 0x39336
callq 0x6160
jmp 0x2aa7f
movq 0x28(%rsp), %rdi
movq 0x21565(%rip), %rsi     # 0x4bff0
movq 0x2150e(%rip), %rdx     # 0x4bfa0
callq 0x6780
movq 0x28(%rsp), %rdi
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x58(%rsp)
movl %eax, 0x54(%rsp)
callq 0x6320
jmp 0x2abfe
movq 0x2152d(%rip), %rdi     # 0x4bfe8
leaq 0xe88e(%rip), %rsi      # 0x39350
callq 0x6450
movq %rax, %rdi
movl $0xa, %esi
callq 0x6540
movl $0x0, 0x50(%rsp)
movl 0x50(%rsp), %eax
movq %rax, 0x20(%rsp)
movq 0x68(%rsp), %rdi
addq $0x508, %rdi            # imm = 0x508
callq 0x1d030
movq %rax, %rcx
movq 0x20(%rsp), %rax
cmpq %rcx, %rax
jae 0x2abb4
movl 0x50(%rsp), %esi
movq 0x214d6(%rip), %rdi     # 0x4bfe8
callq 0x6620
movq %rax, %rdi
leaq 0xed70(%rip), %rsi      # 0x39891
callq 0x6450
movq %rax, 0x8(%rsp)
movq 0x68(%rsp), %rdi
addq $0x508, %rdi            # imm = 0x508
movl 0x50(%rsp), %eax
movl %eax, %esi
callq 0x22c80
movq %rax, %rsi
leaq 0x30(%rsp), %rdi
movq %rdi, 0x10(%rsp)
movl $0x1, %edx
callq 0x220c0
movq 0x8(%rsp), %rdi
movq 0x10(%rsp), %rsi
callq 0x63d0
movq %rax, 0x18(%rsp)
jmp 0x2ab6f
movq 0x18(%rsp), %rdi
movl $0xa, %esi
callq 0x6540
jmp 0x2ab80
leaq 0x30(%rsp), %rdi
callq 0x6290
movl 0x50(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x50(%rsp)
jmp 0x2aadc
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x58(%rsp)
movl %eax, 0x54(%rsp)
leaq 0x30(%rsp), %rdi
callq 0x6290
jmp 0x2abfe
movq 0x2142d(%rip), %rdi     # 0x4bfe8
leaq 0xe7a4(%rip), %rsi      # 0x39366
callq 0x6450
movq %rax, %rdi
movl $0xa, %esi
callq 0x6540
movq 0x68(%rsp), %rdi
callq 0x26b50
movl %eax, 0x78(%rsp)
movq %rdx, 0x80(%rsp)
movl 0x78(%rsp), %eax
movq 0x80(%rsp), %rdx
addq $0x88, %rsp
retq
movq 0x58(%rsp), %rdi
callq 0x67a0
nopl (%rax,%rax)
// File: iamlouk[P]asbi/src/macros.cc
// Function: macro_typeof(int, asbi::Context*, std::shared_ptr<asbi::Env>)
static Value macro_typeof(int n, Context* ctx, std::shared_ptr<Env>) {
	if (n != 1)
		throw std::runtime_error("typeof macro usage error");

	auto arg = ctx->pop();
	switch (arg.type) {
	case type_t::Bool:
		return Value::symbol("bool", ctx);
	case type_t::Number:
		return Value::symbol("number", ctx);
	case type_t::Nil:
		return Value::symbol("nil", ctx);
	case type_t::Symbol:
		return Value::symbol("symbol", ctx);
	case type_t::String:
		return Value::symbol("string", ctx);
	case type_t::Lambda:
		return Value::symbol("function", ctx);
	case type_t::Map:
		return Value::symbol("map", ctx);
	case type_t::Macro:
		return Value::symbol("function", ctx);
	case type_t::StackPlaceholder:
		assert(false);
		return Value::symbol("internal_stack_placeholder", ctx);
	}
}

// Assembly:
subq $0x58, %rsp
movl %edi, 0x44(%rsp)
movq %rsi, 0x38(%rsp)
movq %rdx, 0x30(%rsp)
cmpl $0x1, 0x44(%rsp)
je 0x2b351
movl $0x10, %edi
callq 0x6200
movq %rax, %rdi
movq %rdi, %rax
movq %rax, 0x8(%rsp)
leaq 0xe0b2(%rip), %rsi      # 0x393c7
callq 0x6160
jmp 0x2b31c
movq 0x8(%rsp), %rdi
movq 0x20cc8(%rip), %rsi     # 0x4bff0
movq 0x20c71(%rip), %rdx     # 0x4bfa0
callq 0x6780
movq 0x8(%rsp), %rdi
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x28(%rsp)
movl %eax, 0x24(%rsp)
callq 0x6320
jmp 0x2b4a5
movq 0x38(%rsp), %rdi
callq 0x26b50
movl %eax, 0x10(%rsp)
movq %rdx, 0x18(%rsp)
movl 0x10(%rsp), %eax
movq %rax, (%rsp)
subq $0x8, %rax
ja 0x2b495
movq (%rsp), %rax
leaq 0xde2f(%rip), %rcx      # 0x391b0
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movq 0x38(%rsp), %rsi
leaq 0xe04a(%rip), %rdi      # 0x393e0
callq 0x217d0
movl %eax, 0x48(%rsp)
movq %rdx, 0x50(%rsp)
jmp 0x2b497
movq 0x38(%rsp), %rsi
leaq 0xd9c5(%rip), %rdi      # 0x38d7a
callq 0x217d0
movl %eax, 0x48(%rsp)
movq %rdx, 0x50(%rsp)
jmp 0x2b497
movq 0x38(%rsp), %rsi
leaq 0xea63(%rip), %rdi      # 0x39e37
callq 0x217d0
movl %eax, 0x48(%rsp)
movq %rdx, 0x50(%rsp)
jmp 0x2b497
movq 0x38(%rsp), %rsi
leaq 0xdff2(%rip), %rdi      # 0x393e5
callq 0x217d0
movl %eax, 0x48(%rsp)
movq %rdx, 0x50(%rsp)
jmp 0x2b497
movq 0x38(%rsp), %rsi
leaq 0xd958(%rip), %rdi      # 0x38d6a
callq 0x217d0
movl %eax, 0x48(%rsp)
movq %rdx, 0x50(%rsp)
jmp 0x2b497
movq 0x38(%rsp), %rsi
leaq 0xdfbe(%rip), %rdi      # 0x393ec
callq 0x217d0
movl %eax, 0x48(%rsp)
movq %rdx, 0x50(%rsp)
jmp 0x2b497
movq 0x38(%rsp), %rsi
leaq 0xd951(%rip), %rdi      # 0x38d9b
callq 0x217d0
movl %eax, 0x48(%rsp)
movq %rdx, 0x50(%rsp)
jmp 0x2b497
movq 0x38(%rsp), %rsi
leaq 0xdf86(%rip), %rdi      # 0x393ec
callq 0x217d0
movl %eax, 0x48(%rsp)
movq %rdx, 0x50(%rsp)
jmp 0x2b497
leaq 0xd0c4(%rip), %rdi      # 0x38541
leaq 0xdf71(%rip), %rsi      # 0x393f5
movl $0x9a, %edx
leaq 0xdf6f(%rip), %rcx      # 0x393ff
callq 0x62b0
ud2
movl 0x48(%rsp), %eax
movq 0x50(%rsp), %rdx
addq $0x58, %rsp
retq
movq 0x28(%rsp), %rdi
callq 0x67a0
nop
// File: iamlouk[P]asbi/src/macros.cc
// Function: macro_io_print(int, asbi::Context*, std::shared_ptr<asbi::Env>)
static Value macro_io_print(int n, Context* ctx, std::shared_ptr<Env>) {
	for (int i = 0; i < n; i++) {
		std::cout << ctx->pop().to_string(false);
	}
	std::cout << std::flush;
	return Value::nil();
}

// Assembly:
subq $0x78, %rsp
movl %edi, 0x64(%rsp)
movq %rsi, 0x58(%rsp)
movq %rdx, 0x50(%rsp)
movl $0x0, 0x4c(%rsp)
movl 0x4c(%rsp), %eax
cmpl 0x64(%rsp), %eax
jge 0x2c34f
movq 0x58(%rsp), %rdi
callq 0x26b50
movl %eax, 0x18(%rsp)
movq %rdx, 0x20(%rsp)
leaq 0x28(%rsp), %rdi
movq %rdi, (%rsp)
leaq 0x18(%rsp), %rsi
xorl %edx, %edx
callq 0x220c0
movq (%rsp), %rsi
movq 0x1fc99(%rip), %rdi     # 0x4bfb0
callq 0x63d0
jmp 0x2c31e
leaq 0x28(%rsp), %rdi
callq 0x6290
movl 0x4c(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x4c(%rsp)
jmp 0x2c2da
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x10(%rsp)
movl %eax, 0xc(%rsp)
leaq 0x28(%rsp), %rdi
callq 0x6290
jmp 0x2c37e
movq 0x1fc5a(%rip), %rdi     # 0x4bfb0
movq 0x1fc5b(%rip), %rsi     # 0x4bfb8
callq 0x64a0
callq 0x1d110
movl %eax, 0x68(%rsp)
movq %rdx, 0x70(%rsp)
movl 0x68(%rsp), %eax
movq 0x70(%rsp), %rdx
addq $0x78, %rsp
retq
movq 0x10(%rsp), %rdi
callq 0x67a0
nopl (%rax,%rax)
// File: iamlouk[P]asbi/src/macros.cc
// Function: macro_io_println(int, asbi::Context*, std::shared_ptr<asbi::Env>)
static Value macro_io_println(int n, Context* ctx, std::shared_ptr<Env>) {
	for (int i = 0; i < n; i++) {
		std::cout << ctx->pop().to_string(false);
	}
	std::cout << '\n' << std::flush;
	return Value::nil();
}

// Assembly:
subq $0x78, %rsp
movl %edi, 0x64(%rsp)
movq %rsi, 0x58(%rsp)
movq %rdx, 0x50(%rsp)
movl $0x0, 0x4c(%rsp)
movl 0x4c(%rsp), %eax
cmpl 0x64(%rsp), %eax
jge 0x2c41f
movq 0x58(%rsp), %rdi
callq 0x26b50
movl %eax, 0x18(%rsp)
movq %rdx, 0x20(%rsp)
leaq 0x28(%rsp), %rdi
movq %rdi, (%rsp)
leaq 0x18(%rsp), %rsi
xorl %edx, %edx
callq 0x220c0
movq (%rsp), %rsi
movq 0x1fbc9(%rip), %rdi     # 0x4bfb0
callq 0x63d0
jmp 0x2c3ee
leaq 0x28(%rsp), %rdi
callq 0x6290
movl 0x4c(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x4c(%rsp)
jmp 0x2c3aa
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x10(%rsp)
movl %eax, 0xc(%rsp)
leaq 0x28(%rsp), %rdi
callq 0x6290
jmp 0x2c45b
movq 0x1fb8a(%rip), %rdi     # 0x4bfb0
movl $0xa, %esi
callq 0x6540
movq %rax, %rdi
movq 0x1fb7e(%rip), %rsi     # 0x4bfb8
callq 0x64a0
callq 0x1d110
movl %eax, 0x68(%rsp)
movq %rdx, 0x70(%rsp)
movl 0x68(%rsp), %eax
movq 0x70(%rsp), %rdx
addq $0x78, %rsp
retq
movq 0x10(%rsp), %rdi
callq 0x67a0
nopw %cs:(%rax,%rax)
// File: iamlouk[P]asbi/src/macros.cc
// Function: macro_io_readline(int, asbi::Context*, std::shared_ptr<asbi::Env>)
static Value macro_io_readline(int n, Context* ctx, std::shared_ptr<Env>) {
	if (n != 1)
		throw std::runtime_error("io:readline macro usage error");

	auto lambda = ctx->pop();
	if (lambda.type != type_t::Lambda)
		throw std::runtime_error("io:readline macro usage error");

	ctx->evtloop.addTask(lambda._lambda, [ctx](evts::callback_t cb) -> void {
		char* line = readline("");
		std::vector<Value> args;
		if (line == NULL)
			args.push_back(Value::nil());
		else
			args.push_back(Value::string(line, ctx));
		cb(&args, true);
		free(line);
	});

	return Value::nil();
}

// Assembly:
subq $0x98, %rsp
movl %edi, 0x84(%rsp)
movq %rsi, 0x78(%rsp)
movq %rdx, 0x70(%rsp)
cmpl $0x1, 0x84(%rsp)
je 0x2c4ea
movl $0x10, %edi
callq 0x6200
movq %rax, %rdi
movq %rdi, %rax
movq %rax, 0x20(%rsp)
leaq 0xcfd0(%rip), %rsi      # 0x3947e
callq 0x6160
jmp 0x2c4b5
movq 0x20(%rsp), %rdi
movq 0x1fb2f(%rip), %rsi     # 0x4bff0
movq 0x1fad8(%rip), %rdx     # 0x4bfa0
callq 0x6780
movq 0x20(%rsp), %rdi
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x68(%rsp)
movl %eax, 0x64(%rsp)
callq 0x6320
jmp 0x2c5f4
movq 0x78(%rsp), %rdi
callq 0x26b50
movl %eax, 0x50(%rsp)
movq %rdx, 0x58(%rsp)
cmpl $0x5, 0x50(%rsp)
je 0x2c55c
movl $0x10, %edi
callq 0x6200
movq %rax, %rdi
movq %rdi, %rax
movq %rax, 0x18(%rsp)
leaq 0xcf5e(%rip), %rsi      # 0x3947e
callq 0x6160
jmp 0x2c527
movq 0x18(%rsp), %rdi
movq 0x1fabd(%rip), %rsi     # 0x4bff0
movq 0x1fa66(%rip), %rdx     # 0x4bfa0
callq 0x6780
movq 0x18(%rsp), %rdi
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x68(%rsp)
movl %eax, 0x64(%rsp)
callq 0x6320
jmp 0x2c5f4
movq 0x78(%rsp), %rax
movq %rax, %rcx
addq $0x318, %rcx            # imm = 0x318
movq %rcx, (%rsp)
movq 0x58(%rsp), %rcx
movq %rcx, 0x8(%rsp)
movq %rax, 0x28(%rsp)
leaq 0x30(%rsp), %rdi
movq %rdi, 0x10(%rsp)
leaq 0x28(%rsp), %rsi
callq 0x2c7f0
movq (%rsp), %rdi
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdx
callq 0x302f0
jmp 0x2c5a7
leaq 0x30(%rsp), %rdi
callq 0x2cda0
callq 0x1d110
movl %eax, 0x88(%rsp)
movq %rdx, 0x90(%rsp)
movl 0x88(%rsp), %eax
movq 0x90(%rsp), %rdx
addq $0x98, %rsp
retq
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x68(%rsp)
movl %eax, 0x64(%rsp)
leaq 0x30(%rsp), %rdi
callq 0x2cda0
movq 0x68(%rsp), %rdi
callq 0x67a0
nop
// File: iamlouk[P]asbi/src/macros.cc
// Function: macro_time_runAt(int, asbi::Context*, std::shared_ptr<asbi::Env>)
static Value macro_time_runAt(int n, Context* ctx, std::shared_ptr<Env>) {
	if (n != 2)
		throw std::runtime_error("time:runat macro usage error");

	auto timestamp = ctx->pop();
	auto callback = ctx->pop();
	if (timestamp.type != type_t::Number || callback.type != type_t::Lambda)
		throw std::runtime_error("time:runat macro usage error");

	ctx->evtloop.addTimer(callback._lambda, timestamp._number);
	return Value::nil();
}

// Assembly:
subq $0x68, %rsp
movl %edi, 0x54(%rsp)
movq %rsi, 0x48(%rsp)
movq %rdx, 0x40(%rsp)
cmpl $0x2, 0x54(%rsp)
je 0x2c721
movl $0x10, %edi
callq 0x6200
movq %rax, %rdi
movq %rdi, %rax
movq %rax, 0x8(%rsp)
leaq 0xcdd2(%rip), %rsi      # 0x394b7
callq 0x6160
jmp 0x2c6ec
movq 0x8(%rsp), %rdi
movq 0x1f8f8(%rip), %rsi     # 0x4bff0
movq 0x1f8a1(%rip), %rdx     # 0x4bfa0
callq 0x6780
movq 0x8(%rsp), %rdi
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x38(%rsp)
movl %eax, 0x34(%rsp)
callq 0x6320
jmp 0x2c7df
movq 0x48(%rsp), %rdi
callq 0x26b50
movl %eax, 0x20(%rsp)
movq %rdx, 0x28(%rsp)
movq 0x48(%rsp), %rdi
callq 0x26b50
movl %eax, 0x10(%rsp)
movq %rdx, 0x18(%rsp)
cmpl $0x1, 0x20(%rsp)
jne 0x2c755
cmpl $0x5, 0x10(%rsp)
je 0x2c7a7
movl $0x10, %edi
callq 0x6200
movq %rax, %rdi
movq %rdi, %rax
movq %rax, (%rsp)
leaq 0xcd47(%rip), %rsi      # 0x394b7
callq 0x6160
jmp 0x2c777
movq (%rsp), %rdi
movq 0x1f86e(%rip), %rsi     # 0x4bff0
movq 0x1f817(%rip), %rdx     # 0x4bfa0
callq 0x6780
movq (%rsp), %rdi
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x38(%rsp)
movl %eax, 0x34(%rsp)
callq 0x6320
jmp 0x2c7df
movq 0x48(%rsp), %rdi
addq $0x318, %rdi            # imm = 0x318
movq 0x18(%rsp), %rsi
movsd 0x28(%rsp), %xmm0
callq 0x30750
callq 0x1d110
movl %eax, 0x58(%rsp)
movq %rdx, 0x60(%rsp)
movl 0x58(%rsp), %eax
movq 0x60(%rsp), %rdx
addq $0x68, %rsp
retq
movq 0x38(%rsp), %rdi
callq 0x67a0
nopl (%rax)
// File: iamlouk[P]asbi/src/procenv.cc
// Function: set_env_var(int, asbi::Context*, std::shared_ptr<asbi::Env>)
static Value set_env_var(int n, Context* ctx, std::shared_ptr<Env>) {
	if (n != 2)
		throw std::runtime_error("env:set usage error");

	auto name = ctx->pop();
	auto value = ctx->pop();
	if (name.type != type_t::String || value.type != type_t::String)
		throw std::runtime_error("env:set usage error");

	if(setenv(name._string->data.c_str(), value._string->data.c_str(), 1) != 0)
		throw std::runtime_error(std::strerror(errno));

	return Value::nil();
}

// Assembly:
subq $0x88, %rsp
movl %edi, 0x74(%rsp)
movq %rsi, 0x68(%rsp)
movq %rdx, 0x60(%rsp)
cmpl $0x2, 0x74(%rsp)
je 0x2d8b4
movl $0x10, %edi
callq 0x6200
movq %rax, %rdi
movq %rdi, %rax
movq %rax, 0x28(%rsp)
leaq 0xbcfa(%rip), %rsi      # 0x39572
callq 0x6160
jmp 0x2d87f
movq 0x28(%rsp), %rdi
movq 0x1e765(%rip), %rsi     # 0x4bff0
movq 0x1e70e(%rip), %rdx     # 0x4bfa0
callq 0x6780
movq 0x28(%rsp), %rdi
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x58(%rsp)
movl %eax, 0x54(%rsp)
callq 0x6320
jmp 0x2d9fe
movq 0x68(%rsp), %rdi
callq 0x26b50
movl %eax, 0x40(%rsp)
movq %rdx, 0x48(%rsp)
movq 0x68(%rsp), %rdi
callq 0x26b50
movl %eax, 0x30(%rsp)
movq %rdx, 0x38(%rsp)
cmpl $0x4, 0x40(%rsp)
jne 0x2d8e8
cmpl $0x4, 0x30(%rsp)
je 0x2d940
movl $0x10, %edi
callq 0x6200
movq %rax, %rdi
movq %rdi, %rax
movq %rax, 0x20(%rsp)
leaq 0xbc6e(%rip), %rsi      # 0x39572
callq 0x6160
jmp 0x2d90b
movq 0x20(%rsp), %rdi
movq 0x1e6d9(%rip), %rsi     # 0x4bff0
movq 0x1e682(%rip), %rdx     # 0x4bfa0
callq 0x6780
movq 0x20(%rsp), %rdi
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x58(%rsp)
movl %eax, 0x54(%rsp)
callq 0x6320
jmp 0x2d9fe
movq 0x48(%rsp), %rdi
addq $0x20, %rdi
callq 0x6180
movq %rax, 0x18(%rsp)
movq 0x38(%rsp), %rdi
addq $0x20, %rdi
callq 0x6180
movq 0x18(%rsp), %rdi
movq %rax, %rsi
movl $0x1, %edx
callq 0x66d0
cmpl $0x0, %eax
je 0x2d9d9
movl $0x10, %edi
callq 0x6200
movq %rax, 0x10(%rsp)
movq %rax, 0x8(%rsp)
callq 0x6050
movl (%rax), %edi
callq 0x6100
movq 0x10(%rsp), %rdi
movq %rax, %rsi
callq 0x6160
jmp 0x2d9a7
movq 0x8(%rsp), %rdi
movq 0x1e63d(%rip), %rsi     # 0x4bff0
movq 0x1e5e6(%rip), %rdx     # 0x4bfa0
callq 0x6780
movq 0x8(%rsp), %rdi
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x58(%rsp)
movl %eax, 0x54(%rsp)
callq 0x6320
jmp 0x2d9fe
callq 0x1d110
movl %eax, 0x78(%rsp)
movq %rdx, 0x80(%rsp)
movl 0x78(%rsp), %eax
movq 0x80(%rsp), %rdx
addq $0x88, %rsp
retq
movq 0x58(%rsp), %rdi
callq 0x67a0
nopl (%rax,%rax)
// File: iamlouk[P]asbi/src/procenv.cc
// Function: get_env_var(int, asbi::Context*, std::shared_ptr<asbi::Env>)
static Value get_env_var(int n, Context* ctx, std::shared_ptr<Env>) {
	if (n != 1)
		throw std::runtime_error("env:get usage error");

	auto name = ctx->pop();
	if (name.type != type_t::String)
		throw std::runtime_error("env:get usage error");

	const char* value = std::getenv(name._string->data.c_str());
	return value == NULL ? Value::nil() : Value::string(value, ctx);
}

// Assembly:
subq $0x68, %rsp
movl %edi, 0x54(%rsp)
movq %rsi, 0x48(%rsp)
movq %rdx, 0x40(%rsp)
cmpl $0x1, 0x54(%rsp)
je 0x2da81
movl $0x10, %edi
callq 0x6200
movq %rax, %rdi
movq %rdi, %rax
movq %rax, 0x10(%rsp)
leaq 0xbb41(%rip), %rsi      # 0x39586
callq 0x6160
jmp 0x2da4c
movq 0x10(%rsp), %rdi
movq 0x1e598(%rip), %rsi     # 0x4bff0
movq 0x1e541(%rip), %rdx     # 0x4bfa0
callq 0x6780
movq 0x10(%rsp), %rdi
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x38(%rsp)
movl %eax, 0x34(%rsp)
callq 0x6320
jmp 0x2db49
movq 0x48(%rsp), %rdi
callq 0x26b50
movl %eax, 0x20(%rsp)
movq %rdx, 0x28(%rsp)
cmpl $0x4, 0x20(%rsp)
je 0x2daf0
movl $0x10, %edi
callq 0x6200
movq %rax, %rdi
movq %rdi, %rax
movq %rax, 0x8(%rsp)
leaq 0xbacf(%rip), %rsi      # 0x39586
callq 0x6160
jmp 0x2dabe
movq 0x8(%rsp), %rdi
movq 0x1e526(%rip), %rsi     # 0x4bff0
movq 0x1e4cf(%rip), %rdx     # 0x4bfa0
callq 0x6780
movq 0x8(%rsp), %rdi
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x38(%rsp)
movl %eax, 0x34(%rsp)
callq 0x6320
jmp 0x2db49
movq 0x28(%rsp), %rdi
addq $0x20, %rdi
callq 0x6180
movq %rax, %rdi
callq 0x6570
movq %rax, 0x18(%rsp)
cmpq $0x0, 0x18(%rsp)
jne 0x2db23
callq 0x1d110
movl %eax, 0x58(%rsp)
movq %rdx, 0x60(%rsp)
jmp 0x2db3b
movq 0x18(%rsp), %rdi
movq 0x48(%rsp), %rsi
callq 0x218a0
movl %eax, 0x58(%rsp)
movq %rdx, 0x60(%rsp)
movl 0x58(%rsp), %eax
movq 0x60(%rsp), %rdx
addq $0x68, %rsp
retq
movq 0x38(%rsp), %rdi
callq 0x67a0
nopw %cs:(%rax,%rax)
// File: iamlouk[P]asbi/src/procenv.cc
// Function: macro_exit(int, asbi::Context*, std::shared_ptr<asbi::Env>)
static Value macro_exit(int n, Context* ctx, std::shared_ptr<Env>) {
	if (n != 1)
		throw std::runtime_error("exit macro usage error");

	auto exitcode = ctx->pop();
	if (exitcode.type != type_t::Number)
		throw std::runtime_error("exit macro usage error");

	std::exit(static_cast<unsigned int>(exitcode._number));
}

// Assembly:
subq $0x48, %rsp
movl %edi, 0x44(%rsp)
movq %rsi, 0x38(%rsp)
movq %rdx, 0x30(%rsp)
cmpl $0x1, 0x44(%rsp)
je 0x2de4e
movl $0x10, %edi
callq 0x6200
movq %rax, %rdi
movq %rdi, %rax
movq %rax, 0x8(%rsp)
leaq 0xb7b7(%rip), %rsi      # 0x395cc
callq 0x6160
jmp 0x2de1c
movq 0x8(%rsp), %rdi
movq 0x1e1c8(%rip), %rsi     # 0x4bff0
movq 0x1e171(%rip), %rdx     # 0x4bfa0
callq 0x6780
movq 0x8(%rsp), %rdi
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x28(%rsp)
movl %eax, 0x24(%rsp)
callq 0x6320
jmp 0x2dec8
movq 0x38(%rsp), %rdi
callq 0x26b50
movl %eax, 0x10(%rsp)
movq %rdx, 0x18(%rsp)
cmpl $0x1, 0x10(%rsp)
je 0x2deba
movl $0x10, %edi
callq 0x6200
movq %rax, %rdi
movq %rdi, %rax
movq %rax, (%rsp)
leaq 0xb749(%rip), %rsi      # 0x395cc
callq 0x6160
jmp 0x2de8a
movq (%rsp), %rdi
movq 0x1e15b(%rip), %rsi     # 0x4bff0
movq 0x1e104(%rip), %rdx     # 0x4bfa0
callq 0x6780
movq (%rsp), %rdi
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x28(%rsp)
movl %eax, 0x24(%rsp)
callq 0x6320
jmp 0x2dec8
cvttsd2si 0x18(%rsp), %rax
movl %eax, %edi
callq 0x6560
movq 0x28(%rsp), %rdi
callq 0x67a0
nopw %cs:(%rax,%rax)
// File: iamlouk[P]asbi/src/events/utils.cc
// Function: asbi::evts::Semaphore::tryAcquire()
bool Semaphore::tryAcquire() {
	std::unique_lock<std::mutex> lock(mut);
	if (counter > 0) {
		counter--;
		return true;
	}
	return false;
}

// Assembly:
subq $0x38, %rsp
movq %rdi, 0x28(%rsp)
movq 0x28(%rsp), %rsi
movq %rsi, 0x8(%rsp)
leaq 0x18(%rsp), %rdi
callq 0x2ecf0
movq 0x8(%rsp), %rax
cmpl $0x0, 0x58(%rax)
jle 0x2e985
movq 0x8(%rsp), %rax
movl 0x58(%rax), %ecx
addl $-0x1, %ecx
movl %ecx, 0x58(%rax)
movb $0x1, 0x37(%rsp)
movl $0x1, 0x14(%rsp)
jmp 0x2e992
movb $0x0, 0x37(%rsp)
movl $0x1, 0x14(%rsp)
leaq 0x18(%rsp), %rdi
callq 0x2ed30
movb 0x37(%rsp), %al
andb $0x1, %al
addq $0x38, %rsp
retq
nopw (%rax,%rax)
// File: iamlouk[P]asbi/src/events/utils.cc
// Function: asbi::evts::Semaphore::acquireFor(std::chrono::duration<double, std::ratio<1l, 1000l>>)
bool Semaphore::acquireFor(std::chrono::duration<double, std::milli> timeout) {
	std::unique_lock<std::mutex> lock(mut);
	if (condvar.wait_for(lock, timeout, [this](){ return this->counter > 0; })) {
		counter--;
		return true;
	}
	return false;
}

// Assembly:
subq $0x58, %rsp
movsd %xmm0, 0x48(%rsp)
movq %rdi, 0x40(%rsp)
movq 0x40(%rsp), %rsi
movq %rsi, (%rsp)
leaq 0x30(%rsp), %rdi
movq %rdi, 0x8(%rsp)
callq 0x2ecf0
movq (%rsp), %rax
movq 0x8(%rsp), %rsi
movq %rax, %rdi
addq $0x28, %rdi
movq %rax, 0x28(%rsp)
movq 0x28(%rsp), %rcx
leaq 0x48(%rsp), %rdx
callq 0x2ea70
movb %al, 0x17(%rsp)
jmp 0x2ea01
movb 0x17(%rsp), %al
testb $0x1, %al
jne 0x2ea0b
jmp 0x2ea41
movq (%rsp), %rax
movl 0x58(%rax), %ecx
addl $-0x1, %ecx
movl %ecx, 0x58(%rax)
movb $0x1, 0x57(%rsp)
movl $0x1, 0x18(%rsp)
jmp 0x2ea4e
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x20(%rsp)
movl %eax, 0x1c(%rsp)
leaq 0x30(%rsp), %rdi
callq 0x2ed30
jmp 0x2ea63
movb $0x0, 0x57(%rsp)
movl $0x1, 0x18(%rsp)
leaq 0x30(%rsp), %rdi
callq 0x2ed30
movb 0x57(%rsp), %al
andb $0x1, %al
addq $0x58, %rsp
retq
movq 0x20(%rsp), %rdi
callq 0x67a0
nopl (%rax)
// File: iamlouk[P]asbi/src/events/loop.cc
// Function: asbi::evts::Loop::~Loop()
evts::Loop::~Loop() {
	assert(events.empty() && tasksRunning == 0 && tasks.empty() && timers.empty());
	{
		std::unique_lock<std::mutex> lock(tasksMtx);
		for (unsigned int i = 0; i < threads.size(); ++i) {
			tasks.push_back(nullptr);
			tasksSem.release();
		}
	}

	for (auto &thread: threads)
		thread.join();
}

// Assembly:
subq $0x68, %rsp
movq %rdi, 0x60(%rsp)
movq 0x60(%rsp), %rdi
movq %rdi, 0x10(%rsp)
addq $0x170, %rdi            # imm = 0x170
callq 0x30ec0
movb %al, %cl
xorl %eax, %eax
testb $0x1, %cl
movb %al, 0x1f(%rsp)
jne 0x2faae
jmp 0x2fb00
movq 0x10(%rsp), %rcx
xorl %eax, %eax
cmpl $0x0, 0x8(%rcx)
movb %al, 0x1f(%rsp)
jne 0x2fb00
movq 0x10(%rsp), %rdi
addq $0x98, %rdi
callq 0x30ee0
movb %al, %cl
xorl %eax, %eax
testb $0x1, %cl
movb %al, 0x1f(%rsp)
jne 0x2fadf
jmp 0x2fb00
movq 0x10(%rsp), %rdi
addq $0x1c0, %rdi            # imm = 0x1C0
callq 0x30f00
movb %al, 0xf(%rsp)
jmp 0x2faf6
movb 0xf(%rsp), %al
movb %al, 0x1f(%rsp)
jmp 0x2fb00
movb 0x1f(%rsp), %al
testb $0x1, %al
jne 0x2fb0a
jmp 0x2fb0c
jmp 0x2fb2b
leaq 0x9b16(%rip), %rdi      # 0x39629
leaq 0x9b56(%rip), %rsi      # 0x39670
movl $0x11, %edx
leaq 0x9b59(%rip), %rcx      # 0x3967f
callq 0x62b0
movq 0x10(%rsp), %rsi
addq $0x10, %rsi
leaq 0x50(%rsp), %rdi
callq 0x2ecf0
jmp 0x2fb40
movl $0x0, 0x4c(%rsp)
movq 0x10(%rsp), %rdi
movl 0x4c(%rsp), %eax
movq %rax, (%rsp)
addq $0x1c8, %rdi            # imm = 0x1C8
callq 0x30f20
movq %rax, %rcx
movq (%rsp), %rax
cmpq %rcx, %rax
jae 0x2fbad
movq 0x10(%rsp), %rdi
addq $0x98, %rdi
movq $0x0, 0x40(%rsp)
leaq 0x40(%rsp), %rsi
callq 0x30f40
jmp 0x2fb8e
movq 0x10(%rsp), %rdi
addq $0x38, %rdi
callq 0x2e810
jmp 0x2fb9e
jmp 0x2fba0
movl 0x4c(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x4c(%rsp)
jmp 0x2fb48
leaq 0x50(%rsp), %rdi
callq 0x2ed30
movq 0x10(%rsp), %rax
addq $0x1c8, %rax            # imm = 0x1C8
movq %rax, 0x38(%rsp)
movq 0x38(%rsp), %rdi
callq 0x30f70
movq %rax, 0x30(%rsp)
movq 0x38(%rsp), %rdi
callq 0x30fa0
movq %rax, 0x28(%rsp)
leaq 0x30(%rsp), %rdi
leaq 0x28(%rsp), %rsi
callq 0x30fd0
testb $0x1, %al
jne 0x2fbfa
jmp 0x2fc23
leaq 0x30(%rsp), %rdi
callq 0x31010
movq %rax, 0x20(%rsp)
movq 0x20(%rsp), %rdi
callq 0x6770
jmp 0x2fc15
jmp 0x2fc17
leaq 0x30(%rsp), %rdi
callq 0x31020
jmp 0x2fbe5
movq 0x10(%rsp), %rdi
addq $0x1c8, %rdi            # imm = 0x1C8
callq 0x30d00
movq 0x10(%rsp), %rdi
addq $0x1c0, %rdi            # imm = 0x1C0
callq 0x30d60
movq 0x10(%rsp), %rdi
addq $0x170, %rdi            # imm = 0x170
callq 0x30dc0
movq 0x10(%rsp), %rdi
addq $0x110, %rdi            # imm = 0x110
callq 0x30e30
movq 0x10(%rsp), %rdi
addq $0x98, %rdi
callq 0x30e50
movq 0x10(%rsp), %rdi
addq $0x38, %rdi
callq 0x30e30
addq $0x68, %rsp
retq
movq %rax, %rdi
callq 0x7dc0
nopw %cs:(%rax,%rax)
// File: iamlouk[P]asbi/src/events/loop.cc
// Function: worker(asbi::evts::Loop*)
static void worker(evts::Loop* evtloop) {
	evts::Task* task = nullptr;
	while ((task = evtloop->getTask()) != nullptr) {
		task->fn([evtloop, task](std::vector<Value> *args, bool done) -> void {
			evtloop->addEvent(task, args, done);
		});

		// std::cerr << "Worker#" << std::this_thread::get_id() << " finished Task " << (void*)task << '\n';

		delete task;
	}
}

// Assembly:
subq $0x68, %rsp
movq %rdi, 0x60(%rsp)
movq $0x0, 0x58(%rsp)
movq 0x60(%rsp), %rdi
callq 0x30490
movq %rax, 0x58(%rsp)
cmpq $0x0, %rax
je 0x2fd5d
movq 0x58(%rsp), %rax
movq %rax, 0x8(%rsp)
movq 0x60(%rsp), %rax
movq %rax, 0x28(%rsp)
movq 0x58(%rsp), %rax
movq %rax, 0x30(%rsp)
leaq 0x38(%rsp), %rdi
movq %rdi, 0x10(%rsp)
leaq 0x28(%rsp), %rsi
callq 0x307d0
movq 0x8(%rsp), %rdi
movq 0x10(%rsp), %rsi
callq 0x32de0
jmp 0x2fd0e
leaq 0x38(%rsp), %rdi
callq 0x2ce70
movq 0x58(%rsp), %rax
movq %rax, (%rsp)
cmpq $0x0, %rax
je 0x2fd3e
movq (%rsp), %rdi
callq 0x32e30
movq (%rsp), %rdi
movl $0x28, %esi
callq 0x6470
jmp 0x2fcb2
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x20(%rsp)
movl %eax, 0x1c(%rsp)
leaq 0x38(%rsp), %rdi
callq 0x2ce70
jmp 0x2fd62
addq $0x68, %rsp
retq
movq 0x20(%rsp), %rdi
callq 0x67a0
nopl (%rax)
// File: iamlouk[P]asbi/src/events/loop.cc
// Function: asbi::evts::Loop::start()
void evts::Loop::start() {
	evts::Event* evt;
	while ((evt = getEvent()) != nullptr) {
		for (auto rit = evt->args.rbegin(); rit != evt->args.rend(); ++rit)
			ctx->push(*rit);

		Value::lambda(evt->callback).call(ctx, evt->args.size(), nullptr);
		delete evt;
	}
}

// Assembly:
subq $0xb8, %rsp
movq %rdi, 0xb0(%rsp)
movq 0xb0(%rsp), %rax
movq %rax, 0x40(%rsp)
movq 0x40(%rsp), %rdi
callq 0x2ff40
movq %rax, 0xa8(%rsp)
cmpq $0x0, %rax
je 0x2ff23
movq 0xa8(%rsp), %rsi
leaq 0xa0(%rsp), %rdi
callq 0x31160
movq 0xa8(%rsp), %rsi
leaq 0x98(%rsp), %rdi
callq 0x311e0
leaq 0xa0(%rsp), %rdi
leaq 0x98(%rsp), %rsi
callq 0x311b0
testb $0x1, %al
jne 0x2fded
jmp 0x2fe49
movq 0x40(%rsp), %rax
movq (%rax), %rax
movq %rax, 0x38(%rsp)
leaq 0xa0(%rsp), %rdi
callq 0x31230
movq 0x38(%rsp), %rdi
movq (%rax), %rcx
movq %rcx, 0x88(%rsp)
movq 0x8(%rax), %rax
movq %rax, 0x90(%rsp)
movl 0x88(%rsp), %esi
movq 0x90(%rsp), %rdx
callq 0x26b20
leaq 0xa0(%rsp), %rdi
callq 0x31260
jmp 0x2fdbd
movq 0xa8(%rsp), %rax
movq 0x18(%rax), %rdi
callq 0x1d1c0
movl %eax, %ecx
movq 0x40(%rsp), %rax
movl %ecx, 0x78(%rsp)
movq %rdx, 0x80(%rsp)
movq (%rax), %rax
movq %rax, 0x10(%rsp)
movq 0xa8(%rsp), %rdi
callq 0x1d030
movl %eax, 0x1c(%rsp)
xorl %eax, %eax
movl %eax, %esi
leaq 0x68(%rsp), %rdi
movq %rdi, 0x20(%rsp)
callq 0x1f8f0
movq 0x10(%rsp), %rsi
movl 0x1c(%rsp), %edx
movq 0x20(%rsp), %rcx
leaq 0x78(%rsp), %rdi
callq 0x219c0
movq %rdx, 0x28(%rsp)
movl %eax, 0x34(%rsp)
jmp 0x2febc
movq 0x28(%rsp), %rax
movl 0x34(%rsp), %ecx
movl %ecx, 0x48(%rsp)
movq %rax, 0x50(%rsp)
leaq 0x68(%rsp), %rdi
callq 0x7db0
movq 0xa8(%rsp), %rax
movq %rax, 0x8(%rsp)
cmpq $0x0, %rax
je 0x2ff04
movq 0x8(%rsp), %rdi
callq 0x31290
movq 0x8(%rsp), %rdi
movl $0x28, %esi
callq 0x6470
jmp 0x2fd8c
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x60(%rsp)
movl %eax, 0x5c(%rsp)
leaq 0x68(%rsp), %rdi
callq 0x7db0
jmp 0x2ff2b
addq $0xb8, %rsp
retq
movq 0x60(%rsp), %rdi
callq 0x67a0
nopw %cs:(%rax,%rax)
// File: iamlouk[P]asbi/src/events/loop.cc
// Function: asbi::evts::Loop::addTask(asbi::evts::Task*)
void evts::Loop::addTask(evts::Task* task) {
	std::unique_lock<std::mutex> lock(tasksMtx);
	task->callback->gc_manage = false;
	tasks.push_back(task);
	if (tasksRunning >= threads.size())
		newThread();

	tasksSem.release();
}

// Assembly:
subq $0x48, %rsp
movq %rdi, 0x40(%rsp)
movq %rsi, 0x38(%rsp)
movq 0x40(%rsp), %rsi
movq %rsi, 0x10(%rsp)
addq $0x10, %rsi
leaq 0x28(%rsp), %rdi
callq 0x2ecf0
movq 0x10(%rsp), %rdi
movq 0x38(%rsp), %rax
movq 0x20(%rax), %rax
movb $0x0, 0x11(%rax)
addq $0x98, %rdi
leaq 0x38(%rsp), %rsi
callq 0x31390
jmp 0x3040b
movq 0x10(%rsp), %rdi
movl 0x8(%rdi), %eax
movq %rax, 0x8(%rsp)
addq $0x1c8, %rdi            # imm = 0x1C8
callq 0x30f20
movq %rax, %rcx
movq 0x8(%rsp), %rax
cmpq %rcx, %rax
jb 0x30459
movq 0x10(%rsp), %rdi
callq 0x2fa00
jmp 0x3043d
jmp 0x30459
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x20(%rsp)
movl %eax, 0x1c(%rsp)
leaq 0x28(%rsp), %rdi
callq 0x2ed30
jmp 0x30478
movq 0x10(%rsp), %rdi
addq $0x38, %rdi
callq 0x2e810
jmp 0x30469
leaq 0x28(%rsp), %rdi
callq 0x2ed30
addq $0x48, %rsp
retq
movq 0x20(%rsp), %rdi
callq 0x67a0
nopw %cs:(%rax,%rax)
// File: iamlouk[P]asbi/src/events/loop.cc
// Function: asbi::evts::Loop::getTask()
evts::Task* evts::Loop::getTask() {
	tasksSem.acquire();

	std::unique_lock<std::mutex> lock(tasksMtx);
	auto task = tasks.front();
	tasks.pop_front();
	tasksRunning++;
	return task;
}

// Assembly:
subq $0x38, %rsp
movq %rdi, 0x30(%rsp)
movq 0x30(%rsp), %rdi
movq %rdi, 0x8(%rsp)
addq $0x38, %rdi
callq 0x2e860
movq 0x8(%rsp), %rsi
addq $0x10, %rsi
leaq 0x20(%rsp), %rdi
callq 0x2ecf0
movq 0x8(%rsp), %rdi
addq $0x98, %rdi
callq 0x313f0
movq 0x8(%rsp), %rdi
movq (%rax), %rax
movq %rax, 0x18(%rsp)
addq $0x98, %rdi
callq 0x31420
movq 0x8(%rsp), %rax
movl 0x8(%rax), %ecx
addl $0x1, %ecx
movl %ecx, 0x8(%rax)
movq 0x18(%rsp), %rax
movq %rax, 0x10(%rsp)
leaq 0x20(%rsp), %rdi
callq 0x2ed30
movq 0x10(%rsp), %rax
addq $0x38, %rsp
retq
nopw %cs:(%rax,%rax)
// File: iamlouk[P]asbi/src/events/loop.cc
// Function: asbi::evts::Loop::addEvent(asbi::evts::Task*, std::vector<asbi::Value, std::allocator<asbi::Value>>*, bool)
void evts::Loop::addEvent(evts::Task* task, std::vector<Value> *args, bool done) {
	auto evt = new evts::Event();
	evt->taskDone = done;
	evt->callback = task->callback;
	if (args == nullptr) {
		evt->doCall = false;
	} else {
		evt->args = *args;
		evt->doCall = true;
	}
	addEvent(evt);
}

// Assembly:
subq $0x38, %rsp
movb %cl, %al
movq %rdi, 0x30(%rsp)
movq %rsi, 0x28(%rsp)
movq %rdx, 0x20(%rsp)
andb $0x1, %al
movb %al, 0x1f(%rsp)
movq 0x30(%rsp), %rax
movq %rax, (%rsp)
movl $0x28, %edi
callq 0x6460
movq %rax, %rdi
movq %rdi, 0x8(%rsp)
xorl %esi, %esi
movl $0x28, %edx
callq 0x6250
movq 0x8(%rsp), %rdi
callq 0x31490
movq 0x8(%rsp), %rax
movq %rax, 0x10(%rsp)
movb 0x1f(%rsp), %cl
movq 0x10(%rsp), %rax
andb $0x1, %cl
movb %cl, 0x20(%rax)
movq 0x28(%rsp), %rax
movq 0x20(%rax), %rcx
movq 0x10(%rsp), %rax
movq %rcx, 0x18(%rax)
cmpq $0x0, 0x20(%rsp)
jne 0x305aa
movq 0x10(%rsp), %rax
movb $0x0, 0x21(%rax)
jmp 0x305c2
movq 0x20(%rsp), %rsi
movq 0x10(%rsp), %rdi
callq 0x314a0
movq 0x10(%rsp), %rax
movb $0x1, 0x21(%rax)
movq (%rsp), %rdi
movq 0x10(%rsp), %rsi
callq 0x305e0
addq $0x38, %rsp
retq
nopw %cs:(%rax,%rax)
// File: iamlouk[P]asbi/src/events/loop.cc
// Function: asbi::evts::Loop::addEvent(asbi::evts::Event*)
void evts::Loop::addEvent(evts::Event* evt) {
	std::unique_lock<std::mutex> lock(eventsMtx);

	if (evt->taskDone) {
		std::unique_lock<std::mutex> lock(tasksMtx);
		tasksRunning--;
	}

	events.push_back(evt);
	eventsSem.release();
}

// Assembly:
subq $0x48, %rsp
movq %rdi, 0x40(%rsp)
movq %rsi, 0x38(%rsp)
movq 0x40(%rsp), %rsi
movq %rsi, (%rsp)
addq $0xe8, %rsi
leaq 0x28(%rsp), %rdi
callq 0x2ecf0
movq 0x38(%rsp), %rax
testb $0x1, 0x20(%rax)
je 0x3065a
movq (%rsp), %rsi
addq $0x10, %rsi
leaq 0x18(%rsp), %rdi
callq 0x2ecf0
jmp 0x30627
movq (%rsp), %rax
movl 0x8(%rax), %ecx
addl $-0x1, %ecx
movl %ecx, 0x8(%rax)
leaq 0x18(%rsp), %rdi
callq 0x2ed30
jmp 0x3065a
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x10(%rsp)
movl %eax, 0xc(%rsp)
leaq 0x28(%rsp), %rdi
callq 0x2ed30
jmp 0x30692
movq (%rsp), %rdi
addq $0x170, %rdi            # imm = 0x170
leaq 0x38(%rsp), %rsi
callq 0x31760
jmp 0x30671
movq (%rsp), %rdi
addq $0x110, %rdi            # imm = 0x110
callq 0x2e810
jmp 0x30683
leaq 0x28(%rsp), %rdi
callq 0x2ed30
addq $0x48, %rsp
retq
movq 0x10(%rsp), %rdi
callq 0x67a0
nopl (%rax)
// File: iamlouk[P]asbi/src/events/loop.cc
// Function: asbi::evts::Loop::getNextTimer(asbi::evts::Timer&)
bool evts::Loop::getNextTimer(evts::Timer& out) {
	if (timers.empty())
		return false;

	auto now = evts::timestamp();
	auto first = timers.first();

	if (first.dueAt <= now) {
		out = first;
		timers.removeFirst();
		return true;
	}

	return false;
}

// Assembly:
subq $0x38, %rsp
movq %rdi, 0x28(%rsp)
movq %rsi, 0x20(%rsp)
movq 0x28(%rsp), %rdi
movq %rdi, (%rsp)
addq $0x1c0, %rdi            # imm = 0x1C0
callq 0x30f00
testb $0x1, %al
jne 0x306c9
jmp 0x306d0
movb $0x0, 0x37(%rsp)
jmp 0x30741
callq 0x2eb00
movq (%rsp), %rdi
movsd %xmm0, 0x18(%rsp)
addq $0x1c0, %rdi            # imm = 0x1C0
callq 0x31840
movq %rax, 0x8(%rsp)
movsd %xmm0, 0x10(%rsp)
leaq 0x8(%rsp), %rdi
addq $0x8, %rdi
leaq 0x18(%rsp), %rsi
callq 0x31940
testb $0x1, %al
jne 0x3070f
jmp 0x3073c
movq (%rsp), %rdi
movq 0x20(%rsp), %rax
movq 0x8(%rsp), %rcx
movq %rcx, (%rax)
movq 0x10(%rsp), %rcx
movq %rcx, 0x8(%rax)
addq $0x1c0, %rdi            # imm = 0x1C0
callq 0x31970
movb $0x1, 0x37(%rsp)
jmp 0x30741
movb $0x0, 0x37(%rsp)
movb 0x37(%rsp), %al
andb $0x1, %al
addq $0x38, %rsp
retq
nopl (%rax)
// File: iamlouk[P]asbi/src/events/utils.hh
// Function: asbi::evts::SortedQueue<asbi::evts::Timer, std::less<asbi::evts::Timer>>::~SortedQueue()
~SortedQueue() {
			for (Node* node = head; node != nullptr;) {
				auto tmp = node->next;
				delete node;
				node = tmp;
			}
		}

// Assembly:
subq $0x28, %rsp
movq %rdi, 0x20(%rsp)
movq 0x20(%rsp), %rax
movq (%rax), %rax
movq %rax, 0x18(%rsp)
cmpq $0x0, 0x18(%rsp)
je 0x30db7
movq 0x18(%rsp), %rax
movq 0x10(%rax), %rax
movq %rax, 0x10(%rsp)
movq 0x18(%rsp), %rax
movq %rax, 0x8(%rsp)
cmpq $0x0, %rax
je 0x30dab
movq 0x8(%rsp), %rdi
movl $0x18, %esi
callq 0x6470
movq 0x10(%rsp), %rax
movq %rax, 0x18(%rsp)
jmp 0x30d76
addq $0x28, %rsp
retq
nopl (%rax)
// File: iamlouk[P]asbi/src/events/utils.hh
// Function: asbi::evts::SortedQueue<asbi::evts::Timer, std::less<asbi::evts::Timer>>::removeFirst()
void removeFirst() {
			assert(head != nullptr);
			auto tmp = head->next;
			delete head;
			head = tmp;
		}

// Assembly:
subq $0x28, %rsp
movq %rdi, 0x20(%rsp)
movq 0x20(%rsp), %rax
movq %rax, 0x10(%rsp)
cmpq $0x0, (%rax)
je 0x3198b
jmp 0x319aa
leaq 0x7d71(%rip), %rdi      # 0x39703
leaq 0x7d7a(%rip), %rsi      # 0x39713
movl $0x61, %edx
leaq 0x7df1(%rip), %rcx      # 0x39796
callq 0x62b0
movq 0x10(%rsp), %rax
movq (%rax), %rcx
movq 0x10(%rcx), %rcx
movq %rcx, 0x18(%rsp)
movq (%rax), %rax
movq %rax, 0x8(%rsp)
cmpq $0x0, %rax
je 0x319d8
movq 0x8(%rsp), %rdi
movl $0x18, %esi
callq 0x6470
movq 0x10(%rsp), %rax
movq 0x18(%rsp), %rcx
movq %rcx, (%rax)
addq $0x28, %rsp
retq
nopw (%rax,%rax)