	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dconschat_sigchld
_dconschat_sigchld:                     ## @dconschat_sigchld
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$280, %rsp                      ## imm = 0x118
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_sc@GOTPCREL(%rip), %r14
	movq	16(%r14), %r12
	movq	_DCONS_CON@GOTPCREL(%rip), %rax
	movq	(%rax), %r13
	leaq	L_.str(%rip), %rdx
	leaq	-304(%rbp), %r15
	movq	%r15, %rdi
	movl	$256, %esi                      ## imm = 0x100
	callq	_snprintf
	movl	4(%r12,%r13,8), %ebx
	movq	%r15, %rdi
	callq	_strlen
	movl	%ebx, %edi
	movq	%r15, %rsi
	movl	%eax, %edx
	callq	_write
	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
	leaq	8(%r14), %rdx
	callq	_tcsetattr
LBB0_2:
	leaq	(%r12,%r13,8), %rax
	movl	(%r12,%r13,8), %esi
	movq	_EVFILT_READ@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	_EV_ADD@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	_NOTE_LOWAT@GOTPCREL(%rip), %rdi
	movl	(%rdi), %r8d
	movq	%rax, (%rsp)
	leaq	-312(%rbp), %rbx
	movq	%rbx, %rdi
	movl	$1, %r9d
	callq	_EV_SET
	movl	4(%r14), %edi
	movq	%rbx, %rsi
	movl	$1, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	movq	%r14, %r9
	callq	_kevent
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_4
## %bb.3:
	addq	$280, %rsp                      ## imm = 0x118
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_sc,24,3                        ## @sc
	.comm	_DCONS_CON,8,3                  ## @DCONS_CON
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"\r\n[child exit]\r\n"

	.comm	_tc_set,8,3                     ## @tc_set
	.comm	_STDIN_FILENO,4,2               ## @STDIN_FILENO
	.comm	_TCSADRAIN,4,2                  ## @TCSADRAIN
	.comm	_EVFILT_READ,4,2                ## @EVFILT_READ
	.comm	_EV_ADD,4,2                     ## @EV_ADD
	.comm	_NOTE_LOWAT,4,2                 ## @NOTE_LOWAT
	.no_dead_strip	_dconschat_sigchld
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dconschat_sigchld
_dconschat_sigchld:                     ; @dconschat_sigchld
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #320
	.cfi_def_cfa_offset 320
	stp	x22, x21, [sp, #272]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #288]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #304]            ; 16-byte Folded Spill
	add	x29, sp, #304
	.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
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
Lloh3:
	adrp	x19, _sc@GOTPAGE
Lloh4:
	ldr	x19, [x19, _sc@GOTPAGEOFF]
	ldr	x20, [x19, #16]
Lloh5:
	adrp	x8, _DCONS_CON@GOTPAGE
Lloh6:
	ldr	x8, [x8, _DCONS_CON@GOTPAGEOFF]
Lloh7:
	ldr	x21, [x8]
Lloh8:
	adrp	x2, l_.str@PAGE
Lloh9:
	add	x2, x2, l_.str@PAGEOFF
	add	x0, sp, #8
	mov	w1, #256
	bl	_snprintf
	add	x20, x20, x21, lsl #3
	ldr	w21, [x20, #4]
	add	x0, sp, #8
	bl	_strlen
	mov	x2, x0
	add	x1, sp, #8
	mov	x0, x21
	bl	_write
Lloh10:
	adrp	x8, _tc_set@GOTPAGE
Lloh11:
	ldr	x8, [x8, _tc_set@GOTPAGEOFF]
Lloh12:
	ldr	x8, [x8]
	cbz	x8, LBB0_2
; %bb.1:
Lloh13:
	adrp	x8, _STDIN_FILENO@GOTPAGE
Lloh14:
	ldr	x8, [x8, _STDIN_FILENO@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
Lloh16:
	adrp	x8, _TCSADRAIN@GOTPAGE
Lloh17:
	ldr	x8, [x8, _TCSADRAIN@GOTPAGEOFF]
Lloh18:
	ldr	w1, [x8]
	add	x2, x19, #8
	bl	_tcsetattr
LBB0_2:
	ldr	w1, [x20]
Lloh19:
	adrp	x8, _EVFILT_READ@GOTPAGE
Lloh20:
	ldr	x8, [x8, _EVFILT_READ@GOTPAGEOFF]
Lloh21:
	ldr	w2, [x8]
Lloh22:
	adrp	x8, _EV_ADD@GOTPAGE
Lloh23:
	ldr	x8, [x8, _EV_ADD@GOTPAGEOFF]
Lloh24:
	ldr	w3, [x8]
Lloh25:
	adrp	x8, _NOTE_LOWAT@GOTPAGE
Lloh26:
	ldr	x8, [x8, _NOTE_LOWAT@GOTPAGEOFF]
Lloh27:
	ldr	w4, [x8]
	mov	x0, sp
	mov	w5, #1
	mov	x6, x20
	bl	_EV_SET
	ldr	w0, [x19, #4]
	mov	x1, sp
	mov	w2, #1
	mov	x3, #0
	mov	w4, #0
	mov	x5, x19
	bl	_kevent
	ldur	x8, [x29, #-40]
Lloh28:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh29:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh30:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_4
; %bb.3:
	ldp	x29, x30, [sp, #304]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #288]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #272]            ; 16-byte Folded Reload
	add	sp, sp, #320
	ret
LBB0_4:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_sc,24,3                        ; @sc
	.comm	_DCONS_CON,8,3                  ; @DCONS_CON
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\r\n[child exit]\r\n"

	.comm	_tc_set,8,3                     ; @tc_set
	.comm	_STDIN_FILENO,4,2               ; @STDIN_FILENO
	.comm	_TCSADRAIN,4,2                  ; @TCSADRAIN
	.comm	_EVFILT_READ,4,2                ; @EVFILT_READ
	.comm	_EV_ADD,4,2                     ; @EV_ADD
	.comm	_NOTE_LOWAT,4,2                 ; @NOTE_LOWAT
	.no_dead_strip	_dconschat_sigchld
.subsections_via_symbols
