// File: /workspace/github_c_makefile_star2_O0/ajpaulson[P]srogue11/things.c
// Function: inv_name
char *inv_name(struct object *obj,bool drop)
{
	char *pb, *tn, *pl;
	int wh, knowit;
	char nm[3], *inm, *q;

	wh = obj->o_which;
	knowit = FALSE;
	if (obj->o_count > 1)
		pl = "s";
	else
		pl = "";
	if (obj->o_count > 1)
		sprintf(nm, "%d", obj->o_count);
	else
		strcpy(nm, "A");
	tn = obj->o_typname;
	q = "";
	switch(obj->o_type) {
	case SCROLL:
		sprintf(prbuf, "%s %s%s ", nm, tn, pl);
		pb = &prbuf[strlen(prbuf)];
		if (s_know[wh] || o_on(obj,ISPOST)) {
			knowit = TRUE;
			sprintf(pb, "of %s", s_magic[wh].mi_name);
		}
		else if (s_guess[wh])
			sprintf(pb, "called %s", s_guess[wh]);
		else
			sprintf(pb, "titled '%s'", s_names[wh]);
    when POTION:
		sprintf(prbuf, "%s %s%s ", nm, tn, pl);
		pb = &prbuf[strlen(prbuf)];
		if (p_know[wh] || o_on(obj, ISPOST)) {
			sprintf(pb, "of %s", p_magic[wh].mi_name);
			knowit = TRUE;
			if (p_know[wh]) {
				pb = &prbuf[strlen(prbuf)];
				sprintf(pb,"(%s)",p_colors[wh]);
			}
		}
		else if (p_guess[wh])
			sprintf(pb,"called %s(%s)", p_guess[wh],p_colors[wh]);
		else
			sprintf(prbuf,"%s%s %s %s%s", nm, vowelstr(p_colors[wh]),
				p_colors[wh], tn, pl);
	when FOOD:
		if (wh == 1) {
			if (obj->o_count == 1)
				q = vowelstr(fruit);
			sprintf(prbuf, "%s%s %s%s", nm, q, fruit, pl);
		}
		else {
			if (obj->o_count == 1)
				sprintf(prbuf, "Some %s", tn);
			else
				sprintf(prbuf, "%s rations of %s", nm, tn);
		}
		knowit = TRUE;
	when WEAPON:
		inm = w_magic[wh].mi_name;
		strcpy(prbuf, nm);
		if (obj->o_count == 1)
			q = vowelstr(inm);
		pb = &prbuf[strlen(prbuf)];
		if (o_on(obj,ISKNOW | ISPOST)) {
			knowit = TRUE;
			sprintf(pb, " %s %s", num(obj->o_hplus, obj->o_dplus), inm);
		}
		else
			sprintf(pb, "%s %s", q, inm);
		strcat(prbuf, pl);
	when ARMOR:
		inm = a_magic[wh].mi_name;
		if (o_on(obj,ISKNOW | ISPOST)) {
			knowit = TRUE;
			sprintf(prbuf, "%s %s",num(armors[wh].a_class - obj->o_ac, 0),
				inm);
		}
		else
			sprintf(prbuf, "%s", inm);
	when AMULET:
		strcpy(prbuf, "The Amulet of Yendor");
	when STICK: {
		struct rod *rd;

		rd = &ws_stuff[wh];
		sprintf(prbuf, "A %s ", rd->ws_type);
		pb = &prbuf[strlen(prbuf)];
		if (ws_know[wh] || o_on(obj, ISPOST)) {
			knowit = TRUE;
			sprintf(pb,"of %s%s",ws_magic[wh].mi_name,charge_str(obj));
			if (ws_know[wh]) {
				pb = &prbuf[strlen(prbuf)];
				sprintf(pb,"(%s)",rd->ws_made);
			}
		}
		else if (ws_guess[wh])
			sprintf(pb, "called %s(%s)", ws_guess[wh], rd->ws_made);
		else
			sprintf(prbuf, "A%s %s %s", vowelstr(rd->ws_made),
				rd->ws_made, rd->ws_type);
	}
    when RING:
		if (r_know[wh] || o_on(obj, ISPOST)) {
			knowit = TRUE;
			sprintf(prbuf, "A%s %s of %s", ring_num(obj), tn,
			  r_magic[wh].mi_name);
			if (r_know[wh]) {
				pb = &prbuf[strlen(prbuf)];
				sprintf(pb,"(%s)", r_stones[wh]);
			}
		}
		else if (r_guess[wh])
			sprintf(prbuf,"A %s called %s(%s)",tn, r_guess[wh],
				r_stones[wh]);
		else
			sprintf(prbuf,"A%s %s %s",vowelstr(r_stones[wh]), 
				r_stones[wh], tn);
	otherwise:
		sprintf(prbuf,"Something bizarre %s", unctrl(obj->o_type));
	}
	if (obj == cur_armor)
		strcat(prbuf, " (being worn)");
	if (obj == cur_weapon)
		strcat(prbuf, " (weapon in hand)");
	if (obj == cur_ring[LEFT])
		strcat(prbuf, " (on left hand)");
	else if (obj == cur_ring[RIGHT])
		strcat(prbuf, " (on right hand)");
	if (drop && isupper(prbuf[0]))
		prbuf[0] = tolower(prbuf[0]);
	else if (!drop && islower(*prbuf))
		*prbuf = toupper(*prbuf);
	if (o_on(obj, ISPROT))
		strcat(prbuf, " [!]");
	if (o_on(obj, ISPOST))
		strcat(prbuf, " [$]");
	if (knowit) {
		if (o_on(obj, ISCURSED))
			strcat(prbuf, " [-]");
		else if (o_on(obj, ISBLESS))
			strcat(prbuf, " [+]");
	}
	if (!drop)
		strcat(prbuf, ".");
	return prbuf;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x80, %rsp
movb %sil, %al
movq %rdi, -0x8(%rbp)
andb $0x1, %al
movb %al, -0x9(%rbp)
movq -0x8(%rbp), %rax
movl 0x28(%rax), %eax
movl %eax, -0x2c(%rbp)
movl $0x0, -0x30(%rbp)
movq -0x8(%rbp), %rax
cmpl $0x1, 0x24(%rax)
jle 0x2309f
leaq 0x68a8(%rip), %rax      # 0x29941
movq %rax, -0x28(%rbp)
jmp 0x230aa
leaq 0xb209(%rip), %rax      # 0x2e2af
movq %rax, -0x28(%rbp)
movq -0x8(%rbp), %rax
cmpl $0x1, 0x24(%rax)
jle 0x230cf
leaq -0x33(%rbp), %rdi
movq -0x8(%rbp), %rax
movl 0x24(%rax), %edx
leaq 0x6674(%rip), %rsi      # 0x2973a
movb $0x0, %al
callq 0x64f0
jmp 0x230df
leaq -0x33(%rbp), %rdi
leaq 0xab0a(%rip), %rsi      # 0x2dbe4
callq 0x60d0
movq -0x8(%rbp), %rax
movq 0x18(%rax), %rax
movq %rax, -0x20(%rbp)
leaq 0xb1bd(%rip), %rax      # 0x2e2af
movq %rax, -0x48(%rbp)
movq -0x8(%rbp), %rax
movl 0x20(%rax), %eax
addl $-0x21, %eax
movl %eax, %ecx
movq %rcx, -0x58(%rbp)
subl $0x3c, %eax
ja 0x23888
movq -0x58(%rbp), %rax
leaq 0xa9b6(%rip), %rcx      # 0x2dad0
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
leaq -0x33(%rbp), %rdx
movq -0x20(%rbp), %rcx
movq -0x28(%rbp), %r8
leaq 0x141ca(%rip), %rdi     # 0x37300
leaq 0xaaa9(%rip), %rsi      # 0x2dbe6
movb $0x0, %al
callq 0x64f0
leaq 0x141b5(%rip), %rdi     # 0x37300
callq 0x6160
movq %rax, %rcx
leaq 0x141a6(%rip), %rax     # 0x37300
addq %rcx, %rax
movq %rax, -0x18(%rbp)
movslq -0x2c(%rbp), %rcx
leaq 0x166e4(%rip), %rax     # 0x39850
testb $0x1, (%rax,%rcx)
jne 0x23186
movq -0x8(%rbp), %rdi
movl $0x4, %esi
callq 0xaac0
testb $0x1, %al
jne 0x23186
jmp 0x231b6
movl $0x1, -0x30(%rbp)
movq -0x18(%rbp), %rdi
movslq -0x2c(%rbp), %rcx
leaq 0x12164(%rip), %rax     # 0x35300
shlq $0x4, %rcx
addq %rcx, %rax
movq (%rax), %rdx
leaq 0xaaa7(%rip), %rsi      # 0x2dc54
movb $0x0, %al
callq 0x64f0
jmp 0x2320e
movslq -0x2c(%rbp), %rcx
leaq 0x1636f(%rip), %rax     # 0x39530
cmpq $0x0, (%rax,%rcx,8)
je 0x231eb
movq -0x18(%rbp), %rdi
movslq -0x2c(%rbp), %rcx
leaq 0x16359(%rip), %rax     # 0x39530
movq (%rax,%rcx,8), %rdx
leaq 0xaa0d(%rip), %rsi      # 0x2dbef
movb $0x0, %al
callq 0x64f0
jmp 0x2320c
movq -0x18(%rbp), %rdi
movslq -0x2c(%rbp), %rcx
leaq 0x16796(%rip), %rax     # 0x39990
movq (%rax,%rcx,8), %rdx
leaq 0xa9f4(%rip), %rsi      # 0x2dbf9
movb $0x0, %al
callq 0x64f0
jmp 0x2320e
jmp 0x238ac
leaq -0x33(%rbp), %rdx
movq -0x20(%rbp), %rcx
movq -0x28(%rbp), %r8
leaq 0x140da(%rip), %rdi     # 0x37300
leaq 0xa9b9(%rip), %rsi      # 0x2dbe6
movb $0x0, %al
callq 0x64f0
leaq 0x140c5(%rip), %rdi     # 0x37300
callq 0x6160
movq %rax, %rcx
leaq 0x140b6(%rip), %rax     # 0x37300
addq %rcx, %rax
movq %rax, -0x18(%rbp)
movslq -0x2c(%rbp), %rcx
leaq 0x16614(%rip), %rax     # 0x39870
testb $0x1, (%rax,%rcx)
jne 0x23279
movq -0x8(%rbp), %rdi
movl $0x4, %esi
callq 0xaac0
testb $0x1, %al
jne 0x23279
jmp 0x232fb
movq -0x18(%rbp), %rdi
movslq -0x2c(%rbp), %rcx
leaq 0x12228(%rip), %rax     # 0x354b0
shlq $0x4, %rcx
addq %rcx, %rax
movq (%rax), %rdx
leaq 0xa9bb(%rip), %rsi      # 0x2dc54
movb $0x0, %al
callq 0x64f0
movl $0x1, -0x30(%rbp)
movslq -0x2c(%rbp), %rcx
leaq 0x165be(%rip), %rax     # 0x39870
testb $0x1, (%rax,%rcx)
je 0x232f6
leaq 0x14041(%rip), %rdi     # 0x37300
callq 0x6160
movq %rax, %rcx
leaq 0x14032(%rip), %rax     # 0x37300
addq %rcx, %rax
movq %rax, -0x18(%rbp)
movq -0x18(%rbp), %rdi
movslq -0x2c(%rbp), %rcx
leaq 0x1677c(%rip), %rax     # 0x39a60
movq (%rax,%rcx,8), %rdx
leaq 0xa979(%rip), %rsi      # 0x2dc68
movb $0x0, %al
callq 0x64f0
jmp 0x23394
movslq -0x2c(%rbp), %rcx
leaq 0x162fa(%rip), %rax     # 0x39600
cmpq $0x0, (%rax,%rcx,8)
je 0x2333f
movq -0x18(%rbp), %rdi
movslq -0x2c(%rbp), %rcx
leaq 0x162e4(%rip), %rax     # 0x39600
movq (%rax,%rcx,8), %rdx
movslq -0x2c(%rbp), %rcx
leaq 0x16735(%rip), %rax     # 0x39a60
movq (%rax,%rcx,8), %rcx
leaq 0xa929(%rip), %rsi      # 0x2dc5f
movb $0x0, %al
callq 0x64f0
jmp 0x23392
leaq -0x33(%rbp), %rax
movq %rax, -0x60(%rbp)
movslq -0x2c(%rbp), %rcx
leaq 0x1670e(%rip), %rax     # 0x39a60
movq (%rax,%rcx,8), %rdi
callq 0xff50
movq -0x60(%rbp), %rdx
movq %rax, %rcx
movslq -0x2c(%rbp), %rsi
leaq 0x166f3(%rip), %rax     # 0x39a60
movq (%rax,%rsi,8), %r8
movq -0x20(%rbp), %r9
movq -0x28(%rbp), %rax
leaq 0x13f80(%rip), %rdi     # 0x37300
leaq 0xa87e(%rip), %rsi      # 0x2dc05
movq %rax, (%rsp)
movb $0x0, %al
callq 0x64f0
jmp 0x23394
jmp 0x238ac
cmpl $0x1, -0x2c(%rbp)
jne 0x233e3
movq -0x8(%rbp), %rax
cmpl $0x1, 0x24(%rax)
jne 0x233b9
leaq 0x13ff0(%rip), %rdi     # 0x373a0
callq 0xff50
movq %rax, -0x48(%rbp)
leaq -0x33(%rbp), %rdx
movq -0x48(%rbp), %rcx
movq -0x28(%rbp), %r9
leaq 0x13f34(%rip), %rdi     # 0x37300
leaq 0xa83f(%rip), %rsi      # 0x2dc12
leaq 0x13fc6(%rip), %r8      # 0x373a0
movb $0x0, %al
callq 0x64f0
jmp 0x23427
movq -0x8(%rbp), %rax
cmpl $0x1, 0x24(%rax)
jne 0x23408
movq -0x20(%rbp), %rdx
leaq 0x13f08(%rip), %rdi     # 0x37300
leaq 0xa81d(%rip), %rsi      # 0x2dc1c
movb $0x0, %al
callq 0x64f0
jmp 0x23425
leaq -0x33(%rbp), %rdx
movq -0x20(%rbp), %rcx
leaq 0x13ee9(%rip), %rdi     # 0x37300
leaq 0xa806(%rip), %rsi      # 0x2dc24
movb $0x0, %al
callq 0x64f0
jmp 0x23427
movl $0x1, -0x30(%rbp)
jmp 0x238ac
movslq -0x2c(%rbp), %rcx
leaq 0x11b52(%rip), %rax     # 0x34f90
shlq $0x4, %rcx
addq %rcx, %rax
movq (%rax), %rax
movq %rax, -0x40(%rbp)
leaq -0x33(%rbp), %rsi
leaq 0x13ea9(%rip), %rdi     # 0x37300
callq 0x60d0
movq -0x8(%rbp), %rax
cmpl $0x1, 0x24(%rax)
jne 0x23473
movq -0x40(%rbp), %rdi
callq 0xff50
movq %rax, -0x48(%rbp)
leaq 0x13e86(%rip), %rdi     # 0x37300
callq 0x6160
movq %rax, %rcx
leaq 0x13e77(%rip), %rax     # 0x37300
addq %rcx, %rax
movq %rax, -0x18(%rbp)
movq -0x8(%rbp), %rdi
movl $0x6, %esi
callq 0xaac0
testb $0x1, %al
jne 0x234a4
jmp 0x234e1
movl $0x1, -0x30(%rbp)
movq -0x18(%rbp), %rax
movq %rax, -0x68(%rbp)
movq -0x8(%rbp), %rax
movl 0x2c(%rax), %edi
movq -0x8(%rbp), %rax
movl 0x30(%rax), %esi
callq 0x25fb0
movq -0x68(%rbp), %rdi
movq %rax, %rdx
movq -0x40(%rbp), %rcx
leaq 0xa76e(%rip), %rsi      # 0x2dc46
movb $0x0, %al
callq 0x64f0
jmp 0x234fb
movq -0x18(%rbp), %rdi
movq -0x48(%rbp), %rdx
movq -0x40(%rbp), %rcx
leaq 0xa753(%rip), %rsi      # 0x2dc47
movb $0x0, %al
callq 0x64f0
movq -0x28(%rbp), %rsi
leaq 0x13dfa(%rip), %rdi     # 0x37300
callq 0x64d0
jmp 0x238ac
movslq -0x2c(%rbp), %rcx
leaq 0x11945(%rip), %rax     # 0x34e60
shlq $0x4, %rcx
addq %rcx, %rax
movq (%rax), %rax
movq %rax, -0x40(%rbp)
movq -0x8(%rbp), %rdi
movl $0x6, %esi
callq 0xaac0
testb $0x1, %al
jne 0x2353d
jmp 0x23584
movl $0x1, -0x30(%rbp)
movslq -0x2c(%rbp), %rcx
leaq 0x119c1(%rip), %rax     # 0x34f10
imulq $0xc, %rcx, %rcx
addq %rcx, %rax
movl (%rax), %edi
movq -0x8(%rbp), %rax
subl 0x34(%rax), %edi
xorl %esi, %esi
callq 0x25fb0
movq %rax, %rdx
movq -0x40(%rbp), %rcx
leaq 0x13d8c(%rip), %rdi     # 0x37300
leaq 0xa6cc(%rip), %rsi      # 0x2dc47
movb $0x0, %al
callq 0x64f0
jmp 0x2359d
movq -0x40(%rbp), %rdx
leaq 0x13d71(%rip), %rdi     # 0x37300
leaq 0x63aa(%rip), %rsi      # 0x29940
movb $0x0, %al
callq 0x64f0
jmp 0x238ac
leaq 0x13d57(%rip), %rdi     # 0x37300
leaq 0x62c9(%rip), %rsi      # 0x29879
callq 0x60d0
jmp 0x238ac
movslq -0x2c(%rbp), %rcx
leaq 0x1661b(%rip), %rax     # 0x39be0
imulq $0x18, %rcx, %rcx
addq %rcx, %rax
movq %rax, -0x50(%rbp)
movq -0x50(%rbp), %rax
movq (%rax), %rdx
leaq 0x13d22(%rip), %rdi     # 0x37300
leaq 0xa650(%rip), %rsi      # 0x2dc35
movb $0x0, %al
callq 0x64f0
leaq 0x13d0d(%rip), %rdi     # 0x37300
callq 0x6160
movq %rax, %rcx
leaq 0x13cfe(%rip), %rax     # 0x37300
addq %rcx, %rax
movq %rax, -0x18(%rbp)
movslq -0x2c(%rbp), %rcx
leaq 0x1629c(%rip), %rax     # 0x398b0
testb $0x1, (%rax,%rcx)
jne 0x23631
movq -0x8(%rbp), %rdi
movl $0x4, %esi
callq 0xaac0
testb $0x1, %al
jne 0x23631
jmp 0x236c5
movl $0x1, -0x30(%rbp)
movq -0x18(%rbp), %rax
movq %rax, -0x78(%rbp)
movslq -0x2c(%rbp), %rcx
leaq 0x12175(%rip), %rax     # 0x357c0
shlq $0x4, %rcx
addq %rcx, %rax
movq (%rax), %rax
movq %rax, -0x70(%rbp)
movq -0x8(%rbp), %rdi
callq 0x22ff0
movq -0x78(%rbp), %rdi
movq -0x70(%rbp), %rdx
movq %rax, %rcx
leaq 0xa5c7(%rip), %rsi      # 0x2dc3b
movb $0x0, %al
callq 0x64f0
movslq -0x2c(%rbp), %rcx
leaq 0x1622a(%rip), %rax     # 0x398b0
testb $0x1, (%rax,%rcx)
je 0x236c3
leaq 0x13c6d(%rip), %rdi     # 0x37300
callq 0x6160
movq %rax, %rcx
leaq 0x13c5e(%rip), %rax     # 0x37300
addq %rcx, %rax
movq %rax, -0x18(%rbp)
movq -0x18(%rbp), %rdi
movq -0x50(%rbp), %rax
movq 0x8(%rax), %rdx
leaq 0xa5ac(%rip), %rsi      # 0x2dc68
movb $0x0, %al
callq 0x64f0
jmp 0x23738
movslq -0x2c(%rbp), %rcx
leaq 0x160b0(%rip), %rax     # 0x39780
cmpq $0x0, (%rax,%rcx,8)
je 0x23702
movq -0x18(%rbp), %rdi
movslq -0x2c(%rbp), %rcx
leaq 0x1609a(%rip), %rax     # 0x39780
movq (%rax,%rcx,8), %rdx
movq -0x50(%rbp), %rax
movq 0x8(%rax), %rcx
leaq 0xa566(%rip), %rsi      # 0x2dc5f
movb $0x0, %al
callq 0x64f0
jmp 0x23736
movq -0x50(%rbp), %rax
movq 0x8(%rax), %rdi
callq 0xff50
movq %rax, %rdx
movq -0x50(%rbp), %rax
movq 0x8(%rax), %rcx
movq -0x50(%rbp), %rax
movq (%rax), %r8
leaq 0x13bd8(%rip), %rdi     # 0x37300
leaq 0xa514(%rip), %rsi      # 0x2dc43
movb $0x0, %al
callq 0x64f0
jmp 0x23738
jmp 0x238ac
movslq -0x2c(%rbp), %rcx
leaq 0x16148(%rip), %rax     # 0x39890
testb $0x1, (%rax,%rcx)
jne 0x23765
movq -0x8(%rbp), %rdi
movl $0x4, %esi
callq 0xaac0
testb $0x1, %al
jne 0x23765
jmp 0x237fa
movl $0x1, -0x30(%rbp)
movq -0x8(%rbp), %rdi
callq 0x17e40
movq %rax, %rdx
movq -0x20(%rbp), %rcx
movslq -0x2c(%rbp), %rsi
leaq 0x11e89(%rip), %rax     # 0x35610
shlq $0x4, %rsi
addq %rsi, %rax
movq (%rax), %r8
leaq 0x13b68(%rip), %rdi     # 0x37300
leaq 0xa4ae(%rip), %rsi      # 0x2dc4d
movb $0x0, %al
callq 0x64f0
movslq -0x2c(%rbp), %rcx
leaq 0x160df(%rip), %rax     # 0x39890
testb $0x1, (%rax,%rcx)
je 0x237f5
leaq 0x13b42(%rip), %rdi     # 0x37300
callq 0x6160
movq %rax, %rcx
leaq 0x13b33(%rip), %rax     # 0x37300
addq %rcx, %rax
movq %rax, -0x18(%rbp)
movq -0x18(%rbp), %rdi
movslq -0x2c(%rbp), %rcx
leaq 0x1632d(%rip), %rax     # 0x39b10
movq (%rax,%rcx,8), %rdx
leaq 0xa47a(%rip), %rsi      # 0x2dc68
movb $0x0, %al
callq 0x64f0
jmp 0x23886
movslq -0x2c(%rbp), %rcx
leaq 0x15eab(%rip), %rax     # 0x396b0
cmpq $0x0, (%rax,%rcx,8)
je 0x23845
movq -0x20(%rbp), %rdx
movslq -0x2c(%rbp), %rcx
leaq 0x15e95(%rip), %rax     # 0x396b0
movq (%rax,%rcx,8), %rcx
movslq -0x2c(%rbp), %rsi
leaq 0x162e6(%rip), %rax     # 0x39b10
movq (%rax,%rsi,8), %r8
leaq 0x13acb(%rip), %rdi     # 0x37300
leaq 0xa41e(%rip), %rsi      # 0x2dc5a
movb $0x0, %al
callq 0x64f0
jmp 0x23884
movslq -0x2c(%rbp), %rcx
leaq 0x162c0(%rip), %rax     # 0x39b10
movq (%rax,%rcx,8), %rdi
callq 0xff50
movq %rax, %rdx
movslq -0x2c(%rbp), %rcx
leaq 0x162a9(%rip), %rax     # 0x39b10
movq (%rax,%rcx,8), %rcx
movq -0x20(%rbp), %r8
leaq 0x13a8a(%rip), %rdi     # 0x37300
leaq 0xa3c6(%rip), %rsi      # 0x2dc43
movb $0x0, %al
callq 0x64f0
jmp 0x23886
jmp 0x238ac
movq -0x8(%rbp), %rax
movl 0x20(%rax), %edi
callq 0x6420
movq %rax, %rdx
leaq 0x13a62(%rip), %rdi     # 0x37300
leaq 0xa3c8(%rip), %rsi      # 0x2dc6d
movb $0x0, %al
callq 0x64f0
movq -0x8(%rbp), %rax
leaq 0x13411(%rip), %rcx     # 0x36cc8
cmpq (%rcx), %rax
jne 0x238cf
leaq 0x13a3d(%rip), %rdi     # 0x37300
leaq 0xa3b8(%rip), %rsi      # 0x2dc82
callq 0x64d0
movq -0x8(%rbp), %rax
leaq 0x133e6(%rip), %rcx     # 0x36cc0
cmpq (%rcx), %rax
jne 0x238f2
leaq 0x13a1a(%rip), %rdi     # 0x37300
leaq 0xa3a3(%rip), %rsi      # 0x2dc90
callq 0x64d0
movq -0x8(%rbp), %rax
leaq 0x138c3(%rip), %rcx     # 0x371c0
cmpq (%rcx), %rax
jne 0x23917
leaq 0x139f7(%rip), %rdi     # 0x37300
leaq 0xa392(%rip), %rsi      # 0x2dca2
callq 0x64d0
jmp 0x2393d
movq -0x8(%rbp), %rax
leaq 0x1389e(%rip), %rcx     # 0x371c0
cmpq 0x8(%rcx), %rax
jne 0x2393b
leaq 0x139d1(%rip), %rdi     # 0x37300
leaq 0xa37c(%rip), %rsi      # 0x2dcb2
callq 0x64d0
jmp 0x2393d
testb $0x1, -0x9(%rbp)
je 0x23982
callq 0x65b0
movq (%rax), %rax
leaq 0x139ae(%rip), %rcx     # 0x37300
movsbl (%rcx), %ecx
movslq %ecx, %rcx
movzwl (%rax,%rcx,2), %eax
andl $0x100, %eax            # imm = 0x100
cmpl $0x0, %eax
je 0x23982
leaq 0x13993(%rip), %rax     # 0x37300
movsbl (%rax), %edi
callq 0x6320
movb %al, %cl
leaq 0x13982(%rip), %rax     # 0x37300
movb %cl, (%rax)
jmp 0x239c7
testb $0x1, -0x9(%rbp)
jne 0x239c5
callq 0x65b0
movq (%rax), %rax
leaq 0x13969(%rip), %rcx     # 0x37300
movsbl (%rcx), %ecx
movslq %ecx, %rcx
movzwl (%rax,%rcx,2), %eax
andl $0x200, %eax            # imm = 0x200
cmpl $0x0, %eax
je 0x239c5
leaq 0x1394e(%rip), %rax     # 0x37300
movsbl (%rax), %edi
callq 0x60e0
movb %al, %cl
leaq 0x1393d(%rip), %rax     # 0x37300
movb %cl, (%rax)
jmp 0x239c7
movq -0x8(%rbp), %rdi
movl $0x10, %esi
callq 0xaac0
testb $0x1, %al
jne 0x239db
jmp 0x239ee
leaq 0x1391e(%rip), %rdi     # 0x37300
leaq 0xa2da(%rip), %rsi      # 0x2dcc3
callq 0x64d0
movq -0x8(%rbp), %rdi
movl $0x4, %esi
callq 0xaac0
testb $0x1, %al
jne 0x23a02
jmp 0x23a15
leaq 0x138f7(%rip), %rdi     # 0x37300
leaq 0xa2b8(%rip), %rsi      # 0x2dcc8
callq 0x64d0
cmpl $0x0, -0x30(%rbp)
je 0x23a6f
movq -0x8(%rbp), %rdi
movl $0x1, %esi
callq 0xaac0
testb $0x1, %al
jne 0x23a2f
jmp 0x23a44
leaq 0x138ca(%rip), %rdi     # 0x37300
leaq 0xa290(%rip), %rsi      # 0x2dccd
callq 0x64d0
jmp 0x23a6d
movq -0x8(%rbp), %rdi
movl $0x20, %esi
callq 0xaac0
testb $0x1, %al
jne 0x23a58
jmp 0x23a6b
leaq 0x138a1(%rip), %rdi     # 0x37300
leaq 0xa26c(%rip), %rsi      # 0x2dcd2
callq 0x64d0
jmp 0x23a6d
jmp 0x23a6f
testb $0x1, -0x9(%rbp)
jne 0x23a88
leaq 0x13884(%rip), %rdi     # 0x37300
leaq 0x7a8c(%rip), %rsi      # 0x2b50f
callq 0x64d0
leaq 0x13871(%rip), %rax     # 0x37300
addq $0x80, %rsp
popq %rbp
retq
nopl (%rax,%rax)