	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_StDeleteGroup                  ## -- Begin function StDeleteGroup
	.p2align	4, 0x90
_StDeleteGroup:                         ## @StDeleteGroup
	.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, %r15
	movq	8(%rdi), %r14
	movq	8(%r14), %r13
	movq	_ERR_NO_ERROR@GOTPCREL(%rip), %rax
	movq	(%rax), %r12
	movl	(%rsi), %edi
	callq	_IsEmptyStr
	testq	%rax, %rax
	je	LBB0_4
LBB0_1:
	movq	_ERR_INVALID_PARAMETER@GOTPCREL(%rip), %rax
LBB0_2:
	movq	(%rax), %r12
LBB0_3:
	movq	%r12, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movl	(%rbx), %edi
	callq	_IsSafeStr
	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_14
## %bb.8:
	cmpl	$0, (%r15)
	je	LBB0_15
LBB0_9:
	movq	%r13, %rdi
	callq	_AcLock
	movl	(%rbx), %esi
	movq	%r13, %rdi
	callq	_AcDeleteGroup
	testl	%eax, %eax
	jne	LBB0_11
## %bb.10:
	movq	_ERR_OBJECT_NOT_FOUND@GOTPCREL(%rip), %rax
	movq	(%rax), %r12
LBB0_11:
	movq	%r13, %rdi
	callq	_AcUnlock
	movq	_ERR_NO_ERROR@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r12
	jne	LBB0_13
## %bb.12:
	movl	(%rbx), %ecx
	leaq	L_.str.1(%rip), %rdx
	movq	%r15, %rdi
	movq	%r13, %rsi
	callq	_ALog
LBB0_13:
	movq	%r13, %rdi
	callq	_ReleaseHub
	movq	%r14, %rdi
	callq	_IncrementServerConfigRevision
	jmp	LBB0_3
LBB0_14:
	movq	_ERR_HUB_NOT_FOUND@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_15:
	leaq	L_.str(%rip), %rsi
	movq	%r13, %rdi
	callq	_GetHubAdminOption
	testq	%rax, %rax
	je	LBB0_9
## %bb.16:
	movq	%r13, %rdi
	callq	_ReleaseHub
	movq	_ERR_NOT_ENOUGH_RIGHT@GOTPCREL(%rip), %rax
	jmp	LBB0_2
	.cfi_endproc
                                        ## -- End function
	.comm	_ERR_NO_ERROR,8,3               ## @ERR_NO_ERROR
	.comm	_ERR_INVALID_PARAMETER,8,3      ## @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,8,3          ## @ERR_NOT_SUPPORTED
	.comm	_ERR_HUB_NOT_FOUND,8,3          ## @ERR_HUB_NOT_FOUND
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"no_change_groups"

	.comm	_ERR_NOT_ENOUGH_RIGHT,8,3       ## @ERR_NOT_ENOUGH_RIGHT
	.comm	_ERR_OBJECT_NOT_FOUND,8,3       ## @ERR_OBJECT_NOT_FOUND
L_.str.1:                               ## @.str.1
	.asciz	"LA_DELETE_GROUP"

.subsections_via_symbols

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

	.comm	_ERR_NOT_ENOUGH_RIGHT,8,3       ; @ERR_NOT_ENOUGH_RIGHT
	.comm	_ERR_OBJECT_NOT_FOUND,8,3       ; @ERR_OBJECT_NOT_FOUND
l_.str.1:                               ; @.str.1
	.asciz	"LA_DELETE_GROUP"

.subsections_via_symbols
