	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_AdminCheckPassword             ## -- Begin function AdminCheckPassword
	.p2align	4, 0x90
_AdminCheckPassword:                    ## @AdminCheckPassword
	.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
	subq	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %r15
	movl	%r8d, -52(%rbp)                 ## 4-byte Spill
	movq	%rcx, %r14
	movq	%rdx, %r13
	movq	%rsi, %rbx
	movq	%rdi, %r12
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_SHA1_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	shlq	$2, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %rcx
	movq	_ERR_INTERNAL_ERROR@GOTPCREL(%rip), %rax
	testq	%r12, %r12
	je	LBB0_18
## %bb.1:
	testq	%rbx, %rbx
	je	LBB0_18
## %bb.2:
	testq	%r13, %r13
	je	LBB0_18
## %bb.3:
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	movq	%r13, -80(%rbp)                 ## 8-byte Spill
	testq	%r15, %r15
	leaq	-84(%rbp), %r13
	cmovneq	%r15, %r13
	movl	$0, (%r13)
	testq	%r14, %r14
	je	LBB0_12
## %bb.4:
	movq	%r14, %rdi
	callq	_StrLen
	testq	%rax, %rax
	je	LBB0_12
## %bb.5:
	movq	%r12, %rdi
	callq	_LockHubList
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_GetHub
	movq	%rax, %r14
	movq	%r12, %rdi
	callq	_UnlockHubList
	testq	%r14, %r14
	je	LBB0_17
## %bb.6:
	movl	(%r14), %edi
	callq	_Lock
	cmpl	$0, -52(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_9
## %bb.7:
	movl	4(%r14), %edi
	callq	_SiIsEmptyPassword
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:
	movl	$1, (%r13)
LBB0_9:
	movl	4(%r14), %esi
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	callq	_SecurePassword
	movl	(%r14), %edi
	callq	_Unlock
	movq	%r14, %rdi
	callq	_ReleaseHub
	jmp	LBB0_10
LBB0_12:
	movl	8(%r12), %edi
	callq	_Lock
	cmpl	$0, -52(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_15
## %bb.13:
	movq	(%r12), %rax
	movl	8(%rax), %edi
	callq	_SiIsEmptyPassword
	testq	%rax, %rax
	je	LBB0_15
## %bb.14:
	movl	$1, (%r13)
LBB0_15:
	movq	(%r12), %rax
	movl	8(%rax), %esi
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	callq	_SecurePassword
	movl	8(%r12), %edi
	callq	_Unlock
LBB0_10:
	movq	_SHA1_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	callq	_Cmp
	testq	%rax, %rax
	je	LBB0_11
## %bb.16:
	movq	_ERR_ACCESS_DENIED@GOTPCREL(%rip), %rax
	jmp	LBB0_18
LBB0_11:
	movq	_ERR_NO_ERROR@GOTPCREL(%rip), %rax
	jmp	LBB0_18
LBB0_17:
	movq	_ERR_HUB_NOT_FOUND@GOTPCREL(%rip), %rax
LBB0_18:
	movl	(%rax), %eax
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_20
## %bb.19:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_20:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_SHA1_SIZE,4,2                  ## @SHA1_SIZE
	.comm	_ERR_INTERNAL_ERROR,4,2         ## @ERR_INTERNAL_ERROR
	.comm	_ERR_ACCESS_DENIED,4,2          ## @ERR_ACCESS_DENIED
	.comm	_ERR_HUB_NOT_FOUND,4,2          ## @ERR_HUB_NOT_FOUND
	.comm	_ERR_NO_ERROR,4,2               ## @ERR_NO_ERROR
	.comm	_ERR_FARM_MEMBER_HUB_ADMIN,4,2  ## @ERR_FARM_MEMBER_HUB_ADMIN
	.comm	_SERVER_TYPE_FARM_MEMBER,8,3    ## @SERVER_TYPE_FARM_MEMBER
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_AdminCheckPassword             ; -- Begin function AdminCheckPassword
	.p2align	2
_AdminCheckPassword:                    ; @AdminCheckPassword
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	sub	sp, sp, #16
	mov	x23, x4
	mov	x24, x3
	mov	x19, x2
	mov	x21, x1
	mov	x22, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
Lloh3:
	adrp	x25, _SHA1_SIZE@GOTPAGE
Lloh4:
	ldr	x25, [x25, _SHA1_SIZE@GOTPAGEOFF]
	ldr	w8, [x25]
	lsl	x8, x8, #2
	mov	x9, x8
Lloh5:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh6:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x7fffffff0
	sub	x20, x9, x8
	mov	sp, x20
Lloh7:
	adrp	x8, _ERR_INTERNAL_ERROR@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ERR_INTERNAL_ERROR@GOTPAGEOFF]
	cbz	x0, LBB0_18
; %bb.1:
	cbz	x21, LBB0_18
; %bb.2:
	cbz	x19, LBB0_18
; %bb.3:
	sub	x8, x29, #76
	cmp	x5, #0
	csel	x26, x8, x5, eq
	str	wzr, [x26]
	cbz	x24, LBB0_10
; %bb.4:
	mov	x0, x24
	bl	_StrLen
	cbz	x0, LBB0_10
; %bb.5:
	mov	x0, x22
	bl	_LockHubList
	mov	x0, x22
	mov	x1, x24
	bl	_GetHub
	mov	x24, x0
	mov	x0, x22
	bl	_UnlockHubList
	cbz	x24, LBB0_17
; %bb.6:
	ldr	w0, [x24]
	bl	_Lock
	cbz	w23, LBB0_9
; %bb.7:
	ldr	w0, [x24, #4]
	bl	_SiIsEmptyPassword
	cbz	x0, LBB0_9
; %bb.8:
	mov	w8, #1
	str	w8, [x26]
LBB0_9:
	ldr	w1, [x24, #4]
	mov	x0, x20
	mov	x2, x21
	bl	_SecurePassword
	ldr	w0, [x24]
	bl	_Unlock
	mov	x0, x24
	bl	_ReleaseHub
	b	LBB0_14
LBB0_10:
	ldr	w0, [x22, #8]
	bl	_Lock
	cbz	w23, LBB0_13
; %bb.11:
	ldr	x8, [x22]
	ldr	w0, [x8, #8]
	bl	_SiIsEmptyPassword
	cbz	x0, LBB0_13
; %bb.12:
	mov	w8, #1
	str	w8, [x26]
LBB0_13:
	ldr	x8, [x22]
	ldr	w1, [x8, #8]
	mov	x0, x20
	mov	x2, x21
	bl	_SecurePassword
	ldr	w0, [x22, #8]
	bl	_Unlock
LBB0_14:
	ldr	w2, [x25]
	mov	x0, x20
	mov	x1, x19
	bl	_Cmp
	cbz	x0, LBB0_16
; %bb.15:
Lloh9:
	adrp	x8, _ERR_ACCESS_DENIED@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ERR_ACCESS_DENIED@GOTPAGEOFF]
	b	LBB0_18
LBB0_16:
Lloh11:
	adrp	x8, _ERR_NO_ERROR@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ERR_NO_ERROR@GOTPAGEOFF]
	b	LBB0_18
LBB0_17:
Lloh13:
	adrp	x8, _ERR_HUB_NOT_FOUND@GOTPAGE
Lloh14:
	ldr	x8, [x8, _ERR_HUB_NOT_FOUND@GOTPAGEOFF]
LBB0_18:
	ldr	w0, [x8]
	ldur	x8, [x29, #-72]
Lloh15:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh16:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_20
; %bb.19:
	sub	sp, x29, #64
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_20:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_SHA1_SIZE,4,2                  ; @SHA1_SIZE
	.comm	_ERR_INTERNAL_ERROR,4,2         ; @ERR_INTERNAL_ERROR
	.comm	_ERR_ACCESS_DENIED,4,2          ; @ERR_ACCESS_DENIED
	.comm	_ERR_HUB_NOT_FOUND,4,2          ; @ERR_HUB_NOT_FOUND
	.comm	_ERR_NO_ERROR,4,2               ; @ERR_NO_ERROR
	.comm	_ERR_FARM_MEMBER_HUB_ADMIN,4,2  ; @ERR_FARM_MEMBER_HUB_ADMIN
	.comm	_SERVER_TYPE_FARM_MEMBER,8,3    ; @SERVER_TYPE_FARM_MEMBER
.subsections_via_symbols
