	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fsl_sata_pm
_fsl_sata_pm:                           ## @fsl_sata_pm
	.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
	cmpq	$0, (%rdi)
	je	LBB0_1
## %bb.5:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_1:
	movq	%rdi, %rbx
	movl	12(%rdi), %edi
	movq	_FSL_SATA_P_PCC@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	callq	_ATA_INL
	movq	_FSL_SATA_PCC_LPB_EN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	notl	%edx
	andl	%eax, %edx
	movl	12(%rbx), %edi
	cmpl	$4, 8(%rbx)
	jne	LBB0_2
## %bb.3:
	movq	_FSL_SATA_P_PCC_PARTIAL@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_2:
	movq	_FSL_SATA_P_PCC_SLUMBER@GOTPCREL(%rip), %rax
LBB0_4:
	orl	(%rax), %edx
	movl	(%r14), %esi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_ATA_OUTL                       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_FSL_SATA_P_PCC,4,2             ## @FSL_SATA_P_PCC
	.comm	_FSL_SATA_PCC_LPB_EN,4,2        ## @FSL_SATA_PCC_LPB_EN
	.comm	_FSL_SATA_P_PCC_PARTIAL,4,2     ## @FSL_SATA_P_PCC_PARTIAL
	.comm	_FSL_SATA_P_PCC_SLUMBER,4,2     ## @FSL_SATA_P_PCC_SLUMBER
	.no_dead_strip	_fsl_sata_pm
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fsl_sata_pm
_fsl_sata_pm:                           ; @fsl_sata_pm
	.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
	ldr	x8, [x0]
	cbz	x8, LBB0_2
; %bb.1:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_2:
	mov	x19, x0
	ldr	w0, [x0, #12]
Lloh0:
	adrp	x20, _FSL_SATA_P_PCC@GOTPAGE
Lloh1:
	ldr	x20, [x20, _FSL_SATA_P_PCC@GOTPAGEOFF]
	ldr	w1, [x20]
	bl	_ATA_INL
Lloh2:
	adrp	x8, _FSL_SATA_PCC_LPB_EN@GOTPAGE
Lloh3:
	ldr	x8, [x8, _FSL_SATA_PCC_LPB_EN@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	bic	w8, w0, w8
Lloh5:
	adrp	x9, _FSL_SATA_P_PCC_PARTIAL@GOTPAGE
Lloh6:
	ldr	x9, [x9, _FSL_SATA_P_PCC_PARTIAL@GOTPAGEOFF]
Lloh7:
	adrp	x10, _FSL_SATA_P_PCC_SLUMBER@GOTPAGE
Lloh8:
	ldr	x10, [x10, _FSL_SATA_P_PCC_SLUMBER@GOTPAGEOFF]
	ldp	w11, w0, [x19, #8]
	cmp	w11, #4
	csel	x9, x9, x10, eq
	ldr	w9, [x9]
	orr	w2, w9, w8
	ldr	w1, [x20]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_ATA_OUTL
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_FSL_SATA_P_PCC,4,2             ; @FSL_SATA_P_PCC
	.comm	_FSL_SATA_PCC_LPB_EN,4,2        ; @FSL_SATA_PCC_LPB_EN
	.comm	_FSL_SATA_P_PCC_PARTIAL,4,2     ; @FSL_SATA_P_PCC_PARTIAL
	.comm	_FSL_SATA_P_PCC_SLUMBER,4,2     ; @FSL_SATA_P_PCC_SLUMBER
	.no_dead_strip	_fsl_sata_pm
.subsections_via_symbols
