// File: /workspace/github_c_makefile_star2_O1/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 0x20(%rsp), %rbp
movq %r13, 0x30(%rsp)
movq %r13, 0x20(%rsp)
movq %rbp, %rdi
leaq 0x6(%rsp), %rsi
xorl %edx, %edx
callq 0xf657
movl %eax, %r14d
cmpw $0x0, 0x6(%rsp)
je 0xf134
cmpb $0x28, %r14b
je 0xf471
movzbl %r14b, %eax
cmpl $0x5b, %eax
je 0xf189
cmpl $0x2e, %eax
jne 0xf4c0
xorl %edi, %edi
xorl %esi, %esi
xorl %edx, %edx
callq 0xcac5
movq %rax, 0x8(%rsp)
cmpl $0x0, 0xa16d(%rip)      # 0x1925c
je 0xf529
movq 0x8(%rsp), %r14
leaq 0x41bf(%rip), %r12      # 0x132c0
xorl %r15d, %r15d
cmpw $0x0, (%r12)
je 0xf11d
movq (%rbx), %rdx
movl %r15d, %edi
movq %r14, %rsi
callq 0xcb5e
movq %rax, (%rbx)
incq %r15
movl 0xa136(%rip), %eax      # 0x1925c
addq $0x2, %r12
cmpq %rax, %r15
jne 0xf104
jmp 0xf529
cmpb $0x0, (%r13)
je 0xf4f1
xorl %edi, %edi
xorl %esi, %esi
xorl %edx, %edx
callq 0xcac5
movq %rax, 0x8(%rsp)
movsbl %r14b, %r15d
movq (%rbx), %rdx
movl %r15d, %edi
movq %rax, %rsi
callq 0xcb5e
movq %rax, (%rbx)
cmpw $0x0, 0xa0ec(%rip)      # 0x19258
jne 0xf529
addb $-0x61, %r14b
cmpb $0x19, %r14b
ja 0xf506
addl $-0x20, %r15d
jmp 0xf516
movq 0x20(%rsp), %rax
movq %rax, 0x18(%rsp)
xorl %edi, %edi
xorl %esi, %esi
xorl %edx, %edx
callq 0xcac5
movq %rax, 0x8(%rsp)
movl $0xffffffff, %r15d      # imm = 0xFFFFFFFF
leaq 0x18(%rsp), %rdi
leaq 0x4(%rsp), %rsi
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
callq 0xf657
movl %eax, %r13d
cmpw $0x0, 0x4(%rsp)
setne %al
cmpb $0x5e, %r13b
sete %cl
andb %al, %cl
cmpb $0x1, %cl
jne 0xf1f1
leaq 0x18(%rsp), %rdi
leaq 0x4(%rsp), %rsi
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
callq 0xf657
movl %eax, %r13d
xorl %r15d, %r15d
movl 0xa064(%rip), %r14d     # 0x1925c
testq %r14, %r14
je 0xf20d
leaq (%r14,%r14), %rdx
leaq 0x50(%rsp), %rdi
xorl %esi, %esi
callq 0x3120
movq %r14, 0x40(%rsp)
movl 0xcae7(%rip), %r14d     # 0x1bd00
testl %r14d, %r14d
sete %al
jne 0xf3b5
movl %r15d, 0x14(%rsp)
movzwl 0x4(%rsp), %ecx
testw %cx, %cx
je 0xf23f
cmpb $0x5d, %r13b
jne 0xf24f
jmp 0xf3b5
movq 0x18(%rsp), %rdx
movb (%rdx), %dl
orb %r13b, %dl
je 0xf3b5
testw %cx, %cx
je 0xf267
cmpb $0x2d, %r13b
jne 0xf275
movl %r14d, %r15d
movb $0x1, %r14b
xorl %ebp, %ebp
xorl %r12d, %r12d
jmp 0xf28b
movl %r14d, %r15d
movb $0x1, %r12b
xorl %r14d, %r14d
movl %r13d, %ebp
jmp 0xf28b
movl $0x7, 0xca81(%rip)      # 0x1bd00
movb $0x1, %r12b
movl $0x7, %r15d
xorl %r14d, %r14d
leaq 0x18(%rsp), %rdi
leaq 0x4(%rsp), %rsi
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
callq 0xf657
movl %eax, %r13d
cmpw $0x0, 0x4(%rsp)
je 0xf2ca
cmpb $0x2d, %r13b
setne %al
orb %al, %r14b
je 0xf2d6
cmpb $0x5d, %r13b
jne 0xf36a
movl %r15d, %r14d
movl %ebp, %ecx
jmp 0xf37c
testb %r12b, %r12b
je 0xf34b
movl %ebp, %ecx
jmp 0xf365
leaq 0x18(%rsp), %rdi
leaq 0x4(%rsp), %rsi
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
callq 0xf657
movl %eax, %r13d
movzwl 0x4(%rsp), %eax
testw %ax, %ax
setne %dl
cmpb $0x5d, %r13b
sete %sil
movb $-0x1, %cl
testb %sil, %dl
movl %r15d, %r14d
jne 0xf37c
testw %ax, %ax
sete %al
cmpb %bpl, %r13b
seta %cl
testb %al, %cl
movl 0x14(%rsp), %r15d
jne 0xf32f
movl $0x8, 0xc9d7(%rip)      # 0x1bd00
movl $0x8, %r14d
leaq 0x18(%rsp), %rdi
leaq 0x4(%rsp), %rsi
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
callq 0xf657
movl %r13d, %ecx
movl %eax, %r13d
jmp 0xf381
leaq 0x18(%rsp), %rdi
leaq 0x4(%rsp), %rsi
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
callq 0xf657
movl %r13d, %ecx
movl %eax, %r13d
movl %r15d, %r14d
jmp 0xf37c
movl $0x7, 0xc98c(%rip)      # 0x1bd00
movl $0x7, %r14d
xorl %ecx, %ecx
movl 0x14(%rsp), %r15d
cmpb %cl, %bpl
ja 0xf3a9
movzbl %bpl, %eax
leaq (%rsp,%rax,2), %rdi
addq $0x50, %rdi
movzbl %cl, %ecx
subl %eax, %ecx
leaq 0x2(,%rcx,2), %rdx
movl $0xff, %esi
callq 0x3120
testl %r14d, %r14d
sete %al
je 0xf22a
movq 0x18(%rsp), %r12
testb $0x1, %al
je 0xf3d4
cmpb $0x0, (%r12)
jne 0xf3d4
testb %r13b, %r13b
jne 0xf3d4
movl $0x5, 0xc92c(%rip)      # 0x1bd00
cmpq $0x0, 0x40(%rsp)
leaq 0x20(%rsp), %rbp
je 0xf467
movq 0x8(%rsp), %r13
xorl %r14d, %r14d
movswl 0x50(%rsp,%r14,2), %eax
cmpl %eax, %r15d
jne 0xf413
movq (%rbx), %rdx
movl %r14d, %edi
movq %r13, %rsi
callq 0xcb5e
movq %rax, (%rbx)
cmpw $0x0, 0x9e47(%rip)      # 0x19258
je 0xf423
incq %r14
movl 0x9e40(%rip), %eax      # 0x1925c
cmpq %rax, %r14
jne 0xf3ed
jmp 0xf467
leal -0x61(%r14), %ecx
cmpl $0x19, %ecx
ja 0xf435
cmpw $0x0, 0x10(%rsp,%r14,2)
je 0xf453
leal -0x41(%r14), %ecx
cmpl $0x19, %ecx
ja 0xf413
cmpw $0x0, 0x90(%rsp,%r14,2)
jne 0xf413
movq %r14, %rdi
orq $0x20, %rdi
jmp 0xf457
leaq -0x20(%r14), %rdi
movq %r13, %rsi
movq %rax, %rdx
callq 0xcb5e
movq %rax, (%rbx)
jmp 0xf413
movq %r12, 0x20(%rsp)
jmp 0xf529
movq 0x20(%rsp), %rsi
movq %rbx, %rdi
leaq 0x8(%rsp), %rdx
callq 0xcefb
movq %rax, 0x20(%rsp)
movq %rbp, %rdi
leaq 0x6(%rsp), %rsi
xorl %edx, %edx
callq 0xf657
cmpw $0x0, 0x6(%rsp)
sete %cl
cmpb $0x29, %al
setne %al
orb %cl, %al
cmpb $0x1, %al
jne 0xf529
cmpl $0x0, 0xc84e(%rip)      # 0x1bd00
jne 0xf529
movl $0x3, 0xc842(%rip)      # 0x1bd00
jmp 0xf529
movsbl %r14b, %r14d
xorl %edi, %edi
xorl %esi, %esi
xorl %edx, %edx
callq 0xcac5
movq %rax, 0x8(%rsp)
movq (%rbx), %rdx
movl %r14d, %edi
movq %rax, %rsi
callq 0xcb5e
movq %rax, (%rbx)
movl $0x1, 0xc811(%rip)      # 0x1bd00
jmp 0xf529
cmpl $0x0, 0xc808(%rip)      # 0x1bd00
jne 0xf529
movl $0x2, 0xc7fc(%rip)      # 0x1bd00
jmp 0xf529
movb (%r13), %cl
addb $-0x41, %cl
cmpb $0x19, %cl
ja 0xf529
addl $0x20, %r15d
movq 0x8(%rsp), %rsi
movl %r15d, %edi
movq %rax, %rdx
callq 0xcb5e
movq %rax, (%rbx)
movq 0x20(%rsp), %r13
movq %r13, 0x30(%rsp)
leaq 0x30(%rsp), %rdi
leaq 0x50(%rsp), %rsi
xorl %edx, %edx
callq 0xf657
cmpw $0x0, 0x50(%rsp)
je 0xf5f3
movzbl %al, %ecx
cmpl $0x2a, %ecx
jg 0xf584
testl %ecx, %ecx
je 0xf5c5
cmpl $0x2a, %ecx
jne 0xf5ac
movq 0x30(%rsp), %r13
movq 0x8(%rsp), %r14
movq 0x8(%r14), %rdx
xorl %edi, %edi
movq %rbx, %rsi
callq 0xcb5e
movq %rax, 0x8(%r14)
movq %rbx, 0x8(%rsp)
jmp 0xf5f3
cmpl $0x3f, %ecx
je 0xf5da
cmpl $0x2b, %ecx
jne 0xf5ac
movq 0x30(%rsp), %r13
movq 0x8(%rsp), %r14
movq 0x8(%r14), %rdx
xorl %edi, %edi
movq %rbx, %rsi
callq 0xcb5e
movq %rax, 0x8(%r14)
jmp 0xf5f3
movsbl %al, %esi
movl $0xc, %edx
leaq 0x3aff(%rip), %rdi      # 0x130ba
callq 0x3140
testq %rax, %rax
jne 0xf5f3
cmpl $0x0, 0xc734(%rip)      # 0x1bd00
jne 0xf5f3
movl $0x1, 0xc728(%rip)      # 0x1bd00
jmp 0xf5f3
movq 0x30(%rsp), %r13
movq 0x8(%rsp), %rsi
movq 0x8(%rbx), %rdx
xorl %edi, %edi
callq 0xcb5e
movq %rax, 0x8(%rbx)
movq %r13, 0x48(%rsp)
movq 0x8(%rsp), %rbx
leaq 0x48(%rsp), %rdi
leaq 0x2e(%rsp), %rsi
xorl %edx, %edx
callq 0xf657
cmpl $0x0, 0xc6eb(%rip)      # 0x1bd00
jne 0xf63a
cmpb $0x0, (%r13)
je 0xf63a
cmpw $0x0, 0x2e(%rsp)
je 0xf094
cmpb $0x7c, %al
je 0xf63a
movzbl %al, %eax
cmpl $0x29, %eax
jne 0xf094
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