	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vout_fbdev_clear_lines         ## -- Begin function vout_fbdev_clear_lines
	.p2align	4, 0x90
_vout_fbdev_clear_lines:                ## @vout_fbdev_clear_lines
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
                                        ## kill: def $edx killed $edx def $rdx
                                        ## kill: def $esi killed $esi def $rsi
	movq	%rdi, %r12
	movl	28(%rdi), %ecx
	movl	32(%rdi), %edi
	imull	24(%r12), %ecx
	leal	7(%rcx), %eax
	testl	%ecx, %ecx
	cmovnsl	%ecx, %eax
	leal	(%rdx,%rsi), %ecx
	addl	(%r12), %edi
	movl	%edi, %r14d
	subl	%esi, %r14d
	cmpl	%edi, %ecx
	cmovlel	%edx, %r14d
	testl	%esi, %esi
	js	LBB0_5
## %bb.1:
	testl	%r14d, %r14d
	jle	LBB0_5
## %bb.2:
	cmpl	$0, 4(%r12)
	jle	LBB0_5
## %bb.3:
	sarl	$3, %eax
	imull	%eax, %esi
	movslq	%esi, %r15
	imull	%eax, %r14d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movslq	8(%r12), %rax
	movslq	%ebx, %rbx
	imulq	%rbx, %rax
	movq	16(%r12), %rdi
	addq	%r15, %rdi
	addq	%rax, %rdi
	xorl	%esi, %esi
	movl	%r14d, %edx
	callq	_memset
	incl	%ebx
	cmpl	4(%r12), %ebx
	jl	LBB0_4
LBB0_5:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vout_fbdev_clear_lines         ; -- Begin function vout_fbdev_clear_lines
	.p2align	2
_vout_fbdev_clear_lines:                ; @vout_fbdev_clear_lines
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	ldp	w8, w9, [x0, #24]
	mul	w8, w9, w8
	add	w9, w8, #7
	cmp	w8, #0
	csel	w8, w9, w8, lt
	ldr	w9, [x0]
	ldr	w10, [x0, #32]
	add	w9, w10, w9
	sub	w10, w9, w1
	add	w11, w2, w1
	cmp	w11, w9
	csel	w9, w10, w2, gt
	tbnz	w1, #31, LBB0_5
; %bb.1:
	cmp	w9, #1
	b.lt	LBB0_5
; %bb.2:
	mov	x19, x0
	ldr	w10, [x0, #4]
	cmp	w10, #1
	b.lt	LBB0_5
; %bb.3:
	mov	w21, #0
	asr	w8, w8, #3
	mul	w10, w8, w1
	sxtw	x22, w10
	mul	w20, w9, w8
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #16]
	ldrsw	x9, [x19, #8]
	sxtw	x10, w21
	add	x8, x8, x22
	madd	x0, x9, x10, x8
	mov	w1, #0
	mov	x2, x20
	bl	_memset
	add	w21, w21, #1
	ldr	w8, [x19, #4]
	cmp	w21, w8
	b.lt	LBB0_4
LBB0_5:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
