	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hb_limit_rational64            ## -- Begin function hb_limit_rational64
	.p2align	4, 0x90
_hb_limit_rational64:                   ## @hb_limit_rational64
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$32, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movsd	%xmm2, -40(%rbp)                ## 8-byte Spill
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movsd	%xmm0, -32(%rbp)
	movsd	%xmm1, -24(%rbp)
	leaq	-32(%rbp), %rdi
	leaq	-24(%rbp), %rsi
	callq	_hb_reduce64
	movsd	-40(%rbp), %xmm3                ## 8-byte Reload
                                        ## xmm3 = mem[0],zero
	movsd	-32(%rbp), %xmm1                ## xmm1 = mem[0],zero
	ucomisd	%xmm1, %xmm3
	movsd	-24(%rbp), %xmm0                ## xmm0 = mem[0],zero
	jbe	LBB0_2
## %bb.1:
	ucomisd	%xmm0, %xmm3
	ja	LBB0_5
LBB0_2:
	movapd	%xmm3, %xmm2
	ucomisd	%xmm0, %xmm1
	jbe	LBB0_4
## %bb.3:
	divsd	%xmm1, %xmm2
	movsd	%xmm3, -32(%rbp)
	mulsd	%xmm2, %xmm0
	movsd	%xmm0, -24(%rbp)
	jmp	LBB0_6
LBB0_4:
	divsd	%xmm0, %xmm2
	movsd	%xmm3, -24(%rbp)
	mulsd	%xmm2, %xmm1
	movsd	%xmm1, -32(%rbp)
	movapd	%xmm3, %xmm0
LBB0_5:
	movapd	%xmm1, %xmm3
LBB0_6:
	movsd	%xmm3, (%rbx)
	movsd	%xmm0, (%r14)
	addq	$32, %rsp
	popq	%rbx
	popq	%r14
	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	_hb_limit_rational64            ; -- Begin function hb_limit_rational64
	.p2align	2
_hb_limit_rational64:                   ; @hb_limit_rational64
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	d9, d8, [sp, #16]               ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset b8, -40
	.cfi_offset b9, -48
	fmov	d8, d2
	mov	x19, x1
	mov	x20, x0
	stp	d1, d0, [sp]
	add	x0, sp, #8
	mov	x1, sp
	bl	_hb_reduce64
	ldp	d0, d1, [sp]
	fcmp	d1, d8
	fccmp	d0, d8, #0, mi
	b.mi	LBB0_3
; %bb.1:
	fcmp	d1, d0
	b.le	LBB0_4
; %bb.2:
	fdiv	d1, d8, d1
	fmul	d0, d0, d1
	stp	d0, d8, [sp]
	b	LBB0_5
LBB0_3:
	fmov	d8, d1
	b	LBB0_5
LBB0_4:
	fdiv	d2, d8, d0
	str	d8, [sp]
	fmov	d0, d8
	fmul	d8, d1, d2
	str	d8, [sp, #8]
LBB0_5:
	str	d8, [x20]
	str	d0, [x19]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #16]               ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
