// File: /workspace/github_c_makefile_star2_O1/saltyJeff[P]uClibcpp/extra/config/conf.c
// Function: conf
static void conf(struct menu *menu)
{
	struct symbol *sym;
	struct property *prop;
	struct menu *child;

	if (!menu_is_visible(menu))
		return;

	sym = menu->sym;
	prop = menu->prompt;
	if (prop) {
		const char *prompt;

		switch (prop->type) {
		case P_MENU:
			if (input_mode == ask_silent && rootEntry != menu) {
				check_conf(menu);
				return;
			}
		case P_COMMENT:
			prompt = menu_get_prompt(menu);
			if (prompt)
				printf("%*c\n%*c %s\n%*c\n",
					indent, '*',
					indent, '*', prompt,
					indent, '*');
		default:
			;
		}
	}

	if (!sym)
		goto conf_childs;

	if (sym_is_choice(sym)) {
		conf_choice(menu);
		if (sym->curr.tri != mod)
			return;
		goto conf_childs;
	}

	switch (sym->type) {
	case S_INT:
	case S_HEX:
	case S_STRING:
		conf_string(menu);
		break;
	default:
		conf_sym(menu);
		break;
	}

conf_childs:
	if (sym)
		indent += 2;
	for (child = menu->list; child; child = child->next)
		conf(child);
	if (sym)
		indent -= 2;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rdi, %rbx
callq 0x8d75
testb %al, %al
je 0x3292
movq 0x18(%rbx), %r14
movq %rbx, 0x8(%rsp)
movq 0x20(%rbx), %rax
testq %rax, %rax
je 0x2e6b
movl 0x10(%rax), %eax
cmpl $0x2, %eax
je 0x2e31
cmpl $0x3, %eax
jne 0x2e6b
cmpl $0x2, 0x135e7(%rip)     # 0x163f0
jne 0x2e31
movq 0x8(%rsp), %rax
cmpq %rax, 0x13669(%rip)     # 0x16480
je 0x2e31
movq 0x8(%rsp), %rdi
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x32a1
movq 0x8(%rsp), %rdi
callq 0x8def
testq %rax, %rax
je 0x2e6b
movl 0x1335a(%rip), %ecx     # 0x161a0
leaq 0x92c1(%rip), %rdi      # 0xc10e
movl %ecx, %esi
movl $0x2a, %edx
movl $0x2a, %r8d
movq %rax, %r9
xorl %eax, %eax
pushq $0x2a
pushq %rcx
callq 0x2100
addq $0x10, %rsp
testq %r14, %r14
je 0x326b
testb $0x10, 0x44(%r14)
jne 0x2e96
movl 0x18(%r14), %eax
addl $-0x3, %eax
cmpl $0x2, %eax
ja 0x2ee4
movq 0x8(%rsp), %rdi
callq 0x293c
jmp 0x3264
movq %r14, 0x18(%rsp)
movq 0x8(%rsp), %r14
leaq 0x18(%r14), %rax
movq %rax, 0x20(%rsp)
movq (%rax), %r13
movq %r13, %rdi
callq 0xacb7
movl 0x44(%r13), %eax
movl %eax, 0x14(%rsp)
movq %r13, %rdi
callq 0xb133
testb %al, %al
je 0x2ef3
movq %r14, %rdi
callq 0x3373
movq %r13, %rdi
callq 0x8244
cmpl $0x2, 0x28(%r13)
jae 0x2f33
jmp 0x3258
movq 0x8(%rsp), %rdi
callq 0x3373
jmp 0x3264
movl 0x28(%r13), %eax
testl %eax, %eax
je 0x3258
cmpl $0x1, %eax
jne 0x2f33
movl 0x13296(%rip), %ebp     # 0x161a0
decl %ebp
movq %r14, %rdi
callq 0x8def
leaq 0x9203(%rip), %rdi      # 0xc11e
leaq 0xe7a1(%rip), %rdx      # 0x116c3
movl %ebp, %esi
movq %rax, %rcx
xorl %eax, %eax
callq 0x2100
jmp 0x3258
movl 0x13266(%rip), %r15d    # 0x161a0
decl %r15d
movq %r14, %rdi
callq 0x8def
leaq 0x91d2(%rip), %rdi      # 0xc11e
leaq 0xe770(%rip), %rdx      # 0x116c3
xorl %ebp, %ebp
movl %r15d, %esi
movq %rax, %rcx
xorl %eax, %eax
callq 0x2100
movq %r13, %rbx
movq 0x20(%r13), %r13
movw $0x30, 0x1348e(%rip)    # 0x16400
movq 0x10(%r14), %r12
movl $0x0, %r15d
testq %r12, %r12
je 0x306a
xorl %r14d, %r14d
xorl %ebp, %ebp
movq %r12, %rdi
callq 0x8d75
testb %al, %al
je 0x3057
movq 0x18(%r12), %rax
testq %rax, %rax
je 0x302f
incl %ebp
movl $0x3e, %edx
movl %ebp, %r15d
cmpq %r13, %rax
je 0x2fbf
movl $0x20, %edx
movl %r14d, %r15d
movl 0x131db(%rip), %esi     # 0x161a0
leaq 0x9161(%rip), %rdi      # 0xc12d
xorl %eax, %eax
callq 0x2100
movq %r12, %rdi
callq 0x8def
leaq 0x914f(%rip), %rdi      # 0xc131
movl %ebp, %esi
movq %rax, %rdx
xorl %eax, %eax
callq 0x2100
movq 0x18(%r12), %rax
movq 0x8(%rax), %rsi
testq %rsi, %rsi
je 0x300a
leaq 0x9136(%rip), %rdi      # 0xc139
xorl %eax, %eax
callq 0x2100
movq 0x18(%r12), %rax
testb $0x8, 0x45(%rax)
je 0x3023
leaq 0x9123(%rip), %rdi      # 0xc13f
xorl %eax, %eax
callq 0x2100
movl $0xa, %edi
callq 0x2050
jmp 0x305a
movl 0x1316a(%rip), %r15d    # 0x161a0
movq %r12, %rdi
callq 0x8def
leaq 0x90e0(%rip), %rdi      # 0xc125
movl %r15d, %esi
movl $0x2a, %edx
movq %rax, %rcx
xorl %eax, %eax
callq 0x2100
movl %r14d, %r15d
movq (%r12), %r12
movl %r15d, %r14d
testq %r12, %r12
jne 0x2f8a
movl 0x13130(%rip), %esi     # 0x161a0
decl %esi
leaq 0x90cd(%rip), %rdi      # 0xc146
leaq 0xe643(%rip), %rdx      # 0x116c3
xorl %eax, %eax
callq 0x2100
cmpl $0x1, %ebp
jne 0x30a8
leaq 0x91c1(%rip), %rdi      # 0xc254
callq 0x20a0
movl $0x1, %r15d
movq %rbx, %r13
movq 0x8(%rsp), %r14
jmp 0x3110
leaq 0x90a1(%rip), %rdi      # 0xc150
movl %ebp, %esi
xorl %eax, %eax
callq 0x2100
movq %rbx, %r13
cmpq $0x0, 0x10(%rbx)
je 0x30cc
movl $0x3f, %edi
callq 0x2050
leaq 0x9083(%rip), %rdi      # 0xc156
xorl %eax, %eax
callq 0x2100
movl 0x13310(%rip), %eax     # 0x163f0
cmpq $0x7, %rax
movq 0x8(%rsp), %r14
ja 0x31f3
leaq 0x8f5e(%rip), %rcx      # 0xc054
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
leaq 0xea4c(%rip), %rdi      # 0x11b52
movl %r15d, %esi
xorl %eax, %eax
callq 0x2100
movq 0x10(%r14), %r12
testq %r12, %r12
je 0x2f33
cmpq $0x0, 0x18(%r12)
je 0x3136
movq %r12, %rdi
callq 0x8d75
testb %al, %al
je 0x3136
decl %r15d
je 0x313c
movq (%r12), %r12
jmp 0x3114
leaq 0x132bd(%rip), %r15     # 0x16400
movq %r15, %rdi
callq 0x20e0
cmpb $0x3f, -0x1(%rax,%r15)
jne 0x322c
addq $0x18, %r12
jmp 0x31b2
btl $0xb, 0x14(%rsp)
jae 0x30ff
callq 0x332f
movq 0x12e5f(%rip), %rax     # 0x15fd0
movq (%rax), %rdi
callq 0x2230
movq 0x12e58(%rip), %rax     # 0x15fd8
movq (%rax), %rdx
leaq 0x13276(%rip), %rdi     # 0x16400
movl $0x80, %esi
callq 0x2170
callq 0x3589
movzbl 0x13260(%rip), %eax     # 0x16400
testl %eax, %eax
je 0x3110
movq 0x20(%rsp), %r12
cmpl $0x3f, %eax
jne 0x31fb
movq (%r12), %rax
movq 0x10(%rax), %rax
testq %rax, %rax
leaq 0x12fec(%rip), %rsi     # 0x161b0
cmovneq %rax, %rsi
leaq 0xe4fb(%rip), %rdi      # 0x116ca
xorl %eax, %eax
callq 0x2100
jmp 0x2f33
callq 0x2210
movslq %ebp, %rcx
cqto
idivq %rcx
movq %rdx, %r15
incl %r15d
jmp 0x30ff
movl %ebp, %r15d
jmp 0x3110
movsbq %al, %r14
callq 0x2300
movq (%rax), %rax
testb $0x8, 0x1(%rax,%r14,2)
movq 0x8(%rsp), %r14
je 0x2f33
leaq 0x131e1(%rip), %rdi     # 0x16400
callq 0x22a0
movl %eax, %r15d
jmp 0x3110
movq 0x18(%r12), %rdi
movl $0x2, %esi
callq 0xaed3
movq 0x10(%r12), %rdi
testq %rdi, %rdi
je 0x3258
addl $0x2, 0x12f54(%rip)     # 0x161a0
callq 0x2dc5
addl $-0x2, 0x12f48(%rip)    # 0x161a0
movq 0x18(%rsp), %r14
cmpl $0x1, 0x28(%r14)
jne 0x3292
addl $0x2, 0x12f35(%rip)     # 0x161a0
movq 0x8(%rsp), %rax
movq 0x10(%rax), %rbx
testq %rbx, %rbx
je 0x3286
movq %rbx, %rdi
callq 0x2dc5
movq (%rbx), %rbx
jmp 0x3274
testq %r14, %r14
je 0x3292
addl $-0x2, 0x12f0e(%rip)    # 0x161a0
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq