	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function exec_move_row_from_datum
_exec_move_row_from_datum:              ## @exec_move_row_from_datum
	.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	%edx, %ebx
	movq	%rsi, %r15
	movq	%rdi, %r14
	movl	%edx, %edi
	callq	_DatumGetPointer
	movl	%eax, %edi
	callq	_VARATT_IS_EXTERNAL_EXPANDED
	testq	%rax, %rax
	je	LBB0_26
## %bb.1:
	movl	%ebx, %edi
	callq	_DatumGetEOHP
	movq	%rax, %r13
	movq	(%rax), %rax
	movq	_ER_MAGIC@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	sete	%dil
	callq	_Assert
	movq	(%r15), %rax
	movq	_PLPGSQL_DTYPE_REC@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.5:
	cmpq	%r13, 8(%r15)
	je	LBB0_37
## %bb.6:
	movq	%r15, %rdi
	callq	_revalidate_rectypeid
	movl	%ebx, %edi
	callq	_DatumGetPointer
	movl	%eax, %edi
	callq	_VARATT_IS_EXTERNAL_EXPANDED_RW
	testq	%rax, %rax
	je	LBB0_12
## %bb.7:
	movq	(%r15), %rax
	cmpq	8(%r13), %rax
	jne	LBB0_8
LBB0_10:
	movq	%r14, %rdi
	movq	%r15, %rsi
	movq	%r13, %rdx
	jmp	LBB0_11
LBB0_26:
	movq	%r14, %rdi
	callq	_get_eval_mcontext
	movl	%eax, %edi
	callq	_MemoryContextSwitchTo
	movl	%eax, %r12d
	movl	%ebx, %edi
	callq	_DatumGetHeapTupleHeader
	movl	%eax, %ebx
	movl	%r12d, %edi
	callq	_MemoryContextSwitchTo
	movl	%ebx, %edi
	callq	_HeapTupleHeaderGetDatumLength
	movl	%eax, -52(%rbp)
	leaq	-56(%rbp), %rdi
	callq	_ItemPointerSetInvalid
	movq	_InvalidOid@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -60(%rbp)
	movl	%ebx, -64(%rbp)
	movl	%ebx, %edi
	callq	_HeapTupleHeaderGetTypeId
	movq	%rax, %r13
	movl	%ebx, %edi
	callq	_HeapTupleHeaderGetTypMod
	movq	%rax, %r12
	movq	(%r15), %rax
	movq	_PLPGSQL_DTYPE_REC@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_36
## %bb.27:
	movq	8(%r15), %rdi
	testq	%rdi, %rdi
	je	LBB0_33
## %bb.28:
	cmpq	24(%rdi), %r13
	jne	LBB0_33
## %bb.29:
	movq	_RECORDOID@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %r13
	jne	LBB0_32
## %bb.30:
	testq	%r12, %r12
	js	LBB0_33
## %bb.31:
	cmpq	32(%rdi), %r12
	jne	LBB0_33
LBB0_32:
	xorl	%ecx, %ecx
	cmpl	$0, (%r14)
	sete	%cl
	leaq	-64(%rbp), %rsi
	movl	$1, %edx
	callq	_expanded_record_set_tuple
	jmp	LBB0_37
LBB0_2:
	xorl	%ebx, %ebx
LBB0_3:
	movq	%r13, %rdi
	callq	_ExpandedRecordIsEmpty
	testq	%rax, %rax
	je	LBB0_25
## %bb.4:
	movq	%r13, %rdi
	callq	_expanded_record_get_tupdesc
	movq	%r14, %rdi
	movq	%r15, %rsi
	xorl	%edx, %edx
	movl	%eax, %ecx
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_exec_move_row                  ## TAILCALL
LBB0_33:
	movq	_RECORDOID@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_35
## %bb.34:
	cmpq	%r13, %rax
	je	LBB0_35
LBB0_36:
	movq	%r13, %rdi
	movq	%r12, %rsi
	callq	_lookup_rowtype_tupdesc
	movl	%eax, %ebx
	leaq	-64(%rbp), %rdx
	movq	%r14, %rdi
	movq	%r15, %rsi
	movl	%eax, %ecx
	callq	_exec_move_row
	movl	%ebx, %edi
	callq	_ReleaseTupleDesc
	jmp	LBB0_37
LBB0_25:
	movq	%r13, %rdi
	callq	_deconstruct_expanded_record
	movl	40(%r13), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	44(%r13), %r12d
	movq	%r13, %rdi
	callq	_expanded_record_get_tupdesc
	movq	%r14, %rdi
	movq	%r15, %rsi
	movq	%rbx, %rdx
	movl	%r12d, %ecx
	movl	-44(%rbp), %r8d                 ## 4-byte Reload
	movl	%eax, %r9d
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_exec_move_row_from_fields      ## TAILCALL
LBB0_35:
	movq	%r14, %rdi
	callq	_get_eval_mcontext
	movq	%r13, %rdi
	movq	%r12, %rsi
	movl	%eax, %edx
	callq	_make_expanded_record_from_typeid
	movq	%rax, %rbx
	xorl	%ecx, %ecx
	cmpl	$0, (%r14)
	sete	%cl
	leaq	-64(%rbp), %rsi
	movq	%rax, %rdi
	movl	$1, %edx
	callq	_expanded_record_set_tuple
	movq	%r14, %rdi
	movq	%r15, %rsi
	movq	%rbx, %rdx
	callq	_assign_record_var
LBB0_37:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	movq	_RECORDOID@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_12
## %bb.9:
	movq	%r13, %rdi
	callq	_ExpandedRecordIsDomain
	testl	%eax, %eax
	je	LBB0_10
LBB0_12:
	movq	8(%r15), %rdi
	testq	%rdi, %rdi
	je	LBB0_18
## %bb.13:
	movq	_ER_FLAG_FVALUE_VALID@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 16(%r13)
	je	LBB0_18
## %bb.14:
	movq	24(%r13), %rax
	cmpq	24(%rdi), %rax
	jne	LBB0_18
## %bb.15:
	movq	_RECORDOID@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_38
## %bb.16:
	movq	32(%r13), %rax
	testq	%rax, %rax
	js	LBB0_18
## %bb.17:
	cmpq	32(%rdi), %rax
	jne	LBB0_18
LBB0_38:
	movq	48(%r13), %rsi
	xorl	%ecx, %ecx
	cmpl	$0, (%r14)
	sete	%cl
	movl	$1, %edx
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_expanded_record_set_tuple      ## TAILCALL
LBB0_18:
	movq	%r14, %rdi
	movq	%r15, %rsi
	xorl	%edx, %edx
	movq	%r13, %rcx
	callq	_make_expanded_record_for_rec
	movq	%rax, %rbx
	movq	_ER_FLAG_FVALUE_VALID@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 16(%r13)
	je	LBB0_22
## %bb.19:
	movq	(%r15), %rax
	movq	_RECORDOID@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_21
## %bb.20:
	cmpq	24(%r13), %rax
	jne	LBB0_22
LBB0_21:
	movq	48(%r13), %rsi
	xorl	%ecx, %ecx
	cmpl	$0, (%r14)
	sete	%cl
	movq	%rbx, %rdi
	movl	$1, %edx
	callq	_expanded_record_set_tuple
	jmp	LBB0_24
LBB0_22:
	movq	%r13, %rdi
	callq	_ExpandedRecordIsEmpty
	testq	%rax, %rax
	je	LBB0_3
## %bb.23:
	movq	%rbx, %rdi
	callq	_deconstruct_expanded_record
LBB0_24:
	movq	%r14, %rdi
	movq	%r15, %rsi
	movq	%rbx, %rdx
LBB0_11:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_assign_record_var              ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ER_MAGIC,8,3                   ## @ER_MAGIC
	.comm	_PLPGSQL_DTYPE_REC,8,3          ## @PLPGSQL_DTYPE_REC
	.comm	_RECORDOID,8,3                  ## @RECORDOID
	.comm	_ER_FLAG_FVALUE_VALID,4,2       ## @ER_FLAG_FVALUE_VALID
	.comm	_InvalidOid,4,2                 ## @InvalidOid
	.no_dead_strip	_exec_move_row_from_datum
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function exec_move_row_from_datum
_exec_move_row_from_datum:              ; @exec_move_row_from_datum
	.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	x22, x2
	mov	x19, x1
	mov	x20, x0
	mov	x0, x2
	bl	_DatumGetPointer
	bl	_VARATT_IS_EXTERNAL_EXPANDED
	cbz	x0, LBB0_6
; %bb.1:
	mov	x0, x22
	bl	_DatumGetEOHP
	mov	x21, x0
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _ER_MAGIC@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ER_MAGIC@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, eq
	bl	_Assert
	ldr	x8, [x19]
Lloh3:
	adrp	x9, _PLPGSQL_DTYPE_REC@GOTPAGE
Lloh4:
	ldr	x9, [x9, _PLPGSQL_DTYPE_REC@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_13
; %bb.2:
	ldr	x8, [x19, #8]
	cmp	x8, x21
	b.eq	LBB0_19
; %bb.3:
	mov	x0, x19
	bl	_revalidate_rectypeid
	mov	x0, x22
	bl	_DatumGetPointer
	bl	_VARATT_IS_EXTERNAL_EXPANDED_RW
	cbz	x0, LBB0_23
; %bb.4:
	ldr	x8, [x19]
	ldr	x9, [x21, #8]
	cmp	x8, x9
	b.ne	LBB0_21
LBB0_5:
	mov	x0, x20
	mov	x1, x19
	mov	x2, x21
	b	LBB0_37
LBB0_6:
	mov	x0, x20
	bl	_get_eval_mcontext
	bl	_MemoryContextSwitchTo
	mov	x21, x0
	mov	x0, x22
	bl	_DatumGetHeapTupleHeader
	mov	x22, x0
	mov	x0, x21
	bl	_MemoryContextSwitchTo
	mov	x0, x22
	bl	_HeapTupleHeaderGetDatumLength
	str	w0, [sp, #12]
	mov	x8, sp
	add	x0, x8, #8
	bl	_ItemPointerSetInvalid
Lloh6:
	adrp	x8, _InvalidOid@GOTPAGE
Lloh7:
	ldr	x8, [x8, _InvalidOid@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	stp	w22, w8, [sp]
	mov	x0, x22
	bl	_HeapTupleHeaderGetTypeId
	mov	x21, x0
	mov	x0, x22
	bl	_HeapTupleHeaderGetTypMod
	mov	x22, x0
	ldr	x8, [x19]
Lloh9:
	adrp	x9, _PLPGSQL_DTYPE_REC@GOTPAGE
Lloh10:
	ldr	x9, [x9, _PLPGSQL_DTYPE_REC@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_18
; %bb.7:
	ldr	x0, [x19, #8]
	cbz	x0, LBB0_16
; %bb.8:
	ldr	x9, [x0, #24]
	cmp	x21, x9
	b.ne	LBB0_16
; %bb.9:
Lloh12:
	adrp	x9, _RECORDOID@GOTPAGE
Lloh13:
	ldr	x9, [x9, _RECORDOID@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	cmp	x21, x9
	b.ne	LBB0_12
; %bb.10:
	tbnz	x22, #63, LBB0_16
; %bb.11:
	ldr	x9, [x0, #32]
	cmp	x22, x9
	b.ne	LBB0_16
LBB0_12:
	ldr	w8, [x20]
	cmp	w8, #0
	cset	w3, eq
	mov	x1, sp
	mov	w2, #1
	bl	_expanded_record_set_tuple
	b	LBB0_19
LBB0_13:
	mov	x22, #0
LBB0_14:
	mov	x0, x21
	bl	_ExpandedRecordIsEmpty
	cbz	x0, LBB0_20
; %bb.15:
	mov	x0, x21
	bl	_expanded_record_get_tupdesc
	mov	x3, x0
	mov	x0, x20
	mov	x1, x19
	mov	x2, #0
	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
	b	_exec_move_row
LBB0_16:
Lloh15:
	adrp	x9, _RECORDOID@GOTPAGE
Lloh16:
	ldr	x9, [x9, _RECORDOID@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	cmp	x8, x9
	ccmp	x8, x21, #4, ne
	b.ne	LBB0_18
; %bb.17:
	mov	x0, x20
	bl	_get_eval_mcontext
	mov	x2, x0
	mov	x0, x21
	mov	x1, x22
	bl	_make_expanded_record_from_typeid
	mov	x21, x0
	ldr	w8, [x20]
	cmp	w8, #0
	cset	w3, eq
	mov	x1, sp
	mov	w2, #1
	bl	_expanded_record_set_tuple
	mov	x0, x20
	mov	x1, x19
	mov	x2, x21
	bl	_assign_record_var
	b	LBB0_19
LBB0_18:
	mov	x0, x21
	mov	x1, x22
	bl	_lookup_rowtype_tupdesc
	mov	x21, x0
	mov	x2, sp
	mov	x0, x20
	mov	x1, x19
	mov	x3, x21
	bl	_exec_move_row
	mov	x0, x21
	bl	_ReleaseTupleDesc
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
	add	sp, sp, #80
	ret
LBB0_20:
	mov	x0, x21
	bl	_deconstruct_expanded_record
	ldp	w24, w23, [x21, #40]
	mov	x0, x21
	bl	_expanded_record_get_tupdesc
	mov	x5, x0
	mov	x0, x20
	mov	x1, x19
	mov	x2, x22
	mov	x3, x23
	mov	x4, x24
	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
	b	_exec_move_row_from_fields
LBB0_21:
Lloh18:
	adrp	x9, _RECORDOID@GOTPAGE
Lloh19:
	ldr	x9, [x9, _RECORDOID@GOTPAGEOFF]
Lloh20:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_23
; %bb.22:
	mov	x0, x21
	bl	_ExpandedRecordIsDomain
	cbz	w0, LBB0_5
LBB0_23:
	ldr	x0, [x19, #8]
Lloh21:
	adrp	x23, _ER_FLAG_FVALUE_VALID@GOTPAGE
Lloh22:
	ldr	x23, [x23, _ER_FLAG_FVALUE_VALID@GOTPAGEOFF]
	cbz	x0, LBB0_30
; %bb.24:
	ldr	w8, [x21, #16]
	ldr	w9, [x23]
	tst	w9, w8
	b.eq	LBB0_30
; %bb.25:
	ldr	x8, [x21, #24]
	ldr	x9, [x0, #24]
	cmp	x8, x9
	b.ne	LBB0_30
; %bb.26:
Lloh23:
	adrp	x9, _RECORDOID@GOTPAGE
Lloh24:
	ldr	x9, [x9, _RECORDOID@GOTPAGEOFF]
Lloh25:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_29
; %bb.27:
	ldr	x8, [x21, #32]
	tbnz	x8, #63, LBB0_30
; %bb.28:
	ldr	x9, [x0, #32]
	cmp	x8, x9
	b.ne	LBB0_30
LBB0_29:
	ldr	x1, [x21, #48]
	ldr	w8, [x20]
	cmp	w8, #0
	cset	w3, eq
	mov	w2, #1
	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
	b	_expanded_record_set_tuple
LBB0_30:
	mov	x0, x20
	mov	x1, x19
	mov	x2, #0
	mov	x3, x21
	bl	_make_expanded_record_for_rec
	mov	x22, x0
	ldr	w8, [x21, #16]
	ldr	w9, [x23]
	tst	w9, w8
	b.eq	LBB0_34
; %bb.31:
	ldr	x8, [x19]
Lloh26:
	adrp	x9, _RECORDOID@GOTPAGE
Lloh27:
	ldr	x9, [x9, _RECORDOID@GOTPAGEOFF]
Lloh28:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_33
; %bb.32:
	ldr	x9, [x21, #24]
	cmp	x8, x9
	b.ne	LBB0_34
LBB0_33:
	ldr	x1, [x21, #48]
	ldr	w8, [x20]
	cmp	w8, #0
	cset	w3, eq
	mov	x0, x22
	mov	w2, #1
	bl	_expanded_record_set_tuple
	b	LBB0_36
LBB0_34:
	mov	x0, x21
	bl	_ExpandedRecordIsEmpty
	cbz	x0, LBB0_14
; %bb.35:
	mov	x0, x22
	bl	_deconstruct_expanded_record
LBB0_36:
	mov	x0, x20
	mov	x1, x19
	mov	x2, x22
LBB0_37:
	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
	b	_assign_record_var
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.cfi_endproc
                                        ; -- End function
	.comm	_ER_MAGIC,8,3                   ; @ER_MAGIC
	.comm	_PLPGSQL_DTYPE_REC,8,3          ; @PLPGSQL_DTYPE_REC
	.comm	_RECORDOID,8,3                  ; @RECORDOID
	.comm	_ER_FLAG_FVALUE_VALID,4,2       ; @ER_FLAG_FVALUE_VALID
	.comm	_InvalidOid,4,2                 ; @InvalidOid
	.no_dead_strip	_exec_move_row_from_datum
.subsections_via_symbols
