	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_StDeleteUser                   ## -- Begin function StDeleteUser
	.p2align	4, 0x90
_StDeleteUser:                          ## @StDeleteUser
	.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
	movq	%rsi, %rbx
	movq	%rdi, %r12
	movq	8(%rdi), %r14
	movq	8(%r14), %r13
	movq	_ERR_NO_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movl	(%rsi), %edi
	callq	_IsEmptyStr
	testq	%rax, %rax
	je	LBB0_4
LBB0_1:
	movq	_ERR_INVALID_PARAMETER@GOTPCREL(%rip), %rax
LBB0_2:
	movl	(%rax), %r15d
LBB0_3:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movl	(%rbx), %edi
	callq	_IsUserName
	testl	%eax, %eax
	je	LBB0_1
## %bb.5:
	movq	(%r14), %rax
	movq	_SERVER_TYPE_FARM_MEMBER@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_7
## %bb.6:
	movq	_ERR_NOT_SUPPORTED@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_7:
	movq	%r13, %rdi
	callq	_LockHubList
	movl	4(%rbx), %esi
	movq	%r13, %rdi
	callq	_GetHub
	movq	%r13, %rdi
	movq	%rax, %r13
	callq	_UnlockHubList
	testq	%r13, %r13
	je	LBB0_12
## %bb.8:
	cmpl	$0, (%r12)
	je	LBB0_13
LBB0_9:
	movl	(%rbx), %ecx
	leaq	L_.str.1(%rip), %rdx
	movq	%r12, %rdi
	movq	%r13, %rsi
	callq	_ALog
	movq	%r13, %rdi
	callq	_AcLock
	movl	(%rbx), %esi
	movq	%r13, %rdi
	callq	_AcDeleteUser
	testl	%eax, %eax
	jne	LBB0_11
## %bb.10:
	movq	_ERR_OBJECT_NOT_FOUND@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
LBB0_11:
	movq	%r13, %rdi
	callq	_AcUnlock
	movq	%r13, %rdi
	callq	_ReleaseHub
	movq	%r14, %rdi
	callq	_IncrementServerConfigRevision
	jmp	LBB0_3
LBB0_12:
	movq	_ERR_HUB_NOT_FOUND@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_13:
	leaq	L_.str(%rip), %rsi
	movq	%r13, %rdi
	callq	_GetHubAdminOption
	testq	%rax, %rax
	je	LBB0_9
## %bb.14:
	movq	%r13, %rdi
	callq	_ReleaseHub
	movq	_ERR_NOT_ENOUGH_RIGHT@GOTPCREL(%rip), %rax
	jmp	LBB0_2
	.cfi_endproc
                                        ## -- End function
	.comm	_ERR_NO_ERROR,4,2               ## @ERR_NO_ERROR
	.comm	_ERR_INVALID_PARAMETER,4,2      ## @ERR_INVALID_PARAMETER
	.comm	_CHECK_RIGHT,4,2                ## @CHECK_RIGHT
	.comm	_NO_SUPPORT_FOR_BRIDGE,4,2      ## @NO_SUPPORT_FOR_BRIDGE
	.comm	_SERVER_TYPE_FARM_MEMBER,8,3    ## @SERVER_TYPE_FARM_MEMBER
	.comm	_ERR_NOT_SUPPORTED,4,2          ## @ERR_NOT_SUPPORTED
	.comm	_ERR_HUB_NOT_FOUND,4,2          ## @ERR_HUB_NOT_FOUND
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"no_change_users"

	.comm	_ERR_NOT_ENOUGH_RIGHT,4,2       ## @ERR_NOT_ENOUGH_RIGHT
L_.str.1:                               ## @.str.1
	.asciz	"LA_DELETE_USER"

	.comm	_ERR_OBJECT_NOT_FOUND,4,2       ## @ERR_OBJECT_NOT_FOUND
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_StDeleteUser                   ; -- Begin function StDeleteUser
	.p2align	2
_StDeleteUser:                          ; @StDeleteUser
	.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
	mov	x20, x1
	mov	x21, x0
	ldr	x19, [x0, #8]
	ldr	x23, [x19, #8]
Lloh0:
	adrp	x8, _ERR_NO_ERROR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ERR_NO_ERROR@GOTPAGEOFF]
Lloh2:
	ldr	w24, [x8]
	ldr	w0, [x1]
	bl	_IsEmptyStr
	cbz	x0, LBB0_4
LBB0_1:
Lloh3:
	adrp	x8, _ERR_INVALID_PARAMETER@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ERR_INVALID_PARAMETER@GOTPAGEOFF]
LBB0_2:
	ldr	w20, [x8]
LBB0_3:
	mov	x0, x20
	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]
	bl	_IsUserName
	cbz	w0, LBB0_1
; %bb.5:
	ldr	x8, [x19]
Lloh5:
	adrp	x9, _SERVER_TYPE_FARM_MEMBER@GOTPAGE
Lloh6:
	ldr	x9, [x9, _SERVER_TYPE_FARM_MEMBER@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_7
; %bb.6:
Lloh8:
	adrp	x8, _ERR_NOT_SUPPORTED@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ERR_NOT_SUPPORTED@GOTPAGEOFF]
	b	LBB0_2
LBB0_7:
	mov	x0, x23
	bl	_LockHubList
	ldr	w1, [x20, #4]
	mov	x0, x23
	bl	_GetHub
	mov	x22, x0
	mov	x0, x23
	bl	_UnlockHubList
	cbz	x22, LBB0_10
; %bb.8:
	ldr	w8, [x21]
	cbz	w8, LBB0_11
LBB0_9:
	ldr	w3, [x20]
Lloh10:
	adrp	x2, l_.str.1@PAGE
Lloh11:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x21
	mov	x1, x22
	bl	_ALog
	mov	x0, x22
	bl	_AcLock
	ldr	w1, [x20]
	mov	x0, x22
	bl	_AcDeleteUser
Lloh12:
	adrp	x8, _ERR_OBJECT_NOT_FOUND@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ERR_OBJECT_NOT_FOUND@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	cmp	w0, #0
	csel	w20, w8, w24, eq
	mov	x0, x22
	bl	_AcUnlock
	mov	x0, x22
	bl	_ReleaseHub
	mov	x0, x19
	bl	_IncrementServerConfigRevision
	b	LBB0_3
LBB0_10:
Lloh15:
	adrp	x8, _ERR_HUB_NOT_FOUND@GOTPAGE
Lloh16:
	ldr	x8, [x8, _ERR_HUB_NOT_FOUND@GOTPAGEOFF]
	b	LBB0_2
LBB0_11:
Lloh17:
	adrp	x1, l_.str@PAGE
Lloh18:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x22
	bl	_GetHubAdminOption
	cbz	x0, LBB0_9
; %bb.12:
	mov	x0, x22
	bl	_ReleaseHub
Lloh19:
	adrp	x8, _ERR_NOT_ENOUGH_RIGHT@GOTPAGE
Lloh20:
	ldr	x8, [x8, _ERR_NOT_ENOUGH_RIGHT@GOTPAGEOFF]
	b	LBB0_2
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_ERR_NO_ERROR,4,2               ; @ERR_NO_ERROR
	.comm	_ERR_INVALID_PARAMETER,4,2      ; @ERR_INVALID_PARAMETER
	.comm	_CHECK_RIGHT,4,2                ; @CHECK_RIGHT
	.comm	_NO_SUPPORT_FOR_BRIDGE,4,2      ; @NO_SUPPORT_FOR_BRIDGE
	.comm	_SERVER_TYPE_FARM_MEMBER,8,3    ; @SERVER_TYPE_FARM_MEMBER
	.comm	_ERR_NOT_SUPPORTED,4,2          ; @ERR_NOT_SUPPORTED
	.comm	_ERR_HUB_NOT_FOUND,4,2          ; @ERR_HUB_NOT_FOUND
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"no_change_users"

	.comm	_ERR_NOT_ENOUGH_RIGHT,4,2       ; @ERR_NOT_ENOUGH_RIGHT
l_.str.1:                               ; @.str.1
	.asciz	"LA_DELETE_USER"

	.comm	_ERR_OBJECT_NOT_FOUND,4,2       ; @ERR_OBJECT_NOT_FOUND
.subsections_via_symbols
