	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CiEraseSensitiveInAccount      ## -- Begin function CiEraseSensitiveInAccount
	.p2align	4, 0x90
_CiEraseSensitiveInAccount:             ## @CiEraseSensitiveInAccount
	.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
	xorl	%ebx, %ebx
	testq	%rdi, %rdi
	je	LBB0_11
## %bb.1:
	movq	%rdi, %r15
	callq	_CiCfgToAccount
	testq	%rax, %rax
	je	LBB0_11
## %bb.2:
	movq	%rax, %r14
	movq	(%rax), %rax
	movq	(%rax), %rcx
	movq	_CLIENT_AUTHTYPE_PASSWORD@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_4
## %bb.3:
	movl	16(%rax), %edi
	movl	$4, %esi
	callq	_Zero
	jmp	LBB0_6
LBB0_4:
	movq	_CLIENT_AUTHTYPE_PLAIN_PASSWORD@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_7
## %bb.5:
	movl	12(%rax), %edi
	movl	$4, %esi
	callq	_ClearStr
LBB0_6:
	movq	(%r14), %rax
	movl	8(%rax), %edi
	movl	$4, %esi
	callq	_ClearStr
LBB0_7:
	movq	%r14, %rdi
	callq	_CiAccountToCfg
	testq	%rax, %rax
	je	LBB0_8
## %bb.9:
	movq	%rax, %rbx
	movq	%r15, %rdi
	callq	_ClearBuf
	movl	(%rbx), %edx
	movl	4(%rbx), %esi
	movq	%r15, %rdi
	callq	_WriteBuf
	movq	%r15, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_SeekBuf
	movq	%rbx, %rdi
	callq	_FreeBuf
	movl	$1, %ebx
	jmp	LBB0_10
LBB0_8:
	xorl	%ebx, %ebx
LBB0_10:
	movq	%r14, %rdi
	callq	_CiFreeClientCreateAccount
	movq	%r14, %rdi
	callq	_Free
LBB0_11:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CLIENT_AUTHTYPE_PASSWORD,8,3   ## @CLIENT_AUTHTYPE_PASSWORD
	.comm	_CLIENT_AUTHTYPE_PLAIN_PASSWORD,8,3 ## @CLIENT_AUTHTYPE_PLAIN_PASSWORD
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CiEraseSensitiveInAccount      ; -- Begin function CiEraseSensitiveInAccount
	.p2align	2
_CiEraseSensitiveInAccount:             ; @CiEraseSensitiveInAccount
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x20, x0
	cbz	x0, LBB0_12
; %bb.1:
	mov	x0, x20
	bl	_CiCfgToAccount
	cbz	x0, LBB0_4
; %bb.2:
	mov	x19, x0
	ldr	x8, [x0]
	ldr	x9, [x8]
Lloh0:
	adrp	x10, _CLIENT_AUTHTYPE_PASSWORD@GOTPAGE
Lloh1:
	ldr	x10, [x10, _CLIENT_AUTHTYPE_PASSWORD@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_5
; %bb.3:
	ldr	w0, [x8, #16]
	mov	w1, #4
	bl	_Zero
	b	LBB0_7
LBB0_4:
	mov	w20, #0
	b	LBB0_12
LBB0_5:
Lloh3:
	adrp	x10, _CLIENT_AUTHTYPE_PLAIN_PASSWORD@GOTPAGE
Lloh4:
	ldr	x10, [x10, _CLIENT_AUTHTYPE_PLAIN_PASSWORD@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_8
; %bb.6:
	ldr	w0, [x8, #12]
	mov	w1, #4
	bl	_ClearStr
LBB0_7:
	ldr	x8, [x19]
	ldr	w0, [x8, #8]
	mov	w1, #4
	bl	_ClearStr
LBB0_8:
	mov	x0, x19
	bl	_CiAccountToCfg
	cbz	x0, LBB0_10
; %bb.9:
	mov	x21, x0
	mov	x0, x20
	bl	_ClearBuf
	ldp	w2, w1, [x21]
	mov	x0, x20
	bl	_WriteBuf
	mov	x0, x20
	mov	w1, #0
	mov	w2, #0
	bl	_SeekBuf
	mov	x0, x21
	bl	_FreeBuf
	mov	w20, #1
	b	LBB0_11
LBB0_10:
	mov	w20, #0
LBB0_11:
	mov	x0, x19
	bl	_CiFreeClientCreateAccount
	mov	x0, x19
	bl	_Free
LBB0_12:
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_CLIENT_AUTHTYPE_PASSWORD,8,3   ; @CLIENT_AUTHTYPE_PASSWORD
	.comm	_CLIENT_AUTHTYPE_PLAIN_PASSWORD,8,3 ; @CLIENT_AUTHTYPE_PLAIN_PASSWORD
.subsections_via_symbols
