#if defined(__linux__)
#if defined(__amd64__)

	.section .text

	.globl	_start
	.type	_start, @function
_start:
	mov	%rsp, %rax
	and	$0xfffffffffffffff0, %rsp

	mov	(%rax), %rdi		/* argc */
	movslq	%edi, %rdi		/* argc */
	lea	0x8(%rax), %rsi		/* argv */
	lea	(%rsi, %rdi, 8), %rdx	/* envp */
	add	$0x8, %rdx		/* envp */

	callq	nlcrt_start

	hlt
#endif
#endif
