// File: /workspace/github_c_makefile_star2_O0/Ihsoh[P]ilang/compiler/backend/semantics.c
// Function: check_stat_i_ci
static void _check_stat_i_ci(
	ParserContext *ctx,
	ParserASTNode *node,
	uint32_t node_type,
	_ResultCheckStat_I_CI *result
) {
	assert(ctx);
	assert(node);
	assert(node->type == node_type);
	assert(node->nchilds == 2);
	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 = node->childs[1];
	_GetParamInfoResult result_source;
	_get_param_info(ctx, node_source, &result_source);

	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 = node_source;
	result->node_type_source = result_source.node_type;
	result->type_source = result_source.type;
	result->size_source = _calc_type_size(ctx, node, result_source.node_type);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x50, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movl %edx, -0x14(%rbp)
movq %rcx, -0x20(%rbp)
cmpq $0x0, -0x8(%rbp)
je 0x5f680
jmp 0x5f69f
leaq 0x20ada(%rip), %rdi     # 0x80161
leaq 0x231f2(%rip), %rsi     # 0x82880
movl $0x11dd, %edx           # imm = 0x11DD
leaq 0x25b3b(%rip), %rcx     # 0x851d5
callq 0x30a0
cmpq $0x0, -0x10(%rbp)
je 0x5f6a8
jmp 0x5f6c7
leaq 0x16ead(%rip), %rdi     # 0x7655c
leaq 0x231ca(%rip), %rsi     # 0x82880
movl $0x11de, %edx           # imm = 0x11DE
leaq 0x25b13(%rip), %rcx     # 0x851d5
callq 0x30a0
movq -0x10(%rbp), %rax
movl (%rax), %eax
cmpl -0x14(%rbp), %eax
jne 0x5f6d4
jmp 0x5f6f3
leaq 0x25b55(%rip), %rdi     # 0x85230
leaq 0x2319e(%rip), %rsi     # 0x82880
movl $0x11df, %edx           # imm = 0x11DF
leaq 0x25ae7(%rip), %rcx     # 0x851d5
callq 0x30a0
movq -0x10(%rbp), %rax
cmpl $0x2, 0x44(%rax)
jne 0x5f6ff
jmp 0x5f71e
leaq 0x2363e(%rip), %rdi     # 0x82d44
leaq 0x23173(%rip), %rsi     # 0x82880
movl $0x11e0, %edx           # imm = 0x11E0
leaq 0x25abc(%rip), %rcx     # 0x851d5
callq 0x30a0
cmpq $0x0, -0x20(%rbp)
je 0x5f727
jmp 0x5f746
leaq 0x26057(%rip), %rdi     # 0x85785
leaq 0x2314b(%rip), %rsi     # 0x82880
movl $0x11e1, %edx           # imm = 0x11E1
leaq 0x25a94(%rip), %rcx     # 0x851d5
callq 0x30a0
movq -0x10(%rbp), %rax
movq 0x48(%rax), %rax
movq (%rax), %rax
movq %rax, -0x28(%rbp)
movq -0x28(%rbp), %rax
cmpl $0x200, (%rax)          # imm = 0x200
jne 0x5f763
jmp 0x5f782
leaq 0x16c53(%rip), %rdi     # 0x763bd
leaq 0x2310f(%rip), %rsi     # 0x82880
movl $0x11e4, %edx           # imm = 0x11E4
leaq 0x25a58(%rip), %rcx     # 0x851d5
callq 0x30a0
movq -0x8(%rbp), %rdi
movq -0x28(%rbp), %rsi
callq 0x5edc0
movq %rax, -0x30(%rbp)
movq -0x30(%rbp), %rax
movq 0x38(%rax), %rax
movq %rax, -0x38(%rbp)
movq -0x10(%rbp), %rax
movq 0x48(%rax), %rax
movq 0x8(%rax), %rax
movq %rax, -0x40(%rbp)
movq -0x8(%rbp), %rdi
movq -0x40(%rbp), %rsi
leaq -0x50(%rbp), %rdx
callq 0x5efc0
movq -0x28(%rbp), %rcx
movq -0x20(%rbp), %rax
movq %rcx, (%rax)
movq -0x38(%rbp), %rcx
movq -0x20(%rbp), %rax
movq %rcx, 0x8(%rax)
movq -0x8(%rbp), %rdi
movq -0x38(%rbp), %rsi
callq 0x56560
movb %al, %cl
movq -0x20(%rbp), %rax
movb %cl, 0x10(%rax)
movq -0x8(%rbp), %rdi
movq -0x10(%rbp), %rsi
movq -0x38(%rbp), %rdx
callq 0x4d5a0
movq %rax, %rcx
movq -0x20(%rbp), %rax
movq %rcx, 0x18(%rax)
movq -0x40(%rbp), %rcx
movq -0x20(%rbp), %rax
movq %rcx, 0x20(%rax)
movq -0x50(%rbp), %rcx
movq -0x20(%rbp), %rax
movq %rcx, 0x28(%rax)
movb -0x48(%rbp), %cl
movq -0x20(%rbp), %rax
movb %cl, 0x30(%rax)
movq -0x8(%rbp), %rdi
movq -0x10(%rbp), %rsi
movq -0x50(%rbp), %rdx
callq 0x4d5a0
movq %rax, %rcx
movq -0x20(%rbp), %rax
movq %rcx, 0x38(%rax)
addq $0x50, %rsp
popq %rbp
retq
nopl (%rax)