	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dt_aggregate_quantizedcmp
_dt_aggregate_quantizedcmp:             ## @dt_aggregate_quantizedcmp
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_DTRACE_QUANTIZE_NBUCKETS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, %eax
	jle	LBB0_7
## %bb.1:
	movq	%rsi, %r15
	movq	%rdi, %r14
	fldz
	xorl	%ebx, %ebx
                                        ## implicit-def: $r12
                                        ## implicit-def: $r13
	fld	%st(0)
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	fstpt	-100(%rbp)                      ## 10-byte Folded Spill
	fstpt	-52(%rbp)                       ## 10-byte Folded Spill
	movl	%ebx, %edi
	callq	_DTRACE_QUANTIZE_BUCKETVAL
	fldt	-100(%rbp)                      ## 10-byte Folded Reload
	testq	%rax, %rax
	movq	(%r14,%rbx,8), %rcx
	movq	(%r15,%rbx,8), %rdx
	cmoveq	%rcx, %r13
	cmoveq	%rdx, %r12
	movq	%rax, -88(%rbp)
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	fildll	-88(%rbp)
	movq	%rcx, -72(%rbp)
	fildll	-72(%rbp)
	fmul	%st(1), %st
	faddp	%st, %st(2)
	movq	%rdx, -80(%rbp)
	fildll	-80(%rbp)
	fmulp	%st, %st(1)
	fldt	-52(%rbp)                       ## 10-byte Folded Reload
	faddp	%st, %st(1)
	fstpt	-52(%rbp)                       ## 10-byte Folded Spill
	fldt	-52(%rbp)                       ## 10-byte Folded Reload
	incq	%rbx
	cmpq	%rbx, %rax
	fxch	%st(1)
	jne	LBB0_2
## %bb.3:
	fxch	%st(1)
	fucomi	%st(1), %st
	jbe	LBB0_5
## %bb.4:
	fstp	%st(0)
	fstp	%st(0)
	movq	_DT_LESSTHAN@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_5:
	fxch	%st(1)
	fucompi	%st(1), %st
	fstp	%st(0)
	ja	LBB0_9
## %bb.6:
	cmpq	%r12, %r13
	jge	LBB0_8
LBB0_7:
	movq	_DT_LESSTHAN@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_8:
	xorl	%eax, %eax
	cmpq	%r12, %r13
	jle	LBB0_11
LBB0_9:
	movq	_DT_GREATERTHAN@GOTPCREL(%rip), %rax
LBB0_10:
	movl	(%rax), %eax
LBB0_11:
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DTRACE_QUANTIZE_NBUCKETS,4,2   ## @DTRACE_QUANTIZE_NBUCKETS
	.comm	_DT_LESSTHAN,4,2                ## @DT_LESSTHAN
	.comm	_DT_GREATERTHAN,4,2             ## @DT_GREATERTHAN
	.no_dead_strip	_dt_aggregate_quantizedcmp
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dt_aggregate_quantizedcmp
_dt_aggregate_quantizedcmp:             ; @dt_aggregate_quantizedcmp
	.cfi_startproc
; %bb.0:
	stp	d9, d8, [sp, #-80]!             ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset b8, -72
	.cfi_offset b9, -80
Lloh0:
	adrp	x8, _DTRACE_QUANTIZE_NBUCKETS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DTRACE_QUANTIZE_NBUCKETS@GOTPAGEOFF]
Lloh2:
	ldr	w22, [x8]
	cmp	w22, #1
	b.lt	LBB0_7
; %bb.1:
	mov	x19, x1
	mov	x20, x0
	mov	x21, #0
	movi	d8, #0000000000000000
                                        ; implicit-def: $x23
                                        ; implicit-def: $x24
	movi	d9, #0000000000000000
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	bl	_DTRACE_QUANTIZE_BUCKETVAL
	lsl	x8, x21, #3
	ldr	x9, [x20, x8]
	ldr	x8, [x19, x8]
	cmp	x0, #0
	csel	x24, x9, x24, eq
	csel	x23, x8, x23, eq
	scvtf	d0, x0
	scvtf	d1, x9
	fmadd	d9, d0, d1, d9
	scvtf	d1, x8
	fmadd	d8, d0, d1, d8
	add	x21, x21, #1
	cmp	x22, x21
	b.ne	LBB0_2
; %bb.3:
	fcmp	d9, d8
	b.mi	LBB0_7
; %bb.4:
	b.le	LBB0_6
; %bb.5:
Lloh3:
	adrp	x8, _DT_GREATERTHAN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _DT_GREATERTHAN@GOTPAGEOFF]
	b	LBB0_8
LBB0_6:
	cmp	x24, x23
	b.ge	LBB0_10
LBB0_7:
Lloh5:
	adrp	x8, _DT_LESSTHAN@GOTPAGE
Lloh6:
	ldr	x8, [x8, _DT_LESSTHAN@GOTPAGEOFF]
LBB0_8:
	ldr	w0, [x8]
LBB0_9:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp], #80               ; 16-byte Folded Reload
	ret
LBB0_10:
Lloh7:
	adrp	x8, _DT_GREATERTHAN@GOTPAGE
Lloh8:
	ldr	x8, [x8, _DT_GREATERTHAN@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	csel	w0, w8, wzr, gt
	b	LBB0_9
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_DTRACE_QUANTIZE_NBUCKETS,4,2   ; @DTRACE_QUANTIZE_NBUCKETS
	.comm	_DT_LESSTHAN,4,2                ; @DT_LESSTHAN
	.comm	_DT_GREATERTHAN,4,2             ; @DT_GREATERTHAN
	.no_dead_strip	_dt_aggregate_quantizedcmp
.subsections_via_symbols
