	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function _bt_compare_scankey_args
__bt_compare_scankey_args:              ## @_bt_compare_scankey_args
	.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	%r8, -56(%rbp)                  ## 8-byte Spill
	movq	%rcx, %r12
	movq	%rdx, %r13
	movq	%rsi, %r15
	movl	(%rdx), %ecx
	movl	(%r12), %eax
	movl	%eax, %esi
	orl	%ecx, %esi
	movq	_SK_ISNULL@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	testl	%edx, %esi
	je	LBB0_15
## %bb.1:
	xorl	%r14d, %r14d
	movl	$0, %r13d
	testl	%ecx, %edx
	je	LBB0_3
## %bb.2:
	movq	_SK_SEARCHNULL@GOTPCREL(%rip), %rax
	movq	_SK_SEARCHNOTNULL@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edi
	orl	(%rax), %edi
	andl	%ecx, %edi
	callq	_Assert
	movl	(%r12), %eax
	movl	(%rbx), %edx
	movl	$1, %r13d
LBB0_3:
	testl	%eax, %edx
	je	LBB0_5
## %bb.4:
	movq	_SK_SEARCHNULL@GOTPCREL(%rip), %rcx
	movq	_SK_SEARCHNOTNULL@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edi
	orl	(%rcx), %edi
	andl	%eax, %edi
	callq	_Assert
	movl	$1, %r14d
LBB0_5:
	movl	4(%r15), %eax
	movq	_SK_BT_NULLS_FIRST@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%r15)
	je	LBB0_7
## %bb.6:
	movl	%eax, %edi
	callq	_BTCommuteStrategyNumber
                                        ## kill: def $eax killed $eax def $rax
LBB0_7:
	leal	-128(%rax), %ecx
	cmpl	$4, %ecx
	ja	LBB0_14
## %bb.8:
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%rcx,4), %rcx
	addq	%rax, %rcx
	jmpq	*%rcx
LBB0_9:
	xorl	%ebx, %ebx
	cmpl	%r14d, %r13d
	setb	%bl
	jmp	LBB0_25
LBB0_15:
	movq	(%rdi), %rbx
	movl	8(%r13), %eax
	xorl	%edi, %edi
	cmpl	8(%r12), %eax
	sete	%dil
	callq	_Assert
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movq	(%rbx), %rcx
	movslq	8(%r13), %rax
	movq	-8(%rcx,%rax,8), %rdx
	movq	16(%r13), %rbx
	movq	_InvalidOid@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rsi
	cmpq	%rsi, %rbx
	cmoveq	%rdx, %rbx
	movq	16(%r12), %r14
	cmpq	%rsi, %r14
	cmoveq	%rdx, %r14
	movq	16(%r15), %rcx
	cmpq	%rsi, %rcx
	cmoveq	%rdx, %rcx
	cmpq	%rdx, %rbx
	jne	LBB0_18
## %bb.16:
	cmpq	%rcx, %r14
	jne	LBB0_18
## %bb.17:
	movl	28(%r15), %esi
	addq	$32, %r15
	movl	24(%r13), %edx
	movl	24(%r12), %ecx
	movq	%r15, %rdi
	callq	_FunctionCall2Coll
	jmp	LBB0_24
LBB0_18:
	movl	4(%r15), %ecx
	movq	_SK_BT_DESC@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	testl	%edx, (%r15)
	je	LBB0_20
## %bb.19:
	movl	%ecx, %edi
	callq	_BTCommuteStrategyNumber
	movl	%eax, %ecx
	movslq	8(%r13), %rax
LBB0_20:
	decq	%rax
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movq	8(%rdx), %rdx
	movl	(%rdx,%rax,4), %edi
	movq	%rbx, %rsi
	movq	%r14, %rdx
	callq	_get_opfamily_member
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_OidIsValid
	xorl	%ebx, %ebx
	testq	%rax, %rax
	je	LBB0_21
## %bb.22:
	movq	%r14, %rdi
	callq	_get_opcode
	movl	%eax, %r14d
	movl	%eax, %edi
	callq	_RegProcedureIsValid
	movq	%rax, %rcx
	movl	$0, %eax
	testq	%rcx, %rcx
	je	LBB0_26
## %bb.23:
	movl	28(%r15), %esi
	movl	24(%r13), %edx
	movl	24(%r12), %ecx
	movl	%r14d, %edi
	callq	_OidFunctionCall2Coll
LBB0_24:
	movl	%eax, %edi
	callq	_DatumGetBool
	movl	%eax, %ebx
	jmp	LBB0_25
LBB0_14:
	movq	_ERROR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	leaq	L_.str(%rip), %rsi
	movl	%eax, %edx
	callq	_elog
	movl	$1, %eax
	xorl	%ebx, %ebx
	jmp	LBB0_26
LBB0_10:
	xorl	%ebx, %ebx
	cmpl	%r14d, %r13d
	setbe	%bl
	jmp	LBB0_25
LBB0_13:
	xorl	%ebx, %ebx
	cmpl	%r14d, %r13d
	seta	%bl
	jmp	LBB0_25
LBB0_12:
	xorl	%ebx, %ebx
	cmpl	%r14d, %r13d
	setae	%bl
LBB0_25:
	movl	$1, %eax
LBB0_26:
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movl	%ebx, (%rcx)
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	xorl	%r14d, %r13d
	xorl	$1, %r13d
	movl	$1, %eax
	movl	%r13d, %ebx
	jmp	LBB0_26
LBB0_21:
	xorl	%eax, %eax
	jmp	LBB0_26
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
LJTI0_0:
	.long	L0_0_set_9
	.long	L0_0_set_10
	.long	L0_0_set_13
	.long	L0_0_set_12
	.long	L0_0_set_11
	.end_data_region
                                        ## -- End function
	.comm	_SK_ISNULL,4,2                  ## @SK_ISNULL
	.comm	_SK_SEARCHNULL,4,2              ## @SK_SEARCHNULL
	.comm	_SK_SEARCHNOTNULL,4,2           ## @SK_SEARCHNOTNULL
	.comm	_SK_BT_NULLS_FIRST,4,2          ## @SK_BT_NULLS_FIRST
	.comm	_ERROR,4,2                      ## @ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"unrecognized StrategyNumber: %d"

	.comm	_InvalidOid,8,3                 ## @InvalidOid
	.comm	_SK_BT_DESC,4,2                 ## @SK_BT_DESC
	.no_dead_strip	__bt_compare_scankey_args
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function _bt_compare_scankey_args
__bt_compare_scankey_args:              ; @_bt_compare_scankey_args
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x19, x4
	mov	x21, x3
	mov	x20, x1
	ldr	w10, [x2]
	ldr	w8, [x3]
	orr	w11, w8, w10
Lloh0:
	adrp	x24, _SK_ISNULL@GOTPAGE
Lloh1:
	ldr	x24, [x24, _SK_ISNULL@GOTPAGEOFF]
	ldr	w9, [x24]
	tst	w11, w9
	b.eq	LBB0_4
; %bb.1:
Lloh2:
	adrp	x22, _SK_SEARCHNULL@GOTPAGE
Lloh3:
	ldr	x22, [x22, _SK_SEARCHNULL@GOTPAGEOFF]
Lloh4:
	adrp	x23, _SK_SEARCHNOTNULL@GOTPAGE
Lloh5:
	ldr	x23, [x23, _SK_SEARCHNOTNULL@GOTPAGEOFF]
	tst	w9, w10
	b.eq	LBB0_10
; %bb.2:
	ldr	w8, [x22]
	ldr	w9, [x23]
	orr	w8, w9, w8
	and	w0, w8, w10
	bl	_Assert
	ldr	w8, [x21]
	ldr	w9, [x24]
	mov	w21, #1
	tst	w9, w8
	b.eq	LBB0_11
LBB0_3:
	ldr	w9, [x22]
	ldr	w10, [x23]
	orr	w9, w10, w9
	and	w0, w9, w8
	bl	_Assert
	mov	w22, #1
	b	LBB0_12
LBB0_4:
	mov	x22, x2
	ldr	x25, [x0]
	ldr	w8, [x2, #8]
	ldr	w9, [x21, #8]
	cmp	w8, w9
	cset	w0, eq
	bl	_Assert
	ldr	x9, [x25]
	ldrsw	x8, [x22, #8]
	sub	x8, x8, #1
	ldr	x9, [x9, x8, lsl #3]
Lloh6:
	adrp	x10, _InvalidOid@GOTPAGE
Lloh7:
	ldr	x10, [x10, _InvalidOid@GOTPAGEOFF]
	ldr	x11, [x22, #16]
Lloh8:
	ldr	x10, [x10]
	cmp	x11, x10
	csel	x23, x9, x11, eq
	ldr	x11, [x21, #16]
	cmp	x11, x10
	csel	x24, x9, x11, eq
	ldr	x11, [x20, #16]
	cmp	x11, x10
	csel	x10, x9, x11, eq
	cmp	x23, x9
	ccmp	x24, x10, #0, eq
	b.eq	LBB0_17
; %bb.5:
	ldp	w9, w3, [x20]
Lloh9:
	adrp	x10, _SK_BT_DESC@GOTPAGE
Lloh10:
	ldr	x10, [x10, _SK_BT_DESC@GOTPAGEOFF]
Lloh11:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_7
; %bb.6:
	mov	x0, x3
	bl	_BTCommuteStrategyNumber
	mov	x3, x0
	ldrsw	x8, [x22, #8]
	sub	x8, x8, #1
LBB0_7:
	ldr	x9, [x25, #8]
	ldr	w0, [x9, x8, lsl #2]
	mov	x1, x23
	mov	x2, x24
	bl	_get_opfamily_member
	mov	x23, x0
	bl	_OidIsValid
	cbz	x0, LBB0_19
; %bb.8:
	mov	x0, x23
	bl	_get_opcode
	mov	x23, x0
	bl	_RegProcedureIsValid
	cbz	x0, LBB0_19
; %bb.9:
	ldr	w1, [x20, #28]
	ldr	w2, [x22, #24]
	ldr	w3, [x21, #24]
	mov	x0, x23
	bl	_OidFunctionCall2Coll
	b	LBB0_18
LBB0_10:
	mov	w21, #0
	tst	w9, w8
	b.ne	LBB0_3
LBB0_11:
	mov	w22, #0
LBB0_12:
	ldp	w8, w2, [x20]
Lloh12:
	adrp	x9, _SK_BT_NULLS_FIRST@GOTPAGE
Lloh13:
	ldr	x9, [x9, _SK_BT_NULLS_FIRST@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_14
; %bb.13:
	mov	x0, x2
	bl	_BTCommuteStrategyNumber
	mov	x2, x0
LBB0_14:
	sub	w8, w2, #128
	cmp	w8, #4
	b.hi	LBB0_20
; %bb.15:
Lloh15:
	adrp	x9, lJTI0_0@PAGE
Lloh16:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_16
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_16:
	cmp	w21, w22
	cset	w0, lo
	b	LBB0_25
LBB0_17:
	add	x0, x20, #32
	ldr	w1, [x20, #28]
	ldr	w2, [x22, #24]
	ldr	w3, [x21, #24]
	bl	_FunctionCall2Coll
LBB0_18:
	bl	_DatumGetBool
	b	LBB0_25
LBB0_19:
	mov	w8, #0
	b	LBB0_26
LBB0_20:
Lloh17:
	adrp	x8, _ERROR@GOTPAGE
Lloh18:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh19:
	ldr	w0, [x8]
Lloh20:
	adrp	x1, l_.str@PAGE
Lloh21:
	add	x1, x1, l_.str@PAGEOFF
	bl	_elog
	mov	w0, #0
	b	LBB0_25
LBB0_21:
	cmp	w21, w22
	cset	w0, ls
	b	LBB0_25
LBB0_22:
	cmp	w21, w22
	cset	w0, hi
	b	LBB0_25
LBB0_23:
	cmp	w21, w22
	cset	w0, hs
	b	LBB0_25
LBB0_24:
	eor	w8, w21, w22
	eor	w0, w8, #0x1
LBB0_25:
	mov	w8, #1
LBB0_26:
	str	w0, [x19]
	mov	x0, x8
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_16-LBB0_16)>>2
	.byte	(LBB0_21-LBB0_16)>>2
	.byte	(LBB0_22-LBB0_16)>>2
	.byte	(LBB0_23-LBB0_16)>>2
	.byte	(LBB0_24-LBB0_16)>>2
                                        ; -- End function
	.comm	_SK_ISNULL,4,2                  ; @SK_ISNULL
	.comm	_SK_SEARCHNULL,4,2              ; @SK_SEARCHNULL
	.comm	_SK_SEARCHNOTNULL,4,2           ; @SK_SEARCHNOTNULL
	.comm	_SK_BT_NULLS_FIRST,4,2          ; @SK_BT_NULLS_FIRST
	.comm	_ERROR,4,2                      ; @ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"unrecognized StrategyNumber: %d"

	.comm	_InvalidOid,8,3                 ; @InvalidOid
	.comm	_SK_BT_DESC,4,2                 ; @SK_BT_DESC
	.no_dead_strip	__bt_compare_scankey_args
.subsections_via_symbols
