// File: /workspace/github_c_makefile_star2_O2/ArtifexSoftware[P]mujs/./jsmath.c
// Function: jsB_initmath
void jsB_initmath(js_State *J)
{
	Math_init_random(J);
	js_pushobject(J, jsV_newobject(J, JS_CMATH, J->Object_prototype));
	{
		jsB_propn(J, "E", 2.7182818284590452354);
		jsB_propn(J, "LN10", 2.302585092994046);
		jsB_propn(J, "LN2", 0.6931471805599453);
		jsB_propn(J, "LOG2E", 1.4426950408889634);
		jsB_propn(J, "LOG10E", 0.4342944819032518);
		jsB_propn(J, "PI", 3.1415926535897932);
		jsB_propn(J, "SQRT1_2", 0.7071067811865476);
		jsB_propn(J, "SQRT2", 1.4142135623730951);

		jsB_propf(J, "Math.abs", Math_abs, 1);
		jsB_propf(J, "Math.acos", Math_acos, 1);
		jsB_propf(J, "Math.asin", Math_asin, 1);
		jsB_propf(J, "Math.atan", Math_atan, 1);
		jsB_propf(J, "Math.atan2", Math_atan2, 2);
		jsB_propf(J, "Math.ceil", Math_ceil, 1);
		jsB_propf(J, "Math.cos", Math_cos, 1);
		jsB_propf(J, "Math.exp", Math_exp, 1);
		jsB_propf(J, "Math.floor", Math_floor, 1);
		jsB_propf(J, "Math.log", Math_log, 1);
		jsB_propf(J, "Math.max", Math_max, 0); /* 2 */
		jsB_propf(J, "Math.min", Math_min, 0); /* 2 */
		jsB_propf(J, "Math.pow", Math_pow, 2);
		jsB_propf(J, "Math.random", Math_random, 0);
		jsB_propf(J, "Math.round", Math_round, 1);
		jsB_propf(J, "Math.sin", Math_sin, 1);
		jsB_propf(J, "Math.sqrt", Math_sqrt, 1);
		jsB_propf(J, "Math.tan", Math_tan, 1);
	}
	js_defglobal(J, "Math", JS_DONTENUM);
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
movq %rdi, %rbx
xorl %edi, %edi
callq 0x33f0
addl $0x7b, %eax
movl %eax, %ecx
shll $0xd, %ecx
xorl %ecx, %eax
movl %eax, %ecx
shrl $0x11, %ecx
xorl %ecx, %eax
movl %eax, %ecx
shll $0x5, %ecx
xorl %ecx, %eax
movl $0x7fffffff, %ecx       # imm = 0x7FFFFFFF
xorl %edx, %edx
divl %ecx
movl %edx, 0x108(%rbx)
movq 0x90(%rbx), %rdx
pushq $0xb
popq %rsi
movq %rbx, %rdi
callq 0x5d6b
movq %rbx, %rdi
movq %rax, %rsi
callq 0x4274
leaq 0x2128b(%rip), %rsi     # 0x282d6
movsd 0x193ed(%rip), %xmm0    # 0x20440
movq %rbx, %rdi
callq 0x59c2
leaq 0x21260(%rip), %rsi     # 0x282c2
movsd 0x193de(%rip), %xmm0    # 0x20448
movq %rbx, %rdi
callq 0x59c2
leaq 0x2124e(%rip), %rsi     # 0x282c7
movsd 0x193cf(%rip), %xmm0    # 0x20450
movq %rbx, %rdi
callq 0x59c2
leaq 0x2123b(%rip), %rsi     # 0x282cb
movsd 0x193c0(%rip), %xmm0    # 0x20458
movq %rbx, %rdi
callq 0x59c2
leaq 0x2122a(%rip), %rsi     # 0x282d1
movsd 0x193b1(%rip), %xmm0    # 0x20460
movq %rbx, %rdi
callq 0x59c2
leaq 0x2121a(%rip), %rsi     # 0x282d8
movsd 0x193a2(%rip), %xmm0    # 0x20468
movq %rbx, %rdi
callq 0x59c2
leaq 0x21206(%rip), %rsi     # 0x282db
movsd 0x19393(%rip), %xmm0    # 0x20470
movq %rbx, %rdi
callq 0x59c2
leaq 0x211f7(%rip), %rsi     # 0x282e3
movsd 0x19384(%rip), %xmm0    # 0x20478
movq %rbx, %rdi
callq 0x59c2
leaq 0x211e6(%rip), %rsi     # 0x282e9
leaq 0x4e35(%rip), %rdx      # 0xbf3f
pushq $0x1
popq %rbp
movq %rbx, %rdi
movl %ebp, %ecx
callq 0x42b6
leaq 0x211d4(%rip), %rsi     # 0x282f2
leaq 0x4e36(%rip), %rdx      # 0xbf5b
movq %rbx, %rdi
movl %ebp, %ecx
callq 0x42b6
leaq 0x211c6(%rip), %rsi     # 0x282fc
leaq 0x4e38(%rip), %rdx      # 0xbf75
movq %rbx, %rdi
movl %ebp, %ecx
callq 0x42b6
leaq 0x211b8(%rip), %rsi     # 0x28306
leaq 0x4e3a(%rip), %rdx      # 0xbf8f
movq %rbx, %rdi
movl %ebp, %ecx
callq 0x42b6
leaq 0x211aa(%rip), %rsi     # 0x28310
leaq 0x4e3c(%rip), %rdx      # 0xbfa9
pushq $0x2
popq %r14
movq %rbx, %rdi
movl %r14d, %ecx
callq 0x42b6
leaq 0x21198(%rip), %rsi     # 0x2831b
leaq 0x4e5b(%rip), %rdx      # 0xbfe5
movq %rbx, %rdi
movl %ebp, %ecx
callq 0x42b6
leaq 0x2118a(%rip), %rsi     # 0x28325
leaq 0x4e5d(%rip), %rdx      # 0xbfff
movq %rbx, %rdi
movl %ebp, %ecx
callq 0x42b6
leaq 0x2117b(%rip), %rsi     # 0x2832e
leaq 0x4e5f(%rip), %rdx      # 0xc019
movq %rbx, %rdi
movl %ebp, %ecx
callq 0x42b6
leaq 0x2116c(%rip), %rsi     # 0x28337
leaq 0x4e61(%rip), %rdx      # 0xc033
movq %rbx, %rdi
movl %ebp, %ecx
callq 0x42b6
leaq 0x2115f(%rip), %rsi     # 0x28342
leaq 0x4e63(%rip), %rdx      # 0xc04d
movq %rbx, %rdi
movl %ebp, %ecx
callq 0x42b6
leaq 0x21150(%rip), %rsi     # 0x2834b
leaq 0x4e65(%rip), %rdx      # 0xc067
movq %rbx, %rdi
xorl %ecx, %ecx
callq 0x42b6
leaq 0x21141(%rip), %rsi     # 0x28354
leaq 0x4ecc(%rip), %rdx      # 0xc0e6
movq %rbx, %rdi
xorl %ecx, %ecx
callq 0x42b6
leaq 0x21132(%rip), %rsi     # 0x2835d
leaq 0x4f33(%rip), %rdx      # 0xc165
movq %rbx, %rdi
movl %r14d, %ecx
callq 0x42b6
leaq 0x21122(%rip), %rsi     # 0x28366
leaq 0x4f94(%rip), %rdx      # 0xc1df
movq %rbx, %rdi
xorl %ecx, %ecx
callq 0x42b6
leaq 0x21116(%rip), %rsi     # 0x28372
leaq 0x4faa(%rip), %rdx      # 0xc20d
movq %rbx, %rdi
movl %ebp, %ecx
callq 0x42b6
leaq 0x21109(%rip), %rsi     # 0x2837d
leaq 0x5011(%rip), %rdx      # 0xc28c
movq %rbx, %rdi
movl %ebp, %ecx
callq 0x42b6
leaq 0x210fa(%rip), %rsi     # 0x28386
leaq 0x5013(%rip), %rdx      # 0xc2a6
movq %rbx, %rdi
movl %ebp, %ecx
callq 0x42b6
leaq 0x210ec(%rip), %rsi     # 0x28390
leaq 0x5025(%rip), %rdx      # 0xc2d0
movq %rbx, %rdi
movl %ebp, %ecx
callq 0x42b6
leaq 0x210dd(%rip), %rsi     # 0x28399
movq %rbx, %rdi
movl %r14d, %edx
popq %rbx
popq %r14
popq %rbp
jmp 0x57de