	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_datum_image_eq                 ## -- Begin function datum_image_eq
	.p2align	4, 0x90
_datum_image_eq:                        ## @datum_image_eq
	.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
	movq	%rsi, %r14
	movq	%rdi, %r12
	testl	%edx, %edx
	je	LBB0_2
## %bb.1:
	cmpq	%r14, %r12
	jmp	LBB0_5
LBB0_2:
	movl	%ecx, %ebx
	testl	%ecx, %ecx
	jle	LBB0_7
## %bb.3:
	movq	%r12, %rdi
	callq	_DatumGetPointer
	movq	%rax, %r15
	movq	%r14, %rdi
	callq	_DatumGetPointer
	movl	%ebx, %edx
	movq	%r15, %rdi
	movq	%rax, %rsi
LBB0_4:
	callq	_memcmp
	testq	%rax, %rax
LBB0_5:
	sete	%bl
LBB0_6:
	movzbl	%bl, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	cmpl	$-2, %ebx
	je	LBB0_14
## %bb.8:
	cmpl	$-1, %ebx
	jne	LBB0_16
## %bb.9:
	movq	%r12, %rdi
	callq	_toast_raw_datum_size
	movq	%rax, %rbx
	movq	%r14, %rdi
	callq	_toast_raw_datum_size
	cmpq	%rax, %rbx
	jne	LBB0_18
## %bb.10:
	movq	%r12, %rdi
	callq	_PG_DETOAST_DATUM_PACKED
	movq	%rax, %r13
	movq	%r14, %rdi
	callq	_PG_DETOAST_DATUM_PACKED
	movq	%rax, %r15
	movq	%r13, %rdi
	callq	_VARDATA_ANY
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	%r15, -56(%rbp)                 ## 8-byte Spill
	movq	%r15, %rdi
	callq	_VARDATA_ANY
	movq	_VARHDRSZ@GOTPCREL(%rip), %rcx
	subq	(%rcx), %rbx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%rax, %rsi
	movq	%rbx, %rdx
	callq	_memcmp
	testq	%rax, %rax
	sete	%bl
	cmpq	%r12, %r13
	je	LBB0_12
## %bb.11:
	movq	%r13, %rdi
	callq	_pfree
LBB0_12:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	cmpq	%r14, %rdi
	je	LBB0_6
## %bb.13:
	callq	_pfree
	jmp	LBB0_6
LBB0_14:
	movq	%r12, %rdi
	callq	_DatumGetCString
	movq	%rax, %r15
	movq	%r14, %rdi
	callq	_DatumGetCString
	movq	%rax, %r14
	movq	%r15, %rdi
	callq	_strlen
	movq	%rax, %rbx
	movq	%r14, %rdi
	callq	_strlen
	cmpq	%rax, %rbx
	jne	LBB0_18
## %bb.15:
	incq	%rbx
	movq	%r15, %rdi
	movq	%r14, %rsi
	movq	%rbx, %rdx
	jmp	LBB0_4
LBB0_16:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movl	%ebx, %edx
	callq	_elog
	movb	$1, %bl
	jmp	LBB0_6
LBB0_18:
	xorl	%ebx, %ebx
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.comm	_VARHDRSZ,8,3                   ## @VARHDRSZ
	.comm	_ERROR,4,2                      ## @ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"unexpected typLen: %d"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_datum_image_eq                 ; -- Begin function datum_image_eq
	.p2align	2
_datum_image_eq:                        ; @datum_image_eq
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x19, x1
	mov	x20, x0
	cbz	w2, LBB0_2
; %bb.1:
	cmp	x20, x19
	b	LBB0_5
LBB0_2:
	mov	x21, x3
	cmp	w3, #1
	b.lt	LBB0_7
; %bb.3:
	mov	x0, x20
	bl	_DatumGetPointer
	mov	x20, x0
	mov	x0, x19
	bl	_DatumGetPointer
	mov	x1, x0
	mov	w2, w21
	mov	x0, x20
LBB0_4:
	bl	_memcmp
	cmp	x0, #0
LBB0_5:
	cset	w21, eq
LBB0_6:
	mov	x0, x21
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_7:
	cmn	w21, #2
	b.eq	LBB0_14
; %bb.8:
	cmn	w21, #1
	b.ne	LBB0_16
; %bb.9:
	mov	x0, x20
	bl	_toast_raw_datum_size
	mov	x21, x0
	mov	x0, x19
	bl	_toast_raw_datum_size
	cmp	x21, x0
	b.ne	LBB0_17
; %bb.10:
	mov	x0, x20
	bl	_PG_DETOAST_DATUM_PACKED
	mov	x23, x0
	mov	x0, x19
	bl	_PG_DETOAST_DATUM_PACKED
	mov	x22, x0
	mov	x0, x23
	bl	_VARDATA_ANY
	mov	x24, x0
	mov	x0, x22
	bl	_VARDATA_ANY
	mov	x1, x0
Lloh0:
	adrp	x8, _VARHDRSZ@GOTPAGE
Lloh1:
	ldr	x8, [x8, _VARHDRSZ@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	sub	x2, x21, x8
	mov	x0, x24
	bl	_memcmp
	cmp	x0, #0
	cset	w21, eq
	cmp	x23, x20
	b.eq	LBB0_12
; %bb.11:
	mov	x0, x23
	bl	_pfree
LBB0_12:
	cmp	x22, x19
	b.eq	LBB0_6
; %bb.13:
	mov	x0, x22
	bl	_pfree
	b	LBB0_6
LBB0_14:
	mov	x0, x20
	bl	_DatumGetCString
	mov	x20, x0
	mov	x0, x19
	bl	_DatumGetCString
	mov	x19, x0
	mov	x0, x20
	bl	_strlen
	mov	x21, x0
	mov	x0, x19
	bl	_strlen
	cmp	x21, x0
	b.ne	LBB0_17
; %bb.15:
	add	x2, x21, #1
	mov	x0, x20
	mov	x1, x19
	b	LBB0_4
LBB0_16:
Lloh3:
	adrp	x8, _ERROR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x21
	bl	_elog
	mov	w21, #1
	b	LBB0_6
LBB0_17:
	mov	w21, #0
	b	LBB0_6
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_VARHDRSZ,8,3                   ; @VARHDRSZ
	.comm	_ERROR,4,2                      ; @ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"unexpected typLen: %d"

.subsections_via_symbols
