	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hns_rcb_comm_exc_irq_en
_hns_rcb_comm_exc_irq_en:               ## @hns_rcb_comm_exc_irq_en
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %r15
	movq	_RCB_COM_INTSTS_ECC_ERR_REG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$-1, %edx
	callq	_dsaf_write_dev
	movq	_RCB_COM_SF_CFG_RING_STS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	movl	$-1, %edx
	callq	_dsaf_write_dev
	movq	_RCB_COM_SF_CFG_BD_RINT_STS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	movl	$-1, %edx
	callq	_dsaf_write_dev
	movq	_RCB_COM_RINT_TX_PKT_REG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	movl	$-1, %edx
	callq	_dsaf_write_dev
	movq	_RCB_COM_AXI_ERR_STS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	movl	$-1, %edx
	callq	_dsaf_write_dev
	movq	_RCB_COM_INTMASK_ECC_ERR_REG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%ebx, %ebx
	cmpl	$1, %r14d
	sbbl	%ebx, %ebx
	movq	%r15, %rdi
	movl	%ebx, %edx
	callq	_dsaf_write_dev
	movq	_RCB_COM_SF_CFG_INTMASK_RING@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	movl	%ebx, %edx
	callq	_dsaf_write_dev
	movq	_RCB_COM_SF_CFG_INTMASK_BD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%ebx, %edx
	orl	$2, %edx
	movq	%r15, %rdi
	callq	_dsaf_write_dev
	movq	_RCB_COM_INTMSK_TX_PKT_REG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	movl	%ebx, %edx
	callq	_dsaf_write_dev
	movq	_RCB_COM_AXI_WR_ERR_INTMASK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	movl	%ebx, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_dsaf_write_dev                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_RCB_COM_INTSTS_ECC_ERR_REG,4,2 ## @RCB_COM_INTSTS_ECC_ERR_REG
	.comm	_RCB_COM_SF_CFG_RING_STS,4,2    ## @RCB_COM_SF_CFG_RING_STS
	.comm	_RCB_COM_SF_CFG_BD_RINT_STS,4,2 ## @RCB_COM_SF_CFG_BD_RINT_STS
	.comm	_RCB_COM_RINT_TX_PKT_REG,4,2    ## @RCB_COM_RINT_TX_PKT_REG
	.comm	_RCB_COM_AXI_ERR_STS,4,2        ## @RCB_COM_AXI_ERR_STS
	.comm	_RCB_COM_INTMASK_ECC_ERR_REG,4,2 ## @RCB_COM_INTMASK_ECC_ERR_REG
	.comm	_RCB_COM_SF_CFG_INTMASK_RING,4,2 ## @RCB_COM_SF_CFG_INTMASK_RING
	.comm	_RCB_COM_SF_CFG_INTMASK_BD,4,2  ## @RCB_COM_SF_CFG_INTMASK_BD
	.comm	_RCB_COM_INTMSK_TX_PKT_REG,4,2  ## @RCB_COM_INTMSK_TX_PKT_REG
	.comm	_RCB_COM_AXI_WR_ERR_INTMASK,4,2 ## @RCB_COM_AXI_WR_ERR_INTMASK
	.no_dead_strip	_hns_rcb_comm_exc_irq_en
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hns_rcb_comm_exc_irq_en
_hns_rcb_comm_exc_irq_en:               ; @hns_rcb_comm_exc_irq_en
	.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	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _RCB_COM_INTSTS_ECC_ERR_REG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RCB_COM_INTSTS_ECC_ERR_REG@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w2, #-1
	bl	_dsaf_write_dev
Lloh3:
	adrp	x8, _RCB_COM_SF_CFG_RING_STS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _RCB_COM_SF_CFG_RING_STS@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #-1
	bl	_dsaf_write_dev
Lloh6:
	adrp	x8, _RCB_COM_SF_CFG_BD_RINT_STS@GOTPAGE
Lloh7:
	ldr	x8, [x8, _RCB_COM_SF_CFG_BD_RINT_STS@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #-1
	bl	_dsaf_write_dev
Lloh9:
	adrp	x8, _RCB_COM_RINT_TX_PKT_REG@GOTPAGE
Lloh10:
	ldr	x8, [x8, _RCB_COM_RINT_TX_PKT_REG@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #-1
	bl	_dsaf_write_dev
Lloh12:
	adrp	x8, _RCB_COM_AXI_ERR_STS@GOTPAGE
Lloh13:
	ldr	x8, [x8, _RCB_COM_AXI_ERR_STS@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #-1
	bl	_dsaf_write_dev
	cmp	w20, #0
	csetm	w20, eq
Lloh15:
	adrp	x8, _RCB_COM_INTMASK_ECC_ERR_REG@GOTPAGE
Lloh16:
	ldr	x8, [x8, _RCB_COM_INTMASK_ECC_ERR_REG@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	mov	w8, #2
	csinv	w21, w8, wzr, ne
	mov	x0, x19
	mov	x2, x20
	bl	_dsaf_write_dev
Lloh18:
	adrp	x8, _RCB_COM_SF_CFG_INTMASK_RING@GOTPAGE
Lloh19:
	ldr	x8, [x8, _RCB_COM_SF_CFG_INTMASK_RING@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x20
	bl	_dsaf_write_dev
Lloh21:
	adrp	x8, _RCB_COM_SF_CFG_INTMASK_BD@GOTPAGE
Lloh22:
	ldr	x8, [x8, _RCB_COM_SF_CFG_INTMASK_BD@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x21
	bl	_dsaf_write_dev
Lloh24:
	adrp	x8, _RCB_COM_INTMSK_TX_PKT_REG@GOTPAGE
Lloh25:
	ldr	x8, [x8, _RCB_COM_INTMSK_TX_PKT_REG@GOTPAGEOFF]
Lloh26:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x20
	bl	_dsaf_write_dev
Lloh27:
	adrp	x8, _RCB_COM_AXI_WR_ERR_INTMASK@GOTPAGE
Lloh28:
	ldr	x8, [x8, _RCB_COM_AXI_WR_ERR_INTMASK@GOTPAGEOFF]
Lloh29:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x20
	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	_dsaf_write_dev
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_RCB_COM_INTSTS_ECC_ERR_REG,4,2 ; @RCB_COM_INTSTS_ECC_ERR_REG
	.comm	_RCB_COM_SF_CFG_RING_STS,4,2    ; @RCB_COM_SF_CFG_RING_STS
	.comm	_RCB_COM_SF_CFG_BD_RINT_STS,4,2 ; @RCB_COM_SF_CFG_BD_RINT_STS
	.comm	_RCB_COM_RINT_TX_PKT_REG,4,2    ; @RCB_COM_RINT_TX_PKT_REG
	.comm	_RCB_COM_AXI_ERR_STS,4,2        ; @RCB_COM_AXI_ERR_STS
	.comm	_RCB_COM_INTMASK_ECC_ERR_REG,4,2 ; @RCB_COM_INTMASK_ECC_ERR_REG
	.comm	_RCB_COM_SF_CFG_INTMASK_RING,4,2 ; @RCB_COM_SF_CFG_INTMASK_RING
	.comm	_RCB_COM_SF_CFG_INTMASK_BD,4,2  ; @RCB_COM_SF_CFG_INTMASK_BD
	.comm	_RCB_COM_INTMSK_TX_PKT_REG,4,2  ; @RCB_COM_INTMSK_TX_PKT_REG
	.comm	_RCB_COM_AXI_WR_ERR_INTMASK,4,2 ; @RCB_COM_AXI_WR_ERR_INTMASK
	.no_dead_strip	_hns_rcb_comm_exc_irq_en
.subsections_via_symbols
