	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function send_break
_send_break:                            ## @send_break
	.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), %rax
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movq	8(%rdi), %rcx
	movq	_TTY_DRIVER_HARDWARE_BREAK@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	testl	%edx, (%rcx)
	je	LBB0_3
## %bb.13:
	movq	%rbx, %rdi
	movl	%r14d, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmpq	*%rax                           ## TAILCALL
LBB0_1:
	xorl	%r15d, %r15d
	jmp	LBB0_12
LBB0_3:
	xorl	%r15d, %r15d
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_tty_write_lock
	testq	%rax, %rax
	js	LBB0_4
## %bb.5:
	movq	(%rbx), %rax
	movq	%rbx, %rdi
	movl	$-1, %esi
	callq	*(%rax)
	movl	%eax, %r15d
	testl	%eax, %eax
	jne	LBB0_9
## %bb.6:
	movq	_current@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_signal_pending
	testq	%rax, %rax
	jne	LBB0_8
## %bb.7:
	movl	%r14d, %edi
	callq	_msleep_interruptible
LBB0_8:
	movq	(%rbx), %rax
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	*(%rax)
	movl	%eax, %r15d
LBB0_9:
	movq	%rbx, %rdi
	callq	_tty_write_unlock
	movq	_current@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_signal_pending
	testq	%rax, %rax
	je	LBB0_12
## %bb.10:
	movq	_EINTR@GOTPCREL(%rip), %rax
	xorl	%r15d, %r15d
	jmp	LBB0_11
LBB0_4:
	movq	_EINTR@GOTPCREL(%rip), %rax
LBB0_11:
	subl	(%rax), %r15d
LBB0_12:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TTY_DRIVER_HARDWARE_BREAK,4,2  ## @TTY_DRIVER_HARDWARE_BREAK
	.comm	_EINTR,4,2                      ## @EINTR
	.comm	_current,4,2                    ## @current
	.no_dead_strip	_send_break
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function send_break
_send_break:                            ; @send_break
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	ldr	x8, [x0]
	ldr	x2, [x8]
	cbz	x2, LBB0_3
; %bb.1:
	mov	x20, x1
	mov	x19, x0
	ldr	x8, [x0, #8]
	ldr	w8, [x8]
Lloh0:
	adrp	x9, _TTY_DRIVER_HARDWARE_BREAK@GOTPAGE
Lloh1:
	ldr	x9, [x9, _TTY_DRIVER_HARDWARE_BREAK@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_4
; %bb.2:
	mov	x0, x19
	mov	x1, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	br	x2
LBB0_3:
	mov	w21, #0
	b	LBB0_11
LBB0_4:
	mov	x0, x19
	mov	w1, #0
	bl	_tty_write_lock
	tbnz	x0, #63, LBB0_10
; %bb.5:
	ldr	x8, [x19]
	ldr	x8, [x8]
	mov	x0, x19
	mov	w1, #-1
	blr	x8
	mov	x21, x0
Lloh3:
	adrp	x22, _current@GOTPAGE
Lloh4:
	ldr	x22, [x22, _current@GOTPAGEOFF]
	cbnz	w0, LBB0_9
; %bb.6:
	ldr	w0, [x22]
	bl	_signal_pending
	cbnz	x0, LBB0_8
; %bb.7:
	mov	x0, x20
	bl	_msleep_interruptible
LBB0_8:
	ldr	x8, [x19]
	ldr	x8, [x8]
	mov	x0, x19
	mov	w1, #0
	blr	x8
	mov	x21, x0
LBB0_9:
	mov	x0, x19
	bl	_tty_write_unlock
	ldr	w0, [x22]
	bl	_signal_pending
	cbz	x0, LBB0_11
LBB0_10:
Lloh5:
	adrp	x8, _EINTR@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EINTR@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	neg	w21, w8
LBB0_11:
	mov	x0, x21
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_TTY_DRIVER_HARDWARE_BREAK,4,2  ; @TTY_DRIVER_HARDWARE_BREAK
	.comm	_EINTR,4,2                      ; @EINTR
	.comm	_current,4,2                    ; @current
	.no_dead_strip	_send_break
.subsections_via_symbols
