	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function tdsc_load_cursor
LCPI0_0:
	.long	255                             ## 0xff
	.long	255                             ## 0xff
	.long	255                             ## 0xff
	.long	255                             ## 0xff
LCPI0_1:
	.long	255                             ## 0xff
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_tdsc_load_cursor:                      ## @tdsc_load_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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	16(%rdi), %r15
	leaq	40(%r15), %r12
	movq	%r12, %rdi
	callq	_bytestream2_get_le16
	movl	%eax, (%r15)
	movq	%r12, %rdi
	callq	_bytestream2_get_le16
	movl	%eax, 4(%r15)
	movq	%r12, %rdi
	callq	_bytestream2_get_le16
	movl	%eax, 8(%r15)
	movq	%r12, %rdi
	callq	_bytestream2_get_le16
	movl	%eax, 12(%r15)
	movl	8(%r15), %edi
	movl	$32, %esi
	callq	_FFALIGN
	shll	$2, %eax
	movl	%eax, 16(%r15)
	movq	%r12, %rdi
	callq	_bytestream2_get_le32
	movl	44(%r15), %ecx
	movl	8(%r14), %r9d
	movq	24(%r15), %r8
	movq	(%r14), %rdi
	cmpl	%r9d, %ecx
	jge	LBB0_18
## %bb.1:
	cmpq	%rdi, %r8
	jge	LBB0_18
## %bb.2:
	movl	8(%r15), %ecx
	movl	12(%r15), %ebx
	leal	-257(%rcx), %edx
	cmpl	$-256, %edx
	jb	LBB0_19
## %bb.3:
	leal	-257(%rbx), %edx
	cmpl	$-257, %edx                     ## imm = 0xFEFF
	jbe	LBB0_19
## %bb.4:
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	(%r15), %eax
	movl	4(%r15), %r8d
	cmpl	%ecx, %eax
	jg	LBB0_6
## %bb.5:
	cmpl	%ebx, %r8d
	jle	LBB0_7
LBB0_6:
	movq	_AV_LOG_WARNING@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	leaq	L_.str.2(%rip), %rdx
	movq	%r14, %rdi
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_av_log
	movl	(%r15), %edi
	movl	8(%r15), %esi
	decl	%esi
	callq	_FFMIN
	movl	%eax, (%r15)
	movl	4(%r15), %edi
	movl	12(%r15), %esi
	decl	%esi
	callq	_FFMIN
	movl	%eax, 4(%r15)
	movl	12(%r15), %ebx
LBB0_7:
	leaq	32(%r15), %rdi
	imull	16(%r15), %ebx
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	movl	%ebx, %esi
	callq	_av_reallocp
	testl	%eax, %eax
	js	LBB0_23
## %bb.8:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rbx
	movl	-44(%rbp), %r13d                ## 4-byte Reload
	cmpl	$128, %r13d
	je	LBB0_24
## %bb.9:
	cmpl	$130, %r13d
	je	LBB0_24
## %bb.10:
	cmpl	$129, %r13d
	jne	LBB0_32
## %bb.11:
	movl	12(%r15), %eax
	testl	%eax, %eax
	jle	LBB0_54
## %bb.12:
	movl	8(%r15), %ecx
	xorl	%r14d, %r14d
	jmp	LBB0_14
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_14 Depth=1
	movl	16(%r15), %edx
	leal	(,%rcx,4), %esi
	subl	%esi, %edx
	movslq	%edx, %rdx
	leaq	(%rbx,%rdx,4), %rbx
	incl	%r14d
	cmpl	%eax, %r14d
	jge	LBB0_40
LBB0_14:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_16 Depth 2
	testl	%ecx, %ecx
	jle	LBB0_13
## %bb.15:                              ##   in Loop: Header=BB0_14 Depth=1
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_16:                                ##   Parent Loop BB0_14 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%r12, %rdi
	callq	_bytestream2_get_be32
	movl	%eax, %ecx
	shrl	$31, %ecx
	movl	%ecx, (%rbx)
	movl	%eax, %ecx
	shrl	$30, %ecx
	andl	$1, %ecx
	movl	%ecx, 16(%rbx)
	movl	%eax, %ecx
	shrl	$29, %ecx
	andl	$1, %ecx
	movl	%ecx, 32(%rbx)
	movl	%eax, %ecx
	shrl	$28, %ecx
	andl	$1, %ecx
	movl	%ecx, 48(%rbx)
	movl	%eax, %ecx
	shrl	$27, %ecx
	andl	$1, %ecx
	movl	%ecx, 64(%rbx)
	movl	%eax, %ecx
	shrl	$26, %ecx
	andl	$1, %ecx
	movl	%ecx, 80(%rbx)
	movl	%eax, %ecx
	shrl	$25, %ecx
	andl	$1, %ecx
	movl	%ecx, 96(%rbx)
	movl	%eax, %ecx
	shrl	$24, %ecx
	andl	$1, %ecx
	movl	%ecx, 112(%rbx)
	movl	%eax, %ecx
	shrl	$23, %ecx
	andl	$1, %ecx
	movl	%ecx, 128(%rbx)
	movl	%eax, %ecx
	shrl	$22, %ecx
	andl	$1, %ecx
	movl	%ecx, 144(%rbx)
	movl	%eax, %ecx
	shrl	$21, %ecx
	andl	$1, %ecx
	movl	%ecx, 160(%rbx)
	movl	%eax, %ecx
	shrl	$20, %ecx
	andl	$1, %ecx
	movl	%ecx, 176(%rbx)
	movl	%eax, %ecx
	shrl	$19, %ecx
	andl	$1, %ecx
	movl	%ecx, 192(%rbx)
	movl	%eax, %ecx
	shrl	$18, %ecx
	andl	$1, %ecx
	movl	%ecx, 208(%rbx)
	movl	%eax, %ecx
	shrl	$17, %ecx
	andl	$1, %ecx
	movl	%ecx, 224(%rbx)
	movl	%eax, %ecx
	shrl	$16, %ecx
	andl	$1, %ecx
	movl	%ecx, 240(%rbx)
	movl	%eax, %ecx
	shrl	$15, %ecx
	andl	$1, %ecx
	movl	%ecx, 256(%rbx)
	movl	%eax, %ecx
	shrl	$14, %ecx
	andl	$1, %ecx
	movl	%ecx, 272(%rbx)
	movl	%eax, %ecx
	shrl	$13, %ecx
	andl	$1, %ecx
	movl	%ecx, 288(%rbx)
	movl	%eax, %ecx
	shrl	$12, %ecx
	andl	$1, %ecx
	movl	%ecx, 304(%rbx)
	movl	%eax, %ecx
	shrl	$11, %ecx
	andl	$1, %ecx
	movl	%ecx, 320(%rbx)
	movl	%eax, %ecx
	shrl	$10, %ecx
	andl	$1, %ecx
	movl	%ecx, 336(%rbx)
	movl	%eax, %ecx
	shrl	$9, %ecx
	andl	$1, %ecx
	movl	%ecx, 352(%rbx)
	movl	%eax, %ecx
	shrl	$8, %ecx
	andl	$1, %ecx
	movl	%ecx, 368(%rbx)
	movl	%eax, %ecx
	shrl	$7, %ecx
	andl	$1, %ecx
	movl	%ecx, 384(%rbx)
	movl	%eax, %ecx
	shrl	$6, %ecx
	andl	$1, %ecx
	movl	%ecx, 400(%rbx)
	movl	%eax, %ecx
	shrl	$5, %ecx
	andl	$1, %ecx
	movl	%ecx, 416(%rbx)
	movl	%eax, %ecx
	shrl	$4, %ecx
	andl	$1, %ecx
	movl	%ecx, 432(%rbx)
	movl	%eax, %ecx
	shrl	$3, %ecx
	andl	$1, %ecx
	movl	%ecx, 448(%rbx)
	movl	%eax, %ecx
	shrl	$2, %ecx
	andl	$1, %ecx
	movl	%ecx, 464(%rbx)
	movl	%eax, %ecx
	shrl	%ecx
	andl	$1, %ecx
	movl	%ecx, 480(%rbx)
	andl	$1, %eax
	movl	%eax, 496(%rbx)
	addq	$512, %rbx                      ## imm = 0x200
	addl	$32, %r13d
	movl	8(%r15), %ecx
	cmpl	%ecx, %r13d
	jl	LBB0_16
## %bb.17:                              ##   in Loop: Header=BB0_14 Depth=1
	movl	12(%r15), %eax
	jmp	LBB0_13
LBB0_18:
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rdx
	movl	(%rdx), %esi
	movq	%rdi, (%rsp)
	leaq	L_.str(%rip), %rdx
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_av_log
	jmp	LBB0_20
LBB0_19:
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.1(%rip), %rdx
	movq	%r14, %rdi
                                        ## kill: def $ecx killed $ecx killed $rcx
	movl	%ebx, %r8d
	xorl	%eax, %eax
	callq	_av_log
LBB0_20:
	movq	_AVERROR_INVALIDDATA@GOTPCREL(%rip), %rax
LBB0_21:
	movl	(%rax), %r13d
LBB0_22:
	movl	%r13d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_23:
	movl	%eax, %r13d
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.3(%rip), %rdx
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_av_log
	jmp	LBB0_22
LBB0_24:
	movl	8(%r15), %edi
	movl	12(%r15), %r14d
	movl	$32, %esi
	callq	_FFALIGN
	sarl	$3, %eax
	imull	%eax, %r14d
	movq	%r12, %rdi
	movl	%r14d, %esi
	callq	_bytestream2_skip
	movl	12(%r15), %eax
	testb	$8, %r13b
	jne	LBB0_33
## %bb.25:
	testl	%eax, %eax
	jle	LBB0_54
## %bb.26:
	movl	8(%r15), %ecx
	xorl	%r14d, %r14d
	jmp	LBB0_28
	.p2align	4, 0x90
LBB0_27:                                ##   in Loop: Header=BB0_28 Depth=1
	movl	16(%r15), %edx
	leal	(,%rcx,4), %esi
	subl	%esi, %edx
	movslq	%edx, %rdx
	leaq	(%rbx,%rdx,4), %rbx
	incl	%r14d
	xorl	%r13d, %r13d
	cmpl	%eax, %r14d
	jge	LBB0_22
LBB0_28:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_30 Depth 2
	testl	%ecx, %ecx
	jle	LBB0_27
## %bb.29:                              ##   in Loop: Header=BB0_28 Depth=1
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_30:                                ##   Parent Loop BB0_28 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%r12, %rdi
	callq	_bytestream2_get_be32
	movl	%eax, (%rbx)
	movl	%eax, %ecx
	sarl	$24, %ecx
	movl	%ecx, 4(%rbx)
	movl	%eax, %ecx
	sarl	$16, %ecx
	movl	%ecx, 8(%rbx)
	sarl	$8, %eax
	movl	%eax, 12(%rbx)
	addq	$16, %rbx
	incl	%r13d
	movl	8(%r15), %ecx
	cmpl	%ecx, %r13d
	jl	LBB0_30
## %bb.31:                              ##   in Loop: Header=BB0_28 Depth=1
	movl	12(%r15), %eax
	jmp	LBB0_27
LBB0_32:
	leaq	L_.str.4(%rip), %rsi
	movq	%r14, %rdi
	movl	%r13d, %edx
	callq	_avpriv_request_sample
	movq	_AVERROR_PATCHWELCOME@GOTPCREL(%rip), %rax
	jmp	LBB0_21
LBB0_33:
	testl	%eax, %eax
	jle	LBB0_54
## %bb.34:
	movl	8(%r15), %ecx
	xorl	%r14d, %r14d
	jmp	LBB0_36
	.p2align	4, 0x90
LBB0_35:                                ##   in Loop: Header=BB0_36 Depth=1
	movl	16(%r15), %edx
	leal	(,%rcx,4), %esi
	subl	%esi, %edx
	movslq	%edx, %rdx
	leaq	(%rbx,%rdx,4), %rbx
	incl	%r14d
	xorl	%r13d, %r13d
	cmpl	%eax, %r14d
	jge	LBB0_22
LBB0_36:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_38 Depth 2
	testl	%ecx, %ecx
	jle	LBB0_35
## %bb.37:                              ##   in Loop: Header=BB0_36 Depth=1
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_38:                                ##   Parent Loop BB0_36 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%r12, %rdi
	callq	_bytestream2_get_be32
	movl	%eax, %ecx
	sarl	$24, %ecx
	movl	%ecx, (%rbx)
	movl	%eax, %ecx
	sarl	$16, %ecx
	movl	%ecx, 4(%rbx)
	movl	%eax, %ecx
	sarl	$8, %ecx
	movl	%ecx, 8(%rbx)
	movl	%eax, 12(%rbx)
	addq	$16, %rbx
	incl	%r13d
	movl	8(%r15), %ecx
	cmpl	%ecx, %r13d
	jl	LBB0_38
## %bb.39:                              ##   in Loop: Header=BB0_36 Depth=1
	movl	12(%r15), %eax
	jmp	LBB0_35
LBB0_40:
	testl	%eax, %eax
	jle	LBB0_54
## %bb.41:
	movq	32(%r15), %rdx
	movl	8(%r15), %ecx
	xorl	%r14d, %r14d
	jmp	LBB0_44
	.p2align	4, 0x90
LBB0_42:                                ##   in Loop: Header=BB0_44 Depth=1
	movl	12(%r15), %eax
	addq	%rsi, %rbx
	movq	%rbx, %rdx
LBB0_43:                                ##   in Loop: Header=BB0_44 Depth=1
	movl	16(%r15), %esi
	leal	(,%rcx,4), %edi
	subl	%edi, %esi
	movslq	%esi, %rsi
	leaq	(%rdx,%rsi,4), %rdx
	incl	%r14d
	xorl	%r13d, %r13d
	cmpl	%eax, %r14d
	jge	LBB0_22
LBB0_44:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_47 Depth 2
                                        ##       Child Loop BB0_50 Depth 3
	testl	%ecx, %ecx
	jle	LBB0_43
## %bb.45:                              ##   in Loop: Header=BB0_44 Depth=1
	xorl	%r13d, %r13d
	jmp	LBB0_47
	.p2align	4, 0x90
LBB0_46:                                ##   in Loop: Header=BB0_47 Depth=2
	addl	$32, %r13d
	movl	8(%r15), %ecx
	leaq	(%rbx,%rsi), %rdx
	cmpl	%ecx, %r13d
	jge	LBB0_42
LBB0_47:                                ##   Parent Loop BB0_44 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_50 Depth 3
	movq	%rdx, %rbx
	movq	%r12, %rdi
	callq	_bytestream2_get_be32
	xorps	%xmm2, %xmm2
	movaps	LCPI0_1(%rip), %xmm1            ## xmm1 = [255,0,0,0]
	movaps	LCPI0_0(%rip), %xmm0            ## xmm0 = [255,255,255,255]
	xorl	%esi, %esi
	jmp	LBB0_50
	.p2align	4, 0x90
LBB0_48:                                ##   in Loop: Header=BB0_50 Depth=3
	movups	%xmm2, (%rbx,%rsi)
LBB0_49:                                ##   in Loop: Header=BB0_50 Depth=3
	addl	%eax, %eax
	addq	$16, %rsi
	cmpl	$512, %esi                      ## imm = 0x200
	je	LBB0_46
LBB0_50:                                ##   Parent Loop BB0_44 Depth=1
                                        ##     Parent Loop BB0_47 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movl	(%rbx,%rsi), %ecx
	shldl	$1, %eax, %ecx
	cmpl	$1, %ecx
	je	LBB0_53
## %bb.51:                              ##   in Loop: Header=BB0_50 Depth=3
	testl	%ecx, %ecx
	jne	LBB0_48
## %bb.52:                              ##   in Loop: Header=BB0_50 Depth=3
	movups	%xmm1, (%rbx,%rsi)
	jmp	LBB0_49
	.p2align	4, 0x90
LBB0_53:                                ##   in Loop: Header=BB0_50 Depth=3
	movups	%xmm0, (%rbx,%rsi)
	jmp	LBB0_49
LBB0_54:
	xorl	%r13d, %r13d
	jmp	LBB0_22
	.cfi_endproc
                                        ## -- End function
	.comm	_AV_LOG_ERROR,4,2               ## @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Invalid cursor position (%d.%d outside %dx%d).\n"

	.comm	_AVERROR_INVALIDDATA,4,2        ## @AVERROR_INVALIDDATA
L_.str.1:                               ## @.str.1
	.asciz	"Invalid cursor dimensions %dx%d.\n"

	.comm	_AV_LOG_WARNING,4,2             ## @AV_LOG_WARNING
L_.str.2:                               ## @.str.2
	.asciz	"Invalid hotspot position %d.%d.\n"

L_.str.3:                               ## @.str.3
	.asciz	"Cannot allocate cursor buffer.\n"

L_.str.4:                               ## @.str.4
	.asciz	"Cursor format %08x"

	.comm	_AVERROR_PATCHWELCOME,4,2       ## @AVERROR_PATCHWELCOME
	.no_dead_strip	_tdsc_load_cursor
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function tdsc_load_cursor
lCPI0_0:
	.long	4294967272                      ; 0xffffffe8
	.long	4294967280                      ; 0xfffffff0
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4
lCPI0_1:
	.long	255                             ; 0xff
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_tdsc_load_cursor:                      ; @tdsc_load_cursor
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	d9, d8, [sp, #48]               ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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 b8, -72
	.cfi_offset b9, -80
	mov	x20, x0
	ldr	x24, [x0, #16]
	add	x19, x24, #40
	mov	x0, x19
	bl	_bytestream2_get_le16
	str	w0, [x24]
	mov	x0, x19
	bl	_bytestream2_get_le16
	str	w0, [x24, #4]
	mov	x0, x19
	bl	_bytestream2_get_le16
	str	w0, [x24, #8]
	mov	x0, x19
	bl	_bytestream2_get_le16
	str	w0, [x24, #12]
	ldr	w0, [x24, #8]
	mov	w1, #32
	bl	_FFALIGN
	lsl	w8, w0, #2
	str	w8, [x24, #16]
	mov	x0, x19
	bl	_bytestream2_get_le32
	ldr	w8, [x24, #44]
	ldr	w10, [x20, #8]
	ldr	x9, [x24, #24]
	ldr	x11, [x20]
	cmp	w8, w10
	ccmp	x9, x11, #0, lt
	b.lt	LBB0_2
; %bb.1:
Lloh0:
	adrp	x12, _AV_LOG_ERROR@GOTPAGE
Lloh1:
	ldr	x12, [x12, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x12]
	stp	x10, x11, [sp, #16]
	stp	x8, x9, [sp]
Lloh3:
	adrp	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
	b	LBB0_18
LBB0_2:
	ldp	w9, w8, [x24, #8]
	sub	w10, w9, #257
	cmn	w10, #256
	b.lo	LBB0_17
; %bb.3:
	sub	w10, w8, #257
	cmn	w10, #257
	b.ls	LBB0_17
; %bb.4:
	mov	x21, x0
	ldp	w10, w11, [x24]
	cmp	w10, w9
	ccmp	w11, w8, #0, le
	b.le	LBB0_6
; %bb.5:
Lloh5:
	adrp	x8, _AV_LOG_WARNING@GOTPAGE
Lloh6:
	ldr	x8, [x8, _AV_LOG_WARNING@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	stp	x10, x11, [sp]
Lloh8:
	adrp	x2, l_.str.2@PAGE
Lloh9:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	x0, x20
	bl	_av_log
	ldr	w0, [x24]
	ldr	w8, [x24, #8]
	sub	w1, w8, #1
	bl	_FFMIN
	str	w0, [x24]
	ldr	w0, [x24, #4]
	ldr	w8, [x24, #12]
	sub	w1, w8, #1
	bl	_FFMIN
	str	w0, [x24, #4]
	ldr	w8, [x24, #12]
LBB0_6:
	add	x23, x24, #32
	ldr	w9, [x24, #16]
	mul	w1, w8, w9
	mov	x0, x23
	bl	_av_reallocp
	tbnz	w0, #31, LBB0_21
; %bb.7:
	ldr	x23, [x23]
	cmp	w21, #128
	b.eq	LBB0_22
; %bb.8:
	cmp	w21, #130
	b.eq	LBB0_22
; %bb.9:
	cmp	w21, #129
	b.ne	LBB0_30
; %bb.10:
	ldr	w8, [x24, #12]
	cmp	w8, #1
	b.lt	LBB0_52
; %bb.11:
	mov	w20, #0
	ldr	w9, [x24, #8]
	b	LBB0_13
LBB0_12:                                ;   in Loop: Header=BB0_13 Depth=1
	ldr	w10, [x24, #16]
	sub	w10, w10, w9, lsl #2
	add	x23, x23, w10, sxtw #2
	add	w20, w20, #1
	cmp	w20, w8
	b.ge	LBB0_38
LBB0_13:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_15 Depth 2
	cmp	w9, #1
	b.lt	LBB0_12
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=1
	mov	w21, #0
LBB0_15:                                ;   Parent Loop BB0_13 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x0, x19
	bl	_bytestream2_get_be32
	lsr	w8, w0, #31
	str	w8, [x23]
	ubfx	w8, w0, #30, #1
	str	w8, [x23, #16]
	ubfx	w8, w0, #29, #1
	str	w8, [x23, #32]
	ubfx	w8, w0, #28, #1
	str	w8, [x23, #48]
	ubfx	w8, w0, #27, #1
	str	w8, [x23, #64]
	ubfx	w8, w0, #26, #1
	str	w8, [x23, #80]
	ubfx	w8, w0, #25, #1
	str	w8, [x23, #96]
	ubfx	w8, w0, #24, #1
	str	w8, [x23, #112]
	ubfx	w8, w0, #23, #1
	str	w8, [x23, #128]
	ubfx	w8, w0, #22, #1
	str	w8, [x23, #144]
	ubfx	w8, w0, #21, #1
	str	w8, [x23, #160]
	ubfx	w8, w0, #20, #1
	str	w8, [x23, #176]
	ubfx	w8, w0, #19, #1
	str	w8, [x23, #192]
	ubfx	w8, w0, #18, #1
	str	w8, [x23, #208]
	ubfx	w8, w0, #17, #1
	str	w8, [x23, #224]
	ubfx	w8, w0, #16, #1
	str	w8, [x23, #240]
	ubfx	w8, w0, #15, #1
	str	w8, [x23, #256]
	ubfx	w8, w0, #14, #1
	str	w8, [x23, #272]
	ubfx	w8, w0, #13, #1
	str	w8, [x23, #288]
	ubfx	w8, w0, #12, #1
	str	w8, [x23, #304]
	ubfx	w8, w0, #11, #1
	str	w8, [x23, #320]
	ubfx	w8, w0, #10, #1
	str	w8, [x23, #336]
	ubfx	w8, w0, #9, #1
	str	w8, [x23, #352]
	ubfx	w8, w0, #8, #1
	str	w8, [x23, #368]
	ubfx	w8, w0, #7, #1
	str	w8, [x23, #384]
	ubfx	w8, w0, #6, #1
	str	w8, [x23, #400]
	ubfx	w8, w0, #5, #1
	str	w8, [x23, #416]
	ubfx	w8, w0, #4, #1
	str	w8, [x23, #432]
	ubfx	w8, w0, #3, #1
	str	w8, [x23, #448]
	ubfx	w8, w0, #2, #1
	str	w8, [x23, #464]
	ubfx	w8, w0, #1, #1
	str	w8, [x23, #480]
	and	w8, w0, #0x1
	str	w8, [x23, #496]
	add	x23, x23, #512
	add	w21, w21, #32
	ldr	w9, [x24, #8]
	cmp	w21, w9
	b.lt	LBB0_15
; %bb.16:                               ;   in Loop: Header=BB0_13 Depth=1
	ldr	w8, [x24, #12]
	b	LBB0_12
LBB0_17:
Lloh10:
	adrp	x10, _AV_LOG_ERROR@GOTPAGE
Lloh11:
	ldr	x10, [x10, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x10]
	stp	x9, x8, [sp]
Lloh13:
	adrp	x2, l_.str.1@PAGE
Lloh14:
	add	x2, x2, l_.str.1@PAGEOFF
LBB0_18:
	mov	x0, x20
	bl	_av_log
Lloh15:
	adrp	x8, _AVERROR_INVALIDDATA@GOTPAGE
Lloh16:
	ldr	x8, [x8, _AVERROR_INVALIDDATA@GOTPAGEOFF]
LBB0_19:
	ldr	w22, [x8]
LBB0_20:
	mov	x0, x22
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #48]               ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_21:
	mov	x22, x0
Lloh17:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh18:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
Lloh20:
	adrp	x2, l_.str.3@PAGE
Lloh21:
	add	x2, x2, l_.str.3@PAGEOFF
	mov	x0, x20
	bl	_av_log
	b	LBB0_20
LBB0_22:
	ldp	w0, w20, [x24, #8]
	mov	w1, #32
	bl	_FFALIGN
	asr	w8, w0, #3
	mul	w1, w8, w20
	mov	x0, x19
	bl	_bytestream2_skip
	ldr	w8, [x24, #12]
	cmp	w8, #1
	tbnz	w21, #3, LBB0_31
; %bb.23:
	b.lt	LBB0_52
; %bb.24:
	mov	w20, #0
	ldr	w9, [x24, #8]
Lloh22:
	adrp	x10, lCPI0_0@PAGE
Lloh23:
	ldr	d8, [x10, lCPI0_0@PAGEOFF]
	b	LBB0_26
LBB0_25:                                ;   in Loop: Header=BB0_26 Depth=1
	mov	w22, #0
	ldr	w10, [x24, #16]
	sub	w10, w10, w9, lsl #2
	add	x23, x23, w10, sxtw #2
	add	w20, w20, #1
	cmp	w20, w8
	b.ge	LBB0_20
LBB0_26:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_28 Depth 2
	cmp	w9, #1
	b.lt	LBB0_25
; %bb.27:                               ;   in Loop: Header=BB0_26 Depth=1
	mov	w21, #0
LBB0_28:                                ;   Parent Loop BB0_26 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x0, x19
	bl	_bytestream2_get_be32
	str	w0, [x23]
	dup.2s	v0, w0
	sshl.2s	v0, v0, v8
	stur	d0, [x23, #4]
	asr	w8, w0, #8
	add	x10, x23, #16
	str	w8, [x23, #12]
	add	w21, w21, #1
	ldr	w9, [x24, #8]
	mov	x23, x10
	cmp	w21, w9
	b.lt	LBB0_28
; %bb.29:                               ;   in Loop: Header=BB0_26 Depth=1
	ldr	w8, [x24, #12]
	mov	x23, x10
	b	LBB0_25
LBB0_30:
Lloh24:
	adrp	x1, l_.str.4@PAGE
Lloh25:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x20
	mov	x2, x21
	bl	_avpriv_request_sample
Lloh26:
	adrp	x8, _AVERROR_PATCHWELCOME@GOTPAGE
Lloh27:
	ldr	x8, [x8, _AVERROR_PATCHWELCOME@GOTPAGEOFF]
	b	LBB0_19
LBB0_31:
	b.lt	LBB0_52
; %bb.32:
	mov	w20, #0
	ldr	w9, [x24, #8]
Lloh28:
	adrp	x10, lCPI0_0@PAGE
Lloh29:
	ldr	d8, [x10, lCPI0_0@PAGEOFF]
	b	LBB0_34
LBB0_33:                                ;   in Loop: Header=BB0_34 Depth=1
	mov	w22, #0
	ldr	w10, [x24, #16]
	sub	w10, w10, w9, lsl #2
	add	x23, x23, w10, sxtw #2
	add	w20, w20, #1
	cmp	w20, w8
	b.ge	LBB0_20
LBB0_34:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_36 Depth 2
	cmp	w9, #1
	b.lt	LBB0_33
; %bb.35:                               ;   in Loop: Header=BB0_34 Depth=1
	mov	w21, #0
LBB0_36:                                ;   Parent Loop BB0_34 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x0, x19
	bl	_bytestream2_get_be32
	dup.2s	v0, w0
	sshl.2s	v0, v0, v8
	str	d0, [x23]
	asr	w8, w0, #8
	add	x10, x23, #16
	stp	w8, w0, [x23, #8]
	add	w21, w21, #1
	ldr	w9, [x24, #8]
	mov	x23, x10
	cmp	w21, w9
	b.lt	LBB0_36
; %bb.37:                               ;   in Loop: Header=BB0_34 Depth=1
	ldr	w8, [x24, #12]
	mov	x23, x10
	b	LBB0_33
LBB0_38:
	cmp	w8, #1
	b.lt	LBB0_52
; %bb.39:
	mov	w20, #0
	ldr	x21, [x24, #32]
	ldr	w9, [x24, #8]
Lloh30:
	adrp	x10, lCPI0_1@PAGE
Lloh31:
	ldr	q1, [x10, lCPI0_1@PAGEOFF]
	str	q1, [sp, #32]                   ; 16-byte Folded Spill
	b	LBB0_42
LBB0_40:                                ;   in Loop: Header=BB0_42 Depth=1
	ldr	w8, [x24, #12]
LBB0_41:                                ;   in Loop: Header=BB0_42 Depth=1
	mov	w22, #0
	ldr	w10, [x24, #16]
	sub	w10, w10, w9, lsl #2
	add	x21, x21, w10, sxtw #2
	add	w20, w20, #1
	cmp	w20, w8
	b.ge	LBB0_20
LBB0_42:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_45 Depth 2
                                        ;       Child Loop BB0_48 Depth 3
	cmp	w9, #1
	b.lt	LBB0_41
; %bb.43:                               ;   in Loop: Header=BB0_42 Depth=1
	mov	w22, #0
	b	LBB0_45
LBB0_44:                                ;   in Loop: Header=BB0_45 Depth=2
	add	w22, w22, #32
	ldr	w9, [x24, #8]
	add	x21, x21, x8
	cmp	w22, w9
	b.ge	LBB0_40
LBB0_45:                                ;   Parent Loop BB0_42 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_48 Depth 3
	mov	x0, x19
	bl	_bytestream2_get_be32
	ldr	q1, [sp, #32]                   ; 16-byte Folded Reload
	movi.2d	v0, #0x0000ff000000ff
	mov	x8, #0
	b	LBB0_48
LBB0_46:                                ;   in Loop: Header=BB0_48 Depth=3
	add	x9, x21, x8
	stp	xzr, xzr, [x9]
LBB0_47:                                ;   in Loop: Header=BB0_48 Depth=3
	lsl	w0, w0, #1
	add	x8, x8, #16
	cmp	w8, #512
	b.eq	LBB0_44
LBB0_48:                                ;   Parent Loop BB0_42 Depth=1
                                        ;     Parent Loop BB0_45 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	ldr	w9, [x21, x8]
	extr	w9, w9, w0, #31
	cmp	w9, #1
	b.eq	LBB0_51
; %bb.49:                               ;   in Loop: Header=BB0_48 Depth=3
	cbnz	w9, LBB0_46
; %bb.50:                               ;   in Loop: Header=BB0_48 Depth=3
	str	q1, [x21, x8]
	b	LBB0_47
LBB0_51:                                ;   in Loop: Header=BB0_48 Depth=3
	str	q0, [x21, x8]
	b	LBB0_47
LBB0_52:
	mov	w22, #0
	b	LBB0_20
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdr	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdr	Lloh28, Lloh29
	.loh AdrpLdr	Lloh30, Lloh31
	.cfi_endproc
                                        ; -- End function
	.comm	_AV_LOG_ERROR,4,2               ; @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Invalid cursor position (%d.%d outside %dx%d).\n"

	.comm	_AVERROR_INVALIDDATA,4,2        ; @AVERROR_INVALIDDATA
l_.str.1:                               ; @.str.1
	.asciz	"Invalid cursor dimensions %dx%d.\n"

	.comm	_AV_LOG_WARNING,4,2             ; @AV_LOG_WARNING
l_.str.2:                               ; @.str.2
	.asciz	"Invalid hotspot position %d.%d.\n"

l_.str.3:                               ; @.str.3
	.asciz	"Cannot allocate cursor buffer.\n"

l_.str.4:                               ; @.str.4
	.asciz	"Cursor format %08x"

	.comm	_AVERROR_PATCHWELCOME,4,2       ; @AVERROR_PATCHWELCOME
	.no_dead_strip	_tdsc_load_cursor
.subsections_via_symbols
