	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_variable_range
_get_variable_range:                    ## @get_variable_range
	.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
	movq	%r8, %r12
	movq	%rcx, %r13
	movl	%edx, %ebx
	movq	%rsi, %r15
	movl	(%rsi), %edi
	callq	_HeapTupleIsValid
	xorl	%r14d, %r14d
	testl	%eax, %eax
	je	LBB0_27
## %bb.1:
	movl	%ebx, %edi
	callq	_get_opcode
	movq	%r15, %rdi
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	%eax, %esi
	callq	_statistic_proc_security_check
	testl	%eax, %eax
	je	LBB0_27
## %bb.2:
	movl	4(%r15), %edi
	leaq	-52(%rbp), %rsi
	leaq	-48(%rbp), %rdx
	callq	_get_typlenbyval
	movl	(%r15), %esi
	movq	_STATISTIC_KIND_HISTOGRAM@GOTPCREL(%rip), %r14
	movl	(%r14), %edx
	movq	_ATTSTATSSLOT_VALUES@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	leaq	-80(%rbp), %rdi
	movl	%ebx, %ecx
	callq	_get_attstatsslot
	testq	%rax, %rax
	movq	%r12, -104(%rbp)                ## 8-byte Spill
	movq	%r13, -96(%rbp)                 ## 8-byte Spill
	je	LBB0_12
## %bb.3:
	cmpl	$0, -80(%rbp)
	jle	LBB0_4
## %bb.5:
	movq	-72(%rbp), %rax
	movl	(%rax), %edi
	movl	-48(%rbp), %esi
	movl	-52(%rbp), %edx
	callq	_datumCopy
	movl	%eax, %r12d
	movq	-72(%rbp), %rax
	movslq	-80(%rbp), %rcx
	movl	-4(%rax,%rcx,4), %edi
	movl	-48(%rbp), %esi
	movl	-52(%rbp), %edx
	callq	_datumCopy
	movl	%eax, %r13d
	movl	$1, %r14d
	jmp	LBB0_6
LBB0_12:
	movl	(%r15), %esi
	movl	(%r14), %edx
	movq	_InvalidOid@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	-80(%rbp), %rdi
	xorl	%r12d, %r12d
	xorl	%r8d, %r8d
	callq	_get_attstatsslot
	movl	$0, %r13d
	movl	$0, %r14d
	testq	%rax, %rax
	je	LBB0_7
## %bb.13:
	leaq	-80(%rbp), %rdi
	callq	_free_attstatsslot
	xorl	%r14d, %r14d
	jmp	LBB0_27
LBB0_4:
	xorl	%r12d, %r12d
	xorl	%r13d, %r13d
	xorl	%r14d, %r14d
LBB0_6:
	leaq	-80(%rbp), %rdi
	callq	_free_attstatsslot
LBB0_7:
	movl	(%r15), %esi
	movq	_STATISTIC_KIND_MCV@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_InvalidOid@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_ATTSTATSSLOT_VALUES@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	leaq	-80(%rbp), %rdi
	callq	_get_attstatsslot
	testq	%rax, %rax
	je	LBB0_26
## %bb.8:
	leaq	-84(%rbp), %rsi
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	callq	_fmgr_info
	cmpl	$0, -80(%rbp)
	jle	LBB0_25
## %bb.9:
	testl	%r14d, %r14d
	je	LBB0_15
## %bb.10:
	movl	-64(%rbp), %esi
	movq	-72(%rbp), %rax
	movl	(%rax), %edx
	leaq	-84(%rbp), %r14
	movq	%r14, %rdi
	movl	%r12d, %ecx
	callq	_FunctionCall2Coll
	movl	%eax, %edi
	callq	_DatumGetBool
	testq	%rax, %rax
	setne	%bl
	movq	-72(%rbp), %rax
	movl	(%rax), %ecx
	cmovnel	%ecx, %r12d
	movl	-64(%rbp), %esi
	movq	%r14, %rdi
	movl	%r13d, %edx
	callq	_FunctionCall2Coll
	movl	%eax, %edi
	callq	_DatumGetBool
	testq	%rax, %rax
	je	LBB0_11
## %bb.14:
	movq	-72(%rbp), %rax
	movl	(%rax), %r13d
	movl	$1, -44(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_16
LBB0_15:
	movq	-72(%rbp), %rax
	movl	(%rax), %r12d
	movl	$1, -44(%rbp)                   ## 4-byte Folded Spill
	movb	$1, %bl
	movl	%r12d, %r13d
	jmp	LBB0_16
LBB0_11:
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
LBB0_16:
	movzbl	%bl, %ebx
	cmpl	$2, -80(%rbp)
	jl	LBB0_21
## %bb.17:
	movl	$1, %r15d
	leaq	-84(%rbp), %r14
	jmp	LBB0_18
	.p2align	4, 0x90
LBB0_20:                                ##   in Loop: Header=BB0_18 Depth=1
	incq	%r15
	movslq	-80(%rbp), %rax
	cmpq	%rax, %r15
	jge	LBB0_21
LBB0_18:                                ## =>This Inner Loop Header: Depth=1
	movl	-64(%rbp), %esi
	movq	-72(%rbp), %rax
	movl	(%rax,%r15,4), %edx
	movq	%r14, %rdi
	movl	%r12d, %ecx
	callq	_FunctionCall2Coll
	movl	%eax, %edi
	callq	_DatumGetBool
	testq	%rax, %rax
	movq	-72(%rbp), %rax
	movl	(%rax,%r15,4), %ecx
	cmovnel	%ecx, %r12d
	movl	$1, %eax
	cmovnel	%eax, %ebx
	movl	-64(%rbp), %esi
	movq	%r14, %rdi
	movl	%r13d, %edx
	callq	_FunctionCall2Coll
	movl	%eax, %edi
	callq	_DatumGetBool
	testq	%rax, %rax
	je	LBB0_20
## %bb.19:                              ##   in Loop: Header=BB0_18 Depth=1
	movq	-72(%rbp), %rax
	movl	(%rax,%r15,4), %r13d
	movl	$1, -44(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_20
LBB0_21:
	testl	%ebx, %ebx
	je	LBB0_23
## %bb.22:
	movl	-48(%rbp), %esi
	movl	-52(%rbp), %edx
	movl	%r12d, %edi
	callq	_datumCopy
	movl	%eax, %r12d
LBB0_23:
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	movl	$1, %r14d
	testl	%eax, %eax
	je	LBB0_25
## %bb.24:
	movl	-48(%rbp), %esi
	movl	-52(%rbp), %edx
	movl	%r13d, %edi
	callq	_datumCopy
	movl	%eax, %r13d
LBB0_25:
	leaq	-80(%rbp), %rdi
	callq	_free_attstatsslot
LBB0_26:
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	movl	%r12d, (%rax)
	movq	-104(%rbp), %rax                ## 8-byte Reload
	movl	%r13d, (%rax)
LBB0_27:
	movl	%r14d, %eax
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_STATISTIC_KIND_HISTOGRAM,4,2   ## @STATISTIC_KIND_HISTOGRAM
	.comm	_ATTSTATSSLOT_VALUES,4,2        ## @ATTSTATSSLOT_VALUES
	.comm	_InvalidOid,4,2                 ## @InvalidOid
	.comm	_STATISTIC_KIND_MCV,4,2         ## @STATISTIC_KIND_MCV
	.no_dead_strip	_get_variable_range
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_variable_range
_get_variable_range:                    ; @get_variable_range
	.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
	mov	x19, x4
	mov	x20, x3
	mov	x21, x2
	mov	x24, x1
	ldr	w0, [x1]
	bl	_HeapTupleIsValid
	cbz	w0, LBB0_5
; %bb.1:
	mov	x0, x21
	bl	_get_opcode
	mov	x23, x0
	mov	x0, x24
	mov	x1, x23
	bl	_statistic_proc_security_check
	cbz	w0, LBB0_5
; %bb.2:
	ldr	w0, [x24, #4]
	add	x1, sp, #44
	add	x2, sp, #40
	bl	_get_typlenbyval
	ldr	w1, [x24]
Lloh0:
	adrp	x22, _STATISTIC_KIND_HISTOGRAM@GOTPAGE
Lloh1:
	ldr	x22, [x22, _STATISTIC_KIND_HISTOGRAM@GOTPAGEOFF]
	ldr	w2, [x22]
Lloh2:
	adrp	x26, _ATTSTATSSLOT_VALUES@GOTPAGE
Lloh3:
	ldr	x26, [x26, _ATTSTATSSLOT_VALUES@GOTPAGEOFF]
	ldr	w4, [x26]
	add	x0, sp, #16
	mov	x3, x21
	bl	_get_attstatsslot
Lloh4:
	adrp	x27, _InvalidOid@GOTPAGE
Lloh5:
	ldr	x27, [x27, _InvalidOid@GOTPAGEOFF]
	cbz	x0, LBB0_6
; %bb.3:
	ldr	w8, [sp, #16]
	cmp	w8, #1
	b.lt	LBB0_8
; %bb.4:
	ldr	x8, [sp, #24]
	ldr	w0, [x8]
	ldp	w1, w2, [sp, #40]
	bl	_datumCopy
	mov	x21, x0
	ldr	x8, [sp, #24]
	ldrsw	x9, [sp, #16]
	add	x8, x8, x9, lsl #2
	ldur	w0, [x8, #-4]
	ldp	w1, w2, [sp, #40]
	bl	_datumCopy
	mov	x22, x0
	mov	w25, #1
	b	LBB0_9
LBB0_5:
	mov	w25, #0
	b	LBB0_31
LBB0_6:
	ldr	w1, [x24]
	ldr	w2, [x22]
	ldr	w3, [x27]
	add	x0, sp, #16
	mov	w4, #0
	bl	_get_attstatsslot
	cbz	x0, LBB0_15
; %bb.7:
	add	x0, sp, #16
	bl	_free_attstatsslot
	mov	w25, #0
	b	LBB0_31
LBB0_8:
	mov	w21, #0
	mov	w22, #0
	mov	w25, #0
LBB0_9:
	add	x0, sp, #16
	bl	_free_attstatsslot
LBB0_10:
	ldr	w1, [x24]
Lloh6:
	adrp	x8, _STATISTIC_KIND_MCV@GOTPAGE
Lloh7:
	ldr	x8, [x8, _STATISTIC_KIND_MCV@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	ldr	w3, [x27]
	ldr	w4, [x26]
	add	x0, sp, #16
	bl	_get_attstatsslot
	cbz	x0, LBB0_30
; %bb.11:
	add	x1, sp, #12
	mov	x0, x23
	bl	_fmgr_info
	ldr	w8, [sp, #16]
	cmp	w8, #1
	b.lt	LBB0_29
; %bb.12:
	cbz	w25, LBB0_16
; %bb.13:
	ldr	w1, [sp, #32]
	ldr	x8, [sp, #24]
	ldr	w2, [x8]
	add	x0, sp, #12
	mov	x3, x21
	bl	_FunctionCall2Coll
	bl	_DatumGetBool
	cmp	x0, #0
	cset	w23, ne
	ldr	x8, [sp, #24]
	ldr	w3, [x8]
	csel	w21, w21, w3, eq
	ldr	w1, [sp, #32]
	add	x0, sp, #12
	mov	x2, x22
	bl	_FunctionCall2Coll
	bl	_DatumGetBool
	cbz	x0, LBB0_18
; %bb.14:
	ldr	x8, [sp, #24]
	ldr	w22, [x8]
	b	LBB0_17
LBB0_15:
	mov	w21, #0
	mov	w22, #0
	mov	w25, #0
	b	LBB0_10
LBB0_16:
	ldr	x8, [sp, #24]
	ldr	w21, [x8]
	mov	w23, #1
	mov	x22, x21
LBB0_17:
	mov	w24, #1
	b	LBB0_19
LBB0_18:
	mov	w24, #0
LBB0_19:
	ldr	w8, [sp, #16]
	cmp	w8, #2
	b.lt	LBB0_24
; %bb.20:
	mov	w25, #1
	b	LBB0_22
LBB0_21:                                ;   in Loop: Header=BB0_22 Depth=1
	add	x25, x25, #1
	ldrsw	x8, [sp, #16]
	cmp	x25, x8
	b.ge	LBB0_24
LBB0_22:                                ; =>This Inner Loop Header: Depth=1
	ldr	w1, [sp, #32]
	ldr	x8, [sp, #24]
	lsl	x26, x25, #2
	ldr	w2, [x8, x26]
	add	x0, sp, #12
	mov	x3, x21
	bl	_FunctionCall2Coll
	bl	_DatumGetBool
	ldr	x8, [sp, #24]
	ldr	w3, [x8, x26]
	cmp	x0, #0
	csel	w21, w21, w3, eq
	csinc	w23, w23, wzr, eq
	ldr	w1, [sp, #32]
	add	x0, sp, #12
	mov	x2, x22
	bl	_FunctionCall2Coll
	bl	_DatumGetBool
	cbz	x0, LBB0_21
; %bb.23:                               ;   in Loop: Header=BB0_22 Depth=1
	ldr	x8, [sp, #24]
	ldr	w22, [x8, x25, lsl #2]
	mov	w24, #1
	b	LBB0_21
LBB0_24:
	cbz	w23, LBB0_26
; %bb.25:
	ldp	w1, w2, [sp, #40]
	mov	x0, x21
	bl	_datumCopy
	mov	x21, x0
LBB0_26:
	cbz	w24, LBB0_28
; %bb.27:
	ldp	w1, w2, [sp, #40]
	mov	x0, x22
	bl	_datumCopy
	mov	x22, x0
LBB0_28:
	mov	w25, #1
LBB0_29:
	add	x0, sp, #16
	bl	_free_attstatsslot
LBB0_30:
	str	w21, [x20]
	str	w22, [x19]
LBB0_31:
	mov	x0, x25
	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
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_STATISTIC_KIND_HISTOGRAM,4,2   ; @STATISTIC_KIND_HISTOGRAM
	.comm	_ATTSTATSSLOT_VALUES,4,2        ; @ATTSTATSSLOT_VALUES
	.comm	_InvalidOid,4,2                 ; @InvalidOid
	.comm	_STATISTIC_KIND_MCV,4,2         ; @STATISTIC_KIND_MCV
	.no_dead_strip	_get_variable_range
.subsections_via_symbols
