	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fixup_d3dcolor
_fixup_d3dcolor:                        ## @fixup_d3dcolor
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rdi), %eax
	movl	%eax, %ecx
	movzbl	%al, %edx
	andl	$-16711936, %eax                ## imm = 0xFF00FF00
	shrl	$16, %ecx
	movzbl	%cl, %ecx
	orl	%eax, %ecx
	shll	$16, %edx
	orl	%ecx, %edx
	movl	%edx, (%rdi)
	movl	$4, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_fixup_d3dcolor
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fixup_d3dcolor
_fixup_d3dcolor:                        ; @fixup_d3dcolor
	.cfi_startproc
; %bb.0:
	ldr	w8, [x0]
	and	w9, w8, #0xff00ff00
	bfxil	w9, w8, #16, #8
	bfi	w9, w8, #16, #8
	str	w9, [x0]
	mov	w0, #4
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_fixup_d3dcolor
.subsections_via_symbols
