	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function perform_pruning_base_step
_perform_pruning_base_step:             ## @perform_pruning_base_step
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_PARTITION_MAX_KEYS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	shlq	$2, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -56(%rbp)                 ## 8-byte Spill
	movl	16(%r14), %edi
	callq	_list_length
	movq	%rax, %r15
	movl	12(%r14), %edi
	callq	_list_length
	xorl	%edi, %edi
	cmpq	%rax, %r15
	movq	%r14, %r15
	sete	%dil
	callq	_Assert
	movl	16(%r14), %edi
	callq	_list_head
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movl	12(%r14), %edi
	callq	_list_head
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movl	(%rbx), %edi
	testl	%edi, %edi
	jle	LBB0_1
## %bb.2:
	xorl	%r14d, %r14d
	xorl	%r12d, %r12d
	xorl	%r13d, %r13d
	movq	%r15, -96(%rbp)                 ## 8-byte Spill
	jmp	LBB0_3
LBB0_13:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	%r13, %rdi
	movq	%rax, %rsi
	callq	_fmgr_info_cxt
LBB0_14:                                ##   in Loop: Header=BB0_3 Depth=1
	movl	-84(%rbp), %eax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, (%rcx,%r12,4)
	movl	-76(%rbp), %r13d                ## 4-byte Reload
	incl	%r13d
	movl	16(%r15), %edi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	callq	_lnext
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movl	12(%r15), %edi
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	callq	_lnext
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
LBB0_15:                                ##   in Loop: Header=BB0_3 Depth=1
	incq	%r12
	movslq	(%rbx), %rdi
	addq	$8, %r14
	cmpq	%rdi, %r12
	jge	LBB0_16
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r15), %esi
	movl	%r12d, %edi
	callq	_bms_is_member
	testq	%rax, %rax
	jne	LBB0_15
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movslq	%r13d, %rax
	cmpq	%rax, %r12
	jle	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpl	$128, 4(%rbx)
	je	LBB0_6
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	testq	%rdi, %rdi
	je	LBB0_8
## %bb.9:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	%r13d, -76(%rbp)                ## 4-byte Spill
	callq	_lfirst
	movq	%rax, %r13
	movl	(%rbx), %edi
	movl	8(%r15), %esi
	movl	%r12d, %edx
	callq	_PruneCxtStateIdx
	movl	%eax, %r15d
	movq	%rbx, %rdi
	movq	%r13, %rsi
	movl	%eax, %edx
	leaq	-84(%rbp), %rcx
	leaq	-80(%rbp), %r8
	callq	_partkey_datum_from_expr
	cmpl	$0, -80(%rbp)
	jne	LBB0_25
## %bb.10:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	callq	_lfirst_oid
	movq	%rax, %r13
	movq	%rax, %rdi
	callq	_OidIsValid
	movl	%eax, %edi
	callq	_Assert
	movq	8(%rbx), %rax
	movslq	%r15d, %rcx
	cmpq	(%rax,%rcx,8), %r13
	movq	-96(%rbp), %r15                 ## 8-byte Reload
	je	LBB0_14
## %bb.11:                              ##   in Loop: Header=BB0_3 Depth=1
	leaq	(%rax,%rcx,8), %rax
	movq	24(%rbx), %rsi
	movl	16(%rbx), %edx
	cmpq	(%rsi,%r14), %r13
	jne	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_3 Depth=1
	addq	%r14, %rsi
	movq	%rax, %rdi
	callq	_fmgr_info_copy
	jmp	LBB0_14
LBB0_8:                                 ##   in Loop: Header=BB0_3 Depth=1
	xorl	%eax, %eax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	jmp	LBB0_15
LBB0_1:
	xorl	%r13d, %r13d
LBB0_16:
	movl	8(%r15), %esi
                                        ## kill: def $edi killed $edi killed $rdi
	xorl	%edx, %edx
	callq	_PruneCxtStateIdx
	movslq	%eax, %r8
	shlq	$3, %r8
	addq	8(%rbx), %r8
	movl	4(%rbx), %edx
	cmpl	$128, %edx
	je	LBB0_21
## %bb.17:
	cmpl	$129, %edx
	je	LBB0_20
## %bb.18:
	cmpl	$130, %edx
	jne	LBB0_22
## %bb.19:
	movl	(%r15), %r9d
	movl	4(%r15), %esi
	movq	%rbx, %rdi
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movl	%r13d, %ecx
	callq	_get_matching_hash_bounds
	jmp	LBB0_23
LBB0_21:
	movl	(%r15), %r9d
	movl	4(%r15), %esi
	movq	%rbx, %rdi
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movl	%r13d, %ecx
	callq	_get_matching_range_bounds
	jmp	LBB0_23
LBB0_20:
	movl	(%r15), %r9d
	movl	4(%r15), %esi
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movl	%r13d, %ecx
	callq	_get_matching_list_bounds
	jmp	LBB0_23
LBB0_22:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_elog
	xorl	%eax, %eax
	jmp	LBB0_23
LBB0_25:
	movl	$16, %edi
	callq	_palloc
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%rax)
LBB0_23:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_26
## %bb.24:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movl	(%rbx), %edi
	jmp	LBB0_16
LBB0_26:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_PARTITION_MAX_KEYS,4,2         ## @PARTITION_MAX_KEYS
	.comm	_ERROR,4,2                      ## @ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"unexpected partition strategy: %d"

	.no_dead_strip	_perform_pruning_base_step
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function perform_pruning_base_step
_perform_pruning_base_step:             ; @perform_pruning_base_step
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	sub	sp, sp, #16
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
Lloh3:
	adrp	x8, _PARTITION_MAX_KEYS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PARTITION_MAX_KEYS@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	lsl	x8, x8, #2
	mov	x9, x8
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x7fffffff0
	sub	x21, x9, x8
	mov	sp, x21
	ldr	w0, [x1, #16]
	bl	_list_length
	mov	x22, x0
	ldr	w0, [x20, #12]
	bl	_list_length
	cmp	x22, x0
	cset	w0, eq
	bl	_Assert
	ldr	w0, [x20, #16]
	bl	_list_head
	mov	x23, x0
	ldr	w0, [x20, #12]
	bl	_list_head
	mov	x24, x0
	ldr	w0, [x19]
	cmp	w0, #1
	b.lt	LBB0_13
; %bb.1:
	mov	x28, #0
	mov	x25, #0
	mov	w22, #0
	b	LBB0_5
LBB0_2:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x26
	mov	x1, x8
	bl	_fmgr_info_cxt
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldur	w8, [x29, #-92]
	str	w8, [x21, x25, lsl #2]
	add	w22, w22, #1
	ldr	w0, [x20, #16]
	mov	x1, x23
	bl	_lnext
	mov	x23, x0
	ldr	w0, [x20, #12]
	mov	x1, x24
	bl	_lnext
	mov	x24, x0
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x25, x25, #1
	ldrsw	x0, [x19]
	add	x28, x28, #8
	cmp	x25, x0
	b.ge	LBB0_14
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x20]
	mov	x0, x25
	bl	_bms_is_member
	cbnz	x0, LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	cmp	x25, w22, sxtw
	b.le	LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w8, [x19, #4]
	cmp	w8, #128
	b.eq	LBB0_24
LBB0_8:                                 ;   in Loop: Header=BB0_5 Depth=1
	cbz	x23, LBB0_4
; %bb.9:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x23
	bl	_lfirst
	mov	x26, x0
	ldr	w0, [x19]
	ldr	w1, [x20, #8]
	mov	x2, x25
	bl	_PruneCxtStateIdx
	mov	x27, x0
	sub	x3, x29, #92
	sub	x4, x29, #96
	mov	x0, x19
	mov	x1, x26
	mov	x2, x27
	bl	_partkey_datum_from_expr
	ldur	w8, [x29, #-96]
	cbnz	w8, LBB0_21
; %bb.10:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x24
	bl	_lfirst_oid
	mov	x26, x0
	bl	_OidIsValid
	bl	_Assert
	ldr	x8, [x19, #8]
	add	x8, x8, w27, sxtw #3
	ldr	x9, [x8]
	cmp	x26, x9
	b.eq	LBB0_3
; %bb.11:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	x9, [x19, #24]
	add	x1, x9, x28
	ldr	x9, [x1]
	ldr	w2, [x19, #16]
	cmp	x26, x9
	b.ne	LBB0_2
; %bb.12:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x8
	bl	_fmgr_info_copy
	b	LBB0_3
LBB0_13:
	mov	w22, #0
LBB0_14:
	ldr	w1, [x20, #8]
                                        ; kill: def $w0 killed $w0 killed $x0
	mov	w2, #0
	bl	_PruneCxtStateIdx
	ldr	x8, [x19, #8]
	add	x4, x8, w0, sxtw #3
	ldr	w2, [x19, #4]
	cmp	w2, #128
	b.eq	LBB0_18
; %bb.15:
	cmp	w2, #129
	b.eq	LBB0_19
; %bb.16:
	cmp	w2, #130
	b.ne	LBB0_20
; %bb.17:
	ldp	w5, w1, [x20]
	mov	x0, x19
	mov	x2, x21
	mov	x3, x22
	bl	_get_matching_hash_bounds
	b	LBB0_22
LBB0_18:
	ldp	w5, w1, [x20]
	mov	x0, x19
	mov	x2, x21
	mov	x3, x22
	bl	_get_matching_range_bounds
	b	LBB0_22
LBB0_19:
	ldr	w2, [x21]
	ldp	w5, w1, [x20]
	mov	x0, x19
	mov	x3, x22
	bl	_get_matching_list_bounds
	b	LBB0_22
LBB0_20:
Lloh8:
	adrp	x8, _ERROR@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
Lloh11:
	adrp	x1, l_.str@PAGE
Lloh12:
	add	x1, x1, l_.str@PAGEOFF
	bl	_elog
	mov	x0, #0
	b	LBB0_22
LBB0_21:
	mov	w0, #16
	bl	_palloc
	stp	xzr, xzr, [x0]
LBB0_22:
	ldur	x8, [x29, #-88]
Lloh13:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh14:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh15:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_25
; %bb.23:
	sub	sp, x29, #80
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_24:
	ldr	w0, [x19]
	b	LBB0_14
LBB0_25:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_PARTITION_MAX_KEYS,4,2         ; @PARTITION_MAX_KEYS
	.comm	_ERROR,4,2                      ; @ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"unexpected partition strategy: %d"

	.no_dead_strip	_perform_pruning_base_step
.subsections_via_symbols
