	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_StSetServerPassword            ## -- Begin function StSetServerPassword
	.p2align	4, 0x90
_StSetServerPassword:                   ## @StSetServerPassword
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movl	(%rsi), %edi
	movl	$4, %esi
	callq	_IsZero
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movl	(%rbx), %edi
	movl	4(%rbx), %esi
	callq	_HashAdminPassword
LBB0_2:
	movq	(%r14), %rax
	movl	(%rax), %edi
	movl	(%rbx), %esi
	movq	_SHA1_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_Copy
	leaq	L_.str(%rip), %rdx
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_ALog
	movq	(%r14), %rdi
	callq	_IncrementServerConfigRevision
	movq	_ERR_NO_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SERVER_ADMIN_ONLY,4,2          ## @SERVER_ADMIN_ONLY
	.comm	_SHA1_SIZE,4,2                  ## @SHA1_SIZE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"LA_SET_SERVER_PASSWORD"

	.comm	_ERR_NO_ERROR,4,2               ## @ERR_NO_ERROR
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_StSetServerPassword            ; -- Begin function StSetServerPassword
	.p2align	2
_StSetServerPassword:                   ; @StSetServerPassword
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x1
	mov	x19, x0
	ldr	w0, [x1]
	mov	w1, #4
	bl	_IsZero
	cbz	x0, LBB0_2
; %bb.1:
	ldp	w0, w1, [x20]
	bl	_HashAdminPassword
LBB0_2:
	ldr	x8, [x19]
	ldr	w0, [x8]
	ldr	w1, [x20]
Lloh0:
	adrp	x8, _SHA1_SIZE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SHA1_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	bl	_Copy
Lloh3:
	adrp	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x19
	mov	x1, #0
	bl	_ALog
	ldr	x0, [x19]
	bl	_IncrementServerConfigRevision
Lloh5:
	adrp	x8, _ERR_NO_ERROR@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ERR_NO_ERROR@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_SERVER_ADMIN_ONLY,4,2          ; @SERVER_ADMIN_ONLY
	.comm	_SHA1_SIZE,4,2                  ; @SHA1_SIZE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"LA_SET_SERVER_PASSWORD"

	.comm	_ERR_NO_ERROR,4,2               ; @ERR_NO_ERROR
.subsections_via_symbols
