	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wiiu_set_tex_coords
_wiiu_set_tex_coords:                   ## @wiiu_set_tex_coords
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	%rdi, %rax
	movsd	(%rsi), %xmm4                   ## xmm4 = mem[0],zero
	divss	%xmm4, %xmm0
	movss	%xmm0, (%rdi)
	insertps	$16, %xmm1, %xmm2               ## xmm2 = xmm2[0],xmm1[0],xmm2[2,3]
	shufps	$17, %xmm2, %xmm2               ## xmm2 = xmm2[1,0,1,0]
	movshdup	%xmm4, %xmm1                    ## xmm1 = xmm4[1,1,3,3]
	shufps	$17, %xmm4, %xmm4               ## xmm4 = xmm4[1,0,1,0]
	divps	%xmm4, %xmm2
	movups	%xmm2, 4(%rdi)
	divss	%xmm1, %xmm3
	movss	%xmm3, 20(%rdi)
	movss	%xmm0, 24(%rdi)
	movss	%xmm3, 28(%rdi)
	movq	_GX2_INVALIDATE_MODE_CPU_ATTRIBUTE_BUFFER@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movq	%rax, %rsi
	movl	$32, %edx
	popq	%rbp
	jmp	_GX2Invalidate                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_GX2_INVALIDATE_MODE_CPU_ATTRIBUTE_BUFFER,4,2 ## @GX2_INVALIDATE_MODE_CPU_ATTRIBUTE_BUFFER
	.no_dead_strip	_wiiu_set_tex_coords
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wiiu_set_tex_coords
_wiiu_set_tex_coords:                   ; @wiiu_set_tex_coords
	.cfi_startproc
; %bb.0:
                                        ; kill: def $s2 killed $s2 def $q2
                                        ; kill: def $s1 killed $s1 def $q1
	mov	x8, x0
	ldr	d4, [x1]
	fdiv	s0, s0, s4
	str	s0, [x0]
	mov.s	v2[1], v1[0]
	fdiv.2s	v1, v2, v4
	mov.s	v1[3], v1[0]
	uzp2.4s	v1, v1, v1
	stur	q1, [x0, #4]
	mov	s1, v4[1]
	fdiv	s1, s3, s1
	stp	s1, s0, [x0, #20]
	str	s1, [x0, #28]
Lloh0:
	adrp	x9, _GX2_INVALIDATE_MODE_CPU_ATTRIBUTE_BUFFER@GOTPAGE
Lloh1:
	ldr	x9, [x9, _GX2_INVALIDATE_MODE_CPU_ATTRIBUTE_BUFFER@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x9]
	mov	x1, x8
	mov	w2, #32
	b	_GX2Invalidate
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_GX2_INVALIDATE_MODE_CPU_ATTRIBUTE_BUFFER,4,2 ; @GX2_INVALIDATE_MODE_CPU_ATTRIBUTE_BUFFER
	.no_dead_strip	_wiiu_set_tex_coords
.subsections_via_symbols
