	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function DCH_cache_getnew
_DCH_cache_getnew:                      ## @DCH_cache_getnew
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r15d
	movq	%rdi, %r14
	xorl	%eax, %eax
	callq	_DCH_prevent_counter_overflow
	movq	_n_DCHCache@GOTPCREL(%rip), %r12
	movslq	(%r12), %rdx
	movq	_DCH_CACHE_ENTRIES@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_DCHCache@GOTPCREL(%rip), %r13
	movq	(%r13), %rcx
	cmpl	%eax, %edx
	jge	LBB0_2
## %bb.1:
	xorl	%edi, %edi
	cmpq	$0, (%rcx,%rdx,8)
	sete	%dil
	callq	_Assert
	movq	_TopMemoryContext@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	$24, %esi
	callq	_MemoryContextAllocZero
	movq	%rax, %rbx
	movq	(%r13), %rax
	movslq	(%r12), %rcx
	movq	%rbx, (%rax,%rcx,8)
	movl	$0, (%rbx)
	movl	20(%rbx), %edi
	movq	_DCH_CACHE_SIZE@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	incq	%rdx
	movq	%r14, %rsi
	callq	_StrNCpy
	movl	%r15d, 16(%rbx)
	movq	_DCHCounter@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	incq	%rcx
	movq	%rcx, (%rax)
	movq	%rcx, 8(%rbx)
	incl	(%r12)
	jmp	LBB0_12
LBB0_2:
	movq	(%rcx), %rdx
	cmpl	$0, (%rdx)
	je	LBB0_10
## %bb.3:
	cmpl	$2, %eax
	jl	LBB0_10
## %bb.4:
	movl	$1, %esi
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_6 Depth=1
	incq	%rsi
	movq	%rbx, %rdx
	cmpq	%rsi, %rax
	je	LBB0_11
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rcx,%rsi,8), %rbx
	cmpl	$0, (%rbx)
	je	LBB0_11
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	8(%rbx), %rdi
	cmpq	8(%rdx), %rdi
	jl	LBB0_5
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	%rdx, %rbx
	jmp	LBB0_5
LBB0_10:
	movq	%rdx, %rbx
LBB0_11:
	movl	$0, (%rbx)
	movl	20(%rbx), %edi
	movq	_DCH_CACHE_SIZE@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	incq	%rdx
	movq	%r14, %rsi
	callq	_StrNCpy
	movq	_DCHCounter@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	incq	%rcx
	movq	%rcx, (%rax)
	movq	%rcx, 8(%rbx)
LBB0_12:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_n_DCHCache,4,2                 ## @n_DCHCache
	.comm	_DCH_CACHE_ENTRIES,4,2          ## @DCH_CACHE_ENTRIES
	.comm	_DCHCache,8,3                   ## @DCHCache
	.comm	_DCH_CACHE_SIZE,8,3             ## @DCH_CACHE_SIZE
	.comm	_DCHCounter,8,3                 ## @DCHCounter
	.comm	_TopMemoryContext,4,2           ## @TopMemoryContext
	.comm	_DEBUG_elog_output,4,2          ## @DEBUG_elog_output
	.no_dead_strip	_DCH_cache_getnew
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function DCH_cache_getnew
_DCH_cache_getnew:                      ; @DCH_cache_getnew
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x21, x1
	mov	x19, x0
	bl	_DCH_prevent_counter_overflow
Lloh0:
	adrp	x22, _n_DCHCache@GOTPAGE
Lloh1:
	ldr	x22, [x22, _n_DCHCache@GOTPAGEOFF]
Lloh2:
	adrp	x8, _DCH_CACHE_ENTRIES@GOTPAGE
Lloh3:
	ldr	x8, [x8, _DCH_CACHE_ENTRIES@GOTPAGEOFF]
	ldrsw	x10, [x22]
Lloh4:
	ldr	w9, [x8]
Lloh5:
	adrp	x23, _DCHCache@GOTPAGE
Lloh6:
	ldr	x23, [x23, _DCHCache@GOTPAGEOFF]
	ldr	x8, [x23]
	cmp	w10, w9
	b.ge	LBB0_2
; %bb.1:
	ldr	x8, [x8, x10, lsl #3]
	cmp	x8, #0
	cset	w0, eq
	bl	_Assert
Lloh7:
	adrp	x8, _TopMemoryContext@GOTPAGE
Lloh8:
	ldr	x8, [x8, _TopMemoryContext@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
	mov	w1, #24
	bl	_MemoryContextAllocZero
	mov	x20, x0
	ldr	x8, [x23]
	ldrsw	x9, [x22]
	str	x0, [x8, x9, lsl #3]
	str	wzr, [x0]
	ldr	w0, [x0, #20]
Lloh10:
	adrp	x8, _DCH_CACHE_SIZE@GOTPAGE
Lloh11:
	ldr	x8, [x8, _DCH_CACHE_SIZE@GOTPAGEOFF]
Lloh12:
	ldr	x8, [x8]
	add	x2, x8, #1
	mov	x1, x19
	bl	_StrNCpy
	str	w21, [x20, #16]
Lloh13:
	adrp	x8, _DCHCounter@GOTPAGE
Lloh14:
	ldr	x8, [x8, _DCHCounter@GOTPAGEOFF]
	ldr	x9, [x8]
	add	x9, x9, #1
	str	x9, [x8]
	str	x9, [x20, #8]
	ldr	w8, [x22]
	add	w8, w8, #1
	str	w8, [x22]
	b	LBB0_8
LBB0_2:
	ldr	x20, [x8]
	ldr	w10, [x20]
	cmp	w10, #0
	ccmp	w9, #2, #8, ne
	b.lt	LBB0_7
; %bb.3:
	add	x8, x8, #8
	sub	x9, x9, #1
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x10, [x8]
	ldr	w11, [x10]
	cbz	w11, LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x11, [x10, #8]
	ldr	x12, [x20, #8]
	cmp	x11, x12
	csel	x20, x10, x20, lt
	add	x8, x8, #8
	subs	x9, x9, #1
	b.ne	LBB0_4
	b	LBB0_7
LBB0_6:
	mov	x20, x10
LBB0_7:
	str	wzr, [x20]
	ldr	w0, [x20, #20]
Lloh15:
	adrp	x8, _DCH_CACHE_SIZE@GOTPAGE
Lloh16:
	ldr	x8, [x8, _DCH_CACHE_SIZE@GOTPAGEOFF]
Lloh17:
	ldr	x8, [x8]
	add	x2, x8, #1
	mov	x1, x19
	bl	_StrNCpy
Lloh18:
	adrp	x8, _DCHCounter@GOTPAGE
Lloh19:
	ldr	x8, [x8, _DCHCounter@GOTPAGEOFF]
	ldr	x9, [x8]
	add	x9, x9, #1
	str	x9, [x8]
	str	x9, [x20, #8]
LBB0_8:
	mov	x0, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_n_DCHCache,4,2                 ; @n_DCHCache
	.comm	_DCH_CACHE_ENTRIES,4,2          ; @DCH_CACHE_ENTRIES
	.comm	_DCHCache,8,3                   ; @DCHCache
	.comm	_DCH_CACHE_SIZE,8,3             ; @DCH_CACHE_SIZE
	.comm	_DCHCounter,8,3                 ; @DCHCounter
	.comm	_TopMemoryContext,4,2           ; @TopMemoryContext
	.comm	_DEBUG_elog_output,4,2          ; @DEBUG_elog_output
	.no_dead_strip	_DCH_cache_getnew
.subsections_via_symbols
