LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_c_makefile_star2_O3/sabotage-linux[P]libnl-tiny/genl_ctrl.c
// Function: genl_ctrl_resolve
int genl_ctrl_resolve(struct nl_sock *sk, const char *name)
{
	struct nl_cache *cache;
	struct genl_family *family;
	int err;

	if ((err = genl_ctrl_alloc_cache(sk, &cache)) < 0)
		return err;

	family = genl_ctrl_search_by_name(cache, name);
	if (family == NULL) {
		err = -NLE_OBJ_NOTFOUND;
		goto errout;
	}

	err = genl_family_get_id(family);
	genl_family_put(family);
errout:
	nl_cache_free(cache);

	return err;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %r14
movq %rdi, %rsi
leaq 0x58a7(%rip), %rdi      # 0xb3c8
movq %rsp, %rdx
callq 0x3600
testl %eax, %eax
js 0x5b54
movq (%rsp), %rdi
movq %r14, %rsi
callq 0x3490
testq %rax, %rax
je 0x5b58
xorl %ebx, %ebx
testb $0x1, 0x30(%rax)
je 0x5b4a
movzwl 0x34(%rax), %ebx
movq %rax, %rdi
callq 0x3100
jmp 0x5b5d
movl %eax, %ebx
jmp 0x5b66
movl $0xfffffff4, %ebx       # imm = 0xFFFFFFF4
movq (%rsp), %rdi
callq 0x3050
movl %ebx, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O3/sabotage-linux[P]libnl-tiny/genl_ctrl.c
// Function: genl_ctrl_resolve_grp
int genl_ctrl_resolve_grp(struct nl_sock *sk, const char *family_name,
	const char *grp_name)
{
	struct nl_cache *cache;
	struct genl_family *family;
	int err;

	if ((err = genl_ctrl_alloc_cache(sk, &cache)) < 0)
		return err;

	family = genl_ctrl_search_by_name(cache, family_name);
	if (family == NULL) {
		err = -NLE_OBJ_NOTFOUND;
		goto errout;
	}

	err = genl_ctrl_grp_by_name(family, grp_name);
	genl_family_put(family);
errout:
	nl_cache_free(cache);

	return err;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x10, %rsp
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, %rsi
leaq 0x583c(%rip), %rdi      # 0xb3c8
leaq 0x8(%rsp), %rdx
callq 0x3600
testl %eax, %eax
js 0x5bda
movq 0x8(%rsp), %rdi
movq %r14, %rsi
callq 0x3490
testq %rax, %rax
je 0x5bde
movq %rax, %r14
movq %rax, %r15
addq $0x68, %r15
movq %r15, %r12
movq (%r12), %r12
cmpq %r15, %r12
je 0x5be5
leaq 0x10(%r12), %rdi
movq %rbx, %rsi
callq 0x3280
testl %eax, %eax
jne 0x5bb9
movl 0x20(%r12), %ebp
jmp 0x5bea
movl %eax, %ebp
jmp 0x5bfc
movl $0xfffffff4, %ebp       # imm = 0xFFFFFFF4
jmp 0x5bf2
movl $0xfffffff4, %ebp       # imm = 0xFFFFFFF4
movq %r14, %rdi
callq 0x3100
movq 0x8(%rsp), %rdi
callq 0x3050
movl %ebp, %eax
addq $0x10, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/sabotage-linux[P]libnl-tiny/genl_mngt.c
// Function: genl_msg_parser
static int genl_msg_parser(struct nl_cache_ops *ops, struct sockaddr_nl *who,
			   struct nlmsghdr *nlh, struct nl_parser_param *pp)
{
	int i, err;
	struct genlmsghdr *ghdr;
	struct genl_cmd *cmd;

	ghdr = nlmsg_data(nlh);

	if (ops->co_genl == NULL)
		BUG();

	for (i = 0; i < ops->co_genl->o_ncmds; i++) {
		cmd = &ops->co_genl->o_cmds[i];
		if (cmd->c_id == ghdr->cmd)
			goto found;
	}

	err = -NLE_MSGTYPE_NOSUPPORT;
	goto errout;

found:
	if (cmd->c_msg_parser == NULL)
		err = -NLE_OPNOTSUPP;
	else {
		struct nlattr *tb[cmd->c_maxattr + 1];
		struct genl_info info = {
			.who = who,
			.nlh = nlh,
			.genlhdr = ghdr,
			.userhdr = genlmsg_data(ghdr),
			.attrs = tb,
		};

		err = nlmsg_parse(nlh, ops->co_hdrsize, tb, cmd->c_maxattr,
				  cmd->c_attr_policy);
		if (err < 0)
			goto errout;

		err = cmd->c_msg_parser(ops, cmd, &info, pp);
	}
errout:
	return err;

}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movq %rdx, %r12
movq 0x40(%rdi), %rdx
testq %rdx, %rdx
je 0x5fe3
movq %rcx, %rbx
movslq 0x20(%rdx), %rcx
movl $0xffffffea, %eax       # imm = 0xFFFFFFEA
testq %rcx, %rcx
jle 0x5fd4
movq %rdi, %r14
leaq 0x10(%r12), %rdi
movq 0x18(%rdx), %r15
movzbl (%rdi), %edx
cmpl %edx, (%r15)
je 0x5f5e
addq $0x28, %r15
decq %rcx
jne 0x5f4e
jmp 0x5fd4
cmpq $0x0, 0x18(%r15)
je 0x5fcf
movq %rsp, -0x30(%rbp)
movl 0x10(%r15), %eax
incl %eax
movq %rsp, %r13
leaq 0xf(,%rax,8), %rax
andq $-0x10, %rax
subq %rax, %r13
movq %r13, %rsp
movq %rsi, -0x58(%rbp)
movq %r12, -0x50(%rbp)
movq %rdi, -0x48(%rbp)
callq 0x3220
movq %rax, -0x40(%rbp)
movq %r13, -0x38(%rbp)
movl 0x8(%r14), %esi
movl 0x10(%r15), %ecx
movq 0x20(%r15), %r8
movq %r12, %rdi
movq %r13, %rdx
callq 0x3620
testl %eax, %eax
js 0x5fc9
leaq -0x58(%rbp), %rdx
movq %r14, %rdi
movq %r15, %rsi
movq %rbx, %rcx
callq *0x18(%r15)
movq -0x30(%rbp), %rsp
jmp 0x5fd4
movl $0xfffffff6, %eax       # imm = 0xFFFFFFF6
leaq -0x28(%rbp), %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
callq 0x39f5
// File: /workspace/github_c_makefile_star2_O3/sabotage-linux[P]libnl-tiny/unl.c
// Function: unl_genl_init
int unl_genl_init(struct unl *unl, const char *family)
{
	if (unl_init(unl))
		goto error_out;

	unl->hdrlen = NLMSG_ALIGN(sizeof(struct genlmsghdr));
	unl->family_name = strdup(family);
	if (!unl->family_name)
		goto error;

	if (genl_connect(unl->sock))
		goto error;

	if (genl_ctrl_alloc_cache(unl->sock, &unl->cache))
		goto error;

	unl->family = genl_ctrl_search_by_name(unl->cache, family);
	if (!unl->family)
		goto error;

	return 0;

error:
	unl_free(unl);
error_out:
	return -1;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rsi, %r14
movq %rdi, %rbx
xorps %xmm0, %xmm0
movups %xmm0, 0x10(%rdi)
movups %xmm0, (%rdi)
movq $0x0, 0x20(%rdi)
callq 0x32c0
movq %rax, %r15
movq %rax, (%rbx)
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
testq %r15, %r15
je 0x607b
movl $0x4, 0x20(%rbx)
movq %r14, %rdi
callq 0x35d0
movq %rax, 0x18(%rbx)
testq %rax, %rax
je 0x606e
movq %r15, %rdi
callq 0x32d0
testl %eax, %eax
jne 0x606e
movq (%rbx), %rdi
leaq 0x8(%rbx), %rsi
callq 0x31b0
testl %eax, %eax
je 0x6081
movq %rbx, %rdi
callq 0x3250
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
popq %rbx
popq %r14
popq %r15
retq
movq 0x8(%rbx), %rdi
movq %r14, %rsi
callq 0x3490
movq %rax, %rcx
movq %rax, 0x10(%rbx)
xorl %eax, %eax
testq %rcx, %rcx
jne 0x607b
jmp 0x606e
// File: /workspace/github_c_makefile_star2_O3/sabotage-linux[P]libnl-tiny/unl.c
// Function: unl_free
void unl_free(struct unl *unl)
{
	if (unl->family_name)
		free(unl->family_name);

	if (unl->sock)
		nl_socket_free(unl->sock);

	if (unl->cache)
		nl_cache_free(unl->cache);

	memset(unl, 0, sizeof(*unl));
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
movq 0x18(%rdi), %rdi
testq %rdi, %rdi
je 0x60af
callq 0x3060
movq (%rbx), %rdi
testq %rdi, %rdi
je 0x60bc
callq 0x34f0
movq 0x8(%rbx), %rdi
testq %rdi, %rdi
je 0x60ca
callq 0x3050
xorps %xmm0, %xmm0
movups %xmm0, 0x10(%rbx)
movups %xmm0, (%rbx)
movq $0x0, 0x20(%rbx)
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O3/sabotage-linux[P]libnl-tiny/unl.c
// Function: unl_rtnl_init
int unl_rtnl_init(struct unl *unl)
{
	if (unl_init(unl))
		goto error_out;

	unl->hdrlen = 0;
	if (nl_connect(unl->sock, NETLINK_ROUTE))
		goto error;

	return 0;

error:
	unl_free(unl);
error_out:
	return -1;
}

// Assembly:
pushq %rbp
pushq %rbx
pushq %rax
movq %rdi, %rbx
xorps %xmm0, %xmm0
movups %xmm0, 0x10(%rdi)
movups %xmm0, (%rdi)
movq $0x0, 0x20(%rdi)
callq 0x32c0
movq %rax, (%rbx)
movl $0xffffffff, %ebp       # imm = 0xFFFFFFFF
testq %rax, %rax
je 0x612c
movl $0x0, 0x20(%rbx)
xorl %ebp, %ebp
movq %rax, %rdi
xorl %esi, %esi
callq 0x3040
testl %eax, %eax
je 0x612c
movq %rbx, %rdi
callq 0x3250
movl $0xffffffff, %ebp       # imm = 0xFFFFFFFF
movl %ebp, %eax
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/sabotage-linux[P]libnl-tiny/unl.c
// Function: unl_request
int unl_request(struct unl *unl, struct nl_msg *msg, unl_cb handler, void *arg)
{
	struct nl_cb *cb;
	int err;

	cb = nl_cb_alloc(NL_CB_CUSTOM);
	err = nl_send_auto_complete(unl->sock, msg);
	if (err < 0)
		goto out;

	err = 1;
	nl_cb_err(cb, NL_CB_CUSTOM, error_handler, &err);
	nl_cb_set(cb, NL_CB_FINISH, NL_CB_CUSTOM, finish_handler, &err);
	nl_cb_set(cb, NL_CB_ACK, NL_CB_CUSTOM, ack_handler, &err);
	if (handler)
		nl_cb_set(cb, NL_CB_VALID, NL_CB_CUSTOM, handler, arg);

	while (err > 0)
		nl_recvmsgs(unl->sock, cb);

out:
	nlmsg_free(msg);
	nl_cb_put(cb);
	return err;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rcx, %r12
movq %rdx, %r13
movq %rsi, %rbx
movq %rdi, %r15
movl $0x3, %edi
callq 0x30e0
movq %rax, %r14
movq (%r15), %rdi
movq %rbx, %rsi
callq 0x3500
movl %eax, 0x4(%rsp)
testl %eax, %eax
js 0x6298
leaq 0x4(%rsp), %rbp
movl $0x1, (%rbp)
leaq 0x99(%rip), %rdx        # 0x62bb
movq %r14, %rdi
movl $0x3, %esi
movq %rbp, %rcx
callq 0x3550
leaq 0x8c(%rip), %rcx        # 0x62c5
movq %r14, %rdi
movl $0x1, %esi
movl $0x3, %edx
movq %rbp, %r8
callq 0x35f0
leaq 0x7c(%rip), %rcx        # 0x62d1
movq %r14, %rdi
movl $0x4, %esi
movl $0x3, %edx
movq %rbp, %r8
callq 0x35f0
testq %r13, %r13
je 0x6291
movq %r14, %rdi
xorl %esi, %esi
movl $0x3, %edx
movq %r13, %rcx
movq %r12, %r8
callq 0x35f0
jmp 0x6291
movq (%r15), %rdi
movq %r14, %rsi
callq 0x3170
cmpl $0x0, 0x4(%rsp)
jg 0x6286
movq %rbx, %rdi
callq 0x35a0
movq %r14, %rdi
callq 0x32b0
movl 0x4(%rsp), %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/sabotage-linux[P]libnl-tiny/unl.c
// Function: unl_loop
void unl_loop(struct unl *unl, unl_cb handler, void *arg)
{
	struct nl_cb *cb;

	cb = nl_cb_alloc(NL_CB_CUSTOM);
	unl->loop_done = false;
	nl_cb_set(cb, NL_CB_SEQ_CHECK, NL_CB_CUSTOM, no_seq_check, NULL);
	nl_cb_set(cb, NL_CB_VALID, NL_CB_CUSTOM, handler, arg);

	while (!unl->loop_done)
		nl_recvmsgs(unl->sock, cb);

	nl_cb_put(cb);
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %r15
movq %rsi, %r12
movq %rdi, %rbx
movl $0x3, %edi
callq 0x30e0
movq %rax, %r14
movb $0x0, 0x24(%rbx)
leaq 0x54(%rip), %rcx        # 0x6382
movq %rax, %rdi
movl $0x8, %esi
movl $0x3, %edx
xorl %r8d, %r8d
callq 0x35f0
movq %r14, %rdi
xorl %esi, %esi
movl $0x3, %edx
movq %r12, %rcx
movq %r15, %r8
callq 0x35f0
cmpb $0x0, 0x24(%rbx)
jne 0x636f
movq (%rbx), %rdi
movq %r14, %rsi
callq 0x3170
cmpb $0x1, 0x24(%rbx)
jne 0x635e
movq %r14, %rdi
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
jmp 0x32b0
// File: /workspace/github_c_makefile_star2_O3/sabotage-linux[P]libnl-tiny/unl.c
// Function: unl_genl_multicast_id
int unl_genl_multicast_id(struct unl *unl, const char *name)
{
	struct nlattr *tb[CTRL_ATTR_MCAST_GRP_MAX + 1];
	struct nlattr *groups, *group;
	struct nl_msg *msg;
	int ctrlid;
	int ret = -1;
	int rem;

	msg = nlmsg_alloc();
	if (!msg)
		return -1;

	ctrlid = genl_ctrl_resolve(unl->sock, "nlctrl");
	genlmsg_put(msg, 0, 0, ctrlid, 0, 0, CTRL_CMD_GETFAMILY, 0);
	NLA_PUT_STRING(msg, CTRL_ATTR_FAMILY_NAME, unl->family_name);
	unl_request_single(unl, msg, &msg);
	if (!msg)
		return -1;

	groups = unl_find_attr(unl, msg, CTRL_ATTR_MCAST_GROUPS);
	if (!groups)
		goto nla_put_failure;

	nla_for_each_nested(group, groups, rem) {
		const char *gn;

		nla_parse(tb, CTRL_ATTR_MCAST_GRP_MAX, nla_data(group),
			  nla_len(group), NULL);

		if (!tb[CTRL_ATTR_MCAST_GRP_NAME] ||
		    !tb[CTRL_ATTR_MCAST_GRP_ID])
			continue;

		gn = nla_data(tb[CTRL_ATTR_MCAST_GRP_NAME]);
		if (strcmp(gn, name) != 0)
			continue;

		ret = nla_get_u32(tb[CTRL_ATTR_MCAST_GRP_ID]);
		break;
	}

nla_put_failure:
	nlmsg_free(msg);
	return ret;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rsi, %rbx
movq %rdi, %r14
callq 0x3530
movq %rax, 0x8(%rsp)
testq %rax, %rax
je 0x64f4
movq %rax, %r15
movq (%r14), %rdi
leaq 0x139b(%rip), %rsi      # 0x7754
callq 0x3570
movq %r15, %rdi
xorl %esi, %esi
xorl %edx, %edx
movl %eax, %ecx
xorl %r8d, %r8d
xorl %r9d, %r9d
pushq $0x0
pushq $0x3
callq 0x34d0
addq $0x10, %rsp
movq 0x18(%r14), %r12
movq %r12, %rdi
callq 0x31a0
leal 0x1(%rax), %edx
movq %r15, %rdi
movl $0x2, %esi
movq %r12, %rcx
callq 0x3390
testl %eax, %eax
js 0x64fb
leaq 0x8(%rsp), %r12
movq $0x0, (%r12)
leaq -0x122(%rip), %rdx      # 0x62f3
movq %r14, %rdi
movq %r15, %rsi
movq %r12, %rcx
callq 0x3580
movq (%r12), %rax
testq %rax, %rax
je 0x64f4
movl 0x20(%r14), %ecx
movq 0x30(%rax), %rax
addl $0x3, %ecx
andl $-0x4, %ecx
leaq (%rax,%rcx), %rdi
addq $0x10, %rdi
movl (%rax), %esi
subl %ecx, %esi
addl $-0x10, %esi
movl $0x7, %edx
callq 0x32a0
movl $0xffffffff, %ebp       # imm = 0xFFFFFFFF
testq %rax, %rax
je 0x6500
movq %rax, %r14
addq $0x4, %r14
movzwl (%rax), %esi
addl $-0x4, %esi
movl %esi, 0x4(%rsp)
movq %r14, %rdi
callq 0x3300
testl %eax, %eax
je 0x6500
leaq 0x10(%rsp), %r15
leaq 0x4(%rsp), %r12
leaq 0x4(%r14), %rdx
movzwl (%r14), %ecx
addl $-0x4, %ecx
movq %r15, %rdi
movl $0x2, %esi
xorl %r8d, %r8d
callq 0x3310
movq 0x18(%rsp), %rdi
movq 0x20(%rsp), %r13
testq %rdi, %rdi
setne %al
testq %r13, %r13
setne %cl
andb %al, %cl
cmpb $0x1, %cl
jne 0x64d4
addq $0x4, %rdi
movq %rbx, %rsi
callq 0x3280
testl %eax, %eax
je 0x651b
movq %r14, %rdi
movq %r12, %rsi
callq 0x34b0
movq %rax, %r14
movl 0x4(%rsp), %esi
movq %rax, %rdi
callq 0x3300
testl %eax, %eax
jne 0x648c
jmp 0x6500
movl $0xffffffff, %ebp       # imm = 0xFFFFFFFF
jmp 0x650a
movl $0xffffffff, %ebp       # imm = 0xFFFFFFFF
movq 0x8(%rsp), %rdi
callq 0x35a0
movl %ebp, %eax
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movl 0x4(%r13), %ebp
jmp 0x6500
// File: /workspace/github_c_makefile_star2_O3/sabotage-linux[P]libnl-tiny/unl.c
// Function: unl_genl_subscribe
int unl_genl_subscribe(struct unl *unl, const char *name)
{
	int mcid;

	mcid = unl_genl_multicast_id(unl, name);
	if (mcid < 0)
		return mcid;

	return nl_socket_add_membership(unl->sock, mcid);
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
callq 0x3410
testl %eax, %eax
js 0x653d
movq (%rbx), %rdi
movl %eax, %esi
xorl %edx, %edx
xorl %eax, %eax
popq %rbx
jmp 0x3440
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O3/sabotage-linux[P]libnl-tiny/unl.c
// Function: unl_genl_unsubscribe
int unl_genl_unsubscribe(struct unl *unl, const char *name)
{
	int mcid;

	mcid = unl_genl_multicast_id(unl, name);
	if (mcid < 0)
		return mcid;

	return nl_socket_drop_membership(unl->sock, mcid);
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
callq 0x3410
testl %eax, %eax
js 0x655b
movq (%rbx), %rdi
movl %eax, %esi
xorl %edx, %edx
xorl %eax, %eax
popq %rbx
jmp 0x3160
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O3/sabotage-linux[P]libnl-tiny/unl.c
// Function: unl_nl80211_phy_lookup
int unl_nl80211_phy_lookup(const char *name)
{
	char buf[32];
	int fd, pos;

	snprintf(buf, sizeof(buf), "/sys/class/ieee80211/%s/index", name);

	fd = open(buf, O_RDONLY);
	if (fd < 0)
		return -1;
	pos = read(fd, buf, sizeof(buf) - 1);
	if (pos < 0) {
		close(fd);
		return -1;
	}
	buf[pos] = '\0';
	close(fd);
	return atoi(buf);
}

// Assembly:
pushq %rbp
pushq %rbx
subq $0x28, %rsp
movq %rdi, %rcx
leaq 0x1294(%rip), %rdx      # 0x7801
movq %rsp, %rbx
movl $0x20, %esi
movq %rbx, %rdi
xorl %eax, %eax
callq 0x31d0
movq %rbx, %rdi
xorl %esi, %esi
xorl %eax, %eax
callq 0x3460
movl $0xffffffff, %ebx       # imm = 0xFFFFFFFF
testl %eax, %eax
js 0x65cc
movl %eax, %ebp
movq %rsp, %rsi
movl $0x1f, %edx
movl %eax, %edi
callq 0x3260
testl %eax, %eax
js 0x65c5
andl $0x7fffffff, %eax       # imm = 0x7FFFFFFF
movb $0x0, (%rsp,%rax)
movl %ebp, %edi
callq 0x3230
movq %rsp, %rdi
callq 0x34e0
movl %eax, %ebx
jmp 0x65cc
movl %ebp, %edi
callq 0x3230
movl %ebx, %eax
addq $0x28, %rsp
popq %rbx
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/sabotage-linux[P]libnl-tiny/unl.c
// Function: unl_nl80211_wdev_to_phy
int unl_nl80211_wdev_to_phy(struct unl *unl, int wdev)
{
	struct nl_msg *msg;
	struct nlattr *attr;
	int ret = -1;

	msg = unl_genl_msg(unl, NL80211_CMD_GET_INTERFACE, false);
	if (!msg)
		return -1;

	NLA_PUT_U32(msg, NL80211_ATTR_IFINDEX, wdev);
	if (unl_request_single(unl, msg, &msg) < 0)
		return -1;

	attr = unl_find_attr(unl, msg, NL80211_ATTR_WIPHY);
	if (!attr)
		goto out;

	ret = nla_get_u32(attr);
out:
nla_put_failure:
	nlmsg_free(msg);
	return ret;
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
subq $0x10, %rsp
movl %esi, %ebp
movq %rdi, %rbx
movl $0x5, %esi
xorl %edx, %edx
callq 0x31c0
movq %rax, (%rsp)
testq %rax, %rax
je 0x666b
movq %rax, %r14
leaq 0xc(%rsp), %rcx
movl %ebp, (%rcx)
movq %rax, %rdi
movl $0x3, %esi
movl $0x4, %edx
callq 0x3390
testl %eax, %eax
js 0x6672
movq %rsp, %rcx
movq $0x0, (%rcx)
leaq -0x335(%rip), %rdx      # 0x62f3
movq %rbx, %rdi
movq %r14, %rsi
callq 0x3580
testl %eax, %eax
js 0x666b
movq (%rsp), %rax
movl 0x20(%rbx), %ecx
movq 0x30(%rax), %rax
addl $0x3, %ecx
andl $-0x4, %ecx
leaq (%rax,%rcx), %rdi
addq $0x10, %rdi
movl (%rax), %esi
subl %ecx, %esi
addl $-0x10, %esi
movl $0x1, %edx
callq 0x32a0
testq %rax, %rax
je 0x6672
movl 0x4(%rax), %ebx
jmp 0x6677
movl $0xffffffff, %ebx       # imm = 0xFFFFFFFF
jmp 0x6680
movl $0xffffffff, %ebx       # imm = 0xFFFFFFFF
movq (%rsp), %rdi
callq 0x35a0
movl %ebx, %eax
addq $0x10, %rsp
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/tomka[P]cliaspora/cliaspora.c
// Function: create_session
static session_t *
create_session()
{
	session_t *sp;

	errno = 0;
	if (cfg.host == NULL || cfg.host[0] == '\0') {
		warnx("Host not defined. Corrupted config file?");
		return (NULL);
	}
	if (cfg.cookie == NULL || cfg.cookie[0] == '\0') {
		warnx("Cookie not defined. Corrupted config file?");
		return (NULL);
	}
	if ((sp = malloc(sizeof(session_t))) == NULL)
		return (NULL);

	sp->host	 = cfg.host;
	sp->port	 = cfg.port;
	sp->cookie	 = cfg.cookie; 
	sp->attr.name	 = sp->attr.did = NULL;
	sp->attr.aspects = NULL;

	if (get_attributs(sp) == -1) {
		free_session(sp); return (NULL);
	}
	return (sp);
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
callq 0x2060
movl $0x0, (%rax)
leaq 0xbe62(%rip), %r14      # 0xf400
movq 0x10(%r14), %r15
testq %r15, %r15
je 0x3606
cmpb $0x0, (%r15)
je 0x3606
movq 0x18(%r14), %r12
testq %r12, %r12
je 0x360f
cmpb $0x0, (%r12)
je 0x360f
movl $0x60, %edi
callq 0x2420
testq %rax, %rax
je 0x3602
movq %rax, %rbx
movq %r15, (%rax)
movzwl (%r14), %eax
movw %ax, 0x10(%rbx)
movq %r12, 0x8(%rbx)
movq $0x0, 0x58(%rbx)
xorps %xmm0, %xmm0
movups %xmm0, 0x40(%rbx)
movq %rbx, %rdi
callq 0x6248
cmpl $-0x1, %eax
jne 0x361f
movq %rbx, %rdi
callq 0x622a
xorl %ebx, %ebx
jmp 0x361f
leaq 0x71e1(%rip), %rdi      # 0xa7ee
jmp 0x3616
leaq 0x7201(%rip), %rdi      # 0xa817
xorl %ebx, %ebx
xorl %eax, %eax
callq 0x22d0
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O3/tomka[P]cliaspora/cliaspora.c
// Function: show_contacts
static void
show_contacts(contact_t *contacts)
{
	wchar_t	  w[50];
	contact_t *ctp;

	(void)wprintf(L"ID       NAME                     HANDLE\n");
	for (ctp = contacts; ctp != NULL; ctp = ctp->next) {
		(void)wprintf(L"%-8d ", ctp->id);
		(void)mbstowcs(w, ctp->name, 50); w[24] = L'\0';
		(void)wprintf(L"%-24S ", w);
		(void)mbstowcs(w, ctp->handle, 50); w[40] = L'\0';
		(void)wprintf(L"%-40S\n", w);
	}
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xc8, %rsp
movq %rdi, %rbx
leaq 0x6dc1(%rip), %rdi      # 0xb31c
xorl %ebp, %ebp
xorl %eax, %eax
callq 0x24c0
testq %rbx, %rbx
je 0x45dd
leaq 0x6e54(%rip), %r14      # 0xb3c4
movq %rsp, %r15
leaq 0x6e62(%rip), %r12      # 0xb3dc
leaq 0x6e77(%rip), %r13      # 0xb3f8
movl (%rbx), %esi
movq %r14, %rdi
xorl %eax, %eax
callq 0x24c0
movq 0x8(%rbx), %rsi
movl $0x32, %edx
movq %r15, %rdi
callq 0x2050
movl %ebp, 0x60(%rsp)
movq %r12, %rdi
movq %r15, %rsi
xorl %eax, %eax
callq 0x24c0
movq 0x10(%rbx), %rsi
movl $0x32, %edx
movq %r15, %rdi
callq 0x2050
movl %ebp, 0xa0(%rsp)
movq %r13, %rdi
movq %r15, %rsi
xorl %eax, %eax
callq 0x24c0
movq 0x28(%rbx), %rbx
testq %rbx, %rbx
jne 0x4581
addq $0xc8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/tomka[P]cliaspora/cliaspora.c
// Function: show_msg_index
static void
show_msg_index(session_t *sp)
{
	char	  *name;
	wchar_t   w[50];
	contact_t *ctp;
	msg_idx_t *idx;

	(void)wprintf(L"DATE                 MSG ID  " \
	    "FROM ID FROM            SUBJECT\n");
	for (idx = sp->midx; idx != NULL; idx = idx->next) {
		name = NULL;
		if (sp->contacts != NULL &&
		    (ctp = find_contact_by_id(sp->contacts,
			idx->aid)) != NULL) {
			name = ctp->name;
		} else if (sp->attr.id == idx->aid)
			name = sp->attr.name;
		(void)wprintf(L"%-20s ", idx->date);
		(void)wprintf(L"%-7d %-7d ", idx->mid, idx->aid);
		(void)mbstowcs(w, name != NULL ? name : "?", 50);
		w[15] = L'\0';
		(void)wprintf(L"%-15S ", w);
		(void)mbstowcs(w, idx->subject, 50); w[27] = L'\0';
		(void)wprintf(L"%-27S\n", w);
	}
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xc8, %rsp
movq %rdi, %rbx
leaq 0x65f7(%rip), %rdi      # 0xb1a4
xorl %r15d, %r15d
xorl %eax, %eax
callq 0x24c0
movq 0x18(%rbx), %r13
testq %r13, %r13
je 0x4c86
leaq 0x40(%rbx), %rbp
movq %rsp, %r12
movq 0x20(%rbx), %rax
movl (%r13), %ecx
testq %rax, %rax
je 0x4be2
cmpl %ecx, (%rax)
je 0x4bef
movq 0x28(%rax), %rax
jmp 0x4bd3
movq %rbp, %rax
cmpl %ecx, 0x28(%rbx)
je 0x4bf3
xorl %r14d, %r14d
jmp 0x4bf6
addq $0x8, %rax
movq (%rax), %r14
movq 0x10(%r13), %rsi
leaq 0x669b(%rip), %rdi      # 0xb29c
xorl %eax, %eax
callq 0x24c0
movl (%r13), %edx
movl 0x4(%r13), %esi
leaq 0x66a1(%rip), %rdi      # 0xb2b8
xorl %eax, %eax
callq 0x24c0
testq %r14, %r14
leaq 0x5c18(%rip), %rax      # 0xa840
cmoveq %rax, %r14
movl $0x32, %edx
movq %r12, %rdi
movq %r14, %rsi
callq 0x2050
movl %r15d, 0x3c(%rsp)
leaq 0x669c(%rip), %rdi      # 0xb2e4
movq %r12, %rsi
xorl %eax, %eax
callq 0x24c0
movq 0x8(%r13), %rsi
movl $0x32, %edx
movq %r12, %rdi
callq 0x2050
movl %r15d, 0x6c(%rsp)
leaq 0x6691(%rip), %rdi      # 0xb300
movq %r12, %rsi
xorl %eax, %eax
callq 0x24c0
movq 0x18(%r13), %r13
testq %r13, %r13
jne 0x4bcb
addq $0xc8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/tomka[P]cliaspora/cliaspora.c
// Function: show_aspects
static void
show_aspects(session_t *sp)
{
	wchar_t  w[50];
	aspect_t *ap;

	(void)wprintf(L"NAME                 ASPECT ID\n");
	for (ap = sp->attr.aspects; ap != NULL; ap = ap->next) {
		(void)mbstowcs(w, ap->name, 50); w[20] = L'\0';
		(void)wprintf(L"%-20S ", w);
		(void)wprintf(L"%d\n", ap->id);
	}
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0xc8, %rsp
movq %rdi, %rbx
leaq 0x6448(%rip), %rdi      # 0xb0f8
xorl %eax, %eax
callq 0x24c0
movq 0x58(%rbx), %r12
testq %r12, %r12
je 0x4d10
movq %rsp, %rbx
leaq 0x64ae(%rip), %r14      # 0xb178
leaq 0x64c3(%rip), %r15      # 0xb194
movq 0x8(%r12), %rsi
movl $0x32, %edx
movq %rbx, %rdi
callq 0x2050
movl $0x0, 0x50(%rsp)
movq %r14, %rdi
movq %rbx, %rsi
xorl %eax, %eax
callq 0x24c0
movl (%r12), %esi
movq %r15, %rdi
xorl %eax, %eax
callq 0x24c0
movq 0x10(%r12), %r12
testq %r12, %r12
jne 0x4cd1
addq $0xc8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O3/tomka[P]cliaspora/cliaspora.c
// Function: like
static int
like(session_t *sp, int id)
{
	int	   status, ret;
	char	   *url;
	ssl_conn_t *cp;
	
	errno = 0;
	if ((url = strduprintf("/posts/%d/likes", id)) == NULL)
		return (-1);
	if ((cp = ssl_connect(sp->host, sp->port)) == NULL) {
		free(url); return (-1);
	}
	status = http_post(cp, url, sp->cookie, NULL,
	    USER_AGENT, HTTP_POST_TYPE_JSON, "[]");
	free(url);
	if (status == HTTP_UNAUTHORIZED) {
		warnx("You're not logged in. Please create a new session");
		ret = -1;
	} else if (status == -1)
		ret = -1;
	else if (status == HTTP_CREATED)
		ret = 0;
	else {
		warnx("Server replied with code %d", status);
		ret = -1;
	}
	ssl_disconnect(cp);

	return (ret);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movl %esi, %ebx
movq %rdi, %r15
callq 0x2060
movl $0x0, (%rax)
leaq 0x587c(%rip), %rdi      # 0xa5b9
movl %ebx, %esi
xorl %eax, %eax
callq 0x9772
movl $0xffffffff, %ebp       # imm = 0xFFFFFFFF
testq %rax, %rax
je 0x4def
movq %rax, %r14
movq (%r15), %rdi
movzwl 0x10(%r15), %esi
callq 0x7710
testq %rax, %rax
je 0x4dc4
movq %rax, %rbx
movq 0x8(%r15), %rdx
leaq 0x5852(%rip), %rax      # 0xa5c9
movq %rax, (%rsp)
leaq 0x567e(%rip), %r8       # 0xa400
movq %rbx, %rdi
movq %r14, %rsi
xorl %ecx, %ecx
movl $0x1, %r9d
callq 0x8281
movl %eax, %ebp
movq %r14, %rdi
callq 0x23c0
cmpl $-0x1, %ebp
je 0x4de7
cmpl $0xc9, %ebp
je 0x4dce
cmpl $0x191, %ebp            # imm = 0x191
jne 0x4dd2
leaq 0x564f(%rip), %rdi      # 0xa40a
xorl %eax, %eax
callq 0x22d0
jmp 0x4de2
movq %r14, %rdi
callq 0x23c0
jmp 0x4def
xorl %ebp, %ebp
jmp 0x4de7
leaq 0x58e2(%rip), %rdi      # 0xa6bb
movl %ebp, %esi
xorl %eax, %eax
callq 0x22d0
movl $0xffffffff, %ebp       # imm = 0xFFFFFFFF
movq %rbx, %rdi
callq 0x7921
movl %ebp, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/tomka[P]cliaspora/cliaspora.c
// Function: delete_post
static int
delete_post(session_t *sp, int id)
{
	int	   status, ret;
	char	   *url;
	ssl_conn_t *cp;
	
	errno = 0;
	if ((url = strduprintf("/posts/%d", id)) == NULL)
		return (-1);
	if ((cp = ssl_connect(sp->host, sp->port)) == NULL) {
		free(url); return (-1);
	}
	status = http_delete(cp, url, sp->cookie, USER_AGENT);
	free(url);
	if (status == HTTP_UNAUTHORIZED) {
		warnx("You're not logged in. Please create a new session");
		ret = -1;
	} else if (status == HTTP_FOUND)
		ret = 0;
	else if (status == -1)
		ret = -1;
	else {
		warnx("Server replied with code %d", status);
		ret = -1;
	}
	ssl_disconnect(cp);

	return (ret);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movl %esi, %ebx
movq %rdi, %r14
callq 0x2060
movl $0x0, (%rax)
leaq 0x57b2(%rip), %rdi      # 0xa5cc
movl %ebx, %esi
xorl %eax, %eax
callq 0x9772
movl $0xffffffff, %ebp       # imm = 0xFFFFFFFF
testq %rax, %rax
je 0x4eb9
movq %rax, %r15
movq (%r14), %rdi
movzwl 0x10(%r14), %esi
callq 0x7710
testq %rax, %rax
je 0x4e8e
movq %rax, %rbx
movq 0x8(%r14), %rdx
leaq 0x55ac(%rip), %rcx      # 0xa400
movq %rax, %rdi
movq %r15, %rsi
callq 0x838c
movl %eax, %ebp
movq %r15, %rdi
callq 0x23c0
cmpl $-0x1, %ebp
je 0x4eac
cmpl $0x12e, %ebp            # imm = 0x12E
je 0x4e98
cmpl $0x191, %ebp            # imm = 0x191
jne 0x4e9c
leaq 0x5585(%rip), %rdi      # 0xa40a
xorl %eax, %eax
callq 0x22d0
jmp 0x4eac
movq %r15, %rdi
callq 0x23c0
jmp 0x4eb9
xorl %ebp, %ebp
jmp 0x4eb1
leaq 0x5818(%rip), %rdi      # 0xa6bb
movl %ebp, %esi
xorl %eax, %eax
callq 0x22d0
movl $0xffffffff, %ebp       # imm = 0xFFFFFFFF
movq %rbx, %rdi
callq 0x7921
movl %ebp, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/tomka[P]cliaspora/cliaspora.c
// Function: get_aspect_id
static int
get_aspect_id(session_t *sp, const char *name)
{
	aspect_t *ap;

	for (ap = sp->attr.aspects; ap != NULL; ap = ap->next) {
		if (strcmp(ap->name, name) == 0)
			return (ap->id);
	}
	return (-1);
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq 0x58(%rdi), %r15
movl $0xffffffff, %ebx       # imm = 0xFFFFFFFF
testq %r15, %r15
je 0x4efa
movq %rsi, %r14
movq 0x8(%r15), %rdi
movq %r14, %rsi
callq 0x2450
testl %eax, %eax
je 0x4ef7
movq 0x10(%r15), %r15
testq %r15, %r15
jne 0x4edc
jmp 0x4efa
movl (%r15), %ebx
movl %ebx, %eax
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O3/tomka[P]cliaspora/cliaspora.c
// Function: follow_tag
static int
follow_tag(session_t *sp, const char *tag)
{
	int	   status, ret;
	char	   *rq, *p;
	ssl_conn_t *cp;
	
	errno = 0;

	while (*tag == '\0' && *tag != '#')
		tag++;
	if ((p = urlencode(tag)) == NULL)
		return (-1);
	if ((rq = strduprintf("name=%s", p)) == NULL) {
		free(p); return (-1);
	}
	free(p);
	if ((cp = ssl_connect(sp->host, sp->port)) == NULL) {
		free(rq); return (-1);
	}
	status = http_post(cp, "/tag_followings", sp->cookie, NULL,
	    USER_AGENT, HTTP_POST_TYPE_FORM, rq);
	free(rq);
	if (status == HTTP_UNAUTHORIZED) {
		warnx("You're not logged in. Please create a new session");
		ret = -1;
	} else if (status == HTTP_CREATED)
		ret = 0;
	else if (status == -1)
		ret = -1;
	else {
		warnx("Server replied with code %d", status);
		ret = -1;
	}
	ssl_disconnect(cp);

	return (ret);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x10, %rsp
movq %rsi, %rbx
movq %rdi, %r15
callq 0x2060
movl $0x0, (%rax)
decq %rbx
cmpb $0x0, 0x1(%rbx)
leaq 0x1(%rbx), %rbx
je 0x5839
movq %rbx, %rdi
callq 0x807d
movl $0xffffffff, %ebx       # imm = 0xFFFFFFFF
testq %rax, %rax
je 0x5914
movq %rax, %r14
leaq 0x4df2(%rip), %rdi      # 0xa655
movq %rax, %rsi
xorl %eax, %eax
callq 0x9772
movq %rax, %r12
movq %r14, %rdi
callq 0x23c0
testq %r12, %r12
je 0x5914
movq (%r15), %rdi
movzwl 0x10(%r15), %esi
callq 0x7710
testq %rax, %rax
je 0x58ed
movq %rax, %r14
movq 0x8(%r15), %rdx
movq %r12, (%rsp)
leaq 0x4db8(%rip), %rsi      # 0xa65d
leaq 0x4b54(%rip), %r8       # 0xa400
xorl %ebx, %ebx
movq %rax, %rdi
xorl %ecx, %ecx
movl $0x3, %r9d
callq 0x8281
movl %eax, %ebp
movq %r12, %rdi
callq 0x23c0
cmpl $-0x1, %ebp
je 0x5907
cmpl $0xc9, %ebp
je 0x590c
cmpl $0x191, %ebp            # imm = 0x191
jne 0x58f7
leaq 0x4b26(%rip), %rdi      # 0xa40a
xorl %eax, %eax
callq 0x22d0
jmp 0x5907
movq %r12, %rdi
callq 0x23c0
jmp 0x5914
leaq 0x4dbd(%rip), %rdi      # 0xa6bb
movl %ebp, %esi
xorl %eax, %eax
callq 0x22d0
movl $0xffffffff, %ebx       # imm = 0xFFFFFFFF
movq %r14, %rdi
callq 0x7921
movl %ebx, %eax
addq $0x10, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/tomka[P]cliaspora/cliaspora.c
// Function: add_contact
static int
add_contact(session_t *sp, int aspect, int id)
{
	int	   status, ret;
	char	   *rq;
	ssl_conn_t *cp;
	const char tmpl[] = "aspect_id=%d&person_id=%d&_method=POST";

	errno = 0;
	if ((rq = strduprintf(tmpl, aspect, id)) == NULL)
		return (-1);
	if ((cp = ssl_connect(sp->host, sp->port)) == NULL) {
		free(rq);
		return (-1);
	}
	status = http_post(cp, "/aspect_memberships.json", sp->cookie, NULL,
	    USER_AGENT, HTTP_POST_TYPE_FORM, rq);
	free(rq);
	if (status == HTTP_UNAUTHORIZED) {
		warnx("You're not logged in. Please create a new session");
		ret = -1;
	} else if (status == HTTP_OK)
		ret = 0;
	else if (status == -1)
		ret = -1;
	else {
		warnx("Server replied with code %d", status);
		ret = -1;
	}
	ssl_disconnect(cp);

	return (ret);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x40, %rsp
movl %edx, %ebx
movl %esi, %ebp
movq %rdi, %r15
movaps 0x56f3(%rip), %xmm0     # 0xb030
leaq 0x10(%rsp), %r14
movaps %xmm0, 0x10(%r14)
movaps 0x56d2(%rip), %xmm0     # 0xb020
movaps %xmm0, (%r14)
movabsq $0x54534f503d646f, %rax # imm = 0x54534F503D646F
movq %rax, 0x1f(%r14)
callq 0x2060
movl $0x0, (%rax)
movq %r14, %rdi
movl %ebp, %esi
movl %ebx, %edx
xorl %eax, %eax
callq 0x9772
movl $0xffffffff, %r14d      # imm = 0xFFFFFFFF
testq %rax, %rax
je 0x5a20
movq %rax, %r12
movq (%r15), %rdi
movzwl 0x10(%r15), %esi
callq 0x7710
testq %rax, %rax
je 0x59f8
movq %rax, %rbx
movq 0x8(%r15), %rdx
movq %r12, (%rsp)
leaq 0x4cbe(%rip), %rsi      # 0xa66d
leaq 0x4a4a(%rip), %r8       # 0xa400
xorl %r14d, %r14d
movq %rax, %rdi
xorl %ecx, %ecx
movl $0x3, %r9d
callq 0x8281
movl %eax, %ebp
movq %r12, %rdi
callq 0x23c0
cmpl $-0x1, %ebp
je 0x5a12
cmpl $0xc8, %ebp
je 0x5a18
cmpl $0x191, %ebp            # imm = 0x191
jne 0x5a02
leaq 0x4a1b(%rip), %rdi      # 0xa40a
xorl %eax, %eax
callq 0x22d0
jmp 0x5a12
movq %r12, %rdi
callq 0x23c0
jmp 0x5a20
leaq 0x4cb2(%rip), %rdi      # 0xa6bb
movl %ebp, %esi
xorl %eax, %eax
callq 0x22d0
movl $0xffffffff, %r14d      # imm = 0xFFFFFFFF
movq %rbx, %rdi
callq 0x7921
movl %r14d, %eax
addq $0x40, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/tomka[P]cliaspora/cliaspora.c
// Function: add_aspect
static int
add_aspect(session_t *sp, const char *name, bool visible)
{
	int	   status, ret;
	char	   *rq;
	ssl_conn_t *cp;
	const char tmpl[] = "aspect%%5bname%%5d=%s&aspect%%5b" \
			    "contacts_visible%%5d=%d";

	errno = 0;
	if ((rq = strduprintf(tmpl, name, visible ? 1 : 0)) == NULL)
		return (-1);
	if ((cp = ssl_connect(sp->host, sp->port)) == NULL) {
		free(rq); return (-1);
	}
	status = http_post(cp, "/aspects", sp->cookie, NULL,
	    USER_AGENT, HTTP_POST_TYPE_FORM, rq);
	free(rq);
	if (status == HTTP_UNAUTHORIZED) {
		warnx("You're not logged in. Please create a new session");
		ret = -1;
	} else if (status == HTTP_FOUND)
		ret = 0;
	else if (status == -1)
		ret = -1;
	else {
		warnx("Server replied with code %d", status);
		ret = -1;
	}
	ssl_disconnect(cp);

	return (ret);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x50, %rsp
movl %edx, %ebx
movq %rsi, %r14
movq %rdi, %r15
movaps 0x55b5(%rip), %xmm0     # 0xb000
leaq 0x10(%rsp), %r12
movaps %xmm0, 0x20(%r12)
movaps 0x5593(%rip), %xmm0     # 0xaff0
movaps %xmm0, 0x10(%r12)
movaps 0x5576(%rip), %xmm0     # 0xafe0
movaps %xmm0, (%r12)
movabsq $0x64253d64352525, %rax # imm = 0x64253D64352525
movq %rax, 0x30(%r12)
callq 0x2060
movl $0x0, (%rax)
xorl %edx, %edx
testl %ebx, %ebx
setne %dl
movq %r12, %rdi
movq %r14, %rsi
xorl %eax, %eax
callq 0x9772
movl $0xffffffff, %r14d      # imm = 0xFFFFFFFF
testq %rax, %rax
je 0x5b44
movq %rax, %r12
movq (%r15), %rdi
movzwl 0x10(%r15), %esi
callq 0x7710
testq %rax, %rax
je 0x5b1c
movq %rax, %rbx
movq 0x8(%r15), %rdx
movq %r12, (%rsp)
leaq 0x4b79(%rip), %rsi      # 0xa64c
leaq 0x4926(%rip), %r8       # 0xa400
xorl %r14d, %r14d
movq %rax, %rdi
xorl %ecx, %ecx
movl $0x3, %r9d
callq 0x8281
movl %eax, %ebp
movq %r12, %rdi
callq 0x23c0
cmpl $-0x1, %ebp
je 0x5b36
cmpl $0x12e, %ebp            # imm = 0x12E
je 0x5b3c
cmpl $0x191, %ebp            # imm = 0x191
jne 0x5b26
leaq 0x48f7(%rip), %rdi      # 0xa40a
xorl %eax, %eax
callq 0x22d0
jmp 0x5b36
movq %r12, %rdi
callq 0x23c0
jmp 0x5b44
leaq 0x4b8e(%rip), %rdi      # 0xa6bb
movl %ebp, %esi
xorl %eax, %eax
callq 0x22d0
movl $0xffffffff, %r14d      # imm = 0xFFFFFFFF
movq %rbx, %rdi
callq 0x7921
movl %r14d, %eax
addq $0x50, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/tomka[P]cliaspora/cliaspora.c
// Function: post
static int
post(session_t *sp, const char *msg, const char *aspect)
{
	int	   aid, ret, status;
	char	   *rq, *p, idstr[24];
	ssl_conn_t *cp;
	const char tmpl[] = "{\"status_message\":{\"text\":\"%s\", "	  \
			     "\"provider_display_name\":\"cliaspora\"},"  \
			     "\"aspect_ids\":\"%s\"}\n\n";

	errno = 0;
	if (strcmp(aspect, "public") == 0)
		(void)strncpy(idstr, "public", sizeof(idstr));
	else if ((aid = get_aspect_id(sp, aspect)) == -1) {
		warnx("Unknown aspect '%s'", aspect); return (-1);
	} else
		(void)snprintf(idstr, sizeof(idstr), "%d", aid);
	if ((p = json_escape_str(msg)) == NULL)
		return (-1);
	if ((rq = strduprintf(tmpl, p, idstr)) == NULL) {
		free(p); return (-1);
	}
	free(p);
	if ((cp = ssl_connect(sp->host, sp->port)) == NULL)
		return (-1);
	status = http_post(cp, "/status_messages", sp->cookie, NULL,
	    USER_AGENT, HTTP_POST_TYPE_JSON, rq);
	free(rq);
	if (status == HTTP_UNAUTHORIZED) {
		warnx("You're not logged in. Please create a new session");
		ret = -1;
	} else if (status == HTTP_FOUND)
		ret = 0;
	else if (status == -1)
		ret = -1;
	else {
		warnx("Server replied with code %d", status);
		ret = -1;
	}
	ssl_disconnect(cp);

	return (ret);
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x98, %rsp
movq %rdx, %r15
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x52ae(%rip), %rsi      # 0xae20
leaq 0x30(%rsp), %rax
movl $0xb, %ecx
movq %rax, %rdi
rep  movsq (%rsi), %es:(%rdi)
movw $0xa, 0x58(%rax)
callq 0x2060
movl $0x0, (%rax)
leaq 0x4675(%rip), %rsi      # 0xa20f
movq %r15, %rdi
callq 0x2450
testl %eax, %eax
je 0x5bd6
movq %rbx, %rdi
movq %r15, %rsi
callq 0x4ec6
cmpl $-0x1, %eax
je 0x5c9d
leaq 0x5ba2(%rip), %rdx      # 0xb763
leaq 0x10(%rsp), %rdi
movl $0x18, %esi
movl %eax, %ecx
xorl %eax, %eax
callq 0x2530
jmp 0x5beb
movups 0x5837(%rip), %xmm0     # 0xb414
movaps %xmm0, 0x10(%rsp)
movq $0x0, 0x20(%rsp)
movq %r14, %rdi
callq 0x8eb3
movl $0xffffffff, %r14d      # imm = 0xFFFFFFFF
testq %rax, %rax
je 0x5cd4
movq %rax, %r15
leaq 0x30(%rsp), %rdi
leaq 0x10(%rsp), %rdx
movq %rax, %rsi
xorl %eax, %eax
callq 0x9772
movq %rax, %r12
movq %r15, %rdi
callq 0x23c0
testq %r12, %r12
je 0x5cd4
movq (%rbx), %rdi
movzwl 0x10(%rbx), %esi
callq 0x7710
testq %rax, %rax
je 0x5cd4
movq %rax, %r15
movq 0x8(%rbx), %rdx
movq %r12, (%rsp)
leaq 0x4896(%rip), %rsi      # 0xa4ea
leaq 0x47a5(%rip), %r8       # 0xa400
xorl %r14d, %r14d
movq %rax, %rdi
xorl %ecx, %ecx
movl $0x1, %r9d
callq 0x8281
movl %eax, %ebx
movq %r12, %rdi
callq 0x23c0
cmpl $-0x1, %ebx
je 0x5cc6
cmpl $0x12e, %ebx            # imm = 0x12E
je 0x5ccc
cmpl $0x191, %ebx            # imm = 0x191
jne 0x5cb6
leaq 0x4776(%rip), %rdi      # 0xa40a
xorl %eax, %eax
callq 0x22d0
jmp 0x5cc6
leaq 0x4572(%rip), %rdi      # 0xa216
movq %r15, %rsi
xorl %eax, %eax
callq 0x22d0
movl $0xffffffff, %r14d      # imm = 0xFFFFFFFF
jmp 0x5cd4
leaq 0x49fe(%rip), %rdi      # 0xa6bb
movl %ebx, %esi
xorl %eax, %eax
callq 0x22d0
movl $0xffffffff, %r14d      # imm = 0xFFFFFFFF
movq %r15, %rdi
callq 0x7921
movl %r14d, %eax
addq $0x98, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O3/tomka[P]cliaspora/cliaspora.c
// Function: comment
static int
comment(session_t *sp, const char *msg, int id)
{
	int	   ret, status;
	char	   *rq, *url, *p;
	ssl_conn_t *cp;
	const char tmpl[] = "{\"text\":\"%s\"}";

	errno = 0;
	if ((url = strduprintf("/posts/%d/comments", id)) == NULL)
		return (-1);
	if ((p = json_escape_str(msg)) == NULL) {
		free(url); return (-1);
	}
	if ((rq = strduprintf(tmpl, p)) == NULL) {
		free(p); free(url); return (-1);
	}
	free(p);
	if ((cp = ssl_connect(sp->host, sp->port)) == NULL)
		return (-1);
	status = http_post(cp, url, sp->cookie, NULL,
	    USER_AGENT, HTTP_POST_TYPE_JSON, rq);
	free(rq); free(url);
	if (status == HTTP_UNAUTHORIZED) {
		warnx("You're not logged in. Please create a new session");
		ret = -1;
	} else if (status == -1)
		ret = -1;
	else if (status == HTTP_CREATED)
		ret = 0;
	else {
		warnx("Server replied with code %d", status);
		ret = -1;
	}
	ssl_disconnect(cp);

	return (ret);
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x20, %rsp
movl %edx, %ebx
movq %rsi, %r14
movq %rdi, %r12
movabsq $0x7d227325223a22, %rax # imm = 0x7D227325223A22
movq %rax, 0x16(%rsp)
movabsq $0x3a2274786574227b, %rax # imm = 0x3A2274786574227B
movq %rax, 0x10(%rsp)
callq 0x2060
movl $0x0, (%rax)
leaq 0x487b(%rip), %rdi      # 0xa5a6
movl %ebx, %esi
xorl %eax, %eax
callq 0x9772
movl $0xffffffff, %ebx       # imm = 0xFFFFFFFF
testq %rax, %rax
je 0x5e18
movq %rax, %r15
movq %r14, %rdi
callq 0x8eb3
testq %rax, %rax
je 0x5ded
movq %rax, %r14
leaq 0x10(%rsp), %rdi
movq %rax, %rsi
xorl %eax, %eax
callq 0x9772
movq %rax, %r13
movq %r14, %rdi
callq 0x23c0
testq %r13, %r13
je 0x5ded
movq (%r12), %rdi
movzwl 0x10(%r12), %esi
callq 0x7710
testq %rax, %rax
je 0x5e18
movq %rax, %r14
movq 0x8(%r12), %rdx
movq %r13, (%rsp)
leaq 0x465d(%rip), %r8       # 0xa400
movq %rax, %rdi
movq %r15, %rsi
xorl %ecx, %ecx
movl $0x1, %r9d
callq 0x8281
movl %eax, %ebx
movq %r13, %rdi
callq 0x23c0
movq %r15, %rdi
callq 0x23c0
cmpl $-0x1, %ebx
je 0x5e10
cmpl $0xc9, %ebx
je 0x5df7
cmpl $0x191, %ebx            # imm = 0x191
jne 0x5dfb
leaq 0x4626(%rip), %rdi      # 0xa40a
xorl %eax, %eax
callq 0x22d0
jmp 0x5e0b
movq %r15, %rdi
callq 0x23c0
jmp 0x5e18
xorl %ebx, %ebx
jmp 0x5e10
leaq 0x48b9(%rip), %rdi      # 0xa6bb
movl %ebx, %esi
xorl %eax, %eax
callq 0x22d0
movl $0xffffffff, %ebx       # imm = 0xFFFFFFFF
movq %r14, %rdi
callq 0x7921
movl %ebx, %eax
addq $0x20, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O3/tomka[P]cliaspora/cliaspora.c
// Function: get_pm_id
static int
get_pm_id(session_t *sp, const char *handle)
{
	int	   status, id;
	char	   *p, *q;
	contact_t  *ctp;
	ssl_conn_t *cp;

	errno = 0;
	
	for (ctp = sp->contacts; ctp != NULL; ctp = ctp->next) {
		if (strcmp(ctp->handle, handle) == 0)
			break;
	}
	if (ctp == NULL) {
		warnx("'%s' not found in your contacts", handle);
		return (-1);
	}
	if ((cp = ssl_connect(sp->host, sp->port)) == NULL)
		return (-1);
	status = http_get(cp, ctp->url, sp->cookie, "*/*", USER_AGENT);
	if (status == HTTP_UNAUTHORIZED) {
		warnx("You're not logged in. Please create a new session");
		ssl_disconnect(cp); return (-1);
	} else if (status == -1) {
		ssl_disconnect(cp); return (-1);
	} else if (status != HTTP_OK) {
		warnx("Server replied with code %d", status);
		ssl_disconnect(cp); return (-1);
	}
	for (q = NULL; q == NULL && (p = ssl_readln(cp)) != NULL;)
		q = strstr(p, "/conversations/new?contact_id=");
	if (q == NULL) {
		warnx("Unexpected server reply"); ssl_disconnect(cp);
		return (-1);
	}
	if (strtok(q, "=&\" ") == NULL ||
	    (p = strtok(NULL, "=&\" ")) == NULL) {
		warnx("Unexpected server reply"); ssl_disconnect(cp);
		return (-1);
	}
	id = strtol(p, NULL, 10);
	ssl_disconnect(cp);
	
	return (id);
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r15
callq 0x2060
movl $0x0, (%rax)
movq 0x20(%r15), %r12
testq %r12, %r12
je 0x5e62
movq 0x10(%r12), %rdi
movq %rbx, %rsi
callq 0x2450
testl %eax, %eax
je 0x5e7d
movq 0x28(%r12), %r12
jmp 0x5e45
leaq 0x4577(%rip), %rdi      # 0xa3e0
movq %rbx, %rsi
xorl %eax, %eax
callq 0x22d0
movl $0xffffffff, %ebx       # imm = 0xFFFFFFFF
jmp 0x5f61
movq (%r15), %rdi
movzwl 0x10(%r15), %esi
callq 0x7710
movl $0xffffffff, %ebx       # imm = 0xFFFFFFFF
testq %rax, %rax
je 0x5f61
movq %rax, %r14
movq 0x18(%r12), %rsi
movq 0x8(%r15), %rdx
leaq 0x45ec(%rip), %rcx      # 0xa497
leaq 0x454e(%rip), %r8       # 0xa400
movq %rax, %rdi
callq 0x81ee
cmpl $-0x1, %eax
je 0x5f59
cmpl $0x191, %eax            # imm = 0x191
je 0x5f30
cmpl $0xc8, %eax
jne 0x5f39
leaq 0x4564(%rip), %r15      # 0xa43c
movq %r14, %rdi
callq 0x7ce0
testq %rax, %rax
je 0x5f4b
movq %rax, %rdi
movq %r15, %rsi
callq 0x20d0
testq %rax, %rax
je 0x5ed8
leaq 0x4577(%rip), %rsi      # 0xa473
movq %rax, %rdi
callq 0x2500
testq %rax, %rax
je 0x5f4b
leaq 0x4563(%rip), %rsi      # 0xa473
xorl %edi, %edi
callq 0x2500
testq %rax, %rax
je 0x5f4b
movq %rax, %rdi
xorl %esi, %esi
movl $0xa, %edx
callq 0x2460
movq %rax, %rbx
jmp 0x5f59
leaq 0x44d3(%rip), %rdi      # 0xa40a
jmp 0x5f52
leaq 0x477b(%rip), %rdi      # 0xa6bb
movl %eax, %esi
xorl %eax, %eax
callq 0x22d0
jmp 0x5f59
leaq 0x4509(%rip), %rdi      # 0xa45b
xorl %eax, %eax
callq 0x22d0
movq %r14, %rdi
callq 0x7921
movl %ebx, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O3/tomka[P]cliaspora/cliaspora.c
// Function: message
static int
message(session_t *sp, const char *subject, const char *msg, int id)
{
	int	   ret, status;
	char	   *rq, *m, *s;
	ssl_conn_t *cp;
	const char tmpl[] = "contact_ids=%d&conversation%%5bsubject" \
			    "%%5d=%s&conversation%%5btext%%5d=%s\n";

	errno = 0;
	if ((m = urlencode(msg)) == NULL)
		return (-1);
	if ((s = urlencode(subject)) == NULL) {
		free(m); return (-1);
	}
	if ((rq = strduprintf(tmpl, id, s, m)) == NULL) {
		free(m); free(s); return (-1);
	}
	free(m); free(s);
	if ((cp = ssl_connect(sp->host, sp->port)) == NULL)
		return (-1);
	status = http_post(cp, "/conversations", sp->cookie, NULL,
	    USER_AGENT, HTTP_POST_TYPE_FORM, rq);
	free(rq);
	if (status == HTTP_UNAUTHORIZED) {
		warnx("You're not logged in. Please create a new session");
		ret = -1;
	} else if (status == HTTP_FOUND)
		ret = 0;
	else if (status == -1)
		ret = -1;
	else {
		warnx("Server replied with code %d", status);
		ret = -1;
	}
	ssl_disconnect(cp);

	return (ret);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x68, %rsp
movl %ecx, %ebp
movq %rdx, %rbx
movq %rsi, %r12
movq %rdi, %r15
leaq 0x4fe1(%rip), %rsi      # 0xaf70
leaq 0x10(%rsp), %rax
movl $0x9, %ecx
movq %rax, %rdi
rep  movsq (%rsi), %es:(%rdi)
movb $0x0, 0x4a(%rax)
movw $0xa73, 0x48(%rax)      # imm = 0xA73
callq 0x2060
movl $0x0, (%rax)
movq %rbx, %rdi
callq 0x807d
movl $0xffffffff, %ebx       # imm = 0xFFFFFFFF
testq %rax, %rax
je 0x60a8
movq %rax, %r14
movq %r12, %rdi
callq 0x807d
testq %rax, %rax
je 0x6081
movq %rax, %r13
leaq 0x10(%rsp), %rdi
movl %ebp, %esi
movq %rax, %rdx
movq %r14, %rcx
xorl %eax, %eax
callq 0x9772
movq %rax, %r12
movq %r14, %rdi
callq 0x23c0
movq %r13, %rdi
callq 0x23c0
testq %r12, %r12
je 0x60a8
movq (%r15), %rdi
movzwl 0x10(%r15), %esi
callq 0x7710
testq %rax, %rax
je 0x60a8
movq %rax, %r14
movq 0x8(%r15), %rdx
movq %r12, (%rsp)
leaq 0x459d(%rip), %rsi      # 0xa5d6
leaq 0x43c0(%rip), %r8       # 0xa400
xorl %ebx, %ebx
movq %rax, %rdi
xorl %ecx, %ecx
movl $0x3, %r9d
callq 0x8281
movl %eax, %ebp
movq %r12, %rdi
callq 0x23c0
cmpl $-0x1, %ebp
je 0x609b
cmpl $0x12e, %ebp            # imm = 0x12E
je 0x60a0
cmpl $0x191, %ebp            # imm = 0x191
jne 0x608b
leaq 0x4392(%rip), %rdi      # 0xa40a
xorl %eax, %eax
callq 0x22d0
jmp 0x609b
movq %r14, %rdi
callq 0x23c0
jmp 0x60a8
leaq 0x4629(%rip), %rdi      # 0xa6bb
movl %ebp, %esi
xorl %eax, %eax
callq 0x22d0
movl $0xffffffff, %ebx       # imm = 0xFFFFFFFF
movq %r14, %rdi
callq 0x7921
movl %ebx, %eax
addq $0x68, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/tomka[P]cliaspora/cliaspora.c
// Function: reply
static int
reply(session_t *sp, const char *msg, int msg_id)
{
	int	   ret, status;
	char	   *rq, *url, *p;
	ssl_conn_t *cp;

	errno = 0;

	if ((p = urlencode(msg)) == NULL)
		return (-1);
	if ((url = strduprintf("/conversations/%d/messages",
	    msg_id)) == NULL) {
		free(p); return (-1);
	}
	if ((rq = strduprintf("message%%5btext%%5d=%s\n", p)) == NULL) {
		free(p); free(url); return (-1);
	}
	free(p);
	if ((cp = ssl_connect(sp->host, sp->port)) == NULL)
		return (-1);
	status = http_post(cp, url, sp->cookie, NULL, USER_AGENT,
	    HTTP_POST_TYPE_FORM, rq);
	free(url); free(rq);
	if (status == HTTP_UNAUTHORIZED) {
		warnx("You're not logged in. Please create a new session");
		ret = -1;
	} else if (status == HTTP_FOUND)
		ret = 0;
	else if (status == -1)
		ret = -1;
	else {
		warnx("Server replied with code %d", status);
		ret = -1;
	}
	ssl_disconnect(cp);
	return (ret);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl %edx, %ebp
movq %rsi, %rbx
movq %rdi, %r15
callq 0x2060
movl $0x0, (%rax)
movq %rbx, %rdi
callq 0x807d
movl $0xffffffff, %ebx       # imm = 0xFFFFFFFF
testq %rax, %rax
je 0x61cd
movq %rax, %r14
leaq 0x44ee(%rip), %rdi      # 0xa5e5
movl %ebp, %esi
xorl %eax, %eax
callq 0x9772
testq %rax, %rax
je 0x61a1
movq %rax, %r12
leaq 0x44ed(%rip), %rdi      # 0xa600
movq %r14, %rsi
xorl %eax, %eax
callq 0x9772
movq %rax, %r13
movq %r14, %rdi
callq 0x23c0
testq %r13, %r13
je 0x61a6
movq (%r15), %rdi
movzwl 0x10(%r15), %esi
callq 0x7710
testq %rax, %rax
je 0x61cd
movq %rax, %r14
movq 0x8(%r15), %rdx
movq %r13, (%rsp)
leaq 0x42ab(%rip), %r8       # 0xa400
xorl %ebx, %ebx
movq %rax, %rdi
movq %r12, %rsi
xorl %ecx, %ecx
movl $0x3, %r9d
callq 0x8281
movl %eax, %ebp
movq %r12, %rdi
callq 0x23c0
movq %r13, %rdi
callq 0x23c0
cmpl $-0x1, %ebp
je 0x61c0
cmpl $0x12e, %ebp            # imm = 0x12E
je 0x61c5
cmpl $0x191, %ebp            # imm = 0x191
jne 0x61b0
leaq 0x4272(%rip), %rdi      # 0xa40a
xorl %eax, %eax
callq 0x22d0
jmp 0x61c0
movq %r14, %rdi
jmp 0x61a9
movq %r12, %rdi
callq 0x23c0
jmp 0x61cd
leaq 0x4504(%rip), %rdi      # 0xa6bb
movl %ebp, %esi
xorl %eax, %eax
callq 0x22d0
movl $0xffffffff, %ebx       # imm = 0xFFFFFFFF
movq %r14, %rdi
callq 0x7921
movl %ebx, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/tomka[P]cliaspora/cliaspora.c
// Function: free_contacts
static void
free_contacts(contact_t *ctp)
{

	contact_t *next;

	for (; ctp != NULL; ctp = next) {
		free(ctp->name); free(ctp->handle); 
		free(ctp->url);  free(ctp->avatar);
		next = ctp->next; free(ctp);
	}
}

// Assembly:
testq %rdi, %rdi
je 0x6229
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq 0x8(%rbx), %rdi
callq 0x23c0
movq 0x10(%rbx), %rdi
callq 0x23c0
movq 0x18(%rbx), %rdi
callq 0x23c0
movq 0x20(%rbx), %rdi
callq 0x23c0
movq 0x28(%rbx), %r14
movq %rbx, %rdi
callq 0x23c0
movq %r14, %rbx
testq %r14, %r14
jne 0x61ea
addq $0x8, %rsp
popq %rbx
popq %r14
retq