	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hns_roce_v2_int_mask_enable
_hns_roce_v2_int_mask_enable:           ## @hns_roce_v2_int_mask_enable
	.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
	movl	%esi, %r15d
	movq	%rdi, %r14
	movq	_EQ_ENABLE@GOTPCREL(%rip), %rax
	cmpl	%edx, (%rax)
	jne	LBB0_1
## %bb.5:
	testl	%r15d, %r15d
	jle	LBB0_8
## %bb.6:
	xorl	%ebx, %ebx
	movq	_EQ_REG_OFFSET@GOTPCREL(%rip), %r13
	movq	_HNS_ROCE_V2_VF_EVENT_INT_EN_M@GOTPCREL(%rip), %r12
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movslq	(%r13), %rsi
	movslq	%ebx, %rbx
	imulq	%rbx, %rsi
	movq	_ROCEE_VF_EVENT_INT_EN_REG@GOTPCREL(%rip), %rax
	addq	(%rax), %rsi
	movl	(%r12), %edx
	movq	%r14, %rdi
	callq	_roce_write
	incl	%ebx
	cmpl	%ebx, %r15d
	jne	LBB0_7
LBB0_8:
	movq	_ROCEE_VF_ABN_INT_EN_REG@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	_HNS_ROCE_V2_VF_ABN_INT_EN_M@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	callq	_roce_write
	movq	_ROCEE_VF_ABN_INT_CFG_REG@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	_HNS_ROCE_V2_VF_ABN_INT_CFG_M@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	jmp	LBB0_9
LBB0_1:
	testl	%r15d, %r15d
	jle	LBB0_4
## %bb.2:
	xorl	%ebx, %ebx
	movq	_ROCEE_VF_EVENT_INT_EN_REG@GOTPCREL(%rip), %r12
	movq	_EQ_REG_OFFSET@GOTPCREL(%rip), %r13
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movslq	(%r13), %rsi
	movslq	%ebx, %rbx
	imulq	%rbx, %rsi
	addq	(%r12), %rsi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_roce_write
	incl	%ebx
	cmpl	%ebx, %r15d
	jne	LBB0_3
LBB0_4:
	movq	_ROCEE_VF_ABN_INT_EN_REG@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_roce_write
	movq	_ROCEE_VF_ABN_INT_CFG_REG@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%r14, %rdi
	xorl	%edx, %edx
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_roce_write                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_EQ_ENABLE,4,2                  ## @EQ_ENABLE
	.comm	_ROCEE_VF_EVENT_INT_EN_REG,8,3  ## @ROCEE_VF_EVENT_INT_EN_REG
	.comm	_EQ_REG_OFFSET,4,2              ## @EQ_REG_OFFSET
	.comm	_HNS_ROCE_V2_VF_EVENT_INT_EN_M,4,2 ## @HNS_ROCE_V2_VF_EVENT_INT_EN_M
	.comm	_ROCEE_VF_ABN_INT_EN_REG,8,3    ## @ROCEE_VF_ABN_INT_EN_REG
	.comm	_HNS_ROCE_V2_VF_ABN_INT_EN_M,4,2 ## @HNS_ROCE_V2_VF_ABN_INT_EN_M
	.comm	_ROCEE_VF_ABN_INT_CFG_REG,8,3   ## @ROCEE_VF_ABN_INT_CFG_REG
	.comm	_HNS_ROCE_V2_VF_ABN_INT_CFG_M,4,2 ## @HNS_ROCE_V2_VF_ABN_INT_CFG_M
	.no_dead_strip	_hns_roce_v2_int_mask_enable
.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_int_mask_enable
_hns_roce_v2_int_mask_enable:           ; @hns_roce_v2_int_mask_enable
	.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	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _EQ_ENABLE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EQ_ENABLE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w2
	b.ne	LBB0_5
; %bb.1:
	cmp	w20, #1
	b.lt	LBB0_4
; %bb.2:
	mov	w21, #0
Lloh3:
	adrp	x22, _ROCEE_VF_EVENT_INT_EN_REG@GOTPAGE
Lloh4:
	ldr	x22, [x22, _ROCEE_VF_EVENT_INT_EN_REG@GOTPAGEOFF]
Lloh5:
	adrp	x23, _EQ_REG_OFFSET@GOTPAGE
Lloh6:
	ldr	x23, [x23, _EQ_REG_OFFSET@GOTPAGEOFF]
Lloh7:
	adrp	x24, _HNS_ROCE_V2_VF_EVENT_INT_EN_M@GOTPAGE
Lloh8:
	ldr	x24, [x24, _HNS_ROCE_V2_VF_EVENT_INT_EN_M@GOTPAGEOFF]
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x22]
	ldrsw	x9, [x23]
	sxtw	x10, w21
	madd	x1, x9, x10, x8
	ldr	w2, [x24]
	mov	x0, x19
	bl	_roce_write
	add	w21, w21, #1
	cmp	w20, w21
	b.ne	LBB0_3
LBB0_4:
Lloh9:
	adrp	x8, _ROCEE_VF_ABN_INT_EN_REG@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ROCEE_VF_ABN_INT_EN_REG@GOTPAGEOFF]
Lloh11:
	ldr	x1, [x8]
Lloh12:
	adrp	x8, _HNS_ROCE_V2_VF_ABN_INT_EN_M@GOTPAGE
Lloh13:
	ldr	x8, [x8, _HNS_ROCE_V2_VF_ABN_INT_EN_M@GOTPAGEOFF]
Lloh14:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_roce_write
Lloh15:
	adrp	x8, _ROCEE_VF_ABN_INT_CFG_REG@GOTPAGE
Lloh16:
	ldr	x8, [x8, _ROCEE_VF_ABN_INT_CFG_REG@GOTPAGEOFF]
Lloh17:
	ldr	x1, [x8]
Lloh18:
	adrp	x8, _HNS_ROCE_V2_VF_ABN_INT_CFG_M@GOTPAGE
Lloh19:
	ldr	x8, [x8, _HNS_ROCE_V2_VF_ABN_INT_CFG_M@GOTPAGEOFF]
Lloh20:
	ldr	w2, [x8]
	mov	x0, x19
	b	LBB0_9
LBB0_5:
	cmp	w20, #1
	b.lt	LBB0_8
; %bb.6:
	mov	w21, #0
Lloh21:
	adrp	x22, _ROCEE_VF_EVENT_INT_EN_REG@GOTPAGE
Lloh22:
	ldr	x22, [x22, _ROCEE_VF_EVENT_INT_EN_REG@GOTPAGEOFF]
Lloh23:
	adrp	x23, _EQ_REG_OFFSET@GOTPAGE
Lloh24:
	ldr	x23, [x23, _EQ_REG_OFFSET@GOTPAGEOFF]
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x22]
	ldrsw	x9, [x23]
	sxtw	x10, w21
	madd	x1, x9, x10, x8
	mov	x0, x19
	mov	w2, #0
	bl	_roce_write
	add	w21, w21, #1
	cmp	w20, w21
	b.ne	LBB0_7
LBB0_8:
Lloh25:
	adrp	x8, _ROCEE_VF_ABN_INT_EN_REG@GOTPAGE
Lloh26:
	ldr	x8, [x8, _ROCEE_VF_ABN_INT_EN_REG@GOTPAGEOFF]
Lloh27:
	ldr	x1, [x8]
	mov	x0, x19
	mov	w2, #0
	bl	_roce_write
Lloh28:
	adrp	x8, _ROCEE_VF_ABN_INT_CFG_REG@GOTPAGE
Lloh29:
	ldr	x8, [x8, _ROCEE_VF_ABN_INT_CFG_REG@GOTPAGEOFF]
Lloh30:
	ldr	x1, [x8]
	mov	x0, x19
	mov	w2, #0
LBB0_9:
	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	_roce_write
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.cfi_endproc
                                        ; -- End function
	.comm	_EQ_ENABLE,4,2                  ; @EQ_ENABLE
	.comm	_ROCEE_VF_EVENT_INT_EN_REG,8,3  ; @ROCEE_VF_EVENT_INT_EN_REG
	.comm	_EQ_REG_OFFSET,4,2              ; @EQ_REG_OFFSET
	.comm	_HNS_ROCE_V2_VF_EVENT_INT_EN_M,4,2 ; @HNS_ROCE_V2_VF_EVENT_INT_EN_M
	.comm	_ROCEE_VF_ABN_INT_EN_REG,8,3    ; @ROCEE_VF_ABN_INT_EN_REG
	.comm	_HNS_ROCE_V2_VF_ABN_INT_EN_M,4,2 ; @HNS_ROCE_V2_VF_ABN_INT_EN_M
	.comm	_ROCEE_VF_ABN_INT_CFG_REG,8,3   ; @ROCEE_VF_ABN_INT_CFG_REG
	.comm	_HNS_ROCE_V2_VF_ABN_INT_CFG_M,4,2 ; @HNS_ROCE_V2_VF_ABN_INT_CFG_M
	.no_dead_strip	_hns_roce_v2_int_mask_enable
.subsections_via_symbols
