	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function create_cel_evals
_create_cel_evals:                      ## @create_cel_evals
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movl	4(%rdi), %eax
	imull	(%rdi), %eax
	leal	63(%rax), %edi
	testl	%eax, %eax
	cmovnsl	%eax, %edi
	sarl	$6, %edi
	movl	$4, %esi
	callq	_av_malloc_array
	movq	%rax, (%r14)
	testq	%rax, %rax
	je	LBB0_8
## %bb.1:
	movl	4(%rbx), %r8d
	testl	%r8d, %r8d
	jle	LBB0_7
## %bb.2:
	movl	(%rbx), %r9d
	xorl	%ebx, %ebx
	xorl	%edi, %edi
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	addl	$16, %ebx
	cmpl	%r8d, %ebx
	jge	LBB0_7
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_5 Depth 2
	testl	%r9d, %r9d
	jle	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	%ebx, %esi
	orl	$8, %esi
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_5:                                 ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movslq	%edi, %rdx
	movl	%ecx, (%rax,%rdx,8)
	movl	%ebx, 4(%rax,%rdx,8)
	leal	8(%rcx), %edi
	movl	%edi, 8(%rax,%rdx,8)
	movl	%ebx, 12(%rax,%rdx,8)
	movl	%ecx, 16(%rax,%rdx,8)
	movl	%esi, 20(%rax,%rdx,8)
	movl	%edi, 24(%rax,%rdx,8)
	leal	4(%rdx), %edi
	movl	%esi, 28(%rax,%rdx,8)
	addl	$16, %ecx
	cmpl	%r9d, %ecx
	jl	LBB0_5
	jmp	LBB0_6
LBB0_7:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_8:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_AVERROR                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.no_dead_strip	_create_cel_evals
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function create_cel_evals
_create_cel_evals:                      ; @create_cel_evals
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x1
	mov	x19, x0
	ldp	w8, w9, [x0]
	mul	w8, w9, w8
	add	w9, w8, #63
	cmp	w8, #0
	csel	w8, w9, w8, lt
	asr	w0, w8, #6
	mov	w1, #4
	bl	_av_malloc_array
	str	x0, [x20]
	cbz	x0, LBB0_8
; %bb.1:
	ldr	w8, [x19, #4]
	cmp	w8, #1
	b.lt	LBB0_7
; %bb.2:
	mov	w9, #0
	mov	w10, #0
	ldr	w11, [x19]
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	w9, w9, #16
	cmp	w9, w8
	b.ge	LBB0_7
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_6 Depth 2
	cmp	w11, #1
	b.lt	LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w12, #0
	orr	w13, w9, #0x8
LBB0_6:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	add	x14, x0, w10, sxtw #3
	stp	w12, w9, [x14]
	add	w15, w12, #8
	stp	w15, w9, [x14, #8]
	stp	w12, w13, [x14, #16]
	add	w10, w10, #4
	stp	w15, w13, [x14, #24]
	add	w12, w12, #16
	cmp	w12, w11
	b.lt	LBB0_6
	b	LBB0_3
LBB0_7:
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_8:
Lloh0:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_AVERROR
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.no_dead_strip	_create_cel_evals
.subsections_via_symbols
