	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function selectWindowRewriteExprCb
_selectWindowRewriteExprCb:             ## @selectWindowRewriteExprCb
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	(%rdi), %r14
	movq	8(%rdi), %r15
	cmpq	$0, 32(%r15)
	movl	(%rsi), %eax
	je	LBB0_8
## %bb.1:
	movq	_WRC_Continue@GOTPCREL(%rip), %r12
	cmpl	$129, %eax
	jne	LBB0_17
## %bb.2:
	movq	24(%r15), %rcx
	movl	(%rcx), %eax
	testl	%eax, %eax
	jle	LBB0_3
## %bb.5:
	movq	8(%rbx), %rdx
	movq	8(%rcx), %rsi
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	(%rsi,%rcx,8), %rdx
	je	LBB0_4
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	incq	%rcx
	cmpq	%rcx, %rax
	jne	LBB0_6
	jmp	LBB0_17
LBB0_8:
	leal	-129(%rax), %ecx
	cmpl	$2, %ecx
	jb	LBB0_15
## %bb.9:
	movq	_WRC_Continue@GOTPCREL(%rip), %r12
	cmpl	$128, %eax
	jne	LBB0_17
## %bb.10:
	movq	_EP_WinFunc@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_ExprHasProperty
	testl	%eax, %eax
	je	LBB0_17
## %bb.11:
	movq	8(%r15), %rax
	testq	%rax, %rax
	je	LBB0_15
## %bb.12:
	movq	24(%rbx), %rcx
	.p2align	4, 0x90
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	cmpq	%rax, %rcx
	je	LBB0_18
## %bb.14:                              ##   in Loop: Header=BB0_13 Depth=1
	movq	16(%rax), %rax
	testq	%rax, %rax
	jne	LBB0_13
	jmp	LBB0_15
LBB0_3:
	xorl	%ecx, %ecx
LBB0_4:
	cmpl	%eax, %ecx
	je	LBB0_17
LBB0_15:
	movl	(%r14), %edi
	movq	%rbx, %rsi
	xorl	%edx, %edx
	callq	_sqlite3ExprDup
	movq	16(%r15), %rsi
	movq	%r14, %rdi
	movq	%rax, %rdx
	callq	_sqlite3ExprListAppend
	movq	%rax, 16(%r15)
	movq	_WRC_Continue@GOTPCREL(%rip), %r12
	testq	%rax, %rax
	je	LBB0_17
## %bb.16:
	movq	_EP_Static@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	movq	%rbx, %rdi
	callq	_ExprHasProperty
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_assert
	movl	(%r13), %esi
	movq	%rbx, %rdi
	callq	_ExprSetProperty
	movl	(%r14), %edi
	movq	%rbx, %rsi
	callq	_sqlite3ExprDelete
	movl	(%r13), %esi
	movq	%rbx, %rdi
	callq	_ExprClearProperty
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$40, %edx
	callq	_memset
	movl	$129, (%rbx)
	movq	16(%r15), %rax
	movl	(%rax), %eax
	decl	%eax
	movl	%eax, 32(%rbx)
	movq	8(%r15), %rax
	movq	(%rax), %rax
	movq	%rax, 8(%rbx)
	movl	(%r15), %eax
	movl	%eax, 16(%rbx)
LBB0_17:
	movl	(%r12), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_18:
	xorl	%edi, %edi
	cmpq	%rbx, 8(%rcx)
	sete	%dil
	callq	_assert
	movq	_WRC_Prune@GOTPCREL(%rip), %r12
	jmp	LBB0_17
	.cfi_endproc
                                        ## -- End function
	.comm	_WRC_Continue,4,2               ## @WRC_Continue
	.comm	_EP_WinFunc,4,2                 ## @EP_WinFunc
	.comm	_WRC_Prune,4,2                  ## @WRC_Prune
	.comm	_EP_Static,4,2                  ## @EP_Static
	.no_dead_strip	_selectWindowRewriteExprCb
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function selectWindowRewriteExprCb
_selectWindowRewriteExprCb:             ; @selectWindowRewriteExprCb
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x1
	ldp	x20, x21, [x0]
	ldr	x9, [x21, #32]
	ldr	w8, [x1]
	cbz	x9, LBB0_6
; %bb.1:
	cmp	w8, #129
	b.ne	LBB0_17
; %bb.2:
	ldr	x8, [x21, #24]
	ldr	w9, [x8]
	cmp	w9, #1
	b.lt	LBB0_13
; %bb.3:
	mov	x10, #0
	ldr	x11, [x19, #8]
	ldr	x12, [x8, #8]
Lloh0:
	adrp	x8, _WRC_Continue@GOTPAGE
Lloh1:
	ldr	x8, [x8, _WRC_Continue@GOTPAGEOFF]
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x13, [x12, x10, lsl #3]
	cmp	x11, x13
	b.eq	LBB0_14
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x10, x10, #1
	cmp	x9, x10
	b.ne	LBB0_4
	b	LBB0_18
LBB0_6:
	sub	w9, w8, #129
	cmp	w9, #2
	b.lo	LBB0_15
; %bb.7:
	cmp	w8, #128
	b.ne	LBB0_17
; %bb.8:
Lloh2:
	adrp	x8, _EP_WinFunc@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EP_WinFunc@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_ExprHasProperty
	cbz	w0, LBB0_17
; %bb.9:
	ldr	x8, [x21, #8]
	cbz	x8, LBB0_15
; %bb.10:
	ldr	x9, [x19, #24]
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	cmp	x9, x8
	b.eq	LBB0_19
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=1
	ldr	x8, [x8, #16]
	cbnz	x8, LBB0_11
	b	LBB0_15
LBB0_13:
	mov	w10, #0
LBB0_14:
	cmp	w10, w9
	b.eq	LBB0_17
LBB0_15:
	ldr	w0, [x20]
	mov	x1, x19
	mov	w2, #0
	bl	_sqlite3ExprDup
	mov	x2, x0
	ldr	x1, [x21, #16]
	mov	x0, x20
	bl	_sqlite3ExprListAppend
	str	x0, [x21, #16]
	cbz	x0, LBB0_17
; %bb.16:
Lloh5:
	adrp	x22, _EP_Static@GOTPAGE
Lloh6:
	ldr	x22, [x22, _EP_Static@GOTPAGEOFF]
	ldr	w1, [x22]
	mov	x0, x19
	bl	_ExprHasProperty
	cmp	w0, #0
	cset	w0, eq
	bl	_assert
	ldr	w1, [x22]
	mov	x0, x19
	bl	_ExprSetProperty
	ldr	w0, [x20]
	mov	x1, x19
	bl	_sqlite3ExprDelete
	ldr	w1, [x22]
	mov	x0, x19
	bl	_ExprClearProperty
	mov	x0, x19
	mov	w1, #0
	mov	w2, #40
	bl	_memset
	mov	w8, #129
	str	w8, [x19]
	ldp	x9, x8, [x21, #8]
	ldr	w8, [x8]
	sub	w8, w8, #1
	str	w8, [x19, #32]
	ldr	x8, [x9]
	str	x8, [x19, #8]
	ldr	w8, [x21]
	str	w8, [x19, #16]
LBB0_17:
Lloh7:
	adrp	x8, _WRC_Continue@GOTPAGE
Lloh8:
	ldr	x8, [x8, _WRC_Continue@GOTPAGEOFF]
LBB0_18:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_19:
	ldr	x8, [x9, #8]
	cmp	x8, x19
	cset	w0, eq
	bl	_assert
Lloh9:
	adrp	x8, _WRC_Prune@GOTPAGE
Lloh10:
	ldr	x8, [x8, _WRC_Prune@GOTPAGEOFF]
	b	LBB0_18
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_WRC_Continue,4,2               ; @WRC_Continue
	.comm	_EP_WinFunc,4,2                 ; @EP_WinFunc
	.comm	_WRC_Prune,4,2                  ; @WRC_Prune
	.comm	_EP_Static,4,2                  ; @EP_Static
	.no_dead_strip	_selectWindowRewriteExprCb
.subsections_via_symbols
