	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dconschat_suspend
_dconschat_suspend:                     ## @dconschat_suspend
	.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
	cmpq	$0, (%rsi)
	je	LBB0_1
LBB0_4:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_1:
	movq	%rdi, %rbx
	movq	_tc_set@GOTPCREL(%rip), %r14
	cmpq	$0, (%r14)
	je	LBB0_3
## %bb.2:
	movq	_STDIN_FILENO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_TCSADRAIN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	4(%rbx), %rdx
	callq	_tcsetattr
LBB0_3:
	leaq	L_str(%rip), %rdi
	callq	_puts
	xorl	%eax, %eax
	callq	_getpid
	movq	_SIGTSTP@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%eax, %edi
	callq	_kill
	cmpq	$0, (%r14)
	je	LBB0_4
## %bb.5:
	movq	_STDIN_FILENO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_TCSADRAIN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdx
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_tcsetattr                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_tc_set,8,3                     ## @tc_set
	.comm	_STDIN_FILENO,4,2               ## @STDIN_FILENO
	.comm	_TCSADRAIN,4,2                  ## @TCSADRAIN
	.comm	_SIGTSTP,4,2                    ## @SIGTSTP
	.section	__TEXT,__cstring,cstring_literals
L_str:                                  ## @str
	.asciz	"\n[dconschat suspend]"

	.no_dead_strip	_dconschat_suspend
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dconschat_suspend
_dconschat_suspend:                     ; @dconschat_suspend
	.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, [x1]
	cbz	x8, LBB0_2
LBB0_1:
	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
LBB0_2:
	mov	x19, x0
Lloh0:
	adrp	x22, _tc_set@GOTPAGE
Lloh1:
	ldr	x22, [x22, _tc_set@GOTPAGEOFF]
	ldr	x8, [x22]
Lloh2:
	adrp	x20, _STDIN_FILENO@GOTPAGE
Lloh3:
	ldr	x20, [x20, _STDIN_FILENO@GOTPAGEOFF]
Lloh4:
	adrp	x21, _TCSADRAIN@GOTPAGE
Lloh5:
	ldr	x21, [x21, _TCSADRAIN@GOTPAGEOFF]
	cbz	x8, LBB0_4
; %bb.3:
	ldr	w0, [x20]
	ldr	w1, [x21]
	add	x2, x19, #4
	bl	_tcsetattr
LBB0_4:
Lloh6:
	adrp	x0, l_str@PAGE
Lloh7:
	add	x0, x0, l_str@PAGEOFF
	bl	_puts
	bl	_getpid
Lloh8:
	adrp	x8, _SIGTSTP@GOTPAGE
Lloh9:
	ldr	x8, [x8, _SIGTSTP@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	bl	_kill
	ldr	x8, [x22]
	cbz	x8, LBB0_1
; %bb.5:
	ldr	w0, [x20]
	ldr	w1, [x21]
	mov	x2, x19
	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
	b	_tcsetattr
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_tc_set,8,3                     ; @tc_set
	.comm	_STDIN_FILENO,4,2               ; @STDIN_FILENO
	.comm	_TCSADRAIN,4,2                  ; @TCSADRAIN
	.comm	_SIGTSTP,4,2                    ; @SIGTSTP
	.section	__TEXT,__cstring,cstring_literals
l_str:                                  ; @str
	.asciz	"\n[dconschat suspend]"

	.no_dead_strip	_dconschat_suspend
.subsections_via_symbols
