	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_RllDecodeMonoToStereo          ## -- Begin function RllDecodeMonoToStereo
	.p2align	4, 0x90
_RllDecodeMonoToStereo:                 ## @RllDecodeMonoToStereo
	.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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	testl	%edx, %edx
	je	LBB0_1
## %bb.2:
	movzwl	%r8w, %eax
	leaq	-32768(%rax), %r8
	testb	%cl, %cl
	cmoveq	%rax, %r8
	movq	_cin@GOTPCREL(%rip), %rax
	movq	(%rax), %r9
	movl	%edx, %eax
	xorl	%ebx, %ebx
	cmpl	$1, %edx
	jne	LBB0_4
## %bb.3:
	xorl	%r11d, %r11d
	jmp	LBB0_6
LBB0_1:
	xorl	%eax, %eax
	jmp	LBB0_8
LBB0_4:
	movl	%eax, %r10d
	andl	$-2, %r10d
	xorl	%r11d, %r11d
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	(%rdi,%r11), %edx
	addq	(%r9,%rdx,8), %r8
	movswq	%r8w, %rdx
	leal	1(%rbx), %ecx
	movw	%dx, (%rsi,%rcx,2)
	movl	%ebx, %ecx
	movw	%dx, (%rsi,%rcx,2)
	movzbl	1(%rdi,%r11), %ecx
	addq	(%r9,%rcx,8), %rdx
	movswq	%dx, %r8
	leal	2(%rbx), %r14d
	leal	3(%rbx), %ecx
	movw	%dx, (%rsi,%rcx,2)
	movw	%dx, (%rsi,%r14,2)
	addq	$2, %r11
	addl	$4, %ebx
	cmpq	%r11, %r10
	jne	LBB0_5
LBB0_6:
	testb	$1, %al
	je	LBB0_8
## %bb.7:
	movzbl	(%rdi,%r11), %ecx
	addl	(%r9,%rcx,8), %r8d
	movl	%r11d, %ecx
	addl	%ecx, %ecx
	leal	(%r11,%r11), %edx
	incl	%edx
	movw	%r8w, (%rsi,%rdx,2)
	movw	%r8w, (%rsi,%rcx,2)
LBB0_8:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_cin,8,3                        ## @cin
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_RllDecodeMonoToStereo          ; -- Begin function RllDecodeMonoToStereo
	.p2align	2
_RllDecodeMonoToStereo:                 ; @RllDecodeMonoToStereo
	.cfi_startproc
; %bb.0:
	cbz	w2, LBB0_4
; %bb.1:
	mov	x9, #0
	mov	w8, w4
	sub	x10, x8, #8, lsl #12            ; =32768
	cmp	w3, #0
	csel	x10, x8, x10, eq
Lloh0:
	adrp	x8, _cin@GOTPAGE
Lloh1:
	ldr	x8, [x8, _cin@GOTPAGEOFF]
Lloh2:
	ldr	x11, [x8]
	mov	w8, w2
	lsl	x12, x8, #1
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w13, [x0], #1
	ldr	x13, [x11, x13, lsl #3]
	add	x13, x13, x10
	sxth	x10, w13
	add	w14, w9, #1
	strh	w13, [x1, w14, uxtw #1]
	strh	w13, [x1, w9, uxtw #1]
	add	x9, x9, #2
	cmp	x12, x9
	b.ne	LBB0_2
; %bb.3:
	mov	x0, x8
	ret
LBB0_4:
	mov	x0, #0
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_cin,8,3                        ; @cin
.subsections_via_symbols
