	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function convert_rating
LCPI0_0:
	.quad	0x3ff0000000000000              ## double 1
LCPI0_1:
	.quad	0x41dfffffffc00000              ## double 2147483647
LCPI0_2:
	.quad	0x3fe0000000000000              ## double 0.5
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_convert_rating
	.p2align	4, 0x90
_convert_rating:                        ## @convert_rating
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	xorl	%eax, %eax
	xorpd	%xmm1, %xmm1
	ucomisd	%xmm0, %xmm1
	ja	LBB0_3
## %bb.1:
	movl	$2147483647, %eax               ## imm = 0x7FFFFFFF
	ucomisd	LCPI0_0(%rip), %xmm0
	ja	LBB0_3
## %bb.2:
	mulsd	LCPI0_1(%rip), %xmm0
	addsd	LCPI0_2(%rip), %xmm0
	cvttsd2si	%xmm0, %eax
LBB0_3:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_convert_rating                 ; -- Begin function convert_rating
	.p2align	2
_convert_rating:                        ; @convert_rating
	.cfi_startproc
; %bb.0:
	fcmp	d0, #0.0
	b.pl	LBB0_2
; %bb.1:
	mov	w0, #0
	ret
LBB0_2:
	fmov	d1, #1.00000000
	fcmp	d0, d1
	b.le	LBB0_4
; %bb.3:
	mov	w0, #2147483647
	ret
LBB0_4:
	mov	x8, #281474972516352
	movk	x8, #16863, lsl #48
	fmov	d1, x8
	fmov	d2, #0.50000000
	fmadd	d0, d0, d1, d2
	fcvtzs	w0, d0
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
