	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function store_match
_store_match:                           ## @store_match
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r15d
	movq	%rsi, %r14
	movq	%rdi, %rbx
	cmpl	$2, %edx
	jl	LBB0_3
## %bb.1:
	movl	(%rbx), %ecx
	movl	4(%rbx), %esi
	cmpl	%esi, %ecx
	jge	LBB0_5
## %bb.2:
	movq	24(%rbx), %rax
	jmp	LBB0_7
LBB0_3:
	xorl	%edi, %edi
	cmpl	$1, %r15d
	sete	%dil
	callq	_assert
	movl	8(%rbx), %ecx
	movl	12(%rbx), %esi
	cmpl	%esi, %ecx
	jge	LBB0_8
## %bb.4:
	movq	16(%rbx), %rax
	jmp	LBB0_10
LBB0_5:
	leal	(%rsi,%rsi), %eax
	movl	%eax, 4(%rbx)
	movq	24(%rbx), %rdi
	shll	$5, %esi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_realloc
	testq	%rax, %rax
	je	LBB0_14
## %bb.6:
	movq	%rax, 24(%rbx)
	movl	(%rbx), %ecx
LBB0_7:
	leal	(%rcx,%rcx), %edx
	movslq	%edx, %rdx
	movq	%r14, (%rax,%rdx,8)
	movl	%r15d, %eax
	addq	%r14, %rax
	decq	%rax
	movq	24(%rbx), %rdx
	leal	(%rcx,%rcx), %esi
	incl	%esi
	movslq	%esi, %rsi
	movq	%rax, (%rdx,%rsi,8)
	incl	%ecx
	movl	%ecx, (%rbx)
	jmp	LBB0_11
LBB0_8:
	leal	(%rsi,%rsi), %eax
	movl	%eax, 12(%rbx)
	movq	16(%rbx), %rdi
	shll	$4, %esi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_realloc
	testq	%rax, %rax
	je	LBB0_14
## %bb.9:
	movq	%rax, 16(%rbx)
	movl	8(%rbx), %ecx
LBB0_10:
	leal	1(%rcx), %edx
	movl	%edx, 8(%rbx)
	movslq	%ecx, %rcx
	movq	%r14, (%rax,%rcx,8)
LBB0_11:
	movl	$1, %eax
LBB0_12:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_14:
	xorl	%eax, %eax
	jmp	LBB0_12
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_store_match
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function store_match
_store_match:                           ; @store_match
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x21, x2
	mov	x20, x1
	mov	x19, x0
	cmp	w2, #2
	b.lt	LBB0_3
; %bb.1:
	ldp	w8, w9, [x19]
	cmp	w8, w9
	b.ge	LBB0_5
; %bb.2:
	ldr	x0, [x19, #24]
	b	LBB0_7
LBB0_3:
	cmp	w21, #1
	cset	w0, eq
	bl	_assert
	ldp	w8, w9, [x19, #8]
	cmp	w8, w9
	b.ge	LBB0_8
; %bb.4:
	ldr	x0, [x19, #16]
	b	LBB0_10
LBB0_5:
	lsl	w8, w9, #1
	str	w8, [x19, #4]
	ldr	x0, [x19, #24]
	lsl	w1, w9, #5
	bl	_realloc
	cbz	x0, LBB0_12
; %bb.6:
	str	x0, [x19, #24]
	ldr	w8, [x19]
LBB0_7:
	lsl	w9, w8, #1
	str	x20, [x0, w9, sxtw #3]
	add	x9, x20, w21, uxtw
	sub	x9, x9, #1
	ldr	x10, [x19, #24]
	add	x10, x10, w8, sxtw #4
	str	x9, [x10, #8]
	add	w8, w8, #1
	str	w8, [x19]
	b	LBB0_11
LBB0_8:
	lsl	w8, w9, #1
	str	w8, [x19, #12]
	ldr	x0, [x19, #16]
	lsl	w1, w9, #4
	bl	_realloc
	cbz	x0, LBB0_12
; %bb.9:
	str	x0, [x19, #16]
	ldr	w8, [x19, #8]
LBB0_10:
	add	w9, w8, #1
	str	w9, [x19, #8]
	str	x20, [x0, w8, sxtw #3]
LBB0_11:
	mov	w0, #1
LBB0_12:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_store_match
.subsections_via_symbols
