	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dt_print_quantize              ## -- Begin function dt_print_quantize
	.p2align	4, 0x90
_dt_print_quantize:                     ## @dt_print_quantize
	.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	$88, %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
	movslq	(%rax), %rax
	fldz
	fstpt	-112(%rbp)
	leaq	(,%rax,4), %rbx
	cmpq	%rcx, %rbx
	jne	LBB0_24
## %bb.1:
	movl	%eax, %ecx
	leal	-1(%rcx), %eax
	xorl	%ebx, %ebx
	cmpl	$2, %ecx
	movq	%rdi, -72(%rbp)                 ## 8-byte Spill
	movl	%r8d, -76(%rbp)                 ## 4-byte Spill
	movq	%rsi, -96(%rbp)                 ## 8-byte Spill
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	jl	LBB0_5
## %bb.2:
	movl	%eax, %edi
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	$0, (%rdx,%rbx,8)
	jne	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	incq	%rbx
	cmpq	%rbx, %rdi
	jne	LBB0_3
	jmp	LBB0_6
LBB0_24:
	movq	_EDT_DMISMATCH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_dt_set_errno                   ## TAILCALL
LBB0_5:
	cmpl	%eax, %ebx
	jne	LBB0_10
LBB0_6:
	movq	_DTRACE_QUANTIZE_ZEROBUCKET@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	leal	-1(%r14), %ebx
	incl	%r14d
	jmp	LBB0_7
LBB0_10:
	xorl	%eax, %eax
	subl	$1, %ebx
	cmovbl	%eax, %ebx
	testl	%ecx, %ecx
	movl	$1, %r9d
	cmovlel	%ecx, %r9d
	leal	-1(%r9), %r14d
	movq	%rcx, %rax
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	cmpl	$2, %eax
	jl	LBB0_14
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=1
	decq	%rax
	movl	%eax, %edi
	cmpq	$0, (%rdx,%rdi,8)
	je	LBB0_11
## %bb.13:
	leal	1(%rax), %r9d
	movl	%eax, %r14d
LBB0_14:
	cmpl	%ecx, %r9d
	cmovll	%r9d, %r14d
	cmpl	%r14d, %ebx
	jle	LBB0_7
## %bb.15:
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	movq	%rbx, -88(%rbp)                 ## 8-byte Spill
	movb	$1, %r14b
	xorl	%r13d, %r13d
	xorl	%r12d, %r12d
	jmp	LBB0_16
LBB0_7:
	movq	%rbx, -88(%rbp)                 ## 8-byte Spill
	movslq	%ebx, %rax
	leaq	(%rdx,%rax,8), %rcx
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
                                        ## kill: def $r14d killed $r14d killed $r14 def $r14
	subl	%eax, %r14d
	incl	%r14d
	xorl	%r15d, %r15d
	xorl	%r12d, %r12d
	xorl	%r13d, %r13d
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax,%r15,8), %rsi
	testq	%rsi, %rsi
	setg	%al
	orb	%al, %r13b
	movq	%rsi, %rax
	shrq	$63, %rax
	orb	%al, %r12b
	movq	%rbx, %rdi
	leaq	-112(%rbp), %rdx
	callq	_dt_quantize_total
	incq	%r15
	cmpl	%r15d, %r14d
	jne	LBB0_8
## %bb.9:
	xorl	%r14d, %r14d
LBB0_16:
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	-96(%rbp), %rsi                 ## 8-byte Reload
	xorl	%edx, %edx
	callq	_dt_print_quanthdr
	movq	%rax, %rcx
	sarq	$63, %rcx
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	testq	%rax, %rax
	js	LBB0_23
## %bb.17:
	testb	%r14b, %r14b
	jne	LBB0_23
## %bb.18:
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	movslq	%edi, %rax
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	incl	%r15d
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	leaq	(%rcx,%rax,8), %r14
	movsbl	%r13b, %eax
	movl	%eax, -64(%rbp)                 ## 4-byte Spill
	movsbl	%r12b, %eax
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
	movq	-72(%rbp), %r12                 ## 8-byte Reload
	movq	-96(%rbp), %rbx                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_19:                                ## =>This Inner Loop Header: Depth=1
	movq	%rdi, %r13
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_DTRACE_QUANTIZE_BUCKETVAL
	movq	%r12, %rdi
	movq	%rbx, %rsi
	leaq	L_.str(%rip), %rdx
	movq	%rax, %rcx
	callq	_dt_printf
	movl	$-1, %ecx
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	testq	%rax, %rax
	js	LBB0_23
## %bb.20:                              ##   in Loop: Header=BB0_19 Depth=1
	movq	(%r14), %rdx
	fldt	-112(%rbp)
	fstpt	(%rsp)
	movq	%r12, %rdi
	movq	%rbx, %rsi
	movl	-76(%rbp), %ecx                 ## 4-byte Reload
	movl	-64(%rbp), %r8d                 ## 4-byte Reload
	movl	-56(%rbp), %r9d                 ## 4-byte Reload
	callq	_dt_print_quantline
	testq	%rax, %rax
	js	LBB0_23
## %bb.21:                              ##   in Loop: Header=BB0_19 Depth=1
	addq	$8, %r14
	movq	%r13, %rdi
	incl	%edi
	cmpl	%edi, %r15d
	jne	LBB0_19
## %bb.22:
	xorl	%eax, %eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
LBB0_23:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
                                        ## kill: def $eax killed $eax killed $rax
	addq	$88, %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	_EDT_DMISMATCH,4,2              ## @EDT_DMISMATCH
	.comm	_DTRACE_QUANTIZE_ZEROBUCKET,4,2 ## @DTRACE_QUANTIZE_ZEROBUCKET
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%16lld "

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dt_print_quantize              ; -- Begin function dt_print_quantize
	.p2align	2
_dt_print_quantize:                     ; @dt_print_quantize
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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 w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x20, x0
	str	xzr, [sp, #8]
Lloh0:
	adrp	x8, _DTRACE_QUANTIZE_NBUCKETS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DTRACE_QUANTIZE_NBUCKETS@GOTPAGEOFF]
Lloh2:
	ldrsw	x8, [x8]
	cmp	x3, x8, lsl #2
	b.ne	LBB0_5
; %bb.1:
	mov	x19, x4
	mov	x22, x2
	mov	x21, x1
	and	x8, x8, #0xffffffff
	sub	w9, w8, #1
	cmp	w8, #2
	b.lt	LBB0_6
; %bb.2:
	mov	x10, #0
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x11, [x22, x10, lsl #3]
	cbnz	x11, LBB0_7
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x10, x10, #1
	cmp	x9, x10
	b.ne	LBB0_3
	b	LBB0_8
LBB0_5:
Lloh3:
	adrp	x8, _EDT_DMISMATCH@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EDT_DMISMATCH@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x20
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	b	_dt_set_errno
LBB0_6:
	mov	w10, #0
LBB0_7:
	cmp	w10, w9
	b.ne	LBB0_9
LBB0_8:
Lloh6:
	adrp	x8, _DTRACE_QUANTIZE_ZEROBUCKET@GOTPAGE
Lloh7:
	ldr	x8, [x8, _DTRACE_QUANTIZE_ZEROBUCKET@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	sub	w23, w8, #1
	add	w24, w8, #1
	b	LBB0_15
LBB0_9:
	sub	w9, w10, #1
	cmp	w10, #0
	csel	w23, wzr, w9, eq
	cmp	w8, #1
	csinc	w9, w8, wzr, lt
	sub	w10, w9, #1
	mov	x11, x8
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	cmp	w11, #2
	b.lt	LBB0_13
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	sub	x11, x11, #1
	ldr	x12, [x22, w11, uxtw #3]
	cbz	x12, LBB0_10
; %bb.12:
	add	w9, w11, #1
	mov	x10, x11
LBB0_13:
	cmp	w9, w8
	csel	w24, w9, w10, lt
	cmp	w23, w24
	b.le	LBB0_15
; %bb.14:
	mov	w26, #0
	mov	w25, #0
	mov	w27, #1
	b	LBB0_18
LBB0_15:
	mov	w25, #0
	mov	w26, #0
	sub	w27, w23, #1
	add	x28, x22, w23, sxtw #3
LBB0_16:                                ; =>This Inner Loop Header: Depth=1
	ldr	x1, [x28], #8
	cmp	x1, #0
	cset	w8, gt
	orr	w26, w26, w8
	lsr	x8, x1, #63
	orr	w25, w25, w8
	add	x2, sp, #8
	mov	x0, x20
	bl	_dt_quantize_total
	add	w27, w27, #1
	cmp	w24, w27
	b.ne	LBB0_16
; %bb.17:
	mov	w27, #0
LBB0_18:
	mov	x0, x20
	mov	x1, x21
	mov	w2, #0
	bl	_dt_print_quanthdr
	mov	x8, x0
	asr	x0, x0, #63
	tbnz	x8, #63, LBB0_26
; %bb.19:
	tbnz	w27, #0, LBB0_26
; %bb.20:
	add	w27, w24, #1
	sxtb	w24, w26
	sxtb	w25, w25
Lloh9:
	adrp	x26, l_.str@PAGE
Lloh10:
	add	x26, x26, l_.str@PAGEOFF
	add	x22, x22, w23, sxtw #3
LBB0_21:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x23
	bl	_DTRACE_QUANTIZE_BUCKETVAL
	mov	x3, x0
	mov	x0, x20
	mov	x1, x21
	mov	x2, x26
	bl	_dt_printf
	tbnz	x0, #63, LBB0_25
; %bb.22:                               ;   in Loop: Header=BB0_21 Depth=1
	ldr	x2, [x22]
	ldr	d0, [sp, #8]
	mov	x0, x20
	mov	x1, x21
	mov	x3, x19
	mov	x4, x24
	mov	x5, x25
	bl	_dt_print_quantline
	tbnz	x0, #63, LBB0_25
; %bb.23:                               ;   in Loop: Header=BB0_21 Depth=1
	add	x22, x22, #8
	add	w23, w23, #1
	cmp	w27, w23
	b.ne	LBB0_21
; %bb.24:
	mov	w0, #0
	b	LBB0_26
LBB0_25:
	mov	w0, #-1
LBB0_26:
                                        ; kill: def $w0 killed $w0 killed $x0
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_DTRACE_QUANTIZE_NBUCKETS,4,2   ; @DTRACE_QUANTIZE_NBUCKETS
	.comm	_EDT_DMISMATCH,4,2              ; @EDT_DMISMATCH
	.comm	_DTRACE_QUANTIZE_ZEROBUCKET,4,2 ; @DTRACE_QUANTIZE_ZEROBUCKET
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%16lld "

.subsections_via_symbols
