	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hclge_misc_irq_handle
_hclge_misc_irq_handle:                 ## @hclge_misc_irq_handle
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movl	$0, -20(%rbp)
	movq	%rsi, %rdi
	xorl	%esi, %esi
	callq	_hclge_enable_vector
	leaq	-20(%rbp), %rsi
	movq	%r14, %rdi
	callq	_hclge_check_event_cause
	movl	%eax, %ebx
	cmpl	$128, %eax
	je	LBB0_4
## %bb.1:
	cmpl	$129, %ebx
	je	LBB0_5
## %bb.2:
	cmpl	$130, %ebx
	jne	LBB0_6
## %bb.3:
	movq	_HNAE3_UNKNOWN_RESET@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	16(%r14), %rsi
	callq	_set_bit
LBB0_4:
	movq	%r14, %rdi
	callq	_hclge_reset_task_schedule
	jmp	LBB0_7
LBB0_5:
	movq	%r14, %rdi
	callq	_hclge_mbx_task_schedule
	jmp	LBB0_7
LBB0_6:
	movq	8(%r14), %rdi
	leaq	L_.str(%rip), %rsi
	callq	_dev_warn
LBB0_7:
	movl	-20(%rbp), %edx
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_hclge_clear_event_cause
	cmpl	$0, -20(%rbp)
	je	LBB0_9
## %bb.8:
	cmpl	$129, %ebx
	jne	LBB0_10
LBB0_9:
	movq	%r14, %rdi
	movl	$1, %esi
	callq	_hclge_enable_vector
LBB0_10:
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HNAE3_UNKNOWN_RESET,4,2        ## @HNAE3_UNKNOWN_RESET
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"received unknown or unhandled event of vector0\n"

	.comm	_IRQ_HANDLED,4,2                ## @IRQ_HANDLED
	.no_dead_strip	_hclge_misc_irq_handle
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hclge_misc_irq_handle
_hclge_misc_irq_handle:                 ; @hclge_misc_irq_handle
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x1
	str	wzr, [sp, #12]
	mov	x0, x1
	mov	w1, #0
	bl	_hclge_enable_vector
	add	x1, sp, #12
	mov	x0, x19
	bl	_hclge_check_event_cause
	mov	x20, x0
	cmp	w0, #128
	b.eq	LBB0_4
; %bb.1:
	cmp	w20, #129
	b.eq	LBB0_5
; %bb.2:
	cmp	w20, #130
	b.ne	LBB0_6
; %bb.3:
Lloh0:
	adrp	x8, _HNAE3_UNKNOWN_RESET@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HNAE3_UNKNOWN_RESET@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	add	x1, x19, #16
	bl	_set_bit
LBB0_4:
	mov	x0, x19
	bl	_hclge_reset_task_schedule
	b	LBB0_7
LBB0_5:
	mov	x0, x19
	bl	_hclge_mbx_task_schedule
	b	LBB0_7
LBB0_6:
	ldr	x0, [x19, #8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_warn
LBB0_7:
	ldr	w2, [sp, #12]
	mov	x0, x19
	mov	x1, x20
	bl	_hclge_clear_event_cause
	ldr	w8, [sp, #12]
	cbz	w8, LBB0_9
; %bb.8:
	cmp	w20, #129
	b.ne	LBB0_10
LBB0_9:
	mov	x0, x19
	mov	w1, #1
	bl	_hclge_enable_vector
LBB0_10:
Lloh5:
	adrp	x8, _IRQ_HANDLED@GOTPAGE
Lloh6:
	ldr	x8, [x8, _IRQ_HANDLED@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_HNAE3_UNKNOWN_RESET,4,2        ; @HNAE3_UNKNOWN_RESET
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"received unknown or unhandled event of vector0\n"

	.comm	_IRQ_HANDLED,4,2                ; @IRQ_HANDLED
	.no_dead_strip	_hclge_misc_irq_handle
.subsections_via_symbols
