	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_serf_event_trigger             ## -- Begin function serf_event_trigger
	.p2align	4, 0x90
_serf_event_trigger:                    ## @serf_event_trigger
	.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
	subq	$32, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -48(%rbp)
	movaps	%xmm0, -64(%rbp)
	movq	_APR_SUCCESS@GOTPCREL(%rip), %r12
	movq	(%r12), %r14
	movq	(%rsi), %rax
	movq	_SERF_IO_CONN@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_10
## %bb.1:
	movq	24(%rsi), %rbx
	movq	32(%rbx), %r15
	cmpq	$0, (%rbx)
	je	LBB0_3
## %bb.2:
	movq	_APR_POLL_SOCKET@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	24(%rbx), %rax
	movq	%rax, -56(%rbp)
LBB0_9:
	movl	16(%rbx), %eax
	movl	%eax, -60(%rbp)
	movl	(%r15), %edi
	leaq	12(%rbx), %rdx
	leaq	-64(%rbp), %rsi
	callq	*8(%r15)
	movq	(%rbx), %r14
	jmp	LBB0_12
LBB0_10:
	movq	_SERF_IO_LISTENER@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_11
## %bb.13:
	movq	16(%rsi), %rdi
	addq	$32, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_serf__process_listener         ## TAILCALL
LBB0_11:
	movq	_SERF_IO_CLIENT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_12
## %bb.14:
	movq	8(%rsi), %rdi
	movl	(%rdx), %esi
	addq	$32, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_serf__process_client           ## TAILCALL
LBB0_3:
	movl	8(%rbx), %eax
	movl	(%rdx), %esi
	testl	%eax, %esi
	jne	LBB0_12
## %bb.4:
	movq	_APR_POLLHUP@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	jne	LBB0_12
## %bb.5:
	orl	%esi, %eax
	movl	%eax, 8(%rbx)
	movq	%rbx, %rdi
	callq	_serf__process_connection
	movq	%rax, (%rbx)
	cmpq	(%r12), %rax
	je	LBB0_12
## %bb.6:
	movq	24(%rbx), %rcx
	testq	%rcx, %rcx
	je	LBB0_7
## %bb.8:
	movq	_APR_POLL_SOCKET@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	%rcx, -56(%rbp)
	jmp	LBB0_9
LBB0_7:
	movq	%rax, %r14
LBB0_12:
	movq	%r14, %rax
	addq	$32, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_APR_SUCCESS,8,3                ## @APR_SUCCESS
	.comm	_SERF_IO_CONN,8,3               ## @SERF_IO_CONN
	.comm	_APR_POLL_SOCKET,8,3            ## @APR_POLL_SOCKET
	.comm	_APR_POLLHUP,4,2                ## @APR_POLLHUP
	.comm	_SERF_IO_LISTENER,8,3           ## @SERF_IO_LISTENER
	.comm	_SERF_IO_CLIENT,8,3             ## @SERF_IO_CLIENT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_serf_event_trigger             ; -- Begin function serf_event_trigger
	.p2align	2
_serf_event_trigger:                    ; @serf_event_trigger
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	movi.2d	v0, #0000000000000000
	stp	q0, q0, [sp]
Lloh0:
	adrp	x22, _APR_SUCCESS@GOTPAGE
Lloh1:
	ldr	x22, [x22, _APR_SUCCESS@GOTPAGEOFF]
	ldr	x19, [x22]
	ldr	x8, [x1]
Lloh2:
	adrp	x9, _SERF_IO_CONN@GOTPAGE
Lloh3:
	ldr	x9, [x9, _SERF_IO_CONN@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.1:
	ldr	x20, [x1, #24]
	ldr	x21, [x20, #32]
	ldr	x8, [x20]
	cbz	x8, LBB0_8
; %bb.2:
Lloh5:
	adrp	x8, _APR_POLL_SOCKET@GOTPAGE
Lloh6:
	ldr	x8, [x8, _APR_POLL_SOCKET@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	ldr	x9, [x20, #24]
	stp	x9, x8, [sp, #8]
LBB0_3:
	ldr	w8, [x20, #16]
	str	w8, [sp, #4]
	ldr	x8, [x21, #8]
	ldr	w0, [x21]
	add	x2, x20, #12
	mov	x1, sp
	blr	x8
	ldr	x19, [x20]
	b	LBB0_14
LBB0_4:
Lloh8:
	adrp	x9, _SERF_IO_LISTENER@GOTPAGE
Lloh9:
	ldr	x9, [x9, _SERF_IO_LISTENER@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_6
; %bb.5:
	ldr	x0, [x1, #16]
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	b	_serf__process_listener
LBB0_6:
Lloh11:
	adrp	x9, _SERF_IO_CLIENT@GOTPAGE
Lloh12:
	ldr	x9, [x9, _SERF_IO_CLIENT@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_14
; %bb.7:
	ldr	x0, [x1, #8]
	ldr	w1, [x2]
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	b	_serf__process_client
LBB0_8:
	ldr	w8, [x20, #8]
	ldr	w1, [x2]
	tst	w1, w8
	b.ne	LBB0_14
; %bb.9:
Lloh14:
	adrp	x9, _APR_POLLHUP@GOTPAGE
Lloh15:
	ldr	x9, [x9, _APR_POLLHUP@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_14
; %bb.10:
	orr	w8, w1, w8
	str	w8, [x20, #8]
	mov	x0, x20
	bl	_serf__process_connection
	str	x0, [x20]
	ldr	x8, [x22]
	cmp	x0, x8
	b.eq	LBB0_14
; %bb.11:
	ldr	x8, [x20, #24]
	cbz	x8, LBB0_13
; %bb.12:
Lloh17:
	adrp	x9, _APR_POLL_SOCKET@GOTPAGE
Lloh18:
	ldr	x9, [x9, _APR_POLL_SOCKET@GOTPAGEOFF]
Lloh19:
	ldr	x9, [x9]
	stp	x8, x9, [sp, #8]
	b	LBB0_3
LBB0_13:
	mov	x19, x0
LBB0_14:
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_APR_SUCCESS,8,3                ; @APR_SUCCESS
	.comm	_SERF_IO_CONN,8,3               ; @SERF_IO_CONN
	.comm	_APR_POLL_SOCKET,8,3            ; @APR_POLL_SOCKET
	.comm	_APR_POLLHUP,4,2                ; @APR_POLLHUP
	.comm	_SERF_IO_LISTENER,8,3           ; @SERF_IO_LISTENER
	.comm	_SERF_IO_CLIENT,8,3             ; @SERF_IO_CLIENT
.subsections_via_symbols
