	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dt_quantize_total
_dt_quantize_total:                     ## @dt_quantize_total
	.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	%rdx, %r14
	movq	%rdi, %rbx
	movq	%rsi, -32(%rbp)
	fildll	-32(%rbp)
	fstpt	(%rsp)
	callq	_dt_fabsl
	movq	(%rbx), %rax
	movq	_DTRACEOPT_AGGZOOM@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rax,%rcx,8), %rax
	movq	_DTRACEOPT_UNSET@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	fldt	(%r14)
	faddp	%st, %st(1)
	jmp	LBB0_3
LBB0_2:
	movq	_DTRACE_AGGZOOM_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leal	1(%rax), %ecx
	xorl	%edx, %edx
	cmpl	$3, %ecx
	cmovbl	%eax, %edx
	movl	%edx, -20(%rbp)
	fimull	-20(%rbp)
	fldt	(%r14)
	fxch	%st(1)
	fucomi	%st(1), %st
	fstp	%st(1)
	jbe	LBB0_4
LBB0_3:
	fstpt	(%r14)
	fldz
LBB0_4:
	fstp	%st(0)
	addq	$32, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DTRACEOPT_AGGZOOM,8,3          ## @DTRACEOPT_AGGZOOM
	.comm	_DTRACEOPT_UNSET,8,3            ## @DTRACEOPT_UNSET
	.comm	_DTRACE_AGGZOOM_MAX,4,2         ## @DTRACE_AGGZOOM_MAX
	.no_dead_strip	_dt_quantize_total
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dt_quantize_total
_dt_quantize_total:                     ; @dt_quantize_total
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x2
	mov	x20, x0
	scvtf	d0, x1
	bl	_dt_fabsl
	ldr	x8, [x20]
Lloh0:
	adrp	x9, _DTRACEOPT_AGGZOOM@GOTPAGE
Lloh1:
	ldr	x9, [x9, _DTRACEOPT_AGGZOOM@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	ldr	x8, [x8, x9, lsl #3]
Lloh3:
	adrp	x9, _DTRACEOPT_UNSET@GOTPAGE
Lloh4:
	ldr	x9, [x9, _DTRACEOPT_UNSET@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
	ldr	d1, [x19]
	fadd	d0, d0, d1
	b	LBB0_3
LBB0_2:
Lloh6:
	adrp	x8, _DTRACE_AGGZOOM_MAX@GOTPAGE
Lloh7:
	ldr	x8, [x8, _DTRACE_AGGZOOM_MAX@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	add	w9, w8, #1
	cmp	w9, #3
	csel	w8, w8, wzr, lo
	scvtf	d1, w8
	fmul	d0, d0, d1
	ldr	d1, [x19]
	fcmp	d1, d0
	b.pl	LBB0_4
LBB0_3:
	str	d0, [x19]
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_DTRACEOPT_AGGZOOM,8,3          ; @DTRACEOPT_AGGZOOM
	.comm	_DTRACEOPT_UNSET,8,3            ; @DTRACEOPT_UNSET
	.comm	_DTRACE_AGGZOOM_MAX,4,2         ; @DTRACE_AGGZOOM_MAX
	.no_dead_strip	_dt_quantize_total
.subsections_via_symbols
