	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ef4_mdio_set_mmd_lpower
_ef4_mdio_set_mmd_lpower:               ## @ef4_mdio_set_mmd_lpower
	.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
	movl	%edx, %r15d
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movq	_MDIO_STAT1@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%r15d, %esi
	callq	_ef4_mdio_read
	movl	%eax, %r12d
	movq	_drv@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%rbx), %edx
	leaq	L_.str(%rip), %rcx
	movq	%rbx, %rdi
	movl	%r15d, %r8d
	movl	%r14d, %r9d
	callq	_netif_vdbg
	movq	_MDIO_STAT1_LPOWERABLE@GOTPCREL(%rip), %rax
	testl	%r12d, (%rax)
	je	LBB0_1
## %bb.2:
	movq	_MDIO_CTRL1@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_MDIO_CTRL1_LPOWER@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rbx, %rdi
	movl	%r15d, %esi
	movl	%r14d, %r8d
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ef4_mdio_set_flag              ## TAILCALL
LBB0_1:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MDIO_STAT1,4,2                 ## @MDIO_STAT1
	.comm	_drv,4,2                        ## @drv
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Setting low power mode for MMD %d to %d\n"

	.comm	_MDIO_STAT1_LPOWERABLE,4,2      ## @MDIO_STAT1_LPOWERABLE
	.comm	_MDIO_CTRL1,4,2                 ## @MDIO_CTRL1
	.comm	_MDIO_CTRL1_LPOWER,4,2          ## @MDIO_CTRL1_LPOWER
	.no_dead_strip	_ef4_mdio_set_mmd_lpower
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ef4_mdio_set_mmd_lpower
_ef4_mdio_set_mmd_lpower:               ; @ef4_mdio_set_mmd_lpower
	.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
	mov	x20, x2
	mov	x19, x1
	mov	x21, x0
Lloh0:
	adrp	x8, _MDIO_STAT1@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MDIO_STAT1@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x1, x20
	bl	_ef4_mdio_read
	mov	x22, x0
Lloh3:
	adrp	x8, _drv@GOTPAGE
Lloh4:
	ldr	x8, [x8, _drv@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	ldr	w2, [x21]
Lloh6:
	adrp	x3, l_.str@PAGE
Lloh7:
	add	x3, x3, l_.str@PAGEOFF
	mov	x0, x21
	mov	x4, x20
	mov	x5, x19
	bl	_netif_vdbg
Lloh8:
	adrp	x8, _MDIO_STAT1_LPOWERABLE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _MDIO_STAT1_LPOWERABLE@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	tst	w8, w22
	b.eq	LBB0_2
; %bb.1:
Lloh11:
	adrp	x8, _MDIO_CTRL1@GOTPAGE
Lloh12:
	ldr	x8, [x8, _MDIO_CTRL1@GOTPAGEOFF]
Lloh13:
	ldr	w2, [x8]
Lloh14:
	adrp	x8, _MDIO_CTRL1_LPOWER@GOTPAGE
Lloh15:
	ldr	x8, [x8, _MDIO_CTRL1_LPOWER@GOTPAGEOFF]
Lloh16:
	ldr	w3, [x8]
	mov	x0, x21
	mov	x1, x20
	mov	x4, 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
	b	_ef4_mdio_set_flag
LBB0_2:
	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	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_MDIO_STAT1,4,2                 ; @MDIO_STAT1
	.comm	_drv,4,2                        ; @drv
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Setting low power mode for MMD %d to %d\n"

	.comm	_MDIO_STAT1_LPOWERABLE,4,2      ; @MDIO_STAT1_LPOWERABLE
	.comm	_MDIO_CTRL1,4,2                 ; @MDIO_CTRL1
	.comm	_MDIO_CTRL1_LPOWER,4,2          ; @MDIO_CTRL1_LPOWER
	.no_dead_strip	_ef4_mdio_set_mmd_lpower
.subsections_via_symbols
