	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_varstr_sortsupport             ## -- Begin function varstr_sortsupport
	.p2align	4, 0x90
_varstr_sortsupport:                    ## @varstr_sortsupport
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	movq	%rsi, %r14
	movq	%rdi, %r12
	movl	(%rdi), %r13d
	movq	%rdx, %rdi
	callq	_check_collation_set
	movq	%rbx, %rdi
	callq	_lc_collate_is_c
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	movq	_BPCHAROID@GOTPCREL(%rip), %rdx
	movq	_NAMEOID@GOTPCREL(%rip), %rax
	xorl	%r15d, %r15d
	cmpq	%r14, (%rax)
	movl	%r13d, %eax
	movq	_varstrfastcmp_c@GOTPCREL(%rip), %rcx
	cmoveq	_namefastcmp_c@GOTPCREL(%rip), %rcx
	cmovel	%r15d, %eax
	cmpq	%r14, (%rdx)
	jne	LBB0_3
## %bb.2:
	movq	_bpcharfastcmp_c@GOTPCREL(%rip), %rcx
	movl	%r13d, %eax
LBB0_3:
	movl	(%rcx), %ecx
	movl	%ecx, 12(%r12)
	testl	%eax, %eax
	sete	%r13b
	je	LBB0_17
## %bb.4:
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	movl	$1, -44(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_15
LBB0_5:
	movq	_DEFAULT_COLLATION_OID@GOTPCREL(%rip), %rax
	cmpq	%rbx, (%rax)
	jne	LBB0_7
## %bb.6:
	xorl	%r15d, %r15d
	jmp	LBB0_8
LBB0_7:
	movq	%rbx, %rdi
	callq	_pg_newlocale_from_collation
	movq	%rax, %r15
LBB0_8:
	movq	_NAMEOID@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	%r14, %rax
	jne	LBB0_9
## %bb.10:
	movq	_namefastcmp_locale@GOTPCREL(%rip), %rcx
	jmp	LBB0_11
LBB0_9:
	movq	_varlenafastcmp_locale@GOTPCREL(%rip), %rcx
LBB0_11:
	movl	(%rcx), %ecx
	movl	%ecx, 12(%r12)
	testq	%r15, %r15
	je	LBB0_13
## %bb.12:
	xorl	%ecx, %ecx
	cmpq	%r14, %rax
	cmovel	%ecx, %r13d
	movq	(%r15), %rax
	movq	_COLLPROVIDER_ICU@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_14
LBB0_13:
	xorl	%r13d, %r13d
LBB0_14:
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	testl	%r13d, %r13d
	sete	%r13b
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
LBB0_15:
	movl	$80, %edi
	callq	_palloc
	movq	%rax, %rbx
	movq	_TEXTBUFLEN@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	callq	_palloc
	movq	%rax, 72(%rbx)
	movl	(%r14), %eax
	movl	%eax, (%rbx)
	movl	(%r14), %edi
	callq	_palloc
	movq	%rax, 64(%rbx)
	movl	(%r14), %eax
	movl	%eax, 4(%rbx)
	movq	$-1, 8(%rbx)
	movq	$0, 56(%rbx)
	movq	%r15, 48(%rbx)
	movl	$1, 16(%rbx)
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, 20(%rbx)
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, 40(%rbx)
	movq	%rbx, 24(%r12)
	testb	%r13b, %r13b
	jne	LBB0_17
## %bb.16:
	movabsq	$4596373779694328218, %rax      ## imm = 0x3FC999999999999A
	movq	%rax, 24(%rbx)
	leaq	36(%rbx), %rdi
	movl	$10, %esi
	callq	_initHyperLogLog
	addq	$32, %rbx
	movq	%rbx, %rdi
	movl	$10, %esi
	callq	_initHyperLogLog
	movl	12(%r12), %eax
	movl	%eax, 16(%r12)
	movq	_varstrcmp_abbrev@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 12(%r12)
	movq	_varstr_abbrev_convert@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%r12)
	movq	_varstr_abbrev_abort@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%r12)
LBB0_17:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BPCHAROID,8,3                  ## @BPCHAROID
	.comm	_bpcharfastcmp_c,4,2            ## @bpcharfastcmp_c
	.comm	_NAMEOID,8,3                    ## @NAMEOID
	.comm	_namefastcmp_c,4,2              ## @namefastcmp_c
	.comm	_varstrfastcmp_c,4,2            ## @varstrfastcmp_c
	.comm	_DEFAULT_COLLATION_OID,8,3      ## @DEFAULT_COLLATION_OID
	.comm	_namefastcmp_locale,4,2         ## @namefastcmp_locale
	.comm	_varlenafastcmp_locale,4,2      ## @varlenafastcmp_locale
	.comm	_COLLPROVIDER_ICU,8,3           ## @COLLPROVIDER_ICU
	.comm	_TEXTBUFLEN,4,2                 ## @TEXTBUFLEN
	.comm	_varstrcmp_abbrev,4,2           ## @varstrcmp_abbrev
	.comm	_varstr_abbrev_convert,4,2      ## @varstr_abbrev_convert
	.comm	_varstr_abbrev_abort,4,2        ## @varstr_abbrev_abort
	.comm	_PG_UTF8,8,3                    ## @PG_UTF8
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_varstr_sortsupport             ; -- Begin function varstr_sortsupport
	.p2align	2
_varstr_sortsupport:                    ; @varstr_sortsupport
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x21, x2
	mov	x20, x1
	mov	x19, x0
	ldr	w22, [x0]
	mov	x0, x2
	bl	_check_collation_set
	mov	x0, x21
	bl	_lc_collate_is_c
	cbz	x0, LBB0_3
; %bb.1:
Lloh0:
	adrp	x8, _BPCHAROID@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BPCHAROID@GOTPAGEOFF]
Lloh2:
	adrp	x9, _NAMEOID@GOTPAGE
Lloh3:
	ldr	x9, [x9, _NAMEOID@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
Lloh5:
	ldr	x9, [x9]
Lloh6:
	adrp	x10, _namefastcmp_c@GOTPAGE
Lloh7:
	ldr	x10, [x10, _namefastcmp_c@GOTPAGEOFF]
Lloh8:
	adrp	x11, _varstrfastcmp_c@GOTPAGE
Lloh9:
	ldr	x11, [x11, _varstrfastcmp_c@GOTPAGEOFF]
	cmp	x9, x20
	csel	x9, x10, x11, eq
	csel	w10, wzr, w22, eq
Lloh10:
	adrp	x11, _bpcharfastcmp_c@GOTPAGE
Lloh11:
	ldr	x11, [x11, _bpcharfastcmp_c@GOTPAGEOFF]
	cmp	x8, x20
	csel	x8, x11, x9, eq
	csel	w9, w22, w10, eq
	ldr	w8, [x8]
	str	w8, [x19, #12]
	cmp	w9, #0
	cset	w23, eq
	cbz	w9, LBB0_12
; %bb.2:
	mov	x21, #0
	mov	w24, #1
	b	LBB0_10
LBB0_3:
Lloh12:
	adrp	x8, _DEFAULT_COLLATION_OID@GOTPAGE
Lloh13:
	ldr	x8, [x8, _DEFAULT_COLLATION_OID@GOTPAGEOFF]
Lloh14:
	ldr	x8, [x8]
	cmp	x8, x21
	b.ne	LBB0_5
; %bb.4:
	mov	x21, #0
	b	LBB0_6
LBB0_5:
	mov	x0, x21
	bl	_pg_newlocale_from_collation
	mov	x21, x0
LBB0_6:
Lloh15:
	adrp	x8, _NAMEOID@GOTPAGE
Lloh16:
	ldr	x8, [x8, _NAMEOID@GOTPAGEOFF]
Lloh17:
	ldr	x8, [x8]
Lloh18:
	adrp	x9, _namefastcmp_locale@GOTPAGE
Lloh19:
	ldr	x9, [x9, _namefastcmp_locale@GOTPAGEOFF]
Lloh20:
	adrp	x10, _varlenafastcmp_locale@GOTPAGE
Lloh21:
	ldr	x10, [x10, _varlenafastcmp_locale@GOTPAGEOFF]
	cmp	x8, x20
	csel	x9, x9, x10, eq
	ldr	w9, [x9]
	str	w9, [x19, #12]
	cbz	x21, LBB0_8
; %bb.7:
	cmp	x8, x20
	csel	w8, wzr, w22, eq
	ldr	x9, [x21]
Lloh22:
	adrp	x10, _COLLPROVIDER_ICU@GOTPAGE
Lloh23:
	ldr	x10, [x10, _COLLPROVIDER_ICU@GOTPAGEOFF]
Lloh24:
	ldr	x10, [x10]
	cmp	x9, x10
	b.eq	LBB0_9
LBB0_8:
	mov	w8, #0
LBB0_9:
	mov	w24, #0
	cmp	w8, #0
	cset	w23, eq
LBB0_10:
	mov	w0, #80
	bl	_palloc
	mov	x22, x0
Lloh25:
	adrp	x25, _TEXTBUFLEN@GOTPAGE
Lloh26:
	ldr	x25, [x25, _TEXTBUFLEN@GOTPAGEOFF]
	ldr	w0, [x25]
	bl	_palloc
	str	x0, [x22, #72]
	ldr	w8, [x25]
	str	w8, [x22]
	ldr	w0, [x25]
	bl	_palloc
	ldr	w8, [x25]
	str	w8, [x22, #4]
	movi.2d	v0, #0xffffffffffffffff
	str	d0, [x22, #8]
	stp	xzr, x0, [x22, #56]
	mov	w8, #1
	stp	w8, w24, [x22, #16]
	stp	x20, x21, [x22, #40]
	str	x22, [x19, #24]
	tbnz	w23, #0, LBB0_12
; %bb.11:
	mov	x8, #-7378697629483820647
	movk	x8, #39322
	movk	x8, #16329, lsl #48
	str	x8, [x22, #24]
	add	x0, x22, #36
	mov	w1, #10
	bl	_initHyperLogLog
	add	x0, x22, #32
	mov	w1, #10
	bl	_initHyperLogLog
Lloh27:
	adrp	x8, _varstrcmp_abbrev@GOTPAGE
Lloh28:
	ldr	x8, [x8, _varstrcmp_abbrev@GOTPAGEOFF]
	ldr	w9, [x19, #12]
Lloh29:
	ldr	w8, [x8]
	stp	w8, w9, [x19, #12]
Lloh30:
	adrp	x8, _varstr_abbrev_convert@GOTPAGE
Lloh31:
	ldr	x8, [x8, _varstr_abbrev_convert@GOTPAGEOFF]
Lloh32:
	ldr	w8, [x8]
Lloh33:
	adrp	x9, _varstr_abbrev_abort@GOTPAGE
Lloh34:
	ldr	x9, [x9, _varstr_abbrev_abort@GOTPAGEOFF]
Lloh35:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #4]
LBB0_12:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.cfi_endproc
                                        ; -- End function
	.comm	_BPCHAROID,8,3                  ; @BPCHAROID
	.comm	_bpcharfastcmp_c,4,2            ; @bpcharfastcmp_c
	.comm	_NAMEOID,8,3                    ; @NAMEOID
	.comm	_namefastcmp_c,4,2              ; @namefastcmp_c
	.comm	_varstrfastcmp_c,4,2            ; @varstrfastcmp_c
	.comm	_DEFAULT_COLLATION_OID,8,3      ; @DEFAULT_COLLATION_OID
	.comm	_namefastcmp_locale,4,2         ; @namefastcmp_locale
	.comm	_varlenafastcmp_locale,4,2      ; @varlenafastcmp_locale
	.comm	_COLLPROVIDER_ICU,8,3           ; @COLLPROVIDER_ICU
	.comm	_TEXTBUFLEN,4,2                 ; @TEXTBUFLEN
	.comm	_varstrcmp_abbrev,4,2           ; @varstrcmp_abbrev
	.comm	_varstr_abbrev_convert,4,2      ; @varstr_abbrev_convert
	.comm	_varstr_abbrev_abort,4,2        ; @varstr_abbrev_abort
	.comm	_PG_UTF8,8,3                    ; @PG_UTF8
.subsections_via_symbols
