	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function populate_array_assign_ndims
_populate_array_assign_ndims:           ## @populate_array_assign_ndims
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %rbx
	xorl	%edi, %edi
	cmpl	$0, (%rbx)
	setle	%dil
	callq	_Assert
	testl	%r14d, %r14d
	jg	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_populate_array_report_expected_array
LBB0_2:
	movl	%r14d, (%rbx)
	leal	(,%r14,4), %r15d
	movl	%r15d, %edi
	callq	_palloc
	movq	%rax, 8(%rbx)
	movl	%r15d, %edi
	callq	_palloc0
	movl	%eax, 16(%rbx)
	testl	%r14d, %r14d
	jle	LBB0_4
## %bb.3:
	movq	8(%rbx), %rdi
	movl	%r14d, %edx
	shlq	$2, %rdx
	movl	$255, %esi
	callq	_memset
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_populate_array_assign_ndims
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function populate_array_assign_ndims
_populate_array_assign_ndims:           ; @populate_array_assign_ndims
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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, x1
	mov	x20, x0
	ldr	w8, [x0]
	cmp	w8, #1
	cset	w0, lt
	bl	_Assert
	cmp	w19, #0
	b.gt	LBB0_2
; %bb.1:
	mov	x0, x20
	mov	x1, x19
	bl	_populate_array_report_expected_array
LBB0_2:
	str	w19, [x20]
	lsl	w21, w19, #2
	mov	x0, x21
	bl	_palloc
	str	x0, [x20, #8]
	mov	x0, x21
	bl	_palloc0
	str	w0, [x20, #16]
	cmp	w19, #1
	b.lt	LBB0_4
; %bb.3:
	ldr	x0, [x20, #8]
	mov	w8, w19
	lsl	x2, x8, #2
	mov	w1, #255
	bl	_memset
LBB0_4:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_populate_array_assign_ndims
.subsections_via_symbols
