	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cy_send_xchar
_cy_send_xchar:                         ## @cy_send_xchar
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %r13
	movq	8(%rdi), %rbx
	movl	(%rdi), %esi
	leaq	L_.str(%rip), %rdx
	movq	%rbx, %rdi
	callq	_serial_paranoia_check
	testq	%rax, %rax
	je	LBB0_1
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movb	%r14b, (%rbx)
	testb	%r14b, %r14b
	je	LBB0_3
## %bb.2:
	movq	%r13, %rdi
	callq	_cy_start
LBB0_3:
	movq	8(%rbx), %r15
	movl	4(%rbx), %r12d
	subl	(%r15), %r12d
	movq	%r15, %rdi
	callq	_cy_is_Z
	testq	%rax, %rax
	je	LBB0_9
## %bb.4:
	movq	%r13, %rdi
	callq	_STOP_CHAR
	cmpb	%r14b, %al
	jne	LBB0_6
## %bb.5:
	movq	_C_CM_SENDXOFF@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_6:
	movq	%r13, %rdi
	callq	_START_CHAR
	cmpb	%r14b, %al
	jne	LBB0_9
## %bb.7:
	movq	_C_CM_SENDXON@GOTPCREL(%rip), %rax
LBB0_8:
	movl	(%rax), %edx
	movq	%r15, %rdi
	movl	%r12d, %esi
	xorl	%ecx, %ecx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_cyz_issue_cmd                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"cy_send_xchar"

	.comm	_C_CM_SENDXOFF,4,2              ## @C_CM_SENDXOFF
	.comm	_C_CM_SENDXON,4,2               ## @C_CM_SENDXON
	.no_dead_strip	_cy_send_xchar
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cy_send_xchar
_cy_send_xchar:                         ; @cy_send_xchar
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x1
	mov	x20, x0
	ldr	x22, [x0, #8]
	ldr	w1, [x0]
Lloh0:
	adrp	x2, l_.str@PAGE
Lloh1:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x22
	bl	_serial_paranoia_check
	cbz	x0, LBB0_2
LBB0_1:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_2:
	strb	w19, [x22]
	cbz	w19, LBB0_4
; %bb.3:
	mov	x0, x20
	bl	_cy_start
LBB0_4:
	ldr	x21, [x22, #8]
	ldr	w22, [x22, #4]
	ldr	w23, [x21]
	mov	x0, x21
	bl	_cy_is_Z
	cbz	x0, LBB0_1
; %bb.5:
	mov	x0, x20
	bl	_STOP_CHAR
	cmp	w0, w19
	b.ne	LBB0_7
; %bb.6:
Lloh2:
	adrp	x8, _C_CM_SENDXOFF@GOTPAGE
Lloh3:
	ldr	x8, [x8, _C_CM_SENDXOFF@GOTPAGEOFF]
	b	LBB0_9
LBB0_7:
	mov	x0, x20
	bl	_START_CHAR
	cmp	w0, w19
	b.ne	LBB0_1
; %bb.8:
Lloh4:
	adrp	x8, _C_CM_SENDXON@GOTPAGE
Lloh5:
	ldr	x8, [x8, _C_CM_SENDXON@GOTPAGEOFF]
LBB0_9:
	sub	w1, w22, w23
	ldr	w2, [x8]
	mov	x0, x21
	mov	x3, #0
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_cyz_issue_cmd
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"cy_send_xchar"

	.comm	_C_CM_SENDXOFF,4,2              ; @C_CM_SENDXOFF
	.comm	_C_CM_SENDXON,4,2               ; @C_CM_SENDXON
	.no_dead_strip	_cy_send_xchar
.subsections_via_symbols
