	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function insert
_insert:                                ## @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	%rbx
	.cfi_offset %rbx, -24
	movl	(%rdx), %r8d
	testl	%r8d, %r8d
	jle	LBB0_1
## %bb.5:
	movq	8(%rdx), %rcx
	addq	$8, %rcx
	xorl	%r9d, %r9d
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	%rdi, -8(%rcx)
	jle	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	incq	%r9
	addq	$16, %rcx
	cmpq	%r9, %r8
	jne	LBB0_6
## %bb.8:
	leal	1(%r8), %eax
	movl	%eax, (%rdx)
	movl	%r8d, %r9d
	jmp	LBB0_3
LBB0_1:
	xorl	%r9d, %r9d
	jmp	LBB0_2
LBB0_9:
	cmpq	%rdi, -8(%rcx)
	jne	LBB0_2
## %bb.10:
	orl	%esi, (%rcx)
	jmp	LBB0_11
LBB0_2:
	leal	1(%r8), %ecx
	movl	%ecx, (%rdx)
	cmpl	%r8d, %r9d
	jg	LBB0_11
LBB0_3:
	movl	%r9d, %ecx
	shlq	$4, %rcx
	orq	$12, %rcx
                                        ## implicit-def: $r8d
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%rdx), %rax
	movq	-12(%rax,%rcx), %r10
	movl	-4(%rax,%rcx), %r11d
	movl	(%rax,%rcx), %ebx
	movq	%rdi, -12(%rax,%rcx)
	movl	%esi, -4(%rax,%rcx)
	movl	%r8d, (%rax,%rcx)
	addq	$16, %rcx
	incl	%r9d
	movl	%ebx, %r8d
	movl	%r11d, %esi
	movq	%r10, %rdi
	cmpl	%r9d, (%rdx)
	jg	LBB0_4
LBB0_11:
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_insert
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function insert
_insert:                                ; @insert
	.cfi_startproc
; %bb.0:
	ldr	w9, [x2]
	cmp	w9, #1
	b.lt	LBB0_5
; %bb.1:
	mov	x8, #0
	ldr	x10, [x2, #8]
	add	x10, x10, #8
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldur	x11, [x10, #-8]
	cmp	x0, x11
	b.ge	LBB0_6
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x8, x8, #1
	add	x10, x10, #16
	cmp	x9, x8
	b.ne	LBB0_2
; %bb.4:
	add	w8, w9, #1
	str	w8, [x2]
	mov	x8, x9
	b	LBB0_9
LBB0_5:
	mov	w8, #0
	b	LBB0_8
LBB0_6:
	ldur	x11, [x10, #-8]
	cmp	x0, x11
	b.ne	LBB0_8
; %bb.7:
	ldr	w8, [x10]
	orr	w8, w8, w1
	str	w8, [x10]
	b	LBB0_11
LBB0_8:
	add	w10, w9, #1
	str	w10, [x2]
	cmp	w8, w9
	b.gt	LBB0_11
LBB0_9:
	mov	w9, w8
	lsl	x9, x9, #4
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldr	x10, [x2, #8]
	add	x10, x10, x9
	ldp	x11, x12, [x10]
	stp	x0, x1, [x10]
	ldr	w10, [x2]
	add	x9, x9, #16
	add	w8, w8, #1
	mov	x1, x12
	mov	x0, x11
	cmp	w10, w8
	b.gt	LBB0_10
LBB0_11:
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_insert
.subsections_via_symbols
