	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_heap_deform_tuple              ## -- Begin function heap_deform_tuple
	.p2align	4, 0x90
_heap_deform_tuple:                     ## @heap_deform_tuple
	.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
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movq	%rdx, %r12
	movq	%rsi, %r13
	movq	(%rdi), %r15
	callq	_HeapTupleHasNulls
	movl	%eax, -64(%rbp)                 ## 4-byte Spill
	movl	(%r13), %ebx
	movq	8(%r15), %rax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movq	%r15, %rdi
	callq	_HeapTupleHeaderGetNatts
	movl	%eax, %edi
	movq	%rbx, -80(%rbp)                 ## 8-byte Spill
	movl	%ebx, %esi
	callq	_Min
	testl	%eax, %eax
	jle	LBB0_1
## %bb.6:
	movq	%r12, -48(%rbp)                 ## 8-byte Spill
	movslq	(%r15), %rcx
	addq	%r15, %rcx
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	movl	%eax, -60(%rbp)                 ## 4-byte Spill
	movl	%eax, %eax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	xorl	%r15d, %r15d
	xorl	%r14d, %r14d
	xorl	%r12d, %r12d
	movq	%r13, -104(%rbp)                ## 8-byte Spill
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_7 Depth=1
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	$0, (%rax,%r15,8)
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	$1, (%rax,%r15,4)
	movl	$1, %r14d
LBB0_22:                                ##   in Loop: Header=BB0_7 Depth=1
	incq	%r15
	cmpq	%r15, -96(%rbp)                 ## 8-byte Folded Reload
	movq	-104(%rbp), %r13                ## 8-byte Reload
	je	LBB0_23
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r13, %rdi
	movl	%r15d, %esi
	callq	_TupleDescAttr
	movq	%rax, %r13
	cmpl	$0, -64(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_10
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	movl	%r15d, %edi
	movq	-88(%rbp), %rsi                 ## 8-byte Reload
	callq	_att_isnull
	testq	%rax, %rax
	jne	LBB0_9
LBB0_10:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	$0, (%rax,%r15,4)
	testl	%r14d, %r14d
	je	LBB0_11
## %bb.15:                              ##   in Loop: Header=BB0_7 Depth=1
	cmpl	$-1, 8(%r13)
	je	LBB0_18
## %bb.16:                              ##   in Loop: Header=BB0_7 Depth=1
	movl	12(%r13), %esi
	movq	%r12, %rdi
	callq	_att_align_nominal
	jmp	LBB0_17
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	(%r13), %rax
	xorl	%r14d, %r14d
	testq	%rax, %rax
	jns	LBB0_20
## %bb.12:                              ##   in Loop: Header=BB0_7 Depth=1
	movl	8(%r13), %ebx
	movl	12(%r13), %esi
	movq	%r12, %rdi
	callq	_att_align_nominal
	cmpl	$-1, %ebx
	je	LBB0_13
## %bb.19:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	%rax, (%r13)
LBB0_20:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	%rax, %r12
	jmp	LBB0_21
LBB0_13:                                ##   in Loop: Header=BB0_7 Depth=1
	cmpq	%rax, %r12
	jne	LBB0_18
## %bb.14:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	%r12, (%r13)
	jmp	LBB0_21
LBB0_18:                                ##   in Loop: Header=BB0_7 Depth=1
	movl	12(%r13), %esi
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rax,%r12), %rcx
	movq	%r12, %rdi
	movl	$-1, %edx
	callq	_att_align_pointer
LBB0_17:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	%rax, %r12
	movl	$1, %r14d
LBB0_21:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rax,%r12), %rbx
	movq	%r13, %rdi
	movq	%rbx, %rsi
	callq	_fetchatt
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, (%rcx,%r15,8)
	movl	8(%r13), %esi
	movq	%r12, %rdi
	movq	%rbx, %rdx
	callq	_att_addlength_pointer
	movq	%rax, %r12
	cmpl	$0, 8(%r13)
	movl	$1, %eax
	cmovlel	%eax, %r14d
	jmp	LBB0_22
LBB0_23:
	movq	-48(%rbp), %r12                 ## 8-byte Reload
	movl	-60(%rbp), %eax                 ## 4-byte Reload
	cmpl	-80(%rbp), %eax                 ## 4-byte Folded Reload
	jl	LBB0_3
	jmp	LBB0_5
LBB0_1:
	xorl	%eax, %eax
	cmpl	-80(%rbp), %eax                 ## 4-byte Folded Reload
	jge	LBB0_5
LBB0_3:
	movl	%eax, %r14d
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rax,%r14,4), %rbx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	leaq	1(%r14), %r15
	movq	%r13, %rdi
	movl	%r15d, %esi
	movq	%rbx, %rdx
	callq	_getmissingattr
	movq	%rax, (%r12,%r14,8)
	addq	$4, %rbx
	movq	%r15, %r14
	cmpq	%r15, -80(%rbp)                 ## 8-byte Folded Reload
	jne	LBB0_4
LBB0_5:
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_heap_deform_tuple              ; -- Begin function heap_deform_tuple
	.p2align	2
_heap_deform_tuple:                     ; @heap_deform_tuple
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	mov	x22, x3
	mov	x19, x2
	mov	x20, x1
	ldr	x28, [x0]
	bl	_HeapTupleHasNulls
	mov	x23, x0
	ldr	w24, [x20]
	ldr	x8, [x28, #8]
	str	x8, [sp, #16]                   ; 8-byte Folded Spill
	mov	x0, x28
	bl	_HeapTupleHeaderGetNatts
	mov	x1, x24
	bl	_Min
	cmp	w0, #1
	b.lt	LBB0_19
; %bb.1:
	str	x24, [sp, #8]                   ; 8-byte Folded Spill
	mov	x26, #0
	mov	w24, #0
	mov	x27, #0
	ldrsw	x8, [x28]
	add	x8, x28, x8
	str	x8, [sp, #24]                   ; 8-byte Folded Spill
	str	w0, [sp, #4]                    ; 4-byte Folded Spill
	mov	w21, w0
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	str	xzr, [x19, x26, lsl #3]
	mov	w24, #1
	str	w24, [x22, x26, lsl #2]
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x26, x26, #1
	cmp	x21, x26
	b.eq	LBB0_18
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	mov	x1, x26
	bl	_TupleDescAttr
	mov	x28, x0
	cbz	w23, LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x26
	ldr	x1, [sp, #16]                   ; 8-byte Folded Reload
	bl	_att_isnull
	cbnz	x0, LBB0_2
LBB0_6:                                 ;   in Loop: Header=BB0_4 Depth=1
	str	wzr, [x22, x26, lsl #2]
	cbz	w24, LBB0_9
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x28, #8]
	cmn	w8, #1
	b.eq	LBB0_15
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w1, [x28, #12]
	mov	x0, x27
	bl	_att_align_nominal
	b	LBB0_16
LBB0_9:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x28]
	tbnz	x8, #63, LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	w25, #0
	mov	x27, x8
	b	LBB0_17
LBB0_11:                                ;   in Loop: Header=BB0_4 Depth=1
	ldp	w24, w1, [x28, #8]
	mov	x0, x27
	bl	_att_align_nominal
	cmn	w24, #1
	b.eq	LBB0_13
; %bb.12:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	w25, #0
	str	x0, [x28]
	mov	x27, x0
	b	LBB0_17
LBB0_13:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	x27, x0
	b.ne	LBB0_15
; %bb.14:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	w25, #0
	str	x27, [x28]
	b	LBB0_17
LBB0_15:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w1, [x28, #12]
	ldr	x8, [sp, #24]                   ; 8-byte Folded Reload
	add	x3, x8, x27
	mov	x0, x27
	mov	w2, #-1
	bl	_att_align_pointer
LBB0_16:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x27, x0
	mov	w25, #1
LBB0_17:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [sp, #24]                   ; 8-byte Folded Reload
	add	x24, x8, x27
	mov	x0, x28
	mov	x1, x24
	bl	_fetchatt
	str	x0, [x19, x26, lsl #3]
	ldr	w1, [x28, #8]
	mov	x0, x27
	mov	x2, x24
	bl	_att_addlength_pointer
	mov	x27, x0
	ldr	w8, [x28, #8]
	cmp	w8, #1
	csinc	w24, w25, wzr, ge
	b	LBB0_3
LBB0_18:
	ldr	x24, [sp, #8]                   ; 8-byte Folded Reload
	ldr	w8, [sp, #4]                    ; 4-byte Folded Reload
	cmp	w8, w24
	b.lt	LBB0_20
	b	LBB0_22
LBB0_19:
	mov	w8, #0
	cmp	w8, w24
	b.ge	LBB0_22
LBB0_20:
	mov	w21, w8
	add	x22, x22, w8, uxtw #2
LBB0_21:                                ; =>This Inner Loop Header: Depth=1
	add	x23, x21, #1
	mov	x0, x20
	mov	x1, x23
	mov	x2, x22
	bl	_getmissingattr
	str	x0, [x19, x21, lsl #3]
	add	x22, x22, #4
	mov	x21, x23
	cmp	x24, x23
	b.ne	LBB0_21
LBB0_22:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
