	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function hstoreArrayToPairs
LCPI0_0:
	.space	16
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_hstoreArrayToPairs
	.p2align	4, 0x90
_hstoreArrayToPairs:                    ## @hstoreArrayToPairs
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	_TEXTOID@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-44(%rbp), %rax
	leaq	-72(%rbp), %r10
	xorl	%r14d, %r14d
	leaq	-56(%rbp), %r9
	movl	$-1, %edx
	xorl	%ecx, %ecx
	movl	$105, %r8d
	pushq	%rax
	pushq	%r10
	callq	_deconstruct_array
	addq	$16, %rsp
	movslq	-44(%rbp), %rcx
	testq	%rcx, %rcx
	je	LBB0_1
## %bb.2:
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movq	_MaxAllocSize@GOTPCREL(%rip), %rbx
	movslq	(%rbx), %rax
	movabsq	$-6148914691236517205, %r12     ## imm = 0xAAAAAAAAAAAAAAAB
	mulq	%r12
	shrq	$5, %rdx
	cmpq	%rcx, %rdx
	jae	LBB0_4
## %bb.3:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	_ERRCODE_PROGRAM_LIMIT_EXCEEDED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	movl	-44(%rbp), %esi
	movslq	(%rbx), %rax
	mulq	%r12
	shrq	$5, %rdx
	leaq	L_.str(%rip), %rdi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_errmsg
	movl	%r15d, %edi
	movl	%eax, %esi
	callq	_ereport
	movl	-44(%rbp), %ecx
LBB0_4:
	shll	$4, %ecx
	leal	(%rcx,%rcx,2), %edi
	callq	_palloc
	movq	%rax, %r15
	movl	-44(%rbp), %eax
	testl	%eax, %eax
	jle	LBB0_5
## %bb.6:
	xorl	%ebx, %ebx
	movq	_VARHDRSZ@GOTPCREL(%rip), %r13
	xorl	%r12d, %r12d
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_7 Depth=1
	incq	%rbx
	movslq	%eax, %rcx
	cmpq	%rcx, %rbx
	jge	LBB0_10
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	-72(%rbp), %rcx
	cmpl	$0, (%rcx,%rbx,4)
	jne	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	movq	-56(%rbp), %rax
	movl	(%rax,%rbx,4), %edi
	callq	_VARDATA
	movslq	%r12d, %r12
	leaq	(%r12,%r12,2), %r14
	shlq	$4, %r14
	movl	%eax, 40(%r15,%r14)
	movq	-56(%rbp), %rax
	movl	(%rax,%rbx,4), %edi
	callq	_VARSIZE
	subq	(%r13), %rax
	movq	%rax, 32(%r15,%r14)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 8(%r15,%r14)
	movq	$0, 24(%r15,%r14)
	movl	$1, (%r15,%r14)
	incl	%r12d
	movl	-44(%rbp), %eax
	jmp	LBB0_9
LBB0_1:
	xorl	%r15d, %r15d
	jmp	LBB0_11
LBB0_5:
	xorl	%r12d, %r12d
LBB0_10:
	leaq	-76(%rbp), %rdx
	movq	%r15, %rdi
	movl	%r12d, %esi
	callq	_hstoreUniquePairs
	movl	%eax, %r14d
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
LBB0_11:
	movl	%r14d, (%rbx)
	movq	%r15, %rax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TEXTOID,4,2                    ## @TEXTOID
	.comm	_MaxAllocSize,4,2               ## @MaxAllocSize
	.comm	_ERROR,4,2                      ## @ERROR
	.comm	_ERRCODE_PROGRAM_LIMIT_EXCEEDED,4,2 ## @ERRCODE_PROGRAM_LIMIT_EXCEEDED
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"number of pairs (%d) exceeds the maximum allowed (%d)"

	.comm	_VARHDRSZ,8,3                   ## @VARHDRSZ
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hstoreArrayToPairs             ; -- Begin function hstoreArrayToPairs
	.p2align	2
_hstoreArrayToPairs:                    ; @hstoreArrayToPairs
	.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	x19, x1
Lloh0:
	adrp	x8, _TEXTOID@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TEXTOID@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	add	x5, sp, #24
	add	x6, sp, #16
	add	x7, sp, #12
	mov	w2, #-1
	mov	w3, #0
	mov	w4, #105
	bl	_deconstruct_array
	ldr	w8, [sp, #12]
	cbz	w8, LBB0_8
; %bb.1:
	sxtw	x9, w8
Lloh3:
	adrp	x21, _MaxAllocSize@GOTPAGE
Lloh4:
	ldr	x21, [x21, _MaxAllocSize@GOTPAGEOFF]
	ldrsw	x10, [x21]
	mov	x22, #-6148914691236517206
	movk	x22, #43691
	umulh	x10, x10, x22
	cmp	x9, x10, lsr #5
	b.ls	LBB0_3
; %bb.2:
Lloh5:
	adrp	x8, _ERROR@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh7:
	ldr	w20, [x8]
Lloh8:
	adrp	x8, _ERRCODE_PROGRAM_LIMIT_EXCEEDED@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ERRCODE_PROGRAM_LIMIT_EXCEEDED@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	bl	_errcode
	ldr	w1, [sp, #12]
	ldrsw	x8, [x21]
	umulh	x8, x8, x22
	lsr	x2, x8, #5
Lloh11:
	adrp	x0, l_.str@PAGE
Lloh12:
	add	x0, x0, l_.str@PAGEOFF
                                        ; kill: def $w2 killed $w2 killed $x2
	bl	_errmsg
	mov	x1, x0
	mov	x0, x20
	bl	_ereport
	ldr	w8, [sp, #12]
LBB0_3:
	add	w8, w8, w8, lsl #1
	lsl	w0, w8, #4
	bl	_palloc
	mov	x20, x0
	ldr	w8, [sp, #12]
	cmp	w8, #1
	b.lt	LBB0_9
; %bb.4:
	mov	x22, #0
	mov	w21, #0
	mov	w23, #48
Lloh13:
	adrp	x24, _VARHDRSZ@GOTPAGE
Lloh14:
	ldr	x24, [x24, _VARHDRSZ@GOTPAGEOFF]
	mov	w25, #1
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	x22, x22, #1
	cmp	x22, w8, sxtw
	b.ge	LBB0_10
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [sp, #16]
	ldr	w9, [x9, x22, lsl #2]
	cbnz	w9, LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [sp, #24]
	lsl	x26, x22, #2
	ldr	w0, [x8, x26]
	bl	_VARDATA
	smaddl	x27, w21, w23, x20
	str	w0, [x27, #40]
	ldr	x8, [sp, #24]
	ldr	w0, [x8, x26]
	bl	_VARSIZE
	ldr	x8, [x24]
	sub	x8, x0, x8
	stp	xzr, x8, [x27, #24]
	stp	xzr, xzr, [x27, #8]
	str	w25, [x27]
	add	w21, w21, #1
	ldr	w8, [sp, #12]
	b	LBB0_5
LBB0_8:
	mov	w0, #0
	mov	x20, #0
	b	LBB0_11
LBB0_9:
	mov	w21, #0
LBB0_10:
	add	x2, sp, #8
	mov	x0, x20
	mov	x1, x21
	bl	_hstoreUniquePairs
LBB0_11:
	str	w0, [x19]
	mov	x0, x20
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_TEXTOID,4,2                    ; @TEXTOID
	.comm	_MaxAllocSize,4,2               ; @MaxAllocSize
	.comm	_ERROR,4,2                      ; @ERROR
	.comm	_ERRCODE_PROGRAM_LIMIT_EXCEEDED,4,2 ; @ERRCODE_PROGRAM_LIMIT_EXCEEDED
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"number of pairs (%d) exceeds the maximum allowed (%d)"

	.comm	_VARHDRSZ,8,3                   ; @VARHDRSZ
.subsections_via_symbols
