	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sc_x2y
_sc_x2y:                                ## @sc_x2y
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movapd	%xmm0, %xmm1
	cvtsi2sdq	8(%rdi), %xmm2
	ucomisd	%xmm0, %xmm2
	xorps	%xmm0, %xmm0
	cvtsi2sdq	16(%rdi), %xmm0
	jae	LBB0_1
## %bb.2:
	cvtsi2sdq	(%rdi), %xmm3
	subsd	%xmm2, %xmm1
	mulsd	%xmm1, %xmm3
	mulsd	%xmm2, %xmm0
	addsd	%xmm3, %xmm0
	popq	%rbp
	retq
LBB0_1:
	mulsd	%xmm1, %xmm0
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_sc_x2y
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sc_x2y
_sc_x2y:                                ; @sc_x2y
	.cfi_startproc
; %bb.0:
	ldp	d1, d3, [x0, #8]
	scvtf	d2, d1
	scvtf	d1, d3
	fcmp	d2, d0
	b.ge	LBB0_2
; %bb.1:
	fsub	d0, d0, d2
	ldr	d3, [x0]
	scvtf	d3, d3
	fmul	d0, d0, d3
	fmadd	d0, d2, d1, d0
	ret
LBB0_2:
	fmul	d0, d1, d0
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_sc_x2y
.subsections_via_symbols
