	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hstoreValidNewFormat
_hstoreValidNewFormat:                  ## @hstoreValidNewFormat
	.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	%rdi, %r14
	callq	_HS_COUNT
	movl	%eax, %ebx
	movq	%r14, %rdi
	callq	_ARRPTR
	movq	%rax, %r13
	testl	%ebx, %ebx
	je	LBB0_2
## %bb.1:
	leal	(%rbx,%rbx), %eax
	cltq
	movl	-4(%r13,%rax,4), %edi
	callq	_HSE_ENDPOS
	movl	%eax, %esi
	jmp	LBB0_3
LBB0_2:
	xorl	%esi, %esi
LBB0_3:
	movl	%ebx, %edi
	callq	_CALCDATASIZE
	movq	_HS_FLAG_NEWVERSION@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	$2, %r15d
	testl	%ecx, (%r14)
	jne	LBB0_20
## %bb.4:
	testl	%ebx, %ebx
	je	LBB0_20
## %bb.5:
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	(%r13), %edi
	callq	_HSE_ISFIRST
	xorl	%r15d, %r15d
	testq	%rax, %rax
	je	LBB0_20
## %bb.6:
	movq	%r14, %rdi
	callq	_VARSIZE
	cmpl	%eax, -44(%rbp)                 ## 4-byte Folded Reload
	jg	LBB0_20
## %bb.7:
	testl	%ebx, %ebx
	jle	LBB0_17
## %bb.8:
	leal	(%rbx,%rbx), %eax
	cmpl	$3, %eax
	movl	$2, %ecx
	cmovgel	%eax, %ecx
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movl	$1, %r15d
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r13,%r15,4), %edi
	callq	_HSE_ISFIRST
	testq	%rax, %rax
	jne	LBB0_19
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=1
	movl	(%r13,%r15,4), %edi
	callq	_HSE_ENDPOS
	movl	%eax, %r12d
	movl	-4(%r13,%r15,4), %edi
	callq	_HSE_ENDPOS
	cmpl	%eax, %r12d
	jl	LBB0_19
## %bb.11:                              ##   in Loop: Header=BB0_9 Depth=1
	incq	%r15
	cmpq	%r15, -56(%rbp)                 ## 8-byte Folded Reload
	jne	LBB0_9
## %bb.12:
	cmpl	$2, %ebx
	jl	LBB0_17
## %bb.13:
	movl	%ebx, %eax
	decq	%rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	xorl	%r15d, %r15d
	xorl	%ebx, %ebx
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	leal	1(%rbx), %esi
	movq	%r13, %rdi
	callq	_HSTORE_KEYLEN
	movq	%rax, %r12
	movq	%r13, %rdi
	movl	%ebx, %esi
	callq	_HSTORE_KEYLEN
	cmpq	%rax, %r12
	jl	LBB0_20
## %bb.15:                              ##   in Loop: Header=BB0_14 Depth=1
	movl	8(%r13,%rbx,8), %edi
	callq	_HSE_ISNULL
	testq	%rax, %rax
	jne	LBB0_20
## %bb.16:                              ##   in Loop: Header=BB0_14 Depth=1
	incq	%rbx
	cmpq	%rbx, -56(%rbp)                 ## 8-byte Folded Reload
	jne	LBB0_14
LBB0_17:
	movq	%r14, %rdi
	callq	_VARSIZE
	xorl	%r15d, %r15d
	cmpl	%eax, -44(%rbp)                 ## 4-byte Folded Reload
	sete	%r15b
	incl	%r15d
	jmp	LBB0_20
LBB0_19:
	xorl	%r15d, %r15d
LBB0_20:
	movl	%r15d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HS_FLAG_NEWVERSION,4,2         ## @HS_FLAG_NEWVERSION
	.no_dead_strip	_hstoreValidNewFormat
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hstoreValidNewFormat
_hstoreValidNewFormat:                  ; @hstoreValidNewFormat
	.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	x19, x0
	bl	_HS_COUNT
	mov	x22, x0
	mov	x0, x19
	bl	_ARRPTR
	mov	x20, x0
	cbz	w22, LBB0_2
; %bb.1:
	lsl	w8, w22, #1
	sub	w8, w8, #1
	ldr	w0, [x20, w8, sxtw #2]
	bl	_HSE_ENDPOS
	mov	x1, x0
	b	LBB0_3
LBB0_2:
	mov	w1, #0
LBB0_3:
	mov	x0, x22
	bl	_CALCDATASIZE
	ldr	w8, [x19]
Lloh0:
	adrp	x9, _HS_FLAG_NEWVERSION@GOTPAGE
Lloh1:
	ldr	x9, [x9, _HS_FLAG_NEWVERSION@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	and	w8, w9, w8
	cmp	w8, #0
	ccmp	w22, #0, #4, eq
	b.ne	LBB0_5
; %bb.4:
	mov	w0, #2
	b	LBB0_19
LBB0_5:
	mov	x21, x0
	ldr	w0, [x20]
	bl	_HSE_ISFIRST
	cbz	x0, LBB0_19
; %bb.6:
	mov	x0, x19
	bl	_VARSIZE
	cmp	w21, w0
	b.le	LBB0_8
LBB0_7:
	mov	w0, #0
	b	LBB0_19
LBB0_8:
	cmp	w22, #1
	b.lt	LBB0_18
; %bb.9:
	mov	x24, #0
	lsl	w8, w22, #1
	mov	w9, #2
	cmp	w8, #2
	csel	w8, w8, w9, gt
	lsl	x8, x8, #2
	sub	x25, x8, #4
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	add	x23, x20, x24
	ldr	w0, [x23, #4]
	bl	_HSE_ISFIRST
	cbnz	x0, LBB0_7
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	ldr	w0, [x23, #4]
	bl	_HSE_ENDPOS
	mov	x23, x0
	ldr	w0, [x20, x24]
	bl	_HSE_ENDPOS
	cmp	w23, w0
	b.lt	LBB0_7
; %bb.12:                               ;   in Loop: Header=BB0_10 Depth=1
	add	x24, x24, #4
	cmp	x25, x24
	b.ne	LBB0_10
; %bb.13:
	cmp	w22, #2
	b.lt	LBB0_18
; %bb.14:
	mov	w23, #0
	mov	w8, w22
	lsl	x24, x8, #3
	mov	w25, #8
LBB0_15:                                ; =>This Inner Loop Header: Depth=1
	add	w1, w23, #1
	mov	x0, x20
	bl	_HSTORE_KEYLEN
	mov	x22, x0
	mov	x0, x20
	mov	x1, x23
	bl	_HSTORE_KEYLEN
	cmp	x22, x0
	b.lt	LBB0_7
; %bb.16:                               ;   in Loop: Header=BB0_15 Depth=1
	ldr	w0, [x20, x25]
	bl	_HSE_ISNULL
	cbnz	x0, LBB0_7
; %bb.17:                               ;   in Loop: Header=BB0_15 Depth=1
	add	w23, w23, #1
	add	x25, x25, #8
	cmp	x24, x25
	b.ne	LBB0_15
LBB0_18:
	mov	x0, x19
	bl	_VARSIZE
	cmp	w21, w0
	mov	w8, #1
	cinc	w0, w8, eq
LBB0_19:
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_HS_FLAG_NEWVERSION,4,2         ; @HS_FLAG_NEWVERSION
	.no_dead_strip	_hstoreValidNewFormat
.subsections_via_symbols
