	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function draw_cursor
_draw_cursor:                           ## @draw_cursor
	.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	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	24(%rdi), %r8
	movq	(%r8), %r14
	testq	%r14, %r14
	je	LBB0_37
## %bb.1:
	movq	8(%r8), %r9
	movq	(%rdi), %rax
	cmpq	%rax, %r9
	jge	LBB0_37
## %bb.2:
	movq	16(%r8), %r10
	movq	8(%rdi), %rdx
	cmpq	%rdx, %r10
	jge	LBB0_37
## %bb.3:
	movslq	24(%r8), %r12
	leaq	(%r9,%r12), %rcx
	cmpq	%rax, %rcx
	jg	LBB0_37
## %bb.4:
	movq	32(%r8), %rcx
	leaq	(%rcx,%r10), %rax
	cmpq	%rdx, %rax
	jle	LBB0_5
LBB0_37:
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movq	16(%rdi), %rax
	movq	_AV_PIX_FMT_PAL8@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rax
	movq	%r8, -48(%rbp)                  ## 8-byte Spill
	jne	LBB0_19
## %bb.6:
	testq	%rcx, %rcx
	jle	LBB0_37
## %bb.7:
	movq	40(%r8), %rax
	movq	(%rax), %rax
	movq	8(%rax), %rax
	addq	$8, %rax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	xorl	%eax, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movl	%r12d, %eax
	jmp	LBB0_8
LBB0_9:                                 ##   in Loop: Header=BB0_8 Depth=1
	movl	%eax, %edx
LBB0_10:                                ##   in Loop: Header=BB0_8 Depth=1
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	incq	%rsi
	movl	%edx, %eax
	movq	%rsi, %rdx
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	cmpq	%rsi, %rcx
	jle	LBB0_37
LBB0_8:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_12 Depth 2
                                        ##       Child Loop BB0_16 Depth 3
	testl	%eax, %eax
	jle	LBB0_9
## %bb.11:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	notq	%rdx
	movq	%rdx, -96(%rbp)                 ## 8-byte Spill
	xorl	%edi, %edi
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_18:                                ##   in Loop: Header=BB0_12 Depth=2
	incq	%rdi
	movslq	%r12d, %rsi
	movq	32(%r8), %rcx
	movl	%r12d, %edx
	movl	%r12d, %eax
	cmpq	%rsi, %rdi
	jge	LBB0_10
LBB0_12:                                ##   Parent Loop BB0_8 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_16 Depth 3
	addq	-96(%rbp), %rcx                 ## 8-byte Folded Reload
	movq	(%r8), %rdx
	leal	(%rax,%rax,2), %eax
	cltq
	imulq	%rcx, %rax
	leaq	(%rdi,%rdi,2), %rcx
	addq	%rax, %rcx
	movl	(%rdx,%rcx,4), %esi
	movl	4(%rdx,%rcx,4), %ebx
	movl	8(%rdx,%rcx,4), %r14d
	movq	_INT_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	cmpl	(%rdx), %esi
	jne	LBB0_15
## %bb.13:                              ##   in Loop: Header=BB0_12 Depth=2
	cmpl	4(%rdx), %ebx
	jne	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_12 Depth=2
	cmpl	8(%rdx), %r14d
	je	LBB0_18
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_12 Depth=2
	movq	40(%r8), %rax
	movq	(%rax), %rdx
	movq	8(%rax), %rax
	movq	(%rdx), %rdx
	movq	%rdx, -120(%rbp)                ## 8-byte Spill
	movslq	(%rax), %rax
	movq	16(%r8), %rdx
	addq	-56(%rbp), %rdx                 ## 8-byte Folded Reload
	imulq	%rax, %rdx
	movq	%rdx, -112(%rbp)                ## 8-byte Spill
	movq	8(%r8), %rax
	movq	%rdi, -128(%rbp)                ## 8-byte Spill
	addq	%rdi, %rax
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	xorl	%r12d, %r12d
	movq	-88(%rbp), %r15                 ## 8-byte Reload
	xorl	%r13d, %r13d
	movl	%esi, -76(%rbp)                 ## 4-byte Spill
	movl	%ebx, -72(%rbp)                 ## 4-byte Spill
	movl	%r14d, -68(%rbp)                ## 4-byte Spill
	.p2align	4, 0x90
LBB0_16:                                ##   Parent Loop BB0_8 Depth=1
                                        ##     Parent Loop BB0_12 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movl	%ecx, -64(%rbp)                 ## 4-byte Spill
	movl	%esi, %edi
	subl	-8(%r15), %edi
	movl	-72(%rbp), %ebx                 ## 4-byte Reload
	subl	-4(%r15), %ebx
	movl	-68(%rbp), %r14d                ## 4-byte Reload
	subl	(%r15), %r14d
	callq	_FFABS
	movl	%eax, -80(%rbp)                 ## 4-byte Spill
	movl	%ebx, %edi
	callq	_FFABS
	movl	%eax, %ebx
	addl	-80(%rbp), %ebx                 ## 4-byte Folded Reload
	movl	%r14d, %edi
	callq	_FFABS
	movl	-64(%rbp), %ecx                 ## 4-byte Reload
	movl	-76(%rbp), %esi                 ## 4-byte Reload
	addl	%ebx, %eax
	cmpl	%ecx, %eax
	cmovll	%r12d, %r13d
	cmovll	%eax, %ecx
	incq	%r12
	addq	$16, %r15
	cmpq	$256, %r12                      ## imm = 0x100
	jne	LBB0_16
## %bb.17:                              ##   in Loop: Header=BB0_12 Depth=2
	movq	-120(%rbp), %rax                ## 8-byte Reload
	movq	-112(%rbp), %rcx                ## 8-byte Reload
	leaq	(%rax,%rcx,4), %rax
	movq	-104(%rbp), %rcx                ## 8-byte Reload
	movl	%r13d, (%rax,%rcx,4)
	movq	-48(%rbp), %r8                  ## 8-byte Reload
	movl	24(%r8), %r12d
	movq	-128(%rbp), %rdi                ## 8-byte Reload
	jmp	LBB0_18
LBB0_19:
	movq	_AV_PIX_FMT_RGB555LE@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rax
	jne	LBB0_31
## %bb.20:
	testq	%rcx, %rcx
	jle	LBB0_37
## %bb.21:
	movq	$-1, %r15
	xorl	%r14d, %r14d
	movl	%r12d, %eax
	jmp	LBB0_22
LBB0_23:                                ##   in Loop: Header=BB0_22 Depth=1
	movl	%eax, %edx
LBB0_24:                                ##   in Loop: Header=BB0_22 Depth=1
	incq	%r14
	decq	%r15
	movl	%edx, %eax
	cmpq	%r14, %rcx
	jle	LBB0_37
LBB0_22:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_26 Depth 2
	testl	%eax, %eax
	jle	LBB0_23
## %bb.25:                              ##   in Loop: Header=BB0_22 Depth=1
	movl	$2, %r13d
	xorl	%ebx, %ebx
	jmp	LBB0_26
	.p2align	4, 0x90
LBB0_29:                                ##   in Loop: Header=BB0_26 Depth=2
	sarl	$3, %eax
	movq	40(%r8), %rcx
	movq	(%rcx), %r8
	movq	8(%rcx), %rcx
	movslq	(%rcx), %rcx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	16(%rdi), %rdi
	addq	%r14, %rdi
	imulq	%rcx, %rdi
	shlq	$2, %rdi
	addq	(%r8), %rdi
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	8(%rcx), %rcx
	addq	%rbx, %rcx
	leaq	(%rdi,%rcx,8), %rdi
	shll	$2, %edx
	andl	$-32, %edx
	orl	%eax, %edx
	andl	$-8, %esi
	shll	$7, %esi
	orl	%edx, %esi
	callq	_AV_WL16
	movq	-48(%rbp), %r8                  ## 8-byte Reload
	movl	24(%r8), %r12d
LBB0_30:                                ##   in Loop: Header=BB0_26 Depth=2
	incq	%rbx
	movslq	%r12d, %rsi
	movq	32(%r8), %rcx
	addq	$3, %r13
	movl	%r12d, %edx
	movl	%r12d, %eax
	cmpq	%rsi, %rbx
	jge	LBB0_24
LBB0_26:                                ##   Parent Loop BB0_22 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	(%r8), %rdi
	leal	(%rax,%rax,2), %eax
	cltq
	addq	%r15, %rcx
	imulq	%rax, %rcx
	addq	%r13, %rcx
	movl	-8(%rdi,%rcx,4), %eax
	movl	-4(%rdi,%rcx,4), %edx
	movl	(%rdi,%rcx,4), %esi
	cmpl	(%rdi), %eax
	jne	LBB0_29
## %bb.27:                              ##   in Loop: Header=BB0_26 Depth=2
	cmpl	4(%rdi), %edx
	jne	LBB0_29
## %bb.28:                              ##   in Loop: Header=BB0_26 Depth=2
	cmpl	8(%rdi), %esi
	jne	LBB0_29
	jmp	LBB0_30
LBB0_31:
	movq	_AV_PIX_FMT_BGR0@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rax
	jne	LBB0_37
## %bb.32:
	testq	%rcx, %rcx
	jle	LBB0_37
## %bb.33:
	leaq	-1(%rcx), %r11
	shlq	$2, %r10
	shlq	$4, %r9
	orq	$8, %r9
	xorl	%esi, %esi
	movl	%r12d, %eax
	jmp	LBB0_34
LBB0_35:                                ##   in Loop: Header=BB0_34 Depth=1
	movl	%eax, %edx
LBB0_36:                                ##   in Loop: Header=BB0_34 Depth=1
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	incq	%rsi
	decq	%r11
	addq	$4, %r10
	movl	%edx, %eax
	cmpq	%rcx, %rsi
	je	LBB0_37
LBB0_34:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_39 Depth 2
	testl	%eax, %eax
	movq	%rsi, -64(%rbp)                 ## 8-byte Spill
	jle	LBB0_35
## %bb.38:                              ##   in Loop: Header=BB0_34 Depth=1
	movl	$2, %esi
	movq	%r9, %rbx
	xorl	%edi, %edi
	jmp	LBB0_39
	.p2align	4, 0x90
LBB0_42:                                ##   in Loop: Header=BB0_39 Depth=2
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	40(%rax), %rdx
	movq	(%rdx), %r12
	movq	8(%rdx), %rdx
	movslq	(%rdx), %rdx
	imulq	%r10, %rdx
	addq	(%r12), %rdx
	movl	%r15d, -8(%rbx,%rdx)
	movl	%r13d, -4(%rbx,%rdx)
	movl	%r8d, (%rbx,%rdx)
	movl	24(%rax), %r12d
LBB0_43:                                ##   in Loop: Header=BB0_39 Depth=2
	incq	%rdi
	movslq	%r12d, %r8
	addq	$3, %rsi
	addq	$16, %rbx
	movl	%r12d, %edx
	movl	%r12d, %eax
	cmpq	%r8, %rdi
	jge	LBB0_36
LBB0_39:                                ##   Parent Loop BB0_34 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	leal	(%rax,%rax,2), %eax
	movslq	%eax, %rdx
	imulq	%r11, %rdx
	addq	%rsi, %rdx
	movl	-8(%r14,%rdx,4), %r8d
	movl	-4(%r14,%rdx,4), %r13d
	movl	(%r14,%rdx,4), %r15d
	cmpl	(%r14), %r8d
	jne	LBB0_42
## %bb.40:                              ##   in Loop: Header=BB0_39 Depth=2
	cmpl	4(%r14), %r13d
	jne	LBB0_42
## %bb.41:                              ##   in Loop: Header=BB0_39 Depth=2
	cmpl	8(%r14), %r15d
	jne	LBB0_42
	jmp	LBB0_43
	.cfi_endproc
                                        ## -- End function
	.comm	_AV_PIX_FMT_PAL8,8,3            ## @AV_PIX_FMT_PAL8
	.comm	_INT_MAX,4,2                    ## @INT_MAX
	.comm	_AV_PIX_FMT_RGB555LE,8,3        ## @AV_PIX_FMT_RGB555LE
	.comm	_AV_PIX_FMT_BGR0,8,3            ## @AV_PIX_FMT_BGR0
	.no_dead_strip	_draw_cursor
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function draw_cursor
_draw_cursor:                           ; @draw_cursor
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x28, x27, [sp, #64]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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
	ldr	x20, [x0, #24]
	ldr	x10, [x20]
	cbz	x10, LBB0_5
; %bb.1:
	ldr	x14, [x20, #8]
	ldr	x9, [x0]
	cmp	x14, x9
	b.ge	LBB0_5
; %bb.2:
	ldr	x13, [x20, #16]
	ldr	x11, [x0, #8]
	cmp	x13, x11
	b.ge	LBB0_5
; %bb.3:
	ldrsw	x8, [x20, #24]
	add	x12, x14, x8
	cmp	x12, x9
	b.gt	LBB0_5
; %bb.4:
	ldr	x9, [x20, #32]
	add	x12, x9, x13
	cmp	x12, x11
	b.le	LBB0_6
LBB0_5:
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
LBB0_6:
	ldr	x11, [x0, #16]
Lloh0:
	adrp	x12, _AV_PIX_FMT_PAL8@GOTPAGE
Lloh1:
	ldr	x12, [x12, _AV_PIX_FMT_PAL8@GOTPAGEOFF]
Lloh2:
	ldr	x12, [x12]
	cmp	x11, x12
	b.ne	LBB0_19
; %bb.7:
	cmp	x9, #1
	b.lt	LBB0_5
; %bb.8:
	stp	x20, xzr, [sp, #8]              ; 16-byte Folded Spill
	ldr	x10, [x20, #40]
	ldr	x10, [x10]
	ldr	x10, [x10, #8]
	add	x10, x10, #8
	str	x10, [sp]                       ; 8-byte Folded Spill
	b	LBB0_10
LBB0_9:                                 ;   in Loop: Header=BB0_10 Depth=1
	ldr	x10, [sp, #16]                  ; 8-byte Folded Reload
	add	x10, x10, #1
	str	x10, [sp, #16]                  ; 8-byte Folded Spill
	cmp	x9, x10
	b.le	LBB0_5
LBB0_10:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_14 Depth 2
                                        ;       Child Loop BB0_18 Depth 3
	cmp	w8, #1
	b.lt	LBB0_9
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	mov	x13, #0
	ldr	x10, [sp, #16]                  ; 8-byte Folded Reload
	mvn	x10, x10
	str	x10, [sp, #24]                  ; 8-byte Folded Spill
	b	LBB0_14
LBB0_12:                                ;   in Loop: Header=BB0_14 Depth=2
	ldp	x8, x13, [sp, #48]              ; 16-byte Folded Reload
	ldr	x9, [sp, #32]                   ; 8-byte Folded Reload
	add	x8, x8, x9, lsl #2
	ldr	x9, [sp, #40]                   ; 8-byte Folded Reload
	str	w22, [x8, x9, lsl #2]
	ldr	x20, [sp, #8]                   ; 8-byte Folded Reload
	ldr	w8, [x20, #24]
LBB0_13:                                ;   in Loop: Header=BB0_14 Depth=2
	add	x13, x13, #1
	ldr	x9, [x20, #32]
	cmp	x13, w8, sxtw
	b.ge	LBB0_9
LBB0_14:                                ;   Parent Loop BB0_10 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_18 Depth 3
	ldr	x10, [x20]
	add	w11, w8, w8, lsl #1
	sxtw	x11, w11
	ldr	x12, [sp, #24]                  ; 8-byte Folded Reload
	add	x9, x9, x12
	add	x12, x13, x13, lsl #1
	madd	x9, x9, x11, x12
	add	x9, x10, x9, lsl #2
	ldp	w26, w27, [x9]
	ldr	w28, [x9, #8]
Lloh3:
	adrp	x9, _INT_MAX@GOTPAGE
Lloh4:
	ldr	x9, [x9, _INT_MAX@GOTPAGEOFF]
Lloh5:
	ldr	w23, [x9]
	ldr	w9, [x10]
	cmp	w26, w9
	b.ne	LBB0_17
; %bb.15:                               ;   in Loop: Header=BB0_14 Depth=2
	ldr	w9, [x10, #4]
	cmp	w27, w9
	b.ne	LBB0_17
; %bb.16:                               ;   in Loop: Header=BB0_14 Depth=2
	ldr	w9, [x10, #8]
	cmp	w28, w9
	b.eq	LBB0_13
LBB0_17:                                ;   in Loop: Header=BB0_14 Depth=2
	mov	x21, #0
	mov	w22, #0
	ldr	x8, [x20, #40]
	ldp	x9, x8, [x8]
	ldr	x9, [x9]
	stp	x9, x13, [sp, #48]              ; 16-byte Folded Spill
	ldrsw	x8, [x8]
	ldp	x10, x9, [x20, #8]
	ldr	x11, [sp, #16]                  ; 8-byte Folded Reload
	add	x9, x9, x11
	mul	x11, x9, x8
	add	x8, x10, x13
	stp	x11, x8, [sp, #32]              ; 16-byte Folded Spill
	ldr	x20, [sp]                       ; 8-byte Folded Reload
LBB0_18:                                ;   Parent Loop BB0_10 Depth=1
                                        ;     Parent Loop BB0_14 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	ldp	w8, w25, [x20, #-8]
	ldr	w24, [x20], #16
	sub	w0, w26, w8
	bl	_FFABS
	mov	x19, x0
	sub	w0, w27, w25
	bl	_FFABS
	add	w19, w0, w19
	sub	w0, w28, w24
	bl	_FFABS
	add	w8, w19, w0
	cmp	w8, w23
	csel	w22, w21, w22, lt
	csel	w23, w8, w23, lt
	add	x21, x21, #1
	cmp	x21, #256
	b.ne	LBB0_18
	b	LBB0_12
LBB0_19:
Lloh6:
	adrp	x12, _AV_PIX_FMT_RGB555LE@GOTPAGE
Lloh7:
	ldr	x12, [x12, _AV_PIX_FMT_RGB555LE@GOTPAGEOFF]
Lloh8:
	ldr	x12, [x12]
	cmp	x11, x12
	b.ne	LBB0_30
; %bb.20:
	cmp	x9, #1
	b.lt	LBB0_5
; %bb.21:
	mov	x19, #0
	mov	x21, #-1
	b	LBB0_23
LBB0_22:                                ;   in Loop: Header=BB0_23 Depth=1
	add	x19, x19, #1
	sub	x21, x21, #1
	cmp	x9, x19
	b.le	LBB0_5
LBB0_23:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_27 Depth 2
	cmp	w8, #1
	b.lt	LBB0_22
; %bb.24:                               ;   in Loop: Header=BB0_23 Depth=1
	mov	x22, #0
	mov	w23, #2
	b	LBB0_27
LBB0_25:                                ;   in Loop: Header=BB0_27 Depth=2
	ldr	x8, [x20, #40]
	ldp	x12, x8, [x8]
	ldrsw	x8, [x8]
	ldp	x14, x13, [x20, #8]
	add	x13, x13, x19
	mul	x8, x13, x8
	ldr	x12, [x12]
	add	x8, x12, x8, lsl #2
	add	x12, x22, x14
	add	x0, x8, x12, lsl #3
	lsl	w8, w11, #2
	and	w8, w8, #0xffffffe0
	orr	w8, w8, w9, asr #3
	lsl	w9, w10, #7
	and	w9, w9, #0xfffffc00
	orr	w1, w8, w9
	bl	_AV_WL16
	ldr	w8, [x20, #24]
LBB0_26:                                ;   in Loop: Header=BB0_27 Depth=2
	add	x22, x22, #1
	ldr	x9, [x20, #32]
	add	x23, x23, #3
	cmp	x22, w8, sxtw
	b.ge	LBB0_22
LBB0_27:                                ;   Parent Loop BB0_23 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x12, [x20]
	add	w10, w8, w8, lsl #1
	sxtw	x10, w10
	add	x9, x21, x9
	madd	x9, x9, x10, x23
	add	x10, x12, x9, lsl #2
	ldp	w9, w11, [x10, #-8]
	ldr	w10, [x10]
	ldr	w13, [x12]
	cmp	w9, w13
	b.ne	LBB0_25
; %bb.28:                               ;   in Loop: Header=BB0_27 Depth=2
	ldr	w13, [x12, #4]
	cmp	w11, w13
	b.ne	LBB0_25
; %bb.29:                               ;   in Loop: Header=BB0_27 Depth=2
	ldr	w12, [x12, #8]
	cmp	w10, w12
	b.ne	LBB0_25
	b	LBB0_26
LBB0_30:
Lloh9:
	adrp	x12, _AV_PIX_FMT_BGR0@GOTPAGE
Lloh10:
	ldr	x12, [x12, _AV_PIX_FMT_BGR0@GOTPAGEOFF]
Lloh11:
	ldr	x12, [x12]
	cmp	x11, x12
	ccmp	x9, #1, #8, eq
	b.lt	LBB0_5
; %bb.31:
	mov	x11, #0
	sub	x12, x9, #1
	lsl	x13, x13, #2
	lsl	x14, x14, #4
	b	LBB0_33
LBB0_32:                                ;   in Loop: Header=BB0_33 Depth=1
	add	x11, x11, #1
	sub	x12, x12, #1
	add	x13, x13, #4
	cmp	x11, x9
	b.eq	LBB0_5
LBB0_33:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_37 Depth 2
	cmp	w8, #1
	b.lt	LBB0_32
; %bb.34:                               ;   in Loop: Header=BB0_33 Depth=1
	mov	x15, #0
	mov	x16, x14
	mov	w17, #2
	b	LBB0_37
LBB0_35:                                ;   in Loop: Header=BB0_37 Depth=2
	ldr	x8, [x20, #40]
	ldp	x3, x8, [x8]
	ldr	x3, [x3]
	ldrsw	x8, [x8]
	madd	x8, x13, x8, x3
	add	x8, x8, x16
	stp	w2, w1, [x8]
	str	w0, [x8, #8]
	ldr	w8, [x20, #24]
LBB0_36:                                ;   in Loop: Header=BB0_37 Depth=2
	add	x15, x15, #1
	add	x17, x17, #3
	add	x16, x16, #16
	cmp	x15, w8, sxtw
	b.ge	LBB0_32
LBB0_37:                                ;   Parent Loop BB0_33 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	add	w0, w8, w8, lsl #1
	sxtw	x0, w0
	madd	x0, x12, x0, x17
	add	x2, x10, x0, lsl #2
	ldp	w0, w1, [x2, #-8]
	ldr	w2, [x2]
	ldr	w3, [x10]
	cmp	w0, w3
	b.ne	LBB0_35
; %bb.38:                               ;   in Loop: Header=BB0_37 Depth=2
	ldr	w3, [x10, #4]
	cmp	w1, w3
	b.ne	LBB0_35
; %bb.39:                               ;   in Loop: Header=BB0_37 Depth=2
	ldr	w3, [x10, #8]
	cmp	w2, w3
	b.ne	LBB0_35
	b	LBB0_36
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_AV_PIX_FMT_PAL8,8,3            ; @AV_PIX_FMT_PAL8
	.comm	_INT_MAX,4,2                    ; @INT_MAX
	.comm	_AV_PIX_FMT_RGB555LE,8,3        ; @AV_PIX_FMT_RGB555LE
	.comm	_AV_PIX_FMT_BGR0,8,3            ; @AV_PIX_FMT_BGR0
	.no_dead_strip	_draw_cursor
.subsections_via_symbols
