	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function convert_16_to_16
_convert_16_to_16:                      ## @convert_16_to_16
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, -64(%rbp)
	movq	%r8, -56(%rbp)
	movl	%r9d, -44(%rbp)
	testq	%r8, %r8
	jle	LBB0_4
## %bb.1:
	movl	%ecx, %r12d
	movl	%edx, %r14d
	movq	%rsi, %rbx
	movl	16(%rbp), %r8d
	movl	(%rdi), %eax
	movl	%eax, (%rsi)
	leaq	-64(%rbp), %rdi
	leaq	-56(%rbp), %rdx
	leaq	-44(%rbp), %rcx
	movl	%r14d, %esi
	callq	_src_advance
	cmpq	$0, -56(%rbp)
	jle	LBB0_4
## %bb.2:
	movslq	%r12d, %r12
	addq	%r12, %rbx
	leaq	-56(%rbp), %r13
	leaq	-44(%rbp), %r15
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	-64(%rbp), %rax
	movl	(%rax), %eax
	movl	%eax, (%rbx)
	leaq	-64(%rbp), %rdi
	movl	%r14d, %esi
	movq	%r13, %rdx
	movq	%r15, %rcx
	movl	16(%rbp), %r8d
	callq	_src_advance
	addq	%r12, %rbx
	cmpq	$0, -56(%rbp)
	jg	LBB0_3
LBB0_4:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_convert_16_to_16
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function convert_16_to_16
_convert_16_to_16:                      ; @convert_16_to_16
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	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
	stp	x4, x0, [sp, #16]
	str	w5, [sp, #12]
	cmp	x4, #1
	b.lt	LBB0_4
; %bb.1:
	mov	x19, x6
	mov	x21, x3
	mov	x20, x2
	mov	x22, x1
	ldr	w8, [x0]
	str	w8, [x1]
	add	x0, sp, #24
	add	x2, sp, #16
	add	x3, sp, #12
	mov	x1, x20
	mov	x4, x6
	bl	_src_advance
	ldr	x8, [sp, #16]
	cmp	x8, #1
	b.lt	LBB0_4
; %bb.2:
	sxtw	x21, w21
	add	x22, x22, x21
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [sp, #24]
	ldr	w8, [x8]
	str	w8, [x22]
	add	x0, sp, #24
	add	x2, sp, #16
	add	x3, sp, #12
	mov	x1, x20
	mov	x4, x19
	bl	_src_advance
	ldr	x8, [sp, #16]
	add	x22, x22, x21
	cmp	x8, #0
	b.gt	LBB0_3
LBB0_4:
	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
	add	sp, sp, #80
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_convert_16_to_16
.subsections_via_symbols
