	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ensure_record_cache_typmod_slot_exists
_ensure_record_cache_typmod_slot_exists: ## @ensure_record_cache_typmod_slot_exists
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edi, %r14d
	movq	_RecordCacheArray@GOTPCREL(%rip), %r12
	cmpq	$0, (%r12)
	je	LBB0_2
## %bb.1:
	movq	_RecordCacheArrayLen@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	cmpl	%r14d, %r15d
	jle	LBB0_4
	jmp	LBB0_6
LBB0_2:
	movq	_CacheMemoryContext@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	movl	$256, %esi                      ## imm = 0x100
	callq	_MemoryContextAllocZero
	movq	%rax, (%r12)
	movl	(%rbx), %edi
	movl	$256, %esi                      ## imm = 0x100
	callq	_MemoryContextAllocZero
	movq	_RecordIdentifierArray@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movq	_RecordCacheArrayLen@GOTPCREL(%rip), %rax
	movl	$64, (%rax)
	movl	$64, %r15d
	cmpl	%r14d, %r15d
	jg	LBB0_6
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	%r15d, %ebx
	leal	(%rbx,%rbx), %r15d
	cmpl	%r14d, %r15d
	jle	LBB0_4
## %bb.5:
	movq	(%r12), %rdi
	shll	$3, %ebx
	movl	%ebx, %esi
	callq	_repalloc
	movq	%rax, (%r12)
	movq	_RecordCacheArrayLen@GOTPCREL(%rip), %r14
	movslq	(%r14), %rcx
	leaq	(%rax,%rcx,4), %rdi
	movl	%r15d, %edx
	subl	%ecx, %edx
	shll	$2, %edx
	xorl	%esi, %esi
	callq	_memset
	movq	_RecordIdentifierArray@GOTPCREL(%rip), %r12
	movq	(%r12), %rdi
	movl	%ebx, %esi
	callq	_repalloc
	movq	%rax, (%r12)
	movslq	(%r14), %rcx
	leaq	(%rax,%rcx,4), %rdi
	movl	%r15d, %edx
	subl	%ecx, %edx
	shll	$2, %edx
	xorl	%esi, %esi
	callq	_memset
	movl	%r15d, (%r14)
LBB0_6:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RecordCacheArray,8,3           ## @RecordCacheArray
	.comm	_CacheMemoryContext,4,2         ## @CacheMemoryContext
	.comm	_RecordIdentifierArray,8,3      ## @RecordIdentifierArray
	.comm	_RecordCacheArrayLen,4,2        ## @RecordCacheArrayLen
	.no_dead_strip	_ensure_record_cache_typmod_slot_exists
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ensure_record_cache_typmod_slot_exists
_ensure_record_cache_typmod_slot_exists: ; @ensure_record_cache_typmod_slot_exists
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x0
Lloh0:
	adrp	x22, _RecordCacheArray@GOTPAGE
Lloh1:
	ldr	x22, [x22, _RecordCacheArray@GOTPAGEOFF]
	ldr	x8, [x22]
Lloh2:
	adrp	x20, _RecordCacheArrayLen@GOTPAGE
Lloh3:
	ldr	x20, [x20, _RecordCacheArrayLen@GOTPAGEOFF]
	cbz	x8, LBB0_2
; %bb.1:
	ldr	w21, [x20]
	cmp	w21, w19
	b.le	LBB0_3
	b	LBB0_5
LBB0_2:
Lloh4:
	adrp	x21, _CacheMemoryContext@GOTPAGE
Lloh5:
	ldr	x21, [x21, _CacheMemoryContext@GOTPAGEOFF]
	ldr	w0, [x21]
	mov	w1, #256
	bl	_MemoryContextAllocZero
	str	x0, [x22]
	ldr	w0, [x21]
	mov	w1, #256
	bl	_MemoryContextAllocZero
Lloh6:
	adrp	x8, _RecordIdentifierArray@GOTPAGE
Lloh7:
	ldr	x8, [x8, _RecordIdentifierArray@GOTPAGEOFF]
Lloh8:
	str	x0, [x8]
	mov	w21, #64
	str	w21, [x20]
	cmp	w21, w19
	b.gt	LBB0_5
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x8, x21
	lsl	w21, w21, #1
	cmp	w21, w19
	b.le	LBB0_3
; %bb.4:
	ldr	x0, [x22]
	lsl	w19, w8, #3
	mov	x1, x19
	bl	_repalloc
	str	x0, [x22]
	ldrsw	x8, [x20]
	add	x0, x0, x8, lsl #2
	sub	w8, w21, w8
	lsl	w2, w8, #2
	mov	w1, #0
	bl	_memset
Lloh9:
	adrp	x22, _RecordIdentifierArray@GOTPAGE
Lloh10:
	ldr	x22, [x22, _RecordIdentifierArray@GOTPAGEOFF]
	ldr	x0, [x22]
	mov	x1, x19
	bl	_repalloc
	str	x0, [x22]
	ldrsw	x8, [x20]
	add	x0, x0, x8, lsl #2
	sub	w8, w21, w8
	lsl	w2, w8, #2
	mov	w1, #0
	bl	_memset
	str	w21, [x20]
LBB0_5:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotStr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_RecordCacheArray,8,3           ; @RecordCacheArray
	.comm	_CacheMemoryContext,4,2         ; @CacheMemoryContext
	.comm	_RecordIdentifierArray,8,3      ; @RecordIdentifierArray
	.comm	_RecordCacheArrayLen,4,2        ; @RecordCacheArrayLen
	.no_dead_strip	_ensure_record_cache_typmod_slot_exists
.subsections_via_symbols
