	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function aq_ethtool_set_eee
_aq_ethtool_set_eee:                    ## @aq_ethtool_set_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, %r12
	movq	%rax, %rdi
	callq	_aq_nic_get_cfg
	movq	%rax, %r15
	movq	8(%r12), %rax
	cmpq	$0, (%rax)
	je	LBB0_1
## %bb.2:
	xorl	%edi, %edi
	cmpq	$0, 8(%rax)
	sete	%dil
	jmp	LBB0_3
LBB0_1:
	movl	$1, %edi
LBB0_3:
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_9
LBB0_5:
	movq	%r12, %rdi
	callq	_mutex_lock
	movq	8(%r12), %rax
	movl	4(%r12), %edi
	leaq	-40(%rbp), %rsi
	leaq	-48(%rbp), %rdx
	callq	*(%rax)
	movl	%eax, %ebx
	movq	%r12, %rdi
	callq	_mutex_unlock
	testl	%ebx, %ebx
	js	LBB0_9
## %bb.6:
	movq	(%r14), %rax
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	movq	-48(%rbp), %rax
LBB0_8:
	movq	%rax, -40(%rbp)
	movq	%rax, (%r15)
	movq	%r12, %rdi
	callq	_mutex_lock
	movq	8(%r12), %rax
	movl	4(%r12), %edi
	movq	-40(%rbp), %rsi
	callq	*8(%rax)
	movl	%eax, %ebx
	movq	%r12, %rdi
	callq	_mutex_unlock
LBB0_9:
	movl	%ebx, %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_set_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_set_eee
_aq_ethtool_set_eee:                    ; @aq_ethtool_set_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	x20, x1
	bl	_netdev_priv
	mov	x19, x0
	bl	_aq_nic_get_cfg
	mov	x21, x0
	ldr	x8, [x19, #8]
	ldr	x9, [x8]
	cbz	x9, LBB0_3
; %bb.1:
	ldr	x8, [x8, #8]
	cmp	x8, #0
	cset	w0, eq
	bl	_unlikely
	cbz	x0, LBB0_4
LBB0_2:
Lloh0:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w22, w8
	b	LBB0_6
LBB0_3:
	mov	w0, #1
	bl	_unlikely
	cbnz	x0, LBB0_2
LBB0_4:
	mov	x0, x19
	bl	_mutex_lock
	ldr	x8, [x19, #8]
	ldr	x8, [x8]
	ldr	w0, [x19, #4]
	add	x1, sp, #8
	mov	x2, sp
	blr	x8
	mov	x22, x0
	mov	x0, x19
	bl	_mutex_unlock
	tbnz	w22, #31, LBB0_6
; %bb.5:
	ldr	x8, [x20]
	ldr	x9, [sp]
	cmp	x8, #0
	csel	x8, xzr, x9, eq
	str	x8, [sp, #8]
	str	x8, [x21]
	mov	x0, x19
	bl	_mutex_lock
	ldr	x8, [x19, #8]
	ldr	x8, [x8, #8]
	ldr	w0, [x19, #4]
	ldr	x1, [sp, #8]
	blr	x8
	mov	x22, x0
	mov	x0, x19
	bl	_mutex_unlock
LBB0_6:
	mov	x0, x22
	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_set_eee
.subsections_via_symbols
