	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function matchPartialInPendingList
_matchPartialInPendingList:             ## @matchPartialInPendingList
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, -52(%rbp)                 ## 4-byte Spill
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	movq	%r8, -88(%rbp)                  ## 8-byte Spill
	movq	(%r8), %rsi
	movq	_GIN_CAT_NORM_KEY@GOTPCREL(%rip), %rdi
	xorl	%eax, %eax
	cmpq	(%rdi), %rsi
	jne	LBB0_12
## %bb.1:
	cmpl	%ecx, %edx
	jge	LBB0_12
## %bb.2:
	movq	24(%rbp), %rax
	movq	16(%rbp), %rsi
	movslq	%edx, %rdi
	movslq	%ecx, %rcx
	leaq	(%rax,%rdi,4), %rax
	addq	$-4, %rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	leaq	-8(%rsi,%rdi,8), %r14
	leaq	(%r9,%rdi,4), %rax
	addq	$-4, %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	notq	%rdi
	addq	%rcx, %rdi
	movq	%rdi, -96(%rbp)                 ## 8-byte Spill
	movl	%edx, %eax
	movq	%rax, -112(%rbp)                ## 8-byte Spill
	movq	%r14, -104(%rbp)                ## 8-byte Spill
	xorl	%r12d, %r12d
	movq	-88(%rbp), %r13                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	-112(%rbp), %rax                ## 8-byte Reload
	leal	(%rax,%r12), %esi
	movl	-52(%rbp), %ebx                 ## 4-byte Reload
	movl	%ebx, %edi
	callq	_PageGetItemId
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_PageGetItem
	movq	%rax, %r15
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%rax, %rsi
	callq	_gintuple_get_attrnum
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	cmpl	8(%rcx), %eax
	jne	LBB0_11
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	cmpl	$0, (%rax,%r12,4)
	jne	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r15, %rsi
	movq	%r14, %rdx
	callq	_gintuple_get_key
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, (%rcx,%r12,4)
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movl	$1, (%rax,%r12,4)
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	-104(%rbp), %rax                ## 8-byte Reload
	movq	(%rax,%r12,8), %rax
	movq	_GIN_CAT_NORM_KEY@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_11
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	movslq	8(%r13), %rax
	leaq	-4(,%rax,4), %rbx
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	addq	8(%rcx), %rbx
	movq	(%rcx), %rcx
	movl	-4(%rcx,%rax,4), %eax
	movl	%eax, -64(%rbp)                 ## 4-byte Spill
	movl	16(%r13), %edi
	movl	20(%r13), %eax
	movl	%eax, -60(%rbp)                 ## 4-byte Spill
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax,%r12,4), %eax
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
	callq	_UInt16GetDatum
	movl	%eax, %r15d
	movl	12(%r13), %edi
	callq	_PointerGetDatum
	movq	%rbx, %rdi
	movl	-64(%rbp), %esi                 ## 4-byte Reload
	movl	-60(%rbp), %edx                 ## 4-byte Reload
	movl	-56(%rbp), %ecx                 ## 4-byte Reload
	movl	%r15d, %r8d
	movl	%eax, %r9d
	callq	_FunctionCall4Coll
	movl	%eax, %edi
	callq	_DatumGetInt32
	testq	%rax, %rax
	je	LBB0_8
## %bb.9:                               ##   in Loop: Header=BB0_3 Depth=1
	jg	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_3 Depth=1
	leaq	1(%r12), %rax
	addq	$8, %r14
	cmpq	%r12, -96(%rbp)                 ## 8-byte Folded Reload
	movq	%rax, %r12
	jne	LBB0_3
LBB0_11:
	xorl	%eax, %eax
	jmp	LBB0_12
LBB0_8:
	movl	$1, %eax
LBB0_12:
                                        ## kill: def $eax killed $eax killed $rax
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GIN_CAT_NORM_KEY,8,3           ## @GIN_CAT_NORM_KEY
	.no_dead_strip	_matchPartialInPendingList
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function matchPartialInPendingList
_matchPartialInPendingList:             ; @matchPartialInPendingList
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
                                        ; kill: def $w2 killed $w2 def $x2
	ldr	x8, [x4]
Lloh0:
	adrp	x9, _GIN_CAT_NORM_KEY@GOTPAGE
Lloh1:
	ldr	x9, [x9, _GIN_CAT_NORM_KEY@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_9
; %bb.1:
	cmp	w2, w3
	b.ge	LBB0_9
; %bb.2:
	mov	x19, x4
	mov	x20, x1
	mov	x21, x0
	mov	x28, #0
	sxtw	x8, w2
	mvn	x9, x8
	add	x11, x9, w3, sxtw
	mov	w9, w2
	str	x9, [sp, #24]                   ; 8-byte Folded Spill
	sub	x8, x8, #1
	lsl	x9, x8, #2
	add	x10, x7, x9
	add	x22, x6, x8, lsl #3
	add	x8, x5, x9
	stp	x8, x10, [sp, #32]              ; 16-byte Folded Spill
	stp	x11, x22, [sp, #8]              ; 16-byte Folded Spill
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [sp, #24]                   ; 8-byte Folded Reload
	add	w1, w8, w28
	mov	x0, x20
	bl	_PageGetItemId
	mov	x1, x0
	mov	x0, x20
	bl	_PageGetItem
	mov	x23, x0
	mov	x0, x21
	mov	x1, x23
	bl	_gintuple_get_attrnum
	ldr	w8, [x19, #8]
	cmp	w0, w8
	b.ne	LBB0_9
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [sp, #40]                   ; 8-byte Folded Reload
	ldr	w8, [x8, x28, lsl #2]
	cbnz	w8, LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x21
	mov	x1, x23
	mov	x2, x22
	bl	_gintuple_get_key
	lsl	x8, x28, #2
	ldr	x9, [sp, #32]                   ; 8-byte Folded Reload
	str	w0, [x9, x8]
	ldr	x9, [sp, #40]                   ; 8-byte Folded Reload
	mov	w10, #1
	str	w10, [x9, x8]
LBB0_6:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [sp, #16]                   ; 8-byte Folded Reload
	ldr	x8, [x8, x28, lsl #3]
Lloh3:
	adrp	x9, _GIN_CAT_NORM_KEY@GOTPAGE
Lloh4:
	ldr	x9, [x9, _GIN_CAT_NORM_KEY@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_9
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
	ldrsw	x8, [x19, #8]
	lsl	x8, x8, #2
	sub	x8, x8, #4
	ldp	x10, x9, [x21]
	add	x23, x9, x8
	ldr	w24, [x10, x8]
	ldr	x8, [sp, #32]                   ; 8-byte Folded Reload
	ldr	w25, [x8, x28, lsl #2]
	ldp	w0, w26, [x19, #16]
	bl	_UInt16GetDatum
	mov	x27, x0
	ldr	w0, [x19, #12]
	bl	_PointerGetDatum
	mov	x5, x0
	mov	x0, x23
	mov	x1, x24
	mov	x2, x26
	mov	x3, x25
	mov	x4, x27
	bl	_FunctionCall4Coll
	bl	_DatumGetInt32
	cbz	x0, LBB0_11
; %bb.8:                                ;   in Loop: Header=BB0_3 Depth=1
	cmp	x0, #0
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	ccmp	x8, x28, #4, le
	add	x28, x28, #1
	add	x22, x22, #8
	b.ne	LBB0_3
LBB0_9:
	mov	w0, #0
LBB0_10:
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
LBB0_11:
	mov	w0, #1
	b	LBB0_10
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_GIN_CAT_NORM_KEY,8,3           ; @GIN_CAT_NORM_KEY
	.no_dead_strip	_matchPartialInPendingList
.subsections_via_symbols
