	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sxgbe_eee_init                 ## -- Begin function sxgbe_eee_init
	.p2align	4, 0x90
_sxgbe_eee_init:                        ## @sxgbe_eee_init
	.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
	xorl	%r14d, %r14d
	cmpq	$0, 32(%rdi)
	je	LBB0_3
## %bb.1:
	movq	%rdi, %rbx
	movq	40(%rdi), %rax
	movl	(%rax), %edi
	movl	$1, %esi
	callq	_phy_init_eee
	testq	%rax, %rax
	jne	LBB0_3
## %bb.2:
	movl	$1, (%rbx)
	leaq	24(%rbx), %r14
	movq	_sxgbe_eee_ctrl_timer@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_timer_setup
	movq	_eee_timer@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_SXGBE_LPI_TIMER
	movl	%eax, 24(%rbx)
	movq	%r14, %rdi
	callq	_add_timer
	movq	16(%rbx), %rax
	movq	(%rax), %rax
	movl	4(%rbx), %edx
	movl	8(%rbx), %edi
	movq	_SXGBE_DEFAULT_LPI_TIMER@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	callq	*(%rax)
	leaq	L_.str(%rip), %rdi
	callq	_pr_info
	movl	$1, %r14d
LBB0_3:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_sxgbe_eee_ctrl_timer,4,2       ## @sxgbe_eee_ctrl_timer
	.comm	_eee_timer,4,2                  ## @eee_timer
	.comm	_SXGBE_DEFAULT_LPI_TIMER,4,2    ## @SXGBE_DEFAULT_LPI_TIMER
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Energy-Efficient Ethernet initialized\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sxgbe_eee_init                 ; -- Begin function sxgbe_eee_init
	.p2align	2
_sxgbe_eee_init:                        ; @sxgbe_eee_init
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	ldr	x8, [x0, #32]
	cbz	x8, LBB0_2
; %bb.1:
	mov	x20, x0
	ldr	x8, [x0, #40]
	ldr	w0, [x8]
	mov	w19, #1
	mov	w1, #1
	bl	_phy_init_eee
	cbz	x0, LBB0_3
LBB0_2:
	mov	w19, #0
	b	LBB0_4
LBB0_3:
	str	w19, [x20]
	add	x21, x20, #24
Lloh0:
	adrp	x8, _sxgbe_eee_ctrl_timer@GOTPAGE
Lloh1:
	ldr	x8, [x8, _sxgbe_eee_ctrl_timer@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x21
	mov	w2, #0
	bl	_timer_setup
Lloh3:
	adrp	x8, _eee_timer@GOTPAGE
Lloh4:
	ldr	x8, [x8, _eee_timer@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_SXGBE_LPI_TIMER
	str	w0, [x20, #24]
	mov	x0, x21
	bl	_add_timer
	ldr	x8, [x20, #16]
	ldr	x8, [x8]
	ldr	x8, [x8]
Lloh6:
	adrp	x9, _SXGBE_DEFAULT_LPI_TIMER@GOTPAGE
Lloh7:
	ldr	x9, [x9, _SXGBE_DEFAULT_LPI_TIMER@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x9]
	ldp	w2, w0, [x20, #4]
	blr	x8
Lloh9:
	adrp	x0, l_.str@PAGE
Lloh10:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pr_info
LBB0_4:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_sxgbe_eee_ctrl_timer,4,2       ; @sxgbe_eee_ctrl_timer
	.comm	_eee_timer,4,2                  ; @eee_timer
	.comm	_SXGBE_DEFAULT_LPI_TIMER,4,2    ; @SXGBE_DEFAULT_LPI_TIMER
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Energy-Efficient Ethernet initialized\n"

.subsections_via_symbols
