	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal4,4byte_literals
	.p2align	2                               ## -- Begin function wined3d_color_from_d3dcolor
LCPI0_0:
	.long	0x437f0000                      ## float 255
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_wined3d_color_from_d3dcolor:           ## @wined3d_color_from_d3dcolor
	.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
	movl	%esi, %ebx
	movq	%rdi, %r14
	movl	%esi, %edi
	callq	_D3DCOLOR_B_R
	divss	LCPI0_0(%rip), %xmm0
	movss	%xmm0, (%r14)
	movl	%ebx, %edi
	callq	_D3DCOLOR_B_G
	divss	LCPI0_0(%rip), %xmm0
	movss	%xmm0, 4(%r14)
	movl	%ebx, %edi
	callq	_D3DCOLOR_B_B
	divss	LCPI0_0(%rip), %xmm0
	movss	%xmm0, 8(%r14)
	movl	%ebx, %edi
	callq	_D3DCOLOR_B_A
	divss	LCPI0_0(%rip), %xmm0
	movss	%xmm0, 12(%r14)
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_wined3d_color_from_d3dcolor
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wined3d_color_from_d3dcolor
_wined3d_color_from_d3dcolor:           ; @wined3d_color_from_d3dcolor
	.cfi_startproc
; %bb.0:
	stp	d9, d8, [sp, #-48]!             ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset b8, -40
	.cfi_offset b9, -48
	mov	x19, x1
	mov	x20, x0
	mov	x0, x1
	bl	_D3DCOLOR_B_R
	mov	w8, #1132396544
	fmov	s8, w8
	fdiv	s0, s0, s8
	str	s0, [x20]
	mov	x0, x19
	bl	_D3DCOLOR_B_G
	fdiv	s0, s0, s8
	str	s0, [x20, #4]
	mov	x0, x19
	bl	_D3DCOLOR_B_B
	fdiv	s0, s0, s8
	str	s0, [x20, #8]
	mov	x0, x19
	bl	_D3DCOLOR_B_A
	fdiv	s0, s0, s8
	str	s0, [x20, #12]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp], #48               ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_wined3d_color_from_d3dcolor
.subsections_via_symbols
