	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gaussian_blur
_gaussian_blur:                         ## @gaussian_blur
	.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
	movl	%r8d, %r12d
	movq	%rcx, %rbx
	movl	%edx, %r13d
	movl	%esi, %r15d
	movl	16(%rbp), %r14d
	movq	%rcx, %rdi
	movq	%r9, -48(%rbp)                  ## 8-byte Spill
	movq	%r9, %rsi
	movl	%r15d, %edx
	callq	_memcpy
	cmpl	$2, %r13d
	jl	LBB0_15
## %bb.1:
	movslq	%r12d, %r12
	movslq	%r14d, %r14
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rax,%r14,4), %rsi
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	leaq	(%rbx,%r12,4), %rbx
	movq	%rbx, %rdi
	movl	%r15d, %edx
	callq	_memcpy
	movq	%r12, %r8
	leaq	(%rbx,%r12,4), %r12
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rax,%r14,4), %rbx
	cmpl	$5, %r13d
	movq	%r13, -88(%rbp)                 ## 8-byte Spill
	movq	%r8, -80(%rbp)                  ## 8-byte Spill
	movq	%r14, -72(%rbp)                 ## 8-byte Spill
	jb	LBB0_13
## %bb.2:
	movq	%r14, %r10
	leal	-2(%r15), %r11d
	leal	(%r14,%r14), %eax
	movslq	%eax, %rcx
	negl	%eax
	cltq
	leal	-3(%r13), %r9d
	leaq	(,%r14,4), %rdx
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	leaq	(%r14,%r14,2), %rdx
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	leaq	16(%rsi,%rdx,4), %r14
	leaq	(%rcx,%r10,2), %rcx
	leaq	16(%rsi,%rcx,4), %rdi
	leaq	(%rax,%r10,2), %rax
	leaq	(%rsi,%rax,4), %rax
	addq	$16, %rax
	movl	%r10d, %r13d
	negl	%r13d
	leaq	(,%r8,4), %r8
	movq	%r11, -104(%rbp)                ## 8-byte Spill
	addq	$-2, %r11
	movl	$2, %esi
	movq	%r15, -112(%rbp)                ## 8-byte Spill
	movl	%r9d, -60(%rbp)                 ## 4-byte Spill
	movq	%r8, -96(%rbp)                  ## 8-byte Spill
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_3 Depth=1
	addq	%r8, %r12
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	addq	%rdx, %rbx
	leal	1(%rsi), %ecx
	addq	%rdx, %r14
	addq	%rdx, %rdi
	addq	%rdx, %rax
	cmpl	%r9d, %esi
	movl	%ecx, %esi
	je	LBB0_13
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_7 Depth 2
	movl	(%rbx), %ecx
	movl	%ecx, (%r12)
	cmpl	$2, %r15d
	jl	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	4(%rbx), %ecx
	movl	%ecx, 4(%r12)
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	$2, %ecx
	cmpl	$5, %r15d
	jl	LBB0_9
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_7:                                 ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	-12(%rdi,%rcx,4), %r8d
	leaq	(%rcx,%r13), %rdx
	movslq	%edx, %r9
	addl	$2, %edx
	leal	1(%r9), %esi
	movslq	%esi, %r10
	leal	4(%r9), %esi
	movslq	%esi, %rsi
	addl	-12(%rax,%rcx,4), %r8d
	addl	-4(%rax,%rcx,4), %r8d
	addl	-4(%rdi,%rcx,4), %r8d
	addl	(%rbx,%r9,4), %r8d
	addl	-16(%r14,%rcx,4), %r8d
	addl	(%rbx,%rsi,4), %r8d
	movslq	%edx, %rdx
	movl	-8(%r14,%rcx,4), %r15d
	addl	(%rbx,%rdx,4), %r15d
	movl	-12(%r14,%rcx,4), %edx
	addl	(%rbx,%r10,4), %edx
	leal	3(%r9), %esi
	movslq	%esi, %rsi
	addl	(%rbx,%rsi,4), %edx
	movl	-16(%rdi,%rcx,4), %esi
	addl	-4(%r14,%rcx,4), %edx
	addl	-16(%rax,%rcx,4), %esi
	addl	(%rax,%rcx,4), %esi
	addl	(%rdi,%rcx,4), %esi
	leal	(%rdx,%rdx,8), %edx
	leal	(%rdx,%rsi,2), %edx
	movl	8(%rbx,%rcx,4), %esi
	leal	(%rsi,%rsi,4), %esi
	leal	(%rsi,%rsi,2), %esi
	addl	%esi, %edx
	addl	(%r14,%rcx,4), %r8d
	addl	4(%rbx,%rcx,4), %r15d
	addl	12(%rbx,%rcx,4), %r15d
	leal	(%rdx,%r8,4), %edx
	leal	(%r15,%r15,2), %esi
	leal	(%rdx,%rsi,4), %edx
	movl	-8(%rdi,%rcx,4), %esi
	addl	-8(%rax,%rcx,4), %esi
	addl	(%rbx,%rcx,4), %esi
	addl	16(%rbx,%rcx,4), %esi
	leal	(%rsi,%rsi,4), %esi
	addl	%esi, %edx
	movslq	%edx, %rdx
	imulq	$432197967, %rdx, %rdx          ## imm = 0x19C2D14F
	movq	%rdx, %rsi
	shrq	$63, %rsi
	sarq	$36, %rdx
	addl	%esi, %edx
	movl	%edx, 8(%r12,%rcx,4)
	incq	%rcx
	cmpq	%rcx, %r11
	jne	LBB0_7
## %bb.8:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	-104(%rbp), %rcx                ## 8-byte Reload
                                        ## kill: def $ecx killed $ecx killed $rcx
	movq	-112(%rbp), %r15                ## 8-byte Reload
	movl	-60(%rbp), %r9d                 ## 4-byte Reload
	movq	-96(%rbp), %r8                  ## 8-byte Reload
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
LBB0_9:                                 ##   in Loop: Header=BB0_3 Depth=1
	cmpl	$3, %r15d
	jl	LBB0_12
## %bb.10:                              ##   in Loop: Header=BB0_3 Depth=1
	movl	%ecx, %ecx
	movl	(%rbx,%rcx,4), %edx
	movl	%edx, (%r12,%rcx,4)
	je	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_3 Depth=1
	movl	4(%rbx,%rcx,4), %edx
	movl	%edx, 4(%r12,%rcx,4)
	jmp	LBB0_12
LBB0_13:
	movq	-88(%rbp), %r14                 ## 8-byte Reload
	cmpl	$3, %r14d
	jl	LBB0_15
## %bb.14:
	movq	%r12, %rdi
	movq	%rbx, %rsi
	movl	%r15d, %edx
	callq	_memcpy
	cmpl	$3, %r14d
	jne	LBB0_16
LBB0_15:
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_16:
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rbx,%rax,4), %rsi
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	leaq	(%r12,%rax,4), %rdi
	movl	%r15d, %edx
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_memcpy                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_gaussian_blur
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gaussian_blur
_gaussian_blur:                         ; @gaussian_blur
	.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
	mov	x24, x6
	mov	x21, x5
	mov	x23, x4
	mov	x22, x3
	mov	x20, x2
	mov	x19, x1
	mov	x0, x3
	mov	x1, x5
	mov	x2, x19
	bl	_memcpy
	cmp	w20, #2
	b.lt	LBB0_15
; %bb.1:
	sxtw	x8, w23
	sxtw	x25, w24
	lsl	x26, x25, #2
	add	x23, x21, x26
	str	x8, [sp, #8]                    ; 8-byte Folded Spill
	lsl	x27, x8, #2
	add	x22, x22, x27
	mov	x0, x22
	mov	x1, x23
	mov	x2, x19
	str	w20, [sp, #16]                  ; 4-byte Folded Spill
	bl	_memcpy
	ldr	w8, [sp, #16]                   ; 4-byte Folded Reload
	add	x22, x22, x27
	add	x23, x23, x26
	cmp	w8, #5
	b.lo	LBB0_13
; %bb.2:
	lsl	w16, w24, #1
	sub	w10, w19, #2
	lsl	x9, x25, #3
	neg	w0, w16
	lsl	x1, x25, #1
	sub	w2, w8, #3
	stp	x10, x27, [sp, #24]             ; 16-byte Folded Spill
	sub	x11, x10, #2
	neg	w12, w24
	mov	w13, #12
	add	x14, x1, w16, sxtw
	orr	x15, xzr, #0x8
	add	x14, x21, x14, lsl #2
	madd	x15, x25, x13, x15
	add	x16, x9, w16, sxtw #2
	add	x17, x9, w0, sxtw #2
	add	x1, x1, w0, sxtw
	mov	w4, #2
	mov	w0, #53583
	movk	w0, #6594, lsl #16
	add	x1, x21, x1, lsl #2
	str	w19, [sp, #56]                  ; 4-byte Folded Spill
	stp	x26, x25, [sp, #40]             ; 16-byte Folded Spill
	str	w2, [sp, #20]                   ; 4-byte Folded Spill
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x22, x22, x27
	add	x23, x23, x25, lsl #2
	add	w8, w4, #1
	add	x21, x21, x26
	add	x14, x14, x26
	add	x1, x1, x26
	cmp	w4, w2
	mov	x4, x8
	b.eq	LBB0_13
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_8 Depth 2
	ldr	w3, [x23]
	str	w3, [x22]
	cmp	w19, #2
	b.lt	LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w3, [x23, #4]
	str	w3, [x22, #4]
LBB0_6:                                 ;   in Loop: Header=BB0_4 Depth=1
	cmp	w19, #5
	b.lt	LBB0_10
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	str	w4, [sp, #60]                   ; 4-byte Folded Spill
	mov	x3, #0
	mov	x4, x21
LBB0_8:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	add	x6, x4, x17
	add	x7, x4, x16
	ldr	w24, [x6, #4]
	ldr	w30, [x7, #4]
	lsl	x5, x3, #2
	add	x25, x1, x5
	add	x20, x14, x5
	ldp	w8, w25, [x25, #12]
	ldp	w26, w20, [x20, #12]
	add	x10, x12, x3
	add	w28, w10, #2
	ldr	w27, [x23, w10, sxtw #2]
	add	x19, x4, x15
	add	w24, w30, w24
	ldp	w30, w2, [x19, #-8]
	ldr	w28, [x23, w28, sxtw #2]
	add	w8, w24, w8
	add	w8, w8, w26
	ldp	w24, w26, [x19]
	add	w8, w8, w27
	add	w27, w10, #4
	ldr	w27, [x23, w27, sxtw #2]
	ldr	w19, [x19, #8]
	add	w8, w8, w30
	add	x30, x4, x9
	add	w8, w8, w27
	add	w8, w8, w19
	ldp	w19, w27, [x30]
	add	w24, w24, w28
	ldr	w28, [x6, #8]
	add	w24, w24, w27
	ldr	w27, [x30, #12]
	add	w24, w24, w27
	ldr	w27, [x7, #8]
	add	w27, w27, w28
	add	w19, w27, w19
	ldr	w27, [x30, #16]
	add	w19, w19, w27
	add	w27, w10, #1
	ldr	w27, [x23, w27, sxtw #2]
	add	w10, w10, #3
	ldr	w10, [x23, w10, sxtw #2]
	add	w2, w2, w27
	add	w10, w2, w10
	add	w10, w10, w26
	ldr	w2, [x6]
	ldr	w6, [x7]
	add	w2, w6, w2
	add	w2, w2, w25
	add	w2, w2, w20
	ldr	w6, [x30, #8]
	add	w10, w10, w10, lsl #3
	add	w10, w10, w2, lsl #1
	lsl	w2, w6, #4
	sub	w2, w2, w6
	add	w10, w10, w2
	add	w8, w10, w8, lsl #2
	madd	w8, w24, w13, w8
	add	w10, w19, w19, lsl #2
	add	w8, w8, w10
	smull	x8, w8, w0
	lsr	x10, x8, #63
	asr	x8, x8, #36
	add	w8, w8, w10
	add	x10, x22, x5
	str	w8, [x10, #8]
	add	x3, x3, #1
	add	x4, x4, #4
	cmp	x11, x3
	b.ne	LBB0_8
; %bb.9:                                ;   in Loop: Header=BB0_4 Depth=1
	ldp	x8, x27, [sp, #24]              ; 16-byte Folded Reload
	mov	x3, x8
	ldp	w19, w4, [sp, #56]              ; 8-byte Folded Reload
	ldp	x26, x25, [sp, #40]             ; 16-byte Folded Reload
	ldr	w2, [sp, #20]                   ; 4-byte Folded Reload
	cmp	w19, #3
	b.lt	LBB0_3
	b	LBB0_11
LBB0_10:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w3, #2
	cmp	w19, #3
	b.lt	LBB0_3
LBB0_11:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w8, w3
	lsl	x8, x8, #2
	ldr	w10, [x23, x8]
	str	w10, [x22, x8]
	cmp	w19, #3
	b.eq	LBB0_3
; %bb.12:                               ;   in Loop: Header=BB0_4 Depth=1
	add	w8, w3, #1
	lsl	x8, x8, #2
	ldr	w10, [x23, x8]
	str	w10, [x22, x8]
	b	LBB0_3
LBB0_13:
	ldr	w8, [sp, #16]                   ; 4-byte Folded Reload
	cmp	w8, #3
	b.lt	LBB0_15
; %bb.14:
	mov	x0, x22
	mov	x1, x23
	mov	x2, x19
	mov	x20, x8
	bl	_memcpy
	cmp	w20, #3
	b.ne	LBB0_16
LBB0_15:
	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_16:
	add	x1, x23, x25, lsl #2
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	add	x0, x22, x8, lsl #2
	mov	x2, x19
	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
	b	_memcpy
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_gaussian_blur
.subsections_via_symbols
