	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function varstr_abbrev_convert
_varstr_abbrev_convert:                 ## @varstr_abbrev_convert
	.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
	movl	%edi, %r14d
	movq	(%rsi), %r15
	callq	_DatumGetVarStringPP
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_VARDATA_ANY
	movq	%rax, %r12
	leaq	-44(%rbp), %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	callq	_VARSIZE_ANY_EXHDR
	movl	%eax, %r13d
	movq	(%r15), %rax
	movq	_BPCHAROID@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	movq	%r12, %rdi
	movl	%r13d, %esi
	callq	_bpchartruelen
	movl	%eax, %r13d
LBB0_2:
	cmpq	$0, 64(%r15)
	movl	%r14d, -48(%rbp)                ## 4-byte Spill
	je	LBB0_7
## %bb.3:
	movl	%r13d, %edi
	movl	$4, %esi
	callq	_Min
	leaq	-44(%rbp), %rdi
	movq	%r12, %rsi
	jmp	LBB0_4
LBB0_7:
	cmpl	8(%r15), %r13d
	jl	LBB0_9
## %bb.8:
	movq	16(%r15), %rdi
	callq	_pfree
	leal	1(%r13), %ebx
	movl	8(%r15), %edi
	addl	%edi, %edi
	movq	_MaxAllocSize@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_Min
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_Max
	movl	%eax, 8(%r15)
	movl	%eax, %edi
	callq	_palloc
	movq	%rax, 16(%r15)
LBB0_9:
	cmpl	%r13d, 24(%r15)
	jne	LBB0_12
## %bb.10:
	cmpl	$0, 28(%r15)
	je	LBB0_12
## %bb.11:
	movq	16(%r15), %rdi
	movq	%r12, %rsi
	movl	%r13d, %edx
	callq	_memcmp
	testq	%rax, %rax
	je	LBB0_16
LBB0_12:
	movq	16(%r15), %rdi
	movq	%r12, %rsi
	movl	%r13d, %edx
	callq	_memcpy
	movq	16(%r15), %rax
	movslq	%r13d, %rcx
	movb	$0, (%rax,%rcx)
	movl	%r13d, 24(%r15)
	movq	16(%r15), %rsi
	movq	32(%r15), %rdi
	movl	44(%r15), %edx
	callq	_strxfrm
	movl	%eax, %ebx
	movl	%eax, 40(%r15)
	cmpl	44(%r15), %eax
	jl	LBB0_15
## %bb.13:
	movq	_MaxAllocSize@GOTPCREL(%rip), %r14
	.p2align	4, 0x90
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	movq	32(%r15), %rdi
	callq	_pfree
	incl	%ebx
	movl	44(%r15), %edi
	addl	%edi, %edi
	movl	(%r14), %esi
	callq	_Min
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_Max
	movl	%eax, 44(%r15)
	movl	%eax, %edi
	callq	_palloc
	movq	%rax, 32(%r15)
	movq	16(%r15), %rsi
	movl	44(%r15), %edx
	movq	%rax, %rdi
	callq	_strxfrm
	movl	%eax, %ebx
	movl	%eax, 40(%r15)
	cmpl	44(%r15), %eax
	jge	LBB0_14
LBB0_15:
	movq	32(%r15), %r14
	movl	$4, %edi
	movl	%ebx, %esi
	callq	_Min
	leaq	-44(%rbp), %rdi
	movq	%r14, %rsi
LBB0_4:
	movl	%eax, %edx
	callq	_memcpy
	movq	_PG_CACHE_LINE_SIZE@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movl	%r13d, %edi
	callq	_Min
	movq	%r12, %rdi
	movl	%eax, %esi
	callq	_hash_any
	movl	%eax, %edi
	callq	_DatumGetUInt32
	movl	%eax, %ebx
	cmpl	(%r14), %r13d
	jle	LBB0_6
## %bb.5:
	movl	%r13d, %edi
	callq	_hash_uint32
	movl	%eax, %edi
	callq	_DatumGetUInt32
	xorl	%eax, %ebx
LBB0_6:
	leaq	52(%r15), %rdi
	movl	%ebx, %esi
	callq	_addHyperLogLog
	movl	-44(%rbp), %edi
	callq	_hash_uint32
	movl	%eax, %edi
	callq	_DatumGetUInt32
	leaq	48(%r15), %rdi
	movl	%eax, %esi
	callq	_addHyperLogLog
	movl	$1, 28(%r15)
	movl	-48(%rbp), %r14d                ## 4-byte Reload
LBB0_17:
	movl	-44(%rbp), %edi
	callq	_DatumBigEndianToNative
	movl	%eax, -44(%rbp)
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_PointerGetDatum
	cmpl	%r14d, %eax
	je	LBB0_19
## %bb.18:
	movq	%rbx, %rdi
	callq	_pfree
LBB0_19:
	movl	-44(%rbp), %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_16:
	movq	32(%r15), %rbx
	movl	40(%r15), %esi
	movl	$4, %edi
	callq	_Min
	leaq	-44(%rbp), %rdi
	movq	%rbx, %rsi
	movl	%eax, %edx
	callq	_memcpy
	jmp	LBB0_17
	.cfi_endproc
                                        ## -- End function
	.comm	_BPCHAROID,8,3                  ## @BPCHAROID
	.comm	_MaxAllocSize,4,2               ## @MaxAllocSize
	.comm	_PG_CACHE_LINE_SIZE,4,2         ## @PG_CACHE_LINE_SIZE
	.comm	_COLLPROVIDER_ICU,8,3           ## @COLLPROVIDER_ICU
	.comm	_COLLPROVIDER_LIBC,8,3          ## @COLLPROVIDER_LIBC
	.comm	_ERROR,4,2                      ## @ERROR
	.comm	_PG_UTF8,8,3                    ## @PG_UTF8
	.comm	_U_ZERO_ERROR,4,2               ## @U_ZERO_ERROR
	.no_dead_strip	_varstr_abbrev_convert
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function varstr_abbrev_convert
_varstr_abbrev_convert:                 ; @varstr_abbrev_convert
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.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
	mov	x19, x0
	ldr	x25, [x1]
	bl	_DatumGetVarStringPP
	mov	x20, x0
	bl	_VARDATA_ANY
	mov	x21, x0
	add	x0, sp, #12
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	mov	x0, x20
	bl	_VARSIZE_ANY_EXHDR
	mov	x22, x0
	ldr	x8, [x25]
Lloh0:
	adrp	x9, _BPCHAROID@GOTPAGE
Lloh1:
	ldr	x9, [x9, _BPCHAROID@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
	mov	x0, x21
	mov	x1, x22
	bl	_bpchartruelen
	mov	x22, x0
LBB0_2:
	ldr	x8, [x25, #64]
	cbz	x8, LBB0_4
; %bb.3:
	mov	x0, x22
	mov	w1, #4
	bl	_Min
	mov	x2, x0
	add	x0, sp, #12
	mov	x1, x21
	b	LBB0_13
LBB0_4:
	ldr	w8, [x25, #8]
	cmp	w22, w8
	b.lt	LBB0_6
; %bb.5:
	ldr	x0, [x25, #16]
	bl	_pfree
	add	w23, w22, #1
	ldr	w8, [x25, #8]
	lsl	w0, w8, #1
Lloh3:
	adrp	x8, _MaxAllocSize@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MaxAllocSize@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_Min
	mov	x1, x0
	mov	x0, x23
	bl	_Max
	str	w0, [x25, #8]
                                        ; kill: def $w0 killed $w0 killed $x0
	bl	_palloc
	str	x0, [x25, #16]
LBB0_6:
	ldr	w8, [x25, #24]
	cmp	w8, w22
	b.ne	LBB0_9
; %bb.7:
	ldr	w8, [x25, #28]
	cbz	w8, LBB0_9
; %bb.8:
	ldr	x0, [x25, #16]
	mov	x1, x21
	mov	x2, x22
	bl	_memcmp
	cbz	x0, LBB0_19
LBB0_9:
	ldr	x0, [x25, #16]
	mov	x1, x21
	mov	x2, x22
	bl	_memcpy
	ldr	x8, [x25, #16]
	strb	wzr, [x8, w22, sxtw]
	str	w22, [x25, #24]
	ldr	x0, [x25, #32]
	ldr	x1, [x25, #16]
	ldr	w2, [x25, #44]
	bl	_strxfrm
	mov	x23, x0
	str	w0, [x25, #40]
	ldr	w8, [x25, #44]
	cmp	w0, w8
	b.lt	LBB0_12
; %bb.10:
Lloh6:
	adrp	x24, _MaxAllocSize@GOTPAGE
Lloh7:
	ldr	x24, [x24, _MaxAllocSize@GOTPAGEOFF]
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x25, #32]
	bl	_pfree
	add	w23, w23, #1
	ldr	w8, [x25, #44]
	lsl	w0, w8, #1
	ldr	w1, [x24]
	bl	_Min
	mov	x1, x0
	mov	x0, x23
	bl	_Max
	str	w0, [x25, #44]
                                        ; kill: def $w0 killed $w0 killed $x0
	bl	_palloc
	str	x0, [x25, #32]
	ldr	x1, [x25, #16]
	ldr	w2, [x25, #44]
	bl	_strxfrm
	mov	x23, x0
	str	w0, [x25, #40]
	ldr	w8, [x25, #44]
	cmp	w0, w8
	b.ge	LBB0_11
LBB0_12:
	ldr	x24, [x25, #32]
	mov	w0, #4
	mov	x1, x23
	bl	_Min
	mov	x2, x0
	add	x0, sp, #12
	mov	x1, x24
LBB0_13:
	bl	_memcpy
Lloh8:
	adrp	x23, _PG_CACHE_LINE_SIZE@GOTPAGE
Lloh9:
	ldr	x23, [x23, _PG_CACHE_LINE_SIZE@GOTPAGEOFF]
	ldr	w1, [x23]
	mov	x0, x22
	bl	_Min
	mov	x1, x0
	mov	x0, x21
	bl	_hash_any
	bl	_DatumGetUInt32
	mov	x21, x0
	ldr	w8, [x23]
	cmp	w22, w8
	b.le	LBB0_15
; %bb.14:
	mov	x0, x22
	bl	_hash_uint32
	bl	_DatumGetUInt32
	eor	w21, w0, w21
LBB0_15:
	add	x0, x25, #52
	mov	x1, x21
	bl	_addHyperLogLog
	ldr	w0, [sp, #12]
	bl	_hash_uint32
	bl	_DatumGetUInt32
	mov	x1, x0
	add	x0, x25, #48
	bl	_addHyperLogLog
	mov	w8, #1
	str	w8, [x25, #28]
LBB0_16:
	ldr	w0, [sp, #12]
	bl	_DatumBigEndianToNative
	str	w0, [sp, #12]
	mov	x0, x20
	bl	_PointerGetDatum
	cmp	w0, w19
	b.eq	LBB0_18
; %bb.17:
	mov	x0, x20
	bl	_pfree
LBB0_18:
	ldr	w0, [sp, #12]
	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
	add	sp, sp, #96
	ret
LBB0_19:
	ldr	x21, [x25, #32]
	ldr	w1, [x25, #40]
	mov	w0, #4
	bl	_Min
	mov	x2, x0
	add	x0, sp, #12
	mov	x1, x21
	bl	_memcpy
	b	LBB0_16
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_BPCHAROID,8,3                  ; @BPCHAROID
	.comm	_MaxAllocSize,4,2               ; @MaxAllocSize
	.comm	_PG_CACHE_LINE_SIZE,4,2         ; @PG_CACHE_LINE_SIZE
	.comm	_COLLPROVIDER_ICU,8,3           ; @COLLPROVIDER_ICU
	.comm	_COLLPROVIDER_LIBC,8,3          ; @COLLPROVIDER_LIBC
	.comm	_ERROR,4,2                      ; @ERROR
	.comm	_PG_UTF8,8,3                    ; @PG_UTF8
	.comm	_U_ZERO_ERROR,4,2               ; @U_ZERO_ERROR
	.no_dead_strip	_varstr_abbrev_convert
.subsections_via_symbols
