	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dconschat_cleanup
_dconschat_cleanup:                     ## @dconschat_cleanup
	.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	%edi, %ebx
	movq	_tc_set@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_2
## %bb.1:
	movq	_STDIN_FILENO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_TCSADRAIN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_sc@GOTPCREL(%rip), %rdx
	callq	_tcsetattr
LBB0_2:
	testl	%ebx, %ebx
	jle	LBB0_4
## %bb.3:
	leaq	L_.str(%rip), %rdi
	movl	%ebx, %esi
	xorl	%eax, %eax
	callq	_printf
	jmp	LBB0_5
LBB0_4:
	leaq	L_str(%rip), %rdi
	callq	_puts
LBB0_5:
	leaq	-12(%rbp), %rdi
	callq	_wait
	xorl	%edi, %edi
	callq	_exit
	.cfi_endproc
                                        ## -- End function
	.comm	_sc,4,2                         ## @sc
	.comm	_tc_set,8,3                     ## @tc_set
	.comm	_STDIN_FILENO,4,2               ## @STDIN_FILENO
	.comm	_TCSADRAIN,4,2                  ## @TCSADRAIN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"\n[dconschat exiting with signal %d ...]\n"

L_str:                                  ## @str
	.asciz	"\n[dconschat exiting...]"

	.no_dead_strip	_dconschat_cleanup
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dconschat_cleanup
_dconschat_cleanup:                     ; @dconschat_cleanup
	.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
Lloh0:
	adrp	x8, _tc_set@GOTPAGE
Lloh1:
	ldr	x8, [x8, _tc_set@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cbz	x8, LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _STDIN_FILENO@GOTPAGE
Lloh4:
	ldr	x8, [x8, _STDIN_FILENO@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
Lloh6:
	adrp	x8, _TCSADRAIN@GOTPAGE
Lloh7:
	ldr	x8, [x8, _TCSADRAIN@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
Lloh9:
	adrp	x2, _sc@GOTPAGE
Lloh10:
	ldr	x2, [x2, _sc@GOTPAGEOFF]
	bl	_tcsetattr
LBB0_2:
	cmp	w19, #1
	b.lt	LBB0_4
; %bb.3:
	str	x19, [sp]
Lloh11:
	adrp	x0, l_.str@PAGE
Lloh12:
	add	x0, x0, l_.str@PAGEOFF
	bl	_printf
	b	LBB0_5
LBB0_4:
Lloh13:
	adrp	x0, l_str@PAGE
Lloh14:
	add	x0, x0, l_str@PAGEOFF
	bl	_puts
LBB0_5:
	add	x0, sp, #12
	bl	_wait
	mov	w0, #0
	bl	_exit
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_sc,4,2                         ; @sc
	.comm	_tc_set,8,3                     ; @tc_set
	.comm	_STDIN_FILENO,4,2               ; @STDIN_FILENO
	.comm	_TCSADRAIN,4,2                  ; @TCSADRAIN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\n[dconschat exiting with signal %d ...]\n"

l_str:                                  ; @str
	.asciz	"\n[dconschat exiting...]"

	.no_dead_strip	_dconschat_cleanup
.subsections_via_symbols
