// File: /workspace/github_c_makefile_star2_O0/Cloudef[P]dwm-fork/dwm.c
// Function: tile
void
tile(Monitor *m) {
   int x, y, h, w, mw;
   unsigned int i, n;
   Client *c;

   for(n = 0, c = nexttiled(m->clients); c; c = nexttiled(c->next), n++);
   if(n == 0)
      return;
   /* master */
   c = nexttiled(m->clients);
   mw = m->mfact * m->ww;
   resize(c, m->wx, m->wy, (n == 1 ? m->ww : mw) - 2 * c->bw, m->wh - 2 * c->bw, False);
   if(--n == 0)
      return;
   /* tile stack */
   x = (m->wx + mw > c->x + c->w) ? c->x + c->w + 2 * c->bw : m->wx + mw;
   y = m->wy;
   w = (m->wx + mw > c->x + c->w) ? m->wx + m->ww - x : m->ww - mw;
   h = m->wh / n;
   if(h < m->bh)
      h = m->wh;
   for(i = 0, c = nexttiled(c->next); c; c = nexttiled(c->next), i++) {
      resize(c, x, y, w - 2 * c->bw, /* remainder */ ((i + 1 == n)
               ? m->wy + m->wh - y - 2 * c->bw : h - 2 * c->bw), False);
      if(h != m->wh)
         y = c->y + HEIGHT(c);
   }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x70, %rsp
movq %rdi, -0x8(%rbp)
movl $0x0, -0x24(%rbp)
movq -0x8(%rbp), %rax
movq 0x78(%rax), %rdi
callq 0x7fc0
movq %rax, -0x30(%rbp)
cmpq $0x0, -0x30(%rbp)
je 0x73cc
jmp 0x73ad
movq -0x30(%rbp), %rax
movq 0x190(%rax), %rdi
callq 0x7fc0
movq %rax, -0x30(%rbp)
movl -0x24(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x24(%rbp)
jmp 0x73a4
cmpl $0x0, -0x24(%rbp)
jne 0x73d7
jmp 0x765d
movq -0x8(%rbp), %rax
movq 0x78(%rax), %rdi
callq 0x7fc0
movq %rax, -0x30(%rbp)
movq -0x8(%rbp), %rax
movss 0x10(%rax), %xmm0
movq -0x8(%rbp), %rax
cvtsi2ssl 0x40(%rax), %xmm1
mulss %xmm1, %xmm0
cvttss2si %xmm0, %eax
movl %eax, -0x1c(%rbp)
movq -0x30(%rbp), %rax
movq %rax, -0x40(%rbp)
movq -0x8(%rbp), %rax
movl 0x38(%rax), %eax
movl %eax, -0x38(%rbp)
movq -0x8(%rbp), %rax
movl 0x3c(%rax), %eax
movl %eax, -0x34(%rbp)
cmpl $0x1, -0x24(%rbp)
jne 0x7433
movq -0x8(%rbp), %rax
movl 0x40(%rax), %eax
movl %eax, -0x44(%rbp)
jmp 0x7439
movl -0x1c(%rbp), %eax
movl %eax, -0x44(%rbp)
movl -0x34(%rbp), %edx
movl -0x38(%rbp), %esi
movq -0x40(%rbp), %rdi
movl -0x44(%rbp), %ecx
movq -0x30(%rbp), %rax
movl 0x150(%rax), %eax
shll %eax
subl %eax, %ecx
movq -0x8(%rbp), %rax
movl 0x44(%rax), %r8d
movq -0x30(%rbp), %rax
movl 0x150(%rax), %eax
shll %eax
subl %eax, %r8d
xorl %r9d, %r9d
callq 0x8060
movl -0x24(%rbp), %eax
addl $-0x1, %eax
movl %eax, -0x24(%rbp)
cmpl $0x0, %eax
jne 0x7486
jmp 0x765d
movq -0x8(%rbp), %rax
movl 0x38(%rax), %eax
addl -0x1c(%rbp), %eax
movq -0x30(%rbp), %rcx
movl 0x108(%rcx), %ecx
movq -0x30(%rbp), %rdx
addl 0x110(%rdx), %ecx
cmpl %ecx, %eax
jle 0x74cf
movq -0x30(%rbp), %rax
movl 0x108(%rax), %eax
movq -0x30(%rbp), %rcx
addl 0x110(%rcx), %eax
movq -0x30(%rbp), %rcx
movl 0x150(%rcx), %ecx
shll %ecx
addl %ecx, %eax
movl %eax, -0x48(%rbp)
jmp 0x74dc
movq -0x8(%rbp), %rax
movl 0x38(%rax), %eax
addl -0x1c(%rbp), %eax
movl %eax, -0x48(%rbp)
movl -0x48(%rbp), %eax
movl %eax, -0xc(%rbp)
movq -0x8(%rbp), %rax
movl 0x3c(%rax), %eax
movl %eax, -0x10(%rbp)
movq -0x8(%rbp), %rax
movl 0x38(%rax), %eax
addl -0x1c(%rbp), %eax
movq -0x30(%rbp), %rcx
movl 0x108(%rcx), %ecx
movq -0x30(%rbp), %rdx
addl 0x110(%rdx), %ecx
cmpl %ecx, %eax
jle 0x7524
movq -0x8(%rbp), %rax
movl 0x38(%rax), %eax
movq -0x8(%rbp), %rcx
addl 0x40(%rcx), %eax
subl -0xc(%rbp), %eax
movl %eax, -0x4c(%rbp)
jmp 0x7531
movq -0x8(%rbp), %rax
movl 0x40(%rax), %eax
subl -0x1c(%rbp), %eax
movl %eax, -0x4c(%rbp)
movl -0x4c(%rbp), %eax
movl %eax, -0x18(%rbp)
movq -0x8(%rbp), %rax
movl 0x44(%rax), %eax
xorl %edx, %edx
divl -0x24(%rbp)
movl %eax, -0x14(%rbp)
movl -0x14(%rbp), %eax
movq -0x8(%rbp), %rcx
cmpl 0x24(%rcx), %eax
jge 0x755c
movq -0x8(%rbp), %rax
movl 0x44(%rax), %eax
movl %eax, -0x14(%rbp)
movl $0x0, -0x20(%rbp)
movq -0x30(%rbp), %rax
movq 0x190(%rax), %rdi
callq 0x7fc0
movq %rax, -0x30(%rbp)
cmpq $0x0, -0x30(%rbp)
je 0x765d
movq -0x30(%rbp), %rax
movq %rax, -0x60(%rbp)
movl -0xc(%rbp), %eax
movl %eax, -0x58(%rbp)
movl -0x10(%rbp), %eax
movl %eax, -0x54(%rbp)
movl -0x18(%rbp), %eax
movq -0x30(%rbp), %rcx
movl 0x150(%rcx), %ecx
shll %ecx
subl %ecx, %eax
movl %eax, -0x50(%rbp)
movl -0x20(%rbp), %eax
addl $0x1, %eax
cmpl -0x24(%rbp), %eax
jne 0x75d9
movq -0x8(%rbp), %rax
movl 0x3c(%rax), %eax
movq -0x8(%rbp), %rcx
addl 0x44(%rcx), %eax
subl -0x10(%rbp), %eax
movq -0x30(%rbp), %rcx
movl 0x150(%rcx), %ecx
shll %ecx
subl %ecx, %eax
movl %eax, -0x64(%rbp)
jmp 0x75ed
movl -0x14(%rbp), %eax
movq -0x30(%rbp), %rcx
movl 0x150(%rcx), %ecx
shll %ecx
subl %ecx, %eax
movl %eax, -0x64(%rbp)
movl -0x50(%rbp), %ecx
movl -0x54(%rbp), %edx
movl -0x58(%rbp), %esi
movq -0x60(%rbp), %rdi
movl -0x64(%rbp), %r8d
xorl %r9d, %r9d
callq 0x8060
movl -0x14(%rbp), %eax
movq -0x8(%rbp), %rcx
cmpl 0x44(%rcx), %eax
je 0x7639
movq -0x30(%rbp), %rax
movl 0x10c(%rax), %eax
movq -0x30(%rbp), %rcx
movl 0x114(%rcx), %ecx
movq -0x30(%rbp), %rdx
movl 0x150(%rdx), %edx
shll %edx
addl %edx, %ecx
addl %ecx, %eax
movl %eax, -0x10(%rbp)
jmp 0x763b
movq -0x30(%rbp), %rax
movq 0x190(%rax), %rdi
callq 0x7fc0
movq %rax, -0x30(%rbp)
movl -0x20(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x20(%rbp)
jmp 0x7577
addq $0x70, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)