	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ExecSetupTransitionCaptureState
_ExecSetupTransitionCaptureState:       ## @ExecSetupTransitionCaptureState
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	24(%rdi), %r12
	callq	_getTargetResultRelInfo
	movq	%rax, %r14
	movl	(%rax), %edi
	movl	4(%rax), %r15d
	callq	_RelationGetRelid
	movq	(%rbx), %rdx
	movl	%r15d, %edi
	movl	%eax, %esi
	callq	_MakeTransitionCaptureState
	movq	%rax, 8(%rbx)
	movq	(%r12), %rcx
	movq	_CMD_INSERT@GOTPCREL(%rip), %r15
	cmpq	(%r15), %rcx
	jne	LBB0_3
## %bb.1:
	movq	8(%r12), %rcx
	movq	_ONCONFLICT_UPDATE@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_3
## %bb.2:
	movl	(%r14), %edi
	movl	4(%r14), %r14d
	callq	_RelationGetRelid
	movq	_CMD_UPDATE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdx
	movl	%r14d, %edi
	movl	%eax, %esi
	callq	_MakeTransitionCaptureState
	movq	%rax, 16(%rbx)
	movq	8(%rbx), %rax
LBB0_3:
	testq	%rax, %rax
	jne	LBB0_5
## %bb.4:
	cmpq	$0, 16(%rbx)
	je	LBB0_8
LBB0_5:
	movq	%rbx, %rdi
	callq	_ExecSetupChildParentMapForSubplan
	cmpq	$0, 8(%rbx)
	je	LBB0_8
## %bb.6:
	movq	(%rbx), %rax
	cmpq	(%r15), %rax
	je	LBB0_8
## %bb.7:
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_tupconv_map_for_subplan
	movq	8(%rbx), %rcx
	movl	%eax, (%rcx)
LBB0_8:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CMD_INSERT,8,3                 ## @CMD_INSERT
	.comm	_ONCONFLICT_UPDATE,8,3          ## @ONCONFLICT_UPDATE
	.comm	_CMD_UPDATE,8,3                 ## @CMD_UPDATE
	.no_dead_strip	_ExecSetupTransitionCaptureState
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ExecSetupTransitionCaptureState
_ExecSetupTransitionCaptureState:       ; @ExecSetupTransitionCaptureState
	.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	x19, x0
	ldr	x23, [x0, #24]
	bl	_getTargetResultRelInfo
	mov	x20, x0
	ldp	w0, w21, [x0]
	bl	_RelationGetRelid
	mov	x1, x0
	ldr	x2, [x19]
	mov	x0, x21
	bl	_MakeTransitionCaptureState
	str	x0, [x19, #8]
	ldr	x8, [x23]
Lloh0:
	adrp	x22, _CMD_INSERT@GOTPAGE
Lloh1:
	ldr	x22, [x22, _CMD_INSERT@GOTPAGEOFF]
	ldr	x9, [x22]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.1:
	ldr	x8, [x23, #8]
Lloh2:
	adrp	x9, _ONCONFLICT_UPDATE@GOTPAGE
Lloh3:
	ldr	x9, [x9, _ONCONFLICT_UPDATE@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.2:
	ldp	w0, w21, [x20]
	bl	_RelationGetRelid
	mov	x1, x0
Lloh5:
	adrp	x8, _CMD_UPDATE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _CMD_UPDATE@GOTPAGEOFF]
Lloh7:
	ldr	x2, [x8]
	mov	x0, x21
	bl	_MakeTransitionCaptureState
	str	x0, [x19, #16]
	ldr	x0, [x19, #8]
LBB0_3:
	cbnz	x0, LBB0_5
; %bb.4:
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_8
LBB0_5:
	mov	x0, x19
	bl	_ExecSetupChildParentMapForSubplan
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_8
; %bb.6:
	ldr	x8, [x19]
	ldr	x9, [x22]
	cmp	x8, x9
	b.eq	LBB0_8
; %bb.7:
	mov	x0, x19
	mov	w1, #0
	bl	_tupconv_map_for_subplan
	ldr	x8, [x19, #8]
	str	w0, [x8]
LBB0_8:
	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
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_CMD_INSERT,8,3                 ; @CMD_INSERT
	.comm	_ONCONFLICT_UPDATE,8,3          ; @ONCONFLICT_UPDATE
	.comm	_CMD_UPDATE,8,3                 ; @CMD_UPDATE
	.no_dead_strip	_ExecSetupTransitionCaptureState
.subsections_via_symbols
