	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function send_prio_char
_send_prio_char:                        ## @send_prio_char
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movb	%sil, -25(%rbp)
	movq	8(%rdi), %rax
	movq	8(%rax), %rax
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movsbl	%sil, %esi
	movq	%r14, %rdi
	callq	*%rax
	jmp	LBB0_8
LBB0_2:
	movl	(%r14), %r15d
	xorl	%ebx, %ebx
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_tty_write_lock
	testq	%rax, %rax
	js	LBB0_3
## %bb.4:
	testl	%r15d, %r15d
	je	LBB0_6
## %bb.5:
	movq	%r14, %rdi
	callq	_start_tty
	movq	8(%r14), %rax
	leaq	-25(%rbp), %rsi
	movq	%r14, %rdi
	movl	$1, %edx
	callq	*(%rax)
	movq	%r14, %rdi
	callq	_stop_tty
	jmp	LBB0_7
LBB0_3:
	movq	_ERESTARTSYS@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
	jmp	LBB0_9
LBB0_6:
	movq	8(%r14), %rax
	leaq	-25(%rbp), %rsi
	movq	%r14, %rdi
	movl	$1, %edx
	callq	*(%rax)
LBB0_7:
	movq	%r14, %rdi
	callq	_tty_write_unlock
LBB0_8:
	xorl	%ebx, %ebx
LBB0_9:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ERESTARTSYS,4,2                ## @ERESTARTSYS
	.no_dead_strip	_send_prio_char
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function send_prio_char
_send_prio_char:                        ; @send_prio_char
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	strb	w1, [sp, #15]
	ldr	x8, [x0, #8]
	ldr	x8, [x8, #8]
	cbz	x8, LBB0_2
; %bb.1:
	mov	x0, x19
	blr	x8
	b	LBB0_8
LBB0_2:
	ldr	w20, [x19]
	mov	x0, x19
	mov	w1, #0
	bl	_tty_write_lock
	tbnz	x0, #63, LBB0_5
; %bb.3:
	cbz	w20, LBB0_6
; %bb.4:
	mov	x0, x19
	bl	_start_tty
	ldr	x8, [x19, #8]
	ldr	x8, [x8]
	add	x1, sp, #15
	mov	x0, x19
	mov	w2, #1
	blr	x8
	mov	x0, x19
	bl	_stop_tty
	b	LBB0_7
LBB0_5:
Lloh0:
	adrp	x8, _ERESTARTSYS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ERESTARTSYS@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_9
LBB0_6:
	ldr	x8, [x19, #8]
	ldr	x8, [x8]
	add	x1, sp, #15
	mov	x0, x19
	mov	w2, #1
	blr	x8
LBB0_7:
	mov	x0, x19
	bl	_tty_write_unlock
LBB0_8:
	mov	w0, #0
LBB0_9:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ERESTARTSYS,4,2                ; @ERESTARTSYS
	.no_dead_strip	_send_prio_char
.subsections_via_symbols
