	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hns3_lp_down
_hns3_lp_down:                          ## @hns3_lp_down
	.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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	xorl	%edx, %edx
	callq	_hns3_lp_setup
	movl	%eax, %ebx
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	movl	%ebx, %edx
	callq	_netdev_err
	jmp	LBB0_3
LBB0_2:
	movq	_HNS3_NIC_LB_SETUP_USEC@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leal	(%rdi,%rdi), %esi
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_usleep_range
LBB0_3:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"lb_setup return error: %d\n"

	.comm	_HNS3_NIC_LB_SETUP_USEC,4,2     ## @HNS3_NIC_LB_SETUP_USEC
	.no_dead_strip	_hns3_lp_down
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hns3_lp_down
_hns3_lp_down:                          ; @hns3_lp_down
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x0
	mov	w2, #0
	bl	_hns3_lp_setup
	mov	x19, x0
	cbz	w0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	mov	x2, x19
	bl	_netdev_err
	b	LBB0_3
LBB0_2:
Lloh2:
	adrp	x8, _HNS3_NIC_LB_SETUP_USEC@GOTPAGE
Lloh3:
	ldr	x8, [x8, _HNS3_NIC_LB_SETUP_USEC@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	lsl	w1, w0, #1
	bl	_usleep_range
LBB0_3:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"lb_setup return error: %d\n"

	.comm	_HNS3_NIC_LB_SETUP_USEC,4,2     ; @HNS3_NIC_LB_SETUP_USEC
	.no_dead_strip	_hns3_lp_down
.subsections_via_symbols
