	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rgb16to15_c
_rgb16to15_c:                           ## @rgb16to15_c
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movslq	%edx, %rcx
	leaq	(%rdi,%rcx,4), %r8
	leaq	(%rdi,%rcx,4), %rcx
	addq	$-12, %rcx
	cmpq	%rdi, %rcx
	jbe	LBB0_2
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rdi), %edx
	movl	%edx, %eax
	shrl	%eax
	andl	$2145419232, %eax               ## imm = 0x7FE07FE0
	andl	$2031647, %edx                  ## imm = 0x1F001F
	orl	%eax, %edx
	movl	%edx, (%rsi)
	addq	$16, %rdi
	addq	$16, %rsi
	cmpq	%rcx, %rdi
	jb	LBB0_1
LBB0_2:
	cmpq	%r8, %rdi
	jae	LBB0_4
## %bb.3:
	movl	(%rdi), %eax
	movl	%eax, %ecx
	shrl	%ecx
	andl	$32736, %ecx                    ## imm = 0x7FE0
	andl	$31, %eax
	orl	%ecx, %eax
	movl	%eax, (%rsi)
LBB0_4:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_rgb16to15_c
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rgb16to15_c
_rgb16to15_c:                           ; @rgb16to15_c
	.cfi_startproc
; %bb.0:
	add	x8, x0, w2, sxtw #2
	sub	x9, x8, #12
	cmp	x9, x0
	b.ls	LBB0_2
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w10, [x0], #16
	lsr	w11, w10, #1
	and	w11, w11, #0x7fe07fe0
	and	w10, w10, #0x1f001f
	orr	w10, w11, w10
	str	w10, [x1], #16
	cmp	x0, x9
	b.lo	LBB0_1
LBB0_2:
	cmp	x0, x8
	b.hs	LBB0_4
; %bb.3:
	ldr	w8, [x0]
	lsr	w9, w8, #1
	and	w9, w9, #0x7fe0
	bfxil	w9, w8, #0, #5
	str	w9, [x1]
LBB0_4:
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_rgb16to15_c
.subsections_via_symbols
