	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function erase_from_pattern_seqs
_erase_from_pattern_seqs:               ## @erase_from_pattern_seqs
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
                                        ## kill: def $esi killed $esi def $rsi
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	movq	%rsi, -72(%rbp)                 ## 8-byte Spill
	testl	%esi, %esi
	jg	LBB0_3
LBB0_1:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.p2align	4, 0x90
LBB0_2:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	leal	-1(%rbx), %r14d
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_prev_insn_in_block
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	cmpl	$1, %ebx
	movl	%r14d, %eax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	jle	LBB0_1
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_7 Depth 2
                                        ##       Child Loop BB0_10 Depth 3
                                        ##       Child Loop BB0_18 Depth 3
                                        ##         Child Loop BB0_23 Depth 4
	movq	_pattern_seqs@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_2
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	_pattern_seqs@GOTPCREL(%rip), %r12
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_7 Depth=2
	movq	8(%r12), %rax
	movq	%rax, (%r15)
	movq	%r12, %rdi
	callq	_free_pattern_seq
	movq	%r15, %r12
LBB0_6:                                 ##   in Loop: Header=BB0_7 Depth=2
	movq	(%r12), %rax
	testq	%rax, %rax
	je	LBB0_2
LBB0_7:                                 ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_10 Depth 3
                                        ##       Child Loop BB0_18 Depth 3
                                        ##         Child Loop BB0_23 Depth 4
	movq	%r12, -64(%rbp)                 ## 8-byte Spill
	movq	(%rax), %r12
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	testq	%r12, %r12
	je	LBB0_12
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=2
	movl	$0, %ebx
	cmpq	-56(%rbp), %r12                 ## 8-byte Folded Reload
	je	LBB0_13
## %bb.9:                               ##   in Loop: Header=BB0_7 Depth=2
	xorl	%ebx, %ebx
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	.p2align	4, 0x90
LBB0_10:                                ##   Parent Loop BB0_3 Depth=1
                                        ##     Parent Loop BB0_7 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movl	%ebx, %r15d
	incl	-44(%rbp)                       ## 4-byte Folded Spill
	movq	%r12, %rdi
	callq	_compute_rtx_cost
	movq	%rax, %rbx
	addl	%r15d, %ebx
	movq	%r12, %rdi
	callq	_prev_insn_in_block
	testq	%rax, %rax
	je	LBB0_13
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=3
	movq	%rax, %r12
	cmpq	-56(%rbp), %rax                 ## 8-byte Folded Reload
	jne	LBB0_10
	jmp	LBB0_13
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_7 Depth=2
	xorl	%ebx, %ebx
LBB0_13:                                ##   in Loop: Header=BB0_7 Depth=2
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	movq	(%r15), %r12
	movq	_seq_call_cost@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	jle	LBB0_5
## %bb.14:                              ##   in Loop: Header=BB0_7 Depth=2
	movq	24(%r12), %rax
	testq	%rax, %rax
	je	LBB0_35
## %bb.15:                              ##   in Loop: Header=BB0_7 Depth=2
	addq	$24, %r12
	jmp	LBB0_18
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_18 Depth=3
	addq	$16, %rdi
	movq	%rdi, %r12
LBB0_17:                                ##   in Loop: Header=BB0_18 Depth=3
	movq	(%r12), %rax
	testq	%rax, %rax
	je	LBB0_34
LBB0_18:                                ##   Parent Loop BB0_3 Depth=1
                                        ##     Parent Loop BB0_7 Depth=2
                                        ## =>    This Loop Header: Depth=3
                                        ##         Child Loop BB0_23 Depth 4
	movq	(%rax), %r13
	xorl	%r15d, %r15d
	testq	%r13, %r13
	je	LBB0_29
## %bb.19:                              ##   in Loop: Header=BB0_18 Depth=3
	cmpq	-56(%rbp), %r13                 ## 8-byte Folded Reload
	je	LBB0_29
## %bb.20:                              ##   in Loop: Header=BB0_18 Depth=3
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_29
## %bb.21:                              ##   in Loop: Header=BB0_18 Depth=3
	cmpl	$0, 8(%rax)
	movl	$0, %ebx
	jle	LBB0_30
## %bb.22:                              ##   in Loop: Header=BB0_18 Depth=3
	xorl	%ebx, %ebx
	movl	$1, %eax
	.p2align	4, 0x90
LBB0_23:                                ##   Parent Loop BB0_3 Depth=1
                                        ##     Parent Loop BB0_7 Depth=2
                                        ##       Parent Loop BB0_18 Depth=3
                                        ## =>      This Inner Loop Header: Depth=4
	movl	%ebx, %r14d
	movl	%eax, %r15d
	movq	%r13, %rdi
	callq	_compute_rtx_cost
	movq	%rax, %rbx
	addl	%r14d, %ebx
	movq	%r13, %rdi
	callq	_prev_insn_in_block
	testq	%rax, %rax
	je	LBB0_30
## %bb.24:                              ##   in Loop: Header=BB0_23 Depth=4
	movq	%rax, %r13
	cmpq	-56(%rbp), %rax                 ## 8-byte Folded Reload
	je	LBB0_30
## %bb.25:                              ##   in Loop: Header=BB0_23 Depth=4
	cmpl	-44(%rbp), %r15d                ## 4-byte Folded Reload
	jae	LBB0_30
## %bb.26:                              ##   in Loop: Header=BB0_23 Depth=4
	movq	(%r12), %rcx
	leal	1(%r15), %eax
	cmpl	8(%rcx), %r15d
	jl	LBB0_23
	jmp	LBB0_30
	.p2align	4, 0x90
LBB0_29:                                ##   in Loop: Header=BB0_18 Depth=3
	xorl	%ebx, %ebx
LBB0_30:                                ##   in Loop: Header=BB0_18 Depth=3
	movq	(%r12), %rdi
	movq	_seq_call_cost@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	jle	LBB0_33
## %bb.31:                              ##   in Loop: Header=BB0_18 Depth=3
	cmpl	8(%rdi), %r15d
	jge	LBB0_16
## %bb.32:                              ##   in Loop: Header=BB0_18 Depth=3
	movl	%ebx, 12(%rdi)
	movl	%r15d, 8(%rdi)
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	movq	$0, 16(%rax)
	jmp	LBB0_16
	.p2align	4, 0x90
LBB0_33:                                ##   in Loop: Header=BB0_18 Depth=3
	movq	16(%rdi), %rax
	movq	%rax, (%r12)
	callq	_free
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	movq	$0, 16(%rax)
	jmp	LBB0_17
	.p2align	4, 0x90
LBB0_34:                                ##   in Loop: Header=BB0_7 Depth=2
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %r12
LBB0_35:                                ##   in Loop: Header=BB0_7 Depth=2
	addq	$8, %r12
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.comm	_pattern_seqs,8,3               ## @pattern_seqs
	.comm	_seq_call_cost,4,2              ## @seq_call_cost
	.no_dead_strip	_erase_from_pattern_seqs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function erase_from_pattern_seqs
_erase_from_pattern_seqs:               ; @erase_from_pattern_seqs
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	cmp	w1, #1
	b.lt	LBB0_28
; %bb.1:
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x22, _pattern_seqs@GOTPAGE
Lloh1:
	ldr	x22, [x22, _pattern_seqs@GOTPAGEOFF]
Lloh2:
	adrp	x23, _seq_call_cost@GOTPAGE
Lloh3:
	ldr	x23, [x23, _seq_call_cost@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x20
	bl	_prev_insn_in_block
	mov	x20, x0
	subs	w19, w19, #1
	b.le	LBB0_28
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_6 Depth 2
                                        ;       Child Loop BB0_9 Depth 3
                                        ;       Child Loop BB0_14 Depth 3
                                        ;         Child Loop BB0_17 Depth 4
	ldr	x8, [x22]
	cbz	x8, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x24, x22
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=2
	ldr	x8, [x0, #8]
	str	x8, [x24]
	bl	_free_pattern_seq
	ldr	x8, [x24]
	cbz	x8, LBB0_2
LBB0_6:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_9 Depth 3
                                        ;       Child Loop BB0_14 Depth 3
                                        ;         Child Loop BB0_17 Depth 4
	ldr	x21, [x8]
	cmp	x21, #0
	ccmp	x21, x20, #4, ne
	b.ne	LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=2
	mov	w25, #0
	mov	w26, #0
	b	LBB0_11
LBB0_8:                                 ;   in Loop: Header=BB0_6 Depth=2
	mov	w26, #0
	mov	w25, #0
LBB0_9:                                 ;   Parent Loop BB0_3 Depth=1
                                        ;     Parent Loop BB0_6 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	add	w25, w25, #1
	mov	x0, x21
	bl	_compute_rtx_cost
	add	w26, w26, w0
	mov	x0, x21
	bl	_prev_insn_in_block
	cbz	x0, LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=3
	mov	x21, x0
	cmp	x0, x20
	b.ne	LBB0_9
LBB0_11:                                ;   in Loop: Header=BB0_6 Depth=2
	ldr	w8, [x23]
	ldr	x0, [x24]
	cmp	w26, w8
	b.le	LBB0_5
; %bb.12:                               ;   in Loop: Header=BB0_6 Depth=2
	mov	x26, x0
	ldr	x8, [x26, #24]!
	cbnz	x8, LBB0_14
	b	LBB0_27
LBB0_13:                                ;   in Loop: Header=BB0_14 Depth=3
	add	x26, x0, #16
	ldr	x8, [x26]
	cbz	x8, LBB0_26
LBB0_14:                                ;   Parent Loop BB0_3 Depth=1
                                        ;     Parent Loop BB0_6 Depth=2
                                        ; =>    This Loop Header: Depth=3
                                        ;         Child Loop BB0_17 Depth 4
	ldr	x21, [x8]
	cmp	x21, #0
	ccmp	x21, x20, #4, ne
	ccmp	w25, #0, #4, ne
	b.eq	LBB0_21
; %bb.15:                               ;   in Loop: Header=BB0_14 Depth=3
	ldr	w8, [x8, #8]
	cmp	w8, #1
	b.lt	LBB0_21
; %bb.16:                               ;   in Loop: Header=BB0_14 Depth=3
	mov	w27, #0
	mov	w8, #1
LBB0_17:                                ;   Parent Loop BB0_3 Depth=1
                                        ;     Parent Loop BB0_6 Depth=2
                                        ;       Parent Loop BB0_14 Depth=3
                                        ; =>      This Inner Loop Header: Depth=4
	mov	x28, x8
	mov	x0, x21
	bl	_compute_rtx_cost
	add	w27, w27, w0
	mov	x0, x21
	bl	_prev_insn_in_block
	cbz	x0, LBB0_22
; %bb.18:                               ;   in Loop: Header=BB0_17 Depth=4
	mov	x21, x0
	cmp	x0, x20
	b.eq	LBB0_22
; %bb.19:                               ;   in Loop: Header=BB0_17 Depth=4
	cmp	w28, w25
	b.hs	LBB0_22
; %bb.20:                               ;   in Loop: Header=BB0_17 Depth=4
	ldr	x8, [x26]
	ldr	w9, [x8, #8]
	add	w8, w28, #1
	cmp	w28, w9
	b.lt	LBB0_17
	b	LBB0_22
LBB0_21:                                ;   in Loop: Header=BB0_14 Depth=3
	mov	w28, #0
	mov	w27, #0
LBB0_22:                                ;   in Loop: Header=BB0_14 Depth=3
	ldr	w8, [x23]
	ldr	x0, [x26]
	cmp	w27, w8
	b.le	LBB0_25
; %bb.23:                               ;   in Loop: Header=BB0_14 Depth=3
	ldr	w8, [x0, #8]
	cmp	w28, w8
	b.ge	LBB0_13
; %bb.24:                               ;   in Loop: Header=BB0_14 Depth=3
	stp	w28, w27, [x0, #8]
	ldr	x8, [x24]
	str	xzr, [x8, #16]
	b	LBB0_13
LBB0_25:                                ;   in Loop: Header=BB0_14 Depth=3
	ldr	x8, [x0, #16]
	str	x8, [x26]
	bl	_free
	ldr	x8, [x24]
	str	xzr, [x8, #16]
	ldr	x8, [x26]
	cbnz	x8, LBB0_14
LBB0_26:                                ;   in Loop: Header=BB0_6 Depth=2
	ldr	x0, [x24]
LBB0_27:                                ;   in Loop: Header=BB0_6 Depth=2
	add	x24, x0, #8
	ldr	x8, [x24]
	cbnz	x8, LBB0_6
	b	LBB0_2
LBB0_28:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_pattern_seqs,8,3               ; @pattern_seqs
	.comm	_seq_call_cost,4,2              ; @seq_call_cost
	.no_dead_strip	_erase_from_pattern_seqs
.subsections_via_symbols
