	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ReorderBufferAssignChild       ## -- Begin function ReorderBufferAssignChild
	.p2align	4, 0x90
_ReorderBufferAssignChild:              ## @ReorderBufferAssignChild
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %ebx
	movl	%edx, %r13d
	movl	%esi, %r15d
	movq	%rdi, %r14
	leaq	-48(%rbp), %rcx
	movl	$1, %edx
	movl	%ebx, %r8d
	movl	$1, %r9d
	callq	_ReorderBufferTXNByXid
	movq	%rax, %r12
	leaq	-44(%rbp), %rcx
	movq	%r14, %rdi
	movl	%r13d, %esi
	movl	$1, %edx
	movl	%ebx, %r8d
	xorl	%r9d, %r9d
	callq	_ReorderBufferTXNByXid
	movq	%rax, %rbx
	cmpl	$0, -48(%rbp)
	movl	-44(%rbp), %eax
	je	LBB0_3
## %bb.1:
	testl	%eax, %eax
	jne	LBB0_3
## %bb.2:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_elog
	movl	-44(%rbp), %eax
LBB0_3:
	testl	%eax, %eax
	je	LBB0_4
LBB0_6:
	movl	$1, (%rbx)
	movl	%r15d, 24(%rbx)
	xorl	%edi, %edi
	cmpq	$0, 8(%rbx)
	sete	%dil
	callq	_Assert
	movq	%r12, %rdi
	addq	$20, %rdi
	movq	%rbx, %rsi
	addq	$16, %rsi
	callq	_dlist_push_tail
	incq	8(%r12)
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_ReorderBufferTransferSnapToParent
	movq	%r14, %rdi
	callq	_AssertTXNLsnOrder
	jmp	LBB0_7
LBB0_4:
	cmpl	$0, (%rbx)
	je	LBB0_5
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	leaq	16(%rbx), %rdi
	callq	_dlist_delete
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.comm	_ERROR,4,2                      ## @ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"subtransaction logged without previous top-level txn record"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ReorderBufferAssignChild       ; -- Begin function ReorderBufferAssignChild
	.p2align	2
_ReorderBufferAssignChild:              ; @ReorderBufferAssignChild
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x22, x3
	mov	x23, x2
	mov	x21, x1
	mov	x19, x0
	add	x3, sp, #12
	mov	w2, #1
	mov	x4, x22
	mov	w5, #1
	bl	_ReorderBufferTXNByXid
	mov	x20, x0
	add	x3, sp, #8
	mov	x0, x19
	mov	x1, x23
	mov	w2, #1
	mov	x4, x22
	mov	w5, #0
	bl	_ReorderBufferTXNByXid
	mov	x22, x0
	ldp	w8, w9, [sp, #8]
	cmp	w9, #0
	ccmp	w8, #0, #0, ne
	b.ne	LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _ERROR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_elog
	ldr	w8, [sp, #8]
LBB0_2:
	cbz	w8, LBB0_4
LBB0_3:
	mov	w8, #1
	str	w8, [x22]
	str	w21, [x22, #24]
	ldr	x8, [x22, #8]
	cmp	x8, #0
	cset	w0, eq
	bl	_Assert
	add	x0, x20, #20
	add	x1, x22, #16
	bl	_dlist_push_tail
	ldr	x8, [x20, #8]
	add	x8, x8, #1
	str	x8, [x20, #8]
	mov	x0, x20
	mov	x1, x22
	bl	_ReorderBufferTransferSnapToParent
	mov	x0, x19
	bl	_AssertTXNLsnOrder
	b	LBB0_5
LBB0_4:
	ldr	w8, [x22]
	cbz	w8, LBB0_6
LBB0_5:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_6:
	add	x0, x22, #16
	bl	_dlist_delete
	b	LBB0_3
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ERROR,4,2                      ; @ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"subtransaction logged without previous top-level txn record"

.subsections_via_symbols
