	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function calc_masking
_calc_masking:                          ## @calc_masking
	.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	$2200, %rsp                     ## imm = 0x898
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r12
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_SUBSUBFRAMES@GOTPCREL(%rip), %r11
	movl	(%r11), %eax
	xorl	%ecx, %ecx
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_1 Depth=1
	addq	$2, %rcx
	cmpq	$256, %rcx                      ## imm = 0x100
	je	LBB0_8
LBB0_1:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_3 Depth 2
                                        ##     Child Loop BB0_6 Depth 2
	testl	%eax, %eax
	jle	LBB0_4
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	(%r12), %rdx
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_3:                                 ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	(%rdx,%rsi,8), %rax
	movl	$-2047, (%rax,%rcx,4)           ## imm = 0xF801
	incq	%rsi
	movslq	(%r11), %rax
	cmpq	%rax, %rsi
	jl	LBB0_3
LBB0_4:                                 ##   in Loop: Header=BB0_1 Depth=1
	testl	%eax, %eax
	jle	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%rcx, %rdx
	orq	$1, %rdx
	movq	(%r12), %rsi
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_6:                                 ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	(%rsi,%rdi,8), %rax
	movl	$-2047, (%rax,%rdx,4)           ## imm = 0xF801
	incq	%rdi
	movslq	(%r11), %rax
	cmpq	%rax, %rdi
	jl	LBB0_6
	jmp	LBB0_7
LBB0_8:
	testl	%eax, %eax
	jle	LBB0_39
## %bb.9:
	movl	8(%r12), %ecx
	leaq	16(%rbx), %rdx
	movq	%rdx, -2192(%rbp)               ## 8-byte Spill
	xorl	%r10d, %r10d
	movl	$384, -2100(%rbp)               ## 4-byte Folded Spill
                                        ## imm = 0x180
	movl	$1, %r13d
	movl	$256, %r9d                      ## imm = 0x100
	movl	$128, %edi
	movl	$-128, %r14d
	xorl	%r15d, %r15d
	movq	%r12, -2200(%rbp)               ## 8-byte Spill
	movq	%rbx, -2152(%rbp)               ## 8-byte Spill
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_37:                                ##   in Loop: Header=BB0_10 Depth=1
	movq	_SUBSUBFRAMES@GOTPCREL(%rip), %r11
	movl	(%r11), %eax
	movq	-2176(%rbp), %r13               ## 8-byte Reload
	movl	-2140(%rbp), %r9d               ## 4-byte Reload
	movl	-2136(%rbp), %edi               ## 4-byte Reload
	movl	-2132(%rbp), %r14d              ## 4-byte Reload
	movq	-2120(%rbp), %r15               ## 8-byte Reload
LBB0_38:                                ##   in Loop: Header=BB0_10 Depth=1
	movq	-2128(%rbp), %r10               ## 8-byte Reload
	incq	%r10
	movslq	%eax, %rsi
	addl	$256, %r15d                     ## imm = 0x100
	addl	$-256, -2100(%rbp)              ## 4-byte Folded Spill
	decl	%r13d
	addl	$-256, %r9d
	addl	$256, %edi                      ## imm = 0x100
	addl	$-256, %r14d
                                        ## kill: def $r15d killed $r15d killed $r15 def $r15
	cmpq	%rsi, %r10
	jge	LBB0_39
LBB0_10:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_12 Depth 2
                                        ##       Child Loop BB0_16 Depth 3
                                        ##       Child Loop BB0_19 Depth 3
                                        ##       Child Loop BB0_28 Depth 3
                                        ##       Child Loop BB0_35 Depth 3
	cmpl	$513, %edi                      ## imm = 0x201
	movl	$512, %esi                      ## imm = 0x200
	cmovael	%edi, %esi
	movq	%r15, -2112(%rbp)               ## 8-byte Spill
	movl	%r15d, %r15d
	movq	%r10, -2128(%rbp)               ## 8-byte Spill
                                        ## kill: def $r10d killed $r10d killed $r10 def $r10
	shll	$8, %r10d
	leal	128(%r10), %r8d
	cmpl	$513, %r8d                      ## imm = 0x201
	movl	$512, %edx                      ## imm = 0x200
	cmovbl	%edx, %r8d
	testl	%ecx, %ecx
	jle	LBB0_38
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=1
	movl	%edi, -2136(%rbp)               ## 4-byte Spill
	movl	%r14d, -2132(%rbp)              ## 4-byte Spill
	addl	%r14d, %esi
	leaq	-2096(,%rsi,4), %rax
	addq	%rbp, %rax
	movq	%rax, -2232(%rbp)               ## 8-byte Spill
	movl	$504, %eax                      ## imm = 0x1F8
	subq	%rsi, %rax
	shrq	$3, %rax
	incq	%rax
	andq	$-2, %rax
	movq	%rax, -2224(%rbp)               ## 8-byte Spill
	movl	%r9d, -2140(%rbp)               ## 4-byte Spill
	movq	%r15, %rcx
	movl	%r9d, %r15d
	subq	$-128, %r15
	leaq	128(%rcx), %rax
	movq	%rax, -2184(%rbp)               ## 8-byte Spill
	movq	%r13, -2176(%rbp)               ## 8-byte Spill
                                        ## kill: def $r13d killed $r13d killed $r13 def $r13
	andl	$16777215, %r13d                ## imm = 0xFFFFFF
	shlq	$10, %r13
	orq	$512, %r13                      ## imm = 0x200
	subl	%r10d, %r8d
	addl	$-128, %r8d
	movl	$504, %eax                      ## imm = 0x1F8
	subq	%r8, %rax
	shrq	$3, %rax
	incq	%rax
	movq	%rax, -2216(%rbp)               ## 8-byte Spill
	movl	$256, %eax                      ## imm = 0x100
	subl	%r10d, %eax
	orq	$128, %rax
	movl	$512, %edx                      ## imm = 0x200
	movq	%r8, -2168(%rbp)                ## 8-byte Spill
	subq	%r8, %rdx
	movq	-2112(%rbp), %rsi               ## 8-byte Reload
	orl	$128, %esi
	addq	%rax, %rsi
	movq	%rsi, -2112(%rbp)               ## 8-byte Spill
	movq	%rcx, -2120(%rbp)               ## 8-byte Spill
	leaq	(,%rcx,4), %rcx
	movq	-2128(%rbp), %rax               ## 8-byte Reload
	movl	%eax, %edi
	shll	$8, %edi
	orl	$128, %edi
	orq	$512, %rcx                      ## imm = 0x200
	movq	%rcx, -2240(%rbp)               ## 8-byte Spill
	movq	%rdx, -2208(%rbp)               ## 8-byte Spill
	andq	$-8, %rdx
	movq	%rdx, -2160(%rbp)               ## 8-byte Spill
	xorl	%r14d, %r14d
	movl	%edi, -2144(%rbp)               ## 4-byte Spill
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_36:                                ##   in Loop: Header=BB0_12 Depth=2
	movq	(%r12), %rax
	movq	-2128(%rbp), %rcx               ## 8-byte Reload
	movq	(%rax,%rcx,8), %rdx
	movq	%r12, %rdi
	leaq	-2096(%rbp), %rsi
	callq	_adjust_jnd
	incq	%r14
	movslq	8(%r12), %rcx
	cmpq	%rcx, %r14
	movl	-2144(%rbp), %edi               ## 4-byte Reload
	jge	LBB0_37
LBB0_12:                                ##   Parent Loop BB0_10 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_16 Depth 3
                                        ##       Child Loop BB0_19 Depth 3
                                        ##       Child Loop BB0_28 Depth 3
                                        ##       Child Loop BB0_35 Depth 3
	movq	16(%r12), %rax
	movslq	(%rax,%r14,4), %rsi
	cmpl	$511, %edi                      ## imm = 0x1FF
	ja	LBB0_13
## %bb.14:                              ##   in Loop: Header=BB0_12 Depth=2
	movq	24(%r12), %rax
	movq	(%rax,%r14,8), %rax
	movq	-2240(%rbp), %rcx               ## 8-byte Reload
	addq	%rax, %rcx
	negq	%rcx
	addq	%rbp, %rcx
	addq	$-2096, %rcx                    ## imm = 0xF7D0
	cmpq	$32, %rcx
	jae	LBB0_15
## %bb.18:                              ##   in Loop: Header=BB0_12 Depth=2
	movq	-2120(%rbp), %rcx               ## 8-byte Reload
	leaq	(%rax,%rcx,4), %rax
	addq	$524, %rax                      ## imm = 0x20C
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_19:                                ##   Parent Loop BB0_10 Depth=1
                                        ##     Parent Loop BB0_12 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movl	-12(%rax,%rdx,4), %ecx
	movl	%ecx, -2096(%rbp,%rdx,4)
	movl	-8(%rax,%rdx,4), %ecx
	movl	%ecx, -2092(%rbp,%rdx,4)
	movl	-4(%rax,%rdx,4), %ecx
	movl	%ecx, -2088(%rbp,%rdx,4)
	movl	(%rax,%rdx,4), %ecx
	movl	%ecx, -2084(%rbp,%rdx,4)
	addq	$4, %rdx
	cmpq	%rdx, %r15
	jne	LBB0_19
## %bb.20:                              ##   in Loop: Header=BB0_12 Depth=2
	addq	-2184(%rbp), %rdx               ## 8-byte Folded Reload
	cmpl	$511, -2100(%rbp)               ## 4-byte Folded Reload
                                        ## imm = 0x1FF
	ja	LBB0_36
	jmp	LBB0_22
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_12 Depth=2
	movq	%rbx, %r11
	xorl	%eax, %eax
	movl	%edi, %edx
	jmp	LBB0_23
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_12 Depth=2
	movq	-2120(%rbp), %rcx               ## 8-byte Reload
	leaq	(%rax,%rcx,4), %rax
	addq	$624, %rax                      ## imm = 0x270
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_16:                                ##   Parent Loop BB0_10 Depth=1
                                        ##     Parent Loop BB0_12 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movups	-112(%rax,%rcx), %xmm0
	movups	-96(%rax,%rcx), %xmm1
	movaps	%xmm0, -2096(%rbp,%rcx)
	movaps	%xmm1, -2080(%rbp,%rcx)
	movups	-80(%rax,%rcx), %xmm0
	movups	-64(%rax,%rcx), %xmm1
	movaps	%xmm0, -2064(%rbp,%rcx)
	movaps	%xmm1, -2048(%rbp,%rcx)
	movups	-48(%rax,%rcx), %xmm0
	movups	-32(%rax,%rcx), %xmm1
	movaps	%xmm0, -2032(%rbp,%rcx)
	movaps	%xmm1, -2016(%rbp,%rcx)
	movups	-16(%rax,%rcx), %xmm0
	movups	(%rax,%rcx), %xmm1
	movaps	%xmm0, -2000(%rbp,%rcx)
	movaps	%xmm1, -1984(%rbp,%rcx)
	subq	$-128, %rcx
	cmpq	%rcx, %r13
	jne	LBB0_16
## %bb.17:                              ##   in Loop: Header=BB0_12 Depth=2
	movq	-2112(%rbp), %rdx               ## 8-byte Reload
	cmpl	$511, -2100(%rbp)               ## 4-byte Folded Reload
                                        ## imm = 0x1FF
	ja	LBB0_36
LBB0_22:                                ##   in Loop: Header=BB0_12 Depth=2
	movq	%rbx, %r11
	movl	-2100(%rbp), %eax               ## 4-byte Reload
LBB0_23:                                ##   in Loop: Header=BB0_12 Depth=2
	movq	-2168(%rbp), %rbx               ## 8-byte Reload
	addl	$-512, %edx                     ## imm = 0xFE00
	movl	32(%r12), %edi
	movl	%eax, %ecx
	movslq	%edx, %r9
	movslq	%edi, %r10
	cmpl	$512, %ebx                      ## imm = 0x200
	je	LBB0_24
## %bb.25:                              ##   in Loop: Header=BB0_12 Depth=2
	cmpl	$1, %edi
	jne	LBB0_26
## %bb.27:                              ##   in Loop: Header=BB0_12 Depth=2
	movq	-2160(%rbp), %rax               ## 8-byte Reload
	leaq	(%rax,%r9), %r8
	addq	%rax, %rcx
	leaq	8(%r9), %rax
	imulq	%r10, %rax
	movq	-2192(%rbp), %rdx               ## 8-byte Reload
	leaq	(%rdx,%rax,4), %rdi
	movq	%r10, %r11
	shlq	$4, %r11
	imulq	%r10, %r9
	leaq	(%rdx,%r9,4), %rdx
	movq	-2224(%rbp), %r12               ## 8-byte Reload
	movq	%rsi, %rax
	movq	-2232(%rbp), %rbx               ## 8-byte Reload
	.p2align	4, 0x90
LBB0_28:                                ##   Parent Loop BB0_10 Depth=1
                                        ##     Parent Loop BB0_12 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movups	-16(%rdx,%rax,4), %xmm0
	movups	(%rdx,%rax,4), %xmm1
	movaps	%xmm0, (%rbx)
	movups	%xmm1, 16(%rbx)
	movups	-16(%rdi,%rax,4), %xmm0
	movups	(%rdi,%rax,4), %xmm1
	movaps	%xmm0, 32(%rbx)
	movups	%xmm1, 48(%rbx)
	addq	$64, %rbx
	addq	%r11, %rax
	addq	$-2, %r12
	jne	LBB0_28
## %bb.29:                              ##   in Loop: Header=BB0_12 Depth=2
	testb	$1, -2216(%rbp)                 ## 1-byte Folded Reload
	movq	-2200(%rbp), %r12               ## 8-byte Reload
	je	LBB0_31
## %bb.30:                              ##   in Loop: Header=BB0_12 Depth=2
	addq	%rax, %r9
	movq	-2152(%rbp), %rax               ## 8-byte Reload
	movups	(%rax,%r9,4), %xmm0
	movups	16(%rax,%r9,4), %xmm1
	movaps	%xmm0, (%rbx)
	movups	%xmm1, 16(%rbx)
LBB0_31:                                ##   in Loop: Header=BB0_12 Depth=2
	movq	-2160(%rbp), %rax               ## 8-byte Reload
	cmpq	%rax, -2208(%rbp)               ## 8-byte Folded Reload
	movq	-2152(%rbp), %rbx               ## 8-byte Reload
	je	LBB0_36
	jmp	LBB0_32
LBB0_26:                                ##   in Loop: Header=BB0_12 Depth=2
	movq	%r11, %rbx
	movq	%r9, %r8
LBB0_32:                                ##   in Loop: Header=BB0_12 Depth=2
	testb	$1, %cl
	je	LBB0_34
LBB0_33:                                ##   in Loop: Header=BB0_12 Depth=2
	movq	%r8, %rax
	imulq	%r10, %rax
	addq	%rsi, %rax
	movl	(%rbx,%rax,4), %eax
	movl	%eax, -2096(%rbp,%rcx,4)
	incq	%rcx
	incq	%r8
LBB0_34:                                ##   in Loop: Header=BB0_12 Depth=2
	movq	%r8, %rax
	imulq	%r10, %rax
	leaq	(%rbx,%rax,4), %rax
	incq	%r8
	imulq	%r10, %r8
	addq	%r10, %r10
	leaq	(%rbx,%r8,4), %rdx
	.p2align	4, 0x90
LBB0_35:                                ##   Parent Loop BB0_10 Depth=1
                                        ##     Parent Loop BB0_12 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movl	(%rax,%rsi,4), %edi
	movl	%edi, -2096(%rbp,%rcx,4)
	movl	(%rdx,%rsi,4), %edi
	movl	%edi, -2092(%rbp,%rcx,4)
	addq	$2, %rcx
	addq	%r10, %rsi
	cmpq	$512, %rcx                      ## imm = 0x200
	jne	LBB0_35
	jmp	LBB0_36
LBB0_24:                                ##   in Loop: Header=BB0_12 Depth=2
	movq	%r9, %r8
	movq	%r11, %rbx
	testb	$1, %cl
	jne	LBB0_33
	jmp	LBB0_34
LBB0_39:
	movq	40(%r12), %r8
	xorl	%edx, %edx
	testl	%eax, %eax
	jle	LBB0_41
	.p2align	4, 0x90
LBB0_42:
	movq	(%r12), %rsi
	movl	%eax, %r10d
	leaq	-1(%r10), %rax
	movl	%r10d, %r9d
	andl	$3, %r9d
	cmpq	$3, %rax
	jae	LBB0_44
## %bb.43:
	movl	$2048, %edi                     ## imm = 0x800
	xorl	%ecx, %ecx
LBB0_52:
	testq	%r9, %r9
	je	LBB0_55
## %bb.53:
	leaq	(%rsi,%rcx,8), %rax
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_54:                                ## =>This Inner Loop Header: Depth=1
	movq	(%rax,%rcx,8), %rsi
	movl	(%rsi,%rdx,4), %esi
	cmpl	%edi, %esi
	cmovll	%esi, %edi
	incq	%rcx
	cmpq	%rcx, %r9
	jne	LBB0_54
	jmp	LBB0_55
	.p2align	4, 0x90
LBB0_41:
	movl	$2048, %edi                     ## imm = 0x800
LBB0_55:
	movl	%edi, (%r8,%rdx,4)
	incq	%rdx
	cmpq	$256, %rdx                      ## imm = 0x100
	je	LBB0_57
## %bb.56:
	movl	(%r11), %eax
	testl	%eax, %eax
	jg	LBB0_42
	jmp	LBB0_41
	.p2align	4, 0x90
LBB0_44:
	andl	$-4, %r10d
	movl	$2048, %edi                     ## imm = 0x800
	xorl	%ecx, %ecx
	jmp	LBB0_45
	.p2align	4, 0x90
LBB0_51:                                ##   in Loop: Header=BB0_45 Depth=1
	addq	$4, %rcx
	cmpq	%rcx, %r10
	je	LBB0_52
LBB0_45:                                ## =>This Inner Loop Header: Depth=1
	movq	(%rsi,%rcx,8), %rax
	movq	8(%rsi,%rcx,8), %rbx
	movl	(%rax,%rdx,4), %eax
	cmpl	%edi, %eax
	cmovll	%eax, %edi
	movl	(%rbx,%rdx,4), %ebx
	cmpl	%edi, %ebx
	jl	LBB0_47
## %bb.46:                              ##   in Loop: Header=BB0_45 Depth=1
	movl	%edi, %ebx
LBB0_47:                                ##   in Loop: Header=BB0_45 Depth=1
	movq	16(%rsi,%rcx,8), %rax
	movl	(%rax,%rdx,4), %eax
	cmpl	%ebx, %eax
	jl	LBB0_49
## %bb.48:                              ##   in Loop: Header=BB0_45 Depth=1
	movl	%ebx, %eax
LBB0_49:                                ##   in Loop: Header=BB0_45 Depth=1
	movq	24(%rsi,%rcx,8), %rdi
	movl	(%rdi,%rdx,4), %edi
	cmpl	%eax, %edi
	jl	LBB0_51
## %bb.50:                              ##   in Loop: Header=BB0_45 Depth=1
	movl	%eax, %edi
	jmp	LBB0_51
LBB0_57:
	xorl	%ebx, %ebx
	movq	_update_band_masking@GOTPCREL(%rip), %r14
	.p2align	4, 0x90
LBB0_58:                                ## =>This Inner Loop Header: Depth=1
	movq	48(%r12), %rax
	movl	$2048, (%rax,%rbx,4)            ## imm = 0x800
	movl	(%r14), %ecx
	movq	%r12, %rdi
	movl	%ebx, %esi
	xorl	%edx, %edx
	xorl	%r8d, %r8d
	callq	_walk_band_low
	movl	(%r14), %ecx
	movq	%r12, %rdi
	movl	%ebx, %esi
	xorl	%edx, %edx
	xorl	%r8d, %r8d
	callq	_walk_band_high
	incq	%rbx
	cmpq	$32, %rbx
	jne	LBB0_58
## %bb.59:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_61
## %bb.60:
	addq	$2200, %rsp                     ## imm = 0x898
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_61:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_SUBSUBFRAMES,4,2               ## @SUBSUBFRAMES
	.comm	_update_band_masking,4,2        ## @update_band_masking
	.no_dead_strip	_calc_masking
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function calc_masking
_calc_masking:                          ; @calc_masking
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	sub	sp, sp, #2176
	str	x1, [sp, #104]                  ; 8-byte Folded Spill
	mov	x19, x0
	mov	x9, #0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-96]
Lloh3:
	adrp	x2, _SUBSUBFRAMES@GOTPAGE
Lloh4:
	ldr	x2, [x2, _SUBSUBFRAMES@GOTPAGEOFF]
	ldr	w8, [x2]
	mov	w10, #-2047
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	add	x9, x9, #1
	cmp	x9, #256
	b.eq	LBB0_5
LBB0_2:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_4 Depth 2
	cmp	w8, #1
	b.lt	LBB0_1
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x11, #0
	ldr	x12, [x19]
LBB0_4:                                 ;   Parent Loop BB0_2 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [x12, x11, lsl #3]
	str	w10, [x8, x9, lsl #2]
	add	x11, x11, #1
	ldrsw	x8, [x2]
	cmp	x11, x8
	b.lt	LBB0_4
	b	LBB0_1
LBB0_5:
	cmp	w8, #1
	b.lt	LBB0_30
; %bb.6:
	mov	x22, #0
	mov	w9, #0
	ldr	w10, [x19, #8]
	add	x23, sp, #112
	add	x11, x23, #32
	str	x11, [sp, #64]                  ; 8-byte Folded Spill
	ldr	x11, [sp, #104]                 ; 8-byte Folded Reload
	add	x11, x11, #32
	str	x11, [sp, #80]                  ; 8-byte Folded Spill
	mov	w26, #384
	mov	w13, #1
	mov	w14, #128
	mov	w15, #-128
	mov	w16, #512
	mov	w17, #256
	b	LBB0_9
LBB0_7:                                 ;   in Loop: Header=BB0_9 Depth=1
Lloh5:
	adrp	x2, _SUBSUBFRAMES@GOTPAGE
Lloh6:
	ldr	x2, [x2, _SUBSUBFRAMES@GOTPAGEOFF]
	ldr	w8, [x2]
	ldp	x14, x13, [sp, #16]             ; 16-byte Folded Reload
	ldp	w17, w15, [sp, #8]              ; 8-byte Folded Reload
	mov	w16, #512
	ldr	x0, [sp, #72]                   ; 8-byte Folded Reload
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=1
	add	x22, x22, #1
	add	w9, w0, #256
	sub	w26, w26, #256
	sub	w13, w13, #1
	sub	w17, w17, #256
	add	w14, w14, #256
	sub	w15, w15, #256
	cmp	x22, w8, sxtw
	b.ge	LBB0_30
LBB0_9:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_12 Depth 2
                                        ;       Child Loop BB0_19 Depth 3
                                        ;       Child Loop BB0_15 Depth 3
                                        ;       Child Loop BB0_25 Depth 3
                                        ;       Child Loop BB0_29 Depth 3
	cmp	w14, #512
	csel	w12, w14, w16, hi
	mov	w0, w9
	mov	w11, #128
	bfi	w11, w22, #8, #24
	cmp	w11, #512
	csel	w11, w11, w16, hi
	cmp	w10, #1
	b.lt	LBB0_8
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	stp	x14, x13, [sp, #16]             ; 16-byte Folded Spill
	mov	x27, #0
	stp	w17, w15, [sp, #8]              ; 8-byte Folded Spill
	add	w8, w12, w15
	sub	x10, x16, x8
	and	x10, x10, #0xfffffffffffffff0
	str	x10, [sp, #96]                  ; 8-byte Folded Spill
	mov	w10, w17
	add	x10, x10, #128
	str	x10, [sp, #56]                  ; 8-byte Folded Spill
	and	x10, x13, #0xffffff
	mov	w12, #128
	bfi	x12, x10, #8, #24
	str	x12, [sp, #48]                  ; 8-byte Folded Spill
	lsl	w10, w22, #8
	mov	w12, #256
	sub	w12, w12, w10
	orr	x12, x12, #0x80
	sub	w10, w11, w10
	sub	w24, w10, #128
	mov	w10, #512
	sub	x20, x10, x24
	orr	w10, w9, #0x80
	str	x0, [sp, #72]                   ; 8-byte Folded Spill
	lsl	x9, x0, #2
	mov	w28, #128
	bfi	w28, w22, #8, #24
	orr	x25, x9, #0x200
	add	x9, x12, x10
	stp	x9, x10, [sp, #32]              ; 16-byte Folded Spill
	and	x21, x20, #0xfffffffffffffff0
	ldr	x9, [sp, #64]                   ; 8-byte Folded Reload
	add	x8, x9, w8, uxtw #2
	str	x8, [sp, #88]                   ; 8-byte Folded Spill
	b	LBB0_12
LBB0_11:                                ;   in Loop: Header=BB0_12 Depth=2
	ldr	x8, [x19]
	ldr	x2, [x8, x22, lsl #3]
	add	x1, sp, #112
	mov	x0, x19
	bl	_adjust_jnd
	add	x27, x27, #1
	ldrsw	x10, [x19, #8]
	cmp	x27, x10
	b.ge	LBB0_7
LBB0_12:                                ;   Parent Loop BB0_9 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_19 Depth 3
                                        ;       Child Loop BB0_15 Depth 3
                                        ;       Child Loop BB0_25 Depth 3
                                        ;       Child Loop BB0_29 Depth 3
	ldr	x8, [x19, #16]
	ldrsw	x8, [x8, x27, lsl #2]
	cmp	w28, #511
	b.hi	LBB0_17
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=2
	ldr	x9, [x19, #24]
	ldr	x10, [x9, x27, lsl #3]
	add	x9, x25, x10
	sub	x9, x23, x9
	cmp	x9, #64
	b.hs	LBB0_18
; %bb.14:                               ;   in Loop: Header=BB0_12 Depth=2
	add	x11, sp, #112
	ldr	x12, [sp, #56]                  ; 8-byte Folded Reload
	ldr	x9, [sp, #40]                   ; 8-byte Folded Reload
LBB0_15:                                ;   Parent Loop BB0_9 Depth=1
                                        ;     Parent Loop BB0_12 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	ldr	w13, [x10, x9, lsl #2]
	str	w13, [x11], #4
	add	x9, x9, #1
	subs	x12, x12, #1
	b.ne	LBB0_15
; %bb.16:                               ;   in Loop: Header=BB0_12 Depth=2
	cmp	w26, #511
	b.hi	LBB0_11
	b	LBB0_21
LBB0_17:                                ;   in Loop: Header=BB0_12 Depth=2
	mov	w10, #0
	mov	x9, x28
	b	LBB0_22
LBB0_18:                                ;   in Loop: Header=BB0_12 Depth=2
	ldr	x9, [sp, #72]                   ; 8-byte Folded Reload
	add	x9, x10, x9, lsl #2
	add	x9, x9, #560
	ldr	x10, [sp, #64]                  ; 8-byte Folded Reload
	ldr	x11, [sp, #48]                  ; 8-byte Folded Reload
LBB0_19:                                ;   Parent Loop BB0_9 Depth=1
                                        ;     Parent Loop BB0_12 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	ldp	q0, q1, [x9, #-48]
	ldp	q2, q3, [x9, #-16]
	stp	q0, q1, [x10, #-32]
	stp	q2, q3, [x10], #64
	add	x9, x9, #64
	subs	x11, x11, #16
	b.ne	LBB0_19
; %bb.20:                               ;   in Loop: Header=BB0_12 Depth=2
	ldr	x9, [sp, #32]                   ; 8-byte Folded Reload
	cmp	w26, #511
	b.hi	LBB0_11
LBB0_21:                                ;   in Loop: Header=BB0_12 Depth=2
	mov	x10, x26
LBB0_22:                                ;   in Loop: Header=BB0_12 Depth=2
	sub	w12, w9, #512
	ldr	w11, [x19, #32]
	mov	w9, w10
	sxtw	x12, w12
	sxtw	x10, w11
	cmp	w24, #512
	b.eq	LBB0_27
; %bb.23:                               ;   in Loop: Header=BB0_12 Depth=2
	cmp	w11, #1
	b.ne	LBB0_27
; %bb.24:                               ;   in Loop: Header=BB0_12 Depth=2
	add	x11, x21, x12
	add	x9, x21, x9
	madd	x12, x10, x12, x8
	ldp	x13, x14, [sp, #80]             ; 16-byte Folded Reload
	add	x12, x13, x12, lsl #2
	lsl	x13, x10, #6
	ldr	x15, [sp, #96]                  ; 8-byte Folded Reload
LBB0_25:                                ;   Parent Loop BB0_9 Depth=1
                                        ;     Parent Loop BB0_12 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	ldp	q0, q1, [x12, #-32]
	ldp	q2, q3, [x12]
	stp	q0, q1, [x14, #-32]
	stp	q2, q3, [x14], #64
	add	x12, x12, x13
	subs	x15, x15, #16
	b.ne	LBB0_25
; %bb.26:                               ;   in Loop: Header=BB0_12 Depth=2
	cmp	x20, x21
	b.eq	LBB0_11
	b	LBB0_28
LBB0_27:                                ;   in Loop: Header=BB0_12 Depth=2
	mov	x11, x12
LBB0_28:                                ;   in Loop: Header=BB0_12 Depth=2
	madd	x8, x11, x10, x8
	ldr	x11, [sp, #104]                 ; 8-byte Folded Reload
	add	x8, x11, x8, lsl #2
	lsl	x10, x10, #2
LBB0_29:                                ;   Parent Loop BB0_9 Depth=1
                                        ;     Parent Loop BB0_12 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	ldr	w11, [x8]
	str	w11, [x23, x9, lsl #2]
	add	x9, x9, #1
	add	x8, x8, x10
	cmp	x9, #512
	b.ne	LBB0_29
	b	LBB0_11
LBB0_30:
	mov	x9, #0
	ldr	x10, [x19, #40]
	cmp	w8, #1
	b.ge	LBB0_33
	b	LBB0_32
LBB0_31:
	ldr	w8, [x2]
	cmp	w8, #1
	b.ge	LBB0_33
LBB0_32:
	mov	w13, #2048
	b	LBB0_40
LBB0_33:
	ldr	x12, [x19]
	mov	w11, w8
	cmp	w8, #1
	b.ne	LBB0_35
; %bb.34:
	mov	x8, #0
	mov	w13, #2048
	b	LBB0_38
LBB0_35:
	and	x8, x11, #0xfffffffe
	add	x14, x12, #8
	mov	w13, #2048
	mov	x15, x8
	mov	w16, #2048
LBB0_36:                                ; =>This Inner Loop Header: Depth=1
	ldp	x17, x0, [x14, #-8]
	lsl	x1, x9, #2
	ldr	w17, [x17, x1]
	ldr	w0, [x0, x1]
	cmp	w17, w13
	csel	w13, w17, w13, lt
	cmp	w0, w16
	csel	w16, w0, w16, lt
	add	x14, x14, #16
	subs	x15, x15, #2
	b.ne	LBB0_36
; %bb.37:
	cmp	w13, w16
	csel	w13, w13, w16, lt
	cmp	x8, x11
	b.eq	LBB0_40
LBB0_38:
	add	x12, x12, x8, lsl #3
	sub	x8, x11, x8
LBB0_39:                                ; =>This Inner Loop Header: Depth=1
	ldr	x11, [x12], #8
	ldr	w11, [x11, x9, lsl #2]
	cmp	w11, w13
	csel	w13, w11, w13, lt
	subs	x8, x8, #1
	b.ne	LBB0_39
LBB0_40:
	str	w13, [x10, x9, lsl #2]
	add	x9, x9, #1
	cmp	x9, #256
	b.ne	LBB0_31
; %bb.41:
	mov	x20, #0
	mov	w21, #2048
Lloh7:
	adrp	x22, _update_band_masking@GOTPAGE
Lloh8:
	ldr	x22, [x22, _update_band_masking@GOTPAGEOFF]
LBB0_42:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #48]
	str	w21, [x8, x20, lsl #2]
	ldr	w3, [x22]
	mov	x0, x19
	mov	x1, x20
	mov	w2, #0
	mov	x4, #0
	bl	_walk_band_low
	ldr	w3, [x22]
	mov	x0, x19
	mov	x1, x20
	mov	w2, #0
	mov	x4, #0
	bl	_walk_band_high
	add	x20, x20, #1
	cmp	x20, #32
	b.ne	LBB0_42
; %bb.43:
	ldur	x8, [x29, #-96]
Lloh9:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh10:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_45
; %bb.44:
	add	sp, sp, #2176
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_45:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_SUBSUBFRAMES,4,2               ; @SUBSUBFRAMES
	.comm	_update_band_masking,4,2        ; @update_band_masking
	.no_dead_strip	_calc_masking
.subsections_via_symbols
