	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function get_distance
LCPI0_0:
	.quad	0x3ff0000000000000              ## double 1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_get_distance:                          ## @get_distance
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movl	4(%rdi), %edi
	callq	_OidIsValid
	cmpq	$0, 8(%r15)
	movq	8(%r14), %rcx
	je	LBB0_1
## %bb.5:
	testq	%rcx, %rcx
	je	LBB0_8
## %bb.6:
	movq	(%r15), %rax
	xorps	%xmm0, %xmm0
	cmpq	(%r14), %rax
	jne	LBB0_8
	jmp	LBB0_7
LBB0_1:
	testq	%rcx, %rcx
	je	LBB0_2
LBB0_8:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_get_float8_infinity            ## TAILCALL
LBB0_2:
	testl	%eax, %eax
	je	LBB0_3
## %bb.4:
	movl	(%rbx), %esi
	addq	$4, %rbx
	movl	16(%r14), %edx
	movl	16(%r15), %ecx
	movq	%rbx, %rdi
	callq	_FunctionCall2Coll
	movl	%eax, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_DatumGetFloat8                 ## TAILCALL
LBB0_3:
	movsd	LCPI0_0(%rip), %xmm0            ## xmm0 = mem[0],zero
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_get_distance
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_distance
_get_distance:                          ; @get_distance
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x2
	mov	x20, x1
	mov	x22, x0
	mov	x21, x0
	ldr	w0, [x21, #4]!
	bl	_OidIsValid
	ldr	x9, [x20, #8]
	ldr	x8, [x19, #8]
	cbz	x9, LBB0_3
; %bb.1:
	cbz	x8, LBB0_4
; %bb.2:
	ldr	x8, [x20]
	ldr	x9, [x19]
	movi	d0, #0000000000000000
	cmp	x8, x9
	b.ne	LBB0_4
	b	LBB0_8
LBB0_3:
	cbz	x8, LBB0_5
LBB0_4:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_get_float8_infinity
LBB0_5:
	cbz	w0, LBB0_7
; %bb.6:
	ldr	w1, [x22]
	ldr	w2, [x19, #16]
	ldr	w3, [x20, #16]
	mov	x0, x21
	bl	_FunctionCall2Coll
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_DatumGetFloat8
LBB0_7:
	fmov	d0, #1.00000000
LBB0_8:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_get_distance
.subsections_via_symbols
