	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function roundToInt16
_roundToInt16:                          ## @roundToInt16
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
                                        ## kill: def $edi killed $edi def $rdi
	leal	32768(%rdi), %ecx
	sarl	$16, %ecx
	cmpl	$-2147450880, %edi              ## imm = 0x80008000
	movl	$32768, %eax                    ## imm = 0x8000
	cmovgel	%ecx, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_roundToInt16
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function roundToInt16
_roundToInt16:                          ; @roundToInt16
	.cfi_startproc
; %bb.0:
	add	w8, w0, #8, lsl #12             ; =32768
	asr	w8, w8, #16
	mov	w9, #-2147450880
	mov	w10, #32768
	cmp	w0, w9
	csel	w0, w10, w8, lt
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_roundToInt16
.subsections_via_symbols
