	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_load_index_header              ## -- Begin function load_index_header
	.p2align	4, 0x90
_load_index_header:                     ## @load_index_header
	.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
	movq	%rsi, %r14
	movq	_Header@GOTPCREL(%rip), %rbx
	movq	%rbx, %rsi
	movl	$4, %edx
	callq	_read
	xorl	%edi, %edi
	cmpl	$4, %eax
	sete	%dil
	callq	_assert
	movq	(%rbx), %rax
	movq	_TEXT_INDEX_MAGIC@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	sete	%dil
	callq	_assert
	movl	8(%rbx), %eax
	movq	_MAX_SUBLISTS@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpl	(%rcx), %eax
	setbe	%dil
	callq	_assert
	movl	12(%rbx), %eax
	movq	_MAX_USERS@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpl	(%rcx), %eax
	setbe	%dil
	callq	_assert
	movq	16(%rbx), %rdi
	shrq	$63, %rdi
	xorl	$1, %edi
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_assert
	movl	8(%rbx), %eax
	leal	4(,%rax,4), %r15d
	xorl	%edi, %edi
	cmpl	$4, 24(%rbx)
	setae	%dil
	callq	_assert
	movl	8(%rbx), %eax
	shll	$2, %eax
	addl	24(%rbx), %eax
	xorl	%edi, %edi
	cmpl	28(%rbx), %eax
	setle	%dil
	callq	_assert
	movslq	28(%rbx), %rax
	addq	$4, %rax
	movslq	32(%rbx), %rcx
	xorl	%edi, %edi
	cmpq	%rcx, %rax
	setbe	%dil
	callq	_assert
	movslq	32(%rbx), %rax
	addq	$4, %rax
	movslq	36(%rbx), %rcx
	xorl	%edi, %edi
	cmpq	%rcx, %rax
	setbe	%dil
	callq	_assert
	movl	36(%rbx), %eax
	addl	$4, %eax
	xorl	%edi, %edi
	cmpl	%eax, 40(%rbx)
	setge	%dil
	callq	_assert
	movq	_MAX_FILE_DICTIONARY_BYTES@GOTPCREL(%rip), %r12
	movl	(%r12), %eax
	addl	36(%rbx), %eax
	xorl	%edi, %edi
	cmpl	%eax, 40(%rbx)
	setle	%dil
	callq	_assert
	movl	40(%rbx), %eax
	addl	$4, %eax
	xorl	%edi, %edi
	cmpl	%eax, 44(%rbx)
	setge	%dil
	callq	_assert
	movl	(%r12), %eax
	addl	40(%rbx), %eax
	xorl	%edi, %edi
	cmpl	%eax, 44(%rbx)
	setle	%dil
	callq	_assert
	movl	44(%rbx), %eax
	imull	12(%rbx), %r15d
	addl	%r15d, %eax
	addl	$16, %eax
	xorl	%edi, %edi
	cmpl	48(%rbx), %eax
	setle	%dil
	callq	_assert
	movslq	48(%rbx), %rax
	xorl	%edi, %edi
	cmpq	%rax, 56(%rbx)
	setge	%dil
	callq	_assert
	movq	56(%rbx), %rax
	xorl	%edi, %edi
	cmpq	64(%rbx), %rax
	setle	%dil
	callq	_assert
	xorl	%edi, %edi
	cmpq	%r14, 64(%rbx)
	sete	%dil
	callq	_assert
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_Header,72,3                    ## @Header
	.comm	_TEXT_INDEX_MAGIC,8,3           ## @TEXT_INDEX_MAGIC
	.comm	_MAX_SUBLISTS,4,2               ## @MAX_SUBLISTS
	.comm	_MAX_USERS,4,2                  ## @MAX_USERS
	.comm	_MAX_FILE_DICTIONARY_BYTES,4,2  ## @MAX_FILE_DICTIONARY_BYTES
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_load_index_header              ; -- Begin function load_index_header
	.p2align	2
_load_index_header:                     ; @load_index_header
	.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
Lloh0:
	adrp	x20, _Header@GOTPAGE
Lloh1:
	ldr	x20, [x20, _Header@GOTPAGEOFF]
	mov	x1, x20
	mov	w2, #4
	bl	_read
	cmp	w0, #4
	cset	w0, eq
	bl	_assert
	ldr	x8, [x20]
Lloh2:
	adrp	x9, _TEXT_INDEX_MAGIC@GOTPAGE
Lloh3:
	ldr	x9, [x9, _TEXT_INDEX_MAGIC@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, eq
	bl	_assert
	ldr	w8, [x20, #8]
Lloh5:
	adrp	x9, _MAX_SUBLISTS@GOTPAGE
Lloh6:
	ldr	x9, [x9, _MAX_SUBLISTS@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	cmp	w8, w9
	cset	w0, ls
	bl	_assert
	ldr	w8, [x20, #12]
Lloh8:
	adrp	x9, _MAX_USERS@GOTPAGE
Lloh9:
	ldr	x9, [x9, _MAX_USERS@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	cmp	w8, w9
	cset	w0, ls
	bl	_assert
	ldr	x8, [x20, #16]
	lsr	x8, x8, #63
	eor	w0, w8, #0x1
	bl	_assert
	ldr	w8, [x20, #8]
	lsl	w8, w8, #2
	add	w21, w8, #4
	ldr	w8, [x20, #24]
	cmp	w8, #3
	cset	w0, hi
	bl	_assert
	ldr	w8, [x20, #8]
	ldp	w9, w10, [x20, #24]
	add	w8, w9, w8, lsl #2
	cmp	w8, w10
	cset	w0, le
	bl	_assert
	ldpsw	x8, x9, [x20, #28]
	add	x8, x8, #4
	cmp	x8, x9
	cset	w0, ls
	bl	_assert
	ldpsw	x8, x9, [x20, #32]
	add	x8, x8, #4
	cmp	x8, x9
	cset	w0, ls
	bl	_assert
	ldp	w9, w8, [x20, #36]
	add	w9, w9, #4
	cmp	w8, w9
	cset	w0, ge
	bl	_assert
	ldp	w9, w8, [x20, #36]
Lloh11:
	adrp	x22, _MAX_FILE_DICTIONARY_BYTES@GOTPAGE
Lloh12:
	ldr	x22, [x22, _MAX_FILE_DICTIONARY_BYTES@GOTPAGEOFF]
	ldr	w10, [x22]
	add	w9, w10, w9
	cmp	w8, w9
	cset	w0, le
	bl	_assert
	ldp	w9, w8, [x20, #40]
	add	w9, w9, #4
	cmp	w8, w9
	cset	w0, ge
	bl	_assert
	ldp	w9, w8, [x20, #40]
	ldr	w10, [x22]
	add	w9, w10, w9
	cmp	w8, w9
	cset	w0, le
	bl	_assert
	ldr	w8, [x20, #12]
	ldp	w9, w10, [x20, #44]
	madd	w8, w8, w21, w9
	add	w8, w8, #16
	cmp	w8, w10
	cset	w0, le
	bl	_assert
	ldrsw	x8, [x20, #48]
	ldr	x9, [x20, #56]
	cmp	x9, x8
	cset	w0, ge
	bl	_assert
	ldp	x8, x9, [x20, #56]
	cmp	x8, x9
	cset	w0, le
	bl	_assert
	ldr	x8, [x20, #64]
	cmp	x8, x19
	cset	w0, eq
	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 AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_Header,72,3                    ; @Header
	.comm	_TEXT_INDEX_MAGIC,8,3           ; @TEXT_INDEX_MAGIC
	.comm	_MAX_SUBLISTS,4,2               ; @MAX_SUBLISTS
	.comm	_MAX_USERS,4,2                  ; @MAX_USERS
	.comm	_MAX_FILE_DICTIONARY_BYTES,4,2  ; @MAX_FILE_DICTIONARY_BYTES
.subsections_via_symbols
