	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_InitCatCache                   ## -- Begin function InitCatCache
	.p2align	4, 0x90
_InitCatCache:                          ## @InitCatCache
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, %r13d
	movq	%r8, %rbx
	movl	%ecx, %r12d
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	movl	%edi, %r14d
	testl	%r9d, %r9d
	jle	LBB0_1
## %bb.2:
	leal	-1(%r13), %eax
	xorl	%edi, %edi
	testl	%eax, %r13d
	sete	%dil
	jmp	LBB0_3
LBB0_1:
	xorl	%edi, %edi
LBB0_3:
	callq	_Assert
	movq	_CacheMemoryContext@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	testl	%edi, %edi
	jne	LBB0_5
## %bb.4:
	xorl	%eax, %eax
	callq	_CreateCacheMemoryContext
	movl	(%r15), %edi
LBB0_5:
	callq	_MemoryContextSwitchTo
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	_CacheHdr@GOTPCREL(%rip), %r15
	cmpq	$0, (%r15)
	jne	LBB0_7
## %bb.6:
	movl	$16, %edi
	callq	_palloc
	movq	%rax, (%r15)
	movq	%rax, %rdi
	callq	_slist_init
	movq	(%r15), %rax
	movq	$0, 8(%rax)
LBB0_7:
	movq	_PG_CACHE_LINE_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addl	$88, %edi
	callq	_palloc0
	movl	%eax, %edi
	callq	_CACHELINEALIGN
	movq	%rax, %r15
	leal	(,%r13,4), %edi
	callq	_palloc0
	movl	%eax, 80(%r15)
	movl	%r14d, (%r15)
	leaq	L_.str(%rip), %rax
	movq	%rax, 8(%r15)
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, 72(%r15)
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, 64(%r15)
	movl	$0, 16(%r15)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 48(%r15)
	movl	%r13d, 20(%r15)
	movl	%r12d, 24(%r15)
	testl	%r12d, %r12d
	jle	LBB0_22
## %bb.8:
	movq	32(%r15), %rax
	movl	%r12d, %r8d
	xorl	%edx, %edx
	cmpl	$8, %r12d
	jb	LBB0_18
## %bb.9:
	movq	%rax, %rcx
	subq	%rbx, %rcx
	cmpq	$32, %rcx
	jb	LBB0_18
## %bb.10:
	movl	%r8d, %edx
	andl	$-8, %edx
	leaq	-8(%rdx), %rcx
	movq	%rcx, %rdi
	shrq	$3, %rdi
	incq	%rdi
	movl	%edi, %r9d
	andl	$3, %r9d
	cmpq	$24, %rcx
	jae	LBB0_12
## %bb.11:
	xorl	%ecx, %ecx
	jmp	LBB0_14
LBB0_12:
	andq	$-4, %rdi
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	movups	(%rbx,%rcx,4), %xmm0
	movups	16(%rbx,%rcx,4), %xmm1
	movups	%xmm0, (%rax,%rcx,4)
	movups	%xmm1, 16(%rax,%rcx,4)
	movups	32(%rbx,%rcx,4), %xmm0
	movups	48(%rbx,%rcx,4), %xmm1
	movups	%xmm0, 32(%rax,%rcx,4)
	movups	%xmm1, 48(%rax,%rcx,4)
	movups	64(%rbx,%rcx,4), %xmm0
	movups	80(%rbx,%rcx,4), %xmm1
	movups	%xmm0, 64(%rax,%rcx,4)
	movups	%xmm1, 80(%rax,%rcx,4)
	movups	96(%rbx,%rcx,4), %xmm0
	movups	112(%rbx,%rcx,4), %xmm1
	movups	%xmm0, 96(%rax,%rcx,4)
	movups	%xmm1, 112(%rax,%rcx,4)
	addq	$32, %rcx
	addq	$-4, %rdi
	jne	LBB0_13
LBB0_14:
	testq	%r9, %r9
	je	LBB0_17
## %bb.15:
	leaq	(%rax,%rcx,4), %rdi
	addq	$16, %rdi
	leaq	(%rbx,%rcx,4), %rcx
	addq	$16, %rcx
	shlq	$5, %r9
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_16:                                ## =>This Inner Loop Header: Depth=1
	movups	-16(%rcx,%rsi), %xmm0
	movups	(%rcx,%rsi), %xmm1
	movups	%xmm0, -16(%rdi,%rsi)
	movups	%xmm1, (%rdi,%rsi)
	addq	$32, %rsi
	cmpq	%rsi, %r9
	jne	LBB0_16
LBB0_17:
	cmpq	%r8, %rdx
	je	LBB0_22
LBB0_18:
	movq	%rdx, %rcx
	notq	%rcx
	addq	%r8, %rcx
	movq	%r8, %rsi
	andq	$3, %rsi
	je	LBB0_20
	.p2align	4, 0x90
LBB0_19:                                ## =>This Inner Loop Header: Depth=1
	movl	(%rbx,%rdx,4), %edi
	movl	%edi, (%rax,%rdx,4)
	incq	%rdx
	decq	%rsi
	jne	LBB0_19
LBB0_20:
	cmpq	$3, %rcx
	jb	LBB0_22
	.p2align	4, 0x90
LBB0_21:                                ## =>This Inner Loop Header: Depth=1
	movl	(%rbx,%rdx,4), %ecx
	movl	%ecx, (%rax,%rdx,4)
	movl	4(%rbx,%rdx,4), %ecx
	movl	%ecx, 4(%rax,%rdx,4)
	movl	8(%rbx,%rdx,4), %ecx
	movl	%ecx, 8(%rax,%rdx,4)
	movl	12(%rbx,%rdx,4), %ecx
	movl	%ecx, 12(%rax,%rdx,4)
	addq	$4, %rdx
	cmpq	%rdx, %r8
	jne	LBB0_21
LBB0_22:
	movq	_CacheHdr@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	%r15, %rsi
	addq	$40, %rsi
	callq	_slist_push_head
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	callq	_MemoryContextSwitchTo
	movq	%r15, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CacheMemoryContext,4,2         ## @CacheMemoryContext
	.comm	_CacheHdr,8,3                   ## @CacheHdr
	.comm	_PG_CACHE_LINE_SIZE,4,2         ## @PG_CACHE_LINE_SIZE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"(not known yet)"

	.comm	_InitCatCache_DEBUG2,4,2        ## @InitCatCache_DEBUG2
	.comm	_CatCachePrintStats,4,2         ## @CatCachePrintStats
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_InitCatCache                   ; -- Begin function InitCatCache
	.p2align	2
_InitCatCache:                          ; @InitCatCache
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x23, x5
	mov	x19, x4
	mov	x22, x3
	mov	x24, x2
	mov	x25, x1
	mov	x26, x0
	sub	w8, w5, #1
	tst	w5, w8
	cset	w8, eq
	cmp	w5, #1
	csel	w0, wzr, w8, lt
	bl	_Assert
Lloh0:
	adrp	x20, _CacheMemoryContext@GOTPAGE
Lloh1:
	ldr	x20, [x20, _CacheMemoryContext@GOTPAGEOFF]
	ldr	w0, [x20]
	cbnz	w0, LBB0_2
; %bb.1:
	bl	_CreateCacheMemoryContext
	ldr	w0, [x20]
LBB0_2:
	bl	_MemoryContextSwitchTo
	mov	x20, x0
Lloh2:
	adrp	x27, _CacheHdr@GOTPAGE
Lloh3:
	ldr	x27, [x27, _CacheHdr@GOTPAGEOFF]
	ldr	x8, [x27]
	cbnz	x8, LBB0_4
; %bb.3:
	mov	w0, #16
	bl	_palloc
	str	x0, [x27]
	bl	_slist_init
	ldr	x8, [x27]
	str	xzr, [x8, #8]
LBB0_4:
Lloh4:
	adrp	x8, _PG_CACHE_LINE_SIZE@GOTPAGE
Lloh5:
	ldr	x8, [x8, _PG_CACHE_LINE_SIZE@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	add	w0, w8, #88
	bl	_palloc0
	bl	_CACHELINEALIGN
	mov	x21, x0
	lsl	w0, w23, #2
	bl	_palloc0
	str	w0, [x21, #80]
	str	w26, [x21]
Lloh7:
	adrp	x8, l_.str@PAGE
Lloh8:
	add	x8, x8, l_.str@PAGEOFF
	str	x8, [x21, #8]
	stp	x24, x25, [x21, #64]
	stp	xzr, xzr, [x21, #48]
	stp	wzr, w23, [x21, #16]
	str	w22, [x21, #24]
	cmp	w22, #1
	b.lt	LBB0_12
; %bb.5:
	mov	x8, #0
	ldr	x10, [x21, #32]
	mov	w9, w22
	cmp	w22, #16
	b.lo	LBB0_10
; %bb.6:
	sub	x11, x10, x19
	cmp	x11, #64
	b.lo	LBB0_10
; %bb.7:
	and	x8, x9, #0xfffffff0
	add	x11, x10, #32
	add	x12, x19, #32
	mov	x13, x8
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldp	q0, q1, [x12, #-32]
	ldp	q2, q3, [x12], #64
	stp	q0, q1, [x11, #-32]
	stp	q2, q3, [x11], #64
	subs	x13, x13, #16
	b.ne	LBB0_8
; %bb.9:
	cmp	x8, x9
	b.eq	LBB0_12
LBB0_10:
	lsl	x11, x8, #2
	add	x10, x10, x11
	add	x11, x19, x11
	sub	x8, x9, x8
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	ldr	w9, [x11], #4
	str	w9, [x10], #4
	subs	x8, x8, #1
	b.ne	LBB0_11
LBB0_12:
	ldr	x0, [x27]
	add	x1, x21, #40
	bl	_slist_push_head
	mov	x0, x20
	bl	_MemoryContextSwitchTo
	mov	x0, x21
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_CacheMemoryContext,4,2         ; @CacheMemoryContext
	.comm	_CacheHdr,8,3                   ; @CacheHdr
	.comm	_PG_CACHE_LINE_SIZE,4,2         ; @PG_CACHE_LINE_SIZE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"(not known yet)"

	.comm	_InitCatCache_DEBUG2,4,2        ; @InitCatCache_DEBUG2
	.comm	_CatCachePrintStats,4,2         ; @CatCachePrintStats
.subsections_via_symbols
