	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hns_roce_v2_cleanup_eq_table
_hns_roce_v2_cleanup_eq_table:          ## @hns_roce_v2_cleanup_eq_table
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movl	8(%rdi), %ebx
	movq	_EQ_DISABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	4(%rdi), %r15d
	leal	(%rbx,%r15), %esi
	callq	_hns_roce_v2_int_mask_enable
	movq	%r14, %rdi
	callq	___hns_roce_free_irq
	addl	%r15d, %ebx
	jle	LBB0_3
## %bb.1:
	movl	%ebx, %r15d
	xorl	%r12d, %r12d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_hns_roce_v2_destroy_eqc
	movq	16(%r14), %rsi
	addq	%r12, %rsi
	movq	%r14, %rdi
	callq	_hns_roce_v2_free_eq
	incq	%rbx
	addq	$4, %r12
	cmpq	%rbx, %r15
	jne	LBB0_2
LBB0_3:
	movq	16(%r14), %rdi
	callq	_kfree
	movl	(%r14), %edi
	callq	_flush_workqueue
	movl	(%r14), %edi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_destroy_workqueue              ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_EQ_DISABLE,4,2                 ## @EQ_DISABLE
	.no_dead_strip	_hns_roce_v2_cleanup_eq_table
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hns_roce_v2_cleanup_eq_table
_hns_roce_v2_cleanup_eq_table:          ; @hns_roce_v2_cleanup_eq_table
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x0
	ldp	w8, w9, [x0, #4]
	add	w20, w9, w8
Lloh0:
	adrp	x8, _EQ_DISABLE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EQ_DISABLE@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x1, x20
	bl	_hns_roce_v2_int_mask_enable
	mov	x0, x19
	bl	___hns_roce_free_irq
	cmp	w20, #1
	b.lt	LBB0_3
; %bb.1:
	mov	x22, #0
	mov	x21, #0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	mov	x1, x21
	bl	_hns_roce_v2_destroy_eqc
	ldr	x8, [x19, #16]
	add	x1, x8, x22
	mov	x0, x19
	bl	_hns_roce_v2_free_eq
	add	x21, x21, #1
	add	x22, x22, #4
	cmp	x20, x21
	b.ne	LBB0_2
LBB0_3:
	ldr	x0, [x19, #16]
	bl	_kfree
	ldr	w0, [x19]
	bl	_flush_workqueue
	ldr	w0, [x19]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_destroy_workqueue
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_EQ_DISABLE,4,2                 ; @EQ_DISABLE
	.no_dead_strip	_hns_roce_v2_cleanup_eq_table
.subsections_via_symbols
