	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_array_iterate                  ## -- Begin function array_iterate
	.p2align	4, 0x90
_array_iterate:                         ## @array_iterate
	.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, %r12
	movq	(%rdi), %rsi
	xorl	%eax, %eax
	cmpq	8(%rdi), %rsi
	jge	LBB0_16
## %bb.1:
	movq	%rdx, %rbx
	movq	%rdi, %r15
	movq	16(%rdi), %rcx
	testq	%rcx, %rcx
	je	LBB0_2
## %bb.5:
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movq	%r12, -64(%rbp)                 ## 8-byte Spill
	movq	72(%r15), %r12
	movq	24(%r15), %r14
	movq	32(%r15), %r13
	cmpl	$0, 40(%r15)
	jle	LBB0_6
## %bb.7:
	movl	$1, %ebx
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movl	68(%r15), %edi
	leaq	1(%rsi), %rax
	movq	%rax, (%r15)
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_array_get_isnull
	testq	%rax, %rax
	je	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	movl	$1, -4(%r13,%rbx,4)
	movq	$0, -8(%r12,%rbx,8)
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_8 Depth=1
	movl	$0, -4(%r13,%rbx,4)
	movl	48(%r15), %esi
	movl	52(%r15), %edx
	movq	%r14, %rdi
	callq	_fetch_att
	movq	%rax, -8(%r12,%rbx,8)
	movl	52(%r15), %esi
	movq	%r14, %rdi
	movq	%r14, %rdx
	callq	_att_addlength_pointer
	movl	44(%r15), %esi
	movq	%rax, %rdi
	callq	_att_align_nominal
	movq	%rax, %r14
LBB0_11:                                ##   in Loop: Header=BB0_8 Depth=1
	movslq	40(%r15), %rax
	cmpq	%rax, %rbx
	jge	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	(%r15), %rsi
	incq	%rbx
	jmp	LBB0_8
LBB0_13:
	movq	16(%r15), %rbx
	jmp	LBB0_14
LBB0_2:
	movl	68(%r15), %edi
	leaq	1(%rsi), %rax
	movq	%rax, (%r15)
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_array_get_isnull
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movl	$1, (%rbx)
	movq	$0, (%r12)
	jmp	LBB0_15
LBB0_6:
	movq	%rcx, %rax
	movq	%rcx, %rbx
LBB0_14:
	movq	%r14, 24(%r15)
	movl	64(%r15), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	56(%r15), %edi
	movl	60(%r15), %r14d
	callq	_ARR_ELEMTYPE
	movl	52(%r15), %r10d
	movl	44(%r15), %r11d
	movl	48(%r15), %r15d
	subq	$8, %rsp
	movq	%r12, %rdi
	movq	%r13, %rsi
	movq	%rbx, %rdx
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	movl	%r14d, %r8d
	movl	%eax, %r9d
	pushq	%r11
	pushq	%r15
	pushq	%r10
	callq	_construct_md_array
	addq	$32, %rsp
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movl	$0, (%rcx)
	movq	%rax, %rdi
	callq	_PointerGetDatum
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, (%rcx)
LBB0_15:
	movl	$1, %eax
LBB0_16:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	24(%r15), %r14
	movl	$0, (%rbx)
	movl	48(%r15), %esi
	movl	52(%r15), %edx
	movq	%r14, %rdi
	callq	_fetch_att
	movq	%rax, (%r12)
	movl	52(%r15), %esi
	movq	%r14, %rdi
	movq	%r14, %rdx
	callq	_att_addlength_pointer
	movl	44(%r15), %esi
	movq	%rax, %rdi
	callq	_att_align_nominal
	movq	%rax, 24(%r15)
	jmp	LBB0_15
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_array_iterate                  ; -- Begin function array_iterate
	.p2align	2
_array_iterate:                         ; @array_iterate
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.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
	mov	x19, x1
	ldp	x1, x8, [x0]
	cmp	x1, x8
	b.ge	LBB0_9
; %bb.1:
	mov	x21, x2
	mov	x20, x0
	ldr	x25, [x0, #16]
	cbz	x25, LBB0_13
; %bb.2:
	ldr	x22, [x20, #72]
	ldp	x24, x23, [x20, #24]
	ldr	w8, [x20, #40]
	cmp	w8, #1
	b.lt	LBB0_11
; %bb.3:
	mov	x25, #0
	mov	w26, #1
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x20, #68]
	add	x8, x1, #1
	str	x8, [x20]
                                        ; kill: def $w1 killed $w1 killed $x1
	bl	_array_get_isnull
	cbz	x0, LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	str	w26, [x23, x25, lsl #2]
	str	xzr, [x22, x25, lsl #3]
	b	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_4 Depth=1
	str	wzr, [x23, x25, lsl #2]
	ldp	w1, w2, [x20, #48]
	mov	x0, x24
	bl	_fetch_att
	str	x0, [x22, x25, lsl #3]
	ldr	w1, [x20, #52]
	mov	x0, x24
	mov	x2, x24
	bl	_att_addlength_pointer
	ldr	w1, [x20, #44]
	bl	_att_align_nominal
	mov	x24, x0
LBB0_7:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x25, x25, #1
	ldrsw	x8, [x20, #40]
	cmp	x25, x8
	b.ge	LBB0_10
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x1, [x20]
	b	LBB0_4
LBB0_9:
	mov	w0, #0
	b	LBB0_15
LBB0_10:
	ldr	x25, [x20, #16]
LBB0_11:
	str	x24, [x20, #24]
	ldp	w26, w24, [x20, #60]
	ldr	w0, [x20, #56]
	bl	_ARR_ELEMTYPE
	mov	x5, x0
	ldp	w7, w6, [x20, #48]
	ldr	w8, [x20, #44]
	str	w8, [sp]
	mov	x0, x22
	mov	x1, x23
	mov	x2, x25
	mov	x3, x24
	mov	x4, x26
	bl	_construct_md_array
	str	wzr, [x21]
	bl	_PointerGetDatum
	str	x0, [x19]
LBB0_12:
	mov	w0, #1
	b	LBB0_15
LBB0_13:
	ldr	w0, [x20, #68]
	add	x8, x1, #1
	str	x8, [x20]
                                        ; kill: def $w1 killed $w1 killed $x1
	bl	_array_get_isnull
	cbz	x0, LBB0_16
; %bb.14:
	mov	w0, #1
	str	w0, [x21]
	str	xzr, [x19]
LBB0_15:
	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
	add	sp, sp, #96
	ret
LBB0_16:
	ldr	x22, [x20, #24]
	str	wzr, [x21]
	ldp	w1, w2, [x20, #48]
	mov	x0, x22
	bl	_fetch_att
	str	x0, [x19]
	ldr	w1, [x20, #52]
	mov	x0, x22
	mov	x2, x22
	bl	_att_addlength_pointer
	ldr	w1, [x20, #44]
	bl	_att_align_nominal
	str	x0, [x20, #24]
	b	LBB0_12
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
