	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bnx2x_dcbx_fw_struct
_bnx2x_dcbx_fw_struct:                  ## @bnx2x_dcbx_fw_struct
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r12
	movq	24(%rdi), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	_drv_flags@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	callq	_SHMEM2_HAS
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movl	(%r14), %esi
	movq	%r12, %rdi
	callq	_SHMEM2_RD
	movq	_DRV_FLAGS_DCB_MFW_CONFIGURED@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movl	$1, %esi
	shll	%cl, %esi
	movl	%eax, %edi
	callq	_GET_FLAGS
	testq	%rax, %rax
	setne	%r14b
	jmp	LBB0_3
LBB0_2:
	xorl	%r14d, %r14d
LBB0_3:
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$24, %edx
	callq	_memset
	movq	_DCBX_REMOTE_MIB_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r12)
	je	LBB0_6
## %bb.4:
	testb	%r14b, %r14b
	jne	LBB0_6
## %bb.5:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movq	16(%rbx), %r11
	movq	32(%r12), %rax
	incq	%rax
	movq	%rax, 32(%r12)
	movq	%rax, 8(%rbx)
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movl	$1, (%rbx)
	movq	_LLFC_DRIVER_TRAFFIC_TYPE_MAX@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	testq	%rax, %rax
	movq	-48(%rbp), %r8                  ## 8-byte Reload
	je	LBB0_33
## %bb.7:
	movq	8(%r12), %rsi
	movq	%rsi, %r13
	andq	$-4, %r13
	xorl	%r15d, %r15d
	pxor	%xmm0, %xmm0
	pcmpeqd	%xmm1, %xmm1
	movl	$2, %r9d
	movl	$3, %r10d
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_10 Depth=1
	movq	(%r14), %rax
LBB0_9:                                 ##   in Loop: Header=BB0_10 Depth=1
	incq	%r15
	cmpq	%rax, %r15
	jae	LBB0_33
LBB0_10:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_19 Depth 2
                                        ##     Child Loop BB0_29 Depth 2
	movl	(%r8,%r15,4), %ecx
	movl	$1, %ebx
	shll	%cl, %ebx
	movq	%r15, %rdx
	shlq	$4, %rdx
	movl	%ecx, (%r11,%rdx)
	testq	%rsi, %rsi
	je	LBB0_9
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=1
	leaq	(%r11,%rdx), %rcx
	addq	$8, %rcx
	movq	16(%r12), %rax
	cmpq	$4, %rsi
	jb	LBB0_12
## %bb.13:                              ##   in Loop: Header=BB0_10 Depth=1
	leaq	(%rax,%rsi,4), %rdi
	cmpq	%rdi, %rcx
	jae	LBB0_16
## %bb.14:                              ##   in Loop: Header=BB0_10 Depth=1
	addq	%r11, %rdx
	addq	$16, %rdx
	cmpq	%rdx, %rax
	jae	LBB0_16
LBB0_12:                                ##   in Loop: Header=BB0_10 Depth=1
	xorl	%edi, %edi
LBB0_23:                                ##   in Loop: Header=BB0_10 Depth=1
	movq	%rdi, %rdx
	orq	$1, %rdx
	testb	$1, %sil
	je	LBB0_27
## %bb.24:                              ##   in Loop: Header=BB0_10 Depth=1
	testl	%ebx, (%rax,%rdi,4)
	je	LBB0_26
## %bb.25:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	%rdi, (%rcx)
LBB0_26:                                ##   in Loop: Header=BB0_10 Depth=1
	movq	%rdx, %rdi
LBB0_27:                                ##   in Loop: Header=BB0_10 Depth=1
	cmpq	%rdx, %rsi
	jne	LBB0_29
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_28:                                ##   in Loop: Header=BB0_29 Depth=2
	addq	$2, %rdi
	cmpq	%rdi, %rsi
	je	LBB0_8
LBB0_29:                                ##   Parent Loop BB0_10 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	testl	%ebx, (%rax,%rdi,4)
	je	LBB0_31
## %bb.30:                              ##   in Loop: Header=BB0_29 Depth=2
	movq	%rdi, (%rcx)
LBB0_31:                                ##   in Loop: Header=BB0_29 Depth=2
	testl	%ebx, 4(%rax,%rdi,4)
	je	LBB0_28
## %bb.32:                              ##   in Loop: Header=BB0_29 Depth=2
	leaq	1(%rdi), %rdx
	movq	%rdx, (%rcx)
	jmp	LBB0_28
LBB0_16:                                ##   in Loop: Header=BB0_10 Depth=1
	movd	%ebx, %xmm2
	pshufd	$80, %xmm2, %xmm2               ## xmm2 = xmm2[0,0,1,1]
	xorl	%edi, %edi
	jmp	LBB0_19
	.p2align	4, 0x90
LBB0_17:                                ##   in Loop: Header=BB0_19 Depth=2
	pextrd	$1, %xmm3, %edx
	notl	%edx
	andl	$1, %edx
	testb	$1, %r8b
	cmovneq	%r9, %rdx
	testb	%r14b, %r14b
	cmovneq	%r10, %rdx
	orq	%rdi, %rdx
	movq	%rdx, (%rcx)
LBB0_18:                                ##   in Loop: Header=BB0_19 Depth=2
	addq	$4, %rdi
	cmpq	%rdi, %r13
	je	LBB0_22
LBB0_19:                                ##   Parent Loop BB0_10 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	(%rax,%rdi,4), %xmm3            ## xmm3 = mem[0],zero
	movq	8(%rax,%rdi,4), %xmm4           ## xmm4 = mem[0],zero
	pand	%xmm2, %xmm3
	pand	%xmm2, %xmm4
	pcmpeqd	%xmm0, %xmm4
	pxor	%xmm1, %xmm4
	pmovsxdq	%xmm4, %xmm4
	movmskpd	%xmm4, %r8d
	movl	%r8d, %r14d
	shrb	%r14b
	pcmpeqd	%xmm0, %xmm3
	movdqa	%xmm3, %xmm4
	pxor	%xmm1, %xmm4
	pmovsxdq	%xmm4, %xmm4
	movmskpd	%xmm4, %edx
	testl	%edx, %edx
	jne	LBB0_17
## %bb.20:                              ##   in Loop: Header=BB0_19 Depth=2
	testb	$1, %r8b
	jne	LBB0_17
## %bb.21:                              ##   in Loop: Header=BB0_19 Depth=2
	testb	%r14b, %r14b
	je	LBB0_18
	jmp	LBB0_17
LBB0_22:                                ##   in Loop: Header=BB0_10 Depth=1
	movq	%r13, %rdi
	cmpq	%r13, %rsi
	movq	-48(%rbp), %r8                  ## 8-byte Reload
	movq	_LLFC_DRIVER_TRAFFIC_TYPE_MAX@GOTPCREL(%rip), %r14
	je	LBB0_8
	jmp	LBB0_23
LBB0_33:
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movl	$1, 4(%rsi)
	movq	%r12, %rdi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_bnx2x_dcbx_print_cos_params    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_drv_flags,4,2                  ## @drv_flags
	.comm	_DRV_FLAGS_DCB_MFW_CONFIGURED,4,2 ## @DRV_FLAGS_DCB_MFW_CONFIGURED
	.comm	_DCBX_REMOTE_MIB_ERROR,4,2      ## @DCBX_REMOTE_MIB_ERROR
	.comm	_LLFC_DRIVER_TRAFFIC_TYPE_MAX,8,3 ## @LLFC_DRIVER_TRAFFIC_TYPE_MAX
	.no_dead_strip	_bnx2x_dcbx_fw_struct
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bnx2x_dcbx_fw_struct
_bnx2x_dcbx_fw_struct:                  ; @bnx2x_dcbx_fw_struct
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x1
	mov	x20, x0
	ldr	x21, [x0, #24]
Lloh0:
	adrp	x22, _drv_flags@GOTPAGE
Lloh1:
	ldr	x22, [x22, _drv_flags@GOTPAGEOFF]
	ldr	w1, [x22]
	bl	_SHMEM2_HAS
	cbz	x0, LBB0_2
; %bb.1:
	ldr	w1, [x22]
	mov	x0, x20
	bl	_SHMEM2_RD
Lloh2:
	adrp	x8, _DRV_FLAGS_DCB_MFW_CONFIGURED@GOTPAGE
Lloh3:
	ldr	x8, [x8, _DRV_FLAGS_DCB_MFW_CONFIGURED@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	mov	w9, #1
	lsl	w1, w9, w8
	bl	_GET_FLAGS
	cmp	x0, #0
	cset	w22, ne
	b	LBB0_3
LBB0_2:
	mov	w22, #0
LBB0_3:
	mov	x0, x19
	mov	w1, #0
	mov	w2, #24
	bl	_memset
	ldr	w8, [x20]
Lloh5:
	adrp	x9, _DCBX_REMOTE_MIB_ERROR@GOTPAGE
Lloh6:
	ldr	x9, [x9, _DCBX_REMOTE_MIB_ERROR@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	and	w8, w9, w8
	cmp	w8, #0
	ccmp	w22, #0, #0, ne
	b.eq	LBB0_28
; %bb.4:
	ldr	x8, [x19, #16]
	ldr	x9, [x20, #32]
	add	x9, x9, #1
	str	x9, [x20, #32]
	str	x9, [x19, #8]
	mov	w9, #1
	str	w9, [x19]
Lloh8:
	adrp	x10, _LLFC_DRIVER_TRAFFIC_TYPE_MAX@GOTPAGE
Lloh9:
	ldr	x10, [x10, _LLFC_DRIVER_TRAFFIC_TYPE_MAX@GOTPAGEOFF]
	ldr	x2, [x10]
	cbz	x2, LBB0_29
; %bb.5:
	mov	x11, #0
	ldr	x12, [x20, #8]
	and	x13, x12, #0xfffffffffffffff8
	mov	w14, #2
	mov	w15, #3
	mov	w16, #4
	mov	w17, #5
	mov	w0, #6
	mov	w1, #7
	b	LBB0_8
LBB0_6:                                 ;   in Loop: Header=BB0_8 Depth=1
	ldr	x2, [x10]
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	add	x11, x11, #1
	cmp	x11, x2
	b.hs	LBB0_29
LBB0_8:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_15 Depth 2
                                        ;     Child Loop BB0_26 Depth 2
	add	x3, x8, x11, lsl #4
	ldr	w4, [x21, x11, lsl #2]
	mov	x5, x3
	str	w4, [x5], #16
	cbz	x12, LBB0_7
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	add	x2, x3, #8
	lsl	w3, w9, w4
	ldr	x4, [x20, #16]
	cmp	x12, #8
	b.hs	LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_8 Depth=1
	mov	x5, #0
	b	LBB0_26
LBB0_11:                                ;   in Loop: Header=BB0_8 Depth=1
	add	x6, x4, x12, lsl #2
	cmp	x2, x6
	ccmp	x4, x5, #2, lo
	b.lo	LBB0_23
; %bb.12:                               ;   in Loop: Header=BB0_8 Depth=1
	mov	x5, #0
	dup.2s	v0, w3
	add	x6, x4, #16
	b	LBB0_15
LBB0_13:                                ;   in Loop: Header=BB0_15 Depth=2
	and	x26, x26, #0x1
	tst	w27, #0x1
	csel	x26, x14, x26, ne
	tst	w24, #0x1
	csel	x24, x15, x26, ne
	tst	w25, #0x1
	csel	x24, x16, x24, ne
	tst	w22, #0x1
	csel	x22, x17, x24, ne
	tst	w23, #0x1
	csel	x22, x0, x22, ne
	tst	w7, #0x1
	csel	x7, x1, x22, ne
	orr	x7, x5, x7
	str	x7, [x2]
LBB0_14:                                ;   in Loop: Header=BB0_15 Depth=2
	add	x5, x5, #8
	add	x6, x6, #32
	cmp	x13, x5
	b.eq	LBB0_24
LBB0_15:                                ;   Parent Loop BB0_8 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldp	d1, d2, [x6, #-16]
	ldp	d3, d4, [x6]
	cmtst.2s	v1, v1, v0
	cmtst.2s	v2, v2, v0
	cmtst.2s	v3, v3, v0
	cmtst.2s	v4, v4, v0
	mov.s	w26, v1[1]
	fmov	w28, s1
	mov.s	w24, v2[1]
	fmov	w27, s2
	mov.s	w22, v3[1]
	fmov	w25, s3
	mov.s	w7, v4[1]
	fmov	w23, s4
	tbnz	w28, #0, LBB0_13
; %bb.16:                               ;   in Loop: Header=BB0_15 Depth=2
	tbnz	w26, #0, LBB0_13
; %bb.17:                               ;   in Loop: Header=BB0_15 Depth=2
	tbnz	w27, #0, LBB0_13
; %bb.18:                               ;   in Loop: Header=BB0_15 Depth=2
	tbnz	w24, #0, LBB0_13
; %bb.19:                               ;   in Loop: Header=BB0_15 Depth=2
	tbnz	w25, #0, LBB0_13
; %bb.20:                               ;   in Loop: Header=BB0_15 Depth=2
	tbnz	w22, #0, LBB0_13
; %bb.21:                               ;   in Loop: Header=BB0_15 Depth=2
	tbnz	w23, #0, LBB0_13
; %bb.22:                               ;   in Loop: Header=BB0_15 Depth=2
	tbz	w7, #0, LBB0_14
	b	LBB0_13
LBB0_23:                                ;   in Loop: Header=BB0_8 Depth=1
	mov	x5, #0
	b	LBB0_26
LBB0_24:                                ;   in Loop: Header=BB0_8 Depth=1
	mov	x5, x13
	cmp	x12, x13
	b.ne	LBB0_26
	b	LBB0_6
LBB0_25:                                ;   in Loop: Header=BB0_26 Depth=2
	add	x5, x5, #1
	cmp	x12, x5
	b.eq	LBB0_6
LBB0_26:                                ;   Parent Loop BB0_8 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w6, [x4, x5, lsl #2]
	tst	w6, w3
	b.eq	LBB0_25
; %bb.27:                               ;   in Loop: Header=BB0_26 Depth=2
	str	x5, [x2]
	b	LBB0_25
LBB0_28:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_29:
	str	w9, [x19, #4]
	mov	x0, x20
	mov	x1, x19
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_bnx2x_dcbx_print_cos_params
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_drv_flags,4,2                  ; @drv_flags
	.comm	_DRV_FLAGS_DCB_MFW_CONFIGURED,4,2 ; @DRV_FLAGS_DCB_MFW_CONFIGURED
	.comm	_DCBX_REMOTE_MIB_ERROR,4,2      ; @DCBX_REMOTE_MIB_ERROR
	.comm	_LLFC_DRIVER_TRAFFIC_TYPE_MAX,8,3 ; @LLFC_DRIVER_TRAFFIC_TYPE_MAX
	.no_dead_strip	_bnx2x_dcbx_fw_struct
.subsections_via_symbols
