	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function matchLocks
_matchLocks:                            ## @matchLocks
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, -80(%rbp)                  ## 8-byte Spill
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	movq	_NIL@GOTPCREL(%rip), %rax
	movq	(%rax), %r9
	testq	%rsi, %rsi
	je	LBB0_18
## %bb.1:
	movq	%rcx, %r8
	movq	%rsi, %r13
	movq	(%rcx), %rax
	movq	_CMD_SELECT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_3
## %bb.2:
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	cmpl	%eax, 8(%r8)
	jne	LBB0_18
LBB0_3:
	movl	(%r13), %r15d
	testl	%r15d, %r15d
	jle	LBB0_18
## %bb.4:
	xorl	%r12d, %r12d
	movq	_CMD_UPDATE@GOTPCREL(%rip), %rbx
	movq	%r8, -64(%rbp)                  ## 8-byte Spill
	movq	%r13, -72(%rbp)                 ## 8-byte Spill
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	%r9, %rdi
	movq	%r14, %rsi
	callq	_lappend
	movq	-64(%rbp), %r8                  ## 8-byte Reload
	movq	%rax, %r9
LBB0_17:                                ##   in Loop: Header=BB0_5 Depth=1
	incq	%r12
	cmpq	%r12, %r15
	je	LBB0_18
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r13), %rax
	movq	(%rax,%r12,8), %r14
	movq	(%r14), %rax
	cmpq	(%rbx), %rax
	jne	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	movl	$1, (%rcx)
LBB0_7:                                 ##   in Loop: Header=BB0_5 Depth=1
	movq	_CMD_SELECT@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	%rcx, %rax
	je	LBB0_13
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	_SessionReplicationRole@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rsi
	movq	8(%r14), %rdx
	movq	_SESSION_REPLICATION_ROLE_REPLICA@GOTPCREL(%rip), %rdi
	cmpq	(%rdi), %rsi
	jne	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	_RULE_FIRES_ON_ORIGIN@GOTPCREL(%rip), %rsi
	cmpq	(%rsi), %rdx
	jne	LBB0_12
	jmp	LBB0_17
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	_RULE_FIRES_ON_REPLICA@GOTPCREL(%rip), %rsi
	cmpq	(%rsi), %rdx
	je	LBB0_17
LBB0_12:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	_RULE_DISABLED@GOTPCREL(%rip), %rsi
	cmpq	(%rsi), %rdx
	je	LBB0_17
LBB0_13:                                ##   in Loop: Header=BB0_5 Depth=1
	cmpq	-56(%rbp), %rax                 ## 8-byte Folded Reload
	jne	LBB0_17
## %bb.14:                              ##   in Loop: Header=BB0_5 Depth=1
	cmpq	%rcx, (%r8)
	jne	LBB0_16
## %bb.15:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	%r9, %r13
	movq	%r8, %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	xorl	%edx, %edx
	callq	_rangeTableEntry_used
	movq	%r13, %r9
	movq	-72(%rbp), %r13                 ## 8-byte Reload
	movq	-64(%rbp), %r8                  ## 8-byte Reload
	testq	%rax, %rax
	jne	LBB0_16
	jmp	LBB0_17
LBB0_18:
	movq	%r9, %rax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NIL,8,3                        ## @NIL
	.comm	_CMD_SELECT,8,3                 ## @CMD_SELECT
	.comm	_CMD_UPDATE,8,3                 ## @CMD_UPDATE
	.comm	_SessionReplicationRole,8,3     ## @SessionReplicationRole
	.comm	_SESSION_REPLICATION_ROLE_REPLICA,8,3 ## @SESSION_REPLICATION_ROLE_REPLICA
	.comm	_RULE_FIRES_ON_ORIGIN,8,3       ## @RULE_FIRES_ON_ORIGIN
	.comm	_RULE_DISABLED,8,3              ## @RULE_DISABLED
	.comm	_RULE_FIRES_ON_REPLICA,8,3      ## @RULE_FIRES_ON_REPLICA
	.no_dead_strip	_matchLocks
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function matchLocks
_matchLocks:                            ; @matchLocks
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	str	w2, [sp, #12]                   ; 4-byte Folded Spill
Lloh0:
	adrp	x8, _NIL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NIL@GOTPAGEOFF]
Lloh2:
	ldr	x19, [x8]
	cbz	x1, LBB0_17
; %bb.1:
	mov	x20, x4
	mov	x21, x3
	mov	x23, x1
	mov	x24, x0
	ldr	x8, [x3]
Lloh3:
	adrp	x26, _CMD_SELECT@GOTPAGE
Lloh4:
	ldr	x26, [x26, _CMD_SELECT@GOTPAGEOFF]
	ldr	x9, [x26]
	cmp	x8, x9
	b.eq	LBB0_3
; %bb.2:
	ldr	w8, [x21, #8]
	ldr	w9, [sp, #12]                   ; 4-byte Folded Reload
	cmp	w8, w9
	b.ne	LBB0_17
LBB0_3:
	ldr	w8, [x23]
	cmp	w8, #1
	b.lt	LBB0_17
; %bb.4:
	mov	x27, #0
Lloh5:
	adrp	x28, _CMD_UPDATE@GOTPAGE
Lloh6:
	ldr	x28, [x28, _CMD_UPDATE@GOTPAGEOFF]
	lsl	x22, x8, #3
	b	LBB0_7
LBB0_5:                                 ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x19
	mov	x1, x25
	bl	_lappend
	mov	x19, x0
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	add	x27, x27, #8
	cmp	x22, x27
	b.eq	LBB0_17
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x23, #8]
	ldr	x25, [x8, x27]
	ldr	x8, [x25]
	ldr	x9, [x28]
	cmp	x8, x9
	b.ne	LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	w9, #1
	str	w9, [x20]
LBB0_9:                                 ;   in Loop: Header=BB0_7 Depth=1
	ldr	x9, [x26]
	cmp	x8, x9
	b.ne	LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_7 Depth=1
	cmp	x8, x24
	b.ne	LBB0_6
	b	LBB0_15
LBB0_11:                                ;   in Loop: Header=BB0_7 Depth=1
Lloh7:
	adrp	x10, _SessionReplicationRole@GOTPAGE
Lloh8:
	ldr	x10, [x10, _SessionReplicationRole@GOTPAGEOFF]
Lloh9:
	ldr	x11, [x10]
Lloh10:
	adrp	x10, _SESSION_REPLICATION_ROLE_REPLICA@GOTPAGE
Lloh11:
	ldr	x10, [x10, _SESSION_REPLICATION_ROLE_REPLICA@GOTPAGEOFF]
Lloh12:
	ldr	x12, [x10]
	ldr	x10, [x25, #8]
	cmp	x11, x12
	b.ne	LBB0_13
; %bb.12:                               ;   in Loop: Header=BB0_7 Depth=1
Lloh13:
	adrp	x11, _RULE_FIRES_ON_ORIGIN@GOTPAGE
Lloh14:
	ldr	x11, [x11, _RULE_FIRES_ON_ORIGIN@GOTPAGEOFF]
	b	LBB0_14
LBB0_13:                                ;   in Loop: Header=BB0_7 Depth=1
Lloh15:
	adrp	x11, _RULE_FIRES_ON_REPLICA@GOTPAGE
Lloh16:
	ldr	x11, [x11, _RULE_FIRES_ON_REPLICA@GOTPAGEOFF]
LBB0_14:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	x11, [x11]
Lloh17:
	adrp	x12, _RULE_DISABLED@GOTPAGE
Lloh18:
	ldr	x12, [x12, _RULE_DISABLED@GOTPAGEOFF]
Lloh19:
	ldr	x12, [x12]
	cmp	x10, x11
	ccmp	x10, x12, #4, ne
	ccmp	x8, x24, #0, ne
	b.ne	LBB0_6
LBB0_15:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	x8, [x21]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.16:                               ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x21
	ldr	w1, [sp, #12]                   ; 4-byte Folded Reload
	mov	w2, #0
	bl	_rangeTableEntry_used
	cbnz	x0, LBB0_5
	b	LBB0_6
LBB0_17:
	mov	x0, x19
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_NIL,8,3                        ; @NIL
	.comm	_CMD_SELECT,8,3                 ; @CMD_SELECT
	.comm	_CMD_UPDATE,8,3                 ; @CMD_UPDATE
	.comm	_SessionReplicationRole,8,3     ; @SessionReplicationRole
	.comm	_SESSION_REPLICATION_ROLE_REPLICA,8,3 ; @SESSION_REPLICATION_ROLE_REPLICA
	.comm	_RULE_FIRES_ON_ORIGIN,8,3       ; @RULE_FIRES_ON_ORIGIN
	.comm	_RULE_DISABLED,8,3              ; @RULE_DISABLED
	.comm	_RULE_FIRES_ON_REPLICA,8,3      ; @RULE_FIRES_ON_REPLICA
	.no_dead_strip	_matchLocks
.subsections_via_symbols
