	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function _bt_find_extreme_element
__bt_find_extreme_element:              ## @_bt_find_extreme_element
	.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
	movl	%r8d, -44(%rbp)                 ## 4-byte Spill
	movq	%rcx, %r15
	movl	%edx, %r14d
	movq	(%rdi), %rbx
	movq	(%rsi), %r13
	movq	_InvalidOid@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r13
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	jne	LBB0_1
## %bb.2:
	movq	(%rbx), %rdx
	movslq	8(%rsi), %rax
	movq	-8(%rdx,%rax,8), %r13
	jmp	LBB0_3
LBB0_1:
	movslq	8(%rsi), %rax
LBB0_3:
	decq	%rax
	movq	8(%rbx), %rdx
	movl	(%rdx,%rax,4), %edi
	movq	%r13, %rsi
	movq	%r13, %rdx
	movl	%r14d, %ecx
	callq	_get_opfamily_member
	movq	%rax, %r12
	movq	%rax, %rdi
	callq	_OidIsValid
	testl	%eax, %eax
	jne	LBB0_5
## %bb.4:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movslq	%r14d, %rdx
	movq	8(%rbx), %rax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movslq	8(%rcx), %rcx
	movl	-4(%rax,%rcx,4), %r9d
	leaq	L_.str(%rip), %rsi
	movq	%r13, %rcx
	movq	%r13, %r8
	xorl	%eax, %eax
	callq	_elog
LBB0_5:
	movq	%r12, %rdi
	callq	_get_opcode
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_RegProcedureIsValid
	testl	%eax, %eax
	jne	LBB0_7
## %bb.6:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	movq	%r12, %rdx
	xorl	%eax, %eax
	callq	_elog
LBB0_7:
	leaq	-48(%rbp), %rsi
	movl	%ebx, %edi
	callq	_fmgr_info
	xorl	%edi, %edi
	movl	-44(%rbp), %r13d                ## 4-byte Reload
	testl	%r13d, %r13d
	setg	%dil
	callq	_Assert
	movl	(%r15), %ebx
	cmpl	$2, %r13d
	jl	LBB0_12
## %bb.8:
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	movl	%r13d, %r13d
	movl	$1, %r14d
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_9 Depth=1
	incq	%r14
	cmpq	%r14, %r13
	je	LBB0_12
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movl	12(%r12), %esi
	movl	(%r15,%r14,4), %edx
	leaq	-48(%rbp), %rdi
	movl	%ebx, %ecx
	callq	_FunctionCall2Coll
	movl	%eax, %edi
	callq	_DatumGetBool
	testq	%rax, %rax
	je	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=1
	movl	(%r15,%r14,4), %ebx
	jmp	LBB0_11
LBB0_12:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_InvalidOid,8,3                 ## @InvalidOid
	.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	"missing oprcode for operator %u"

	.no_dead_strip	__bt_find_extreme_element
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function _bt_find_extreme_element
__bt_find_extreme_element:              ; @_bt_find_extreme_element
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	x21, x4
	mov	x20, x3
	mov	x22, x2
	mov	x19, x1
	ldr	x25, [x0]
	ldr	x23, [x1]
Lloh0:
	adrp	x8, _InvalidOid@GOTPAGE
Lloh1:
	ldr	x8, [x8, _InvalidOid@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x23, x8
	b.ne	LBB0_2
; %bb.1:
	ldr	x9, [x25]
	ldrsw	x8, [x19, #8]
	sub	x8, x8, #1
	ldr	x23, [x9, x8, lsl #3]
	b	LBB0_3
LBB0_2:
	ldrsw	x8, [x19, #8]
	sub	x8, x8, #1
LBB0_3:
	ldr	x9, [x25, #8]
	ldr	w0, [x9, x8, lsl #2]
	mov	x1, x23
	mov	x2, x23
	mov	x3, x22
	bl	_get_opfamily_member
	mov	x24, x0
	bl	_OidIsValid
	cbnz	w0, LBB0_5
; %bb.4:
Lloh3:
	adrp	x8, _ERROR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	sxtw	x2, w22
	ldr	x8, [x25, #8]
	ldrsw	x9, [x19, #8]
	add	x8, x8, x9, lsl #2
	ldur	w8, [x8, #-4]
	stp	x23, x8, [sp, #8]
	str	x23, [sp]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	bl	_elog
LBB0_5:
	mov	x0, x24
	bl	_get_opcode
	mov	x22, x0
	bl	_RegProcedureIsValid
	cbnz	w0, LBB0_7
; %bb.6:
Lloh8:
	adrp	x8, _ERROR@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
Lloh11:
	adrp	x1, l_.str.1@PAGE
Lloh12:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x2, x24
	bl	_elog
LBB0_7:
	add	x1, sp, #28
	mov	x0, x22
	bl	_fmgr_info
	cmp	w21, #0
	cset	w0, gt
	bl	_Assert
	ldr	w22, [x20]
	cmp	w21, #2
	b.lt	LBB0_12
; %bb.8:
	mov	w8, w21
	add	x20, x20, #4
	sub	x21, x8, #1
	b	LBB0_10
LBB0_9:                                 ;   in Loop: Header=BB0_10 Depth=1
	add	x20, x20, #4
	subs	x21, x21, #1
	b.eq	LBB0_12
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x19, #12]
	ldr	w2, [x20]
	add	x0, sp, #28
	mov	x3, x22
	bl	_FunctionCall2Coll
	bl	_DatumGetBool
	cbz	x0, LBB0_9
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	ldr	w22, [x20]
	b	LBB0_9
LBB0_12:
	mov	x0, x22
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_InvalidOid,8,3                 ; @InvalidOid
	.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	"missing oprcode for operator %u"

	.no_dead_strip	__bt_find_extreme_element
.subsections_via_symbols
