	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function matching_vector
_matching_vector:                       ## @matching_vector
	.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
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_order@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
	movslq	%edi, %rax
	movslq	(%r14,%rax,4), %r9
	movq	_nstates@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	addl	%ecx, %ecx
	movl	$-1, %eax
	cmpl	%ecx, %r9d
	jge	LBB0_12
## %bb.1:
	testl	%edi, %edi
	jle	LBB0_12
## %bb.2:
	movq	_tally@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movslq	(%rax,%r9,4), %r13
	movq	_width@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rax
	movl	(%rax,%r9,4), %edx
	movq	_tos@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movq	_froms@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rbx
	movl	%edi, %r15d
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_4 Depth=1
	testl	%r15d, %r15d
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	jle	LBB0_13
LBB0_4:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_8 Depth 2
	movl	-4(%r14,%r15,4), %r12d
	movslq	%r12d, %rdi
	cmpl	%edx, (%rax,%rdi,4)
	jne	LBB0_13
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movl	(%rcx,%rdi,4), %ecx
	cmpl	%r13d, %ecx
	jne	LBB0_14
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	testl	%r13d, %r13d
	jle	LBB0_14
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=1
	decq	%r15
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	(%rcx,%rdi,8), %r11
	movq	(%rcx,%r9,8), %rsi
	xorl	%r10d, %r10d
	.p2align	4, 0x90
LBB0_8:                                 ##   Parent Loop BB0_4 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	(%r11,%r10,8), %r8
	cmpq	(%rsi,%r10,8), %r8
	jne	LBB0_3
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=2
	movq	(%rbx,%rdi,8), %rdx
	movq	(%rdx,%r10,8), %rdx
	movq	(%rbx,%r9,8), %rcx
	cmpq	(%rcx,%r10,8), %rdx
	jne	LBB0_3
## %bb.10:                              ##   in Loop: Header=BB0_8 Depth=2
	incq	%r10
	cmpq	%r13, %r10
	jl	LBB0_8
LBB0_11:
	movl	%r12d, %eax
LBB0_12:
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_13:
	movl	$-1, %eax
	jmp	LBB0_12
LBB0_14:
	cmpl	%r13d, %ecx
	movl	$-1, %eax
	cmovnel	%eax, %r12d
	jmp	LBB0_11
	.cfi_endproc
                                        ## -- End function
	.comm	_order,8,3                      ## @order
	.comm	_nstates,4,2                    ## @nstates
	.comm	_tally,8,3                      ## @tally
	.comm	_width,8,3                      ## @width
	.comm	_tos,8,3                        ## @tos
	.comm	_froms,8,3                      ## @froms
	.no_dead_strip	_matching_vector
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function matching_vector
_matching_vector:                       ; @matching_vector
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _order@GOTPAGE
Lloh1:
	ldr	x8, [x8, _order@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldrsw	x9, [x8, w0, sxtw #2]
Lloh3:
	adrp	x10, _nstates@GOTPAGE
Lloh4:
	ldr	x10, [x10, _nstates@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	cmp	w9, w10, lsl #1
	b.ge	LBB0_11
; %bb.1:
	cmp	w0, #1
	b.lt	LBB0_11
; %bb.2:
Lloh6:
	adrp	x10, _tally@GOTPAGE
Lloh7:
	ldr	x10, [x10, _tally@GOTPAGEOFF]
Lloh8:
	ldr	x10, [x10]
	lsl	x13, x9, #2
	ldrsw	x11, [x10, x13]
Lloh9:
	adrp	x12, _width@GOTPAGE
Lloh10:
	ldr	x12, [x12, _width@GOTPAGEOFF]
Lloh11:
	ldr	x12, [x12]
	ldr	w13, [x12, x13]
Lloh12:
	adrp	x14, _tos@GOTPAGE
Lloh13:
	ldr	x14, [x14, _tos@GOTPAGEOFF]
Lloh14:
	ldr	x14, [x14]
Lloh15:
	adrp	x15, _froms@GOTPAGE
Lloh16:
	ldr	x15, [x15, _froms@GOTPAGEOFF]
Lloh17:
	ldr	x15, [x15]
	mov	w16, w0
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	w0, #-1
	cmp	w16, #0
	b.le	LBB0_10
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_7 Depth 2
	sub	x16, x16, #1
	ldr	w0, [x8, x16, lsl #2]
	ldr	w17, [x12, w0, sxtw #2]
	cmp	w17, w13
	b.ne	LBB0_11
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	sxtw	x17, w0
	ldr	w1, [x10, x17, lsl #2]
	cmp	w1, w11
	ccmp	w11, #1, #8, eq
	b.lt	LBB0_12
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x1, #0
	ldr	x2, [x14, x17, lsl #3]
	ldr	x3, [x14, x9, lsl #3]
LBB0_7:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	lsl	x4, x1, #3
	ldr	x5, [x2, x4]
	ldr	x6, [x3, x4]
	cmp	x5, x6
	b.ne	LBB0_3
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=2
	ldr	x5, [x15, x17, lsl #3]
	ldr	x5, [x5, x4]
	ldr	x6, [x15, x9, lsl #3]
	ldr	x4, [x6, x4]
	cmp	x5, x4
	b.ne	LBB0_3
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=2
	add	x1, x1, #1
	cmp	x1, x11
	b.lt	LBB0_7
LBB0_10:
                                        ; kill: def $w0 killed $w0 killed $x0
	ret
LBB0_11:
	mov	w0, #-1
                                        ; kill: def $w0 killed $w0 killed $x0
	ret
LBB0_12:
	cmp	w1, w11
	csinv	w0, w0, wzr, eq
                                        ; kill: def $w0 killed $w0 killed $x0
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_order,8,3                      ; @order
	.comm	_nstates,4,2                    ; @nstates
	.comm	_tally,8,3                      ; @tally
	.comm	_width,8,3                      ; @width
	.comm	_tos,8,3                        ; @tos
	.comm	_froms,8,3                      ; @froms
	.no_dead_strip	_matching_vector
.subsections_via_symbols
