	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CleanupEtherIPServer           ## -- Begin function CleanupEtherIPServer
	.p2align	4, 0x90
_CleanupEtherIPServer:                  ## @CleanupEtherIPServer
	.cfi_startproc
## %bb.0:
	testq	%rdi, %rdi
	je	LBB0_9
## %bb.1:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	leaq	L_.str(%rip), %rsi
	callq	_EtherIPLog
	movq	24(%r14), %rdi
	testq	%rdi, %rdi
	je	LBB0_3
## %bb.2:
	callq	_ReleaseThread
LBB0_3:
	movq	16(%r14), %rdi
	testq	%rdi, %rdi
	je	LBB0_5
## %bb.4:
	callq	_FreeIPC
LBB0_5:
	movl	12(%r14), %edi
	callq	_LIST_NUM
	testq	%rax, %rax
	jle	LBB0_8
## %bb.6:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movl	12(%r14), %edi
	movq	%rbx, %rsi
	callq	_LIST_DATA
	movq	%rax, %rdi
	callq	_FreeBlock
	incq	%rbx
	movl	12(%r14), %edi
	callq	_LIST_NUM
	cmpq	%rax, %rbx
	jl	LBB0_7
LBB0_8:
	movl	12(%r14), %edi
	callq	_ReleaseList
	movl	8(%r14), %edi
	callq	_ReleaseSockEvent
	movl	4(%r14), %edi
	callq	_ReleaseCedar
	movl	(%r14), %edi
	callq	_DeleteLock
	movq	%r14, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_Free                           ## TAILCALL
LBB0_9:
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"LE_STOP"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CleanupEtherIPServer           ; -- Begin function CleanupEtherIPServer
	.p2align	2
_CleanupEtherIPServer:                  ; @CleanupEtherIPServer
	.cfi_startproc
; %bb.0:
	cbz	x0, LBB0_9
; %bb.1:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_EtherIPLog
	ldr	x0, [x19, #24]
	cbz	x0, LBB0_3
; %bb.2:
	bl	_ReleaseThread
LBB0_3:
	ldr	x0, [x19, #16]
	cbz	x0, LBB0_5
; %bb.4:
	bl	_FreeIPC
LBB0_5:
	ldr	w0, [x19, #12]
	bl	_LIST_NUM
	cmp	x0, #1
	b.lt	LBB0_8
; %bb.6:
	mov	x20, #0
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x19, #12]
	mov	x1, x20
	bl	_LIST_DATA
	bl	_FreeBlock
	add	x20, x20, #1
	ldr	w0, [x19, #12]
	bl	_LIST_NUM
	cmp	x20, x0
	b.lt	LBB0_7
LBB0_8:
	ldr	w0, [x19, #12]
	bl	_ReleaseList
	ldr	w0, [x19, #8]
	bl	_ReleaseSockEvent
	ldr	w0, [x19, #4]
	bl	_ReleaseCedar
	ldr	w0, [x19]
	bl	_DeleteLock
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_Free
LBB0_9:
	.cfi_def_cfa wsp, 0
	.cfi_same_value w30
	.cfi_same_value w29
	.cfi_same_value w19
	.cfi_same_value w20
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"LE_STOP"

.subsections_via_symbols
