	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function JsValueToJsObject
_JsValueToJsObject:                     ## @JsValueToJsObject
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	24(%rdi), %rax
	movq	%rax, 8(%rsi)
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	movl	16(%rdi), %r14d
	movq	8(%rdi), %rsi
	testq	%rsi, %rsi
	jns	LBB0_3
## %bb.2:
	movl	%r14d, %edi
	callq	_strlen
	movq	%rax, %rsi
LBB0_3:
	leaq	L_.str(%rip), %rdx
	movl	%r14d, %edi
	callq	_get_json_object_as_hash
	movl	%eax, 4(%rbx)
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movq	(%rdi), %r14
	movq	(%r14), %rax
	movq	_jbvBinary@GOTPCREL(%rip), %r15
	cmpq	(%r15), %rax
	jne	LBB0_8
## %bb.6:
	movl	8(%r14), %edi
	callq	_JsonContainerIsObject
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	movl	8(%r14), %eax
	movl	%eax, (%rbx)
	jmp	LBB0_4
LBB0_8:
	movq	%r14, %rdi
	callq	_IsAJsonbScalar
	testq	%rax, %rax
	je	LBB0_10
## %bb.9:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_ERRCODE_INVALID_PARAMETER_VALUE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
LBB0_14:
	leaq	L_.str.1(%rip), %rdi
	jmp	LBB0_15
LBB0_10:
	movq	(%r14), %rax
	cmpq	(%r15), %rax
	jne	LBB0_11
## %bb.13:
	movl	8(%r14), %edi
	callq	_JsonContainerIsScalar
	movq	%rax, %r14
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_ERRCODE_INVALID_PARAMETER_VALUE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	testq	%r14, %r14
	jne	LBB0_14
	jmp	LBB0_12
LBB0_11:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_ERRCODE_INVALID_PARAMETER_VALUE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
LBB0_12:
	leaq	L_.str.2(%rip), %rdi
LBB0_15:
	leaq	L_.str(%rip), %rsi
	callq	_errmsg
	movl	%ebx, %edi
	movl	%eax, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ereport                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"populate_composite"

	.comm	_jbvBinary,8,3                  ## @jbvBinary
	.comm	_ERROR,4,2                      ## @ERROR
	.comm	_ERRCODE_INVALID_PARAMETER_VALUE,4,2 ## @ERRCODE_INVALID_PARAMETER_VALUE
L_.str.1:                               ## @.str.1
	.asciz	"cannot call %s on a scalar"

L_.str.2:                               ## @.str.2
	.asciz	"cannot call %s on an array"

	.no_dead_strip	_JsValueToJsObject
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function JsValueToJsObject
_JsValueToJsObject:                     ; @JsValueToJsObject
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x1
	ldr	x8, [x0, #24]
	str	x8, [x1, #8]
	cbz	x8, LBB0_5
; %bb.1:
	ldr	w20, [x0, #16]
	ldr	x1, [x0, #8]
	tbz	x1, #63, LBB0_3
; %bb.2:
	mov	x0, x20
	bl	_strlen
	mov	x1, x0
LBB0_3:
Lloh0:
	adrp	x2, l_.str@PAGE
Lloh1:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x20
	bl	_get_json_object_as_hash
	str	w0, [x19, #4]
LBB0_4:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_5:
	ldr	x20, [x0]
	ldr	x8, [x20]
Lloh2:
	adrp	x21, _jbvBinary@GOTPAGE
Lloh3:
	ldr	x21, [x21, _jbvBinary@GOTPAGEOFF]
	ldr	x9, [x21]
	cmp	x8, x9
	b.ne	LBB0_8
; %bb.6:
	ldr	w0, [x20, #8]
	bl	_JsonContainerIsObject
	cbz	x0, LBB0_8
; %bb.7:
	ldr	w8, [x20, #8]
	str	w8, [x19]
	b	LBB0_4
LBB0_8:
	mov	x0, x20
	bl	_IsAJsonbScalar
	cbz	x0, LBB0_11
; %bb.9:
Lloh4:
	adrp	x8, _ERROR@GOTPAGE
Lloh5:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh6:
	ldr	w19, [x8]
Lloh7:
	adrp	x8, _ERRCODE_INVALID_PARAMETER_VALUE@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ERRCODE_INVALID_PARAMETER_VALUE@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
	bl	_errcode
LBB0_10:
Lloh10:
	adrp	x0, l_.str.1@PAGE
Lloh11:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_15
LBB0_11:
	ldr	x8, [x20]
	ldr	x9, [x21]
	cmp	x8, x9
	b.ne	LBB0_13
; %bb.12:
	ldr	w0, [x20, #8]
	bl	_JsonContainerIsScalar
	mov	x20, x0
Lloh12:
	adrp	x8, _ERROR@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh14:
	ldr	w19, [x8]
Lloh15:
	adrp	x8, _ERRCODE_INVALID_PARAMETER_VALUE@GOTPAGE
Lloh16:
	ldr	x8, [x8, _ERRCODE_INVALID_PARAMETER_VALUE@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
	bl	_errcode
	cbnz	x20, LBB0_10
	b	LBB0_14
LBB0_13:
Lloh18:
	adrp	x8, _ERROR@GOTPAGE
Lloh19:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh20:
	ldr	w19, [x8]
Lloh21:
	adrp	x8, _ERRCODE_INVALID_PARAMETER_VALUE@GOTPAGE
Lloh22:
	ldr	x8, [x8, _ERRCODE_INVALID_PARAMETER_VALUE@GOTPAGEOFF]
Lloh23:
	ldr	w0, [x8]
	bl	_errcode
LBB0_14:
Lloh24:
	adrp	x0, l_.str.2@PAGE
Lloh25:
	add	x0, x0, l_.str.2@PAGEOFF
LBB0_15:
Lloh26:
	adrp	x1, l_.str@PAGE
Lloh27:
	add	x1, x1, l_.str@PAGEOFF
	bl	_errmsg
	mov	x1, x0
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_ereport
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh26, Lloh27
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"populate_composite"

	.comm	_jbvBinary,8,3                  ; @jbvBinary
	.comm	_ERROR,4,2                      ; @ERROR
	.comm	_ERRCODE_INVALID_PARAMETER_VALUE,4,2 ; @ERRCODE_INVALID_PARAMETER_VALUE
l_.str.1:                               ; @.str.1
	.asciz	"cannot call %s on a scalar"

l_.str.2:                               ; @.str.2
	.asciz	"cannot call %s on an array"

	.no_dead_strip	_JsValueToJsObject
.subsections_via_symbols
