	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function make_pathkey_from_sortinfo
_make_pathkey_from_sortinfo:            ## @make_pathkey_from_sortinfo
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, %ebx
	movl	%ecx, %r13d
	movq	%rdi, %r14
	cmpl	$0, 16(%rbp)
	movl	%r9d, -56(%rbp)                 ## 4-byte Spill
	movl	%edx, -52(%rbp)                 ## 4-byte Spill
	movq	%rsi, -88(%rbp)                 ## 8-byte Spill
	jne	LBB0_1
## %bb.2:
	movq	_BTLessStrategyNumber@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_BTGreaterStrategyNumber@GOTPCREL(%rip), %rax
LBB0_3:
	movl	48(%rbp), %ecx
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	movl	40(%rbp), %ecx
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	movl	32(%rbp), %ecx
	movq	%rcx, -80(%rbp)                 ## 8-byte Spill
	movl	24(%rbp), %ecx
	movl	%ecx, -48(%rbp)                 ## 4-byte Spill
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	_BTEqualStrategyNumber@GOTPCREL(%rip), %r15
	movl	(%r15), %ecx
	movl	%r13d, %edi
	movl	%ebx, %esi
	movl	%ebx, %edx
	callq	_get_opfamily_member
	movl	%eax, %r12d
	movl	%eax, %edi
	callq	_OidIsValid
	testl	%eax, %eax
	jne	LBB0_5
## %bb.4:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%r15), %edx
	leaq	L_.str(%rip), %rsi
	movl	%ebx, %ecx
	movl	%ebx, %r8d
	movl	%r13d, %r9d
	xorl	%eax, %eax
	callq	_elog
LBB0_5:
	movl	%r12d, %edi
	callq	_get_mergejoin_opfamilies
	movq	%rax, %r15
	testq	%rax, %rax
	jne	LBB0_7
## %bb.6:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	movl	%r12d, %edx
	xorl	%eax, %eax
	callq	_elog
LBB0_7:
	subq	$8, %rsp
	movq	%r14, %rdi
	movq	-88(%rbp), %rsi                 ## 8-byte Reload
	movl	-52(%rbp), %edx                 ## 4-byte Reload
	movq	%r15, %rcx
	movl	%ebx, %r8d
	movl	-56(%rbp), %r9d                 ## 4-byte Reload
	pushq	-64(%rbp)                       ## 8-byte Folded Reload
	pushq	-72(%rbp)                       ## 8-byte Folded Reload
	pushq	-80(%rbp)                       ## 8-byte Folded Reload
	callq	_get_eclass_for_sort_expr
	addq	$32, %rsp
	testq	%rax, %rax
	je	LBB0_8
## %bb.9:
	movq	%r14, %rdi
	movq	%rax, %rsi
	movl	%r13d, %edx
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	movl	-48(%rbp), %r8d                 ## 4-byte Reload
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_make_canonical_pathkey         ## TAILCALL
LBB0_8:
	xorl	%eax, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BTGreaterStrategyNumber,4,2    ## @BTGreaterStrategyNumber
	.comm	_BTLessStrategyNumber,4,2       ## @BTLessStrategyNumber
	.comm	_BTEqualStrategyNumber,4,2      ## @BTEqualStrategyNumber
	.comm	_ERROR,4,2                      ## @ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"missing operator %d(%u,%u) in opfamily %u"

L_.str.1:                               ## @.str.1
	.asciz	"could not find opfamilies for equality operator %u"

	.no_dead_strip	_make_pathkey_from_sortinfo
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function make_pathkey_from_sortinfo
_make_pathkey_from_sortinfo:            ; @make_pathkey_from_sortinfo
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	stp	w7, w5, [sp, #40]               ; 8-byte Folded Spill
	mov	x24, x4
	mov	x20, x3
	mov	x26, x2
	mov	x28, x1
	mov	x21, x0
	ldp	w25, w23, [x29, #20]
	ldr	w27, [x29, #16]
Lloh0:
	adrp	x8, _BTGreaterStrategyNumber@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BTGreaterStrategyNumber@GOTPAGEOFF]
Lloh2:
	adrp	x9, _BTLessStrategyNumber@GOTPAGE
Lloh3:
	ldr	x9, [x9, _BTLessStrategyNumber@GOTPAGEOFF]
	cmp	w6, #0
	csel	x8, x9, x8, eq
	ldr	w8, [x8]
	str	w8, [sp, #36]                   ; 4-byte Folded Spill
Lloh4:
	adrp	x22, _BTEqualStrategyNumber@GOTPAGE
Lloh5:
	ldr	x22, [x22, _BTEqualStrategyNumber@GOTPAGEOFF]
	ldr	w3, [x22]
	mov	x0, x20
	mov	x1, x4
	mov	x2, x4
	bl	_get_opfamily_member
	mov	x19, x0
	bl	_OidIsValid
	cbnz	w0, LBB0_2
; %bb.1:
Lloh6:
	adrp	x8, _ERROR@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	ldr	w2, [x22]
	stp	x24, x20, [sp, #8]
	str	x24, [sp]
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	bl	_elog
LBB0_2:
	mov	x0, x19
	bl	_get_mergejoin_opfamilies
	mov	x22, x0
	cbnz	x0, LBB0_4
; %bb.3:
Lloh11:
	adrp	x8, _ERROR@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
Lloh14:
	adrp	x1, l_.str.1@PAGE
Lloh15:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x2, x19
	bl	_elog
LBB0_4:
	str	w23, [sp]
	mov	x0, x21
	mov	x1, x28
	mov	x2, x26
	mov	x3, x22
	mov	x4, x24
	ldr	w5, [sp, #44]                   ; 4-byte Folded Reload
	mov	x6, x27
	mov	x7, x25
	bl	_get_eclass_for_sort_expr
	cbz	x0, LBB0_6
; %bb.5:
	mov	x1, x0
	mov	x0, x21
	mov	x2, x20
	ldp	w3, w4, [sp, #36]               ; 8-byte Folded Reload
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	b	_make_canonical_pathkey
LBB0_6:
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_BTGreaterStrategyNumber,4,2    ; @BTGreaterStrategyNumber
	.comm	_BTLessStrategyNumber,4,2       ; @BTLessStrategyNumber
	.comm	_BTEqualStrategyNumber,4,2      ; @BTEqualStrategyNumber
	.comm	_ERROR,4,2                      ; @ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"missing operator %d(%u,%u) in opfamily %u"

l_.str.1:                               ; @.str.1
	.asciz	"could not find opfamilies for equality operator %u"

	.no_dead_strip	_make_pathkey_from_sortinfo
.subsections_via_symbols
