	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function init_histogram
LCPI0_0:
	.quad	0x4024000000000000              ## double 10
LCPI0_1:
	.quad	0xc01bb93dd97f62b6              ## double -6.9308999999999994
LCPI0_2:
	.quad	0xc0517ccccccccccd              ## double -69.950000000000003
LCPI0_3:
	.quad	0x3fe61cac083126e9              ## double 0.69099999999999995
LCPI0_4:
	.quad	0xc051800000000000              ## double -70
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_init_histogram:                        ## @init_histogram
	.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
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movsd	LCPI0_0(%rip), %xmm0            ## xmm0 = mem[0],zero
	movsd	LCPI0_1(%rip), %xmm1            ## xmm1 = mem[0],zero
	callq	_pow
	movq	_histogram_energy_boundaries@GOTPCREL(%rip), %r14
	movq	(%r14), %rcx
	movq	%rax, (%rcx)
	xorl	%ebx, %ebx
	movsd	LCPI0_3(%rip), %xmm2            ## xmm2 = mem[0],zero
	movq	_histogram_energies@GOTPCREL(%rip), %r15
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	xorps	%xmm1, %xmm1
	cvtsi2sd	%ebx, %xmm1
	movsd	LCPI0_0(%rip), %xmm0            ## xmm0 = mem[0],zero
	divsd	%xmm0, %xmm1
	addsd	LCPI0_2(%rip), %xmm1
	addsd	%xmm2, %xmm1
	divsd	%xmm0, %xmm1
	callq	_pow
	movsd	LCPI0_3(%rip), %xmm2            ## xmm2 = mem[0],zero
	movq	(%r15), %rcx
	movq	%rax, (%rcx,%rbx,8)
	incq	%rbx
	cmpq	$1000, %rbx                     ## imm = 0x3E8
	jne	LBB0_1
## %bb.2:
	movl	$1, %ebx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	xorps	%xmm1, %xmm1
	cvtsi2sd	%ebx, %xmm1
	movsd	LCPI0_0(%rip), %xmm0            ## xmm0 = mem[0],zero
	divsd	%xmm0, %xmm1
	addsd	LCPI0_4(%rip), %xmm1
	addsd	%xmm2, %xmm1
	divsd	%xmm0, %xmm1
	callq	_pow
	movsd	LCPI0_3(%rip), %xmm2            ## xmm2 = mem[0],zero
	movq	(%r14), %rcx
	movq	%rax, (%rcx,%rbx,8)
	incq	%rbx
	cmpq	$1001, %rbx                     ## imm = 0x3E9
	jne	LBB0_3
## %bb.4:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_histogram_energy_boundaries,8,3 ## @histogram_energy_boundaries
	.comm	_histogram_energies,8,3         ## @histogram_energies
	.no_dead_strip	_init_histogram
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function init_histogram
_init_histogram:                        ; @init_histogram
	.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	x8, #25270
	movk	x8, #55679, lsl #16
	movk	x8, #47421, lsl #32
	movk	x8, #49179, lsl #48
	fmov	d1, x8
	fmov	d8, #10.00000000
	fmov	d0, #10.00000000
	bl	_pow
	mov	x20, #0
Lloh0:
	adrp	x19, _histogram_energy_boundaries@GOTPAGE
Lloh1:
	ldr	x19, [x19, _histogram_energy_boundaries@GOTPAGEOFF]
	ldr	x8, [x19]
	str	x0, [x8]
	mov	x21, #52429
	movk	x21, #52428, lsl #16
	movk	x21, #31948, lsl #32
	movk	x21, #49233, lsl #48
	mov	x22, #9961
	movk	x22, #2097, lsl #16
	movk	x22, #7340, lsl #32
	movk	x22, #16358, lsl #48
Lloh2:
	adrp	x23, _histogram_energies@GOTPAGE
Lloh3:
	ldr	x23, [x23, _histogram_energies@GOTPAGEOFF]
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	scvtf	d0, w20
	fdiv	d0, d0, d8
	fmov	d1, x21
	fadd	d0, d0, d1
	fmov	d1, x22
	fadd	d0, d0, d1
	fdiv	d1, d0, d8
	fmov	d0, #10.00000000
	bl	_pow
	ldr	x8, [x23]
	str	x0, [x8, x20, lsl #3]
	add	x20, x20, #1
	cmp	x20, #1000
	b.ne	LBB0_1
; %bb.2:
	mov	w20, #1
	fmov	d8, #10.00000000
	mov	x21, #140737488355328
	movk	x21, #49233, lsl #48
	mov	x22, #9961
	movk	x22, #2097, lsl #16
	movk	x22, #7340, lsl #32
	movk	x22, #16358, lsl #48
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	scvtf	d0, w20
	fdiv	d0, d0, d8
	fmov	d1, x21
	fadd	d0, d0, d1
	fmov	d1, x22
	fadd	d0, d0, d1
	fdiv	d1, d0, d8
	fmov	d0, #10.00000000
	bl	_pow
	ldr	x8, [x19]
	str	x0, [x8, x20, lsl #3]
	add	x20, x20, #1
	cmp	x20, #1001
	b.ne	LBB0_3
; %bb.4:
	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	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_histogram_energy_boundaries,8,3 ; @histogram_energy_boundaries
	.comm	_histogram_energies,8,3         ; @histogram_energies
	.no_dead_strip	_init_histogram
.subsections_via_symbols
