	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ttm_pool_shrink_count
_ttm_pool_shrink_count:                 ## @ttm_pool_shrink_count
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_NUM_POOLS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	testq	%rdx, %rdx
	je	LBB0_1
## %bb.2:
	movq	__manager@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax), %rcx
	cmpl	$4, %edx
	jae	LBB0_4
## %bb.3:
	xorl	%esi, %esi
	xorl	%eax, %eax
	jmp	LBB0_7
LBB0_1:
	xorl	%eax, %eax
	popq	%rbp
	retq
LBB0_4:
	movl	%edx, %esi
	andl	$-4, %esi
	movq	%rdx, %rax
	shlq	$4, %rax
	andq	$-64, %rax
	pxor	%xmm0, %xmm0
	xorl	%edi, %edi
	pxor	%xmm1, %xmm1
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movdqu	(%rcx,%rdi), %xmm2
	movdqu	16(%rcx,%rdi), %xmm3
	movdqu	32(%rcx,%rdi), %xmm5
	movdqu	48(%rcx,%rdi), %xmm8
	pshufd	$68, %xmm3, %xmm6               ## xmm6 = xmm3[0,1,0,1]
	movdqa	%xmm2, %xmm7
	punpckhqdq	%xmm3, %xmm7            ## xmm7 = xmm7[1],xmm3[1]
	psllq	%xmm7, %xmm2
	pshufd	$68, %xmm8, %xmm3               ## xmm3 = xmm8[0,1,0,1]
	movdqa	%xmm5, %xmm4
	pshufd	$238, %xmm7, %xmm7              ## xmm7 = xmm7[2,3,2,3]
	psllq	%xmm7, %xmm6
	punpckhqdq	%xmm8, %xmm4            ## xmm4 = xmm4[1],xmm8[1]
	pblendw	$15, %xmm2, %xmm6               ## xmm6 = xmm2[0,1,2,3],xmm6[4,5,6,7]
	psllq	%xmm4, %xmm5
	paddq	%xmm6, %xmm0
	pshufd	$238, %xmm4, %xmm2              ## xmm2 = xmm4[2,3,2,3]
	psllq	%xmm2, %xmm3
	pblendw	$15, %xmm5, %xmm3               ## xmm3 = xmm5[0,1,2,3],xmm3[4,5,6,7]
	paddq	%xmm3, %xmm1
	addq	$64, %rdi
	cmpq	%rdi, %rax
	jne	LBB0_5
## %bb.6:
	paddq	%xmm0, %xmm1
	pshufd	$238, %xmm1, %xmm0              ## xmm0 = xmm1[2,3,2,3]
	paddq	%xmm1, %xmm0
	movq	%xmm0, %rax
	cmpq	%rdx, %rsi
	je	LBB0_9
LBB0_7:
	subq	%rsi, %rdx
	shlq	$4, %rsi
	addq	%rcx, %rsi
	addq	$8, %rsi
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	-8(%rsi), %rdi
	movzbl	(%rsi), %ecx
	shlq	%cl, %rdi
	addq	%rdi, %rax
	addq	$16, %rsi
	decq	%rdx
	jne	LBB0_8
LBB0_9:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NUM_POOLS,4,2                  ## @NUM_POOLS
	.comm	__manager,8,3                   ## @_manager
	.no_dead_strip	_ttm_pool_shrink_count
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ttm_pool_shrink_count
_ttm_pool_shrink_count:                 ; @ttm_pool_shrink_count
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _NUM_POOLS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NUM_POOLS@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cbz	w8, LBB0_3
; %bb.1:
Lloh3:
	adrp	x9, __manager@GOTPAGE
Lloh4:
	ldr	x9, [x9, __manager@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	ldr	x9, [x9]
	cmp	w8, #8
	b.hs	LBB0_4
; %bb.2:
	mov	x10, #0
	mov	x0, #0
	b	LBB0_7
LBB0_3:
	mov	x0, #0
	ret
LBB0_4:
	and	x10, x8, #0xfffffff8
	add	x11, x9, #64
	movi.2d	v0, #0000000000000000
	mov	x12, x10
	movi.2d	v1, #0000000000000000
	movi.2d	v2, #0000000000000000
	movi.2d	v3, #0000000000000000
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	sub	x13, x11, #64
	ld2.2d	{ v4, v5 }, [x13]
	sub	x13, x11, #32
	ld2.2d	{ v6, v7 }, [x13]
	mov	x13, x11
	ld2.2d	{ v16, v17 }, [x13], #32
	ld2.2d	{ v18, v19 }, [x13]
	ushl.2d	v4, v4, v5
	ushl.2d	v5, v6, v7
	ushl.2d	v6, v16, v17
	ushl.2d	v7, v18, v19
	add.2d	v0, v4, v0
	add.2d	v1, v5, v1
	add.2d	v2, v6, v2
	add.2d	v3, v7, v3
	add	x11, x11, #128
	subs	x12, x12, #8
	b.ne	LBB0_5
; %bb.6:
	add.2d	v0, v1, v0
	add.2d	v0, v2, v0
	add.2d	v0, v3, v0
	addp.2d	d0, v0
	fmov	x0, d0
	cmp	x10, x8
	b.eq	LBB0_9
LBB0_7:
	add	x9, x9, x10, lsl #4
	add	x9, x9, #8
	sub	x8, x8, x10
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldp	x10, x11, [x9, #-8]
	lsl	x10, x10, x11
	add	x0, x10, x0
	add	x9, x9, #16
	subs	x8, x8, #1
	b.ne	LBB0_8
LBB0_9:
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_NUM_POOLS,4,2                  ; @NUM_POOLS
	.comm	__manager,8,3                   ; @_manager
	.no_dead_strip	_ttm_pool_shrink_count
.subsections_via_symbols
