// File: /workspace/github_c_makefile_star2_O0/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:
subq $0x38, %rsp
movq %rdi, 0x30(%rsp)
movq %rsi, 0x28(%rsp)
movq 0x28(%rsp), %rax
movq 0x18(%rax), %rax
movq %rax, 0x20(%rsp)
movq 0x20(%rsp), %rdi
callq 0x7da0
testb $0x1, %al
jne 0x7acc
jmp 0x7ae1
movq 0x30(%rsp), %rdi
leaq 0xdae7(%rip), %rsi      # 0x155bf
movb $0x0, %al
callq 0x21a0
jmp 0x7afd
movq 0x30(%rsp), %rdi
movq 0x20(%rsp), %rax
movq 0x8(%rax), %rdx
leaq 0xd9d7(%rip), %rsi      # 0x154cd
movb $0x0, %al
callq 0x21a0
movq 0x20(%rsp), %rax
movl 0x18(%rax), %eax
decl %eax
movl %eax, %ecx
movq %rcx, 0x8(%rsp)
subl $0x4, %eax
ja 0x7b87
movq 0x8(%rsp), %rax
leaq 0x8aad(%rip), %rcx      # 0x105cc
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movq 0x30(%rsp), %rsi
leaq 0xdca8(%rip), %rdi      # 0x157dc
callq 0x2110
jmp 0x7b98
movq 0x30(%rsp), %rsi
leaq 0xdca0(%rip), %rdi      # 0x157e7
callq 0x2110
jmp 0x7b98
movq 0x30(%rsp), %rsi
leaq 0xdc99(%rip), %rdi      # 0x157f3
callq 0x2110
jmp 0x7b98
movq 0x30(%rsp), %rsi
leaq 0xdc90(%rip), %rdi      # 0x157fd
callq 0x2110
jmp 0x7b98
movq 0x30(%rsp), %rsi
leaq 0xdc88(%rip), %rdi      # 0x15808
callq 0x2110
jmp 0x7b98
movq 0x30(%rsp), %rsi
leaq 0xdc7c(%rip), %rdi      # 0x1580f
callq 0x2110
movq 0x20(%rsp), %rax
movq 0x48(%rax), %rax
movq %rax, 0x18(%rsp)
cmpq $0x0, 0x18(%rsp)
je 0x7d18
movq 0x18(%rsp), %rax
movq 0x38(%rax), %rax
cmpq 0x28(%rsp), %rax
je 0x7bc7
jmp 0x7d06
movq 0x18(%rsp), %rax
movl 0x10(%rax), %eax
movl %eax, 0x4(%rsp)
subl $0x1, %eax
je 0x7bfb
jmp 0x7bda
movl 0x4(%rsp), %eax
subl $0x4, %eax
je 0x7c6a
jmp 0x7be9
movl 0x4(%rsp), %eax
subl $0x5, %eax
je 0x7cd6
jmp 0x7ce9
movq 0x30(%rsp), %rsi
leaq 0xdc0f(%rip), %rdi      # 0x15816
callq 0x2110
movq 0x30(%rsp), %rdi
movq 0x18(%rsp), %rax
movq 0x18(%rax), %rsi
callq 0x79f0
movq 0x18(%rsp), %rax
movq 0x20(%rax), %rdi
callq 0x7dd0
cmpl $0x0, %eax
jne 0x7c56
movq 0x30(%rsp), %rsi
leaq 0xdbe2(%rip), %rdi      # 0x15820
callq 0x2110
movq 0x18(%rsp), %rax
movq 0x20(%rax), %rdi
movq 0x30(%rsp), %rsi
callq 0x7e20
movq 0x30(%rsp), %rsi
movl $0xa, %edi
callq 0x2140
jmp 0x7d04
movq 0x30(%rsp), %rsi
leaq 0xdbaf(%rip), %rdi      # 0x15825
callq 0x2110
movq 0x18(%rsp), %rax
movq 0x30(%rax), %rdi
movq 0x30(%rsp), %rsi
callq 0x7e20
movq 0x18(%rsp), %rax
movq 0x20(%rax), %rdi
callq 0x7dd0
cmpl $0x0, %eax
jne 0x7cc5
movq 0x30(%rsp), %rsi
leaq 0xdb73(%rip), %rdi      # 0x15820
callq 0x2110
movq 0x18(%rsp), %rax
movq 0x20(%rax), %rdi
movq 0x30(%rsp), %rsi
callq 0x7e20
movq 0x30(%rsp), %rsi
movl $0xa, %edi
callq 0x2140
jmp 0x7d04
movq 0x30(%rsp), %rsi
leaq 0xdb4e(%rip), %rdi      # 0x15830
callq 0x2110
jmp 0x7d04
movq 0x30(%rsp), %rdi
movq 0x18(%rsp), %rax
movl 0x10(%rax), %edx
leaq 0xdb44(%rip), %rsi      # 0x15841
movb $0x0, %al
callq 0x21a0
jmp 0x7d06
movq 0x18(%rsp), %rax
movq (%rax), %rax
movq %rax, 0x18(%rsp)
jmp 0x7ba6
movq 0x20(%rsp), %rax
cmpq $0x0, 0x10(%rax)
je 0x7d86
movq 0x20(%rsp), %rax
movq 0x10(%rax), %rdi
callq 0x20d0
movl %eax, 0x14(%rsp)
movq 0x20(%rsp), %rax
movq 0x10(%rax), %rax
movl 0x14(%rsp), %ecx
addl $-0x1, %ecx
movl %ecx, 0x14(%rsp)
movslq %ecx, %rcx
movsbl (%rax,%rcx), %eax
cmpl $0xa, %eax
jne 0x7d6a
movq 0x20(%rsp), %rax
movq 0x10(%rax), %rax
movslq 0x14(%rsp), %rcx
movb $0x0, (%rax,%rcx)
jmp 0x7d36
movq 0x30(%rsp), %rdi
movq 0x20(%rsp), %rax
movq 0x10(%rax), %rdx
leaq 0xdad6(%rip), %rsi      # 0x15855
movb $0x0, %al
callq 0x21a0
movq 0x30(%rsp), %rsi
movl $0xa, %edi
callq 0x2140
addq $0x38, %rsp
retq
nopw (%rax,%rax)