	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ide_transfer_stop
_ide_transfer_stop:                     ## @ide_transfer_stop
	.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	_IDE_debug@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_2
## %bb.1:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_fprintf
LBB0_2:
	leaq	_ide_transfer_stop(%rip), %rax
	movq	%rax, (%rbx)
	movl	12(%rbx), %eax
	movl	%eax, 20(%rbx)
	movl	%eax, 16(%rbx)
	movq	_DRQ_STAT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, 8(%rbx)
	movq	_count@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IDE_debug,8,3                  ## @IDE_debug
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"transfer stop\n"

	.comm	_DRQ_STAT,4,2                   ## @DRQ_STAT
	.comm	_count,8,3                      ## @count
	.no_dead_strip	_ide_transfer_stop
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ide_transfer_stop
_ide_transfer_stop:                     ; @ide_transfer_stop
	.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
Lloh0:
	adrp	x8, _IDE_debug@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IDE_debug@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cbz	x8, LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _stderr@GOTPAGE
Lloh4:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	bl	_fprintf
LBB0_2:
Lloh8:
	adrp	x8, _ide_transfer_stop@PAGE
Lloh9:
	add	x8, x8, _ide_transfer_stop@PAGEOFF
	str	x8, [x19]
	ldp	w9, w8, [x19, #8]
	stp	w8, w8, [x19, #16]
Lloh10:
	adrp	x8, _DRQ_STAT@GOTPAGE
Lloh11:
	ldr	x8, [x8, _DRQ_STAT@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	bic	w8, w9, w8
	str	w8, [x19, #8]
Lloh13:
	adrp	x8, _count@GOTPAGE
Lloh14:
	ldr	x8, [x8, _count@GOTPAGEOFF]
Lloh15:
	str	xzr, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotStr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_IDE_debug,8,3                  ; @IDE_debug
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"transfer stop\n"

	.comm	_DRQ_STAT,4,2                   ; @DRQ_STAT
	.comm	_count,8,3                      ; @count
	.no_dead_strip	_ide_transfer_stop
.subsections_via_symbols
