	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hpt3x2n_qc_defer
_hpt3x2n_qc_defer:                      ## @hpt3x2n_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	8(%rdi), %rdi
	movq	16(%rdi), %rax
	movq	(%rax), %r12
	movq	8(%rax), %rax
	movslq	(%rdi), %rcx
	xorq	$1, %rcx
	movq	(%rax,%rcx,8), %r15
	movq	_ATA_TFLAG_WRITE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	andl	(%rbx), %esi
	callq	_hpt3x2n_use_dpll
	movl	%eax, %r14d
	movq	%rbx, %rdi
	callq	_ata_std_qc_defer
	testl	%eax, %eax
	jne	LBB0_4
## %bb.1:
	movq	_USE_DPLL@GOTPCREL(%rip), %rax
	andl	(%rax), %r12d
	xorl	%eax, %eax
	cmpl	%r14d, %r12d
	je	LBB0_4
## %bb.2:
	xorl	%eax, %eax
	cmpq	$0, 8(%r15)
	je	LBB0_4
## %bb.3:
	movq	_ATA_DEFER_PORT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_4:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ATA_TFLAG_WRITE,4,2            ## @ATA_TFLAG_WRITE
	.comm	_USE_DPLL,4,2                   ## @USE_DPLL
	.comm	_ATA_DEFER_PORT,4,2             ## @ATA_DEFER_PORT
	.no_dead_strip	_hpt3x2n_qc_defer
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hpt3x2n_qc_defer
_hpt3x2n_qc_defer:                      ; @hpt3x2n_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
	mov	x20, x0
	ldr	x0, [x0, #8]
	ldr	x8, [x0, #16]
	ldrsw	x9, [x0]
	eor	x9, x9, #0x1
	ldp	x22, x10, [x8]
	ldr	x21, [x10, x9, lsl #3]
	ldr	w8, [x20]
Lloh0:
	adrp	x9, _ATA_TFLAG_WRITE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ATA_TFLAG_WRITE@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	and	w1, w9, w8
	bl	_hpt3x2n_use_dpll
	mov	x19, x0
	mov	x0, x20
	bl	_ata_std_qc_defer
	cbnz	w0, LBB0_4
; %bb.1:
Lloh3:
	adrp	x8, _USE_DPLL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _USE_DPLL@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	and	w8, w8, w22
	cmp	w8, w19
	b.ne	LBB0_3
; %bb.2:
	mov	w0, #0
	b	LBB0_4
LBB0_3:
	ldr	x8, [x21, #8]
Lloh6:
	adrp	x9, _ATA_DEFER_PORT@GOTPAGE
Lloh7:
	ldr	x9, [x9, _ATA_DEFER_PORT@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	cmp	x8, #0
	csel	w0, wzr, w9, eq
LBB0_4:
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_ATA_TFLAG_WRITE,4,2            ; @ATA_TFLAG_WRITE
	.comm	_USE_DPLL,4,2                   ; @USE_DPLL
	.comm	_ATA_DEFER_PORT,4,2             ; @ATA_DEFER_PORT
	.no_dead_strip	_hpt3x2n_qc_defer
.subsections_via_symbols
