	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	2                               ## -- Begin function shader_get_position_fixup
LCPI0_0:
	.long	0x3f7c0000                      ## float 0.984375
	.long	0xbc800000                      ## float -0.015625
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4
LCPI0_1:
	.long	0x80000000                      ## float -0
	.long	0x80000000                      ## float -0
	.long	0x80000000                      ## float -0
	.long	0x80000000                      ## float -0
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_shader_get_position_fixup:             ## @shader_get_position_fixup
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	8(%rdi), %r8
	movq	_WINED3D_PIXEL_CENTER_INTEGER@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	xorl	%eax, %eax
	andl	(%r8), %ecx
	sete	%al
	leaq	LCPI0_0(%rip), %rcx
	movss	(%rcx,%rax,4), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	movabsq	$4575657222473777152, %rax      ## imm = 0x3F8000003F800000
	movq	%rax, (%rdx)
	movaps	%xmm0, %xmm1
	divss	(%rsi), %xmm1
	movss	%xmm1, 8(%rdx)
	xorps	LCPI0_1(%rip), %xmm0
	divss	4(%rsi), %xmm0
	movss	%xmm0, 12(%rdx)
	cmpq	$0, (%rdi)
	je	LBB0_2
## %bb.1:
	movl	$-1082130432, 4(%rdx)           ## imm = 0xBF800000
	xorps	LCPI0_1(%rip), %xmm0
	movss	%xmm0, 12(%rdx)
LBB0_2:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_WINED3D_PIXEL_CENTER_INTEGER,4,2 ## @WINED3D_PIXEL_CENTER_INTEGER
	.no_dead_strip	_shader_get_position_fixup
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function shader_get_position_fixup
_shader_get_position_fixup:             ; @shader_get_position_fixup
	.cfi_startproc
; %bb.0:
	ldp	x9, x8, [x0]
	ldr	w8, [x8]
Lloh0:
	adrp	x10, _WINED3D_PIXEL_CENTER_INTEGER@GOTPAGE
Lloh1:
	ldr	x10, [x10, _WINED3D_PIXEL_CENTER_INTEGER@GOTPAGEOFF]
Lloh2:
	ldr	w10, [x10]
	tst	w10, w8
	mov	w8, #1065091072
	fmov	s0, w8
	mov	w8, #-1132462080
	fmov	s1, w8
	fcsel	s0, s1, s0, eq
	fmov.2s	v1, #1.00000000
	str	d1, [x2]
	ldr	s1, [x1]
	fdiv	s1, s0, s1
	str	s1, [x2, #8]
	fneg	s0, s0
	ldr	s1, [x1, #4]
	fdiv	s0, s0, s1
	str	s0, [x2, #12]
	cbz	x9, LBB0_2
; %bb.1:
	mov	w8, #-1082130432
	str	w8, [x2, #4]
	fneg	s0, s0
	str	s0, [x2, #12]
LBB0_2:
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_WINED3D_PIXEL_CENTER_INTEGER,4,2 ; @WINED3D_PIXEL_CENTER_INTEGER
	.no_dead_strip	_shader_get_position_fixup
.subsections_via_symbols
