	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_MatchFinder_Create             ## -- Begin function MatchFinder_Create
	.p2align	4, 0x90
_MatchFinder_Create:                    ## @MatchFinder_Create
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %r14
                                        ## kill: def $r8d killed $r8d def $r8
                                        ## kill: def $edx killed $edx def $rdx
	movq	%rdi, %rbx
	movq	_kMaxHistorySize@GOTPCREL(%rip), %rax
	cmpl	%esi, (%rax)
	jl	LBB0_13
## %bb.1:
	movl	%ecx, %r13d
	movl	%esi, %r15d
	movl	%esi, %eax
	sarl	$2, %eax
	addl	%ecx, %r8d
	leal	(%r8,%rdx), %ecx
	movl	%ecx, %edi
	shrl	$31, %edi
	addl	%ecx, %edi
	sarl	%edi
	addl	$524288, %eax                   ## imm = 0x80000
	cmpl	$-2147483648, %esi              ## imm = 0x80000000
	movl	$-1073217536, %esi              ## imm = 0xC0080000
	cmovnel	%eax, %esi
	addl	%edi, %esi
	leal	(%r15,%rdx), %eax
	incl	%eax
	movl	%eax, (%rbx)
	movl	%r8d, 4(%rbx)
	movq	%rbx, %rdi
	movq	%r14, %rdx
	callq	_LzInWindow_Create
	testq	%rax, %rax
	je	LBB0_13
## %bb.2:
	leal	1(%r15), %r12d
	movl	%r13d, 8(%rbx)
	movq	$0, 56(%rbx)
	movl	12(%rbx), %ecx
	cmpl	$2, %ecx
	jne	LBB0_4
## %bb.3:
	movl	$65535, 16(%rbx)                ## imm = 0xFFFF
	movl	$65536, %edx                    ## imm = 0x10000
	jmp	LBB0_8
LBB0_4:
	leal	-1(%r15), %eax
	movl	%eax, %edx
	sarl	%edx
	orl	%eax, %edx
	movl	%edx, %eax
	sarl	$2, %eax
	orl	%edx, %eax
	movl	%eax, %edx
	sarl	$4, %edx
	orl	%eax, %edx
	movl	%edx, %eax
	sarl	$9, %eax
	sarl	%edx
	orl	%eax, %edx
	orl	$65535, %edx                    ## imm = 0xFFFF
	movl	%edx, %eax
	shrl	%eax
	cmpl	$3, %ecx
	movl	$16777215, %esi                 ## imm = 0xFFFFFF
	cmovnel	%eax, %esi
	cmpl	$16777217, %edx                 ## imm = 0x1000001
	cmovll	%edx, %esi
	leal	1(%rsi), %edx
	movl	%esi, 16(%rbx)
	cmpl	$3, %ecx
	jl	LBB0_8
## %bb.5:
	movq	_kHash2Size@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 56(%rbx)
	je	LBB0_9
## %bb.6:
	movq	_kHash3Size@GOTPCREL(%rip), %rsi
	addq	(%rsi), %rax
	movq	%rax, 56(%rbx)
	cmpl	$5, %ecx
	jb	LBB0_9
## %bb.7:
	movq	_kHash4Size@GOTPCREL(%rip), %rcx
	addq	(%rcx), %rax
	movq	%rax, 56(%rbx)
	jmp	LBB0_9
LBB0_8:
	xorl	%eax, %eax
LBB0_9:
	addl	%edx, %eax
	movl	24(%rbx), %edx
	movl	%r15d, 28(%rbx)
	movl	$1, %r15d
	addl	20(%rbx), %edx
	movl	%eax, 20(%rbx)
	movl	%r12d, 32(%rbx)
	cmpq	$0, 48(%rbx)
	setne	%cl
	shll	%cl, %r12d
	movl	%r12d, 24(%rbx)
	addl	%eax, %r12d
	cmpl	$0, 36(%rbx)
	je	LBB0_11
## %bb.10:
	cmpl	%r12d, %edx
	je	LBB0_14
LBB0_11:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_MatchFinder_FreeThisClassMemory
	movl	%r12d, %edi
	movq	%r14, %rsi
	callq	_AllocRefs
	movl	%eax, 36(%rbx)
	testl	%eax, %eax
	je	LBB0_13
## %bb.12:
	movslq	20(%rbx), %rcx
	cltq
	addq	%rcx, %rax
	movq	%rax, 40(%rbx)
	jmp	LBB0_14
LBB0_13:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_MatchFinder_Free
	xorl	%r15d, %r15d
LBB0_14:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_kMaxHistorySize,4,2            ## @kMaxHistorySize
	.comm	_kHash2Size,8,3                 ## @kHash2Size
	.comm	_kHash3Size,8,3                 ## @kHash3Size
	.comm	_kHash4Size,8,3                 ## @kHash4Size
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_MatchFinder_Create             ; -- Begin function MatchFinder_Create
	.p2align	2
_MatchFinder_Create:                    ; @MatchFinder_Create
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x5
	mov	x20, x0
Lloh0:
	adrp	x8, _kMaxHistorySize@GOTPAGE
Lloh1:
	ldr	x8, [x8, _kMaxHistorySize@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w1
	b.lt	LBB0_14
; %bb.1:
	mov	x22, x3
	mov	x21, x1
	asr	w8, w1, #2
	add	w9, w4, w3
	add	w10, w9, w2
	cmp	w10, #0
	cinc	w10, w10, lt
	add	w8, w8, #128, lsl #12           ; =524288
	mov	w11, #-2147483648
	mov	w12, #-1073217536
	cmp	w1, w11
	csel	w8, w12, w8, eq
	add	w1, w8, w10, asr #1
	add	w23, w21, #1
	add	w8, w23, w2
	stp	w8, w9, [x20]
	mov	x0, x20
	mov	x2, x19
	bl	_LzInWindow_Create
	cbz	x0, LBB0_14
; %bb.2:
	str	w22, [x20, #8]
	str	xzr, [x20, #56]
	ldr	w10, [x20, #12]
	cmp	w10, #2
	b.ne	LBB0_4
; %bb.3:
	mov	x9, #0
	mov	w8, #65535
	str	w8, [x20, #16]
	mov	w8, #65536
	b	LBB0_9
LBB0_4:
	sub	w8, w21, #1
	orr	w8, w8, w8, asr #1
	orr	w8, w8, w8, asr #2
	orr	w8, w8, w8, asr #4
	asr	w9, w8, #1
	orr	w8, w9, w8, asr #9
	orr	w8, w8, #0xffff
	lsr	w9, w8, #1
	mov	w11, #16777215
	cmp	w10, #3
	csel	w9, w11, w9, eq
	mov	w11, #16777216
	cmp	w8, w11
	csel	w8, w9, w8, gt
	str	w8, [x20, #16]
	add	w8, w8, #1
	cmp	w10, #3
	b.lt	LBB0_8
; %bb.5:
Lloh3:
	adrp	x9, _kHash2Size@GOTPAGE
Lloh4:
	ldr	x9, [x9, _kHash2Size@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	str	x9, [x20, #56]
	cmp	w10, #3
	b.eq	LBB0_9
; %bb.6:
Lloh6:
	adrp	x11, _kHash3Size@GOTPAGE
Lloh7:
	ldr	x11, [x11, _kHash3Size@GOTPAGEOFF]
Lloh8:
	ldr	x11, [x11]
	add	x9, x9, x11
	str	x9, [x20, #56]
	cmp	w10, #5
	b.lo	LBB0_9
; %bb.7:
Lloh9:
	adrp	x10, _kHash4Size@GOTPAGE
Lloh10:
	ldr	x10, [x10, _kHash4Size@GOTPAGEOFF]
Lloh11:
	ldr	x10, [x10]
	add	x9, x9, x10
	str	x9, [x20, #56]
	b	LBB0_9
LBB0_8:
	mov	x9, #0
LBB0_9:
	ldp	w10, w11, [x20, #20]
	stp	w21, w23, [x20, #28]
	ldr	x12, [x20, #48]
	cmp	x12, #0
	cset	w12, ne
	lsl	w12, w23, w12
	add	w8, w8, w9
	add	w21, w12, w8
	stp	w8, w12, [x20, #20]
	ldr	w8, [x20, #36]
	cbz	w8, LBB0_12
; %bb.10:
	add	w8, w11, w10
	cmp	w8, w21
	b.ne	LBB0_12
; %bb.11:
	mov	w0, #1
	b	LBB0_15
LBB0_12:
	mov	x0, x20
	mov	x1, x19
	bl	_MatchFinder_FreeThisClassMemory
	mov	x0, x21
	mov	x1, x19
	bl	_AllocRefs
	str	w0, [x20, #36]
	cbz	w0, LBB0_14
; %bb.13:
	ldrsw	x8, [x20, #20]
	add	x8, x8, w0, sxtw
	str	x8, [x20, #40]
	mov	w0, #1
	b	LBB0_15
LBB0_14:
	mov	x0, x20
	mov	x1, x19
	bl	_MatchFinder_Free
	mov	w0, #0
LBB0_15:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_kMaxHistorySize,4,2            ; @kMaxHistorySize
	.comm	_kHash2Size,8,3                 ; @kHash2Size
	.comm	_kHash3Size,8,3                 ; @kHash3Size
	.comm	_kHash4Size,8,3                 ; @kHash4Size
.subsections_via_symbols
