	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function uniqueifyJsonbObject
_uniqueifyJsonbObject:                  ## @uniqueifyJsonbObject
	.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, %r12
	movl	$0, -44(%rbp)
	movq	(%rdi), %rax
	movq	_jbvObject@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	sete	%dil
	callq	_Assert
	movl	8(%r12), %esi
	cmpl	$2, %esi
	jl	LBB0_11
## %bb.1:
	movq	16(%r12), %rdi
	movq	_lengthCompareJsonbPair@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	-44(%rbp), %r8
	movl	$4, %edx
	callq	_qsort_arg
	cmpl	$0, -44(%rbp)
	je	LBB0_11
## %bb.2:
	movq	16(%r12), %r15
	cmpl	$2, 8(%r12)
	jl	LBB0_3
## %bb.4:
	leaq	8(%r15), %r13
	movq	%r15, %rbx
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_5 Depth=1
	movq	%rbx, %r14
LBB0_9:                                 ##   in Loop: Header=BB0_5 Depth=1
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	movq	16(%r12), %rax
	movq	%r13, %rcx
	subq	%rax, %rcx
	sarq	$2, %rcx
	movslq	8(%r12), %rdx
	addq	$4, %r13
	movq	%r14, %rbx
	cmpq	%rdx, %rcx
	jge	LBB0_10
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %r12
	addq	$4, %r15
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_lengthCompareJsonbStringValue
	testq	%rax, %rax
	je	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	leaq	4(%rbx), %r14
	cmpq	%rbx, %r12
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	%r14, %rdi
	movq	%r15, %rsi
	movl	$4, %edx
	callq	_memcpy
	jmp	LBB0_9
LBB0_3:
	movq	%r15, %rax
	movq	%r15, %r14
LBB0_10:
	subq	%rax, %r14
	addq	$4, %r14
	shrq	$2, %r14
	movl	%r14d, 8(%r12)
LBB0_11:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_jbvObject,8,3                  ## @jbvObject
	.comm	_lengthCompareJsonbPair,4,2     ## @lengthCompareJsonbPair
	.no_dead_strip	_uniqueifyJsonbObject
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function uniqueifyJsonbObject
_uniqueifyJsonbObject:                  ; @uniqueifyJsonbObject
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.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
	mov	x19, x0
	str	wzr, [sp, #12]
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _jbvObject@GOTPAGE
Lloh1:
	ldr	x9, [x9, _jbvObject@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, eq
	bl	_Assert
	ldr	w1, [x19, #8]
	cmp	w1, #2
	b.lt	LBB0_12
; %bb.1:
	ldr	x0, [x19, #16]
Lloh3:
	adrp	x8, _lengthCompareJsonbPair@GOTPAGE
Lloh4:
	ldr	x8, [x8, _lengthCompareJsonbPair@GOTPAGEOFF]
Lloh5:
	ldr	w3, [x8]
	add	x4, sp, #12
	mov	w2, #4
	bl	_qsort_arg
	ldr	w8, [sp, #12]
	cbz	w8, LBB0_12
; %bb.2:
	ldr	x24, [x19, #16]
	ldr	w8, [x19, #8]
	cmp	w8, #2
	b.lt	LBB0_9
; %bb.3:
	add	x23, x24, #8
	mov	x20, x24
	b	LBB0_6
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	mov	x20, x22
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x19, #16]
	sub	x9, x23, x8
	ldrsw	x10, [x19, #8]
	add	x23, x23, #4
	cmp	x10, x9, asr #2
	mov	x24, x21
	b.le	LBB0_10
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	add	x21, x24, #4
	mov	x0, x21
	mov	x1, x20
	bl	_lengthCompareJsonbStringValue
	cbz	x0, LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	add	x22, x20, #4
	cmp	x24, x20
	b.eq	LBB0_4
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x22
	mov	x1, x21
	mov	w2, #4
	bl	_memcpy
	b	LBB0_4
LBB0_9:
	mov	x20, x24
	b	LBB0_11
LBB0_10:
	mov	x24, x8
LBB0_11:
	sub	x8, x20, x24
	add	x8, x8, #4
	lsr	x8, x8, #2
	str	w8, [x19, #8]
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
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_jbvObject,8,3                  ; @jbvObject
	.comm	_lengthCompareJsonbPair,4,2     ; @lengthCompareJsonbPair
	.no_dead_strip	_uniqueifyJsonbObject
.subsections_via_symbols
