// File: menhits[P]phplus/src/PhplusStdLib.cpp
// Function: populateNonStdFuncs()
void populateNonStdFuncs()
{
	func("cetakc", Void, Int, Void,
			putchar((char)right)
		,
			"putchar($:)"
		);
	
	func("inputc", Void, Void, Int,
			retrn getchar()
		,
			"getchar()"
		);
	
	func("inputInt", Void, Void, Int,
			int val;
			std::cin >> val;
			retrn val;
		,
			ADD_CPP_HEADER
			{
				if (!prog->hasFunc("-getIntInput"))
				{
					prog->pushFunc("-getIntInput", Void, Void, Int);
						prog->declareVar("tmp", Int);
						prog->code("scanf");
						prog->pushExpr();
							prog->code("\"%d\", &");
							prog->name("tmp");
						prog->popExpr();
						prog->endln();
						prog->code("return ");
						prog->name("tmp");
						prog->endln();
					prog->popFunc();
				}

// Assembly:
subq $0x2f8, %rsp            # imm = 0x2F8
leaq 0x2d7(%rsp), %rdi
movq %rdi, 0x90(%rsp)
callq 0xb690
movq 0x90(%rsp), %rdx
leaq 0x71641(%rip), %rsi     # 0xd55bc
leaq 0x2d8(%rsp), %rdi
callq 0xb4c0
jmp 0x63f8a
leaq 0xb4517(%rip), %rsi     # 0x1184a8
movq %rsi, 0x80(%rsp)
leaq 0x2b0(%rsp), %rdi
callq 0x1a920
leaq 0xb453b(%rip), %rsi     # 0x1184e8
leaq 0x2a0(%rsp), %rdi
callq 0x1a920
movq 0x80(%rsp), %rsi
leaq 0x290(%rsp), %rdi
callq 0x1a920
leaq 0x270(%rsp), %rdi
leaq 0x26f(%rsp), %rsi
callq 0x64600
leaq 0x247(%rsp), %rdi
movq %rdi, 0x88(%rsp)
callq 0xb690
movq 0x88(%rsp), %rdx
leaq 0x715bb(%rip), %rsi     # 0xd55c3
leaq 0x248(%rsp), %rdi
callq 0xb4c0
jmp 0x64017
leaq 0x2d8(%rsp), %rdi
leaq 0x2b0(%rsp), %rsi
leaq 0x2a0(%rsp), %rdx
leaq 0x290(%rsp), %rcx
leaq 0x270(%rsp), %r8
leaq 0x248(%rsp), %r9
callq 0x4ec40
jmp 0x6404e
leaq 0x248(%rsp), %rdi
callq 0xb6e8
leaq 0x247(%rsp), %rdi
callq 0xb3f0
leaq 0x270(%rsp), %rdi
callq 0x95c00
leaq 0x290(%rsp), %rdi
callq 0x1a950
leaq 0x2a0(%rsp), %rdi
callq 0x1a950
leaq 0x2b0(%rsp), %rdi
callq 0x1a950
leaq 0x2d8(%rsp), %rdi
callq 0xb6e8
leaq 0x2d7(%rsp), %rdi
callq 0xb3f0
leaq 0x21f(%rsp), %rdi
movq %rdi, 0x78(%rsp)
callq 0xb690
movq 0x78(%rsp), %rdx
leaq 0x714fb(%rip), %rsi     # 0xd55cf
leaq 0x220(%rsp), %rdi
callq 0xb4c0
jmp 0x640e3
leaq 0xb43be(%rip), %rsi     # 0x1184a8
movq %rsi, 0x68(%rsp)
leaq 0x208(%rsp), %rdi
callq 0x1a920
movq 0x68(%rsp), %rsi
leaq 0x1f8(%rsp), %rdi
callq 0x1a920
leaq 0xb43d3(%rip), %rsi     # 0x1184e8
leaq 0x1e8(%rsp), %rdi
callq 0x1a920
leaq 0x1c8(%rsp), %rdi
leaq 0x1c7(%rsp), %rsi
callq 0x64690
leaq 0x19f(%rsp), %rdi
movq %rdi, 0x70(%rsp)
callq 0xb690
movq 0x70(%rsp), %rdx
leaq 0x71481(%rip), %rsi     # 0xd55d6
leaq 0x1a0(%rsp), %rdi
callq 0xb4c0
jmp 0x64164
leaq 0x220(%rsp), %rdi
leaq 0x208(%rsp), %rsi
leaq 0x1f8(%rsp), %rdx
leaq 0x1e8(%rsp), %rcx
leaq 0x1c8(%rsp), %r8
leaq 0x1a0(%rsp), %r9
callq 0x4ec40
jmp 0x6419b
leaq 0x1a0(%rsp), %rdi
callq 0xb6e8
leaq 0x19f(%rsp), %rdi
callq 0xb3f0
leaq 0x1c8(%rsp), %rdi
callq 0x95c00
leaq 0x1e8(%rsp), %rdi
callq 0x1a950
leaq 0x1f8(%rsp), %rdi
callq 0x1a950
leaq 0x208(%rsp), %rdi
callq 0x1a950
leaq 0x220(%rsp), %rdi
callq 0xb6e8
leaq 0x21f(%rsp), %rdi
callq 0xb3f0
leaq 0xb429e(%rip), %rsi     # 0x1184a8
movq %rsi, 0x38(%rsp)
leaq 0x188(%rsp), %rdi
movq %rdi, 0x40(%rsp)
callq 0x1a920
movq 0x38(%rsp), %rsi
leaq 0x178(%rsp), %rdi
movq %rdi, 0x48(%rsp)
callq 0x1a920
leaq 0xb42a9(%rip), %rsi     # 0x1184e8
leaq 0x168(%rsp), %rdi
movq %rdi, 0x50(%rsp)
callq 0x1a920
leaq 0x148(%rsp), %rdi
movq %rdi, 0x58(%rsp)
leaq 0x147(%rsp), %rsi
callq 0x64720
leaq 0x120(%rsp), %rdi
movq %rdi, 0x60(%rsp)
leaq 0x11f(%rsp), %rsi
callq 0x647b0
movq 0x40(%rsp), %rsi
movq 0x48(%rsp), %rdx
movq 0x50(%rsp), %rcx
movq 0x58(%rsp), %r8
movq 0x60(%rsp), %r9
leaq 0x7133b(%rip), %rdi     # 0xd55e0
callq 0x96b70
jmp 0x642ac
leaq 0x120(%rsp), %rdi
callq 0x95bf0
leaq 0x148(%rsp), %rdi
callq 0x95c00
leaq 0x168(%rsp), %rdi
callq 0x1a950
leaq 0x178(%rsp), %rdi
callq 0x1a950
leaq 0x188(%rsp), %rdi
callq 0x1a950
leaq 0xb41b4(%rip), %rsi     # 0x1184a8
leaq 0x108(%rsp), %rdi
movq %rdi, 0x10(%rsp)
callq 0x1a920
leaq 0xb41fb(%rip), %rsi     # 0x118508
movq %rsi, 0x8(%rsp)
leaq 0xf8(%rsp), %rdi
movq %rdi, 0x18(%rsp)
callq 0x1a920
movq 0x8(%rsp), %rsi
leaq 0xe8(%rsp), %rdi
movq %rdi, 0x20(%rsp)
callq 0x1a920
leaq 0xc8(%rsp), %rdi
movq %rdi, 0x28(%rsp)
leaq 0xc7(%rsp), %rsi
callq 0x64840
leaq 0xa0(%rsp), %rdi
movq %rdi, 0x30(%rsp)
leaq 0x9f(%rsp), %rsi
callq 0x648d0
movq 0x10(%rsp), %rsi
movq 0x18(%rsp), %rdx
movq 0x20(%rsp), %rcx
movq 0x28(%rsp), %r8
movq 0x30(%rsp), %r9
leaq 0x70ec6(%rip), %rdi     # 0xd5255
callq 0x96b70
jmp 0x64396
leaq 0xa0(%rsp), %rdi
callq 0x95bf0
leaq 0xc8(%rsp), %rdi
callq 0x95c00
leaq 0xe8(%rsp), %rdi
callq 0x1a950
leaq 0xf8(%rsp), %rdi
callq 0x1a950
leaq 0x108(%rsp), %rdi
callq 0x1a950
addq $0x2f8, %rsp            # imm = 0x2F8
retq
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x2c8(%rsp)
movl %eax, 0x2c4(%rsp)
jmp 0x6447d
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x2c8(%rsp)
movl %eax, 0x2c4(%rsp)
jmp 0x6442f
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x2c8(%rsp)
movl %eax, 0x2c4(%rsp)
leaq 0x248(%rsp), %rdi
callq 0xb6e8
leaq 0x247(%rsp), %rdi
callq 0xb3f0
leaq 0x270(%rsp), %rdi
callq 0x95c00
leaq 0x290(%rsp), %rdi
callq 0x1a950
leaq 0x2a0(%rsp), %rdi
callq 0x1a950
leaq 0x2b0(%rsp), %rdi
callq 0x1a950
leaq 0x2d8(%rsp), %rdi
callq 0xb6e8
leaq 0x2d7(%rsp), %rdi
callq 0xb3f0
jmp 0x645eb
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x2c8(%rsp)
movl %eax, 0x2c4(%rsp)
jmp 0x6452d
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x2c8(%rsp)
movl %eax, 0x2c4(%rsp)
jmp 0x644df
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x2c8(%rsp)
movl %eax, 0x2c4(%rsp)
leaq 0x1a0(%rsp), %rdi
callq 0xb6e8
leaq 0x19f(%rsp), %rdi
callq 0xb3f0
leaq 0x1c8(%rsp), %rdi
callq 0x95c00
leaq 0x1e8(%rsp), %rdi
callq 0x1a950
leaq 0x1f8(%rsp), %rdi
callq 0x1a950
leaq 0x208(%rsp), %rdi
callq 0x1a950
leaq 0x220(%rsp), %rdi
callq 0xb6e8
leaq 0x21f(%rsp), %rdi
callq 0xb3f0
jmp 0x645eb
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x2c8(%rsp)
movl %eax, 0x2c4(%rsp)
leaq 0x120(%rsp), %rdi
callq 0x95bf0
leaq 0x148(%rsp), %rdi
callq 0x95c00
leaq 0x168(%rsp), %rdi
callq 0x1a950
leaq 0x178(%rsp), %rdi
callq 0x1a950
leaq 0x188(%rsp), %rdi
callq 0x1a950
jmp 0x645eb
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x2c8(%rsp)
movl %eax, 0x2c4(%rsp)
leaq 0xa0(%rsp), %rdi
callq 0x95bf0
leaq 0xc8(%rsp), %rdi
callq 0x95c00
leaq 0xe8(%rsp), %rdi
callq 0x1a950
leaq 0xf8(%rsp), %rdi
callq 0x1a950
leaq 0x108(%rsp), %rdi
callq 0x1a950
movq 0x2c8(%rsp), %rdi
callq 0xb680
nopl (%rax,%rax)