	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_ivi_inverse_haar_4x4        ## -- Begin function ff_ivi_inverse_haar_4x4
	.p2align	4, 0x90
_ff_ivi_inverse_haar_4x4:               ## @ff_ivi_inverse_haar_4x4
	.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	$136, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r12
	movl	%edx, %r14d
	movq	%rsi, %r13
	movq	%rdi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	cmpq	$0, (%rcx)
	je	LBB0_2
## %bb.1:
	movl	(%r15), %edi
	movl	16(%r15), %esi
	addl	%edi, %edi
	addl	%esi, %esi
	movl	32(%r15), %edx
	movl	48(%r15), %ecx
	callq	_INV_HAAR4
	cmpq	$0, 8(%r12)
	je	LBB0_5
LBB0_4:
	movl	4(%r15), %edi
	movl	20(%r15), %esi
	addl	%edi, %edi
	addl	%esi, %esi
	movl	36(%r15), %edx
	movl	52(%r15), %ecx
	callq	_INV_HAAR4
	cmpq	$0, 16(%r12)
	je	LBB0_8
LBB0_7:
	movl	8(%r15), %edi
	movl	24(%r15), %esi
	movl	40(%r15), %edx
	movl	56(%r15), %ecx
	callq	_INV_HAAR4
	cmpq	$0, 24(%r12)
	je	LBB0_11
LBB0_10:
	movl	12(%r15), %edi
	movl	28(%r15), %esi
	movl	44(%r15), %edx
	movl	60(%r15), %ecx
	callq	_INV_HAAR4
	jmp	LBB0_12
LBB0_2:
	movl	$0, -64(%rbp)
	movl	$0, -80(%rbp)
	movl	$0, -96(%rbp)
	cmpq	$0, 8(%r12)
	jne	LBB0_4
LBB0_5:
	movl	$0, -60(%rbp)
	movl	$0, -76(%rbp)
	movl	$0, -92(%rbp)
	movl	$0, -108(%rbp)
	cmpq	$0, 16(%r12)
	jne	LBB0_7
LBB0_8:
	movl	$0, -56(%rbp)
	movl	$0, -72(%rbp)
	movl	$0, -88(%rbp)
	movl	$0, -104(%rbp)
	cmpq	$0, 24(%r12)
	jne	LBB0_10
LBB0_11:
	movl	$0, -52(%rbp)
	movl	$0, -68(%rbp)
	movl	$0, -84(%rbp)
	movl	$0, -100(%rbp)
LBB0_12:
	movslq	%r14d, %r14
	shlq	$2, %r14
	xorl	%edi, %edi
	movl	$16, %ebx
	.p2align	4, 0x90
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	movl	-124(%rbp,%rbx), %esi
	movl	%edi, %eax
	orl	%esi, %eax
	jne	LBB0_17
## %bb.14:                              ##   in Loop: Header=BB0_13 Depth=1
	xorl	%esi, %esi
	cmpl	$0, -120(%rbp,%rbx)
	jne	LBB0_17
## %bb.15:                              ##   in Loop: Header=BB0_13 Depth=1
	cmpl	$0, -116(%rbp,%rbx)
	je	LBB0_16
	.p2align	4, 0x90
LBB0_17:                                ##   in Loop: Header=BB0_13 Depth=1
	movl	-120(%rbp,%rbx), %edx
	movl	-116(%rbp,%rbx), %ecx
	movl	(%r13), %r8d
	movl	4(%r13), %r9d
	movl	8(%r13), %r10d
	movl	12(%r13), %eax
	movl	%eax, 8(%rsp)
	movl	%r10d, (%rsp)
	callq	_INV_HAAR4
	cmpl	$64, %ebx
	je	LBB0_20
LBB0_19:                                ##   in Loop: Header=BB0_13 Depth=1
	movl	-112(%rbp,%rbx), %edi
	addq	$16, %rbx
	addq	%r14, %r13
	jmp	LBB0_13
LBB0_16:                                ##   in Loop: Header=BB0_13 Depth=1
	movq	%r13, %rdi
	xorl	%esi, %esi
	movl	$16, %edx
	callq	_memset
	cmpl	$64, %ebx
	jne	LBB0_19
LBB0_20:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_22
## %bb.21:
	addq	$136, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_22:
	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_4x4        ; -- Begin function ff_ivi_inverse_haar_4x4
	.p2align	2
_ff_ivi_inverse_haar_4x4:               ; @ff_ivi_inverse_haar_4x4
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
	mov	x22, x3
	mov	x20, x2
	mov	x19, x1
	mov	x21, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
	ldr	x8, [x3]
	cbz	x8, LBB0_5
; %bb.1:
	ldr	w8, [x21]
	lsl	w0, w8, #1
	ldr	w8, [x21, #16]
	lsl	w1, w8, #1
	ldr	w2, [x21, #32]
	ldr	w3, [x21, #48]
	bl	_INV_HAAR4
	ldr	x8, [x22, #8]
	cbz	x8, LBB0_6
LBB0_2:
	ldr	w8, [x21, #4]
	lsl	w0, w8, #1
	ldr	w8, [x21, #20]
	lsl	w1, w8, #1
	ldr	w2, [x21, #36]
	ldr	w3, [x21, #52]
	bl	_INV_HAAR4
	ldr	x8, [x22, #16]
	cbz	x8, LBB0_7
LBB0_3:
	ldr	w0, [x21, #8]
	ldr	w1, [x21, #24]
	ldr	w2, [x21, #40]
	ldr	w3, [x21, #56]
	bl	_INV_HAAR4
	ldr	x8, [x22, #24]
	cbz	x8, LBB0_8
LBB0_4:
	ldr	w0, [x21, #12]
	ldr	w1, [x21, #28]
	ldr	w2, [x21, #44]
	ldr	w3, [x21, #60]
	bl	_INV_HAAR4
	b	LBB0_9
LBB0_5:
	str	wzr, [sp, #72]
	str	wzr, [sp, #56]
	str	wzr, [sp, #40]
	ldr	x8, [x22, #8]
	cbnz	x8, LBB0_2
LBB0_6:
	str	wzr, [sp, #76]
	str	wzr, [sp, #60]
	str	wzr, [sp, #44]
	str	wzr, [sp, #28]
	ldr	x8, [x22, #16]
	cbnz	x8, LBB0_3
LBB0_7:
	str	wzr, [sp, #80]
	str	wzr, [sp, #64]
	str	wzr, [sp, #48]
	str	wzr, [sp, #32]
	ldr	x8, [x22, #24]
	cbnz	x8, LBB0_4
LBB0_8:
	str	wzr, [sp, #84]
	str	wzr, [sp, #68]
	str	wzr, [sp, #52]
	str	wzr, [sp, #36]
LBB0_9:
	mov	w0, #0
	sbfiz	x20, x20, #2, #32
	mov	w21, #8
	add	x22, sp, #24
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	add	x8, x22, x21
	ldur	w1, [x8, #-4]
	orr	w9, w0, w1
	cbnz	w9, LBB0_14
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	ldr	w9, [x22, x21]
	cbnz	w9, LBB0_13
; %bb.12:                               ;   in Loop: Header=BB0_10 Depth=1
	add	x9, x22, x21
	ldr	w9, [x9, #4]
	cbz	w9, LBB0_16
LBB0_13:                                ;   in Loop: Header=BB0_10 Depth=1
	mov	w1, #0
LBB0_14:                                ;   in Loop: Header=BB0_10 Depth=1
	ldp	w2, w3, [x8]
	ldp	w4, w5, [x19]
	ldp	w6, w7, [x19, #8]
	bl	_INV_HAAR4
	cmp	w21, #56
	b.eq	LBB0_17
LBB0_15:                                ;   in Loop: Header=BB0_10 Depth=1
	add	x8, x22, x21
	ldr	w0, [x8, #8]
	add	x21, x21, #16
	add	x19, x19, x20
	b	LBB0_10
LBB0_16:                                ;   in Loop: Header=BB0_10 Depth=1
	mov	x0, x19
	mov	w1, #0
	mov	w2, #16
	bl	_memset
	cmp	w21, #56
	b.ne	LBB0_15
LBB0_17:
	ldur	x8, [x29, #-40]
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, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
LBB0_19:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
