// File: /workspace/github_c_makefile_star2_O1/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 0x6f4d
movq 0x8(%r15), %rdx
leaq 0xa427(%rip), %rsi      # 0x11368
movq %rbx, %rdi
xorl %eax, %eax
callq 0x21a0
jmp 0x6f66
leaq 0xa506(%rip), %rdi      # 0x1145a
movl $0x7, %esi
movl $0x1, %edx
movq %rbx, %rcx
callq 0x22e0
movl 0x18(%r15), %eax
decl %eax
cmpl $0x4, %eax
ja 0x6f83
movl %eax, %eax
leaq 0xa2fa(%rip), %rcx      # 0x11274
movslq (%rcx,%rax,4), %rdi
addq %rcx, %rdi
jmp 0x6f8a
leaq 0xa6f4(%rip), %rdi      # 0x1167e
movq %rbx, %rsi
callq 0x2120
movq 0x48(%r15), %rbp
testq %rbp, %rbp
je 0x7083
leaq 0x3c22(%rip), %r13      # 0xabc8
leaq 0xa703(%rip), %r12      # 0x116b0
cmpq %r14, 0x38(%rbp)
jne 0x7076
movl 0x10(%rbp), %edx
cmpl $0x5, %edx
je 0x7058
cmpl $0x4, %edx
je 0x6fee
cmpl $0x1, %edx
jne 0x7069
leaq 0xa6ad(%rip), %rdi      # 0x11685
movq %rbx, %rsi
callq 0x2120
movq 0x18(%rbp), %rsi
movq %rbx, %rdi
callq 0x6e7c
jmp 0x700e
leaq 0xa69f(%rip), %rdi      # 0x11694
movq %rbx, %rsi
callq 0x2120
movq 0x30(%rbp), %rdi
movq %r13, %rsi
movq %rbx, %rdx
xorl %ecx, %ecx
callq 0xa9da
movq 0x20(%rbp), %rax
testq %rax, %rax
je 0x7049
cmpl $0x7, (%rax)
jne 0x7029
leaq 0xf265(%rip), %rcx      # 0x16288
cmpq %rcx, 0x8(%rax)
je 0x7049
leaq 0xa65f(%rip), %rdi      # 0x1168f
movq %rbx, %rsi
callq 0x2120
movq 0x20(%rbp), %rdi
movq %r13, %rsi
movq %rbx, %rdx
xorl %ecx, %ecx
callq 0xa9da
movl $0xa, %edi
movq %rbx, %rsi
callq 0x2140
jmp 0x7076
leaq 0xa640(%rip), %rdi      # 0x1169f
movq %rbx, %rsi
callq 0x2120
jmp 0x7076
movq %rbx, %rdi
movq %r12, %rsi
xorl %eax, %eax
callq 0x21a0
movq (%rbp), %rbp
testq %rbp, %rbp
jne 0x6fad
movq 0x10(%r15), %rdi
testq %rdi, %rdi
je 0x70d3
callq 0x20e0
movq 0x10(%r15), %rdx
leal -0x1(%rax), %ecx
movslq %ecx, %rcx
cmpb $0xa, (%rdx,%rcx)
jne 0x70c2
addq %rcx, %rdx
cltq
addq $-0x2, %rax
movq %rdx, %rcx
movb $0x0, (%rcx)
movq 0x10(%r15), %rdx
leaq (%rdx,%rax), %rcx
cmpb $0xa, (%rdx,%rax)
leaq -0x1(%rax), %rax
je 0x70ad
leaq 0xa5fb(%rip), %rsi      # 0x116c4
movq %rbx, %rdi
xorl %eax, %eax
callq 0x21a0
movl $0xa, %edi
movq %rbx, %rsi
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x2140