	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function range_gist_double_sorting_split
_range_gist_double_sorting_split:       ## @range_gist_double_sorting_split
	.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	$200, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, -112(%rbp)                ## 8-byte Spill
	movq	%rsi, %r15
	movq	%rdi, %r12
	leaq	-200(%rbp), %rdi
	xorl	%esi, %esi
	movl	$48, %edx
	callq	_memset
	movq	%r12, -160(%rbp)
	movl	(%r12), %edi
	callq	_OidIsValid
	movq	%rax, -168(%rbp)
	movq	(%r15), %r13
	decq	%r13
	movq	_FirstOffsetNumber@GOTPCREL(%rip), %rax
	movq	%r13, %rcx
	subq	(%rax), %rcx
	leal	1(%rcx), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	%eax, -200(%rbp)
	movl	$1, -196(%rbp)
	movq	%rcx, -144(%rbp)                ## 8-byte Spill
	leal	8(,%rcx,8), %ebx
	movl	%ebx, %edi
	callq	_palloc
	movq	%rax, %r14
	movl	%ebx, -92(%rbp)                 ## 4-byte Spill
	movl	%ebx, %edi
	callq	_palloc
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	movq	_FirstOffsetNumber@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	cmpq	%r13, %rbx
	ja	LBB0_2
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r15), %rax
	movl	(%rax,%rbx,4), %edi
	callq	_DatumGetRangeTypeP
	movq	%rbx, %rcx
	movq	_FirstOffsetNumber@GOTPCREL(%rip), %rdx
	subq	(%rdx), %rcx
	leaq	(%r14,%rcx,8), %rdx
	leaq	(%r14,%rcx,8), %rcx
	addq	$4, %rcx
	movq	%r12, %rdi
	movq	%rax, %rsi
	leaq	-80(%rbp), %r8
	callq	_range_deserialize
	xorl	%edi, %edi
	cmpl	$0, -80(%rbp)
	sete	%dil
	callq	_Assert
	movq	%rbx, %rdi
	callq	_OffsetNumberNext
	movq	%rax, %rbx
	cmpq	%r13, %rax
	jbe	LBB0_1
LBB0_2:
	movq	%r13, -152(%rbp)                ## 8-byte Spill
	movq	%r15, -120(%rbp)                ## 8-byte Spill
	movq	-104(%rbp), %r15                ## 8-byte Reload
	movq	%r15, %rdi
	movq	%r14, %rsi
	movl	-92(%rbp), %edx                 ## 4-byte Reload
	callq	_memcpy
	movq	_interval_cmp_lower@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r14, -88(%rbp)                 ## 8-byte Spill
	movq	%r14, %rdi
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	movl	%ebx, %esi
	movl	$8, %edx
	movq	%r12, %r8
	callq	_qsort_arg
	movq	_interval_cmp_upper@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r15, %rdi
	movl	%ebx, %esi
	movl	$8, %edx
	movq	%r12, -72(%rbp)                 ## 8-byte Spill
	movq	%r12, %r8
	callq	_qsort_arg
	cmpl	$2147483646, -144(%rbp)         ## 4-byte Folded Reload
                                        ## imm = 0x7FFFFFFE
	ja	LBB0_16
## %bb.3:
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	movq	-104(%rbp), %rax                ## 8-byte Reload
	leaq	4(%rax), %rdx
	movq	%rdx, -216(%rbp)                ## 8-byte Spill
	movq	%rcx, -224(%rbp)                ## 8-byte Spill
	negq	%rcx
	movq	%rcx, -208(%rbp)                ## 8-byte Spill
	xorl	%ecx, %ecx
	movq	%rcx, -136(%rbp)                ## 8-byte Spill
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	xorl	%r13d, %r13d
LBB0_4:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_5 Depth 2
                                        ##     Child Loop BB0_11 Depth 2
	movq	%r13, %rbx
	shlq	$32, %rbx
	movslq	%r13d, %r13
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rax,%r13,8), %r12
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_5 Depth=2
	incq	%r13
	movabsq	$4294967296, %rax               ## imm = 0x100000000
	addq	%rax, %rbx
	addq	$8, %r12
	movq	%r15, -64(%rbp)                 ## 8-byte Spill
	cmpq	-224(%rbp), %r13                ## 8-byte Folded Reload
	jge	LBB0_16
LBB0_5:                                 ##   Parent Loop BB0_4 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	-72(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movq	%r12, %rdx
	callq	_range_cmp_bounds
	testq	%rax, %rax
	jne	LBB0_9
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=2
	leaq	4(%r12), %r15
	movq	%r14, %rdi
	movq	%r15, %rsi
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdx
	callq	_range_cmp_bounds
	testq	%rax, %rax
	jg	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=2
	movq	%r14, %r15
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_4 Depth=1
	sarq	$29, %rbx
	addq	-88(%rbp), %rbx                 ## 8-byte Folded Reload
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movq	-136(%rbp), %r14                ## 8-byte Reload
	cmpl	-44(%rbp), %r14d                ## 4-byte Folded Reload
	jge	LBB0_15
## %bb.10:                              ##   in Loop: Header=BB0_4 Depth=1
	movslq	%r14d, %r15
	movq	-216(%rbp), %rax                ## 8-byte Reload
	leaq	(%rax,%r15,8), %r12
	addq	-208(%rbp), %r15                ## 8-byte Folded Reload
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_11:                                ##   Parent Loop BB0_4 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %rsi
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	callq	_range_cmp_bounds
	testq	%rax, %rax
	jg	LBB0_14
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=2
	decq	%rbx
	addq	$8, %r12
	cmpq	%rbx, %r15
	jne	LBB0_11
## %bb.13:                              ##   in Loop: Header=BB0_4 Depth=1
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, %r14d
	jmp	LBB0_15
LBB0_14:                                ##   in Loop: Header=BB0_4 Depth=1
	subl	%ebx, %r14d
LBB0_15:                                ##   in Loop: Header=BB0_4 Depth=1
	leaq	-200(%rbp), %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movl	%r13d, %edx
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movq	%r14, -136(%rbp)                ## 8-byte Spill
	movl	%r14d, %r8d
	callq	_range_gist_consider_split
	cmpl	%r13d, -44(%rbp)                ## 4-byte Folded Reload
	jg	LBB0_4
LBB0_16:
	movq	-144(%rbp), %r13                ## 8-byte Reload
	testl	%r13d, %r13d
	js	LBB0_30
## %bb.17:
	movslq	%r13d, %rax
	movq	-104(%rbp), %rcx                ## 8-byte Reload
	leaq	(%rcx,%rax,8), %r12
	addq	$4, %r12
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	leaq	(%rcx,%rax,8), %r15
	addq	$4, %r15
	movl	%r13d, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
LBB0_18:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_19 Depth 2
                                        ##     Child Loop BB0_26 Depth 2
	movq	%r12, -64(%rbp)                 ## 8-byte Spill
	movl	%r13d, %r13d
	movq	-104(%rbp), %rax                ## 8-byte Reload
	leaq	(%rax,%r13,8), %rbx
	jmp	LBB0_19
	.p2align	4, 0x90
LBB0_22:                                ##   in Loop: Header=BB0_19 Depth=2
	movq	%r14, %r13
	decq	%r13
	addq	$-8, %rbx
	leal	1(%r13), %eax
	movq	%rcx, %r15
	testl	%eax, %eax
	jle	LBB0_30
LBB0_19:                                ##   Parent Loop BB0_18 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%r13, %r14
	leaq	4(%rbx), %r12
	movq	-72(%rbp), %r13                 ## 8-byte Reload
	movq	%r13, %rdi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	movq	%r12, %rdx
	callq	_range_cmp_bounds
	testq	%rax, %rax
	jne	LBB0_23
## %bb.20:                              ##   in Loop: Header=BB0_19 Depth=2
	movq	%r13, %rdi
	movq	%rbx, %rsi
	movq	%r15, %rdx
	callq	_range_cmp_bounds
	movq	%rbx, %rcx
	testq	%rax, %rax
	js	LBB0_22
## %bb.21:                              ##   in Loop: Header=BB0_19 Depth=2
	movq	%r15, %rcx
	jmp	LBB0_22
	.p2align	4, 0x90
LBB0_23:                                ##   in Loop: Header=BB0_18 Depth=1
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	testl	%ecx, %ecx
	js	LBB0_24
## %bb.25:                              ##   in Loop: Header=BB0_18 Depth=1
	movl	%ecx, %ecx
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rax,%rcx,8), %rbx
	movq	%r14, %r13
	movq	%rcx, %r14
	.p2align	4, 0x90
LBB0_26:                                ##   Parent Loop BB0_18 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	%rbx, %rsi
	movq	%r15, %rdx
	callq	_range_cmp_bounds
	testq	%rax, %rax
	js	LBB0_29
## %bb.27:                              ##   in Loop: Header=BB0_26 Depth=2
	leaq	-1(%r14), %rax
	addq	$-8, %rbx
	testq	%r14, %r14
	movq	%rax, %r14
	jg	LBB0_26
## %bb.28:                              ##   in Loop: Header=BB0_18 Depth=1
	movl	$-1, %r14d
	jmp	LBB0_29
LBB0_24:                                ##   in Loop: Header=BB0_18 Depth=1
	movq	%r14, %r13
	movq	%rcx, %r14
LBB0_29:                                ##   in Loop: Header=BB0_18 Depth=1
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	leal	1(%r14), %edx
	leal	1(%r13), %r8d
	leaq	-200(%rbp), %rdi
	movq	%r15, %rsi
	movq	%r12, %rcx
	callq	_range_gist_consider_split
	testl	%r13d, %r13d
	jns	LBB0_18
LBB0_30:
	cmpl	$0, -196(%rbp)
	je	LBB0_32
## %bb.31:
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	-120(%rbp), %rsi                ## 8-byte Reload
	movq	-112(%rbp), %rdx                ## 8-byte Reload
	callq	_range_gist_fallback_split
	jmp	LBB0_51
LBB0_32:
	movl	-92(%rbp), %r14d                ## 4-byte Reload
	movl	%r14d, %edi
	callq	_palloc
	movq	-112(%rbp), %rbx                ## 8-byte Reload
	movq	%rax, (%rbx)
	movl	%r14d, %edi
	callq	_palloc
	movq	%rax, 8(%rbx)
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	shll	$4, %edi
	xorps	%xmm0, %xmm0
	movups	%xmm0, 32(%rbx)
	callq	_palloc
	movq	%rax, %r14
	movq	_FirstOffsetNumber@GOTPCREL(%rip), %rax
	movq	(%rax), %r13
	cmpq	-152(%rbp), %r13                ## 8-byte Folded Reload
	ja	LBB0_50
## %bb.33:
	xorl	%eax, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
	jmp	LBB0_34
	.p2align	4, 0x90
LBB0_41:                                ##   in Loop: Header=BB0_34 Depth=1
	shrq	$63, %rax
	xorl	$1, %eax
	movl	%eax, %edi
	callq	_Assert
	movq	%r15, %rdi
	movl	%r13d, %esi
	callq	_PLACE_RIGHT
LBB0_42:                                ##   in Loop: Header=BB0_34 Depth=1
	movq	-64(%rbp), %r14                 ## 8-byte Reload
LBB0_43:                                ##   in Loop: Header=BB0_34 Depth=1
	movq	%r13, %rdi
	callq	_OffsetNumberNext
	movq	%rax, %r13
	cmpq	-152(%rbp), %rax                ## 8-byte Folded Reload
	ja	LBB0_44
LBB0_34:                                ## =>This Inner Loop Header: Depth=1
	movq	-120(%rbp), %rax                ## 8-byte Reload
	movq	8(%rax), %rax
	movl	(%rax,%r13,4), %edi
	callq	_DatumGetRangeTypeP
	movq	%rax, %r15
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movq	%rax, %rsi
	leaq	-80(%rbp), %r14
	movq	%r14, %rdx
	leaq	-128(%rbp), %r12
	movq	%r12, %rcx
	leaq	-228(%rbp), %r8
	callq	_range_deserialize
	movq	-176(%rbp), %rdx
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_range_cmp_bounds
	movq	%rax, %r12
	movq	-184(%rbp), %rdx
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_range_cmp_bounds
	testq	%r12, %r12
	jg	LBB0_41
## %bb.35:                              ##   in Loop: Header=BB0_34 Depth=1
	testq	%rax, %rax
	js	LBB0_40
## %bb.36:                              ##   in Loop: Header=BB0_34 Depth=1
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movslq	%ecx, %r12
	shlq	$4, %r12
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	movq	%r13, (%r14,%r12)
	cmpq	$0, -168(%rbp)
	je	LBB0_37
## %bb.38:                              ##   in Loop: Header=BB0_34 Depth=1
	movl	-80(%rbp), %esi
	movq	-184(%rbp), %rax
	movl	(%rax), %edx
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_call_subtype_diff
	movq	%rax, %r15
	movq	-176(%rbp), %rax
	movl	(%rax), %esi
	movl	-128(%rbp), %edx
	movq	%rbx, %rdi
	callq	_call_subtype_diff
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	subq	%rax, %r15
	jmp	LBB0_39
LBB0_40:                                ##   in Loop: Header=BB0_34 Depth=1
	movq	%r15, %rdi
	movl	%r13d, %esi
	callq	_PLACE_LEFT
	jmp	LBB0_42
LBB0_37:                                ##   in Loop: Header=BB0_34 Depth=1
	xorl	%r15d, %r15d
LBB0_39:                                ##   in Loop: Header=BB0_34 Depth=1
	movq	%r15, 8(%r14,%r12)
	incl	%ecx
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_43
LBB0_44:
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	testl	%ebx, %ebx
	jle	LBB0_50
## %bb.45:
	movq	_common_entry_cmp@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r14, %rdi
	movl	%ebx, %esi
	movl	$16, %edx
	callq	_qsort
	movl	%ebx, %r15d
	xorl	%ebx, %ebx
	jmp	LBB0_46
	.p2align	4, 0x90
LBB0_48:                                ##   in Loop: Header=BB0_46 Depth=1
	movq	%rax, %rdi
	movl	%r12d, %esi
	callq	_PLACE_RIGHT
LBB0_49:                                ##   in Loop: Header=BB0_46 Depth=1
	incq	%rbx
	addq	$16, %r14
	cmpq	%rbx, %r15
	je	LBB0_50
LBB0_46:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r14), %r12
	movq	-120(%rbp), %rax                ## 8-byte Reload
	movq	8(%rax), %rax
	movslq	%r12d, %rcx
	movl	(%rax,%rcx,4), %edi
	callq	_DatumGetRangeTypeP
	cmpq	-192(%rbp), %rbx
	jae	LBB0_48
## %bb.47:                              ##   in Loop: Header=BB0_46 Depth=1
	movq	%rax, %rdi
	movl	%r12d, %esi
	callq	_PLACE_LEFT
	jmp	LBB0_49
LBB0_50:
	xorl	%edi, %edi
	callq	_PointerGetDatum
	movq	-112(%rbp), %rbx                ## 8-byte Reload
	movq	%rax, 24(%rbx)
	xorl	%edi, %edi
	callq	_PointerGetDatum
	movq	%rax, 16(%rbx)
LBB0_51:
	addq	$200, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FirstOffsetNumber,8,3          ## @FirstOffsetNumber
	.comm	_interval_cmp_lower,4,2         ## @interval_cmp_lower
	.comm	_interval_cmp_upper,4,2         ## @interval_cmp_upper
	.comm	_common_entry_cmp,4,2           ## @common_entry_cmp
	.no_dead_strip	_range_gist_double_sorting_split
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function range_gist_double_sorting_split
_range_gist_double_sorting_split:       ; @range_gist_double_sorting_split
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #224
	.cfi_def_cfa_offset 224
	stp	x28, x27, [sp, #128]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #144]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #160]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #176]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #192]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #208]            ; 16-byte Folded Spill
	add	x29, sp, #208
	.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	x2, [sp, #24]                   ; 8-byte Folded Spill
	mov	x20, x1
	mov	x21, x0
	add	x0, sp, #80
	mov	w1, #0
	mov	w2, #48
	bl	_memset
	str	x21, [sp, #120]
	ldr	w0, [x21]
	bl	_OidIsValid
	str	x0, [sp, #112]
	ldr	x8, [x20]
	sub	x24, x8, #1
Lloh0:
	adrp	x25, _FirstOffsetNumber@GOTPAGE
Lloh1:
	ldr	x25, [x25, _FirstOffsetNumber@GOTPAGEOFF]
	ldr	x8, [x25]
	sub	x8, x24, x8
	str	x8, [sp, #48]                   ; 8-byte Folded Spill
	add	w22, w8, #1
	mov	w8, #1
	stp	w22, w8, [sp, #80]
	lsl	w26, w22, #3
	mov	x0, x26
	bl	_palloc
	mov	x19, x0
	mov	x0, x26
	bl	_palloc
	str	x0, [sp, #40]                   ; 8-byte Folded Spill
	ldr	x23, [x25]
	cmp	x23, x24
	b.hi	LBB0_2
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20, #8]
	ldr	w0, [x8, x23, lsl #2]
	bl	_DatumGetRangeTypeP
	mov	x1, x0
	ldr	x8, [x25]
	sub	x8, x23, x8
	add	x2, x19, x8, lsl #3
	add	x3, x2, #4
	add	x4, sp, #72
	mov	x0, x21
	bl	_range_deserialize
	ldr	w8, [sp, #72]
	cmp	w8, #0
	cset	w0, eq
	bl	_Assert
	mov	x0, x23
	bl	_OffsetNumberNext
	mov	x23, x0
	cmp	x0, x24
	b.ls	LBB0_1
LBB0_2:
	str	x24, [sp, #32]                  ; 8-byte Folded Spill
	str	x20, [sp, #16]                  ; 8-byte Folded Spill
	ldr	x20, [sp, #40]                  ; 8-byte Folded Reload
	mov	x0, x20
	mov	x1, x19
	str	w26, [sp, #12]                  ; 4-byte Folded Spill
	mov	x2, x26
	bl	_memcpy
Lloh2:
	adrp	x8, _interval_cmp_lower@GOTPAGE
Lloh3:
	ldr	x8, [x8, _interval_cmp_lower@GOTPAGEOFF]
Lloh4:
	ldr	w3, [x8]
	mov	x0, x19
	mov	x1, x22
	mov	w2, #8
	mov	x4, x21
	bl	_qsort_arg
Lloh5:
	adrp	x8, _interval_cmp_upper@GOTPAGE
Lloh6:
	ldr	x8, [x8, _interval_cmp_upper@GOTPAGEOFF]
Lloh7:
	ldr	w3, [x8]
	mov	x0, x20
	mov	x1, x22
	mov	w2, #8
	mov	x4, x21
	bl	_qsort_arg
	mov	w8, #2147483646
	ldr	x9, [sp, #48]                   ; 8-byte Folded Reload
	cmp	w9, w8
	b.hi	LBB0_13
; %bb.3:
	mov	w26, #0
	mov	x27, #0
	ldr	x28, [sp, #40]                  ; 8-byte Folded Reload
	add	x8, x28, #4
	str	x8, [sp]                        ; 8-byte Folded Spill
	mov	x24, x19
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_5 Depth 2
                                        ;     Child Loop BB0_9 Depth 2
	lsl	x20, x27, #32
	add	x23, x19, w27, sxtw #3
	sxtw	x27, w27
LBB0_5:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x0, x21
	mov	x1, x24
	mov	x2, x23
	bl	_range_cmp_bounds
	cbnz	x0, LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=2
	add	x25, x23, #4
	mov	x0, x21
	mov	x1, x25
	mov	x2, x28
	bl	_range_cmp_bounds
	cmp	x0, #0
	csel	x28, x25, x28, gt
	add	x27, x27, #1
	mov	x8, #4294967296
	add	x20, x20, x8
	add	x23, x23, #8
	cmp	x27, x22
	b.lt	LBB0_5
	b	LBB0_13
LBB0_7:                                 ;   in Loop: Header=BB0_4 Depth=1
	cmp	w26, w22
	b.ge	LBB0_12
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [sp]                        ; 8-byte Folded Reload
	add	x23, x8, w26, sxtw #3
	sub	x24, x22, w26, sxtw
LBB0_9:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x0, x21
	mov	x1, x23
	mov	x2, x28
	bl	_range_cmp_bounds
	cmp	x0, #0
	b.gt	LBB0_12
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=2
	add	w26, w26, #1
	add	x23, x23, #8
	subs	x24, x24, #1
	b.ne	LBB0_9
; %bb.11:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	x26, x22
LBB0_12:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x24, x19, x20, asr #29
	add	x0, sp, #80
	mov	x1, x24
	mov	x2, x27
	mov	x3, x28
	mov	x4, x26
	bl	_range_gist_consider_split
	cmp	w22, w27
	b.gt	LBB0_4
LBB0_13:
	ldr	x28, [sp, #32]                  ; 8-byte Folded Reload
	ldr	x8, [sp, #48]                   ; 8-byte Folded Reload
	tbnz	w8, #31, LBB0_25
; %bb.14:
	ldp	x9, x20, [sp, #40]              ; 16-byte Folded Reload
	sbfiz	x8, x20, #3, #32
	add	x9, x9, x8
	add	x24, x9, #4
	add	x8, x19, x8
	add	x26, x8, #4
LBB0_15:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_16 Depth 2
                                        ;     Child Loop BB0_20 Depth 2
	ldr	x8, [sp, #40]                   ; 8-byte Folded Reload
	add	x23, x8, w20, uxtw #3
	and	x20, x20, #0xffffffff
LBB0_16:                                ;   Parent Loop BB0_15 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	add	x27, x23, #4
	mov	x0, x21
	mov	x1, x24
	mov	x2, x27
	bl	_range_cmp_bounds
	cbnz	x0, LBB0_18
; %bb.17:                               ;   in Loop: Header=BB0_16 Depth=2
	mov	x0, x21
	mov	x1, x23
	mov	x2, x26
	bl	_range_cmp_bounds
	cmp	x0, #0
	csel	x26, x23, x26, lt
	sub	x20, x20, #1
	sub	x23, x23, #8
	add	w8, w20, #1
	cmp	w8, #0
	b.gt	LBB0_16
	b	LBB0_25
LBB0_18:                                ;   in Loop: Header=BB0_15 Depth=1
	ldr	x8, [sp, #48]                   ; 8-byte Folded Reload
	tbnz	w8, #31, LBB0_24
; %bb.19:                               ;   in Loop: Header=BB0_15 Depth=1
	mov	w24, w8
	add	x23, x19, w8, uxtw #3
LBB0_20:                                ;   Parent Loop BB0_15 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x0, x21
	mov	x1, x23
	mov	x2, x26
	bl	_range_cmp_bounds
	tbnz	x0, #63, LBB0_23
; %bb.21:                               ;   in Loop: Header=BB0_20 Depth=2
	sub	x8, x24, #1
	sub	x23, x23, #8
	cmp	x24, #0
	mov	x24, x8
	b.gt	LBB0_20
; %bb.22:                               ;   in Loop: Header=BB0_15 Depth=1
	mov	w8, #-1
	b	LBB0_24
LBB0_23:                                ;   in Loop: Header=BB0_15 Depth=1
	mov	x8, x24
LBB0_24:                                ;   in Loop: Header=BB0_15 Depth=1
	str	x8, [sp, #48]                   ; 8-byte Folded Spill
	add	w2, w8, #1
	add	w4, w20, #1
	add	x0, sp, #80
	mov	x1, x26
	mov	x3, x27
	bl	_range_gist_consider_split
	mov	x24, x27
	tbz	w20, #31, LBB0_15
LBB0_25:
	ldr	w8, [sp, #84]
	cbz	w8, LBB0_27
; %bb.26:
	mov	x0, x21
	ldp	x1, x2, [sp, #16]               ; 16-byte Folded Reload
	bl	_range_gist_fallback_split
	b	LBB0_44
LBB0_27:
	ldr	w19, [sp, #12]                  ; 4-byte Folded Reload
	mov	x0, x19
	bl	_palloc
	ldr	x26, [sp, #24]                  ; 8-byte Folded Reload
	str	x0, [x26]
	mov	x0, x19
	bl	_palloc
	str	x0, [x26, #8]
	lsl	w0, w22, #4
	stp	xzr, xzr, [x26, #32]
	bl	_palloc
Lloh8:
	adrp	x8, _FirstOffsetNumber@GOTPAGE
Lloh9:
	ldr	x8, [x8, _FirstOffsetNumber@GOTPAGEOFF]
Lloh10:
	ldr	x24, [x8]
	cmp	x24, x28
	ldr	x27, [sp, #16]                  ; 8-byte Folded Reload
	b.hi	LBB0_43
; %bb.28:
	mov	x22, x0
	mov	w23, #0
	b	LBB0_31
LBB0_29:                                ;   in Loop: Header=BB0_31 Depth=1
	lsr	x8, x0, #63
	eor	w0, w8, #0x1
	bl	_Assert
	mov	x0, x19
	mov	x1, x24
	bl	_PLACE_RIGHT
LBB0_30:                                ;   in Loop: Header=BB0_31 Depth=1
	mov	x0, x24
	bl	_OffsetNumberNext
	mov	x24, x0
	cmp	x0, x28
	b.hi	LBB0_37
LBB0_31:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x27, #8]
	ldr	w0, [x8, x24, lsl #2]
	bl	_DatumGetRangeTypeP
	mov	x19, x0
	add	x2, sp, #72
	add	x3, sp, #64
	add	x4, sp, #60
	mov	x0, x21
	mov	x1, x19
	bl	_range_deserialize
	ldr	x2, [sp, #104]
	add	x1, sp, #64
	mov	x0, x21
	bl	_range_cmp_bounds
	mov	x25, x0
	ldr	x2, [sp, #96]
	add	x1, sp, #72
	mov	x0, x21
	bl	_range_cmp_bounds
	cmp	x25, #0
	b.gt	LBB0_29
; %bb.32:                               ;   in Loop: Header=BB0_31 Depth=1
	tbnz	x0, #63, LBB0_36
; %bb.33:                               ;   in Loop: Header=BB0_31 Depth=1
	sbfiz	x8, x23, #4, #32
	str	x24, [x22, x8]
	ldr	x8, [sp, #112]
	cbz	x8, LBB0_35
; %bb.34:                               ;   in Loop: Header=BB0_31 Depth=1
	ldr	w1, [sp, #72]
	ldr	x8, [sp, #96]
	ldr	w2, [x8]
	mov	x0, x21
	bl	_call_subtype_diff
	mov	x19, x0
	ldr	x8, [sp, #104]
	ldr	w1, [x8]
	ldr	w2, [sp, #64]
	mov	x0, x21
	bl	_call_subtype_diff
	sub	x8, x19, x0
LBB0_35:                                ;   in Loop: Header=BB0_31 Depth=1
	sxtw	x9, w23
	add	x9, x22, x9, lsl #4
	str	x8, [x9, #8]
	add	w23, w23, #1
	b	LBB0_30
LBB0_36:                                ;   in Loop: Header=BB0_31 Depth=1
	mov	x0, x19
	mov	x1, x24
	bl	_PLACE_LEFT
	b	LBB0_30
LBB0_37:
	cmp	w23, #1
	b.lt	LBB0_43
; %bb.38:
Lloh11:
	adrp	x8, _common_entry_cmp@GOTPAGE
Lloh12:
	ldr	x8, [x8, _common_entry_cmp@GOTPAGEOFF]
Lloh13:
	ldr	w3, [x8]
	mov	x0, x22
	mov	x1, x23
	mov	w2, #16
	bl	_qsort
	mov	x20, #0
	mov	w21, w23
	b	LBB0_41
LBB0_39:                                ;   in Loop: Header=BB0_41 Depth=1
	bl	_PLACE_RIGHT
LBB0_40:                                ;   in Loop: Header=BB0_41 Depth=1
	add	x20, x20, #1
	add	x22, x22, #16
	cmp	x21, x20
	b.eq	LBB0_43
LBB0_41:                                ; =>This Inner Loop Header: Depth=1
	ldr	x19, [x22]
	ldr	x8, [x27, #8]
	sbfiz	x9, x19, #2, #32
	ldr	w0, [x8, x9]
	bl	_DatumGetRangeTypeP
	ldr	x8, [sp, #88]
	mov	x1, x19
	cmp	x20, x8
	b.hs	LBB0_39
; %bb.42:                               ;   in Loop: Header=BB0_41 Depth=1
	bl	_PLACE_LEFT
	b	LBB0_40
LBB0_43:
	mov	x0, #0
	bl	_PointerGetDatum
	str	x0, [x26, #24]
	mov	x0, #0
	bl	_PointerGetDatum
	str	x0, [x26, #16]
LBB0_44:
	ldp	x29, x30, [sp, #208]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #192]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #176]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #160]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #144]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #128]            ; 16-byte Folded Reload
	add	sp, sp, #224
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_FirstOffsetNumber,8,3          ; @FirstOffsetNumber
	.comm	_interval_cmp_lower,4,2         ; @interval_cmp_lower
	.comm	_interval_cmp_upper,4,2         ; @interval_cmp_upper
	.comm	_common_entry_cmp,4,2           ; @common_entry_cmp
	.no_dead_strip	_range_gist_double_sorting_split
.subsections_via_symbols
