	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function PLyList_FromArray
_PLyList_FromArray:                     ## @PLyList_FromArray
	.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	%r12
	pushq	%rbx
	subq	$32, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movl	%esi, %edi
	callq	_DatumGetArrayTypeP
	movq	%rax, %rbx
	movq	(%r14), %r14
	movq	%rax, %rdi
	callq	_ARR_NDIM
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	callq	_ARR_NDIM
	movl	%eax, %r15d
	movq	%rbx, %rdi
	callq	_ARR_DIMS
	movq	%rax, %r12
	movq	_MAXDIM@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	cmpl	(%rax), %r15d
	setl	%dil
	callq	_Assert
	movq	%rbx, %rdi
	callq	_ARR_DATA_PTR
	movq	%rax, -56(%rbp)
	movq	%rbx, %rdi
	callq	_ARR_NULLBITMAP
	movq	%rax, -48(%rbp)
	movl	$1, -36(%rbp)
	leaq	-36(%rbp), %rax
	movq	%rax, (%rsp)
	leaq	-56(%rbp), %r8
	leaq	-48(%rbp), %r9
	movq	%r14, %rdi
	movq	%r12, %rsi
	movl	%r15d, %edx
	xorl	%ecx, %ecx
	callq	_PLyList_FromArray_recurse
	addq	$32, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	xorl	%edi, %edi
	addq	$32, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PyList_New                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MAXDIM,4,2                     ## @MAXDIM
	.no_dead_strip	_PLyList_FromArray
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function PLyList_FromArray
_PLyList_FromArray:                     ; @PLyList_FromArray
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	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
	mov	x19, x0
	mov	x0, x1
	bl	_DatumGetArrayTypeP
	mov	x20, x0
	ldr	x19, [x19]
	bl	_ARR_NDIM
	cbz	w0, LBB0_2
; %bb.1:
	mov	x0, x20
	bl	_ARR_NDIM
	mov	x21, x0
	mov	x0, x20
	bl	_ARR_DIMS
	mov	x22, x0
Lloh0:
	adrp	x8, _MAXDIM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MAXDIM@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w21, w8
	cset	w0, lt
	bl	_Assert
	mov	x0, x20
	bl	_ARR_DATA_PTR
	str	x0, [sp, #24]
	mov	x0, x20
	bl	_ARR_NULLBITMAP
	str	x0, [sp, #16]
	mov	w8, #1
	str	w8, [sp, #12]
	add	x4, sp, #24
	add	x5, sp, #16
	add	x6, sp, #12
	mov	x0, x19
	mov	x1, x22
	mov	x2, x21
	mov	w3, #0
	bl	_PLyList_FromArray_recurse
	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
	add	sp, sp, #80
	ret
LBB0_2:
	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
	add	sp, sp, #80
	b	_PyList_New
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MAXDIM,4,2                     ; @MAXDIM
	.no_dead_strip	_PLyList_FromArray
.subsections_via_symbols
