	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function aq_ethtool_get_eee
_aq_ethtool_get_eee:                    ## @aq_ethtool_get_eee
	.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	%rsi, %r14
	callq	_netdev_priv
	movq	%rax, %r15
	movq	16(%rax), %rax
	cmpq	$0, (%rax)
	je	LBB0_1
## %bb.2:
	movq	%r15, %rbx
	addq	$8, %rbx
	movq	%rbx, %rdi
	callq	_mutex_lock
	movq	16(%r15), %rax
	movl	12(%r15), %edi
	leaq	-40(%rbp), %rsi
	leaq	-36(%rbp), %rdx
	callq	*(%rax)
	movl	%eax, %r12d
	movq	%rbx, %rdi
	callq	_mutex_unlock
	testl	%r12d, %r12d
	js	LBB0_7
## %bb.3:
	movl	-36(%rbp), %edi
	callq	_eee_mask_to_ethtool_mask
	movl	%eax, (%r14)
	cmpq	$0, (%r15)
	je	LBB0_5
## %bb.4:
	movl	%eax, 4(%r14)
LBB0_5:
	movl	-40(%rbp), %edi
	callq	_eee_mask_to_ethtool_mask
	movl	%eax, 8(%r14)
	movl	4(%r14), %ecx
	xorl	%edx, %edx
	testl	%ecx, %ecx
	setne	%dl
	movl	%edx, 12(%r14)
	movl	%edx, 16(%r14)
	xorl	%r12d, %r12d
	testl	%eax, %ecx
	je	LBB0_7
## %bb.6:
	movl	$1, 20(%r14)
	jmp	LBB0_7
LBB0_1:
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rax
	xorl	%r12d, %r12d
	subl	(%rax), %r12d
LBB0_7:
	movl	%r12d, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
	.no_dead_strip	_aq_ethtool_get_eee
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function aq_ethtool_get_eee
_aq_ethtool_get_eee:                    ; @aq_ethtool_get_eee
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x1
	bl	_netdev_priv
	ldr	x8, [x0, #16]
	ldr	x8, [x8]
	cbz	x8, LBB0_6
; %bb.1:
	mov	x20, x0
	add	x22, x0, #8
	mov	x0, x22
	bl	_mutex_lock
	ldr	x8, [x20, #16]
	ldr	x8, [x8]
	ldr	w0, [x20, #12]
	add	x1, sp, #12
	add	x2, sp, #8
	blr	x8
	mov	x21, x0
	mov	x0, x22
	bl	_mutex_unlock
	tbnz	w21, #31, LBB0_8
; %bb.2:
	ldr	w0, [sp, #8]
	bl	_eee_mask_to_ethtool_mask
	str	w0, [x19]
	ldr	x8, [x20]
	cbz	x8, LBB0_4
; %bb.3:
	str	w0, [x19, #4]
LBB0_4:
	ldr	w0, [sp, #12]
	bl	_eee_mask_to_ethtool_mask
	ldr	w8, [x19, #4]
	cmp	w8, #0
	cset	w9, ne
	stp	w0, w9, [x19, #8]
	str	w9, [x19, #16]
	tst	w8, w0
	b.eq	LBB0_7
; %bb.5:
	mov	w21, #0
	mov	w8, #1
	str	w8, [x19, #20]
	b	LBB0_8
LBB0_6:
Lloh0:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w21, w8
	b	LBB0_8
LBB0_7:
	mov	w21, #0
LBB0_8:
	mov	x0, x21
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.no_dead_strip	_aq_ethtool_get_eee
.subsections_via_symbols
