	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_RelationMapUpdateMap           ## -- Begin function RelationMapUpdateMap
	.p2align	4, 0x90
_RelationMapUpdateMap:                  ## @RelationMapUpdateMap
	.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
	movl	%ecx, %r12d
	movl	%edx, %ebx
	movl	%esi, %r14d
	movl	%edi, %r15d
	xorl	%eax, %eax
	callq	_IsBootstrapProcessingMode
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	testl	%ebx, %ebx
	jne	LBB0_2
## %bb.3:
	movq	_local_map@GOTPCREL(%rip), %rdi
	jmp	LBB0_15
LBB0_4:
	xorl	%eax, %eax
	callq	_GetCurrentTransactionNestLevel
	cmpl	$2, %eax
	jl	LBB0_6
## %bb.5:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_elog
LBB0_6:
	xorl	%eax, %eax
	callq	_IsInParallelMode
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_elog
LBB0_8:
	testl	%r12d, %r12d
	je	LBB0_12
## %bb.9:
	testl	%ebx, %ebx
	jne	LBB0_10
## %bb.11:
	movq	_active_local_updates@GOTPCREL(%rip), %rdi
	jmp	LBB0_15
LBB0_2:
	movq	_shared_map@GOTPCREL(%rip), %rdi
	jmp	LBB0_15
LBB0_12:
	testl	%ebx, %ebx
	jne	LBB0_13
## %bb.14:
	movq	_pending_local_updates@GOTPCREL(%rip), %rdi
	jmp	LBB0_15
LBB0_10:
	movq	_active_shared_updates@GOTPCREL(%rip), %rdi
	jmp	LBB0_15
LBB0_13:
	movq	_pending_shared_updates@GOTPCREL(%rip), %rdi
LBB0_15:
	movl	%r15d, %esi
	movl	%r14d, %edx
	movl	$1, %ecx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_apply_map_update               ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_shared_map,4,2                 ## @shared_map
	.comm	_local_map,4,2                  ## @local_map
	.comm	_ERROR,4,2                      ## @ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"cannot change relation mapping within subtransaction"

L_.str.1:                               ## @.str.1
	.asciz	"cannot change relation mapping in parallel mode"

	.comm	_active_shared_updates,4,2      ## @active_shared_updates
	.comm	_active_local_updates,4,2       ## @active_local_updates
	.comm	_pending_shared_updates,4,2     ## @pending_shared_updates
	.comm	_pending_local_updates,4,2      ## @pending_local_updates
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_RelationMapUpdateMap           ; -- Begin function RelationMapUpdateMap
	.p2align	2
_RelationMapUpdateMap:                  ; @RelationMapUpdateMap
	.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	x21, x3
	mov	x22, x2
	mov	x19, x1
	mov	x20, x0
	bl	_IsBootstrapProcessingMode
	cbz	x0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _shared_map@GOTPAGE
Lloh1:
	ldr	x8, [x8, _shared_map@GOTPAGEOFF]
Lloh2:
	adrp	x9, _local_map@GOTPAGE
Lloh3:
	ldr	x9, [x9, _local_map@GOTPAGEOFF]
	cmp	w22, #0
	csel	x0, x9, x8, eq
	b	LBB0_7
LBB0_2:
	bl	_GetCurrentTransactionNestLevel
Lloh4:
	adrp	x23, _ERROR@GOTPAGE
Lloh5:
	ldr	x23, [x23, _ERROR@GOTPAGEOFF]
	cmp	w0, #2
	b.lt	LBB0_4
; %bb.3:
	ldr	w0, [x23]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	bl	_elog
LBB0_4:
	bl	_IsInParallelMode
	cbz	x0, LBB0_6
; %bb.5:
	ldr	w0, [x23]
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_elog
LBB0_6:
Lloh10:
	adrp	x8, _pending_shared_updates@GOTPAGE
Lloh11:
	ldr	x8, [x8, _pending_shared_updates@GOTPAGEOFF]
Lloh12:
	adrp	x9, _pending_local_updates@GOTPAGE
Lloh13:
	ldr	x9, [x9, _pending_local_updates@GOTPAGEOFF]
	cmp	w22, #0
Lloh14:
	adrp	x10, _active_shared_updates@GOTPAGE
Lloh15:
	ldr	x10, [x10, _active_shared_updates@GOTPAGEOFF]
	csel	x8, x9, x8, eq
Lloh16:
	adrp	x9, _active_local_updates@GOTPAGE
Lloh17:
	ldr	x9, [x9, _active_local_updates@GOTPAGEOFF]
	csel	x9, x9, x10, eq
	cmp	w21, #0
	csel	x0, x8, x9, eq
LBB0_7:
	mov	x1, x20
	mov	x2, x19
	mov	w3, #1
	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	_apply_map_update
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_shared_map,4,2                 ; @shared_map
	.comm	_local_map,4,2                  ; @local_map
	.comm	_ERROR,4,2                      ; @ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"cannot change relation mapping within subtransaction"

l_.str.1:                               ; @.str.1
	.asciz	"cannot change relation mapping in parallel mode"

	.comm	_active_shared_updates,4,2      ; @active_shared_updates
	.comm	_active_local_updates,4,2       ; @active_local_updates
	.comm	_pending_shared_updates,4,2     ; @pending_shared_updates
	.comm	_pending_local_updates,4,2      ; @pending_local_updates
.subsections_via_symbols
