	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function filter_event_trigger
_filter_event_trigger:                  ## @filter_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
	movq	_SessionReplicationRole@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_SESSION_REPLICATION_ROLE_REPLICA@GOTPCREL(%rip), %rdx
	movq	(%rsi), %rcx
	cmpq	(%rdx), %rax
	jne	LBB0_2
## %bb.1:
	movq	_TRIGGER_FIRES_ON_ORIGIN@GOTPCREL(%rip), %rdx
	jmp	LBB0_3
LBB0_2:
	movq	_TRIGGER_FIRES_ON_REPLICA@GOTPCREL(%rip), %rdx
LBB0_3:
	xorl	%eax, %eax
	cmpq	(%rdx), %rcx
	je	LBB0_8
## %bb.4:
	movq	8(%rsi), %rdx
	testq	%rdx, %rdx
	je	LBB0_7
## %bb.5:
	movl	16(%rsi), %esi
	movq	_pg_qsort_strcmp@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movl	$8, %ecx
	callq	_bsearch
	testq	%rax, %rax
	je	LBB0_6
LBB0_7:
	movl	$1, %eax
LBB0_8:
	popq	%rbp
	retq
LBB0_6:
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SessionReplicationRole,8,3     ## @SessionReplicationRole
	.comm	_SESSION_REPLICATION_ROLE_REPLICA,8,3 ## @SESSION_REPLICATION_ROLE_REPLICA
	.comm	_TRIGGER_FIRES_ON_ORIGIN,8,3    ## @TRIGGER_FIRES_ON_ORIGIN
	.comm	_TRIGGER_FIRES_ON_REPLICA,8,3   ## @TRIGGER_FIRES_ON_REPLICA
	.comm	_pg_qsort_strcmp,4,2            ## @pg_qsort_strcmp
	.no_dead_strip	_filter_event_trigger
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function filter_event_trigger
_filter_event_trigger:                  ; @filter_event_trigger
	.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
Lloh0:
	adrp	x8, _SessionReplicationRole@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SessionReplicationRole@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x8]
Lloh3:
	adrp	x8, _SESSION_REPLICATION_ROLE_REPLICA@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SESSION_REPLICATION_ROLE_REPLICA@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x8]
	ldr	x8, [x1]
	cmp	x9, x10
	b.ne	LBB0_2
; %bb.1:
Lloh6:
	adrp	x9, _TRIGGER_FIRES_ON_ORIGIN@GOTPAGE
Lloh7:
	ldr	x9, [x9, _TRIGGER_FIRES_ON_ORIGIN@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:
Lloh8:
	adrp	x9, _TRIGGER_FIRES_ON_REPLICA@GOTPAGE
Lloh9:
	ldr	x9, [x9, _TRIGGER_FIRES_ON_REPLICA@GOTPAGEOFF]
LBB0_3:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.4:
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_5:
	ldr	x2, [x1, #8]
	cbz	x2, LBB0_7
; %bb.6:
	ldr	w1, [x1, #16]
Lloh10:
	adrp	x8, _pg_qsort_strcmp@GOTPAGE
Lloh11:
	ldr	x8, [x8, _pg_qsort_strcmp@GOTPAGEOFF]
Lloh12:
	ldr	w4, [x8]
	mov	w3, #8
	bl	_bsearch
	cbz	x0, LBB0_8
LBB0_7:
	mov	w0, #1
LBB0_8:
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_SessionReplicationRole,8,3     ; @SessionReplicationRole
	.comm	_SESSION_REPLICATION_ROLE_REPLICA,8,3 ; @SESSION_REPLICATION_ROLE_REPLICA
	.comm	_TRIGGER_FIRES_ON_ORIGIN,8,3    ; @TRIGGER_FIRES_ON_ORIGIN
	.comm	_TRIGGER_FIRES_ON_REPLICA,8,3   ; @TRIGGER_FIRES_ON_REPLICA
	.comm	_pg_qsort_strcmp,4,2            ; @pg_qsort_strcmp
	.no_dead_strip	_filter_event_trigger
.subsections_via_symbols
