	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hns_roce_v2_msix_interrupt_abn
_hns_roce_v2_msix_interrupt_abn:        ## @hns_roce_v2_msix_interrupt_abn
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	8(%rsi), %r14
	movq	_ROCEE_VF_ABN_INT_ST_REG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_roce_read
	movl	%eax, %ebx
	movq	_ROCEE_VF_ABN_INT_EN_REG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_roce_read
	movl	%eax, %r12d
	movq	_HNS_ROCE_V2_VF_INT_ST_AEQ_OVERFLOW_S@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	callq	_BIT
	testl	%ebx, %eax
	je	LBB0_7
## %bb.1:
	movl	%r12d, -44(%rbp)                ## 4-byte Spill
	movq	(%r15), %rdi
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	callq	_pci_get_drvdata
	movq	%rax, %r12
	movq	%r14, %rdi
	movq	(%rax), %r14
	leaq	L_.str(%rip), %rsi
	callq	_dev_err
	movb	(%r13), %al
	btsl	%eax, %ebx
	movq	_ROCEE_VF_ABN_INT_ST_REG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	movl	%ebx, %edx
	callq	_roce_write
	movq	8(%r14), %rax
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	_HNAE3_FUNC_RESET@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	%r12, %rdi
	callq	*%rax
LBB0_3:
	movq	(%r14), %rax
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	xorl	%esi, %esi
	callq	*%rax
LBB0_5:
	movq	_HNS_ROCE_V2_VF_ABN_INT_EN_S@GOTPCREL(%rip), %rax
	movb	(%rax), %al
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	btsl	%eax, %edx
	movq	_ROCEE_VF_ABN_INT_EN_REG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	jmp	LBB0_6
LBB0_7:
	movq	%r14, %r13
	movq	_HNS_ROCE_V2_VF_INT_ST_BUS_ERR_S@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	callq	_BIT
	testl	%ebx, %eax
	je	LBB0_10
## %bb.8:
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_9
LBB0_10:
	movq	_HNS_ROCE_V2_VF_INT_ST_OTHER_ERR_S@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	callq	_BIT
	testl	%ebx, %eax
	je	LBB0_12
## %bb.11:
	leaq	L_.str.2(%rip), %rsi
LBB0_9:
	movq	%r13, %rdi
	callq	_dev_err
	movb	(%r14), %al
	btsl	%eax, %ebx
	movq	_ROCEE_VF_ABN_INT_ST_REG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	movl	%ebx, %edx
	callq	_roce_write
	movq	_HNS_ROCE_V2_VF_ABN_INT_EN_S@GOTPCREL(%rip), %rax
	movb	(%rax), %al
	btsl	%eax, %r12d
	movq	_ROCEE_VF_ABN_INT_EN_REG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	movl	%r12d, %edx
LBB0_6:
	callq	_roce_write
	movl	$1, %edi
LBB0_13:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_IRQ_RETVAL                     ## TAILCALL
LBB0_12:
	leaq	L_.str.3(%rip), %rsi
	movq	%r13, %rdi
	callq	_dev_err
	xorl	%edi, %edi
	jmp	LBB0_13
	.cfi_endproc
                                        ## -- End function
	.comm	_ROCEE_VF_ABN_INT_ST_REG,4,2    ## @ROCEE_VF_ABN_INT_ST_REG
	.comm	_ROCEE_VF_ABN_INT_EN_REG,4,2    ## @ROCEE_VF_ABN_INT_EN_REG
	.comm	_HNS_ROCE_V2_VF_INT_ST_AEQ_OVERFLOW_S,4,2 ## @HNS_ROCE_V2_VF_INT_ST_AEQ_OVERFLOW_S
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"AEQ overflow!\n"

	.comm	_HNAE3_FUNC_RESET,4,2           ## @HNAE3_FUNC_RESET
	.comm	_HNS_ROCE_V2_VF_ABN_INT_EN_S,4,2 ## @HNS_ROCE_V2_VF_ABN_INT_EN_S
	.comm	_HNS_ROCE_V2_VF_INT_ST_BUS_ERR_S,4,2 ## @HNS_ROCE_V2_VF_INT_ST_BUS_ERR_S
L_.str.1:                               ## @.str.1
	.asciz	"BUS ERR!\n"

	.comm	_HNS_ROCE_V2_VF_INT_ST_OTHER_ERR_S,4,2 ## @HNS_ROCE_V2_VF_INT_ST_OTHER_ERR_S
L_.str.2:                               ## @.str.2
	.asciz	"OTHER ERR!\n"

L_.str.3:                               ## @.str.3
	.asciz	"There is no abnormal irq found!\n"

	.no_dead_strip	_hns_roce_v2_msix_interrupt_abn
.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_msix_interrupt_abn
_hns_roce_v2_msix_interrupt_abn:        ; @hns_roce_v2_msix_interrupt_abn
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x1
	ldr	x22, [x1, #8]
Lloh0:
	adrp	x26, _ROCEE_VF_ABN_INT_ST_REG@GOTPAGE
Lloh1:
	ldr	x26, [x26, _ROCEE_VF_ABN_INT_ST_REG@GOTPAGEOFF]
	ldr	w1, [x26]
	mov	x0, x19
	bl	_roce_read
	mov	x21, x0
Lloh2:
	adrp	x25, _ROCEE_VF_ABN_INT_EN_REG@GOTPAGE
Lloh3:
	ldr	x25, [x25, _ROCEE_VF_ABN_INT_EN_REG@GOTPAGEOFF]
	ldr	w1, [x25]
	mov	x0, x19
	bl	_roce_read
	mov	x20, x0
Lloh4:
	adrp	x28, _HNS_ROCE_V2_VF_INT_ST_AEQ_OVERFLOW_S@GOTPAGE
Lloh5:
	ldr	x28, [x28, _HNS_ROCE_V2_VF_INT_ST_AEQ_OVERFLOW_S@GOTPAGEOFF]
	ldr	w0, [x28]
	bl	_BIT
	tst	w0, w21
	b.eq	LBB0_6
; %bb.1:
	ldr	x23, [x19]
	mov	x0, x23
	bl	_pci_get_drvdata
	mov	x24, x0
	ldr	x27, [x0]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x22
	bl	_dev_err
	ldr	w8, [x28]
	mov	w9, #1
	lsl	w8, w9, w8
	orr	w2, w8, w21
	ldr	w1, [x26]
	mov	x0, x19
	bl	_roce_write
	ldr	x8, [x27, #8]
	cbz	x8, LBB0_3
; %bb.2:
Lloh8:
	adrp	x9, _HNAE3_FUNC_RESET@GOTPAGE
Lloh9:
	ldr	x9, [x9, _HNAE3_FUNC_RESET@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x9]
	mov	x0, x24
	blr	x8
LBB0_3:
	ldr	x8, [x27]
	cbz	x8, LBB0_5
; %bb.4:
	mov	x0, x23
	mov	x1, #0
	blr	x8
LBB0_5:
Lloh11:
	adrp	x8, _HNS_ROCE_V2_VF_ABN_INT_EN_S@GOTPAGE
Lloh12:
	ldr	x8, [x8, _HNS_ROCE_V2_VF_ABN_INT_EN_S@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	mov	w22, #1
	b	LBB0_11
LBB0_6:
Lloh14:
	adrp	x23, _HNS_ROCE_V2_VF_INT_ST_BUS_ERR_S@GOTPAGE
Lloh15:
	ldr	x23, [x23, _HNS_ROCE_V2_VF_INT_ST_BUS_ERR_S@GOTPAGEOFF]
	ldr	w0, [x23]
	bl	_BIT
	tst	w0, w21
	b.eq	LBB0_8
; %bb.7:
Lloh16:
	adrp	x1, l_.str.1@PAGE
Lloh17:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_10
LBB0_8:
Lloh18:
	adrp	x23, _HNS_ROCE_V2_VF_INT_ST_OTHER_ERR_S@GOTPAGE
Lloh19:
	ldr	x23, [x23, _HNS_ROCE_V2_VF_INT_ST_OTHER_ERR_S@GOTPAGEOFF]
	ldr	w0, [x23]
	bl	_BIT
	tst	w0, w21
	b.eq	LBB0_13
; %bb.9:
Lloh20:
	adrp	x1, l_.str.2@PAGE
Lloh21:
	add	x1, x1, l_.str.2@PAGEOFF
LBB0_10:
	mov	x0, x22
	bl	_dev_err
	ldr	w8, [x23]
	mov	w22, #1
	lsl	w8, w22, w8
	orr	w2, w8, w21
	ldr	w1, [x26]
	mov	x0, x19
	bl	_roce_write
Lloh22:
	adrp	x8, _HNS_ROCE_V2_VF_ABN_INT_EN_S@GOTPAGE
Lloh23:
	ldr	x8, [x8, _HNS_ROCE_V2_VF_ABN_INT_EN_S@GOTPAGEOFF]
Lloh24:
	ldr	w8, [x8]
LBB0_11:
	lsl	w8, w22, w8
	orr	w2, w8, w20
	ldr	w1, [x25]
	mov	x0, x19
	bl	_roce_write
LBB0_12:
	mov	x0, x22
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_IRQ_RETVAL
LBB0_13:
Lloh25:
	adrp	x1, l_.str.3@PAGE
Lloh26:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x22
	bl	_dev_err
	mov	w22, #0
	b	LBB0_12
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpAdd	Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.comm	_ROCEE_VF_ABN_INT_ST_REG,4,2    ; @ROCEE_VF_ABN_INT_ST_REG
	.comm	_ROCEE_VF_ABN_INT_EN_REG,4,2    ; @ROCEE_VF_ABN_INT_EN_REG
	.comm	_HNS_ROCE_V2_VF_INT_ST_AEQ_OVERFLOW_S,4,2 ; @HNS_ROCE_V2_VF_INT_ST_AEQ_OVERFLOW_S
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"AEQ overflow!\n"

	.comm	_HNAE3_FUNC_RESET,4,2           ; @HNAE3_FUNC_RESET
	.comm	_HNS_ROCE_V2_VF_ABN_INT_EN_S,4,2 ; @HNS_ROCE_V2_VF_ABN_INT_EN_S
	.comm	_HNS_ROCE_V2_VF_INT_ST_BUS_ERR_S,4,2 ; @HNS_ROCE_V2_VF_INT_ST_BUS_ERR_S
l_.str.1:                               ; @.str.1
	.asciz	"BUS ERR!\n"

	.comm	_HNS_ROCE_V2_VF_INT_ST_OTHER_ERR_S,4,2 ; @HNS_ROCE_V2_VF_INT_ST_OTHER_ERR_S
l_.str.2:                               ; @.str.2
	.asciz	"OTHER ERR!\n"

l_.str.3:                               ; @.str.3
	.asciz	"There is no abnormal irq found!\n"

	.no_dead_strip	_hns_roce_v2_msix_interrupt_abn
.subsections_via_symbols
