	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rgb5652rgb
_rgb5652rgb:                            ## @rgb5652rgb
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
                                        ## kill: def $esi killed $esi def $rsi
	movl	%esi, %eax
	shrl	$11, %eax
	andl	$31, %eax
	movl	%esi, %ecx
	shrl	$5, %ecx
	andl	$63, %ecx
	andl	$31, %esi
	movq	_expand5@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movl	(%rdx,%rax,4), %eax
	movl	%eax, (%rdi)
	movq	_expand6@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax,%rcx,4), %eax
	movl	%eax, 4(%rdi)
	movl	(%rdx,%rsi,4), %eax
	movl	%eax, 8(%rdi)
	movl	$0, 12(%rdi)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_expand5,8,3                    ## @expand5
	.comm	_expand6,8,3                    ## @expand6
	.no_dead_strip	_rgb5652rgb
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rgb5652rgb
_rgb5652rgb:                            ; @rgb5652rgb
	.cfi_startproc
; %bb.0:
	ubfx	w8, w1, #11, #5
	ubfx	w9, w1, #5, #6
Lloh0:
	adrp	x10, _expand5@GOTPAGE
Lloh1:
	ldr	x10, [x10, _expand5@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x10]
	ldr	w8, [x10, w8, uxtw #2]
	str	w8, [x0]
Lloh3:
	adrp	x8, _expand6@GOTPAGE
Lloh4:
	ldr	x8, [x8, _expand6@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	ldr	w8, [x8, w9, uxtw #2]
	and	w9, w1, #0x1f
	str	w8, [x0, #4]
	ldr	w8, [x10, w9, uxtw #2]
	stp	w8, wzr, [x0, #8]
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_expand5,8,3                    ; @expand5
	.comm	_expand6,8,3                    ; @expand6
	.no_dead_strip	_rgb5652rgb
.subsections_via_symbols
