	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function find_match
_find_match:                            ## @find_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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, %r12d
	movq	%r8, %r15
	movl	%ecx, -52(%rbp)                 ## 4-byte Spill
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	movq	16(%rbp), %rax
	movl	(%rax), %eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movslq	%eax, %r14
	leaq	(%r8,%r14), %r13
	movq	%r13, %rdx
	callq	_find_block
	movl	%eax, %ebx
	movq	_NO_POSITION@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	cmpl	(%rcx), %ebx
	je	LBB0_12
## %bb.1:
	movq	_MATCH_BLOCKSIZE@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	movl	-52(%rbp), %edx                 ## 4-byte Reload
	subl	%ebx, %edx
	subl	%eax, %edx
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	addl	%eax, %ecx
	subl	%ecx, %r12d
	cmpl	%r12d, %edx
	cmovll	%edx, %r12d
	movslq	%ebx, %rdi
	addq	-64(%rbp), %rdi                 ## 8-byte Folded Reload
	addq	%rax, %rdi
	addq	%rax, %r13
	movq	%r13, %rsi
	movl	%r12d, %edx
	callq	_svn_cstring__match_length
	testl	%ebx, %ebx
	jle	LBB0_2
## %bb.3:
	movl	32(%rbp), %ecx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	cmpl	%ecx, %edi
	jle	LBB0_10
## %bb.4:
	movslq	%ecx, %rcx
	movl	%ebx, %edx
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	leal	-1(%rdx), %esi
	movzbl	(%rdi,%rsi), %ebx
	cmpb	-1(%r15,%r14), %bl
	jne	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	decq	%r14
	incl	%eax
	leaq	-1(%rdx), %rbx
	cmpq	$2, %rdx
	jb	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	%rbx, %rdx
	cmpq	%rcx, %r14
	jg	LBB0_5
	jmp	LBB0_9
LBB0_2:
	movq	16(%rbp), %rcx
	movq	_MATCH_BLOCKSIZE@GOTPCREL(%rip), %rdx
	movq	24(%rbp), %rsi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	jmp	LBB0_11
LBB0_6:
	movq	%rdx, %rbx
LBB0_9:
	movl	%r14d, %edi
LBB0_10:
	movq	16(%rbp), %rcx
	movq	_MATCH_BLOCKSIZE@GOTPCREL(%rip), %rdx
	movq	24(%rbp), %rsi
LBB0_11:
	movl	%ebx, (%rsi)
	movl	%edi, (%rcx)
	addl	(%rdx), %eax
LBB0_12:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NO_POSITION,4,2                ## @NO_POSITION
	.comm	_MATCH_BLOCKSIZE,4,2            ## @MATCH_BLOCKSIZE
	.no_dead_strip	_find_match
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function find_match
_find_match:                            ; @find_match
	.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	x20, x7
	mov	x19, x6
	mov	x24, x5
	mov	x23, x4
	mov	x25, x3
	mov	x21, x2
	ldr	w28, [x6]
	sxtw	x27, w28
	add	x26, x4, x27
	mov	x2, x26
	bl	_find_block
Lloh0:
	adrp	x8, _NO_POSITION@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NO_POSITION@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_2
; %bb.1:
	mov	w0, #0
	b	LBB0_10
LBB0_2:
	mov	x22, x0
	str	x20, [sp, #8]                   ; 8-byte Folded Spill
	ldr	w20, [x29, #16]
Lloh3:
	adrp	x8, _MATCH_BLOCKSIZE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MATCH_BLOCKSIZE@GOTPAGEOFF]
Lloh5:
	ldrsw	x8, [x8]
	add	w9, w0, w8
	sub	w9, w25, w9
	add	w10, w28, w8
	sub	w10, w24, w10
	cmp	w9, w10
	csel	w2, w9, w10, lt
	add	x9, x21, w0, sxtw
	add	x0, x9, x8
	add	x1, x26, x8
	bl	_svn_cstring__match_length
	cmp	w22, #1
	ccmp	w28, w20, #4, ge
	b.gt	LBB0_4
; %bb.3:
	mov	x27, x28
	ldr	x13, [sp, #8]                   ; 8-byte Folded Reload
	b	LBB0_9
LBB0_4:
	sxtw	x8, w20
	sub	x9, x23, #1
	mov	w10, w22
	ldr	x13, [sp, #8]                   ; 8-byte Folded Reload
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	sub	w11, w10, #1
	ldrb	w11, [x21, w11, uxtw]
	ldrb	w12, [x9, x27]
	cmp	w11, w12
	b.ne	LBB0_8
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	sub	x27, x27, #1
	add	w0, w0, #1
	sub	x22, x10, #1
	cmp	x10, #2
	b.lo	LBB0_9
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x10, x22
	cmp	x27, x8
	b.gt	LBB0_5
	b	LBB0_9
LBB0_8:
	mov	x22, x10
LBB0_9:
Lloh6:
	adrp	x8, _MATCH_BLOCKSIZE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MATCH_BLOCKSIZE@GOTPAGEOFF]
	str	w22, [x13]
	str	w27, [x19]
Lloh8:
	ldr	w8, [x8]
	add	w0, w8, w0
LBB0_10:
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_NO_POSITION,4,2                ; @NO_POSITION
	.comm	_MATCH_BLOCKSIZE,4,2            ; @MATCH_BLOCKSIZE
	.no_dead_strip	_find_match
.subsections_via_symbols
