	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CacheRegisterRelcacheCallback  ## -- Begin function CacheRegisterRelcacheCallback
	.p2align	4, 0x90
_CacheRegisterRelcacheCallback:         ## @CacheRegisterRelcacheCallback
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movl	%edi, %ebx
	movq	_relcache_callback_count@GOTPCREL(%rip), %r15
	movq	(%r15), %rax
	movq	_MAX_RELCACHE_CALLBACKS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jb	LBB0_2
## %bb.1:
	movq	_FATAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_elog
	movq	(%r15), %rax
LBB0_2:
	movq	_relcache_callback_list@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	%ebx, 4(%rcx,%rax,8)
	movl	%r14d, (%rcx,%rax,8)
	incq	%rax
	movq	%rax, (%r15)
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_relcache_callback_count,8,3    ## @relcache_callback_count
	.comm	_MAX_RELCACHE_CALLBACKS,8,3     ## @MAX_RELCACHE_CALLBACKS
	.comm	_FATAL,4,2                      ## @FATAL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"out of relcache_callback_list slots"

	.comm	_relcache_callback_list,8,3     ## @relcache_callback_list
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CacheRegisterRelcacheCallback  ; -- Begin function CacheRegisterRelcacheCallback
	.p2align	2
_CacheRegisterRelcacheCallback:         ; @CacheRegisterRelcacheCallback
	.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, x1
	mov	x20, x0
Lloh0:
	adrp	x21, _relcache_callback_count@GOTPAGE
Lloh1:
	ldr	x21, [x21, _relcache_callback_count@GOTPAGEOFF]
	ldr	x8, [x21]
Lloh2:
	adrp	x9, _MAX_RELCACHE_CALLBACKS@GOTPAGE
Lloh3:
	ldr	x9, [x9, _MAX_RELCACHE_CALLBACKS@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	cmp	x8, x9
	b.lo	LBB0_2
; %bb.1:
Lloh5:
	adrp	x8, _FATAL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _FATAL@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	bl	_elog
	ldr	x8, [x21]
LBB0_2:
Lloh10:
	adrp	x9, _relcache_callback_list@GOTPAGE
Lloh11:
	ldr	x9, [x9, _relcache_callback_list@GOTPAGEOFF]
Lloh12:
	ldr	x9, [x9]
	add	x9, x9, x8, lsl #3
	stp	w19, w20, [x9]
	add	x8, x8, #1
	str	x8, [x21]
	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 AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_relcache_callback_count,8,3    ; @relcache_callback_count
	.comm	_MAX_RELCACHE_CALLBACKS,8,3     ; @MAX_RELCACHE_CALLBACKS
	.comm	_FATAL,4,2                      ; @FATAL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"out of relcache_callback_list slots"

	.comm	_relcache_callback_list,8,3     ; @relcache_callback_list
.subsections_via_symbols
