	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tty_send_input_signal
_tty_send_input_signal:                 ## @tty_send_input_signal
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movl	16(%rdi), %r8d
	movq	_ISIG_@GOTPCREL(%rip), %rcx
	xorl	%ebx, %ebx
	testl	%r8d, (%rcx)
	je	LBB0_11
## %bb.1:
	movq	24(%rdi), %rcx
	movsbl	%sil, %esi
	movq	_VINTR_@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movzbl	(%rcx,%rax), %eax
	cmpl	%eax, %esi
	jne	LBB0_3
## %bb.2:
	movq	_SIGINT_@GOTPCREL(%rip), %rcx
	jmp	LBB0_7
LBB0_3:
	movq	_VQUIT_@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movzbl	(%rcx,%rax), %eax
	cmpl	%eax, %esi
	jne	LBB0_5
## %bb.4:
	movq	_SIGQUIT_@GOTPCREL(%rip), %rcx
	jmp	LBB0_7
LBB0_5:
	movq	_VSUSP_@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movzbl	(%rcx,%rax), %eax
	cmpl	%eax, %esi
	jne	LBB0_11
## %bb.6:
	movq	_SIGTSTP_@GOTPCREL(%rip), %rcx
LBB0_7:
	movl	$1, %ebx
	cmpq	$0, (%rdi)
	je	LBB0_11
## %bb.8:
	movl	(%rcx), %esi
	movq	_NOFLSH_@GOTPCREL(%rip), %rax
	testl	%r8d, (%rax)
	jne	LBB0_10
## %bb.9:
	movq	$0, 8(%rdi)
LBB0_10:
	movq	%rdx, %rdi
	callq	_sigset_add
LBB0_11:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ISIG_,4,2                      ## @ISIG_
	.comm	_VINTR_,8,3                     ## @VINTR_
	.comm	_SIGINT_,4,2                    ## @SIGINT_
	.comm	_VQUIT_,8,3                     ## @VQUIT_
	.comm	_SIGQUIT_,4,2                   ## @SIGQUIT_
	.comm	_VSUSP_,8,3                     ## @VSUSP_
	.comm	_SIGTSTP_,4,2                   ## @SIGTSTP_
	.comm	_NOFLSH_,4,2                    ## @NOFLSH_
	.no_dead_strip	_tty_send_input_signal
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tty_send_input_signal
_tty_send_input_signal:                 ; @tty_send_input_signal
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	ldr	w8, [x0, #16]
Lloh0:
	adrp	x9, _ISIG_@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ISIG_@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_11
; %bb.1:
	ldr	x9, [x0, #24]
Lloh3:
	adrp	x10, _VINTR_@GOTPAGE
Lloh4:
	ldr	x10, [x10, _VINTR_@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
	ldrb	w10, [x9, x10]
	cmp	w1, w10
	b.ne	LBB0_3
; %bb.2:
Lloh6:
	adrp	x9, _SIGINT_@GOTPAGE
Lloh7:
	ldr	x9, [x9, _SIGINT_@GOTPAGEOFF]
	ldr	x10, [x0]
	cbnz	x10, LBB0_7
	b	LBB0_10
LBB0_3:
Lloh8:
	adrp	x10, _VQUIT_@GOTPAGE
Lloh9:
	ldr	x10, [x10, _VQUIT_@GOTPAGEOFF]
Lloh10:
	ldr	x10, [x10]
	ldrb	w10, [x9, x10]
	cmp	w1, w10
	b.ne	LBB0_5
; %bb.4:
Lloh11:
	adrp	x9, _SIGQUIT_@GOTPAGE
Lloh12:
	ldr	x9, [x9, _SIGQUIT_@GOTPAGEOFF]
	ldr	x10, [x0]
	cbnz	x10, LBB0_7
	b	LBB0_10
LBB0_5:
Lloh13:
	adrp	x10, _VSUSP_@GOTPAGE
Lloh14:
	ldr	x10, [x10, _VSUSP_@GOTPAGEOFF]
Lloh15:
	ldr	x10, [x10]
	ldrb	w9, [x9, x10]
	cmp	w1, w9
	b.ne	LBB0_11
; %bb.6:
Lloh16:
	adrp	x9, _SIGTSTP_@GOTPAGE
Lloh17:
	ldr	x9, [x9, _SIGTSTP_@GOTPAGEOFF]
	ldr	x10, [x0]
	cbz	x10, LBB0_10
LBB0_7:
	ldr	w1, [x9]
Lloh18:
	adrp	x9, _NOFLSH_@GOTPAGE
Lloh19:
	ldr	x9, [x9, _NOFLSH_@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_9
; %bb.8:
	str	xzr, [x0, #8]
LBB0_9:
	mov	x0, x2
	bl	_sigset_add
LBB0_10:
	mov	w0, #1
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_11:
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_ISIG_,4,2                      ; @ISIG_
	.comm	_VINTR_,8,3                     ; @VINTR_
	.comm	_SIGINT_,4,2                    ; @SIGINT_
	.comm	_VQUIT_,8,3                     ; @VQUIT_
	.comm	_SIGQUIT_,4,2                   ; @SIGQUIT_
	.comm	_VSUSP_,8,3                     ; @VSUSP_
	.comm	_SIGTSTP_,4,2                   ; @SIGTSTP_
	.comm	_NOFLSH_,4,2                    ; @NOFLSH_
	.no_dead_strip	_tty_send_input_signal
.subsections_via_symbols
