	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_transformOnConflictArbiter     ## -- Begin function transformOnConflictArbiter
	.p2align	4, 0x90
_transformOnConflictArbiter:            ## @transformOnConflictArbiter
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r13
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	8(%rsi), %r15
	movq	_NIL@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%rdx)
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	movq	$0, (%rcx)
	movq	_InvalidOid@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	%r8, -56(%rbp)                  ## 8-byte Spill
	movl	%eax, (%r8)
	movq	(%rsi), %rax
	movq	_ONCONFLICT_UPDATE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_3
## %bb.1:
	testq	%r15, %r15
	jne	LBB0_3
## %bb.2:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	_ERRCODE_SYNTAX_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_errmsg
	leaq	L_.str.1(%rip), %rdi
	callq	_errhint
	movq	%r14, %rdi
	callq	_exprLocation
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_parser_errposition
	movl	%r12d, %edi
	movl	%eax, %esi
	callq	_ereport
LBB0_3:
	movl	8(%rbx), %edi
	callq	_IsCatalogRelation
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	_ERRCODE_FEATURE_NOT_SUPPORTED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	leaq	L_.str.2(%rip), %rdi
	xorl	%eax, %eax
	callq	_errmsg
	movq	%r14, %rdi
	callq	_exprLocation
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_parser_errposition
	movl	%r12d, %edi
	movl	%eax, %esi
	callq	_ereport
LBB0_5:
	movl	8(%rbx), %edi
	callq	_RelationIsUsedAsCatalogTable
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	_ERRCODE_FEATURE_NOT_SUPPORTED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	movl	8(%rbx), %edi
	callq	_RelationGetRelationName
	leaq	L_.str.3(%rip), %rdi
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_errmsg
	movq	%r14, %rdi
	callq	_exprLocation
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_parser_errposition
	movl	%r12d, %edi
	movl	%eax, %esi
	callq	_ereport
LBB0_7:
	testq	%r15, %r15
	je	LBB0_14
## %bb.8:
	movq	(%rbx), %rsi
	movq	16(%rbx), %r14
	movq	_NIL@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 16(%rbx)
	movq	%rbx, %rdi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	movl	$1, %r8d
	callq	_addRTEtoQuery
	cmpq	$0, 16(%r15)
	je	LBB0_10
## %bb.9:
	movl	8(%rbx), %edx
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_resolve_unique_index_expr
	movq	%rax, (%r13)
LBB0_10:
	movq	8(%r15), %rsi
	testq	%rsi, %rsi
	je	LBB0_12
## %bb.11:
	movq	_EXPR_KIND_INDEX_PREDICATE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_transformExpr
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, (%rcx)
LBB0_12:
	movq	%r14, 16(%rbx)
	cmpq	$0, (%r15)
	je	LBB0_14
## %bb.13:
	movl	8(%rbx), %edi
	callq	_RelationGetRelid
	movq	(%rbx), %rbx
	movq	(%r15), %rsi
	movl	%eax, %edi
	xorl	%edx, %edx
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	callq	_get_relation_constraint_attnos
	movq	_ACL_SELECT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	%ecx, 4(%rbx)
	movl	(%rbx), %edi
	movq	%rax, %rsi
	callq	_bms_add_members
	movl	%eax, (%rbx)
LBB0_14:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NIL,8,3                        ## @NIL
	.comm	_InvalidOid,4,2                 ## @InvalidOid
	.comm	_ONCONFLICT_UPDATE,8,3          ## @ONCONFLICT_UPDATE
	.comm	_ERROR,4,2                      ## @ERROR
	.comm	_ERRCODE_SYNTAX_ERROR,4,2       ## @ERRCODE_SYNTAX_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ON CONFLICT DO UPDATE requires inference specification or constraint name"

L_.str.1:                               ## @.str.1
	.asciz	"For example, ON CONFLICT (column_name)."

	.comm	_ERRCODE_FEATURE_NOT_SUPPORTED,4,2 ## @ERRCODE_FEATURE_NOT_SUPPORTED
L_.str.2:                               ## @.str.2
	.asciz	"ON CONFLICT is not supported with system catalog tables"

L_.str.3:                               ## @.str.3
	.asciz	"ON CONFLICT is not supported on table \"%s\" used as a catalog table"

	.comm	_EXPR_KIND_INDEX_PREDICATE,4,2  ## @EXPR_KIND_INDEX_PREDICATE
	.comm	_ACL_SELECT,4,2                 ## @ACL_SELECT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_transformOnConflictArbiter     ; -- Begin function transformOnConflictArbiter
	.p2align	2
_transformOnConflictArbiter:            ; @transformOnConflictArbiter
	.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, x4
	mov	x22, x3
	mov	x23, x2
	mov	x24, x1
	mov	x21, x0
	ldp	x9, x20, [x1]
Lloh0:
	adrp	x26, _NIL@GOTPAGE
Lloh1:
	ldr	x26, [x26, _NIL@GOTPAGEOFF]
	ldr	x8, [x26]
	str	x8, [x2]
Lloh2:
	adrp	x8, _InvalidOid@GOTPAGE
Lloh3:
	ldr	x8, [x8, _InvalidOid@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	str	w8, [x4]
Lloh5:
	adrp	x8, _ONCONFLICT_UPDATE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ONCONFLICT_UPDATE@GOTPAGEOFF]
	str	xzr, [x3]
Lloh7:
	ldr	x8, [x8]
	cmp	x9, x8
	ccmp	x20, #0, #0, eq
Lloh8:
	adrp	x27, _ERROR@GOTPAGE
Lloh9:
	ldr	x27, [x27, _ERROR@GOTPAGEOFF]
	b.ne	LBB0_2
; %bb.1:
	ldr	w25, [x27]
Lloh10:
	adrp	x8, _ERRCODE_SYNTAX_ERROR@GOTPAGE
Lloh11:
	ldr	x8, [x8, _ERRCODE_SYNTAX_ERROR@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
	bl	_errcode
Lloh13:
	adrp	x0, l_.str@PAGE
Lloh14:
	add	x0, x0, l_.str@PAGEOFF
	bl	_errmsg
Lloh15:
	adrp	x0, l_.str.1@PAGE
Lloh16:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_errhint
	mov	x0, x24
	bl	_exprLocation
	mov	x1, x0
	mov	x0, x21
	bl	_parser_errposition
	mov	x1, x0
	mov	x0, x25
	bl	_ereport
LBB0_2:
	ldr	w0, [x21, #8]
	bl	_IsCatalogRelation
Lloh17:
	adrp	x28, _ERRCODE_FEATURE_NOT_SUPPORTED@GOTPAGE
Lloh18:
	ldr	x28, [x28, _ERRCODE_FEATURE_NOT_SUPPORTED@GOTPAGEOFF]
	cbz	x0, LBB0_4
; %bb.3:
	ldr	w25, [x27]
	ldr	w0, [x28]
	bl	_errcode
Lloh19:
	adrp	x0, l_.str.2@PAGE
Lloh20:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_errmsg
	mov	x0, x24
	bl	_exprLocation
	mov	x1, x0
	mov	x0, x21
	bl	_parser_errposition
	mov	x1, x0
	mov	x0, x25
	bl	_ereport
LBB0_4:
	ldr	w0, [x21, #8]
	bl	_RelationIsUsedAsCatalogTable
	cbz	x0, LBB0_6
; %bb.5:
	ldr	w25, [x27]
	ldr	w0, [x28]
	bl	_errcode
	ldr	w0, [x21, #8]
	bl	_RelationGetRelationName
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh21:
	adrp	x0, l_.str.3@PAGE
Lloh22:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_errmsg
	mov	x0, x24
	bl	_exprLocation
	mov	x1, x0
	mov	x0, x21
	bl	_parser_errposition
	mov	x1, x0
	mov	x0, x25
	bl	_ereport
LBB0_6:
	cbz	x20, LBB0_13
; %bb.7:
	ldr	x24, [x21, #16]
	ldr	x8, [x26]
	str	x8, [x21, #16]
	ldr	x1, [x21]
	mov	x0, x21
	mov	w2, #0
	mov	w3, #0
	mov	w4, #1
	bl	_addRTEtoQuery
	ldr	x8, [x20, #16]
	cbz	x8, LBB0_9
; %bb.8:
	ldr	w2, [x21, #8]
	mov	x0, x21
	mov	x1, x20
	bl	_resolve_unique_index_expr
	str	x0, [x23]
LBB0_9:
	ldr	x1, [x20, #8]
	cbz	x1, LBB0_11
; %bb.10:
Lloh23:
	adrp	x8, _EXPR_KIND_INDEX_PREDICATE@GOTPAGE
Lloh24:
	ldr	x8, [x8, _EXPR_KIND_INDEX_PREDICATE@GOTPAGEOFF]
Lloh25:
	ldr	w2, [x8]
	mov	x0, x21
	bl	_transformExpr
	str	x0, [x22]
LBB0_11:
	str	x24, [x21, #16]
	ldr	x8, [x20]
	cbz	x8, LBB0_13
; %bb.12:
	ldr	w0, [x21, #8]
	bl	_RelationGetRelid
	ldr	x21, [x21]
	ldr	x1, [x20]
	mov	w2, #0
	mov	x3, x19
	bl	_get_relation_constraint_attnos
	mov	x1, x0
Lloh26:
	adrp	x8, _ACL_SELECT@GOTPAGE
Lloh27:
	ldr	x8, [x8, _ACL_SELECT@GOTPAGEOFF]
Lloh28:
	ldr	w8, [x8]
	ldp	w0, w9, [x21]
	orr	w8, w9, w8
	str	w8, [x21, #4]
	bl	_bms_add_members
	str	w0, [x21]
LBB0_13:
	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 AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.cfi_endproc
                                        ; -- End function
	.comm	_NIL,8,3                        ; @NIL
	.comm	_InvalidOid,4,2                 ; @InvalidOid
	.comm	_ONCONFLICT_UPDATE,8,3          ; @ONCONFLICT_UPDATE
	.comm	_ERROR,4,2                      ; @ERROR
	.comm	_ERRCODE_SYNTAX_ERROR,4,2       ; @ERRCODE_SYNTAX_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ON CONFLICT DO UPDATE requires inference specification or constraint name"

l_.str.1:                               ; @.str.1
	.asciz	"For example, ON CONFLICT (column_name)."

	.comm	_ERRCODE_FEATURE_NOT_SUPPORTED,4,2 ; @ERRCODE_FEATURE_NOT_SUPPORTED
l_.str.2:                               ; @.str.2
	.asciz	"ON CONFLICT is not supported with system catalog tables"

l_.str.3:                               ; @.str.3
	.asciz	"ON CONFLICT is not supported on table \"%s\" used as a catalog table"

	.comm	_EXPR_KIND_INDEX_PREDICATE,4,2  ; @EXPR_KIND_INDEX_PREDICATE
	.comm	_ACL_SELECT,4,2                 ; @ACL_SELECT
.subsections_via_symbols
