	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function blur_pixel
_blur_pixel:                            ## @blur_pixel
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, -72(%rbp)                 ## 4-byte Spill
	movl	%r8d, -64(%rbp)                 ## 4-byte Spill
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movq	%rdi, %rbx
	movl	24(%rbp), %r15d
	movl	32(%rbp), %r14d
	movl	%r14d, %eax
	movl	%edx, -76(%rbp)                 ## 4-byte Spill
	imull	%edx, %eax
	addl	%r15d, %eax
	cltq
	movq	%rsi, -96(%rbp)                 ## 8-byte Spill
	movslq	(%rsi,%rax,4), %r12
	movl	%r15d, %esi
	subl	%r12d, %esi
	xorl	%r13d, %r13d
	xorl	%edi, %edi
	callq	_FFMAX
	movl	%eax, -80(%rbp)                 ## 4-byte Spill
	movl	%r14d, %esi
	subl	%r12d, %esi
	xorl	%edi, %edi
	callq	_FFMAX
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	-72(%rbp), %edi                 ## 4-byte Reload
	decl	%edi
	addl	%r12d, %r15d
	movl	%r15d, %esi
	callq	_FFMIN
	movl	%eax, %r15d
	movl	16(%rbp), %edi
	decl	%edi
	addl	%r12d, %r14d
	movl	%r14d, %esi
	callq	_FFMIN
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	movl	%eax, %r8d
	movl	$255, %eax
	cmpl	%r8d, %esi
	jg	LBB0_13
## %bb.1:
	movl	%esi, %eax
	movl	-76(%rbp), %r10d                ## 4-byte Reload
	imull	%r10d, %eax
	cltq
	movq	-96(%rbp), %rcx                 ## 8-byte Reload
	leaq	(%rcx,%rax,4), %rax
	movl	-80(%rbp), %r11d                ## 4-byte Reload
	movslq	%r11d, %r9
	leaq	(%rax,%r9,4), %rdx
	movslq	%esi, %r14
	movl	-64(%rbp), %ecx                 ## 4-byte Reload
	imull	%ecx, %esi
	movslq	%esi, %rax
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	leaq	(%rsi,%rax,4), %rax
	leaq	(%rax,%r9,4), %rdi
	movl	%r15d, %esi
	subl	%r9d, %esi
	incl	%esi
	subl	%esi, %ecx
	movslq	%ecx, %r9
	subl	%esi, %r10d
	movslq	%r10d, %rcx
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	incl	%r8d
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
	xorl	%ecx, %ecx
	movl	%r15d, -84(%rbp)                ## 4-byte Spill
	movl	%r8d, -44(%rbp)                 ## 4-byte Spill
	movq	%r9, -56(%rbp)                  ## 8-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	subq	%rax, %rdx
	subq	%rax, %rdi
	movl	-84(%rbp), %r15d                ## 4-byte Reload
	movl	-44(%rbp), %r8d                 ## 4-byte Reload
	movq	-56(%rbp), %r9                  ## 8-byte Reload
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	leaq	(%rdi,%r9,4), %rdi
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rdx,%rax,4), %rdx
	incq	%r14
	cmpl	%r14d, %r8d
	je	LBB0_11
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_4 Depth 2
	cmpl	%r15d, %r11d
	jg	LBB0_10
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r14, %r8
	subq	-64(%rbp), %r8                  ## 8-byte Folded Reload
	xorl	%eax, %eax
	xorl	%r15d, %r15d
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_4 Depth=2
	movq	%r10, %rbx
LBB0_8:                                 ##   in Loop: Header=BB0_4 Depth=2
	incq	%r15
	addq	$-4, %rax
	cmpl	%r15d, %esi
	je	LBB0_9
LBB0_4:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	cmpl	$0, (%rdx,%r15,4)
	jne	LBB0_8
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=2
	movq	%rbx, %r10
	movq	(%rbx,%r12,8), %r9
	movq	(%r9,%r15,8), %rbx
	cmpl	$0, (%rbx,%r8,4)
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=2
	addl	(%rdi,%r15,4), %ecx
	incl	%r13d
	jmp	LBB0_7
LBB0_11:
	testl	%r13d, %r13d
	movl	$255, %eax
	je	LBB0_13
## %bb.12:
	movl	%r13d, %eax
	shrl	%eax
	addl	%ecx, %eax
	xorl	%edx, %edx
	divl	%r13d
LBB0_13:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_blur_pixel
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function blur_pixel
_blur_pixel:                            ; @blur_pixel
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	mov	x21, x7
	mov	x27, x6
	mov	x28, x5
	str	w4, [sp, #12]                   ; 4-byte Folded Spill
	str	x3, [sp]                        ; 8-byte Folded Spill
	mov	x22, x2
	mov	x25, x1
	mov	x19, x0
	ldr	w23, [x29, #16]
	madd	w8, w23, w2, w7
	ldrsw	x24, [x1, w8, sxtw #2]
	sub	w1, w7, w24
	mov	w0, #0
	bl	_FFMAX
	mov	x20, x0
	sub	w1, w23, w24
	mov	w0, #0
	bl	_FFMAX
	mov	x26, x0
	sub	w0, w28, #1
	add	w1, w24, w21
	bl	_FFMIN
	mov	x21, x0
	sub	w0, w27, #1
	add	w1, w24, w23
	bl	_FFMIN
	cmp	w26, w0
	b.gt	LBB0_11
; %bb.1:
	mov	w8, #0
	mov	w9, #0
	mul	w10, w26, w22
	add	x10, x25, w10, sxtw #2
	sbfiz	x11, x20, #2, #32
	add	x10, x10, x11
	ldr	w13, [sp, #12]                  ; 4-byte Folded Reload
	mul	w12, w26, w13
	ldr	x14, [sp]                       ; 8-byte Folded Reload
	add	x12, x14, w12, sxtw #2
	add	x11, x12, x11
	sub	w12, w21, w20
	add	w12, w12, #1
	sub	w13, w13, w12
	sxtw	x13, w13
	sub	w14, w22, w12
	sxtw	x14, w14
	sxtw	x15, w26
	add	w16, w0, #1
	mov	x17, x15
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x11, x11, x13, lsl #2
	add	x10, x10, x14, lsl #2
	add	x17, x17, #1
	cmp	w16, w17
	b.eq	LBB0_9
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_6 Depth 2
	cmp	w20, w21
	b.gt	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, #0
	sub	x1, x17, x15
	mov	x2, x12
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=2
	add	x11, x11, #4
	add	x10, x10, #4
	add	x0, x0, #8
	subs	w2, w2, #1
	b.eq	LBB0_2
LBB0_6:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w3, [x10]
	cbnz	w3, LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=2
	ldr	x3, [x19, x24, lsl #3]
	ldr	x3, [x3, x0]
	ldr	w3, [x3, x1, lsl #2]
	cbz	w3, LBB0_5
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=2
	ldr	w3, [x11]
	add	w9, w3, w9
	add	w8, w8, #1
	b	LBB0_5
LBB0_9:
	cbz	w8, LBB0_11
; %bb.10:
	add	w9, w9, w8, lsr #1
	udiv	w0, w9, w8
	b	LBB0_12
LBB0_11:
	mov	w0, #255
LBB0_12:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_blur_pixel
.subsections_via_symbols
