	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sort_matched_hunks
_sort_matched_hunks:                    ## @sort_matched_hunks
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	(%rdi), %rcx
	movq	(%rsi), %r14
	cmpl	$0, 16(%rcx)
	je	LBB0_1
## %bb.4:
	cmpl	$0, 16(%r14)
	jne	LBB0_11
## %bb.5:
	cmpl	$0, 12(%r14)
	jne	LBB0_11
## %bb.6:
	movl	$1, %eax
	jmp	LBB0_13
LBB0_1:
	movl	12(%rcx), %edx
	cmpl	$0, 16(%r14)
	je	LBB0_7
## %bb.2:
	testl	%edx, %edx
	je	LBB0_3
LBB0_11:
	movl	8(%rcx), %edi
	callq	_svn_diff_hunk_get_original_start
	movq	%rax, %rbx
	movl	8(%r14), %edi
	callq	_svn_diff_hunk_get_original_start
	movq	%rax, %rcx
	movl	$1, %eax
	cmpq	%rcx, %rbx
	jg	LBB0_13
LBB0_12:
	setne	%al
	movzbl	%al, %eax
	negl	%eax
LBB0_13:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_7:
	movl	12(%r14), %esi
	movl	%edx, %eax
	orl	%esi, %eax
	jne	LBB0_9
## %bb.8:
	movq	(%r14), %rdx
	movl	$1, %eax
	cmpq	%rdx, (%rcx)
	jle	LBB0_12
	jmp	LBB0_13
LBB0_3:
	movl	$-1, %eax
	jmp	LBB0_13
LBB0_9:
	xorl	%eax, %eax
	movl	%esi, %edi
	negl	%edi
	sbbl	%eax, %eax
	orl	$1, %eax
	testl	%esi, %esi
	je	LBB0_13
## %bb.10:
	testl	%edx, %edx
	jne	LBB0_11
	jmp	LBB0_13
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_sort_matched_hunks
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sort_matched_hunks
_sort_matched_hunks:                    ; @sort_matched_hunks
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldr	x8, [x0]
	ldr	x20, [x1]
	ldr	w9, [x8, #16]
	cbz	w9, LBB0_3
; %bb.1:
	ldr	w9, [x20, #16]
	cbnz	w9, LBB0_5
; %bb.2:
	ldr	w9, [x20, #12]
	cbnz	w9, LBB0_5
	b	LBB0_6
LBB0_3:
	ldr	w9, [x8, #12]
	ldr	w10, [x20, #16]
	cbz	w10, LBB0_7
; %bb.4:
	cbz	w9, LBB0_11
LBB0_5:
	ldr	w0, [x8, #8]
	bl	_svn_diff_hunk_get_original_start
	mov	x19, x0
	ldr	w0, [x20, #8]
	bl	_svn_diff_hunk_get_original_start
	cmp	x19, x0
	b.le	LBB0_9
LBB0_6:
	mov	w0, #1
	b	LBB0_10
LBB0_7:
	ldr	w10, [x20, #12]
	orr	w11, w9, w10
	cbnz	w11, LBB0_12
; %bb.8:
	ldr	x8, [x8]
	ldr	x9, [x20]
	cmp	x8, x9
	b.gt	LBB0_6
LBB0_9:
	csetm	w0, ne
LBB0_10:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_11:
	mov	w0, #-1
	b	LBB0_10
LBB0_12:
	cmp	w10, #0
	mov	w10, #1
	cneg	w0, w10, ne
	ccmp	w9, #0, #4, ne
	b.ne	LBB0_5
	b	LBB0_10
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_sort_matched_hunks
.subsections_via_symbols
