// File: /workspace/github_c_makefile_star2_O3/theovosse[P]llgen/regexp.c
// Function: sequence
static char *sequence(RegExp start, char *pattern, RegExp *end) {
	RegExp startFactor = start;
	RegExp endFactor;
	char *rest = pattern;
	char *rest2;
	char nextCh;
	Boolean special;

	do {
		rest2 = rest = factor(startFactor, rest, &endFactor);
		startFactor = endFactor;
		nextCh = chardenot(&rest2, &special, false);
	}
	while (errorInExpression == 0 && *rest != '\0' && !(special && (nextCh == '|' || nextCh == ')')));
	*end = endFactor;
	return (rest);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x258, %rsp            # imm = 0x258
movq %rdx, 0x38(%rsp)
movq %rsi, %r13
movq %rdi, %rbx
leaq 0x10(%rsp), %r12
movq %r13, 0x28(%rsp)
movq %r13, 0x18(%rsp)
leaq 0x18(%rsp), %rdi
leaq 0x6(%rsp), %rsi
xorl %edx, %edx
callq 0xf3f4
movl %eax, %r14d
cmpw $0x0, 0x6(%rsp)
je 0xeebb
cmpb $0x28, %r14b
je 0xf1cb
movzbl %r14b, %eax
cmpl $0x5b, %eax
je 0xef10
cmpl $0x2e, %eax
jne 0xf21c
xorl %edi, %edi
xorl %esi, %esi
xorl %edx, %edx
callq 0xc775
movq %rax, 0x8(%rsp)
movl 0xa3ea(%rip), %eax      # 0x1925c
testl %eax, %eax
je 0xf285
movq 0x8(%rsp), %r14
leaq 0x443a(%rip), %r12      # 0x132c0
xorl %r15d, %r15d
cmpw $0x0, (%r12)
je 0xeea8
movq (%rbx), %rdx
movl %r15d, %edi
movq %r14, %rsi
callq 0xc80e
movq %rax, (%rbx)
movl 0xa3b4(%rip), %eax      # 0x1925c
incq %r15
movl %eax, %ecx
addq $0x2, %r12
cmpq %rcx, %r15
jne 0xee89
jmp 0xf285
cmpb $0x0, (%r13)
je 0xf24d
xorl %edi, %edi
xorl %esi, %esi
xorl %edx, %edx
callq 0xc775
movq %rax, 0x8(%rsp)
movsbl %r14b, %r15d
movq (%rbx), %rdx
movl %r15d, %edi
movq %rax, %rsi
callq 0xc80e
movq %rax, (%rbx)
cmpw $0x0, 0xa365(%rip)      # 0x19258
jne 0xf285
addb $-0x61, %r14b
cmpb $0x19, %r14b
ja 0xf262
addl $-0x20, %r15d
jmp 0xf272
movq 0x18(%rsp), %rax
movq %rax, 0x10(%rsp)
xorl %edi, %edi
xorl %esi, %esi
xorl %edx, %edx
callq 0xc775
movq %rax, 0x8(%rsp)
movl $0xffffffff, %ebp       # imm = 0xFFFFFFFF
movq %r12, %rdi
leaq 0x4(%rsp), %rsi
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
callq 0xf3f4
movl %eax, %r13d
cmpw $0x0, 0x4(%rsp)
setne %al
cmpb $0x5e, %r13b
sete %cl
andb %al, %cl
cmpb $0x1, %cl
jne 0xef72
movq %r12, %rdi
leaq 0x4(%rsp), %rsi
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
callq 0xf3f4
movl %eax, %r13d
xorl %ebp, %ebp
movl %ebp, 0x34(%rsp)
movl 0xa2df(%rip), %r14d     # 0x1925c
testq %r14, %r14
je 0xef92
leaq (%r14,%r14), %rdx
leaq 0x50(%rsp), %rdi
xorl %esi, %esi
callq 0x3120
movq %r14, 0x40(%rsp)
cmpl $0x0, 0xcd62(%rip)      # 0x1bd00
jne 0xf12b
cmpw $0x0, 0x4(%rsp)
je 0xefd7
cmpb $0x2d, %r13b
je 0xf04c
movzbl %r13b, %ecx
cmpl $0x5d, %ecx
je 0xf12b
movl $0x7, 0xcd33(%rip)      # 0x1bd00
movl $0x7, %ebp
movl %eax, %r13d
jmp 0xefea
movq 0x10(%rsp), %r15
xorl %ebp, %ebp
movb (%r15), %al
orb %r13b, %al
je 0xf3c8
movq %r12, %rdi
leaq 0x4(%rsp), %rsi
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
callq 0xf3f4
movl %eax, %r14d
cmpw $0x0, 0x4(%rsp)
je 0xf08e
cmpb $0x2d, %r14b
jne 0xf071
movq %r12, %rdi
leaq 0x4(%rsp), %rsi
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
callq 0xf3f4
movl %eax, %r12d
movzwl 0x4(%rsp), %eax
testw %ax, %ax
setne %cl
cmpb $0x5d, %r12b
sete %dl
testb %dl, %cl
je 0xf0b0
movb $-0x1, %r14b
movb $0x5d, %r15b
leaq 0x10(%rsp), %r12
jmp 0xf0f9
movq %r12, %rdi
leaq 0x4(%rsp), %r15
movq %r15, %rsi
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
callq 0xf3f4
movl %eax, %r14d
xorl %ebp, %ebp
cmpw $0x0, 0x4(%rsp)
je 0xf096
xorl %r13d, %r13d
movb $0x5d, %r15b
cmpb $0x5d, %r14b
je 0xf091
movl $0x7, 0xcc7c(%rip)      # 0x1bd00
movl $0x7, %ebp
xorl %r12d, %r12d
jmp 0xf0e6
movl %r14d, %r15d
movl %r13d, %r14d
jmp 0xf0f9
movq %r12, %rdi
movq %r15, %rsi
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
callq 0xf3f4
movl %eax, %r15d
xorl %r13d, %r13d
xorl %ebp, %ebp
jmp 0xf0f9
testw %ax, %ax
sete %al
cmpb %r13b, %r12b
seta %cl
testb %al, %cl
jne 0xf0cf
movl $0x8, 0xcc36(%rip)      # 0x1bd00
movl $0x8, %ebp
leaq 0x10(%rsp), %rdi
leaq 0x4(%rsp), %rsi
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
callq 0xf3f4
movl %eax, %r14d
movl %r14d, %r15d
movl %r13d, %eax
movl %r12d, %r14d
cmpb %r12b, %r13b
leaq 0x10(%rsp), %r12
ja 0xf120
movzbl %r13b, %eax
leaq (%rsp,%rax,2), %rdi
addq $0x50, %rdi
movzbl %r14b, %ecx
subl %eax, %ecx
leaq 0x2(,%rcx,2), %rdx
movl $0xff, %esi
callq 0x3120
movl %r13d, %eax
movl %r15d, %r13d
testl %ebp, %ebp
je 0xefa4
movq 0x10(%rsp), %r15
cmpq $0x0, 0x40(%rsp)
movl 0x34(%rsp), %ebp
je 0xf1c1
movq 0x8(%rsp), %r14
xorl %r13d, %r13d
movswl 0x50(%rsp,%r13,2), %eax
cmpl %eax, %ebp
jne 0xf16d
movq (%rbx), %rdx
movl %r13d, %edi
movq %r14, %rsi
callq 0xc80e
movq %rax, (%rbx)
cmpw $0x0, 0xa0ed(%rip)      # 0x19258
je 0xf17d
incq %r13
movl 0xa0e6(%rip), %eax      # 0x1925c
cmpq %rax, %r13
jne 0xf148
jmp 0xf1c1
leal -0x61(%r13), %ecx
cmpl $0x19, %ecx
ja 0xf195
cmpw $0x0, 0x10(%rsp,%r13,2)
jne 0xf16d
leaq -0x20(%r13), %rdi
jmp 0xf1b1
leal -0x41(%r13), %ecx
cmpl $0x19, %ecx
ja 0xf16d
cmpw $0x0, 0x90(%rsp,%r13,2)
jne 0xf16d
movq %r13, %rdi
orq $0x20, %rdi
movq %r14, %rsi
movq %rax, %rdx
callq 0xc80e
movq %rax, (%rbx)
jmp 0xf16d
movq %r15, 0x18(%rsp)
jmp 0xf285
movq 0x18(%rsp), %rsi
movq %rbx, %rdi
leaq 0x8(%rsp), %rdx
callq 0xcbab
movq %rax, 0x18(%rsp)
leaq 0x18(%rsp), %rdi
leaq 0x6(%rsp), %rsi
xorl %edx, %edx
callq 0xf3f4
cmpw $0x0, 0x6(%rsp)
sete %cl
cmpb $0x29, %al
setne %al
orb %cl, %al
cmpb $0x1, %al
jne 0xf285
cmpl $0x0, 0xcaf2(%rip)      # 0x1bd00
jne 0xf285
movl $0x3, 0xcae6(%rip)      # 0x1bd00
jmp 0xf285
movsbl %r14b, %r14d
xorl %edi, %edi
xorl %esi, %esi
xorl %edx, %edx
callq 0xc775
movq %rax, 0x8(%rsp)
movq (%rbx), %rdx
movl %r14d, %edi
movq %rax, %rsi
callq 0xc80e
movq %rax, (%rbx)
movl $0x1, 0xcab5(%rip)      # 0x1bd00
jmp 0xf285
cmpl $0x0, 0xcaac(%rip)      # 0x1bd00
jne 0xf285
movl $0x2, 0xcaa0(%rip)      # 0x1bd00
jmp 0xf285
movb (%r13), %cl
addb $-0x41, %cl
cmpb $0x19, %cl
ja 0xf285
addl $0x20, %r15d
movq 0x8(%rsp), %rsi
movl %r15d, %edi
movq %rax, %rdx
callq 0xc80e
movq %rax, (%rbx)
movq 0x18(%rsp), %r13
movq %r13, 0x28(%rsp)
leaq 0x28(%rsp), %rdi
leaq 0x50(%rsp), %rsi
xorl %edx, %edx
callq 0xf3f4
cmpw $0x0, 0x50(%rsp)
je 0xf2e8
movzbl %al, %ecx
cmpl $0x2a, %ecx
jg 0xf2f2
testl %ecx, %ecx
leaq 0x10(%rsp), %r12
je 0xf34a
cmpl $0x2a, %ecx
jne 0xf31f
movq 0x28(%rsp), %r13
movq 0x8(%rsp), %r14
movq 0x8(%r14), %rdx
xorl %edi, %edi
movq %rbx, %rsi
callq 0xc80e
movq %rax, 0x8(%r14)
movq %rbx, 0x8(%rsp)
jmp 0xf37e
leaq 0x10(%rsp), %r12
jmp 0xf37e
cmpl $0x3f, %ecx
leaq 0x10(%rsp), %r12
je 0xf365
cmpl $0x2b, %ecx
jne 0xf31f
movq 0x28(%rsp), %r13
movq 0x8(%rsp), %r14
movq 0x8(%r14), %rdx
xorl %edi, %edi
movq %rbx, %rsi
callq 0xc80e
movq %rax, 0x8(%r14)
jmp 0xf37e
movsbl %al, %esi
movl $0xc, %edx
leaq 0x3d8c(%rip), %rdi      # 0x130ba
callq 0x3140
testq %rax, %rax
sete %al
movl 0xc9c1(%rip), %ebp      # 0x1bd00
testl %ebp, %ebp
sete %cl
testb %cl, %al
jne 0xf354
jmp 0xf384
movl 0xc9b0(%rip), %ebp      # 0x1bd00
testl %ebp, %ebp
jne 0xf384
movl $0x1, 0xc9a2(%rip)      # 0x1bd00
movl $0x1, %ebp
jmp 0xf384
movq 0x28(%rsp), %r13
movq 0x8(%rsp), %rsi
movq 0x8(%rbx), %rdx
xorl %edi, %edi
callq 0xc80e
movq %rax, 0x8(%rbx)
movl 0xc97c(%rip), %ebp      # 0x1bd00
movq %r13, 0x48(%rsp)
movq 0x8(%rsp), %rbx
leaq 0x48(%rsp), %rdi
leaq 0x26(%rsp), %rsi
xorl %edx, %edx
callq 0xf3f4
testl %ebp, %ebp
jne 0xf3d7
cmpb $0x0, (%r13)
je 0xf3d7
cmpw $0x0, 0x26(%rsp)
je 0xee16
cmpb $0x7c, %al
je 0xf3d7
movzbl %al, %eax
cmpl $0x29, %eax
jne 0xee16
jmp 0xf3d7
movl $0x5, 0xc92e(%rip)      # 0x1bd00
jmp 0xf130
movq 0x38(%rsp), %rax
movq %rbx, (%rax)
movq %r13, %rax
addq $0x258, %rsp            # imm = 0x258
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq