	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dconschat_ready
_dconschat_ready:                       ## @dconschat_ready
	.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	(%rdi), %eax
	movq	_F_READY@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%esi, %esi
	je	LBB0_4
## %bb.1:
	xorl	%edx, %edx
	testl	%eax, %ecx
	setne	%dl
	orl	%eax, %ecx
	movl	%ecx, (%rdi)
	cmpl	%esi, %edx
	je	LBB0_3
## %bb.2:
	leaq	L_str(%rip), %rdi
	callq	_puts
LBB0_3:
	movb	$0, _dconschat_ready.oldreason(%rip)
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_4:
	movq	%rdx, %rbx
	notl	%ecx
	andl	%ecx, %eax
	movl	%eax, (%rdi)
	leaq	_dconschat_ready.oldreason(%rip), %rdi
	movq	%rdx, %rsi
	movl	$64, %edx
	callq	_strncmp
	testq	%rax, %rax
	je	LBB0_5
## %bb.6:
	leaq	L_.str.1(%rip), %rdi
	movq	%rbx, %rsi
	xorl	%eax, %eax
	callq	_printf
	leaq	_dconschat_ready.oldreason(%rip), %rdi
	movq	%rbx, %rsi
	movl	$64, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_strlcpy                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_dconschat_ready.oldreason,64,4 ## @dconschat_ready.oldreason
	.comm	_F_READY,4,2                    ## @F_READY
	.section	__TEXT,__cstring,cstring_literals
L_.str.1:                               ## @.str.1
	.asciz	"[dcons disconnected (%s)]\r\n"

L_str:                                  ## @str
	.asciz	"[dcons connected]\r"

	.no_dead_strip	_dconschat_ready
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dconschat_ready
_dconschat_ready:                       ; @dconschat_ready
	.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
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _F_READY@GOTPAGE
Lloh1:
	ldr	x9, [x9, _F_READY@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	cbz	w1, LBB0_5
; %bb.1:
	tst	w9, w8
	cset	w10, ne
	orr	w8, w9, w8
	str	w8, [x0]
	cmp	w10, w1
	b.eq	LBB0_3
; %bb.2:
Lloh3:
	adrp	x0, l_str@PAGE
Lloh4:
	add	x0, x0, l_str@PAGEOFF
	bl	_puts
LBB0_3:
	adrp	x8, _dconschat_ready.oldreason@PAGE
	strb	wzr, [x8, _dconschat_ready.oldreason@PAGEOFF]
LBB0_4:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_5:
	mov	x19, x2
	bic	w8, w8, w9
	str	w8, [x0]
Lloh5:
	adrp	x0, _dconschat_ready.oldreason@PAGE
Lloh6:
	add	x0, x0, _dconschat_ready.oldreason@PAGEOFF
	mov	x1, x2
	mov	w2, #64
	bl	_strncmp
	cbz	x0, LBB0_4
; %bb.6:
	str	x19, [sp]
Lloh7:
	adrp	x0, l_.str.1@PAGE
Lloh8:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_printf
Lloh9:
	adrp	x0, _dconschat_ready.oldreason@PAGE
Lloh10:
	add	x0, x0, _dconschat_ready.oldreason@PAGEOFF
	mov	x1, x19
	mov	w2, #64
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	b	_strlcpy
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_dconschat_ready.oldreason,64,0 ; @dconschat_ready.oldreason
	.comm	_F_READY,4,2                    ; @F_READY
	.section	__TEXT,__cstring,cstring_literals
l_.str.1:                               ; @.str.1
	.asciz	"[dcons disconnected (%s)]\r\n"

l_str:                                  ; @str
	.asciz	"[dcons connected]\r"

	.no_dead_strip	_dconschat_ready
.subsections_via_symbols
