	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function is_usable_unique_index
_is_usable_unique_index:                ## @is_usable_unique_index
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	8(%rdi), %rbx
	xorl	%r14d, %r14d
	cmpq	$0, 32(%rbx)
	je	LBB0_10
## %bb.1:
	cmpq	$0, 24(%rbx)
	je	LBB0_10
## %bb.2:
	movq	(%rdi), %rax
	movq	(%rax), %rax
	movq	_BTREE_AM_OID@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_10
## %bb.3:
	cmpq	$0, 16(%rbx)
	je	LBB0_10
## %bb.4:
	callq	_RelationGetIndexPredicate
	movq	_NIL@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_10
## %bb.5:
	movl	(%rbx), %eax
	testl	%eax, %eax
	jle	LBB0_10
## %bb.6:
	movq	8(%rbx), %rcx
	xorl	%edx, %edx
	movl	$1, %r14d
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	$0, (%rcx,%rdx,4)
	jle	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_8 Depth=1
	incq	%rdx
	cmpq	%rdx, %rax
	jne	LBB0_8
	jmp	LBB0_10
LBB0_9:
	xorl	%r14d, %r14d
LBB0_10:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BTREE_AM_OID,8,3               ## @BTREE_AM_OID
	.comm	_NIL,8,3                        ## @NIL
	.no_dead_strip	_is_usable_unique_index
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function is_usable_unique_index
_is_usable_unique_index:                ; @is_usable_unique_index
	.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
	ldr	x19, [x0, #8]
	ldr	x8, [x19, #32]
	cbz	x8, LBB0_9
; %bb.1:
	ldr	x8, [x19, #24]
	cbz	x8, LBB0_9
; %bb.2:
	ldr	x8, [x0]
	ldr	x8, [x8]
Lloh0:
	adrp	x9, _BTREE_AM_OID@GOTPAGE
Lloh1:
	ldr	x9, [x9, _BTREE_AM_OID@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_9
; %bb.3:
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_9
; %bb.4:
	bl	_RelationGetIndexPredicate
Lloh3:
	adrp	x8, _NIL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _NIL@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_9
; %bb.5:
	ldr	w8, [x19]
	cmp	w8, #1
	b.lt	LBB0_9
; %bb.6:
	ldr	x9, [x19, #8]
	mov	w0, #1
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w10, [x9]
	cmp	w10, #0
	b.le	LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	add	x9, x9, #4
	subs	x8, x8, #1
	b.ne	LBB0_7
	b	LBB0_10
LBB0_9:
	mov	w0, #0
LBB0_10:
	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 AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_BTREE_AM_OID,8,3               ; @BTREE_AM_OID
	.comm	_NIL,8,3                        ; @NIL
	.no_dead_strip	_is_usable_unique_index
.subsections_via_symbols
