LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_c_makefile_star2_O2/wahern[P]cqueues/src/cqueues.c
// Function: cqueue_update
static cqs_status_t cqueue_update(lua_State *L, struct cqueue *Q, struct callinfo *I, struct thread *T) {
	struct fileno *fileno, *next;
	struct event *event;
	int error;

	for (fileno = LIST_FIRST(&Q->fileno.outstanding); fileno; fileno = next) {
		next = LIST_NEXT(fileno, le);

		if ((error = fileno_update(Q, fileno)))
			goto error;
	}

	return LUA_OK;
error:
	LIST_FOREACH(event, &fileno->events, fle) {
		if (event->thread != T)
			continue;

		lua_pushvalue(T->L, event->index);
		lua_xmove(T->L, L, 1);
		err_setobject(L, I, lua_gettop(L));

		break;
	}

	err_setfd(L, I, fileno->fd);
	err_setinfo(L, I, error, T, 0, "unable to update event disposition: %s (fd:%d)", cqs_strerror(error), fileno->fd);

	return LUA_ERRRUN;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x98, %rsp
movq %rcx, %rbx
movq %rdx, 0x8(%rsp)
movq %rsi, %r13
movq %rdi, (%rsp)
movq 0x1b0(%rsi), %r15
testq %r15, %r15
je 0x13627
movq %r15, %r12
movq 0x30(%r15), %r15
leaq 0x8(%r12), %r14
xorl %eax, %eax
movq %r14, %rcx
movq (%rcx), %rcx
testq %rcx, %rcx
je 0x135f6
orw 0x4(%rcx), %ax
addq $0x38, %rcx
jmp 0x135e4
movswl %ax, %edx
movq %r13, %rdi
movq %r12, %rsi
callq 0x11775
testl %eax, %eax
je 0x135ce
movl %eax, %ebp
movq 0x8(%rsp), %r15
movq (%rsp), %r13
movq (%r14), %r14
testq %r14, %r14
je 0x1365d
cmpq %rbx, 0x18(%r14)
je 0x1362e
addq $0x38, %r14
jmp 0x13613
xorl %eax, %eax
jmp 0x136c4
movq (%rbx), %rdi
movl 0x14(%r14), %esi
callq 0xfa10
movq (%rbx), %rdi
pushq $0x1
popq %rdx
movq %r13, %rsi
callq 0x102c0
movq %r13, %rdi
callq 0xf970
movq %r13, %rdi
movq %r15, %rsi
movl %eax, %edx
callq 0x13e62
movl (%r12), %eax
movl %eax, 0x14(%r15)
xorps %xmm0, %xmm0
leaq 0x10(%rsp), %rsi
movaps %xmm0, 0x70(%rsi)
movaps %xmm0, 0x60(%rsi)
movaps %xmm0, 0x50(%rsi)
movaps %xmm0, 0x40(%rsi)
movaps %xmm0, 0x30(%rsi)
movaps %xmm0, 0x20(%rsi)
movaps %xmm0, 0x10(%rsi)
movaps %xmm0, (%rsi)
movl $0x80, %edx
movl %ebp, %edi
callq 0xf260
movq %rax, %r10
movl (%r12), %r11d
leaq 0x1ccc0(%rip), %r9      # 0x30366
movq %r13, %rdi
movq %r15, %rsi
movl %ebp, %edx
movq %rbx, %rcx
xorl %r8d, %r8d
xorl %eax, %eax
pushq %r11
pushq %r10
callq 0x137be
popq %rax
popq %rcx
pushq $0x2
popq %rax
addq $0x98, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/wahern[P]cqueues/src/cqueues.c
// Function: thread_del
static void thread_del(lua_State *L, struct cqueue *Q, struct callinfo *I, struct thread *T) {
	struct event *event;

	while ((event = TAILQ_FIRST(&T->events))) {
		event_del(Q, event);
	}
	timer_destroy(Q, &T->timer);
	LIST_REMOVE(T, le);
	Q->thread.count--;

	/*
	 * XXX: These lua operations are documented as able to longjmp on
	 * OOM. However, inspection of the lua source suggests that when used
	 * as below they won't throw.
	 *   - In lua5.1 pushing a lightuserdata doesn't allocate (they're
	 *     stack allocated)
	 *   - rawset doesn't allocate if the key already exists in the table
	 *     (which it always does for this function)
	 */
	cqs_getuservalue(L, I->self);

	/* set thread's uservalue (it's thread) to nil */
	lua_rawgetp(L, -1, CQS_UNIQUE_LIGHTUSERDATA_MASK(T));
	lua_pushnil(L);
	cqs_setuservalue(L, -2);
	lua_pop(L, 1);
	T->L = NULL;

	/* remove thread from cqueues's thread table */
	lua_pushnil(L);
	lua_rawsetp(L, -2, CQS_UNIQUE_LIGHTUSERDATA_MASK(T));
	lua_pop(L, 1);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movq %rcx, %r14
movq %rdx, %r15
movq %rsi, %r12
movq %rdi, %rbx
movq 0x8(%r14), %rsi
testq %rsi, %rsi
je 0x136fd
movq %r12, %rdi
callq 0x13272
jmp 0x136ea
leaq 0x40(%r14), %rsi
movq %r12, %rdi
callq 0x13363
movq 0x28(%r14), %rax
movq 0x30(%r14), %rcx
testq %rax, %rax
je 0x1371a
movq %rcx, 0x30(%rax)
movq %rax, (%rcx)
decl 0x220(%r12)
movl (%r15), %esi
movq %rbx, %rdi
callq 0x103d0
pushq $-0x1
popq %rsi
movq %rbx, %rdi
movq %r14, %rdx
callq 0xf080
movq %rbx, %rdi
callq 0xf9d0
pushq $-0x2
popq %rbp
movq %rbx, %rdi
movl %ebp, %esi
callq 0xf670
movq %rbx, %rdi
movl %ebp, %esi
callq 0x106f0
andq $0x0, (%r14)
movq %rbx, %rdi
callq 0xf9d0
movq %rbx, %rdi
movl %ebp, %esi
movq %r14, %rdx
callq 0xf170
movq %rbx, %rdi
movl %ebp, %esi
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
jmp 0x106f0
// File: /workspace/github_c_makefile_star2_O2/wahern[P]cqueues/src/cqueues.c
// Function: err_setinfo
static void err_setinfo(lua_State *L, struct callinfo *I, int code, struct thread *T, int object, const char *fmt, ...) {
	/* set object first in case it's a relative index */
	if (object)
		err_setobject(L, I, object);

	if (T)
		err_setthread(L, I, T);

	if (fmt) {
		va_list ap;

		va_start(ap, fmt);
		err_setvfstring(L, I, fmt, ap);
		va_end(ap);
	}

	/*
	 * set code after we set any string so we don't unnecessarily
	 * instantiate a string description
	 */
	if (code)
		err_setcode(L, I, code);
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xd0, %rsp
movq %r9, %r12
movq %rcx, %r13
movl %edx, %ebx
movq %rsi, %r14
movq %rdi, %r15
testb %al, %al
je 0x13817
movaps %xmm0, 0x50(%rsp)
movaps %xmm1, 0x60(%rsp)
movaps %xmm2, 0x70(%rsp)
movaps %xmm3, 0x80(%rsp)
movaps %xmm4, 0x90(%rsp)
movaps %xmm5, 0xa0(%rsp)
movaps %xmm6, 0xb0(%rsp)
movaps %xmm7, 0xc0(%rsp)
testl %r8d, %r8d
je 0x1382a
movq %r15, %rdi
movq %r14, %rsi
movl %r8d, %edx
callq 0x13e62
testq %r13, %r13
je 0x1383d
movq %r15, %rdi
movq %r14, %rsi
movq %r13, %rdx
callq 0x13788
testq %r12, %r12
je 0x13875
leaq 0x20(%rsp), %rax
movq %rsp, %rcx
movq %rax, 0x10(%rcx)
leaq 0x100(%rsp), %rax
movq %rax, 0x8(%rcx)
movabsq $0x3000000030, %rax     # imm = 0x3000000030
movq %rax, (%rcx)
movq %r15, %rdi
movq %r14, %rsi
movq %r12, %rdx
callq 0x127d5
testl %ebx, %ebx
je 0x13886
movq %r15, %rdi
movq %r14, %rsi
movl %ebx, %edx
callq 0x12415
addq $0xd0, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O2/wahern[P]cqueues/src/cqueues.c
// Function: pool_get
static void *pool_get(struct pool *P, int *_error) {
	void *p;
	int error;

	if (!(p = P->head)) {
		error = pool_grow(P, MAX(1, P->count));

		if (!(p = P->head)) {
			*_error = error;

			return NULL;
		}
	}

	P->head = *(void **)p;

	return p;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq 0x10(%rdi), %r15
testq %r15, %r15
jne 0x13a6c
movq %rsi, %r14
movq 0x8(%rbx), %r13
cmpq $0x1, %r13
movq %r13, %rbp
adcq $0x0, %rbp
incq %r13
xorl %r12d, %r12d
xorl %r15d, %r15d
subq $0x1, %rbp
jb 0x13a67
testq %r13, %r13
je 0x13a57
movq (%rbx), %rdi
callq 0x101a0
testq %rax, %rax
je 0x13a5f
movq %r13, 0x8(%rbx)
movq %r15, (%rax)
movq %rax, 0x10(%rbx)
incq %r13
movq %rax, %r15
jmp 0x13a2c
pushq $0xc
popq %rax
movl %eax, %r12d
jmp 0x13a67
callq 0xf0a0
movl (%rax), %r12d
testq %r15, %r15
je 0x13a85
movq (%r15), %rax
movq %rax, 0x10(%rbx)
movq %r15, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movl %r12d, (%r14)
xorl %r15d, %r15d
jmp 0x13a73
// File: /workspace/github_c_makefile_star2_O2/wahern[P]cqueues/src/cqueues.c
// Function: object_getcv
static int object_getcv(lua_State *L, struct cqueue *Q, struct callinfo *I, struct thread *T, int index, struct event *event) {
	struct condition *cv = lua_touserdata(L, index);
	int error;

	if (!(event->wakecb = pool_get(&Q->pool.wakecb, &error))) {
		err_setinfo(L, I, error, T, index, "unable to wait on conditional variable: %s", cqs_strerror(error));

		return LUA_ERRRUN;
	}

	wakecb_init(event->wakecb, &wakecb_wakeup, Q, event);
	wakecb_add(event->wakecb, cv);

	return LUA_OK;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x98, %rsp
movq %r8, %r13
movq %rcx, %rbx
movq %rdx, %r14
movq %rsi, %rbp
movq %rdi, %r12
pushq $-0x1
popq %rsi
callq 0x103f0
movq %rax, %r15
leaq 0x1c0(%rbp), %rdi
leaq 0xc(%rsp), %rsi
callq 0x139fa
movq %rax, 0x48(%r13)
testq %rax, %rax
je 0x13b7c
andq $0x0, (%rax)
leaq 0x210(%rip), %rcx       # 0x13d3f
movq %rcx, 0x8(%rax)
movq %rbp, 0x10(%rax)
movq 0x48(%r13), %rax
movq %r13, 0x18(%rax)
movq 0x48(%r13), %rax
cmpb $0x1, (%r15)
jne 0x13bd9
leaq 0x8(%r15), %rcx
movq 0x8(%r15), %rdx
leaq 0x28(%rax), %rsi
movq %r15, %rdi
addq $0x10, %rdi
leaq 0x30(%rdx), %r8
testq %rdx, %rdx
cmoveq %rdi, %r8
movq %rdx, 0x28(%rax)
movq %rsi, (%r8)
movq %rax, 0x8(%r15)
movq %rcx, 0x30(%rax)
jmp 0x13bf1
movl 0xc(%rsp), %ebp
xorps %xmm0, %xmm0
leaq 0x10(%rsp), %rsi
movaps %xmm0, (%rsi)
movaps %xmm0, 0x10(%rsi)
movaps %xmm0, 0x20(%rsi)
movaps %xmm0, 0x30(%rsi)
movaps %xmm0, 0x40(%rsi)
movaps %xmm0, 0x50(%rsi)
movaps %xmm0, 0x60(%rsi)
movaps %xmm0, 0x70(%rsi)
movl $0x80, %edx
movl %ebp, %edi
callq 0xf260
movq %rax, (%rsp)
leaq 0x1c735(%rip), %r9      # 0x302f3
pushq $-0x1
popq %r8
movq %r12, %rdi
movq %r14, %rsi
movl %ebp, %edx
movq %rbx, %rcx
xorl %eax, %eax
callq 0x137be
pushq $0x2
popq %rax
jmp 0x13bf6
leaq 0x28(%rax), %rcx
andq $0x0, 0x28(%rax)
movq 0x10(%r15), %rdx
movq %rdx, 0x30(%rax)
movq %rax, (%rdx)
movq %rcx, 0x10(%r15)
movq %r15, (%rax)
xorl %eax, %eax
addq $0x98, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/wahern[P]cqueues/src/cqueues.c
// Function: object_pcall
static cqs_status_t (object_pcall)(lua_State *L, struct callinfo *I, struct thread *T, int index, const char *field, int rtype[], int n) {
	int type, i, status;

	index = lua_absindex(L, index);
	lua_getfield(L, index, field);

	if (lua_isfunction(L, -1)) {
		lua_pushvalue(L, index);

		if (LUA_OK != (status = lua_pcall(L, 1, 1, 0))) {
			err_setinfo(L, I, 0, T, index, "error calling method %s: %s", field, lua_tostring(L, -1));

			return status;
		}
	}

	type = lua_type(L, -1);

	for (i = 0; i < n; i++) {
		if (type == rtype[i])
			return LUA_OK;
	}

	err_setinfo(L, I, 0, T, index, "error loading field %s: %s expected, got %s", field, lua_typename(L, rtype[0]), luaL_typename(L, -1));

	return LUA_ERRRUN;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %r9, %r13
movq %r8, %rbx
movq %rdx, (%rsp)
movq %rsi, %r15
movq %rdi, %r12
movl %ecx, %esi
callq 0xf290
movl %eax, %ebp
movq %r12, %rdi
movl %eax, %esi
movq %rbx, %rdx
callq 0xf1f0
pushq $-0x1
popq %rsi
movq %r12, %rdi
callq 0xf270
cmpl $0x6, %eax
jne 0x13ca6
movq %r12, %rdi
movl %ebp, %esi
callq 0xfa10
pushq $0x1
popq %rdx
movq %r12, %rdi
movl %edx, %esi
xorl %ecx, %ecx
xorl %r8d, %r8d
xorl %r9d, %r9d
callq 0xf9e0
testl %eax, %eax
je 0x13ca6
movl %eax, %r14d
pushq $-0x1
popq %rsi
movq %r12, %rdi
xorl %edx, %edx
callq 0xf120
movq %rax, %r10
leaq 0x1c698(%rip), %r9      # 0x3031e
movq %r12, %rdi
movq %r15, %rsi
xorl %edx, %edx
movq (%rsp), %rcx
movl %ebp, %r8d
xorl %eax, %eax
pushq %r10
pushq %rbx
callq 0x137be
popq %rax
popq %rcx
jmp 0x13d2d
movl 0x40(%rsp), %r14d
pushq $-0x1
popq %rsi
movq %r12, %rdi
callq 0xf270
xorl %ecx, %ecx
testl %r14d, %r14d
cmovlel %ecx, %r14d
cmpq %rcx, %r14
je 0x13cd7
leaq 0x1(%rcx), %rdx
cmpl (%r13,%rcx,4), %eax
movq %rdx, %rcx
jne 0x13cbf
xorl %r14d, %r14d
jmp 0x13d2d
movl (%r13), %esi
movq %r12, %rdi
callq 0xfac0
movq %rax, %r14
pushq $-0x1
popq %rsi
movq %r12, %rdi
callq 0xf270
movq %r12, %rdi
movl %eax, %esi
callq 0xfac0
movq %rax, %r10
subq $0x8, %rsp
leaq 0x1c631(%rip), %r9      # 0x3033a
movq %r12, %rdi
movq %r15, %rsi
xorl %edx, %edx
movq 0x8(%rsp), %rcx
movl %ebp, %r8d
xorl %eax, %eax
pushq %r10
pushq %r14
pushq %rbx
callq 0x137be
addq $0x20, %rsp
pushq $0x2
popq %r14
movl %r14d, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/wahern[P]cqueues/src/cqueues.c
// Function: wakecb_wakeup
static cqs_error_t wakecb_wakeup(struct wakecb *cb) {
	struct cqueue *Q = cb->arg[0];
	struct event *event = cb->arg[1];

	event->pending = 1;
	thread_move(event->thread, &Q->thread.pending);

	return cqueue_tryalert(Q);
}

// Assembly:
pushq %rbx
movq 0x10(%rdi), %rbx
movq 0x18(%rdi), %rax
movb $0x1, 0x10(%rax)
movq 0x18(%rax), %rdi
leaq 0x210(%rbx), %rsi
callq 0x117eb
movq %rbx, %rdi
popq %rbx
jmp 0x11825
// File: /workspace/github_c_makefile_star2_O2/wahern[P]cqueues/src/cqueues.c
// Function: err_pushvalue
static const char *err_pushvalue(lua_State *L, struct callinfo *I) {
	if (I->error.value) {
		lua_pushvalue(L, I->error.value);
	} else {
		lua_pushstring(L, "no error message");
	}

	return lua_tostring(L, -1);
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
movl 0x4(%rsi), %esi
testl %esi, %esi
je 0x13e8b
movq %rbx, %rdi
callq 0xfa10
jmp 0x13e9a
leaq 0x1c56c(%rip), %rsi     # 0x303fe
movq %rbx, %rdi
callq 0xfc50
pushq $-0x1
popq %rsi
movq %rbx, %rdi
xorl %edx, %edx
popq %rbx
jmp 0xf120
// File: /workspace/github_c_makefile_star2_O2/wahern[P]cqueues/src/cqueues.c
// Function: thread_add
static void thread_add(lua_State *L, struct cqueue *Q, struct callinfo *I, int index) {
	struct thread *T;

	index = lua_absindex(L, index);

	T = lua_newuserdata(L, sizeof *T);
	memset(T, 0, sizeof *T);
	TAILQ_INIT(&T->events);
	timer_init(&T->timer);

	/* anchor new lua_State to our thread context */
	lua_pushvalue(L, index);
	cqs_setuservalue(L, -2);
	T->L = lua_tothread(L, index);

	/* anchor thread context to cqueue object */
	cqs_getuservalue(L, I->self);
	lua_pushvalue(L, -2);
	lua_rawsetp(L, -2, CQS_UNIQUE_LIGHTUSERDATA_MASK(T));
	lua_pop(L, 2);

	LIST_INSERT_HEAD(&Q->thread.pending, T, le);
	T->threads = &Q->thread.pending;
	Q->thread.count++;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %r12
movq %rsi, %rbx
movq %rdi, %r15
movl %ecx, %esi
callq 0xf290
movl %eax, %ebp
pushq $0x68
popq %rsi
movq %r15, %rdi
callq 0xfb70
movq %rax, %r14
addq $0x8, %rax
xorps %xmm0, %xmm0
movups %xmm0, 0x10(%r14)
movups %xmm0, 0x40(%r14)
movups %xmm0, (%r14)
movups %xmm0, 0x20(%r14)
movups %xmm0, 0x30(%r14)
andq $0x0, 0x60(%r14)
movups %xmm0, 0x50(%r14)
movq %rax, 0x10(%r14)
movabsq $0x7ff8000000000000, %rax # imm = 0x7FF8000000000000
movq %rax, 0x40(%r14)
movq %r15, %rdi
movl %ebp, %esi
callq 0xfa10
pushq $-0x2
popq %r13
movq %r15, %rdi
movl %r13d, %esi
callq 0xf670
movq %r15, %rdi
movl %ebp, %esi
callq 0xf480
movq %rax, (%r14)
movl (%r12), %esi
movq %r15, %rdi
callq 0x103d0
movq %r15, %rdi
movl %r13d, %esi
callq 0xfa10
movq %r15, %rdi
movl %r13d, %esi
movq %r14, %rdx
callq 0xf170
pushq $-0x3
popq %rsi
movq %r15, %rdi
callq 0x106f0
leaq 0x210(%rbx), %rax
movq 0x210(%rbx), %rcx
movq %rcx, 0x28(%r14)
testq %rcx, %rcx
je 0x13fbb
movq %r14, %rdx
addq $0x28, %rdx
movq %rdx, 0x30(%rcx)
movq %r14, 0x210(%rbx)
movq %rax, 0x30(%r14)
movq %rax, 0x20(%r14)
incl 0x220(%rbx)
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/wahern[P]cqueues/src/cqueues.c
// Function: cqueue_checkfd
static int cqueue_checkfd(lua_State *L, struct callinfo *I, int index) {
	int fd;

	if (!lua_isnil(L, index) && !lua_isnumber(L, index)) {
		if (LUA_OK != object_pcall(L, I, NULL, index, "pollfd", LUA_TNUMBER))
			err_error(L, I);

		fd = luaL_optint(L, -1, -1);
		lua_pop(L, 1);
	} else {
		fd = luaL_optint(L, index, -1);
	}

	return fd;
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
subq $0x10, %rsp
movl %edx, %ebp
movq %rsi, %r14
movq %rdi, %rbx
movl %edx, %esi
callq 0xf270
testl %eax, %eax
je 0x14008
movq %rbx, %rdi
movl %ebp, %esi
callq 0xfc00
testl %eax, %eax
je 0x1401a
pushq $-0x1
popq %rdx
movq %rbx, %rdi
movl %ebp, %esi
callq 0xf420
movq %rax, %r14
jmp 0x14076
leaq 0xc(%rsp), %r9
movl $0x3, (%r9)
movl $0x1, (%rsp)
leaq 0x1c0fb(%rip), %r8      # 0x3012f
movq %rbx, %rdi
movq %r14, %rsi
xorl %edx, %edx
movl %ebp, %ecx
callq 0x13c08
testl %eax, %eax
je 0x1405a
movq %rbx, %rdi
movq %r14, %rsi
callq 0x13e76
movq %rbx, %rdi
callq 0xf6d0
pushq $-0x1
popq %rsi
pushq $-0x1
popq %rdx
movq %rbx, %rdi
callq 0xf420
movq %rax, %r14
pushq $-0x2
popq %rsi
movq %rbx, %rdi
callq 0x106f0
movl %r14d, %eax
addq $0x10, %rsp
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/wahern[P]cqueues/src/cqueues.c
// Function: cqueue_reboot
static cqs_error_t cqueue_reboot(struct cqueue *Q, _Bool stop, _Bool restart) {
	if (stop) {
		struct fileno *fileno;
		struct thread *thread;

		while ((fileno = LIST_FIRST(&Q->fileno.polling))) {
			LIST_REMOVE(fileno, le);
			LIST_INSERT_HEAD(&Q->fileno.outstanding, fileno, le);
		}

		LIST_FOREACH(fileno, &Q->fileno.outstanding, le) {
			fileno->state = 0;
		}

		while ((thread = LIST_FIRST(&Q->thread.polling))) {
			thread_move(thread, &Q->thread.pending);
		}

		kpoll_destroy(&Q->kp, &cstack_onclosefd, Q->cstack);
	}

	if (restart) {
		int error;

		if ((error = kpoll_init(&Q->kp)))
			return error;
	}

	return 0;
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
movl %edx, %ebp
movq %rdi, %rbx
testl %esi, %esi
je 0x14114
leaq 0x1b0(%rbx), %rax
movq 0x1a8(%rbx), %rcx
testq %rcx, %rcx
je 0x140e0
movq 0x30(%rcx), %rdx
movq 0x38(%rcx), %rsi
testq %rdx, %rdx
je 0x140b7
movq %rsi, 0x38(%rdx)
movq %rdx, (%rsi)
movq (%rax), %rdx
movq %rdx, 0x30(%rcx)
testq %rdx, %rdx
je 0x140ce
leaq 0x30(%rcx), %rsi
movq %rsi, 0x38(%rdx)
movq %rcx, (%rax)
movq %rax, 0x38(%rcx)
jmp 0x1409a
andw $0x0, 0x4(%rax)
addq $0x30, %rax
movq (%rax), %rax
testq %rax, %rax
jne 0x140d7
leaq 0x210(%rbx), %r14
movq 0x208(%rbx), %rdi
testq %rdi, %rdi
je 0x14105
movq %r14, %rsi
callq 0x117eb
jmp 0x140ef
movq 0x230(%rbx), %rsi
movq %rbx, %rdi
callq 0x1412c
testb %bpl, %bpl
je 0x14125
movq %rbx, %rdi
callq 0x141b3
testl %eax, %eax
jne 0x14127
xorl %eax, %eax
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/wahern[P]cqueues/src/cqueues.c
// Function: f2ts_
static inline struct timespec *f2ts_(struct timespec *ts, const double f) {
	double s, ns;

	switch (fpclassify(f)) {
	case FP_NORMAL:
		if (signbit(f))
			return ts;

		ns = modf(f, &s);
		ns = ceil(ns * 1000000000);

		if (ns >= 1000000000) {
			s++;
			ns = 0;
		}

		cqs_static_assert(FLT_RADIX == 2, "FLT_RADIX != 2");
		cqs_static_assert(cqs_ispowerof2((unsigned long)LONG_MAX + 1), "LONG_MAX + 1 not a power of 2");

		if (s >= (unsigned long)LONG_MAX + 1) {
			ts->tv_sec = LONG_MAX;
			ts->tv_nsec = 0;
		} else {
			ts->tv_sec = s;
			ts->tv_nsec = ns;
		}

		return ts;
	case FP_SUBNORMAL:
		ts->tv_sec = 0;
		ts->tv_nsec = 1;

		return ts;
	case FP_ZERO:
		return ts;
	case FP_INFINITE:
	case FP_NAN:
	default:
		return NULL;
	}
}

// Assembly:
pushq %r14
pushq %rbx
subq $0x18, %rsp
movq %rdi, %rbx
movsd %xmm0, 0x8(%rsp)
callq 0xf060
cmpl $0x2, %eax
je 0x142b5
cmpl $0x3, %eax
je 0x14291
cmpl $0x4, %eax
jne 0x1429f
movq 0x8(%rsp), %xmm0
movq %xmm0, %rax
testq %rax, %rax
js 0x142b5
leaq 0x10(%rsp), %r14
movq %r14, %rdi
callq 0x10900
movsd 0x1bddd(%rip), %xmm1    # 0x30010
mulsd %xmm1, %xmm0
callq 0xf1d0
movsd (%r14), %xmm1
movsd 0x1bddf(%rip), %xmm2    # 0x30028
addsd %xmm1, %xmm2
movsd 0x1bdbb(%rip), %xmm3    # 0x30010
cmpnlesd %xmm0, %xmm3
andpd %xmm3, %xmm1
andnpd %xmm2, %xmm3
orpd %xmm1, %xmm3
ucomisd 0x1bdc2(%rip), %xmm3    # 0x30030
jae 0x142a3
xorl %eax, %eax
ucomisd 0x1bd96(%rip), %xmm0    # 0x30010
cvttsd2si %xmm0, %rcx
cmovbq %rcx, %rax
cvttsd2si %xmm3, %rcx
movq %rcx, (%rbx)
movq %rax, 0x8(%rbx)
jmp 0x142b5
andq $0x0, (%rbx)
movq $0x1, 0x8(%rbx)
jmp 0x142b5
xorl %ebx, %ebx
jmp 0x142b5
movabsq $0x7fffffffffffffff, %rax # imm = 0x7FFFFFFFFFFFFFFF
movq %rax, (%rbx)
andq $0x0, 0x8(%rbx)
movq %rbx, %rax
addq $0x18, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O2/wahern[P]cqueues/src/cqueues.c
// Function: pool_destroy
static void pool_destroy(struct pool *P) {
	void *p;

	while ((p = P->head)) {
		P->head = *(void **)p;
		free(p);
		P->count--;
	}
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
movq 0x10(%rbx), %rdi
testq %rdi, %rdi
je 0x1467d
movq (%rdi), %rax
movq %rax, 0x10(%rbx)
callq 0xffc0
decq 0x8(%rbx)
jmp 0x14662
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O2/wahern[P]cqueues/src/cqueues.c
// Function: cqueue__gc
static int cqueue__gc(lua_State *L) {
	struct cqueue *Q = cqs_checkudata(L, 1, 1, CQUEUE_CLASS);
	struct callinfo I;

	cqueue_enter_nothrow(L, &I, 1, Q);
	cqueue_destroy(L, Q, &I);

	return 0;
}

// Assembly:
pushq %r14
pushq %rbx
subq $0x18, %rsp
movq %rdi, %rbx
leaq 0x1b9be(%rip), %rsi     # 0x3008c
callq 0x113fc
movq %rax, %r14
pushq $0x1
popq %rsi
movq %rbx, %rdi
callq 0xf290
movq %rsp, %rdx
movl %eax, (%rdx)
xorps %xmm0, %xmm0
movups %xmm0, 0x4(%rdx)
orl $-0x1, 0x14(%rdx)
movq %rbx, %rdi
movq %r14, %rsi
callq 0x142c0
xorl %eax, %eax
addq $0x18, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O2/wahern[P]cqueues/src/cqueues.c
// Function: cqueue_create
static int cqueue_create(lua_State *L) {
	struct cqueue *Q;
	int error;

	Q = lua_newuserdata(L, sizeof *Q);

	cqueue_preinit(Q);

	luaL_getmetatable(L, CQUEUE_CLASS);
	lua_setmetatable(L, -2);

	if ((error = cqueue_init(L, Q, -1)))
		goto error;

	return 1;

error:
	lua_pushnil(L);
	lua_pushstring(L, cqs_strerror(error));
	lua_pushinteger(L, error);

	return 3;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x88, %rsp
movq %rdi, %rbx
movl $0x248, %esi            # imm = 0x248
callq 0xfb70
movq %rax, %r14
movl $0x248, %edx            # imm = 0x248
movq %rax, %rdi
xorl %esi, %esi
callq 0xf790
orl $-0x1, (%r14)
orq $-0x1, 0x190(%r14)
movq $0x38, 0x1c0(%r14)
xorps %xmm0, %xmm0
movups %xmm0, 0x1c8(%r14)
movq $0x40, 0x1d8(%r14)
movups %xmm0, 0x1e0(%r14)
movq $0x50, 0x1f0(%r14)
movups %xmm0, 0x1f8(%r14)
leaq 0x1b90b(%rip), %rdx     # 0x3008c
movq %rbx, %rdi
movl $0xfff0b9d8, %esi       # imm = 0xFFF0B9D8
callq 0xf1f0
pushq $-0x2
popq %rsi
movq %rbx, %rdi
callq 0x109f0
pushq $-0x1
popq %rsi
movq %rbx, %rdi
callq 0xf290
movl %eax, %r15d
movq %r14, %rdi
callq 0x141b3
testl %eax, %eax
je 0x14808
movl %eax, %ebp
movq %rbx, %rdi
callq 0xf9d0
movq %rsp, %rsi
xorps %xmm0, %xmm0
movaps %xmm0, 0x70(%rsi)
movaps %xmm0, 0x60(%rsi)
movaps %xmm0, 0x50(%rsi)
movaps %xmm0, 0x40(%rsi)
movaps %xmm0, 0x30(%rsi)
movaps %xmm0, 0x20(%rsi)
movaps %xmm0, 0x10(%rsi)
movaps %xmm0, (%rsi)
movl $0x80, %edx
movl %ebp, %edi
callq 0xf260
movq %rbx, %rdi
movq %rax, %rsi
callq 0xfc50
movslq %ebp, %rsi
movq %rbx, %rdi
callq 0xf960
pushq $0x3
jmp 0x1485a
movq %rbx, %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x10270
movq %rbx, %rdi
movl %r15d, %esi
callq 0xf670
movq %rbx, %rdi
callq 0x10e9c
movq %rax, 0x230(%r14)
movq (%rax), %rcx
movq %rcx, 0x238(%r14)
testq %rcx, %rcx
je 0x1484e
movq %r14, %rdx
addq $0x238, %rdx            # imm = 0x238
movq %rdx, 0x240(%rcx)
movq %r14, (%rax)
movq %rax, 0x240(%r14)
pushq $0x1
popq %rax
addq $0x88, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/wahern[P]cqueues/src/cqueues.c
// Function: cqueue_type
static int cqueue_type(lua_State *L) {
	struct cqueue *Q;

	if ((Q = cqs_testudata(L, 1, 1))) {
		if (Q->cstack) {
			lua_pushstring(L, "controller");
		} else {
			lua_pushstring(L, "closed controller");
		}
	} else {
		lua_pushnil(L);
	}

	return 1;
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
pushq $0x1
popq %rdx
movl %edx, %esi
callq 0x1145f
testq %rax, %rax
je 0x1488f
cmpq $0x0, 0x230(%rax)
je 0x14899
leaq 0x1bc47(%rip), %rsi     # 0x304d4
jmp 0x148a0
movq %rbx, %rdi
callq 0xf9d0
jmp 0x148a8
leaq 0x1bc2d(%rip), %rsi     # 0x304cd
movq %rbx, %rdi
callq 0xfc50
pushq $0x1
popq %rax
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O2/wahern[P]cqueues/src/cqueues.c
// Function: cstack_cancel
static int cstack_cancel(lua_State *L) {
	struct callinfo I = CALLINFO_INITIALIZER;
	struct cstack *CS = cstack_self(L);
	int index, fd;

	for (index = 1; index <= lua_gettop(L); index++) {
		fd = cqueue_checkfd(L, &I, index);
		cstack_cancelfd(CS, fd);
	}

	return 0;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x18, %rsp
movq %rdi, %rbx
movups 0x1bc1b(%rip), %xmm0    # 0x30504
movq %rsp, %r14
movaps %xmm0, (%r14)
movabsq $-0x100000000, %rax     # imm = 0xFFFFFFFF00000000
movq %rax, 0x10(%r14)
callq 0x10e9c
movq %rax, %r15
pushq $0x1
popq %rbp
movq %rbx, %rdi
callq 0xf970
cmpl %eax, %ebp
jg 0x14930
movq %rbx, %rdi
movq %r14, %rsi
movl %ebp, %edx
callq 0x13fdf
movq %r15, %rdi
movl %eax, %esi
callq 0x10e70
incl %ebp
jmp 0x14909
xorl %eax, %eax
addq $0x18, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/wahern[P]cqueues/src/cqueues.c
// Function: cstack_reset
static int cstack_reset(lua_State *L) {
	struct cstack *CS = cstack_self(L);
	struct cqueue *Q;
	int error;

	LIST_FOREACH(Q, &CS->cqueues, le) {
		cqueue_reboot(Q, 1, 0);
	}

	LIST_FOREACH(Q, &CS->cqueues, le) {
		if ((error = cqueue_reboot(Q, 0, 1)))
			return luaL_error(L, "unable to reset continuation queue: %s", cqs_strerror(error));
	}

	return 0;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x88, %rsp
movq %rdi, %rbx
callq 0x10e9c
movq %rax, %r14
pushq $0x1
popq %rbp
movq %rax, %r15
movq (%r15), %r15
testq %r15, %r15
je 0x14978
movq %r15, %rdi
movl %ebp, %esi
xorl %edx, %edx
callq 0x14082
addq $0x238, %r15            # imm = 0x238
jmp 0x1495b
pushq $0x1
popq %rbp
movq (%r14), %r14
testq %r14, %r14
je 0x149df
movq %r14, %rdi
xorl %esi, %esi
movl %ebp, %edx
callq 0x14082
addq $0x238, %r14            # imm = 0x238
testl %eax, %eax
je 0x1497b
xorps %xmm0, %xmm0
movq %rsp, %rsi
movaps %xmm0, 0x70(%rsi)
movaps %xmm0, 0x60(%rsi)
movaps %xmm0, 0x50(%rsi)
movaps %xmm0, 0x40(%rsi)
movaps %xmm0, 0x30(%rsi)
movaps %xmm0, 0x20(%rsi)
movaps %xmm0, 0x10(%rsi)
movaps %xmm0, (%rsi)
movl $0x80, %edx
movl %eax, %edi
callq 0xf260
leaq 0x1ba72(%rip), %rsi     # 0x30444
movq %rbx, %rdi
movq %rax, %rdx
xorl %eax, %eax
callq 0xfdf0
xorl %eax, %eax
addq $0x88, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/wahern[P]cqueues/src/cqueues.c
// Function: cstack_running
static int cstack_running(lua_State *L) {
	struct cstack *CS = cstack_self(L);

	if (CS->running) {
		lua_pushvalue(CS->running->L, CS->running->self);
		lua_xmove(CS->running->L, L, 1);
		lua_pushboolean(L, CS->running->T == L);
	} else {
		lua_pushnil(L);
		lua_pushboolean(L, 0);
	}

	return 2;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
callq 0x10e9c
movq %rax, %r14
movq 0x8(%rax), %rax
testq %rax, %rax
je 0x14a36
movq 0x8(%rax), %rdi
movl 0x10(%rax), %esi
callq 0xfa10
movq 0x8(%r14), %rax
movq 0x8(%rax), %rdi
pushq $0x1
popq %rdx
movq %rbx, %rsi
callq 0x102c0
movq 0x8(%r14), %rax
xorl %esi, %esi
cmpq %rbx, 0x18(%rax)
sete %sil
jmp 0x14a40
movq %rbx, %rdi
callq 0xf9d0
xorl %esi, %esi
movq %rbx, %rdi
callq 0x108d0
pushq $0x2
popq %rax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O2/wahern[P]cqueues/src/cqueues.c
// Function: dbg_f2ms
static int dbg_f2ms(lua_State *L) {
	int ms = f2ms(luaL_checknumber(L, 1));

	lua_pushinteger(L, ms);
	lua_pushboolean(L, ms == INT_MAX);

	return 2;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
pushq $0x1
popq %rsi
callq 0x10a00
callq 0x12780
movslq %eax, %r14
movq %rbx, %rdi
movq %r14, %rsi
callq 0xf960
xorl %esi, %esi
cmpl $0x7fffffff, %r14d      # imm = 0x7FFFFFFF
sete %sil
movq %rbx, %rdi
callq 0x108d0
pushq $0x2
popq %rax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O2/wahern[P]cqueues/src/cqueues.c
// Function: dbg_f2ts
static int dbg_f2ts(lua_State *L) {
	struct timespec *ts = f2ts(luaL_checknumber(L, 1));

	if (!ts)
		return 0;

	lua_createtable(L, 0, 2);
	lua_pushinteger(L, ts->tv_sec);
	lua_setfield(L, -2, "tv_sec");
	lua_pushinteger(L, ts->tv_nsec);
	lua_setfield(L, -2, "tv_nsec");

	lua_pushboolean(L, ts->tv_sec == LONG_MAX);

	return 2;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x18, %rsp
movq %rdi, %rbx
xorps %xmm0, %xmm0
movq %rsp, %r14
movaps %xmm0, (%r14)
pushq $0x1
popq %rsi
callq 0x10a00
movq %r14, %rdi
callq 0x141da
testq %rax, %rax
je 0x14b2f
movq %rax, %r14
pushq $0x2
popq %rbp
movq %rbx, %rdi
xorl %esi, %esi
movl %ebp, %edx
callq 0x10270
movq (%r14), %rsi
movq %rbx, %rdi
callq 0xf960
leaq 0x1ba04(%rip), %rdx     # 0x304e9
pushq $-0x2
popq %r15
movq %rbx, %rdi
movl %r15d, %esi
callq 0xf550
movq 0x8(%r14), %rsi
movq %rbx, %rdi
callq 0xf960
leaq 0x1b9e9(%rip), %rdx     # 0x304f0
movq %rbx, %rdi
movl %r15d, %esi
callq 0xf550
movabsq $0x7fffffffffffffff, %rax # imm = 0x7FFFFFFFFFFFFFFF
xorl %esi, %esi
cmpq %rax, (%r14)
sete %sil
movq %rbx, %rdi
callq 0x108d0
jmp 0x14b31
xorl %ebp, %ebp
movl %ebp, %eax
addq $0x18, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
nop
// File: /workspace/github_c_makefile_star2_O2/wahern[P]cqueues/src/socket.c
// Function: cqs_socket_fdopen
lso_error_t cqs_socket_fdopen(lua_State *L, int fd, const struct so_options *_opts) {
	struct so_options opts = *((_opts)? _opts : so_opts());
	struct luasocket *S;
	int type = SOCK_STREAM, error;

	if (0 != getsockopt(fd, SOL_SOCKET, SO_TYPE, &type, &(socklen_t){ sizeof type })) {
		switch (errno) {
		case ENOTSOCK:
		case EOPNOTSUPP:
			break;
		default:
			goto syerr;
		}
	}

	S = lso_newsocket(L, type);

	if ((error = lso_prepsocket(S)))
		goto error;

	opts.fd_close.arg = S;
	opts.fd_close.cb = &lso_closefd;

	if (!(S->socket = so_fdopen(fd, &opts, &error)))
		goto error;

	return 0;
syerr:
	error = errno;
error:
	lua_pop(L, 1);

	return error;
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
subq $0xb0, %rsp
movl %esi, %ebp
movq %rdi, %rbx
testq %rdx, %rdx
jne 0x14b89
xorps %xmm0, %xmm0
leaq 0x60(%rsp), %rdx
movaps %xmm0, 0x10(%rdx)
movaps %xmm0, 0x40(%rdx)
movaps %xmm0, 0x30(%rdx)
movaps %xmm0, 0x20(%rdx)
movaps %xmm0, (%rdx)
movb $0x1, %al
movb %al, 0x11(%rdx)
movw $0x101, 0x1c(%rdx)      # imm = 0x101
movb %al, 0x1e(%rdx)
movq $0x1, 0x40(%rdx)
movb %al, 0x48(%rdx)
pushq $0xa
popq %rcx
leaq 0x10(%rsp), %rdi
movq %rdx, %rsi
rep  movsq (%rsi), %es:(%rdi)
leaq 0x8(%rsp), %rcx
movl $0x1, (%rcx)
leaq 0xc(%rsp), %r8
movl $0x4, (%r8)
pushq $0x1
popq %rsi
pushq $0x3
popq %rdx
movl %ebp, %edi
callq 0xf9f0
testl %eax, %eax
je 0x14bd0
callq 0xf0a0
movl (%rax), %eax
cmpl $0x5f, %eax
je 0x14bd0
cmpl $0x58, %eax
jne 0x14c22
movl 0x8(%rsp), %esi
movq %rbx, %rdi
callq 0x14c41
movq %rax, %r14
movq %rax, %rdi
callq 0x1518e
movl %eax, 0x4(%rsp)
testl %eax, %eax
jne 0x14c26
leaq 0x10(%rsp), %rsi
movq %r14, 0x28(%rsi)
leaq 0x13f(%rip), %rax       # 0x14d3e
movq %rax, 0x30(%rsi)
leaq 0x4(%rsp), %rdx
movl %ebp, %edi
callq 0xf300
movq %rax, %rcx
movq %rax, 0x128(%r14)
xorl %eax, %eax
testq %rcx, %rcx
jne 0x14c35
jmp 0x14c26
movl %eax, 0x4(%rsp)
pushq $-0x2
popq %rsi
movq %rbx, %rdi
callq 0x106f0
movl 0x4(%rsp), %eax
addq $0xb0, %rsp
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/wahern[P]cqueues/src/socket.c
// Function: lso_newsocket
static struct luasocket *lso_newsocket(lua_State *L, int type) {
	struct luasocket *S;

	S = lua_newuserdata(L, sizeof *S);
	*S = *lso_prototype(L);

	S->type = type;

	fifo_init(&S->ibuf.fifo);
	fifo_init(&S->obuf.fifo);

	if (S->onerror != LUA_NOREF && S->onerror != LUA_REFNIL) {
		cqs_getref(L, S->onerror);
		S->onerror = LUA_NOREF;
		cqs_ref(L, &S->onerror);
	}

#if defined LUA_RIDX_MAINTHREAD
	lua_rawgeti(L, LUA_REGISTRYINDEX, LUA_RIDX_MAINTHREAD);
	S->mainthread = lua_tothread(L, -1);
	lua_pop(L, 1);
#endif

	luaL_getmetatable(L, LSO_CLASS);
	lua_setmetatable(L, -2);

	return S;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movl %esi, %ebp
movq %rdi, %rbx
movl $0x148, %esi            # imm = 0x148
callq 0xfb70
movq %rax, %r14
movq %rbx, %rdi
callq 0x15096
movl $0x148, %edx            # imm = 0x148
movq %r14, %rdi
movq %rax, %rsi
callq 0xfad0
movl %ebp, 0x120(%r14)
xorps %xmm0, %xmm0
movups %xmm0, 0x58(%r14)
movups %xmm0, 0x68(%r14)
movups %xmm0, 0x78(%r14)
andl $0x0, 0x88(%r14)
movups %xmm0, 0xc0(%r14)
andl $0x0, 0xf0(%r14)
movups %xmm0, 0xd0(%r14)
movups %xmm0, 0xe0(%r14)
movl 0x130(%r14), %esi
cmpl $-0x3, %esi
ja 0x14ce3
movq %r14, %r15
addq $0x130, %r15            # imm = 0x130
movq %rbx, %rdi
callq 0x150ab
movl $0xfffffffe, (%r15)     # imm = 0xFFFFFFFE
movq %rbx, %rdi
movq %r15, %rsi
callq 0x150c1
pushq $0x1
popq %rdx
movq %rbx, %rdi
movl $0xfff0b9d8, %esi       # imm = 0xFFF0B9D8
callq 0xf470
pushq $-0x1
popq %rsi
movq %rbx, %rdi
callq 0xf480
movq %rax, 0x138(%r14)
pushq $-0x2
popq %rbp
movq %rbx, %rdi
movl %ebp, %esi
callq 0x106f0
leaq 0x1b386(%rip), %rdx     # 0x3009f
movq %rbx, %rdi
movl $0xfff0b9d8, %esi       # imm = 0xFFF0B9D8
callq 0xf1f0
movq %rbx, %rdi
movl %ebp, %esi
callq 0x109f0
movq %r14, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/wahern[P]cqueues/src/socket.c
// Function: lso_closefd
static int lso_closefd(int *fd, void *arg) {
	struct luasocket *S = arg;

	if (S->mainthread) {
		cqs_cancelfd(S->mainthread, *fd);
		cqs_closefd(fd);
	}

	return 0;
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
movq 0x138(%rsi), %rdi
testq %rdi, %rdi
je 0x14d5d
movl (%rbx), %esi
callq 0xfc90
movq %rbx, %rdi
callq 0x1531b
xorl %eax, %eax
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O2/wahern[P]cqueues/src/socket.c
// Function: luaopen__cqueues_socket
lso_nargs_t luaopen__cqueues_socket(lua_State *L) {
	static const struct cqs_macro macros[] = {
		{ "AF_UNSPEC",      AF_UNSPEC },
		{ "AF_INET",        AF_INET },
		{ "AF_INET6",       AF_INET6 },
		{ "AF_UNIX",        AF_UNIX },
		{ "SOCK_STREAM",    SOCK_STREAM },
		{ "SOCK_SEQPACKET", SOCK_SEQPACKET },
		{ "SOCK_DGRAM",     SOCK_DGRAM },
	};

	cqs_pushnils(L, LSO_UPVALUES); /* initial upvalues */
	cqs_newmetatable(L, LSO_CLASS, lso_methods, lso_metamethods, LSO_UPVALUES);
	lua_pushvalue(L, -1); /* push self as replacement upvalue */
	cqs_setmetaupvalue(L, -2, LSO_INDEX); /* insert self as upvalue */

	luaL_newlibtable(L, lso_globals);
	cqs_pushnils(L, LSO_UPVALUES); /* initial upvalues */
	luaL_setfuncs(L, lso_globals, LSO_UPVALUES);
	lua_pushvalue(L, -2); /* push metatable */
	cqs_setfuncsupvalue(L, -2, LSO_INDEX);

	cqs_setmacros(L, -1, macros, countof(macros), 0);

	return 1;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %rbx
callq 0x14fb8
leaq 0x1b277(%rip), %rsi     # 0x3009f
movq %rbx, %rdi
callq 0x10210
pushq $-0x2
popq %rsi
movq %rbx, %rdi
callq 0xfa10
leaq 0x3122e(%rip), %rsi     # 0x46070
pushq $0x1
popq %rdx
movq %rbx, %rdi
callq 0x102d0
pushq $-0x1
popq %rdx
leaq 0x30fb1(%rip), %rax     # 0x45e08
incl %edx
cmpq $0x0, (%rax)
leaq 0x10(%rax), %rax
jne 0x14e57
movq %rbx, %rdi
xorl %esi, %esi
callq 0x10270
pushq $-0x3
popq %rsi
movq %rbx, %rdi
callq 0xfa10
leaq 0x30f81(%rip), %rsi     # 0x45e00
pushq $0x1
popq %r14
movq %rbx, %rdi
movl %r14d, %edx
callq 0x102d0
leaq 0x1b292(%rip), %r12     # 0x30127
pushq $-0x2
popq %rbp
movq %rbx, %rdi
movl %ebp, %esi
movq %r12, %rdx
callq 0xf550
pushq $-0x1
popq %r15
movq %rbx, %rdi
movl %ebp, %esi
movl %r15d, %edx
callq 0xf0e0
movq %rbx, %rdi
movl %ebp, %esi
callq 0x106f0
movq %rbx, %rdi
movl %r15d, %esi
callq 0xfa10
movq %rbx, %rdi
movl %ebp, %esi
callq 0xf290
movl %eax, %r13d
movq %rbx, %rdi
movl %r15d, %esi
callq 0xfa10
movq %rbx, %rdi
movl %r13d, %esi
callq 0x14fd4
movq %rbx, %rdi
movl %r13d, %esi
movq %r12, %rdx
callq 0xf1f0
movq %rbx, %rdi
movl %ebp, %esi
callq 0xfa10
movq %rbx, %rdi
movl %ebp, %esi
callq 0x14fd4
movq %rbx, %rdi
movl %ebp, %esi
callq 0x106f0
movq %rbx, %rdi
movl %ebp, %esi
callq 0x106f0
pushq $0xe
popq %rdx
movq %rbx, %rdi
xorl %esi, %esi
callq 0x10270
movq %rbx, %rdi
callq 0x14fb8
leaq 0x31150(%rip), %rsi     # 0x46090
movq %rbx, %rdi
movl %r14d, %edx
callq 0x102d0
movq %rbx, %rdi
movl %ebp, %esi
callq 0xfa10
movq %rbx, %rdi
movl %ebp, %esi
callq 0x14fd4
movq %rbx, %rdi
movl %r15d, %esi
callq 0xf290
movl %eax, %ebp
pushq $0x8
popq %r14
leaq 0x2d259(%rip), %r15     # 0x421d0
cmpq $0x78, %r14
je 0x14fa6
movq -0x8(%r14,%r15), %rsi
movq %rbx, %rdi
callq 0xfc50
movslq (%r14,%r15), %rsi
movq %rbx, %rdi
callq 0xf960
movq %rbx, %rdi
movl %ebp, %esi
callq 0xfa70
addq $0x10, %r14
jmp 0x14f77
pushq $0x1
popq %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/wahern[P]cqueues/src/socket.c
// Function: lso_singleton
static void *lso_singleton(lua_State *L, const void *key, const void *init, size_t len) {
	void *p;

	lua_rawgetp(L, LUA_REGISTRYINDEX, key);
	p = lua_touserdata(L, -1);
	lua_pop(L, 1);

	if (p)
		return p;

	p = lua_newuserdata(L, len);
	if (init)
		memcpy(p, init, len);
	else
		memset(p, 0, len);
	lua_rawsetp(L, LUA_REGISTRYINDEX, key);

	return p;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq %rcx, %r15
movq %rdx, %r13
movq %rsi, %rbx
movq %rdi, %r14
movl $0xfff0b9d8, %esi       # imm = 0xFFF0B9D8
movq %rbx, %rdx
callq 0xf080
pushq $-0x1
popq %rsi
movq %r14, %rdi
callq 0x103f0
movq %rax, %r12
pushq $-0x2
popq %rsi
movq %r14, %rdi
callq 0x106f0
testq %r12, %r12
jne 0x15164
movq %r14, %rdi
movq %r15, %rsi
callq 0xfb70
movq %rax, %r12
movq %rax, %rdi
testq %r13, %r13
je 0x1514a
movq %r13, %rsi
movq %r15, %rdx
callq 0xfad0
jmp 0x15154
xorl %esi, %esi
movq %r15, %rdx
callq 0xf790
movq %r14, %rdi
movl $0xfff0b9d8, %esi       # imm = 0xFFF0B9D8
movq %rbx, %rdx
callq 0xf170
movq %r12, %rax
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O2/wahern[P]cqueues/src/socket.c
// Function: lso_adjbufs
static lso_error_t lso_adjbufs(struct luasocket *S) {
	int error;

	if ((error = lso_adjbuf(&S->ibuf.fifo, S->ibuf.bufsiz)))
		return error;

	if ((error = lso_adjbuf(&S->obuf.fifo, S->obuf.bufsiz)))
		return error;

	return 0;
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
addq $0x58, %rdi
movq 0x50(%rbx), %rsi
callq 0x151b9
testl %eax, %eax
je 0x151a5
popq %rbx
retq
movq 0xb8(%rbx), %rsi
addq $0xc0, %rbx
movq %rbx, %rdi
popq %rbx
jmp 0x151b9
// File: /workspace/github_c_makefile_star2_O2/wahern[P]cqueues/src/lib/fifo.h
// Function: fifo_realloc
static int fifo_realloc(struct fifo *fifo, size_t size) {
	void *tmp;

	if (fifo->size >= size)
		return 0;
	if (fifo_type(fifo) == FIFO_STATIC)
		return ENOMEM;

	fifo_realign(fifo);

	size = fifo_roundup(size);

	if (!(tmp = realloc(fifo->base, size)))
		return errno;

	fifo->base = tmp;
	fifo->size = size;

	return 0;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
xorl %ebx, %ebx
cmpq %rsi, 0x18(%rdi)
jae 0x15267
movq %rdi, %r14
cmpq $0x0, (%rdi)
je 0x151e4
pushq $0xc
popq %rbx
jmp 0x15267
movq %rsi, %r15
movq %r14, %rdi
callq 0x1526f
movabsq $-0x8000000000000000, %rax # imm = 0x8000000000000000
cmpq %rax, %r15
jbe 0x15204
pushq $-0x1
popq %r15
jmp 0x15245
decq %r15
movq %r15, %rax
shrq %rax
orq %r15, %rax
movq %rax, %rcx
shrq $0x2, %rcx
orq %rax, %rcx
movq %rcx, %rax
shrq $0x4, %rax
orq %rcx, %rax
movq %rax, %rcx
shrq $0x8, %rcx
orq %rax, %rcx
movq %rcx, %rax
shrq $0x10, %rax
orq %rcx, %rax
movq %rax, %r15
shrq $0x20, %r15
orq %rax, %r15
incq %r15
movq 0x10(%r14), %rdi
movq %r15, %rsi
callq 0x106d0
testq %rax, %rax
je 0x15260
movq %rax, 0x10(%r14)
movq %r15, 0x18(%r14)
jmp 0x15267
callq 0xf0a0
movl (%rax), %ebx
movl %ebx, %eax
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O2/wahern[P]cqueues/src/lib/fifo.h
// Function: fifo_realign
static void fifo_realign(struct fifo *fifo) {
	if (fifo->size - fifo->head >= fifo->count) {
		memmove(fifo->base, &fifo->base[fifo->head], fifo->count);
		fifo->head = 0;
	} else {
		unsigned char tmp[FIFO_TMPBUFSIZ];
		unsigned n, m;

		while (fifo->head != 0) {
			n = FIFO_MIN(fifo->head, sizeof tmp);
			m = fifo->size - n;

			memcpy(tmp, fifo->base, n);
			memmove(fifo->base, &fifo->base[n], m);
			memcpy(&fifo->base[m], tmp, n);
			fifo->head -= n;
		}
	}
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x808, %rsp            # imm = 0x808
movq %rdi, %rbx
movq 0x18(%rdi), %rax
movq 0x20(%rdi), %r14
subq %r14, %rax
movq 0x28(%rdi), %rdx
cmpq %rdx, %rax
jae 0x152f5
movl $0x800, %ebp            # imm = 0x800
movq %rsp, %r15
testq %r14, %r14
je 0x15309
cmpq %rbp, %r14
cmovaeq %rbp, %r14
movl 0x18(%rbx), %r12d
subl %r14d, %r12d
movq 0x10(%rbx), %r13
movq %r15, %rdi
movq %r13, %rsi
movq %r14, %rdx
callq 0xfad0
leaq (%r14,%r13), %rsi
movq %r13, %rdi
movq %r12, %rdx
callq 0x106a0
addq 0x10(%rbx), %r12
movq %r12, %rdi
movq %r15, %rsi
movq %r14, %rdx
callq 0xfad0
movq 0x20(%rbx), %rax
subq %r14, %rax
movq %rax, 0x20(%rbx)
movq %rax, %r14
jmp 0x1529f
movq 0x10(%rbx), %rdi
addq %rdi, %r14
movq %r14, %rsi
callq 0x106a0
andq $0x0, 0x20(%rbx)
addq $0x808, %rsp            # imm = 0x808
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/wahern[P]cqueues/src/socket.c
// Function: lso_connect1
static lso_nargs_t lso_connect1(lua_State *L) {
	struct luasocket *S = lso_checkself(L, 1);
	int error;

	so_clear(S->socket);

	if (!(error = so_connect(S->socket))) {
		lua_pushvalue(L, 1);

		return 1;
	} else {
		lua_pushnil(L);
		lua_pushinteger(L, error);

		return 2;
	}
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
movq %rdi, %rbx
callq 0x16f98
movq %rax, %r14
movq 0x128(%rax), %rdi
callq 0xf890
movq 0x128(%r14), %rdi
callq 0xf820
testl %eax, %eax
je 0x15375
movl %eax, %ebp
movq %rbx, %rdi
callq 0xf9d0
movslq %ebp, %rsi
movq %rbx, %rdi
callq 0xf960
pushq $0x2
popq %rbp
jmp 0x15382
pushq $0x1
popq %rbp
movq %rbx, %rdi
movl %ebp, %esi
callq 0xfa10
movl %ebp, %eax
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/wahern[P]cqueues/src/socket.c
// Function: lso_listen1
static lso_nargs_t lso_listen1(lua_State *L) {
	struct luasocket *S = lso_checkself(L, 1);
	int error;

	so_clear(S->socket);

	if (!(error = so_listen(S->socket))) {
		lua_pushvalue(L, 1);

		return 1;
	} else {
		lua_pushnil(L);
		lua_pushinteger(L, error);

		return 2;
	}
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
movq %rdi, %rbx
callq 0x16f98
movq %rax, %r14
movq 0x128(%rax), %rdi
callq 0xf890
movq 0x128(%r14), %rdi
callq 0x10050
testl %eax, %eax
je 0x153ce
movl %eax, %ebp
movq %rbx, %rdi
callq 0xf9d0
movslq %ebp, %rsi
movq %rbx, %rdi
callq 0xf960
pushq $0x2
popq %rbp
jmp 0x153db
pushq $0x1
popq %rbp
movq %rbx, %rdi
movl %ebp, %esi
callq 0xfa10
movl %ebp, %eax
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/wahern[P]cqueues/src/socket.c
// Function: lso_checktls
static lso_nargs_t lso_checktls(lua_State *L) {
	struct luasocket *S = lso_checkself(L, 1);
	SSL **ssl;

	ssl = lua_newuserdata(L, sizeof *ssl);

	if (!(*ssl = so_checktls(S->socket)))
		return 0;

	luaL_getmetatable(L, "SSL*");

	if (lua_isnil(L, -1))
		return 0;

	lua_setmetatable(L, -2);

	SSL_up_ref(*ssl);

	return 1;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
callq 0x16f98
movq %rax, %r15
pushq $0x8
popq %rsi
movq %rbx, %rdi
callq 0xfb70
movq %rax, %r14
movq 0x128(%r15), %rdi
callq 0xfb60
movq %rax, (%r14)
xorl %ebp, %ebp
testq %rax, %rax
je 0x155af
leaq 0x1b13d(%rip), %rdx     # 0x306ba
movq %rbx, %rdi
movl $0xfff0b9d8, %esi       # imm = 0xFFF0B9D8
callq 0xf1f0
pushq $-0x1
popq %rsi
movq %rbx, %rdi
callq 0xf270
testl %eax, %eax
je 0x155af
pushq $-0x2
popq %rsi
movq %rbx, %rdi
callq 0x109f0
movq (%r14), %rdi
callq 0xf110
pushq $0x1
popq %rbp
movl %ebp, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/wahern[P]cqueues/src/socket.c
// Function: lso_setbufsiz3
static lso_nargs_t lso_setbufsiz3(struct lua_State *L) {
	struct luasocket *S = lso_checkself(L, 1);
	int n, error;

	lua_settop(L, 3);

	n = lso_setbufsiz_(L, S, 2, 3);

	if ((error = lso_adjbufs(S)))
		goto error;

	return n;
error:
	lua_pushnil(L);
	lua_pushnil(L);
	lua_pushinteger(L, error);

	return 3;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
callq 0x16f98
movq %rax, %r15
pushq $0x3
popq %rbp
movq %rbx, %rdi
movl %ebp, %esi
callq 0x106f0
pushq $0x2
popq %r14
movq %rbx, %rdi
movq %r15, %rsi
movl %r14d, %edx
movl %ebp, %ecx
callq 0x176ac
movq %r15, %rdi
callq 0x1518e
testl %eax, %eax
je 0x15686
movl %eax, %r15d
movq %rbx, %rdi
callq 0xf9d0
movq %rbx, %rdi
callq 0xf9d0
movslq %r15d, %rsi
movq %rbx, %rdi
callq 0xf960
movl %ebp, %r14d
movl %r14d, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O2/wahern[P]cqueues/src/socket.c
// Function: lso_seterror
static lso_nargs_t lso_seterror(struct lua_State *L) {
	struct luasocket *S = lso_checkself(L, 1);
	const char *what = luaL_checkstring(L, 2);
	int error = luaL_optint(L, 3, 0);

	return lso_seterror_(L, S, what, error);
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rdi, %rbx
callq 0x16f98
movq %rax, %r14
pushq $0x2
popq %rsi
movq %rbx, %rdi
xorl %edx, %edx
callq 0xf660
movq %rax, %r15
pushq $0x3
popq %rsi
movq %rbx, %rdi
xorl %edx, %edx
callq 0xf420
movq %rbx, %rdi
movq %r14, %rsi
movq %r15, %rdx
movl %eax, %ecx
popq %rbx
popq %r14
popq %r15
jmp 0x17834
// File: /workspace/github_c_makefile_star2_O2/wahern[P]cqueues/src/socket.c
// Function: lso_error
static lso_nargs_t lso_error(struct lua_State *L) {
	struct luasocket *S = lso_checkself(L, 1);
	const char *what = luaL_optstring(L, 2, "rw");
	int nret = 0;

	for (; *what; what++) {
		switch (*what) {
		case 'r':
			lso_pusherror(L, S->ibuf.error);
			nret++;

			break;
		case 'w':
			lso_pusherror(L, S->obuf.error);
			nret++;

			break;
		default:
			return luaL_argerror(L, 2, lua_pushfstring(L, "%s: %c: only `r' or `w' accepted", what, *what));
		} /* switch() */
	} /* for() */

	return nret;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq %rdi, %rbx
callq 0x16f98
movq %rax, %r12
leaq 0x1afa0(%rip), %rdx     # 0x3070d
xorl %r14d, %r14d
pushq $0x2
popq %rsi
movq %rbx, %rdi
xorl %ecx, %ecx
callq 0xf900
movq %rax, %r15
leaq 0x108(%r12), %r13
addq $0x94, %r12
movzbl (%r15,%r14), %eax
movq %r12, %rcx
cmpl $0x72, %eax
je 0x157a4
movq %r13, %rcx
cmpl $0x77, %eax
jne 0x157b3
movl (%rcx), %esi
movq %rbx, %rdi
callq 0x17900
incq %r14
jmp 0x1578f
testl %eax, %eax
jne 0x157c4
movl %r14d, %eax
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
movsbl %al, %ecx
addq %r14, %r15
leaq 0x1af1b(%rip), %rsi     # 0x306ec
movq %rbx, %rdi
movq %r15, %rdx
xorl %eax, %eax
callq 0x10080
pushq $0x2
popq %rsi
movq %rbx, %rdi
movq %rax, %rdx
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
jmp 0xf410
// File: /workspace/github_c_makefile_star2_O2/wahern[P]cqueues/src/socket.c
// Function: lso_unget2
static lso_nargs_t lso_unget2(lua_State *L) {
	struct luasocket *S = lso_checkself(L, 1);
	const void *src;
	size_t len;
	struct iovec iov;
	int error;

	src = luaL_checklstring(L, 2, &len);

	if ((error = fifo_grow(&S->ibuf.fifo, len)))
		goto error;

	fifo_rewind(&S->ibuf.fifo, len);
	fifo_slice(&S->ibuf.fifo, &iov, 0, len);
	memcpy(iov.iov_base, src, len);

	S->ibuf.eof = 0;

	lua_pushboolean(L, 1);

	return 1;
error:
	lua_pushboolean(L, 0);
	lua_pushinteger(L, error);

	return 2;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rdi, %rbx
callq 0x16f98
movq %rax, %r14
pushq $0x2
popq %rbp
movq %rsp, %r13
movq %rbx, %rdi
movl %ebp, %esi
movq %r13, %rdx
callq 0xf660
movq %rax, %r15
leaq 0x58(%r14), %r12
movq (%r13), %rsi
movq %r12, %rdi
callq 0x18027
testl %eax, %eax
je 0x15e70
movl %eax, %r13d
movq %rbx, %rdi
xorl %esi, %esi
callq 0x108d0
movslq %r13d, %rsi
movq %rbx, %rdi
callq 0xf960
jmp 0x15ee1
movq (%rsp), %rcx
movq 0x70(%r14), %rsi
movq 0x80(%r14), %rdi
movq %rsi, %r8
subq %rdi, %r8
cmpq %rcx, %r8
cmovaeq %rcx, %r8
movq 0x78(%r14), %rax
addq %rsi, %rax
subq %r8, %rax
xorl %edx, %edx
divq %rsi
movq %rdx, 0x78(%r14)
addq %rdi, %r8
movq %r8, 0x80(%r14)
leaq 0x8(%rsp), %r13
movq %r12, %rdi
movq %r13, %rsi
movq %rcx, %rdx
callq 0x172bc
movq (%r13), %rdi
movq (%rsp), %rdx
movq %r15, %rsi
callq 0xfad0
movb $0x0, 0x90(%r14)
pushq $0x1
popq %rbp
movq %rbx, %rdi
movl %ebp, %esi
callq 0x108d0
movl %ebp, %eax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq