// File: /workspace/github_c_makefile_star2_O3/markdryan[P]subtilis/frontend/string_type_if.c
// Function: prv_eq
static subtilis_exp_t *prv_eq(subtilis_parser_t *p, subtilis_exp_t *a1,
			      subtilis_exp_t *a2, subtilis_error_t *err)
{
	switch (a2->type.type) {
	case SUBTILIS_TYPE_CONST_STRING:
		return prv_eq_non_const_const(p, a1, a2, err);
	case SUBTILIS_TYPE_STRING:
		return prv_eq_non_const_non_const(p, a1, a2, err);
	default:
		subtilis_error_set_bad_expression(err, p->l->stream->name,
						  p->l->line);
	}

	subtilis_exp_delete(a1);
	subtilis_exp_delete(a2);

	return NULL;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movq %rcx, %r15
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, %r12
movl (%rdx), %eax
cmpl $0x7, %eax
je 0x472a3
cmpl $0x3, %eax
jne 0x47300
movq %rbx, 0x18(%rsp)
movq 0x48(%r12), %rdi
movq 0x18(%rdi), %r13
leaq 0x1(%r13), %rax
movq %rax, 0x18(%rdi)
callq 0x2cc99
movq %rax, %rbx
movq 0x48(%r12), %rdi
callq 0x2cc99
movq %rax, %rbp
movq %r14, 0x8(%rsp)
movq %r14, %rdi
movq %r15, %rsi
callq 0x36182
cmpl $0x0, (%r15)
je 0x4732a
xorl %ebp, %ebp
movq %rax, %r13
jmp 0x47356
movq %rbx, 0x18(%rsp)
movq 0x48(%r12), %rdi
movq 0x18(%rdi), %r13
leaq 0x1(%r13), %rax
movq %rax, 0x18(%rdi)
callq 0x2cc99
movq %rax, 0x30(%rsp)
movq 0x48(%r12), %rdi
callq 0x2cc99
movq %rax, %rbp
movq 0x48(%r12), %rdi
callq 0x2cc99
movq %rax, %rbx
movq %r14, 0x8(%rsp)
movq %r14, %rdi
movq %r15, %rsi
callq 0x36182
cmpl $0x0, (%r15)
je 0x4736d
xorl %r15d, %r15d
xorl %ebp, %ebp
movq %rax, %r13
jmp 0x473a1
movq (%r12), %rax
movq 0x30(%rax), %rdx
movl 0x38(%rax), %ecx
leaq 0x2e7b4(%rip), %r8      # 0x75ac6
movq %r15, %rdi
movl $0x19, %esi
movl $0x2f3, %r9d            # imm = 0x2F3
callq 0x145c8
jmp 0x473c3
movq %rbx, 0x28(%rsp)
movq %rbp, 0x38(%rsp)
movq %r13, 0x30(%rsp)
movq %r12, %rdi
movq %rax, %rsi
movq %r15, %rdx
callq 0x490ac
movq %rax, %r13
cmpl $0x0, (%r15)
je 0x473e8
xorl %ebp, %ebp
movq 0x8(%rsp), %r14
movq 0x18(%rsp), %rbx
movq %rbp, %rdi
callq 0x2b166
movq %r13, %rdi
jmp 0x473be
movq 0x30(%rsp), %r14
movq %rbx, 0x40(%rsp)
movq %rbp, 0x28(%rsp)
movq %r13, 0x38(%rsp)
movq %r12, %rdi
movq %rax, %rsi
movq %r15, %rdx
callq 0x490ac
movq %rax, %r13
cmpl $0x0, (%r15)
je 0x47486
xorl %r15d, %r15d
xorl %ebp, %ebp
movq 0x18(%rsp), %rbx
movq 0x8(%rsp), %r14
movq %rbp, %rdi
callq 0x2b166
movq %r13, %rdi
callq 0x2b166
movq %r15, %rdi
callq 0x2b166
movq %r14, %rdi
callq 0x2b166
xorl %r14d, %r14d
movq %rbx, %rdi
callq 0x2b166
movq %r14, %rax
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq 0x18(%rsp), %rbx
leaq 0x148(%rbx), %rdi
movq %rdi, 0x40(%rsp)
callq 0x14b57
movq %rax, %r14
leaq -0x1(%rax), %rbp
movq 0x48(%r12), %rdi
movq 0x148(%r13), %rcx
movl %ebp, %r8d
movl $0x2d, %esi
movq 0x30(%rsp), %rdx
movq %r15, %r9
callq 0x2bd42
cmpl $0x0, (%r15)
jne 0x4747a
movq %rbp, 0x10(%rsp)
movq %r14, 0x20(%rsp)
movq 0x48(%r12), %rdi
movl $0x44, %esi
movq 0x30(%rsp), %rdx
movq 0x28(%rsp), %r14
movq %r14, %rcx
movq 0x38(%rsp), %r8
movq %r15, %r9
callq 0x2bd42
cmpl $0x0, (%r15)
jne 0x4747a
movq 0x48(%r12), %rdi
movq %r14, %rsi
movq %r15, %rdx
callq 0x2cca6
cmpl $0x0, (%r15)
je 0x47536
xorl %ebp, %ebp
movq 0x8(%rsp), %r14
jmp 0x47360
movq 0x18(%rsp), %rbx
movq %rbx, %rdi
movq %r15, %rsi
callq 0x36182
cmpl $0x0, (%r15)
jne 0x474b0
movq %r12, %rdi
movq %rax, %rsi
movq %r15, %rdx
callq 0x490ac
cmpl $0x0, (%r15)
je 0x474ba
xorl %ebp, %ebp
movq %rax, %r15
jmp 0x473a6
movq 0x48(%r12), %rdi
movq 0x148(%r13), %rcx
movq %rax, 0x10(%rsp)
movq 0x148(%rax), %r8
movl $0x2b, %esi
movq 0x38(%rsp), %rbp
movq %rbp, %rdx
movq %r15, %r9
callq 0x2bd42
cmpl $0x0, (%r15)
jne 0x4752a
movq 0x48(%r12), %rdi
movl $0x44, %esi
movq %rbp, %rdx
movq %r14, %rcx
movq 0x28(%rsp), %r8
movq %r15, %r9
callq 0x2bd42
cmpl $0x0, (%r15)
jne 0x4752a
movq 0x48(%r12), %rdi
movq %r14, %rsi
movq %r15, %rdx
callq 0x2cca6
cmpl $0x0, (%r15)
je 0x475ad
xorl %ebp, %ebp
movq 0x10(%rsp), %r15
jmp 0x473a6
movq 0x40(%rsp), %rdi
callq 0x14db1
movslq 0x10(%rsp), %rdx
movq %r12, %rdi
movq %rax, %rsi
movq %r15, %rcx
callq 0x481e7
cmpl $0x0, (%r15)
movq 0x8(%rsp), %r14
je 0x47565
xorl %ebp, %ebp
jmp 0x47360
movq %rax, 0x28(%rsp)
movq 0x148(%r14), %rsi
xorl %ebp, %ebp
movq %r12, %rdi
xorl %edx, %edx
movq %r15, %rcx
callq 0x4d258
cmpl $0x0, (%r15)
jne 0x47360
movq 0x20(%rsp), %rcx
cmpq $0x5, %rcx
je 0x475fd
cmpq $0x2, %rcx
jne 0x47617
movq %r12, %rdi
movq %rax, %rsi
movq 0x28(%rsp), %rdx
movl $0x11, %ecx
jmp 0x4760d
movq 0x8(%rsp), %r14
movq 0x148(%r14), %rsi
xorl %ebp, %ebp
movq %r12, %rdi
xorl %edx, %edx
movq %r15, %rcx
callq 0x4d258
cmpl $0x0, (%r15)
jne 0x475f3
movq %rax, 0x30(%rsp)
movq 0x148(%rbx), %rsi
xorl %ebp, %ebp
movq %r12, %rdi
xorl %edx, %edx
movq %r15, %rcx
callq 0x4d258
cmpl $0x0, (%r15)
je 0x476aa
movq 0x10(%rsp), %r15
jmp 0x473ab
movq %r12, %rdi
movq %rax, %rsi
movq 0x28(%rsp), %rdx
movl $0x12, %ecx
movq %r15, %r8
callq 0x47e43
jmp 0x47631
movq 0x148(%r13), %rcx
movq %r12, %rdi
movq %rax, %rsi
movq 0x28(%rsp), %rdx
movq %r15, %r8
callq 0x4949d
movq %rax, %rbp
cmpl $0x0, (%r15)
movq 0x30(%rsp), %rdx
jne 0x47360
movq 0x48(%r12), %rdi
movq 0x148(%rbp), %rcx
movl $0x1d, %esi
movq %r15, %r8
callq 0x2be2c
cmpl $0x0, (%r15)
jne 0x47360
movq 0x48(%r12), %rdi
movq 0x38(%rsp), %rsi
movq %r15, %rdx
callq 0x2cca6
cmpl $0x0, (%r15)
jne 0x47360
movq 0x30(%rsp), %rax
movq %rax, 0x148(%r14)
movl $0x5, (%r14)
movq %rbp, %rdi
callq 0x2b166
movq %r13, %rdi
callq 0x2b166
jmp 0x473ce
movq %r13, 0x20(%rsp)
movq %r12, %r13
movq 0x48(%r12), %rdi
movl $0x2b, %esi
movq 0x38(%rsp), %rdx
movq 0x30(%rsp), %rcx
movq %rax, %r12
movq %rax, %r8
movq %r15, %r9
callq 0x2bd42
cmpl $0x0, (%r15)
jne 0x4771a
movq %r15, %r14
movq 0x48(%r13), %rdi
movl $0x44, %esi
movq 0x38(%rsp), %rdx
movq 0x28(%rsp), %rcx
movq 0x40(%rsp), %r8
movq %r14, %r9
callq 0x2bd42
cmpl $0x0, (%r14)
jne 0x4771a
movq 0x48(%r13), %rdi
movq 0x40(%rsp), %rsi
movq %r14, %rdx
callq 0x2cca6
cmpl $0x0, (%r14)
je 0x4772b
xorl %ebp, %ebp
movq 0x10(%rsp), %r15
movq 0x20(%rsp), %r13
jmp 0x473a1
movq 0x20(%rsp), %rax
movq 0x148(%rax), %rcx
movq %r13, %rdi
movq 0x30(%rsp), %rsi
movq %r12, %rdx
movq %r14, %r8
callq 0x4949d
movq %rax, %rbp
cmpl $0x0, (%r14)
jne 0x4771c
movq 0x48(%r13), %rdi
movq 0x148(%rbp), %rcx
movl $0x1d, %esi
movq 0x38(%rsp), %rdx
movq %r14, %r8
callq 0x2be2c
cmpl $0x0, (%r14)
jne 0x4771c
movq 0x48(%r13), %rdi
movq 0x28(%rsp), %rsi
movq %r14, %rdx
callq 0x2cca6
cmpl $0x0, (%r14)
jne 0x4771c
movq 0x38(%rsp), %rax
movq 0x8(%rsp), %r14
movq %rax, 0x148(%r14)
movl $0x5, (%r14)
movq %rbp, %rdi
callq 0x2b166
movq 0x20(%rsp), %rdi
callq 0x2b166
movq 0x10(%rsp), %rdi
callq 0x2b166
movq 0x18(%rsp), %rbx
jmp 0x473ce