// File: /workspace/github_cpp_makefile_star2_O1/Silica[P]PSL/./PSL/parser.h
// Function: PSL::variable::Parser::ParseIf(PSL::variable&, PSL::variable&)
void ParseIf(variable &g, variable &c)
	{
		variable v;
		if (t->getNextIf('('/*')'*/))
			ParseExpression(v, /*'('*/')');
		else
			Error(TINA, '('/*')'*/, "if");
		size_t l = v.codelength();
		Variable::OpCode *oc = NULL;
		if (l)
		{
			oc = new Variable::JRF(0);
			v.pushcode(oc);
			l = v.codelength();
		}
		else
		{
			Error(TINSC, 0, "if");
		}
		ParseDangling(g, v);
		if (t->checkNext() == Tokenizer::IDENTIFIER && t->nstr == "else")
		{
			t->getNext();
			if (oc)
				oc->set(static_cast<int>(v.codelength()+1-l));
			oc = new Variable::JR(0);
			v.pushcode(oc);
			l = v.codelength();
			ParseDangling(g, v);
			oc->set(static_cast<int>(v.codelength()-l));
		}
		else
		{
			if (oc)
				oc->set(static_cast<int>(v.codelength()-l));
		}
		if (Variable::Code *x = v.getcode())
		{
		#ifdef PSL_IF_STATEMENT_NOT_SCOPE
			Variable::Code *code = c.getcode();
			if (!code)	c = v;
			else		code->push(x);
		#else
			#ifdef PSL_DEBUG
			c.pushcode(new Variable::IF(x));
			#else
			c.pushcode(new Variable::SCOPE(x));
			#endif
		#endif
		}
	}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, %r15
movq %rsp, %rdi
callq 0x1303e
movq (%r15), %r12
movl 0x38(%r12), %eax
testl %eax, %eax
jns 0x1b5b7
movq %r12, %rdi
callq 0x199bc
movl %eax, 0x38(%r12)
cmpl $0x28, %eax
jne 0x1b5d9
movl $0xffffffff, 0x38(%r12) # imm = 0xFFFFFFFF
movq %rsp, %rsi
movq %r15, %rdi
movl $0x29, %edx
xorl %ecx, %ecx
callq 0x1b500
jmp 0x1b5f8
leaq 0xd254(%rip), %rcx      # 0x28834
movq %r15, %rdi
movl $0x2, %esi
movl $0x28, %edx
movl $0xffffffff, %r8d       # imm = 0xFFFFFFFF
callq 0x1bdbc
movq (%rsp), %rax
movq (%rax), %rdi
movq (%rdi), %rax
callq *0x180(%rax)
testq %rax, %rax
je 0x1b64f
callq 0x10058
movq %rax, %r12
movl $0x0, 0x8(%rax)
leaq 0x2266d(%rip), %rax     # 0x3dc90
movq %rax, (%r12)
movq (%rsp), %rax
movq (%rax), %rdi
movq (%rdi), %rax
movq %r12, %rsi
callq *0x190(%rax)
movq (%rsp), %rax
movq (%rax), %rdi
movq (%rdi), %rax
callq *0x180(%rax)
movq %rax, %r13
jmp 0x1b671
xorl %r13d, %r13d
leaq 0xd1db(%rip), %rcx      # 0x28834
movq %r15, %rdi
movl $0x3, %esi
xorl %edx, %edx
movl $0xffffffff, %r8d       # imm = 0xFFFFFFFF
callq 0x1bdbc
xorl %r12d, %r12d
movq %rsp, %rdx
movq %r15, %rdi
movq %r14, %rsi
callq 0x21e1a
movq (%r15), %rbp
movl 0x38(%rbp), %eax
testl %eax, %eax
jns 0x1b694
movq %rbp, %rdi
callq 0x199bc
movl %eax, 0x38(%rbp)
cmpl $0x1, %eax
jne 0x1b6c2
movq (%r15), %rdi
addq $0x68, %rdi
leaq 0xd185(%rip), %rsi      # 0x2882c
callq 0x1b0f8
testb %al, %al
je 0x1b6c2
movq (%r15), %rdi
cmpl $0x0, 0x38(%rdi)
jle 0x1b6e0
movl $0xffffffff, 0x38(%rdi) # imm = 0xFFFFFFFF
jmp 0x1b6e7
testq %r12, %r12
je 0x1b77a
movq (%rsp), %rax
movq (%rax), %rdi
movq (%rdi), %rax
callq *0x180(%rax)
jmp 0x1b76b
jns 0x1b6e7
callq 0x199bc
testq %r12, %r12
je 0x1b70d
movq (%rsp), %rax
movq (%rax), %rdi
movq (%rdi), %rax
callq *0x180(%rax)
subl %r13d, %eax
incl %eax
movq (%r12), %rcx
movq %r12, %rdi
movl %eax, %esi
callq *0x20(%rcx)
callq 0x10058
movq %rax, %r12
movl $0x0, 0x8(%rax)
leaq 0x225d5(%rip), %rax     # 0x3dcf8
movq %rax, (%r12)
movq (%rsp), %rax
movq (%rax), %rdi
movq (%rdi), %rax
movq %r12, %rsi
callq *0x190(%rax)
movq (%rsp), %rax
movq (%rax), %rdi
movq (%rdi), %rax
callq *0x180(%rax)
movq %rax, %r13
movq %rsp, %rdx
movq %r15, %rdi
movq %r14, %rsi
callq 0x21e1a
movq (%rsp), %rax
movq (%rax), %rdi
movq (%rdi), %rax
callq *0x180(%rax)
subq %r13, %rax
movq (%r12), %rcx
movq %r12, %rdi
movl %eax, %esi
callq *0x20(%rcx)
movq (%rsp), %rax
movq (%rax), %rdi
movq (%rdi), %rax
callq *0x188(%rax)
movq %rax, %r14
testq %rax, %rax
je 0x1b7d5
movq (%rbx), %rax
movq (%rax), %rdi
movq (%rdi), %rax
callq *0x188(%rax)
testq %rax, %rax
je 0x1b7b3
movq %rax, %rdi
movq %r14, %rsi
callq 0x13f52
jmp 0x1b7d5
movq (%rbx), %rbx
movq (%rsp), %rsi
movq (%rbx), %rdi
movq (%rdi), %rax
callq *0x38(%rax)
movq %rax, (%rbx)
movq (%rax), %rcx
movq %rax, %rdi
movq %rbx, %rsi
callq *0x158(%rcx)
movq (%rsp), %rdi
callq 0xfc04
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x1b80b
jmp 0x1b7f7
jmp 0x1b7f7
jmp 0x1b7f7
jmp 0x1b7f7
movq %rax, %rbx
movq (%rsp), %rdi
callq 0xfc04
movq %rbx, %rdi
callq 0xc290
movq %rax, %rdi
callq 0xde83
nop