	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_spatial_idwt_buffered_slice ## -- Begin function ff_spatial_idwt_buffered_slice
	.p2align	4, 0x90
_ff_spatial_idwt_buffered_slice:        ## @ff_spatial_idwt_buffered_slice
	.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	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, -68(%rbp)                 ## 4-byte Spill
	movl	%r8d, -60(%rbp)                 ## 4-byte Spill
	movq	%rcx, -104(%rbp)                ## 8-byte Spill
	movq	%rdx, -96(%rbp)                 ## 8-byte Spill
	movq	%rsi, -80(%rbp)                 ## 8-byte Spill
	movq	%rdi, -112(%rbp)                ## 8-byte Spill
	movl	24(%rbp), %ebx
	xorl	%eax, %eax
	cmpl	$1, %ebx
	setne	%cl
	cmpl	$2, %ebx
	je	LBB0_11
## %bb.1:
	movl	32(%rbp), %edx
	testl	%edx, %edx
	jle	LBB0_11
## %bb.2:
	movb	%cl, %al
	addl	%eax, %eax
	addl	$3, %eax
	movl	%eax, -64(%rbp)                 ## 4-byte Spill
	movl	%edx, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_4 Depth=1
	cmpq	$2, -88(%rbp)                   ## 8-byte Folded Reload
	jl	LBB0_11
LBB0_4:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_6 Depth 2
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	leaq	-1(%rdx), %rcx
	movl	40(%rbp), %r13d
	sarl	%cl, %r13d
	addl	-64(%rbp), %r13d                ## 4-byte Folded Reload
	movl	-68(%rbp), %r14d                ## 4-byte Reload
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
                                        ## kill: def $cl killed $cl killed $rcx
	sarl	%cl, %r14d
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movq	%rdx, -88(%rbp)                 ## 8-byte Spill
	movq	-8(%rax,%rdx,8), %r15
	movl	%r13d, %edi
	movl	%r14d, %esi
	callq	_FFMIN
	cmpq	%rax, %r15
	jg	LBB0_3
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	-60(%rbp), %eax                 ## 4-byte Reload
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	sarl	%cl, %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movq	-88(%rbp), %rdx                 ## 8-byte Reload
	leaq	(%rax,%rdx,8), %r12
	addq	$-8, %r12
	movl	16(%rbp), %eax
                                        ## kill: def $cl killed $cl killed $rcx
	shll	%cl, %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_6 Depth=2
	movq	%r12, %rdi
	movq	-96(%rbp), %rsi                 ## 8-byte Reload
	movq	-104(%rbp), %rdx                ## 8-byte Reload
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	movl	%r14d, %r8d
	movl	-44(%rbp), %r9d                 ## 4-byte Reload
	callq	_spatial_compose53i_dy_buffered
LBB0_10:                                ##   in Loop: Header=BB0_6 Depth=2
	movq	(%r12), %r15
	movl	%r13d, %edi
	movl	%r14d, %esi
	callq	_FFMIN
	cmpq	%rax, %r15
	movl	24(%rbp), %ebx
	jg	LBB0_3
LBB0_6:                                 ##   Parent Loop BB0_4 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	cmpl	$129, %ebx
	je	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=2
	cmpl	$128, %ebx
	jne	LBB0_10
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=2
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, (%rsp)
	movq	-112(%rbp), %rdi                ## 8-byte Reload
	movq	%r12, %rsi
	movq	-96(%rbp), %rdx                 ## 8-byte Reload
	movq	-104(%rbp), %rcx                ## 8-byte Reload
	movl	-48(%rbp), %r8d                 ## 4-byte Reload
	movl	%r14d, %r9d
	callq	_spatial_compose97i_dy_buffered
	jmp	LBB0_10
LBB0_11:
	addq	$88, %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_buffered_slice ; -- Begin function ff_spatial_idwt_buffered_slice
	.p2align	2
_ff_spatial_idwt_buffered_slice:        ; @ff_spatial_idwt_buffered_slice
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	stp	w4, w6, [sp]                    ; 8-byte Folded Spill
	str	w5, [sp, #28]                   ; 4-byte Folded Spill
	str	x1, [sp, #16]                   ; 8-byte Folded Spill
	str	x0, [sp, #40]                   ; 8-byte Folded Spill
	mov	w8, #5
	mov	w9, #3
	cmp	w7, #1
	csel	w8, w9, w8, eq
	str	w8, [sp, #12]                   ; 4-byte Folded Spill
	cmp	w7, #2
	b.eq	LBB0_11
; %bb.1:
	ldr	w25, [x29, #16]
	cmp	w25, #1
	b.lt	LBB0_11
; %bb.2:
	mov	x19, x7
	mov	x23, x3
	mov	x24, x2
	ldr	w8, [x29, #20]
	str	w8, [sp, #8]                    ; 4-byte Folded Spill
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [sp, #32]                   ; 8-byte Folded Reload
	cmp	x8, #2
	b.lt	LBB0_11
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_8 Depth 2
	str	x25, [sp, #32]                  ; 8-byte Folded Spill
	sub	x25, x25, #1
	ldr	x8, [sp, #16]                   ; 8-byte Folded Reload
	add	x27, x8, x25, lsl #3
	ldp	w8, w9, [sp, #8]                ; 8-byte Folded Reload
	asr	w8, w8, w25
	add	w28, w8, w9
	ldr	w8, [sp, #28]                   ; 4-byte Folded Reload
	asr	w20, w8, w25
	ldr	x21, [x27]
	mov	x0, x28
	mov	x1, x20
	bl	_FFMIN
	cmp	x21, x0
	b.gt	LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [sp]                        ; 4-byte Folded Reload
	asr	w22, w8, w25
	ldr	w8, [sp, #4]                    ; 4-byte Folded Reload
	lsl	w21, w8, w25
	b	LBB0_8
LBB0_6:                                 ;   in Loop: Header=BB0_8 Depth=2
	mov	x0, x27
	mov	x1, x24
	mov	x2, x23
	mov	x3, x22
	mov	x4, x20
	mov	x5, x21
	bl	_spatial_compose53i_dy_buffered
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=2
	ldr	x26, [x27]
	mov	x0, x28
	mov	x1, x20
	bl	_FFMIN
	cmp	x26, x0
	b.gt	LBB0_3
LBB0_8:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	cmp	w19, #129
	b.eq	LBB0_6
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=2
	cmp	w19, #128
	b.ne	LBB0_7
; %bb.10:                               ;   in Loop: Header=BB0_8 Depth=2
	ldr	x0, [sp, #40]                   ; 8-byte Folded Reload
	mov	x1, x27
	mov	x2, x24
	mov	x3, x23
	mov	x4, x22
	mov	x5, x20
	mov	x6, x21
	bl	_spatial_compose97i_dy_buffered
	b	LBB0_7
LBB0_11:
	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
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
