// File: /workspace/github_c_makefile_star2_O0/jonof[P]jftekwar/jfbuild/src/kplib.c
// Function: putbuf
static void putbuf (const unsigned char *buf, int leng)
{
	int i, x;
	intptr_t p;

	if (filt < 0)
	{
		if (leng <= 0) return;
		filt = buf[0];
		if (filter1st < 0) filter1st = filt; else filterest |= (1<<filt);
		if (filt == gotcmov) filt = 5;
		i = 1;
	} else i = 0;

	while (i < leng)
	{
		x = i+xplc; if (x > leng) x = leng;
		switch (filt)
		{
			case 0:
				while (i < x) { olinbuf[xplc] = buf[i]; xplc--; i++; }
				break;
			case 1:
				while (i < x)
				{
					olinbuf[xplc] = (opixbuf1[xm] += buf[i]);
					xm = xmn[xm]; xplc--; i++;
				}
				break;
			case 2:
				while (i < x) { olinbuf[xplc] += buf[i]; xplc--; i++; }
				break;
			case 3:
				while (i < x)
				{
					opixbuf1[xm] = olinbuf[xplc] = ((opixbuf1[xm]+olinbuf[xplc])>>1)+buf[i];
					xm = xmn[xm]; xplc--; i++;
				}
				break;
			case 4:
				while (i < x)
				{
					opixbuf1[xm] = (unsigned char)(Paeth(opixbuf1[xm],olinbuf[xplc],opixbuf0[xm])+buf[i]);
					opixbuf0[xm] = olinbuf[xplc];
					olinbuf[xplc] = opixbuf1[xm];
					xm = xmn[xm]; xplc--; i++;
				}
				break;
			case 5: //Special hack for Paeth686 (Doesn't have to be case 5)
				while (i < x)
				{
					opixbuf1[xm] = (unsigned char)(Paeth686(opixbuf1[xm],olinbuf[xplc],opixbuf0[xm])+buf[i]);
					opixbuf0[xm] = olinbuf[xplc];
					olinbuf[xplc] = opixbuf1[xm];
					xm = xmn[xm]; xplc--; i++;
				}
				break;
		}

		if (xplc > 0) return;

			//Draw line!
		if ((unsigned int)yplc < (unsigned int)yres)
		{
			x = xr0; p = nfplace;
			switch (coltype)
			{
				case 2:
					rgbhlineasm(x,xr1,p,ixstp);
					break;
				case 4:
					for(;x>xr1;p+=ixstp,x-=2)
					{
#if (PROCESSALPHAHERE == 1)
							//Enable this code to process alpha right here!
						if (olinbuf[x-1] == 255) { *(int *)p = palcol[olinbuf[x]]; continue; }
						if (!olinbuf[x-1]) { *(int *)p = bakcol; continue; }
							//I do >>8, but theoretically should be: /255
						*(unsigned char *)(p) = *(unsigned char *)(p+1) = *(unsigned char *)(p+2) = *(unsigned char *)(p+3) =
							(((((int)olinbuf[x])-bakr)*(int)olinbuf[x-1])>>8) + bakr;
#else
						*(int *)p = (palcol[olinbuf[x]]&LSWAPIB(0xffffff))|LSWAPIL((int)olinbuf[x-1]);
#endif
					}
					break;
				case 6:
					for(;x>xr1;p+=ixstp,x-=4)
					{
#if (PROCESSALPHAHERE == 1)
							//Enable this code to process alpha right here!
						if (olinbuf[x-1] == 255) { *(int *)p = *(int *)&olinbuf[x]; continue; }
						if (!olinbuf[x-1]) { *(int *)p = bakcol; continue; }
							//I do >>8, but theoretically should be: /255
						*(unsigned char *)(p  ) = (((((int)olinbuf[x  ])-bakr)*(int)olinbuf[x-1])>>8) + bakr;
						*(unsigned char *)(p+1) = (((((int)olinbuf[x+1])-bakg)*(int)olinbuf[x-1])>>8) + bakg;
						*(unsigned char *)(p+2) = (((((int)olinbuf[x+2])-bakb)*(int)olinbuf[x-1])>>8) + bakb;
#else
						*(unsigned char *)(p  ) = olinbuf[x  ]; //R
						*(unsigned char *)(p+1) = olinbuf[x+1]; //G
						*(unsigned char *)(p+2) = olinbuf[x+2]; //B
						*(unsigned char *)(p+3) = olinbuf[x-1]; //A
#endif
					}
					break;
				default:
					switch(bitdepth)
					{
						case 1: for(;x>xr1;p+=ixstp,x-- ) *(int *)p = palcol[olinbuf[x>>3]>>(x&7)]; break;
						case 2: for(;x>xr1;p+=ixstp,x-=2) *(int *)p = palcol[olinbuf[x>>3]>>(x&6)]; break;
						case 4: for(;x>xr1;p+=ixstp,x-=4) *(int *)p = palcol[olinbuf[x>>3]>>(x&4)]; break;
						case 8: pal8hlineasm(x,xr1,p,ixstp); break; //for(;x>xr1;p+=ixstp,x--) *(int *)p = palcol[olinbuf[x]]; break;
					}
					break;
			}
			nfplace += nbpl;
		}

		*(int *)&opixbuf0[0] = *(int *)&opixbuf1[0] = 0;
		xplc = xsizbpl; yplc += iystp;
		if ((intlac) && (yplc >= globyoffs+ysiz)) { intlac--; initpass(); }
		if (i < leng)
		{
			filt = buf[i++];
			if (filter1st < 0) filter1st = filt; else filterest |= (1<<filt);
			if (filt == gotcmov) filt = 5;
		} else filt = -1;
	}
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x40, %rsp
movq %rdi, -0x8(%rbp)
movl %esi, -0xc(%rbp)
cmpl $0x0, 0x55891a(%rip)    # 0x5c2e10
jge 0x6a561
cmpl $0x0, -0xc(%rbp)
jg 0x6a503
jmp 0x6ad04
movq -0x8(%rbp), %rax
movzbl (%rax), %eax
movl %eax, 0x558900(%rip)    # 0x5c2e10
cmpl $0x0, 0x558871(%rip)    # 0x5c2d88
jge 0x6a527
movl 0x5588f1(%rip), %eax    # 0x5c2e10
movl %eax, 0x558863(%rip)    # 0x5c2d88
jmp 0x6a540
movl 0x5588e3(%rip), %ecx    # 0x5c2e10
movl $0x1, %eax
shll %cl, %eax
orl 0x558852(%rip), %eax    # 0x5c2d8c
movl %eax, 0x55884c(%rip)    # 0x5c2d8c
movl 0x5588ca(%rip), %eax    # 0x5c2e10
cmpl 0x76d3c(%rip), %eax     # 0xe1288
jne 0x6a558
movl $0x5, 0x5588b8(%rip)    # 0x5c2e10
movl $0x1, -0x10(%rbp)
jmp 0x6a568
movl $0x0, -0x10(%rbp)
jmp 0x6a56a
movl -0x10(%rbp), %eax
cmpl -0xc(%rbp), %eax
jge 0x6ad04
movl -0x10(%rbp), %eax
addl 0x558889(%rip), %eax    # 0x5c2e08
movl %eax, -0x14(%rbp)
movl -0x14(%rbp), %eax
cmpl -0xc(%rbp), %eax
jle 0x6a590
movl -0xc(%rbp), %eax
movl %eax, -0x14(%rbp)
movl 0x55887a(%rip), %eax    # 0x5c2e10
movq %rax, -0x28(%rbp)
subq $0x5, %rax
ja 0x6a93b
movq -0x28(%rbp), %rax
leaq 0x491f5(%rip), %rcx     # 0xb37a4
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
jmp 0x6a5ba
movl -0x10(%rbp), %eax
cmpl -0x14(%rbp), %eax
jge 0x6a5f8
movq -0x8(%rbp), %rax
movslq -0x10(%rbp), %rcx
movb (%rax,%rcx), %dl
movslq 0x558834(%rip), %rcx    # 0x5c2e08
leaq 0x53eb25(%rip), %rax    # 0x5a9100
movb %dl, (%rax,%rcx)
movl 0x558824(%rip), %eax    # 0x5c2e08
addl $-0x1, %eax
movl %eax, 0x55881b(%rip)    # 0x5c2e08
movl -0x10(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x10(%rbp)
jmp 0x6a5ba
jmp 0x6a93b
jmp 0x6a5ff
movl -0x10(%rbp), %eax
cmpl -0x14(%rbp), %eax
jge 0x6a675
movq -0x8(%rbp), %rax
movslq -0x10(%rbp), %rcx
movzbl (%rax,%rcx), %edx
movslq 0x5587f2(%rip), %rcx    # 0x5c2e0c
leaq 0x5587df(%rip), %rax    # 0x5c2e00
movzbl (%rax,%rcx), %eax
addl %edx, %eax
movb %al, %dl
leaq 0x5587d0(%rip), %rax    # 0x5c2e00
movb %dl, (%rax,%rcx)
movslq 0x5587ce(%rip), %rcx    # 0x5c2e08
leaq 0x53eabf(%rip), %rax    # 0x5a9100
movb %dl, (%rax,%rcx)
movslq 0x5587c1(%rip), %rcx    # 0x5c2e0c
leaq 0x55877e(%rip), %rax    # 0x5c2dd0
movl (%rax,%rcx,4), %eax
movl %eax, 0x5587b1(%rip)    # 0x5c2e0c
movl 0x5587a7(%rip), %eax    # 0x5c2e08
addl $-0x1, %eax
movl %eax, 0x55879e(%rip)    # 0x5c2e08
movl -0x10(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x10(%rbp)
jmp 0x6a5ff
jmp 0x6a93b
jmp 0x6a67c
movl -0x10(%rbp), %eax
cmpl -0x14(%rbp), %eax
jge 0x6a6ca
movq -0x8(%rbp), %rax
movslq -0x10(%rbp), %rcx
movzbl (%rax,%rcx), %edx
movslq 0x558771(%rip), %rcx    # 0x5c2e08
leaq 0x53ea62(%rip), %rax    # 0x5a9100
movzbl (%rax,%rcx), %eax
addl %edx, %eax
movb %al, %dl
leaq 0x53ea53(%rip), %rax    # 0x5a9100
movb %dl, (%rax,%rcx)
movl 0x558752(%rip), %eax    # 0x5c2e08
addl $-0x1, %eax
movl %eax, 0x558749(%rip)    # 0x5c2e08
movl -0x10(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x10(%rbp)
jmp 0x6a67c
jmp 0x6a93b
jmp 0x6a6d1
movl -0x10(%rbp), %eax
cmpl -0x14(%rbp), %eax
jge 0x6a76b
movslq 0x558728(%rip), %rcx    # 0x5c2e0c
leaq 0x558715(%rip), %rax    # 0x5c2e00
movzbl (%rax,%rcx), %eax
movslq 0x558712(%rip), %rdx    # 0x5c2e08
leaq 0x53ea03(%rip), %rcx    # 0x5a9100
movzbl (%rcx,%rdx), %ecx
addl %ecx, %eax
sarl %eax
movq -0x8(%rbp), %rcx
movslq -0x10(%rbp), %rdx
movzbl (%rcx,%rdx), %ecx
addl %ecx, %eax
movb %al, %dl
movslq 0x5586ec(%rip), %rcx    # 0x5c2e08
leaq 0x53e9dd(%rip), %rax    # 0x5a9100
movb %dl, (%rax,%rcx)
movslq 0x5586df(%rip), %rcx    # 0x5c2e0c
leaq 0x5586cc(%rip), %rax    # 0x5c2e00
movb %dl, (%rax,%rcx)
movslq 0x5586ce(%rip), %rcx    # 0x5c2e0c
leaq 0x55868b(%rip), %rax    # 0x5c2dd0
movl (%rax,%rcx,4), %eax
movl %eax, 0x5586be(%rip)    # 0x5c2e0c
movl 0x5586b4(%rip), %eax    # 0x5c2e08
addl $-0x1, %eax
movl %eax, 0x5586ab(%rip)    # 0x5c2e08
movl -0x10(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x10(%rbp)
jmp 0x6a6d1
jmp 0x6a93b
jmp 0x6a772
movl -0x10(%rbp), %eax
cmpl -0x14(%rbp), %eax
jge 0x6a852
movslq 0x558687(%rip), %rcx    # 0x5c2e0c
leaq 0x558674(%rip), %rax    # 0x5c2e00
movzbl (%rax,%rcx), %edi
movslq 0x558671(%rip), %rcx    # 0x5c2e08
leaq 0x53e962(%rip), %rax    # 0x5a9100
movzbl (%rax,%rcx), %esi
movslq 0x558663(%rip), %rcx    # 0x5c2e0c
leaq 0x558654(%rip), %rax    # 0x5c2e04
movzbl (%rax,%rcx), %edx
callq 0x6ad10
movq -0x8(%rbp), %rcx
movslq -0x10(%rbp), %rdx
movzbl (%rcx,%rdx), %ecx
addl %ecx, %eax
movb %al, %dl
movslq 0x55863c(%rip), %rcx    # 0x5c2e0c
leaq 0x558629(%rip), %rax    # 0x5c2e00
movb %dl, (%rax,%rcx)
movslq 0x558627(%rip), %rcx    # 0x5c2e08
leaq 0x53e918(%rip), %rax    # 0x5a9100
movb (%rax,%rcx), %dl
movslq 0x55861a(%rip), %rcx    # 0x5c2e0c
leaq 0x55860b(%rip), %rax    # 0x5c2e04
movb %dl, (%rax,%rcx)
movslq 0x558609(%rip), %rcx    # 0x5c2e0c
leaq 0x5585f6(%rip), %rax    # 0x5c2e00
movb (%rax,%rcx), %dl
movslq 0x5585f4(%rip), %rcx    # 0x5c2e08
leaq 0x53e8e5(%rip), %rax    # 0x5a9100
movb %dl, (%rax,%rcx)
movslq 0x5585e7(%rip), %rcx    # 0x5c2e0c
leaq 0x5585a4(%rip), %rax    # 0x5c2dd0
movl (%rax,%rcx,4), %eax
movl %eax, 0x5585d7(%rip)    # 0x5c2e0c
movl 0x5585cd(%rip), %eax    # 0x5c2e08
addl $-0x1, %eax
movl %eax, 0x5585c4(%rip)    # 0x5c2e08
movl -0x10(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x10(%rbp)
jmp 0x6a772
jmp 0x6a93b
jmp 0x6a859
movl -0x10(%rbp), %eax
cmpl -0x14(%rbp), %eax
jge 0x6a939
movslq 0x5585a0(%rip), %rcx    # 0x5c2e0c
leaq 0x55858d(%rip), %rax    # 0x5c2e00
movzbl (%rax,%rcx), %edi
movslq 0x55858a(%rip), %rcx    # 0x5c2e08
leaq 0x53e87b(%rip), %rax    # 0x5a9100
movzbl (%rax,%rcx), %esi
movslq 0x55857c(%rip), %rcx    # 0x5c2e0c
leaq 0x55856d(%rip), %rax    # 0x5c2e04
movzbl (%rax,%rcx), %edx
callq 0x6ad90
movq -0x8(%rbp), %rcx
movslq -0x10(%rbp), %rdx
movzbl (%rcx,%rdx), %ecx
addl %ecx, %eax
movb %al, %dl
movslq 0x558555(%rip), %rcx    # 0x5c2e0c
leaq 0x558542(%rip), %rax    # 0x5c2e00
movb %dl, (%rax,%rcx)
movslq 0x558540(%rip), %rcx    # 0x5c2e08
leaq 0x53e831(%rip), %rax    # 0x5a9100
movb (%rax,%rcx), %dl
movslq 0x558533(%rip), %rcx    # 0x5c2e0c
leaq 0x558524(%rip), %rax    # 0x5c2e04
movb %dl, (%rax,%rcx)
movslq 0x558522(%rip), %rcx    # 0x5c2e0c
leaq 0x55850f(%rip), %rax    # 0x5c2e00
movb (%rax,%rcx), %dl
movslq 0x55850d(%rip), %rcx    # 0x5c2e08
leaq 0x53e7fe(%rip), %rax    # 0x5a9100
movb %dl, (%rax,%rcx)
movslq 0x558500(%rip), %rcx    # 0x5c2e0c
leaq 0x5584bd(%rip), %rax    # 0x5c2dd0
movl (%rax,%rcx,4), %eax
movl %eax, 0x5584f0(%rip)    # 0x5c2e0c
movl 0x5584e6(%rip), %eax    # 0x5c2e08
addl $-0x1, %eax
movl %eax, 0x5584dd(%rip)    # 0x5c2e08
movl -0x10(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x10(%rbp)
jmp 0x6a859
jmp 0x6a93b
cmpl $0x0, 0x5584c6(%rip)    # 0x5c2e08
jle 0x6a949
jmp 0x6ad04
movl 0x558495(%rip), %eax    # 0x5c2de4
cmpl 0x558463(%rip), %eax    # 0x5c2db8
jae 0x6ac22
movl 0x5584bf(%rip), %eax    # 0x5c2e20
movl %eax, -0x14(%rbp)
movq 0x5584ad(%rip), %rax    # 0x5c2e18
movq %rax, -0x20(%rbp)
movsbl 0x55840a(%rip), %eax    # 0x5c2d80
movl %eax, -0x2c(%rbp)
subl $0x2, %eax
je 0x6a99b
jmp 0x6a980
movl -0x2c(%rbp), %eax
subl $0x4, %eax
je 0x6a9b8
jmp 0x6a98a
movl -0x2c(%rbp), %eax
subl $0x6, %eax
je 0x6aa2b
jmp 0x6aabc
movl -0x14(%rbp), %edi
movl 0x558480(%rip), %esi    # 0x5c2e24
movq -0x20(%rbp), %rdx
movl 0x558442(%rip), %ecx    # 0x5c2df0
callq 0x6adc0
jmp 0x6ac0d
jmp 0x6a9ba
movl -0x14(%rbp), %eax
cmpl 0x558461(%rip), %eax    # 0x5c2e24
jle 0x6aa26
movslq -0x14(%rbp), %rcx
leaq 0x53e730(%rip), %rax    # 0x5a9100
movzbl (%rax,%rcx), %eax
movl %eax, %ecx
leaq 0x557fa3(%rip), %rax    # 0x5c2980
movl (%rax,%rcx,4), %eax
andl $0xffffff, %eax         # imm = 0xFFFFFF
movl %eax, -0x30(%rbp)
movl -0x14(%rbp), %eax
subl $0x1, %eax
movslq %eax, %rcx
leaq 0x53e708(%rip), %rax    # 0x5a9100
movzbl (%rax,%rcx), %edi
callq 0x620c0
movl -0x30(%rbp), %ecx
orl %eax, %ecx
movq -0x20(%rbp), %rax
movl %ecx, (%rax)
movslq 0x5583dd(%rip), %rax    # 0x5c2df0
addq -0x20(%rbp), %rax
movq %rax, -0x20(%rbp)
movl -0x14(%rbp), %eax
subl $0x2, %eax
movl %eax, -0x14(%rbp)
jmp 0x6a9ba
jmp 0x6ac0d
jmp 0x6aa2d
movl -0x14(%rbp), %eax
cmpl 0x5583ee(%rip), %eax    # 0x5c2e24
jle 0x6aab7
movslq -0x14(%rbp), %rcx
leaq 0x53e6bd(%rip), %rax    # 0x5a9100
movb (%rax,%rcx), %cl
movq -0x20(%rbp), %rax
movb %cl, (%rax)
movl -0x14(%rbp), %eax
addl $0x1, %eax
movslq %eax, %rcx
leaq 0x53e6a4(%rip), %rax    # 0x5a9100
movb (%rax,%rcx), %cl
movq -0x20(%rbp), %rax
movb %cl, 0x1(%rax)
movl -0x14(%rbp), %eax
addl $0x2, %eax
movslq %eax, %rcx
leaq 0x53e68a(%rip), %rax    # 0x5a9100
movb (%rax,%rcx), %cl
movq -0x20(%rbp), %rax
movb %cl, 0x2(%rax)
movl -0x14(%rbp), %eax
subl $0x1, %eax
movslq %eax, %rcx
leaq 0x53e670(%rip), %rax    # 0x5a9100
movb (%rax,%rcx), %cl
movq -0x20(%rbp), %rax
movb %cl, 0x3(%rax)
movslq 0x55834f(%rip), %rax    # 0x5c2df0
addq -0x20(%rbp), %rax
movq %rax, -0x20(%rbp)
movl -0x14(%rbp), %eax
subl $0x4, %eax
movl %eax, -0x14(%rbp)
jmp 0x6aa2d
jmp 0x6ac0d
movsbl 0x5582be(%rip), %eax    # 0x5c2d81
decl %eax
movl %eax, %ecx
movq %rcx, -0x38(%rbp)
subl $0x7, %eax
ja 0x6ac0b
movq -0x38(%rbp), %rax
leaq 0x48cdd(%rip), %rcx     # 0xb37bc
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
jmp 0x6aaea
movl -0x14(%rbp), %eax
cmpl 0x558331(%rip), %eax    # 0x5c2e24
jle 0x6ab3e
movl -0x14(%rbp), %eax
sarl $0x3, %eax
movslq %eax, %rcx
leaq 0x53e5fb(%rip), %rax    # 0x5a9100
movzbl (%rax,%rcx), %eax
movl -0x14(%rbp), %ecx
andl $0x7, %ecx
sarl %cl, %eax
movslq %eax, %rcx
leaq 0x557e65(%rip), %rax    # 0x5c2980
movl (%rax,%rcx,4), %ecx
movq -0x20(%rbp), %rax
movl %ecx, (%rax)
movslq 0x5582c5(%rip), %rax    # 0x5c2df0
addq -0x20(%rbp), %rax
movq %rax, -0x20(%rbp)
movl -0x14(%rbp), %eax
addl $-0x1, %eax
movl %eax, -0x14(%rbp)
jmp 0x6aaea
jmp 0x6ac0b
jmp 0x6ab45
movl -0x14(%rbp), %eax
cmpl 0x5582d6(%rip), %eax    # 0x5c2e24
jle 0x6ab99
movl -0x14(%rbp), %eax
sarl $0x3, %eax
movslq %eax, %rcx
leaq 0x53e5a0(%rip), %rax    # 0x5a9100
movzbl (%rax,%rcx), %eax
movl -0x14(%rbp), %ecx
andl $0x6, %ecx
sarl %cl, %eax
movslq %eax, %rcx
leaq 0x557e0a(%rip), %rax    # 0x5c2980
movl (%rax,%rcx,4), %ecx
movq -0x20(%rbp), %rax
movl %ecx, (%rax)
movslq 0x55826a(%rip), %rax    # 0x5c2df0
addq -0x20(%rbp), %rax
movq %rax, -0x20(%rbp)
movl -0x14(%rbp), %eax
subl $0x2, %eax
movl %eax, -0x14(%rbp)
jmp 0x6ab45
jmp 0x6ac0b
jmp 0x6ab9d
movl -0x14(%rbp), %eax
cmpl 0x55827e(%rip), %eax    # 0x5c2e24
jle 0x6abf1
movl -0x14(%rbp), %eax
sarl $0x3, %eax
movslq %eax, %rcx
leaq 0x53e548(%rip), %rax    # 0x5a9100
movzbl (%rax,%rcx), %eax
movl -0x14(%rbp), %ecx
andl $0x4, %ecx
sarl %cl, %eax
movslq %eax, %rcx
leaq 0x557db2(%rip), %rax    # 0x5c2980
movl (%rax,%rcx,4), %ecx
movq -0x20(%rbp), %rax
movl %ecx, (%rax)
movslq 0x558212(%rip), %rax    # 0x5c2df0
addq -0x20(%rbp), %rax
movq %rax, -0x20(%rbp)
movl -0x14(%rbp), %eax
subl $0x4, %eax
movl %eax, -0x14(%rbp)
jmp 0x6ab9d
jmp 0x6ac0b
movl -0x14(%rbp), %edi
movl 0x558228(%rip), %esi    # 0x5c2e24
movq -0x20(%rbp), %rdx
movl 0x5581ea(%rip), %ecx    # 0x5c2df0
callq 0x6ae70
jmp 0x6ac0d
movslq 0x5581e8(%rip), %rax    # 0x5c2dfc
addq 0x5581fd(%rip), %rax    # 0x5c2e18
movq %rax, 0x5581f6(%rip)    # 0x5c2e18
movl $0x0, 0x5581d4(%rip)    # 0x5c2e00
movl $0x0, 0x5581ce(%rip)    # 0x5c2e04
movl 0x5581a4(%rip), %eax    # 0x5c2de0
movl %eax, 0x5581c6(%rip)    # 0x5c2e08
movl 0x5581ac(%rip), %eax    # 0x5c2df4
addl 0x558196(%rip), %eax    # 0x5c2de4
movl %eax, 0x558190(%rip)    # 0x5c2de4
cmpl $0x0, 0x55813d(%rip)    # 0x5c2d98
je 0x6ac87
movl 0x558181(%rip), %eax    # 0x5c2de4
movl 0x558157(%rip), %ecx    # 0x5c2dc0
addl 0x558125(%rip), %ecx    # 0x5c2d94
cmpl %ecx, %eax
jl 0x6ac87
movl 0x55811f(%rip), %eax    # 0x5c2d98
addl $-0x1, %eax
movl %eax, 0x558116(%rip)    # 0x5c2d98
callq 0x6a010
movl -0x10(%rbp), %eax
cmpl -0xc(%rbp), %eax
jge 0x6acf5
movq -0x8(%rbp), %rax
movl -0x10(%rbp), %ecx
movl %ecx, %edx
addl $0x1, %edx
movl %edx, -0x10(%rbp)
movslq %ecx, %rcx
movzbl (%rax,%rcx), %eax
movl %eax, 0x558165(%rip)    # 0x5c2e10
cmpl $0x0, 0x5580d6(%rip)    # 0x5c2d88
jge 0x6acc2
movl 0x558156(%rip), %eax    # 0x5c2e10
movl %eax, 0x5580c8(%rip)    # 0x5c2d88
jmp 0x6acdb
movl 0x558148(%rip), %ecx    # 0x5c2e10
movl $0x1, %eax
shll %cl, %eax
orl 0x5580b7(%rip), %eax    # 0x5c2d8c
movl %eax, 0x5580b1(%rip)    # 0x5c2d8c
movl 0x55812f(%rip), %eax    # 0x5c2e10
cmpl 0x765a1(%rip), %eax     # 0xe1288
jne 0x6acf3
movl $0x5, 0x55811d(%rip)    # 0x5c2e10
jmp 0x6acff
movl $0xffffffff, 0x558111(%rip) # imm = 0xFFFFFFFF
jmp 0x6a56a
addq $0x40, %rsp
popq %rbp
retq
nopw (%rax,%rax)