// File: /workspace/github_c_makefile_star2_O1/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 $0x38, %rsp
movq %rcx, %r12
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, %r13
movl (%rdx), %eax
cmpl $0x7, %eax
je 0x4733c
cmpl $0x3, %eax
jne 0x47391
movq %rbx, (%rsp)
movq 0x48(%r13), %rdi
movq 0x18(%rdi), %rbp
leaq 0x1(%rbp), %rax
movq %rax, 0x18(%rdi)
callq 0x2d00a
movq %rax, %r15
movq 0x48(%r13), %rdi
callq 0x2d00a
movq %rax, %rbx
movq %r14, %rdi
movq %r12, %rsi
callq 0x362d2
cmpl $0x0, (%r12)
je 0x473bb
xorl %ebp, %ebp
movq (%rsp), %rbx
movq %rax, %r15
jmp 0x474cf
movq %rbx, (%rsp)
movq 0x48(%r13), %rdi
movq 0x18(%rdi), %r15
leaq 0x1(%r15), %rax
movq %rax, 0x18(%rdi)
callq 0x2d00a
movq %rax, %rbx
movq 0x48(%r13), %rdi
callq 0x2d00a
movq %rax, %rbp
movq 0x48(%r13), %rdi
callq 0x2d00a
movq %r14, %rdi
movq %rax, %r14
movq %rdi, 0x8(%rsp)
movq %r12, %rsi
callq 0x362d2
cmpl $0x0, (%r12)
je 0x473ed
movq %rax, 0x18(%rsp)
jmp 0x47415
movq (%r13), %rax
movq 0x30(%rax), %rdx
movl 0x38(%rax), %ecx
leaq 0x2e6df(%rip), %r8      # 0x75a82
movq %r12, %rdi
movl $0x19, %esi
movl $0x2f3, %r9d            # imm = 0x2F3
callq 0x14618
jmp 0x474df
movq %r15, 0x28(%rsp)
movq %rbx, 0x8(%rsp)
movq %rbp, 0x18(%rsp)
movq %r13, %rdi
movq %rax, %rsi
movq %r12, %rdx
callq 0x4912c
movq %rax, %r15
cmpl $0x0, (%r12)
je 0x47435
xorl %ebp, %ebp
movq (%rsp), %rbx
jmp 0x474cf
movq %r14, 0x20(%rsp)
movq %rbp, 0x28(%rsp)
movq %r13, %rdi
movq %rax, %rsi
movq %r12, %rdx
callq 0x4912c
movq %rax, 0x18(%rsp)
cmpl $0x0, (%r12)
je 0x47504
xorl %r15d, %r15d
xorl %ebp, %ebp
movq 0x8(%rsp), %r14
movq (%rsp), %rbx
movq %rbp, %rdi
callq 0x2b4c3
movq 0x18(%rsp), %rdi
jmp 0x474d2
movq (%rsp), %rbx
leaq 0x148(%rbx), %rdi
movq %rdi, 0x10(%rsp)
callq 0x14ba1
movq %rax, %rbp
decq %rax
movq 0x48(%r13), %rdi
movq %r15, 0x20(%rsp)
movq 0x148(%r15), %rcx
movq %rax, %r15
movl %r15d, %r8d
movl $0x2d, %esi
movq 0x18(%rsp), %rdx
movq %r12, %r9
callq 0x2c0c2
cmpl $0x0, (%r12)
jne 0x474c8
movq %r15, 0x30(%rsp)
movq 0x48(%r13), %rdi
movl $0x44, %esi
movq 0x18(%rsp), %rdx
movq 0x28(%rsp), %r15
movq %r15, %rcx
movq 0x8(%rsp), %r8
movq %r12, %r9
callq 0x2c0c2
cmpl $0x0, (%r12)
jne 0x474c8
movq 0x48(%r13), %rdi
movq %r15, %rsi
movq %r12, %rdx
callq 0x2d017
cmpl $0x0, (%r12)
je 0x475b7
xorl %ebp, %ebp
movq 0x20(%rsp), %r15
movq %rbp, %rdi
callq 0x2b4c3
movq %r15, %rdi
callq 0x2b4c3
movq %r14, %rdi
xorl %r14d, %r14d
callq 0x2b4c3
movq %rbx, %rdi
callq 0x2b4c3
movq %r14, %rax
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %r15, 0x10(%rsp)
movq (%rsp), %rdi
movq %r12, %rsi
callq 0x362d2
movq %rax, %r15
cmpl $0x0, (%r12)
movq 0x8(%rsp), %r14
jne 0x475b0
movq %r13, %rdi
movq %r15, %rsi
movq %r12, %rdx
callq 0x4912c
movq %rax, %r15
cmpl $0x0, (%r12)
jne 0x475b0
movq 0x48(%r13), %rdi
movq 0x18(%rsp), %rax
movq 0x148(%rax), %rcx
movq 0x148(%r15), %r8
movl $0x2b, %esi
movq 0x10(%rsp), %rbp
movq %rbp, %rdx
movq %r12, %r9
callq 0x2c0c2
cmpl $0x0, (%r12)
jne 0x475b0
movq 0x48(%r13), %rdi
movl $0x44, %esi
movq %rbp, %rdx
movq %rbx, %rcx
movq 0x28(%rsp), %r8
movq %r12, %r9
callq 0x2c0c2
cmpl $0x0, (%r12)
jne 0x475b0
movq 0x48(%r13), %rdi
movq %rbx, %rsi
movq %r12, %rdx
callq 0x2d017
cmpl $0x0, (%r12)
je 0x47640
xorl %ebp, %ebp
jmp 0x4741f
movq 0x10(%rsp), %rdi
callq 0x14dfb
movslq 0x30(%rsp), %rdx
movq %r13, %rdi
movq %rax, %rsi
movq %r12, %rcx
callq 0x48267
cmpl $0x0, (%r12)
movq 0x20(%rsp), %r15
je 0x475e7
xorl %ebp, %ebp
jmp 0x474cf
movq %rax, 0x10(%rsp)
movq %rbp, 0x28(%rsp)
movq 0x148(%r14), %rsi
xorl %ebp, %ebp
movq %r13, %rdi
xorl %edx, %edx
movq %r12, %rcx
callq 0x4d29c
cmpl $0x0, (%r12)
jne 0x474cf
movq 0x28(%rsp), %rcx
cmpq $0x5, %rcx
je 0x47702
cmpq $0x2, %rcx
jne 0x4771c
movq %r13, %rdi
movq %rax, %rsi
movq 0x10(%rsp), %rdx
movl $0x11, %ecx
jmp 0x47712
movq 0x148(%r14), %rsi
xorl %ebp, %ebp
movq %r13, %rdi
xorl %edx, %edx
movq %r12, %rcx
callq 0x4d29c
cmpl $0x0, (%r12)
movq (%rsp), %rbx
jne 0x47423
movq %rax, 0x30(%rsp)
movq 0x148(%rbx), %rsi
xorl %ebp, %ebp
movq %r13, %rdi
xorl %edx, %edx
movq %r12, %rcx
callq 0x4d29c
cmpl $0x0, (%r12)
jne 0x47423
movq 0x48(%r13), %rdi
movl $0x2b, %esi
movq 0x10(%rsp), %rdx
movq 0x30(%rsp), %rcx
movq %rax, %r14
movq %rax, %r8
movq %r12, %r9
callq 0x2c0c2
cmpl $0x0, (%r12)
jne 0x476f6
movq 0x48(%r13), %rdi
movl $0x44, %esi
movq 0x10(%rsp), %rdx
movq 0x28(%rsp), %rcx
movq 0x20(%rsp), %r8
movq %r12, %r9
callq 0x2c0c2
cmpl $0x0, (%r12)
jne 0x476f6
movq 0x48(%r13), %rdi
movq 0x20(%rsp), %rsi
movq %r12, %rdx
callq 0x2d017
cmpl $0x0, (%r12)
je 0x477b6
xorl %ebp, %ebp
movq 0x8(%rsp), %r14
jmp 0x47423
movq %r13, %rdi
movq %rax, %rsi
movq 0x10(%rsp), %rdx
movl $0x12, %ecx
movq %r12, %r8
callq 0x47ec3
jmp 0x47736
movq 0x148(%r15), %rcx
movq %r13, %rdi
movq %rax, %rsi
movq 0x10(%rsp), %rdx
movq %r12, %r8
callq 0x4951d
movq %rax, %rbp
cmpl $0x0, (%r12)
movq 0x18(%rsp), %rdx
jne 0x474cf
movq 0x48(%r13), %rdi
movq 0x148(%rbp), %rcx
movl $0x1d, %esi
movq %r12, %r8
callq 0x2c1ac
cmpl $0x0, (%r12)
jne 0x474cf
movq 0x48(%r13), %rdi
movq 0x8(%rsp), %rsi
movq %r12, %rdx
callq 0x2d017
cmpl $0x0, (%r12)
je 0x4778d
movq (%rsp), %rbx
jmp 0x474ca
movq 0x18(%rsp), %rax
movq %rax, 0x148(%r14)
movl $0x5, (%r14)
movq %rbp, %rdi
callq 0x2b4c3
movq (%rsp), %rbx
movq 0x20(%rsp), %rdi
jmp 0x474e5
movq 0x18(%rsp), %rax
movq 0x148(%rax), %rcx
movq %r13, %rdi
movq 0x30(%rsp), %rsi
movq %r14, %rdx
movq %r12, %r8
callq 0x4951d
movq %rax, %rbp
cmpl $0x0, (%r12)
jne 0x476f8
movq 0x48(%r13), %rdi
movq 0x148(%rbp), %rcx
movl $0x1d, %esi
movq 0x10(%rsp), %rdx
movq %r12, %r8
callq 0x2c1ac
cmpl $0x0, (%r12)
jne 0x476f8
movq 0x48(%r13), %rdi
movq 0x28(%rsp), %rsi
movq %r12, %rdx
callq 0x2d017
cmpl $0x0, (%r12)
jne 0x476f8
movq 0x10(%rsp), %rax
movq 0x8(%rsp), %r14
movq %rax, 0x148(%r14)
movl $0x5, (%r14)
movq %rbp, %rdi
callq 0x2b4c3
movq 0x18(%rsp), %rdi
callq 0x2b4c3
movq %r15, %rdi
jmp 0x474e5