	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_StDeleteCa                     ## -- Begin function StDeleteCa
	.p2align	4, 0x90
_StDeleteCa:                            ## @StDeleteCa
	.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	8(%rdi), %rbx
	movq	(%rbx), %rax
	movq	_SERVER_TYPE_FARM_MEMBER@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	movq	_ERR_NOT_FARM_CONTROLLER@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	jmp	LBB0_11
LBB0_2:
	movq	%rsi, %r13
	movq	%rdi, %r12
	movq	_ERR_NO_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	8(%rbx), %r14
	movq	%r14, %rdi
	callq	_LockHubList
	movl	4(%r13), %esi
	movq	%r14, %rdi
	callq	_GetHub
	movq	%rax, %r15
	movq	%r14, %rdi
	callq	_UnlockHubList
	testq	%r15, %r15
	je	LBB0_3
## %bb.4:
	cmpl	$0, (%r12)
	je	LBB0_5
LBB0_7:
	movq	(%r15), %rax
	movl	(%rax), %edi
	callq	_LockList
	movq	(%r15), %rax
	movl	(%rax), %edi
	movl	(%r13), %esi
	callq	_IsInListKey
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:
	movq	(%r15), %rax
	movl	(%rax), %edi
	movl	(%r13), %esi
	callq	_ListKeyToPointer
	movq	%rax, %r14
	movq	(%r15), %rax
	movl	(%rax), %edi
	movq	%r14, %rsi
	callq	_Delete
	movq	%r14, %rdi
	callq	_FreeX
	leaq	L_.str.1(%rip), %rdx
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_ALog
	movq	%rbx, %rdi
	callq	_IncrementServerConfigRevision
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	jmp	LBB0_10
LBB0_3:
	movq	_ERR_HUB_NOT_FOUND@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	jmp	LBB0_11
LBB0_5:
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	callq	_GetHubAdminOption
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	movq	%r15, %rdi
	callq	_ReleaseHub
	movq	_ERR_NOT_ENOUGH_RIGHT@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	jmp	LBB0_11
LBB0_9:
	movq	_ERR_OBJECT_NOT_FOUND@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
LBB0_10:
	movq	(%r15), %rax
	movl	(%rax), %edi
	callq	_UnlockList
	movq	%r15, %rdi
	callq	_ReleaseHub
LBB0_11:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ERR_NO_ERROR,4,2               ## @ERR_NO_ERROR
	.comm	_SERVER_TYPE_FARM_MEMBER,8,3    ## @SERVER_TYPE_FARM_MEMBER
	.comm	_ERR_NOT_FARM_CONTROLLER,4,2    ## @ERR_NOT_FARM_CONTROLLER
	.comm	_NO_SUPPORT_FOR_BRIDGE,4,2      ## @NO_SUPPORT_FOR_BRIDGE
	.comm	_CHECK_RIGHT,4,2                ## @CHECK_RIGHT
	.comm	_ERR_HUB_NOT_FOUND,4,2          ## @ERR_HUB_NOT_FOUND
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"no_change_cert_list"

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

	.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	_StDeleteCa                     ; -- Begin function StDeleteCa
	.p2align	2
_StDeleteCa:                            ; @StDeleteCa
	.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
	ldr	x20, [x0, #8]
	ldr	x8, [x20]
Lloh0:
	adrp	x9, _SERVER_TYPE_FARM_MEMBER@GOTPAGE
Lloh1:
	ldr	x9, [x9, _SERVER_TYPE_FARM_MEMBER@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _ERR_NOT_FARM_CONTROLLER@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ERR_NOT_FARM_CONTROLLER@GOTPAGEOFF]
Lloh5:
	ldr	w19, [x8]
	b	LBB0_11
LBB0_2:
	mov	x23, x1
	mov	x22, x0
Lloh6:
	adrp	x8, _ERR_NO_ERROR@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ERR_NO_ERROR@GOTPAGEOFF]
Lloh8:
	ldr	w19, [x8]
	ldr	x24, [x20, #8]
	mov	x0, x24
	bl	_LockHubList
	ldr	w1, [x23, #4]
	mov	x0, x24
	bl	_GetHub
	mov	x21, x0
	mov	x0, x24
	bl	_UnlockHubList
	cbz	x21, LBB0_6
; %bb.3:
	ldr	w8, [x22]
	cbz	w8, LBB0_7
LBB0_4:
	ldr	x8, [x21]
	ldr	w0, [x8]
	bl	_LockList
	ldr	x8, [x21]
	ldr	w0, [x8]
	ldr	w1, [x23]
	bl	_IsInListKey
	cbz	x0, LBB0_9
; %bb.5:
	ldr	x8, [x21]
	ldr	w0, [x8]
	ldr	w1, [x23]
	bl	_ListKeyToPointer
	mov	x23, x0
	ldr	x8, [x21]
	ldr	w0, [x8]
	mov	x1, x23
	bl	_Delete
	mov	x0, x23
	bl	_FreeX
Lloh9:
	adrp	x2, l_.str.1@PAGE
Lloh10:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x22
	mov	x1, x21
	bl	_ALog
	mov	x0, x20
	bl	_IncrementServerConfigRevision
	b	LBB0_10
LBB0_6:
Lloh11:
	adrp	x8, _ERR_HUB_NOT_FOUND@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ERR_HUB_NOT_FOUND@GOTPAGEOFF]
Lloh13:
	ldr	w19, [x8]
	b	LBB0_11
LBB0_7:
Lloh14:
	adrp	x1, l_.str@PAGE
Lloh15:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x21
	bl	_GetHubAdminOption
	cbz	x0, LBB0_4
; %bb.8:
	mov	x0, x21
	bl	_ReleaseHub
Lloh16:
	adrp	x8, _ERR_NOT_ENOUGH_RIGHT@GOTPAGE
Lloh17:
	ldr	x8, [x8, _ERR_NOT_ENOUGH_RIGHT@GOTPAGEOFF]
Lloh18:
	ldr	w19, [x8]
	b	LBB0_11
LBB0_9:
Lloh19:
	adrp	x8, _ERR_OBJECT_NOT_FOUND@GOTPAGE
Lloh20:
	ldr	x8, [x8, _ERR_OBJECT_NOT_FOUND@GOTPAGEOFF]
Lloh21:
	ldr	w19, [x8]
LBB0_10:
	ldr	x8, [x21]
	ldr	w0, [x8]
	bl	_UnlockList
	mov	x0, x21
	bl	_ReleaseHub
LBB0_11:
	mov	x0, x19
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_ERR_NO_ERROR,4,2               ; @ERR_NO_ERROR
	.comm	_SERVER_TYPE_FARM_MEMBER,8,3    ; @SERVER_TYPE_FARM_MEMBER
	.comm	_ERR_NOT_FARM_CONTROLLER,4,2    ; @ERR_NOT_FARM_CONTROLLER
	.comm	_NO_SUPPORT_FOR_BRIDGE,4,2      ; @NO_SUPPORT_FOR_BRIDGE
	.comm	_CHECK_RIGHT,4,2                ; @CHECK_RIGHT
	.comm	_ERR_HUB_NOT_FOUND,4,2          ; @ERR_HUB_NOT_FOUND
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"no_change_cert_list"

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

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