	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function ScaleFuzzySeperatorBalanceRange_r
LCPI0_0:
	.quad	0x3fe0000000000000              ## double 0.5
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_ScaleFuzzySeperatorBalanceRange_r
	.p2align	4, 0x90
_ScaleFuzzySeperatorBalanceRange_r:     ## @ScaleFuzzySeperatorBalanceRange_r
	.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
	movq	%rdi, %rbx
	movss	%xmm0, -20(%rbp)                ## 4-byte Spill
	cvtss2sd	%xmm0, %xmm0
	movddup	%xmm0, %xmm0                    ## xmm0 = xmm0[0,0]
	movapd	%xmm0, -48(%rbp)                ## 16-byte Spill
	movq	_WT_BALANCE@GOTPCREL(%rip), %r14
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_2:                                 ##   in Loop: Header=BB0_1 Depth=1
	movss	-20(%rbp), %xmm0                ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	callq	_ScaleFuzzySeperatorBalanceRange_r
LBB0_6:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	24(%rbx), %rbx
	testq	%rbx, %rbx
	je	LBB0_7
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	32(%rbx), %rdi
	testq	%rdi, %rdi
	jne	LBB0_2
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	(%rbx), %rax
	cmpq	(%r14), %rax
	jne	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_1 Depth=1
	movupd	8(%rbx), %xmm0
	movsd	16(%rbx), %xmm1                 ## xmm1 = mem[0],zero
	addsd	%xmm0, %xmm1
	mulsd	LCPI0_0(%rip), %xmm1
	cvtsd2ss	%xmm1, %xmm1
	cvtss2sd	%xmm1, %xmm1
	movddup	%xmm1, %xmm1                    ## xmm1 = xmm1[0,0]
	subpd	%xmm1, %xmm0
	mulpd	-48(%rbp), %xmm0                ## 16-byte Folded Reload
	addpd	%xmm1, %xmm0
	movupd	%xmm0, 8(%rbx)
	movapd	%xmm0, %xmm1
	unpckhpd	%xmm0, %xmm1                    ## xmm1 = xmm1[1],xmm0[1]
	ucomisd	%xmm1, %xmm0
	jbe	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_1 Depth=1
	movsd	%xmm0, 16(%rbx)
	jmp	LBB0_6
LBB0_7:
	addq	$32, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_WT_BALANCE,8,3                 ## @WT_BALANCE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ScaleFuzzySeperatorBalanceRange_r ; -- Begin function ScaleFuzzySeperatorBalanceRange_r
	.p2align	2
_ScaleFuzzySeperatorBalanceRange_r:     ; @ScaleFuzzySeperatorBalanceRange_r
	.cfi_startproc
; %bb.0:
	stp	d11, d10, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset b10, -56
	.cfi_offset b11, -64
	fmov	s8, s0
	mov	x19, x0
	fcvt	d9, s0
Lloh0:
	adrp	x20, _WT_BALANCE@GOTPAGE
Lloh1:
	ldr	x20, [x20, _WT_BALANCE@GOTPAGEOFF]
	fmov	d10, #0.50000000
	b	LBB0_3
LBB0_1:                                 ;   in Loop: Header=BB0_3 Depth=1
	fmov	s0, s8
	bl	_ScaleFuzzySeperatorBalanceRange_r
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x19, [x19, #24]
	cbz	x19, LBB0_7
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x19, #32]
	cbnz	x0, LBB0_1
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x19]
	ldr	x9, [x20]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	ldp	d0, d1, [x19, #8]
	fadd	d2, d0, d1
	fmul	d2, d2, d10
	fcvt	s2, d2
	fcvt	d2, s2
	fsub	d1, d1, d2
	fmadd	d1, d1, d9, d2
	fsub	d0, d0, d2
	fmadd	d0, d0, d9, d2
	stp	d0, d1, [x19, #8]
	fcmp	d1, d0
	b.pl	LBB0_2
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	str	d0, [x19, #16]
	b	LBB0_2
LBB0_7:
	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
	ldp	d11, d10, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_WT_BALANCE,8,3                 ; @WT_BALANCE
.subsections_via_symbols
