	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_index_set_state_flags          ## -- Begin function index_set_state_flags
	.p2align	4, 0x90
_index_set_state_flags:                 ## @index_set_state_flags
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r13d
	movl	%edi, %r12d
	xorl	%eax, %eax
	callq	_GetTopTransactionIdIfAny
	movq	_InvalidTransactionId@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	sete	%dil
	callq	_Assert
	movq	_IndexRelationId@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_RowExclusiveLock@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_table_open
	movl	%eax, %r14d
	movq	_INDEXRELID@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	%r12d, %edi
	callq	_ObjectIdGetDatum
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_SearchSysCacheCopy1
	movl	%eax, %r15d
	movl	%eax, %edi
	callq	_HeapTupleIsValid
	testl	%eax, %eax
	jne	LBB0_2
## %bb.1:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movl	%r12d, %edx
	callq	_elog
LBB0_2:
	movl	%r15d, %edi
	callq	_GETSTRUCT
	addl	$-128, %r13d
	cmpl	$3, %r13d
	ja	LBB0_8
## %bb.3:
	movq	%rax, %r12
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%r13,4), %rcx
	addq	%rax, %rcx
	jmpq	*%rcx
LBB0_7:
	xorl	%edi, %edi
	cmpl	$0, 8(%r12)
	sete	%dil
	callq	_Assert
	movq	$0, (%r12)
	jmp	LBB0_8
LBB0_6:
	movq	$0, 8(%r12)
	jmp	LBB0_8
LBB0_5:
	movl	(%r12), %edi
	callq	_Assert
	movl	4(%r12), %edi
	callq	_Assert
	xorl	%edi, %edi
	cmpl	$0, 8(%r12)
	sete	%dil
	callq	_Assert
	movl	$1, 8(%r12)
	jmp	LBB0_8
LBB0_4:
	movl	(%r12), %edi
	callq	_Assert
	xorl	%edi, %edi
	cmpl	$0, 4(%r12)
	sete	%dil
	callq	_Assert
	xorl	%edi, %edi
	cmpl	$0, 8(%r12)
	sete	%dil
	callq	_Assert
	movl	$1, 4(%r12)
LBB0_8:
	movl	%r14d, %edi
	movl	%r15d, %esi
	callq	_heap_inplace_update
	movq	_RowExclusiveLock@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r14d, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_table_close                    ## TAILCALL
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
LJTI0_0:
	.long	L0_0_set_7
	.long	L0_0_set_6
	.long	L0_0_set_5
	.long	L0_0_set_4
	.end_data_region
                                        ## -- End function
	.comm	_InvalidTransactionId,8,3       ## @InvalidTransactionId
	.comm	_IndexRelationId,4,2            ## @IndexRelationId
	.comm	_RowExclusiveLock,4,2           ## @RowExclusiveLock
	.comm	_INDEXRELID,4,2                 ## @INDEXRELID
	.comm	_ERROR,4,2                      ## @ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"cache lookup failed for index %u"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_index_set_state_flags          ; -- Begin function index_set_state_flags
	.p2align	2
_index_set_state_flags:                 ; @index_set_state_flags
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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, x1
	mov	x21, x0
	bl	_GetTopTransactionIdIfAny
Lloh0:
	adrp	x8, _InvalidTransactionId@GOTPAGE
Lloh1:
	ldr	x8, [x8, _InvalidTransactionId@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	cset	w0, eq
	bl	_Assert
Lloh3:
	adrp	x8, _IndexRelationId@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IndexRelationId@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
Lloh6:
	adrp	x23, _RowExclusiveLock@GOTPAGE
Lloh7:
	ldr	x23, [x23, _RowExclusiveLock@GOTPAGEOFF]
	ldr	w1, [x23]
	bl	_table_open
	mov	x19, x0
Lloh8:
	adrp	x8, _INDEXRELID@GOTPAGE
Lloh9:
	ldr	x8, [x8, _INDEXRELID@GOTPAGEOFF]
Lloh10:
	ldr	w20, [x8]
	mov	x0, x21
	bl	_ObjectIdGetDatum
	mov	x1, x0
	mov	x0, x20
	bl	_SearchSysCacheCopy1
	mov	x20, x0
	bl	_HeapTupleIsValid
	cbnz	w0, LBB0_2
; %bb.1:
Lloh11:
	adrp	x8, _ERROR@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
Lloh14:
	adrp	x1, l_.str@PAGE
Lloh15:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x21
	bl	_elog
LBB0_2:
	mov	x0, x20
	bl	_GETSTRUCT
	sub	w8, w22, #128
	cmp	w8, #3
	b.hi	LBB0_8
; %bb.3:
	mov	x21, x0
Lloh16:
	adrp	x9, lJTI0_0@PAGE
Lloh17:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_4
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_4:
	ldr	w8, [x21, #8]
	cmp	w8, #0
	cset	w0, eq
	bl	_Assert
	str	xzr, [x21]
	b	LBB0_8
LBB0_5:
	str	xzr, [x21, #8]
	b	LBB0_8
LBB0_6:
	ldr	w0, [x21]
	bl	_Assert
	ldr	w0, [x21, #4]
	bl	_Assert
	ldr	w8, [x21, #8]
	cmp	w8, #0
	cset	w0, eq
	bl	_Assert
	mov	w8, #1
	str	w8, [x21, #8]
	b	LBB0_8
LBB0_7:
	ldr	w0, [x21]
	bl	_Assert
	ldr	w8, [x21, #4]
	cmp	w8, #0
	cset	w0, eq
	bl	_Assert
	ldr	w8, [x21, #8]
	cmp	w8, #0
	cset	w0, eq
	bl	_Assert
	mov	w8, #1
	str	w8, [x21, #4]
LBB0_8:
	mov	x0, x19
	mov	x1, x20
	bl	_heap_inplace_update
	ldr	w1, [x23]
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_table_close
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh16, Lloh17
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_4-LBB0_4)>>2
	.byte	(LBB0_5-LBB0_4)>>2
	.byte	(LBB0_6-LBB0_4)>>2
	.byte	(LBB0_7-LBB0_4)>>2
                                        ; -- End function
	.comm	_InvalidTransactionId,8,3       ; @InvalidTransactionId
	.comm	_IndexRelationId,4,2            ; @IndexRelationId
	.comm	_RowExclusiveLock,4,2           ; @RowExclusiveLock
	.comm	_INDEXRELID,4,2                 ; @INDEXRELID
	.comm	_ERROR,4,2                      ; @ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"cache lookup failed for index %u"

.subsections_via_symbols
