	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bev_timeout_event_cb
_bev_timeout_event_cb:                  ## @bev_timeout_event_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	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	incl	16(%rdx)
	movl	%esi, %ebx
	movq	_BEV_EVENT_READING@GOTPCREL(%rip), %rcx
	movq	_BEV_EVENT_TIMEOUT@GOTPCREL(%rip), %r15
	movzwl	(%r15), %eax
	movzwl	(%rcx), %ecx
	orw	%ax, %cx
	movl	%esi, %edx
	notl	%edx
	testw	%dx, %cx
	jne	LBB0_2
## %bb.1:
	leaq	12(%r14), %rdi
	xorl	%esi, %esi
	callq	_evutil_gettimeofday
	incl	8(%r14)
	movzwl	(%r15), %eax
LBB0_2:
	movq	_BEV_EVENT_WRITING@GOTPCREL(%rip), %rcx
	orw	(%rcx), %ax
	notl	%ebx
	testw	%bx, %ax
	jne	LBB0_4
## %bb.3:
	leaq	4(%r14), %rdi
	xorl	%esi, %esi
	callq	_evutil_gettimeofday
	incl	(%r14)
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BEV_EVENT_READING,2,1          ## @BEV_EVENT_READING
	.comm	_BEV_EVENT_TIMEOUT,2,1          ## @BEV_EVENT_TIMEOUT
	.comm	_BEV_EVENT_WRITING,2,1          ## @BEV_EVENT_WRITING
	.no_dead_strip	_bev_timeout_event_cb
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bev_timeout_event_cb
_bev_timeout_event_cb:                  ; @bev_timeout_event_cb
	.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
	mov	x19, x2
	and	w20, w1, #0xffff
	ldr	w8, [x2, #16]
	add	w8, w8, #1
	str	w8, [x2, #16]
Lloh0:
	adrp	x8, _BEV_EVENT_READING@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BEV_EVENT_READING@GOTPAGEOFF]
	ldrh	w9, [x8]
Lloh2:
	adrp	x21, _BEV_EVENT_TIMEOUT@GOTPAGE
Lloh3:
	ldr	x21, [x21, _BEV_EVENT_TIMEOUT@GOTPAGEOFF]
	ldrh	w8, [x21]
	orr	w9, w8, w9
	bic	w9, w9, w1
	tst	w9, #0xffff
	b.ne	LBB0_2
; %bb.1:
	add	x0, x19, #12
	mov	x1, #0
	bl	_evutil_gettimeofday
	ldr	w8, [x19, #8]
	add	w8, w8, #1
	str	w8, [x19, #8]
	ldrh	w8, [x21]
LBB0_2:
Lloh4:
	adrp	x9, _BEV_EVENT_WRITING@GOTPAGE
Lloh5:
	ldr	x9, [x9, _BEV_EVENT_WRITING@GOTPAGEOFF]
	ldrh	w9, [x9]
	orr	w8, w8, w9
	bics	wzr, w8, w20
	b.ne	LBB0_4
; %bb.3:
	add	x0, x19, #4
	mov	x1, #0
	bl	_evutil_gettimeofday
	ldr	w8, [x19]
	add	w8, w8, #1
	str	w8, [x19]
LBB0_4:
	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
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_BEV_EVENT_READING,2,1          ; @BEV_EVENT_READING
	.comm	_BEV_EVENT_TIMEOUT,2,1          ; @BEV_EVENT_TIMEOUT
	.comm	_BEV_EVENT_WRITING,2,1          ; @BEV_EVENT_WRITING
	.no_dead_strip	_bev_timeout_event_cb
.subsections_via_symbols
