	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hpt3x2n_qc_issue
_hpt3x2n_qc_issue:                      ## @hpt3x2n_qc_issue
	.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, %r14
	movq	8(%rdi), %rbx
	movq	(%rbx), %rax
	movl	(%rax), %r15d
	movq	_ATA_TFLAG_WRITE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	andl	(%rdi), %esi
	movq	%rbx, %rdi
	callq	_hpt3x2n_use_dpll
	movq	_USE_DPLL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, %edx
	andl	%r15d, %edx
	cmpl	%eax, %edx
	je	LBB0_2
## %bb.1:
	notl	%ecx
	andl	%r15d, %ecx
	orl	%eax, %ecx
	movslq	%ecx, %rcx
	movq	(%rbx), %rdx
	movq	%rcx, (%rdx)
	xorl	%ecx, %ecx
	testl	%eax, %eax
	sete	%cl
	leal	(%rcx,%rcx), %esi
	addl	$33, %esi
	movq	%rbx, %rdi
	callq	_hpt3x2n_set_clock
LBB0_2:
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ata_sff_qc_issue               ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ATA_TFLAG_WRITE,4,2            ## @ATA_TFLAG_WRITE
	.comm	_USE_DPLL,4,2                   ## @USE_DPLL
	.no_dead_strip	_hpt3x2n_qc_issue
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hpt3x2n_qc_issue
_hpt3x2n_qc_issue:                      ; @hpt3x2n_qc_issue
	.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	x19, x0
	ldr	x20, [x0, #8]
	ldr	x8, [x20]
	ldr	w21, [x8]
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _ATA_TFLAG_WRITE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ATA_TFLAG_WRITE@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	and	w1, w9, w8
	mov	x0, x20
	bl	_hpt3x2n_use_dpll
Lloh3:
	adrp	x8, _USE_DPLL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _USE_DPLL@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	and	w9, w8, w21
	cmp	w9, w0
	b.eq	LBB0_2
; %bb.1:
	bic	w8, w21, w8
	orr	w8, w8, w0
	sxtw	x8, w8
	ldr	x9, [x20]
	str	x8, [x9]
	mov	w8, #33
	mov	w9, #35
	cmp	w0, #0
	csel	w1, w9, w8, eq
	mov	x0, x20
	bl	_hpt3x2n_set_clock
LBB0_2:
	mov	x0, x19
	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
	b	_ata_sff_qc_issue
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ATA_TFLAG_WRITE,4,2            ; @ATA_TFLAG_WRITE
	.comm	_USE_DPLL,4,2                   ; @USE_DPLL
	.no_dead_strip	_hpt3x2n_qc_issue
.subsections_via_symbols
