	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bnx2x_get_path_func_num
_bnx2x_get_path_func_num:               ## @bnx2x_get_path_func_num
	.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	%rdi, %r14
	callq	_CHIP_IS_E1
	movl	$1, %r12d
	testq	%rax, %rax
	jne	LBB0_6
## %bb.1:
	movq	%r14, %rdi
	callq	_CHIP_REV_IS_SLOW
	testq	%rax, %rax
	je	LBB0_2
## %bb.7:
	movq	%r14, %rdi
	callq	_IS_MF
	xorl	%ecx, %ecx
	testq	%rax, %rax
	setne	%cl
	leal	(%rcx,%rcx), %r12d
	addl	$2, %r12d
	jmp	LBB0_5
LBB0_2:
	movq	_E1H_FUNC_MAX@GOTPCREL(%rip), %rax
	xorl	%r12d, %r12d
	cmpl	$2, (%rax)
	jl	LBB0_5
## %bb.3:
	xorl	%ebx, %ebx
	xorl	%r13d, %r13d
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	_func_mf_config@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	movq	%r14, %rdi
	callq	_BP_PORT
	addl	%ebx, %eax
	cltq
	movl	(%r15,%rax,4), %esi
	movq	%r14, %rdi
	callq	_MF_CFG_RD
	movq	_E1H_FUNC_MAX@GOTPCREL(%rip), %rcx
	movq	_FUNC_MF_CFG_FUNC_HIDE@GOTPCREL(%rip), %rdx
	andl	(%rdx), %eax
	cmpl	$1, %eax
	adcl	$0, %r12d
	incl	%r13d
	movl	(%rcx), %eax
	movl	%eax, %ecx
	shrl	$31, %ecx
	addl	%eax, %ecx
	sarl	%ecx
	addl	$2, %ebx
	cmpl	%ecx, %r13d
	jl	LBB0_4
LBB0_5:
	xorl	%edi, %edi
	testl	%r12d, %r12d
	sete	%dil
	callq	_WARN_ON
LBB0_6:
	movl	%r12d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_E1H_FUNC_MAX,4,2               ## @E1H_FUNC_MAX
	.comm	_func_mf_config,8,3             ## @func_mf_config
	.comm	_FUNC_MF_CFG_FUNC_HIDE,4,2      ## @FUNC_MF_CFG_FUNC_HIDE
	.no_dead_strip	_bnx2x_get_path_func_num
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bnx2x_get_path_func_num
_bnx2x_get_path_func_num:               ; @bnx2x_get_path_func_num
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [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 w25, -72
	.cfi_offset w26, -80
	mov	x19, x0
	bl	_CHIP_IS_E1
	cbz	x0, LBB0_2
; %bb.1:
	mov	w20, #1
	b	LBB0_9
LBB0_2:
	mov	x0, x19
	bl	_CHIP_REV_IS_SLOW
	cbz	x0, LBB0_4
; %bb.3:
	mov	x0, x19
	bl	_IS_MF
	cmp	x0, #0
	mov	w8, #4
	mov	w9, #2
	csel	w20, w9, w8, eq
	b	LBB0_8
LBB0_4:
Lloh0:
	adrp	x21, _E1H_FUNC_MAX@GOTPAGE
Lloh1:
	ldr	x21, [x21, _E1H_FUNC_MAX@GOTPAGEOFF]
	ldr	w8, [x21]
	cmp	w8, #2
	b.lt	LBB0_7
; %bb.5:
	mov	w22, #0
	mov	w23, #0
	mov	w20, #0
Lloh2:
	adrp	x24, _func_mf_config@GOTPAGE
Lloh3:
	ldr	x24, [x24, _func_mf_config@GOTPAGEOFF]
Lloh4:
	adrp	x25, _FUNC_MF_CFG_FUNC_HIDE@GOTPAGE
Lloh5:
	ldr	x25, [x25, _FUNC_MF_CFG_FUNC_HIDE@GOTPAGEOFF]
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x26, [x24]
	mov	x0, x19
	bl	_BP_PORT
	add	w8, w0, w22
	ldr	w1, [x26, w8, sxtw #2]
	mov	x0, x19
	bl	_MF_CFG_RD
	ldr	w8, [x25]
	tst	w8, w0
	cinc	w20, w20, eq
	add	w23, w23, #1
	ldr	w8, [x21]
	cmp	w8, #0
	cinc	w8, w8, lt
	add	w22, w22, #2
	cmp	w23, w8, asr #1
	b.lt	LBB0_6
	b	LBB0_8
LBB0_7:
	mov	w20, #0
LBB0_8:
	cmp	w20, #0
	cset	w0, eq
	bl	_WARN_ON
LBB0_9:
	mov	x0, x20
	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	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_E1H_FUNC_MAX,4,2               ; @E1H_FUNC_MAX
	.comm	_func_mf_config,8,3             ; @func_mf_config
	.comm	_FUNC_MF_CFG_FUNC_HIDE,4,2      ; @FUNC_MF_CFG_FUNC_HIDE
	.no_dead_strip	_bnx2x_get_path_func_num
.subsections_via_symbols
