	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CiLoadClientAccount            ## -- Begin function CiLoadClientAccount
	.p2align	4, 0x90
_CiLoadClientAccount:                   ## @CiLoadClientAccount
	.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	%r12
	pushq	%rbx
	subq	$80, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -40(%rbp)
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.2:
	movq	%rdi, %rbx
	leaq	L_.str(%rip), %rsi
	callq	_CfgGetFolder
	movq	%rax, %r15
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	callq	_CfgGetFolder
	xorl	%r14d, %r14d
	testq	%r15, %r15
	je	LBB0_12
## %bb.3:
	movq	%rax, %r12
	testq	%rax, %rax
	je	LBB0_12
## %bb.4:
	movl	$72, %edi
	callq	_ZeroMalloc
	movq	%rax, %r14
	xorl	%eax, %eax
	callq	_NewLock
	movl	%eax, 64(%r14)
	movq	%r15, %rdi
	callq	_CiLoadClientOption
	movl	%eax, 60(%r14)
	movq	%r12, %rdi
	callq	_CiLoadClientAuth
	movl	%eax, 56(%r14)
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	callq	_CfgGetBool
	movq	%rax, 48(%r14)
	leaq	L_.str.3(%rip), %rsi
	movq	%rbx, %rdi
	callq	_CfgGetBool
	movq	%rax, 40(%r14)
	leaq	L_.str.4(%rip), %rsi
	movq	%rbx, %rdi
	callq	_CfgGetBool
	movq	%rax, 32(%r14)
	leaq	L_.str.5(%rip), %rsi
	movq	%rbx, %rdi
	callq	_CfgGetInt64
	movq	%rax, 24(%r14)
	leaq	L_.str.6(%rip), %rsi
	movq	%rbx, %rdi
	callq	_CfgGetInt64
	movq	%rax, 16(%r14)
	leaq	L_.str.7(%rip), %rsi
	movq	%rbx, %rdi
	callq	_CfgGetInt64
	movq	%rax, 8(%r14)
	leaq	L_.str.8(%rip), %rsi
	movq	%rbx, %rdi
	callq	_CfgGetBuf
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	%rax, %r15
	movq	%rax, %rdi
	xorl	%esi, %esi
	callq	_BufToX
	movl	%eax, 4(%r14)
	movq	%r15, %rdi
	callq	_FreeBuf
LBB0_6:
	leaq	L_.str.9(%rip), %rsi
	leaq	-112(%rbp), %rdx
	movq	%rbx, %rdi
	movl	$64, %ecx
	callq	_CfgGetStr
	testq	%rax, %rax
	je	LBB0_10
## %bb.7:
	leaq	-112(%rbp), %rdi
	callq	_StrToBin
	movq	%rax, %rbx
	movq	(%rax), %rdx
	movq	_SHA1_SIZE@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rdx
	jne	LBB0_9
## %bb.8:
	movl	(%r14), %edi
	movl	8(%rbx), %esi
	callq	_Copy
LBB0_9:
	movq	%rbx, %rdi
	callq	_FreeBuf
LBB0_10:
	movl	(%r14), %edi
	movq	_SHA1_SIZE@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rsi
	callq	_IsZero
	testq	%rax, %rax
	je	LBB0_12
## %bb.11:
	movl	(%r14), %edi
	movq	(%rbx), %rsi
	callq	_Rand
	jmp	LBB0_12
LBB0_1:
	xorl	%r14d, %r14d
LBB0_12:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-40(%rbp), %rax
	jne	LBB0_14
## %bb.13:
	movq	%r14, %rax
	addq	$80, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_14:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ClientOption"

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

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

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

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

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

L_.str.6:                               ## @.str.6
	.asciz	"UpdateDateTime"

L_.str.7:                               ## @.str.7
	.asciz	"LastConnectDateTime"

L_.str.8:                               ## @.str.8
	.asciz	"ServerCert"

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

	.comm	_SHA1_SIZE,8,3                  ## @SHA1_SIZE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CiLoadClientAccount            ; -- Begin function CiLoadClientAccount
	.p2align	2
_CiLoadClientAccount:                   ; @CiLoadClientAccount
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
	cbz	x0, LBB0_11
; %bb.1:
	mov	x20, x0
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_CfgGetFolder
	mov	x21, x0
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_CfgGetFolder
	mov	x19, #0
	cbz	x21, LBB0_12
; %bb.2:
	mov	x22, x0
	cbz	x0, LBB0_12
; %bb.3:
	mov	w0, #72
	bl	_ZeroMalloc
	mov	x19, x0
	bl	_NewLock
	str	w0, [x19, #64]
	mov	x0, x21
	bl	_CiLoadClientOption
	str	w0, [x19, #60]
	mov	x0, x22
	bl	_CiLoadClientAuth
	str	w0, [x19, #56]
Lloh7:
	adrp	x1, l_.str.2@PAGE
Lloh8:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x20
	bl	_CfgGetBool
	str	x0, [x19, #48]
Lloh9:
	adrp	x1, l_.str.3@PAGE
Lloh10:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x20
	bl	_CfgGetBool
	str	x0, [x19, #40]
Lloh11:
	adrp	x1, l_.str.4@PAGE
Lloh12:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x20
	bl	_CfgGetBool
	str	x0, [x19, #32]
Lloh13:
	adrp	x1, l_.str.5@PAGE
Lloh14:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x20
	bl	_CfgGetInt64
	str	x0, [x19, #24]
Lloh15:
	adrp	x1, l_.str.6@PAGE
Lloh16:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x20
	bl	_CfgGetInt64
	str	x0, [x19, #16]
Lloh17:
	adrp	x1, l_.str.7@PAGE
Lloh18:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	x0, x20
	bl	_CfgGetInt64
	str	x0, [x19, #8]
Lloh19:
	adrp	x1, l_.str.8@PAGE
Lloh20:
	add	x1, x1, l_.str.8@PAGEOFF
	mov	x0, x20
	bl	_CfgGetBuf
	cbz	x0, LBB0_5
; %bb.4:
	mov	x21, x0
	mov	w1, #0
	bl	_BufToX
	str	w0, [x19, #4]
	mov	x0, x21
	bl	_FreeBuf
LBB0_5:
Lloh21:
	adrp	x1, l_.str.9@PAGE
Lloh22:
	add	x1, x1, l_.str.9@PAGEOFF
	add	x2, sp, #8
	mov	x0, x20
	mov	w3, #64
	bl	_CfgGetStr
Lloh23:
	adrp	x21, _SHA1_SIZE@GOTPAGE
Lloh24:
	ldr	x21, [x21, _SHA1_SIZE@GOTPAGEOFF]
	cbz	x0, LBB0_9
; %bb.6:
	add	x0, sp, #8
	bl	_StrToBin
	mov	x20, x0
	ldr	x2, [x0]
	ldr	x8, [x21]
	cmp	x2, x8
	b.ne	LBB0_8
; %bb.7:
	ldr	w0, [x19]
	ldr	w1, [x20, #8]
	bl	_Copy
LBB0_8:
	mov	x0, x20
	bl	_FreeBuf
LBB0_9:
	ldr	w0, [x19]
	ldr	x1, [x21]
	bl	_IsZero
	cbz	x0, LBB0_12
; %bb.10:
	ldr	w0, [x19]
	ldr	x1, [x21]
	bl	_Rand
	b	LBB0_12
LBB0_11:
	mov	x19, #0
LBB0_12:
	ldur	x8, [x29, #-40]
Lloh25:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh26:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh27:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_14
; %bb.13:
	mov	x0, x19
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_14:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ClientOption"

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

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

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

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

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

l_.str.6:                               ; @.str.6
	.asciz	"UpdateDateTime"

l_.str.7:                               ; @.str.7
	.asciz	"LastConnectDateTime"

l_.str.8:                               ; @.str.8
	.asciz	"ServerCert"

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

	.comm	_SHA1_SIZE,8,3                  ; @SHA1_SIZE
.subsections_via_symbols
