	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function load_pack_bitmap
_load_pack_bitmap:                      ## @load_pack_bitmap
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	8(%rdi), %rdi
	callq	_assert
	xorl	%eax, %eax
	callq	_kh_init_oid_map
	movl	%eax, 56(%rbx)
	xorl	%eax, %eax
	callq	_kh_init_oid_pos
	movl	%eax, 52(%rbx)
	movl	48(%rbx), %edi
	callq	_load_pack_revindex
	testq	%rax, %rax
	je	LBB0_1
LBB0_6:
	movq	(%rbx), %rsi
	movq	8(%rbx), %rdi
	callq	_munmap
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%rbx)
	movl	$-1, %eax
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_1:
	movq	%rbx, %rdi
	callq	_read_bitmap_1
	movq	%rax, 40(%rbx)
	testq	%rax, %rax
	je	LBB0_6
## %bb.2:
	movq	%rbx, %rdi
	callq	_read_bitmap_1
	movq	%rax, 32(%rbx)
	testq	%rax, %rax
	je	LBB0_6
## %bb.3:
	movq	%rbx, %rdi
	callq	_read_bitmap_1
	movq	%rax, 24(%rbx)
	testq	%rax, %rax
	je	LBB0_6
## %bb.4:
	movq	%rbx, %rdi
	callq	_read_bitmap_1
	movq	%rax, 16(%rbx)
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	%rbx, %rdi
	callq	_load_bitmap_entries_v1
	movq	%rax, %rcx
	xorl	%eax, %eax
	testq	%rcx, %rcx
	jns	LBB0_7
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_load_pack_bitmap
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function load_pack_bitmap
_load_pack_bitmap:                      ; @load_pack_bitmap
	.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
	ldr	x0, [x0, #8]
	bl	_assert
	bl	_kh_init_oid_map
	str	w0, [x19, #56]
	bl	_kh_init_oid_pos
	str	w0, [x19, #52]
	ldr	w0, [x19, #48]
	bl	_load_pack_revindex
	cbz	x0, LBB0_3
LBB0_1:
	ldp	x1, x0, [x19]
	bl	_munmap
	stp	xzr, xzr, [x19]
	mov	w0, #-1
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_3:
	mov	x0, x19
	bl	_read_bitmap_1
	str	x0, [x19, #40]
	cbz	x0, LBB0_1
; %bb.4:
	mov	x0, x19
	bl	_read_bitmap_1
	str	x0, [x19, #32]
	cbz	x0, LBB0_1
; %bb.5:
	mov	x0, x19
	bl	_read_bitmap_1
	str	x0, [x19, #24]
	cbz	x0, LBB0_1
; %bb.6:
	mov	x0, x19
	bl	_read_bitmap_1
	str	x0, [x19, #16]
	cbz	x0, LBB0_1
; %bb.7:
	mov	x0, x19
	bl	_load_bitmap_entries_v1
	tbnz	x0, #63, LBB0_1
; %bb.8:
	mov	w0, #0
	b	LBB0_2
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_load_pack_bitmap
.subsections_via_symbols
