	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nv_swncq_qc_prep
_nv_swncq_qc_prep:                      ## @nv_swncq_qc_prep
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	8(%rdi), %rax
	movq	_ATA_PROT_NCQ@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_3
## %bb.1:
	movq	_ATA_QCFLAG_DMAMAP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rdi)
	je	LBB0_2
## %bb.4:
	popq	%rbp
	jmp	_nv_swncq_fill_sg               ## TAILCALL
LBB0_3:
	popq	%rbp
	jmp	_ata_sff_qc_prep                ## TAILCALL
LBB0_2:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ATA_PROT_NCQ,8,3               ## @ATA_PROT_NCQ
	.comm	_ATA_QCFLAG_DMAMAP,4,2          ## @ATA_QCFLAG_DMAMAP
	.no_dead_strip	_nv_swncq_qc_prep
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nv_swncq_qc_prep
_nv_swncq_qc_prep:                      ; @nv_swncq_qc_prep
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0, #8]
Lloh0:
	adrp	x9, _ATA_PROT_NCQ@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ATA_PROT_NCQ@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.1:
	ldr	w8, [x0]
Lloh3:
	adrp	x9, _ATA_QCFLAG_DMAMAP@GOTPAGE
Lloh4:
	ldr	x9, [x9, _ATA_QCFLAG_DMAMAP@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_4
; %bb.2:
	b	_nv_swncq_fill_sg
LBB0_3:
	b	_ata_sff_qc_prep
LBB0_4:
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_ATA_PROT_NCQ,8,3               ; @ATA_PROT_NCQ
	.comm	_ATA_QCFLAG_DMAMAP,4,2          ; @ATA_QCFLAG_DMAMAP
	.no_dead_strip	_nv_swncq_qc_prep
.subsections_via_symbols
