	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function isOrderedColumn
_isOrderedColumn:                       ## @isOrderedColumn
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	(%rdi), %eax
	xorl	%r15d, %r15d
	testl	%eax, %eax
	jle	LBB0_18
## %bb.1:
	movl	%edx, %r14d
	movq	8(%rdi), %rcx
	leal	-1(%rax), %edx
	leaq	(%rdx,%rdx,2), %rdx
	leaq	(%rcx,%rdx,8), %rbx
	addq	$16, %rbx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	%esi, -16(%rbx)
	je	LBB0_3
## %bb.17:                              ##   in Loop: Header=BB0_2 Depth=1
	addq	$-24, %rbx
	decl	%eax
	jg	LBB0_2
	jmp	LBB0_18
LBB0_3:
	movl	-8(%rbx), %eax
	movq	_WHERE_ALL_UNIQUE@GOTPCREL(%rip), %rcx
	movl	$1, %r15d
	testl	%eax, (%rcx)
	jne	LBB0_18
## %bb.4:
	movq	_WHERE_ORDERED@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	andl	(%rcx), %eax
	setne	%dil
	callq	_assert
	movq	(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_13
## %bb.5:
	testl	%r14d, %r14d
	js	LBB0_6
## %bb.7:
	movl	(%rax), %ecx
	testl	%ecx, %ecx
	jle	LBB0_8
## %bb.9:
	movq	8(%rax), %rsi
	xorl	%edx, %edx
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	cmpl	%r14d, (%rsi,%rdx,4)
	je	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=1
	incq	%rdx
	cmpq	%rdx, %rcx
	jne	LBB0_10
	jmp	LBB0_18
LBB0_13:
	xorl	%r15d, %r15d
	cmpl	$-1, %r14d
	jne	LBB0_18
	jmp	LBB0_14
LBB0_6:
	xorl	%r15d, %r15d
	jmp	LBB0_14
LBB0_8:
	xorl	%r15d, %r15d
	jmp	LBB0_18
LBB0_12:
	movq	16(%rax), %rax
	movl	(%rax,%rdx,4), %r15d
LBB0_14:
	movq	_WHERE_REVERSE@GOTPCREL(%rip), %r14
	movl	(%r14), %eax
	xorl	%edi, %edi
	andl	-8(%rbx), %eax
	setne	%dil
	callq	_testcase
	movl	(%r14), %eax
	testl	%eax, -8(%rbx)
	je	LBB0_16
## %bb.15:
	xorl	%r14d, %r14d
	movl	%r15d, %ebx
	decl	%ebx
	sete	%r14b
	negl	%ebx
	xorl	%edi, %edi
	cmpl	$2, %r15d
	setb	%dil
	callq	_assert
	movl	%r14d, %edi
	callq	_testcase
	movl	%ebx, %r15d
LBB0_16:
	addl	$2, %r15d
LBB0_18:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_WHERE_ALL_UNIQUE,4,2           ## @WHERE_ALL_UNIQUE
	.comm	_WHERE_ORDERED,4,2              ## @WHERE_ORDERED
	.comm	_WHERE_REVERSE,4,2              ## @WHERE_REVERSE
	.no_dead_strip	_isOrderedColumn
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function isOrderedColumn
_isOrderedColumn:                       ; @isOrderedColumn
	.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
	ldr	w8, [x0]
	subs	w9, w8, #1
	b.lt	LBB0_4
; %bb.1:
	mov	x19, x2
	ldr	x10, [x0, #8]
	mov	w11, #24
	umaddl	x9, w9, w11, x10
	add	x20, x9, #8
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldur	w9, [x20, #-8]
	cmp	w9, w1
	b.eq	LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	sub	w8, w8, #1
	sub	x20, x20, #24
	cmp	w8, #0
	b.gt	LBB0_2
LBB0_4:
	mov	w0, #0
	b	LBB0_19
LBB0_5:
	ldr	w8, [x20]
Lloh0:
	adrp	x9, _WHERE_ALL_UNIQUE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _WHERE_ALL_UNIQUE@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_7
; %bb.6:
	mov	w0, #1
	b	LBB0_19
LBB0_7:
Lloh3:
	adrp	x9, _WHERE_ORDERED@GOTPAGE
Lloh4:
	ldr	x9, [x9, _WHERE_ORDERED@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	cset	w0, ne
	bl	_assert
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_13
; %bb.8:
	tbnz	w19, #31, LBB0_14
; %bb.9:
	ldr	w11, [x8]
	cmp	w11, #1
	b.lt	LBB0_4
; %bb.10:
	mov	x9, #0
	ldr	x10, [x8, #8]
	lsl	x11, x11, #2
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	ldr	w12, [x10, x9]
	cmp	w12, w19
	b.eq	LBB0_15
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=1
	mov	w0, #0
	add	x9, x9, #4
	cmp	x11, x9
	b.ne	LBB0_11
	b	LBB0_19
LBB0_13:
	mov	w21, #0
	mov	w0, #0
	cmn	w19, #1
	b.ne	LBB0_19
	b	LBB0_16
LBB0_14:
	mov	w21, #0
	b	LBB0_16
LBB0_15:
	ldr	x8, [x8, #16]
	ldr	w21, [x8, x9]
LBB0_16:
	ldr	w8, [x20]
Lloh6:
	adrp	x19, _WHERE_REVERSE@GOTPAGE
Lloh7:
	ldr	x19, [x19, _WHERE_REVERSE@GOTPAGEOFF]
	ldr	w9, [x19]
	tst	w9, w8
	cset	w0, ne
	bl	_testcase
	ldr	w8, [x20]
	ldr	w9, [x19]
	tst	w9, w8
	b.eq	LBB0_18
; %bb.17:
	cmp	w21, #1
	cset	w19, eq
	cmp	w21, #2
	cset	w0, lo
	bl	_assert
	mov	x0, x19
	bl	_testcase
	mov	w8, #1
	sub	w21, w8, w21
LBB0_18:
	add	w0, w21, #2
LBB0_19:
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_WHERE_ALL_UNIQUE,4,2           ; @WHERE_ALL_UNIQUE
	.comm	_WHERE_ORDERED,4,2              ; @WHERE_ORDERED
	.comm	_WHERE_REVERSE,4,2              ; @WHERE_REVERSE
	.no_dead_strip	_isOrderedColumn
.subsections_via_symbols
