	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function compute_conn_events
_compute_conn_events:                   ## @compute_conn_events
	.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
	.cfi_offset %rbx, -24
	movl	(%rdi), %r9d
	movq	_C_WANTRD@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_C_STOPREAD@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_EVT_READ@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	_C_WANTWR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_EVT_WRITE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_EVT_SPEC@GOTPCREL(%rip), %rdx
	movl	(%rdx), %r11d
	movq	_C_NORD@GOTPCREL(%rip), %rdx
	movl	(%rdx), %esi
	orl	%ebx, %esi
	movl	%r9d, %edx
	notl	%edx
	testl	%edx, %esi
	je	LBB0_2
## %bb.1:
	movq	_C_NOWR@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	orl	%edi, %esi
	xorl	%r10d, %r10d
	testl	%edx, %esi
	jne	LBB0_3
LBB0_2:
	movq	_EVT_LEVEL@GOTPCREL(%rip), %rdx
	movl	(%rdx), %r10d
LBB0_3:
	orl	%ebx, %ecx
	andl	%r9d, %ecx
	xorl	%edx, %edx
	cmpl	%ebx, %ecx
	cmovel	%r8d, %edx
	andl	%r9d, %edi
	cmovel	%edi, %eax
	orl	%edx, %r11d
	orl	%r10d, %eax
	orl	%r11d, %eax
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_C_WANTRD,4,2                   ## @C_WANTRD
	.comm	_C_STOPREAD,4,2                 ## @C_STOPREAD
	.comm	_EVT_READ,4,2                   ## @EVT_READ
	.comm	_C_WANTWR,4,2                   ## @C_WANTWR
	.comm	_EVT_WRITE,4,2                  ## @EVT_WRITE
	.comm	_EVT_SPEC,4,2                   ## @EVT_SPEC
	.comm	_C_NORD,4,2                     ## @C_NORD
	.comm	_C_NOWR,4,2                     ## @C_NOWR
	.comm	_EVT_LEVEL,4,2                  ## @EVT_LEVEL
	.no_dead_strip	_compute_conn_events
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function compute_conn_events
_compute_conn_events:                   ; @compute_conn_events
	.cfi_startproc
; %bb.0:
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _C_WANTRD@GOTPAGE
Lloh1:
	ldr	x9, [x9, _C_WANTRD@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
Lloh3:
	adrp	x10, _C_STOPREAD@GOTPAGE
Lloh4:
	ldr	x10, [x10, _C_STOPREAD@GOTPAGEOFF]
Lloh5:
	ldr	w12, [x10]
Lloh6:
	adrp	x10, _EVT_READ@GOTPAGE
Lloh7:
	ldr	x10, [x10, _EVT_READ@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
Lloh9:
	adrp	x11, _C_WANTWR@GOTPAGE
Lloh10:
	ldr	x11, [x11, _C_WANTWR@GOTPAGEOFF]
Lloh11:
	ldr	w11, [x11]
Lloh12:
	adrp	x13, _EVT_WRITE@GOTPAGE
Lloh13:
	ldr	x13, [x13, _EVT_WRITE@GOTPAGEOFF]
Lloh14:
	ldr	w13, [x13]
Lloh15:
	adrp	x14, _EVT_SPEC@GOTPAGE
Lloh16:
	ldr	x14, [x14, _EVT_SPEC@GOTPAGEOFF]
Lloh17:
	ldr	w14, [x14]
Lloh18:
	adrp	x15, _C_NORD@GOTPAGE
Lloh19:
	ldr	x15, [x15, _C_NORD@GOTPAGEOFF]
Lloh20:
	ldr	w15, [x15]
	orr	w15, w15, w9
	bics	wzr, w15, w8
	b.eq	LBB0_2
; %bb.1:
Lloh21:
	adrp	x15, _C_NOWR@GOTPAGE
Lloh22:
	ldr	x15, [x15, _C_NOWR@GOTPAGEOFF]
Lloh23:
	ldr	w15, [x15]
	orr	w15, w15, w11
	bics	wzr, w15, w8
	b.ne	LBB0_3
LBB0_2:
Lloh24:
	adrp	x15, _EVT_LEVEL@GOTPAGE
Lloh25:
	ldr	x15, [x15, _EVT_LEVEL@GOTPAGEOFF]
Lloh26:
	ldr	w15, [x15]
	b	LBB0_4
LBB0_3:
	mov	w15, #0
LBB0_4:
	orr	w12, w12, w9
	and	w12, w12, w8
	cmp	w12, w9
	csel	w9, w10, wzr, eq
	tst	w11, w8
	csel	w8, wzr, w13, eq
	orr	w9, w14, w9
	orr	w8, w9, w8
	orr	w0, w8, w15
	ret
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.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
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.comm	_C_WANTRD,4,2                   ; @C_WANTRD
	.comm	_C_STOPREAD,4,2                 ; @C_STOPREAD
	.comm	_EVT_READ,4,2                   ; @EVT_READ
	.comm	_C_WANTWR,4,2                   ; @C_WANTWR
	.comm	_EVT_WRITE,4,2                  ; @EVT_WRITE
	.comm	_EVT_SPEC,4,2                   ; @EVT_SPEC
	.comm	_C_NORD,4,2                     ; @C_NORD
	.comm	_C_NOWR,4,2                     ; @C_NOWR
	.comm	_EVT_LEVEL,4,2                  ; @EVT_LEVEL
	.no_dead_strip	_compute_conn_events
.subsections_via_symbols
