	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function re_insert
_re_insert:                             ## @re_insert
	.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
	testl	%r9d, %r9d
	jle	LBB0_48
## %bb.1:
	movl	%ecx, %r14d
	movq	%rsi, %r13
	movq	%rdi, %r12
	movl	%ecx, %r15d
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	subl	%edx, %r15d
	cmpl	%r9d, %r15d
	cmovgel	%r9d, %r15d
	movq	%rsi, %rdi
	movq	%r12, %rsi
	movq	%r8, %rbx
	callq	_ct_encode_string
	movl	$1, %edi
	movl	%eax, %esi
	callq	_ELRE_DEBUG
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	movq	%r12, -112(%rbp)                ## 8-byte Spill
	movq	%r12, %rsi
	callq	_ct_encode_string
	movl	$1, %edi
	movl	%eax, %esi
	callq	_ELRE_DEBUG
	testl	%r15d, %r15d
	movq	%r13, %rax
	movq	%r13, -64(%rbp)                 ## 8-byte Spill
	movl	%r14d, -76(%rbp)                ## 4-byte Spill
	jle	LBB0_2
## %bb.3:
	movslq	%r14d, %r14
	leaq	(%r14,%r13), %r9
	leaq	(%r14,%r13), %rcx
	decq	%rcx
	movl	%r15d, %r12d
	movq	%rcx, %rdx
	subq	%r12, %rdx
	movslq	-44(%rbp), %rbx                 ## 4-byte Folded Reload
	leaq	(%rbx,%r13), %rsi
	cmpq	%rsi, %rdx
	movq	%r13, %rdi
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	movq	%rbx, -96(%rbp)                 ## 8-byte Spill
	jb	LBB0_23
## %bb.4:
	movq	%r9, %r11
	subq	%r12, %r11
	addq	$-2, %r11
	leaq	(%rdi,%rbx), %rax
	decq	%rax
	cmpq	%rax, %r11
	cmovaeq	%rax, %r11
	notq	%r11
	addq	%r9, %r11
	subq	%r12, %r11
	cmpq	$8, %r11
	jae	LBB0_5
	.p2align	4, 0x90
LBB0_22:                                ## =>This Inner Loop Header: Depth=1
	movzbl	(%rdx), %eax
	decq	%rdx
	movb	%al, (%rcx)
	decq	%rcx
	cmpq	%rsi, %rdx
	jae	LBB0_22
LBB0_23:
	movb	$0, (%r9)
	movl	-44(%rbp), %r12d                ## 4-byte Reload
	movq	%r13, %rbx
	jmp	LBB0_24
LBB0_2:
	movl	-44(%rbp), %r12d                ## 4-byte Reload
	movslq	%r14d, %r14
	movslq	%r12d, %rax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	movq	%r13, %rdi
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
LBB0_24:
	movq	-112(%rbp), %r13                ## 8-byte Reload
	movq	%r13, %rsi
	callq	_ct_encode_string
	movl	$1, %edi
	movl	%eax, %esi
	callq	_ELRE_DEBUG
	movq	%rbx, %rdi
	movq	%r13, %rsi
	callq	_ct_encode_string
	movl	$1, %edi
	movl	%eax, %esi
	callq	_ELRE_DEBUG
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	cmpl	%r12d, -76(%rbp)                ## 4-byte Folded Reload
	jle	LBB0_48
## %bb.25:
	testl	%r15d, %r15d
	jle	LBB0_48
## %bb.26:
	addq	%rsi, %r14
	movq	-96(%rbp), %r10                 ## 8-byte Reload
	leaq	(%rsi,%r10), %rax
	incq	%rax
	cmpq	%r14, %rax
	cmovbeq	%r14, %rax
	movq	%r10, %rcx
	notq	%rcx
	addq	%rax, %rcx
	leal	-1(%r15), %eax
	movq	%rcx, %rdx
	subq	%rsi, %rdx
	cmpq	%rdx, %rax
	cmovbq	%rax, %rdx
	incq	%rdx
	cmpq	%rsi, %rcx
	movl	$1, %r8d
	cmovneq	%rdx, %r8
	leaq	(%rsi,%r10), %r11
	cmpq	$8, %r8
	jae	LBB0_28
## %bb.27:
	movq	%r11, %rdi
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	jmp	LBB0_45
LBB0_28:
	leaq	(%rsi,%r10), %rcx
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	subq	%rax, %rcx
	cmpq	$32, %rcx
	jae	LBB0_30
## %bb.29:
	movq	%r11, %rdi
	movq	%rax, %rbx
	jmp	LBB0_45
LBB0_5:
	leaq	(%rdi,%r14), %r8
	addq	$-2, %r8
	movq	%r8, %rbx
	subq	%r12, %rbx
	cmpq	%rax, %rbx
	cmovaeq	%rax, %rbx
	addq	%r12, %rbx
	subq	%rbx, %r8
	movq	%rcx, %rax
	subq	%r8, %rax
	cmpq	%rcx, %rax
	ja	LBB0_22
## %bb.6:
	movq	%rdx, %rax
	subq	%r8, %rax
	cmpq	%rdx, %rax
	ja	LBB0_22
## %bb.7:
	cmpq	$32, %r11
	movq	%r9, -88(%rbp)                  ## 8-byte Spill
	jae	LBB0_9
## %bb.8:
	xorl	%ebx, %ebx
	jmp	LBB0_19
LBB0_30:
	movabsq	$8589934560, %rsi               ## imm = 0x1FFFFFFE0
	cmpq	$32, %r8
	jae	LBB0_32
## %bb.31:
	xorl	%edx, %edx
	jmp	LBB0_42
LBB0_32:
	movq	%r8, %rdx
	andq	%rsi, %rdx
	leaq	-32(%rdx), %rcx
	movq	%rcx, %rdi
	shrq	$5, %rdi
	incq	%rdi
	movl	%edi, %r9d
	andl	$3, %r9d
	cmpq	$96, %rcx
	jae	LBB0_34
## %bb.33:
	xorl	%ecx, %ecx
	jmp	LBB0_36
LBB0_9:
	movq	%r11, %rbx
	andq	$-32, %rbx
	leaq	-32(%rbx), %rax
	movq	%rax, %r8
	shrq	$5, %r8
	incq	%r8
	testq	%rax, %rax
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	je	LBB0_10
## %bb.11:
	movq	%r12, %rax
	movabsq	$1152921504606846972, %r10      ## imm = 0xFFFFFFFFFFFFFFC
	orq	$2, %r10
	movq	%r8, -104(%rbp)                 ## 8-byte Spill
	andq	%r8, %r10
	leaq	-16(%r14), %r8
	subq	%r12, %r8
	addq	%rdi, %r8
	leaq	(%rdi,%r14), %r9
	addq	$-16, %r9
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movups	-16(%r8,%rax), %xmm0
	movups	(%r8,%rax), %xmm1
	movups	%xmm1, (%r9,%rax)
	movups	%xmm0, -16(%r9,%rax)
	movups	-48(%r8,%rax), %xmm0
	movups	-32(%r8,%rax), %xmm1
	movups	%xmm1, -32(%r9,%rax)
	movups	%xmm0, -48(%r9,%rax)
	addq	$-64, %rax
	addq	$-2, %r10
	jne	LBB0_12
## %bb.13:
	negq	%rax
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	-88(%rbp), %r9                  ## 8-byte Reload
	movq	-104(%rbp), %r8                 ## 8-byte Reload
	jmp	LBB0_14
LBB0_34:
	andq	$-4, %rdi
	movq	%r10, %rbx
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	leaq	(%r10,%rcx), %rbx
	addq	$112, %rbx
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_35:                                ## =>This Inner Loop Header: Depth=1
	movups	(%rax,%rcx), %xmm0
	movups	16(%rax,%rcx), %xmm1
	movups	%xmm0, -112(%rbx,%rcx)
	movups	%xmm1, -96(%rbx,%rcx)
	movups	32(%rax,%rcx), %xmm0
	movups	48(%rax,%rcx), %xmm1
	movups	%xmm0, -80(%rbx,%rcx)
	movups	%xmm1, -64(%rbx,%rcx)
	movups	64(%rax,%rcx), %xmm0
	movups	80(%rax,%rcx), %xmm1
	movups	%xmm0, -48(%rbx,%rcx)
	movups	%xmm1, -32(%rbx,%rcx)
	movups	96(%rax,%rcx), %xmm0
	movups	112(%rax,%rcx), %xmm1
	movups	%xmm0, -16(%rbx,%rcx)
	movups	%xmm1, (%rbx,%rcx)
	subq	$-128, %rcx
	addq	$-4, %rdi
	jne	LBB0_35
LBB0_36:
	testq	%r9, %r9
	je	LBB0_39
## %bb.37:
	leaq	(%rcx,%rax), %rdi
	addq	$16, %rdi
	addq	%rcx, %r10
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	addq	%r10, %rcx
	addq	$16, %rcx
	shlq	$5, %r9
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_38:                                ## =>This Inner Loop Header: Depth=1
	movups	-16(%rdi,%rbx), %xmm0
	movups	(%rdi,%rbx), %xmm1
	movups	%xmm0, -16(%rcx,%rbx)
	movups	%xmm1, (%rcx,%rbx)
	addq	$32, %rbx
	cmpq	%rbx, %r9
	jne	LBB0_38
LBB0_39:
	cmpq	%rdx, %r8
	je	LBB0_48
## %bb.40:
	testb	$24, %r8b
	je	LBB0_50
## %bb.41:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
LBB0_42:
	addq	$24, %rsi
	andq	%r8, %rsi
	leaq	(%r11,%rsi), %rdi
	subl	%esi, %r15d
	leaq	(%rax,%rsi), %rbx
	.p2align	4, 0x90
LBB0_43:                                ## =>This Inner Loop Header: Depth=1
	movq	(%rax,%rdx), %rcx
	movq	%rcx, (%r11,%rdx)
	addq	$8, %rdx
	cmpq	%rdx, %rsi
	jne	LBB0_43
## %bb.44:
	cmpq	%rsi, %r8
	jne	LBB0_45
	jmp	LBB0_48
LBB0_10:
	xorl	%eax, %eax
LBB0_14:
	testb	$1, %r8b
	je	LBB0_16
## %bb.15:
	movq	%rcx, %r8
	subq	%rax, %r8
	movq	%rdx, %rbx
	subq	%rax, %rbx
	movups	-31(%rbx), %xmm0
	movups	-15(%rbx), %xmm1
	movups	%xmm1, -15(%r8)
	movups	%xmm0, -31(%r8)
LBB0_16:
	cmpq	-72(%rbp), %r11                 ## 8-byte Folded Reload
	je	LBB0_23
## %bb.17:
	testb	$24, %r11b
	je	LBB0_49
## %bb.18:
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
LBB0_19:
	movq	%r11, %r8
	andq	$-8, %r8
	subq	%r8, %rcx
	subq	%r8, %rdx
	movq	%r14, %rax
	subq	%rbx, %rax
	negq	%r12
	leaq	(%rax,%r12), %r9
	addq	$-8, %r9
	addq	%rdi, %r9
	leaq	(%rdi,%rax), %r10
	addq	$-8, %r10
	subq	%r8, %rbx
	movq	%rbx, %r12
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_20:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r9,%rbx), %rax
	movq	%rax, (%r10,%rbx)
	addq	$-8, %rbx
	cmpq	%rbx, %r12
	jne	LBB0_20
## %bb.21:
	cmpq	%r8, %r11
	movq	-88(%rbp), %r9                  ## 8-byte Reload
	jne	LBB0_22
	jmp	LBB0_23
LBB0_50:
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	addq	%rdx, %rbx
	subl	%edx, %r15d
	addq	%rdx, %r11
	movq	%r11, %rdi
LBB0_45:
	incq	%rdi
	.p2align	4, 0x90
LBB0_46:                                ## =>This Inner Loop Header: Depth=1
	movzbl	(%rbx), %eax
	movb	%al, -1(%rdi)
	cmpq	%r14, %rdi
	jae	LBB0_48
## %bb.47:                              ##   in Loop: Header=BB0_46 Depth=1
	incq	%rbx
	leal	-1(%r15), %eax
	incq	%rdi
	cmpl	$1, %r15d
	movl	%eax, %r15d
	ja	LBB0_46
LBB0_48:
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_49:
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	subq	%rax, %rdx
	subq	%rax, %rcx
	jmp	LBB0_22
	.cfi_endproc
                                        ## -- End function
	.comm	___F,4,2                        ## @__F
	.no_dead_strip	_re_insert
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function re_insert
_re_insert:                             ; @re_insert
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	cmp	w5, #1
	b.lt	LBB0_15
; %bb.1:
	mov	x20, x4
	mov	x21, x3
	mov	x22, x2
	mov	x19, x1
	mov	x23, x0
	sub	w8, w3, w2
	cmp	w8, w5
	csel	w24, w8, w5, lt
	mov	x0, x1
	mov	x1, x23
	bl	_ct_encode_string
	mov	x1, x0
	mov	w0, #1
	bl	_ELRE_DEBUG
	mov	x0, x20
	mov	x1, x23
	bl	_ct_encode_string
	mov	x1, x0
	mov	w0, #1
	bl	_ELRE_DEBUG
	cmp	w24, #0
	b.le	LBB0_6
; %bb.2:
	sxtw	x25, w21
	add	x8, x19, x25
	sub	x9, x8, #1
	sub	x11, x9, x24
	sxtw	x26, w22
	add	x10, x19, x26
	cmp	x11, x10
	b.lo	LBB0_5
; %bb.3:
	neg	x11, x24
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w12, [x9, x11]
	strb	w12, [x9], #-1
	add	x12, x9, x11
	cmp	x12, x10
	b.hs	LBB0_4
LBB0_5:
	strb	wzr, [x8]
	b	LBB0_7
LBB0_6:
	mov	x8, x22
	sxtw	x26, w8
	mov	x8, x21
	sxtw	x25, w8
LBB0_7:
	mov	x0, x19
	mov	x1, x23
	bl	_ct_encode_string
	mov	x1, x0
	mov	w0, #1
	bl	_ELRE_DEBUG
	mov	x0, x20
	mov	x1, x23
	bl	_ct_encode_string
	mov	x1, x0
	mov	w0, #1
	bl	_ELRE_DEBUG
	cmp	w21, w22
	b.le	LBB0_15
; %bb.8:
	subs	w9, w24, #1
	b.lt	LBB0_15
; %bb.9:
	add	x8, x19, x26
	add	x10, x8, #1
	add	x11, x25, x19
	cmp	x10, x11
	csinc	x10, x11, x8, ls
	mvn	x11, x26
	add	x10, x10, x11
	subs	x11, x10, x19
	cmp	x9, x11
	csel	x9, x9, x11, lo
	cmp	x10, x19
	mov	w10, #1
	csinc	x9, x10, x9, eq
	cmp	x9, #8
	b.lo	LBB0_11
; %bb.10:
	add	x10, x26, x19
	sub	x10, x10, x20
	cmp	x10, #64
	b.hs	LBB0_16
LBB0_11:
	mov	x10, x20
LBB0_12:
	add	x9, x19, x25
	add	x8, x8, #1
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	ldrb	w11, [x10], #1
	sturb	w11, [x8, #-1]
	cmp	x8, x9
	b.hs	LBB0_15
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=1
	sub	w11, w24, #1
	add	x8, x8, #1
	cmp	w24, #1
	mov	x24, x11
	b.hi	LBB0_13
LBB0_15:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_16:
	cmp	x9, #64
	b.hs	LBB0_18
; %bb.17:
	mov	x11, #0
	b	LBB0_22
LBB0_18:
	and	x11, x9, #0x1ffffffc0
	add	x10, x20, #32
	add	x12, x26, x19
	add	x12, x12, #32
	mov	x13, x11
LBB0_19:                                ; =>This Inner Loop Header: Depth=1
	ldp	q0, q1, [x10, #-32]
	ldp	q2, q3, [x10], #64
	stp	q0, q1, [x12, #-32]
	stp	q2, q3, [x12], #64
	subs	x13, x13, #64
	b.ne	LBB0_19
; %bb.20:
	cmp	x9, x11
	b.eq	LBB0_15
; %bb.21:
	tst	x9, #0x38
	b.eq	LBB0_25
LBB0_22:
	and	x12, x9, #0x1fffffff8
	add	x8, x8, x12
	sub	w24, w24, w12
	add	x10, x20, x12
	add	x13, x20, x11
	add	x14, x26, x11
	add	x14, x19, x14
	sub	x11, x11, x12
LBB0_23:                                ; =>This Inner Loop Header: Depth=1
	ldr	d0, [x13], #8
	str	d0, [x14], #8
	adds	x11, x11, #8
	b.ne	LBB0_23
; %bb.24:
	cmp	x9, x12
	b.ne	LBB0_12
	b	LBB0_15
LBB0_25:
	add	x10, x20, x11
	sub	w24, w24, w11
	add	x8, x8, x11
	b	LBB0_12
	.cfi_endproc
                                        ; -- End function
	.comm	___F,4,2                        ; @__F
	.no_dead_strip	_re_insert
.subsections_via_symbols
