	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ReorderBufferAllocate          ## -- Begin function ReorderBufferAllocate
	.p2align	4, 0x90
_ReorderBufferAllocate:                 ## @ReorderBufferAllocate
	.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	_MyReplicationSlot@GOTPCREL(%rip), %r12
	xorl	%edi, %edi
	cmpq	$0, (%r12)
	setne	%dil
	callq	_Assert
	movq	_CurrentMemoryContext@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_ALLOCSET_DEFAULT_SIZES@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str(%rip), %rsi
	callq	_AllocSetContextCreate
	movl	%eax, %r15d
	movl	%eax, %edi
	movl	$72, %esi
	callq	_MemoryContextAlloc
	movq	%rax, %rbx
	leaq	-56(%rbp), %r14
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	$12, %edx
	callq	_memset
	movl	%r15d, 48(%rbx)
	movq	_SLAB_DEFAULT_BLOCK_SIZE@GOTPCREL(%rip), %r13
	movl	(%r13), %edx
	leaq	L_.str.1(%rip), %rsi
	movl	%r15d, %edi
	movl	$4, %ecx
	callq	_SlabContextCreate
	movq	%rax, 64(%rbx)
	movl	(%r13), %edx
	leaq	L_.str.2(%rip), %rsi
	movl	%r15d, %edi
	movl	$4, %ecx
	callq	_SlabContextCreate
	movq	%rax, 56(%rbx)
	movq	_SLAB_LARGE_BLOCK_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.3(%rip), %rsi
	movl	%r15d, %edi
	callq	_GenerationContextCreate
	movl	%eax, 52(%rbx)
	movabsq	$17179869188, %rax              ## imm = 0x400000004
	movq	%rax, -56(%rbp)
	movq	_HASH_ELEM@GOTPCREL(%rip), %rax
	movq	_HASH_BLOBS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movl	48(%rbx), %eax
	movl	%eax, -48(%rbp)
	movq	_HASH_CONTEXT@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	leaq	L_.str.4(%rip), %rdi
	movl	$1000, %esi                     ## imm = 0x3E8
	movq	%r14, %rdx
	callq	_hash_create
	movl	%eax, 44(%rbx)
	movq	_InvalidTransactionId@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 40(%rbx)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 16(%rbx)
	movq	$0, 32(%rbx)
	movq	_InvalidXLogRecPtr@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%rbx)
	leaq	4(%rbx), %rdi
	callq	_dlist_init
	movq	%rbx, %rdi
	callq	_dlist_init
	movq	(%r12), %rax
	movl	(%rax), %edi
	callq	_NameStr
	movl	%eax, %edi
	callq	_ReorderBufferCleanupSerializedTXNs
	movq	%rbx, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MyReplicationSlot,8,3          ## @MyReplicationSlot
	.comm	_CurrentMemoryContext,4,2       ## @CurrentMemoryContext
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ReorderBuffer"

	.comm	_ALLOCSET_DEFAULT_SIZES,4,2     ## @ALLOCSET_DEFAULT_SIZES
L_.str.1:                               ## @.str.1
	.asciz	"Change"

	.comm	_SLAB_DEFAULT_BLOCK_SIZE,4,2    ## @SLAB_DEFAULT_BLOCK_SIZE
L_.str.2:                               ## @.str.2
	.asciz	"TXN"

L_.str.3:                               ## @.str.3
	.asciz	"Tuples"

	.comm	_SLAB_LARGE_BLOCK_SIZE,4,2      ## @SLAB_LARGE_BLOCK_SIZE
L_.str.4:                               ## @.str.4
	.asciz	"ReorderBufferByXid"

	.comm	_HASH_ELEM,4,2                  ## @HASH_ELEM
	.comm	_HASH_BLOBS,4,2                 ## @HASH_BLOBS
	.comm	_HASH_CONTEXT,4,2               ## @HASH_CONTEXT
	.comm	_InvalidTransactionId,4,2       ## @InvalidTransactionId
	.comm	_InvalidXLogRecPtr,4,2          ## @InvalidXLogRecPtr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ReorderBufferAllocate          ; -- Begin function ReorderBufferAllocate
	.p2align	2
_ReorderBufferAllocate:                 ; @ReorderBufferAllocate
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
Lloh0:
	adrp	x21, _MyReplicationSlot@GOTPAGE
Lloh1:
	ldr	x21, [x21, _MyReplicationSlot@GOTPAGEOFF]
	ldr	x8, [x21]
	cmp	x8, #0
	cset	w0, ne
	bl	_Assert
Lloh2:
	adrp	x8, _CurrentMemoryContext@GOTPAGE
Lloh3:
	ldr	x8, [x8, _CurrentMemoryContext@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
Lloh5:
	adrp	x8, _ALLOCSET_DEFAULT_SIZES@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ALLOCSET_DEFAULT_SIZES@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	bl	_AllocSetContextCreate
	mov	x20, x0
	mov	w1, #72
	bl	_MemoryContextAlloc
	mov	x19, x0
	mov	x0, sp
	mov	w1, #0
	mov	w2, #12
	bl	_memset
	str	w20, [x19, #48]
Lloh10:
	adrp	x22, _SLAB_DEFAULT_BLOCK_SIZE@GOTPAGE
Lloh11:
	ldr	x22, [x22, _SLAB_DEFAULT_BLOCK_SIZE@GOTPAGEOFF]
	ldr	w2, [x22]
Lloh12:
	adrp	x1, l_.str.1@PAGE
Lloh13:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	mov	w3, #4
	bl	_SlabContextCreate
	str	x0, [x19, #64]
	ldr	w2, [x22]
Lloh14:
	adrp	x1, l_.str.2@PAGE
Lloh15:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x20
	mov	w3, #4
	bl	_SlabContextCreate
	str	x0, [x19, #56]
Lloh16:
	adrp	x8, _SLAB_LARGE_BLOCK_SIZE@GOTPAGE
Lloh17:
	ldr	x8, [x8, _SLAB_LARGE_BLOCK_SIZE@GOTPAGEOFF]
Lloh18:
	ldr	w2, [x8]
Lloh19:
	adrp	x1, l_.str.3@PAGE
Lloh20:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x20
	bl	_GenerationContextCreate
	str	w0, [x19, #52]
	movi.2s	v0, #4
	str	d0, [sp]
	ldr	w8, [x19, #48]
	str	w8, [sp, #8]
Lloh21:
	adrp	x8, _HASH_ELEM@GOTPAGE
Lloh22:
	ldr	x8, [x8, _HASH_ELEM@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
Lloh24:
	adrp	x9, _HASH_BLOBS@GOTPAGE
Lloh25:
	ldr	x9, [x9, _HASH_BLOBS@GOTPAGEOFF]
Lloh26:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh27:
	adrp	x9, _HASH_CONTEXT@GOTPAGE
Lloh28:
	ldr	x9, [x9, _HASH_CONTEXT@GOTPAGEOFF]
Lloh29:
	ldr	w9, [x9]
	orr	w3, w8, w9
Lloh30:
	adrp	x0, l_.str.4@PAGE
Lloh31:
	add	x0, x0, l_.str.4@PAGEOFF
	mov	x2, sp
	mov	w1, #1000
	bl	_hash_create
Lloh32:
	adrp	x8, _InvalidTransactionId@GOTPAGE
Lloh33:
	ldr	x8, [x8, _InvalidTransactionId@GOTPAGEOFF]
Lloh34:
	ldr	w8, [x8]
	stp	w8, w0, [x19, #40]
	stp	xzr, xzr, [x19, #24]
	str	xzr, [x19, #16]
Lloh35:
	adrp	x8, _InvalidXLogRecPtr@GOTPAGE
Lloh36:
	ldr	x8, [x8, _InvalidXLogRecPtr@GOTPAGEOFF]
Lloh37:
	ldr	w8, [x8]
	str	w8, [x19, #8]
	add	x0, x19, #4
	bl	_dlist_init
	mov	x0, x19
	bl	_dlist_init
	ldr	x8, [x21]
	ldr	w0, [x8]
	bl	_NameStr
	bl	_ReorderBufferCleanupSerializedTXNs
	mov	x0, x19
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_MyReplicationSlot,8,3          ; @MyReplicationSlot
	.comm	_CurrentMemoryContext,4,2       ; @CurrentMemoryContext
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ReorderBuffer"

	.comm	_ALLOCSET_DEFAULT_SIZES,4,2     ; @ALLOCSET_DEFAULT_SIZES
l_.str.1:                               ; @.str.1
	.asciz	"Change"

	.comm	_SLAB_DEFAULT_BLOCK_SIZE,4,2    ; @SLAB_DEFAULT_BLOCK_SIZE
l_.str.2:                               ; @.str.2
	.asciz	"TXN"

l_.str.3:                               ; @.str.3
	.asciz	"Tuples"

	.comm	_SLAB_LARGE_BLOCK_SIZE,4,2      ; @SLAB_LARGE_BLOCK_SIZE
l_.str.4:                               ; @.str.4
	.asciz	"ReorderBufferByXid"

	.comm	_HASH_ELEM,4,2                  ; @HASH_ELEM
	.comm	_HASH_BLOBS,4,2                 ; @HASH_BLOBS
	.comm	_HASH_CONTEXT,4,2               ; @HASH_CONTEXT
	.comm	_InvalidTransactionId,4,2       ; @InvalidTransactionId
	.comm	_InvalidXLogRecPtr,4,2          ; @InvalidXLogRecPtr
.subsections_via_symbols
