	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function do_blend
_do_blend:                              ## @do_blend
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rdi), %r14
	movq	16(%r14), %rax
	movq	24(%r14), %r12
	movq	(%rax), %rbx
	leaq	-48(%rbp), %rsi
	leaq	-56(%rbp), %rdx
	callq	_ff_framesync_dualinput_get_writable
	testl	%eax, %eax
	js	LBB0_17
## %bb.1:
	movq	-56(%rbp), %rsi
	testq	%rsi, %rsi
	je	LBB0_2
## %bb.3:
	movq	(%r12), %rax
	movq	_EVAL_MODE_FRAME@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_10
## %bb.4:
	movq	-48(%rbp), %rdx
	movl	(%rdx), %r13d
	movl	(%rbx), %eax
	movq	8(%r12), %rcx
	movq	_VAR_N@GOTPCREL(%rip), %rdi
	movq	(%rdi), %rdi
	movl	%eax, (%rcx,%rdi,4)
	movl	4(%rdx), %r15d
	movq	_AV_NOPTS_VALUE@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r15d
	jne	LBB0_6
## %bb.5:
	movq	_NAN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_7
LBB0_2:
	movq	(%r14), %rax
	movl	(%rax), %edi
	movq	-48(%rbp), %rsi
	jmp	LBB0_16
LBB0_6:
	movl	4(%rbx), %edi
	callq	_av_q2d
	imull	%r15d, %eax
	movq	8(%r12), %rcx
	movq	-56(%rbp), %rsi
	movq	-48(%rbp), %rdx
LBB0_7:
	movq	_VAR_T@GOTPCREL(%rip), %r15
	movq	(%r15), %rdi
	movl	%eax, (%rcx,%rdi,4)
	cmpl	$-1, %r13d
	jne	LBB0_9
## %bb.8:
	movq	_NAN@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
LBB0_9:
	movq	_VAR_POS@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rax
	movl	%r13d, (%rcx,%rax,4)
	movl	8(%rsi), %eax
	movq	_VAR_OW@GOTPCREL(%rip), %rdi
	movq	(%rdi), %rdi
	movl	%eax, (%rcx,%rdi,4)
	movq	_VAR_OVERLAY_W@GOTPCREL(%rip), %rdi
	movq	(%rdi), %rdi
	movl	%eax, (%rcx,%rdi,4)
	movl	16(%rsi), %eax
	movq	_VAR_OH@GOTPCREL(%rip), %rsi
	movq	(%rsi), %rsi
	movl	%eax, (%rcx,%rsi,4)
	movq	_VAR_OVERLAY_H@GOTPCREL(%rip), %rsi
	movq	(%rsi), %rsi
	movl	%eax, (%rcx,%rsi,4)
	movl	8(%rdx), %eax
	movq	_VAR_MW@GOTPCREL(%rip), %rsi
	movq	(%rsi), %rsi
	movl	%eax, (%rcx,%rsi,4)
	movq	_VAR_MAIN_W@GOTPCREL(%rip), %rsi
	movq	(%rsi), %rsi
	movl	%eax, (%rcx,%rsi,4)
	movl	16(%rdx), %eax
	movq	_VAR_MH@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movl	%eax, (%rcx,%rdx,4)
	movq	_VAR_MAIN_H@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movl	%eax, (%rcx,%rdx,4)
	movq	%r14, %rdi
	callq	_eval_expr
	movq	_AV_LOG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_VAR_N@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	8(%r12), %rdx
	movslq	(%rdx,%rax,4), %rcx
	movq	(%r15), %rax
	movslq	(%rdx,%rax,4), %r8
	movq	(%rbx), %rax
	movslq	(%rdx,%rax,4), %r9
	movq	_VAR_X@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movslq	(%rdx,%rax,4), %rax
	movq	_VAR_Y@GOTPCREL(%rip), %rdi
	movq	(%rdi), %rdi
	movslq	(%rdx,%rdi,4), %rbx
	leaq	L_.str(%rip), %rdx
	movq	%r14, %rdi
	pushq	24(%r12)
	pushq	%rbx
	pushq	16(%r12)
	pushq	%rax
	callq	_av_log
	addq	$32, %rsp
LBB0_10:
	movq	16(%r12), %rax
	movq	-48(%rbp), %rsi
	cmpq	8(%rsi), %rax
	jge	LBB0_15
## %bb.11:
	movq	-56(%rbp), %rcx
	addq	8(%rcx), %rax
	js	LBB0_15
## %bb.12:
	movq	24(%r12), %r15
	movq	16(%rsi), %rax
	cmpq	%rax, %r15
	jge	LBB0_15
## %bb.13:
	movq	16(%rcx), %rdi
	addq	%rdi, %r15
	js	LBB0_15
## %bb.14:
	movq	%rsi, -64(%rbp)
	movq	%rcx, -72(%rbp)
	movq	8(%r14), %rcx
	movq	(%rcx), %r13
	movl	32(%r12), %ebx
	movq	%rax, %rsi
	callq	_FFMIN
	movq	-48(%rbp), %rcx
	movq	16(%rcx), %rdx
	subq	24(%r12), %rdx
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_FFMIN3
	movl	$1, %edi
	movl	%eax, %esi
	callq	_FFMAX
	movq	%rax, %r15
	movq	%r14, %rdi
	callq	_ff_filter_get_nb_threads
	movq	%r15, %rdi
	movq	%rax, %rsi
	callq	_FFMIN
	leaq	-72(%rbp), %rdx
	movq	%r14, %rdi
	movl	%ebx, %esi
	xorl	%ecx, %ecx
	movl	%eax, %r8d
	callq	*%r13
	movq	-48(%rbp), %rsi
LBB0_15:
	movq	(%r14), %rax
	movl	(%rax), %edi
LBB0_16:
	callq	_ff_filter_frame
LBB0_17:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EVAL_MODE_FRAME,8,3            ## @EVAL_MODE_FRAME
	.comm	_VAR_N,8,3                      ## @VAR_N
	.comm	_AV_NOPTS_VALUE,4,2             ## @AV_NOPTS_VALUE
	.comm	_NAN,4,2                        ## @NAN
	.comm	_VAR_T,8,3                      ## @VAR_T
	.comm	_VAR_POS,8,3                    ## @VAR_POS
	.comm	_VAR_OW,8,3                     ## @VAR_OW
	.comm	_VAR_OVERLAY_W,8,3              ## @VAR_OVERLAY_W
	.comm	_VAR_OH,8,3                     ## @VAR_OH
	.comm	_VAR_OVERLAY_H,8,3              ## @VAR_OVERLAY_H
	.comm	_VAR_MW,8,3                     ## @VAR_MW
	.comm	_VAR_MAIN_W,8,3                 ## @VAR_MAIN_W
	.comm	_VAR_MH,8,3                     ## @VAR_MH
	.comm	_VAR_MAIN_H,8,3                 ## @VAR_MAIN_H
	.comm	_AV_LOG_DEBUG,4,2               ## @AV_LOG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"n:%f t:%f pos:%f x:%f xi:%d y:%f yi:%d\n"

	.comm	_VAR_X,8,3                      ## @VAR_X
	.comm	_VAR_Y,8,3                      ## @VAR_Y
	.no_dead_strip	_do_blend
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function do_blend
_do_blend:                              ; @do_blend
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	ldr	x19, [x0]
	ldp	x8, x22, [x19, #16]
	ldr	x23, [x8]
	add	x1, sp, #40
	add	x2, sp, #32
	bl	_ff_framesync_dualinput_get_writable
	tbnz	w0, #31, LBB0_15
; %bb.1:
	ldr	x9, [sp, #32]
	cbz	x9, LBB0_5
; %bb.2:
	ldr	x8, [x22]
Lloh0:
	adrp	x10, _EVAL_MODE_FRAME@GOTPAGE
Lloh1:
	ldr	x10, [x10, _EVAL_MODE_FRAME@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x10]
	cmp	x8, x10
	b.ne	LBB0_8
; %bb.3:
	ldr	x10, [sp, #40]
	ldr	w21, [x10]
	ldr	w11, [x23]
	ldr	x8, [x22, #8]
Lloh3:
	adrp	x20, _VAR_N@GOTPAGE
Lloh4:
	ldr	x20, [x20, _VAR_N@GOTPAGEOFF]
	ldr	x12, [x20]
	str	w11, [x8, x12, lsl #2]
	ldr	w25, [x10, #4]
Lloh5:
	adrp	x11, _AV_NOPTS_VALUE@GOTPAGE
Lloh6:
	ldr	x11, [x11, _AV_NOPTS_VALUE@GOTPAGEOFF]
Lloh7:
	ldr	w11, [x11]
Lloh8:
	adrp	x24, _NAN@GOTPAGE
Lloh9:
	ldr	x24, [x24, _NAN@GOTPAGEOFF]
	cmp	w25, w11
	b.ne	LBB0_6
; %bb.4:
	ldr	w11, [x24]
	b	LBB0_7
LBB0_5:
	ldr	x8, [x19]
	ldr	w0, [x8]
	ldr	x1, [sp, #40]
	b	LBB0_14
LBB0_6:
	ldr	w0, [x23, #4]
	bl	_av_q2d
	mul	w11, w0, w25
	ldr	x8, [x22, #8]
	ldp	x9, x10, [sp, #32]
LBB0_7:
Lloh10:
	adrp	x23, _VAR_T@GOTPAGE
Lloh11:
	ldr	x23, [x23, _VAR_T@GOTPAGEOFF]
	ldr	x12, [x23]
	str	w11, [x8, x12, lsl #2]
	ldr	w11, [x24]
	cmn	w21, #1
	csel	w11, w11, w21, eq
Lloh12:
	adrp	x21, _VAR_POS@GOTPAGE
Lloh13:
	ldr	x21, [x21, _VAR_POS@GOTPAGEOFF]
	ldr	x12, [x21]
	str	w11, [x8, x12, lsl #2]
	ldr	w11, [x9, #8]
Lloh14:
	adrp	x12, _VAR_OW@GOTPAGE
Lloh15:
	ldr	x12, [x12, _VAR_OW@GOTPAGEOFF]
Lloh16:
	ldr	x12, [x12]
	str	w11, [x8, x12, lsl #2]
Lloh17:
	adrp	x12, _VAR_OVERLAY_W@GOTPAGE
Lloh18:
	ldr	x12, [x12, _VAR_OVERLAY_W@GOTPAGEOFF]
Lloh19:
	ldr	x12, [x12]
	str	w11, [x8, x12, lsl #2]
	ldr	w9, [x9, #16]
Lloh20:
	adrp	x11, _VAR_OH@GOTPAGE
Lloh21:
	ldr	x11, [x11, _VAR_OH@GOTPAGEOFF]
Lloh22:
	ldr	x11, [x11]
	str	w9, [x8, x11, lsl #2]
Lloh23:
	adrp	x11, _VAR_OVERLAY_H@GOTPAGE
Lloh24:
	ldr	x11, [x11, _VAR_OVERLAY_H@GOTPAGEOFF]
Lloh25:
	ldr	x11, [x11]
	str	w9, [x8, x11, lsl #2]
	ldr	w9, [x10, #8]
Lloh26:
	adrp	x11, _VAR_MW@GOTPAGE
Lloh27:
	ldr	x11, [x11, _VAR_MW@GOTPAGEOFF]
Lloh28:
	ldr	x11, [x11]
	str	w9, [x8, x11, lsl #2]
Lloh29:
	adrp	x11, _VAR_MAIN_W@GOTPAGE
Lloh30:
	ldr	x11, [x11, _VAR_MAIN_W@GOTPAGEOFF]
Lloh31:
	ldr	x11, [x11]
	str	w9, [x8, x11, lsl #2]
	ldr	w9, [x10, #16]
Lloh32:
	adrp	x10, _VAR_MH@GOTPAGE
Lloh33:
	ldr	x10, [x10, _VAR_MH@GOTPAGEOFF]
Lloh34:
	ldr	x10, [x10]
	str	w9, [x8, x10, lsl #2]
Lloh35:
	adrp	x10, _VAR_MAIN_H@GOTPAGE
Lloh36:
	ldr	x10, [x10, _VAR_MAIN_H@GOTPAGEOFF]
Lloh37:
	ldr	x10, [x10]
	str	w9, [x8, x10, lsl #2]
	mov	x0, x19
	bl	_eval_expr
Lloh38:
	adrp	x8, _AV_LOG_DEBUG@GOTPAGE
Lloh39:
	ldr	x8, [x8, _AV_LOG_DEBUG@GOTPAGEOFF]
	ldr	x9, [x20]
	ldp	x10, x7, [x22, #8]
	ldrsw	x3, [x10, x9, lsl #2]
	ldr	x9, [x23]
	ldrsw	x4, [x10, x9, lsl #2]
	ldr	x9, [x21]
	ldrsw	x5, [x10, x9, lsl #2]
Lloh40:
	ldr	w1, [x8]
Lloh41:
	adrp	x8, _VAR_X@GOTPAGE
Lloh42:
	ldr	x8, [x8, _VAR_X@GOTPAGEOFF]
Lloh43:
	ldr	x8, [x8]
	ldrsw	x6, [x10, x8, lsl #2]
Lloh44:
	adrp	x8, _VAR_Y@GOTPAGE
Lloh45:
	ldr	x8, [x8, _VAR_Y@GOTPAGEOFF]
Lloh46:
	ldr	x8, [x8]
	ldrsw	x8, [x10, x8, lsl #2]
	ldr	x9, [x22, #24]
	stp	x8, x9, [sp]
Lloh47:
	adrp	x2, l_.str@PAGE
Lloh48:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x19
	bl	_av_log
LBB0_8:
	ldr	x8, [x22, #16]
	ldr	x1, [sp, #40]
	ldr	x9, [x1, #8]
	cmp	x8, x9
	b.ge	LBB0_13
; %bb.9:
	ldr	x9, [sp, #32]
	ldr	x10, [x9, #8]
	cmn	x10, x8
	b.mi	LBB0_13
; %bb.10:
	ldr	x10, [x22, #24]
	ldr	x8, [x1, #16]
	cmp	x10, x8
	b.ge	LBB0_13
; %bb.11:
	ldr	x0, [x9, #16]
	adds	x20, x0, x10
	b.mi	LBB0_13
; %bb.12:
	stp	x9, x1, [sp, #16]
	ldr	x9, [x19, #8]
	ldr	x23, [x9]
	ldr	w21, [x22, #32]
	mov	x1, x8
	bl	_FFMIN
	mov	x1, x0
	ldr	x8, [sp, #40]
	ldr	x8, [x8, #16]
	ldr	x9, [x22, #24]
	sub	x2, x8, x9
	mov	x0, x20
	bl	_FFMIN3
	mov	x1, x0
	mov	w0, #1
	bl	_FFMAX
	mov	x20, x0
	mov	x0, x19
	bl	_ff_filter_get_nb_threads
	mov	x1, x0
	mov	x0, x20
	bl	_FFMIN
	mov	x4, x0
	add	x2, sp, #16
	mov	x0, x19
	mov	x1, x21
	mov	x3, #0
	blr	x23
	ldr	x1, [sp, #40]
LBB0_13:
	ldr	x8, [x19]
	ldr	w0, [x8]
LBB0_14:
	bl	_ff_filter_frame
LBB0_15:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpAdd	Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_EVAL_MODE_FRAME,8,3            ; @EVAL_MODE_FRAME
	.comm	_VAR_N,8,3                      ; @VAR_N
	.comm	_AV_NOPTS_VALUE,4,2             ; @AV_NOPTS_VALUE
	.comm	_NAN,4,2                        ; @NAN
	.comm	_VAR_T,8,3                      ; @VAR_T
	.comm	_VAR_POS,8,3                    ; @VAR_POS
	.comm	_VAR_OW,8,3                     ; @VAR_OW
	.comm	_VAR_OVERLAY_W,8,3              ; @VAR_OVERLAY_W
	.comm	_VAR_OH,8,3                     ; @VAR_OH
	.comm	_VAR_OVERLAY_H,8,3              ; @VAR_OVERLAY_H
	.comm	_VAR_MW,8,3                     ; @VAR_MW
	.comm	_VAR_MAIN_W,8,3                 ; @VAR_MAIN_W
	.comm	_VAR_MH,8,3                     ; @VAR_MH
	.comm	_VAR_MAIN_H,8,3                 ; @VAR_MAIN_H
	.comm	_AV_LOG_DEBUG,4,2               ; @AV_LOG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"n:%f t:%f pos:%f x:%f xi:%d y:%f yi:%d\n"

	.comm	_VAR_X,8,3                      ; @VAR_X
	.comm	_VAR_Y,8,3                      ; @VAR_Y
	.no_dead_strip	_do_blend
.subsections_via_symbols
