	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function emac_ethtool_get_settings
_emac_ethtool_get_settings:             ## @emac_ethtool_get_settings
	.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	%rsi, %r14
	callq	_netdev_priv
	movq	%rax, %rbx
	movl	32(%rax), %eax
	movl	%eax, 32(%r14)
	movq	_PORT_MII@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 28(%r14)
	movq	8(%rbx), %rax
	movq	%rax, (%r14)
	testq	%rax, %rax
	jns	LBB0_1
## %bb.2:
	movq	_XCVR_INTERNAL@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_XCVR_EXTERNAL@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %eax
	movl	%eax, 24(%r14)
	movq	%rbx, %rdi
	callq	_mutex_lock
	movups	16(%rbx), %xmm0
	movups	%xmm0, 8(%r14)
	movq	%rbx, %rdi
	callq	_mutex_unlock
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PORT_MII,4,2                   ## @PORT_MII
	.comm	_XCVR_EXTERNAL,4,2              ## @XCVR_EXTERNAL
	.comm	_XCVR_INTERNAL,4,2              ## @XCVR_INTERNAL
	.no_dead_strip	_emac_ethtool_get_settings
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function emac_ethtool_get_settings
_emac_ethtool_get_settings:             ; @emac_ethtool_get_settings
	.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	x19, x1
	bl	_netdev_priv
	mov	x20, x0
	ldr	w8, [x0, #32]
Lloh0:
	adrp	x9, _PORT_MII@GOTPAGE
Lloh1:
	ldr	x9, [x9, _PORT_MII@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #28]
	ldr	x8, [x0, #8]
	str	x8, [x19]
Lloh3:
	adrp	x9, _XCVR_EXTERNAL@GOTPAGE
Lloh4:
	ldr	x9, [x9, _XCVR_EXTERNAL@GOTPAGEOFF]
Lloh5:
	adrp	x10, _XCVR_INTERNAL@GOTPAGE
Lloh6:
	ldr	x10, [x10, _XCVR_INTERNAL@GOTPAGEOFF]
	cmp	x8, #0
	csel	x8, x10, x9, lt
	ldr	w8, [x8]
	str	w8, [x19, #24]
	bl	_mutex_lock
	ldr	q0, [x20, #16]
	stur	q0, [x19, #8]
	mov	x0, x20
	bl	_mutex_unlock
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_PORT_MII,4,2                   ; @PORT_MII
	.comm	_XCVR_EXTERNAL,4,2              ; @XCVR_EXTERNAL
	.comm	_XCVR_INTERNAL,4,2              ; @XCVR_INTERNAL
	.no_dead_strip	_emac_ethtool_get_settings
.subsections_via_symbols
