	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function InitRdpSettings
LCPI0_0:
	.space	16
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_InitRdpSettings
	.p2align	4, 0x90
_InitRdpSettings:                       ## @InitRdpSettings
	.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	%rdi, %r12
	movq	_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	xorl	%eax, %eax
	callq	_GetProcessHeap
	movq	_NUM_SETTINGS@GOTPCREL(%rip), %r15
	movl	(%r15), %edx
	shll	$2, %edx
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	_HeapAlloc
	movq	%rax, 8(%r12)
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	movl	(%r15), %ecx
	testl	%ecx, %ecx
	jle	LBB0_4
## %bb.2:
	xorl	%r13d, %r13d
	movq	_lpSettings@GOTPCREL(%rip), %r14
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	16(%rax,%r13), %edi
	movq	(%r14), %rax
	movl	(%rax,%rbx,4), %esi
	callq	_wcscpy
	movq	8(%r12), %rax
	incq	%rbx
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%rax,%r13)
	movslq	(%r15), %rcx
	addq	$24, %r13
	cmpq	%rcx, %rbx
	jl	LBB0_3
LBB0_4:
	movl	%ecx, (%r12)
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
LBB0_5:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_NUM_SETTINGS,4,2               ## @NUM_SETTINGS
	.comm	_lpSettings,8,3                 ## @lpSettings
	.comm	_TRUE,4,2                       ## @TRUE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_InitRdpSettings                ; -- Begin function InitRdpSettings
	.p2align	2
_InitRdpSettings:                       ; @InitRdpSettings
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x0
Lloh0:
	adrp	x8, _FALSE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh2:
	ldr	w20, [x8]
	bl	_GetProcessHeap
Lloh3:
	adrp	x21, _NUM_SETTINGS@GOTPAGE
Lloh4:
	ldr	x21, [x21, _NUM_SETTINGS@GOTPAGEOFF]
	ldr	w8, [x21]
	lsl	w2, w8, #2
	mov	w1, #0
	bl	_HeapAlloc
	str	x0, [x19, #8]
	cbz	x0, LBB0_5
; %bb.1:
	ldr	w8, [x21]
	cmp	w8, #1
	b.lt	LBB0_4
; %bb.2:
	mov	x20, #0
	mov	x22, #0
Lloh5:
	adrp	x23, _lpSettings@GOTPAGE
Lloh6:
	ldr	x23, [x23, _lpSettings@GOTPAGEOFF]
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	add	x8, x0, x20
	ldr	w0, [x8, #16]
	ldr	x8, [x23]
	ldr	w1, [x8, x22, lsl #2]
	bl	_wcscpy
	ldr	x0, [x19, #8]
	add	x22, x22, #1
	add	x8, x0, x20
	stp	xzr, xzr, [x8]
	ldrsw	x8, [x21]
	add	x20, x20, #24
	cmp	x22, x8
	b.lt	LBB0_3
LBB0_4:
	str	w8, [x19]
Lloh7:
	adrp	x8, _TRUE@GOTPAGE
Lloh8:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh9:
	ldr	w20, [x8]
LBB0_5:
	mov	x0, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_NUM_SETTINGS,4,2               ; @NUM_SETTINGS
	.comm	_lpSettings,8,3                 ; @lpSettings
	.comm	_TRUE,4,2                       ; @TRUE
.subsections_via_symbols
