	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rewriteTargetListUD            ## -- Begin function rewriteTargetListUD
	.p2align	4, 0x90
_rewriteTargetListUD:                   ## @rewriteTargetListUD
	.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, %r15
	movq	8(%rdx), %rax
	movq	(%rax), %rax
	movq	_RELKIND_RELATION@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_3
## %bb.1:
	movq	_RELKIND_MATVIEW@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_3
## %bb.2:
	movq	_RELKIND_PARTITIONED_TABLE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_3
## %bb.4:
	movq	_RELKIND_FOREIGN_TABLE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_17
## %bb.5:
	movq	%rdx, %rbx
	movq	%rsi, %r14
	movq	%rdx, %rdi
	xorl	%esi, %esi
	callq	_GetFdwRoutineForRelation
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	movq	%r15, %rdi
	movq	%r14, %rsi
	movq	%rbx, %rdx
	callq	*%rax
LBB0_7:
	movq	(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_17
## %bb.8:
	movq	(%r15), %rcx
	movq	_CMD_UPDATE@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_11
## %bb.9:
	cmpq	$0, 24(%rax)
	jne	LBB0_14
## %bb.10:
	cmpq	$0, 16(%rax)
	jne	LBB0_14
LBB0_11:
	movq	_CMD_DELETE@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_17
## %bb.12:
	cmpq	$0, 8(%rax)
	jne	LBB0_14
## %bb.13:
	cmpq	$0, (%rax)
	je	LBB0_17
LBB0_14:
	movl	12(%r15), %esi
	movq	%r14, %rdi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_makeWholeRowVar
	movq	%rax, %rbx
	leaq	L_.str.1(%rip), %r14
	testq	%rbx, %rbx
	jne	LBB0_16
	jmp	LBB0_17
LBB0_3:
	movl	12(%r15), %edi
	movq	_SelfItemPointerAttributeNumber@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_TIDOID@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_InvalidOid@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movl	$-1, %ecx
	xorl	%r9d, %r9d
	callq	_makeVar
	movq	%rax, %rbx
	leaq	L_.str(%rip), %r14
	testq	%rbx, %rbx
	je	LBB0_17
LBB0_16:
	movl	8(%r15), %edi
	callq	_list_length
	leaq	1(%rax), %r12
	movq	%r14, %rdi
	callq	_pstrdup
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movl	%eax, %edx
	movl	$1, %ecx
	callq	_makeTargetEntry
	movl	8(%r15), %edi
	movq	%rax, %rsi
	callq	_lappend
	movl	%eax, 8(%r15)
LBB0_17:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RELKIND_RELATION,8,3           ## @RELKIND_RELATION
	.comm	_RELKIND_MATVIEW,8,3            ## @RELKIND_MATVIEW
	.comm	_RELKIND_PARTITIONED_TABLE,8,3  ## @RELKIND_PARTITIONED_TABLE
	.comm	_SelfItemPointerAttributeNumber,4,2 ## @SelfItemPointerAttributeNumber
	.comm	_TIDOID,4,2                     ## @TIDOID
	.comm	_InvalidOid,4,2                 ## @InvalidOid
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ctid"

	.comm	_RELKIND_FOREIGN_TABLE,8,3      ## @RELKIND_FOREIGN_TABLE
	.comm	_CMD_UPDATE,8,3                 ## @CMD_UPDATE
	.comm	_CMD_DELETE,8,3                 ## @CMD_DELETE
L_.str.1:                               ## @.str.1
	.asciz	"wholerow"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rewriteTargetListUD            ; -- Begin function rewriteTargetListUD
	.p2align	2
_rewriteTargetListUD:                   ; @rewriteTargetListUD
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x0
	ldr	x8, [x2, #8]
	ldr	x8, [x8]
Lloh0:
	adrp	x9, _RELKIND_RELATION@GOTPAGE
Lloh1:
	ldr	x9, [x9, _RELKIND_RELATION@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
Lloh3:
	adrp	x10, _RELKIND_MATVIEW@GOTPAGE
Lloh4:
	ldr	x10, [x10, _RELKIND_MATVIEW@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
Lloh6:
	adrp	x11, _RELKIND_PARTITIONED_TABLE@GOTPAGE
Lloh7:
	ldr	x11, [x11, _RELKIND_PARTITIONED_TABLE@GOTPAGEOFF]
Lloh8:
	ldr	x11, [x11]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	ccmp	x8, x11, #4, ne
	b.ne	LBB0_3
; %bb.1:
	ldr	w0, [x19, #12]
Lloh9:
	adrp	x8, _SelfItemPointerAttributeNumber@GOTPAGE
Lloh10:
	ldr	x8, [x8, _SelfItemPointerAttributeNumber@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
Lloh12:
	adrp	x8, _TIDOID@GOTPAGE
Lloh13:
	ldr	x8, [x8, _TIDOID@GOTPAGEOFF]
Lloh14:
	ldr	w2, [x8]
Lloh15:
	adrp	x8, _InvalidOid@GOTPAGE
Lloh16:
	ldr	x8, [x8, _InvalidOid@GOTPAGEOFF]
Lloh17:
	ldr	w4, [x8]
	mov	w3, #-1
	mov	w5, #0
	bl	_makeVar
	mov	x20, x0
Lloh18:
	adrp	x21, l_.str@PAGE
Lloh19:
	add	x21, x21, l_.str@PAGEOFF
	cbz	x20, LBB0_14
LBB0_2:
	ldr	w0, [x19, #8]
	bl	_list_length
	add	x22, x0, #1
	mov	x0, x21
	bl	_pstrdup
	mov	x2, x0
	mov	x0, x20
	mov	x1, x22
	mov	w3, #1
	bl	_makeTargetEntry
	mov	x1, x0
	ldr	w0, [x19, #8]
	bl	_lappend
	str	w0, [x19, #8]
	b	LBB0_14
LBB0_3:
Lloh20:
	adrp	x9, _RELKIND_FOREIGN_TABLE@GOTPAGE
Lloh21:
	ldr	x9, [x9, _RELKIND_FOREIGN_TABLE@GOTPAGEOFF]
Lloh22:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_14
; %bb.4:
	mov	x21, x2
	mov	x20, x1
	mov	x0, x2
	mov	w1, #0
	bl	_GetFdwRoutineForRelation
	ldr	x8, [x0]
	cbz	x8, LBB0_6
; %bb.5:
	mov	x0, x19
	mov	x1, x20
	mov	x2, x21
	blr	x8
LBB0_6:
	ldr	x8, [x21]
	cbz	x8, LBB0_14
; %bb.7:
	ldr	x9, [x19]
Lloh23:
	adrp	x10, _CMD_UPDATE@GOTPAGE
Lloh24:
	ldr	x10, [x10, _CMD_UPDATE@GOTPAGEOFF]
Lloh25:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_10
; %bb.8:
	ldr	x10, [x8, #24]
	cbnz	x10, LBB0_13
; %bb.9:
	ldr	x10, [x8, #16]
	cbnz	x10, LBB0_13
LBB0_10:
Lloh26:
	adrp	x10, _CMD_DELETE@GOTPAGE
Lloh27:
	ldr	x10, [x10, _CMD_DELETE@GOTPAGEOFF]
Lloh28:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_14
; %bb.11:
	ldr	x9, [x8, #8]
	cbnz	x9, LBB0_13
; %bb.12:
	ldr	x8, [x8]
	cbz	x8, LBB0_14
LBB0_13:
	ldr	w1, [x19, #12]
	mov	x0, x20
	mov	w2, #0
	mov	w3, #0
	bl	_makeWholeRowVar
	mov	x20, x0
Lloh29:
	adrp	x21, l_.str.1@PAGE
Lloh30:
	add	x21, x21, l_.str.1@PAGEOFF
	cbnz	x20, LBB0_2
LBB0_14:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpAdd	Lloh29, Lloh30
	.cfi_endproc
                                        ; -- End function
	.comm	_RELKIND_RELATION,8,3           ; @RELKIND_RELATION
	.comm	_RELKIND_MATVIEW,8,3            ; @RELKIND_MATVIEW
	.comm	_RELKIND_PARTITIONED_TABLE,8,3  ; @RELKIND_PARTITIONED_TABLE
	.comm	_SelfItemPointerAttributeNumber,4,2 ; @SelfItemPointerAttributeNumber
	.comm	_TIDOID,4,2                     ; @TIDOID
	.comm	_InvalidOid,4,2                 ; @InvalidOid
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ctid"

	.comm	_RELKIND_FOREIGN_TABLE,8,3      ; @RELKIND_FOREIGN_TABLE
	.comm	_CMD_UPDATE,8,3                 ; @CMD_UPDATE
	.comm	_CMD_DELETE,8,3                 ; @CMD_DELETE
l_.str.1:                               ; @.str.1
	.asciz	"wholerow"

.subsections_via_symbols
