	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function draw_horiz_band
_draw_horiz_band:                       ## @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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, %r12d
	movl	%ecx, %r15d
	movq	%rdx, -80(%rbp)                 ## 8-byte Spill
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	_draw_horiz_band_called@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
	movl	8(%rdi), %edi
	callq	_av_pix_fmt_desc_get
	movl	(%rbx), %edx
	movl	%edx, %esi
	negl	%esi
	movb	(%rax), %cl
	movb	4(%rax), %al
	sarl	%cl, %esi
	movl	%esi, -44(%rbp)                 ## 4-byte Spill
	movl	%r12d, %esi
	negl	%esi
	movl	%eax, %ecx
	sarl	%cl, %esi
	movl	%esi, -56(%rbp)                 ## 4-byte Spill
	movl	%r15d, -64(%rbp)                ## 4-byte Spill
	negl	%r15d
	sarl	%cl, %r15d
	movl	%r15d, -84(%rbp)                ## 4-byte Spill
	xorl	%r13d, %r13d
	xorl	%esi, %esi
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	subl	4(%rbx), %esi
	sarl	%cl, %esi
	movl	%esi, -88(%rbp)                 ## 4-byte Spill
	testl	%r12d, %r12d
	jle	LBB0_3
## %bb.1:
	movl	%r12d, %r15d
	decl	%r15d
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	%edx, %eax
	imull	-64(%rbp), %eax                 ## 4-byte Folded Reload
	cltq
	movq	_slice_byte_buffer@GOTPCREL(%rip), %rcx
	addq	(%rcx), %rax
	movl	%edx, %ecx
	imull	%r13d, %ecx
	movslq	%ecx, %rdi
	addq	%rax, %rdi
	movq	(%r14), %rax
	movq	8(%r14), %rcx
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	movslq	(%rsi), %rbx
	addq	(%rcx), %rbx
	movslq	(%rax), %rsi
	movslq	%r13d, %r12
	imulq	%r12, %rsi
	addq	%rbx, %rsi
	callq	_memcpy
	cmpl	%r12d, %r15d
	je	LBB0_3
## %bb.9:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edx
	incl	%r13d
	jmp	LBB0_2
LBB0_3:
	movl	-56(%rbp), %edi                 ## 4-byte Reload
	testl	%edi, %edi
	movq	-80(%rbp), %r8                  ## 8-byte Reload
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	jns	LBB0_8
## %bb.4:
	movq	%r14, %r9
	movl	%eax, %edx
	negl	%edx
	negl	%edi
	movl	-84(%rbp), %ebx                 ## 4-byte Reload
	imull	%eax, %ebx
	cmpl	$2, %edi
	movl	$1, %ecx
	cmovgel	%edi, %ecx
	movslq	%ebx, %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	xorl	%r12d, %r12d
	movq	_slice_byte_buffer@GOTPCREL(%rip), %r10
	xorl	%ebx, %ebx
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movslq	(%rsi), %rax
	movslq	4(%rsi), %rcx
	imulq	%rax, %rcx
	movslq	%r12d, %r12
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	leaq	(%r12,%rax), %rdi
	addq	(%r10), %rdi
	addq	%rcx, %rdi
	movq	8(%r9), %rax
	movslq	4(%r8), %rcx
	addq	8(%rax), %rcx
	movq	(%r9), %rax
	movslq	4(%rax), %rsi
	imulq	%rbx, %rsi
	addq	%rcx, %rsi
	movl	%edx, %r15d
	movq	%r9, %r14
	movq	%r10, %r13
	callq	_memcpy
	movq	%r13, %r10
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movq	%r14, %r9
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	movl	%r15d, %edx
	movq	-80(%rbp), %r8                  ## 8-byte Reload
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	incq	%rbx
	subl	%eax, %r12d
	cmpq	%rbx, %rcx
	jne	LBB0_5
## %bb.6:
	movl	-88(%rbp), %ecx                 ## 4-byte Reload
	imull	%eax, %ecx
	movslq	%ecx, %rcx
	addq	-56(%rbp), %rcx                 ## 8-byte Folded Reload
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	xorl	%ebx, %ebx
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movslq	(%rsi), %rax
	movslq	4(%rsi), %rcx
	imulq	%rax, %rcx
	movslq	%ebx, %rbx
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rax,%rbx), %rdi
	addq	(%r10), %rdi
	addq	%rcx, %rdi
	movq	8(%r9), %rax
	movslq	8(%r8), %rcx
	addq	16(%rax), %rcx
	movq	(%r9), %rax
	movslq	8(%rax), %rsi
	imulq	%r12, %rsi
	addq	%rcx, %rsi
	callq	_memcpy
	movq	%r13, %r10
	movq	%r14, %r9
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	movl	%r15d, %edx
	movq	-80(%rbp), %r8                  ## 8-byte Reload
	incq	%r12
	subl	-44(%rbp), %ebx                 ## 4-byte Folded Reload
	cmpq	%r12, -64(%rbp)                 ## 8-byte Folded Reload
	jne	LBB0_7
LBB0_8:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_draw_horiz_band_called,4,2     ## @draw_horiz_band_called
	.comm	_slice_byte_buffer,8,3          ## @slice_byte_buffer
	.no_dead_strip	_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 draw_horiz_band
_draw_horiz_band:                       ; @draw_horiz_band
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	mov	x22, x5
	mov	x23, x3
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	mov	w8, #1
Lloh0:
	adrp	x9, _draw_horiz_band_called@GOTPAGE
Lloh1:
	ldr	x9, [x9, _draw_horiz_band_called@GOTPAGEOFF]
Lloh2:
	str	w8, [x9]
	ldr	w0, [x0, #8]
	bl	_av_pix_fmt_desc_get
	neg	w8, w22
	ldp	w9, w26, [x0]
	str	x9, [sp, #8]                    ; 8-byte Folded Spill
	asr	w28, w8, w26
	ldp	w25, w8, [x21]
	str	w8, [sp, #4]                    ; 4-byte Folded Spill
Lloh3:
	adrp	x24, _slice_byte_buffer@GOTPAGE
Lloh4:
	ldr	x24, [x24, _slice_byte_buffer@GOTPAGEOFF]
	subs	w22, w22, #1
	b.lt	LBB0_4
; %bb.1:
	mov	w27, #0
	mov	x2, x25
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x24]
	mul	w9, w2, w23
	add	x8, x8, w9, sxtw
	mul	w9, w2, w27
	add	x0, x8, w9, sxtw
	ldp	x9, x8, [x20]
	ldr	x8, [x8]
	ldrsw	x10, [x19]
	add	x8, x8, x10
	ldrsw	x9, [x9]
	sxtw	x10, w27
	madd	x1, x9, x10, x8
	bl	_memcpy
	cmp	w22, w27
	b.eq	LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w2, [x21]
	add	w27, w27, #1
	b	LBB0_2
LBB0_4:
	tbz	w28, #31, LBB0_9
; %bb.5:
	mov	x10, x28
	mov	w28, #0
	mov	x27, #0
	neg	w8, w25
	ldr	x9, [sp, #8]                    ; 8-byte Folded Reload
	asr	w25, w8, w9
	neg	w22, w25
	neg	w8, w23
	ldr	w9, [sp, #4]                    ; 4-byte Folded Reload
	neg	w9, w9
	neg	w10, w10
	asr	w8, w8, w26
	asr	w9, w9, w26
	str	w9, [sp, #8]                    ; 4-byte Folded Spill
	mul	w8, w8, w25
	sxtw	x26, w8
	cmp	w10, #1
	csinc	w23, w10, wzr, gt
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x24]
	ldpsw	x9, x10, [x21]
	add	x11, x26, w28, sxtw
	add	x8, x11, x8
	madd	x0, x10, x9, x8
	ldp	x9, x8, [x20]
	ldr	x8, [x8, #8]
	ldrsw	x10, [x19, #4]
	add	x8, x8, x10
	ldrsw	x9, [x9, #4]
	madd	x1, x27, x9, x8
	mov	x2, x22
	bl	_memcpy
	add	x27, x27, #1
	sub	w28, w28, w25
	cmp	x23, x27
	b.ne	LBB0_6
; %bb.7:
	mov	w27, #0
	mov	x28, #0
	ldr	w8, [sp, #8]                    ; 4-byte Folded Reload
	mul	w8, w8, w25
	add	x26, x26, w8, sxtw
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x24]
	ldpsw	x9, x10, [x21]
	add	x11, x26, w27, sxtw
	add	x8, x11, x8
	madd	x0, x10, x9, x8
	ldp	x9, x8, [x20]
	ldr	x8, [x8, #16]
	ldrsw	x10, [x19, #8]
	add	x8, x8, x10
	ldrsw	x9, [x9, #8]
	madd	x1, x28, x9, x8
	mov	x2, x22
	bl	_memcpy
	add	x28, x28, #1
	sub	w27, w27, w25
	cmp	x23, x28
	b.ne	LBB0_8
LBB0_9:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotStr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_draw_horiz_band_called,4,2     ; @draw_horiz_band_called
	.comm	_slice_byte_buffer,8,3          ; @slice_byte_buffer
	.no_dead_strip	_draw_horiz_band
.subsections_via_symbols
