// File: /workspace/github_c_makefile_star2_O0/Cloudef[P]dwm-fork/dwm.c
// Function: bstackhoriz
static void
bstackhoriz(Monitor *m) {
   int x, y, h, w, mh;
   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);
   mh = m->mfact * m->wh;
   resize(c, m->wx, m->wy, m->ww - 2 * c->bw, (n == 1 ? m->wh : mh) - 2 * c->bw, False);
   if(--n == 0)
      return;
   /* tile stack */
   x = m->wx;
   y = (m->wy + mh > c->y + c->h) ? c->y + c->h + 2 * c->bw : m->wy + mh;
   w = m->ww;
   h = (m->wy + mh > c->y + c->h) ? m->wy + m->wh - y : m->wh - mh;
   h /= 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 0x76bc
jmp 0x769d
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 0x7694
cmpl $0x0, -0x24(%rbp)
jne 0x76c7
jmp 0x795b
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 0x44(%rax), %xmm1
mulss %xmm1, %xmm0
cvttss2si %xmm0, %eax
movl %eax, -0x1c(%rbp)
movq -0x30(%rbp), %rax
movq %rax, -0x48(%rbp)
movq -0x8(%rbp), %rax
movl 0x38(%rax), %eax
movl %eax, -0x3c(%rbp)
movq -0x8(%rbp), %rax
movl 0x3c(%rax), %eax
movl %eax, -0x38(%rbp)
movq -0x8(%rbp), %rax
movl 0x40(%rax), %eax
movq -0x30(%rbp), %rcx
movl 0x150(%rcx), %ecx
shll %ecx
subl %ecx, %eax
movl %eax, -0x34(%rbp)
cmpl $0x1, -0x24(%rbp)
jne 0x773b
movq -0x8(%rbp), %rax
movl 0x44(%rax), %eax
movl %eax, -0x4c(%rbp)
jmp 0x7741
movl -0x1c(%rbp), %eax
movl %eax, -0x4c(%rbp)
movl -0x34(%rbp), %ecx
movl -0x38(%rbp), %edx
movl -0x3c(%rbp), %esi
movq -0x48(%rbp), %rdi
movl -0x4c(%rbp), %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 0x777c
jmp 0x795b
movq -0x8(%rbp), %rax
movl 0x38(%rax), %eax
movl %eax, -0xc(%rbp)
movq -0x8(%rbp), %rax
movl 0x3c(%rax), %eax
addl -0x1c(%rbp), %eax
movq -0x30(%rbp), %rcx
movl 0x10c(%rcx), %ecx
movq -0x30(%rbp), %rdx
addl 0x114(%rdx), %ecx
cmpl %ecx, %eax
jle 0x77cf
movq -0x30(%rbp), %rax
movl 0x10c(%rax), %eax
movq -0x30(%rbp), %rcx
addl 0x114(%rcx), %eax
movq -0x30(%rbp), %rcx
movl 0x150(%rcx), %ecx
shll %ecx
addl %ecx, %eax
movl %eax, -0x50(%rbp)
jmp 0x77dc
movq -0x8(%rbp), %rax
movl 0x3c(%rax), %eax
addl -0x1c(%rbp), %eax
movl %eax, -0x50(%rbp)
movl -0x50(%rbp), %eax
movl %eax, -0x10(%rbp)
movq -0x8(%rbp), %rax
movl 0x40(%rax), %eax
movl %eax, -0x18(%rbp)
movq -0x8(%rbp), %rax
movl 0x3c(%rax), %eax
addl -0x1c(%rbp), %eax
movq -0x30(%rbp), %rcx
movl 0x10c(%rcx), %ecx
movq -0x30(%rbp), %rdx
addl 0x114(%rdx), %ecx
cmpl %ecx, %eax
jle 0x7824
movq -0x8(%rbp), %rax
movl 0x3c(%rax), %eax
movq -0x8(%rbp), %rcx
addl 0x44(%rcx), %eax
subl -0x10(%rbp), %eax
movl %eax, -0x54(%rbp)
jmp 0x7831
movq -0x8(%rbp), %rax
movl 0x44(%rax), %eax
subl -0x1c(%rbp), %eax
movl %eax, -0x54(%rbp)
movl -0x54(%rbp), %eax
movl %eax, -0x14(%rbp)
movl -0x24(%rbp), %ecx
movl -0x14(%rbp), %eax
xorl %edx, %edx
divl %ecx
movl %eax, -0x14(%rbp)
movl -0x14(%rbp), %eax
movq -0x8(%rbp), %rcx
cmpl 0x24(%rcx), %eax
jge 0x785a
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 0x795b
movq -0x30(%rbp), %rax
movq %rax, -0x68(%rbp)
movl -0xc(%rbp), %eax
movl %eax, -0x60(%rbp)
movl -0x10(%rbp), %eax
movl %eax, -0x5c(%rbp)
movl -0x18(%rbp), %eax
movq -0x30(%rbp), %rcx
movl 0x150(%rcx), %ecx
shll %ecx
subl %ecx, %eax
movl %eax, -0x58(%rbp)
movl -0x20(%rbp), %eax
addl $0x1, %eax
cmpl -0x24(%rbp), %eax
jne 0x78d7
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, -0x6c(%rbp)
jmp 0x78eb
movl -0x14(%rbp), %eax
movq -0x30(%rbp), %rcx
movl 0x150(%rcx), %ecx
shll %ecx
subl %ecx, %eax
movl %eax, -0x6c(%rbp)
movl -0x58(%rbp), %ecx
movl -0x5c(%rbp), %edx
movl -0x60(%rbp), %esi
movq -0x68(%rbp), %rdi
movl -0x6c(%rbp), %r8d
xorl %r9d, %r9d
callq 0x8060
movl -0x14(%rbp), %eax
movq -0x8(%rbp), %rcx
cmpl 0x44(%rcx), %eax
je 0x7937
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 0x7939
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 0x7875
addq $0x70, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)