	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function send_xchar
_send_xchar:                            ## @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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %r14d
	movq	8(%rdi), %rbx
	movl	(%rdi), %esi
	leaq	L_.str(%rip), %rdx
	movq	%rbx, %rdi
	callq	_sanity_check
	testq	%rax, %rax
	je	LBB0_1
LBB0_5:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_1:
	movsbq	%r14b, %r14
	movq	%r14, %rdi
	callq	_DBGINFO
	movb	%r14b, (%rbx)
	testb	%r14b, %r14b
	je	LBB0_5
## %bb.2:
	leaq	4(%rbx), %r14
	movq	%r14, %rdi
	callq	_spin_lock_irqsave
	cmpl	$0, 8(%rbx)
	jne	LBB0_4
## %bb.3:
	movq	%rbx, %rdi
	callq	_tx_start
LBB0_4:
	movq	%r14, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_spin_unlock_irqrestore         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"send_xchar"

	.no_dead_strip	_send_xchar
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function send_xchar
_send_xchar:                            ; @send_xchar
	.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
	ldr	x19, [x0, #8]
	ldr	w1, [x0]
Lloh0:
	adrp	x2, l_.str@PAGE
Lloh1:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x19
	bl	_sanity_check
	cbz	x0, 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:
	sxtw	x0, w20
	bl	_DBGINFO
	strb	w20, [x19]
	cbz	w20, LBB0_1
; %bb.3:
	add	x20, x19, #4
	mov	x0, x20
	bl	_spin_lock_irqsave
	ldr	w8, [x19, #8]
	cbnz	w8, LBB0_5
; %bb.4:
	mov	x0, x19
	bl	_tx_start
LBB0_5:
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_spin_unlock_irqrestore
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"send_xchar"

	.no_dead_strip	_send_xchar
.subsections_via_symbols
