	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function dce80_validate_bandwidth
LCPI0_0:
	.long	1                               ## 0x1
	.long	1                               ## 0x1
	.space	4
	.space	4
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_dce80_validate_bandwidth
	.p2align	4, 0x90
_dce80_validate_bandwidth:              ## @dce80_validate_bandwidth
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rax
	movl	(%rax), %r9d
	testl	%r9d, %r9d
	jle	LBB0_14
## %bb.1:
	movq	8(%rsi), %rcx
	cmpl	$4, %r9d
	jae	LBB0_3
## %bb.2:
	xorl	%edx, %edx
	xorl	%eax, %eax
	jmp	LBB0_10
LBB0_3:
	movl	%r9d, %edx
	andl	$-4, %edx
	leaq	-4(%rdx), %rax
	movq	%rax, %r8
	shrq	$2, %r8
	incq	%r8
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	movq	%r8, %rax
	andq	$-2, %rax
	pxor	%xmm1, %xmm1
	xorl	%edi, %edi
	movaps	LCPI0_0(%rip), %xmm4            ## xmm4 = <1,1,u,u>
	xorps	%xmm6, %xmm6
	xorps	%xmm5, %xmm5
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movdqu	(%rcx,%rdi,8), %xmm0
	movdqu	16(%rcx,%rdi,8), %xmm2
	movdqu	32(%rcx,%rdi,8), %xmm3
	por	%xmm0, %xmm3
	movdqu	48(%rcx,%rdi,8), %xmm7
	por	%xmm2, %xmm7
	pcmpeqq	%xmm1, %xmm3
	pshufd	$232, %xmm3, %xmm0              ## xmm0 = xmm3[0,2,2,3]
	movaps	%xmm4, %xmm2
	blendvps	%xmm0, %xmm6, %xmm2
	pcmpeqq	%xmm1, %xmm7
	pshufd	$232, %xmm7, %xmm0              ## xmm0 = xmm7[0,2,2,3]
	movaps	%xmm4, %xmm3
	blendvps	%xmm0, %xmm5, %xmm3
	addq	$8, %rdi
	movaps	%xmm2, %xmm6
	movaps	%xmm3, %xmm5
	addq	$-2, %rax
	jne	LBB0_6
## %bb.7:
	testb	$1, %r8b
	je	LBB0_9
LBB0_8:
	movdqu	(%rcx,%rdi,8), %xmm0
	movdqu	16(%rcx,%rdi,8), %xmm1
	xorps	%xmm4, %xmm4
	pcmpeqq	%xmm4, %xmm0
	pshufd	$232, %xmm0, %xmm0              ## xmm0 = xmm0[0,2,2,3]
	pcmpeqq	%xmm4, %xmm1
	pshufd	$232, %xmm1, %xmm1              ## xmm1 = xmm1[0,2,2,3]
	movaps	LCPI0_0(%rip), %xmm4            ## xmm4 = <1,1,u,u>
	movaps	%xmm4, %xmm5
	blendvps	%xmm0, %xmm2, %xmm5
	movdqa	%xmm1, %xmm0
	blendvps	%xmm0, %xmm3, %xmm4
	movaps	%xmm5, %xmm2
	movaps	%xmm4, %xmm3
LBB0_9:
	pxor	%xmm0, %xmm0
	pcmpeqd	%xmm2, %xmm0
	blendvps	%xmm0, %xmm3, %xmm2
	movq	%xmm2, %rdi
	xorl	%eax, %eax
	testq	%rdi, %rdi
	setne	%al
	cmpq	%r9, %rdx
	je	LBB0_12
LBB0_10:
	movl	$1, %edi
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	cmpq	$0, (%rcx,%rdx,8)
	cmovnel	%edi, %eax
	incq	%rdx
	cmpq	%rdx, %r9
	jne	LBB0_11
LBB0_12:
	testl	%eax, %eax
	je	LBB0_14
## %bb.13:
	movl	$681000, (%rsi)                 ## imm = 0xA6428
	movq	_MEMORY_TYPE_MULTIPLIER_CZ@GOTPCREL(%rip), %rax
	imull	$250000, (%rax), %eax           ## imm = 0x3D090
	jmp	LBB0_15
LBB0_14:
	movl	$0, (%rsi)
	xorl	%eax, %eax
LBB0_15:
	movl	%eax, 4(%rsi)
	movl	$1, %eax
	popq	%rbp
	retq
LBB0_4:
	xorps	%xmm2, %xmm2
	xorl	%edi, %edi
	xorps	%xmm3, %xmm3
	testb	$1, %r8b
	jne	LBB0_8
	jmp	LBB0_9
	.cfi_endproc
                                        ## -- End function
	.comm	_MEMORY_TYPE_MULTIPLIER_CZ,4,2  ## @MEMORY_TYPE_MULTIPLIER_CZ
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dce80_validate_bandwidth       ; -- Begin function dce80_validate_bandwidth
	.p2align	2
_dce80_validate_bandwidth:              ; @dce80_validate_bandwidth
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0]
	ldr	w8, [x8]
	cmp	w8, #1
	b.lt	LBB0_10
; %bb.1:
	ldr	x9, [x1, #8]
	cmp	w8, #8
	b.hs	LBB0_3
; %bb.2:
	mov	x10, #0
	mov	w11, #0
	b	LBB0_6
LBB0_3:
	and	x10, x8, #0xfffffff8
	movi.2d	v0, #0000000000000000
	add	x11, x9, #32
	movi.2s	v2, #1
	mov	x12, x10
	movi.2d	v4, #0000000000000000
	movi.2d	v3, #0000000000000000
	movi.2d	v1, #0000000000000000
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldp	q5, q6, [x11, #-32]
	ldp	q7, q16, [x11], #64
	cmeq.2d	v5, v5, #0
	xtn.2s	v5, v5
	cmeq.2d	v6, v6, #0
	xtn.2s	v6, v6
	cmeq.2d	v7, v7, #0
	xtn.2s	v7, v7
	cmeq.2d	v16, v16, #0
	xtn.2s	v16, v16
	bif.8b	v0, v2, v5
	bif.8b	v4, v2, v6
	bif.8b	v3, v2, v7
	bif.8b	v1, v2, v16
	subs	x12, x12, #8
	b.ne	LBB0_4
; %bb.5:
	cmeq.2s	v2, v0, #0
	bit.8b	v0, v4, v2
	cmeq.2s	v2, v0, #0
	bit.8b	v0, v3, v2
	cmeq.2s	v2, v0, #0
	bit.8b	v0, v1, v2
	fmov	x11, d0
	cmp	x11, #0
	cset	w11, ne
	cmp	x10, x8
	b.eq	LBB0_8
LBB0_6:
	add	x9, x9, x10, lsl #3
	sub	x8, x8, x10
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x10, [x9], #8
	cmp	x10, #0
	csinc	w11, w11, wzr, eq
	subs	x8, x8, #1
	b.ne	LBB0_7
LBB0_8:
	cbz	w11, LBB0_10
; %bb.9:
	mov	w8, #25640
	movk	w8, #10, lsl #16
	str	w8, [x1]
Lloh0:
	adrp	x8, _MEMORY_TYPE_MULTIPLIER_CZ@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MEMORY_TYPE_MULTIPLIER_CZ@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	mov	w9, #53392
	movk	w9, #3, lsl #16
	mul	w8, w8, w9
	b	LBB0_11
LBB0_10:
	mov	w8, #0
	str	wzr, [x1]
LBB0_11:
	str	w8, [x1, #4]
	mov	w0, #1
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MEMORY_TYPE_MULTIPLIER_CZ,4,2  ; @MEMORY_TYPE_MULTIPLIER_CZ
.subsections_via_symbols
