	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function b44_uncompress
LCPI0_0:
	.long	3                               ## 0x3
	.long	3                               ## 0x3
	.space	4
	.space	4
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_b44_uncompress:                        ## @b44_uncompress
	.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	$200, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	cmpl	$0, (%rdi)
	jle	LBB0_30
## %bb.1:
	movq	%r8, %rbx
	movl	%edx, %r15d
	movq	%rsi, %r9
	movq	(%r8), %xmm0                    ## xmm0 = mem[0],zero
	movdqa	%xmm0, %xmm1
	psrad	$31, %xmm1
	psrld	$30, %xmm1
	paddd	%xmm0, %xmm1
	psrad	$2, %xmm1
	pand	LCPI0_0(%rip), %xmm0
	pxor	%xmm2, %xmm2
	pcmpeqd	%xmm2, %xmm0
	paddd	%xmm1, %xmm0
	pcmpeqd	%xmm1, %xmm1
	psubd	%xmm1, %xmm0
	movd	%xmm0, -180(%rbp)               ## 4-byte Folded Spill
	pextrd	$1, %xmm0, -172(%rbp)           ## 4-byte Folded Spill
	pcmpgtd	%xmm2, %xmm0
	pmovsxdq	%xmm0, %xmm0
	movmskpd	%xmm0, %eax
	movl	%eax, -176(%rbp)                ## 4-byte Spill
                                        ## kill: def $al killed $al killed $eax
	shrb	%al
	movb	%al, -113(%rbp)                 ## 1-byte Spill
	leal	2(%r15), %eax
	movl	%eax, -184(%rbp)                ## 4-byte Spill
	xorl	%r13d, %r13d
	xorl	%r8d, %r8d
	movq	%rsi, %r12
	movq	%rsi, -192(%rbp)                ## 8-byte Spill
	movq	%rdi, -152(%rbp)                ## 8-byte Spill
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_27 Depth 2
                                        ##     Child Loop BB0_5 Depth 2
                                        ##       Child Loop BB0_7 Depth 3
                                        ##         Child Loop BB0_17 Depth 4
                                        ##           Child Loop BB0_19 Depth 5
	movq	8(%rdi), %rax
	movq	(%rax,%r13,8), %rax
	movq	_EXR_HALF@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	movl	%r8d, -120(%rbp)                ## 4-byte Spill
	jne	LBB0_24
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpb	$0, -113(%rbp)                  ## 1-byte Folded Reload
	je	LBB0_23
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	xorl	%eax, %eax
	movq	%rax, -160(%rbp)                ## 8-byte Spill
	movq	%r13, -216(%rbp)                ## 8-byte Spill
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_22:                                ##   in Loop: Header=BB0_5 Depth=2
	movq	-160(%rbp), %rax                ## 8-byte Reload
	incl	%eax
	movq	%rax, -160(%rbp)                ## 8-byte Spill
	cmpl	-172(%rbp), %eax                ## 4-byte Folded Reload
	je	LBB0_23
LBB0_5:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_7 Depth 3
                                        ##         Child Loop BB0_17 Depth 4
                                        ##           Child Loop BB0_19 Depth 5
	testb	$1, -176(%rbp)                  ## 1-byte Folded Reload
	je	LBB0_22
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=2
	movq	-160(%rbp), %rax                ## 8-byte Reload
	leal	(,%rax,4), %ecx
	movl	%ecx, -124(%rbp)                ## 4-byte Spill
	leal	4(,%rax,4), %eax
	movl	%eax, -136(%rbp)                ## 4-byte Spill
	xorl	%eax, %eax
	movq	%rax, -208(%rbp)                ## 8-byte Spill
	movl	$1, -132(%rbp)                  ## 4-byte Folded Spill
	xorl	%eax, %eax
	movq	%rax, -168(%rbp)                ## 8-byte Spill
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_21:                                ##   in Loop: Header=BB0_7 Depth=3
	movq	-224(%rbp), %r12                ## 8-byte Reload
	movq	-200(%rbp), %rax                ## 8-byte Reload
	leaq	(%r12,%rax,4), %r12
	movq	-232(%rbp), %r15                ## 8-byte Reload
	addl	-128(%rbp), %r15d               ## 4-byte Folded Reload
	movq	-168(%rbp), %rcx                ## 8-byte Reload
	incl	%ecx
	addq	$4, -208(%rbp)                  ## 8-byte Folded Spill
	addl	$8, -132(%rbp)                  ## 4-byte Folded Spill
	movq	%rcx, %rax
	movq	%rcx, -168(%rbp)                ## 8-byte Spill
	cmpl	-180(%rbp), %ecx                ## 4-byte Folded Reload
	movq	-192(%rbp), %r9                 ## 8-byte Reload
	movq	-216(%rbp), %r13                ## 8-byte Reload
	movl	-120(%rbp), %r8d                ## 4-byte Reload
	je	LBB0_22
LBB0_7:                                 ##   Parent Loop BB0_2 Depth=1
                                        ##     Parent Loop BB0_5 Depth=2
                                        ## =>    This Loop Header: Depth=3
                                        ##         Child Loop BB0_17 Depth 4
                                        ##           Child Loop BB0_19 Depth 5
	cmpl	$2, %r15d
	jle	LBB0_8
## %bb.10:                              ##   in Loop: Header=BB0_7 Depth=3
	movl	-184(%rbp), %eax                ## 4-byte Reload
	subl	%r15d, %eax
	cltq
	cmpl	$252, (%r9,%rax,4)
	movq	%r15, -232(%rbp)                ## 8-byte Spill
	movq	%r12, -224(%rbp)                ## 8-byte Spill
	jne	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_7 Depth=3
	movq	%r12, %rdi
	leaq	-112(%rbp), %rsi
	callq	_unpack_3
	movl	$-3, -128(%rbp)                 ## 4-byte Folded Spill
	movl	$3, %eax
	jmp	LBB0_15
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_7 Depth=3
	cmpl	$13, %r15d
	jbe	LBB0_13
## %bb.14:                              ##   in Loop: Header=BB0_7 Depth=3
	movq	%r12, %rdi
	leaq	-112(%rbp), %rsi
	callq	_unpack_14
	movl	$-14, -128(%rbp)                ## 4-byte Folded Spill
	movl	$14, %eax
LBB0_15:                                ##   in Loop: Header=BB0_7 Depth=3
	movq	%rax, -200(%rbp)                ## 8-byte Spill
	movl	4(%rbx), %esi
	movl	-136(%rbp), %edi                ## 4-byte Reload
	callq	_FFMIN
	cmpl	%eax, -124(%rbp)                ## 4-byte Folded Reload
	jge	LBB0_21
## %bb.16:                              ##   in Loop: Header=BB0_7 Depth=3
	movq	-168(%rbp), %rax                ## 8-byte Reload
	leal	(,%rax,4), %eax
	movq	%rax, -240(%rbp)                ## 8-byte Spill
	addl	$4, %eax
	movl	$0, -140(%rbp)                  ## 4-byte Folded Spill
	movl	-124(%rbp), %r12d               ## 4-byte Reload
	movl	%eax, -144(%rbp)                ## 4-byte Spill
	jmp	LBB0_17
	.p2align	4, 0x90
LBB0_20:                                ##   in Loop: Header=BB0_17 Depth=4
	incl	%r12d
	movl	4(%rbx), %esi
	movl	-136(%rbp), %edi                ## 4-byte Reload
	callq	_FFMIN
	addl	$4, -140(%rbp)                  ## 4-byte Folded Spill
	cmpl	%eax, %r12d
	movl	-144(%rbp), %eax                ## 4-byte Reload
	jge	LBB0_21
LBB0_17:                                ##   Parent Loop BB0_2 Depth=1
                                        ##     Parent Loop BB0_5 Depth=2
                                        ##       Parent Loop BB0_7 Depth=3
                                        ## =>      This Loop Header: Depth=4
                                        ##           Child Loop BB0_19 Depth 5
	movl	(%rbx), %esi
	movl	%eax, %edi
	callq	_FFMIN
	cmpl	%eax, -240(%rbp)                ## 4-byte Folded Reload
	movl	-120(%rbp), %ecx                ## 4-byte Reload
	jge	LBB0_20
## %bb.18:                              ##   in Loop: Header=BB0_17 Depth=4
	movl	-132(%rbp), %eax                ## 4-byte Reload
	movl	%eax, %r15d
	movl	-140(%rbp), %eax                ## 4-byte Reload
	movl	%eax, %r13d
	movq	-208(%rbp), %r14                ## 8-byte Reload
	.p2align	4, 0x90
LBB0_19:                                ##   Parent Loop BB0_2 Depth=1
                                        ##     Parent Loop BB0_5 Depth=2
                                        ##       Parent Loop BB0_7 Depth=3
                                        ##         Parent Loop BB0_17 Depth=4
                                        ## =>        This Inner Loop Header: Depth=5
	movl	(%rbx), %eax
	imull	%ecx, %eax
	movl	8(%rbx), %ecx
	imull	%r12d, %ecx
	addl	%eax, %ecx
	leal	(%r15,%rcx), %eax
	addl	%r15d, %ecx
	decl	%ecx
	movslq	%r13d, %r13
	movzbl	-112(%rbp,%r13,4), %edx
	movq	16(%rbx), %rsi
	movslq	%ecx, %rcx
	movl	%edx, (%rsi,%rcx,4)
	movl	-112(%rbp,%r13,4), %ecx
	sarl	$8, %ecx
	cltq
	movl	%ecx, (%rsi,%rax,4)
	incq	%r14
	movl	(%rbx), %esi
	movl	-144(%rbp), %edi                ## 4-byte Reload
	callq	_FFMIN
	movl	-120(%rbp), %ecx                ## 4-byte Reload
	cltq
	incl	%r13d
	addl	$2, %r15d
	cmpq	%rax, %r14
	jl	LBB0_19
	jmp	LBB0_20
	.p2align	4, 0x90
LBB0_24:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	(%rbx), %edx
	movl	4(%rbx), %eax
	movl	%eax, %ecx
	imull	%edx, %ecx
	shll	$2, %ecx
	cmpl	%ecx, %r15d
	jl	LBB0_33
## %bb.25:                              ##   in Loop: Header=BB0_2 Depth=1
	testl	%eax, %eax
	jle	LBB0_28
## %bb.26:                              ##   in Loop: Header=BB0_2 Depth=1
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_27:                                ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	%edx, %eax
	imull	%r8d, %eax
	movl	8(%rbx), %ecx
	imull	%r14d, %ecx
	addl	%eax, %ecx
	movslq	%ecx, %rdi
	shlq	$2, %rdi
	addq	16(%rbx), %rdi
	shll	$2, %edx
	movq	%r12, %rsi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_memcpy
	movl	-120(%rbp), %r8d                ## 4-byte Reload
	movslq	(%rbx), %rdx
	movq	%rdx, %rax
	shlq	$4, %rax
	addq	%rax, %r12
	incl	%r14d
	movl	4(%rbx), %eax
	cmpl	%eax, %r14d
	jl	LBB0_27
LBB0_28:                                ##   in Loop: Header=BB0_2 Depth=1
	imull	%eax, %edx
	addl	$4, %r8d
	shll	$2, %edx
	subl	%edx, %r15d
	movq	-192(%rbp), %r9                 ## 8-byte Reload
	jmp	LBB0_29
	.p2align	4, 0x90
LBB0_23:                                ##   in Loop: Header=BB0_2 Depth=1
	addl	$2, %r8d
LBB0_29:                                ##   in Loop: Header=BB0_2 Depth=1
	incq	%r13
	movq	-152(%rbp), %rdi                ## 8-byte Reload
	movslq	(%rdi), %rax
	cmpq	%rax, %r13
	jl	LBB0_2
LBB0_30:
	xorl	%eax, %eax
	jmp	LBB0_31
LBB0_8:
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	jmp	LBB0_9
LBB0_13:
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.1(%rip), %rdx
LBB0_9:
	movq	-152(%rbp), %rdi                ## 8-byte Reload
	movl	%r15d, %ecx
	callq	_av_log
	movq	_AVERROR_INVALIDDATA@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_31:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_34
## %bb.32:
	addq	$200, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_33:
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.2(%rip), %rdx
	jmp	LBB0_9
LBB0_34:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_EXR_HALF,8,3                   ## @EXR_HALF
	.comm	_AV_LOG_ERROR,4,2               ## @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Not enough data for B44A block: %d"

	.comm	_AVERROR_INVALIDDATA,4,2        ## @AVERROR_INVALIDDATA
L_.str.1:                               ## @.str.1
	.asciz	"Not enough data for B44 block: %d"

L_.str.2:                               ## @.str.2
	.asciz	"Not enough data for uncompress channel: %d"

	.no_dead_strip	_b44_uncompress
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function b44_uncompress
_b44_uncompress:                        ; @b44_uncompress
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #272
	.cfi_def_cfa_offset 272
	stp	x28, x27, [sp, #176]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #192]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #208]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #224]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #240]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #256]            ; 16-byte Folded Spill
	add	x29, sp, #256
	.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
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-96]
	ldp	w8, w9, [x4]
	add	w10, w8, #3
	cmp	w8, #0
	csel	w10, w10, w8, lt
	asr	w10, w10, #2
	tst	w8, #0x3
	cinc	w8, w10, ne
	str	w8, [sp, #48]                   ; 4-byte Folded Spill
	add	w8, w9, #3
	cmp	w9, #0
	csel	w8, w8, w9, lt
	asr	w8, w8, #2
	tst	w9, #0x3
	cinc	w8, w8, ne
	str	w8, [sp, #12]                   ; 4-byte Folded Spill
	ldr	w8, [x0]
	cmp	w8, #1
	b.lt	LBB0_27
; %bb.1:
	mov	x21, x4
	mov	x22, x2
	mov	x23, x1
	mov	x20, x0
	mov	x8, #0
	mov	w27, #0
	add	w9, w2, #2
	str	w9, [sp, #44]                   ; 4-byte Folded Spill
	add	x28, sp, #96
	mov	x24, x1
	str	x1, [sp, #32]                   ; 8-byte Folded Spill
LBB0_2:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_8 Depth 2
                                        ;     Child Loop BB0_11 Depth 2
                                        ;       Child Loop BB0_14 Depth 3
                                        ;         Child Loop BB0_22 Depth 4
                                        ;           Child Loop BB0_24 Depth 5
	mov	x9, x8
	ldr	x8, [x20, #8]
	str	x9, [sp, #16]                   ; 8-byte Folded Spill
	ldr	x8, [x8, x9, lsl #3]
Lloh3:
	adrp	x9, _EXR_HALF@GOTPAGE
Lloh4:
	ldr	x9, [x9, _EXR_HALF@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w8, [sp, #12]                   ; 4-byte Folded Reload
	cmp	w8, #1
	b.lt	LBB0_25
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	str	wzr, [sp, #28]                  ; 4-byte Folded Spill
	str	x20, [sp]                       ; 8-byte Folded Spill
	b	LBB0_11
LBB0_5:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldp	w8, w9, [x21]
	mul	w10, w9, w8
	cmp	w22, w10, lsl #2
	b.lt	LBB0_34
; %bb.6:                                ;   in Loop: Header=BB0_2 Depth=1
	cmp	w9, #1
	b.lt	LBB0_9
; %bb.7:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	w19, #0
LBB0_8:                                 ;   Parent Loop BB0_2 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mul	w9, w8, w27
	ldr	w10, [x21, #8]
	madd	w9, w10, w19, w9
	ldr	x10, [x21, #16]
	add	x0, x10, w9, sxtw #2
	lsl	w2, w8, #2
	mov	x1, x24
	bl	_memcpy
	ldp	w8, w9, [x21]
                                        ; kill: def $w8 killed $w8 def $x8
	sxtw	x8, w8
	add	x24, x24, x8, lsl #4
	add	w19, w19, #1
	cmp	w19, w9
	b.lt	LBB0_8
LBB0_9:                                 ;   in Loop: Header=BB0_2 Depth=1
	add	w27, w27, #4
	mul	w8, w9, w8
	sub	w22, w22, w8, lsl #2
	b	LBB0_26
LBB0_10:                                ;   in Loop: Header=BB0_11 Depth=2
	ldr	w9, [sp, #28]                   ; 4-byte Folded Reload
	add	w9, w9, #1
	ldr	w8, [sp, #12]                   ; 4-byte Folded Reload
	str	w9, [sp, #28]                   ; 4-byte Folded Spill
	cmp	w9, w8
	ldr	x20, [sp]                       ; 8-byte Folded Reload
	b.eq	LBB0_25
LBB0_11:                                ;   Parent Loop BB0_2 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_14 Depth 3
                                        ;         Child Loop BB0_22 Depth 4
                                        ;           Child Loop BB0_24 Depth 5
	ldr	w8, [sp, #48]                   ; 4-byte Folded Reload
	cmp	w8, #1
	b.lt	LBB0_10
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=2
	mov	x20, #0
	ldr	w8, [sp, #28]                   ; 4-byte Folded Reload
	lsl	w8, w8, #2
	str	w8, [sp, #52]                   ; 4-byte Folded Spill
	add	w8, w8, #4
	str	w8, [sp, #92]                   ; 4-byte Folded Spill
	mov	w8, #1
	stp	wzr, w8, [sp, #84]              ; 8-byte Folded Spill
	b	LBB0_14
LBB0_13:                                ;   in Loop: Header=BB0_14 Depth=3
	ldr	x24, [sp, #72]                  ; 8-byte Folded Reload
	ldr	x8, [sp, #56]                   ; 8-byte Folded Reload
	add	x24, x24, x8, lsl #2
	ldp	w22, w9, [sp, #80]              ; 8-byte Folded Reload
	ldr	w8, [sp, #68]                   ; 4-byte Folded Reload
	add	w22, w22, w8
	add	w9, w9, #1
	add	x20, x20, #4
	ldr	w8, [sp, #88]                   ; 4-byte Folded Reload
	add	w8, w8, #8
	stp	w9, w8, [sp, #84]               ; 8-byte Folded Spill
	ldr	w8, [sp, #48]                   ; 4-byte Folded Reload
	cmp	w9, w8
	ldr	x23, [sp, #32]                  ; 8-byte Folded Reload
	b.eq	LBB0_10
LBB0_14:                                ;   Parent Loop BB0_2 Depth=1
                                        ;     Parent Loop BB0_11 Depth=2
                                        ; =>    This Loop Header: Depth=3
                                        ;         Child Loop BB0_22 Depth 4
                                        ;           Child Loop BB0_24 Depth 5
	cmp	w22, #2
	b.le	LBB0_28
; %bb.15:                               ;   in Loop: Header=BB0_14 Depth=3
	ldr	w8, [sp, #44]                   ; 4-byte Folded Reload
	sub	w8, w8, w22
	ldr	w8, [x23, w8, sxtw #2]
	cmp	w8, #252
	str	w22, [sp, #80]                  ; 4-byte Folded Spill
	str	x24, [sp, #72]                  ; 8-byte Folded Spill
	b.ne	LBB0_17
; %bb.16:                               ;   in Loop: Header=BB0_14 Depth=3
	add	x1, sp, #96
	mov	x0, x24
	bl	_unpack_3
	mov	w8, #-3
	str	w8, [sp, #68]                   ; 4-byte Folded Spill
	mov	w8, #3
	b	LBB0_19
LBB0_17:                                ;   in Loop: Header=BB0_14 Depth=3
	cmp	w22, #13
	b.ls	LBB0_29
; %bb.18:                               ;   in Loop: Header=BB0_14 Depth=3
	add	x1, sp, #96
	mov	x0, x24
	bl	_unpack_14
	mov	w8, #-14
	str	w8, [sp, #68]                   ; 4-byte Folded Spill
	mov	w8, #14
LBB0_19:                                ;   in Loop: Header=BB0_14 Depth=3
	str	x8, [sp, #56]                   ; 8-byte Folded Spill
	ldr	w1, [x21, #4]
	ldr	w0, [sp, #92]                   ; 4-byte Folded Reload
	bl	_FFMIN
	ldr	w8, [sp, #52]                   ; 4-byte Folded Reload
	cmp	w8, w0
	b.ge	LBB0_13
; %bb.20:                               ;   in Loop: Header=BB0_14 Depth=3
	mov	x19, #0
	ldr	w8, [sp, #84]                   ; 4-byte Folded Reload
	lsl	w22, w8, #2
	add	w25, w22, #4
	ldr	w23, [sp, #52]                  ; 4-byte Folded Reload
	b	LBB0_22
LBB0_21:                                ;   in Loop: Header=BB0_22 Depth=4
	add	w23, w23, #1
	ldr	w1, [x21, #4]
	ldr	w0, [sp, #92]                   ; 4-byte Folded Reload
	bl	_FFMIN
	add	x19, x19, #4
	cmp	w23, w0
	b.ge	LBB0_13
LBB0_22:                                ;   Parent Loop BB0_2 Depth=1
                                        ;     Parent Loop BB0_11 Depth=2
                                        ;       Parent Loop BB0_14 Depth=3
                                        ; =>      This Loop Header: Depth=4
                                        ;           Child Loop BB0_24 Depth 5
	ldr	w1, [x21]
	mov	x0, x25
	bl	_FFMIN
	cmp	w22, w0
	b.ge	LBB0_21
; %bb.23:                               ;   in Loop: Header=BB0_22 Depth=4
	mov	x26, #0
	ldr	w24, [sp, #88]                  ; 4-byte Folded Reload
LBB0_24:                                ;   Parent Loop BB0_2 Depth=1
                                        ;     Parent Loop BB0_11 Depth=2
                                        ;       Parent Loop BB0_14 Depth=3
                                        ;         Parent Loop BB0_22 Depth=4
                                        ; =>        This Inner Loop Header: Depth=5
	ldr	w8, [x21]
	ldr	w9, [x21, #8]
	mul	w9, w23, w9
	madd	w8, w8, w27, w9
	add	w8, w24, w8
	sub	w9, w8, #1
	add	w10, w19, w26
	sbfiz	x10, x10, #2, #32
	ldrb	w11, [x28, x10]
	ldr	x12, [x21, #16]
	str	w11, [x12, w9, sxtw #2]
	ldr	w9, [x28, x10]
	asr	w9, w9, #8
	str	w9, [x12, w8, sxtw #2]
	ldr	w1, [x21]
	mov	x0, x25
	bl	_FFMIN
	add	x26, x26, #1
	add	w24, w24, #2
	add	x8, x20, x26
	cmp	x8, w0, sxtw
	b.lt	LBB0_24
	b	LBB0_21
LBB0_25:                                ;   in Loop: Header=BB0_2 Depth=1
	add	w27, w27, #2
LBB0_26:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x9, [sp, #16]                   ; 8-byte Folded Reload
	add	x9, x9, #1
	ldrsw	x8, [x20]
	cmp	x9, x8
	mov	x8, x9
	b.lt	LBB0_2
LBB0_27:
	mov	w0, #0
	b	LBB0_32
LBB0_28:
Lloh6:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh7:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
Lloh9:
	adrp	x2, l_.str@PAGE
Lloh10:
	add	x2, x2, l_.str@PAGEOFF
	b	LBB0_30
LBB0_29:
Lloh11:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh12:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
Lloh14:
	adrp	x2, l_.str.1@PAGE
Lloh15:
	add	x2, x2, l_.str.1@PAGEOFF
LBB0_30:
	ldr	x0, [sp]                        ; 8-byte Folded Reload
LBB0_31:
	mov	x3, x22
	bl	_av_log
Lloh16:
	adrp	x8, _AVERROR_INVALIDDATA@GOTPAGE
Lloh17:
	ldr	x8, [x8, _AVERROR_INVALIDDATA@GOTPAGEOFF]
Lloh18:
	ldr	w0, [x8]
LBB0_32:
	ldur	x8, [x29, #-96]
Lloh19:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh20:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh21:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_35
; %bb.33:
	ldp	x29, x30, [sp, #256]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #240]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #224]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #208]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #192]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #176]            ; 16-byte Folded Reload
	add	sp, sp, #272
	ret
LBB0_34:
Lloh22:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh23:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh24:
	ldr	w1, [x8]
Lloh25:
	adrp	x2, l_.str.2@PAGE
Lloh26:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	x0, x20
	b	LBB0_31
LBB0_35:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.comm	_EXR_HALF,8,3                   ; @EXR_HALF
	.comm	_AV_LOG_ERROR,4,2               ; @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Not enough data for B44A block: %d"

	.comm	_AVERROR_INVALIDDATA,4,2        ; @AVERROR_INVALIDDATA
l_.str.1:                               ; @.str.1
	.asciz	"Not enough data for B44 block: %d"

l_.str.2:                               ; @.str.2
	.asciz	"Not enough data for uncompress channel: %d"

	.no_dead_strip	_b44_uncompress
.subsections_via_symbols
