// File: /workspace/github_c_makefile_star2_O0/jsummers[P]deark/modules/arc.c
// Function: member_cb_main
static void member_cb_main(deark *c, lctx *d, struct member_parser_data *mpd)
{
	int saved_indent_level;
	i64 pos1 = mpd->member_pos;
	i64 pos = pos1;
	i64 hdrsize;
	i64 mod_time_raw, mod_date_raw;
	de_finfo *fi = NULL;
	struct member_data *md = NULL;
	int need_curpath_pop = 0;
	struct persistent_member_data *pmd = NULL;

	de_dbg_indent_save(c, &saved_indent_level);
	de_dbg(c, "member at %"I64_FMT, pos1);
	de_dbg_indent(c, 1);
	md = de_malloc(c, sizeof(struct member_data));
	md->c = c;
	md->d = d;

	if(mpd->nesting_level==0 && d->persistent_md && (mpd->member_idx < d->num_top_level_members)) {
		pmd = &d->persistent_md[mpd->member_idx];
		if(ucstring_isnonempty(pmd->comment)) {
			de_dbg(c, "file comment: \"%s\"", ucstring_getpsz_d(pmd->comment));
		}
		if(ucstring_isnonempty(pmd->path)) {
			de_dbg(c, "path: \"%s\"", ucstring_getpsz_d(pmd->path));
		}
	}

	pos++; // 'magic' byte, already read by the parser
	if(mpd->magic != d->sig_byte) {
		de_err(c, "Failed to find %s member at %"I64_FMT, d->fmtname, pos1);
		goto done;
	}

	if(d->fmt==FMT_ARCMAC && mpd->cmpr_meth_masked!=0) {
		do_arcmac_preheader(c, d, md, mpd->member_pos);
		pos += 59;
	}

	pos++; // compression ID, already read by the parser
	md->cmpr_meth = mpd->cmpr_meth;
	md->cmpr_meth_masked = mpd->cmpr_meth_masked;

	md->cmi = get_cmpr_meth_info(d, md->cmpr_meth);
	if(md->cmi && md->cmi->name) {
		md->cmpr_meth_name = md->cmi->name;
	}
	else {
		md->cmpr_meth_name = "?";
	}

	de_dbg(c, "cmpr meth: 0x%02x (%s)", (unsigned int)md->cmpr_meth, md->cmpr_meth_name);

	if(md->cmpr_meth_masked==0x00 || md->cmpr_meth==0x1f) {
		hdrsize = 2;
	}
	else {
		if(md->cmpr_meth_masked==0x01) {
			hdrsize = 25;
		}
		else {
			hdrsize = 29;
		}
		if(md->cmpr_meth>=128) {
			hdrsize += 12;
		}
	}
	if(mpd->member_len<hdrsize) {
		de_err(c, "Insufficient data for archive member at %"I64_FMT, pos1);
		goto done;
	}

	if(md->cmpr_meth_masked==0x00 || md->cmpr_meth==0x1f) { // end of archive/dir marker
		goto done;
	}

	md->fn = ucstring_create(c);
	dbuf_read_to_ucstring(c->infile, pos, 13, md->fn, DE_CONVFLAG_STOP_AT_NUL,
		d->input_encoding_for_filenames);
	de_dbg(c, "filename: \"%s\"", ucstring_getpsz_d(md->fn));
	pos += 13;

	pos += 4; // cmpr_size, already read by the parser
	md->cmpr_size = mpd->cmpr_data_len;
	de_dbg(c, "cmpr size: %"I64_FMT, md->cmpr_size);

	mod_date_raw = de_getu16le_p(&pos);
	mod_time_raw = de_getu16le_p(&pos);
	de_dos_datetime_to_timestamp(&md->arc_timestamp, mod_date_raw, mod_time_raw);
	md->arc_timestamp.tzcode = DE_TZCODE_LOCAL;
	dbg_timestamp(c, &md->arc_timestamp, ((d->fmt==FMT_SPARK) ? "timestamp (ARC)":"timestamp"));

	md->crc_reported = (u32)de_getu16le_p(&pos);
	de_dbg(c, "crc (reported): 0x%04x", (unsigned int)md->crc_reported);
	if((md->cmpr_meth_masked)==0x01) {
		md->orig_size = md->cmpr_size;
	}
	else {
		md->orig_size = de_getu32le_p(&pos);
		de_dbg(c, "orig size: %"I64_FMT, md->orig_size);
	}

	if(d->fmt == FMT_SPARK) {
		md->has_spark_attribs = 1;
		fmtutil_riscos_read_load_exec(c, c->infile, &md->rfa, pos);
		pos += 8;
		fmtutil_riscos_read_attribs_field(c, c->infile, &md->rfa, pos, 0);
		pos += 4;
	}

	md->cmpr_data_pos = mpd->cmpr_data_pos;

	de_strarray_push(d->curpath, md->fn);
	need_curpath_pop = 1;

	// TODO: Is it possible to distinguish between a subdirectory, and a Spark
	// member file that should always be extracted? Does a nonzero CRC mean
	// we should not recurse?
	if(d->fmt==FMT_SPARK && d->recurse_subdirs && md->rfa.file_type_known &&
		(md->rfa.file_type==0xddc) && md->cmpr_meth==0x82)
	{
		md->is_dir = 1;
	}
	else if(d->fmt==FMT_ARC && d->recurse_subdirs && md->cmpr_meth==0x1e) {
		md->is_dir = 1;
	}

	if(d->recurse_subdirs) {
		de_dbg(c, "is directory: %d", md->is_dir);
	}

	de_dbg(c, "file data at %"I64_FMT", len=%"I64_FMT, md->cmpr_data_pos, md->cmpr_size);

	// Extract...
	fi = de_finfo_create(c);
	fi->original_filename_flag = 1;

	if(md->rfa.mod_time.is_valid) {
		fi->timestamp[DE_TIMESTAMPIDX_MODIFY] = md->rfa.mod_time;
	}
	else if(md->arc_timestamp.is_valid) {
		fi->timestamp[DE_TIMESTAMPIDX_MODIFY] = md->arc_timestamp;
	}

	if(md->has_spark_attribs) {
		fi->has_riscos_data = 1;
		fi->riscos_attribs = md->rfa.attribs;
		fi->load_addr = md->rfa.load_addr;
		fi->exec_addr = md->rfa.exec_addr;
	}

	if(md->is_dir) {
		fi->is_directory = 1;
	}

	if(md->is_dir) {
		do_extract_member_dir(c, d, md, fi);

		// Nested subdirectory archives (ARC 6 "z" option, or Spark) have both a known
		// length (md->cmpr_size), and an end-of-archive marker. So there are two
		// ways to parse them:
		// 1) Recursively, meaning we trust the md->cmpr_size field (or maybe we should
		//    use orig_size instead?).
		// 2) As a flat sequence of members, meaning we trust that a nested archive
		//    will not have extra data after the end-of-archive marker.
		// Here, we use the recursive method.
		do_sequence_of_members(c, d, md->cmpr_data_pos, md->cmpr_size, mpd->nesting_level+1);
	}
	else if(md->cmpr_meth>=30 && md->cmpr_meth<=39) {
		de_warn(c, "Unknown control item type %d at %"I64_FMT, (int)md->cmpr_meth, pos1);
		goto done;
	}
	else if(md->cmpr_meth>=20 && md->cmpr_meth<=29) {
		do_info_item(c, d, md);
	}
	else if(d->fmt==FMT_ARCMAC && md->arcmac_advf) {
		do_extract_member_file_arcmac(c, d, md, fi);
	}
	else {
		do_extract_member_file(c, d, md, pmd, fi, md->cmpr_data_pos);
	}

done:
	if(need_curpath_pop) {
		de_strarray_pop(d->curpath);
	}
	if(fi) de_finfo_destroy(c, fi);
	if(md) {
		ucstring_destroy(md->fn);
		if(md->arcmac_fn) de_destroy_stringreaderdata(c, md->arcmac_fn);
		if(md->arcmac_advf) de_advfile_destroy(md->arcmac_advf);
		de_free(c, md);
	}
	de_dbg_indent_restore(c, saved_indent_level);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x80, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq -0x18(%rbp), %rax
movq 0x10(%rax), %rax
movq %rax, -0x28(%rbp)
movq -0x28(%rbp), %rax
movq %rax, -0x30(%rbp)
movq $0x0, -0x50(%rbp)
movq $0x0, -0x58(%rbp)
movl $0x0, -0x5c(%rbp)
movq $0x0, -0x68(%rbp)
movq -0x8(%rbp), %rdi
leaq -0x1c(%rbp), %rsi
callq 0x15b580
movq -0x8(%rbp), %rdi
movq -0x28(%rbp), %rdx
leaq 0x1961fc(%rip), %rsi    # 0x1c7392
movb $0x0, %al
callq 0x15b0d0
movq -0x8(%rbp), %rdi
movl $0x1, %esi
callq 0x15b560
movq -0x8(%rbp), %rdi
movl $0xb8, %esi
callq 0x15b780
movq %rax, -0x58(%rbp)
movq -0x8(%rbp), %rcx
movq -0x58(%rbp), %rax
movq %rcx, (%rax)
movq -0x10(%rbp), %rcx
movq -0x58(%rbp), %rax
movq %rcx, 0x8(%rax)
movq -0x18(%rbp), %rax
cmpl $0x0, (%rax)
jne 0x31299
movq -0x10(%rbp), %rax
cmpq $0x0, 0x58(%rax)
je 0x31299
movq -0x18(%rbp), %rax
movslq 0x4(%rax), %rax
movq -0x10(%rbp), %rcx
cmpq 0x38(%rcx), %rax
jge 0x31299
movq -0x10(%rbp), %rax
movq 0x58(%rax), %rax
movq -0x18(%rbp), %rcx
movslq 0x4(%rcx), %rcx
shlq $0x4, %rcx
addq %rcx, %rax
movq %rax, -0x68(%rbp)
movq -0x68(%rbp), %rax
movq (%rax), %rdi
callq 0x1717f0
cmpl $0x0, %eax
je 0x3125b
movq -0x8(%rbp), %rax
movq %rax, -0x70(%rbp)
movq -0x68(%rbp), %rax
movq (%rax), %rdi
callq 0x172650
movq -0x70(%rbp), %rdi
movq %rax, %rdx
leaq 0x16f3f3(%rip), %rsi    # 0x1a0647
movb $0x0, %al
callq 0x15b0d0
movq -0x68(%rbp), %rax
movq 0x8(%rax), %rdi
callq 0x1717f0
cmpl $0x0, %eax
je 0x31297
movq -0x8(%rbp), %rax
movq %rax, -0x78(%rbp)
movq -0x68(%rbp), %rax
movq 0x8(%rax), %rdi
callq 0x172650
movq -0x78(%rbp), %rdi
movq %rax, %rdx
leaq 0x19ebcc(%rip), %rsi    # 0x1cfe5c
movb $0x0, %al
callq 0x15b0d0
jmp 0x31299
movq -0x30(%rbp), %rax
addq $0x1, %rax
movq %rax, -0x30(%rbp)
movq -0x18(%rbp), %rax
movzbl 0x8(%rax), %eax
movq -0x10(%rbp), %rcx
movzbl 0x24(%rcx), %ecx
cmpl %ecx, %eax
je 0x312dc
movq -0x8(%rbp), %rdi
movq -0x10(%rbp), %rax
movq 0x8(%rax), %rdx
movq -0x28(%rbp), %rcx
leaq 0x16f38a(%rip), %rsi    # 0x1a065a
movb $0x0, %al
callq 0x15bfb0
jmp 0x31931
movq -0x10(%rbp), %rax
cmpl $0x3, (%rax)
jne 0x31317
movq -0x18(%rbp), %rax
movzbl 0xa(%rax), %eax
cmpl $0x0, %eax
je 0x31317
movq -0x8(%rbp), %rdi
movq -0x10(%rbp), %rsi
movq -0x58(%rbp), %rdx
movq -0x18(%rbp), %rax
movq 0x10(%rax), %rcx
callq 0x319d0
movq -0x30(%rbp), %rax
addq $0x3b, %rax
movq %rax, -0x30(%rbp)
movq -0x30(%rbp), %rax
addq $0x1, %rax
movq %rax, -0x30(%rbp)
movq -0x18(%rbp), %rax
movb 0x9(%rax), %cl
movq -0x58(%rbp), %rax
movb %cl, 0x10(%rax)
movq -0x18(%rbp), %rax
movb 0xa(%rax), %cl
movq -0x58(%rbp), %rax
movb %cl, 0x11(%rax)
movq -0x10(%rbp), %rdi
movq -0x58(%rbp), %rax
movzbl 0x10(%rax), %esi
callq 0x31d30
movq %rax, %rcx
movq -0x58(%rbp), %rax
movq %rcx, 0x18(%rax)
movq -0x58(%rbp), %rax
cmpq $0x0, 0x18(%rax)
je 0x3138b
movq -0x58(%rbp), %rax
movq 0x18(%rax), %rax
cmpq $0x0, 0x8(%rax)
je 0x3138b
movq -0x58(%rbp), %rax
movq 0x18(%rax), %rax
movq 0x8(%rax), %rcx
movq -0x58(%rbp), %rax
movq %rcx, 0x20(%rax)
jmp 0x3139a
movq -0x58(%rbp), %rax
leaq 0x186897(%rip), %rcx    # 0x1b7c2d
movq %rcx, 0x20(%rax)
movq -0x8(%rbp), %rdi
movq -0x58(%rbp), %rax
movzbl 0x10(%rax), %edx
movq -0x58(%rbp), %rax
movq 0x20(%rax), %rcx
leaq 0x16f2c5(%rip), %rsi    # 0x1a067a
movb $0x0, %al
callq 0x15b0d0
movq -0x58(%rbp), %rax
movzbl 0x11(%rax), %eax
cmpl $0x0, %eax
je 0x313d6
movq -0x58(%rbp), %rax
movzbl 0x10(%rax), %eax
cmpl $0x1f, %eax
jne 0x313e0
movq $0x2, -0x38(%rbp)
jmp 0x3141c
movq -0x58(%rbp), %rax
movzbl 0x11(%rax), %eax
cmpl $0x1, %eax
jne 0x313f7
movq $0x19, -0x38(%rbp)
jmp 0x313ff
movq $0x1d, -0x38(%rbp)
movq -0x58(%rbp), %rax
movzbl 0x10(%rax), %eax
cmpl $0x80, %eax
jl 0x3141a
movq -0x38(%rbp), %rax
addq $0xc, %rax
movq %rax, -0x38(%rbp)
jmp 0x3141c
movq -0x18(%rbp), %rax
movq 0x18(%rax), %rax
cmpq -0x38(%rbp), %rax
jge 0x31445
movq -0x8(%rbp), %rdi
movq -0x28(%rbp), %rdx
leaq 0x16f258(%rip), %rsi    # 0x1a0691
movb $0x0, %al
callq 0x15bfb0
jmp 0x31931
movq -0x58(%rbp), %rax
movzbl 0x11(%rax), %eax
cmpl $0x0, %eax
je 0x3145f
movq -0x58(%rbp), %rax
movzbl 0x10(%rax), %eax
cmpl $0x1f, %eax
jne 0x31464
jmp 0x31931
movq -0x8(%rbp), %rdi
callq 0x1711d0
movq %rax, %rcx
movq -0x58(%rbp), %rax
movq %rcx, 0x48(%rax)
movq -0x8(%rbp), %rax
movq 0x18(%rax), %rdi
movq -0x30(%rbp), %rsi
movq -0x58(%rbp), %rax
movq 0x48(%rax), %rcx
movq -0x10(%rbp), %rax
movl 0x10(%rax), %r9d
movl $0xd, %edx
movl $0x1, %r8d
callq 0x1669f0
movq -0x8(%rbp), %rax
movq %rax, -0x80(%rbp)
movq -0x58(%rbp), %rax
movq 0x48(%rax), %rdi
callq 0x172650
movq -0x80(%rbp), %rdi
movq %rax, %rdx
leaq 0x1960bc(%rip), %rsi    # 0x1c7583
movb $0x0, %al
callq 0x15b0d0
movq -0x30(%rbp), %rax
addq $0xd, %rax
movq %rax, -0x30(%rbp)
movq -0x30(%rbp), %rax
addq $0x4, %rax
movq %rax, -0x30(%rbp)
movq -0x18(%rbp), %rax
movq 0x28(%rax), %rcx
movq -0x58(%rbp), %rax
movq %rcx, 0x38(%rax)
movq -0x8(%rbp), %rdi
movq -0x58(%rbp), %rax
movq 0x38(%rax), %rdx
leaq 0x17c054(%rip), %rsi    # 0x1ad55d
movb $0x0, %al
callq 0x15b0d0
movq -0x8(%rbp), %rax
movq 0x18(%rax), %rdi
leaq -0x30(%rbp), %rsi
callq 0x1652c0
movq %rax, -0x48(%rbp)
movq -0x8(%rbp), %rax
movq 0x18(%rax), %rdi
leaq -0x30(%rbp), %rsi
callq 0x1652c0
movq %rax, -0x40(%rbp)
movq -0x58(%rbp), %rdi
addq $0x50, %rdi
movq -0x48(%rbp), %rsi
movq -0x40(%rbp), %rdx
callq 0x15d750
movq -0x58(%rbp), %rax
movb $0x2, 0x51(%rax)
movq -0x8(%rbp), %rdi
movq -0x58(%rbp), %rsi
addq $0x50, %rsi
movq -0x10(%rbp), %rax
movl (%rax), %ecx
leaq 0x19e4a6(%rip), %rdx    # 0x1cfa16
leaq 0x16f146(%rip), %rax    # 0x1a06bd
cmpl $0x2, %ecx
cmoveq %rax, %rdx
callq 0x31e90
movq -0x8(%rbp), %rax
movq 0x18(%rax), %rdi
leaq -0x30(%rbp), %rsi
callq 0x1652c0
movl %eax, %ecx
movq -0x58(%rbp), %rax
movl %ecx, 0x40(%rax)
movq -0x8(%rbp), %rdi
movq -0x58(%rbp), %rax
movl 0x40(%rax), %edx
leaq 0x19f39d(%rip), %rsi    # 0x1d094c
movb $0x0, %al
callq 0x15b0d0
movq -0x58(%rbp), %rax
movzbl 0x11(%rax), %eax
cmpl $0x1, %eax
jne 0x315d5
movq -0x58(%rbp), %rax
movq 0x38(%rax), %rcx
movq -0x58(%rbp), %rax
movq %rcx, 0x28(%rax)
jmp 0x3160b
movq -0x8(%rbp), %rax
movq 0x18(%rax), %rdi
leaq -0x30(%rbp), %rsi
callq 0x165580
movq %rax, %rcx
movq -0x58(%rbp), %rax
movq %rcx, 0x28(%rax)
movq -0x8(%rbp), %rdi
movq -0x58(%rbp), %rax
movq 0x28(%rax), %rdx
leaq 0x172a43(%rip), %rsi    # 0x1a4047
movb $0x0, %al
callq 0x15b0d0
movq -0x10(%rbp), %rax
cmpl $0x2, (%rax)
jne 0x31671
movq -0x58(%rbp), %rax
movb $0x1, 0x12(%rax)
movq -0x8(%rbp), %rdi
movq -0x8(%rbp), %rax
movq 0x18(%rax), %rsi
movq -0x58(%rbp), %rdx
addq $0x60, %rdx
movq -0x30(%rbp), %rcx
callq 0x1755e0
movq -0x30(%rbp), %rax
addq $0x8, %rax
movq %rax, -0x30(%rbp)
movq -0x8(%rbp), %rdi
movq -0x8(%rbp), %rax
movq 0x18(%rax), %rsi
movq -0x58(%rbp), %rdx
addq $0x60, %rdx
movq -0x30(%rbp), %rcx
xorl %r8d, %r8d
callq 0x175740
movq -0x30(%rbp), %rax
addq $0x4, %rax
movq %rax, -0x30(%rbp)
movq -0x18(%rbp), %rax
movq 0x20(%rax), %rcx
movq -0x58(%rbp), %rax
movq %rcx, 0x30(%rax)
movq -0x10(%rbp), %rax
movq 0x50(%rax), %rdi
movq -0x58(%rbp), %rax
movq 0x48(%rax), %rsi
callq 0x1728d0
movl $0x1, -0x5c(%rbp)
movq -0x10(%rbp), %rax
cmpl $0x2, (%rax)
jne 0x316e9
movq -0x10(%rbp), %rax
cmpl $0x0, 0x20(%rax)
je 0x316e9
movq -0x58(%rbp), %rax
movzbl 0x60(%rax), %eax
cmpl $0x0, %eax
je 0x316e9
movq -0x58(%rbp), %rax
cmpl $0xddc, 0x70(%rax)      # imm = 0xDDC
jne 0x316e9
movq -0x58(%rbp), %rax
movzbl 0x10(%rax), %eax
cmpl $0x82, %eax
jne 0x316e9
movq -0x58(%rbp), %rax
movl $0x1, 0x90(%rax)
jmp 0x31719
movq -0x10(%rbp), %rax
cmpl $0x1, (%rax)
jne 0x31717
movq -0x10(%rbp), %rax
cmpl $0x0, 0x20(%rax)
je 0x31717
movq -0x58(%rbp), %rax
movzbl 0x10(%rax), %eax
cmpl $0x1e, %eax
jne 0x31717
movq -0x58(%rbp), %rax
movl $0x1, 0x90(%rax)
jmp 0x31719
movq -0x10(%rbp), %rax
cmpl $0x0, 0x20(%rax)
je 0x3173f
movq -0x8(%rbp), %rdi
movq -0x58(%rbp), %rax
movl 0x90(%rax), %edx
leaq 0x16e84d(%rip), %rsi    # 0x19ff85
movb $0x0, %al
callq 0x15b0d0
movq -0x8(%rbp), %rdi
movq -0x58(%rbp), %rax
movq 0x30(%rax), %rdx
movq -0x58(%rbp), %rax
movq 0x38(%rax), %rcx
leaq 0x191c09(%rip), %rsi    # 0x1c3363
movb $0x0, %al
callq 0x15b0d0
movq -0x8(%rbp), %rdi
callq 0x15d230
movq %rax, -0x50(%rbp)
movq -0x50(%rbp), %rax
movb $0x1, 0x8(%rax)
movq -0x58(%rbp), %rax
cmpb $0x0, 0x80(%rax)
je 0x317a3
movq -0x50(%rbp), %rax
movq -0x58(%rbp), %rcx
movq 0x80(%rcx), %rdx
movq %rdx, 0x18(%rax)
movq 0x88(%rcx), %rcx
movq %rcx, 0x20(%rax)
jmp 0x317c7
movq -0x58(%rbp), %rax
cmpb $0x0, 0x50(%rax)
je 0x317c5
movq -0x50(%rbp), %rax
movq -0x58(%rbp), %rcx
movq 0x50(%rcx), %rdx
movq %rdx, 0x18(%rax)
movq 0x58(%rcx), %rcx
movq %rcx, 0x20(%rax)
jmp 0x317c7
movq -0x58(%rbp), %rax
cmpb $0x0, 0x12(%rax)
je 0x3180c
movq -0x50(%rbp), %rax
movb $0x1, 0x10(%rax)
movq -0x58(%rbp), %rax
movl 0x6c(%rax), %ecx
movq -0x50(%rbp), %rax
movl %ecx, 0xa0(%rax)
movq -0x58(%rbp), %rax
movl 0x64(%rax), %ecx
movq -0x50(%rbp), %rax
movl %ecx, 0xa4(%rax)
movq -0x58(%rbp), %rax
movl 0x68(%rax), %ecx
movq -0x50(%rbp), %rax
movl %ecx, 0xa8(%rax)
movq -0x58(%rbp), %rax
cmpl $0x0, 0x90(%rax)
je 0x31821
movq -0x50(%rbp), %rax
movb $0x1, 0x9(%rax)
movq -0x58(%rbp), %rax
cmpl $0x0, 0x90(%rax)
je 0x31870
movq -0x8(%rbp), %rdi
movq -0x10(%rbp), %rsi
movq -0x58(%rbp), %rdx
movq -0x50(%rbp), %rcx
callq 0x31ee0
movq -0x8(%rbp), %rdi
movq -0x10(%rbp), %rsi
movq -0x58(%rbp), %rax
movq 0x30(%rax), %rdx
movq -0x58(%rbp), %rax
movq 0x38(%rax), %rcx
movq -0x18(%rbp), %rax
movl (%rax), %r8d
addl $0x1, %r8d
callq 0x30ab0
jmp 0x3192f
movq -0x58(%rbp), %rax
movzbl 0x10(%rax), %eax
cmpl $0x1e, %eax
jl 0x318ad
movq -0x58(%rbp), %rax
movzbl 0x10(%rax), %eax
cmpl $0x27, %eax
jg 0x318ad
movq -0x8(%rbp), %rdi
movq -0x58(%rbp), %rax
movzbl 0x10(%rax), %edx
movq -0x28(%rbp), %rcx
leaq 0x16ee2c(%rip), %rsi    # 0x1a06cd
movb $0x0, %al
callq 0x15bc10
jmp 0x31931
movq -0x58(%rbp), %rax
movzbl 0x10(%rax), %eax
cmpl $0x14, %eax
jl 0x318da
movq -0x58(%rbp), %rax
movzbl 0x10(%rax), %eax
cmpl $0x1d, %eax
jg 0x318da
movq -0x8(%rbp), %rdi
movq -0x10(%rbp), %rsi
movq -0x58(%rbp), %rdx
callq 0x31f80
jmp 0x3192b
movq -0x10(%rbp), %rax
cmpl $0x3, (%rax)
jne 0x31908
movq -0x58(%rbp), %rax
cmpq $0x0, 0xb0(%rax)
je 0x31908
movq -0x8(%rbp), %rdi
movq -0x10(%rbp), %rsi
movq -0x58(%rbp), %rdx
movq -0x50(%rbp), %rcx
callq 0x32180
jmp 0x31929
movq -0x8(%rbp), %rdi
movq -0x10(%rbp), %rsi
movq -0x58(%rbp), %rdx
movq -0x68(%rbp), %rcx
movq -0x50(%rbp), %r8
movq -0x58(%rbp), %rax
movq 0x30(%rax), %r9
callq 0x323c0
jmp 0x3192b
jmp 0x3192d
jmp 0x3192f
jmp 0x31931
cmpl $0x0, -0x5c(%rbp)
je 0x31944
movq -0x10(%rbp), %rax
movq 0x50(%rax), %rdi
callq 0x172850
cmpq $0x0, -0x50(%rbp)
je 0x31958
movq -0x8(%rbp), %rdi
movq -0x50(%rbp), %rsi
callq 0x15d260
cmpq $0x0, -0x58(%rbp)
je 0x319b9
movq -0x58(%rbp), %rax
movq 0x48(%rax), %rdi
callq 0x171750
movq -0x58(%rbp), %rax
cmpq $0x0, 0xa8(%rax)
je 0x3198e
movq -0x8(%rbp), %rdi
movq -0x58(%rbp), %rax
movq 0xa8(%rax), %rsi
callq 0x166830
movq -0x58(%rbp), %rax
cmpq $0x0, 0xb0(%rax)
je 0x319ac
movq -0x58(%rbp), %rax
movq 0xb0(%rax), %rdi
callq 0x17aaa0
movq -0x8(%rbp), %rdi
movq -0x58(%rbp), %rsi
callq 0x15b820
movq -0x8(%rbp), %rdi
movl -0x1c(%rbp), %esi
callq 0x15b5a0
addq $0x80, %rsp
popq %rbp
retq
nop