	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function usm_append_userindex
_usm_append_userindex:                  ## @usm_append_userindex
	.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	%rdx, %r13
	movq	%rsi, %r14
	movq	%rdi, %r12
	movq	(%rdx), %rbx
	movq	16(%rdx), %r15
	movq	%r15, %rdi
	callq	_strlen
	leaq	(%r14,%rbx), %rcx
	addq	%rcx, %rax
	addq	$2, %rax
	movq	%rax, (%r12)
	movq	8(%r12), %r12
	movq	%rbx, (%r12,%r14,8)
	movq	(%r13), %rbx
	incq	%rbx
	cmpq	$2, %rbx
	jb	LBB0_3
## %bb.1:
	movq	8(%r13), %rax
	leaq	(%r12,%r14,8), %rcx
	movl	$1, %edx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	-8(%rax,%rdx,8), %rsi
	movq	%rsi, (%rcx,%rdx,8)
	incq	%rdx
	movq	(%r13), %rbx
	incq	%rbx
	cmpq	%rdx, %rbx
	ja	LBB0_2
LBB0_3:
	addq	%r14, %rbx
	movq	%r15, %rdi
	callq	_strlen
	movq	%rax, (%r12,%rbx,8)
	testq	%rax, %rax
	je	LBB0_15
## %bb.4:
	movl	$1, %ecx
	cmpq	$4, %rax
	jb	LBB0_13
## %bb.5:
	movq	%rax, %rcx
	andq	$-4, %rcx
	leaq	-4(%rcx), %rdx
	movq	%rdx, %r8
	shrq	$2, %r8
	incq	%r8
	testq	%rdx, %rdx
	je	LBB0_6
## %bb.7:
	movq	%r8, %rdi
	andq	$-2, %rdi
	leaq	(%r12,%rbx,8), %rdx
	addq	$56, %rdx
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	pmovsxdq	(%r15,%rsi,4), %xmm0
	pmovsxdq	8(%r15,%rsi,4), %xmm1
	movdqu	%xmm0, -48(%rdx,%rsi,8)
	movdqu	%xmm1, -32(%rdx,%rsi,8)
	pmovsxdq	16(%r15,%rsi,4), %xmm0
	pmovsxdq	24(%r15,%rsi,4), %xmm1
	movdqu	%xmm0, -16(%rdx,%rsi,8)
	movdqu	%xmm1, (%rdx,%rsi,8)
	addq	$8, %rsi
	addq	$-2, %rdi
	jne	LBB0_8
## %bb.9:
	testb	$1, %r8b
	je	LBB0_11
LBB0_10:
	movq	%rsi, %rdx
	pmovsxdq	(%r15,%rsi,4), %xmm0
	pmovsxdq	8(%r15,%rsi,4), %xmm1
	orq	$1, %rdx
	addq	%rbx, %rdx
	movdqu	%xmm0, (%r12,%rdx,8)
	movdqu	%xmm1, 16(%r12,%rdx,8)
LBB0_11:
	cmpq	%rcx, %rax
	je	LBB0_15
## %bb.12:
	orq	$1, %rcx
LBB0_13:
	decq	%rcx
	leaq	(%r12,%rbx,8), %rdx
	.p2align	4, 0x90
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	movslq	(%r15,%rcx,4), %rsi
	movq	%rsi, 8(%rdx,%rcx,8)
	incq	%rcx
	cmpq	%rcx, %rax
	ja	LBB0_14
LBB0_15:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	xorl	%esi, %esi
	testb	$1, %r8b
	jne	LBB0_10
	jmp	LBB0_11
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_usm_append_userindex
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function usm_append_userindex
_usm_append_userindex:                  ; @usm_append_userindex
	.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, x2
	mov	x20, x1
	mov	x22, x0
	ldr	x23, [x2]
	ldr	x19, [x2, #16]
	mov	x0, x19
	bl	_strlen
	add	x8, x20, x23
	add	x8, x8, x0
	add	x8, x8, #2
	str	x8, [x22]
	ldr	x22, [x22, #8]
	str	x23, [x22, x20, lsl #3]
	ldr	x8, [x21]
	add	x23, x8, #1
	cmp	x23, #2
	b.lo	LBB0_3
; %bb.1:
	mov	x9, #0
	ldr	x8, [x21, #8]
	add	x10, x22, x20, lsl #3
	add	x10, x10, #8
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	lsl	x11, x9, #3
	ldr	x12, [x8, x11]
	str	x12, [x10, x11]
	ldr	x11, [x21]
	add	x23, x11, #1
	add	x11, x9, #2
	add	x9, x9, #1
	cmp	x23, x11
	b.hi	LBB0_2
LBB0_3:
	add	x21, x23, x20
	mov	x0, x19
	bl	_strlen
	str	x0, [x22, x21, lsl #3]
	cbz	x0, LBB0_11
; %bb.4:
	cmp	x0, #8
	b.hs	LBB0_6
; %bb.5:
	mov	w8, #1
	b	LBB0_9
LBB0_6:
	and	x9, x0, #0xfffffffffffffff8
	orr	x8, x9, #0x1
	add	x10, x19, #16
	add	x11, x23, x20
	add	x11, x22, x11, lsl #3
	add	x11, x11, #40
	mov	x12, x9
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldp	d0, d1, [x10, #-16]
	ldp	d2, d3, [x10], #32
	sshll.2d	v0, v0, #0
	sshll.2d	v1, v1, #0
	sshll.2d	v2, v2, #0
	sshll.2d	v3, v3, #0
	stp	q0, q1, [x11, #-32]
	stp	q2, q3, [x11], #64
	subs	x12, x12, #8
	b.ne	LBB0_7
; %bb.8:
	cmp	x0, x9
	b.eq	LBB0_11
LBB0_9:
	add	x9, x22, x21, lsl #3
	sub	x10, x19, #4
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldrsw	x11, [x10, x8, lsl #2]
	str	x11, [x9, x8, lsl #3]
	add	x11, x8, #1
	cmp	x0, x8
	mov	x8, x11
	b.hi	LBB0_10
LBB0_11:
	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
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_usm_append_userindex
.subsections_via_symbols
