// File: /workspace/github_c_makefile_star2_O3/Cloudef[P]dwm-fork/dwm.c
// Function: propertynotify
void
propertynotify(XEvent *e) {
   Client *c;
   Systray *s;
   Window trans;
   XPropertyEvent *ev = &e->xproperty;

   if((s = systray_find(ev->window)))
   {
      systray_state(s);
      systray_update();
   }

   if((ev->window == root) && (ev->atom == XA_WM_NAME))
      updatestatus();
   else if(ev->state == PropertyDelete)
      return; /* ignore */
   else if((c = wintoclient(ev->window))) {
      switch (ev->atom) {
         default: break;
         case XA_WM_TRANSIENT_FOR:
                  XGetTransientForHint(dpy, c->win, &trans);
                  if(!c->isfloating && (c->isfloating = (wintoclient(trans) != NULL)))
                     arrange(c->mon);
                  break;
         case XA_WM_NORMAL_HINTS:
                  updatesizehints(c);
                  break;
         case XA_WM_HINTS:
                  updatewmhints(c);
                  drawbars();
                  break;
      }
      if(ev->atom == XA_WM_NAME || ev->atom == netatom[NetWMName]) {
         updatetitle(c);
         if(c == c->mon->sel)
            drawbar(c->mon);
      }
   }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movq %rdi, %rbx
movq 0x20(%rdi), %r15
movq 0x851c(%rip), %rbp      # 0x13490
testq %rbp, %rbp
je 0xb128
cmpq %r15, (%rbp)
je 0xaf89
movq 0x10(%rbp), %rbp
jmp 0xaf74
leaq 0x18(%rsp), %rax
movq $0x0, (%rax)
movq 0x84ec(%rip), %r14      # 0x13488
leaq 0x25c3(%rip), %r12      # 0xd566
movq %r14, %rdi
movq %r12, %rsi
xorl %edx, %edx
callq 0x55d0
movq %rax, %r13
movq 0x84ce(%rip), %rdi      # 0x13488
movq %r12, %rsi
xorl %edx, %edx
callq 0x55d0
leaq 0x30(%rsp), %r10
leaq 0x20(%rsp), %r11
movq %rsp, %r12
movl $0x2, %r8d
movq %r14, %rdi
movq %r15, %rsi
movq %r13, %rdx
xorl %ecx, %ecx
xorl %r9d, %r9d
leaq 0x18(%rsp), %r14
pushq %r14
pushq %r10
pushq %r11
leaq 0x44(%rsp), %r10
pushq %r10
pushq %r12
pushq %rax
callq 0x5190
addq $0x30, %rsp
testl %eax, %eax
jne 0xb11f
movq (%rsp), %r15
movq 0x8472(%rip), %rdi      # 0x13488
leaq 0x2549(%rip), %rsi      # 0xd566
xorl %r14d, %r14d
xorl %edx, %edx
callq 0x55d0
xorq %r15, %rax
movq 0x20(%rsp), %rcx
movq %rcx, %rdx
xorq $0x2, %rdx
movq 0x18(%rsp), %rdi
orq %rax, %rdx
jne 0xb045
movzbl 0x1(%rdi), %r14d
testq %rcx, %rcx
setne %al
testq %rdi, %rdi
setne %cl
andb %al, %cl
cmpb $0x1, %cl
jne 0xb05d
callq 0x5070
testq %r14, %r14
je 0xb11f
movq 0x841b(%rip), %rdi      # 0x13488
movq (%rbp), %rsi
testb $0x1, %r14b
jne 0xb08a
callq 0x5350
movl $0x2, %eax
movq %rax, 0x10(%rsp)
xorl %eax, %eax
jmp 0xb09e
callq 0x5710
movl $0x1, %eax
movl $0x1, %ecx
movq %rcx, 0x10(%rsp)
movq (%rbp), %r15
movq %rax, (%rsp)
movq $0x0, 0x8(%rsp)
movq 0x83d2(%rip), %r12      # 0x13488
leaq 0x20c1(%rip), %r13      # 0xd17e
movq %r12, %rdi
movq %r13, %rsi
xorl %edx, %edx
callq 0x55d0
movq %rax, %r14
movq 0x83b4(%rip), %rdi      # 0x13488
movq %r13, %rsi
xorl %edx, %edx
callq 0x55d0
movq %r12, %rdi
movq %r15, %rsi
movq %r14, %rdx
movq %rax, %rcx
movl $0x20, %r8d
xorl %r9d, %r9d
pushq $0x2
leaq 0x8(%rsp), %rax
pushq %rax
callq 0x5650
addq $0x10, %rsp
movq (%rbp), %rdi
leaq 0x23fa(%rip), %rdx      # 0xd509
movq %rdi, %rsi
movq 0x10(%rsp), %rcx
xorl %r8d, %r8d
callq 0x859d
callq 0x990f
movq 0x20(%rbx), %r15
cmpq 0x8521(%rip), %r15      # 0x13650
jne 0xb142
cmpq $0x27, 0x28(%rbx)
jne 0xb142
callq 0x6859
jmp 0xb240
cmpl $0x1, 0x38(%rbx)
sete %cl
movq 0x8318(%rip), %rax      # 0x13468
testq %rax, %rax
sete %dl
orb %cl, %dl
jne 0xb240
movq 0x78(%rax), %r14
testq %r14, %r14
je 0xb179
cmpq %r15, 0x1a8(%r14)
je 0xb18a
movq 0x190(%r14), %r14
jmp 0xb162
movq 0x90(%rax), %rax
testq %rax, %rax
jne 0xb15e
jmp 0xb240
movq 0x28(%rbx), %rax
cmpq $0x23, %rax
je 0xb24f
cmpq $0x28, %rax
je 0xb208
cmpq $0x44, %rax
jne 0xb210
movq 0x82dd(%rip), %rdi      # 0x13488
movq %rsp, %rdx
movq %r15, %rsi
callq 0x56a0
cmpl $0x0, 0x168(%r14)
jne 0xb210
movq 0x82a1(%rip), %rax      # 0x13468
testq %rax, %rax
je 0xb1fb
movq (%rsp), %rcx
movq 0x78(%rax), %rdx
testq %rdx, %rdx
je 0xb1ef
cmpq %rcx, 0x1a8(%rdx)
je 0xb274
movq 0x190(%rdx), %rdx
jmp 0xb1d4
movq 0x90(%rax), %rax
testq %rax, %rax
jne 0xb1d0
movl $0x0, 0x168(%r14)
jmp 0xb210
movq %r14, %rdi
callq 0xc5f3
movq 0x28(%rbx), %rax
cmpq $0x27, %rax
je 0xb223
cmpq 0x82a7(%rip), %rax      # 0x134c8
jne 0xb240
movq %r14, %rdi
callq 0xc585
movq 0x1a0(%r14), %rdi
cmpq 0x80(%rdi), %r14
jne 0xb240
callq 0x77d8
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %r14, %rdi
callq 0xc74c
movq 0x820a(%rip), %r15      # 0x13468
testq %r15, %r15
je 0xb210
movq %r15, %rdi
callq 0x77d8
movq 0x90(%r15), %r15
jmp 0xb25e
movl $0x1, 0x168(%r14)
movq 0x1a0(%r14), %rdi
callq 0x98a3
jmp 0xb210