	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_stmmac_eee_init                ## -- Begin function stmmac_eee_init
	.p2align	4, 0x90
_stmmac_eee_init:                       ## @stmmac_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	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	16(%rdi), %rax
	movq	(%rax), %rax
	movq	_STMMAC_PCS_RGMII@GOTPCREL(%rip), %rcx
	xorl	%r15d, %r15d
	cmpq	(%rcx), %rax
	je	LBB0_11
## %bb.1:
	movq	_STMMAC_PCS_TBI@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_11
## %bb.2:
	movq	_STMMAC_PCS_RTBI@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_11
## %bb.3:
	movq	%rdi, %rbx
	cmpl	$0, 48(%rdi)
	je	LBB0_11
## %bb.4:
	movl	(%rbx), %r12d
	leaq	8(%rbx), %r14
	movq	%r14, %rdi
	callq	_mutex_lock
	cmpq	$0, 40(%rbx)
	movq	32(%rbx), %rax
	je	LBB0_5
## %bb.8:
	testq	%rax, %rax
	jne	LBB0_10
## %bb.9:
	leaq	24(%rbx), %r15
	movq	_stmmac_eee_ctrl_timer@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	xorl	%edx, %edx
	callq	_timer_setup
	movq	_eee_timer@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_STMMAC_LPI_T
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_mod_timer
	movq	16(%rbx), %rsi
	movq	_STMMAC_DEFAULT_LIT_LS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movl	%r12d, %ecx
	callq	_stmmac_set_eee_timer
LBB0_10:
	movq	%r14, %rdi
	callq	_mutex_unlock
	movl	4(%rbx), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_netdev_dbg
	movl	$1, %r15d
	jmp	LBB0_11
LBB0_5:
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	movl	4(%rbx), %edi
	leaq	L_.str(%rip), %rsi
	callq	_netdev_dbg
	leaq	24(%rbx), %rdi
	callq	_del_timer_sync
	movq	16(%rbx), %rsi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	movl	%r12d, %ecx
	callq	_stmmac_set_eee_timer
LBB0_7:
	movq	%r14, %rdi
	callq	_mutex_unlock
LBB0_11:
	movl	%r15d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_STMMAC_PCS_RGMII,8,3           ## @STMMAC_PCS_RGMII
	.comm	_STMMAC_PCS_TBI,8,3             ## @STMMAC_PCS_TBI
	.comm	_STMMAC_PCS_RTBI,8,3            ## @STMMAC_PCS_RTBI
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"disable EEE\n"

	.comm	_stmmac_eee_ctrl_timer,4,2      ## @stmmac_eee_ctrl_timer
	.comm	_eee_timer,4,2                  ## @eee_timer
	.comm	_STMMAC_DEFAULT_LIT_LS,4,2      ## @STMMAC_DEFAULT_LIT_LS
L_.str.1:                               ## @.str.1
	.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	_stmmac_eee_init                ; -- Begin function stmmac_eee_init
	.p2align	2
_stmmac_eee_init:                       ; @stmmac_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, #16]
	ldr	x8, [x8]
Lloh0:
	adrp	x9, _STMMAC_PCS_RGMII@GOTPAGE
Lloh1:
	ldr	x9, [x9, _STMMAC_PCS_RGMII@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
Lloh3:
	adrp	x10, _STMMAC_PCS_TBI@GOTPAGE
Lloh4:
	ldr	x10, [x10, _STMMAC_PCS_TBI@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
Lloh6:
	adrp	x11, _STMMAC_PCS_RTBI@GOTPAGE
Lloh7:
	ldr	x11, [x11, _STMMAC_PCS_RTBI@GOTPAGEOFF]
Lloh8:
	ldr	x11, [x11]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	ccmp	x8, x11, #4, ne
	b.eq	LBB0_9
; %bb.1:
	mov	x19, x0
	ldr	w8, [x0, #48]
	cbz	w8, LBB0_9
; %bb.2:
	ldr	w21, [x19]
	add	x20, x19, #8
	mov	x0, x20
	bl	_mutex_lock
	ldp	x8, x9, [x19, #32]
	cbz	x9, LBB0_6
; %bb.3:
	cbnz	x8, LBB0_5
; %bb.4:
	add	x22, x19, #24
Lloh9:
	adrp	x8, _stmmac_eee_ctrl_timer@GOTPAGE
Lloh10:
	ldr	x8, [x8, _stmmac_eee_ctrl_timer@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x0, x22
	mov	w2, #0
	bl	_timer_setup
Lloh12:
	adrp	x8, _eee_timer@GOTPAGE
Lloh13:
	ldr	x8, [x8, _eee_timer@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	bl	_STMMAC_LPI_T
	mov	x1, x0
	mov	x0, x22
	bl	_mod_timer
	ldr	x1, [x19, #16]
Lloh15:
	adrp	x8, _STMMAC_DEFAULT_LIT_LS@GOTPAGE
Lloh16:
	ldr	x8, [x8, _STMMAC_DEFAULT_LIT_LS@GOTPAGEOFF]
Lloh17:
	ldr	w2, [x8]
	mov	x0, x19
	mov	x3, x21
	bl	_stmmac_set_eee_timer
LBB0_5:
	mov	x0, x20
	bl	_mutex_unlock
	ldr	w0, [x19, #4]
Lloh18:
	adrp	x1, l_.str.1@PAGE
Lloh19:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_netdev_dbg
	mov	w0, #1
	b	LBB0_10
LBB0_6:
	cbz	x8, LBB0_8
; %bb.7:
	ldr	w0, [x19, #4]
Lloh20:
	adrp	x1, l_.str@PAGE
Lloh21:
	add	x1, x1, l_.str@PAGEOFF
	bl	_netdev_dbg
	add	x0, x19, #24
	bl	_del_timer_sync
	ldr	x1, [x19, #16]
	mov	x0, x19
	mov	w2, #0
	mov	x3, x21
	bl	_stmmac_set_eee_timer
LBB0_8:
	mov	x0, x20
	bl	_mutex_unlock
LBB0_9:
	mov	w0, #0
LBB0_10:
	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 AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_STMMAC_PCS_RGMII,8,3           ; @STMMAC_PCS_RGMII
	.comm	_STMMAC_PCS_TBI,8,3             ; @STMMAC_PCS_TBI
	.comm	_STMMAC_PCS_RTBI,8,3            ; @STMMAC_PCS_RTBI
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"disable EEE\n"

	.comm	_stmmac_eee_ctrl_timer,4,2      ; @stmmac_eee_ctrl_timer
	.comm	_eee_timer,4,2                  ; @eee_timer
	.comm	_STMMAC_DEFAULT_LIT_LS,4,2      ; @STMMAC_DEFAULT_LIT_LS
l_.str.1:                               ; @.str.1
	.asciz	"Energy-Efficient Ethernet initialized\n"

.subsections_via_symbols
