	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bidirectional_transfer_loop    ## -- Begin function bidirectional_transfer_loop
	.p2align	4, 0x90
_bidirectional_transfer_loop:           ## @bidirectional_transfer_loop
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$112, %rsp
	movl	%edi, -56(%rbp)
	movl	$1, -52(%rbp)
	xorl	%eax, %eax
	cmpl	%esi, %edi
	sete	%al
	movl	%eax, -48(%rbp)
	movq	$0, -8(%rbp)
	movq	_SSTATE_TRANSFERRING@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, -16(%rbp)
	movq	$0, -24(%rbp)
	leaq	L_.str(%rip), %rdx
	movq	%rdx, -40(%rbp)
	leaq	L_.str.1(%rip), %rdx
	movq	%rdx, -32(%rbp)
	movl	%esi, -112(%rbp)
	xorps	%xmm0, %xmm0
	movups	%xmm0, -72(%rbp)
	movl	%eax, -108(%rbp)
	movq	%rcx, -80(%rbp)
	movq	$0, -88(%rbp)
	leaq	L_.str.2(%rip), %rax
	movq	%rax, -104(%rbp)
	leaq	L_.str.3(%rip), %rax
	movq	%rax, -96(%rbp)
	leaq	-112(%rbp), %rdi
	callq	_tloop_spawnwait_tasks
	addq	$112, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SSTATE_TRANSFERRING,8,3        ## @SSTATE_TRANSFERRING
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"remote input"

L_.str.1:                               ## @.str.1
	.asciz	"stdout"

L_.str.2:                               ## @.str.2
	.asciz	"stdin"

L_.str.3:                               ## @.str.3
	.asciz	"remote output"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bidirectional_transfer_loop    ; -- Begin function bidirectional_transfer_loop
	.p2align	2
_bidirectional_transfer_loop:           ; @bidirectional_transfer_loop
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	mov	w8, #1
	stp	w0, w8, [sp, #56]
	cmp	w0, w1
	cset	w8, eq
	str	w8, [sp, #64]
	str	xzr, [sp, #104]
Lloh0:
	adrp	x9, _SSTATE_TRANSFERRING@GOTPAGE
Lloh1:
	ldr	x9, [x9, _SSTATE_TRANSFERRING@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	stp	xzr, x9, [sp, #88]
Lloh3:
	adrp	x10, l_.str@PAGE
Lloh4:
	add	x10, x10, l_.str@PAGEOFF
Lloh5:
	adrp	x11, l_.str.1@PAGE
Lloh6:
	add	x11, x11, l_.str.1@PAGEOFF
	stp	x10, x11, [sp, #72]
	stp	xzr, xzr, [sp, #40]
	stp	w1, w8, [sp]
	stp	xzr, x9, [sp, #24]
Lloh7:
	adrp	x8, l_.str.2@PAGE
Lloh8:
	add	x8, x8, l_.str.2@PAGEOFF
Lloh9:
	adrp	x9, l_.str.3@PAGE
Lloh10:
	add	x9, x9, l_.str.3@PAGEOFF
	stp	x8, x9, [sp, #8]
	mov	x0, sp
	bl	_tloop_spawnwait_tasks
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_SSTATE_TRANSFERRING,8,3        ; @SSTATE_TRANSFERRING
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"remote input"

l_.str.1:                               ; @.str.1
	.asciz	"stdout"

l_.str.2:                               ; @.str.2
	.asciz	"stdin"

l_.str.3:                               ; @.str.3
	.asciz	"remote output"

.subsections_via_symbols
