	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_InitContent                    ## -- Begin function InitContent
	.p2align	4, 0x90
_InitContent:                           ## @InitContent
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movl	$4, %edi
	callq	_heap_alloc_zero
	movq	%rax, (%rbx)
	leaq	4(%rax), %rdi
	movq	16(%rbx), %rax
	movl	(%rax), %esi
	movl	24(%rbx), %edx
	callq	_SetChmPath
	movq	(%rbx), %rdx
	movq	16(%rbx), %rdi
	movl	(%rdi), %esi
	addq	$4, %rdx
	callq	_GetChmStream
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	%rax, %r14
	movq	(%rbx), %rdx
	leaq	-20(%rbp), %rcx
	movq	%rbx, %rdi
	movq	%rax, %rsi
	callq	_parse_hhc
	movq	(%rbx), %rcx
	movl	%eax, (%rcx)
	movq	%r14, %rdi
	callq	_IStream_Release
	movq	(%rbx), %rsi
	xorl	%edi, %edi
	callq	_set_item_parents
	movq	(%rbx), %rdx
	movq	8(%rbx), %rax
	movq	_TAB_CONTENTS@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rax,%rcx,4), %edi
	xorl	%esi, %esi
	callq	_fill_content_tree
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_2:
	leaq	L_.str(%rip), %rdi
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_TRACE                          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Could not get content stream\n"

	.comm	_TAB_CONTENTS,8,3               ## @TAB_CONTENTS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_InitContent                    ; -- Begin function InitContent
	.p2align	2
_InitContent:                           ; @InitContent
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x0
	mov	w0, #4
	bl	_heap_alloc_zero
	str	x0, [x19]
	add	x0, x0, #4
	ldr	x8, [x19, #16]
	ldr	w1, [x8]
	ldr	w2, [x19, #24]
	bl	_SetChmPath
	ldr	x0, [x19, #16]
	ldr	w1, [x0]
	ldr	x8, [x19]
	add	x2, x8, #4
	bl	_GetChmStream
	cbz	x0, LBB0_2
; %bb.1:
	mov	x20, x0
	ldr	x2, [x19]
	add	x3, sp, #12
	mov	x0, x19
	mov	x1, x20
	bl	_parse_hhc
	ldr	x8, [x19]
	str	w0, [x8]
	mov	x0, x20
	bl	_IStream_Release
	ldr	x1, [x19]
	mov	x0, #0
	bl	_set_item_parents
Lloh0:
	adrp	x8, _TAB_CONTENTS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TAB_CONTENTS@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldp	x2, x9, [x19]
	ldr	w0, [x9, x8, lsl #2]
	mov	x1, #0
	bl	_fill_content_tree
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_2:
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	b	_TRACE
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Could not get content stream\n"

	.comm	_TAB_CONTENTS,8,3               ; @TAB_CONTENTS
.subsections_via_symbols
