	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ucc_geth_memclean
_ucc_geth_memclean:                     ## @ucc_geth_memclean
	.cfi_startproc
## %bb.0:
	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
	testq	%rdi, %rdi
	je	LBB0_34
## %bb.1:
	movq	%rdi, %r14
	movq	208(%rdi), %rdi
	testq	%rdi, %rdi
	je	LBB0_3
## %bb.2:
	callq	_ucc_fast_free
	movq	$0, 208(%r14)
LBB0_3:
	cmpq	$0, 192(%r14)
	je	LBB0_5
## %bb.4:
	movl	200(%r14), %edi
	callq	_qe_muram_free
	movq	$0, 192(%r14)
LBB0_5:
	cmpq	$0, 176(%r14)
	je	LBB0_7
## %bb.6:
	movl	184(%r14), %edi
	callq	_qe_muram_free
	movq	$0, 176(%r14)
LBB0_7:
	cmpq	$0, 160(%r14)
	je	LBB0_9
## %bb.8:
	movl	168(%r14), %edi
	callq	_qe_muram_free
	movq	$0, 160(%r14)
LBB0_9:
	cmpq	$0, 144(%r14)
	je	LBB0_11
## %bb.10:
	movl	152(%r14), %edi
	callq	_qe_muram_free
	movq	$0, 144(%r14)
LBB0_11:
	cmpq	$0, 128(%r14)
	je	LBB0_13
## %bb.12:
	movl	136(%r14), %edi
	callq	_qe_muram_free
	movq	$0, 128(%r14)
LBB0_13:
	cmpq	$0, 112(%r14)
	je	LBB0_15
## %bb.14:
	movl	120(%r14), %edi
	callq	_qe_muram_free
	movq	$0, 112(%r14)
LBB0_15:
	cmpq	$0, 96(%r14)
	je	LBB0_17
## %bb.16:
	movl	104(%r14), %edi
	callq	_qe_muram_free
	movq	$0, 96(%r14)
LBB0_17:
	cmpq	$0, 80(%r14)
	je	LBB0_19
## %bb.18:
	movl	88(%r14), %edi
	callq	_qe_muram_free
	movq	$0, 80(%r14)
LBB0_19:
	cmpq	$0, 64(%r14)
	je	LBB0_21
## %bb.20:
	movl	72(%r14), %edi
	callq	_qe_muram_free
	movq	$0, 64(%r14)
LBB0_21:
	cmpq	$0, 48(%r14)
	je	LBB0_23
## %bb.22:
	movl	56(%r14), %edi
	callq	_qe_muram_free
	movq	$0, 48(%r14)
LBB0_23:
	cmpq	$0, 32(%r14)
	je	LBB0_25
## %bb.24:
	movl	40(%r14), %edi
	callq	_qe_muram_free
	movq	$0, 32(%r14)
LBB0_25:
	movq	16(%r14), %rax
	testq	%rax, %rax
	je	LBB0_27
## %bb.26:
	movq	8(%rax), %rsi
	movq	_ENET_INIT_PARAM_MAX_ENTRIES_RX@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	24(%r14), %rax
	movl	4(%rax), %ecx
	movq	%r14, %rdi
	movl	$1, %r8d
	callq	_return_init_enet_entries
	movq	16(%r14), %rax
	movq	24(%r14), %rcx
	movq	(%rax), %rsi
	movq	_ENET_INIT_PARAM_MAX_ENTRIES_TX@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	(%rcx), %ecx
	movq	%r14, %rdi
	xorl	%r8d, %r8d
	callq	_return_init_enet_entries
	movq	16(%r14), %rdi
	callq	_kfree
	movq	$0, 16(%r14)
LBB0_27:
	movq	%r14, %rdi
	callq	_ucc_geth_free_tx
	movq	%r14, %rdi
	callq	_ucc_geth_free_rx
	leaq	12(%r14), %rbx
	.p2align	4, 0x90
LBB0_28:                                ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	callq	_list_empty
	testl	%eax, %eax
	jne	LBB0_29
## %bb.35:                              ##   in Loop: Header=BB0_28 Depth=1
	movq	%rbx, %rdi
	callq	_dequeue
	movl	%eax, %edi
	callq	_ENET_ADDR_CONT_ENTRY
	movl	%eax, %edi
	callq	_put_enet_addr_container
	jmp	LBB0_28
LBB0_29:
	leaq	8(%r14), %rbx
	.p2align	4, 0x90
LBB0_31:                                ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	callq	_list_empty
	testl	%eax, %eax
	jne	LBB0_32
## %bb.30:                              ##   in Loop: Header=BB0_31 Depth=1
	movq	%rbx, %rdi
	callq	_dequeue
	movl	%eax, %edi
	callq	_ENET_ADDR_CONT_ENTRY
	movl	%eax, %edi
	callq	_put_enet_addr_container
	jmp	LBB0_31
LBB0_32:
	movq	(%r14), %rdi
	testq	%rdi, %rdi
	je	LBB0_34
## %bb.33:
	callq	_iounmap
	movq	$0, (%r14)
LBB0_34:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENET_INIT_PARAM_MAX_ENTRIES_RX,4,2 ## @ENET_INIT_PARAM_MAX_ENTRIES_RX
	.comm	_ENET_INIT_PARAM_MAX_ENTRIES_TX,4,2 ## @ENET_INIT_PARAM_MAX_ENTRIES_TX
	.no_dead_strip	_ucc_geth_memclean
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ucc_geth_memclean
_ucc_geth_memclean:                     ; @ucc_geth_memclean
	.cfi_startproc
; %bb.0:
	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
	cbz	x0, LBB0_35
; %bb.1:
	mov	x19, x0
	ldr	x0, [x0, #208]
	cbz	x0, LBB0_3
; %bb.2:
	bl	_ucc_fast_free
	str	xzr, [x19, #208]
LBB0_3:
	ldr	x8, [x19, #192]
	cbz	x8, LBB0_5
; %bb.4:
	ldr	w0, [x19, #200]
	bl	_qe_muram_free
	str	xzr, [x19, #192]
LBB0_5:
	ldr	x8, [x19, #176]
	cbz	x8, LBB0_7
; %bb.6:
	ldr	w0, [x19, #184]
	bl	_qe_muram_free
	str	xzr, [x19, #176]
LBB0_7:
	ldr	x8, [x19, #160]
	cbz	x8, LBB0_9
; %bb.8:
	ldr	w0, [x19, #168]
	bl	_qe_muram_free
	str	xzr, [x19, #160]
LBB0_9:
	ldr	x8, [x19, #144]
	cbz	x8, LBB0_11
; %bb.10:
	ldr	w0, [x19, #152]
	bl	_qe_muram_free
	str	xzr, [x19, #144]
LBB0_11:
	ldr	x8, [x19, #128]
	cbz	x8, LBB0_13
; %bb.12:
	ldr	w0, [x19, #136]
	bl	_qe_muram_free
	str	xzr, [x19, #128]
LBB0_13:
	ldr	x8, [x19, #112]
	cbz	x8, LBB0_15
; %bb.14:
	ldr	w0, [x19, #120]
	bl	_qe_muram_free
	str	xzr, [x19, #112]
LBB0_15:
	ldr	x8, [x19, #96]
	cbz	x8, LBB0_17
; %bb.16:
	ldr	w0, [x19, #104]
	bl	_qe_muram_free
	str	xzr, [x19, #96]
LBB0_17:
	ldr	x8, [x19, #80]
	cbz	x8, LBB0_19
; %bb.18:
	ldr	w0, [x19, #88]
	bl	_qe_muram_free
	str	xzr, [x19, #80]
LBB0_19:
	ldr	x8, [x19, #64]
	cbz	x8, LBB0_21
; %bb.20:
	ldr	w0, [x19, #72]
	bl	_qe_muram_free
	str	xzr, [x19, #64]
LBB0_21:
	ldr	x8, [x19, #48]
	cbz	x8, LBB0_23
; %bb.22:
	ldr	w0, [x19, #56]
	bl	_qe_muram_free
	str	xzr, [x19, #48]
LBB0_23:
	ldr	x8, [x19, #32]
	cbz	x8, LBB0_25
; %bb.24:
	ldr	w0, [x19, #40]
	bl	_qe_muram_free
	str	xzr, [x19, #32]
LBB0_25:
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_27
; %bb.26:
	ldr	x1, [x8, #8]
Lloh0:
	adrp	x8, _ENET_INIT_PARAM_MAX_ENTRIES_RX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ENET_INIT_PARAM_MAX_ENTRIES_RX@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	ldr	x8, [x19, #24]
	ldr	w3, [x8, #4]
	mov	x0, x19
	mov	w4, #1
	bl	_return_init_enet_entries
	ldp	x8, x9, [x19, #16]
	ldr	x1, [x8]
Lloh3:
	adrp	x8, _ENET_INIT_PARAM_MAX_ENTRIES_TX@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ENET_INIT_PARAM_MAX_ENTRIES_TX@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	ldr	w3, [x9]
	mov	x0, x19
	mov	w4, #0
	bl	_return_init_enet_entries
	ldr	x0, [x19, #16]
	bl	_kfree
	str	xzr, [x19, #16]
LBB0_27:
	mov	x0, x19
	bl	_ucc_geth_free_tx
	mov	x0, x19
	bl	_ucc_geth_free_rx
	add	x20, x19, #12
LBB0_28:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	bl	_list_empty
	cbnz	w0, LBB0_30
; %bb.29:                               ;   in Loop: Header=BB0_28 Depth=1
	mov	x0, x20
	bl	_dequeue
	bl	_ENET_ADDR_CONT_ENTRY
	bl	_put_enet_addr_container
	b	LBB0_28
LBB0_30:
	add	x20, x19, #8
LBB0_31:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	bl	_list_empty
	cbnz	w0, LBB0_33
; %bb.32:                               ;   in Loop: Header=BB0_31 Depth=1
	mov	x0, x20
	bl	_dequeue
	bl	_ENET_ADDR_CONT_ENTRY
	bl	_put_enet_addr_container
	b	LBB0_31
LBB0_33:
	ldr	x0, [x19]
	cbz	x0, LBB0_35
; %bb.34:
	bl	_iounmap
	str	xzr, [x19]
LBB0_35:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ENET_INIT_PARAM_MAX_ENTRIES_RX,4,2 ; @ENET_INIT_PARAM_MAX_ENTRIES_RX
	.comm	_ENET_INIT_PARAM_MAX_ENTRIES_TX,4,2 ; @ENET_INIT_PARAM_MAX_ENTRIES_TX
	.no_dead_strip	_ucc_geth_memclean
.subsections_via_symbols
