// File: /workspace/github_c_makefile_star2_O3/lyda[P]tz/localtime.c
// Function: tzload
static int
tzload(name, sp, doextend)
register const char *		name;
register struct state * const	sp;
register const int		doextend;
{
	register const char *		p;
	register int			i;
	register int			fid;
	register int			stored;
	register int			nread;
	typedef union {
		struct tzhead	tzhead;
		char		buf[2 * sizeof(struct tzhead) +
					2 * sizeof *sp +
					4 * TZ_MAX_TIMES];
	} u_t;
#ifdef ALL_STATE
	register u_t *			up;

	up = (u_t *) calloc(1, sizeof *up);
	if (up == NULL)
		return -1;
#else /* !defined ALL_STATE */
	u_t				u;
	register u_t * const		up = &u;
#endif /* !defined ALL_STATE */

	sp->goback = sp->goahead = FALSE;
	if (name == NULL && (name = TZDEFAULT) == NULL)
		goto oops;
	{
		register int	doaccess;
		/*
		** Section 4.9.1 of the C standard says that
		** "FILENAME_MAX expands to an integral constant expression
		** that is the size needed for an array of char large enough
		** to hold the longest file name string that the implementation
		** guarantees can be opened."
		*/
		char		fullname[FILENAME_MAX + 1];

		if (name[0] == ':')
			++name;
		doaccess = name[0] == '/';
		if (!doaccess) {
			if ((p = TZDIR) == NULL)
				goto oops;
			if ((strlen(p) + strlen(name) + 1) >= sizeof fullname)
				goto oops;
			(void) strcpy(fullname, p);
			(void) strcat(fullname, "/");
			(void) strcat(fullname, name);
			/*
			** Set doaccess if '.' (as in "../") shows up in name.
			*/
			if (strchr(name, '.') != NULL)
				doaccess = TRUE;
			name = fullname;
		}
		if (doaccess && access(name, R_OK) != 0)
			goto oops;
		if ((fid = open(name, OPEN_MODE)) == -1)
			goto oops;
	}
	nread = read(fid, up->buf, sizeof up->buf);
	if (close(fid) < 0 || nread <= 0)
		goto oops;
	for (stored = 4; stored <= 8; stored *= 2) {
		int		ttisstdcnt;
		int		ttisgmtcnt;

		ttisstdcnt = (int) detzcode(up->tzhead.tzh_ttisstdcnt);
		ttisgmtcnt = (int) detzcode(up->tzhead.tzh_ttisgmtcnt);
		sp->leapcnt = (int) detzcode(up->tzhead.tzh_leapcnt);
		sp->timecnt = (int) detzcode(up->tzhead.tzh_timecnt);
		sp->typecnt = (int) detzcode(up->tzhead.tzh_typecnt);
		sp->charcnt = (int) detzcode(up->tzhead.tzh_charcnt);
		p = up->tzhead.tzh_charcnt + sizeof up->tzhead.tzh_charcnt;
		if (sp->leapcnt < 0 || sp->leapcnt > TZ_MAX_LEAPS ||
			sp->typecnt <= 0 || sp->typecnt > TZ_MAX_TYPES ||
			sp->timecnt < 0 || sp->timecnt > TZ_MAX_TIMES ||
			sp->charcnt < 0 || sp->charcnt > TZ_MAX_CHARS ||
			(ttisstdcnt != sp->typecnt && ttisstdcnt != 0) ||
			(ttisgmtcnt != sp->typecnt && ttisgmtcnt != 0))
				goto oops;
		if (nread - (p - up->buf) <
			sp->timecnt * stored +		/* ats */
			sp->timecnt +			/* types */
			sp->typecnt * 6 +		/* ttinfos */
			sp->charcnt +			/* chars */
			sp->leapcnt * (stored + 4) +	/* lsinfos */
			ttisstdcnt +			/* ttisstds */
			ttisgmtcnt)			/* ttisgmts */
				goto oops;
		for (i = 0; i < sp->timecnt; ++i) {
			sp->ats[i] = (stored == 4) ?
				detzcode(p) : detzcode64(p);
			p += stored;
		}
		for (i = 0; i < sp->timecnt; ++i) {
			sp->types[i] = (unsigned char) *p++;
			if (sp->types[i] >= sp->typecnt)
				goto oops;
		}
		for (i = 0; i < sp->typecnt; ++i) {
			register struct ttinfo *	ttisp;

			ttisp = &sp->ttis[i];
			ttisp->tt_gmtoff = detzcode(p);
			p += 4;
			ttisp->tt_isdst = (unsigned char) *p++;
			if (ttisp->tt_isdst != 0 && ttisp->tt_isdst != 1)
				goto oops;
			ttisp->tt_abbrind = (unsigned char) *p++;
			if (ttisp->tt_abbrind < 0 ||
				ttisp->tt_abbrind > sp->charcnt)
					goto oops;
		}
		for (i = 0; i < sp->charcnt; ++i)
			sp->chars[i] = *p++;
		sp->chars[i] = '\0';	/* ensure '\0' at end */
		for (i = 0; i < sp->leapcnt; ++i) {
			register struct lsinfo *	lsisp;

			lsisp = &sp->lsis[i];
			lsisp->ls_trans = (stored == 4) ?
				detzcode(p) : detzcode64(p);
			p += stored;
			lsisp->ls_corr = detzcode(p);
			p += 4;
		}
		for (i = 0; i < sp->typecnt; ++i) {
			register struct ttinfo *	ttisp;

			ttisp = &sp->ttis[i];
			if (ttisstdcnt == 0)
				ttisp->tt_ttisstd = FALSE;
			else {
				ttisp->tt_ttisstd = *p++;
				if (ttisp->tt_ttisstd != TRUE &&
					ttisp->tt_ttisstd != FALSE)
						goto oops;
			}
		}
		for (i = 0; i < sp->typecnt; ++i) {
			register struct ttinfo *	ttisp;

			ttisp = &sp->ttis[i];
			if (ttisgmtcnt == 0)
				ttisp->tt_ttisgmt = FALSE;
			else {
				ttisp->tt_ttisgmt = *p++;
				if (ttisp->tt_ttisgmt != TRUE &&
					ttisp->tt_ttisgmt != FALSE)
						goto oops;
			}
		}
		/*
		** Out-of-sort ats should mean we're running on a
		** signed time_t system but using a data file with
		** unsigned values (or vice versa).
		*/
		for (i = 0; i < sp->timecnt - 2; ++i)
			if (sp->ats[i] > sp->ats[i + 1]) {
				++i;
				if (TYPE_SIGNED(time_t)) {
					/*
					** Ignore the end (easy).
					*/
					sp->timecnt = i;
				} else {
					/*
					** Ignore the beginning (harder).
					*/
					register int	j;

					for (j = 0; j + i < sp->timecnt; ++j) {
						sp->ats[j] = sp->ats[j + i];
						sp->types[j] = sp->types[j + i];
					}
					sp->timecnt = j;
				}
				break;
			}
		/*
		** If this is an old file, we're done.
		*/
		if (up->tzhead.tzh_version[0] == '\0')
			break;
		nread -= p - up->buf;
		for (i = 0; i < nread; ++i)
			up->buf[i] = p[i];
		/*
		** If this is a narrow integer time_t system, we're done.
		*/
		if (stored >= (int) sizeof(time_t) && TYPE_INTEGRAL(time_t))
			break;
	}
	if (doextend && nread > 2 &&
		up->buf[0] == '\n' && up->buf[nread - 1] == '\n' &&
		sp->typecnt + 2 <= TZ_MAX_TYPES) {
			struct state	ts;
			register int	result;

			up->buf[nread - 1] = '\0';
			result = tzparse(&up->buf[1], &ts, FALSE);
			if (result == 0 && ts.typecnt == 2 &&
				sp->charcnt + ts.charcnt <= TZ_MAX_CHARS) {
					for (i = 0; i < 2; ++i)
						ts.ttis[i].tt_abbrind +=
							sp->charcnt;
					for (i = 0; i < ts.charcnt; ++i)
						sp->chars[sp->charcnt++] =
							ts.chars[i];
					i = 0;
					while (i < ts.timecnt &&
						ts.ats[i] <=
						sp->ats[sp->timecnt - 1])
							++i;
					while (i < ts.timecnt &&
					    sp->timecnt < TZ_MAX_TIMES) {
						sp->ats[sp->timecnt] =
							ts.ats[i];
						sp->types[sp->timecnt] =
							sp->typecnt +
							ts.types[i];
						++sp->timecnt;
						++i;
					}
					sp->ttis[sp->typecnt++] = ts.ttis[0];
					sp->ttis[sp->typecnt++] = ts.ttis[1];
			}
	}
	if (sp->timecnt > 1) {
		for (i = 1; i < sp->timecnt; ++i)
			if (typesequiv(sp, sp->types[i], sp->types[0]) &&
				differ_by_repeat(sp->ats[i], sp->ats[0])) {
					sp->goback = TRUE;
					break;
				}
		for (i = sp->timecnt - 2; i >= 0; --i)
			if (typesequiv(sp, sp->types[sp->timecnt - 1],
				sp->types[i]) &&
				differ_by_repeat(sp->ats[sp->timecnt - 1],
				sp->ats[i])) {
					sp->goahead = TRUE;
					break;
		}
	}
#ifdef ALL_STATE
	(void) free((void *) up);
#endif /* defined ALL_STATE */
	return 0;
oops:
#ifdef ALL_STATE
	(void) free((void *) up);
#endif /* defined ALL_STATE */
	return -1;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xe9b8, %rsp           # imm = 0xE9B8
movl %edx, %ebp
movq %rsi, %rbx
testq %rdi, %rdi
leaq 0x2f2e(%rip), %rax      # 0x522b
cmovneq %rdi, %rax
movq $0x0, 0x10(%rsi)
xorl %ecx, %ecx
cmpb $0x3a, (%rax)
sete %cl
leaq (%rax,%rcx), %r14
cmpb $0x2f, (%rax,%rcx)
je 0x2388
movq %r14, %rdi
callq 0x10b0
addq $-0xfe9, %rax           # imm = 0xF017
cmpq $-0x1001, %rax          # imm = 0xEFFF
jb 0x2a01
movups 0x2ef9(%rip), %xmm0     # 0x5235
leaq 0x47d0(%rsp), %r15
movaps %xmm0, (%r15)
movabsq $0x6f666e69656e6f, %rax # imm = 0x6F666E69656E6F
movq %rax, 0x10(%r15)
movq %r15, %rdi
callq 0x10b0
movw $0x2f, 0x47d0(%rsp,%rax)
movq %r15, %rdi
movq %r14, %rsi
callq 0x1200
movq %r14, %rdi
movl $0x2e, %esi
callq 0x10d0
movq %r15, %r14
testq %rax, %rax
je 0x239d
movq %r14, %rdi
movl $0x4, %esi
callq 0x11d0
testl %eax, %eax
jne 0x2a01
movq %r14, %rdi
xorl %esi, %esi
xorl %eax, %eax
callq 0x11c0
cmpl $-0x1, %eax
je 0x2a01
movl %eax, %r15d
leaq 0x47d0(%rsp), %rsi
movl $0xa1e8, %edx           # imm = 0xA1E8
movl %eax, %edi
callq 0x1120
movq %rax, %r14
movl %r15d, %edi
callq 0x1100
testl %eax, %eax
sets %al
testl %r14d, %r14d
setle %cl
orb %al, %cl
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
jne 0x2a06
leaq 0x2a48(%rbx), %r8
leaq 0x4448(%rbx), %rax
movq %rax, 0x58(%rsp)
leaq 0x2a58(%rbx), %rax
movq %rax, 0x50(%rsp)
leaq 0x2a5c(%rbx), %rax
movq %rax, 0x48(%rsp)
movl $0x4, %eax
movq %rax, 0x10(%rsp)
movq %rbx, 0x8(%rsp)
movq %r8, 0x40(%rsp)
movl %ebp, 0x24(%rsp)
movb 0x47e8(%rsp), %al
sarb $0x7, %al
movsbl %al, %r13d
movl $0x18, %eax
movl %r13d, %ecx
shll $0x8, %ecx
movzbl 0x47d0(%rsp,%rax), %r13d
orl %ecx, %r13d
incq %rax
cmpq $0x1c, %rax
jne 0x2442
movb 0x47e4(%rsp), %al
sarb $0x7, %al
movsbl %al, %r11d
movl $0x14, %eax
movl %r11d, %ecx
shll $0x8, %ecx
movzbl 0x47d0(%rsp,%rax), %r11d
orl %ecx, %r11d
incq %rax
cmpq $0x18, %rax
jne 0x2470
movq %r14, 0x30(%rsp)
movb 0x47ec(%rsp), %al
sarb $0x7, %al
movsbl %al, %r14d
movl $0x1c, %eax
shll $0x8, %r14d
movzbl 0x47d0(%rsp,%rax), %edi
orl %edi, %r14d
incq %rax
cmpq $0x20, %rax
jne 0x24a3
movl %r14d, (%rbx)
movb 0x47f0(%rsp), %al
sarb $0x7, %al
movsbl %al, %ecx
movl $0x20, %eax
movl %ecx, %r12d
shll $0x8, %r12d
movzbl 0x47d0(%rsp,%rax), %r8d
leal (%r12,%r8), %ecx
incq %rax
cmpq $0x24, %rax
jne 0x24d0
movl %ecx, 0x4(%rbx)
movb 0x47f4(%rsp), %al
sarb $0x7, %al
movsbl %al, %r15d
movl $0x24, %eax
movl %r15d, %r10d
shll $0x8, %r10d
movzbl 0x47d0(%rsp,%rax), %esi
leal (%r10,%rsi), %r15d
incq %rax
cmpq $0x28, %rax
jne 0x2503
movl %r15d, 0x8(%rbx)
movb 0x47f8(%rsp), %al
sarb $0x7, %al
movsbl %al, %ebp
movl $0x28, %eax
shll $0x8, %ebp
movzbl 0x47d0(%rsp,%rax), %edx
orl %edx, %ebp
incq %rax
cmpq $0x2c, %rax
jne 0x2535
movl %ebp, 0xc(%rbx)
cmpl $0x32, %r14d
ja 0x2a01
leal -0x101(%r15), %eax
cmpl $0xffffff00, %eax       # imm = 0xFFFFFF00
jb 0x2a01
cmpl $0x4b0, %ecx            # imm = 0x4B0
ja 0x2a01
cmpl $0x32, %ebp
ja 0x2a01
testl %r13d, %r13d
je 0x258d
cmpl %r13d, %r15d
jne 0x2a01
testl %r11d, %r11d
je 0x259b
cmpl %r11d, %r15d
jne 0x2a01
movslq 0x30(%rsp), %rax
addq $-0x2c, %rax
movq %rcx, %r9
movq 0x10(%rsp), %rbx
movl %ebx, %ecx
orl $0x1, %ecx
imull %r9d, %ecx
movq %r15, 0x28(%rsp)
leal (%r15,%r15,2), %r15d
movq %r15, 0x38(%rsp)
leal 0x4(%rbx), %r15d
imull %r14d, %r15d
addl %r11d, %r15d
addl %r13d, %r15d
addl %ecx, %r15d
movq 0x38(%rsp), %rcx
leal (%r15,%rcx,2), %ecx
addl %ebp, %ecx
movslq %ecx, %rcx
cmpq %rcx, %rax
jl 0x2a01
leaq 0x47fc(%rsp), %rcx
movq %r9, 0x18(%rsp)
testl %r9d, %r9d
je 0x26b3
movl 0x10(%rsp), %eax
movq %rax, 0x38(%rsp)
movl %r12d, %eax
orl %r8d, %eax
movq %rax, 0x60(%rsp)
xorl %eax, %eax
movb (%rcx), %bl
sarb $0x7, %bl
movsbq %bl, %r15
cmpl $0x4, 0x10(%rsp)
jne 0x2640
xorl %ebx, %ebx
shlq $0x8, %r15
movzbl (%rcx,%rbx), %r9d
orq %r9, %r15
incq %rbx
cmpq $0x4, %rbx
jne 0x2629
jmp 0x2657
xorl %ebx, %ebx
shlq $0x8, %r15
movzbl (%rcx,%rbx), %r9d
orq %r9, %r15
incq %rbx
cmpq $0x8, %rbx
jne 0x2642
movq 0x8(%rsp), %r9
movq %r15, 0x18(%r9,%rax,8)
addq 0x38(%rsp), %rcx
incq %rax
cmpq 0x60(%rsp), %rax
jne 0x2617
cmpl $0x0, 0x18(%rsp)
movq 0x8(%rsp), %r9
je 0x26a9
orl %r8d, %r12d
xorl %eax, %eax
movq 0x28(%rsp), %rbx
movzbl (%rcx,%rax), %r8d
movb %r8b, 0x2598(%r9,%rax)
cmpl %r8d, %ebx
jle 0x2a01
incq %rax
cmpq %rax, %r12
jne 0x2686
addq %rax, %rcx
jmp 0x26b3
movq 0x28(%rsp), %r15
testl %r15d, %r15d
jle 0x2731
movl %r10d, %eax
orl %esi, %eax
xorl %r8d, %r8d
movq 0x40(%rsp), %r12
movb (%rcx), %r9b
sarb $0x7, %r9b
movsbq %r9b, %rbx
xorl %r15d, %r15d
movq %rbx, %r9
shlq $0x8, %r9
movzbl (%rcx,%r15), %ebx
orq %r9, %rbx
incq %r15
cmpq $0x4, %r15
jne 0x26ce
leaq (%r8,%r8,2), %r15
movq %rbx, (%r12,%r15,8)
movzbl 0x4(%rcx), %r9d
movl %r9d, 0x8(%r12,%r15,8)
cmpl $0x1, %r9d
ja 0x2a01
leaq (%r12,%r15,8), %r9
movzbl 0x5(%rcx), %ebx
movl %ebx, 0xc(%r9)
cmpl %ebx, %ebp
jl 0x2a01
addq $0x6, %rcx
incq %r8
cmpq %rax, %r8
jne 0x26c0
movb $0x1, %r12b
movq 0x8(%rsp), %r9
movq 0x28(%rsp), %r15
jmp 0x2734
xorl %r12d, %r12d
testl %ebp, %ebp
jle 0x2753
xorl %eax, %eax
movb (%rcx,%rax), %r8b
movb %r8b, 0x4248(%r9,%rax)
incq %rax
cmpq %rax, %rdx
jne 0x273a
addq %rax, %rcx
jmp 0x2755
xorl %edx, %edx
movb $0x0, 0x4248(%r9,%rdx)
testl %r14d, %r14d
jle 0x2808
movl 0x10(%rsp), %edx
leaq (%rcx,%rdx), %r8
leaq 0x4(%rdx), %r14
xorl %ebp, %ebp
movb (%rcx), %al
sarb $0x7, %al
movsbq %al, %rax
cmpl $0x4, 0x10(%rsp)
jne 0x279e
xorl %ebx, %ebx
shlq $0x8, %rax
movzbl (%rcx,%rbx), %r9d
orq %r9, %rax
incq %rbx
cmpq $0x4, %rbx
jne 0x2787
jmp 0x27b5
xorl %ebx, %ebx
shlq $0x8, %rax
movzbl (%rcx,%rbx), %r9d
orq %r9, %rax
incq %rbx
cmpq $0x8, %rbx
jne 0x27a0
movq %rbp, %rbx
shlq $0x4, %rbx
addq 0x58(%rsp), %rbx
movq %rax, (%rbx)
movb (%rcx,%rdx), %al
addq %rdx, %rcx
sarb $0x7, %al
movsbq %al, %rax
xorl %r15d, %r15d
movq %rax, %r9
shlq $0x8, %r9
movzbl (%r8,%r15), %eax
orq %r9, %rax
incq %r15
cmpq $0x4, %r15
jne 0x27d4
movq %rax, 0x8(%rbx)
addq $0x4, %rcx
incq %rbp
addq %r14, %r8
cmpq %rdi, %rbp
movq 0x28(%rsp), %r15
jne 0x2775
testb %r12b, %r12b
je 0x2885
orl %esi, %r10d
movq %r10, %rdi
movq 0x50(%rsp), %rdx
movq 0x8(%rsp), %rbx
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
testl %r13d, %r13d
je 0x283a
movsbl (%rcx), %esi
movl %esi, (%rdx)
cmpl $0x1, %esi
ja 0x2a06
incq %rcx
jmp 0x2840
movl $0x0, (%rdx)
addq $0x18, %rdx
decq %rdi
jne 0x2822
movq 0x48(%rsp), %rax
testb %r12b, %r12b
movl 0x24(%rsp), %ebp
movq 0x30(%rsp), %r14
je 0x2893
testl %r11d, %r11d
je 0x2874
movsbl (%rcx), %edx
movl %edx, (%rax)
cmpl $0x1, %edx
ja 0x2a01
incq %rcx
jmp 0x287a
movl $0x0, (%rax)
addq $0x18, %rax
decq %r10
jne 0x285c
jmp 0x2893
movq 0x8(%rsp), %rbx
movl 0x24(%rsp), %ebp
movq 0x30(%rsp), %r14
movq 0x18(%rsp), %rdx
cmpl $0x3, %edx
movl $0x2, %eax
cmovgel %edx, %eax
addl $-0x2, %eax
xorl %edx, %edx
cmpq %rdx, %rax
je 0x28c8
movq 0x18(%rbx,%rdx,8), %rdi
leaq 0x1(%rdx), %rsi
cmpq 0x20(%rbx,%rdx,8), %rdi
movq %rsi, %rdx
jle 0x28a8
movl %esi, 0x4(%rbx)
movq %rsi, 0x18(%rsp)
cmpb $0x0, 0x47d4(%rsp)
je 0x2913
leaq 0x47d0(%rsp), %rax
subl %ecx, %eax
addl %eax, %r14d
testl %r14d, %r14d
jle 0x28fd
movl %r14d, %eax
xorl %edx, %edx
movb (%rcx,%rdx), %sil
movb %sil, 0x47d0(%rsp,%rdx)
incq %rdx
cmpq %rdx, %rax
jne 0x28e9
movq 0x10(%rsp), %rcx
leal (%rcx,%rcx), %eax
cmpl $0x5, %ecx
movq %rax, 0x10(%rsp)
jb 0x242f
testl %ebp, %ebp
je 0x2a18
cmpl $0x3, %r14d
movq 0x18(%rsp), %rcx
jl 0x2ab5
cmpb $0xa, 0x47d0(%rsp)
jne 0x2ab5
decl %r14d
cmpb $0xa, 0x47d0(%rsp,%r14)
jne 0x2ab5
cmpl $0xfe, %r15d
jg 0x2ab5
movb $0x0, 0x47d0(%rsp,%r14)
leaq 0x47d1(%rsp), %rdi
leaq 0x68(%rsp), %rsi
xorl %edx, %edx
callq 0x2b84
testl %eax, %eax
jne 0x2ab2
cmpl $0x2, 0x70(%rsp)
jne 0x2ab2
movl 0xc(%rbx), %ecx
movl 0x74(%rsp), %eax
leal (%rax,%rcx), %edx
cmpl $0x32, %edx
jg 0x2ab2
addl %ecx, 0x2abc(%rsp)
addl %ecx, 0x2ad4(%rsp)
testl %eax, %eax
jle 0x29ce
xorl %ecx, %ecx
movb 0x42b0(%rsp,%rcx), %dl
movslq 0xc(%rbx), %rsi
leal 0x1(%rsi), %edi
movl %edi, 0xc(%rbx)
movb %dl, 0x4248(%rbx,%rsi)
incq %rcx
cmpq %rcx, %rax
jne 0x29ae
leaq 0x2ab0(%rsp), %rax
movslq -0x2a44(%rax), %rcx
testq %rcx, %rcx
jle 0x2a22
movslq 0x4(%rbx), %rdx
movq 0x10(%rbx,%rdx,8), %rsi
xorl %edx, %edx
cmpq %rsi, 0x80(%rsp,%rdx,8)
jg 0x2a24
incq %rdx
cmpq %rdx, %rcx
jne 0x29ed
jmp 0x2a68
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
addq $0xe9b8, %rsp           # imm = 0xE9B8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq 0x18(%rsp), %rcx
jmp 0x2ab5
xorl %edx, %edx
cmpl %ecx, %edx
jge 0x2a68
movl %edx, %edx
movl 0x4(%rbx), %esi
cmpl $0x4af, %esi            # imm = 0x4AF
jg 0x2a68
movq 0x80(%rsp,%rdx,8), %rdi
movslq %esi, %rsi
movq %rdi, 0x18(%rbx,%rsi,8)
movb 0x2600(%rsp,%rdx), %dil
addb 0x8(%rbx), %dil
movb %dil, 0x2598(%rbx,%rsi)
movl 0x4(%rbx), %esi
incl %esi
movl %esi, 0x4(%rbx)
incq %rdx
cmpl %edx, %ecx
jg 0x2a2d
movslq 0x8(%rbx), %rcx
leal 0x1(%rcx), %edx
movl %edx, 0x8(%rbx)
leaq (%rcx,%rcx,2), %rcx
movq 0x10(%rax), %rdx
movq 0x40(%rsp), %rsi
movq %rdx, 0x10(%rsi,%rcx,8)
movups (%rax), %xmm0
movups %xmm0, (%rsi,%rcx,8)
movslq 0x8(%rbx), %rax
leal 0x1(%rax), %ecx
movl %ecx, 0x8(%rbx)
leaq (%rax,%rax,2), %rax
movq 0x2ad8(%rsp), %rcx
movq %rcx, 0x10(%rsi,%rax,8)
movups 0x2ac8(%rsp), %xmm0
movups %xmm0, (%rsi,%rax,8)
movl 0x4(%rbx), %ecx
xorl %eax, %eax
cmpl $0x2, %ecx
jl 0x2a06
movabsq $0x2f0605980, %r14      # imm = 0x2F0605980
movq 0x8(%rsp), %rax
movzbl 0x2598(%rax), %ebp
movq %rcx, %r13
movl %ecx, %ebx
decq %rbx
xorl %r15d, %r15d
movq 0x8(%rsp), %r12
movzbl 0x2599(%r12,%r15), %esi
movq %r12, %rdi
movl %ebp, %edx
callq 0x366e
testl %eax, %eax
je 0x2b0c
movq 0x20(%r12,%r15,8), %rax
subq 0x18(%r12), %rax
cmpq %r14, %rax
je 0x2b16
incq %r15
cmpq %r15, %rbx
jne 0x2ae6
jmp 0x2b1f
movl $0x1, 0x10(%r12)
leal -0x2(%r13), %ebx
movslq %r13d, %r15
movq 0x8(%rsp), %rax
movzbl 0x2597(%rax,%r15), %ebp
decl %r13d
movq 0x8(%rsp), %r12
movzbl 0x2598(%r12,%rbx), %edx
movq %r12, %rdi
movl %ebp, %esi
callq 0x366e
testl %eax, %eax
je 0x2b62
movq 0x10(%r12,%r15,8), %rax
subq 0x18(%r12,%rbx,8), %rax
cmpq %r14, %rax
je 0x2b74
decq %rbx
decl %r13d
xorl %eax, %eax
testl %r13d, %r13d
jg 0x2b3c
jmp 0x2a06
movl $0x1, 0x14(%r12)
xorl %eax, %eax
jmp 0x2a06