	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal4,4byte_literals
	.p2align	2                               ## -- Begin function make_gauss_kernel
LCPI0_0:
	.long	0x3f000000                      ## float 0.5
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_make_gauss_kernel:                     ## @make_gauss_kernel
	.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	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	xorps	%xmm2, %xmm2
	ucomiss	%xmm2, %xmm0
	jbe	LBB0_6
## %bb.1:
	movaps	%xmm1, %xmm3
	movq	%rdi, %r15
	movss	LCPI0_0(%rip), %xmm1            ## xmm1 = mem[0],zero,zero,zero
	mulss	%xmm0, %xmm1
	cvttss2si	%xmm1, %r14d
	negl	%r14d
	xorl	%ebx, %ebx
	movss	%xmm0, -28(%rbp)                ## 4-byte Spill
	movss	%xmm3, -32(%rbp)                ## 4-byte Spill
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movss	%xmm2, -36(%rbp)                ## 4-byte Spill
	leal	(%r14,%rbx), %edi
	movaps	%xmm3, %xmm0
	callq	_gaussian_for
	movss	-32(%rbp), %xmm3                ## 4-byte Reload
                                        ## xmm3 = mem[0],zero,zero,zero
	movss	-36(%rbp), %xmm2                ## 4-byte Reload
                                        ## xmm2 = mem[0],zero,zero,zero
	movss	%xmm0, (%r15,%rbx,4)
	incq	%rbx
	xorps	%xmm1, %xmm1
	cvtsi2ss	%ebx, %xmm1
	addss	%xmm0, %xmm2
	movss	-28(%rbp), %xmm0                ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	ucomiss	%xmm1, %xmm0
	movss	-28(%rbp), %xmm0                ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	ja	LBB0_2
## %bb.3:
	xorps	%xmm1, %xmm1
	ucomiss	%xmm1, %xmm0
	jbe	LBB0_6
## %bb.4:
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movss	(%r15,%rax,4), %xmm1            ## xmm1 = mem[0],zero,zero,zero
	divss	%xmm2, %xmm1
	movss	%xmm1, (%r15,%rax,4)
	incq	%rax
	xorps	%xmm1, %xmm1
	cvtsi2ss	%eax, %xmm1
	ucomiss	%xmm1, %xmm0
	ja	LBB0_5
LBB0_6:
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_make_gauss_kernel
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function make_gauss_kernel
_make_gauss_kernel:                     ; @make_gauss_kernel
	.cfi_startproc
; %bb.0:
	stp	d11, d10, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	d9, d8, [sp, #16]               ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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 b8, -56
	.cfi_offset b9, -64
	.cfi_offset b10, -72
	.cfi_offset b11, -80
	fcmp	s0, #0.0
	b.le	LBB0_6
; %bb.1:
	fmov	s9, s1
	fmov	s8, s0
	mov	x19, x0
	mov	x20, #0
	fmov	s0, #0.50000000
	fmul	s0, s8, s0
	fcvtzs	w8, s0
	neg	w21, w8
	movi	d10, #0000000000000000
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	add	w0, w21, w20
	fmov	s0, s9
	bl	_gaussian_for
	fadd	s10, s10, s0
	str	s0, [x19, x20, lsl #2]
	add	x20, x20, #1
	scvtf	s0, w20
	fcmp	s0, s8
	b.mi	LBB0_2
; %bb.3:
	fcmp	s8, #0.0
	b.le	LBB0_6
; %bb.4:
	mov	x8, #0
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	lsl	x9, x8, #2
	ldr	s0, [x19, x9]
	fdiv	s0, s0, s10
	str	s0, [x19, x9]
	add	x8, x8, #1
	scvtf	s0, w8
	fcmp	s0, s8
	b.mi	LBB0_5
LBB0_6:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #16]               ; 16-byte Folded Reload
	ldp	d11, d10, [sp], #80             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_make_gauss_kernel
.subsections_via_symbols
