	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_expanded_record_set_fields     ## -- Begin function expanded_record_set_fields
	.p2align	4, 0x90
_expanded_record_set_fields:            ## @expanded_record_set_fields
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movq	%rdx, -88(%rbp)                 ## 8-byte Spill
	movq	%rsi, -80(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r14
	movq	_ER_FLAG_IS_DUMMY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	xorl	%edi, %edi
	andl	(%r14), %eax
	sete	%dil
	callq	_Assert
	movq	_ER_FLAG_DVALUES_VALID@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r14)
	jne	LBB0_2
## %bb.1:
	movq	%r14, %rdi
	callq	_deconstruct_expanded_record
LBB0_2:
	movq	64(%r14), %rbx
	movl	4(%r14), %eax
	xorl	%edi, %edi
	cmpl	(%rbx), %eax
	sete	%dil
	callq	_Assert
	movq	_ER_FLAG_FVALUE_VALID@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, (%r14)
	movq	$0, 56(%r14)
	movl	32(%r14), %edi
	callq	_MemoryContextSwitchTo
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	cmpl	$0, 4(%r14)
	jle	LBB0_23
## %bb.3:
	movq	8(%r14), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	48(%r14), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	xorl	%r13d, %r13d
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	jmp	LBB0_7
LBB0_4:                                 ##   in Loop: Header=BB0_7 Depth=1
	movq	%rax, %rdi
	callq	_pfree
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_7 Depth=1
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	%r15d, (%rax,%r13,4)
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	%ebx, (%rax,%r13,4)
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
LBB0_6:                                 ##   in Loop: Header=BB0_7 Depth=1
	incq	%r13
	movslq	4(%r14), %rax
	cmpq	%rax, %r13
	jge	LBB0_23
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	movl	%r13d, %esi
	callq	_TupleDescAttr
	cmpq	$0, 8(%rax)
	jne	LBB0_6
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	movq	%rax, %r12
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax,%r13,4), %r15d
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax,%r13,4), %ebx
	cmpl	$0, 4(%r12)
	jne	LBB0_5
## %bb.9:                               ##   in Loop: Header=BB0_7 Depth=1
	testl	%ebx, %ebx
	jne	LBB0_14
## %bb.10:                              ##   in Loop: Header=BB0_7 Depth=1
	movl	(%r12), %edx
	cmpl	$-1, %edx
	je	LBB0_17
LBB0_11:                                ##   in Loop: Header=BB0_7 Depth=1
	movl	%r15d, %edi
	xorl	%esi, %esi
	callq	_datumCopy
LBB0_12:                                ##   in Loop: Header=BB0_7 Depth=1
	movl	%eax, %r15d
LBB0_13:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	_ER_FLAG_DVALUES_ALLOCED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%r14)
LBB0_14:                                ##   in Loop: Header=BB0_7 Depth=1
	xorl	%edi, %edi
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	cmpl	$0, (%rax,%r13,4)
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_5
## %bb.15:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax,%r13,4), %edi
	callq	_DatumGetPointer
	cmpq	%rax, 16(%r14)
	ja	LBB0_4
## %bb.16:                              ##   in Loop: Header=BB0_7 Depth=1
	cmpq	%rax, 24(%r14)
	jbe	LBB0_4
	jmp	LBB0_5
LBB0_17:                                ##   in Loop: Header=BB0_7 Depth=1
	movl	%r15d, %edi
	callq	_DatumGetPointer
	movq	%rax, %rdi
	callq	_VARATT_IS_EXTERNAL
	testq	%rax, %rax
	je	LBB0_20
## %bb.18:                              ##   in Loop: Header=BB0_7 Depth=1
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_21
## %bb.19:                              ##   in Loop: Header=BB0_7 Depth=1
	movl	%r15d, %edi
	callq	_DatumGetPointer
	movq	%rax, %rdi
	callq	_detoast_external_attr
	movl	%eax, %edi
	callq	_PointerGetDatum
	jmp	LBB0_12
LBB0_20:                                ##   in Loop: Header=BB0_7 Depth=1
	movl	(%r12), %edx
	jmp	LBB0_11
LBB0_21:                                ##   in Loop: Header=BB0_7 Depth=1
	movl	%r15d, %edi
	xorl	%esi, %esi
	movl	$-1, %edx
	callq	_datumCopy
	movl	%eax, %r15d
	movl	%eax, %edi
	callq	_DatumGetPointer
	movq	%rax, %rdi
	callq	_VARATT_IS_EXTERNAL
	testq	%rax, %rax
	je	LBB0_13
## %bb.22:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	_ER_FLAG_HAVE_EXTERNAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%r14)
	jmp	LBB0_13
LBB0_23:
	movq	_ER_FLAG_IS_DOMAIN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r14)
	je	LBB0_25
## %bb.24:
	movq	%r14, %rdi
	callq	_get_short_term_cxt
	movl	%eax, %edi
	callq	_MemoryContextSwitchTo
	movq	%r14, %rdi
	callq	_ExpandedRecordGetRODatum
	movl	32(%r14), %r8d
	movl	40(%r14), %edx
	addq	$36, %r14
	movl	%eax, %edi
	xorl	%esi, %esi
	movq	%r14, %rcx
	callq	_domain_check
LBB0_25:
	movl	-48(%rbp), %edi                 ## 4-byte Reload
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_MemoryContextSwitchTo          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ER_FLAG_IS_DUMMY,4,2           ## @ER_FLAG_IS_DUMMY
	.comm	_ER_FLAG_DVALUES_VALID,4,2      ## @ER_FLAG_DVALUES_VALID
	.comm	_ER_FLAG_FVALUE_VALID,4,2       ## @ER_FLAG_FVALUE_VALID
	.comm	_ER_FLAG_HAVE_EXTERNAL,4,2      ## @ER_FLAG_HAVE_EXTERNAL
	.comm	_ER_FLAG_DVALUES_ALLOCED,4,2    ## @ER_FLAG_DVALUES_ALLOCED
	.comm	_ER_FLAG_IS_DOMAIN,4,2          ## @ER_FLAG_IS_DOMAIN
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_expanded_record_set_fields     ; -- Begin function expanded_record_set_fields
	.p2align	2
_expanded_record_set_fields:            ; @expanded_record_set_fields
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	str	w3, [sp]                        ; 4-byte Folded Spill
	str	x2, [sp, #8]                    ; 8-byte Folded Spill
	mov	x22, x1
	mov	x19, x0
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _ER_FLAG_IS_DUMMY@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ER_FLAG_IS_DUMMY@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	cset	w0, eq
	bl	_Assert
	ldr	w8, [x19]
Lloh3:
	adrp	x9, _ER_FLAG_DVALUES_VALID@GOTPAGE
Lloh4:
	ldr	x9, [x9, _ER_FLAG_DVALUES_VALID@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_deconstruct_expanded_record
LBB0_2:
	ldr	x24, [x19, #64]
	ldr	w8, [x19, #4]
	ldr	w9, [x24]
	cmp	w8, w9
	cset	w0, eq
	bl	_Assert
Lloh6:
	adrp	x8, _ER_FLAG_FVALUE_VALID@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ER_FLAG_FVALUE_VALID@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	ldr	w9, [x19]
	bic	w8, w9, w8
	str	w8, [x19]
	str	xzr, [x19, #56]
	ldr	w0, [x19, #32]
	bl	_MemoryContextSwitchTo
	str	w0, [sp, #4]                    ; 4-byte Folded Spill
	ldr	w8, [x19, #4]
	cmp	w8, #1
	b.lt	LBB0_23
; %bb.3:
	mov	x25, #0
	ldr	x28, [x19, #48]
	ldr	x20, [x19, #8]
	b	LBB0_7
LBB0_4:                                 ;   in Loop: Header=BB0_7 Depth=1
	bl	_pfree
LBB0_5:                                 ;   in Loop: Header=BB0_7 Depth=1
	str	w26, [x28, x23]
	str	w21, [x20, x23]
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	add	x25, x25, #1
	ldrsw	x8, [x19, #4]
	cmp	x25, x8
	b.ge	LBB0_23
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x24
	mov	x1, x25
	bl	_TupleDescAttr
	ldr	x8, [x0, #8]
	cbnz	x8, LBB0_6
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x27, x0
	lsl	x23, x25, #2
	ldr	w26, [x22, x23]
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	ldr	w21, [x8, x23]
	ldr	w8, [x0, #4]
	cbnz	w8, LBB0_5
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=1
	cbnz	w21, LBB0_14
; %bb.10:                               ;   in Loop: Header=BB0_7 Depth=1
	ldr	w2, [x27]
	cmn	w2, #1
	b.eq	LBB0_17
LBB0_11:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x26
	mov	w1, #0
	bl	_datumCopy
LBB0_12:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x26, x0
LBB0_13:                                ;   in Loop: Header=BB0_7 Depth=1
Lloh9:
	adrp	x8, _ER_FLAG_DVALUES_ALLOCED@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ER_FLAG_DVALUES_ALLOCED@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	ldr	w9, [x19]
	orr	w8, w9, w8
	str	w8, [x19]
LBB0_14:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	w8, [x20, x25, lsl #2]
	cmp	w8, #0
	cset	w0, eq
	bl	_unlikely
	cbz	x0, LBB0_5
; %bb.15:                               ;   in Loop: Header=BB0_7 Depth=1
	ldr	w0, [x28, x25, lsl #2]
	bl	_DatumGetPointer
	ldr	x8, [x19, #16]
	cmp	x8, x0
	b.hi	LBB0_4
; %bb.16:                               ;   in Loop: Header=BB0_7 Depth=1
	ldr	x8, [x19, #24]
	cmp	x8, x0
	b.ls	LBB0_4
	b	LBB0_5
LBB0_17:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x26
	bl	_DatumGetPointer
	bl	_VARATT_IS_EXTERNAL
	cbz	x0, LBB0_20
; %bb.18:                               ;   in Loop: Header=BB0_7 Depth=1
	ldr	w8, [sp]                        ; 4-byte Folded Reload
	cbz	w8, LBB0_21
; %bb.19:                               ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x26
	bl	_DatumGetPointer
	bl	_detoast_external_attr
	bl	_PointerGetDatum
	b	LBB0_12
LBB0_20:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	w2, [x27]
	b	LBB0_11
LBB0_21:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x26
	mov	w1, #0
	mov	w2, #-1
	bl	_datumCopy
	mov	x26, x0
	bl	_DatumGetPointer
	bl	_VARATT_IS_EXTERNAL
	cbz	x0, LBB0_13
; %bb.22:                               ;   in Loop: Header=BB0_7 Depth=1
Lloh12:
	adrp	x8, _ER_FLAG_HAVE_EXTERNAL@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ER_FLAG_HAVE_EXTERNAL@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	ldr	w9, [x19]
	orr	w8, w9, w8
	str	w8, [x19]
	b	LBB0_13
LBB0_23:
	ldr	w8, [x19]
Lloh15:
	adrp	x9, _ER_FLAG_IS_DOMAIN@GOTPAGE
Lloh16:
	ldr	x9, [x9, _ER_FLAG_IS_DOMAIN@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_25
; %bb.24:
	mov	x0, x19
	bl	_get_short_term_cxt
	bl	_MemoryContextSwitchTo
	mov	x0, x19
	bl	_ExpandedRecordGetRODatum
	ldr	w2, [x19, #40]
	add	x3, x19, #36
	ldr	w4, [x19, #32]
	mov	w1, #0
	bl	_domain_check
LBB0_25:
	ldr	w0, [sp, #4]                    ; 4-byte Folded Reload
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	b	_MemoryContextSwitchTo
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_ER_FLAG_IS_DUMMY,4,2           ; @ER_FLAG_IS_DUMMY
	.comm	_ER_FLAG_DVALUES_VALID,4,2      ; @ER_FLAG_DVALUES_VALID
	.comm	_ER_FLAG_FVALUE_VALID,4,2       ; @ER_FLAG_FVALUE_VALID
	.comm	_ER_FLAG_HAVE_EXTERNAL,4,2      ; @ER_FLAG_HAVE_EXTERNAL
	.comm	_ER_FLAG_DVALUES_ALLOCED,4,2    ; @ER_FLAG_DVALUES_ALLOCED
	.comm	_ER_FLAG_IS_DOMAIN,4,2          ; @ER_FLAG_IS_DOMAIN
.subsections_via_symbols
