	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function inet_mcv_hist_sel
_inet_mcv_hist_sel:                     ## @inet_mcv_hist_sel
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, -44(%rbp)                 ## 4-byte Spill
	testl	%edx, %edx
	jle	LBB0_1
## %bb.2:
	movl	%r8d, %r12d
	movq	%rcx, %r13
	movq	%rsi, %rbx
	movq	%rdi, %r14
	negl	-44(%rbp)                       ## 4-byte Folded Spill
	movl	%edx, %eax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	xorps	%xmm0, %xmm0
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movsd	%xmm0, -56(%rbp)                ## 8-byte Spill
	movsd	(%rbx,%r15,8), %xmm0            ## xmm0 = mem[0],zero
	movsd	%xmm0, -72(%rbp)                ## 8-byte Spill
	movl	(%r14,%r15,4), %edx
	movq	%r13, %rdi
	movl	%r12d, %esi
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	callq	_inet_hist_value_sel
	mulsd	-72(%rbp), %xmm0                ## 8-byte Folded Reload
	movsd	-56(%rbp), %xmm1                ## 8-byte Reload
                                        ## xmm1 = mem[0],zero
	addsd	%xmm0, %xmm1
	movsd	%xmm1, -56(%rbp)                ## 8-byte Spill
	movsd	-56(%rbp), %xmm0                ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	incq	%r15
	cmpq	%r15, -64(%rbp)                 ## 8-byte Folded Reload
	jne	LBB0_3
	jmp	LBB0_4
LBB0_1:
	xorps	%xmm0, %xmm0
LBB0_4:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_inet_mcv_hist_sel
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function inet_mcv_hist_sel
_inet_mcv_hist_sel:                     ; @inet_mcv_hist_sel
	.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
	cmp	w2, #1
	b.lt	LBB0_3
; %bb.1:
	mov	x19, x4
	mov	x20, x3
	mov	x21, x1
	mov	x22, x0
	neg	w23, w5
	mov	w24, w2
	movi	d8, #0000000000000000
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	d9, [x21], #8
	ldr	w2, [x22], #4
	mov	x0, x20
	mov	x1, x19
	mov	x3, x23
	bl	_inet_hist_value_sel
	fmadd	d8, d9, d0, d8
	subs	x24, x24, #1
	b.ne	LBB0_2
	b	LBB0_4
LBB0_3:
	movi	d8, #0000000000000000
LBB0_4:
	fmov	d0, d8
	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
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_inet_mcv_hist_sel
.subsections_via_symbols
