	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function open_lo_relation
_open_lo_relation:                      ## @open_lo_relation
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_lo_heap_r@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rcx
	movq	_lo_index_r@GOTPCREL(%rip), %r12
	movq	(%r12), %rax
	testq	%rcx, %rcx
	je	LBB0_2
## %bb.1:
	testq	%rax, %rax
	jne	LBB0_7
LBB0_2:
	movq	_CurrentResourceOwner@GOTPCREL(%rip), %r14
	movl	(%r14), %r15d
	movq	_TopTransactionResourceOwner@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	movl	%edx, (%r14)
	testq	%rcx, %rcx
	je	LBB0_3
## %bb.4:
	testq	%rax, %rax
	je	LBB0_5
LBB0_6:
	movl	%r15d, (%r14)
LBB0_7:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movq	_LargeObjectRelationId@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_RowExclusiveLock@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_table_open
	movq	%rax, (%rbx)
	movq	(%r12), %rax
	testq	%rax, %rax
	jne	LBB0_6
LBB0_5:
	movq	_LargeObjectLOidPNIndexId@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_RowExclusiveLock@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_index_open
	movq	%rax, (%r12)
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.comm	_lo_heap_r,8,3                  ## @lo_heap_r
	.comm	_lo_index_r,8,3                 ## @lo_index_r
	.comm	_CurrentResourceOwner,4,2       ## @CurrentResourceOwner
	.comm	_TopTransactionResourceOwner,4,2 ## @TopTransactionResourceOwner
	.comm	_LargeObjectRelationId,4,2      ## @LargeObjectRelationId
	.comm	_RowExclusiveLock,4,2           ## @RowExclusiveLock
	.comm	_LargeObjectLOidPNIndexId,4,2   ## @LargeObjectLOidPNIndexId
	.no_dead_strip	_open_lo_relation
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function open_lo_relation
_open_lo_relation:                      ; @open_lo_relation
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x22, _lo_heap_r@GOTPAGE
Lloh1:
	ldr	x22, [x22, _lo_heap_r@GOTPAGEOFF]
	ldr	x9, [x22]
Lloh2:
	adrp	x19, _lo_index_r@GOTPAGE
Lloh3:
	ldr	x19, [x19, _lo_index_r@GOTPAGEOFF]
	ldr	x8, [x19]
	cmp	x9, #0
	ccmp	x8, #0, #4, ne
	b.ne	LBB0_4
; %bb.1:
Lloh4:
	adrp	x20, _CurrentResourceOwner@GOTPAGE
Lloh5:
	ldr	x20, [x20, _CurrentResourceOwner@GOTPAGEOFF]
	ldr	w21, [x20]
Lloh6:
	adrp	x10, _TopTransactionResourceOwner@GOTPAGE
Lloh7:
	ldr	x10, [x10, _TopTransactionResourceOwner@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
	str	w10, [x20]
	cbz	x9, LBB0_5
; %bb.2:
	cbz	x8, LBB0_6
LBB0_3:
	str	w21, [x20]
LBB0_4:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_5:
Lloh9:
	adrp	x8, _LargeObjectRelationId@GOTPAGE
Lloh10:
	ldr	x8, [x8, _LargeObjectRelationId@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
Lloh12:
	adrp	x8, _RowExclusiveLock@GOTPAGE
Lloh13:
	ldr	x8, [x8, _RowExclusiveLock@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	bl	_table_open
	str	x0, [x22]
	ldr	x8, [x19]
	cbnz	x8, LBB0_3
LBB0_6:
Lloh15:
	adrp	x8, _LargeObjectLOidPNIndexId@GOTPAGE
Lloh16:
	ldr	x8, [x8, _LargeObjectLOidPNIndexId@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
Lloh18:
	adrp	x8, _RowExclusiveLock@GOTPAGE
Lloh19:
	ldr	x8, [x8, _RowExclusiveLock@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
	bl	_index_open
	str	x0, [x19]
	b	LBB0_3
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_lo_heap_r,8,3                  ; @lo_heap_r
	.comm	_lo_index_r,8,3                 ; @lo_index_r
	.comm	_CurrentResourceOwner,4,2       ; @CurrentResourceOwner
	.comm	_TopTransactionResourceOwner,4,2 ; @TopTransactionResourceOwner
	.comm	_LargeObjectRelationId,4,2      ; @LargeObjectRelationId
	.comm	_RowExclusiveLock,4,2           ; @RowExclusiveLock
	.comm	_LargeObjectLOidPNIndexId,4,2   ; @LargeObjectLOidPNIndexId
	.no_dead_strip	_open_lo_relation
.subsections_via_symbols
