	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_index_store_float8_orderby_distances ## -- Begin function index_store_float8_orderby_distances
	.p2align	4, 0x90
_index_store_float8_orderby_distances:  ## @index_store_float8_orderby_distances
	.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	%ecx, %r12d
	movq	%rdx, %r15
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r13
	testq	%rdx, %rdx
	setne	%al
	testl	%ecx, %ecx
	sete	%cl
	orb	%al, %cl
	movzbl	%cl, %edi
	callq	_Assert
	movl	%r12d, (%r13)
	cmpl	$0, 4(%r13)
	jle	LBB0_19
## %bb.1:
	xorl	%ebx, %ebx
	xorl	%r12d, %r12d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	16(%r13), %rax
	movq	$0, (%rax,%rbx,2)
	movl	$1, %r14d
LBB0_18:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%r13), %rax
	movl	%r14d, (%rax,%rbx)
	incq	%r12
	movslq	4(%r13), %rax
	addq	$4, %rbx
	cmpq	%rax, %r12
	jge	LBB0_19
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax,%rbx,2), %rax
	movq	_FLOAT8OID@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_9
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%r13), %rax
	cmpl	$0, (%rax,%rbx)
	je	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	testq	%r15, %r15
	jne	LBB0_6
	jmp	LBB0_15
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	_FLOAT4OID@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_16
## %bb.10:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%r13), %rax
	cmpl	$0, (%rax,%rbx)
	je	LBB0_11
## %bb.12:                              ##   in Loop: Header=BB0_2 Depth=1
	testq	%r15, %r15
	jne	LBB0_13
	jmp	LBB0_15
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	$1, %r14d
	cmpl	$0, (%r13)
	je	LBB0_18
## %bb.17:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_elog
	jmp	LBB0_18
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	16(%r13), %rax
	movq	(%rax,%rbx,2), %rdi
	callq	_DatumGetPointer
	movl	%eax, %edi
	callq	_pfree
	testq	%r15, %r15
	je	LBB0_15
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$0, 8(%r15,%rbx,4)
	jne	LBB0_15
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r15,%rbx,4), %rdi
	callq	_Float8GetDatum
	jmp	LBB0_8
LBB0_11:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	16(%r13), %rax
	movq	(%rax,%rbx,2), %rdi
	callq	_DatumGetPointer
	movl	%eax, %edi
	callq	_pfree
	testq	%r15, %r15
	je	LBB0_15
LBB0_13:                                ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$0, 8(%r15,%rbx,4)
	jne	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	(%r15,%rbx,4), %edi
	callq	_Float4GetDatum
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	16(%r13), %rcx
	movq	%rax, (%rcx,%rbx,2)
	xorl	%r14d, %r14d
	jmp	LBB0_18
LBB0_19:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FLOAT8OID,8,3                  ## @FLOAT8OID
	.comm	_FLOAT4OID,8,3                  ## @FLOAT4OID
	.comm	_ERROR,4,2                      ## @ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ORDER BY operator must return float8 or float4 if the distance function is lossy"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_index_store_float8_orderby_distances ; -- Begin function index_store_float8_orderby_distances
	.p2align	2
_index_store_float8_orderby_distances:  ; @index_store_float8_orderby_distances
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	mov	x22, x3
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	cmp	x2, #0
	ccmp	w3, #0, #4, eq
	cset	w0, eq
	bl	_Assert
	str	w22, [x21]
	ldr	w8, [x21, #4]
	cmp	w8, #1
	b.lt	LBB0_20
; %bb.1:
	mov	x23, #0
	add	x24, x19, #8
Lloh0:
	adrp	x25, _FLOAT8OID@GOTPAGE
Lloh1:
	ldr	x25, [x25, _FLOAT8OID@GOTPAGEOFF]
Lloh2:
	adrp	x26, _FLOAT4OID@GOTPAGE
Lloh3:
	ldr	x26, [x26, _FLOAT4OID@GOTPAGEOFF]
Lloh4:
	adrp	x27, _ERROR@GOTPAGE
Lloh5:
	ldr	x27, [x27, _ERROR@GOTPAGEOFF]
Lloh6:
	adrp	x22, l_.str@PAGE
Lloh7:
	add	x22, x22, l_.str@PAGEOFF
	b	LBB0_5
LBB0_2:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x21, #16]
	str	xzr, [x8, x23, lsl #3]
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	w8, #1
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	x9, [x21, #8]
	str	w8, [x9, x23, lsl #2]
	add	x23, x23, #1
	ldrsw	x8, [x21, #4]
	add	x24, x24, #16
	cmp	x23, x8
	b.ge	LBB0_20
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20, x23, lsl #3]
	ldr	x9, [x25]
	cmp	x8, x9
	b.ne	LBB0_8
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x21, #8]
	ldr	w8, [x8, x23, lsl #2]
	cbz	w8, LBB0_13
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	cbnz	x19, LBB0_14
	b	LBB0_2
LBB0_8:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	x9, [x26]
	cmp	x8, x9
	b.ne	LBB0_11
; %bb.9:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x21, #8]
	ldr	w8, [x8, x23, lsl #2]
	cbz	w8, LBB0_16
; %bb.10:                               ;   in Loop: Header=BB0_5 Depth=1
	cbnz	x19, LBB0_17
	b	LBB0_2
LBB0_11:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w8, [x21]
	cbz	w8, LBB0_3
; %bb.12:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	w0, [x27]
	mov	x1, x22
	bl	_elog
	b	LBB0_3
LBB0_13:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x21, #16]
	ldr	x0, [x8, x23, lsl #3]
	bl	_DatumGetPointer
	bl	_pfree
	cbz	x19, LBB0_2
LBB0_14:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w8, [x24]
	cbnz	w8, LBB0_2
; %bb.15:                               ;   in Loop: Header=BB0_5 Depth=1
	ldur	x0, [x24, #-8]
	bl	_Float8GetDatum
	b	LBB0_19
LBB0_16:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x21, #16]
	ldr	x0, [x8, x23, lsl #3]
	bl	_DatumGetPointer
	bl	_pfree
	cbz	x19, LBB0_2
LBB0_17:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w8, [x24]
	cbnz	w8, LBB0_2
; %bb.18:                               ;   in Loop: Header=BB0_5 Depth=1
	ldur	w0, [x24, #-8]
	bl	_Float4GetDatum
LBB0_19:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	w8, #0
	ldr	x9, [x21, #16]
	str	x0, [x9, x23, lsl #3]
	b	LBB0_4
LBB0_20:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_FLOAT8OID,8,3                  ; @FLOAT8OID
	.comm	_FLOAT4OID,8,3                  ; @FLOAT4OID
	.comm	_ERROR,4,2                      ; @ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ORDER BY operator must return float8 or float4 if the distance function is lossy"

.subsections_via_symbols
