	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function be_openssl_readeventcb
_be_openssl_readeventcb:                ## @be_openssl_readeventcb
	.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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdx, %rbx
	movl	%esi, %r14d
	movq	%rdx, %rdi
	callq	_bufferevent_incref_and_lock_
	movq	_EV_TIMEOUT@GOTPCREL(%rip), %rax
	cmpw	%r14w, (%rax)
	jne	LBB0_2
## %bb.1:
	movq	_BEV_EVENT_TIMEOUT@GOTPCREL(%rip), %rax
	movq	_BEV_EVENT_READING@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_bufferevent_run_eventcb_
	jmp	LBB0_3
LBB0_2:
	movq	%rbx, %rdi
	callq	_consider_reading
LBB0_3:
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_bufferevent_decref_and_unlock_ ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_EV_TIMEOUT,2,1                 ## @EV_TIMEOUT
	.comm	_BEV_EVENT_TIMEOUT,4,2          ## @BEV_EVENT_TIMEOUT
	.comm	_BEV_EVENT_READING,4,2          ## @BEV_EVENT_READING
	.no_dead_strip	_be_openssl_readeventcb
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function be_openssl_readeventcb
_be_openssl_readeventcb:                ; @be_openssl_readeventcb
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x2
	mov	x20, x1
	mov	x0, x2
	bl	_bufferevent_incref_and_lock_
Lloh0:
	adrp	x8, _EV_TIMEOUT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EV_TIMEOUT@GOTPAGEOFF]
	ldrh	w8, [x8]
	cmp	w8, w20, uxth
	b.ne	LBB0_2
; %bb.1:
Lloh2:
	adrp	x8, _BEV_EVENT_TIMEOUT@GOTPAGE
Lloh3:
	ldr	x8, [x8, _BEV_EVENT_TIMEOUT@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	adrp	x9, _BEV_EVENT_READING@GOTPAGE
Lloh6:
	ldr	x9, [x9, _BEV_EVENT_READING@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	orr	w1, w9, w8
	mov	x0, x19
	mov	w2, #0
	bl	_bufferevent_run_eventcb_
	b	LBB0_3
LBB0_2:
	mov	x0, x19
	bl	_consider_reading
LBB0_3:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_bufferevent_decref_and_unlock_
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_EV_TIMEOUT,2,1                 ; @EV_TIMEOUT
	.comm	_BEV_EVENT_TIMEOUT,4,2          ; @BEV_EVENT_TIMEOUT
	.comm	_BEV_EVENT_READING,4,2          ; @BEV_EVENT_READING
	.no_dead_strip	_be_openssl_readeventcb
.subsections_via_symbols
