	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sort_reps_range
_sort_reps_range:                       ## @sort_reps_range
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	movq	%rdi, -96(%rbp)                 ## 8-byte Spill
	cmpl	%r8d, %ecx
	je	LBB0_35
## %bb.1:
	movl	%ecx, %ebx
	jge	LBB0_34
## %bb.2:
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax), %rax
	movq	(%rax), %r14
	movslq	%ebx, %r13
	movq	%rsi, -72(%rbp)                 ## 8-byte Spill
	leaq	(%rsi,%r13,8), %r12
	movl	%r8d, -44(%rbp)                 ## 4-byte Spill
	movl	%r8d, %eax
	subl	%ebx, %eax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	xorl	%r15d, %r15d
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_3 Depth=1
	movslq	%ebx, %rax
	incl	%ebx
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	movq	%rcx, (%rdx,%rax,8)
	movq	$0, (%r12,%r15,8)
LBB0_9:                                 ##   in Loop: Header=BB0_3 Depth=1
	incq	%r15
	cmpl	%r15d, -80(%rbp)                ## 4-byte Folded Reload
	je	LBB0_10
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r12,%r15,8), %rax
	movl	(%rax), %edi
	callq	_roundness
	movl	(%r14), %edx
	movq	(%r12,%r15,8), %rcx
	movl	(%rcx), %esi
	cmpl	%edx, %eax
	jge	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	xorl	%eax, %eax
	testb	%al, %al
	je	LBB0_7
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	leal	3(%rsi), %edi
	testl	%esi, %esi
	cmovnsl	%esi, %edi
	sarl	$2, %edi
	cmpl	%edi, %eax
	setge	%al
	testb	%al, %al
	jne	LBB0_8
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	cmpl	%edx, %esi
	jge	LBB0_9
	jmp	LBB0_8
LBB0_10:
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	movslq	%edi, %rsi
	movq	%r13, %rax
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movq	(%rdx,%rax,8), %rcx
	testq	%rcx, %rcx
	jne	LBB0_13
## %bb.11:                              ##   in Loop: Header=BB0_12 Depth=1
	incq	%rax
                                        ## implicit-def: $rcx
                                        ## kill: killed $rcx
	cmpq	%rax, %rsi
	jne	LBB0_12
	jmp	LBB0_14
LBB0_13:
	movq	8(%rcx), %rax
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	movl	4(%rcx), %eax
	movl	%eax, -52(%rbp)
LBB0_14:
	movl	%ebx, -48(%rbp)                 ## 4-byte Spill
	movq	%rsi, -88(%rbp)                 ## 8-byte Spill
	xorl	%r14d, %r14d
	leaq	-52(%rbp), %rbx
	jmp	LBB0_15
	.p2align	4, 0x90
LBB0_19:                                ##   in Loop: Header=BB0_15 Depth=1
	movq	%r15, %rbx
LBB0_22:                                ##   in Loop: Header=BB0_15 Depth=1
	incq	%r14
	cmpl	%r14d, -80(%rbp)                ## 4-byte Folded Reload
	je	LBB0_23
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r12,%r14,8), %rax
	testq	%rax, %rax
	je	LBB0_22
## %bb.16:                              ##   in Loop: Header=BB0_15 Depth=1
	movq	8(%rax), %rsi
	movq	-104(%rbp), %rdi                ## 8-byte Reload
	callq	_svn_prefix_string__compare
	movq	(%r12,%r14,8), %rdi
	testq	%rax, %rax
	je	LBB0_18
## %bb.17:                              ##   in Loop: Header=BB0_15 Depth=1
	movq	8(%rdi), %rax
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	movl	4(%rdi), %eax
	movl	%eax, -52(%rbp)
LBB0_18:                                ##   in Loop: Header=BB0_15 Depth=1
	addq	$4, %rdi
	movq	%rbx, %r15
	movq	%rbx, %rsi
	callq	_svn_fs_fs__id_part_eq
	testq	%rax, %rax
	je	LBB0_19
## %bb.20:                              ##   in Loop: Header=BB0_15 Depth=1
	movq	(%r12,%r14,8), %rax
	movl	-48(%rbp), %edx                 ## 4-byte Reload
	movslq	%edx, %rcx
	incl	%edx
	movl	%edx, -48(%rbp)                 ## 4-byte Spill
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	movq	%rax, (%rdx,%rcx,8)
	movq	$0, (%r12,%r14,8)
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edi
	movq	_compare_ref_to_item@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	%r15, %rsi
	xorl	%edx, %edx
	callq	_svn_sort__array_lookup
	testq	%rax, %rax
	je	LBB0_22
## %bb.21:                              ##   in Loop: Header=BB0_15 Depth=1
	movq	(%rax), %rax
	movl	(%rax), %eax
	movl	%eax, -52(%rbp)
	jmp	LBB0_22
LBB0_23:
	movq	%r13, %rax
	notq	%rax
	testb	$1, -80(%rbp)                   ## 1-byte Folded Reload
	movl	-48(%rbp), %ebx                 ## 4-byte Reload
	jne	LBB0_25
## %bb.24:
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	-88(%rbp), %r9                  ## 8-byte Reload
	movl	-44(%rbp), %r8d                 ## 4-byte Reload
	addq	%r9, %rax
	jne	LBB0_29
	jmp	LBB0_34
LBB0_25:
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	(%rdi,%r13,8), %rcx
	testq	%rcx, %rcx
	movq	-88(%rbp), %r9                  ## 8-byte Reload
	movl	-44(%rbp), %r8d                 ## 4-byte Reload
	je	LBB0_27
## %bb.26:
	movslq	%ebx, %rdx
	incl	%ebx
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	movq	%rcx, (%rsi,%rdx,8)
LBB0_27:
	incq	%r13
	addq	%r9, %rax
	jne	LBB0_29
LBB0_34:
	xorl	%edi, %edi
	cmpl	%r8d, %ebx
	sete	%dil
	callq	_assert
LBB0_35:
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.p2align	4, 0x90
LBB0_33:                                ##   in Loop: Header=BB0_29 Depth=1
	addq	$2, %r13
	cmpq	%r13, %r9
	je	LBB0_34
LBB0_29:                                ## =>This Inner Loop Header: Depth=1
	movq	(%rdi,%r13,8), %rax
	testq	%rax, %rax
	je	LBB0_31
## %bb.30:                              ##   in Loop: Header=BB0_29 Depth=1
	movslq	%ebx, %rcx
	incl	%ebx
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	movq	%rax, (%rdx,%rcx,8)
LBB0_31:                                ##   in Loop: Header=BB0_29 Depth=1
	movq	8(%rdi,%r13,8), %rax
	testq	%rax, %rax
	je	LBB0_33
## %bb.32:                              ##   in Loop: Header=BB0_29 Depth=1
	movslq	%ebx, %rcx
	incl	%ebx
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	movq	%rax, (%rdx,%rcx,8)
	jmp	LBB0_33
	.cfi_endproc
                                        ## -- End function
	.comm	_compare_ref_to_item,8,3        ## @compare_ref_to_item
	.no_dead_strip	_sort_reps_range
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sort_reps_range
_sort_reps_range:                       ; @sort_reps_range
	.cfi_startproc
; %bb.0:
	cmp	w3, w4
	b.eq	LBB0_27
; %bb.1:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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	x19, x4
	mov	x21, x3
	b.ge	LBB0_26
; %bb.2:
	mov	x20, x2
	mov	x22, x1
	mov	x23, x0
	ldr	x8, [x0, #8]
	ldr	x24, [x8]
	sxtw	x28, w21
	add	x25, x1, w21, sxtw #3
	sub	w26, w19, w21
	mov	x27, x26
	b	LBB0_5
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	str	x8, [x20, w21, sxtw #3]
	add	w8, w21, #1
	str	xzr, [x25]
	mov	x21, x8
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x25, x25, #8
	subs	w27, w27, #1
	b.eq	LBB0_9
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x25]
	ldr	w0, [x8]
	bl	_roundness
	ldr	w9, [x24]
	ldr	x8, [x25]
	ldr	w10, [x8]
	cmp	w0, w9
	b.ge	LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	w11, #0
	tbz	w11, #0, LBB0_8
	b	LBB0_3
LBB0_7:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	w11, w10, #3
	cmp	w10, #0
	csel	w11, w11, w10, lt
	cmp	w0, w11, asr #2
	cset	w11, ge
	tbnz	w11, #0, LBB0_3
LBB0_8:                                 ;   in Loop: Header=BB0_5 Depth=1
	cmp	w10, w9
	b.ge	LBB0_4
	b	LBB0_3
LBB0_9:
	sxtw	x9, w19
	add	x8, x22, x28, lsl #3
	sub	x27, x9, x28
	mov	x9, x27
                                        ; implicit-def: $x24
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldr	x10, [x8]
	cbnz	x10, LBB0_12
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	add	x8, x8, #8
	subs	x9, x9, #1
	b.ne	LBB0_10
	b	LBB0_13
LBB0_12:
	ldr	x24, [x10, #8]
	ldr	w8, [x10, #4]
	str	w8, [sp, #28]
LBB0_13:
	stp	x28, x22, [sp, #8]              ; 16-byte Folded Spill
	add	x28, x22, x28, lsl #3
Lloh0:
	adrp	x25, _compare_ref_to_item@GOTPAGE
Lloh1:
	ldr	x25, [x25, _compare_ref_to_item@GOTPAGEOFF]
	b	LBB0_16
LBB0_14:                                ;   in Loop: Header=BB0_16 Depth=1
	mov	x21, x22
LBB0_15:                                ;   in Loop: Header=BB0_16 Depth=1
	add	x28, x28, #8
	subs	w26, w26, #1
	b.eq	LBB0_22
LBB0_16:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x28]
	cbz	x8, LBB0_15
; %bb.17:                               ;   in Loop: Header=BB0_16 Depth=1
	ldr	x1, [x8, #8]
	mov	x0, x24
	bl	_svn_prefix_string__compare
	ldr	x8, [x28]
	cbz	x0, LBB0_19
; %bb.18:                               ;   in Loop: Header=BB0_16 Depth=1
	ldr	x24, [x8, #8]
	ldr	w9, [x8, #4]
	str	w9, [sp, #28]
LBB0_19:                                ;   in Loop: Header=BB0_16 Depth=1
	add	x0, x8, #4
	add	x1, sp, #28
	bl	_svn_fs_fs__id_part_eq
	cbz	x0, LBB0_15
; %bb.20:                               ;   in Loop: Header=BB0_16 Depth=1
	ldr	x8, [x28]
	add	w22, w21, #1
	str	x8, [x20, w21, sxtw #3]
	str	xzr, [x28]
	ldr	w0, [x23]
	ldr	x3, [x25]
	add	x1, sp, #28
	mov	x2, #0
	bl	_svn_sort__array_lookup
	cbz	x0, LBB0_14
; %bb.21:                               ;   in Loop: Header=BB0_16 Depth=1
	ldr	x8, [x0]
	ldr	w8, [x8]
	str	w8, [sp, #28]
	b	LBB0_14
LBB0_22:
	ldp	x9, x8, [sp, #8]                ; 16-byte Folded Reload
	add	x8, x8, x9, lsl #3
	b	LBB0_24
LBB0_23:                                ;   in Loop: Header=BB0_24 Depth=1
	add	x8, x8, #8
	subs	x27, x27, #1
	b.eq	LBB0_26
LBB0_24:                                ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x8]
	cbz	x9, LBB0_23
; %bb.25:                               ;   in Loop: Header=BB0_24 Depth=1
	str	x9, [x20, w21, sxtw #3]
	add	w9, w21, #1
	mov	x21, x9
	b	LBB0_23
LBB0_26:
	cmp	w21, w19
	cset	w0, eq
	bl	_assert
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
LBB0_27:
	.cfi_def_cfa wsp, 0
	.cfi_same_value w30
	.cfi_same_value w29
	.cfi_same_value w19
	.cfi_same_value w20
	.cfi_same_value w21
	.cfi_same_value w22
	.cfi_same_value w23
	.cfi_same_value w24
	.cfi_same_value w25
	.cfi_same_value w26
	.cfi_same_value w27
	.cfi_same_value w28
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_compare_ref_to_item,8,3        ; @compare_ref_to_item
	.no_dead_strip	_sort_reps_range
.subsections_via_symbols
