	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal4,4byte_literals
	.p2align	2                               ## -- Begin function xmb_ribbon_set_vertex
LCPI0_0:
	.long	0xbf800000                      ## float -1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_xmb_ribbon_set_vertex:                 ## @xmb_ribbon_set_vertex
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	%ecx, %eax
	cvtsi2ss	%rax, %xmm0
                                        ## kill: def $esi killed $esi def $rsi
	movq	_XMB_RIBBON_COLS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	decl	%eax
	cvtsi2ss	%eax, %xmm1
	divss	%xmm1, %xmm0
	addss	%xmm0, %xmm0
	movss	LCPI0_0(%rip), %xmm1            ## xmm1 = mem[0],zero,zero,zero
	addss	%xmm1, %xmm0
	movl	%esi, %eax
	movl	%edx, %ecx
	cvtsi2ss	%rcx, %xmm2
	incl	%esi
	movss	%xmm0, (%rdi,%rax,4)
	movq	_XMB_RIBBON_ROWS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	decl	%eax
	xorps	%xmm0, %xmm0
	cvtsi2ss	%eax, %xmm0
	divss	%xmm0, %xmm2
	addss	%xmm2, %xmm2
	addss	%xmm1, %xmm2
	movss	%xmm2, (%rdi,%rsi,4)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_XMB_RIBBON_COLS,4,2            ## @XMB_RIBBON_COLS
	.comm	_XMB_RIBBON_ROWS,4,2            ## @XMB_RIBBON_ROWS
	.no_dead_strip	_xmb_ribbon_set_vertex
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function xmb_ribbon_set_vertex
_xmb_ribbon_set_vertex:                 ; @xmb_ribbon_set_vertex
	.cfi_startproc
; %bb.0:
	ucvtf	s0, w3
Lloh0:
	adrp	x8, _XMB_RIBBON_COLS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _XMB_RIBBON_COLS@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	sub	w8, w8, #1
	scvtf	s1, w8
	fdiv	s0, s0, s1
	fmov	s1, #-1.00000000
	fmov	s2, #2.00000000
	fmadd	s0, s0, s2, s1
	add	w8, w1, #1
	str	s0, [x0, w1, uxtw #2]
	ucvtf	s0, w2
Lloh3:
	adrp	x9, _XMB_RIBBON_ROWS@GOTPAGE
Lloh4:
	ldr	x9, [x9, _XMB_RIBBON_ROWS@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	sub	w9, w9, #1
	scvtf	s3, w9
	fdiv	s0, s0, s3
	fmadd	s0, s0, s2, s1
	str	s0, [x0, w8, uxtw #2]
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_XMB_RIBBON_COLS,4,2            ; @XMB_RIBBON_COLS
	.comm	_XMB_RIBBON_ROWS,4,2            ; @XMB_RIBBON_ROWS
	.no_dead_strip	_xmb_ribbon_set_vertex
.subsections_via_symbols
