// File: /workspace/github_c_makefile_star2_O1/georgeweigt[P]sassafras/sassafras.c
// Function: proc_anova_parse_means_stmt
void
proc_anova_parse_means_stmt(void)
{
	int i, lsd, n, ttest, x;
	char *s;

	alpha = 0.05;
	ttest = 0;
	lsd = 0;
	n = 0;

	scan();

	for (;;) {

		if (token == ';' || token == '/')
			break;

		proc_anova_parse_means_item();

		for (i = 0; i < dataset->nvar; i++) {
			s = dataset->spec[i].name;
			if (strcmp(s, bigbuf) == 0)
				break;
		}

		if (i == dataset->nvar)
			stop("Not in data set");

		if (dataset->spec[i].ltab == NULL)
			stop("Not categorical");

		if (n == MAXITEM)
			stop("Buffer overrun");

		item[n++] = i;
	}

	// parse options

	if (token == '/') {
		scan();
		while (token != ';') {
			keyword();
			switch (token) {
			case KALPHA:
				parse_alpha_option();
				break;
			case KT:
			case KLSD:
				lsd = 1;
				break;
			case KTTEST:
				ttest = 1;
				break;
			default:
				expected("statement option");
				break;
			}
			scan();
		}
	}

	scan(); // eat end of line

	for (i = 0; i < n; i++) {
		x = item[i];
		proc_anova_compute_means(x);
		proc_anova_print_means(x);
		if (lsd)
			proc_anova_print_lsd(x);
		if (ttest)
			proc_anova_print_ttest(x);
	}
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movabsq $0x3fa999999999999a, %rax # imm = 0x3FA999999999999A
movq %rax, 0xf2de(%rip)      # 0x13ed8
callq 0x2b84
xorl %r14d, %r14d
leaq 0xe2b7(%rip), %rbx      # 0x12ec0
leaq 0xf7e0(%rip), %r15      # 0x143f0
movl 0xac7e(%rip), %eax      # 0xf894
cmpl $0x2f, %eax
je 0x4cb4
cmpl $0x3b, %eax
je 0x4ca9
callq 0x4f3f
movq 0xf294(%rip), %rcx      # 0x13ec8
movl 0x10(%rcx), %r15d
testl %r15d, %r15d
jle 0x4c6d
movq %rcx, -0x30(%rbp)
leaq 0x20(%rcx), %r12
xorl %r13d, %r13d
movq (%r12), %rdi
movq %rbx, %rsi
callq 0x2160
testl %eax, %eax
je 0x4c67
incq %r13
addq $0x28, %r12
cmpq %r13, %r15
jne 0x4c48
movl %r15d, %r13d
movq -0x30(%rbp), %rcx
jmp 0x4c70
xorl %r13d, %r13d
cmpl %r15d, %r13d
je 0x4da5
movl %r13d, %eax
leaq (%rax,%rax,4), %rax
cmpq $0x0, 0x30(%rcx,%rax,8)
leaq 0xf763(%rip), %r15      # 0x143f0
je 0x4d97
cmpq $0x64, %r14
je 0x4d89
movl %r13d, (%r15,%r14,4)
incq %r14
jmp 0x4c10
movb $0x1, %r12b
movb $0x1, %r13b
jmp 0x4d3e
callq 0x2b84
movb $0x1, %r12b
cmpl $0x3b, 0xabd1(%rip)     # 0xf894
movb $0x1, %r13b
je 0x4d3e
xorl %r15d, %r15d
xorl %ebx, %ebx
movl %r15d, %r12d
callq 0x2593
movl $0x1, %r15d
movl 0xabb3(%rip), %eax      # 0xf894
cmpl $0x14f, %eax            # imm = 0x14F
jg 0x4cfb
cmpl $0x12d, %eax            # imm = 0x12D
je 0x4d14
cmpl $0x13d, %eax            # imm = 0x13D
je 0x4d1c
jmp 0x4dc7
cmpl $0x150, %eax            # imm = 0x150
je 0x4d1c
cmpl $0x155, %eax            # imm = 0x155
jne 0x4dc7
movl $0x1, %ebx
jmp 0x4d19
callq 0x4321
movl %r12d, %r15d
callq 0x2b84
cmpl $0x3b, 0xab6c(%rip)     # 0xf894
jne 0x4ccd
testl %r15d, %r15d
sete %r13b
testl %ebx, %ebx
sete %r12b
leaq 0xf6b2(%rip), %r15      # 0x143f0
callq 0x2b84
testl %r14d, %r14d
je 0x4d7a
movl (%r15), %ebx
movl %ebx, %edi
callq 0x5037
movl %ebx, %edi
callq 0x51c3
testb %r13b, %r13b
jne 0x4d65
movl %ebx, %edi
callq 0x55cb
testb %r12b, %r12b
jne 0x4d71
movl %ebx, %edi
callq 0x5a76
addq $0x4, %r15
decq %r14
jne 0x4d48
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
callq 0xa74a
leaq 0x6931(%rip), %rdi      # 0xb6c6
jmp 0x4db1
callq 0xa74a
leaq 0x6913(%rip), %rdi      # 0xb6b6
jmp 0x4db1
callq 0xa74a
leaq 0x68f5(%rip), %rdi      # 0xb6a6
callq 0x4081
leaq 0x10e23(%rip), %rdi     # 0x15be0
movl $0x1, %esi
callq 0x21b0
leaq 0x6907(%rip), %rdi      # 0xb6d5
callq 0x25f2