	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function _chm_parse_PMGL_entry
__chm_parse_PMGL_entry:                 ## @_chm_parse_PMGL_entry
	.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
	movq	%rsi, %r14
	movq	%rdi, %rbx
	callq	__chm_parse_cword
	movq	_CHM_MAX_PATHLEN@GOTPCREL(%rip), %rcx
	movq	_FALSE@GOTPCREL(%rip), %r15
	cmpq	(%rcx), %rax
	jg	LBB0_3
## %bb.1:
	movl	24(%r14), %edx
	movq	%rbx, %rdi
	movq	%rax, %rsi
	callq	__chm_parse_UTF8
	testl	%eax, %eax
	je	LBB0_3
## %bb.2:
	movq	%rbx, %rdi
	callq	__chm_parse_cword
	movl	%eax, (%r14)
	movq	%rbx, %rdi
	callq	__chm_parse_cword
	movq	%rax, 16(%r14)
	movq	%rbx, %rdi
	callq	__chm_parse_cword
	movq	%rax, 8(%r14)
	movq	_TRUE@GOTPCREL(%rip), %r15
LBB0_3:
	movl	(%r15), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CHM_MAX_PATHLEN,8,3            ## @CHM_MAX_PATHLEN
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_TRUE,4,2                       ## @TRUE
	.no_dead_strip	__chm_parse_PMGL_entry
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function _chm_parse_PMGL_entry
__chm_parse_PMGL_entry:                 ; @_chm_parse_PMGL_entry
	.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
	bl	__chm_parse_cword
Lloh0:
	adrp	x8, _CHM_MAX_PATHLEN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CHM_MAX_PATHLEN@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	b.gt	LBB0_3
; %bb.1:
	mov	x1, x0
	ldr	w2, [x19, #24]
	mov	x0, x20
	bl	__chm_parse_UTF8
	cbz	w0, LBB0_3
; %bb.2:
	mov	x0, x20
	bl	__chm_parse_cword
	str	w0, [x19]
	mov	x0, x20
	bl	__chm_parse_cword
	str	x0, [x19, #16]
	mov	x0, x20
	bl	__chm_parse_cword
	str	x0, [x19, #8]
Lloh3:
	adrp	x8, _TRUE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:
Lloh5:
	adrp	x8, _FALSE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
LBB0_4:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_CHM_MAX_PATHLEN,8,3            ; @CHM_MAX_PATHLEN
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_TRUE,4,2                       ; @TRUE
	.no_dead_strip	__chm_parse_PMGL_entry
.subsections_via_symbols
