	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ParseMemSettings
_ParseMemSettings:                      ## @ParseMemSettings
	.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
	movl	$4184, %eax                     ## imm = 0x1058
	callq	____chkstk_darwin
	subq	%rax, %rsp
	popq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	%rsp, -4200(%rbp)               ## 8-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_MAX_PATH@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	incl	%eax
	shlq	$2, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r14
	leaq	-4144(%rbp), %rbx
	movl	$1023, %edi                     ## imm = 0x3FF
	movq	%rbx, %rsi
	callq	_GetLogicalDriveStrings
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r12
	movq	%r14, -4208(%rbp)               ## 8-byte Spill
	xorl	%eax, %eax
	movq	%rax, -4168(%rbp)               ## 8-byte Spill
	movq	%r15, -4192(%rbp)               ## 8-byte Spill
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_3 Depth=1
	incq	-4168(%rbp)                     ## 8-byte Folded Spill
	movq	-4192(%rbp), %r15               ## 8-byte Reload
	movq	-4216(%rbp), %r12               ## 8-byte Reload
LBB0_10:                                ##   in Loop: Header=BB0_3 Depth=1
	leaq	(%r14,%r13,4), %rbx
	testq	%r12, %r12
	je	LBB0_11
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	callq	_lstrlen
	movq	%rax, %r13
	incq	%r13
	subq	%r13, %r12
	movq	%rbx, %rdi
	callq	__tcsupr
	movq	%rax, %r14
	leaq	-4156(%rbp), %rbx
	movq	%rbx, %rdi
	movq	%rax, %rsi
	movl	$3, %edx
	callq	_lstrcpyn
	movq	%r14, %rdi
	callq	_GetDriveType
	movq	_DRIVE_FIXED@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_10
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%r12, -4216(%rbp)               ## 8-byte Spill
	movq	$-1, -4184(%rbp)
	movq	$-1, -4176(%rbp)
	movl	16(%r15), %edi
	movq	%rbx, %rsi
	movl	$2, %edx
	callq	__tcsncmp
	testl	%eax, %eax
	jne	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	16(%r15), %edi
	leaq	-4184(%rbp), %rsi
	leaq	-4176(%rbp), %rdx
	callq	_GetPageFileSizes
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	-4184(%rbp), %rax
	movq	8(%r15), %rcx
	movq	-4168(%rbp), %rdx               ## 8-byte Reload
	leaq	(%rdx,%rdx,2), %r15
	shlq	$4, %r15
	movq	%rax, 40(%rcx,%r15)
	movq	-4176(%rbp), %rax
	movq	%rax, 32(%rcx,%r15)
	movq	-4184(%rbp), %rax
	movq	%rax, 24(%rcx,%r15)
	movq	-4176(%rbp), %rax
	movq	%rax, 16(%rcx,%r15)
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 12(%rcx,%r15)
	movl	8(%rcx,%r15), %edi
	movq	%rbx, %rsi
	callq	_lstrcpy
	movq	_MAX_PATH@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	incl	%edx
	movq	%r14, %rdi
	movq	-4208(%rbp), %r12               ## 8-byte Reload
	movq	%r12, %rsi
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	pushq	$0
	pushq	$0
	callq	_GetVolumeInformation
	addq	$16, %rsp
	testq	%rax, %rax
	je	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	xorl	%eax, %eax
	callq	_GetProcessHeap
	movl	%eax, %ebx
	movq	%r12, %rdi
	callq	__tcslen
                                        ## kill: def $eax killed $eax def $rax
	leal	4(,%rax,4), %edx
	movl	%ebx, %edi
	xorl	%esi, %esi
	callq	_HeapAlloc
	movq	-4192(%rbp), %rcx               ## 8-byte Reload
	movq	8(%rcx), %rcx
	movq	%rax, (%rcx,%r15)
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%rax, %rdi
	movq	%r12, %rsi
	callq	__tcscpy
	jmp	LBB0_9
LBB0_1:
	xorl	%eax, %eax
	movq	%rax, -4168(%rbp)               ## 8-byte Spill
LBB0_11:
	movq	-4168(%rbp), %rax               ## 8-byte Reload
	movq	%rax, (%r15)
	movq	-4200(%rbp), %rsp               ## 8-byte Reload
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_13
## %bb.12:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_13:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_PATH,4,2                   ## @MAX_PATH
	.comm	_DRIVE_FIXED,8,3                ## @DRIVE_FIXED
	.comm	_TRUE,4,2                       ## @TRUE
	.no_dead_strip	_ParseMemSettings
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ParseMemSettings
_ParseMemSettings:                      ; @ParseMemSettings
	.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
	mov	w9, #4160
Lloh0:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh1:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	sub	sp, sp, #1, lsl #12             ; =4096
	sub	sp, sp, #64
	mov	x19, sp
	mov	x20, x0
	mov	x8, sp
	str	x8, [x19, #8]                   ; 8-byte Folded Spill
Lloh2:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh3:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	stur	x8, [x29, #-96]
Lloh5:
	adrp	x8, _MAX_PATH@GOTPAGE
Lloh6:
	ldr	x8, [x8, _MAX_PATH@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	add	w8, w8, #1
	lsl	x8, x8, #2
	mov	x9, x8
Lloh8:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh9:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x7fffffff0
	sub	x21, x9, x8
	mov	sp, x21
	add	x1, x19, #48
	mov	w0, #1023
	bl	_GetLogicalDriveStrings
	cbz	x0, LBB0_10
; %bb.1:
	mov	x22, x0
	mov	x27, #0
	add	x23, x19, #48
Lloh10:
	adrp	x28, _DRIVE_FIXED@GOTPAGE
Lloh11:
	ldr	x28, [x28, _DRIVE_FIXED@GOTPAGEOFF]
	mov	x25, #-1
	mov	w24, #48
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x27, x27, #1
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x23, x23, x26, lsl #2
	cbz	x22, LBB0_11
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x23
	bl	_lstrlen
	add	x26, x0, #1
	sub	x22, x22, x26
	mov	x0, x23
	bl	__tcsupr
	mov	x23, x0
	add	x0, x19, #36
	mov	x1, x23
	mov	w2, #3
	bl	_lstrcpyn
	mov	x0, x23
	bl	_GetDriveType
	ldr	x8, [x28]
	cmp	x0, x8
	b.ne	LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	stp	x25, x25, [x19, #16]
	ldr	w0, [x20, #16]
	add	x1, x19, #36
	mov	w2, #2
	bl	__tcsncmp
	cbnz	w0, LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w0, [x20, #16]
	add	x1, x19, #24
	add	x2, x19, #16
	bl	_GetPageFileSizes
LBB0_7:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x19, #24]
	ldr	x9, [x20, #8]
	madd	x9, x27, x24, x9
	str	x8, [x9, #40]
	ldr	x8, [x19, #16]
	str	x8, [x9, #32]
	ldr	x8, [x19, #24]
	str	x8, [x9, #24]
	ldr	x8, [x19, #16]
	str	x8, [x9, #16]
Lloh12:
	adrp	x8, _TRUE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	str	w8, [x9, #12]
	ldr	w0, [x9, #8]
	add	x1, x19, #36
	bl	_lstrcpy
Lloh15:
	adrp	x8, _MAX_PATH@GOTPAGE
Lloh16:
	ldr	x8, [x8, _MAX_PATH@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	add	w2, w8, #1
	mov	x0, x23
	mov	x1, x21
	mov	x3, #0
	mov	x4, #0
	mov	x5, #0
	mov	x6, #0
	mov	w7, #0
	bl	_GetVolumeInformation
	cbz	x0, LBB0_2
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	bl	_GetProcessHeap
	mov	x24, x0
	mov	x0, x21
	bl	__tcslen
	lsl	w8, w0, #2
	add	w2, w8, #4
	mov	x0, x24
	mov	w24, #48
	mov	w1, #0
	bl	_HeapAlloc
	ldr	x8, [x20, #8]
	mul	x9, x27, x24
	str	x0, [x8, x9]
	cbz	x0, LBB0_2
; %bb.9:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x1, x21
	bl	__tcscpy
	b	LBB0_2
LBB0_10:
	mov	x27, #0
LBB0_11:
	str	x27, [x20]
	ldr	x8, [x19, #8]                   ; 8-byte Folded Reload
	mov	sp, x8
	ldur	x8, [x29, #-96]
Lloh18:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh19:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh20:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_13
; %bb.12:
	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_13:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_PATH,4,2                   ; @MAX_PATH
	.comm	_DRIVE_FIXED,8,3                ; @DRIVE_FIXED
	.comm	_TRUE,4,2                       ; @TRUE
	.no_dead_strip	_ParseMemSettings
.subsections_via_symbols
