	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_map_sql_value_to_xml_value     ## -- Begin function map_sql_value_to_xml_value
	.p2align	4, 0x90
_map_sql_value_to_xml_value:            ## @map_sql_value_to_xml_value
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r14d
	movl	%esi, %ebx
	movl	%edi, %r12d
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movl	%esi, %edi
	callq	_type_is_array_domain
	testq	%rax, %rax
	je	LBB0_7
## %bb.1:
	movl	%r12d, %edi
	callq	_DatumGetArrayTypeP
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_ARR_ELEMTYPE
	movl	%eax, %r15d
	leaq	-84(%rbp), %rsi
	leaq	-100(%rbp), %rdx
	leaq	-49(%rbp), %rcx
	movl	%eax, %edi
	callq	_get_typlenbyvalalign
	movl	-84(%rbp), %edx
	movl	-100(%rbp), %ecx
	movsbl	-49(%rbp), %r8d
	leaq	-88(%rbp), %rax
	leaq	-64(%rbp), %r10
	leaq	-80(%rbp), %r9
	movq	%rbx, %rdi
	movl	%r15d, %esi
	pushq	%rax
	pushq	%r10
	callq	_deconstruct_array
	addq	$16, %rsp
	leaq	-96(%rbp), %rdi
	callq	_initStringInfo
	movl	-88(%rbp), %eax
	testl	%eax, %eax
	jle	LBB0_6
## %bb.2:
	xorl	%ebx, %ebx
	leaq	L_.str(%rip), %r14
	leaq	-96(%rbp), %r13
	leaq	L_.str.1(%rip), %r12
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	incq	%rbx
	movslq	%eax, %rcx
	cmpq	%rcx, %rbx
	jge	LBB0_6
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	-64(%rbp), %rcx
	cmpl	$0, (%rcx,%rbx,4)
	jne	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%r13, %rdi
	movq	%r14, %rsi
	callq	_appendStringInfoString
	movq	-80(%rbp), %rax
	movl	(%rax,%rbx,4), %edi
	movl	%r15d, %esi
	movl	$1, %edx
	callq	_map_sql_value_to_xml_value
	movq	%r13, %rdi
	movq	%rax, %rsi
	callq	_appendStringInfoString
	movq	%r13, %rdi
	movq	%r12, %rsi
	callq	_appendStringInfoString
	movl	-88(%rbp), %eax
	jmp	LBB0_5
LBB0_6:
	movq	-80(%rbp), %rdi
	callq	_pfree
	movq	-64(%rbp), %rdi
	callq	_pfree
	movq	-96(%rbp), %rax
LBB0_27:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_29
## %bb.28:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movl	%ebx, %edi
	callq	_getBaseType
	movl	%eax, %r15d
	leal	-128(%r15), %eax
	cmpl	$4, %eax
	ja	LBB0_24
## %bb.8:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_21:
	movq	%rsp, %r15
	movq	$0, -64(%rbp)
	movq	_MAXDATELEN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	incl	%eax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r14
	movl	%r12d, %edi
	callq	_DatumGetTimestamp
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_TIMESTAMP_NOT_FINITE
	testl	%eax, %eax
	jne	LBB0_14
## %bb.22:
	leaq	-96(%rbp), %rsi
	leaq	-80(%rbp), %rdx
	leaq	-84(%rbp), %rcx
	leaq	-64(%rbp), %r8
	movl	%ebx, %edi
	xorl	%r9d, %r9d
	callq	_timestamp2tm
	testl	%eax, %eax
	jne	LBB0_18
## %bb.23:
	movl	-84(%rbp), %esi
	movl	-96(%rbp), %ecx
	movq	-64(%rbp), %r8
	movq	_USE_XSD_DATES@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	subq	$8, %rsp
	leaq	-80(%rbp), %rdi
	movl	$1, %edx
	jmp	LBB0_17
LBB0_13:
	movq	%rsp, %r15
	movq	_MAXDATELEN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	incl	%eax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r14
	movl	%r12d, %edi
	callq	_DatumGetTimestamp
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_TIMESTAMP_NOT_FINITE
	testl	%eax, %eax
	je	LBB0_15
LBB0_14:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_ERRCODE_DATETIME_VALUE_OUT_OF_RANGE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	leaq	L_.str.6(%rip), %rdi
	callq	_errmsg
	leaq	L_.str.7(%rip), %rdi
	callq	_errdetail
	jmp	LBB0_19
LBB0_10:
	movq	%rsp, %r13
	movq	_MAXDATELEN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	incl	%eax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r14
	movl	%r12d, %edi
	callq	_DatumGetDateADT
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_DATE_NOT_FINITE
	testl	%eax, %eax
	je	LBB0_12
## %bb.11:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	_ERRCODE_DATETIME_VALUE_OUT_OF_RANGE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	leaq	L_.str.4(%rip), %rdi
	callq	_errmsg
	leaq	L_.str.5(%rip), %rdi
	callq	_errdetail
	movl	%r15d, %edi
	movl	%eax, %esi
	callq	_ereport
LBB0_12:
	movq	_POSTGRES_EPOCH_JDATE@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	%rbx, %rdi
	leaq	-72(%rbp), %rsi
	leaq	-76(%rbp), %rdx
	leaq	-80(%rbp), %rbx
	movq	%rbx, %rcx
	callq	_j2date
	movq	_USE_XSD_DATES@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movq	%r14, %rdx
	callq	_EncodeDateOnly
	movq	%r14, %rdi
	callq	_pstrdup
	movq	%r13, %rsp
	jmp	LBB0_27
LBB0_24:
	leaq	-80(%rbp), %rsi
	leaq	-64(%rbp), %rdx
	movl	%r15d, %edi
	callq	_getTypeOutputInfo
	movl	-80(%rbp), %edi
	movl	%r12d, %esi
	callq	_OidOutputFunctionCall
	testl	%r14d, %r14d
	je	LBB0_27
## %bb.25:
	movq	_XMLOID@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %r15d
	je	LBB0_27
## %bb.26:
	movq	%rax, %rdi
	callq	_escape_xml
	jmp	LBB0_27
LBB0_9:
	movl	%r12d, %edi
	callq	_DatumGetBool
	testl	%eax, %eax
	leaq	L_.str.3(%rip), %rcx
	leaq	L_.str.2(%rip), %rax
	cmoveq	%rcx, %rax
	jmp	LBB0_27
LBB0_15:
	leaq	-80(%rbp), %rdx
	leaq	-64(%rbp), %rcx
	movl	%ebx, %edi
	xorl	%esi, %esi
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_timestamp2tm
	testl	%eax, %eax
	je	LBB0_16
LBB0_18:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_ERRCODE_DATETIME_VALUE_OUT_OF_RANGE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	leaq	L_.str.6(%rip), %rdi
	callq	_errmsg
LBB0_19:
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_ereport
LBB0_20:
	movq	%r14, %rdi
	callq	_pstrdup
	movq	%r15, %rsp
	jmp	LBB0_27
LBB0_16:
	movl	-64(%rbp), %esi
	movq	_USE_XSD_DATES@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	subq	$8, %rsp
	leaq	-80(%rbp), %rdi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
LBB0_17:
	pushq	%r14
	callq	_EncodeDateTime
	addq	$16, %rsp
	jmp	LBB0_20
LBB0_29:
	callq	___stack_chk_fail
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_21, LBB0_21-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_24, LBB0_24-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
LJTI0_0:
	.long	L0_0_set_21
	.long	L0_0_set_13
	.long	L0_0_set_10
	.long	L0_0_set_24
	.long	L0_0_set_9
	.end_data_region
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"<element>"

L_.str.1:                               ## @.str.1
	.asciz	"</element>"

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

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

	.comm	_MAXDATELEN,4,2                 ## @MAXDATELEN
	.comm	_ERROR,4,2                      ## @ERROR
	.comm	_ERRCODE_DATETIME_VALUE_OUT_OF_RANGE,4,2 ## @ERRCODE_DATETIME_VALUE_OUT_OF_RANGE
L_.str.4:                               ## @.str.4
	.asciz	"date out of range"

L_.str.5:                               ## @.str.5
	.asciz	"XML does not support infinite date values."

	.comm	_POSTGRES_EPOCH_JDATE,8,3       ## @POSTGRES_EPOCH_JDATE
	.comm	_USE_XSD_DATES,4,2              ## @USE_XSD_DATES
L_.str.6:                               ## @.str.6
	.asciz	"timestamp out of range"

L_.str.7:                               ## @.str.7
	.asciz	"XML does not support infinite timestamp values."

	.comm	_XMLOID,4,2                     ## @XMLOID
	.comm	_ERRCODE_OUT_OF_MEMORY,4,2      ## @ERRCODE_OUT_OF_MEMORY
	.comm	_PG_XML_STRICTNESS_ALL,4,2      ## @PG_XML_STRICTNESS_ALL
	.comm	_XMLBINARY_BASE64,4,2           ## @XMLBINARY_BASE64
	.comm	_xmlbinary,4,2                  ## @xmlbinary
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_map_sql_value_to_xml_value     ; -- Begin function map_sql_value_to_xml_value
	.p2align	2
_map_sql_value_to_xml_value:            ; @map_sql_value_to_xml_value
	.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
	sub	sp, sp, #64
	mov	x19, x2
	mov	x21, 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, #-40]
	mov	x0, x1
	bl	_type_is_array_domain
	cbz	x0, LBB0_9
; %bb.1:
	mov	x0, x20
	bl	_DatumGetArrayTypeP
	mov	x20, x0
	bl	_ARR_ELEMTYPE
	mov	x19, x0
	sub	x1, x29, #44
	sub	x2, x29, #48
	sub	x3, x29, #49
	bl	_get_typlenbyvalalign
	ldp	w3, w2, [x29, #-48]
	ldursb	w4, [x29, #-49]
	sub	x5, x29, #88
	sub	x6, x29, #64
	sub	x7, x29, #56
	mov	x0, x20
	mov	x1, x19
	bl	_deconstruct_array
	sub	x0, x29, #72
	bl	_initStringInfo
	ldur	w8, [x29, #-56]
	cmp	w8, #1
	b.lt	LBB0_6
; %bb.2:
	mov	x22, #0
Lloh3:
	adrp	x20, l_.str@PAGE
Lloh4:
	add	x20, x20, l_.str@PAGEOFF
Lloh5:
	adrp	x21, l_.str.1@PAGE
Lloh6:
	add	x21, x21, l_.str.1@PAGEOFF
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x22, x22, #1
	cmp	x22, w8, sxtw
	b.ge	LBB0_6
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldur	x9, [x29, #-64]
	ldr	w9, [x9, x22, lsl #2]
	cbnz	w9, LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	sub	x0, x29, #72
	mov	x1, x20
	bl	_appendStringInfoString
	ldur	x8, [x29, #-88]
	ldr	w0, [x8, x22, lsl #2]
	mov	x1, x19
	mov	w2, #1
	bl	_map_sql_value_to_xml_value
	mov	x1, x0
	sub	x0, x29, #72
	bl	_appendStringInfoString
	sub	x0, x29, #72
	mov	x1, x21
	bl	_appendStringInfoString
	ldur	w8, [x29, #-56]
	b	LBB0_3
LBB0_6:
	ldur	x0, [x29, #-88]
	bl	_pfree
	ldur	x0, [x29, #-64]
	bl	_pfree
	ldur	x0, [x29, #-72]
LBB0_7:
	ldur	x8, [x29, #-40]
Lloh7:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh8:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh9:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_29
; %bb.8:
	sub	sp, x29, #32
	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_9:
	mov	x0, x21
	bl	_getBaseType
	mov	x21, x0
	sub	w8, w0, #128
	cmp	w8, #4
	b.hi	LBB0_19
; %bb.10:
Lloh10:
	adrp	x9, lJTI0_0@PAGE
Lloh11:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_11
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_11:
	mov	x21, sp
	stur	xzr, [x29, #-64]
Lloh12:
	adrp	x8, _MAXDATELEN@GOTPAGE
Lloh13:
	ldr	x8, [x8, _MAXDATELEN@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	add	w8, w8, #1
	mov	x9, x8
Lloh15:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh16:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x1fffffff0
	sub	x19, x9, x8
	mov	sp, x19
	mov	x0, x20
	bl	_DatumGetTimestamp
	mov	x20, x0
	bl	_TIMESTAMP_NOT_FINITE
	cbnz	w0, LBB0_15
; %bb.12:
	sub	x1, x29, #72
	sub	x2, x29, #88
	sub	x3, x29, #44
	sub	x4, x29, #64
	mov	x0, x20
	mov	x5, #0
	bl	_timestamp2tm
	cbnz	w0, LBB0_24
; %bb.13:
	ldur	w1, [x29, #-44]
	ldur	w3, [x29, #-72]
	ldur	x4, [x29, #-64]
Lloh17:
	adrp	x8, _USE_XSD_DATES@GOTPAGE
Lloh18:
	ldr	x8, [x8, _USE_XSD_DATES@GOTPAGEOFF]
Lloh19:
	ldr	w5, [x8]
	sub	x0, x29, #88
	mov	w2, #1
	b	LBB0_28
LBB0_14:
	mov	x21, 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	x19, x9, x8
	mov	sp, x19
	mov	x0, x20
	bl	_DatumGetTimestamp
	mov	x20, x0
	bl	_TIMESTAMP_NOT_FINITE
	cbz	w0, LBB0_23
LBB0_15:
Lloh25:
	adrp	x8, _ERROR@GOTPAGE
Lloh26:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh27:
	ldr	w20, [x8]
Lloh28:
	adrp	x8, _ERRCODE_DATETIME_VALUE_OUT_OF_RANGE@GOTPAGE
Lloh29:
	ldr	x8, [x8, _ERRCODE_DATETIME_VALUE_OUT_OF_RANGE@GOTPAGEOFF]
Lloh30:
	ldr	w0, [x8]
	bl	_errcode
Lloh31:
	adrp	x0, l_.str.6@PAGE
Lloh32:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	_errmsg
Lloh33:
	adrp	x0, l_.str.7@PAGE
Lloh34:
	add	x0, x0, l_.str.7@PAGEOFF
	bl	_errdetail
	b	LBB0_25
LBB0_16:
	mov	x22, sp
Lloh35:
	adrp	x8, _MAXDATELEN@GOTPAGE
Lloh36:
	ldr	x8, [x8, _MAXDATELEN@GOTPAGEOFF]
Lloh37:
	ldr	w8, [x8]
	add	w8, w8, #1
	mov	x9, x8
Lloh38:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh39:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x1fffffff0
	sub	x19, x9, x8
	mov	sp, x19
	mov	x0, x20
	bl	_DatumGetDateADT
	mov	x20, x0
	bl	_DATE_NOT_FINITE
	cbz	w0, LBB0_18
; %bb.17:
Lloh40:
	adrp	x8, _ERROR@GOTPAGE
Lloh41:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh42:
	ldr	w21, [x8]
Lloh43:
	adrp	x8, _ERRCODE_DATETIME_VALUE_OUT_OF_RANGE@GOTPAGE
Lloh44:
	ldr	x8, [x8, _ERRCODE_DATETIME_VALUE_OUT_OF_RANGE@GOTPAGEOFF]
Lloh45:
	ldr	w0, [x8]
	bl	_errcode
Lloh46:
	adrp	x0, l_.str.4@PAGE
Lloh47:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_errmsg
Lloh48:
	adrp	x0, l_.str.5@PAGE
Lloh49:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_errdetail
	mov	x1, x0
	mov	x0, x21
	bl	_ereport
LBB0_18:
Lloh50:
	adrp	x8, _POSTGRES_EPOCH_JDATE@GOTPAGE
Lloh51:
	ldr	x8, [x8, _POSTGRES_EPOCH_JDATE@GOTPAGEOFF]
Lloh52:
	ldr	x8, [x8]
	add	x0, x8, x20
	sub	x8, x29, #88
	add	x1, x8, #8
	orr	x2, x8, #0x4
	sub	x3, x29, #88
	bl	_j2date
Lloh53:
	adrp	x8, _USE_XSD_DATES@GOTPAGE
Lloh54:
	ldr	x8, [x8, _USE_XSD_DATES@GOTPAGEOFF]
Lloh55:
	ldr	w1, [x8]
	sub	x0, x29, #88
	mov	x2, x19
	bl	_EncodeDateOnly
	mov	x0, x19
	bl	_pstrdup
	mov	sp, x22
	b	LBB0_7
LBB0_19:
	sub	x1, x29, #88
	sub	x2, x29, #64
	mov	x0, x21
	bl	_getTypeOutputInfo
	ldur	w0, [x29, #-88]
	mov	x1, x20
	bl	_OidOutputFunctionCall
	cbz	w19, LBB0_7
; %bb.20:
Lloh56:
	adrp	x8, _XMLOID@GOTPAGE
Lloh57:
	ldr	x8, [x8, _XMLOID@GOTPAGEOFF]
Lloh58:
	ldr	w8, [x8]
	cmp	w21, w8
	b.eq	LBB0_7
; %bb.21:
	bl	_escape_xml
	b	LBB0_7
LBB0_22:
	mov	x0, x20
	bl	_DatumGetBool
Lloh59:
	adrp	x8, l_.str.2@PAGE
Lloh60:
	add	x8, x8, l_.str.2@PAGEOFF
Lloh61:
	adrp	x9, l_.str.3@PAGE
Lloh62:
	add	x9, x9, l_.str.3@PAGEOFF
	cmp	w0, #0
	csel	x0, x9, x8, eq
	b	LBB0_7
LBB0_23:
	sub	x2, x29, #88
	sub	x3, x29, #64
	mov	x0, x20
	mov	x1, #0
	mov	x4, #0
	mov	x5, #0
	bl	_timestamp2tm
	cbz	w0, LBB0_27
LBB0_24:
Lloh63:
	adrp	x8, _ERROR@GOTPAGE
Lloh64:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh65:
	ldr	w20, [x8]
Lloh66:
	adrp	x8, _ERRCODE_DATETIME_VALUE_OUT_OF_RANGE@GOTPAGE
Lloh67:
	ldr	x8, [x8, _ERRCODE_DATETIME_VALUE_OUT_OF_RANGE@GOTPAGEOFF]
Lloh68:
	ldr	w0, [x8]
	bl	_errcode
Lloh69:
	adrp	x0, l_.str.6@PAGE
Lloh70:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	_errmsg
LBB0_25:
	mov	x1, x0
	mov	x0, x20
	bl	_ereport
LBB0_26:
	mov	x0, x19
	bl	_pstrdup
	mov	sp, x21
	b	LBB0_7
LBB0_27:
	ldur	w1, [x29, #-64]
Lloh71:
	adrp	x8, _USE_XSD_DATES@GOTPAGE
Lloh72:
	ldr	x8, [x8, _USE_XSD_DATES@GOTPAGEOFF]
Lloh73:
	ldr	w5, [x8]
	sub	x0, x29, #88
	mov	w2, #0
	mov	w3, #0
	mov	x4, #0
LBB0_28:
	mov	x6, x19
	bl	_EncodeDateTime
	b	LBB0_26
LBB0_29:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpAdd	Lloh48, Lloh49
	.loh AdrpAdd	Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh58
	.loh AdrpAdd	Lloh61, Lloh62
	.loh AdrpAdd	Lloh59, Lloh60
	.loh AdrpAdd	Lloh69, Lloh70
	.loh AdrpLdrGotLdr	Lloh66, Lloh67, Lloh68
	.loh AdrpLdrGotLdr	Lloh63, Lloh64, Lloh65
	.loh AdrpLdrGotLdr	Lloh71, Lloh72, Lloh73
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_11-LBB0_11)>>2
	.byte	(LBB0_14-LBB0_11)>>2
	.byte	(LBB0_16-LBB0_11)>>2
	.byte	(LBB0_19-LBB0_11)>>2
	.byte	(LBB0_22-LBB0_11)>>2
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"<element>"

l_.str.1:                               ; @.str.1
	.asciz	"</element>"

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

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

	.comm	_MAXDATELEN,4,2                 ; @MAXDATELEN
	.comm	_ERROR,4,2                      ; @ERROR
	.comm	_ERRCODE_DATETIME_VALUE_OUT_OF_RANGE,4,2 ; @ERRCODE_DATETIME_VALUE_OUT_OF_RANGE
l_.str.4:                               ; @.str.4
	.asciz	"date out of range"

l_.str.5:                               ; @.str.5
	.asciz	"XML does not support infinite date values."

	.comm	_POSTGRES_EPOCH_JDATE,8,3       ; @POSTGRES_EPOCH_JDATE
	.comm	_USE_XSD_DATES,4,2              ; @USE_XSD_DATES
l_.str.6:                               ; @.str.6
	.asciz	"timestamp out of range"

l_.str.7:                               ; @.str.7
	.asciz	"XML does not support infinite timestamp values."

	.comm	_XMLOID,4,2                     ; @XMLOID
	.comm	_ERRCODE_OUT_OF_MEMORY,4,2      ; @ERRCODE_OUT_OF_MEMORY
	.comm	_PG_XML_STRICTNESS_ALL,4,2      ; @PG_XML_STRICTNESS_ALL
	.comm	_XMLBINARY_BASE64,4,2           ; @XMLBINARY_BASE64
	.comm	_xmlbinary,4,2                  ; @xmlbinary
.subsections_via_symbols
