	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function Adam7_deinterlace
_Adam7_deinterlace:                     ## @Adam7_deinterlace
	.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	$488, %rsp                      ## imm = 0x1E8
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, %ebx
	movl	%ecx, %eax
	movl	%edx, %r9d
	movq	%rsi, %r15
	movq	%rdi, %r13
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, -48(%rbp)
	leaq	-80(%rbp), %rdi
	leaq	-112(%rbp), %rsi
	leaq	-176(%rbp), %rdx
	leaq	-240(%rbp), %rcx
	leaq	-304(%rbp), %r8
	movl	%r9d, -324(%rbp)                ## 4-byte Spill
	pushq	%rbx
	pushq	%rax
	callq	_Adam7_getpassvalues
	movq	%rbx, %r9
	addq	$16, %rsp
	cmpl	$7, %r9d
	movq	%rbx, -384(%rbp)                ## 8-byte Spill
	movq	%r15, %rax
	movq	%r15, -360(%rbp)                ## 8-byte Spill
	jbe	LBB0_1
## %bb.6:
	movl	%r9d, %r12d
	shrl	$3, %r12d
	movl	%r12d, %eax
	andl	$-32, %eax
	addq	$-32, %rax
	movq	%rax, -472(%rbp)                ## 8-byte Spill
	movq	%rax, %rcx
	shrq	$5, %rcx
	incq	%rcx
	movl	%r12d, %eax
	andl	$-32, %eax
	movq	%rax, -376(%rbp)                ## 8-byte Spill
	movq	%rcx, %rax
	movq	%rcx, -464(%rbp)                ## 8-byte Spill
	andq	$-2, %rcx
	movq	%rcx, -416(%rbp)                ## 8-byte Spill
	movl	%r12d, %r14d
	andl	$-8, %r14d
	movl	%r12d, %eax
	andl	$3, %eax
	leaq	48(%r15), %rcx
	movq	%rcx, -400(%rbp)                ## 8-byte Spill
	leaq	48(%r13), %rcx
	movq	%rcx, -408(%rbp)                ## 8-byte Spill
	leaq	3(%r13), %rcx
	movq	%rcx, -480(%rbp)                ## 8-byte Spill
	leaq	3(%r15), %rcx
	movq	%rcx, -392(%rbp)                ## 8-byte Spill
	movq	%rax, %r15
	xorl	%edx, %edx
	movq	%r14, -456(%rbp)                ## 8-byte Spill
	movq	%rax, -448(%rbp)                ## 8-byte Spill
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_36:                                ##   in Loop: Header=BB0_7 Depth=1
	incq	%rdx
	cmpq	$7, %rdx
	je	LBB0_46
LBB0_7:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_9 Depth 2
                                        ##       Child Loop BB0_11 Depth 3
                                        ##         Child Loop BB0_20 Depth 4
                                        ##         Child Loop BB0_26 Depth 4
                                        ##         Child Loop BB0_30 Depth 4
                                        ##         Child Loop BB0_33 Depth 4
	movl	-112(%rbp,%rdx,4), %eax
	movl	%eax, -364(%rbp)                ## 4-byte Spill
	testl	%eax, %eax
	je	LBB0_36
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	movl	-80(%rbp,%rdx,4), %ecx
	xorl	%eax, %eax
	movq	%rax, -336(%rbp)                ## 8-byte Spill
	xorl	%eax, %eax
	movq	%rax, -320(%rbp)                ## 8-byte Spill
	movq	%rdx, -512(%rbp)                ## 8-byte Spill
	movq	%rcx, -504(%rbp)                ## 8-byte Spill
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_35:                                ##   in Loop: Header=BB0_9 Depth=2
	movq	-320(%rbp), %rsi                ## 8-byte Reload
	incq	%rsi
	movq	-336(%rbp), %rax                ## 8-byte Reload
	addl	%ecx, %eax
	movq	%rax, -336(%rbp)                ## 8-byte Spill
	movq	%rsi, -320(%rbp)                ## 8-byte Spill
	cmpl	-364(%rbp), %esi                ## 4-byte Folded Reload
	je	LBB0_36
LBB0_9:                                 ##   Parent Loop BB0_7 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_11 Depth 3
                                        ##         Child Loop BB0_20 Depth 4
                                        ##         Child Loop BB0_26 Depth 4
                                        ##         Child Loop BB0_30 Depth 4
                                        ##         Child Loop BB0_33 Depth 4
	testq	%rcx, %rcx
	je	LBB0_35
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=2
	movq	-320(%rbp), %rax                ## 8-byte Reload
	movq	%rax, %rsi
	imulq	%rcx, %rsi
	movq	%rsi, -496(%rbp)                ## 8-byte Spill
	movq	-304(%rbp,%rdx,8), %rsi
	movl	%ecx, %ebx
	imull	%eax, %ebx
	movq	%rbx, -424(%rbp)                ## 8-byte Spill
	movq	-360(%rbp), %rax                ## 8-byte Reload
	addq	%rsi, %rax
	movq	%rax, -344(%rbp)                ## 8-byte Spill
	movq	-400(%rbp), %rax                ## 8-byte Reload
	addq	%rsi, %rax
	movq	%rax, -440(%rbp)                ## 8-byte Spill
	movq	-392(%rbp), %rax                ## 8-byte Reload
	movq	%rsi, -432(%rbp)                ## 8-byte Spill
	addq	%rsi, %rax
	movq	%rax, -488(%rbp)                ## 8-byte Spill
	movq	-336(%rbp), %rax                ## 8-byte Reload
                                        ## kill: def $eax killed $eax killed $rax
	xorl	%r11d, %r11d
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_34:                                ##   in Loop: Header=BB0_11 Depth=3
	incq	%r11
	movl	-352(%rbp), %eax                ## 4-byte Reload
	incl	%eax
	movq	-504(%rbp), %rcx                ## 8-byte Reload
	cmpq	%rcx, %r11
	movq	-384(%rbp), %r9                 ## 8-byte Reload
	movq	-512(%rbp), %rdx                ## 8-byte Reload
	je	LBB0_35
LBB0_11:                                ##   Parent Loop BB0_7 Depth=1
                                        ##     Parent Loop BB0_9 Depth=2
                                        ## =>    This Loop Header: Depth=3
                                        ##         Child Loop BB0_20 Depth 4
                                        ##         Child Loop BB0_26 Depth 4
                                        ##         Child Loop BB0_30 Depth 4
                                        ##         Child Loop BB0_33 Depth 4
	movl	%eax, -352(%rbp)                ## 4-byte Spill
	movl	%eax, %r8d
	imulq	%r12, %r8
	movq	_ADAM7_IY@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_ADAM7_DY@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%r9, %rbx
	movl	(%rcx,%rdx,4), %r9d
	imull	-320(%rbp), %r9d                ## 4-byte Folded Reload
	addl	(%rax,%rdx,4), %r9d
	movq	-344(%rbp), %rcx                ## 8-byte Reload
	leaq	(%rcx,%r8), %rsi
	imull	-324(%rbp), %r9d                ## 4-byte Folded Reload
	movq	_ADAM7_IX@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax,%rdx,4), %r10d
	movq	_ADAM7_DX@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax,%rdx,4), %eax
	imull	%r11d, %eax
	cmpl	$64, %ebx
	movq	%rax, -312(%rbp)                ## 8-byte Spill
	jae	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=3
	xorl	%ebx, %ebx
	jmp	LBB0_28
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_11 Depth=3
	movq	%rbx, %rdi
	leal	(%r9,%r10), %ebx
	addl	%eax, %ebx
	imulq	%r12, %rbx
	movq	-496(%rbp), %rax                ## 8-byte Reload
	addl	%r11d, %eax
	imulq	%r12, %rax
	addq	%rcx, %rax
	leaq	(%rbx,%r13), %rdx
	subq	%rax, %rdx
	cmpq	$32, %rdx
	jae	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_11 Depth=3
	xorl	%ebx, %ebx
	movq	-312(%rbp), %rax                ## 8-byte Reload
	jmp	LBB0_28
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_11 Depth=3
	cmpl	$256, %edi                      ## imm = 0x100
	jae	LBB0_17
## %bb.16:                              ##   in Loop: Header=BB0_11 Depth=3
	xorl	%edi, %edi
	movq	-312(%rbp), %rax                ## 8-byte Reload
	jmp	LBB0_25
LBB0_17:                                ##   in Loop: Header=BB0_11 Depth=3
	cmpq	$0, -472(%rbp)                  ## 8-byte Folded Reload
	je	LBB0_18
## %bb.19:                              ##   in Loop: Header=BB0_11 Depth=3
	movq	-440(%rbp), %rax                ## 8-byte Reload
	leaq	(%rax,%r8), %rdi
	movq	-312(%rbp), %rax                ## 8-byte Reload
	leal	(%r10,%rax), %r15d
	addl	%r9d, %r15d
	imulq	%r12, %r15
	addq	-408(%rbp), %r15                ## 8-byte Folded Reload
	movq	-416(%rbp), %rdx                ## 8-byte Reload
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_20:                                ##   Parent Loop BB0_7 Depth=1
                                        ##     Parent Loop BB0_9 Depth=2
                                        ##       Parent Loop BB0_11 Depth=3
                                        ## =>      This Inner Loop Header: Depth=4
	movups	-48(%rdi,%r14), %xmm0
	movups	-32(%rdi,%r14), %xmm1
	movups	%xmm0, -48(%r15,%r14)
	movups	%xmm1, -32(%r15,%r14)
	movups	-16(%rdi,%r14), %xmm0
	movups	(%rdi,%r14), %xmm1
	movups	%xmm0, -16(%r15,%r14)
	movups	%xmm1, (%r15,%r14)
	addq	$64, %r14
	addq	$-2, %rdx
	jne	LBB0_20
## %bb.21:                              ##   in Loop: Header=BB0_11 Depth=3
	testb	$1, -464(%rbp)                  ## 1-byte Folded Reload
	je	LBB0_23
LBB0_22:                                ##   in Loop: Header=BB0_11 Depth=3
	movq	-424(%rbp), %rax                ## 8-byte Reload
	addl	%r11d, %eax
	imulq	%r12, %rax
	addq	-432(%rbp), %rax                ## 8-byte Folded Reload
	addq	%r14, %rax
	movq	-360(%rbp), %rcx                ## 8-byte Reload
	movups	(%rcx,%rax), %xmm0
	movups	16(%rcx,%rax), %xmm1
	movq	-312(%rbp), %rax                ## 8-byte Reload
	addq	%r14, %rbx
	movups	%xmm0, (%r13,%rbx)
	movups	%xmm1, 16(%r13,%rbx)
LBB0_23:                                ##   in Loop: Header=BB0_11 Depth=3
	cmpq	%r12, -376(%rbp)                ## 8-byte Folded Reload
	movq	-456(%rbp), %r14                ## 8-byte Reload
	movq	-448(%rbp), %r15                ## 8-byte Reload
	je	LBB0_34
## %bb.24:                              ##   in Loop: Header=BB0_11 Depth=3
	movq	-376(%rbp), %rbx                ## 8-byte Reload
	movq	%rbx, %rdi
	testb	$24, %r12b
	je	LBB0_28
LBB0_25:                                ##   in Loop: Header=BB0_11 Depth=3
	leal	(%r10,%rax), %edx
	addl	%r9d, %edx
	imulq	%r12, %rdx
	addq	%r13, %rdx
	.p2align	4, 0x90
LBB0_26:                                ##   Parent Loop BB0_7 Depth=1
                                        ##     Parent Loop BB0_9 Depth=2
                                        ##       Parent Loop BB0_11 Depth=3
                                        ## =>      This Inner Loop Header: Depth=4
	movq	(%rsi,%rdi), %rax
	movq	%rax, (%rdx,%rdi)
	addq	$8, %rdi
	cmpq	%rdi, %r14
	jne	LBB0_26
## %bb.27:                              ##   in Loop: Header=BB0_11 Depth=3
	movq	%r14, %rbx
	cmpq	%r12, %r14
	movq	-312(%rbp), %rax                ## 8-byte Reload
	je	LBB0_34
	.p2align	4, 0x90
LBB0_28:                                ##   in Loop: Header=BB0_11 Depth=3
	movq	%rbx, %rdi
	notq	%rdi
	addq	%r12, %rdi
	testq	%r15, %r15
	je	LBB0_31
## %bb.29:                              ##   in Loop: Header=BB0_11 Depth=3
	leal	(%r10,%rax), %edx
	addl	%r9d, %edx
	imulq	%r12, %rdx
	addq	%r13, %rdx
	movq	%r15, %rax
	.p2align	4, 0x90
LBB0_30:                                ##   Parent Loop BB0_7 Depth=1
                                        ##     Parent Loop BB0_9 Depth=2
                                        ##       Parent Loop BB0_11 Depth=3
                                        ## =>      This Inner Loop Header: Depth=4
	movzbl	(%rsi,%rbx), %ecx
	movb	%cl, (%rdx,%rbx)
	incq	%rbx
	decq	%rax
	jne	LBB0_30
LBB0_31:                                ##   in Loop: Header=BB0_11 Depth=3
	cmpq	$3, %rdi
	movq	-312(%rbp), %rax                ## 8-byte Reload
	jb	LBB0_34
## %bb.32:                              ##   in Loop: Header=BB0_11 Depth=3
	addq	-488(%rbp), %r8                 ## 8-byte Folded Reload
	addl	%eax, %r10d
	addl	%r9d, %r10d
	imulq	%r12, %r10
	addq	-480(%rbp), %r10                ## 8-byte Folded Reload
	.p2align	4, 0x90
LBB0_33:                                ##   Parent Loop BB0_7 Depth=1
                                        ##     Parent Loop BB0_9 Depth=2
                                        ##       Parent Loop BB0_11 Depth=3
                                        ## =>      This Inner Loop Header: Depth=4
	movzbl	-3(%r8,%rbx), %eax
	movb	%al, -3(%r10,%rbx)
	movzbl	-2(%r8,%rbx), %eax
	movb	%al, -2(%r10,%rbx)
	movzbl	-1(%r8,%rbx), %eax
	movb	%al, -1(%r10,%rbx)
	movzbl	(%r8,%rbx), %eax
	movb	%al, (%r10,%rbx)
	addq	$4, %rbx
	cmpq	%rbx, %r12
	jne	LBB0_33
	jmp	LBB0_34
LBB0_18:                                ##   in Loop: Header=BB0_11 Depth=3
	xorl	%r14d, %r14d
	movq	-312(%rbp), %rax                ## 8-byte Reload
	testb	$1, -464(%rbp)                  ## 1-byte Folded Reload
	jne	LBB0_22
	jmp	LBB0_23
LBB0_1:
	xorl	%edi, %edi
	leaq	-520(%rbp), %rbx
	leaq	-528(%rbp), %r14
	movq	%r15, %rsi
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_45:                                ##   in Loop: Header=BB0_2 Depth=1
	incq	%rdi
	cmpq	$7, %rdi
	je	LBB0_46
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_4 Depth 2
                                        ##       Child Loop BB0_38 Depth 3
                                        ##         Child Loop BB0_40 Depth 4
	movl	-112(%rbp,%rdi,4), %ecx
	testl	%ecx, %ecx
	je	LBB0_45
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	-80(%rbp,%rdi,4), %edx
	movl	$0, -312(%rbp)                  ## 4-byte Folded Spill
	movl	%edx, %r8d
	movl	%edx, -344(%rbp)                ## 4-byte Spill
	movq	%rdi, -320(%rbp)                ## 8-byte Spill
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_43:                                ##   in Loop: Header=BB0_4 Depth=2
	movl	-112(%rbp,%rdi,4), %ecx
	movl	%r8d, %edx
LBB0_44:                                ##   in Loop: Header=BB0_4 Depth=2
	movl	-312(%rbp), %eax                ## 4-byte Reload
	incl	%eax
	movl	%eax, -312(%rbp)                ## 4-byte Spill
	cmpl	%ecx, %eax
	jae	LBB0_45
LBB0_4:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_38 Depth 3
                                        ##         Child Loop BB0_40 Depth 4
	testl	%edx, %edx
	je	LBB0_5
## %bb.37:                              ##   in Loop: Header=BB0_4 Depth=2
	movl	-312(%rbp), %eax                ## 4-byte Reload
                                        ## kill: def $eax killed $eax def $rax
	imull	-344(%rbp), %eax                ## 4-byte Folded Reload
	movq	%rax, -352(%rbp)                ## 8-byte Spill
	xorl	%r15d, %r15d
	jmp	LBB0_38
	.p2align	4, 0x90
LBB0_42:                                ##   in Loop: Header=BB0_38 Depth=3
	incq	%r15
	movl	%r8d, %ecx
	cmpq	%rcx, %r15
	jae	LBB0_43
LBB0_38:                                ##   Parent Loop BB0_2 Depth=1
                                        ##     Parent Loop BB0_4 Depth=2
                                        ## =>    This Loop Header: Depth=3
                                        ##         Child Loop BB0_40 Depth 4
	movq	-304(%rbp,%rdi,8), %rcx
	movq	-352(%rbp), %rax                ## 8-byte Reload
	leal	(%rax,%r15), %edx
	imull	%r9d, %edx
	leaq	(%rdx,%rcx,8), %rcx
	movq	%rcx, -520(%rbp)
	movq	_ADAM7_IY@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	_ADAM7_DY@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movl	(%rdx,%rdi,4), %edx
	imull	-312(%rbp), %edx                ## 4-byte Folded Reload
	addl	(%rcx,%rdi,4), %edx
	imull	-324(%rbp), %edx                ## 4-byte Folded Reload
	movq	_ADAM7_IX@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	_ADAM7_DX@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax,%rdi,4), %eax
	imull	%r15d, %eax
	addl	(%rcx,%rdi,4), %edx
	addl	%eax, %edx
	imull	%r9d, %edx
	movq	%rdx, -528(%rbp)
	testl	%r9d, %r9d
	je	LBB0_42
## %bb.39:                              ##   in Loop: Header=BB0_38 Depth=3
	movl	%r9d, %r12d
	.p2align	4, 0x90
LBB0_40:                                ##   Parent Loop BB0_2 Depth=1
                                        ##     Parent Loop BB0_4 Depth=2
                                        ##       Parent Loop BB0_38 Depth=3
                                        ## =>      This Inner Loop Header: Depth=4
	movq	%rbx, %rdi
	callq	_readBitFromReversedStream
	movzbl	%al, %edx
	movq	%r14, %rdi
	movq	%r13, %rsi
	callq	_setBitOfReversedStream0
	movq	-360(%rbp), %rsi                ## 8-byte Reload
	decl	%r12d
	jne	LBB0_40
## %bb.41:                              ##   in Loop: Header=BB0_38 Depth=3
	movq	-320(%rbp), %rdi                ## 8-byte Reload
	movl	-80(%rbp,%rdi,4), %r8d
	movq	-384(%rbp), %r9                 ## 8-byte Reload
	jmp	LBB0_42
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_4 Depth=2
	xorl	%edx, %edx
	jmp	LBB0_44
LBB0_46:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_48
## %bb.47:
	addq	$488, %rsp                      ## imm = 0x1E8
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_48:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_ADAM7_IY,8,3                   ## @ADAM7_IY
	.comm	_ADAM7_DY,8,3                   ## @ADAM7_DY
	.comm	_ADAM7_IX,8,3                   ## @ADAM7_IX
	.comm	_ADAM7_DX,8,3                   ## @ADAM7_DX
	.no_dead_strip	_Adam7_deinterlace
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function Adam7_deinterlace
_Adam7_deinterlace:                     ; @Adam7_deinterlace
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #416
	.cfi_def_cfa_offset 416
	stp	x28, x27, [sp, #320]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #336]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #352]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #368]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #384]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #400]            ; 16-byte Folded Spill
	add	x29, sp, #400
	.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
	mov	x19, x4
	mov	x6, x3
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-96]
	sub	x0, x29, #124
	sub	x1, x29, #152
	add	x2, sp, #184
	add	x3, sp, #120
	add	x4, sp, #56
	mov	x5, x20
	mov	x7, x19
	bl	_Adam7_getpassvalues
	cmp	w19, #7
	b.ls	LBB0_23
; %bb.1:
	mov	x8, #0
	lsr	w9, w19, #3
	and	x13, x9, #0x1fffffc0
	and	x11, x9, #0x38
	and	x12, x9, #0x1ffffff8
	add	x10, x22, #32
	stp	x11, x10, [sp, #16]             ; 16-byte Folded Spill
	add	x10, x21, #32
	str	x10, [sp]                       ; 8-byte Folded Spill
	mov	x10, x9
	and	x10, x10, #0x1ffffff8
	neg	x10, x10
	str	x10, [sp, #32]                  ; 8-byte Folded Spill
Lloh3:
	adrp	x16, _ADAM7_IY@GOTPAGE
Lloh4:
	ldr	x16, [x16, _ADAM7_IY@GOTPAGEOFF]
Lloh5:
	adrp	x17, _ADAM7_DY@GOTPAGE
Lloh6:
	ldr	x17, [x17, _ADAM7_DY@GOTPAGEOFF]
Lloh7:
	adrp	x0, _ADAM7_IX@GOTPAGE
Lloh8:
	ldr	x0, [x0, _ADAM7_IX@GOTPAGEOFF]
Lloh9:
	adrp	x1, _ADAM7_DX@GOTPAGE
Lloh10:
	ldr	x1, [x1, _ADAM7_DX@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x8, x8, #1
	cmp	x8, #7
	b.eq	LBB0_41
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_6 Depth 2
                                        ;       Child Loop BB0_9 Depth 3
                                        ;         Child Loop BB0_17 Depth 4
                                        ;         Child Loop BB0_21 Depth 4
                                        ;         Child Loop BB0_13 Depth 4
	sub	x10, x29, #152
	ldr	w10, [x10, x8, lsl #2]
	str	w10, [sp, #12]                  ; 4-byte Folded Spill
	cbz	w10, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	w3, #0
	mov	x4, #0
	sub	x10, x29, #124
	ldr	w5, [x10, x8, lsl #2]
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=2
	add	x4, x4, #1
	add	w3, w3, w5
	ldr	w10, [sp, #12]                  ; 4-byte Folded Reload
	cmp	w4, w10
	b.eq	LBB0_2
LBB0_6:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_9 Depth 3
                                        ;         Child Loop BB0_17 Depth 4
                                        ;         Child Loop BB0_21 Depth 4
                                        ;         Child Loop BB0_13 Depth 4
	cbz	w5, LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=2
	mov	x6, #0
	mul	x7, x4, x5
	add	x10, sp, #56
	ldr	x10, [x10, x8, lsl #3]
	add	x23, x10, x21
	ldr	x11, [sp]                       ; 8-byte Folded Reload
	add	x24, x11, x10
	mov	x25, x3
	b	LBB0_9
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=3
	add	x6, x6, #1
	add	w25, w25, #1
	cmp	x6, x5
	b.eq	LBB0_5
LBB0_9:                                 ;   Parent Loop BB0_3 Depth=1
                                        ;     Parent Loop BB0_6 Depth=2
                                        ; =>    This Loop Header: Depth=3
                                        ;         Child Loop BB0_17 Depth 4
                                        ;         Child Loop BB0_21 Depth 4
                                        ;         Child Loop BB0_13 Depth 4
	mov	w10, w25
	mul	x26, x9, x10
	ldr	x10, [x16]
	lsl	x11, x8, #2
	ldr	w27, [x10, x11]
	ldr	x10, [x17]
	ldr	w28, [x10, x11]
	ldr	x10, [x0]
	ldr	w30, [x10, x11]
	ldr	x10, [x1]
	ldr	w14, [x10, x11]
	cmp	w19, #64
	b.lo	LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=3
	madd	w10, w28, w4, w27
	madd	w10, w10, w20, w30
	madd	w10, w14, w6, w10
	mul	x10, x10, x9
	add	w11, w7, w6
	madd	x11, x11, x9, x23
	add	x10, x10, x22
	sub	x10, x10, x11
	cmp	x10, #64
	b.hs	LBB0_14
LBB0_11:                                ;   in Loop: Header=BB0_9 Depth=3
	mov	x2, #0
LBB0_12:                                ;   in Loop: Header=BB0_9 Depth=3
	madd	w10, w14, w6, w30
	madd	w11, w4, w28, w27
	madd	w10, w20, w11, w10
	madd	x10, x9, x10, x2
	add	x11, x22, x10
	add	x10, x2, x26
	add	x10, x23, x10
	sub	x14, x9, x2
LBB0_13:                                ;   Parent Loop BB0_3 Depth=1
                                        ;     Parent Loop BB0_6 Depth=2
                                        ;       Parent Loop BB0_9 Depth=3
                                        ; =>      This Inner Loop Header: Depth=4
	ldrb	w15, [x10], #1
	strb	w15, [x11], #1
	subs	x14, x14, #1
	b.ne	LBB0_13
	b	LBB0_8
LBB0_14:                                ;   in Loop: Header=BB0_9 Depth=3
	cmp	w19, #512
	b.hs	LBB0_16
; %bb.15:                               ;   in Loop: Header=BB0_9 Depth=3
	mov	x11, #0
	b	LBB0_20
LBB0_16:                                ;   in Loop: Header=BB0_9 Depth=3
	add	x2, x24, x26
	madd	w10, w14, w6, w30
	madd	w11, w4, w28, w27
	madd	w10, w20, w11, w10
	ldr	x11, [sp, #24]                  ; 8-byte Folded Reload
	madd	x11, x9, x10, x11
	mov	x10, x13
LBB0_17:                                ;   Parent Loop BB0_3 Depth=1
                                        ;     Parent Loop BB0_6 Depth=2
                                        ;       Parent Loop BB0_9 Depth=3
                                        ; =>      This Inner Loop Header: Depth=4
	ldp	q0, q1, [x2, #-32]
	ldp	q2, q3, [x2], #64
	stp	q0, q1, [x11, #-32]
	stp	q2, q3, [x11], #64
	subs	x10, x10, #64
	b.ne	LBB0_17
; %bb.18:                               ;   in Loop: Header=BB0_9 Depth=3
	cmp	x13, x9
	b.eq	LBB0_8
; %bb.19:                               ;   in Loop: Header=BB0_9 Depth=3
	mov	x11, x13
	mov	x2, x13
	ldr	x10, [sp, #16]                  ; 8-byte Folded Reload
	cbz	x10, LBB0_12
LBB0_20:                                ;   in Loop: Header=BB0_9 Depth=3
	add	x10, x11, x26
	add	x2, x23, x10
	mul	w10, w14, w6
	add	w10, w30, w10
	mul	w15, w4, w28
	add	w15, w27, w15
	madd	w10, w20, w15, w10
	madd	x10, x9, x10, x11
	add	x10, x22, x10
	ldr	x15, [sp, #32]                  ; 8-byte Folded Reload
	add	x11, x15, x11
LBB0_21:                                ;   Parent Loop BB0_3 Depth=1
                                        ;     Parent Loop BB0_6 Depth=2
                                        ;       Parent Loop BB0_9 Depth=3
                                        ; =>      This Inner Loop Header: Depth=4
	ldr	d0, [x2], #8
	str	d0, [x10], #8
	adds	x11, x11, #8
	b.ne	LBB0_21
; %bb.22:                               ;   in Loop: Header=BB0_9 Depth=3
	mov	x2, x12
	cmp	x12, x9
	b.eq	LBB0_8
	b	LBB0_12
LBB0_23:
	mov	x26, #0
Lloh11:
	adrp	x23, _ADAM7_DX@GOTPAGE
Lloh12:
	ldr	x23, [x23, _ADAM7_DX@GOTPAGEOFF]
	b	LBB0_25
LBB0_24:                                ;   in Loop: Header=BB0_25 Depth=1
	add	x26, x26, #1
	cmp	x26, #7
	b.eq	LBB0_41
LBB0_25:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_29 Depth 2
                                        ;       Child Loop BB0_33 Depth 3
	lsl	x25, x26, #2
	sub	x8, x29, #152
	ldr	w9, [x8, x25]
	cbz	w9, LBB0_24
; %bb.26:                               ;   in Loop: Header=BB0_25 Depth=1
	mov	w24, #0
	mov	w27, #0
	sub	x8, x29, #124
	ldr	w8, [x8, x25]
	mul	w10, w19, w8
	str	w10, [sp, #24]                  ; 4-byte Folded Spill
	mov	x10, x8
	b	LBB0_29
LBB0_27:                                ;   in Loop: Header=BB0_29 Depth=2
	sub	x9, x29, #152
	ldr	w9, [x9, x26, lsl #2]
	mov	x10, x8
	ldr	w24, [sp, #32]                  ; 4-byte Folded Reload
LBB0_28:                                ;   in Loop: Header=BB0_29 Depth=2
	add	w27, w27, #1
	ldr	w11, [sp, #24]                  ; 4-byte Folded Reload
	add	w24, w24, w11
	cmp	w27, w9
	b.hs	LBB0_24
LBB0_29:                                ;   Parent Loop BB0_25 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_33 Depth 3
	cbz	w10, LBB0_28
; %bb.30:                               ;   in Loop: Header=BB0_29 Depth=2
	mov	x28, #0
	str	w24, [sp, #32]                  ; 4-byte Folded Spill
	b	LBB0_33
LBB0_31:                                ;   in Loop: Header=BB0_33 Depth=3
	sub	x8, x29, #124
	ldr	w8, [x8, x26, lsl #2]
LBB0_32:                                ;   in Loop: Header=BB0_33 Depth=3
	add	x28, x28, #1
	add	w24, w24, w19
	cmp	x28, w8, uxtw
	b.hs	LBB0_27
LBB0_33:                                ;   Parent Loop BB0_25 Depth=1
                                        ;     Parent Loop BB0_29 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	add	x9, sp, #56
	ldr	x9, [x9, x26, lsl #3]
	lsl	x9, x9, #3
	add	x9, x9, w24, uxtw
	str	x9, [sp, #40]
Lloh13:
	adrp	x9, _ADAM7_IY@GOTPAGE
Lloh14:
	ldr	x9, [x9, _ADAM7_IY@GOTPAGEOFF]
Lloh15:
	ldr	x9, [x9]
	ldr	w9, [x9, x25]
Lloh16:
	adrp	x10, _ADAM7_DY@GOTPAGE
Lloh17:
	ldr	x10, [x10, _ADAM7_DY@GOTPAGEOFF]
Lloh18:
	ldr	x10, [x10]
	ldr	w10, [x10, x25]
	madd	w9, w10, w27, w9
Lloh19:
	adrp	x10, _ADAM7_IX@GOTPAGE
Lloh20:
	ldr	x10, [x10, _ADAM7_IX@GOTPAGEOFF]
Lloh21:
	ldr	x10, [x10]
	ldr	w10, [x10, x25]
	ldr	x11, [x23]
	ldr	w11, [x11, x25]
	madd	w9, w9, w20, w10
	madd	w9, w11, w28, w9
	mul	w9, w9, w19
	str	x9, [sp, #48]
	cbz	w19, LBB0_32
; %bb.34:                               ;   in Loop: Header=BB0_33 Depth=3
	add	x0, sp, #40
	mov	x1, x21
	bl	_readBitFromReversedStream
	mov	x2, x0
	add	x0, sp, #48
	mov	x1, x22
	bl	_setBitOfReversedStream0
	cmp	w19, #1
	b.eq	LBB0_31
; %bb.35:                               ;   in Loop: Header=BB0_33 Depth=3
	add	x0, sp, #40
	mov	x1, x21
	bl	_readBitFromReversedStream
	mov	x2, x0
	add	x0, sp, #48
	mov	x1, x22
	bl	_setBitOfReversedStream0
	cmp	w19, #2
	b.eq	LBB0_31
; %bb.36:                               ;   in Loop: Header=BB0_33 Depth=3
	add	x0, sp, #40
	mov	x1, x21
	bl	_readBitFromReversedStream
	mov	x2, x0
	add	x0, sp, #48
	mov	x1, x22
	bl	_setBitOfReversedStream0
	cmp	w19, #3
	b.eq	LBB0_31
; %bb.37:                               ;   in Loop: Header=BB0_33 Depth=3
	add	x0, sp, #40
	mov	x1, x21
	bl	_readBitFromReversedStream
	mov	x2, x0
	add	x0, sp, #48
	mov	x1, x22
	bl	_setBitOfReversedStream0
	cmp	w19, #4
	b.eq	LBB0_31
; %bb.38:                               ;   in Loop: Header=BB0_33 Depth=3
	add	x0, sp, #40
	mov	x1, x21
	bl	_readBitFromReversedStream
	mov	x2, x0
	add	x0, sp, #48
	mov	x1, x22
	bl	_setBitOfReversedStream0
	cmp	w19, #5
	b.eq	LBB0_31
; %bb.39:                               ;   in Loop: Header=BB0_33 Depth=3
	add	x0, sp, #40
	mov	x1, x21
	bl	_readBitFromReversedStream
	mov	x2, x0
	add	x0, sp, #48
	mov	x1, x22
	bl	_setBitOfReversedStream0
	cmp	w19, #6
	b.eq	LBB0_31
; %bb.40:                               ;   in Loop: Header=BB0_33 Depth=3
	add	x0, sp, #40
	mov	x1, x21
	bl	_readBitFromReversedStream
	mov	x2, x0
	add	x0, sp, #48
	mov	x1, x22
	bl	_setBitOfReversedStream0
	b	LBB0_31
LBB0_41:
	ldur	x8, [x29, #-96]
Lloh22:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh23:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh24:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_43
; %bb.42:
	ldp	x29, x30, [sp, #400]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #384]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #368]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #352]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #336]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #320]            ; 16-byte Folded Reload
	add	sp, sp, #416
	ret
LBB0_43:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.comm	_ADAM7_IY,8,3                   ; @ADAM7_IY
	.comm	_ADAM7_DY,8,3                   ; @ADAM7_DY
	.comm	_ADAM7_IX,8,3                   ; @ADAM7_IX
	.comm	_ADAM7_DX,8,3                   ; @ADAM7_DX
	.no_dead_strip	_Adam7_deinterlace
.subsections_via_symbols
