	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ns2_drd_phy_poweroff
_ns2_drd_phy_poweroff:                  ## @ns2_drd_phy_poweroff
	.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
	callq	_phy_get_drvdata
	movq	(%rax), %rbx
	movq	8(%rbx), %rdi
	callq	_readl
	movq	_AFE_CORERDY_VDDC@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	notl	%edi
	andl	%eax, %edi
	movq	8(%rbx), %rsi
	callq	_writel
	movq	8(%rbx), %rdi
	callq	_readl
	movq	_DRD_DEV_MODE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	notl	%edi
	andl	%eax, %edi
	movq	8(%rbx), %rsi
	callq	_writel
	movq	_ICFG_FSM_CTRL@GOTPCREL(%rip), %r14
	movq	(%r14), %rdi
	addq	(%rbx), %rdi
	callq	_readl
	movq	_DRD_HOST_MODE@GOTPCREL(%rip), %rcx
	movq	_DRD_DEVICE_MODE@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edi
	orl	(%rcx), %edi
	movq	_ICFG_OFF_MODE@GOTPCREL(%rip), %rcx
	orl	(%rcx), %edi
	notl	%edi
	andl	%eax, %edi
	movq	(%r14), %rsi
	addq	(%rbx), %rsi
	callq	_writel
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AFE_CORERDY_VDDC,4,2           ## @AFE_CORERDY_VDDC
	.comm	_DRD_DEV_MODE,4,2               ## @DRD_DEV_MODE
	.comm	_ICFG_FSM_CTRL,8,3              ## @ICFG_FSM_CTRL
	.comm	_DRD_HOST_MODE,4,2              ## @DRD_HOST_MODE
	.comm	_DRD_DEVICE_MODE,4,2            ## @DRD_DEVICE_MODE
	.comm	_ICFG_OFF_MODE,4,2              ## @ICFG_OFF_MODE
	.no_dead_strip	_ns2_drd_phy_poweroff
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ns2_drd_phy_poweroff
_ns2_drd_phy_poweroff:                  ; @ns2_drd_phy_poweroff
	.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
	bl	_phy_get_drvdata
	ldr	x19, [x0]
	ldr	x0, [x19, #8]
	bl	_readl
Lloh0:
	adrp	x8, _AFE_CORERDY_VDDC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AFE_CORERDY_VDDC@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	bic	w0, w0, w8
	ldr	x1, [x19, #8]
	bl	_writel
	ldr	x0, [x19, #8]
	bl	_readl
Lloh3:
	adrp	x8, _DRD_DEV_MODE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _DRD_DEV_MODE@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	bic	w0, w0, w8
	ldr	x1, [x19, #8]
	bl	_writel
	ldr	x8, [x19]
Lloh6:
	adrp	x20, _ICFG_FSM_CTRL@GOTPAGE
Lloh7:
	ldr	x20, [x20, _ICFG_FSM_CTRL@GOTPAGEOFF]
	ldr	x9, [x20]
	add	x0, x9, x8
	bl	_readl
Lloh8:
	adrp	x8, _DRD_HOST_MODE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _DRD_HOST_MODE@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
Lloh11:
	adrp	x9, _DRD_DEVICE_MODE@GOTPAGE
Lloh12:
	ldr	x9, [x9, _DRD_DEVICE_MODE@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh14:
	adrp	x9, _ICFG_OFF_MODE@GOTPAGE
Lloh15:
	ldr	x9, [x9, _ICFG_OFF_MODE@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	orr	w8, w8, w9
	bic	w0, w0, w8
	ldr	x8, [x19]
	ldr	x9, [x20]
	add	x1, x9, x8
	bl	_writel
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_AFE_CORERDY_VDDC,4,2           ; @AFE_CORERDY_VDDC
	.comm	_DRD_DEV_MODE,4,2               ; @DRD_DEV_MODE
	.comm	_ICFG_FSM_CTRL,8,3              ; @ICFG_FSM_CTRL
	.comm	_DRD_HOST_MODE,4,2              ; @DRD_HOST_MODE
	.comm	_DRD_DEVICE_MODE,4,2            ; @DRD_DEVICE_MODE
	.comm	_ICFG_OFF_MODE,4,2              ; @ICFG_OFF_MODE
	.no_dead_strip	_ns2_drd_phy_poweroff
.subsections_via_symbols
