// File: /workspace/github_c_makefile_star2_O2/saltyJeff[P]uClibcpp/extra/config/zconf.tab.c
// Function: print_symbol
void print_symbol(FILE *out, struct menu *menu)
{
	struct symbol *sym = menu->sym;
	struct property *prop;

	if (sym_is_choice(sym))
		fprintf(out, "choice\n");
	else
		fprintf(out, "config %s\n", sym->name);
	switch (sym->type) {
	case S_BOOLEAN:
		fputs("  boolean\n", out);
		break;
	case S_TRISTATE:
		fputs("  tristate\n", out);
		break;
	case S_STRING:
		fputs("  string\n", out);
		break;
	case S_INT:
		fputs("  integer\n", out);
		break;
	case S_HEX:
		fputs("  hex\n", out);
		break;
	default:
		fputs("  ???\n", out);
		break;
	}
	for (prop = sym->prop; prop; prop = prop->next) {
		if (prop->menu != menu)
			continue;
		switch (prop->type) {
		case P_PROMPT:
			fputs("  prompt ", out);
			print_quoted_string(out, prop->text);
			if (!expr_is_yes(prop->visible.expr)) {
				fputs(" if ", out);
				expr_fprint(prop->visible.expr, out);
			}
			fputc('\n', out);
			break;
		case P_DEFAULT:
			fputs( "  default ", out);
			expr_fprint(prop->expr, out);
			if (!expr_is_yes(prop->visible.expr)) {
				fputs(" if ", out);
				expr_fprint(prop->visible.expr, out);
			}
			fputc('\n', out);
			break;
		case P_CHOICE:
			fputs("  #choice value\n", out);
			break;
		default:
			fprintf(out, "  unknown prop %d!\n", prop->type);
			break;
		}
	}
	if (sym->help) {
		int len = strlen(sym->help);
		while (sym->help[--len] == '\n')
			sym->help[len] = 0;
		fprintf(out, "  help\n%s\n", sym->help);
	}
	fputc('\n', out);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %r14
movq %rdi, %rbx
movq 0x18(%rsi), %r12
testb $0x10, 0x44(%r12)
jne 0x5ff1
movq 0x8(%r12), %rdx
leaq 0x9397(%rip), %rsi      # 0xf37c
movq %rbx, %rdi
xorl %eax, %eax
callq 0x21b0
jmp 0x6006
leaq 0x9476(%rip), %rdi      # 0xf46e
pushq $0x7
popq %rsi
pushq $0x1
popq %rdx
movq %rbx, %rcx
callq 0x2300
movl 0x18(%r12), %eax
decl %eax
cmpl $0x4, %eax
ja 0x6024
movl %eax, %eax
leaq 0x9255(%rip), %rcx      # 0xf270
movslq (%rcx,%rax,4), %rdi
addq %rcx, %rdi
jmp 0x602b
leaq 0x9667(%rip), %rdi      # 0xf692
movq %rbx, %rsi
callq 0x2120
leaq 0x48(%r12), %r13
pushq $0xa
popq %rbp
leaq 0x9682(%rip), %r15      # 0xf6c4
movq (%r13), %r13
testq %r13, %r13
je 0x6101
cmpq %r14, 0x38(%r13)
jne 0x6042
movl 0x10(%r13), %edx
cmpl $0x5, %edx
je 0x60db
cmpl $0x4, %edx
je 0x6089
cmpl $0x1, %edx
jne 0x60ef
leaq 0x9626(%rip), %rdi      # 0xf699
movq %rbx, %rsi
callq 0x2120
movq 0x18(%r13), %rsi
movq %rbx, %rdi
callq 0x5f2f
jmp 0x60a4
leaq 0x9618(%rip), %rdi      # 0xf6a8
movq %rbx, %rsi
callq 0x2120
movq 0x30(%r13), %rdi
movq %rbx, %rsi
callq 0x6179
movq 0x20(%r13), %rdi
callq 0x6158
testl %eax, %eax
jne 0x60cc
leaq 0x95eb(%rip), %rdi      # 0xf6a3
movq %rbx, %rsi
callq 0x2120
movq 0x20(%r13), %rdi
movq %rbx, %rsi
callq 0x6179
movl %ebp, %edi
movq %rbx, %rsi
callq 0x2140
jmp 0x6042
leaq 0x95d1(%rip), %rdi      # 0xf6b3
movq %rbx, %rsi
callq 0x2120
jmp 0x6042
movq %rbx, %rdi
movq %r15, %rsi
xorl %eax, %eax
callq 0x21b0
jmp 0x6042
movq 0x10(%r12), %r14
testq %r14, %r14
je 0x613f
movq %r14, %rdi
callq 0x20e0
cltq
decq %rax
cmpb $0xa, (%r14,%rax)
jne 0x612b
movb $0x0, (%r14,%rax)
movq 0x10(%r12), %r14
jmp 0x6115
leaq 0x95a6(%rip), %rsi      # 0xf6d8
movq %rbx, %rdi
movq %r14, %rdx
xorl %eax, %eax
callq 0x21b0
pushq $0xa
popq %rdi
movq %rbx, %rsi
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x2140