	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function server_event_cb
_server_event_cb:                       ## @server_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
	movq	_BEV_EVENT_ERROR@GOTPCREL(%rip), %rax
	movzwl	(%rax), %eax
	testw	%si, %ax
	jne	LBB0_3
## %bb.1:
	movq	_BEV_EVENT_EOF@GOTPCREL(%rip), %rcx
	orw	(%rcx), %ax
	testw	%si, %ax
	je	LBB0_2
## %bb.4:
	popq	%rbp
	jmp	_bufferevent_free               ## TAILCALL
LBB0_2:
	popq	%rbp
	retq
LBB0_3:
	leaq	L_.str(%rip), %rdi
	callq	_my_perror
	movl	$1, %edi
	callq	_exit
	.cfi_endproc
                                        ## -- End function
	.comm	_BEV_EVENT_ERROR,2,1            ## @BEV_EVENT_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Error from bufferevent"

	.comm	_BEV_EVENT_EOF,2,1              ## @BEV_EVENT_EOF
	.no_dead_strip	_server_event_cb
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function server_event_cb
_server_event_cb:                       ; @server_event_cb
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	and	w8, w1, #0xffff
Lloh0:
	adrp	x9, _BEV_EVENT_ERROR@GOTPAGE
Lloh1:
	ldr	x9, [x9, _BEV_EVENT_ERROR@GOTPAGEOFF]
	ldrh	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_4
; %bb.1:
Lloh2:
	adrp	x10, _BEV_EVENT_EOF@GOTPAGE
Lloh3:
	ldr	x10, [x10, _BEV_EVENT_EOF@GOTPAGEOFF]
	ldrh	w10, [x10]
	orr	w9, w10, w9
	tst	w9, w8
	b.eq	LBB0_3
; %bb.2:
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_bufferevent_free
LBB0_3:
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_4:
Lloh4:
	adrp	x0, l_.str@PAGE
Lloh5:
	add	x0, x0, l_.str@PAGEOFF
	bl	_my_perror
	mov	w0, #1
	bl	_exit
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_BEV_EVENT_ERROR,2,1            ; @BEV_EVENT_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Error from bufferevent"

	.comm	_BEV_EVENT_EOF,2,1              ; @BEV_EVENT_EOF
	.no_dead_strip	_server_event_cb
.subsections_via_symbols
