	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function walk_common_sequence
_walk_common_sequence:                  ## @walk_common_sequence
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
                                        ## kill: def $r8d killed $r8d def $r8
	movl	%edx, %r13d
	movq	%rsi, %r12
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	addl	%edx, %ecx
	movl	%ecx, -68(%rbp)                 ## 4-byte Spill
	movq	%r8, -56(%rbp)                  ## 8-byte Spill
	addl	%r8d, %r9d
	movl	%r9d, -72(%rbp)                 ## 4-byte Spill
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_19:                                ##   in Loop: Header=BB0_1 Depth=1
	movl	(%rax), %r13d
	incl	%r13d
LBB0_24:                                ##   in Loop: Header=BB0_1 Depth=1
	movl	4(%rax), %eax
	incl	%eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
LBB0_1:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_3 Depth 2
                                        ##     Child Loop BB0_11 Depth 2
                                        ##     Child Loop BB0_18 Depth 2
	movl	-68(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, %r15d
	movl	-72(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, %r14d
	movq	%r12, -48(%rbp)                 ## 8-byte Spill
	testq	%r12, %r12
	je	LBB0_6
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %r12d
	movl	4(%rax), %ebx
	.p2align	4, 0x90
LBB0_3:                                 ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	%ebx, %r14d
	movl	%r12d, %r15d
	cmpl	%r13d, %r12d
	jle	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=2
	cmpl	-56(%rbp), %r14d                ## 4-byte Folded Reload
	jle	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=2
	leal	-1(%r15), %r12d
	leal	-1(%r14), %ebx
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movl	%r12d, %esi
	movl	%ebx, %edx
	callq	_match
	testq	%rax, %rax
	jne	LBB0_3
LBB0_6:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	cmpl	%esi, %r14d
	setg	%al
	cmpl	%r13d, %r15d
	setg	%cl
	movq	%r14, %rdx
	jle	LBB0_7
## %bb.8:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpl	%esi, %edx
	movq	%rsi, %r14
	jle	LBB0_9
## %bb.10:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	-48(%rbp), %r12                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_11:                                ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%rdx, %rbx
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movl	%r13d, %esi
	movl	%r14d, %edx
	callq	_match
	testq	%rax, %rax
	je	LBB0_16
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=2
	incl	%r13d
	incl	%r14d
	movq	%rbx, %rdx
	cmpl	%r14d, %edx
	setg	%al
	cmpl	%r13d, %r15d
	setg	%cl
	jle	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_11 Depth=2
	cmpl	%r14d, %edx
	jg	LBB0_11
	jmp	LBB0_14
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	-48(%rbp), %r12                 ## 8-byte Reload
	movq	%rsi, %r14
	jmp	LBB0_14
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	-48(%rbp), %r12                 ## 8-byte Reload
LBB0_14:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	%rdx, %rbx
	testb	%cl, %cl
	jne	LBB0_16
## %bb.15:                              ##   in Loop: Header=BB0_1 Depth=1
	testb	%al, %al
	jne	LBB0_16
## %bb.20:                              ##   in Loop: Header=BB0_1 Depth=1
	testq	%r12, %r12
	jne	LBB0_18
	jmp	LBB0_21
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_1 Depth=1
	leaq	-88(%rbp), %rdi
	xorl	%esi, %esi
	movl	$16, %edx
	callq	_memset
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	12(%rax), %edi
	movl	8(%rax), %esi
	movl	(%rax), %ecx
	movl	4(%rax), %edx
	subl	%r13d, %r15d
	subl	%r14d, %ebx
	movl	%r13d, %r8d
	movl	%r15d, %r9d
	pushq	%rbx
	pushq	%r14
	callq	_patience_diff
	addq	$16, %rsp
	testq	%rax, %rax
	jne	LBB0_25
## %bb.17:                              ##   in Loop: Header=BB0_1 Depth=1
	testq	%r12, %r12
	je	LBB0_25
	.p2align	4, 0x90
LBB0_18:                                ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%r12, %rax
	movq	8(%r12), %r12
	testq	%r12, %r12
	je	LBB0_19
## %bb.22:                              ##   in Loop: Header=BB0_18 Depth=2
	movl	(%rax), %r13d
	incl	%r13d
	cmpl	%r13d, (%r12)
	jne	LBB0_24
## %bb.23:                              ##   in Loop: Header=BB0_18 Depth=2
	movl	4(%rax), %ecx
	incl	%ecx
	cmpl	%ecx, 4(%r12)
	je	LBB0_18
	jmp	LBB0_24
LBB0_25:
	xorl	%ecx, %ecx
	negq	%rax
	sbbl	%ecx, %ecx
	jmp	LBB0_26
LBB0_21:
	xorl	%ecx, %ecx
LBB0_26:
	movl	%ecx, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_walk_common_sequence
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function walk_common_sequence
_walk_common_sequence:                  ; @walk_common_sequence
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x22, x4
	mov	x21, x2
	mov	x20, x1
	mov	x19, x0
	add	w25, w3, w2
	add	w26, w5, w4
	b	LBB0_3
LBB0_1:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	w9, [x8]
	add	w21, w9, #1
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [x8, #4]
	add	w22, w8, #1
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_5 Depth 2
                                        ;     Child Loop BB0_9 Depth 2
                                        ;     Child Loop BB0_16 Depth 2
	mov	x28, x25
	mov	x27, x26
	cbz	x20, LBB0_9
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldp	w23, w24, [x20]
LBB0_5:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x27, x24
	mov	x28, x23
	cmp	w23, w21
	b.le	LBB0_9
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=2
	cmp	w27, w22
	b.le	LBB0_9
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=2
	sub	w23, w28, #1
	sub	w24, w27, #1
	mov	x0, x19
	mov	x1, x23
	mov	x2, x24
	bl	_match
	cbnz	x0, LBB0_5
	b	LBB0_9
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=2
	add	w21, w21, #1
	add	w22, w22, #1
LBB0_9:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	cmp	w27, w22
	cset	w8, gt
	cmp	w28, w21
	cset	w9, gt
	b.le	LBB0_12
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=2
	cmp	w27, w22
	b.le	LBB0_12
; %bb.11:                               ;   in Loop: Header=BB0_9 Depth=2
	mov	x0, x19
	mov	x1, x21
	mov	x2, x22
	bl	_match
	cbnz	x0, LBB0_8
	b	LBB0_15
LBB0_12:                                ;   in Loop: Header=BB0_3 Depth=1
	tbnz	w9, #0, LBB0_15
; %bb.13:                               ;   in Loop: Header=BB0_3 Depth=1
	cbnz	w8, LBB0_15
; %bb.14:                               ;   in Loop: Header=BB0_3 Depth=1
	cbnz	x20, LBB0_16
	b	LBB0_20
LBB0_15:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, sp
	mov	w1, #0
	mov	w2, #16
	bl	_memset
	ldp	w1, w0, [x19, #8]
	sub	w5, w28, w21
	sub	w7, w27, w22
	ldp	w3, w2, [x19]
	mov	x4, x21
	mov	x6, x22
	bl	_patience_diff
	cmp	x0, #0
	ccmp	x20, #0, #4, eq
	b.eq	LBB0_19
LBB0_16:                                ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x8, x20
	ldr	x20, [x20, #8]
	cbz	x20, LBB0_1
; %bb.17:                               ;   in Loop: Header=BB0_16 Depth=2
	ldr	w9, [x20]
	ldr	w10, [x8]
	add	w21, w10, #1
	cmp	w9, w21
	b.ne	LBB0_2
; %bb.18:                               ;   in Loop: Header=BB0_16 Depth=2
	ldr	w9, [x20, #4]
	ldr	w10, [x8, #4]
	add	w10, w10, #1
	cmp	w9, w10
	b.eq	LBB0_16
	b	LBB0_2
LBB0_19:
	cmp	x0, #0
	csetm	w0, ne
	b	LBB0_21
LBB0_20:
	mov	w0, #0
LBB0_21:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_walk_common_sequence
.subsections_via_symbols
