	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_buffer_meta_index              ## -- Begin function buffer_meta_index
	.p2align	4, 0x90
_buffer_meta_index:                     ## @buffer_meta_index
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	_verbosity@GOTPCREL(%rip), %rax
	cmpl	$3, (%rax)
	jl	LBB0_2
## %bb.1:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_fprintf
LBB0_2:
	movq	_buffer_meta_pos@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	testq	%rax, %rax
	jne	LBB0_4
## %bb.3:
	movl	16(%rbx), %edi
	movq	(%rbx), %rsi
	callq	_buffer_meta_init_key
	movq	(%r14), %rax
LBB0_4:
	movq	8(%rbx), %rcx
	addq	(%rbx), %rax
	addq	%rcx, %rax
	addq	$25, %rax
	movq	_MAX_METAFILE_SIZE@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	setb	%dil
	callq	_assert
	movq	_buffer_meta@GOTPCREL(%rip), %rax
	movq	(%r14), %rdi
	addq	(%rax), %rdi
	movq	(%rbx), %rax
	movq	8(%rbx), %rcx
	leaq	(%rax,%rcx), %rdx
	addq	$25, %rdx
	movq	%rbx, %rsi
	callq	_memcpy
	movq	(%rbx), %rax
	movq	(%r14), %rcx
	addq	8(%rbx), %rax
	addq	%rcx, %rax
	addq	$25, %rax
	movq	%rax, (%r14)
	movq	_buffer_meta_number@GOTPCREL(%rip), %rbx
	movq	_MAX_METAFILES@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	decl	%eax
	xorl	%edi, %edi
	cmpl	%eax, (%rbx)
	setl	%dil
	callq	_assert
	movq	(%r14), %rax
	movq	_buffer_shifts@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movslq	(%rbx), %rdx
	leaq	1(%rdx), %rsi
	movl	%esi, (%rbx)
	movq	%rax, 8(%rcx,%rdx,8)
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_verbosity,4,2                  ## @verbosity
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Data from index_entry\n"

	.comm	_buffer_meta_pos,8,3            ## @buffer_meta_pos
	.comm	_MAX_METAFILE_SIZE,8,3          ## @MAX_METAFILE_SIZE
	.comm	_buffer_meta,8,3                ## @buffer_meta
	.comm	_buffer_meta_number,4,2         ## @buffer_meta_number
	.comm	_MAX_METAFILES,4,2              ## @MAX_METAFILES
	.comm	_buffer_shifts,8,3              ## @buffer_shifts
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_buffer_meta_index              ; -- Begin function buffer_meta_index
	.p2align	2
_buffer_meta_index:                     ; @buffer_meta_index
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x8, _verbosity@GOTPAGE
Lloh1:
	ldr	x8, [x8, _verbosity@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, #3
	b.lt	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _stderr@GOTPAGE
Lloh4:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	bl	_fprintf
LBB0_2:
Lloh8:
	adrp	x20, _buffer_meta_pos@GOTPAGE
Lloh9:
	ldr	x20, [x20, _buffer_meta_pos@GOTPAGEOFF]
	ldr	x8, [x20]
	cbnz	x8, LBB0_4
; %bb.3:
	ldr	w0, [x19, #16]
	ldr	x1, [x19]
	bl	_buffer_meta_init_key
	ldr	x8, [x20]
LBB0_4:
	ldp	x9, x10, [x19]
	add	x8, x8, x9
	add	x8, x8, x10
	add	x8, x8, #25
Lloh10:
	adrp	x9, _MAX_METAFILE_SIZE@GOTPAGE
Lloh11:
	ldr	x9, [x9, _MAX_METAFILE_SIZE@GOTPAGEOFF]
Lloh12:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, lo
	bl	_assert
Lloh13:
	adrp	x8, _buffer_meta@GOTPAGE
Lloh14:
	ldr	x8, [x8, _buffer_meta@GOTPAGEOFF]
Lloh15:
	ldr	x8, [x8]
	ldr	x9, [x20]
	add	x0, x9, x8
	ldp	x8, x9, [x19]
	add	x8, x8, x9
	add	x2, x8, #25
	mov	x1, x19
	bl	_memcpy
	ldp	x8, x9, [x19]
	ldr	x10, [x20]
	add	x8, x8, x9
	add	x8, x8, x10
	add	x8, x8, #25
	str	x8, [x20]
Lloh16:
	adrp	x19, _buffer_meta_number@GOTPAGE
Lloh17:
	ldr	x19, [x19, _buffer_meta_number@GOTPAGEOFF]
	ldr	w8, [x19]
Lloh18:
	adrp	x9, _MAX_METAFILES@GOTPAGE
Lloh19:
	ldr	x9, [x9, _MAX_METAFILES@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	sub	w9, w9, #1
	cmp	w8, w9
	cset	w0, lt
	bl	_assert
	ldr	x8, [x20]
Lloh21:
	adrp	x9, _buffer_shifts@GOTPAGE
Lloh22:
	ldr	x9, [x9, _buffer_shifts@GOTPAGEOFF]
Lloh23:
	ldr	x9, [x9]
	ldrsw	x10, [x19]
	add	x10, x10, #1
	str	w10, [x19]
	str	x8, [x9, x10, lsl #3]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_verbosity,4,2                  ; @verbosity
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Data from index_entry\n"

	.comm	_buffer_meta_pos,8,3            ; @buffer_meta_pos
	.comm	_MAX_METAFILE_SIZE,8,3          ; @MAX_METAFILE_SIZE
	.comm	_buffer_meta,8,3                ; @buffer_meta
	.comm	_buffer_meta_number,4,2         ; @buffer_meta_number
	.comm	_MAX_METAFILES,4,2              ; @MAX_METAFILES
	.comm	_buffer_shifts,8,3              ; @buffer_shifts
.subsections_via_symbols
