	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function LoadLocalizedResourcesFromINI
_LoadLocalizedResourcesFromINI:         ## @LoadLocalizedResourcesFromINI
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movl	%edi, %r12d
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_LOCALE_NAME_MAX_LENGTH@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	shlq	$3, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r13
	movq	_MAX_PATH@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	shlq	$3, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r14
	movq	%r13, %rdi
	callq	_ARRAYSIZE
	movl	%r12d, %edi
	movq	%r13, %rsi
	movl	%eax, %edx
	callq	_GetLocaleName
	testl	%eax, %eax
	jne	LBB0_2
## %bb.1:
	movq	%r13, %rdi
	callq	_ARRAYSIZE
	movl	%eax, %r12d
	leaq	L_.str(%rip), %rdi
	callq	_TEXT
	movq	%r13, %rdi
	movl	%r12d, %esi
	movq	%rax, %rdx
	callq	_StringCchCopy
LBB0_2:
	movq	%r14, %rdi
	callq	_ARRAYSIZE
	movl	%eax, %ebx
	leaq	L_.str.1(%rip), %rdi
	callq	_TEXT
	movq	%r14, %rdi
	movl	%ebx, %esi
	movq	%rax, %rdx
	movq	%r15, %rcx
	movq	%r13, %r8
	callq	_StringCchPrintf
	movq	%r14, %rdi
	callq	_GetFileAttributes
	movq	_INVALID_FILE_ATTRIBUTES@GOTPCREL(%rip), %r12
	cmpl	(%r12), %eax
	je	LBB0_4
## %bb.3:
	movq	_FILE_ATTRIBUTE_DIRECTORY@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_5
LBB0_4:
	movq	%r13, %rdi
	callq	_ARRAYSIZE
	movl	%eax, %ebx
	leaq	L_.str(%rip), %rdi
	callq	_TEXT
	movq	%r13, %rdi
	movl	%ebx, %esi
	movq	%rax, %rdx
	callq	_StringCchCopy
	movq	%r14, %rdi
	callq	_ARRAYSIZE
	movl	%eax, %ebx
	leaq	L_.str.1(%rip), %rdi
	callq	_TEXT
	movq	%r14, %rdi
	movl	%ebx, %esi
	movq	%rax, %rdx
	movq	%r15, %rcx
	movq	%r13, %r8
	callq	_StringCchPrintf
LBB0_5:
	movq	%r14, %rdi
	callq	_GetFileAttributes
	movq	_FALSE@GOTPCREL(%rip), %r13
	cmpl	(%r12), %eax
	je	LBB0_20
## %bb.6:
	movq	_FILE_ATTRIBUTE_DIRECTORY@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_7
LBB0_20:
	movl	(%r13), %eax
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_22
## %bb.21:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	leaq	L_.str.2(%rip), %rdi
	callq	_TEXT
	movq	%rax, %r12
	leaq	L_.str.3(%rip), %rdi
	callq	_TEXT
	movq	%rax, %r13
	leaq	L_.str.4(%rip), %rdi
	callq	_TEXT
	movq	%rax, %rbx
	movq	_szAppTitle@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	movq	%r15, %rdi
	callq	_ARRAYSIZE
	movq	%r12, %rdi
	movq	%r13, %rsi
	movq	%rbx, %rdx
	movq	%r15, %rcx
	movl	%eax, %r8d
	movq	%r14, %r9
	callq	_GetPrivateProfileString
	leaq	L_.str.2(%rip), %rdi
	callq	_TEXT
	movq	%rax, %r12
	leaq	L_.str.5(%rip), %rdi
	callq	_TEXT
	movq	%rax, %r13
	leaq	L_.str.6(%rip), %rdi
	callq	_TEXT
	movq	%rax, %rbx
	movq	_szDefaultTitle@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	movq	%r15, %rdi
	callq	_ARRAYSIZE
	movq	%r12, %rdi
	movq	%r13, %rsi
	movq	%rbx, %rdx
	movq	%r15, %rcx
	movl	%eax, %r8d
	movq	%r14, %r9
	callq	_GetPrivateProfileString
	leaq	L_.str.2(%rip), %rdi
	callq	_TEXT
	movq	%rax, %r15
	leaq	L_.str.7(%rip), %rdi
	callq	_TEXT
	movq	%rax, %r12
	leaq	L_.str.6(%rip), %rdi
	callq	_TEXT
	movq	%rax, %r13
	movq	_szDefaultDesc@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movq	%rbx, %rdi
	callq	_ARRAYSIZE
	movq	%r15, %rdi
	movq	%r12, %rsi
	movq	%r13, %rdx
	movq	%rbx, %rcx
	movl	%eax, %r8d
	movq	%r14, %r9
	callq	_GetPrivateProfileString
	movq	_szDefaultDesc@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdi
	testl	%eax, %eax
	je	LBB0_8
## %bb.9:
	callq	_TranslateEscapes
	jmp	LBB0_10
LBB0_8:
	movq	$0, (%rdi)
LBB0_10:
	movq	_BUFFER_SIZE@GOTPCREL(%rip), %r15
	movl	(%r15), %ebx
	xorl	%eax, %eax
	callq	_GetProcessHeap
	leal	(,%rbx,8), %edx
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	_HeapAlloc
	movq	_TRUE@GOTPCREL(%rip), %r13
	testq	%rax, %rax
	je	LBB0_20
## %bb.11:
	movq	%rax, %r12
	.p2align	4, 0x90
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rdi
	movl	%ebx, %esi
	movq	%r14, %rdx
	callq	_GetPrivateProfileSectionNames
	leal	-2(%rbx), %ecx
	cmpl	%ecx, %eax
	jl	LBB0_13
## %bb.19:                              ##   in Loop: Header=BB0_12 Depth=1
	xorl	%eax, %eax
	callq	_GetProcessHeap
	movl	%eax, %edi
	xorl	%esi, %esi
	movq	%r12, %rdx
	callq	_HeapFree
	addl	(%r15), %ebx
	xorl	%eax, %eax
	callq	_GetProcessHeap
	leal	(,%rbx,8), %edx
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	_HeapAlloc
	movq	%rax, %r12
	testq	%rax, %rax
	jne	LBB0_12
	jmp	LBB0_20
LBB0_13:
	cmpq	$0, (%r12)
	je	LBB0_18
## %bb.14:
	leaq	L_.str.8(%rip), %r15
	movq	%r12, %rbx
	jmp	LBB0_15
	.p2align	4, 0x90
LBB0_17:                                ##   in Loop: Header=BB0_15 Depth=1
	movq	%rbx, %rdi
	callq	__tcslen
	cmpq	$0, 8(%rbx,%rax,8)
	leaq	8(%rbx,%rax,8), %rbx
	je	LBB0_18
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	callq	_TEXT
	movq	%rbx, %rdi
	movq	%rax, %rsi
	movl	$5, %edx
	callq	__tcsnicmp
	testq	%rax, %rax
	jne	LBB0_17
## %bb.16:                              ##   in Loop: Header=BB0_15 Depth=1
	leaq	L_.str.9(%rip), %rdi
	callq	_TEXT
	movq	%rax, %r15
	leaq	L_.str.6(%rip), %rdi
	callq	_TEXT
	movq	%rax, %r13
	callq	_ARRAYSIZE
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movq	%r13, %rdx
	movl	%eax, %r8d
	movq	%r14, %r9
	callq	_GetPrivateProfileString
	leaq	L_.str.10(%rip), %rdi
	callq	_TEXT
	movq	%rax, %r15
	leaq	L_.str.6(%rip), %rdi
	callq	_TEXT
	movq	%rax, %r13
	callq	_ARRAYSIZE
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movq	%r13, %rdx
	movl	%eax, %r8d
	movq	%r14, %r9
	callq	_GetPrivateProfileString
	leaq	L_.str.11(%rip), %rdi
	callq	_TEXT
	movq	%rax, %r15
	leaq	L_.str.6(%rip), %rdi
	callq	_TEXT
	movq	%rax, %r13
	callq	_ARRAYSIZE
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movq	%r13, %rdx
	movl	%eax, %r8d
	movq	%r14, %r9
	callq	_GetPrivateProfileString
	leaq	L_.str.12(%rip), %rdi
	callq	_TEXT
	movq	%rax, %r15
	leaq	L_.str.6(%rip), %rdi
	callq	_TEXT
	movq	%rax, %r13
	callq	_ARRAYSIZE
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movq	%r13, %rdx
	movl	%eax, %r8d
	movq	%r14, %r9
	callq	_GetPrivateProfileString
	leaq	L_.str.13(%rip), %rdi
	callq	_TEXT
	movq	%rax, %r15
	leaq	L_.str.6(%rip), %rdi
	callq	_TEXT
	movq	%rax, %r13
	callq	_ARRAYSIZE
	movq	%rbx, %rdi
	movq	%r15, %rsi
	leaq	L_.str.8(%rip), %r15
	movq	%r13, %rdx
	movl	%eax, %r8d
	movq	%r14, %r9
	callq	_GetPrivateProfileString
	xorl	%ecx, %ecx
	xorl	%r9d, %r9d
	callq	_AddNewTopicEx
	testq	%rax, %rax
	jne	LBB0_17
LBB0_18:
	xorl	%eax, %eax
	callq	_GetProcessHeap
	movl	%eax, %edi
	xorl	%esi, %esi
	movq	%r12, %rdx
	callq	_HeapFree
	movq	_TRUE@GOTPCREL(%rip), %r13
	jmp	LBB0_20
LBB0_22:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_LOCALE_NAME_MAX_LENGTH,4,2     ## @LOCALE_NAME_MAX_LENGTH
	.comm	_MAX_PATH,4,2                   ## @MAX_PATH
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"en-US"

L_.str.1:                               ## @.str.1
	.asciz	"%s\\%s.ini"

	.comm	_INVALID_FILE_ATTRIBUTES,4,2    ## @INVALID_FILE_ATTRIBUTES
	.comm	_FILE_ATTRIBUTE_DIRECTORY,4,2   ## @FILE_ATTRIBUTE_DIRECTORY
	.comm	_FALSE,4,2                      ## @FALSE
L_.str.2:                               ## @.str.2
	.asciz	"Defaults"

L_.str.3:                               ## @.str.3
	.asciz	"AppTitle"

L_.str.4:                               ## @.str.4
	.asciz	"ReactOS - Welcome"

	.comm	_szAppTitle,8,3                 ## @szAppTitle
L_.str.5:                               ## @.str.5
	.asciz	"DefaultTopicTitle"

L_.str.6:                               ## @.str.6
	.space	1

	.comm	_szDefaultTitle,8,3             ## @szDefaultTitle
L_.str.7:                               ## @.str.7
	.asciz	"DefaultTopicDescription"

	.comm	_szDefaultDesc,8,3              ## @szDefaultDesc
	.comm	_BUFFER_SIZE,4,2                ## @BUFFER_SIZE
	.comm	_TRUE,4,2                       ## @TRUE
L_.str.8:                               ## @.str.8
	.asciz	"Topic"

L_.str.9:                               ## @.str.9
	.asciz	"MenuText"

L_.str.10:                              ## @.str.10
	.asciz	"Title"

L_.str.11:                              ## @.str.11
	.asciz	"Description"

L_.str.12:                              ## @.str.12
	.asciz	"ConfigCommand"

L_.str.13:                              ## @.str.13
	.asciz	"ConfigArgs"

	.no_dead_strip	_LoadLocalizedResourcesFromINI
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function LoadLocalizedResourcesFromINI
_LoadLocalizedResourcesFromINI:         ; @LoadLocalizedResourcesFromINI
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	sub	sp, sp, #16
	mov	x20, x1
	mov	x22, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
Lloh3:
	adrp	x8, _LOCALE_NAME_MAX_LENGTH@GOTPAGE
Lloh4:
	ldr	x8, [x8, _LOCALE_NAME_MAX_LENGTH@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	lsl	x8, x8, #3
	mov	x9, x8
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0xffffffff0
	sub	x21, x9, x8
	mov	sp, x21
Lloh8:
	adrp	x8, _MAX_PATH@GOTPAGE
Lloh9:
	ldr	x8, [x8, _MAX_PATH@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	lsl	x8, x8, #3
	mov	x9, x8
Lloh11:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh12:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0xffffffff0
	sub	x19, x9, x8
	mov	sp, x19
	mov	x0, x21
	bl	_ARRAYSIZE
	mov	x2, x0
	mov	x0, x22
	mov	x1, x21
	bl	_GetLocaleName
	cbnz	w0, LBB0_2
; %bb.1:
	mov	x0, x21
	bl	_ARRAYSIZE
	mov	x22, x0
Lloh13:
	adrp	x0, l_.str@PAGE
Lloh14:
	add	x0, x0, l_.str@PAGEOFF
	bl	_TEXT
	mov	x2, x0
	mov	x0, x21
	mov	x1, x22
	bl	_StringCchCopy
LBB0_2:
	mov	x0, x19
	bl	_ARRAYSIZE
	mov	x22, x0
Lloh15:
	adrp	x0, l_.str.1@PAGE
Lloh16:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_TEXT
	mov	x2, x0
	mov	x0, x19
	mov	x1, x22
	mov	x3, x20
	mov	x4, x21
	bl	_StringCchPrintf
	mov	x0, x19
	bl	_GetFileAttributes
Lloh17:
	adrp	x24, _INVALID_FILE_ATTRIBUTES@GOTPAGE
Lloh18:
	ldr	x24, [x24, _INVALID_FILE_ATTRIBUTES@GOTPAGEOFF]
	ldr	w8, [x24]
Lloh19:
	adrp	x23, _FILE_ATTRIBUTE_DIRECTORY@GOTPAGE
Lloh20:
	ldr	x23, [x23, _FILE_ATTRIBUTE_DIRECTORY@GOTPAGEOFF]
	cmp	w0, w8
	b.eq	LBB0_4
; %bb.3:
	ldr	w8, [x23]
	tst	w8, w0
	b.eq	LBB0_5
LBB0_4:
	mov	x0, x21
	bl	_ARRAYSIZE
	mov	x22, x0
Lloh21:
	adrp	x0, l_.str@PAGE
Lloh22:
	add	x0, x0, l_.str@PAGEOFF
	bl	_TEXT
	mov	x2, x0
	mov	x0, x21
	mov	x1, x22
	bl	_StringCchCopy
	mov	x0, x19
	bl	_ARRAYSIZE
	mov	x22, x0
Lloh23:
	adrp	x0, l_.str.1@PAGE
Lloh24:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_TEXT
	mov	x2, x0
	mov	x0, x19
	mov	x1, x22
	mov	x3, x20
	mov	x4, x21
	bl	_StringCchPrintf
LBB0_5:
	mov	x0, x19
	bl	_GetFileAttributes
	ldr	w8, [x24]
	cmp	w0, w8
	b.eq	LBB0_7
; %bb.6:
	ldr	w8, [x23]
	tst	w8, w0
	b.eq	LBB0_10
LBB0_7:
Lloh25:
	adrp	x22, _FALSE@GOTPAGE
Lloh26:
	ldr	x22, [x22, _FALSE@GOTPAGEOFF]
LBB0_8:
	ldr	w0, [x22]
	ldur	x8, [x29, #-88]
Lloh27:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh28:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh29:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_24
; %bb.9:
	sub	sp, x29, #80
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_10:
Lloh30:
	adrp	x20, l_.str.2@PAGE
Lloh31:
	add	x20, x20, l_.str.2@PAGEOFF
	mov	x0, x20
	bl	_TEXT
	mov	x21, x0
Lloh32:
	adrp	x0, l_.str.3@PAGE
Lloh33:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_TEXT
	mov	x22, x0
Lloh34:
	adrp	x0, l_.str.4@PAGE
Lloh35:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_TEXT
	mov	x23, x0
Lloh36:
	adrp	x8, _szAppTitle@GOTPAGE
Lloh37:
	ldr	x8, [x8, _szAppTitle@GOTPAGEOFF]
Lloh38:
	ldr	x24, [x8]
	mov	x0, x24
	bl	_ARRAYSIZE
	mov	x4, x0
	mov	x0, x21
	mov	x1, x22
	mov	x2, x23
	mov	x3, x24
	mov	x5, x19
	bl	_GetPrivateProfileString
	mov	x0, x20
	bl	_TEXT
	mov	x21, x0
Lloh39:
	adrp	x0, l_.str.5@PAGE
Lloh40:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_TEXT
	mov	x22, x0
Lloh41:
	adrp	x23, l_.str.6@PAGE
Lloh42:
	add	x23, x23, l_.str.6@PAGEOFF
	mov	x0, x23
	bl	_TEXT
	mov	x24, x0
Lloh43:
	adrp	x8, _szDefaultTitle@GOTPAGE
Lloh44:
	ldr	x8, [x8, _szDefaultTitle@GOTPAGEOFF]
Lloh45:
	ldr	x25, [x8]
	mov	x0, x25
	bl	_ARRAYSIZE
	mov	x4, x0
	mov	x0, x21
	mov	x1, x22
	mov	x2, x24
	mov	x3, x25
	mov	x5, x19
	bl	_GetPrivateProfileString
	mov	x0, x20
	bl	_TEXT
	mov	x20, x0
Lloh46:
	adrp	x0, l_.str.7@PAGE
Lloh47:
	add	x0, x0, l_.str.7@PAGEOFF
	bl	_TEXT
	mov	x21, x0
	mov	x0, x23
	bl	_TEXT
	mov	x22, x0
Lloh48:
	adrp	x24, _szDefaultDesc@GOTPAGE
Lloh49:
	ldr	x24, [x24, _szDefaultDesc@GOTPAGEOFF]
	ldr	x23, [x24]
	mov	x0, x23
	bl	_ARRAYSIZE
	mov	x4, x0
	mov	x0, x20
	mov	x1, x21
	mov	x2, x22
	mov	x3, x23
	mov	x5, x19
	bl	_GetPrivateProfileString
	mov	x8, x0
	ldr	x0, [x24]
	cbz	w8, LBB0_12
; %bb.11:
	bl	_TranslateEscapes
	b	LBB0_13
LBB0_12:
	str	xzr, [x0]
LBB0_13:
Lloh50:
	adrp	x23, _BUFFER_SIZE@GOTPAGE
Lloh51:
	ldr	x23, [x23, _BUFFER_SIZE@GOTPAGEOFF]
	ldr	w21, [x23]
	bl	_GetProcessHeap
	lsl	w2, w21, #3
	mov	w1, #0
	bl	_HeapAlloc
	cbz	x0, LBB0_23
; %bb.14:
	mov	x20, x0
Lloh52:
	adrp	x22, _TRUE@GOTPAGE
Lloh53:
	ldr	x22, [x22, _TRUE@GOTPAGEOFF]
LBB0_15:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	mov	x1, x21
	mov	x2, x19
	bl	_GetPrivateProfileSectionNames
	sub	w8, w21, #2
	cmp	w0, w8
	b.lt	LBB0_17
; %bb.16:                               ;   in Loop: Header=BB0_15 Depth=1
	bl	_GetProcessHeap
	mov	w1, #0
	mov	x2, x20
	bl	_HeapFree
	ldr	w8, [x23]
	add	w21, w8, w21
	bl	_GetProcessHeap
	lsl	w2, w21, #3
	mov	w1, #0
	bl	_HeapAlloc
	mov	x20, x0
	cbnz	x0, LBB0_15
	b	LBB0_8
LBB0_17:
	ldr	x8, [x20]
	cbz	x8, LBB0_22
; %bb.18:
Lloh54:
	adrp	x21, l_.str.8@PAGE
Lloh55:
	add	x21, x21, l_.str.8@PAGEOFF
Lloh56:
	adrp	x23, l_.str.6@PAGE
Lloh57:
	add	x23, x23, l_.str.6@PAGEOFF
Lloh58:
	adrp	x25, l_.str.11@PAGE
Lloh59:
	add	x25, x25, l_.str.11@PAGEOFF
Lloh60:
	adrp	x26, l_.str.12@PAGE
Lloh61:
	add	x26, x26, l_.str.12@PAGEOFF
	mov	x27, x20
Lloh62:
	adrp	x28, l_.str.13@PAGE
Lloh63:
	add	x28, x28, l_.str.13@PAGEOFF
	b	LBB0_20
LBB0_19:                                ;   in Loop: Header=BB0_20 Depth=1
	mov	x0, x27
	bl	__tcslen
	add	x27, x27, x0, lsl #3
	ldr	x8, [x27, #8]!
	cbz	x8, LBB0_22
LBB0_20:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	bl	_TEXT
	mov	x1, x0
	mov	x0, x27
	mov	w2, #5
	bl	__tcsnicmp
	cbnz	x0, LBB0_19
; %bb.21:                               ;   in Loop: Header=BB0_20 Depth=1
Lloh64:
	adrp	x0, l_.str.9@PAGE
Lloh65:
	add	x0, x0, l_.str.9@PAGEOFF
	bl	_TEXT
	mov	x22, x0
	mov	x0, x23
	bl	_TEXT
	mov	x24, x0
	bl	_ARRAYSIZE
	mov	x4, x0
	mov	x0, x27
	mov	x1, x22
	mov	x2, x24
	mov	x5, x19
	bl	_GetPrivateProfileString
Lloh66:
	adrp	x0, l_.str.10@PAGE
Lloh67:
	add	x0, x0, l_.str.10@PAGEOFF
	bl	_TEXT
	mov	x22, x0
	mov	x0, x23
	bl	_TEXT
	mov	x24, x0
	bl	_ARRAYSIZE
	mov	x4, x0
	mov	x0, x27
	mov	x1, x22
	mov	x2, x24
	mov	x5, x19
	bl	_GetPrivateProfileString
	mov	x0, x25
	bl	_TEXT
	mov	x22, x0
	mov	x0, x23
	bl	_TEXT
	mov	x24, x0
	bl	_ARRAYSIZE
	mov	x4, x0
	mov	x0, x27
	mov	x1, x22
	mov	x2, x24
	mov	x5, x19
	bl	_GetPrivateProfileString
	mov	x0, x26
	bl	_TEXT
	mov	x22, x0
	mov	x0, x23
	bl	_TEXT
	mov	x24, x0
	bl	_ARRAYSIZE
	mov	x4, x0
	mov	x0, x27
	mov	x1, x22
	mov	x2, x24
	mov	x5, x19
	bl	_GetPrivateProfileString
	mov	x0, x28
	bl	_TEXT
	mov	x22, x0
	mov	x0, x23
	bl	_TEXT
	mov	x24, x0
	bl	_ARRAYSIZE
	mov	x4, x0
	mov	x0, x27
	mov	x1, x22
	mov	x2, x24
	mov	x5, x19
	bl	_GetPrivateProfileString
	mov	x3, #0
	mov	x5, #0
	bl	_AddNewTopicEx
	cbnz	x0, LBB0_19
LBB0_22:
	bl	_GetProcessHeap
	mov	w1, #0
	mov	x2, x20
	bl	_HeapFree
LBB0_23:
Lloh68:
	adrp	x22, _TRUE@GOTPAGE
Lloh69:
	ldr	x22, [x22, _TRUE@GOTPAGEOFF]
	b	LBB0_8
LBB0_24:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh48, Lloh49
	.loh AdrpAdd	Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpAdd	Lloh41, Lloh42
	.loh AdrpAdd	Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh50, Lloh51
	.loh AdrpLdrGot	Lloh52, Lloh53
	.loh AdrpAdd	Lloh62, Lloh63
	.loh AdrpAdd	Lloh60, Lloh61
	.loh AdrpAdd	Lloh58, Lloh59
	.loh AdrpAdd	Lloh56, Lloh57
	.loh AdrpAdd	Lloh54, Lloh55
	.loh AdrpAdd	Lloh66, Lloh67
	.loh AdrpAdd	Lloh64, Lloh65
	.loh AdrpLdrGot	Lloh68, Lloh69
	.cfi_endproc
                                        ; -- End function
	.comm	_LOCALE_NAME_MAX_LENGTH,4,2     ; @LOCALE_NAME_MAX_LENGTH
	.comm	_MAX_PATH,4,2                   ; @MAX_PATH
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"en-US"

l_.str.1:                               ; @.str.1
	.asciz	"%s\\%s.ini"

	.comm	_INVALID_FILE_ATTRIBUTES,4,2    ; @INVALID_FILE_ATTRIBUTES
	.comm	_FILE_ATTRIBUTE_DIRECTORY,4,2   ; @FILE_ATTRIBUTE_DIRECTORY
	.comm	_FALSE,4,2                      ; @FALSE
l_.str.2:                               ; @.str.2
	.asciz	"Defaults"

l_.str.3:                               ; @.str.3
	.asciz	"AppTitle"

l_.str.4:                               ; @.str.4
	.asciz	"ReactOS - Welcome"

	.comm	_szAppTitle,8,3                 ; @szAppTitle
l_.str.5:                               ; @.str.5
	.asciz	"DefaultTopicTitle"

l_.str.6:                               ; @.str.6
	.space	1

	.comm	_szDefaultTitle,8,3             ; @szDefaultTitle
l_.str.7:                               ; @.str.7
	.asciz	"DefaultTopicDescription"

	.comm	_szDefaultDesc,8,3              ; @szDefaultDesc
	.comm	_BUFFER_SIZE,4,2                ; @BUFFER_SIZE
	.comm	_TRUE,4,2                       ; @TRUE
l_.str.8:                               ; @.str.8
	.asciz	"Topic"

l_.str.9:                               ; @.str.9
	.asciz	"MenuText"

l_.str.10:                              ; @.str.10
	.asciz	"Title"

l_.str.11:                              ; @.str.11
	.asciz	"Description"

l_.str.12:                              ; @.str.12
	.asciz	"ConfigCommand"

l_.str.13:                              ; @.str.13
	.asciz	"ConfigArgs"

	.no_dead_strip	_LoadLocalizedResourcesFromINI
.subsections_via_symbols
