	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hadamard8_diff8x8_c
_hadamard8_diff8x8_c:                   ## @hadamard8_diff8x8_c
	.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	$328, %rsp                      ## imm = 0x148
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r15d
	movq	%rdx, -360(%rbp)                ## 8-byte Spill
	movq	%rsi, -352(%rbp)                ## 8-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	xorl	%edi, %edi
	cmpl	$8, %r8d
	sete	%dil
	callq	_av_assert2
	movslq	%r15d, %rax
	shlq	$3, %rax
	movq	%rax, -344(%rbp)                ## 8-byte Spill
	movl	$56, %r14d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	-304(%rbp,%rbx), %edi
	movl	%edi, -332(%rbp)                ## 4-byte Spill
	movl	-300(%rbp,%rbx), %esi
	movl	%esi, -336(%rbp)                ## 4-byte Spill
	movq	-360(%rbp), %r13                ## 8-byte Reload
	movq	-56(%r13,%r14), %rdx
	movq	-48(%r13,%r14), %rcx
	movq	-352(%rbp), %r15                ## 8-byte Reload
	subq	-56(%r15,%r14), %rdx
	subq	-48(%r15,%r14), %rcx
	callq	_BUTTERFLY2
	movl	-296(%rbp,%rbx), %edi
	movl	%edi, -308(%rbp)                ## 4-byte Spill
	movl	-292(%rbp,%rbx), %esi
	movl	%esi, -312(%rbp)                ## 4-byte Spill
	movq	-40(%r13,%r14), %rdx
	movq	-32(%r13,%r14), %rcx
	subq	-40(%r15,%r14), %rdx
	subq	-32(%r15,%r14), %rcx
	callq	_BUTTERFLY2
	movl	-288(%rbp,%rbx), %edi
	movl	%edi, -316(%rbp)                ## 4-byte Spill
	movl	-284(%rbp,%rbx), %esi
	movl	%esi, -328(%rbp)                ## 4-byte Spill
	movq	-24(%r13,%r14), %rdx
	movq	-16(%r13,%r14), %rcx
	subq	-24(%r15,%r14), %rdx
	subq	-16(%r15,%r14), %rcx
	callq	_BUTTERFLY2
	movl	-280(%rbp,%rbx), %r12d
	movl	-276(%rbp,%rbx), %esi
	movl	%esi, -320(%rbp)                ## 4-byte Spill
	movq	-8(%r13,%r14), %rdx
	movq	(%r13,%r14), %rcx
	subq	-8(%r15,%r14), %rdx
	subq	(%r15,%r14), %rcx
	movl	%r12d, %edi
	movl	%r12d, -324(%rbp)               ## 4-byte Spill
	callq	_BUTTERFLY2
	movl	-332(%rbp), %r13d               ## 4-byte Reload
	movl	%r13d, %edi
	movl	-308(%rbp), %esi                ## 4-byte Reload
	callq	_BUTTERFLY1
	movl	-336(%rbp), %r15d               ## 4-byte Reload
	movl	%r15d, %edi
	movl	-312(%rbp), %esi                ## 4-byte Reload
	callq	_BUTTERFLY1
	movl	-316(%rbp), %edi                ## 4-byte Reload
	movl	%r12d, %esi
	callq	_BUTTERFLY1
	movl	-328(%rbp), %r12d               ## 4-byte Reload
	movl	%r12d, %edi
	movl	-320(%rbp), %esi                ## 4-byte Reload
	callq	_BUTTERFLY1
	movl	%r13d, %edi
	movl	-316(%rbp), %esi                ## 4-byte Reload
	callq	_BUTTERFLY1
	movl	%r15d, %edi
	movl	%r12d, %esi
	callq	_BUTTERFLY1
	movl	-308(%rbp), %edi                ## 4-byte Reload
	movl	-324(%rbp), %esi                ## 4-byte Reload
	callq	_BUTTERFLY1
	movl	-312(%rbp), %edi                ## 4-byte Reload
	movl	-320(%rbp), %esi                ## 4-byte Reload
	callq	_BUTTERFLY1
	addq	-344(%rbp), %r14                ## 8-byte Folded Reload
	addq	$32, %rbx
	cmpq	$256, %rbx                      ## imm = 0x100
	jne	LBB0_1
## %bb.2:
	xorl	%ecx, %ecx
	movq	$-8, %r14
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ecx, -320(%rbp)                ## 4-byte Spill
	movl	-272(%rbp,%r14,4), %edi
	movl	%edi, -308(%rbp)                ## 4-byte Spill
	movl	-240(%rbp,%r14,4), %esi
	movl	%esi, -332(%rbp)                ## 4-byte Spill
	callq	_BUTTERFLY1
	movl	-208(%rbp,%r14,4), %r15d
	movl	-176(%rbp,%r14,4), %esi
	movl	%esi, -312(%rbp)                ## 4-byte Spill
	movl	%r15d, %edi
	movl	%r15d, -316(%rbp)               ## 4-byte Spill
	callq	_BUTTERFLY1
	movl	-144(%rbp,%r14,4), %r13d
	movl	-112(%rbp,%r14,4), %esi
	movl	%esi, -324(%rbp)                ## 4-byte Spill
	movl	%r13d, %edi
	callq	_BUTTERFLY1
	movl	-80(%rbp,%r14,4), %ebx
	movl	-48(%rbp,%r14,4), %r12d
	movl	%ebx, %edi
	movl	%ebx, -328(%rbp)                ## 4-byte Spill
	movl	%r12d, %esi
	movl	%r12d, -336(%rbp)               ## 4-byte Spill
	callq	_BUTTERFLY1
	movl	-308(%rbp), %edi                ## 4-byte Reload
	movl	%r15d, %esi
	callq	_BUTTERFLY1
	movl	-332(%rbp), %r15d               ## 4-byte Reload
	movl	%r15d, %edi
	movl	-312(%rbp), %esi                ## 4-byte Reload
	callq	_BUTTERFLY1
	movl	%r13d, %edi
	movl	%ebx, %esi
	callq	_BUTTERFLY1
	movl	-324(%rbp), %ebx                ## 4-byte Reload
	movl	%ebx, %edi
	movl	%r12d, %esi
	callq	_BUTTERFLY1
	movl	-308(%rbp), %edi                ## 4-byte Reload
	movl	%r13d, %esi
	callq	_BUTTERFLYA
	movq	%rax, %r13
	movl	%r15d, %edi
	movl	%ebx, %esi
	callq	_BUTTERFLYA
	movq	%rax, %r12
	addl	%r13d, %r12d
	movl	-316(%rbp), %edi                ## 4-byte Reload
	movl	-328(%rbp), %esi                ## 4-byte Reload
	callq	_BUTTERFLYA
	movq	%rax, %rbx
	addl	%r12d, %ebx
	movl	-312(%rbp), %edi                ## 4-byte Reload
	movl	-336(%rbp), %esi                ## 4-byte Reload
	callq	_BUTTERFLYA
	movl	-320(%rbp), %ecx                ## 4-byte Reload
	addl	%ebx, %eax
	addl	%eax, %ecx
	incq	%r14
	jne	LBB0_3
## %bb.4:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_6
## %bb.5:
	movl	%ecx, %eax
	addq	$328, %rsp                      ## imm = 0x148
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_hadamard8_diff8x8_c
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hadamard8_diff8x8_c
_hadamard8_diff8x8_c:                   ; @hadamard8_diff8x8_c
	.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	x21, x3
	stp	x1, x2, [sp, #16]               ; 16-byte Folded Spill
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-96]
	cmp	w4, #8
	cset	w0, eq
	bl	_av_assert2
	mov	x19, #0
	add	x8, sp, #48
	add	x9, x8, #28
	sbfiz	x8, x21, #3, #32
	stp	x8, x9, [sp]                    ; 16-byte Folded Spill
	mov	w20, #32
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	add	x28, x8, x19
	add	x8, sp, #48
	ldr	w0, [x8, x19]
	ldur	w1, [x28, #-24]
	stp	w0, w1, [sp, #36]               ; 8-byte Folded Spill
	ldr	x8, [sp, #24]                   ; 8-byte Folded Reload
	add	x21, x8, x20
	ldr	x8, [sp, #16]                   ; 8-byte Folded Reload
	add	x22, x8, x20
	ldp	x8, x9, [x21, #-32]
	ldp	x10, x11, [x22, #-32]
	sub	x2, x8, x10
	sub	x3, x9, x11
	bl	_BUTTERFLY2
	ldp	w24, w23, [x28, #-20]
	ldp	x8, x9, [x21, #-16]
	ldp	x10, x11, [x22, #-16]
	sub	x2, x8, x10
	sub	x3, x9, x11
	mov	x0, x24
	mov	x1, x23
	bl	_BUTTERFLY2
	ldp	w25, w26, [x28, #-12]
	ldp	x8, x9, [x21]
	ldp	x10, x11, [x22]
	sub	x2, x8, x10
	sub	x3, x9, x11
	mov	x0, x25
	mov	x1, x26
	bl	_BUTTERFLY2
	ldp	w27, w28, [x28, #-4]
	ldp	x8, x9, [x21, #16]
	ldp	x10, x11, [x22, #16]
	sub	x2, x8, x10
	sub	x3, x9, x11
	mov	x0, x27
	mov	x1, x28
	bl	_BUTTERFLY2
	ldr	w22, [sp, #36]                  ; 4-byte Folded Reload
	mov	x0, x22
	mov	x1, x24
	bl	_BUTTERFLY1
	ldr	w21, [sp, #40]                  ; 4-byte Folded Reload
	mov	x0, x21
	mov	x1, x23
	bl	_BUTTERFLY1
	mov	x0, x25
	mov	x1, x27
	bl	_BUTTERFLY1
	mov	x0, x26
	mov	x1, x28
	bl	_BUTTERFLY1
	mov	x0, x22
	mov	x1, x25
	bl	_BUTTERFLY1
	mov	x0, x21
	mov	x1, x26
	bl	_BUTTERFLY1
	mov	x0, x24
	mov	x1, x27
	bl	_BUTTERFLY1
	mov	x0, x23
	mov	x1, x28
	bl	_BUTTERFLY1
	add	x19, x19, #32
	ldr	x8, [sp]                        ; 8-byte Folded Reload
	add	x20, x20, x8
	cmp	x19, #256
	b.ne	LBB0_1
; %bb.2:
	mov	w19, #0
	add	x8, sp, #48
	add	x8, x8, #128
	str	x8, [sp, #40]                   ; 8-byte Folded Spill
	mov	x28, #-32
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [sp, #40]                   ; 8-byte Folded Reload
	add	x27, x8, x28
	ldur	w21, [x27, #-96]
	ldur	w22, [x27, #-64]
	mov	x0, x21
	mov	x1, x22
	bl	_BUTTERFLY1
	ldur	w23, [x27, #-32]
	ldr	w20, [x27]
	mov	x0, x23
	mov	x1, x20
	bl	_BUTTERFLY1
	ldr	w24, [x27, #32]
	ldr	w25, [x27, #64]
	mov	x0, x24
	mov	x1, x25
	bl	_BUTTERFLY1
	ldr	w26, [x27, #96]
	ldr	w27, [x27, #128]
	mov	x0, x26
	mov	x1, x27
	bl	_BUTTERFLY1
	mov	x0, x21
	mov	x1, x23
	bl	_BUTTERFLY1
	mov	x0, x22
	mov	x1, x20
	bl	_BUTTERFLY1
	mov	x0, x24
	mov	x1, x26
	bl	_BUTTERFLY1
	mov	x0, x25
	mov	x1, x27
	bl	_BUTTERFLY1
	mov	x0, x21
	mov	x1, x24
	bl	_BUTTERFLYA
	mov	x21, x0
	mov	x0, x22
	mov	x1, x25
	bl	_BUTTERFLYA
	add	w21, w0, w21
	mov	x0, x23
	mov	x1, x26
	bl	_BUTTERFLYA
	add	w21, w21, w0
	mov	x0, x20
	mov	x1, x27
	bl	_BUTTERFLYA
	add	w8, w21, w0
	add	w19, w19, w8
	adds	x28, x28, #4
	b.ne	LBB0_3
; %bb.4:
	ldur	x8, [x29, #-96]
Lloh3:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh4:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_6
; %bb.5:
	mov	x0, x19
	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_6:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_hadamard8_diff8x8_c
.subsections_via_symbols
