	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function array_contain_compare
_array_contain_compare:                 ## @array_contain_compare
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %r15
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movq	%rdx, -112(%rbp)                ## 8-byte Spill
	movq	%rsi, %r13
	movq	%rdi, %rbx
	movq	_locfcinfo@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movl	$2, %esi
	callq	_LOCAL_FCINFO
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	callq	_AARR_ELEMTYPE
	movq	%rax, %rbx
	movq	%r13, %rdi
	callq	_AARR_ELEMTYPE
	cmpq	%rax, %rbx
	je	LBB0_2
## %bb.1:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	_ERRCODE_DATATYPE_MISMATCH@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_errmsg
	movl	%r14d, %edi
	movl	%eax, %esi
	callq	_ereport
LBB0_2:
	movq	(%r15), %r12
	testq	%r12, %r12
	je	LBB0_4
## %bb.3:
	cmpq	%rbx, (%r12)
	je	LBB0_7
LBB0_4:
	movq	_TYPECACHE_EQ_OPR_FINFO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_lookup_type_cache
	movq	%rax, %r12
	movl	20(%rax), %edi
	callq	_OidIsValid
	testl	%eax, %eax
	jne	LBB0_6
## %bb.5:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	_ERRCODE_UNDEFINED_FUNCTION@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	movq	%rbx, %rdi
	callq	_format_type_be
	leaq	L_.str.1(%rip), %rdi
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_errmsg
	movl	%r14d, %edi
	movl	%eax, %esi
	callq	_ereport
LBB0_6:
	movq	%r12, (%r15)
LBB0_7:
	movq	%rbx, -104(%rbp)                ## 8-byte Spill
	movl	8(%r12), %r14d
	movl	12(%r12), %eax
	movl	%eax, -60(%rbp)                 ## 4-byte Spill
	movb	16(%r12), %r15b
	movq	%r13, %rdi
	callq	_VARATT_IS_EXPANDED_HEADER
	movsbl	%r15b, %ebx
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:
	movq	%r13, %rdi
	callq	_deconstruct_expanded_array
	movq	(%r13), %rax
	movq	%rax, -96(%rbp)
	movq	8(%r13), %rax
	movq	%rax, -88(%rbp)
	movl	16(%r13), %eax
	movl	%eax, -48(%rbp)
	jmp	LBB0_10
LBB0_9:
	leaq	-48(%rbp), %rax
	leaq	-88(%rbp), %r10
	leaq	-96(%rbp), %r9
	movq	%r13, %rdi
	movq	-104(%rbp), %rsi                ## 8-byte Reload
	movl	%r14d, %edx
	movl	-60(%rbp), %ecx                 ## 4-byte Reload
	movl	%ebx, %r8d
	pushq	%rax
	pushq	%r10
	callq	_deconstruct_array
	addq	$16, %rsp
LBB0_10:
	movq	_locfcinfo@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	addq	$20, %r12
	movl	(%rax), %edi
	movq	8(%rax), %rsi
	subq	$8, %rsp
	xorl	%r13d, %r13d
	movq	%r12, %rdx
	movl	$2, %ecx
	movq	-112(%rbp), %r8                 ## 8-byte Reload
	xorl	%r9d, %r9d
	pushq	$0
	callq	_InitFunctionCallInfoData
	addq	$16, %rsp
	movq	-72(%rbp), %r12                 ## 8-byte Reload
	movq	%r12, %rdi
	callq	_AARR_NDIM
	movl	%eax, %r15d
	movq	%r12, %rdi
	callq	_AARR_DIMS
	movl	%r15d, %edi
	movl	%eax, %esi
	callq	_ArrayGetNItems
	movl	%eax, %r15d
	leaq	-80(%rbp), %rdi
	movq	%r12, %rsi
	callq	_array_iter_setup
	movl	%r15d, -72(%rbp)                ## 4-byte Spill
	testl	%r15d, %r15d
	jle	LBB0_26
## %bb.11:
	movl	-44(%rbp), %r12d                ## 4-byte Reload
	movl	%r14d, -56(%rbp)                ## 4-byte Spill
	movl	%ebx, -52(%rbp)                 ## 4-byte Spill
	jmp	LBB0_14
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_14 Depth=1
	testl	%r12d, %r12d
	movl	-56(%rbp), %r14d                ## 4-byte Reload
	movl	-52(%rbp), %ebx                 ## 4-byte Reload
	jne	LBB0_25
LBB0_13:                                ##   in Loop: Header=BB0_14 Depth=1
	incl	%r13d
	cmpl	-72(%rbp), %r13d                ## 4-byte Folded Reload
	je	LBB0_29
LBB0_14:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_19 Depth 2
	leaq	-80(%rbp), %rdi
	leaq	-76(%rbp), %rsi
	movl	%r13d, %edx
	movl	%r14d, %ecx
	movl	-60(%rbp), %r8d                 ## 4-byte Reload
	movl	%ebx, %r9d
	callq	_array_iter_next
	cmpl	$0, -76(%rbp)
	jne	LBB0_12
## %bb.15:                              ##   in Loop: Header=BB0_14 Depth=1
	movl	-48(%rbp), %ecx
	testl	%ecx, %ecx
	jle	LBB0_21
## %bb.16:                              ##   in Loop: Header=BB0_14 Depth=1
	movq	%rax, %r15
	xorl	%ebx, %ebx
	jmp	LBB0_19
	.p2align	4, 0x90
LBB0_17:                                ##   in Loop: Header=BB0_19 Depth=2
	movq	_locfcinfo@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdi
	movq	8(%rdi), %rcx
	movq	%r15, 8(%rcx)
	movl	$0, (%rcx)
	movq	%rax, 24(%rcx)
	movl	$0, 16(%rcx)
	movl	$0, (%rdi)
	callq	_FunctionCallInvoke
	movl	%eax, %edi
	callq	_DatumGetBool
	movl	-48(%rbp), %ecx
	testl	%eax, %eax
	jne	LBB0_22
LBB0_18:                                ##   in Loop: Header=BB0_19 Depth=2
	incq	%rbx
	movslq	%ecx, %rax
	cmpq	%rax, %rbx
	jge	LBB0_22
LBB0_19:                                ##   Parent Loop BB0_14 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	-96(%rbp), %rax
	movq	(%rax,%rbx,8), %rax
	movq	-88(%rbp), %rdx
	testq	%rdx, %rdx
	je	LBB0_17
## %bb.20:                              ##   in Loop: Header=BB0_19 Depth=2
	cmpl	$0, (%rdx,%rbx,4)
	jne	LBB0_18
	jmp	LBB0_17
LBB0_21:                                ##   in Loop: Header=BB0_14 Depth=1
	xorl	%ebx, %ebx
LBB0_22:                                ##   in Loop: Header=BB0_14 Depth=1
	cmpl	%ecx, %ebx
	movl	-56(%rbp), %r14d                ## 4-byte Reload
	movl	-52(%rbp), %ebx                 ## 4-byte Reload
	jge	LBB0_24
## %bb.23:                              ##   in Loop: Header=BB0_14 Depth=1
	movl	-44(%rbp), %r12d                ## 4-byte Reload
	testl	%r12d, %r12d
	jne	LBB0_13
	jmp	LBB0_28
LBB0_24:                                ##   in Loop: Header=BB0_14 Depth=1
	movl	-44(%rbp), %r12d                ## 4-byte Reload
	testl	%r12d, %r12d
	je	LBB0_13
LBB0_25:
	xorl	%r12d, %r12d
	jmp	LBB0_29
LBB0_26:
	movl	-44(%rbp), %r12d                ## 4-byte Reload
LBB0_29:
	movl	%r12d, %eax
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_28:
	movl	$1, %r12d
	jmp	LBB0_29
	.cfi_endproc
                                        ## -- End function
	.comm	_locfcinfo,8,3                  ## @locfcinfo
	.comm	_ERROR,4,2                      ## @ERROR
	.comm	_ERRCODE_DATATYPE_MISMATCH,4,2  ## @ERRCODE_DATATYPE_MISMATCH
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"cannot compare arrays of different element types"

	.comm	_TYPECACHE_EQ_OPR_FINFO,4,2     ## @TYPECACHE_EQ_OPR_FINFO
	.comm	_ERRCODE_UNDEFINED_FUNCTION,4,2 ## @ERRCODE_UNDEFINED_FUNCTION
L_.str.1:                               ## @.str.1
	.asciz	"could not identify an equality operator for type %s"

	.no_dead_strip	_array_contain_compare
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function array_contain_compare
_array_contain_compare:                 ; @array_contain_compare
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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	x20, x4
	mov	x19, x3
	mov	x24, x2
	mov	x25, x1
	mov	x23, x0
Lloh0:
	adrp	x28, _locfcinfo@GOTPAGE
Lloh1:
	ldr	x28, [x28, _locfcinfo@GOTPAGEOFF]
	ldr	x0, [x28]
	mov	w1, #2
	bl	_LOCAL_FCINFO
	mov	x0, x23
	bl	_AARR_ELEMTYPE
	mov	x26, x0
	mov	x0, x25
	bl	_AARR_ELEMTYPE
	cmp	x26, x0
	b.eq	LBB0_2
; %bb.1:
Lloh2:
	adrp	x8, _ERROR@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh4:
	ldr	w21, [x8]
Lloh5:
	adrp	x8, _ERRCODE_DATATYPE_MISMATCH@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ERRCODE_DATATYPE_MISMATCH@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	bl	_errcode
Lloh8:
	adrp	x0, l_.str@PAGE
Lloh9:
	add	x0, x0, l_.str@PAGEOFF
	bl	_errmsg
	mov	x1, x0
	mov	x0, x21
	bl	_ereport
LBB0_2:
	ldr	x27, [x20]
	cbz	x27, LBB0_4
; %bb.3:
	ldr	x8, [x27]
	cmp	x8, x26
	b.eq	LBB0_7
LBB0_4:
Lloh10:
	adrp	x8, _TYPECACHE_EQ_OPR_FINFO@GOTPAGE
Lloh11:
	ldr	x8, [x8, _TYPECACHE_EQ_OPR_FINFO@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
	mov	x0, x26
	bl	_lookup_type_cache
	mov	x27, x0
	ldr	w0, [x0, #20]
	bl	_OidIsValid
	cbnz	w0, LBB0_6
; %bb.5:
Lloh13:
	adrp	x8, _ERROR@GOTPAGE
Lloh14:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh15:
	ldr	w21, [x8]
Lloh16:
	adrp	x8, _ERRCODE_UNDEFINED_FUNCTION@GOTPAGE
Lloh17:
	ldr	x8, [x8, _ERRCODE_UNDEFINED_FUNCTION@GOTPAGEOFF]
Lloh18:
	ldr	w0, [x8]
	bl	_errcode
	mov	x0, x26
	bl	_format_type_be
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh19:
	adrp	x0, l_.str.1@PAGE
Lloh20:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_errmsg
	mov	x1, x0
	mov	x0, x21
	bl	_ereport
LBB0_6:
	str	x27, [x20]
LBB0_7:
	ldp	w20, w21, [x27, #8]
	ldrb	w22, [x27, #16]
	mov	x0, x25
	bl	_VARATT_IS_EXPANDED_HEADER
	sxtb	w22, w22
	cbz	x0, LBB0_9
; %bb.8:
	mov	x0, x25
	bl	_deconstruct_expanded_array
	ldp	x8, x9, [x25]
	stp	x9, x8, [sp, #32]
	ldr	w8, [x25, #16]
	str	w8, [sp, #28]
	b	LBB0_10
LBB0_9:
	add	x5, sp, #40
	add	x6, sp, #32
	add	x7, sp, #28
	mov	x0, x25
	mov	x1, x26
	mov	x2, x20
	mov	x3, x21
	mov	x4, x22
	bl	_deconstruct_array
LBB0_10:
	ldr	x8, [x28]
	add	x2, x27, #20
	ldp	x0, x1, [x8]
	mov	w3, #2
	mov	x4, x24
	mov	x5, #0
	mov	x6, #0
	bl	_InitFunctionCallInfoData
	mov	x0, x23
	bl	_AARR_NDIM
	mov	x24, x0
	mov	x0, x23
	bl	_AARR_DIMS
	mov	x1, x0
	mov	x0, x24
	bl	_ArrayGetNItems
	mov	x24, x0
	add	x0, sp, #24
	mov	x1, x23
	bl	_array_iter_setup
	cmp	w24, #1
	b.lt	LBB0_26
; %bb.11:
	mov	w23, #0
	b	LBB0_14
LBB0_12:                                ;   in Loop: Header=BB0_14 Depth=1
	cbnz	w19, LBB0_25
LBB0_13:                                ;   in Loop: Header=BB0_14 Depth=1
	add	w23, w23, #1
	cmp	w23, w24
	b.eq	LBB0_26
LBB0_14:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_19 Depth 2
	add	x0, sp, #24
	add	x1, sp, #20
	mov	x2, x23
	mov	x3, x20
	mov	x4, x21
	mov	x5, x22
	bl	_array_iter_next
	ldr	w8, [sp, #20]
	cbnz	w8, LBB0_12
; %bb.15:                               ;   in Loop: Header=BB0_14 Depth=1
	ldr	w8, [sp, #28]
	cmp	w8, #1
	b.lt	LBB0_21
; %bb.16:                               ;   in Loop: Header=BB0_14 Depth=1
	mov	x25, x0
	mov	x26, #0
	b	LBB0_19
LBB0_17:                                ;   in Loop: Header=BB0_19 Depth=2
	ldr	x0, [x28]
	ldr	x8, [x0, #8]
	str	x25, [x8, #8]
	str	wzr, [x8]
	str	x9, [x8, #24]
	str	wzr, [x8, #16]
	str	wzr, [x0]
	bl	_FunctionCallInvoke
	bl	_DatumGetBool
	ldr	w8, [sp, #28]
	cbnz	w0, LBB0_22
LBB0_18:                                ;   in Loop: Header=BB0_19 Depth=2
	add	x26, x26, #1
	cmp	x26, w8, sxtw
	b.ge	LBB0_22
LBB0_19:                                ;   Parent Loop BB0_14 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldp	x10, x9, [sp, #32]
	ldr	x9, [x9, x26, lsl #3]
	cbz	x10, LBB0_17
; %bb.20:                               ;   in Loop: Header=BB0_19 Depth=2
	ldr	w10, [x10, x26, lsl #2]
	cbnz	w10, LBB0_18
	b	LBB0_17
LBB0_21:                                ;   in Loop: Header=BB0_14 Depth=1
	mov	w26, #0
LBB0_22:                                ;   in Loop: Header=BB0_14 Depth=1
	cmp	w26, w8
	b.ge	LBB0_12
; %bb.23:                               ;   in Loop: Header=BB0_14 Depth=1
	cbnz	w19, LBB0_13
; %bb.24:
	mov	w19, #1
	b	LBB0_26
LBB0_25:
	mov	w19, #0
LBB0_26:
	mov	x0, x19
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_locfcinfo,8,3                  ; @locfcinfo
	.comm	_ERROR,4,2                      ; @ERROR
	.comm	_ERRCODE_DATATYPE_MISMATCH,4,2  ; @ERRCODE_DATATYPE_MISMATCH
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"cannot compare arrays of different element types"

	.comm	_TYPECACHE_EQ_OPR_FINFO,4,2     ; @TYPECACHE_EQ_OPR_FINFO
	.comm	_ERRCODE_UNDEFINED_FUNCTION,4,2 ; @ERRCODE_UNDEFINED_FUNCTION
l_.str.1:                               ; @.str.1
	.asciz	"could not identify an equality operator for type %s"

	.no_dead_strip	_array_contain_compare
.subsections_via_symbols
