// File: /workspace/github_c_makefile_star2_O2/ArtifexSoftware[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, %r13d
movq %r8, 0x8(%rsp)
movq %rcx, (%rsp)
movq %rdx, %r12
movl %esi, %ebp
movq %rdi, %rbx
movl 0x50(%rsp), %r15d
pushq $0x70
popq %rsi
callq 0xa9e8
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 0xab8e
movq %rax, 0x50(%r14)
movl %ebp, 0x58(%r14)
movl %r13d, 0x8(%r14)
movl %r15d, 0x10(%r14)
testq %r12, %r12
movq %r12, 0x10(%rsp)
je 0x7887
movq 0x38(%r12), %rax
jmp 0x788e
leaq 0x21b03(%rip), %rax     # 0x29391
movq %rax, (%r14)
movl $0x1, 0xc(%r14)
andl $0x0, 0x14(%r14)
testl %r13d, %r13d
movq 0x8(%rsp), %r15
je 0x78ad
andl $0x0, 0xc(%r14)
testq %r15, %r15
je 0x7982
cmpl $0x0, (%r15)
je 0x7a72
movl %ebp, 0x5c(%r14)
movq %rbx, %rdi
movq %r14, %rsi
movq (%rsp), %rdx
callq 0x15b81
movq %rbx, %rdi
movq %r14, %rsi
movq %r15, %rdx
callq 0x15bd6
pushq $0x14
popq %rbp
pushq $0x1
popq %r13
testq %r15, %r15
je 0x7995
movq 0x10(%r15), %r12
cmpl $0x1, (%r12)
jne 0x7979
movl 0x4(%r12), %esi
movl %esi, 0x5c(%r14)
movq 0x10(%r12), %rdx
movq 0x18(%r12), %rcx
movq 0x20(%r12), %r8
movl 0x10(%r14), %eax
movq %rbx, %rdi
xorl %r9d, %r9d
pushq $0x0
pushq %rax
callq 0x77f2
popq %rcx
popq %rdx
movq %rbx, %rdi
movq %r14, %rsi
movq %rax, %rdx
callq 0x15f29
movl 0x4(%r12), %eax
movl %eax, 0x5c(%r14)
movq %rbx, %rdi
movq %r14, %rsi
movl %ebp, %edx
callq 0x15d57
movq 0x10(%r12), %rdx
movq %rbx, %rdi
movq %r14, %rsi
movl %r13d, %ecx
callq 0x15d7e
movq %rbx, %rdi
movq %r14, %rsi
movl %eax, %edx
callq 0x15f91
movq %rbx, %rdi
movq %r14, %rsi
xorl %edx, %edx
callq 0x15d57
movq 0x18(%r15), %r15
jmp 0x78e8
movl %ebp, 0x5c(%r14)
movq %rbx, %rdi
movq %r14, %rsi
movq (%rsp), %rdx
callq 0x15b81
movq 0x10(%rsp), %r15
testq %r15, %r15
je 0x7a0c
movl 0x58(%rsp), %ebp
movq %rbx, %rdi
movq %r14, %rsi
movq %r15, %rdx
callq 0x15c99
testl %ebp, %ebp
je 0x7a0c
movq 0x38(%r15), %rsi
movq %r14, %rdi
callq 0x15d0e
testl %eax, %eax
jns 0x7a0c
pushq $0x12
popq %rdx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x15d57
pushq $0x14
popq %rdx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x15d57
pushq $0x1
popq %rcx
movq %rbx, %rdi
movq %r14, %rsi
movq %r15, %rdx
callq 0x15d7e
movq %rbx, %rdi
movq %r14, %rsi
movl %eax, %edx
callq 0x15f91
movq %rbx, %rdi
movq %r14, %rsi
xorl %edx, %edx
callq 0x15d57
cmpl $0x0, 0x8(%r14)
movq 0x8(%rsp), %r15
je 0x7a36
pushq $0xd
popq %rdx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x15d57
movq %rbx, %rdi
movq %r14, %rsi
movq %r15, %rdx
callq 0x15efb
jmp 0x7a52
movq %rbx, %rdi
movq %r14, %rsi
movq %r15, %rdx
callq 0x15efb
pushq $0xd
popq %rdx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x15d57
pushq $0x54
popq %rdx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x15d57
movq %r14, %rax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq 0x10(%r15), %rax
testq %rax, %rax
je 0x78c0
cmpl $0x5, (%rax)
jne 0x78c0
movq 0x38(%rax), %rdi
leaq 0x21317(%rip), %rsi     # 0x28daa
callq 0x32f0
testl %eax, %eax
jne 0x78c0
movl $0x1, 0x10(%r14)
jmp 0x78c0