// File: /workspace/github_c_makefile_star2_O1/ccxvii[P]mujs/./jscompile.c
// Function: newfun
static js_Function *newfun(js_State *J, int line, js_Ast *name, js_Ast *params, js_Ast *body, int script, int default_strict, int is_fun_exp)
{
	js_Function *F = js_malloc(J, sizeof *F);
	memset(F, 0, sizeof *F);
	F->gcmark = 0;
	F->gcnext = J->gcfun;
	J->gcfun = F;
	++J->gccounter;

	F->filename = js_intern(J, J->filename);
	F->line = line;
	F->script = script;
	F->strict = default_strict;
	F->name = name ? name->string : "";

	cfunbody(J, F, name, params, body, is_fun_exp);

	return F;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movl %r9d, %r12d
movq %r8, %r15
movq %rcx, 0x10(%rsp)
movq %rdx, %r13
movl %esi, %ebp
movq %rdi, %rbx
movl $0x70, %esi
callq 0xe119
movq %rax, %r14
xorps %xmm0, %xmm0
movups %xmm0, (%rax)
movups %xmm0, 0x10(%rax)
movups %xmm0, 0x20(%rax)
movups %xmm0, 0x30(%rax)
movups %xmm0, 0x40(%rax)
movups %xmm0, 0x50(%rax)
movups %xmm0, 0x60(%rax)
movq 0x168(%rbx), %rax
movq %rax, 0x60(%r14)
movq %r14, 0x168(%rbx)
incl 0x154(%rbx)
movq 0x38(%rbx), %rsi
movq %rbx, %rdi
callq 0xe33c
movq %rax, 0x50(%r14)
movl %ebp, 0x58(%r14)
movl %r12d, 0x8(%r14)
movl 0x50(%rsp), %eax
movl %eax, 0x10(%r14)
testq %r13, %r13
je 0x9044
movq 0x38(%r13), %rax
jmp 0x904b
leaq 0x2b33b(%rip), %rax     # 0x34386
movq %rax, (%r14)
movl $0x1, 0xc(%r14)
movl $0x0, 0x14(%r14)
testl %r12d, %r12d
je 0x906b
movl $0x0, 0xc(%r14)
movq %r13, 0x8(%rsp)
testq %r15, %r15
je 0x9160
cmpl $0x0, (%r15)
je 0x91d2
movl %ebp, 0x5c(%r14)
movq %rbx, %rdi
movq %r14, %rsi
movq 0x10(%rsp), %rdx
callq 0x1d53a
movq %rbx, %rdi
movq %r14, %rsi
movq %r15, %rdx
callq 0x1d592
movq %r15, %r12
movq 0x10(%r12), %r13
cmpl $0x1, (%r13)
jne 0x9150
movl 0x4(%r13), %esi
movl %esi, 0x5c(%r14)
movq 0x10(%r13), %rdx
movq 0x18(%r13), %rcx
movq 0x20(%r13), %r8
movl 0x10(%r14), %eax
movq %rbx, %rdi
xorl %r9d, %r9d
pushq $0x0
pushq %rax
callq 0x8fb5
addq $0x10, %rsp
movq %rbx, %rdi
movq %r14, %rsi
movq %rax, %rdx
callq 0x1d87c
movl 0x4(%r13), %edx
movl %edx, 0x5c(%r14)
movq %rbx, %rdi
movq %r14, %rsi
callq 0x1d8f3
movq %rbx, %rdi
movq %r14, %rsi
movl $0x14, %edx
callq 0x1d8f3
movq 0x10(%r13), %rdx
movq %rbx, %rdi
movq %r14, %rsi
movl $0x1, %ecx
callq 0x1d6eb
movq %rbx, %rdi
movq %r14, %rsi
movl %eax, %edx
callq 0x1d8f3
movl 0x5c(%r14), %edx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x1d8f3
movq %rbx, %rdi
movq %r14, %rsi
xorl %edx, %edx
callq 0x1d8f3
movq 0x18(%r12), %r12
testq %r12, %r12
jne 0x90a8
jmp 0x9174
movl %ebp, 0x5c(%r14)
movq %rbx, %rdi
movq %r14, %rsi
movq 0x10(%rsp), %rdx
callq 0x1d53a
cmpq $0x0, 0x8(%rsp)
je 0x928e
movl 0x58(%rsp), %ebp
movq %rbx, %rdi
movq %r14, %rsi
movq 0x8(%rsp), %rdx
callq 0x1d64b
testl %ebp, %ebp
je 0x928e
movslq 0x4c(%r14), %r13
testq %r13, %r13
jle 0x9212
movq 0x8(%rsp), %rax
movq 0x38(%rax), %r12
movq 0x40(%r14), %rbp
movq -0x8(%rbp,%r13,8), %rdi
movq %r12, %rsi
callq 0x32f0
testl %eax, %eax
je 0x920d
leaq -0x1(%r13), %rax
cmpq $0x1, %r13
movq %rax, %r13
jg 0x91b2
jmp 0x9212
movq 0x10(%r15), %rax
testq %rax, %rax
je 0x9083
cmpl $0x5, (%rax)
jne 0x9083
movq 0x38(%rax), %rdi
leaq 0x2abb7(%rip), %rsi     # 0x33daa
callq 0x32f0
testl %eax, %eax
jne 0x9083
movl $0x1, 0x10(%r14)
jmp 0x9083
testq %r13, %r13
jns 0x928e
movl 0x5c(%r14), %edx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x1d8f3
movq %rbx, %rdi
movq %r14, %rsi
movl $0x12, %edx
callq 0x1d8f3
movl 0x5c(%r14), %edx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x1d8f3
movq %rbx, %rdi
movq %r14, %rsi
movl $0x14, %edx
callq 0x1d8f3
movq %rbx, %rdi
movq %r14, %rsi
movq 0x8(%rsp), %rdx
movl $0x1, %ecx
callq 0x1d6eb
movq %rbx, %rdi
movq %r14, %rsi
movl %eax, %edx
callq 0x1d8f3
movl 0x5c(%r14), %edx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x1d8f3
movq %rbx, %rdi
movq %r14, %rsi
xorl %edx, %edx
callq 0x1d8f3
cmpl $0x0, 0x8(%r14)
je 0x92e1
movl 0x5c(%r14), %edx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x1d8f3
movq %rbx, %rdi
movq %r14, %rsi
movl $0xd, %edx
callq 0x1d8f3
testq %r15, %r15
je 0x9305
movq 0x10(%r15), %rdx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x1d955
movq 0x18(%r15), %r15
jmp 0x92b4
movq 0x10(%r15), %rdx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x1d955
movq 0x18(%r15), %r15
testq %r15, %r15
jne 0x92ce
movl 0x5c(%r14), %edx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x1d8f3
movq %rbx, %rdi
movq %r14, %rsi
movl $0xd, %edx
callq 0x1d8f3
movl 0x5c(%r14), %edx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x1d8f3
movq %rbx, %rdi
movq %r14, %rsi
movl $0x54, %edx
callq 0x1d8f3
movq %r14, %rax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq