	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ElLoadConfig                   ## -- Begin function ElLoadConfig
	.p2align	4, 0x90
_ElLoadConfig:                          ## @ElLoadConfig
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testq	%rdi, %rdi
	je	LBB0_4
## %bb.1:
	movq	%rdi, %rbx
	movq	_EL_ADMIN_PORT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 12(%rdi)
	movq	_EL_CONFIG_FILENAME@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-32(%rbp), %rdi
	callq	_NewCfgRw
	movl	%eax, 8(%rbx)
	movq	-32(%rbp), %rsi
	testq	%rsi, %rsi
	je	LBB0_3
## %bb.2:
	movq	%rbx, %rdi
	callq	_ElLoadConfigFromFolder
	movq	-32(%rbp), %rdi
	callq	_CfgDeleteFolder
	jmp	LBB0_4
LBB0_3:
	movl	4(%rbx), %r14d
	leaq	L_.str(%rip), %r15
	movq	%r15, %rdi
	callq	_StrLen
	movl	%r14d, %edi
	movq	%r15, %rsi
	movl	%eax, %edx
	callq	_Sha0
	movq	_DISK_FREE_SPACE_DEFAULT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rbx)
LBB0_4:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EL_ADMIN_PORT,4,2              ## @EL_ADMIN_PORT
	.comm	_EL_CONFIG_FILENAME,4,2         ## @EL_CONFIG_FILENAME
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.space	1

	.comm	_DISK_FREE_SPACE_DEFAULT,4,2    ## @DISK_FREE_SPACE_DEFAULT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ElLoadConfig                   ; -- Begin function ElLoadConfig
	.p2align	2
_ElLoadConfig:                          ; @ElLoadConfig
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	cbz	x0, LBB0_4
; %bb.1:
	mov	x19, x0
Lloh0:
	adrp	x8, _EL_ADMIN_PORT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EL_ADMIN_PORT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x0, #12]
Lloh3:
	adrp	x8, _EL_CONFIG_FILENAME@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EL_CONFIG_FILENAME@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	add	x0, sp, #8
	bl	_NewCfgRw
	str	w0, [x19, #8]
	ldr	x1, [sp, #8]
	cbz	x1, LBB0_3
; %bb.2:
	mov	x0, x19
	bl	_ElLoadConfigFromFolder
	ldr	x0, [sp, #8]
	bl	_CfgDeleteFolder
	b	LBB0_4
LBB0_3:
	ldr	w20, [x19, #4]
Lloh6:
	adrp	x21, l_.str@PAGE
Lloh7:
	add	x21, x21, l_.str@PAGEOFF
	mov	x0, x21
	bl	_StrLen
	mov	x2, x0
	mov	x0, x20
	mov	x1, x21
	bl	_Sha0
Lloh8:
	adrp	x8, _DISK_FREE_SPACE_DEFAULT@GOTPAGE
Lloh9:
	ldr	x8, [x8, _DISK_FREE_SPACE_DEFAULT@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	str	w8, [x19]
LBB0_4:
	mov	w0, #0
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_EL_ADMIN_PORT,4,2              ; @EL_ADMIN_PORT
	.comm	_EL_CONFIG_FILENAME,4,2         ; @EL_CONFIG_FILENAME
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.space	1

	.comm	_DISK_FREE_SPACE_DEFAULT,4,2    ; @DISK_FREE_SPACE_DEFAULT
.subsections_via_symbols
