// File: /workspace/github_c_makefile_star2_O0/sTeeLM[P]dwipe/gui.c
// Function: dwipe_gui_options
void dwipe_gui_options( void )
{
/**
 * Updates the options window.
 *
 * @modifies  options_window
 *
 */

	/* Erase the window. */
	werase( options_window );

	mvwprintw( options_window, DWIPE_GUI_OPTIONS_ENTROPY_Y, DWIPE_GUI_OPTIONS_ENTROPY_X, \
	  "Entropy: Linux Kernel (urandom)" );

	mvwprintw( options_window, DWIPE_GUI_OPTIONS_PRNG_Y,    DWIPE_GUI_OPTIONS_PRNG_X, \
	  "PRNG:    %s", dwipe_options.prng->label );

	mvwprintw( options_window, DWIPE_GUI_OPTIONS_METHOD_Y,  DWIPE_GUI_OPTIONS_METHOD_X, \
	  "Method:  %s", dwipe_method_label( dwipe_options.method) );

	mvwprintw( options_window, DWIPE_GUI_OPTIONS_VERIFY_Y,  DWIPE_GUI_OPTIONS_VERIFY_X,  "Verify:  " );

	switch( dwipe_options.verify )
	{
		case DWIPE_VERIFY_NONE:
			wprintw( options_window, "Off" );
			break;

		case DWIPE_VERIFY_LAST:
			wprintw( options_window, "Last Pass" );
			break;

		case DWIPE_VERIFY_ALL:
			wprintw( options_window, "All Passes" );
			break;

		default:
			wprintw( options_window, "Unknown %i", dwipe_options.verify );
			
	} /* switch verify */


	mvwprintw( options_window, DWIPE_GUI_OPTIONS_ROUNDS_Y,  DWIPE_GUI_OPTIONS_ROUNDS_X,  "Rounds:  " );
	wprintw( options_window, "%i", dwipe_options.rounds );


	/* Add a border. */
	box( options_window, 0, 0 );

	/* Add a title. */
	dwipe_gui_title( options_window, options_title );

	/* Refresh the window. */
	wrefresh( options_window );

}

// Assembly:
subq $0x38, %rsp
movq 0xd6cd(%rip), %rdi      # 0x14808
callq 0x3050
movq 0xd6c1(%rip), %rdi      # 0x14808
leaq 0x906e(%rip), %rcx      # 0x101bc
xorl %eax, %eax
movb %al, 0x27(%rsp)
movl $0x1, %edx
movl %edx, 0x20(%rsp)
movl %edx, %esi
callq 0x31c0
movl 0x20(%rsp), %edx
movb 0x27(%rsp), %al
movq 0xd695(%rip), %rdi      # 0x14808
leaq 0xd6b6(%rip), %rcx      # 0x14830
movq %rcx, 0x28(%rsp)
movq 0x18(%rcx), %rcx
movq (%rcx), %r8
leaq 0x904f(%rip), %rcx      # 0x101dc
movl $0x2, %esi
callq 0x31c0
movq 0x28(%rsp), %rax
movq 0xd665(%rip), %rcx      # 0x14808
movq %rcx, 0x18(%rsp)
movq 0x10(%rax), %rdi
callq 0xb1c0
movq 0x18(%rsp), %rdi
movl 0x20(%rsp), %edx
movq %rax, %r8
movb 0x27(%rsp), %al
leaq 0x9020(%rip), %rcx      # 0x101e8
movl $0x3, %esi
callq 0x31c0
movl 0x20(%rsp), %edx
movb 0x27(%rsp), %al
movq 0xd627(%rip), %rdi      # 0x14808
leaq 0x900c(%rip), %rcx      # 0x101f4
movl $0x4, %esi
callq 0x31c0
movq 0x28(%rsp), %rax
movl 0x28(%rax), %eax
movl %eax, 0x34(%rsp)
testl %eax, %eax
je 0x721a
jmp 0x7204
movl 0x34(%rsp), %eax
subl $0x1, %eax
je 0x7231
jmp 0x720f
movl 0x34(%rsp), %eax
subl $0x2, %eax
je 0x7248
jmp 0x725f
movq 0xd5e7(%rip), %rdi      # 0x14808
leaq 0x8fd6(%rip), %rsi      # 0x101fe
movb $0x0, %al
callq 0x3410
jmp 0x727e
movq 0xd5d0(%rip), %rdi      # 0x14808
leaq 0x8fc3(%rip), %rsi      # 0x10202
movb $0x0, %al
callq 0x3410
jmp 0x727e
movq 0xd5b9(%rip), %rdi      # 0x14808
leaq 0x8fb6(%rip), %rsi      # 0x1020c
movb $0x0, %al
callq 0x3410
jmp 0x727e
movq 0xd5a2(%rip), %rdi      # 0x14808
leaq 0xd5c3(%rip), %rax      # 0x14830
movl 0x28(%rax), %edx
leaq 0x8fa0(%rip), %rsi      # 0x10217
movb $0x0, %al
callq 0x3410
movq 0xd583(%rip), %rdi      # 0x14808
movl $0x5, %esi
movl $0x1, %edx
leaq 0x8f8c(%rip), %rcx      # 0x10222
movb $0x0, %al
callq 0x31c0
movq 0xd564(%rip), %rdi      # 0x14808
leaq 0xd585(%rip), %rax      # 0x14830
movl 0x20(%rax), %edx
leaq 0xabb8(%rip), %rsi      # 0x11e6d
movb $0x0, %al
callq 0x3410
movq 0xd545(%rip), %rdi      # 0x14808
xorl %r9d, %r9d
movl %r9d, %esi
movl %r9d, %edx
movl %r9d, %ecx
movl %r9d, %r8d
movl $0x0, (%rsp)
movl $0x0, 0x8(%rsp)
movl $0x0, 0x10(%rsp)
callq 0x3100
movq 0xd513(%rip), %rdi      # 0x14808
movq 0xd344(%rip), %rsi      # 0x14640
callq 0x5a80
movq 0xd500(%rip), %rdi      # 0x14808
callq 0x31b0
addq $0x38, %rsp
retq
nopw %cs:(%rax,%rax)