// File: /workspace/github_c_makefile_star2_O1/Cloudef[P]dwm-fork/dwm.c
// Function: main
int
main(int argc, char *argv[]) {
   Bool autostart = True;
   if(argc == 2)
   {
      if(!strcmp("-v", argv[1]))
         die("dwm-fork - "VERSION"\n"COMMIT"\n");
      else if(!strcmp("-r", argv[1]))
         autostart = False;
   }
   else if(argc != 1)
      die("usage: dwm [-v][-r]\n");
   if(!setlocale(LC_CTYPE, "") || !XSupportsLocale())
      fputs("warning: no locale support\n", stderr);
   if(!(dpy = XOpenDisplay(NULL)))
      die("dwm: cannot open display\n");
   checkotherwm();
   setup();
   scan();
   run(autostart);
   cleanup();
   XCloseDisplay(dpy);
   return 0;

}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x10e8, %rsp           # imm = 0x10E8
cmpl $0x1, %edi
je 0x5ac2
cmpl $0x2, %edi
jne 0x6423
movq 0x8(%rsi), %rbx
leaq 0x758d(%rip), %rdi      # 0xd028
movq %rbx, %rsi
callq 0x5520
testl %eax, %eax
je 0x642c
leaq 0x75d0(%rip), %rdi      # 0xd082
movq %rbx, %rsi
callq 0x5520
testl %eax, %eax
sete %bpl
jmp 0x5ac4
xorl %ebp, %ebp
leaq 0x79b7(%rip), %rsi      # 0xd482
xorl %edi, %edi
callq 0x56e0
testq %rax, %rax
je 0x63f3
callq 0x5280
testl %eax, %eax
je 0x63f3
xorl %edi, %edi
callq 0x5250
movq %rax, 0xd992(%rip)      # 0x13488
testq %rax, %rax
je 0x6411
movb $0x0, 0xdb52(%rip)      # 0x13658
leaq 0x9dc(%rip), %rdi       # 0x64e9
callq 0x5680
movq %rax, 0xdb47(%rip)      # 0x13660
movq 0xd968(%rip), %rdi      # 0x13488
movq 0xe8(%rdi), %rax
movslq 0xe0(%rdi), %rcx
shlq $0x7, %rcx
movq 0x10(%rax,%rcx), %rsi
movl $0x100000, %edx         # imm = 0x100000
callq 0x5490
movq 0xd940(%rip), %rdi      # 0x13488
xorl %esi, %esi
callq 0x54c0
cmpb $0x1, 0xdb02(%rip)      # 0x13658
je 0x641a
leaq 0x993(%rip), %rdi       # 0x64f6
callq 0x5680
movq 0xd919(%rip), %rdi      # 0x13488
xorl %esi, %esi
callq 0x54c0
callq 0x65c0
movq 0xd906(%rip), %rdi      # 0x13488
movslq 0xe0(%rdi), %rax
movl %eax, 0xdad9(%rip)      # 0x13668
movq 0xe8(%rdi), %rcx
shlq $0x7, %rax
movq 0x10(%rcx,%rax), %rax
movq %rax, 0xdaaa(%rip)      # 0x13650
leaq 0x20(%rsp), %rbx
movq $0x0, (%rbx)
leaq 0x83c7(%rip), %rsi      # 0xdf80
leaq 0xc(%rsp), %rcx
leaq 0xe0(%rsp), %r8
movq %rbx, %rdx
callq 0x5360
movq %rax, 0xda6b(%rip)      # 0x13640
cmpq $0x0, (%rbx)
je 0x5bf6
movl 0xc(%rsp), %edi
subl $0x1, %edi
movl %edi, 0xc(%rsp)
jae 0x63fd
movq 0x20(%rsp), %rdi
callq 0x5580
movq 0xda43(%rip), %rdi      # 0x13640
testq %rdi, %rdi
je 0x5c77
xorl %ebx, %ebx
movq %rbx, 0xda25(%rip)      # 0x13630
callq 0x5110
movq 0xda29(%rip), %rdi      # 0x13640
leaq 0x18(%rsp), %rsi
leaq 0x10(%rsp), %rdx
callq 0x5540
movl %eax, 0xc(%rsp)
movq %rbx, 0xd9ff(%rip)      # 0x13630
testl %eax, %eax
jle 0x5cd2
movq 0x18(%rsp), %rcx
addq $0x8, %rcx
xorl %edx, %edx
movl %edx, %esi
movl %ebx, %edx
movq -0x8(%rcx), %rdi
movl 0x58(%rdi), %ebx
cmpl %ebx, %edx
cmovgl %edx, %ebx
movl 0x5c(%rdi), %edx
cmpl %edx, %esi
cmovgl %esi, %edx
movq %rcx, 0x18(%rsp)
addq $0x8, %rcx
decl %eax
jne 0x5c44
movl %ebx, 0xd9c1(%rip)      # 0x13630
movl %edx, 0xd9bf(%rip)      # 0x13634
jmp 0x5cd2
movq 0xd80a(%rip), %rdi      # 0x13488
leaq 0x82fb(%rip), %rsi      # 0xdf80
callq 0x5530
movq %rax, 0xd9b7(%rip)      # 0x13648
testq %rax, %rax
jne 0x5cb9
movq 0xd7eb(%rip), %rdi      # 0x13488
leaq 0x755f(%rip), %rsi      # 0xd203
callq 0x5530
movq %rax, 0xd998(%rip)      # 0x13648
testq %rax, %rax
je 0x643a
movq 0xd988(%rip), %rax      # 0x13648
movl 0x58(%rax), %ecx
movl %ecx, 0xd967(%rip)      # 0x13630
movl 0x5c(%rax), %eax
movl %eax, 0xd962(%rip)      # 0x13634
movl 0xd958(%rip), %eax      # 0x13630
movl 0xd956(%rip), %ecx      # 0x13634
leal (%rcx,%rax), %edx
movl %edx, 0xd951(%rip)      # 0x13638
movq 0xd79a(%rip), %rsi      # 0x13488
movq 0xe8(%rsi), %rsi
movslq 0xd96c(%rip), %rdi      # 0x13668
shlq $0x7, %rdi
movl 0x18(%rsi,%rdi), %r8d
movl %r8d, 0xd960(%rip)      # 0x1366c
movl 0x1c(%rsi,%rdi), %esi
movl %esi, 0xd95a(%rip)      # 0x13670
xorl %r14d, %r14d
testl %edx, %edx
leal 0x2(%rcx,%rax), %eax
cmovsl %r14d, %eax
movl %eax, 0xd7d3(%rip)      # 0x134fc
movl %eax, 0xd945(%rip)      # 0x13674
callq 0x65fd
movq 0xd74d(%rip), %rdi      # 0x13488
leaq 0x73f0(%rip), %rsi      # 0xd132
xorl %edx, %edx
callq 0x55e0
movq %rax, 0xd750(%rip)      # 0x134a0
movq 0xd731(%rip), %rdi      # 0x13488
leaq 0x73e1(%rip), %rsi      # 0xd13f
xorl %edx, %edx
callq 0x55e0
movq %rax, 0xd73c(%rip)      # 0x134a8
movq 0xd715(%rip), %rdi      # 0x13488
leaq 0x73f7(%rip), %rsi      # 0xd171
xorl %edx, %edx
callq 0x55e0
movq %rax, 0xd728(%rip)      # 0x134b0
movq 0xd6f9(%rip), %rdi      # 0x13488
leaq 0x73ba(%rip), %rsi      # 0xd150
xorl %edx, %edx
callq 0x55e0
movq %rax, 0xd71c(%rip)      # 0x134c0
movq 0xd6dd(%rip), %rdi      # 0x13488
leaq 0x73ad(%rip), %rsi      # 0xd15f
xorl %edx, %edx
callq 0x55e0
movq %rax, 0xd708(%rip)      # 0x134c8
movq 0xd6c1(%rip), %rdi      # 0x13488
leaq 0x739e(%rip), %rsi      # 0xd16c
xorl %edx, %edx
callq 0x55e0
movq %rax, 0xd6f4(%rip)      # 0x134d0
movq 0xd6a5(%rip), %rdi      # 0x13488
leaq 0x7390(%rip), %rsi      # 0xd17a
xorl %edx, %edx
callq 0x55e0
movq %rax, 0xd6e0(%rip)      # 0x134d8
movq 0xd689(%rip), %rdi      # 0x13488
leaq 0x738d(%rip), %rsi      # 0xd193
xorl %edx, %edx
callq 0x55e0
movq %rax, 0xd6d4(%rip)      # 0x134e8
leaq 0x739b(%rip), %rdx      # 0xd1b6
leaq 0x20(%rsp), %rbx
movl $0x30, %esi
movq %rbx, %rdi
xorl %ecx, %ecx
xorl %eax, %eax
callq 0x50a0
movq 0xd650(%rip), %rdi      # 0x13488
movq %rbx, %rsi
xorl %edx, %edx
callq 0x55e0
movq %rax, 0xd697(%rip)      # 0x134e0
movq 0xd638(%rip), %rdi      # 0x13488
movl $0x44, %esi
callq 0x5060
movq %rax, 0xd81f(%rip)      # 0x13680
movq 0xd620(%rip), %rdi      # 0x13488
movl $0x78, %esi
callq 0x5060
movq %rax, 0xd817(%rip)      # 0x13690
movq 0xd608(%rip), %rdi      # 0x13488
movl $0x34, %esi
callq 0x5060
movq %rax, 0xd80f(%rip)      # 0x136a0
leaq 0x8118(%rip), %rbx      # 0xdfb0
leaq 0xd651(%rip), %r15      # 0x134f0
leaq (%rbx,%r14), %rdi
callq 0x67d1
movq %rax, 0x10(%r14,%r15)
leaq (%r14,%rbx), %rdi
addq $0x8, %rdi
callq 0x67d1
movq %rax, 0x18(%r14,%r15)
leaq (%r14,%rbx), %rdi
addq $0x10, %rdi
callq 0x67d1
movq %rax, 0x20(%r14,%r15)
addq $0x18, %r14
cmpq $0x120, %r14            # imm = 0x120
jne 0x5e9f
movq 0xd5a3(%rip), %rdi      # 0x13488
movq 0xd764(%rip), %rsi      # 0x13650
movq 0xe8(%rdi), %rax
movslq 0xd76e(%rip), %r8       # 0x13668
shlq $0x7, %r8
movl 0xd770(%rip), %ecx      # 0x13674
movl 0x18(%rax,%r8), %edx
movl 0x38(%rax,%r8), %r8d
callq 0x5710
movq %rax, 0xd706(%rip)      # 0x13620
movq 0xd567(%rip), %rdi      # 0x13488
movq 0xd728(%rip), %rsi      # 0x13650
xorl %edx, %edx
xorl %ecx, %ecx
callq 0x5470
movq %rax, 0xd6f0(%rip)      # 0x13628
movq 0xd549(%rip), %rdi      # 0x13488
movq %rax, %rsi
movl $0x1, %edx
xorl %ecx, %ecx
movl $0x1, %r8d
xorl %r9d, %r9d
callq 0x53f0
cmpq $0x0, 0xd6e1(%rip)      # 0x13640
jne 0x5f7f
movq 0xd520(%rip), %rdi      # 0x13488
movq 0xd6b9(%rip), %rsi      # 0x13628
movq 0xd6d2(%rip), %rax      # 0x13648
movq 0x8(%rax), %rdx
callq 0x51b0
callq 0x6824
callq 0x68f4
callq 0x695f
movq 0xd4f3(%rip), %rdi      # 0x13488
movq 0xd6b4(%rip), %rsi      # 0x13650
movq 0xd51d(%rip), %rdx      # 0x134c0
leaq 0xd516(%rip), %rax      # 0x134c0
movl $0x4, %ecx
movl $0x20, %r8d
xorl %r9d, %r9d
pushq $0x6
pushq %rax
callq 0x5660
addq $0x10, %rsp
movq 0xd6b5(%rip), %rax      # 0x13680
leaq 0xe0(%rsp), %rbx
movq %rax, 0x68(%rbx)
movq $0x5a0074, 0x48(%rbx)   # imm = 0x5A0074
movq 0xd4a2(%rip), %rdi      # 0x13488
movq 0xd663(%rip), %rsi      # 0x13650
movl $0x4800, %edx           # imm = 0x4800
movq %rbx, %rcx
callq 0x57b0
movq 0xd487(%rip), %rdi      # 0x13488
movq 0xd648(%rip), %rsi      # 0x13650
movq 0x48(%rbx), %rdx
callq 0x5490
callq 0x6adf
leaq 0x10(%rsp), %r8
movq $0x0, (%r8)
movq 0xd45f(%rip), %rdi      # 0x13488
movq 0xd620(%rip), %rsi      # 0x13650
leaq 0x20(%rsp), %r14
leaq 0x18(%rsp), %rcx
leaq 0xc(%rsp), %r9
movq %r14, %rdx
callq 0x5760
testl %eax, %eax
je 0x6184
cmpl $0x0, 0xc(%rsp)
je 0x60e7
xorl %r13d, %r13d
leaq 0xe0(%rsp), %r15
leaq 0x20(%rsp), %r12
movq 0xd417(%rip), %rdi      # 0x13488
movq 0x10(%rsp), %rax
movq (%rax,%r13,8), %rsi
movq %r15, %rdx
callq 0x5650
testl %eax, %eax
je 0x60db
cmpl $0x0, 0x158(%rsp)
jne 0x60db
movq 0xd3f1(%rip), %rdi      # 0x13488
movq 0x10(%rsp), %rax
movq (%rax,%r13,8), %rsi
movq %r12, %rdx
callq 0x56b0
testl %eax, %eax
jne 0x60db
cmpl $0x2, 0x13c(%rsp)
je 0x60ca
movq 0x10(%rsp), %rax
movq (%rax,%r13,8), %rdi
callq 0xc9b7
cmpq $0x3, %rax
jne 0x60db
movq 0x10(%rsp), %rax
movq (%rax,%r13,8), %rdi
movq %r15, %rsi
callq 0xbf30
incq %r13
movl 0xc(%rsp), %eax
cmpq %rax, %r13
jb 0x606a
cmpl $0x0, 0xc(%rsp)
je 0x6175
xorl %r13d, %r13d
leaq 0xe0(%rsp), %r15
leaq 0x20(%rsp), %r12
movq 0xd37f(%rip), %rdi      # 0x13488
movq 0x10(%rsp), %rax
movq (%rax,%r13,8), %rsi
movq %r15, %rdx
callq 0x5650
testl %eax, %eax
je 0x6169
movq 0xd363(%rip), %rdi      # 0x13488
movq 0x10(%rsp), %rax
movq (%rax,%r13,8), %rsi
movq %r12, %rdx
callq 0x56b0
testl %eax, %eax
je 0x6169
cmpl $0x2, 0x13c(%rsp)
je 0x6158
movq 0x10(%rsp), %rax
movq (%rax,%r13,8), %rdi
callq 0xc9b7
cmpq $0x3, %rax
jne 0x6169
movq 0x10(%rsp), %rax
movq (%rax,%r13,8), %rdi
movq %r15, %rsi
callq 0xbf30
incq %r13
movl 0xc(%rsp), %eax
cmpq %rax, %r13
jb 0x6102
movq 0x10(%rsp), %rdi
testq %rdi, %rdi
je 0x6184
callq 0x5070
movq 0xd2fd(%rip), %rdi      # 0x13488
xorl %esi, %esi
callq 0x54c0
testb %bpl, %bpl
jne 0x6200
leaq 0x7d9e(%rip), %rdi      # 0xdf3c
callq 0x5480
testq %rax, %rax
je 0x61b1
leaq 0x7db6(%rip), %rdx      # 0xdf65
jmp 0x61c4
leaq 0x7d8f(%rip), %rdi      # 0xdf47
callq 0x5480
leaq 0x7d88(%rip), %rdx      # 0xdf4c
leaq 0xe0(%rsp), %rdi
movl $0x1000, %esi           # imm = 0x1000
movq %rax, %rcx
xorl %eax, %eax
callq 0x50a0
cmpb $0x0, 0xe0(%rsp)
je 0x6200
movq %rbx, 0x20(%rsp)
movq $0x0, 0x28(%rsp)
leaq 0x18(%rsp), %rdi
movq %r14, (%rdi)
callq 0x8704
movq 0xd281(%rip), %rdi      # 0x13488
leaq 0x20(%rsp), %rsi
callq 0x53c0
testl %eax, %eax
jne 0x6250
movabsq $0x9ef29ed2b, %r15      # imm = 0x9EF29ED2B
leaq 0xaf9a(%rip), %r12      # 0x111c0
leaq 0x20(%rsp), %r14
movslq 0x20(%rsp), %rax
btq %rax, %r15
jb 0x623d
movq %r14, %rdi
callq *(%r12,%rax,8)
movq 0xd244(%rip), %rdi      # 0x13488
movq %r14, %rsi
callq 0x53c0
testl %eax, %eax
je 0x622b
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
leaq 0x20(%rsp), %r14
movq %rax, (%r14)
movq 0xbacc(%rip), %rax      # 0x11d30
movq %rax, 0xf0(%rsp)
movups 0xbaad(%rip), %xmm0     # 0x11d20
movaps %xmm0, 0xe0(%rsp)
callq 0x8552
movq %r14, %rdi
callq 0x91ad
movq 0xd1e1(%rip), %rax      # 0x13470
movl 0x5c(%rax), %ecx
movq %rbx, 0xa0(%rax,%rcx,8)
movq 0xd1c7(%rip), %rbx      # 0x13468
testq %rbx, %rbx
jne 0x62af
jmp 0x62c4
xorl %esi, %esi
callq 0xbddb
movq 0x88(%rbx), %rdi
testq %rdi, %rdi
jne 0x62a8
movq 0x90(%rbx), %rbx
jmp 0x62a1
movq 0xd375(%rip), %rsi      # 0x13640
movq 0xd1b6(%rip), %rdi      # 0x13488
testq %rsi, %rsi
je 0x62de
callq 0x5290
jmp 0x62ea
movq 0xd363(%rip), %rsi      # 0x13648
callq 0x5150
movq 0xd197(%rip), %rdi      # 0x13488
movq 0xd358(%rip), %rcx      # 0x13650
xorl %esi, %esi
movl $0x8000, %edx           # imm = 0x8000
callq 0x5220
movq 0xd17d(%rip), %rdi      # 0x13488
movq 0xd30e(%rip), %rsi      # 0x13620
callq 0x5690
movq 0xd16a(%rip), %rdi      # 0x13488
movq 0xd303(%rip), %rsi      # 0x13628
callq 0x5380
movq 0xd157(%rip), %rdi      # 0x13488
movq 0xd348(%rip), %rsi      # 0x13680
callq 0x5090
movq 0xd144(%rip), %rdi      # 0x13488
movq 0xd345(%rip), %rsi      # 0x13690
callq 0x5090
movq 0xd131(%rip), %rdi      # 0x13488
movq 0xd342(%rip), %rsi      # 0x136a0
callq 0x5090
movq 0xd0fe(%rip), %rbx      # 0x13468
testq %rbx, %rbx
je 0x63ad
movq 0x90(%rbx), %rax
movq %rax, 0xd0eb(%rip)      # 0x13468
movq 0xd104(%rip), %rdi      # 0x13488
movq 0x98(%rbx), %rsi
callq 0x5350
movq 0xd0f1(%rip), %rdi      # 0x13488
movq 0x98(%rbx), %rsi
callq 0x5300
movq %rbx, %rdi
callq 0x52a0
jmp 0x6363
movq 0xd0d4(%rip), %rdi      # 0x13488
xorl %esi, %esi
callq 0x54c0
movq 0xd0c6(%rip), %rdi      # 0x13488
movl $0x1, %esi
movl $0x1, %edx
xorl %ecx, %ecx
callq 0x54a0
movq 0xd0ae(%rip), %rdi      # 0x13488
callq 0x5320
xorl %eax, %eax
addq $0x10e8, %rsp           # imm = 0x10E8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
callq 0x5827
jmp 0x5ae8
leaq 0x20(%rsp), %rsi
leaq 0xc(%rsp), %rdx
callq 0x583d
jmp 0x5bec
leaq 0x6c9e(%rip), %rdi      # 0xd0b6
jmp 0x6433
leaq 0x6caf(%rip), %rdi      # 0xd0d0
jmp 0x6433
leaq 0x6c5b(%rip), %rdi      # 0xd085
jmp 0x6433
leaq 0x6bf8(%rip), %rdi      # 0xd02b
xorl %eax, %eax
callq 0x644f
leaq 0x6dc8(%rip), %rdi      # 0xd209
leaq 0x7b38(%rip), %rsi      # 0xdf80
xorl %eax, %eax
callq 0x644f