	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ehea_nway_reset
_ehea_nway_reset:                       ## @ehea_nway_reset
	.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
	callq	_netdev_priv
	movq	%rax, %rbx
	movq	_EHEA_SPEED_AUTONEG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_ehea_set_portspeed
	movl	%eax, %r14d
	testl	%eax, %eax
	jne	LBB0_2
## %bb.1:
	movl	8(%rbx), %edi
	movl	4(%rbx), %edx
	cmpl	$1, (%rbx)
	leaq	L_.str.1(%rip), %rax
	leaq	L_.str.2(%rip), %rcx
	cmoveq	%rax, %rcx
	leaq	L_.str(%rip), %rsi
	callq	_netdev_info
LBB0_2:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EHEA_SPEED_AUTONEG,4,2         ## @EHEA_SPEED_AUTONEG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Port speed successfully set: %dMbps %s Duplex\n"

L_.str.1:                               ## @.str.1
	.asciz	"Full"

L_.str.2:                               ## @.str.2
	.asciz	"Half"

	.no_dead_strip	_ehea_nway_reset
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ehea_nway_reset
_ehea_nway_reset:                       ; @ehea_nway_reset
	.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
	bl	_netdev_priv
	mov	x20, x0
Lloh0:
	adrp	x8, _EHEA_SPEED_AUTONEG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EHEA_SPEED_AUTONEG@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_ehea_set_portspeed
	mov	x19, x0
	cbnz	w0, LBB0_2
; %bb.1:
	ldp	w2, w0, [x20, #4]
	ldr	w8, [x20]
Lloh3:
	adrp	x9, l_.str.2@PAGE
Lloh4:
	add	x9, x9, l_.str.2@PAGEOFF
Lloh5:
	adrp	x10, l_.str.1@PAGE
Lloh6:
	add	x10, x10, l_.str.1@PAGEOFF
	cmp	w8, #1
	csel	x3, x10, x9, eq
Lloh7:
	adrp	x1, l_.str@PAGE
Lloh8:
	add	x1, x1, l_.str@PAGEOFF
	bl	_netdev_info
LBB0_2:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_EHEA_SPEED_AUTONEG,4,2         ; @EHEA_SPEED_AUTONEG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Port speed successfully set: %dMbps %s Duplex\n"

l_.str.1:                               ; @.str.1
	.asciz	"Full"

l_.str.2:                               ; @.str.2
	.asciz	"Half"

	.no_dead_strip	_ehea_nway_reset
.subsections_via_symbols
