	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ReorderBufferQueueMessage      ## -- Begin function ReorderBufferQueueMessage
	.p2align	4, 0x90
_ReorderBufferQueueMessage:             ## @ReorderBufferQueueMessage
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r13d
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	24(%rbp), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movl	16(%rbp), %r15d
	testl	%r8d, %r8d
	je	LBB0_1
## %bb.5:
	movq	_InvalidTransactionId@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	cmpq	%r14, (%rax)
	setne	%dil
	movq	%r9, %r12
	callq	_Assert
	movl	8(%rbx), %edi
	callq	_MemoryContextSwitchTo
	movl	%r13d, -52(%rbp)                ## 4-byte Spill
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movq	%rbx, %rdi
	callq	_ReorderBufferGetChange
	movq	%rax, %r13
	movq	_REORDER_BUFFER_CHANGE_MESSAGE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 12(%r13)
	movq	%r12, %rdi
	callq	_pstrdup
	movl	%eax, 8(%r13)
	movl	%r15d, 4(%r13)
	movl	%r15d, %edi
	callq	_palloc
	movl	%eax, (%r13)
	movl	%eax, %edi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	movl	%r15d, %edx
	callq	_memcpy
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movl	-52(%rbp), %edx                 ## 4-byte Reload
	movq	%r13, %rcx
	callq	_ReorderBufferQueueChange
	movl	-48(%rbp), %edi                 ## 4-byte Reload
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_MemoryContextSwitchTo          ## TAILCALL
LBB0_1:
	movq	%r9, -48(%rbp)                  ## 8-byte Spill
	movl	%edx, -56(%rbp)
	movq	_InvalidTransactionId@GOTPCREL(%rip), %rax
	cmpq	%r14, (%rax)
	jne	LBB0_3
## %bb.2:
	xorl	%r14d, %r14d
	jmp	LBB0_4
LBB0_3:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movl	$1, %edx
	xorl	%ecx, %ecx
	movl	%r13d, %r8d
	movl	$1, %r9d
	callq	_ReorderBufferTXNByXid
	movq	%rax, %r14
LBB0_4:
	movl	-56(%rbp), %edi
	xorl	%esi, %esi
	callq	_SetupHistoricSnapshot
	xorl	%eax, %eax
	callq	_PG_TRY
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, (%rsp)
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movl	%r13d, %edx
	xorl	%ecx, %ecx
	movq	-48(%rbp), %r8                  ## 8-byte Reload
	movl	%r15d, %r9d
	callq	*(%rbx)
	xorl	%edi, %edi
	callq	_TeardownHistoricSnapshot
	xorl	%eax, %eax
	callq	_PG_CATCH
	movl	$1, %edi
	callq	_TeardownHistoricSnapshot
	xorl	%eax, %eax
	callq	_PG_RE_THROW
	xorl	%eax, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PG_END_TRY                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_InvalidTransactionId,8,3       ## @InvalidTransactionId
	.comm	_REORDER_BUFFER_CHANGE_MESSAGE,4,2 ## @REORDER_BUFFER_CHANGE_MESSAGE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ReorderBufferQueueMessage      ; -- Begin function ReorderBufferQueueMessage
	.p2align	2
_ReorderBufferQueueMessage:             ; @ReorderBufferQueueMessage
	.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
	mov	x19, x7
	mov	x21, x6
	mov	x23, x5
	mov	x20, x3
	mov	x24, x1
	mov	x22, x0
	cbz	w4, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _InvalidTransactionId@GOTPAGE
Lloh1:
	ldr	x8, [x8, _InvalidTransactionId@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x8, x24
	cset	w0, ne
	bl	_Assert
	ldr	w0, [x22, #8]
	bl	_MemoryContextSwitchTo
	mov	x25, x0
	mov	x0, x22
	bl	_ReorderBufferGetChange
	mov	x26, x0
Lloh3:
	adrp	x8, _REORDER_BUFFER_CHANGE_MESSAGE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _REORDER_BUFFER_CHANGE_MESSAGE@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [x0, #12]
	mov	x0, x23
	bl	_pstrdup
	stp	w21, w0, [x26, #4]
	mov	x0, x21
	bl	_palloc
	str	w0, [x26]
	mov	x1, x19
	mov	x2, x21
	bl	_memcpy
	mov	x0, x22
	mov	x1, x24
	mov	x2, x20
	mov	x3, x26
	bl	_ReorderBufferQueueChange
	mov	x0, x25
	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
	b	_MemoryContextSwitchTo
LBB0_2:
	str	w2, [sp, #12]
Lloh6:
	adrp	x8, _InvalidTransactionId@GOTPAGE
Lloh7:
	ldr	x8, [x8, _InvalidTransactionId@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	cmp	x8, x24
	b.ne	LBB0_4
; %bb.3:
	mov	x24, #0
	b	LBB0_5
LBB0_4:
	mov	x0, x22
	mov	x1, x24
	mov	w2, #1
	mov	x3, #0
	mov	x4, x20
	mov	w5, #1
	bl	_ReorderBufferTXNByXid
	mov	x24, x0
LBB0_5:
	ldr	w0, [sp, #12]
	mov	x1, #0
	bl	_SetupHistoricSnapshot
	bl	_PG_TRY
	ldr	x8, [x22]
	mov	x0, x22
	mov	x1, x24
	mov	x2, x20
	mov	w3, #0
	mov	x4, x23
	mov	x5, x21
	mov	x6, x19
	blr	x8
	mov	w0, #0
	bl	_TeardownHistoricSnapshot
	bl	_PG_CATCH
	mov	w0, #1
	bl	_TeardownHistoricSnapshot
	bl	_PG_RE_THROW
	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
	b	_PG_END_TRY
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_InvalidTransactionId,8,3       ; @InvalidTransactionId
	.comm	_REORDER_BUFFER_CHANGE_MESSAGE,4,2 ; @REORDER_BUFFER_CHANGE_MESSAGE
.subsections_via_symbols
