	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function libopenjpeg_copy_unpacked8
_libopenjpeg_copy_unpacked8:            ## @libopenjpeg_copy_unpacked8
	.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	$152, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, -96(%rbp)                 ## 8-byte Spill
	movl	(%rdx), %ecx
	movl	$1, %eax
	testl	%ecx, %ecx
	jle	LBB0_43
## %bb.1:
	movq	8(%rdx), %r8
	movq	(%rsi), %rax
	leaq	(,%rcx,4), %r9
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r8,%rdi,8), %ebx
	cmpl	(%rax,%rdi), %ebx
	jg	LBB0_42
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	addq	$4, %rdi
	cmpq	%rdi, %r9
	jne	LBB0_2
## %bb.4:
	movq	8(%rdx), %rbx
	xorl	%r11d, %r11d
	movq	%rsi, -152(%rbp)                ## 8-byte Spill
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movq	%rcx, -112(%rbp)                ## 8-byte Spill
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_17:                                ##   in Loop: Header=BB0_5 Depth=1
	incq	%r11
	movq	-112(%rbp), %rcx                ## 8-byte Reload
	cmpq	%rcx, %r11
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	je	LBB0_18
LBB0_5:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_7 Depth 2
                                        ##       Child Loop BB0_23 Depth 3
                                        ##       Child Loop BB0_26 Depth 3
                                        ##       Child Loop BB0_32 Depth 3
                                        ##       Child Loop BB0_35 Depth 3
                                        ##       Child Loop BB0_39 Depth 3
                                        ##     Child Loop BB0_12 Depth 2
                                        ##       Child Loop BB0_14 Depth 3
	movq	%r11, %rdi
	shlq	$5, %rdi
	movq	-96(%rbp), %rcx                 ## 8-byte Reload
	movl	(%rcx), %eax
	movl	4(%rcx), %r8d
	movl	4(%rbx,%rdi), %ecx
	movl	8(%rbx,%rdi), %r9d
	addl	%ecx, %eax
	decl	%eax
	cltd
	idivl	%ecx
	movl	%eax, %r12d
	leal	(%r8,%r9), %eax
	decl	%eax
	cltd
	idivl	%r9d
	movl	$0, %r10d
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	testl	%eax, %eax
	jle	LBB0_10
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	leaq	(%rbx,%rdi), %r8
	movq	16(%rbx,%rdi), %rax
	movq	(%rsi), %rcx
	movq	%rcx, -192(%rbp)                ## 8-byte Spill
	movq	%rdi, -120(%rbp)                ## 8-byte Spill
	movl	(%rbx,%rdi), %ecx
	movl	%r12d, %edx
	movl	%edx, %edi
	andl	$-8, %edi
	movq	%rdi, -104(%rbp)                ## 8-byte Spill
	addq	$-8, %rdi
	movq	%rdi, -168(%rbp)                ## 8-byte Spill
	shrq	$3, %rdi
	incq	%rdi
	movl	%edi, %r9d
	andl	$3, %r9d
	andq	$-4, %rdi
	movq	%rdi, -136(%rbp)                ## 8-byte Spill
	movq	%rdx, -72(%rbp)                 ## 8-byte Spill
                                        ## kill: def $edx killed $edx killed $rdx def $rdx
	andl	$3, %edx
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	leaq	112(%rax), %rdx
	movq	%rdx, -128(%rbp)                ## 8-byte Spill
	leaq	16(%rax), %rdx
	movq	%rdx, -144(%rbp)                ## 8-byte Spill
	movq	%r9, -160(%rbp)                 ## 8-byte Spill
	shlq	$5, %r9
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	addq	$12, %rax
	movq	%rax, -184(%rbp)                ## 8-byte Spill
	xorl	%r10d, %r10d
	movq	%r11, -176(%rbp)                ## 8-byte Spill
	movl	%r12d, -84(%rbp)                ## 4-byte Spill
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_40:                                ##   in Loop: Header=BB0_7 Depth=2
	incl	%r10d
	cmpl	-44(%rbp), %r10d                ## 4-byte Folded Reload
	je	LBB0_41
LBB0_7:                                 ##   Parent Loop BB0_5 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_23 Depth 3
                                        ##       Child Loop BB0_26 Depth 3
                                        ##       Child Loop BB0_32 Depth 3
                                        ##       Child Loop BB0_35 Depth 3
                                        ##       Child Loop BB0_39 Depth 3
	movl	%ecx, %eax
	imull	%r10d, %eax
	movslq	%eax, %rbx
	movl	$0, %eax
	testl	%r12d, %r12d
	jle	LBB0_37
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=2
	movq	-192(%rbp), %rax                ## 8-byte Reload
	movl	(%rax,%r11,4), %ecx
	imull	%r10d, %ecx
	movq	8(%rsi), %rax
	movq	(%rax,%r11,8), %r14
	movslq	%ecx, %r13
	cmpl	$8, %r12d
	jb	LBB0_9
## %bb.19:                              ##   in Loop: Header=BB0_7 Depth=2
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rax,%rbx,4), %rax
	leaq	(%r14,%r13,4), %rdi
	subq	%rdi, %rax
	cmpq	$32, %rax
	jae	LBB0_20
LBB0_9:                                 ##   in Loop: Header=BB0_7 Depth=2
	movq	%r11, %rdx
	xorl	%edi, %edi
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
LBB0_29:                                ##   in Loop: Header=BB0_7 Depth=2
	movq	%rdi, %r11
	notq	%r11
	addq	-72(%rbp), %r11                 ## 8-byte Folded Reload
	testq	%rcx, %rcx
	je	LBB0_30
## %bb.31:                              ##   in Loop: Header=BB0_7 Depth=2
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movq	%rbx, %r15
	leaq	(%rax,%rbx,4), %rbx
	movq	%rcx, %rax
	.p2align	4, 0x90
LBB0_32:                                ##   Parent Loop BB0_5 Depth=1
                                        ##     Parent Loop BB0_7 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movl	(%r14,%r13,4), %ecx
	incq	%r13
	movl	%ecx, (%rbx,%rdi,4)
	incq	%rdi
	decq	%rax
	jne	LBB0_32
	jmp	LBB0_33
	.p2align	4, 0x90
LBB0_30:                                ##   in Loop: Header=BB0_7 Depth=2
	movq	%rbx, %r15
LBB0_33:                                ##   in Loop: Header=BB0_7 Depth=2
	cmpq	$3, %r11
	movq	%rdx, %r11
	jb	LBB0_36
## %bb.34:                              ##   in Loop: Header=BB0_7 Depth=2
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	subq	%rdi, %rdx
	addq	%r15, %rdi
	movq	-184(%rbp), %rax                ## 8-byte Reload
	leaq	(%rax,%rdi,4), %rax
	leaq	(%r14,%r13,4), %rdi
	addq	$12, %rdi
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_35:                                ##   Parent Loop BB0_5 Depth=1
                                        ##     Parent Loop BB0_7 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movl	-12(%rdi,%rbx,4), %ecx
	movl	%ecx, -12(%rax,%rbx,4)
	movl	-8(%rdi,%rbx,4), %ecx
	movl	%ecx, -8(%rax,%rbx,4)
	movl	-4(%rdi,%rbx,4), %ecx
	movl	%ecx, -4(%rax,%rbx,4)
	movl	(%rdi,%rbx,4), %ecx
	movl	%ecx, (%rax,%rbx,4)
	addq	$4, %rbx
	cmpq	%rbx, %rdx
	jne	LBB0_35
	jmp	LBB0_36
LBB0_20:                                ##   in Loop: Header=BB0_7 Depth=2
	cmpq	$24, -168(%rbp)                 ## 8-byte Folded Reload
	jae	LBB0_22
## %bb.21:                              ##   in Loop: Header=BB0_7 Depth=2
	xorl	%r15d, %r15d
	jmp	LBB0_24
LBB0_22:                                ##   in Loop: Header=BB0_7 Depth=2
	movslq	%ecx, %rax
	leaq	(%r14,%rax,4), %rdi
	addq	$112, %rdi
	movq	-128(%rbp), %rax                ## 8-byte Reload
	leaq	(%rax,%rbx,4), %r12
	movq	-136(%rbp), %r11                ## 8-byte Reload
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_23:                                ##   Parent Loop BB0_5 Depth=1
                                        ##     Parent Loop BB0_7 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movups	-112(%rdi,%r15,4), %xmm0
	movups	-96(%rdi,%r15,4), %xmm1
	movups	%xmm0, -112(%r12,%r15,4)
	movups	%xmm1, -96(%r12,%r15,4)
	movups	-80(%rdi,%r15,4), %xmm0
	movups	-64(%rdi,%r15,4), %xmm1
	movups	%xmm0, -80(%r12,%r15,4)
	movups	%xmm1, -64(%r12,%r15,4)
	movups	-48(%rdi,%r15,4), %xmm0
	movups	-32(%rdi,%r15,4), %xmm1
	movups	%xmm0, -48(%r12,%r15,4)
	movups	%xmm1, -32(%r12,%r15,4)
	movups	-16(%rdi,%r15,4), %xmm0
	movups	(%rdi,%r15,4), %xmm1
	movups	%xmm0, -16(%r12,%r15,4)
	movups	%xmm1, (%r12,%r15,4)
	addq	$32, %r15
	addq	$-4, %r11
	jne	LBB0_23
LBB0_24:                                ##   in Loop: Header=BB0_7 Depth=2
	cmpq	$0, -160(%rbp)                  ## 8-byte Folded Reload
	movq	-152(%rbp), %rsi                ## 8-byte Reload
	je	LBB0_27
## %bb.25:                              ##   in Loop: Header=BB0_7 Depth=2
	leaq	(%r15,%rbx), %rax
	movq	-144(%rbp), %rdx                ## 8-byte Reload
	leaq	(%rdx,%rax,4), %rax
	movslq	%ecx, %rcx
	addq	%r15, %rcx
	leaq	(%r14,%rcx,4), %rcx
	addq	$16, %rcx
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_26:                                ##   Parent Loop BB0_5 Depth=1
                                        ##     Parent Loop BB0_7 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movups	-16(%rcx,%rdi), %xmm0
	movups	(%rcx,%rdi), %xmm1
	movups	%xmm0, -16(%rax,%rdi)
	movups	%xmm1, (%rax,%rdi)
	addq	$32, %rdi
	cmpq	%rdi, %r9
	jne	LBB0_26
LBB0_27:                                ##   in Loop: Header=BB0_7 Depth=2
	movq	%rbx, %r15
	movq	-104(%rbp), %rax                ## 8-byte Reload
	cmpq	-72(%rbp), %rax                 ## 8-byte Folded Reload
	movq	-176(%rbp), %r11                ## 8-byte Reload
	movl	-84(%rbp), %r12d                ## 4-byte Reload
	jne	LBB0_28
	.p2align	4, 0x90
LBB0_36:                                ##   in Loop: Header=BB0_7 Depth=2
	movl	(%r8), %ecx
	movl	%r12d, %eax
	movq	%r15, %rbx
LBB0_37:                                ##   in Loop: Header=BB0_7 Depth=2
	cmpl	%ecx, %eax
	jge	LBB0_40
## %bb.38:                              ##   in Loop: Header=BB0_7 Depth=2
	movl	%eax, %eax
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	leaq	(%rcx,%rbx,4), %rdi
	.p2align	4, 0x90
LBB0_39:                                ##   Parent Loop BB0_5 Depth=1
                                        ##     Parent Loop BB0_7 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movl	-4(%rdi,%rax,4), %ecx
	movl	%ecx, (%rdi,%rax,4)
	incq	%rax
	movslq	(%r8), %rcx
	cmpq	%rcx, %rax
	jl	LBB0_39
	jmp	LBB0_40
LBB0_28:                                ##   in Loop: Header=BB0_7 Depth=2
	movq	%r11, %rdx
	movq	-104(%rbp), %rdi                ## 8-byte Reload
	addq	%rdi, %r13
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movq	%r15, %rbx
	jmp	LBB0_29
	.p2align	4, 0x90
LBB0_41:                                ##   in Loop: Header=BB0_5 Depth=1
	movl	-44(%rbp), %r10d                ## 4-byte Reload
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	-120(%rbp), %rdi                ## 8-byte Reload
LBB0_10:                                ##   in Loop: Header=BB0_5 Depth=1
	movl	24(%rbx,%rdi), %ebx
	cmpl	%ebx, %r10d
	jge	LBB0_17
## %bb.11:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rax,%rdi), %r8
	addq	$24, %r8
	leaq	(%rax,%rdi), %rcx
	movq	16(%rax,%rdi), %r9
	movl	(%rax,%rdi), %edi
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_12 Depth=2
	incl	%r10d
	cmpl	%ebx, %r10d
	jge	LBB0_17
LBB0_12:                                ##   Parent Loop BB0_5 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_14 Depth 3
	testl	%edi, %edi
	jle	LBB0_16
## %bb.13:                              ##   in Loop: Header=BB0_12 Depth=2
	movl	%edi, %eax
	imull	%r10d, %eax
	cltq
	leaq	(%r9,%rax,4), %rdx
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_14:                                ##   Parent Loop BB0_5 Depth=1
                                        ##     Parent Loop BB0_12 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movslq	%edi, %rdi
	shlq	$2, %rdi
	movq	%rdx, %rbx
	subq	%rdi, %rbx
	movl	(%rbx,%rax,4), %edi
	movl	%edi, (%rdx,%rax,4)
	incq	%rax
	movslq	(%rcx), %rdi
	cmpq	%rdi, %rax
	jl	LBB0_14
## %bb.15:                              ##   in Loop: Header=BB0_12 Depth=2
	movl	(%r8), %ebx
	jmp	LBB0_16
LBB0_42:
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	callq	_av_log
	xorl	%eax, %eax
	jmp	LBB0_43
LBB0_18:
	movl	$1, %eax
LBB0_43:
	addq	$152, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AV_LOG_ERROR,4,2               ## @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Error: frame's linesize is too small for the image\n"

	.no_dead_strip	_libopenjpeg_copy_unpacked8
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function libopenjpeg_copy_unpacked8
_libopenjpeg_copy_unpacked8:            ; @libopenjpeg_copy_unpacked8
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldr	w8, [x2]
	cmp	w8, #1
	b.lt	LBB0_30
; %bb.1:
	ldr	x9, [x2, #8]
	ldr	x10, [x1]
	mov	x11, x8
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w12, [x9]
	ldr	w13, [x10]
	cmp	w12, w13
	b.gt	LBB0_31
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x10, x10, #4
	add	x9, x9, #32
	subs	x11, x11, #1
	b.ne	LBB0_2
; %bb.4:
	mov	x9, #0
	ldr	x10, [x2, #8]
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	x9, x9, #1
	cmp	x9, x8
	b.eq	LBB0_30
LBB0_6:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_9 Depth 2
                                        ;       Child Loop BB0_20 Depth 3
                                        ;       Child Loop BB0_14 Depth 3
                                        ;       Child Loop BB0_18 Depth 3
                                        ;     Child Loop BB0_26 Depth 2
                                        ;       Child Loop BB0_28 Depth 3
	add	x11, x10, x9, lsl #5
	ldr	w12, [x0, #4]
	ldr	w13, [x11, #8]
	add	w12, w12, w13
	sub	w12, w12, #1
	sdiv	w12, w12, w13
	cmp	w12, #1
	b.lt	LBB0_22
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	w13, #0
	ldr	w14, [x0]
	ldp	w4, w15, [x11]
	add	w14, w14, w15
	sub	w14, w14, #1
	sdiv	w14, w14, w15
	ldr	x15, [x11, #16]
	ldr	x16, [x1]
	and	x17, x14, #0xfffffff0
	add	x2, x15, #32
	b	LBB0_9
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=2
	add	w13, w13, #1
	cmp	w13, w12
	b.eq	LBB0_23
LBB0_9:                                 ;   Parent Loop BB0_6 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_20 Depth 3
                                        ;       Child Loop BB0_14 Depth 3
                                        ;       Child Loop BB0_18 Depth 3
	mul	w3, w4, w13
	cmp	w14, #1
	b.lt	LBB0_16
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=2
	ldr	w4, [x16, x9, lsl #2]
	mul	w6, w4, w13
	ldr	x4, [x1, #8]
	ldr	x4, [x4, x9, lsl #3]
	sxtw	x5, w6
	cmp	w14, #16
	b.lo	LBB0_12
; %bb.11:                               ;   in Loop: Header=BB0_9 Depth=2
	sxtw	x7, w3
	add	x7, x15, x7, lsl #2
	add	x19, x4, x5, lsl #2
	sub	x7, x7, x19
	cmp	x7, #64
	b.hs	LBB0_19
LBB0_12:                                ;   in Loop: Header=BB0_9 Depth=2
	mov	x7, #0
LBB0_13:                                ;   in Loop: Header=BB0_9 Depth=2
	add	x6, x7, w3, sxtw
	add	x6, x15, x6, lsl #2
	sub	x7, x14, x7
	add	x4, x4, x5, lsl #2
LBB0_14:                                ;   Parent Loop BB0_6 Depth=1
                                        ;     Parent Loop BB0_9 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	ldr	w5, [x4], #4
	str	w5, [x6], #4
	subs	x7, x7, #1
	b.ne	LBB0_14
LBB0_15:                                ;   in Loop: Header=BB0_9 Depth=2
	ldr	w4, [x11]
	mov	x5, x14
	cmp	w5, w4
	b.ge	LBB0_8
	b	LBB0_17
LBB0_16:                                ;   in Loop: Header=BB0_9 Depth=2
	mov	w5, #0
	cmp	w5, w4
	b.ge	LBB0_8
LBB0_17:                                ;   in Loop: Header=BB0_9 Depth=2
	mov	w5, w5
	add	x3, x15, w3, sxtw #2
LBB0_18:                                ;   Parent Loop BB0_6 Depth=1
                                        ;     Parent Loop BB0_9 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	add	x4, x3, x5, lsl #2
	ldur	w6, [x4, #-4]
	str	w6, [x4]
	add	x5, x5, #1
	ldrsw	x4, [x11]
	cmp	x5, x4
	b.lt	LBB0_18
	b	LBB0_8
LBB0_19:                                ;   in Loop: Header=BB0_9 Depth=2
	add	x5, x17, x5
	add	x6, x4, w6, sxtw #2
	add	x6, x6, #32
	add	x7, x2, w3, sxtw #2
	mov	x19, x17
LBB0_20:                                ;   Parent Loop BB0_6 Depth=1
                                        ;     Parent Loop BB0_9 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	ldp	q0, q1, [x6, #-32]
	ldp	q2, q3, [x6], #64
	stp	q0, q1, [x7, #-32]
	stp	q2, q3, [x7], #64
	subs	x19, x19, #16
	b.ne	LBB0_20
; %bb.21:                               ;   in Loop: Header=BB0_9 Depth=2
	mov	x7, x17
	cmp	x17, x14
	b.eq	LBB0_15
	b	LBB0_13
LBB0_22:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	w12, #0
LBB0_23:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w16, [x11, #24]!
	cmp	w12, w16
	b.ge	LBB0_5
; %bb.24:                               ;   in Loop: Header=BB0_6 Depth=1
	add	x13, x10, x9, lsl #5
	ldr	x14, [x13, #16]
	ldr	w15, [x13]
	b	LBB0_26
LBB0_25:                                ;   in Loop: Header=BB0_26 Depth=2
	add	w12, w12, #1
	cmp	w12, w16
	b.ge	LBB0_5
LBB0_26:                                ;   Parent Loop BB0_6 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_28 Depth 3
	cmp	w15, #1
	b.lt	LBB0_25
; %bb.27:                               ;   in Loop: Header=BB0_26 Depth=2
	mov	x16, #0
	mul	w17, w15, w12
	add	x17, x14, w17, sxtw #2
LBB0_28:                                ;   Parent Loop BB0_6 Depth=1
                                        ;     Parent Loop BB0_26 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	sub	x15, x17, w15, sxtw #2
	lsl	x2, x16, #2
	ldr	w15, [x15, x2]
	str	w15, [x17, x2]
	add	x16, x16, #1
	ldrsw	x15, [x13]
	cmp	x16, x15
	b.lt	LBB0_28
; %bb.29:                               ;   in Loop: Header=BB0_26 Depth=2
	ldr	w16, [x11]
	b	LBB0_25
LBB0_30:
	mov	w0, #1
	b	LBB0_32
LBB0_31:
Lloh0:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
	bl	_av_log
	mov	w0, #0
LBB0_32:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_AV_LOG_ERROR,4,2               ; @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Error: frame's linesize is too small for the image\n"

	.no_dead_strip	_libopenjpeg_copy_unpacked8
.subsections_via_symbols
