	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ata_phys_link_offline          ## -- Begin function ata_phys_link_offline
	.p2align	4, 0x90
_ata_phys_link_offline:                 ## @ata_phys_link_offline
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$16, %rsp
	movq	_SCR_STATUS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-4(%rbp), %rdx
	callq	_sata_scr_read
	testq	%rax, %rax
	jne	LBB0_3
## %bb.1:
	movl	-4(%rbp), %edi
	callq	_ata_sstatus_online
	testl	%eax, %eax
	je	LBB0_2
LBB0_3:
	xorl	%eax, %eax
LBB0_4:
	addq	$16, %rsp
	popq	%rbp
	retq
LBB0_2:
	movl	$1, %eax
	jmp	LBB0_4
	.cfi_endproc
                                        ## -- End function
	.comm	_SCR_STATUS,4,2                 ## @SCR_STATUS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ata_phys_link_offline          ; -- Begin function ata_phys_link_offline
	.p2align	2
_ata_phys_link_offline:                 ; @ata_phys_link_offline
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.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
Lloh0:
	adrp	x8, _SCR_STATUS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SCR_STATUS@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	sub	x2, x29, #4
	bl	_sata_scr_read
	cbnz	x0, LBB0_2
; %bb.1:
	ldur	w0, [x29, #-4]
	bl	_ata_sstatus_online
	cbz	w0, LBB0_4
LBB0_2:
	mov	w0, #0
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
LBB0_4:
	mov	w0, #1
	b	LBB0_3
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_SCR_STATUS,4,2                 ; @SCR_STATUS
.subsections_via_symbols
