	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_MakeTransitionCaptureState     ## -- Begin function MakeTransitionCaptureState
	.p2align	4, 0x90
_MakeTransitionCaptureState:            ## @MakeTransitionCaptureState
	.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
	testq	%rdi, %rdi
	je	LBB0_21
## %bb.1:
	movl	%edx, %ebx
	movl	%esi, %r15d
	movq	%rdi, %r14
	cmpl	$128, %edx
	je	LBB0_6
## %bb.2:
	cmpl	$130, %ebx
	je	LBB0_7
## %bb.3:
	cmpl	$129, %ebx
	jne	LBB0_8
## %bb.4:
	movl	(%r14), %r12d
	jmp	LBB0_9
LBB0_6:
	movl	4(%r14), %r13d
	movl	8(%r14), %r12d
	jmp	LBB0_10
LBB0_7:
	movl	12(%r14), %r13d
	xorl	%r12d, %r12d
	jmp	LBB0_10
LBB0_8:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	xorl	%r12d, %r12d
	movl	%ebx, %edx
	xorl	%eax, %eax
	callq	_elog
LBB0_9:
	xorl	%r13d, %r13d
LBB0_10:
	movl	%r13d, %eax
	orl	%r12d, %eax
	je	LBB0_21
## %bb.11:
	movq	_afterTriggers@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rax
	testq	%rax, %rax
	js	LBB0_23
## %bb.12:
	cmpq	8(%rcx), %rax
	jl	LBB0_14
LBB0_13:
	xorl	%eax, %eax
	callq	_AfterTriggerEnlargeQueryState
LBB0_14:
	movl	%r15d, %edi
	movl	%ebx, %esi
	callq	_GetAfterTriggersTableData
	movq	%rax, %rbx
	movq	_CurTransactionContext@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_MemoryContextSwitchTo
	movl	%eax, %edi
	movq	_CurrentResourceOwner@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r15d
	movq	_CurTransactionResourceOwner@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rcx)
	testl	%r13d, %r13d
	je	LBB0_17
## %bb.15:
	cmpq	$0, 8(%rbx)
	jne	LBB0_17
## %bb.16:
	movq	_work_mem@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%edi, %r13d
	xorl	%edi, %edi
	xorl	%esi, %esi
	callq	_tuplestore_begin_heap
	movq	_CurrentResourceOwner@GOTPCREL(%rip), %rcx
	movl	%r13d, %edi
	movq	%rax, 8(%rbx)
LBB0_17:
	testl	%r12d, %r12d
	je	LBB0_20
## %bb.18:
	cmpq	$0, (%rbx)
	jne	LBB0_20
## %bb.19:
	movq	_work_mem@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%edi, %r12d
	xorl	%edi, %edi
	xorl	%esi, %esi
	movq	%rcx, %r13
	callq	_tuplestore_begin_heap
	movq	%r13, %rcx
	movl	%r12d, %edi
	movq	%rax, (%rbx)
LBB0_20:
	movl	%r15d, (%rcx)
	callq	_MemoryContextSwitchTo
	movl	$24, %edi
	callq	_palloc0
	movdqu	(%r14), %xmm0
	pshufd	$39, %xmm0, %xmm0               ## xmm0 = xmm0[3,1,2,0]
	movdqu	%xmm0, (%rax)
	movq	%rbx, 16(%rax)
	jmp	LBB0_22
LBB0_21:
	xorl	%eax, %eax
LBB0_22:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_23:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	xorl	%eax, %eax
	callq	_elog
	movq	_afterTriggers@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rax
	cmpq	8(%rcx), %rax
	jge	LBB0_13
	jmp	LBB0_14
	.cfi_endproc
                                        ## -- End function
	.comm	_ERROR,4,2                      ## @ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"unexpected CmdType: %d"

	.comm	_afterTriggers,16,3             ## @afterTriggers
L_.str.1:                               ## @.str.1
	.asciz	"MakeTransitionCaptureState() called outside of query"

	.comm	_CurTransactionContext,4,2      ## @CurTransactionContext
	.comm	_CurrentResourceOwner,4,2       ## @CurrentResourceOwner
	.comm	_CurTransactionResourceOwner,4,2 ## @CurTransactionResourceOwner
	.comm	_work_mem,4,2                   ## @work_mem
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_MakeTransitionCaptureState     ; -- Begin function MakeTransitionCaptureState
	.p2align	2
_MakeTransitionCaptureState:            ; @MakeTransitionCaptureState
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.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
	cbz	x0, LBB0_20
; %bb.1:
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
	cmp	w2, #128
	b.eq	LBB0_5
; %bb.2:
	cmp	w20, #130
	b.eq	LBB0_6
; %bb.3:
	cmp	w20, #129
	b.ne	LBB0_8
; %bb.4:
	mov	w23, #0
	ldr	w22, [x19]
	orr	w8, w23, w22
	cbz	w8, LBB0_7
	b	LBB0_9
LBB0_5:
	ldp	w23, w22, [x19, #4]
	orr	w8, w23, w22
	cbz	w8, LBB0_7
	b	LBB0_9
LBB0_6:
	mov	w22, #0
	ldr	w23, [x19, #12]
	orr	w8, w23, w22
	cbnz	w8, LBB0_9
LBB0_7:
	mov	x0, #0
	b	LBB0_20
LBB0_8:
Lloh0:
	adrp	x8, _ERROR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	str	x20, [sp]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_elog
	mov	w22, #0
	mov	w23, #0
	orr	w8, w23, w22
	cbz	w8, LBB0_7
LBB0_9:
Lloh5:
	adrp	x24, _afterTriggers@GOTPAGE
Lloh6:
	ldr	x24, [x24, _afterTriggers@GOTPAGEOFF]
	ldr	x8, [x24]
	tbz	x8, #63, LBB0_11
; %bb.10:
Lloh7:
	adrp	x8, _ERROR@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
Lloh10:
	adrp	x1, l_.str.1@PAGE
Lloh11:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_elog
	ldr	x8, [x24]
LBB0_11:
	ldr	x9, [x24, #8]
	cmp	x8, x9
	b.lt	LBB0_13
; %bb.12:
	bl	_AfterTriggerEnlargeQueryState
LBB0_13:
	mov	x0, x21
	mov	x1, x20
	bl	_GetAfterTriggersTableData
	mov	x20, x0
Lloh12:
	adrp	x8, _CurTransactionContext@GOTPAGE
Lloh13:
	ldr	x8, [x8, _CurTransactionContext@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	bl	_MemoryContextSwitchTo
	mov	x21, x0
Lloh15:
	adrp	x24, _CurrentResourceOwner@GOTPAGE
Lloh16:
	ldr	x24, [x24, _CurrentResourceOwner@GOTPAGEOFF]
	ldr	w25, [x24]
Lloh17:
	adrp	x8, _CurTransactionResourceOwner@GOTPAGE
Lloh18:
	ldr	x8, [x8, _CurTransactionResourceOwner@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	str	w8, [x24]
	cbz	w23, LBB0_16
; %bb.14:
	ldr	x8, [x20, #8]
	cbnz	x8, LBB0_16
; %bb.15:
Lloh20:
	adrp	x8, _work_mem@GOTPAGE
Lloh21:
	ldr	x8, [x8, _work_mem@GOTPAGEOFF]
Lloh22:
	ldr	w2, [x8]
	mov	w0, #0
	mov	w1, #0
	bl	_tuplestore_begin_heap
	str	x0, [x20, #8]
LBB0_16:
	cbz	w22, LBB0_19
; %bb.17:
	ldr	x8, [x20]
	cbnz	x8, LBB0_19
; %bb.18:
Lloh23:
	adrp	x8, _work_mem@GOTPAGE
Lloh24:
	ldr	x8, [x8, _work_mem@GOTPAGEOFF]
Lloh25:
	ldr	w2, [x8]
	mov	w0, #0
	mov	w1, #0
	bl	_tuplestore_begin_heap
	str	x0, [x20]
LBB0_19:
	str	w25, [x24]
	mov	x0, x21
	bl	_MemoryContextSwitchTo
	mov	w0, #24
	bl	_palloc0
	ldr	q0, [x19]
	mov.16b	v1, v0
	mov.s	v1[0], v0[3]
	mov.s	v1[3], v0[0]
	str	q1, [x0]
	str	x20, [x0, #16]
LBB0_20:
	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
	add	sp, sp, #96
	ret
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.comm	_ERROR,4,2                      ; @ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"unexpected CmdType: %d"

	.comm	_afterTriggers,16,3             ; @afterTriggers
l_.str.1:                               ; @.str.1
	.asciz	"MakeTransitionCaptureState() called outside of query"

	.comm	_CurTransactionContext,4,2      ; @CurTransactionContext
	.comm	_CurrentResourceOwner,4,2       ; @CurrentResourceOwner
	.comm	_CurTransactionResourceOwner,4,2 ; @CurTransactionResourceOwner
	.comm	_work_mem,4,2                   ; @work_mem
.subsections_via_symbols
