	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sata_powerdown
_sata_powerdown:                        ## @sata_powerdown
	.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
	movq	%rdi, %rbx
	movq	_XUSB_PADCTL_USB3_PAD_MUX@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	callq	_RD4
	movq	_USB3_PAD_MUX_SATA_IDDQ_DISABLE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	notl	%edx
	andl	%eax, %edx
	movl	(%r14), %esi
	movq	%rbx, %rdi
	callq	_WR4
	movq	_XUSB_PADCTL_IOPHY_PLL_S0_CTL1@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	%rbx, %rdi
	callq	_RD4
	movq	_IOPHY_PLL_S0_CTL1_PLL_RST_L@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	notl	%edx
	andl	%eax, %edx
	movl	(%r14), %esi
	movq	%rbx, %rdi
	callq	_WR4
	movl	$100, %edi
	callq	_DELAY
	movl	(%r14), %esi
	movq	%rbx, %rdi
	callq	_RD4
	movq	_IOPHY_PLL_S0_CTL1_PLL1_MODE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	notl	%edx
	andl	%eax, %edx
	movl	(%r14), %esi
	movq	%rbx, %rdi
	callq	_WR4
	movl	$100, %edi
	callq	_DELAY
	movl	(%r14), %esi
	movq	%rbx, %rdi
	callq	_RD4
	movq	_IOPHY_PLL_S0_CTL1_PLL_PWR_OVRD@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_IOPHY_PLL_S0_CTL1_PLL_IDDQ@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	(%r14), %esi
	movq	%rbx, %rdi
	movl	%eax, %edx
	callq	_WR4
	movl	$100, %edi
	callq	_DELAY
	movq	_XUSB_PADCTL_IOPHY_MISC_PAD_S0_CTL1@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	%rbx, %rdi
	callq	_RD4
	movq	_IOPHY_MISC_PAD_S0_CTL1_IDDQ_OVRD@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_IOPHY_MISC_PAD_S0_CTL1_IDDQ@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	(%r14), %esi
	movq	%rbx, %rdi
	movl	%eax, %edx
	callq	_WR4
	movl	$100, %edi
	callq	_DELAY
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_XUSB_PADCTL_USB3_PAD_MUX,4,2   ## @XUSB_PADCTL_USB3_PAD_MUX
	.comm	_USB3_PAD_MUX_SATA_IDDQ_DISABLE,4,2 ## @USB3_PAD_MUX_SATA_IDDQ_DISABLE
	.comm	_XUSB_PADCTL_IOPHY_PLL_S0_CTL1,4,2 ## @XUSB_PADCTL_IOPHY_PLL_S0_CTL1
	.comm	_IOPHY_PLL_S0_CTL1_PLL_RST_L,4,2 ## @IOPHY_PLL_S0_CTL1_PLL_RST_L
	.comm	_IOPHY_PLL_S0_CTL1_PLL1_MODE,4,2 ## @IOPHY_PLL_S0_CTL1_PLL1_MODE
	.comm	_IOPHY_PLL_S0_CTL1_PLL_PWR_OVRD,4,2 ## @IOPHY_PLL_S0_CTL1_PLL_PWR_OVRD
	.comm	_IOPHY_PLL_S0_CTL1_PLL_IDDQ,4,2 ## @IOPHY_PLL_S0_CTL1_PLL_IDDQ
	.comm	_XUSB_PADCTL_IOPHY_MISC_PAD_S0_CTL1,4,2 ## @XUSB_PADCTL_IOPHY_MISC_PAD_S0_CTL1
	.comm	_IOPHY_MISC_PAD_S0_CTL1_IDDQ_OVRD,4,2 ## @IOPHY_MISC_PAD_S0_CTL1_IDDQ_OVRD
	.comm	_IOPHY_MISC_PAD_S0_CTL1_IDDQ,4,2 ## @IOPHY_MISC_PAD_S0_CTL1_IDDQ
	.no_dead_strip	_sata_powerdown
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sata_powerdown
_sata_powerdown:                        ; @sata_powerdown
	.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	x20, _XUSB_PADCTL_USB3_PAD_MUX@GOTPAGE
Lloh1:
	ldr	x20, [x20, _XUSB_PADCTL_USB3_PAD_MUX@GOTPAGEOFF]
	ldr	w1, [x20]
	bl	_RD4
Lloh2:
	adrp	x8, _USB3_PAD_MUX_SATA_IDDQ_DISABLE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _USB3_PAD_MUX_SATA_IDDQ_DISABLE@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	bic	w2, w0, w8
	ldr	w1, [x20]
	mov	x0, x19
	bl	_WR4
Lloh5:
	adrp	x20, _XUSB_PADCTL_IOPHY_PLL_S0_CTL1@GOTPAGE
Lloh6:
	ldr	x20, [x20, _XUSB_PADCTL_IOPHY_PLL_S0_CTL1@GOTPAGEOFF]
	ldr	w1, [x20]
	mov	x0, x19
	bl	_RD4
Lloh7:
	adrp	x8, _IOPHY_PLL_S0_CTL1_PLL_RST_L@GOTPAGE
Lloh8:
	ldr	x8, [x8, _IOPHY_PLL_S0_CTL1_PLL_RST_L@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	bic	w2, w0, w8
	ldr	w1, [x20]
	mov	x0, x19
	bl	_WR4
	mov	w0, #100
	bl	_DELAY
	ldr	w1, [x20]
	mov	x0, x19
	bl	_RD4
Lloh10:
	adrp	x8, _IOPHY_PLL_S0_CTL1_PLL1_MODE@GOTPAGE
Lloh11:
	ldr	x8, [x8, _IOPHY_PLL_S0_CTL1_PLL1_MODE@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	bic	w2, w0, w8
	ldr	w1, [x20]
	mov	x0, x19
	bl	_WR4
	mov	w0, #100
	bl	_DELAY
	ldr	w1, [x20]
	mov	x0, x19
	bl	_RD4
Lloh13:
	adrp	x8, _IOPHY_PLL_S0_CTL1_PLL_PWR_OVRD@GOTPAGE
Lloh14:
	ldr	x8, [x8, _IOPHY_PLL_S0_CTL1_PLL_PWR_OVRD@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	orr	w8, w8, w0
Lloh16:
	adrp	x9, _IOPHY_PLL_S0_CTL1_PLL_IDDQ@GOTPAGE
Lloh17:
	ldr	x9, [x9, _IOPHY_PLL_S0_CTL1_PLL_IDDQ@GOTPAGEOFF]
Lloh18:
	ldr	w9, [x9]
	orr	w2, w8, w9
	ldr	w1, [x20]
	mov	x0, x19
	bl	_WR4
	mov	w0, #100
	bl	_DELAY
Lloh19:
	adrp	x20, _XUSB_PADCTL_IOPHY_MISC_PAD_S0_CTL1@GOTPAGE
Lloh20:
	ldr	x20, [x20, _XUSB_PADCTL_IOPHY_MISC_PAD_S0_CTL1@GOTPAGEOFF]
	ldr	w1, [x20]
	mov	x0, x19
	bl	_RD4
Lloh21:
	adrp	x8, _IOPHY_MISC_PAD_S0_CTL1_IDDQ_OVRD@GOTPAGE
Lloh22:
	ldr	x8, [x8, _IOPHY_MISC_PAD_S0_CTL1_IDDQ_OVRD@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
	orr	w8, w8, w0
Lloh24:
	adrp	x9, _IOPHY_MISC_PAD_S0_CTL1_IDDQ@GOTPAGE
Lloh25:
	ldr	x9, [x9, _IOPHY_MISC_PAD_S0_CTL1_IDDQ@GOTPAGEOFF]
Lloh26:
	ldr	w9, [x9]
	orr	w2, w8, w9
	ldr	w1, [x20]
	mov	x0, x19
	bl	_WR4
	mov	w0, #100
	bl	_DELAY
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_XUSB_PADCTL_USB3_PAD_MUX,4,2   ; @XUSB_PADCTL_USB3_PAD_MUX
	.comm	_USB3_PAD_MUX_SATA_IDDQ_DISABLE,4,2 ; @USB3_PAD_MUX_SATA_IDDQ_DISABLE
	.comm	_XUSB_PADCTL_IOPHY_PLL_S0_CTL1,4,2 ; @XUSB_PADCTL_IOPHY_PLL_S0_CTL1
	.comm	_IOPHY_PLL_S0_CTL1_PLL_RST_L,4,2 ; @IOPHY_PLL_S0_CTL1_PLL_RST_L
	.comm	_IOPHY_PLL_S0_CTL1_PLL1_MODE,4,2 ; @IOPHY_PLL_S0_CTL1_PLL1_MODE
	.comm	_IOPHY_PLL_S0_CTL1_PLL_PWR_OVRD,4,2 ; @IOPHY_PLL_S0_CTL1_PLL_PWR_OVRD
	.comm	_IOPHY_PLL_S0_CTL1_PLL_IDDQ,4,2 ; @IOPHY_PLL_S0_CTL1_PLL_IDDQ
	.comm	_XUSB_PADCTL_IOPHY_MISC_PAD_S0_CTL1,4,2 ; @XUSB_PADCTL_IOPHY_MISC_PAD_S0_CTL1
	.comm	_IOPHY_MISC_PAD_S0_CTL1_IDDQ_OVRD,4,2 ; @IOPHY_MISC_PAD_S0_CTL1_IDDQ_OVRD
	.comm	_IOPHY_MISC_PAD_S0_CTL1_IDDQ,4,2 ; @IOPHY_MISC_PAD_S0_CTL1_IDDQ
	.no_dead_strip	_sata_powerdown
.subsections_via_symbols
