	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function check_db_file_conflict
_check_db_file_conflict:                ## @check_db_file_conflict
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	movq	_TableSpaceRelationId@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_AccessShareLock@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	callq	_table_open
	movl	%eax, %r15d
	xorl	%r12d, %r12d
	movl	%eax, %edi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_table_beginscan_catalog
	movl	%eax, %ebx
	movq	_ForwardScanDirection@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	movl	%eax, %edi
	callq	_heap_getnext
	testq	%rax, %rax
	je	LBB0_7
## %bb.1:
	movl	%r15d, -44(%rbp)                ## 4-byte Spill
	movq	_GLOBALTABLESPACE_OID@GOTPCREL(%rip), %r12
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	(%r13), %esi
	movl	%ebx, %edi
	callq	_heap_getnext
	testq	%rax, %rax
	je	LBB0_6
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rax, %rdi
	callq	_GETSTRUCT
	cltq
	movq	(%rax), %rsi
	cmpq	(%r12), %rsi
	je	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_GetDatabasePath
	movq	%rax, %r14
	movq	%rax, %rdi
	leaq	-64(%rbp), %rsi
	callq	_lstat
	movq	%rax, %r15
	movq	%r14, %rdi
	callq	_pfree
	testq	%r15, %r15
	jne	LBB0_5
## %bb.4:
	movl	$1, %r12d
	movq	_AccessShareLock@GOTPCREL(%rip), %r14
	movl	-44(%rbp), %r15d                ## 4-byte Reload
	jmp	LBB0_7
LBB0_6:
	movq	_AccessShareLock@GOTPCREL(%rip), %r14
	movl	-44(%rbp), %r15d                ## 4-byte Reload
	xorl	%r12d, %r12d
LBB0_7:
	movl	%ebx, %edi
	callq	_table_endscan
	movl	(%r14), %esi
	movl	%r15d, %edi
	callq	_table_close
	movl	%r12d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TableSpaceRelationId,4,2       ## @TableSpaceRelationId
	.comm	_AccessShareLock,4,2            ## @AccessShareLock
	.comm	_ForwardScanDirection,4,2       ## @ForwardScanDirection
	.comm	_GLOBALTABLESPACE_OID,8,3       ## @GLOBALTABLESPACE_OID
	.no_dead_strip	_check_db_file_conflict
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function check_db_file_conflict
_check_db_file_conflict:                ; @check_db_file_conflict
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x20, x0
Lloh0:
	adrp	x8, _TableSpaceRelationId@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TableSpaceRelationId@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x24, _AccessShareLock@GOTPAGE
Lloh4:
	ldr	x24, [x24, _AccessShareLock@GOTPAGEOFF]
	ldr	w1, [x24]
	bl	_table_open
	mov	x19, x0
	mov	w1, #0
	mov	x2, #0
	bl	_table_beginscan_catalog
	mov	x21, x0
Lloh5:
	adrp	x25, _ForwardScanDirection@GOTPAGE
Lloh6:
	ldr	x25, [x25, _ForwardScanDirection@GOTPAGEOFF]
	ldr	w1, [x25]
	bl	_heap_getnext
	cbz	x0, LBB0_6
; %bb.1:
Lloh7:
	adrp	x26, _GLOBALTABLESPACE_OID@GOTPAGE
Lloh8:
	ldr	x26, [x26, _GLOBALTABLESPACE_OID@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	w1, [x25]
	mov	x0, x21
	bl	_heap_getnext
	cbz	x0, LBB0_6
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	bl	_GETSTRUCT
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x8, w0
	ldr	x1, [x8]
	ldr	x8, [x26]
	cmp	x1, x8
	b.eq	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x20
	bl	_GetDatabasePath
	mov	x22, x0
	add	x1, sp, #8
	bl	_lstat
	mov	x23, x0
	mov	x0, x22
	bl	_pfree
	cbnz	x23, LBB0_2
; %bb.5:
	mov	w20, #1
	b	LBB0_7
LBB0_6:
	mov	w20, #0
LBB0_7:
	mov	x0, x21
	bl	_table_endscan
	ldr	w1, [x24]
	mov	x0, x19
	bl	_table_close
	mov	x0, x20
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_TableSpaceRelationId,4,2       ; @TableSpaceRelationId
	.comm	_AccessShareLock,4,2            ; @AccessShareLock
	.comm	_ForwardScanDirection,4,2       ; @ForwardScanDirection
	.comm	_GLOBALTABLESPACE_OID,8,3       ; @GLOBALTABLESPACE_OID
	.no_dead_strip	_check_db_file_conflict
.subsections_via_symbols
