// File: /workspace/github_c_makefile_star2_O0/mcaimi[P]st/x.c
// Function: xhints
void
xhints(void)
{
  XClassHint class = {opt_name ? opt_name : "st",
                      opt_class ? opt_class : "St"};
  XWMHints wm = {.flags = InputHint, .input = 1};
  XSizeHints *sizeh;

  sizeh = XAllocSizeHints();

  sizeh->flags = PSize | PResizeInc | PBaseSize | PMinSize;
  sizeh->height = win.h;
  sizeh->width = win.w;
  sizeh->height_inc = win.ch;
  sizeh->width_inc = win.cw;
  sizeh->base_height = 2 * win.dynborder_w;
  sizeh->base_width = 2 * win.dynborder_h;
  sizeh->min_height = win.ch + 2 * win.dynborder_h;
  sizeh->min_width = win.cw + 2 * win.dynborder_w;
  if (xw.isfixed) {
    sizeh->flags |= PMaxSize;
    sizeh->min_width = sizeh->max_width = win.w;
    sizeh->min_height = sizeh->max_height = win.h;
  }
  if (xw.gm & (XValue|YValue)) {
    sizeh->flags |= USPosition | PWinGravity;
    sizeh->x = xw.l;
    sizeh->y = xw.t;
    sizeh->win_gravity = xgeommasktogravity(xw.gm);
  }

  XSetWMProperties(xw.dpy, xw.win, NULL, NULL, NULL, 0, sizeh, &wm,
      &class);
  XFree(sizeh);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x90, %rsp
leaq -0x10(%rbp), %rax
movq %rax, -0x58(%rbp)
cmpq $0x0, 0x1180d(%rip)     # 0x24b48
je 0x1334a
movq 0x11804(%rip), %rax     # 0x24b48
movq %rax, -0x60(%rbp)
jmp 0x13357
leaq 0x7e5d(%rip), %rax      # 0x1b1ae
movq %rax, -0x60(%rbp)
jmp 0x13357
movq -0x58(%rbp), %rax
movq -0x60(%rbp), %rcx
movq %rcx, (%rax)
leaq -0x10(%rbp), %rax
addq $0x8, %rax
movq %rax, -0x68(%rbp)
cmpq $0x0, 0x117da(%rip)     # 0x24b50
je 0x13385
movq 0x117d1(%rip), %rax     # 0x24b50
movq %rax, -0x70(%rbp)
jmp 0x13392
leaq 0x7e25(%rip), %rax      # 0x1b1b1
movq %rax, -0x70(%rbp)
jmp 0x13392
movq -0x68(%rbp), %rax
movq -0x70(%rbp), %rcx
movq %rcx, (%rax)
leaq -0x48(%rbp), %rdi
xorl %esi, %esi
movl $0x38, %edx
callq 0x60c0
movq $0x1, -0x48(%rbp)
movl $0x1, -0x40(%rbp)
callq 0x68c0
movq %rax, -0x50(%rbp)
movq -0x50(%rbp), %rax
movq $0x158, (%rax)          # imm = 0x158
movl 0x11702(%rip), %ecx     # 0x24ad8
movq -0x50(%rbp), %rax
movl %ecx, 0x14(%rax)
movl 0x116f1(%rip), %ecx     # 0x24ad4
movq -0x50(%rbp), %rax
movl %ecx, 0x10(%rax)
movl 0x116f4(%rip), %ecx     # 0x24ae4
movq -0x50(%rbp), %rax
movl %ecx, 0x2c(%rax)
movl 0x116eb(%rip), %ecx     # 0x24ae8
movq -0x50(%rbp), %rax
movl %ecx, 0x28(%rax)
movl 0x116d6(%rip), %ecx     # 0x24ae0
shll %ecx
movq -0x50(%rbp), %rax
movl %ecx, 0x44(%rax)
movl 0x116c3(%rip), %ecx     # 0x24adc
shll %ecx
movq -0x50(%rbp), %rax
movl %ecx, 0x40(%rax)
movl 0x116bc(%rip), %ecx     # 0x24ae4
movl 0x116ae(%rip), %eax     # 0x24adc
shll %eax
addl %eax, %ecx
movq -0x50(%rbp), %rax
movl %ecx, 0x1c(%rax)
movl 0x116a9(%rip), %ecx     # 0x24ae8
movl 0x1169b(%rip), %eax     # 0x24ae0
shll %eax
addl %eax, %ecx
movq -0x50(%rbp), %rax
movl %ecx, 0x18(%rax)
cmpl $0x0, 0x11655(%rip)     # 0x24aac
je 0x1348f
movq -0x50(%rbp), %rax
movq (%rax), %rcx
orq $0x20, %rcx
movq %rcx, (%rax)
movl 0x11667(%rip), %ecx     # 0x24ad4
movq -0x50(%rbp), %rax
movl %ecx, 0x20(%rax)
movq -0x50(%rbp), %rax
movl %ecx, 0x18(%rax)
movl 0x11657(%rip), %ecx     # 0x24ad8
movq -0x50(%rbp), %rax
movl %ecx, 0x24(%rax)
movq -0x50(%rbp), %rax
movl %ecx, 0x1c(%rax)
movl 0x11627(%rip), %eax     # 0x24abc
andl $0x3, %eax
cmpl $0x0, %eax
je 0x134dc
movq -0x50(%rbp), %rax
movq (%rax), %rcx
orq $0x201, %rcx            # imm = 0x201
movq %rcx, (%rax)
movl 0x11600(%rip), %ecx     # 0x24ab4
movq -0x50(%rbp), %rax
movl %ecx, 0x8(%rax)
movl 0x115f7(%rip), %ecx     # 0x24ab8
movq -0x50(%rbp), %rax
movl %ecx, 0xc(%rax)
movl 0x115ee(%rip), %edi     # 0x24abc
callq 0x13740
movl %eax, %ecx
movq -0x50(%rbp), %rax
movl %ecx, 0x48(%rax)
movq 0x114a5(%rip), %rdi     # 0x24988
movq 0x114ae(%rip), %rsi     # 0x24998
movq -0x50(%rbp), %r11
xorl %eax, %eax
movl %eax, %r8d
xorl %r9d, %r9d
leaq -0x48(%rbp), %r10
leaq -0x10(%rbp), %rax
movq %r8, %rdx
movq %r8, %rcx
movq %r11, (%rsp)
movq %r10, 0x8(%rsp)
movq %rax, 0x10(%rsp)
callq 0x6360
movq -0x50(%rbp), %rdi
callq 0x60a0
addq $0x90, %rsp
popq %rbp
retq
nopl (%rax)