	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cvt_s16_to_native
_cvt_s16_to_native:                     ## @cvt_s16_to_native
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	xorl	32(%rdi), %edx
	movq	%rsi, %r14
	movl	%edx, -20(%rbp)
	cmpq	$0, 24(%rdi)
	je	LBB0_2
## %bb.1:
	movl	%edx, %edi
	callq	_swab16
	movl	%eax, -20(%rbp)
LBB0_2:
	movq	(%rbx), %rax
	movq	8(%rbx), %rdx
	cmpq	%rdx, %rax
	jle	LBB0_4
## %bb.3:
	movq	%r14, %rdi
	xorl	%esi, %esi
	movq	%rax, %rdx
	callq	_memset
	movq	8(%rbx), %rdx
LBB0_4:
	movslq	16(%rbx), %rax
	addq	%rax, %r14
	movslq	20(%rbx), %rax
	leaq	(%rax,%rbp), %rsi
	addq	$-20, %rsi
	movq	%r14, %rdi
	callq	_memcpy
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_cvt_s16_to_native
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cvt_s16_to_native
_cvt_s16_to_native:                     ; @cvt_s16_to_native
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	mov	x20, x0
	ldr	w8, [x0, #32]
	eor	w0, w8, w2
	str	w0, [sp, #12]
	ldr	x8, [x20, #24]
	cbz	x8, LBB0_2
; %bb.1:
	bl	_swab16
	str	w0, [sp, #12]
LBB0_2:
	ldp	x8, x2, [x20]
	cmp	x8, x2
	b.le	LBB0_4
; %bb.3:
	mov	x0, x19
	mov	w1, #0
	mov	x2, x8
	bl	_memset
	ldr	x2, [x20, #8]
LBB0_4:
	ldpsw	x8, x9, [x20, #16]
	add	x0, x19, x8
	add	x8, sp, #12
	add	x1, x8, x9
	bl	_memcpy
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_cvt_s16_to_native
.subsections_via_symbols
