	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_mxact_status_for_lock
_get_mxact_status_for_lock:             ## @get_mxact_status_for_lock
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	testl	%esi, %esi
	movq	_tupleLockExtraInfo@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	leaq	(%rax,%rdi,8), %rcx
	leaq	4(%rax,%rdi,8), %rax
	cmovneq	%rcx, %rax
	movl	(%rax), %ebx
	cmpl	$-1, %ebx
	jne	LBB0_2
## %bb.1:
	movq	%rdi, %rdx
	testl	%esi, %esi
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rax
	leaq	L_.str.1(%rip), %rcx
	cmoveq	%rax, %rcx
	leaq	L_.str(%rip), %rsi
	callq	_elog
LBB0_2:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_tupleLockExtraInfo,8,3         ## @tupleLockExtraInfo
	.comm	_ERROR,4,2                      ## @ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"invalid lock tuple mode %d/%s"

L_.str.1:                               ## @.str.1
	.asciz	"true"

L_.str.2:                               ## @.str.2
	.asciz	"false"

	.no_dead_strip	_get_mxact_status_for_lock
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_mxact_status_for_lock
_get_mxact_status_for_lock:             ; @get_mxact_status_for_lock
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x8, _tupleLockExtraInfo@GOTPAGE
Lloh1:
	ldr	x8, [x8, _tupleLockExtraInfo@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	add	x8, x8, x0, lsl #3
	add	x9, x8, #4
	cmp	w1, #0
	csel	x8, x9, x8, eq
	ldr	w19, [x8]
	cmn	w19, #1
	b.ne	LBB0_2
; %bb.1:
	mov	x2, x0
Lloh3:
	adrp	x8, _ERROR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
Lloh6:
	adrp	x8, l_.str.1@PAGE
Lloh7:
	add	x8, x8, l_.str.1@PAGEOFF
Lloh8:
	adrp	x9, l_.str.2@PAGE
Lloh9:
	add	x9, x9, l_.str.2@PAGEOFF
	cmp	w1, #0
	csel	x3, x9, x8, eq
Lloh10:
	adrp	x1, l_.str@PAGE
Lloh11:
	add	x1, x1, l_.str@PAGEOFF
	bl	_elog
LBB0_2:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_tupleLockExtraInfo,8,3         ; @tupleLockExtraInfo
	.comm	_ERROR,4,2                      ; @ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"invalid lock tuple mode %d/%s"

l_.str.1:                               ; @.str.1
	.asciz	"true"

l_.str.2:                               ; @.str.2
	.asciz	"false"

	.no_dead_strip	_get_mxact_status_for_lock
.subsections_via_symbols
