// File: /workspace/github_c_makefile_star2_O3/Ihsoh[P]ilang/compiler/backend/semantics.c
// Function: check_stat_i_ci_ci
static void _check_stat_i_ci_ci(
	ParserContext *ctx,
	ParserASTNode *node,
	uint32_t node_type,
	_ResultCheckStat_I_CI_CI *result
) {
	assert(ctx);
	assert(node);
	assert(node->type == node_type);
	assert(node->nchilds == 3);
	assert(result);

	ParserASTNode *node_target = node->childs[0];
	assert(node_target->type == BE_NODE_IDENTIFIER);
	ParserSymbol *symbol_target = _get_var_symbol_by_id_node(ctx, node_target);
	ParserASTNode *node_type_target = BE_VAR_SYMBOL_GET_TYPE_NODE(symbol_target);

	ParserASTNode *node_source_left = node->childs[1];
	_GetParamInfoResult result_source_left;
	_get_param_info(ctx, node_source_left, &result_source_left);

	ParserASTNode *node_source_right = node->childs[2];
	_GetParamInfoResult result_source_right;
	_get_param_info(ctx, node_source_right, &result_source_right);

	result->node_target = node_target;
	result->node_type_target = node_type_target;
	result->type_target = _get_type_by_type_node(ctx, node_type_target);
	result->size_target = _calc_type_size(ctx, node, node_type_target);

	result->node_source_left = node_source_left;
	result->node_type_source_left = result_source_left.node_type;
	result->type_source_left =  result_source_left.type;
	result->size_source_left = _calc_type_size(ctx, node,  result_source_left.node_type);

	result->node_source_right = node_source_right;
	result->node_type_source_right = result_source_right.node_type;
	result->type_source_right = result_source_right.type;
	result->size_source_right = _calc_type_size(ctx, node, result_source_right.node_type);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
cmpl %edx, (%rsi)
jne 0x33f3b
movq %rsi, %r14
cmpl $0x3, 0x44(%rsi)
jne 0x33f5a
movq %rcx, %rbx
testq %rcx, %rcx
je 0x33f79
movq 0x48(%r14), %rax
movq (%rax), %r13
cmpl $0x200, (%r13)          # imm = 0x200
jne 0x33f98
movq %rdi, %r15
movq %r13, %rsi
callq 0x33539
movq 0x38(%rax), %r12
movq 0x48(%r14), %rax
movq 0x8(%rax), %rsi
movq %rsi, -0x30(%rbp)
leaq -0x58(%rbp), %rdx
movq %r15, %rdi
callq 0x335cc
movq 0x48(%r14), %rax
movq 0x10(%rax), %rsi
movq %rsi, -0x38(%rbp)
leaq -0x48(%rbp), %rdx
movq %r15, %rdi
callq 0x335cc
movq %r13, (%rbx)
movq %r12, 0x8(%rbx)
movq %r12, %rdi
callq 0x31d4d
movb %al, 0x10(%rbx)
movq %r15, %rdi
movq %r14, %rsi
movq %r12, %rdx
callq 0x2a3da
movq %rax, 0x18(%rbx)
movq -0x30(%rbp), %rax
movq %rax, 0x20(%rbx)
leaq -0x58(%rbp), %rax
movq (%rax), %rdx
movq %rdx, 0x28(%rbx)
movb 0x8(%rax), %al
movb %al, 0x30(%rbx)
movq %r15, %rdi
movq %r14, %rsi
callq 0x2a3da
movq %rax, 0x38(%rbx)
movq -0x38(%rbp), %rax
movq %rax, 0x40(%rbx)
leaq -0x48(%rbp), %rax
movq (%rax), %rdx
movq %rdx, 0x48(%rbx)
movb 0x8(%rax), %al
movb %al, 0x50(%rbx)
movq %r15, %rdi
movq %r14, %rsi
callq 0x2a3da
movq %rax, 0x58(%rbx)
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x1a869(%rip), %rdi     # 0x4e7ab
leaq 0x181f7(%rip), %rsi     # 0x4c140
leaq 0x1acbd(%rip), %rcx     # 0x4ec0d
movl $0x1210, %edx           # imm = 0x1210
callq 0x30a0
leaq 0xd992(%rip), %rdi      # 0x418f3
leaq 0x181d8(%rip), %rsi     # 0x4c140
leaq 0x1ac9e(%rip), %rcx     # 0x4ec0d
movl $0x1211, %edx           # imm = 0x1211
callq 0x30a0
leaq 0x1a1f0(%rip), %rdi     # 0x4e170
leaq 0x181b9(%rip), %rsi     # 0x4c140
leaq 0x1ac7f(%rip), %rcx     # 0x4ec0d
movl $0x1212, %edx           # imm = 0x1212
callq 0x30a0
leaq 0xcdcd(%rip), %rdi      # 0x40d6c
leaq 0x1819a(%rip), %rsi     # 0x4c140
leaq 0x1ac60(%rip), %rcx     # 0x4ec0d
movl $0x1215, %edx           # imm = 0x1215
callq 0x30a0