	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function MultiXactIdGetUpdateXid
_MultiXactIdGetUpdateXid:               ## @MultiXactIdGetUpdateXid
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %ebx
	movq	%rdi, %r15
	movq	_InvalidTransactionId@GOTPCREL(%rip), %r12
	movq	(%r12), %r14
	movq	_HEAP_XMAX_LOCK_ONLY@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	movl	(%rax), %eax
	andl	%esi, %eax
	sete	%dil
	callq	_Assert
	movq	_HEAP_XMAX_IS_MULTI@GOTPCREL(%rip), %rax
	andl	(%rax), %ebx
	movl	%ebx, %edi
	callq	_Assert
	leaq	-40(%rbp), %rsi
	movq	%r15, %rdi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_GetMultiXactIdMembers
	testl	%eax, %eax
	jle	LBB0_7
## %bb.1:
	movl	%eax, %r15d
	shlq	$4, %r15
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	-40(%rbp), %rax
	movl	8(%rax,%rbx), %edi
	callq	_ISUPDATE_from_mxstatus
	testl	%eax, %eax
	jne	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	addq	$16, %rbx
	cmpq	%rbx, %r15
	jne	LBB0_2
## %bb.5:
	movq	-40(%rbp), %rdi
	jmp	LBB0_6
LBB0_3:
	xorl	%edi, %edi
	cmpq	(%r12), %r14
	sete	%dil
	callq	_Assert
	movq	-40(%rbp), %rdi
	movq	(%rdi,%rbx), %r14
LBB0_6:
	callq	_pfree
LBB0_7:
	movq	%r14, %rax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_InvalidTransactionId,8,3       ## @InvalidTransactionId
	.comm	_HEAP_XMAX_LOCK_ONLY,4,2        ## @HEAP_XMAX_LOCK_ONLY
	.comm	_HEAP_XMAX_IS_MULTI,4,2         ## @HEAP_XMAX_IS_MULTI
	.no_dead_strip	_MultiXactIdGetUpdateXid
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function MultiXactIdGetUpdateXid
_MultiXactIdGetUpdateXid:               ; @MultiXactIdGetUpdateXid
	.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
	mov	x20, x1
	mov	x21, x0
Lloh0:
	adrp	x22, _InvalidTransactionId@GOTPAGE
Lloh1:
	ldr	x22, [x22, _InvalidTransactionId@GOTPAGEOFF]
	ldr	x19, [x22]
Lloh2:
	adrp	x8, _HEAP_XMAX_LOCK_ONLY@GOTPAGE
Lloh3:
	ldr	x8, [x8, _HEAP_XMAX_LOCK_ONLY@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	tst	w8, w1
	cset	w0, eq
	bl	_Assert
Lloh5:
	adrp	x8, _HEAP_XMAX_IS_MULTI@GOTPAGE
Lloh6:
	ldr	x8, [x8, _HEAP_XMAX_IS_MULTI@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	and	w0, w8, w20
	bl	_Assert
	add	x1, sp, #8
	mov	x0, x21
	mov	w2, #0
	mov	w3, #0
	bl	_GetMultiXactIdMembers
	cmp	w0, #1
	b.lt	LBB0_7
; %bb.1:
	mov	x20, #0
	mov	w8, w0
	lsl	x21, x8, #4
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [sp, #8]
	add	x8, x8, x20
	ldr	w0, [x8, #8]
	bl	_ISUPDATE_from_mxstatus
	cbnz	w0, LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x20, x20, #16
	cmp	x21, x20
	b.ne	LBB0_2
; %bb.4:
	ldr	x0, [sp, #8]
	b	LBB0_6
LBB0_5:
	ldr	x8, [x22]
	cmp	x19, x8
	cset	w0, eq
	bl	_Assert
	ldr	x0, [sp, #8]
	ldr	x19, [x0, x20]
LBB0_6:
	bl	_pfree
LBB0_7:
	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	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_InvalidTransactionId,8,3       ; @InvalidTransactionId
	.comm	_HEAP_XMAX_LOCK_ONLY,4,2        ; @HEAP_XMAX_LOCK_ONLY
	.comm	_HEAP_XMAX_IS_MULTI,4,2         ; @HEAP_XMAX_IS_MULTI
	.no_dead_strip	_MultiXactIdGetUpdateXid
.subsections_via_symbols
