// File: /workspace/github_c_makefile_star2_O0/Babkock[P]st/x.c
// Function: xdrawglyphfontspecs
void
xdrawglyphfontspecs(const XftGlyphFontSpec *specs, Glyph base, int len, int x, int y)
{
	int charlen = len * ((base.mode & ATTR_WIDE) ? 2 : 1);
	int winx = borderpx + x * win.cw, winy = borderpx + y * win.ch,
	    width = charlen * win.cw;
	Color *fg, *bg, *temp, revfg, revbg, truefg, truebg;
	XRenderColor colfg, colbg;
	XRectangle r;

	/* Fallback on color display for attributes not supported by the font */
	if (base.mode & ATTR_ITALIC && base.mode & ATTR_BOLD) {
		if (dc.ibfont.badslant || dc.ibfont.badweight)
			base.fg = defaultattr;
	} else if ((base.mode & ATTR_ITALIC && dc.ifont.badslant) ||
	    (base.mode & ATTR_BOLD && dc.bfont.badweight)) {
		base.fg = defaultattr;
	}

	if (IS_TRUECOL(base.fg)) {
		colfg.alpha = 0xffff;
		colfg.red = TRUERED(base.fg);
		colfg.green = TRUEGREEN(base.fg);
		colfg.blue = TRUEBLUE(base.fg);
		XftColorAllocValue(xw.dpy, xw.vis, xw.cmap, &colfg, &truefg);
		fg = &truefg;
	} else {
		fg = &dc.col[base.fg];
	}

	if (IS_TRUECOL(base.bg)) {
		colbg.alpha = 0xffff;
		colbg.green = TRUEGREEN(base.bg);
		colbg.red = TRUERED(base.bg);
		colbg.blue = TRUEBLUE(base.bg);
		XftColorAllocValue(xw.dpy, xw.vis, xw.cmap, &colbg, &truebg);
		bg = &truebg;
	} else {
		bg = &dc.col[base.bg];
	}

	/* Change basic system colors [0-7] to bright system colors [8-15] */
	if ((base.mode & ATTR_BOLD_FAINT) == ATTR_BOLD && BETWEEN(base.fg, 0, 7))
		fg = &dc.col[base.fg + 8];

	if (IS_SET(MODE_REVERSE)) {
		if (fg == &dc.col[defaultfg]) {
			fg = &dc.col[defaultbg];
		} else {
			colfg.red = ~fg->color.red;
			colfg.green = ~fg->color.green;
			colfg.blue = ~fg->color.blue;
			colfg.alpha = fg->color.alpha;
			XftColorAllocValue(xw.dpy, xw.vis, xw.cmap, &colfg,
					&revfg);
			fg = &revfg;
		}

		if (bg == &dc.col[defaultbg]) {
			bg = &dc.col[defaultfg];
		} else {
			colbg.red = ~bg->color.red;
			colbg.green = ~bg->color.green;
			colbg.blue = ~bg->color.blue;
			colbg.alpha = bg->color.alpha;
			XftColorAllocValue(xw.dpy, xw.vis, xw.cmap, &colbg,
					&revbg);
			bg = &revbg;
		}
	}

	if ((base.mode & ATTR_BOLD_FAINT) == ATTR_FAINT) {
		colfg.red = fg->color.red / 2;
		colfg.green = fg->color.green / 2;
		colfg.blue = fg->color.blue / 2;
		colfg.alpha = fg->color.alpha;
		XftColorAllocValue(xw.dpy, xw.vis, xw.cmap, &colfg, &revfg);
		fg = &revfg;
	}

	if (base.mode & ATTR_REVERSE) {
		temp = fg;
		fg = bg;
		bg = temp;
	}

	if (base.mode & ATTR_SELECTED) {
		bg = &dc.col[selectionbg];
		if (!ignoreselfg)
			fg = &dc.col[selectionfg];
	}

	if (base.mode & ATTR_BLINK && win.mode & MODE_BLINK)
		fg = bg;

	if (base.mode & ATTR_INVISIBLE)
		fg = bg;

	// gradient
	bg->color.alpha = grad_alpha * 0xffff * (win.h - y*win.ch) / win.h + stat_alpha * 0xffff;
	// uncomment to invert the gradient
	// bg->color.alpha = grad_alpha * 0xffff * (y*win.ch) / win.h + stat_alpha * 0xffff;

	/* Intelligent cleaning up of the borders. */
	if (x == 0) {
		xclear(0, (y == 0)? 0 : winy, borderpx,
			winy + win.ch +
			((winy + win.ch >= borderpx + win.th)? win.h : 0));
	}
	if (winx + width >= borderpx + win.tw) {
		xclear(winx + width, (y == 0)? 0 : winy, win.w,
			((winy + win.ch >= borderpx + win.th)? win.h : (winy + win.ch)));
	}
	if (y == 0)
		xclear(winx, 0, winx + width, borderpx);
	if (winy + win.ch >= borderpx + win.th)
		xclear(winx, winy + win.ch, winx + width, win.h);

	/* Clean up the region we want to draw to. */
	XftDrawRect(xw.draw, bg, winx, winy, width, win.ch);

	/* Set the clip region because Xft is sometimes dirty. */
	r.x = 0;
	r.y = 0;
	r.height = win.ch;
	r.width = width;
	XftDrawSetClipRectangles(xw.draw, winx, winy, &r, 1);

	if (base.mode & ATTR_BOXDRAW) {
		drawboxes(winx, winy, width / len, win.ch, fg, bg, specs, len);
	} else {
		/* Render the glyphs. */
		XftDrawGlyphFontSpec(xw.draw, fg, specs, len);
	}

	/* Render underline and strikethrough. */
	if (base.mode & ATTR_UNDERLINE) {
		XftDrawRect(xw.draw, fg, winx, winy + dc.font.ascent * chscale + 1,
				width, 1);
	}

	if (base.mode & ATTR_STRUCK) {
		XftDrawRect(xw.draw, fg, winx, winy + 2 * dc.font.ascent * chscale / 3,
				width, 1);
	}

	/* Reset clip to none. */
	XftDrawSetClip(xw.draw, 0);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0xe0, %rsp
movq %rsi, -0x10(%rbp)
movq %rdx, -0x8(%rbp)
movq %rdi, -0x18(%rbp)
movl %ecx, -0x1c(%rbp)
movl %r8d, -0x20(%rbp)
movl %r9d, -0x24(%rbp)
movl -0x1c(%rbp), %eax
movzwl -0xc(%rbp), %esi
andl $0x200, %esi            # imm = 0x200
movl $0x1, %ecx
movl $0x2, %edx
cmpl $0x0, %esi
cmovnel %edx, %ecx
imull %ecx, %eax
movl %eax, -0x28(%rbp)
movl 0xc3f5(%rip), %eax      # 0x1afb0
movl -0x20(%rbp), %ecx
imull 0x14a37(%rip), %ecx     # 0x235fc
addl %ecx, %eax
movl %eax, -0x2c(%rbp)
movl 0xc3e0(%rip), %eax      # 0x1afb0
movl -0x24(%rbp), %ecx
imull 0x14a1e(%rip), %ecx     # 0x235f8
addl %ecx, %eax
movl %eax, -0x30(%rbp)
movl -0x28(%rbp), %eax
imull 0x14a13(%rip), %eax     # 0x235fc
movl %eax, -0x34(%rbp)
movzwl -0xc(%rbp), %eax
andl $0x4, %eax
cmpl $0x0, %eax
je 0xec21
movzwl -0xc(%rbp), %eax
andl $0x1, %eax
cmpl $0x0, %eax
je 0xec21
cmpl $0x0, 0x1489d(%rip)     # 0x234a8
jne 0xec16
cmpl $0x0, 0x14898(%rip)     # 0x234ac
je 0xec1f
movl 0xc688(%rip), %eax      # 0x1b2a4
movl %eax, -0x8(%rbp)
jmp 0xec56
movzwl -0xc(%rbp), %eax
andl $0x4, %eax
cmpl $0x0, %eax
je 0xec36
cmpl $0x0, 0x1483c(%rip)     # 0x23470
jne 0xec4b
movzwl -0xc(%rbp), %eax
andl $0x1, %eax
cmpl $0x0, %eax
je 0xec54
cmpl $0x0, 0x147f3(%rip)     # 0x2343c
je 0xec54
movl 0xc653(%rip), %eax      # 0x1b2a4
movl %eax, -0x8(%rbp)
jmp 0xec56
movl -0x8(%rbp), %eax
andl $0x1000000, %eax        # imm = 0x1000000
cmpl $0x0, %eax
je 0xecce
movw $0xffff, -0x92(%rbp)    # imm = 0xFFFF
movl -0x8(%rbp), %eax
andl $0xff0000, %eax         # imm = 0xFF0000
shrl $0x8, %eax
movw %ax, -0x98(%rbp)
movl -0x8(%rbp), %eax
andl $0xff00, %eax           # imm = 0xFF00
movw %ax, -0x96(%rbp)
movl -0x8(%rbp), %eax
andl $0xff, %eax
shll $0x8, %eax
movw %ax, -0x94(%rbp)
movq 0x14832(%rip), %rdi     # 0x234d8
movq 0x148a3(%rip), %rsi     # 0x23550
movq 0x1482c(%rip), %rdx     # 0x234e0
leaq -0x98(%rbp), %rcx
leaq -0x80(%rbp), %r8
callq 0x6770
leaq -0x80(%rbp), %rax
movq %rax, -0x40(%rbp)
jmp 0xece3
movq 0x1470b(%rip), %rax     # 0x233e0
movl -0x8(%rbp), %ecx
shlq $0x4, %rcx
addq %rcx, %rax
movq %rax, -0x40(%rbp)
movl -0x4(%rbp), %eax
andl $0x1000000, %eax        # imm = 0x1000000
cmpl $0x0, %eax
je 0xed61
movw $0xffff, -0x9a(%rbp)    # imm = 0xFFFF
movl -0x4(%rbp), %eax
andl $0xff00, %eax           # imm = 0xFF00
movw %ax, -0x9e(%rbp)
movl -0x4(%rbp), %eax
andl $0xff0000, %eax         # imm = 0xFF0000
shrl $0x8, %eax
movw %ax, -0xa0(%rbp)
movl -0x4(%rbp), %eax
andl $0xff, %eax
shll $0x8, %eax
movw %ax, -0x9c(%rbp)
movq 0x147a5(%rip), %rdi     # 0x234d8
movq 0x14816(%rip), %rsi     # 0x23550
movq 0x1479f(%rip), %rdx     # 0x234e0
leaq -0xa0(%rbp), %rcx
leaq -0x90(%rbp), %r8
callq 0x6770
leaq -0x90(%rbp), %rax
movq %rax, -0x48(%rbp)
jmp 0xed76
movq 0x14678(%rip), %rax     # 0x233e0
movl -0x4(%rbp), %ecx
shlq $0x4, %rcx
addq %rcx, %rax
movq %rax, -0x48(%rbp)
movzwl -0xc(%rbp), %eax
andl $0x3, %eax
cmpl $0x1, %eax
jne 0xeda9
xorl %eax, %eax
cmpl -0x8(%rbp), %eax
ja 0xeda9
cmpl $0x7, -0x8(%rbp)
ja 0xeda9
movq 0x1464a(%rip), %rax     # 0x233e0
movl -0x8(%rbp), %ecx
addl $0x8, %ecx
movl %ecx, %ecx
shlq $0x4, %rcx
addq %rcx, %rax
movq %rax, -0x40(%rbp)
movl 0x14851(%rip), %eax     # 0x23600
andl $0x20, %eax
cmpl $0x0, %eax
je 0xef0f
movq -0x40(%rbp), %rax
movq 0x1461a(%rip), %rcx     # 0x233e0
movl 0xb97c(%rip), %edx      # 0x1a748
shlq $0x4, %rdx
addq %rdx, %rcx
cmpq %rcx, %rax
jne 0xedf2
movq 0x14601(%rip), %rax     # 0x233e0
movl 0xb967(%rip), %ecx      # 0x1a74c
shlq $0x4, %rcx
addq %rcx, %rax
movq %rax, -0x40(%rbp)
jmp 0xee64
movq -0x40(%rbp), %rax
movzwl 0x8(%rax), %eax
xorl $-0x1, %eax
movw %ax, -0x98(%rbp)
movq -0x40(%rbp), %rax
movzwl 0xa(%rax), %eax
xorl $-0x1, %eax
movw %ax, -0x96(%rbp)
movq -0x40(%rbp), %rax
movzwl 0xc(%rax), %eax
xorl $-0x1, %eax
movw %ax, -0x94(%rbp)
movq -0x40(%rbp), %rax
movw 0xe(%rax), %ax
movw %ax, -0x92(%rbp)
movq 0x1469a(%rip), %rdi     # 0x234d8
movq 0x1470b(%rip), %rsi     # 0x23550
movq 0x14694(%rip), %rdx     # 0x234e0
leaq -0x98(%rbp), %rcx
leaq -0x60(%rbp), %r8
callq 0x6770
leaq -0x60(%rbp), %rax
movq %rax, -0x40(%rbp)
movq -0x48(%rbp), %rax
movq 0x14571(%rip), %rcx     # 0x233e0
movl 0xb8d7(%rip), %edx      # 0x1a74c
shlq $0x4, %rdx
addq %rdx, %rcx
cmpq %rcx, %rax
jne 0xee9b
movq 0x14558(%rip), %rax     # 0x233e0
movl 0xb8ba(%rip), %ecx      # 0x1a748
shlq $0x4, %rcx
addq %rcx, %rax
movq %rax, -0x48(%rbp)
jmp 0xef0d
movq -0x48(%rbp), %rax
movzwl 0x8(%rax), %eax
xorl $-0x1, %eax
movw %ax, -0xa0(%rbp)
movq -0x48(%rbp), %rax
movzwl 0xa(%rax), %eax
xorl $-0x1, %eax
movw %ax, -0x9e(%rbp)
movq -0x48(%rbp), %rax
movzwl 0xc(%rax), %eax
xorl $-0x1, %eax
movw %ax, -0x9c(%rbp)
movq -0x48(%rbp), %rax
movw 0xe(%rax), %ax
movw %ax, -0x9a(%rbp)
movq 0x145f1(%rip), %rdi     # 0x234d8
movq 0x14662(%rip), %rsi     # 0x23550
movq 0x145eb(%rip), %rdx     # 0x234e0
leaq -0xa0(%rbp), %rcx
leaq -0x70(%rbp), %r8
callq 0x6770
leaq -0x70(%rbp), %rax
movq %rax, -0x48(%rbp)
jmp 0xef0f
movzwl -0xc(%rbp), %eax
andl $0x3, %eax
cmpl $0x2, %eax
jne 0xefa0
movq -0x40(%rbp), %rax
movzwl 0x8(%rax), %eax
movl $0x2, %ecx
cltd
idivl %ecx
movw %ax, -0x98(%rbp)
movq -0x40(%rbp), %rax
movzwl 0xa(%rax), %eax
movl $0x2, %ecx
cltd
idivl %ecx
movw %ax, -0x96(%rbp)
movq -0x40(%rbp), %rax
movzwl 0xc(%rax), %eax
movl $0x2, %ecx
cltd
idivl %ecx
movw %ax, -0x94(%rbp)
movq -0x40(%rbp), %rax
movw 0xe(%rax), %ax
movw %ax, -0x92(%rbp)
movq 0x1455e(%rip), %rdi     # 0x234d8
movq 0x145cf(%rip), %rsi     # 0x23550
movq 0x14558(%rip), %rdx     # 0x234e0
leaq -0x98(%rbp), %rcx
leaq -0x60(%rbp), %r8
callq 0x6770
leaq -0x60(%rbp), %rax
movq %rax, -0x40(%rbp)
movzwl -0xc(%rbp), %eax
andl $0x20, %eax
cmpl $0x0, %eax
je 0xefc4
movq -0x40(%rbp), %rax
movq %rax, -0x50(%rbp)
movq -0x48(%rbp), %rax
movq %rax, -0x40(%rbp)
movq -0x50(%rbp), %rax
movq %rax, -0x48(%rbp)
movzwl -0xc(%rbp), %eax
andl $0x1000, %eax           # imm = 0x1000
cmpl $0x0, %eax
je 0xf00d
movq 0x14407(%rip), %rax     # 0x233e0
movl 0xb775(%rip), %ecx      # 0x1a754
shlq $0x4, %rcx
addq %rcx, %rax
movq %rax, -0x48(%rbp)
cmpl $0x0, 0x146bb(%rip)     # 0x236ac
jne 0xf00b
movq 0x143e6(%rip), %rax     # 0x233e0
movl 0xb758(%rip), %ecx      # 0x1a758
shlq $0x4, %rcx
addq %rcx, %rax
movq %rax, -0x40(%rbp)
jmp 0xf00d
movzwl -0xc(%rbp), %eax
andl $0x10, %eax
cmpl $0x0, %eax
je 0xf031
movl 0x145e1(%rip), %eax     # 0x23600
andl $0x800, %eax            # imm = 0x800
cmpl $0x0, %eax
je 0xf031
movq -0x48(%rbp), %rax
movq %rax, -0x40(%rbp)
movzwl -0xc(%rbp), %eax
andl $0x40, %eax
cmpl $0x0, %eax
je 0xf045
movq -0x48(%rbp), %rax
movq %rax, -0x40(%rbp)
movss 0xb6f3(%rip), %xmm1     # 0x1a740
movss 0x6dc3(%rip), %xmm2     # 0x15e18
mulss %xmm2, %xmm1
movl 0x14595(%rip), %eax     # 0x235f4
movl -0x24(%rbp), %edx
movl 0x14590(%rip), %ecx     # 0x235f8
imull %ecx, %edx
movl %eax, %ecx
subl %edx, %ecx
cvtsi2ss %ecx, %xmm0
mulss %xmm0, %xmm1
cvtsi2ss %eax, %xmm0
divss %xmm0, %xmm1
movss 0xb6bd(%rip), %xmm0     # 0x1a744
mulss %xmm2, %xmm0
addss %xmm1, %xmm0
cvttss2si %xmm0, %eax
movw %ax, %cx
movq -0x48(%rbp), %rax
movw %cx, 0xe(%rax)
cmpl $0x0, -0x20(%rbp)
jne 0xf13a
cmpl $0x0, -0x24(%rbp)
jne 0xf0b8
xorl %eax, %eax
movl %eax, -0xac(%rbp)
jmp 0xf0c1
movl -0x30(%rbp), %eax
movl %eax, -0xac(%rbp)
movl -0xac(%rbp), %eax
movl %eax, -0xb8(%rbp)
movl 0xbedd(%rip), %eax      # 0x1afb0
movl %eax, -0xb4(%rbp)
movl -0x30(%rbp), %eax
addl 0x14516(%rip), %eax     # 0x235f8
movl %eax, -0xb0(%rbp)
movl -0x30(%rbp), %eax
addl 0x14507(%rip), %eax     # 0x235f8
movl 0xbeb9(%rip), %ecx      # 0x1afb0
addl 0x144ef(%rip), %ecx     # 0x235ec
cmpl %ecx, %eax
jl 0xf10f
movl 0x144ed(%rip), %eax     # 0x235f4
movl %eax, -0xbc(%rbp)
jmp 0xf119
xorl %eax, %eax
movl %eax, -0xbc(%rbp)
jmp 0xf119
movl -0xb4(%rbp), %edx
movl -0xb8(%rbp), %esi
movl -0xb0(%rbp), %ecx
movl -0xbc(%rbp), %eax
addl %eax, %ecx
xorl %edi, %edi
callq 0x110e0
movl -0x2c(%rbp), %eax
addl -0x34(%rbp), %eax
movl 0xbe6a(%rip), %ecx      # 0x1afb0
addl 0x1449c(%rip), %ecx     # 0x235e8
cmpl %ecx, %eax
jl 0xf1e4
movl -0x2c(%rbp), %eax
addl -0x34(%rbp), %eax
movl %eax, -0xc0(%rbp)
cmpl $0x0, -0x24(%rbp)
jne 0xf170
xorl %eax, %eax
movl %eax, -0xc4(%rbp)
jmp 0xf179
movl -0x30(%rbp), %eax
movl %eax, -0xc4(%rbp)
movl -0xc4(%rbp), %eax
movl %eax, -0xcc(%rbp)
movl 0x14465(%rip), %eax     # 0x235f0
movl %eax, -0xc8(%rbp)
movl -0x30(%rbp), %eax
addl 0x1445e(%rip), %eax     # 0x235f8
movl 0xbe10(%rip), %ecx      # 0x1afb0
addl 0x14446(%rip), %ecx     # 0x235ec
cmpl %ecx, %eax
jl 0xf1b8
movl 0x14444(%rip), %eax     # 0x235f4
movl %eax, -0xd0(%rbp)
jmp 0xf1c7
movl -0x30(%rbp), %eax
addl 0x14437(%rip), %eax     # 0x235f8
movl %eax, -0xd0(%rbp)
movl -0xc8(%rbp), %edx
movl -0xcc(%rbp), %esi
movl -0xc0(%rbp), %edi
movl -0xd0(%rbp), %ecx
callq 0x110e0
cmpl $0x0, -0x24(%rbp)
jne 0xf200
movl -0x2c(%rbp), %edi
movl -0x2c(%rbp), %edx
addl -0x34(%rbp), %edx
movl 0xbdb7(%rip), %ecx      # 0x1afb0
xorl %esi, %esi
callq 0x110e0
movl -0x30(%rbp), %eax
addl 0x143ef(%rip), %eax     # 0x235f8
movl 0xbda1(%rip), %ecx      # 0x1afb0
addl 0x143d7(%rip), %ecx     # 0x235ec
cmpl %ecx, %eax
jl 0xf236
movl -0x2c(%rbp), %edi
movl -0x30(%rbp), %esi
addl 0x143d3(%rip), %esi     # 0x235f8
movl -0x2c(%rbp), %edx
addl -0x34(%rbp), %edx
movl 0x143c3(%rip), %ecx     # 0x235f4
callq 0x110e0
movq 0x1430b(%rip), %rdi     # 0x23548
movq -0x48(%rbp), %rsi
movl -0x2c(%rbp), %edx
movl -0x30(%rbp), %ecx
movl -0x34(%rbp), %r8d
movl 0x143a6(%rip), %r9d     # 0x235f8
callq 0x6430
movw $0x0, -0xa8(%rbp)
movw $0x0, -0xa6(%rbp)
movl 0x14389(%rip), %eax     # 0x235f8
movw %ax, -0xa2(%rbp)
movl -0x34(%rbp), %eax
movw %ax, -0xa4(%rbp)
movq 0x142c1(%rip), %rdi     # 0x23548
movl -0x2c(%rbp), %esi
movl -0x30(%rbp), %edx
leaq -0xa8(%rbp), %rcx
movl $0x1, %r8d
callq 0x6690
movzwl -0xc(%rbp), %eax
andl $0x800, %eax            # imm = 0x800
cmpl $0x0, %eax
je 0xf2e0
movl -0x2c(%rbp), %edi
movl -0x30(%rbp), %esi
movl -0x34(%rbp), %eax
cltd
idivl -0x1c(%rbp)
movl %eax, %edx
movl 0x14336(%rip), %ecx     # 0x235f8
movq -0x40(%rbp), %r8
movq -0x48(%rbp), %r9
movq -0x18(%rbp), %r10
movl -0x1c(%rbp), %eax
movq %r10, (%rsp)
movl %eax, 0x8(%rsp)
callq 0x13560
jmp 0xf2f7
movq 0x14261(%rip), %rdi     # 0x23548
movq -0x40(%rbp), %rsi
movq -0x18(%rbp), %rdx
movl -0x1c(%rbp), %ecx
callq 0x63e0
movzwl -0xc(%rbp), %eax
andl $0x8, %eax
cmpl $0x0, %eax
je 0xf34d
movq 0x1423e(%rip), %rdi     # 0x23548
movq -0x40(%rbp), %rsi
movl -0x2c(%rbp), %edx
cvtsi2ssl -0x30(%rbp), %xmm1
cvtsi2ssl 0x140da(%rip), %xmm0 # 0x233f8
movss 0xbc92(%rip), %xmm2     # 0x1afb8
mulss %xmm2, %xmm0
addss %xmm1, %xmm0
movss 0x6aee(%rip), %xmm1     # 0x15e24
addss %xmm1, %xmm0
cvttss2si %xmm0, %ecx
movl -0x34(%rbp), %r8d
movl $0x1, %r9d
callq 0x6430
movzwl -0xc(%rbp), %eax
andl $0x80, %eax
cmpl $0x0, %eax
je 0xf3a5
movq 0x141e6(%rip), %rdi     # 0x23548
movq -0x40(%rbp), %rsi
movl -0x2c(%rbp), %edx
cvtsi2ssl -0x30(%rbp), %xmm0
movl 0x14084(%rip), %eax     # 0x233f8
shll %eax
cvtsi2ss %eax, %xmm1
mulss 0xbc36(%rip), %xmm1     # 0x1afb8
movss 0x6a9e(%rip), %xmm2     # 0x15e28
divss %xmm2, %xmm1
addss %xmm1, %xmm0
cvttss2si %xmm0, %ecx
movl -0x34(%rbp), %r8d
movl $0x1, %r9d
callq 0x6430
movq 0x1419c(%rip), %rdi     # 0x23548
xorl %eax, %eax
movl %eax, %esi
callq 0x6650
addq $0xe0, %rsp
popq %rbp
retq
nop