	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_ivi_inverse_haar_8x8        ## -- Begin function ff_ivi_inverse_haar_8x8
	.p2align	4, 0x90
_ff_ivi_inverse_haar_8x8:               ## @ff_ivi_inverse_haar_8x8
	.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
	movq	%rcx, -360(%rbp)                ## 8-byte Spill
	movl	%edx, -348(%rbp)                ## 4-byte Spill
	movq	%rsi, %r13
	movq	%rdi, %r12
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	xorl	%ebx, %ebx
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_1 Depth=1
	movl	$0, -80(%rbp,%rbx,4)
	movl	$0, -112(%rbp,%rbx,4)
	movl	$0, -144(%rbp,%rbx,4)
	movl	$0, -176(%rbp,%rbx,4)
	movl	$0, -208(%rbp,%rbx,4)
	movl	$0, -240(%rbp,%rbx,4)
	movl	$0, -272(%rbp,%rbx,4)
	movl	$0, -304(%rbp,%rbx,4)
LBB0_4:                                 ##   in Loop: Header=BB0_1 Depth=1
	incq	%rbx
	cmpq	$8, %rbx
	je	LBB0_5
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	-360(%rbp), %rax                ## 8-byte Reload
	cmpq	$0, (%rax,%rbx,8)
	je	LBB0_3
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	%ebx, %ecx
	shrl	$2, %ecx
	xorb	$1, %cl
	movl	(%r12,%rbx,4), %edi
	shll	%cl, %edi
	movl	32(%r12,%rbx,4), %esi
	shll	%cl, %esi
	movl	64(%r12,%rbx,4), %edx
	shll	%cl, %edx
	movl	96(%r12,%rbx,4), %eax
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %eax
	movl	128(%r12,%rbx,4), %r8d
	movl	160(%r12,%rbx,4), %r9d
	movl	192(%r12,%rbx,4), %ecx
	movq	%rcx, -344(%rbp)                ## 8-byte Spill
	movl	224(%r12,%rbx,4), %ecx
	movq	%rcx, -336(%rbp)                ## 8-byte Spill
	movl	-304(%rbp,%rbx,4), %ecx
	movq	%rcx, -328(%rbp)                ## 8-byte Spill
	movl	-272(%rbp,%rbx,4), %ecx
	movq	%rcx, -320(%rbp)                ## 8-byte Spill
	movl	-240(%rbp,%rbx,4), %ecx
	movq	%rcx, -312(%rbp)                ## 8-byte Spill
	movl	-208(%rbp,%rbx,4), %ecx
	movq	%rcx, -368(%rbp)                ## 8-byte Spill
	movl	-176(%rbp,%rbx,4), %r14d
	movl	-144(%rbp,%rbx,4), %r15d
	movl	-112(%rbp,%rbx,4), %r10d
	movl	-80(%rbp,%rbx,4), %r11d
	subq	$80, %rsp
	movl	%eax, %ecx
	pushq	%r11
	pushq	%r10
	pushq	%r15
	pushq	%r14
	pushq	-368(%rbp)                      ## 8-byte Folded Reload
	pushq	-312(%rbp)                      ## 8-byte Folded Reload
	pushq	-320(%rbp)                      ## 8-byte Folded Reload
	pushq	-328(%rbp)                      ## 8-byte Folded Reload
	pushq	-336(%rbp)                      ## 8-byte Folded Reload
	pushq	-344(%rbp)                      ## 8-byte Folded Reload
	callq	_INV_HAAR8
	addq	$160, %rsp
	jmp	LBB0_4
LBB0_5:
	movslq	-348(%rbp), %rax                ## 4-byte Folded Reload
	shlq	$2, %rax
	movq	%rax, -312(%rbp)                ## 8-byte Spill
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movl	-304(%rbp,%rbx), %edi
	movl	-300(%rbp,%rbx), %esi
	movl	%edi, %eax
	orl	%esi, %eax
	jne	LBB0_14
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	xorl	%esi, %esi
	cmpl	$0, -296(%rbp,%rbx)
	jne	LBB0_14
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=1
	cmpl	$0, -292(%rbp,%rbx)
	jne	LBB0_14
## %bb.9:                               ##   in Loop: Header=BB0_6 Depth=1
	cmpl	$0, -288(%rbp,%rbx)
	jne	LBB0_14
## %bb.10:                              ##   in Loop: Header=BB0_6 Depth=1
	cmpl	$0, -284(%rbp,%rbx)
	jne	LBB0_14
## %bb.11:                              ##   in Loop: Header=BB0_6 Depth=1
	cmpl	$0, -280(%rbp,%rbx)
	jne	LBB0_14
## %bb.12:                              ##   in Loop: Header=BB0_6 Depth=1
	cmpl	$0, -276(%rbp,%rbx)
	je	LBB0_13
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_6 Depth=1
	movl	-296(%rbp,%rbx), %edx
	movl	-292(%rbp,%rbx), %ecx
	movl	-288(%rbp,%rbx), %r8d
	movl	-284(%rbp,%rbx), %r9d
	movl	-280(%rbp,%rbx), %eax
	movq	%rax, -344(%rbp)                ## 8-byte Spill
	movl	-276(%rbp,%rbx), %eax
	movq	%rax, -336(%rbp)                ## 8-byte Spill
	movl	(%r13), %eax
	movq	%rax, -328(%rbp)                ## 8-byte Spill
	movl	4(%r13), %eax
	movq	%rax, -320(%rbp)                ## 8-byte Spill
	movl	8(%r13), %r12d
	movl	12(%r13), %r15d
	movl	16(%r13), %r14d
	movl	20(%r13), %r11d
	movl	24(%r13), %r10d
	movl	28(%r13), %eax
	subq	$80, %rsp
	pushq	%rax
	pushq	%r10
	pushq	%r11
	pushq	%r14
	pushq	%r15
	pushq	%r12
	pushq	-320(%rbp)                      ## 8-byte Folded Reload
	pushq	-328(%rbp)                      ## 8-byte Folded Reload
	pushq	-336(%rbp)                      ## 8-byte Folded Reload
	pushq	-344(%rbp)                      ## 8-byte Folded Reload
	callq	_INV_HAAR8
	addq	$160, %rsp
LBB0_15:                                ##   in Loop: Header=BB0_6 Depth=1
	addq	$32, %rbx
	addq	-312(%rbp), %r13                ## 8-byte Folded Reload
	cmpl	$256, %ebx                      ## imm = 0x100
	jne	LBB0_6
	jmp	LBB0_16
LBB0_13:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	%r13, %rdi
	xorl	%esi, %esi
	movl	$32, %edx
	callq	_memset
	jmp	LBB0_15
LBB0_16:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_18
## %bb.17:
	addq	$328, %rsp                      ## imm = 0x148
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_18:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_ivi_inverse_haar_8x8        ; -- Begin function ff_ivi_inverse_haar_8x8
	.p2align	2
_ff_ivi_inverse_haar_8x8:               ; @ff_ivi_inverse_haar_8x8
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #416
	.cfi_def_cfa_offset 416
	stp	x28, x27, [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 w27, -72
	.cfi_offset w28, -80
	mov	x21, x3
	mov	x20, x2
	mov	x19, x1
	mov	x22, #0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
	add	x23, x0, #128
	add	x8, sp, #72
	add	x24, x8, #128
	b	LBB0_3
LBB0_1:                                 ;   in Loop: Header=BB0_3 Depth=1
	str	wzr, [x24, #96]
	str	wzr, [x24, #64]
	str	wzr, [x24, #32]
	str	wzr, [x24]
	stur	wzr, [x24, #-32]
	stur	wzr, [x24, #-64]
	stur	wzr, [x24, #-96]
	stur	wzr, [x24, #-128]
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x22, x22, #1
	add	x23, x23, #4
	add	x24, x24, #4
	cmp	x22, #8
	b.eq	LBB0_5
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x21, x22, lsl #3]
	cbz	x8, LBB0_1
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldur	w8, [x23, #-128]
	ubfx	x9, x22, #2, #30
	eor	w9, w9, #0x1
	ldur	w10, [x23, #-96]
	lsl	w0, w8, w9
	ldur	w8, [x23, #-64]
	lsl	w1, w10, w9
	ldur	w10, [x23, #-32]
	lsl	w2, w8, w9
	ldr	w4, [x23]
	lsl	w3, w10, w9
	ldr	w5, [x23, #32]
	ldr	w6, [x23, #64]
	ldr	w7, [x23, #96]
	ldur	w8, [x24, #-128]
	ldur	w9, [x24, #-96]
	ldur	w10, [x24, #-64]
	ldur	w11, [x24, #-32]
	ldr	w12, [x24]
	ldr	w13, [x24, #32]
	ldr	w14, [x24, #64]
	ldr	w15, [x24, #96]
	stp	w14, w15, [sp, #24]
	stp	w12, w13, [sp, #16]
	stp	w10, w11, [sp, #8]
	stp	w8, w9, [sp]
	bl	_INV_HAAR8
	b	LBB0_2
LBB0_5:
	mov	x21, #0
	sbfiz	x20, x20, #2, #32
	add	x22, sp, #72
	add	x23, x22, #28
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	add	x8, x23, x21
	ldr	w0, [x22, x21]
	ldur	w1, [x8, #-24]
	orr	w9, w0, w1
	cbnz	w9, LBB0_14
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldur	w9, [x8, #-20]
	cbnz	w9, LBB0_13
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	add	x9, x23, x21
	ldur	w10, [x9, #-16]
	cbnz	w10, LBB0_13
; %bb.9:                                ;   in Loop: Header=BB0_6 Depth=1
	ldur	w9, [x9, #-12]
	cbnz	w9, LBB0_13
; %bb.10:                               ;   in Loop: Header=BB0_6 Depth=1
	add	x9, x23, x21
	ldur	w10, [x9, #-8]
	cbnz	w10, LBB0_13
; %bb.11:                               ;   in Loop: Header=BB0_6 Depth=1
	ldur	w9, [x9, #-4]
	cbnz	w9, LBB0_13
; %bb.12:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	w9, [x23, x21]
	cbz	w9, LBB0_16
LBB0_13:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	w1, #0
LBB0_14:                                ;   in Loop: Header=BB0_6 Depth=1
	ldp	w2, w3, [x8, #-20]
	ldp	w4, w5, [x8, #-12]
	ldp	w6, w7, [x8, #-4]
	ldp	q0, q1, [x19]
	stp	q0, q1, [sp]
	bl	_INV_HAAR8
LBB0_15:                                ;   in Loop: Header=BB0_6 Depth=1
	add	x21, x21, #32
	add	x19, x19, x20
	cmp	w21, #256
	b.ne	LBB0_6
	b	LBB0_17
LBB0_16:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x19
	mov	w1, #0
	mov	w2, #32
	bl	_memset
	b	LBB0_15
LBB0_17:
	ldur	x8, [x29, #-72]
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_19
; %bb.18:
	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	x28, x27, [sp, #336]            ; 16-byte Folded Reload
	add	sp, sp, #416
	ret
LBB0_19:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
