	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function check_metafile_assertions
_check_metafile_assertions:             ## @check_metafile_assertions
	.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	%esi, %r12d
	testl	%esi, %esi
	setns	%al
	movq	_Header@GOTPCREL(%rip), %rcx
	cmpl	%esi, (%rcx)
	movl	%edi, %r15d
	setg	%cl
	andb	%al, %cl
	movzbl	%cl, %edi
	callq	_assert
	movl	%r12d, %edi
	callq	_get_metafile_ptr
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_MF_MAGIC
	movq	_FILE_LIST_MAGIC@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	movq	%r14, %rdi
	callq	_MF_LIST_ID
	movl	%eax, %edi
	movl	%r15d, %esi
	callq	_list_id_equal
	xorl	%edi, %edi
	testq	%rax, %rax
	setne	%dil
LBB0_2:
	callq	_assert
	movq	(%r14), %rbx
	movl	%r12d, %edi
	callq	_FLI_ENTRY_ADJUSTED
	xorl	%edi, %edi
	cmpq	(%rax), %rbx
	sete	%dil
	callq	_assert
	movq	_MAX_METAFILE_ENTRIES@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	xorl	%edi, %edi
	cmpl	8(%r14), %eax
	setae	%dil
	callq	_assert
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_Header,4,2                     ## @Header
	.comm	_FILE_LIST_MAGIC,8,3            ## @FILE_LIST_MAGIC
	.comm	_MAX_METAFILE_ENTRIES,4,2       ## @MAX_METAFILE_ENTRIES
	.no_dead_strip	_check_metafile_assertions
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function check_metafile_assertions
_check_metafile_assertions:             ; @check_metafile_assertions
	.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	x21, x0
	cmp	w1, #0
Lloh0:
	adrp	x8, _Header@GOTPAGE
Lloh1:
	ldr	x8, [x8, _Header@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ccmp	w8, w1, #4, ge
	cset	w0, gt
	bl	_assert
	mov	x0, x19
	bl	_get_metafile_ptr
	mov	x20, x0
	bl	_MF_MAGIC
Lloh3:
	adrp	x8, _FILE_LIST_MAGIC@GOTPAGE
Lloh4:
	ldr	x8, [x8, _FILE_LIST_MAGIC@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_2
; %bb.1:
	mov	x0, x20
	bl	_MF_LIST_ID
	mov	x1, x21
	bl	_list_id_equal
	cmp	x0, #0
	cset	w0, ne
	b	LBB0_3
LBB0_2:
	mov	w0, #0
LBB0_3:
	bl	_assert
	ldr	x21, [x20]
	mov	x0, x19
	bl	_FLI_ENTRY_ADJUSTED
	ldr	x8, [x0]
	cmp	x21, x8
	cset	w0, eq
	bl	_assert
	ldr	w8, [x20, #8]
Lloh6:
	adrp	x9, _MAX_METAFILE_ENTRIES@GOTPAGE
Lloh7:
	ldr	x9, [x9, _MAX_METAFILE_ENTRIES@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	cmp	w9, w8
	cset	w0, hs
	bl	_assert
	mov	w0, #0
	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	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_Header,4,2                     ; @Header
	.comm	_FILE_LIST_MAGIC,8,3            ; @FILE_LIST_MAGIC
	.comm	_MAX_METAFILE_ENTRIES,4,2       ; @MAX_METAFILE_ENTRIES
	.no_dead_strip	_check_metafile_assertions
.subsections_via_symbols
