	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function enum_range_internal
_enum_range_internal:                   ## @enum_range_internal
	.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	%rdx, -80(%rbp)                 ## 8-byte Spill
	movq	%rsi, %r14
	movq	_Anum_pg_enum_enumtypid@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	_BTEqualStrategyNumber@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	_F_OIDEQ@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%rdi, -88(%rbp)                 ## 8-byte Spill
	callq	_ObjectIdGetDatum
	leaq	-100(%rbp), %r13
	movq	%r13, %rdi
	movl	%r15d, %esi
	movl	%r12d, %edx
	movl	%ebx, %ecx
	movl	%eax, %r8d
	callq	_ScanKeyInit
	movq	_EnumRelationId@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_AccessShareLock@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	callq	_table_open
	movl	%eax, %r12d
	movq	_EnumTypIdSortOrderIndexId@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%r15), %esi
	callq	_index_open
	movl	%eax, %esi
	xorl	%eax, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movl	%r12d, -64(%rbp)                ## 4-byte Spill
	movl	%r12d, %edi
	movl	%esi, -60(%rbp)                 ## 4-byte Spill
	xorl	%edx, %edx
	movl	$1, %ecx
	movq	%r13, %r8
	callq	_systable_beginscan_ordered
	movl	%eax, %r15d
	movl	$256, %edi                      ## imm = 0x100
	callq	_palloc
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	%r14, -96(%rbp)                 ## 8-byte Spill
	movq	%r14, %rdi
	callq	_OidIsValid
	xorl	%r13d, %r13d
	testq	%rax, %rax
	sete	%r13b
	movl	$64, %eax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	_ForwardScanDirection@GOTPCREL(%rip), %rbx
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rbx), %esi
	movl	%r15d, %edi
	callq	_systable_getnext_ordered
	movl	%eax, %r14d
	movl	%eax, %edi
	callq	_HeapTupleIsValid
	testq	%rax, %rax
	je	LBB0_10
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	%r14d, %edi
	callq	_GETSTRUCT
	movq	(%rax), %r12
	testl	%r13d, %r13d
	jne	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	xorl	%r13d, %r13d
	cmpq	-96(%rbp), %r12                 ## 8-byte Folded Reload
	jne	LBB0_8
LBB0_4:                                 ##   in Loop: Header=BB0_1 Depth=1
	movl	%r14d, %edi
	callq	_check_safe_enum_use
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	cmpl	%esi, %ebx
	jge	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	-48(%rbp), %r13                 ## 8-byte Reload
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_1 Depth=1
	leal	(%rsi,%rsi), %r14d
	shll	$3, %esi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_repalloc
	movq	%rax, %r13
	movl	%r14d, %eax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
LBB0_7:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	%r12, %rdi
	callq	_ObjectIdGetDatum
	movslq	%ebx, %rcx
	incl	%ebx
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movq	%r13, -48(%rbp)                 ## 8-byte Spill
	movl	%eax, (%r13,%rcx,4)
	movl	$1, %r13d
	movq	_ForwardScanDirection@GOTPCREL(%rip), %rbx
LBB0_8:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	callq	_OidIsValid
	testq	%rax, %rax
	je	LBB0_1
## %bb.9:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpq	-80(%rbp), %r12                 ## 8-byte Folded Reload
	jne	LBB0_1
LBB0_10:
	movl	%r15d, %edi
	callq	_systable_endscan_ordered
	movq	_AccessShareLock@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movl	-60(%rbp), %edi                 ## 4-byte Reload
	callq	_index_close
	movl	(%rbx), %esi
	movl	-64(%rbp), %edi                 ## 4-byte Reload
	callq	_table_close
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	movq	-88(%rbp), %rdx                 ## 8-byte Reload
	movl	$8, %ecx
	movl	$1, %r8d
	movl	$105, %r9d
	callq	_construct_array
	movq	%rax, %r14
	movq	%rbx, %rdi
	callq	_pfree
	movq	%r14, %rax
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_Anum_pg_enum_enumtypid,4,2     ## @Anum_pg_enum_enumtypid
	.comm	_BTEqualStrategyNumber,4,2      ## @BTEqualStrategyNumber
	.comm	_F_OIDEQ,4,2                    ## @F_OIDEQ
	.comm	_EnumRelationId,4,2             ## @EnumRelationId
	.comm	_AccessShareLock,4,2            ## @AccessShareLock
	.comm	_EnumTypIdSortOrderIndexId,4,2  ## @EnumTypIdSortOrderIndexId
	.comm	_ForwardScanDirection,4,2       ## @ForwardScanDirection
	.no_dead_strip	_enum_range_internal
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function enum_range_internal
_enum_range_internal:                   ; @enum_range_internal
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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	x20, x2
	mov	x21, x1
Lloh0:
	adrp	x8, _Anum_pg_enum_enumtypid@GOTPAGE
Lloh1:
	ldr	x8, [x8, _Anum_pg_enum_enumtypid@GOTPAGEOFF]
Lloh2:
	ldr	w22, [x8]
Lloh3:
	adrp	x8, _BTEqualStrategyNumber@GOTPAGE
Lloh4:
	ldr	x8, [x8, _BTEqualStrategyNumber@GOTPAGEOFF]
Lloh5:
	ldr	w23, [x8]
Lloh6:
	adrp	x8, _F_OIDEQ@GOTPAGE
Lloh7:
	ldr	x8, [x8, _F_OIDEQ@GOTPAGEOFF]
Lloh8:
	ldr	w24, [x8]
	str	x0, [sp, #16]                   ; 8-byte Folded Spill
	bl	_ObjectIdGetDatum
	mov	x4, x0
	add	x0, sp, #28
	mov	x1, x22
	mov	x2, x23
	mov	x3, x24
	bl	_ScanKeyInit
Lloh9:
	adrp	x8, _EnumRelationId@GOTPAGE
Lloh10:
	ldr	x8, [x8, _EnumRelationId@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
Lloh12:
	adrp	x19, _AccessShareLock@GOTPAGE
Lloh13:
	ldr	x19, [x19, _AccessShareLock@GOTPAGEOFF]
	ldr	w1, [x19]
	bl	_table_open
	mov	x22, x0
Lloh14:
	adrp	x8, _EnumTypIdSortOrderIndexId@GOTPAGE
Lloh15:
	ldr	x8, [x8, _EnumTypIdSortOrderIndexId@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
	ldr	w1, [x19]
	bl	_index_open
	mov	x1, x0
	add	x4, sp, #28
	stp	w1, w22, [sp, #8]               ; 8-byte Folded Spill
	mov	x0, x22
	mov	x2, #0
	mov	w3, #1
	bl	_systable_beginscan_ordered
	mov	x26, x0
	mov	w0, #256
	bl	_palloc
	mov	x23, x0
	mov	x0, x21
	bl	_OidIsValid
	mov	w25, #0
	cmp	x0, #0
	cset	w24, eq
	mov	w22, #64
Lloh17:
	adrp	x19, _ForwardScanDirection@GOTPAGE
Lloh18:
	ldr	x19, [x19, _ForwardScanDirection@GOTPAGEOFF]
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x19]
	mov	x0, x26
	bl	_systable_getnext_ordered
	mov	x28, x0
	bl	_HeapTupleIsValid
	cbz	x0, LBB0_10
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	x0, x28
	bl	_GETSTRUCT
	ldr	x27, [x0]
	cbnz	w24, LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_1 Depth=1
	cmp	x27, x21
	b.eq	LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	w24, #0
	b	LBB0_8
LBB0_5:                                 ;   in Loop: Header=BB0_1 Depth=1
	mov	x0, x28
	bl	_check_safe_enum_use
	cmp	w25, w22
	b.lt	LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_1 Depth=1
	lsl	w24, w22, #1
	lsl	w1, w22, #3
	mov	x0, x23
	bl	_repalloc
	mov	x23, x0
	mov	x22, x24
LBB0_7:                                 ;   in Loop: Header=BB0_1 Depth=1
	mov	x0, x27
	bl	_ObjectIdGetDatum
	str	w0, [x23, w25, sxtw #2]
	add	w25, w25, #1
	mov	w24, #1
LBB0_8:                                 ;   in Loop: Header=BB0_1 Depth=1
	mov	x0, x20
	bl	_OidIsValid
	cbz	x0, LBB0_1
; %bb.9:                                ;   in Loop: Header=BB0_1 Depth=1
	cmp	x27, x20
	b.ne	LBB0_1
LBB0_10:
	mov	x0, x26
	bl	_systable_endscan_ordered
Lloh19:
	adrp	x19, _AccessShareLock@GOTPAGE
Lloh20:
	ldr	x19, [x19, _AccessShareLock@GOTPAGEOFF]
	ldr	w1, [x19]
	ldr	w0, [sp, #8]                    ; 4-byte Folded Reload
	bl	_index_close
	ldr	w1, [x19]
	ldr	w0, [sp, #12]                   ; 4-byte Folded Reload
	bl	_table_close
	mov	x0, x23
	mov	x1, x25
	ldr	x2, [sp, #16]                   ; 8-byte Folded Reload
	mov	w3, #8
	mov	w4, #1
	mov	w5, #105
	bl	_construct_array
	mov	x19, x0
	mov	x0, x23
	bl	_pfree
	mov	x0, x19
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_Anum_pg_enum_enumtypid,4,2     ; @Anum_pg_enum_enumtypid
	.comm	_BTEqualStrategyNumber,4,2      ; @BTEqualStrategyNumber
	.comm	_F_OIDEQ,4,2                    ; @F_OIDEQ
	.comm	_EnumRelationId,4,2             ; @EnumRelationId
	.comm	_AccessShareLock,4,2            ; @AccessShareLock
	.comm	_EnumTypIdSortOrderIndexId,4,2  ; @EnumTypIdSortOrderIndexId
	.comm	_ForwardScanDirection,4,2       ; @ForwardScanDirection
	.no_dead_strip	_enum_range_internal
.subsections_via_symbols
