	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hclge_config_ppp_error_interrupt
_hclge_config_ppp_error_interrupt:      ## @hclge_config_ppp_error_interrupt
	.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
	subq	$48, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r12d
	movl	%esi, %ebx
	movq	%rdi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -40(%rbp)
	movq	8(%rdi), %r14
	leaq	-80(%rbp), %rdi
	xorl	%edx, %edx
	callq	_hclge_cmd_setup_basic_desc
	movq	_HCLGE_CMD_FLAG_NEXT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_cpu_to_le16
	orl	%eax, -72(%rbp)
	leaq	-64(%rbp), %rdi
	movl	%ebx, %esi
	xorl	%edx, %edx
	callq	_hclge_cmd_setup_basic_desc
	movq	_HCLGE_PPP_CMD0_INT_CMD@GOTPCREL(%rip), %rax
	cmpl	%ebx, (%rax)
	jne	LBB0_5
## %bb.1:
	testl	%r12d, %r12d
	je	LBB0_3
## %bb.2:
	movq	_HCLGE_PPP_MPF_ECC_ERR_INT0_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_cpu_to_le32
	movq	-80(%rbp), %rcx
	movq	%rax, (%rcx)
	movq	_HCLGE_PPP_MPF_ECC_ERR_INT1_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_cpu_to_le32
	movq	-80(%rbp), %rcx
	movq	%rax, 8(%rcx)
	movq	_HCLGE_PPP_PF_ERR_INT_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_cpu_to_le32
	movq	-80(%rbp), %rcx
	movq	%rax, 32(%rcx)
LBB0_3:
	movq	_HCLGE_PPP_MPF_ECC_ERR_INT0_EN_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_cpu_to_le32
	movq	-64(%rbp), %rcx
	movq	%rax, (%rcx)
	movq	_HCLGE_PPP_MPF_ECC_ERR_INT1_EN_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_cpu_to_le32
	movq	-64(%rbp), %rcx
	movq	%rax, 8(%rcx)
	movq	8(%r15), %rax
	cmpl	$32, (%rax)
	jle	LBB0_10
## %bb.4:
	movl	$2, %ebx
	movq	_HCLGE_PPP_PF_ERR_INT_EN_MASK@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_5:
	movq	_HCLGE_PPP_CMD1_INT_CMD@GOTPCREL(%rip), %rax
	cmpl	%ebx, (%rax)
	jne	LBB0_10
## %bb.6:
	testl	%r12d, %r12d
	je	LBB0_8
## %bb.7:
	movq	_HCLGE_PPP_MPF_ECC_ERR_INT2_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_cpu_to_le32
	movq	-80(%rbp), %rcx
	movq	%rax, (%rcx)
	movq	_HCLGE_PPP_MPF_ECC_ERR_INT3_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_cpu_to_le32
	movq	-80(%rbp), %rcx
	movq	%rax, 8(%rcx)
LBB0_8:
	movq	_HCLGE_PPP_MPF_ECC_ERR_INT2_EN_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_cpu_to_le32
	movq	-64(%rbp), %rcx
	movq	%rax, (%rcx)
	movl	$1, %ebx
	movq	_HCLGE_PPP_MPF_ECC_ERR_INT3_EN_MASK@GOTPCREL(%rip), %rax
LBB0_9:
	movl	(%rax), %edi
	callq	_cpu_to_le32
	movq	-64(%rbp), %rcx
	movq	%rax, (%rcx,%rbx,8)
LBB0_10:
	leaq	-80(%rbp), %rsi
	movq	%r15, %rdi
	movl	$2, %edx
	callq	_hclge_cmd_send
	movl	%eax, %ebx
	testl	%eax, %eax
	je	LBB0_12
## %bb.11:
	addq	$4, %r14
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	movl	%ebx, %edx
	callq	_dev_err
LBB0_12:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-40(%rbp), %rax
	jne	LBB0_14
## %bb.13:
	movl	%ebx, %eax
	addq	$48, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_14:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_HCLGE_CMD_FLAG_NEXT,4,2        ## @HCLGE_CMD_FLAG_NEXT
	.comm	_HCLGE_PPP_CMD0_INT_CMD,4,2     ## @HCLGE_PPP_CMD0_INT_CMD
	.comm	_HCLGE_PPP_MPF_ECC_ERR_INT0_EN,4,2 ## @HCLGE_PPP_MPF_ECC_ERR_INT0_EN
	.comm	_HCLGE_PPP_MPF_ECC_ERR_INT1_EN,4,2 ## @HCLGE_PPP_MPF_ECC_ERR_INT1_EN
	.comm	_HCLGE_PPP_PF_ERR_INT_EN,4,2    ## @HCLGE_PPP_PF_ERR_INT_EN
	.comm	_HCLGE_PPP_MPF_ECC_ERR_INT0_EN_MASK,4,2 ## @HCLGE_PPP_MPF_ECC_ERR_INT0_EN_MASK
	.comm	_HCLGE_PPP_MPF_ECC_ERR_INT1_EN_MASK,4,2 ## @HCLGE_PPP_MPF_ECC_ERR_INT1_EN_MASK
	.comm	_HCLGE_PPP_PF_ERR_INT_EN_MASK,4,2 ## @HCLGE_PPP_PF_ERR_INT_EN_MASK
	.comm	_HCLGE_PPP_CMD1_INT_CMD,4,2     ## @HCLGE_PPP_CMD1_INT_CMD
	.comm	_HCLGE_PPP_MPF_ECC_ERR_INT2_EN,4,2 ## @HCLGE_PPP_MPF_ECC_ERR_INT2_EN
	.comm	_HCLGE_PPP_MPF_ECC_ERR_INT3_EN,4,2 ## @HCLGE_PPP_MPF_ECC_ERR_INT3_EN
	.comm	_HCLGE_PPP_MPF_ECC_ERR_INT2_EN_MASK,4,2 ## @HCLGE_PPP_MPF_ECC_ERR_INT2_EN_MASK
	.comm	_HCLGE_PPP_MPF_ECC_ERR_INT3_EN_MASK,4,2 ## @HCLGE_PPP_MPF_ECC_ERR_INT3_EN_MASK
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"fail(%d) to configure PPP error intr\n"

	.no_dead_strip	_hclge_config_ppp_error_interrupt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hclge_config_ppp_error_interrupt
_hclge_config_ppp_error_interrupt:      ; @hclge_config_ppp_error_interrupt
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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, x2
	mov	x21, x1
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #40]
	ldr	x22, [x0, #8]
	add	x23, sp, #8
	add	x0, sp, #8
	mov	w2, #0
	bl	_hclge_cmd_setup_basic_desc
Lloh3:
	adrp	x8, _HCLGE_CMD_FLAG_NEXT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _HCLGE_CMD_FLAG_NEXT@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_cpu_to_le16
	ldr	w8, [sp, #16]
	orr	w8, w8, w0
	str	w8, [sp, #16]
	add	x0, x23, #16
	mov	x1, x21
	mov	w2, #0
	bl	_hclge_cmd_setup_basic_desc
Lloh6:
	adrp	x8, _HCLGE_PPP_CMD0_INT_CMD@GOTPAGE
Lloh7:
	ldr	x8, [x8, _HCLGE_PPP_CMD0_INT_CMD@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	cmp	w8, w21
	b.ne	LBB0_5
; %bb.1:
	cbz	w20, LBB0_3
; %bb.2:
Lloh9:
	adrp	x8, _HCLGE_PPP_MPF_ECC_ERR_INT0_EN@GOTPAGE
Lloh10:
	ldr	x8, [x8, _HCLGE_PPP_MPF_ECC_ERR_INT0_EN@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	bl	_cpu_to_le32
	ldr	x8, [sp, #8]
	str	x0, [x8]
Lloh12:
	adrp	x8, _HCLGE_PPP_MPF_ECC_ERR_INT1_EN@GOTPAGE
Lloh13:
	ldr	x8, [x8, _HCLGE_PPP_MPF_ECC_ERR_INT1_EN@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	bl	_cpu_to_le32
	ldr	x8, [sp, #8]
	str	x0, [x8, #8]
Lloh15:
	adrp	x8, _HCLGE_PPP_PF_ERR_INT_EN@GOTPAGE
Lloh16:
	ldr	x8, [x8, _HCLGE_PPP_PF_ERR_INT_EN@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
	bl	_cpu_to_le32
	ldr	x8, [sp, #8]
	str	x0, [x8, #32]
LBB0_3:
Lloh18:
	adrp	x8, _HCLGE_PPP_MPF_ECC_ERR_INT0_EN_MASK@GOTPAGE
Lloh19:
	ldr	x8, [x8, _HCLGE_PPP_MPF_ECC_ERR_INT0_EN_MASK@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
	bl	_cpu_to_le32
	ldr	x8, [sp, #24]
	str	x0, [x8]
Lloh21:
	adrp	x8, _HCLGE_PPP_MPF_ECC_ERR_INT1_EN_MASK@GOTPAGE
Lloh22:
	ldr	x8, [x8, _HCLGE_PPP_MPF_ECC_ERR_INT1_EN_MASK@GOTPAGEOFF]
Lloh23:
	ldr	w0, [x8]
	bl	_cpu_to_le32
	ldr	x8, [sp, #24]
	str	x0, [x8, #8]
	ldr	x8, [x19, #8]
	ldr	w8, [x8]
	cmp	w8, #32
	b.le	LBB0_10
; %bb.4:
Lloh24:
	adrp	x8, _HCLGE_PPP_PF_ERR_INT_EN_MASK@GOTPAGE
Lloh25:
	ldr	x8, [x8, _HCLGE_PPP_PF_ERR_INT_EN_MASK@GOTPAGEOFF]
	mov	w20, #2
	b	LBB0_9
LBB0_5:
Lloh26:
	adrp	x8, _HCLGE_PPP_CMD1_INT_CMD@GOTPAGE
Lloh27:
	ldr	x8, [x8, _HCLGE_PPP_CMD1_INT_CMD@GOTPAGEOFF]
Lloh28:
	ldr	w8, [x8]
	cmp	w8, w21
	b.ne	LBB0_10
; %bb.6:
	cbz	w20, LBB0_8
; %bb.7:
Lloh29:
	adrp	x8, _HCLGE_PPP_MPF_ECC_ERR_INT2_EN@GOTPAGE
Lloh30:
	ldr	x8, [x8, _HCLGE_PPP_MPF_ECC_ERR_INT2_EN@GOTPAGEOFF]
Lloh31:
	ldr	w0, [x8]
	bl	_cpu_to_le32
	ldr	x8, [sp, #8]
	str	x0, [x8]
Lloh32:
	adrp	x8, _HCLGE_PPP_MPF_ECC_ERR_INT3_EN@GOTPAGE
Lloh33:
	ldr	x8, [x8, _HCLGE_PPP_MPF_ECC_ERR_INT3_EN@GOTPAGEOFF]
Lloh34:
	ldr	w0, [x8]
	bl	_cpu_to_le32
	ldr	x8, [sp, #8]
	str	x0, [x8, #8]
LBB0_8:
Lloh35:
	adrp	x8, _HCLGE_PPP_MPF_ECC_ERR_INT2_EN_MASK@GOTPAGE
Lloh36:
	ldr	x8, [x8, _HCLGE_PPP_MPF_ECC_ERR_INT2_EN_MASK@GOTPAGEOFF]
Lloh37:
	ldr	w0, [x8]
	bl	_cpu_to_le32
	ldr	x8, [sp, #24]
	str	x0, [x8]
Lloh38:
	adrp	x8, _HCLGE_PPP_MPF_ECC_ERR_INT3_EN_MASK@GOTPAGE
Lloh39:
	ldr	x8, [x8, _HCLGE_PPP_MPF_ECC_ERR_INT3_EN_MASK@GOTPAGEOFF]
	mov	w20, #1
LBB0_9:
	ldr	w0, [x8]
	bl	_cpu_to_le32
	ldr	x8, [sp, #24]
	str	x0, [x8, x20, lsl #3]
LBB0_10:
	add	x1, sp, #8
	mov	x0, x19
	mov	w2, #2
	bl	_hclge_cmd_send
	mov	x19, x0
	cbz	w0, LBB0_12
; %bb.11:
	add	x0, x22, #4
Lloh40:
	adrp	x1, l_.str@PAGE
Lloh41:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x19
	bl	_dev_err
LBB0_12:
	ldr	x8, [sp, #40]
Lloh42:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh43:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh44:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_14
; %bb.13:
	mov	x0, x19
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_14:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.cfi_endproc
                                        ; -- End function
	.comm	_HCLGE_CMD_FLAG_NEXT,4,2        ; @HCLGE_CMD_FLAG_NEXT
	.comm	_HCLGE_PPP_CMD0_INT_CMD,4,2     ; @HCLGE_PPP_CMD0_INT_CMD
	.comm	_HCLGE_PPP_MPF_ECC_ERR_INT0_EN,4,2 ; @HCLGE_PPP_MPF_ECC_ERR_INT0_EN
	.comm	_HCLGE_PPP_MPF_ECC_ERR_INT1_EN,4,2 ; @HCLGE_PPP_MPF_ECC_ERR_INT1_EN
	.comm	_HCLGE_PPP_PF_ERR_INT_EN,4,2    ; @HCLGE_PPP_PF_ERR_INT_EN
	.comm	_HCLGE_PPP_MPF_ECC_ERR_INT0_EN_MASK,4,2 ; @HCLGE_PPP_MPF_ECC_ERR_INT0_EN_MASK
	.comm	_HCLGE_PPP_MPF_ECC_ERR_INT1_EN_MASK,4,2 ; @HCLGE_PPP_MPF_ECC_ERR_INT1_EN_MASK
	.comm	_HCLGE_PPP_PF_ERR_INT_EN_MASK,4,2 ; @HCLGE_PPP_PF_ERR_INT_EN_MASK
	.comm	_HCLGE_PPP_CMD1_INT_CMD,4,2     ; @HCLGE_PPP_CMD1_INT_CMD
	.comm	_HCLGE_PPP_MPF_ECC_ERR_INT2_EN,4,2 ; @HCLGE_PPP_MPF_ECC_ERR_INT2_EN
	.comm	_HCLGE_PPP_MPF_ECC_ERR_INT3_EN,4,2 ; @HCLGE_PPP_MPF_ECC_ERR_INT3_EN
	.comm	_HCLGE_PPP_MPF_ECC_ERR_INT2_EN_MASK,4,2 ; @HCLGE_PPP_MPF_ECC_ERR_INT2_EN_MASK
	.comm	_HCLGE_PPP_MPF_ECC_ERR_INT3_EN_MASK,4,2 ; @HCLGE_PPP_MPF_ECC_ERR_INT3_EN_MASK
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"fail(%d) to configure PPP error intr\n"

	.no_dead_strip	_hclge_config_ppp_error_interrupt
.subsections_via_symbols
