// File: /workspace/github_c_makefile_star2_O3/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 0x2a670
movq %rsi, %r12
testq %rsi, %rsi
je 0x2a68f
movq %rdx, %r14
testq %rdx, %rdx
je 0x2a6ae
movl %ecx, %r13d
movq %rdi, %r15
movq %r12, %rsi
callq 0x2a712
movl %eax, %ebx
movq %r15, %rdi
movq %r14, %rsi
callq 0x2a712
movb $0x1, %cl
cmpb $-0x1, %bl
jne 0x2a515
cmpb $-0x1, %al
je 0x2a63b
movzbl %r13b, %ebx
movq %r15, %rdi
movq %r12, %rsi
movq %r14, %rdx
movl %ebx, %ecx
callq 0x3286a
testb %al, %al
jne 0x2a639
movq %r15, %rdi
movq %r12, %rsi
movq %r14, %rdx
callq 0x328d2
testb %al, %al
jne 0x2a639
movl %ebx, -0x2c(%rbp)
movq %r15, %rdi
movq %r12, %rsi
callq 0x2a712
cmpb $0xe, %al
jne 0x2a612
movq %r15, %rdi
movq %r14, %rsi
callq 0x2a712
cmpb $0xe, %al
jne 0x2a612
movq 0x48(%r12), %rax
movq (%rax), %rsi
testq %rsi, %rsi
je 0x2a6cd
movq 0x48(%r14), %rcx
movq (%rcx), %rdi
testq %rdi, %rdi
je 0x2a6ec
movl 0x44(%rsi), %edx
movq %rdi, -0x50(%rbp)
cmpl 0x44(%rdi), %edx
jne 0x2a612
movq 0x8(%rax), %rax
movq %rax, -0x40(%rbp)
movq 0x8(%rcx), %rax
movq %rax, -0x38(%rbp)
testl %edx, %edx
jle 0x2a5fb
xorl %ebx, %ebx
movq %rsi, -0x48(%rbp)
movq 0x48(%rsi), %rax
movq (%rax,%rbx,8), %rsi
movq -0x50(%rbp), %rax
movq 0x48(%rax), %rax
movq (%rax,%rbx,8), %rax
movq %rax, -0x58(%rbp)
movq %r15, %rdi
callq 0x24ade
movq %rax, %r13
movq %r15, %rdi
movq -0x58(%rbp), %rsi
callq 0x24ade
movq -0x48(%rbp), %rsi
cmpq %rax, %r13
jne 0x2a612
incq %rbx
movslq 0x44(%rsi), %rax
cmpq %rax, %rbx
jl 0x2a5b7
movq %r15, %rdi
movq -0x40(%rbp), %rsi
movq -0x38(%rbp), %rdx
movl -0x2c(%rbp), %ecx
callq 0x2a4b9
testb %al, %al
jne 0x2a639
movq %r15, %rdi
movq %r12, %rsi
movq %r14, %rdx
callq 0x3292f
testb %al, %al
jne 0x2a639
movq %r15, %rdi
movq %r12, %rsi
movq %r14, %rdx
movl -0x2c(%rbp), %ecx
callq 0x32a92
testb %al, %al
je 0x2a64c
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 0x2a712
cmpb $0xc, %al
jne 0x2a66c
movq %r15, %rdi
movq %r14, %rsi
callq 0x2a712
movb $0x1, %cl
cmpb $0xc, %al
je 0x2a63b
xorl %ecx, %ecx
jmp 0x2a63b
leaq 0x1673d(%rip), %rdi     # 0x40db4
leaq 0x2027c(%rip), %rsi     # 0x4a8fa
leaq 0x22f54(%rip), %rcx     # 0x4d5d9
movl $0x307, %edx            # imm = 0x307
callq 0x30a0
leaq 0x1d5c6(%rip), %rdi     # 0x47c5c
leaq 0x2025d(%rip), %rsi     # 0x4a8fa
leaq 0x22f35(%rip), %rcx     # 0x4d5d9
movl $0x308, %edx            # imm = 0x308
callq 0x30a0
leaq 0x13e71(%rip), %rdi     # 0x3e526
leaq 0x2023e(%rip), %rsi     # 0x4a8fa
leaq 0x22f16(%rip), %rcx     # 0x4d5d9
movl $0x309, %edx            # imm = 0x309
callq 0x30a0
leaq 0x22fb1(%rip), %rdi     # 0x4d685
leaq 0x2021f(%rip), %rsi     # 0x4a8fa
leaq 0x22f4b(%rip), %rcx     # 0x4d62d
movl $0x266, %edx            # imm = 0x266
callq 0x30a0
leaq 0x22f9e(%rip), %rdi     # 0x4d691
leaq 0x20200(%rip), %rsi     # 0x4a8fa
leaq 0x22f2c(%rip), %rcx     # 0x4d62d
movl $0x267, %edx            # imm = 0x267
callq 0x30a0