	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_evhttp_start_read_             ## -- Begin function evhttp_start_read_
	.p2align	4, 0x90
_evhttp_start_read_:                    ## @evhttp_start_read_
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movl	4(%rdi), %edi
	movq	_EV_WRITE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_bufferevent_disable
	movl	4(%rbx), %edi
	movq	_EV_READ@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_bufferevent_enable
	movq	_EVCON_READING_FIRSTLINE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%rbx)
	movl	4(%rbx), %edi
	movq	_evhttp_read_cb@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_evhttp_write_cb@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_evhttp_error_cb@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rbx, %r8
	callq	_bufferevent_setcb
	movl	4(%rbx), %edi
	callq	_bufferevent_get_input
	movl	%eax, %edi
	callq	_evbuffer_get_length
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rbx, %rdi
	callq	_get_deferred_queue
	movl	%eax, %edi
	movq	%rbx, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_event_deferred_cb_schedule_    ## TAILCALL
LBB0_1:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EV_WRITE,4,2                   ## @EV_WRITE
	.comm	_EV_READ,4,2                    ## @EV_READ
	.comm	_EVCON_READING_FIRSTLINE,4,2    ## @EVCON_READING_FIRSTLINE
	.comm	_evhttp_read_cb,4,2             ## @evhttp_read_cb
	.comm	_evhttp_write_cb,4,2            ## @evhttp_write_cb
	.comm	_evhttp_error_cb,4,2            ## @evhttp_error_cb
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_evhttp_start_read_             ; -- Begin function evhttp_start_read_
	.p2align	2
_evhttp_start_read_:                    ; @evhttp_start_read_
	.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, x0
	ldr	w0, [x0, #4]
Lloh0:
	adrp	x8, _EV_WRITE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EV_WRITE@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_bufferevent_disable
	ldr	w0, [x19, #4]
Lloh3:
	adrp	x8, _EV_READ@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EV_READ@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_bufferevent_enable
Lloh6:
	adrp	x8, _EVCON_READING_FIRSTLINE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EVCON_READING_FIRSTLINE@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	str	w8, [x19, #8]
	ldr	w0, [x19, #4]
Lloh9:
	adrp	x8, _evhttp_read_cb@GOTPAGE
Lloh10:
	ldr	x8, [x8, _evhttp_read_cb@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
Lloh12:
	adrp	x8, _evhttp_write_cb@GOTPAGE
Lloh13:
	ldr	x8, [x8, _evhttp_write_cb@GOTPAGEOFF]
Lloh14:
	ldr	w2, [x8]
Lloh15:
	adrp	x8, _evhttp_error_cb@GOTPAGE
Lloh16:
	ldr	x8, [x8, _evhttp_error_cb@GOTPAGEOFF]
Lloh17:
	ldr	w3, [x8]
	mov	x4, x19
	bl	_bufferevent_setcb
	ldr	w0, [x19, #4]
	bl	_bufferevent_get_input
	bl	_evbuffer_get_length
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_get_deferred_queue
	mov	x1, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_event_deferred_cb_schedule_
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_EV_WRITE,4,2                   ; @EV_WRITE
	.comm	_EV_READ,4,2                    ; @EV_READ
	.comm	_EVCON_READING_FIRSTLINE,4,2    ; @EVCON_READING_FIRSTLINE
	.comm	_evhttp_read_cb,4,2             ; @evhttp_read_cb
	.comm	_evhttp_write_cb,4,2            ; @evhttp_write_cb
	.comm	_evhttp_error_cb,4,2            ; @evhttp_error_cb
.subsections_via_symbols
