// File: /workspace/github_c_makefile_star2_O3/jonof[P]jftekwar/jfbuild/src/startgtk_editor.c
// Function: startwin_open
int startwin_open(void)
{
    if (!gtkenabled) return 0;
    if (startwin) return 1;

    startwin = create_window();
    if (!startwin) {
        return -1;
    }

    quiteventonclose = TRUE;
    setup_messages_mode(TRUE);
    gtk_widget_show_all(GTK_WIDGET(startwin));
    return 0;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x10, %rsp
leaq 0x6b0e78(%rip), %rcx    # 0x6cf074
xorl %eax, %eax
cmpl $0x0, (%rcx)
je 0x1e4fd
movl $0x1, %eax
cmpq $0x0, 0x15fdfc(%rip)    # 0x17e010
jne 0x1e4fd
movq $0x0, 0x8(%rsp)
callq 0x6080
testq %rax, %rax
je 0x1e4ed
movq %rax, %rbx
leaq 0x5798d(%rip), %rsi     # 0x75bc8
leaq 0x8(%rsp), %rdx
movq %rax, %rdi
callq 0x67c0
testl %eax, %eax
je 0x1e4c1
leaq 0x579aa(%rip), %rsi     # 0x75c01
leaq 0x579ac(%rip), %rdx     # 0x75c0a
leaq 0x6be(%rip), %rcx       # 0x1e923
movq %rbx, %rdi
callq 0x1e8cd
movq %rax, %r15
callq 0x6c90
movq %rax, %r14
movq %r15, %rdi
movq %rax, %rsi
callq 0x6140
testq %rax, %rax
je 0x1e4d8
movq %rax, %r15
leaq 0x57981(%rip), %rsi     # 0x75c17
movq %rbx, %rdi
callq 0x6820
movq %rax, %r12
callq 0x68e0
movq %r12, %rdi
movq %rax, %rsi
callq 0x6140
testq %rax, %rax
je 0x1e2c5
leaq 0x57962(%rip), %rsi     # 0x75c1f
movq %rax, %rdi
callq 0x63a0
leaq 0x57960(%rip), %rsi     # 0x75c2c
leaq 0x57965(%rip), %r12     # 0x75c38
leaq 0x678(%rip), %rcx       # 0x1e952
movq %rbx, %rdi
movq %r12, %rdx
callq 0x1e8cd
movq %rax, %rdi
movq %r14, %rsi
callq 0x6140
movq %rax, 0x15fd29(%rip)    # 0x17e020
leaq 0x57942(%rip), %rsi     # 0x75c40
leaq 0x7b7(%rip), %rcx       # 0x1eabc
movq %rbx, %rdi
movq %r12, %rdx
callq 0x1e8cd
movq %rax, %rdi
movq %r14, %rsi
callq 0x6140
movq %rax, 0x15fd06(%rip)    # 0x17e028
leaq 0x57924(%rip), %rsi     # 0x75c4d
movq %rbx, %rdi
callq 0x6820
movq %rax, %rdi
movq %r14, %rsi
callq 0x6140
movq %rax, 0x15fced(%rip)    # 0x17e030
leaq 0x57908(%rip), %rsi     # 0x75c52
movq %rbx, %rdi
callq 0x6820
movq %rax, %rdi
movq %r14, %rsi
callq 0x6140
movq %rax, 0x15fcd4(%rip)    # 0x17e038
leaq 0x578f1(%rip), %rsi     # 0x75c5c
movq %rbx, %rdi
callq 0x6820
movq %rax, %rdi
movq %r14, %rsi
callq 0x6140
movq %rax, 0x15fcbb(%rip)    # 0x17e040
leaq 0x578e0(%rip), %rsi     # 0x75c6c
movq %rbx, %rdi
callq 0x6820
movq %rax, %rdi
movq %r14, %rsi
callq 0x6140
movq %rax, 0x15fca2(%rip)    # 0x17e048
leaq 0x578cc(%rip), %rsi     # 0x75c79
movq %rbx, %rdi
callq 0x6820
movq %rax, %rdi
movq %r14, %rsi
callq 0x6140
movq %rax, 0x15fc89(%rip)    # 0x17e050
leaq 0x578b8(%rip), %rsi     # 0x75c86
movq %rbx, %rdi
callq 0x6820
movq %rax, %r13
callq 0x6570
movq %rax, %r12
movq %r13, %rdi
movq %rax, %rsi
callq 0x6140
movq %rax, 0x15fc65(%rip)    # 0x17e058
leaq 0x57898(%rip), %rsi     # 0x75c92
movq %rbx, %rdi
callq 0x6820
movq %rax, %rdi
movq %r14, %rsi
callq 0x6140
movq %rax, 0x15fc4c(%rip)    # 0x17e060
leaq 0x57884(%rip), %rsi     # 0x75c9f
movq %rbx, %rdi
callq 0x6820
movq %rax, %rdi
movq %r12, %rsi
callq 0x6140
movq %rax, 0x15fc33(%rip)    # 0x17e068
leaq 0x5786f(%rip), %rsi     # 0x75cab
leaq 0x57878(%rip), %rdx     # 0x75cbb
leaq 0x69c(%rip), %rcx       # 0x1eae6
movq %rbx, %rdi
callq 0x1e8cd
movq %rax, %rdi
movq %r14, %rsi
callq 0x6140
movq %rax, 0x15fc0c(%rip)    # 0x17e070
movl $0x50, %esi
movq %rbx, %rdi
callq 0x6140
movq %rax, %rdi
callq 0x6aa0
callq 0x6c40
movq %r15, %rdi
movq %rax, %rsi
callq 0x6140
movq %rax, 0x15fb80(%rip)    # 0x17e010
testq %rax, %rax
je 0x1e4f8
movb $0x1, 0x15fb7c(%rip)    # 0x17e018
movl $0x1, %edi
callq 0x1e50b
movq 0x15fb63(%rip), %rdi    # 0x17e010
movq %r14, %rsi
callq 0x6140
movq %rax, %rdi
callq 0x6a00
xorl %eax, %eax
jmp 0x1e4fd
movq 0x8(%rsp), %rax
movq 0x8(%rax), %rsi
leaq 0x57707(%rip), %rdi     # 0x75bd8
xorl %eax, %eax
callq 0x25221
movl $0x50, %esi
movq %rbx, %rdi
callq 0x6140
movq %rax, %rdi
callq 0x6aa0
movq $0x0, 0x15fb18(%rip) # 0x17e010
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
addq $0x10, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq