// File: /workspace/github_c_makefile_star2_O2/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 %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
leaq 0x6ac3de(%rip), %rax    # 0x6c8074
xorl %ebx, %ebx
cmpl $0x0, (%rax)
je 0x1bf81
cmpq $0x0, 0x15b367(%rip)    # 0x177010
je 0x1bcb2
pushq $0x1
jmp 0x1bf80
andq $0x0, (%rsp)
callq 0x6080
testq %rax, %rax
je 0x1bf76
movq %rax, %r14
leaq 0x4ee39(%rip), %rsi     # 0x6ab08
movq %rsp, %rdx
movq %rax, %rdi
callq 0x67c0
testl %eax, %eax
je 0x1bf4d
leaq 0x4ee58(%rip), %rsi     # 0x6ab41
leaq 0x4ee5a(%rip), %rdx     # 0x6ab4a
leaq 0x67a(%rip), %rcx       # 0x1c371
movq %r14, %rdi
callq 0x1c31b
movq %rax, %r12
callq 0x6c90
movq %rax, %r15
movq %r12, %rdi
movq %rax, %rsi
callq 0x6140
testq %rax, %rax
je 0x1bf63
movq %rax, %r12
leaq 0x4ee2f(%rip), %rsi     # 0x6ab57
movq %r14, %rdi
callq 0x6820
movq %rax, %r13
callq 0x68e0
movq %r13, %rdi
movq %rax, %rsi
callq 0x6140
testq %rax, %rax
je 0x1bd57
leaq 0x4ee10(%rip), %rsi     # 0x6ab5f
movq %rax, %rdi
callq 0x63a0
leaq 0x4ee0e(%rip), %rsi     # 0x6ab6c
leaq 0x4ee13(%rip), %r13     # 0x6ab78
leaq 0x62f(%rip), %rcx       # 0x1c39b
movq %r14, %rdi
movq %r13, %rdx
callq 0x1c31b
movq %rax, %rdi
movq %r15, %rsi
callq 0x6140
movq %rax, 0x15b297(%rip)    # 0x177020
leaq 0x4edf0(%rip), %rsi     # 0x6ab80
leaq 0x763(%rip), %rcx       # 0x1c4fa
movq %r14, %rdi
movq %r13, %rdx
callq 0x1c31b
movq %rax, %rdi
movq %r15, %rsi
callq 0x6140
movq %rax, 0x15b274(%rip)    # 0x177028
leaq 0x4edd2(%rip), %rsi     # 0x6ab8d
movq %r14, %rdi
callq 0x6820
movq %rax, %rdi
movq %r15, %rsi
callq 0x6140
movq %rax, 0x15b25b(%rip)    # 0x177030
leaq 0x4edb6(%rip), %rsi     # 0x6ab92
movq %r14, %rdi
callq 0x6820
movq %rax, %rdi
movq %r15, %rsi
callq 0x6140
movq %rax, 0x15b242(%rip)    # 0x177038
leaq 0x4ed9f(%rip), %rsi     # 0x6ab9c
movq %r14, %rdi
callq 0x6820
movq %rax, %rdi
movq %r15, %rsi
callq 0x6140
movq %rax, 0x15b229(%rip)    # 0x177040
leaq 0x4ed8e(%rip), %rsi     # 0x6abac
movq %r14, %rdi
callq 0x6820
movq %rax, %rdi
movq %r15, %rsi
callq 0x6140
movq %rax, 0x15b210(%rip)    # 0x177048
leaq 0x4ed7a(%rip), %rsi     # 0x6abb9
movq %r14, %rdi
callq 0x6820
movq %rax, %rdi
movq %r15, %rsi
callq 0x6140
movq %rax, 0x15b1f7(%rip)    # 0x177050
leaq 0x4ed66(%rip), %rsi     # 0x6abc6
movq %r14, %rdi
callq 0x6820
movq %rax, %rbp
callq 0x6570
movq %rax, %r13
movq %rbp, %rdi
movq %rax, %rsi
callq 0x6140
movq %rax, 0x15b1d3(%rip)    # 0x177058
leaq 0x4ed46(%rip), %rsi     # 0x6abd2
movq %r14, %rdi
callq 0x6820
movq %rax, %rdi
movq %r15, %rsi
callq 0x6140
movq %rax, 0x15b1ba(%rip)    # 0x177060
leaq 0x4ed32(%rip), %rsi     # 0x6abdf
movq %r14, %rdi
callq 0x6820
movq %rax, %rdi
movq %r13, %rsi
callq 0x6140
movq %rax, 0x15b1a1(%rip)    # 0x177068
leaq 0x4ed1d(%rip), %rsi     # 0x6abeb
leaq 0x4ed26(%rip), %rdx     # 0x6abfb
leaq 0x645(%rip), %rcx       # 0x1c521
movq %r14, %rdi
callq 0x1c31b
movq %rax, %rdi
movq %r15, %rsi
callq 0x6140
movq %rax, 0x15b17a(%rip)    # 0x177070
pushq $0x50
popq %rsi
movq %r14, %rdi
callq 0x6140
movq %rax, %rdi
callq 0x6aa0
callq 0x6c40
movq %r12, %rdi
movq %rax, %rsi
callq 0x6140
movq %rax, 0x15b0f0(%rip)    # 0x177010
testq %rax, %rax
je 0x1bf7e
movb $0x1, 0x15b0ec(%rip)    # 0x177018
pushq $0x1
popq %rdi
callq 0x1bf92
movq 0x15b0d5(%rip), %rdi    # 0x177010
movq %r15, %rsi
callq 0x6140
movq %rax, %rdi
callq 0x6a00
jmp 0x1bf81
movq (%rsp), %rax
movq 0x8(%rax), %rsi
leaq 0x4ebbc(%rip), %rdi     # 0x6ab18
xorl %eax, %eax
callq 0x22427
pushq $0x50
popq %rsi
movq %r14, %rdi
callq 0x6140
movq %rax, %rdi
callq 0x6aa0
andq $0x0, 0x15b092(%rip)    # 0x177010
pushq $-0x1
popq %rbx
movl %ebx, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq