	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function patience_diff
_patience_diff:                         ## @patience_diff
	.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
	movq	%rsi, %rbx
	movl	24(%rbp), %esi
	movl	16(%rbp), %eax
	testl	%r9d, %r9d
	je	LBB0_1
## %bb.3:
	movl	%r9d, %r15d
	testl	%esi, %esi
	je	LBB0_4
## %bb.5:
	movq	%rdi, %r12
	leaq	-48(%rbp), %rdi
	xorl	%esi, %esi
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	movl	$8, %edx
	movq	%rcx, %r13
	movl	%r8d, %r14d
	callq	_memset
	subq	$8, %rsp
	movq	%r12, %rdi
	movq	%rbx, %rsi
	movl	16(%rbp), %ebx
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movq	%r13, %r12
	movq	%r13, %rcx
	leaq	-48(%rbp), %r8
	movl	%r14d, %r13d
	movl	%r14d, %r9d
	movl	24(%rbp), %eax
	pushq	%rax
	pushq	%rbx
	movq	%r15, %r14
	pushq	%r15
	callq	_fill_hashmap
	addq	$32, %rsp
	movl	$-1, %r15d
	testq	%rax, %rax
	jne	LBB0_12
## %bb.6:
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	movl	%r13d, %r15d
	movl	24(%rbp), %r13d
	cmpl	$0, -44(%rbp)
	je	LBB0_7
## %bb.8:
	leaq	-48(%rbp), %rdi
	callq	_find_longest_common_sequence
	leaq	-48(%rbp), %rdi
	testq	%rax, %rax
	je	LBB0_10
## %bb.9:
	movq	%rax, %rsi
	movl	%r15d, %edx
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
                                        ## kill: def $ecx killed $ecx killed $rcx
	movl	%ebx, %r8d
	movl	%r13d, %r9d
	callq	_walk_common_sequence
	jmp	LBB0_11
LBB0_1:
	xorl	%r15d, %r15d
	testl	%esi, %esi
	je	LBB0_12
## %bb.2:
	decl	%eax
	movslq	%eax, %rdi
	shlq	$2, %rdi
	addq	(%rcx), %rdi
	movl	%esi, %edx
	shlq	$2, %rdx
	leaq	L_.memset_pattern.3(%rip), %rsi
	callq	_memset_pattern16
	jmp	LBB0_12
LBB0_4:
	decl	%r8d
	movslq	%r8d, %rdi
	shlq	$2, %rdi
	addq	8(%rcx), %rdi
	movl	%r15d, %edx
	shlq	$2, %rdx
	leaq	L_.memset_pattern.3(%rip), %rsi
	callq	_memset_pattern16
	xorl	%r15d, %r15d
	jmp	LBB0_12
LBB0_7:
	decl	%r15d
	movslq	%r15d, %rdi
	shlq	$2, %rdi
	addq	8(%r12), %rdi
	movl	-56(%rbp), %edx                 ## 4-byte Reload
	shlq	$2, %rdx
	leaq	L_.memset_pattern.3(%rip), %r14
	movq	%r14, %rsi
	callq	_memset_pattern16
	decl	%ebx
	movslq	%ebx, %rdi
	shlq	$2, %rdi
	addq	(%r12), %rdi
	decl	%r13d
	leaq	4(,%r13,4), %rdx
	movq	%r14, %rsi
	callq	_memset_pattern16
	movl	-48(%rbp), %edi
	callq	_xdl_free
	xorl	%r15d, %r15d
	jmp	LBB0_12
LBB0_10:
	movl	%r15d, %esi
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
                                        ## kill: def $edx killed $edx killed $rdx
	movl	%ebx, %ecx
	movl	%r13d, %r8d
	callq	_fall_back_to_classic_diff
LBB0_11:
	movl	%eax, %r15d
	movl	-48(%rbp), %edi
	callq	_xdl_free
LBB0_12:
	movl	%r15d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## @.memset_pattern.3
L_.memset_pattern.3:
	.long	1                               ## 0x1
	.long	1                               ## 0x1
	.long	1                               ## 0x1
	.long	1                               ## 0x1

	.no_dead_strip	_patience_diff
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function patience_diff
_patience_diff:                         ; @patience_diff
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	mov	x19, x7
	mov	x20, x6
	mov	x23, x3
	cbz	w5, LBB0_4
; %bb.1:
	mov	x21, x5
	mov	x22, x4
	cbz	w19, LBB0_6
; %bb.2:
	mov	x24, x2
	mov	x25, x1
	mov	x26, x0
	add	x0, sp, #8
	mov	w1, #0
	mov	w2, #8
	bl	_memset
	str	w19, [sp]
	add	x4, sp, #8
	mov	x0, x26
	mov	x1, x25
	mov	x2, x24
	mov	x3, x23
	mov	x5, x22
	mov	x6, x21
	mov	x7, x20
	bl	_fill_hashmap
	cbz	x0, LBB0_7
; %bb.3:
	mov	w19, #-1
	b	LBB0_13
LBB0_4:
	cbz	w19, LBB0_13
; %bb.5:
	ldr	x8, [x23]
	sub	w9, w20, #1
	add	x0, x8, w9, sxtw #2
	mov	w8, w19
	lsl	x2, x8, #2
Lloh0:
	adrp	x1, l_.memset_pattern.3@PAGE
Lloh1:
	add	x1, x1, l_.memset_pattern.3@PAGEOFF
	bl	_memset_pattern16
	mov	w19, #0
	b	LBB0_13
LBB0_6:
	ldr	x8, [x23, #8]
	sub	w9, w22, #1
	add	x0, x8, w9, sxtw #2
	mov	w8, w21
	lsl	x2, x8, #2
Lloh2:
	adrp	x1, l_.memset_pattern.3@PAGE
Lloh3:
	add	x1, x1, l_.memset_pattern.3@PAGEOFF
	bl	_memset_pattern16
	b	LBB0_13
LBB0_7:
	ldr	w8, [sp, #12]
	cbz	w8, LBB0_10
; %bb.8:
	add	x0, sp, #8
	bl	_find_longest_common_sequence
	cbz	x0, LBB0_11
; %bb.9:
	mov	x1, x0
	add	x0, sp, #8
	mov	x2, x22
	mov	x3, x21
	mov	x4, x20
	mov	x5, x19
	bl	_walk_common_sequence
	b	LBB0_12
LBB0_10:
	ldr	x8, [x23, #8]
	sub	w9, w22, #1
	add	x0, x8, w9, sxtw #2
	mov	w8, w21
	lsl	x2, x8, #2
Lloh4:
	adrp	x21, l_.memset_pattern.3@PAGE
Lloh5:
	add	x21, x21, l_.memset_pattern.3@PAGEOFF
	mov	x1, x21
	bl	_memset_pattern16
	ldr	x8, [x23]
	sub	w9, w20, #1
	add	x0, x8, w9, sxtw #2
	sub	w8, w19, #1
	lsl	x8, x8, #2
	add	x2, x8, #4
	mov	x1, x21
	bl	_memset_pattern16
	ldr	w0, [sp, #8]
	bl	_xdl_free
	mov	w19, #0
	b	LBB0_13
LBB0_11:
	add	x0, sp, #8
	mov	x1, x22
	mov	x2, x21
	mov	x3, x20
	mov	x4, x19
	bl	_fall_back_to_classic_diff
LBB0_12:
	mov	x19, x0
	ldr	w0, [sp, #8]
	bl	_xdl_free
LBB0_13:
	mov	x0, x19
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ; @.memset_pattern.3
l_.memset_pattern.3:
	.long	1                               ; 0x1
	.long	1                               ; 0x1
	.long	1                               ; 0x1
	.long	1                               ; 0x1

	.no_dead_strip	_patience_diff
.subsections_via_symbols
