	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ixgbe_set_eee
_ixgbe_set_eee:                         ## @ixgbe_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	$32, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %r12
	callq	_netdev_priv
	movq	%rax, %r14
	movq	_IXGBE_FLAG2_EEE_CAPABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r14)
	je	LBB0_1
## %bb.3:
	leaq	-64(%rbp), %rbx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$32, %edx
	callq	_memset
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_ixgbe_get_eee
	testl	%eax, %eax
	jne	LBB0_21
## %bb.4:
	movq	-64(%rbp), %rdx
	movq	(%r15), %rcx
	testq	%rdx, %rdx
	je	LBB0_13
## %bb.5:
	testq	%rcx, %rcx
	jne	LBB0_13
## %bb.6:
	movq	-56(%rbp), %rax
	cmpq	8(%r15), %rax
	jne	LBB0_7
## %bb.9:
	movq	-48(%rbp), %rax
	cmpq	16(%r15), %rax
	jne	LBB0_10
## %bb.11:
	movq	-40(%rbp), %rax
	cmpq	24(%r15), %rax
	je	LBB0_16
## %bb.12:
	movq	_drv@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	jmp	LBB0_8
LBB0_1:
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rcx
	jmp	LBB0_2
LBB0_13:
	xorl	%eax, %eax
	cmpq	%rcx, %rdx
	je	LBB0_21
## %bb.14:
	testq	%rcx, %rcx
	je	LBB0_16
## %bb.15:
	movq	_IXGBE_FLAG2_EEE_ENABLED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%r14)
	movq	16(%r14), %rax
	jmp	LBB0_17
LBB0_7:
	movq	_drv@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	jmp	LBB0_8
LBB0_16:
	movq	_IXGBE_FLAG2_EEE_ENABLED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, (%r14)
	xorl	%eax, %eax
LBB0_17:
	movq	%rax, 8(%r14)
	movq	%r12, %rdi
	callq	_netif_running
	movq	%r14, %rdi
	testq	%rax, %rax
	je	LBB0_19
## %bb.18:
	callq	_ixgbe_reinit_locked
	jmp	LBB0_20
LBB0_10:
	movq	_drv@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
LBB0_8:
	callq	_e_err
	movq	_EINVAL@GOTPCREL(%rip), %rcx
LBB0_2:
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_21:
	addq	$32, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_19:
	callq	_ixgbe_reset
LBB0_20:
	xorl	%eax, %eax
	jmp	LBB0_21
	.cfi_endproc
                                        ## -- End function
	.comm	_IXGBE_FLAG2_EEE_CAPABLE,4,2    ## @IXGBE_FLAG2_EEE_CAPABLE
	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
	.comm	_drv,4,2                        ## @drv
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Setting EEE tx-lpi is not supported\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
L_.str.1:                               ## @.str.1
	.asciz	"Setting EEE Tx LPI timer is not supported\n"

L_.str.2:                               ## @.str.2
	.asciz	"Setting EEE advertised speeds is not supported\n"

	.comm	_IXGBE_FLAG2_EEE_ENABLED,4,2    ## @IXGBE_FLAG2_EEE_ENABLED
	.no_dead_strip	_ixgbe_set_eee
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ixgbe_set_eee
_ixgbe_set_eee:                         ; @ixgbe_set_eee
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x21, x1
	mov	x20, x0
	bl	_netdev_priv
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _IXGBE_FLAG2_EEE_CAPABLE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _IXGBE_FLAG2_EEE_CAPABLE@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_8
; %bb.1:
	mov	x19, x0
	mov	x0, sp
	mov	w1, #0
	mov	w2, #32
	bl	_memset
	mov	x1, sp
	mov	x0, x20
	bl	_ixgbe_get_eee
	cbnz	w0, LBB0_21
; %bb.2:
	ldr	x9, [sp]
	ldr	x8, [x21]
	cbz	x9, LBB0_9
; %bb.3:
	cbnz	x8, LBB0_9
; %bb.4:
	ldr	x8, [sp, #8]
	ldr	x9, [x21, #8]
	cmp	x8, x9
	b.ne	LBB0_12
; %bb.5:
	ldr	x8, [sp, #16]
	ldr	x9, [x21, #16]
	cmp	x8, x9
	b.ne	LBB0_16
; %bb.6:
	ldr	x8, [sp, #24]
	ldr	x9, [x21, #24]
	cmp	x8, x9
	b.eq	LBB0_13
; %bb.7:
Lloh3:
	adrp	x8, _drv@GOTPAGE
Lloh4:
	ldr	x8, [x8, _drv@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
Lloh6:
	adrp	x1, l_.str.2@PAGE
Lloh7:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_17
LBB0_8:
Lloh8:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh9:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
	b	LBB0_18
LBB0_9:
	cmp	x9, x8
	b.eq	LBB0_20
; %bb.10:
	cbz	x8, LBB0_13
; %bb.11:
Lloh10:
	adrp	x8, _IXGBE_FLAG2_EEE_ENABLED@GOTPAGE
Lloh11:
	ldr	x8, [x8, _IXGBE_FLAG2_EEE_ENABLED@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	ldr	w9, [x19]
	orr	w8, w9, w8
	str	w8, [x19]
	ldr	x8, [x19, #16]
	b	LBB0_14
LBB0_12:
Lloh13:
	adrp	x8, _drv@GOTPAGE
Lloh14:
	ldr	x8, [x8, _drv@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
Lloh16:
	adrp	x1, l_.str@PAGE
Lloh17:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_17
LBB0_13:
	mov	x8, #0
Lloh18:
	adrp	x9, _IXGBE_FLAG2_EEE_ENABLED@GOTPAGE
Lloh19:
	ldr	x9, [x9, _IXGBE_FLAG2_EEE_ENABLED@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	ldr	w10, [x19]
	bic	w9, w10, w9
	str	w9, [x19]
LBB0_14:
	str	x8, [x19, #8]
	mov	x0, x20
	bl	_netif_running
	cbz	x0, LBB0_19
; %bb.15:
	mov	x0, x19
	bl	_ixgbe_reinit_locked
	b	LBB0_20
LBB0_16:
Lloh21:
	adrp	x8, _drv@GOTPAGE
Lloh22:
	ldr	x8, [x8, _drv@GOTPAGEOFF]
Lloh23:
	ldr	w0, [x8]
Lloh24:
	adrp	x1, l_.str.1@PAGE
Lloh25:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_17:
	bl	_e_err
Lloh26:
	adrp	x8, _EINVAL@GOTPAGE
Lloh27:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_18:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_21
LBB0_19:
	mov	x0, x19
	bl	_ixgbe_reset
LBB0_20:
	mov	w0, #0
LBB0_21:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh26, Lloh27
	.cfi_endproc
                                        ; -- End function
	.comm	_IXGBE_FLAG2_EEE_CAPABLE,4,2    ; @IXGBE_FLAG2_EEE_CAPABLE
	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.comm	_drv,4,2                        ; @drv
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Setting EEE tx-lpi is not supported\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
l_.str.1:                               ; @.str.1
	.asciz	"Setting EEE Tx LPI timer is not supported\n"

l_.str.2:                               ; @.str.2
	.asciz	"Setting EEE advertised speeds is not supported\n"

	.comm	_IXGBE_FLAG2_EEE_ENABLED,4,2    ; @IXGBE_FLAG2_EEE_ENABLED
	.no_dead_strip	_ixgbe_set_eee
.subsections_via_symbols
