// File: /workspace/github_c_makefile_star2_O0/kaugm[P]mmwm/mmwm.c
// Function: print_window_type
static void print_window_type(xcb_window_t w, xcb_atom_t a)
{
    char *s;

    if      (a == ewmh->_NET_WM_WINDOW_TYPE_DESKTOP)        s = "_NET_WM_WINDOW_TYPE_DESKTOP";
    else if (a == ewmh->_NET_WM_WINDOW_TYPE_DOCK)           s = "_NET_WM_WINDOW_TYPE_DOCK";
    else if (a == ewmh->_NET_WM_WINDOW_TYPE_TOOLBAR)        s = "_NET_WM_WINDOW_TYPE_TOOLBAR";
    else if (a == ewmh->_NET_WM_WINDOW_TYPE_MENU)           s = "_NET_WM_WINDOW_TYPE_MENU";
    else if (a == ewmh->_NET_WM_WINDOW_TYPE_UTILITY)        s = "_NET_WM_WINDOW_TYPE_UTILITY";
    else if (a == ewmh->_NET_WM_WINDOW_TYPE_SPLASH)         s = "_NET_WM_WINDOW_TYPE_SPLASH";
    else if (a == ewmh->_NET_WM_WINDOW_TYPE_DIALOG)         s = "_NET_WM_WINDOW_TYPE_DIALOG";
    else if (a == ewmh->_NET_WM_WINDOW_TYPE_DROPDOWN_MENU)  s = "_NET_WM_WINDOW_TYPE_DROPDOWN_MENU";
    else if (a == ewmh->_NET_WM_WINDOW_TYPE_POPUP_MENU)     s = "_NET_WM_WINDOW_TYPE_POPUP_MENU";
    else if (a == ewmh->_NET_WM_WINDOW_TYPE_TOOLTIP)        s = "_NET_WM_WINDOW_TYPE_TOOLTIP";
    else if (a == ewmh->_NET_WM_WINDOW_TYPE_NOTIFICATION)   s = "_NET_WM_WINDOW_TYPE_NOTIFICATION";
    else if (a == ewmh->_NET_WM_WINDOW_TYPE_COMBO)          s = "_NET_WM_WINDOW_TYPE_COMBO";
    else if (a == ewmh->_NET_WM_WINDOW_TYPE_DND)            s = "_NET_WM_WINDOW_TYPE_DND";
    else if (a == ewmh->_NET_WM_WINDOW_TYPE_NORMAL)         s = "_NET_WM_WINDOW_TYPE_NORMAL";
    else s = "undefined window type";

    if (w && s) {
        DEBUGP("window %x has type %s\n", w, s);
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
movl %edi, -0x4(%rbp)
movl %esi, -0x8(%rbp)
movl -0x8(%rbp), %eax
movq 0x44b4(%rip), %rcx      # 0xd7b8
cmpl 0xd0(%rcx), %eax
jne 0x931c
leaq 0xf94(%rip), %rax       # 0xa2a7
movq %rax, -0x10(%rbp)
jmp 0x94ef
movl -0x8(%rbp), %eax
movq 0x4492(%rip), %rcx      # 0xd7b8
cmpl 0xd4(%rcx), %eax
jne 0x933e
leaq 0xf8e(%rip), %rax       # 0xa2c3
movq %rax, -0x10(%rbp)
jmp 0x94ed
movl -0x8(%rbp), %eax
movq 0x4470(%rip), %rcx      # 0xd7b8
cmpl 0xd8(%rcx), %eax
jne 0x9360
leaq 0xf85(%rip), %rax       # 0xa2dc
movq %rax, -0x10(%rbp)
jmp 0x94eb
movl -0x8(%rbp), %eax
movq 0x444e(%rip), %rcx      # 0xd7b8
cmpl 0xdc(%rcx), %eax
jne 0x9382
leaq 0xf7f(%rip), %rax       # 0xa2f8
movq %rax, -0x10(%rbp)
jmp 0x94e9
movl -0x8(%rbp), %eax
movq 0x442c(%rip), %rcx      # 0xd7b8
cmpl 0xe0(%rcx), %eax
jne 0x93a4
leaq 0xf76(%rip), %rax       # 0xa311
movq %rax, -0x10(%rbp)
jmp 0x94e7
movl -0x8(%rbp), %eax
movq 0x440a(%rip), %rcx      # 0xd7b8
cmpl 0xe4(%rcx), %eax
jne 0x93c6
leaq 0xf70(%rip), %rax       # 0xa32d
movq %rax, -0x10(%rbp)
jmp 0x94e5
movl -0x8(%rbp), %eax
movq 0x43e8(%rip), %rcx      # 0xd7b8
cmpl 0xe8(%rcx), %eax
jne 0x93e8
leaq 0xf69(%rip), %rax       # 0xa348
movq %rax, -0x10(%rbp)
jmp 0x94e3
movl -0x8(%rbp), %eax
movq 0x43c6(%rip), %rcx      # 0xd7b8
cmpl 0xec(%rcx), %eax
jne 0x940a
leaq 0xf62(%rip), %rax       # 0xa363
movq %rax, -0x10(%rbp)
jmp 0x94e1
movl -0x8(%rbp), %eax
movq 0x43a4(%rip), %rcx      # 0xd7b8
cmpl 0xf0(%rcx), %eax
jne 0x942c
leaq 0xf62(%rip), %rax       # 0xa385
movq %rax, -0x10(%rbp)
jmp 0x94df
movl -0x8(%rbp), %eax
movq 0x4382(%rip), %rcx      # 0xd7b8
cmpl 0xf4(%rcx), %eax
jne 0x944e
leaq 0xf5f(%rip), %rax       # 0xa3a4
movq %rax, -0x10(%rbp)
jmp 0x94dd
movl -0x8(%rbp), %eax
movq 0x4360(%rip), %rcx      # 0xd7b8
cmpl 0xf8(%rcx), %eax
jne 0x946d
leaq 0xf59(%rip), %rax       # 0xa3c0
movq %rax, -0x10(%rbp)
jmp 0x94db
movl -0x8(%rbp), %eax
movq 0x4341(%rip), %rcx      # 0xd7b8
cmpl 0xfc(%rcx), %eax
jne 0x948c
leaq 0xf5b(%rip), %rax       # 0xa3e1
movq %rax, -0x10(%rbp)
jmp 0x94d9
movl -0x8(%rbp), %eax
movq 0x4322(%rip), %rcx      # 0xd7b8
cmpl 0x100(%rcx), %eax
jne 0x94ab
leaq 0xf56(%rip), %rax       # 0xa3fb
movq %rax, -0x10(%rbp)
jmp 0x94d7
movl -0x8(%rbp), %eax
movq 0x4303(%rip), %rcx      # 0xd7b8
cmpl 0x104(%rcx), %eax
jne 0x94ca
leaq 0xf4f(%rip), %rax       # 0xa413
movq %rax, -0x10(%rbp)
jmp 0x94d5
leaq 0xf5d(%rip), %rax       # 0xa42e
movq %rax, -0x10(%rbp)
jmp 0x94d7
jmp 0x94d9
jmp 0x94db
jmp 0x94dd
jmp 0x94df
jmp 0x94e1
jmp 0x94e3
jmp 0x94e5
jmp 0x94e7
jmp 0x94e9
jmp 0x94eb
jmp 0x94ed
jmp 0x94ef
cmpl $0x0, -0x4(%rbp)
je 0x94fe
cmpq $0x0, -0x10(%rbp)
je 0x94fe
jmp 0x94fe
popq %rbp
retq