	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_SubTransSetParent              ## -- Begin function SubTransSetParent
	.p2align	4, 0x90
_SubTransSetParent:                     ## @SubTransSetParent
	.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
	movq	%rsi, %r14
	movq	%rdi, %rbx
	callq	_TransactionIdToPage
	movl	%eax, %r12d
	movq	%rbx, %rdi
	callq	_TransactionIdToEntry
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	%r14, %rdi
	callq	_TransactionIdIsValid
	movl	%eax, %edi
	callq	_Assert
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_TransactionIdFollows
	movl	%eax, %edi
	callq	_Assert
	movq	_SubtransControlLock@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_LW_EXCLUSIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_LWLockAcquire
	movq	_SubTransCtl@GOTPCREL(%rip), %r13
	movq	(%r13), %rdi
	movl	%r12d, %esi
	movl	$1, %edx
	movq	%rbx, %rcx
	callq	_SimpleLruReadPage
	movq	(%r13), %rcx
	movq	(%rcx), %rcx
	movq	8(%rcx), %rcx
	movslq	%eax, %r12
	movq	(%rcx,%r12,8), %r15
	movslq	-44(%rbp), %rbx                 ## 4-byte Folded Reload
	movq	(%r15,%rbx,8), %rax
	cmpq	%r14, %rax
	je	LBB0_2
## %bb.1:
	movq	_InvalidTransactionId@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	sete	%dil
	callq	_Assert
	movq	%r14, (%r15,%rbx,8)
	movq	(%r13), %rax
	movq	(%rax), %rax
	movq	(%rax), %rax
	movl	$1, (%rax,%r12,4)
LBB0_2:
	movq	_SubtransControlLock@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_LWLockRelease                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_SubtransControlLock,4,2        ## @SubtransControlLock
	.comm	_LW_EXCLUSIVE,4,2               ## @LW_EXCLUSIVE
	.comm	_SubTransCtl,8,3                ## @SubTransCtl
	.comm	_InvalidTransactionId,8,3       ## @InvalidTransactionId
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_SubTransSetParent              ; -- Begin function SubTransSetParent
	.p2align	2
_SubTransSetParent:                     ; @SubTransSetParent
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x1
	mov	x21, x0
	bl	_TransactionIdToPage
	mov	x22, x0
	mov	x0, x21
	bl	_TransactionIdToEntry
	mov	x20, x0
	mov	x0, x19
	bl	_TransactionIdIsValid
	bl	_Assert
	mov	x0, x21
	mov	x1, x19
	bl	_TransactionIdFollows
	bl	_Assert
Lloh0:
	adrp	x23, _SubtransControlLock@GOTPAGE
Lloh1:
	ldr	x23, [x23, _SubtransControlLock@GOTPAGEOFF]
	ldr	w0, [x23]
Lloh2:
	adrp	x8, _LW_EXCLUSIVE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _LW_EXCLUSIVE@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	bl	_LWLockAcquire
Lloh5:
	adrp	x24, _SubTransCtl@GOTPAGE
Lloh6:
	ldr	x24, [x24, _SubTransCtl@GOTPAGEOFF]
	ldr	x0, [x24]
	mov	w25, #1
	mov	x1, x22
	mov	w2, #1
	mov	x3, x21
	bl	_SimpleLruReadPage
                                        ; kill: def $w0 killed $w0 def $x0
	ldr	x8, [x24]
	ldr	x8, [x8]
	ldr	x8, [x8, #8]
	ldr	x21, [x8, w0, sxtw #3]
	ldr	x8, [x21, w20, sxtw #3]
	cmp	x8, x19
	b.eq	LBB0_2
; %bb.1:
	sxtw	x22, w0
	sxtw	x20, w20
Lloh7:
	adrp	x9, _InvalidTransactionId@GOTPAGE
Lloh8:
	ldr	x9, [x9, _InvalidTransactionId@GOTPAGEOFF]
Lloh9:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, eq
	bl	_Assert
	str	x19, [x21, x20, lsl #3]
	ldr	x8, [x24]
	ldr	x8, [x8]
	ldr	x8, [x8]
	str	w25, [x8, x22, lsl #2]
LBB0_2:
	ldr	w0, [x23]
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_LWLockRelease
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_SubtransControlLock,4,2        ; @SubtransControlLock
	.comm	_LW_EXCLUSIVE,4,2               ; @LW_EXCLUSIVE
	.comm	_SubTransCtl,8,3                ; @SubTransCtl
	.comm	_InvalidTransactionId,8,3       ; @InvalidTransactionId
.subsections_via_symbols
