// File: /workspace/github_c_makefile_star2_O3/Ihsoh[P]ilang/compiler/backend/semantics.c
// Function: expr_bxor
static void _expr_bxor(
	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_BXOR: {
			_CHECK
			ParserASTNode *node_oprd1 = node->childs[0];
			ParserASTNode *node_oprd2 = node->childs[1];
			_expr_band(ctx, node_oprd1);
			_expr_band(ctx, node_oprd2);

			const char *operator = "^";

			_check_expr_bxor_operands(
				ctx, node, node_oprd1, node_oprd2, operator, 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_band(ctx, node);
			break;
		}
	}

	#undef	_CHECK
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x408, %rsp            # imm = 0x408
testq %rsi, %rsi
je 0x2fcc5
movq %rsi, %rbx
movq %rdi, %r14
cmpl $0xe50, (%rsi)          # imm = 0xE50
jne 0x2fc1f
cmpl $0x2, 0x44(%rbx)
jne 0x2fce4
movq 0x48(%rbx), %rax
movq (%rax), %r15
movq 0x8(%rax), %r12
movq %r14, %rdi
movq %r15, %rsi
callq 0x2fd41
movq %r14, %rdi
movq %r12, %rsi
callq 0x2fd41
testq %r15, %r15
je 0x2fd03
testq %r12, %r12
je 0x2fd22
movq %r15, %rdi
callq 0x2e4a1
testb %al, %al
je 0x2fc3b
movq %r12, %rdi
callq 0x2e4a1
testb %al, %al
je 0x2fc3b
movzbl 0x60(%r15), %edi
callq 0x32d9b
movl %eax, %r13d
movzbl 0x60(%r12), %edi
callq 0x32d9b
leaq 0x60(%rbx), %rcx
cmpl %eax, %r13d
jbe 0x2fc69
leaq 0x60(%r15), %rax
jmp 0x2fc6e
movq %r14, %rdi
movq %rbx, %rsi
addq $0x408, %rsp            # imm = 0x408
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x2fd41
leaq 0x1d381(%rip), %rsi     # 0x4cfc3
leaq 0x1cdc5(%rip), %rdx     # 0x4ca0e
leaq -0x430(%rbp), %r13
movq %r13, %rdi
xorl %eax, %eax
callq 0x3160
movq %r14, %rdi
movq %rbx, %rsi
movq %r13, %rdx
callq *0x58(%r14)
jmp 0x2fc84
leaq 0x60(%r12), %rax
movups (%rax), %xmm0
movups 0x10(%rax), %xmm1
movups 0x20(%rax), %xmm2
movups %xmm2, 0x20(%rcx)
movups %xmm1, 0x10(%rcx)
movups %xmm0, (%rcx)
cmpb $0x1, 0x70(%r15)
jne 0x2fcaf
movb 0x70(%r12), %al
movb %al, 0x70(%rbx)
cmpb $0x1, %al
jne 0x2fcb3
movq %r14, %rdi
movl $0xe50, %esi            # imm = 0xE50
movq %rbx, %rdx
movq %r15, %rcx
movq %r12, %r8
callq 0x2e969
jmp 0x2fcb3
movb $0x0, 0x70(%rbx)
addq $0x408, %rsp            # imm = 0x408
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x1123f(%rip), %rdi     # 0x40f0b
leaq 0x1c46d(%rip), %rsi     # 0x4c140
leaq 0x1cd02(%rip), %rcx     # 0x4c9dc
movl $0xd26, %edx            # imm = 0xD26
callq 0x30a0
leaq 0x1c8ea(%rip), %rdi     # 0x4c5d5
leaq 0x1c44e(%rip), %rsi     # 0x4c140
leaq 0x1cce3(%rip), %rcx     # 0x4c9dc
movl $0xd31, %edx            # imm = 0xD31
callq 0x30a0
leaq 0x1d2a3(%rip), %rdi     # 0x4cfad
leaq 0x1c42f(%rip), %rsi     # 0x4c140
leaq 0x1d737(%rip), %rcx     # 0x4d44f
movl $0xd09, %edx            # imm = 0xD09
callq 0x30a0
leaq 0x1d28f(%rip), %rdi     # 0x4cfb8
leaq 0x1c410(%rip), %rsi     # 0x4c140
leaq 0x1d718(%rip), %rcx     # 0x4d44f
movl $0xd0a, %edx            # imm = 0xD0A
callq 0x30a0