	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function array_to_datum_internal
_array_to_datum_internal:               ## @array_to_datum_internal
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, -60(%rbp)                 ## 4-byte Spill
	movl	%r8d, %r12d
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movq	%rdx, %r15
	movq	%rsi, -72(%rbp)                 ## 8-byte Spill
	movq	%rdi, -88(%rbp)                 ## 8-byte Spill
	callq	_av_len
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	testl	%eax, %eax
	js	LBB0_19
## %bb.1:
	leal	1(%r12), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movslq	%r12d, %rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	incl	-48(%rbp)                       ## 4-byte Folded Spill
	xorl	%r13d, %r13d
	jmp	LBB0_2
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%r14, %rdi
	callq	_av_len
	incl	%eax
	movslq	(%r15), %rcx
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movl	%eax, (%rdx,%rcx,4)
	movq	%rdx, %rcx
	incl	(%r15)
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%r14, %rdi
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	movq	%r15, %rdx
	movl	-44(%rbp), %r8d                 ## 4-byte Reload
	movl	-60(%rbp), %r9d                 ## 4-byte Reload
	movl	40(%rbp), %eax
	pushq	%rax
	pushq	32(%rbp)
	movl	24(%rbp), %eax
	pushq	%rax
	movl	16(%rbp), %eax
	pushq	%rax
	callq	_array_to_datum_internal
	addq	$32, %rsp
LBB0_18:                                ##   in Loop: Header=BB0_2 Depth=1
	incl	%r13d
	cmpl	%r13d, -48(%rbp)                ## 4-byte Folded Reload
	je	LBB0_19
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	movl	%r13d, %esi
	callq	_av_fetch
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_12
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	(%rbx), %rdi
	callq	_get_perl_array_ref
	testq	%rax, %rax
	je	LBB0_12
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rax, %rdi
	callq	_SvRV
	movq	%rax, %r14
	movq	_MAXDIM@GOTPCREL(%rip), %rax
	cmpl	%r12d, (%rax)
	jg	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_ERRCODE_PROGRAM_LIMIT_EXCEEDED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	movq	_MAXDIM@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str(%rip), %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	xorl	%eax, %eax
	callq	_errmsg
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_ereport
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	testl	%r13d, %r13d
	jne	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	%r12d, (%r15)
	je	LBB0_8
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%r14, %rdi
	callq	_av_len
	incl	%eax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
	cmpl	(%rcx,%rdx,4), %eax
	je	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_ERRCODE_INVALID_TEXT_REPRESENTATION@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_errmsg
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_ereport
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_2 Depth=1
	cmpl	%r12d, (%r15)
	je	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	_ERRCODE_INVALID_TEXT_REPRESENTATION@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_errmsg
	movl	%r14d, %edi
	movl	%eax, %esi
	callq	_ereport
LBB0_14:                                ##   in Loop: Header=BB0_2 Depth=1
	testq	%rbx, %rbx
	je	LBB0_15
## %bb.16:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	(%rbx), %rdi
	jmp	LBB0_17
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_2 Depth=1
	xorl	%edi, %edi
LBB0_17:                                ##   in Loop: Header=BB0_2 Depth=1
	subq	$8, %rsp
	movl	16(%rbp), %ebx
	movl	%ebx, %esi
	movl	24(%rbp), %edx
                                        ## kill: def $edx killed $edx killed $rdx
	xorl	%ecx, %ecx
	movq	32(%rbp), %r8
	movl	40(%rbp), %r9d
                                        ## kill: def $r9d killed $r9d killed $r9
	leaq	-64(%rbp), %rax
	pushq	%rax
	callq	_plperl_sv_to_datum
	addq	$16, %rsp
	movl	-64(%rbp), %edx
	movq	_CurrentMemoryContext@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r8d
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movl	%eax, %esi
	movl	%ebx, %ecx
	callq	_accumArrayResult
	jmp	LBB0_18
LBB0_19:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_dTHX,4,2                       ## @dTHX
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_MAXDIM,4,2                     ## @MAXDIM
	.comm	_ERROR,4,2                      ## @ERROR
	.comm	_ERRCODE_PROGRAM_LIMIT_EXCEEDED,4,2 ## @ERRCODE_PROGRAM_LIMIT_EXCEEDED
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"number of array dimensions (%d) exceeds the maximum allowed (%d)"

	.comm	_ERRCODE_INVALID_TEXT_REPRESENTATION,4,2 ## @ERRCODE_INVALID_TEXT_REPRESENTATION
L_.str.1:                               ## @.str.1
	.asciz	"multidimensional arrays must have array expressions with matching dimensions"

	.comm	_CurrentMemoryContext,4,2       ## @CurrentMemoryContext
	.no_dead_strip	_array_to_datum_internal
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function array_to_datum_internal
_array_to_datum_internal:               ; @array_to_datum_internal
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x28, x27, [sp, #64]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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
	str	w7, [sp, #56]                   ; 4-byte Folded Spill
	mov	x20, x6
	str	w5, [sp, #28]                   ; 4-byte Folded Spill
	mov	x22, x4
	str	x3, [sp, #32]                   ; 8-byte Folded Spill
	mov	x24, x2
	str	x1, [sp, #48]                   ; 8-byte Folded Spill
	mov	x26, x0
	bl	_av_len
	tbnz	w0, #31, LBB0_19
; %bb.1:
	mov	w27, #0
	ldr	w28, [x29, #24]
	ldr	x21, [x29, #16]
	add	w8, w22, #1
	str	x8, [sp, #40]                   ; 8-byte Folded Spill
	sxtw	x8, w22
	str	x8, [sp, #16]                   ; 8-byte Folded Spill
	add	w25, w0, #1
	b	LBB0_5
LBB0_2:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x23
	bl	_av_len
	add	w8, w0, #1
	ldrsw	x9, [x24]
	ldr	x3, [sp, #32]                   ; 8-byte Folded Reload
	str	w8, [x3, x9, lsl #2]
	ldr	w8, [x24]
	add	w8, w8, #1
	str	w8, [x24]
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	str	w28, [sp, #8]
	str	x21, [sp]
	mov	x0, x23
	ldp	x4, x1, [sp, #40]               ; 16-byte Folded Reload
	mov	x2, x24
                                        ; kill: def $w4 killed $w4 killed $x4
	ldr	w5, [sp, #28]                   ; 4-byte Folded Reload
	mov	x6, x20
	ldr	w7, [sp, #56]                   ; 4-byte Folded Reload
	bl	_array_to_datum_internal
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	w27, w27, #1
	cmp	w25, w27
	b.eq	LBB0_19
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
Lloh0:
	adrp	x8, _FALSE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x0, x26
	mov	x1, x27
	bl	_av_fetch
	mov	x23, x0
	cbz	x0, LBB0_13
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x0, [x23]
	bl	_get_perl_array_ref
	cbz	x0, LBB0_13
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	bl	_SvRV
	mov	x23, x0
Lloh3:
	adrp	x8, _MAXDIM@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MAXDIM@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmp	w8, w22
	b.gt	LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
Lloh6:
	adrp	x8, _ERROR@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh8:
	ldr	w19, [x8]
Lloh9:
	adrp	x8, _ERRCODE_PROGRAM_LIMIT_EXCEEDED@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ERRCODE_PROGRAM_LIMIT_EXCEEDED@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	bl	_errcode
Lloh12:
	adrp	x8, _MAXDIM@GOTPAGE
Lloh13:
	ldr	x8, [x8, _MAXDIM@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x8]
	ldr	x8, [sp, #40]                   ; 8-byte Folded Reload
	stp	x8, x9, [sp]
Lloh15:
	adrp	x0, l_.str@PAGE
Lloh16:
	add	x0, x0, l_.str@PAGEOFF
	bl	_errmsg
	mov	x1, x0
	mov	x0, x19
	bl	_ereport
LBB0_9:                                 ;   in Loop: Header=BB0_5 Depth=1
	cbnz	w27, LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	w8, [x24]
	cmp	w8, w22
	b.eq	LBB0_2
LBB0_11:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x23
	bl	_av_len
	add	w8, w0, #1
	ldr	x3, [sp, #32]                   ; 8-byte Folded Reload
	ldr	x9, [sp, #16]                   ; 8-byte Folded Reload
	ldr	w9, [x3, x9, lsl #2]
	cmp	w8, w9
	b.eq	LBB0_3
; %bb.12:                               ;   in Loop: Header=BB0_5 Depth=1
Lloh17:
	adrp	x8, _ERROR@GOTPAGE
Lloh18:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh19:
	ldr	w19, [x8]
Lloh20:
	adrp	x8, _ERRCODE_INVALID_TEXT_REPRESENTATION@GOTPAGE
Lloh21:
	ldr	x8, [x8, _ERRCODE_INVALID_TEXT_REPRESENTATION@GOTPAGEOFF]
Lloh22:
	ldr	w0, [x8]
	bl	_errcode
Lloh23:
	adrp	x0, l_.str.1@PAGE
Lloh24:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_errmsg
	mov	x1, x0
	mov	x0, x19
	bl	_ereport
	ldr	x3, [sp, #32]                   ; 8-byte Folded Reload
	b	LBB0_3
LBB0_13:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w8, [x24]
	cmp	w8, w22
	b.eq	LBB0_15
; %bb.14:                               ;   in Loop: Header=BB0_5 Depth=1
Lloh25:
	adrp	x8, _ERROR@GOTPAGE
Lloh26:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh27:
	ldr	w19, [x8]
Lloh28:
	adrp	x8, _ERRCODE_INVALID_TEXT_REPRESENTATION@GOTPAGE
Lloh29:
	ldr	x8, [x8, _ERRCODE_INVALID_TEXT_REPRESENTATION@GOTPAGEOFF]
Lloh30:
	ldr	w0, [x8]
	bl	_errcode
Lloh31:
	adrp	x0, l_.str.1@PAGE
Lloh32:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_errmsg
	mov	x1, x0
	mov	x0, x19
	bl	_ereport
LBB0_15:                                ;   in Loop: Header=BB0_5 Depth=1
	cbz	x23, LBB0_17
; %bb.16:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	x0, [x23]
	b	LBB0_18
LBB0_17:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, #0
LBB0_18:                                ;   in Loop: Header=BB0_5 Depth=1
	add	x6, sp, #60
	mov	x1, x20
	ldr	w2, [sp, #56]                   ; 4-byte Folded Reload
	mov	x3, #0
	mov	x4, x21
	mov	x5, x28
	bl	_plperl_sv_to_datum
	mov	x1, x0
	ldr	w2, [sp, #60]
Lloh33:
	adrp	x8, _CurrentMemoryContext@GOTPAGE
Lloh34:
	ldr	x8, [x8, _CurrentMemoryContext@GOTPAGEOFF]
Lloh35:
	ldr	w4, [x8]
	ldr	x0, [sp, #48]                   ; 8-byte Folded Reload
	mov	x3, x20
	bl	_accumArrayResult
	b	LBB0_4
LBB0_19:
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.cfi_endproc
                                        ; -- End function
	.comm	_dTHX,4,2                       ; @dTHX
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_MAXDIM,4,2                     ; @MAXDIM
	.comm	_ERROR,4,2                      ; @ERROR
	.comm	_ERRCODE_PROGRAM_LIMIT_EXCEEDED,4,2 ; @ERRCODE_PROGRAM_LIMIT_EXCEEDED
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"number of array dimensions (%d) exceeds the maximum allowed (%d)"

	.comm	_ERRCODE_INVALID_TEXT_REPRESENTATION,4,2 ; @ERRCODE_INVALID_TEXT_REPRESENTATION
l_.str.1:                               ; @.str.1
	.asciz	"multidimensional arrays must have array expressions with matching dimensions"

	.comm	_CurrentMemoryContext,4,2       ; @CurrentMemoryContext
	.no_dead_strip	_array_to_datum_internal
.subsections_via_symbols
