// File: martinda3[P]Compiler/src/TCparser.cpp
// Function: toyc::TCparser::ActualParameters()
ASexpression* TCparser::ActualParameters() // WIP
	{
		// ActualParameters -> Expression { COMMA Expression }
		enteringDEBUG("Actual Parameters");
		ASexpression* operand = NULL;
		ASexpression* operand2[MAX_STATEMENTS];
		int i = 0;
		operand = Expression();
		while (buff->getTokenType() == COMMA)
		{
			enteringDEBUG("Actual Parameters Additional");
			accept(COMMA);
			operand2[i] = Expression();
			i++;
			exitingDEBUG("Actual Parameters Additional");
		}
		operand = new ASfuncCall(operand, operand2, i);
		exitingDEBUG("Actual Parameters");
		return operand;
	}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x10a0, %rsp           # imm = 0x10A0
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x1080(%rbp)
leaq -0x29(%rbp), %rdi
movq %rdi, -0x1078(%rbp)
callq 0x95c0
movq -0x1078(%rbp), %rdx
leaq 0x21a14(%rip), %rsi     # 0x334ac
leaq -0x28(%rbp), %rdi
callq 0x13550
jmp 0x11aa3
leaq -0x28(%rbp), %rdi
callq 0xd790
jmp 0x11aae
leaq -0x28(%rbp), %rdi
callq 0x9658
leaq -0x29(%rbp), %rdi
callq 0x93b0
movq -0x1080(%rbp), %rdi
movq $0x0, -0x48(%rbp)
movl $0x0, -0xff4(%rbp)
callq 0xfe60
movq %rax, -0x48(%rbp)
movq -0x1080(%rbp), %rax
movq 0x8(%rax), %rdi
callq 0x1be60
cmpl $0x26, %eax
jne 0x11c86
leaq -0x1019(%rbp), %rdi
movq %rdi, -0x1088(%rbp)
callq 0x95c0
movq -0x1088(%rbp), %rdx
leaq 0x219a2(%rip), %rsi     # 0x334be
leaq -0x1018(%rbp), %rdi
callq 0x13550
jmp 0x11b2a
leaq -0x1018(%rbp), %rdi
callq 0xd790
jmp 0x11b38
leaq -0x1018(%rbp), %rdi
callq 0x9658
leaq -0x1019(%rbp), %rdi
callq 0x93b0
movq -0x1080(%rbp), %rdi
movl $0x26, %esi
callq 0xe670
movq -0x1080(%rbp), %rdi
callq 0xfe60
movq %rax, %rcx
movslq -0xff4(%rbp), %rax
movq %rcx, -0xff0(%rbp,%rax,8)
movl -0xff4(%rbp), %eax
incl %eax
movl %eax, -0xff4(%rbp)
leaq -0x1041(%rbp), %rdi
movq %rdi, -0x1090(%rbp)
callq 0x95c0
movq -0x1090(%rbp), %rdx
leaq 0x21910(%rip), %rsi     # 0x334be
leaq -0x1040(%rbp), %rdi
callq 0x13550
jmp 0x11bbc
leaq -0x1040(%rbp), %rdi
callq 0xda50
jmp 0x11bca
leaq -0x1040(%rbp), %rdi
callq 0x9658
leaq -0x1041(%rbp), %rdi
callq 0x93b0
jmp 0x11ae2
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x38(%rbp)
movl %eax, -0x3c(%rbp)
jmp 0x11c0a
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x38(%rbp)
movl %eax, -0x3c(%rbp)
leaq -0x28(%rbp), %rdi
callq 0x9658
leaq -0x29(%rbp), %rdi
callq 0x93b0
jmp 0x11d73
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x38(%rbp)
movl %eax, -0x3c(%rbp)
jmp 0x11c3e
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x38(%rbp)
movl %eax, -0x3c(%rbp)
leaq -0x1018(%rbp), %rdi
callq 0x9658
leaq -0x1019(%rbp), %rdi
callq 0x93b0
jmp 0x11d73
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x38(%rbp)
movl %eax, -0x3c(%rbp)
jmp 0x11c75
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x38(%rbp)
movl %eax, -0x3c(%rbp)
leaq -0x1040(%rbp), %rdi
callq 0x9658
leaq -0x1041(%rbp), %rdi
callq 0x93b0
jmp 0x11d73
movl $0xfc0, %edi            # imm = 0xFC0
callq 0x9350
movq %rax, %rdi
movq %rdi, %rax
movq %rax, -0x1098(%rbp)
movq -0x48(%rbp), %rsi
movl -0xff4(%rbp), %ecx
leaq -0xff0(%rbp), %rdx
callq 0x1f3a0
jmp 0x11cb5
movq -0x1098(%rbp), %rax
movq %rax, -0x48(%rbp)
leaq -0x1069(%rbp), %rdi
movq %rdi, -0x10a0(%rbp)
callq 0x95c0
movq -0x10a0(%rbp), %rdx
leaq 0x217cb(%rip), %rsi     # 0x334ac
leaq -0x1068(%rbp), %rdi
callq 0x13550
jmp 0x11cef
leaq -0x1068(%rbp), %rdi
callq 0xda50
jmp 0x11cfd
leaq -0x1068(%rbp), %rdi
callq 0x9658
leaq -0x1069(%rbp), %rdi
callq 0x93b0
movq -0x48(%rbp), %rax
addq $0x10a0, %rsp           # imm = 0x10A0
popq %rbp
retq
movq -0x1098(%rbp), %rdi
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x38(%rbp)
movl %eax, -0x3c(%rbp)
movl $0xfc0, %esi            # imm = 0xFC0
callq 0x9360
jmp 0x11d73
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x38(%rbp)
movl %eax, -0x3c(%rbp)
jmp 0x11d67
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x38(%rbp)
movl %eax, -0x3c(%rbp)
leaq -0x1068(%rbp), %rdi
callq 0x9658
leaq -0x1069(%rbp), %rdi
callq 0x93b0
movq -0x38(%rbp), %rdi
callq 0x95b0
nopl (%rax)