	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ConvertToFraction
_ConvertToFraction:                     ## @ConvertToFraction
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_MAX@GOTPCREL(%rip), %rdx
	movq	_SHIFT_AMOUNT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	movl	%edi, %esi
	shll	%cl, %esi
	xorl	%eax, %eax
	cmpl	%edi, (%rdx)
	cmovgel	%esi, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX,4,2                        ## @MAX
	.comm	_SHIFT_AMOUNT,4,2               ## @SHIFT_AMOUNT
	.no_dead_strip	_ConvertToFraction
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ConvertToFraction
_ConvertToFraction:                     ; @ConvertToFraction
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _MAX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MAX@GOTPAGEOFF]
Lloh2:
	adrp	x9, _SHIFT_AMOUNT@GOTPAGE
Lloh3:
	ldr	x9, [x9, _SHIFT_AMOUNT@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	ldr	w9, [x9]
	lsl	w9, w0, w9
	cmp	w8, w0
	csel	w0, wzr, w9, lt
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX,4,2                        ; @MAX
	.comm	_SHIFT_AMOUNT,4,2               ; @SHIFT_AMOUNT
	.no_dead_strip	_ConvertToFraction
.subsections_via_symbols
