	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_IniCacheLoadFromMemory         ## -- Begin function IniCacheLoadFromMemory
	.p2align	4, 0x90
_IniCacheLoadFromMemory:                ## @IniCacheLoadFromMemory
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r14d
	movq	%rsi, %r13
	movq	%rdi, %rbx
	movq	_ProcessHeap@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_HEAP_ZERO_MEMORY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$4, %edx
	callq	_RtlAllocateHeap
	movq	%rax, (%rbx)
	testq	%rax, %rax
	je	LBB0_13
## %bb.1:
	movq	_STATUS_SUCCESS@GOTPCREL(%rip), %r15
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	testq	%r13, %r13
	je	LBB0_14
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpb	$0, (%r13)
	je	LBB0_14
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r13, %rdi
	callq	_IniCacheSkipWhitespace
	movl	$0, %r13d
	testq	%rax, %rax
	je	LBB0_2
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpb	$91, (%rax)
	je	LBB0_6
## %bb.10:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%rax, %rdi
	testq	%r12, %r12
	je	LBB0_8
## %bb.11:                              ##   in Loop: Header=BB0_2 Depth=1
	leaq	-72(%rbp), %rsi
	leaq	-48(%rbp), %rdx
	callq	_IniCacheGetKeyName
	movq	%rax, %rdi
	leaq	-64(%rbp), %rsi
	leaq	-44(%rbp), %rdx
	movl	%r14d, %ecx
	callq	_IniCacheGetKeyValue
	movq	%rax, %r13
	movl	-48(%rbp), %esi
	movq	-72(%rbp), %rdx
	movl	-44(%rbp), %ecx
	movq	-64(%rbp), %r8
	leaq	L_.str.3(%rip), %rdi
	xorl	%eax, %eax
	callq	_DPRINT
	movq	-72(%rbp), %rsi
	movl	-48(%rbp), %edx
	movq	-64(%rbp), %rcx
	movl	-44(%rbp), %r8d
	movq	%r12, %rdi
	callq	_IniCacheAddKey
	testq	%rax, %rax
	jne	LBB0_2
## %bb.12:                              ##   in Loop: Header=BB0_2 Depth=1
	leaq	L_.str.4(%rip), %rdi
	xorl	%eax, %eax
	callq	_DPRINT
	jmp	LBB0_2
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%rax
	movq	%rax, %rdi
	leaq	-80(%rbp), %rsi
	leaq	-52(%rbp), %rdx
	callq	_IniCacheGetSectionName
	movq	%rax, %r13
	movl	-52(%rbp), %esi
	movq	-80(%rbp), %rdx
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_DPRINT
	movq	(%rbx), %rdi
	movq	-80(%rbp), %rsi
	movl	-52(%rbp), %edx
	callq	_IniCacheAddSection
	movq	%rax, %r12
	testq	%rax, %rax
	jne	LBB0_2
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	leaq	L_.str.2(%rip), %rdi
	xorl	%eax, %eax
	callq	_DPRINT
	movq	%r13, %rdi
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	callq	_IniCacheSkipToNextSection
	movq	%rax, %r13
	xorl	%r12d, %r12d
	jmp	LBB0_2
LBB0_13:
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_DPRINT
	movq	_STATUS_INSUFFICIENT_RESOURCES@GOTPCREL(%rip), %r15
LBB0_14:
	movl	(%r15), %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ProcessHeap,4,2                ## @ProcessHeap
	.comm	_HEAP_ZERO_MEMORY,4,2           ## @HEAP_ZERO_MEMORY
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"RtlAllocateHeap() failed\n"

	.comm	_STATUS_INSUFFICIENT_RESOURCES,4,2 ## @STATUS_INSUFFICIENT_RESOURCES
L_.str.1:                               ## @.str.1
	.asciz	"[%.*s]\n"

L_.str.2:                               ## @.str.2
	.asciz	"IniCacheAddSection() failed\n"

L_.str.3:                               ## @.str.3
	.asciz	"'%.*s' = '%.*s'\n"

L_.str.4:                               ## @.str.4
	.asciz	"IniCacheAddKey() failed\n"

	.comm	_STATUS_SUCCESS,4,2             ## @STATUS_SUCCESS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_IniCacheLoadFromMemory         ; -- Begin function IniCacheLoadFromMemory
	.p2align	2
_IniCacheLoadFromMemory:                ; @IniCacheLoadFromMemory
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #176
	.cfi_def_cfa_offset 176
	stp	x28, x27, [sp, #80]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #96]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #112]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #128]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #144]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #160]            ; 16-byte Folded Spill
	add	x29, sp, #160
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x3
	mov	x25, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _ProcessHeap@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ProcessHeap@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _HEAP_ZERO_MEMORY@GOTPAGE
Lloh4:
	ldr	x8, [x8, _HEAP_ZERO_MEMORY@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	w2, #4
	bl	_RtlAllocateHeap
	str	x0, [x20]
	cbz	x0, LBB0_12
; %bb.1:
	mov	x26, #0
Lloh6:
	adrp	x27, _STATUS_SUCCESS@GOTPAGE
Lloh7:
	ldr	x27, [x27, _STATUS_SUCCESS@GOTPAGEOFF]
Lloh8:
	adrp	x21, l_.str.1@PAGE
Lloh9:
	add	x21, x21, l_.str.1@PAGEOFF
Lloh10:
	adrp	x22, l_.str.2@PAGE
Lloh11:
	add	x22, x22, l_.str.2@PAGEOFF
Lloh12:
	adrp	x23, l_.str.3@PAGE
Lloh13:
	add	x23, x23, l_.str.3@PAGEOFF
Lloh14:
	adrp	x24, l_.str.4@PAGE
Lloh15:
	add	x24, x24, l_.str.4@PAGEOFF
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	cbz	x25, LBB0_13
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldrb	w8, [x25]
	cbz	w8, LBB0_13
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x25
	bl	_IniCacheSkipWhitespace
	mov	x25, #0
	cbz	x0, LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_2 Depth=1
	ldrb	w8, [x0]
	cmp	w8, #91
	b.eq	LBB0_9
; %bb.6:                                ;   in Loop: Header=BB0_2 Depth=1
	cbz	x26, LBB0_11
; %bb.7:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x1, sp, #56
	add	x2, sp, #52
	bl	_IniCacheGetKeyName
	add	x1, sp, #40
	add	x2, sp, #36
	mov	x3, x19
	bl	_IniCacheGetKeyValue
	mov	x25, x0
	ldr	x8, [sp, #56]
	ldr	x9, [sp, #40]
	ldr	w10, [sp, #52]
	ldr	w11, [sp, #36]
	stp	x11, x9, [sp, #16]
	stp	x10, x8, [sp]
	mov	x0, x23
	bl	_DPRINT
	ldr	x1, [sp, #56]
	ldr	w2, [sp, #52]
	ldr	x3, [sp, #40]
	ldr	w4, [sp, #36]
	mov	x0, x26
	bl	_IniCacheAddKey
	cbnz	x0, LBB0_2
; %bb.8:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x24
	bl	_DPRINT
	b	LBB0_2
LBB0_9:                                 ;   in Loop: Header=BB0_2 Depth=1
	add	x0, x0, #1
	add	x1, sp, #72
	add	x2, sp, #68
	bl	_IniCacheGetSectionName
	mov	x25, x0
	ldr	x8, [sp, #72]
	ldr	w9, [sp, #68]
	stp	x9, x8, [sp]
	mov	x0, x21
	bl	_DPRINT
	ldr	x0, [x20]
	ldr	x1, [sp, #72]
	ldr	w2, [sp, #68]
	bl	_IniCacheAddSection
	mov	x26, x0
	cbnz	x0, LBB0_2
; %bb.10:                               ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x22
	bl	_DPRINT
	mov	x0, x25
LBB0_11:                                ;   in Loop: Header=BB0_2 Depth=1
	bl	_IniCacheSkipToNextSection
	mov	x25, x0
	b	LBB0_2
LBB0_12:
Lloh16:
	adrp	x0, l_.str@PAGE
Lloh17:
	add	x0, x0, l_.str@PAGEOFF
	bl	_DPRINT
Lloh18:
	adrp	x27, _STATUS_INSUFFICIENT_RESOURCES@GOTPAGE
Lloh19:
	ldr	x27, [x27, _STATUS_INSUFFICIENT_RESOURCES@GOTPAGEOFF]
LBB0_13:
	ldr	w0, [x27]
	ldp	x29, x30, [sp, #160]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #144]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #128]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #112]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #96]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #176
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpAdd	Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_ProcessHeap,4,2                ; @ProcessHeap
	.comm	_HEAP_ZERO_MEMORY,4,2           ; @HEAP_ZERO_MEMORY
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"RtlAllocateHeap() failed\n"

	.comm	_STATUS_INSUFFICIENT_RESOURCES,4,2 ; @STATUS_INSUFFICIENT_RESOURCES
l_.str.1:                               ; @.str.1
	.asciz	"[%.*s]\n"

l_.str.2:                               ; @.str.2
	.asciz	"IniCacheAddSection() failed\n"

l_.str.3:                               ; @.str.3
	.asciz	"'%.*s' = '%.*s'\n"

l_.str.4:                               ; @.str.4
	.asciz	"IniCacheAddKey() failed\n"

	.comm	_STATUS_SUCCESS,4,2             ; @STATUS_SUCCESS
.subsections_via_symbols
