// File: /workspace/github_c_makefile_star2_O0/jonof[P]jftekwar/src/startgtk_game.c
// Function: setup_config_mode
static void setup_config_mode(void)
{
    gtk_notebook_set_current_page(GTK_NOTEBOOK(controls.tabs), TAB_CONFIG);

    // Enable all the controls on the Configuration page.
    gtk_container_foreach(GTK_CONTAINER(controls.configbox),
            foreach_gtk_widget_set_sensitive, (gpointer)TRUE);
    gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(controls.alwaysshowcheck), settings->forcesetup);
    gtk_widget_set_sensitive(controls.alwaysshowcheck, TRUE);

    gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(controls.fullscreencheck), settings->fullscreen);
    gtk_widget_set_sensitive(controls.fullscreencheck, TRUE);

    populate_video_modes(TRUE);
    gtk_widget_set_sensitive(controls.vmode3dcombo, TRUE);

    gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(controls.usemousecheck), settings->usemouse);
    gtk_widget_set_sensitive(controls.usemousecheck, TRUE);
    gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(controls.usejoystickcheck), settings->usejoy);
    gtk_widget_set_sensitive(controls.usejoystickcheck, TRUE);

    populate_sound_quality(TRUE);
    gtk_widget_set_sensitive(controls.soundqualitycombo, TRUE);

    gtk_widget_set_sensitive(controls.chooseimportbutton, TRUE);
    gtk_widget_set_sensitive(controls.importinfobutton, TRUE);

    gtk_widget_set_sensitive(controls.cancelbutton, TRUE);
    gtk_widget_set_sensitive(controls.startbutton, TRUE);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq 0x32dd61(%rip), %rax    # 0x377e40
movq %rax, -0x30(%rbp)
callq 0x8ee0
movq -0x30(%rbp), %rdi
movq %rax, %rsi
callq 0x8150
movq %rax, %rdi
xorl %esi, %esi
callq 0x9160
movq 0x32dd43(%rip), %rax    # 0x377e48
movq %rax, -0x28(%rbp)
callq 0x8ad0
movq -0x28(%rbp), %rdi
movq %rax, %rsi
callq 0x8150
movq %rax, %rdi
leaq 0xd6c(%rip), %rsi       # 0x4ae90
movl $0x1, %edx
callq 0x8af0
movq 0x32dd1b(%rip), %rax    # 0x377e50
movq %rax, -0x20(%rbp)
callq 0x9020
movq -0x20(%rbp), %rdi
movq %rax, %rsi
callq 0x8150
movq %rax, %rdi
movq 0x32dd6c(%rip), %rax    # 0x377ec0
movl 0x10(%rax), %esi
callq 0x9180
movq 0x32dced(%rip), %rdi    # 0x377e50
movl $0x1, %esi
callq 0x90d0
movq 0x32dcfc(%rip), %rax    # 0x377e70
movq %rax, -0x18(%rbp)
callq 0x9020
movq -0x18(%rbp), %rdi
movq %rax, %rsi
callq 0x8150
movq %rax, %rdi
movq 0x32dd2d(%rip), %rax    # 0x377ec0
movl (%rax), %esi
callq 0x9180
movq 0x32dccf(%rip), %rdi    # 0x377e70
movl $0x1, %esi
callq 0x90d0
movl $0x1, %edi
callq 0x4aa10
movq 0x32dca4(%rip), %rdi    # 0x377e60
movl $0x1, %esi
callq 0x90d0
movq 0x32dcab(%rip), %rax    # 0x377e78
movq %rax, -0x10(%rbp)
callq 0x9020
movq -0x10(%rbp), %rdi
movq %rax, %rsi
callq 0x8150
movq %rax, %rdi
movq 0x32dcd4(%rip), %rax    # 0x377ec0
movl 0x14(%rax), %esi
callq 0x9180
movq 0x32dc7d(%rip), %rdi    # 0x377e78
movl $0x1, %esi
callq 0x90d0
movq 0x32dc74(%rip), %rax    # 0x377e80
movq %rax, -0x8(%rbp)
callq 0x9020
movq -0x8(%rbp), %rdi
movq %rax, %rsi
callq 0x8150
movq %rax, %rdi
movq 0x32dc95(%rip), %rax    # 0x377ec0
movl 0x18(%rax), %esi
callq 0x9180
movq 0x32dc46(%rip), %rdi    # 0x377e80
movl $0x1, %esi
callq 0x90d0
movl $0x1, %edi
callq 0x4aec0
movq 0x32dc33(%rip), %rdi    # 0x377e88
movl $0x1, %esi
callq 0x90d0
movq 0x32dc32(%rip), %rdi    # 0x377e98
movl $0x1, %esi
callq 0x90d0
movq 0x32dc29(%rip), %rdi    # 0x377ea0
movl $0x1, %esi
callq 0x90d0
movq 0x32dbb0(%rip), %rdi    # 0x377e38
movl $0x1, %esi
callq 0x90d0
movq 0x32db97(%rip), %rdi    # 0x377e30
movl $0x1, %esi
callq 0x90d0
addq $0x30, %rsp
popq %rbp
retq
nopl (%rax)