	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bufferevent_filtered_inbuf_cb
_bufferevent_filtered_inbuf_cb:         ## @bufferevent_filtered_inbuf_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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdx, %rbx
	movq	%rdx, %rdi
	callq	_downcast
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_BEV_LOCK
	cmpq	$0, 16(%rbx)
	jne	LBB0_1
## %bb.2:
	movq	_BEV_NORMAL@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_BEV_FINISHED@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_be_readbuf_full
	testl	%eax, %eax
	jne	LBB0_6
## %bb.4:
	movl	(%r14), %edi
	movl	8(%rbx), %esi
	movq	_EVBUFFER_CB_ENABLED@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_evbuffer_cb_clear_flags
	movq	(%rbx), %rax
	movl	(%rax), %edi
	callq	_evbuffer_get_length
	testq	%rax, %rax
	jle	LBB0_6
## %bb.5:
	movq	(%rbx), %rdi
	movq	%rbx, %rsi
	callq	_be_filter_read_nolock_
LBB0_6:
	movq	%r14, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_BEV_UNLOCK                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_BEV_FINISHED,4,2               ## @BEV_FINISHED
	.comm	_BEV_NORMAL,4,2                 ## @BEV_NORMAL
	.comm	_EVBUFFER_CB_ENABLED,4,2        ## @EVBUFFER_CB_ENABLED
	.no_dead_strip	_bufferevent_filtered_inbuf_cb
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bufferevent_filtered_inbuf_cb
_bufferevent_filtered_inbuf_cb:         ; @bufferevent_filtered_inbuf_cb
	.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	x0, x2
	bl	_downcast
	mov	x20, x0
	bl	_BEV_LOCK
Lloh0:
	adrp	x8, _BEV_NORMAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BEV_NORMAL@GOTPAGEOFF]
	ldr	x9, [x19, #16]
Lloh2:
	adrp	x10, _BEV_FINISHED@GOTPAGE
Lloh3:
	ldr	x10, [x10, _BEV_FINISHED@GOTPAGEOFF]
	cmp	x9, #0
	csel	x8, x8, x10, eq
	ldr	w1, [x8]
	mov	x0, x19
	bl	_be_readbuf_full
	cbnz	w0, LBB0_3
; %bb.1:
	ldr	w0, [x20]
	ldr	w1, [x19, #8]
Lloh4:
	adrp	x8, _EVBUFFER_CB_ENABLED@GOTPAGE
Lloh5:
	ldr	x8, [x8, _EVBUFFER_CB_ENABLED@GOTPAGEOFF]
Lloh6:
	ldr	w2, [x8]
	bl	_evbuffer_cb_clear_flags
	ldr	x8, [x19]
	ldr	w0, [x8]
	bl	_evbuffer_get_length
	cmp	x0, #1
	b.lt	LBB0_3
; %bb.2:
	ldr	x0, [x19]
	mov	x1, x19
	bl	_be_filter_read_nolock_
LBB0_3:
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_BEV_UNLOCK
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_BEV_FINISHED,4,2               ; @BEV_FINISHED
	.comm	_BEV_NORMAL,4,2                 ; @BEV_NORMAL
	.comm	_EVBUFFER_CB_ENABLED,4,2        ; @EVBUFFER_CB_ENABLED
	.no_dead_strip	_bufferevent_filtered_inbuf_cb
.subsections_via_symbols
