	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function array_iterator
_array_iterator:                        ## @array_iterator
	.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	%rcx, -56(%rbp)                 ## 8-byte Spill
	movq	%rdx, %r15
	movl	%esi, %r12d
	movq	%rdi, %r14
	callq	_ARR_NDIM
	movl	%eax, %ebx
	movq	%r14, %rdi
	callq	_ARR_DIMS
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_ArrayGetNItems
	movl	%eax, %ebx
	movq	%r14, %rdi
	callq	_ARR_DATA_PTR
	movq	%rax, %r13
	movq	%r14, %rdi
	callq	_ARR_NDIM
	cmpl	$2, %eax
	jl	LBB0_2
## %bb.1:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	_ERRCODE_ARRAY_SUBSCRIPT_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	leaq	L_.str(%rip), %rdi
	callq	_errmsg
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	movl	%eax, %esi
	callq	_ereport
LBB0_2:
	movq	%r14, %rdi
	callq	_array_contains_nulls
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	_ERRCODE_NULL_VALUE_NOT_ALLOWED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	leaq	L_.str.1(%rip), %rdi
	callq	_errmsg
	movl	%r14d, %edi
	movl	%eax, %esi
	callq	_ereport
LBB0_4:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	$0, (%rax)
LBB0_6:
	xorl	%eax, %eax
	testl	%ebx, %ebx
	jle	LBB0_13
## %bb.7:
	incl	%ebx
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r13, %rdi
	callq	_PointerGetDatum
	movl	%eax, %r14d
	movq	%r15, %rdi
	callq	_PointerGetDatum
	movl	%r12d, %edi
	movl	%r14d, %esi
	movl	%eax, %edx
	callq	_DirectFunctionCall2
	movl	%eax, %edi
	callq	_DatumGetBool
	testq	%rax, %rax
	jne	LBB0_9
## %bb.11:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	%r13, %rdi
	callq	_NEXTVAL
	movq	%rax, %r13
	decl	%ebx
	cmpl	$1, %ebx
	jg	LBB0_8
## %bb.12:
	xorl	%eax, %eax
	jmp	LBB0_13
LBB0_9:
	movl	$1, %eax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	testq	%rcx, %rcx
	je	LBB0_13
## %bb.10:
	movq	%r13, (%rcx)
LBB0_13:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ERROR,4,2                      ## @ERROR
	.comm	_ERRCODE_ARRAY_SUBSCRIPT_ERROR,4,2 ## @ERRCODE_ARRAY_SUBSCRIPT_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"array must be one-dimensional"

	.comm	_ERRCODE_NULL_VALUE_NOT_ALLOWED,4,2 ## @ERRCODE_NULL_VALUE_NOT_ALLOWED
L_.str.1:                               ## @.str.1
	.asciz	"array must not contain nulls"

	.no_dead_strip	_array_iterator
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function array_iterator
_array_iterator:                        ; @array_iterator
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x19, x3
	mov	x20, x2
	mov	x21, x1
	mov	x24, x0
	bl	_ARR_NDIM
	mov	x22, x0
	mov	x0, x24
	bl	_ARR_DIMS
	mov	x1, x0
	mov	x0, x22
	bl	_ArrayGetNItems
	mov	x23, x0
	mov	x0, x24
	bl	_ARR_DATA_PTR
	mov	x22, x0
	mov	x0, x24
	bl	_ARR_NDIM
Lloh0:
	adrp	x26, _ERROR@GOTPAGE
Lloh1:
	ldr	x26, [x26, _ERROR@GOTPAGEOFF]
	cmp	w0, #2
	b.lt	LBB0_2
; %bb.1:
	ldr	w25, [x26]
Lloh2:
	adrp	x8, _ERRCODE_ARRAY_SUBSCRIPT_ERROR@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ERRCODE_ARRAY_SUBSCRIPT_ERROR@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	bl	_errcode
Lloh5:
	adrp	x0, l_.str@PAGE
Lloh6:
	add	x0, x0, l_.str@PAGEOFF
	bl	_errmsg
	mov	x1, x0
	mov	x0, x25
	bl	_ereport
LBB0_2:
	mov	x0, x24
	bl	_array_contains_nulls
	cbz	x0, LBB0_4
; %bb.3:
	ldr	w24, [x26]
Lloh7:
	adrp	x8, _ERRCODE_NULL_VALUE_NOT_ALLOWED@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ERRCODE_NULL_VALUE_NOT_ALLOWED@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
	bl	_errcode
Lloh10:
	adrp	x0, l_.str.1@PAGE
Lloh11:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_errmsg
	mov	x1, x0
	mov	x0, x24
	bl	_ereport
LBB0_4:
	cbz	x19, LBB0_6
; %bb.5:
	str	xzr, [x19]
LBB0_6:
	cmp	w23, #1
	b.lt	LBB0_10
; %bb.7:
	add	w24, w23, #1
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x22
	bl	_PointerGetDatum
	mov	x23, x0
	mov	x0, x20
	bl	_PointerGetDatum
	mov	x2, x0
	mov	x0, x21
	mov	x1, x23
	bl	_DirectFunctionCall2
	bl	_DatumGetBool
	cbnz	x0, LBB0_11
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	mov	x0, x22
	bl	_NEXTVAL
	mov	x22, x0
	sub	w24, w24, #1
	cmp	w24, #1
	b.gt	LBB0_8
LBB0_10:
	mov	w0, #0
	b	LBB0_14
LBB0_11:
	cbz	x19, LBB0_13
; %bb.12:
	str	x22, [x19]
LBB0_13:
	mov	w0, #1
LBB0_14:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_ERROR,4,2                      ; @ERROR
	.comm	_ERRCODE_ARRAY_SUBSCRIPT_ERROR,4,2 ; @ERRCODE_ARRAY_SUBSCRIPT_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"array must be one-dimensional"

	.comm	_ERRCODE_NULL_VALUE_NOT_ALLOWED,4,2 ; @ERRCODE_NULL_VALUE_NOT_ALLOWED
l_.str.1:                               ; @.str.1
	.asciz	"array must not contain nulls"

	.no_dead_strip	_array_iterator
.subsections_via_symbols
