// File: /workspace/github_c_makefile_star2_O1/phase[P]o/libregexp/regcomp.c
// Function: evaluntil
static	void
evaluntil(int pri)
{
	Node *op1, *op2;
	Reinst *inst1, *inst2;

	while(pri==RBRA || atorp[-1]>=pri){
		switch(popator()){
		default:
			rcerror("unknown operator in evaluntil");
			break;
		case LBRA:		/* must have been RBRA */
			op1 = popand('(');
			inst2 = newinst(RBRA);
			inst2->r.subid = *subidp;
			op1->last->l.next = inst2;
			inst1 = newinst(LBRA);
			inst1->r.subid = *subidp;
			inst1->l.next = op1->first;
			pushand(inst1, inst2);
			return;
		case OR:
			op2 = popand('|');
			op1 = popand('|');
			inst2 = newinst(NOP);
			op2->last->l.next = inst2;
			op1->last->l.next = inst2;
			inst1 = newinst(OR);
			inst1->r.right = op1->first;
			inst1->l.left = op2->first;
			pushand(inst1, inst2);
			break;
		case CAT:
			op2 = popand(0);
			op1 = popand(0);
			op1->last->l.next = op2->first;
			pushand(op1->first, op2->last);
			break;
		case STAR:
			op2 = popand('*');
			inst1 = newinst(OR);
			op2->last->l.next = inst1;
			inst1->r.right = op2->first;
			pushand(inst1, inst1);
			break;
		case PLUS:
			op2 = popand('+');
			inst1 = newinst(OR);
			op2->last->l.next = inst1;
			inst1->r.right = op2->first;
			pushand(op2->first, inst1);
			break;
		case QUEST:
			op2 = popand('?');
			inst1 = newinst(OR);
			inst2 = newinst(NOP);
			inst1->l.left = inst2;
			inst1->r.right = op2->first;
			op2->last->l.next = inst2;
			pushand(inst1, inst2);
			break;
		}
	}
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl %edi, %ebx
leaq 0x6573(%rip), %r12      # 0xe1a0
movl $0xffffff7e, %r13d      # imm = 0xFFFFFF7E
leaq 0x185a(%rip), %r15      # 0x9494
cmpl $0x81, %ebx
je 0x7c52
movq 0x65a7(%rip), %rax      # 0xe1f0
cmpl %ebx, -0x4(%rax)
jl 0x7ee6
movq 0x6597(%rip), %rax      # 0xe1f0
cmpq %r12, %rax
jbe 0x7ef5
addq $-0x4, 0x6736(%rip)     # 0xe3a0
leaq -0x4(%rax), %rcx
movq %rcx, 0x657b(%rip)      # 0xe1f0
movl -0x4(%rax), %eax
addl %r13d, %eax
cmpl $0x5, %eax
ja 0x7f0d
movslq (%r15,%rax,4), %rax
addq %r15, %rax
jmpq *%rax
movl $0x7c, %edi
callq 0x7ff2
movq %rax, %r14
movl $0x7c, %edi
callq 0x7ff2
movq 0x63f5(%rip), %rcx      # 0xe0a0
movl $0xc2, (%rcx)
leaq 0x18(%rcx), %rsi
xorps %xmm0, %xmm0
movups %xmm0, 0x8(%rcx)
movq %rsi, 0x63dd(%rip)      # 0xe0a0
movq 0x8(%r14), %rdx
movq %rcx, 0x10(%rdx)
movq 0x8(%rax), %rdx
movq %rcx, 0x10(%rdx)
movl $0x83, 0x18(%rcx)
leaq 0x30(%rcx), %rdx
movups %xmm0, 0x20(%rcx)
movq %rdx, 0x63b7(%rip)      # 0xe0a0
movq (%rax), %rax
movq %rax, 0x20(%rcx)
movq (%r14), %rax
movq %rax, 0x28(%rcx)
jmp 0x7e34
movl $0x2b, %edi
callq 0x7ff2
movq 0x6393(%rip), %rcx      # 0xe0a0
movl $0x83, (%rcx)
leaq 0x18(%rcx), %rdx
xorps %xmm0, %xmm0
movups %xmm0, 0x8(%rcx)
movq %rdx, 0x637b(%rip)      # 0xe0a0
movq 0x8(%rax), %rdx
movq %rcx, 0x10(%rdx)
movq (%rax), %rdx
movq %rdx, 0x8(%rcx)
movq 0x6605(%rip), %rdx      # 0xe340
leaq 0x65fe(%rip), %rsi      # 0xe340
cmpq %rsi, %rdx
jb 0x7d83
jmp 0x7f01
xorl %edi, %edi
callq 0x7ff2
movq %rax, %r14
xorl %edi, %edi
callq 0x7ff2
movq (%r14), %rcx
movq 0x8(%rax), %rdx
movq %rcx, 0x10(%rdx)
movq 0x65d1(%rip), %rdx      # 0xe340
leaq 0x65ca(%rip), %rcx      # 0xe340
cmpq %rcx, %rdx
jae 0x7f01
movq 0x8(%r14), %rcx
movq (%rax), %rax
movq %rax, (%rdx)
jmp 0x7e4e
movl $0x2a, %edi
callq 0x7ff2
movq 0x6301(%rip), %rcx      # 0xe0a0
movl $0x83, (%rcx)
leaq 0x18(%rcx), %rdx
xorps %xmm0, %xmm0
movups %xmm0, 0x8(%rcx)
movq %rdx, 0x62e9(%rip)      # 0xe0a0
movq 0x8(%rax), %rdx
movq %rcx, 0x10(%rdx)
movq (%rax), %rax
movq %rax, 0x8(%rcx)
movq 0x6573(%rip), %rdx      # 0xe340
leaq 0x656c(%rip), %rax      # 0xe340
cmpq %rax, %rdx
jae 0x7f01
movq %rcx, (%rdx)
jmp 0x7e4e
movl $0x3f, %edi
callq 0x7ff2
movq 0x62ad(%rip), %rsi      # 0xe0a0
movl $0x83, (%rsi)
leaq 0x18(%rsi), %rcx
xorps %xmm0, %xmm0
movups %xmm0, 0x8(%rsi)
movq %rcx, 0x6295(%rip)      # 0xe0a0
movl $0xc2, 0x18(%rsi)
leaq 0x30(%rsi), %rdx
movups %xmm0, 0x20(%rsi)
movq %rdx, 0x627f(%rip)      # 0xe0a0
movq %rcx, 0x10(%rsi)
movq (%rax), %rdx
movq %rdx, 0x8(%rsi)
movq 0x8(%rax), %rax
movq %rcx, 0x10(%rax)
movq 0x6505(%rip), %rdx      # 0xe340
leaq 0x64fe(%rip), %rax      # 0xe340
cmpq %rax, %rdx
jae 0x7f01
movq %rsi, (%rdx)
movq %rcx, 0x8(%rdx)
addq $0x10, %rdx
movq %rdx, 0x64e3(%rip)      # 0xe340
jmp 0x7c3a
movl $0x28, %edi
callq 0x7ff2
movq 0x622d(%rip), %rcx      # 0xe0a0
movl $0x81, (%rcx)
leaq 0x18(%rcx), %rdx
xorps %xmm0, %xmm0
movups %xmm0, 0x8(%rcx)
movq %rdx, 0x6215(%rip)      # 0xe0a0
movq 0x650e(%rip), %rsi      # 0xe3a0
movl (%rsi), %edi
movl %edi, 0x8(%rcx)
movq 0x8(%rax), %rdi
movq %rcx, 0x10(%rdi)
movl $0x82, 0x18(%rcx)
leaq 0x30(%rcx), %rdi
movups %xmm0, 0x20(%rcx)
movq %rdi, 0x61eb(%rip)      # 0xe0a0
movl (%rsi), %esi
movl %esi, 0x20(%rcx)
movq (%rax), %rax
movq %rax, 0x28(%rcx)
movq 0x6478(%rip), %rax      # 0xe340
leaq 0x6471(%rip), %rsi      # 0xe340
cmpq %rsi, %rax
jae 0x7f01
movq %rdx, (%rax)
movq %rcx, 0x8(%rax)
addq $0x10, %rax
movq %rax, 0x645a(%rip)      # 0xe340
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x174a(%rip), %rdi      # 0x9646
callq 0x7f30
leaq 0x1709(%rip), %rdi      # 0x9611
callq 0x7f30
incl 0x619d(%rip)            # 0xe0b0
leaq 0x170e(%rip), %rdi      # 0x9628
callq 0x8064
leaq 0x619a(%rip), %rdi      # 0xe0c0
movl $0x1, %esi
callq 0x2200