	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function at803x_suspend
_at803x_suspend:                        ## @at803x_suspend
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	_AT803X_INTR_ENABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_phy_read
	movq	_AT803X_INTR_ENABLE_WOL@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	jne	LBB0_1
## %bb.2:
	movq	_BMCR_PDOWN@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_BMCR_ISOLATE@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %ecx
	movq	_MII_BMCR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_phy_modify
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AT803X_INTR_ENABLE,4,2         ## @AT803X_INTR_ENABLE
	.comm	_AT803X_INTR_ENABLE_WOL,4,2     ## @AT803X_INTR_ENABLE_WOL
	.comm	_BMCR_ISOLATE,4,2               ## @BMCR_ISOLATE
	.comm	_BMCR_PDOWN,4,2                 ## @BMCR_PDOWN
	.comm	_MII_BMCR,4,2                   ## @MII_BMCR
	.no_dead_strip	_at803x_suspend
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function at803x_suspend
_at803x_suspend:                        ; @at803x_suspend
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x8, _AT803X_INTR_ENABLE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AT803X_INTR_ENABLE@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_phy_read
Lloh3:
	adrp	x8, _AT803X_INTR_ENABLE_WOL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _AT803X_INTR_ENABLE_WOL@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _BMCR_PDOWN@GOTPAGE
Lloh7:
	ldr	x9, [x9, _BMCR_PDOWN@GOTPAGEOFF]
Lloh8:
	adrp	x10, _BMCR_ISOLATE@GOTPAGE
Lloh9:
	ldr	x10, [x10, _BMCR_ISOLATE@GOTPAGEOFF]
	tst	w8, w0
	csel	x8, x9, x10, eq
	ldr	w3, [x8]
Lloh10:
	adrp	x8, _MII_BMCR@GOTPAGE
Lloh11:
	ldr	x8, [x8, _MII_BMCR@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	bl	_phy_modify
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_AT803X_INTR_ENABLE,4,2         ; @AT803X_INTR_ENABLE
	.comm	_AT803X_INTR_ENABLE_WOL,4,2     ; @AT803X_INTR_ENABLE_WOL
	.comm	_BMCR_ISOLATE,4,2               ; @BMCR_ISOLATE
	.comm	_BMCR_PDOWN,4,2                 ; @BMCR_PDOWN
	.comm	_MII_BMCR,4,2                   ; @MII_BMCR
	.no_dead_strip	_at803x_suspend
.subsections_via_symbols
