	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function blur_image
_blur_image:                            ## @blur_image
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, -80(%rbp)                  ## 8-byte Spill
	movl	%r8d, -44(%rbp)                 ## 4-byte Spill
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	movl	%edx, %ebx
	movq	%rsi, %r14
	movq	%rdi, -112(%rbp)                ## 8-byte Spill
	movq	48(%rbp), %r13
	cmpl	$0, 40(%rbp)
	jne	LBB0_2
## %bb.1:
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	movq	%r14, %rdx
	movl	%ebx, %ecx
	movl	24(%rbp), %r8d
	movl	32(%rbp), %r9d
                                        ## kill: def $r9d killed $r9d killed $r9
	callq	_av_image_copy_plane
LBB0_2:
	movslq	(%r13), %rax
	movl	4(%r13), %r10d
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	cmpl	%r10d, %eax
	jle	LBB0_3
LBB0_13:
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movslq	%ebx, %rsi
	movslq	-44(%rbp), %rbx                 ## 4-byte Folded Reload
	movslq	16(%rbp), %r9
	movl	12(%r13), %eax
	movq	-56(%rbp), %r8                  ## 8-byte Reload
	movq	%r8, %rdx
	imulq	%rsi, %rdx
	leaq	(%r14,%rdx,8), %rcx
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	shlq	$3, %rsi
	movq	%rsi, -104(%rbp)                ## 8-byte Spill
	movq	%r8, %rdx
	imulq	%rbx, %rdx
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	leaq	(%rsi,%rdx,8), %r15
	shlq	$3, %rbx
	movq	%rbx, -96(%rbp)                 ## 8-byte Spill
	movq	%r8, %rdx
	imulq	%r9, %rdx
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	leaq	(%rsi,%rdx,8), %r12
	shlq	$3, %r9
	movq	%r9, -88(%rbp)                  ## 8-byte Spill
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_4 Depth=1
	movl	4(%r13), %r10d
LBB0_12:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	leaq	1(%rbx), %rdx
	movslq	%r10d, %rsi
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	addq	-104(%rbp), %rcx                ## 8-byte Folded Reload
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	addq	-96(%rbp), %r15                 ## 8-byte Folded Reload
	addq	-88(%rbp), %r12                 ## 8-byte Folded Reload
	cmpq	%rsi, %rbx
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	jge	LBB0_13
LBB0_4:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_6 Depth 2
	movl	8(%r13), %r14d
	cmpl	%eax, %r14d
	jg	LBB0_12
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movslq	%r14d, %rbx
	decq	%rbx
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_6 Depth=2
	subq	$8, %rsp
	movq	-112(%rbp), %rdi                ## 8-byte Reload
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	movl	16(%rbp), %edx
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movl	-44(%rbp), %r8d                 ## 4-byte Reload
	movl	24(%rbp), %r9d
	pushq	-56(%rbp)                       ## 8-byte Folded Reload
	pushq	%r14
	movl	32(%rbp), %eax
	pushq	%rax
	callq	_blur_pixel
	addq	$32, %rsp
	movq	%rax, 8(%r15,%rbx,8)
	movl	12(%r13), %eax
LBB0_10:                                ##   in Loop: Header=BB0_6 Depth=2
	movslq	%eax, %rcx
	incq	%rbx
	incl	%r14d
	cmpq	%rcx, %rbx
	jge	LBB0_11
LBB0_6:                                 ##   Parent Loop BB0_4 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	cmpq	$0, 8(%r12,%rbx,8)
	jne	LBB0_7
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=2
	cmpl	$0, 40(%rbp)
	jne	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_6 Depth=2
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movq	8(%rcx,%rbx,8), %rcx
	movq	%rcx, 8(%r15,%rbx,8)
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_blur_image
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function blur_image
_blur_image:                            ; @blur_image
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x28, x27, [sp, #64]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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
	str	w7, [sp, #44]                   ; 4-byte Folded Spill
	stp	x5, x6, [sp, #48]               ; 16-byte Folded Spill
	mov	x22, x4
	mov	x23, x3
	mov	x26, x2
	mov	x19, x1
	mov	x24, x0
	ldr	x28, [x29, #24]
	ldp	w25, w8, [x29, #16]
	str	w8, [sp, #40]                   ; 4-byte Folded Spill
	cbnz	w8, LBB0_2
; %bb.1:
	mov	x0, x23
	mov	x1, x22
	mov	x2, x19
	mov	x3, x26
	ldr	w4, [sp, #44]                   ; 4-byte Folded Reload
	mov	x5, x25
	bl	_av_image_copy_plane
LBB0_2:
	ldp	w27, w9, [x28]
                                        ; kill: def $w27 killed $w27 def $x27
	sxtw	x27, w27
	cmp	w27, w9
	b.le	LBB0_4
LBB0_3:
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
LBB0_4:
	sxtw	x10, w26
	sxtw	x11, w22
	ldr	x13, [sp, #56]                  ; 8-byte Folded Reload
	sxtw	x12, w13
	ldr	w8, [x28, #12]
	mul	x10, x27, x10
	add	x19, x19, x10, lsl #3
	sbfiz	x10, x26, #3, #32
	str	x10, [sp, #32]                  ; 8-byte Folded Spill
	mul	x10, x27, x11
	add	x20, x23, x10, lsl #3
	sbfiz	x10, x22, #3, #32
	str	x10, [sp, #24]                  ; 8-byte Folded Spill
	mul	x10, x27, x12
	ldr	x11, [sp, #48]                  ; 8-byte Folded Reload
	add	x21, x11, x10, lsl #3
	sbfiz	x10, x13, #3, #32
	str	x10, [sp, #16]                  ; 8-byte Folded Spill
	b	LBB0_7
LBB0_5:                                 ;   in Loop: Header=BB0_7 Depth=1
	ldr	w9, [x28, #4]
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	cmp	x27, w9, sxtw
	add	x27, x27, #1
	ldr	x10, [sp, #32]                  ; 8-byte Folded Reload
	add	x19, x19, x10
	ldr	x10, [sp, #24]                  ; 8-byte Folded Reload
	add	x20, x20, x10
	ldr	x10, [sp, #16]                  ; 8-byte Folded Reload
	add	x21, x21, x10
	b.ge	LBB0_3
LBB0_7:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_10 Depth 2
	ldrsw	x26, [x28, #8]
	cmp	w26, w8
	b.le	LBB0_10
	b	LBB0_6
LBB0_8:                                 ;   in Loop: Header=BB0_10 Depth=2
	str	w27, [sp]
	mov	x0, x24
	ldp	x1, x2, [sp, #48]               ; 16-byte Folded Reload
                                        ; kill: def $w2 killed $w2 killed $x2
	mov	x3, x23
	mov	x4, x22
	ldr	w5, [sp, #44]                   ; 4-byte Folded Reload
	mov	x6, x25
	mov	x7, x26
	bl	_blur_pixel
	str	x0, [x20, x26, lsl #3]
	ldr	w8, [x28, #12]
LBB0_9:                                 ;   in Loop: Header=BB0_10 Depth=2
	cmp	x26, w8, sxtw
	add	x26, x26, #1
	b.ge	LBB0_5
LBB0_10:                                ;   Parent Loop BB0_7 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x9, [x21, x26, lsl #3]
	cbnz	x9, LBB0_8
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=2
	ldr	w9, [sp, #40]                   ; 4-byte Folded Reload
	cbnz	w9, LBB0_9
; %bb.12:                               ;   in Loop: Header=BB0_10 Depth=2
	lsl	x9, x26, #3
	ldr	x10, [x19, x9]
	str	x10, [x20, x9]
	b	LBB0_9
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_blur_image
.subsections_via_symbols
