	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hclgevf_update_link_mode
_hclgevf_update_link_mode:              ## @hclgevf_update_link_mode
	.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	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movl	$0, -36(%rbp)
	movq	_HCLGE_MBX_GET_LINK_MODE@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	leaq	-40(%rbp), %r12
	leaq	-36(%rbp), %r14
	xorl	%edx, %edx
	movq	%r14, %rcx
	movl	$4, %r8d
	xorl	%r9d, %r9d
	pushq	$4
	pushq	%r12
	callq	_hclgevf_send_mbx_msg
	addq	$16, %rsp
	movl	$1, -36(%rbp)
	movl	(%r15), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	movq	%r14, %rcx
	movl	$4, %r8d
	xorl	%r9d, %r9d
	pushq	$4
	pushq	%r12
	callq	_hclgevf_send_mbx_msg
	addq	$32, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HCLGE_MBX_GET_LINK_MODE,4,2    ## @HCLGE_MBX_GET_LINK_MODE
	.comm	_HCLGEVF_ADVERTISING,4,2        ## @HCLGEVF_ADVERTISING
	.comm	_HCLGEVF_SUPPORTED,4,2          ## @HCLGEVF_SUPPORTED
	.no_dead_strip	_hclgevf_update_link_mode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hclgevf_update_link_mode
_hclgevf_update_link_mode:              ; @hclgevf_update_link_mode
	.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, x0
	str	wzr, [sp, #12]
Lloh0:
	adrp	x20, _HCLGE_MBX_GET_LINK_MODE@GOTPAGE
Lloh1:
	ldr	x20, [x20, _HCLGE_MBX_GET_LINK_MODE@GOTPAGEOFF]
	ldr	w1, [x20]
	add	x3, sp, #12
	add	x6, sp, #8
	mov	w2, #0
	mov	w4, #4
	mov	w5, #0
	mov	w7, #4
	bl	_hclgevf_send_mbx_msg
	mov	w8, #1
	str	w8, [sp, #12]
	ldr	w1, [x20]
	add	x3, sp, #12
	add	x6, sp, #8
	mov	x0, x19
	mov	w2, #0
	mov	w4, #4
	mov	w5, #0
	mov	w7, #4
	bl	_hclgevf_send_mbx_msg
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_HCLGE_MBX_GET_LINK_MODE,4,2    ; @HCLGE_MBX_GET_LINK_MODE
	.comm	_HCLGEVF_ADVERTISING,4,2        ; @HCLGEVF_ADVERTISING
	.comm	_HCLGEVF_SUPPORTED,4,2          ; @HCLGEVF_SUPPORTED
	.no_dead_strip	_hclgevf_update_link_mode
.subsections_via_symbols
