	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function re_update_line
_re_update_line:                        ## @re_update_line
	.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	$168, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, -96(%rbp)                 ## 8-byte Spill
	movb	(%rsi), %dil
	testb	%dil, %dil
	je	LBB0_5
## %bb.1:
	movq	%rsi, %r12
	movq	%rdx, %r13
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cmpb	(%r13), %dil
	jne	LBB0_6
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	incq	%r13
	movzbl	1(%r12), %edi
	incq	%r12
	testb	%dil, %dil
	jne	LBB0_2
## %bb.4:
	xorl	%edi, %edi
	jmp	LBB0_6
LBB0_5:
	xorl	%edi, %edi
	movq	%rdx, %r13
	movq	%rsi, %r12
LBB0_6:
	movq	%r12, %rax
	testb	%dil, %dil
	je	LBB0_9
## %bb.7:
	movq	%r12, %rdi
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	leaq	1(%rdi), %rax
	cmpb	$0, 1(%rdi)
	movq	%rax, %rdi
	jne	LBB0_8
LBB0_9:
	leal	(%rax,%rdx), %r8d
	subl	%esi, %r8d
	subl	%r13d, %r8d
	incl	%r8d
	movl	%eax, %r9d
	subl	%esi, %r9d
	movl	$1, %edi
	subq	%rax, %rdi
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movq	%rax, %r11
	movl	%r8d, %ebx
	movl	%r9d, %r15d
	movq	%rdi, %r10
	cmpq	%rax, %r12
	jae	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=1
	leaq	-1(%r11), %rax
	leal	-1(%rbx), %r8d
	leal	-1(%r15), %r9d
	leaq	1(%r10), %rdi
	cmpb	$32, -1(%r11)
	je	LBB0_10
LBB0_12:
	movq	%rsi, -128(%rbp)                ## 8-byte Spill
	movb	$0, (%r11)
	movq	%rdx, -152(%rbp)                ## 8-byte Spill
	movl	%edx, %eax
	notl	%eax
	addl	%r13d, %eax
	leaq	-1(%r13), %rdx
	negl	%ebx
	.p2align	4, 0x90
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	incl	%eax
	incl	%ebx
	cmpb	$0, 1(%rdx)
	leaq	1(%rdx), %rdx
	jne	LBB0_13
	jmp	LBB0_15
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_15 Depth=1
	leaq	-1(%rsi), %rdx
	leal	-1(%rdi), %ebx
	leal	-1(%r14), %eax
	cmpb	$32, -1(%rsi)
	jne	LBB0_16
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	movq	%rdx, %rsi
	movl	%ebx, %edi
	movl	%eax, %r14d
	cmpq	%rdx, %r13
	jb	LBB0_14
LBB0_16:
	movb	$0, (%rsi)
	movb	(%r12), %r9b
	movq	%rsi, %rax
	movq	%r11, -72(%rbp)                 ## 8-byte Spill
	movq	%r11, %r8
	testb	%r9b, %r9b
	jne	LBB0_18
## %bb.17:
	cmpb	$0, (%r13)
	movq	%rsi, %rax
	movq	-72(%rbp), %r8                  ## 8-byte Reload
	je	LBB0_74
	.p2align	4, 0x90
LBB0_18:                                ## =>This Inner Loop Header: Depth=1
	cmpq	%r12, %r8
	jbe	LBB0_22
## %bb.19:                              ##   in Loop: Header=BB0_18 Depth=1
	cmpq	%r13, %rax
	jbe	LBB0_22
## %bb.20:                              ##   in Loop: Header=BB0_18 Depth=1
	movzbl	-1(%r8), %edx
	decq	%r8
	leaq	-1(%rax), %r11
	cmpb	-1(%rax), %dl
	movq	%r11, %rax
	je	LBB0_18
	jmp	LBB0_23
LBB0_22:
	movq	%rax, %r11
LBB0_23:
	movq	%r15, -200(%rbp)                ## 8-byte Spill
	movl	%ecx, -120(%rbp)                ## 4-byte Spill
	movq	%rdi, -160(%rbp)                ## 8-byte Spill
	movq	%rsi, -144(%rbp)                ## 8-byte Spill
	leaq	1(%r8), %rcx
	leaq	1(%r11), %rax
	movq	%rcx, %rdx
	movq	%rcx, -88(%rbp)                 ## 8-byte Spill
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	movq	%rcx, -104(%rbp)                ## 8-byte Spill
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	%rax, -112(%rbp)                ## 8-byte Spill
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	testb	%r9b, %r9b
	je	LBB0_38
## %bb.24:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, %rcx
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	movq	-112(%rbp), %rax                ## 8-byte Reload
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	cmpq	%rax, %r13
	jae	LBB0_38
## %bb.25:
	leaq	1(%r13), %rdi
	leaq	1(%r12), %rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movq	-112(%rbp), %rax                ## 8-byte Reload
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movq	%r13, %r15
	jmp	LBB0_27
	.p2align	4, 0x90
LBB0_26:                                ##   in Loop: Header=BB0_27 Depth=1
	leaq	1(%r15), %rax
	incq	%rdi
	cmpq	%r11, %r15
	movq	%rax, %r15
	jae	LBB0_38
LBB0_27:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_32 Depth 2
	cmpb	(%r15), %r9b
	jne	LBB0_26
## %bb.28:                              ##   in Loop: Header=BB0_27 Depth=1
	movq	%r15, %rsi
	movq	%r12, %rdx
	cmpq	-112(%rbp), %r15                ## 8-byte Folded Reload
	jae	LBB0_35
## %bb.29:                              ##   in Loop: Header=BB0_27 Depth=1
	movq	%r15, %rsi
	movq	%r12, %rdx
	cmpq	-48(%rbp), %r12                 ## 8-byte Folded Reload
	jae	LBB0_35
## %bb.30:                              ##   in Loop: Header=BB0_27 Depth=1
	movq	%r15, %rsi
	movq	%r12, %rdx
	cmpb	%r9b, (%r12)
	jne	LBB0_35
## %bb.31:                              ##   in Loop: Header=BB0_27 Depth=1
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movq	%rdi, %rbx
	.p2align	4, 0x90
LBB0_32:                                ##   Parent Loop BB0_27 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%rbx, %rsi
	movq	%rax, %rdx
	leaq	-1(%rbx), %rax
	cmpq	%r11, %rax
	jae	LBB0_35
## %bb.33:                              ##   in Loop: Header=BB0_32 Depth=2
	leaq	-1(%rdx), %rax
	cmpq	%r8, %rax
	jae	LBB0_35
## %bb.34:                              ##   in Loop: Header=BB0_32 Depth=2
	movzbl	(%rdx), %ecx
	leaq	1(%rsi), %rbx
	leaq	1(%rdx), %rax
	cmpb	(%rsi), %cl
	je	LBB0_32
	.p2align	4, 0x90
LBB0_35:                                ##   in Loop: Header=BB0_27 Depth=1
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	subq	-64(%rbp), %rcx                 ## 8-byte Folded Reload
	movq	%rsi, %rax
	subq	%r15, %rax
	cmpq	%rax, %rcx
	jge	LBB0_26
## %bb.36:                              ##   in Loop: Header=BB0_27 Depth=1
	addq	%rax, %rax
	movq	%r15, %rcx
	subq	%r13, %rcx
	cmpq	%rcx, %rax
	jle	LBB0_26
## %bb.37:                              ##   in Loop: Header=BB0_27 Depth=1
	movq	%r12, -88(%rbp)                 ## 8-byte Spill
	movq	%rdx, -104(%rbp)                ## 8-byte Spill
	movq	%r15, -64(%rbp)                 ## 8-byte Spill
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_26
LBB0_38:
	movb	(%r13), %r9b
	testb	%r9b, %r9b
	je	LBB0_53
## %bb.39:
	cmpq	-48(%rbp), %r12                 ## 8-byte Folded Reload
	jae	LBB0_53
## %bb.40:
	leaq	1(%r12), %rdi
	leaq	1(%r13), %rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movq	%r12, %rcx
	jmp	LBB0_42
	.p2align	4, 0x90
LBB0_41:                                ##   in Loop: Header=BB0_42 Depth=1
	leaq	1(%rcx), %rax
	incq	%rdi
	cmpq	%r8, %rcx
	movq	%rax, %rcx
	jae	LBB0_53
LBB0_42:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_47 Depth 2
	cmpb	(%rcx), %r9b
	jne	LBB0_41
## %bb.43:                              ##   in Loop: Header=BB0_42 Depth=1
	movq	%rcx, %rsi
	movq	%r13, %rax
	cmpq	-48(%rbp), %rcx                 ## 8-byte Folded Reload
	jae	LBB0_50
## %bb.44:                              ##   in Loop: Header=BB0_42 Depth=1
	movq	%rcx, %rsi
	movq	%r13, %rax
	cmpq	-112(%rbp), %r13                ## 8-byte Folded Reload
	jae	LBB0_50
## %bb.45:                              ##   in Loop: Header=BB0_42 Depth=1
	movq	%rcx, %rsi
	movq	%r13, %rax
	cmpb	(%r13), %r9b
	jne	LBB0_50
## %bb.46:                              ##   in Loop: Header=BB0_42 Depth=1
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
	movq	%rdi, %rbx
	.p2align	4, 0x90
LBB0_47:                                ##   Parent Loop BB0_42 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%rbx, %rsi
	movq	%rdx, %rax
	leaq	-1(%rbx), %rdx
	cmpq	%r8, %rdx
	jae	LBB0_50
## %bb.48:                              ##   in Loop: Header=BB0_47 Depth=2
	leaq	-1(%rax), %rdx
	cmpq	%r11, %rdx
	jae	LBB0_50
## %bb.49:                              ##   in Loop: Header=BB0_47 Depth=2
	movzbl	(%rsi), %r15d
	leaq	1(%rsi), %rbx
	leaq	1(%rax), %rdx
	cmpb	(%rax), %r15b
	je	LBB0_47
	.p2align	4, 0x90
LBB0_50:                                ##   in Loop: Header=BB0_42 Depth=1
	movq	-104(%rbp), %rbx                ## 8-byte Reload
	subq	-88(%rbp), %rbx                 ## 8-byte Folded Reload
	movq	%rsi, %rdx
	subq	%rcx, %rdx
	cmpq	%rdx, %rbx
	jge	LBB0_41
## %bb.51:                              ##   in Loop: Header=BB0_42 Depth=1
	addq	%rdx, %rdx
	movq	%rcx, %rbx
	subq	%r12, %rbx
	cmpq	%rbx, %rdx
	jle	LBB0_41
## %bb.52:                              ##   in Loop: Header=BB0_42 Depth=1
	movq	%rcx, -88(%rbp)                 ## 8-byte Spill
	movq	%rsi, -104(%rbp)                ## 8-byte Spill
	movq	%r13, -64(%rbp)                 ## 8-byte Spill
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_41
LBB0_53:
	addq	%r10, %r8
	negq	%r8
	movq	_MIN_END_KEEP@GOTPCREL(%rip), %rax
	movslq	(%rax), %r10
	cmpq	%r10, %r8
	movq	-72(%rbp), %r8                  ## 8-byte Reload
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	cmovlq	%r8, %rbx
	movq	-112(%rbp), %rdi                ## 8-byte Reload
	cmovlq	-144(%rbp), %rdi                ## 8-byte Folded Reload
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	addl	%r13d, %eax
	movl	%r12d, %ecx
	subl	%eax, %ecx
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	addl	%eax, %ecx
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	addl	%ebx, %eax
	movq	-104(%rbp), %rdx                ## 8-byte Reload
                                        ## kill: def $edx killed $edx killed $rdx def $rdx
	subl	%eax, %edx
	leal	(%rdi,%rdx), %r9d
	movq	_EL_CAN_INSERT@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jne	LBB0_57
## %bb.54:
	testl	%ecx, %ecx
	jle	LBB0_56
## %bb.55:
	movq	%rbx, -88(%rbp)                 ## 8-byte Spill
	movq	%rbx, -104(%rbp)                ## 8-byte Spill
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
LBB0_56:
	testl	%r9d, %r9d
	cmovgq	%r8, %rbx
	movq	-144(%rbp), %rax                ## 8-byte Reload
	cmovgq	%rax, %rdi
	movq	%rbx, %rdx
	subq	%r12, %rdx
	movq	%rdi, %rsi
	subq	%r13, %rsi
	cmpq	%rsi, %rdx
	cmovlq	%r8, %rbx
	cmovlq	%rax, %rdi
LBB0_57:
	movq	_EL_CAN_DELETE@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jne	LBB0_61
## %bb.58:
	testl	%ecx, %ecx
	jns	LBB0_60
## %bb.59:
	movq	%rbx, -88(%rbp)                 ## 8-byte Spill
	movq	%rbx, -104(%rbp)                ## 8-byte Spill
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
LBB0_60:
	testl	%r9d, %r9d
	cmovsq	%r8, %rbx
	movq	-144(%rbp), %rdx                ## 8-byte Reload
	cmovsq	%rdx, %rdi
	movq	%rbx, %rax
	subq	%r12, %rax
	movq	%rdi, %rcx
	subq	%r13, %rcx
	cmpq	%rcx, %rax
	cmovgq	%r8, %rbx
	cmovgq	%rdx, %rdi
LBB0_61:
	movq	-104(%rbp), %rdx                ## 8-byte Reload
	movq	%rdx, %rsi
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	subq	%rcx, %rsi
	movq	%r10, -184(%rbp)                ## 8-byte Spill
	movq	%rsi, -176(%rbp)                ## 8-byte Spill
	cmpq	%r10, %rsi
	movq	%rdx, %rsi
	cmovlq	%rbx, %rsi
	cmovlq	%rbx, %rcx
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	cmovlq	%rdi, %r15
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	cmovlq	%rdi, %rax
	movq	%rcx, -88(%rbp)                 ## 8-byte Spill
	movq	%rcx, %rdx
	subq	%r12, %rdx
	movq	%r15, %rcx
	subq	%r13, %rcx
	movq	%rdx, -192(%rbp)                ## 8-byte Spill
	subq	%rdx, %rcx
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	subq	%rax, %rdi
	movq	%rsi, -168(%rbp)                ## 8-byte Spill
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	subq	%rbx, %rsi
	movq	%rcx, %rbx
	movq	%rdi, -112(%rbp)                ## 8-byte Spill
	addq	%rdi, %rsi
	movl	$1, %edi
	movq	%rsi, -80(%rbp)                 ## 8-byte Spill
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_ELRE_DEBUG
	movl	$1, %edi
	movq	-200(%rbp), %rsi                ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_ELRE_DEBUG
	movl	$1, %edi
	movl	%r14d, %esi
	callq	_ELRE_DEBUG
	leaq	L_.str.4(%rip), %rsi
	movl	$1, %edi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_ELRE_DEBUG
	leaq	L_.str.5(%rip), %rsi
	movl	$1, %edi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_ELRE_DEBUG
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	movl	-120(%rbp), %esi                ## 4-byte Reload
	callq	_terminal_move_to_line
	movq	%r15, -64(%rbp)                 ## 8-byte Spill
	subq	%r13, %r15
	movq	%r15, -120(%rbp)                ## 8-byte Spill
	movq	%rbx, -136(%rbp)                ## 8-byte Spill
	je	LBB0_66
## %bb.62:
	testl	%ebx, %ebx
	jle	LBB0_66
## %bb.63:
	movq	-176(%rbp), %rax                ## 8-byte Reload
	cmpq	-184(%rbp), %rax                ## 8-byte Folded Reload
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movq	-104(%rbp), %rsi                ## 8-byte Reload
	cmovlq	%rdx, %rsi
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	cmpq	%rdx, %rcx
	cmovneq	%rcx, %rsi
	subq	-128(%rbp), %rsi                ## 8-byte Folded Reload
	movslq	%ebx, %r14
	addq	%r14, %rsi
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	movslq	(%rax), %rax
	xorl	%r15d, %r15d
	cmpq	%rax, %rsi
	jg	LBB0_70
## %bb.64:
	movl	%r13d, %ebx
	subl	-152(%rbp), %ebx                ## 4-byte Folded Reload
	movl	$1, %edi
	movl	%ebx, %esi
	callq	_ELRE_DEBUG
	movq	-96(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_terminal_move_to_char
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	cmpq	%rax, -144(%rbp)                ## 8-byte Folded Reload
	je	LBB0_75
## %bb.65:
	leaq	L_.str.7(%rip), %rsi
	movl	$1, %edi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_ELRE_DEBUG
	xorl	%edi, %edi
	movq	_EL_CAN_INSERT@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	sete	%dil
	leaq	L_.str.8(%rip), %rsi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_ELRE_DEBUG
	movq	%r15, %rdi
	movq	%r13, %rsi
	movq	-136(%rbp), %rbx                ## 8-byte Reload
	movl	%ebx, %edx
	callq	_terminal_insertwrite
	movl	%r12d, %edx
	movq	-128(%rbp), %rsi                ## 8-byte Reload
	subl	%esi, %edx
	movl	(%r15), %ecx
	movq	%r15, %rdi
	movq	%r13, %r8
	movl	%ebx, %r9d
	callq	_re_insert
	movq	-120(%rbp), %rbx                ## 8-byte Reload
	subq	%r14, %rbx
	leaq	(%r14,%r13), %rsi
	movq	%r15, %rdi
	movq	%rsi, %r15
	movq	%rbx, %rdx
	callq	_terminal_overwrite
	addq	%r12, %r14
	movq	%r14, %rdi
	movq	%r15, %rsi
	movq	%rbx, %rdx
	callq	_re__strncopy
	movq	-136(%rbp), %rax                ## 8-byte Reload
	movl	%eax, %r15d
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	jmp	LBB0_69
LBB0_66:
	xorl	%r15d, %r15d
	testl	%ebx, %ebx
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	jns	LBB0_70
## %bb.67:
	movl	%r12d, %r14d
	subl	-128(%rbp), %r14d               ## 4-byte Folded Reload
	movl	$1, %edi
	movl	%r14d, %esi
	callq	_ELRE_DEBUG
	movq	-96(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rdi
	movl	%r14d, %esi
	callq	_terminal_move_to_char
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	cmpq	%rax, -72(%rbp)                 ## 8-byte Folded Reload
	je	LBB0_76
## %bb.68:
	leaq	L_.str.11(%rip), %rsi
	movl	$1, %edi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_ELRE_DEBUG
	xorl	%edi, %edi
	movq	_EL_CAN_DELETE@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	sete	%dil
	leaq	L_.str.12(%rip), %rsi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_ELRE_DEBUG
	movq	-136(%rbp), %rax                ## 8-byte Reload
	movl	%eax, %ebx
	negl	%ebx
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_terminal_deletechars
	movl	(%r15), %ecx
	movq	%r15, %rdi
	movq	-128(%rbp), %rsi                ## 8-byte Reload
	movl	%r14d, %edx
	movl	%ebx, %r8d
	callq	_re_delete
	movq	%r15, %rdi
	movq	%r13, %rsi
	movq	-120(%rbp), %rbx                ## 8-byte Reload
	movq	%rbx, %rdx
	callq	_terminal_overwrite
	movq	%r12, %rdi
	movq	%r13, %rsi
	movq	%rbx, %rdx
	callq	_re__strncopy
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movq	-136(%rbp), %rax                ## 8-byte Reload
	movl	%eax, %r15d
LBB0_69:
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
LBB0_70:
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	testl	%ebx, %ebx
	jns	LBB0_79
## %bb.71:
	movq	-168(%rbp), %rax                ## 8-byte Reload
	subq	-128(%rbp), %rax                ## 8-byte Folded Reload
	movslq	%r15d, %r14
	addq	%rax, %r14
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	movslq	(%rax), %rax
	cmpq	%rax, %r14
	jge	LBB0_79
## %bb.72:
	movl	$1, %edi
	movl	%r14d, %esi
	movq	%rdx, %rbx
	callq	_ELRE_DEBUG
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	movl	%r14d, %esi
	callq	_terminal_move_to_char
	cmpq	%rbx, -72(%rbp)                 ## 8-byte Folded Reload
	je	LBB0_77
## %bb.73:
	leaq	L_.str.11(%rip), %rsi
	movl	$1, %edi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_ELRE_DEBUG
	xorl	%edi, %edi
	movq	_EL_CAN_DELETE@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	sete	%dil
	leaq	L_.str.15(%rip), %rsi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_ELRE_DEBUG
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	movl	%ebx, %esi
	negl	%esi
	movq	-96(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdi
	callq	_terminal_deletechars
	movq	%r14, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movq	-112(%rbp), %rdx                ## 8-byte Reload
	callq	_terminal_overwrite
	jmp	LBB0_78
LBB0_74:
	leaq	L_.str(%rip), %rsi
	jmp	LBB0_96
LBB0_75:
	leaq	L_.str.9(%rip), %rsi
	movl	$1, %edi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_ELRE_DEBUG
	movq	%r15, %rdi
	movq	%r13, %rsi
	movq	-120(%rbp), %rbx                ## 8-byte Reload
	movq	%rbx, %rdx
	callq	_terminal_overwrite
	movq	%r12, %rdi
	movq	%r13, %rsi
	movq	%rbx, %rdx
	addq	$168, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_re__strncopy                   ## TAILCALL
LBB0_76:
	leaq	L_.str.13(%rip), %rsi
	movl	$1, %edi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_ELRE_DEBUG
	movq	%r15, %rdi
	movq	%r13, %rsi
	movq	-120(%rbp), %rdx                ## 8-byte Reload
	callq	_terminal_overwrite
	movq	-160(%rbp), %rcx                ## 8-byte Reload
	negl	%ecx
	movq	%r15, %rdi
	movl	%ebx, %esi
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
                                        ## kill: def $edx killed $edx killed $rdx
                                        ## kill: def $ecx killed $ecx killed $rcx
	addq	$168, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_re_clear_eol                   ## TAILCALL
LBB0_77:
	leaq	L_.str.13(%rip), %rsi
	movl	$1, %edi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_ELRE_DEBUG
	movq	-96(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movq	-112(%rbp), %rdx                ## 8-byte Reload
	callq	_terminal_overwrite
	movq	-160(%rbp), %rcx                ## 8-byte Reload
	negl	%ecx
	movq	%rbx, %rdi
	movl	%r15d, %esi
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	movl	%ebx, %edx
                                        ## kill: def $ecx killed $ecx killed $rcx
	callq	_re_clear_eol
LBB0_78:
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
LBB0_79:
	cmpq	%r13, -64(%rbp)                 ## 8-byte Folded Reload
	je	LBB0_88
## %bb.80:
	movq	-192(%rbp), %rax                ## 8-byte Reload
	cmpq	%rax, -120(%rbp)                ## 8-byte Folded Reload
	jl	LBB0_88
## %bb.81:
	testl	%r15d, %r15d
	jne	LBB0_88
## %bb.82:
	movl	%r13d, %r14d
	subl	-152(%rbp), %r14d               ## 4-byte Folded Reload
	movl	$1, %edi
	movl	%r14d, %esi
	callq	_ELRE_DEBUG
	movq	-96(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rdi
	movl	%r14d, %esi
	callq	_terminal_move_to_char
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	cmpq	%rax, -144(%rbp)                ## 8-byte Folded Reload
	je	LBB0_86
## %bb.83:
	leaq	L_.str.7(%rip), %rsi
	movl	$1, %edi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_ELRE_DEBUG
	movq	-136(%rbp), %rbx                ## 8-byte Reload
	testl	%ebx, %ebx
	jle	LBB0_85
## %bb.84:
	xorl	%edi, %edi
	movq	_EL_CAN_INSERT@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	sete	%dil
	leaq	L_.str.17(%rip), %rsi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_ELRE_DEBUG
	movq	%r15, %rdi
	movq	%r13, %rsi
	movl	%ebx, %edx
	callq	_terminal_insertwrite
	movl	%r12d, %edx
	movq	-128(%rbp), %rsi                ## 8-byte Reload
	subl	%esi, %edx
	movl	(%r15), %ecx
	movq	%r15, %rdi
	movq	%r13, %r8
	movl	%ebx, %r9d
	callq	_re_insert
LBB0_85:
	movslq	%ebx, %r14
	movq	-120(%rbp), %rbx                ## 8-byte Reload
	subq	%r14, %rbx
	addq	%r14, %r13
	movq	%r15, %rdi
	movq	%r13, %rsi
	movq	%rbx, %rdx
	callq	_terminal_overwrite
	addq	%r14, %r12
	jmp	LBB0_87
LBB0_86:
	leaq	L_.str.9(%rip), %rsi
	movl	$1, %edi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_ELRE_DEBUG
	movq	%r15, %rdi
	movq	%r13, %rsi
	movq	-120(%rbp), %rbx                ## 8-byte Reload
	movq	%rbx, %rdx
	callq	_terminal_overwrite
LBB0_87:
	movq	%r12, %rdi
	movq	%r13, %rsi
	movq	%rbx, %rdx
	callq	_re__strncopy
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
LBB0_88:
	testl	%ebx, %ebx
	js	LBB0_95
## %bb.89:
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	movl	%r12d, %ebx
	subl	-152(%rbp), %ebx                ## 4-byte Folded Reload
	movl	$1, %edi
	movl	%ebx, %esi
	movq	%rcx, %r15
	movq	%rdx, %r13
	callq	_ELRE_DEBUG
	movq	-96(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_terminal_move_to_char
	cmpq	%r13, %r15
	je	LBB0_93
## %bb.90:
	leaq	L_.str.7(%rip), %rsi
	movl	$1, %edi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_ELRE_DEBUG
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	testl	%ebx, %ebx
	je	LBB0_92
## %bb.91:
	xorl	%edi, %edi
	movq	_EL_CAN_INSERT@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	sete	%dil
	leaq	L_.str.19(%rip), %rsi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_ELRE_DEBUG
	movq	%r14, %rdi
	movq	%r12, %rsi
	movl	%ebx, %edx
	callq	_terminal_insertwrite
LBB0_92:
	movslq	%ebx, %rax
	addq	%rax, %r12
	movq	-112(%rbp), %rdx                ## 8-byte Reload
	subq	%rax, %rdx
	movq	%r14, %rdi
	movq	%r12, %rsi
	jmp	LBB0_94
LBB0_93:
	leaq	L_.str.9(%rip), %rsi
	movl	$1, %edi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_ELRE_DEBUG
	movq	%r14, %rdi
	movq	%r12, %rsi
	movq	-112(%rbp), %rdx                ## 8-byte Reload
LBB0_94:
	callq	_terminal_overwrite
LBB0_95:
	leaq	L_.str.20(%rip), %rsi
LBB0_96:
	movl	$1, %edi
                                        ## kill: def $esi killed $esi killed $rsi
	addq	$168, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ELRE_DEBUG                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	___F,4,2                        ## @__F
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"no difference.\r\n"

	.comm	_MIN_END_KEEP,4,2               ## @MIN_END_KEEP
	.comm	_EL_CAN_INSERT,4,2              ## @EL_CAN_INSERT
	.comm	_EL_CAN_DELETE,4,2              ## @EL_CAN_DELETE
L_.str.4:                               ## @.str.4
	.asciz	"xxx-xxx:\"00000000001111111111222222222233333333334\"\r\n"

L_.str.5:                               ## @.str.5
	.asciz	"xxx-xxx:\"01234567890123456789012345678901234567890\"\r\n"

L_.str.7:                               ## @.str.7
	.asciz	"with stuff to keep at end\r\n"

L_.str.8:                               ## @.str.8
	.asciz	"ERROR: cannot insert in early first diff\n"

L_.str.9:                               ## @.str.9
	.asciz	"without anything to save\r\n"

L_.str.11:                              ## @.str.11
	.asciz	"with stuff to save at end\r\n"

L_.str.12:                              ## @.str.12
	.asciz	"ERROR: cannot delete in first diff\n"

L_.str.13:                              ## @.str.13
	.asciz	"but with nothing left to save\r\n"

L_.str.15:                              ## @.str.15
	.asciz	"ERROR: cannot delete in second diff\n"

L_.str.17:                              ## @.str.17
	.asciz	"ERROR: cannot insert in late first diff\n"

L_.str.19:                              ## @.str.19
	.asciz	"ERROR: cannot insert in second diff\n"

L_.str.20:                              ## @.str.20
	.asciz	"done.\r\n"

	.no_dead_strip	_re_update_line
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function re_update_line
_re_update_line:                        ; @re_update_line
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #224
	.cfi_def_cfa_offset 224
	stp	x28, x27, [sp, #128]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #144]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #160]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #176]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #192]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #208]            ; 16-byte Folded Spill
	add	x29, sp, #208
	.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
	ldrb	w8, [x1]
	cbz	w8, LBB0_5
; %bb.1:
	mov	x22, x1
	mov	x21, x2
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w9, [x21]
	cmp	w8, w9
	b.ne	LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldrb	w8, [x22, #1]!
	add	x21, x21, #1
	cbnz	w8, LBB0_2
LBB0_4:
	mov	x27, x22
	cbnz	w8, LBB0_6
	b	LBB0_8
LBB0_5:
	mov	x21, x2
	mov	x22, x1
	mov	x27, x22
	cbz	w8, LBB0_8
LBB0_6:
	mov	x27, x22
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w8, [x27, #1]!
	cbnz	w8, LBB0_7
LBB0_8:
	mov	x8, #0
	add	w9, w27, w2
	sub	w9, w9, w1
	sub	w9, w9, w21
	mvn	w9, w9
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	mov	x20, x8
	add	x24, x27, x8
	cmp	x22, x24
	b.hs	LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	ldurb	w10, [x24, #-1]
	sub	x8, x20, #1
	cmp	w10, #32
	b.eq	LBB0_9
LBB0_11:
	str	x0, [sp, #80]                   ; 8-byte Folded Spill
	mov	x8, #0
	strb	wzr, [x24]
	sub	w9, w9, w20
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	ldrb	w10, [x21, x8]
	add	w9, w9, #1
	add	x8, x8, #1
	cbnz	w10, LBB0_12
	b	LBB0_14
LBB0_13:                                ;   in Loop: Header=BB0_14 Depth=1
	ldurb	w10, [x19, #-2]
	sub	x8, x25, #1
	sub	w9, w26, #1
	cmp	w10, #32
	b.ne	LBB0_15
LBB0_14:                                ; =>This Inner Loop Header: Depth=1
	mov	x25, x8
	mov	x26, x9
	add	x19, x21, x8
	sub	x8, x19, #1
	cmp	x21, x8
	b.lo	LBB0_13
LBB0_15:
	strb	wzr, [x19, #-1]!
	ldrb	w15, [x22]
	cbnz	w15, LBB0_17
; %bb.16:
	ldrb	w8, [x21]
	cbz	w8, LBB0_64
LBB0_17:
	mov	x8, #0
	add	x9, x21, x25
	add	x10, x27, x20
	str	w3, [sp, #96]                   ; 4-byte Folded Spill
LBB0_18:                                ; =>This Inner Loop Header: Depth=1
	add	x11, x10, x8
	cmp	x11, x22
	b.ls	LBB0_21
; %bb.19:                               ;   in Loop: Header=BB0_18 Depth=1
	add	x11, x9, x8
	sub	x11, x11, #1
	cmp	x11, x21
	b.ls	LBB0_21
; %bb.20:                               ;   in Loop: Header=BB0_18 Depth=1
	add	x11, x27, x8
	add	x11, x11, x20
	ldurb	w11, [x11, #-1]
	add	x12, x21, x8
	add	x12, x12, x25
	ldurb	w12, [x12, #-2]
	sub	x8, x8, #1
	cmp	w11, w12
	b.eq	LBB0_18
LBB0_21:
	add	x9, x21, x25
	add	x9, x9, x8
	sub	x12, x9, #1
	add	x9, x27, x20
	add	x11, x9, x8
	add	x13, x11, #1
	add	x14, x12, #1
	stur	x2, [x29, #-96]                 ; 8-byte Folded Spill
	cbz	w15, LBB0_34
; %bb.22:
	cmp	x21, x14
	b.hs	LBB0_34
; %bb.23:
	subs	x8, x12, x21
	csel	x8, xzr, x8, lo
	add	x16, x21, x8
	mov	x10, x14
	mov	x9, x14
	mov	x28, x13
	mov	x8, x13
	mov	x17, x21
	b	LBB0_27
LBB0_24:                                ;   in Loop: Header=BB0_27 Depth=1
	add	x0, x2, #1
	add	x5, x5, #1
LBB0_25:                                ;   in Loop: Header=BB0_27 Depth=1
	sub	x2, x10, x9
	sub	x3, x17, x21
	sub	x4, x0, x17
	cmp	x3, x4, lsl #1
	csel	x3, x8, x22, ge
	csel	x6, x28, x5, ge
	csel	x5, x9, x17, ge
	csel	x0, x10, x0, ge
	cmp	x2, x4
	csel	x8, x8, x3, ge
	csel	x28, x28, x6, ge
	csel	x9, x9, x5, ge
	csel	x10, x10, x0, ge
LBB0_26:                                ;   in Loop: Header=BB0_27 Depth=1
	add	x0, x17, #1
	cmp	x17, x16
	mov	x17, x0
	b.eq	LBB0_35
LBB0_27:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_32 Depth 2
	ldrb	w0, [x17]
	cmp	w15, w0
	b.ne	LBB0_26
; %bb.28:                               ;   in Loop: Header=BB0_27 Depth=1
	mov	x0, x17
	mov	x5, x22
	cmp	x17, x14
	b.hs	LBB0_25
; %bb.29:                               ;   in Loop: Header=BB0_27 Depth=1
	mov	x0, x17
	mov	x5, x22
	cmp	x22, x13
	b.hs	LBB0_25
; %bb.30:                               ;   in Loop: Header=BB0_27 Depth=1
	ldrb	w2, [x22]
	mov	x0, x17
	mov	x5, x22
	cmp	w2, w15
	b.ne	LBB0_25
; %bb.31:                               ;   in Loop: Header=BB0_27 Depth=1
	mov	x0, #0
LBB0_32:                                ;   Parent Loop BB0_27 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	add	x5, x22, x0
	add	x2, x17, x0
	cmp	x2, x12
	ccmp	x5, x11, #2, lo
	b.hs	LBB0_24
; %bb.33:                               ;   in Loop: Header=BB0_32 Depth=2
	ldrb	w3, [x2, #1]
	ldrb	w4, [x5, #1]
	add	x0, x0, #1
	cmp	w4, w3
	b.eq	LBB0_32
	b	LBB0_24
LBB0_34:
	mov	x8, x13
	mov	x28, x13
	mov	x9, x14
	mov	x10, x14
LBB0_35:
	ldrb	w15, [x21]
	cmp	w15, #0
	ccmp	x22, x13, #2, ne
	b.lo	LBB0_45
LBB0_36:
	sub	x11, x27, x11
	add	x11, x11, x20
	sub	x11, x11, #1
Lloh0:
	adrp	x12, _MIN_END_KEEP@GOTPAGE
Lloh1:
	ldr	x12, [x12, _MIN_END_KEEP@GOTPAGEOFF]
Lloh2:
	ldrsw	x17, [x12]
	cmp	x11, x17
	csel	x15, x24, x13, lt
	csel	x11, x19, x14, lt
	add	w12, w21, w8
	sub	w12, w22, w12
	add	w12, w12, w9
	add	w13, w10, w15
	sub	w13, w28, w13
	add	w13, w13, w11
Lloh3:
	adrp	x14, _EL_CAN_INSERT@GOTPAGE
Lloh4:
	ldr	x14, [x14, _EL_CAN_INSERT@GOTPAGEOFF]
Lloh5:
	ldr	w14, [x14]
	cbnz	w14, LBB0_38
; %bb.37:
	cmp	w12, #1
	csel	x8, x8, x15, lt
	csel	x28, x28, x15, lt
	csel	x9, x9, x11, lt
	csel	x10, x10, x11, lt
	cmp	w13, #0
	csel	x14, x24, x15, gt
	csel	x11, x19, x11, gt
	sub	x15, x14, x22
	sub	x16, x11, x21
	cmp	x15, x16
	csel	x15, x24, x14, lt
	csel	x11, x19, x11, lt
LBB0_38:
Lloh6:
	adrp	x14, _EL_CAN_DELETE@GOTPAGE
Lloh7:
	ldr	x14, [x14, _EL_CAN_DELETE@GOTPAGEOFF]
Lloh8:
	ldr	w14, [x14]
	stur	x1, [x29, #-88]                 ; 8-byte Folded Spill
	cbnz	w14, LBB0_40
; %bb.39:
	tst	w12, #0x80000000
	csel	x8, x8, x15, eq
	csel	x28, x28, x15, eq
	csel	x9, x9, x11, eq
	csel	x10, x10, x11, eq
	cmp	w13, #0
	csel	x12, x24, x15, lt
	csel	x11, x19, x11, lt
	sub	x13, x12, x22
	sub	x14, x11, x21
	cmp	x13, x14
	csel	x15, x24, x12, gt
	csel	x11, x19, x11, gt
LBB0_40:
	sub	x12, x28, x8
	stp	x12, x17, [sp, #32]             ; 16-byte Folded Spill
	cmp	x12, x17
	csel	x12, x15, x28, lt
	csel	x13, x15, x8, lt
	csel	x8, x11, x9, lt
	str	x8, [sp, #104]                  ; 8-byte Folded Spill
	csel	x9, x11, x10, lt
	subs	x8, x8, x21
	stp	x13, x12, [sp, #8]              ; 16-byte Folded Spill
	sub	x10, x13, x22
	sub	x23, x8, x10
	str	x9, [sp, #64]                   ; 8-byte Folded Spill
	sub	x9, x11, x9
	str	x15, [sp, #88]                  ; 8-byte Folded Spill
	sub	x8, x12, x15
	stp	x10, x9, [sp, #48]              ; 16-byte Folded Spill
	add	x1, x9, x8
	mov	w0, #1
	str	x1, [sp, #72]                   ; 8-byte Folded Spill
                                        ; kill: def $w1 killed $w1 killed $x1
	bl	_ELRE_DEBUG
	ldur	x8, [x29, #-88]                 ; 8-byte Folded Reload
	sub	w8, w27, w8
	mov	x27, x23
	add	w1, w8, w20
	mov	w0, #1
	bl	_ELRE_DEBUG
	ldur	x8, [x29, #-96]                 ; 8-byte Folded Reload
	sub	w8, w21, w8
	add	w8, w8, w25
	sub	w1, w8, #1
	mov	w0, #1
	bl	_ELRE_DEBUG
Lloh9:
	adrp	x1, l_.str.4@PAGE
Lloh10:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	w0, #1
                                        ; kill: def $w1 killed $w1 killed $x1
	bl	_ELRE_DEBUG
Lloh11:
	adrp	x1, l_.str.5@PAGE
Lloh12:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	w0, #1
                                        ; kill: def $w1 killed $w1 killed $x1
	bl	_ELRE_DEBUG
	ldr	x25, [sp, #80]                  ; 8-byte Folded Reload
	mov	x0, x25
	ldr	w1, [sp, #96]                   ; 4-byte Folded Reload
	bl	_terminal_move_to_line
	ldr	x8, [sp, #104]                  ; 8-byte Folded Reload
	subs	x8, x8, x21
	str	x8, [sp, #96]                   ; 8-byte Folded Spill
	str	x23, [sp, #24]                  ; 8-byte Folded Spill
	b.eq	LBB0_56
; %bb.41:
	cmp	w27, #1
	b.lt	LBB0_56
; %bb.42:
	ldp	x9, x8, [sp, #32]               ; 16-byte Folded Reload
	cmp	x9, x8
	ldr	x9, [sp, #88]                   ; 8-byte Folded Reload
	csel	x8, x9, x28, lt
	cmp	x24, x9
	csel	x8, x8, x24, eq
	sxtw	x23, w27
	ldur	x9, [x29, #-88]                 ; 8-byte Folded Reload
	sub	x8, x8, x9
	add	x8, x8, x23
	ldrsw	x9, [x25]
	cmp	x8, x9
	b.gt	LBB0_57
; %bb.43:
	ldur	x8, [x29, #-96]                 ; 8-byte Folded Reload
	sub	w20, w21, w8
	mov	w0, #1
	mov	x1, x20
	bl	_ELRE_DEBUG
	mov	x0, x25
	mov	x1, x20
	bl	_terminal_move_to_char
	ldr	x8, [sp, #104]                  ; 8-byte Folded Reload
	cmp	x19, x8
	b.eq	LBB0_65
; %bb.44:
Lloh13:
	adrp	x1, l_.str.7@PAGE
Lloh14:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	w0, #1
                                        ; kill: def $w1 killed $w1 killed $x1
	bl	_ELRE_DEBUG
Lloh15:
	adrp	x8, _EL_CAN_INSERT@GOTPAGE
Lloh16:
	ldr	x8, [x8, _EL_CAN_INSERT@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	cmp	w8, #0
	cset	w0, eq
Lloh18:
	adrp	x1, l_.str.8@PAGE
Lloh19:
	add	x1, x1, l_.str.8@PAGEOFF
                                        ; kill: def $w1 killed $w1 killed $x1
	bl	_ELRE_DEBUG
	mov	x0, x25
	mov	x1, x21
	mov	x2, x27
	bl	_terminal_insertwrite
	ldur	x28, [x29, #-88]                ; 8-byte Folded Reload
	sub	w2, w22, w28
	ldr	w3, [x25]
	mov	x0, x25
	mov	x1, x28
	mov	x4, x21
	mov	x5, x27
	bl	_re_insert
	ldr	x8, [sp, #96]                   ; 8-byte Folded Reload
	sub	x20, x8, x23
	add	x27, x21, x23
	mov	x0, x25
	mov	x1, x27
	mov	x2, x20
	bl	_terminal_overwrite
	add	x0, x22, x23
	mov	x23, x28
	mov	x1, x27
	mov	x2, x20
	bl	_re__strncopy
	ldr	x8, [sp, #24]                   ; 8-byte Folded Reload
	mov	x27, x8
	ldr	x28, [sp, #72]                  ; 8-byte Folded Reload
	ldur	x10, [x29, #-96]                ; 8-byte Folded Reload
	tbz	w28, #31, LBB0_69
	b	LBB0_59
LBB0_45:
	subs	x16, x11, x22
	csel	x16, xzr, x16, lo
	add	x16, x22, x16
	mov	x17, x22
	b	LBB0_49
LBB0_46:                                ;   in Loop: Header=BB0_49 Depth=1
	add	x0, x2, #1
	add	x6, x5, #1
LBB0_47:                                ;   in Loop: Header=BB0_49 Depth=1
	sub	x2, x28, x8
	sub	x3, x17, x22
	sub	x4, x0, x17
	cmp	x3, x4, lsl #1
	csel	x3, x8, x17, ge
	csel	x0, x28, x0, ge
	csel	x5, x9, x21, ge
	csel	x6, x10, x6, ge
	cmp	x2, x4
	csel	x8, x8, x3, ge
	csel	x28, x28, x0, ge
	csel	x9, x9, x5, ge
	csel	x10, x10, x6, ge
LBB0_48:                                ;   in Loop: Header=BB0_49 Depth=1
	add	x0, x17, #1
	cmp	x17, x16
	mov	x17, x0
	b.eq	LBB0_36
LBB0_49:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_54 Depth 2
	ldrb	w0, [x17]
	cmp	w15, w0
	b.ne	LBB0_48
; %bb.50:                               ;   in Loop: Header=BB0_49 Depth=1
	mov	x0, x17
	mov	x6, x21
	cmp	x17, x13
	b.hs	LBB0_47
; %bb.51:                               ;   in Loop: Header=BB0_49 Depth=1
	mov	x0, x17
	mov	x6, x21
	cmp	x21, x14
	b.hs	LBB0_47
; %bb.52:                               ;   in Loop: Header=BB0_49 Depth=1
	ldrb	w2, [x21]
	mov	x0, x17
	mov	x6, x21
	cmp	w15, w2
	b.ne	LBB0_47
; %bb.53:                               ;   in Loop: Header=BB0_49 Depth=1
	mov	x0, #0
LBB0_54:                                ;   Parent Loop BB0_49 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	add	x5, x21, x0
	add	x2, x17, x0
	cmp	x2, x11
	ccmp	x5, x12, #2, lo
	b.hs	LBB0_46
; %bb.55:                               ;   in Loop: Header=BB0_54 Depth=2
	ldrb	w3, [x2, #1]
	ldrb	w4, [x5, #1]
	add	x0, x0, #1
	cmp	w3, w4
	b.eq	LBB0_54
	b	LBB0_46
LBB0_56:
	tbnz	w27, #31, LBB0_62
LBB0_57:
	mov	w27, #0
	ldp	x10, x23, [x29, #-96]           ; 16-byte Folded Reload
LBB0_58:
	ldr	x28, [sp, #72]                  ; 8-byte Folded Reload
	tbz	w28, #31, LBB0_69
LBB0_59:
	ldr	x8, [sp, #16]                   ; 8-byte Folded Reload
	sub	x8, x8, x23
	add	x20, x8, w27, sxtw
	ldrsw	x8, [x25]
	cmp	x20, x8
	b.ge	LBB0_69
; %bb.60:
	mov	w0, #1
	mov	x1, x20
	bl	_ELRE_DEBUG
	mov	x0, x25
	mov	x1, x20
	bl	_terminal_move_to_char
	ldr	x8, [sp, #88]                   ; 8-byte Folded Reload
	cmp	x24, x8
	b.eq	LBB0_67
; %bb.61:
Lloh20:
	adrp	x1, l_.str.11@PAGE
Lloh21:
	add	x1, x1, l_.str.11@PAGEOFF
	mov	w0, #1
                                        ; kill: def $w1 killed $w1 killed $x1
	bl	_ELRE_DEBUG
Lloh22:
	adrp	x8, _EL_CAN_DELETE@GOTPAGE
Lloh23:
	ldr	x8, [x8, _EL_CAN_DELETE@GOTPAGEOFF]
Lloh24:
	ldr	w8, [x8]
	cmp	w8, #0
	cset	w0, eq
Lloh25:
	adrp	x1, l_.str.15@PAGE
Lloh26:
	add	x1, x1, l_.str.15@PAGEOFF
                                        ; kill: def $w1 killed $w1 killed $x1
	bl	_ELRE_DEBUG
	neg	w1, w28
	mov	x0, x25
	bl	_terminal_deletechars
	mov	x0, x25
	ldp	x2, x1, [sp, #56]               ; 16-byte Folded Reload
	bl	_terminal_overwrite
	b	LBB0_68
LBB0_62:
	ldur	x23, [x29, #-88]                ; 8-byte Folded Reload
	sub	w27, w22, w23
	mov	w0, #1
	mov	x1, x27
	bl	_ELRE_DEBUG
	mov	x0, x25
	mov	x1, x27
	bl	_terminal_move_to_char
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	cmp	x24, x8
	b.eq	LBB0_66
; %bb.63:
Lloh27:
	adrp	x1, l_.str.11@PAGE
Lloh28:
	add	x1, x1, l_.str.11@PAGEOFF
	mov	w0, #1
                                        ; kill: def $w1 killed $w1 killed $x1
	bl	_ELRE_DEBUG
Lloh29:
	adrp	x8, _EL_CAN_DELETE@GOTPAGE
Lloh30:
	ldr	x8, [x8, _EL_CAN_DELETE@GOTPAGEOFF]
Lloh31:
	ldr	w8, [x8]
	cmp	w8, #0
	cset	w0, eq
Lloh32:
	adrp	x1, l_.str.12@PAGE
Lloh33:
	add	x1, x1, l_.str.12@PAGEOFF
                                        ; kill: def $w1 killed $w1 killed $x1
	bl	_ELRE_DEBUG
	ldr	x28, [sp, #24]                  ; 8-byte Folded Reload
	neg	w20, w28
	mov	x0, x25
	mov	x1, x20
	bl	_terminal_deletechars
	ldr	w3, [x25]
	mov	x0, x25
	mov	x1, x23
	mov	x2, x27
	mov	x4, x20
	bl	_re_delete
	mov	x0, x25
	mov	x1, x21
	ldr	x20, [sp, #96]                  ; 8-byte Folded Reload
	mov	x2, x20
	bl	_terminal_overwrite
	mov	x0, x22
	mov	x1, x21
	mov	x2, x20
	bl	_re__strncopy
	mov	x27, x28
	ldur	x10, [x29, #-96]                ; 8-byte Folded Reload
	b	LBB0_58
LBB0_64:
Lloh34:
	adrp	x1, l_.str@PAGE
Lloh35:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_86
LBB0_65:
Lloh36:
	adrp	x1, l_.str.9@PAGE
Lloh37:
	add	x1, x1, l_.str.9@PAGEOFF
	mov	w0, #1
                                        ; kill: def $w1 killed $w1 killed $x1
	bl	_ELRE_DEBUG
	mov	x0, x25
	mov	x1, x21
	ldr	x19, [sp, #96]                  ; 8-byte Folded Reload
	mov	x2, x19
	bl	_terminal_overwrite
	mov	x0, x22
	mov	x1, x21
	mov	x2, x19
	ldp	x29, x30, [sp, #208]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #192]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #176]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #160]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #144]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #128]            ; 16-byte Folded Reload
	add	sp, sp, #224
	b	_re__strncopy
LBB0_66:
Lloh38:
	adrp	x1, l_.str.13@PAGE
Lloh39:
	add	x1, x1, l_.str.13@PAGEOFF
	mov	w0, #1
                                        ; kill: def $w1 killed $w1 killed $x1
	bl	_ELRE_DEBUG
	mov	x0, x25
	mov	x1, x21
	ldr	x2, [sp, #96]                   ; 8-byte Folded Reload
	bl	_terminal_overwrite
	neg	w3, w26
	mov	x0, x25
	ldr	x1, [sp, #24]                   ; 8-byte Folded Reload
                                        ; kill: def $w1 killed $w1 killed $x1
	ldr	x2, [sp, #72]                   ; 8-byte Folded Reload
                                        ; kill: def $w2 killed $w2 killed $x2
	ldp	x29, x30, [sp, #208]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #192]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #176]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #160]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #144]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #128]            ; 16-byte Folded Reload
	add	sp, sp, #224
	b	_re_clear_eol
LBB0_67:
Lloh40:
	adrp	x1, l_.str.13@PAGE
Lloh41:
	add	x1, x1, l_.str.13@PAGEOFF
	mov	w0, #1
                                        ; kill: def $w1 killed $w1 killed $x1
	bl	_ELRE_DEBUG
	mov	x0, x25
	ldp	x2, x1, [sp, #56]               ; 16-byte Folded Reload
	bl	_terminal_overwrite
	neg	w3, w26
	mov	x0, x25
	mov	x1, x27
	mov	x2, x28
	bl	_re_clear_eol
LBB0_68:
	ldur	x10, [x29, #-96]                ; 8-byte Folded Reload
LBB0_69:
	ldr	x26, [sp, #104]                 ; 8-byte Folded Reload
	cmp	x26, x21
	b.eq	LBB0_78
; %bb.70:
	ldr	x8, [sp, #96]                   ; 8-byte Folded Reload
	ldr	x9, [sp, #48]                   ; 8-byte Folded Reload
	cmp	x8, x9
	b.lt	LBB0_78
; %bb.71:
	cbnz	w27, LBB0_78
; %bb.72:
	mov	x27, x10
	sub	w20, w21, w10
	mov	w0, #1
	mov	x1, x20
	bl	_ELRE_DEBUG
	mov	x0, x25
	mov	x1, x20
	bl	_terminal_move_to_char
	cmp	x19, x26
	b.eq	LBB0_76
; %bb.73:
Lloh42:
	adrp	x1, l_.str.7@PAGE
Lloh43:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	w0, #1
                                        ; kill: def $w1 killed $w1 killed $x1
	bl	_ELRE_DEBUG
	ldr	x19, [sp, #24]                  ; 8-byte Folded Reload
	cmp	w19, #1
	b.lt	LBB0_75
; %bb.74:
Lloh44:
	adrp	x8, _EL_CAN_INSERT@GOTPAGE
Lloh45:
	ldr	x8, [x8, _EL_CAN_INSERT@GOTPAGEOFF]
Lloh46:
	ldr	w8, [x8]
	cmp	w8, #0
	cset	w0, eq
Lloh47:
	adrp	x1, l_.str.17@PAGE
Lloh48:
	add	x1, x1, l_.str.17@PAGEOFF
                                        ; kill: def $w1 killed $w1 killed $x1
	bl	_ELRE_DEBUG
	mov	x0, x25
	mov	x1, x21
	mov	x2, x19
	bl	_terminal_insertwrite
	sub	w2, w22, w23
	ldr	w3, [x25]
	mov	x0, x25
	mov	x1, x23
	mov	x4, x21
	mov	x5, x19
	bl	_re_insert
LBB0_75:
	sxtw	x19, w19
	ldr	x8, [sp, #96]                   ; 8-byte Folded Reload
	sub	x20, x8, x19
	add	x21, x21, x19
	mov	x0, x25
	mov	x1, x21
	mov	x2, x20
	bl	_terminal_overwrite
	add	x0, x22, x19
	mov	x1, x21
	mov	x2, x20
	b	LBB0_77
LBB0_76:
Lloh49:
	adrp	x1, l_.str.9@PAGE
Lloh50:
	add	x1, x1, l_.str.9@PAGEOFF
	mov	w0, #1
                                        ; kill: def $w1 killed $w1 killed $x1
	bl	_ELRE_DEBUG
	mov	x0, x25
	mov	x1, x21
	ldr	x19, [sp, #96]                  ; 8-byte Folded Reload
	mov	x2, x19
	bl	_terminal_overwrite
	mov	x0, x22
	mov	x1, x21
	mov	x2, x19
LBB0_77:
	bl	_re__strncopy
	mov	x10, x27
LBB0_78:
	tbnz	w28, #31, LBB0_85
; %bb.79:
	ldr	x19, [sp, #64]                  ; 8-byte Folded Reload
	sub	w20, w19, w10
	mov	w0, #1
	mov	x1, x20
	bl	_ELRE_DEBUG
	mov	x0, x25
	mov	x1, x20
	bl	_terminal_move_to_char
	ldr	x8, [sp, #88]                   ; 8-byte Folded Reload
	cmp	x24, x8
	b.eq	LBB0_83
; %bb.80:
Lloh51:
	adrp	x1, l_.str.7@PAGE
Lloh52:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	w0, #1
                                        ; kill: def $w1 killed $w1 killed $x1
	bl	_ELRE_DEBUG
	cbz	w28, LBB0_82
; %bb.81:
Lloh53:
	adrp	x8, _EL_CAN_INSERT@GOTPAGE
Lloh54:
	ldr	x8, [x8, _EL_CAN_INSERT@GOTPAGEOFF]
Lloh55:
	ldr	w8, [x8]
	cmp	w8, #0
	cset	w0, eq
Lloh56:
	adrp	x1, l_.str.19@PAGE
Lloh57:
	add	x1, x1, l_.str.19@PAGEOFF
                                        ; kill: def $w1 killed $w1 killed $x1
	bl	_ELRE_DEBUG
	mov	x0, x25
	mov	x1, x19
	mov	x2, x28
	bl	_terminal_insertwrite
LBB0_82:
	sxtw	x8, w28
	add	x1, x19, x8
	ldr	x9, [sp, #56]                   ; 8-byte Folded Reload
	sub	x2, x9, x8
	mov	x0, x25
	b	LBB0_84
LBB0_83:
Lloh58:
	adrp	x1, l_.str.9@PAGE
Lloh59:
	add	x1, x1, l_.str.9@PAGEOFF
	mov	w0, #1
                                        ; kill: def $w1 killed $w1 killed $x1
	bl	_ELRE_DEBUG
	mov	x0, x25
	mov	x1, x19
	ldr	x2, [sp, #56]                   ; 8-byte Folded Reload
LBB0_84:
	bl	_terminal_overwrite
LBB0_85:
Lloh60:
	adrp	x1, l_.str.20@PAGE
Lloh61:
	add	x1, x1, l_.str.20@PAGEOFF
LBB0_86:
	mov	w0, #1
                                        ; kill: def $w1 killed $w1 killed $x1
	ldp	x29, x30, [sp, #208]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #192]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #176]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #160]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #144]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #128]            ; 16-byte Folded Reload
	add	sp, sp, #224
	b	_ELRE_DEBUG
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpAdd	Lloh42, Lloh43
	.loh AdrpAdd	Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpAdd	Lloh49, Lloh50
	.loh AdrpAdd	Lloh51, Lloh52
	.loh AdrpAdd	Lloh56, Lloh57
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpAdd	Lloh58, Lloh59
	.loh AdrpAdd	Lloh60, Lloh61
	.cfi_endproc
                                        ; -- End function
	.comm	___F,4,2                        ; @__F
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"no difference.\r\n"

	.comm	_MIN_END_KEEP,4,2               ; @MIN_END_KEEP
	.comm	_EL_CAN_INSERT,4,2              ; @EL_CAN_INSERT
	.comm	_EL_CAN_DELETE,4,2              ; @EL_CAN_DELETE
l_.str.4:                               ; @.str.4
	.asciz	"xxx-xxx:\"00000000001111111111222222222233333333334\"\r\n"

l_.str.5:                               ; @.str.5
	.asciz	"xxx-xxx:\"01234567890123456789012345678901234567890\"\r\n"

l_.str.7:                               ; @.str.7
	.asciz	"with stuff to keep at end\r\n"

l_.str.8:                               ; @.str.8
	.asciz	"ERROR: cannot insert in early first diff\n"

l_.str.9:                               ; @.str.9
	.asciz	"without anything to save\r\n"

l_.str.11:                              ; @.str.11
	.asciz	"with stuff to save at end\r\n"

l_.str.12:                              ; @.str.12
	.asciz	"ERROR: cannot delete in first diff\n"

l_.str.13:                              ; @.str.13
	.asciz	"but with nothing left to save\r\n"

l_.str.15:                              ; @.str.15
	.asciz	"ERROR: cannot delete in second diff\n"

l_.str.17:                              ; @.str.17
	.asciz	"ERROR: cannot insert in late first diff\n"

l_.str.19:                              ; @.str.19
	.asciz	"ERROR: cannot insert in second diff\n"

l_.str.20:                              ; @.str.20
	.asciz	"done.\r\n"

	.no_dead_strip	_re_update_line
.subsections_via_symbols
