// File: /workspace/github_c_makefile_star2_O3/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), %r15
testb $0x10, 0x44(%r15)
jne 0x68f2
movq 0x8(%r15), %rdx
leaq 0x9a62(%rip), %rsi      # 0x10348
movq %rbx, %rdi
xorl %eax, %eax
callq 0x21b0
jmp 0x690b
leaq 0x9b41(%rip), %rdi      # 0x1043a
movl $0x7, %esi
movl $0x1, %edx
movq %rbx, %rcx
callq 0x22f0
movl 0x18(%r15), %eax
decl %eax
cmpl $0x4, %eax
ja 0x6928
movl %eax, %eax
leaq 0x9935(%rip), %rcx      # 0x10254
movslq (%rcx,%rax,4), %rdi
addq %rcx, %rdi
jmp 0x692f
leaq 0x9d2f(%rip), %rdi      # 0x1065e
movq %rbx, %rsi
callq 0x2120
movq 0x48(%r15), %rbp
testq %rbp, %rbp
je 0x6a28
leaq 0x3ae0(%rip), %r13      # 0xa42b
leaq 0x9d3e(%rip), %r12      # 0x10690
cmpq %r14, 0x38(%rbp)
jne 0x6a1b
movl 0x10(%rbp), %edx
cmpl $0x5, %edx
je 0x69fd
cmpl $0x4, %edx
je 0x6993
cmpl $0x1, %edx
jne 0x6a0e
leaq 0x9ce8(%rip), %rdi      # 0x10665
movq %rbx, %rsi
callq 0x2120
movq 0x18(%rbp), %rsi
movq %rbx, %rdi
callq 0x6821
jmp 0x69b3
leaq 0x9cda(%rip), %rdi      # 0x10674
movq %rbx, %rsi
callq 0x2120
movq 0x30(%rbp), %rdi
movq %r13, %rsi
movq %rbx, %rdx
xorl %ecx, %ecx
callq 0xa211
movq 0x20(%rbp), %rax
testq %rax, %rax
je 0x69ee
cmpl $0x7, (%rax)
jne 0x69ce
leaq 0xe8c0(%rip), %rcx      # 0x15288
cmpq %rcx, 0x8(%rax)
je 0x69ee
leaq 0x9c9a(%rip), %rdi      # 0x1066f
movq %rbx, %rsi
callq 0x2120
movq 0x20(%rbp), %rdi
movq %r13, %rsi
movq %rbx, %rdx
xorl %ecx, %ecx
callq 0xa211
movl $0xa, %edi
movq %rbx, %rsi
callq 0x2140
jmp 0x6a1b
leaq 0x9c7b(%rip), %rdi      # 0x1067f
movq %rbx, %rsi
callq 0x2120
jmp 0x6a1b
movq %rbx, %rdi
movq %r12, %rsi
xorl %eax, %eax
callq 0x21b0
movq (%rbp), %rbp
testq %rbp, %rbp
jne 0x6952
movq 0x10(%r15), %r14
testq %r14, %r14
je 0x6a7c
movq %r14, %rdi
callq 0x20e0
leal -0x1(%rax), %ecx
movslq %ecx, %rcx
cmpb $0xa, (%r14,%rcx)
jne 0x6a68
addq %rcx, %r14
cltq
addq $-0x2, %rax
movq %r14, %rcx
movb $0x0, (%rcx)
movq 0x10(%r15), %r14
leaq (%r14,%rax), %rcx
cmpb $0xa, (%r14,%rax)
leaq -0x1(%rax), %rax
je 0x6a52
leaq 0x9c35(%rip), %rsi      # 0x106a4
movq %rbx, %rdi
movq %r14, %rdx
xorl %eax, %eax
callq 0x21b0
movl $0xa, %edi
movq %rbx, %rsi
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x2140