	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_SetUserAuthData                ## -- Begin function SetUserAuthData
	.p2align	4, 0x90
_SetUserAuthData:                       ## @SetUserAuthData
	.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_11
## %bb.1:
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movq	_AUTHTYPE_ANONYMOUS@GOTPCREL(%rip), %r12
	testq	%rdx, %rdx
	jne	LBB0_3
## %bb.2:
	cmpq	%r15, (%r12)
	je	LBB0_3
LBB0_11:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movl	8(%rbx), %edi
	callq	_Lock
	movq	(%rbx), %rax
	cmpq	(%r12), %rax
	je	LBB0_10
## %bb.4:
	movq	_AUTHTYPE_PASSWORD@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	%rcx, %rax
	jne	LBB0_9
## %bb.5:
	cmpq	%r15, %rcx
	jne	LBB0_9
## %bb.6:
	movq	16(%rbx), %r12
	movl	4(%r12), %edi
	movl	4(%r14), %esi
	movq	_SHA1_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_Cmp
	testq	%rax, %rax
	jne	LBB0_9
## %bb.7:
	movl	(%r14), %edi
	movq	_MD5_SIZE@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	callq	_IsZero
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:
	movl	(%r14), %edi
	movl	(%r12), %esi
	movl	(%r13), %edx
	callq	_Copy
LBB0_9:
	movq	(%rbx), %rdi
	movq	16(%rbx), %rsi
	callq	_FreeAuthData
LBB0_10:
	movq	%r15, (%rbx)
	movq	%r14, 16(%rbx)
	movl	8(%rbx), %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_Unlock                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_AUTHTYPE_ANONYMOUS,8,3         ## @AUTHTYPE_ANONYMOUS
	.comm	_AUTHTYPE_PASSWORD,8,3          ## @AUTHTYPE_PASSWORD
	.comm	_SHA1_SIZE,4,2                  ## @SHA1_SIZE
	.comm	_MD5_SIZE,4,2                   ## @MD5_SIZE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_SetUserAuthData                ; -- Begin function SetUserAuthData
	.p2align	2
_SetUserAuthData:                       ; @SetUserAuthData
	.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_3
; %bb.1:
	mov	x19, x2
	mov	x21, x1
	mov	x20, x0
Lloh0:
	adrp	x22, _AUTHTYPE_ANONYMOUS@GOTPAGE
Lloh1:
	ldr	x22, [x22, _AUTHTYPE_ANONYMOUS@GOTPAGEOFF]
	cbnz	x2, LBB0_4
; %bb.2:
	ldr	x8, [x22]
	cmp	x8, x21
	b.eq	LBB0_4
LBB0_3:
	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
LBB0_4:
	ldr	w0, [x20, #8]
	bl	_Lock
	ldr	x8, [x20]
	ldr	x9, [x22]
	cmp	x8, x9
	b.eq	LBB0_10
; %bb.5:
Lloh2:
	adrp	x9, _AUTHTYPE_PASSWORD@GOTPAGE
Lloh3:
	ldr	x9, [x9, _AUTHTYPE_PASSWORD@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	cmp	x8, x9
	ccmp	x9, x21, #0, eq
	b.ne	LBB0_9
; %bb.6:
	ldr	x22, [x20, #16]
	ldr	w0, [x22, #4]
	ldr	w1, [x19, #4]
Lloh5:
	adrp	x8, _SHA1_SIZE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _SHA1_SIZE@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
	bl	_Cmp
	cbnz	x0, LBB0_9
; %bb.7:
	ldr	w0, [x19]
Lloh8:
	adrp	x23, _MD5_SIZE@GOTPAGE
Lloh9:
	ldr	x23, [x23, _MD5_SIZE@GOTPAGEOFF]
	ldr	w1, [x23]
	bl	_IsZero
	cbz	x0, LBB0_9
; %bb.8:
	ldr	w0, [x19]
	ldr	w1, [x22]
	ldr	w2, [x23]
	bl	_Copy
LBB0_9:
	ldr	x0, [x20]
	ldr	x1, [x20, #16]
	bl	_FreeAuthData
LBB0_10:
	str	x21, [x20]
	str	x19, [x20, #16]
	ldr	w0, [x20, #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
	b	_Unlock
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_AUTHTYPE_ANONYMOUS,8,3         ; @AUTHTYPE_ANONYMOUS
	.comm	_AUTHTYPE_PASSWORD,8,3          ; @AUTHTYPE_PASSWORD
	.comm	_SHA1_SIZE,4,2                  ; @SHA1_SIZE
	.comm	_MD5_SIZE,4,2                   ; @MD5_SIZE
.subsections_via_symbols
