	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function radisys_qc_issue
_radisys_qc_issue:                      ## @radisys_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	(%rdi), %rsi
	movq	8(%rdi), %rdi
	cmpq	(%rdi), %rsi
	je	LBB0_6
## %bb.1:
	movq	(%rsi), %rax
	movq	_XFER_UDMA_0@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jge	LBB0_6
## %bb.2:
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	callq	_radisys_set_dmamode
	jmp	LBB0_6
LBB0_4:
	cmpq	$0, 8(%rsi)
	je	LBB0_6
## %bb.5:
	callq	_radisys_set_piomode
LBB0_6:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_ata_sff_qc_issue               ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_XFER_UDMA_0,8,3                ## @XFER_UDMA_0
	.no_dead_strip	_radisys_qc_issue
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function radisys_qc_issue
_radisys_qc_issue:                      ; @radisys_qc_issue
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	x0, [x0, #8]
	ldr	x1, [x19]
	ldr	x8, [x0]
	cmp	x1, x8
	b.eq	LBB0_6
; %bb.1:
	ldr	x8, [x1]
Lloh0:
	adrp	x9, _XFER_UDMA_0@GOTPAGE
Lloh1:
	ldr	x9, [x9, _XFER_UDMA_0@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ge	LBB0_6
; %bb.2:
	cbz	x8, LBB0_4
; %bb.3:
	bl	_radisys_set_dmamode
	b	LBB0_6
LBB0_4:
	ldr	x8, [x1, #8]
	cbz	x8, LBB0_6
; %bb.5:
	bl	_radisys_set_piomode
LBB0_6:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_ata_sff_qc_issue
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_XFER_UDMA_0,8,3                ; @XFER_UDMA_0
	.no_dead_strip	_radisys_qc_issue
.subsections_via_symbols
