	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function do_eval
_do_eval:                               ## @do_eval
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r15d
	movq	%rsi, %r12
	movq	%rdi, %r13
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_VAR_VARS_NB@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	shlq	$3, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %rsi
	movsd	(%r12), %xmm0                   ## xmm0 = mem[0],zero
	movq	_VAR_N@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movsd	%xmm0, (%rsi,%rax,8)
	movq	(%r13), %rax
	movslq	%r15d, %r14
	movsd	(%rax,%r14,8), %xmm0            ## xmm0 = mem[0],zero
	movq	_VAR_W@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movsd	%xmm0, (%rsi,%rax,8)
	movq	8(%r13), %rax
	movsd	(%rax,%r14,8), %xmm0            ## xmm0 = mem[0],zero
	movq	_VAR_H@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movsd	%xmm0, (%rsi,%rax,8)
	movq	16(%r13), %rax
	cmpl	$0, (%rax,%r14,4)
	jle	LBB0_7
## %bb.1:
	movq	24(%r13), %rcx
	xorl	%ebx, %ebx
	movq	_VAR_Y@GOTPCREL(%rip), %r9
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	incl	%ebx
	cmpl	(%rax,%r14,4), %ebx
	jge	LBB0_7
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_4 Depth 2
	xorps	%xmm0, %xmm0
	cvtsi2sd	%ebx, %xmm0
	movq	_VAR_X@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movsd	%xmm0, (%rsi,%rdx,8)
	cmpl	$0, (%rcx,%r14,4)
	jle	LBB0_6
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_4:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	xorps	%xmm0, %xmm0
	cvtsi2sd	%r12d, %xmm0
	movq	(%r9), %rax
	movsd	%xmm0, (%rsi,%rax,8)
	movq	32(%r13), %rax
	movl	(%rax,%r14,4), %edi
	movq	%r13, %rdx
	movq	%r13, %r15
	movq	%rsi, %r13
	callq	_av_expr_eval
	movq	%r13, %rsi
	movq	%r15, %r13
	movq	24(%r15), %rcx
	movq	40(%r15), %rdx
	movq	(%rdx,%r14,8), %r8
	movslq	(%rcx,%r14,4), %rdx
	movslq	%ebx, %rdi
	imulq	%rdx, %rdi
	movq	_VAR_Y@GOTPCREL(%rip), %r9
	addq	%r12, %rdi
	movl	%eax, (%r8,%rdi,4)
	incq	%r12
	cmpl	(%rcx,%r14,4), %r12d
	jl	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	16(%r13), %rax
	jmp	LBB0_6
LBB0_7:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_9
## %bb.8:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_VAR_VARS_NB,4,2                ## @VAR_VARS_NB
	.comm	_VAR_N,8,3                      ## @VAR_N
	.comm	_VAR_W,8,3                      ## @VAR_W
	.comm	_VAR_H,8,3                      ## @VAR_H
	.comm	_VAR_X,8,3                      ## @VAR_X
	.comm	_VAR_Y,8,3                      ## @VAR_Y
	.no_dead_strip	_do_eval
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function do_eval
_do_eval:                               ; @do_eval
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	sub	sp, sp, #16
                                        ; kill: def $w2 killed $w2 def $x2
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
Lloh3:
	adrp	x8, _VAR_VARS_NB@GOTPAGE
Lloh4:
	ldr	x8, [x8, _VAR_VARS_NB@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	lsl	x8, x8, #3
	mov	x9, x8
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0xffffffff0
	sub	x20, x9, x8
	mov	sp, x20
	ldr	d0, [x1]
Lloh8:
	adrp	x8, _VAR_N@GOTPAGE
Lloh9:
	ldr	x8, [x8, _VAR_N@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	str	d0, [x20, x8, lsl #3]
	sbfiz	x8, x2, #3, #32
	ldp	x9, x10, [x0]
	ldr	d0, [x9, x8]
Lloh11:
	adrp	x9, _VAR_W@GOTPAGE
Lloh12:
	ldr	x9, [x9, _VAR_W@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	str	d0, [x20, x9, lsl #3]
	ldr	d0, [x10, x8]
Lloh14:
	adrp	x8, _VAR_H@GOTPAGE
Lloh15:
	ldr	x8, [x8, _VAR_H@GOTPAGEOFF]
Lloh16:
	ldr	x8, [x8]
	str	d0, [x20, x8, lsl #3]
	ldr	x9, [x0, #16]
	ldr	w8, [x9, w2, sxtw #2]
	cmp	w8, #1
	b.lt	LBB0_7
; %bb.1:
	mov	w21, #0
	sxtw	x22, w2
	ldr	x8, [x19, #24]
Lloh17:
	adrp	x23, _VAR_X@GOTPAGE
Lloh18:
	ldr	x23, [x23, _VAR_X@GOTPAGEOFF]
Lloh19:
	adrp	x24, _VAR_Y@GOTPAGE
Lloh20:
	ldr	x24, [x24, _VAR_Y@GOTPAGEOFF]
	lsl	x25, x22, #2
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	w21, w21, #1
	ldr	w10, [x9, x22, lsl #2]
	cmp	w21, w10
	b.ge	LBB0_7
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_5 Depth 2
	scvtf	d0, w21
	ldr	x10, [x23]
	str	d0, [x20, x10, lsl #3]
	ldr	w10, [x8, x22, lsl #2]
	cmp	w10, #1
	b.lt	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x26, #0
LBB0_5:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	scvtf	d0, w26
	ldr	x8, [x24]
	str	d0, [x20, x8, lsl #3]
	ldr	x8, [x19, #32]
	ldr	w0, [x8, x25]
	mov	x1, x20
	mov	x2, x19
	bl	_av_expr_eval
	ldr	x8, [x19, #40]
	ldr	x9, [x8, x22, lsl #3]
	ldr	x8, [x19, #24]
	ldrsw	x10, [x8, x25]
	sxtw	x11, w21
	madd	x10, x11, x10, x26
	str	w0, [x9, x10, lsl #2]
	ldr	w9, [x8, x25]
	add	x26, x26, #1
	cmp	w26, w9
	b.lt	LBB0_5
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x9, [x19, #16]
	b	LBB0_2
LBB0_7:
	ldur	x8, [x29, #-72]
Lloh21:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh22:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh23:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_9
; %bb.8:
	sub	sp, x29, #64
	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
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_9:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_VAR_VARS_NB,4,2                ; @VAR_VARS_NB
	.comm	_VAR_N,8,3                      ; @VAR_N
	.comm	_VAR_W,8,3                      ; @VAR_W
	.comm	_VAR_H,8,3                      ; @VAR_H
	.comm	_VAR_X,8,3                      ; @VAR_X
	.comm	_VAR_Y,8,3                      ; @VAR_Y
	.no_dead_strip	_do_eval
.subsections_via_symbols
