	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ElSaveConfigToFolder           ## -- Begin function ElSaveConfigToFolder
	.p2align	4, 0x90
_ElSaveConfigToFolder:                  ## @ElSaveConfigToFolder
	.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
	testq	%rdi, %rdi
	je	LBB0_8
## %bb.1:
	movq	%rsi, %r14
	testq	%rsi, %rsi
	je	LBB0_8
## %bb.2:
	movq	%rdi, %r15
	movl	12(%rdi), %edx
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_CfgAddInt64
	movl	8(%r15), %edx
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	callq	_CfgAddInt
	movl	4(%r15), %edx
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdi
	movl	$4, %ecx
	callq	_CfgAddByte
	movq	_ELOG_IS_BETA@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jne	LBB0_4
## %bb.3:
	leaq	L_.str.3(%rip), %rsi
	movq	%r14, %rdi
	callq	_CfgCreateFolder
	movq	%rax, %rdi
	movq	%r15, %rsi
	callq	_EiWriteLicenseManager
LBB0_4:
	leaq	L_.str.4(%rip), %rsi
	movq	%r14, %rdi
	callq	_CfgCreateFolder
	movq	%rax, %r14
	movl	(%r15), %edi
	callq	_LockList
	movl	(%r15), %edi
	callq	_LIST_NUM
	testq	%rax, %rax
	jle	LBB0_7
## %bb.5:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r15), %edi
	movq	%rbx, %rsi
	callq	_LIST_DATA
	movq	%rax, %r13
	movq	(%rax), %rsi
	movq	%r14, %rdi
	callq	_CfgCreateFolder
	movq	%rax, %r12
	leaq	12(%r13), %rsi
	movq	%rax, %rdi
	movl	$1, %edx
	callq	_SiWriteHubLogCfgEx
	movl	8(%r13), %edx
	movq	%r12, %rdi
	leaq	L_.str.5(%rip), %rsi
	callq	_CfgAddBool
	incq	%rbx
	movl	(%r15), %edi
	callq	_LIST_NUM
	cmpq	%rax, %rbx
	jl	LBB0_6
LBB0_7:
	movl	(%r15), %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_UnlockList                     ## TAILCALL
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"AutoDeleteCheckDiskFreeSpaceMin"

L_.str.1:                               ## @.str.1
	.asciz	"AdminPort"

L_.str.2:                               ## @.str.2
	.asciz	"AdminPassword"

	.comm	_ELOG_IS_BETA,4,2               ## @ELOG_IS_BETA
L_.str.3:                               ## @.str.3
	.asciz	"LicenseManager"

L_.str.4:                               ## @.str.4
	.asciz	"Devices"

L_.str.5:                               ## @.str.5
	.asciz	"NoPromiscuousMode"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ElSaveConfigToFolder           ; -- Begin function ElSaveConfigToFolder
	.p2align	2
_ElSaveConfigToFolder:                  ; @ElSaveConfigToFolder
	.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
	cbz	x0, LBB0_8
; %bb.1:
	mov	x20, x1
	cbz	x1, LBB0_8
; %bb.2:
	mov	x19, x0
	ldr	w2, [x0, #12]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_CfgAddInt64
	ldr	w2, [x19, #8]
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_CfgAddInt
	ldr	w2, [x19, #4]
Lloh4:
	adrp	x1, l_.str.2@PAGE
Lloh5:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x20
	mov	w3, #4
	bl	_CfgAddByte
Lloh6:
	adrp	x8, _ELOG_IS_BETA@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ELOG_IS_BETA@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	cbnz	w8, LBB0_4
; %bb.3:
Lloh9:
	adrp	x1, l_.str.3@PAGE
Lloh10:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x20
	bl	_CfgCreateFolder
	mov	x1, x19
	bl	_EiWriteLicenseManager
LBB0_4:
Lloh11:
	adrp	x1, l_.str.4@PAGE
Lloh12:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x20
	bl	_CfgCreateFolder
	mov	x20, x0
	ldr	w0, [x19]
	bl	_LockList
	ldr	w0, [x19]
	bl	_LIST_NUM
	cmp	x0, #1
	b.lt	LBB0_7
; %bb.5:
	mov	x21, #0
Lloh13:
	adrp	x22, l_.str.5@PAGE
Lloh14:
	add	x22, x22, l_.str.5@PAGEOFF
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x19]
	mov	x1, x21
	bl	_LIST_DATA
	mov	x23, x0
	ldr	x1, [x0]
	mov	x0, x20
	bl	_CfgCreateFolder
	mov	x24, x0
	add	x1, x23, #12
	mov	w2, #1
	bl	_SiWriteHubLogCfgEx
	ldr	w2, [x23, #8]
	mov	x0, x24
	mov	x1, x22
	bl	_CfgAddBool
	add	x21, x21, #1
	ldr	w0, [x19]
	bl	_LIST_NUM
	cmp	x21, x0
	b.lt	LBB0_6
LBB0_7:
	ldr	w0, [x19]
	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
	b	_UnlockList
LBB0_8:
	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 AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"AutoDeleteCheckDiskFreeSpaceMin"

l_.str.1:                               ; @.str.1
	.asciz	"AdminPort"

l_.str.2:                               ; @.str.2
	.asciz	"AdminPassword"

	.comm	_ELOG_IS_BETA,4,2               ; @ELOG_IS_BETA
l_.str.3:                               ; @.str.3
	.asciz	"LicenseManager"

l_.str.4:                               ; @.str.4
	.asciz	"Devices"

l_.str.5:                               ; @.str.5
	.asciz	"NoPromiscuousMode"

.subsections_via_symbols
