	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function channel_xmit_xon
_channel_xmit_xon:                      ## @channel_xmit_xon
	.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
	cmpq	$0, 64(%rdi)
	je	LBB0_1
LBB0_4:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_1:
	movq	%rdi, %rbx
	cmpl	$0, 32(%rdi)
	je	LBB0_4
## %bb.2:
	cmpq	$0, 72(%rbx)
	jne	LBB0_4
## %bb.3:
	movq	40(%rbx), %r14
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_find_channel_with_pending_x_on
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	movq	_N_XON_REQ@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	notl	%ecx
	movq	8(%r14), %rdx
	andl	(%rdx,%rax,4), %ecx
	movl	%ecx, (%rdx,%rax,4)
	movq	_N_XON_SENT@GOTPCREL(%rip), %rsi
	orl	(%rsi), %ecx
	movl	%ecx, (%rdx,%rax,4)
	movq	_N_XON@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, 64(%rbx)
	movq	%rcx, 24(%rbx)
	movq	%rax, 16(%rbx)
	movq	48(%rbx), %rax
	movq	56(%rbx), %rcx
	movq	%rax, 8(%rbx)
	movl	$1, (%rbx)
	movq	%rcx, 8(%rax)
	movq	$0, (%rax)
	movq	40(%rbx), %rax
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmpq	*(%rax)                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_N_XON_REQ,4,2                  ## @N_XON_REQ
	.comm	_N_XON_SENT,4,2                 ## @N_XON_SENT
	.comm	_N_XON,8,3                      ## @N_XON
	.no_dead_strip	_channel_xmit_xon
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function channel_xmit_xon
_channel_xmit_xon:                      ; @channel_xmit_xon
	.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
	ldr	x8, [x0, #64]
	cbz	x8, LBB0_2
LBB0_1:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_2:
	mov	x19, x0
	ldr	w8, [x0, #32]
	cbz	w8, LBB0_1
; %bb.3:
	ldr	x8, [x19, #72]
	cbnz	x8, LBB0_1
; %bb.4:
	ldr	x20, [x19, #40]
	mov	x0, x20
	mov	x1, x19
	bl	_find_channel_with_pending_x_on
	cbz	x0, LBB0_1
; %bb.5:
Lloh0:
	adrp	x8, _N_XON_REQ@GOTPAGE
Lloh1:
	ldr	x8, [x8, _N_XON_REQ@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ldr	x9, [x20, #8]
	lsl	x10, x0, #2
	ldr	w11, [x9, x10]
	bic	w8, w11, w8
	str	w8, [x9, x10]
Lloh3:
	adrp	x11, _N_XON_SENT@GOTPAGE
Lloh4:
	ldr	x11, [x11, _N_XON_SENT@GOTPAGEOFF]
Lloh5:
	ldr	w11, [x11]
	orr	w8, w11, w8
	str	w8, [x9, x10]
Lloh6:
	adrp	x8, _N_XON@GOTPAGE
Lloh7:
	ldr	x8, [x8, _N_XON@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	str	x8, [x19, #64]
	stp	x0, x8, [x19, #16]
	ldp	x9, x8, [x19, #40]
	str	x8, [x19, #8]
	mov	w10, #1
	str	w10, [x19]
	ldr	x10, [x19, #56]
	stp	xzr, x10, [x8]
	ldr	x1, [x9]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	br	x1
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_N_XON_REQ,4,2                  ; @N_XON_REQ
	.comm	_N_XON_SENT,4,2                 ; @N_XON_SENT
	.comm	_N_XON,8,3                      ; @N_XON
	.no_dead_strip	_channel_xmit_xon
.subsections_via_symbols
