// File: /workspace/github_c_makefile_star2_O1/Ihsoh[P]ilang/compiler/frontend/semantics.c
// Function: is_compatible_type
static bool _is_compatible_type(
	ParserContext *ctx,
	ParserASTNode *target,
	ParserASTNode *source,
	bool same
) {
	assert(ctx);
	assert(target);
	assert(source);

	if (_is_compatible_void_type(ctx, target, source, same)) {
		return true;
	}
	if (_is_compatible_primitive_type(ctx, target, source, same)) {
		return true;
	}
	if (_is_compatible_struct_type(ctx, target, source, same)) {
		return true;
	}
	if (_is_compatible_array_type(ctx, target, source, same)) {
		return true;
	}
	if (_is_compatible_func_type(ctx, target, source, same)) {
		return true;
	}
	if (_is_compatible_pointer_type(ctx, target, source, same)) {
		return true;
	}
	if (_is_compatible_va_list_type(ctx, target, source, same)) {
		return true;
	}
	return false;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
testq %rdi, %rdi
je 0x2afa8
movq %rsi, %r12
testq %rsi, %rsi
je 0x2afc7
movq %rdx, %r14
testq %rdx, %rdx
je 0x2afe6
movl %ecx, %r13d
movq %rdi, %r15
movq %r12, %rsi
callq 0x2b04a
movl %eax, %ebx
movq %r15, %rdi
movq %r14, %rsi
callq 0x2b04a
movb $0x1, %cl
cmpb $-0x1, %bl
jne 0x2ae00
cmpb $-0x1, %al
je 0x2af73
movzbl %r13b, %r13d
movq %r15, %rdi
movq %r12, %rsi
movq %r14, %rdx
movl %r13d, %ecx
callq 0x33669
testb %al, %al
jne 0x2af71
movq %r15, %rdi
movq %r12, %rsi
movq %r14, %rdx
callq 0x336d1
testb %al, %al
jne 0x2af71
movq %r15, %rdi
movq %r12, %rsi
callq 0x2b04a
cmpb $0xe, %al
jne 0x2af4a
movq %r15, %rdi
movq %r14, %rsi
callq 0x2b04a
cmpb $0xe, %al
jne 0x2af4a
movq 0x48(%r12), %rax
movq (%rax), %rsi
testq %rsi, %rsi
je 0x2b005
movq 0x48(%r14), %rcx
movq (%rcx), %rdi
testq %rdi, %rdi
je 0x2b024
movl 0x44(%rsi), %edx
movq %rdi, -0x40(%rbp)
cmpl 0x44(%rdi), %edx
jne 0x2af4a
movq 0x8(%rax), %rax
movq %rax, -0x50(%rbp)
movq 0x8(%rcx), %rax
movq %rax, -0x48(%rbp)
testl %edx, %edx
setle %al
jle 0x2af2f
movq 0x48(%rsi), %rax
movq %rsi, -0x38(%rbp)
movq (%rax), %rsi
movq -0x40(%rbp), %rax
movq 0x48(%rax), %rax
movq (%rax), %rax
movq %rax, -0x30(%rbp)
movq %r15, %rdi
callq 0x24ee8
movq %rax, %rbx
movq %r15, %rdi
movq -0x30(%rbp), %rsi
callq 0x24ee8
movq -0x38(%rbp), %rcx
cmpq %rax, %rbx
jne 0x2af4a
movl $0x1, %ebx
movslq 0x44(%rcx), %rax
cmpq %rax, %rbx
setge %al
jge 0x2af2f
movq 0x48(%rcx), %rax
movq (%rax,%rbx,8), %rsi
movq -0x40(%rbp), %rax
movq 0x48(%rax), %rax
movq (%rax,%rbx,8), %rax
movq %rax, -0x30(%rbp)
movq %r15, %rdi
callq 0x24ee8
movq %rax, -0x58(%rbp)
movq %r15, %rdi
movq -0x30(%rbp), %rsi
callq 0x24ee8
movq -0x38(%rbp), %rcx
incq %rbx
cmpq %rax, -0x58(%rbp)
je 0x2aee4
jmp 0x2af4a
testb %al, %al
je 0x2af4a
movq %r15, %rdi
movq -0x50(%rbp), %rsi
movq -0x48(%rbp), %rdx
movl %r13d, %ecx
callq 0x2ada4
testb %al, %al
jne 0x2af71
movq %r15, %rdi
movq %r12, %rsi
movq %r14, %rdx
callq 0x3372e
testb %al, %al
jne 0x2af71
movq %r15, %rdi
movq %r12, %rsi
movq %r14, %rdx
movl %r13d, %ecx
callq 0x338a0
testb %al, %al
je 0x2af84
movb $0x1, %cl
movl %ecx, %eax
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %r15, %rdi
movq %r12, %rsi
callq 0x2b04a
cmpb $0xc, %al
jne 0x2afa4
movq %r15, %rdi
movq %r14, %rsi
callq 0x2b04a
movb $0x1, %cl
cmpb $0xc, %al
je 0x2af73
xorl %ecx, %ecx
jmp 0x2af73
leaq 0x239b7(%rip), %rdi     # 0x4e966
leaq 0x208a4(%rip), %rsi     # 0x4b85a
leaq 0x235d3(%rip), %rcx     # 0x4e590
movl $0x307, %edx            # imm = 0x307
callq 0x30a0
leaq 0x1dbbe(%rip), %rdi     # 0x48b8c
leaq 0x20885(%rip), %rsi     # 0x4b85a
leaq 0x235b4(%rip), %rcx     # 0x4e590
movl $0x308, %edx            # imm = 0x308
callq 0x30a0
leaq 0x14549(%rip), %rdi     # 0x3f536
leaq 0x20866(%rip), %rsi     # 0x4b85a
leaq 0x23595(%rip), %rcx     # 0x4e590
movl $0x309, %edx            # imm = 0x309
callq 0x30a0
leaq 0x23630(%rip), %rdi     # 0x4e63c
leaq 0x20847(%rip), %rsi     # 0x4b85a
leaq 0x235ca(%rip), %rcx     # 0x4e5e4
movl $0x266, %edx            # imm = 0x266
callq 0x30a0
leaq 0x2361d(%rip), %rdi     # 0x4e648
leaq 0x20828(%rip), %rsi     # 0x4b85a
leaq 0x235ab(%rip), %rcx     # 0x4e5e4
movl $0x267, %edx            # imm = 0x267
callq 0x30a0