	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_draw_horiz_band             ## -- Begin function ff_draw_horiz_band
	.p2align	4, 0x90
_ff_draw_horiz_band:                    ## @ff_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
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, %r14d
	movl	%r8d, %ebx
	movl	%ecx, %r15d
	movq	%rdx, -80(%rbp)                 ## 8-byte Spill
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r12
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movl	32(%rdi), %edi
	callq	_av_pix_fmt_desc_get
	movq	_PICT_FRAME@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r13d
	cmpl	%r14d, %r13d
	setne	%cl
	shll	%cl, %ebx
	shll	%cl, %r15d
	movl	(%rax), %eax
	movl	%eax, -64(%rbp)                 ## 4-byte Spill
	movq	24(%r12), %rsi
	movslq	%r15d, %rax
	subq	%rax, %rsi
	movl	%ebx, %edi
	callq	_FFMIN
	cmpl	$0, 16(%rbp)
	je	LBB0_3
## %bb.1:
	cmpl	%r14d, %r13d
	je	LBB0_3
## %bb.2:
	movq	_SLICE_FLAG_ALLOW_FIELD@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%r12)
	je	LBB0_17
LBB0_3:
	cmpq	$0, 16(%r12)
	je	LBB0_17
## %bb.4:
	movl	%eax, -60(%rbp)                 ## 4-byte Spill
	movq	%rsp, -72(%rbp)                 ## 8-byte Spill
	movq	_AV_NUM_DATA_POINTERS@GOTPCREL(%rip), %rbx
	movl	(%rbx), %eax
	shlq	$2, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r13
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	movq	_AV_PICTURE_TYPE_B@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpl	$0, 24(%rbp)
	jne	LBB0_8
## %bb.5:
	cmpq	%rcx, %rax
	je	LBB0_8
## %bb.6:
	movq	_SLICE_FLAG_CODED_ORDER@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	testl	%edx, (%r12)
	jne	LBB0_8
## %bb.7:
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	testq	%rdx, %rdx
	je	LBB0_19
LBB0_8:
	cmpq	%rcx, %rax
	jne	LBB0_13
## %bb.9:
	movq	_PICT_FRAME@GOTPCREL(%rip), %rax
	cmpl	%r14d, (%rax)
	jne	LBB0_13
## %bb.10:
	movq	8(%r12), %rax
	movq	_AV_CODEC_ID_SVQ3@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_11
LBB0_13:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax), %rax
	movl	(%rax), %edx
	movl	%r15d, %esi
	movl	-64(%rbp), %ecx                 ## 4-byte Reload
                                        ## kill: def $cl killed $cl killed $ecx
	sarl	%cl, %esi
	imull	%r15d, %edx
	movl	%edx, (%r13)
	imull	4(%rax), %esi
	movl	%esi, 8(%r13)
	movl	%esi, 4(%r13)
	movl	(%rbx), %esi
	cmpl	$4, %esi
	jl	LBB0_16
## %bb.14:
	movq	%r13, %rdi
	addq	$12, %rdi
	addl	$-3, %esi
	shlq	$2, %rsi
	jmp	LBB0_15
LBB0_11:
	movl	(%rbx), %esi
	testl	%esi, %esi
	jle	LBB0_16
## %bb.12:
	shlq	$2, %rsi
	movq	%r13, %rdi
LBB0_15:
	callq	___bzero
LBB0_16:
	xorl	%eax, %eax
	callq	_emms_c
	movq	%r12, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movq	%r13, %rdx
	movl	%r15d, %ecx
	movl	%r14d, %r8d
	movl	-60(%rbp), %r9d                 ## 4-byte Reload
	callq	*16(%r12)
	movq	-72(%rbp), %rsp                 ## 8-byte Reload
LBB0_17:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_18
LBB0_21:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_19:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_18
## %bb.20:
	movq	-72(%rbp), %rsp                 ## 8-byte Reload
	jmp	LBB0_21
LBB0_18:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_PICT_FRAME,4,2                 ## @PICT_FRAME
	.comm	_SLICE_FLAG_ALLOW_FIELD,4,2     ## @SLICE_FLAG_ALLOW_FIELD
	.comm	_AV_NUM_DATA_POINTERS,4,2       ## @AV_NUM_DATA_POINTERS
	.comm	_AV_PICTURE_TYPE_B,8,3          ## @AV_PICTURE_TYPE_B
	.comm	_SLICE_FLAG_CODED_ORDER,4,2     ## @SLICE_FLAG_CODED_ORDER
	.comm	_AV_CODEC_ID_SVQ3,8,3           ## @AV_CODEC_ID_SVQ3
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_draw_horiz_band             ; -- Begin function ff_draw_horiz_band
	.p2align	2
_ff_draw_horiz_band:                    ; @ff_draw_horiz_band
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	sub	sp, sp, #16
	mov	x26, x7
	mov	x24, x6
	mov	x19, x5
	mov	x22, x4
	mov	x23, x3
	mov	x25, x2
	mov	x20, x1
	mov	x21, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
	ldr	w0, [x0, #32]
	bl	_av_pix_fmt_desc_get
	ldr	w8, [x0]
	stur	w8, [x29, #-92]                 ; 4-byte Folded Spill
Lloh3:
	adrp	x27, _PICT_FRAME@GOTPAGE
Lloh4:
	ldr	x27, [x27, _PICT_FRAME@GOTPAGEOFF]
	ldr	w28, [x27]
	cmp	w28, w19
	cset	w8, ne
	lsl	w0, w22, w8
	lsl	w22, w23, w8
	ldr	x8, [x21, #24]
	sub	x1, x8, w22, sxtw
	bl	_FFMIN
	mov	x23, x0
	cbz	w24, LBB0_3
; %bb.1:
	cmp	w28, w19
	b.eq	LBB0_3
; %bb.2:
	ldr	w8, [x21]
Lloh5:
	adrp	x9, _SLICE_FLAG_ALLOW_FIELD@GOTPAGE
Lloh6:
	ldr	x9, [x9, _SLICE_FLAG_ALLOW_FIELD@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_16
LBB0_3:
	ldr	x8, [x21, #16]
	cbz	x8, LBB0_16
; %bb.4:
	mov	x28, sp
Lloh8:
	adrp	x12, _AV_NUM_DATA_POINTERS@GOTPAGE
Lloh9:
	ldr	x12, [x12, _AV_NUM_DATA_POINTERS@GOTPAGEOFF]
	ldr	w8, [x12]
	lsl	x8, x8, #2
	mov	x9, x8
Lloh10:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh11:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x7fffffff0
	sub	x24, x9, x8
	mov	sp, x24
	ldr	x8, [x20]
Lloh12:
	adrp	x9, _AV_PICTURE_TYPE_B@GOTPAGE
Lloh13:
	ldr	x9, [x9, _AV_PICTURE_TYPE_B@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	cbnz	w26, LBB0_8
; %bb.5:
	cmp	x8, x9
	b.eq	LBB0_8
; %bb.6:
	ldr	w10, [x21]
Lloh15:
	adrp	x11, _SLICE_FLAG_CODED_ORDER@GOTPAGE
Lloh16:
	ldr	x11, [x11, _SLICE_FLAG_CODED_ORDER@GOTPAGEOFF]
Lloh17:
	ldr	w11, [x11]
	tst	w11, w10
	b.ne	LBB0_8
; %bb.7:
	mov	x20, x25
	cbz	x25, LBB0_18
LBB0_8:
	ldr	w10, [x27]
	cmp	x8, x9
	ccmp	w10, w19, #0, eq
	b.ne	LBB0_10
; %bb.9:
	ldr	x8, [x21, #8]
Lloh18:
	adrp	x9, _AV_CODEC_ID_SVQ3@GOTPAGE
Lloh19:
	ldr	x9, [x9, _AV_CODEC_ID_SVQ3@GOTPAGEOFF]
Lloh20:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_12
LBB0_10:
	ldr	x8, [x20, #8]
	ldp	w9, w8, [x8]
	mul	w9, w9, w22
	ldur	w10, [x29, #-92]                ; 4-byte Folded Reload
	asr	w10, w22, w10
	mul	w8, w8, w10
	stp	w8, w8, [x24, #4]
	str	w9, [x24]
	ldr	w8, [x12]
	cmp	w8, #4
	b.lt	LBB0_15
; %bb.11:
	add	x0, x24, #12
	sub	w8, w8, #3
	lsl	x1, x8, #2
	b	LBB0_14
LBB0_12:
	ldr	w8, [x12]
	cmp	w8, #1
	b.lt	LBB0_15
; %bb.13:
	lsl	x1, x8, #2
	mov	x0, x24
LBB0_14:
	bl	_bzero
LBB0_15:
	bl	_emms_c
	ldr	x8, [x21, #16]
	mov	x0, x21
	mov	x1, x20
	mov	x2, x24
	mov	x3, x22
	mov	x4, x19
	mov	x5, x23
	blr	x8
	mov	sp, x28
LBB0_16:
	ldur	x8, [x29, #-88]
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_20
LBB0_17:
	sub	sp, x29, #80
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_18:
	ldur	x8, [x29, #-88]
Lloh24:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh25:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh26:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_20
; %bb.19:
	mov	sp, x28
	b	LBB0_17
LBB0_20:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.comm	_PICT_FRAME,4,2                 ; @PICT_FRAME
	.comm	_SLICE_FLAG_ALLOW_FIELD,4,2     ; @SLICE_FLAG_ALLOW_FIELD
	.comm	_AV_NUM_DATA_POINTERS,4,2       ; @AV_NUM_DATA_POINTERS
	.comm	_AV_PICTURE_TYPE_B,8,3          ; @AV_PICTURE_TYPE_B
	.comm	_SLICE_FLAG_CODED_ORDER,4,2     ; @SLICE_FLAG_CODED_ORDER
	.comm	_AV_CODEC_ID_SVQ3,8,3           ; @AV_CODEC_ID_SVQ3
.subsections_via_symbols
