// File: /workspace/github_c_makefile_star2_O0/wtarreau[P]httpterm/httpterm.c
// Function: cfg_parse_listen
int cfg_parse_listen(const char *file, int linenum, char **args) {
    static struct proxy *curproxy = NULL;
    struct server *newsrv = NULL;

    if (!strcmp(args[0], "listen")) {  /* new proxy */
	if (!*args[1]) {
	    Alert("parsing [%s:%d] : '%s' expects an <id> argument and\n"
		  "  optionnally supports [addr1]:port1[-end1]{,[addr]:port[-end]}...\n",
		  file, linenum, args[0]);
	    return -1;
	}
	
	if ((curproxy = (struct proxy *)calloc(1, sizeof(struct proxy))) == NULL) {
	    Alert("parsing [%s:%d] : out of memory.\n", file, linenum);
	    return -1;
	}
	
	curproxy->next = proxy;
	proxy = curproxy;

	curproxy->id = strdup(args[1]);

	/* parse the listener address if any */
	if (*args[2]) {
	    curproxy->listen = str2listener(args[2], curproxy->listen);
	    if (!curproxy->listen)
		return -1;
	    global.maxsock++;
	}

	/* set default values */
	curproxy->state = defproxy.state;
	curproxy->maxconn = defproxy.maxconn;
	curproxy->options = defproxy.options;

	if (defproxy.errmsg.msg400)
	    curproxy->errmsg.msg400 = strdup(defproxy.errmsg.msg400);
	curproxy->errmsg.len400 = defproxy.errmsg.len400;

	if (defproxy.errmsg.msg403)
	    curproxy->errmsg.msg403 = strdup(defproxy.errmsg.msg403);
	curproxy->errmsg.len403 = defproxy.errmsg.len403;

	if (defproxy.errmsg.msg408)
	    curproxy->errmsg.msg408 = strdup(defproxy.errmsg.msg408);
	curproxy->errmsg.len408 = defproxy.errmsg.len408;

	if (defproxy.errmsg.msg500)
	    curproxy->errmsg.msg500 = strdup(defproxy.errmsg.msg500);
	curproxy->errmsg.len500 = defproxy.errmsg.len500;

	if (defproxy.errmsg.msg502)
	    curproxy->errmsg.msg502 = strdup(defproxy.errmsg.msg502);
	curproxy->errmsg.len502 = defproxy.errmsg.len502;

	if (defproxy.errmsg.msg503)
	    curproxy->errmsg.msg503 = strdup(defproxy.errmsg.msg503);
	curproxy->errmsg.len503 = defproxy.errmsg.len503;

	if (defproxy.errmsg.msg504)
	    curproxy->errmsg.msg504 = strdup(defproxy.errmsg.msg504);
	curproxy->errmsg.len504 = defproxy.errmsg.len504;

	curproxy->clitimeout = defproxy.clitimeout;
	curproxy->grace  = defproxy.grace;
	return 0;
    }
    else if (!strcmp(args[0], "defaults")) {  /* use this one to assign default values */
	/* some variables may have already been initialized earlier */
	if (defproxy.errmsg.msg400) free(defproxy.errmsg.msg400);
	if (defproxy.errmsg.msg403) free(defproxy.errmsg.msg403);
	if (defproxy.errmsg.msg408) free(defproxy.errmsg.msg408);
	if (defproxy.errmsg.msg500) free(defproxy.errmsg.msg500);
	if (defproxy.errmsg.msg502) free(defproxy.errmsg.msg502);
	if (defproxy.errmsg.msg503) free(defproxy.errmsg.msg503);
	if (defproxy.errmsg.msg504) free(defproxy.errmsg.msg504);

	init_default_instance();
	curproxy = &defproxy;
	return 0;
    }
    else if (curproxy == NULL) {
	Alert("parsing [%s:%d] : 'listen' or 'defaults' expected.\n", file, linenum);
	return -1;
    }

    /* ignore disabled listeners so that we don't fail on missing files */
    if (curproxy->state == PR_STSTOPPED)
	return 0;

    if (!strcmp(args[0], "bind")) {  /* new listen addresses */
	if (curproxy == &defproxy) {
	    Alert("parsing [%s:%d] : '%s' not allowed in 'defaults' section.\n", file, linenum, args[0]);
	    return -1;
	}

	if (strchr(args[1], ':') == NULL) {
	    Alert("parsing [%s:%d] : '%s' expects [addr1]:port1[-end1]{,[addr]:port[-end]}... as arguments.\n",
		  file, linenum, args[0]);
	    return -1;
	}
	curproxy->listen = str2listener(args[1], curproxy->listen);
	if (!curproxy->listen)
	    return -1;
	global.maxsock++;
	return 0;
    }
    else if (!strcmp(args[0], "disabled")) {  /* disables this proxy */
	curproxy->state = PR_STSTOPPED;
    }
    else if (!strcmp(args[0], "enabled")) {  /* enables this proxy (used to revert a disabled default) */
	curproxy->state = PR_STNEW;
    }
    else if (!strcmp(args[0], "clitimeout")) {  /*  client timeout */
	if (curproxy->clitimeout != defproxy.clitimeout) {
	    Alert("parsing [%s:%d] : '%s' already specified. Continuing.\n",
		  file, linenum, args[0]);
	    return 0;
	}
	if (*(args[1]) == 0) {
	    Alert("parsing [%s:%d] : '%s' expects an integer <time_in_ms> as argument.\n",
		  file, linenum, args[0]);
	    return -1;
	}
	curproxy->clitimeout = atol(args[1]);
    }
    else if (!strcmp(args[0], "option")) {
	if (*(args[1]) == 0) {
	    Alert("parsing [%s:%d] : '%s' expects an option name.\n", file, linenum, args[0]);
	    return -1;
	}
	if (!strcmp(args[1], "httpclose"))
	    /* force connection: close in both directions in HTTP mode */
	    curproxy->options |= PR_O_HTTP_CLOSE;
	else if (!strcmp(args[1], "forceclose"))
	    /* force connection: close in both directions in HTTP mode and enforce end of session */
	    curproxy->options |= PR_O_FORCE_CLO | PR_O_HTTP_CLOSE;
	else if (!strcmp(args[1], "tcpka")) {
	    /* enable TCP keep-alives on client and server sessions */
	    curproxy->options |= PR_O_TCP_CLI_KA;
	}
	else if (!strcmp(args[1], "clitcpka")) {
	    /* enable TCP keep-alives on client sessions */
	    curproxy->options |= PR_O_TCP_CLI_KA;
	}
	else {
	    Alert("parsing [%s:%d] : unknown option '%s'.\n", file, linenum, args[1]);
	    return -1;
	}
	return 0;
    }
    else if (!strcmp(args[0], "maxconn")) {  /* maxconn */
	if (*(args[1]) == 0) {
	    Alert("parsing [%s:%d] : '%s' expects an integer argument.\n", file, linenum, args[0]);
	    return -1;
	}
	curproxy->maxconn = atol(args[1]);
    }
    else if (!strcmp(args[0], "grace")) {  /* grace time (ms) */
	if (*(args[1]) == 0) {
	    Alert("parsing [%s:%d] : '%s' expects a time in milliseconds.\n", file, linenum, args[0]);
	    return -1;
	}
	curproxy->grace = atol(args[1]);
    }
    else if (!strcmp(args[0], "object")) {
	int cur_arg;

	if (curproxy == &defproxy) {
	    Alert("parsing [%s:%d] : '%s' not allowed in 'defaults' section.\n", file, linenum, args[0]);
	    return -1;
	}

	if (!*args[2]) {
	    Alert("parsing [%s:%d] : '%s' expects <name> as arguments.\n",
		  file, linenum, args[0]);
	    return -1;
	}
	if ((newsrv = (struct server *)calloc(1, sizeof(struct server))) == NULL) {
	    Alert("parsing [%s:%d] : out of memory.\n", file, linenum);
	    return -1;
	}

	/* the servers are linked backwards first */
	newsrv->next = curproxy->srv;
	curproxy->srv = newsrv;
	newsrv->proxy = curproxy;

	newsrv->resp_cache = 1;
	newsrv->resp_code = 200;
	newsrv->resp_size = -1; /* not yet set */

	cur_arg = 1;
	while (*args[cur_arg]) {
	    if (!strcmp(args[cur_arg], "name")) {
		newsrv->id = strdup(args[cur_arg + 1]);
		cur_arg += 2;
	    }
	    else if (!strcmp(args[cur_arg], "cache")) {
		newsrv->resp_cache = 1;
		cur_arg += 1;
	    }
	    else if (!strcmp(args[cur_arg], "no-cache")) {
		newsrv->resp_cache = 0;
		cur_arg += 1;
	    }
	    else if (!strcmp(args[cur_arg], "code")) {
		newsrv->resp_code = atol(args[cur_arg + 1]);
		cur_arg += 2;
	    }
	    else if (!strcmp(args[cur_arg], "size")) {
		newsrv->resp_size = atol(args[cur_arg + 1]);
		cur_arg += 2;
	    }
	    else if (!strcmp(args[cur_arg], "time")) {
		newsrv->resp_time = atol(args[cur_arg + 1]);
		cur_arg += 2;
	    }
	    else if (!strcmp(args[cur_arg], "file")) {
		int ret, hdr, fd;
		char *buf;
		struct stat stat;

		if (*(args[1]) == 0) {
		    Alert("parsing [%s:%d] : <%s> expects a <file> argument.\n", file, linenum, args[0]);
			return -1;
		}

		fd = open(args[cur_arg + 1], O_RDONLY);
		if ((fd < 0) || (fstat(fd, &stat) < 0)) {
			Alert("parsing [%s:%d] : error opening file <%s>.\n",
			      file, linenum, args[cur_arg + 1]);
			if (fd >= 0)
				close(fd);
			return -1;
		}

		if (newsrv->resp_size < 0 || newsrv->resp_size > stat.st_size)
		    newsrv->resp_size = stat.st_size;

		hdr = sprintf(trash,
			       "HTTP/1.1 %03d\r\n"
			       "Connection: close\r\n"
			       "Content-length: %d\r\n"
			       "%s"
			       "X-req: size=%d, time=%d ms\r\n"
			       "X-rsp: id=%s, code=%d, cache=%d, size=%d, time=%d ms\r\n"
			       "\r\n",
			       newsrv->resp_code,
			       newsrv->resp_size,
			       newsrv->resp_cache ? "" : "Cache-Control: no-cache\r\n",
			       newsrv->resp_size, newsrv->resp_time, 
			       newsrv->id, newsrv->resp_code, newsrv->resp_cache,
			       newsrv->resp_size, newsrv->resp_time);

		buf = malloc(hdr + newsrv->resp_size); /* malloc() must succeed during parsing */
		if (!buf) {
			Alert("parsing [%s:%d] : not enough memory to read file <%s>.\n",
			      file, linenum, args[cur_arg + 1]);
			close(fd);
			return -1;
		}

		memcpy(buf, trash, hdr);
		ret = read(fd, buf + hdr, newsrv->resp_size);
		close(fd);
		if (ret != newsrv->resp_size) {
			Alert("parsing [%s:%d] : error reading file <%s>.\n",
			      file, linenum, args[cur_arg + 1]);
			free(buf);
			return -1;
		}

		newsrv->resp_size += hdr;
		newsrv->resp_data = buf;
		cur_arg += 2;
	    }
	    else if (!strcmp(args[cur_arg], "rawfile")) {
		int ret, fd;
		char *buf;
		struct stat stat;

		if (*(args[1]) == 0) {
		    Alert("parsing [%s:%d] : <%s> expects a <file> argument.\n", file, linenum, args[0]);
			return -1;
		}

		fd = open(args[cur_arg + 1], O_RDONLY);
		if ((fd < 0) || (fstat(fd, &stat) < 0)) {
			Alert("parsing [%s:%d] : error opening file <%s>.\n",
			      file, linenum, args[cur_arg + 1]);
			if (fd >= 0)
				close(fd);
			return -1;
		}

		if (newsrv->resp_size < 0 || newsrv->resp_size > stat.st_size)
		    newsrv->resp_size = stat.st_size;

		buf = malloc(newsrv->resp_size); /* malloc() must succeed during parsing */
		if (!buf) {
			Alert("parsing [%s:%d] : not enough memory to read file <%s>.\n",
			      file, linenum, args[cur_arg + 1]);
			close(fd);
			return -1;
		}

		ret = read(fd, buf, newsrv->resp_size);
		close(fd);
		if (ret != newsrv->resp_size) {
			Alert("parsing [%s:%d] : error reading file <%s>.\n",
			      file, linenum, args[cur_arg + 1]);
			free(buf);
			return -1;
		}

		newsrv->resp_data = buf;
		cur_arg += 2;
	    }
	    else if (!strcmp(args[cur_arg], "weight")) {
		int w;
		w = atol(args[cur_arg + 1]);
		if (w < 1 || w > 256) {
		    Alert("parsing [%s:%d] : weight of object %s is not within 1 and 256 (%d).\n",
			  file, linenum, newsrv->id, w);
		    return -1;
		}
		newsrv->uweight = w - 1;
		cur_arg += 2;
	    }
	    else {
		Alert("parsing [%s:%d] : object %s only supports options 'name', 'code', 'size', 'time', 'cache', 'no-cache', 'file', 'rawfile' and 'weight'.\n",
		      file, linenum, newsrv->id);
		return -1;
	    }
	}
    }
    else {
	Alert("parsing [%s:%d] : unknown keyword '%s' in '%s' section\n", file, linenum, args[0], "listen");
	return -1;
    }
    return 0;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x1a8, %rsp            # imm = 0x1A8
movq %rdi, -0x28(%rbp)
movl %esi, -0x2c(%rbp)
movq %rdx, -0x38(%rbp)
movq $0x0, -0x40(%rbp)
movq -0x38(%rbp), %rax
movq (%rax), %rdi
leaq 0x508d(%rip), %rsi      # 0xe69e
callq 0x2220
cmpl $0x0, %eax
jne 0x9911
movq -0x38(%rbp), %rax
movq 0x8(%rax), %rax
cmpb $0x0, (%rax)
jne 0x9654
movq -0x28(%rbp), %rsi
movl -0x2c(%rbp), %edx
movq -0x38(%rbp), %rax
movq (%rax), %rcx
leaq 0x5064(%rip), %rdi      # 0xe6a5
movb $0x0, %al
callq 0x2d40
movl $0xffffffff, -0x1c(%rbp) # imm = 0xFFFFFFFF
jmp 0xa6ab
movl $0x1, %edi
movl $0xe0, %esi
callq 0x2210
movq %rax, 0x28ed6(%rip)     # 0x32540
cmpq $0x0, %rax
jne 0x9691
movq -0x28(%rbp), %rsi
movl -0x2c(%rbp), %edx
leaq 0x509f(%rip), %rdi      # 0xe71d
movb $0x0, %al
callq 0x2d40
movl $0xffffffff, -0x1c(%rbp) # imm = 0xFFFFFFFF
jmp 0xa6ab
movq 0x7d10(%rip), %rcx      # 0x113a8
movq 0x28ea1(%rip), %rax     # 0x32540
movq %rcx, 0x50(%rax)
movq 0x28e96(%rip), %rax     # 0x32540
movq %rax, 0x7cf7(%rip)      # 0x113a8
movq -0x38(%rbp), %rax
movq 0x8(%rax), %rdi
callq 0x2420
movq %rax, %rcx
movq 0x28e78(%rip), %rax     # 0x32540
movq %rcx, 0x38(%rax)
movq -0x38(%rbp), %rax
movq 0x10(%rax), %rax
cmpb $0x0, (%rax)
je 0x9725
movq -0x38(%rbp), %rax
movq 0x10(%rax), %rdi
movq 0x28e58(%rip), %rax     # 0x32540
movq (%rax), %rsi
callq 0x33b0
movq %rax, %rcx
movq 0x28e46(%rip), %rax     # 0x32540
movq %rcx, (%rax)
movq 0x28e3c(%rip), %rax     # 0x32540
cmpq $0x0, (%rax)
jne 0x9716
movl $0xffffffff, -0x1c(%rbp) # imm = 0xFFFFFFFF
jmp 0xa6ab
movl 0x7cb4(%rip), %eax      # 0x113d0
addl $0x1, %eax
movl %eax, 0x7cab(%rip)      # 0x113d0
movl 0x28d3d(%rip), %ecx     # 0x32468
movq 0x28e0e(%rip), %rax     # 0x32540
movl %ecx, 0x8(%rax)
movl 0x28d6d(%rip), %ecx     # 0x324a8
movq 0x28dfe(%rip), %rax     # 0x32540
movl %ecx, 0x48(%rax)
movl 0x28d61(%rip), %ecx     # 0x324ac
movq 0x28dee(%rip), %rax     # 0x32540
movl %ecx, 0x4c(%rax)
cmpq $0x0, 0x28d73(%rip)     # 0x324d0
je 0x9779
movq 0x28d6a(%rip), %rdi     # 0x324d0
callq 0x2420
movq %rax, %rcx
movq 0x28dcb(%rip), %rax     # 0x32540
movq %rcx, 0x70(%rax)
movl 0x28d59(%rip), %ecx     # 0x324d8
movq 0x28dba(%rip), %rax     # 0x32540
movl %ecx, 0x78(%rax)
cmpq $0x0, 0x28d4f(%rip)     # 0x324e0
je 0x97b0
movq 0x28d46(%rip), %rdi     # 0x324e0
callq 0x2420
movq %rax, %rcx
movq 0x28d97(%rip), %rax     # 0x32540
movq %rcx, 0x80(%rax)
movl 0x28d32(%rip), %ecx     # 0x324e8
movq 0x28d83(%rip), %rax     # 0x32540
movl %ecx, 0x88(%rax)
cmpq $0x0, 0x28d25(%rip)     # 0x324f0
je 0x97ea
movq 0x28d1c(%rip), %rdi     # 0x324f0
callq 0x2420
movq %rax, %rcx
movq 0x28d5d(%rip), %rax     # 0x32540
movq %rcx, 0x90(%rax)
movl 0x28d08(%rip), %ecx     # 0x324f8
movq 0x28d49(%rip), %rax     # 0x32540
movl %ecx, 0x98(%rax)
cmpq $0x0, 0x28cfb(%rip)     # 0x32500
je 0x9824
movq 0x28cf2(%rip), %rdi     # 0x32500
callq 0x2420
movq %rax, %rcx
movq 0x28d23(%rip), %rax     # 0x32540
movq %rcx, 0xa0(%rax)
movl 0x28cde(%rip), %ecx     # 0x32508
movq 0x28d0f(%rip), %rax     # 0x32540
movl %ecx, 0xa8(%rax)
cmpq $0x0, 0x28cd1(%rip)     # 0x32510
je 0x985e
movq 0x28cc8(%rip), %rdi     # 0x32510
callq 0x2420
movq %rax, %rcx
movq 0x28ce9(%rip), %rax     # 0x32540
movq %rcx, 0xb0(%rax)
movl 0x28cb4(%rip), %ecx     # 0x32518
movq 0x28cd5(%rip), %rax     # 0x32540
movl %ecx, 0xb8(%rax)
cmpq $0x0, 0x28ca7(%rip)     # 0x32520
je 0x9898
movq 0x28c9e(%rip), %rdi     # 0x32520
callq 0x2420
movq %rax, %rcx
movq 0x28caf(%rip), %rax     # 0x32540
movq %rcx, 0xc0(%rax)
movl 0x28c8a(%rip), %ecx     # 0x32528
movq 0x28c9b(%rip), %rax     # 0x32540
movl %ecx, 0xc8(%rax)
cmpq $0x0, 0x28c7d(%rip)     # 0x32530
je 0x98d2
movq 0x28c74(%rip), %rdi     # 0x32530
callq 0x2420
movq %rax, %rcx
movq 0x28c75(%rip), %rax     # 0x32540
movq %rcx, 0xd0(%rax)
movl 0x28c60(%rip), %ecx     # 0x32538
movq 0x28c61(%rip), %rax     # 0x32540
movl %ecx, 0xd8(%rax)
movl 0x28ba5(%rip), %ecx     # 0x32490
movq 0x28c4e(%rip), %rax     # 0x32540
movl %ecx, 0x30(%rax)
movl 0x28bcd(%rip), %ecx     # 0x324c8
movq 0x28c3e(%rip), %rax     # 0x32540
movl %ecx, 0x68(%rax)
movl $0x0, -0x1c(%rbp)
jmp 0xa6ab
movq -0x38(%rbp), %rax
movq (%rax), %rdi
leaq 0x4e20(%rip), %rsi      # 0xe73f
callq 0x2220
cmpl $0x0, %eax
jne 0x99e6
cmpq $0x0, 0x28b9b(%rip)     # 0x324d0
je 0x9943
movq 0x28b92(%rip), %rdi     # 0x324d0
callq 0x2040
cmpq $0x0, 0x28b95(%rip)     # 0x324e0
je 0x9959
movq 0x28b8c(%rip), %rdi     # 0x324e0
callq 0x2040
cmpq $0x0, 0x28b8f(%rip)     # 0x324f0
je 0x996f
movq 0x28b86(%rip), %rdi     # 0x324f0
callq 0x2040
cmpq $0x0, 0x28b89(%rip)     # 0x32500
je 0x9985
movq 0x28b80(%rip), %rdi     # 0x32500
callq 0x2040
cmpq $0x0, 0x28b83(%rip)     # 0x32510
je 0x999b
movq 0x28b7a(%rip), %rdi     # 0x32510
callq 0x2040
cmpq $0x0, 0x28b7d(%rip)     # 0x32520
je 0x99b1
movq 0x28b74(%rip), %rdi     # 0x32520
callq 0x2040
cmpq $0x0, 0x28b77(%rip)     # 0x32530
je 0x99c7
movq 0x28b6e(%rip), %rdi     # 0x32530
callq 0x2040
callq 0x9570
leaq 0x28a8d(%rip), %rax     # 0x32460
movq %rax, 0x28b66(%rip)     # 0x32540
movl $0x0, -0x1c(%rbp)
jmp 0xa6ab
cmpq $0x0, 0x28b52(%rip)     # 0x32540
jne 0x9a11
movq -0x28(%rbp), %rsi
movl -0x2c(%rbp), %edx
leaq 0x4d4a(%rip), %rdi      # 0xe748
movb $0x0, %al
callq 0x2d40
movl $0xffffffff, -0x1c(%rbp) # imm = 0xFFFFFFFF
jmp 0xa6ab
jmp 0x9a13
jmp 0x9a15
movq 0x28b24(%rip), %rax     # 0x32540
cmpl $0x3, 0x8(%rax)
jne 0x9a2e
movl $0x0, -0x1c(%rbp)
jmp 0xa6ab
movq -0x38(%rbp), %rax
movq (%rax), %rdi
leaq 0x4d40(%rip), %rsi      # 0xe77c
callq 0x2220
cmpl $0x0, %eax
jne 0x9b1a
leaq 0x28a0f(%rip), %rax     # 0x32460
cmpq %rax, 0x28ae8(%rip)     # 0x32540
jne 0x9a82
movq -0x28(%rbp), %rsi
movl -0x2c(%rbp), %edx
movq -0x38(%rbp), %rax
movq (%rax), %rcx
leaq 0x4d12(%rip), %rdi      # 0xe781
movb $0x0, %al
callq 0x2d40
movl $0xffffffff, -0x1c(%rbp) # imm = 0xFFFFFFFF
jmp 0xa6ab
movq -0x38(%rbp), %rax
movq 0x8(%rax), %rdi
movl $0x3a, %esi
callq 0x2160
cmpq $0x0, %rax
jne 0x9ac2
movq -0x28(%rbp), %rsi
movl -0x2c(%rbp), %edx
movq -0x38(%rbp), %rax
movq (%rax), %rcx
leaq 0x4d0d(%rip), %rdi      # 0xe7bc
movb $0x0, %al
callq 0x2d40
movl $0xffffffff, -0x1c(%rbp) # imm = 0xFFFFFFFF
jmp 0xa6ab
movq -0x38(%rbp), %rax
movq 0x8(%rax), %rdi
movq 0x28a6f(%rip), %rax     # 0x32540
movq (%rax), %rsi
callq 0x33b0
movq %rax, %rcx
movq 0x28a5d(%rip), %rax     # 0x32540
movq %rcx, (%rax)
movq 0x28a53(%rip), %rax     # 0x32540
cmpq $0x0, (%rax)
jne 0x9aff
movl $0xffffffff, -0x1c(%rbp) # imm = 0xFFFFFFFF
jmp 0xa6ab
movl 0x78cb(%rip), %eax      # 0x113d0
addl $0x1, %eax
movl %eax, 0x78c2(%rip)      # 0x113d0
movl $0x0, -0x1c(%rbp)
jmp 0xa6ab
movq -0x38(%rbp), %rax
movq (%rax), %rdi
leaq 0x4cee(%rip), %rsi      # 0xe816
callq 0x2220
cmpl $0x0, %eax
jne 0x9b45
movq 0x28a07(%rip), %rax     # 0x32540
movl $0x3, 0x8(%rax)
jmp 0xa6a2
movq -0x38(%rbp), %rax
movq (%rax), %rdi
leaq 0x4ccc(%rip), %rsi      # 0xe81f
callq 0x2220
cmpl $0x0, %eax
jne 0x9b70
movq 0x289dc(%rip), %rax     # 0x32540
movl $0x0, 0x8(%rax)
jmp 0xa6a0
movq -0x38(%rbp), %rax
movq (%rax), %rdi
leaq 0x4ca9(%rip), %rsi      # 0xe827
callq 0x2220
cmpl $0x0, %eax
jne 0x9c1c
movq 0x289ad(%rip), %rax     # 0x32540
movl 0x30(%rax), %eax
cmpl 0x288f4(%rip), %eax     # 0x32490
je 0x9bc6
movq -0x28(%rbp), %rsi
movl -0x2c(%rbp), %edx
movq -0x38(%rbp), %rax
movq (%rax), %rcx
leaq 0x499b(%rip), %rdi      # 0xe54e
movb $0x0, %al
callq 0x2d40
movl $0x0, -0x1c(%rbp)
jmp 0xa6ab
movq -0x38(%rbp), %rax
movq 0x8(%rax), %rax
movsbl (%rax), %eax
cmpl $0x0, %eax
jne 0x9bfe
movq -0x28(%rbp), %rsi
movl -0x2c(%rbp), %edx
movq -0x38(%rbp), %rax
movq (%rax), %rcx
leaq 0x4c47(%rip), %rdi      # 0xe832
movb $0x0, %al
callq 0x2d40
movl $0xffffffff, -0x1c(%rbp) # imm = 0xFFFFFFFF
jmp 0xa6ab
movq -0x38(%rbp), %rax
movq 0x8(%rax), %rdi
callq 0x2350
movl %eax, %ecx
movq 0x2892c(%rip), %rax     # 0x32540
movl %ecx, 0x30(%rax)
jmp 0xa69e
movq -0x38(%rbp), %rax
movq (%rax), %rdi
leaq 0x4c4d(%rip), %rsi      # 0xe877
callq 0x2220
cmpl $0x0, %eax
jne 0x9d69
movq -0x38(%rbp), %rax
movq 0x8(%rax), %rax
movsbl (%rax), %eax
cmpl $0x0, %eax
jne 0x9c70
movq -0x28(%rbp), %rsi
movl -0x2c(%rbp), %edx
movq -0x38(%rbp), %rax
movq (%rax), %rcx
leaq 0x4c21(%rip), %rdi      # 0xe87e
movb $0x0, %al
callq 0x2d40
movl $0xffffffff, -0x1c(%rbp) # imm = 0xFFFFFFFF
jmp 0xa6ab
movq -0x38(%rbp), %rax
movq 0x8(%rax), %rdi
leaq 0x4c2f(%rip), %rsi      # 0xe8ae
callq 0x2220
cmpl $0x0, %eax
jne 0x9ca1
movq 0x288b0(%rip), %rax     # 0x32540
movl 0x4c(%rax), %ecx
orl $0x10000, %ecx          # imm = 0x10000
movl %ecx, 0x4c(%rax)
jmp 0x9d5d
movq -0x38(%rbp), %rax
movq 0x8(%rax), %rdi
leaq 0x4c08(%rip), %rsi      # 0xe8b8
callq 0x2220
cmpl $0x0, %eax
jne 0x9cd2
movq 0x2887f(%rip), %rax     # 0x32540
movl 0x4c(%rax), %ecx
orl $0x210000, %ecx         # imm = 0x210000
movl %ecx, 0x4c(%rax)
jmp 0x9d5b
movq -0x38(%rbp), %rax
movq 0x8(%rax), %rdi
leaq 0x4be5(%rip), %rsi      # 0xe8c6
callq 0x2220
cmpl $0x0, %eax
jne 0x9d00
movq 0x2884e(%rip), %rax     # 0x32540
movl 0x4c(%rax), %ecx
orl $0x40000, %ecx          # imm = 0x40000
movl %ecx, 0x4c(%rax)
jmp 0x9d59
movq -0x38(%rbp), %rax
movq 0x8(%rax), %rdi
leaq 0x4bb4(%rip), %rsi      # 0xe8c3
callq 0x2220
cmpl $0x0, %eax
jne 0x9d2e
movq 0x28820(%rip), %rax     # 0x32540
movl 0x4c(%rax), %ecx
orl $0x40000, %ecx          # imm = 0x40000
movl %ecx, 0x4c(%rax)
jmp 0x9d57
movq -0x28(%rbp), %rsi
movl -0x2c(%rbp), %edx
movq -0x38(%rbp), %rax
movq 0x8(%rax), %rcx
leaq 0x4b88(%rip), %rdi      # 0xe8cc
movb $0x0, %al
callq 0x2d40
movl $0xffffffff, -0x1c(%rbp) # imm = 0xFFFFFFFF
jmp 0xa6ab
jmp 0x9d59
jmp 0x9d5b
jmp 0x9d5d
movl $0x0, -0x1c(%rbp)
jmp 0xa6ab
movq -0x38(%rbp), %rax
movq (%rax), %rdi
leaq 0x484e(%rip), %rsi      # 0xe5c5
callq 0x2220
cmpl $0x0, %eax
jne 0x9dd7
movq -0x38(%rbp), %rax
movq 0x8(%rax), %rax
movsbl (%rax), %eax
cmpl $0x0, %eax
jne 0x9db9
movq -0x28(%rbp), %rsi
movl -0x2c(%rbp), %edx
movq -0x38(%rbp), %rax
movq (%rax), %rcx
leaq 0x47df(%rip), %rdi      # 0xe585
movb $0x0, %al
callq 0x2d40
movl $0xffffffff, -0x1c(%rbp) # imm = 0xFFFFFFFF
jmp 0xa6ab
movq -0x38(%rbp), %rax
movq 0x8(%rax), %rdi
callq 0x2350
movl %eax, %ecx
movq 0x28771(%rip), %rax     # 0x32540
movl %ecx, 0x48(%rax)
jmp 0xa69a
movq -0x38(%rbp), %rax
movq (%rax), %rdi
leaq 0x4b0f(%rip), %rsi      # 0xe8f4
callq 0x2220
cmpl $0x0, %eax
jne 0x9e45
movq -0x38(%rbp), %rax
movq 0x8(%rax), %rax
movsbl (%rax), %eax
cmpl $0x0, %eax
jne 0x9e27
movq -0x28(%rbp), %rsi
movl -0x2c(%rbp), %edx
movq -0x38(%rbp), %rax
movq (%rax), %rcx
leaq 0x4ae6(%rip), %rdi      # 0xe8fa
movb $0x0, %al
callq 0x2d40
movl $0xffffffff, -0x1c(%rbp) # imm = 0xFFFFFFFF
jmp 0xa6ab
movq -0x38(%rbp), %rax
movq 0x8(%rax), %rdi
callq 0x2350
movl %eax, %ecx
movq 0x28703(%rip), %rax     # 0x32540
movl %ecx, 0x68(%rax)
jmp 0xa698
movq -0x38(%rbp), %rax
movq (%rax), %rdi
leaq 0x4adf(%rip), %rsi      # 0xe932
callq 0x2220
cmpl $0x0, %eax
jne 0xa66a
leaq 0x285f8(%rip), %rax     # 0x32460
cmpq %rax, 0x286d1(%rip)     # 0x32540
jne 0x9e99
movq -0x28(%rbp), %rsi
movl -0x2c(%rbp), %edx
movq -0x38(%rbp), %rax
movq (%rax), %rcx
leaq 0x48fb(%rip), %rdi      # 0xe781
movb $0x0, %al
callq 0x2d40
movl $0xffffffff, -0x1c(%rbp) # imm = 0xFFFFFFFF
jmp 0xa6ab
movq -0x38(%rbp), %rax
movq 0x10(%rax), %rax
cmpb $0x0, (%rax)
jne 0x9ece
movq -0x28(%rbp), %rsi
movl -0x2c(%rbp), %edx
movq -0x38(%rbp), %rax
movq (%rax), %rcx
leaq 0x4a7e(%rip), %rdi      # 0xe939
movb $0x0, %al
callq 0x2d40
movl $0xffffffff, -0x1c(%rbp) # imm = 0xFFFFFFFF
jmp 0xa6ab
movl $0x1, %edi
movl $0x40, %esi
callq 0x2210
movq %rax, -0x40(%rbp)
cmpq $0x0, %rax
jne 0x9f08
movq -0x28(%rbp), %rsi
movl -0x2c(%rbp), %edx
leaq 0x4828(%rip), %rdi      # 0xe71d
movb $0x0, %al
callq 0x2d40
movl $0xffffffff, -0x1c(%rbp) # imm = 0xFFFFFFFF
jmp 0xa6ab
movq 0x28631(%rip), %rax     # 0x32540
movq 0x10(%rax), %rcx
movq -0x40(%rbp), %rax
movq %rcx, (%rax)
movq -0x40(%rbp), %rcx
movq 0x2861b(%rip), %rax     # 0x32540
movq %rcx, 0x10(%rax)
movq 0x28610(%rip), %rcx     # 0x32540
movq -0x40(%rbp), %rax
movq %rcx, 0x20(%rax)
movq -0x40(%rbp), %rax
movl $0x1, 0x34(%rax)
movq -0x40(%rbp), %rax
movl $0xc8, 0x2c(%rax)
movq -0x40(%rbp), %rax
movl $0xffffffff, 0x30(%rax) # imm = 0xFFFFFFFF
movl $0x1, -0x44(%rbp)
movq -0x38(%rbp), %rax
movslq -0x44(%rbp), %rcx
movq (%rax,%rcx,8), %rax
cmpb $0x0, (%rax)
je 0xa668
movq -0x38(%rbp), %rax
movslq -0x44(%rbp), %rcx
movq (%rax,%rcx,8), %rdi
leaq 0x49e6(%rip), %rsi      # 0xe96e
callq 0x2220
cmpl $0x0, %eax
jne 0x9fc1
movq -0x38(%rbp), %rax
movl -0x44(%rbp), %ecx
addl $0x1, %ecx
movslq %ecx, %rcx
movq (%rax,%rcx,8), %rdi
callq 0x2420
movq %rax, %rcx
movq -0x40(%rbp), %rax
movq %rcx, 0x8(%rax)
movl -0x44(%rbp), %eax
addl $0x2, %eax
movl %eax, -0x44(%rbp)
jmp 0xa663
movq -0x38(%rbp), %rax
movslq -0x44(%rbp), %rcx
movq (%rax,%rcx,8), %rdi
leaq 0x49a2(%rip), %rsi      # 0xe976
callq 0x2220
cmpl $0x0, %eax
jne 0x9ff7
movq -0x40(%rbp), %rax
movl $0x1, 0x34(%rax)
movl -0x44(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x44(%rbp)
jmp 0xa661
movq -0x38(%rbp), %rax
movslq -0x44(%rbp), %rcx
movq (%rax,%rcx,8), %rdi
leaq 0x4969(%rip), %rsi      # 0xe973
callq 0x2220
cmpl $0x0, %eax
jne 0xa02d
movq -0x40(%rbp), %rax
movl $0x0, 0x34(%rax)
movl -0x44(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x44(%rbp)
jmp 0xa65f
movq -0x38(%rbp), %rax
movslq -0x44(%rbp), %rcx
movq (%rax,%rcx,8), %rdi
leaq 0x493c(%rip), %rsi      # 0xe97c
callq 0x2220
cmpl $0x0, %eax
jne 0xa077
movq -0x38(%rbp), %rax
movl -0x44(%rbp), %ecx
addl $0x1, %ecx
movslq %ecx, %rcx
movq (%rax,%rcx,8), %rdi
callq 0x2350
movl %eax, %ecx
movq -0x40(%rbp), %rax
movl %ecx, 0x2c(%rax)
movl -0x44(%rbp), %eax
addl $0x2, %eax
movl %eax, -0x44(%rbp)
jmp 0xa65d
movq -0x38(%rbp), %rax
movslq -0x44(%rbp), %rcx
movq (%rax,%rcx,8), %rdi
leaq 0x45d7(%rip), %rsi      # 0xe661
callq 0x2220
cmpl $0x0, %eax
jne 0xa0c1
movq -0x38(%rbp), %rax
movl -0x44(%rbp), %ecx
addl $0x1, %ecx
movslq %ecx, %rcx
movq (%rax,%rcx,8), %rdi
callq 0x2350
movl %eax, %ecx
movq -0x40(%rbp), %rax
movl %ecx, 0x30(%rax)
movl -0x44(%rbp), %eax
addl $0x2, %eax
movl %eax, -0x44(%rbp)
jmp 0xa65b
movq -0x38(%rbp), %rax
movslq -0x44(%rbp), %rcx
movq (%rax,%rcx,8), %rdi
leaq 0x48ad(%rip), %rsi      # 0xe981
callq 0x2220
cmpl $0x0, %eax
jne 0xa10b
movq -0x38(%rbp), %rax
movl -0x44(%rbp), %ecx
addl $0x1, %ecx
movslq %ecx, %rcx
movq (%rax,%rcx,8), %rdi
callq 0x2350
movl %eax, %ecx
movq -0x40(%rbp), %rax
movl %ecx, 0x28(%rax)
movl -0x44(%rbp), %eax
addl $0x2, %eax
movl %eax, -0x44(%rbp)
jmp 0xa659
movq -0x38(%rbp), %rax
movslq -0x44(%rbp), %rcx
movq (%rax,%rcx,8), %rdi
leaq 0x44fe(%rip), %rsi      # 0xe61c
callq 0x2220
cmpl $0x0, %eax
jne 0xa398
movq -0x38(%rbp), %rax
movq 0x8(%rax), %rax
movsbl (%rax), %eax
cmpl $0x0, %eax
jne 0xa164
movq -0x28(%rbp), %rsi
movl -0x2c(%rbp), %edx
movq -0x38(%rbp), %rax
movq (%rax), %rcx
leaq 0x4835(%rip), %rdi      # 0xe986
movb $0x0, %al
callq 0x2d40
movl $0xffffffff, -0x1c(%rbp) # imm = 0xFFFFFFFF
jmp 0xa6ab
movq -0x38(%rbp), %rax
movl -0x44(%rbp), %ecx
addl $0x1, %ecx
movslq %ecx, %rcx
movq (%rax,%rcx,8), %rdi
xorl %esi, %esi
movb $0x0, %al
callq 0x2360
movl %eax, -0x50(%rbp)
cmpl $0x0, -0x50(%rbp)
jl 0xa19b
movl -0x50(%rbp), %edi
leaq -0xe8(%rbp), %rsi
callq 0x2430
cmpl $0x0, %eax
jge 0xa1db
movq -0x28(%rbp), %rsi
movl -0x2c(%rbp), %edx
movq -0x38(%rbp), %rax
movl -0x44(%rbp), %ecx
addl $0x1, %ecx
movslq %ecx, %rcx
movq (%rax,%rcx,8), %rcx
leaq 0x47ff(%rip), %rdi      # 0xe9b9
movb $0x0, %al
callq 0x2d40
cmpl $0x0, -0x50(%rbp)
jl 0xa1cf
movl -0x50(%rbp), %edi
callq 0x21d0
movl $0xffffffff, -0x1c(%rbp) # imm = 0xFFFFFFFF
jmp 0xa6ab
movq -0x40(%rbp), %rax
cmpl $0x0, 0x30(%rax)
jl 0xa1f6
movq -0x40(%rbp), %rax
movslq 0x30(%rax), %rax
cmpq -0xb8(%rbp), %rax
jle 0xa206
movq -0xb8(%rbp), %rax
movl %eax, %ecx
movq -0x40(%rbp), %rax
movl %ecx, 0x30(%rax)
movq -0x40(%rbp), %rax
movl 0x2c(%rax), %edx
movq -0x40(%rbp), %rax
movl 0x30(%rax), %ecx
movq -0x40(%rbp), %rax
movl 0x34(%rax), %esi
leaq 0x4850(%rip), %r8       # 0xea72
leaq 0x404a(%rip), %rax      # 0xe273
cmpl $0x0, %esi
cmovneq %rax, %r8
movq -0x40(%rbp), %rax
movl 0x30(%rax), %r9d
movq -0x40(%rbp), %rax
movl 0x28(%rax), %r15d
movq -0x40(%rbp), %rax
movq 0x8(%rax), %r14
movq -0x40(%rbp), %rax
movl 0x2c(%rax), %ebx
movq -0x40(%rbp), %rax
movl 0x34(%rax), %r11d
movq -0x40(%rbp), %rax
movl 0x30(%rax), %r10d
movq -0x40(%rbp), %rax
movl 0x28(%rax), %eax
leaq 0x271d3(%rip), %rdi     # 0x31440
leaq 0x4771(%rip), %rsi      # 0xe9e5
movl %r15d, (%rsp)
movq %r14, 0x8(%rsp)
movl %ebx, 0x10(%rsp)
movl %r11d, 0x18(%rsp)
movl %r10d, 0x20(%rsp)
movl %eax, 0x28(%rsp)
movb $0x0, %al
callq 0x23d0
movl %eax, -0x4c(%rbp)
movl -0x4c(%rbp), %eax
movq -0x40(%rbp), %rcx
addl 0x30(%rcx), %eax
movslq %eax, %rdi
callq 0x22b0
movq %rax, -0x58(%rbp)
cmpq $0x0, -0x58(%rbp)
jne 0xa2f0
movq -0x28(%rbp), %rsi
movl -0x2c(%rbp), %edx
movq -0x38(%rbp), %rax
movl -0x44(%rbp), %ecx
addl $0x1, %ecx
movslq %ecx, %rcx
movq (%rax,%rcx,8), %rcx
leaq 0x47b7(%rip), %rdi      # 0xea8c
movb $0x0, %al
callq 0x2d40
movl -0x50(%rbp), %edi
callq 0x21d0
movl $0xffffffff, -0x1c(%rbp) # imm = 0xFFFFFFFF
jmp 0xa6ab
movq -0x58(%rbp), %rdi
movslq -0x4c(%rbp), %rdx
leaq 0x27141(%rip), %rsi     # 0x31440
callq 0x2270
movl -0x50(%rbp), %edi
movq -0x58(%rbp), %rsi
movslq -0x4c(%rbp), %rax
addq %rax, %rsi
movq -0x40(%rbp), %rax
movslq 0x30(%rax), %rdx
callq 0x21f0
movl %eax, -0x48(%rbp)
movl -0x50(%rbp), %edi
callq 0x21d0
movl -0x48(%rbp), %eax
movq -0x40(%rbp), %rcx
cmpl 0x30(%rcx), %eax
je 0xa371
movq -0x28(%rbp), %rsi
movl -0x2c(%rbp), %edx
movq -0x38(%rbp), %rax
movl -0x44(%rbp), %ecx
addl $0x1, %ecx
movslq %ecx, %rcx
movq (%rax,%rcx,8), %rcx
leaq 0x476f(%rip), %rdi      # 0xeac4
movb $0x0, %al
callq 0x2d40
movq -0x58(%rbp), %rdi
callq 0x2040
movl $0xffffffff, -0x1c(%rbp) # imm = 0xFFFFFFFF
jmp 0xa6ab
movl -0x4c(%rbp), %ecx
movq -0x40(%rbp), %rax
addl 0x30(%rax), %ecx
movl %ecx, 0x30(%rax)
movq -0x58(%rbp), %rcx
movq -0x40(%rbp), %rax
movq %rcx, 0x38(%rax)
movl -0x44(%rbp), %eax
addl $0x2, %eax
movl %eax, -0x44(%rbp)
jmp 0xa657
movq -0x38(%rbp), %rax
movslq -0x44(%rbp), %rcx
movq (%rax,%rcx,8), %rdi
leaq 0x4745(%rip), %rsi      # 0xeaf0
callq 0x2220
cmpl $0x0, %eax
jne 0xa592
movq -0x38(%rbp), %rax
movq 0x8(%rax), %rax
movsbl (%rax), %eax
cmpl $0x0, %eax
jne 0xa3f1
movq -0x28(%rbp), %rsi
movl -0x2c(%rbp), %edx
movq -0x38(%rbp), %rax
movq (%rax), %rcx
leaq 0x45a8(%rip), %rdi      # 0xe986
movb $0x0, %al
callq 0x2d40
movl $0xffffffff, -0x1c(%rbp) # imm = 0xFFFFFFFF
jmp 0xa6ab
movq -0x38(%rbp), %rax
movl -0x44(%rbp), %ecx
addl $0x1, %ecx
movslq %ecx, %rcx
movq (%rax,%rcx,8), %rdi
xorl %esi, %esi
movb $0x0, %al
callq 0x2360
movl %eax, -0xf0(%rbp)
cmpl $0x0, -0xf0(%rbp)
jl 0xa431
movl -0xf0(%rbp), %edi
leaq -0x188(%rbp), %rsi
callq 0x2430
cmpl $0x0, %eax
jge 0xa477
movq -0x28(%rbp), %rsi
movl -0x2c(%rbp), %edx
movq -0x38(%rbp), %rax
movl -0x44(%rbp), %ecx
addl $0x1, %ecx
movslq %ecx, %rcx
movq (%rax,%rcx,8), %rcx
leaq 0x4569(%rip), %rdi      # 0xe9b9
movb $0x0, %al
callq 0x2d40
cmpl $0x0, -0xf0(%rbp)
jl 0xa46b
movl -0xf0(%rbp), %edi
callq 0x21d0
movl $0xffffffff, -0x1c(%rbp) # imm = 0xFFFFFFFF
jmp 0xa6ab
movq -0x40(%rbp), %rax
cmpl $0x0, 0x30(%rax)
jl 0xa492
movq -0x40(%rbp), %rax
movslq 0x30(%rax), %rax
cmpq -0x158(%rbp), %rax
jle 0xa4a2
movq -0x158(%rbp), %rax
movl %eax, %ecx
movq -0x40(%rbp), %rax
movl %ecx, 0x30(%rax)
movq -0x40(%rbp), %rax
movslq 0x30(%rax), %rdi
callq 0x22b0
movq %rax, -0xf8(%rbp)
cmpq $0x0, -0xf8(%rbp)
jne 0xa4fd
movq -0x28(%rbp), %rsi
movl -0x2c(%rbp), %edx
movq -0x38(%rbp), %rax
movl -0x44(%rbp), %ecx
addl $0x1, %ecx
movslq %ecx, %rcx
movq (%rax,%rcx,8), %rcx
leaq 0x45ad(%rip), %rdi      # 0xea8c
movb $0x0, %al
callq 0x2d40
movl -0xf0(%rbp), %edi
callq 0x21d0
movl $0xffffffff, -0x1c(%rbp) # imm = 0xFFFFFFFF
jmp 0xa6ab
movl -0xf0(%rbp), %edi
movq -0xf8(%rbp), %rsi
movq -0x40(%rbp), %rax
movslq 0x30(%rax), %rdx
callq 0x21f0
movl %eax, -0xec(%rbp)
movl -0xf0(%rbp), %edi
callq 0x21d0
movl -0xec(%rbp), %eax
movq -0x40(%rbp), %rcx
cmpl 0x30(%rcx), %eax
je 0xa575
movq -0x28(%rbp), %rsi
movl -0x2c(%rbp), %edx
movq -0x38(%rbp), %rax
movl -0x44(%rbp), %ecx
addl $0x1, %ecx
movslq %ecx, %rcx
movq (%rax,%rcx,8), %rcx
leaq 0x456e(%rip), %rdi      # 0xeac4
movb $0x0, %al
callq 0x2d40
movq -0xf8(%rbp), %rdi
callq 0x2040
movl $0xffffffff, -0x1c(%rbp) # imm = 0xFFFFFFFF
jmp 0xa6ab
movq -0xf8(%rbp), %rcx
movq -0x40(%rbp), %rax
movq %rcx, 0x38(%rax)
movl -0x44(%rbp), %eax
addl $0x2, %eax
movl %eax, -0x44(%rbp)
jmp 0xa655
movq -0x38(%rbp), %rax
movslq -0x44(%rbp), %rcx
movq (%rax,%rcx,8), %rdi
leaq 0x4553(%rip), %rsi      # 0xeaf8
callq 0x2220
cmpl $0x0, %eax
jne 0xa62d
movq -0x38(%rbp), %rax
movl -0x44(%rbp), %ecx
addl $0x1, %ecx
movslq %ecx, %rcx
movq (%rax,%rcx,8), %rdi
callq 0x2350
movl %eax, -0x18c(%rbp)
cmpl $0x1, -0x18c(%rbp)
jl 0xa5e0
cmpl $0x100, -0x18c(%rbp)    # imm = 0x100
jle 0xa610
movq -0x28(%rbp), %rsi
movl -0x2c(%rbp), %edx
movq -0x40(%rbp), %rax
movq 0x8(%rax), %rcx
movl -0x18c(%rbp), %r8d
leaq 0x4502(%rip), %rdi      # 0xeaff
movb $0x0, %al
callq 0x2d40
movl $0xffffffff, -0x1c(%rbp) # imm = 0xFFFFFFFF
jmp 0xa6ab
movl -0x18c(%rbp), %eax
subl $0x1, %eax
movb %al, %cl
movq -0x40(%rbp), %rax
movb %cl, 0x10(%rax)
movl -0x44(%rbp), %eax
addl $0x2, %eax
movl %eax, -0x44(%rbp)
jmp 0xa653
movq -0x28(%rbp), %rsi
movl -0x2c(%rbp), %edx
movq -0x40(%rbp), %rax
movq 0x8(%rax), %rcx
leaq 0x4501(%rip), %rdi      # 0xeb44
movb $0x0, %al
callq 0x2d40
movl $0xffffffff, -0x1c(%rbp) # imm = 0xFFFFFFFF
jmp 0xa6ab
jmp 0xa655
jmp 0xa657
jmp 0xa659
jmp 0xa65b
jmp 0xa65d
jmp 0xa65f
jmp 0xa661
jmp 0xa663
jmp 0x9f60
jmp 0xa696
movq -0x28(%rbp), %rsi
movl -0x2c(%rbp), %edx
movq -0x38(%rbp), %rax
movq (%rax), %rcx
leaq 0x3fe7(%rip), %rdi      # 0xe666
leaq 0x4018(%rip), %r8       # 0xe69e
movb $0x0, %al
callq 0x2d40
movl $0xffffffff, -0x1c(%rbp) # imm = 0xFFFFFFFF
jmp 0xa6ab
jmp 0xa698
jmp 0xa69a
jmp 0xa69c
jmp 0xa69e
jmp 0xa6a0
jmp 0xa6a2
jmp 0xa6a4
movl $0x0, -0x1c(%rbp)
movl -0x1c(%rbp), %eax
addq $0x1a8, %rsp            # imm = 0x1A8
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
nopl (%rax)