	.file	"extr_xpatience.c_walk_common_sequence.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	walk_common_sequence, @function
walk_common_sequence:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	r15d, r8d
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14, rsi
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13d, edx
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 72
	.cfi_def_cfa_offset 128
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 56[rsp], rax
	xor	eax, eax
	lea	eax, [rdx+rcx]
	mov	DWORD PTR 16[rsp], eax
	lea	eax, [r8+r9]
	mov	DWORD PTR 20[rsp], eax
	lea	rax, 32[rsp]
	mov	QWORD PTR 24[rsp], rax
	.p2align 4,,10
	.p2align 3
.L2:
	test	r14, r14
	je	.L3
	mov	ebp, DWORD PTR [r14]
	mov	ebx, DWORD PTR 4[r14]
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L18:
	mov	ebx, edx
	mov	ebp, ecx
.L5:
	cmp	r13d, ebp
	setl	al
	cmp	r15d, ebx
	setl	cl
	mov	edx, ecx
	test	al, al
	je	.L21
	test	cl, cl
	je	.L4
	lea	ecx, -1[rbp]
	lea	edx, -1[rbx]
	mov	rdi, r12
	mov	esi, ecx
	mov	DWORD PTR 12[rsp], edx
	mov	DWORD PTR 8[rsp], ecx
	call	match@PLT
	mov	ecx, DWORD PTR 8[rsp]
	mov	edx, DWORD PTR 12[rsp]
	test	rax, rax
	jne	.L18
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L9:
	add	r13d, 1
	add	r15d, 1
	cmp	r13d, ebp
	setl	al
	cmp	r15d, ebx
	setl	dl
	test	al, al
	je	.L21
	test	dl, dl
	je	.L4
.L7:
	mov	edx, r15d
	mov	esi, r13d
	mov	rdi, r12
	call	match@PLT
	test	rax, rax
	jne	.L9
.L10:
	mov	rdi, QWORD PTR 24[rsp]
	mov	edx, 16
	xor	esi, esi
	sub	ebx, r15d
	call	memset@PLT
	push	rbx
	.cfi_def_cfa_offset 136
	mov	edx, DWORD PTR 4[r12]
	mov	r9d, ebp
	push	r15
	.cfi_def_cfa_offset 144
	mov	ecx, DWORD PTR [r12]
	sub	r9d, r13d
	mov	r8d, r13d
	mov	esi, DWORD PTR 8[r12]
	mov	edi, DWORD PTR 12[r12]
	call	patience_diff@PLT
	pop	rdx
	.cfi_def_cfa_offset 136
	pop	rcx
	.cfi_def_cfa_offset 128
	test	rax, rax
	jne	.L54
	test	r14, r14
	je	.L20
.L56:
	mov	eax, DWORD PTR [r14]
	mov	edx, DWORD PTR 4[r14]
	jmp	.L16
	.p2align 4,,10
	.p2align 3
.L55:
	mov	eax, DWORD PTR [r14]
	cmp	eax, r13d
	jne	.L2
	mov	edx, DWORD PTR 4[r14]
	cmp	edx, r15d
	jne	.L2
.L16:
	mov	r14, QWORD PTR 8[r14]
	lea	r13d, 1[rax]
	lea	r15d, 1[rdx]
	test	r14, r14
	jne	.L55
.L3:
	mov	ebp, DWORD PTR 16[rsp]
	mov	ebx, DWORD PTR 20[rsp]
	cmp	ebp, r13d
	setg	al
	cmp	ebx, r15d
	setg	cl
	xor	r14d, r14d
	mov	edx, ecx
	test	al, al
	je	.L19
	test	cl, cl
	jne	.L7
.L19:
	mov	ebx, DWORD PTR 20[rsp]
	mov	ebp, DWORD PTR 16[rsp]
	xor	r14d, r14d
	.p2align 4,,10
	.p2align 3
.L4:
	test	al, al
	jne	.L10
.L21:
	test	dl, dl
	jne	.L10
	test	r14, r14
	jne	.L56
.L20:
	xor	eax, eax
.L1:
	mov	rsi, QWORD PTR 56[rsp]
	xor	rsi, QWORD PTR fs:40
	jne	.L57
	add	rsp, 72
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
.L54:
	.cfi_restore_state
	mov	eax, -1
	jmp	.L1
.L57:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	walk_common_sequence, .-walk_common_sequence
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_xpatience.c_walk_common_sequence.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	walk_common_sequence, %function
walk_common_sequence:
	@ args = 8, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r4, r2
	mov	r9, r0
	mov	r6, r1
	sub	sp, sp, #28
	ldr	r5, [sp, #64]
	ldr	r10, [sp, #68]
	add	r3, r2, r3
	str	r3, [sp, #16]
	add	r3, r5, r10
	str	r3, [sp, #20]
.L2:
	cmp	r6, #0
	beq	.L3
	ldm	r6, {r7, r8}
	b	.L5
.L36:
	mov	r2, fp
	mov	r1, r10
	mov	r0, r9
	bl	match
	cmp	r0, #0
	beq	.L7
	mov	r8, fp
	mov	r7, r10
.L5:
	cmp	r4, r7
	movge	r0, #0
	movlt	r0, #1
	cmp	r5, r8
	movge	r3, #0
	movlt	r3, #1
	tst	r0, r3
	sub	r10, r7, #1
	sub	fp, r8, #1
	bne	.L36
.L4:
	orrs	r3, r0, r3
	beq	.L12
.L9:
	sub	r8, r8, r5
	sub	r7, r7, r4
	str	r8, [sp, #12]
	str	r7, [sp, #4]
	str	r5, [sp, #8]
	str	r4, [sp]
	ldr	r3, [r9]
	ldr	r2, [r9, #4]
	ldr	r1, [r9, #8]
	ldr	r0, [r9, #12]
	bl	patience_diff
	cmp	r0, #0
	bne	.L37
.L12:
	cmp	r6, #0
	beq	.L38
	ldr	r3, [r6]
	ldr	r2, [r6, #4]
	b	.L14
.L39:
	ldr	r3, [r6]
	cmp	r3, r4
	bne	.L2
	ldr	r2, [r6, #4]
	cmp	r2, r5
	bne	.L2
.L14:
	ldr	r6, [r6, #8]
	add	r4, r3, #1
	cmp	r6, #0
	add	r5, r2, #1
	bne	.L39
.L3:
	ldr	r7, [sp, #16]
	ldr	r8, [sp, #20]
	cmp	r7, r4
	movle	r0, #0
	movgt	r0, #1
	cmp	r8, r5
	movle	r3, #0
	movgt	r3, #1
	tst	r0, r3
	mov	r6, #0
	bne	.L7
	ldr	r8, [sp, #20]
	ldr	r7, [sp, #16]
	b	.L4
.L8:
	add	r4, r4, #1
	cmp	r4, r7
	add	r5, r5, #1
	movge	r0, #0
	movlt	r0, #1
	cmp	r5, r8
	movge	r3, #0
	movlt	r3, #1
	tst	r0, r3
	beq	.L4
.L7:
	mov	r2, r5
	mov	r1, r4
	mov	r0, r9
	bl	match
	cmp	r0, #0
	bne	.L8
	b	.L9
.L38:
	mov	r0, r6
	add	sp, sp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L37:
	mvn	r0, #0
	add	sp, sp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
	.size	walk_common_sequence, .-walk_common_sequence
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
