	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_spatial_idwt_slice2         ## -- Begin function ff_spatial_idwt_slice2
	.p2align	4, 0x90
_ff_spatial_idwt_slice2:                ## @ff_spatial_idwt_slice2
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, -48(%rbp)                 ## 4-byte Spill
	movl	4(%rdi), %r15d
	testl	%r15d, %r15d
	jle	LBB0_6
## %bb.1:
	movq	%rdi, %r12
	movl	(%rdi), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_2:                                 ##   in Loop: Header=BB0_3 Depth=1
	cmpq	$2, -72(%rbp)                   ## 8-byte Folded Reload
	jl	LBB0_6
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_5 Depth 2
	movq	%r15, %rdx
	decq	%r15
	movl	8(%r12), %ebx
	movl	%r15d, %ecx
	sarl	%cl, %ebx
	movl	12(%r12), %r13d
	sarl	%cl, %r13d
	movl	16(%r12), %r14d
	shll	%cl, %r14d
	movl	-48(%rbp), %edi                 ## 4-byte Reload
	sarl	%cl, %edi
	addl	-44(%rbp), %edi                 ## 4-byte Folded Reload
	movq	32(%r12), %rax
	movq	%rdx, -72(%rbp)                 ## 8-byte Spill
	movq	-8(%rax,%rdx,8), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movl	%edi, -56(%rbp)                 ## 4-byte Spill
	movl	%r13d, %esi
	callq	_FFMIN
	cmpq	%rax, -64(%rbp)                 ## 8-byte Folded Reload
	jg	LBB0_2
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	%ebx, -52(%rbp)                 ## 4-byte Spill
	.p2align	4, 0x90
LBB0_5:                                 ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%r12, %rdi
	movl	%r15d, %esi
	movl	%ebx, %edx
	movl	%r13d, %ecx
	movl	%r14d, %r8d
	callq	*24(%r12)
	movq	32(%r12), %rax
	movl	%r14d, %ebx
	movq	(%rax,%r15,8), %r14
	movl	-56(%rbp), %edi                 ## 4-byte Reload
	movl	%r13d, %esi
	callq	_FFMIN
	cmpq	%rax, %r14
	movl	%ebx, %r14d
	movl	-52(%rbp), %ebx                 ## 4-byte Reload
	jle	LBB0_5
	jmp	LBB0_2
LBB0_6:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_spatial_idwt_slice2         ; -- Begin function ff_spatial_idwt_slice2
	.p2align	2
_ff_spatial_idwt_slice2:                ; @ff_spatial_idwt_slice2
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	ldr	w21, [x0, #4]
	cmp	w21, #1
	b.lt	LBB0_6
; %bb.1:
	mov	x19, x1
	mov	x20, x0
	ldr	w26, [x0]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	cmp	x27, #2
	b.lt	LBB0_6
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_5 Depth 2
	mov	x27, x21
	sub	x21, x21, #1
	ldp	w24, w8, [x20, #8]
	asr	w22, w8, w21
	ldr	w25, [x20, #16]
	asr	w8, w19, w21
	add	w23, w8, w26
	ldr	x8, [x20, #32]
	ldr	x28, [x8, x21, lsl #3]
	mov	x0, x23
	mov	x1, x22
	bl	_FFMIN
	cmp	x28, x0
	b.gt	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	asr	w24, w24, w21
	lsl	w25, w25, w21
LBB0_5:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [x20, #24]
	mov	x0, x20
	mov	x1, x21
	mov	x2, x24
	mov	x3, x22
	mov	x4, x25
	blr	x8
	ldr	x8, [x20, #32]
	ldr	x28, [x8, x21, lsl #3]
	mov	x0, x23
	mov	x1, x22
	bl	_FFMIN
	cmp	x28, x0
	b.le	LBB0_5
	b	LBB0_2
LBB0_6:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
