	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_StDeleteMacTable               ## -- Begin function StDeleteMacTable
	.p2align	4, 0x90
_StDeleteMacTable:                      ## @StDeleteMacTable
	.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, %r12
	movq	%rdi, %rbx
	movq	8(%rdi), %r13
	movq	16(%r13), %r14
	movq	_ERR_NO_ERROR@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	%r14, %rdi
	callq	_LockHubList
	movl	4(%r12), %esi
	movq	%r14, %rdi
	callq	_GetHub
	movq	%rax, %r15
	movq	%r14, %rdi
	callq	_UnlockHubList
	testq	%r15, %r15
	je	LBB0_1
## %bb.2:
	cmpl	$0, (%rbx)
	je	LBB0_3
LBB0_5:
	movl	(%r15), %edi
	callq	_LockHashList
	movl	(%r15), %edi
	movl	(%r12), %esi
	callq	_IsInHashListKey
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	movl	(%r15), %edi
	movl	(%r12), %esi
	callq	_HashListKeyToPointer
	movq	%rax, %rbx
	movl	(%r15), %edi
	movq	%rax, %rsi
	callq	_DeleteHash
	movq	%rbx, %rdi
	callq	_Free
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	jmp	LBB0_8
LBB0_1:
	movq	_ERR_HUB_NOT_FOUND@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
	jmp	LBB0_17
LBB0_3:
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	callq	_GetHubAdminOption
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	%r15, %rdi
	callq	_ReleaseHub
	movq	_ERR_NOT_ENOUGH_RIGHT@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
	jmp	LBB0_17
LBB0_7:
	movq	_ERR_OBJECT_NOT_FOUND@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
LBB0_8:
	movl	(%r15), %edi
	callq	_UnlockHashList
	movq	_ERR_OBJECT_NOT_FOUND@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r14
	jne	LBB0_16
## %bb.9:
	movq	(%r13), %rax
	movq	_SERVER_TYPE_FARM_CONTROLLER@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_16
## %bb.10:
	movl	8(%r13), %edi
	callq	_LockList
	movl	8(%r13), %edi
	callq	_LIST_NUM
	testq	%rax, %rax
	jle	LBB0_15
## %bb.11:
	xorl	%ebx, %ebx
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_12 Depth=1
	incq	%rbx
	movl	8(%r13), %edi
	callq	_LIST_NUM
	cmpq	%rax, %rbx
	jge	LBB0_15
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movl	8(%r13), %edi
	movq	%rbx, %rsi
	callq	_LIST_DATA
	cmpl	$0, (%rax)
	jne	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_12 Depth=1
	movl	(%r12), %ecx
	movl	4(%r12), %edx
	movq	%r13, %rdi
	movq	%rax, %rsi
	callq	_SiCallDeleteMacTable
	movq	_ERR_NO_ERROR@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
	jmp	LBB0_14
LBB0_15:
	movl	8(%r13), %edi
	callq	_UnlockList
LBB0_16:
	movq	%r15, %rdi
	callq	_ReleaseHub
LBB0_17:
	movq	%r14, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ERR_NO_ERROR,8,3               ## @ERR_NO_ERROR
	.comm	_CHECK_RIGHT,4,2                ## @CHECK_RIGHT
	.comm	_ERR_HUB_NOT_FOUND,8,3          ## @ERR_HUB_NOT_FOUND
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"no_delete_mactable"

	.comm	_ERR_NOT_ENOUGH_RIGHT,8,3       ## @ERR_NOT_ENOUGH_RIGHT
	.comm	_ERR_OBJECT_NOT_FOUND,8,3       ## @ERR_OBJECT_NOT_FOUND
	.comm	_SERVER_TYPE_FARM_CONTROLLER,8,3 ## @SERVER_TYPE_FARM_CONTROLLER
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_StDeleteMacTable               ; -- Begin function StDeleteMacTable
	.p2align	2
_StDeleteMacTable:                      ; @StDeleteMacTable
	.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	x22, x1
	mov	x23, x0
	ldr	x21, [x0, #8]
	ldr	x24, [x21, #16]
Lloh0:
	adrp	x25, _ERR_NO_ERROR@GOTPAGE
Lloh1:
	ldr	x25, [x25, _ERR_NO_ERROR@GOTPAGEOFF]
	ldr	x19, [x25]
	mov	x0, x24
	bl	_LockHubList
	ldr	w1, [x22, #4]
	mov	x0, x24
	bl	_GetHub
	mov	x20, x0
	mov	x0, x24
	bl	_UnlockHubList
	cbz	x20, LBB0_4
; %bb.1:
	ldr	w8, [x23]
	cbz	w8, LBB0_5
LBB0_2:
	ldr	w0, [x20]
	bl	_LockHashList
	ldr	w0, [x20]
	ldr	w1, [x22]
	bl	_IsInHashListKey
Lloh2:
	adrp	x24, _ERR_OBJECT_NOT_FOUND@GOTPAGE
Lloh3:
	ldr	x24, [x24, _ERR_OBJECT_NOT_FOUND@GOTPAGEOFF]
	cbz	x0, LBB0_7
; %bb.3:
	ldr	w0, [x20]
	ldr	w1, [x22]
	bl	_HashListKeyToPointer
	mov	x23, x0
	ldr	w0, [x20]
	mov	x1, x23
	bl	_DeleteHash
	mov	x0, x23
	bl	_Free
	b	LBB0_8
LBB0_4:
Lloh4:
	adrp	x8, _ERR_HUB_NOT_FOUND@GOTPAGE
Lloh5:
	ldr	x8, [x8, _ERR_HUB_NOT_FOUND@GOTPAGEOFF]
Lloh6:
	ldr	x19, [x8]
	b	LBB0_17
LBB0_5:
Lloh7:
	adrp	x1, l_.str@PAGE
Lloh8:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_GetHubAdminOption
	cbz	x0, LBB0_2
; %bb.6:
	mov	x0, x20
	bl	_ReleaseHub
Lloh9:
	adrp	x8, _ERR_NOT_ENOUGH_RIGHT@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ERR_NOT_ENOUGH_RIGHT@GOTPAGEOFF]
Lloh11:
	ldr	x19, [x8]
	b	LBB0_17
LBB0_7:
	ldr	x19, [x24]
LBB0_8:
	ldr	w0, [x20]
	bl	_UnlockHashList
	ldr	x8, [x24]
	cmp	x19, x8
	b.ne	LBB0_16
; %bb.9:
	ldr	x8, [x21]
Lloh12:
	adrp	x9, _SERVER_TYPE_FARM_CONTROLLER@GOTPAGE
Lloh13:
	ldr	x9, [x9, _SERVER_TYPE_FARM_CONTROLLER@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_16
; %bb.10:
	ldr	w0, [x21, #8]
	bl	_LockList
	ldr	w0, [x21, #8]
	bl	_LIST_NUM
	cmp	x0, #1
	b.lt	LBB0_15
; %bb.11:
	mov	x23, #0
	b	LBB0_13
LBB0_12:                                ;   in Loop: Header=BB0_13 Depth=1
	add	x23, x23, #1
	ldr	w0, [x21, #8]
	bl	_LIST_NUM
	cmp	x23, x0
	b.ge	LBB0_15
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x21, #8]
	mov	x1, x23
	bl	_LIST_DATA
	ldr	w8, [x0]
	cbnz	w8, LBB0_12
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=1
	mov	x1, x0
	ldp	w3, w2, [x22]
	mov	x0, x21
	bl	_SiCallDeleteMacTable
	ldr	x19, [x25]
	b	LBB0_12
LBB0_15:
	ldr	w0, [x21, #8]
	bl	_UnlockList
LBB0_16:
	mov	x0, x20
	bl	_ReleaseHub
LBB0_17:
	mov	x0, x19
	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
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_ERR_NO_ERROR,8,3               ; @ERR_NO_ERROR
	.comm	_CHECK_RIGHT,4,2                ; @CHECK_RIGHT
	.comm	_ERR_HUB_NOT_FOUND,8,3          ; @ERR_HUB_NOT_FOUND
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"no_delete_mactable"

	.comm	_ERR_NOT_ENOUGH_RIGHT,8,3       ; @ERR_NOT_ENOUGH_RIGHT
	.comm	_ERR_OBJECT_NOT_FOUND,8,3       ; @ERR_OBJECT_NOT_FOUND
	.comm	_SERVER_TYPE_FARM_CONTROLLER,8,3 ; @SERVER_TYPE_FARM_CONTROLLER
.subsections_via_symbols
