	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function datum_to_json
_datum_to_json:                         ## @datum_to_json
	.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	%r9d, %r13d
	movl	%r8d, %r12d
	movl	%ecx, %ebx
	movl	%edx, -52(%rbp)                 ## 4-byte Spill
	movl	%esi, %r14d
	movl	%edi, %r15d
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	xorl	%eax, %eax
	callq	_check_stack_depth
	testl	%r13d, %r13d
	sete	%al
	testl	%r14d, %r14d
	sete	%cl
	orb	%al, %cl
	movzbl	%cl, %edi
	callq	_Assert
	testl	%r14d, %r14d
	je	LBB0_4
## %bb.1:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_38
## %bb.2:
	leaq	L_.str(%rip), %rsi
LBB0_3:
	movl	-52(%rbp), %edi                 ## 4-byte Reload
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_appendStringInfoString         ## TAILCALL
LBB0_4:
	testl	%r13d, %r13d
	je	LBB0_8
## %bb.5:
	leal	-128(%rbx), %eax
	cmpl	$8, %eax
	ja	LBB0_11
## %bb.6:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_7:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	_ERRCODE_INVALID_PARAMETER_VALUE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	leaq	L_.str.1(%rip), %rdi
	callq	_errmsg
	movl	%r14d, %edi
	movl	%eax, %esi
	callq	_ereport
LBB0_8:
	addl	$-128, %ebx
	cmpl	$8, %ebx
	ja	LBB0_11
## %bb.9:
	leaq	LJTI0_1(%rip), %rax
	movslq	(%rax,%rbx,4), %rcx
	addq	%rax, %rcx
	jmpq	*%rcx
LBB0_10:
	movq	%rsp, %r14
	movq	_MAXDATELEN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	incl	%eax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %rbx
	movq	_TIMESTAMPTZOID@GOTPCREL(%rip), %rax
	jmp	LBB0_14
LBB0_11:
	movl	%r12d, %edi
	movl	%r15d, %esi
	callq	_OidOutputFunctionCall
	movq	%rax, %rbx
	movl	-52(%rbp), %edi                 ## 4-byte Reload
	movq	%rax, %rsi
	jmp	LBB0_20
LBB0_12:
	movq	%rsp, %r14
	movq	_MAXDATELEN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	incl	%eax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %rbx
	movq	_TIMESTAMPOID@GOTPCREL(%rip), %rax
	jmp	LBB0_14
LBB0_13:
	movq	%rsp, %r14
	movq	_MAXDATELEN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	incl	%eax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %rbx
	movq	_DATEOID@GOTPCREL(%rip), %rax
LBB0_14:
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movl	%r15d, %esi
	xorl	%ecx, %ecx
	callq	_JsonEncodeDateTime
	leaq	L_.str.4(%rip), %rsi
	movl	-52(%rbp), %edi                 ## 4-byte Reload
	movq	%rbx, %rdx
	callq	_appendStringInfo
	movq	%r14, %rsp
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_38
## %bb.15:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_16:
	movl	%r12d, %edi
	movl	%r15d, %esi
	callq	_OidOutputFunctionCall
	movq	%rax, %rbx
	jmp	LBB0_19
LBB0_17:
	movl	%r15d, %edi
	callq	_DatumGetBool
	testl	%eax, %eax
	leaq	L_.str.3(%rip), %rax
	leaq	L_.str.2(%rip), %rsi
	cmoveq	%rax, %rsi
	jmp	LBB0_31
LBB0_18:
	movl	%r12d, %edi
	movl	%r15d, %esi
	callq	_OidOutputFunctionCall
	movq	%rax, %rbx
	testl	%r13d, %r13d
	je	LBB0_35
LBB0_19:
	movl	-52(%rbp), %edi                 ## 4-byte Reload
	movq	%rbx, %rsi
LBB0_20:
	callq	_escape_json
	jmp	LBB0_23
LBB0_21:
	movl	%r12d, %edi
	movl	%r15d, %esi
	callq	_OidOutputFunctionCall
	movq	%rax, %rbx
	movl	-52(%rbp), %edi                 ## 4-byte Reload
	movq	%rax, %rsi
LBB0_22:
	callq	_appendStringInfoString
LBB0_23:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_38
## %bb.24:
	movq	%rbx, %rdi
LBB0_25:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_pfree                          ## TAILCALL
LBB0_26:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_38
## %bb.27:
	movl	%r15d, %edi
	movl	-52(%rbp), %esi                 ## 4-byte Reload
	xorl	%edx, %edx
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_composite_to_json              ## TAILCALL
LBB0_28:
	movl	%r12d, %edi
	movl	%r15d, %esi
	callq	_OidFunctionCall1
	movl	%eax, %edi
	callq	_DatumGetTextPP
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_text_to_cstring
	movq	%rax, %rbx
	movl	-52(%rbp), %edi                 ## 4-byte Reload
	movq	%rax, %rsi
	callq	_appendStringInfoString
	movq	%rbx, %rdi
	callq	_pfree
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_38
## %bb.29:
	movq	%r14, %rdi
	jmp	LBB0_25
LBB0_30:
	movl	%r15d, %edi
	callq	_DatumGetBool
	testl	%eax, %eax
	leaq	L_.str.3(%rip), %rax
	leaq	L_.str.2(%rip), %rsi
	cmoveq	%rax, %rsi
	testl	%r13d, %r13d
	je	LBB0_37
LBB0_31:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_38
## %bb.32:
	movl	-52(%rbp), %edi                 ## 4-byte Reload
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_escape_json                    ## TAILCALL
LBB0_33:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_38
## %bb.34:
	movl	%r15d, %edi
	movl	-52(%rbp), %esi                 ## 4-byte Reload
	xorl	%edx, %edx
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_array_to_json_internal         ## TAILCALL
LBB0_35:
	movq	%rbx, %rdi
	callq	_strlen
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_IsValidJsonNumber
	testl	%eax, %eax
	je	LBB0_19
## %bb.36:
	movl	-52(%rbp), %edi                 ## 4-byte Reload
	movq	%rbx, %rsi
	jmp	LBB0_22
LBB0_37:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	je	LBB0_3
LBB0_38:
	callq	___stack_chk_fail
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_16, LBB0_16-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_17, LBB0_17-LJTI0_0
LJTI0_0:
	.long	L0_0_set_10
	.long	L0_0_set_12
	.long	L0_0_set_16
	.long	L0_0_set_7
	.long	L0_0_set_13
	.long	L0_0_set_7
	.long	L0_0_set_7
	.long	L0_0_set_17
	.long	L0_0_set_7
.set L0_1_set_10, LBB0_10-LJTI0_1
.set L0_1_set_12, LBB0_12-LJTI0_1
.set L0_1_set_18, LBB0_18-LJTI0_1
.set L0_1_set_21, LBB0_21-LJTI0_1
.set L0_1_set_13, LBB0_13-LJTI0_1
.set L0_1_set_26, LBB0_26-LJTI0_1
.set L0_1_set_28, LBB0_28-LJTI0_1
.set L0_1_set_30, LBB0_30-LJTI0_1
.set L0_1_set_33, LBB0_33-LJTI0_1
LJTI0_1:
	.long	L0_1_set_10
	.long	L0_1_set_12
	.long	L0_1_set_18
	.long	L0_1_set_21
	.long	L0_1_set_13
	.long	L0_1_set_26
	.long	L0_1_set_28
	.long	L0_1_set_30
	.long	L0_1_set_33
	.end_data_region
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"null"

	.comm	_ERROR,4,2                      ## @ERROR
	.comm	_ERRCODE_INVALID_PARAMETER_VALUE,4,2 ## @ERRCODE_INVALID_PARAMETER_VALUE
L_.str.1:                               ## @.str.1
	.asciz	"key value must be scalar, not array, composite, or json"

L_.str.2:                               ## @.str.2
	.asciz	"true"

L_.str.3:                               ## @.str.3
	.asciz	"false"

	.comm	_MAXDATELEN,4,2                 ## @MAXDATELEN
	.comm	_DATEOID,4,2                    ## @DATEOID
L_.str.4:                               ## @.str.4
	.asciz	"\"%s\""

	.comm	_TIMESTAMPOID,4,2               ## @TIMESTAMPOID
	.comm	_TIMESTAMPTZOID,4,2             ## @TIMESTAMPTZOID
	.no_dead_strip	_datum_to_json
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function datum_to_json
_datum_to_json:                         ; @datum_to_json
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	sub	sp, sp, #16
	mov	x21, x5
	mov	x22, x4
	mov	x23, x3
	mov	x19, x2
	mov	x24, x1
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
	bl	_check_stack_depth
	cmp	w24, #0
	ccmp	w21, #0, #4, ne
	cset	w0, eq
	bl	_Assert
	cbz	w24, LBB0_4
; %bb.1:
	ldur	x8, [x29, #-56]
Lloh3:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh4:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_33
; %bb.2:
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
LBB0_3:
	mov	x0, x19
	sub	sp, x29, #48
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_appendStringInfoString
LBB0_4:
	cbz	w21, LBB0_8
; %bb.5:
	sub	w8, w23, #128
	cmp	w8, #8
	b.hi	LBB0_11
; %bb.6:
Lloh8:
	adrp	x9, lJTI0_0@PAGE
Lloh9:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_7
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_7:
Lloh10:
	adrp	x8, _ERROR@GOTPAGE
Lloh11:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh12:
	ldr	w24, [x8]
Lloh13:
	adrp	x8, _ERRCODE_INVALID_PARAMETER_VALUE@GOTPAGE
Lloh14:
	ldr	x8, [x8, _ERRCODE_INVALID_PARAMETER_VALUE@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
	bl	_errcode
Lloh16:
	adrp	x0, l_.str.1@PAGE
Lloh17:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_errmsg
	mov	x1, x0
	mov	x0, x24
	bl	_ereport
LBB0_8:
	sub	w8, w23, #128
	cmp	w8, #8
	b.hi	LBB0_11
; %bb.9:
Lloh18:
	adrp	x9, lJTI0_1@PAGE
Lloh19:
	add	x9, x9, lJTI0_1@PAGEOFF
	adr	x10, LBB0_10
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_10:
	mov	x22, sp
Lloh20:
	adrp	x8, _MAXDATELEN@GOTPAGE
Lloh21:
	ldr	x8, [x8, _MAXDATELEN@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
	add	w8, w8, #1
	mov	x9, x8
Lloh23:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh24:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x1fffffff0
	sub	x21, x9, x8
	mov	sp, x21
Lloh25:
	adrp	x8, _TIMESTAMPTZOID@GOTPAGE
Lloh26:
	ldr	x8, [x8, _TIMESTAMPTZOID@GOTPAGEOFF]
	b	LBB0_15
LBB0_11:
	mov	x0, x22
	mov	x1, x20
	bl	_OidOutputFunctionCall
	mov	x20, x0
LBB0_12:
	mov	x0, x19
	mov	x1, x20
	bl	_escape_json
	b	LBB0_25
LBB0_13:
	mov	x22, sp
Lloh27:
	adrp	x8, _MAXDATELEN@GOTPAGE
Lloh28:
	ldr	x8, [x8, _MAXDATELEN@GOTPAGEOFF]
Lloh29:
	ldr	w8, [x8]
	add	w8, w8, #1
	mov	x9, x8
Lloh30:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh31:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x1fffffff0
	sub	x21, x9, x8
	mov	sp, x21
Lloh32:
	adrp	x8, _TIMESTAMPOID@GOTPAGE
Lloh33:
	ldr	x8, [x8, _TIMESTAMPOID@GOTPAGEOFF]
	b	LBB0_15
LBB0_14:
	mov	x22, sp
Lloh34:
	adrp	x8, _MAXDATELEN@GOTPAGE
Lloh35:
	ldr	x8, [x8, _MAXDATELEN@GOTPAGEOFF]
Lloh36:
	ldr	w8, [x8]
	add	w8, w8, #1
	mov	x9, x8
Lloh37:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh38:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x1fffffff0
	sub	x21, x9, x8
	mov	sp, x21
Lloh39:
	adrp	x8, _DATEOID@GOTPAGE
Lloh40:
	ldr	x8, [x8, _DATEOID@GOTPAGEOFF]
LBB0_15:
	ldr	w2, [x8]
	mov	x0, x21
	mov	x1, x20
	mov	x3, #0
	bl	_JsonEncodeDateTime
Lloh41:
	adrp	x1, l_.str.4@PAGE
Lloh42:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x19
	mov	x2, x21
	bl	_appendStringInfo
	mov	sp, x22
	ldur	x8, [x29, #-56]
Lloh43:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh44:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh45:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_33
; %bb.16:
	sub	sp, x29, #48
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_17:
	mov	x0, x20
	bl	_DatumGetBool
Lloh46:
	adrp	x8, l_.str.2@PAGE
Lloh47:
	add	x8, x8, l_.str.2@PAGEOFF
Lloh48:
	adrp	x9, l_.str.3@PAGE
Lloh49:
	add	x9, x9, l_.str.3@PAGEOFF
	cmp	w0, #0
	csel	x1, x9, x8, eq
	b	LBB0_28
LBB0_18:
	mov	x0, x22
	mov	x1, x20
	bl	_OidOutputFunctionCall
	mov	x20, x0
	cbnz	w21, LBB0_12
; %bb.19:
	mov	x0, x20
	bl	_strlen
	mov	x1, x0
	mov	x0, x20
	bl	_IsValidJsonNumber
	cbnz	w0, LBB0_21
	b	LBB0_12
LBB0_20:
	mov	x0, x22
	mov	x1, x20
	bl	_OidOutputFunctionCall
	mov	x20, x0
LBB0_21:
	mov	x0, x19
	mov	x1, x20
	bl	_appendStringInfoString
	b	LBB0_25
LBB0_22:
	ldur	x8, [x29, #-56]
Lloh50:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh51:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh52:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_33
; %bb.23:
	mov	x0, x20
	mov	x1, x19
	mov	w2, #0
	sub	sp, x29, #48
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_composite_to_json
LBB0_24:
	mov	x0, x22
	mov	x1, x20
	bl	_OidFunctionCall1
	bl	_DatumGetTextPP
	mov	x20, x0
	bl	_text_to_cstring
	mov	x21, x0
	mov	x0, x19
	mov	x1, x21
	bl	_appendStringInfoString
	mov	x0, x21
	bl	_pfree
LBB0_25:
	ldur	x8, [x29, #-56]
Lloh53:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh54:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh55:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_33
; %bb.26:
	mov	x0, x20
	sub	sp, x29, #48
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_pfree
LBB0_27:
	mov	x0, x20
	bl	_DatumGetBool
Lloh56:
	adrp	x8, l_.str.2@PAGE
Lloh57:
	add	x8, x8, l_.str.2@PAGEOFF
Lloh58:
	adrp	x9, l_.str.3@PAGE
Lloh59:
	add	x9, x9, l_.str.3@PAGEOFF
	cmp	w0, #0
	csel	x1, x9, x8, eq
	cbz	w21, LBB0_32
LBB0_28:
	ldur	x8, [x29, #-56]
Lloh60:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh61:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh62:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_33
; %bb.29:
	mov	x0, x19
	sub	sp, x29, #48
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_escape_json
LBB0_30:
	ldur	x8, [x29, #-56]
Lloh63:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh64:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh65:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_33
; %bb.31:
	mov	x0, x20
	mov	x1, x19
	mov	w2, #0
	sub	sp, x29, #48
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_array_to_json_internal
LBB0_32:
	ldur	x8, [x29, #-56]
Lloh66:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh67:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh68:
	ldr	x9, [x9]
	cmp	x9, x8
	b.eq	LBB0_3
LBB0_33:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh39, Lloh40
	.loh AdrpLdrGot	Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpAdd	Lloh41, Lloh42
	.loh AdrpAdd	Lloh48, Lloh49
	.loh AdrpAdd	Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpAdd	Lloh58, Lloh59
	.loh AdrpAdd	Lloh56, Lloh57
	.loh AdrpLdrGotLdr	Lloh60, Lloh61, Lloh62
	.loh AdrpLdrGotLdr	Lloh63, Lloh64, Lloh65
	.loh AdrpLdrGotLdr	Lloh66, Lloh67, Lloh68
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_10-LBB0_7)>>2
	.byte	(LBB0_13-LBB0_7)>>2
	.byte	(LBB0_11-LBB0_7)>>2
	.byte	(LBB0_7-LBB0_7)>>2
	.byte	(LBB0_14-LBB0_7)>>2
	.byte	(LBB0_7-LBB0_7)>>2
	.byte	(LBB0_7-LBB0_7)>>2
	.byte	(LBB0_17-LBB0_7)>>2
	.byte	(LBB0_7-LBB0_7)>>2
lJTI0_1:
	.byte	(LBB0_10-LBB0_10)>>2
	.byte	(LBB0_13-LBB0_10)>>2
	.byte	(LBB0_18-LBB0_10)>>2
	.byte	(LBB0_20-LBB0_10)>>2
	.byte	(LBB0_14-LBB0_10)>>2
	.byte	(LBB0_22-LBB0_10)>>2
	.byte	(LBB0_24-LBB0_10)>>2
	.byte	(LBB0_27-LBB0_10)>>2
	.byte	(LBB0_30-LBB0_10)>>2
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"null"

	.comm	_ERROR,4,2                      ; @ERROR
	.comm	_ERRCODE_INVALID_PARAMETER_VALUE,4,2 ; @ERRCODE_INVALID_PARAMETER_VALUE
l_.str.1:                               ; @.str.1
	.asciz	"key value must be scalar, not array, composite, or json"

l_.str.2:                               ; @.str.2
	.asciz	"true"

l_.str.3:                               ; @.str.3
	.asciz	"false"

	.comm	_MAXDATELEN,4,2                 ; @MAXDATELEN
	.comm	_DATEOID,4,2                    ; @DATEOID
l_.str.4:                               ; @.str.4
	.asciz	"\"%s\""

	.comm	_TIMESTAMPOID,4,2               ; @TIMESTAMPOID
	.comm	_TIMESTAMPTZOID,4,2             ; @TIMESTAMPTZOID
	.no_dead_strip	_datum_to_json
.subsections_via_symbols
