// File: /workspace/github_c_makefile_star2_O0/Cloudef[P]dwm-fork/dwm.c
// Function: updatesizehints
void
updatesizehints(Client *c) {
   long msize;
   XSizeHints size;

   if(!XGetWMNormalHints(dpy, c->win, &size, &msize))
      /* size is uninitialized, ensure that size.flags aren't used */
      size.flags = PSize;
   if(size.flags & PBaseSize) {
      c->basew = size.base_width;
      c->baseh = size.base_height;
   }
   else if(size.flags & PMinSize) {
      c->basew = size.min_width;
      c->baseh = size.min_height;
   }
   else
      c->basew = c->baseh = 0;
   if(size.flags & PResizeInc) {
      c->incw = size.width_inc;
      c->inch = size.height_inc;
   }
   else
      c->incw = c->inch = 0;
   if(size.flags & PMaxSize) {
      c->maxw = size.max_width;
      c->maxh = size.max_height;
   }
   else
      c->maxw = c->maxh = 0;
   if(size.flags & PMinSize) {
      c->minw = size.min_width;
      c->minh = size.min_height;
   }
   else if(size.flags & PBaseSize) {
      c->minw = size.base_width;
      c->minh = size.base_height;
   }
   else
      c->minw = c->minh = 0;
   if(size.flags & PAspect) {
      c->mina = (float)size.min_aspect.y / size.min_aspect.x;
      c->maxa = (float)size.max_aspect.x / size.max_aspect.y;
   }
   else
      c->maxa = c->mina = 0.0;
   c->isfixed = (c->maxw && c->minw && c->maxh && c->minh
         && c->maxw == c->minw && c->maxh == c->minh);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x70, %rsp
movq %rdi, -0x8(%rbp)
movq 0x7fc5(%rip), %rdi      # 0x18618
movq -0x8(%rbp), %rax
movq 0x1a8(%rax), %rsi
leaq -0x60(%rbp), %rdx
leaq -0x10(%rbp), %rcx
callq 0x5110
cmpl $0x0, %eax
jne 0x10678
movq $0x8, -0x60(%rbp)
movq -0x60(%rbp), %rax
andq $0x100, %rax            # imm = 0x100
cmpq $0x0, %rax
je 0x106a4
movl -0x20(%rbp), %ecx
movq -0x8(%rbp), %rax
movl %ecx, 0x130(%rax)
movl -0x1c(%rbp), %ecx
movq -0x8(%rbp), %rax
movl %ecx, 0x134(%rax)
jmp 0x106ec
movq -0x60(%rbp), %rax
andq $0x10, %rax
cmpq $0x0, %rax
je 0x106ce
movl -0x48(%rbp), %ecx
movq -0x8(%rbp), %rax
movl %ecx, 0x130(%rax)
movl -0x44(%rbp), %ecx
movq -0x8(%rbp), %rax
movl %ecx, 0x134(%rax)
jmp 0x106ea
movq -0x8(%rbp), %rax
movl $0x0, 0x134(%rax)
movq -0x8(%rbp), %rax
movl $0x0, 0x130(%rax)
jmp 0x106ec
movq -0x60(%rbp), %rax
andq $0x40, %rax
cmpq $0x0, %rax
je 0x10716
movl -0x38(%rbp), %ecx
movq -0x8(%rbp), %rax
movl %ecx, 0x138(%rax)
movl -0x34(%rbp), %ecx
movq -0x8(%rbp), %rax
movl %ecx, 0x13c(%rax)
jmp 0x10732
movq -0x8(%rbp), %rax
movl $0x0, 0x13c(%rax)
movq -0x8(%rbp), %rax
movl $0x0, 0x138(%rax)
movq -0x60(%rbp), %rax
andq $0x20, %rax
cmpq $0x0, %rax
je 0x1075c
movl -0x40(%rbp), %ecx
movq -0x8(%rbp), %rax
movl %ecx, 0x140(%rax)
movl -0x3c(%rbp), %ecx
movq -0x8(%rbp), %rax
movl %ecx, 0x144(%rax)
jmp 0x10778
movq -0x8(%rbp), %rax
movl $0x0, 0x144(%rax)
movq -0x8(%rbp), %rax
movl $0x0, 0x140(%rax)
movq -0x60(%rbp), %rax
andq $0x10, %rax
cmpq $0x0, %rax
je 0x107a2
movl -0x48(%rbp), %ecx
movq -0x8(%rbp), %rax
movl %ecx, 0x148(%rax)
movl -0x44(%rbp), %ecx
movq -0x8(%rbp), %rax
movl %ecx, 0x14c(%rax)
jmp 0x107ec
movq -0x60(%rbp), %rax
andq $0x100, %rax            # imm = 0x100
cmpq $0x0, %rax
je 0x107ce
movl -0x20(%rbp), %ecx
movq -0x8(%rbp), %rax
movl %ecx, 0x148(%rax)
movl -0x1c(%rbp), %ecx
movq -0x8(%rbp), %rax
movl %ecx, 0x14c(%rax)
jmp 0x107ea
movq -0x8(%rbp), %rax
movl $0x0, 0x14c(%rax)
movq -0x8(%rbp), %rax
movl $0x0, 0x148(%rax)
jmp 0x107ec
movq -0x60(%rbp), %rax
andq $0x80, %rax
cmpq $0x0, %rax
je 0x10832
cvtsi2ssl -0x2c(%rbp), %xmm0
cvtsi2ssl -0x30(%rbp), %xmm1
divss %xmm1, %xmm0
movq -0x8(%rbp), %rax
movss %xmm0, 0x100(%rax)
cvtsi2ssl -0x28(%rbp), %xmm0
cvtsi2ssl -0x24(%rbp), %xmm1
divss %xmm1, %xmm0
movq -0x8(%rbp), %rax
movss %xmm0, 0x104(%rax)
jmp 0x10850
movq -0x8(%rbp), %rax
xorps %xmm0, %xmm0
movss %xmm0, 0x100(%rax)
movq -0x8(%rbp), %rax
xorps %xmm0, %xmm0
movss %xmm0, 0x104(%rax)
movq -0x8(%rbp), %rcx
xorl %eax, %eax
cmpl $0x0, 0x140(%rcx)
movb %al, -0x61(%rbp)
je 0x108cd
movq -0x8(%rbp), %rcx
xorl %eax, %eax
cmpl $0x0, 0x148(%rcx)
movb %al, -0x61(%rbp)
je 0x108cd
movq -0x8(%rbp), %rcx
xorl %eax, %eax
cmpl $0x0, 0x144(%rcx)
movb %al, -0x61(%rbp)
je 0x108cd
movq -0x8(%rbp), %rcx
xorl %eax, %eax
cmpl $0x0, 0x14c(%rcx)
movb %al, -0x61(%rbp)
je 0x108cd
movq -0x8(%rbp), %rax
movl 0x140(%rax), %ecx
movq -0x8(%rbp), %rdx
xorl %eax, %eax
cmpl 0x148(%rdx), %ecx
movb %al, -0x61(%rbp)
jne 0x108cd
movq -0x8(%rbp), %rax
movl 0x144(%rax), %eax
movq -0x8(%rbp), %rcx
cmpl 0x14c(%rcx), %eax
sete %al
movb %al, -0x61(%rbp)
movb -0x61(%rbp), %al
andb $0x1, %al
movzbl %al, %ecx
movq -0x8(%rbp), %rax
movl %ecx, 0x164(%rax)
addq $0x70, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)