	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_toast_tuple_init               ## -- Begin function toast_tuple_init
	.p2align	4, 0x90
_toast_tuple_init:                      ## @toast_tuple_init
	.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
	movq	48(%rdi), %rax
	movq	(%rax), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movl	(%rax), %eax
	movl	$0, (%rdi)
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	testl	%eax, %eax
	jle	LBB0_24
## %bb.1:
	movq	%rdi, %r15
	shlq	$2, -56(%rbp)                   ## 8-byte Folded Spill
	xorl	%r14d, %r14d
	xorl	%ebx, %ebx
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	16(%r15), %rax
	movl	(%rax,%r14), %edi
	callq	_DatumGetPointer
	movq	%rax, %r12
LBB0_11:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	24(%r15), %rax
	cmpq	$0, (%rax,%r14,2)
	je	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	_TOASTCOL_IGNORE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	8(%r15), %rcx
	orl	%eax, (%rcx,%r14,4)
	movq	_TOAST_HAS_NULLS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%r15)
LBB0_23:                                ##   in Loop: Header=BB0_2 Depth=1
	incl	%ebx
	addq	$4, %r14
	cmpq	%r14, -56(%rbp)                 ## 8-byte Folded Reload
	je	LBB0_24
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movl	%ebx, %esi
	callq	_TupleDescAttr
	movq	%rax, %r13
	movq	8(%r15), %rax
	movl	$0, (%rax,%r14,4)
	movq	$0, 8(%rax,%r14,4)
	movq	40(%r15), %rax
	testq	%rax, %rax
	je	LBB0_10
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	(%rax,%r14), %edi
	callq	_DatumGetPointer
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	16(%r15), %rax
	movl	(%rax,%r14), %edi
	callq	_DatumGetPointer
	movq	%rax, %r12
	cmpl	$-1, (%r13)
	jne	LBB0_11
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	32(%r15), %rax
	cmpl	$0, (%rax,%r14)
	jne	LBB0_11
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_VARATT_IS_EXTERNAL_ONDISK
	testq	%rax, %rax
	je	LBB0_11
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	24(%r15), %rax
	cmpq	$0, (%rax,%r14,2)
	je	LBB0_7
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	_TOASTCOL_NEEDS_DELETE_OLD@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	8(%r15), %rcx
	orl	%eax, (%rcx,%r14,4)
	movq	_TOAST_NEEDS_DELETE_OLD@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%r15)
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$-1, (%r13)
	je	LBB0_14
LBB0_22:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_TOASTCOL_IGNORE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	8(%r15), %rcx
	orl	%eax, (%rcx,%r14,4)
	jmp	LBB0_23
LBB0_14:                                ##   in Loop: Header=BB0_2 Depth=1
	cmpb	$112, 4(%r13)
	jne	LBB0_16
## %bb.15:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	_TOASTCOL_IGNORE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	8(%r15), %rcx
	orl	%eax, (%rcx,%r14,4)
LBB0_16:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%r12, %rdi
	callq	_VARATT_IS_EXTERNAL
	testq	%rax, %rax
	je	LBB0_21
## %bb.17:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%r15), %rax
	movq	%r12, 8(%rax,%r14,4)
	cmpb	$112, 4(%r13)
	jne	LBB0_19
## %bb.18:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%r12, %rdi
	callq	_detoast_attr
	jmp	LBB0_20
LBB0_19:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%r12, %rdi
	callq	_detoast_external_attr
LBB0_20:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%rax, %r12
	movq	%rax, %rdi
	callq	_PointerGetDatum
	movq	16(%r15), %rcx
	movl	%eax, (%rcx,%r14)
	movq	_TOASTCOL_NEEDS_FREE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	8(%r15), %rcx
	orl	%eax, (%rcx,%r14,4)
	movq	_TOAST_NEEDS_FREE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_TOAST_NEEDS_CHANGE@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	orl	%eax, (%r15)
LBB0_21:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%r12, %rdi
	callq	_VARSIZE_ANY
	movq	8(%r15), %rcx
	movl	%eax, 4(%rcx,%r14,4)
	jmp	LBB0_23
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%r12, %rdi
	callq	_VARATT_IS_EXTERNAL_ONDISK
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_VARSIZE_EXTERNAL
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %rsi
	movl	%eax, %edx
	callq	_memcmp
	testq	%rax, %rax
	jne	LBB0_9
	jmp	LBB0_22
LBB0_24:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TOASTCOL_NEEDS_DELETE_OLD,4,2  ## @TOASTCOL_NEEDS_DELETE_OLD
	.comm	_TOAST_NEEDS_DELETE_OLD,4,2     ## @TOAST_NEEDS_DELETE_OLD
	.comm	_TOASTCOL_IGNORE,4,2            ## @TOASTCOL_IGNORE
	.comm	_TOAST_HAS_NULLS,4,2            ## @TOAST_HAS_NULLS
	.comm	_TOASTCOL_NEEDS_FREE,4,2        ## @TOASTCOL_NEEDS_FREE
	.comm	_TOAST_NEEDS_CHANGE,4,2         ## @TOAST_NEEDS_CHANGE
	.comm	_TOAST_NEEDS_FREE,4,2           ## @TOAST_NEEDS_FREE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_toast_tuple_init               ; -- Begin function toast_tuple_init
	.p2align	2
_toast_tuple_init:                      ; @toast_tuple_init
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	ldr	x8, [x0, #48]
	ldr	x20, [x8]
	ldr	w8, [x20]
	str	wzr, [x0]
	cmp	w8, #1
	b.lt	LBB0_25
; %bb.1:
	mov	x19, x0
	mov	x25, #0
	mov	x21, #0
	lsl	x26, x8, #2
	mov	w27, #8
Lloh0:
	adrp	x28, _TOASTCOL_IGNORE@GOTPAGE
Lloh1:
	ldr	x28, [x28, _TOASTCOL_IGNORE@GOTPAGEOFF]
	b	LBB0_6
LBB0_2:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x19, #16]
	ldr	w0, [x8, x25]
	bl	_DatumGetPointer
	mov	x22, x0
LBB0_3:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x19, #24]
	ldr	x8, [x8, x21, lsl #3]
	cbz	x8, LBB0_12
; %bb.4:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w8, [x28]
	ldr	x9, [x19, #8]
	lsl	x10, x25, #2
	ldr	w11, [x9, x10]
	orr	w8, w11, w8
	str	w8, [x9, x10]
Lloh2:
	adrp	x8, _TOAST_HAS_NULLS@GOTPAGE
Lloh3:
	ldr	x8, [x8, _TOAST_HAS_NULLS@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	ldr	w9, [x19]
	orr	w8, w9, w8
	str	w8, [x19]
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	x21, x21, #1
	add	x25, x25, #4
	add	x27, x27, #16
	cmp	x26, x25
	b.eq	LBB0_25
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	mov	x1, x21
	bl	_TupleDescAttr
	mov	x23, x0
	ldr	x8, [x19, #8]
	str	wzr, [x8, x25, lsl #2]
	str	xzr, [x8, x27]
	ldr	x8, [x19, #40]
	cbz	x8, LBB0_2
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w0, [x8, x25]
	bl	_DatumGetPointer
	mov	x24, x0
	ldr	x8, [x19, #16]
	ldr	w0, [x8, x25]
	bl	_DatumGetPointer
	mov	x22, x0
	ldr	w8, [x23]
	cmn	w8, #1
	b.ne	LBB0_3
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x19, #32]
	ldr	w8, [x8, x25]
	cbnz	w8, LBB0_3
; %bb.9:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x24
	bl	_VARATT_IS_EXTERNAL_ONDISK
	cbz	x0, LBB0_3
; %bb.10:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x19, #24]
	ldr	x8, [x8, x21, lsl #3]
	lsl	x28, x25, #2
	cbz	x8, LBB0_22
LBB0_11:                                ;   in Loop: Header=BB0_6 Depth=1
Lloh5:
	adrp	x8, _TOASTCOL_NEEDS_DELETE_OLD@GOTPAGE
Lloh6:
	ldr	x8, [x8, _TOASTCOL_NEEDS_DELETE_OLD@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	ldr	x9, [x19, #8]
	ldr	w10, [x9, x28]
	orr	w8, w10, w8
	str	w8, [x9, x28]
Lloh8:
	adrp	x8, _TOAST_NEEDS_DELETE_OLD@GOTPAGE
Lloh9:
	ldr	x8, [x8, _TOAST_NEEDS_DELETE_OLD@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	ldr	w9, [x19]
	orr	w8, w9, w8
	str	w8, [x19]
Lloh11:
	adrp	x28, _TOASTCOL_IGNORE@GOTPAGE
Lloh12:
	ldr	x28, [x28, _TOASTCOL_IGNORE@GOTPAGEOFF]
	b	LBB0_3
LBB0_12:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w8, [x23]
	cmn	w8, #1
	b.eq	LBB0_14
; %bb.13:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	w8, [x28]
	ldr	x9, [x19, #8]
	lsl	x10, x25, #2
	ldr	w11, [x9, x10]
	orr	w8, w11, w8
	str	w8, [x9, x10]
	b	LBB0_5
LBB0_14:                                ;   in Loop: Header=BB0_6 Depth=1
	ldrb	w8, [x23, #4]
	cmp	w8, #112
	b.ne	LBB0_16
; %bb.15:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	w8, [x28]
	ldr	x9, [x19, #8]
	lsl	x10, x25, #2
	ldr	w11, [x9, x10]
	orr	w8, w11, w8
	str	w8, [x9, x10]
LBB0_16:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x22
	bl	_VARATT_IS_EXTERNAL
	cbz	x0, LBB0_21
; %bb.17:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x19, #8]
	str	x22, [x8, x27]
	ldrb	w8, [x23, #4]
	mov	x0, x22
	cmp	w8, #112
	b.ne	LBB0_19
; %bb.18:                               ;   in Loop: Header=BB0_6 Depth=1
	bl	_detoast_attr
	b	LBB0_20
LBB0_19:                                ;   in Loop: Header=BB0_6 Depth=1
	bl	_detoast_external_attr
LBB0_20:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x22, x0
	bl	_PointerGetDatum
	ldp	x9, x8, [x19, #8]
	str	w0, [x8, x25]
Lloh13:
	adrp	x8, _TOASTCOL_NEEDS_FREE@GOTPAGE
Lloh14:
	ldr	x8, [x8, _TOASTCOL_NEEDS_FREE@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	lsl	x10, x25, #2
	ldr	w11, [x9, x10]
	orr	w8, w11, w8
	str	w8, [x9, x10]
Lloh16:
	adrp	x8, _TOAST_NEEDS_CHANGE@GOTPAGE
Lloh17:
	ldr	x8, [x8, _TOAST_NEEDS_CHANGE@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
Lloh19:
	adrp	x9, _TOAST_NEEDS_FREE@GOTPAGE
Lloh20:
	ldr	x9, [x9, _TOAST_NEEDS_FREE@GOTPAGEOFF]
Lloh21:
	ldr	w9, [x9]
	orr	w8, w9, w8
	ldr	w9, [x19]
	orr	w8, w8, w9
	str	w8, [x19]
LBB0_21:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x22
	bl	_VARSIZE_ANY
	ldr	x8, [x19, #8]
	add	x8, x8, x25, lsl #2
	str	w0, [x8, #4]
	b	LBB0_5
LBB0_22:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x22
	bl	_VARATT_IS_EXTERNAL_ONDISK
	cbz	x0, LBB0_11
; %bb.23:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x24
	bl	_VARSIZE_EXTERNAL
	mov	x2, x0
	mov	x0, x24
	mov	x1, x22
	bl	_memcmp
	cbnz	x0, LBB0_11
; %bb.24:                               ;   in Loop: Header=BB0_6 Depth=1
Lloh22:
	adrp	x11, _TOASTCOL_IGNORE@GOTPAGE
Lloh23:
	ldr	x11, [x11, _TOASTCOL_IGNORE@GOTPAGEOFF]
	ldr	w8, [x11]
	ldr	x9, [x19, #8]
	ldr	w10, [x9, x28]
	orr	w8, w10, w8
	str	w8, [x9, x28]
	mov	x28, x11
	b	LBB0_5
LBB0_25:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_TOASTCOL_NEEDS_DELETE_OLD,4,2  ; @TOASTCOL_NEEDS_DELETE_OLD
	.comm	_TOAST_NEEDS_DELETE_OLD,4,2     ; @TOAST_NEEDS_DELETE_OLD
	.comm	_TOASTCOL_IGNORE,4,2            ; @TOASTCOL_IGNORE
	.comm	_TOAST_HAS_NULLS,4,2            ; @TOAST_HAS_NULLS
	.comm	_TOASTCOL_NEEDS_FREE,4,2        ; @TOASTCOL_NEEDS_FREE
	.comm	_TOAST_NEEDS_CHANGE,4,2         ; @TOAST_NEEDS_CHANGE
	.comm	_TOAST_NEEDS_FREE,4,2           ; @TOAST_NEEDS_FREE
.subsections_via_symbols
