	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hclgevf_mbx_async_handler      ## -- Begin function hclgevf_mbx_async_handler
	.p2align	4, 0x90
_hclgevf_mbx_async_handler:             ## @hclgevf_mbx_async_handler
	.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	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	$0, (%rdi)
	movq	8(%rdi), %r14
	cmpq	16(%rdi), %r14
	je	LBB0_15
## %bb.1:
	movq	%rdi, %rbx
	leaq	8(%rdi), %r13
	leaq	72(%rdi), %r12
	leaq	52(%rdi), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	leaq	48(%rdi), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	leaq	56(%rdi), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	leaq	64(%rdi), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	leaq	32(%rdi), %rax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movq	%r14, -80(%rbp)                 ## 8-byte Spill
	jmp	LBB0_2
LBB0_13:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	40(%rbx), %rdi
	leaq	L_.str.1(%rip), %rsi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_dev_err
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_2 Depth=1
	movups	(%r13), %xmm0
	movups	16(%r13), %xmm1
	movups	%xmm1, 16(%rsp)
	movups	%xmm0, (%rsp)
	callq	_hclge_mbx_head_ptr_move_arq
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	callq	_atomic_dec
	cmpq	16(%rbx), %r14
	je	LBB0_15
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	_HCLGEVF_STATE_CMD_DISABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r12, %rsi
	callq	_test_bit
	testq	%rax, %rax
	jne	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	16(%rbx), %rax
	movq	24(%rbx), %rcx
	movq	(%rcx,%rax,8), %r15
	movl	(%r15), %edx
	leal	-128(%rdx), %eax
	cmpl	$3, %eax
	ja	LBB0_13
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_12:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	4(%r15), %esi
	addq	$4, %r15
	movq	%rbx, %rdi
	movq	%r15, %rdx
	movl	$8, %ecx
	callq	_hclgevf_update_port_base_vlan_info
	jmp	LBB0_14
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	leaq	8(%r15), %rsi
	cmpl	$0, 4(%r15)
	je	LBB0_10
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	jmp	LBB0_9
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%r12, %r14
	movl	4(%r15), %r12d
	leaq	8(%r15), %rsi
	leaq	-96(%rbp), %rdi
	movl	$8, %edx
	callq	_memcpy
	movl	16(%r15), %r15d
	movq	%rbx, %rdi
	movl	%r12d, %esi
	movq	%r14, %r12
	movq	-80(%rbp), %r14                 ## 8-byte Reload
	callq	_hclgevf_update_link_status
	movq	-96(%rbp), %rsi
	movq	%rbx, %rdi
	movl	%r15d, %edx
	callq	_hclgevf_update_speed_duplex
	jmp	LBB0_14
LBB0_11:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	4(%r15), %edi
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	callq	_set_bit
	movq	_HCLGEVF_RESET_PENDING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	callq	_set_bit
	movq	%rbx, %rdi
	callq	_hclgevf_reset_task_schedule
	jmp	LBB0_14
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	$8, %edx
	callq	_memcpy
	jmp	LBB0_14
LBB0_3:
	movq	40(%rbx), %rdi
	leaq	L_.str(%rip), %rsi
	callq	_dev_info
LBB0_15:
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
LJTI0_0:
	.long	L0_0_set_12
	.long	L0_0_set_7
	.long	L0_0_set_6
	.long	L0_0_set_11
	.end_data_region
                                        ## -- End function
	.comm	_HCLGEVF_STATE_CMD_DISABLE,4,2  ## @HCLGEVF_STATE_CMD_DISABLE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"vf crq need init in async\n"

	.comm	_HCLGEVF_RESET_PENDING,4,2      ## @HCLGEVF_RESET_PENDING
L_.str.1:                               ## @.str.1
	.asciz	"fetched unsupported(%d) message from arq\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hclgevf_mbx_async_handler      ; -- Begin function hclgevf_mbx_async_handler
	.p2align	2
_hclgevf_mbx_async_handler:             ; @hclgevf_mbx_async_handler
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #176
	.cfi_def_cfa_offset 176
	stp	x28, x27, [sp, #80]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #96]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #112]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #128]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #144]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #160]            ; 16-byte Folded Spill
	add	x29, sp, #160
	.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
	str	wzr, [x0]
	mov	x24, x0
	ldr	x26, [x24, #8]!
	ldr	x8, [x0, #16]
	cmp	x26, x8
	b.eq	LBB0_15
; %bb.1:
	mov	x19, x0
	add	x20, x0, #72
	add	x9, x0, #52
	add	x22, x0, #48
	add	x8, x0, #56
	stp	x8, x9, [sp, #16]               ; 16-byte Folded Spill
	add	x8, x0, #64
	str	x8, [sp, #8]                    ; 8-byte Folded Spill
	add	x25, x0, #32
Lloh0:
	adrp	x23, _HCLGEVF_STATE_CMD_DISABLE@GOTPAGE
Lloh1:
	ldr	x23, [x23, _HCLGEVF_STATE_CMD_DISABLE@GOTPAGEOFF]
Lloh2:
	adrp	x21, lJTI0_0@PAGE
Lloh3:
	add	x21, x21, lJTI0_0@PAGEOFF
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x0, [x19, #40]
Lloh4:
	adrp	x1, l_.str.1@PAGE
Lloh5:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_dev_err
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldp	q0, q1, [x24]
	stp	q0, q1, [sp, #32]
	add	x0, sp, #32
	bl	_hclge_mbx_head_ptr_move_arq
	mov	x0, x25
	bl	_atomic_dec
	ldr	x8, [x19, #16]
	cmp	x26, x8
	b.eq	LBB0_15
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x23]
	mov	x1, x20
	bl	_test_bit
	cbnz	x0, LBB0_14
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldp	x9, x8, [x19, #16]
	ldr	x27, [x8, x9, lsl #3]
	ldr	w2, [x27]
	sub	w8, w2, #128
	cmp	w8, #3
	b.hi	LBB0_2
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	adr	x9, LBB0_7
	ldrb	w10, [x21, x8]
	add	x9, x9, x10, lsl #2
	br	x9
LBB0_7:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	w1, [x27, #4]!
	mov	x0, x19
	mov	x2, x27
	mov	w3, #8
	bl	_hclgevf_update_port_base_vlan_info
	b	LBB0_3
LBB0_8:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x27, #4]
	add	x1, x27, #8
	cbz	w8, LBB0_12
; %bb.9:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x0, [sp, #16]                   ; 8-byte Folded Reload
	b	LBB0_13
LBB0_10:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w28, [x27, #4]
	add	x1, x27, #8
	add	x0, sp, #72
	mov	w2, #8
	bl	_memcpy
	ldr	w27, [x27, #16]
	mov	x0, x19
	mov	x1, x28
	bl	_hclgevf_update_link_status
	ldr	x1, [sp, #72]
	mov	x0, x19
	mov	x2, x27
	bl	_hclgevf_update_speed_duplex
	b	LBB0_3
LBB0_11:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w0, [x27, #4]
	ldr	x1, [sp, #24]                   ; 8-byte Folded Reload
	bl	_set_bit
Lloh6:
	adrp	x8, _HCLGEVF_RESET_PENDING@GOTPAGE
Lloh7:
	ldr	x8, [x8, _HCLGEVF_RESET_PENDING@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	mov	x1, x22
	bl	_set_bit
	mov	x0, x19
	bl	_hclgevf_reset_task_schedule
	b	LBB0_3
LBB0_12:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x0, [sp, #8]                    ; 8-byte Folded Reload
LBB0_13:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w2, #8
	bl	_memcpy
	b	LBB0_3
LBB0_14:
	ldr	x0, [x19, #40]
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_info
LBB0_15:
	ldp	x29, x30, [sp, #160]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #144]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #128]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #112]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #96]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #176
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_7-LBB0_7)>>2
	.byte	(LBB0_8-LBB0_7)>>2
	.byte	(LBB0_10-LBB0_7)>>2
	.byte	(LBB0_11-LBB0_7)>>2
                                        ; -- End function
	.comm	_HCLGEVF_STATE_CMD_DISABLE,4,2  ; @HCLGEVF_STATE_CMD_DISABLE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"vf crq need init in async\n"

	.comm	_HCLGEVF_RESET_PENDING,4,2      ; @HCLGEVF_RESET_PENDING
l_.str.1:                               ; @.str.1
	.asciz	"fetched unsupported(%d) message from arq\n"

.subsections_via_symbols
