	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function show_sortorder_options
_show_sortorder_options:                ## @show_sortorder_options
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, -48(%rbp)                 ## 4-byte Spill
	movq	%rcx, %rbx
	movq	%rdx, %r12
	movl	%edi, %r15d
	movq	%rsi, %rdi
	callq	_exprType
	movq	%rax, %r14
	movl	$0, -44(%rbp)
	movq	_TYPECACHE_LT_OPR@GOTPCREL(%rip), %rax
	movq	_TYPECACHE_GT_OPR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	movq	%r14, %rdi
	callq	_lookup_type_cache
	movq	%rax, %r13
	movq	%rbx, %rdi
	callq	_OidIsValid
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	movq	%r14, %rdi
	callq	_get_typcollation
	cmpq	%rbx, %rax
	je	LBB0_5
## %bb.2:
	movq	%rbx, %rdi
	callq	_get_collation_name
	movq	%rax, %r14
	testq	%rax, %rax
	jne	LBB0_4
## %bb.3:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdx
	callq	_elog
LBB0_4:
	movq	%r14, %rdi
	callq	_quote_identifier
	leaq	L_.str.1(%rip), %rsi
	movl	%r15d, %edi
	movq	%rax, %rdx
	callq	_appendStringInfo
LBB0_5:
	cmpq	%r12, (%r13)
	jne	LBB0_10
## %bb.6:
	leaq	L_.str.2(%rip), %rsi
	movl	%r15d, %edi
	callq	_appendStringInfoString
	movl	$1, -44(%rbp)
	cmpl	$0, -48(%rbp)                   ## 4-byte Folded Reload
	sete	%cl
	movb	$1, %al
LBB0_7:
	testb	%cl, %cl
	je	LBB0_19
## %bb.8:
	testb	%al, %al
	je	LBB0_19
## %bb.9:
	leaq	L_.str.6(%rip), %rsi
	jmp	LBB0_18
LBB0_10:
	cmpq	%r12, 8(%r13)
	jne	LBB0_12
## %bb.11:
	xorl	%eax, %eax
	jmp	LBB0_15
LBB0_12:
	movq	%r12, %rdi
	callq	_get_opname
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_14
## %bb.13:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.3(%rip), %rsi
	movq	%r12, %rdx
	callq	_elog
LBB0_14:
	leaq	L_.str.4(%rip), %rsi
	movl	%r15d, %edi
	movq	%rbx, %rdx
	callq	_appendStringInfo
	leaq	-44(%rbp), %rsi
	movq	%r12, %rdi
	callq	_get_equality_op_for_ordering_op
	cmpl	$0, -44(%rbp)
	setne	%al
LBB0_15:
	cmpl	$0, -48(%rbp)                   ## 4-byte Folded Reload
	sete	%cl
	je	LBB0_7
## %bb.16:
	testb	%al, %al
	jne	LBB0_7
## %bb.17:
	leaq	L_.str.5(%rip), %rsi
LBB0_18:
	movl	%r15d, %edi
	callq	_appendStringInfoString
LBB0_19:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TYPECACHE_LT_OPR,4,2           ## @TYPECACHE_LT_OPR
	.comm	_TYPECACHE_GT_OPR,4,2           ## @TYPECACHE_GT_OPR
	.comm	_ERROR,4,2                      ## @ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"cache lookup failed for collation %u"

L_.str.1:                               ## @.str.1
	.asciz	" COLLATE %s"

L_.str.2:                               ## @.str.2
	.asciz	" DESC"

L_.str.3:                               ## @.str.3
	.asciz	"cache lookup failed for operator %u"

L_.str.4:                               ## @.str.4
	.asciz	" USING %s"

L_.str.5:                               ## @.str.5
	.asciz	" NULLS FIRST"

L_.str.6:                               ## @.str.6
	.asciz	" NULLS LAST"

	.no_dead_strip	_show_sortorder_options
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function show_sortorder_options
_show_sortorder_options:                ; @show_sortorder_options
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.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
	mov	x20, x4
	mov	x23, x3
	mov	x21, x2
	mov	x19, x0
	mov	x0, x1
	bl	_exprType
	mov	x24, x0
Lloh0:
	adrp	x8, _TYPECACHE_LT_OPR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TYPECACHE_LT_OPR@GOTPAGEOFF]
	str	wzr, [sp, #12]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _TYPECACHE_GT_OPR@GOTPAGE
Lloh4:
	ldr	x9, [x9, _TYPECACHE_GT_OPR@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w1, w9, w8
	bl	_lookup_type_cache
	mov	x22, x0
	mov	x0, x23
	bl	_OidIsValid
	cbz	x0, LBB0_5
; %bb.1:
	mov	x0, x24
	bl	_get_typcollation
	cmp	x0, x23
	b.eq	LBB0_5
; %bb.2:
	mov	x0, x23
	bl	_get_collation_name
	mov	x24, x0
	cbnz	x0, LBB0_4
; %bb.3:
Lloh6:
	adrp	x8, _ERROR@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x23
	bl	_elog
LBB0_4:
	mov	x0, x24
	bl	_quote_identifier
	mov	x2, x0
Lloh11:
	adrp	x1, l_.str.1@PAGE
Lloh12:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_appendStringInfo
LBB0_5:
	ldr	x8, [x22]
	cmp	x8, x21
	b.ne	LBB0_10
; %bb.6:
Lloh13:
	adrp	x1, l_.str.2@PAGE
Lloh14:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_appendStringInfoString
	mov	w8, #1
	str	w8, [sp, #12]
	cmp	w20, #0
	cset	w9, eq
LBB0_7:
	cbz	w9, LBB0_19
; %bb.8:
	cbz	w8, LBB0_19
; %bb.9:
Lloh15:
	adrp	x1, l_.str.6@PAGE
Lloh16:
	add	x1, x1, l_.str.6@PAGEOFF
	b	LBB0_18
LBB0_10:
	ldr	x8, [x22, #8]
	cmp	x8, x21
	b.ne	LBB0_12
; %bb.11:
	mov	w8, #0
	b	LBB0_15
LBB0_12:
	mov	x0, x21
	bl	_get_opname
	mov	x22, x0
	cbnz	x0, LBB0_14
; %bb.13:
Lloh17:
	adrp	x8, _ERROR@GOTPAGE
Lloh18:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh19:
	ldr	w0, [x8]
Lloh20:
	adrp	x1, l_.str.3@PAGE
Lloh21:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x2, x21
	bl	_elog
LBB0_14:
Lloh22:
	adrp	x1, l_.str.4@PAGE
Lloh23:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x19
	mov	x2, x22
	bl	_appendStringInfo
	add	x1, sp, #12
	mov	x0, x21
	bl	_get_equality_op_for_ordering_op
	ldr	w8, [sp, #12]
	cmp	w8, #0
	cset	w8, ne
LBB0_15:
	cmp	w20, #0
	cset	w9, eq
	cbz	w20, LBB0_7
; %bb.16:
	cbnz	w8, LBB0_7
; %bb.17:
Lloh24:
	adrp	x1, l_.str.5@PAGE
Lloh25:
	add	x1, x1, l_.str.5@PAGEOFF
LBB0_18:
	mov	x0, x19
	bl	_appendStringInfoString
LBB0_19:
	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
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.comm	_TYPECACHE_LT_OPR,4,2           ; @TYPECACHE_LT_OPR
	.comm	_TYPECACHE_GT_OPR,4,2           ; @TYPECACHE_GT_OPR
	.comm	_ERROR,4,2                      ; @ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"cache lookup failed for collation %u"

l_.str.1:                               ; @.str.1
	.asciz	" COLLATE %s"

l_.str.2:                               ; @.str.2
	.asciz	" DESC"

l_.str.3:                               ; @.str.3
	.asciz	"cache lookup failed for operator %u"

l_.str.4:                               ; @.str.4
	.asciz	" USING %s"

l_.str.5:                               ; @.str.5
	.asciz	" NULLS FIRST"

l_.str.6:                               ; @.str.6
	.asciz	" NULLS LAST"

	.no_dead_strip	_show_sortorder_options
.subsections_via_symbols
