	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_check_metafile_loaded          ## -- Begin function check_metafile_loaded
	.p2align	4, 0x90
_check_metafile_loaded:                 ## @check_metafile_loaded
	.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
	xorl	%r15d, %r15d
	movl	$0, %edi
	testl	%ebx, %ebx
	js	LBB0_2
## %bb.1:
	movq	_Header@GOTPCREL(%rip), %rax
	movq	_tot_revlist_metafiles@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	addl	(%rax), %ecx
	xorl	%edi, %edi
	cmpl	%ebx, %ecx
	setge	%dil
LBB0_2:
	callq	_assert
	movq	_metafiles@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movslq	%ebx, %rcx
	movq	(%rax,%rcx,8), %rax
	testq	%rax, %rax
	je	LBB0_9
## %bb.3:
	cmpq	$0, 8(%rax)
	je	LBB0_9
## %bb.4:
	testl	%r14d, %r14d
	je	LBB0_5
## %bb.6:
	jns	LBB0_8
## %bb.7:
	cmpq	$0, (%rax)
	jne	LBB0_9
	jmp	LBB0_8
LBB0_5:
	xorl	%edi, %edi
	cmpq	$0, (%rax)
	sete	%dil
	callq	_assert
LBB0_8:
	movl	$1, %r15d
LBB0_9:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_Header,4,2                     ## @Header
	.comm	_tot_revlist_metafiles,4,2      ## @tot_revlist_metafiles
	.comm	_metafiles,8,3                  ## @metafiles
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_check_metafile_loaded          ; -- Begin function check_metafile_loaded
	.p2align	2
_check_metafile_loaded:                 ; @check_metafile_loaded
	.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, x1
	mov	x20, x0
	tbnz	w0, #31, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _Header@GOTPAGE
Lloh1:
	ldr	x8, [x8, _Header@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _tot_revlist_metafiles@GOTPAGE
Lloh4:
	ldr	x9, [x9, _tot_revlist_metafiles@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	add	w8, w9, w8
	cmp	w8, w20
	cset	w0, ge
	b	LBB0_3
LBB0_2:
	mov	w0, #0
LBB0_3:
	bl	_assert
Lloh6:
	adrp	x8, _metafiles@GOTPAGE
Lloh7:
	ldr	x8, [x8, _metafiles@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	ldr	x8, [x8, w20, sxtw #3]
	cbz	x8, LBB0_8
; %bb.4:
	ldr	x9, [x8, #8]
	cbz	x9, LBB0_8
; %bb.5:
	cbz	w19, LBB0_9
; %bb.6:
	tbz	w19, #31, LBB0_10
; %bb.7:
	ldr	x8, [x8]
	cbz	x8, LBB0_10
LBB0_8:
	mov	w0, #0
	b	LBB0_11
LBB0_9:
	ldr	x8, [x8]
	cmp	x8, #0
	cset	w0, eq
	bl	_assert
LBB0_10:
	mov	w0, #1
LBB0_11:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_Header,4,2                     ; @Header
	.comm	_tot_revlist_metafiles,4,2      ; @tot_revlist_metafiles
	.comm	_metafiles,8,3                  ; @metafiles
.subsections_via_symbols
