	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function insert_region
_insert_region:                         ## @insert_region
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %r12
	movq	%rcx, %r14
	movq	%rdx, %r13
	movq	%rsi, %r15
	movq	%rdi, %rbx
	testq	%rsi, %rsi
	je	LBB0_13
## %bb.1:
	leaq	(%r15,%r15,2), %rax
	leaq	(%rbx,%rax,8), %r8
	leaq	(%r14,%r13), %r9
	leal	(,%r15,8), %eax
	leal	(%rax,%rax,2), %edx
	movq	%r15, %rsi
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rbx), %rdi
	cmpq	%r13, %rdi
	jne	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpq	%r14, 8(%rbx)
	je	LBB0_14
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	cmpq	%r12, 16(%rbx)
	jne	LBB0_9
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpq	%rdi, %r9
	je	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%rbx), %rax
	leaq	(%rax,%rdi), %rcx
	cmpq	%r13, %rcx
	je	LBB0_8
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	cmpq	%r13, %rdi
	jg	LBB0_10
## %bb.11:                              ##   in Loop: Header=BB0_2 Depth=1
	addl	$-24, %edx
	addq	$24, %rbx
	decq	%rsi
	jne	LBB0_2
## %bb.12:
	movq	%r8, %rbx
	jmp	LBB0_13
LBB0_10:
	leaq	24(%rbx), %rdi
	movq	%rbx, %rsi
	callq	_memmove
LBB0_13:
	movq	%r13, (%rbx)
	movq	%r14, 8(%rbx)
	movq	%r12, 16(%rbx)
	incq	%r15
LBB0_14:
	movq	%r15, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movq	%r13, (%rbx)
	addq	%r14, 8(%rbx)
	jmp	LBB0_14
LBB0_8:
	addq	%r14, %rax
	movq	%rax, 8(%rbx)
	jmp	LBB0_14
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_insert_region
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function insert_region
_insert_region:                         ; @insert_region
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x21, x4
	mov	x22, x3
	mov	x23, x2
	mov	x19, x1
	mov	x20, x0
	cbz	x1, LBB0_11
; %bb.1:
	mov	w8, #24
	madd	x8, x19, x8, x20
	add	x9, x22, x23
	add	w10, w19, w19, lsl #1
	lsl	w2, w10, #3
	mov	x10, x19
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x11, [x20]
	cmp	x11, x23
	b.ne	LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x12, [x20, #8]
	cmp	x12, x22
	b.eq	LBB0_12
LBB0_4:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	x12, [x20, #16]
	cmp	x12, x21
	b.ne	LBB0_7
; %bb.5:                                ;   in Loop: Header=BB0_2 Depth=1
	cmp	x9, x11
	b.eq	LBB0_13
; %bb.6:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x12, [x20, #8]
	add	x13, x12, x11
	cmp	x13, x23
	b.eq	LBB0_14
LBB0_7:                                 ;   in Loop: Header=BB0_2 Depth=1
	cmp	x11, x23
	b.gt	LBB0_10
; %bb.8:                                ;   in Loop: Header=BB0_2 Depth=1
	sub	w2, w2, #24
	add	x20, x20, #24
	subs	x10, x10, #1
	b.ne	LBB0_2
; %bb.9:
	mov	x20, x8
	b	LBB0_11
LBB0_10:
	add	x0, x20, #24
	mov	x1, x20
	bl	_memmove
LBB0_11:
	stp	x23, x22, [x20]
	add	x19, x19, #1
	str	x21, [x20, #16]
LBB0_12:
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_13:
	ldr	x8, [x20, #8]
	add	x8, x8, x22
	stp	x23, x8, [x20]
	b	LBB0_12
LBB0_14:
	add	x8, x12, x22
	str	x8, [x20, #8]
	b	LBB0_12
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_insert_region
.subsections_via_symbols
