	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ata_std_qc_defer               ## -- Begin function ata_std_qc_defer
	.p2align	4, 0x90
_ata_std_qc_defer:                      ## @ata_std_qc_defer
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rdi), %r15
	movq	8(%rdi), %rax
	movq	(%rax), %r14
	movq	_ATA_PROT_NCQ@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movl	4(%r14), %edi
	callq	_ata_tag_valid
	cmpq	%rbx, %r15
	jne	LBB0_3
## %bb.1:
	testl	%eax, %eax
	jne	LBB0_5
	jmp	LBB0_2
LBB0_3:
	testl	%eax, %eax
	jne	LBB0_5
## %bb.4:
	cmpl	$0, (%r14)
	je	LBB0_2
LBB0_5:
	movq	_ATA_DEFER_LINK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_6
LBB0_2:
	xorl	%eax, %eax
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ATA_PROT_NCQ,8,3               ## @ATA_PROT_NCQ
	.comm	_ATA_DEFER_LINK,4,2             ## @ATA_DEFER_LINK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ata_std_qc_defer               ; -- Begin function ata_std_qc_defer
	.p2align	2
_ata_std_qc_defer:                      ; @ata_std_qc_defer
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	ldp	x20, x8, [x0]
	ldr	x19, [x8]
Lloh0:
	adrp	x8, _ATA_PROT_NCQ@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ATA_PROT_NCQ@GOTPAGEOFF]
Lloh2:
	ldr	x21, [x8]
	ldr	w0, [x19, #4]
	bl	_ata_tag_valid
	cmp	x20, x21
	b.ne	LBB0_2
; %bb.1:
	cbnz	w0, LBB0_4
	b	LBB0_5
LBB0_2:
	cbnz	w0, LBB0_4
; %bb.3:
	ldr	w8, [x19]
	cbz	w8, LBB0_6
LBB0_4:
Lloh3:
	adrp	x8, _ATA_DEFER_LINK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ATA_DEFER_LINK@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
LBB0_5:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_6:
	mov	w0, #0
	b	LBB0_5
	.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_DEFER_LINK,4,2             ; @ATA_DEFER_LINK
.subsections_via_symbols
