	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bnx2x_init_min
_bnx2x_init_min:                        ## @bnx2x_init_min
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdx, %r9
	movq	_QM_ARB_BYTES@GOTPCREL(%rip), %rax
	movq	(%rax), %r11
	movq	%r11, %rax
	orq	%rsi, %rax
	shrq	$32, %rax
	je	LBB0_1
## %bb.2:
	movq	%r11, %rax
	xorl	%edx, %edx
	divq	%rsi
	movq	%rax, %r10
	jmp	LBB0_3
LBB0_1:
	movl	%r11d, %eax
	xorl	%edx, %edx
	divl	%esi
	movl	%eax, %r10d
LBB0_3:
	movq	_T_FAIR_COEF@GOTPCREL(%rip), %rax
	movslq	(%rax), %r8
	movl	%r8d, %eax
	cltd
	idivl	(%rdi)
	cltq
	movq	%r11, (%r9)
	imulq	%rsi, %rax
	movq	_FAIR_MEM@GOTPCREL(%rip), %rcx
	imulq	(%rcx), %rax
	movq	%rax, 8(%r9)
	movq	_SDM_TICKS@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	%r10, %rax
	orq	%rcx, %rax
	shrq	$32, %rax
	je	LBB0_4
## %bb.5:
	movq	%r10, %rax
	xorl	%edx, %edx
	divq	%rcx
	jmp	LBB0_6
LBB0_4:
	movl	%r10d, %eax
	xorl	%edx, %edx
	divl	%ecx
                                        ## kill: def $eax killed $eax def $rax
LBB0_6:
	movq	%rax, 16(%r9)
	movq	_BNX2X_PORT2_MODE_NUM_VNICS@GOTPCREL(%rip), %r10
	movq	(%r10), %rsi
	testq	%rsi, %rsi
	je	LBB0_25
## %bb.7:
	movq	8(%rdi), %rdx
	cmpq	$4, %rsi
	jae	LBB0_10
## %bb.8:
	xorl	%eax, %eax
	xorl	%ecx, %ecx
	jmp	LBB0_9
LBB0_10:
	movq	%rsi, %rax
	andq	$-4, %rax
	leaq	-4(%rax), %rbx
	movq	%rbx, %rcx
	shrq	$2, %rcx
	incq	%rcx
	movl	%ecx, %r14d
	andl	$3, %r14d
	cmpq	$12, %rbx
	jae	LBB0_12
## %bb.11:
	pxor	%xmm0, %xmm0
	xorl	%ebx, %ebx
	pxor	%xmm1, %xmm1
	jmp	LBB0_14
LBB0_12:
	andq	$-4, %rcx
	pxor	%xmm0, %xmm0
	xorl	%ebx, %ebx
	pxor	%xmm1, %xmm1
	.p2align	4, 0x90
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	movdqu	(%rdx,%rbx,8), %xmm2
	paddq	%xmm0, %xmm2
	movdqu	16(%rdx,%rbx,8), %xmm0
	paddq	%xmm1, %xmm0
	movdqu	32(%rdx,%rbx,8), %xmm1
	movdqu	48(%rdx,%rbx,8), %xmm3
	movdqu	64(%rdx,%rbx,8), %xmm4
	paddq	%xmm1, %xmm4
	paddq	%xmm2, %xmm4
	movdqu	80(%rdx,%rbx,8), %xmm2
	paddq	%xmm3, %xmm2
	paddq	%xmm0, %xmm2
	movdqu	96(%rdx,%rbx,8), %xmm0
	paddq	%xmm4, %xmm0
	movdqu	112(%rdx,%rbx,8), %xmm1
	paddq	%xmm2, %xmm1
	addq	$16, %rbx
	addq	$-4, %rcx
	jne	LBB0_13
LBB0_14:
	testq	%r14, %r14
	je	LBB0_17
## %bb.15:
	leaq	(%rdx,%rbx,8), %rcx
	addq	$16, %rcx
	shlq	$5, %r14
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_16:                                ## =>This Inner Loop Header: Depth=1
	movdqu	-16(%rcx,%rbx), %xmm2
	paddq	%xmm2, %xmm0
	movdqu	(%rcx,%rbx), %xmm2
	paddq	%xmm2, %xmm1
	addq	$32, %rbx
	cmpq	%rbx, %r14
	jne	LBB0_16
LBB0_17:
	paddq	%xmm1, %xmm0
	pshufd	$238, %xmm0, %xmm1              ## xmm1 = xmm0[2,3,2,3]
	paddq	%xmm0, %xmm1
	movq	%xmm1, %rcx
	jmp	LBB0_18
LBB0_9:
	addq	(%rdx,%rax,8), %rcx
	incq	%rax
LBB0_18:
	cmpq	%rax, %rsi
	jne	LBB0_9
## %bb.19:
	testq	%rcx, %rcx
	je	LBB0_25
## %bb.20:
	imulq	$800, %rcx, %rcx                ## imm = 0x320
	movq	%r8, %rax
	orq	%rcx, %rax
	shrq	$32, %rax
	je	LBB0_21
## %bb.22:
	movq	%r8, %rax
	xorl	%edx, %edx
	divq	%rcx
	jmp	LBB0_23
LBB0_21:
	movl	%r8d, %eax
	xorl	%edx, %edx
	divl	%ecx
                                        ## kill: def $eax killed $eax def $rax
LBB0_23:
	xorl	%ecx, %ecx
	movq	_MIN_ABOVE_THRESH@GOTPCREL(%rip), %r8
	.p2align	4, 0x90
LBB0_24:                                ## =>This Inner Loop Header: Depth=1
	movq	8(%rdi), %rsi
	movq	(%rsi,%rcx,8), %rsi
	imulq	%rax, %rsi
	imulq	$100, %rsi, %rsi
	movq	24(%r9), %rbx
	movq	%rsi, (%rbx,%rcx,8)
	movq	(%r8), %rdx
	addq	%r11, %rdx
	cmpq	%rdx, %rsi
	cmovaq	%rsi, %rdx
	movq	%rdx, (%rbx,%rcx,8)
	incq	%rcx
	cmpq	(%r10), %rcx
	jb	LBB0_24
LBB0_25:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_QM_ARB_BYTES,8,3               ## @QM_ARB_BYTES
	.comm	_T_FAIR_COEF,4,2                ## @T_FAIR_COEF
	.comm	_FAIR_MEM,8,3                   ## @FAIR_MEM
	.comm	_SDM_TICKS,8,3                  ## @SDM_TICKS
	.comm	_BNX2X_PORT2_MODE_NUM_VNICS,8,3 ## @BNX2X_PORT2_MODE_NUM_VNICS
	.comm	_MIN_ABOVE_THRESH,8,3           ## @MIN_ABOVE_THRESH
	.no_dead_strip	_bnx2x_init_min
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bnx2x_init_min
_bnx2x_init_min:                        ; @bnx2x_init_min
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _QM_ARB_BYTES@GOTPAGE
Lloh1:
	ldr	x8, [x8, _QM_ARB_BYTES@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	udiv	x9, x8, x1
Lloh3:
	adrp	x10, _T_FAIR_COEF@GOTPAGE
Lloh4:
	ldr	x10, [x10, _T_FAIR_COEF@GOTPAGEOFF]
Lloh5:
	ldrsw	x10, [x10]
	ldr	w11, [x0]
	sdiv	w11, w10, w11
	sxtw	x11, w11
	mul	x11, x11, x1
Lloh6:
	adrp	x12, _FAIR_MEM@GOTPAGE
Lloh7:
	ldr	x12, [x12, _FAIR_MEM@GOTPAGEOFF]
	str	x8, [x2]
Lloh8:
	ldr	x12, [x12]
	mul	x11, x11, x12
Lloh9:
	adrp	x12, _SDM_TICKS@GOTPAGE
Lloh10:
	ldr	x12, [x12, _SDM_TICKS@GOTPAGEOFF]
Lloh11:
	ldr	x12, [x12]
	udiv	x9, x9, x12
	stp	x11, x9, [x2, #8]
Lloh12:
	adrp	x9, _BNX2X_PORT2_MODE_NUM_VNICS@GOTPAGE
Lloh13:
	ldr	x9, [x9, _BNX2X_PORT2_MODE_NUM_VNICS@GOTPAGEOFF]
	ldr	x11, [x9]
	cbz	x11, LBB0_11
; %bb.1:
	ldr	x12, [x0, #8]
	cmp	x11, #8
	b.hs	LBB0_3
; %bb.2:
	mov	x13, #0
	mov	x14, #0
	b	LBB0_6
LBB0_3:
	and	x13, x11, #0xfffffffffffffff8
	add	x14, x12, #32
	movi.2d	v0, #0000000000000000
	mov	x15, x13
	movi.2d	v1, #0000000000000000
	movi.2d	v2, #0000000000000000
	movi.2d	v3, #0000000000000000
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldp	q4, q5, [x14, #-32]
	ldp	q6, q7, [x14], #64
	add.2d	v0, v4, v0
	add.2d	v1, v5, v1
	add.2d	v2, v6, v2
	add.2d	v3, v7, v3
	subs	x15, x15, #8
	b.ne	LBB0_4
; %bb.5:
	add.2d	v0, v1, v0
	add.2d	v0, v2, v0
	add.2d	v0, v3, v0
	addp.2d	d0, v0
	fmov	x14, d0
	cmp	x11, x13
	b.eq	LBB0_8
LBB0_6:
	sub	x11, x11, x13
	add	x12, x12, x13, lsl #3
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x13, [x12], #8
	add	x14, x13, x14
	subs	x11, x11, #1
	b.ne	LBB0_7
LBB0_8:
	cbz	x14, LBB0_11
; %bb.9:
	mov	x11, #0
	mov	w12, #800
	mul	x14, x14, x12
	mov	w12, #100
Lloh14:
	adrp	x13, _MIN_ABOVE_THRESH@GOTPAGE
Lloh15:
	ldr	x13, [x13, _MIN_ABOVE_THRESH@GOTPAGEOFF]
	udiv	x10, x10, x14
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldr	x14, [x0, #8]
	lsl	x15, x11, #3
	ldr	x14, [x14, x15]
	mul	x14, x14, x10
	mul	x14, x14, x12
	ldr	x16, [x2, #24]
	str	x14, [x16, x15]
	ldr	x17, [x13]
	add	x17, x17, x8
	cmp	x14, x17
	csel	x14, x14, x17, hi
	str	x14, [x16, x15]
	add	x11, x11, #1
	ldr	x14, [x9]
	cmp	x11, x14
	b.lo	LBB0_10
LBB0_11:
	ret
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_QM_ARB_BYTES,8,3               ; @QM_ARB_BYTES
	.comm	_T_FAIR_COEF,4,2                ; @T_FAIR_COEF
	.comm	_FAIR_MEM,8,3                   ; @FAIR_MEM
	.comm	_SDM_TICKS,8,3                  ; @SDM_TICKS
	.comm	_BNX2X_PORT2_MODE_NUM_VNICS,8,3 ; @BNX2X_PORT2_MODE_NUM_VNICS
	.comm	_MIN_ABOVE_THRESH,8,3           ; @MIN_ABOVE_THRESH
	.no_dead_strip	_bnx2x_init_min
.subsections_via_symbols
