	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sata_scr_valid                 ## -- Begin function sata_scr_valid
	.p2align	4, 0x90
_sata_scr_valid:                        ## @sata_scr_valid
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rax
	movq	_ATA_FLAG_SATA@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	je	LBB0_1
## %bb.2:
	movq	8(%rax), %rcx
	xorl	%eax, %eax
	cmpq	$0, (%rcx)
	setne	%al
	popq	%rbp
	retq
LBB0_1:
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ATA_FLAG_SATA,4,2              ## @ATA_FLAG_SATA
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sata_scr_valid                 ; -- Begin function sata_scr_valid
	.p2align	2
_sata_scr_valid:                        ; @sata_scr_valid
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0]
	ldr	w9, [x8]
Lloh0:
	adrp	x10, _ATA_FLAG_SATA@GOTPAGE
Lloh1:
	ldr	x10, [x10, _ATA_FLAG_SATA@GOTPAGEOFF]
Lloh2:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_2
; %bb.1:
	ldr	x8, [x8, #8]
	ldr	x8, [x8]
	cmp	x8, #0
	cset	w0, ne
	ret
LBB0_2:
	mov	w0, #0
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ATA_FLAG_SATA,4,2              ; @ATA_FLAG_SATA
.subsections_via_symbols
