	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function get_auto_noise_levels
LCPI0_0:
	.quad	0x3ff0000000000000              ## double 1
LCPI0_1:
	.quad	0xc059000000000000              ## double -100
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_get_auto_noise_levels:                 ## @get_auto_noise_levels
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	cmpl	$0, (%rdi)
	jle	LBB0_1
## %bb.9:
	movq	%rsi, %r14
	movq	%rdi, %r12
	xorl	%ebx, %ebx
	movq	_C@GOTPCREL(%rip), %r13
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movsd	LCPI0_0(%rip), %xmm0            ## xmm0 = mem[0],zero
	divsd	(%r13), %xmm0
	movsd	%xmm0, -48(%rbp)                ## 8-byte Spill
	movq	(%r14), %rax
	movl	(%rax,%rbx,4), %eax
	cltd
	idivl	4(%r12)
	movl	%eax, %edi
	callq	_log
	mulsd	-48(%rbp), %xmm0                ## 8-byte Folded Reload
	addsd	LCPI0_1(%rip), %xmm0
	movsd	%xmm0, (%r15,%rbx,8)
	incq	%rbx
	movslq	(%r12), %rcx
	cmpq	%rcx, %rbx
	jl	LBB0_10
## %bb.3:
	cmpl	$14, %ecx
	jg	LBB0_2
## %bb.4:
	movsd	-8(%r15,%rcx,8), %xmm0          ## xmm0 = mem[0],zero
	movl	$7, %edx
	subl	%ecx, %edx
	movq	%rcx, %rax
	andl	$7, %edx
	je	LBB0_7
## %bb.5:
	movq	%rcx, %rax
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movsd	%xmm0, (%r15,%rax,8)
	incq	%rax
	decl	%edx
	jne	LBB0_6
LBB0_7:
	addl	$-8, %ecx
	cmpl	$7, %ecx
	jb	LBB0_2
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movsd	%xmm0, (%r15,%rax,8)
	movsd	%xmm0, 8(%r15,%rax,8)
	movsd	%xmm0, 16(%r15,%rax,8)
	movsd	%xmm0, 24(%r15,%rax,8)
	movsd	%xmm0, 32(%r15,%rax,8)
	movsd	%xmm0, 40(%r15,%rax,8)
	movsd	%xmm0, 48(%r15,%rax,8)
	movsd	%xmm0, 56(%r15,%rax,8)
	addq	$8, %rax
	cmpl	$15, %eax
	jne	LBB0_8
	jmp	LBB0_2
LBB0_1:
	leaq	L_.memset_pattern(%rip), %rsi
	movl	$120, %edx
	movq	%r15, %rdi
	callq	_memset_pattern16
LBB0_2:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_C,8,3                          ## @C
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## @.memset_pattern
L_.memset_pattern:
	.quad	0xc059000000000000              ## double -100
	.quad	0xc059000000000000              ## double -100

	.no_dead_strip	_get_auto_noise_levels
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_auto_noise_levels
_get_auto_noise_levels:                 ; @get_auto_noise_levels
	.cfi_startproc
; %bb.0:
	stp	d9, d8, [sp, #-80]!             ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [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 w23, -56
	.cfi_offset w24, -64
	.cfi_offset b8, -72
	.cfi_offset b9, -80
	mov	x19, x2
	ldr	w8, [x0]
	cmp	w8, #0
	b.le	LBB0_6
; %bb.1:
	mov	x20, x1
	mov	x21, x0
	mov	x22, #0
Lloh0:
	adrp	x23, _C@GOTPAGE
Lloh1:
	ldr	x23, [x23, _C@GOTPAGEOFF]
	fmov	d8, #1.00000000
	mov	x24, #-4586634745500139520
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	d0, [x23]
	fdiv	d9, d8, d0
	ldr	x8, [x20]
	ldr	w8, [x8, x22, lsl #2]
	ldr	w9, [x21, #4]
	sdiv	w0, w8, w9
	bl	_log
	fmov	d1, x24
	fmadd	d0, d9, d0, d1
	str	d0, [x19, x22, lsl #3]
	add	x22, x22, #1
	ldrsw	x9, [x21]
	cmp	x22, x9
	b.lt	LBB0_2
; %bb.3:
	cmp	w9, #14
	b.gt	LBB0_7
; %bb.4:
	add	x8, x19, x9, lsl #3
	ldur	d0, [x8, #-8]
	sub	w9, w9, #15
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	str	d0, [x8], #8
	adds	w9, w9, #1
	b.lo	LBB0_5
	b	LBB0_7
LBB0_6:
Lloh2:
	adrp	x1, l_.memset_pattern@PAGE
Lloh3:
	add	x1, x1, l_.memset_pattern@PAGEOFF
	mov	x0, x19
	mov	w2, #120
	bl	_memset_pattern16
LBB0_7:
	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	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp], #80               ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_C,8,3                          ; @C
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ; @.memset_pattern
l_.memset_pattern:
	.quad	0xc059000000000000              ; double -100
	.quad	0xc059000000000000              ; double -100

	.no_dead_strip	_get_auto_noise_levels
.subsections_via_symbols
