	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function quant
_quant:                                 ## @quant
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$16, %rsp
	movss	%xmm2, -8(%rbp)                 ## 4-byte Spill
	movaps	%xmm0, %xmm2
	mulss	%xmm1, %xmm2
	xorps	%xmm1, %xmm1
	ucomiss	%xmm1, %xmm2
	jb	LBB0_2
## %bb.1:
	xorps	%xmm0, %xmm0
	sqrtss	%xmm2, %xmm0
	jmp	LBB0_3
LBB0_2:
	movaps	%xmm2, %xmm0
	movss	%xmm2, -4(%rbp)                 ## 4-byte Spill
	callq	_sqrtf
	xorps	%xmm1, %xmm1
	movss	-4(%rbp), %xmm2                 ## 4-byte Reload
                                        ## xmm2 = mem[0],zero,zero,zero
LBB0_3:
	mulss	%xmm0, %xmm2
	ucomiss	%xmm1, %xmm2
	jb	LBB0_5
## %bb.4:
	xorps	%xmm0, %xmm0
	sqrtss	%xmm2, %xmm0
	jmp	LBB0_6
LBB0_5:
	movaps	%xmm2, %xmm0
	callq	_sqrtf
LBB0_6:
	addss	-8(%rbp), %xmm0                 ## 4-byte Folded Reload
	cvttss2si	%xmm0, %eax
	addq	$16, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_quant
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function quant
_quant:                                 ; @quant
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	fmul	s1, s0, s1
	fsqrt	s0, s1
	fcmp	s0, s0
	b.vs	LBB0_3
LBB0_1:
	fmul	s1, s1, s0
	fsqrt	s0, s1
	fcmp	s0, s0
	b.vs	LBB0_4
LBB0_2:
	fadd	s0, s0, s2
	fcvtzs	w0, s0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
LBB0_3:
	str	s1, [sp, #8]                    ; 4-byte Folded Spill
	ldr	s0, [sp, #8]                    ; 4-byte Folded Reload
	stur	s2, [x29, #-4]                  ; 4-byte Folded Spill
	bl	_sqrtf
	ldur	s2, [x29, #-4]                  ; 4-byte Folded Reload
	ldr	s1, [sp, #8]                    ; 4-byte Folded Reload
	b	LBB0_1
LBB0_4:
	fmov	s0, s1
	stur	s2, [x29, #-4]                  ; 4-byte Folded Spill
	bl	_sqrtf
	ldur	s2, [x29, #-4]                  ; 4-byte Folded Reload
	b	LBB0_2
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_quant
.subsections_via_symbols
