// File: /workspace/github_c_makefile_star2_O2/hsjoihs[P]c-compiler/typecheck_expression.c
// Function: typecheck_binary_expression
struct Expr typecheck_binary_expression(const struct AnalyzerState *ptr_ps,
                                        const struct Expr *ref_expr,
                                        const struct Expr *ref_expr2,
                                        enum TokenKind op)
{
	const struct Expr expr = *ref_expr;
	const struct Expr expr2 = *ref_expr2;

	if (isAssign(op)) {
		if (expr.details.type.type_category == ARRAY ||
		    (expr.details.type.type_category == PTR_ &&
		     expr.details.true_type.type_category == ARRAY)) {
			fprintf(stderr, "array is not an lvalue\n");
			exit(EXIT_FAILURE);
		}

		struct Expr new_expr;
		new_expr.details = expr.details;
		struct Expr *ptr_expr1 = calloc(1, sizeof(struct Expr));
		struct Expr *ptr_expr2 = calloc(1, sizeof(struct Expr));
		*ptr_expr1 = expr;
		new_expr.ptr1 = ptr_expr1;
		new_expr.ptr3 = 0;

		if (op == OP_EQ) {
			struct Expr expr2_new = expr2;

			if (expr.details.type.type_category == PTR_) {
				/* automatically convert function name to function pointer */
				if_function_cast_to_pointer(&expr2_new);
				cast_to_null_pointer_if_possible(&expr2_new, &expr.details);
			}

			expect_type(ptr_ps, &expr2_new.details.type, &expr.details.type,
			            "mismatch in assignment operator");

			*ptr_expr2 = expr2_new;
			new_expr.ptr2 = ptr_expr2;

			if (is_struct_or_union(&expr.details.type)) {
				new_expr.category = STRUCT_OR_UNION_ASSIGNMENT_EXPR;
				new_expr.size_info_for_struct_or_union_assign =
				    size_of(ptr_ps, &expr.details.type);
			} else {
				new_expr.category = ASSIGNMENT_EXPR;
			}
			return new_expr;
		}

		/* op != OP_EQ */
		if (is_struct_or_union(&expr.details.type)) {
			fprintf(stderr, "invalid compound assignment operator used on a "
			                "value of type `");
			debug_print_type(&expr.details.type);
			fprintf(stderr, "`\n");
			exit(EXIT_FAILURE);
		}

		if (expr.details.type.type_category == PTR_ &&
		    (op == OP_PLUS_EQ || op == OP_MINUS_EQ)) {

			expect_integral(&expr2.details.type,
			                "right side of += or -= to a pointer");

			*ptr_expr2 = expr2;

			new_expr.category = COMPOUND_ASSIGNMENT_EXPR;
			new_expr.simple_binary_operator = op_before_assign(op);

			new_expr.ptr2 = ptr_expr2;

			const struct Type deref = deref_type(&expr.details.type);
			new_expr.size_info_for_pointer_arith = size_of(ptr_ps, &deref);

			return new_expr;
		}

		if (expr.details.type.type_category == PTR_) {
			fprintf(stderr, "invalid compound assignment operator "
			                "used on a pointer\n");
			exit(EXIT_FAILURE);
		}

		expect_type(ptr_ps, &expr.details.type, &expr2.details.type,
		            "mismatch in assignment operator");

		*ptr_expr2 = expr2;

		new_expr.category = COMPOUND_ASSIGNMENT_EXPR;
		new_expr.simple_binary_operator = op_before_assign(op);

		new_expr.ptr2 = ptr_expr2;

		if (expr.details.type.type_category == PTR_ &&
		    (op == OP_PLUS_EQ || op == OP_MINUS_EQ)) {
			const struct Type deref = deref_type(&expr.details.type);
			new_expr.size_info_for_pointer_arith = size_of(ptr_ps, &deref);
		}

		return new_expr;
	}

	switch (op) {
	case OP_PLUS: {
		const struct Type type1 = expr.details.type;
		const struct Type type2 = expr2.details.type;

		if (is_integral(&type1)) {
			if (is_integral(&type2)) {
				const struct Type t = INT_TYPE();
				return simple_binary_op(&expr, &expr2, OP_PLUS, &t);
			} else if (type2.type_category == PTR_) {
				/* swapped */
				return pointer_plusorminus_int(ptr_ps, &expr2, &expr, OP_PLUS);
			} else {
				fprintf(stderr, "invalid type `");
				debug_print_type(&type2);
				fprintf(stderr, "` as the right operand of a binary +\n");
				exit(EXIT_FAILURE);
			}
		} else if (type1.type_category == PTR_) {
			expect_integral(&expr2.details.type,
			                "cannot add a pointer/struct to a pointer");
			return pointer_plusorminus_int(ptr_ps, &expr, &expr2, OP_PLUS);
		} else {
			fprintf(stderr, "invalid type `");
			debug_print_type(&type1);
			fprintf(stderr, "`as the left operand of binary +\n");
			exit(EXIT_FAILURE);
		}
	}
	case OP_MINUS: {

		struct Type type1 = expr.details.type;
		struct Type type2 = expr2.details.type;

		if (is_integral(&type1)) {
			if (is_integral(&type2)) {
				const struct Type t = INT_TYPE();
				return simple_binary_op(&expr, &expr2, OP_MINUS, &t);
			} else if (type2.type_category == PTR_) {

				fprintf(stderr, "cannot subtract a pointer "
				                "from an integer.\n");
				exit(EXIT_FAILURE);
			} else {
				fprintf(stderr, "invalid type `");
				debug_print_type(&type2);
				fprintf(stderr, "` as the right operand of a binary -\n");
				exit(EXIT_FAILURE);
			}

		} else if (type1.type_category == PTR_) {
			if (is_integral(&type2)) {

				/* pointer minus int */
				return pointer_plusorminus_int(ptr_ps, &expr, &expr2, OP_MINUS);
			} else {
				/* pointer minus pointer */

				struct Expr *ptr_expr1 = calloc(1, sizeof(struct Expr));
				struct Expr *ptr_expr2 = calloc(1, sizeof(struct Expr));
				*ptr_expr1 = expr;
				*ptr_expr2 = expr2;

				struct Expr new_expr;
				new_expr.details.type = INT_TYPE();
				new_expr.details.true_type = INT_TYPE();
				new_expr.category = POINTER_MINUS_POINTER;
				new_expr.ptr1 = ptr_expr1;
				new_expr.ptr2 = ptr_expr2;
				new_expr.ptr3 = 0;
				const struct Type deref = deref_type(&expr.details.type);
				new_expr.size_info_for_pointer_arith = size_of(ptr_ps, &deref);

				return new_expr;
			}
		} else {
			fprintf(stderr, "invalid type `");
			debug_print_type(&type1);
			fprintf(stderr, "`as the left operand of binary -\n");
			exit(EXIT_FAILURE);
		}
	}
	case OP_AND_AND: {
		expect_scalar(&expr.details.type, "operand of logical AND");
		expect_scalar(&expr2.details.type, "operand of logical AND");
		const struct Type t = INT_TYPE();
		return binary_op(&expr, &expr2, LOGICAL_AND_EXPR, &t);
	}
	case OP_OR_OR: {
		expect_scalar(&expr.details.type, "operand of logical OR");
		expect_scalar(&expr2.details.type, "operand of logical OR");
		const struct Type t = INT_TYPE();
		return binary_op(&expr, &expr2, LOGICAL_OR_EXPR, &t);
	}
	case OP_OR:
	case OP_AND:
	case OP_LSHIFT:
	case OP_RSHIFT:
	case OP_HAT:
	case OP_ASTERISK:
	case OP_SLASH:
	case OP_PERCENT: {
		expect_integral(&expr.details.type, "left operand of an operator");
		expect_integral(&expr2.details.type, "right operand of an operator");
		return simple_binary_op(&expr, &expr2, op, &expr2.details.type);
	}
	case OP_GT:
	case OP_GT_EQ:
	case OP_LT:
	case OP_LT_EQ:
	case OP_NOT_EQ:
	case OP_EQ_EQ: {
		struct Expr expr_new = expr;
		struct Expr expr2_new = expr2;

		if (expr.details.type.type_category == PTR_) {
			cast_to_null_pointer_if_possible(&expr2_new, &expr.details);
		} else if (expr2.details.type.type_category == PTR_) {

			cast_to_null_pointer_if_possible(&expr_new, &expr2.details);
		}

		expect_type(ptr_ps, &expr_new.details.type, &expr2_new.details.type,
		            "mismatch in operands of an "
		            "equality/comparison operator");
		const struct Type t = INT_TYPE();
		return simple_binary_op(&expr_new, &expr2_new, op, &t);
	}
	case OP_COMMA: {
		return comma_op(&expr, &expr2, &expr2.details.type);
	}
	default: {
		fprintf(stderr, "FAILURE::::::: INVALID TOKEN %d in binary expr\n", op);
		exit(EXIT_FAILURE);
	}
	}
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x478, %rsp            # imm = 0x478
movl %r8d, %r15d
movq %rcx, %r13
movq %rdx, %rbx
movq %rsi, %r12
movq %rdi, -0x30(%rbp)
leaq -0x148(%rbp), %rdi
movl $0x100, %edx            # imm = 0x100
movq %rbx, %rsi
callq 0x1100
leaq -0x498(%rbp), %rdi
movl $0x100, %edx            # imm = 0x100
movq %r13, %rsi
callq 0x1100
cmpl $0x2b, %r15d
ja 0x6b14
movl %r15d, %eax
leaq 0x8192(%rip), %rcx      # 0xe4e8
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movl %r15d, -0x3c(%rbp)
movq %r13, -0x48(%rbp)
movq %r12, -0x38(%rbp)
movl -0x148(%rbp), %r12d
cmpl $0x2, %r12d
je 0x6a9e
cmpl $0x1, %r12d
jne 0x638f
cmpl $0x2, -0xf8(%rbp)
je 0x6a9e
movl $0xa0, %edx
movq -0x30(%rbp), %r13
movq %r13, %rdi
movq %rbx, %rsi
callq 0x1100
pushq $0x1
popq %r14
movl $0x100, %esi            # imm = 0x100
movq %r14, %rdi
callq 0x10d0
movq %rbx, %r15
movq %rax, %rbx
movl $0x100, %esi            # imm = 0x100
movq %r14, %rdi
callq 0x10d0
movq %rax, %r14
movl $0x100, %edx            # imm = 0x100
movq %rbx, %rdi
movq %r15, %rsi
callq 0x1100
movq %rbx, 0xb0(%r13)
andq $0x0, 0xc0(%r13)
movl -0x3c(%rbp), %r15d
cmpl $0x17, %r15d
jne 0x6571
leaq -0x248(%rbp), %rdi
movl $0x100, %edx            # imm = 0x100
movq -0x48(%rbp), %rsi
callq 0x1100
cmpl $0x1, %r12d
jne 0x6455
leaq -0x248(%rbp), %rbx
movq %rbx, %rdi
callq 0x5038
cmpl $0x9, 0xa0(%rbx)
jne 0x6455
cmpl $0x0, -0x180(%rbp)
jne 0x6455
leaq -0x248(%rbp), %rdi
movl $0x12, 0xa0(%rdi)
leaq -0x148(%rbp), %rsi
movl $0xa0, %edx
callq 0x1100
leaq 0x86e6(%rip), %rcx      # 0xeb42
leaq -0x248(%rbp), %rbx
leaq -0x148(%rbp), %r15
movq -0x38(%rbp), %r12
movq %r12, %rdi
movq %rbx, %rsi
movq %r15, %rdx
callq 0x4c73
movl $0x100, %edx            # imm = 0x100
movq %r14, %rdi
movq %rbx, %rsi
callq 0x1100
movq %r14, 0xb8(%r13)
movq %r15, %rdi
callq 0x81cb
testl %eax, %eax
je 0x6719
leaq -0x148(%rbp), %rsi
movq %r12, %rdi
callq 0x1e24
movl %eax, 0xf8(%r13)
pushq $0x14
jmp 0x671b
leaq 0x8857(%rip), %rsi      # 0xed1e
leaq -0x148(%rbp), %rbx
movq %rbx, %rdi
callq 0x4f46
leaq 0x885d(%rip), %rsi      # 0xed3a
leaq -0x498(%rbp), %r14
movq %r14, %rdi
callq 0x4f46
movq -0x30(%rbp), %r13
movq %r13, %rdi
movq %rbx, %rsi
movq %r14, %rdx
movl %r15d, %ecx
movq %r14, %r8
jmp 0x666f
leaq -0x248(%rbp), %rdi
movl $0x100, %edx            # imm = 0x100
movq %rbx, %rsi
callq 0x1100
leaq -0x398(%rbp), %rdi
movl $0x100, %edx            # imm = 0x100
movq %r13, %rsi
callq 0x1100
cmpl $0x1, -0x148(%rbp)
jne 0x65f1
cmpl $0x9, -0x2f8(%rbp)
jne 0x662a
cmpl $0x0, -0x2d0(%rbp)
jne 0x662a
leaq -0x398(%rbp), %rdi
movl $0x12, 0xa0(%rdi)
movl $0xa0, %edx
movq %rbx, %rsi
jmp 0x6625
leaq -0x148(%rbp), %rdi
callq 0x81cb
testl %eax, %eax
jne 0x6ab7
movl -0x148(%rbp), %eax
movl %eax, %ecx
xorl $0x1, %ecx
movl %r15d, %r12d
andl $-0x2, %r12d
movl %r12d, %edx
xorl $0x22, %edx
orl %ecx, %edx
jne 0x6679
leaq 0x85f5(%rip), %rsi      # 0xeba1
leaq -0x498(%rbp), %rbx
movq %rbx, %rdi
callq 0x4f46
movl $0x100, %edx            # imm = 0x100
movq %r14, %rdi
movq %rbx, %rsi
callq 0x1100
movl $0xd, 0xa0(%r13)
movl %r15d, %edi
callq 0x6c2f
movl %eax, 0xa4(%r13)
movq %r14, 0xb8(%r13)
jmp 0x66eb
cmpl $0x1, -0x498(%rbp)
jne 0x662a
cmpl $0x9, -0x1a8(%rbp)
jne 0x662a
cmpl $0x0, -0x180(%rbp)
jne 0x662a
leaq -0x248(%rbp), %rdi
movl $0x12, 0xa0(%rdi)
movl $0xa0, %edx
movq %r13, %rsi
callq 0x1100
leaq 0x8726(%rip), %rcx      # 0xed57
leaq -0x248(%rbp), %rbx
leaq -0x398(%rbp), %r14
movq %r12, %rdi
movq %rbx, %rsi
movq %r14, %rdx
callq 0x4c73
leaq -0x298(%rbp), %r12
movq %r12, %rdi
callq 0x81b0
movq -0x30(%rbp), %r13
movq %r13, %rdi
movq %rbx, %rsi
movq %r14, %rdx
movl %r15d, %ecx
movq %r12, %r8
callq 0x6c71
jmp 0x69e9
cmpl $0x1, %eax
je 0x6aff
leaq 0x84b9(%rip), %rcx      # 0xeb42
leaq -0x148(%rbp), %rsi
leaq -0x498(%rbp), %rbx
movq -0x38(%rbp), %rdi
movq %rbx, %rdx
callq 0x4c73
movl $0x100, %edx            # imm = 0x100
movq %r14, %rdi
movq %rbx, %rsi
callq 0x1100
movl $0xd, 0xa0(%r13)
movl %r15d, %edi
callq 0x6c2f
movl %eax, 0xa4(%r13)
movq %r14, 0xb8(%r13)
cmpl $0x22, %r12d
jne 0x69e9
cmpl $0x1, -0x148(%rbp)
jne 0x69e9
leaq -0x248(%rbp), %rbx
leaq -0x148(%rbp), %rsi
movq %rbx, %rdi
callq 0x85ad
movq -0x38(%rbp), %rdi
movq %rbx, %rsi
callq 0x1e24
movl %eax, 0xf4(%r13)
jmp 0x69e9
pushq $0xe
popq %rax
movl %eax, 0xa0(%r13)
jmp 0x69e9
movq %rbx, %r12
pushq $0x1
popq %rbx
movl $0x100, %esi            # imm = 0x100
movq %rbx, %rdi
callq 0x10d0
movq %rax, %r14
movl $0x100, %esi            # imm = 0x100
movq %rbx, %rdi
callq 0x10d0
movq %rax, %r15
movl $0x100, %edx            # imm = 0x100
movq %r14, %rdi
movq %r12, %rsi
callq 0x1100
movl $0x100, %edx            # imm = 0x100
movq %r15, %rdi
movq %r13, %rsi
callq 0x1100
pushq $0xa
popq %rax
movq %rax, %rcx
movq %r13, %rdx
movq -0x30(%rbp), %r13
movq %r13, %rdi
movq %rdx, %rsi
rep  movsq (%rsi), %es:(%rdi)
leaq 0x50(%r13), %rdi
movq %rax, %rcx
movq %rdx, %rsi
rep  movsq (%rsi), %es:(%rdi)
movl $0x1, 0xa0(%r13)
movq %r14, 0xb0(%r13)
movq %r15, 0xb8(%r13)
andq $0x0, 0xc0(%r13)
jmp 0x69e9
leaq 0x8533(%rip), %rbx      # 0xecf1
leaq -0x148(%rbp), %r14
movq %r14, %rdi
movq %rbx, %rsi
callq 0x4edd
leaq -0x498(%rbp), %r15
movq %r15, %rdi
movq %rbx, %rsi
callq 0x4edd
leaq -0x248(%rbp), %rbx
movq %rbx, %rdi
callq 0x81b0
pushq $0x10
jmp 0x6952
pushq $0xa
popq %rax
leaq -0x248(%rbp), %rdx
movq %rax, %rcx
movq %rdx, %rdi
movq %rbx, %rsi
rep  movsq (%rsi), %es:(%rdi)
leaq -0x398(%rbp), %rdi
movq %rax, %rcx
movq %r13, %rsi
rep  movsq (%rsi), %es:(%rdi)
movl (%rdx), %eax
cmpq $0x8, %rax
ja 0x6b49
leaq 0x7d67(%rip), %rcx      # 0xe598
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movl -0x398(%rbp), %eax
cmpq $0x8, %rax
ja 0x6bbc
leaq 0x7d6b(%rip), %rcx      # 0xe5bc
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
leaq -0x298(%rbp), %rbx
movq %rbx, %rdi
callq 0x81b0
leaq -0x148(%rbp), %rsi
leaq -0x498(%rbp), %rdx
pushq $0x1
popq %rcx
movq -0x30(%rbp), %r13
movq %r13, %rdi
jmp 0x690e
pushq $0xa
popq %rax
leaq -0x248(%rbp), %rdx
movq %rax, %rcx
movq %rdx, %rdi
movq %rbx, %rsi
rep  movsq (%rsi), %es:(%rdi)
leaq -0x398(%rbp), %rdi
movq %rax, %rcx
movq %r13, %rsi
rep  movsq (%rsi), %es:(%rdi)
movl (%rdx), %eax
cmpq $0x8, %rax
ja 0x6b80
leaq 0x7d21(%rip), %rcx      # 0xe5e0
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movl -0x398(%rbp), %eax
cmpq $0x8, %rax
movq -0x30(%rbp), %r13
ja 0x6bf3
leaq 0x7d21(%rip), %rcx      # 0xe604
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
leaq -0x298(%rbp), %rbx
movq %rbx, %rdi
callq 0x81b0
leaq -0x148(%rbp), %rsi
leaq -0x498(%rbp), %rdx
movq %r13, %rdi
xorl %ecx, %ecx
movq %rbx, %r8
jmp 0x666f
leaq 0x83eb(%rip), %rbx      # 0xed08
leaq -0x148(%rbp), %r14
movq %r14, %rdi
movq %rbx, %rsi
callq 0x4edd
leaq -0x498(%rbp), %r15
movq %r15, %rdi
movq %rbx, %rsi
callq 0x4edd
leaq -0x248(%rbp), %rbx
movq %rbx, %rdi
callq 0x81b0
pushq $0xf
popq %rcx
movq -0x30(%rbp), %r13
movq %r13, %rdi
movq %r14, %rsi
movq %r15, %rdx
movq %rbx, %r8
callq 0x6e56
jmp 0x69e9
movl -0x398(%rbp), %eax
cmpl $0x8, %eax
ja 0x69fe
movl $0x111, %ecx            # imm = 0x111
btl %eax, %ecx
jae 0x69fe
leaq -0x148(%rbp), %rdx
leaq -0x498(%rbp), %rcx
pushq $0x1
popq %r8
movq -0x30(%rbp), %r13
movq %r13, %rdi
movq %r12, %rsi
jmp 0x69e4
leaq 0x828a(%rip), %rsi      # 0xec32
leaq -0x498(%rbp), %rbx
movq %rbx, %rdi
callq 0x4f46
leaq -0x148(%rbp), %rdx
movq -0x30(%rbp), %r13
movq %r13, %rdi
movq %r12, %rsi
movq %rbx, %rcx
jmp 0x69e1
leaq -0x498(%rbp), %rdx
leaq -0x148(%rbp), %rcx
movq %r13, %rdi
movq %r12, %rsi
xorl %r8d, %r8d
callq 0x6d77
movq %r13, %rax
addq $0x478, %rsp            # imm = 0x478
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
pushq $0x1
popq %r15
movl $0x100, %esi            # imm = 0x100
movq %r15, %rdi
callq 0x10d0
movq %rax, %r14
movl $0x100, %esi            # imm = 0x100
movq %r15, %rdi
callq 0x10d0
movq %rax, %r15
movl $0x100, %edx            # imm = 0x100
movq %r14, %rdi
movq %rbx, %rsi
callq 0x1100
movl $0x100, %edx            # imm = 0x100
movq %r15, %rdi
movq %r13, %rsi
callq 0x1100
movq -0x30(%rbp), %r13
movq %r13, %rdi
callq 0x81b0
leaq 0x50(%r13), %rbx
movq %r12, -0x38(%rbp)
leaq -0x298(%rbp), %r12
movq %r12, %rdi
callq 0x81b0
pushq $0xa
popq %rcx
movq %rbx, %rdi
movq %r12, %rsi
rep  movsq (%rsi), %es:(%rdi)
movl $0x4, 0xa0(%r13)
movq %r14, 0xb0(%r13)
movq %r15, 0xb8(%r13)
andq $0x0, 0xc0(%r13)
leaq -0x298(%rbp), %rbx
jmp 0x66f2
movq 0xf553(%rip), %rax      # 0x15ff8
movq (%rax), %rcx
leaq 0x807b(%rip), %rdi      # 0xeb2a
pushq $0x17
popq %rsi
pushq $0x1
popq %rdx
jmp 0x6af2
movq 0xf53a(%rip), %r14      # 0x15ff8
movq (%r14), %rcx
leaq 0x809a(%rip), %rdi      # 0xeb62
pushq $0x3e
popq %rsi
pushq $0x1
popq %rbx
movq %rbx, %rdx
callq 0x1180
leaq -0x148(%rbp), %rdi
callq 0x827e
movq (%r14), %rcx
leaq 0x73f9(%rip), %rdi      # 0xdee5
pushq $0x2
popq %rsi
movq %rbx, %rdx
callq 0x1180
pushq $0x1
popq %rdi
callq 0x1170
movq 0xf4f2(%rip), %rax      # 0x15ff8
movq (%rax), %rcx
leaq 0x80b5(%rip), %rdi      # 0xebc5
pushq $0x37
jmp 0x6ab1
movq 0xf4dd(%rip), %rax      # 0x15ff8
movq (%rax), %rdi
leaq 0x826a(%rip), %rsi      # 0xed8f
movl %r15d, %edx
xorl %eax, %eax
callq 0x10f0
jmp 0x6af7
movq 0xf4c0(%rip), %rax      # 0x15ff8
movq (%rax), %rcx
leaq 0x813b(%rip), %rdi      # 0xec7d
pushq $0x2b
jmp 0x6ab1
movq 0xf4a8(%rip), %r14      # 0x15ff8
movq (%r14), %rcx
leaq 0x80a3(%rip), %rdi      # 0xebfd
pushq $0xe
popq %rsi
pushq $0x1
popq %rbx
movq %rbx, %rdx
callq 0x1180
leaq -0x248(%rbp), %rdi
callq 0x827e
movq (%r14), %rcx
leaq 0x8151(%rip), %rdi      # 0xeccf
jmp 0x6bb5
movq 0xf471(%rip), %r14      # 0x15ff8
movq (%r14), %rcx
leaq 0x806c(%rip), %rdi      # 0xebfd
pushq $0xe
popq %rsi
pushq $0x1
popq %rbx
movq %rbx, %rdx
callq 0x1180
leaq -0x248(%rbp), %rdi
callq 0x827e
movq (%r14), %rcx
leaq 0x80a6(%rip), %rdi      # 0xec5b
pushq $0x21
jmp 0x6aee
movq 0xf435(%rip), %r14      # 0x15ff8
movq (%r14), %rcx
leaq 0x8030(%rip), %rdi      # 0xebfd
pushq $0xe
popq %rsi
pushq $0x1
popq %rbx
movq %rbx, %rdx
callq 0x1180
leaq -0x398(%rbp), %rdi
callq 0x827e
movq (%r14), %rcx
leaq 0x80b8(%rip), %rdi      # 0xeca9
jmp 0x6c28
movq 0xf3fe(%rip), %r14      # 0x15ff8
movq (%r14), %rcx
leaq 0x7ff9(%rip), %rdi      # 0xebfd
pushq $0xe
popq %rsi
pushq $0x1
popq %rbx
movq %rbx, %rdx
callq 0x1180
leaq -0x398(%rbp), %rdi
callq 0x827e
movq (%r14), %rcx
leaq 0x7fe4(%rip), %rdi      # 0xec0c
pushq $0x25
jmp 0x6aee