	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pause_transport
_pause_transport:                       ## @pause_transport
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movslq	%esi, %rdi
	callq	_DE_ACT
	movq	%rbx, %rdi
	callq	_wait_handshake
	testq	%rax, %rax
	je	LBB0_2
LBB0_1:
	movq	_EIO@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_7
LBB0_2:
	movl	%r14d, %edi
	callq	_cpu_to_le32
	movq	(%rbx), %rcx
	orl	%eax, (%rcx)
	movq	$0, 8(%rcx)
	je	LBB0_5
## %bb.3:
	movq	%rbx, %rdi
	callq	_clear_handshake
	movq	_DSP_VC_STOP_TRANSFER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_send_vector
	movq	%rbx, %rdi
	callq	_wait_handshake
	testq	%rax, %rax
	jne	LBB0_1
## %bb.4:
	notl	%r14d
	andl	%r14d, 8(%rbx)
	movq	(%rbx), %rax
	movl	$0, (%rax)
	movq	$0, 8(%rax)
	jmp	LBB0_6
LBB0_5:
	leaq	L_.str.1(%rip), %rdi
	callq	_DE_ACT
LBB0_6:
	xorl	%eax, %eax
LBB0_7:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EIO,4,2                        ## @EIO
	.comm	_DSP_VC_STOP_TRANSFER,4,2       ## @DSP_VC_STOP_TRANSFER
	.section	__TEXT,__cstring,cstring_literals
L_.str.1:                               ## @.str.1
	.asciz	"pause_transport: No pipes to stop!\n"

	.no_dead_strip	_pause_transport
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pause_transport
_pause_transport:                       ; @pause_transport
	.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	x20, x1
	mov	x19, x0
	sxtw	x0, w20
	bl	_DE_ACT
	mov	x0, x19
	bl	_wait_handshake
	cbz	x0, LBB0_3
LBB0_1:
Lloh0:
	adrp	x8, _EIO@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_3:
	mov	x0, x20
	bl	_cpu_to_le32
	ldr	x8, [x19]
	ldr	w9, [x8]
	str	xzr, [x8, #8]
	orr	w9, w9, w0
	str	w9, [x8]
	cbz	w9, LBB0_6
; %bb.4:
	mov	x0, x19
	bl	_clear_handshake
Lloh3:
	adrp	x8, _DSP_VC_STOP_TRANSFER@GOTPAGE
Lloh4:
	ldr	x8, [x8, _DSP_VC_STOP_TRANSFER@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_send_vector
	mov	x0, x19
	bl	_wait_handshake
	cbnz	x0, LBB0_1
; %bb.5:
	ldr	w8, [x19, #8]
	bic	w8, w8, w20
	str	w8, [x19, #8]
	ldr	x8, [x19]
	str	wzr, [x8]
	str	xzr, [x8, #8]
	b	LBB0_2
LBB0_6:
Lloh6:
	adrp	x0, l_.str.1@PAGE
Lloh7:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_DE_ACT
	mov	w0, #0
	b	LBB0_2
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_EIO,4,2                        ; @EIO
	.comm	_DSP_VC_STOP_TRANSFER,4,2       ; @DSP_VC_STOP_TRANSFER
	.section	__TEXT,__cstring,cstring_literals
l_.str.1:                               ; @.str.1
	.asciz	"pause_transport: No pipes to stop!\n"

	.no_dead_strip	_pause_transport
.subsections_via_symbols
