	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hns_roce_v1_cleanup_eq_table
_hns_roce_v1_cleanup_eq_table:          ## @hns_roce_v1_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	%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	%rdi, %r14
	movl	12(%rdi), %eax
	movl	16(%rdi), %ecx
	movl	%ecx, -48(%rbp)                 ## 4-byte Spill
	addl	8(%rdi), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	testl	%eax, %eax
	jle	LBB0_3
## %bb.1:
	movl	-44(%rbp), %r13d                ## 4-byte Reload
	xorl	%ebx, %ebx
	movq	_EQ_DISABLE@GOTPCREL(%rip), %r12
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r12), %edx
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_hns_roce_v1_enable_eq
	movq	(%r14), %rax
	movl	(%rax,%rbx,4), %edi
	leaq	(,%rbx,8), %rax
	leaq	(%rax,%rax,4), %r15
	movq	24(%r14), %rsi
	addq	%r15, %rsi
	callq	_free_irq
	addq	24(%r14), %r15
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_hns_roce_v1_free_eq
	incq	%rbx
	cmpq	%r13, %rbx
	jne	LBB0_2
LBB0_3:
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	testl	%ecx, %ecx
	jle	LBB0_6
## %bb.4:
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	addl	%eax, %ecx
	movslq	%eax, %rbx
	movslq	%ecx, %r15
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r14), %rax
	movl	(%rax,%rbx,4), %edi
	movq	%r14, %rsi
	callq	_free_irq
	incq	%rbx
	cmpq	%r15, %rbx
	jl	LBB0_5
LBB0_6:
	movq	32(%r14), %rdi
	callq	_kfree
	movq	24(%r14), %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_kfree                          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_EQ_DISABLE,4,2                 ## @EQ_DISABLE
	.no_dead_strip	_hns_roce_v1_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_v1_cleanup_eq_table
_hns_roce_v1_cleanup_eq_table:          ; @hns_roce_v1_cleanup_eq_table
	.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
	mov	x19, x0
	ldp	w8, w9, [x0, #8]
	add	w21, w9, w8
	ldr	w22, [x0, #16]
	cmp	w21, #1
	b.lt	LBB0_3
; %bb.1:
	mov	x20, #0
Lloh0:
	adrp	x23, _EQ_DISABLE@GOTPAGE
Lloh1:
	ldr	x23, [x23, _EQ_DISABLE@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w2, [x23]
	mov	x0, x19
	mov	x1, x20
	bl	_hns_roce_v1_enable_eq
	ldr	x8, [x19]
	lsl	x9, x20, #2
	ldr	w0, [x8, x9]
	ldr	x8, [x19, #24]
	add	x9, x9, x20
	lsl	x24, x9, #3
	add	x1, x8, x24
	bl	_free_irq
	ldr	x8, [x19, #24]
	add	x1, x8, x24
	mov	x0, x19
	bl	_hns_roce_v1_free_eq
	add	x20, x20, #1
	cmp	x20, x21
	b.ne	LBB0_2
LBB0_3:
	cmp	w22, #1
	b.lt	LBB0_6
; %bb.4:
	add	w8, w21, w22
                                        ; kill: def $w21 killed $w21 killed $x21 def $x21
	sxtw	x20, w21
	sxtw	x21, w8
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19]
	ldr	w0, [x8, x20, lsl #2]
	mov	x1, x19
	bl	_free_irq
	add	x20, x20, #1
	cmp	x20, x21
	b.lt	LBB0_5
LBB0_6:
	ldr	x0, [x19, #32]
	bl	_kfree
	ldr	x0, [x19, #24]
	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
	b	_kfree
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_EQ_DISABLE,4,2                 ; @EQ_DISABLE
	.no_dead_strip	_hns_roce_v1_cleanup_eq_table
.subsections_via_symbols
