	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bnx2x_dcbx_read_mib
_bnx2x_dcbx_read_mib:                   ## @bnx2x_dcbx_read_mib
	.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
	andl	$-2, %ecx
	movl	$1, %eax
	cmpl	$128, %ecx
	jne	LBB0_6
## %bb.1:
	movq	%rdx, %r12
	movq	%rsi, %r13
	movq	%rdi, %r14
	callq	_BP_PORT
	movq	%rax, %r15
	shlq	$4, %r15
	addq	%r12, %r15
	movl	$1, %eax
	movq	_DCBX_LOCAL_MIB_MAX_TRY_READ@GOTPCREL(%rip), %r12
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	%eax, %ebx
	movl	$16, %ecx
	movq	%r14, %rdi
	movq	%r13, %rsi
	movq	%r15, %rdx
	callq	_bnx2x_read_data
	movq	(%r13), %rax
	movl	(%r12), %ecx
	cmpq	8(%r13), %rax
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	leal	1(%rbx), %eax
	cmpl	%ecx, %ebx
	jl	LBB0_2
LBB0_4:
	xorl	%eax, %eax
	cmpl	%ecx, %ebx
	jl	LBB0_6
## %bb.5:
	leaq	L_.str(%rip), %rdi
	callq	_BNX2X_ERR
	movl	$1, %eax
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DCBX_LOCAL_MIB_MAX_TRY_READ,4,2 ## @DCBX_LOCAL_MIB_MAX_TRY_READ
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"MIB could not be read\n"

	.no_dead_strip	_bnx2x_dcbx_read_mib
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bnx2x_dcbx_read_mib
_bnx2x_dcbx_read_mib:                   ; @bnx2x_dcbx_read_mib
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	and	w8, w3, #0xfffffffe
	cmp	w8, #128
	b.ne	LBB0_6
; %bb.1:
	mov	x21, x2
	mov	x19, x1
	mov	x20, x0
	bl	_BP_PORT
	add	x21, x21, x0, lsl #4
	mov	w8, #1
Lloh0:
	adrp	x22, _DCBX_LOCAL_MIB_MAX_TRY_READ@GOTPAGE
Lloh1:
	ldr	x22, [x22, _DCBX_LOCAL_MIB_MAX_TRY_READ@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x23, x8
	mov	x0, x20
	mov	x1, x19
	mov	x2, x21
	mov	w3, #16
	bl	_bnx2x_read_data
	ldp	x11, x10, [x19]
	ldr	w9, [x22]
	add	w8, w23, #1
	cmp	x11, x10
	ccmp	w23, w9, #0, ne
	b.lt	LBB0_2
; %bb.3:
	cmp	w23, w9
	b.ge	LBB0_5
; %bb.4:
	mov	w0, #0
	b	LBB0_7
LBB0_5:
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
	bl	_BNX2X_ERR
LBB0_6:
	mov	w0, #1
LBB0_7:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_DCBX_LOCAL_MIB_MAX_TRY_READ,4,2 ; @DCBX_LOCAL_MIB_MAX_TRY_READ
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"MIB could not be read\n"

	.no_dead_strip	_bnx2x_dcbx_read_mib
.subsections_via_symbols
