	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function read_cb
_read_cb:                               ## @read_cb
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdx, %r14
	movl	%esi, %ebx
	leaq	-17(%rbp), %rsi
	movl	$1, %edx
	xorl	%ecx, %ecx
	callq	_recv
	movq	_called@GOTPCREL(%rip), %rcx
	incl	(%rcx)
	movq	_EV_ET@GOTPCREL(%rip), %rcx
	testw	%bx, (%rcx)
	je	LBB0_2
## %bb.1:
	movq	_was_et@GOTPCREL(%rip), %rcx
	movl	$1, (%rcx)
LBB0_2:
	testl	%eax, %eax
	jne	LBB0_4
## %bb.3:
	movq	%r14, %rdi
	callq	_event_del
LBB0_4:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_called,4,2                     ## @called
	.comm	_EV_ET,2,1                      ## @EV_ET
	.comm	_was_et,4,2                     ## @was_et
	.no_dead_strip	_read_cb
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function read_cb
_read_cb:                               ; @read_cb
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x2
	mov	x20, x1
	mov	w21, #1
	add	x1, sp, #15
	mov	w2, #1
	mov	w3, #0
	bl	_recv
Lloh0:
	adrp	x8, _EV_ET@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EV_ET@GOTPAGEOFF]
	ldrh	w8, [x8]
Lloh2:
	adrp	x9, _called@GOTPAGE
Lloh3:
	ldr	x9, [x9, _called@GOTPAGEOFF]
	ldr	w10, [x9]
	add	w10, w10, #1
	str	w10, [x9]
	tst	w20, w8
	b.eq	LBB0_2
; %bb.1:
Lloh4:
	adrp	x8, _was_et@GOTPAGE
Lloh5:
	ldr	x8, [x8, _was_et@GOTPAGEOFF]
Lloh6:
	str	w21, [x8]
LBB0_2:
	cbnz	w0, LBB0_4
; %bb.3:
	mov	x0, x19
	bl	_event_del
LBB0_4:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotStr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_called,4,2                     ; @called
	.comm	_EV_ET,2,1                      ; @EV_ET
	.comm	_was_et,4,2                     ; @was_et
	.no_dead_strip	_read_cb
.subsections_via_symbols
