	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_HLPFILE_ReadHlpFile            ## -- Begin function HLPFILE_ReadHlpFile
	.p2align	4, 0x90
_HLPFILE_ReadHlpFile:                   ## @HLPFILE_ReadHlpFile
	.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	%edi, %r14d
	movq	_first_hlpfile@GOTPCREL(%rip), %r12
	movq	(%r12), %rbx
	testq	%rbx, %rbx
	je	LBB0_5
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rbx), %rsi
	movl	%r14d, %edi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	24(%rbx), %rbx
	testq	%rbx, %rbx
	jne	LBB0_2
LBB0_5:
	xorl	%eax, %eax
	callq	_GetProcessHeap
	movl	%eax, %r15d
	movq	_HEAP_ZERO_MEMORY@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	%r14d, %edi
	callq	_strlen
	leaq	33(%rax), %rdx
	movl	%r15d, %edi
	movl	%ebx, %esi
	callq	_HeapAlloc
	testq	%rax, %rax
	je	LBB0_10
## %bb.6:
	movq	%rax, %rbx
	movq	%rax, %rdi
	addq	$32, %rdi
	movq	%rdi, (%rax)
	movl	$-1, 12(%rax)
	movq	(%r12), %rax
	movq	%rax, 24(%rbx)
	movl	$1, 8(%rbx)
	movl	%r14d, %esi
	callq	_strcpy
	movq	%rbx, (%r12)
	movq	24(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	movq	%rbx, 16(%rax)
LBB0_8:
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_HLPFILE_DoReadHlpFile
	testl	%eax, %eax
	jne	LBB0_11
## %bb.9:
	movq	%rbx, %rdi
	callq	_HLPFILE_FreeHlpFile
LBB0_10:
	xorl	%ebx, %ebx
	jmp	LBB0_11
LBB0_3:
	incl	8(%rbx)
LBB0_11:
	movq	%rbx, %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_first_hlpfile,8,3              ## @first_hlpfile
	.comm	_HEAP_ZERO_MEMORY,4,2           ## @HEAP_ZERO_MEMORY
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function HLPFILE_ReadHlpFile
lCPI0_0:
	.long	1                               ; 0x1
	.long	4294967295                      ; 0xffffffff
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_HLPFILE_ReadHlpFile
	.p2align	2
_HLPFILE_ReadHlpFile:                   ; @HLPFILE_ReadHlpFile
	.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, x0
Lloh0:
	adrp	x22, _first_hlpfile@GOTPAGE
Lloh1:
	ldr	x22, [x22, _first_hlpfile@GOTPAGEOFF]
	ldr	x20, [x22]
	cbz	x20, LBB0_3
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x1, [x20]
	mov	x0, x19
	bl	_strcmp
	cbz	w0, LBB0_8
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	x20, [x20, #24]
	cbnz	x20, LBB0_1
LBB0_3:
	bl	_GetProcessHeap
	mov	x20, x0
Lloh2:
	adrp	x8, _HEAP_ZERO_MEMORY@GOTPAGE
Lloh3:
	ldr	x8, [x8, _HEAP_ZERO_MEMORY@GOTPAGEOFF]
Lloh4:
	ldr	w21, [x8]
	mov	x0, x19
	bl	_strlen
	add	x2, x0, #33
	mov	x0, x20
	mov	x1, x21
	bl	_HeapAlloc
	mov	x20, x0
	cbz	x0, LBB0_9
; %bb.4:
	add	x0, x20, #32
	str	x0, [x20]
	ldr	x8, [x22]
	str	x8, [x20, #24]
Lloh5:
	adrp	x8, lCPI0_0@PAGE
Lloh6:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	str	d0, [x20, #8]
	mov	x1, x19
	bl	_strcpy
	str	x20, [x22]
	ldr	x8, [x20, #24]
	cbz	x8, LBB0_6
; %bb.5:
	str	x20, [x8, #16]
LBB0_6:
	mov	x0, x20
	mov	x1, x19
	bl	_HLPFILE_DoReadHlpFile
	cbnz	w0, LBB0_9
; %bb.7:
	mov	x0, x20
	bl	_HLPFILE_FreeHlpFile
	mov	x20, #0
	b	LBB0_9
LBB0_8:
	ldr	w8, [x20, #8]
	add	w8, w8, #1
	str	w8, [x20, #8]
LBB0_9:
	mov	x0, x20
	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	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdr	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_first_hlpfile,8,3              ; @first_hlpfile
	.comm	_HEAP_ZERO_MEMORY,4,2           ; @HEAP_ZERO_MEMORY
.subsections_via_symbols
