	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_spatial_idwt_init           ## -- Begin function ff_spatial_idwt_init
	.p2align	4, 0x90
_ff_spatial_idwt_init:                  ## @ff_spatial_idwt_init
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, %r15d
	movl	%edx, %r14d
	movq	%rdi, %rbx
	movl	16(%rsi), %eax
	movl	%eax, 20(%rdi)
	movups	(%rsi), %xmm0
	movups	%xmm0, 4(%rdi)
	movl	%ecx, (%rdi)
	cmpl	$8, %r8d
	jne	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_ff_spatial_idwt_init_8bit
	testl	%eax, %eax
	jne	LBB0_8
	jmp	LBB0_9
LBB0_2:
	cmpl	$12, %r15d
	je	LBB0_6
## %bb.3:
	cmpl	$10, %r15d
	jne	LBB0_5
## %bb.4:
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_ff_spatial_idwt_init_10bit
	testl	%eax, %eax
	je	LBB0_9
LBB0_8:
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.1(%rip), %rdx
	xorl	%edi, %edi
	movl	%r14d, %ecx
	callq	_av_log
	movq	_AVERROR_INVALIDDATA@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	jmp	LBB0_12
LBB0_6:
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_ff_spatial_idwt_init_12bit
	testl	%eax, %eax
	jne	LBB0_8
LBB0_9:
	xorl	%r12d, %r12d
	cmpl	$8, %r15d
	jne	LBB0_12
## %bb.10:
	movq	_ARCH_X86@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_12
## %bb.11:
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_ff_spatial_idwt_init_x86
	jmp	LBB0_12
LBB0_5:
	movq	_AV_LOG_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	xorl	%r12d, %r12d
	xorl	%edi, %edi
	movl	%r15d, %ecx
	callq	_av_log
LBB0_12:
	movl	%r12d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AV_LOG_WARNING,4,2             ## @AV_LOG_WARNING
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Unsupported bit depth = %i\n"

	.comm	_AV_LOG_ERROR,4,2               ## @AV_LOG_ERROR
L_.str.1:                               ## @.str.1
	.asciz	"Unknown wavelet type %d\n"

	.comm	_AVERROR_INVALIDDATA,4,2        ## @AVERROR_INVALIDDATA
	.comm	_ARCH_X86,8,3                   ## @ARCH_X86
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_spatial_idwt_init           ; -- Begin function ff_spatial_idwt_init
	.p2align	2
_ff_spatial_idwt_init:                  ; @ff_spatial_idwt_init
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x20, x4
	mov	x19, x2
	mov	x21, x0
	ldr	w8, [x1, #16]
	str	w8, [x0, #20]
	ldr	q0, [x1]
	stur	q0, [x0, #4]
	str	w3, [x0]
	cmp	w4, #8
	b.ne	LBB0_2
; %bb.1:
	mov	x0, x21
	mov	x1, x19
	bl	_ff_spatial_idwt_init_8bit
	cbnz	w0, LBB0_5
	b	LBB0_7
LBB0_2:
	cmp	w20, #12
	b.eq	LBB0_6
; %bb.3:
	cmp	w20, #10
	b.ne	LBB0_10
; %bb.4:
	mov	x0, x21
	mov	x1, x19
	bl	_ff_spatial_idwt_init_10bit
	cbz	w0, LBB0_7
LBB0_5:
Lloh0:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x2, l_.str.1@PAGE
Lloh4:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, #0
	mov	x3, x19
	bl	_av_log
Lloh5:
	adrp	x8, _AVERROR_INVALIDDATA@GOTPAGE
Lloh6:
	ldr	x8, [x8, _AVERROR_INVALIDDATA@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	b	LBB0_12
LBB0_6:
	mov	x0, x21
	mov	x1, x19
	bl	_ff_spatial_idwt_init_12bit
	cbnz	w0, LBB0_5
LBB0_7:
	cmp	w20, #8
	b.ne	LBB0_12
; %bb.8:
Lloh8:
	adrp	x8, _ARCH_X86@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ARCH_X86@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	cbz	x8, LBB0_12
; %bb.9:
	mov	x0, x21
	mov	x1, x19
	bl	_ff_spatial_idwt_init_x86
	b	LBB0_11
LBB0_10:
Lloh11:
	adrp	x8, _AV_LOG_WARNING@GOTPAGE
Lloh12:
	ldr	x8, [x8, _AV_LOG_WARNING@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
Lloh14:
	adrp	x2, l_.str@PAGE
Lloh15:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, #0
	mov	x3, x20
	bl	_av_log
LBB0_11:
	mov	w0, #0
LBB0_12:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_AV_LOG_WARNING,4,2             ; @AV_LOG_WARNING
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Unsupported bit depth = %i\n"

	.comm	_AV_LOG_ERROR,4,2               ; @AV_LOG_ERROR
l_.str.1:                               ; @.str.1
	.asciz	"Unknown wavelet type %d\n"

	.comm	_AVERROR_INVALIDDATA,4,2        ; @AVERROR_INVALIDDATA
	.comm	_ARCH_X86,8,3                   ; @ARCH_X86
.subsections_via_symbols
