	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function consider_reading
_consider_reading:                      ## @consider_reading
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	_WRITE_FRAME@GOTPCREL(%rip), %r12
	movq	_OP_BLOCKED@GOTPCREL(%rip), %r14
	movq	_OP_ERR@GOTPCREL(%rip), %r15
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	$0, 32(%rbx)
	je	LBB0_4
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	(%r12), %esi
	movq	%rbx, %rdi
	callq	_do_write
	movl	(%r15), %ecx
	orl	(%r14), %ecx
	testl	%eax, %ecx
	je	LBB0_1
## %bb.3:
	cmpq	$0, 32(%rbx)
	jne	LBB0_16
LBB0_4:
	movq	%rbx, %rdi
	callq	_bytes_to_read
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	testl	%eax, %eax
	je	LBB0_11
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_do_read
	orl	%eax, %r12d
	movl	(%r15), %ecx
	orl	(%r14), %ecx
	testl	%eax, %ecx
	jne	LBB0_11
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	cmpq	$0, 8(%rbx)
	jne	LBB0_11
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=1
	movl	24(%rbx), %edi
	callq	_SSL_pending
	testl	%eax, %eax
	jne	LBB0_5
## %bb.9:                               ##   in Loop: Header=BB0_5 Depth=1
	cmpq	$0, 16(%rbx)
	je	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	%rbx, %rdi
	callq	_bytes_to_read
	jmp	LBB0_5
LBB0_11:
	movq	_OP_MADE_PROGRESS@GOTPCREL(%rip), %rax
	testl	%r12d, (%rax)
	je	LBB0_13
## %bb.12:
	movq	_EV_READ@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_bufferevent_trigger_nolock_
LBB0_13:
	cmpq	$0, 16(%rbx)
	je	LBB0_14
LBB0_16:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_14:
	cmpq	$0, 8(%rbx)
	je	LBB0_15
LBB0_17:
	addq	$4, %rbx
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_event_del                      ## TAILCALL
LBB0_15:
	movq	_EV_READ@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rbx)
	jne	LBB0_16
	jmp	LBB0_17
	.cfi_endproc
                                        ## -- End function
	.comm	_WRITE_FRAME,4,2                ## @WRITE_FRAME
	.comm	_OP_BLOCKED,4,2                 ## @OP_BLOCKED
	.comm	_OP_ERR,4,2                     ## @OP_ERR
	.comm	_OP_MADE_PROGRESS,4,2           ## @OP_MADE_PROGRESS
	.comm	_EV_READ,4,2                    ## @EV_READ
	.no_dead_strip	_consider_reading
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function consider_reading
_consider_reading:                      ; @consider_reading
	.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, x0
Lloh0:
	adrp	x22, _WRITE_FRAME@GOTPAGE
Lloh1:
	ldr	x22, [x22, _WRITE_FRAME@GOTPAGEOFF]
Lloh2:
	adrp	x20, _OP_BLOCKED@GOTPAGE
Lloh3:
	ldr	x20, [x20, _OP_BLOCKED@GOTPAGEOFF]
Lloh4:
	adrp	x21, _OP_ERR@GOTPAGE
Lloh5:
	ldr	x21, [x21, _OP_ERR@GOTPAGEOFF]
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #32]
	cbz	x8, LBB0_4
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	w1, [x22]
	mov	x0, x19
	bl	_do_write
	ldr	w8, [x20]
	ldr	w9, [x21]
	orr	w8, w9, w8
	tst	w8, w0
	b.eq	LBB0_1
; %bb.3:
	ldr	x8, [x19, #32]
	cbnz	x8, LBB0_16
LBB0_4:
	mov	x0, x19
	bl	_bytes_to_read
	cbz	w0, LBB0_12
; %bb.5:
	mov	x1, x0
	mov	w22, #0
	b	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	cbz	w1, LBB0_13
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	bl	_do_read
	orr	w22, w0, w22
	ldr	w8, [x20]
	ldr	w9, [x21]
	orr	w8, w9, w8
	tst	w8, w0
	b.ne	LBB0_13
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	x8, [x19, #8]
	cbnz	x8, LBB0_13
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	w0, [x19, #24]
	bl	_SSL_pending
	mov	x1, x0
	cbnz	w0, LBB0_6
; %bb.10:                               ;   in Loop: Header=BB0_7 Depth=1
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_13
; %bb.11:                               ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x19
	bl	_bytes_to_read
	mov	x1, x0
	b	LBB0_6
LBB0_12:
	mov	w22, #0
LBB0_13:
Lloh6:
	adrp	x8, _OP_MADE_PROGRESS@GOTPAGE
Lloh7:
	ldr	x8, [x8, _OP_MADE_PROGRESS@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	tst	w8, w22
	b.eq	LBB0_15
; %bb.14:
Lloh9:
	adrp	x8, _EV_READ@GOTPAGE
Lloh10:
	ldr	x8, [x8, _EV_READ@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	bl	_bufferevent_trigger_nolock_
LBB0_15:
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_17
LBB0_16:
	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
LBB0_17:
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_19
LBB0_18:
	add	x0, x19, #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
	b	_event_del
LBB0_19:
	ldr	w8, [x19]
Lloh12:
	adrp	x9, _EV_READ@GOTPAGE
Lloh13:
	ldr	x9, [x9, _EV_READ@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_16
	b	LBB0_18
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_WRITE_FRAME,4,2                ; @WRITE_FRAME
	.comm	_OP_BLOCKED,4,2                 ; @OP_BLOCKED
	.comm	_OP_ERR,4,2                     ; @OP_ERR
	.comm	_OP_MADE_PROGRESS,4,2           ; @OP_MADE_PROGRESS
	.comm	_EV_READ,4,2                    ; @EV_READ
	.no_dead_strip	_consider_reading
.subsections_via_symbols
