// File: /workspace/github_c_makefile_star2_O1/Ihsoh[P]ilang/compiler/backend/semantics.c
// Function: expr_add
static void _expr_add(
	ParserContext *ctx,
	ParserASTNode *node
) {
	assert(ctx);
	assert(node);

	#define	_CHECK	\
	{	\
		assert(node->nchilds == 2);	\
	}

	uint32_t node_type = node->type;

	switch (node_type) {
		case BE_NODE_EXPR_ADD: {
			_CHECK
			ParserASTNode *node_oprd1 = node->childs[0];
			ParserASTNode *node_oprd2 = node->childs[1];
			_expr_unary(ctx, node_oprd1);
			_expr_unary(ctx, node_oprd2);

			_check_expr_add_operands(
				ctx, node, node_oprd1, node_oprd2, "+", true
			);

			BE_EXPR_AST_NODE_COPY_CONSTANT2(node, node_oprd1, node_oprd2);
			if (BE_EXPR_AST_NODE_GET_CONSTANT(node)) {
				_calc_binary_constexpr(ctx, node_type, node, node_oprd1, node_oprd2);
			}
			break;
		}
		case BE_NODE_EXPR_SUB: {
			_CHECK
			ParserASTNode *node_oprd1 = node->childs[0];
			ParserASTNode *node_oprd2 = node->childs[1];
			_expr_unary(ctx, node_oprd1);
			_expr_unary(ctx, node_oprd2);

			_check_expr_sub_operands(
				ctx, node, node_oprd1, node_oprd2, "-", true
			);

			BE_EXPR_AST_NODE_COPY_CONSTANT2(node, node_oprd1, node_oprd2);
			if (BE_EXPR_AST_NODE_GET_CONSTANT(node)) {
				_calc_binary_constexpr(ctx, node_type, node, node_oprd1, node_oprd2);
			}
			break;
		}
		default: {
			_expr_mul(ctx, node);
			break;
		}
	}

	#undef	_CHECK
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x418, %rsp            # imm = 0x418
testq %rsi, %rsi
je 0x31966
movq %rsi, %rbx
movq %rdi, %r13
movl (%rsi), %r15d
cmpl $0xeaf, %r15d           # imm = 0xEAF
jle 0x314dc
leal -0xeb0(%r15), %eax
cmpl $0x2, %eax
jae 0x3159d
cmpl $0x2, 0x44(%rbx)
jne 0x319c3
movq 0x48(%rbx), %rax
movq (%rax), %r12
movq 0x8(%rax), %r14
movq %r13, %rdi
movq %r12, %rsi
callq 0x31b75
movq %r13, %rdi
movq %r14, %rsi
callq 0x31b75
movl %r15d, %eax
andl $-0x2, %eax
cmpl $0xeb0, %eax            # imm = 0xEB0
jne 0x319e2
testq %r12, %r12
je 0x31a01
testq %r14, %r14
je 0x31a20
movzbl 0x1(%r12), %eax
shll $0x8, %eax
cmpl $0xe00, %eax            # imm = 0xE00
jne 0x31985
movb 0x60(%r12), %al
decb %al
cmpb $0xa, %al
ja 0x3141d
movzbl 0x1(%r14), %eax
shll $0x8, %eax
cmpl $0xe00, %eax            # imm = 0xE00
jne 0x31985
movb 0x60(%r14), %al
decb %al
cmpb $0xb, %al
jb 0x3145c
movups 0x1dd4e(%rip), %xmm0    # 0x4f172
leaq -0x440(%rbp), %rdx
movaps %xmm0, 0x20(%rdx)
movups 0x1dd2c(%rip), %xmm0    # 0x4f162
movaps %xmm0, 0x10(%rdx)
movups 0x1dd11(%rip), %xmm0    # 0x4f152
movaps %xmm0, (%rdx)
movabsq $0x2e646e61726570, %rax # imm = 0x2E646E61726570
movq %rax, 0x2e(%rdx)
movq %r13, %rdi
movq %rbx, %rsi
callq *0x58(%r13)
movq %r13, -0x30(%rbp)
leaq 0x60(%r12), %rax
movq %rax, -0x40(%rbp)
movzbl 0x60(%r12), %edi
callq 0x33be4
movl %eax, %r13d
movq %rbx, -0x38(%rbp)
leaq 0x60(%r14), %rbx
movzbl 0x60(%r14), %edi
callq 0x33be4
cmpl %eax, %r13d
cmovaq -0x40(%rbp), %rbx
movups (%rbx), %xmm0
movups 0x10(%rbx), %xmm1
movups 0x20(%rbx), %xmm2
movq -0x38(%rbp), %rdx
movups %xmm2, 0x80(%rdx)
movups %xmm1, 0x70(%rdx)
movups %xmm0, 0x60(%rdx)
cmpb $0x1, 0x70(%r12)
jne 0x316c6
movb 0x70(%r14), %al
movb %al, 0x70(%rdx)
cmpb $0x1, %al
movq -0x30(%rbp), %rdi
jne 0x31954
movl %r15d, %esi
movq %r12, %rcx
movq %r14, %r8
jmp 0x31949
cmpl $0xea0, %r15d           # imm = 0xEA0
je 0x316cf
cmpl $0xea1, %r15d           # imm = 0xEA1
jne 0x3176e
cmpl $0x2, 0x44(%rbx)
jne 0x31a9c
movq 0x48(%rbx), %rax
movq (%rax), %r15
movq 0x8(%rax), %r12
movq %r13, %rdi
movq %r15, %rsi
callq 0x31b75
movq %r13, %rdi
movq %r12, %rsi
callq 0x31b75
testq %r15, %r15
je 0x31af9
testq %r12, %r12
je 0x31b56
movzbl 0x1(%r15), %eax
shll $0x8, %eax
cmpl $0xe00, %eax            # imm = 0xE00
jne 0x31a3f
leaq 0x60(%r15), %r14
movb 0x60(%r15), %al
cmpb $0x10, %al
jne 0x317f9
movzbl 0x1(%r12), %ecx
shll $0x8, %ecx
cmpl $0xe00, %ecx            # imm = 0xE00
jne 0x319a4
movb 0x60(%r12), %cl
decb %cl
cmpb $0x8, %cl
ja 0x317f9
movups (%r14), %xmm0
movups 0x10(%r14), %xmm1
movups 0x20(%r14), %xmm2
movups %xmm2, 0x80(%rbx)
movups %xmm1, 0x70(%rbx)
movups %xmm0, 0x60(%rbx)
jmp 0x31925
cmpl $0xeb2, %r15d           # imm = 0xEB2
jne 0x3176e
cmpl $0x2, 0x44(%rbx)
jne 0x31a5e
movq 0x48(%rbx), %rax
movq (%rax), %r15
movq 0x8(%rax), %r12
movq %r13, %rdi
movq %r15, %rsi
callq 0x31b75
movq %r13, %rdi
movq %r12, %rsi
callq 0x31b75
testq %r15, %r15
je 0x31abb
testq %r12, %r12
je 0x31b18
movzbl 0x1(%r15), %eax
shll $0x8, %eax
cmpl $0xe00, %eax            # imm = 0xE00
jne 0x319a4
movb 0x60(%r15), %al
decb %al
cmpb $0x8, %al
ja 0x31623
movzbl 0x1(%r12), %eax
shll $0x8, %eax
cmpl $0xe00, %eax            # imm = 0xE00
jne 0x319a4
movb 0x60(%r12), %al
decb %al
cmpb $0x9, %al
jb 0x3164f
leaq 0x1dbd5(%rip), %rsi     # 0x4f1ff
leaq 0x1daa8(%rip), %rdx     # 0x4f0d9
leaq -0x440(%rbp), %r14
movq %r14, %rdi
xorl %eax, %eax
callq 0x3150
movq %r13, %rdi
movq %rbx, %rsi
movq %r14, %rdx
callq *0x58(%r13)
movq %r13, -0x30(%rbp)
movq %rbx, -0x38(%rbp)
leaq 0x60(%r15), %rbx
movzbl 0x60(%r15), %edi
callq 0x33be4
movl %eax, %r14d
leaq 0x60(%r12), %r13
movzbl 0x60(%r12), %edi
callq 0x33be4
cmpl %eax, %r14d
cmovaq %rbx, %r13
movq -0x38(%rbp), %rdx
movups (%r13), %xmm0
movups 0x10(%r13), %xmm1
movups 0x20(%r13), %xmm2
movups %xmm2, 0x80(%rdx)
movups %xmm1, 0x70(%rdx)
movups %xmm0, 0x60(%rdx)
cmpb $0x1, 0x70(%r15)
jne 0x316c6
movb 0x70(%r12), %al
movb %al, 0x70(%rdx)
cmpb $0x1, %al
movq -0x30(%rbp), %rdi
jne 0x31954
movl $0xeb2, %esi            # imm = 0xEB2
jmp 0x31943
movb $0x0, 0x70(%rdx)
jmp 0x31954
cmpl $0x2, 0x44(%rbx)
jne 0x31a7d
movq 0x48(%rbx), %rax
movq (%rax), %r15
movq 0x8(%rax), %r12
movq %r13, %rdi
movq %r15, %rsi
callq 0x31b75
movq %r13, %rdi
movq %r12, %rsi
callq 0x31b75
testq %r15, %r15
je 0x31ada
testq %r12, %r12
je 0x31b37
movzbl 0x1(%r15), %eax
shll $0x8, %eax
cmpl $0xe00, %eax            # imm = 0xE00
jne 0x31a3f
leaq 0x60(%r15), %r14
movb 0x60(%r15), %al
cmpb $0x10, %al
jne 0x3178a
movzbl 0x1(%r12), %ecx
shll $0x8, %ecx
cmpl $0xe00, %ecx            # imm = 0xE00
jne 0x319a4
movb 0x60(%r12), %cl
decb %cl
cmpb $0x8, %cl
ja 0x3178a
movups (%r14), %xmm0
movups 0x10(%r14), %xmm1
movups 0x20(%r14), %xmm2
movups %xmm2, 0x80(%rbx)
movups %xmm1, 0x70(%rbx)
movups %xmm0, 0x60(%rbx)
jmp 0x318ea
movq %r13, %rdi
movq %rbx, %rsi
addq $0x418, %rsp            # imm = 0x418
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x31b75
leal -0x1(%rax), %ecx
cmpb $0xa, %cl
ja 0x31864
movzbl 0x1(%r12), %ecx
shll $0x8, %ecx
cmpl $0xe00, %ecx            # imm = 0xE00
jne 0x31985
movb 0x60(%r12), %cl
decb %cl
cmpb $0xa, %cl
ja 0x31864
movq %r13, -0x30(%rbp)
leaq 0x60(%r12), %r13
movzbl %al, %edi
callq 0x33be4
movl %eax, -0x38(%rbp)
movzbl (%r13), %edi
callq 0x33be4
leaq 0x60(%rbx), %rcx
cmpl %eax, -0x38(%rbp)
jbe 0x318cc
movups (%r14), %xmm0
movups 0x10(%r14), %xmm1
movups 0x20(%r14), %xmm2
jmp 0x318db
leal -0x1(%rax), %ecx
cmpb $0xa, %cl
ja 0x31898
movzbl 0x1(%r12), %ecx
shll $0x8, %ecx
cmpl $0xe00, %ecx            # imm = 0xE00
jne 0x31985
movb 0x60(%r12), %cl
decb %cl
cmpb $0xa, %cl
ja 0x31898
movq %r13, -0x30(%rbp)
leaq 0x60(%r12), %r13
movzbl %al, %edi
callq 0x33be4
movl %eax, -0x38(%rbp)
movzbl (%r13), %edi
callq 0x33be4
leaq 0x60(%rbx), %rcx
cmpl %eax, -0x38(%rbp)
jbe 0x31907
movups (%r14), %xmm0
movups 0x10(%r14), %xmm1
movups 0x20(%r14), %xmm2
jmp 0x31916
leaq 0x1d788(%rip), %rsi     # 0x4eff3
leaq 0xfc82(%rip), %rdx      # 0x414f4
movq %r13, %r14
leaq -0x440(%rbp), %r13
movq %r13, %rdi
xorl %eax, %eax
callq 0x3150
movq %r14, %rdi
movq %rbx, %rsi
movq %r13, %rdx
movq %r14, %r13
callq *0x58(%r14)
jmp 0x318ea
leaq 0x1d754(%rip), %rsi     # 0x4eff3
leaq 0x1d336(%rip), %rdx     # 0x4ebdc
movq %r13, %r14
leaq -0x440(%rbp), %r13
movq %r13, %rdi
xorl %eax, %eax
callq 0x3150
movq %r14, %rdi
movq %rbx, %rsi
movq %r13, %rdx
movq %r14, %r13
callq *0x58(%r14)
jmp 0x31925
movups (%r13), %xmm0
movups 0x10(%r13), %xmm1
movups 0x20(%r13), %xmm2
movups %xmm2, 0x20(%rcx)
movups %xmm1, 0x10(%rcx)
movups %xmm0, (%rcx)
movq -0x30(%rbp), %r13
cmpb $0x1, 0x70(%r15)
jne 0x31950
movb 0x70(%r12), %al
movb %al, 0x70(%rbx)
cmpb $0x1, %al
jne 0x31954
movq %r13, %rdi
movl $0xea0, %esi            # imm = 0xEA0
jmp 0x31940
movups (%r13), %xmm0
movups 0x10(%r13), %xmm1
movups 0x20(%r13), %xmm2
movups %xmm2, 0x20(%rcx)
movups %xmm1, 0x10(%rcx)
movups %xmm0, (%rcx)
movq -0x30(%rbp), %r13
cmpb $0x1, 0x70(%r15)
jne 0x31950
movb 0x70(%r12), %al
movb %al, 0x70(%rbx)
cmpb $0x1, %al
jne 0x31954
movq %r13, %rdi
movl $0xea1, %esi            # imm = 0xEA1
movq %rbx, %rdx
movq %r15, %rcx
movq %r12, %r8
callq 0x2f466
jmp 0x31954
movb $0x0, 0x70(%rbx)
addq $0x418, %rsp            # imm = 0x418
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x115de(%rip), %rdi     # 0x42f4b
leaq 0x1c7fc(%rip), %rsi     # 0x4e170
leaq 0x1d230(%rip), %rcx     # 0x4ebab
movl $0xbb6, %edx            # imm = 0xBB6
callq 0x30a0
leaq 0x1d50a(%rip), %rdi     # 0x4ee96
leaq 0x1c7dd(%rip), %rsi     # 0x4e170
leaq 0x1d4bf(%rip), %rcx     # 0x4ee59
movl $0x1f8, %edx            # imm = 0x1F8
callq 0x30a0
leaq 0x1d4eb(%rip), %rdi     # 0x4ee96
leaq 0x1c7be(%rip), %rsi     # 0x4e170
leaq 0x1dea6(%rip), %rcx     # 0x4f85f
movl $0x1bd, %edx            # imm = 0x1BD
callq 0x30a0
leaq 0x1cc3b(%rip), %rdi     # 0x4e605
leaq 0x1c79f(%rip), %rsi     # 0x4e170
leaq 0x1d6d0(%rip), %rcx     # 0x4f0a8
movl $0xb32, %edx            # imm = 0xB32
callq 0x30a0
leaq 0xe9a4(%rip), %rdi      # 0x4038d
leaq 0x1c780(%rip), %rsi     # 0x4e170
leaq 0x1d6b1(%rip), %rcx     # 0x4f0a8
movl $0xb3e, %edx            # imm = 0xB3E
callq 0x30a0
leaq 0x1d5d5(%rip), %rdi     # 0x4efdd
leaq 0x1c761(%rip), %rsi     # 0x4e170
leaq 0x1d6c5(%rip), %rcx     # 0x4f0db
movl $0xae8, %edx            # imm = 0xAE8
callq 0x30a0
leaq 0x1d5c1(%rip), %rdi     # 0x4efe8
leaq 0x1c742(%rip), %rsi     # 0x4e170
leaq 0x1d6a6(%rip), %rcx     # 0x4f0db
movl $0xae9, %edx            # imm = 0xAE9
callq 0x30a0
leaq 0x1d450(%rip), %rdi     # 0x4ee96
leaq 0x1c723(%rip), %rsi     # 0x4e170
leaq 0x1de49(%rip), %rcx     # 0x4f89d
movl $0x209, %edx            # imm = 0x209
callq 0x30a0
leaq 0x1cba0(%rip), %rdi     # 0x4e605
leaq 0x1c704(%rip), %rsi     # 0x4e170
leaq 0x1d635(%rip), %rcx     # 0x4f0a8
movl $0xb4c, %edx            # imm = 0xB4C
callq 0x30a0
leaq 0x1cb81(%rip), %rdi     # 0x4e605
leaq 0x1c6e5(%rip), %rsi     # 0x4e170
leaq 0x1d119(%rip), %rcx     # 0x4ebab
movl $0xbc1, %edx            # imm = 0xBC1
callq 0x30a0
leaq 0x1cb62(%rip), %rdi     # 0x4e605
leaq 0x1c6c6(%rip), %rsi     # 0x4e170
leaq 0x1d0fa(%rip), %rcx     # 0x4ebab
movl $0xbd2, %edx            # imm = 0xBD2
callq 0x30a0
leaq 0x1d51b(%rip), %rdi     # 0x4efdd
leaq 0x1c6a7(%rip), %rsi     # 0x4e170
leaq 0x1d6b8(%rip), %rcx     # 0x4f188
movl $0xb08, %edx            # imm = 0xB08
callq 0x30a0
leaq 0x1d4fc(%rip), %rdi     # 0x4efdd
leaq 0x1c688(%rip), %rsi     # 0x4e170
leaq 0x1d477(%rip), %rcx     # 0x4ef66
movl $0xb6f, %edx            # imm = 0xB6F
callq 0x30a0
leaq 0x1d4dd(%rip), %rdi     # 0x4efdd
leaq 0x1c669(%rip), %rsi     # 0x4e170
leaq 0x1d523(%rip), %rcx     # 0x4f031
movl $0xb95, %edx            # imm = 0xB95
callq 0x30a0
leaq 0x1d4c9(%rip), %rdi     # 0x4efe8
leaq 0x1c64a(%rip), %rsi     # 0x4e170
leaq 0x1d65b(%rip), %rcx     # 0x4f188
movl $0xb09, %edx            # imm = 0xB09
callq 0x30a0
leaq 0x1d4aa(%rip), %rdi     # 0x4efe8
leaq 0x1c62b(%rip), %rsi     # 0x4e170
leaq 0x1d41a(%rip), %rcx     # 0x4ef66
movl $0xb70, %edx            # imm = 0xB70
callq 0x30a0
leaq 0x1d48b(%rip), %rdi     # 0x4efe8
leaq 0x1c60c(%rip), %rsi     # 0x4e170
leaq 0x1d4c6(%rip), %rcx     # 0x4f031
movl $0xb96, %edx            # imm = 0xB96
callq 0x30a0