	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_RllDecodeStereoToStereo        ## -- Begin function RllDecodeStereoToStereo
	.p2align	4, 0x90
_RllDecodeStereoToStereo:               ## @RllDecodeStereoToStereo
	.cfi_startproc
## %bb.0:
	movl	%edx, %eax
	movl	%r8d, %r10d
	andl	$65280, %r10d                   ## imm = 0xFF00
	testb	%cl, %cl
	je	LBB0_2
## %bb.1:
	addl	$-32768, %r10d                  ## imm = 0x8000
	shll	$8, %r8d
	movzwl	%r8w, %r11d
	addl	$-32768, %r11d                  ## imm = 0x8000
	jmp	LBB0_3
LBB0_2:
	shll	$8, %r8d
	movzwl	%r8w, %r11d
LBB0_3:
	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	%eax, %eax
	je	LBB0_6
## %bb.4:
	movq	_cin@GOTPCREL(%rip), %rdx
	movq	(%rdx), %r8
	movl	%eax, %r9d
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movl	%r10d, %r14d
	movzbl	(%rdi,%rdx), %ecx
	addq	(%r8,%rcx,8), %r14
	movzwl	%r14w, %r10d
	movl	%r11d, %ecx
	movzbl	1(%rdi,%rdx), %ebx
	addq	(%r8,%rbx,8), %rcx
	movzwl	%cx, %r11d
	movw	%r14w, (%rsi,%rdx,2)
	movw	%cx, 2(%rsi,%rdx,2)
	addq	$2, %rdx
	cmpq	%r9, %rdx
	jb	LBB0_5
LBB0_6:
	shrl	%eax
	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	_RllDecodeStereoToStereo        ; -- Begin function RllDecodeStereoToStereo
	.p2align	2
_RllDecodeStereoToStereo:               ; @RllDecodeStereoToStereo
	.cfi_startproc
; %bb.0:
	and	w8, w4, #0xff00
	ubfiz	w9, w4, #8, #8
	sub	w10, w8, #8, lsl #12            ; =32768
	sub	w11, w9, #8, lsl #12            ; =32768
	cmp	w3, #0
	csel	w8, w8, w10, eq
	csel	w9, w9, w11, eq
	cbz	w2, LBB0_3
; %bb.1:
	mov	x10, #0
Lloh0:
	adrp	x11, _cin@GOTPAGE
Lloh1:
	ldr	x11, [x11, _cin@GOTPAGEOFF]
Lloh2:
	ldr	x11, [x11]
	mov	w12, w2
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	add	x13, x0, x10
	ldrb	w14, [x13]
	ldr	x14, [x11, x14, lsl #3]
	add	x14, x14, w8, uxtw
	and	w8, w14, #0xffff
	ldrb	w13, [x13, #1]
	ldr	x13, [x11, x13, lsl #3]
	add	x13, x13, w9, uxtw
	and	w9, w13, #0xffff
	add	x15, x1, x10, lsl #1
	strh	w14, [x15]
	strh	w13, [x15, #2]
	add	x10, x10, #2
	cmp	x10, x12
	b.lo	LBB0_2
LBB0_3:
	lsr	w0, w2, #1
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_cin,8,3                        ; @cin
.subsections_via_symbols
