	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_index_deform_tuple             ## -- Begin function index_deform_tuple
	.p2align	4, 0x90
_index_deform_tuple:                    ## @index_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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	movq	%rsi, %rbx
	movq	%rdi, %r14
	callq	_IndexTupleHasNulls
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	%rbx, -96(%rbp)                 ## 8-byte Spill
	movl	(%rbx), %ebx
	movq	_INDEX_MAX_KEYS@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	cmpl	(%rax), %ebx
	setle	%dil
	callq	_Assert
	movl	(%r14), %edi
	callq	_IndexInfoFindDataOffset
	movq	%rbx, -88(%rbp)                 ## 8-byte Spill
	testl	%ebx, %ebx
	jle	LBB0_18
## %bb.1:
	leaq	4(%r14), %rcx
	movq	%rcx, -80(%rbp)                 ## 8-byte Spill
	cltq
	addq	%r14, %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	xorl	%r13d, %r13d
	xorl	%r12d, %r12d
	xorl	%r14d, %r14d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	$0, (%rax,%r13,4)
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movl	$1, (%rax,%r13,4)
	movl	$1, %r12d
LBB0_17:                                ##   in Loop: Header=BB0_2 Depth=1
	incq	%r13
	cmpq	%r13, -88(%rbp)                 ## 8-byte Folded Reload
	je	LBB0_18
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	movl	%r13d, %esi
	callq	_TupleDescAttr
	movq	%rax, %r15
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	%r13d, %edi
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	callq	_att_isnull
	testq	%rax, %rax
	jne	LBB0_4
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movl	$0, (%rax,%r13,4)
	testl	%r12d, %r12d
	je	LBB0_6
## %bb.10:                              ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$-1, 4(%r15)
	je	LBB0_13
## %bb.11:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	8(%r15), %esi
	movl	%r14d, %edi
	callq	_att_align_nominal
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	(%r15), %eax
	xorl	%r12d, %r12d
	testl	%eax, %eax
	jns	LBB0_15
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	4(%r15), %ebx
	movl	8(%r15), %esi
	movl	%r14d, %edi
	callq	_att_align_nominal
	cmpl	$-1, %ebx
	je	LBB0_8
## %bb.14:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	%eax, (%r15)
LBB0_15:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	%eax, %r14d
	jmp	LBB0_16
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	cmpl	%eax, %r14d
	jne	LBB0_13
## %bb.9:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	%r14d, (%r15)
	jmp	LBB0_16
LBB0_13:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	8(%r15), %esi
	movslq	%r14d, %rcx
	addq	-56(%rbp), %rcx                 ## 8-byte Folded Reload
	movl	%r14d, %edi
	movl	$-1, %edx
	callq	_att_align_pointer
LBB0_12:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	%eax, %r14d
	movl	$1, %r12d
LBB0_16:                                ##   in Loop: Header=BB0_2 Depth=1
	movslq	%r14d, %rbx
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rax,%rbx), %r14
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_fetchatt
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, (%rcx,%r13,4)
	movl	4(%r15), %esi
	movl	%ebx, %edi
	movq	%r14, %rdx
	callq	_att_addlength_pointer
	movl	%eax, %r14d
	cmpl	$0, 4(%r15)
	movl	$1, %eax
	cmovlel	%eax, %r12d
	jmp	LBB0_17
LBB0_18:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_INDEX_MAX_KEYS,4,2             ## @INDEX_MAX_KEYS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_index_deform_tuple             ; -- Begin function index_deform_tuple
	.p2align	2
_index_deform_tuple:                    ; @index_deform_tuple
	.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
	mov	x19, x3
	mov	x20, x2
	mov	x21, x1
	mov	x26, x0
	bl	_IndexTupleHasNulls
	mov	x22, x0
	ldr	w28, [x21]
Lloh0:
	adrp	x8, _INDEX_MAX_KEYS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _INDEX_MAX_KEYS@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w28, w8
	cset	w0, le
	bl	_Assert
	mov	x8, x26
	ldr	w0, [x8], #4
	str	x8, [sp]                        ; 8-byte Folded Spill
	bl	_IndexInfoFindDataOffset
	cmp	w28, #1
	b.lt	LBB0_18
; %bb.1:
	mov	x24, #0
	mov	w27, #0
	mov	w25, #0
	add	x8, x26, w0, sxtw
	str	x8, [sp, #8]                    ; 8-byte Folded Spill
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	lsl	x8, x24, #2
	str	wzr, [x20, x8]
	mov	w27, #1
	str	w27, [x19, x8]
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x24, x24, #1
	cmp	x28, x24
	b.eq	LBB0_18
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	mov	x1, x24
	bl	_TupleDescAttr
	mov	x26, x0
	cbz	w22, LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x24
	ldr	x1, [sp]                        ; 8-byte Folded Reload
	bl	_att_isnull
	cbnz	x0, LBB0_2
LBB0_6:                                 ;   in Loop: Header=BB0_4 Depth=1
	str	wzr, [x19, x24, lsl #2]
	cbz	w27, LBB0_9
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x26, #4]
	cmn	w8, #1
	b.eq	LBB0_15
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w1, [x26, #8]
	mov	x0, x25
	bl	_att_align_nominal
	b	LBB0_16
LBB0_9:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x26]
	tbnz	w8, #31, LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	w23, #0
	mov	x25, x8
	b	LBB0_17
LBB0_11:                                ;   in Loop: Header=BB0_4 Depth=1
	ldp	w23, w1, [x26, #4]
	mov	x0, x25
	bl	_att_align_nominal
	cmn	w23, #1
	b.eq	LBB0_13
; %bb.12:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	w23, #0
	str	w0, [x26]
	mov	x25, x0
	b	LBB0_17
LBB0_13:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	w25, w0
	b.ne	LBB0_15
; %bb.14:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	w23, #0
	str	w25, [x26]
	b	LBB0_17
LBB0_15:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w1, [x26, #8]
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	add	x3, x8, w25, sxtw
	mov	x0, x25
	mov	w2, #-1
	bl	_att_align_pointer
LBB0_16:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x25, x0
	mov	w23, #1
LBB0_17:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	add	x27, x8, w25, sxtw
	mov	x0, x26
	mov	x1, x27
	bl	_fetchatt
	str	w0, [x20, x24, lsl #2]
	ldr	w1, [x26, #4]
	mov	x0, x25
	mov	x2, x27
	bl	_att_addlength_pointer
	mov	x25, x0
	ldr	w8, [x26, #4]
	cmp	w8, #1
	csinc	w27, w23, wzr, ge
	b	LBB0_3
LBB0_18:
	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
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_INDEX_MAX_KEYS,4,2             ; @INDEX_MAX_KEYS
.subsections_via_symbols
