	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vp3_draw_horiz_band
_vp3_draw_horiz_band:                   ## @vp3_draw_horiz_band
	.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	%esi, %r14d
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_AV_NUM_DATA_POINTERS@GOTPCREL(%rip), %r13
	movl	(%r13), %eax
	shlq	$2, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r15
	movq	_HAVE_THREADS@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_6
## %bb.1:
	movq	24(%rbx), %rax
	movq	_FF_THREAD_FRAME@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	je	LBB0_6
## %bb.2:
	movl	(%rbx), %eax
	movl	%eax, %esi
	subl	%r14d, %esi
	cmpq	$0, 32(%rbx)
	cmovel	%r14d, %esi
	leaq	16(%rbx), %rdi
	cmpl	%eax, %esi
	jne	LBB0_3
## %bb.4:
	movq	_INT_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	jmp	LBB0_5
LBB0_3:
	decl	%esi
LBB0_5:
	xorl	%edx, %edx
	callq	_ff_thread_report_progress
LBB0_6:
	movq	24(%rbx), %rax
	cmpq	$0, 8(%rax)
	je	LBB0_12
## %bb.7:
	movl	4(%rbx), %eax
	movl	%r14d, 4(%rbx)
	cmpq	$0, 32(%rbx)
	movl	%eax, %r12d
	jne	LBB0_9
## %bb.8:
	movl	(%rbx), %r12d
	subl	%r14d, %r12d
LBB0_9:
	movb	8(%rbx), %cl
	movl	%r12d, %edx
	sarl	%cl, %edx
	movq	16(%rbx), %rcx
	movq	(%rcx), %rcx
	movl	(%rcx), %esi
	imull	%r12d, %esi
	movl	%esi, (%r15)
	movl	4(%rcx), %esi
	imull	%edx, %esi
	movl	%esi, 4(%r15)
	imull	8(%rcx), %edx
	subl	%eax, %r14d
	movl	%edx, 8(%r15)
	movl	(%r13), %esi
	cmpl	$4, %esi
	jl	LBB0_11
## %bb.10:
	movq	%r15, %rdi
	addq	$12, %rdi
	addl	$-3, %esi
	shlq	$2, %rsi
	callq	___bzero
LBB0_11:
	xorl	%eax, %eax
	callq	_emms_c
	movq	16(%rbx), %rsi
	movq	24(%rbx), %rdi
	movq	%r15, %rdx
	movl	%r12d, %ecx
	movl	$3, %r8d
	movl	%r14d, %r9d
	callq	*8(%rdi)
LBB0_12:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_14
## %bb.13:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_14:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_AV_NUM_DATA_POINTERS,4,2       ## @AV_NUM_DATA_POINTERS
	.comm	_HAVE_THREADS,8,3               ## @HAVE_THREADS
	.comm	_FF_THREAD_FRAME,4,2            ## @FF_THREAD_FRAME
	.comm	_INT_MAX,4,2                    ## @INT_MAX
	.no_dead_strip	_vp3_draw_horiz_band
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vp3_draw_horiz_band
_vp3_draw_horiz_band:                   ; @vp3_draw_horiz_band
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	sub	sp, sp, #16
	mov	x21, x1
	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, #-56]
Lloh3:
	adrp	x24, _AV_NUM_DATA_POINTERS@GOTPAGE
Lloh4:
	ldr	x24, [x24, _AV_NUM_DATA_POINTERS@GOTPAGEOFF]
	ldr	w8, [x24]
	lsl	x8, x8, #2
	mov	x9, x8
Lloh5:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh6:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x7fffffff0
	sub	x20, x9, x8
	mov	sp, x20
Lloh7:
	adrp	x8, _HAVE_THREADS@GOTPAGE
Lloh8:
	ldr	x8, [x8, _HAVE_THREADS@GOTPAGEOFF]
Lloh9:
	ldr	x8, [x8]
	cbz	x8, LBB0_3
; %bb.1:
	ldr	x8, [x19, #24]
	ldr	w8, [x8]
Lloh10:
	adrp	x9, _FF_THREAD_FRAME@GOTPAGE
Lloh11:
	ldr	x9, [x9, _FF_THREAD_FRAME@GOTPAGEOFF]
Lloh12:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_3
; %bb.2:
	ldr	x8, [x19, #32]
	ldr	w9, [x19]
	sub	w10, w9, w21
	cmp	x8, #0
	csel	w8, w21, w10, eq
	add	x0, x19, #16
Lloh13:
	adrp	x10, _INT_MAX@GOTPAGE
Lloh14:
	ldr	x10, [x10, _INT_MAX@GOTPAGEOFF]
Lloh15:
	ldr	w10, [x10]
	sub	w11, w8, #1
	cmp	w8, w9
	csel	w1, w10, w11, eq
	mov	w2, #0
	bl	_ff_thread_report_progress
LBB0_3:
	ldr	x8, [x19, #24]
	ldr	x8, [x8, #8]
	cbz	x8, LBB0_9
; %bb.4:
	ldr	w23, [x19, #4]
	sub	w22, w21, w23
	str	w21, [x19, #4]
	ldr	x8, [x19, #32]
	cbnz	x8, LBB0_6
; %bb.5:
	ldr	w8, [x19]
	sub	w23, w8, w21
LBB0_6:
	ldr	w8, [x19, #8]
	asr	w8, w23, w8
	ldr	x9, [x19, #16]
	ldr	x9, [x9]
	ldr	w10, [x9]
	mul	w10, w10, w23
	str	w10, [x20]
	ldur	d0, [x9, #4]
	dup.2s	v1, w8
	mul.2s	v0, v0, v1
	stur	d0, [x20, #4]
	ldr	w8, [x24]
	cmp	w8, #4
	b.lt	LBB0_8
; %bb.7:
	add	x0, x20, #12
	sub	w8, w8, #3
	lsl	x1, x8, #2
	bl	_bzero
LBB0_8:
	bl	_emms_c
	ldp	x1, x0, [x19, #16]
	ldr	x8, [x0, #8]
	mov	x2, x20
	mov	x3, x23
	mov	w4, #3
	mov	x5, x22
	blr	x8
LBB0_9:
	ldur	x8, [x29, #-56]
Lloh16:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh17:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh18:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_11
; %bb.10:
	sub	sp, x29, #48
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_11:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_AV_NUM_DATA_POINTERS,4,2       ; @AV_NUM_DATA_POINTERS
	.comm	_HAVE_THREADS,8,3               ; @HAVE_THREADS
	.comm	_FF_THREAD_FRAME,4,2            ; @FF_THREAD_FRAME
	.comm	_INT_MAX,4,2                    ; @INT_MAX
	.no_dead_strip	_vp3_draw_horiz_band
.subsections_via_symbols
